diff --git a/public/plugin/offline/api2.0.js b/public/plugin/offline/api2.0.js
index b58d2196..3bc4a81f 100644
--- a/public/plugin/offline/api2.0.js
+++ b/public/plugin/offline/api2.0.js
@@ -1,9401 +1,9401 @@
-/**
- * Author: yang jian fei
- * Email: 1294485765@qq.com
- * Created Date: Monday, August 8th 2022, 6:55:12 pm
- * Modified By: yang jian fei
- * Desc: desc
- * Copyright (c) 2022 黑发
- */
-
-
-window.TILE_VERSION = {
- "ditu": {
- "normal": {
- "version": "088",
- "updateDate": "20220804"
- },
- "satellite": {
- "version": "009",
- "updateDate": "20220804"
- },
- "normalTraffic": {
- "version": "081",
- "updateDate": "20220804"
- },
- "satelliteTraffic": {
- "version": "083",
- "updateDate": "20220804"
- },
- "mapJS": {
- "version": "104",
- "updateDate": "20220804"
- },
- "satelliteStreet": {
- "version": "083",
- "updateDate": "20220804"
- },
- "earthVector": {
- "version": "001",
- "updateDate": "20220804"
- }
- },
- "webapp": {
- "high_normal": {
- "version": "001",
- "updateDate": "20220804"
- },
- "lower_normal": {
- "version": "002",
- "updateDate": "20220804"
- }
- },
- "api_for_mobile": {
- "vector": {
- "version": "002",
- "updateDate": "20220804"
- },
- "vectorIcon": {
- "version": "002",
- "updateDate": "20220804"
- }
- }
-};
-window.BMAP_AUTHENTIC_KEY = "Yp57V71dkOPiXjiN8VdcFRsVELzlVNKK";
-(function () {
- function aa(a) {
- throw a;
- }
- var j = void 0,
- o = !0,
- p = null,
- q = !1;
-
- function t() {
- return function () { }
- }
-
- function da(a) {
- return function (b) {
- this[a] = b
- }
- }
-
- function v(a) {
- return function () {
- return this[a]
- }
- }
-
- function ea(a) {
- return function () {
- return a
- }
- }
- var fa, ga = [];
-
- function ha(a) {
- return function () {
- return ga[a].apply(this, arguments)
- }
- }
-
- function ia(a, b) {
- return ga[a] = b
- }
- var ja, x = ja = x || {
- version: "1.3.4"
- };
- x.ba = "$BAIDU$";
- window[x.ba] = window[x.ba] || {};
- x.object = x.object || {};
- x.extend = x.object.extend = function (a, b) {
- for (var c in b) b.hasOwnProperty(c) && (a[c] = b[c]);
- return a
- };
- x.K = x.K || {};
- x.K.$ = function (a) {
- return "string" == typeof a || a instanceof String ? document.getElementById(a) : a && a.nodeName && (1 == a.nodeType || 9 == a.nodeType) ? a : p
- };
- x.$ = x.Ec = x.K.$;
- x.K.U = function (a) {
- a = x.K.$(a);
- if (a === p) return a;
- a.style.display = "none";
- return a
- };
- x.U = x.K.U;
- x.lang = x.lang || {};
- x.lang.ug = function (a) {
- return "[object String]" == Object.prototype.toString.call(a)
- };
- x.ug = x.lang.ug;
- x.K.Wj = function (a) {
- return x.lang.ug(a) ? document.getElementById(a) : a
- };
- x.Wj = x.K.Wj;
- x.K.getElementsByClassName = function (a, b) {
- var c;
- if (a.getElementsByClassName) c = a.getElementsByClassName(b);
- else {
- var d = a;
- d == p && (d = document);
- c = [];
- var d = d.getElementsByTagName("*"),
- e = d.length,
- f = RegExp("(^|\\s)" + b + "(\\s|$)"),
- g, i;
- for (i = g = 0; g < e; g++) f.test(d[g].className) && (c[i] = d[g], i++)
- }
- return c
- };
- x.getElementsByClassName = x.K.getElementsByClassName;
- x.K.contains = function (a, b) {
- var c = x.K.Wj,
- a = c(a),
- b = c(b);
- return a.contains ? a != b && a.contains(b) : !!(a.compareDocumentPosition(b) & 16)
- };
- x.da = x.da || {};
- /msie (\d+\.\d)/i.test(navigator.userAgent) && (x.da.ma = x.ma = document.documentMode || +RegExp.$1);
- var ka = {
- cellpadding: "cellPadding",
- cellspacing: "cellSpacing",
- colspan: "colSpan",
- rowspan: "rowSpan",
- valign: "vAlign",
- usemap: "useMap",
- frameborder: "frameBorder"
- };
- 8 > x.da.ma ? (ka["for"] = "htmlFor", ka["class"] = "className") : (ka.htmlFor = "for", ka.className = "class");
- x.K.VG = ka;
- x.K.HF = function (a, b, c) {
- a = x.K.$(a);
- if (a === p) return a;
- if ("style" == b) a.style.cssText = c;
- else {
- b = x.K.VG[b] || b;
- a.setAttribute(b, c)
- }
- return a
- };
- x.HF = x.K.HF;
- x.K.IF = function (a, b) {
- a = x.K.$(a);
- if (a === p) return a;
- for (var c in b) x.K.HF(a, c, b[c]);
- return a
- };
- x.IF = x.K.IF;
- x.Zk = x.Zk || {};
- (function () {
- var a = RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)", "g");
- x.Zk.trim = function (b) {
- return ("" + b).replace(a, "")
- }
- })();
- x.trim = x.Zk.trim;
- x.Zk.bp = function (a, b) {
- var a = "" + a,
- c = Array.prototype.slice.call(arguments, 1),
- d = Object.prototype.toString;
- if (c.length) {
- c = c.length == 1 ? b !== p && /\[object Array\]|\[object Object\]/.test(d.call(b)) ? b : c : c;
- return a.replace(/#\{(.+?)\}/g, function (a, b) {
- var g = c[b];
- "[object Function]" == d.call(g) && (g = g(b));
- return "undefined" == typeof g ? "" : g
- })
- }
- return a
- };
- x.bp = x.Zk.bp;
- x.K.Tb = function (a, b) {
- a = x.K.$(a);
- if (a === p) return a;
- for (var c = a.className.split(/\s+/), d = b.split(/\s+/), e, f = d.length, g, i = 0; i < f; ++i) {
- g = 0;
- for (e = c.length; g < e; ++g)
- if (c[g] == d[i]) {
- c.splice(g, 1);
- break
- }
- }
- a.className = c.join(" ");
- return a
- };
- x.Tb = x.K.Tb;
- x.K.$x = function (a, b, c) {
- a = x.K.$(a);
- if (a === p) return a;
- var d;
- if (a.insertAdjacentHTML) a.insertAdjacentHTML(b, c);
- else {
- d = a.ownerDocument.createRange();
- b = b.toUpperCase();
- if (b == "AFTERBEGIN" || b == "BEFOREEND") {
- d.selectNodeContents(a);
- d.collapse(b == "AFTERBEGIN")
- } else {
- b = b == "BEFOREBEGIN";
- d[b ? "setStartBefore" : "setEndAfter"](a);
- d.collapse(b)
- }
- d.insertNode(d.createContextualFragment(c))
- }
- return a
- };
- x.$x = x.K.$x;
- x.K.show = function (a) {
- a = x.K.$(a);
- if (a === p) return a;
- a.style.display = "";
- return a
- };
- x.show = x.K.show;
- x.K.ZD = function (a) {
- a = x.K.$(a);
- return a === p ? a : a.nodeType == 9 ? a : a.ownerDocument || a.document
- };
- x.K.Ta = function (a, b) {
- a = x.K.$(a);
- if (a === p) return a;
- for (var c = b.split(/\s+/), d = a.className, e = " " + d + " ", f = 0, g = c.length; f < g; f++) e.indexOf(" " + c[f] + " ") < 0 && (d = d + (" " + c[f]));
- a.className = d;
- return a
- };
- x.Ta = x.K.Ta;
- x.K.WB = x.K.WB || {};
- x.K.Ul = x.K.Ul || [];
- x.K.Ul.filter = function (a, b, c) {
- for (var d = 0, e = x.K.Ul, f; f = e[d]; d++)
- if (f = f[c]) b = f(a, b);
- return b
- };
- x.Zk.QO = function (a) {
- return a.indexOf("-") < 0 && a.indexOf("_") < 0 ? a : a.replace(/[-_][^-_]/g, function (a) {
- return a.charAt(1).toUpperCase()
- })
- };
- x.K.b0 = function (a) {
- x.K.nt(a, "expand") ? x.K.Tb(a, "expand") : x.K.Ta(a, "expand")
- };
- x.K.nt = function (a) {
- if (arguments.length <= 0 || typeof a === "function") return this;
- if (this.size() <= 0) return q;
- var a = a.replace(/^\s+/g, "").replace(/\s+$/g, "").replace(/\s+/g, " "),
- b = a.split(" "),
- c;
- x.forEach(this, function (a) {
- for (var a = a.className, e = 0; e < b.length; e++)
- if (!~(" " + a + " ").indexOf(" " + b[e] + " ")) {
- c = q;
- return
- }
- c !== q && (c = o)
- });
- return c
- };
- x.K.wj = function (a, b) {
- var c = x.K,
- a = c.$(a);
- if (a === p) return a;
- var b = x.Zk.QO(b),
- d = a.style[b];
- if (!d) var e = c.WB[b],
- d = a.currentStyle || (x.da.ma ? a.style : getComputedStyle(a, p)),
- d = e && e.get ? e.get(a, d) : d[e || b];
- if (e = c.Ul) d = e.filter(b, d, "get");
- return d
- };
- x.wj = x.K.wj;
- /opera\/(\d+\.\d)/i.test(navigator.userAgent) && (x.da.opera = +RegExp.$1);
- x.da.FM = /webkit/i.test(navigator.userAgent);
- x.da.KY = /gecko/i.test(navigator.userAgent) && !/like gecko/i.test(navigator.userAgent);
- x.da.LE = "CSS1Compat" == document.compatMode;
- x.K.ia = function (a) {
- a = x.K.$(a);
- if (a === p) return a;
- var b = x.K.ZD(a),
- c = x.da,
- d = x.K.wj;
- c.KY > 0 && b.getBoxObjectFor && d(a, "position");
- var e = {
- left: 0,
- top: 0
- },
- f;
- if (a == (c.ma && !c.LE ? b.body : b.documentElement)) return e;
- if (a.getBoundingClientRect) {
- a = a.getBoundingClientRect();
- e.left = Math.floor(a.left) + Math.max(b.documentElement.scrollLeft, b.body.scrollLeft);
- e.top = Math.floor(a.top) + Math.max(b.documentElement.scrollTop, b.body.scrollTop);
- e.left = e.left - b.documentElement.clientLeft;
- e.top = e.top - b.documentElement.clientTop;
- a = b.body;
- b = parseInt(d(a, "borderLeftWidth"));
- d = parseInt(d(a, "borderTopWidth"));
- if (c.ma && !c.LE) {
- e.left = e.left - (isNaN(b) ? 2 : b);
- e.top = e.top - (isNaN(d) ? 2 : d)
- }
- } else {
- f = a;
- do {
- e.left = e.left + f.offsetLeft;
- e.top = e.top + f.offsetTop;
- if (c.FM > 0 && d(f, "position") == "fixed") {
- e.left = e.left + b.body.scrollLeft;
- e.top = e.top + b.body.scrollTop;
- break
- }
- f = f.offsetParent
- } while (f && f != a);
- if (c.opera > 0 || c.FM > 0 && d(a, "position") == "absolute") e.top = e.top - b.body.offsetTop;
- for (f = a.offsetParent; f && f != b.body;) {
- e.left = e.left - f.scrollLeft;
- if (!c.opera || f.tagName != "TR") e.top = e.top - f.scrollTop;
- f = f.offsetParent
- }
- }
- return e
- };
- /firefox\/(\d+\.\d)/i.test(navigator.userAgent) && (x.da.Te = +RegExp.$1);
- /BIDUBrowser/i.test(navigator.userAgent) && (x.da.X1 = o);
- var la = navigator.userAgent;
- /(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(la) && !/chrome/i.test(la) && (x.da.BF = +(RegExp.$1 || RegExp.$2));
- /chrome\/(\d+\.\d)/i.test(navigator.userAgent) && (x.da.Tw = +RegExp.$1);
- x.jc = x.jc || {};
- x.jc.Fb = function (a, b) {
- var c, d, e = a.length;
- if ("function" == typeof b)
- for (d = 0; d < e; d++) {
- c = a[d];
- c = b.call(a, c, d);
- if (c === q) break
- }
- return a
- };
- x.Fb = x.jc.Fb;
- x.lang.ba = function () {
- return "TANGRAM__" + (window[x.ba]._counter++).toString(36)
- };
- window[x.ba]._counter = window[x.ba]._counter || 1;
- window[x.ba]._instances = window[x.ba]._instances || {};
- x.lang.Dt = function (a) {
- return "[object Function]" == Object.prototype.toString.call(a)
- };
- x.lang.Da = function (a) {
- this.ba = a || x.lang.ba();
- window[x.ba]._instances[this.ba] = this
- };
- window[x.ba]._instances = window[x.ba]._instances || {};
- x.lang.Da.prototype.mi = ha(0);
- x.lang.Da.prototype.toString = function () {
- return "[object " + (this.VQ || "Object") + "]"
- };
- x.lang.vz = function (a, b) {
- this.type = a;
- this.returnValue = o;
- this.target = b || p;
- this.currentTarget = p
- };
- x.lang.Da.prototype.addEventListener = function (a, b, c) {
- if (x.lang.Dt(b)) {
- !b.Nj && (b.Nj = {});
- !this.Mi && (this.Mi = {});
- var d = this.Mi,
- e;
- if (typeof c == "string" && c) {
- /[^\w\-]/.test(c) && aa("nonstandard key:" + c);
- e = b.ot = c
- }
- a.indexOf("on") != 0 && (a = "on" + a);
- typeof d[a] != "object" && (d[a] = {});
- typeof b.Nj[a] != "object" && (b.Nj[a] = {});
- e = e || x.lang.ba();
- !b.Nj[a].ot && (b.Nj[a].ot = e);
- d[a][e] = b
- }
- };
- x.lang.Da.prototype.removeEventListener = function (a, b) {
- a.indexOf("on") != 0 && (a = "on" + a);
- if (x.lang.Dt(b)) {
- if (!b.Nj || !b.Nj[a]) return;
- b = b.Nj[a].ot
- } else if (!x.lang.ug(b)) return;
- !this.Mi && (this.Mi = {});
- var c = this.Mi;
- c[a] && c[a][b] && delete c[a][b]
- };
- x.lang.Da.prototype.dispatchEvent = function (a, b) {
- x.lang.ug(a) && (a = new x.lang.vz(a));
- !this.Mi && (this.Mi = {});
- var b = b || {},
- c;
- for (c in b) a[c] = b[c];
- var d = this.Mi,
- e = a.type;
- a.target = a.target || this;
- a.currentTarget = this;
- e.indexOf("on") != 0 && (e = "on" + e);
- x.lang.Dt(this[e]) && this[e].apply(this, arguments);
- if (typeof d[e] == "object")
- for (c in d[e]) d[e][c].apply(this, arguments);
- return a.returnValue
- };
- x.lang.ua = function (a, b, c) {
- var d, e, f = a.prototype;
- e = new Function;
- e.prototype = b.prototype;
- e = a.prototype = new e;
- for (d in f) e[d] = f[d];
- a.prototype.constructor = a;
- a.T_ = b.prototype;
- if ("string" == typeof c) e.VQ = c
- };
- x.ua = x.lang.ua;
- x.lang.Lc = function (a) {
- return window[x.ba]._instances[a] || p
- };
- x.platform = x.platform || {};
- x.platform.yM = /macintosh/i.test(navigator.userAgent);
- x.platform.K3 = /MicroMessenger/i.test(navigator.userAgent);
- x.platform.GM = /windows/i.test(navigator.userAgent);
- x.platform.SY = /x11/i.test(navigator.userAgent);
- x.platform.Sm = /android/i.test(navigator.userAgent);
- /android (\d+(\.\d)?)/i.test(navigator.userAgent) && (x.platform.iK = x.iK = RegExp.$1);
- x.platform.MY = /ipad/i.test(navigator.userAgent);
- x.platform.HE = /iphone/i.test(navigator.userAgent);
-
- function ma(a, b) {
- a.domEvent = b = window.event || b;
- a.clientX = b.clientX || b.pageX;
- a.clientY = b.clientY || b.pageY;
- a.offsetX = b.offsetX || b.layerX;
- a.offsetY = b.offsetY || b.layerY;
- a.screenX = b.screenX;
- a.screenY = b.screenY;
- a.ctrlKey = b.ctrlKey || b.metaKey;
- a.shiftKey = b.shiftKey;
- a.altKey = b.altKey;
- if (b.touches) {
- a.touches = [];
- for (var c = 0; c < b.touches.length; c++) a.touches.push({
- clientX: b.touches[c].clientX,
- clientY: b.touches[c].clientY,
- screenX: b.touches[c].screenX,
- screenY: b.touches[c].screenY,
- pageX: b.touches[c].pageX,
- pageY: b.touches[c].pageY,
- target: b.touches[c].target,
- identifier: b.touches[c].identifier
- })
- }
- if (b.changedTouches) {
- a.changedTouches = [];
- for (c = 0; c < b.changedTouches.length; c++) a.changedTouches.push({
- clientX: b.changedTouches[c].clientX,
- clientY: b.changedTouches[c].clientY,
- screenX: b.changedTouches[c].screenX,
- screenY: b.changedTouches[c].screenY,
- pageX: b.changedTouches[c].pageX,
- pageY: b.changedTouches[c].pageY,
- target: b.changedTouches[c].target,
- identifier: b.changedTouches[c].identifier
- })
- }
- if (b.targetTouches) {
- a.targetTouches = [];
- for (c = 0; c < b.targetTouches.length; c++) a.targetTouches.push({
- clientX: b.targetTouches[c].clientX,
- clientY: b.targetTouches[c].clientY,
- screenX: b.targetTouches[c].screenX,
- screenY: b.targetTouches[c].screenY,
- pageX: b.targetTouches[c].pageX,
- pageY: b.targetTouches[c].pageY,
- target: b.targetTouches[c].target,
- identifier: b.targetTouches[c].identifier
- })
- }
- a.rotation = b.rotation;
- a.scale = b.scale;
- return a
- }
- x.lang.lx = function (a) {
- var b = window[x.ba];
- b.eT && delete b.eT[a]
- };
- x.event = {};
- x.M = x.event.M = function (a, b, c) {
- if (!(a = x.$(a))) return a;
- b = b.replace(/^on/, "");
- a.addEventListener ? a.addEventListener(b, c, q) : a.attachEvent && a.attachEvent("on" + b, c);
- return a
- };
- x.cd = x.event.cd = function (a, b, c) {
- if (!(a = x.$(a))) return a;
- b = b.replace(/^on/, "");
- a.removeEventListener ? a.removeEventListener(b, c, q) : a.detachEvent && a.detachEvent("on" + b, c);
- return a
- };
- x.K.nt = function (a, b) {
- if (!a || !a.className || typeof a.className != "string") return q;
- var c = -1;
- try {
- c = a.className == b || a.className.search(RegExp("(\\s|^)" + b + "(\\s|$)"))
- } catch (d) {
- return q
- }
- return c > -1
- };
- x.nL = function () {
- function a(a) {
- document.addEventListener && (this.element = a, this.qL = this.Gk ? "touchstart" : "mousedown", this.GD = this.Gk ? "touchmove" : "mousemove", this.FD = this.Gk ? "touchend" : "mouseup", this.th = q, this.tu = this.su = 0, this.element.addEventListener(this.qL, this, q), ja.M(this.element, "mousedown", t()), this.handleEvent(p))
- }
- a.prototype = {
- Gk: "ontouchstart" in window || "createTouch" in document,
- start: function (a) {
- na(a);
- this.th = q;
- this.su = this.Gk ? a.touches[0].clientX : a.clientX;
- this.tu = this.Gk ? a.touches[0].clientY : a.clientY;
- this.element.addEventListener(this.GD, this, q);
- this.element.addEventListener(this.FD, this, q)
- },
- move: function (a) {
- oa(a);
- var c = this.Gk ? a.touches[0].clientY : a.clientY;
- if (10 < Math.abs((this.Gk ? a.touches[0].clientX : a.clientX) - this.su) || 10 < Math.abs(c - this.tu)) this.th = o
- },
- end: function (a) {
- oa(a);
- this.th || (a = document.createEvent("Event"), a.initEvent("tap", q, o), this.element.dispatchEvent(a));
- this.element.removeEventListener(this.GD, this, q);
- this.element.removeEventListener(this.FD, this, q)
- },
- handleEvent: function (a) {
- if (a) switch (a.type) {
- case this.qL:
- this.start(a);
- break;
- case this.GD:
- this.move(a);
- break;
- case this.FD:
- this.end(a)
- }
- }
- };
- return function (b) {
- return new a(b)
- }
- }();
- var B = window.BMap || {};
- B.version = "2.0";
-
- function pa(a, b) {
- if (navigator.cookieEnabled) {
- var c = new Date;
- c.setTime(c.getTime() + 2592E6);
- document.cookie = a + "=" + escape(b) + ";expires=" + c.toGMTString()
- } else localStorage ? localStorage.setItem(a, b) : sessionStorage && sessionStorage.setItem(a, b)
- }
- B.dV = 0.34 > Math.random();
- 0 <= B.version.indexOf("#") && (B.version = "2.0");
- B.Pr = [];
- B.Xe = function (a) {
- this.Pr.push(a)
- };
- B.Fr = [];
- B.bn = function (a) {
- this.Fr.push(a)
- };
- B.B0 = function () {
- var a = +new Date,
- b = H("script", {
- type: "text/javascript",
- async: ""
- });
- b.charset = "utf-8";
- b.src = "https://dlswbr.baidu.com/heicha/mw/abclite-2063-s.js?_t=" + a;
- b.onload = function () {
- window.___abvk && pa("SECKEY_ABVK", window.___abvk)
- };
- window.__abbaidu_2063_cb = function (a) {
- a = JSON.parse(a);
- pa("BMAP_SECKEY", a.data)
- };
- b.addEventListener ? b.addEventListener("load", function (a) {
- a = a.target;
- a.parentNode.removeChild(a)
- }, q) : b.attachEvent && b.attachEvent("onreadystatechange", function () {
- var a = window.event.srcElement;
- a && (a.readyState == "loaded" || a.readyState == "complete") && a.parentNode.removeChild(a)
- });
- setTimeout(function () {
- document.getElementsByTagName("head")[0].appendChild(b);
- b = p
- }, 1)
- };
- B.Jw = B.apiLoad || function (a) {
- if (B.version && B.version >= 1.5) {
- var b = B.oc + "?qt=verify&v=2.1&ak=" + qa;
- a && (b = b + "&fromPanorama=" + a);
- ra(b, function (a) {
- if (a && a.error !== 0) {
- B = p;
- var b = "\u60a8\u63d0\u4f9b\u7684\u5bc6\u94a5\u4e0d\u662f\u6709\u6548\u7684\u767e\u5ea6LBS\u5f00\u653e\u5e73\u53f0\u5bc6\u94a5\u3002\u60a8\u53ef\u4ee5\u8bbf\u95ee\u5982\u4e0b\u7f51\u5740\u4e86\u89e3\u5982\u4f55\u83b7\u53d6\u6709\u6548\u7684\u5bc6\u94a5\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\u3002";
- a.error && sa[a.error] && (b = sa[a.error] + "\u8be6\u60c5\u67e5\u770b\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\u3002");
- alert(b);
- if (typeof map !== "undefined" && typeof map.Ha === "function") {
- map.Ha().innerHTML = "";
- map.Mi = {}
- }
- }
- })
- }
- };
- var qa = window.BMAP_AUTHENTIC_KEY;
- window.BMAP_AUTHENTIC_KEY = p;
- var ta = window.BMap_loadScriptTime,
- ua = (new Date).getTime(),
- va = p,
- wa = o,
- xa = 5042,
- ya = 5002,
- za = 5003,
- Aa = "load_mapclick",
- Ba = 5038,
- Ca = 5041,
- Ea = 5047,
- Fa = 5036,
- Ga = 5039,
- Ha = 5037,
- Ia = 5040,
- Ja = 5011,
- Ka = 7E3,
- sa = {
- 101: "\u60a8\u6240\u4f7f\u7528\u7684\u5bc6\u94a5ak\u6709\u95ee\u9898\uff0c\u4e0d\u652f\u6301jsapi\u670d\u52a1\uff0c\u53ef\u4ee5\u8bbf\u95ee\u8be5\u7f51\u5740\u4e86\u89e3\u5982\u4f55\u83b7\u53d6\u6709\u6548\u5bc6\u94a5\u3002",
- 102: "MCODE\u53c2\u6570\u4e0d\u5b58\u5728\uff0cmobile\u7c7b\u578bMCODE\u53c2\u6570\u5fc5\u9700\u3002",
- 200: "APP\u4e0d\u5b58\u5728\uff0cAK\u6709\u8bef\u8bf7\u68c0\u67e5\u518d\u91cd\u8bd5\u3002",
- 201: "APP\u88ab\u60a8\u7981\u7528\u5566\u3002",
- 202: "APP\u88ab\u7ba1\u7406\u5458\u5220\u9664\u5566\u3002",
- 203: "APP\u7c7b\u578b\u9519\u8bef\u3002",
- 210: "APP IP\u6821\u9a8c\u5931\u8d25\u3002",
- 220: "APP Referer\u6821\u9a8c\u5931\u8d25\u3002\u8bf7\u68c0\u67e5\u8be5ak\u8bbe\u7f6e\u7684\u767d\u540d\u5355\u4e0e\u8bbf\u95ee\u6240\u6709\u7684\u57df\u540d\u662f\u5426\u4e00\u81f4\u3002",
- 230: "APP Mcode\u7801\u6821\u9a8c\u5931\u8d25\u3002",
- 240: "APP\u670d\u52a1\u88ab\u7981\u7528\u4e86\u3002",
- 250: "\u8be5\u7528\u6237\u4e0d\u5b58\u5728...",
- 251: "\u8be5\u7528\u6237\u88ab\u81ea\u5df1\u5220\u9664\u5566\u3002",
- 252: "\u8be5\u7528\u6237\u88ab\u7ba1\u7406\u5458\u5220\u9664\u5566\u3002",
- 260: "\u60a8\u6240\u4f7f\u7528\u7684\u5bc6\u94a5AK\u4e0d\u5305\u542b\u8be5\u670d\u52a1\u5462\uff0c",
- 261: "\u60a8\u6240\u4f7f\u7528\u7684\u5bc6\u94a5AK\u7684\u8be5\u670d\u52a1\u88ab\u7981\u7528\u5566\uff0c",
- 401: "\u60a8\u6240\u4f7f\u7528\u7684AK\u5e76\u53d1\u8d85\u9650\u4e86\uff0c",
- 302: "\u60a8\u6240\u4f7f\u7528\u7684AK\u5929\u914d\u989d\u8d85\u9650\u4e86\uff0c"
- };
- var La = 0;
- window.BMAP_COORD_BD09 = 5;
- window.BMAP_COORD_GCJ02 = 3;
-
- function Na(a, b) {
- if (a = x.$(a)) {
- var c = this;
- x.lang.Da.call(c);
- b = b || {};
- c.B = {
- yk: b.fixedZoomCenter || q,
- BC: 200,
- Gb: o,
- tx: q,
- yD: o,
- Zo: o,
- $o: b.enableWheelZoom || q,
- lL: o,
- AD: o,
- wm: o,
- Ss: o,
- xm: o,
- Xo: b.enable3DBuilding || q,
- Hc: 25,
- M0: 240,
- fV: 450,
- Xb: I.Xb,
- Id: I.Id,
- dy: !!b.dy,
- fc: Math.round(b.minZoom) || 1,
- Zb: Math.round(b.maxZoom) || 19,
- xb: b.mapType || Oa,
- B4: q,
- gL: b.drawer || La,
- sx: o,
- px: 500,
- TW: b.enableHighResolution !== q,
- pj: b.enableMapClick !== q,
- devicePixelRatio: b.devicePixelRatio || window.devicePixelRatio || 1,
- lG: 99,
- ze: b.mapStyle || p,
- $Y: b.logoControl === q ? q : o,
- xV: [],
- Nw: b.beforeClickIcon || p,
- uD: b.enableBizAuthLogo === q ? q : o,
- ax: b.coordsType || 5
- };
- window.GCJMAP = this;
- c.B.ze && (this.BY(c.B.ze.controls), this.tM(c.B.ze.geotableId));
- c.B.ze && c.B.ze.styleId && c.u3(c.B.ze.styleId);
- c.B.om = {
- dark: {
- backColor: "#2D2D2D",
- textColor: "#bfbfbf",
- iconUrl: "dicons"
- },
- normal: {
- backColor: "#F3F1EC",
- textColor: "#c61b1b",
- iconUrl: "icons"
- },
- light: {
- backColor: "#EBF8FC",
- textColor: "#017fb4",
- iconUrl: "licons"
- }
- };
- b.enableAutoResize && (c.B.Ss = b.enableAutoResize);
- b.enableStreetEntrance === q && (c.B.xm = b.enableStreetEntrance);
- b.enableDeepZoom === q && (c.B.lL = b.enableDeepZoom);
- var d = c.B.xV;
- if (J())
- for (var e = 0, f = d.length; e < f; e++)
- if (x.da[d[e]]) {
- c.B.devicePixelRatio = 1;
- break
- }
- d = -1 < navigator.userAgent.toLowerCase().indexOf("android");
- e = -1 < navigator.userAgent.toLowerCase().indexOf("mqqbrowser");
- if (-1 < navigator.userAgent.toLowerCase().indexOf("UCBrowser") || d && e) c.B.lG = 99;
- c.Ua = a;
- c.PB(a);
- a.unselectable = "on";
- a.innerHTML = "";
- a.appendChild(c.va());
- b.size && this.Ce(b.size);
- d = c.vb();
- c.width = d.width;
- c.height = d.height;
- c.offsetX = 0;
- c.offsetY = 0;
- c.platform = a.firstChild;
- c.Ae = c.platform.firstChild;
- c.Ae.style.width = c.width + "px";
- c.Ae.style.height = c.height + "px";
- c.Zd = {};
- c.re = new K(0, 0);
- c.dc = new K(0, 0);
- c.Na = 3;
- c.Mc = 0;
- c.TC = p;
- c.SC = p;
- c.Sb = "";
- c.Uw = "";
- c.Sh = {};
- c.Sh.custom = {};
- c.Sa = 0;
- b.useWebGL === q && Pa(q);
- c.P = new Qa(a, {
- of: "api",
- jT: o
- });
- c.P.U();
- c.P.Ry(c);
- b = b || {};
- d = c.xb = c.B.xb;
- c.Nd = d.Hm();
- c.B.xb && this.oa().OF(this);
- d === Ra && Ta(ya);
- d === Ua && Ta(za);
- d = c.B;
- d.hP = Math.round(b.minZoom);
- d.gP = Math.round(b.maxZoom);
- c.gv();
- c.R = {
- Ic: q,
- kc: 0,
- Cp: 0,
- KM: 0,
- O3: 0,
- tC: q,
- tF: -1,
- Re: []
- };
- c.platform.style.cursor = c.B.Xb;
- for (e = 0; e < B.Pr.length; e++) B.Pr[e](c);
- c.R.tF = e;
- c.ca();
- L.load("map", function () {
- c.Ab()
- });
- c.B.pj && (setTimeout(function () {
- Ta(Aa)
- }, 1E3), L.load("mapclick", function () {
- window.MPC_Mgr = window.MPC_Mgr || {};
- window.MPC_Mgr[c.ba] = new Va(c)
- }, o));
- Xa() && L.load("oppc", function () {
- c.Nz()
- });
- J() && L.load("opmb", function () {
- c.Nz()
- });
- a = p;
- c.cC = []
- }
- }
- x.lang.ua(Na, x.lang.Da, "Map");
- x.extend(Na.prototype, {
- va: function () {
- var a = H("div"),
- b = a.style;
- b.overflow = "visible";
- b.position = "absolute";
- b.zIndex = "0";
- b.top = b.left = "0px";
- var b = H("div", {
- "class": "BMap_mask"
- }),
- c = b.style;
- c.position = "absolute";
- c.top = c.left = "0px";
- c.zIndex = "9";
- c.overflow = "hidden";
- c.WebkitUserSelect = "none";
- a.appendChild(b);
- return a
- },
- PB: function (a) {
- var b = a.style;
- b.overflow = "hidden";
- "absolute" !== Ya(a).position && (b.position = "relative", b.zIndex = 0);
- b.backgroundColor = "#F3F1EC";
- b.color = "#000";
- b.textAlign = "left"
- },
- ca: function () {
- var a = this;
- a.Co = function () {
- var b = a.vb();
- if (a.width !== b.width || a.height !== b.height) {
- var c = new M(a.width, a.height),
- d = new N("onbeforeresize");
- d.size = c;
- a.dispatchEvent(d);
- a.ok((b.width - a.width) / 2, (b.height - a.height) / 2);
- a.Ae.style.width = (a.width = b.width) + "px";
- a.Ae.style.height = (a.height = b.height) + "px";
- c = new N("onresize");
- c.size = b;
- a.dispatchEvent(c)
- }
- };
- a.B.Ss && (a.R.fm = setInterval(a.Co, 80))
- },
- ok: function (a, b, c, d) {
- var e = this.oa().yc(this.ga()),
- f = this.Nd,
- g = o;
- c && O.GE(c) && (this.re = new K(c.lng, c.lat), g = q);
- if (c = c && d ? f.Jk(c, this.Sb) : this.dc)
- if (this.dc = new K(c.lng + a * e, c.lat - b * e), (a = f.rh(this.dc, this.Sb)) && g) this.re = a
- },
- Ig: function (a, b) {
- if (Za(a) && (this.gv(), this.dispatchEvent(new N("onzoomstart")), a = this.fo(a).zoom, a !== this.Na)) {
- this.Mc = this.Na;
- this.Na = a;
- var c;
- b ? c = new K($a(cp, me).lng, $a(b, me).lat) : this.lh() && (c = this.lh().ia());
- c && (c = this.Cc(c, this.Mc), this.ok(this.width / 2 - c.x, this.height / 2 - c.y, this.Rb(c, this.Mc), o));
- this.dispatchEvent(new N("onzoomstartcode"))
- }
- },
- Oc: function (a) {
- this.Ig(a)
- },
- pG: function (a) {
- this.Ig(this.Na + 1, a)
- },
- qG: function (a) {
- this.Ig(this.Na - 1, a)
- },
- Ai: function (a) {
- if (a instanceof O || a instanceof K) a = $a(a, this), this.dc = this.Nd.Jk(a, this.Sb), this.re = K.GE(a) ? new K(a.lng, a.lat) : this.Nd.rh(this.dc, this.Sb)
- },
- zg: function (a, b) {
- a = Math.round(a) || 0;
- b = Math.round(b) || 0;
- this.ok(-a, -b)
- },
- js: function (a) {
- a && ab(a.Ie) && (a.Ie(this), this.dispatchEvent(new N("onaddcontrol", a)))
- },
- WN: function (a) {
- a && ab(a.remove) && (a.remove(), this.dispatchEvent(new N("onremovecontrol", a)))
- },
- Fo: function (a) {
- a && ab(a.ra) && (a.ra(this), this.dispatchEvent(new N("onaddcontextmenu", a)))
- },
- Op: function (a) {
- a && ab(a.remove) && (this.dispatchEvent(new N("onremovecontextmenu", a)), a.remove())
- },
- Ka: function (a) {
- a && ab(a.Ie) && (a.Ie(this), this.dispatchEvent(new N("onaddoverlay", a)))
- },
- Ub: function (a) {
- a && ab(a.remove) && (a.remove(), this.dispatchEvent(new N("onremoveoverlay", a)))
- },
- CK: function () {
- this.dispatchEvent(new N("onclearoverlays"))
- },
- $g: function (a) {
- a && this.dispatchEvent(new N("onaddtilelayer", a))
- },
- Ah: function (a) {
- a && this.dispatchEvent(new N("onremovetilelayer", a))
- },
- Fg: function (a) {
- if (this.xb !== a) {
- var b = new N("onsetmaptype");
- b.s4 = this.xb;
- this.xb = this.B.xb = a;
- this.Nd = this.xb.Hm();
- this.ok(0, 0, this.wc(), o);
- this.xb.OF(this);
- this.gv();
- var c = this.fo(this.ga()).zoom;
- this.Ig(c);
- this.dispatchEvent(b);
- b = new N("onmaptypechange");
- b.Na = c;
- b.xb = a;
- this.dispatchEvent(b);
- (a === bb || a === Ua) && Ta(za)
- }
- },
- Xf: function (a) {
- var b = this;
- if (a instanceof O || a instanceof K) a = new K($a(a, b).lng, $a(a, b).lat), b.Ai(a, {
- noAnimation: o
- });
- else if (cb(a))
- if (b.xb === Ra) {
- var c = I.xC[a];
- c && (pt = c.m, b.Xf(pt))
- } else {
- var d = this.bI();
- d.PF(function (c) {
- 0 === d.Im() && 2 === d.Ga.result.type && (b.Xf(c.Ek(0).point), Ra.Ak(a) && b.JF(a))
- });
- d.search(a, {
- log: "center"
- })
- }
- },
- Gd: function (a, b) {
- "[object Undefined]" !== Object.prototype.toString.call(b) && (b = parseInt(b));
- B.Ln("cus.fire", "time", {
- z_loadscripttime: ua - ta
- });
- var c = this;
- if (cb(a))
- if (c.xb === Ra) {
- var d = I.xC[a];
- d && (pt = d.m, c.Gd(pt, b))
- } else {
- var e = c.bI();
- e.PF(function (d) {
- if (0 === e.Im() && (2 === e.Ga.result.type || 11 === e.Ga.result.type)) {
- var d = d.Ek(0).point,
- f = b || Q.xx(e.Ga.content.level, c);
- c.Gd(d, f);
- Ra.Ak(a) && c.JF(a)
- }
- });
- e.search(a, {
- log: "center"
- })
- }
- else if ((a instanceof K || a instanceof O) && b) {
- var b = c.fo(b).zoom,
- f = $a(a, c);
- c.Mc = c.Na || b;
- c.Na = b;
- d = c.re;
- c.re = new K(f.lng, f.lat);
- c.dc = c.Nd.Jk(c.re, c.Sb);
- c.TC = c.TC || c.Na;
- c.SC = c.SC || c.re;
- var g = new N("onload"),
- i = new N("onloadcode");
- g.point = new K(f.lng, f.lat);
- g.pixel = c.Cc(c.re, c.Na);
- g.zoom = b;
- c.loaded || (c.loaded = o, c.dispatchEvent(g), va || (va = db()));
- c.dispatchEvent(i);
- f = new N("onmoveend");
- f.EH = "centerAndZoom";
- d.ab(c.re) || c.dispatchEvent(f);
- c.dispatchEvent(new N("onmoveend"));
- c.Mc !== c.Na && (d = new N("onzoomend"), d.EH = "centerAndZoom", c.dispatchEvent(d));
- c.B.Xo && c.Xo()
- }
- },
- bI: function () {
- this.R.UM || (this.R.UM = new eb(1));
- return this.R.UM
- },
- reset: function () {
- this.Gd(this.SC, this.TC, o)
- },
- enableDragging: function () {
- this.B.Gb = o
- },
- disableDragging: function () {
- this.B.Gb = q
- },
- enableInertialDragging: function () {
- this.B.sx = o
- },
- disableInertialDragging: function () {
- this.B.sx = q
- },
- enableScrollWheelZoom: function () {
- this.B.$o = o
- },
- disableScrollWheelZoom: function () {
- this.B.$o = q
- },
- enableContinuousZoom: function () {
- this.B.Zo = o
- },
- disableContinuousZoom: function () {
- this.B.Zo = q
- },
- enableDoubleClickZoom: function () {
- this.B.yD = o
- },
- disableDoubleClickZoom: function () {
- this.B.yD = q
- },
- enableKeyboard: function () {
- this.B.tx = o
- },
- disableKeyboard: function () {
- this.B.tx = q
- },
- enablePinchToZoom: function () {
- this.B.wm = o
- },
- disablePinchToZoom: function () {
- this.B.wm = q
- },
- enableAutoResize: function () {
- this.B.Ss = o;
- this.Co();
- this.R.fm || (this.R.fm = setInterval(this.Co, 80))
- },
- disableAutoResize: function () {
- this.B.Ss = q;
- this.R.fm && (clearInterval(this.R.fm), this.R.fm = p)
- },
- enableBizAuthLogo: function () {
- this.B.uD = o;
- this.Ow && this.Ow.show()
- },
- disableBizAuthLogo: function () {
- this.B.uD = q;
- this.Ow && this.Ow.U()
- },
- Xo: function () {
- this.B.Xo = o;
- this.Tn || (this.Tn = new fb({
- uL: o
- }), this.$g(this.Tn))
- },
- DW: function () {
- this.B.Xo = q;
- this.Tn && (this.Ah(this.Tn), this.Tn = p, delete this.Tn)
- },
- vb: function () {
- return this.Ds && this.Ds instanceof M ? new M(this.Ds.width, this.Ds.height) : new M(this.Ua.clientWidth, this.Ua.clientHeight)
- },
- Ce: function (a) {
- a && a instanceof M ? (this.Ds = a, this.Ua.style.width = a.width + "px", this.Ua.style.height = a.height + "px") : this.Ds = p
- },
- wc: v("re"),
- pc: function () {
- return gb(this.re, this)
- },
- ga: v("Na"),
- SV: function () {
- this.Co()
- },
- fo: function (a) {
- var b = this.B.fc,
- c = this.B.Zb,
- d = q,
- a = Math.round(a);
- a < b && (d = o, a = b);
- a > c && (d = o, a = c);
- return {
- zoom: a,
- HD: d
- }
- },
- Ha: v("Ua"),
- Cc: function (a, b) {
- b = b || this.ga();
- return this.Nd.Mp(a, b, this.dc, this.vb(), this.Sb)
- },
- Mp: function (a, b) {
- b = b || this.ga();
- if (a && (a instanceof O || a instanceof K)) return a = $a(a, this), this.Nd.Mp(a, b, this.dc, this.vb(), this.Sb)
- },
- Rb: function (a, b) {
- b = b || this.ga();
- return this.Nd.Ag(a, b, this.dc, this.vb(), this.Sb)
- },
- Ag: function (a, b) {
- b = b || this.ga();
- return gb(this.Rb(a, b), this)
- },
- We: function (a, b) {
- if (a) {
- var a = $a(a, this),
- c = this.Cc(new K(a.lng, a.lat), b);
- c.x -= this.offsetX;
- c.y -= this.offsetY;
- return c
- }
- },
- KT: function (a, b) {
- if (a) {
- var c = new S(a.x, a.y);
- c.x += this.offsetX;
- c.y += this.offsetY;
- return this.Rb(c, b)
- }
- },
- IN: function (a, b) {
- if (a) {
- var c = new S(a.x, a.y);
- c.x += this.offsetX;
- c.y += this.offsetY;
- return this.Ag(c, b)
- }
- },
- pointToPixelFor3D: function (a, b) {
- var c = map.Sb;
- this.xb === Ra && c && hb.IK(a, this, b)
- },
- m4: function (a, b) {
- var c = map.Sb;
- this.xb === Ra && c && hb.HK(a, this, b)
- },
- n4: function (a, b) {
- var c = this,
- d = map.Sb;
- c.xb === Ra && d && hb.IK(a, c, function (a) {
- a.x -= c.offsetX;
- a.y -= c.offsetY;
- b && b(a)
- })
- },
- k4: function (a, b) {
- var c = map.Sb;
- this.xb === Ra && c && (a.x += this.offsetX, a.y += this.offsetY, hb.HK(a, this, b))
- },
- Kd: function (a) {
- if (!this.by()) return new ib;
- var b = a || {},
- a = b.margins || [0, 0, 0, 0],
- c = b.zoom || p,
- b = this.Ag({
- x: a[3],
- y: this.height - a[2]
- }, c),
- a = this.Ag({
- x: this.width - a[1],
- y: a[0]
- }, c);
- return new ib(b, a)
- },
- by: function () {
- return !!this.loaded
- },
- lS: function (a, b) {
- for (var c = this.oa(), d = b.margins || [10, 10, 10, 10], e = b.zoomFactor || 0, f = d[1] + d[3], d = d[0] + d[2], g = c.hp(), i = c = c.Dm(); i >= g; i--) {
- var k = this.oa().yc(i);
- if (a.dG().lng / k < this.width - f && a.dG().lat / k < this.height - d) break
- }
- i += e;
- i < g && (i = g);
- i > c && (i = c);
- return i
- },
- mt: function (a, b) {
- var c = {
- center: this.wc(),
- zoom: this.ga()
- };
- if (!a || !a instanceof ib && 0 === a.length || a instanceof ib && a.Bj()) return c;
- var d = [];
- a instanceof ib ? (d.push($a(a.pf(), this)), d.push($a(a.xe(), this))) : d = a.slice(0);
- for (var b = b || {}, e = [], f = 0, g = d.length; f < g; f++) e.push(this.Nd.Jk($a(d[f], this), this.Sb));
- d = new ib;
- for (f = e.length - 1; 0 <= f; f--) d.extend(e[f]);
- if (d.Bj()) return c;
- c = d.pc();
- e = this.lS(d, b);
- b.margins && (d = b.margins, f = (d[1] - d[3]) / 2, d = (d[0] - d[2]) / 2, g = this.oa().yc(e), b.offset && (f = b.offset.width, d = b.offset.height), c.lng += g * f, c.lat += g * d);
- c = this.Nd.rh(c, this.Sb);
- return {
- center: gb(c, this),
- zoom: e
- }
- },
- Dh: function (a, b) {
- var c;
- c = a && a.center ? a : this.mt(a, b);
- var b = b || {},
- d = b.delay || 200;
- if (c.zoom === this.Na && b.enableAnimation !== q) {
- var e = this;
- setTimeout(function () {
- e.Ai(c.center, {
- duration: 210
- })
- }, d)
- } else this.Gd(c.center, c.zoom)
- },
- Rf: v("Zd"),
- lh: function () {
- return this.R.ob && this.R.ob.Va() ? this.R.ob : p
- },
- getDistance: function (a, b) {
- if (a && b) {
- if (a.ab(b)) return 0;
- var a = $a(a, this),
- b = $a(b, this),
- c = 0,
- c = T.fp(a, b);
- if (c === p || c === j) c = 0;
- return c
- }
- },
- Mx: function () {
- var a = [],
- b = this.wa,
- c = this.Fe;
- if (b)
- for (var d in b) b[d] instanceof jb && a.push(b[d]);
- if (c) {
- d = 0;
- for (b = c.length; d < b; d++) a.push(c[d])
- }
- return a
- },
- oa: function () {
- this.xb.OF(this);
- return this.xb
- },
- Nz: function () {
- for (var a = this.R.tF; a < B.Pr.length; a++) B.Pr[a](this);
- this.R.tF = a
- },
- JF: function (a) {
- this.Sb = Ra.Ak(a);
- this.Uw = Ra.GL(this.Sb);
- this.xb === Ra && this.Nd instanceof kb && (this.Nd.ij = this.Sb)
- },
- setDefaultCursor: function (a) {
- this.B.Xb = a;
- this.platform && (this.platform.style.cursor = this.B.Xb)
- },
- getDefaultCursor: function () {
- return this.B.Xb
- },
- setDraggingCursor: function (a) {
- this.B.Id = a
- },
- getDraggingCursor: function () {
- return this.B.Id
- },
- Xx: function () {
- return this.B.TW && 1.5 <= this.B.devicePixelRatio
- },
- Ew: function (a, b) {
- b ? this.Sh[b] || (this.Sh[b] = {}) : b = "custom";
- a.tag = b;
- a instanceof lb && (this.Sh[b][a.ba] = a, a.ra(this));
- var c = this;
- L.load("hotspot", function () {
- c.Nz()
- }, o)
- },
- LZ: function (a, b) {
- b || (b = "custom");
- this.Sh[b][a.ba] && delete this.Sh[b][a.ba]
- },
- lm: function (a) {
- a || (a = "custom");
- this.Sh[a] = {}
- },
- gv: function () {
- var a = this.xb.hp(),
- b = this.xb.Dm(),
- c = this.B;
- c.fc = c.hP || a;
- c.Zb = c.gP || b;
- c.fc < a && (c.fc = a);
- c.Zb > b && (c.Zb = b)
- },
- setMinZoom: function (a) {
- a = Math.round(a);
- a > this.B.Zb && (a = this.B.Zb);
- this.B.hP = a;
- this.LJ()
- },
- setMaxZoom: function (a) {
- a = Math.round(a);
- a < this.B.fc && (a = this.B.fc);
- this.B.gP = a;
- this.LJ()
- },
- LJ: function () {
- this.gv();
- var a = this.B;
- this.Na < a.fc ? this.Oc(a.fc) : this.Na > a.Zb && this.Oc(a.Zb);
- var b = new N("onzoomspanchange");
- b.fc = a.fc;
- b.Zb = a.Zb;
- this.dispatchEvent(b)
- },
- w3: v("cC"),
- getKey: function () {
- return qa
- },
- du: function (a) {
- var b = this;
- window.MPC_Mgr && window.MPC_Mgr[b.ba] && window.MPC_Mgr[b.ba].close();
- b.B.pj = q;
- B.Ln("cus.fire", "count", "z_setmapstylecount");
- if (a) {
- b = this;
- a.styleJson && (a.styleStr = b.Q_(a.styleJson));
- J() && x.da.BF ? setTimeout(function () {
- b.B.ze = a;
- b.dispatchEvent(new N("onsetcustomstyles", a))
- }, 50) : (this.B.ze = a, this.dispatchEvent(new N("onsetcustomstyles", a)), this.tM(b.B.ze.geotableId));
- var c = {
- style: a.style
- };
- a.features && 0 < a.features.length && (c.features = o);
- a.styleJson && 0 < a.styleJson.length && (c.styleJson = o);
- Ta(5050, c);
- a.style && (c = b.B.om[a.style] ? b.B.om[a.style].backColor : b.B.om.normal.backColor) && (this.Ha().style.backgroundColor = c)
- }
- },
- BY: function (a) {
- this.controls || (this.controls = {
- navigationControl: new mb,
- scaleControl: new nb,
- overviewMapControl: new ob,
- mapTypeControl: new pb
- });
- var b = this,
- c;
- for (c in this.controls) b.WN(b.controls[c]);
- a = a || [];
- x.jc.Fb(a, function (a) {
- b.js(b.controls[a])
- })
- },
- tM: function (a) {
- a ? this.Bs && this.Bs.Bf === a || (this.Ah(this.Bs), this.Bs = new qb({
- geotableId: a
- }), this.$g(this.Bs)) : this.Ah(this.Bs)
- },
- Wb: function () {
- var a = this.ga() >= this.B.lG && this.oa() === Oa && 18 >= this.ga(),
- b = q;
- try {
- document.createElement("canvas").getContext("2d"), b = o
- } catch (c) {
- b = q
- }
- return a && b
- },
- getCurrentCity: function () {
- return {
- name: this.bh,
- code: this.ns
- }
- },
- Em: function () {
- this.P.lo();
- return this.P
- },
- setPanorama: function (a) {
- this.P = a;
- this.P.Ry(this)
- },
- Q_: function (a) {
- for (var b = {
- featureType: "t",
- elementType: "e",
- visibility: "v",
- color: "c",
- lightness: "l",
- saturation: "s",
- weight: "w",
- zoom: "z",
- hue: "h"
- }, c = {
- all: "all",
- geometry: "g",
- "geometry.fill": "g.f",
- "geometry.stroke": "g.s",
- labels: "l",
- "labels.text.fill": "l.t.f",
- "labels.text.stroke": "l.t.s",
- "lables.text": "l.t",
- "labels.icon": "l.i"
- }, d = [], e = 0, f; f = a[e]; e++) {
- var g = f.stylers;
- delete f.stylers;
- x.extend(f, g);
- var g = [],
- i;
- for (i in b)
- if (f[i])
- if ("elementType" === i) g.push(b[i] + ":" + c[f[i]]);
- else {
- switch (f[i]) {
- case "poilabel":
- f[i] = "poi";
- break;
- case "districtlabel":
- f[i] = "label"
- }
- g.push(b[i] + ":" + f[i])
- }
- 2 < g.length && d.push(g.join("|"))
- }
- return d.join(",")
- },
- k_: function (a) {
- this.B.kL = a
- }
- });
-
- function Ta(a, b) {
- if (a) {
- var b = b || {},
- c = "",
- d;
- for (d in b) c = c + "&" + d + "=" + encodeURIComponent(b[d]);
- var e = function (a) {
- a && (rb = o, setTimeout(function () {
- sb.src = B.oc + "images/blank.gif?" + a.src
- }, 50))
- },
- f = function () {
- var a = tb.shift();
- a && e(a)
- };
- d = (1E8 * Math.random()).toFixed(0);
- rb ? tb.push({
- src: "product=jsapi&sub_product=jsapi&v=" + B.version + "&sub_product_v=" + B.version + "&t=" + d + "&code=" + a + "&da_src=" + a + c
- }) : e({
- src: "product=jsapi&sub_product=jsapi&v=" + B.version + "&sub_product_v=" + B.version + "&t=" + d + "&code=" + a + "&da_src=" + a + c
- });
- ub || (x.M(sb, "load", function () {
- rb = q;
- f()
- }), x.M(sb, "error", function () {
- rb = q;
- f()
- }), ub = o)
- }
- }
- var rb, ub, tb = [],
- sb = new Image;
- Ta(5E3, {
- device_pixel_ratio: window.devicePixelRatio,
- platform: navigator.platform
- });
- B.nM = {
- TILE_BASE_URLS: ["maponline0.bdimg.com/starpic/?qt=satepc&", "maponline1.bdimg.com/starpic/?qt=satepc&", "maponline2.bdimg.com/starpic/?qt=satepc&", "maponline3.bdimg.com/starpic/?qt=satepc&"],
- TILE_ONLINE_URLS: ["maponline0.bdimg.com", "maponline1.bdimg.com", "maponline2.bdimg.com", "maponline3.bdimg.com"],
- TIlE_PERSPECT_URLS: ["gss0.bdstatic.com/-OR1cTe9KgQFm2e88IuM_a", "gss0.bdstatic.com/-ON1cTe9KgQFm2e88IuM_a", "gss0.bdstatic.com/-OZ1cTe9KgQFm2e88IuM_a", "gss0.bdstatic.com/-OV1cTe9KgQFm2e88IuM_a"],
- geolocControl: "gsp0.baidu.com/8LkJsjOpB1gCo2Kml5_Y_D3",
- TILES_YUN_HOST: ["gsp0.baidu.com/-eR1bSahKgkFkRGko9WTAnF6hhy", "gsp0.baidu.com/-eN1bSahKgkFkRGko9WTAnF6hhy", "gsp0.baidu.com/-eZ1bSahKgkFkRGko9WTAnF6hhy", "gsp0.baidu.com/-eV1bSahKgkFkRGko9WTAnF6hhy"],
- traffic: "itsmap2.baidu.com",
- message: "j.map.baidu.com",
- baidumap: "map.baidu.com",
- wuxian: "gsp0.baidu.com/6a1OdTeaKgQFm2e88IuM_a",
- pano: ["apisv0.bdimg.com", "apisv1.bdimg.com"],
- panoVerify: "api.map.baidu.com",
- main_domain_nocdn: {
- baidu: "api.map.baidu.com",
- other: "api.map.baidu.com"
- },
- main_domain_cdn: {
- baidu: ["mapapip0.bdimg.com", "mapapip1.bdimg.com", "mapapip2.bdimg.com"],
- other: ["api.map.baidu.com"],
- webmap: ["webmap0.bdimg.com"]
- },
- map_click: "gsp0.baidu.com/80MWbzKh2wt3n2qy8IqW0jdnxx1xbK",
- vector_traffic: "maponline0.bdimg.com"
- };
- B.vY = {
- TILE_BASE_URLS: ["maponline0.bdimg.com/starpic/?qt=satepc&", "maponline1.bdimg.com/starpic/?qt=satepc&", "maponline2.bdimg.com/starpic/?qt=satepc&", "maponline3.bdimg.com/starpic/?qt=satepc&"],
- TILE_ONLINE_URLS: ["maponline0.bdimg.com", "maponline1.bdimg.com", "maponline2.bdimg.com", "maponline3.bdimg.com"],
- TIlE_PERSPECT_URLS: ["d0.map.baidu.com", "d1.map.baidu.com", "d2.map.baidu.com", "d3.map.baidu.com"],
- geolocControl: "loc.map.baidu.com",
- TILES_YUN_HOST: ["g0.api.map.baidu.com", "g1.api.map.baidu.com", "g2.api.map.baidu.com", "g3.api.map.baidu.com"],
- traffic: "itsmap2.baidu.com",
- message: "j.map.baidu.com",
- baidumap: "map.baidu.com",
- wuxian: "wuxian.baidu.com",
- pano: ["apisv0.bdimg.com", "apisv1.bdimg.com"],
- panoVerify: "api.map.baidu.com",
- main_domain_nocdn: {
- baidu: "api.map.baidu.com"
- },
- main_domain_cdn: {
- baidu: ["mapapip0.bdimg.com", "mapapip1.bdimg.com", "mapapip2.bdimg.com"],
- webmap: ["webmap0.bdimg.com"]
- },
- map_click: "mapclick.map.baidu.com",
- vector_traffic: "maponline0.bdimg.com"
- };
- B.s0 = {
- "0": {
- proto: "http://",
- domain: B.vY
- },
- 1: {
- proto: "https://",
- domain: B.nM
- },
- 2: {
- proto: "https://",
- domain: B.nM
- }
- };
- B.kz = window.HOST_TYPE || "0";
- B.url = B.s0[B.kz];
- B.Fp = B.url.proto + B.url.domain.baidumap + "/";
- B.oc = B.url.proto + ("2" == B.kz ? B.url.domain.main_domain_nocdn.other : B.url.domain.main_domain_nocdn.baidu) + "/";
- B.la = B.url.proto + ("2" == B.kz ? B.url.domain.main_domain_cdn.other[0] : B.url.domain.main_domain_nocdn.baidu) + "/";
- B.gj = B.url.proto + B.url.domain.main_domain_cdn.webmap[0] + "/";
- // B.JN = B.url.proto + B.url.domain.panoVerify + "/"; // yangjianfei 注释
- B.JN = ''; // yangjianfei 添加
- B.Sf = function (a, b) {
- var c, d, b = b || "";
- switch (a) {
- case "main_domain_nocdn":
- c = B.oc + b;
- break;
- case "main_domain_cdn":
- c = B.la + b;
- break;
- default:
- d = B.url.domain[a], "[object Array]" == Object.prototype.toString.call(d) ? (c = [], x.jc.Fb(d, function (a, d) {
- c[d] = B.url.proto + a + "/" + b
- })) : c = B.url.proto + B.url.domain[a] + "/" + b
- }
- return c
- };
-
- function vb(a) {
- var b = {
- duration: 1E3,
- Hc: 30,
- To: 0,
- hc: wb.SM,
- Pt: t()
- };
- this.$f = [];
- if (a)
- for (var c in a) b[c] = a[c];
- this.k = b;
- if (Za(b.To)) {
- var d = this;
- setTimeout(function () {
- d.start()
- }, b.To)
- } else b.To != xb && this.start()
- }
- var xb = "INFINITE";
- vb.prototype.start = function () {
- this.Xu = db();
- this.pA = this.Xu + this.k.duration;
- yb(this)
- };
- vb.prototype.add = function (a) {
- this.$f.push(a)
- };
-
- function yb(a) {
- var b = db();
- b >= a.pA ? (ab(a.k.va) && a.k.va(a.k.hc(1)), ab(a.k.finish) && a.k.finish(), 0 < a.$f.length && (b = a.$f[0], b.$f = [].concat(a.$f.slice(1)), b.start())) : (a.Oy = a.k.hc((b - a.Xu) / a.k.duration), ab(a.k.va) && a.k.va(a.Oy), a.YF || (a.fs = setTimeout(function () {
- yb(a)
- }, 1E3 / a.k.Hc)))
- }
- vb.prototype.stop = function (a) {
- this.YF = o;
- for (var b = 0; b < this.$f.length; b++) this.$f[b].stop(), this.$f[b] = p;
- this.$f.length = 0;
- this.fs && (clearTimeout(this.fs), this.fs = p);
- this.k.Pt(this.Oy);
- a && (this.pA = this.Xu, yb(this))
- };
- vb.prototype.cancel = ha(1);
- var wb = {
- SM: function (a) {
- return a
- },
- reverse: function (a) {
- return 1 - a
- },
- sD: function (a) {
- return a * a
- },
- rD: function (a) {
- return Math.pow(a, 3)
- },
- Qs: function (a) {
- return -(a * (a - 2))
- },
- iL: function (a) {
- return Math.pow(a - 1, 3) + 1
- },
- hL: function (a) {
- return 0.5 > a ? 2 * a * a : -2 * (a - 2) * a - 1
- },
- y2: function (a) {
- return 0.5 > a ? 4 * Math.pow(a, 3) : 4 * Math.pow(a - 1, 3) + 1
- },
- z2: function (a) {
- return (1 - Math.cos(Math.PI * a)) / 2
- }
- };
- wb["ease-in"] = wb.sD;
- wb["ease-out"] = wb.Qs;
- var I = {
- tG: 34,
- uG: 21,
- vG: new M(21, 32),
- yP: new M(10, 32),
- xP: new M(24, 36),
- wP: new M(12, 36),
- rG: new M(13, 1),
- // pa: B.la + "images/",
- pa: "./plugin/offline/images/",
- F3: "http://mapapip0.bdimg.com/images/",
- sG: B.la + "images/markers_new.png",
- uP: 24,
- vP: 73,
- xC: {
- "\u5317\u4eac": {
- Fy: "bj",
- m: new K(116.403874, 39.914889)
- },
- "\u4e0a\u6d77": {
- Fy: "sh",
- m: new K(121.487899, 31.249162)
- },
- "\u6df1\u5733": {
- Fy: "sz",
- m: new K(114.025974, 22.546054)
- },
- "\u5e7f\u5dde": {
- Fy: "gz",
- m: new K(113.30765, 23.120049)
- }
- },
- fontFamily: "arial,sans-serif"
- };
- x.da.Te ? (x.extend(I, {
- XK: "url(" + I.pa + "ruler.cur),crosshair",
- Xb: "-moz-grab",
- Id: "-moz-grabbing"
- }), x.platform.GM && (I.fontFamily = "arial,simsun,sans-serif")) : x.da.Tw || x.da.BF ? x.extend(I, {
- XK: "url(" + I.pa + "ruler.cur) 2 6,crosshair",
- Xb: "url(" + I.pa + "openhand.cur) 8 8,default",
- Id: "url(" + I.pa + "closedhand.cur) 8 8,move"
- }) : x.extend(I, {
- XK: "url(" + I.pa + "ruler.cur),crosshair",
- Xb: "url(" + I.pa + "openhand.cur),default",
- Id: "url(" + I.pa + "closedhand.cur),move"
- });
-
- function zb(a, b) {
- var c = a.style;
- c.left = b[0] + "px";
- c.top = b[1] + "px"
- }
-
- function Ab(a) {
- 0 < x.da.ma ? a.unselectable = "on" : a.style.MozUserSelect = "none"
- }
-
- function Bb(a) {
- return a && a.parentNode && 11 !== a.parentNode.nodeType
- }
-
- function Cb(a, b) {
- x.K.$x(a, "beforeEnd", b);
- return a.lastChild
- }
-
- function Db(a) {
- for (var b = {
- left: 0,
- top: 0
- }; a && a.offsetParent;) b.left += a.offsetLeft, b.top += a.offsetTop, a = a.offsetParent;
- return b
- }
-
- function na(a) {
- a = window.event || a;
- a.stopPropagation ? a.stopPropagation() : a.cancelBubble = o
- }
-
- function Fb(a) {
- a = window.event || a;
- a.preventDefault ? a.preventDefault() : a.returnValue = q;
- return q
- }
-
- function oa(a) {
- na(a);
- return Fb(a)
- }
-
- function Gb() {
- var a = document.documentElement,
- b = document.body;
- return a && (a.scrollTop || a.scrollLeft) ? [a.scrollTop, a.scrollLeft] : b ? [b.scrollTop, b.scrollLeft] : [0, 0]
- }
-
- function Hb(a, b) {
- if (a && b) return Math.round(Math.sqrt(Math.pow(a.x - b.x, 2) + Math.pow(a.y - b.y, 2)))
- }
-
- function Ib(a, b) {
- var c = [],
- b = b || function (a) {
- return a
- },
- d;
- for (d in a) c.push(d + "=" + b(a[d]));
- return c.join("&")
- }
-
- function H(a, b, c) {
- var d = document.createElement(a);
- c && (d = document.createElementNS(c, a));
- return x.K.IF(d, b || {})
- }
-
- function Ya(a) {
- if (a.currentStyle) return a.currentStyle;
- if (a.ownerDocument && a.ownerDocument.defaultView) return a.ownerDocument.defaultView.getComputedStyle(a, p)
- }
-
- function ab(a) {
- return "function" === typeof a
- }
-
- function Za(a) {
- return "number" === typeof a
- }
-
- function cb(a) {
- return "string" == typeof a
- }
-
- function Jb(a) {
- return "undefined" != typeof a
- }
-
- function Kb(a) {
- return "object" == typeof a
- }
- var Lb = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
-
- function Mb(a) {
- var b = "",
- c, d, e = "",
- f, g = "",
- i = 0;
- f = /[^A-Za-z0-9\+\/\=]/g;
- if (!a || f.exec(a)) return a;
- a = a.replace(/[^A-Za-z0-9\+\/\=]/g, "");
- do c = Lb.indexOf(a.charAt(i++)), d = Lb.indexOf(a.charAt(i++)), f = Lb.indexOf(a.charAt(i++)), g = Lb.indexOf(a.charAt(i++)), c = c << 2 | d >> 4, d = (d & 15) << 4 | f >> 2, e = (f & 3) << 6 | g, b += String.fromCharCode(c), 64 != f && (b += String.fromCharCode(d)), 64 != g && (b += String.fromCharCode(e)); while (i < a.length);
- return b
- }
- var N = x.lang.vz;
-
- function J() {
- return !(!x.platform.HE && !x.platform.MY && !x.platform.Sm)
- }
-
- function Xa() {
- return !(!x.platform.GM && !x.platform.yM && !x.platform.SY)
- }
-
- function db() {
- return (new Date).getTime()
- }
-
- function Nb() {
- var a = document.body.appendChild(H("div"));
- a.innerHTML = '';
- var b = a.firstChild;
- if (!b.style) return q;
- b.style.behavior = "url(#default#VML)";
- b = b ? "object" === typeof b.adj : o;
- a.parentNode.removeChild(a);
- return b
- }
-
- function Ob() {
- return !!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Shape", "1.1")
- }
-
- function Pb() {
- return !!H("canvas").getContext
- }
-
- function Qb(a) {
- return a * Math.PI / 180
- }
- B.ZY = function () {
- var a = o,
- b = o,
- c = o,
- d = o,
- e = 0,
- f = 0,
- g = 0,
- i = 0;
- return {
- fR: function () {
- e += 1;
- a && (a = q, setTimeout(function () {
- Ta(5054, {
- pic: e
- });
- a = o;
- e = 0
- }, 1E4))
- },
- f1: function () {
- f += 1;
- b && (b = q, setTimeout(function () {
- Ta(5055, {
- move: f
- });
- b = o;
- f = 0
- }, 1E4))
- },
- h1: function () {
- g += 1;
- c && (c = q, setTimeout(function () {
- Ta(5056, {
- zoom: g
- });
- c = o;
- g = 0
- }, 1E4))
- },
- g1: function (a) {
- i += a;
- d && (d = q, setTimeout(function () {
- Ta(5057, {
- tile: i
- });
- d = o;
- i = 0
- }, 5E3))
- }
- }
- }();
- B.rq = {
- HG: "#83a1ff",
- uq: "#808080"
- };
-
- function Tb(a, b, c) {
- b.Xm || (b.Xm = [], b.handle = {});
- b.Xm.push({
- filter: c,
- ym: a
- });
- b.addEventListener || (b.addEventListener = function (a, c) {
- b.attachEvent("on" + a, c)
- });
- b.handle.click || (b.addEventListener("click", function (a) {
- for (var c = a.target || a.srcElement; c != b;) {
- Ub(b.Xm, function (b, g) {
- RegExp(g.filter).test(c.getAttribute("filter")) && g.ym.call(c, a, c.getAttribute("filter"))
- });
- c = c.parentNode
- }
- }, q), b.handle.click = o)
- }
-
- function Ub(a, b) {
- for (var c = 0, d = a.length; c < d; c++) b(c, a[c])
- }
- void
- function (a, b, c) {
- void
- function (a, b, c) {
- function g(a) {
- if (!a.So) {
- for (var c = o, d = [], f = a.PZ, i = 0; f && i < f.length; i++) {
- var k = f[i],
- l = ba[k] = ba[k] || {};
- if (l.So || l == a) d.push(l.Lc);
- else {
- c = q;
- if (!l.vW && (k = (Ma.get("alias") || {})[k] || k + ".js", !E[k])) {
- E[k] = o;
- var m = b.createElement("script"),
- n = b.getElementsByTagName("script")[0];
- m.async = o;
- m.src = k;
- n.parentNode.insertBefore(m, n)
- }
- l.lz = l.lz || {};
- l.lz[a.name] = a
- }
- }
- if (c) {
- a.So = o;
- a.PK && (a.Lc = a.PK.apply(a, d));
- for (var s in a.lz) g(a.lz[s])
- }
- }
- }
-
- function i(a) {
- return (a || new Date) - F
- }
-
- function k(a, b, c) {
- if (a) {
- "string" == typeof a && (c = b, b = a, a = G);
- try {
- a == G ? (P[b] = P[b] || [], P[b].unshift(c)) : a.addEventListener ? a.addEventListener(b, c, q) : a.attachEvent && a.attachEvent("on" + b, c)
- } catch (d) { }
- }
- }
-
- function l(a, b, c) {
- if (a) {
- "string" == typeof a && (c = b, b = a, a = G);
- try {
- if (a == G) {
- var d = P[b];
- if (d)
- for (var e = d.length; e--;) d[e] === c && d.splice(e, 1)
- } else a.removeEventListener ? a.removeEventListener(b, c, q) : a.detachEvent && a.detachEvent("on" + b, c)
- } catch (f) { }
- }
- }
-
- function m(a) {
- var b = P[a],
- c = 0;
- if (b) {
- for (var d = [], e = arguments, f = 1; f < e.length; f++) d.push(e[f]);
- for (f = b.length; f--;) b[f].apply(this, d) && c++;
- return c
- }
- }
-
- function n(a, b) {
- if (a && b) {
- var c = new Image(1, 1),
- d = [],
- e = "img_" + +new Date,
- f;
- for (f in b) b[f] && d.push(f + "=" + encodeURIComponent(b[f]));
- G[e] = c;
- c.onload = c.onerror = function () {
- G[e] = c = c.onload = c.onerror = p;
- delete G[e]
- };
- c.src = a + "?" + d.join("&")
- }
- }
-
- function s() {
- var a = arguments,
- b = a[0];
- if (this.OK || /^(on|un|set|get|create)$/.test(b)) {
- for (var b = w.prototype[b], c = [], d = 1, e = a.length; d < e; d++) c.push(a[d]);
- "function" == typeof b && b.apply(this, c)
- } else this.nK.push(a)
- }
-
- function u(a, b) {
- var c = {},
- d;
- for (d in a) a.hasOwnProperty(d) && (c[d] = a[d]);
- for (d in b) b.hasOwnProperty(d) && (c[d] = b[d]);
- return c
- }
-
- function w(a) {
- this.name = a;
- this.Vs = {
- protocolParameter: {
- postUrl: p,
- protocolParameter: p
- }
- };
- this.nK = [];
- this.alog = G
- }
-
- function y(a) {
- a = a || "default";
- if ("*" == a) {
- var a = [],
- b;
- for (b in R) a.push(R[b]);
- return a
- } (b = R[a]) || (b = R[a] = new w(a));
- return b
- }
- var D = c.alog;
- if (!D || !D.So) {
- var C = b.all && a.attachEvent,
- F = D && D.QE || +new Date,
- z = a.R3 || (+new Date).toString(36) + Math.random().toString(36).substr(2, 3),
- A = 0,
- E = {},
- G = function (a) {
- var b = arguments,
- c, d, e, f;
- if ("define" == a || "require" == a) {
- for (d = 1; d < b.length; d++) switch (typeof b[d]) {
- case "string":
- c = b[d];
- break;
- case "object":
- e = b[d];
- break;
- case "function":
- f = b[d]
- }
- "require" == a && (c && !e && (e = [c]), c = p);
- c = !c ? "#" + A++ : c;
- d = ba[c] = ba[c] || {};
- d.So || (d.name = c, d.PZ = e, d.PK = f, "define" == a && (d.vW = o), g(d))
- } else "function" == typeof a ? a(G) : ("" + a).replace(/^(?:([\w$_]+)\.)?(\w+)$/, function (a, c, d) {
- b[0] = d;
- s.apply(G.gG(c), b)
- })
- },
- P = {},
- R = {},
- ba = {
- R1: {
- name: "alog",
- So: o,
- Lc: G
- }
- };
- w.prototype.start = w.prototype.create = function (a) {
- if (!this.OK) {
- "object" == typeof a && this.set(a);
- this.OK = new Date;
- for (this.Ws("create", this); a = this.nK.shift();) s.apply(this, a)
- }
- };
- w.prototype.send = function (a, b) {
- var c = u({
- ts: i().toString(36),
- t: a,
- sid: z
- }, this.Vs);
- if ("object" == typeof b) c = u(c, b);
- else {
- var d = arguments;
- switch (a) {
- case "pageview":
- d[1] && (c.page = d[1]);
- d[2] && (c.title = d[2]);
- break;
- case "event":
- d[1] && (c.eventCategory = d[1]);
- d[2] && (c.eventAction = d[2]);
- d[3] && (c.eventLabel = d[3]);
- d[4] && (c.eventValue = d[4]);
- break;
- case "timing":
- d[1] && (c.timingCategory = d[1]);
- d[2] && (c.timingVar = d[2]);
- d[3] && (c.timingValue = d[3]);
- d[4] && (c.timingLabel = d[4]);
- break;
- case "exception":
- d[1] && (c.exDescription = d[1]);
- d[2] && (c.exFatal = d[2]);
- break;
- default:
- return
- }
- }
- this.Ws("send", c);
- var e;
- if (d = this.Vs.protocolParameter) {
- var f = {};
- for (e in c) d[e] !== p && (f[d[e] || e] = c[e]);
- e = f
- } else e = c;
- n(this.Vs.postUrl, e)
- };
- w.prototype.set = function (a, b) {
- if ("string" == typeof a) "protocolParameter" == a && (b = u({
- postUrl: p,
- protocolParameter: p
- }, b)), this.Vs[a] = b;
- else if ("object" == typeof a)
- for (var c in a) this.set(c, a[c])
- };
- w.prototype.get = function (a, b) {
- var c = this.Vs[a];
- "function" == typeof b && b(c);
- return c
- };
- w.prototype.Ws = function (a, b) {
- return G.Ws(this.name + "." + a, b)
- };
- w.prototype.M = function (a, b) {
- G.M(this.name + "." + a, b)
- };
- w.prototype.cd = function (a, b) {
- G.cd(this.name + "." + a, b)
- };
- G.name = "alog";
- G.zO = z;
- G.So = o;
- G.timestamp = i;
- G.cd = l;
- G.M = k;
- G.Ws = m;
- G.gG = y;
- G("init");
- var ca = w.prototype;
- U(ca, {
- start: ca.start,
- create: ca.create,
- send: ca.send,
- set: ca.set,
- get: ca.get,
- on: ca.M,
- un: ca.cd,
- fire: ca.Ws
- });
- var Ma = y();
- Ma.set("protocolParameter", {
- Q1: p
- });
- if (D) {
- ca = [].concat(D.yb || [], D.hn || []);
- D.yb = D.hn = p;
- for (var Sa in G) G.hasOwnProperty(Sa) && (D[Sa] = G[Sa]);
- G.yb = G.hn = {
- push: function (a) {
- G.apply(G, a)
- }
- };
- for (D = 0; D < ca.length; D++) G.apply(G, ca[D])
- }
- c.alog = G;
- C && k(b, "mouseup", function (a) {
- a = a.target || a.srcElement;
- 1 == a.nodeType && /^ajavascript:/i.test(a.tagName + a.href)
- });
- var Wa = q;
- a.onerror = function (a, b, d, e) {
- var g = o;
- !b && /^script error/i.test(a) && (Wa ? g = q : Wa = o);
- g && c.alog("exception.send", "exception", {
- Mt: a,
- PE: b,
- It: d,
- nm: e
- });
- return q
- };
- c.alog("exception.on", "catch", function (a) {
- c.alog("exception.send", "exception", {
- Mt: a.Mt,
- PE: a.path,
- It: a.It,
- method: a.method,
- wL: "catch"
- })
- })
- }
- }(a, b, c);
- void
- function (a, b, c) {
- var g = "18_1";
- J() && (g = "18_2");
- var i = "http://static.tieba.baidu.com";
- "https:" === a.location.protocol && (i = "https://gsp0.baidu.com/5aAHeD3nKhI2p27j8IqW0jdnxx1xbK");
- var k = Math.random,
- i = i + "/tb/pms/img/st.gif",
- l = {
- Bh: "0.1"
- },
- m = {
- Bh: "0.1"
- },
- n = {
- Bh: "0.1"
- },
- s = {
- Bh: "0"
- };
- if (l && l.Bh && k() < l.Bh) {
- var u = c.alog.gG("monkey"),
- w, l = a.screen,
- y = b.referrer;
- u.set("ver", 5);
- u.set("pid", 241);
- l && u.set("px", l.width + "*" + l.height);
- u.set("ref", y);
- c.alog("monkey.on", "create", function () {
- w = c.alog.timestamp;
- u.set("protocolParameter", {
- reports: p
- })
- });
- c.alog("monkey.on", "send", function (a) {
- "pageview" == a.t && (a.cmd = "open");
- a.now && (a.ts = w(a.now).toString(36), a.now = "")
- });
- c.alog("monkey.create", {
- page: g,
- pid: "241",
- p: "18",
- dv: 6,
- postUrl: i,
- reports: {
- refer: 1
- }
- });
- c.alog("monkey.send", "pageview", {
- now: +new Date
- })
- }
- if (m && m.Bh && k() < m.Bh) {
- var D = q;
- a.onerror = function (a, b, d, e) {
- var g = o;
- !b && /^script error/i.test(a) && (D ? g = q : D = o);
- g && c.alog("exception.send", "exception", {
- Mt: a,
- PE: b,
- It: d,
- nm: e
- });
- return q
- };
- c.alog("exception.on", "catch", function (a) {
- c.alog("exception.send", "exception", {
- Mt: a.Mt,
- PE: a.path,
- It: a.It,
- method: a.method,
- wL: "catch"
- })
- });
- c.alog("exception.create", {
- postUrl: i,
- dv: 7,
- page: g,
- pid: "170",
- p: "18"
- })
- }
- n && (n.Bh && k() < n.Bh) && (c.alog("cus.on", "time", function (a) {
- var b = {},
- d = q,
- e;
- if ("[object Object]" === a.toString()) {
- for (var g in a) "page" == g ? b.page = a[g] : (e = parseInt(a[g]), 0 < e && /^z_/.test(g) && (d = o, b[g] = e));
- d && c.alog("cus.send", "time", b)
- }
- }), c.alog("cus.on", "count", function (a) {
- var b = {},
- d = q;
- "string" === typeof a && (a = [a]);
- if (a instanceof Array)
- for (var e = 0; e < a.length; e++) /^z_/.test(a[e]) ? (d = o, b[a[e]] = 1) : /^page:/.test(a[e]) && (b.page = a[e].substring(5));
- d && c.alog("cus.send", "count", b)
- }), c.alog("cus.create", {
- dv: 3,
- postUrl: i,
- page: g,
- p: "18"
- }));
- if (s && s.Bh && k() < s.Bh) {
- var C = ["Moz", "O", "ms", "Webkit"],
- F = ["-webkit-", "-moz-", "-o-", "-ms-"],
- z = function () {
- return typeof b.createElement !== "function" ? b.createElement(arguments[0]) : b.createElement.apply(b, arguments)
- },
- A = z("dpFeatureTest").style,
- E = function (a) {
- return G(a, j, j)
- },
- G = function (a, b, c) {
- var d = a.charAt(0).toUpperCase() + a.slice(1),
- e = (a + " " + C.join(d + " ") + d).split(" ");
- if (typeof b === "string" || typeof b === "undefined") return P(e, b);
- e = (a + " " + C.join(d + " ") + d).split(" ");
- a: {
- var a = e,
- f;
- for (f in a)
- if (a[f] in b) {
- if (c === q) {
- b = a[f];
- break a
- }
- f = b[a[f]];
- b = typeof f === "function" ? fnBind(f, c || b) : f;
- break a
- }
- b = q
- }
- return b
- },
- P = function (a, b) {
- var c, d, e;
- d = a.length;
- for (c = 0; c < d; c++) {
- e = a[c];
- ~("" + e).indexOf("-") && (e = R(e));
- if (A[e] !== j) return b == "pfx" ? e : o
- }
- return q
- },
- R = function (a) {
- return a.replace(/([a-z])-([a-z])/g, function (a, b, c) {
- return b + c.toUpperCase()
- }).replace(/^-/, "")
- },
- ba = function (a, b, c) {
- if (a.indexOf("@") === 0) return atRule(a);
- a.indexOf("-") != -1 && (a = R(a));
- return !b ? G(a, "pfx") : G(a, b, c)
- },
- ca = function () {
- var a = z("canvas");
- return !(!a.getContext || !a.getContext("2d"))
- },
- Ma = function () {
- var a = z("div");
- return "draggable" in a || "ondragstart" in a && "ondrop" in a
- },
- Sa = function () {
- try {
- localStorage.setItem("localStorage", "localStorage");
- localStorage.removeItem("localStorage");
- return o
- } catch (a) {
- return q
- }
- },
- Wa = function () {
- return "content" in b.createElement("template")
- },
- Da = function () {
- return "createShadowRoot" in b.createElement("a")
- },
- vc = function () {
- return "registerElement" in b
- },
- Fe = function () {
- return "import" in b.createElement("link")
- },
- Hf = function () {
- return "getItems" in b
- },
- pd = function () {
- return "EventSource" in window
- },
- Rb = function (a, b) {
- var c = new Image;
- c.onload = function () {
- b(a, c.width > 0 && c.height > 0)
- };
- c.onerror = function () {
- b(a, q)
- };
- c.src = "data:image/webp;base64," + {
- U3: "UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",
- T3: "UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==",
- alpha: "UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",
- qk: "UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"
- }[a]
- },
- wc = function (a, b) {
- return Sb.oi["WebP-" + a] = b
- },
- Ge = function () {
- return "openDatabase" in a
- },
- He = function () {
- return "performance" in a && "timing" in a.performance
- },
- Wc = function () {
- return "performance" in a && "mark" in a.performance
- },
- qd = function () {
- return !(!Array.prototype || !Array.prototype.every || !Array.prototype.filter || !Array.prototype.forEach || !Array.prototype.indexOf || !Array.prototype.lastIndexOf || !Array.prototype.map || !Array.prototype.some || !Array.prototype.reduce || !Array.prototype.reduceRight || !Array.isArray)
- },
- Ie = function () {
- return "Promise" in a && "cast" in a.vq && "resolve" in a.vq && "reject" in a.vq && "all" in a.vq && "race" in a.vq && function () {
- var b;
- new a.vq(function (a) {
- b = a
- });
- return typeof b === "function"
- }()
- },
- rd = function () {
- var b = !!a.T0,
- c = a.XMLHttpRequest && "withCredentials" in new XMLHttpRequest;
- return !!a.W0 && b && c
- },
- If = function () {
- return "geolocation" in navigator
- },
- Je = function () {
- var b = z("canvas"),
- c = "probablySupportsContext" in b ? "probablySupportsContext" : "supportsContext";
- return c in b ? b[c]("webgl") || b[c]("experimental-webgl") : "WebGLRenderingContext" in a
- },
- Ui = function () {
- return !!b.createElementNS && !!b.createElementNS("http://www.w3.org/2000/svg", "svg").k2
- },
- Vi = function () {
- return !!a.c1
- },
- Wi = function () {
- return "WebSocket" in a && a.$0.Q0 === 2
- },
- Xi = function () {
- return !!b.createElement("video").canPlayType
- },
- Yi = function () {
- return !!b.createElement("audio").canPlayType
- },
- Zi = function () {
- return !!(a.history && "pushState" in a.history)
- },
- $i = function () {
- return !(!a.R0 || !a.S0)
- },
- aj = function () {
- return "postMessage" in window
- },
- bj = function () {
- return !!a.webkitNotifications || "Notification" in a && "permission" in a.RP && "requestPermission" in a.RP
- },
- cj = function () {
- for (var b = ["webkit", "moz", "o", "ms"], c = a.requestAnimationFrame, e = 0; e < b.length && !c; ++e) c = a[b[e] + "RequestAnimationFrame"];
- return !!c
- },
- dj = function () {
- return "JSON" in a && "parse" in JSON && "stringify" in JSON
- },
- ej = function () {
- return !(!ba("exitFullscreen", b, q) && !ba("cancelFullScreen", b, q))
- },
- fj = function () {
- return !!ba("Intl", a)
- },
- gj = function () {
- return E("flexBasis")
- },
- hj = function () {
- return !!E("perspective")
- },
- ij = function () {
- return E("shapeOutside")
- },
- jj = function () {
- var a = z("div");
- a.style.cssText = F.join("filter:blur(2px); ");
- return !!a.style.length && (b.documentMode === j || b.documentMode > 9)
- },
- kj = function () {
- return "XMLHttpRequest" in a && "withCredentials" in new XMLHttpRequest
- },
- lj = function () {
- return z("progress").max !== j
- },
- mj = function () {
- return z("meter").max !== j
- },
- nj = function () {
- return "sendBeacon" in navigator
- },
- oj = function () {
- return E("borderRadius")
- },
- pj = function () {
- return E("boxShadow")
- },
- qj = function () {
- var a = z("div").style;
- a.cssText = F.join("opacity:.55;");
- return /^0.55$/.test(a.opacity)
- },
- rj = function () {
- return P(["textShadow"], j)
- },
- sj = function () {
- return E("animationName")
- },
- tj = function () {
- return E("transition")
- },
- uj = function () {
- return navigator.userAgent.indexOf("Android 2.") === -1 && E("transform")
- },
- Sb = {
- oi: {},
- qa: function (a, b, c) {
- this.oi[a] = b.apply(this, [].slice.call(arguments, 2))
- },
- Fd: function (a, b) {
- a.apply(this, [].slice.call(arguments, 1))
- },
- WZ: function () {
- this.qa("bdrs", oj);
- this.qa("bxsd", pj);
- this.qa("opat", qj);
- this.qa("txsd", rj);
- this.qa("anim", sj);
- this.qa("trsi", tj);
- this.qa("trfm", uj);
- this.qa("flex", gj);
- this.qa("3dtr", hj);
- this.qa("shpe", ij);
- this.qa("fltr", jj);
- this.qa("cavs", ca);
- this.qa("dgdp", Ma);
- this.qa("locs", Sa);
- this.qa("wctem", Wa);
- this.qa("wcsdd", Da);
- this.qa("wccse", vc);
- this.qa("wchti", Fe);
- this.Fd(Rb, "lossy", wc);
- this.Fd(Rb, "lossless", wc);
- this.Fd(Rb, "alpha", wc);
- this.Fd(Rb, "animation", wc);
- this.qa("wsql", Ge);
- this.qa("natm", He);
- this.qa("ustm", Wc);
- this.qa("arra", qd);
- this.qa("prms", Ie);
- this.qa("xhr2", rd);
- this.qa("wbgl", Je);
- this.qa("geol", If);
- this.qa("svg", Ui);
- this.qa("work", Vi);
- this.qa("wbsk", Wi);
- this.qa("vido", Xi);
- this.qa("audo", Yi);
- this.qa("hsty", Zi);
- this.qa("file", $i);
- this.qa("psmg", aj);
- this.qa("wknf", bj);
- this.qa("rqaf", cj);
- this.qa("json", dj);
- this.qa("flsc", ej);
- this.qa("i18n", fj);
- this.qa("cors", kj);
- this.qa("prog", lj);
- this.qa("metr", mj);
- this.qa("becn", nj);
- this.qa("mcrd", Hf);
- this.qa("esrc", pd)
- }
- },
- u = c.alog.gG("feature");
- u.M("commit", function () {
- Sb.WZ();
- var a = setInterval(function () {
- if ("WebP-lossy" in Sb.oi && "WebP-lossless" in Sb.oi && "WebP-alpha" in Sb.oi && "WebP-animation" in Sb.oi) {
- for (var b in Sb.oi) Sb.oi[b] = Sb.oi[b] ? "y" : "n";
- u.send("feature", Sb.oi);
- clearInterval(a)
- }
- }, 500)
- });
- c.alog("feature.create", {
- v2: 4,
- o4: i,
- page: g,
- yb: "18"
- });
- c.alog("feature.fire", "commit")
- }
- }(a, b, c)
- }(window, document, B);
- B.Ln = B.alog || t();
- B.alog("cus.fire", "count", "z_loadscriptcount");
- "https:" === location.protocol && B.alog("cus.fire", "count", "z_httpscount");
-
- function Vb(a) {
- var b = window.TILE_VERSION,
- c = "20211014";
- b && b.ditu && (b = b.ditu, b[a] && b[a].updateDate && (c = b[a].updateDate));
- return c
- }
- var Wb = [72.6892532, 0.1939743381, 136.1168614, 54.392257],
- Xb = [72.69566833, 0.1999420909, 136.1232863, 54.39791217],
- Yb = 158,
- Zb = [98.795985, 122.960792, 107.867379, 118.093451, 119.139658, 128.035888, 79.948212, 99.029524, 119.923388, 122.094977, 127.918527, 130.94789, 106.50606, 108.076783, 119.8329, 126.382207, 111.803567, 119.324928, 100.749858, 102.227985, 99.860885, 100.788921, 97.529435, 98.841564, 99.100017, 99.90035, 122.917416, 123.774367, 123.728314, 125.507211, 123.736065, 124.767299, 125.488463, 126.410675, 125.484326, 126.07764, 130.830784, 133.620042, 127.912178, 128.668957, 128.658937, 129.638599, 132.894179, 134.119086, 117.379378, 119.244569, 116.086736, 117.431212, 114.420233, 116.137458, 116.492775, 119.605527, 110.579401, 111.86488, 74.468228, 80.001908, 82.867432, 91.353788, 85.721075, 98.976964, 127.664757, 129.546833, 129.476893, 130.22449, 133.730358, 134.745235, 134.381034, 135.1178, 130.868117, 131.34409, 115.513245, 117.544751, 115.779271, 116.748045, 108.536254, 110.614326, 121.365534, 124.626434, 126.165992, 127.347013, 91.281869, 95.611754, 79.879648, 82.945041, 76.413314, 78.345207, 78.275229, 80.002329, 83.956612, 85.734098, 85.510186, 89.356499, 97.997001, 98.948845, 106.653208, 108.610811, 111.400183, 111.824179, 111.592224, 111.817136, 116.00682, 117.024631, 116.258574, 116.689291, 119.436876, 119.922961, 120.659806, 121.395479, 120.349116, 120.676014, 124.59389, 125.787788, 126.221756, 126.788962, 95.572955, 102.046581, 95.583772, 96.165551, 95.564318, 97.806095, 91.30446, 93.356438, 93.330319, 94.698145, 89.349129, 90.548677, 82.268802, 82.892025, 78.335615, 80.032266, 76.625755, 78.361413, 73.498248, 74.490992, 74.846872, 76.488771, 91.563521, 94.878444, 88.768214, 89.244787, 83.247076, 83.974127, 82.29595, 83.256003, 81.885315, 83.26249, 80.760619, 81.472404, 86.470983, 88.276988, 102.207537, 104.234614, 112.164795, 116.833667, 108.965663, 113.032246, 111.166575, 117.983363],
- $b = [22.551183, 42.284787, 17.227969, 22.738314, 41.300981, 50.749638, 30.368087, 42.332701, 21.705055, 22.696452, 42.426047, 48.944674, 21.432184, 22.651387, 50.657409, 52.92296, 42.212192, 45.206905, 21.137031, 22.57186, 21.444502, 22.586566, 23.741571, 25.301472, 22.006806, 22.56637, 38.985114, 41.346531, 40.295617, 41.338581, 39.740021, 40.351012, 40.974644, 41.331562, 40.726852, 41.067192, 44.877158, 48.018285, 41.344597, 42.451798, 42.016305, 42.443235, 45.880906, 48.214001, 45.140027, 46.792775, 45.141083, 46.400433, 45.156418, 45.748281, 47.485889, 50.071879, 42.223667, 43.469487, 37.019867, 40.668675, 42.226823, 47.321605, 27.72944, 30.469853, 48.919002, 49.650614, 48.840188, 49.443166, 46.949801, 48.382798, 47.660603, 48.472692, 42.859946, 44.913298, 47.605896, 48.445914, 48.41698, 48.909667, 42.23507, 42.914193, 52.8281, 53.585952, 50.709311, 51.662219, 42.29968, 44.399225, 42.302746, 45.391958, 34.680866, 37.03377, 30.743515, 37.07228, 28.245649, 30.408935, 47.277693, 48.504255, 25.241528, 27.780726, 42.223363, 42.548418, 43.435888, 44.696952, 44.693193, 45.00187, 48.886267, 49.326755, 49.288642, 49.632304, 50.717486, 51.314369, 52.914204, 53.33964, 52.910094, 53.115926, 52.908382, 53.258095, 51.64533, 52.408305, 42.236825, 42.699126, 43.068466, 43.898632, 42.670403, 43.082219, 44.379045, 45.187742, 44.382336, 44.981379, 47.310362, 48.06019, 45.359099, 46.814439, 40.569751, 42.047741, 40.587956, 41.41263, 38.519192, 40.185033, 35.790476, 37.029005, 26.825605, 27.763896, 27.199658, 27.751649, 29.150192, 30.381073, 29.573886, 30.065162, 30.047775, 30.384089, 30.001277, 30.388525, 48.494118, 49.173841, 22.398528, 22.601198, 7.441114, 11.505968, 3.767491, 9.005209, 12.642067, 17.410886],
- ac = 95,
- bc = [110.3961374, 105.0743788, 96.8991824, 95.61810411, 93.82412598, 91.3892353, 91.38931858, 89.08325955, 87.22469808, 86.26278402, 85.17353, 85.23741211, 82.86627441, 81.90481038, 79.59687147, 80.39829237, 79.93319363, 77.80279948, 75.2557704, 73.49357829, 73.1892532, 73.87758816, 74.4064738, 74.10215224, 75.46409695, 76.77739692, 78.28299615, 78.15499485, 78.37920654, 78.89145345, 79.69282199, 81.19938178, 81.80830295, 83.89093424, 85.94149523, 87.86447266, 89.03414958, 90.05918132, 91.10026937, 92.15733832, 93.74361735, 95.82597331, 97.95655545, 97.12363037, 98.2129739, 99.2068571, 101.6587874, 102.5239084, 102.2356106, 105.0249238, 106.0992342, 107.8617093, 111.6439372, 109.591869, 112.284586, 117.7961157, 118.9495128, 114.2076584, 118.693565, 123.1475225, 122.730705, 120.9361393, 123.4207441, 122.3787782, 122.1385425, 121.5904281, 121.1773763, 120.6805404, 120.2483355, 122.795807, 122.8759077, 121.3060262, 122.1392177, 123.7418799, 126.4177599, 128.5647409, 129.7194884, 131.2259136, 131.9950494, 133.6289931, 135.6168614, 131.3875545, 130.8743365, 128.6303223, 126.0997773, 124.4015375, 122.22161, 119.6586483, 119.7866827, 118.5685878, 116.5177976, 114.819101, 119.0812964, 116.453265, 111.7431171],
- cc = [43.2190351, 42.38053385, 43.17417589, 44.42226915, 45.09863634, 45.56708116, 47.33599718, 48.68832709, 49.62448486, 48.9482175, 48.4800472, 47.33564399, 47.43948676, 46.03452067, 45.20221788, 43.34563043, 42.32965739, 41.39690972, 40.82972331, 39.95567654, 39.25892877, 38.36098768, 38.05441569, 37.16878445, 36.38899414, 35.36126817, 34.30953451, 32.58503879, 31.56975694, 30.77800266, 30.43559814, 29.7744892, 30.0931977, 28.71103299, 27.70739665, 27.5775472, 27.01096137, 27.77857883, 27.50707954, 26.50328315, 26.70387804, 27.95548557, 27.29428901, 23.64685493, 23.62310601, 21.67493381, 20.77751465, 21.32070991, 22.1824113, 22.31232964, 22.51316054, 16.80037679, 13.19749864, 0.6939743381, 1.541660428, 10.50208252, 15.58926975, 17.89090007, 19.94928467, 22.18490153, 25.37285292, 25.61456434, 30.62532552, 31.08099284, 31.89238173, 32.50092692, 32.80325765, 34.25546956, 35.15486138, 36.90170139, 37.8348272, 37.941604, 38.6480797, 38.96797201, 40.98146918, 41.25573296, 42.07218153, 42.49132813, 44.65259766, 44.69330702, 48.62286865, 48.09383952, 49.19628499, 50.03402317, 53.27678901, 53.62976345, 53.89420546, 52.98933322, 52.01872884, 50.23210259, 50.18807048, 47.49769857, 47.34362712, 46.50502143, 45.24770128],
- dc = [98.7895, 122.954182, 107.860913, 118.087007, 119.133165, 128.029533, 79.941749, 99.023087, 119.916883, 122.08841, 127.912143, 130.941471, 106.499502, 108.070244, 119.826245, 126.375818, 111.797006, 119.318387, 100.743285, 102.221517, 99.854448, 100.782445, 97.522928, 98.835028, 99.093518, 99.893783, 122.910927, 123.767769, 123.721954, 125.50077, 123.729657, 124.760724, 125.481902, 126.404079, 125.477737, 126.071019, 130.824331, 133.613395, 127.905767, 128.662524, 128.652527, 129.6321, 132.887552, 134.11249, 117.37297, 119.237999, 116.080154, 117.424589, 114.413586, 116.130948, 116.486264, 119.598927, 110.5728, 111.858437, 74.465162, 79.995337, 82.860821, 91.347291, 85.716024, 98.970481, 127.658331, 129.540202, 129.470528, 130.21808, 133.723748, 134.738785, 134.374555, 135.111443, 130.861475, 131.337438, 115.506627, 117.538123, 115.772783, 116.741632, 108.529656, 110.60782, 121.358945, 124.619773, 126.159424, 127.340582, 91.275275, 95.605228, 79.874427, 82.938601, 76.413314, 78.338763, 78.275229, 79.995765, 83.956612, 85.727511, 85.503554, 89.349858, 97.990418, 98.942257, 106.646704, 108.604437, 111.393667, 111.817723, 111.585811, 111.810645, 116.000232, 117.018216, 116.252108, 116.682705, 119.430384, 119.916417, 120.653168, 121.38883, 120.342727, 120.669383, 124.587426, 125.781376, 126.215282, 126.782323, 95.566367, 102.040026, 95.577158, 96.159009, 95.557772, 97.799728, 91.298032, 93.350057, 93.323794, 94.691771, 89.342471, 90.542019, 82.264229, 82.885485, 78.335615, 80.025844, 76.623947, 78.355027, 73.495149, 74.484473, 74.846872, 76.482208, 91.560117, 94.871859, 88.761692, 89.23822, 83.240549, 83.967602, 82.292367, 83.2495, 81.878825, 83.256003, 80.75421, 81.465955, 86.465421, 88.270356, 102.201019, 104.228033, 112.158282, 116.827153, 108.965663, 113.025767, 111.166575, 117.97687],
- ec = [22.545421, 42.279053, 17.226272, 22.731982, 41.294917, 50.743316, 30.361986, 42.326603, 21.699185, 22.690751, 42.419757, 48.938435, 21.426505, 22.64567, 50.651745, 52.916705, 42.20641, 45.201064, 21.131326, 22.565685, 21.438288, 22.580379, 23.735785, 25.295582, 22.001087, 22.560315, 38.979333, 41.340757, 40.28938, 41.332289, 39.734164, 40.344718, 40.968803, 41.325813, 40.721073, 41.061503, 44.871533, 48.012179, 41.338366, 42.445601, 42.010343, 42.436934, 45.875217, 48.208327, 45.134237, 46.786509, 45.135376, 46.394665, 45.150734, 45.742257, 47.480099, 50.065931, 42.217982, 43.46329, 37.014057, 40.662848, 42.221079, 47.315558, 27.723432, 30.46385, 48.913298, 49.644555, 48.83396, 49.436824, 46.944059, 48.376613, 47.654503, 48.466331, 42.854333, 44.907682, 47.600253, 48.440245, 48.410926, 48.903468, 42.229292, 42.908294, 52.822466, 53.58012, 50.703491, 51.656037, 42.29378, 44.393379, 42.296912, 45.385809, 34.679282, 37.027699, 30.740622, 37.066377, 28.241967, 30.403134, 47.271949, 48.49848, 25.235818, 27.774976, 42.217425, 42.542102, 43.429763, 44.691016, 44.687044, 44.995758, 48.880431, 49.320551, 49.282865, 49.626267, 50.711607, 51.308382, 52.908547, 53.333963, 52.904419, 53.109706, 52.902338, 53.251938, 51.639701, 52.402205, 42.231045, 42.693581, 43.062756, 43.892771, 42.664519, 43.075927, 44.372942, 45.1815, 44.376327, 44.975476, 47.304623, 48.054453, 45.353174, 46.808493, 40.563653, 42.041556, 40.582164, 41.4064, 38.51618, 40.179105, 35.789745, 37.023144, 26.825402, 27.757641, 27.193806, 27.745766, 29.144229, 30.375186, 29.567889, 30.059102, 30.041938, 30.378006, 29.995047, 30.382338, 48.48834, 49.169021, 22.392816, 22.595333, 7.439914, 11.500161, 3.766676, 9.000793, 12.640512, 17.406563],
- fc = 3E3,
- gc = 2.0E-5,
- hc = 3.0E-6,
- ic = 0.0174532925194,
- jc = 0.0065,
- kc = 0.0060,
- lc = 4E4,
- mc = 0,
- nc = 3,
- oc = 1.0E-10,
- pc = 6370996.81,
- qc = 1E8;
-
- function rc(a, b, c) {
- for (var d = Yb, e = 0; e < d; e += 2)
- if (a.lng >= b[e] && a.lng <= b[e + 1] && a.lat >= c[e] && a.lat <= c[e + 1]) return o;
- return q
- }
-
- function sc(a) {
- var b = a.lng,
- c = a.lat,
- a = Math.sqrt(b * b + c * c) + Math.sin(c * fc * ic) * gc,
- b = Math.atan2(c, b) + Math.cos(b * fc * ic) * hc;
- return {
- lng: a * Math.cos(b) + jc,
- lat: a * Math.sin(b) + kc
- }
- }
-
- function tc(a) {
- var b = uc,
- c = {},
- d = a.lng,
- e = a.lat,
- f = 1,
- g = a.lng,
- i = a.lat,
- k = d - f,
- l = 0,
- m = e + f,
- n = 0,
- s = d - f,
- u = 0,
- w = e - f,
- y = 0,
- D = d + f,
- C = 0,
- F = e - f,
- z = 0,
- A = d + f,
- E = 0,
- G = e + f,
- P = 0,
- m = k = 0,
- m = xc(b, d, e),
- k = m.lng,
- m = m.lat;
- if (1.0E-6 >= yc(k, m, g, i)) return c.lng = d, c.lat = e, c;
- for (; ;) {
- k = d - f;
- m = e + f;
- s = d - f;
- w = e - f;
- D = d + f;
- F = e - f;
- A = d + f;
- G = e + f;
- d = xc(b, k, m);
- l = d.lng;
- n = d.lat;
- d = xc(b, s, w);
- u = d.lng;
- y = d.lat;
- d = xc(b, D, F);
- C = d.lng;
- z = d.lat;
- d = xc(b, A, G);
- E = d.lng;
- P = d.lat;
- d = yc(l, n, g, i);
- l = yc(u, y, g, i);
- u = yc(C, z, g, i);
- E = yc(E, P, g, i);
- if (1.0E-6 > d) return c.lng = k, c.lat = m, c;
- if (1.0E-6 > l) return c.lng = s, c.lat = w, c;
- if (1.0E-6 > u) return c.lng = D, c.lat = F, c;
- if (1.0E-6 > E) return c.lng = A, c.lat = G, c;
- C = 1 / d;
- l = 1 / l;
- u = 1 / u;
- E = 1 / E;
- d = (k * C + s * l + D * u + A * E) / (C + l + u + E);
- e = (m * C + w * l + F * u + G * E) / (C + l + u + E);
- m = xc(b, d, e);
- k = m.lng;
- m = m.lat;
- if (1.0E-6 >= yc(k, m, g, i)) return c.lng = d, c.lat = e, c;
- f *= 0.6;
- if (1.0E-6 > f) {
- a: {
- c = (a.lng + 0.03 - (a.lng - 0.03)) / 1.0E-4 + 0.5; f = (a.lat + 0.03 - (a.lat - 0.03)) / 1.0E-4 + 0.5; g = a.lng * qc; i = a.lat * qc; w = 1.0E-4 * qc; k = g - w; m = g + w; s = i - w; D = i + w; C = l = u = E = j; A = l = w = F = u = E = 0; b(a); C = j;
- for (G = 0; G <= c; G++) {
- for (d = 0; d <= f; d++)
- if (C = b(j), E = j.lng * qc, u = j.lat * qc, l = C.lng * qc, C = C.lat * qc, !(l < k || C < s || l > m || C > D)) {
- E -= l;
- u -= C;
- l = Math.sqrt((g - l) * (g - l) + (i - C) * (i - C));
- if (1 > l) {
- c = {};
- c.lng = j.lng;
- c.lat = j.lat;
- break a
- }
- F += 1 * E / l;
- w += 1 * u / l;
- A += 1 / l
- }
- F /= A * qc;
- w /= A * qc
- }
- b = F * qc / qc; f = w * qc / qc; c = {}; c.lng = a.lng + b; c.lat = a.lat + f
- }
- return c
- }
- }
- }
-
- function xc(a, b, c) {
- a = a({
- lng: b,
- lat: c
- });
- b = {};
- b.lng = a.lng;
- b.lat = a.lat;
- return b
- }
-
- function zc(a, b, c, d) {
- var e = arguments.length;
- this.wg = {};
- this.Eg = {};
- 0 !== e && 4 === e && this.normalize(a, b, c, d)
- }
- zc.prototype.contains = function (a) {
- return a.lng > this.wg.lng && a.lng < this.Eg.lng && a.lat > this.wg.lat && a.lat < this.Eg.lat ? nc : Math.abs(a.lng - this.wg.lng) < oc || Math.abs(a.lng - this.Eg.lng) < oc || Math.abs(a.lat - this.wg.lat) < oc || Math.abs(a.y - this.Eg.lat) > oc ? 2 : mc
- };
- zc.prototype.normalize = function (a, b, c, d) {
- a > c ? (this.wg.lng = c, this.Eg.lng = a) : (this.wg.lng = a, this.Eg.lng = c);
- b > d ? (this.wg.lat = d, this.Eg.lat = b) : (this.wg.lat = b, this.Eg.lat = d)
- };
-
- function Ac(a, b, c, d) {
- this.pu = {
- lng: a,
- lat: b
- };
- this.vx = {
- lng: c,
- lat: d
- };
- this.oy = new zc(a, b, c, d)
- }
-
- function Bc(a, b) {
- var c = a.lat * ic,
- d = b.lat * ic,
- e = c - d,
- f = a.lng * ic - b.lng * ic;
- return 2 * Math.asin(Math.sqrt(Math.sin(e / 2) * Math.sin(e / 2) + Math.cos(c) * Math.cos(d) * Math.sin(f / 2) * Math.sin(f / 2))) * pc
- }
-
- function yc(a, b, c, d) {
- return Math.sqrt((a - c) * (a - c) + (b - d) * (b - d))
- }
-
- function Cc(a, b, c) {
- return (b.lng - a.lng) * (c.lat - a.lat) - (c.lng - a.lng) * (b.lat - a.lat)
- }
-
- function uc(a) {
- var b = {};
- if (a.lng < Wb[0] - 0.4 || a.lat < Wb[1] - 0.4 || a.lng > Wb[2] + 0.4 || a.lat > Wb[3] + 0.4) return b.lng = a.lng, b.lat = a.lat, b;
- if (rc(a, dc, ec)) return b = sc(a);
- for (var b = 0, c = lc, d = 0, e = new zc, f = 0, d = 0; d < ac; ++d) cc[d] <= a.lat ? cc[(d + 1) % ac] > a.lat && 0 < Cc({
- lng: bc[d],
- lat: cc[d]
- }, {
- lng: bc[(d + 1) % ac],
- lat: cc[(d + 1) % ac]
- }, a) && ++f : cc[(d + 1) % ac] <= a.lat && 0 > Cc({
- lng: bc[d],
- lat: cc[d]
- }, {
- lng: bc[(d + 1) % ac],
- lat: cc[(d + 1) % ac]
- }, a) && --f;
- if ((0 === f ? mc : nc) === mc) {
- for (f = 0; f < ac; ++f)
- if (d = new Ac(bc[f], cc[f], bc[(f + 1) % ac], cc[(f + 1) % ac]), e.wg.lng = d.oy.wg.lng - 0.5, e.wg.lat = d.oy.wg.lat - 0.5, e.Eg.lng = d.oy.Eg.lng + 0.5, e.Eg.lat = d.oy.Eg.lat + 0.5, e.contains(a) !== mc) {
- var g;
- var i = d.pu.lng,
- k = d.pu.lat,
- l = d.vx.lng,
- m = d.vx.lat;
- g = m - k;
- var n = i - l;
- !(Math.abs(g - 0) > oc) && !(Math.abs(n - 0) > oc) ? g = d.pu : (i = l * k - i * m, k = n * a.lng - g * a.lat, l = g * g - n * n, g = {
- lng: (n * k - g * i) / l,
- lat: -(g * k + n * i) / l
- });
- n = 180;
- i = 90;
- k = -180;
- l = -90;
- l = d.pu;
- m = d.vx;
- n = l.lng < m.lng ? l.lng : m.lng;
- i = l.lat < m.lat ? l.lat : m.lat;
- k = l.lng < m.lng ? l.lng : m.lng;
- l = l.lat < m.lat ? l.lat : m.lat;
- g.lng <= k && g.lng >= n && g.lng <= l && g.lat >= i ? (d = a.lat * ic, n = a.lng * ic, i = g.lat * ic, g = g.lng * ic, k = Math.cos(d) * Math.cos(i), d = k * Math.cos(n) * Math.cos(g) + k * Math.sin(n) * Math.sin(g) + Math.sin(d) * Math.sin(i), -1 > d ? d = -1 : 1 < d && (d = 1), d = Math.acos(d) * pc) : (g = Bc(a, d.pu), d = Bc(a, d.vx), d = g < d ? g : d);
- d < c && (c = d)
- }
- c < lc && (b = (lc - c) / lc)
- } else b = 1;
- c = sc(a);
- return b = {
- lng: a.lng + (c.lng - a.lng) * b,
- lat: a.lat + (c.lat - a.lat) * b
- }
- }
-
- function Dc(a) {
- var b = {};
- if (a.lng < Xb[0] - 0.4 || a.lat < Xb[1] - 0.4 || a.lng > Xb[2] + 0.4 || a.lat > Xb[3] + 0.4) return b.lng = a.lng, b.lat = a.lat, b;
- if (rc(a, Zb, $b)) {
- var b = a.lng - jc,
- c = a.lat - kc,
- a = Math.sqrt(b * b + c * c) - Math.sin(c * fc * ic) * gc,
- b = Math.atan2(c, b) - Math.cos(b * fc * ic) * hc;
- return b = {
- lng: a * Math.cos(b),
- lat: a * Math.sin(b)
- }
- }
- c = uc(a);
- return a.lng === c.lng && a.lat === c.lng ? (b.lng = a.lng, b.lat = a.lat, b) : tc(a)
- }
-
- function $a(a, b) {
- if (b && b.B && b.B.ax && 3 === b.B.ax && a instanceof O) {
- var c = uc(a);
- return new K(c.lng, c.lat)
- }
- return a
- }
-
- function gb(a, b) {
- if (b && b.B && 3 === b.B.ax && a instanceof K) {
- var c = Dc(a);
- return new O(c.lng, c.lat)
- }
- return b && b.B && 5 === b.B.ax && a instanceof K ? new O(a.lng, a.lat) : a
- }
-
- function Ec(a) {
- a = a.split("//");
- if (2 <= a.length) {
- var b = a[1].split("?");
- if (1 <= b.length) {
- var c = b[0].split("/"),
- d;
- d = b.length - 1;
- var e = 1,
- f = "/",
- g = c.length;
- e || (e = 0);
- d || (d = g - 1);
- f || (f = "");
- if (e > g - 1 || d > g - 1) d = "";
- else {
- for (g = ""; e <= d; e++) g = e === d ? g + c[e] : g + (c[e] + f);
- d = g
- }
- return {
- host: b[0],
- origin: a[0] + "//" + c[0],
- path: "/" + d
- }
- }
- }
- return p
- };
-
- function ra(a, b) {
- if (/^http/.test(a)) return; // yangjianfei 添加
- if (b) {
- var c = (1E5 * Math.random()).toFixed(0);
- B._rd["_cbk" + c] = function (a) {
- b && b(a);
- delete B._rd["_cbk" + c]
- };
- a += "&callback=BMap._rd._cbk" + c
- }
- var a = Fc(a),
- d = H("script", {
- type: "text/javascript"
- });
- d.charset = "utf-8";
- d.src = a;
- d.addEventListener ? d.addEventListener("load", function (a) {
- a = a.target;
- a.parentNode.removeChild(a)
- }, q) : d.attachEvent && d.attachEvent("onreadystatechange", function () {
- var a = window.event.srcElement;
- a && ("loaded" === a.readyState || "complete" === a.readyState) && a.parentNode.removeChild(a)
- });
- setTimeout(function () {
- document.getElementsByTagName("head")[0].appendChild(d);
- d = p
- }, 1)
- }
-
- function Fc(a) {
- var b = decodeURIComponent(a.substring(a.indexOf("?") + 1)),
- c = (new Date).getTime(),
- d = window.___abvk ? window.___abvk : Gc("SECKEY_ABVK"),
- e = Gc("BMAP_SECKEY"),
- f = encodeURIComponent(d + "," + e); - 1 === a.indexOf("v=") && (a += "&v=2.1", b += "&v=2.1");
- return a = a + ("&seckey=" + f + "&timeStamp=" + c) + Hc()(b + ("&seckey=" + d + "," + e + "&timeStamp=" + c))
- }
-
- function Gc(a) {
- if (navigator.cookieEnabled) return (a = document.cookie.match(RegExp("(^| )" + a + "=([^;]*)(;|$)"))) ? unescape(a[2]) : -1;
- if (localStorage) return localStorage.getItem(a) ? localStorage.getItem(a) : -1;
- if (sessionStorage) return sessionStorage.getItem(a) ? localStorage.getItem(a) : -1
- };
- var Ic = {
- map: "dfvr0d",
- common: "jlxvtp",
- style: "1eb2kn",
- tile: "nv5she",
- vectordrawlib: "o22h0e",
- newvectordrawlib: "320ew3",
- groundoverlay: "k2rgsw",
- pointcollection: "aqf4rs",
- marker: "q3rtuf",
- symbol: "01xzbl",
- canvablepath: "h3fu23",
- vmlcontext: "boqb3g",
- markeranimation: "t5kflf",
- poly: "tnwlqr",
- draw: "svjlto",
- drawbysvg: "2yrgcy",
- drawbyvml: "ed2q2n",
- drawbycanvas: "fs1mzv",
- infowindow: "etoqbp",
- oppc: "eud3yb",
- opmb: "zckrwd",
- menu: "notpz4",
- control: "b1gvex",
- navictrl: "gmzd3q",
- geoctrl: "kmkjb0",
- copyrightctrl: "ywzoxv",
- citylistcontrol: "4x24ix",
- scommon: "fblso0",
- local: "x0h000",
- route: "xcxcfx",
- othersearch: "35z1cg",
- mapclick: "enxpsn",
- buslinesearch: "s0skh4",
- hotspot: "b3mqou",
- autocomplete: "lq3zav",
- coordtrans: "xfmqk2",
- coordtransutils: "1zgfxi",
- convertor: "3utjra",
- clayer: "jkukaa",
- pservice: "vruwmi",
- pcommon: "2sgsaq",
- panorama: "qq5xnh",
- panoramaflash: "zasr1a",
- vector: "gifqa5"
- };
- x.dz = function () {
- function a(a) {
- return d && !!c[b + a + "_" + Ic[a]]
- }
- var b = "BMap_",
- c = window.localStorage,
- d = "localStorage" in window && c !== p && c !== j;
- return {
- OY: d,
- set: function (a, f) {
- if (d) {
- for (var g = b + a + "_", i = c.length, k; i--;) k = c.key(i), -1 < k.indexOf(g) && c.removeItem(k);
- try {
- c.setItem(b + a + "_" + Ic[a], f)
- } catch (l) {
- c.clear()
- }
- }
- },
- get: function (e) {
- return d && a(e) ? c.getItem(b + e + "_" + Ic[e]) : q
- },
- yK: a
- }
- }();
-
- function L() { }
- x.object.extend(L, {
- Lj: {
- IG: -1,
- eQ: 0,
- mq: 1
- },
- KL: function () {
- var a = "canvablepath",
- b = B.dV ? "newvectordrawlib" : "vectordrawlib";
- if (!J() || !Pb()) Ob() || (Nb() ? a = "vmlcontext" : Pb());
- return {
- tile: [b, "style"],
- control: [],
- marker: ["symbol"],
- symbol: ["canvablepath", "common"],
- canvablepath: "canvablepath" === a ? [] : [a],
- vmlcontext: [],
- style: [],
- poly: ["marker", "drawbycanvas", "drawbysvg", "drawbyvml"],
- drawbysvg: ["draw"],
- drawbyvml: ["draw"],
- drawbycanvas: ["draw"],
- infowindow: ["common", "marker"],
- menu: [],
- oppc: [],
- opmb: [],
- scommon: [],
- local: ["scommon"],
- route: ["scommon"],
- othersearch: ["scommon"],
- autocomplete: ["scommon"],
- citylistcontrol: ["autocomplete"],
- mapclick: ["scommon"],
- buslinesearch: ["route"],
- hotspot: [],
- coordtransutils: ["coordtrans"],
- convertor: [],
- clayer: ["tile"],
- pservice: [],
- pcommon: ["style", "pservice"],
- panorama: ["pcommon"],
- panoramaflash: ["pcommon"]
- }
- },
- r4: {},
- BG: {
- vQ: B.la + "getmodules?v=2.0&t=20140707",
- VU: 5E3
- },
- UC: q,
- Sd: {
- Bl: {},
- Nn: [],
- gw: []
- },
- load: function (a, b, c) {
- var d = this.jb(a);
- if (d.Dd == this.Lj.mq) c && b();
- else {
- if (d.Dd == this.Lj.IG) {
- this.EK(a);
- this.TN(a);
- var e = this;
- e.UC == q && (e.UC = o, setTimeout(function () {
- for (var a = [], b = 0, c = e.Sd.Nn.length; b < c; b++) {
- var d = e.Sd.Nn[b],
- l = "";
- ja.dz.yK(d) ? l = ja.dz.get(d) : (l = "", a.push(d + "_" + Ic[d]));
- e.Sd.gw.push({
- kN: d,
- cF: l
- })
- }
- e.UC = q;
- e.Sd.Nn.length = 0;
- 0 == a.length ? e.pL() : ra(e.BG.vQ + "&mod=" + a.join(","))
- }, 1));
- d.Dd = this.Lj.eQ
- }
- d.bv.push(b)
- }
- },
- EK: function (a) {
- if (a && this.KL()[a])
- for (var a = this.KL()[a], b = 0; b < a.length; b++) this.EK(a[b]), this.Sd.Bl[a[b]] || this.TN(a[b])
- },
- TN: function (a) {
- for (var b = 0; b < this.Sd.Nn.length; b++)
- if (this.Sd.Nn[b] == a) return;
- this.Sd.Nn.push(a)
- },
- VZ: function (a, b) {
- var c = this.jb(a);
- try {
- eval(b)
- } catch (d) {
- return
- }
- c.Dd = this.Lj.mq;
- for (var e = 0, f = c.bv.length; e < f; e++) c.bv[e]();
- c.bv.length = 0
- },
- yK: function (a, b) {
- var c = this;
- c.timeout = setTimeout(function () {
- c.Sd.Bl[a].Dd != c.Lj.mq ? (c.remove(a), c.load(a, b)) : clearTimeout(c.timeout)
- }, c.BG.VU)
- },
- jb: function (a) {
- this.Sd.Bl[a] || (this.Sd.Bl[a] = {}, this.Sd.Bl[a].Dd = this.Lj.IG, this.Sd.Bl[a].bv = []);
- return this.Sd.Bl[a]
- },
- remove: function (a) {
- delete this.jb(a)
- },
- PV: function (a, b) {
- for (var c = this.Sd.gw, d = o, e = 0, f = c.length; e < f; e++) "" == c[e].cF && (c[e].kN == a ? c[e].cF = b : d = q);
- d && this.pL()
- },
- pL: function () {
- for (var a = this.Sd.gw, b = 0, c = a.length; b < c; b++) this.VZ(a[b].kN, a[b].cF);
- this.Sd.gw.length = 0
- }
- });
-
- function S(a, b) {
- this.x = a || 0;
- this.y = b || 0;
- this.x = this.x;
- this.y = this.y
- }
- S.prototype.ab = function (a) {
- return a && a.x == this.x && a.y == this.y
- };
-
- function M(a, b) {
- this.width = a || 0;
- this.height = b || 0
- }
- M.prototype.ab = function (a) {
- return a && this.width == a.width && this.height == a.height
- };
- (function (a) {
- function b(a, b) {
- var c = (a & 65535) + (b & 65535);
- return (a >> 16) + (b >> 16) + (c >> 16) << 16 | c & 65535
- }
-
- function c(a, c, d, e, f, g) {
- return b(b(b(c, a), b(e, g)) << f | b(b(c, a), b(e, g)) >>> 32 - f, d)
- }
-
- function d(a, b, d, e, f, g, i) {
- return c(b & d | ~b & e, a, b, f, g, i)
- }
-
- function e(a, b, d, e, f, g, i) {
- return c(b & e | d & ~e, a, b, f, g, i)
- }
-
- function f(a, b, d, e, f, g, i) {
- return c(d ^ (b | ~e), a, b, f, g, i)
- }
-
- function g(a, g) {
- a[g >> 5] |= 128 << g % 32;
- a[(g + 64 >>> 9 << 4) + 14] = g;
- var i, k, l, m, n, z = 1732584193,
- A = -271733879,
- E = -1732584194,
- G = 271733878;
- for (i = 0; i < a.length; i += 16) k = z, l = A, m = E, n = G, z = d(z, A, E, G, a[i], 7, -680876936), G = d(G, z, A, E, a[i + 1], 12, -389564586), E = d(E, G, z, A, a[i + 2], 17, 606105819), A = d(A, E, G, z, a[i + 3], 22, -1044525330), z = d(z, A, E, G, a[i + 4], 7, -176418897), G = d(G, z, A, E, a[i + 5], 12, 1200080426), E = d(E, G, z, A, a[i + 6], 17, -1473231341), A = d(A, E, G, z, a[i + 7], 22, -45705983), z = d(z, A, E, G, a[i + 8], 7, 1770035416), G = d(G, z, A, E, a[i + 9], 12, -1958414417), E = d(E, G, z, A, a[i + 10], 17, -42063), A = d(A, E, G, z, a[i + 11], 22, -1990404162), z = d(z, A, E, G, a[i + 12], 7, 1804603682), G = d(G, z, A, E, a[i + 13], 12, -40341101), E = d(E, G, z, A, a[i + 14], 17, -1502002290), A = d(A, E, G, z, a[i + 15], 22, 1236535329), z = e(z, A, E, G, a[i + 1], 5, -165796510), G = e(G, z, A, E, a[i + 6], 9, -1069501632), E = e(E, G, z, A, a[i + 11], 14, 643717713), A = e(A, E, G, z, a[i], 20, -373897302), z = e(z, A, E, G, a[i + 5], 5, -701558691), G = e(G, z, A, E, a[i + 10], 9, 38016083), E = e(E, G, z, A, a[i + 15], 14, -660478335), A = e(A, E, G, z, a[i + 4], 20, -405537848), z = e(z, A, E, G, a[i + 9], 5, 568446438), G = e(G, z, A, E, a[i + 14], 9, -1019803690), E = e(E, G, z, A, a[i + 3], 14, -187363961), A = e(A, E, G, z, a[i + 8], 20, 1163531501), z = e(z, A, E, G, a[i + 13], 5, -1444681467), G = e(G, z, A, E, a[i + 2], 9, -51403784), E = e(E, G, z, A, a[i + 7], 14, 1735328473), A = e(A, E, G, z, a[i + 12], 20, -1926607734), z = c(A ^ E ^ G, z, A, a[i + 5], 4, -378558), G = c(z ^ A ^ E, G, z, a[i + 8], 11, -2022574463), E = c(G ^ z ^ A, E, G, a[i + 11], 16, 1839030562), A = c(E ^ G ^ z, A, E, a[i + 14], 23, -35309556), z = c(A ^ E ^ G, z, A, a[i + 1], 4, -1530992060), G = c(z ^ A ^ E, G, z, a[i + 4], 11, 1272893353), E = c(G ^ z ^ A, E, G, a[i + 7], 16, -155497632), A = c(E ^ G ^ z, A, E, a[i + 10], 23, -1094730640), z = c(A ^ E ^ G, z, A, a[i + 13], 4, 681279174), G = c(z ^ A ^ E, G, z, a[i], 11, -358537222), E = c(G ^ z ^ A, E, G, a[i + 3], 16, -722521979), A = c(E ^ G ^ z, A, E, a[i + 6], 23, 76029189), z = c(A ^ E ^ G, z, A, a[i + 9], 4, -640364487), G = c(z ^ A ^ E, G, z, a[i + 12], 11, -421815835), E = c(G ^ z ^ A, E, G, a[i + 15], 16, 530742520), A = c(E ^ G ^ z, A, E, a[i + 2], 23, -995338651), z = f(z, A, E, G, a[i], 6, -198630844), G = f(G, z, A, E, a[i + 7], 10, 1126891415), E = f(E, G, z, A, a[i + 14], 15, -1416354905), A = f(A, E, G, z, a[i + 5], 21, -57434055), z = f(z, A, E, G, a[i + 12], 6, 1700485571), G = f(G, z, A, E, a[i + 3], 10, -1894986606), E = f(E, G, z, A, a[i + 10], 15, -1051523), A = f(A, E, G, z, a[i + 1], 21, -2054922799), z = f(z, A, E, G, a[i + 8], 6, 1873313359), G = f(G, z, A, E, a[i + 15], 10, -30611744), E = f(E, G, z, A, a[i + 6], 15, -1560198380), A = f(A, E, G, z, a[i + 13], 21, 1309151649), z = f(z, A, E, G, a[i + 4], 6, -145523070), G = f(G, z, A, E, a[i + 11], 10, -1120210379), E = f(E, G, z, A, a[i + 2], 15, 718787259), A = f(A, E, G, z, a[i + 9], 21, -343485551), z = b(z, k), A = b(A, l), E = b(E, m), G = b(G, n);
- return [z, A, E, G]
- }
-
- function i(a) {
- var b, c = "",
- d = 32 * a.length;
- for (b = 0; b < d; b += 8) c += String.fromCharCode(a[b >> 5] >>> b % 32 & 255);
- return c
- }
-
- function k(a) {
- var b, c = [];
- c[(a.length >> 2) - 1] = j;
- for (b = 0; b < c.length; b += 1) c[b] = 0;
- var d = 8 * a.length;
- for (b = 0; b < d; b += 8) c[b >> 5] |= (a.charCodeAt(b / 8) & 255) << b % 32;
- return c
- }
-
- function l(a) {
- var b = "",
- c, d;
- for (d = 0; d < a.length; d += 1) c = a.charCodeAt(d), b += "0123456789abcdef".charAt(c >>> 4 & 15) + "0123456789abcdef".charAt(c & 15);
- return b
- }
-
- function m(a, b) {
- var c = unescape(encodeURIComponent(a)),
- d = unescape(encodeURIComponent(b)),
- e = k(c),
- f = [],
- l = [];
- f[15] = l[15] = j;
- 16 < e.length && (e = g(e, 8 * c.length));
- for (c = 0; 16 > c; c += 1) f[c] = e[c] ^ 909522486, l[c] = e[c] ^ 1549556828;
- d = g(f.concat(k(d)), 512 + 8 * d.length);
- return i(g(l.concat(d), 640))
- }
-
- function n(a, b, c) {
- return !b ? !c ? l(i(g(k(unescape(encodeURIComponent(a))), 8 * unescape(encodeURIComponent(a)).length))) : i(g(k(unescape(encodeURIComponent(a))), 8 * unescape(encodeURIComponent(a)).length)) : !c ? l(m(b, a)) : m(b, a)
- }
- "function" === typeof define && define.S1 ? define(function () {
- return n
- }) : "object" === typeof module && module.ZW ? module.ZW = n : a.md5 = n
- })(this);
- for (var Jc = function (a, b) {
- function c(a) {
- return f.emeie(e, a, function (a) {
- return d(a)
- })
- }
-
- function d(a) {
- return f.edaxd(a, "")[f.xxcce][f.mxila(f.mxila(k, "Char"), i)](a)
- }
-
- function e(a, b) {
- for (var c = a.length, d = [], e = 0; f.ccmlh(e, c); e++) {
- var g = f.mhmcx(b, a[e]);
- d.push(g)
- }
- return d
- }
- var f = {
- ccmlh: function (a, b) {
- return a < b
- },
- mhmcx: function (a, b) {
- return a(b)
- },
- edaxd: function (a, b) {
- return a + b
- },
- xxcce: "constructor",
- mxila: function (a, b) {
- return a + b
- },
- emeie: function (a, b, c) {
- return a(b, c)
- },
- clxhe: "1.1.2",
- ixhex: function (a, b) {
- return a + b
- }
- },
- g, i, k, l = decodeURIComponent;
- g = "de";
- k = f.ixhex("fr", "o") + "m";
- i = f.ixhex("Co", g);
- var m = c.call(d, [39, 34, 37, 96, 60, 120, 97, 65, 98, 66, 99, 67, 100, 68, 101, 69, 102, 70, 103, 110, 109, 111, 112, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57]);
- g = e([28782, 27702, 26416, 25167, 24183], function (a) {
- return l(a)
- });
- var n = c.call(g, [22354, 22749, 24415, 23346, 22257, 22688, 24306, 25174, 23595, 25547, 22984, 25690, 22212, 27547, 21594, 27210, 23090, 29193, 22394, 29368, 29532, 29459, 29530, 24146, 24500, 26352, 27441, 28788, 29370, 27673, 26925, 25249, 24430]),
- s = {};
- g = f.mhmcx(c, g);
- var u = RegExp(g.join("|"));
- for (g = 0; g < m.length; g++) s[n[g]] = m[g];
- b = f.emeie(e, b.split(""), function (a) {
- return s[a] || a
- }).join("");
- return e(b.split(u), function (a) {
- return l(a)
- })
- }(this, "\u5f5f\u66f0\u6c19\u5f5f\u66f0\u5e52\u59c8\u5ef2ll\u5c2b\u5ef2\u59c8k\u5f5f\u6b31\u6b9b\u5e77l\u56c4\u735c\u59c8\u59c8\u706e\u5f5f\u6b31\u7209qt\u5f5f\u6b31\u6b9b\u735a\u5ef2\u72b8\u7313_\u545a\u72b8try\u5f5f\u66f0\u6c19v\u5f5f\u6b31\u6b9b\u6730\u545a\u59c8\u545a\u545a\u5ef2\u6c36\u5ef2\u5ef2\u545a\u59c8\u5ef2\u6730h\u59c8ll\u545a\u706e\u545a\u735cii\u5ef2\u5e77\u59c8\u58a0\u545ah\u5ef2\u6c36\u5f5f\u6a4a\u5f6e\u5f5f\u5f6e\u645a\u5f5f\u62a1\u5e52\u5f5f\u6a4a\u62a1\u5f5f\u6256\u6c19\u5f5f\u62a1\u5fb4\u5f5f\u6a4a\u692d\u5f5f\u5f6e\u7074\u5f5f\u63cb\u6b31\u5f5f\u6a4a\u62a1\u5f5f\u6256\u7209\u5f5f\u63cb\u692d\u5f5f\u6a4a\u72ba\u5f5f\u62a1\u72ba\u5f5f\u6256\u62a1\u5f5f\u6a4a\u6c19\u5f5f\u5f6e\u5f6e\u5f5f\u6256\u7209\u5f5f\u6a4a\u72ba\u5f5f\u5f6e\u645a\u5f5f\u63cb\u5e52\u5f5f\u6a4a\u72ba\u5f5f\u5f6e\u63cb\u5f5f\u63cb\u6a4a\u5f5f\u6a4a\u7074\u5f5f\u63cb\u6b9b\u5f5f\u63cb\u7209\u5f5f\u6a4a\u692d\u5f5f\u5f6e\u7074\u5f5f\u6256\u62a1\u5f5f\u6a4a\u6c19\u5f5f\u5f6e\u6b9b\u5f5f\u62a1\u6b31\u5f5f\u6a4a\u5f6e\u5f5f\u5f6e\u5f6e\u5f5f\u5f6e\u5e52\u6c36i\u5ef2\u5ef2\u6730\u545a\u735cl\u6c36\u5ef2\u59c8\u5ef2\u706e\u545a\u56c4l\u706e\u735c\u5ef2l\u624fl\u545a\u5ef2\u6730ih\u58a0i\u706e\u59c8\u59c8\u735c\u6c36\u545a\u545ah\u624f\u735c\u735c\u59c8\u5e77\u545a\u545a\u5ef2l\u5ef2\u624f\u735c\u56c4\u56c4\u5ef2\u6730hh\u545a\u6730\u545a\u5ef2\u5ef2\u59c8i\u5e77hh\u735c\u545a\u5ef2\u5e77\u56c4\u5ef2\u59c8\u5ef2\u545a\u6c36\u545arr\u7313r\u5e77\u5ef2lh\u5ef2\u5ef2\u6730\u545a\u56c4\u5ef2\u58a0\u5ef2\u6c36l\u5ef2h\u5ef2\u706el\u5ef2\u735clh\u624f\u56c4\u545a\u5ef2\u5ef2\u545a\u5e77\u5ef2ih\u59c8\u5ef2\u5e77\u5f5f\u6b31\u7209qt\u5f5f\u6b31\u6b9b\u735a\u5ef2\u72b8\u7313_\u59c8\u7313u\u72b8t\u5f5f\u66f0\u6c19v\u5f5f\u6b31\u6b9b\u6c36\u5f5f\u66f0\u6c19\u5ef2k\u5f5f\u6b31\u6b9b\u6c36\u5f5f\u66f0\u6c19\u59c8\u7313\u72b8su\u735c\u545a\u5f5f\u6b31\u6b9b\u624f\u5ef2\u58a0l\u545a\u735c\u6730\u545a\u735c\u545a\u56c4i\u706e\u5ef2h\u5ef2\u58a0\u545a\u6c36P\u6256NOR\u6256M\u6256\u6730\u56c4\u58a0h\u6730\u58a0l\u56c4\u5ef2\u5ef2\u624f\u545a\u56c4\u56c4l\u735c\u6c36\u5ef2uth_k\u545ay\u5f5f\u6b31\u6b9b\u6730\u545a\u58a0\u545a\u56c4\u545a\u624fSJv\u6a4aY\u72bah\u6b31\u692dZ\u6b9bh\u72ba\u735aHS\u6730\u735a\u5ef2rs\u545a\u624fh\u5ef2\u545a\u735c\u58a0\u6730\u5ef2\u545ahl\u59c8\u706e\u545al\u545ai\u545a\u6c36h\u56c4\u735c\u545ah\u6730\u5ef2\u545ai\u735ch\u5e77\u58a0\u5ef2\u59c8\u5ef2l\u6c36\u545a\u545ai\u735ci\u6730il\u5ef2\u545a\u56c4\u6c36l\u545a\u735cl\u59c8\u6730\u5a32u\u72b8\u59c8ti\u7313\u72b8"), Kc = 233, Lc = ++Kc; --Lc;) Jc.push(Jc.shift());
-
- function V(a) {
- return Jc[a - 0]
- }
- var Oc = function (a) {
- for (var b = {
- alhaa: V("0x0"),
- edaxa: function (a, b) {
- return a !== b
- },
- lamlh: V("0x1"),
- deaae: function (a, b) {
- return a + b
- },
- aihca: function (a, b) {
- return a + b
- },
- axlem: V("0x2"),
- hhmea: V("0x3"),
- dacae: V("0x4"),
- xldaa: V("0x5"),
- eddlm: V("0x6"),
- eeala: V("0x7"),
- imhae: V("0x8"),
- eaaci: V("0x9"),
- hmehx: "hhe"
- }, c = b[V("0xa")]; c !== V("0xb");) switch (c) {
- case V("0x9"):
- var d = a ? a : 5E3,
- c = b.imhae;
- break;
- case V("0xc"):
- var e = 0,
- c = b[V("0xd")];
- break;
- case "eeh":
- return function (a) {
- for (var c = V("0x3"); c !== V("0x6");) switch (c) {
- case b[V("0xe")]:
- e += a;
- c = b[V("0xf")];
- break;
- case b.xldaa:
- f = setTimeout(function () {
- for (var a = {
- alldi: function (a, b) {
- return a !== b
- },
- emedi: V("0x10"),
- ahaxe: "PANORAMA"
- }, c = b[V("0x11")]; b[V("0x12")](c, V("0x13"));) switch (c) {
- case b[V("0x14")]:
- f = p;
- c = V("0x13");
- break;
- case "dxh":
- e = 0;
- c = b[V("0x14")];
- break;
- case b[V("0x11")]:
- var d = b[V("0x15")](b.aihca(b[V("0x16")](B.JN + V("0x17"), B.version) + V("0x18"), qa) + V("0x19"), e),
- c = V("0x2");
- break;
- case b[V("0x1a")]:
- ra(d, function (b) {
- (!b || b[V("0x10")] === j || 0 !== b[a[V("0x1b")]]) && Mc(a[V("0x1c")], function (b) {
- (!b || b[V("0x10")] === j || a.alldi(b[a.emedi], 0)) && Nc(V("0x1d"))
- })
- }), c = V("0x1e")
- }
- }, d);
- c = b.eddlm;
- break;
- case b[V("0xf")]:
- if (!f) {
- c = b[V("0x1f")];
- break
- }
- c = b[V("0x20")]
- }
- };
- case V("0x7"):
- var f = p,
- c = b.hmehx
- }
- }();
-
- function Pc(a, b) {
- var c = {
- exede: function (a, b) {
- return a === b
- },
- haemx: function (a, b) {
- return a / b
- },
- aehlc: function (a, b) {
- return a + b
- },
- eleie: function (a, b) {
- return a + b
- },
- hdmeh: function (a, b) {
- return a + b
- },
- aeimh: function (a, b) {
- return a + b
- },
- xacal: function (a, b) {
- return a(b)
- },
- eeimi: function (a, b) {
- return a + b
- },
- ilaed: V("0x21"),
- lemlc: function (a, b) {
- return a + b
- }
- },
- d, e;
- b ? (d = b.fW ? b.fW : 1, e = c[V("0x22")](b.yp, q) ? q : o) : (d = 1, e = o);
- var f = V("0x23"),
- g = Date[V("0x24")](new Date),
- i = c[V("0x25")](g, 1E3),
- f = c[V("0x26")](c[V("0x27")](c.hdmeh(c[V("0x28")](c[V("0x29")](a + "-" + (i + 1800), "-"), g), "-"), qa) + "-", f),
- f = c[V("0x2a")](md5, f),
- c = c[V("0x29")](c[V("0x2b")](c[V("0x2b")](c[V("0x2b")](c[V("0x2c")], c[V("0x2d")](i, 1800)) + "-" + g + "-", qa), "-"), f);
- e && Oc(d);
- return c
- }
-
- function Mc(a, b) {
- var c = {
- ldmcc: V("0x1d"),
- hclle: function (a, b) {
- return a + b
- },
- eceea: V("0x18"),
- aaeca: V("0x2e"),
- alaei: V("0x2f")
- };
- switch (a) {
- case c[V("0x30")]:
- var d = c.hclle(B.JN + V("0x31"), B.version) + c[V("0x32")] + qa;
- typeof b === c[V("0x33")] ? ra(d, b) : ra(c[V("0x34")](d + c.alaei, b))
- }
- }
-
- function Nc(a) {
- var b = {
- emiia: "PANORAMA",
- cxeha: function (a, b) {
- return a(b)
- }
- };
- switch (a) {
- case b[V("0x35")]:
- b[V("0x36")](alert, V("0x37"))
- }
- };
-
- function Hc() {
- function a(a) {
- return b[a - 0]
- }
- var b = function (a, b) {
- function e(a) {
- return i.xaxma(g, a, function (a) {
- return i.eiiee(f, a)
- })
- }
-
- function f(a) {
- return i.chial(a, "")[i.xaaid][i.haeil(m + s, l)](a)
- }
-
- function g(a, b) {
- for (var c = "iae"; i.iaece(c, "eeeh");) switch (c) {
- case i.ialih:
- return e;
- case "acx":
- for (c = 0; c < f; c++) {
- var d = i.axxce(b, a[c]);
- e.push(d)
- }
- c = "ihl";
- break;
- case i.helex:
- var e = [],
- c = "acx";
- break;
- case i.xaimx:
- var f = a.length,
- c = "ecx"
- }
- }
- var i = {
- iaece: function (a, b) {
- return a !== b
- },
- ialih: "ihl",
- axxce: function (a, b) {
- return a(b)
- },
- helex: "ecx",
- xaimx: "iae",
- chial: function (a, b) {
- return a + b
- },
- xaaid: "constructor",
- haeil: function (a, b) {
- return a + b
- },
- eiiee: function (a, b) {
- return a(b)
- },
- xaxma: function (a, b, c) {
- return a(b, c)
- },
- eaaia: "1.1.2",
- aadhe: "Char",
- cealx: function (a, b) {
- return a + b
- }
- },
- k, l, m, n = decodeURIComponent,
- s = i.aadhe;
- k = "de";
- m = i.haeil("fro", "m");
- l = i.cealx("Co", k);
- var u = e.call(f, [39, 34, 37, 96, 60, 120, 97, 65, 98, 66, 99, 67, 100, 68, 101, 69, 102, 70, 103, 110, 109, 111, 112, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57]);
- k = g([28782, 27702, 26416, 25167, 24183], function (a) {
- return i.eiiee(n, a)
- });
- var w = e.call(k, [22354, 22749, 24415, 23346, 22257, 22688, 24306, 25174, 23595, 25547, 22984, 25690, 22212, 27547, 21594, 27210, 23090, 29193, 22394, 29368, 29532, 29459, 29530, 24146, 24500, 26352, 27441, 28788, 29370, 27673, 26925, 25249, 24430]),
- y = {};
- k = e(k);
- var D = RegExp(k.join("|"));
- for (k = 0; k < u.length; k++) y[w[k]] = u[k];
- b = g(b.split(""), function (a) {
- return y[a] || a
- }).join("");
- return g(b.split(D), function (a) {
- return n(a)
- })
- }(this, "\u7209\u72baL\u66f0O\u6c19R\u6c19\u6256\u6b9b\u62a1\u5f6e\u5f6e\u5e52O\u5e77l\u545a\u545a\u624f\u5ef2hl\u6730\u545a\u58a0\u735c\u5ef2\u545a\u6730\u56c4\u5ef2\u735c\u58a0\u735c\u6730\u5ef2\u5ef2\u58a0\u59c8i\u706esu\u5c2bstri\u72b8\u577a\u5e77l\u545a\u72b8\u577ath\u706e\u545a\u735c\u545a\u56c4h\u624f\u5ef2h\u545ah\u58a0\u5e77\u59c8\u545a\u58a0\u59c8\u545a\u5e77\u58a0il\u624f\u735cih\u5ef2i\u624fh\u5ef2\u545al\u545a\u624f\u545ahl\u58a0i\u5e77H\u5e52\u6256\u5f6eP\u62a1P\u692dY\u6c19\u6256\u63cbQO\u5e52\u706e\u56c4\u545a\u545a\u6c36\u5f5f\u66f0\u6c19si\u577a\u72b8\u5f5f\u6b31\u6b9b");
- (function (a, b) {
- for (var e = ++b; --e;) a.push(a.shift())
- })(b, 394);
- return function (b) {
- for (var d = {
- exmae: a("0x0"),
- damxm: function (a, b) {
- return a + b
- },
- aaxci: a("0x1"),
- emedh: "ahl",
- ahehx: a("0x2"),
- cexce: a("0x3"),
- mihai: function (a, b) {
- return a(b)
- },
- haele: function (a, b) {
- return a + b
- },
- ehlxi: function (a, b) {
- return a + b
- }
- }, e = a("0x4");
- "lcha" !== e;) switch (e) {
- case d[a("0x5")]:
- return d[a("0x6")](d[a("0x7")], g[a("0x8")](g[a("0x9")] - 12));
- case d[a("0xa")]:
- var f = d[a("0xb")],
- e = d[a("0xc")];
- break;
- case a("0xd"):
- var g = d[a("0xe")](md5, d[a("0xf")](md5(d[a("0x10")](b, f)), i)),
- e = d[a("0x5")];
- break;
- case d.cexce:
- var i = a("0x11"),
- e = a("0xd")
- }
- }
- };
-
- function lb(a, b) {
- a && (this.Kb = a, this.ba = "spot" + lb.ba++, b = b || {}, this.Xg = b.text || "", this.Mv = b.offsets ? b.offsets.slice(0) : [5, 5, 5, 5], this.NJ = b.userData || p, this.Uh = b.minZoom || p, this.Gf = b.maxZoom || p)
- }
- lb.ba = 0;
- x.extend(lb.prototype, {
- ra: function (a) {
- this.Uh == p && (this.Uh = a.B.fc);
- this.Gf == p && (this.Gf = a.B.Zb)
- },
- ta: function (a) {
- if (a instanceof O || a instanceof K) this.Kb = a
- },
- ia: v("Kb"),
- hu: da("Xg"),
- nE: v("Xg"),
- setUserData: da("NJ"),
- getUserData: v("NJ")
- });
-
- function Qc() {
- this.D = p;
- this.Lb = "control";
- this.Pa = this.rK = o
- }
- x.lang.ua(Qc, x.lang.Da, "Control");
- x.extend(Qc.prototype, {
- initialize: function (a) {
- this.D = a;
- if (this.C) return a.Ua.appendChild(this.C), this.C
- },
- Ie: function (a) {
- !this.C && (this.initialize && ab(this.initialize)) && (this.C = this.initialize(a));
- this.k = this.k || {
- Dg: q
- };
- this.PB();
- this.Xr();
- this.C && (this.C.wr = this)
- },
- PB: function () {
- var a = this.C;
- if (a) {
- var b = a.style;
- b.position = "absolute";
- b.zIndex = this.Zu || "10";
- b.MozUserSelect = "none";
- b.WebkitTextSizeAdjust = "none";
- this.k.Dg || x.K.Ta(a, "BMap_noprint");
- J() || x.M(a, "contextmenu", oa)
- }
- },
- remove: function () {
- this.D = p;
- this.C && (this.C.parentNode && this.C.parentNode.removeChild(this.C), this.C = this.C.wr = p)
- },
- Ba: function () {
- this.C = Cb(this.D.Ua, "
");
- this.Pa == q && x.K.U(this.C);
- return this.C
- },
- Xr: function () {
- this.qc(this.k.anchor)
- },
- qc: function (a) {
- if (this.T1 || !Za(a) || isNaN(a) || a < Rc || 3 < a) a = this.defaultAnchor;
- this.k = this.k || {
- Dg: q
- };
- this.k.Aa = this.k.Aa || this.defaultOffset;
- var b = this.k.anchor;
- this.k.anchor = a;
- if (this.C) {
- var c = this.C,
- d = this.k.Aa.width,
- e = this.k.Aa.height;
- c.style.left = c.style.top = c.style.right = c.style.bottom = "auto";
- switch (a) {
- case Rc:
- c.style.top = e + "px";
- c.style.left = d + "px";
- break;
- case Sc:
- c.style.top = e + "px";
- c.style.right = d + "px";
- break;
- case Tc:
- c.style.bottom = e + "px";
- c.style.left = d + "px";
- break;
- case 3:
- c.style.bottom = e + "px", c.style.right = d + "px"
- }
- c = ["TL", "TR", "BL", "BR"];
- x.K.Tb(this.C, "anchor" + c[b]);
- x.K.Ta(this.C, "anchor" + c[a])
- }
- },
- RD: function () {
- return this.k.anchor
- },
- getContainer: v("C"),
- Ye: function (a) {
- a instanceof M && (this.k = this.k || {
- Dg: q
- }, this.k.Aa = new M(a.width, a.height), this.C && this.qc(this.k.anchor))
- },
- Qf: function () {
- return this.k.Aa
- },
- Ld: v("C"),
- show: function () {
- this.Pa != o && (this.Pa = o, this.C && x.K.show(this.C))
- },
- U: function () {
- this.Pa != q && (this.Pa = q, this.C && x.K.U(this.C))
- },
- isPrintable: function () {
- return !!this.k.Dg
- },
- oh: function () {
- return !this.C && !this.D ? q : !!this.Pa
- }
- });
- var Rc = 0,
- Sc = 1,
- Tc = 2;
-
- function mb(a) {
- Qc.call(this);
- a = a || {};
- this.k = {
- Dg: q,
- UF: a.showZoomInfo || o,
- anchor: a.anchor,
- Aa: a.offset,
- type: a.type,
- SW: a.enableGeolocation || q
- };
- this.defaultAnchor = J() ? 3 : Rc;
- this.defaultOffset = new M(10, 10);
- this.qc(a.anchor);
- this.wn(a.type);
- this.Ee()
- }
- x.lang.ua(mb, Qc, "NavigationControl");
- x.extend(mb.prototype, {
- initialize: function (a) {
- this.D = a;
- return this.C
- },
- wn: function (a) {
- this.k.type = Za(a) && 0 <= a && 3 >= a ? a : 0
- },
- pp: function () {
- return this.k.type
- },
- Ee: function () {
- var a = this;
- L.load("navictrl", function () {
- a.yf()
- })
- }
- });
-
- function Uc(a) {
- Qc.call(this);
- a = a || {};
- this.k = {
- anchor: a.anchor || Tc,
- Aa: a.offset || new M(10, 30),
- G_: a.showAddressBar !== q,
- B2: a.enableAutoLocation || q,
- ZM: a.locationIcon || p
- };
- var b = this;
- this.Zu = 1200;
- b.u0 = [];
- this.qe = [];
- L.load("geoctrl", function () {
- (function d() {
- if (0 !== b.qe.length) {
- var a = b.qe.shift();
- b[a.method].apply(b, a.arguments);
- d()
- }
- })();
- b.uQ()
- });
- Ta(Ka)
- }
- x.lang.ua(Uc, Qc, "GeolocationControl");
- x.extend(Uc.prototype, {
- location: function () {
- this.qe.push({
- method: "location",
- arguments: arguments
- })
- },
- getAddressComponent: ea(p)
- });
-
- function Vc(a) {
- Qc.call(this);
- a = a || {};
- this.k = {
- Dg: q,
- anchor: a.anchor,
- Aa: a.offset
- };
- this.bc = [];
- this.defaultAnchor = Tc;
- this.defaultOffset = new M(5, 2);
- this.qc(a.anchor);
- this.rK = q;
- this.Ee()
- }
- x.lang.ua(Vc, Qc, "CopyrightControl");
- x.object.extend(Vc.prototype, {
- initialize: function (a) {
- this.D = a;
- return this.C
- },
- Dw: function (a) {
- if (a && Za(a.id) && !isNaN(a.id)) {
- var b = {
- bounds: p,
- content: ""
- },
- c;
- for (c in a) b[c] = a[c];
- if (a = this.Am(a.id))
- for (var d in b) a[d] = b[d];
- else this.bc.push(b)
- }
- },
- Am: function (a) {
- for (var b = 0, c = this.bc.length; b < c; b++)
- if (this.bc[b].id == a) return this.bc[b]
- },
- YD: v("bc"),
- uF: function (a) {
- for (var b = 0, c = this.bc.length; b < c; b++) this.bc[b].id == a && (r = this.bc.splice(b, 1), b--, c = this.bc.length)
- },
- Ee: function () {
- var a = this;
- L.load("copyrightctrl", function () {
- a.yf()
- })
- }
- });
-
- function ob(a) {
- Qc.call(this);
- a = a || {};
- this.k = {
- Dg: q,
- size: a.size || new M(150, 150),
- padding: 5,
- Va: a.isOpen === o ? o : q,
- K0: 4,
- Aa: a.offset,
- anchor: a.anchor
- };
- this.defaultAnchor = 3;
- this.defaultOffset = new M(0, 0);
- this.Kq = this.Lq = 13;
- this.qc(a.anchor);
- this.Ce(this.k.size);
- this.Ee()
- }
- x.lang.ua(ob, Qc, "OverviewMapControl");
- x.extend(ob.prototype, {
- initialize: function (a) {
- this.D = a;
- return this.C
- },
- qc: function (a) {
- Qc.prototype.qc.call(this, a)
- },
- se: function () {
- this.se.to = o;
- this.k.Va = !this.k.Va;
- this.C || (this.se.to = q)
- },
- Ce: function (a) {
- a instanceof M || (a = new M(150, 150));
- a.width = 0 < a.width ? a.width : 150;
- a.height = 0 < a.height ? a.height : 150;
- this.k.size = a
- },
- vb: function () {
- return this.k.size
- },
- Va: function () {
- return this.k.Va
- },
- Ee: function () {
- var a = this;
- L.load("control", function () {
- a.yf()
- })
- }
- });
-
- function Xc(a) {
- Qc.call(this);
- a = a || {};
- this.defaultAnchor = Rc;
- this.MV = a.canCheckSize === q ? q : o;
- this.ij = "";
- this.defaultOffset = new M(10, 10);
- this.onChangeBefore = [];
- this.onChangeAfter = [];
- this.onChangeSuccess = [];
- this.k = {
- Dg: q,
- Aa: a.offset || this.defaultOffset,
- anchor: a.anchor || this.defaultAnchor,
- expand: !!a.expand
- };
- a.onChangeBefore && ab(a.onChangeBefore) && this.onChangeBefore.push(a.onChangeBefore);
- a.onChangeAfter && ab(a.onChangeAfter) && this.onChangeAfter.push(a.onChangeAfter);
- a.onChangeSuccess && ab(a.onChangeSuccess) && this.onChangeSuccess.push(a.onChangeSuccess);
- this.qc(a.anchor);
- this.Ee()
- }
- x.lang.ua(Xc, Qc, "CityListControl");
- x.object.extend(Xc.prototype, {
- initialize: function (a) {
- this.D = a;
- return this.C
- },
- Ee: function () {
- var a = this;
- L.load("citylistcontrol", function () {
- a.yf()
- }, o)
- }
- });
-
- function nb(a) {
- Qc.call(this);
- a = a || {};
- this.k = {
- Dg: q,
- color: "black",
- dd: "metric",
- Aa: a.offset
- };
- this.defaultAnchor = Tc;
- this.defaultOffset = new M(81, 18);
- this.qc(a.anchor);
- this.ei = {
- metric: {
- name: "metric",
- GK: 1,
- sM: 1E3,
- aP: "\u7c73",
- bP: "\u516c\u91cc"
- },
- us: {
- name: "us",
- GK: 3.2808,
- sM: 5280,
- aP: "\u82f1\u5c3a",
- bP: "\u82f1\u91cc"
- }
- };
- this.ei[this.k.dd] || (this.k.dd = "metric");
- this.lJ = p;
- this.LI = {};
- this.Ee()
- }
- x.lang.ua(nb, Qc, "ScaleControl");
- x.object.extend(nb.prototype, {
- initialize: function (a) {
- this.D = a;
- return this.C
- },
- Sk: function (a) {
- this.k.color = a + ""
- },
- S2: function () {
- return this.k.color
- },
- RF: function (a) {
- this.k.dd = this.ei[a] && this.ei[a].name || this.k.dd
- },
- kY: function () {
- return this.k.dd
- },
- Ee: function () {
- var a = this;
- L.load("control", function () {
- a.yf()
- })
- }
- });
- var Yc = 0;
-
- function pb(a) {
- Qc.call(this);
- a = a || {};
- this.defaultAnchor = Sc;
- this.defaultOffset = new M(10, 10);
- this.k = {
- Dg: q,
- qh: [Oa, bb, Ua, Ra],
- uW: ["B_DIMENSIONAL_MAP", "B_SATELLITE_MAP", "B_NORMAL_MAP"],
- type: a.type || Yc,
- Aa: a.offset || this.defaultOffset,
- WW: o
- };
- this.qc(a.anchor);
- "[object Array]" == Object.prototype.toString.call(a.mapTypes) && (this.k.qh = a.mapTypes.slice(0));
- this.Ee()
- }
- x.lang.ua(pb, Qc, "MapTypeControl");
- x.object.extend(pb.prototype, {
- initialize: function (a) {
- this.D = a;
- return this.C
- },
- ez: function (a) {
- this.D.jo = a
- },
- Ee: function () {
- var a = this;
- L.load("control", function () {
- a.yf()
- }, o)
- }
- });
-
- function Zc(a) {
- Qc.call(this);
- a = a || {};
- this.k = {
- Dg: q,
- Aa: a.offset,
- anchor: a.anchor
- };
- this.Wi = q;
- this.lw = p;
- this.VI = new $c({
- of: "api"
- });
- this.WI = new ad(p, {
- of: "api"
- });
- this.defaultAnchor = Sc;
- this.defaultOffset = new M(10, 10);
- this.qc(a.anchor);
- this.Ee();
- Ta(xa)
- }
- x.lang.ua(Zc, Qc, "PanoramaControl");
- x.extend(Zc.prototype, {
- initialize: function (a) {
- this.D = a;
- return this.C
- },
- Ee: function () {
- var a = this;
- L.load("control", function () {
- a.yf()
- })
- }
- });
-
- function bd(a) {
- x.lang.Da.call(this);
- this.k = {
- Ua: p,
- cursor: "default"
- };
- this.k = x.extend(this.k, a);
- this.Lb = "contextmenu";
- this.D = p;
- this.ya = [];
- this.Jf = [];
- this.Ge = [];
- this.jx = this.ys = p;
- this.Th = q;
- var b = this;
- L.load("menu", function () {
- b.Ab()
- })
- }
- x.lang.ua(bd, x.lang.Da, "ContextMenu");
- x.object.extend(bd.prototype, {
- ra: function (a, b) {
- this.D = a;
- this.Gl = b || p
- },
- remove: function () {
- this.D = this.Gl = p
- },
- Fw: function (a) {
- if (a && !("menuitem" != a.Lb || "" == a.Xg || 0 >= a.dj)) {
- for (var b = 0, c = this.ya.length; b < c; b++)
- if (this.ya[b] === a) return;
- this.ya.push(a);
- this.Jf.push(a)
- }
- },
- removeItem: function (a) {
- if (a && "menuitem" == a.Lb) {
- for (var b = 0, c = this.ya.length; b < c; b++) this.ya[b] === a && (this.ya[b].remove(), this.ya.splice(b, 1), c--);
- b = 0;
- for (c = this.Jf.length; b < c; b++) this.Jf[b] === a && (this.Jf[b].remove(), this.Jf.splice(b, 1), c--)
- }
- },
- iC: function () {
- this.ya.push({
- Lb: "divider",
- Uj: this.Ge.length
- });
- this.Ge.push({
- K: p
- })
- },
- wF: function (a) {
- if (this.Ge[a]) {
- for (var b = 0, c = this.ya.length; b < c; b++) this.ya[b] && ("divider" == this.ya[b].Lb && this.ya[b].Uj == a) && (this.ya.splice(b, 1), c--), this.ya[b] && ("divider" == this.ya[b].Lb && this.ya[b].Uj > a) && this.ya[b].Uj--;
- this.Ge.splice(a, 1)
- }
- },
- Ld: v("C"),
- show: function () {
- this.Th != o && (this.Th = o)
- },
- U: function () {
- this.Th != q && (this.Th = q)
- },
- m_: function (a) {
- a && (this.k.cursor = a)
- },
- getItem: function (a) {
- return this.Jf[a]
- }
- });
- var cd = I.pa + "menu_zoom_in.png",
- dd = I.pa + "menu_zoom_out.png";
-
- function ed(a, b, c) {
- if (a && ab(b)) {
- x.lang.Da.call(this);
- this.k = {
- width: 100,
- id: "",
- Pm: ""
- };
- c = c || {};
- this.k.width = 1 * c.width ? c.width : 100;
- this.k.id = c.id ? c.id : "";
- this.k.Pm = c.iconUrl ? c.iconUrl : "";
- this.Xg = a + "";
- this.Tz = b;
- this.D = p;
- this.Lb = "menuitem";
- this.ds = this.Av = this.C = this.Lh = p;
- this.Ph = o;
- var d = this;
- L.load("menu", function () {
- d.Ab()
- })
- }
- }
- x.lang.ua(ed, x.lang.Da, "MenuItem");
- x.object.extend(ed.prototype, {
- ra: function (a, b) {
- this.D = a;
- this.Lh = b
- },
- remove: function () {
- this.D = this.Lh = p
- },
- hu: function (a) {
- a && (this.Xg = a + "")
- },
- Vb: function (a) {
- a && (this.k.Pm = a)
- },
- Ld: v("C"),
- enable: function () {
- this.Ph = o
- },
- disable: function () {
- this.Ph = q
- }
- });
-
- function ib(a, b) {
- a && !b && (b = a);
- this.Je = this.Yd = this.Ne = this.$d = this.Vl = this.El = p;
- a && (this.Vl = new O(a.lng, a.lat), this.El = new O(b.lng, b.lat), this.Ne = a.lng, this.$d = a.lat, this.Je = b.lng, this.Yd = b.lat)
- }
- x.object.extend(ib.prototype, {
- Bj: function () {
- return !this.Vl || !this.El
- },
- ab: function (a) {
- return !(a instanceof ib) || this.Bj() ? q : this.xe().ab(a.xe()) && this.pf().ab(a.pf())
- },
- xe: v("Vl"),
- pf: v("El"),
- cW: function (a) {
- return !(a instanceof ib) || this.Bj() || a.Bj() ? q : a.Ne > this.Ne && a.Je < this.Je && a.$d > this.$d && a.Yd < this.Yd
- },
- pc: function () {
- return this.Bj() ? p : new O((this.Ne + this.Je) / 2, (this.$d + this.Yd) / 2)
- },
- At: function (a) {
- if (!(a instanceof ib) || Math.max(a.Ne, a.Je) < Math.min(this.Ne, this.Je) || Math.min(a.Ne, a.Je) > Math.max(this.Ne, this.Je) || Math.max(a.$d, a.Yd) < Math.min(this.$d, this.Yd) || Math.min(a.$d, a.Yd) > Math.max(this.$d, this.Yd)) return p;
- var b = Math.max(this.Ne, a.Ne),
- c = Math.min(this.Je, a.Je),
- d = Math.max(this.$d, a.$d),
- a = Math.min(this.Yd, a.Yd);
- return new ib(new O(b, d), new O(c, a))
- },
- Zw: function (a) {
- return !(a instanceof O || a instanceof K) || this.Bj() ? q : a.lng >= this.Ne && a.lng <= this.Je && a.lat >= this.$d && a.lat <= this.Yd
- },
- extend: function (a) {
- if (a instanceof O || a instanceof K) {
- var b = a.lng,
- a = a.lat;
- this.Vl || (this.Vl = new O(0, 0));
- this.El || (this.El = new O(0, 0));
- if (!this.Ne || this.Ne > b) this.Vl.lng = this.Ne = b;
- if (!this.Je || this.Je < b) this.El.lng = this.Je = b;
- if (!this.$d || this.$d > a) this.Vl.lat = this.$d = a;
- if (!this.Yd || this.Yd < a) this.El.lat = this.Yd = a
- }
- },
- dG: function () {
- return this.Bj() ? new O(0, 0) : new O(Math.abs(this.Je - this.Ne), Math.abs(this.Yd - this.$d))
- }
- });
-
- function O(a, b) {
- isNaN(a) && (a = Mb(a), a = isNaN(a) ? 0 : a);
- cb(a) && (a = parseFloat(a));
- isNaN(b) && (b = Mb(b), b = isNaN(b) ? 0 : b);
- cb(b) && (b = parseFloat(b));
- this.lng = a;
- this.lat = b
- }
- O.GE = function (a) {
- return a && 180 >= a.lng && -180 <= a.lng && 74 >= a.lat && -74 <= a.lat
- };
- O.prototype.ab = function (a) {
- return a && this.lat == a.lat && this.lng == a.lng
- };
-
- function K(a, b) {
- isNaN(a) && (a = Mb(a), a = isNaN(a) ? 0 : a);
- cb(a) && (a = parseFloat(a));
- isNaN(b) && (b = Mb(b), b = isNaN(b) ? 0 : b);
- cb(b) && (b = parseFloat(b));
- this.lng = a;
- this.lat = b;
- this.of = "inner"
- }
- K.GE = function (a) {
- return a && 180 >= a.lng && -180 <= a.lng && 74 >= a.lat && -74 <= a.lat
- };
- K.prototype.ab = function (a) {
- return a && this.lat == a.lat && this.lng == a.lng
- };
-
- function fd() { }
- fd.prototype.jy = function () {
- aa("lngLatToPoint\u65b9\u6cd5\u672a\u5b9e\u73b0")
- };
- fd.prototype.Ej = function () {
- aa("pointToLngLat\u65b9\u6cd5\u672a\u5b9e\u73b0")
- };
-
- function gd() { };
- var hb = {
- IK: function (a, b, c) {
- L.load("coordtransutils", function () {
- hb.vV(a, b, c)
- }, o)
- },
- HK: function (a, b, c) {
- L.load("coordtransutils", function () {
- hb.uV(a, b, c)
- }, o)
- }
- };
-
- function hd() {
- this.Oa = [];
- var a = this;
- L.load("convertor", function () {
- a.sQ()
- })
- }
- x.ua(hd, x.lang.Da, "Convertor");
- x.extend(hd.prototype, {
- translate: function (a, b, c, d) {
- this.Oa.push({
- method: "translate",
- arguments: [a, b, c, d]
- })
- }
- });
- U(hd.prototype, {
- translate: hd.prototype.translate
- });
-
- function T() { }
- T.prototype = new fd;
- x.extend(T, {
- IP: 6370996.81,
- MG: [1.289059486E7, 8362377.87, 5591021, 3481989.83, 1678043.12, 0],
- Ou: [75, 60, 45, 30, 15, 0],
- OP: [
- [1.410526172116255E-8, 8.98305509648872E-6, -1.9939833816331, 200.9824383106796, -187.2403703815547, 91.6087516669843, -23.38765649603339, 2.57121317296198, -0.03801003308653, 1.73379812E7],
- [-7.435856389565537E-9, 8.983055097726239E-6, -0.78625201886289, 96.32687599759846, -1.85204757529826, -59.36935905485877, 47.40033549296737, -16.50741931063887, 2.28786674699375, 1.026014486E7],
- [-3.030883460898826E-8, 8.98305509983578E-6, 0.30071316287616, 59.74293618442277, 7.357984074871, -25.38371002664745, 13.45380521110908, -3.29883767235584, 0.32710905363475, 6856817.37],
- [-1.981981304930552E-8, 8.983055099779535E-6, 0.03278182852591, 40.31678527705744, 0.65659298677277, -4.44255534477492, 0.85341911805263, 0.12923347998204, -0.04625736007561, 4482777.06],
- [3.09191371068437E-9, 8.983055096812155E-6, 6.995724062E-5, 23.10934304144901, -2.3663490511E-4, -0.6321817810242, -0.00663494467273, 0.03430082397953, -0.00466043876332, 2555164.4],
- [2.890871144776878E-9, 8.983055095805407E-6, -3.068298E-8, 7.47137025468032, -3.53937994E-6, -0.02145144861037, -1.234426596E-5, 1.0322952773E-4, -3.23890364E-6, 826088.5]
- ],
- JG: [
- [-0.0015702102444, 111320.7020616939, 1704480524535203, -10338987376042340, 26112667856603880, -35149669176653700, 26595700718403920, -10725012454188240, 1800819912950474, 82.5],
- [8.277824516172526E-4, 111320.7020463578, 6.477955746671607E8, -4.082003173641316E9, 1.077490566351142E10, -1.517187553151559E10, 1.205306533862167E10, -5.124939663577472E9, 9.133119359512032E8, 67.5],
- [0.00337398766765, 111320.7020202162, 4481351.045890365, -2.339375119931662E7, 7.968221547186455E7, -1.159649932797253E8, 9.723671115602145E7, -4.366194633752821E7, 8477230.501135234, 52.5],
- [0.00220636496208, 111320.7020209128, 51751.86112841131, 3796837.749470245, 992013.7397791013, -1221952.21711287, 1340652.697009075, -620943.6990984312, 144416.9293806241, 37.5],
- [-3.441963504368392E-4, 111320.7020576856, 278.2353980772752, 2485758.690035394, 6070.750963243378, 54821.18345352118, 9540.606633304236, -2710.55326746645, 1405.483844121726, 22.5],
- [-3.218135878613132E-4, 111320.7020701615, 0.00369383431289, 823725.6402795718, 0.46104986909093, 2351.343141331292, 1.58060784298199, 8.77738589078284, 0.37238884252424, 7.45]
- ],
- X2: function (a, b) {
- if (!a || !b) return 0;
- var c, d, a = this.ub(a);
- if (!a) return 0;
- c = this.$k(a.lng);
- d = this.$k(a.lat);
- b = this.ub(b);
- return !b ? 0 : this.Ue(c, this.$k(b.lng), d, this.$k(b.lat))
- },
- fp: function (a, b) {
- if (!a || !b) return 0;
- a.lng = this.fE(a.lng, -180, 180);
- a.lat = this.jE(a.lat, -74, 74);
- b.lng = this.fE(b.lng, -180, 180);
- b.lat = this.jE(b.lat, -74, 74);
- return this.Ue(this.$k(a.lng), this.$k(b.lng), this.$k(a.lat), this.$k(b.lat))
- },
- ub: function (a) {
- if (a === p || a === j) return new K(0, 0);
- var b, c;
- b = new K(Math.abs(a.lng), Math.abs(a.lat));
- for (var d = 0; d < this.MG.length; d++)
- if (b.lat >= this.MG[d]) {
- c = this.OP[d];
- break
- }
- a = this.JK(a, c);
- return a = new K(a.lng.toFixed(6), a.lat.toFixed(6))
- },
- tb: function (a) {
- if (a === p || a === j || 180 < a.lng || -180 > a.lng || 90 < a.lat || -90 > a.lat) return new K(0, 0);
- var b, c;
- a.lng = this.fE(a.lng, -180, 180);
- a.lat = this.jE(a.lat, -74, 74);
- b = new K(a.lng, a.lat);
- for (var d = 0; d < this.Ou.length; d++)
- if (b.lat >= this.Ou[d]) {
- c = this.JG[d];
- break
- }
- if (!c)
- for (d = 0; d < this.Ou.length; d++)
- if (b.lat <= -this.Ou[d]) {
- c = this.JG[d];
- break
- }
- a = this.JK(a, c);
- return a = new K(a.lng.toFixed(2), a.lat.toFixed(2))
- },
- JK: function (a, b) {
- if (a && b) {
- var c = b[0] + b[1] * Math.abs(a.lng),
- d = Math.abs(a.lat) / b[9],
- d = b[2] + b[3] * d + b[4] * d * d + b[5] * d * d * d + b[6] * d * d * d * d + b[7] * d * d * d * d * d + b[8] * d * d * d * d * d * d,
- c = c * (0 > a.lng ? -1 : 1),
- d = d * (0 > a.lat ? -1 : 1);
- return new K(c, d)
- }
- },
- Ue: function (a, b, c, d) {
- return this.IP * Math.acos(Math.sin(c) * Math.sin(d) + Math.cos(c) * Math.cos(d) * Math.cos(b - a))
- },
- $k: function (a) {
- return Math.PI * a / 180
- },
- W4: function (a) {
- return 180 * a / Math.PI
- },
- jE: function (a, b, c) {
- b != p && (a = Math.max(a, b));
- c != p && (a = Math.min(a, c));
- return a
- },
- fE: function (a, b, c) {
- for (; a > c;) a -= c - b;
- for (; a < b;) a += c - b;
- return a
- }
- });
- x.extend(T.prototype, {
- Jk: function (a) {
- return T.tb(a)
- },
- jy: function (a) {
- a = $a(a, this.map);
- a = T.tb(a);
- return new S(a.lng, a.lat)
- },
- zl: function (a) {
- a = T.tb(a);
- return new S(a.lng, a.lat)
- },
- rh: function (a) {
- return T.ub(a)
- },
- Ej: function (a) {
- a = new K(a.x, a.y);
- return gb(T.ub(a), this.map)
- },
- B1: function (a) {
- a = new K(a.x, a.y);
- return T.ub(a)
- },
- Mp: function (a, b, c, d, e) {
- if (a) return a = this.Jk(a, e), b = this.yc(b), new S(Math.round((a.lng - c.lng) / b + d.width / 2), Math.round((c.lat - a.lat) / b + d.height / 2))
- },
- Ag: function (a, b, c, d, e) {
- if (a) return b = this.yc(b), this.rh(new K(c.lng + b * (a.x - d.width / 2), c.lat - b * (a.y - d.height / 2)), e)
- },
- yc: function (a) {
- return Math.pow(2, 18 - a)
- },
- l_: da("map")
- });
-
- function kb() {
- this.ij = "bj"
- }
- kb.prototype = new T;
- x.extend(kb.prototype, {
- Jk: function (a, b) {
- return this.cR(b, T.tb(a))
- },
- rh: function (a, b) {
- return T.ub(this.dR(b, a))
- },
- lngLatToPointFor3D: function (a, b) {
- var c = this,
- d = T.tb(a);
- L.load("coordtrans", function () {
- var a = gd.hE(c.ij || "bj", d),
- a = new S(a.x, a.y);
- b && b(a)
- }, o)
- },
- pointToLngLatFor3D: function (a, b) {
- var c = this,
- d = new K(a.x, a.y);
- L.load("coordtrans", function () {
- var a = gd.gE(c.ij || "bj", d),
- a = new K(a.lng, a.lat),
- a = T.ub(a);
- b && b(a)
- }, o)
- },
- cR: function (a, b) {
- if (L.jb("coordtrans").Dd == L.Lj.mq) {
- var c = gd.hE(a || "bj", b);
- return new K(c.x, c.y)
- }
- L.load("coordtrans", t());
- return new K(0, 0)
- },
- dR: function (a, b) {
- if (L.jb("coordtrans").Dd == L.Lj.mq) {
- var c = gd.gE(a || "bj", b);
- return new K(c.lng, c.lat)
- }
- L.load("coordtrans", t());
- return new K(0, 0)
- },
- yc: function (a) {
- return Math.pow(2, 20 - a)
- },
- Ry: da("map")
- });
-
- function id() {
- this.Lb = "overlay"
- }
- x.lang.ua(id, x.lang.Da, "Overlay");
- id.Mm = function (a) {
- a *= 1;
- return !a ? 0 : -1E5 * a << 1
- };
- x.extend(id.prototype, {
- Ie: function (a) {
- if (!this.V && ab(this.initialize) && (this.V = this.initialize(a))) this.V.style.WebkitUserSelect = "none";
- this.draw()
- },
- initialize: function () {
- aa("initialize\u65b9\u6cd5\u672a\u5b9e\u73b0")
- },
- draw: function () {
- aa("draw\u65b9\u6cd5\u672a\u5b9e\u73b0")
- },
- remove: function () {
- this.V && this.V.parentNode && this.V.parentNode.removeChild(this.V);
- this.V = p;
- this.dispatchEvent(new N("onremove"))
- },
- U: function () {
- this.V && x.K.U(this.V)
- },
- show: function () {
- this.V && x.K.show(this.V)
- },
- oh: function () {
- return !this.V || "none" == this.V.style.display || "hidden" == this.V.style.visibility ? q : o
- }
- });
- B.Xe(function (a) {
- function b(a, b) {
- var c = H("div"),
- g = c.style;
- g.position = "absolute";
- g.top = g.left = g.width = g.height = "0";
- g.zIndex = b;
- a.appendChild(c);
- return c
- }
- var c = a.R;
- c.rd = a.rd = b(a.platform, 200);
- a.Zd.LD = b(c.rd, 800);
- a.Zd.ZE = b(c.rd, 700);
- a.Zd.xL = b(c.rd, 600);
- a.Zd.RE = b(c.rd, 500);
- a.Zd.cN = b(c.rd, 400);
- a.Zd.dN = b(c.rd, 300);
- a.Zd.nP = b(c.rd, 201);
- a.Zd.Jt = b(c.rd, 200)
- });
-
- function jb() {
- x.lang.Da.call(this);
- id.call(this);
- this.map = p;
- this.Pa = o;
- this.Bb = p;
- this.zH = 0
- }
- x.lang.ua(jb, id, "OverlayInternal");
- x.extend(jb.prototype, {
- initialize: function (a) {
- this.map = a;
- x.lang.Da.call(this, this.ba);
- return p
- },
- Hx: v("map"),
- draw: t(),
- Oj: t(),
- remove: function () {
- this.map = p;
- x.lang.lx(this.ba);
- id.prototype.remove.call(this)
- },
- U: function () {
- this.Pa !== q && (this.Pa = q)
- },
- show: function () {
- this.Pa !== o && (this.Pa = o)
- },
- oh: function () {
- return !this.V ? q : !!this.Pa
- },
- Ha: v("V"),
- kO: function (a) {
- var a = a || {},
- b;
- for (b in a) this.z[b] = a[b]
- },
- iu: da("zIndex"),
- qj: function () {
- this.z.qj = o
- },
- FW: function () {
- this.z.qj = q
- },
- Fo: da("ig"),
- Op: function () {
- this.ig = p
- }
- });
-
- function jd() {
- this.map = p;
- this.wa = {};
- this.Fe = []
- }
- B.Xe(function (a) {
- var b = new jd;
- b.map = a;
- a.wa = b.wa;
- a.Fe = b.Fe;
- a.addEventListener("load", function (a) {
- b.draw(a)
- });
- a.addEventListener("moveend", function (a) {
- b.draw(a)
- });
- x.da.ma && 8 > x.da.ma || "BackCompat" === document.compatMode ? a.addEventListener("zoomend", function (a) {
- setTimeout(function () {
- b.draw(a)
- }, 20)
- }) : a.addEventListener("zoomend", function (a) {
- b.draw(a)
- });
- a.addEventListener("maptypechange", function (a) {
- b.draw(a)
- });
- a.addEventListener("addoverlay", function (a) {
- a = a.target;
- if (a instanceof jb) b.wa[a.ba] || (b.wa[a.ba] = a);
- else {
- for (var d = q, e = 0, f = b.Fe.length; e < f; e++)
- if (b.Fe[e] === a) {
- d = o;
- break
- }
- d || b.Fe.push(a)
- }
- });
- a.addEventListener("removeoverlay", function (a) {
- a = a.target;
- if (a instanceof jb) delete b.wa[a.ba];
- else
- for (var d = 0, e = b.Fe.length; d < e; d++)
- if (b.Fe[d] === a) {
- b.Fe.splice(d, 1);
- break
- }
- });
- a.addEventListener("clearoverlays", function () {
- this.Wc();
- for (var a in b.wa) b.wa[a].z.qj && (b.wa[a].remove(), delete b.wa[a]);
- a = 0;
- for (var d = b.Fe.length; a < d; a++) b.Fe[a].enableMassClear !== q && (b.Fe[a].remove(), b.Fe[a] = p, b.Fe.splice(a, 1), a--, d--)
- });
- a.addEventListener("infowindowopen", function () {
- var a = this.Bb;
- a && (x.K.U(a.zc), x.K.U(a.ac))
- });
- a.addEventListener("movestart", function () {
- this.lh() && this.lh().rJ()
- });
- a.addEventListener("moveend", function () {
- this.lh() && this.lh().hJ()
- })
- });
- jd.prototype.draw = function (a) {
- if (B.qq) {
- var b = B.qq.bt(this.map);
- "canvas" === b.Lb && b.canvas && b.YQ(b.canvas.getContext("2d"))
- }
- for (var c in this.wa) this.wa[c].draw(a);
- x.jc.Fb(this.Fe, function (a) {
- a.draw()
- });
- this.map.R.ob && this.map.R.ob.ta();
- B.qq && b.NF()
- };
-
- function kd(a) {
- jb.call(this);
- a = a || {};
- this.z = {
- strokeColor: a.strokeColor || "#3a6bdb",
- lc: a.strokeWeight || 5,
- td: a.strokeOpacity || 0.65,
- strokeStyle: a.strokeStyle || "solid",
- qj: a.enableMassClear === q ? q : o,
- Dk: p,
- Fm: p,
- mf: a.enableEditing === o ? o : q,
- lN: 5,
- t0: q,
- jf: a.enableClicking === q ? q : o,
- ti: a.icons && 0 < a.icons.length ? a.icons : p
- };
- 0 >= this.z.lc && (this.z.lc = 5);
- if (0 > this.z.td || 1 < this.z.td) this.z.td = 0.65;
- if (0 > this.z.sg || 1 < this.z.sg) this.z.sg = 0.65;
- "solid" != this.z.strokeStyle && "dashed" != this.z.strokeStyle && (this.z.strokeStyle = "solid");
- this.V = p;
- this.Yu = new ib(0, 0);
- this.gf = [];
- this.mc = [];
- this.Qa = {}
- }
- x.lang.ua(kd, jb, "Graph");
- kd.Cx = function (a) {
- var b = [];
- if (!a) return b;
- cb(a) && x.jc.Fb(a.split(";"), function (a) {
- a = a.split(",");
- b.push(new O(a[0], a[1]))
- });
- "[object Array]" == Object.prototype.toString.apply(a) && 0 < a.length && (b = a);
- return b
- };
- kd.iF = [0.09, 0.0050, 1.0E-4, 1.0E-5];
- x.extend(kd.prototype, {
- initialize: function (a) {
- this.map = a;
- return p
- },
- draw: t(),
- Wr: function (a) {
- this.gf.length = 0;
- this.ha = kd.Cx(a).slice(0);
- this.Ih()
- },
- me: function (a) {
- this.Wr(a)
- },
- Ih: function () {
- if (this.ha) {
- var a = this;
- a.Yu = new ib;
- x.jc.Fb(this.ha, function (b) {
- a.Yu.extend(b)
- })
- }
- },
- ve: v("ha"),
- vn: function (a, b) {
- b && this.ha[a] && (this.gf.length = 0, this.ha[a] = new K(b.lng, b.lat), this.Ih())
- },
- setStrokeColor: function (a) {
- this.z.strokeColor = a
- },
- bY: function () {
- return this.z.strokeColor
- },
- bq: function (a) {
- 0 < a && (this.z.lc = a)
- },
- YL: function () {
- return this.z.lc
- },
- $p: function (a) {
- a == j || (1 < a || 0 > a) || (this.z.td = a)
- },
- cY: function () {
- return this.z.td
- },
- bu: function (a) {
- 1 < a || 0 > a || (this.z.sg = a)
- },
- zX: function () {
- return this.z.sg
- },
- aq: function (a) {
- "solid" != a && "dashed" != a || (this.z.strokeStyle = a)
- },
- XL: function () {
- return this.z.strokeStyle
- },
- setFillColor: function (a) {
- this.z.fillColor = a || ""
- },
- yX: function () {
- return this.z.fillColor
- },
- Kd: v("Yu"),
- remove: function () {
- this.map && this.map.removeEventListener("onmousemove", this.xv);
- jb.prototype.remove.call(this);
- this.gf.length = 0
- },
- mf: function () {
- if (!(2 > this.ha.length)) {
- this.z.mf = o;
- var a = this;
- L.load("poly", function () {
- a.am()
- }, o)
- }
- },
- EW: function () {
- this.z.mf = q;
- var a = this;
- L.load("poly", function () {
- a.tk()
- }, o)
- },
- vX: function () {
- return this.z.mf
- }
- });
-
- function ld(a) {
- jb.call(this);
- this.V = this.map = p;
- this.z = {
- width: 0,
- height: 0,
- Aa: new M(0, 0),
- opacity: 1,
- background: "transparent",
- iy: 1,
- QM: "#000",
- XY: "solid",
- point: p
- };
- this.kO(a);
- this.point = this.z.point
- }
- x.lang.ua(ld, jb, "Division");
- x.extend(ld.prototype, {
- Oj: function () {
- var a = this.z,
- b = this.content,
- c = ['');
- c.push(b);
- c.push("
");
- this.V = Cb(this.map.Rf().ZE, c.join(""))
- },
- initialize: function (a) {
- this.map = a;
- this.Oj();
- this.V && x.M(this.V, J() ? "touchstart" : "mousedown", function (a) {
- na(a)
- });
- return this.V
- },
- draw: function () {
- var a = this.map.We(this.z.point);
- this.z.Aa = new M(-Math.round(this.z.width / 2) - Math.round(this.z.iy), -Math.round(this.z.height / 2) - Math.round(this.z.iy));
- this.V.style.left = a.x + this.z.Aa.width + "px";
- this.V.style.top = a.y + this.z.Aa.height + "px"
- },
- ia: function () {
- return this.z.point
- },
- u1: function () {
- return this.map.Cc(this.ia())
- },
- ta: function (a) {
- this.z.point = a;
- this.draw()
- },
- n_: function (a, b) {
- this.z.width = Math.round(a);
- this.z.height = Math.round(b);
- this.V && (this.V.style.width = this.z.width + "px", this.V.style.height = this.z.height + "px", this.draw())
- }
- });
-
- function md(a, b, c) {
- a && b && (this.imageUrl = a, this.size = b, a = new M(Math.floor(b.width / 2), Math.floor(b.height / 2)), c = c || {}, a = c.anchor || a, b = c.imageOffset || new M(0, 0), this.imageSize = c.imageSize, this.anchor = a, this.imageOffset = b, this.infoWindowAnchor = c.infoWindowAnchor || this.anchor, this.printImageUrl = c.printImageUrl || "")
- }
- x.extend(md.prototype, {
- lO: function (a) {
- a && (this.imageUrl = a)
- },
- D_: function (a) {
- a && (this.printImageUrl = a)
- },
- Ce: function (a) {
- a && (this.size = new M(a.width, a.height))
- },
- qc: function (a) {
- a && (this.anchor = new M(a.width, a.height))
- },
- cu: function (a) {
- a && (this.imageOffset = new M(a.width, a.height))
- },
- t_: function (a) {
- a && (this.infoWindowAnchor = new M(a.width, a.height))
- },
- q_: function (a) {
- a && (this.imageSize = new M(a.width, a.height))
- },
- toString: ea("Icon")
- });
-
- function nd(a, b) {
- if (a) {
- b = b || {};
- this.style = {
- anchor: b.anchor || new M(0, 0),
- fillColor: b.fillColor || "#000",
- sg: b.fillOpacity || 0,
- scale: b.scale || 1,
- rotation: b.rotation || 0,
- strokeColor: b.strokeColor || "#000",
- td: b.strokeOpacity || 1,
- lc: b.strokeWeight
- };
- this.Lb = "number" === typeof a ? a : "UserDefined";
- this.Ni = this.style.anchor;
- this.Cr = new M(0, 0);
- this.anchor = p;
- this.CB = a;
- var c = this;
- L.load("symbol", function () {
- c.Sn()
- }, o)
- }
- }
- x.extend(nd.prototype, {
- setPath: da("CB"),
- setAnchor: function (a) {
- this.Ni = this.style.anchor = a
- },
- setRotation: function (a) {
- this.style.rotation = a
- },
- setScale: function (a) {
- this.style.scale = a
- },
- setStrokeWeight: function (a) {
- this.style.lc = a
- },
- setStrokeColor: function (a) {
- a = x.rs.IC(a, this.style.td);
- this.style.strokeColor = a
- },
- setStrokeOpacity: function (a) {
- this.style.td = a
- },
- setFillOpacity: function (a) {
- this.style.sg = a
- },
- setFillColor: function (a) {
- this.style.fillColor = a
- }
- });
-
- function od(a, b, c, d) {
- a && (this.Rv = {}, this.vL = d ? !!d : q, this.jd = [], this.U_ = a instanceof nd ? a : p, this.aJ = b === j ? o : !!(b.indexOf("%") + 1), this.gk = isNaN(parseFloat(b)) ? 1 : this.aJ ? parseFloat(b) / 100 : parseFloat(b), this.bJ = !!(c.indexOf("%") + 1), this.repeat = c != j ? this.bJ ? parseFloat(c) / 100 : parseFloat(c) : 0)
- };
-
- function sd(a, b) {
- x.lang.Da.call(this);
- this.content = a;
- this.map = p;
- b = b || {};
- this.z = {
- width: b.width || 0,
- height: b.height || 0,
- maxWidth: b.maxWidth || 730,
- Aa: b.offset || new M(0, 0),
- title: b.title || "",
- $E: b.maxContent || "",
- fh: b.enableMaximize || q,
- Rs: b.enableAutoPan === q ? q : o,
- wD: b.enableCloseOnClick === q ? q : o,
- margin: b.margin || [10, 10, 40, 10],
- DC: b.collisions || [
- [10, 10],
- [10, 10],
- [10, 10],
- [10, 10]
- ],
- wY: q,
- rZ: b.onClosing || ea(o),
- mL: q,
- BD: b.enableParano === o ? o : q,
- message: b.message,
- DD: b.enableSearchTool === o ? o : q,
- Tx: b.headerContent || "",
- xD: b.enableContentScroll || q
- };
- if (0 != this.z.width && (220 > this.z.width && (this.z.width = 220), 730 < this.z.width)) this.z.width = 730;
- if (0 != this.z.height && (60 > this.z.height && (this.z.height = 60), 650 < this.z.height)) this.z.height = 650;
- if (0 != this.z.maxWidth && (220 > this.z.maxWidth && (this.z.maxWidth = 220), 730 < this.z.maxWidth)) this.z.maxWidth = 730;
- this.ge = q;
- this.Ji = I.pa;
- this.cb = p;
- var c = this;
- L.load("infowindow", function () {
- c.Ab()
- })
- }
- x.lang.ua(sd, x.lang.Da, "InfoWindow");
- x.extend(sd.prototype, {
- setWidth: function (a) {
- !a && 0 != a || (isNaN(a) || 0 > a) || (0 != a && (220 > a && (a = 220), 730 < a && (a = 730)), this.z.width = a)
- },
- setHeight: function (a) {
- !a && 0 != a || (isNaN(a) || 0 > a) || (0 != a && (60 > a && (a = 60), 650 < a && (a = 650)), this.z.height = a)
- },
- oO: function (a) {
- !a && 0 != a || (isNaN(a) || 0 > a) || (0 != a && (220 > a && (a = 220), 730 < a && (a = 730)), this.z.maxWidth = a)
- },
- Dc: function (a) {
- this.z.title = a
- },
- getTitle: function () {
- return this.z.title
- },
- ad: da("content"),
- Bk: v("content"),
- eu: function (a) {
- this.z.$E = a + ""
- },
- le: t(),
- Rs: function () {
- this.z.Rs = o
- },
- disableAutoPan: function () {
- this.z.Rs = q
- },
- enableCloseOnClick: function () {
- this.z.wD = o
- },
- disableCloseOnClick: function () {
- this.z.wD = q
- },
- fh: function () {
- this.z.fh = o
- },
- ox: function () {
- this.z.fh = q
- },
- show: function () {
- this.Pa = o
- },
- U: function () {
- this.Pa = q
- },
- close: function () {
- this.U()
- },
- ny: function () {
- this.ge = o
- },
- restore: function () {
- this.ge = q
- },
- oh: function () {
- return this.Va()
- },
- Va: ea(q),
- ia: function () {
- if (this.cb && this.cb.ia) return this.cb.ia()
- },
- Qf: function () {
- return this.z.Aa
- }
- });
- Na.prototype.Mb = function (a, b) {
- if (a instanceof sd && (b instanceof O || b instanceof K)) {
- var c = this.R;
- c.Wm ? c.Wm.ta(b) : (c.Wm = new W(b, {
- icon: new md(I.pa + "blank.gif", {
- width: 1,
- height: 1
- }),
- offset: new M(0, 0),
- clickable: q
- }), c.Wm.$R = 1);
- this.Ka(c.Wm);
- c.Wm.Mb(a)
- }
- };
- Na.prototype.Wc = function () {
- var a = this.R.ob || this.R.ul;
- a && a.cb && a.cb.Wc()
- };
- jb.prototype.Mb = function (a) {
- this.map && (this.map.Wc(), a.Pa = o, this.map.R.ul = a, a.cb = this, x.lang.Da.call(a, a.ba))
- };
- jb.prototype.Wc = function () {
- this.map && this.map.R.ul && (this.map.R.ul.Pa = q, x.lang.lx(this.map.R.ul.ba), this.map.R.ul = p)
- };
-
- function td(a, b) {
- jb.call(this);
- this.content = a;
- this.V = this.map = p;
- b = b || {};
- this.z = {
- width: 0,
- Aa: b.offset || new M(0, 0),
- fq: {
- backgroundColor: "#fff",
- border: "1px solid #f00",
- padding: "1px",
- whiteSpace: "nowrap",
- font: "12px " + I.fontFamily,
- zIndex: "80",
- MozUserSelect: "none"
- },
- position: b.position || p,
- qj: b.enableMassClear === q ? q : o,
- jf: o
- };
- 0 > this.z.width && (this.z.width = 0);
- Jb(b.enableClicking) && (this.z.jf = b.enableClicking);
- this.point = this.z.position;
- var c = this;
- L.load("marker", function () {
- c.Ab()
- })
- }
- x.lang.ua(td, jb, "Label");
- x.extend(td.prototype, {
- ia: function () {
- return this.Gv ? this.Gv.ia() : this.point
- },
- ta: function (a) {
- if ((a instanceof O || a instanceof K) && !this.Ix()) this.point = this.z.position = new K(a.lng, a.lat)
- },
- ad: da("content"),
- MF: function (a) {
- 0 <= a && 1 >= a && (this.z.opacity = a)
- },
- Ye: function (a) {
- a instanceof M && (this.z.Aa = new M(a.width, a.height))
- },
- Qf: function () {
- return this.z.Aa
- },
- bd: function (a) {
- a = a || {};
- this.z.fq = x.extend(this.z.fq, a)
- },
- Di: function (a) {
- return this.bd(a)
- },
- Dc: function (a) {
- this.z.title = a || ""
- },
- getTitle: function () {
- return this.z.title
- },
- nO: function (a) {
- this.point = (this.Gv = a) ? this.z.position = a.ia() : this.z.position = p
- },
- Ix: function () {
- return this.Gv || p
- },
- Bk: v("content")
- });
-
- function ud(a, b) {
- if (0 !== arguments.length) {
- jb.apply(this, arguments);
- b = b || {};
- this.z = {
- $a: a,
- opacity: b.opacity || 1,
- vp: b.imageURL || "",
- Hs: b.displayOnMinLevel || 1,
- qj: b.enableMassClear === q ? q : o,
- Gs: b.displayOnMaxLevel || 19,
- O_: b.stretch || q
- };
- 0 === b.opacity && (this.z.opacity = 0);
- var c = this;
- L.load("groundoverlay", function () {
- c.Ab()
- })
- }
- }
- x.lang.ua(ud, jb, "GroundOverlay");
- x.extend(ud.prototype, {
- setBounds: function (a) {
- this.z.$a = a
- },
- getBounds: function () {
- return this.z.$a
- },
- setOpacity: function (a) {
- this.z.opacity = a
- },
- getOpacity: function () {
- return this.z.opacity
- },
- setImageURL: function (a) {
- this.z.vp = a
- },
- getImageURL: function () {
- return this.z.vp
- },
- setDisplayOnMinLevel: function (a) {
- this.z.Hs = a
- },
- getDisplayOnMinLevel: function () {
- return this.z.Hs
- },
- setDisplayOnMaxLevel: function (a) {
- this.z.Gs = a
- },
- getDisplayOnMaxLevel: function () {
- return this.z.Gs
- }
- });
- var vd = 3,
- wd = 4;
-
- function xd() {
- var a = document.createElement("canvas");
- return !(!a.getContext || !a.getContext("2d"))
- }
-
- function yd(a, b) {
- var c = this;
- xd() && (a === j && aa(Error("\u6ca1\u6709\u4f20\u5165points\u6570\u636e")), "[object Array]" !== Object.prototype.toString.call(a) && aa(Error("points\u6570\u636e\u4e0d\u662f\u6570\u7ec4")), b = b || {}, jb.apply(c, arguments), c.ea = {
- ha: a
- }, c.z = {
- shape: b.shape || vd,
- size: b.size || wd,
- color: b.color || "#fa937e",
- qj: o
- }, this.zB = [], this.qe = [], L.load("pointcollection", function () {
- for (var a = 0, b; b = c.zB[a]; a++) c[b.method].apply(c, b.arguments);
- for (a = 0; b = c.qe[a]; a++) c[b.method].apply(c, b.arguments)
- }))
- }
- x.lang.ua(yd, jb, "PointCollection");
- x.extend(yd.prototype, {
- initialize: function (a) {
- this.zB && this.zB.push({
- method: "initialize",
- arguments: arguments
- })
- },
- setPoints: function (a) {
- this.qe && this.qe.push({
- method: "setPoints",
- arguments: arguments
- })
- },
- setStyles: function (a) {
- this.qe && this.qe.push({
- method: "setStyles",
- arguments: arguments
- })
- },
- clear: function () {
- this.qe && this.qe.push({
- method: "clear",
- arguments: arguments
- })
- },
- remove: function () {
- this.qe && this.qe.push({
- method: "remove",
- arguments: arguments
- })
- }
- });
- var zd = new md(I.pa + "marker_red_sprite.png", new M(19, 25), {
- anchor: new M(10, 25),
- infoWindowAnchor: new M(10, 0)
- }),
- Ad = new md(I.pa + "marker_red_sprite.png", new M(20, 11), {
- anchor: new M(6, 11),
- imageOffset: new M(-19, -13)
- });
-
- function W(a, b) {
- jb.call(this);
- b = b || {};
- this.point = a;
- this.Gq = this.map = p;
- this.z = {
- Aa: b.offset || new M(0, 0),
- yj: b.icon || zd,
- Uk: Ad,
- title: b.title || "",
- label: p,
- qK: b.baseZIndex || 0,
- jf: o,
- q5: q,
- ME: q,
- qj: b.enableMassClear === q ? q : o,
- Gb: q,
- VN: b.raiseOnDrag === o ? o : q,
- bO: q,
- Id: b.draggingCursor || I.Id,
- rotation: b.rotation || 0
- };
- b.icon && !b.shadow && (this.z.Uk = p);
- b.enableDragging && (this.z.Gb = b.enableDragging);
- Jb(b.enableClicking) && (this.z.jf = b.enableClicking);
- var c = this;
- L.load("marker", function () {
- c.Ab()
- })
- }
- W.Tu = id.Mm(-90) + 1E6;
- W.FG = W.Tu + 1E6;
- x.lang.ua(W, jb, "Marker");
- x.extend(W.prototype, {
- Vb: function (a) {
- if (a instanceof md || a instanceof nd) this.z.yj = a
- },
- gp: function () {
- return this.z.yj
- },
- Vy: function (a) {
- a instanceof md && (this.z.Uk = a)
- },
- getShadow: function () {
- return this.z.Uk
- },
- qn: function (a) {
- this.z.label = a || p
- },
- dE: function () {
- return this.z.label
- },
- Gb: function () {
- this.z.Gb = o
- },
- aD: function () {
- this.z.Gb = q
- },
- eo: v("point"),
- ia: function () {
- return this.point instanceof O || this.point instanceof K ? this.map ? gb(this.point, this.map) : new O(this.point.lng, this.point.lat) : this.point
- },
- ta: function (a) {
- this.point = this.map ? $a(a, this.map) : a
- },
- Ei: function (a, b) {
- this.z.ME = !!a;
- a && (this.aH = b || 0)
- },
- Dc: function (a) {
- this.z.title = a + ""
- },
- getTitle: function () {
- return this.z.title
- },
- Ye: function (a) {
- a instanceof M && (this.z.Aa = a)
- },
- Qf: function () {
- return this.z.Aa
- },
- nn: da("Gq"),
- Ty: function (a) {
- this.z.rotation = a
- },
- VL: function () {
- return this.z.rotation
- }
- });
-
- function Bd(a, b) {
- kd.call(this, b);
- b = b || {};
- this.z.sg = b.fillOpacity ? b.fillOpacity : 0.65;
- this.z.fillColor = "" == b.fillColor ? "" : b.fillColor ? b.fillColor : "#fff";
- this.me(a);
- var c = this;
- L.load("poly", function () {
- c.Ab()
- })
- }
- x.lang.ua(Bd, kd, "Polygon");
- x.extend(Bd.prototype, {
- me: function (a, b) {
- this.Bo = kd.Cx(a).slice(0);
- var c = kd.Cx(a).slice(0);
- 1 < c.length && c.push(new O(c[0].lng, c[0].lat));
- kd.prototype.me.call(this, c, b)
- },
- vn: function (a, b) {
- this.Bo[a] && (this.Bo[a] = new O(b.lng, b.lat), this.ha[a] = new O(b.lng, b.lat), 0 == a && !this.ha[0].ab(this.ha[this.ha.length - 1]) && (this.ha[this.ha.length - 1] = new O(b.lng, b.lat)), this.Ih())
- },
- ve: function () {
- var a = this.Bo;
- 0 == a.length && (a = this.ha);
- return a
- }
- });
-
- function Cd(a, b) {
- kd.call(this, b);
- this.Wr(a);
- var c = this;
- L.load("poly", function () {
- c.Ab()
- })
- }
- x.lang.ua(Cd, kd, "Polyline");
-
- function Dd(a, b, c) {
- this.point = a;
- this.xa = Math.abs(b);
- Bd.call(this, [], c)
- }
- Dd.iF = [0.01, 1.0E-4, 1.0E-5, 4.0E-6];
- x.lang.ua(Dd, Bd, "Circle");
- x.extend(Dd.prototype, {
- initialize: function (a) {
- this.map = a;
- this.ha = this.tv(this.point, this.xa);
- this.Ih();
- return p
- },
- pc: function () {
- return gb(this.point, this.map)
- },
- wc: v("point"),
- Xf: function (a) {
- a && (this.point = a)
- },
- TL: v("xa"),
- wf: function (a) {
- this.xa = Math.abs(a)
- },
- tv: function (a, b) {
- if (!a || !b || !this.map) return [];
- for (var c = [], d = b / 6378800, e = Math.PI / 180 * a.lat, f = Math.PI / 180 * a.lng, g = 0; 360 > g; g += 9) {
- var i = Math.PI / 180 * g,
- k = Math.asin(Math.sin(e) * Math.cos(d) + Math.cos(e) * Math.sin(d) * Math.cos(i)),
- i = new O(((f - Math.atan2(Math.sin(i) * Math.sin(d) * Math.cos(e), Math.cos(d) - Math.sin(e) * Math.sin(k)) + Math.PI) % (2 * Math.PI) - Math.PI) * (180 / Math.PI), k * (180 / Math.PI));
- c.push(i)
- }
- d = c[0];
- c.push(new O(d.lng, d.lat));
- return c
- }
- });
- var Ed = {};
-
- function Fd(a) {
- this.map = a;
- this.Vm = [];
- this.Yf = [];
- this.Hg = [];
- this.IV = 300;
- this.sF = 0;
- this.xg = {};
- this.hj = {};
- this.uh = 0;
- this.FE = o;
- this.RK = {};
- this.mo = this.Vn(1);
- this.nd = this.Vn(2);
- this.Fl = this.Vn(3);
- a.platform.appendChild(this.mo);
- a.platform.appendChild(this.nd);
- a.platform.appendChild(this.Fl);
- var b = 256 * Math.pow(2, 15),
- c = 3 * b,
- a = T.tb(new K(180, 0)).lng,
- c = c - a,
- b = -3 * b,
- d = T.tb(new K(-180, 0)).lng;
- this.hB = a;
- this.EI = d;
- this.eB = c + (d - b);
- this.FI = a - d
- }
- B.Xe(function (a) {
- var b = new Fd(a);
- b.ra();
- a.fb = b
- });
- x.extend(Fd.prototype, {
- ra: function () {
- var a = this,
- b = a.map;
- b.addEventListener("loadcode", function () {
- a.ky()
- });
- b.addEventListener("addtilelayer", function (b) {
- a.$g(b)
- });
- b.addEventListener("removetilelayer", function (b) {
- a.Ah(b)
- });
- b.addEventListener("setmaptype", function (b) {
- a.Fg(b)
- });
- b.addEventListener("zoomstartcode", function (b) {
- a.Kc(b)
- });
- b.addEventListener("setcustomstyles", function (b) {
- a.du(b.target);
- a.Vf(o)
- })
- },
- ky: function () {
- var a = this;
- if (x.da.ma) try {
- document.execCommand("BackgroundImageCache", q, o)
- } catch (b) { }
- this.loaded || a.Zx();
- a.Vf();
- this.loaded || (this.loaded = o, L.load("tile", function () {
- a.tQ()
- }))
- },
- Zx: function () {
- for (var a = this.map.oa().xr, b = 0; b < a.length; b++) {
- var c = new Gd;
- x.extend(c, a[b]);
- this.Vm.push(c);
- c.ra(this.map, this.mo)
- }
- this.du()
- },
- Vn: function (a) {
- var b = H("div");
- b.style.position = "absolute";
- b.style.overflow = "visible";
- b.style.left = b.style.top = "0";
- b.style.zIndex = a;
- return b
- },
- zf: function () {
- this.uh--;
- var a = this;
- this.FE && (this.map.dispatchEvent(new N("onfirsttileloaded")), this.FE = q);
- 0 == this.uh && (this.Ri && (clearTimeout(this.Ri), this.Ri = p), this.Ri = setTimeout(function () {
- if (a.uh == 0) {
- a.map.dispatchEvent(new N("ontilesloaded"));
- a.FE = o
- }
- a.Ri = p
- }, 80))
- },
- oE: function (a, b) {
- return "TILE-" + b.ba + "-" + a[0] + "-" + a[1] + "-" + a[2]
- },
- Wx: function (a) {
- var b = a.Hb;
- b && Bb(b) && b.parentNode.removeChild(b);
- delete this.xg[a.name];
- a.loaded || (Hd(a), a.Hb = p, a.Cj = p)
- },
- Lm: function (a, b, c) {
- var d = this.map,
- e = d.oa(),
- f = d.Na,
- g = d.dc,
- i = e.yc(f),
- k = this.IL(),
- l = k[0],
- m = k[1],
- n = k[2],
- s = k[3],
- u = k[4],
- c = "undefined" != typeof c ? c : 0,
- e = e.k.Ob,
- k = d.ba.replace(/^TANGRAM_/, "");
- for (this.Rc ? this.Rc.length = 0 : this.Rc = []; l < n; l++)
- for (var w = m; w < s; w++) {
- var y = l,
- D = w;
- this.Rc.push([y, D]);
- y = k + "_" + b + "_" + y + "_" + D + "_" + f;
- this.RK[y] = y
- }
- this.Rc.sort(function (a) {
- return function (b, c) {
- return 0.4 * Math.abs(b[0] - a[0]) + 0.6 * Math.abs(b[1] - a[1]) - (0.4 * Math.abs(c[0] - a[0]) + 0.6 * Math.abs(c[1] - a[1]))
- }
- }([u[0] - 1, u[1] - 1]));
- g = [Math.round(-g.lng / i), Math.round(g.lat / i)];
- l = -d.offsetY + d.height / 2;
- a.style.left = -d.offsetX + d.width / 2 + "px";
- a.style.top = l + "px";
- this.Oe ? this.Oe.length = 0 : this.Oe = [];
- l = 0;
- for (d = a.childNodes.length; l < d; l++) w = a.childNodes[l], w.tr = q, this.Oe.push(w);
- if (l = this.$m)
- for (var C in l) delete l[C];
- else this.$m = {};
- this.Pe ? this.Pe.length = 0 : this.Pe = [];
- l = 0;
- for (d = this.Rc.length; l < d; l++) {
- C = this.Rc[l][0];
- i = this.Rc[l][1];
- w = 0;
- for (m = this.Oe.length; w < m; w++)
- if (n = this.Oe[w], n.id == k + "_" + b + "_" + C + "_" + i + "_" + f) {
- n.tr = o;
- this.$m[n.id] = n;
- break
- }
- }
- l = 0;
- for (d = this.Oe.length; l < d; l++) n = this.Oe[l], n.tr || this.Pe.push(n);
- this.An = [];
- w = (e + c) * this.map.B.devicePixelRatio;
- l = 0;
- for (d = this.Rc.length; l < d; l++) C = this.Rc[l][0], i = this.Rc[l][1], s = C * e + g[0] - c / 2, u = (-1 - i) * e + g[1] - c / 2, y = k + "_" + b + "_" + C + "_" + i + "_" + f, m = this.$m[y], n = p, m ? (n = m.style, n.left = s + "px", n.top = u + "px", m.af || this.An.push([C, i, m])) : (0 < this.Pe.length ? (m = this.Pe.shift(), m.getContext("2d").clearRect(-c / 2, -c / 2, w, w), n = m.style) : (m = document.createElement("canvas"), n = m.style, n.position = "absolute", n.width = e + c + "px", n.height = e + c + "px", this.ey() && (n.WebkitTransform = "scale(1.001)"), m.setAttribute("width", w), m.setAttribute("height", w), a.appendChild(m)), m.id = y, n.left = s + "px", n.top = u + "px", -1 < y.indexOf("bg") && (s = "#F3F1EC", this.map.B.Ko && (s = this.map.B.Ko), n.background = s ? s : ""), this.An.push([C, i, m])), m.style.visibility = "";
- l = 0;
- for (d = this.Pe.length; l < d; l++) this.Pe[l].style.visibility = "hidden";
- return this.An
- },
- ey: function () {
- return /M040/i.test(navigator.userAgent)
- },
- IL: function () {
- var a = this.map,
- b = a.oa(),
- c = b.tE(a.Na),
- d = a.dc,
- e = Math.ceil(d.lng / c),
- f = Math.ceil(d.lat / c),
- b = b.k.Ob,
- c = [e, f, (d.lng - e * c) / c * b, (d.lat - f * c) / c * b];
- return [c[0] - Math.ceil((a.width / 2 - c[2]) / b), c[1] - Math.ceil((a.height / 2 - c[3]) / b), c[0] + Math.ceil((a.width / 2 + c[2]) / b), c[1] + Math.ceil((a.height / 2 + c[3]) / b), c]
- },
- J_: function (a, b, c, d) {
- var e = this;
- e.e2 = b;
- var f = this.map.oa(),
- g = e.oE(a, c),
- i = f.k.Ob,
- b = [a[0] * i + b[0], (-1 - a[1]) * i + b[1]],
- k = this.xg[g];
- if (this.map.oa() !== bb && this.map.oa() !== Ua) {
- var l = this.os(a[0], a[2]).offsetX;
- b[0] += l;
- b.y1 = l
- }
- k && k.Hb ? (zb(k.Hb, b), d && (d = new S(a[0], a[1]), f = this.map.B.ze ? this.map.B.ze.style : "normal", d = c.getTilesUrl(d, a[2], f), k.loaded = q, Id(k, d)), k.loaded ? this.zf() : Jd(k, function () {
- e.zf()
- })) : (k = this.hj[g]) && k.Hb ? (c.Pb.insertBefore(k.Hb, c.Pb.lastChild), this.xg[g] = k, zb(k.Hb, b), d && (d = new S(a[0], a[1]), f = this.map.B.ze ? this.map.B.ze.style : "normal", d = c.getTilesUrl(d, a[2], f), k.loaded = q, Id(k, d)), k.loaded ? this.zf() : Jd(k, function () {
- e.zf()
- })) : (k = i * Math.pow(2, f.Dm() - a[2]), new K(a[0] * k, a[1] * k), d = new S(a[0], a[1]), f = this.map.B.ze ? this.map.B.ze.style : "normal", d = c.getTilesUrl(d, a[2], f), k = new Kd(this, d, b, a, c), Jd(k, function () {
- e.zf()
- }), k.lo(), this.xg[g] = k)
- },
- zf: function () {
- this.uh--;
- var a = this;
- 0 == this.uh && (this.Ri && (clearTimeout(this.Ri), this.Ri = p), this.Ri = setTimeout(function () {
- if (a.uh == 0) {
- a.map.dispatchEvent(new N("ontilesloaded"));
- if (wa) {
- if (ta && ua && va) {
- var b = db(),
- c = a.map.vb();
- setTimeout(function () {
- Ta(5030, {
- load_script_time: ua - ta,
- load_tiles_time: b - va,
- map_width: c.width,
- map_height: c.height,
- map_size: c.width * c.height
- })
- }, 1E4);
- B.Ln("cus.fire", "time", {
- z_imgfirstloaded: b - va
- })
- }
- wa = q
- }
- }
- a.Ri = p
- }, 80))
- },
- oE: function (a, b) {
- return this.map.oa() === Ra ? "TILE-" + b.ba + "-" + this.map.Uw + "-" + a[0] + "-" + a[1] + "-" + a[2] : "TILE-" + b.ba + "-" + a[0] + "-" + a[1] + "-" + a[2]
- },
- Wx: function (a) {
- var b = a.Hb;
- b && (Ld(b), Bb(b) && b.parentNode.removeChild(b));
- delete this.xg[a.name];
- a.loaded || (Ld(b), Hd(a), a.Hb = p, a.Cj = p)
- },
- os: function (a, b) {
- for (var c = 0, d = 6 * Math.pow(2, b - 3), e = d / 2 - 1, f = -d / 2; a > e;) a -= d, c -= this.eB;
- for (; a < f;) a += d, c += this.eB;
- c = Math.round(c / Math.pow(2, 18 - b));
- return {
- offsetX: c,
- nm: a
- }
- },
- KV: function (a) {
- for (var b = a.lng; b > this.hB;) b -= this.FI;
- for (; b < this.EI;) b += this.FI;
- a.lng = b;
- return a
- },
- LV: function (a, b) {
- for (var c = 256 * Math.pow(2, 18 - b), d = Math.floor(this.hB / c), e = Math.floor(this.EI / c), c = Math.floor(this.eB / c), f = [], g = 0; g < a.length; g++) {
- var i = a[g],
- k = i[0],
- i = i[1];
- if (k >= d) {
- var k = k + c,
- l = "id_" + k + "_" + i + "_" + b;
- a[l] || (a[l] = o, f.push([k, i]))
- } else k <= e && (k -= c, l = "id_" + k + "_" + i + "_" + b, a[l] || (a[l] = o, f.push([k, i])))
- }
- for (g = 0; g < f.length; g++) a.push(f[g]);
- return a
- },
- Vf: function (a) {
- var b = this;
- if (b.map.oa() == Ra) L.load("coordtrans", function () {
- b.map.Sb || (b.map.Sb = Ra.Ak(b.map.bh), b.map.Uw = Ra.GL(b.map.Sb));
- b.HI()
- }, o);
- else {
- if (a && a)
- for (var c in this.hj) delete this.hj[c];
- b.HI(a)
- }
- },
- HI: function (a) {
- var b = this.Vm.concat(this.Yf),
- c = b.length,
- d = this.map,
- e = d.oa(),
- f = d.dc;
- this.map.oa() !== bb && this.map.oa() !== Ua && (f = this.KV(f));
- for (var g = 0; g < c; g++) {
- var i = b[g];
- if (i.fc && d.Na < i.fc) break;
- if (i.Mw) {
- var k = this.Pb = i.Pb;
- if (a) {
- var l = k;
- if (l && l.childNodes)
- for (var m = l.childNodes.length, n = m - 1; 0 <= n; n--) m = l.childNodes[n], l.removeChild(m), m = p
- }
- if (this.map.Wb()) {
- this.nd.style.display = "block";
- k.style.display = "none";
- this.map.dispatchEvent(new N("vectorchanged"), {
- isvector: o
- });
- continue
- } else k.style.display = "block", this.nd.style.display = "none", this.map.dispatchEvent(new N("vectorchanged"), {
- isvector: q
- })
- }
- if (!i.uI && !(i.Ap && !this.map.Wb() || i.EM && this.map.Wb())) {
- d = this.map;
- e = d.oa();
- k = e.Hm();
- m = d.Na;
- f = d.dc;
- e == Ra && f.ab(new K(0, 0)) && (f = d.dc = k.Jk(d.re, d.Sb));
- var s = e.yc(m),
- k = e.tE(m),
- l = Math.ceil(f.lng / k),
- u = Math.ceil(f.lat / k),
- w = e.k.Ob,
- k = [l, u, (f.lng - l * k) / k * w, (f.lat - u * k) / k * w],
- u = 2 * d.width,
- n = k[0] - Math.ceil((u / 2 - k[2]) / w),
- l = k[1] - Math.ceil((d.height / 2 - k[3]) / w),
- u = k[0] + Math.ceil((u / 2 + k[2]) / w),
- y = 0;
- e === Ra && 15 == d.ga() && (y = 1);
- e = k[1] + Math.ceil((d.height / 2 + k[3]) / w) + y;
- this.lK = new K(f.lng, f.lat);
- var D = this.xg,
- w = -this.lK.lng / s,
- y = this.lK.lat / s,
- s = [Math.ceil(w), Math.ceil(y)],
- f = d.ga(),
- C;
- for (C in D) {
- var F = D[C],
- z = F.info;
- (z[2] != f || z[2] == f && (n > z[0] || u <= z[0] || l > z[1] || e <= z[1])) && this.Wx(F)
- }
- D = -d.offsetX + d.width / 2;
- F = -d.offsetY + d.height / 2;
- i.Pb && (i.Pb.style.left = Math.ceil(w + D) - s[0] + "px", i.Pb.style.top = Math.ceil(y + F) - s[1] + "px", i.Pb.style.WebkitTransform = "translate3d(0,0,0)");
- w = [];
- for (d.cC = []; n < u; n++)
- for (y = l; y < e; y++) w.push([n, y]), d.cC.push({
- x: n,
- y: y
- });
- this.map.oa() !== bb && this.map.oa() !== Ua && (w = this.LV(w, m));
- w.sort(function (a) {
- return function (b, c) {
- return 0.4 * Math.abs(b[0] - a[0]) + 0.6 * Math.abs(b[1] - a[1]) - (0.4 * Math.abs(c[0] - a[0]) + 0.6 * Math.abs(c[1] - a[1]))
- }
- }([k[0] - 1, k[1] - 1]));
- k = Math.ceil(this.hB / (256 * Math.pow(2, 18 - f)));
- m = w.length;
- this.uh += m;
- for (n = 0; n < m; n++) {
- if (i.xO === o && (l = this.os(w[n][0], f), l.nm > k - 1 || l.nm < -k)) continue;
- this.J_([w[n][0], w[n][1], f], s, i, a)
- }
- }
- }
- },
- $g: function (a) {
- var b = this,
- c = a.target,
- a = b.map.Wb();
- if (c instanceof fb) a && !c.Rm && (c.ra(this.map, this.nd), c.Rm = o);
- else if (c.Gh && this.map.$g(c.Gh), c.Ap) {
- for (a = 0; a < b.Hg.length; a++)
- if (b.Hg[a] == c) return;
- L.load("vector", function () {
- c.ra(b.map, b.nd);
- b.Hg.push(c)
- }, o)
- } else {
- for (a = 0; a < b.Yf.length; a++)
- if (b.Yf[a] == c) return;
- c.ra(this.map, this.Fl);
- b.Yf.push(c)
- }
- },
- Ah: function (a) {
- var a = a.target,
- b = this.map.Wb();
- if (a instanceof fb) b && a.Rm && (a.remove(), a.Rm = q);
- else {
- a.Gh && this.map.Ah(a.Gh);
- if (a.Ap)
- for (var b = 0, c = this.Hg.length; b < c; b++) a == this.Hg[b] && this.Hg.splice(b, 1);
- else {
- b = 0;
- for (c = this.Yf.length; b < c; b++) a == this.Yf[b] && this.Yf.splice(b, 1)
- }
- a.remove()
- }
- },
- Fg: function () {
- for (var a = this.Vm, b = 0, c = a.length; b < c; b++) a[b].remove();
- delete this.Pb;
- this.Vm = [];
- this.hj = this.xg = {};
- this.Zx();
- this.Vf()
- },
- Kc: function () {
- var a = this;
- a.vd && x.K.U(a.vd);
- setTimeout(function () {
- a.Vf();
- a.map.dispatchEvent(new N("onzoomend"))
- }, 10)
- },
- g5: t(),
- du: function (a) {
- var b = this.map.oa();
- if (!this.map.Wb() && (a ? this.map.B.R_ = a : a = this.map.B.R_, a))
- for (var c = p, c = "2" == B.kz ? [B.url.proto + B.url.domain.main_domain_cdn.other[0] + "/"] : [B.url.proto + B.url.domain.main_domain_cdn.baidu[0] + "/", B.url.proto + B.url.domain.main_domain_cdn.baidu[1] + "/", B.url.proto + B.url.domain.main_domain_cdn.baidu[2] + "/"], d = 0, e; e = this.Vm[d]; d++)
- if (e.xO == o) {
- b.k.Zb = 18;
- e.getTilesUrl = function (b, d) {
- var e = b.x,
- e = this.map.fb.os(e, d).nm,
- k = b.y,
- l = Vb("normal"),
- m = 1;
- this.map.Xx() && (m = 2);
- l = "customimage/tile?qt=customimage&x=" + e + "&y=" + k + "&z=" + d + "&udt=" + l + "&scale=" + m + "&ak=" + qa;
- l = a.styleStr ? l + ("&styles=" + encodeURIComponent(a.styleStr)) : l + ("&customid=" + a.style);
- // l = c[Math.abs(e + k) % c.length] + l; // yangjianfei 注释
- // return l = Fc(l) // yangjianfei 注释
- return `./plugin/offline/map/${d}/${e}/${k}.jpg`;
- };
- break
- }
- }
- });
-
- function Kd(a, b, c, d, e) {
- this.Cj = a;
- this.position = c;
- this.ev = [];
- this.name = a.oE(d, e);
- this.info = d;
- this.NO = e;
- this.KJ = e.Gt();
- a = H("img");
- Ab(a);
- a.zL = q;
- this.bd(a);
- this.Hb = a;
- this.src = b;
- Md && (this.Hb.style.opacity = 0);
- var f = this;
- document.createElement("canvas").getContext("2d");
- this.Hb.onload = function () {
- B.ZY.fR();
- Nd(f)
- };
- this.Hb.onerror = function () {
- Hd(f);
- if (f.Cj) {
- var a = f.Cj.map.oa();
- if (a.k.ED) {
- f.error = o;
- f.Hb.src = a.k.ED;
- f.Hb && !Bb(f.Hb) && e.Pb.appendChild(f.Hb)
- }
- }
- };
- a = p
- }
-
- function Nd(a) {
- a.loaded = o;
- if (a.Cj) {
- var b = a.Cj,
- c = b.hj;
- c[a.name] || (b.sF++, c[a.name] = a);
- a.Hb && !Bb(a.Hb) && a.NO.Pb && (a.NO.Pb.appendChild(a.Hb), 6 >= x.da.ma && (0 < x.da.ma && a.KJ) && (a.Hb.style.cssText += ';filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + a.src + '",sizingMethod=scale);'));
- var d = b.sF - b.IV,
- e;
- for (e in c) {
- if (0 >= d) break;
- if (!b.xg[e]) {
- c[e].Cj = p;
- var f = c[e].Hb;
- f && f.parentNode && (f.parentNode.removeChild(f), Ld(f));
- f = p;
- c[e].Hb = p;
- delete c[e];
- b.sF--;
- d--
- }
- }
- Md && new vb({
- Hc: 20,
- duration: 200,
- va: function (b) {
- if (a.Hb && a.Hb.style) a.Hb.style.opacity = b * 1
- },
- finish: function () {
- a.Hb && a.Hb.style && delete a.Hb.style.opacity
- }
- });
- Hd(a)
- }
- }
- Kd.prototype.bd = function (a) {
- a = a.style;
- if (this.Cj) {
- var b = this.Cj.map.oa();
- a.position = "absolute";
- a.border = "none";
- a.width = b.k.Ob + "px";
- a.height = b.k.Ob + "px";
- a.left = this.position[0] + "px";
- a.top = this.position[1] + "px";
- a.maxWidth = "none"
- }
- };
-
- function Jd(a, b) {
- a.ev.push(b)
- }
- Kd.prototype.lo = function () {
- this.Hb.src = 0 < x.da.ma && 6 >= x.da.ma && this.KJ ? I.pa + "blank.gif" : "" !== this.src && this.Hb.src == this.src ? this.src + "&t = " + Date.now() : this.src
- };
-
- function Hd(a) {
- for (var b = 0; b < a.ev.length; b++) a.ev[b]();
- a.ev.length = 0
- }
-
- function Ld(a) {
- if (a) {
- a.onload = a.onerror = p;
- var b = a.attributes,
- c, d, e;
- if (b) {
- d = b.length;
- for (c = 0; c < d; c += 1) e = b[c].name, "unknown" !== typeof a[e] && ab(a[e]) && (a[e] = p)
- }
- if (b = a.children) {
- d = b.length;
- for (c = 0; c < d; c += 1) Ld(a.children[c])
- }
- }
- }
-
- function Id(a, b) {
- a.src = b;
- a.lo()
- }
- var Md = !x.da.ma || 8 < x.da.ma;
-
- function Gd(a) {
- this.vh = a || {};
- this.eW = this.vh.copyright || p;
- this.p0 = this.vh.transparentPng || q;
- this.Mw = this.vh.baseLayer || q;
- this.zIndex = this.vh.zIndex || 0;
- this.ba = Gd.TS++
- }
- Gd.TS = 0;
- x.lang.ua(Gd, x.lang.Da, "TileLayer");
- x.extend(Gd.prototype, {
- ra: function (a, b) {
- this.Mw && (this.zIndex = -100);
- this.map = a;
- if (!this.Pb) {
- var c = H("div"),
- d = c.style;
- d.position = "absolute";
- d.overflow = "visible";
- d.zIndex = this.zIndex;
- d.left = Math.ceil(-a.offsetX + a.width / 2) + "px";
- d.top = Math.ceil(-a.offsetY + a.height / 2) + "px";
- b.appendChild(c);
- this.Pb = c
- }
- },
- remove: function () {
- this.Pb && this.Pb.parentNode && (this.Pb.innerHTML = "", this.Pb.parentNode.removeChild(this.Pb));
- delete this.Pb
- },
- Gt: v("p0"),
- getTilesUrl: function (a, b) {
- if (this.map.oa() !== bb && this.map.oa() !== Ua) var c = this.map.fb.os(a.x, b).nm;
- var d = "";
- this.vh.tileUrlTemplate && (d = this.vh.tileUrlTemplate.replace(/\{X\}/, c), d = d.replace(/\{Y\}/, a.y), d = d.replace(/\{Z\}/, b));
- return d
- },
- Am: v("eW"),
- oa: function () {
- return this.xb || Oa
- }
- });
-
- function Od(a, b) {
- Kb(a) ? b = a || {} : (b = b || {}, b.databoxId = a);
- this.k = {
- SK: b.databoxId,
- hh: b.geotableId,
- hn: b.q || "",
- hz: b.tags || "",
- filter: b.filter || "",
- bz: b.sortby || "",
- P_: b.styleId || "",
- bm: b.ak || qa,
- Iw: b.age || 36E5,
- zIndex: 11,
- VY: "VectorCloudLayer",
- Ik: b.hotspotName || "vector_md_" + (1E5 * Math.random()).toFixed(0),
- qV: "LBS\u4e91\u9ebb\u70b9\u5c42"
- };
- this.Ap = o;
- Gd.call(this, this.k);
- this.yW = B.oc + "geosearch/detail/";
- this.zW = B.oc + "geosearch/v2/detail/";
- this.sp = {}
- }
- x.ua(Od, Gd, "VectorCloudLayer");
-
- function Pd(a) {
- a = a || {};
- this.k = x.extend(a, {
- zIndex: 1,
- VY: "VectorTrafficLayer",
- qV: "\u77e2\u91cf\u8def\u51b5\u5c42"
- });
- this.Ap = o;
- Gd.call(this, this.k);
- this.l0 = B.url.proto + B.url.domain.vector_traffic + "/gvd/?qt=lgvd&styles=pl&layers=tf";
- this.Eb = {
- "0": [2, 1354709503, 2, 2, 0, [], 0, 0],
- 1: [2, 1354709503, 3, 2, 0, [], 0, 0],
- 10: [2, -231722753, 2, 2, 0, [], 0, 0],
- 11: [2, -231722753, 3, 2, 0, [], 0, 0],
- 12: [2, -231722753, 4, 2, 0, [], 0, 0],
- 13: [2, -231722753, 5, 2, 0, [], 0, 0],
- 14: [2, -231722753, 6, 2, 0, [], 0, 0],
- 15: [2, -1, 4, 0, 0, [], 0, 0],
- 16: [2, -1, 5.5, 0, 0, [], 0, 0],
- 17: [2, -1, 7, 0, 0, [], 0, 0],
- 18: [2, -1, 8.5, 0, 0, [], 0, 0],
- 19: [2, -1, 10, 0, 0, [], 0, 0],
- 2: [2, 1354709503, 4, 2, 0, [], 0, 0],
- 3: [2, 1354709503, 5, 2, 0, [], 0, 0],
- 4: [2, 1354709503, 6, 2, 0, [], 0, 0],
- 5: [2, -6350337, 2, 2, 0, [], 0, 0],
- 6: [2, -6350337, 3, 2, 0, [], 0, 0],
- 7: [2, -6350337, 4, 2, 0, [], 0, 0],
- 8: [2, -6350337, 5, 2, 0, [], 0, 0],
- 9: [2, -6350337, 6, 2, 0, [], 0, 0]
- }
- }
- x.ua(Pd, Gd, "VectorTrafficLayer");
-
- function fb(a) {
- this.JV = [B.url.proto + B.url.domain.TILE_ONLINE_URLS[1] + "/gvd/?", B.url.proto + B.url.domain.TILE_ONLINE_URLS[2] + "/gvd/?", B.url.proto + B.url.domain.TILE_ONLINE_URLS[3] + "/gvd/?"];
- this.k = {
- uL: q
- };
- for (var b in a) this.k[b] = a[b];
- this.di = this.Mh = this.Xa = this.C = this.D = p;
- this.JM = 0;
- var c = this;
- L.load("vector", function () {
- c.Ee()
- })
- }
- x.extend(fb.prototype, {
- ra: function (a, b) {
- this.D = a;
- this.C = b
- },
- remove: function () {
- this.C = this.D = p
- }
- });
-
- function Qd(a) {
- Gd.call(this, a);
- this.k = a || {};
- this.EM = o;
- if (this.k.predictDate) {
- if (1 > this.k.predictDate.weekday || 7 < this.k.predictDate.weekday) this.k.predictDate = 1;
- if (0 > this.k.predictDate.hour || 23 < this.k.predictDate.hour) this.k.predictDate.hour = 0
- }
- this.UU = B.url.proto + B.url.domain.traffic + "/traffic/"
- }
- Qd.prototype = new Gd;
- Qd.prototype.ra = function (a, b) {
- Gd.prototype.ra.call(this, a, b);
- this.D = a
- };
- Qd.prototype.Gt = ea(o);
- Qd.prototype.getTilesUrl = function (a, b) {
- var c = "";
- this.k.predictDate ? c = "HistoryService?day=" + (this.k.predictDate.weekday - 1) + "&hour=" + this.k.predictDate.hour + "&t=" + (new Date).getTime() + "&" : (c = "TrafficTileService?time=" + (new Date).getTime() + "&", c += "label=web2D&v=016&");
- var c = this.UU + c + "level=" + b + "&x=" + a.x + "&y=" + a.y,
- d = 1;
- this.D.Xx() && (d = 2);
- return (c + "&scaler=" + d).replace(/-(\d+)/gi, "M$1")
- };
- var Rd = [B.url.proto + B.url.domain.TILES_YUN_HOST[0] + "/georender/gss", B.url.proto + B.url.domain.TILES_YUN_HOST[1] + "/georender/gss", B.url.proto + B.url.domain.TILES_YUN_HOST[2] + "/georender/gss", B.url.proto + B.url.domain.TILES_YUN_HOST[3] + "/georender/gss"],
- Sd = B.url.proto + B.url.domain.main_domain_nocdn.baidu + "/style/poi/rangestyle",
- Td = 100;
-
- function qb(a, b) {
- Gd.call(this);
- var c = this;
- this.EM = o;
- var d = q;
- try {
- document.createElement("canvas").getContext("2d"), d = o
- } catch (e) {
- d = q
- }
- d && (this.Gh = new Od(a, b), this.Gh.aG = this);
- Kb(a) ? b = a || {} : (c.Yn = a, b = b || {});
- b.geotableId && (c.Bf = b.geotableId);
- b.databoxId && (c.Yn = b.databoxId);
- d = B.oc + "geosearch";
- c.nc = {
- QN: b.pointDensity || Td,
- tY: d + "/detail/",
- uY: d + "/v2/detail/",
- Iw: b.age || 36E5,
- hn: b.q || "",
- Z_: "png",
- D3: [5, 5, 5, 5],
- UY: {
- backgroundColor: "#FFFFD5",
- borderColor: "#808080"
- },
- bm: b.ak || qa,
- hz: b.tags || "",
- filter: b.filter || "",
- bz: b.sortby || "",
- Ik: b.hotspotName || "tile_md_" + (1E5 * Math.random()).toFixed(0),
- jG: o
- };
- L.load("clayer", function () {
- c.Td()
- })
- }
- qb.prototype = new Gd;
- qb.prototype.ra = function (a, b) {
- Gd.prototype.ra.call(this, a, b);
- this.D = a
- };
- qb.prototype.getTilesUrl = function (a, b) {
- var c = a.x,
- d = a.y,
- e = this.nc,
- c = Rd[Math.abs(c + d) % Rd.length] + "/image?grids=" + c + "_" + d + "_" + b + "&q=" + e.hn + "&tags=" + e.hz + "&filter=" + e.filter + "&sortby=" + e.bz + "&ak=" + this.nc.bm + "&age=" + e.Iw + "&page_size=" + e.QN + "&format=" + e.Z_;
- e.jG || (e = (1E5 * Math.random()).toFixed(0), c += "&timeStamp=" + e);
- this.Bf ? c += "&geotable_id=" + this.Bf : this.Yn && (c += "&databox_id=" + this.Yn);
- return c
- };
- qb.prototype.enableUseCache = function () {
- this.nc.jG = o
- };
- qb.prototype.disableUseCache = function () {
- this.nc.jG = q
- };
- qb.rU = /^point\(|\)$/ig;
- qb.sU = /\s+/;
- qb.uU = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
-
- function Ud(a, b, c) {
- this.ff = a;
- this.xr = b instanceof Gd ? [b] : b.slice(0);
- c = c || {};
- this.k = {
- $_: c.tips || "",
- SE: "",
- fc: c.minZoom || 4,
- Zb: c.maxZoom || 18,
- C3: c.minZoom || 4,
- B3: c.maxZoom || 18,
- Ob: 256,
- ZF: c.textColor || "black",
- ED: c.errorImageUrl || "",
- $a: new ib(new K(-21364736, -16023552), new K(23855104, 19431424)),
- Nd: c.projection || new T
- };
- 1 <= this.xr.length && (this.xr[0].Mw = o);
- x.extend(this.k, c)
- }
- x.extend(Ud.prototype, {
- getName: v("ff"),
- lt: function () {
- return this.k.$_
- },
- h3: function () {
- return this.k.SE
- },
- gY: function () {
- return this.xr[0]
- },
- v3: v("xr"),
- hY: function () {
- return this.k.Ob
- },
- hp: function () {
- return this.k.fc
- },
- Dm: function () {
- return this.k.Zb
- },
- setMaxZoom: function (a) {
- this.k.Zb = a
- },
- Km: function () {
- return this.k.ZF
- },
- Hm: function () {
- return this.k.Nd
- },
- Y2: function () {
- return this.k.ED
- },
- hY: function () {
- return this.k.Ob
- },
- yc: function (a) {
- return Math.pow(2, 18 - a)
- },
- tE: function (a) {
- return this.yc(a) * this.k.Ob
- },
- OF: function (a) {
- this.Hm().l_(a)
- }
- });
- var Vd = [B.url.proto + B.url.domain.TILE_BASE_URLS[0], B.url.proto + B.url.domain.TILE_BASE_URLS[1], B.url.proto + B.url.domain.TILE_BASE_URLS[2], B.url.proto + B.url.domain.TILE_BASE_URLS[3]],
- Wd = [B.url.proto + B.url.domain.TILE_ONLINE_URLS[0] + "/tile/", B.url.proto + B.url.domain.TILE_ONLINE_URLS[1] + "/tile/", B.url.proto + B.url.domain.TILE_ONLINE_URLS[2] + "/tile/", B.url.proto + B.url.domain.TILE_ONLINE_URLS[3] + "/tile/"],
- Xd = {
- dark: "dl",
- light: "ll",
- normal: "pl"
- },
- Yd = new Gd;
- Yd.xO = o;
- Yd.getTilesUrl = function (a, b, c) {
- var d = a.x,
- a = a.y,
- e = Vb("normal"),
- f = 1,
- c = Xd[c];
- // this.map.Xx() && (f = 2);
- // d = this.map.fb.os(d, b).nm;
- // return (Wd[Math.abs(d + a) % Wd.length] + "?qt=vtile&x=" + (d + "").replace(/-/gi, "M") + "&y=" + (a + "").replace(/-/gi, "M") + "&z=" + b + "&styles=" + c + "&scaler=" + f + (6 == x.da.ma ? "&color_dep=32&colors=50" : "") + "&udt=" + e + "&from=jsapi2_0").replace(/-(\d+)/gi, "M$1")
-
- return `./plugin/offline/tiles/${b}/${d}/${a}.jpg`; // yangjianfei 添加
- };
- var Oa = new Ud("\u5730\u56fe", Yd, {
- tips: "\u663e\u793a\u666e\u901a\u5730\u56fe",
- maxZoom: 19
- }),
- Zd = new Gd;
- Zd.MO = [B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[0] + "/resource/mappic/", B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[1] + "/resource/mappic/", B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[2] + "/resource/mappic/", B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[3] + "/resource/mappic/"];
- Zd.getTilesUrl = function (a, b) {
- var c = a.x,
- d = a.y,
- e = 256 * Math.pow(2, 20 - b),
- d = Math.round((9998336 - e * d) / e) - 1;
- return url = this.MO[Math.abs(c + d) % this.MO.length] + this.map.Sb + "/" + this.map.Uw + "/3/lv" + (21 - b) + "/" + c + "," + d + ".jpg"
- };
- var Ra = new Ud("\u4e09\u7ef4", Zd, {
- tips: "\u663e\u793a\u4e09\u7ef4\u5730\u56fe",
- minZoom: 15,
- maxZoom: 20,
- textColor: "white",
- projection: new kb
- });
- Ra.yc = function (a) {
- return Math.pow(2, 20 - a)
- };
- Ra.Ak = function (a) {
- if (!a) return "";
- var b = I.xC,
- c;
- for (c in b)
- if (-1 < a.search(c)) return b[c].Fy;
- return ""
- };
- Ra.GL = function (a) {
- return {
- bj: 2,
- gz: 1,
- sz: 14,
- sh: 4
- }[a]
- };
- var $d = new Gd({
- Mw: o
- });
- $d.getTilesUrl = function (a, b) {
- var c = a.x,
- d = a.y;
- return (Vd[Math.abs(c + d) % Vd.length] + "u=x=" + c + ";y=" + d + ";z=" + b + ";v=009;type=sate&fm=46&udt=" + Vb("satellite")).replace(/-(\d+)/gi, "M$1")
- };
- var bb = new Ud("\u536b\u661f", $d, {
- tips: "\u663e\u793a\u536b\u661f\u5f71\u50cf",
- minZoom: 4,
- maxZoom: 19,
- textColor: "white"
- }),
- ae = new Gd({
- transparentPng: o
- });
- ae.getTilesUrl = function (a, b) {
- var c = a.x,
- d = a.y,
- e = Vb("satelliteStreet");
- return (Wd[Math.abs(c + d) % Wd.length] + "?qt=vtile&x=" + (c + "").replace(/-/gi, "M") + "&y=" + (d + "").replace(/-/gi, "M") + "&z=" + b + "&styles=sl" + (6 == x.da.ma ? "&color_dep=32&colors=50" : "") + "&udt=" + e).replace(/-(\d+)/gi, "M$1")
- };
- var Ua = new Ud("\u6df7\u5408", [$d, ae], {
- tips: "\u663e\u793a\u5e26\u6709\u8857\u9053\u7684\u536b\u661f\u5f71\u50cf",
- labelText: "\u8def\u7f51",
- minZoom: 4,
- maxZoom: 19,
- textColor: "white"
- });
- var be = 1,
- X = {};
- window.N0 = X;
-
- function Y(a, b) {
- x.lang.Da.call(this);
- this.Ad = {};
- this.tn(a);
- b = b || {};
- b.ja = b.renderOptions || {};
- this.k = {
- ja: {
- Ia: b.ja.panel || p,
- map: b.ja.map || p,
- ah: b.ja.autoViewport || o,
- Zt: b.ja.selectFirstResult,
- vt: b.ja.highlightMode,
- Gb: b.ja.enableDragging || q
- },
- yy: b.onSearchComplete || t(),
- AN: b.onMarkersSet || t(),
- zN: b.onInfoHtmlSet || t(),
- CN: b.onResultsHtmlSet || t(),
- yN: b.onGetBusListComplete || t(),
- xN: b.onGetBusLineComplete || t(),
- vN: b.onBusListHtmlSet || t(),
- uN: b.onBusLineHtmlSet || t(),
- fF: b.onPolylinesSet || t(),
- Pp: b.reqFrom || ""
- };
- this.map = b.ja.map || window.GCJMAP;
- this.k.ja.ah = "undefined" != typeof b && "undefined" != typeof b.renderOptions && "undefined" != typeof b.renderOptions.autoViewport ? b.renderOptions.autoViewport : o;
- this.k.ja.Ia = x.Ec(this.k.ja.Ia)
- }
- x.ua(Y, x.lang.Da);
- x.extend(Y.prototype, {
- getResults: function () {
- return this.Gc ? this.Oi : this.ka
- },
- enableAutoViewport: function () {
- this.k.ja.ah = o
- },
- disableAutoViewport: function () {
- this.k.ja.ah = q
- },
- tn: function (a) {
- a && (this.Ad.src = a)
- },
- PF: function (a) {
- this.k.yy = a || t()
- },
- setMarkersSetCallback: function (a) {
- this.k.AN = a || t()
- },
- setPolylinesSetCallback: function (a) {
- this.k.fF = a || t()
- },
- setInfoHtmlSetCallback: function (a) {
- this.k.zN = a || t()
- },
- setResultsHtmlSetCallback: function (a) {
- this.k.CN = a || t()
- },
- Im: v("Dd")
- });
- var ce = {
- OG: B.oc,
- eb: function (a, b, c, d, e) {
- this.IZ(b);
- var f = (1E5 * Math.random()).toFixed(0);
- B._rd["_cbk" + f] = function (b) {
- b.result && b.result.error && 202 === b.result.error ? alert("\u8be5AK\u56e0\u4e3a\u6076\u610f\u884c\u4e3a\u5df2\u7ecf\u88ab\u7ba1\u7406\u5458\u5c01\u7981\uff01") : (c = c || {}, a && a(b, c), delete B._rd["_cbk" + f])
- };
- d = d || "";
- b = c && c.eP ? Ib(b, encodeURI) : Ib(b, encodeURIComponent);
- this.OG = c && c.Ts ? c.aO ? c.aO : B.Fp : B.oc;
- d = this.OG + d + "?" + b + "&ie=utf-8&oue=1&fromproduct=jsapi&v=2.1";
- e || (d += "&res=api");
- d = d + ("&callback=BMap._rd._cbk" + f) + ("&ak=" + qa);
- ra(d)
- },
- IZ: function (a) {
- if (a.qt) {
- var b = "";
- switch (a.qt) {
- case "bt":
- b = "z_qt|bt";
- break;
- case "nav":
- b = "z_qt|nav";
- break;
- case "walk":
- b = "z_qt|walk";
- break;
- case "bse":
- b = "z_qt|bse";
- break;
- case "nse":
- b = "z_qt|nse";
- break;
- case "drag":
- b = "z_qt|drag";
- break;
- case "s":
- b = "z_qt|s";
- break;
- case "ext":
- b = "z_qt|ext";
- break;
- case "gc":
- b = "z_qt|gc";
- break;
- case "rgc":
- b = "z_qt|rgc";
- break;
- case "bl":
- b = "z_qt|bl";
- break;
- case "bsl":
- b = "z_qt|bsl";
- break;
- case "con":
- b = "z_qt|con";
- break;
- case "bd":
- b = "z_qt|bd";
- break;
- case "nb":
- b = "z_qt|nb";
- break;
- case "bda":
- b = "z_qt|bda";
- break;
- case "sa":
- b = "z_qt|sa";
- break;
- case "nba":
- b = "z_qt|nba";
- break;
- case "dec":
- b = "z_qt|dec"
- }
- "" !== b && B.alog("cus.fire", "count", b)
- }
- }
- };
- window.Z0 = ce;
- B._rd = {};
- var Q = {};
- window.Y0 = Q;
- Q.XN = function (a) {
- a = a.replace(/<\/?[^>]*>/g, "");
- return a = a.replace(/[ | ]* /g, " ")
- };
- Q.zZ = function (a) {
- return a.replace(/([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*),([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*)(,)/g, "$1,$2;")
- };
- Q.AZ = function (a, b) {
- return a.replace(RegExp("(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);)(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);){" + b + "}", "ig"), "$1")
- };
- var de = 2,
- ee = 3,
- fe = 0,
- ge = "bt",
- he = "nav",
- ie = "walk",
- je = "bl",
- ke = "bsl",
- le = 14,
- ne = 15,
- oe = 18,
- pe = 20,
- qe = 31;
- B.I = window.Instance = x.lang.Lc;
-
- function re(a, b, c) {
- x.lang.Da.call(this);
- if (a) {
- this.Ua = "object" == typeof a ? a : x.Ec(a);
- this.page = 1;
- this.Md = 100;
- this.mK = "pg";
- this.Wf = 4;
- this.uK = b;
- this.update = o;
- a = {
- page: 1,
- Ze: 100,
- Md: 100,
- Wf: 4,
- mK: "pg",
- update: o
- };
- c || (c = a);
- for (var d in c) "undefined" != typeof c[d] && (this[d] = c[d]);
- this.va()
- }
- }
- x.extend(re.prototype, {
- va: function () {
- this.ra()
- },
- ra: function () {
- this.RV();
- this.Ua.innerHTML = this.nW()
- },
- RV: function () {
- isNaN(parseInt(this.page)) && (this.page = 1);
- isNaN(parseInt(this.Md)) && (this.Md = 1);
- 1 > this.page && (this.page = 1);
- 1 > this.Md && (this.Md = 1);
- this.page > this.Md && (this.page = this.Md);
- this.page = parseInt(this.page);
- this.Md = parseInt(this.Md)
- },
- m3: function () {
- location.search.match(RegExp("[?&]?" + this.mK + "=([^&]*)[&$]?", "gi"));
- this.page = RegExp.$1
- },
- nW: function () {
- var a = [],
- b = this.page - 1,
- c = this.page + 1;
- a.push('');
- if (!(1 > b)) {
- if (this.page >= this.Wf) {
- var d;
- a.push('\u9996\u9875'.replace("{temp1}", "BMap.I('" + this.ba + "').toPage(1);"))
- }
- a.push('\u4e0a\u4e00\u9875'.replace("{temp2}", "BMap.I('" + this.ba + "').toPage(" + b + ");"))
- }
- if (this.page < this.Wf) d = 0 == this.page % this.Wf ? this.page - this.Wf - 1 : this.page - this.page % this.Wf + 1, b = d + this.Wf - 1;
- else {
- d = Math.floor(this.Wf / 2);
- var e = this.Wf % 2 - 1,
- b = this.Md > this.page + d ? this.page + d : this.Md;
- d = this.page - d - e
- }
- this.page > this.Md - this.Wf && this.page >= this.Wf && (d = this.Md - this.Wf + 1, b = this.Md);
- for (e = d; e <= b; e++) 0 < e && (e == this.page ? a.push('' + e + "") : 1 <= e && e <= this.Md && (d = '[' + e + "]", a.push(d.replace("{temp3}", "BMap.I('" + this.ba + "').toPage(" + e + ");"))));
- c > this.Md || a.push('\u4e0b\u4e00\u9875'.replace("{temp4}", "BMap.I('" + this.ba + "').toPage(" + c + ");"));
- a.push("
");
- return a.join("")
- },
- toPage: function (a) {
- a = a ? a : 1;
- "function" == typeof this.uK && (this.uK(a), this.page = a);
- this.update && this.va()
- }
- });
-
- function eb(a, b) {
- Y.call(this, a, b);
- b = b || {};
- b.renderOptions = b.renderOptions || {};
- this.Zp(b.pageCapacity);
- "undefined" != typeof b.renderOptions.selectFirstResult && !b.renderOptions.selectFirstResult ? this.bD() : this.zD();
- this.wa = [];
- this.xf = [];
- this.lb = -1;
- this.Oa = [];
- var c = this;
- L.load("local", function () {
- c.Wz()
- }, o)
- }
- x.ua(eb, Y, "LocalSearch");
- eb.oq = 10;
- eb.V0 = 1;
- eb.Kn = 100;
- eb.EG = 2E3;
- eb.LG = 1E5;
- x.extend(eb.prototype, {
- search: function (a, b) {
- this.Oa.push({
- method: "search",
- arguments: [a, b]
- })
- },
- mn: function (a, b, c) {
- this.Oa.push({
- method: "searchInBounds",
- arguments: [a, b, c]
- })
- },
- Vp: function (a, b, c, d) {
- this.Oa.push({
- method: "searchNearby",
- arguments: [a, b, c, d]
- })
- },
- Qe: function () {
- delete this.Ga;
- delete this.Dd;
- delete this.ka;
- delete this.fa;
- this.lb = -1;
- this.sb();
- this.k.ja.Ia && (this.k.ja.Ia.innerHTML = "")
- },
- Nm: t(),
- zD: function () {
- this.k.ja.Zt = o
- },
- bD: function () {
- this.k.ja.Zt = q
- },
- Zp: function (a) {
- this.k.Nk = "number" == typeof a && !isNaN(a) ? 1 > a ? eb.oq : a > eb.Kn ? eb.oq : a : eb.oq
- },
- qf: function () {
- return this.k.Nk
- },
- toString: ea("LocalSearch")
- });
- var se = eb.prototype;
- U(se, {
- clearResults: se.Qe,
- setPageCapacity: se.Zp,
- getPageCapacity: se.qf,
- gotoPage: se.Nm,
- searchNearby: se.Vp,
- searchInBounds: se.mn,
- search: se.search,
- enableFirstResultSelection: se.zD,
- disableFirstResultSelection: se.bD
- });
-
- function te(a, b) {
- Y.call(this, a, b)
- }
- x.ua(te, Y, "BaseRoute");
- x.extend(te.prototype, {
- Qe: t()
- });
-
- function ue(a, b) {
- Y.call(this, a, b);
- b = b || {};
- this.gu(b.policy);
- this.Zp(b.pageCapacity);
- this.xd = ge;
- this.Pu = le;
- this.Qu = be;
- this.wa = [];
- this.lb = -1;
- this.k.fd = b.enableTraffic || q;
- this.Oa = [];
- var c = this;
- L.load("route", function () {
- c.Td()
- })
- }
- ue.Kn = 100;
- ue.KP = [0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 1, 1, 1];
- x.ua(ue, te, "TransitRoute");
- x.extend(ue.prototype, {
- gu: function (a) {
- this.k.$c = 0 <= a && 4 >= a ? a : 0
- },
- UA: function (a, b) {
- this.Oa.push({
- method: "_internalSearch",
- arguments: [a, b]
- })
- },
- search: function (a, b) {
- this.Oa.push({
- method: "search",
- arguments: [a, b]
- })
- },
- Zp: function (a) {
- if ("string" === typeof a && (a = parseInt(a, 10), isNaN(a))) {
- this.k.Nk = ue.Kn;
- return
- }
- this.k.Nk = "number" !== typeof a ? ue.Kn : 1 <= a && a <= ue.Kn ? Math.round(a) : ue.Kn
- },
- toString: ea("TransitRoute"),
- GU: function (a) {
- return a.replace(/\(.*\)/, "")
- }
- });
- var ve = ue.prototype;
- U(ve, {
- _internalSearch: ve.UA
- });
-
- function we(a, b) {
- Y.call(this, a, b);
- this.wa = [];
- this.lb = -1;
- this.Oa = [];
- var c = this,
- d = this.k.ja;
- 1 !== d.vt && 2 !== d.vt && (d.vt = 1);
- this.oA = this.k.ja.Gb ? o : q;
- L.load("route", function () {
- c.Td()
- });
- this.CE && this.CE()
- }
- we.YP = " \u73af\u5c9b \u65e0\u5c5e\u6027\u9053\u8def \u4e3b\u8def \u9ad8\u901f\u8fde\u63a5\u8def \u4ea4\u53c9\u70b9\u5185\u8def\u6bb5 \u8fde\u63a5\u9053\u8def \u505c\u8f66\u573a\u5185\u90e8\u9053\u8def \u670d\u52a1\u533a\u5185\u90e8\u9053\u8def \u6865 \u6b65\u884c\u8857 \u8f85\u8def \u531d\u9053 \u5168\u5c01\u95ed\u9053\u8def \u672a\u5b9a\u4e49\u4ea4\u901a\u533a\u57df POI\u8fde\u63a5\u8def \u96a7\u9053 \u6b65\u884c\u9053 \u516c\u4ea4\u4e13\u7528\u9053 \u63d0\u524d\u53f3\u8f6c\u9053".split(" ");
- x.ua(we, te, "DWRoute");
- x.extend(we.prototype, {
- search: function (a, b, c) {
- this.Oa.push({
- method: "search",
- arguments: [a, b, c]
- })
- }
- });
-
- function xe(a, b) {
- we.call(this, a, b);
- b = b || {};
- this.k.fd = b.enableTraffic || q;
- this.gu(b.policy);
- this.xd = he;
- this.Pu = pe;
- this.Qu = ee
- }
- x.ua(xe, we, "DrivingRoute");
- xe.prototype.gu = function (a) {
- this.k.$c = 0 <= a && 2 >= a ? a : 0
- };
-
- function ye(a, b) {
- we.call(this, a, b);
- this.xd = ie;
- this.Pu = qe;
- this.Qu = de;
- this.oA = q
- }
- x.ua(ye, we, "WalkingRoute");
-
- function ze(a, b) {
- x.lang.Da.call(this);
- this.Uf = [];
- this.dn = [];
- this.k = b;
- this.cc = a;
- this.map = this.k.ja.map || p;
- this.Ny = this.k.Ny;
- this.Bb = p;
- this.jj = 0;
- this.cz = "";
- this.fe = 1;
- this.ux = "";
- this.Qp = [0, 0, 0, 0, 0, 0, 0];
- this.VE = [];
- this.xs = [1, 1, 1, 1, 1, 1, 1];
- this.VO = [1, 1, 1, 1, 1, 1, 1];
- this.Xt = [0, 0, 0, 0, 0, 0, 0];
- this.Rp = [0, 0, 0, 0, 0, 0, 0];
- this.Ma = [{
- o: "",
- Fd: 0,
- Cn: 0,
- x: 0,
- y: 0,
- qa: -1
- }, {
- o: "",
- Fd: 0,
- Cn: 0,
- x: 0,
- y: 0,
- qa: -1
- }, {
- o: "",
- Fd: 0,
- Cn: 0,
- x: 0,
- y: 0,
- qa: -1
- }, {
- o: "",
- Fd: 0,
- Cn: 0,
- x: 0,
- y: 0,
- qa: -1
- }, {
- o: "",
- Fd: 0,
- Cn: 0,
- x: 0,
- y: 0,
- qa: -1
- }, {
- o: "",
- Fd: 0,
- Cn: 0,
- x: 0,
- y: 0,
- qa: -1
- }, {
- o: "",
- Fd: 0,
- Cn: 0,
- x: 0,
- y: 0,
- qa: -1
- }];
- this.li = -1;
- this.wu = [];
- this.xu = [];
- L.load("route", t())
- }
- x.lang.ua(ze, x.lang.Da, "RouteAddr");
- var Ae = navigator.userAgent;
- /ipad|iphone|ipod|iph/i.test(Ae);
- var Be = /android/i.test(Ae);
-
- function Ce(a) {
- this.vh = a || {}
- }
- x.extend(Ce.prototype, {
- gO: function (a, b, c) {
- var d = this;
- L.load("route", function () {
- d.Td(a, b, c)
- })
- }
- });
-
- function De(a) {
- this.k = {};
- x.extend(this.k, a);
- this.Oa = [];
- var b = this;
- L.load("othersearch", function () {
- b.Td()
- })
- }
- x.ua(De, x.lang.Da, "Geocoder");
- x.extend(De.prototype, {
- Gm: function (a, b, c) {
- this.Oa.push({
- method: "getPoint",
- arguments: [a, b, c]
- })
- },
- Cm: function (a, b, c) {
- this.Oa.push({
- method: "getLocation",
- arguments: [a, b, c]
- })
- },
- toString: ea("Geocoder")
- });
- var Ee = De.prototype;
- U(Ee, {
- getPoint: Ee.Gm,
- getLocation: Ee.Cm
- });
-
- function Geolocation(a) {
- a = a || {};
- this.B = {
- timeout: a.timeout || 1E4,
- maximumAge: a.maximumAge || 6E5,
- il: q
- };
- this.qe = [];
- var b = this;
- L.load("othersearch", function () {
- for (var a = 0, d; d = b.qe[a]; a++) b[d.method].apply(b, d.arguments)
- })
- }
- x.extend(Geolocation.prototype, {
- getCurrentPosition: function (a, b) {
- this.qe.push({
- method: "getCurrentPosition",
- arguments: arguments
- })
- },
- getStatus: ea(2),
- enableSDKLocation: function () {
- J() && (this.B.il = o)
- },
- disableSDKLocation: function () {
- this.B.il = q
- }
- });
-
- function Ke(a) {
- a = a || {};
- a.ja = a.renderOptions || {};
- this.k = {
- ja: {
- map: a.ja.map || p
- }
- };
- this.Oa = [];
- var b = this;
- L.load("othersearch", function () {
- b.Td()
- })
- }
- x.ua(Ke, x.lang.Da, "LocalCity");
- x.extend(Ke.prototype, {
- get: function (a) {
- this.Oa.push({
- method: "get",
- arguments: [a]
- })
- },
- toString: ea("LocalCity")
- });
-
- function Le() {
- this.Oa = [];
- var a = this;
- L.load("othersearch", function () {
- a.Td()
- })
- }
- x.ua(Le, x.lang.Da, "Boundary");
- x.extend(Le.prototype, {
- get: function (a, b) {
- this.Oa.push({
- method: "get",
- arguments: [a, b]
- })
- },
- toString: ea("Boundary")
- });
-
- function Me(a, b) {
- Y.call(this, a, b);
- this.VP = je;
- this.XP = ne;
- this.UP = ke;
- this.WP = oe;
- this.Oa = [];
- var c = this;
- L.load("buslinesearch", function () {
- c.Td()
- })
- }
- Me.Bv = I.pa + "iw_plus.gif";
- Me.ZS = I.pa + "iw_minus.gif";
- Me.QU = I.pa + "stop_icon.png";
- x.ua(Me, Y);
- x.extend(Me.prototype, {
- getBusList: function (a) {
- this.Oa.push({
- method: "getBusList",
- arguments: [a]
- })
- },
- getBusLine: function (a) {
- this.Oa.push({
- method: "getBusLine",
- arguments: [a]
- })
- },
- setGetBusListCompleteCallback: function (a) {
- this.k.yN = a || t()
- },
- setGetBusLineCompleteCallback: function (a) {
- this.k.xN = a || t()
- },
- setBusListHtmlSetCallback: function (a) {
- this.k.vN = a || t()
- },
- setBusLineHtmlSetCallback: function (a) {
- this.k.uN = a || t()
- },
- setPolylinesSetCallback: function (a) {
- this.k.fF = a || t()
- }
- });
-
- function Ne(a) {
- Y.call(this, a);
- a = a || {};
- this.nc = {
- input: a.input || p,
- nC: a.baseDom || p,
- types: a.types || [],
- yy: a.onSearchComplete || t()
- };
- this.Ad.src = a.location || "\u5168\u56fd";
- this.ej = "";
- this.og = p;
- this.qI = "";
- this.Vi();
- Ta(Ja);
- var b = this;
- L.load("autocomplete", function () {
- b.Td()
- })
- }
- x.ua(Ne, Y, "Autocomplete");
- x.extend(Ne.prototype, {
- Vi: t(),
- show: t(),
- U: t(),
- QF: function (a) {
- this.nc.types = a
- },
- tn: function (a) {
- this.Ad.src = a
- },
- search: da("ej"),
- Qy: da("qI")
- });
- var Va;
-
- function Qa(a, b) {
- function c() {
- e.k.visible ? ("inter" === e.Le && Xa() && e.k.haveBreakId && e.k.indoorExitControl === o ? x.K.show(e.pr) : x.K.U(e.pr), this.Ed && this.k.closeControl && this.Af && this.D && this.D.Ha() === this.C ? x.K.show(e.Af) : x.K.U(e.Af), this.k.forceCloseControl && x.K.show(e.Af)) : (x.K.U(e.Af), x.K.U(e.pr))
- }
- this.C = "string" == typeof a ? x.$(a) : a;
- this.ba = Oe++;
- this.k = {
- enableScrollWheelZoom: o,
- panoramaRenderer: Pa() ? "javascript" : "flash",
- swfSrc: B.Sf("main_domain_nocdn", "res/swf/") + "APILoader.swf",
- visible: o,
- indoorExitControl: o,
- indoorFloorControl: q,
- linksControl: o,
- clickOnRoad: o,
- navigationControl: o,
- closeControl: o,
- indoorSceneSwitchControl: o,
- albumsControl: q,
- albumsControlOptions: {},
- copyrightControlOptions: {},
- forceCloseControl: q,
- haveBreakId: q
- };
- var b = b || {},
- d;
- for (d in b) this.k[d] = b[d];
- b.closeControl === o && (this.k.forceCloseControl = o);
- b.useWebGL === q && Pa(q);
- this.Ea = {
- heading: 0,
- pitch: 0
- };
- this.ko = [];
- this.Kb = this.Ya = p;
- this.jk = this.mr();
- this.wa = [];
- this.Kc = 1;
- this.Le = this.vT = this.ml = "";
- this.Ke = {};
- this.Nf = p;
- this.Ug = [];
- this.Ir = [];
- "cvsRender" == this.jk || Pa() ? (this.ck = 90, this.ek = -90) : "cssRender" == this.jk && (this.ck = 45, this.ek = -45);
- this.Mr = q;
- var e = this,
- f = (1E5 * Math.random()).toFixed(0);
- B._rd = B._rd || {};
- B._rd["_cbk" + f] = function (a) {
- if (!a || a.error === j || a.error !== 0) Nc("PANORAMA");
- else {
- this.jk === "flashRender" ? L.load("panoramaflash", function () {
- e.Vi()
- }, o) : L.load("panorama", function () {
- e.Ab()
- }, o);
- b.of == "api" ? Ta(Fa) : Ta(Ga)
- }
- delete B._rd["_cbk" + f]
- };
- this.lo = function () {
- Mc("PANORAMA", "BMap._rd._cbk" + f);
- this.lo = t()
- };
- this.k.jT !== o && (this.lo(), B.Ln("cus.fire", "count", "z_loadpanoramacount"));
- this.$T(this.C);
- this.addEventListener("id_changed", function () {
- Ta(Ea, {
- from: b.of
- })
- });
- this.oQ();
- this.addEventListener("indoorexit_options_changed", c);
- this.addEventListener("scene_type_changed", c);
- this.addEventListener("onclose_options_changed", c);
- this.addEventListener("onvisible_changed", c)
- }
- var Pe = 4,
- Qe = 1,
- Oe = 0;
- x.lang.ua(Qa, x.lang.Da, "Panorama");
- x.extend(Qa.prototype, {
- oQ: function () {
- var a = this,
- b = this.Af = H("div");
- b.className = "pano_close";
- b.style.cssText = "z-index: 1201;display: none";
- b.title = "\u9000\u51fa\u5168\u666f";
- b.onclick = function () {
- a.U()
- };
- this.C.appendChild(b);
- var c = this.pr = H("a");
- c.className = "pano_pc_indoor_exit";
- c.style.cssText = "z-index: 1201;display: none";
- c.innerHTML = '\u51fa\u53e3';
- c.title = "\u9000\u51fa\u5ba4\u5185\u666f";
- c.onclick = function () {
- a.ap()
- };
- this.C.appendChild(c);
- window.ActiveXObject && !document.addEventListener && (b.style.backgroundColor = "rgb(37,37,37)", c.style.backgroundColor = "rgb(37,37,37)")
- },
- ap: t(),
- $T: function (a) {
- var b, c;
- b = a.style;
- c = Ya(a).position;
- "absolute" != c && "relative" != c && (b.position = "relative", b.zIndex = 0);
- if ("absolute" === c || "relative" === c)
- if (a = Ya(a).zIndex, !a || "auto" === a) b.zIndex = 0
- },
- HX: v("ko"),
- Yb: v("Ya"),
- iY: v("mw"),
- vO: v("mw"),
- ia: v("Kb"),
- Fa: v("Ea"),
- ga: v("Kc"),
- jh: v("ml"),
- o3: function () {
- return this.E1 || []
- },
- j3: v("vT"),
- kt: v("Le"),
- Uy: function (a) {
- a !== this.Le && (this.Le = a, this.dispatchEvent(new N("onscene_type_changed")))
- },
- rc: function (a, b, c) {
- "object" === typeof b && (c = b, b = j);
- a != this.Ya && (this.xl = this.Ya, this.yl = this.Kb, this.Ya = a, this.Le = b || "street", this.Kb = p, c && c.pov && this.Nc(c.pov))
- },
- ta: function (a) {
- a.ab(this.Kb) || (this.xl = this.Ya, this.yl = this.Kb, this.Kb = a, this.Ya = p)
- },
- Nc: function (a) {
- a && (this.Ea = a, a = this.Ea.pitch, a > this.ck ? a = this.ck : a < this.ek && (a = this.ek), this.Mr = o, this.Ea.pitch = a)
- },
- A_: function (a, b) {
- this.ek = 0 <= a ? 0 : a;
- this.ck = 0 >= b ? 0 : b
- },
- Oc: function (a) {
- a != this.Kc && (a > Pe && (a = Pe), a < Qe && (a = Qe), a != this.Kc && (this.Kc = a), "cssRender" === this.jk && this.Nc(this.Ea))
- },
- NB: function () {
- if (this.D)
- for (var a = this.D.Mx(), b = 0; b < a.length; b++)(a[b] instanceof W || a[b] instanceof td) && a[b].point && this.wa.push(a[b])
- },
- Ry: da("D"),
- fu: function (a) {
- this.Nf = a || "none"
- },
- Fj: function (a) {
- for (var b in a) {
- if ("object" == typeof a[b])
- for (var c in a[b]) this.k[b][c] = a[b][c];
- else this.k[b] = a[b];
- a.closeControl === o && (this.k.forceCloseControl = o);
- a.closeControl === q && (this.k.forceCloseControl = q);
- switch (b) {
- case "linksControl":
- this.dispatchEvent(new N("onlinks_visible_changed"));
- break;
- case "clickOnRoad":
- this.dispatchEvent(new N("onclickonroad_changed"));
- break;
- case "navigationControl":
- this.dispatchEvent(new N("onnavigation_visible_changed"));
- break;
- case "indoorSceneSwitchControl":
- this.dispatchEvent(new N("onindoor_default_switch_mode_changed"));
- break;
- case "albumsControl":
- this.dispatchEvent(new N("onalbums_visible_changed"));
- break;
- case "albumsControlOptions":
- this.dispatchEvent(new N("onalbums_options_changed"));
- break;
- case "copyrightControlOptions":
- this.dispatchEvent(new N("oncopyright_options_changed"));
- break;
- case "closeControl":
- this.dispatchEvent(new N("onclose_options_changed"));
- break;
- case "indoorExitControl":
- this.dispatchEvent(new N("onindoorexit_options_changed"));
- break;
- case "indoorFloorControl":
- this.dispatchEvent(new N("onindoorfloor_options_changed"))
- }
- }
- },
- Hk: function () {
- this.Hl.style.visibility = "hidden"
- },
- Yy: function () {
- this.Hl.style.visibility = "visible"
- },
- VW: function () {
- this.k.enableScrollWheelZoom = o
- },
- GW: function () {
- this.k.enableScrollWheelZoom = q
- },
- show: function () {
- this.k.visible = o
- },
- U: function () {
- this.k.visible = q
- },
- mr: function () {
- return Xa() && !J() && "javascript" !== this.k.panoramaRenderer ? "flashRender" : !J() && Pb() ? "cvsRender" : "cssRender"
- },
- Ka: function (a) {
- this.Ke[a.kd] = a
- },
- Ub: function (a) {
- delete this.Ke[a]
- },
- rE: function () {
- return this.k.visible
- },
- ih: function () {
- return new M(this.C.clientWidth, this.C.clientHeight)
- },
- Ha: v("C"),
- CL: function () {
- var a = B.Sf("baidumap", "?"),
- b = this.Yb();
- if (b) {
- var b = {
- panotype: this.kt(),
- heading: this.Fa().heading,
- pitch: this.Fa().pitch,
- pid: b,
- panoid: b,
- from: "api"
- },
- c;
- for (c in b) a += c + "=" + b[c] + "&"
- }
- return a.slice(0, -1)
- },
- Ux: function () {
- this.Fj({
- copyrightControlOptions: {
- logoVisible: q
- }
- })
- },
- TF: function () {
- this.Fj({
- copyrightControlOptions: {
- logoVisible: o
- }
- })
- },
- hC: function (a) {
- function b(a, b) {
- return function () {
- a.Ir.push({
- hN: b,
- gN: arguments
- })
- }
- }
- for (var c = a.getPanoMethodList(), d = "", e = 0, f = c.length; e < f; e++) d = c[e], this[d] = b(this, d);
- this.Ug.push(a)
- },
- vF: function (a) {
- for (var b = this.Ug.length; b--;) this.Ug[b] === a && this.Ug.splice(b, 1)
- },
- LF: t()
- });
- var Re = Qa.prototype;
- U(Re, {
- setId: Re.rc,
- setPosition: Re.ta,
- setPov: Re.Nc,
- setZoom: Re.Oc,
- setOptions: Re.Fj,
- getId: Re.Yb,
- getPosition: Re.ia,
- getPov: Re.Fa,
- getZoom: Re.ga,
- getLinks: Re.HX,
- getBaiduMapUrl: Re.CL,
- hideMapLogo: Re.Ux,
- showMapLogo: Re.TF,
- enableDoubleClickZoom: Re.D2,
- disableDoubleClickZoom: Re.r2,
- enableScrollWheelZoom: Re.VW,
- disableScrollWheelZoom: Re.GW,
- show: Re.show,
- hide: Re.U,
- addPlugin: Re.hC,
- removePlugin: Re.vF,
- getVisible: Re.rE,
- addOverlay: Re.Ka,
- removeOverlay: Re.Ub,
- getSceneType: Re.kt,
- setPanoramaPOIType: Re.fu,
- exitInter: Re.ap,
- setInteractiveState: Re.LF
- });
- U(window, {
- BMAP_PANORAMA_POI_HOTEL: "hotel",
- BMAP_PANORAMA_POI_CATERING: "catering",
- BMAP_PANORAMA_POI_MOVIE: "movie",
- BMAP_PANORAMA_POI_TRANSIT: "transit",
- BMAP_PANORAMA_POI_INDOOR_SCENE: "indoor_scene",
- BMAP_PANORAMA_POI_NONE: "none",
- BMAP_PANORAMA_INDOOR_SCENE: "inter",
- BMAP_PANORAMA_STREET_SCENE: "street"
- });
-
- function Se() {
- x.lang.Da.call(this);
- this.kd = "PanoramaOverlay_" + this.ba;
- this.P = p;
- this.Pa = o
- }
- x.lang.ua(Se, x.lang.Da, "PanoramaOverlayBase");
- x.extend(Se.prototype, {
- k3: v("kd"),
- ra: function () {
- aa("initialize\u65b9\u6cd5\u672a\u5b9e\u73b0")
- },
- remove: function () {
- aa("remove\u65b9\u6cd5\u672a\u5b9e\u73b0")
- },
- Mf: function () {
- aa("_setOverlayProperty\u65b9\u6cd5\u672a\u5b9e\u73b0")
- }
- });
-
- function Te(a, b) {
- Se.call(this);
- var c = {
- position: p,
- altitude: 2,
- displayDistance: o
- },
- b = b || {},
- d;
- for (d in b) c[d] = b[d];
- this.Kb = c.position;
- this.Sj = a;
- this.Fq = c.altitude;
- this.AR = c.displayDistance;
- this.ZF = c.color;
- this.lM = c.hoverColor;
- this.backgroundColor = c.backgroundColor;
- this.oK = c.backgroundHoverColor;
- this.borderColor = c.borderColor;
- this.sK = c.borderHoverColor;
- this.fontSize = c.fontSize;
- this.padding = c.padding;
- this.xE = c.imageUrl;
- this.size = c.size;
- this.ye = c.image;
- this.width = c.width;
- this.height = c.height;
- this.xY = c.imageData;
- this.borderWidth = c.borderWidth
- }
- x.lang.ua(Te, Se, "PanoramaLabel");
- x.extend(Te.prototype, {
- P2: v("borderWidth"),
- getImageData: v("xY"),
- Km: v("ZF"),
- d3: v("lM"),
- L2: v("backgroundColor"),
- M2: v("oK"),
- N2: v("borderColor"),
- O2: v("sK"),
- a3: v("fontSize"),
- l3: v("padding"),
- e3: v("xE"),
- vb: v("size"),
- Dx: v("ye"),
- ta: function (a) {
- this.Kb = a;
- this.Mf("position", a)
- },
- ia: v("Kb"),
- ad: function (a) {
- this.Sj = a;
- this.Mf("content", a)
- },
- Bk: v("Sj"),
- GF: function (a) {
- this.Fq = a;
- this.Mf("altitude", a)
- },
- dp: v("Fq"),
- Fa: function () {
- var a = this.ia(),
- b = p,
- c = p;
- this.P && (c = this.P.ia());
- if (a && c)
- if (a.ab(c)) b = this.P.Fa();
- else {
- b = {};
- b.heading = Ue(a.lng - c.lng, a.lat - c.lat) || 0;
- var a = b,
- c = this.dp(),
- d = this.co();
- a.pitch = Math.round(180 * (Math.atan(c / d) / Math.PI)) || 0
- }
- return b
- },
- co: function () {
- var a = 0,
- b, c;
- this.P && (b = this.P.ia(), (c = this.ia()) && !c.ab(b) && (a = T.fp(b, c)));
- return a
- },
- U: function () {
- aa("hide\u65b9\u6cd5\u672a\u5b9e\u73b0")
- },
- show: function () {
- aa("show\u65b9\u6cd5\u672a\u5b9e\u73b0")
- },
- Mf: t()
- });
- var Ve = Te.prototype;
- U(Ve, {
- setPosition: Ve.ta,
- getPosition: Ve.ia,
- setContent: Ve.ad,
- getContent: Ve.Bk,
- setAltitude: Ve.GF,
- getAltitude: Ve.dp,
- getPov: Ve.Fa,
- show: Ve.show,
- hide: Ve.U
- });
-
- function We(a, b) {
- Se.call(this);
- var c = {
- icon: "",
- title: "",
- panoInfo: p,
- altitude: 2
- },
- b = b || {},
- d;
- for (d in b) c[d] = b[d];
- this.Kb = a;
- this.lI = c.icon;
- this.IJ = c.title;
- this.Fq = c.altitude;
- this.NT = c.panoInfo;
- this.Ea = {
- heading: 0,
- pitch: 0
- }
- }
- x.lang.ua(We, Se, "PanoramaMarker");
- x.extend(We.prototype, {
- ta: function (a) {
- this.Kb = a;
- this.Mf("position", a)
- },
- ia: v("Kb"),
- Dc: function (a) {
- this.IJ = a;
- this.Mf("title", a)
- },
- np: v("IJ"),
- Vb: function (a) {
- this.lI = icon;
- this.Mf("icon", a)
- },
- gp: v("lI"),
- GF: function (a) {
- this.Fq = a;
- this.Mf("altitude", a)
- },
- dp: v("Fq"),
- iE: v("NT"),
- Fa: function () {
- var a = p;
- if (this.P) {
- var a = this.P.ia(),
- b = this.ia(),
- a = Ue(b.lng - a.lng, b.lat - a.lat);
- isNaN(a) && (a = 0);
- a = {
- heading: a,
- pitch: 0
- }
- } else a = this.Ea;
- return a
- },
- Mf: t()
- });
- var Xe = We.prototype;
- U(Xe, {
- setPosition: Xe.ta,
- getPosition: Xe.ia,
- setTitle: Xe.Dc,
- getTitle: Xe.np,
- setAltitude: Xe.GF,
- getAltitude: Xe.dp,
- getPanoInfo: Xe.iE,
- getIcon: Xe.gp,
- setIcon: Xe.Vb,
- getPov: Xe.Fa
- });
-
- function Ue(a, b) {
- var c = 0;
- if (0 !== a && 0 !== b) {
- var c = 180 * (Math.atan(a / b) / Math.PI),
- d = 0;
- 0 < a && 0 > b && (d = 90);
- 0 > a && 0 > b && (d = 180);
- 0 > a && 0 < b && (d = 270);
- c = (c + 90) % 90 + d
- } else 0 === a ? c = 0 > b ? 180 : 0 : 0 === b && (c = 0 < a ? 90 : 270);
- return Math.round(c)
- }
-
- function Pa(a) {
- if ("boolean" === typeof Ye) return Ye;
- if (a === q || !window.WebGLRenderingContext) return Ye = q;
- if (x.platform.Sm) {
- a = 0;
- try {
- a = navigator.userAgent.split("Android ")[1].charAt(0)
- } catch (b) { }
- if (5 > a) return Ye = q
- }
- var a = document.createElement("canvas"),
- c = p;
- try {
- c = a.getContext("webgl")
- } catch (d) {
- Ye = q
- }
- return Ye = c === p ? q : o
- }
- var Ye;
-
- function Ze() {
- if ("boolean" === typeof $e) return $e;
- $e = o;
- if (x.platform.HE) return o;
- var a = navigator.userAgent;
- return -1 < a.indexOf("Chrome") || -1 < a.indexOf("SAMSUNG-GT-I9508") ? o : $e = q
- }
- var $e;
-
- function ad(a, b) {
- this.P = a || p;
- var c = this;
- c.P && c.ca();
- L.load("pservice", function () {
- c.TQ()
- });
- "api" == (b || {}).of ? Ta(Ha) : Ta(Ia);
- this.yd = {
- getPanoramaById: [],
- getPanoramaByLocation: [],
- getVisiblePOIs: [],
- getRecommendPanosById: [],
- getPanoramaVersions: [],
- checkPanoSupportByCityCode: [],
- getPanoramaByPOIId: [],
- getCopyrightProviders: []
- }
- }
- B.bn(function (a) {
- "flashRender" !== a.mr() && new ad(a, {
- of: "api"
- })
- });
- x.extend(ad.prototype, {
- ca: function () {
- function a(a) {
- if (a) {
- if (a.id != b.mw) {
- b.vO(a.id);
- b.ea = a;
- Ze() || b.dispatchEvent(new N("onthumbnail_complete"));
- b.Ya != p && (b.yl = b._position);
- for (var c in a)
- if (a.hasOwnProperty(c)) switch (b["_" + c] = a[c], c) {
- case "position":
- b.Kb = a[c];
- break;
- case "id":
- b.Ya = a[c];
- break;
- case "links":
- b.ko = a[c];
- break;
- case "zoom":
- b.Kc = a[c]
- }
- if (b.yl) {
- var f = b.yl,
- g = b._position;
- c = f.lat;
- var i = g.lat,
- k = Qb(i - c),
- f = Qb(g.lng - f.lng);
- c = Math.sin(k / 2) * Math.sin(k / 2) + Math.cos(Qb(c)) * Math.cos(Qb(i)) * Math.sin(f / 2) * Math.sin(f / 2);
- b.AH = 6371E3 * 2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c))
- }
- c = new N("ondataload");
- b.show();
- c.data = a;
- b.dispatchEvent(c);
- b.dispatchEvent(new N("onposition_changed"));
- b.dispatchEvent(new N("onlinks_changed"));
- b.dispatchEvent(new N("oncopyright_changed"), {
- copyright: a.copyright
- });
- a.jm ? (b.Fj({
- haveBreakId: o
- }), Xa() && b.k.closeControl && x.K.show(b.pr)) : x.K.U(b.pr)
- }
- } else b.Ya = b.xl, b.Kb = b.yl, b.dispatchEvent(new N("onnoresult"))
- }
- var b = this.P,
- c = this;
- b.addEventListener("id_changed", function () {
- B.Jw("y");
- c.kp(b.Yb(), a)
- });
- b.addEventListener("iid_changed", function () {
- B.Jw("y");
- c.mg(ad.jl + "qt=idata&iid=" + b.KA + "&fn=", function (b) {
- if (b && b.result && 0 == b.result.error) {
- var b = b.content[0].interinfo,
- e = {};
- e.jm = b.BreakID;
- for (var f = b.Defaultfloor, g = p, i = 0; i < b.Floors.length; i++)
- if (b.Floors[i].Floor == f) {
- g = b.Floors[i];
- break
- }
- e.id = g.StartID || g.Points[0].PID;
- c.kp(e.id, a, e)
- }
- })
- });
- b.addEventListener("position_changed_inner", function () {
- B.Jw("y");
- c.tj(b.ia(), a)
- })
- },
- kp: function (a, b) {
- this.yd.getPanoramaById.push(arguments)
- },
- tj: function (a, b, c) {
- this.yd.getPanoramaByLocation.push(arguments)
- },
- sE: function (a, b, c, d) {
- this.yd.getVisiblePOIs.push(arguments)
- },
- Px: function (a, b) {
- this.yd.getRecommendPanosById.push(arguments)
- },
- Ox: function (a) {
- this.yd.getPanoramaVersions.push(arguments)
- },
- vC: function (a, b) {
- this.yd.checkPanoSupportByCityCode.push(arguments)
- },
- Nx: function (a, b) {
- this.yd.getPanoramaByPOIId.push(arguments)
- },
- HL: function (a) {
- this.yd.getCopyrightProviders.push(arguments)
- }
- });
- var af = ad.prototype;
- U(af, {
- getPanoramaById: af.kp,
- getPanoramaByLocation: af.tj,
- getPanoramaByPOIId: af.Nx
- });
-
- function $c(a) {
- Gd.call(this);
- "api" == (a || {}).of ? Ta(Ba) : Ta(Ca)
- }
- $c.SG = B.Sf("pano", "");
- $c.prototype = new Gd;
- $c.prototype.getTilesUrl = function (a, b) {
- var c = $c.SG[(a.x + a.y) % $c.SG.length] + "?udt=20150114&qt=tile&styles=pl&x=" + a.x + "&y=" + a.y + "&z=" + b;
- x.da.ma && 6 >= x.da.ma && (c += "&color_dep=32");
- var d = Ec(c);
- d ? (d = Pc(d.path, {
- yp: q
- }), c += "&" + d) : c = p;
- return c
- };
- $c.prototype.Gt = ea(o);
- bf.Xd = new T;
-
- function bf() { }
- x.extend(bf, {
- HW: function (a, b, c) {
- c = x.lang.Lc(c);
- b = {
- data: b
- };
- "position_changed" == a && (b.data = bf.Xd.Ej(new S(b.data.mercatorX, b.data.mercatorY)));
- c.dispatchEvent(new N("on" + a), b)
- }
- });
- var cf = bf;
- U(cf, {
- dispatchFlashEvent: cf.HW
- });
- var df = {
- MP: 50
- };
- df.Ru = B.Sf("pano")[0];
- df.Nu = {
- width: 220,
- height: 60
- };
- x.extend(df, {
- wp: function (a, b, c, d) {
- if (!b || !c || !c.lngLat || !c.panoInstance) d();
- else {
- this.qo === j && (this.qo = new ad(p, {
- of: "api"
- }));
- var e = this;
- this.qo.vC(b, function (b) {
- b ? e.qo.tj(c.lngLat, df.MP, function (b) {
- if (b && b.id) {
- var f = b.id,
- k = b.wh,
- b = b.xh,
- l = ad.Xd.zl(c.lngLat),
- m = e.AS(l, {
- x: k,
- y: b
- }),
- k = e.RL(f, m, 0, df.Nu.width, df.Nu.height);
- a.content = e.BS(a.content, k, c.titleTip, c.beforeDomId);
- a.addEventListener("open", function () {
- ja.M(x.Ec("infoWndPano"), "click", function () {
- c.panoInstance.rc(f);
- c.panoInstance.show();
- c.panoInstance.Nc({
- heading: m,
- pitch: 0
- })
- })
- })
- }
- d()
- }) : d()
- })
- }
- },
- BS: function (a, b, c, d) {
- var c = c || "",
- e;
- !d || !a.split(d)[0] ? (d = a, a = "") : (d = a.split(d)[0], e = d.lastIndexOf("<"), d = a.substring(0, e), a = a.substring(e));
- e = [];
- var f = df.Nu.width,
- g = df.Nu.height;
- e.push(d);
- e.push("");
- e.push(a);
- return e.join("")
- },
- AS: function (a, b) {
- var c = 90 - 180 * Math.atan2(a.y - b.y, a.x - b.x) / Math.PI;
- 0 > c && (c += 360);
- return c
- },
- RL: function (a, b, c, d, e) {
- var f = df.Ru + "?qt=pr3d&fovy=75&quality=80&panoid={panoId}&heading={panoHeading}&pitch={panoPitch}&width={width}&height={height}",
- g = {
- panoId: a,
- panoHeading: b || 0,
- panoPitch: c || 0,
- width: d,
- height: e
- },
- f = f.replace(/\{(.*?)\}/g, function (a, b) {
- return g[b]
- });
- return (a = Ec(f)) ? (a = Pc(a.path, {
- yp: q
- }), f + ("&" + a)) : p
- }
- });
- var ef = document,
- ff = Math,
- gf = ef.createElement("div").style,
- hf;
- a: {
- for (var jf = ["t", "webkitT", "MozT", "msT", "OT"], kf, lf = 0, mf = jf.length; lf < mf; lf++)
- if (kf = jf[lf] + "ransform", kf in gf) {
- hf = jf[lf].substr(0, jf[lf].length - 1);
- break a
- }
- hf = q
- }
- var nf = hf ? "-" + hf.toLowerCase() + "-" : "",
- pf = of("transform"),
- qf = of("transitionProperty"),
- rf = of("transitionDuration"),
- sf = of("transformOrigin"),
- tf = of("transitionTimingFunction"),
- uf = of("transitionDelay"),
- Be = /android/gi.test(navigator.appVersion),
- vf = /iphone|ipad/gi.test(navigator.appVersion),
- wf = /hp-tablet/gi.test(navigator.appVersion),
- xf = of("perspective") in gf,
- yf = "ontouchstart" in window && !wf,
- zf = hf !== q,
- Af = of("transition") in gf,
- Bf = "onorientationchange" in window ? "orientationchange" : "resize",
- Cf = yf ? "touchstart" : "mousedown",
- Df = yf ? "touchmove" : "mousemove",
- Ef = yf ? "touchend" : "mouseup",
- Ff = yf ? "touchcancel" : "mouseup",
- Gf = hf === q ? q : {
- "": "transitionend",
- webkit: "webkitTransitionEnd",
- Moz: "transitionend",
- O: "otransitionend",
- ms: "MSTransitionEnd"
- }[hf],
- Jf = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (a) {
- return setTimeout(a, 1)
- },
- Kf = window.cancelRequestAnimationFrame || window.n5 || window.webkitCancelRequestAnimationFrame || window.mozCancelRequestAnimationFrame || window.oCancelRequestAnimationFrame || window.msCancelRequestAnimationFrame || clearTimeout,
- Lf = xf ? " translateZ(0)" : "";
-
- function Mf(a, b) {
- var c = this,
- d;
- c.Fn = "object" == typeof a ? a : ef.getElementById(a);
- c.Fn.style.overflow = "hidden";
- c.Nb = c.Fn.children[0];
- c.options = {
- rp: o,
- Dn: o,
- x: 0,
- y: 0,
- Mo: o,
- FV: q,
- py: o,
- WE: o,
- al: o,
- Gi: q,
- c0: 0,
- Sw: q,
- Sx: o,
- si: o,
- Hi: o,
- KD: Be,
- Vx: vf,
- bX: vf && xf,
- DF: "",
- zoom: q,
- cl: 1,
- kq: 4,
- JW: 2,
- rP: "scroll",
- ou: q,
- az: 1,
- BN: p,
- tN: function (a) {
- a.preventDefault()
- },
- EN: p,
- sN: p,
- DN: p,
- rN: p,
- xy: p,
- FN: p,
- wN: p,
- Jp: p,
- GN: p,
- Ip: p
- };
- for (d in b) c.options[d] = b[d];
- c.x = c.options.x;
- c.y = c.options.y;
- c.options.al = zf && c.options.al;
- c.options.si = c.options.rp && c.options.si;
- c.options.Hi = c.options.Dn && c.options.Hi;
- c.options.zoom = c.options.al && c.options.zoom;
- c.options.Gi = Af && c.options.Gi;
- c.options.zoom && Be && (Lf = "");
- c.Nb.style[qf] = c.options.al ? nf + "transform" : "top left";
- c.Nb.style[rf] = "0";
- c.Nb.style[sf] = "0 0";
- c.options.Gi && (c.Nb.style[tf] = "cubic-bezier(0.33,0.66,0.66,1)");
- c.options.al ? c.Nb.style[pf] = "translate(" + c.x + "px," + c.y + "px)" + Lf : c.Nb.style.cssText += ";position:absolute;top:" + c.y + "px;left:" + c.x + "px";
- c.options.Gi && (c.options.KD = o);
- c.refresh();
- c.ca(Bf, window);
- c.ca(Cf);
- !yf && "none" != c.options.rP && (c.ca("DOMMouseScroll"), c.ca("mousewheel"));
- c.options.Sw && (c.QV = setInterval(function () {
- c.QQ()
- }, 500));
- this.options.Sx && (Event.prototype.stopImmediatePropagation || (document.body.removeEventListener = function (a, b, c) {
- var d = Node.prototype.removeEventListener;
- a === "click" ? d.call(document.body, a, b.jM || b, c) : d.call(document.body, a, b, c)
- }, document.body.addEventListener = function (a, b, c) {
- var d = Node.prototype.addEventListener;
- a === "click" ? d.call(document.body, a, b.jM || (b.jM = function (a) {
- a.HZ || b(a)
- }), c) : d.call(document.body, a, b, c)
- }), c.ca("click", document.body, o))
- }
- Mf.prototype = {
- enabled: o,
- x: 0,
- y: 0,
- Gj: [],
- scale: 1,
- PC: 0,
- QC: 0,
- Ve: [],
- vf: [],
- mC: p,
- mz: 0,
- handleEvent: function (a) {
- switch (a.type) {
- case Cf:
- if (!yf && 0 !== a.button) break;
- this.ew(a);
- break;
- case Df:
- this.xT(a);
- break;
- case Ef:
- case Ff:
- this.pv(a);
- break;
- case Bf:
- this.GB();
- break;
- case "DOMMouseScroll":
- case "mousewheel":
- this.bV(a);
- break;
- case Gf:
- this.YU(a);
- break;
- case "click":
- this.aR(a)
- }
- },
- QQ: function () {
- !this.th && (!this.dl && !(this.em || this.Py == this.Nb.offsetWidth * this.scale && this.Up == this.Nb.offsetHeight * this.scale)) && this.refresh()
- },
- Vv: function (a) {
- var b;
- this[a + "Scrollbar"] ? (this[a + "ScrollbarWrapper"] || (b = ef.createElement("div"), this.options.DF ? b.className = this.options.DF + a.toUpperCase() : b.style.cssText = "position:absolute;z-index:100;" + ("h" == a ? "height:7px;bottom:1px;left:2px;right:" + (this.Hi ? "7" : "2") + "px" : "width:7px;bottom:" + (this.si ? "7" : "2") + "px;top:2px;right:1px"), b.style.cssText += ";pointer-events:none;" + nf + "transition-property:opacity;" + nf + "transition-duration:" + (this.options.bX ? "350ms" : "0") + ";overflow:hidden;opacity:" + (this.options.Vx ? "0" : "1"), this.Fn.appendChild(b), this[a + "ScrollbarWrapper"] = b, b = ef.createElement("div"), this.options.DF || (b.style.cssText = "position:absolute;z-index:100;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);" + nf + "background-clip:padding-box;" + nf + "box-sizing:border-box;" + ("h" == a ? "height:100%" : "width:100%") + ";" + nf + "border-radius:3px;border-radius:3px"), b.style.cssText += ";pointer-events:none;" + nf + "transition-property:" + nf + "transform;" + nf + "transition-timing-function:cubic-bezier(0.33,0.66,0.66,1);" + nf + "transition-duration:0;" + nf + "transform: translate(0,0)" + Lf, this.options.Gi && (b.style.cssText += ";" + nf + "transition-timing-function:cubic-bezier(0.33,0.66,0.66,1)"), this[a + "ScrollbarWrapper"].appendChild(b), this[a + "ScrollbarIndicator"] = b), "h" == a ? (this.gM = this.hM.clientWidth, this.qY = ff.max(ff.round(this.gM * this.gM / this.Py), 8), this.pY.style.width = this.qY + "px") : (this.iP = this.jP.clientHeight, this.x0 = ff.max(ff.round(this.iP * this.iP / this.Up), 8), this.w0.style.height = this.x0 + "px"), this.HB(a, o)) : this[a + "ScrollbarWrapper"] && (zf && (this[a + "ScrollbarIndicator"].style[pf] = ""), this[a + "ScrollbarWrapper"].parentNode.removeChild(this[a + "ScrollbarWrapper"]), this[a + "ScrollbarWrapper"] = p, this[a + "ScrollbarIndicator"] = p)
- },
- GB: function () {
- var a = this;
- setTimeout(function () {
- a.refresh()
- }, Be ? 200 : 0)
- },
- Lr: function (a, b) {
- this.dl || (a = this.rp ? a : 0, b = this.Dn ? b : 0, this.options.al ? this.Nb.style[pf] = "translate(" + a + "px," + b + "px) scale(" + this.scale + ")" + Lf : (a = ff.round(a), b = ff.round(b), this.Nb.style.left = a + "px", this.Nb.style.top = b + "px"), this.x = a, this.y = b, this.HB("h"), this.HB("v"))
- },
- HB: function (a, b) {
- var c = "h" == a ? this.x : this.y;
- this[a + "Scrollbar"] && (c *= this[a + "ScrollbarProp"], 0 > c ? (this.options.KD || (c = this[a + "ScrollbarIndicatorSize"] + ff.round(3 * c), 8 > c && (c = 8), this[a + "ScrollbarIndicator"].style["h" == a ? "width" : "height"] = c + "px"), c = 0) : c > this[a + "ScrollbarMaxScroll"] && (this.options.KD ? c = this[a + "ScrollbarMaxScroll"] : (c = this[a + "ScrollbarIndicatorSize"] - ff.round(3 * (c - this[a + "ScrollbarMaxScroll"])), 8 > c && (c = 8), this[a + "ScrollbarIndicator"].style["h" == a ? "width" : "height"] = c + "px", c = this[a + "ScrollbarMaxScroll"] + (this[a + "ScrollbarIndicatorSize"] - c))), this[a + "ScrollbarWrapper"].style[uf] = "0", this[a + "ScrollbarWrapper"].style.opacity = b && this.options.Vx ? "0" : "1", this[a + "ScrollbarIndicator"].style[pf] = "translate(" + ("h" == a ? c + "px,0)" : "0," + c + "px)") + Lf)
- },
- aR: function (a) {
- if (a.WR === o) return this.eC = a.target, this.wx = Date.now(), o;
- if (this.eC && this.wx) {
- if (600 < Date.now() - this.wx) return this.wx = this.eC = p, o
- } else {
- for (var b = a.target; b != this.Nb && b != document.body;) b = b.parentNode;
- if (b == document.body) return o
- }
- for (b = a.target; 1 != b.nodeType;) b = b.parentNode;
- b = b.tagName.toLowerCase();
- if ("select" != b && "input" != b && "textarea" != b) return a.stopImmediatePropagation ? a.stopImmediatePropagation() : a.HZ = o, a.stopPropagation(), a.preventDefault(), this.wx = this.eC = p, q
- },
- ew: function (a) {
- var b = yf ? a.touches[0] : a,
- c, d;
- if (this.enabled) {
- this.options.tN && this.options.tN.call(this, a);
- (this.options.Gi || this.options.zoom) && this.JJ(0);
- this.dl = this.em = this.th = q;
- this.ZC = this.YC = this.yw = this.xw = this.eD = this.dD = 0;
- this.options.zoom && (yf && 1 < a.touches.length) && (d = ff.abs(a.touches[0].pageX - a.touches[1].pageX), c = ff.abs(a.touches[0].pageY - a.touches[1].pageY), this.e0 = ff.sqrt(d * d + c * c), this.zy = ff.abs(a.touches[0].pageX + a.touches[1].pageX - 2 * this.nG) / 2 - this.x, this.Ay = ff.abs(a.touches[0].pageY + a.touches[1].pageY - 2 * this.oG) / 2 - this.y, this.options.Jp && this.options.Jp.call(this, a));
- if (this.options.py && (this.options.al ? (c = getComputedStyle(this.Nb, p)[pf].replace(/[^0-9\-.,]/g, "").split(","), d = +(c[12] || c[4]), c = +(c[13] || c[5])) : (d = +getComputedStyle(this.Nb, p).left.replace(/[^0-9-]/g, ""), c = +getComputedStyle(this.Nb, p).top.replace(/[^0-9-]/g, "")), d != this.x || c != this.y)) this.options.Gi ? this.ae(Gf) : Kf(this.mC), this.Gj = [], this.Lr(d, c), this.options.xy && this.options.xy.call(this);
- this.zw = this.x;
- this.Aw = this.y;
- this.su = this.x;
- this.tu = this.y;
- this.wh = b.pageX;
- this.xh = b.pageY;
- this.startTime = a.timeStamp || Date.now();
- this.options.EN && this.options.EN.call(this, a);
- this.ca(Df, window);
- this.ca(Ef, window);
- this.ca(Ff, window)
- }
- },
- xT: function (a) {
- var b = yf ? a.touches[0] : a,
- c = b.pageX - this.wh,
- d = b.pageY - this.xh,
- e = this.x + c,
- f = this.y + d,
- g = a.timeStamp || Date.now();
- this.options.sN && this.options.sN.call(this, a);
- if (this.options.zoom && yf && 1 < a.touches.length) e = ff.abs(a.touches[0].pageX - a.touches[1].pageX), f = ff.abs(a.touches[0].pageY - a.touches[1].pageY), this.d0 = ff.sqrt(e * e + f * f), this.dl = o, b = 1 / this.e0 * this.d0 * this.scale, b < this.options.cl ? b = 0.5 * this.options.cl * Math.pow(2, b / this.options.cl) : b > this.options.kq && (b = 2 * this.options.kq * Math.pow(0.5, this.options.kq / b)), this.Dp = b / this.scale, e = this.zy - this.zy * this.Dp + this.x, f = this.Ay - this.Ay * this.Dp + this.y, this.Nb.style[pf] = "translate(" + e + "px," + f + "px) scale(" + b + ")" + Lf, this.options.GN && this.options.GN.call(this, a);
- else {
- this.wh = b.pageX;
- this.xh = b.pageY;
- if (0 < e || e < this.ke) e = this.options.Mo ? this.x + c / 2 : 0 <= e || 0 <= this.ke ? 0 : this.ke;
- if (f > this.sf || f < this.qd) f = this.options.Mo ? this.y + d / 2 : f >= this.sf || 0 <= this.qd ? this.sf : this.qd;
- this.dD += c;
- this.eD += d;
- this.xw = ff.abs(this.dD);
- this.yw = ff.abs(this.eD);
- 6 > this.xw && 6 > this.yw || (this.options.WE && (this.xw > this.yw + 5 ? (f = this.y, d = 0) : this.yw > this.xw + 5 && (e = this.x, c = 0)), this.th = o, this.Lr(e, f), this.YC = 0 < c ? -1 : 0 > c ? 1 : 0, this.ZC = 0 < d ? -1 : 0 > d ? 1 : 0, 300 < g - this.startTime && (this.startTime = g, this.su = this.x, this.tu = this.y), this.options.DN && this.options.DN.call(this, a))
- }
- },
- pv: function (a) {
- if (!(yf && 0 !== a.touches.length)) {
- var b = this,
- c = yf ? a.changedTouches[0] : a,
- d, e, f = {
- Ca: 0,
- time: 0
- },
- g = {
- Ca: 0,
- time: 0
- },
- i = (a.timeStamp || Date.now()) - b.startTime;
- d = b.x;
- e = b.y;
- b.ae(Df, window);
- b.ae(Ef, window);
- b.ae(Ff, window);
- b.options.rN && b.options.rN.call(b, a);
- if (b.dl) d = b.scale * b.Dp, d = Math.max(b.options.cl, d), d = Math.min(b.options.kq, d), b.Dp = d / b.scale, b.scale = d, b.x = b.zy - b.zy * b.Dp + b.x, b.y = b.Ay - b.Ay * b.Dp + b.y, b.Nb.style[rf] = "200ms", b.Nb.style[pf] = "translate(" + b.x + "px," + b.y + "px) scale(" + b.scale + ")" + Lf, b.dl = q, b.refresh(), b.options.Ip && b.options.Ip.call(b, a);
- else {
- if (b.th) {
- if (300 > i && b.options.py) {
- f = d ? b.GI(d - b.su, i, -b.x, b.Py - b.Gu + b.x, b.options.Mo ? b.Gu : 0) : f;
- g = e ? b.GI(e - b.tu, i, -b.y, 0 > b.qd ? b.Up - b.Gn + b.y - b.sf : 0, b.options.Mo ? b.Gn : 0) : g;
- d = b.x + f.Ca;
- e = b.y + g.Ca;
- if (0 < b.x && 0 < d || b.x < b.ke && d < b.ke) f = {
- Ca: 0,
- time: 0
- };
- if (b.y > b.sf && e > b.sf || b.y < b.qd && e < b.qd) g = {
- Ca: 0,
- time: 0
- }
- }
- f.Ca || g.Ca ? (c = ff.max(ff.max(f.time, g.time), 10), b.options.ou && (f = d - b.zw, g = e - b.Aw, ff.abs(f) < b.options.az && ff.abs(g) < b.options.az ? b.scrollTo(b.zw, b.Aw, 200) : (f = b.AJ(d, e), d = f.x, e = f.y, c = ff.max(f.time, c))), b.scrollTo(ff.round(d), ff.round(e), c)) : b.options.ou ? (f = d - b.zw, g = e - b.Aw, ff.abs(f) < b.options.az && ff.abs(g) < b.options.az ? b.scrollTo(b.zw, b.Aw, 200) : (f = b.AJ(b.x, b.y), (f.x != b.x || f.y != b.y) && b.scrollTo(f.x, f.y, f.time))) : b.so(200)
- } else {
- if (yf)
- if (b.ZK && b.options.zoom) clearTimeout(b.ZK), b.ZK = p, b.options.Jp && b.options.Jp.call(b, a), b.zoom(b.wh, b.xh, 1 == b.scale ? b.options.JW : 1), b.options.Ip && setTimeout(function () {
- b.options.Ip.call(b, a)
- }, 200);
- else if (this.options.Sx) {
- for (d = c.target; 1 != d.nodeType;) d = d.parentNode;
- e = d.tagName.toLowerCase();
- "select" != e && "input" != e && "textarea" != e ? (e = ef.createEvent("MouseEvents"), e.initMouseEvent("click", o, o, a.view, 1, c.screenX, c.screenY, c.clientX, c.clientY, a.ctrlKey, a.altKey, a.shiftKey, a.metaKey, 0, p), e.WR = o, d.dispatchEvent(e)) : d.focus()
- }
- b.so(400)
- }
- b.options.FN && b.options.FN.call(b, a)
- }
- }
- },
- so: function (a) {
- var b = 0 <= this.x ? 0 : this.x < this.ke ? this.ke : this.x,
- c = this.y >= this.sf || 0 < this.qd ? this.sf : this.y < this.qd ? this.qd : this.y;
- if (b == this.x && c == this.y) {
- if (this.th && (this.th = q, this.options.xy && this.options.xy.call(this)), this.si && this.options.Vx && ("webkit" == hf && (this.hM.style[uf] = "300ms"), this.hM.style.opacity = "0"), this.Hi && this.options.Vx) "webkit" == hf && (this.jP.style[uf] = "300ms"), this.jP.style.opacity = "0"
- } else this.scrollTo(b, c, a || 0)
- },
- bV: function (a) {
- var b = this,
- c, d;
- if ("wheelDeltaX" in a) c = a.wheelDeltaX / 12, d = a.wheelDeltaY / 12;
- else if ("wheelDelta" in a) c = d = a.wheelDelta / 12;
- else if ("detail" in a) c = d = 3 * -a.detail;
- else return;
- if ("zoom" == b.options.rP) {
- if (d = b.scale * Math.pow(2, 1 / 3 * (d ? d / Math.abs(d) : 0)), d < b.options.cl && (d = b.options.cl), d > b.options.kq && (d = b.options.kq), d != b.scale) !b.mz && b.options.Jp && b.options.Jp.call(b, a), b.mz++, b.zoom(a.pageX, a.pageY, d, 400), setTimeout(function () {
- b.mz--;
- !b.mz && b.options.Ip && b.options.Ip.call(b, a)
- }, 400)
- } else c = b.x + c, d = b.y + d, 0 < c ? c = 0 : c < b.ke && (c = b.ke), d > b.sf ? d = b.sf : d < b.qd && (d = b.qd), 0 > b.qd && b.scrollTo(c, d, 0)
- },
- YU: function (a) {
- a.target == this.Nb && (this.ae(Gf), this.TB())
- },
- TB: function () {
- var a = this,
- b = a.x,
- c = a.y,
- d = Date.now(),
- e, f, g;
- a.em || (a.Gj.length ? (e = a.Gj.shift(), e.x == b && e.y == c && (e.time = 0), a.em = o, a.th = o, a.options.Gi) ? (a.JJ(e.time), a.Lr(e.x, e.y), a.em = q, e.time ? a.ca(Gf) : a.so(0)) : (g = function () {
- var i = Date.now(),
- k;
- if (i >= d + e.time) {
- a.Lr(e.x, e.y);
- a.em = q;
- a.options.qZ && a.options.qZ.call(a);
- a.TB()
- } else {
- i = (i - d) / e.time - 1;
- f = ff.sqrt(1 - i * i);
- i = (e.x - b) * f + b;
- k = (e.y - c) * f + c;
- a.Lr(i, k);
- if (a.em) a.mC = Jf(g)
- }
- }, g()) : a.so(400))
- },
- JJ: function (a) {
- a += "ms";
- this.Nb.style[rf] = a;
- this.si && (this.pY.style[rf] = a);
- this.Hi && (this.w0.style[rf] = a)
- },
- GI: function (a, b, c, d, e) {
- var b = ff.abs(a) / b,
- f = b * b / 0.0012;
- 0 < a && f > c ? (c += e / (6 / (6.0E-4 * (f / b))), b = b * c / f, f = c) : 0 > a && f > d && (d += e / (6 / (6.0E-4 * (f / b))), b = b * d / f, f = d);
- return {
- Ca: f * (0 > a ? -1 : 1),
- time: ff.round(b / 6.0E-4)
- }
- },
- gk: function (a) {
- for (var b = -a.offsetLeft, c = -a.offsetTop; a = a.offsetParent;) b -= a.offsetLeft, c -= a.offsetTop;
- a != this.Fn && (b *= this.scale, c *= this.scale);
- return {
- left: b,
- top: c
- }
- },
- AJ: function (a, b) {
- var c, d, e;
- e = this.Ve.length - 1;
- c = 0;
- for (d = this.Ve.length; c < d; c++)
- if (a >= this.Ve[c]) {
- e = c;
- break
- }
- e == this.PC && (0 < e && 0 > this.YC) && e--;
- a = this.Ve[e];
- d = (d = ff.abs(a - this.Ve[this.PC])) ? 500 * (ff.abs(this.x - a) / d) : 0;
- this.PC = e;
- e = this.vf.length - 1;
- for (c = 0; c < e; c++)
- if (b >= this.vf[c]) {
- e = c;
- break
- }
- e == this.QC && (0 < e && 0 > this.ZC) && e--;
- b = this.vf[e];
- c = (c = ff.abs(b - this.vf[this.QC])) ? 500 * (ff.abs(this.y - b) / c) : 0;
- this.QC = e;
- e = ff.round(ff.max(d, c)) || 200;
- return {
- x: a,
- y: b,
- time: e
- }
- },
- ca: function (a, b, c) {
- (b || this.Nb).addEventListener(a, this, !!c)
- },
- ae: function (a, b, c) {
- (b || this.Nb).removeEventListener(a, this, !!c)
- },
- VC: ha(2),
- refresh: function () {
- var a, b, c, d = 0;
- b = 0;
- this.scale < this.options.cl && (this.scale = this.options.cl);
- this.Gu = this.Fn.clientWidth || 1;
- this.Gn = this.Fn.clientHeight || 1;
- this.sf = -this.options.c0 || 0;
- this.Py = ff.round(this.Nb.offsetWidth * this.scale);
- this.Up = ff.round((this.Nb.offsetHeight + this.sf) * this.scale);
- this.ke = this.Gu - this.Py;
- this.qd = this.Gn - this.Up + this.sf;
- this.ZC = this.YC = 0;
- this.options.BN && this.options.BN.call(this);
- this.rp = this.options.rp && 0 > this.ke;
- this.Dn = this.options.Dn && (!this.options.FV && !this.rp || this.Up > this.Gn);
- this.si = this.rp && this.options.si;
- this.Hi = this.Dn && this.options.Hi && this.Up > this.Gn;
- a = this.gk(this.Fn);
- this.nG = -a.left;
- this.oG = -a.top;
- if ("string" == typeof this.options.ou) {
- this.Ve = [];
- this.vf = [];
- c = this.Nb.querySelectorAll(this.options.ou);
- a = 0;
- for (b = c.length; a < b; a++) d = this.gk(c[a]), d.left += this.nG, d.top += this.oG, this.Ve[a] = d.left < this.ke ? this.ke : d.left * this.scale, this.vf[a] = d.top < this.qd ? this.qd : d.top * this.scale
- } else if (this.options.ou) {
- for (this.Ve = []; d >= this.ke;) this.Ve[b] = d, d -= this.Gu, b++;
- this.ke % this.Gu && (this.Ve[this.Ve.length] = this.ke - this.Ve[this.Ve.length - 1] + this.Ve[this.Ve.length - 1]);
- b = d = 0;
- for (this.vf = []; d >= this.qd;) this.vf[b] = d, d -= this.Gn, b++;
- this.qd % this.Gn && (this.vf[this.vf.length] = this.qd - this.vf[this.vf.length - 1] + this.vf[this.vf.length - 1])
- }
- this.Vv("h");
- this.Vv("v");
- this.dl || (this.Nb.style[rf] = "0", this.so(400))
- },
- scrollTo: function (a, b, c, d) {
- var e = a;
- this.stop();
- e.length || (e = [{
- x: a,
- y: b,
- time: c,
- JZ: d
- }]);
- a = 0;
- for (b = e.length; a < b; a++) e[a].JZ && (e[a].x = this.x - e[a].x, e[a].y = this.y - e[a].y), this.Gj.push({
- x: e[a].x,
- y: e[a].y,
- time: e[a].time || 0
- });
- this.TB()
- },
- disable: function () {
- this.stop();
- this.so(0);
- this.enabled = q;
- this.ae(Df, window);
- this.ae(Ef, window);
- this.ae(Ff, window)
- },
- enable: function () {
- this.enabled = o
- },
- stop: function () {
- this.options.Gi ? this.ae(Gf) : Kf(this.mC);
- this.Gj = [];
- this.em = this.th = q
- },
- zoom: function (a, b, c, d) {
- var e = c / this.scale;
- this.options.al && (this.dl = o, d = d === j ? 200 : d, a = a - this.nG - this.x, b = b - this.oG - this.y, this.x = a - a * e + this.x, this.y = b - b * e + this.y, this.scale = c, this.refresh(), this.x = 0 < this.x ? 0 : this.x < this.ke ? this.ke : this.x, this.y = this.y > this.sf ? this.sf : this.y < this.qd ? this.qd : this.y, this.Nb.style[rf] = d + "ms", this.Nb.style[pf] = "translate(" + this.x + "px," + this.y + "px) scale(" + c + ")" + Lf, this.dl = q)
- }
- };
-
- function of(a) {
- if ("" === hf) return a;
- a = a.charAt(0).toUpperCase() + a.substr(1);
- return hf + a
- }
- gf = p;
-
- function Nf(a) {
- this.k = {
- anchor: Tc,
- offset: new M(0, 0),
- maxWidth: "100%",
- imageHeight: 80
- };
- var a = a || {},
- b;
- for (b in a) this.k[b] = a[b];
- this.Rl = new ad(p, {
- of: "api"
- });
- this.hk = [];
- this.P = p;
- this.fg = {
- height: this.k.imageHeight,
- width: this.k.imageHeight * Of
- };
- this.Pc = this.IB = this.jm = this.Xc = p
- }
- var Pf = [0, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 5, 5, 5, 6, 6, 7, 8, 8, 8, 9, 10],
- Qf = "\u5176\u4ed6 \u6b63\u95e8 \u623f\u578b \u8bbe\u65bd \u6b63\u95e8 \u9910\u996e\u8bbe\u65bd \u5176\u4ed6\u8bbe\u65bd \u6b63\u95e8 \u8bbe\u65bd \u89c2\u5f71\u5385 \u5176\u4ed6\u8bbe\u65bd".split(" ");
- B.bn(function (a) {
- var b = p;
- a.addEventListener("position_changed", function () {
- a.k.visible && a.k.albumsControl === o && (b ? b.Jy(a.Yb()) : (b = new Nf(a.k.albumsControlOptions), b.ra(a)))
- });
- a.addEventListener("albums_visible_changed", function () {
- a.k.albumsControl === o ? (b ? b.Jy(a.Yb()) : (b = new Nf(a.k.albumsControlOptions), b.ra(a)), b.show()) : b.U()
- });
- a.addEventListener("albums_options_changed", function () {
- b && b.Fj(a.k.albumsControlOptions)
- });
- a.addEventListener("visible_changed", function () {
- b && (a.rE() ? a.k.albumsControl === o && (b.C.style.visibility = "visible") : b.C.style.visibility = "hidden")
- })
- });
- var Of = 1.8;
- J() && (Of = 1);
- x.extend(Nf.prototype, {
- Fj: function (a) {
- for (var b in a) this.k[b] = a[b];
- a = this.k.imageHeight + "px";
- this.qc(this.k.anchor);
- this.C.style.width = isNaN(Number(this.k.maxWidth)) === o ? this.k.maxWidth : this.k.maxWidth + "px";
- this.C.style.height = a;
- this.mk.style.height = a;
- this.$h.style.height = a;
- this.fg = {
- height: this.k.imageHeight,
- width: this.k.imageHeight * Of
- };
- this.lk.style.height = this.fg.height - 6 + "px";
- this.lk.style.width = this.fg.width - 6 + "px";
- this.Jy(this.P.Yb(), o)
- },
- ra: function (a) {
- this.P = a;
- this.vs();
- this.zQ();
- this.EY();
- this.Jy(a.Yb())
- },
- vs: function () {
- var a = this.k.imageHeight + "px";
- this.C = H("div");
- var b = this.C.style;
- b.cssText = "background:rgb(37,37,37);background:rgba(37,37,37,0.9);";
- b.position = "absolute";
- b.zIndex = "2000";
- b.width = isNaN(Number(this.k.maxWidth)) === o ? this.k.maxWidth : this.k.maxWidth + "px";
- b.padding = "8px 0";
- b.visibility = "hidden";
- b.height = a;
- this.mk = H("div");
- b = this.mk.style;
- b.position = "absolute";
- b.overflow = "hidden";
- b.width = "100%";
- b.height = a;
- this.$h = H("div");
- b = this.$h.style;
- b.height = a;
- this.mk.appendChild(this.$h);
- this.C.appendChild(this.mk);
- this.P.C.appendChild(this.C);
- this.lk = H("div", {
- "class": "pano_photo_item_seleted"
- });
- this.lk.style.height = this.fg.height - 6 + "px";
- this.lk.style.width = this.fg.width - 6 + "px";
- this.qc(this.k.anchor)
- },
- XH: function (a) {
- for (var b = this.hk, c = b.length - 1; 0 <= c; c--)
- if (b[c].panoId == a) return c;
- return -1
- },
- Jy: function (a, b) {
- if (b || !this.hk[this.Xc] || !(this.hk[this.Xc].panoId == a && 3 !== this.hk[this.Xc].recoType)) {
- var c = this,
- d = this.XH(a);
- !b && -1 !== d && this.hk[d] && 3 !== this.hk[d].recoType ? this.Yp(d) : this.WX(function (a) {
- for (var b = {}, d, i, k = q, l = [], m = 0, n = a.length; m < n; m++) d = a[m].catlog, i = a[m].floor, j !== d && ("" === d && j !== i ? (k = o, b[i] || (b[i] = []), b[i].push(a[m])) : (b[Pf[d]] || (b[Pf[d]] = []), b[Pf[d]].push(a[m])));
- for (var s in b) k ? l.push({
- data: s + "F",
- index: s
- }) : l.push({
- data: Qf[s],
- index: s
- });
- c.nH = b;
- c.Ti = l;
- c.Nl(a);
- 0 == a.length ? c.U() : c.show()
- })
- }
- },
- oW: function () {
- if (!this.Qi) {
- var a = this.KX(this.Ti),
- b = H("div");
- b.style.cssText = ["width:" + 134 * this.Ti.length + "px;", "overflow:hidden;-ms-user-select:none;-moz-user-select:none;-webkit-user-select:none;"].join("");
- b.innerHTML = a;
- a = H("div");
- a.appendChild(b);
- a.style.cssText = "position:absolute;top:-25px;background:rgb(37,37,37);background:rgba(37,37,37,0.9);border-bottom:1px solid #4e596a;width:100%;line-height:25px;height:25px;overflow:scroll;outline:0";
- new Mf(a, {
- Mo: q,
- py: o,
- si: q,
- Hi: q,
- Dn: q,
- WE: o,
- Sw: o,
- Sx: o
- });
- this.C.appendChild(a);
- for (var c = this, d = b.getElementsByTagName("span"), e = 0, f = d.length; e < f; e++) b = d[e], x.M(b, "click", function () {
- if (this.getAttribute("dataindex")) {
- c.Nl(c.nH[this.getAttribute("dataindex")]);
- for (var a = 0, b = d.length; a < b; a++) d[a].style.color = "#FFFFFF";
- this.style.color = "#3383FF"
- }
- });
- this.Qi = a
- }
- },
- lW: function () {
- if (this.Qi) a = this.FL(this.Ti), this.PQ.innerHTML = a;
- else {
- var a = this.FL(this.Ti),
- b = H("ul"),
- c = this;
- b.style.cssText = "list-style: none;padding:0px;margin:0px;display:block;width:60px;position:absolute;top:7px";
- b.innerHTML = a;
- x.M(b, "click", function (a) {
- if (a = (a.srcElement || a.target).getAttribute("dataindex")) {
- c.Nl(c.nH[a]);
- for (var d = b.getElementsByTagName("li"), e = 0, f = d.length; e < f; e++) d[e].childNodes[0].getAttribute("dataindex") === a ? x.K.Ta(d[e], "pano_catlogLiActive") : x.K.Tb(d[e], "pano_catlogLiActive")
- }
- });
- var a = H("div"),
- d = H("a"),
- e = H("span"),
- f = H("a"),
- g = H("span"),
- i = ["background:url(" + I.pa + "panorama/catlog_icon.png) no-repeat;", "display:block;width:10px;height:7px;margin:0 auto;"].join("");
- e.style.cssText = i + "background-position:-18px 0;";
- d.style.cssText = "background:#1C1C1C;display:block;position:absolute;width:58px;";
- g.style.cssText = i + "background-position:0 0;";
- f.style.cssText = "background:#1C1C1C;display:block;position:absolute;width:58px;";
- f.style.top = this.k.imageHeight - 7 + "px";
- a.style.cssText = "position:absolute;top:0px;left:0px;width:60px;";
- d.appendChild(e);
- f.appendChild(g);
- x.M(d, "mouseover", function () {
- var a = parseInt(b.style.top, 10);
- 7 !== a && (e.style.backgroundPosition = "-27px 0");
- new vb({
- Hc: 60,
- hc: wb.Qs,
- duration: 300,
- va: function (c) {
- b.style.top = a + (7 - a) * c + "px"
- }
- })
- });
- x.M(d, "mouseout", function () {
- e.style.backgroundPosition = "-18px 0"
- });
- x.M(f, "mouseover", function () {
- var a = parseInt(b.style.top, 10),
- d = c.k.imageHeight - 14;
- if (!(parseInt(b.offsetHeight, 10) < d)) {
- var e = d - parseInt(b.offsetHeight, 10) + 7;
- e !== a && (g.style.backgroundPosition = "-9px 0");
- new vb({
- Hc: 60,
- hc: wb.Qs,
- duration: 300,
- va: function (c) {
- b.style.top = a + (e - a) * c + "px"
- }
- })
- }
- });
- x.M(f, "mouseout", function () {
- g.style.backgroundPosition = "0 0"
- });
- a.appendChild(d);
- a.appendChild(f);
- d = H("div");
- d.style.cssText = ["position:absolute;z-index:2001;left:20px;", "height:" + this.k.imageHeight + "px;", "width:62px;overflow:hidden;background:rgb(37,37,37);background:rgba(37,37,37,0.9);"].join("");
- d.appendChild(b);
- d.appendChild(a);
- this.Qi = d;
- this.PQ = b;
- this.C.appendChild(d)
- }
- },
- mW: function () {
- if (this.Ti && !(0 >= this.Ti.length)) {
- var a = H("div");
- a.innerHTML = this.qA;
- a.style.cssText = "position:absolute;background:#252525";
- this.C.appendChild(a);
- this.Us = a;
- this.Pc.gg.style.left = this.fg.width + 8 + "px";
- this.Qi && (this.Qi.style.left = parseInt(this.Qi.style.left, 10) + this.fg.width + 8 + "px");
- var b = this;
- x.M(a, "click", function () {
- b.P.rc(b.YW)
- })
- }
- },
- Nl: function (a) {
- this.hk = a;
- this.k.showCatalog && (0 < this.Ti.length ? (Xa() ? this.lW() : this.oW(), this.Pc.offsetLeft = 60) : (this.Us && (this.C.removeChild(this.Us), this.Us = p, this.Pc.gg.style.left = "0px"), this.Qi && (this.C.removeChild(this.Qi), this.Qi = p), this.Pc.offsetLeft = 0));
- var b = this.EX(a);
- Xa() && (this.Ti && 0 < this.Ti.length && this.k.showExit && this.qA) && (this.Pc.offsetLeft += this.fg.width + 8, this.Us ? this.Us.innerHTML = this.qA : this.mW());
- this.$h.innerHTML = b;
- this.$h.style.width = (this.fg.width + 8) * a.length + 8 + "px";
- a = this.C.offsetWidth;
- b = this.$h.offsetWidth;
- this.Pc.at && (b += this.Pc.at());
- b < a - 2 * this.Pc.Ki - this.Pc.offsetLeft ? this.C.style.width = b + this.Pc.offsetLeft + "px" : (this.C.style.width = isNaN(Number(this.k.maxWidth)) === o ? this.k.maxWidth : this.k.maxWidth + "px", b < this.C.offsetWidth - 2 * this.Pc.Ki - this.Pc.offsetLeft && (this.C.style.width = b + this.Pc.offsetLeft + "px"));
- this.Pc.refresh();
- this.IB = this.$h.children;
- this.$h.appendChild(this.lk);
- this.lk.style.left = "-100000px";
- a = this.XH(this.P.Yb(), this.I1); - 1 !== a && this.Yp(a)
- },
- KX: function (a) {
- for (var b = "", c, d = 0, e = a.length; d < e; d++) c = '' + a[d].data + "
", b += c;
- return b
- },
- FL: function (a) {
- for (var b = "", c, d = 0, e = a.length; d < e; d++) c = '' + a[d].data + "", b += c;
- return b
- },
- EX: function (a) {
- for (var b, c, d, e, f = [], g = this.fg.height, i = this.fg.width, k = 0; k < a.length; k++) b = a[k], recoType = b.recoType, d = b.panoId, e = b.name, c = b.heading, b = b.pitch, c = df.RL(d, c, b, 198, 108), b = '
' + e + "", 3 === recoType ? Xa() ? (this.qA = b, this.YW = d, a.splice(k, 1), k--) : (b = '
', f.push(b)) : f.push(b);
- return f.join("")
- },
- WX: function (a) {
- var b = this,
- c = this.P.Yb();
- c && this.Rl.Px(c, function (d) {
- b.P.Yb() === c && a(d)
- })
- },
- qc: function (a) {
- if (!Za(a) || isNaN(a) || a < Rc || 3 < a) a = this.defaultAnchor;
- var b = this.C,
- c = this.k.offset.width,
- d = this.k.offset.height;
- b.style.left = b.style.top = b.style.right = b.style.bottom = "auto";
- switch (a) {
- case Rc:
- b.style.top = d + "px";
- b.style.left = c + "px";
- break;
- case Sc:
- b.style.top = d + "px";
- b.style.right = c + "px";
- break;
- case Tc:
- b.style.bottom = d + "px";
- b.style.left = c + "px";
- break;
- case 3:
- b.style.bottom = d + "px", b.style.right = c + "px"
- }
- },
- zQ: function () {
- this.xQ()
- },
- xQ: function () {
- var a = this;
- x.M(this.C, "touchstart", function (a) {
- a.stopPropagation()
- });
- x.M(this.mk, "click", function (b) {
- if ((b = (b.srcElement || b.target).getAttribute("data-index")) && b != a.Xc) a.Yp(b), a.P.rc(a.hk[b].panoId)
- });
- x.M(this.$h, "mouseover", function (b) {
- b = (b.srcElement || b.target).getAttribute("data-index");
- b !== p && a.FK(b, o)
- });
- this.P.addEventListener("size_changed", function () {
- isNaN(Number(a.k.maxWidth)) && a.Fj({
- maxWidth: a.k.maxWidth
- })
- })
- },
- Yp: function (a) {
- this.lk.style.left = this.IB[a].offsetLeft + 8 + "px";
- this.lk.setAttribute("data-index", this.IB[a].getAttribute("data-index"));
- this.Xc = a;
- this.FK(a)
- },
- FK: function (a, b) {
- var c = this.fg.width + 8,
- d = 0;
- this.Pc.at && (d = this.Pc.at() / 2);
- var e = this.mk.offsetWidth - 2 * d,
- f = this.$h.offsetLeft || this.Pc.x,
- f = f - d,
- g = -a * c;
- g > f && this.Pc.scrollTo(g + d);
- c = g - c;
- f -= e;
- c < f && (!b || b && 8 < g - f) && this.Pc.scrollTo(c + e + d)
- },
- EY: function () {
- this.Pc = J() ? new Mf(this.mk, {
- Mo: q,
- py: o,
- si: q,
- Hi: q,
- Dn: q,
- WE: o,
- Sw: o,
- Sx: o
- }) : new Rf(this.mk)
- },
- U: function () {
- this.C.style.visibility = "hidden"
- },
- show: function () {
- this.C.style.visibility = "visible"
- }
- });
-
- function Rf(a) {
- this.C = a;
- this.Wg = a.children[0];
- this.Zr = p;
- this.Ki = 20;
- this.offsetLeft = 0;
- this.ra()
- }
- Rf.prototype = {
- ra: function () {
- this.Wg.style.position = "relative";
- this.refresh();
- this.vs();
- this.hm()
- },
- refresh: function () {
- this.oo = this.C.offsetWidth - this.at();
- this.gB = -(this.Wg.offsetWidth - this.oo - this.Ki);
- this.Hv = this.Ki + this.offsetLeft;
- this.Wg.style.left = this.Hv + "px";
- this.Wg.children[0] && (this.Zr = this.Wg.children[0].offsetWidth);
- this.gg && (this.gg.children[0].style.marginTop = this.Rr.children[0].style.marginTop = this.gg.offsetHeight / 2 - this.gg.children[0].offsetHeight / 2 + "px")
- },
- at: function () {
- return 2 * this.Ki
- },
- vs: function () {
- this.Wv = H("div");
- this.Wv.innerHTML = '';
- this.gg = this.Wv.children[0];
- this.Rr = this.Wv.children[1];
- this.C.appendChild(this.Wv);
- this.gg.children[0].style.marginTop = this.Rr.children[0].style.marginTop = this.gg.offsetHeight / 2 - this.gg.children[0].offsetHeight / 2 + "px"
- },
- hm: function () {
- var a = this;
- x.M(this.gg, "click", function () {
- a.scrollTo(a.Wg.offsetLeft + a.oo)
- });
- x.M(this.Rr, "click", function () {
- a.scrollTo(a.Wg.offsetLeft - a.oo)
- })
- },
- ZU: function () {
- x.K.Tb(this.gg, "pano_arrow_disable");
- x.K.Tb(this.Rr, "pano_arrow_disable");
- var a = this.Wg.offsetLeft;
- a >= this.Hv && x.K.Ta(this.gg, "pano_arrow_disable");
- a - this.oo <= this.gB && x.K.Ta(this.Rr, "pano_arrow_disable")
- },
- scrollTo: function (a) {
- a = a < this.Wg.offsetLeft ? Math.ceil((a - this.Ki - this.oo) / this.Zr) * this.Zr + this.oo + this.Ki - 8 : Math.ceil((a - this.Ki) / this.Zr) * this.Zr + this.Ki;
- a < this.gB ? a = this.gB : a > this.Hv && (a = this.Hv);
- var b = this.Wg.offsetLeft,
- c = this;
- new vb({
- Hc: 60,
- hc: wb.Qs,
- duration: 300,
- va: function (d) {
- c.Wg.style.left = b + (a - b) * d + "px"
- },
- finish: function () {
- c.ZU()
- }
- })
- }
- };
- B.Map = Na;
- B.Hotspot = lb;
- B.MapType = Ud;
- B.Point = O;
- B.Pixel = S;
- B.Size = M;
- B.Bounds = ib;
- B.TileLayer = Gd;
- B.Projection = fd;
- B.MercatorProjection = T;
- B.PerspectiveProjection = kb;
- B.Copyright = function (a, b, c) {
- this.id = a;
- this.$a = b;
- this.content = c
- };
- B.Overlay = id;
- B.Label = td;
- B.GroundOverlay = ud;
- B.PointCollection = yd;
- B.Marker = W;
- B.Icon = md;
- B.IconSequence = od;
- B.Symbol = nd;
- B.Polyline = Cd;
- B.Polygon = Bd;
- B.InfoWindow = sd;
- B.Circle = Dd;
- B.Control = Qc;
- B.NavigationControl = mb;
- B.GeolocationControl = Uc;
- B.OverviewMapControl = ob;
- B.CopyrightControl = Vc;
- B.ScaleControl = nb;
- B.MapTypeControl = pb;
- B.CityListControl = Xc;
- B.PanoramaControl = Zc;
- B.TrafficLayer = Qd;
- B.CustomLayer = qb;
- B.ContextMenu = bd;
- B.MenuItem = ed;
- B.LocalSearch = eb;
- B.TransitRoute = ue;
- B.DrivingRoute = xe;
- B.WalkingRoute = ye;
- B.Autocomplete = Ne;
- B.RouteSearch = Ce;
- B.Geocoder = De;
- B.LocalCity = Ke;
- B.Geolocation = Geolocation;
- B.Convertor = hd;
- B.BusLineSearch = Me;
- B.Boundary = Le;
- B.VectorCloudLayer = Od;
- B.VectorTrafficLayer = Pd;
- B.Panorama = Qa;
- B.PanoramaLabel = Te;
- B.PanoramaService = ad;
- B.PanoramaCoverageLayer = $c;
- B.PanoramaFlashInterface = bf;
-
- function U(a, b) {
- for (var c in b) a[c] = b[c]
- }
- U(window, {
- BMap: B,
- _jsload2: function (a, b) {
- ja.dz.OY && ja.dz.set(a, b);
- L.PV(a, b)
- },
- BMAP_API_VERSION: "2.0"
- });
- var Sf = Na.prototype;
- U(Sf, {
- getBounds: Sf.Kd,
- getCenter: Sf.pc,
- getMapType: Sf.oa,
- getSize: Sf.vb,
- setSize: Sf.Ce,
- getViewport: Sf.mt,
- getZoom: Sf.ga,
- centerAndZoom: Sf.Gd,
- panTo: Sf.Ai,
- panBy: Sf.zg,
- setCenter: Sf.Xf,
- setCurrentCity: Sf.JF,
- setMapType: Sf.Fg,
- setViewport: Sf.Dh,
- setZoom: Sf.Oc,
- highResolutionEnabled: Sf.Xx,
- zoomTo: Sf.Ig,
- zoomIn: Sf.pG,
- zoomOut: Sf.qG,
- addHotspot: Sf.Ew,
- removeHotspot: Sf.LZ,
- clearHotspots: Sf.lm,
- checkResize: Sf.SV,
- addControl: Sf.js,
- removeControl: Sf.WN,
- getContainer: Sf.Ha,
- addContextMenu: Sf.Fo,
- removeContextMenu: Sf.Op,
- addOverlay: Sf.Ka,
- removeOverlay: Sf.Ub,
- clearOverlays: Sf.CK,
- openInfoWindow: Sf.Mb,
- closeInfoWindow: Sf.Wc,
- pointToOverlayPixel: Sf.We,
- overlayPixelToPoint: Sf.IN,
- getInfoWindow: Sf.lh,
- getOverlays: Sf.Mx,
- getPanes: function () {
- return {
- floatPane: this.Zd.LD,
- markerMouseTarget: this.Zd.ZE,
- floatShadow: this.Zd.xL,
- labelPane: this.Zd.RE,
- markerPane: this.Zd.cN,
- markerShadow: this.Zd.dN,
- mapPane: this.Zd.Jt,
- vertexPane: this.Zd.nP
- }
- },
- addTileLayer: Sf.$g,
- removeTileLayer: Sf.Ah,
- pixelToPoint: Sf.Ag,
- pointToPixel: Sf.Mp,
- setFeatureStyle: Sf.Xp,
- selectBaseElement: Sf.F4,
- setMapStyle: Sf.du,
- enable3DBuilding: Sf.Xo,
- disable3DBuilding: Sf.DW,
- getPanorama: Sf.Em,
- setBrowserContextmenu: Sf.k_
- });
- var Tf = Ud.prototype;
- U(Tf, {
- getTileLayer: Tf.gY,
- getMinZoom: Tf.hp,
- getMaxZoom: Tf.Dm,
- getProjection: Tf.Hm,
- getTextColor: Tf.Km,
- getTips: Tf.lt
- });
- U(window, {
- BMAP_NORMAL_MAP: Oa,
- BMAP_PERSPECTIVE_MAP: Ra,
- BMAP_SATELLITE_MAP: bb,
- BMAP_HYBRID_MAP: Ua
- });
- var Uf = T.prototype;
- U(Uf, {
- lngLatToPoint: Uf.jy,
- pointToLngLat: Uf.Ej
- });
- var Vf = kb.prototype;
- U(Vf, {
- lngLatToPoint: Vf.jy,
- pointToLngLat: Vf.Ej
- });
- var Wf = ib.prototype;
- U(Wf, {
- equals: Wf.ab,
- containsPoint: Wf.Zw,
- containsBounds: Wf.cW,
- intersects: Wf.At,
- extend: Wf.extend,
- getCenter: Wf.pc,
- isEmpty: Wf.Bj,
- getSouthWest: Wf.xe,
- getNorthEast: Wf.pf,
- toSpan: Wf.dG
- });
- var Xf = id.prototype;
- U(Xf, {
- isVisible: Xf.oh,
- show: Xf.show,
- hide: Xf.U
- });
- id.getZIndex = id.Mm;
- var Yf = jb.prototype;
- U(Yf, {
- openInfoWindow: Yf.Mb,
- closeInfoWindow: Yf.Wc,
- enableMassClear: Yf.qj,
- disableMassClear: Yf.FW,
- show: Yf.show,
- hide: Yf.U,
- getMap: Yf.Hx,
- addContextMenu: Yf.Fo,
- removeContextMenu: Yf.Op
- });
- var Zf = W.prototype;
- U(Zf, {
- setIcon: Zf.Vb,
- getIcon: Zf.gp,
- setPosition: Zf.ta,
- getPosition: Zf.ia,
- setOffset: Zf.Ye,
- getOffset: Zf.Qf,
- getLabel: Zf.dE,
- setLabel: Zf.qn,
- setTitle: Zf.Dc,
- setTop: Zf.Ei,
- enableDragging: Zf.Gb,
- disableDragging: Zf.aD,
- setZIndex: Zf.iu,
- getMap: Zf.Hx,
- setAnimation: Zf.nn,
- setShadow: Zf.Vy,
- hide: Zf.U,
- setRotation: Zf.Ty,
- getRotation: Zf.VL
- });
- U(window, {
- BMAP_ANIMATION_DROP: 1,
- BMAP_ANIMATION_BOUNCE: 2
- });
- var $f = td.prototype;
- U($f, {
- setStyle: $f.bd,
- setStyles: $f.Di,
- setContent: $f.ad,
- setPosition: $f.ta,
- getPosition: $f.ia,
- setOffset: $f.Ye,
- getOffset: $f.Qf,
- setTitle: $f.Dc,
- setZIndex: $f.iu,
- getMap: $f.Hx,
- getContent: $f.Bk
- });
- var ag = md.prototype;
- U(ag, {
- setImageUrl: ag.lO,
- setSize: ag.Ce,
- setAnchor: ag.qc,
- setImageOffset: ag.cu,
- setImageSize: ag.q_,
- setInfoWindowAnchor: ag.t_,
- setPrintImageUrl: ag.D_
- });
- var cg = sd.prototype;
- U(cg, {
- redraw: cg.le,
- setTitle: cg.Dc,
- setContent: cg.ad,
- getContent: cg.Bk,
- getPosition: cg.ia,
- enableMaximize: cg.fh,
- disableMaximize: cg.ox,
- isOpen: cg.Va,
- setMaxContent: cg.eu,
- maximize: cg.ny,
- enableAutoPan: cg.Rs
- });
- var dg = kd.prototype;
- U(dg, {
- getPath: dg.ve,
- setPath: dg.me,
- setPositionAt: dg.vn,
- getStrokeColor: dg.bY,
- setStrokeWeight: dg.bq,
- getStrokeWeight: dg.YL,
- setStrokeOpacity: dg.$p,
- getStrokeOpacity: dg.cY,
- setFillOpacity: dg.bu,
- getFillOpacity: dg.zX,
- setStrokeStyle: dg.aq,
- getStrokeStyle: dg.XL,
- getFillColor: dg.yX,
- getBounds: dg.Kd,
- enableEditing: dg.mf,
- disableEditing: dg.EW,
- getEditing: dg.vX
- });
- var eg = Dd.prototype;
- U(eg, {
- setCenter: eg.Xf,
- getCenter: eg.pc,
- getRadius: eg.TL,
- setRadius: eg.wf
- });
- var fg = Bd.prototype;
- U(fg, {
- getPath: fg.ve,
- setPath: fg.me,
- setPositionAt: fg.vn
- });
- var gg = lb.prototype;
- U(gg, {
- getPosition: gg.ia,
- setPosition: gg.ta,
- getText: gg.nE,
- setText: gg.hu
- });
- O.prototype.equals = O.prototype.ab;
- S.prototype.equals = S.prototype.ab;
- M.prototype.equals = M.prototype.ab;
- U(window, {
- BMAP_ANCHOR_TOP_LEFT: Rc,
- BMAP_ANCHOR_TOP_RIGHT: Sc,
- BMAP_ANCHOR_BOTTOM_LEFT: Tc,
- BMAP_ANCHOR_BOTTOM_RIGHT: 3
- });
- var hg = Qc.prototype;
- U(hg, {
- setAnchor: hg.qc,
- getAnchor: hg.RD,
- setOffset: hg.Ye,
- getOffset: hg.Qf,
- show: hg.show,
- hide: hg.U,
- isVisible: hg.oh,
- toString: hg.toString
- });
- var ig = mb.prototype;
- U(ig, {
- getType: ig.pp,
- setType: ig.wn
- });
- U(window, {
- BMAP_NAVIGATION_CONTROL_LARGE: 0,
- BMAP_NAVIGATION_CONTROL_SMALL: 1,
- BMAP_NAVIGATION_CONTROL_PAN: 2,
- BMAP_NAVIGATION_CONTROL_ZOOM: 3
- });
- var jg = ob.prototype;
- U(jg, {
- changeView: jg.se,
- setSize: jg.Ce,
- getSize: jg.vb
- });
- var kg = nb.prototype;
- U(kg, {
- getUnit: kg.kY,
- setUnit: kg.RF
- });
- U(window, {
- BMAP_UNIT_METRIC: "metric",
- BMAP_UNIT_IMPERIAL: "us"
- });
- var lg = Vc.prototype;
- U(lg, {
- addCopyright: lg.Dw,
- removeCopyright: lg.uF,
- getCopyright: lg.Am,
- getCopyrightCollection: lg.YD
- });
- U(window, {
- BMAP_MAPTYPE_CONTROL_HORIZONTAL: Yc,
- BMAP_MAPTYPE_CONTROL_DROPDOWN: 1,
- BMAP_MAPTYPE_CONTROL_MAP: 2
- });
- var mg = Gd.prototype;
- U(mg, {
- getMapType: mg.oa,
- getCopyright: mg.Am,
- isTransparentPng: mg.Gt
- });
- var ng = bd.prototype;
- U(ng, {
- addItem: ng.Fw,
- addSeparator: ng.iC,
- removeSeparator: ng.wF
- });
- var og = ed.prototype;
- U(og, {
- setText: og.hu
- });
- var pg = Y.prototype;
- U(pg, {
- getStatus: pg.Im,
- setSearchCompleteCallback: pg.PF,
- getPageCapacity: pg.qf,
- setPageCapacity: pg.Zp,
- setLocation: pg.tn,
- disableFirstResultSelection: pg.bD,
- enableFirstResultSelection: pg.zD,
- gotoPage: pg.Nm,
- searchNearby: pg.Vp,
- searchInBounds: pg.mn,
- search: pg.search
- });
- U(window, {
- BMAP_STATUS_SUCCESS: 0,
- BMAP_STATUS_CITY_LIST: 1,
- BMAP_STATUS_UNKNOWN_LOCATION: 2,
- BMAP_STATUS_UNKNOWN_ROUTE: 3,
- BMAP_STATUS_INVALID_KEY: 4,
- BMAP_STATUS_INVALID_REQUEST: 5,
- BMAP_STATUS_PERMISSION_DENIED: 6,
- BMAP_STATUS_SERVICE_UNAVAILABLE: 7,
- BMAP_STATUS_TIMEOUT: 8
- });
- U(window, {
- BMAP_POI_TYPE_NORMAL: 0,
- BMAP_POI_TYPE_BUSSTOP: 1,
- BMAP_POI_TYPE_BUSLINE: 2,
- BMAP_POI_TYPE_SUBSTOP: 3,
- BMAP_POI_TYPE_SUBLINE: 4
- });
- U(window, {
- BMAP_TRANSIT_POLICY_LEAST_TIME: 0,
- BMAP_TRANSIT_POLICY_LEAST_TRANSFER: 2,
- BMAP_TRANSIT_POLICY_LEAST_WALKING: 3,
- BMAP_TRANSIT_POLICY_AVOID_SUBWAYS: 4,
- BMAP_LINE_TYPE_BUS: 0,
- BMAP_LINE_TYPE_SUBWAY: 1,
- BMAP_LINE_TYPE_FERRY: 2
- });
- var qg = te.prototype;
- U(qg, {
- clearResults: qg.Qe
- });
- ve = ue.prototype;
- U(ve, {
- setPolicy: ve.gu,
- toString: ve.toString,
- setPageCapacity: ve.Zp
- });
- U(window, {
- BMAP_DRIVING_POLICY_LEAST_TIME: 0,
- BMAP_DRIVING_POLICY_LEAST_DISTANCE: 1,
- BMAP_DRIVING_POLICY_AVOID_HIGHWAYS: 2
- });
- U(window, {
- BMAP_MODE_DRIVING: "driving",
- BMAP_MODE_TRANSIT: "transit",
- BMAP_MODE_WALKING: "walking",
- BMAP_MODE_NAVIGATION: "navigation"
- });
- var rg = Ce.prototype;
- U(rg, {
- routeCall: rg.gO
- });
- U(window, {
- BMAP_HIGHLIGHT_STEP: 1,
- BMAP_HIGHLIGHT_ROUTE: 2
- });
- U(window, {
- BMAP_ROUTE_TYPE_DRIVING: ee,
- BMAP_ROUTE_TYPE_WALKING: de
- });
- U(window, {
- BMAP_ROUTE_STATUS_NORMAL: fe,
- BMAP_ROUTE_STATUS_EMPTY: 1,
- BMAP_ROUTE_STATUS_ADDRESS: 2
- });
- var sg = xe.prototype;
- U(sg, {
- setPolicy: sg.gu
- });
- var tg = Ne.prototype;
- U(tg, {
- show: tg.show,
- hide: tg.U,
- setTypes: tg.QF,
- setLocation: tg.tn,
- search: tg.search,
- setInputValue: tg.Qy
- });
- U(qb.prototype, {});
- var ug = Le.prototype;
- U(ug, {
- get: ug.get
- });
- U($c.prototype, {});
- U(fb.prototype, {});
- U(window, {
- BMAP_POINT_DENSITY_HIGH: 200,
- BMAP_POINT_DENSITY_MEDIUM: Td,
- BMAP_POINT_DENSITY_LOW: 50
- });
- U(window, {
- BMAP_POINT_SHAPE_STAR: 1,
- BMAP_POINT_SHAPE_WATERDROP: 2,
- BMAP_POINT_SHAPE_CIRCLE: vd,
- BMAP_POINT_SHAPE_SQUARE: 4,
- BMAP_POINT_SHAPE_RHOMBUS: 5
- });
- U(window, {
- BMAP_POINT_SIZE_TINY: 1,
- BMAP_POINT_SIZE_SMALLER: 2,
- BMAP_POINT_SIZE_SMALL: 3,
- BMAP_POINT_SIZE_NORMAL: wd,
- BMAP_POINT_SIZE_BIG: 5,
- BMAP_POINT_SIZE_BIGGER: 6,
- BMAP_POINT_SIZE_HUGE: 7
- });
- U(window, {
- BMap_Symbol_SHAPE_CAMERA: 11,
- BMap_Symbol_SHAPE_WARNING: 12,
- BMap_Symbol_SHAPE_SMILE: 13,
- BMap_Symbol_SHAPE_CLOCK: 14,
- BMap_Symbol_SHAPE_POINT: 9,
- BMap_Symbol_SHAPE_PLANE: 10,
- BMap_Symbol_SHAPE_CIRCLE: 1,
- BMap_Symbol_SHAPE_RECTANGLE: 2,
- BMap_Symbol_SHAPE_RHOMBUS: 3,
- BMap_Symbol_SHAPE_STAR: 4,
- BMap_Symbol_SHAPE_BACKWARD_CLOSED_ARROW: 5,
- BMap_Symbol_SHAPE_FORWARD_CLOSED_ARROW: 6,
- BMap_Symbol_SHAPE_BACKWARD_OPEN_ARROW: 7,
- BMap_Symbol_SHAPE_FORWARD_OPEN_ARROW: 8
- });
- U(window, {
- BMAP_CONTEXT_MENU_ICON_ZOOMIN: cd,
- BMAP_CONTEXT_MENU_ICON_ZOOMOUT: dd
- });
- U(window, {
- BMAP_SYS_DRAWER: La,
- BMAP_SVG_DRAWER: 1,
- BMAP_VML_DRAWER: 2,
- BMAP_CANVAS_DRAWER: 3,
- BMAP_SVG_DRAWER_FIRST: 4
- });
- B.Jw();
- B.B0();
+/**
+ * Author: yang jian fei
+ * Email: 1294485765@qq.com
+ * Created Date: Monday, August 8th 2022, 6:55:12 pm
+ * Modified By: yang jian fei
+ * Desc: desc
+ * Copyright (c) 2022 黑发
+ */
+
+
+window.TILE_VERSION = {
+ "ditu": {
+ "normal": {
+ "version": "088",
+ "updateDate": "20220804"
+ },
+ "satellite": {
+ "version": "009",
+ "updateDate": "20220804"
+ },
+ "normalTraffic": {
+ "version": "081",
+ "updateDate": "20220804"
+ },
+ "satelliteTraffic": {
+ "version": "083",
+ "updateDate": "20220804"
+ },
+ "mapJS": {
+ "version": "104",
+ "updateDate": "20220804"
+ },
+ "satelliteStreet": {
+ "version": "083",
+ "updateDate": "20220804"
+ },
+ "earthVector": {
+ "version": "001",
+ "updateDate": "20220804"
+ }
+ },
+ "webapp": {
+ "high_normal": {
+ "version": "001",
+ "updateDate": "20220804"
+ },
+ "lower_normal": {
+ "version": "002",
+ "updateDate": "20220804"
+ }
+ },
+ "api_for_mobile": {
+ "vector": {
+ "version": "002",
+ "updateDate": "20220804"
+ },
+ "vectorIcon": {
+ "version": "002",
+ "updateDate": "20220804"
+ }
+ }
+};
+window.BMAP_AUTHENTIC_KEY = "Yp57V71dkOPiXjiN8VdcFRsVELzlVNKK";
+(function () {
+ function aa(a) {
+ throw a;
+ }
+ var j = void 0,
+ o = !0,
+ p = null,
+ q = !1;
+
+ function t() {
+ return function () { }
+ }
+
+ function da(a) {
+ return function (b) {
+ this[a] = b
+ }
+ }
+
+ function v(a) {
+ return function () {
+ return this[a]
+ }
+ }
+
+ function ea(a) {
+ return function () {
+ return a
+ }
+ }
+ var fa, ga = [];
+
+ function ha(a) {
+ return function () {
+ return ga[a].apply(this, arguments)
+ }
+ }
+
+ function ia(a, b) {
+ return ga[a] = b
+ }
+ var ja, x = ja = x || {
+ version: "1.3.4"
+ };
+ x.ba = "$BAIDU$";
+ window[x.ba] = window[x.ba] || {};
+ x.object = x.object || {};
+ x.extend = x.object.extend = function (a, b) {
+ for (var c in b) b.hasOwnProperty(c) && (a[c] = b[c]);
+ return a
+ };
+ x.K = x.K || {};
+ x.K.$ = function (a) {
+ return "string" == typeof a || a instanceof String ? document.getElementById(a) : a && a.nodeName && (1 == a.nodeType || 9 == a.nodeType) ? a : p
+ };
+ x.$ = x.Ec = x.K.$;
+ x.K.U = function (a) {
+ a = x.K.$(a);
+ if (a === p) return a;
+ a.style.display = "none";
+ return a
+ };
+ x.U = x.K.U;
+ x.lang = x.lang || {};
+ x.lang.ug = function (a) {
+ return "[object String]" == Object.prototype.toString.call(a)
+ };
+ x.ug = x.lang.ug;
+ x.K.Wj = function (a) {
+ return x.lang.ug(a) ? document.getElementById(a) : a
+ };
+ x.Wj = x.K.Wj;
+ x.K.getElementsByClassName = function (a, b) {
+ var c;
+ if (a.getElementsByClassName) c = a.getElementsByClassName(b);
+ else {
+ var d = a;
+ d == p && (d = document);
+ c = [];
+ var d = d.getElementsByTagName("*"),
+ e = d.length,
+ f = RegExp("(^|\\s)" + b + "(\\s|$)"),
+ g, i;
+ for (i = g = 0; g < e; g++) f.test(d[g].className) && (c[i] = d[g], i++)
+ }
+ return c
+ };
+ x.getElementsByClassName = x.K.getElementsByClassName;
+ x.K.contains = function (a, b) {
+ var c = x.K.Wj,
+ a = c(a),
+ b = c(b);
+ return a.contains ? a != b && a.contains(b) : !!(a.compareDocumentPosition(b) & 16)
+ };
+ x.da = x.da || {};
+ /msie (\d+\.\d)/i.test(navigator.userAgent) && (x.da.ma = x.ma = document.documentMode || +RegExp.$1);
+ var ka = {
+ cellpadding: "cellPadding",
+ cellspacing: "cellSpacing",
+ colspan: "colSpan",
+ rowspan: "rowSpan",
+ valign: "vAlign",
+ usemap: "useMap",
+ frameborder: "frameBorder"
+ };
+ 8 > x.da.ma ? (ka["for"] = "htmlFor", ka["class"] = "className") : (ka.htmlFor = "for", ka.className = "class");
+ x.K.VG = ka;
+ x.K.HF = function (a, b, c) {
+ a = x.K.$(a);
+ if (a === p) return a;
+ if ("style" == b) a.style.cssText = c;
+ else {
+ b = x.K.VG[b] || b;
+ a.setAttribute(b, c)
+ }
+ return a
+ };
+ x.HF = x.K.HF;
+ x.K.IF = function (a, b) {
+ a = x.K.$(a);
+ if (a === p) return a;
+ for (var c in b) x.K.HF(a, c, b[c]);
+ return a
+ };
+ x.IF = x.K.IF;
+ x.Zk = x.Zk || {};
+ (function () {
+ var a = RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)", "g");
+ x.Zk.trim = function (b) {
+ return ("" + b).replace(a, "")
+ }
+ })();
+ x.trim = x.Zk.trim;
+ x.Zk.bp = function (a, b) {
+ var a = "" + a,
+ c = Array.prototype.slice.call(arguments, 1),
+ d = Object.prototype.toString;
+ if (c.length) {
+ c = c.length == 1 ? b !== p && /\[object Array\]|\[object Object\]/.test(d.call(b)) ? b : c : c;
+ return a.replace(/#\{(.+?)\}/g, function (a, b) {
+ var g = c[b];
+ "[object Function]" == d.call(g) && (g = g(b));
+ return "undefined" == typeof g ? "" : g
+ })
+ }
+ return a
+ };
+ x.bp = x.Zk.bp;
+ x.K.Tb = function (a, b) {
+ a = x.K.$(a);
+ if (a === p) return a;
+ for (var c = a.className.split(/\s+/), d = b.split(/\s+/), e, f = d.length, g, i = 0; i < f; ++i) {
+ g = 0;
+ for (e = c.length; g < e; ++g)
+ if (c[g] == d[i]) {
+ c.splice(g, 1);
+ break
+ }
+ }
+ a.className = c.join(" ");
+ return a
+ };
+ x.Tb = x.K.Tb;
+ x.K.$x = function (a, b, c) {
+ a = x.K.$(a);
+ if (a === p) return a;
+ var d;
+ if (a.insertAdjacentHTML) a.insertAdjacentHTML(b, c);
+ else {
+ d = a.ownerDocument.createRange();
+ b = b.toUpperCase();
+ if (b == "AFTERBEGIN" || b == "BEFOREEND") {
+ d.selectNodeContents(a);
+ d.collapse(b == "AFTERBEGIN")
+ } else {
+ b = b == "BEFOREBEGIN";
+ d[b ? "setStartBefore" : "setEndAfter"](a);
+ d.collapse(b)
+ }
+ d.insertNode(d.createContextualFragment(c))
+ }
+ return a
+ };
+ x.$x = x.K.$x;
+ x.K.show = function (a) {
+ a = x.K.$(a);
+ if (a === p) return a;
+ a.style.display = "";
+ return a
+ };
+ x.show = x.K.show;
+ x.K.ZD = function (a) {
+ a = x.K.$(a);
+ return a === p ? a : a.nodeType == 9 ? a : a.ownerDocument || a.document
+ };
+ x.K.Ta = function (a, b) {
+ a = x.K.$(a);
+ if (a === p) return a;
+ for (var c = b.split(/\s+/), d = a.className, e = " " + d + " ", f = 0, g = c.length; f < g; f++) e.indexOf(" " + c[f] + " ") < 0 && (d = d + (" " + c[f]));
+ a.className = d;
+ return a
+ };
+ x.Ta = x.K.Ta;
+ x.K.WB = x.K.WB || {};
+ x.K.Ul = x.K.Ul || [];
+ x.K.Ul.filter = function (a, b, c) {
+ for (var d = 0, e = x.K.Ul, f; f = e[d]; d++)
+ if (f = f[c]) b = f(a, b);
+ return b
+ };
+ x.Zk.QO = function (a) {
+ return a.indexOf("-") < 0 && a.indexOf("_") < 0 ? a : a.replace(/[-_][^-_]/g, function (a) {
+ return a.charAt(1).toUpperCase()
+ })
+ };
+ x.K.b0 = function (a) {
+ x.K.nt(a, "expand") ? x.K.Tb(a, "expand") : x.K.Ta(a, "expand")
+ };
+ x.K.nt = function (a) {
+ if (arguments.length <= 0 || typeof a === "function") return this;
+ if (this.size() <= 0) return q;
+ var a = a.replace(/^\s+/g, "").replace(/\s+$/g, "").replace(/\s+/g, " "),
+ b = a.split(" "),
+ c;
+ x.forEach(this, function (a) {
+ for (var a = a.className, e = 0; e < b.length; e++)
+ if (!~(" " + a + " ").indexOf(" " + b[e] + " ")) {
+ c = q;
+ return
+ }
+ c !== q && (c = o)
+ });
+ return c
+ };
+ x.K.wj = function (a, b) {
+ var c = x.K,
+ a = c.$(a);
+ if (a === p) return a;
+ var b = x.Zk.QO(b),
+ d = a.style[b];
+ if (!d) var e = c.WB[b],
+ d = a.currentStyle || (x.da.ma ? a.style : getComputedStyle(a, p)),
+ d = e && e.get ? e.get(a, d) : d[e || b];
+ if (e = c.Ul) d = e.filter(b, d, "get");
+ return d
+ };
+ x.wj = x.K.wj;
+ /opera\/(\d+\.\d)/i.test(navigator.userAgent) && (x.da.opera = +RegExp.$1);
+ x.da.FM = /webkit/i.test(navigator.userAgent);
+ x.da.KY = /gecko/i.test(navigator.userAgent) && !/like gecko/i.test(navigator.userAgent);
+ x.da.LE = "CSS1Compat" == document.compatMode;
+ x.K.ia = function (a) {
+ a = x.K.$(a);
+ if (a === p) return a;
+ var b = x.K.ZD(a),
+ c = x.da,
+ d = x.K.wj;
+ c.KY > 0 && b.getBoxObjectFor && d(a, "position");
+ var e = {
+ left: 0,
+ top: 0
+ },
+ f;
+ if (a == (c.ma && !c.LE ? b.body : b.documentElement)) return e;
+ if (a.getBoundingClientRect) {
+ a = a.getBoundingClientRect();
+ e.left = Math.floor(a.left) + Math.max(b.documentElement.scrollLeft, b.body.scrollLeft);
+ e.top = Math.floor(a.top) + Math.max(b.documentElement.scrollTop, b.body.scrollTop);
+ e.left = e.left - b.documentElement.clientLeft;
+ e.top = e.top - b.documentElement.clientTop;
+ a = b.body;
+ b = parseInt(d(a, "borderLeftWidth"));
+ d = parseInt(d(a, "borderTopWidth"));
+ if (c.ma && !c.LE) {
+ e.left = e.left - (isNaN(b) ? 2 : b);
+ e.top = e.top - (isNaN(d) ? 2 : d)
+ }
+ } else {
+ f = a;
+ do {
+ e.left = e.left + f.offsetLeft;
+ e.top = e.top + f.offsetTop;
+ if (c.FM > 0 && d(f, "position") == "fixed") {
+ e.left = e.left + b.body.scrollLeft;
+ e.top = e.top + b.body.scrollTop;
+ break
+ }
+ f = f.offsetParent
+ } while (f && f != a);
+ if (c.opera > 0 || c.FM > 0 && d(a, "position") == "absolute") e.top = e.top - b.body.offsetTop;
+ for (f = a.offsetParent; f && f != b.body;) {
+ e.left = e.left - f.scrollLeft;
+ if (!c.opera || f.tagName != "TR") e.top = e.top - f.scrollTop;
+ f = f.offsetParent
+ }
+ }
+ return e
+ };
+ /firefox\/(\d+\.\d)/i.test(navigator.userAgent) && (x.da.Te = +RegExp.$1);
+ /BIDUBrowser/i.test(navigator.userAgent) && (x.da.X1 = o);
+ var la = navigator.userAgent;
+ /(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(la) && !/chrome/i.test(la) && (x.da.BF = +(RegExp.$1 || RegExp.$2));
+ /chrome\/(\d+\.\d)/i.test(navigator.userAgent) && (x.da.Tw = +RegExp.$1);
+ x.jc = x.jc || {};
+ x.jc.Fb = function (a, b) {
+ var c, d, e = a.length;
+ if ("function" == typeof b)
+ for (d = 0; d < e; d++) {
+ c = a[d];
+ c = b.call(a, c, d);
+ if (c === q) break
+ }
+ return a
+ };
+ x.Fb = x.jc.Fb;
+ x.lang.ba = function () {
+ return "TANGRAM__" + (window[x.ba]._counter++).toString(36)
+ };
+ window[x.ba]._counter = window[x.ba]._counter || 1;
+ window[x.ba]._instances = window[x.ba]._instances || {};
+ x.lang.Dt = function (a) {
+ return "[object Function]" == Object.prototype.toString.call(a)
+ };
+ x.lang.Da = function (a) {
+ this.ba = a || x.lang.ba();
+ window[x.ba]._instances[this.ba] = this
+ };
+ window[x.ba]._instances = window[x.ba]._instances || {};
+ x.lang.Da.prototype.mi = ha(0);
+ x.lang.Da.prototype.toString = function () {
+ return "[object " + (this.VQ || "Object") + "]"
+ };
+ x.lang.vz = function (a, b) {
+ this.type = a;
+ this.returnValue = o;
+ this.target = b || p;
+ this.currentTarget = p
+ };
+ x.lang.Da.prototype.addEventListener = function (a, b, c) {
+ if (x.lang.Dt(b)) {
+ !b.Nj && (b.Nj = {});
+ !this.Mi && (this.Mi = {});
+ var d = this.Mi,
+ e;
+ if (typeof c == "string" && c) {
+ /[^\w\-]/.test(c) && aa("nonstandard key:" + c);
+ e = b.ot = c
+ }
+ a.indexOf("on") != 0 && (a = "on" + a);
+ typeof d[a] != "object" && (d[a] = {});
+ typeof b.Nj[a] != "object" && (b.Nj[a] = {});
+ e = e || x.lang.ba();
+ !b.Nj[a].ot && (b.Nj[a].ot = e);
+ d[a][e] = b
+ }
+ };
+ x.lang.Da.prototype.removeEventListener = function (a, b) {
+ a.indexOf("on") != 0 && (a = "on" + a);
+ if (x.lang.Dt(b)) {
+ if (!b.Nj || !b.Nj[a]) return;
+ b = b.Nj[a].ot
+ } else if (!x.lang.ug(b)) return;
+ !this.Mi && (this.Mi = {});
+ var c = this.Mi;
+ c[a] && c[a][b] && delete c[a][b]
+ };
+ x.lang.Da.prototype.dispatchEvent = function (a, b) {
+ x.lang.ug(a) && (a = new x.lang.vz(a));
+ !this.Mi && (this.Mi = {});
+ var b = b || {},
+ c;
+ for (c in b) a[c] = b[c];
+ var d = this.Mi,
+ e = a.type;
+ a.target = a.target || this;
+ a.currentTarget = this;
+ e.indexOf("on") != 0 && (e = "on" + e);
+ x.lang.Dt(this[e]) && this[e].apply(this, arguments);
+ if (typeof d[e] == "object")
+ for (c in d[e]) d[e][c].apply(this, arguments);
+ return a.returnValue
+ };
+ x.lang.ua = function (a, b, c) {
+ var d, e, f = a.prototype;
+ e = new Function;
+ e.prototype = b.prototype;
+ e = a.prototype = new e;
+ for (d in f) e[d] = f[d];
+ a.prototype.constructor = a;
+ a.T_ = b.prototype;
+ if ("string" == typeof c) e.VQ = c
+ };
+ x.ua = x.lang.ua;
+ x.lang.Lc = function (a) {
+ return window[x.ba]._instances[a] || p
+ };
+ x.platform = x.platform || {};
+ x.platform.yM = /macintosh/i.test(navigator.userAgent);
+ x.platform.K3 = /MicroMessenger/i.test(navigator.userAgent);
+ x.platform.GM = /windows/i.test(navigator.userAgent);
+ x.platform.SY = /x11/i.test(navigator.userAgent);
+ x.platform.Sm = /android/i.test(navigator.userAgent);
+ /android (\d+(\.\d)?)/i.test(navigator.userAgent) && (x.platform.iK = x.iK = RegExp.$1);
+ x.platform.MY = /ipad/i.test(navigator.userAgent);
+ x.platform.HE = /iphone/i.test(navigator.userAgent);
+
+ function ma(a, b) {
+ a.domEvent = b = window.event || b;
+ a.clientX = b.clientX || b.pageX;
+ a.clientY = b.clientY || b.pageY;
+ a.offsetX = b.offsetX || b.layerX;
+ a.offsetY = b.offsetY || b.layerY;
+ a.screenX = b.screenX;
+ a.screenY = b.screenY;
+ a.ctrlKey = b.ctrlKey || b.metaKey;
+ a.shiftKey = b.shiftKey;
+ a.altKey = b.altKey;
+ if (b.touches) {
+ a.touches = [];
+ for (var c = 0; c < b.touches.length; c++) a.touches.push({
+ clientX: b.touches[c].clientX,
+ clientY: b.touches[c].clientY,
+ screenX: b.touches[c].screenX,
+ screenY: b.touches[c].screenY,
+ pageX: b.touches[c].pageX,
+ pageY: b.touches[c].pageY,
+ target: b.touches[c].target,
+ identifier: b.touches[c].identifier
+ })
+ }
+ if (b.changedTouches) {
+ a.changedTouches = [];
+ for (c = 0; c < b.changedTouches.length; c++) a.changedTouches.push({
+ clientX: b.changedTouches[c].clientX,
+ clientY: b.changedTouches[c].clientY,
+ screenX: b.changedTouches[c].screenX,
+ screenY: b.changedTouches[c].screenY,
+ pageX: b.changedTouches[c].pageX,
+ pageY: b.changedTouches[c].pageY,
+ target: b.changedTouches[c].target,
+ identifier: b.changedTouches[c].identifier
+ })
+ }
+ if (b.targetTouches) {
+ a.targetTouches = [];
+ for (c = 0; c < b.targetTouches.length; c++) a.targetTouches.push({
+ clientX: b.targetTouches[c].clientX,
+ clientY: b.targetTouches[c].clientY,
+ screenX: b.targetTouches[c].screenX,
+ screenY: b.targetTouches[c].screenY,
+ pageX: b.targetTouches[c].pageX,
+ pageY: b.targetTouches[c].pageY,
+ target: b.targetTouches[c].target,
+ identifier: b.targetTouches[c].identifier
+ })
+ }
+ a.rotation = b.rotation;
+ a.scale = b.scale;
+ return a
+ }
+ x.lang.lx = function (a) {
+ var b = window[x.ba];
+ b.eT && delete b.eT[a]
+ };
+ x.event = {};
+ x.M = x.event.M = function (a, b, c) {
+ if (!(a = x.$(a))) return a;
+ b = b.replace(/^on/, "");
+ a.addEventListener ? a.addEventListener(b, c, q) : a.attachEvent && a.attachEvent("on" + b, c);
+ return a
+ };
+ x.cd = x.event.cd = function (a, b, c) {
+ if (!(a = x.$(a))) return a;
+ b = b.replace(/^on/, "");
+ a.removeEventListener ? a.removeEventListener(b, c, q) : a.detachEvent && a.detachEvent("on" + b, c);
+ return a
+ };
+ x.K.nt = function (a, b) {
+ if (!a || !a.className || typeof a.className != "string") return q;
+ var c = -1;
+ try {
+ c = a.className == b || a.className.search(RegExp("(\\s|^)" + b + "(\\s|$)"))
+ } catch (d) {
+ return q
+ }
+ return c > -1
+ };
+ x.nL = function () {
+ function a(a) {
+ document.addEventListener && (this.element = a, this.qL = this.Gk ? "touchstart" : "mousedown", this.GD = this.Gk ? "touchmove" : "mousemove", this.FD = this.Gk ? "touchend" : "mouseup", this.th = q, this.tu = this.su = 0, this.element.addEventListener(this.qL, this, q), ja.M(this.element, "mousedown", t()), this.handleEvent(p))
+ }
+ a.prototype = {
+ Gk: "ontouchstart" in window || "createTouch" in document,
+ start: function (a) {
+ na(a);
+ this.th = q;
+ this.su = this.Gk ? a.touches[0].clientX : a.clientX;
+ this.tu = this.Gk ? a.touches[0].clientY : a.clientY;
+ this.element.addEventListener(this.GD, this, q);
+ this.element.addEventListener(this.FD, this, q)
+ },
+ move: function (a) {
+ oa(a);
+ var c = this.Gk ? a.touches[0].clientY : a.clientY;
+ if (10 < Math.abs((this.Gk ? a.touches[0].clientX : a.clientX) - this.su) || 10 < Math.abs(c - this.tu)) this.th = o
+ },
+ end: function (a) {
+ oa(a);
+ this.th || (a = document.createEvent("Event"), a.initEvent("tap", q, o), this.element.dispatchEvent(a));
+ this.element.removeEventListener(this.GD, this, q);
+ this.element.removeEventListener(this.FD, this, q)
+ },
+ handleEvent: function (a) {
+ if (a) switch (a.type) {
+ case this.qL:
+ this.start(a);
+ break;
+ case this.GD:
+ this.move(a);
+ break;
+ case this.FD:
+ this.end(a)
+ }
+ }
+ };
+ return function (b) {
+ return new a(b)
+ }
+ }();
+ var B = window.BMap || {};
+ B.version = "2.0";
+
+ function pa(a, b) {
+ if (navigator.cookieEnabled) {
+ var c = new Date;
+ c.setTime(c.getTime() + 2592E6);
+ document.cookie = a + "=" + escape(b) + ";expires=" + c.toGMTString()
+ } else localStorage ? localStorage.setItem(a, b) : sessionStorage && sessionStorage.setItem(a, b)
+ }
+ B.dV = 0.34 > Math.random();
+ 0 <= B.version.indexOf("#") && (B.version = "2.0");
+ B.Pr = [];
+ B.Xe = function (a) {
+ this.Pr.push(a)
+ };
+ B.Fr = [];
+ B.bn = function (a) {
+ this.Fr.push(a)
+ };
+ B.B0 = function () {
+ var a = +new Date,
+ b = H("script", {
+ type: "text/javascript",
+ async: ""
+ });
+ b.charset = "utf-8";
+ b.src = "https://dlswbr.baidu.com/heicha/mw/abclite-2063-s.js?_t=" + a;
+ b.onload = function () {
+ window.___abvk && pa("SECKEY_ABVK", window.___abvk)
+ };
+ window.__abbaidu_2063_cb = function (a) {
+ a = JSON.parse(a);
+ pa("BMAP_SECKEY", a.data)
+ };
+ b.addEventListener ? b.addEventListener("load", function (a) {
+ a = a.target;
+ a.parentNode.removeChild(a)
+ }, q) : b.attachEvent && b.attachEvent("onreadystatechange", function () {
+ var a = window.event.srcElement;
+ a && (a.readyState == "loaded" || a.readyState == "complete") && a.parentNode.removeChild(a)
+ });
+ setTimeout(function () {
+ document.getElementsByTagName("head")[0].appendChild(b);
+ b = p
+ }, 1)
+ };
+ B.Jw = B.apiLoad || function (a) {
+ if (B.version && B.version >= 1.5) {
+ var b = B.oc + "?qt=verify&v=2.1&ak=" + qa;
+ a && (b = b + "&fromPanorama=" + a);
+ ra(b, function (a) {
+ if (a && a.error !== 0) {
+ B = p;
+ var b = "\u60a8\u63d0\u4f9b\u7684\u5bc6\u94a5\u4e0d\u662f\u6709\u6548\u7684\u767e\u5ea6LBS\u5f00\u653e\u5e73\u53f0\u5bc6\u94a5\u3002\u60a8\u53ef\u4ee5\u8bbf\u95ee\u5982\u4e0b\u7f51\u5740\u4e86\u89e3\u5982\u4f55\u83b7\u53d6\u6709\u6548\u7684\u5bc6\u94a5\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\u3002";
+ a.error && sa[a.error] && (b = sa[a.error] + "\u8be6\u60c5\u67e5\u770b\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\u3002");
+ alert(b);
+ if (typeof map !== "undefined" && typeof map.Ha === "function") {
+ map.Ha().innerHTML = "";
+ map.Mi = {}
+ }
+ }
+ })
+ }
+ };
+ var qa = window.BMAP_AUTHENTIC_KEY;
+ window.BMAP_AUTHENTIC_KEY = p;
+ var ta = window.BMap_loadScriptTime,
+ ua = (new Date).getTime(),
+ va = p,
+ wa = o,
+ xa = 5042,
+ ya = 5002,
+ za = 5003,
+ Aa = "load_mapclick",
+ Ba = 5038,
+ Ca = 5041,
+ Ea = 5047,
+ Fa = 5036,
+ Ga = 5039,
+ Ha = 5037,
+ Ia = 5040,
+ Ja = 5011,
+ Ka = 7E3,
+ sa = {
+ 101: "\u60a8\u6240\u4f7f\u7528\u7684\u5bc6\u94a5ak\u6709\u95ee\u9898\uff0c\u4e0d\u652f\u6301jsapi\u670d\u52a1\uff0c\u53ef\u4ee5\u8bbf\u95ee\u8be5\u7f51\u5740\u4e86\u89e3\u5982\u4f55\u83b7\u53d6\u6709\u6548\u5bc6\u94a5\u3002",
+ 102: "MCODE\u53c2\u6570\u4e0d\u5b58\u5728\uff0cmobile\u7c7b\u578bMCODE\u53c2\u6570\u5fc5\u9700\u3002",
+ 200: "APP\u4e0d\u5b58\u5728\uff0cAK\u6709\u8bef\u8bf7\u68c0\u67e5\u518d\u91cd\u8bd5\u3002",
+ 201: "APP\u88ab\u60a8\u7981\u7528\u5566\u3002",
+ 202: "APP\u88ab\u7ba1\u7406\u5458\u5220\u9664\u5566\u3002",
+ 203: "APP\u7c7b\u578b\u9519\u8bef\u3002",
+ 210: "APP IP\u6821\u9a8c\u5931\u8d25\u3002",
+ 220: "APP Referer\u6821\u9a8c\u5931\u8d25\u3002\u8bf7\u68c0\u67e5\u8be5ak\u8bbe\u7f6e\u7684\u767d\u540d\u5355\u4e0e\u8bbf\u95ee\u6240\u6709\u7684\u57df\u540d\u662f\u5426\u4e00\u81f4\u3002",
+ 230: "APP Mcode\u7801\u6821\u9a8c\u5931\u8d25\u3002",
+ 240: "APP\u670d\u52a1\u88ab\u7981\u7528\u4e86\u3002",
+ 250: "\u8be5\u7528\u6237\u4e0d\u5b58\u5728...",
+ 251: "\u8be5\u7528\u6237\u88ab\u81ea\u5df1\u5220\u9664\u5566\u3002",
+ 252: "\u8be5\u7528\u6237\u88ab\u7ba1\u7406\u5458\u5220\u9664\u5566\u3002",
+ 260: "\u60a8\u6240\u4f7f\u7528\u7684\u5bc6\u94a5AK\u4e0d\u5305\u542b\u8be5\u670d\u52a1\u5462\uff0c",
+ 261: "\u60a8\u6240\u4f7f\u7528\u7684\u5bc6\u94a5AK\u7684\u8be5\u670d\u52a1\u88ab\u7981\u7528\u5566\uff0c",
+ 401: "\u60a8\u6240\u4f7f\u7528\u7684AK\u5e76\u53d1\u8d85\u9650\u4e86\uff0c",
+ 302: "\u60a8\u6240\u4f7f\u7528\u7684AK\u5929\u914d\u989d\u8d85\u9650\u4e86\uff0c"
+ };
+ var La = 0;
+ window.BMAP_COORD_BD09 = 5;
+ window.BMAP_COORD_GCJ02 = 3;
+
+ function Na(a, b) {
+ if (a = x.$(a)) {
+ var c = this;
+ x.lang.Da.call(c);
+ b = b || {};
+ c.B = {
+ yk: b.fixedZoomCenter || q,
+ BC: 200,
+ Gb: o,
+ tx: q,
+ yD: o,
+ Zo: o,
+ $o: b.enableWheelZoom || q,
+ lL: o,
+ AD: o,
+ wm: o,
+ Ss: o,
+ xm: o,
+ Xo: b.enable3DBuilding || q,
+ Hc: 25,
+ M0: 240,
+ fV: 450,
+ Xb: I.Xb,
+ Id: I.Id,
+ dy: !!b.dy,
+ fc: Math.round(b.minZoom) || 1,
+ Zb: Math.round(b.maxZoom) || 19,
+ xb: b.mapType || Oa,
+ B4: q,
+ gL: b.drawer || La,
+ sx: o,
+ px: 500,
+ TW: b.enableHighResolution !== q,
+ pj: b.enableMapClick !== q,
+ devicePixelRatio: b.devicePixelRatio || window.devicePixelRatio || 1,
+ lG: 99,
+ ze: b.mapStyle || p,
+ $Y: b.logoControl === q ? q : o,
+ xV: [],
+ Nw: b.beforeClickIcon || p,
+ uD: b.enableBizAuthLogo === q ? q : o,
+ ax: b.coordsType || 5
+ };
+ window.GCJMAP = this;
+ c.B.ze && (this.BY(c.B.ze.controls), this.tM(c.B.ze.geotableId));
+ c.B.ze && c.B.ze.styleId && c.u3(c.B.ze.styleId);
+ c.B.om = {
+ dark: {
+ backColor: "#2D2D2D",
+ textColor: "#bfbfbf",
+ iconUrl: "dicons"
+ },
+ normal: {
+ backColor: "#F3F1EC",
+ textColor: "#c61b1b",
+ iconUrl: "icons"
+ },
+ light: {
+ backColor: "#EBF8FC",
+ textColor: "#017fb4",
+ iconUrl: "licons"
+ }
+ };
+ b.enableAutoResize && (c.B.Ss = b.enableAutoResize);
+ b.enableStreetEntrance === q && (c.B.xm = b.enableStreetEntrance);
+ b.enableDeepZoom === q && (c.B.lL = b.enableDeepZoom);
+ var d = c.B.xV;
+ if (J())
+ for (var e = 0, f = d.length; e < f; e++)
+ if (x.da[d[e]]) {
+ c.B.devicePixelRatio = 1;
+ break
+ }
+ d = -1 < navigator.userAgent.toLowerCase().indexOf("android");
+ e = -1 < navigator.userAgent.toLowerCase().indexOf("mqqbrowser");
+ if (-1 < navigator.userAgent.toLowerCase().indexOf("UCBrowser") || d && e) c.B.lG = 99;
+ c.Ua = a;
+ c.PB(a);
+ a.unselectable = "on";
+ a.innerHTML = "";
+ a.appendChild(c.va());
+ b.size && this.Ce(b.size);
+ d = c.vb();
+ c.width = d.width;
+ c.height = d.height;
+ c.offsetX = 0;
+ c.offsetY = 0;
+ c.platform = a.firstChild;
+ c.Ae = c.platform.firstChild;
+ c.Ae.style.width = c.width + "px";
+ c.Ae.style.height = c.height + "px";
+ c.Zd = {};
+ c.re = new K(0, 0);
+ c.dc = new K(0, 0);
+ c.Na = 3;
+ c.Mc = 0;
+ c.TC = p;
+ c.SC = p;
+ c.Sb = "";
+ c.Uw = "";
+ c.Sh = {};
+ c.Sh.custom = {};
+ c.Sa = 0;
+ b.useWebGL === q && Pa(q);
+ c.P = new Qa(a, {
+ of: "api",
+ jT: o
+ });
+ c.P.U();
+ c.P.Ry(c);
+ b = b || {};
+ d = c.xb = c.B.xb;
+ c.Nd = d.Hm();
+ c.B.xb && this.oa().OF(this);
+ d === Ra && Ta(ya);
+ d === Ua && Ta(za);
+ d = c.B;
+ d.hP = Math.round(b.minZoom);
+ d.gP = Math.round(b.maxZoom);
+ c.gv();
+ c.R = {
+ Ic: q,
+ kc: 0,
+ Cp: 0,
+ KM: 0,
+ O3: 0,
+ tC: q,
+ tF: -1,
+ Re: []
+ };
+ c.platform.style.cursor = c.B.Xb;
+ for (e = 0; e < B.Pr.length; e++) B.Pr[e](c);
+ c.R.tF = e;
+ c.ca();
+ L.load("map", function () {
+ c.Ab()
+ });
+ c.B.pj && (setTimeout(function () {
+ Ta(Aa)
+ }, 1E3), L.load("mapclick", function () {
+ window.MPC_Mgr = window.MPC_Mgr || {};
+ window.MPC_Mgr[c.ba] = new Va(c)
+ }, o));
+ Xa() && L.load("oppc", function () {
+ c.Nz()
+ });
+ J() && L.load("opmb", function () {
+ c.Nz()
+ });
+ a = p;
+ c.cC = []
+ }
+ }
+ x.lang.ua(Na, x.lang.Da, "Map");
+ x.extend(Na.prototype, {
+ va: function () {
+ var a = H("div"),
+ b = a.style;
+ b.overflow = "visible";
+ b.position = "absolute";
+ b.zIndex = "0";
+ b.top = b.left = "0px";
+ var b = H("div", {
+ "class": "BMap_mask"
+ }),
+ c = b.style;
+ c.position = "absolute";
+ c.top = c.left = "0px";
+ c.zIndex = "9";
+ c.overflow = "hidden";
+ c.WebkitUserSelect = "none";
+ a.appendChild(b);
+ return a
+ },
+ PB: function (a) {
+ var b = a.style;
+ b.overflow = "hidden";
+ "absolute" !== Ya(a).position && (b.position = "relative", b.zIndex = 0);
+ b.backgroundColor = "#F3F1EC";
+ b.color = "#000";
+ b.textAlign = "left"
+ },
+ ca: function () {
+ var a = this;
+ a.Co = function () {
+ var b = a.vb();
+ if (a.width !== b.width || a.height !== b.height) {
+ var c = new M(a.width, a.height),
+ d = new N("onbeforeresize");
+ d.size = c;
+ a.dispatchEvent(d);
+ a.ok((b.width - a.width) / 2, (b.height - a.height) / 2);
+ a.Ae.style.width = (a.width = b.width) + "px";
+ a.Ae.style.height = (a.height = b.height) + "px";
+ c = new N("onresize");
+ c.size = b;
+ a.dispatchEvent(c)
+ }
+ };
+ a.B.Ss && (a.R.fm = setInterval(a.Co, 80))
+ },
+ ok: function (a, b, c, d) {
+ var e = this.oa().yc(this.ga()),
+ f = this.Nd,
+ g = o;
+ c && O.GE(c) && (this.re = new K(c.lng, c.lat), g = q);
+ if (c = c && d ? f.Jk(c, this.Sb) : this.dc)
+ if (this.dc = new K(c.lng + a * e, c.lat - b * e), (a = f.rh(this.dc, this.Sb)) && g) this.re = a
+ },
+ Ig: function (a, b) {
+ if (Za(a) && (this.gv(), this.dispatchEvent(new N("onzoomstart")), a = this.fo(a).zoom, a !== this.Na)) {
+ this.Mc = this.Na;
+ this.Na = a;
+ var c;
+ b ? c = new K($a(cp, me).lng, $a(b, me).lat) : this.lh() && (c = this.lh().ia());
+ c && (c = this.Cc(c, this.Mc), this.ok(this.width / 2 - c.x, this.height / 2 - c.y, this.Rb(c, this.Mc), o));
+ this.dispatchEvent(new N("onzoomstartcode"))
+ }
+ },
+ Oc: function (a) {
+ this.Ig(a)
+ },
+ pG: function (a) {
+ this.Ig(this.Na + 1, a)
+ },
+ qG: function (a) {
+ this.Ig(this.Na - 1, a)
+ },
+ Ai: function (a) {
+ if (a instanceof O || a instanceof K) a = $a(a, this), this.dc = this.Nd.Jk(a, this.Sb), this.re = K.GE(a) ? new K(a.lng, a.lat) : this.Nd.rh(this.dc, this.Sb)
+ },
+ zg: function (a, b) {
+ a = Math.round(a) || 0;
+ b = Math.round(b) || 0;
+ this.ok(-a, -b)
+ },
+ js: function (a) {
+ a && ab(a.Ie) && (a.Ie(this), this.dispatchEvent(new N("onaddcontrol", a)))
+ },
+ WN: function (a) {
+ a && ab(a.remove) && (a.remove(), this.dispatchEvent(new N("onremovecontrol", a)))
+ },
+ Fo: function (a) {
+ a && ab(a.ra) && (a.ra(this), this.dispatchEvent(new N("onaddcontextmenu", a)))
+ },
+ Op: function (a) {
+ a && ab(a.remove) && (this.dispatchEvent(new N("onremovecontextmenu", a)), a.remove())
+ },
+ Ka: function (a) {
+ a && ab(a.Ie) && (a.Ie(this), this.dispatchEvent(new N("onaddoverlay", a)))
+ },
+ Ub: function (a) {
+ a && ab(a.remove) && (a.remove(), this.dispatchEvent(new N("onremoveoverlay", a)))
+ },
+ CK: function () {
+ this.dispatchEvent(new N("onclearoverlays"))
+ },
+ $g: function (a) {
+ a && this.dispatchEvent(new N("onaddtilelayer", a))
+ },
+ Ah: function (a) {
+ a && this.dispatchEvent(new N("onremovetilelayer", a))
+ },
+ Fg: function (a) {
+ if (this.xb !== a) {
+ var b = new N("onsetmaptype");
+ b.s4 = this.xb;
+ this.xb = this.B.xb = a;
+ this.Nd = this.xb.Hm();
+ this.ok(0, 0, this.wc(), o);
+ this.xb.OF(this);
+ this.gv();
+ var c = this.fo(this.ga()).zoom;
+ this.Ig(c);
+ this.dispatchEvent(b);
+ b = new N("onmaptypechange");
+ b.Na = c;
+ b.xb = a;
+ this.dispatchEvent(b);
+ (a === bb || a === Ua) && Ta(za)
+ }
+ },
+ Xf: function (a) {
+ var b = this;
+ if (a instanceof O || a instanceof K) a = new K($a(a, b).lng, $a(a, b).lat), b.Ai(a, {
+ noAnimation: o
+ });
+ else if (cb(a))
+ if (b.xb === Ra) {
+ var c = I.xC[a];
+ c && (pt = c.m, b.Xf(pt))
+ } else {
+ var d = this.bI();
+ d.PF(function (c) {
+ 0 === d.Im() && 2 === d.Ga.result.type && (b.Xf(c.Ek(0).point), Ra.Ak(a) && b.JF(a))
+ });
+ d.search(a, {
+ log: "center"
+ })
+ }
+ },
+ Gd: function (a, b) {
+ "[object Undefined]" !== Object.prototype.toString.call(b) && (b = parseInt(b));
+ B.Ln("cus.fire", "time", {
+ z_loadscripttime: ua - ta
+ });
+ var c = this;
+ if (cb(a))
+ if (c.xb === Ra) {
+ var d = I.xC[a];
+ d && (pt = d.m, c.Gd(pt, b))
+ } else {
+ var e = c.bI();
+ e.PF(function (d) {
+ if (0 === e.Im() && (2 === e.Ga.result.type || 11 === e.Ga.result.type)) {
+ var d = d.Ek(0).point,
+ f = b || Q.xx(e.Ga.content.level, c);
+ c.Gd(d, f);
+ Ra.Ak(a) && c.JF(a)
+ }
+ });
+ e.search(a, {
+ log: "center"
+ })
+ }
+ else if ((a instanceof K || a instanceof O) && b) {
+ var b = c.fo(b).zoom,
+ f = $a(a, c);
+ c.Mc = c.Na || b;
+ c.Na = b;
+ d = c.re;
+ c.re = new K(f.lng, f.lat);
+ c.dc = c.Nd.Jk(c.re, c.Sb);
+ c.TC = c.TC || c.Na;
+ c.SC = c.SC || c.re;
+ var g = new N("onload"),
+ i = new N("onloadcode");
+ g.point = new K(f.lng, f.lat);
+ g.pixel = c.Cc(c.re, c.Na);
+ g.zoom = b;
+ c.loaded || (c.loaded = o, c.dispatchEvent(g), va || (va = db()));
+ c.dispatchEvent(i);
+ f = new N("onmoveend");
+ f.EH = "centerAndZoom";
+ d.ab(c.re) || c.dispatchEvent(f);
+ c.dispatchEvent(new N("onmoveend"));
+ c.Mc !== c.Na && (d = new N("onzoomend"), d.EH = "centerAndZoom", c.dispatchEvent(d));
+ c.B.Xo && c.Xo()
+ }
+ },
+ bI: function () {
+ this.R.UM || (this.R.UM = new eb(1));
+ return this.R.UM
+ },
+ reset: function () {
+ this.Gd(this.SC, this.TC, o)
+ },
+ enableDragging: function () {
+ this.B.Gb = o
+ },
+ disableDragging: function () {
+ this.B.Gb = q
+ },
+ enableInertialDragging: function () {
+ this.B.sx = o
+ },
+ disableInertialDragging: function () {
+ this.B.sx = q
+ },
+ enableScrollWheelZoom: function () {
+ this.B.$o = o
+ },
+ disableScrollWheelZoom: function () {
+ this.B.$o = q
+ },
+ enableContinuousZoom: function () {
+ this.B.Zo = o
+ },
+ disableContinuousZoom: function () {
+ this.B.Zo = q
+ },
+ enableDoubleClickZoom: function () {
+ this.B.yD = o
+ },
+ disableDoubleClickZoom: function () {
+ this.B.yD = q
+ },
+ enableKeyboard: function () {
+ this.B.tx = o
+ },
+ disableKeyboard: function () {
+ this.B.tx = q
+ },
+ enablePinchToZoom: function () {
+ this.B.wm = o
+ },
+ disablePinchToZoom: function () {
+ this.B.wm = q
+ },
+ enableAutoResize: function () {
+ this.B.Ss = o;
+ this.Co();
+ this.R.fm || (this.R.fm = setInterval(this.Co, 80))
+ },
+ disableAutoResize: function () {
+ this.B.Ss = q;
+ this.R.fm && (clearInterval(this.R.fm), this.R.fm = p)
+ },
+ enableBizAuthLogo: function () {
+ this.B.uD = o;
+ this.Ow && this.Ow.show()
+ },
+ disableBizAuthLogo: function () {
+ this.B.uD = q;
+ this.Ow && this.Ow.U()
+ },
+ Xo: function () {
+ this.B.Xo = o;
+ this.Tn || (this.Tn = new fb({
+ uL: o
+ }), this.$g(this.Tn))
+ },
+ DW: function () {
+ this.B.Xo = q;
+ this.Tn && (this.Ah(this.Tn), this.Tn = p, delete this.Tn)
+ },
+ vb: function () {
+ return this.Ds && this.Ds instanceof M ? new M(this.Ds.width, this.Ds.height) : new M(this.Ua.clientWidth, this.Ua.clientHeight)
+ },
+ Ce: function (a) {
+ a && a instanceof M ? (this.Ds = a, this.Ua.style.width = a.width + "px", this.Ua.style.height = a.height + "px") : this.Ds = p
+ },
+ wc: v("re"),
+ pc: function () {
+ return gb(this.re, this)
+ },
+ ga: v("Na"),
+ SV: function () {
+ this.Co()
+ },
+ fo: function (a) {
+ var b = this.B.fc,
+ c = this.B.Zb,
+ d = q,
+ a = Math.round(a);
+ a < b && (d = o, a = b);
+ a > c && (d = o, a = c);
+ return {
+ zoom: a,
+ HD: d
+ }
+ },
+ Ha: v("Ua"),
+ Cc: function (a, b) {
+ b = b || this.ga();
+ return this.Nd.Mp(a, b, this.dc, this.vb(), this.Sb)
+ },
+ Mp: function (a, b) {
+ b = b || this.ga();
+ if (a && (a instanceof O || a instanceof K)) return a = $a(a, this), this.Nd.Mp(a, b, this.dc, this.vb(), this.Sb)
+ },
+ Rb: function (a, b) {
+ b = b || this.ga();
+ return this.Nd.Ag(a, b, this.dc, this.vb(), this.Sb)
+ },
+ Ag: function (a, b) {
+ b = b || this.ga();
+ return gb(this.Rb(a, b), this)
+ },
+ We: function (a, b) {
+ if (a) {
+ var a = $a(a, this),
+ c = this.Cc(new K(a.lng, a.lat), b);
+ c.x -= this.offsetX;
+ c.y -= this.offsetY;
+ return c
+ }
+ },
+ KT: function (a, b) {
+ if (a) {
+ var c = new S(a.x, a.y);
+ c.x += this.offsetX;
+ c.y += this.offsetY;
+ return this.Rb(c, b)
+ }
+ },
+ IN: function (a, b) {
+ if (a) {
+ var c = new S(a.x, a.y);
+ c.x += this.offsetX;
+ c.y += this.offsetY;
+ return this.Ag(c, b)
+ }
+ },
+ pointToPixelFor3D: function (a, b) {
+ var c = map.Sb;
+ this.xb === Ra && c && hb.IK(a, this, b)
+ },
+ m4: function (a, b) {
+ var c = map.Sb;
+ this.xb === Ra && c && hb.HK(a, this, b)
+ },
+ n4: function (a, b) {
+ var c = this,
+ d = map.Sb;
+ c.xb === Ra && d && hb.IK(a, c, function (a) {
+ a.x -= c.offsetX;
+ a.y -= c.offsetY;
+ b && b(a)
+ })
+ },
+ k4: function (a, b) {
+ var c = map.Sb;
+ this.xb === Ra && c && (a.x += this.offsetX, a.y += this.offsetY, hb.HK(a, this, b))
+ },
+ Kd: function (a) {
+ if (!this.by()) return new ib;
+ var b = a || {},
+ a = b.margins || [0, 0, 0, 0],
+ c = b.zoom || p,
+ b = this.Ag({
+ x: a[3],
+ y: this.height - a[2]
+ }, c),
+ a = this.Ag({
+ x: this.width - a[1],
+ y: a[0]
+ }, c);
+ return new ib(b, a)
+ },
+ by: function () {
+ return !!this.loaded
+ },
+ lS: function (a, b) {
+ for (var c = this.oa(), d = b.margins || [10, 10, 10, 10], e = b.zoomFactor || 0, f = d[1] + d[3], d = d[0] + d[2], g = c.hp(), i = c = c.Dm(); i >= g; i--) {
+ var k = this.oa().yc(i);
+ if (a.dG().lng / k < this.width - f && a.dG().lat / k < this.height - d) break
+ }
+ i += e;
+ i < g && (i = g);
+ i > c && (i = c);
+ return i
+ },
+ mt: function (a, b) {
+ var c = {
+ center: this.wc(),
+ zoom: this.ga()
+ };
+ if (!a || !a instanceof ib && 0 === a.length || a instanceof ib && a.Bj()) return c;
+ var d = [];
+ a instanceof ib ? (d.push($a(a.pf(), this)), d.push($a(a.xe(), this))) : d = a.slice(0);
+ for (var b = b || {}, e = [], f = 0, g = d.length; f < g; f++) e.push(this.Nd.Jk($a(d[f], this), this.Sb));
+ d = new ib;
+ for (f = e.length - 1; 0 <= f; f--) d.extend(e[f]);
+ if (d.Bj()) return c;
+ c = d.pc();
+ e = this.lS(d, b);
+ b.margins && (d = b.margins, f = (d[1] - d[3]) / 2, d = (d[0] - d[2]) / 2, g = this.oa().yc(e), b.offset && (f = b.offset.width, d = b.offset.height), c.lng += g * f, c.lat += g * d);
+ c = this.Nd.rh(c, this.Sb);
+ return {
+ center: gb(c, this),
+ zoom: e
+ }
+ },
+ Dh: function (a, b) {
+ var c;
+ c = a && a.center ? a : this.mt(a, b);
+ var b = b || {},
+ d = b.delay || 200;
+ if (c.zoom === this.Na && b.enableAnimation !== q) {
+ var e = this;
+ setTimeout(function () {
+ e.Ai(c.center, {
+ duration: 210
+ })
+ }, d)
+ } else this.Gd(c.center, c.zoom)
+ },
+ Rf: v("Zd"),
+ lh: function () {
+ return this.R.ob && this.R.ob.Va() ? this.R.ob : p
+ },
+ getDistance: function (a, b) {
+ if (a && b) {
+ if (a.ab(b)) return 0;
+ var a = $a(a, this),
+ b = $a(b, this),
+ c = 0,
+ c = T.fp(a, b);
+ if (c === p || c === j) c = 0;
+ return c
+ }
+ },
+ Mx: function () {
+ var a = [],
+ b = this.wa,
+ c = this.Fe;
+ if (b)
+ for (var d in b) b[d] instanceof jb && a.push(b[d]);
+ if (c) {
+ d = 0;
+ for (b = c.length; d < b; d++) a.push(c[d])
+ }
+ return a
+ },
+ oa: function () {
+ this.xb.OF(this);
+ return this.xb
+ },
+ Nz: function () {
+ for (var a = this.R.tF; a < B.Pr.length; a++) B.Pr[a](this);
+ this.R.tF = a
+ },
+ JF: function (a) {
+ this.Sb = Ra.Ak(a);
+ this.Uw = Ra.GL(this.Sb);
+ this.xb === Ra && this.Nd instanceof kb && (this.Nd.ij = this.Sb)
+ },
+ setDefaultCursor: function (a) {
+ this.B.Xb = a;
+ this.platform && (this.platform.style.cursor = this.B.Xb)
+ },
+ getDefaultCursor: function () {
+ return this.B.Xb
+ },
+ setDraggingCursor: function (a) {
+ this.B.Id = a
+ },
+ getDraggingCursor: function () {
+ return this.B.Id
+ },
+ Xx: function () {
+ return this.B.TW && 1.5 <= this.B.devicePixelRatio
+ },
+ Ew: function (a, b) {
+ b ? this.Sh[b] || (this.Sh[b] = {}) : b = "custom";
+ a.tag = b;
+ a instanceof lb && (this.Sh[b][a.ba] = a, a.ra(this));
+ var c = this;
+ L.load("hotspot", function () {
+ c.Nz()
+ }, o)
+ },
+ LZ: function (a, b) {
+ b || (b = "custom");
+ this.Sh[b][a.ba] && delete this.Sh[b][a.ba]
+ },
+ lm: function (a) {
+ a || (a = "custom");
+ this.Sh[a] = {}
+ },
+ gv: function () {
+ var a = this.xb.hp(),
+ b = this.xb.Dm(),
+ c = this.B;
+ c.fc = c.hP || a;
+ c.Zb = c.gP || b;
+ c.fc < a && (c.fc = a);
+ c.Zb > b && (c.Zb = b)
+ },
+ setMinZoom: function (a) {
+ a = Math.round(a);
+ a > this.B.Zb && (a = this.B.Zb);
+ this.B.hP = a;
+ this.LJ()
+ },
+ setMaxZoom: function (a) {
+ a = Math.round(a);
+ a < this.B.fc && (a = this.B.fc);
+ this.B.gP = a;
+ this.LJ()
+ },
+ LJ: function () {
+ this.gv();
+ var a = this.B;
+ this.Na < a.fc ? this.Oc(a.fc) : this.Na > a.Zb && this.Oc(a.Zb);
+ var b = new N("onzoomspanchange");
+ b.fc = a.fc;
+ b.Zb = a.Zb;
+ this.dispatchEvent(b)
+ },
+ w3: v("cC"),
+ getKey: function () {
+ return qa
+ },
+ du: function (a) {
+ var b = this;
+ window.MPC_Mgr && window.MPC_Mgr[b.ba] && window.MPC_Mgr[b.ba].close();
+ b.B.pj = q;
+ B.Ln("cus.fire", "count", "z_setmapstylecount");
+ if (a) {
+ b = this;
+ a.styleJson && (a.styleStr = b.Q_(a.styleJson));
+ J() && x.da.BF ? setTimeout(function () {
+ b.B.ze = a;
+ b.dispatchEvent(new N("onsetcustomstyles", a))
+ }, 50) : (this.B.ze = a, this.dispatchEvent(new N("onsetcustomstyles", a)), this.tM(b.B.ze.geotableId));
+ var c = {
+ style: a.style
+ };
+ a.features && 0 < a.features.length && (c.features = o);
+ a.styleJson && 0 < a.styleJson.length && (c.styleJson = o);
+ Ta(5050, c);
+ a.style && (c = b.B.om[a.style] ? b.B.om[a.style].backColor : b.B.om.normal.backColor) && (this.Ha().style.backgroundColor = c)
+ }
+ },
+ BY: function (a) {
+ this.controls || (this.controls = {
+ navigationControl: new mb,
+ scaleControl: new nb,
+ overviewMapControl: new ob,
+ mapTypeControl: new pb
+ });
+ var b = this,
+ c;
+ for (c in this.controls) b.WN(b.controls[c]);
+ a = a || [];
+ x.jc.Fb(a, function (a) {
+ b.js(b.controls[a])
+ })
+ },
+ tM: function (a) {
+ a ? this.Bs && this.Bs.Bf === a || (this.Ah(this.Bs), this.Bs = new qb({
+ geotableId: a
+ }), this.$g(this.Bs)) : this.Ah(this.Bs)
+ },
+ Wb: function () {
+ var a = this.ga() >= this.B.lG && this.oa() === Oa && 18 >= this.ga(),
+ b = q;
+ try {
+ document.createElement("canvas").getContext("2d"), b = o
+ } catch (c) {
+ b = q
+ }
+ return a && b
+ },
+ getCurrentCity: function () {
+ return {
+ name: this.bh,
+ code: this.ns
+ }
+ },
+ Em: function () {
+ this.P.lo();
+ return this.P
+ },
+ setPanorama: function (a) {
+ this.P = a;
+ this.P.Ry(this)
+ },
+ Q_: function (a) {
+ for (var b = {
+ featureType: "t",
+ elementType: "e",
+ visibility: "v",
+ color: "c",
+ lightness: "l",
+ saturation: "s",
+ weight: "w",
+ zoom: "z",
+ hue: "h"
+ }, c = {
+ all: "all",
+ geometry: "g",
+ "geometry.fill": "g.f",
+ "geometry.stroke": "g.s",
+ labels: "l",
+ "labels.text.fill": "l.t.f",
+ "labels.text.stroke": "l.t.s",
+ "lables.text": "l.t",
+ "labels.icon": "l.i"
+ }, d = [], e = 0, f; f = a[e]; e++) {
+ var g = f.stylers;
+ delete f.stylers;
+ x.extend(f, g);
+ var g = [],
+ i;
+ for (i in b)
+ if (f[i])
+ if ("elementType" === i) g.push(b[i] + ":" + c[f[i]]);
+ else {
+ switch (f[i]) {
+ case "poilabel":
+ f[i] = "poi";
+ break;
+ case "districtlabel":
+ f[i] = "label"
+ }
+ g.push(b[i] + ":" + f[i])
+ }
+ 2 < g.length && d.push(g.join("|"))
+ }
+ return d.join(",")
+ },
+ k_: function (a) {
+ this.B.kL = a
+ }
+ });
+
+ function Ta(a, b) {
+ if (a) {
+ var b = b || {},
+ c = "",
+ d;
+ for (d in b) c = c + "&" + d + "=" + encodeURIComponent(b[d]);
+ var e = function (a) {
+ a && (rb = o, setTimeout(function () {
+ // sb.src = B.oc + "images/blank.gif?" + a.src
+ }, 50))
+ },
+ f = function () {
+ var a = tb.shift();
+ a && e(a)
+ };
+ d = (1E8 * Math.random()).toFixed(0);
+ rb ? tb.push({
+ src: "product=jsapi&sub_product=jsapi&v=" + B.version + "&sub_product_v=" + B.version + "&t=" + d + "&code=" + a + "&da_src=" + a + c
+ }) : e({
+ src: "product=jsapi&sub_product=jsapi&v=" + B.version + "&sub_product_v=" + B.version + "&t=" + d + "&code=" + a + "&da_src=" + a + c
+ });
+ ub || (x.M(sb, "load", function () {
+ rb = q;
+ f()
+ }), x.M(sb, "error", function () {
+ rb = q;
+ f()
+ }), ub = o)
+ }
+ }
+ var rb, ub, tb = [],
+ sb = new Image;
+ Ta(5E3, {
+ device_pixel_ratio: window.devicePixelRatio,
+ platform: navigator.platform
+ });
+ B.nM = {
+ TILE_BASE_URLS: ["maponline0.bdimg.com/starpic/?qt=satepc&", "maponline1.bdimg.com/starpic/?qt=satepc&", "maponline2.bdimg.com/starpic/?qt=satepc&", "maponline3.bdimg.com/starpic/?qt=satepc&"],
+ TILE_ONLINE_URLS: ["maponline0.bdimg.com", "maponline1.bdimg.com", "maponline2.bdimg.com", "maponline3.bdimg.com"],
+ TIlE_PERSPECT_URLS: ["gss0.bdstatic.com/-OR1cTe9KgQFm2e88IuM_a", "gss0.bdstatic.com/-ON1cTe9KgQFm2e88IuM_a", "gss0.bdstatic.com/-OZ1cTe9KgQFm2e88IuM_a", "gss0.bdstatic.com/-OV1cTe9KgQFm2e88IuM_a"],
+ geolocControl: "gsp0.baidu.com/8LkJsjOpB1gCo2Kml5_Y_D3",
+ TILES_YUN_HOST: ["gsp0.baidu.com/-eR1bSahKgkFkRGko9WTAnF6hhy", "gsp0.baidu.com/-eN1bSahKgkFkRGko9WTAnF6hhy", "gsp0.baidu.com/-eZ1bSahKgkFkRGko9WTAnF6hhy", "gsp0.baidu.com/-eV1bSahKgkFkRGko9WTAnF6hhy"],
+ traffic: "itsmap2.baidu.com",
+ message: "j.map.baidu.com",
+ baidumap: "map.baidu.com",
+ wuxian: "gsp0.baidu.com/6a1OdTeaKgQFm2e88IuM_a",
+ pano: ["apisv0.bdimg.com", "apisv1.bdimg.com"],
+ panoVerify: "api.map.baidu.com",
+ main_domain_nocdn: {
+ baidu: "api.map.baidu.com",
+ other: "api.map.baidu.com"
+ },
+ main_domain_cdn: {
+ baidu: ["mapapip0.bdimg.com", "mapapip1.bdimg.com", "mapapip2.bdimg.com"],
+ other: ["api.map.baidu.com"],
+ webmap: ["webmap0.bdimg.com"]
+ },
+ map_click: "gsp0.baidu.com/80MWbzKh2wt3n2qy8IqW0jdnxx1xbK",
+ vector_traffic: "maponline0.bdimg.com"
+ };
+ B.vY = {
+ TILE_BASE_URLS: ["maponline0.bdimg.com/starpic/?qt=satepc&", "maponline1.bdimg.com/starpic/?qt=satepc&", "maponline2.bdimg.com/starpic/?qt=satepc&", "maponline3.bdimg.com/starpic/?qt=satepc&"],
+ TILE_ONLINE_URLS: ["maponline0.bdimg.com", "maponline1.bdimg.com", "maponline2.bdimg.com", "maponline3.bdimg.com"],
+ TIlE_PERSPECT_URLS: ["d0.map.baidu.com", "d1.map.baidu.com", "d2.map.baidu.com", "d3.map.baidu.com"],
+ geolocControl: "loc.map.baidu.com",
+ TILES_YUN_HOST: ["g0.api.map.baidu.com", "g1.api.map.baidu.com", "g2.api.map.baidu.com", "g3.api.map.baidu.com"],
+ traffic: "itsmap2.baidu.com",
+ message: "j.map.baidu.com",
+ baidumap: "map.baidu.com",
+ wuxian: "wuxian.baidu.com",
+ pano: ["apisv0.bdimg.com", "apisv1.bdimg.com"],
+ panoVerify: "api.map.baidu.com",
+ main_domain_nocdn: {
+ baidu: "api.map.baidu.com"
+ },
+ main_domain_cdn: {
+ baidu: ["mapapip0.bdimg.com", "mapapip1.bdimg.com", "mapapip2.bdimg.com"],
+ webmap: ["webmap0.bdimg.com"]
+ },
+ map_click: "mapclick.map.baidu.com",
+ vector_traffic: "maponline0.bdimg.com"
+ };
+ B.s0 = {
+ "0": {
+ proto: "http://",
+ domain: B.vY
+ },
+ 1: {
+ proto: "https://",
+ domain: B.nM
+ },
+ 2: {
+ proto: "https://",
+ domain: B.nM
+ }
+ };
+ B.kz = window.HOST_TYPE || "0";
+ B.url = B.s0[B.kz];
+ B.Fp = B.url.proto + B.url.domain.baidumap + "/";
+ B.oc = B.url.proto + ("2" == B.kz ? B.url.domain.main_domain_nocdn.other : B.url.domain.main_domain_nocdn.baidu) + "/";
+ B.la = B.url.proto + ("2" == B.kz ? B.url.domain.main_domain_cdn.other[0] : B.url.domain.main_domain_nocdn.baidu) + "/";
+ B.gj = B.url.proto + B.url.domain.main_domain_cdn.webmap[0] + "/";
+ // B.JN = B.url.proto + B.url.domain.panoVerify + "/"; // yangjianfei 注释
+ B.JN = ''; // yangjianfei 添加
+ B.Sf = function (a, b) {
+ var c, d, b = b || "";
+ switch (a) {
+ case "main_domain_nocdn":
+ c = B.oc + b;
+ break;
+ case "main_domain_cdn":
+ c = B.la + b;
+ break;
+ default:
+ d = B.url.domain[a], "[object Array]" == Object.prototype.toString.call(d) ? (c = [], x.jc.Fb(d, function (a, d) {
+ c[d] = B.url.proto + a + "/" + b
+ })) : c = B.url.proto + B.url.domain[a] + "/" + b
+ }
+ return c
+ };
+
+ function vb(a) {
+ var b = {
+ duration: 1E3,
+ Hc: 30,
+ To: 0,
+ hc: wb.SM,
+ Pt: t()
+ };
+ this.$f = [];
+ if (a)
+ for (var c in a) b[c] = a[c];
+ this.k = b;
+ if (Za(b.To)) {
+ var d = this;
+ setTimeout(function () {
+ d.start()
+ }, b.To)
+ } else b.To != xb && this.start()
+ }
+ var xb = "INFINITE";
+ vb.prototype.start = function () {
+ this.Xu = db();
+ this.pA = this.Xu + this.k.duration;
+ yb(this)
+ };
+ vb.prototype.add = function (a) {
+ this.$f.push(a)
+ };
+
+ function yb(a) {
+ var b = db();
+ b >= a.pA ? (ab(a.k.va) && a.k.va(a.k.hc(1)), ab(a.k.finish) && a.k.finish(), 0 < a.$f.length && (b = a.$f[0], b.$f = [].concat(a.$f.slice(1)), b.start())) : (a.Oy = a.k.hc((b - a.Xu) / a.k.duration), ab(a.k.va) && a.k.va(a.Oy), a.YF || (a.fs = setTimeout(function () {
+ yb(a)
+ }, 1E3 / a.k.Hc)))
+ }
+ vb.prototype.stop = function (a) {
+ this.YF = o;
+ for (var b = 0; b < this.$f.length; b++) this.$f[b].stop(), this.$f[b] = p;
+ this.$f.length = 0;
+ this.fs && (clearTimeout(this.fs), this.fs = p);
+ this.k.Pt(this.Oy);
+ a && (this.pA = this.Xu, yb(this))
+ };
+ vb.prototype.cancel = ha(1);
+ var wb = {
+ SM: function (a) {
+ return a
+ },
+ reverse: function (a) {
+ return 1 - a
+ },
+ sD: function (a) {
+ return a * a
+ },
+ rD: function (a) {
+ return Math.pow(a, 3)
+ },
+ Qs: function (a) {
+ return -(a * (a - 2))
+ },
+ iL: function (a) {
+ return Math.pow(a - 1, 3) + 1
+ },
+ hL: function (a) {
+ return 0.5 > a ? 2 * a * a : -2 * (a - 2) * a - 1
+ },
+ y2: function (a) {
+ return 0.5 > a ? 4 * Math.pow(a, 3) : 4 * Math.pow(a - 1, 3) + 1
+ },
+ z2: function (a) {
+ return (1 - Math.cos(Math.PI * a)) / 2
+ }
+ };
+ wb["ease-in"] = wb.sD;
+ wb["ease-out"] = wb.Qs;
+ var I = {
+ tG: 34,
+ uG: 21,
+ vG: new M(21, 32),
+ yP: new M(10, 32),
+ xP: new M(24, 36),
+ wP: new M(12, 36),
+ rG: new M(13, 1),
+ // pa: B.la + "images/",
+ pa: "./plugin/offline/images/",
+ F3: "http://mapapip0.bdimg.com/images/",
+ sG: B.la + "images/markers_new.png",
+ uP: 24,
+ vP: 73,
+ xC: {
+ "\u5317\u4eac": {
+ Fy: "bj",
+ m: new K(116.403874, 39.914889)
+ },
+ "\u4e0a\u6d77": {
+ Fy: "sh",
+ m: new K(121.487899, 31.249162)
+ },
+ "\u6df1\u5733": {
+ Fy: "sz",
+ m: new K(114.025974, 22.546054)
+ },
+ "\u5e7f\u5dde": {
+ Fy: "gz",
+ m: new K(113.30765, 23.120049)
+ }
+ },
+ fontFamily: "arial,sans-serif"
+ };
+ x.da.Te ? (x.extend(I, {
+ XK: "url(" + I.pa + "ruler.cur),crosshair",
+ Xb: "-moz-grab",
+ Id: "-moz-grabbing"
+ }), x.platform.GM && (I.fontFamily = "arial,simsun,sans-serif")) : x.da.Tw || x.da.BF ? x.extend(I, {
+ XK: "url(" + I.pa + "ruler.cur) 2 6,crosshair",
+ Xb: "url(" + I.pa + "openhand.cur) 8 8,default",
+ Id: "url(" + I.pa + "closedhand.cur) 8 8,move"
+ }) : x.extend(I, {
+ XK: "url(" + I.pa + "ruler.cur),crosshair",
+ Xb: "url(" + I.pa + "openhand.cur),default",
+ Id: "url(" + I.pa + "closedhand.cur),move"
+ });
+
+ function zb(a, b) {
+ var c = a.style;
+ c.left = b[0] + "px";
+ c.top = b[1] + "px"
+ }
+
+ function Ab(a) {
+ 0 < x.da.ma ? a.unselectable = "on" : a.style.MozUserSelect = "none"
+ }
+
+ function Bb(a) {
+ return a && a.parentNode && 11 !== a.parentNode.nodeType
+ }
+
+ function Cb(a, b) {
+ x.K.$x(a, "beforeEnd", b);
+ return a.lastChild
+ }
+
+ function Db(a) {
+ for (var b = {
+ left: 0,
+ top: 0
+ }; a && a.offsetParent;) b.left += a.offsetLeft, b.top += a.offsetTop, a = a.offsetParent;
+ return b
+ }
+
+ function na(a) {
+ a = window.event || a;
+ a.stopPropagation ? a.stopPropagation() : a.cancelBubble = o
+ }
+
+ function Fb(a) {
+ a = window.event || a;
+ a.preventDefault ? a.preventDefault() : a.returnValue = q;
+ return q
+ }
+
+ function oa(a) {
+ na(a);
+ return Fb(a)
+ }
+
+ function Gb() {
+ var a = document.documentElement,
+ b = document.body;
+ return a && (a.scrollTop || a.scrollLeft) ? [a.scrollTop, a.scrollLeft] : b ? [b.scrollTop, b.scrollLeft] : [0, 0]
+ }
+
+ function Hb(a, b) {
+ if (a && b) return Math.round(Math.sqrt(Math.pow(a.x - b.x, 2) + Math.pow(a.y - b.y, 2)))
+ }
+
+ function Ib(a, b) {
+ var c = [],
+ b = b || function (a) {
+ return a
+ },
+ d;
+ for (d in a) c.push(d + "=" + b(a[d]));
+ return c.join("&")
+ }
+
+ function H(a, b, c) {
+ var d = document.createElement(a);
+ c && (d = document.createElementNS(c, a));
+ return x.K.IF(d, b || {})
+ }
+
+ function Ya(a) {
+ if (a.currentStyle) return a.currentStyle;
+ if (a.ownerDocument && a.ownerDocument.defaultView) return a.ownerDocument.defaultView.getComputedStyle(a, p)
+ }
+
+ function ab(a) {
+ return "function" === typeof a
+ }
+
+ function Za(a) {
+ return "number" === typeof a
+ }
+
+ function cb(a) {
+ return "string" == typeof a
+ }
+
+ function Jb(a) {
+ return "undefined" != typeof a
+ }
+
+ function Kb(a) {
+ return "object" == typeof a
+ }
+ var Lb = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
+
+ function Mb(a) {
+ var b = "",
+ c, d, e = "",
+ f, g = "",
+ i = 0;
+ f = /[^A-Za-z0-9\+\/\=]/g;
+ if (!a || f.exec(a)) return a;
+ a = a.replace(/[^A-Za-z0-9\+\/\=]/g, "");
+ do c = Lb.indexOf(a.charAt(i++)), d = Lb.indexOf(a.charAt(i++)), f = Lb.indexOf(a.charAt(i++)), g = Lb.indexOf(a.charAt(i++)), c = c << 2 | d >> 4, d = (d & 15) << 4 | f >> 2, e = (f & 3) << 6 | g, b += String.fromCharCode(c), 64 != f && (b += String.fromCharCode(d)), 64 != g && (b += String.fromCharCode(e)); while (i < a.length);
+ return b
+ }
+ var N = x.lang.vz;
+
+ function J() {
+ return !(!x.platform.HE && !x.platform.MY && !x.platform.Sm)
+ }
+
+ function Xa() {
+ return !(!x.platform.GM && !x.platform.yM && !x.platform.SY)
+ }
+
+ function db() {
+ return (new Date).getTime()
+ }
+
+ function Nb() {
+ var a = document.body.appendChild(H("div"));
+ a.innerHTML = '';
+ var b = a.firstChild;
+ if (!b.style) return q;
+ b.style.behavior = "url(#default#VML)";
+ b = b ? "object" === typeof b.adj : o;
+ a.parentNode.removeChild(a);
+ return b
+ }
+
+ function Ob() {
+ return !!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Shape", "1.1")
+ }
+
+ function Pb() {
+ return !!H("canvas").getContext
+ }
+
+ function Qb(a) {
+ return a * Math.PI / 180
+ }
+ B.ZY = function () {
+ var a = o,
+ b = o,
+ c = o,
+ d = o,
+ e = 0,
+ f = 0,
+ g = 0,
+ i = 0;
+ return {
+ fR: function () {
+ e += 1;
+ a && (a = q, setTimeout(function () {
+ Ta(5054, {
+ pic: e
+ });
+ a = o;
+ e = 0
+ }, 1E4))
+ },
+ f1: function () {
+ f += 1;
+ b && (b = q, setTimeout(function () {
+ Ta(5055, {
+ move: f
+ });
+ b = o;
+ f = 0
+ }, 1E4))
+ },
+ h1: function () {
+ g += 1;
+ c && (c = q, setTimeout(function () {
+ Ta(5056, {
+ zoom: g
+ });
+ c = o;
+ g = 0
+ }, 1E4))
+ },
+ g1: function (a) {
+ i += a;
+ d && (d = q, setTimeout(function () {
+ Ta(5057, {
+ tile: i
+ });
+ d = o;
+ i = 0
+ }, 5E3))
+ }
+ }
+ }();
+ B.rq = {
+ HG: "#83a1ff",
+ uq: "#808080"
+ };
+
+ function Tb(a, b, c) {
+ b.Xm || (b.Xm = [], b.handle = {});
+ b.Xm.push({
+ filter: c,
+ ym: a
+ });
+ b.addEventListener || (b.addEventListener = function (a, c) {
+ b.attachEvent("on" + a, c)
+ });
+ b.handle.click || (b.addEventListener("click", function (a) {
+ for (var c = a.target || a.srcElement; c != b;) {
+ Ub(b.Xm, function (b, g) {
+ RegExp(g.filter).test(c.getAttribute("filter")) && g.ym.call(c, a, c.getAttribute("filter"))
+ });
+ c = c.parentNode
+ }
+ }, q), b.handle.click = o)
+ }
+
+ function Ub(a, b) {
+ for (var c = 0, d = a.length; c < d; c++) b(c, a[c])
+ }
+ void
+ function (a, b, c) {
+ void
+ function (a, b, c) {
+ function g(a) {
+ if (!a.So) {
+ for (var c = o, d = [], f = a.PZ, i = 0; f && i < f.length; i++) {
+ var k = f[i],
+ l = ba[k] = ba[k] || {};
+ if (l.So || l == a) d.push(l.Lc);
+ else {
+ c = q;
+ if (!l.vW && (k = (Ma.get("alias") || {})[k] || k + ".js", !E[k])) {
+ E[k] = o;
+ var m = b.createElement("script"),
+ n = b.getElementsByTagName("script")[0];
+ m.async = o;
+ m.src = k;
+ n.parentNode.insertBefore(m, n)
+ }
+ l.lz = l.lz || {};
+ l.lz[a.name] = a
+ }
+ }
+ if (c) {
+ a.So = o;
+ a.PK && (a.Lc = a.PK.apply(a, d));
+ for (var s in a.lz) g(a.lz[s])
+ }
+ }
+ }
+
+ function i(a) {
+ return (a || new Date) - F
+ }
+
+ function k(a, b, c) {
+ if (a) {
+ "string" == typeof a && (c = b, b = a, a = G);
+ try {
+ a == G ? (P[b] = P[b] || [], P[b].unshift(c)) : a.addEventListener ? a.addEventListener(b, c, q) : a.attachEvent && a.attachEvent("on" + b, c)
+ } catch (d) { }
+ }
+ }
+
+ function l(a, b, c) {
+ if (a) {
+ "string" == typeof a && (c = b, b = a, a = G);
+ try {
+ if (a == G) {
+ var d = P[b];
+ if (d)
+ for (var e = d.length; e--;) d[e] === c && d.splice(e, 1)
+ } else a.removeEventListener ? a.removeEventListener(b, c, q) : a.detachEvent && a.detachEvent("on" + b, c)
+ } catch (f) { }
+ }
+ }
+
+ function m(a) {
+ var b = P[a],
+ c = 0;
+ if (b) {
+ for (var d = [], e = arguments, f = 1; f < e.length; f++) d.push(e[f]);
+ for (f = b.length; f--;) b[f].apply(this, d) && c++;
+ return c
+ }
+ }
+
+ function n(a, b) {
+ if (a && b) {
+ var c = new Image(1, 1),
+ d = [],
+ e = "img_" + +new Date,
+ f;
+ for (f in b) b[f] && d.push(f + "=" + encodeURIComponent(b[f]));
+ G[e] = c;
+ c.onload = c.onerror = function () {
+ G[e] = c = c.onload = c.onerror = p;
+ delete G[e]
+ };
+ c.src = a + "?" + d.join("&")
+ }
+ }
+
+ function s() {
+ var a = arguments,
+ b = a[0];
+ if (this.OK || /^(on|un|set|get|create)$/.test(b)) {
+ for (var b = w.prototype[b], c = [], d = 1, e = a.length; d < e; d++) c.push(a[d]);
+ "function" == typeof b && b.apply(this, c)
+ } else this.nK.push(a)
+ }
+
+ function u(a, b) {
+ var c = {},
+ d;
+ for (d in a) a.hasOwnProperty(d) && (c[d] = a[d]);
+ for (d in b) b.hasOwnProperty(d) && (c[d] = b[d]);
+ return c
+ }
+
+ function w(a) {
+ this.name = a;
+ this.Vs = {
+ protocolParameter: {
+ postUrl: p,
+ protocolParameter: p
+ }
+ };
+ this.nK = [];
+ this.alog = G
+ }
+
+ function y(a) {
+ a = a || "default";
+ if ("*" == a) {
+ var a = [],
+ b;
+ for (b in R) a.push(R[b]);
+ return a
+ } (b = R[a]) || (b = R[a] = new w(a));
+ return b
+ }
+ var D = c.alog;
+ if (!D || !D.So) {
+ var C = b.all && a.attachEvent,
+ F = D && D.QE || +new Date,
+ z = a.R3 || (+new Date).toString(36) + Math.random().toString(36).substr(2, 3),
+ A = 0,
+ E = {},
+ G = function (a) {
+ var b = arguments,
+ c, d, e, f;
+ if ("define" == a || "require" == a) {
+ for (d = 1; d < b.length; d++) switch (typeof b[d]) {
+ case "string":
+ c = b[d];
+ break;
+ case "object":
+ e = b[d];
+ break;
+ case "function":
+ f = b[d]
+ }
+ "require" == a && (c && !e && (e = [c]), c = p);
+ c = !c ? "#" + A++ : c;
+ d = ba[c] = ba[c] || {};
+ d.So || (d.name = c, d.PZ = e, d.PK = f, "define" == a && (d.vW = o), g(d))
+ } else "function" == typeof a ? a(G) : ("" + a).replace(/^(?:([\w$_]+)\.)?(\w+)$/, function (a, c, d) {
+ b[0] = d;
+ s.apply(G.gG(c), b)
+ })
+ },
+ P = {},
+ R = {},
+ ba = {
+ R1: {
+ name: "alog",
+ So: o,
+ Lc: G
+ }
+ };
+ w.prototype.start = w.prototype.create = function (a) {
+ if (!this.OK) {
+ "object" == typeof a && this.set(a);
+ this.OK = new Date;
+ for (this.Ws("create", this); a = this.nK.shift();) s.apply(this, a)
+ }
+ };
+ w.prototype.send = function (a, b) {
+ var c = u({
+ ts: i().toString(36),
+ t: a,
+ sid: z
+ }, this.Vs);
+ if ("object" == typeof b) c = u(c, b);
+ else {
+ var d = arguments;
+ switch (a) {
+ case "pageview":
+ d[1] && (c.page = d[1]);
+ d[2] && (c.title = d[2]);
+ break;
+ case "event":
+ d[1] && (c.eventCategory = d[1]);
+ d[2] && (c.eventAction = d[2]);
+ d[3] && (c.eventLabel = d[3]);
+ d[4] && (c.eventValue = d[4]);
+ break;
+ case "timing":
+ d[1] && (c.timingCategory = d[1]);
+ d[2] && (c.timingVar = d[2]);
+ d[3] && (c.timingValue = d[3]);
+ d[4] && (c.timingLabel = d[4]);
+ break;
+ case "exception":
+ d[1] && (c.exDescription = d[1]);
+ d[2] && (c.exFatal = d[2]);
+ break;
+ default:
+ return
+ }
+ }
+ this.Ws("send", c);
+ var e;
+ if (d = this.Vs.protocolParameter) {
+ var f = {};
+ for (e in c) d[e] !== p && (f[d[e] || e] = c[e]);
+ e = f
+ } else e = c;
+ n(this.Vs.postUrl, e)
+ };
+ w.prototype.set = function (a, b) {
+ if ("string" == typeof a) "protocolParameter" == a && (b = u({
+ postUrl: p,
+ protocolParameter: p
+ }, b)), this.Vs[a] = b;
+ else if ("object" == typeof a)
+ for (var c in a) this.set(c, a[c])
+ };
+ w.prototype.get = function (a, b) {
+ var c = this.Vs[a];
+ "function" == typeof b && b(c);
+ return c
+ };
+ w.prototype.Ws = function (a, b) {
+ return G.Ws(this.name + "." + a, b)
+ };
+ w.prototype.M = function (a, b) {
+ G.M(this.name + "." + a, b)
+ };
+ w.prototype.cd = function (a, b) {
+ G.cd(this.name + "." + a, b)
+ };
+ G.name = "alog";
+ G.zO = z;
+ G.So = o;
+ G.timestamp = i;
+ G.cd = l;
+ G.M = k;
+ G.Ws = m;
+ G.gG = y;
+ G("init");
+ var ca = w.prototype;
+ U(ca, {
+ start: ca.start,
+ create: ca.create,
+ send: ca.send,
+ set: ca.set,
+ get: ca.get,
+ on: ca.M,
+ un: ca.cd,
+ fire: ca.Ws
+ });
+ var Ma = y();
+ Ma.set("protocolParameter", {
+ Q1: p
+ });
+ if (D) {
+ ca = [].concat(D.yb || [], D.hn || []);
+ D.yb = D.hn = p;
+ for (var Sa in G) G.hasOwnProperty(Sa) && (D[Sa] = G[Sa]);
+ G.yb = G.hn = {
+ push: function (a) {
+ G.apply(G, a)
+ }
+ };
+ for (D = 0; D < ca.length; D++) G.apply(G, ca[D])
+ }
+ c.alog = G;
+ C && k(b, "mouseup", function (a) {
+ a = a.target || a.srcElement;
+ 1 == a.nodeType && /^ajavascript:/i.test(a.tagName + a.href)
+ });
+ var Wa = q;
+ a.onerror = function (a, b, d, e) {
+ var g = o;
+ !b && /^script error/i.test(a) && (Wa ? g = q : Wa = o);
+ g && c.alog("exception.send", "exception", {
+ Mt: a,
+ PE: b,
+ It: d,
+ nm: e
+ });
+ return q
+ };
+ c.alog("exception.on", "catch", function (a) {
+ c.alog("exception.send", "exception", {
+ Mt: a.Mt,
+ PE: a.path,
+ It: a.It,
+ method: a.method,
+ wL: "catch"
+ })
+ })
+ }
+ }(a, b, c);
+ void
+ function (a, b, c) {
+ var g = "18_1";
+ J() && (g = "18_2");
+ var i = "http://static.tieba.baidu.com";
+ "https:" === a.location.protocol && (i = "https://gsp0.baidu.com/5aAHeD3nKhI2p27j8IqW0jdnxx1xbK");
+ var k = Math.random,
+ i = i + "/tb/pms/img/st.gif",
+ l = {
+ Bh: "0.1"
+ },
+ m = {
+ Bh: "0.1"
+ },
+ n = {
+ Bh: "0.1"
+ },
+ s = {
+ Bh: "0"
+ };
+ if (l && l.Bh && k() < l.Bh) {
+ var u = c.alog.gG("monkey"),
+ w, l = a.screen,
+ y = b.referrer;
+ u.set("ver", 5);
+ u.set("pid", 241);
+ l && u.set("px", l.width + "*" + l.height);
+ u.set("ref", y);
+ c.alog("monkey.on", "create", function () {
+ w = c.alog.timestamp;
+ u.set("protocolParameter", {
+ reports: p
+ })
+ });
+ c.alog("monkey.on", "send", function (a) {
+ "pageview" == a.t && (a.cmd = "open");
+ a.now && (a.ts = w(a.now).toString(36), a.now = "")
+ });
+ c.alog("monkey.create", {
+ page: g,
+ pid: "241",
+ p: "18",
+ dv: 6,
+ postUrl: i,
+ reports: {
+ refer: 1
+ }
+ });
+ c.alog("monkey.send", "pageview", {
+ now: +new Date
+ })
+ }
+ if (m && m.Bh && k() < m.Bh) {
+ var D = q;
+ a.onerror = function (a, b, d, e) {
+ var g = o;
+ !b && /^script error/i.test(a) && (D ? g = q : D = o);
+ g && c.alog("exception.send", "exception", {
+ Mt: a,
+ PE: b,
+ It: d,
+ nm: e
+ });
+ return q
+ };
+ c.alog("exception.on", "catch", function (a) {
+ c.alog("exception.send", "exception", {
+ Mt: a.Mt,
+ PE: a.path,
+ It: a.It,
+ method: a.method,
+ wL: "catch"
+ })
+ });
+ c.alog("exception.create", {
+ postUrl: i,
+ dv: 7,
+ page: g,
+ pid: "170",
+ p: "18"
+ })
+ }
+ n && (n.Bh && k() < n.Bh) && (c.alog("cus.on", "time", function (a) {
+ var b = {},
+ d = q,
+ e;
+ if ("[object Object]" === a.toString()) {
+ for (var g in a) "page" == g ? b.page = a[g] : (e = parseInt(a[g]), 0 < e && /^z_/.test(g) && (d = o, b[g] = e));
+ d && c.alog("cus.send", "time", b)
+ }
+ }), c.alog("cus.on", "count", function (a) {
+ var b = {},
+ d = q;
+ "string" === typeof a && (a = [a]);
+ if (a instanceof Array)
+ for (var e = 0; e < a.length; e++) /^z_/.test(a[e]) ? (d = o, b[a[e]] = 1) : /^page:/.test(a[e]) && (b.page = a[e].substring(5));
+ d && c.alog("cus.send", "count", b)
+ }), c.alog("cus.create", {
+ dv: 3,
+ postUrl: i,
+ page: g,
+ p: "18"
+ }));
+ if (s && s.Bh && k() < s.Bh) {
+ var C = ["Moz", "O", "ms", "Webkit"],
+ F = ["-webkit-", "-moz-", "-o-", "-ms-"],
+ z = function () {
+ return typeof b.createElement !== "function" ? b.createElement(arguments[0]) : b.createElement.apply(b, arguments)
+ },
+ A = z("dpFeatureTest").style,
+ E = function (a) {
+ return G(a, j, j)
+ },
+ G = function (a, b, c) {
+ var d = a.charAt(0).toUpperCase() + a.slice(1),
+ e = (a + " " + C.join(d + " ") + d).split(" ");
+ if (typeof b === "string" || typeof b === "undefined") return P(e, b);
+ e = (a + " " + C.join(d + " ") + d).split(" ");
+ a: {
+ var a = e,
+ f;
+ for (f in a)
+ if (a[f] in b) {
+ if (c === q) {
+ b = a[f];
+ break a
+ }
+ f = b[a[f]];
+ b = typeof f === "function" ? fnBind(f, c || b) : f;
+ break a
+ }
+ b = q
+ }
+ return b
+ },
+ P = function (a, b) {
+ var c, d, e;
+ d = a.length;
+ for (c = 0; c < d; c++) {
+ e = a[c];
+ ~("" + e).indexOf("-") && (e = R(e));
+ if (A[e] !== j) return b == "pfx" ? e : o
+ }
+ return q
+ },
+ R = function (a) {
+ return a.replace(/([a-z])-([a-z])/g, function (a, b, c) {
+ return b + c.toUpperCase()
+ }).replace(/^-/, "")
+ },
+ ba = function (a, b, c) {
+ if (a.indexOf("@") === 0) return atRule(a);
+ a.indexOf("-") != -1 && (a = R(a));
+ return !b ? G(a, "pfx") : G(a, b, c)
+ },
+ ca = function () {
+ var a = z("canvas");
+ return !(!a.getContext || !a.getContext("2d"))
+ },
+ Ma = function () {
+ var a = z("div");
+ return "draggable" in a || "ondragstart" in a && "ondrop" in a
+ },
+ Sa = function () {
+ try {
+ localStorage.setItem("localStorage", "localStorage");
+ localStorage.removeItem("localStorage");
+ return o
+ } catch (a) {
+ return q
+ }
+ },
+ Wa = function () {
+ return "content" in b.createElement("template")
+ },
+ Da = function () {
+ return "createShadowRoot" in b.createElement("a")
+ },
+ vc = function () {
+ return "registerElement" in b
+ },
+ Fe = function () {
+ return "import" in b.createElement("link")
+ },
+ Hf = function () {
+ return "getItems" in b
+ },
+ pd = function () {
+ return "EventSource" in window
+ },
+ Rb = function (a, b) {
+ var c = new Image;
+ c.onload = function () {
+ b(a, c.width > 0 && c.height > 0)
+ };
+ c.onerror = function () {
+ b(a, q)
+ };
+ c.src = "data:image/webp;base64," + {
+ U3: "UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",
+ T3: "UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==",
+ alpha: "UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",
+ qk: "UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"
+ }[a]
+ },
+ wc = function (a, b) {
+ return Sb.oi["WebP-" + a] = b
+ },
+ Ge = function () {
+ return "openDatabase" in a
+ },
+ He = function () {
+ return "performance" in a && "timing" in a.performance
+ },
+ Wc = function () {
+ return "performance" in a && "mark" in a.performance
+ },
+ qd = function () {
+ return !(!Array.prototype || !Array.prototype.every || !Array.prototype.filter || !Array.prototype.forEach || !Array.prototype.indexOf || !Array.prototype.lastIndexOf || !Array.prototype.map || !Array.prototype.some || !Array.prototype.reduce || !Array.prototype.reduceRight || !Array.isArray)
+ },
+ Ie = function () {
+ return "Promise" in a && "cast" in a.vq && "resolve" in a.vq && "reject" in a.vq && "all" in a.vq && "race" in a.vq && function () {
+ var b;
+ new a.vq(function (a) {
+ b = a
+ });
+ return typeof b === "function"
+ }()
+ },
+ rd = function () {
+ var b = !!a.T0,
+ c = a.XMLHttpRequest && "withCredentials" in new XMLHttpRequest;
+ return !!a.W0 && b && c
+ },
+ If = function () {
+ return "geolocation" in navigator
+ },
+ Je = function () {
+ var b = z("canvas"),
+ c = "probablySupportsContext" in b ? "probablySupportsContext" : "supportsContext";
+ return c in b ? b[c]("webgl") || b[c]("experimental-webgl") : "WebGLRenderingContext" in a
+ },
+ Ui = function () {
+ return !!b.createElementNS && !!b.createElementNS("http://www.w3.org/2000/svg", "svg").k2
+ },
+ Vi = function () {
+ return !!a.c1
+ },
+ Wi = function () {
+ return "WebSocket" in a && a.$0.Q0 === 2
+ },
+ Xi = function () {
+ return !!b.createElement("video").canPlayType
+ },
+ Yi = function () {
+ return !!b.createElement("audio").canPlayType
+ },
+ Zi = function () {
+ return !!(a.history && "pushState" in a.history)
+ },
+ $i = function () {
+ return !(!a.R0 || !a.S0)
+ },
+ aj = function () {
+ return "postMessage" in window
+ },
+ bj = function () {
+ return !!a.webkitNotifications || "Notification" in a && "permission" in a.RP && "requestPermission" in a.RP
+ },
+ cj = function () {
+ for (var b = ["webkit", "moz", "o", "ms"], c = a.requestAnimationFrame, e = 0; e < b.length && !c; ++e) c = a[b[e] + "RequestAnimationFrame"];
+ return !!c
+ },
+ dj = function () {
+ return "JSON" in a && "parse" in JSON && "stringify" in JSON
+ },
+ ej = function () {
+ return !(!ba("exitFullscreen", b, q) && !ba("cancelFullScreen", b, q))
+ },
+ fj = function () {
+ return !!ba("Intl", a)
+ },
+ gj = function () {
+ return E("flexBasis")
+ },
+ hj = function () {
+ return !!E("perspective")
+ },
+ ij = function () {
+ return E("shapeOutside")
+ },
+ jj = function () {
+ var a = z("div");
+ a.style.cssText = F.join("filter:blur(2px); ");
+ return !!a.style.length && (b.documentMode === j || b.documentMode > 9)
+ },
+ kj = function () {
+ return "XMLHttpRequest" in a && "withCredentials" in new XMLHttpRequest
+ },
+ lj = function () {
+ return z("progress").max !== j
+ },
+ mj = function () {
+ return z("meter").max !== j
+ },
+ nj = function () {
+ return "sendBeacon" in navigator
+ },
+ oj = function () {
+ return E("borderRadius")
+ },
+ pj = function () {
+ return E("boxShadow")
+ },
+ qj = function () {
+ var a = z("div").style;
+ a.cssText = F.join("opacity:.55;");
+ return /^0.55$/.test(a.opacity)
+ },
+ rj = function () {
+ return P(["textShadow"], j)
+ },
+ sj = function () {
+ return E("animationName")
+ },
+ tj = function () {
+ return E("transition")
+ },
+ uj = function () {
+ return navigator.userAgent.indexOf("Android 2.") === -1 && E("transform")
+ },
+ Sb = {
+ oi: {},
+ qa: function (a, b, c) {
+ this.oi[a] = b.apply(this, [].slice.call(arguments, 2))
+ },
+ Fd: function (a, b) {
+ a.apply(this, [].slice.call(arguments, 1))
+ },
+ WZ: function () {
+ this.qa("bdrs", oj);
+ this.qa("bxsd", pj);
+ this.qa("opat", qj);
+ this.qa("txsd", rj);
+ this.qa("anim", sj);
+ this.qa("trsi", tj);
+ this.qa("trfm", uj);
+ this.qa("flex", gj);
+ this.qa("3dtr", hj);
+ this.qa("shpe", ij);
+ this.qa("fltr", jj);
+ this.qa("cavs", ca);
+ this.qa("dgdp", Ma);
+ this.qa("locs", Sa);
+ this.qa("wctem", Wa);
+ this.qa("wcsdd", Da);
+ this.qa("wccse", vc);
+ this.qa("wchti", Fe);
+ this.Fd(Rb, "lossy", wc);
+ this.Fd(Rb, "lossless", wc);
+ this.Fd(Rb, "alpha", wc);
+ this.Fd(Rb, "animation", wc);
+ this.qa("wsql", Ge);
+ this.qa("natm", He);
+ this.qa("ustm", Wc);
+ this.qa("arra", qd);
+ this.qa("prms", Ie);
+ this.qa("xhr2", rd);
+ this.qa("wbgl", Je);
+ this.qa("geol", If);
+ this.qa("svg", Ui);
+ this.qa("work", Vi);
+ this.qa("wbsk", Wi);
+ this.qa("vido", Xi);
+ this.qa("audo", Yi);
+ this.qa("hsty", Zi);
+ this.qa("file", $i);
+ this.qa("psmg", aj);
+ this.qa("wknf", bj);
+ this.qa("rqaf", cj);
+ this.qa("json", dj);
+ this.qa("flsc", ej);
+ this.qa("i18n", fj);
+ this.qa("cors", kj);
+ this.qa("prog", lj);
+ this.qa("metr", mj);
+ this.qa("becn", nj);
+ this.qa("mcrd", Hf);
+ this.qa("esrc", pd)
+ }
+ },
+ u = c.alog.gG("feature");
+ u.M("commit", function () {
+ Sb.WZ();
+ var a = setInterval(function () {
+ if ("WebP-lossy" in Sb.oi && "WebP-lossless" in Sb.oi && "WebP-alpha" in Sb.oi && "WebP-animation" in Sb.oi) {
+ for (var b in Sb.oi) Sb.oi[b] = Sb.oi[b] ? "y" : "n";
+ u.send("feature", Sb.oi);
+ clearInterval(a)
+ }
+ }, 500)
+ });
+ c.alog("feature.create", {
+ v2: 4,
+ o4: i,
+ page: g,
+ yb: "18"
+ });
+ c.alog("feature.fire", "commit")
+ }
+ }(a, b, c)
+ }(window, document, B);
+ B.Ln = B.alog || t();
+ B.alog("cus.fire", "count", "z_loadscriptcount");
+ "https:" === location.protocol && B.alog("cus.fire", "count", "z_httpscount");
+
+ function Vb(a) {
+ var b = window.TILE_VERSION,
+ c = "20211014";
+ b && b.ditu && (b = b.ditu, b[a] && b[a].updateDate && (c = b[a].updateDate));
+ return c
+ }
+ var Wb = [72.6892532, 0.1939743381, 136.1168614, 54.392257],
+ Xb = [72.69566833, 0.1999420909, 136.1232863, 54.39791217],
+ Yb = 158,
+ Zb = [98.795985, 122.960792, 107.867379, 118.093451, 119.139658, 128.035888, 79.948212, 99.029524, 119.923388, 122.094977, 127.918527, 130.94789, 106.50606, 108.076783, 119.8329, 126.382207, 111.803567, 119.324928, 100.749858, 102.227985, 99.860885, 100.788921, 97.529435, 98.841564, 99.100017, 99.90035, 122.917416, 123.774367, 123.728314, 125.507211, 123.736065, 124.767299, 125.488463, 126.410675, 125.484326, 126.07764, 130.830784, 133.620042, 127.912178, 128.668957, 128.658937, 129.638599, 132.894179, 134.119086, 117.379378, 119.244569, 116.086736, 117.431212, 114.420233, 116.137458, 116.492775, 119.605527, 110.579401, 111.86488, 74.468228, 80.001908, 82.867432, 91.353788, 85.721075, 98.976964, 127.664757, 129.546833, 129.476893, 130.22449, 133.730358, 134.745235, 134.381034, 135.1178, 130.868117, 131.34409, 115.513245, 117.544751, 115.779271, 116.748045, 108.536254, 110.614326, 121.365534, 124.626434, 126.165992, 127.347013, 91.281869, 95.611754, 79.879648, 82.945041, 76.413314, 78.345207, 78.275229, 80.002329, 83.956612, 85.734098, 85.510186, 89.356499, 97.997001, 98.948845, 106.653208, 108.610811, 111.400183, 111.824179, 111.592224, 111.817136, 116.00682, 117.024631, 116.258574, 116.689291, 119.436876, 119.922961, 120.659806, 121.395479, 120.349116, 120.676014, 124.59389, 125.787788, 126.221756, 126.788962, 95.572955, 102.046581, 95.583772, 96.165551, 95.564318, 97.806095, 91.30446, 93.356438, 93.330319, 94.698145, 89.349129, 90.548677, 82.268802, 82.892025, 78.335615, 80.032266, 76.625755, 78.361413, 73.498248, 74.490992, 74.846872, 76.488771, 91.563521, 94.878444, 88.768214, 89.244787, 83.247076, 83.974127, 82.29595, 83.256003, 81.885315, 83.26249, 80.760619, 81.472404, 86.470983, 88.276988, 102.207537, 104.234614, 112.164795, 116.833667, 108.965663, 113.032246, 111.166575, 117.983363],
+ $b = [22.551183, 42.284787, 17.227969, 22.738314, 41.300981, 50.749638, 30.368087, 42.332701, 21.705055, 22.696452, 42.426047, 48.944674, 21.432184, 22.651387, 50.657409, 52.92296, 42.212192, 45.206905, 21.137031, 22.57186, 21.444502, 22.586566, 23.741571, 25.301472, 22.006806, 22.56637, 38.985114, 41.346531, 40.295617, 41.338581, 39.740021, 40.351012, 40.974644, 41.331562, 40.726852, 41.067192, 44.877158, 48.018285, 41.344597, 42.451798, 42.016305, 42.443235, 45.880906, 48.214001, 45.140027, 46.792775, 45.141083, 46.400433, 45.156418, 45.748281, 47.485889, 50.071879, 42.223667, 43.469487, 37.019867, 40.668675, 42.226823, 47.321605, 27.72944, 30.469853, 48.919002, 49.650614, 48.840188, 49.443166, 46.949801, 48.382798, 47.660603, 48.472692, 42.859946, 44.913298, 47.605896, 48.445914, 48.41698, 48.909667, 42.23507, 42.914193, 52.8281, 53.585952, 50.709311, 51.662219, 42.29968, 44.399225, 42.302746, 45.391958, 34.680866, 37.03377, 30.743515, 37.07228, 28.245649, 30.408935, 47.277693, 48.504255, 25.241528, 27.780726, 42.223363, 42.548418, 43.435888, 44.696952, 44.693193, 45.00187, 48.886267, 49.326755, 49.288642, 49.632304, 50.717486, 51.314369, 52.914204, 53.33964, 52.910094, 53.115926, 52.908382, 53.258095, 51.64533, 52.408305, 42.236825, 42.699126, 43.068466, 43.898632, 42.670403, 43.082219, 44.379045, 45.187742, 44.382336, 44.981379, 47.310362, 48.06019, 45.359099, 46.814439, 40.569751, 42.047741, 40.587956, 41.41263, 38.519192, 40.185033, 35.790476, 37.029005, 26.825605, 27.763896, 27.199658, 27.751649, 29.150192, 30.381073, 29.573886, 30.065162, 30.047775, 30.384089, 30.001277, 30.388525, 48.494118, 49.173841, 22.398528, 22.601198, 7.441114, 11.505968, 3.767491, 9.005209, 12.642067, 17.410886],
+ ac = 95,
+ bc = [110.3961374, 105.0743788, 96.8991824, 95.61810411, 93.82412598, 91.3892353, 91.38931858, 89.08325955, 87.22469808, 86.26278402, 85.17353, 85.23741211, 82.86627441, 81.90481038, 79.59687147, 80.39829237, 79.93319363, 77.80279948, 75.2557704, 73.49357829, 73.1892532, 73.87758816, 74.4064738, 74.10215224, 75.46409695, 76.77739692, 78.28299615, 78.15499485, 78.37920654, 78.89145345, 79.69282199, 81.19938178, 81.80830295, 83.89093424, 85.94149523, 87.86447266, 89.03414958, 90.05918132, 91.10026937, 92.15733832, 93.74361735, 95.82597331, 97.95655545, 97.12363037, 98.2129739, 99.2068571, 101.6587874, 102.5239084, 102.2356106, 105.0249238, 106.0992342, 107.8617093, 111.6439372, 109.591869, 112.284586, 117.7961157, 118.9495128, 114.2076584, 118.693565, 123.1475225, 122.730705, 120.9361393, 123.4207441, 122.3787782, 122.1385425, 121.5904281, 121.1773763, 120.6805404, 120.2483355, 122.795807, 122.8759077, 121.3060262, 122.1392177, 123.7418799, 126.4177599, 128.5647409, 129.7194884, 131.2259136, 131.9950494, 133.6289931, 135.6168614, 131.3875545, 130.8743365, 128.6303223, 126.0997773, 124.4015375, 122.22161, 119.6586483, 119.7866827, 118.5685878, 116.5177976, 114.819101, 119.0812964, 116.453265, 111.7431171],
+ cc = [43.2190351, 42.38053385, 43.17417589, 44.42226915, 45.09863634, 45.56708116, 47.33599718, 48.68832709, 49.62448486, 48.9482175, 48.4800472, 47.33564399, 47.43948676, 46.03452067, 45.20221788, 43.34563043, 42.32965739, 41.39690972, 40.82972331, 39.95567654, 39.25892877, 38.36098768, 38.05441569, 37.16878445, 36.38899414, 35.36126817, 34.30953451, 32.58503879, 31.56975694, 30.77800266, 30.43559814, 29.7744892, 30.0931977, 28.71103299, 27.70739665, 27.5775472, 27.01096137, 27.77857883, 27.50707954, 26.50328315, 26.70387804, 27.95548557, 27.29428901, 23.64685493, 23.62310601, 21.67493381, 20.77751465, 21.32070991, 22.1824113, 22.31232964, 22.51316054, 16.80037679, 13.19749864, 0.6939743381, 1.541660428, 10.50208252, 15.58926975, 17.89090007, 19.94928467, 22.18490153, 25.37285292, 25.61456434, 30.62532552, 31.08099284, 31.89238173, 32.50092692, 32.80325765, 34.25546956, 35.15486138, 36.90170139, 37.8348272, 37.941604, 38.6480797, 38.96797201, 40.98146918, 41.25573296, 42.07218153, 42.49132813, 44.65259766, 44.69330702, 48.62286865, 48.09383952, 49.19628499, 50.03402317, 53.27678901, 53.62976345, 53.89420546, 52.98933322, 52.01872884, 50.23210259, 50.18807048, 47.49769857, 47.34362712, 46.50502143, 45.24770128],
+ dc = [98.7895, 122.954182, 107.860913, 118.087007, 119.133165, 128.029533, 79.941749, 99.023087, 119.916883, 122.08841, 127.912143, 130.941471, 106.499502, 108.070244, 119.826245, 126.375818, 111.797006, 119.318387, 100.743285, 102.221517, 99.854448, 100.782445, 97.522928, 98.835028, 99.093518, 99.893783, 122.910927, 123.767769, 123.721954, 125.50077, 123.729657, 124.760724, 125.481902, 126.404079, 125.477737, 126.071019, 130.824331, 133.613395, 127.905767, 128.662524, 128.652527, 129.6321, 132.887552, 134.11249, 117.37297, 119.237999, 116.080154, 117.424589, 114.413586, 116.130948, 116.486264, 119.598927, 110.5728, 111.858437, 74.465162, 79.995337, 82.860821, 91.347291, 85.716024, 98.970481, 127.658331, 129.540202, 129.470528, 130.21808, 133.723748, 134.738785, 134.374555, 135.111443, 130.861475, 131.337438, 115.506627, 117.538123, 115.772783, 116.741632, 108.529656, 110.60782, 121.358945, 124.619773, 126.159424, 127.340582, 91.275275, 95.605228, 79.874427, 82.938601, 76.413314, 78.338763, 78.275229, 79.995765, 83.956612, 85.727511, 85.503554, 89.349858, 97.990418, 98.942257, 106.646704, 108.604437, 111.393667, 111.817723, 111.585811, 111.810645, 116.000232, 117.018216, 116.252108, 116.682705, 119.430384, 119.916417, 120.653168, 121.38883, 120.342727, 120.669383, 124.587426, 125.781376, 126.215282, 126.782323, 95.566367, 102.040026, 95.577158, 96.159009, 95.557772, 97.799728, 91.298032, 93.350057, 93.323794, 94.691771, 89.342471, 90.542019, 82.264229, 82.885485, 78.335615, 80.025844, 76.623947, 78.355027, 73.495149, 74.484473, 74.846872, 76.482208, 91.560117, 94.871859, 88.761692, 89.23822, 83.240549, 83.967602, 82.292367, 83.2495, 81.878825, 83.256003, 80.75421, 81.465955, 86.465421, 88.270356, 102.201019, 104.228033, 112.158282, 116.827153, 108.965663, 113.025767, 111.166575, 117.97687],
+ ec = [22.545421, 42.279053, 17.226272, 22.731982, 41.294917, 50.743316, 30.361986, 42.326603, 21.699185, 22.690751, 42.419757, 48.938435, 21.426505, 22.64567, 50.651745, 52.916705, 42.20641, 45.201064, 21.131326, 22.565685, 21.438288, 22.580379, 23.735785, 25.295582, 22.001087, 22.560315, 38.979333, 41.340757, 40.28938, 41.332289, 39.734164, 40.344718, 40.968803, 41.325813, 40.721073, 41.061503, 44.871533, 48.012179, 41.338366, 42.445601, 42.010343, 42.436934, 45.875217, 48.208327, 45.134237, 46.786509, 45.135376, 46.394665, 45.150734, 45.742257, 47.480099, 50.065931, 42.217982, 43.46329, 37.014057, 40.662848, 42.221079, 47.315558, 27.723432, 30.46385, 48.913298, 49.644555, 48.83396, 49.436824, 46.944059, 48.376613, 47.654503, 48.466331, 42.854333, 44.907682, 47.600253, 48.440245, 48.410926, 48.903468, 42.229292, 42.908294, 52.822466, 53.58012, 50.703491, 51.656037, 42.29378, 44.393379, 42.296912, 45.385809, 34.679282, 37.027699, 30.740622, 37.066377, 28.241967, 30.403134, 47.271949, 48.49848, 25.235818, 27.774976, 42.217425, 42.542102, 43.429763, 44.691016, 44.687044, 44.995758, 48.880431, 49.320551, 49.282865, 49.626267, 50.711607, 51.308382, 52.908547, 53.333963, 52.904419, 53.109706, 52.902338, 53.251938, 51.639701, 52.402205, 42.231045, 42.693581, 43.062756, 43.892771, 42.664519, 43.075927, 44.372942, 45.1815, 44.376327, 44.975476, 47.304623, 48.054453, 45.353174, 46.808493, 40.563653, 42.041556, 40.582164, 41.4064, 38.51618, 40.179105, 35.789745, 37.023144, 26.825402, 27.757641, 27.193806, 27.745766, 29.144229, 30.375186, 29.567889, 30.059102, 30.041938, 30.378006, 29.995047, 30.382338, 48.48834, 49.169021, 22.392816, 22.595333, 7.439914, 11.500161, 3.766676, 9.000793, 12.640512, 17.406563],
+ fc = 3E3,
+ gc = 2.0E-5,
+ hc = 3.0E-6,
+ ic = 0.0174532925194,
+ jc = 0.0065,
+ kc = 0.0060,
+ lc = 4E4,
+ mc = 0,
+ nc = 3,
+ oc = 1.0E-10,
+ pc = 6370996.81,
+ qc = 1E8;
+
+ function rc(a, b, c) {
+ for (var d = Yb, e = 0; e < d; e += 2)
+ if (a.lng >= b[e] && a.lng <= b[e + 1] && a.lat >= c[e] && a.lat <= c[e + 1]) return o;
+ return q
+ }
+
+ function sc(a) {
+ var b = a.lng,
+ c = a.lat,
+ a = Math.sqrt(b * b + c * c) + Math.sin(c * fc * ic) * gc,
+ b = Math.atan2(c, b) + Math.cos(b * fc * ic) * hc;
+ return {
+ lng: a * Math.cos(b) + jc,
+ lat: a * Math.sin(b) + kc
+ }
+ }
+
+ function tc(a) {
+ var b = uc,
+ c = {},
+ d = a.lng,
+ e = a.lat,
+ f = 1,
+ g = a.lng,
+ i = a.lat,
+ k = d - f,
+ l = 0,
+ m = e + f,
+ n = 0,
+ s = d - f,
+ u = 0,
+ w = e - f,
+ y = 0,
+ D = d + f,
+ C = 0,
+ F = e - f,
+ z = 0,
+ A = d + f,
+ E = 0,
+ G = e + f,
+ P = 0,
+ m = k = 0,
+ m = xc(b, d, e),
+ k = m.lng,
+ m = m.lat;
+ if (1.0E-6 >= yc(k, m, g, i)) return c.lng = d, c.lat = e, c;
+ for (; ;) {
+ k = d - f;
+ m = e + f;
+ s = d - f;
+ w = e - f;
+ D = d + f;
+ F = e - f;
+ A = d + f;
+ G = e + f;
+ d = xc(b, k, m);
+ l = d.lng;
+ n = d.lat;
+ d = xc(b, s, w);
+ u = d.lng;
+ y = d.lat;
+ d = xc(b, D, F);
+ C = d.lng;
+ z = d.lat;
+ d = xc(b, A, G);
+ E = d.lng;
+ P = d.lat;
+ d = yc(l, n, g, i);
+ l = yc(u, y, g, i);
+ u = yc(C, z, g, i);
+ E = yc(E, P, g, i);
+ if (1.0E-6 > d) return c.lng = k, c.lat = m, c;
+ if (1.0E-6 > l) return c.lng = s, c.lat = w, c;
+ if (1.0E-6 > u) return c.lng = D, c.lat = F, c;
+ if (1.0E-6 > E) return c.lng = A, c.lat = G, c;
+ C = 1 / d;
+ l = 1 / l;
+ u = 1 / u;
+ E = 1 / E;
+ d = (k * C + s * l + D * u + A * E) / (C + l + u + E);
+ e = (m * C + w * l + F * u + G * E) / (C + l + u + E);
+ m = xc(b, d, e);
+ k = m.lng;
+ m = m.lat;
+ if (1.0E-6 >= yc(k, m, g, i)) return c.lng = d, c.lat = e, c;
+ f *= 0.6;
+ if (1.0E-6 > f) {
+ a: {
+ c = (a.lng + 0.03 - (a.lng - 0.03)) / 1.0E-4 + 0.5; f = (a.lat + 0.03 - (a.lat - 0.03)) / 1.0E-4 + 0.5; g = a.lng * qc; i = a.lat * qc; w = 1.0E-4 * qc; k = g - w; m = g + w; s = i - w; D = i + w; C = l = u = E = j; A = l = w = F = u = E = 0; b(a); C = j;
+ for (G = 0; G <= c; G++) {
+ for (d = 0; d <= f; d++)
+ if (C = b(j), E = j.lng * qc, u = j.lat * qc, l = C.lng * qc, C = C.lat * qc, !(l < k || C < s || l > m || C > D)) {
+ E -= l;
+ u -= C;
+ l = Math.sqrt((g - l) * (g - l) + (i - C) * (i - C));
+ if (1 > l) {
+ c = {};
+ c.lng = j.lng;
+ c.lat = j.lat;
+ break a
+ }
+ F += 1 * E / l;
+ w += 1 * u / l;
+ A += 1 / l
+ }
+ F /= A * qc;
+ w /= A * qc
+ }
+ b = F * qc / qc; f = w * qc / qc; c = {}; c.lng = a.lng + b; c.lat = a.lat + f
+ }
+ return c
+ }
+ }
+ }
+
+ function xc(a, b, c) {
+ a = a({
+ lng: b,
+ lat: c
+ });
+ b = {};
+ b.lng = a.lng;
+ b.lat = a.lat;
+ return b
+ }
+
+ function zc(a, b, c, d) {
+ var e = arguments.length;
+ this.wg = {};
+ this.Eg = {};
+ 0 !== e && 4 === e && this.normalize(a, b, c, d)
+ }
+ zc.prototype.contains = function (a) {
+ return a.lng > this.wg.lng && a.lng < this.Eg.lng && a.lat > this.wg.lat && a.lat < this.Eg.lat ? nc : Math.abs(a.lng - this.wg.lng) < oc || Math.abs(a.lng - this.Eg.lng) < oc || Math.abs(a.lat - this.wg.lat) < oc || Math.abs(a.y - this.Eg.lat) > oc ? 2 : mc
+ };
+ zc.prototype.normalize = function (a, b, c, d) {
+ a > c ? (this.wg.lng = c, this.Eg.lng = a) : (this.wg.lng = a, this.Eg.lng = c);
+ b > d ? (this.wg.lat = d, this.Eg.lat = b) : (this.wg.lat = b, this.Eg.lat = d)
+ };
+
+ function Ac(a, b, c, d) {
+ this.pu = {
+ lng: a,
+ lat: b
+ };
+ this.vx = {
+ lng: c,
+ lat: d
+ };
+ this.oy = new zc(a, b, c, d)
+ }
+
+ function Bc(a, b) {
+ var c = a.lat * ic,
+ d = b.lat * ic,
+ e = c - d,
+ f = a.lng * ic - b.lng * ic;
+ return 2 * Math.asin(Math.sqrt(Math.sin(e / 2) * Math.sin(e / 2) + Math.cos(c) * Math.cos(d) * Math.sin(f / 2) * Math.sin(f / 2))) * pc
+ }
+
+ function yc(a, b, c, d) {
+ return Math.sqrt((a - c) * (a - c) + (b - d) * (b - d))
+ }
+
+ function Cc(a, b, c) {
+ return (b.lng - a.lng) * (c.lat - a.lat) - (c.lng - a.lng) * (b.lat - a.lat)
+ }
+
+ function uc(a) {
+ var b = {};
+ if (a.lng < Wb[0] - 0.4 || a.lat < Wb[1] - 0.4 || a.lng > Wb[2] + 0.4 || a.lat > Wb[3] + 0.4) return b.lng = a.lng, b.lat = a.lat, b;
+ if (rc(a, dc, ec)) return b = sc(a);
+ for (var b = 0, c = lc, d = 0, e = new zc, f = 0, d = 0; d < ac; ++d) cc[d] <= a.lat ? cc[(d + 1) % ac] > a.lat && 0 < Cc({
+ lng: bc[d],
+ lat: cc[d]
+ }, {
+ lng: bc[(d + 1) % ac],
+ lat: cc[(d + 1) % ac]
+ }, a) && ++f : cc[(d + 1) % ac] <= a.lat && 0 > Cc({
+ lng: bc[d],
+ lat: cc[d]
+ }, {
+ lng: bc[(d + 1) % ac],
+ lat: cc[(d + 1) % ac]
+ }, a) && --f;
+ if ((0 === f ? mc : nc) === mc) {
+ for (f = 0; f < ac; ++f)
+ if (d = new Ac(bc[f], cc[f], bc[(f + 1) % ac], cc[(f + 1) % ac]), e.wg.lng = d.oy.wg.lng - 0.5, e.wg.lat = d.oy.wg.lat - 0.5, e.Eg.lng = d.oy.Eg.lng + 0.5, e.Eg.lat = d.oy.Eg.lat + 0.5, e.contains(a) !== mc) {
+ var g;
+ var i = d.pu.lng,
+ k = d.pu.lat,
+ l = d.vx.lng,
+ m = d.vx.lat;
+ g = m - k;
+ var n = i - l;
+ !(Math.abs(g - 0) > oc) && !(Math.abs(n - 0) > oc) ? g = d.pu : (i = l * k - i * m, k = n * a.lng - g * a.lat, l = g * g - n * n, g = {
+ lng: (n * k - g * i) / l,
+ lat: -(g * k + n * i) / l
+ });
+ n = 180;
+ i = 90;
+ k = -180;
+ l = -90;
+ l = d.pu;
+ m = d.vx;
+ n = l.lng < m.lng ? l.lng : m.lng;
+ i = l.lat < m.lat ? l.lat : m.lat;
+ k = l.lng < m.lng ? l.lng : m.lng;
+ l = l.lat < m.lat ? l.lat : m.lat;
+ g.lng <= k && g.lng >= n && g.lng <= l && g.lat >= i ? (d = a.lat * ic, n = a.lng * ic, i = g.lat * ic, g = g.lng * ic, k = Math.cos(d) * Math.cos(i), d = k * Math.cos(n) * Math.cos(g) + k * Math.sin(n) * Math.sin(g) + Math.sin(d) * Math.sin(i), -1 > d ? d = -1 : 1 < d && (d = 1), d = Math.acos(d) * pc) : (g = Bc(a, d.pu), d = Bc(a, d.vx), d = g < d ? g : d);
+ d < c && (c = d)
+ }
+ c < lc && (b = (lc - c) / lc)
+ } else b = 1;
+ c = sc(a);
+ return b = {
+ lng: a.lng + (c.lng - a.lng) * b,
+ lat: a.lat + (c.lat - a.lat) * b
+ }
+ }
+
+ function Dc(a) {
+ var b = {};
+ if (a.lng < Xb[0] - 0.4 || a.lat < Xb[1] - 0.4 || a.lng > Xb[2] + 0.4 || a.lat > Xb[3] + 0.4) return b.lng = a.lng, b.lat = a.lat, b;
+ if (rc(a, Zb, $b)) {
+ var b = a.lng - jc,
+ c = a.lat - kc,
+ a = Math.sqrt(b * b + c * c) - Math.sin(c * fc * ic) * gc,
+ b = Math.atan2(c, b) - Math.cos(b * fc * ic) * hc;
+ return b = {
+ lng: a * Math.cos(b),
+ lat: a * Math.sin(b)
+ }
+ }
+ c = uc(a);
+ return a.lng === c.lng && a.lat === c.lng ? (b.lng = a.lng, b.lat = a.lat, b) : tc(a)
+ }
+
+ function $a(a, b) {
+ if (b && b.B && b.B.ax && 3 === b.B.ax && a instanceof O) {
+ var c = uc(a);
+ return new K(c.lng, c.lat)
+ }
+ return a
+ }
+
+ function gb(a, b) {
+ if (b && b.B && 3 === b.B.ax && a instanceof K) {
+ var c = Dc(a);
+ return new O(c.lng, c.lat)
+ }
+ return b && b.B && 5 === b.B.ax && a instanceof K ? new O(a.lng, a.lat) : a
+ }
+
+ function Ec(a) {
+ a = a.split("//");
+ if (2 <= a.length) {
+ var b = a[1].split("?");
+ if (1 <= b.length) {
+ var c = b[0].split("/"),
+ d;
+ d = b.length - 1;
+ var e = 1,
+ f = "/",
+ g = c.length;
+ e || (e = 0);
+ d || (d = g - 1);
+ f || (f = "");
+ if (e > g - 1 || d > g - 1) d = "";
+ else {
+ for (g = ""; e <= d; e++) g = e === d ? g + c[e] : g + (c[e] + f);
+ d = g
+ }
+ return {
+ host: b[0],
+ origin: a[0] + "//" + c[0],
+ path: "/" + d
+ }
+ }
+ }
+ return p
+ };
+
+ function ra(a, b) {
+ if (/^http/.test(a)) return; // yangjianfei 添加
+ if (b) {
+ var c = (1E5 * Math.random()).toFixed(0);
+ B._rd["_cbk" + c] = function (a) {
+ b && b(a);
+ delete B._rd["_cbk" + c]
+ };
+ a += "&callback=BMap._rd._cbk" + c
+ }
+ var a = Fc(a),
+ d = H("script", {
+ type: "text/javascript"
+ });
+ d.charset = "utf-8";
+ d.src = a;
+ d.addEventListener ? d.addEventListener("load", function (a) {
+ a = a.target;
+ a.parentNode.removeChild(a)
+ }, q) : d.attachEvent && d.attachEvent("onreadystatechange", function () {
+ var a = window.event.srcElement;
+ a && ("loaded" === a.readyState || "complete" === a.readyState) && a.parentNode.removeChild(a)
+ });
+ setTimeout(function () {
+ document.getElementsByTagName("head")[0].appendChild(d);
+ d = p
+ }, 1)
+ }
+
+ function Fc(a) {
+ var b = decodeURIComponent(a.substring(a.indexOf("?") + 1)),
+ c = (new Date).getTime(),
+ d = window.___abvk ? window.___abvk : Gc("SECKEY_ABVK"),
+ e = Gc("BMAP_SECKEY"),
+ f = encodeURIComponent(d + "," + e); - 1 === a.indexOf("v=") && (a += "&v=2.1", b += "&v=2.1");
+ return a = a + ("&seckey=" + f + "&timeStamp=" + c) + Hc()(b + ("&seckey=" + d + "," + e + "&timeStamp=" + c))
+ }
+
+ function Gc(a) {
+ if (navigator.cookieEnabled) return (a = document.cookie.match(RegExp("(^| )" + a + "=([^;]*)(;|$)"))) ? unescape(a[2]) : -1;
+ if (localStorage) return localStorage.getItem(a) ? localStorage.getItem(a) : -1;
+ if (sessionStorage) return sessionStorage.getItem(a) ? localStorage.getItem(a) : -1
+ };
+ var Ic = {
+ map: "dfvr0d",
+ common: "jlxvtp",
+ style: "1eb2kn",
+ tile: "nv5she",
+ vectordrawlib: "o22h0e",
+ newvectordrawlib: "320ew3",
+ groundoverlay: "k2rgsw",
+ pointcollection: "aqf4rs",
+ marker: "q3rtuf",
+ symbol: "01xzbl",
+ canvablepath: "h3fu23",
+ vmlcontext: "boqb3g",
+ markeranimation: "t5kflf",
+ poly: "tnwlqr",
+ draw: "svjlto",
+ drawbysvg: "2yrgcy",
+ drawbyvml: "ed2q2n",
+ drawbycanvas: "fs1mzv",
+ infowindow: "etoqbp",
+ oppc: "eud3yb",
+ opmb: "zckrwd",
+ menu: "notpz4",
+ control: "b1gvex",
+ navictrl: "gmzd3q",
+ geoctrl: "kmkjb0",
+ copyrightctrl: "ywzoxv",
+ citylistcontrol: "4x24ix",
+ scommon: "fblso0",
+ local: "x0h000",
+ route: "xcxcfx",
+ othersearch: "35z1cg",
+ mapclick: "enxpsn",
+ buslinesearch: "s0skh4",
+ hotspot: "b3mqou",
+ autocomplete: "lq3zav",
+ coordtrans: "xfmqk2",
+ coordtransutils: "1zgfxi",
+ convertor: "3utjra",
+ clayer: "jkukaa",
+ pservice: "vruwmi",
+ pcommon: "2sgsaq",
+ panorama: "qq5xnh",
+ panoramaflash: "zasr1a",
+ vector: "gifqa5"
+ };
+ x.dz = function () {
+ function a(a) {
+ return d && !!c[b + a + "_" + Ic[a]]
+ }
+ var b = "BMap_",
+ c = window.localStorage,
+ d = "localStorage" in window && c !== p && c !== j;
+ return {
+ OY: d,
+ set: function (a, f) {
+ if (d) {
+ for (var g = b + a + "_", i = c.length, k; i--;) k = c.key(i), -1 < k.indexOf(g) && c.removeItem(k);
+ try {
+ c.setItem(b + a + "_" + Ic[a], f)
+ } catch (l) {
+ c.clear()
+ }
+ }
+ },
+ get: function (e) {
+ return d && a(e) ? c.getItem(b + e + "_" + Ic[e]) : q
+ },
+ yK: a
+ }
+ }();
+
+ function L() { }
+ x.object.extend(L, {
+ Lj: {
+ IG: -1,
+ eQ: 0,
+ mq: 1
+ },
+ KL: function () {
+ var a = "canvablepath",
+ b = B.dV ? "newvectordrawlib" : "vectordrawlib";
+ if (!J() || !Pb()) Ob() || (Nb() ? a = "vmlcontext" : Pb());
+ return {
+ tile: [b, "style"],
+ control: [],
+ marker: ["symbol"],
+ symbol: ["canvablepath", "common"],
+ canvablepath: "canvablepath" === a ? [] : [a],
+ vmlcontext: [],
+ style: [],
+ poly: ["marker", "drawbycanvas", "drawbysvg", "drawbyvml"],
+ drawbysvg: ["draw"],
+ drawbyvml: ["draw"],
+ drawbycanvas: ["draw"],
+ infowindow: ["common", "marker"],
+ menu: [],
+ oppc: [],
+ opmb: [],
+ scommon: [],
+ local: ["scommon"],
+ route: ["scommon"],
+ othersearch: ["scommon"],
+ autocomplete: ["scommon"],
+ citylistcontrol: ["autocomplete"],
+ mapclick: ["scommon"],
+ buslinesearch: ["route"],
+ hotspot: [],
+ coordtransutils: ["coordtrans"],
+ convertor: [],
+ clayer: ["tile"],
+ pservice: [],
+ pcommon: ["style", "pservice"],
+ panorama: ["pcommon"],
+ panoramaflash: ["pcommon"]
+ }
+ },
+ r4: {},
+ BG: {
+ vQ: B.la + "getmodules?v=2.0&t=20140707",
+ VU: 5E3
+ },
+ UC: q,
+ Sd: {
+ Bl: {},
+ Nn: [],
+ gw: []
+ },
+ load: function (a, b, c) {
+ var d = this.jb(a);
+ if (d.Dd == this.Lj.mq) c && b();
+ else {
+ if (d.Dd == this.Lj.IG) {
+ this.EK(a);
+ this.TN(a);
+ var e = this;
+ e.UC == q && (e.UC = o, setTimeout(function () {
+ for (var a = [], b = 0, c = e.Sd.Nn.length; b < c; b++) {
+ var d = e.Sd.Nn[b],
+ l = "";
+ ja.dz.yK(d) ? l = ja.dz.get(d) : (l = "", a.push(d + "_" + Ic[d]));
+ e.Sd.gw.push({
+ kN: d,
+ cF: l
+ })
+ }
+ e.UC = q;
+ e.Sd.Nn.length = 0;
+ 0 == a.length ? e.pL() : ra(e.BG.vQ + "&mod=" + a.join(","))
+ }, 1));
+ d.Dd = this.Lj.eQ
+ }
+ d.bv.push(b)
+ }
+ },
+ EK: function (a) {
+ if (a && this.KL()[a])
+ for (var a = this.KL()[a], b = 0; b < a.length; b++) this.EK(a[b]), this.Sd.Bl[a[b]] || this.TN(a[b])
+ },
+ TN: function (a) {
+ for (var b = 0; b < this.Sd.Nn.length; b++)
+ if (this.Sd.Nn[b] == a) return;
+ this.Sd.Nn.push(a)
+ },
+ VZ: function (a, b) {
+ var c = this.jb(a);
+ try {
+ eval(b)
+ } catch (d) {
+ return
+ }
+ c.Dd = this.Lj.mq;
+ for (var e = 0, f = c.bv.length; e < f; e++) c.bv[e]();
+ c.bv.length = 0
+ },
+ yK: function (a, b) {
+ var c = this;
+ c.timeout = setTimeout(function () {
+ c.Sd.Bl[a].Dd != c.Lj.mq ? (c.remove(a), c.load(a, b)) : clearTimeout(c.timeout)
+ }, c.BG.VU)
+ },
+ jb: function (a) {
+ this.Sd.Bl[a] || (this.Sd.Bl[a] = {}, this.Sd.Bl[a].Dd = this.Lj.IG, this.Sd.Bl[a].bv = []);
+ return this.Sd.Bl[a]
+ },
+ remove: function (a) {
+ delete this.jb(a)
+ },
+ PV: function (a, b) {
+ for (var c = this.Sd.gw, d = o, e = 0, f = c.length; e < f; e++) "" == c[e].cF && (c[e].kN == a ? c[e].cF = b : d = q);
+ d && this.pL()
+ },
+ pL: function () {
+ for (var a = this.Sd.gw, b = 0, c = a.length; b < c; b++) this.VZ(a[b].kN, a[b].cF);
+ this.Sd.gw.length = 0
+ }
+ });
+
+ function S(a, b) {
+ this.x = a || 0;
+ this.y = b || 0;
+ this.x = this.x;
+ this.y = this.y
+ }
+ S.prototype.ab = function (a) {
+ return a && a.x == this.x && a.y == this.y
+ };
+
+ function M(a, b) {
+ this.width = a || 0;
+ this.height = b || 0
+ }
+ M.prototype.ab = function (a) {
+ return a && this.width == a.width && this.height == a.height
+ };
+ (function (a) {
+ function b(a, b) {
+ var c = (a & 65535) + (b & 65535);
+ return (a >> 16) + (b >> 16) + (c >> 16) << 16 | c & 65535
+ }
+
+ function c(a, c, d, e, f, g) {
+ return b(b(b(c, a), b(e, g)) << f | b(b(c, a), b(e, g)) >>> 32 - f, d)
+ }
+
+ function d(a, b, d, e, f, g, i) {
+ return c(b & d | ~b & e, a, b, f, g, i)
+ }
+
+ function e(a, b, d, e, f, g, i) {
+ return c(b & e | d & ~e, a, b, f, g, i)
+ }
+
+ function f(a, b, d, e, f, g, i) {
+ return c(d ^ (b | ~e), a, b, f, g, i)
+ }
+
+ function g(a, g) {
+ a[g >> 5] |= 128 << g % 32;
+ a[(g + 64 >>> 9 << 4) + 14] = g;
+ var i, k, l, m, n, z = 1732584193,
+ A = -271733879,
+ E = -1732584194,
+ G = 271733878;
+ for (i = 0; i < a.length; i += 16) k = z, l = A, m = E, n = G, z = d(z, A, E, G, a[i], 7, -680876936), G = d(G, z, A, E, a[i + 1], 12, -389564586), E = d(E, G, z, A, a[i + 2], 17, 606105819), A = d(A, E, G, z, a[i + 3], 22, -1044525330), z = d(z, A, E, G, a[i + 4], 7, -176418897), G = d(G, z, A, E, a[i + 5], 12, 1200080426), E = d(E, G, z, A, a[i + 6], 17, -1473231341), A = d(A, E, G, z, a[i + 7], 22, -45705983), z = d(z, A, E, G, a[i + 8], 7, 1770035416), G = d(G, z, A, E, a[i + 9], 12, -1958414417), E = d(E, G, z, A, a[i + 10], 17, -42063), A = d(A, E, G, z, a[i + 11], 22, -1990404162), z = d(z, A, E, G, a[i + 12], 7, 1804603682), G = d(G, z, A, E, a[i + 13], 12, -40341101), E = d(E, G, z, A, a[i + 14], 17, -1502002290), A = d(A, E, G, z, a[i + 15], 22, 1236535329), z = e(z, A, E, G, a[i + 1], 5, -165796510), G = e(G, z, A, E, a[i + 6], 9, -1069501632), E = e(E, G, z, A, a[i + 11], 14, 643717713), A = e(A, E, G, z, a[i], 20, -373897302), z = e(z, A, E, G, a[i + 5], 5, -701558691), G = e(G, z, A, E, a[i + 10], 9, 38016083), E = e(E, G, z, A, a[i + 15], 14, -660478335), A = e(A, E, G, z, a[i + 4], 20, -405537848), z = e(z, A, E, G, a[i + 9], 5, 568446438), G = e(G, z, A, E, a[i + 14], 9, -1019803690), E = e(E, G, z, A, a[i + 3], 14, -187363961), A = e(A, E, G, z, a[i + 8], 20, 1163531501), z = e(z, A, E, G, a[i + 13], 5, -1444681467), G = e(G, z, A, E, a[i + 2], 9, -51403784), E = e(E, G, z, A, a[i + 7], 14, 1735328473), A = e(A, E, G, z, a[i + 12], 20, -1926607734), z = c(A ^ E ^ G, z, A, a[i + 5], 4, -378558), G = c(z ^ A ^ E, G, z, a[i + 8], 11, -2022574463), E = c(G ^ z ^ A, E, G, a[i + 11], 16, 1839030562), A = c(E ^ G ^ z, A, E, a[i + 14], 23, -35309556), z = c(A ^ E ^ G, z, A, a[i + 1], 4, -1530992060), G = c(z ^ A ^ E, G, z, a[i + 4], 11, 1272893353), E = c(G ^ z ^ A, E, G, a[i + 7], 16, -155497632), A = c(E ^ G ^ z, A, E, a[i + 10], 23, -1094730640), z = c(A ^ E ^ G, z, A, a[i + 13], 4, 681279174), G = c(z ^ A ^ E, G, z, a[i], 11, -358537222), E = c(G ^ z ^ A, E, G, a[i + 3], 16, -722521979), A = c(E ^ G ^ z, A, E, a[i + 6], 23, 76029189), z = c(A ^ E ^ G, z, A, a[i + 9], 4, -640364487), G = c(z ^ A ^ E, G, z, a[i + 12], 11, -421815835), E = c(G ^ z ^ A, E, G, a[i + 15], 16, 530742520), A = c(E ^ G ^ z, A, E, a[i + 2], 23, -995338651), z = f(z, A, E, G, a[i], 6, -198630844), G = f(G, z, A, E, a[i + 7], 10, 1126891415), E = f(E, G, z, A, a[i + 14], 15, -1416354905), A = f(A, E, G, z, a[i + 5], 21, -57434055), z = f(z, A, E, G, a[i + 12], 6, 1700485571), G = f(G, z, A, E, a[i + 3], 10, -1894986606), E = f(E, G, z, A, a[i + 10], 15, -1051523), A = f(A, E, G, z, a[i + 1], 21, -2054922799), z = f(z, A, E, G, a[i + 8], 6, 1873313359), G = f(G, z, A, E, a[i + 15], 10, -30611744), E = f(E, G, z, A, a[i + 6], 15, -1560198380), A = f(A, E, G, z, a[i + 13], 21, 1309151649), z = f(z, A, E, G, a[i + 4], 6, -145523070), G = f(G, z, A, E, a[i + 11], 10, -1120210379), E = f(E, G, z, A, a[i + 2], 15, 718787259), A = f(A, E, G, z, a[i + 9], 21, -343485551), z = b(z, k), A = b(A, l), E = b(E, m), G = b(G, n);
+ return [z, A, E, G]
+ }
+
+ function i(a) {
+ var b, c = "",
+ d = 32 * a.length;
+ for (b = 0; b < d; b += 8) c += String.fromCharCode(a[b >> 5] >>> b % 32 & 255);
+ return c
+ }
+
+ function k(a) {
+ var b, c = [];
+ c[(a.length >> 2) - 1] = j;
+ for (b = 0; b < c.length; b += 1) c[b] = 0;
+ var d = 8 * a.length;
+ for (b = 0; b < d; b += 8) c[b >> 5] |= (a.charCodeAt(b / 8) & 255) << b % 32;
+ return c
+ }
+
+ function l(a) {
+ var b = "",
+ c, d;
+ for (d = 0; d < a.length; d += 1) c = a.charCodeAt(d), b += "0123456789abcdef".charAt(c >>> 4 & 15) + "0123456789abcdef".charAt(c & 15);
+ return b
+ }
+
+ function m(a, b) {
+ var c = unescape(encodeURIComponent(a)),
+ d = unescape(encodeURIComponent(b)),
+ e = k(c),
+ f = [],
+ l = [];
+ f[15] = l[15] = j;
+ 16 < e.length && (e = g(e, 8 * c.length));
+ for (c = 0; 16 > c; c += 1) f[c] = e[c] ^ 909522486, l[c] = e[c] ^ 1549556828;
+ d = g(f.concat(k(d)), 512 + 8 * d.length);
+ return i(g(l.concat(d), 640))
+ }
+
+ function n(a, b, c) {
+ return !b ? !c ? l(i(g(k(unescape(encodeURIComponent(a))), 8 * unescape(encodeURIComponent(a)).length))) : i(g(k(unescape(encodeURIComponent(a))), 8 * unescape(encodeURIComponent(a)).length)) : !c ? l(m(b, a)) : m(b, a)
+ }
+ "function" === typeof define && define.S1 ? define(function () {
+ return n
+ }) : "object" === typeof module && module.ZW ? module.ZW = n : a.md5 = n
+ })(this);
+ for (var Jc = function (a, b) {
+ function c(a) {
+ return f.emeie(e, a, function (a) {
+ return d(a)
+ })
+ }
+
+ function d(a) {
+ return f.edaxd(a, "")[f.xxcce][f.mxila(f.mxila(k, "Char"), i)](a)
+ }
+
+ function e(a, b) {
+ for (var c = a.length, d = [], e = 0; f.ccmlh(e, c); e++) {
+ var g = f.mhmcx(b, a[e]);
+ d.push(g)
+ }
+ return d
+ }
+ var f = {
+ ccmlh: function (a, b) {
+ return a < b
+ },
+ mhmcx: function (a, b) {
+ return a(b)
+ },
+ edaxd: function (a, b) {
+ return a + b
+ },
+ xxcce: "constructor",
+ mxila: function (a, b) {
+ return a + b
+ },
+ emeie: function (a, b, c) {
+ return a(b, c)
+ },
+ clxhe: "1.1.2",
+ ixhex: function (a, b) {
+ return a + b
+ }
+ },
+ g, i, k, l = decodeURIComponent;
+ g = "de";
+ k = f.ixhex("fr", "o") + "m";
+ i = f.ixhex("Co", g);
+ var m = c.call(d, [39, 34, 37, 96, 60, 120, 97, 65, 98, 66, 99, 67, 100, 68, 101, 69, 102, 70, 103, 110, 109, 111, 112, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57]);
+ g = e([28782, 27702, 26416, 25167, 24183], function (a) {
+ return l(a)
+ });
+ var n = c.call(g, [22354, 22749, 24415, 23346, 22257, 22688, 24306, 25174, 23595, 25547, 22984, 25690, 22212, 27547, 21594, 27210, 23090, 29193, 22394, 29368, 29532, 29459, 29530, 24146, 24500, 26352, 27441, 28788, 29370, 27673, 26925, 25249, 24430]),
+ s = {};
+ g = f.mhmcx(c, g);
+ var u = RegExp(g.join("|"));
+ for (g = 0; g < m.length; g++) s[n[g]] = m[g];
+ b = f.emeie(e, b.split(""), function (a) {
+ return s[a] || a
+ }).join("");
+ return e(b.split(u), function (a) {
+ return l(a)
+ })
+ }(this, "\u5f5f\u66f0\u6c19\u5f5f\u66f0\u5e52\u59c8\u5ef2ll\u5c2b\u5ef2\u59c8k\u5f5f\u6b31\u6b9b\u5e77l\u56c4\u735c\u59c8\u59c8\u706e\u5f5f\u6b31\u7209qt\u5f5f\u6b31\u6b9b\u735a\u5ef2\u72b8\u7313_\u545a\u72b8try\u5f5f\u66f0\u6c19v\u5f5f\u6b31\u6b9b\u6730\u545a\u59c8\u545a\u545a\u5ef2\u6c36\u5ef2\u5ef2\u545a\u59c8\u5ef2\u6730h\u59c8ll\u545a\u706e\u545a\u735cii\u5ef2\u5e77\u59c8\u58a0\u545ah\u5ef2\u6c36\u5f5f\u6a4a\u5f6e\u5f5f\u5f6e\u645a\u5f5f\u62a1\u5e52\u5f5f\u6a4a\u62a1\u5f5f\u6256\u6c19\u5f5f\u62a1\u5fb4\u5f5f\u6a4a\u692d\u5f5f\u5f6e\u7074\u5f5f\u63cb\u6b31\u5f5f\u6a4a\u62a1\u5f5f\u6256\u7209\u5f5f\u63cb\u692d\u5f5f\u6a4a\u72ba\u5f5f\u62a1\u72ba\u5f5f\u6256\u62a1\u5f5f\u6a4a\u6c19\u5f5f\u5f6e\u5f6e\u5f5f\u6256\u7209\u5f5f\u6a4a\u72ba\u5f5f\u5f6e\u645a\u5f5f\u63cb\u5e52\u5f5f\u6a4a\u72ba\u5f5f\u5f6e\u63cb\u5f5f\u63cb\u6a4a\u5f5f\u6a4a\u7074\u5f5f\u63cb\u6b9b\u5f5f\u63cb\u7209\u5f5f\u6a4a\u692d\u5f5f\u5f6e\u7074\u5f5f\u6256\u62a1\u5f5f\u6a4a\u6c19\u5f5f\u5f6e\u6b9b\u5f5f\u62a1\u6b31\u5f5f\u6a4a\u5f6e\u5f5f\u5f6e\u5f6e\u5f5f\u5f6e\u5e52\u6c36i\u5ef2\u5ef2\u6730\u545a\u735cl\u6c36\u5ef2\u59c8\u5ef2\u706e\u545a\u56c4l\u706e\u735c\u5ef2l\u624fl\u545a\u5ef2\u6730ih\u58a0i\u706e\u59c8\u59c8\u735c\u6c36\u545a\u545ah\u624f\u735c\u735c\u59c8\u5e77\u545a\u545a\u5ef2l\u5ef2\u624f\u735c\u56c4\u56c4\u5ef2\u6730hh\u545a\u6730\u545a\u5ef2\u5ef2\u59c8i\u5e77hh\u735c\u545a\u5ef2\u5e77\u56c4\u5ef2\u59c8\u5ef2\u545a\u6c36\u545arr\u7313r\u5e77\u5ef2lh\u5ef2\u5ef2\u6730\u545a\u56c4\u5ef2\u58a0\u5ef2\u6c36l\u5ef2h\u5ef2\u706el\u5ef2\u735clh\u624f\u56c4\u545a\u5ef2\u5ef2\u545a\u5e77\u5ef2ih\u59c8\u5ef2\u5e77\u5f5f\u6b31\u7209qt\u5f5f\u6b31\u6b9b\u735a\u5ef2\u72b8\u7313_\u59c8\u7313u\u72b8t\u5f5f\u66f0\u6c19v\u5f5f\u6b31\u6b9b\u6c36\u5f5f\u66f0\u6c19\u5ef2k\u5f5f\u6b31\u6b9b\u6c36\u5f5f\u66f0\u6c19\u59c8\u7313\u72b8su\u735c\u545a\u5f5f\u6b31\u6b9b\u624f\u5ef2\u58a0l\u545a\u735c\u6730\u545a\u735c\u545a\u56c4i\u706e\u5ef2h\u5ef2\u58a0\u545a\u6c36P\u6256NOR\u6256M\u6256\u6730\u56c4\u58a0h\u6730\u58a0l\u56c4\u5ef2\u5ef2\u624f\u545a\u56c4\u56c4l\u735c\u6c36\u5ef2uth_k\u545ay\u5f5f\u6b31\u6b9b\u6730\u545a\u58a0\u545a\u56c4\u545a\u624fSJv\u6a4aY\u72bah\u6b31\u692dZ\u6b9bh\u72ba\u735aHS\u6730\u735a\u5ef2rs\u545a\u624fh\u5ef2\u545a\u735c\u58a0\u6730\u5ef2\u545ahl\u59c8\u706e\u545al\u545ai\u545a\u6c36h\u56c4\u735c\u545ah\u6730\u5ef2\u545ai\u735ch\u5e77\u58a0\u5ef2\u59c8\u5ef2l\u6c36\u545a\u545ai\u735ci\u6730il\u5ef2\u545a\u56c4\u6c36l\u545a\u735cl\u59c8\u6730\u5a32u\u72b8\u59c8ti\u7313\u72b8"), Kc = 233, Lc = ++Kc; --Lc;) Jc.push(Jc.shift());
+
+ function V(a) {
+ return Jc[a - 0]
+ }
+ var Oc = function (a) {
+ for (var b = {
+ alhaa: V("0x0"),
+ edaxa: function (a, b) {
+ return a !== b
+ },
+ lamlh: V("0x1"),
+ deaae: function (a, b) {
+ return a + b
+ },
+ aihca: function (a, b) {
+ return a + b
+ },
+ axlem: V("0x2"),
+ hhmea: V("0x3"),
+ dacae: V("0x4"),
+ xldaa: V("0x5"),
+ eddlm: V("0x6"),
+ eeala: V("0x7"),
+ imhae: V("0x8"),
+ eaaci: V("0x9"),
+ hmehx: "hhe"
+ }, c = b[V("0xa")]; c !== V("0xb");) switch (c) {
+ case V("0x9"):
+ var d = a ? a : 5E3,
+ c = b.imhae;
+ break;
+ case V("0xc"):
+ var e = 0,
+ c = b[V("0xd")];
+ break;
+ case "eeh":
+ return function (a) {
+ for (var c = V("0x3"); c !== V("0x6");) switch (c) {
+ case b[V("0xe")]:
+ e += a;
+ c = b[V("0xf")];
+ break;
+ case b.xldaa:
+ f = setTimeout(function () {
+ for (var a = {
+ alldi: function (a, b) {
+ return a !== b
+ },
+ emedi: V("0x10"),
+ ahaxe: "PANORAMA"
+ }, c = b[V("0x11")]; b[V("0x12")](c, V("0x13"));) switch (c) {
+ case b[V("0x14")]:
+ f = p;
+ c = V("0x13");
+ break;
+ case "dxh":
+ e = 0;
+ c = b[V("0x14")];
+ break;
+ case b[V("0x11")]:
+ var d = b[V("0x15")](b.aihca(b[V("0x16")](B.JN + V("0x17"), B.version) + V("0x18"), qa) + V("0x19"), e),
+ c = V("0x2");
+ break;
+ case b[V("0x1a")]:
+ ra(d, function (b) {
+ (!b || b[V("0x10")] === j || 0 !== b[a[V("0x1b")]]) && Mc(a[V("0x1c")], function (b) {
+ (!b || b[V("0x10")] === j || a.alldi(b[a.emedi], 0)) && Nc(V("0x1d"))
+ })
+ }), c = V("0x1e")
+ }
+ }, d);
+ c = b.eddlm;
+ break;
+ case b[V("0xf")]:
+ if (!f) {
+ c = b[V("0x1f")];
+ break
+ }
+ c = b[V("0x20")]
+ }
+ };
+ case V("0x7"):
+ var f = p,
+ c = b.hmehx
+ }
+ }();
+
+ function Pc(a, b) {
+ var c = {
+ exede: function (a, b) {
+ return a === b
+ },
+ haemx: function (a, b) {
+ return a / b
+ },
+ aehlc: function (a, b) {
+ return a + b
+ },
+ eleie: function (a, b) {
+ return a + b
+ },
+ hdmeh: function (a, b) {
+ return a + b
+ },
+ aeimh: function (a, b) {
+ return a + b
+ },
+ xacal: function (a, b) {
+ return a(b)
+ },
+ eeimi: function (a, b) {
+ return a + b
+ },
+ ilaed: V("0x21"),
+ lemlc: function (a, b) {
+ return a + b
+ }
+ },
+ d, e;
+ b ? (d = b.fW ? b.fW : 1, e = c[V("0x22")](b.yp, q) ? q : o) : (d = 1, e = o);
+ var f = V("0x23"),
+ g = Date[V("0x24")](new Date),
+ i = c[V("0x25")](g, 1E3),
+ f = c[V("0x26")](c[V("0x27")](c.hdmeh(c[V("0x28")](c[V("0x29")](a + "-" + (i + 1800), "-"), g), "-"), qa) + "-", f),
+ f = c[V("0x2a")](md5, f),
+ c = c[V("0x29")](c[V("0x2b")](c[V("0x2b")](c[V("0x2b")](c[V("0x2c")], c[V("0x2d")](i, 1800)) + "-" + g + "-", qa), "-"), f);
+ e && Oc(d);
+ return c
+ }
+
+ function Mc(a, b) {
+ var c = {
+ ldmcc: V("0x1d"),
+ hclle: function (a, b) {
+ return a + b
+ },
+ eceea: V("0x18"),
+ aaeca: V("0x2e"),
+ alaei: V("0x2f")
+ };
+ switch (a) {
+ case c[V("0x30")]:
+ var d = c.hclle(B.JN + V("0x31"), B.version) + c[V("0x32")] + qa;
+ typeof b === c[V("0x33")] ? ra(d, b) : ra(c[V("0x34")](d + c.alaei, b))
+ }
+ }
+
+ function Nc(a) {
+ var b = {
+ emiia: "PANORAMA",
+ cxeha: function (a, b) {
+ return a(b)
+ }
+ };
+ switch (a) {
+ case b[V("0x35")]:
+ b[V("0x36")](alert, V("0x37"))
+ }
+ };
+
+ function Hc() {
+ function a(a) {
+ return b[a - 0]
+ }
+ var b = function (a, b) {
+ function e(a) {
+ return i.xaxma(g, a, function (a) {
+ return i.eiiee(f, a)
+ })
+ }
+
+ function f(a) {
+ return i.chial(a, "")[i.xaaid][i.haeil(m + s, l)](a)
+ }
+
+ function g(a, b) {
+ for (var c = "iae"; i.iaece(c, "eeeh");) switch (c) {
+ case i.ialih:
+ return e;
+ case "acx":
+ for (c = 0; c < f; c++) {
+ var d = i.axxce(b, a[c]);
+ e.push(d)
+ }
+ c = "ihl";
+ break;
+ case i.helex:
+ var e = [],
+ c = "acx";
+ break;
+ case i.xaimx:
+ var f = a.length,
+ c = "ecx"
+ }
+ }
+ var i = {
+ iaece: function (a, b) {
+ return a !== b
+ },
+ ialih: "ihl",
+ axxce: function (a, b) {
+ return a(b)
+ },
+ helex: "ecx",
+ xaimx: "iae",
+ chial: function (a, b) {
+ return a + b
+ },
+ xaaid: "constructor",
+ haeil: function (a, b) {
+ return a + b
+ },
+ eiiee: function (a, b) {
+ return a(b)
+ },
+ xaxma: function (a, b, c) {
+ return a(b, c)
+ },
+ eaaia: "1.1.2",
+ aadhe: "Char",
+ cealx: function (a, b) {
+ return a + b
+ }
+ },
+ k, l, m, n = decodeURIComponent,
+ s = i.aadhe;
+ k = "de";
+ m = i.haeil("fro", "m");
+ l = i.cealx("Co", k);
+ var u = e.call(f, [39, 34, 37, 96, 60, 120, 97, 65, 98, 66, 99, 67, 100, 68, 101, 69, 102, 70, 103, 110, 109, 111, 112, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57]);
+ k = g([28782, 27702, 26416, 25167, 24183], function (a) {
+ return i.eiiee(n, a)
+ });
+ var w = e.call(k, [22354, 22749, 24415, 23346, 22257, 22688, 24306, 25174, 23595, 25547, 22984, 25690, 22212, 27547, 21594, 27210, 23090, 29193, 22394, 29368, 29532, 29459, 29530, 24146, 24500, 26352, 27441, 28788, 29370, 27673, 26925, 25249, 24430]),
+ y = {};
+ k = e(k);
+ var D = RegExp(k.join("|"));
+ for (k = 0; k < u.length; k++) y[w[k]] = u[k];
+ b = g(b.split(""), function (a) {
+ return y[a] || a
+ }).join("");
+ return g(b.split(D), function (a) {
+ return n(a)
+ })
+ }(this, "\u7209\u72baL\u66f0O\u6c19R\u6c19\u6256\u6b9b\u62a1\u5f6e\u5f6e\u5e52O\u5e77l\u545a\u545a\u624f\u5ef2hl\u6730\u545a\u58a0\u735c\u5ef2\u545a\u6730\u56c4\u5ef2\u735c\u58a0\u735c\u6730\u5ef2\u5ef2\u58a0\u59c8i\u706esu\u5c2bstri\u72b8\u577a\u5e77l\u545a\u72b8\u577ath\u706e\u545a\u735c\u545a\u56c4h\u624f\u5ef2h\u545ah\u58a0\u5e77\u59c8\u545a\u58a0\u59c8\u545a\u5e77\u58a0il\u624f\u735cih\u5ef2i\u624fh\u5ef2\u545al\u545a\u624f\u545ahl\u58a0i\u5e77H\u5e52\u6256\u5f6eP\u62a1P\u692dY\u6c19\u6256\u63cbQO\u5e52\u706e\u56c4\u545a\u545a\u6c36\u5f5f\u66f0\u6c19si\u577a\u72b8\u5f5f\u6b31\u6b9b");
+ (function (a, b) {
+ for (var e = ++b; --e;) a.push(a.shift())
+ })(b, 394);
+ return function (b) {
+ for (var d = {
+ exmae: a("0x0"),
+ damxm: function (a, b) {
+ return a + b
+ },
+ aaxci: a("0x1"),
+ emedh: "ahl",
+ ahehx: a("0x2"),
+ cexce: a("0x3"),
+ mihai: function (a, b) {
+ return a(b)
+ },
+ haele: function (a, b) {
+ return a + b
+ },
+ ehlxi: function (a, b) {
+ return a + b
+ }
+ }, e = a("0x4");
+ "lcha" !== e;) switch (e) {
+ case d[a("0x5")]:
+ return d[a("0x6")](d[a("0x7")], g[a("0x8")](g[a("0x9")] - 12));
+ case d[a("0xa")]:
+ var f = d[a("0xb")],
+ e = d[a("0xc")];
+ break;
+ case a("0xd"):
+ var g = d[a("0xe")](md5, d[a("0xf")](md5(d[a("0x10")](b, f)), i)),
+ e = d[a("0x5")];
+ break;
+ case d.cexce:
+ var i = a("0x11"),
+ e = a("0xd")
+ }
+ }
+ };
+
+ function lb(a, b) {
+ a && (this.Kb = a, this.ba = "spot" + lb.ba++, b = b || {}, this.Xg = b.text || "", this.Mv = b.offsets ? b.offsets.slice(0) : [5, 5, 5, 5], this.NJ = b.userData || p, this.Uh = b.minZoom || p, this.Gf = b.maxZoom || p)
+ }
+ lb.ba = 0;
+ x.extend(lb.prototype, {
+ ra: function (a) {
+ this.Uh == p && (this.Uh = a.B.fc);
+ this.Gf == p && (this.Gf = a.B.Zb)
+ },
+ ta: function (a) {
+ if (a instanceof O || a instanceof K) this.Kb = a
+ },
+ ia: v("Kb"),
+ hu: da("Xg"),
+ nE: v("Xg"),
+ setUserData: da("NJ"),
+ getUserData: v("NJ")
+ });
+
+ function Qc() {
+ this.D = p;
+ this.Lb = "control";
+ this.Pa = this.rK = o
+ }
+ x.lang.ua(Qc, x.lang.Da, "Control");
+ x.extend(Qc.prototype, {
+ initialize: function (a) {
+ this.D = a;
+ if (this.C) return a.Ua.appendChild(this.C), this.C
+ },
+ Ie: function (a) {
+ !this.C && (this.initialize && ab(this.initialize)) && (this.C = this.initialize(a));
+ this.k = this.k || {
+ Dg: q
+ };
+ this.PB();
+ this.Xr();
+ this.C && (this.C.wr = this)
+ },
+ PB: function () {
+ var a = this.C;
+ if (a) {
+ var b = a.style;
+ b.position = "absolute";
+ b.zIndex = this.Zu || "10";
+ b.MozUserSelect = "none";
+ b.WebkitTextSizeAdjust = "none";
+ this.k.Dg || x.K.Ta(a, "BMap_noprint");
+ J() || x.M(a, "contextmenu", oa)
+ }
+ },
+ remove: function () {
+ this.D = p;
+ this.C && (this.C.parentNode && this.C.parentNode.removeChild(this.C), this.C = this.C.wr = p)
+ },
+ Ba: function () {
+ this.C = Cb(this.D.Ua, "");
+ this.Pa == q && x.K.U(this.C);
+ return this.C
+ },
+ Xr: function () {
+ this.qc(this.k.anchor)
+ },
+ qc: function (a) {
+ if (this.T1 || !Za(a) || isNaN(a) || a < Rc || 3 < a) a = this.defaultAnchor;
+ this.k = this.k || {
+ Dg: q
+ };
+ this.k.Aa = this.k.Aa || this.defaultOffset;
+ var b = this.k.anchor;
+ this.k.anchor = a;
+ if (this.C) {
+ var c = this.C,
+ d = this.k.Aa.width,
+ e = this.k.Aa.height;
+ c.style.left = c.style.top = c.style.right = c.style.bottom = "auto";
+ switch (a) {
+ case Rc:
+ c.style.top = e + "px";
+ c.style.left = d + "px";
+ break;
+ case Sc:
+ c.style.top = e + "px";
+ c.style.right = d + "px";
+ break;
+ case Tc:
+ c.style.bottom = e + "px";
+ c.style.left = d + "px";
+ break;
+ case 3:
+ c.style.bottom = e + "px", c.style.right = d + "px"
+ }
+ c = ["TL", "TR", "BL", "BR"];
+ x.K.Tb(this.C, "anchor" + c[b]);
+ x.K.Ta(this.C, "anchor" + c[a])
+ }
+ },
+ RD: function () {
+ return this.k.anchor
+ },
+ getContainer: v("C"),
+ Ye: function (a) {
+ a instanceof M && (this.k = this.k || {
+ Dg: q
+ }, this.k.Aa = new M(a.width, a.height), this.C && this.qc(this.k.anchor))
+ },
+ Qf: function () {
+ return this.k.Aa
+ },
+ Ld: v("C"),
+ show: function () {
+ this.Pa != o && (this.Pa = o, this.C && x.K.show(this.C))
+ },
+ U: function () {
+ this.Pa != q && (this.Pa = q, this.C && x.K.U(this.C))
+ },
+ isPrintable: function () {
+ return !!this.k.Dg
+ },
+ oh: function () {
+ return !this.C && !this.D ? q : !!this.Pa
+ }
+ });
+ var Rc = 0,
+ Sc = 1,
+ Tc = 2;
+
+ function mb(a) {
+ Qc.call(this);
+ a = a || {};
+ this.k = {
+ Dg: q,
+ UF: a.showZoomInfo || o,
+ anchor: a.anchor,
+ Aa: a.offset,
+ type: a.type,
+ SW: a.enableGeolocation || q
+ };
+ this.defaultAnchor = J() ? 3 : Rc;
+ this.defaultOffset = new M(10, 10);
+ this.qc(a.anchor);
+ this.wn(a.type);
+ this.Ee()
+ }
+ x.lang.ua(mb, Qc, "NavigationControl");
+ x.extend(mb.prototype, {
+ initialize: function (a) {
+ this.D = a;
+ return this.C
+ },
+ wn: function (a) {
+ this.k.type = Za(a) && 0 <= a && 3 >= a ? a : 0
+ },
+ pp: function () {
+ return this.k.type
+ },
+ Ee: function () {
+ var a = this;
+ L.load("navictrl", function () {
+ a.yf()
+ })
+ }
+ });
+
+ function Uc(a) {
+ Qc.call(this);
+ a = a || {};
+ this.k = {
+ anchor: a.anchor || Tc,
+ Aa: a.offset || new M(10, 30),
+ G_: a.showAddressBar !== q,
+ B2: a.enableAutoLocation || q,
+ ZM: a.locationIcon || p
+ };
+ var b = this;
+ this.Zu = 1200;
+ b.u0 = [];
+ this.qe = [];
+ L.load("geoctrl", function () {
+ (function d() {
+ if (0 !== b.qe.length) {
+ var a = b.qe.shift();
+ b[a.method].apply(b, a.arguments);
+ d()
+ }
+ })();
+ b.uQ()
+ });
+ Ta(Ka)
+ }
+ x.lang.ua(Uc, Qc, "GeolocationControl");
+ x.extend(Uc.prototype, {
+ location: function () {
+ this.qe.push({
+ method: "location",
+ arguments: arguments
+ })
+ },
+ getAddressComponent: ea(p)
+ });
+
+ function Vc(a) {
+ Qc.call(this);
+ a = a || {};
+ this.k = {
+ Dg: q,
+ anchor: a.anchor,
+ Aa: a.offset
+ };
+ this.bc = [];
+ this.defaultAnchor = Tc;
+ this.defaultOffset = new M(5, 2);
+ this.qc(a.anchor);
+ this.rK = q;
+ this.Ee()
+ }
+ x.lang.ua(Vc, Qc, "CopyrightControl");
+ x.object.extend(Vc.prototype, {
+ initialize: function (a) {
+ this.D = a;
+ return this.C
+ },
+ Dw: function (a) {
+ if (a && Za(a.id) && !isNaN(a.id)) {
+ var b = {
+ bounds: p,
+ content: ""
+ },
+ c;
+ for (c in a) b[c] = a[c];
+ if (a = this.Am(a.id))
+ for (var d in b) a[d] = b[d];
+ else this.bc.push(b)
+ }
+ },
+ Am: function (a) {
+ for (var b = 0, c = this.bc.length; b < c; b++)
+ if (this.bc[b].id == a) return this.bc[b]
+ },
+ YD: v("bc"),
+ uF: function (a) {
+ for (var b = 0, c = this.bc.length; b < c; b++) this.bc[b].id == a && (r = this.bc.splice(b, 1), b--, c = this.bc.length)
+ },
+ Ee: function () {
+ var a = this;
+ L.load("copyrightctrl", function () {
+ a.yf()
+ })
+ }
+ });
+
+ function ob(a) {
+ Qc.call(this);
+ a = a || {};
+ this.k = {
+ Dg: q,
+ size: a.size || new M(150, 150),
+ padding: 5,
+ Va: a.isOpen === o ? o : q,
+ K0: 4,
+ Aa: a.offset,
+ anchor: a.anchor
+ };
+ this.defaultAnchor = 3;
+ this.defaultOffset = new M(0, 0);
+ this.Kq = this.Lq = 13;
+ this.qc(a.anchor);
+ this.Ce(this.k.size);
+ this.Ee()
+ }
+ x.lang.ua(ob, Qc, "OverviewMapControl");
+ x.extend(ob.prototype, {
+ initialize: function (a) {
+ this.D = a;
+ return this.C
+ },
+ qc: function (a) {
+ Qc.prototype.qc.call(this, a)
+ },
+ se: function () {
+ this.se.to = o;
+ this.k.Va = !this.k.Va;
+ this.C || (this.se.to = q)
+ },
+ Ce: function (a) {
+ a instanceof M || (a = new M(150, 150));
+ a.width = 0 < a.width ? a.width : 150;
+ a.height = 0 < a.height ? a.height : 150;
+ this.k.size = a
+ },
+ vb: function () {
+ return this.k.size
+ },
+ Va: function () {
+ return this.k.Va
+ },
+ Ee: function () {
+ var a = this;
+ L.load("control", function () {
+ a.yf()
+ })
+ }
+ });
+
+ function Xc(a) {
+ Qc.call(this);
+ a = a || {};
+ this.defaultAnchor = Rc;
+ this.MV = a.canCheckSize === q ? q : o;
+ this.ij = "";
+ this.defaultOffset = new M(10, 10);
+ this.onChangeBefore = [];
+ this.onChangeAfter = [];
+ this.onChangeSuccess = [];
+ this.k = {
+ Dg: q,
+ Aa: a.offset || this.defaultOffset,
+ anchor: a.anchor || this.defaultAnchor,
+ expand: !!a.expand
+ };
+ a.onChangeBefore && ab(a.onChangeBefore) && this.onChangeBefore.push(a.onChangeBefore);
+ a.onChangeAfter && ab(a.onChangeAfter) && this.onChangeAfter.push(a.onChangeAfter);
+ a.onChangeSuccess && ab(a.onChangeSuccess) && this.onChangeSuccess.push(a.onChangeSuccess);
+ this.qc(a.anchor);
+ this.Ee()
+ }
+ x.lang.ua(Xc, Qc, "CityListControl");
+ x.object.extend(Xc.prototype, {
+ initialize: function (a) {
+ this.D = a;
+ return this.C
+ },
+ Ee: function () {
+ var a = this;
+ L.load("citylistcontrol", function () {
+ a.yf()
+ }, o)
+ }
+ });
+
+ function nb(a) {
+ Qc.call(this);
+ a = a || {};
+ this.k = {
+ Dg: q,
+ color: "black",
+ dd: "metric",
+ Aa: a.offset
+ };
+ this.defaultAnchor = Tc;
+ this.defaultOffset = new M(81, 18);
+ this.qc(a.anchor);
+ this.ei = {
+ metric: {
+ name: "metric",
+ GK: 1,
+ sM: 1E3,
+ aP: "\u7c73",
+ bP: "\u516c\u91cc"
+ },
+ us: {
+ name: "us",
+ GK: 3.2808,
+ sM: 5280,
+ aP: "\u82f1\u5c3a",
+ bP: "\u82f1\u91cc"
+ }
+ };
+ this.ei[this.k.dd] || (this.k.dd = "metric");
+ this.lJ = p;
+ this.LI = {};
+ this.Ee()
+ }
+ x.lang.ua(nb, Qc, "ScaleControl");
+ x.object.extend(nb.prototype, {
+ initialize: function (a) {
+ this.D = a;
+ return this.C
+ },
+ Sk: function (a) {
+ this.k.color = a + ""
+ },
+ S2: function () {
+ return this.k.color
+ },
+ RF: function (a) {
+ this.k.dd = this.ei[a] && this.ei[a].name || this.k.dd
+ },
+ kY: function () {
+ return this.k.dd
+ },
+ Ee: function () {
+ var a = this;
+ L.load("control", function () {
+ a.yf()
+ })
+ }
+ });
+ var Yc = 0;
+
+ function pb(a) {
+ Qc.call(this);
+ a = a || {};
+ this.defaultAnchor = Sc;
+ this.defaultOffset = new M(10, 10);
+ this.k = {
+ Dg: q,
+ qh: [Oa, bb, Ua, Ra],
+ uW: ["B_DIMENSIONAL_MAP", "B_SATELLITE_MAP", "B_NORMAL_MAP"],
+ type: a.type || Yc,
+ Aa: a.offset || this.defaultOffset,
+ WW: o
+ };
+ this.qc(a.anchor);
+ "[object Array]" == Object.prototype.toString.call(a.mapTypes) && (this.k.qh = a.mapTypes.slice(0));
+ this.Ee()
+ }
+ x.lang.ua(pb, Qc, "MapTypeControl");
+ x.object.extend(pb.prototype, {
+ initialize: function (a) {
+ this.D = a;
+ return this.C
+ },
+ ez: function (a) {
+ this.D.jo = a
+ },
+ Ee: function () {
+ var a = this;
+ L.load("control", function () {
+ a.yf()
+ }, o)
+ }
+ });
+
+ function Zc(a) {
+ Qc.call(this);
+ a = a || {};
+ this.k = {
+ Dg: q,
+ Aa: a.offset,
+ anchor: a.anchor
+ };
+ this.Wi = q;
+ this.lw = p;
+ this.VI = new $c({
+ of: "api"
+ });
+ this.WI = new ad(p, {
+ of: "api"
+ });
+ this.defaultAnchor = Sc;
+ this.defaultOffset = new M(10, 10);
+ this.qc(a.anchor);
+ this.Ee();
+ Ta(xa)
+ }
+ x.lang.ua(Zc, Qc, "PanoramaControl");
+ x.extend(Zc.prototype, {
+ initialize: function (a) {
+ this.D = a;
+ return this.C
+ },
+ Ee: function () {
+ var a = this;
+ L.load("control", function () {
+ a.yf()
+ })
+ }
+ });
+
+ function bd(a) {
+ x.lang.Da.call(this);
+ this.k = {
+ Ua: p,
+ cursor: "default"
+ };
+ this.k = x.extend(this.k, a);
+ this.Lb = "contextmenu";
+ this.D = p;
+ this.ya = [];
+ this.Jf = [];
+ this.Ge = [];
+ this.jx = this.ys = p;
+ this.Th = q;
+ var b = this;
+ L.load("menu", function () {
+ b.Ab()
+ })
+ }
+ x.lang.ua(bd, x.lang.Da, "ContextMenu");
+ x.object.extend(bd.prototype, {
+ ra: function (a, b) {
+ this.D = a;
+ this.Gl = b || p
+ },
+ remove: function () {
+ this.D = this.Gl = p
+ },
+ Fw: function (a) {
+ if (a && !("menuitem" != a.Lb || "" == a.Xg || 0 >= a.dj)) {
+ for (var b = 0, c = this.ya.length; b < c; b++)
+ if (this.ya[b] === a) return;
+ this.ya.push(a);
+ this.Jf.push(a)
+ }
+ },
+ removeItem: function (a) {
+ if (a && "menuitem" == a.Lb) {
+ for (var b = 0, c = this.ya.length; b < c; b++) this.ya[b] === a && (this.ya[b].remove(), this.ya.splice(b, 1), c--);
+ b = 0;
+ for (c = this.Jf.length; b < c; b++) this.Jf[b] === a && (this.Jf[b].remove(), this.Jf.splice(b, 1), c--)
+ }
+ },
+ iC: function () {
+ this.ya.push({
+ Lb: "divider",
+ Uj: this.Ge.length
+ });
+ this.Ge.push({
+ K: p
+ })
+ },
+ wF: function (a) {
+ if (this.Ge[a]) {
+ for (var b = 0, c = this.ya.length; b < c; b++) this.ya[b] && ("divider" == this.ya[b].Lb && this.ya[b].Uj == a) && (this.ya.splice(b, 1), c--), this.ya[b] && ("divider" == this.ya[b].Lb && this.ya[b].Uj > a) && this.ya[b].Uj--;
+ this.Ge.splice(a, 1)
+ }
+ },
+ Ld: v("C"),
+ show: function () {
+ this.Th != o && (this.Th = o)
+ },
+ U: function () {
+ this.Th != q && (this.Th = q)
+ },
+ m_: function (a) {
+ a && (this.k.cursor = a)
+ },
+ getItem: function (a) {
+ return this.Jf[a]
+ }
+ });
+ var cd = I.pa + "menu_zoom_in.png",
+ dd = I.pa + "menu_zoom_out.png";
+
+ function ed(a, b, c) {
+ if (a && ab(b)) {
+ x.lang.Da.call(this);
+ this.k = {
+ width: 100,
+ id: "",
+ Pm: ""
+ };
+ c = c || {};
+ this.k.width = 1 * c.width ? c.width : 100;
+ this.k.id = c.id ? c.id : "";
+ this.k.Pm = c.iconUrl ? c.iconUrl : "";
+ this.Xg = a + "";
+ this.Tz = b;
+ this.D = p;
+ this.Lb = "menuitem";
+ this.ds = this.Av = this.C = this.Lh = p;
+ this.Ph = o;
+ var d = this;
+ L.load("menu", function () {
+ d.Ab()
+ })
+ }
+ }
+ x.lang.ua(ed, x.lang.Da, "MenuItem");
+ x.object.extend(ed.prototype, {
+ ra: function (a, b) {
+ this.D = a;
+ this.Lh = b
+ },
+ remove: function () {
+ this.D = this.Lh = p
+ },
+ hu: function (a) {
+ a && (this.Xg = a + "")
+ },
+ Vb: function (a) {
+ a && (this.k.Pm = a)
+ },
+ Ld: v("C"),
+ enable: function () {
+ this.Ph = o
+ },
+ disable: function () {
+ this.Ph = q
+ }
+ });
+
+ function ib(a, b) {
+ a && !b && (b = a);
+ this.Je = this.Yd = this.Ne = this.$d = this.Vl = this.El = p;
+ a && (this.Vl = new O(a.lng, a.lat), this.El = new O(b.lng, b.lat), this.Ne = a.lng, this.$d = a.lat, this.Je = b.lng, this.Yd = b.lat)
+ }
+ x.object.extend(ib.prototype, {
+ Bj: function () {
+ return !this.Vl || !this.El
+ },
+ ab: function (a) {
+ return !(a instanceof ib) || this.Bj() ? q : this.xe().ab(a.xe()) && this.pf().ab(a.pf())
+ },
+ xe: v("Vl"),
+ pf: v("El"),
+ cW: function (a) {
+ return !(a instanceof ib) || this.Bj() || a.Bj() ? q : a.Ne > this.Ne && a.Je < this.Je && a.$d > this.$d && a.Yd < this.Yd
+ },
+ pc: function () {
+ return this.Bj() ? p : new O((this.Ne + this.Je) / 2, (this.$d + this.Yd) / 2)
+ },
+ At: function (a) {
+ if (!(a instanceof ib) || Math.max(a.Ne, a.Je) < Math.min(this.Ne, this.Je) || Math.min(a.Ne, a.Je) > Math.max(this.Ne, this.Je) || Math.max(a.$d, a.Yd) < Math.min(this.$d, this.Yd) || Math.min(a.$d, a.Yd) > Math.max(this.$d, this.Yd)) return p;
+ var b = Math.max(this.Ne, a.Ne),
+ c = Math.min(this.Je, a.Je),
+ d = Math.max(this.$d, a.$d),
+ a = Math.min(this.Yd, a.Yd);
+ return new ib(new O(b, d), new O(c, a))
+ },
+ Zw: function (a) {
+ return !(a instanceof O || a instanceof K) || this.Bj() ? q : a.lng >= this.Ne && a.lng <= this.Je && a.lat >= this.$d && a.lat <= this.Yd
+ },
+ extend: function (a) {
+ if (a instanceof O || a instanceof K) {
+ var b = a.lng,
+ a = a.lat;
+ this.Vl || (this.Vl = new O(0, 0));
+ this.El || (this.El = new O(0, 0));
+ if (!this.Ne || this.Ne > b) this.Vl.lng = this.Ne = b;
+ if (!this.Je || this.Je < b) this.El.lng = this.Je = b;
+ if (!this.$d || this.$d > a) this.Vl.lat = this.$d = a;
+ if (!this.Yd || this.Yd < a) this.El.lat = this.Yd = a
+ }
+ },
+ dG: function () {
+ return this.Bj() ? new O(0, 0) : new O(Math.abs(this.Je - this.Ne), Math.abs(this.Yd - this.$d))
+ }
+ });
+
+ function O(a, b) {
+ isNaN(a) && (a = Mb(a), a = isNaN(a) ? 0 : a);
+ cb(a) && (a = parseFloat(a));
+ isNaN(b) && (b = Mb(b), b = isNaN(b) ? 0 : b);
+ cb(b) && (b = parseFloat(b));
+ this.lng = a;
+ this.lat = b
+ }
+ O.GE = function (a) {
+ return a && 180 >= a.lng && -180 <= a.lng && 74 >= a.lat && -74 <= a.lat
+ };
+ O.prototype.ab = function (a) {
+ return a && this.lat == a.lat && this.lng == a.lng
+ };
+
+ function K(a, b) {
+ isNaN(a) && (a = Mb(a), a = isNaN(a) ? 0 : a);
+ cb(a) && (a = parseFloat(a));
+ isNaN(b) && (b = Mb(b), b = isNaN(b) ? 0 : b);
+ cb(b) && (b = parseFloat(b));
+ this.lng = a;
+ this.lat = b;
+ this.of = "inner"
+ }
+ K.GE = function (a) {
+ return a && 180 >= a.lng && -180 <= a.lng && 74 >= a.lat && -74 <= a.lat
+ };
+ K.prototype.ab = function (a) {
+ return a && this.lat == a.lat && this.lng == a.lng
+ };
+
+ function fd() { }
+ fd.prototype.jy = function () {
+ aa("lngLatToPoint\u65b9\u6cd5\u672a\u5b9e\u73b0")
+ };
+ fd.prototype.Ej = function () {
+ aa("pointToLngLat\u65b9\u6cd5\u672a\u5b9e\u73b0")
+ };
+
+ function gd() { };
+ var hb = {
+ IK: function (a, b, c) {
+ L.load("coordtransutils", function () {
+ hb.vV(a, b, c)
+ }, o)
+ },
+ HK: function (a, b, c) {
+ L.load("coordtransutils", function () {
+ hb.uV(a, b, c)
+ }, o)
+ }
+ };
+
+ function hd() {
+ this.Oa = [];
+ var a = this;
+ L.load("convertor", function () {
+ a.sQ()
+ })
+ }
+ x.ua(hd, x.lang.Da, "Convertor");
+ x.extend(hd.prototype, {
+ translate: function (a, b, c, d) {
+ this.Oa.push({
+ method: "translate",
+ arguments: [a, b, c, d]
+ })
+ }
+ });
+ U(hd.prototype, {
+ translate: hd.prototype.translate
+ });
+
+ function T() { }
+ T.prototype = new fd;
+ x.extend(T, {
+ IP: 6370996.81,
+ MG: [1.289059486E7, 8362377.87, 5591021, 3481989.83, 1678043.12, 0],
+ Ou: [75, 60, 45, 30, 15, 0],
+ OP: [
+ [1.410526172116255E-8, 8.98305509648872E-6, -1.9939833816331, 200.9824383106796, -187.2403703815547, 91.6087516669843, -23.38765649603339, 2.57121317296198, -0.03801003308653, 1.73379812E7],
+ [-7.435856389565537E-9, 8.983055097726239E-6, -0.78625201886289, 96.32687599759846, -1.85204757529826, -59.36935905485877, 47.40033549296737, -16.50741931063887, 2.28786674699375, 1.026014486E7],
+ [-3.030883460898826E-8, 8.98305509983578E-6, 0.30071316287616, 59.74293618442277, 7.357984074871, -25.38371002664745, 13.45380521110908, -3.29883767235584, 0.32710905363475, 6856817.37],
+ [-1.981981304930552E-8, 8.983055099779535E-6, 0.03278182852591, 40.31678527705744, 0.65659298677277, -4.44255534477492, 0.85341911805263, 0.12923347998204, -0.04625736007561, 4482777.06],
+ [3.09191371068437E-9, 8.983055096812155E-6, 6.995724062E-5, 23.10934304144901, -2.3663490511E-4, -0.6321817810242, -0.00663494467273, 0.03430082397953, -0.00466043876332, 2555164.4],
+ [2.890871144776878E-9, 8.983055095805407E-6, -3.068298E-8, 7.47137025468032, -3.53937994E-6, -0.02145144861037, -1.234426596E-5, 1.0322952773E-4, -3.23890364E-6, 826088.5]
+ ],
+ JG: [
+ [-0.0015702102444, 111320.7020616939, 1704480524535203, -10338987376042340, 26112667856603880, -35149669176653700, 26595700718403920, -10725012454188240, 1800819912950474, 82.5],
+ [8.277824516172526E-4, 111320.7020463578, 6.477955746671607E8, -4.082003173641316E9, 1.077490566351142E10, -1.517187553151559E10, 1.205306533862167E10, -5.124939663577472E9, 9.133119359512032E8, 67.5],
+ [0.00337398766765, 111320.7020202162, 4481351.045890365, -2.339375119931662E7, 7.968221547186455E7, -1.159649932797253E8, 9.723671115602145E7, -4.366194633752821E7, 8477230.501135234, 52.5],
+ [0.00220636496208, 111320.7020209128, 51751.86112841131, 3796837.749470245, 992013.7397791013, -1221952.21711287, 1340652.697009075, -620943.6990984312, 144416.9293806241, 37.5],
+ [-3.441963504368392E-4, 111320.7020576856, 278.2353980772752, 2485758.690035394, 6070.750963243378, 54821.18345352118, 9540.606633304236, -2710.55326746645, 1405.483844121726, 22.5],
+ [-3.218135878613132E-4, 111320.7020701615, 0.00369383431289, 823725.6402795718, 0.46104986909093, 2351.343141331292, 1.58060784298199, 8.77738589078284, 0.37238884252424, 7.45]
+ ],
+ X2: function (a, b) {
+ if (!a || !b) return 0;
+ var c, d, a = this.ub(a);
+ if (!a) return 0;
+ c = this.$k(a.lng);
+ d = this.$k(a.lat);
+ b = this.ub(b);
+ return !b ? 0 : this.Ue(c, this.$k(b.lng), d, this.$k(b.lat))
+ },
+ fp: function (a, b) {
+ if (!a || !b) return 0;
+ a.lng = this.fE(a.lng, -180, 180);
+ a.lat = this.jE(a.lat, -74, 74);
+ b.lng = this.fE(b.lng, -180, 180);
+ b.lat = this.jE(b.lat, -74, 74);
+ return this.Ue(this.$k(a.lng), this.$k(b.lng), this.$k(a.lat), this.$k(b.lat))
+ },
+ ub: function (a) {
+ if (a === p || a === j) return new K(0, 0);
+ var b, c;
+ b = new K(Math.abs(a.lng), Math.abs(a.lat));
+ for (var d = 0; d < this.MG.length; d++)
+ if (b.lat >= this.MG[d]) {
+ c = this.OP[d];
+ break
+ }
+ a = this.JK(a, c);
+ return a = new K(a.lng.toFixed(6), a.lat.toFixed(6))
+ },
+ tb: function (a) {
+ if (a === p || a === j || 180 < a.lng || -180 > a.lng || 90 < a.lat || -90 > a.lat) return new K(0, 0);
+ var b, c;
+ a.lng = this.fE(a.lng, -180, 180);
+ a.lat = this.jE(a.lat, -74, 74);
+ b = new K(a.lng, a.lat);
+ for (var d = 0; d < this.Ou.length; d++)
+ if (b.lat >= this.Ou[d]) {
+ c = this.JG[d];
+ break
+ }
+ if (!c)
+ for (d = 0; d < this.Ou.length; d++)
+ if (b.lat <= -this.Ou[d]) {
+ c = this.JG[d];
+ break
+ }
+ a = this.JK(a, c);
+ return a = new K(a.lng.toFixed(2), a.lat.toFixed(2))
+ },
+ JK: function (a, b) {
+ if (a && b) {
+ var c = b[0] + b[1] * Math.abs(a.lng),
+ d = Math.abs(a.lat) / b[9],
+ d = b[2] + b[3] * d + b[4] * d * d + b[5] * d * d * d + b[6] * d * d * d * d + b[7] * d * d * d * d * d + b[8] * d * d * d * d * d * d,
+ c = c * (0 > a.lng ? -1 : 1),
+ d = d * (0 > a.lat ? -1 : 1);
+ return new K(c, d)
+ }
+ },
+ Ue: function (a, b, c, d) {
+ return this.IP * Math.acos(Math.sin(c) * Math.sin(d) + Math.cos(c) * Math.cos(d) * Math.cos(b - a))
+ },
+ $k: function (a) {
+ return Math.PI * a / 180
+ },
+ W4: function (a) {
+ return 180 * a / Math.PI
+ },
+ jE: function (a, b, c) {
+ b != p && (a = Math.max(a, b));
+ c != p && (a = Math.min(a, c));
+ return a
+ },
+ fE: function (a, b, c) {
+ for (; a > c;) a -= c - b;
+ for (; a < b;) a += c - b;
+ return a
+ }
+ });
+ x.extend(T.prototype, {
+ Jk: function (a) {
+ return T.tb(a)
+ },
+ jy: function (a) {
+ a = $a(a, this.map);
+ a = T.tb(a);
+ return new S(a.lng, a.lat)
+ },
+ zl: function (a) {
+ a = T.tb(a);
+ return new S(a.lng, a.lat)
+ },
+ rh: function (a) {
+ return T.ub(a)
+ },
+ Ej: function (a) {
+ a = new K(a.x, a.y);
+ return gb(T.ub(a), this.map)
+ },
+ B1: function (a) {
+ a = new K(a.x, a.y);
+ return T.ub(a)
+ },
+ Mp: function (a, b, c, d, e) {
+ if (a) return a = this.Jk(a, e), b = this.yc(b), new S(Math.round((a.lng - c.lng) / b + d.width / 2), Math.round((c.lat - a.lat) / b + d.height / 2))
+ },
+ Ag: function (a, b, c, d, e) {
+ if (a) return b = this.yc(b), this.rh(new K(c.lng + b * (a.x - d.width / 2), c.lat - b * (a.y - d.height / 2)), e)
+ },
+ yc: function (a) {
+ return Math.pow(2, 18 - a)
+ },
+ l_: da("map")
+ });
+
+ function kb() {
+ this.ij = "bj"
+ }
+ kb.prototype = new T;
+ x.extend(kb.prototype, {
+ Jk: function (a, b) {
+ return this.cR(b, T.tb(a))
+ },
+ rh: function (a, b) {
+ return T.ub(this.dR(b, a))
+ },
+ lngLatToPointFor3D: function (a, b) {
+ var c = this,
+ d = T.tb(a);
+ L.load("coordtrans", function () {
+ var a = gd.hE(c.ij || "bj", d),
+ a = new S(a.x, a.y);
+ b && b(a)
+ }, o)
+ },
+ pointToLngLatFor3D: function (a, b) {
+ var c = this,
+ d = new K(a.x, a.y);
+ L.load("coordtrans", function () {
+ var a = gd.gE(c.ij || "bj", d),
+ a = new K(a.lng, a.lat),
+ a = T.ub(a);
+ b && b(a)
+ }, o)
+ },
+ cR: function (a, b) {
+ if (L.jb("coordtrans").Dd == L.Lj.mq) {
+ var c = gd.hE(a || "bj", b);
+ return new K(c.x, c.y)
+ }
+ L.load("coordtrans", t());
+ return new K(0, 0)
+ },
+ dR: function (a, b) {
+ if (L.jb("coordtrans").Dd == L.Lj.mq) {
+ var c = gd.gE(a || "bj", b);
+ return new K(c.lng, c.lat)
+ }
+ L.load("coordtrans", t());
+ return new K(0, 0)
+ },
+ yc: function (a) {
+ return Math.pow(2, 20 - a)
+ },
+ Ry: da("map")
+ });
+
+ function id() {
+ this.Lb = "overlay"
+ }
+ x.lang.ua(id, x.lang.Da, "Overlay");
+ id.Mm = function (a) {
+ a *= 1;
+ return !a ? 0 : -1E5 * a << 1
+ };
+ x.extend(id.prototype, {
+ Ie: function (a) {
+ if (!this.V && ab(this.initialize) && (this.V = this.initialize(a))) this.V.style.WebkitUserSelect = "none";
+ this.draw()
+ },
+ initialize: function () {
+ aa("initialize\u65b9\u6cd5\u672a\u5b9e\u73b0")
+ },
+ draw: function () {
+ aa("draw\u65b9\u6cd5\u672a\u5b9e\u73b0")
+ },
+ remove: function () {
+ this.V && this.V.parentNode && this.V.parentNode.removeChild(this.V);
+ this.V = p;
+ this.dispatchEvent(new N("onremove"))
+ },
+ U: function () {
+ this.V && x.K.U(this.V)
+ },
+ show: function () {
+ this.V && x.K.show(this.V)
+ },
+ oh: function () {
+ return !this.V || "none" == this.V.style.display || "hidden" == this.V.style.visibility ? q : o
+ }
+ });
+ B.Xe(function (a) {
+ function b(a, b) {
+ var c = H("div"),
+ g = c.style;
+ g.position = "absolute";
+ g.top = g.left = g.width = g.height = "0";
+ g.zIndex = b;
+ a.appendChild(c);
+ return c
+ }
+ var c = a.R;
+ c.rd = a.rd = b(a.platform, 200);
+ a.Zd.LD = b(c.rd, 800);
+ a.Zd.ZE = b(c.rd, 700);
+ a.Zd.xL = b(c.rd, 600);
+ a.Zd.RE = b(c.rd, 500);
+ a.Zd.cN = b(c.rd, 400);
+ a.Zd.dN = b(c.rd, 300);
+ a.Zd.nP = b(c.rd, 201);
+ a.Zd.Jt = b(c.rd, 200)
+ });
+
+ function jb() {
+ x.lang.Da.call(this);
+ id.call(this);
+ this.map = p;
+ this.Pa = o;
+ this.Bb = p;
+ this.zH = 0
+ }
+ x.lang.ua(jb, id, "OverlayInternal");
+ x.extend(jb.prototype, {
+ initialize: function (a) {
+ this.map = a;
+ x.lang.Da.call(this, this.ba);
+ return p
+ },
+ Hx: v("map"),
+ draw: t(),
+ Oj: t(),
+ remove: function () {
+ this.map = p;
+ x.lang.lx(this.ba);
+ id.prototype.remove.call(this)
+ },
+ U: function () {
+ this.Pa !== q && (this.Pa = q)
+ },
+ show: function () {
+ this.Pa !== o && (this.Pa = o)
+ },
+ oh: function () {
+ return !this.V ? q : !!this.Pa
+ },
+ Ha: v("V"),
+ kO: function (a) {
+ var a = a || {},
+ b;
+ for (b in a) this.z[b] = a[b]
+ },
+ iu: da("zIndex"),
+ qj: function () {
+ this.z.qj = o
+ },
+ FW: function () {
+ this.z.qj = q
+ },
+ Fo: da("ig"),
+ Op: function () {
+ this.ig = p
+ }
+ });
+
+ function jd() {
+ this.map = p;
+ this.wa = {};
+ this.Fe = []
+ }
+ B.Xe(function (a) {
+ var b = new jd;
+ b.map = a;
+ a.wa = b.wa;
+ a.Fe = b.Fe;
+ a.addEventListener("load", function (a) {
+ b.draw(a)
+ });
+ a.addEventListener("moveend", function (a) {
+ b.draw(a)
+ });
+ x.da.ma && 8 > x.da.ma || "BackCompat" === document.compatMode ? a.addEventListener("zoomend", function (a) {
+ setTimeout(function () {
+ b.draw(a)
+ }, 20)
+ }) : a.addEventListener("zoomend", function (a) {
+ b.draw(a)
+ });
+ a.addEventListener("maptypechange", function (a) {
+ b.draw(a)
+ });
+ a.addEventListener("addoverlay", function (a) {
+ a = a.target;
+ if (a instanceof jb) b.wa[a.ba] || (b.wa[a.ba] = a);
+ else {
+ for (var d = q, e = 0, f = b.Fe.length; e < f; e++)
+ if (b.Fe[e] === a) {
+ d = o;
+ break
+ }
+ d || b.Fe.push(a)
+ }
+ });
+ a.addEventListener("removeoverlay", function (a) {
+ a = a.target;
+ if (a instanceof jb) delete b.wa[a.ba];
+ else
+ for (var d = 0, e = b.Fe.length; d < e; d++)
+ if (b.Fe[d] === a) {
+ b.Fe.splice(d, 1);
+ break
+ }
+ });
+ a.addEventListener("clearoverlays", function () {
+ this.Wc();
+ for (var a in b.wa) b.wa[a].z.qj && (b.wa[a].remove(), delete b.wa[a]);
+ a = 0;
+ for (var d = b.Fe.length; a < d; a++) b.Fe[a].enableMassClear !== q && (b.Fe[a].remove(), b.Fe[a] = p, b.Fe.splice(a, 1), a--, d--)
+ });
+ a.addEventListener("infowindowopen", function () {
+ var a = this.Bb;
+ a && (x.K.U(a.zc), x.K.U(a.ac))
+ });
+ a.addEventListener("movestart", function () {
+ this.lh() && this.lh().rJ()
+ });
+ a.addEventListener("moveend", function () {
+ this.lh() && this.lh().hJ()
+ })
+ });
+ jd.prototype.draw = function (a) {
+ if (B.qq) {
+ var b = B.qq.bt(this.map);
+ "canvas" === b.Lb && b.canvas && b.YQ(b.canvas.getContext("2d"))
+ }
+ for (var c in this.wa) this.wa[c].draw(a);
+ x.jc.Fb(this.Fe, function (a) {
+ a.draw()
+ });
+ this.map.R.ob && this.map.R.ob.ta();
+ B.qq && b.NF()
+ };
+
+ function kd(a) {
+ jb.call(this);
+ a = a || {};
+ this.z = {
+ strokeColor: a.strokeColor || "#3a6bdb",
+ lc: a.strokeWeight || 5,
+ td: a.strokeOpacity || 0.65,
+ strokeStyle: a.strokeStyle || "solid",
+ qj: a.enableMassClear === q ? q : o,
+ Dk: p,
+ Fm: p,
+ mf: a.enableEditing === o ? o : q,
+ lN: 5,
+ t0: q,
+ jf: a.enableClicking === q ? q : o,
+ ti: a.icons && 0 < a.icons.length ? a.icons : p
+ };
+ 0 >= this.z.lc && (this.z.lc = 5);
+ if (0 > this.z.td || 1 < this.z.td) this.z.td = 0.65;
+ if (0 > this.z.sg || 1 < this.z.sg) this.z.sg = 0.65;
+ "solid" != this.z.strokeStyle && "dashed" != this.z.strokeStyle && (this.z.strokeStyle = "solid");
+ this.V = p;
+ this.Yu = new ib(0, 0);
+ this.gf = [];
+ this.mc = [];
+ this.Qa = {}
+ }
+ x.lang.ua(kd, jb, "Graph");
+ kd.Cx = function (a) {
+ var b = [];
+ if (!a) return b;
+ cb(a) && x.jc.Fb(a.split(";"), function (a) {
+ a = a.split(",");
+ b.push(new O(a[0], a[1]))
+ });
+ "[object Array]" == Object.prototype.toString.apply(a) && 0 < a.length && (b = a);
+ return b
+ };
+ kd.iF = [0.09, 0.0050, 1.0E-4, 1.0E-5];
+ x.extend(kd.prototype, {
+ initialize: function (a) {
+ this.map = a;
+ return p
+ },
+ draw: t(),
+ Wr: function (a) {
+ this.gf.length = 0;
+ this.ha = kd.Cx(a).slice(0);
+ this.Ih()
+ },
+ me: function (a) {
+ this.Wr(a)
+ },
+ Ih: function () {
+ if (this.ha) {
+ var a = this;
+ a.Yu = new ib;
+ x.jc.Fb(this.ha, function (b) {
+ a.Yu.extend(b)
+ })
+ }
+ },
+ ve: v("ha"),
+ vn: function (a, b) {
+ b && this.ha[a] && (this.gf.length = 0, this.ha[a] = new K(b.lng, b.lat), this.Ih())
+ },
+ setStrokeColor: function (a) {
+ this.z.strokeColor = a
+ },
+ bY: function () {
+ return this.z.strokeColor
+ },
+ bq: function (a) {
+ 0 < a && (this.z.lc = a)
+ },
+ YL: function () {
+ return this.z.lc
+ },
+ $p: function (a) {
+ a == j || (1 < a || 0 > a) || (this.z.td = a)
+ },
+ cY: function () {
+ return this.z.td
+ },
+ bu: function (a) {
+ 1 < a || 0 > a || (this.z.sg = a)
+ },
+ zX: function () {
+ return this.z.sg
+ },
+ aq: function (a) {
+ "solid" != a && "dashed" != a || (this.z.strokeStyle = a)
+ },
+ XL: function () {
+ return this.z.strokeStyle
+ },
+ setFillColor: function (a) {
+ this.z.fillColor = a || ""
+ },
+ yX: function () {
+ return this.z.fillColor
+ },
+ Kd: v("Yu"),
+ remove: function () {
+ this.map && this.map.removeEventListener("onmousemove", this.xv);
+ jb.prototype.remove.call(this);
+ this.gf.length = 0
+ },
+ mf: function () {
+ if (!(2 > this.ha.length)) {
+ this.z.mf = o;
+ var a = this;
+ L.load("poly", function () {
+ a.am()
+ }, o)
+ }
+ },
+ EW: function () {
+ this.z.mf = q;
+ var a = this;
+ L.load("poly", function () {
+ a.tk()
+ }, o)
+ },
+ vX: function () {
+ return this.z.mf
+ }
+ });
+
+ function ld(a) {
+ jb.call(this);
+ this.V = this.map = p;
+ this.z = {
+ width: 0,
+ height: 0,
+ Aa: new M(0, 0),
+ opacity: 1,
+ background: "transparent",
+ iy: 1,
+ QM: "#000",
+ XY: "solid",
+ point: p
+ };
+ this.kO(a);
+ this.point = this.z.point
+ }
+ x.lang.ua(ld, jb, "Division");
+ x.extend(ld.prototype, {
+ Oj: function () {
+ var a = this.z,
+ b = this.content,
+ c = ['');
+ c.push(b);
+ c.push("
");
+ this.V = Cb(this.map.Rf().ZE, c.join(""))
+ },
+ initialize: function (a) {
+ this.map = a;
+ this.Oj();
+ this.V && x.M(this.V, J() ? "touchstart" : "mousedown", function (a) {
+ na(a)
+ });
+ return this.V
+ },
+ draw: function () {
+ var a = this.map.We(this.z.point);
+ this.z.Aa = new M(-Math.round(this.z.width / 2) - Math.round(this.z.iy), -Math.round(this.z.height / 2) - Math.round(this.z.iy));
+ this.V.style.left = a.x + this.z.Aa.width + "px";
+ this.V.style.top = a.y + this.z.Aa.height + "px"
+ },
+ ia: function () {
+ return this.z.point
+ },
+ u1: function () {
+ return this.map.Cc(this.ia())
+ },
+ ta: function (a) {
+ this.z.point = a;
+ this.draw()
+ },
+ n_: function (a, b) {
+ this.z.width = Math.round(a);
+ this.z.height = Math.round(b);
+ this.V && (this.V.style.width = this.z.width + "px", this.V.style.height = this.z.height + "px", this.draw())
+ }
+ });
+
+ function md(a, b, c) {
+ a && b && (this.imageUrl = a, this.size = b, a = new M(Math.floor(b.width / 2), Math.floor(b.height / 2)), c = c || {}, a = c.anchor || a, b = c.imageOffset || new M(0, 0), this.imageSize = c.imageSize, this.anchor = a, this.imageOffset = b, this.infoWindowAnchor = c.infoWindowAnchor || this.anchor, this.printImageUrl = c.printImageUrl || "")
+ }
+ x.extend(md.prototype, {
+ lO: function (a) {
+ a && (this.imageUrl = a)
+ },
+ D_: function (a) {
+ a && (this.printImageUrl = a)
+ },
+ Ce: function (a) {
+ a && (this.size = new M(a.width, a.height))
+ },
+ qc: function (a) {
+ a && (this.anchor = new M(a.width, a.height))
+ },
+ cu: function (a) {
+ a && (this.imageOffset = new M(a.width, a.height))
+ },
+ t_: function (a) {
+ a && (this.infoWindowAnchor = new M(a.width, a.height))
+ },
+ q_: function (a) {
+ a && (this.imageSize = new M(a.width, a.height))
+ },
+ toString: ea("Icon")
+ });
+
+ function nd(a, b) {
+ if (a) {
+ b = b || {};
+ this.style = {
+ anchor: b.anchor || new M(0, 0),
+ fillColor: b.fillColor || "#000",
+ sg: b.fillOpacity || 0,
+ scale: b.scale || 1,
+ rotation: b.rotation || 0,
+ strokeColor: b.strokeColor || "#000",
+ td: b.strokeOpacity || 1,
+ lc: b.strokeWeight
+ };
+ this.Lb = "number" === typeof a ? a : "UserDefined";
+ this.Ni = this.style.anchor;
+ this.Cr = new M(0, 0);
+ this.anchor = p;
+ this.CB = a;
+ var c = this;
+ L.load("symbol", function () {
+ c.Sn()
+ }, o)
+ }
+ }
+ x.extend(nd.prototype, {
+ setPath: da("CB"),
+ setAnchor: function (a) {
+ this.Ni = this.style.anchor = a
+ },
+ setRotation: function (a) {
+ this.style.rotation = a
+ },
+ setScale: function (a) {
+ this.style.scale = a
+ },
+ setStrokeWeight: function (a) {
+ this.style.lc = a
+ },
+ setStrokeColor: function (a) {
+ a = x.rs.IC(a, this.style.td);
+ this.style.strokeColor = a
+ },
+ setStrokeOpacity: function (a) {
+ this.style.td = a
+ },
+ setFillOpacity: function (a) {
+ this.style.sg = a
+ },
+ setFillColor: function (a) {
+ this.style.fillColor = a
+ }
+ });
+
+ function od(a, b, c, d) {
+ a && (this.Rv = {}, this.vL = d ? !!d : q, this.jd = [], this.U_ = a instanceof nd ? a : p, this.aJ = b === j ? o : !!(b.indexOf("%") + 1), this.gk = isNaN(parseFloat(b)) ? 1 : this.aJ ? parseFloat(b) / 100 : parseFloat(b), this.bJ = !!(c.indexOf("%") + 1), this.repeat = c != j ? this.bJ ? parseFloat(c) / 100 : parseFloat(c) : 0)
+ };
+
+ function sd(a, b) {
+ x.lang.Da.call(this);
+ this.content = a;
+ this.map = p;
+ b = b || {};
+ this.z = {
+ width: b.width || 0,
+ height: b.height || 0,
+ maxWidth: b.maxWidth || 730,
+ Aa: b.offset || new M(0, 0),
+ title: b.title || "",
+ $E: b.maxContent || "",
+ fh: b.enableMaximize || q,
+ Rs: b.enableAutoPan === q ? q : o,
+ wD: b.enableCloseOnClick === q ? q : o,
+ margin: b.margin || [10, 10, 40, 10],
+ DC: b.collisions || [
+ [10, 10],
+ [10, 10],
+ [10, 10],
+ [10, 10]
+ ],
+ wY: q,
+ rZ: b.onClosing || ea(o),
+ mL: q,
+ BD: b.enableParano === o ? o : q,
+ message: b.message,
+ DD: b.enableSearchTool === o ? o : q,
+ Tx: b.headerContent || "",
+ xD: b.enableContentScroll || q
+ };
+ if (0 != this.z.width && (220 > this.z.width && (this.z.width = 220), 730 < this.z.width)) this.z.width = 730;
+ if (0 != this.z.height && (60 > this.z.height && (this.z.height = 60), 650 < this.z.height)) this.z.height = 650;
+ if (0 != this.z.maxWidth && (220 > this.z.maxWidth && (this.z.maxWidth = 220), 730 < this.z.maxWidth)) this.z.maxWidth = 730;
+ this.ge = q;
+ this.Ji = I.pa;
+ this.cb = p;
+ var c = this;
+ L.load("infowindow", function () {
+ c.Ab()
+ })
+ }
+ x.lang.ua(sd, x.lang.Da, "InfoWindow");
+ x.extend(sd.prototype, {
+ setWidth: function (a) {
+ !a && 0 != a || (isNaN(a) || 0 > a) || (0 != a && (220 > a && (a = 220), 730 < a && (a = 730)), this.z.width = a)
+ },
+ setHeight: function (a) {
+ !a && 0 != a || (isNaN(a) || 0 > a) || (0 != a && (60 > a && (a = 60), 650 < a && (a = 650)), this.z.height = a)
+ },
+ oO: function (a) {
+ !a && 0 != a || (isNaN(a) || 0 > a) || (0 != a && (220 > a && (a = 220), 730 < a && (a = 730)), this.z.maxWidth = a)
+ },
+ Dc: function (a) {
+ this.z.title = a
+ },
+ getTitle: function () {
+ return this.z.title
+ },
+ ad: da("content"),
+ Bk: v("content"),
+ eu: function (a) {
+ this.z.$E = a + ""
+ },
+ le: t(),
+ Rs: function () {
+ this.z.Rs = o
+ },
+ disableAutoPan: function () {
+ this.z.Rs = q
+ },
+ enableCloseOnClick: function () {
+ this.z.wD = o
+ },
+ disableCloseOnClick: function () {
+ this.z.wD = q
+ },
+ fh: function () {
+ this.z.fh = o
+ },
+ ox: function () {
+ this.z.fh = q
+ },
+ show: function () {
+ this.Pa = o
+ },
+ U: function () {
+ this.Pa = q
+ },
+ close: function () {
+ this.U()
+ },
+ ny: function () {
+ this.ge = o
+ },
+ restore: function () {
+ this.ge = q
+ },
+ oh: function () {
+ return this.Va()
+ },
+ Va: ea(q),
+ ia: function () {
+ if (this.cb && this.cb.ia) return this.cb.ia()
+ },
+ Qf: function () {
+ return this.z.Aa
+ }
+ });
+ Na.prototype.Mb = function (a, b) {
+ if (a instanceof sd && (b instanceof O || b instanceof K)) {
+ var c = this.R;
+ c.Wm ? c.Wm.ta(b) : (c.Wm = new W(b, {
+ icon: new md(I.pa + "blank.gif", {
+ width: 1,
+ height: 1
+ }),
+ offset: new M(0, 0),
+ clickable: q
+ }), c.Wm.$R = 1);
+ this.Ka(c.Wm);
+ c.Wm.Mb(a)
+ }
+ };
+ Na.prototype.Wc = function () {
+ var a = this.R.ob || this.R.ul;
+ a && a.cb && a.cb.Wc()
+ };
+ jb.prototype.Mb = function (a) {
+ this.map && (this.map.Wc(), a.Pa = o, this.map.R.ul = a, a.cb = this, x.lang.Da.call(a, a.ba))
+ };
+ jb.prototype.Wc = function () {
+ this.map && this.map.R.ul && (this.map.R.ul.Pa = q, x.lang.lx(this.map.R.ul.ba), this.map.R.ul = p)
+ };
+
+ function td(a, b) {
+ jb.call(this);
+ this.content = a;
+ this.V = this.map = p;
+ b = b || {};
+ this.z = {
+ width: 0,
+ Aa: b.offset || new M(0, 0),
+ fq: {
+ backgroundColor: "#fff",
+ border: "1px solid #f00",
+ padding: "1px",
+ whiteSpace: "nowrap",
+ font: "12px " + I.fontFamily,
+ zIndex: "80",
+ MozUserSelect: "none"
+ },
+ position: b.position || p,
+ qj: b.enableMassClear === q ? q : o,
+ jf: o
+ };
+ 0 > this.z.width && (this.z.width = 0);
+ Jb(b.enableClicking) && (this.z.jf = b.enableClicking);
+ this.point = this.z.position;
+ var c = this;
+ L.load("marker", function () {
+ c.Ab()
+ })
+ }
+ x.lang.ua(td, jb, "Label");
+ x.extend(td.prototype, {
+ ia: function () {
+ return this.Gv ? this.Gv.ia() : this.point
+ },
+ ta: function (a) {
+ if ((a instanceof O || a instanceof K) && !this.Ix()) this.point = this.z.position = new K(a.lng, a.lat)
+ },
+ ad: da("content"),
+ MF: function (a) {
+ 0 <= a && 1 >= a && (this.z.opacity = a)
+ },
+ Ye: function (a) {
+ a instanceof M && (this.z.Aa = new M(a.width, a.height))
+ },
+ Qf: function () {
+ return this.z.Aa
+ },
+ bd: function (a) {
+ a = a || {};
+ this.z.fq = x.extend(this.z.fq, a)
+ },
+ Di: function (a) {
+ return this.bd(a)
+ },
+ Dc: function (a) {
+ this.z.title = a || ""
+ },
+ getTitle: function () {
+ return this.z.title
+ },
+ nO: function (a) {
+ this.point = (this.Gv = a) ? this.z.position = a.ia() : this.z.position = p
+ },
+ Ix: function () {
+ return this.Gv || p
+ },
+ Bk: v("content")
+ });
+
+ function ud(a, b) {
+ if (0 !== arguments.length) {
+ jb.apply(this, arguments);
+ b = b || {};
+ this.z = {
+ $a: a,
+ opacity: b.opacity || 1,
+ vp: b.imageURL || "",
+ Hs: b.displayOnMinLevel || 1,
+ qj: b.enableMassClear === q ? q : o,
+ Gs: b.displayOnMaxLevel || 19,
+ O_: b.stretch || q
+ };
+ 0 === b.opacity && (this.z.opacity = 0);
+ var c = this;
+ L.load("groundoverlay", function () {
+ c.Ab()
+ })
+ }
+ }
+ x.lang.ua(ud, jb, "GroundOverlay");
+ x.extend(ud.prototype, {
+ setBounds: function (a) {
+ this.z.$a = a
+ },
+ getBounds: function () {
+ return this.z.$a
+ },
+ setOpacity: function (a) {
+ this.z.opacity = a
+ },
+ getOpacity: function () {
+ return this.z.opacity
+ },
+ setImageURL: function (a) {
+ this.z.vp = a
+ },
+ getImageURL: function () {
+ return this.z.vp
+ },
+ setDisplayOnMinLevel: function (a) {
+ this.z.Hs = a
+ },
+ getDisplayOnMinLevel: function () {
+ return this.z.Hs
+ },
+ setDisplayOnMaxLevel: function (a) {
+ this.z.Gs = a
+ },
+ getDisplayOnMaxLevel: function () {
+ return this.z.Gs
+ }
+ });
+ var vd = 3,
+ wd = 4;
+
+ function xd() {
+ var a = document.createElement("canvas");
+ return !(!a.getContext || !a.getContext("2d"))
+ }
+
+ function yd(a, b) {
+ var c = this;
+ xd() && (a === j && aa(Error("\u6ca1\u6709\u4f20\u5165points\u6570\u636e")), "[object Array]" !== Object.prototype.toString.call(a) && aa(Error("points\u6570\u636e\u4e0d\u662f\u6570\u7ec4")), b = b || {}, jb.apply(c, arguments), c.ea = {
+ ha: a
+ }, c.z = {
+ shape: b.shape || vd,
+ size: b.size || wd,
+ color: b.color || "#fa937e",
+ qj: o
+ }, this.zB = [], this.qe = [], L.load("pointcollection", function () {
+ for (var a = 0, b; b = c.zB[a]; a++) c[b.method].apply(c, b.arguments);
+ for (a = 0; b = c.qe[a]; a++) c[b.method].apply(c, b.arguments)
+ }))
+ }
+ x.lang.ua(yd, jb, "PointCollection");
+ x.extend(yd.prototype, {
+ initialize: function (a) {
+ this.zB && this.zB.push({
+ method: "initialize",
+ arguments: arguments
+ })
+ },
+ setPoints: function (a) {
+ this.qe && this.qe.push({
+ method: "setPoints",
+ arguments: arguments
+ })
+ },
+ setStyles: function (a) {
+ this.qe && this.qe.push({
+ method: "setStyles",
+ arguments: arguments
+ })
+ },
+ clear: function () {
+ this.qe && this.qe.push({
+ method: "clear",
+ arguments: arguments
+ })
+ },
+ remove: function () {
+ this.qe && this.qe.push({
+ method: "remove",
+ arguments: arguments
+ })
+ }
+ });
+ var zd = new md(I.pa + "marker_red_sprite.png", new M(19, 25), {
+ anchor: new M(10, 25),
+ infoWindowAnchor: new M(10, 0)
+ }),
+ Ad = new md(I.pa + "marker_red_sprite.png", new M(20, 11), {
+ anchor: new M(6, 11),
+ imageOffset: new M(-19, -13)
+ });
+
+ function W(a, b) {
+ jb.call(this);
+ b = b || {};
+ this.point = a;
+ this.Gq = this.map = p;
+ this.z = {
+ Aa: b.offset || new M(0, 0),
+ yj: b.icon || zd,
+ Uk: Ad,
+ title: b.title || "",
+ label: p,
+ qK: b.baseZIndex || 0,
+ jf: o,
+ q5: q,
+ ME: q,
+ qj: b.enableMassClear === q ? q : o,
+ Gb: q,
+ VN: b.raiseOnDrag === o ? o : q,
+ bO: q,
+ Id: b.draggingCursor || I.Id,
+ rotation: b.rotation || 0
+ };
+ b.icon && !b.shadow && (this.z.Uk = p);
+ b.enableDragging && (this.z.Gb = b.enableDragging);
+ Jb(b.enableClicking) && (this.z.jf = b.enableClicking);
+ var c = this;
+ L.load("marker", function () {
+ c.Ab()
+ })
+ }
+ W.Tu = id.Mm(-90) + 1E6;
+ W.FG = W.Tu + 1E6;
+ x.lang.ua(W, jb, "Marker");
+ x.extend(W.prototype, {
+ Vb: function (a) {
+ if (a instanceof md || a instanceof nd) this.z.yj = a
+ },
+ gp: function () {
+ return this.z.yj
+ },
+ Vy: function (a) {
+ a instanceof md && (this.z.Uk = a)
+ },
+ getShadow: function () {
+ return this.z.Uk
+ },
+ qn: function (a) {
+ this.z.label = a || p
+ },
+ dE: function () {
+ return this.z.label
+ },
+ Gb: function () {
+ this.z.Gb = o
+ },
+ aD: function () {
+ this.z.Gb = q
+ },
+ eo: v("point"),
+ ia: function () {
+ return this.point instanceof O || this.point instanceof K ? this.map ? gb(this.point, this.map) : new O(this.point.lng, this.point.lat) : this.point
+ },
+ ta: function (a) {
+ this.point = this.map ? $a(a, this.map) : a
+ },
+ Ei: function (a, b) {
+ this.z.ME = !!a;
+ a && (this.aH = b || 0)
+ },
+ Dc: function (a) {
+ this.z.title = a + ""
+ },
+ getTitle: function () {
+ return this.z.title
+ },
+ Ye: function (a) {
+ a instanceof M && (this.z.Aa = a)
+ },
+ Qf: function () {
+ return this.z.Aa
+ },
+ nn: da("Gq"),
+ Ty: function (a) {
+ this.z.rotation = a
+ },
+ VL: function () {
+ return this.z.rotation
+ }
+ });
+
+ function Bd(a, b) {
+ kd.call(this, b);
+ b = b || {};
+ this.z.sg = b.fillOpacity ? b.fillOpacity : 0.65;
+ this.z.fillColor = "" == b.fillColor ? "" : b.fillColor ? b.fillColor : "#fff";
+ this.me(a);
+ var c = this;
+ L.load("poly", function () {
+ c.Ab()
+ })
+ }
+ x.lang.ua(Bd, kd, "Polygon");
+ x.extend(Bd.prototype, {
+ me: function (a, b) {
+ this.Bo = kd.Cx(a).slice(0);
+ var c = kd.Cx(a).slice(0);
+ 1 < c.length && c.push(new O(c[0].lng, c[0].lat));
+ kd.prototype.me.call(this, c, b)
+ },
+ vn: function (a, b) {
+ this.Bo[a] && (this.Bo[a] = new O(b.lng, b.lat), this.ha[a] = new O(b.lng, b.lat), 0 == a && !this.ha[0].ab(this.ha[this.ha.length - 1]) && (this.ha[this.ha.length - 1] = new O(b.lng, b.lat)), this.Ih())
+ },
+ ve: function () {
+ var a = this.Bo;
+ 0 == a.length && (a = this.ha);
+ return a
+ }
+ });
+
+ function Cd(a, b) {
+ kd.call(this, b);
+ this.Wr(a);
+ var c = this;
+ L.load("poly", function () {
+ c.Ab()
+ })
+ }
+ x.lang.ua(Cd, kd, "Polyline");
+
+ function Dd(a, b, c) {
+ this.point = a;
+ this.xa = Math.abs(b);
+ Bd.call(this, [], c)
+ }
+ Dd.iF = [0.01, 1.0E-4, 1.0E-5, 4.0E-6];
+ x.lang.ua(Dd, Bd, "Circle");
+ x.extend(Dd.prototype, {
+ initialize: function (a) {
+ this.map = a;
+ this.ha = this.tv(this.point, this.xa);
+ this.Ih();
+ return p
+ },
+ pc: function () {
+ return gb(this.point, this.map)
+ },
+ wc: v("point"),
+ Xf: function (a) {
+ a && (this.point = a)
+ },
+ TL: v("xa"),
+ wf: function (a) {
+ this.xa = Math.abs(a)
+ },
+ tv: function (a, b) {
+ if (!a || !b || !this.map) return [];
+ for (var c = [], d = b / 6378800, e = Math.PI / 180 * a.lat, f = Math.PI / 180 * a.lng, g = 0; 360 > g; g += 9) {
+ var i = Math.PI / 180 * g,
+ k = Math.asin(Math.sin(e) * Math.cos(d) + Math.cos(e) * Math.sin(d) * Math.cos(i)),
+ i = new O(((f - Math.atan2(Math.sin(i) * Math.sin(d) * Math.cos(e), Math.cos(d) - Math.sin(e) * Math.sin(k)) + Math.PI) % (2 * Math.PI) - Math.PI) * (180 / Math.PI), k * (180 / Math.PI));
+ c.push(i)
+ }
+ d = c[0];
+ c.push(new O(d.lng, d.lat));
+ return c
+ }
+ });
+ var Ed = {};
+
+ function Fd(a) {
+ this.map = a;
+ this.Vm = [];
+ this.Yf = [];
+ this.Hg = [];
+ this.IV = 300;
+ this.sF = 0;
+ this.xg = {};
+ this.hj = {};
+ this.uh = 0;
+ this.FE = o;
+ this.RK = {};
+ this.mo = this.Vn(1);
+ this.nd = this.Vn(2);
+ this.Fl = this.Vn(3);
+ a.platform.appendChild(this.mo);
+ a.platform.appendChild(this.nd);
+ a.platform.appendChild(this.Fl);
+ var b = 256 * Math.pow(2, 15),
+ c = 3 * b,
+ a = T.tb(new K(180, 0)).lng,
+ c = c - a,
+ b = -3 * b,
+ d = T.tb(new K(-180, 0)).lng;
+ this.hB = a;
+ this.EI = d;
+ this.eB = c + (d - b);
+ this.FI = a - d
+ }
+ B.Xe(function (a) {
+ var b = new Fd(a);
+ b.ra();
+ a.fb = b
+ });
+ x.extend(Fd.prototype, {
+ ra: function () {
+ var a = this,
+ b = a.map;
+ b.addEventListener("loadcode", function () {
+ a.ky()
+ });
+ b.addEventListener("addtilelayer", function (b) {
+ a.$g(b)
+ });
+ b.addEventListener("removetilelayer", function (b) {
+ a.Ah(b)
+ });
+ b.addEventListener("setmaptype", function (b) {
+ a.Fg(b)
+ });
+ b.addEventListener("zoomstartcode", function (b) {
+ a.Kc(b)
+ });
+ b.addEventListener("setcustomstyles", function (b) {
+ a.du(b.target);
+ a.Vf(o)
+ })
+ },
+ ky: function () {
+ var a = this;
+ if (x.da.ma) try {
+ document.execCommand("BackgroundImageCache", q, o)
+ } catch (b) { }
+ this.loaded || a.Zx();
+ a.Vf();
+ this.loaded || (this.loaded = o, L.load("tile", function () {
+ a.tQ()
+ }))
+ },
+ Zx: function () {
+ for (var a = this.map.oa().xr, b = 0; b < a.length; b++) {
+ var c = new Gd;
+ x.extend(c, a[b]);
+ this.Vm.push(c);
+ c.ra(this.map, this.mo)
+ }
+ this.du()
+ },
+ Vn: function (a) {
+ var b = H("div");
+ b.style.position = "absolute";
+ b.style.overflow = "visible";
+ b.style.left = b.style.top = "0";
+ b.style.zIndex = a;
+ return b
+ },
+ zf: function () {
+ this.uh--;
+ var a = this;
+ this.FE && (this.map.dispatchEvent(new N("onfirsttileloaded")), this.FE = q);
+ 0 == this.uh && (this.Ri && (clearTimeout(this.Ri), this.Ri = p), this.Ri = setTimeout(function () {
+ if (a.uh == 0) {
+ a.map.dispatchEvent(new N("ontilesloaded"));
+ a.FE = o
+ }
+ a.Ri = p
+ }, 80))
+ },
+ oE: function (a, b) {
+ return "TILE-" + b.ba + "-" + a[0] + "-" + a[1] + "-" + a[2]
+ },
+ Wx: function (a) {
+ var b = a.Hb;
+ b && Bb(b) && b.parentNode.removeChild(b);
+ delete this.xg[a.name];
+ a.loaded || (Hd(a), a.Hb = p, a.Cj = p)
+ },
+ Lm: function (a, b, c) {
+ var d = this.map,
+ e = d.oa(),
+ f = d.Na,
+ g = d.dc,
+ i = e.yc(f),
+ k = this.IL(),
+ l = k[0],
+ m = k[1],
+ n = k[2],
+ s = k[3],
+ u = k[4],
+ c = "undefined" != typeof c ? c : 0,
+ e = e.k.Ob,
+ k = d.ba.replace(/^TANGRAM_/, "");
+ for (this.Rc ? this.Rc.length = 0 : this.Rc = []; l < n; l++)
+ for (var w = m; w < s; w++) {
+ var y = l,
+ D = w;
+ this.Rc.push([y, D]);
+ y = k + "_" + b + "_" + y + "_" + D + "_" + f;
+ this.RK[y] = y
+ }
+ this.Rc.sort(function (a) {
+ return function (b, c) {
+ return 0.4 * Math.abs(b[0] - a[0]) + 0.6 * Math.abs(b[1] - a[1]) - (0.4 * Math.abs(c[0] - a[0]) + 0.6 * Math.abs(c[1] - a[1]))
+ }
+ }([u[0] - 1, u[1] - 1]));
+ g = [Math.round(-g.lng / i), Math.round(g.lat / i)];
+ l = -d.offsetY + d.height / 2;
+ a.style.left = -d.offsetX + d.width / 2 + "px";
+ a.style.top = l + "px";
+ this.Oe ? this.Oe.length = 0 : this.Oe = [];
+ l = 0;
+ for (d = a.childNodes.length; l < d; l++) w = a.childNodes[l], w.tr = q, this.Oe.push(w);
+ if (l = this.$m)
+ for (var C in l) delete l[C];
+ else this.$m = {};
+ this.Pe ? this.Pe.length = 0 : this.Pe = [];
+ l = 0;
+ for (d = this.Rc.length; l < d; l++) {
+ C = this.Rc[l][0];
+ i = this.Rc[l][1];
+ w = 0;
+ for (m = this.Oe.length; w < m; w++)
+ if (n = this.Oe[w], n.id == k + "_" + b + "_" + C + "_" + i + "_" + f) {
+ n.tr = o;
+ this.$m[n.id] = n;
+ break
+ }
+ }
+ l = 0;
+ for (d = this.Oe.length; l < d; l++) n = this.Oe[l], n.tr || this.Pe.push(n);
+ this.An = [];
+ w = (e + c) * this.map.B.devicePixelRatio;
+ l = 0;
+ for (d = this.Rc.length; l < d; l++) C = this.Rc[l][0], i = this.Rc[l][1], s = C * e + g[0] - c / 2, u = (-1 - i) * e + g[1] - c / 2, y = k + "_" + b + "_" + C + "_" + i + "_" + f, m = this.$m[y], n = p, m ? (n = m.style, n.left = s + "px", n.top = u + "px", m.af || this.An.push([C, i, m])) : (0 < this.Pe.length ? (m = this.Pe.shift(), m.getContext("2d").clearRect(-c / 2, -c / 2, w, w), n = m.style) : (m = document.createElement("canvas"), n = m.style, n.position = "absolute", n.width = e + c + "px", n.height = e + c + "px", this.ey() && (n.WebkitTransform = "scale(1.001)"), m.setAttribute("width", w), m.setAttribute("height", w), a.appendChild(m)), m.id = y, n.left = s + "px", n.top = u + "px", -1 < y.indexOf("bg") && (s = "#F3F1EC", this.map.B.Ko && (s = this.map.B.Ko), n.background = s ? s : ""), this.An.push([C, i, m])), m.style.visibility = "";
+ l = 0;
+ for (d = this.Pe.length; l < d; l++) this.Pe[l].style.visibility = "hidden";
+ return this.An
+ },
+ ey: function () {
+ return /M040/i.test(navigator.userAgent)
+ },
+ IL: function () {
+ var a = this.map,
+ b = a.oa(),
+ c = b.tE(a.Na),
+ d = a.dc,
+ e = Math.ceil(d.lng / c),
+ f = Math.ceil(d.lat / c),
+ b = b.k.Ob,
+ c = [e, f, (d.lng - e * c) / c * b, (d.lat - f * c) / c * b];
+ return [c[0] - Math.ceil((a.width / 2 - c[2]) / b), c[1] - Math.ceil((a.height / 2 - c[3]) / b), c[0] + Math.ceil((a.width / 2 + c[2]) / b), c[1] + Math.ceil((a.height / 2 + c[3]) / b), c]
+ },
+ J_: function (a, b, c, d) {
+ var e = this;
+ e.e2 = b;
+ var f = this.map.oa(),
+ g = e.oE(a, c),
+ i = f.k.Ob,
+ b = [a[0] * i + b[0], (-1 - a[1]) * i + b[1]],
+ k = this.xg[g];
+ if (this.map.oa() !== bb && this.map.oa() !== Ua) {
+ var l = this.os(a[0], a[2]).offsetX;
+ b[0] += l;
+ b.y1 = l
+ }
+ k && k.Hb ? (zb(k.Hb, b), d && (d = new S(a[0], a[1]), f = this.map.B.ze ? this.map.B.ze.style : "normal", d = c.getTilesUrl(d, a[2], f), k.loaded = q, Id(k, d)), k.loaded ? this.zf() : Jd(k, function () {
+ e.zf()
+ })) : (k = this.hj[g]) && k.Hb ? (c.Pb.insertBefore(k.Hb, c.Pb.lastChild), this.xg[g] = k, zb(k.Hb, b), d && (d = new S(a[0], a[1]), f = this.map.B.ze ? this.map.B.ze.style : "normal", d = c.getTilesUrl(d, a[2], f), k.loaded = q, Id(k, d)), k.loaded ? this.zf() : Jd(k, function () {
+ e.zf()
+ })) : (k = i * Math.pow(2, f.Dm() - a[2]), new K(a[0] * k, a[1] * k), d = new S(a[0], a[1]), f = this.map.B.ze ? this.map.B.ze.style : "normal", d = c.getTilesUrl(d, a[2], f), k = new Kd(this, d, b, a, c), Jd(k, function () {
+ e.zf()
+ }), k.lo(), this.xg[g] = k)
+ },
+ zf: function () {
+ this.uh--;
+ var a = this;
+ 0 == this.uh && (this.Ri && (clearTimeout(this.Ri), this.Ri = p), this.Ri = setTimeout(function () {
+ if (a.uh == 0) {
+ a.map.dispatchEvent(new N("ontilesloaded"));
+ if (wa) {
+ if (ta && ua && va) {
+ var b = db(),
+ c = a.map.vb();
+ setTimeout(function () {
+ Ta(5030, {
+ load_script_time: ua - ta,
+ load_tiles_time: b - va,
+ map_width: c.width,
+ map_height: c.height,
+ map_size: c.width * c.height
+ })
+ }, 1E4);
+ B.Ln("cus.fire", "time", {
+ z_imgfirstloaded: b - va
+ })
+ }
+ wa = q
+ }
+ }
+ a.Ri = p
+ }, 80))
+ },
+ oE: function (a, b) {
+ return this.map.oa() === Ra ? "TILE-" + b.ba + "-" + this.map.Uw + "-" + a[0] + "-" + a[1] + "-" + a[2] : "TILE-" + b.ba + "-" + a[0] + "-" + a[1] + "-" + a[2]
+ },
+ Wx: function (a) {
+ var b = a.Hb;
+ b && (Ld(b), Bb(b) && b.parentNode.removeChild(b));
+ delete this.xg[a.name];
+ a.loaded || (Ld(b), Hd(a), a.Hb = p, a.Cj = p)
+ },
+ os: function (a, b) {
+ for (var c = 0, d = 6 * Math.pow(2, b - 3), e = d / 2 - 1, f = -d / 2; a > e;) a -= d, c -= this.eB;
+ for (; a < f;) a += d, c += this.eB;
+ c = Math.round(c / Math.pow(2, 18 - b));
+ return {
+ offsetX: c,
+ nm: a
+ }
+ },
+ KV: function (a) {
+ for (var b = a.lng; b > this.hB;) b -= this.FI;
+ for (; b < this.EI;) b += this.FI;
+ a.lng = b;
+ return a
+ },
+ LV: function (a, b) {
+ for (var c = 256 * Math.pow(2, 18 - b), d = Math.floor(this.hB / c), e = Math.floor(this.EI / c), c = Math.floor(this.eB / c), f = [], g = 0; g < a.length; g++) {
+ var i = a[g],
+ k = i[0],
+ i = i[1];
+ if (k >= d) {
+ var k = k + c,
+ l = "id_" + k + "_" + i + "_" + b;
+ a[l] || (a[l] = o, f.push([k, i]))
+ } else k <= e && (k -= c, l = "id_" + k + "_" + i + "_" + b, a[l] || (a[l] = o, f.push([k, i])))
+ }
+ for (g = 0; g < f.length; g++) a.push(f[g]);
+ return a
+ },
+ Vf: function (a) {
+ var b = this;
+ if (b.map.oa() == Ra) L.load("coordtrans", function () {
+ b.map.Sb || (b.map.Sb = Ra.Ak(b.map.bh), b.map.Uw = Ra.GL(b.map.Sb));
+ b.HI()
+ }, o);
+ else {
+ if (a && a)
+ for (var c in this.hj) delete this.hj[c];
+ b.HI(a)
+ }
+ },
+ HI: function (a) {
+ var b = this.Vm.concat(this.Yf),
+ c = b.length,
+ d = this.map,
+ e = d.oa(),
+ f = d.dc;
+ this.map.oa() !== bb && this.map.oa() !== Ua && (f = this.KV(f));
+ for (var g = 0; g < c; g++) {
+ var i = b[g];
+ if (i.fc && d.Na < i.fc) break;
+ if (i.Mw) {
+ var k = this.Pb = i.Pb;
+ if (a) {
+ var l = k;
+ if (l && l.childNodes)
+ for (var m = l.childNodes.length, n = m - 1; 0 <= n; n--) m = l.childNodes[n], l.removeChild(m), m = p
+ }
+ if (this.map.Wb()) {
+ this.nd.style.display = "block";
+ k.style.display = "none";
+ this.map.dispatchEvent(new N("vectorchanged"), {
+ isvector: o
+ });
+ continue
+ } else k.style.display = "block", this.nd.style.display = "none", this.map.dispatchEvent(new N("vectorchanged"), {
+ isvector: q
+ })
+ }
+ if (!i.uI && !(i.Ap && !this.map.Wb() || i.EM && this.map.Wb())) {
+ d = this.map;
+ e = d.oa();
+ k = e.Hm();
+ m = d.Na;
+ f = d.dc;
+ e == Ra && f.ab(new K(0, 0)) && (f = d.dc = k.Jk(d.re, d.Sb));
+ var s = e.yc(m),
+ k = e.tE(m),
+ l = Math.ceil(f.lng / k),
+ u = Math.ceil(f.lat / k),
+ w = e.k.Ob,
+ k = [l, u, (f.lng - l * k) / k * w, (f.lat - u * k) / k * w],
+ u = 2 * d.width,
+ n = k[0] - Math.ceil((u / 2 - k[2]) / w),
+ l = k[1] - Math.ceil((d.height / 2 - k[3]) / w),
+ u = k[0] + Math.ceil((u / 2 + k[2]) / w),
+ y = 0;
+ e === Ra && 15 == d.ga() && (y = 1);
+ e = k[1] + Math.ceil((d.height / 2 + k[3]) / w) + y;
+ this.lK = new K(f.lng, f.lat);
+ var D = this.xg,
+ w = -this.lK.lng / s,
+ y = this.lK.lat / s,
+ s = [Math.ceil(w), Math.ceil(y)],
+ f = d.ga(),
+ C;
+ for (C in D) {
+ var F = D[C],
+ z = F.info;
+ (z[2] != f || z[2] == f && (n > z[0] || u <= z[0] || l > z[1] || e <= z[1])) && this.Wx(F)
+ }
+ D = -d.offsetX + d.width / 2;
+ F = -d.offsetY + d.height / 2;
+ i.Pb && (i.Pb.style.left = Math.ceil(w + D) - s[0] + "px", i.Pb.style.top = Math.ceil(y + F) - s[1] + "px", i.Pb.style.WebkitTransform = "translate3d(0,0,0)");
+ w = [];
+ for (d.cC = []; n < u; n++)
+ for (y = l; y < e; y++) w.push([n, y]), d.cC.push({
+ x: n,
+ y: y
+ });
+ this.map.oa() !== bb && this.map.oa() !== Ua && (w = this.LV(w, m));
+ w.sort(function (a) {
+ return function (b, c) {
+ return 0.4 * Math.abs(b[0] - a[0]) + 0.6 * Math.abs(b[1] - a[1]) - (0.4 * Math.abs(c[0] - a[0]) + 0.6 * Math.abs(c[1] - a[1]))
+ }
+ }([k[0] - 1, k[1] - 1]));
+ k = Math.ceil(this.hB / (256 * Math.pow(2, 18 - f)));
+ m = w.length;
+ this.uh += m;
+ for (n = 0; n < m; n++) {
+ if (i.xO === o && (l = this.os(w[n][0], f), l.nm > k - 1 || l.nm < -k)) continue;
+ this.J_([w[n][0], w[n][1], f], s, i, a)
+ }
+ }
+ }
+ },
+ $g: function (a) {
+ var b = this,
+ c = a.target,
+ a = b.map.Wb();
+ if (c instanceof fb) a && !c.Rm && (c.ra(this.map, this.nd), c.Rm = o);
+ else if (c.Gh && this.map.$g(c.Gh), c.Ap) {
+ for (a = 0; a < b.Hg.length; a++)
+ if (b.Hg[a] == c) return;
+ L.load("vector", function () {
+ c.ra(b.map, b.nd);
+ b.Hg.push(c)
+ }, o)
+ } else {
+ for (a = 0; a < b.Yf.length; a++)
+ if (b.Yf[a] == c) return;
+ c.ra(this.map, this.Fl);
+ b.Yf.push(c)
+ }
+ },
+ Ah: function (a) {
+ var a = a.target,
+ b = this.map.Wb();
+ if (a instanceof fb) b && a.Rm && (a.remove(), a.Rm = q);
+ else {
+ a.Gh && this.map.Ah(a.Gh);
+ if (a.Ap)
+ for (var b = 0, c = this.Hg.length; b < c; b++) a == this.Hg[b] && this.Hg.splice(b, 1);
+ else {
+ b = 0;
+ for (c = this.Yf.length; b < c; b++) a == this.Yf[b] && this.Yf.splice(b, 1)
+ }
+ a.remove()
+ }
+ },
+ Fg: function () {
+ for (var a = this.Vm, b = 0, c = a.length; b < c; b++) a[b].remove();
+ delete this.Pb;
+ this.Vm = [];
+ this.hj = this.xg = {};
+ this.Zx();
+ this.Vf()
+ },
+ Kc: function () {
+ var a = this;
+ a.vd && x.K.U(a.vd);
+ setTimeout(function () {
+ a.Vf();
+ a.map.dispatchEvent(new N("onzoomend"))
+ }, 10)
+ },
+ g5: t(),
+ du: function (a) {
+ var b = this.map.oa();
+ if (!this.map.Wb() && (a ? this.map.B.R_ = a : a = this.map.B.R_, a))
+ for (var c = p, c = "2" == B.kz ? [B.url.proto + B.url.domain.main_domain_cdn.other[0] + "/"] : [B.url.proto + B.url.domain.main_domain_cdn.baidu[0] + "/", B.url.proto + B.url.domain.main_domain_cdn.baidu[1] + "/", B.url.proto + B.url.domain.main_domain_cdn.baidu[2] + "/"], d = 0, e; e = this.Vm[d]; d++)
+ if (e.xO == o) {
+ b.k.Zb = 18;
+ e.getTilesUrl = function (b, d) {
+ var e = b.x,
+ e = this.map.fb.os(e, d).nm,
+ k = b.y,
+ l = Vb("normal"),
+ m = 1;
+ this.map.Xx() && (m = 2);
+ l = "customimage/tile?qt=customimage&x=" + e + "&y=" + k + "&z=" + d + "&udt=" + l + "&scale=" + m + "&ak=" + qa;
+ l = a.styleStr ? l + ("&styles=" + encodeURIComponent(a.styleStr)) : l + ("&customid=" + a.style);
+ // l = c[Math.abs(e + k) % c.length] + l; // yangjianfei 注释
+ // return l = Fc(l) // yangjianfei 注释
+ return `./plugin/offline/map/${d}/${e}/${k}.jpg`;
+ };
+ break
+ }
+ }
+ });
+
+ function Kd(a, b, c, d, e) {
+ this.Cj = a;
+ this.position = c;
+ this.ev = [];
+ this.name = a.oE(d, e);
+ this.info = d;
+ this.NO = e;
+ this.KJ = e.Gt();
+ a = H("img");
+ Ab(a);
+ a.zL = q;
+ this.bd(a);
+ this.Hb = a;
+ this.src = b;
+ Md && (this.Hb.style.opacity = 0);
+ var f = this;
+ document.createElement("canvas").getContext("2d");
+ this.Hb.onload = function () {
+ B.ZY.fR();
+ Nd(f)
+ };
+ this.Hb.onerror = function () {
+ Hd(f);
+ if (f.Cj) {
+ var a = f.Cj.map.oa();
+ if (a.k.ED) {
+ f.error = o;
+ f.Hb.src = a.k.ED;
+ f.Hb && !Bb(f.Hb) && e.Pb.appendChild(f.Hb)
+ }
+ }
+ };
+ a = p
+ }
+
+ function Nd(a) {
+ a.loaded = o;
+ if (a.Cj) {
+ var b = a.Cj,
+ c = b.hj;
+ c[a.name] || (b.sF++, c[a.name] = a);
+ a.Hb && !Bb(a.Hb) && a.NO.Pb && (a.NO.Pb.appendChild(a.Hb), 6 >= x.da.ma && (0 < x.da.ma && a.KJ) && (a.Hb.style.cssText += ';filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + a.src + '",sizingMethod=scale);'));
+ var d = b.sF - b.IV,
+ e;
+ for (e in c) {
+ if (0 >= d) break;
+ if (!b.xg[e]) {
+ c[e].Cj = p;
+ var f = c[e].Hb;
+ f && f.parentNode && (f.parentNode.removeChild(f), Ld(f));
+ f = p;
+ c[e].Hb = p;
+ delete c[e];
+ b.sF--;
+ d--
+ }
+ }
+ Md && new vb({
+ Hc: 20,
+ duration: 200,
+ va: function (b) {
+ if (a.Hb && a.Hb.style) a.Hb.style.opacity = b * 1
+ },
+ finish: function () {
+ a.Hb && a.Hb.style && delete a.Hb.style.opacity
+ }
+ });
+ Hd(a)
+ }
+ }
+ Kd.prototype.bd = function (a) {
+ a = a.style;
+ if (this.Cj) {
+ var b = this.Cj.map.oa();
+ a.position = "absolute";
+ a.border = "none";
+ a.width = b.k.Ob + "px";
+ a.height = b.k.Ob + "px";
+ a.left = this.position[0] + "px";
+ a.top = this.position[1] + "px";
+ a.maxWidth = "none"
+ }
+ };
+
+ function Jd(a, b) {
+ a.ev.push(b)
+ }
+ Kd.prototype.lo = function () {
+ this.Hb.src = 0 < x.da.ma && 6 >= x.da.ma && this.KJ ? I.pa + "blank.gif" : "" !== this.src && this.Hb.src == this.src ? this.src + "&t = " + Date.now() : this.src
+ };
+
+ function Hd(a) {
+ for (var b = 0; b < a.ev.length; b++) a.ev[b]();
+ a.ev.length = 0
+ }
+
+ function Ld(a) {
+ if (a) {
+ a.onload = a.onerror = p;
+ var b = a.attributes,
+ c, d, e;
+ if (b) {
+ d = b.length;
+ for (c = 0; c < d; c += 1) e = b[c].name, "unknown" !== typeof a[e] && ab(a[e]) && (a[e] = p)
+ }
+ if (b = a.children) {
+ d = b.length;
+ for (c = 0; c < d; c += 1) Ld(a.children[c])
+ }
+ }
+ }
+
+ function Id(a, b) {
+ a.src = b;
+ a.lo()
+ }
+ var Md = !x.da.ma || 8 < x.da.ma;
+
+ function Gd(a) {
+ this.vh = a || {};
+ this.eW = this.vh.copyright || p;
+ this.p0 = this.vh.transparentPng || q;
+ this.Mw = this.vh.baseLayer || q;
+ this.zIndex = this.vh.zIndex || 0;
+ this.ba = Gd.TS++
+ }
+ Gd.TS = 0;
+ x.lang.ua(Gd, x.lang.Da, "TileLayer");
+ x.extend(Gd.prototype, {
+ ra: function (a, b) {
+ this.Mw && (this.zIndex = -100);
+ this.map = a;
+ if (!this.Pb) {
+ var c = H("div"),
+ d = c.style;
+ d.position = "absolute";
+ d.overflow = "visible";
+ d.zIndex = this.zIndex;
+ d.left = Math.ceil(-a.offsetX + a.width / 2) + "px";
+ d.top = Math.ceil(-a.offsetY + a.height / 2) + "px";
+ b.appendChild(c);
+ this.Pb = c
+ }
+ },
+ remove: function () {
+ this.Pb && this.Pb.parentNode && (this.Pb.innerHTML = "", this.Pb.parentNode.removeChild(this.Pb));
+ delete this.Pb
+ },
+ Gt: v("p0"),
+ getTilesUrl: function (a, b) {
+ if (this.map.oa() !== bb && this.map.oa() !== Ua) var c = this.map.fb.os(a.x, b).nm;
+ var d = "";
+ this.vh.tileUrlTemplate && (d = this.vh.tileUrlTemplate.replace(/\{X\}/, c), d = d.replace(/\{Y\}/, a.y), d = d.replace(/\{Z\}/, b));
+ return d
+ },
+ Am: v("eW"),
+ oa: function () {
+ return this.xb || Oa
+ }
+ });
+
+ function Od(a, b) {
+ Kb(a) ? b = a || {} : (b = b || {}, b.databoxId = a);
+ this.k = {
+ SK: b.databoxId,
+ hh: b.geotableId,
+ hn: b.q || "",
+ hz: b.tags || "",
+ filter: b.filter || "",
+ bz: b.sortby || "",
+ P_: b.styleId || "",
+ bm: b.ak || qa,
+ Iw: b.age || 36E5,
+ zIndex: 11,
+ VY: "VectorCloudLayer",
+ Ik: b.hotspotName || "vector_md_" + (1E5 * Math.random()).toFixed(0),
+ qV: "LBS\u4e91\u9ebb\u70b9\u5c42"
+ };
+ this.Ap = o;
+ Gd.call(this, this.k);
+ this.yW = B.oc + "geosearch/detail/";
+ this.zW = B.oc + "geosearch/v2/detail/";
+ this.sp = {}
+ }
+ x.ua(Od, Gd, "VectorCloudLayer");
+
+ function Pd(a) {
+ a = a || {};
+ this.k = x.extend(a, {
+ zIndex: 1,
+ VY: "VectorTrafficLayer",
+ qV: "\u77e2\u91cf\u8def\u51b5\u5c42"
+ });
+ this.Ap = o;
+ Gd.call(this, this.k);
+ this.l0 = B.url.proto + B.url.domain.vector_traffic + "/gvd/?qt=lgvd&styles=pl&layers=tf";
+ this.Eb = {
+ "0": [2, 1354709503, 2, 2, 0, [], 0, 0],
+ 1: [2, 1354709503, 3, 2, 0, [], 0, 0],
+ 10: [2, -231722753, 2, 2, 0, [], 0, 0],
+ 11: [2, -231722753, 3, 2, 0, [], 0, 0],
+ 12: [2, -231722753, 4, 2, 0, [], 0, 0],
+ 13: [2, -231722753, 5, 2, 0, [], 0, 0],
+ 14: [2, -231722753, 6, 2, 0, [], 0, 0],
+ 15: [2, -1, 4, 0, 0, [], 0, 0],
+ 16: [2, -1, 5.5, 0, 0, [], 0, 0],
+ 17: [2, -1, 7, 0, 0, [], 0, 0],
+ 18: [2, -1, 8.5, 0, 0, [], 0, 0],
+ 19: [2, -1, 10, 0, 0, [], 0, 0],
+ 2: [2, 1354709503, 4, 2, 0, [], 0, 0],
+ 3: [2, 1354709503, 5, 2, 0, [], 0, 0],
+ 4: [2, 1354709503, 6, 2, 0, [], 0, 0],
+ 5: [2, -6350337, 2, 2, 0, [], 0, 0],
+ 6: [2, -6350337, 3, 2, 0, [], 0, 0],
+ 7: [2, -6350337, 4, 2, 0, [], 0, 0],
+ 8: [2, -6350337, 5, 2, 0, [], 0, 0],
+ 9: [2, -6350337, 6, 2, 0, [], 0, 0]
+ }
+ }
+ x.ua(Pd, Gd, "VectorTrafficLayer");
+
+ function fb(a) {
+ this.JV = [B.url.proto + B.url.domain.TILE_ONLINE_URLS[1] + "/gvd/?", B.url.proto + B.url.domain.TILE_ONLINE_URLS[2] + "/gvd/?", B.url.proto + B.url.domain.TILE_ONLINE_URLS[3] + "/gvd/?"];
+ this.k = {
+ uL: q
+ };
+ for (var b in a) this.k[b] = a[b];
+ this.di = this.Mh = this.Xa = this.C = this.D = p;
+ this.JM = 0;
+ var c = this;
+ L.load("vector", function () {
+ c.Ee()
+ })
+ }
+ x.extend(fb.prototype, {
+ ra: function (a, b) {
+ this.D = a;
+ this.C = b
+ },
+ remove: function () {
+ this.C = this.D = p
+ }
+ });
+
+ function Qd(a) {
+ Gd.call(this, a);
+ this.k = a || {};
+ this.EM = o;
+ if (this.k.predictDate) {
+ if (1 > this.k.predictDate.weekday || 7 < this.k.predictDate.weekday) this.k.predictDate = 1;
+ if (0 > this.k.predictDate.hour || 23 < this.k.predictDate.hour) this.k.predictDate.hour = 0
+ }
+ this.UU = B.url.proto + B.url.domain.traffic + "/traffic/"
+ }
+ Qd.prototype = new Gd;
+ Qd.prototype.ra = function (a, b) {
+ Gd.prototype.ra.call(this, a, b);
+ this.D = a
+ };
+ Qd.prototype.Gt = ea(o);
+ Qd.prototype.getTilesUrl = function (a, b) {
+ var c = "";
+ this.k.predictDate ? c = "HistoryService?day=" + (this.k.predictDate.weekday - 1) + "&hour=" + this.k.predictDate.hour + "&t=" + (new Date).getTime() + "&" : (c = "TrafficTileService?time=" + (new Date).getTime() + "&", c += "label=web2D&v=016&");
+ var c = this.UU + c + "level=" + b + "&x=" + a.x + "&y=" + a.y,
+ d = 1;
+ this.D.Xx() && (d = 2);
+ return (c + "&scaler=" + d).replace(/-(\d+)/gi, "M$1")
+ };
+ var Rd = [B.url.proto + B.url.domain.TILES_YUN_HOST[0] + "/georender/gss", B.url.proto + B.url.domain.TILES_YUN_HOST[1] + "/georender/gss", B.url.proto + B.url.domain.TILES_YUN_HOST[2] + "/georender/gss", B.url.proto + B.url.domain.TILES_YUN_HOST[3] + "/georender/gss"],
+ Sd = B.url.proto + B.url.domain.main_domain_nocdn.baidu + "/style/poi/rangestyle",
+ Td = 100;
+
+ function qb(a, b) {
+ Gd.call(this);
+ var c = this;
+ this.EM = o;
+ var d = q;
+ try {
+ document.createElement("canvas").getContext("2d"), d = o
+ } catch (e) {
+ d = q
+ }
+ d && (this.Gh = new Od(a, b), this.Gh.aG = this);
+ Kb(a) ? b = a || {} : (c.Yn = a, b = b || {});
+ b.geotableId && (c.Bf = b.geotableId);
+ b.databoxId && (c.Yn = b.databoxId);
+ d = B.oc + "geosearch";
+ c.nc = {
+ QN: b.pointDensity || Td,
+ tY: d + "/detail/",
+ uY: d + "/v2/detail/",
+ Iw: b.age || 36E5,
+ hn: b.q || "",
+ Z_: "png",
+ D3: [5, 5, 5, 5],
+ UY: {
+ backgroundColor: "#FFFFD5",
+ borderColor: "#808080"
+ },
+ bm: b.ak || qa,
+ hz: b.tags || "",
+ filter: b.filter || "",
+ bz: b.sortby || "",
+ Ik: b.hotspotName || "tile_md_" + (1E5 * Math.random()).toFixed(0),
+ jG: o
+ };
+ L.load("clayer", function () {
+ c.Td()
+ })
+ }
+ qb.prototype = new Gd;
+ qb.prototype.ra = function (a, b) {
+ Gd.prototype.ra.call(this, a, b);
+ this.D = a
+ };
+ qb.prototype.getTilesUrl = function (a, b) {
+ var c = a.x,
+ d = a.y,
+ e = this.nc,
+ c = Rd[Math.abs(c + d) % Rd.length] + "/image?grids=" + c + "_" + d + "_" + b + "&q=" + e.hn + "&tags=" + e.hz + "&filter=" + e.filter + "&sortby=" + e.bz + "&ak=" + this.nc.bm + "&age=" + e.Iw + "&page_size=" + e.QN + "&format=" + e.Z_;
+ e.jG || (e = (1E5 * Math.random()).toFixed(0), c += "&timeStamp=" + e);
+ this.Bf ? c += "&geotable_id=" + this.Bf : this.Yn && (c += "&databox_id=" + this.Yn);
+ return c
+ };
+ qb.prototype.enableUseCache = function () {
+ this.nc.jG = o
+ };
+ qb.prototype.disableUseCache = function () {
+ this.nc.jG = q
+ };
+ qb.rU = /^point\(|\)$/ig;
+ qb.sU = /\s+/;
+ qb.uU = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
+
+ function Ud(a, b, c) {
+ this.ff = a;
+ this.xr = b instanceof Gd ? [b] : b.slice(0);
+ c = c || {};
+ this.k = {
+ $_: c.tips || "",
+ SE: "",
+ fc: c.minZoom || 4,
+ Zb: c.maxZoom || 18,
+ C3: c.minZoom || 4,
+ B3: c.maxZoom || 18,
+ Ob: 256,
+ ZF: c.textColor || "black",
+ ED: c.errorImageUrl || "",
+ $a: new ib(new K(-21364736, -16023552), new K(23855104, 19431424)),
+ Nd: c.projection || new T
+ };
+ 1 <= this.xr.length && (this.xr[0].Mw = o);
+ x.extend(this.k, c)
+ }
+ x.extend(Ud.prototype, {
+ getName: v("ff"),
+ lt: function () {
+ return this.k.$_
+ },
+ h3: function () {
+ return this.k.SE
+ },
+ gY: function () {
+ return this.xr[0]
+ },
+ v3: v("xr"),
+ hY: function () {
+ return this.k.Ob
+ },
+ hp: function () {
+ return this.k.fc
+ },
+ Dm: function () {
+ return this.k.Zb
+ },
+ setMaxZoom: function (a) {
+ this.k.Zb = a
+ },
+ Km: function () {
+ return this.k.ZF
+ },
+ Hm: function () {
+ return this.k.Nd
+ },
+ Y2: function () {
+ return this.k.ED
+ },
+ hY: function () {
+ return this.k.Ob
+ },
+ yc: function (a) {
+ return Math.pow(2, 18 - a)
+ },
+ tE: function (a) {
+ return this.yc(a) * this.k.Ob
+ },
+ OF: function (a) {
+ this.Hm().l_(a)
+ }
+ });
+ var Vd = [B.url.proto + B.url.domain.TILE_BASE_URLS[0], B.url.proto + B.url.domain.TILE_BASE_URLS[1], B.url.proto + B.url.domain.TILE_BASE_URLS[2], B.url.proto + B.url.domain.TILE_BASE_URLS[3]],
+ Wd = [B.url.proto + B.url.domain.TILE_ONLINE_URLS[0] + "/tile/", B.url.proto + B.url.domain.TILE_ONLINE_URLS[1] + "/tile/", B.url.proto + B.url.domain.TILE_ONLINE_URLS[2] + "/tile/", B.url.proto + B.url.domain.TILE_ONLINE_URLS[3] + "/tile/"],
+ Xd = {
+ dark: "dl",
+ light: "ll",
+ normal: "pl"
+ },
+ Yd = new Gd;
+ Yd.xO = o;
+ Yd.getTilesUrl = function (a, b, c) {
+ var d = a.x,
+ a = a.y,
+ e = Vb("normal"),
+ f = 1,
+ c = Xd[c];
+ // this.map.Xx() && (f = 2);
+ // d = this.map.fb.os(d, b).nm;
+ // return (Wd[Math.abs(d + a) % Wd.length] + "?qt=vtile&x=" + (d + "").replace(/-/gi, "M") + "&y=" + (a + "").replace(/-/gi, "M") + "&z=" + b + "&styles=" + c + "&scaler=" + f + (6 == x.da.ma ? "&color_dep=32&colors=50" : "") + "&udt=" + e + "&from=jsapi2_0").replace(/-(\d+)/gi, "M$1")
+
+ return `./plugin/offline/tiles/${b}/${d}/${a}.jpg`; // yangjianfei 添加
+ };
+ var Oa = new Ud("\u5730\u56fe", Yd, {
+ tips: "\u663e\u793a\u666e\u901a\u5730\u56fe",
+ maxZoom: 19
+ }),
+ Zd = new Gd;
+ Zd.MO = [B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[0] + "/resource/mappic/", B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[1] + "/resource/mappic/", B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[2] + "/resource/mappic/", B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[3] + "/resource/mappic/"];
+ Zd.getTilesUrl = function (a, b) {
+ var c = a.x,
+ d = a.y,
+ e = 256 * Math.pow(2, 20 - b),
+ d = Math.round((9998336 - e * d) / e) - 1;
+ return url = this.MO[Math.abs(c + d) % this.MO.length] + this.map.Sb + "/" + this.map.Uw + "/3/lv" + (21 - b) + "/" + c + "," + d + ".jpg"
+ };
+ var Ra = new Ud("\u4e09\u7ef4", Zd, {
+ tips: "\u663e\u793a\u4e09\u7ef4\u5730\u56fe",
+ minZoom: 15,
+ maxZoom: 20,
+ textColor: "white",
+ projection: new kb
+ });
+ Ra.yc = function (a) {
+ return Math.pow(2, 20 - a)
+ };
+ Ra.Ak = function (a) {
+ if (!a) return "";
+ var b = I.xC,
+ c;
+ for (c in b)
+ if (-1 < a.search(c)) return b[c].Fy;
+ return ""
+ };
+ Ra.GL = function (a) {
+ return {
+ bj: 2,
+ gz: 1,
+ sz: 14,
+ sh: 4
+ }[a]
+ };
+ var $d = new Gd({
+ Mw: o
+ });
+ $d.getTilesUrl = function (a, b) {
+ var c = a.x,
+ d = a.y;
+ return (Vd[Math.abs(c + d) % Vd.length] + "u=x=" + c + ";y=" + d + ";z=" + b + ";v=009;type=sate&fm=46&udt=" + Vb("satellite")).replace(/-(\d+)/gi, "M$1")
+ };
+ var bb = new Ud("\u536b\u661f", $d, {
+ tips: "\u663e\u793a\u536b\u661f\u5f71\u50cf",
+ minZoom: 4,
+ maxZoom: 19,
+ textColor: "white"
+ }),
+ ae = new Gd({
+ transparentPng: o
+ });
+ ae.getTilesUrl = function (a, b) {
+ var c = a.x,
+ d = a.y,
+ e = Vb("satelliteStreet");
+ return (Wd[Math.abs(c + d) % Wd.length] + "?qt=vtile&x=" + (c + "").replace(/-/gi, "M") + "&y=" + (d + "").replace(/-/gi, "M") + "&z=" + b + "&styles=sl" + (6 == x.da.ma ? "&color_dep=32&colors=50" : "") + "&udt=" + e).replace(/-(\d+)/gi, "M$1")
+ };
+ var Ua = new Ud("\u6df7\u5408", [$d, ae], {
+ tips: "\u663e\u793a\u5e26\u6709\u8857\u9053\u7684\u536b\u661f\u5f71\u50cf",
+ labelText: "\u8def\u7f51",
+ minZoom: 4,
+ maxZoom: 19,
+ textColor: "white"
+ });
+ var be = 1,
+ X = {};
+ window.N0 = X;
+
+ function Y(a, b) {
+ x.lang.Da.call(this);
+ this.Ad = {};
+ this.tn(a);
+ b = b || {};
+ b.ja = b.renderOptions || {};
+ this.k = {
+ ja: {
+ Ia: b.ja.panel || p,
+ map: b.ja.map || p,
+ ah: b.ja.autoViewport || o,
+ Zt: b.ja.selectFirstResult,
+ vt: b.ja.highlightMode,
+ Gb: b.ja.enableDragging || q
+ },
+ yy: b.onSearchComplete || t(),
+ AN: b.onMarkersSet || t(),
+ zN: b.onInfoHtmlSet || t(),
+ CN: b.onResultsHtmlSet || t(),
+ yN: b.onGetBusListComplete || t(),
+ xN: b.onGetBusLineComplete || t(),
+ vN: b.onBusListHtmlSet || t(),
+ uN: b.onBusLineHtmlSet || t(),
+ fF: b.onPolylinesSet || t(),
+ Pp: b.reqFrom || ""
+ };
+ this.map = b.ja.map || window.GCJMAP;
+ this.k.ja.ah = "undefined" != typeof b && "undefined" != typeof b.renderOptions && "undefined" != typeof b.renderOptions.autoViewport ? b.renderOptions.autoViewport : o;
+ this.k.ja.Ia = x.Ec(this.k.ja.Ia)
+ }
+ x.ua(Y, x.lang.Da);
+ x.extend(Y.prototype, {
+ getResults: function () {
+ return this.Gc ? this.Oi : this.ka
+ },
+ enableAutoViewport: function () {
+ this.k.ja.ah = o
+ },
+ disableAutoViewport: function () {
+ this.k.ja.ah = q
+ },
+ tn: function (a) {
+ a && (this.Ad.src = a)
+ },
+ PF: function (a) {
+ this.k.yy = a || t()
+ },
+ setMarkersSetCallback: function (a) {
+ this.k.AN = a || t()
+ },
+ setPolylinesSetCallback: function (a) {
+ this.k.fF = a || t()
+ },
+ setInfoHtmlSetCallback: function (a) {
+ this.k.zN = a || t()
+ },
+ setResultsHtmlSetCallback: function (a) {
+ this.k.CN = a || t()
+ },
+ Im: v("Dd")
+ });
+ var ce = {
+ OG: B.oc,
+ eb: function (a, b, c, d, e) {
+ this.IZ(b);
+ var f = (1E5 * Math.random()).toFixed(0);
+ B._rd["_cbk" + f] = function (b) {
+ b.result && b.result.error && 202 === b.result.error ? alert("\u8be5AK\u56e0\u4e3a\u6076\u610f\u884c\u4e3a\u5df2\u7ecf\u88ab\u7ba1\u7406\u5458\u5c01\u7981\uff01") : (c = c || {}, a && a(b, c), delete B._rd["_cbk" + f])
+ };
+ d = d || "";
+ b = c && c.eP ? Ib(b, encodeURI) : Ib(b, encodeURIComponent);
+ this.OG = c && c.Ts ? c.aO ? c.aO : B.Fp : B.oc;
+ d = this.OG + d + "?" + b + "&ie=utf-8&oue=1&fromproduct=jsapi&v=2.1";
+ e || (d += "&res=api");
+ d = d + ("&callback=BMap._rd._cbk" + f) + ("&ak=" + qa);
+ ra(d)
+ },
+ IZ: function (a) {
+ if (a.qt) {
+ var b = "";
+ switch (a.qt) {
+ case "bt":
+ b = "z_qt|bt";
+ break;
+ case "nav":
+ b = "z_qt|nav";
+ break;
+ case "walk":
+ b = "z_qt|walk";
+ break;
+ case "bse":
+ b = "z_qt|bse";
+ break;
+ case "nse":
+ b = "z_qt|nse";
+ break;
+ case "drag":
+ b = "z_qt|drag";
+ break;
+ case "s":
+ b = "z_qt|s";
+ break;
+ case "ext":
+ b = "z_qt|ext";
+ break;
+ case "gc":
+ b = "z_qt|gc";
+ break;
+ case "rgc":
+ b = "z_qt|rgc";
+ break;
+ case "bl":
+ b = "z_qt|bl";
+ break;
+ case "bsl":
+ b = "z_qt|bsl";
+ break;
+ case "con":
+ b = "z_qt|con";
+ break;
+ case "bd":
+ b = "z_qt|bd";
+ break;
+ case "nb":
+ b = "z_qt|nb";
+ break;
+ case "bda":
+ b = "z_qt|bda";
+ break;
+ case "sa":
+ b = "z_qt|sa";
+ break;
+ case "nba":
+ b = "z_qt|nba";
+ break;
+ case "dec":
+ b = "z_qt|dec"
+ }
+ "" !== b && B.alog("cus.fire", "count", b)
+ }
+ }
+ };
+ window.Z0 = ce;
+ B._rd = {};
+ var Q = {};
+ window.Y0 = Q;
+ Q.XN = function (a) {
+ a = a.replace(/<\/?[^>]*>/g, "");
+ return a = a.replace(/[ | ]* /g, " ")
+ };
+ Q.zZ = function (a) {
+ return a.replace(/([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*),([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*)(,)/g, "$1,$2;")
+ };
+ Q.AZ = function (a, b) {
+ return a.replace(RegExp("(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);)(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);){" + b + "}", "ig"), "$1")
+ };
+ var de = 2,
+ ee = 3,
+ fe = 0,
+ ge = "bt",
+ he = "nav",
+ ie = "walk",
+ je = "bl",
+ ke = "bsl",
+ le = 14,
+ ne = 15,
+ oe = 18,
+ pe = 20,
+ qe = 31;
+ B.I = window.Instance = x.lang.Lc;
+
+ function re(a, b, c) {
+ x.lang.Da.call(this);
+ if (a) {
+ this.Ua = "object" == typeof a ? a : x.Ec(a);
+ this.page = 1;
+ this.Md = 100;
+ this.mK = "pg";
+ this.Wf = 4;
+ this.uK = b;
+ this.update = o;
+ a = {
+ page: 1,
+ Ze: 100,
+ Md: 100,
+ Wf: 4,
+ mK: "pg",
+ update: o
+ };
+ c || (c = a);
+ for (var d in c) "undefined" != typeof c[d] && (this[d] = c[d]);
+ this.va()
+ }
+ }
+ x.extend(re.prototype, {
+ va: function () {
+ this.ra()
+ },
+ ra: function () {
+ this.RV();
+ this.Ua.innerHTML = this.nW()
+ },
+ RV: function () {
+ isNaN(parseInt(this.page)) && (this.page = 1);
+ isNaN(parseInt(this.Md)) && (this.Md = 1);
+ 1 > this.page && (this.page = 1);
+ 1 > this.Md && (this.Md = 1);
+ this.page > this.Md && (this.page = this.Md);
+ this.page = parseInt(this.page);
+ this.Md = parseInt(this.Md)
+ },
+ m3: function () {
+ location.search.match(RegExp("[?&]?" + this.mK + "=([^&]*)[&$]?", "gi"));
+ this.page = RegExp.$1
+ },
+ nW: function () {
+ var a = [],
+ b = this.page - 1,
+ c = this.page + 1;
+ a.push('');
+ if (!(1 > b)) {
+ if (this.page >= this.Wf) {
+ var d;
+ a.push('\u9996\u9875'.replace("{temp1}", "BMap.I('" + this.ba + "').toPage(1);"))
+ }
+ a.push('\u4e0a\u4e00\u9875'.replace("{temp2}", "BMap.I('" + this.ba + "').toPage(" + b + ");"))
+ }
+ if (this.page < this.Wf) d = 0 == this.page % this.Wf ? this.page - this.Wf - 1 : this.page - this.page % this.Wf + 1, b = d + this.Wf - 1;
+ else {
+ d = Math.floor(this.Wf / 2);
+ var e = this.Wf % 2 - 1,
+ b = this.Md > this.page + d ? this.page + d : this.Md;
+ d = this.page - d - e
+ }
+ this.page > this.Md - this.Wf && this.page >= this.Wf && (d = this.Md - this.Wf + 1, b = this.Md);
+ for (e = d; e <= b; e++) 0 < e && (e == this.page ? a.push('' + e + "") : 1 <= e && e <= this.Md && (d = '[' + e + "]", a.push(d.replace("{temp3}", "BMap.I('" + this.ba + "').toPage(" + e + ");"))));
+ c > this.Md || a.push('\u4e0b\u4e00\u9875'.replace("{temp4}", "BMap.I('" + this.ba + "').toPage(" + c + ");"));
+ a.push("
");
+ return a.join("")
+ },
+ toPage: function (a) {
+ a = a ? a : 1;
+ "function" == typeof this.uK && (this.uK(a), this.page = a);
+ this.update && this.va()
+ }
+ });
+
+ function eb(a, b) {
+ Y.call(this, a, b);
+ b = b || {};
+ b.renderOptions = b.renderOptions || {};
+ this.Zp(b.pageCapacity);
+ "undefined" != typeof b.renderOptions.selectFirstResult && !b.renderOptions.selectFirstResult ? this.bD() : this.zD();
+ this.wa = [];
+ this.xf = [];
+ this.lb = -1;
+ this.Oa = [];
+ var c = this;
+ L.load("local", function () {
+ c.Wz()
+ }, o)
+ }
+ x.ua(eb, Y, "LocalSearch");
+ eb.oq = 10;
+ eb.V0 = 1;
+ eb.Kn = 100;
+ eb.EG = 2E3;
+ eb.LG = 1E5;
+ x.extend(eb.prototype, {
+ search: function (a, b) {
+ this.Oa.push({
+ method: "search",
+ arguments: [a, b]
+ })
+ },
+ mn: function (a, b, c) {
+ this.Oa.push({
+ method: "searchInBounds",
+ arguments: [a, b, c]
+ })
+ },
+ Vp: function (a, b, c, d) {
+ this.Oa.push({
+ method: "searchNearby",
+ arguments: [a, b, c, d]
+ })
+ },
+ Qe: function () {
+ delete this.Ga;
+ delete this.Dd;
+ delete this.ka;
+ delete this.fa;
+ this.lb = -1;
+ this.sb();
+ this.k.ja.Ia && (this.k.ja.Ia.innerHTML = "")
+ },
+ Nm: t(),
+ zD: function () {
+ this.k.ja.Zt = o
+ },
+ bD: function () {
+ this.k.ja.Zt = q
+ },
+ Zp: function (a) {
+ this.k.Nk = "number" == typeof a && !isNaN(a) ? 1 > a ? eb.oq : a > eb.Kn ? eb.oq : a : eb.oq
+ },
+ qf: function () {
+ return this.k.Nk
+ },
+ toString: ea("LocalSearch")
+ });
+ var se = eb.prototype;
+ U(se, {
+ clearResults: se.Qe,
+ setPageCapacity: se.Zp,
+ getPageCapacity: se.qf,
+ gotoPage: se.Nm,
+ searchNearby: se.Vp,
+ searchInBounds: se.mn,
+ search: se.search,
+ enableFirstResultSelection: se.zD,
+ disableFirstResultSelection: se.bD
+ });
+
+ function te(a, b) {
+ Y.call(this, a, b)
+ }
+ x.ua(te, Y, "BaseRoute");
+ x.extend(te.prototype, {
+ Qe: t()
+ });
+
+ function ue(a, b) {
+ Y.call(this, a, b);
+ b = b || {};
+ this.gu(b.policy);
+ this.Zp(b.pageCapacity);
+ this.xd = ge;
+ this.Pu = le;
+ this.Qu = be;
+ this.wa = [];
+ this.lb = -1;
+ this.k.fd = b.enableTraffic || q;
+ this.Oa = [];
+ var c = this;
+ L.load("route", function () {
+ c.Td()
+ })
+ }
+ ue.Kn = 100;
+ ue.KP = [0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 1, 1, 1];
+ x.ua(ue, te, "TransitRoute");
+ x.extend(ue.prototype, {
+ gu: function (a) {
+ this.k.$c = 0 <= a && 4 >= a ? a : 0
+ },
+ UA: function (a, b) {
+ this.Oa.push({
+ method: "_internalSearch",
+ arguments: [a, b]
+ })
+ },
+ search: function (a, b) {
+ this.Oa.push({
+ method: "search",
+ arguments: [a, b]
+ })
+ },
+ Zp: function (a) {
+ if ("string" === typeof a && (a = parseInt(a, 10), isNaN(a))) {
+ this.k.Nk = ue.Kn;
+ return
+ }
+ this.k.Nk = "number" !== typeof a ? ue.Kn : 1 <= a && a <= ue.Kn ? Math.round(a) : ue.Kn
+ },
+ toString: ea("TransitRoute"),
+ GU: function (a) {
+ return a.replace(/\(.*\)/, "")
+ }
+ });
+ var ve = ue.prototype;
+ U(ve, {
+ _internalSearch: ve.UA
+ });
+
+ function we(a, b) {
+ Y.call(this, a, b);
+ this.wa = [];
+ this.lb = -1;
+ this.Oa = [];
+ var c = this,
+ d = this.k.ja;
+ 1 !== d.vt && 2 !== d.vt && (d.vt = 1);
+ this.oA = this.k.ja.Gb ? o : q;
+ L.load("route", function () {
+ c.Td()
+ });
+ this.CE && this.CE()
+ }
+ we.YP = " \u73af\u5c9b \u65e0\u5c5e\u6027\u9053\u8def \u4e3b\u8def \u9ad8\u901f\u8fde\u63a5\u8def \u4ea4\u53c9\u70b9\u5185\u8def\u6bb5 \u8fde\u63a5\u9053\u8def \u505c\u8f66\u573a\u5185\u90e8\u9053\u8def \u670d\u52a1\u533a\u5185\u90e8\u9053\u8def \u6865 \u6b65\u884c\u8857 \u8f85\u8def \u531d\u9053 \u5168\u5c01\u95ed\u9053\u8def \u672a\u5b9a\u4e49\u4ea4\u901a\u533a\u57df POI\u8fde\u63a5\u8def \u96a7\u9053 \u6b65\u884c\u9053 \u516c\u4ea4\u4e13\u7528\u9053 \u63d0\u524d\u53f3\u8f6c\u9053".split(" ");
+ x.ua(we, te, "DWRoute");
+ x.extend(we.prototype, {
+ search: function (a, b, c) {
+ this.Oa.push({
+ method: "search",
+ arguments: [a, b, c]
+ })
+ }
+ });
+
+ function xe(a, b) {
+ we.call(this, a, b);
+ b = b || {};
+ this.k.fd = b.enableTraffic || q;
+ this.gu(b.policy);
+ this.xd = he;
+ this.Pu = pe;
+ this.Qu = ee
+ }
+ x.ua(xe, we, "DrivingRoute");
+ xe.prototype.gu = function (a) {
+ this.k.$c = 0 <= a && 2 >= a ? a : 0
+ };
+
+ function ye(a, b) {
+ we.call(this, a, b);
+ this.xd = ie;
+ this.Pu = qe;
+ this.Qu = de;
+ this.oA = q
+ }
+ x.ua(ye, we, "WalkingRoute");
+
+ function ze(a, b) {
+ x.lang.Da.call(this);
+ this.Uf = [];
+ this.dn = [];
+ this.k = b;
+ this.cc = a;
+ this.map = this.k.ja.map || p;
+ this.Ny = this.k.Ny;
+ this.Bb = p;
+ this.jj = 0;
+ this.cz = "";
+ this.fe = 1;
+ this.ux = "";
+ this.Qp = [0, 0, 0, 0, 0, 0, 0];
+ this.VE = [];
+ this.xs = [1, 1, 1, 1, 1, 1, 1];
+ this.VO = [1, 1, 1, 1, 1, 1, 1];
+ this.Xt = [0, 0, 0, 0, 0, 0, 0];
+ this.Rp = [0, 0, 0, 0, 0, 0, 0];
+ this.Ma = [{
+ o: "",
+ Fd: 0,
+ Cn: 0,
+ x: 0,
+ y: 0,
+ qa: -1
+ }, {
+ o: "",
+ Fd: 0,
+ Cn: 0,
+ x: 0,
+ y: 0,
+ qa: -1
+ }, {
+ o: "",
+ Fd: 0,
+ Cn: 0,
+ x: 0,
+ y: 0,
+ qa: -1
+ }, {
+ o: "",
+ Fd: 0,
+ Cn: 0,
+ x: 0,
+ y: 0,
+ qa: -1
+ }, {
+ o: "",
+ Fd: 0,
+ Cn: 0,
+ x: 0,
+ y: 0,
+ qa: -1
+ }, {
+ o: "",
+ Fd: 0,
+ Cn: 0,
+ x: 0,
+ y: 0,
+ qa: -1
+ }, {
+ o: "",
+ Fd: 0,
+ Cn: 0,
+ x: 0,
+ y: 0,
+ qa: -1
+ }];
+ this.li = -1;
+ this.wu = [];
+ this.xu = [];
+ L.load("route", t())
+ }
+ x.lang.ua(ze, x.lang.Da, "RouteAddr");
+ var Ae = navigator.userAgent;
+ /ipad|iphone|ipod|iph/i.test(Ae);
+ var Be = /android/i.test(Ae);
+
+ function Ce(a) {
+ this.vh = a || {}
+ }
+ x.extend(Ce.prototype, {
+ gO: function (a, b, c) {
+ var d = this;
+ L.load("route", function () {
+ d.Td(a, b, c)
+ })
+ }
+ });
+
+ function De(a) {
+ this.k = {};
+ x.extend(this.k, a);
+ this.Oa = [];
+ var b = this;
+ L.load("othersearch", function () {
+ b.Td()
+ })
+ }
+ x.ua(De, x.lang.Da, "Geocoder");
+ x.extend(De.prototype, {
+ Gm: function (a, b, c) {
+ this.Oa.push({
+ method: "getPoint",
+ arguments: [a, b, c]
+ })
+ },
+ Cm: function (a, b, c) {
+ this.Oa.push({
+ method: "getLocation",
+ arguments: [a, b, c]
+ })
+ },
+ toString: ea("Geocoder")
+ });
+ var Ee = De.prototype;
+ U(Ee, {
+ getPoint: Ee.Gm,
+ getLocation: Ee.Cm
+ });
+
+ function Geolocation(a) {
+ a = a || {};
+ this.B = {
+ timeout: a.timeout || 1E4,
+ maximumAge: a.maximumAge || 6E5,
+ il: q
+ };
+ this.qe = [];
+ var b = this;
+ L.load("othersearch", function () {
+ for (var a = 0, d; d = b.qe[a]; a++) b[d.method].apply(b, d.arguments)
+ })
+ }
+ x.extend(Geolocation.prototype, {
+ getCurrentPosition: function (a, b) {
+ this.qe.push({
+ method: "getCurrentPosition",
+ arguments: arguments
+ })
+ },
+ getStatus: ea(2),
+ enableSDKLocation: function () {
+ J() && (this.B.il = o)
+ },
+ disableSDKLocation: function () {
+ this.B.il = q
+ }
+ });
+
+ function Ke(a) {
+ a = a || {};
+ a.ja = a.renderOptions || {};
+ this.k = {
+ ja: {
+ map: a.ja.map || p
+ }
+ };
+ this.Oa = [];
+ var b = this;
+ L.load("othersearch", function () {
+ b.Td()
+ })
+ }
+ x.ua(Ke, x.lang.Da, "LocalCity");
+ x.extend(Ke.prototype, {
+ get: function (a) {
+ this.Oa.push({
+ method: "get",
+ arguments: [a]
+ })
+ },
+ toString: ea("LocalCity")
+ });
+
+ function Le() {
+ this.Oa = [];
+ var a = this;
+ L.load("othersearch", function () {
+ a.Td()
+ })
+ }
+ x.ua(Le, x.lang.Da, "Boundary");
+ x.extend(Le.prototype, {
+ get: function (a, b) {
+ this.Oa.push({
+ method: "get",
+ arguments: [a, b]
+ })
+ },
+ toString: ea("Boundary")
+ });
+
+ function Me(a, b) {
+ Y.call(this, a, b);
+ this.VP = je;
+ this.XP = ne;
+ this.UP = ke;
+ this.WP = oe;
+ this.Oa = [];
+ var c = this;
+ L.load("buslinesearch", function () {
+ c.Td()
+ })
+ }
+ Me.Bv = I.pa + "iw_plus.gif";
+ Me.ZS = I.pa + "iw_minus.gif";
+ Me.QU = I.pa + "stop_icon.png";
+ x.ua(Me, Y);
+ x.extend(Me.prototype, {
+ getBusList: function (a) {
+ this.Oa.push({
+ method: "getBusList",
+ arguments: [a]
+ })
+ },
+ getBusLine: function (a) {
+ this.Oa.push({
+ method: "getBusLine",
+ arguments: [a]
+ })
+ },
+ setGetBusListCompleteCallback: function (a) {
+ this.k.yN = a || t()
+ },
+ setGetBusLineCompleteCallback: function (a) {
+ this.k.xN = a || t()
+ },
+ setBusListHtmlSetCallback: function (a) {
+ this.k.vN = a || t()
+ },
+ setBusLineHtmlSetCallback: function (a) {
+ this.k.uN = a || t()
+ },
+ setPolylinesSetCallback: function (a) {
+ this.k.fF = a || t()
+ }
+ });
+
+ function Ne(a) {
+ Y.call(this, a);
+ a = a || {};
+ this.nc = {
+ input: a.input || p,
+ nC: a.baseDom || p,
+ types: a.types || [],
+ yy: a.onSearchComplete || t()
+ };
+ this.Ad.src = a.location || "\u5168\u56fd";
+ this.ej = "";
+ this.og = p;
+ this.qI = "";
+ this.Vi();
+ Ta(Ja);
+ var b = this;
+ L.load("autocomplete", function () {
+ b.Td()
+ })
+ }
+ x.ua(Ne, Y, "Autocomplete");
+ x.extend(Ne.prototype, {
+ Vi: t(),
+ show: t(),
+ U: t(),
+ QF: function (a) {
+ this.nc.types = a
+ },
+ tn: function (a) {
+ this.Ad.src = a
+ },
+ search: da("ej"),
+ Qy: da("qI")
+ });
+ var Va;
+
+ function Qa(a, b) {
+ function c() {
+ e.k.visible ? ("inter" === e.Le && Xa() && e.k.haveBreakId && e.k.indoorExitControl === o ? x.K.show(e.pr) : x.K.U(e.pr), this.Ed && this.k.closeControl && this.Af && this.D && this.D.Ha() === this.C ? x.K.show(e.Af) : x.K.U(e.Af), this.k.forceCloseControl && x.K.show(e.Af)) : (x.K.U(e.Af), x.K.U(e.pr))
+ }
+ this.C = "string" == typeof a ? x.$(a) : a;
+ this.ba = Oe++;
+ this.k = {
+ enableScrollWheelZoom: o,
+ panoramaRenderer: Pa() ? "javascript" : "flash",
+ swfSrc: B.Sf("main_domain_nocdn", "res/swf/") + "APILoader.swf",
+ visible: o,
+ indoorExitControl: o,
+ indoorFloorControl: q,
+ linksControl: o,
+ clickOnRoad: o,
+ navigationControl: o,
+ closeControl: o,
+ indoorSceneSwitchControl: o,
+ albumsControl: q,
+ albumsControlOptions: {},
+ copyrightControlOptions: {},
+ forceCloseControl: q,
+ haveBreakId: q
+ };
+ var b = b || {},
+ d;
+ for (d in b) this.k[d] = b[d];
+ b.closeControl === o && (this.k.forceCloseControl = o);
+ b.useWebGL === q && Pa(q);
+ this.Ea = {
+ heading: 0,
+ pitch: 0
+ };
+ this.ko = [];
+ this.Kb = this.Ya = p;
+ this.jk = this.mr();
+ this.wa = [];
+ this.Kc = 1;
+ this.Le = this.vT = this.ml = "";
+ this.Ke = {};
+ this.Nf = p;
+ this.Ug = [];
+ this.Ir = [];
+ "cvsRender" == this.jk || Pa() ? (this.ck = 90, this.ek = -90) : "cssRender" == this.jk && (this.ck = 45, this.ek = -45);
+ this.Mr = q;
+ var e = this,
+ f = (1E5 * Math.random()).toFixed(0);
+ B._rd = B._rd || {};
+ B._rd["_cbk" + f] = function (a) {
+ if (!a || a.error === j || a.error !== 0) Nc("PANORAMA");
+ else {
+ this.jk === "flashRender" ? L.load("panoramaflash", function () {
+ e.Vi()
+ }, o) : L.load("panorama", function () {
+ e.Ab()
+ }, o);
+ b.of == "api" ? Ta(Fa) : Ta(Ga)
+ }
+ delete B._rd["_cbk" + f]
+ };
+ this.lo = function () {
+ Mc("PANORAMA", "BMap._rd._cbk" + f);
+ this.lo = t()
+ };
+ this.k.jT !== o && (this.lo(), B.Ln("cus.fire", "count", "z_loadpanoramacount"));
+ this.$T(this.C);
+ this.addEventListener("id_changed", function () {
+ Ta(Ea, {
+ from: b.of
+ })
+ });
+ this.oQ();
+ this.addEventListener("indoorexit_options_changed", c);
+ this.addEventListener("scene_type_changed", c);
+ this.addEventListener("onclose_options_changed", c);
+ this.addEventListener("onvisible_changed", c)
+ }
+ var Pe = 4,
+ Qe = 1,
+ Oe = 0;
+ x.lang.ua(Qa, x.lang.Da, "Panorama");
+ x.extend(Qa.prototype, {
+ oQ: function () {
+ var a = this,
+ b = this.Af = H("div");
+ b.className = "pano_close";
+ b.style.cssText = "z-index: 1201;display: none";
+ b.title = "\u9000\u51fa\u5168\u666f";
+ b.onclick = function () {
+ a.U()
+ };
+ this.C.appendChild(b);
+ var c = this.pr = H("a");
+ c.className = "pano_pc_indoor_exit";
+ c.style.cssText = "z-index: 1201;display: none";
+ c.innerHTML = '\u51fa\u53e3';
+ c.title = "\u9000\u51fa\u5ba4\u5185\u666f";
+ c.onclick = function () {
+ a.ap()
+ };
+ this.C.appendChild(c);
+ window.ActiveXObject && !document.addEventListener && (b.style.backgroundColor = "rgb(37,37,37)", c.style.backgroundColor = "rgb(37,37,37)")
+ },
+ ap: t(),
+ $T: function (a) {
+ var b, c;
+ b = a.style;
+ c = Ya(a).position;
+ "absolute" != c && "relative" != c && (b.position = "relative", b.zIndex = 0);
+ if ("absolute" === c || "relative" === c)
+ if (a = Ya(a).zIndex, !a || "auto" === a) b.zIndex = 0
+ },
+ HX: v("ko"),
+ Yb: v("Ya"),
+ iY: v("mw"),
+ vO: v("mw"),
+ ia: v("Kb"),
+ Fa: v("Ea"),
+ ga: v("Kc"),
+ jh: v("ml"),
+ o3: function () {
+ return this.E1 || []
+ },
+ j3: v("vT"),
+ kt: v("Le"),
+ Uy: function (a) {
+ a !== this.Le && (this.Le = a, this.dispatchEvent(new N("onscene_type_changed")))
+ },
+ rc: function (a, b, c) {
+ "object" === typeof b && (c = b, b = j);
+ a != this.Ya && (this.xl = this.Ya, this.yl = this.Kb, this.Ya = a, this.Le = b || "street", this.Kb = p, c && c.pov && this.Nc(c.pov))
+ },
+ ta: function (a) {
+ a.ab(this.Kb) || (this.xl = this.Ya, this.yl = this.Kb, this.Kb = a, this.Ya = p)
+ },
+ Nc: function (a) {
+ a && (this.Ea = a, a = this.Ea.pitch, a > this.ck ? a = this.ck : a < this.ek && (a = this.ek), this.Mr = o, this.Ea.pitch = a)
+ },
+ A_: function (a, b) {
+ this.ek = 0 <= a ? 0 : a;
+ this.ck = 0 >= b ? 0 : b
+ },
+ Oc: function (a) {
+ a != this.Kc && (a > Pe && (a = Pe), a < Qe && (a = Qe), a != this.Kc && (this.Kc = a), "cssRender" === this.jk && this.Nc(this.Ea))
+ },
+ NB: function () {
+ if (this.D)
+ for (var a = this.D.Mx(), b = 0; b < a.length; b++)(a[b] instanceof W || a[b] instanceof td) && a[b].point && this.wa.push(a[b])
+ },
+ Ry: da("D"),
+ fu: function (a) {
+ this.Nf = a || "none"
+ },
+ Fj: function (a) {
+ for (var b in a) {
+ if ("object" == typeof a[b])
+ for (var c in a[b]) this.k[b][c] = a[b][c];
+ else this.k[b] = a[b];
+ a.closeControl === o && (this.k.forceCloseControl = o);
+ a.closeControl === q && (this.k.forceCloseControl = q);
+ switch (b) {
+ case "linksControl":
+ this.dispatchEvent(new N("onlinks_visible_changed"));
+ break;
+ case "clickOnRoad":
+ this.dispatchEvent(new N("onclickonroad_changed"));
+ break;
+ case "navigationControl":
+ this.dispatchEvent(new N("onnavigation_visible_changed"));
+ break;
+ case "indoorSceneSwitchControl":
+ this.dispatchEvent(new N("onindoor_default_switch_mode_changed"));
+ break;
+ case "albumsControl":
+ this.dispatchEvent(new N("onalbums_visible_changed"));
+ break;
+ case "albumsControlOptions":
+ this.dispatchEvent(new N("onalbums_options_changed"));
+ break;
+ case "copyrightControlOptions":
+ this.dispatchEvent(new N("oncopyright_options_changed"));
+ break;
+ case "closeControl":
+ this.dispatchEvent(new N("onclose_options_changed"));
+ break;
+ case "indoorExitControl":
+ this.dispatchEvent(new N("onindoorexit_options_changed"));
+ break;
+ case "indoorFloorControl":
+ this.dispatchEvent(new N("onindoorfloor_options_changed"))
+ }
+ }
+ },
+ Hk: function () {
+ this.Hl.style.visibility = "hidden"
+ },
+ Yy: function () {
+ this.Hl.style.visibility = "visible"
+ },
+ VW: function () {
+ this.k.enableScrollWheelZoom = o
+ },
+ GW: function () {
+ this.k.enableScrollWheelZoom = q
+ },
+ show: function () {
+ this.k.visible = o
+ },
+ U: function () {
+ this.k.visible = q
+ },
+ mr: function () {
+ return Xa() && !J() && "javascript" !== this.k.panoramaRenderer ? "flashRender" : !J() && Pb() ? "cvsRender" : "cssRender"
+ },
+ Ka: function (a) {
+ this.Ke[a.kd] = a
+ },
+ Ub: function (a) {
+ delete this.Ke[a]
+ },
+ rE: function () {
+ return this.k.visible
+ },
+ ih: function () {
+ return new M(this.C.clientWidth, this.C.clientHeight)
+ },
+ Ha: v("C"),
+ CL: function () {
+ var a = B.Sf("baidumap", "?"),
+ b = this.Yb();
+ if (b) {
+ var b = {
+ panotype: this.kt(),
+ heading: this.Fa().heading,
+ pitch: this.Fa().pitch,
+ pid: b,
+ panoid: b,
+ from: "api"
+ },
+ c;
+ for (c in b) a += c + "=" + b[c] + "&"
+ }
+ return a.slice(0, -1)
+ },
+ Ux: function () {
+ this.Fj({
+ copyrightControlOptions: {
+ logoVisible: q
+ }
+ })
+ },
+ TF: function () {
+ this.Fj({
+ copyrightControlOptions: {
+ logoVisible: o
+ }
+ })
+ },
+ hC: function (a) {
+ function b(a, b) {
+ return function () {
+ a.Ir.push({
+ hN: b,
+ gN: arguments
+ })
+ }
+ }
+ for (var c = a.getPanoMethodList(), d = "", e = 0, f = c.length; e < f; e++) d = c[e], this[d] = b(this, d);
+ this.Ug.push(a)
+ },
+ vF: function (a) {
+ for (var b = this.Ug.length; b--;) this.Ug[b] === a && this.Ug.splice(b, 1)
+ },
+ LF: t()
+ });
+ var Re = Qa.prototype;
+ U(Re, {
+ setId: Re.rc,
+ setPosition: Re.ta,
+ setPov: Re.Nc,
+ setZoom: Re.Oc,
+ setOptions: Re.Fj,
+ getId: Re.Yb,
+ getPosition: Re.ia,
+ getPov: Re.Fa,
+ getZoom: Re.ga,
+ getLinks: Re.HX,
+ getBaiduMapUrl: Re.CL,
+ hideMapLogo: Re.Ux,
+ showMapLogo: Re.TF,
+ enableDoubleClickZoom: Re.D2,
+ disableDoubleClickZoom: Re.r2,
+ enableScrollWheelZoom: Re.VW,
+ disableScrollWheelZoom: Re.GW,
+ show: Re.show,
+ hide: Re.U,
+ addPlugin: Re.hC,
+ removePlugin: Re.vF,
+ getVisible: Re.rE,
+ addOverlay: Re.Ka,
+ removeOverlay: Re.Ub,
+ getSceneType: Re.kt,
+ setPanoramaPOIType: Re.fu,
+ exitInter: Re.ap,
+ setInteractiveState: Re.LF
+ });
+ U(window, {
+ BMAP_PANORAMA_POI_HOTEL: "hotel",
+ BMAP_PANORAMA_POI_CATERING: "catering",
+ BMAP_PANORAMA_POI_MOVIE: "movie",
+ BMAP_PANORAMA_POI_TRANSIT: "transit",
+ BMAP_PANORAMA_POI_INDOOR_SCENE: "indoor_scene",
+ BMAP_PANORAMA_POI_NONE: "none",
+ BMAP_PANORAMA_INDOOR_SCENE: "inter",
+ BMAP_PANORAMA_STREET_SCENE: "street"
+ });
+
+ function Se() {
+ x.lang.Da.call(this);
+ this.kd = "PanoramaOverlay_" + this.ba;
+ this.P = p;
+ this.Pa = o
+ }
+ x.lang.ua(Se, x.lang.Da, "PanoramaOverlayBase");
+ x.extend(Se.prototype, {
+ k3: v("kd"),
+ ra: function () {
+ aa("initialize\u65b9\u6cd5\u672a\u5b9e\u73b0")
+ },
+ remove: function () {
+ aa("remove\u65b9\u6cd5\u672a\u5b9e\u73b0")
+ },
+ Mf: function () {
+ aa("_setOverlayProperty\u65b9\u6cd5\u672a\u5b9e\u73b0")
+ }
+ });
+
+ function Te(a, b) {
+ Se.call(this);
+ var c = {
+ position: p,
+ altitude: 2,
+ displayDistance: o
+ },
+ b = b || {},
+ d;
+ for (d in b) c[d] = b[d];
+ this.Kb = c.position;
+ this.Sj = a;
+ this.Fq = c.altitude;
+ this.AR = c.displayDistance;
+ this.ZF = c.color;
+ this.lM = c.hoverColor;
+ this.backgroundColor = c.backgroundColor;
+ this.oK = c.backgroundHoverColor;
+ this.borderColor = c.borderColor;
+ this.sK = c.borderHoverColor;
+ this.fontSize = c.fontSize;
+ this.padding = c.padding;
+ this.xE = c.imageUrl;
+ this.size = c.size;
+ this.ye = c.image;
+ this.width = c.width;
+ this.height = c.height;
+ this.xY = c.imageData;
+ this.borderWidth = c.borderWidth
+ }
+ x.lang.ua(Te, Se, "PanoramaLabel");
+ x.extend(Te.prototype, {
+ P2: v("borderWidth"),
+ getImageData: v("xY"),
+ Km: v("ZF"),
+ d3: v("lM"),
+ L2: v("backgroundColor"),
+ M2: v("oK"),
+ N2: v("borderColor"),
+ O2: v("sK"),
+ a3: v("fontSize"),
+ l3: v("padding"),
+ e3: v("xE"),
+ vb: v("size"),
+ Dx: v("ye"),
+ ta: function (a) {
+ this.Kb = a;
+ this.Mf("position", a)
+ },
+ ia: v("Kb"),
+ ad: function (a) {
+ this.Sj = a;
+ this.Mf("content", a)
+ },
+ Bk: v("Sj"),
+ GF: function (a) {
+ this.Fq = a;
+ this.Mf("altitude", a)
+ },
+ dp: v("Fq"),
+ Fa: function () {
+ var a = this.ia(),
+ b = p,
+ c = p;
+ this.P && (c = this.P.ia());
+ if (a && c)
+ if (a.ab(c)) b = this.P.Fa();
+ else {
+ b = {};
+ b.heading = Ue(a.lng - c.lng, a.lat - c.lat) || 0;
+ var a = b,
+ c = this.dp(),
+ d = this.co();
+ a.pitch = Math.round(180 * (Math.atan(c / d) / Math.PI)) || 0
+ }
+ return b
+ },
+ co: function () {
+ var a = 0,
+ b, c;
+ this.P && (b = this.P.ia(), (c = this.ia()) && !c.ab(b) && (a = T.fp(b, c)));
+ return a
+ },
+ U: function () {
+ aa("hide\u65b9\u6cd5\u672a\u5b9e\u73b0")
+ },
+ show: function () {
+ aa("show\u65b9\u6cd5\u672a\u5b9e\u73b0")
+ },
+ Mf: t()
+ });
+ var Ve = Te.prototype;
+ U(Ve, {
+ setPosition: Ve.ta,
+ getPosition: Ve.ia,
+ setContent: Ve.ad,
+ getContent: Ve.Bk,
+ setAltitude: Ve.GF,
+ getAltitude: Ve.dp,
+ getPov: Ve.Fa,
+ show: Ve.show,
+ hide: Ve.U
+ });
+
+ function We(a, b) {
+ Se.call(this);
+ var c = {
+ icon: "",
+ title: "",
+ panoInfo: p,
+ altitude: 2
+ },
+ b = b || {},
+ d;
+ for (d in b) c[d] = b[d];
+ this.Kb = a;
+ this.lI = c.icon;
+ this.IJ = c.title;
+ this.Fq = c.altitude;
+ this.NT = c.panoInfo;
+ this.Ea = {
+ heading: 0,
+ pitch: 0
+ }
+ }
+ x.lang.ua(We, Se, "PanoramaMarker");
+ x.extend(We.prototype, {
+ ta: function (a) {
+ this.Kb = a;
+ this.Mf("position", a)
+ },
+ ia: v("Kb"),
+ Dc: function (a) {
+ this.IJ = a;
+ this.Mf("title", a)
+ },
+ np: v("IJ"),
+ Vb: function (a) {
+ this.lI = icon;
+ this.Mf("icon", a)
+ },
+ gp: v("lI"),
+ GF: function (a) {
+ this.Fq = a;
+ this.Mf("altitude", a)
+ },
+ dp: v("Fq"),
+ iE: v("NT"),
+ Fa: function () {
+ var a = p;
+ if (this.P) {
+ var a = this.P.ia(),
+ b = this.ia(),
+ a = Ue(b.lng - a.lng, b.lat - a.lat);
+ isNaN(a) && (a = 0);
+ a = {
+ heading: a,
+ pitch: 0
+ }
+ } else a = this.Ea;
+ return a
+ },
+ Mf: t()
+ });
+ var Xe = We.prototype;
+ U(Xe, {
+ setPosition: Xe.ta,
+ getPosition: Xe.ia,
+ setTitle: Xe.Dc,
+ getTitle: Xe.np,
+ setAltitude: Xe.GF,
+ getAltitude: Xe.dp,
+ getPanoInfo: Xe.iE,
+ getIcon: Xe.gp,
+ setIcon: Xe.Vb,
+ getPov: Xe.Fa
+ });
+
+ function Ue(a, b) {
+ var c = 0;
+ if (0 !== a && 0 !== b) {
+ var c = 180 * (Math.atan(a / b) / Math.PI),
+ d = 0;
+ 0 < a && 0 > b && (d = 90);
+ 0 > a && 0 > b && (d = 180);
+ 0 > a && 0 < b && (d = 270);
+ c = (c + 90) % 90 + d
+ } else 0 === a ? c = 0 > b ? 180 : 0 : 0 === b && (c = 0 < a ? 90 : 270);
+ return Math.round(c)
+ }
+
+ function Pa(a) {
+ if ("boolean" === typeof Ye) return Ye;
+ if (a === q || !window.WebGLRenderingContext) return Ye = q;
+ if (x.platform.Sm) {
+ a = 0;
+ try {
+ a = navigator.userAgent.split("Android ")[1].charAt(0)
+ } catch (b) { }
+ if (5 > a) return Ye = q
+ }
+ var a = document.createElement("canvas"),
+ c = p;
+ try {
+ c = a.getContext("webgl")
+ } catch (d) {
+ Ye = q
+ }
+ return Ye = c === p ? q : o
+ }
+ var Ye;
+
+ function Ze() {
+ if ("boolean" === typeof $e) return $e;
+ $e = o;
+ if (x.platform.HE) return o;
+ var a = navigator.userAgent;
+ return -1 < a.indexOf("Chrome") || -1 < a.indexOf("SAMSUNG-GT-I9508") ? o : $e = q
+ }
+ var $e;
+
+ function ad(a, b) {
+ this.P = a || p;
+ var c = this;
+ c.P && c.ca();
+ L.load("pservice", function () {
+ c.TQ()
+ });
+ "api" == (b || {}).of ? Ta(Ha) : Ta(Ia);
+ this.yd = {
+ getPanoramaById: [],
+ getPanoramaByLocation: [],
+ getVisiblePOIs: [],
+ getRecommendPanosById: [],
+ getPanoramaVersions: [],
+ checkPanoSupportByCityCode: [],
+ getPanoramaByPOIId: [],
+ getCopyrightProviders: []
+ }
+ }
+ B.bn(function (a) {
+ "flashRender" !== a.mr() && new ad(a, {
+ of: "api"
+ })
+ });
+ x.extend(ad.prototype, {
+ ca: function () {
+ function a(a) {
+ if (a) {
+ if (a.id != b.mw) {
+ b.vO(a.id);
+ b.ea = a;
+ Ze() || b.dispatchEvent(new N("onthumbnail_complete"));
+ b.Ya != p && (b.yl = b._position);
+ for (var c in a)
+ if (a.hasOwnProperty(c)) switch (b["_" + c] = a[c], c) {
+ case "position":
+ b.Kb = a[c];
+ break;
+ case "id":
+ b.Ya = a[c];
+ break;
+ case "links":
+ b.ko = a[c];
+ break;
+ case "zoom":
+ b.Kc = a[c]
+ }
+ if (b.yl) {
+ var f = b.yl,
+ g = b._position;
+ c = f.lat;
+ var i = g.lat,
+ k = Qb(i - c),
+ f = Qb(g.lng - f.lng);
+ c = Math.sin(k / 2) * Math.sin(k / 2) + Math.cos(Qb(c)) * Math.cos(Qb(i)) * Math.sin(f / 2) * Math.sin(f / 2);
+ b.AH = 6371E3 * 2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c))
+ }
+ c = new N("ondataload");
+ b.show();
+ c.data = a;
+ b.dispatchEvent(c);
+ b.dispatchEvent(new N("onposition_changed"));
+ b.dispatchEvent(new N("onlinks_changed"));
+ b.dispatchEvent(new N("oncopyright_changed"), {
+ copyright: a.copyright
+ });
+ a.jm ? (b.Fj({
+ haveBreakId: o
+ }), Xa() && b.k.closeControl && x.K.show(b.pr)) : x.K.U(b.pr)
+ }
+ } else b.Ya = b.xl, b.Kb = b.yl, b.dispatchEvent(new N("onnoresult"))
+ }
+ var b = this.P,
+ c = this;
+ b.addEventListener("id_changed", function () {
+ B.Jw("y");
+ c.kp(b.Yb(), a)
+ });
+ b.addEventListener("iid_changed", function () {
+ B.Jw("y");
+ c.mg(ad.jl + "qt=idata&iid=" + b.KA + "&fn=", function (b) {
+ if (b && b.result && 0 == b.result.error) {
+ var b = b.content[0].interinfo,
+ e = {};
+ e.jm = b.BreakID;
+ for (var f = b.Defaultfloor, g = p, i = 0; i < b.Floors.length; i++)
+ if (b.Floors[i].Floor == f) {
+ g = b.Floors[i];
+ break
+ }
+ e.id = g.StartID || g.Points[0].PID;
+ c.kp(e.id, a, e)
+ }
+ })
+ });
+ b.addEventListener("position_changed_inner", function () {
+ B.Jw("y");
+ c.tj(b.ia(), a)
+ })
+ },
+ kp: function (a, b) {
+ this.yd.getPanoramaById.push(arguments)
+ },
+ tj: function (a, b, c) {
+ this.yd.getPanoramaByLocation.push(arguments)
+ },
+ sE: function (a, b, c, d) {
+ this.yd.getVisiblePOIs.push(arguments)
+ },
+ Px: function (a, b) {
+ this.yd.getRecommendPanosById.push(arguments)
+ },
+ Ox: function (a) {
+ this.yd.getPanoramaVersions.push(arguments)
+ },
+ vC: function (a, b) {
+ this.yd.checkPanoSupportByCityCode.push(arguments)
+ },
+ Nx: function (a, b) {
+ this.yd.getPanoramaByPOIId.push(arguments)
+ },
+ HL: function (a) {
+ this.yd.getCopyrightProviders.push(arguments)
+ }
+ });
+ var af = ad.prototype;
+ U(af, {
+ getPanoramaById: af.kp,
+ getPanoramaByLocation: af.tj,
+ getPanoramaByPOIId: af.Nx
+ });
+
+ function $c(a) {
+ Gd.call(this);
+ "api" == (a || {}).of ? Ta(Ba) : Ta(Ca)
+ }
+ $c.SG = B.Sf("pano", "");
+ $c.prototype = new Gd;
+ $c.prototype.getTilesUrl = function (a, b) {
+ var c = $c.SG[(a.x + a.y) % $c.SG.length] + "?udt=20150114&qt=tile&styles=pl&x=" + a.x + "&y=" + a.y + "&z=" + b;
+ x.da.ma && 6 >= x.da.ma && (c += "&color_dep=32");
+ var d = Ec(c);
+ d ? (d = Pc(d.path, {
+ yp: q
+ }), c += "&" + d) : c = p;
+ return c
+ };
+ $c.prototype.Gt = ea(o);
+ bf.Xd = new T;
+
+ function bf() { }
+ x.extend(bf, {
+ HW: function (a, b, c) {
+ c = x.lang.Lc(c);
+ b = {
+ data: b
+ };
+ "position_changed" == a && (b.data = bf.Xd.Ej(new S(b.data.mercatorX, b.data.mercatorY)));
+ c.dispatchEvent(new N("on" + a), b)
+ }
+ });
+ var cf = bf;
+ U(cf, {
+ dispatchFlashEvent: cf.HW
+ });
+ var df = {
+ MP: 50
+ };
+ df.Ru = B.Sf("pano")[0];
+ df.Nu = {
+ width: 220,
+ height: 60
+ };
+ x.extend(df, {
+ wp: function (a, b, c, d) {
+ if (!b || !c || !c.lngLat || !c.panoInstance) d();
+ else {
+ this.qo === j && (this.qo = new ad(p, {
+ of: "api"
+ }));
+ var e = this;
+ this.qo.vC(b, function (b) {
+ b ? e.qo.tj(c.lngLat, df.MP, function (b) {
+ if (b && b.id) {
+ var f = b.id,
+ k = b.wh,
+ b = b.xh,
+ l = ad.Xd.zl(c.lngLat),
+ m = e.AS(l, {
+ x: k,
+ y: b
+ }),
+ k = e.RL(f, m, 0, df.Nu.width, df.Nu.height);
+ a.content = e.BS(a.content, k, c.titleTip, c.beforeDomId);
+ a.addEventListener("open", function () {
+ ja.M(x.Ec("infoWndPano"), "click", function () {
+ c.panoInstance.rc(f);
+ c.panoInstance.show();
+ c.panoInstance.Nc({
+ heading: m,
+ pitch: 0
+ })
+ })
+ })
+ }
+ d()
+ }) : d()
+ })
+ }
+ },
+ BS: function (a, b, c, d) {
+ var c = c || "",
+ e;
+ !d || !a.split(d)[0] ? (d = a, a = "") : (d = a.split(d)[0], e = d.lastIndexOf("<"), d = a.substring(0, e), a = a.substring(e));
+ e = [];
+ var f = df.Nu.width,
+ g = df.Nu.height;
+ e.push(d);
+ e.push("");
+ e.push(a);
+ return e.join("")
+ },
+ AS: function (a, b) {
+ var c = 90 - 180 * Math.atan2(a.y - b.y, a.x - b.x) / Math.PI;
+ 0 > c && (c += 360);
+ return c
+ },
+ RL: function (a, b, c, d, e) {
+ var f = df.Ru + "?qt=pr3d&fovy=75&quality=80&panoid={panoId}&heading={panoHeading}&pitch={panoPitch}&width={width}&height={height}",
+ g = {
+ panoId: a,
+ panoHeading: b || 0,
+ panoPitch: c || 0,
+ width: d,
+ height: e
+ },
+ f = f.replace(/\{(.*?)\}/g, function (a, b) {
+ return g[b]
+ });
+ return (a = Ec(f)) ? (a = Pc(a.path, {
+ yp: q
+ }), f + ("&" + a)) : p
+ }
+ });
+ var ef = document,
+ ff = Math,
+ gf = ef.createElement("div").style,
+ hf;
+ a: {
+ for (var jf = ["t", "webkitT", "MozT", "msT", "OT"], kf, lf = 0, mf = jf.length; lf < mf; lf++)
+ if (kf = jf[lf] + "ransform", kf in gf) {
+ hf = jf[lf].substr(0, jf[lf].length - 1);
+ break a
+ }
+ hf = q
+ }
+ var nf = hf ? "-" + hf.toLowerCase() + "-" : "",
+ pf = of("transform"),
+ qf = of("transitionProperty"),
+ rf = of("transitionDuration"),
+ sf = of("transformOrigin"),
+ tf = of("transitionTimingFunction"),
+ uf = of("transitionDelay"),
+ Be = /android/gi.test(navigator.appVersion),
+ vf = /iphone|ipad/gi.test(navigator.appVersion),
+ wf = /hp-tablet/gi.test(navigator.appVersion),
+ xf = of("perspective") in gf,
+ yf = "ontouchstart" in window && !wf,
+ zf = hf !== q,
+ Af = of("transition") in gf,
+ Bf = "onorientationchange" in window ? "orientationchange" : "resize",
+ Cf = yf ? "touchstart" : "mousedown",
+ Df = yf ? "touchmove" : "mousemove",
+ Ef = yf ? "touchend" : "mouseup",
+ Ff = yf ? "touchcancel" : "mouseup",
+ Gf = hf === q ? q : {
+ "": "transitionend",
+ webkit: "webkitTransitionEnd",
+ Moz: "transitionend",
+ O: "otransitionend",
+ ms: "MSTransitionEnd"
+ }[hf],
+ Jf = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (a) {
+ return setTimeout(a, 1)
+ },
+ Kf = window.cancelRequestAnimationFrame || window.n5 || window.webkitCancelRequestAnimationFrame || window.mozCancelRequestAnimationFrame || window.oCancelRequestAnimationFrame || window.msCancelRequestAnimationFrame || clearTimeout,
+ Lf = xf ? " translateZ(0)" : "";
+
+ function Mf(a, b) {
+ var c = this,
+ d;
+ c.Fn = "object" == typeof a ? a : ef.getElementById(a);
+ c.Fn.style.overflow = "hidden";
+ c.Nb = c.Fn.children[0];
+ c.options = {
+ rp: o,
+ Dn: o,
+ x: 0,
+ y: 0,
+ Mo: o,
+ FV: q,
+ py: o,
+ WE: o,
+ al: o,
+ Gi: q,
+ c0: 0,
+ Sw: q,
+ Sx: o,
+ si: o,
+ Hi: o,
+ KD: Be,
+ Vx: vf,
+ bX: vf && xf,
+ DF: "",
+ zoom: q,
+ cl: 1,
+ kq: 4,
+ JW: 2,
+ rP: "scroll",
+ ou: q,
+ az: 1,
+ BN: p,
+ tN: function (a) {
+ a.preventDefault()
+ },
+ EN: p,
+ sN: p,
+ DN: p,
+ rN: p,
+ xy: p,
+ FN: p,
+ wN: p,
+ Jp: p,
+ GN: p,
+ Ip: p
+ };
+ for (d in b) c.options[d] = b[d];
+ c.x = c.options.x;
+ c.y = c.options.y;
+ c.options.al = zf && c.options.al;
+ c.options.si = c.options.rp && c.options.si;
+ c.options.Hi = c.options.Dn && c.options.Hi;
+ c.options.zoom = c.options.al && c.options.zoom;
+ c.options.Gi = Af && c.options.Gi;
+ c.options.zoom && Be && (Lf = "");
+ c.Nb.style[qf] = c.options.al ? nf + "transform" : "top left";
+ c.Nb.style[rf] = "0";
+ c.Nb.style[sf] = "0 0";
+ c.options.Gi && (c.Nb.style[tf] = "cubic-bezier(0.33,0.66,0.66,1)");
+ c.options.al ? c.Nb.style[pf] = "translate(" + c.x + "px," + c.y + "px)" + Lf : c.Nb.style.cssText += ";position:absolute;top:" + c.y + "px;left:" + c.x + "px";
+ c.options.Gi && (c.options.KD = o);
+ c.refresh();
+ c.ca(Bf, window);
+ c.ca(Cf);
+ !yf && "none" != c.options.rP && (c.ca("DOMMouseScroll"), c.ca("mousewheel"));
+ c.options.Sw && (c.QV = setInterval(function () {
+ c.QQ()
+ }, 500));
+ this.options.Sx && (Event.prototype.stopImmediatePropagation || (document.body.removeEventListener = function (a, b, c) {
+ var d = Node.prototype.removeEventListener;
+ a === "click" ? d.call(document.body, a, b.jM || b, c) : d.call(document.body, a, b, c)
+ }, document.body.addEventListener = function (a, b, c) {
+ var d = Node.prototype.addEventListener;
+ a === "click" ? d.call(document.body, a, b.jM || (b.jM = function (a) {
+ a.HZ || b(a)
+ }), c) : d.call(document.body, a, b, c)
+ }), c.ca("click", document.body, o))
+ }
+ Mf.prototype = {
+ enabled: o,
+ x: 0,
+ y: 0,
+ Gj: [],
+ scale: 1,
+ PC: 0,
+ QC: 0,
+ Ve: [],
+ vf: [],
+ mC: p,
+ mz: 0,
+ handleEvent: function (a) {
+ switch (a.type) {
+ case Cf:
+ if (!yf && 0 !== a.button) break;
+ this.ew(a);
+ break;
+ case Df:
+ this.xT(a);
+ break;
+ case Ef:
+ case Ff:
+ this.pv(a);
+ break;
+ case Bf:
+ this.GB();
+ break;
+ case "DOMMouseScroll":
+ case "mousewheel":
+ this.bV(a);
+ break;
+ case Gf:
+ this.YU(a);
+ break;
+ case "click":
+ this.aR(a)
+ }
+ },
+ QQ: function () {
+ !this.th && (!this.dl && !(this.em || this.Py == this.Nb.offsetWidth * this.scale && this.Up == this.Nb.offsetHeight * this.scale)) && this.refresh()
+ },
+ Vv: function (a) {
+ var b;
+ this[a + "Scrollbar"] ? (this[a + "ScrollbarWrapper"] || (b = ef.createElement("div"), this.options.DF ? b.className = this.options.DF + a.toUpperCase() : b.style.cssText = "position:absolute;z-index:100;" + ("h" == a ? "height:7px;bottom:1px;left:2px;right:" + (this.Hi ? "7" : "2") + "px" : "width:7px;bottom:" + (this.si ? "7" : "2") + "px;top:2px;right:1px"), b.style.cssText += ";pointer-events:none;" + nf + "transition-property:opacity;" + nf + "transition-duration:" + (this.options.bX ? "350ms" : "0") + ";overflow:hidden;opacity:" + (this.options.Vx ? "0" : "1"), this.Fn.appendChild(b), this[a + "ScrollbarWrapper"] = b, b = ef.createElement("div"), this.options.DF || (b.style.cssText = "position:absolute;z-index:100;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);" + nf + "background-clip:padding-box;" + nf + "box-sizing:border-box;" + ("h" == a ? "height:100%" : "width:100%") + ";" + nf + "border-radius:3px;border-radius:3px"), b.style.cssText += ";pointer-events:none;" + nf + "transition-property:" + nf + "transform;" + nf + "transition-timing-function:cubic-bezier(0.33,0.66,0.66,1);" + nf + "transition-duration:0;" + nf + "transform: translate(0,0)" + Lf, this.options.Gi && (b.style.cssText += ";" + nf + "transition-timing-function:cubic-bezier(0.33,0.66,0.66,1)"), this[a + "ScrollbarWrapper"].appendChild(b), this[a + "ScrollbarIndicator"] = b), "h" == a ? (this.gM = this.hM.clientWidth, this.qY = ff.max(ff.round(this.gM * this.gM / this.Py), 8), this.pY.style.width = this.qY + "px") : (this.iP = this.jP.clientHeight, this.x0 = ff.max(ff.round(this.iP * this.iP / this.Up), 8), this.w0.style.height = this.x0 + "px"), this.HB(a, o)) : this[a + "ScrollbarWrapper"] && (zf && (this[a + "ScrollbarIndicator"].style[pf] = ""), this[a + "ScrollbarWrapper"].parentNode.removeChild(this[a + "ScrollbarWrapper"]), this[a + "ScrollbarWrapper"] = p, this[a + "ScrollbarIndicator"] = p)
+ },
+ GB: function () {
+ var a = this;
+ setTimeout(function () {
+ a.refresh()
+ }, Be ? 200 : 0)
+ },
+ Lr: function (a, b) {
+ this.dl || (a = this.rp ? a : 0, b = this.Dn ? b : 0, this.options.al ? this.Nb.style[pf] = "translate(" + a + "px," + b + "px) scale(" + this.scale + ")" + Lf : (a = ff.round(a), b = ff.round(b), this.Nb.style.left = a + "px", this.Nb.style.top = b + "px"), this.x = a, this.y = b, this.HB("h"), this.HB("v"))
+ },
+ HB: function (a, b) {
+ var c = "h" == a ? this.x : this.y;
+ this[a + "Scrollbar"] && (c *= this[a + "ScrollbarProp"], 0 > c ? (this.options.KD || (c = this[a + "ScrollbarIndicatorSize"] + ff.round(3 * c), 8 > c && (c = 8), this[a + "ScrollbarIndicator"].style["h" == a ? "width" : "height"] = c + "px"), c = 0) : c > this[a + "ScrollbarMaxScroll"] && (this.options.KD ? c = this[a + "ScrollbarMaxScroll"] : (c = this[a + "ScrollbarIndicatorSize"] - ff.round(3 * (c - this[a + "ScrollbarMaxScroll"])), 8 > c && (c = 8), this[a + "ScrollbarIndicator"].style["h" == a ? "width" : "height"] = c + "px", c = this[a + "ScrollbarMaxScroll"] + (this[a + "ScrollbarIndicatorSize"] - c))), this[a + "ScrollbarWrapper"].style[uf] = "0", this[a + "ScrollbarWrapper"].style.opacity = b && this.options.Vx ? "0" : "1", this[a + "ScrollbarIndicator"].style[pf] = "translate(" + ("h" == a ? c + "px,0)" : "0," + c + "px)") + Lf)
+ },
+ aR: function (a) {
+ if (a.WR === o) return this.eC = a.target, this.wx = Date.now(), o;
+ if (this.eC && this.wx) {
+ if (600 < Date.now() - this.wx) return this.wx = this.eC = p, o
+ } else {
+ for (var b = a.target; b != this.Nb && b != document.body;) b = b.parentNode;
+ if (b == document.body) return o
+ }
+ for (b = a.target; 1 != b.nodeType;) b = b.parentNode;
+ b = b.tagName.toLowerCase();
+ if ("select" != b && "input" != b && "textarea" != b) return a.stopImmediatePropagation ? a.stopImmediatePropagation() : a.HZ = o, a.stopPropagation(), a.preventDefault(), this.wx = this.eC = p, q
+ },
+ ew: function (a) {
+ var b = yf ? a.touches[0] : a,
+ c, d;
+ if (this.enabled) {
+ this.options.tN && this.options.tN.call(this, a);
+ (this.options.Gi || this.options.zoom) && this.JJ(0);
+ this.dl = this.em = this.th = q;
+ this.ZC = this.YC = this.yw = this.xw = this.eD = this.dD = 0;
+ this.options.zoom && (yf && 1 < a.touches.length) && (d = ff.abs(a.touches[0].pageX - a.touches[1].pageX), c = ff.abs(a.touches[0].pageY - a.touches[1].pageY), this.e0 = ff.sqrt(d * d + c * c), this.zy = ff.abs(a.touches[0].pageX + a.touches[1].pageX - 2 * this.nG) / 2 - this.x, this.Ay = ff.abs(a.touches[0].pageY + a.touches[1].pageY - 2 * this.oG) / 2 - this.y, this.options.Jp && this.options.Jp.call(this, a));
+ if (this.options.py && (this.options.al ? (c = getComputedStyle(this.Nb, p)[pf].replace(/[^0-9\-.,]/g, "").split(","), d = +(c[12] || c[4]), c = +(c[13] || c[5])) : (d = +getComputedStyle(this.Nb, p).left.replace(/[^0-9-]/g, ""), c = +getComputedStyle(this.Nb, p).top.replace(/[^0-9-]/g, "")), d != this.x || c != this.y)) this.options.Gi ? this.ae(Gf) : Kf(this.mC), this.Gj = [], this.Lr(d, c), this.options.xy && this.options.xy.call(this);
+ this.zw = this.x;
+ this.Aw = this.y;
+ this.su = this.x;
+ this.tu = this.y;
+ this.wh = b.pageX;
+ this.xh = b.pageY;
+ this.startTime = a.timeStamp || Date.now();
+ this.options.EN && this.options.EN.call(this, a);
+ this.ca(Df, window);
+ this.ca(Ef, window);
+ this.ca(Ff, window)
+ }
+ },
+ xT: function (a) {
+ var b = yf ? a.touches[0] : a,
+ c = b.pageX - this.wh,
+ d = b.pageY - this.xh,
+ e = this.x + c,
+ f = this.y + d,
+ g = a.timeStamp || Date.now();
+ this.options.sN && this.options.sN.call(this, a);
+ if (this.options.zoom && yf && 1 < a.touches.length) e = ff.abs(a.touches[0].pageX - a.touches[1].pageX), f = ff.abs(a.touches[0].pageY - a.touches[1].pageY), this.d0 = ff.sqrt(e * e + f * f), this.dl = o, b = 1 / this.e0 * this.d0 * this.scale, b < this.options.cl ? b = 0.5 * this.options.cl * Math.pow(2, b / this.options.cl) : b > this.options.kq && (b = 2 * this.options.kq * Math.pow(0.5, this.options.kq / b)), this.Dp = b / this.scale, e = this.zy - this.zy * this.Dp + this.x, f = this.Ay - this.Ay * this.Dp + this.y, this.Nb.style[pf] = "translate(" + e + "px," + f + "px) scale(" + b + ")" + Lf, this.options.GN && this.options.GN.call(this, a);
+ else {
+ this.wh = b.pageX;
+ this.xh = b.pageY;
+ if (0 < e || e < this.ke) e = this.options.Mo ? this.x + c / 2 : 0 <= e || 0 <= this.ke ? 0 : this.ke;
+ if (f > this.sf || f < this.qd) f = this.options.Mo ? this.y + d / 2 : f >= this.sf || 0 <= this.qd ? this.sf : this.qd;
+ this.dD += c;
+ this.eD += d;
+ this.xw = ff.abs(this.dD);
+ this.yw = ff.abs(this.eD);
+ 6 > this.xw && 6 > this.yw || (this.options.WE && (this.xw > this.yw + 5 ? (f = this.y, d = 0) : this.yw > this.xw + 5 && (e = this.x, c = 0)), this.th = o, this.Lr(e, f), this.YC = 0 < c ? -1 : 0 > c ? 1 : 0, this.ZC = 0 < d ? -1 : 0 > d ? 1 : 0, 300 < g - this.startTime && (this.startTime = g, this.su = this.x, this.tu = this.y), this.options.DN && this.options.DN.call(this, a))
+ }
+ },
+ pv: function (a) {
+ if (!(yf && 0 !== a.touches.length)) {
+ var b = this,
+ c = yf ? a.changedTouches[0] : a,
+ d, e, f = {
+ Ca: 0,
+ time: 0
+ },
+ g = {
+ Ca: 0,
+ time: 0
+ },
+ i = (a.timeStamp || Date.now()) - b.startTime;
+ d = b.x;
+ e = b.y;
+ b.ae(Df, window);
+ b.ae(Ef, window);
+ b.ae(Ff, window);
+ b.options.rN && b.options.rN.call(b, a);
+ if (b.dl) d = b.scale * b.Dp, d = Math.max(b.options.cl, d), d = Math.min(b.options.kq, d), b.Dp = d / b.scale, b.scale = d, b.x = b.zy - b.zy * b.Dp + b.x, b.y = b.Ay - b.Ay * b.Dp + b.y, b.Nb.style[rf] = "200ms", b.Nb.style[pf] = "translate(" + b.x + "px," + b.y + "px) scale(" + b.scale + ")" + Lf, b.dl = q, b.refresh(), b.options.Ip && b.options.Ip.call(b, a);
+ else {
+ if (b.th) {
+ if (300 > i && b.options.py) {
+ f = d ? b.GI(d - b.su, i, -b.x, b.Py - b.Gu + b.x, b.options.Mo ? b.Gu : 0) : f;
+ g = e ? b.GI(e - b.tu, i, -b.y, 0 > b.qd ? b.Up - b.Gn + b.y - b.sf : 0, b.options.Mo ? b.Gn : 0) : g;
+ d = b.x + f.Ca;
+ e = b.y + g.Ca;
+ if (0 < b.x && 0 < d || b.x < b.ke && d < b.ke) f = {
+ Ca: 0,
+ time: 0
+ };
+ if (b.y > b.sf && e > b.sf || b.y < b.qd && e < b.qd) g = {
+ Ca: 0,
+ time: 0
+ }
+ }
+ f.Ca || g.Ca ? (c = ff.max(ff.max(f.time, g.time), 10), b.options.ou && (f = d - b.zw, g = e - b.Aw, ff.abs(f) < b.options.az && ff.abs(g) < b.options.az ? b.scrollTo(b.zw, b.Aw, 200) : (f = b.AJ(d, e), d = f.x, e = f.y, c = ff.max(f.time, c))), b.scrollTo(ff.round(d), ff.round(e), c)) : b.options.ou ? (f = d - b.zw, g = e - b.Aw, ff.abs(f) < b.options.az && ff.abs(g) < b.options.az ? b.scrollTo(b.zw, b.Aw, 200) : (f = b.AJ(b.x, b.y), (f.x != b.x || f.y != b.y) && b.scrollTo(f.x, f.y, f.time))) : b.so(200)
+ } else {
+ if (yf)
+ if (b.ZK && b.options.zoom) clearTimeout(b.ZK), b.ZK = p, b.options.Jp && b.options.Jp.call(b, a), b.zoom(b.wh, b.xh, 1 == b.scale ? b.options.JW : 1), b.options.Ip && setTimeout(function () {
+ b.options.Ip.call(b, a)
+ }, 200);
+ else if (this.options.Sx) {
+ for (d = c.target; 1 != d.nodeType;) d = d.parentNode;
+ e = d.tagName.toLowerCase();
+ "select" != e && "input" != e && "textarea" != e ? (e = ef.createEvent("MouseEvents"), e.initMouseEvent("click", o, o, a.view, 1, c.screenX, c.screenY, c.clientX, c.clientY, a.ctrlKey, a.altKey, a.shiftKey, a.metaKey, 0, p), e.WR = o, d.dispatchEvent(e)) : d.focus()
+ }
+ b.so(400)
+ }
+ b.options.FN && b.options.FN.call(b, a)
+ }
+ }
+ },
+ so: function (a) {
+ var b = 0 <= this.x ? 0 : this.x < this.ke ? this.ke : this.x,
+ c = this.y >= this.sf || 0 < this.qd ? this.sf : this.y < this.qd ? this.qd : this.y;
+ if (b == this.x && c == this.y) {
+ if (this.th && (this.th = q, this.options.xy && this.options.xy.call(this)), this.si && this.options.Vx && ("webkit" == hf && (this.hM.style[uf] = "300ms"), this.hM.style.opacity = "0"), this.Hi && this.options.Vx) "webkit" == hf && (this.jP.style[uf] = "300ms"), this.jP.style.opacity = "0"
+ } else this.scrollTo(b, c, a || 0)
+ },
+ bV: function (a) {
+ var b = this,
+ c, d;
+ if ("wheelDeltaX" in a) c = a.wheelDeltaX / 12, d = a.wheelDeltaY / 12;
+ else if ("wheelDelta" in a) c = d = a.wheelDelta / 12;
+ else if ("detail" in a) c = d = 3 * -a.detail;
+ else return;
+ if ("zoom" == b.options.rP) {
+ if (d = b.scale * Math.pow(2, 1 / 3 * (d ? d / Math.abs(d) : 0)), d < b.options.cl && (d = b.options.cl), d > b.options.kq && (d = b.options.kq), d != b.scale) !b.mz && b.options.Jp && b.options.Jp.call(b, a), b.mz++, b.zoom(a.pageX, a.pageY, d, 400), setTimeout(function () {
+ b.mz--;
+ !b.mz && b.options.Ip && b.options.Ip.call(b, a)
+ }, 400)
+ } else c = b.x + c, d = b.y + d, 0 < c ? c = 0 : c < b.ke && (c = b.ke), d > b.sf ? d = b.sf : d < b.qd && (d = b.qd), 0 > b.qd && b.scrollTo(c, d, 0)
+ },
+ YU: function (a) {
+ a.target == this.Nb && (this.ae(Gf), this.TB())
+ },
+ TB: function () {
+ var a = this,
+ b = a.x,
+ c = a.y,
+ d = Date.now(),
+ e, f, g;
+ a.em || (a.Gj.length ? (e = a.Gj.shift(), e.x == b && e.y == c && (e.time = 0), a.em = o, a.th = o, a.options.Gi) ? (a.JJ(e.time), a.Lr(e.x, e.y), a.em = q, e.time ? a.ca(Gf) : a.so(0)) : (g = function () {
+ var i = Date.now(),
+ k;
+ if (i >= d + e.time) {
+ a.Lr(e.x, e.y);
+ a.em = q;
+ a.options.qZ && a.options.qZ.call(a);
+ a.TB()
+ } else {
+ i = (i - d) / e.time - 1;
+ f = ff.sqrt(1 - i * i);
+ i = (e.x - b) * f + b;
+ k = (e.y - c) * f + c;
+ a.Lr(i, k);
+ if (a.em) a.mC = Jf(g)
+ }
+ }, g()) : a.so(400))
+ },
+ JJ: function (a) {
+ a += "ms";
+ this.Nb.style[rf] = a;
+ this.si && (this.pY.style[rf] = a);
+ this.Hi && (this.w0.style[rf] = a)
+ },
+ GI: function (a, b, c, d, e) {
+ var b = ff.abs(a) / b,
+ f = b * b / 0.0012;
+ 0 < a && f > c ? (c += e / (6 / (6.0E-4 * (f / b))), b = b * c / f, f = c) : 0 > a && f > d && (d += e / (6 / (6.0E-4 * (f / b))), b = b * d / f, f = d);
+ return {
+ Ca: f * (0 > a ? -1 : 1),
+ time: ff.round(b / 6.0E-4)
+ }
+ },
+ gk: function (a) {
+ for (var b = -a.offsetLeft, c = -a.offsetTop; a = a.offsetParent;) b -= a.offsetLeft, c -= a.offsetTop;
+ a != this.Fn && (b *= this.scale, c *= this.scale);
+ return {
+ left: b,
+ top: c
+ }
+ },
+ AJ: function (a, b) {
+ var c, d, e;
+ e = this.Ve.length - 1;
+ c = 0;
+ for (d = this.Ve.length; c < d; c++)
+ if (a >= this.Ve[c]) {
+ e = c;
+ break
+ }
+ e == this.PC && (0 < e && 0 > this.YC) && e--;
+ a = this.Ve[e];
+ d = (d = ff.abs(a - this.Ve[this.PC])) ? 500 * (ff.abs(this.x - a) / d) : 0;
+ this.PC = e;
+ e = this.vf.length - 1;
+ for (c = 0; c < e; c++)
+ if (b >= this.vf[c]) {
+ e = c;
+ break
+ }
+ e == this.QC && (0 < e && 0 > this.ZC) && e--;
+ b = this.vf[e];
+ c = (c = ff.abs(b - this.vf[this.QC])) ? 500 * (ff.abs(this.y - b) / c) : 0;
+ this.QC = e;
+ e = ff.round(ff.max(d, c)) || 200;
+ return {
+ x: a,
+ y: b,
+ time: e
+ }
+ },
+ ca: function (a, b, c) {
+ (b || this.Nb).addEventListener(a, this, !!c)
+ },
+ ae: function (a, b, c) {
+ (b || this.Nb).removeEventListener(a, this, !!c)
+ },
+ VC: ha(2),
+ refresh: function () {
+ var a, b, c, d = 0;
+ b = 0;
+ this.scale < this.options.cl && (this.scale = this.options.cl);
+ this.Gu = this.Fn.clientWidth || 1;
+ this.Gn = this.Fn.clientHeight || 1;
+ this.sf = -this.options.c0 || 0;
+ this.Py = ff.round(this.Nb.offsetWidth * this.scale);
+ this.Up = ff.round((this.Nb.offsetHeight + this.sf) * this.scale);
+ this.ke = this.Gu - this.Py;
+ this.qd = this.Gn - this.Up + this.sf;
+ this.ZC = this.YC = 0;
+ this.options.BN && this.options.BN.call(this);
+ this.rp = this.options.rp && 0 > this.ke;
+ this.Dn = this.options.Dn && (!this.options.FV && !this.rp || this.Up > this.Gn);
+ this.si = this.rp && this.options.si;
+ this.Hi = this.Dn && this.options.Hi && this.Up > this.Gn;
+ a = this.gk(this.Fn);
+ this.nG = -a.left;
+ this.oG = -a.top;
+ if ("string" == typeof this.options.ou) {
+ this.Ve = [];
+ this.vf = [];
+ c = this.Nb.querySelectorAll(this.options.ou);
+ a = 0;
+ for (b = c.length; a < b; a++) d = this.gk(c[a]), d.left += this.nG, d.top += this.oG, this.Ve[a] = d.left < this.ke ? this.ke : d.left * this.scale, this.vf[a] = d.top < this.qd ? this.qd : d.top * this.scale
+ } else if (this.options.ou) {
+ for (this.Ve = []; d >= this.ke;) this.Ve[b] = d, d -= this.Gu, b++;
+ this.ke % this.Gu && (this.Ve[this.Ve.length] = this.ke - this.Ve[this.Ve.length - 1] + this.Ve[this.Ve.length - 1]);
+ b = d = 0;
+ for (this.vf = []; d >= this.qd;) this.vf[b] = d, d -= this.Gn, b++;
+ this.qd % this.Gn && (this.vf[this.vf.length] = this.qd - this.vf[this.vf.length - 1] + this.vf[this.vf.length - 1])
+ }
+ this.Vv("h");
+ this.Vv("v");
+ this.dl || (this.Nb.style[rf] = "0", this.so(400))
+ },
+ scrollTo: function (a, b, c, d) {
+ var e = a;
+ this.stop();
+ e.length || (e = [{
+ x: a,
+ y: b,
+ time: c,
+ JZ: d
+ }]);
+ a = 0;
+ for (b = e.length; a < b; a++) e[a].JZ && (e[a].x = this.x - e[a].x, e[a].y = this.y - e[a].y), this.Gj.push({
+ x: e[a].x,
+ y: e[a].y,
+ time: e[a].time || 0
+ });
+ this.TB()
+ },
+ disable: function () {
+ this.stop();
+ this.so(0);
+ this.enabled = q;
+ this.ae(Df, window);
+ this.ae(Ef, window);
+ this.ae(Ff, window)
+ },
+ enable: function () {
+ this.enabled = o
+ },
+ stop: function () {
+ this.options.Gi ? this.ae(Gf) : Kf(this.mC);
+ this.Gj = [];
+ this.em = this.th = q
+ },
+ zoom: function (a, b, c, d) {
+ var e = c / this.scale;
+ this.options.al && (this.dl = o, d = d === j ? 200 : d, a = a - this.nG - this.x, b = b - this.oG - this.y, this.x = a - a * e + this.x, this.y = b - b * e + this.y, this.scale = c, this.refresh(), this.x = 0 < this.x ? 0 : this.x < this.ke ? this.ke : this.x, this.y = this.y > this.sf ? this.sf : this.y < this.qd ? this.qd : this.y, this.Nb.style[rf] = d + "ms", this.Nb.style[pf] = "translate(" + this.x + "px," + this.y + "px) scale(" + c + ")" + Lf, this.dl = q)
+ }
+ };
+
+ function of(a) {
+ if ("" === hf) return a;
+ a = a.charAt(0).toUpperCase() + a.substr(1);
+ return hf + a
+ }
+ gf = p;
+
+ function Nf(a) {
+ this.k = {
+ anchor: Tc,
+ offset: new M(0, 0),
+ maxWidth: "100%",
+ imageHeight: 80
+ };
+ var a = a || {},
+ b;
+ for (b in a) this.k[b] = a[b];
+ this.Rl = new ad(p, {
+ of: "api"
+ });
+ this.hk = [];
+ this.P = p;
+ this.fg = {
+ height: this.k.imageHeight,
+ width: this.k.imageHeight * Of
+ };
+ this.Pc = this.IB = this.jm = this.Xc = p
+ }
+ var Pf = [0, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 5, 5, 5, 6, 6, 7, 8, 8, 8, 9, 10],
+ Qf = "\u5176\u4ed6 \u6b63\u95e8 \u623f\u578b \u8bbe\u65bd \u6b63\u95e8 \u9910\u996e\u8bbe\u65bd \u5176\u4ed6\u8bbe\u65bd \u6b63\u95e8 \u8bbe\u65bd \u89c2\u5f71\u5385 \u5176\u4ed6\u8bbe\u65bd".split(" ");
+ B.bn(function (a) {
+ var b = p;
+ a.addEventListener("position_changed", function () {
+ a.k.visible && a.k.albumsControl === o && (b ? b.Jy(a.Yb()) : (b = new Nf(a.k.albumsControlOptions), b.ra(a)))
+ });
+ a.addEventListener("albums_visible_changed", function () {
+ a.k.albumsControl === o ? (b ? b.Jy(a.Yb()) : (b = new Nf(a.k.albumsControlOptions), b.ra(a)), b.show()) : b.U()
+ });
+ a.addEventListener("albums_options_changed", function () {
+ b && b.Fj(a.k.albumsControlOptions)
+ });
+ a.addEventListener("visible_changed", function () {
+ b && (a.rE() ? a.k.albumsControl === o && (b.C.style.visibility = "visible") : b.C.style.visibility = "hidden")
+ })
+ });
+ var Of = 1.8;
+ J() && (Of = 1);
+ x.extend(Nf.prototype, {
+ Fj: function (a) {
+ for (var b in a) this.k[b] = a[b];
+ a = this.k.imageHeight + "px";
+ this.qc(this.k.anchor);
+ this.C.style.width = isNaN(Number(this.k.maxWidth)) === o ? this.k.maxWidth : this.k.maxWidth + "px";
+ this.C.style.height = a;
+ this.mk.style.height = a;
+ this.$h.style.height = a;
+ this.fg = {
+ height: this.k.imageHeight,
+ width: this.k.imageHeight * Of
+ };
+ this.lk.style.height = this.fg.height - 6 + "px";
+ this.lk.style.width = this.fg.width - 6 + "px";
+ this.Jy(this.P.Yb(), o)
+ },
+ ra: function (a) {
+ this.P = a;
+ this.vs();
+ this.zQ();
+ this.EY();
+ this.Jy(a.Yb())
+ },
+ vs: function () {
+ var a = this.k.imageHeight + "px";
+ this.C = H("div");
+ var b = this.C.style;
+ b.cssText = "background:rgb(37,37,37);background:rgba(37,37,37,0.9);";
+ b.position = "absolute";
+ b.zIndex = "2000";
+ b.width = isNaN(Number(this.k.maxWidth)) === o ? this.k.maxWidth : this.k.maxWidth + "px";
+ b.padding = "8px 0";
+ b.visibility = "hidden";
+ b.height = a;
+ this.mk = H("div");
+ b = this.mk.style;
+ b.position = "absolute";
+ b.overflow = "hidden";
+ b.width = "100%";
+ b.height = a;
+ this.$h = H("div");
+ b = this.$h.style;
+ b.height = a;
+ this.mk.appendChild(this.$h);
+ this.C.appendChild(this.mk);
+ this.P.C.appendChild(this.C);
+ this.lk = H("div", {
+ "class": "pano_photo_item_seleted"
+ });
+ this.lk.style.height = this.fg.height - 6 + "px";
+ this.lk.style.width = this.fg.width - 6 + "px";
+ this.qc(this.k.anchor)
+ },
+ XH: function (a) {
+ for (var b = this.hk, c = b.length - 1; 0 <= c; c--)
+ if (b[c].panoId == a) return c;
+ return -1
+ },
+ Jy: function (a, b) {
+ if (b || !this.hk[this.Xc] || !(this.hk[this.Xc].panoId == a && 3 !== this.hk[this.Xc].recoType)) {
+ var c = this,
+ d = this.XH(a);
+ !b && -1 !== d && this.hk[d] && 3 !== this.hk[d].recoType ? this.Yp(d) : this.WX(function (a) {
+ for (var b = {}, d, i, k = q, l = [], m = 0, n = a.length; m < n; m++) d = a[m].catlog, i = a[m].floor, j !== d && ("" === d && j !== i ? (k = o, b[i] || (b[i] = []), b[i].push(a[m])) : (b[Pf[d]] || (b[Pf[d]] = []), b[Pf[d]].push(a[m])));
+ for (var s in b) k ? l.push({
+ data: s + "F",
+ index: s
+ }) : l.push({
+ data: Qf[s],
+ index: s
+ });
+ c.nH = b;
+ c.Ti = l;
+ c.Nl(a);
+ 0 == a.length ? c.U() : c.show()
+ })
+ }
+ },
+ oW: function () {
+ if (!this.Qi) {
+ var a = this.KX(this.Ti),
+ b = H("div");
+ b.style.cssText = ["width:" + 134 * this.Ti.length + "px;", "overflow:hidden;-ms-user-select:none;-moz-user-select:none;-webkit-user-select:none;"].join("");
+ b.innerHTML = a;
+ a = H("div");
+ a.appendChild(b);
+ a.style.cssText = "position:absolute;top:-25px;background:rgb(37,37,37);background:rgba(37,37,37,0.9);border-bottom:1px solid #4e596a;width:100%;line-height:25px;height:25px;overflow:scroll;outline:0";
+ new Mf(a, {
+ Mo: q,
+ py: o,
+ si: q,
+ Hi: q,
+ Dn: q,
+ WE: o,
+ Sw: o,
+ Sx: o
+ });
+ this.C.appendChild(a);
+ for (var c = this, d = b.getElementsByTagName("span"), e = 0, f = d.length; e < f; e++) b = d[e], x.M(b, "click", function () {
+ if (this.getAttribute("dataindex")) {
+ c.Nl(c.nH[this.getAttribute("dataindex")]);
+ for (var a = 0, b = d.length; a < b; a++) d[a].style.color = "#FFFFFF";
+ this.style.color = "#3383FF"
+ }
+ });
+ this.Qi = a
+ }
+ },
+ lW: function () {
+ if (this.Qi) a = this.FL(this.Ti), this.PQ.innerHTML = a;
+ else {
+ var a = this.FL(this.Ti),
+ b = H("ul"),
+ c = this;
+ b.style.cssText = "list-style: none;padding:0px;margin:0px;display:block;width:60px;position:absolute;top:7px";
+ b.innerHTML = a;
+ x.M(b, "click", function (a) {
+ if (a = (a.srcElement || a.target).getAttribute("dataindex")) {
+ c.Nl(c.nH[a]);
+ for (var d = b.getElementsByTagName("li"), e = 0, f = d.length; e < f; e++) d[e].childNodes[0].getAttribute("dataindex") === a ? x.K.Ta(d[e], "pano_catlogLiActive") : x.K.Tb(d[e], "pano_catlogLiActive")
+ }
+ });
+ var a = H("div"),
+ d = H("a"),
+ e = H("span"),
+ f = H("a"),
+ g = H("span"),
+ i = ["background:url(" + I.pa + "panorama/catlog_icon.png) no-repeat;", "display:block;width:10px;height:7px;margin:0 auto;"].join("");
+ e.style.cssText = i + "background-position:-18px 0;";
+ d.style.cssText = "background:#1C1C1C;display:block;position:absolute;width:58px;";
+ g.style.cssText = i + "background-position:0 0;";
+ f.style.cssText = "background:#1C1C1C;display:block;position:absolute;width:58px;";
+ f.style.top = this.k.imageHeight - 7 + "px";
+ a.style.cssText = "position:absolute;top:0px;left:0px;width:60px;";
+ d.appendChild(e);
+ f.appendChild(g);
+ x.M(d, "mouseover", function () {
+ var a = parseInt(b.style.top, 10);
+ 7 !== a && (e.style.backgroundPosition = "-27px 0");
+ new vb({
+ Hc: 60,
+ hc: wb.Qs,
+ duration: 300,
+ va: function (c) {
+ b.style.top = a + (7 - a) * c + "px"
+ }
+ })
+ });
+ x.M(d, "mouseout", function () {
+ e.style.backgroundPosition = "-18px 0"
+ });
+ x.M(f, "mouseover", function () {
+ var a = parseInt(b.style.top, 10),
+ d = c.k.imageHeight - 14;
+ if (!(parseInt(b.offsetHeight, 10) < d)) {
+ var e = d - parseInt(b.offsetHeight, 10) + 7;
+ e !== a && (g.style.backgroundPosition = "-9px 0");
+ new vb({
+ Hc: 60,
+ hc: wb.Qs,
+ duration: 300,
+ va: function (c) {
+ b.style.top = a + (e - a) * c + "px"
+ }
+ })
+ }
+ });
+ x.M(f, "mouseout", function () {
+ g.style.backgroundPosition = "0 0"
+ });
+ a.appendChild(d);
+ a.appendChild(f);
+ d = H("div");
+ d.style.cssText = ["position:absolute;z-index:2001;left:20px;", "height:" + this.k.imageHeight + "px;", "width:62px;overflow:hidden;background:rgb(37,37,37);background:rgba(37,37,37,0.9);"].join("");
+ d.appendChild(b);
+ d.appendChild(a);
+ this.Qi = d;
+ this.PQ = b;
+ this.C.appendChild(d)
+ }
+ },
+ mW: function () {
+ if (this.Ti && !(0 >= this.Ti.length)) {
+ var a = H("div");
+ a.innerHTML = this.qA;
+ a.style.cssText = "position:absolute;background:#252525";
+ this.C.appendChild(a);
+ this.Us = a;
+ this.Pc.gg.style.left = this.fg.width + 8 + "px";
+ this.Qi && (this.Qi.style.left = parseInt(this.Qi.style.left, 10) + this.fg.width + 8 + "px");
+ var b = this;
+ x.M(a, "click", function () {
+ b.P.rc(b.YW)
+ })
+ }
+ },
+ Nl: function (a) {
+ this.hk = a;
+ this.k.showCatalog && (0 < this.Ti.length ? (Xa() ? this.lW() : this.oW(), this.Pc.offsetLeft = 60) : (this.Us && (this.C.removeChild(this.Us), this.Us = p, this.Pc.gg.style.left = "0px"), this.Qi && (this.C.removeChild(this.Qi), this.Qi = p), this.Pc.offsetLeft = 0));
+ var b = this.EX(a);
+ Xa() && (this.Ti && 0 < this.Ti.length && this.k.showExit && this.qA) && (this.Pc.offsetLeft += this.fg.width + 8, this.Us ? this.Us.innerHTML = this.qA : this.mW());
+ this.$h.innerHTML = b;
+ this.$h.style.width = (this.fg.width + 8) * a.length + 8 + "px";
+ a = this.C.offsetWidth;
+ b = this.$h.offsetWidth;
+ this.Pc.at && (b += this.Pc.at());
+ b < a - 2 * this.Pc.Ki - this.Pc.offsetLeft ? this.C.style.width = b + this.Pc.offsetLeft + "px" : (this.C.style.width = isNaN(Number(this.k.maxWidth)) === o ? this.k.maxWidth : this.k.maxWidth + "px", b < this.C.offsetWidth - 2 * this.Pc.Ki - this.Pc.offsetLeft && (this.C.style.width = b + this.Pc.offsetLeft + "px"));
+ this.Pc.refresh();
+ this.IB = this.$h.children;
+ this.$h.appendChild(this.lk);
+ this.lk.style.left = "-100000px";
+ a = this.XH(this.P.Yb(), this.I1); - 1 !== a && this.Yp(a)
+ },
+ KX: function (a) {
+ for (var b = "", c, d = 0, e = a.length; d < e; d++) c = '' + a[d].data + "
", b += c;
+ return b
+ },
+ FL: function (a) {
+ for (var b = "", c, d = 0, e = a.length; d < e; d++) c = '' + a[d].data + "", b += c;
+ return b
+ },
+ EX: function (a) {
+ for (var b, c, d, e, f = [], g = this.fg.height, i = this.fg.width, k = 0; k < a.length; k++) b = a[k], recoType = b.recoType, d = b.panoId, e = b.name, c = b.heading, b = b.pitch, c = df.RL(d, c, b, 198, 108), b = '
' + e + "", 3 === recoType ? Xa() ? (this.qA = b, this.YW = d, a.splice(k, 1), k--) : (b = '
', f.push(b)) : f.push(b);
+ return f.join("")
+ },
+ WX: function (a) {
+ var b = this,
+ c = this.P.Yb();
+ c && this.Rl.Px(c, function (d) {
+ b.P.Yb() === c && a(d)
+ })
+ },
+ qc: function (a) {
+ if (!Za(a) || isNaN(a) || a < Rc || 3 < a) a = this.defaultAnchor;
+ var b = this.C,
+ c = this.k.offset.width,
+ d = this.k.offset.height;
+ b.style.left = b.style.top = b.style.right = b.style.bottom = "auto";
+ switch (a) {
+ case Rc:
+ b.style.top = d + "px";
+ b.style.left = c + "px";
+ break;
+ case Sc:
+ b.style.top = d + "px";
+ b.style.right = c + "px";
+ break;
+ case Tc:
+ b.style.bottom = d + "px";
+ b.style.left = c + "px";
+ break;
+ case 3:
+ b.style.bottom = d + "px", b.style.right = c + "px"
+ }
+ },
+ zQ: function () {
+ this.xQ()
+ },
+ xQ: function () {
+ var a = this;
+ x.M(this.C, "touchstart", function (a) {
+ a.stopPropagation()
+ });
+ x.M(this.mk, "click", function (b) {
+ if ((b = (b.srcElement || b.target).getAttribute("data-index")) && b != a.Xc) a.Yp(b), a.P.rc(a.hk[b].panoId)
+ });
+ x.M(this.$h, "mouseover", function (b) {
+ b = (b.srcElement || b.target).getAttribute("data-index");
+ b !== p && a.FK(b, o)
+ });
+ this.P.addEventListener("size_changed", function () {
+ isNaN(Number(a.k.maxWidth)) && a.Fj({
+ maxWidth: a.k.maxWidth
+ })
+ })
+ },
+ Yp: function (a) {
+ this.lk.style.left = this.IB[a].offsetLeft + 8 + "px";
+ this.lk.setAttribute("data-index", this.IB[a].getAttribute("data-index"));
+ this.Xc = a;
+ this.FK(a)
+ },
+ FK: function (a, b) {
+ var c = this.fg.width + 8,
+ d = 0;
+ this.Pc.at && (d = this.Pc.at() / 2);
+ var e = this.mk.offsetWidth - 2 * d,
+ f = this.$h.offsetLeft || this.Pc.x,
+ f = f - d,
+ g = -a * c;
+ g > f && this.Pc.scrollTo(g + d);
+ c = g - c;
+ f -= e;
+ c < f && (!b || b && 8 < g - f) && this.Pc.scrollTo(c + e + d)
+ },
+ EY: function () {
+ this.Pc = J() ? new Mf(this.mk, {
+ Mo: q,
+ py: o,
+ si: q,
+ Hi: q,
+ Dn: q,
+ WE: o,
+ Sw: o,
+ Sx: o
+ }) : new Rf(this.mk)
+ },
+ U: function () {
+ this.C.style.visibility = "hidden"
+ },
+ show: function () {
+ this.C.style.visibility = "visible"
+ }
+ });
+
+ function Rf(a) {
+ this.C = a;
+ this.Wg = a.children[0];
+ this.Zr = p;
+ this.Ki = 20;
+ this.offsetLeft = 0;
+ this.ra()
+ }
+ Rf.prototype = {
+ ra: function () {
+ this.Wg.style.position = "relative";
+ this.refresh();
+ this.vs();
+ this.hm()
+ },
+ refresh: function () {
+ this.oo = this.C.offsetWidth - this.at();
+ this.gB = -(this.Wg.offsetWidth - this.oo - this.Ki);
+ this.Hv = this.Ki + this.offsetLeft;
+ this.Wg.style.left = this.Hv + "px";
+ this.Wg.children[0] && (this.Zr = this.Wg.children[0].offsetWidth);
+ this.gg && (this.gg.children[0].style.marginTop = this.Rr.children[0].style.marginTop = this.gg.offsetHeight / 2 - this.gg.children[0].offsetHeight / 2 + "px")
+ },
+ at: function () {
+ return 2 * this.Ki
+ },
+ vs: function () {
+ this.Wv = H("div");
+ this.Wv.innerHTML = '';
+ this.gg = this.Wv.children[0];
+ this.Rr = this.Wv.children[1];
+ this.C.appendChild(this.Wv);
+ this.gg.children[0].style.marginTop = this.Rr.children[0].style.marginTop = this.gg.offsetHeight / 2 - this.gg.children[0].offsetHeight / 2 + "px"
+ },
+ hm: function () {
+ var a = this;
+ x.M(this.gg, "click", function () {
+ a.scrollTo(a.Wg.offsetLeft + a.oo)
+ });
+ x.M(this.Rr, "click", function () {
+ a.scrollTo(a.Wg.offsetLeft - a.oo)
+ })
+ },
+ ZU: function () {
+ x.K.Tb(this.gg, "pano_arrow_disable");
+ x.K.Tb(this.Rr, "pano_arrow_disable");
+ var a = this.Wg.offsetLeft;
+ a >= this.Hv && x.K.Ta(this.gg, "pano_arrow_disable");
+ a - this.oo <= this.gB && x.K.Ta(this.Rr, "pano_arrow_disable")
+ },
+ scrollTo: function (a) {
+ a = a < this.Wg.offsetLeft ? Math.ceil((a - this.Ki - this.oo) / this.Zr) * this.Zr + this.oo + this.Ki - 8 : Math.ceil((a - this.Ki) / this.Zr) * this.Zr + this.Ki;
+ a < this.gB ? a = this.gB : a > this.Hv && (a = this.Hv);
+ var b = this.Wg.offsetLeft,
+ c = this;
+ new vb({
+ Hc: 60,
+ hc: wb.Qs,
+ duration: 300,
+ va: function (d) {
+ c.Wg.style.left = b + (a - b) * d + "px"
+ },
+ finish: function () {
+ c.ZU()
+ }
+ })
+ }
+ };
+ B.Map = Na;
+ B.Hotspot = lb;
+ B.MapType = Ud;
+ B.Point = O;
+ B.Pixel = S;
+ B.Size = M;
+ B.Bounds = ib;
+ B.TileLayer = Gd;
+ B.Projection = fd;
+ B.MercatorProjection = T;
+ B.PerspectiveProjection = kb;
+ B.Copyright = function (a, b, c) {
+ this.id = a;
+ this.$a = b;
+ this.content = c
+ };
+ B.Overlay = id;
+ B.Label = td;
+ B.GroundOverlay = ud;
+ B.PointCollection = yd;
+ B.Marker = W;
+ B.Icon = md;
+ B.IconSequence = od;
+ B.Symbol = nd;
+ B.Polyline = Cd;
+ B.Polygon = Bd;
+ B.InfoWindow = sd;
+ B.Circle = Dd;
+ B.Control = Qc;
+ B.NavigationControl = mb;
+ B.GeolocationControl = Uc;
+ B.OverviewMapControl = ob;
+ B.CopyrightControl = Vc;
+ B.ScaleControl = nb;
+ B.MapTypeControl = pb;
+ B.CityListControl = Xc;
+ B.PanoramaControl = Zc;
+ B.TrafficLayer = Qd;
+ B.CustomLayer = qb;
+ B.ContextMenu = bd;
+ B.MenuItem = ed;
+ B.LocalSearch = eb;
+ B.TransitRoute = ue;
+ B.DrivingRoute = xe;
+ B.WalkingRoute = ye;
+ B.Autocomplete = Ne;
+ B.RouteSearch = Ce;
+ B.Geocoder = De;
+ B.LocalCity = Ke;
+ B.Geolocation = Geolocation;
+ B.Convertor = hd;
+ B.BusLineSearch = Me;
+ B.Boundary = Le;
+ B.VectorCloudLayer = Od;
+ B.VectorTrafficLayer = Pd;
+ B.Panorama = Qa;
+ B.PanoramaLabel = Te;
+ B.PanoramaService = ad;
+ B.PanoramaCoverageLayer = $c;
+ B.PanoramaFlashInterface = bf;
+
+ function U(a, b) {
+ for (var c in b) a[c] = b[c]
+ }
+ U(window, {
+ BMap: B,
+ _jsload2: function (a, b) {
+ ja.dz.OY && ja.dz.set(a, b);
+ L.PV(a, b)
+ },
+ BMAP_API_VERSION: "2.0"
+ });
+ var Sf = Na.prototype;
+ U(Sf, {
+ getBounds: Sf.Kd,
+ getCenter: Sf.pc,
+ getMapType: Sf.oa,
+ getSize: Sf.vb,
+ setSize: Sf.Ce,
+ getViewport: Sf.mt,
+ getZoom: Sf.ga,
+ centerAndZoom: Sf.Gd,
+ panTo: Sf.Ai,
+ panBy: Sf.zg,
+ setCenter: Sf.Xf,
+ setCurrentCity: Sf.JF,
+ setMapType: Sf.Fg,
+ setViewport: Sf.Dh,
+ setZoom: Sf.Oc,
+ highResolutionEnabled: Sf.Xx,
+ zoomTo: Sf.Ig,
+ zoomIn: Sf.pG,
+ zoomOut: Sf.qG,
+ addHotspot: Sf.Ew,
+ removeHotspot: Sf.LZ,
+ clearHotspots: Sf.lm,
+ checkResize: Sf.SV,
+ addControl: Sf.js,
+ removeControl: Sf.WN,
+ getContainer: Sf.Ha,
+ addContextMenu: Sf.Fo,
+ removeContextMenu: Sf.Op,
+ addOverlay: Sf.Ka,
+ removeOverlay: Sf.Ub,
+ clearOverlays: Sf.CK,
+ openInfoWindow: Sf.Mb,
+ closeInfoWindow: Sf.Wc,
+ pointToOverlayPixel: Sf.We,
+ overlayPixelToPoint: Sf.IN,
+ getInfoWindow: Sf.lh,
+ getOverlays: Sf.Mx,
+ getPanes: function () {
+ return {
+ floatPane: this.Zd.LD,
+ markerMouseTarget: this.Zd.ZE,
+ floatShadow: this.Zd.xL,
+ labelPane: this.Zd.RE,
+ markerPane: this.Zd.cN,
+ markerShadow: this.Zd.dN,
+ mapPane: this.Zd.Jt,
+ vertexPane: this.Zd.nP
+ }
+ },
+ addTileLayer: Sf.$g,
+ removeTileLayer: Sf.Ah,
+ pixelToPoint: Sf.Ag,
+ pointToPixel: Sf.Mp,
+ setFeatureStyle: Sf.Xp,
+ selectBaseElement: Sf.F4,
+ setMapStyle: Sf.du,
+ enable3DBuilding: Sf.Xo,
+ disable3DBuilding: Sf.DW,
+ getPanorama: Sf.Em,
+ setBrowserContextmenu: Sf.k_
+ });
+ var Tf = Ud.prototype;
+ U(Tf, {
+ getTileLayer: Tf.gY,
+ getMinZoom: Tf.hp,
+ getMaxZoom: Tf.Dm,
+ getProjection: Tf.Hm,
+ getTextColor: Tf.Km,
+ getTips: Tf.lt
+ });
+ U(window, {
+ BMAP_NORMAL_MAP: Oa,
+ BMAP_PERSPECTIVE_MAP: Ra,
+ BMAP_SATELLITE_MAP: bb,
+ BMAP_HYBRID_MAP: Ua
+ });
+ var Uf = T.prototype;
+ U(Uf, {
+ lngLatToPoint: Uf.jy,
+ pointToLngLat: Uf.Ej
+ });
+ var Vf = kb.prototype;
+ U(Vf, {
+ lngLatToPoint: Vf.jy,
+ pointToLngLat: Vf.Ej
+ });
+ var Wf = ib.prototype;
+ U(Wf, {
+ equals: Wf.ab,
+ containsPoint: Wf.Zw,
+ containsBounds: Wf.cW,
+ intersects: Wf.At,
+ extend: Wf.extend,
+ getCenter: Wf.pc,
+ isEmpty: Wf.Bj,
+ getSouthWest: Wf.xe,
+ getNorthEast: Wf.pf,
+ toSpan: Wf.dG
+ });
+ var Xf = id.prototype;
+ U(Xf, {
+ isVisible: Xf.oh,
+ show: Xf.show,
+ hide: Xf.U
+ });
+ id.getZIndex = id.Mm;
+ var Yf = jb.prototype;
+ U(Yf, {
+ openInfoWindow: Yf.Mb,
+ closeInfoWindow: Yf.Wc,
+ enableMassClear: Yf.qj,
+ disableMassClear: Yf.FW,
+ show: Yf.show,
+ hide: Yf.U,
+ getMap: Yf.Hx,
+ addContextMenu: Yf.Fo,
+ removeContextMenu: Yf.Op
+ });
+ var Zf = W.prototype;
+ U(Zf, {
+ setIcon: Zf.Vb,
+ getIcon: Zf.gp,
+ setPosition: Zf.ta,
+ getPosition: Zf.ia,
+ setOffset: Zf.Ye,
+ getOffset: Zf.Qf,
+ getLabel: Zf.dE,
+ setLabel: Zf.qn,
+ setTitle: Zf.Dc,
+ setTop: Zf.Ei,
+ enableDragging: Zf.Gb,
+ disableDragging: Zf.aD,
+ setZIndex: Zf.iu,
+ getMap: Zf.Hx,
+ setAnimation: Zf.nn,
+ setShadow: Zf.Vy,
+ hide: Zf.U,
+ setRotation: Zf.Ty,
+ getRotation: Zf.VL
+ });
+ U(window, {
+ BMAP_ANIMATION_DROP: 1,
+ BMAP_ANIMATION_BOUNCE: 2
+ });
+ var $f = td.prototype;
+ U($f, {
+ setStyle: $f.bd,
+ setStyles: $f.Di,
+ setContent: $f.ad,
+ setPosition: $f.ta,
+ getPosition: $f.ia,
+ setOffset: $f.Ye,
+ getOffset: $f.Qf,
+ setTitle: $f.Dc,
+ setZIndex: $f.iu,
+ getMap: $f.Hx,
+ getContent: $f.Bk
+ });
+ var ag = md.prototype;
+ U(ag, {
+ setImageUrl: ag.lO,
+ setSize: ag.Ce,
+ setAnchor: ag.qc,
+ setImageOffset: ag.cu,
+ setImageSize: ag.q_,
+ setInfoWindowAnchor: ag.t_,
+ setPrintImageUrl: ag.D_
+ });
+ var cg = sd.prototype;
+ U(cg, {
+ redraw: cg.le,
+ setTitle: cg.Dc,
+ setContent: cg.ad,
+ getContent: cg.Bk,
+ getPosition: cg.ia,
+ enableMaximize: cg.fh,
+ disableMaximize: cg.ox,
+ isOpen: cg.Va,
+ setMaxContent: cg.eu,
+ maximize: cg.ny,
+ enableAutoPan: cg.Rs
+ });
+ var dg = kd.prototype;
+ U(dg, {
+ getPath: dg.ve,
+ setPath: dg.me,
+ setPositionAt: dg.vn,
+ getStrokeColor: dg.bY,
+ setStrokeWeight: dg.bq,
+ getStrokeWeight: dg.YL,
+ setStrokeOpacity: dg.$p,
+ getStrokeOpacity: dg.cY,
+ setFillOpacity: dg.bu,
+ getFillOpacity: dg.zX,
+ setStrokeStyle: dg.aq,
+ getStrokeStyle: dg.XL,
+ getFillColor: dg.yX,
+ getBounds: dg.Kd,
+ enableEditing: dg.mf,
+ disableEditing: dg.EW,
+ getEditing: dg.vX
+ });
+ var eg = Dd.prototype;
+ U(eg, {
+ setCenter: eg.Xf,
+ getCenter: eg.pc,
+ getRadius: eg.TL,
+ setRadius: eg.wf
+ });
+ var fg = Bd.prototype;
+ U(fg, {
+ getPath: fg.ve,
+ setPath: fg.me,
+ setPositionAt: fg.vn
+ });
+ var gg = lb.prototype;
+ U(gg, {
+ getPosition: gg.ia,
+ setPosition: gg.ta,
+ getText: gg.nE,
+ setText: gg.hu
+ });
+ O.prototype.equals = O.prototype.ab;
+ S.prototype.equals = S.prototype.ab;
+ M.prototype.equals = M.prototype.ab;
+ U(window, {
+ BMAP_ANCHOR_TOP_LEFT: Rc,
+ BMAP_ANCHOR_TOP_RIGHT: Sc,
+ BMAP_ANCHOR_BOTTOM_LEFT: Tc,
+ BMAP_ANCHOR_BOTTOM_RIGHT: 3
+ });
+ var hg = Qc.prototype;
+ U(hg, {
+ setAnchor: hg.qc,
+ getAnchor: hg.RD,
+ setOffset: hg.Ye,
+ getOffset: hg.Qf,
+ show: hg.show,
+ hide: hg.U,
+ isVisible: hg.oh,
+ toString: hg.toString
+ });
+ var ig = mb.prototype;
+ U(ig, {
+ getType: ig.pp,
+ setType: ig.wn
+ });
+ U(window, {
+ BMAP_NAVIGATION_CONTROL_LARGE: 0,
+ BMAP_NAVIGATION_CONTROL_SMALL: 1,
+ BMAP_NAVIGATION_CONTROL_PAN: 2,
+ BMAP_NAVIGATION_CONTROL_ZOOM: 3
+ });
+ var jg = ob.prototype;
+ U(jg, {
+ changeView: jg.se,
+ setSize: jg.Ce,
+ getSize: jg.vb
+ });
+ var kg = nb.prototype;
+ U(kg, {
+ getUnit: kg.kY,
+ setUnit: kg.RF
+ });
+ U(window, {
+ BMAP_UNIT_METRIC: "metric",
+ BMAP_UNIT_IMPERIAL: "us"
+ });
+ var lg = Vc.prototype;
+ U(lg, {
+ addCopyright: lg.Dw,
+ removeCopyright: lg.uF,
+ getCopyright: lg.Am,
+ getCopyrightCollection: lg.YD
+ });
+ U(window, {
+ BMAP_MAPTYPE_CONTROL_HORIZONTAL: Yc,
+ BMAP_MAPTYPE_CONTROL_DROPDOWN: 1,
+ BMAP_MAPTYPE_CONTROL_MAP: 2
+ });
+ var mg = Gd.prototype;
+ U(mg, {
+ getMapType: mg.oa,
+ getCopyright: mg.Am,
+ isTransparentPng: mg.Gt
+ });
+ var ng = bd.prototype;
+ U(ng, {
+ addItem: ng.Fw,
+ addSeparator: ng.iC,
+ removeSeparator: ng.wF
+ });
+ var og = ed.prototype;
+ U(og, {
+ setText: og.hu
+ });
+ var pg = Y.prototype;
+ U(pg, {
+ getStatus: pg.Im,
+ setSearchCompleteCallback: pg.PF,
+ getPageCapacity: pg.qf,
+ setPageCapacity: pg.Zp,
+ setLocation: pg.tn,
+ disableFirstResultSelection: pg.bD,
+ enableFirstResultSelection: pg.zD,
+ gotoPage: pg.Nm,
+ searchNearby: pg.Vp,
+ searchInBounds: pg.mn,
+ search: pg.search
+ });
+ U(window, {
+ BMAP_STATUS_SUCCESS: 0,
+ BMAP_STATUS_CITY_LIST: 1,
+ BMAP_STATUS_UNKNOWN_LOCATION: 2,
+ BMAP_STATUS_UNKNOWN_ROUTE: 3,
+ BMAP_STATUS_INVALID_KEY: 4,
+ BMAP_STATUS_INVALID_REQUEST: 5,
+ BMAP_STATUS_PERMISSION_DENIED: 6,
+ BMAP_STATUS_SERVICE_UNAVAILABLE: 7,
+ BMAP_STATUS_TIMEOUT: 8
+ });
+ U(window, {
+ BMAP_POI_TYPE_NORMAL: 0,
+ BMAP_POI_TYPE_BUSSTOP: 1,
+ BMAP_POI_TYPE_BUSLINE: 2,
+ BMAP_POI_TYPE_SUBSTOP: 3,
+ BMAP_POI_TYPE_SUBLINE: 4
+ });
+ U(window, {
+ BMAP_TRANSIT_POLICY_LEAST_TIME: 0,
+ BMAP_TRANSIT_POLICY_LEAST_TRANSFER: 2,
+ BMAP_TRANSIT_POLICY_LEAST_WALKING: 3,
+ BMAP_TRANSIT_POLICY_AVOID_SUBWAYS: 4,
+ BMAP_LINE_TYPE_BUS: 0,
+ BMAP_LINE_TYPE_SUBWAY: 1,
+ BMAP_LINE_TYPE_FERRY: 2
+ });
+ var qg = te.prototype;
+ U(qg, {
+ clearResults: qg.Qe
+ });
+ ve = ue.prototype;
+ U(ve, {
+ setPolicy: ve.gu,
+ toString: ve.toString,
+ setPageCapacity: ve.Zp
+ });
+ U(window, {
+ BMAP_DRIVING_POLICY_LEAST_TIME: 0,
+ BMAP_DRIVING_POLICY_LEAST_DISTANCE: 1,
+ BMAP_DRIVING_POLICY_AVOID_HIGHWAYS: 2
+ });
+ U(window, {
+ BMAP_MODE_DRIVING: "driving",
+ BMAP_MODE_TRANSIT: "transit",
+ BMAP_MODE_WALKING: "walking",
+ BMAP_MODE_NAVIGATION: "navigation"
+ });
+ var rg = Ce.prototype;
+ U(rg, {
+ routeCall: rg.gO
+ });
+ U(window, {
+ BMAP_HIGHLIGHT_STEP: 1,
+ BMAP_HIGHLIGHT_ROUTE: 2
+ });
+ U(window, {
+ BMAP_ROUTE_TYPE_DRIVING: ee,
+ BMAP_ROUTE_TYPE_WALKING: de
+ });
+ U(window, {
+ BMAP_ROUTE_STATUS_NORMAL: fe,
+ BMAP_ROUTE_STATUS_EMPTY: 1,
+ BMAP_ROUTE_STATUS_ADDRESS: 2
+ });
+ var sg = xe.prototype;
+ U(sg, {
+ setPolicy: sg.gu
+ });
+ var tg = Ne.prototype;
+ U(tg, {
+ show: tg.show,
+ hide: tg.U,
+ setTypes: tg.QF,
+ setLocation: tg.tn,
+ search: tg.search,
+ setInputValue: tg.Qy
+ });
+ U(qb.prototype, {});
+ var ug = Le.prototype;
+ U(ug, {
+ get: ug.get
+ });
+ U($c.prototype, {});
+ U(fb.prototype, {});
+ U(window, {
+ BMAP_POINT_DENSITY_HIGH: 200,
+ BMAP_POINT_DENSITY_MEDIUM: Td,
+ BMAP_POINT_DENSITY_LOW: 50
+ });
+ U(window, {
+ BMAP_POINT_SHAPE_STAR: 1,
+ BMAP_POINT_SHAPE_WATERDROP: 2,
+ BMAP_POINT_SHAPE_CIRCLE: vd,
+ BMAP_POINT_SHAPE_SQUARE: 4,
+ BMAP_POINT_SHAPE_RHOMBUS: 5
+ });
+ U(window, {
+ BMAP_POINT_SIZE_TINY: 1,
+ BMAP_POINT_SIZE_SMALLER: 2,
+ BMAP_POINT_SIZE_SMALL: 3,
+ BMAP_POINT_SIZE_NORMAL: wd,
+ BMAP_POINT_SIZE_BIG: 5,
+ BMAP_POINT_SIZE_BIGGER: 6,
+ BMAP_POINT_SIZE_HUGE: 7
+ });
+ U(window, {
+ BMap_Symbol_SHAPE_CAMERA: 11,
+ BMap_Symbol_SHAPE_WARNING: 12,
+ BMap_Symbol_SHAPE_SMILE: 13,
+ BMap_Symbol_SHAPE_CLOCK: 14,
+ BMap_Symbol_SHAPE_POINT: 9,
+ BMap_Symbol_SHAPE_PLANE: 10,
+ BMap_Symbol_SHAPE_CIRCLE: 1,
+ BMap_Symbol_SHAPE_RECTANGLE: 2,
+ BMap_Symbol_SHAPE_RHOMBUS: 3,
+ BMap_Symbol_SHAPE_STAR: 4,
+ BMap_Symbol_SHAPE_BACKWARD_CLOSED_ARROW: 5,
+ BMap_Symbol_SHAPE_FORWARD_CLOSED_ARROW: 6,
+ BMap_Symbol_SHAPE_BACKWARD_OPEN_ARROW: 7,
+ BMap_Symbol_SHAPE_FORWARD_OPEN_ARROW: 8
+ });
+ U(window, {
+ BMAP_CONTEXT_MENU_ICON_ZOOMIN: cd,
+ BMAP_CONTEXT_MENU_ICON_ZOOMOUT: dd
+ });
+ U(window, {
+ BMAP_SYS_DRAWER: La,
+ BMAP_SVG_DRAWER: 1,
+ BMAP_VML_DRAWER: 2,
+ BMAP_CANVAS_DRAWER: 3,
+ BMAP_SVG_DRAWER_FIRST: 4
+ });
+ B.Jw();
+ B.B0();
})()
\ No newline at end of file
diff --git a/public/plugin/offline/api3.0.js b/public/plugin/offline/api3.0.js
index fece6134..e245d857 100644
--- a/public/plugin/offline/api3.0.js
+++ b/public/plugin/offline/api3.0.js
@@ -1,10314 +1,10314 @@
-/**
- * Author: yang jian fei
- * Email: 1294485765@qq.com
- * Created Date: Wednesday, August 10th 2022, 11:42:35 am
- * Modified By: yang jian fei
- * Desc: desc
- * Copyright (c) 2022 黑发
- */
-
-window.TILE_VERSION = {
- ditu: {
- normal: {
- version: '088',
- updateDate: '20180829'
- },
- satellite: {
- version: '009',
- updateDate: '20180829'
- },
- normalTraffic: {
- version: '081',
- updateDate: '20180829'
- },
- satelliteTraffic: {
- version: '083',
- updateDate: '20180829'
- },
- mapJS: {
- version: '104',
- updateDate: '20180829'
- },
- satelliteStreet: {
- version: '083',
- updateDate: '20180829'
- },
- panoClick: {
- version: '1033',
- updateDate: '20180816'
- },
- panoUdt: {
- version: '20180816',
- updateDate: '20180816'
- },
- panoSwfAPI: {
- version: '20150123',
- updateDate: '20150123'
- },
- panoSwfPlace: {
- version: '20141112',
- updateDate: '20141112'
- },
- earthVector: {
- version: '001',
- updateDate: '20180829'
- }
- },
- webapp: {
- high_normal: {
- version: '001',
- updateDate: '20180829'
- },
- lower_normal: {
- version: '002',
- updateDate: '20180829'
- }
- },
- api_for_mobile: {
- vector: {
- version: '002',
- updateDate: '20180829'
- },
- vectorIcon: {
- version: '002',
- updateDate: '20180829'
- }
- }
-}
-window.BMAP_AUTHENTIC_KEY = ''
-;(function () {
- function aa(a) {
- throw a
- }
- var l = void 0,
- q = !0,
- s = null,
- t = !1
- function u() {
- return function () {}
- }
- function ba(a) {
- return function (b) {
- this[a] = b
- }
- }
- function w(a) {
- return function () {
- return this[a]
- }
- }
- function ca(a) {
- return function () {
- return a
- }
- }
- var da,
- ea = []
- function ga(a) {
- return function () {
- return ea[a].apply(this, arguments)
- }
- }
- function ha(a, b) {
- return (ea[a] = b)
- }
- var ia,
- z = (ia = z || {
- version: '1.3.4'
- })
- z.aa = '$BAIDU$'
- window[z.aa] = window[z.aa] || {}
- z.object = z.object || {}
- z.extend = z.object.extend = function (a, b) {
- for (var c in b) b.hasOwnProperty(c) && (a[c] = b[c])
- return a
- }
- z.D = z.D || {}
- z.D.$ = function (a) {
- return 'string' == typeof a || a instanceof String
- ? document.getElementById(a)
- : a && a.nodeName && (1 == a.nodeType || 9 == a.nodeType)
- ? a
- : s
- }
- z.$ = z.Fc = z.D.$
- z.D.U = function (a) {
- a = z.D.$(a)
- if (a === s) return a
- a.style.display = 'none'
- return a
- }
- z.U = z.D.U
- z.lang = z.lang || {}
- z.lang.wg = function (a) {
- return '[object String]' == Object.prototype.toString.call(a)
- }
- z.wg = z.lang.wg
- z.D.Oj = function (a) {
- return z.lang.wg(a) ? document.getElementById(a) : a
- }
- z.Oj = z.D.Oj
- z.D.getElementsByClassName = function (a, b) {
- var c
- if (a.getElementsByClassName) c = a.getElementsByClassName(b)
- else {
- var e = a
- e == s && (e = document)
- c = []
- var e = e.getElementsByTagName('*'),
- f = e.length,
- g = RegExp('(^|\\s)' + b + '(\\s|$)'),
- i,
- k
- for (k = i = 0; i < f; i++) g.test(e[i].className) && ((c[k] = e[i]), k++)
- }
- return c
- }
- z.getElementsByClassName = z.D.getElementsByClassName
- z.D.contains = function (a, b) {
- var c = z.D.Oj,
- a = c(a),
- b = c(b)
- return a.contains ? a != b && a.contains(b) : !!(a.compareDocumentPosition(b) & 16)
- }
- z.ca = z.ca || {}
- ;/msie (\d+\.\d)/i.test(navigator.userAgent) && (z.ca.ia = z.ia = document.documentMode || +RegExp.$1)
- var ja = {
- cellpadding: 'cellPadding',
- cellspacing: 'cellSpacing',
- colspan: 'colSpan',
- rowspan: 'rowSpan',
- valign: 'vAlign',
- usemap: 'useMap',
- frameborder: 'frameBorder'
- }
- 8 > z.ca.ia
- ? ((ja['for'] = 'htmlFor'), (ja['class'] = 'className'))
- : ((ja.htmlFor = 'for'), (ja.className = 'class'))
- z.D.RG = ja
- z.D.BF = function (a, b, c) {
- a = z.D.$(a)
- if (a === s) return a
- if ('style' == b) a.style.cssText = c
- else {
- b = z.D.RG[b] || b
- a.setAttribute(b, c)
- }
- return a
- }
- z.BF = z.D.BF
- z.D.CF = function (a, b) {
- a = z.D.$(a)
- if (a === s) return a
- for (var c in b) z.D.BF(a, c, b[c])
- return a
- }
- z.CF = z.D.CF
- z.Wk = z.Wk || {}
- ;(function () {
- var a = RegExp('(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)', 'g')
- z.Wk.trim = function (b) {
- return ('' + b).replace(a, '')
- }
- })()
- z.trim = z.Wk.trim
- z.Wk.Wo = function (a, b) {
- var a = '' + a,
- c = Array.prototype.slice.call(arguments, 1),
- e = Object.prototype.toString
- if (c.length) {
- c = c.length == 1 ? (b !== s && /\[object Array\]|\[object Object\]/.test(e.call(b)) ? b : c) : c
- return a.replace(/#\{(.+?)\}/g, function (a, b) {
- var i = c[b]
- '[object Function]' == e.call(i) && (i = i(b))
- return 'undefined' == typeof i ? '' : i
- })
- }
- return a
- }
- z.Wo = z.Wk.Wo
- z.D.Pb = function (a, b) {
- a = z.D.$(a)
- if (a === s) return a
- for (var c = a.className.split(/\s+/), e = b.split(/\s+/), f, g = e.length, i, k = 0; k < g; ++k) {
- i = 0
- for (f = c.length; i < f; ++i)
- if (c[i] == e[k]) {
- c.splice(i, 1)
- break
- }
- }
- a.className = c.join(' ')
- return a
- }
- z.Pb = z.D.Pb
- z.D.Vx = function (a, b, c) {
- a = z.D.$(a)
- if (a === s) return a
- var e
- if (a.insertAdjacentHTML) a.insertAdjacentHTML(b, c)
- else {
- e = a.ownerDocument.createRange()
- b = b.toUpperCase()
- if (b == 'AFTERBEGIN' || b == 'BEFOREEND') {
- e.selectNodeContents(a)
- e.collapse(b == 'AFTERBEGIN')
- } else {
- b = b == 'BEFOREBEGIN'
- e[b ? 'setStartBefore' : 'setEndAfter'](a)
- e.collapse(b)
- }
- e.insertNode(e.createContextualFragment(c))
- }
- return a
- }
- z.Vx = z.D.Vx
- z.D.show = function (a) {
- a = z.D.$(a)
- if (a === s) return a
- a.style.display = ''
- return a
- }
- z.show = z.D.show
- z.D.QD = function (a) {
- a = z.D.$(a)
- return a === s ? a : a.nodeType == 9 ? a : a.ownerDocument || a.document
- }
- z.D.Ua = function (a, b) {
- a = z.D.$(a)
- if (a === s) return a
- for (var c = b.split(/\s+/), e = a.className, f = ' ' + e + ' ', g = 0, i = c.length; g < i; g++)
- f.indexOf(' ' + c[g] + ' ') < 0 && (e = e + (' ' + c[g]))
- a.className = e
- return a
- }
- z.Ua = z.D.Ua
- z.D.PB = z.D.PB || {}
- z.D.Ol = z.D.Ol || []
- z.D.Ol.filter = function (a, b, c) {
- for (var e = 0, f = z.D.Ol, g; (g = f[e]); e++) if ((g = g[c])) b = g(a, b)
- return b
- }
- z.Wk.RO = function (a) {
- return a.indexOf('-') < 0 && a.indexOf('_') < 0
- ? a
- : a.replace(/[-_][^-_]/g, function (a) {
- return a.charAt(1).toUpperCase()
- })
- }
- z.D.m0 = function (a) {
- z.D.it(a, 'expand') ? z.D.Pb(a, 'expand') : z.D.Ua(a, 'expand')
- }
- z.D.it = function (a) {
- if (arguments.length <= 0 || typeof a === 'function') return this
- if (this.size() <= 0) return t
- var a = a.replace(/^\s+/g, '').replace(/\s+$/g, '').replace(/\s+/g, ' '),
- b = a.split(' '),
- c
- z.forEach(this, function (a) {
- for (var a = a.className, f = 0; f < b.length; f++)
- if (!~(' ' + a + ' ').indexOf(' ' + b[f] + ' ')) {
- c = t
- return
- }
- c !== t && (c = q)
- })
- return c
- }
- z.D.oj = function (a, b) {
- var c = z.D,
- a = c.$(a)
- if (a === s) return a
- var b = z.Wk.RO(b),
- e = a.style[b]
- if (!e)
- var f = c.PB[b],
- e = a.currentStyle || (z.ca.ia ? a.style : getComputedStyle(a, s)),
- e = f && f.get ? f.get(a, e) : e[f || b]
- if ((f = c.Ol)) e = f.filter(b, e, 'get')
- return e
- }
- z.oj = z.D.oj
- ;/opera\/(\d+\.\d)/i.test(navigator.userAgent) && (z.ca.opera = +RegExp.$1)
- z.ca.HM = /webkit/i.test(navigator.userAgent)
- z.ca.VY = /gecko/i.test(navigator.userAgent) && !/like gecko/i.test(navigator.userAgent)
- z.ca.DE = 'CSS1Compat' == document.compatMode
- z.D.ga = function (a) {
- a = z.D.$(a)
- if (a === s) return a
- var b = z.D.QD(a),
- c = z.ca,
- e = z.D.oj
- c.VY > 0 && b.getBoxObjectFor && e(a, 'position')
- var f = {
- left: 0,
- top: 0
- },
- g
- if (a == (c.ia && !c.DE ? b.body : b.documentElement)) return f
- if (a.getBoundingClientRect) {
- a = a.getBoundingClientRect()
- f.left = Math.floor(a.left) + Math.max(b.documentElement.scrollLeft, b.body.scrollLeft)
- f.top = Math.floor(a.top) + Math.max(b.documentElement.scrollTop, b.body.scrollTop)
- f.left = f.left - b.documentElement.clientLeft
- f.top = f.top - b.documentElement.clientTop
- a = b.body
- b = parseInt(e(a, 'borderLeftWidth'))
- e = parseInt(e(a, 'borderTopWidth'))
- if (c.ia && !c.DE) {
- f.left = f.left - (isNaN(b) ? 2 : b)
- f.top = f.top - (isNaN(e) ? 2 : e)
- }
- } else {
- g = a
- do {
- f.left = f.left + g.offsetLeft
- f.top = f.top + g.offsetTop
- if (c.HM > 0 && e(g, 'position') == 'fixed') {
- f.left = f.left + b.body.scrollLeft
- f.top = f.top + b.body.scrollTop
- break
- }
- g = g.offsetParent
- } while (g && g != a)
- if (c.opera > 0 || (c.HM > 0 && e(a, 'position') == 'absolute')) f.top = f.top - b.body.offsetTop
- for (g = a.offsetParent; g && g != b.body; ) {
- f.left = f.left - g.scrollLeft
- if (!c.opera || g.tagName != 'TR') f.top = f.top - g.scrollTop
- g = g.offsetParent
- }
- }
- return f
- }
- ;/firefox\/(\d+\.\d)/i.test(navigator.userAgent) && (z.ca.Te = +RegExp.$1)
- ;/BIDUBrowser/i.test(navigator.userAgent) && (z.ca.n2 = q)
- var ka = navigator.userAgent
- ;/(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(ka) &&
- !/chrome/i.test(ka) &&
- (z.ca.Iy = +(RegExp.$1 || RegExp.$2))
- ;/chrome\/(\d+\.\d)/i.test(navigator.userAgent) && (z.ca.Qw = +RegExp.$1)
- z.mc = z.mc || {}
- z.mc.Fb = function (a, b) {
- var c,
- e,
- f = a.length
- if ('function' == typeof b)
- for (e = 0; e < f; e++) {
- c = a[e]
- c = b.call(a, c, e)
- if (c === t) break
- }
- return a
- }
- z.Fb = z.mc.Fb
- z.lang.aa = function () {
- return 'TANGRAM__' + (window[z.aa]._counter++).toString(36)
- }
- window[z.aa]._counter = window[z.aa]._counter || 1
- window[z.aa]._instances = window[z.aa]._instances || {}
- z.lang.wt = function (a) {
- return '[object Function]' == Object.prototype.toString.call(a)
- }
- z.lang.Ca = function (a) {
- this.aa = a || z.lang.aa()
- window[z.aa]._instances[this.aa] = this
- }
- window[z.aa]._instances = window[z.aa]._instances || {}
- z.lang.Ca.prototype.ci = ga(0)
- z.lang.Ca.prototype.toString = function () {
- return '[object ' + (this.UQ || 'Object') + ']'
- }
- z.lang.Ju = function (a, b) {
- this.type = a
- this.returnValue = q
- this.target = b || s
- this.currentTarget = s
- }
- z.lang.Ca.prototype.addEventListener = function (a, b, c) {
- if (z.lang.wt(b)) {
- !b.fl && (b.fl = {})
- !this.Ci && (this.Ci = {})
- var e = this.Ci,
- f
- if (typeof c == 'string' && c) {
- ;/[^\w\-]/.test(c) && aa('nonstandard key:' + c)
- f = b.Nx = c
- }
- a.indexOf('on') != 0 && (a = 'on' + a)
- typeof e[a] != 'object' && (e[a] = {})
- typeof b.fl[a] != 'object' && (b.fl[a] = {})
- f = f || z.lang.aa()
- b.fl[a].Nx = f
- e[a][f] = b
- }
- }
- z.lang.Ca.prototype.removeEventListener = function (a, b) {
- a.indexOf('on') != 0 && (a = 'on' + a)
- if (z.lang.wt(b)) {
- if (!b.fl || !b.fl[a]) return
- b = b.fl[a].Nx
- } else if (!z.lang.wg(b)) return
- !this.Ci && (this.Ci = {})
- var c = this.Ci
- c[a] && c[a][b] && delete c[a][b]
- }
- z.lang.Ca.prototype.dispatchEvent = function (a, b) {
- z.lang.wg(a) && (a = new z.lang.Ju(a))
- !this.Ci && (this.Ci = {})
- var b = b || {},
- c
- for (c in b) a[c] = b[c]
- var e = this.Ci,
- f = a.type
- a.target = a.target || this
- a.currentTarget = this
- f.indexOf('on') != 0 && (f = 'on' + f)
- z.lang.wt(this[f]) && this[f].apply(this, arguments)
- if (typeof e[f] == 'object') for (c in e[f]) e[f][c].apply(this, arguments)
- return a.returnValue
- }
- z.lang.ta = function (a, b, c) {
- var e,
- f,
- g = a.prototype
- f = new Function()
- f.prototype = b.prototype
- f = a.prototype = new f()
- for (e in g) f[e] = g[e]
- a.prototype.constructor = a
- a.b0 = b.prototype
- if ('string' == typeof c) f.UQ = c
- }
- z.ta = z.lang.ta
- z.lang.Nc = function (a) {
- return window[z.aa]._instances[a] || s
- }
- z.platform = z.platform || {}
- z.platform.AM = /macintosh/i.test(navigator.userAgent)
- z.platform.h4 = /MicroMessenger/i.test(navigator.userAgent)
- z.platform.IM = /windows/i.test(navigator.userAgent)
- z.platform.cZ = /x11/i.test(navigator.userAgent)
- z.platform.Jm = /android/i.test(navigator.userAgent)
- ;/android (\d+\.\d)/i.test(navigator.userAgent) && (z.platform.dK = z.dK = RegExp.$1)
- z.platform.XY = /ipad/i.test(navigator.userAgent)
- z.platform.zE = /iphone/i.test(navigator.userAgent)
- function la(a, b) {
- a.domEvent = b = window.event || b
- a.clientX = b.clientX || b.pageX
- a.clientY = b.clientY || b.pageY
- a.offsetX = b.offsetX || b.layerX
- a.offsetY = b.offsetY || b.layerY
- a.screenX = b.screenX
- a.screenY = b.screenY
- a.ctrlKey = b.ctrlKey || b.metaKey
- a.shiftKey = b.shiftKey
- a.altKey = b.altKey
- if (b.touches) {
- a.touches = []
- for (var c = 0; c < b.touches.length; c++)
- a.touches.push({
- clientX: b.touches[c].clientX,
- clientY: b.touches[c].clientY,
- screenX: b.touches[c].screenX,
- screenY: b.touches[c].screenY,
- pageX: b.touches[c].pageX,
- pageY: b.touches[c].pageY,
- target: b.touches[c].target,
- identifier: b.touches[c].identifier
- })
- }
- if (b.changedTouches) {
- a.changedTouches = []
- for (c = 0; c < b.changedTouches.length; c++)
- a.changedTouches.push({
- clientX: b.changedTouches[c].clientX,
- clientY: b.changedTouches[c].clientY,
- screenX: b.changedTouches[c].screenX,
- screenY: b.changedTouches[c].screenY,
- pageX: b.changedTouches[c].pageX,
- pageY: b.changedTouches[c].pageY,
- target: b.changedTouches[c].target,
- identifier: b.changedTouches[c].identifier
- })
- }
- if (b.targetTouches) {
- a.targetTouches = []
- for (c = 0; c < b.targetTouches.length; c++)
- a.targetTouches.push({
- clientX: b.targetTouches[c].clientX,
- clientY: b.targetTouches[c].clientY,
- screenX: b.targetTouches[c].screenX,
- screenY: b.targetTouches[c].screenY,
- pageX: b.targetTouches[c].pageX,
- pageY: b.targetTouches[c].pageY,
- target: b.targetTouches[c].target,
- identifier: b.targetTouches[c].identifier
- })
- }
- a.rotation = b.rotation
- a.scale = b.scale
- return a
- }
- z.lang.hx = function (a) {
- var b = window[z.aa]
- b.eT && delete b.eT[a]
- }
- z.event = {}
- z.M = z.event.M = function (a, b, c) {
- if (!(a = z.$(a))) return a
- b = b.replace(/^on/, '')
- a.addEventListener ? a.addEventListener(b, c, t) : a.attachEvent && a.attachEvent('on' + b, c)
- return a
- }
- z.ed = z.event.ed = function (a, b, c) {
- if (!(a = z.$(a))) return a
- b = b.replace(/^on/, '')
- a.removeEventListener ? a.removeEventListener(b, c, t) : a.detachEvent && a.detachEvent('on' + b, c)
- return a
- }
- z.D.it = function (a, b) {
- if (!a || !a.className || typeof a.className != 'string') return t
- var c = -1
- try {
- c = a.className == b || a.className.search(RegExp('(\\s|^)' + b + '(\\s|$)'))
- } catch (e) {
- return t
- }
- return c > -1
- }
- z.iL = (function () {
- function a(a) {
- document.addEventListener &&
- ((this.element = a),
- (this.lL = this.Dk ? 'touchstart' : 'mousedown'),
- (this.xD = this.Dk ? 'touchmove' : 'mousemove'),
- (this.wD = this.Dk ? 'touchend' : 'mouseup'),
- (this.oh = t),
- (this.mu = this.lu = 0),
- this.element.addEventListener(this.lL, this, t),
- ia.M(this.element, 'mousedown', u()),
- this.handleEvent(s))
- }
- a.prototype = {
- Dk: 'ontouchstart' in window || 'createTouch' in document,
- start: function (a) {
- ma(a)
- this.oh = t
- this.lu = this.Dk ? a.touches[0].clientX : a.clientX
- this.mu = this.Dk ? a.touches[0].clientY : a.clientY
- this.element.addEventListener(this.xD, this, t)
- this.element.addEventListener(this.wD, this, t)
- },
- move: function (a) {
- na(a)
- var c = this.Dk ? a.touches[0].clientY : a.clientY
- if (10 < Math.abs((this.Dk ? a.touches[0].clientX : a.clientX) - this.lu) || 10 < Math.abs(c - this.mu))
- this.oh = q
- },
- end: function (a) {
- na(a)
- this.oh ||
- ((a = document.createEvent('Event')), a.initEvent('tap', t, q), this.element.dispatchEvent(a))
- this.element.removeEventListener(this.xD, this, t)
- this.element.removeEventListener(this.wD, this, t)
- },
- handleEvent: function (a) {
- if (a)
- switch (a.type) {
- case this.lL:
- this.start(a)
- break
- case this.xD:
- this.move(a)
- break
- case this.wD:
- this.end(a)
- }
- }
- }
- return function (b) {
- return new a(b)
- }
- })()
- var B = window.BMap || {}
- B.version = '3.0'
- B.gV = 0.34 > Math.random()
- 0 <= B.version.indexOf('#') && (B.version = '3.0')
- B.Fr = []
- B.Ye = function (a) {
- this.Fr.push(a)
- }
- B.ur = []
- B.Tm = function (a) {
- this.ur.push(a)
- }
- B.vV = B.apiLoad || u()
- B.Q0 =
- B.verify ||
- function () {
- B.version &&
- B.version >= 1.5 &&
- oa(B.Wc + '?qt=verify&ak=' + qa, function (a) {
- if (a && a.error !== 0) {
- if (typeof map !== 'undefined') {
- map.La().innerHTML = ''
- map.Ci = {}
- }
- B = s
- var b =
- '\u767e\u5ea6\u672a\u6388\u6743\u4f7f\u7528\u5730\u56feAPI\uff0c\u53ef\u80fd\u662f\u56e0\u4e3a\u60a8\u63d0\u4f9b\u7684\u5bc6\u94a5\u4e0d\u662f\u6709\u6548\u7684\u767e\u5ea6LBS\u5f00\u653e\u5e73\u53f0\u5bc6\u94a5\uff0c\u6216\u6b64\u5bc6\u94a5\u672a\u5bf9\u672c\u5e94\u7528\u7684\u767e\u5ea6\u5730\u56feJavaScriptAPI\u6388\u6743\u3002\u60a8\u53ef\u4ee5\u8bbf\u95ee\u5982\u4e0b\u7f51\u5740\u4e86\u89e3\u5982\u4f55\u83b7\u53d6\u6709\u6548\u7684\u5bc6\u94a5\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\u3002'
- switch (a.error) {
- case 101:
- b =
- '\u5f00\u53d1\u8005\u7981\u7528\u4e86\u8be5ak\u7684jsapi\u670d\u52a1\u6743\u9650\u3002\u60a8\u53ef\u4ee5\u8bbf\u95ee\u5982\u4e0b\u7f51\u5740\u4e86\u89e3\u5982\u4f55\u83b7\u53d6\u6709\u6548\u7684\u5bc6\u94a5\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\u3002'
- break
- case 102:
- b =
- '\u5f00\u53d1\u8005Referer\u4e0d\u6b63\u786e\u3002\u60a8\u53ef\u4ee5\u8bbf\u95ee\u5982\u4e0b\u7f51\u5740\u4e86\u89e3\u5982\u4f55\u83b7\u53d6\u6709\u6548\u7684\u5bc6\u94a5\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\u3002'
- }
- alert(b)
- }
- })
- }
- var qa = window.BMAP_AUTHENTIC_KEY
- window.BMAP_AUTHENTIC_KEY = s
- var ra = window.BMap_loadScriptTime,
- sa = new Date().getTime(),
- ta = s,
- ua = q,
- va = 5042,
- xa = 5002,
- ya = 5003,
- za = 'load_mapclick',
- Aa = 5038,
- Ba = 5041,
- Ca = 5047,
- Da = 5036,
- Ea = 5039,
- Fa = 5037,
- Ga = 5040,
- Ha = 5011,
- Ia = 7e3
- var Ja = 0
- function Ka(a, b) {
- if ((a = z.$(a))) {
- var c = this
- z.lang.Ca.call(c)
- b = b || {}
- c.K = {
- tC: 200,
- Wb: q,
- px: t,
- nD: q,
- To: q,
- Uo: b.enableWheelZoom || t,
- gL: q,
- pD: q,
- Ns: q,
- nx: q,
- tD: q,
- Ro: b.enable3DBuilding || t,
- Ic: 25,
- b1: 240,
- iV: 450,
- Vb: G.Vb,
- Hd: G.Hd,
- Yx: !!b.Yx,
- gc: Math.round(b.minZoom) || 1,
- Yb: Math.round(b.maxZoom) || 19,
- Hb: b.mapType || La,
- e5: t,
- cL: b.drawer || Ja,
- ox: q,
- lx: 500,
- aX: b.enableHighResolution !== t,
- fj: b.enableMapClick !== t,
- devicePixelRatio: b.devicePixelRatio || window.devicePixelRatio || 1,
- fG: 99,
- ye: b.mapStyle || s,
- jZ: b.logoControl === t ? t : q,
- DV: [],
- Kw: b.beforeClickIcon || s,
- Ms: t,
- qN: q
- }
- c.K.ye && (this.LY(c.K.ye.controls), this.sM(c.K.ye.geotableId))
- c.K.ye && c.K.ye.styleId && c.O3(c.K.ye.styleId)
- c.K.fm = {
- dark: {
- backColor: '#2D2D2D',
- textColor: '#bfbfbf',
- iconUrl: 'dicons'
- },
- normal: {
- backColor: '#F3F1EC',
- textColor: '#c61b1b',
- iconUrl: 'icons'
- },
- light: {
- backColor: '#EBF8FC',
- textColor: '#017fb4',
- iconUrl: 'licons'
- }
- }
- b.enableAutoResize && (c.K.nx = b.enableAutoResize)
- b.enableStreetEntrance === t && (c.K.tD = b.enableStreetEntrance)
- b.enableDeepZoom === t && (c.K.gL = b.enableDeepZoom)
- var e = c.K.DV
- if (H())
- for (var f = 0, g = e.length; f < g; f++)
- if (z.ca[e[f]]) {
- c.K.devicePixelRatio = 1
- break
- }
- e = -1 < navigator.userAgent.toLowerCase().indexOf('android')
- f = -1 < navigator.userAgent.toLowerCase().indexOf('mqqbrowser')
- if (-1 < navigator.userAgent.toLowerCase().indexOf('UCBrowser') || (e && f)) c.K.fG = 99
- c.Wa = a
- c.IB(a)
- a.unselectable = 'on'
- a.innerHTML = ''
- a.appendChild(c.va())
- b.size && this.Ce(b.size)
- e = c.cb()
- c.width = e.width
- c.height = e.height
- c.offsetX = 0
- c.offsetY = 0
- c.platform = a.firstChild
- c.ze = c.platform.firstChild
- c.ze.style.width = c.width + 'px'
- c.ze.style.height = c.height + 'px'
- c.Yd = {}
- c.re = new J(0, 0)
- c.fc = new J(0, 0)
- c.Oa = 3
- c.Oc = 0
- c.LC = s
- c.KC = s
- c.Ub = ''
- c.Rw = ''
- c.Jh = {}
- c.Jh.custom = {}
- c.Sa = 0
- b.useWebGL === t && Na(t)
- c.P = new Oa(a, {
- of: 'api',
- jT: q
- })
- c.P.U()
- c.P.GF(c)
- b = b || {}
- e = c.Hb = c.K.Hb
- c.cd = e.wm()
- e === Qa && Ra(xa)
- e === Sa && Ra(ya)
- e = c.K
- e.hP = Math.round(b.minZoom)
- e.gP = Math.round(b.maxZoom)
- c.bv()
- c.R = {
- Jc: t,
- nc: 0,
- Bt: 0,
- MM: 0,
- l4: 0,
- lC: t,
- pF: -1,
- Qe: []
- }
- c.platform.style.cursor = c.K.Vb
- for (f = 0; f < B.Fr.length; f++) B.Fr[f](c)
- c.R.pF = f
- c.ba()
- K.load('map', function () {
- c.ib()
- })
- c.K.fj &&
- (setTimeout(function () {
- Ra(za)
- }, 1e3),
- K.load(
- 'mapclick',
- function () {
- window.MPC_Mgr = window.MPC_Mgr || {}
- window.MPC_Mgr[c.aa] = new Ta(c)
- },
- q
- ))
- Ua() &&
- K.load('oppc', function () {
- c.Dz()
- })
- H() &&
- K.load('opmb', function () {
- c.Dz()
- })
- a = s
- c.WB = []
- }
- }
- z.lang.ta(Ka, z.lang.Ca, 'Map')
- z.extend(Ka.prototype, {
- va: function () {
- var a = L('div'),
- b = a.style
- b.overflow = 'visible'
- b.position = 'absolute'
- b.zIndex = '0'
- b.top = b.left = '0px'
- var b = L('div', {
- class: 'BMap_mask'
- }),
- c = b.style
- c.position = 'absolute'
- c.top = c.left = '0px'
- c.zIndex = '9'
- c.overflow = 'hidden'
- c.WebkitUserSelect = 'none'
- a.appendChild(b)
- return a
- },
- IB: function (a) {
- var b = a.style
- b.overflow = 'hidden'
- 'absolute' !== Va(a).position && ((b.position = 'relative'), (b.zIndex = 0))
- b.backgroundColor = '#F3F1EC'
- b.color = '#000'
- b.textAlign = 'left'
- },
- ba: function () {
- var a = this
- a.as = function () {
- var b = a.cb()
- if (a.width !== b.width || a.height !== b.height) {
- var c = new O(a.width, a.height),
- e = new P('onbeforeresize')
- e.size = c
- a.dispatchEvent(e)
- a.ik((b.width - a.width) / 2, (b.height - a.height) / 2)
- a.ze.style.width = (a.width = b.width) + 'px'
- a.ze.style.height = (a.height = b.height) + 'px'
- c = new P('onresize')
- c.size = b
- a.dispatchEvent(c)
- }
- }
- a.K.nx && (a.R.es = setInterval(a.as, 80))
- },
- ik: function (a, b, c, e) {
- var f = this.oa().dc(this.fa()),
- g = this.cd,
- i = q
- c && J.yM(c) && ((this.re = new J(c.lng, c.lat)), (i = t))
- if ((c = c && e ? g.vj(c, this.Ub) : this.fc))
- if (((this.fc = new J(c.lng + a * f, c.lat - b * f)), (a = g.nh(this.fc, this.Ub)) && i)) this.re = a
- },
- Gg: function (a, b) {
- if (Wa(a) && (this.bv(), this.dispatchEvent(new P('onzoomstart')), (a = this.Yn(a).zoom), a !== this.Oa)) {
- this.Oc = this.Oa
- this.Oa = a
- var c
- b ? (c = b) : this.hh() && (c = this.hh().ga())
- c &&
- ((c = this.$b(c, this.Oc)),
- this.ik(this.width / 2 - c.x, this.height / 2 - c.y, this.xb(c, this.Oc), q))
- this.dispatchEvent(new P('onzoomstartcode'))
- }
- },
- Qc: function (a) {
- this.Gg(a)
- },
- kG: function (a) {
- this.Gg(this.Oa + 1, a)
- },
- lG: function (a) {
- this.Gg(this.Oa - 1, a)
- },
- qi: function (a) {
- a instanceof J &&
- ((this.fc = this.cd.vj(a, this.Ub)),
- (this.re = J.yM(a) ? new J(a.lng, a.lat) : this.cd.nh(this.fc, this.Ub)))
- },
- Ag: function (a, b) {
- a = Math.round(a) || 0
- b = Math.round(b) || 0
- this.ik(-a, -b)
- },
- Aw: function (a) {
- a && Xa(a.He) && (a.He(this), this.dispatchEvent(new P('onaddcontrol', a)))
- },
- VN: function (a) {
- a && Xa(a.remove) && (a.remove(), this.dispatchEvent(new P('onremovecontrol', a)))
- },
- yo: function (a) {
- a && Xa(a.na) && (a.na(this), this.dispatchEvent(new P('onaddcontextmenu', a)))
- },
- Cp: function (a) {
- a && Xa(a.remove) && (this.dispatchEvent(new P('onremovecontextmenu', a)), a.remove())
- },
- Ga: function (a) {
- a && Xa(a.He) && (a.He(this), this.dispatchEvent(new P('onaddoverlay', a)))
- },
- Qb: function (a) {
- a && Xa(a.remove) && (a.remove(), this.dispatchEvent(new P('onremoveoverlay', a)))
- },
- yK: function () {
- this.dispatchEvent(new P('onclearoverlays'))
- },
- Oe: function (a) {
- a && this.dispatchEvent(new P('onaddtilelayer', a))
- },
- Yf: function (a) {
- a && this.dispatchEvent(new P('onremovetilelayer', a))
- },
- Dg: function (a) {
- if (this.Hb !== a) {
- var b = new P('onsetmaptype')
- b.V4 = this.Hb
- this.Hb = this.K.Hb = a
- this.cd = this.Hb.wm()
- this.ik(0, 0, this.Ka(), q)
- this.bv()
- var c = this.Yn(this.fa()).zoom
- this.Gg(c)
- this.dispatchEvent(b)
- b = new P('onmaptypechange')
- b.Oa = c
- b.Hb = a
- this.dispatchEvent(b)
- ;(a === Ya || a === Sa) && Ra(ya)
- }
- },
- Zf: function (a) {
- var b = this
- if (a instanceof J)
- b.qi(a, {
- noAnimation: q
- })
- else if ($a(a))
- if (b.Hb === Qa) {
- var c = G.pC[a]
- c && ((pt = c.k), b.Zf(pt))
- } else {
- var e = this.WH()
- e.JF(function (c) {
- 0 === e.xm() && 2 === e.Ia.result.type && (b.Zf(c.Ak(0).point), Qa.wk(a) && b.DF(a))
- })
- e.search(a, {
- log: 'center'
- })
- }
- },
- Fd: function (a, b) {
- '[object Undefined]' !== Object.prototype.toString.call(b) && (b = parseInt(b))
- B.Fn('cus.fire', 'time', {
- z_loadscripttime: sa - ra
- })
- var c = this
- if ($a(a))
- if (c.Hb === Qa) {
- var e = G.pC[a]
- e && ((pt = e.k), c.Fd(pt, b))
- } else {
- var f = c.WH()
- f.JF(function (e) {
- if (0 === f.xm() && (2 === f.Ia.result.type || 11 === f.Ia.result.type)) {
- var e = e.Ak(0).point,
- g = b || ab.tx(f.Ia.content.level, c)
- c.Fd(e, g)
- Qa.wk(a) && c.DF(a)
- }
- })
- f.search(a, {
- log: 'center'
- })
- }
- else if (a instanceof J && b) {
- b = c.Yn(b).zoom
- c.Oc = c.Oa || b
- c.Oa = b
- e = c.re
- c.re = new J(a.lng, a.lat)
- c.fc = c.cd.vj(c.re, c.Ub)
- c.LC = c.LC || c.Oa
- c.KC = c.KC || c.re
- var g = new P('onload'),
- i = new P('onloadcode')
- g.point = new J(a.lng, a.lat)
- g.pixel = c.$b(c.re, c.Oa)
- g.zoom = b
- c.loaded || ((c.loaded = q), c.dispatchEvent(g), ta || (ta = bb()))
- c.dispatchEvent(i)
- g = new P('onmoveend')
- g.mv = 'centerAndZoom'
- e.pb(c.re) || c.dispatchEvent(g)
- c.dispatchEvent(new P('onmoveend'))
- c.Oc !== c.Oa && ((e = new P('onzoomend')), (e.mv = 'centerAndZoom'), c.dispatchEvent(e))
- c.K.Ro && c.Ro()
- }
- },
- WH: function () {
- this.R.YM || (this.R.YM = new cb(1))
- return this.R.YM
- },
- reset: function () {
- this.Fd(this.KC, this.LC, q)
- },
- enableDragging: function () {
- this.K.Wb = q
- },
- disableDragging: function () {
- this.K.Wb = t
- },
- enableInertialDragging: function () {
- this.K.ox = q
- },
- disableInertialDragging: function () {
- this.K.ox = t
- },
- enableScrollWheelZoom: function () {
- this.K.Uo = q
- },
- disableScrollWheelZoom: function () {
- this.K.Uo = t
- },
- enableContinuousZoom: function () {
- this.K.To = q
- },
- disableContinuousZoom: function () {
- this.K.To = t
- },
- enableDoubleClickZoom: function () {
- this.K.nD = q
- },
- disableDoubleClickZoom: function () {
- this.K.nD = t
- },
- enableKeyboard: function () {
- this.K.px = q
- },
- disableKeyboard: function () {
- this.K.px = t
- },
- enablePinchToZoom: function () {
- this.K.Ns = q
- },
- disablePinchToZoom: function () {
- this.K.Ns = t
- },
- enableAutoResize: function () {
- this.K.nx = q
- this.as()
- this.R.es || (this.R.es = setInterval(this.as, 80))
- },
- disableAutoResize: function () {
- this.K.nx = t
- this.R.es && (clearInterval(this.R.es), (this.R.es = s))
- },
- Ro: function () {
- this.K.Ro = q
- this.Nn ||
- ((this.Nn = new db({
- pL: q
- })),
- this.Oe(this.Nn))
- },
- KW: function () {
- this.K.Ro = t
- this.Nn && (this.Yf(this.Nn), (this.Nn = s), delete this.Nn)
- },
- cb: function () {
- return this.xs && this.xs instanceof O
- ? new O(this.xs.width, this.xs.height)
- : new O(this.Wa.clientWidth, this.Wa.clientHeight)
- },
- Ce: function (a) {
- a && a instanceof O
- ? ((this.xs = a), (this.Wa.style.width = a.width + 'px'), (this.Wa.style.height = a.height + 'px'))
- : (this.xs = s)
- },
- Ka: w('re'),
- fa: w('Oa'),
- ZV: function () {
- this.as()
- },
- Yn: function (a) {
- var b = this.K.gc,
- c = this.K.Yb,
- e = t,
- a = Math.round(a)
- a < b && ((e = q), (a = b))
- a > c && ((e = q), (a = c))
- return {
- zoom: a,
- yD: e
- }
- },
- La: w('Wa'),
- $b: function (a, b) {
- b = b || this.fa()
- return this.cd.$b(a, b, this.fc, this.cb(), this.Ub)
- },
- xb: function (a, b) {
- b = b || this.fa()
- return this.cd.xb(a, b, this.fc, this.cb(), this.Ub)
- },
- Xe: function (a, b) {
- if (a) {
- var c = this.$b(new J(a.lng, a.lat), b)
- c.x -= this.offsetX
- c.y -= this.offsetY
- return c
- }
- },
- JN: function (a, b) {
- if (a) {
- var c = new Q(a.x, a.y)
- c.x += this.offsetX
- c.y += this.offsetY
- return this.xb(c, b)
- }
- },
- pointToPixelFor3D: function (a, b) {
- var c = map.Ub
- this.Hb === Qa && c && eb.EK(a, this, b)
- },
- P4: function (a, b) {
- var c = map.Ub
- this.Hb === Qa && c && eb.DK(a, this, b)
- },
- Q4: function (a, b) {
- var c = this,
- e = map.Ub
- c.Hb === Qa &&
- e &&
- eb.EK(a, c, function (a) {
- a.x -= c.offsetX
- a.y -= c.offsetY
- b && b(a)
- })
- },
- L4: function (a, b) {
- var c = map.Ub
- this.Hb === Qa && c && ((a.x += this.offsetX), (a.y += this.offsetY), eb.DK(a, this, b))
- },
- ve: function (a) {
- if (!this.Xx()) return new fb()
- var b = a || {},
- a = b.margins || [0, 0, 0, 0],
- c = b.zoom || s,
- b = this.xb(
- {
- x: a[3],
- y: this.height - a[2]
- },
- c
- ),
- a = this.xb(
- {
- x: this.width - a[1],
- y: a[0]
- },
- c
- )
- return new fb(b, a)
- },
- Xx: function () {
- return !!this.loaded
- },
- nS: function (a, b) {
- for (
- var c = this.oa(),
- e = b.margins || [10, 10, 10, 10],
- f = b.zoomFactor || 0,
- g = e[1] + e[3],
- e = e[0] + e[2],
- i = c.bp(),
- k = (c = c.sm());
- k >= i;
- k--
- ) {
- var m = this.oa().dc(k)
- if (a.YF().lng / m < this.width - g && a.YF().lat / m < this.height - e) break
- }
- k += f
- k < i && (k = i)
- k > c && (k = c)
- return k
- },
- ht: function (a, b) {
- var c = {
- center: this.Ka(),
- zoom: this.fa()
- }
- if (!a || (!a instanceof fb && 0 === a.length) || (a instanceof fb && a.tj())) return c
- var e = []
- a instanceof fb ? (e.push(a.Rf()), e.push(a.Ve())) : (e = a.slice(0))
- for (var b = b || {}, f = [], g = 0, i = e.length; g < i; g++) f.push(this.cd.vj(e[g], this.Ub))
- e = new fb()
- for (g = f.length - 1; 0 <= g; g--) e.extend(f[g])
- if (e.tj()) return c
- c = e.Ka()
- f = this.nS(e, b)
- b.margins &&
- ((e = b.margins),
- (g = (e[1] - e[3]) / 2),
- (e = (e[0] - e[2]) / 2),
- (i = this.oa().dc(f)),
- b.offset && ((g = b.offset.width), (e = b.offset.height)),
- (c.lng += i * g),
- (c.lat += i * e))
- c = this.cd.nh(c, this.Ub)
- return {
- center: c,
- zoom: f
- }
- },
- yh: function (a, b) {
- var c
- c = a && a.center ? a : this.ht(a, b)
- var b = b || {},
- e = b.delay || 200
- if (c.zoom === this.Oa && b.enableAnimation !== t) {
- var f = this
- setTimeout(function () {
- f.qi(c.center, {
- duration: 210
- })
- }, e)
- } else this.Fd(c.center, c.zoom)
- },
- Tf: w('Yd'),
- hh: function () {
- return this.R.qb && this.R.qb.Xa() ? this.R.qb : s
- },
- getDistance: function (a, b) {
- if (a && b) {
- if (a.pb(b)) return 0
- var c = 0,
- c = S.$o(a, b)
- if (c === s || c === l) c = 0
- return c
- }
- },
- Hx: function () {
- var a = [],
- b = this.ya,
- c = this.Ee
- if (b) for (var e in b) b[e] instanceof gb && a.push(b[e])
- if (c) {
- e = 0
- for (b = c.length; e < b; e++) a.push(c[e])
- }
- return a
- },
- oa: w('Hb'),
- Dz: function () {
- for (var a = this.R.pF; a < B.Fr.length; a++) B.Fr[a](this)
- this.R.pF = a
- },
- DF: function (a) {
- //修改 setCurrentCity
- //i_setCurrentCity(this, a);
- this.Ub = Qa.wk(a)
- this.Rw = Qa.BL(this.Ub)
- this.Hb === Qa && this.cd instanceof hb && (this.cd.$i = this.Ub)
- },
- setDefaultCursor: function (a) {
- this.K.Vb = a
- this.platform && (this.platform.style.cursor = this.K.Vb)
- },
- getDefaultCursor: function () {
- return this.K.Vb
- },
- setDraggingCursor: function (a) {
- this.K.Hd = a
- },
- getDraggingCursor: function () {
- return this.K.Hd
- },
- Sx: function () {
- return this.K.aX && 1.5 <= this.K.devicePixelRatio
- },
- Cw: function (a, b) {
- b ? this.Jh[b] || (this.Jh[b] = {}) : (b = 'custom')
- a.tag = b
- a instanceof ib && ((this.Jh[b][a.aa] = a), a.na(this))
- var c = this
- K.load(
- 'hotspot',
- function () {
- c.Dz()
- },
- q
- )
- },
- VZ: function (a, b) {
- b || (b = 'custom')
- this.Jh[b][a.aa] && delete this.Jh[b][a.aa]
- },
- dm: function (a) {
- a || (a = 'custom')
- this.Jh[a] = {}
- },
- bv: function () {
- var a = this.Hb.bp(),
- b = this.Hb.sm(),
- c = this.K
- c.gc = c.hP || a
- c.Yb = c.gP || b
- c.gc < a && (c.gc = a)
- c.Yb > b && (c.Yb = b)
- },
- setMinZoom: function (a) {
- a = Math.round(a)
- a > this.K.Yb && (a = this.K.Yb)
- this.K.hP = a
- this.HJ()
- },
- setMaxZoom: function (a) {
- a = Math.round(a)
- a < this.K.gc && (a = this.K.gc)
- this.K.gP = a
- this.HJ()
- },
- HJ: function () {
- this.bv()
- var a = this.K
- this.Oa < a.gc ? this.Qc(a.gc) : this.Oa > a.Yb && this.Qc(a.Yb)
- var b = new P('onzoomspanchange')
- b.gc = a.gc
- b.Yb = a.Yb
- this.dispatchEvent(b)
- },
- Q3: w('WB'),
- getKey: function () {
- return qa
- },
- Zt: function (a) {
- var b = this
- window.MPC_Mgr && window.MPC_Mgr[b.aa] && window.MPC_Mgr[b.aa].close()
- b.K.fj = t
- B.Fn('cus.fire', 'count', 'z_setmapstylecount')
- if (a) {
- b = this
- a.styleJson && (a.styleStr = b.Z_(a.styleJson))
- H() && z.ca.Iy
- ? setTimeout(function () {
- b.K.ye = a
- b.dispatchEvent(new P('onsetcustomstyles', a))
- }, 50)
- : ((this.K.ye = a), this.dispatchEvent(new P('onsetcustomstyles', a)), this.sM(b.K.ye.geotableId))
- var c = {
- style: a.style
- }
- a.features && 0 < a.features.length && (c.features = q)
- a.styleJson && 0 < a.styleJson.length && (c.styleJson = q)
- Ra(5050, c)
- a.style &&
- (c = b.K.fm[a.style] ? b.K.fm[a.style].backColor : b.K.fm.normal.backColor) &&
- (this.La().style.backgroundColor = c)
- }
- },
- LY: function (a) {
- this.controls ||
- (this.controls = {
- navigationControl: new jb(),
- scaleControl: new kb(),
- overviewMapControl: new lb(),
- mapTypeControl: new mb()
- })
- var b = this,
- c
- for (c in this.controls) b.VN(b.controls[c])
- a = a || []
- z.mc.Fb(a, function (a) {
- b.Aw(b.controls[a])
- })
- },
- sM: function (a) {
- a
- ? (this.vs && this.vs.Cf === a) ||
- (this.Yf(this.vs),
- (this.vs = new nb({
- geotableId: a
- })),
- this.Oe(this.vs))
- : this.Yf(this.vs)
- },
- Sb: function () {
- var a = this.fa() >= this.K.fG && this.oa() === La && 18 >= this.fa(),
- b = t
- try {
- document.createElement('canvas').getContext('2d'), (b = q)
- } catch (c) {
- b = t
- }
- return a && b
- },
- getCurrentCity: function () {
- return {
- name: this.$g,
- code: this.fs
- }
- },
- tm: function () {
- this.P.co()
- return this.P
- },
- PY: function (a) {
- B.alog('cus.fire', 'count', 'z_loadindoormapcount')
- La.setMaxZoom(a.maxZoom || 19)
- var b = new P('oninitindoorlayer')
- b.vf = a
- this.dispatchEvent(b)
- this.K.Ms = t
- },
- D_: function (a) {
- this.K.qN = a
- this.Va.Jb.parentElement.style.display = a ? 'block' : 'none'
- },
- setPanorama: function (a) {
- this.P = a
- this.P.GF(this)
- },
- Z_: function (a) {
- for (
- var b = {
- featureType: 't',
- elementType: 'e',
- visibility: 'v',
- color: 'c',
- lightness: 'l',
- saturation: 's',
- weight: 'w',
- zoom: 'z',
- hue: 'h'
- },
- c = {
- all: 'all',
- geometry: 'g',
- 'geometry.fill': 'g.f',
- 'geometry.stroke': 'g.s',
- labels: 'l',
- 'labels.text.fill': 'l.t.f',
- 'labels.text.stroke': 'l.t.s',
- 'lables.text': 'l.t',
- 'labels.icon': 'l.i'
- },
- e = [],
- f = 0,
- g;
- (g = a[f]);
- f++
- ) {
- var i = g.stylers
- delete g.stylers
- z.extend(g, i)
- var i = [],
- k
- for (k in b)
- if (g[k])
- if ('elementType' === k) i.push(b[k] + ':' + c[g[k]])
- else {
- switch (g[k]) {
- case 'poilabel':
- g[k] = 'poi'
- break
- case 'districtlabel':
- g[k] = 'label'
- }
- i.push(b[k] + ':' + g[k])
- }
- 2 < i.length && e.push(i.join('|'))
- }
- return e.join(',')
- }
- })
- function Ra(a, b) {
- if (a) {
- var b = b || {},
- c = '',
- e
- for (e in b) c = c + '&' + e + '=' + encodeURIComponent(b[e])
- var f = function (a) {
- a &&
- ((ob = q),
- setTimeout(function () {
- pb.src = B.Wc + 'images/blank.gif?' + a.src
- }, 50))
- },
- g = function () {
- var a = qb.shift()
- a && f(a)
- }
- e = (1e8 * Math.random()).toFixed(0)
- ob
- ? qb.push({
- src:
- 'product=jsapi&sub_product=jsapi&v=' +
- B.version +
- '&sub_product_v=' +
- B.version +
- '&t=' +
- e +
- '&code=' +
- a +
- '&da_src=' +
- a +
- c
- })
- : f({
- src:
- 'product=jsapi&sub_product=jsapi&v=' +
- B.version +
- '&sub_product_v=' +
- B.version +
- '&t=' +
- e +
- '&code=' +
- a +
- '&da_src=' +
- a +
- c
- })
- rb ||
- (z.M(pb, 'load', function () {
- ob = t
- g()
- }),
- z.M(pb, 'error', function () {
- ob = t
- g()
- }),
- (rb = q))
- }
- }
- var ob,
- rb,
- qb = [],
- pb = new Image()
- Ra(5e3, {
- device_pixel_ratio: window.devicePixelRatio,
- platform: navigator.platform
- })
- B.mM = {
- TILE_BASE_URLS: [
- 'gss0.bdstatic.com/5bwHcj7lABFU8t_jkk_Z1zRvfdw6buu',
- 'gss0.bdstatic.com/5bwHcj7lABFV8t_jkk_Z1zRvfdw6buu',
- 'gss0.bdstatic.com/5bwHcj7lABFS8t_jkk_Z1zRvfdw6buu',
- 'gss0.bdstatic.com/5bwHcj7lABFT8t_jkk_Z1zRvfdw6buu',
- 'gss0.bdstatic.com/5bwHcj7lABFY8t_jkk_Z1zRvfdw6buu'
- ],
- TILE_ONLINE_URLS: [
- 'gss0.bdstatic.com/8bo_dTSlR1gBo1vgoIiO_jowehsv',
- 'gss0.bdstatic.com/8bo_dTSlRMgBo1vgoIiO_jowehsv',
- 'gss0.bdstatic.com/8bo_dTSlRcgBo1vgoIiO_jowehsv',
- 'gss0.bdstatic.com/8bo_dTSlRsgBo1vgoIiO_jowehsv',
- 'gss0.bdstatic.com/8bo_dTSlQ1gBo1vgoIiO_jowehsv'
- ],
- TIlE_PERSPECT_URLS: [
- 'gss0.bdstatic.com/-OR1cTe9KgQFm2e88IuM_a',
- 'gss0.bdstatic.com/-ON1cTe9KgQFm2e88IuM_a',
- 'gss0.bdstatic.com/-OZ1cTe9KgQFm2e88IuM_a',
- 'gss0.bdstatic.com/-OV1cTe9KgQFm2e88IuM_a'
- ],
- geolocControl: 'gsp0.baidu.com/8LkJsjOpB1gCo2Kml5_Y_D3',
- TILES_YUN_HOST: [
- 'gsp0.baidu.com/-eR1bSahKgkFkRGko9WTAnF6hhy',
- 'gsp0.baidu.com/-eN1bSahKgkFkRGko9WTAnF6hhy',
- 'gsp0.baidu.com/-eZ1bSahKgkFkRGko9WTAnF6hhy',
- 'gsp0.baidu.com/-eV1bSahKgkFkRGko9WTAnF6hhy'
- ],
- traffic: 'gsp0.baidu.com/7_AZsjOpB1gCo2Kml5_Y_DAcsMJiwa',
- iw_pano: 'gss0.bdstatic.com/5LUZemba_QUU8t7mm9GUKT-xh_',
- message: 'gsp0.baidu.com/7vo0bSba2gU2pMbgoY3K',
- baidumap: 'gsp0.baidu.com/80MWsjip0QIZ8tyhnq',
- wuxian: 'gsp0.baidu.com/6a1OdTeaKgQFm2e88IuM_a',
- pano: [
- 'gss0.bdstatic.com/5LUZemba_QUU8t7mm9GUKT-xh_',
- 'gss0.bdstatic.com/5LUZemfa_QUU8t7mm9GUKT-xh_',
- 'gss0.bdstatic.com/5LUZemja_QUU8t7mm9GUKT-xh_'
- ],
- main_domain_nocdn: {
- baidu: 'gsp0.baidu.com/9_Q4sjOpB1gCo2Kml5_Y_D3',
- other: 'api.map.baidu.com'
- },
- main_domain_cdn: {
- baidu: [
- 'gss0.bdstatic.com/9_Q4vHSd2RZ3otebn9fN2DJv',
- 'gss0.baidu.com/9_Q4vXSd2RZ3otebn9fN2DJv',
- 'gss0.bdstatic.com/9_Q4vnSd2RZ3otebn9fN2DJv'
- ],
- other: ['api.map.baidu.com'],
- webmap: ['gss0.baidu.com/6b1IcTe9R1gBo1vgoIiO_jowehsv']
- },
- map_click: 'gsp0.baidu.com/80MWbzKh2wt3n2qy8IqW0jdnxx1xbK',
- vector_traffic: 'gss0.bdstatic.com/8aZ1cTe9KgQIm2_p8IuM_a'
- }
- B.DY = {
- TILE_BASE_URLS: [
- 'shangetu0.map.bdimg.com',
- 'shangetu1.map.bdimg.com',
- 'shangetu2.map.bdimg.com',
- 'shangetu3.map.bdimg.com',
- 'shangetu4.map.bdimg.com'
- ],
- TILE_ONLINE_URLS: [
- 'online0.map.bdimg.com',
- 'online1.map.bdimg.com',
- 'online2.map.bdimg.com',
- 'online3.map.bdimg.com',
- 'online4.map.bdimg.com'
- ],
- TIlE_PERSPECT_URLS: ['d0.map.baidu.com', 'd1.map.baidu.com', 'd2.map.baidu.com', 'd3.map.baidu.com'],
- geolocControl: 'loc.map.baidu.com',
- TILES_YUN_HOST: [
- 'g0.api.map.baidu.com',
- 'g1.api.map.baidu.com',
- 'g2.api.map.baidu.com',
- 'g3.api.map.baidu.com'
- ],
- traffic: 'its.map.baidu.com:8002',
- iw_pano: 'pcsv0.map.bdimg.com',
- message: 'j.map.baidu.com',
- baidumap: 'map.baidu.com',
- wuxian: 'wuxian.baidu.com',
- pano: ['pcsv0.map.bdimg.com', 'pcsv1.map.bdimg.com', 'pcsv2.map.bdimg.com'],
- main_domain_nocdn: {
- baidu: 'api.map.baidu.com'
- },
- main_domain_cdn: {
- baidu: ['api0.map.bdimg.com', 'api1.map.bdimg.com', 'api2.map.bdimg.com'],
- webmap: ['webmap0.map.bdimg.com']
- },
- map_click: 'mapclick.map.baidu.com',
- vector_traffic: 'or.map.bdimg.com'
- }
- B.F0 = {
- 0: {
- proto: 'http://',
- domain: B.DY
- },
- 1: {
- proto: 'https://',
- domain: B.mM
- },
- 2: {
- proto: 'https://',
- domain: B.mM
- }
- }
- window.BMAP_PROTOCOL && 'https' === window.BMAP_PROTOCOL && (window.HOST_TYPE = 2)
- B.xu = window.HOST_TYPE || '0'
- B.url = B.F0[B.xu]
- B.vp = B.url.proto + B.url.domain.baidumap + '/'
- //B.vp =bmapcfg.home; //修改,本地工具资源引用(离线路径)
- B.Wc =
- B.url.proto + ('2' == B.xu ? B.url.domain.main_domain_nocdn.other : B.url.domain.main_domain_nocdn.baidu) + '/'
- //B.Wc =bmapcfg.home; //修改,本地工具资源引用(离线路径)
- //B.ka=B.url.proto+("2"==B.xu?B.url.domain.main_domain_cdn.other[0]:B.url.domain.main_domain_cdn.baidu[0])+"/";
- B.ka = bmapcfg.home //修改,本地工具资源引用(离线路径)
- B.Yi = B.url.proto + B.url.domain.main_domain_cdn.webmap[0] + '/'
- //B.Yi =bmapcfg.home; //修改,本地工具资源引用(离线路径)
- B.vg = function (a, b) {
- var c,
- e,
- b = b || ''
- switch (a) {
- case 'main_domain_nocdn':
- c = B.Wc + b
- break
- case 'main_domain_cdn':
- c = B.ka + b
- break
- default:
- ;(e = B.url.domain[a]),
- '[object Array]' == Object.prototype.toString.call(e)
- ? ((c = []),
- z.mc.Fb(e, function (a, e) {
- c[e] = B.url.proto + a + '/' + b
- }))
- : (c = B.url.proto + B.url.domain[a] + '/' + b)
- }
- return c
- }
- function tb(a) {
- var b = {
- duration: 1e3,
- Ic: 30,
- No: 0,
- kc: ub.UM,
- Kt: u()
- }
- this.dg = []
- if (a) for (var c in a) b[c] = a[c]
- this.j = b
- if (Wa(b.No)) {
- var e = this
- setTimeout(function () {
- e.start()
- }, b.No)
- } else b.No != vb && this.start()
- }
- var vb = 'INFINITE'
- tb.prototype.start = function () {
- this.Uu = bb()
- this.gA = this.Uu + this.j.duration
- wb(this)
- }
- tb.prototype.add = function (a) {
- this.dg.push(a)
- }
- function wb(a) {
- var b = bb()
- b >= a.gA
- ? (Xa(a.j.va) && a.j.va(a.j.kc(1)),
- Xa(a.j.finish) && a.j.finish(),
- 0 < a.dg.length && ((b = a.dg[0]), (b.dg = [].concat(a.dg.slice(1))), b.start()))
- : ((a.Jy = a.j.kc((b - a.Uu) / a.j.duration)),
- Xa(a.j.va) && a.j.va(a.Jy),
- a.TF ||
- (a.Yr = setTimeout(function () {
- wb(a)
- }, 1e3 / a.j.Ic)))
- }
- tb.prototype.stop = function (a) {
- this.TF = q
- for (var b = 0; b < this.dg.length; b++) this.dg[b].stop(), (this.dg[b] = s)
- this.dg.length = 0
- this.Yr && (clearTimeout(this.Yr), (this.Yr = s))
- this.j.Kt(this.Jy)
- a && ((this.gA = this.Uu), wb(this))
- }
- tb.prototype.cancel = ga(1)
- var ub = {
- UM: function (a) {
- return a
- },
- reverse: function (a) {
- return 1 - a
- },
- iD: function (a) {
- return a * a
- },
- hD: function (a) {
- return Math.pow(a, 3)
- },
- Ks: function (a) {
- return -(a * (a - 2))
- },
- eL: function (a) {
- return Math.pow(a - 1, 3) + 1
- },
- dL: function (a) {
- return 0.5 > a ? 2 * a * a : -2 * (a - 2) * a - 1
- },
- R2: function (a) {
- return 0.5 > a ? 4 * Math.pow(a, 3) : 4 * Math.pow(a - 1, 3) + 1
- },
- S2: function (a) {
- return (1 - Math.cos(Math.PI * a)) / 2
- }
- }
- ub['ease-in'] = ub.iD
- ub['ease-out'] = ub.Ks
- var G = {
- oG: 34,
- pG: 21,
- qG: new O(21, 32),
- wP: new O(10, 32),
- vP: new O(24, 36),
- uP: new O(12, 36),
- mG: new O(13, 1),
- qa: B.ka + 'images/',
- a4: 'http://api0.map.bdimg.com/images/',
- nG: B.ka + 'images/markers_new.png',
- sP: 24,
- tP: 73,
- pC: {
- '\u5317\u4eac': {
- yy: 'bj',
- k: new J(116.403874, 39.914889)
- },
- '\u4e0a\u6d77': {
- yy: 'sh',
- k: new J(121.487899, 31.249162)
- },
- '\u6df1\u5733': {
- yy: 'sz',
- k: new J(114.025974, 22.546054)
- },
- '\u5e7f\u5dde': {
- yy: 'gz',
- k: new J(113.30765, 23.120049)
- }
- },
- fontFamily: 'arial,sans-serif'
- }
- z.ca.Te
- ? (z.extend(G, {
- TK: 'url(' + G.qa + 'ruler.cur),crosshair',
- Vb: '-moz-grab',
- Hd: '-moz-grabbing'
- }),
- z.platform.IM && (G.fontFamily = 'arial,simsun,sans-serif'))
- : z.ca.Qw || z.ca.Iy
- ? z.extend(G, {
- TK: 'url(' + G.qa + 'ruler.cur) 2 6,crosshair',
- Vb: 'url(' + G.qa + 'openhand.cur) 8 8,default',
- Hd: 'url(' + G.qa + 'closedhand.cur) 8 8,move'
- })
- : z.extend(G, {
- TK: 'url(' + G.qa + 'ruler.cur),crosshair',
- Vb: 'url(' + G.qa + 'openhand.cur),default',
- Hd: 'url(' + G.qa + 'closedhand.cur),move'
- })
- function xb(a, b) {
- var c = a.style
- c.left = b[0] + 'px'
- c.top = b[1] + 'px'
- }
- function yb(a) {
- 0 < z.ca.ia ? (a.unselectable = 'on') : (a.style.MozUserSelect = 'none')
- }
- function zb(a) {
- return a && a.parentNode && 11 !== a.parentNode.nodeType
- }
- function Ab(a, b) {
- z.D.Vx(a, 'beforeEnd', b)
- return a.lastChild
- }
- function Bb(a) {
- for (
- var b = {
- left: 0,
- top: 0
- };
- a && a.offsetParent;
-
- )
- (b.left += a.offsetLeft), (b.top += a.offsetTop), (a = a.offsetParent)
- return b
- }
- function ma(a) {
- a = window.event || a
- a.stopPropagation ? a.stopPropagation() : (a.cancelBubble = q)
- }
- function Cb(a) {
- a = window.event || a
- a.preventDefault ? a.preventDefault() : (a.returnValue = t)
- return t
- }
- function na(a) {
- ma(a)
- return Cb(a)
- }
- function Eb() {
- var a = document.documentElement,
- b = document.body
- return a && (a.scrollTop || a.scrollLeft)
- ? [a.scrollTop, a.scrollLeft]
- : b
- ? [b.scrollTop, b.scrollLeft]
- : [0, 0]
- }
- function Fb(a, b) {
- if (a && b) return Math.round(Math.sqrt(Math.pow(a.x - b.x, 2) + Math.pow(a.y - b.y, 2)))
- }
- function Gb(a, b) {
- var c = [],
- b =
- b ||
- function (a) {
- return a
- },
- e
- for (e in a) c.push(e + '=' + b(a[e]))
- return c.join('&')
- }
- function L(a, b, c) {
- var e = document.createElement(a)
- c && (e = document.createElementNS(c, a))
- return z.D.CF(e, b || {})
- }
- function Va(a) {
- if (a.currentStyle) return a.currentStyle
- if (a.ownerDocument && a.ownerDocument.defaultView) return a.ownerDocument.defaultView.getComputedStyle(a, s)
- }
- function Xa(a) {
- return 'function' === typeof a
- }
- function Wa(a) {
- return 'number' === typeof a
- }
- function $a(a) {
- return 'string' == typeof a
- }
- function Hb(a) {
- return 'undefined' != typeof a
- }
- function Ib(a) {
- return 'object' == typeof a
- }
- var Jb = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='
- function Kb(a) {
- for (var b = '', c = 0; c < a.length; c++) {
- var e = a.charCodeAt(c) << 1,
- f = (e = e.toString(2))
- 8 > e.length && ((f = '00000000' + e), (f = f.substr(e.length, 8)))
- b += f
- }
- a = 5 - (b.length % 5)
- e = []
- for (c = 0; c < a; c++) e[c] = '0'
- b = e.join('') + b
- f = []
- for (c = 0; c < b.length / 5; c++) (e = b.substr(5 * c, 5)), f.push(String.fromCharCode(parseInt(e, 2) + 50))
- return f.join('') + a.toString()
- }
- function Lb(a) {
- var b = '',
- c,
- e,
- f = '',
- g,
- i = '',
- k = 0
- g = /[^A-Za-z0-9\+\/\=]/g
- if (!a || g.exec(a)) return a
- a = a.replace(/[^A-Za-z0-9\+\/\=]/g, '')
- do
- (c = Jb.indexOf(a.charAt(k++))),
- (e = Jb.indexOf(a.charAt(k++))),
- (g = Jb.indexOf(a.charAt(k++))),
- (i = Jb.indexOf(a.charAt(k++))),
- (c = (c << 2) | (e >> 4)),
- (e = ((e & 15) << 4) | (g >> 2)),
- (f = ((g & 3) << 6) | i),
- (b += String.fromCharCode(c)),
- 64 != g && (b += String.fromCharCode(e)),
- 64 != i && (b += String.fromCharCode(f))
- while (k < a.length)
- return b
- }
- var P = z.lang.Ju
- function H() {
- return !(!z.platform.zE && !z.platform.XY && !z.platform.Jm)
- }
- function Ua() {
- return !(!z.platform.IM && !z.platform.AM && !z.platform.cZ)
- }
- function bb() {
- return new Date().getTime()
- }
- function Mb() {
- var a = document.body.appendChild(L('div'))
- a.innerHTML = ''
- var b = a.firstChild
- if (!b.style) return t
- b.style.behavior = 'url(#default#VML)'
- b = b ? 'object' === typeof b.adj : q
- a.parentNode.removeChild(a)
- return b
- }
- function Nb() {
- return !!document.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#Shape', '1.1')
- }
- function Ob() {
- return !!L('canvas').getContext
- }
- function Pb(a) {
- return (a * Math.PI) / 180
- }
- B.iZ = (function () {
- var a = q,
- b = q,
- c = q,
- e = q,
- f = 0,
- g = 0,
- i = 0,
- k = 0
- return {
- eR: function () {
- f += 1
- a &&
- ((a = t),
- setTimeout(function () {
- Ra(5054, {
- pic: f
- })
- a = q
- f = 0
- }, 1e4))
- },
- v1: function () {
- g += 1
- b &&
- ((b = t),
- setTimeout(function () {
- Ra(5055, {
- move: g
- })
- b = q
- g = 0
- }, 1e4))
- },
- x1: function () {
- i += 1
- c &&
- ((c = t),
- setTimeout(function () {
- Ra(5056, {
- zoom: i
- })
- c = q
- i = 0
- }, 1e4))
- },
- w1: function (a) {
- k += a
- e &&
- ((e = t),
- setTimeout(function () {
- Ra(5057, {
- tile: k
- })
- e = q
- k = 0
- }, 5e3))
- }
- }
- })()
- B.iq = {
- DG: '#83a1ff',
- kq: '#808080'
- }
- function Qb(a, b, c) {
- b.Om || ((b.Om = []), (b.handle = {}))
- b.Om.push({
- filter: c,
- nm: a
- })
- b.addEventListener ||
- (b.addEventListener = function (a, c) {
- b.attachEvent('on' + a, c)
- })
- b.handle.click ||
- (b.addEventListener(
- 'click',
- function (a) {
- for (var c = a.target || a.srcElement; c != b; ) {
- Rb(b.Om, function (b, i) {
- RegExp(i.filter).test(c.getAttribute('filter')) && i.nm.call(c, a, c.getAttribute('filter'))
- })
- c = c.parentNode
- }
- },
- t
- ),
- (b.handle.click = q))
- }
- function Rb(a, b) {
- for (var c = 0, e = a.length; c < e; c++) b(c, a[c])
- }
- void (function (a, b, c) {
- void (function (a, b, c) {
- function i(a) {
- if (!a.Mo) {
- for (var c = q, e = [], g = a.ZZ, k = 0; g && k < g.length; k++) {
- var m = g[k],
- n = (pa[m] = pa[m] || {})
- if (n.Mo || n == a) e.push(n.Nc)
- else {
- c = t
- if (!n.DW && ((m = (Ma.get('alias') || {})[m] || m + '.js'), !R[m])) {
- R[m] = q
- var o = b.createElement('script'),
- p = b.getElementsByTagName('script')[0]
- o.async = q
- o.src = m
- p.parentNode.insertBefore(o, p)
- }
- n.bz = n.bz || {}
- n.bz[a.name] = a
- }
- }
- if (c) {
- a.Mo = q
- a.KK && (a.Nc = a.KK.apply(a, e))
- for (var v in a.bz) i(a.bz[v])
- }
- }
- }
- function k(a) {
- return (a || new Date()) - F
- }
- function m(a, b, c) {
- if (a) {
- 'string' == typeof a && ((c = b), (b = a), (a = M))
- try {
- a == M
- ? ((N[b] = N[b] || []), N[b].unshift(c))
- : a.addEventListener
- ? a.addEventListener(b, c, t)
- : a.attachEvent && a.attachEvent('on' + b, c)
- } catch (e) {}
- }
- }
- function n(a, b, c) {
- if (a) {
- 'string' == typeof a && ((c = b), (b = a), (a = M))
- try {
- if (a == M) {
- var e = N[b]
- if (e) for (var f = e.length; f--; ) e[f] === c && e.splice(f, 1)
- } else
- a.removeEventListener
- ? a.removeEventListener(b, c, t)
- : a.detachEvent && a.detachEvent('on' + b, c)
- } catch (g) {}
- }
- }
- function o(a) {
- var b = N[a],
- c = 0
- if (b) {
- for (var e = [], f = arguments, g = 1; g < f.length; g++) e.push(f[g])
- for (g = b.length; g--; ) b[g].apply(this, e) && c++
- return c
- }
- }
- function p(a, b) {
- if (a && b) {
- var c = new Image(1, 1),
- e = [],
- f = 'img_' + +new Date(),
- g
- for (g in b) b[g] && e.push(g + '=' + encodeURIComponent(b[g]))
- M[f] = c
- c.onload = c.onerror = function () {
- M[f] = c = c.onload = c.onerror = s
- delete M[f]
- }
- c.src = a + '?' + e.join('&')
- }
- }
- function v() {
- var a = arguments,
- b = a[0]
- if (this.JK || /^(on|un|set|get|create)$/.test(b)) {
- for (var b = y.prototype[b], c = [], e = 1, f = a.length; e < f; e++) c.push(a[e])
- 'function' == typeof b && b.apply(this, c)
- } else this.iK.push(a)
- }
- function x(a, b) {
- var c = {},
- e
- for (e in a) a.hasOwnProperty(e) && (c[e] = a[e])
- for (e in b) b.hasOwnProperty(e) && (c[e] = b[e])
- return c
- }
- function y(a) {
- this.name = a
- this.Ps = {
- protocolParameter: {
- postUrl: s,
- protocolParameter: s
- }
- }
- this.iK = []
- this.alog = M
- }
- function A(a) {
- a = a || 'default'
- if ('*' == a) {
- var a = [],
- b
- for (b in fa) a.push(fa[b])
- return a
- }
- ;(b = fa[a]) || (b = fa[a] = new y(a))
- return b
- }
- var E = c.alog
- if (!E || !E.Mo) {
- var C = b.all && a.attachEvent,
- F = (E && E.IE) || +new Date(),
- D = a.o4 || (+new Date()).toString(36) + Math.random().toString(36).substr(2, 3),
- I = 0,
- R = {},
- M = function (a) {
- var b = arguments,
- c,
- e,
- f,
- g
- if ('define' == a || 'require' == a) {
- for (e = 1; e < b.length; e++)
- switch (typeof b[e]) {
- case 'string':
- c = b[e]
- break
- case 'object':
- f = b[e]
- break
- case 'function':
- g = b[e]
- }
- 'require' == a && (c && !f && (f = [c]), (c = s))
- c = !c ? '#' + I++ : c
- e = pa[c] = pa[c] || {}
- e.Mo || ((e.name = c), (e.ZZ = f), (e.KK = g), 'define' == a && (e.DW = q), i(e))
- } else
- 'function' == typeof a
- ? a(M)
- : ('' + a).replace(/^(?:([\w$_]+)\.)?(\w+)$/, function (a, c, e) {
- b[0] = e
- v.apply(M.bG(c), b)
- })
- },
- N = {},
- fa = {},
- pa = {
- i2: {
- name: 'alog',
- Mo: q,
- Nc: M
- }
- }
- y.prototype.start = y.prototype.create = function (a) {
- if (!this.JK) {
- 'object' == typeof a && this.set(a)
- this.JK = new Date()
- for (this.Qs('create', this); (a = this.iK.shift()); ) v.apply(this, a)
- }
- }
- y.prototype.send = function (a, b) {
- var c = x(
- {
- ts: k().toString(36),
- t: a,
- sid: D
- },
- this.Ps
- )
- if ('object' == typeof b) c = x(c, b)
- else {
- var e = arguments
- switch (a) {
- case 'pageview':
- e[1] && (c.page = e[1])
- e[2] && (c.title = e[2])
- break
- case 'event':
- e[1] && (c.eventCategory = e[1])
- e[2] && (c.eventAction = e[2])
- e[3] && (c.eventLabel = e[3])
- e[4] && (c.eventValue = e[4])
- break
- case 'timing':
- e[1] && (c.timingCategory = e[1])
- e[2] && (c.timingVar = e[2])
- e[3] && (c.timingValue = e[3])
- e[4] && (c.timingLabel = e[4])
- break
- case 'exception':
- e[1] && (c.exDescription = e[1])
- e[2] && (c.exFatal = e[2])
- break
- default:
- return
- }
- }
- this.Qs('send', c)
- var f
- if ((e = this.Ps.protocolParameter)) {
- var g = {}
- for (f in c) e[f] !== s && (g[e[f] || f] = c[f])
- f = g
- } else f = c
- p(this.Ps.postUrl, f)
- }
- y.prototype.set = function (a, b) {
- if ('string' == typeof a)
- 'protocolParameter' == a &&
- (b = x(
- {
- postUrl: s,
- protocolParameter: s
- },
- b
- )),
- (this.Ps[a] = b)
- else if ('object' == typeof a) for (var c in a) this.set(c, a[c])
- }
- y.prototype.get = function (a, b) {
- var c = this.Ps[a]
- 'function' == typeof b && b(c)
- return c
- }
- y.prototype.Qs = function (a, b) {
- return M.Qs(this.name + '.' + a, b)
- }
- y.prototype.M = function (a, b) {
- M.M(this.name + '.' + a, b)
- }
- y.prototype.ed = function (a, b) {
- M.ed(this.name + '.' + a, b)
- }
- M.name = 'alog'
- M.BO = D
- M.Mo = q
- M.timestamp = k
- M.ed = n
- M.M = m
- M.Qs = o
- M.bG = A
- M('init')
- var wa = y.prototype
- T(wa, {
- start: wa.start,
- create: wa.create,
- send: wa.send,
- set: wa.set,
- get: wa.get,
- on: wa.M,
- un: wa.ed,
- fire: wa.Qs
- })
- var Ma = A()
- Ma.set('protocolParameter', {
- h2: s
- })
- if (E) {
- wa = [].concat(E.wb || [], E.Wm || [])
- E.wb = E.Wm = s
- for (var sb in M) M.hasOwnProperty(sb) && (E[sb] = M[sb])
- M.wb = M.Wm = {
- push: function (a) {
- M.apply(M, a)
- }
- }
- for (E = 0; E < wa.length; E++) M.apply(M, wa[E])
- }
- c.alog = M
- C &&
- m(b, 'mouseup', function (a) {
- a = a.target || a.srcElement
- 1 == a.nodeType && /^ajavascript:/i.test(a.tagName + a.href)
- })
- var Za = t
- a.onerror = function (a, b, e, f) {
- var i = q
- !b && /^script error/i.test(a) && (Za ? (i = t) : (Za = q))
- i &&
- c.alog('exception.send', 'exception', {
- Ht: a,
- HE: b,
- Dt: e,
- hs: f
- })
- return t
- }
- c.alog('exception.on', 'catch', function (a) {
- c.alog('exception.send', 'exception', {
- Ht: a.Ht,
- HE: a.path,
- Dt: a.Dt,
- method: a.method,
- rL: 'catch'
- })
- })
- }
- })(a, b, c)
- void (function (a, b, c) {
- var i = '18_3'
- H() && (i = '18_4')
- var k = 'http://static.tieba.baidu.com'
- 'https:' === a.location.protocol && (k = 'https://gsp0.baidu.com/5aAHeD3nKhI2p27j8IqW0jdnxx1xbK')
- var m = Math.random,
- k = k + '/tb/pms/img/st.gif',
- n = {
- wh: '0.1'
- },
- o = {
- wh: '0.1'
- },
- p = {
- wh: '0.1'
- },
- v = {
- wh: '0'
- }
- if (n && n.wh && m() < n.wh) {
- var x = c.alog.bG('monkey'),
- y,
- n = a.screen,
- A = b.referrer
- x.set('ver', 5)
- x.set('pid', 241)
- n && x.set('px', n.width + '*' + n.height)
- x.set('ref', A)
- c.alog('monkey.on', 'create', function () {
- y = c.alog.timestamp
- x.set('protocolParameter', {
- reports: s
- })
- })
- c.alog('monkey.on', 'send', function (a) {
- 'pageview' == a.t && (a.cmd = 'open')
- a.now && ((a.ts = y(a.now).toString(36)), (a.now = ''))
- })
- c.alog('monkey.create', {
- page: i,
- pid: '241',
- p: '18',
- dv: 6,
- postUrl: k,
- reports: {
- refer: 1
- }
- })
- c.alog('monkey.send', 'pageview', {
- now: +new Date()
- })
- }
- if (o && o.wh && m() < o.wh) {
- var E = t
- a.onerror = function (a, b, e, f) {
- var i = q
- !b && /^script error/i.test(a) && (E ? (i = t) : (E = q))
- i &&
- c.alog('exception.send', 'exception', {
- Ht: a,
- HE: b,
- Dt: e,
- hs: f
- })
- return t
- }
- c.alog('exception.on', 'catch', function (a) {
- c.alog('exception.send', 'exception', {
- Ht: a.Ht,
- HE: a.path,
- Dt: a.Dt,
- method: a.method,
- rL: 'catch'
- })
- })
- c.alog('exception.create', {
- postUrl: k,
- dv: 7,
- page: i,
- pid: '170',
- p: '18'
- })
- }
- p &&
- p.wh &&
- m() < p.wh &&
- (c.alog('cus.on', 'time', function (a) {
- var b = {},
- e = t,
- f
- if ('[object Object]' === a.toString()) {
- for (var i in a)
- 'page' == i
- ? (b.page = a[i])
- : ((f = parseInt(a[i])), 0 < f && /^z_/.test(i) && ((e = q), (b[i] = f)))
- e && c.alog('cus.send', 'time', b)
- }
- }),
- c.alog('cus.on', 'count', function (a) {
- var b = {},
- e = t
- 'string' === typeof a && (a = [a])
- if (a instanceof Array)
- for (var f = 0; f < a.length; f++)
- /^z_/.test(a[f])
- ? ((e = q), (b[a[f]] = 1))
- : /^page:/.test(a[f]) && (b.page = a[f].substring(5))
- e && c.alog('cus.send', 'count', b)
- }),
- c.alog('cus.create', {
- dv: 3,
- postUrl: k,
- page: i,
- p: '18'
- }))
- if (v && v.wh && m() < v.wh) {
- var C = ['Moz', 'O', 'ms', 'Webkit'],
- F = ['-webkit-', '-moz-', '-o-', '-ms-'],
- D = function () {
- return typeof b.createElement !== 'function'
- ? b.createElement(arguments[0])
- : b.createElement.apply(b, arguments)
- },
- I = D('dpFeatureTest').style,
- R = function (a) {
- return M(a, l, l)
- },
- M = function (a, b, c) {
- var e = a.charAt(0).toUpperCase() + a.slice(1),
- f = (a + ' ' + C.join(e + ' ') + e).split(' ')
- if (typeof b === 'string' || typeof b === 'undefined') return N(f, b)
- f = (a + ' ' + C.join(e + ' ') + e).split(' ')
- a: {
- var a = f,
- g
- for (g in a)
- if (a[g] in b) {
- if (c === t) {
- b = a[g]
- break a
- }
- g = b[a[g]]
- b = typeof g === 'function' ? fnBind(g, c || b) : g
- break a
- }
- b = t
- }
- return b
- },
- N = function (a, b) {
- var c, e, f
- e = a.length
- for (c = 0; c < e; c++) {
- f = a[c]
- ~('' + f).indexOf('-') && (f = fa(f))
- if (I[f] !== l) return b == 'pfx' ? f : q
- }
- return t
- },
- fa = function (a) {
- return a
- .replace(/([a-z])-([a-z])/g, function (a, b, c) {
- return b + c.toUpperCase()
- })
- .replace(/^-/, '')
- },
- pa = function (a, b, c) {
- if (a.indexOf('@') === 0) return atRule(a)
- a.indexOf('-') != -1 && (a = fa(a))
- return !b ? M(a, 'pfx') : M(a, b, c)
- },
- wa = function () {
- var a = D('canvas')
- return !(!a.getContext || !a.getContext('2d'))
- },
- Ma = function () {
- var a = D('div')
- return 'draggable' in a || ('ondragstart' in a && 'ondrop' in a)
- },
- sb = function () {
- try {
- localStorage.setItem('localStorage', 'localStorage')
- localStorage.removeItem('localStorage')
- return q
- } catch (a) {
- return t
- }
- },
- Za = function () {
- return 'content' in b.createElement('template')
- },
- Pa = function () {
- return 'createShadowRoot' in b.createElement('a')
- },
- oi = function () {
- return 'registerElement' in b
- },
- pi = function () {
- return 'import' in b.createElement('link')
- },
- qi = function () {
- return 'getItems' in b
- },
- ri = function () {
- return 'EventSource' in window
- },
- re = function (a, b) {
- var c = new Image()
- c.onload = function () {
- b(a, c.width > 0 && c.height > 0)
- }
- c.onerror = function () {
- b(a, t)
- }
- c.src =
- 'data:image/webp;base64,' +
- {
- r4: 'UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA',
- q4: 'UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==',
- alpha: 'UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==',
- kk: 'UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA'
- }[a]
- },
- se = function (a, b) {
- return (Tb.ei['WebP-' + a] = b)
- },
- si = function () {
- return 'openDatabase' in a
- },
- ti = function () {
- return 'performance' in a && 'timing' in a.performance
- },
- ui = function () {
- return 'performance' in a && 'mark' in a.performance
- },
- vi = function () {
- return !(
- !Array.prototype ||
- !Array.prototype.every ||
- !Array.prototype.filter ||
- !Array.prototype.forEach ||
- !Array.prototype.indexOf ||
- !Array.prototype.lastIndexOf ||
- !Array.prototype.map ||
- !Array.prototype.some ||
- !Array.prototype.reduce ||
- !Array.prototype.reduceRight ||
- !Array.isArray
- )
- },
- wi = function () {
- return (
- 'Promise' in a &&
- 'cast' in a.lq &&
- 'resolve' in a.lq &&
- 'reject' in a.lq &&
- 'all' in a.lq &&
- 'race' in a.lq &&
- (function () {
- var b
- new a.lq(function (a) {
- b = a
- })
- return typeof b === 'function'
- })()
- )
- },
- xi = function () {
- var b = !!a.i1,
- c = a.XMLHttpRequest && 'withCredentials' in new XMLHttpRequest()
- return !!a.l1 && b && c
- },
- yi = function () {
- return 'geolocation' in navigator
- },
- zi = function () {
- var b = D('canvas'),
- c = 'probablySupportsContext' in b ? 'probablySupportsContext' : 'supportsContext'
- return c in b ? b[c]('webgl') || b[c]('experimental-webgl') : 'WebGLRenderingContext' in a
- },
- Ai = function () {
- return !!b.createElementNS && !!b.createElementNS('http://www.w3.org/2000/svg', 'svg').A2
- },
- Bi = function () {
- return !!a.s1
- },
- Ci = function () {
- return 'WebSocket' in a && a.p1.f1 === 2
- },
- Di = function () {
- return !!b.createElement('video').canPlayType
- },
- Ei = function () {
- return !!b.createElement('audio').canPlayType
- },
- Fi = function () {
- return !!(a.history && 'pushState' in a.history)
- },
- Gi = function () {
- return !(!a.g1 || !a.h1)
- },
- Hi = function () {
- return 'postMessage' in window
- },
- Ii = function () {
- return (
- !!a.webkitNotifications ||
- ('Notification' in a && 'permission' in a.PP && 'requestPermission' in a.PP)
- )
- },
- Ji = function () {
- for (
- var b = ['webkit', 'moz', 'o', 'ms'], c = a.requestAnimationFrame, f = 0;
- f < b.length && !c;
- ++f
- )
- c = a[b[f] + 'RequestAnimationFrame']
- return !!c
- },
- Ki = function () {
- return 'JSON' in a && 'parse' in JSON && 'stringify' in JSON
- },
- Li = function () {
- return !(!pa('exitFullscreen', b, t) && !pa('cancelFullScreen', b, t))
- },
- Mi = function () {
- return !!pa('Intl', a)
- },
- Ni = function () {
- return R('flexBasis')
- },
- Oi = function () {
- return !!R('perspective')
- },
- Pi = function () {
- return R('shapeOutside')
- },
- Qi = function () {
- var a = D('div')
- a.style.cssText = F.join('filter:blur(2px); ')
- return !!a.style.length && (b.documentMode === l || b.documentMode > 9)
- },
- Ri = function () {
- return 'XMLHttpRequest' in a && 'withCredentials' in new XMLHttpRequest()
- },
- Si = function () {
- return D('progress').max !== l
- },
- Ti = function () {
- return D('meter').max !== l
- },
- Ui = function () {
- return 'sendBeacon' in navigator
- },
- Vi = function () {
- return R('borderRadius')
- },
- Wi = function () {
- return R('boxShadow')
- },
- Xi = function () {
- var a = D('div').style
- a.cssText = F.join('opacity:.55;')
- return /^0.55$/.test(a.opacity)
- },
- Yi = function () {
- return N(['textShadow'], l)
- },
- Zi = function () {
- return R('animationName')
- },
- $i = function () {
- return R('transition')
- },
- aj = function () {
- return navigator.userAgent.indexOf('Android 2.') === -1 && R('transform')
- },
- Tb = {
- ei: {},
- pa: function (a, b, c) {
- this.ei[a] = b.apply(this, [].slice.call(arguments, 2))
- },
- Ed: function (a, b) {
- a.apply(this, [].slice.call(arguments, 1))
- },
- f_: function () {
- this.pa('bdrs', Vi)
- this.pa('bxsd', Wi)
- this.pa('opat', Xi)
- this.pa('txsd', Yi)
- this.pa('anim', Zi)
- this.pa('trsi', $i)
- this.pa('trfm', aj)
- this.pa('flex', Ni)
- this.pa('3dtr', Oi)
- this.pa('shpe', Pi)
- this.pa('fltr', Qi)
- this.pa('cavs', wa)
- this.pa('dgdp', Ma)
- this.pa('locs', sb)
- this.pa('wctem', Za)
- this.pa('wcsdd', Pa)
- this.pa('wccse', oi)
- this.pa('wchti', pi)
- this.Ed(re, 'lossy', se)
- this.Ed(re, 'lossless', se)
- this.Ed(re, 'alpha', se)
- this.Ed(re, 'animation', se)
- this.pa('wsql', si)
- this.pa('natm', ti)
- this.pa('ustm', ui)
- this.pa('arra', vi)
- this.pa('prms', wi)
- this.pa('xhr2', xi)
- this.pa('wbgl', zi)
- this.pa('geol', yi)
- this.pa('svg', Ai)
- this.pa('work', Bi)
- this.pa('wbsk', Ci)
- this.pa('vido', Di)
- this.pa('audo', Ei)
- this.pa('hsty', Fi)
- this.pa('file', Gi)
- this.pa('psmg', Hi)
- this.pa('wknf', Ii)
- this.pa('rqaf', Ji)
- this.pa('json', Ki)
- this.pa('flsc', Li)
- this.pa('i18n', Mi)
- this.pa('cors', Ri)
- this.pa('prog', Si)
- this.pa('metr', Ti)
- this.pa('becn', Ui)
- this.pa('mcrd', qi)
- this.pa('esrc', ri)
- }
- },
- x = c.alog.bG('feature')
- x.M('commit', function () {
- Tb.f_()
- var a = setInterval(function () {
- if (
- 'WebP-lossy' in Tb.ei &&
- 'WebP-lossless' in Tb.ei &&
- 'WebP-alpha' in Tb.ei &&
- 'WebP-animation' in Tb.ei
- ) {
- for (var b in Tb.ei) Tb.ei[b] = Tb.ei[b] ? 'y' : 'n'
- x.send('feature', Tb.ei)
- clearInterval(a)
- }
- }, 500)
- })
- c.alog('feature.create', {
- P2: 4,
- R4: k,
- page: i,
- wb: '18'
- })
- c.alog('feature.fire', 'commit')
- }
- })(a, b, c)
- })(window, document, B)
- B.Fn = B.alog || u()
- B.alog('cus.fire', 'count', 'z_loadscriptcount')
- 'https:' === location.protocol && B.alog('cus.fire', 'count', 'z_httpscount')
- function Sb(a) {
- var b = window.TILE_VERSION,
- c = '20170927'
- b && b.ditu && ((b = b.ditu), b[a] && b[a].updateDate && (c = b[a].updateDate))
- return c
- }
- function oa(a, b) {
- if (/^http/.test(a)) return //修改 屏蔽ak验证,若调用外部资源直接返回
-
- if (b) {
- var c = (1e5 * Math.random()).toFixed(0)
- B._rd['_cbk' + c] = function (a) {
- b && b(a)
- delete B._rd['_cbk' + c]
- }
- a += '&callback=BMap._rd._cbk' + c
- }
- var e = L('script', {
- type: 'text/javascript'
- })
- e.charset = 'utf-8'
- e.src = a
- e.addEventListener
- ? e.addEventListener(
- 'load',
- function (a) {
- a = a.target
- a.parentNode.removeChild(a)
- },
- t
- )
- : e.attachEvent &&
- e.attachEvent('onreadystatechange', function () {
- var a = window.event.srcElement
- a && ('loaded' == a.readyState || 'complete' == a.readyState) && a.parentNode.removeChild(a)
- })
- setTimeout(function () {
- document.getElementsByTagName('head')[0].appendChild(e)
- e = s
- }, 1)
- }
- var Ub = {
- //修改,这里是所有的模块,用到时自动加载(在线),离线的话要先下载下来放到本地,如http://api0.map.bdimg.com/getmodules?v=3.0&mod=模块1,模块2
- //模块命名格式是map_dbwcej,直接拼接起来
- map: 'dbwcej',
- common: 'wkrfcz',
- style: 'fkofpc',
- tile: 'ok3b3m',
- vectordrawlib: '4pdipq',
- newvectordrawlib: 'wbnuee',
- groundoverlay: 'ekozhc',
- pointcollection: 'feabuc',
- marker: '00uyqy',
- symbol: 'cq3a5n',
- canvablepath: 'dia5aw',
- vmlcontext: 'phwtog',
- markeranimation: 'rfnmxu',
- poly: 'r52vuo',
- draw: 'jb4osz',
- drawbysvg: 'vxyn51',
- drawbyvml: 'whxmqq',
- drawbycanvas: 'ufwkvb',
- infowindow: 'wtflsn',
- oppc: '10riq5',
- opmb: '2c1ejz',
- menu: '152mop',
- control: 'hlzh1t',
- navictrl: 'h32mnb',
- geoctrl: 'xprajs',
- copyrightctrl: 'gmc2ps',
- citylistcontrol: 'ms3ahy',
- scommon: 'oadc3d',
- local: 'k0pcpi',
- route: 'v4yyam',
- othersearch: 'pwg4ey',
- mapclick: 'e40viw',
- buslinesearch: 'vxmb31',
- hotspot: 'vuwxs4',
- autocomplete: 'punr3o',
- coordtrans: 'lmf5kv',
- coordtransutils: 'd33qf1',
- convertor: 'd0ze2w',
- clayer: '0hwrfx',
- pservice: 'j5tlrp',
- pcommon: 'yqek4k',
- panorama: 'jbqj24',
- panoramaflash: 'dm4xq2',
- vector: '2hrruc'
- }
- z.Wy = (function () {
- function a(a) {
- return e && !!c[b + a + '_' + Ub[a]]
- }
- var b = 'BMap_',
- c = window.localStorage,
- e = 'localStorage' in window && c !== s && c !== l
- return {
- ZY: e,
- set: function (a, g) {
- if (e) {
- for (var i = b + a + '_', k = c.length, m; k--; )
- (m = c.key(k)), -1 < m.indexOf(i) && c.removeItem(m)
- try {
- c.setItem(b + a + '_' + Ub[a], g)
- } catch (n) {
- c.clear()
- }
- }
- },
- get: function (f) {
- return e && a(f) ? c.getItem(b + f + '_' + Ub[f]) : t
- },
- uK: a
- }
- })()
- function K() {}
- z.object.extend(K, {
- Cj: {
- EG: -1,
- cQ: 0,
- cq: 1
- },
- GL: function () {
- var a = 'canvablepath',
- b = B.gV ? 'newvectordrawlib' : 'vectordrawlib'
- if (!H() || !Ob()) Nb() || (Mb() ? (a = 'vmlcontext') : Ob())
- return {
- tile: [b, 'style'],
- control: [],
- marker: ['symbol'],
- symbol: ['canvablepath', 'common'],
- canvablepath: 'canvablepath' === a ? [] : [a],
- vmlcontext: [],
- style: [],
- poly: ['marker', 'drawbycanvas', 'drawbysvg', 'drawbyvml'],
- drawbysvg: ['draw'],
- drawbyvml: ['draw'],
- drawbycanvas: ['draw'],
- infowindow: ['common', 'marker'],
- menu: [],
- oppc: [],
- opmb: [],
- scommon: [],
- local: ['scommon'],
- route: ['scommon'],
- othersearch: ['scommon'],
- autocomplete: ['scommon'],
- citylistcontrol: ['autocomplete'],
- mapclick: ['scommon'],
- buslinesearch: ['route'],
- hotspot: [],
- coordtransutils: ['coordtrans'],
- convertor: [],
- clayer: ['tile'],
- pservice: [],
- pcommon: ['style', 'pservice'],
- panorama: ['pcommon'],
- panoramaflash: ['pcommon']
- }
- },
- U4: {},
- wG: {
- tQ: B.ka + 'getmodules?v=3.0',
- WU: 5e3
- },
- MC: t,
- Rd: {
- xl: {},
- Hn: [],
- cw: []
- },
- load: function (a, b, c) {
- var e = this.kb(a)
- if (e.Me == this.Cj.cq) c && b()
- else {
- if (e.Me == this.Cj.EG) {
- this.AK(a)
- this.SN(a)
- var f = this
- f.MC == t &&
- ((f.MC = q),
- setTimeout(function () {
- for (var a = [], b = 0, c = f.Rd.Hn.length; b < c; b++) {
- var e = f.Rd.Hn[b],
- n = ''
- ia.Wy.uK(e) ? (n = ia.Wy.get(e)) : ((n = ''), a.push(e + '_' + Ub[e]))
- f.Rd.cw.push({
- jN: e,
- ZE: n
- })
- }
- f.MC = t
- f.Rd.Hn.length = 0
- //0 == a.length ? f.kL() : oa(f.wG.tQ + "&mod=" + a.join(","))
- // 修改 加载本地模块文件,在 modules 目录下
- console.log(a) //打印所需模块
- if (a.length > 0) {
- for (i = 0; i < a.length; i++) {
- mf = bmapcfg.home + 'modules/' + a[i] + '.js'
- oa(mf)
- console.log('加载模块文件:' + mf) //IE error
- }
- } else {
- f.kL()
- }
- //就到这
- }, 1))
- e.Me = this.Cj.cQ
- }
- e.Yu.push(b)
- }
- },
- AK: function (a) {
- if (a && this.GL()[a])
- for (var a = this.GL()[a], b = 0; b < a.length; b++) this.AK(a[b]), this.Rd.xl[a[b]] || this.SN(a[b])
- },
- SN: function (a) {
- for (var b = 0; b < this.Rd.Hn.length; b++) if (this.Rd.Hn[b] == a) return
- this.Rd.Hn.push(a)
- },
- e_: function (a, b) {
- var c = this.kb(a)
- try {
- eval(b)
- } catch (e) {
- return
- }
- c.Me = this.Cj.cq
- for (var f = 0, g = c.Yu.length; f < g; f++) c.Yu[f]()
- c.Yu.length = 0
- },
- uK: function (a, b) {
- var c = this
- c.timeout = setTimeout(function () {
- c.Rd.xl[a].Me != c.Cj.cq ? (c.remove(a), c.load(a, b)) : clearTimeout(c.timeout)
- }, c.wG.WU)
- },
- kb: function (a) {
- this.Rd.xl[a] || ((this.Rd.xl[a] = {}), (this.Rd.xl[a].Me = this.Cj.EG), (this.Rd.xl[a].Yu = []))
- return this.Rd.xl[a]
- },
- remove: function (a) {
- delete this.kb(a)
- },
- WV: function (a, b) {
- for (var c = this.Rd.cw, e = q, f = 0, g = c.length; f < g; f++)
- '' == c[f].ZE && (c[f].jN == a ? (c[f].ZE = b) : (e = t))
- e && this.kL()
- },
- kL: function () {
- for (var a = this.Rd.cw, b = 0, c = a.length; b < c; b++) this.e_(a[b].jN, a[b].ZE)
- this.Rd.cw.length = 0
- }
- })
- function Q(a, b) {
- this.x = a || 0
- this.y = b || 0
- this.x = this.x
- this.y = this.y
- }
- Q.prototype.pb = function (a) {
- return a && a.x == this.x && a.y == this.y
- }
- function O(a, b) {
- this.width = a || 0
- this.height = b || 0
- }
- O.prototype.pb = function (a) {
- return a && this.width == a.width && this.height == a.height
- }
- function ib(a, b) {
- a &&
- ((this.Lb = a),
- (this.aa = 'spot' + ib.aa++),
- (b = b || {}),
- (this.Wg = b.text || ''),
- (this.Jv = b.offsets ? b.offsets.slice(0) : [5, 5, 5, 5]),
- (this.JJ = b.userData || s),
- (this.Lh = b.minZoom || s),
- (this.Hf = b.maxZoom || s))
- }
- ib.aa = 0
- z.extend(ib.prototype, {
- na: function (a) {
- this.Lh == s && (this.Lh = a.K.gc)
- this.Hf == s && (this.Hf = a.K.Yb)
- },
- sa: function (a) {
- a instanceof J && (this.Lb = a)
- },
- ga: w('Lb'),
- cu: ba('Wg'),
- eE: w('Wg'),
- setUserData: ba('JJ'),
- getUserData: w('JJ')
- })
- function Vb() {
- this.B = s
- this.Mb = 'control'
- this.Qa = this.nK = q
- }
- z.lang.ta(Vb, z.lang.Ca, 'Control')
- z.extend(Vb.prototype, {
- initialize: function (a) {
- this.B = a
- if (this.C) return a.Wa.appendChild(this.C), this.C
- },
- He: function (a) {
- !this.C && this.initialize && Xa(this.initialize) && (this.C = this.initialize(a))
- this.j = this.j || {
- Cg: t
- }
- this.IB()
- this.Nr()
- this.C && (this.C.mr = this)
- },
- IB: function () {
- var a = this.C
- if (a) {
- var b = a.style
- b.position = 'absolute'
- b.zIndex = this.Hz || '10'
- b.MozUserSelect = 'none'
- b.WebkitTextSizeAdjust = 'none'
- this.j.Cg || z.D.Ua(a, 'BMap_noprint')
- H() || z.M(a, 'contextmenu', na)
- }
- },
- remove: function () {
- this.B = s
- this.C && (this.C.parentNode && this.C.parentNode.removeChild(this.C), (this.C = this.C.mr = s))
- },
- Aa: function () {
- this.C = Ab(this.B.Wa, "")
- this.Qa == t && z.D.U(this.C)
- return this.C
- },
- Nr: function () {
- this.uc(this.j.anchor)
- },
- uc: function (a) {
- if (this.j2 || !Wa(a) || isNaN(a) || a < Wb || 3 < a) a = this.defaultAnchor
- this.j = this.j || {
- Cg: t
- }
- this.j.za = this.j.za || this.defaultOffset
- var b = this.j.anchor
- this.j.anchor = a
- if (this.C) {
- var c = this.C,
- e = this.j.za.width,
- f = this.j.za.height
- c.style.left = c.style.top = c.style.right = c.style.bottom = 'auto'
- switch (a) {
- case Wb:
- c.style.top = f + 'px'
- c.style.left = e + 'px'
- break
- case Xb:
- c.style.top = f + 'px'
- c.style.right = e + 'px'
- break
- case Yb:
- c.style.bottom = f + 'px'
- c.style.left = e + 'px'
- break
- case 3:
- ;(c.style.bottom = f + 'px'), (c.style.right = e + 'px')
- }
- c = ['TL', 'TR', 'BL', 'BR']
- z.D.Pb(this.C, 'anchor' + c[b])
- z.D.Ua(this.C, 'anchor' + c[a])
- }
- },
- HD: function () {
- return this.j.anchor
- },
- getContainer: w('C'),
- Ze: function (a) {
- a instanceof O &&
- ((this.j = this.j || {
- Cg: t
- }),
- (this.j.za = new O(a.width, a.height)),
- this.C && this.uc(this.j.anchor))
- },
- Sf: function () {
- return this.j.za
- },
- Jd: w('C'),
- show: function () {
- this.Qa != q && ((this.Qa = q), this.C && z.D.show(this.C))
- },
- U: function () {
- this.Qa != t && ((this.Qa = t), this.C && z.D.U(this.C))
- },
- isPrintable: function () {
- return !!this.j.Cg
- },
- jh: function () {
- return !this.C && !this.B ? t : !!this.Qa
- }
- })
- var Wb = 0,
- Xb = 1,
- Yb = 2
- function jb(a) {
- Vb.call(this)
- a = a || {}
- this.j = {
- Cg: t,
- OF: a.showZoomInfo || q,
- anchor: a.anchor,
- za: a.offset,
- type: a.type,
- $W: a.enableGeolocation || t
- }
- this.defaultAnchor = H() ? 3 : Wb
- this.defaultOffset = new O(10, 10)
- this.uc(a.anchor)
- this.hn(a.type)
- this.De()
- }
- z.lang.ta(jb, Vb, 'NavigationControl')
- z.extend(jb.prototype, {
- initialize: function (a) {
- this.B = a
- return this.C
- },
- hn: function (a) {
- this.j.type = Wa(a) && 0 <= a && 3 >= a ? a : 0
- },
- ip: function () {
- return this.j.type
- },
- De: function () {
- var a = this
- K.load('navictrl', function () {
- a.zf()
- })
- }
- })
- function Zb(a) {
- Vb.call(this)
- a = a || {}
- this.j = {
- anchor: a.anchor || Yb,
- za: a.offset || new O(10, 30),
- O_: a.showAddressBar !== t,
- U2: a.enableAutoLocation || t,
- bN: a.locationIcon || s
- }
- var b = this
- this.Hz = 1200
- b.I0 = []
- this.pe = []
- K.load('geoctrl', function () {
- ;(function e() {
- if (0 !== b.pe.length) {
- var a = b.pe.shift()
- b[a.method].apply(b, a.arguments)
- e()
- }
- })()
- b.sQ()
- })
- Ra(Ia)
- }
- z.lang.ta(Zb, Vb, 'GeolocationControl')
- z.extend(Zb.prototype, {
- location: function () {
- this.pe.push({
- method: 'location',
- arguments: arguments
- })
- },
- getAddressComponent: ca(s)
- })
- function $b(a) {
- Vb.call(this)
- a = a || {}
- this.j = {
- Cg: t,
- anchor: a.anchor,
- za: a.offset
- }
- this.cc = []
- this.defaultAnchor = Yb
- this.defaultOffset = new O(5, 2)
- this.uc(a.anchor)
- this.nK = t
- this.De()
- }
- z.lang.ta($b, Vb, 'CopyrightControl')
- z.object.extend($b.prototype, {
- initialize: function (a) {
- this.B = a
- return this.C
- },
- Bw: function (a) {
- if (a && Wa(a.id) && !isNaN(a.id)) {
- var b = {
- bounds: s,
- content: ''
- },
- c
- for (c in a) b[c] = a[c]
- if ((a = this.pm(a.id))) for (var e in b) a[e] = b[e]
- else this.cc.push(b)
- }
- },
- pm: function (a) {
- for (var b = 0, c = this.cc.length; b < c; b++) if (this.cc[b].id == a) return this.cc[b]
- },
- PD: w('cc'),
- qF: function (a) {
- for (var b = 0, c = this.cc.length; b < c; b++)
- this.cc[b].id == a && ((r = this.cc.splice(b, 1)), b--, (c = this.cc.length))
- },
- De: function () {
- var a = this
- K.load('copyrightctrl', function () {
- a.zf()
- })
- }
- })
- function lb(a) {
- Vb.call(this)
- a = a || {}
- this.j = {
- Cg: t,
- size: a.size || new O(150, 150),
- padding: 5,
- Xa: a.isOpen === q ? q : t,
- $0: 4,
- za: a.offset,
- anchor: a.anchor
- }
- this.defaultAnchor = 3
- this.defaultOffset = new O(0, 0)
- this.Bq = this.Cq = 13
- this.uc(a.anchor)
- this.Ce(this.j.size)
- this.De()
- }
- z.lang.ta(lb, Vb, 'OverviewMapControl')
- z.extend(lb.prototype, {
- initialize: function (a) {
- this.B = a
- return this.C
- },
- uc: function (a) {
- Vb.prototype.uc.call(this, a)
- },
- se: function () {
- this.se.mo = q
- this.j.Xa = !this.j.Xa
- this.C || (this.se.mo = t)
- },
- Ce: function (a) {
- a instanceof O || (a = new O(150, 150))
- a.width = 0 < a.width ? a.width : 150
- a.height = 0 < a.height ? a.height : 150
- this.j.size = a
- },
- cb: function () {
- return this.j.size
- },
- Xa: function () {
- return this.j.Xa
- },
- De: function () {
- var a = this
- K.load('control', function () {
- a.zf()
- })
- }
- })
- function ac(a) {
- Vb.call(this)
- a = a || {}
- this.defaultAnchor = Wb
- this.TV = a.canCheckSize === t ? t : q
- this.$i = ''
- this.defaultOffset = new O(10, 10)
- this.onChangeBefore = []
- this.onChangeAfter = []
- this.onChangeSuccess = []
- this.j = {
- Cg: t,
- za: a.offset || this.defaultOffset,
- anchor: a.anchor || this.defaultAnchor,
- expand: !!a.expand
- }
- a.onChangeBefore && Xa(a.onChangeBefore) && this.onChangeBefore.push(a.onChangeBefore)
- a.onChangeAfter && Xa(a.onChangeAfter) && this.onChangeAfter.push(a.onChangeAfter)
- a.onChangeSuccess && Xa(a.onChangeSuccess) && this.onChangeSuccess.push(a.onChangeSuccess)
- this.uc(a.anchor)
- this.De()
- }
- z.lang.ta(ac, Vb, 'CityListControl')
- z.object.extend(ac.prototype, {
- initialize: function (a) {
- this.B = a
- return this.C
- },
- De: function () {
- var a = this
- K.load(
- 'citylistcontrol',
- function () {
- a.zf()
- },
- q
- )
- }
- })
- function kb(a) {
- Vb.call(this)
- a = a || {}
- this.j = {
- Cg: t,
- color: 'black',
- fd: 'metric',
- za: a.offset
- }
- this.defaultAnchor = Yb
- this.defaultOffset = new O(81, 18)
- this.uc(a.anchor)
- this.Uh = {
- metric: {
- name: 'metric',
- CK: 1,
- rM: 1e3,
- bP: '\u7c73',
- cP: '\u516c\u91cc'
- },
- us: {
- name: 'us',
- CK: 3.2808,
- rM: 5280,
- bP: '\u82f1\u5c3a',
- cP: '\u82f1\u91cc'
- }
- }
- this.Uh[this.j.fd] || (this.j.fd = 'metric')
- this.gJ = s
- this.GI = {}
- this.De()
- }
- z.lang.ta(kb, Vb, 'ScaleControl')
- z.object.extend(kb.prototype, {
- initialize: function (a) {
- this.B = a
- return this.C
- },
- Pk: function (a) {
- this.j.color = a + ''
- },
- n3: function () {
- return this.j.color
- },
- LF: function (a) {
- this.j.fd = (this.Uh[a] && this.Uh[a].name) || this.j.fd
- },
- sY: function () {
- return this.j.fd
- },
- De: function () {
- var a = this
- K.load('control', function () {
- a.zf()
- })
- }
- })
- var bc = 0
- function mb(a) {
- Vb.call(this)
- a = a || {}
- this.defaultAnchor = Xb
- this.defaultOffset = new O(10, 10)
- this.j = {
- Cg: t,
- mh: [La, Ya, Sa, Qa],
- BW: ['B_DIMENSIONAL_MAP', 'B_SATELLITE_MAP', 'B_NORMAL_MAP'],
- type: a.type || bc,
- za: a.offset || this.defaultOffset,
- dX: q
- }
- this.uc(a.anchor)
- '[object Array]' == Object.prototype.toString.call(a.mapTypes) && (this.j.mh = a.mapTypes.slice(0))
- this.De()
- }
- z.lang.ta(mb, Vb, 'MapTypeControl')
- z.object.extend(mb.prototype, {
- initialize: function (a) {
- this.B = a
- return this.C
- },
- Xy: function (a) {
- this.B.ao = a
- },
- De: function () {
- var a = this
- K.load(
- 'control',
- function () {
- a.zf()
- },
- q
- )
- }
- })
- function cc(a) {
- Vb.call(this)
- a = a || {}
- this.j = {
- Cg: t,
- za: a.offset,
- anchor: a.anchor
- }
- this.Ni = t
- this.hw = s
- this.QI = new dc({
- of: 'api'
- })
- this.RI = new ec(s, {
- of: 'api'
- })
- this.defaultAnchor = Xb
- this.defaultOffset = new O(10, 10)
- this.uc(a.anchor)
- this.De()
- Ra(va)
- }
- z.lang.ta(cc, Vb, 'PanoramaControl')
- z.extend(cc.prototype, {
- initialize: function (a) {
- this.B = a
- return this.C
- },
- De: function () {
- var a = this
- K.load('control', function () {
- a.zf()
- })
- }
- })
- function fc(a) {
- z.lang.Ca.call(this)
- this.j = {
- Wa: s,
- cursor: 'default'
- }
- this.j = z.extend(this.j, a)
- this.Mb = 'contextmenu'
- this.B = s
- this.xa = []
- this.Kf = []
- this.Fe = []
- this.fx = this.qs = s
- this.Kh = t
- var b = this
- K.load('menu', function () {
- b.ib()
- })
- }
- z.lang.ta(fc, z.lang.Ca, 'ContextMenu')
- z.object.extend(fc.prototype, {
- na: function (a, b) {
- this.B = a
- this.Cl = b || s
- },
- remove: function () {
- this.B = this.Cl = s
- },
- Dw: function (a) {
- if (a && !('menuitem' != a.Mb || '' == a.Wg || 0 >= a.Vi)) {
- for (var b = 0, c = this.xa.length; b < c; b++) if (this.xa[b] === a) return
- this.xa.push(a)
- this.Kf.push(a)
- }
- },
- removeItem: function (a) {
- if (a && 'menuitem' == a.Mb) {
- for (var b = 0, c = this.xa.length; b < c; b++)
- this.xa[b] === a && (this.xa[b].remove(), this.xa.splice(b, 1), c--)
- b = 0
- for (c = this.Kf.length; b < c; b++)
- this.Kf[b] === a && (this.Kf[b].remove(), this.Kf.splice(b, 1), c--)
- }
- },
- bC: function () {
- this.xa.push({
- Mb: 'divider',
- Lj: this.Fe.length
- })
- this.Fe.push({
- D: s
- })
- },
- sF: function (a) {
- if (this.Fe[a]) {
- for (var b = 0, c = this.xa.length; b < c; b++)
- this.xa[b] && 'divider' == this.xa[b].Mb && this.xa[b].Lj == a && (this.xa.splice(b, 1), c--),
- this.xa[b] && 'divider' == this.xa[b].Mb && this.xa[b].Lj > a && this.xa[b].Lj--
- this.Fe.splice(a, 1)
- }
- },
- Jd: w('C'),
- show: function () {
- this.Kh != q && (this.Kh = q)
- },
- U: function () {
- this.Kh != t && (this.Kh = t)
- },
- t_: function (a) {
- a && (this.j.cursor = a)
- },
- getItem: function (a) {
- return this.Kf[a]
- }
- })
- var gc = G.qa + 'menu_zoom_in.png',
- hc = G.qa + 'menu_zoom_out.png'
- function ic(a, b, c) {
- if (a && Xa(b)) {
- z.lang.Ca.call(this)
- this.j = {
- width: 100,
- id: '',
- Dm: ''
- }
- c = c || {}
- this.j.width = 1 * c.width ? c.width : 100
- this.j.id = c.id ? c.id : ''
- this.j.Dm = c.iconUrl ? c.iconUrl : ''
- this.Wg = a + ''
- this.Kz = b
- this.B = s
- this.Mb = 'menuitem'
- this.Ur = this.yv = this.C = this.Eh = s
- this.Ih = q
- var e = this
- K.load('menu', function () {
- e.ib()
- })
- }
- }
- z.lang.ta(ic, z.lang.Ca, 'MenuItem')
- z.object.extend(ic.prototype, {
- na: function (a, b) {
- this.B = a
- this.Eh = b
- },
- remove: function () {
- this.B = this.Eh = s
- },
- cu: function (a) {
- a && (this.Wg = a + '')
- },
- Rb: function (a) {
- a && (this.j.Dm = a)
- },
- Jd: w('C'),
- enable: function () {
- this.Ih = q
- },
- disable: function () {
- this.Ih = t
- }
- })
- function fb(a, b) {
- a && !b && (b = a)
- this.Ie = this.Xd = this.Ne = this.Zd = this.Pl = this.Al = s
- a &&
- ((this.Pl = new J(a.lng, a.lat)),
- (this.Al = new J(b.lng, b.lat)),
- (this.Ne = a.lng),
- (this.Zd = a.lat),
- (this.Ie = b.lng),
- (this.Xd = b.lat))
- }
- z.object.extend(fb.prototype, {
- tj: function () {
- return !this.Pl || !this.Al
- },
- pb: function (a) {
- return !(a instanceof fb) || this.tj() ? t : this.Ve().pb(a.Ve()) && this.Rf().pb(a.Rf())
- },
- Ve: w('Pl'),
- Rf: w('Al'),
- kW: function (a) {
- return !(a instanceof fb) || this.tj() || a.tj()
- ? t
- : a.Ne > this.Ne && a.Ie < this.Ie && a.Zd > this.Zd && a.Xd < this.Xd
- },
- Ka: function () {
- return this.tj() ? s : new J((this.Ne + this.Ie) / 2, (this.Zd + this.Xd) / 2)
- },
- ot: function (a) {
- if (
- !(a instanceof fb) ||
- Math.max(a.Ne, a.Ie) < Math.min(this.Ne, this.Ie) ||
- Math.min(a.Ne, a.Ie) > Math.max(this.Ne, this.Ie) ||
- Math.max(a.Zd, a.Xd) < Math.min(this.Zd, this.Xd) ||
- Math.min(a.Zd, a.Xd) > Math.max(this.Zd, this.Xd)
- )
- return s
- var b = Math.max(this.Ne, a.Ne),
- c = Math.min(this.Ie, a.Ie),
- e = Math.max(this.Zd, a.Zd),
- a = Math.min(this.Xd, a.Xd)
- return new fb(new J(b, e), new J(c, a))
- },
- js: function (a) {
- return !(a instanceof J) || this.tj()
- ? t
- : a.lng >= this.Ne && a.lng <= this.Ie && a.lat >= this.Zd && a.lat <= this.Xd
- },
- extend: function (a) {
- if (a instanceof J) {
- var b = a.lng,
- a = a.lat
- this.Pl || (this.Pl = new J(0, 0))
- this.Al || (this.Al = new J(0, 0))
- if (!this.Ne || this.Ne > b) this.Pl.lng = this.Ne = b
- if (!this.Ie || this.Ie < b) this.Al.lng = this.Ie = b
- if (!this.Zd || this.Zd > a) this.Pl.lat = this.Zd = a
- if (!this.Xd || this.Xd < a) this.Al.lat = this.Xd = a
- }
- },
- YF: function () {
- return this.tj() ? new J(0, 0) : new J(Math.abs(this.Ie - this.Ne), Math.abs(this.Xd - this.Zd))
- }
- })
- function J(a, b) {
- isNaN(a) && ((a = Lb(a)), (a = isNaN(a) ? 0 : a))
- $a(a) && (a = parseFloat(a))
- isNaN(b) && ((b = Lb(b)), (b = isNaN(b) ? 0 : b))
- $a(b) && (b = parseFloat(b))
- this.lng = a
- this.lat = b
- }
- J.yM = function (a) {
- return a && 180 >= a.lng && -180 <= a.lng && 74 >= a.lat && -74 <= a.lat
- }
- J.prototype.pb = function (a) {
- return a && this.lat == a.lat && this.lng == a.lng
- }
- function jc() {}
- jc.prototype.kh = function () {
- aa('lngLatToPoint\u65b9\u6cd5\u672a\u5b9e\u73b0')
- }
- jc.prototype.xj = function () {
- aa('pointToLngLat\u65b9\u6cd5\u672a\u5b9e\u73b0')
- }
- function kc() {}
- var eb = {
- EK: function (a, b, c) {
- K.load(
- 'coordtransutils',
- function () {
- eb.AV(a, b, c)
- },
- q
- )
- },
- DK: function (a, b, c) {
- K.load(
- 'coordtransutils',
- function () {
- eb.zV(a, b, c)
- },
- q
- )
- }
- }
- function lc() {
- this.Pa = []
- var a = this
- K.load('convertor', function () {
- a.qQ()
- })
- }
- z.ta(lc, z.lang.Ca, 'Convertor')
- z.extend(lc.prototype, {
- translate: function (a, b, c, e) {
- this.Pa.push({
- method: 'translate',
- arguments: [a, b, c, e]
- })
- }
- })
- T(lc.prototype, {
- translate: lc.prototype.translate
- })
- function S() {}
- S.prototype = new jc()
- z.extend(S, {
- GP: 6370996.81,
- IG: [1.289059486e7, 8362377.87, 5591021, 3481989.83, 1678043.12, 0],
- Nu: [75, 60, 45, 30, 15, 0],
- MP: [
- [
- 1.410526172116255e-8, 8.98305509648872e-6, -1.9939833816331, 200.9824383106796, -187.2403703815547,
- 91.6087516669843, -23.38765649603339, 2.57121317296198, -0.03801003308653, 1.73379812e7
- ],
- [
- -7.435856389565537e-9, 8.983055097726239e-6, -0.78625201886289, 96.32687599759846, -1.85204757529826,
- -59.36935905485877, 47.40033549296737, -16.50741931063887, 2.28786674699375, 1.026014486e7
- ],
- [
- -3.030883460898826e-8, 8.98305509983578e-6, 0.30071316287616, 59.74293618442277, 7.357984074871,
- -25.38371002664745, 13.45380521110908, -3.29883767235584, 0.32710905363475, 6856817.37
- ],
- [
- -1.981981304930552e-8, 8.983055099779535e-6, 0.03278182852591, 40.31678527705744, 0.65659298677277,
- -4.44255534477492, 0.85341911805263, 0.12923347998204, -0.04625736007561, 4482777.06
- ],
- [
- 3.09191371068437e-9, 8.983055096812155e-6, 6.995724062e-5, 23.10934304144901, -2.3663490511e-4,
- -0.6321817810242, -0.00663494467273, 0.03430082397953, -0.00466043876332, 2555164.4
- ],
- [
- 2.890871144776878e-9, 8.983055095805407e-6, -3.068298e-8, 7.47137025468032, -3.53937994e-6,
- -0.02145144861037, -1.234426596e-5, 1.0322952773e-4, -3.23890364e-6, 826088.5
- ]
- ],
- FG: [
- [
- -0.0015702102444, 111320.7020616939, 1704480524535203, -10338987376042340, 26112667856603880,
- -35149669176653700, 26595700718403920, -10725012454188240, 1800819912950474, 82.5
- ],
- [
- 8.277824516172526e-4, 111320.7020463578, 6.477955746671607e8, -4.082003173641316e9,
- 1.077490566351142e10, -1.517187553151559e10, 1.205306533862167e10, -5.124939663577472e9,
- 9.133119359512032e8, 67.5
- ],
- [
- 0.00337398766765, 111320.7020202162, 4481351.045890365, -2.339375119931662e7, 7.968221547186455e7,
- -1.159649932797253e8, 9.723671115602145e7, -4.366194633752821e7, 8477230.501135234, 52.5
- ],
- [
- 0.00220636496208, 111320.7020209128, 51751.86112841131, 3796837.749470245, 992013.7397791013,
- -1221952.21711287, 1340652.697009075, -620943.6990984312, 144416.9293806241, 37.5
- ],
- [
- -3.441963504368392e-4, 111320.7020576856, 278.2353980772752, 2485758.690035394, 6070.750963243378,
- 54821.18345352118, 9540.606633304236, -2710.55326746645, 1405.483844121726, 22.5
- ],
- [
- -3.218135878613132e-4, 111320.7020701615, 0.00369383431289, 823725.6402795718, 0.46104986909093,
- 2351.343141331292, 1.58060784298199, 8.77738589078284, 0.37238884252424, 7.45
- ]
- ],
- t3: function (a, b) {
- if (!a || !b) return 0
- var c,
- e,
- a = this.Tb(a)
- if (!a) return 0
- c = this.Xk(a.lng)
- e = this.Xk(a.lat)
- b = this.Tb(b)
- return !b ? 0 : this.pf(c, this.Xk(b.lng), e, this.Xk(b.lat))
- },
- $o: function (a, b) {
- if (!a || !b) return 0
- a.lng = this.WD(a.lng, -180, 180)
- a.lat = this.aE(a.lat, -74, 74)
- b.lng = this.WD(b.lng, -180, 180)
- b.lat = this.aE(b.lat, -74, 74)
- return this.pf(this.Xk(a.lng), this.Xk(b.lng), this.Xk(a.lat), this.Xk(b.lat))
- },
- Tb: function (a) {
- if (a === s || a === l) return new J(0, 0)
- var b, c
- b = new J(Math.abs(a.lng), Math.abs(a.lat))
- for (var e = 0; e < this.IG.length; e++)
- if (b.lat >= this.IG[e]) {
- c = this.MP[e]
- break
- }
- a = this.FK(a, c)
- return (a = new J(a.lng.toFixed(6), a.lat.toFixed(6)))
- },
- Eb: function (a) {
- if (a === s || a === l || 180 < a.lng || -180 > a.lng || 90 < a.lat || -90 > a.lat) return new J(0, 0)
- var b, c
- a.lng = this.WD(a.lng, -180, 180)
- a.lat = this.aE(a.lat, -74, 74)
- b = new J(a.lng, a.lat)
- for (var e = 0; e < this.Nu.length; e++)
- if (b.lat >= this.Nu[e]) {
- c = this.FG[e]
- break
- }
- if (!c)
- for (e = 0; e < this.Nu.length; e++)
- if (b.lat <= -this.Nu[e]) {
- c = this.FG[e]
- break
- }
- a = this.FK(a, c)
- return (a = new J(a.lng.toFixed(2), a.lat.toFixed(2)))
- },
- FK: function (a, b) {
- if (a && b) {
- var c = b[0] + b[1] * Math.abs(a.lng),
- e = Math.abs(a.lat) / b[9],
- e =
- b[2] +
- b[3] * e +
- b[4] * e * e +
- b[5] * e * e * e +
- b[6] * e * e * e * e +
- b[7] * e * e * e * e * e +
- b[8] * e * e * e * e * e * e,
- c = c * (0 > a.lng ? -1 : 1),
- e = e * (0 > a.lat ? -1 : 1)
- return new J(c, e)
- }
- },
- pf: function (a, b, c, e) {
- return this.GP * Math.acos(Math.sin(c) * Math.sin(e) + Math.cos(c) * Math.cos(e) * Math.cos(b - a))
- },
- Xk: function (a) {
- return (Math.PI * a) / 180
- },
- B5: function (a) {
- return (180 * a) / Math.PI
- },
- aE: function (a, b, c) {
- b != s && (a = Math.max(a, b))
- c != s && (a = Math.min(a, c))
- return a
- },
- WD: function (a, b, c) {
- for (; a > c; ) a -= c - b
- for (; a < b; ) a += c - b
- return a
- }
- })
- z.extend(S.prototype, {
- vj: function (a) {
- return S.Eb(a)
- },
- kh: function (a) {
- a = S.Eb(a)
- return new Q(a.lng, a.lat)
- },
- nh: function (a) {
- return S.Tb(a)
- },
- xj: function (a) {
- a = new J(a.x, a.y)
- return S.Tb(a)
- },
- $b: function (a, b, c, e, f) {
- if (a)
- return (
- (a = this.vj(a, f)),
- (b = this.dc(b)),
- new Q(Math.round((a.lng - c.lng) / b + e.width / 2), Math.round((c.lat - a.lat) / b + e.height / 2))
- )
- },
- xb: function (a, b, c, e, f) {
- if (a)
- return (
- (b = this.dc(b)),
- this.nh(new J(c.lng + b * (a.x - e.width / 2), c.lat - b * (a.y - e.height / 2)), f)
- )
- },
- dc: function (a) {
- return Math.pow(2, 18 - a)
- }
- })
- function hb() {
- this.$i = 'bj'
- }
- hb.prototype = new S()
- z.extend(hb.prototype, {
- vj: function (a, b) {
- return this.bR(b, S.Eb(a))
- },
- nh: function (a, b) {
- return S.Tb(this.cR(b, a))
- },
- lngLatToPointFor3D: function (a, b) {
- var c = this,
- e = S.Eb(a)
- K.load(
- 'coordtrans',
- function () {
- var a = kc.ZD(c.$i || 'bj', e),
- a = new Q(a.x, a.y)
- b && b(a)
- },
- q
- )
- },
- pointToLngLatFor3D: function (a, b) {
- var c = this,
- e = new J(a.x, a.y)
- K.load(
- 'coordtrans',
- function () {
- var a = kc.XD(c.$i || 'bj', e),
- a = new J(a.lng, a.lat),
- a = S.Tb(a)
- b && b(a)
- },
- q
- )
- },
- bR: function (a, b) {
- if (K.kb('coordtrans').Me == K.Cj.cq) {
- var c = kc.ZD(a || 'bj', b)
- return new J(c.x, c.y)
- }
- K.load('coordtrans', u())
- return new J(0, 0)
- },
- cR: function (a, b) {
- if (K.kb('coordtrans').Me == K.Cj.cq) {
- var c = kc.XD(a || 'bj', b)
- return new J(c.lng, c.lat)
- }
- K.load('coordtrans', u())
- return new J(0, 0)
- },
- dc: function (a) {
- return Math.pow(2, 20 - a)
- }
- })
- function mc() {
- this.Mb = 'overlay'
- }
- z.lang.ta(mc, z.lang.Ca, 'Overlay')
- mc.Ck = function (a) {
- a *= 1
- return !a ? 0 : (-1e5 * a) << 1
- }
- z.extend(mc.prototype, {
- He: function (a) {
- if (!this.V && Xa(this.initialize) && (this.V = this.initialize(a))) this.V.style.WebkitUserSelect = 'none'
- this.draw()
- },
- initialize: function () {
- aa('initialize\u65b9\u6cd5\u672a\u5b9e\u73b0')
- },
- draw: function () {
- aa('draw\u65b9\u6cd5\u672a\u5b9e\u73b0')
- },
- remove: function () {
- this.V && this.V.parentNode && this.V.parentNode.removeChild(this.V)
- this.V = s
- this.dispatchEvent(new P('onremove'))
- },
- U: function () {
- this.V && z.D.U(this.V)
- },
- show: function () {
- this.V && z.D.show(this.V)
- },
- jh: function () {
- return !this.V || 'none' == this.V.style.display || 'hidden' == this.V.style.visibility ? t : q
- }
- })
- B.Ye(function (a) {
- function b(a, b) {
- var c = L('div'),
- i = c.style
- i.position = 'absolute'
- i.top = i.left = i.width = i.height = '0'
- i.zIndex = b
- a.appendChild(c)
- return c
- }
- var c = a.R
- c.rd = a.rd = b(a.platform, 200)
- a.Yd.BD = b(c.rd, 800)
- a.Yd.RE = b(c.rd, 700)
- a.Yd.sL = b(c.rd, 600)
- a.Yd.KE = b(c.rd, 500)
- a.Yd.fN = b(c.rd, 400)
- a.Yd.gN = b(c.rd, 300)
- a.Yd.nP = b(c.rd, 201)
- a.Yd.Et = b(c.rd, 200)
- })
- function gb() {
- z.lang.Ca.call(this)
- mc.call(this)
- this.map = s
- this.Qa = q
- this.zb = s
- this.vH = 0
- }
- z.lang.ta(gb, mc, 'OverlayInternal')
- z.extend(gb.prototype, {
- initialize: function (a) {
- this.map = a
- z.lang.Ca.call(this, this.aa)
- return s
- },
- Dx: w('map'),
- draw: u(),
- Ej: u(),
- remove: function () {
- this.map = s
- z.lang.hx(this.aa)
- mc.prototype.remove.call(this)
- },
- U: function () {
- this.Qa !== t && (this.Qa = t)
- },
- show: function () {
- this.Qa !== q && (this.Qa = q)
- },
- jh: function () {
- return !this.V ? t : !!this.Qa
- },
- La: w('V'),
- lO: function (a) {
- var a = a || {},
- b
- for (b in a) this.z[b] = a[b]
- },
- Sp: ba('zIndex'),
- gj: function () {
- this.z.gj = q
- },
- MW: function () {
- this.z.gj = t
- },
- yo: ba('lg'),
- Cp: function () {
- this.lg = s
- }
- })
- function nc() {
- this.map = s
- this.ya = {}
- this.Ee = []
- }
- B.Ye(function (a) {
- var b = new nc()
- b.map = a
- a.ya = b.ya
- a.Ee = b.Ee
- a.addEventListener('load', function (a) {
- b.draw(a)
- })
- a.addEventListener('moveend', function (a) {
- b.draw(a)
- })
- ;(z.ca.ia && 8 > z.ca.ia) || 'BackCompat' === document.compatMode
- ? a.addEventListener('zoomend', function (a) {
- setTimeout(function () {
- b.draw(a)
- }, 20)
- })
- : a.addEventListener('zoomend', function (a) {
- b.draw(a)
- })
- a.addEventListener('maptypechange', function (a) {
- b.draw(a)
- })
- a.addEventListener('addoverlay', function (a) {
- a = a.target
- if (a instanceof gb) b.ya[a.aa] || (b.ya[a.aa] = a)
- else {
- for (var e = t, f = 0, g = b.Ee.length; f < g; f++)
- if (b.Ee[f] === a) {
- e = q
- break
- }
- e || b.Ee.push(a)
- }
- })
- a.addEventListener('removeoverlay', function (a) {
- a = a.target
- if (a instanceof gb) delete b.ya[a.aa]
- else
- for (var e = 0, f = b.Ee.length; e < f; e++)
- if (b.Ee[e] === a) {
- b.Ee.splice(e, 1)
- break
- }
- })
- a.addEventListener('clearoverlays', function () {
- this.Yc()
- for (var a in b.ya) b.ya[a].z.gj && (b.ya[a].remove(), delete b.ya[a])
- a = 0
- for (var e = b.Ee.length; a < e; a++)
- b.Ee[a].enableMassClear !== t && (b.Ee[a].remove(), (b.Ee[a] = s), b.Ee.splice(a, 1), a--, e--)
- })
- a.addEventListener('infowindowopen', function () {
- var a = this.zb
- a && (z.D.U(a.Ac), z.D.U(a.ac))
- })
- a.addEventListener('movestart', function () {
- this.hh() && this.hh().mJ()
- })
- a.addEventListener('moveend', function () {
- this.hh() && this.hh().cJ()
- })
- })
- nc.prototype.draw = function (a) {
- if (B.hq) {
- var b = B.hq.Ws(this.map)
- 'canvas' === b.Mb && b.canvas && b.XQ(b.canvas.getContext('2d'))
- }
- for (var c in this.ya) this.ya[c].draw(a)
- z.mc.Fb(this.Ee, function (a) {
- a.draw()
- })
- this.map.R.qb && this.map.R.qb.sa()
- B.hq && b.IF()
- }
- function oc(a) {
- gb.call(this)
- a = a || {}
- this.z = {
- strokeColor: a.strokeColor || '#3a6bdb',
- rc: a.strokeWeight || 5,
- td: a.strokeOpacity || 0.65,
- strokeStyle: a.strokeStyle || 'solid',
- gj: a.enableMassClear === t ? t : q,
- zk: s,
- um: s,
- mf: a.enableEditing === q ? q : t,
- kN: 5,
- G0: t,
- jf: a.enableClicking === t ? t : q,
- ji: a.icons && 0 < a.icons.length ? a.icons : s
- }
- 0 >= this.z.rc && (this.z.rc = 5)
- if (0 > this.z.td || 1 < this.z.td) this.z.td = 0.65
- if (0 > this.z.tg || 1 < this.z.tg) this.z.tg = 0.65
- 'solid' != this.z.strokeStyle && 'dashed' != this.z.strokeStyle && (this.z.strokeStyle = 'solid')
- this.V = s
- this.Vu = new fb(0, 0)
- this.gf = []
- this.tc = []
- this.Ra = {}
- }
- z.lang.ta(oc, gb, 'Graph')
- oc.yx = function (a) {
- var b = []
- if (!a) return b
- $a(a) &&
- z.mc.Fb(a.split(';'), function (a) {
- a = a.split(',')
- b.push(new J(a[0], a[1]))
- })
- '[object Array]' == Object.prototype.toString.apply(a) && 0 < a.length && (b = a)
- return b
- }
- oc.eF = [0.09, 0.005, 1.0e-4, 1.0e-5]
- z.extend(oc.prototype, {
- initialize: function (a) {
- this.map = a
- return s
- },
- draw: u(),
- Mr: function (a) {
- this.gf.length = 0
- this.ja = oc.yx(a).slice(0)
- this.Bh()
- },
- ke: function (a) {
- this.Mr(a)
- },
- Bh: function () {
- if (this.ja) {
- var a = this
- a.Vu = new fb()
- z.mc.Fb(this.ja, function (b) {
- a.Vu.extend(b)
- })
- }
- },
- Ue: w('ja'),
- gn: function (a, b) {
- b && this.ja[a] && ((this.gf.length = 0), (this.ja[a] = new J(b.lng, b.lat)), this.Bh())
- },
- setStrokeColor: function (a) {
- this.z.strokeColor = a
- },
- jY: function () {
- return this.z.strokeColor
- },
- Rp: function (a) {
- 0 < a && (this.z.rc = a)
- },
- WL: function () {
- return this.z.rc
- },
- Pp: function (a) {
- a == l || 1 < a || 0 > a || (this.z.td = a)
- },
- kY: function () {
- return this.z.td
- },
- Xt: function (a) {
- 1 < a || 0 > a || (this.z.tg = a)
- },
- HX: function () {
- return this.z.tg
- },
- Qp: function (a) {
- ;('solid' != a && 'dashed' != a) || (this.z.strokeStyle = a)
- },
- VL: function () {
- return this.z.strokeStyle
- },
- setFillColor: function (a) {
- this.z.fillColor = a || ''
- },
- GX: function () {
- return this.z.fillColor
- },
- ve: w('Vu'),
- remove: function () {
- this.map && this.map.removeEventListener('onmousemove', this.vv)
- gb.prototype.remove.call(this)
- this.gf.length = 0
- },
- mf: function () {
- if (!(2 > this.ja.length)) {
- this.z.mf = q
- var a = this
- K.load(
- 'poly',
- function () {
- a.Ul()
- },
- q
- )
- }
- },
- LW: function () {
- this.z.mf = t
- var a = this
- K.load(
- 'poly',
- function () {
- a.nk()
- },
- q
- )
- },
- DX: function () {
- return this.z.mf
- }
- })
- function pc(a) {
- gb.call(this)
- this.V = this.map = s
- this.z = {
- width: 0,
- height: 0,
- za: new O(0, 0),
- opacity: 1,
- background: 'transparent',
- ey: 1,
- SM: '#000',
- hZ: 'solid',
- point: s
- }
- this.lO(a)
- this.point = this.z.point
- }
- z.lang.ta(pc, gb, 'Division')
- z.extend(pc.prototype, {
- Ej: function () {
- var a = this.z,
- b = this.content,
- c = ['')
- c.push(b)
- c.push('
')
- this.V = Ab(this.map.Tf().RE, c.join(''))
- },
- initialize: function (a) {
- this.map = a
- this.Ej()
- this.V &&
- z.M(this.V, H() ? 'touchstart' : 'mousedown', function (a) {
- ma(a)
- })
- return this.V
- },
- draw: function () {
- var a = this.map.Xe(this.z.point)
- this.z.za = new O(
- -Math.round(this.z.width / 2) - Math.round(this.z.ey),
- -Math.round(this.z.height / 2) - Math.round(this.z.ey)
- )
- this.V.style.left = a.x + this.z.za.width + 'px'
- this.V.style.top = a.y + this.z.za.height + 'px'
- },
- ga: function () {
- return this.z.point
- },
- L1: function () {
- return this.map.$b(this.ga())
- },
- sa: function (a) {
- this.z.point = a
- this.draw()
- },
- u_: function (a, b) {
- this.z.width = Math.round(a)
- this.z.height = Math.round(b)
- this.V &&
- ((this.V.style.width = this.z.width + 'px'), (this.V.style.height = this.z.height + 'px'), this.draw())
- }
- })
- function qc(a, b, c) {
- a &&
- b &&
- ((this.imageUrl = a),
- (this.size = b),
- (a = new O(Math.floor(b.width / 2), Math.floor(b.height / 2))),
- (c = c || {}),
- (a = c.anchor || a),
- (b = c.imageOffset || new O(0, 0)),
- (this.imageSize = c.imageSize),
- (this.anchor = a),
- (this.imageOffset = b),
- (this.infoWindowAnchor = c.infoWindowAnchor || this.anchor),
- (this.printImageUrl = c.printImageUrl || ''))
- }
- z.extend(qc.prototype, {
- mO: function (a) {
- a && (this.imageUrl = a)
- },
- K_: function (a) {
- a && (this.printImageUrl = a)
- },
- Ce: function (a) {
- a && (this.size = new O(a.width, a.height))
- },
- uc: function (a) {
- a && (this.anchor = new O(a.width, a.height))
- },
- Yt: function (a) {
- a && (this.imageOffset = new O(a.width, a.height))
- },
- z_: function (a) {
- a && (this.infoWindowAnchor = new O(a.width, a.height))
- },
- w_: function (a) {
- a && (this.imageSize = new O(a.width, a.height))
- },
- toString: ca('Icon')
- })
- function rc(a, b) {
- if (a) {
- b = b || {}
- this.style = {
- anchor: b.anchor || new O(0, 0),
- fillColor: b.fillColor || '#000',
- tg: b.fillOpacity || 0,
- scale: b.scale || 1,
- rotation: b.rotation || 0,
- strokeColor: b.strokeColor || '#000',
- td: b.strokeOpacity || 1,
- rc: b.strokeWeight
- }
- this.Mb = 'number' === typeof a ? a : 'UserDefined'
- this.Di = this.style.anchor
- this.rr = new O(0, 0)
- this.anchor = s
- this.vB = a
- var c = this
- K.load(
- 'symbol',
- function () {
- c.Mn()
- },
- q
- )
- }
- }
- z.extend(rc.prototype, {
- setPath: ba('vB'),
- setAnchor: function (a) {
- this.Di = this.style.anchor = a
- },
- setRotation: function (a) {
- this.style.rotation = a
- },
- setScale: function (a) {
- this.style.scale = a
- },
- setStrokeWeight: function (a) {
- this.style.rc = a
- },
- setStrokeColor: function (a) {
- a = z.is.AC(a, this.style.td)
- this.style.strokeColor = a
- },
- setStrokeOpacity: function (a) {
- this.style.td = a
- },
- setFillOpacity: function (a) {
- this.style.tg = a
- },
- setFillColor: function (a) {
- this.style.fillColor = a
- }
- })
- function sc(a, b, c, e) {
- a &&
- ((this.Ov = {}),
- (this.qL = e ? !!e : t),
- (this.Vc = []),
- (this.c0 = a instanceof rc ? a : s),
- (this.WI = b === l ? q : !!(b.indexOf('%') + 1)),
- (this.Zj = isNaN(parseFloat(b)) ? 1 : this.WI ? parseFloat(b) / 100 : parseFloat(b)),
- (this.XI = !!(c.indexOf('%') + 1)),
- (this.repeat = c != l ? (this.XI ? parseFloat(c) / 100 : parseFloat(c)) : 0))
- }
- function tc(a, b) {
- z.lang.Ca.call(this)
- this.content = a
- this.map = s
- b = b || {}
- this.z = {
- width: b.width || 0,
- height: b.height || 0,
- maxWidth: b.maxWidth || 730,
- za: b.offset || new O(0, 0),
- title: b.title || '',
- SE: b.maxContent || '',
- dh: b.enableMaximize || t,
- Ls: b.enableAutoPan === t ? t : q,
- lD: b.enableCloseOnClick === t ? t : q,
- margin: b.margin || [10, 10, 40, 10],
- vC: b.collisions || [
- [10, 10],
- [10, 10],
- [10, 10],
- [10, 10]
- ],
- GY: t,
- AZ: b.onClosing || ca(q),
- hL: t,
- qD: b.enableParano === q ? q : t,
- message: b.message,
- sD: b.enableSearchTool === q ? q : t,
- Ox: b.headerContent || '',
- mD: b.enableContentScroll || t
- }
- if (0 != this.z.width && (220 > this.z.width && (this.z.width = 220), 730 < this.z.width)) this.z.width = 730
- if (0 != this.z.height && (60 > this.z.height && (this.z.height = 60), 650 < this.z.height)) this.z.height = 650
- if (0 != this.z.maxWidth && (220 > this.z.maxWidth && (this.z.maxWidth = 220), 730 < this.z.maxWidth))
- this.z.maxWidth = 730
- this.de = t
- this.yi = G.qa
- this.fb = s
- var c = this
- K.load('infowindow', function () {
- c.ib()
- })
- }
- z.lang.ta(tc, z.lang.Ca, 'InfoWindow')
- z.extend(tc.prototype, {
- setWidth: function (a) {
- ;(!a && 0 != a) ||
- isNaN(a) ||
- 0 > a ||
- (0 != a && (220 > a && (a = 220), 730 < a && (a = 730)), (this.z.width = a))
- },
- setHeight: function (a) {
- ;(!a && 0 != a) ||
- isNaN(a) ||
- 0 > a ||
- (0 != a && (60 > a && (a = 60), 650 < a && (a = 650)), (this.z.height = a))
- },
- qO: function (a) {
- ;(!a && 0 != a) ||
- isNaN(a) ||
- 0 > a ||
- (0 != a && (220 > a && (a = 220), 730 < a && (a = 730)), (this.z.maxWidth = a))
- },
- Ec: function (a) {
- this.z.title = a
- },
- getTitle: function () {
- return this.z.title
- },
- dd: ba('content'),
- xk: w('content'),
- $t: function (a) {
- this.z.SE = a + ''
- },
- je: u(),
- Ls: function () {
- this.z.Ls = q
- },
- disableAutoPan: function () {
- this.z.Ls = t
- },
- enableCloseOnClick: function () {
- this.z.lD = q
- },
- disableCloseOnClick: function () {
- this.z.lD = t
- },
- dh: function () {
- this.z.dh = q
- },
- kx: function () {
- this.z.dh = t
- },
- show: function () {
- this.Qa = q
- },
- U: function () {
- this.Qa = t
- },
- close: function () {
- this.U()
- },
- hy: function () {
- this.de = q
- },
- restore: function () {
- this.de = t
- },
- jh: function () {
- return this.Xa()
- },
- Xa: ca(t),
- ga: function () {
- if (this.fb && this.fb.ga) return this.fb.ga()
- },
- Sf: function () {
- return this.z.za
- }
- })
- Ka.prototype.pc = function (a, b) {
- if (a instanceof tc && b instanceof J) {
- var c = this.R
- c.Nm
- ? c.Nm.sa(b)
- : ((c.Nm = new U(b, {
- icon: new qc(G.qa + 'blank.gif', {
- width: 1,
- height: 1
- }),
- offset: new O(0, 0),
- clickable: t
- })),
- (c.Nm.bS = 1))
- this.Ga(c.Nm)
- c.Nm.pc(a)
- }
- }
- Ka.prototype.Yc = function () {
- var a = this.R.qb || this.R.rl
- a && a.fb && a.fb.Yc()
- }
- gb.prototype.pc = function (a) {
- this.map && (this.map.Yc(), (a.Qa = q), (this.map.R.rl = a), (a.fb = this), z.lang.Ca.call(a, a.aa))
- }
- gb.prototype.Yc = function () {
- this.map && this.map.R.rl && ((this.map.R.rl.Qa = t), z.lang.hx(this.map.R.rl.aa), (this.map.R.rl = s))
- }
- function uc(a, b) {
- gb.call(this)
- this.content = a
- this.V = this.map = s
- b = b || {}
- this.z = {
- width: 0,
- za: b.offset || new O(0, 0),
- Wp: {
- backgroundColor: '#fff',
- border: '1px solid #f00',
- padding: '1px',
- whiteSpace: 'nowrap',
- font: '12px ' + G.fontFamily,
- zIndex: '80',
- MozUserSelect: 'none'
- },
- position: b.position || s,
- gj: b.enableMassClear === t ? t : q,
- jf: q
- }
- 0 > this.z.width && (this.z.width = 0)
- Hb(b.enableClicking) && (this.z.jf = b.enableClicking)
- this.point = this.z.position
- var c = this
- K.load('marker', function () {
- c.ib()
- })
- }
- z.lang.ta(uc, gb, 'Label')
- z.extend(uc.prototype, {
- ga: function () {
- return this.Dv ? this.Dv.ga() : this.point
- },
- sa: function (a) {
- a instanceof J && !this.Ex() && (this.point = this.z.position = new J(a.lng, a.lat))
- },
- dd: ba('content'),
- HF: function (a) {
- 0 <= a && 1 >= a && (this.z.opacity = a)
- },
- Ze: function (a) {
- a instanceof O && (this.z.za = new O(a.width, a.height))
- },
- Sf: function () {
- return this.z.za
- },
- Md: function (a) {
- a = a || {}
- this.z.Wp = z.extend(this.z.Wp, a)
- },
- ti: function (a) {
- return this.Md(a)
- },
- Ec: function (a) {
- this.z.title = a || ''
- },
- getTitle: function () {
- return this.z.title
- },
- pO: function (a) {
- this.point = (this.Dv = a) ? (this.z.position = a.ga()) : (this.z.position = s)
- },
- Ex: function () {
- return this.Dv || s
- },
- xk: w('content')
- })
- function vc(a, b) {
- if (0 !== arguments.length) {
- gb.apply(this, arguments)
- b = b || {}
- this.z = {
- bb: a,
- opacity: b.opacity || 1,
- Gm: b.Gm || '',
- Bs: b.displayOnMinLevel || 1,
- gj: b.enableMassClear === t ? t : q,
- As: b.displayOnMaxLevel || 19,
- X_: b.stretch || t
- }
- var c = this
- K.load('groundoverlay', function () {
- c.ib()
- })
- }
- }
- z.lang.ta(vc, gb, 'GroundOverlay')
- z.extend(vc.prototype, {
- setBounds: function (a) {
- this.z.bb = a
- },
- getBounds: function () {
- return this.z.bb
- },
- setOpacity: function (a) {
- this.z.opacity = a
- },
- getOpacity: function () {
- return this.z.opacity
- },
- setImageURL: function (a) {
- this.z.Gm = a
- },
- getImageURL: function () {
- return this.z.Gm
- },
- setDisplayOnMinLevel: function (a) {
- this.z.Bs = a
- },
- getDisplayOnMinLevel: function () {
- return this.z.Bs
- },
- setDisplayOnMaxLevel: function (a) {
- this.z.As = a
- },
- getDisplayOnMaxLevel: function () {
- return this.z.As
- }
- })
- var wc = 3,
- xc = 4
- function yc() {
- var a = document.createElement('canvas')
- return !(!a.getContext || !a.getContext('2d'))
- }
- function zc(a, b) {
- var c = this
- yc() &&
- (a === l && aa(Error('\u6ca1\u6709\u4f20\u5165points\u6570\u636e')),
- '[object Array]' !== Object.prototype.toString.call(a) &&
- aa(Error('points\u6570\u636e\u4e0d\u662f\u6570\u7ec4')),
- (b = b || {}),
- gb.apply(c, arguments),
- (c.ea = {
- ja: a
- }),
- (c.z = {
- shape: b.shape || wc,
- size: b.size || xc,
- color: b.color || '#fa937e',
- gj: q
- }),
- (this.sB = []),
- (this.pe = []),
- K.load('pointcollection', function () {
- for (var a = 0, b; (b = c.sB[a]); a++) c[b.method].apply(c, b.arguments)
- for (a = 0; (b = c.pe[a]); a++) c[b.method].apply(c, b.arguments)
- }))
- }
- z.lang.ta(zc, gb, 'PointCollection')
- z.extend(zc.prototype, {
- initialize: function (a) {
- this.sB &&
- this.sB.push({
- method: 'initialize',
- arguments: arguments
- })
- },
- setPoints: function (a) {
- this.pe &&
- this.pe.push({
- method: 'setPoints',
- arguments: arguments
- })
- },
- setStyles: function (a) {
- this.pe &&
- this.pe.push({
- method: 'setStyles',
- arguments: arguments
- })
- },
- clear: function () {
- this.pe &&
- this.pe.push({
- method: 'clear',
- arguments: arguments
- })
- },
- remove: function () {
- this.pe &&
- this.pe.push({
- method: 'remove',
- arguments: arguments
- })
- }
- })
- var Ac = new qc(G.qa + 'marker_red_sprite.png', new O(19, 25), {
- anchor: new O(10, 25),
- infoWindowAnchor: new O(10, 0)
- }),
- Bc = new qc(G.qa + 'marker_red_sprite.png', new O(20, 11), {
- anchor: new O(6, 11),
- imageOffset: new O(-19, -13)
- })
- function U(a, b) {
- gb.call(this)
- b = b || {}
- this.point = a
- this.yq = this.map = s
- this.z = {
- za: b.offset || new O(0, 0),
- rj: b.icon || Ac,
- Sk: Bc,
- title: b.title || '',
- label: s,
- lK: b.baseZIndex || 0,
- jf: q,
- X5: t,
- EE: t,
- gj: b.enableMassClear === t ? t : q,
- Wb: t,
- UN: b.raiseOnDrag === q ? q : t,
- aO: t,
- Hd: b.draggingCursor || G.Hd,
- rotation: b.rotation || 0
- }
- b.icon && !b.shadow && (this.z.Sk = s)
- b.enableDragging && (this.z.Wb = b.enableDragging)
- Hb(b.enableClicking) && (this.z.jf = b.enableClicking)
- var c = this
- K.load('marker', function () {
- c.ib()
- })
- }
- U.Qu = mc.Ck(-90) + 1e6
- U.AG = U.Qu + 1e6
- z.lang.ta(U, gb, 'Marker')
- z.extend(U.prototype, {
- Rb: function (a) {
- if (a instanceof qc || a instanceof rc) this.z.rj = a
- },
- ap: function () {
- return this.z.rj
- },
- Oy: function (a) {
- a instanceof qc && (this.z.Sk = a)
- },
- getShadow: function () {
- return this.z.Sk
- },
- dn: function (a) {
- this.z.label = a || s
- },
- VD: function () {
- return this.z.label
- },
- Wb: function () {
- this.z.Wb = q
- },
- TC: function () {
- this.z.Wb = t
- },
- ga: w('point'),
- sa: function (a) {
- a instanceof J && (this.point = new J(a.lng, a.lat))
- },
- ui: function (a, b) {
- this.z.EE = !!a
- a && (this.XG = b || 0)
- },
- Ec: function (a) {
- this.z.title = a + ''
- },
- getTitle: function () {
- return this.z.title
- },
- Ze: function (a) {
- a instanceof O && (this.z.za = a)
- },
- Sf: function () {
- return this.z.za
- },
- bn: ba('yq'),
- Op: function (a) {
- this.z.rotation = a
- },
- TL: function () {
- return this.z.rotation
- }
- })
- function Cc(a) {
- this.options = a || {}
- this.GZ = this.options.paneName || 'labelPane'
- this.zIndex = this.options.zIndex || 0
- }
- z.lang.ta(Cc, gb, 'CanvasLayer')
- Cc.prototype.initialize = function (a) {
- this.B = a
- var b = (this.canvas = document.createElement('canvas')),
- c = this.canvas.getContext('2d')
- b.style.cssText = 'position:absolute;left:0;top:0;z-index:' + this.zIndex + ';'
- Dc(this)
- Ec(c)
- a.getPanes()[this.GZ].appendChild(b)
- var e = this
- a.addEventListener('resize', function () {
- Dc(e)
- e.ib()
- })
- return this.canvas
- }
- function Dc(a) {
- var b = a.B.cb(),
- a = a.canvas
- a.width = b.width
- a.height = b.height
- a.style.width = a.width + 'px'
- a.style.height = a.height + 'px'
- }
- function Ec(a) {
- var b = (window.devicePixelRatio || 1) / (a.CV || a.T5 || a.x4 || a.y4 || a.B4 || a.CV || 1),
- c = a.canvas.width,
- e = a.canvas.height
- a.canvas.width = c * b
- a.canvas.height = e * b
- a.canvas.style.width = c + 'px'
- a.canvas.style.height = e + 'px'
- a.scale(b, b)
- }
- Cc.prototype.draw = function () {
- var a = this,
- b = arguments
- clearTimeout(a.j0)
- a.j0 = setTimeout(function () {
- a.ib.apply(a, b)
- }, 15)
- }
- da = Cc.prototype
- da.ib = function () {
- var a = this.B
- this.canvas.style.left = -a.offsetX + 'px'
- this.canvas.style.top = -a.offsetY + 'px'
- this.dispatchEvent('draw')
- this.options.update && this.options.update.apply(this, arguments)
- }
- da.La = w('canvas')
- da.show = function () {
- this.canvas || this.B.Ga(this)
- this.canvas.style.display = 'block'
- }
- da.U = function () {
- this.canvas.style.display = 'none'
- }
- da.Sp = function (a) {
- this.canvas.style.zIndex = a
- }
- da.Ck = w('zIndex')
- function Fc(a, b) {
- oc.call(this, b)
- b = b || {}
- this.z.tg = b.fillOpacity ? b.fillOpacity : 0.65
- this.z.fillColor = '' == b.fillColor ? '' : b.fillColor ? b.fillColor : '#fff'
- this.ke(a)
- var c = this
- K.load('poly', function () {
- c.ib()
- })
- }
- z.lang.ta(Fc, oc, 'Polygon')
- z.extend(Fc.prototype, {
- ke: function (a, b) {
- this.vo = oc.yx(a).slice(0)
- var c = oc.yx(a).slice(0)
- 1 < c.length && c.push(new J(c[0].lng, c[0].lat))
- oc.prototype.ke.call(this, c, b)
- },
- gn: function (a, b) {
- this.vo[a] &&
- ((this.vo[a] = new J(b.lng, b.lat)),
- (this.ja[a] = new J(b.lng, b.lat)),
- 0 == a &&
- !this.ja[0].pb(this.ja[this.ja.length - 1]) &&
- (this.ja[this.ja.length - 1] = new J(b.lng, b.lat)),
- this.Bh())
- },
- Ue: function () {
- var a = this.vo
- 0 == a.length && (a = this.ja)
- return a
- }
- })
- function Gc(a, b) {
- oc.call(this, b)
- this.Mr(a)
- var c = this
- K.load('poly', function () {
- c.ib()
- })
- }
- z.lang.ta(Gc, oc, 'Polyline')
- function Hc(a, b, c) {
- this.point = a
- this.wa = Math.abs(b)
- Fc.call(this, [], c)
- }
- Hc.eF = [0.01, 1.0e-4, 1.0e-5, 4.0e-6]
- z.lang.ta(Hc, Fc, 'Circle')
- z.extend(Hc.prototype, {
- initialize: function (a) {
- this.map = a
- this.ja = this.qv(this.point, this.wa)
- this.Bh()
- return s
- },
- Ka: w('point'),
- Zf: function (a) {
- a && (this.point = a)
- },
- RL: w('wa'),
- xf: function (a) {
- this.wa = Math.abs(a)
- },
- qv: function (a, b) {
- if (!a || !b || !this.map) return []
- for (
- var c = [], e = b / 6378800, f = (Math.PI / 180) * a.lat, g = (Math.PI / 180) * a.lng, i = 0;
- 360 > i;
- i += 9
- ) {
- var k = (Math.PI / 180) * i,
- m = Math.asin(Math.sin(f) * Math.cos(e) + Math.cos(f) * Math.sin(e) * Math.cos(k)),
- k = new J(
- (((g -
- Math.atan2(
- Math.sin(k) * Math.sin(e) * Math.cos(f),
- Math.cos(e) - Math.sin(f) * Math.sin(m)
- ) +
- Math.PI) %
- (2 * Math.PI)) -
- Math.PI) *
- (180 / Math.PI),
- m * (180 / Math.PI)
- )
- c.push(k)
- }
- e = c[0]
- c.push(new J(e.lng, e.lat))
- return c
- }
- })
- var Ic = {}
- function Jc(a) {
- this.map = a
- this.Mm = []
- this.$f = []
- this.Fg = []
- this.OV = 300
- this.oF = 0
- this.yg = {}
- this.Zi = {}
- this.ph = 0
- this.yE = q
- this.MK = {}
- this.eo = this.Kj(1)
- this.od = this.Kj(2)
- this.Bl = this.Kj(3)
- this.Ki = this.Kj(4)
- a.platform.appendChild(this.eo)
- a.platform.appendChild(this.od)
- a.platform.appendChild(this.Bl)
- a.platform.appendChild(this.Ki)
- var b = 256 * Math.pow(2, 15),
- c = 3 * b,
- a = S.Eb(new J(180, 0)).lng,
- c = c - a,
- b = -3 * b,
- e = S.Eb(new J(-180, 0)).lng
- this.yI = a
- this.zI = e
- this.ZA = c + (e - b)
- this.AI = a - e
- }
- B.Ye(function (a) {
- var b = new Jc(a)
- b.na()
- a.Va = b
- })
- z.extend(Jc.prototype, {
- na: function () {
- var a = this,
- b = a.map
- b.addEventListener('loadcode', function () {
- a.up()
- })
- b.addEventListener('addtilelayer', function (b) {
- a.Oe(b)
- })
- b.addEventListener('removetilelayer', function (b) {
- a.Yf(b)
- })
- b.addEventListener('setmaptype', function (b) {
- a.Dg(b)
- })
- b.addEventListener('zoomstartcode', function (b) {
- a.Mc(b)
- })
- b.addEventListener('setcustomstyles', function (b) {
- a.Zt(b.target)
- a.Wf(q)
- })
- b.addEventListener('initindoorlayer', function (b) {
- a.tE(b)
- })
- },
- up: function () {
- var a = this
- if (z.ca.ia)
- try {
- document.execCommand('BackgroundImageCache', t, q)
- } catch (b) {}
- this.loaded || a.Ux()
- a.Wf()
- this.loaded ||
- ((this.loaded = q),
- K.load('tile', function () {
- a.rQ()
- }))
- },
- tE: function (a) {
- this.zu = new Kc(this)
- this.zu.Oe(new Lc(this.map, this.zu, a.vf))
- },
- Ux: function () {
- for (var a = this.map.oa().ff, b = 0; b < a.length; b++) {
- var c = new Mc()
- z.extend(c, a[b])
- this.Mm.push(c)
- c.na(this.map, this.eo)
- }
- this.Zt()
- },
- Kj: function (a) {
- var b = L('div')
- b.style.position = 'absolute'
- b.style.overflow = 'visible'
- b.style.left = b.style.top = '0'
- b.style.zIndex = a
- return b
- },
- Af: function () {
- this.ph--
- var a = this
- this.yE && (this.map.dispatchEvent(new P('onfirsttileloaded')), (this.yE = t))
- 0 == this.ph &&
- (this.Hi && (clearTimeout(this.Hi), (this.Hi = s)),
- (this.Hi = setTimeout(function () {
- if (a.ph == 0) {
- a.map.dispatchEvent(new P('ontilesloaded'))
- a.yE = q
- }
- a.Hi = s
- }, 80)))
- },
- fE: function (a, b) {
- return 'TILE-' + b.aa + '-' + a[0] + '-' + a[1] + '-' + a[2]
- },
- Rx: function (a) {
- var b = a.Gb
- b && zb(b) && b.parentNode.removeChild(b)
- delete this.yg[a.name]
- a.loaded || (Nc(a), (a.Gb = s), (a.Pm = s))
- },
- pj: function (a, b, c) {
- var e = this.map,
- f = e.oa(),
- g = e.Oa,
- i = e.fc,
- k = f.dc(g),
- m = this.DL(),
- n = m[0],
- o = m[1],
- p = m[2],
- v = m[3],
- x = m[4],
- c = 'undefined' != typeof c ? c : 0,
- f = f.$c(),
- m = e.aa.replace(/^TANGRAM_/, '')
- for (this.hc ? (this.hc.length = 0) : (this.hc = []); n < p; n++)
- for (var y = o; y < v; y++) {
- var A = n,
- E = y
- this.hc.push([A, E])
- A = m + '_' + b + '_' + A + '_' + E + '_' + g
- this.MK[A] = A
- }
- this.hc.sort(
- (function (a) {
- return function (b, c) {
- return (
- 0.4 * Math.abs(b[0] - a[0]) +
- 0.6 * Math.abs(b[1] - a[1]) -
- (0.4 * Math.abs(c[0] - a[0]) + 0.6 * Math.abs(c[1] - a[1]))
- )
- }
- })([x[0] - 1, x[1] - 1])
- )
- i = [Math.round(-i.lng / k), Math.round(i.lat / k)]
- n = -e.offsetY + e.height / 2
- a.style.left = -e.offsetX + e.width / 2 + 'px'
- a.style.top = n + 'px'
- this.Cc ? (this.Cc.length = 0) : (this.Cc = [])
- n = 0
- for (e = a.childNodes.length; n < e; n++) (y = a.childNodes[n]), (y.Sj = t), this.Cc.push(y)
- if ((n = this.qh)) for (var C in n) delete n[C]
- else this.qh = {}
- this.Dc ? (this.Dc.length = 0) : (this.Dc = [])
- n = 0
- for (e = this.hc.length; n < e; n++) {
- C = this.hc[n][0]
- k = this.hc[n][1]
- y = 0
- for (o = this.Cc.length; y < o; y++)
- if (((p = this.Cc[y]), p.id == m + '_' + b + '_' + C + '_' + k + '_' + g)) {
- p.Sj = q
- this.qh[p.id] = p
- break
- }
- }
- n = 0
- for (e = this.Cc.length; n < e; n++) (p = this.Cc[n]), p.Sj || this.Dc.push(p)
- this.nn = []
- y = (f + c) * this.map.K.devicePixelRatio
- n = 0
- for (e = this.hc.length; n < e; n++)
- (C = this.hc[n][0]),
- (k = this.hc[n][1]),
- (v = C * f + i[0] - c / 2),
- (x = (-1 - k) * f + i[1] - c / 2),
- (A = m + '_' + b + '_' + C + '_' + k + '_' + g),
- (o = this.qh[A]),
- (p = s),
- o
- ? ((p = o.style), (p.left = v + 'px'), (p.top = x + 'px'), o.yd || this.nn.push([C, k, o]))
- : (0 < this.Dc.length
- ? ((o = this.Dc.shift()),
- o.getContext('2d').clearRect(-c / 2, -c / 2, y, y),
- (p = o.style))
- : ((o = document.createElement('canvas')),
- (p = o.style),
- (p.position = 'absolute'),
- (p.width = f + c + 'px'),
- (p.height = f + c + 'px'),
- this.Zx() && (p.WebkitTransform = 'scale(1.001)'),
- o.setAttribute('width', y),
- o.setAttribute('height', y),
- a.appendChild(o)),
- (o.id = A),
- (p.left = v + 'px'),
- (p.top = x + 'px'),
- -1 < A.indexOf('bg') &&
- ((v = '#F3F1EC'), this.map.K.Eo && (v = this.map.K.Eo), (p.background = v ? v : '')),
- this.nn.push([C, k, o])),
- (o.style.visibility = '')
- n = 0
- for (e = this.Dc.length; n < e; n++) this.Dc[n].style.visibility = 'hidden'
- return this.nn
- },
- Zx: function () {
- return /M040/i.test(navigator.userAgent)
- },
- DL: function () {
- var a = this.map,
- b = a.oa(),
- c = b.mE(a.Oa),
- e = a.fc,
- f = Math.ceil(e.lng / c),
- g = Math.ceil(e.lat / c),
- b = b.$c(),
- c = [f, g, ((e.lng - f * c) / c) * b, ((e.lat - g * c) / c) * b]
- return [
- c[0] - Math.ceil((a.width / 2 - c[2]) / b),
- c[1] - Math.ceil((a.height / 2 - c[3]) / b),
- c[0] + Math.ceil((a.width / 2 + c[2]) / b),
- c[1] + Math.ceil((a.height / 2 + c[3]) / b),
- c
- ]
- },
- R_: function (a, b, c, e) {
- var f = this
- f.u2 = b
- var g = this.map.oa(),
- i = f.fE(a, c),
- k = g.$c(),
- b = [a[0] * k + b[0], (-1 - a[1]) * k + b[1]],
- m = this.yg[i]
- if (this.map.oa() !== Ya && this.map.oa() !== Sa) {
- var n = this.Lw(a[0], a[2]).offsetX
- b[0] += n
- b.Q1 = n
- }
- m && m.Gb
- ? (xb(m.Gb, b),
- e &&
- ((e = new Q(a[0], a[1])),
- (g = this.map.K.ye ? this.map.K.ye.style : 'normal'),
- (e = c.getTilesUrl(e, a[2], g)),
- (m.loaded = t),
- Oc(m, e)),
- m.loaded
- ? this.Af()
- : Pc(m, function () {
- f.Af()
- }))
- : (m = this.Zi[i]) && m.Gb
- ? (c.Jb.insertBefore(m.Gb, c.Jb.lastChild),
- (this.yg[i] = m),
- xb(m.Gb, b),
- e &&
- ((e = new Q(a[0], a[1])),
- (g = this.map.K.ye ? this.map.K.ye.style : 'normal'),
- (e = c.getTilesUrl(e, a[2], g)),
- (m.loaded = t),
- Oc(m, e)),
- m.loaded
- ? this.Af()
- : Pc(m, function () {
- f.Af()
- }))
- : ((m = k * Math.pow(2, g.sm() - a[2])),
- new J(a[0] * m, a[1] * m),
- (e = new Q(a[0], a[1])),
- (g = this.map.K.ye ? this.map.K.ye.style : 'normal'),
- (e = c.getTilesUrl(e, a[2], g)),
- (m = new Qc(this, e, b, a, c)),
- Pc(m, function () {
- f.Af()
- }),
- m.co(),
- (this.yg[i] = m))
- },
- Af: function () {
- this.ph--
- var a = this
- 0 == this.ph &&
- (this.Hi && (clearTimeout(this.Hi), (this.Hi = s)),
- (this.Hi = setTimeout(function () {
- if (a.ph == 0) {
- a.map.dispatchEvent(new P('ontilesloaded'))
- if (ua) {
- if (ra && sa && ta) {
- var b = bb(),
- c = a.map.cb()
- setTimeout(function () {
- Ra(5030, {
- load_script_time: sa - ra,
- load_tiles_time: b - ta,
- map_width: c.width,
- map_height: c.height,
- map_size: c.width * c.height
- })
- }, 1e4)
- B.Fn('cus.fire', 'time', {
- z_imgfirstloaded: b - ta
- })
- }
- ua = t
- }
- }
- a.Hi = s
- }, 80)))
- },
- fE: function (a, b) {
- return this.map.oa() === Qa
- ? 'TILE-' + b.aa + '-' + this.map.Rw + '-' + a[0] + '-' + a[1] + '-' + a[2]
- : 'TILE-' + b.aa + '-' + a[0] + '-' + a[1] + '-' + a[2]
- },
- Rx: function (a) {
- var b = a.Gb
- b && (Rc(b), zb(b) && b.parentNode.removeChild(b))
- delete this.yg[a.name]
- a.loaded || (Rc(b), Nc(a), (a.Gb = s), (a.Pm = s))
- },
- Lw: function (a, b) {
- for (var c = 0, e = 6 * Math.pow(2, b - 3), f = e / 2 - 1, g = -e / 2; a > f; ) (a -= e), (c -= this.ZA)
- for (; a < g; ) (a += e), (c += this.ZA)
- c = Math.round(c / Math.pow(2, 18 - b))
- return {
- offsetX: c,
- hs: a
- }
- },
- QV: function (a) {
- for (var b = a.lng; b > this.yI; ) b -= this.AI
- for (; b < this.zI; ) b += this.AI
- a.lng = b
- return a
- },
- RV: function (a, b) {
- for (
- var c = 256 * Math.pow(2, 18 - b),
- e = Math.floor(this.yI / c),
- f = Math.floor(this.zI / c),
- c = Math.floor(this.ZA / c),
- g = [],
- i = 0;
- i < a.length;
- i++
- ) {
- var k = a[i],
- m = k[0],
- k = k[1]
- if (m >= e) {
- var m = m + c,
- n = 'id_' + m + '_' + k + '_' + b
- a[n] || ((a[n] = q), g.push([m, k]))
- } else m <= f && ((m -= c), (n = 'id_' + m + '_' + k + '_' + b), a[n] || ((a[n] = q), g.push([m, k])))
- }
- for (i = 0; i < g.length; i++) a.push(g[i])
- return a
- },
- Wf: function (a) {
- var b = this
- if (b.map.oa() == Qa)
- K.load(
- 'coordtrans',
- function () {
- b.map.Ub || ((b.map.Ub = Qa.wk(b.map.$g)), (b.map.Rw = Qa.BL(b.map.Ub)))
- b.CI()
- },
- q
- )
- else {
- if (a && a) for (var c in this.Zi) delete this.Zi[c]
- b.CI(a)
- }
- },
- CI: function (a) {
- var b = this.Mm.concat(this.$f),
- c = b.length,
- e = this.map,
- f = e.oa(),
- g = e.fc
- this.map.oa() !== Ya && this.map.oa() !== Sa && (g = this.QV(g))
- for (var i = 0; i < c; i++) {
- var k = b[i]
- if (k.gc && e.Oa < k.gc) break
- if (k.Jw) {
- var m = (this.Jb = k.Jb)
- if (a) {
- var n = m
- if (n && n.childNodes)
- for (var o = n.childNodes.length, p = o - 1; 0 <= p; p--)
- (o = n.childNodes[p]), n.removeChild(o), (o = s)
- }
- if (this.map.Sb()) {
- this.od.style.display = 'block'
- m.style.display = 'none'
- this.map.dispatchEvent(new P('vectorchanged'), {
- isvector: q
- })
- continue
- } else
- (m.style.display = 'block'),
- (this.od.style.display = 'none'),
- this.map.dispatchEvent(new P('vectorchanged'), {
- isvector: t
- })
- }
- if (!k.pI && !((k.pp && !this.map.Sb()) || (k.GM && this.map.Sb()))) {
- e = this.map
- f = e.oa()
- m = f.wm()
- o = e.Oa
- g = e.fc
- f == Qa && g.pb(new J(0, 0)) && (g = e.fc = m.vj(e.re, e.Ub))
- var v = f.dc(o),
- m = f.mE(o),
- n = Math.ceil(g.lng / m),
- x = Math.ceil(g.lat / m),
- y = f.$c(),
- m = [n, x, ((g.lng - n * m) / m) * y, ((g.lat - x * m) / m) * y],
- p = m[0] - Math.ceil((e.width / 2 - m[2]) / y),
- n = m[1] - Math.ceil((e.height / 2 - m[3]) / y),
- x = m[0] + Math.ceil((e.width / 2 + m[2]) / y),
- A = 0
- f === Qa && 15 == e.fa() && (A = 1)
- f = m[1] + Math.ceil((e.height / 2 + m[3]) / y) + A
- this.gK = new J(g.lng, g.lat)
- var E = this.yg,
- y = -this.gK.lng / v,
- A = this.gK.lat / v,
- v = [Math.ceil(y), Math.ceil(A)],
- g = e.fa(),
- C
- for (C in E) {
- var F = E[C],
- D = F.info
- ;(D[2] != g || (D[2] == g && (p > D[0] || x <= D[0] || n > D[1] || f <= D[1]))) && this.Rx(F)
- }
- E = -e.offsetX + e.width / 2
- F = -e.offsetY + e.height / 2
- k.Jb &&
- ((k.Jb.style.left = Math.ceil(y + E) - v[0] + 'px'),
- (k.Jb.style.top = Math.ceil(A + F) - v[1] + 'px'),
- (k.Jb.style.WebkitTransform = 'translate3d(0,0,0)'))
- y = []
- for (e.WB = []; p < x; p++)
- for (A = n; A < f; A++)
- y.push([p, A]),
- e.WB.push({
- x: p,
- y: A
- })
- this.map.oa() !== Ya && this.map.oa() !== Sa && (y = this.RV(y, o))
- y.sort(
- (function (a) {
- return function (b, c) {
- return (
- 0.4 * Math.abs(b[0] - a[0]) +
- 0.6 * Math.abs(b[1] - a[1]) -
- (0.4 * Math.abs(c[0] - a[0]) + 0.6 * Math.abs(c[1] - a[1]))
- )
- }
- })([m[0] - 1, m[1] - 1])
- )
- o = y.length
- this.ph += o
- for (p = 0; p < o; p++) this.R_([y[p][0], y[p][1], g], v, k, a)
- }
- }
- },
- Oe: function (a) {
- var b = this,
- c = a.target,
- a = b.map.Sb()
- if (c instanceof db) a && !c.Im && (c.na(this.map, this.od), (c.Im = q))
- else if ((c.ag && this.map.Oe(c.ag), c.pp)) {
- for (a = 0; a < b.Fg.length; a++) if (b.Fg[a] == c) return
- K.load(
- 'vector',
- function () {
- c.na(b.map, b.od)
- b.Fg.push(c)
- },
- q
- )
- } else {
- for (a = 0; a < b.$f.length; a++) if (b.$f[a] == c) return
- c.na(this.map, this.Bl)
- b.$f.push(c)
- }
- },
- Yf: function (a) {
- var a = a.target,
- b = this.map.Sb()
- if (a instanceof db) b && a.Im && (a.remove(), (a.Im = t))
- else {
- a.ag && this.map.Yf(a.ag)
- if (a.pp) for (var b = 0, c = this.Fg.length; b < c; b++) a == this.Fg[b] && this.Fg.splice(b, 1)
- else {
- b = 0
- for (c = this.$f.length; b < c; b++) a == this.$f[b] && this.$f.splice(b, 1)
- }
- a.remove()
- }
- },
- Dg: function () {
- for (var a = this.Mm, b = 0, c = a.length; b < c; b++) a[b].remove()
- delete this.Jb
- this.Mm = []
- this.Zi = this.yg = {}
- this.Ux()
- this.Wf()
- },
- Mc: function () {
- var a = this
- a.vd && z.D.U(a.vd)
- setTimeout(function () {
- a.Wf()
- a.map.dispatchEvent(new P('onzoomend'))
- }, 10)
- },
- L5: u(),
- Zt: function (a) {
- var b = this.map.oa()
- if (!this.map.Sb() && (a ? (this.map.K.$_ = a) : (a = this.map.K.$_), a))
- for (
- var c = s,
- c =
- '2' == B.xu
- ? [B.url.proto + B.url.domain.main_domain_cdn.other[0] + '/']
- : [
- B.url.proto + B.url.domain.main_domain_cdn.baidu[0] + '/',
- B.url.proto + B.url.domain.main_domain_cdn.baidu[1] + '/',
- B.url.proto + B.url.domain.main_domain_cdn.baidu[2] + '/'
- ],
- e = 0,
- f;
- (f = this.Mm[e]);
- e++
- )
- if (f.M_ == q) {
- b.j.Yb = 18
- f.getTilesUrl = function (b, e) {
- var f = b.x,
- f = this.map.Va.Lw(f, e).hs,
- m = b.y,
- n = Sb('normal'),
- o = 1
- this.map.Sx() && (o = 2)
- n =
- 'customimage/tile?&x=' +
- f +
- '&y=' +
- m +
- '&z=' +
- e +
- '&udt=' +
- n +
- '&scale=' +
- o +
- '&ak=' +
- qa
- n = a.styleStr
- ? n + ('&styles=' + encodeURIComponent(a.styleStr))
- : n + ('&customid=' + a.style)
- return c[Math.abs(f + m) % c.length] + n
- }
- break
- }
- }
- })
- function Qc(a, b, c, e, f) {
- this.Pm = a
- this.position = c
- this.$u = []
- this.name = a.fE(e, f)
- this.info = e
- this.GJ = f.zt()
- e = L('img')
- yb(e)
- e.uL = t
- var g = e.style,
- a = a.map.oa()
- g.position = 'absolute'
- g.border = 'none'
- g.width = a.$c() + 'px'
- g.height = a.$c() + 'px'
- g.left = c[0] + 'px'
- g.top = c[1] + 'px'
- g.maxWidth = 'none'
- this.Gb = e
- this.src = b
- Sc && (this.Gb.style.opacity = 0)
- var i = this
- this.Gb.onload = function () {
- B.iZ.eR()
- i.loaded = q
- if (i.Pm) {
- var a = i.Pm,
- b = a.Zi
- if (!b[i.name]) {
- a.oF++
- b[i.name] = i
- }
- if (i.Gb && !zb(i.Gb) && f.Jb) {
- f.Jb.appendChild(i.Gb)
- if (z.ca.ia <= 6 && z.ca.ia > 0 && i.GJ)
- i.Gb.style.cssText =
- i.Gb.style.cssText +
- (';filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' +
- i.src +
- '",sizingMethod=scale);')
- }
- var c = a.oF - a.OV,
- e
- for (e in b) {
- if (c <= 0) break
- if (!a.yg[e]) {
- b[e].Pm = s
- var g = b[e].Gb
- if (g && g.parentNode) {
- g.parentNode.removeChild(g)
- Rc(g)
- }
- g = s
- b[e].Gb = s
- delete b[e]
- a.oF--
- c--
- }
- }
- Sc &&
- new tb({
- Ic: 20,
- duration: 200,
- va: function (a) {
- if (i.Gb && i.Gb.style) i.Gb.style.opacity = a * 1
- },
- finish: function () {
- i.Gb && i.Gb.style && delete i.Gb.style.opacity
- }
- })
- Nc(i)
- }
- }
- this.Gb.onerror = function () {
- Nc(i)
- if (i.Pm) {
- var a = i.Pm.map.oa()
- if (a.j.vD) {
- i.error = q
- i.Gb.src = a.j.vD
- i.Gb && !zb(i.Gb) && f.Jb.appendChild(i.Gb)
- }
- }
- }
- e = s
- }
- function Pc(a, b) {
- a.$u.push(b)
- }
- Qc.prototype.co = function () {
- this.Gb.src =
- 0 < z.ca.ia && 6 >= z.ca.ia && this.GJ
- ? G.qa + 'blank.gif'
- : '' !== this.src && this.Gb.src == this.src
- ? this.src + '&t = ' + Date.now()
- : this.src
- }
- function Nc(a) {
- for (var b = 0; b < a.$u.length; b++) a.$u[b]()
- a.$u.length = 0
- }
- function Rc(a) {
- if (a) {
- a.onload = a.onerror = s
- var b = a.attributes,
- c,
- e,
- f
- if (b) {
- e = b.length
- for (c = 0; c < e; c += 1) (f = b[c].name), Xa(a[f]) && (a[f] = s)
- }
- if ((b = a.children)) {
- e = b.length
- for (c = 0; c < e; c += 1) Rc(a.children[c])
- }
- }
- }
- function Oc(a, b) {
- a.src = b
- a.co()
- }
- var Sc = !z.ca.ia || 8 < z.ca.ia
- function Mc(a) {
- this.vf = a || {}
- this.mW = this.vf.copyright || s
- this.B0 = this.vf.transparentPng || t
- this.Jw = this.vf.baseLayer || t
- this.zIndex = this.vf.zIndex || 0
- this.aa = Mc.SS++
- }
- Mc.SS = 0
- z.lang.ta(Mc, z.lang.Ca, 'TileLayer')
- z.extend(Mc.prototype, {
- na: function (a, b) {
- this.Jw && (this.zIndex = -100)
- this.map = a
- if (!this.Jb) {
- var c = L('div'),
- e = c.style
- e.position = 'absolute'
- e.overflow = 'visible'
- e.zIndex = this.zIndex
- e.left = Math.ceil(-a.offsetX + a.width / 2) + 'px'
- e.top = Math.ceil(-a.offsetY + a.height / 2) + 'px'
- b.appendChild(c)
- this.Jb = c
- }
- },
- remove: function () {
- this.Jb && this.Jb.parentNode && ((this.Jb.innerHTML = ''), this.Jb.parentNode.removeChild(this.Jb))
- delete this.Jb
- },
- zt: w('B0'),
- getTilesUrl: function (a, b) {
- if (this.map.oa() !== Ya && this.map.oa() !== Sa) var c = this.map.Va.Lw(a.x, b).hs
- var e = ''
- this.vf.tileUrlTemplate &&
- ((e = this.vf.tileUrlTemplate.replace(/\{X\}/, c)),
- (e = e.replace(/\{Y\}/, a.y)),
- (e = e.replace(/\{Z\}/, b)))
- return e
- },
- pm: w('mW'),
- oa: function () {
- return this.Hb || La
- }
- })
- function Tc(a, b) {
- Ib(a) ? (b = a || {}) : ((b = b || {}), (b.databoxId = a))
- this.j = {
- OK: b.databoxId,
- eh: b.geotableId,
- Wm: b.q || '',
- pu: b.tags || '',
- filter: b.filter || '',
- Vy: b.sortby || '',
- Y_: b.styleId || '',
- Vl: b.ak || qa,
- Gw: b.age || 36e5,
- zIndex: 11,
- fZ: 'VectorCloudLayer',
- Fk: b.hotspotName || 'vector_md_' + (1e5 * Math.random()).toFixed(0),
- uV: 'LBS\u4e91\u9ebb\u70b9\u5c42'
- }
- this.pp = q
- Mc.call(this, this.j)
- this.GW = B.Wc + 'geosearch/detail/'
- this.HW = B.Wc + 'geosearch/v2/detail/'
- this.lp = {}
- }
- z.ta(Tc, Mc, 'VectorCloudLayer')
- function Uc(a) {
- a = a || {}
- this.j = z.extend(a, {
- zIndex: 1,
- fZ: 'VectorTrafficLayer',
- uV: '\u77e2\u91cf\u8def\u51b5\u5c42'
- })
- this.pp = q
- Mc.call(this, this.j)
- this.x0 = B.url.proto + B.url.domain.vector_traffic + '/gvd/?qt=lgvd&styles=pl&layers=tf'
- this.Db = {
- 0: [2, 1354709503, 2, 2, 0, [], 0, 0],
- 1: [2, 1354709503, 3, 2, 0, [], 0, 0],
- 10: [2, -231722753, 2, 2, 0, [], 0, 0],
- 11: [2, -231722753, 3, 2, 0, [], 0, 0],
- 12: [2, -231722753, 4, 2, 0, [], 0, 0],
- 13: [2, -231722753, 5, 2, 0, [], 0, 0],
- 14: [2, -231722753, 6, 2, 0, [], 0, 0],
- 15: [2, -1, 4, 0, 0, [], 0, 0],
- 16: [2, -1, 5.5, 0, 0, [], 0, 0],
- 17: [2, -1, 7, 0, 0, [], 0, 0],
- 18: [2, -1, 8.5, 0, 0, [], 0, 0],
- 19: [2, -1, 10, 0, 0, [], 0, 0],
- 2: [2, 1354709503, 4, 2, 0, [], 0, 0],
- 3: [2, 1354709503, 5, 2, 0, [], 0, 0],
- 4: [2, 1354709503, 6, 2, 0, [], 0, 0],
- 5: [2, -6350337, 2, 2, 0, [], 0, 0],
- 6: [2, -6350337, 3, 2, 0, [], 0, 0],
- 7: [2, -6350337, 4, 2, 0, [], 0, 0],
- 8: [2, -6350337, 5, 2, 0, [], 0, 0],
- 9: [2, -6350337, 6, 2, 0, [], 0, 0]
- }
- }
- z.ta(Uc, Mc, 'VectorTrafficLayer')
- function db(a) {
- this.PV = [
- B.url.proto + B.url.domain.TILE_ONLINE_URLS[1] + '/gvd/?',
- B.url.proto + B.url.domain.TILE_ONLINE_URLS[2] + '/gvd/?',
- B.url.proto + B.url.domain.TILE_ONLINE_URLS[3] + '/gvd/?',
- B.url.proto + B.url.domain.TILE_ONLINE_URLS[4] + '/gvd/?'
- ]
- this.j = {
- pL: t
- }
- for (var b in a) this.j[b] = a[b]
- this.Th = this.Fh = this.Ya = this.C = this.B = s
- this.LM = 0
- var c = this
- K.load('vector', function () {
- c.De()
- })
- }
- z.extend(db.prototype, {
- na: function (a, b) {
- this.B = a
- this.C = b
- },
- remove: function () {
- this.C = this.B = s
- }
- })
- function Vc(a) {
- Mc.call(this, a)
- this.j = a || {}
- this.GM = q
- this.ag = new Uc()
- this.ag.$y = this
- if (this.j.predictDate) {
- if (1 > this.j.predictDate.weekday || 7 < this.j.predictDate.weekday) this.j.predictDate = 1
- if (0 > this.j.predictDate.hour || 23 < this.j.predictDate.hour) this.j.predictDate.hour = 0
- }
- this.VU = B.url.proto + B.url.domain.traffic + '/traffic/'
- }
- Vc.prototype = new Mc()
- Vc.prototype.na = function (a, b) {
- Mc.prototype.na.call(this, a, b)
- this.B = a
- }
- Vc.prototype.zt = ca(q)
- Vc.prototype.getTilesUrl = function (a, b) {
- var c = ''
- this.j.predictDate
- ? (c =
- 'HistoryService?day=' +
- (this.j.predictDate.weekday - 1) +
- '&hour=' +
- this.j.predictDate.hour +
- '&t=' +
- new Date().getTime() +
- '&')
- : ((c = 'TrafficTileService?time=' + new Date().getTime() + '&'), (c += 'label=web2D&v=016&'))
- var c = this.VU + c + 'level=' + b + '&x=' + a.x + '&y=' + a.y,
- e = 1
- this.B.Sx() && (e = 2)
- return (c + '&scaler=' + e).replace(/-(\d+)/gi, 'M$1')
- }
- var Wc = [
- B.url.proto + B.url.domain.TILES_YUN_HOST[0] + '/georender/gss',
- B.url.proto + B.url.domain.TILES_YUN_HOST[1] + '/georender/gss',
- B.url.proto + B.url.domain.TILES_YUN_HOST[2] + '/georender/gss',
- B.url.proto + B.url.domain.TILES_YUN_HOST[3] + '/georender/gss'
- ],
- Xc = B.url.proto + B.url.domain.main_domain_nocdn.baidu + '/style/poi/rangestyle',
- Yc = 100
- function nb(a, b) {
- Mc.call(this)
- var c = this
- this.GM = q
- var e = t
- try {
- document.createElement('canvas').getContext('2d'), (e = q)
- } catch (f) {
- e = t
- }
- e && ((this.ag = new Tc(a, b)), (this.ag.$y = this))
- Ib(a) ? (b = a || {}) : ((c.Rn = a), (b = b || {}))
- b.geotableId && (c.Cf = b.geotableId)
- b.databoxId && (c.Rn = b.databoxId)
- e = B.Wc + 'geosearch'
- c.ub = {
- ON: b.pointDensity || Yc,
- BY: e + '/detail/',
- CY: e + '/v2/detail/',
- Gw: b.age || 36e5,
- Wm: b.q || '',
- i0: 'png',
- X3: [5, 5, 5, 5],
- eZ: {
- backgroundColor: '#FFFFD5',
- borderColor: '#808080'
- },
- Vl: b.ak || qa,
- pu: b.tags || '',
- filter: b.filter || '',
- Vy: b.sortby || '',
- Fk: b.hotspotName || 'tile_md_' + (1e5 * Math.random()).toFixed(0),
- dG: q
- }
- K.load('clayer', function () {
- c.Sd()
- })
- }
- nb.prototype = new Mc()
- nb.prototype.na = function (a, b) {
- Mc.prototype.na.call(this, a, b)
- this.B = a
- }
- nb.prototype.getTilesUrl = function (a, b) {
- var c = a.x,
- e = a.y,
- f = this.ub,
- c =
- Wc[Math.abs(c + e) % Wc.length] +
- '/image?grids=' +
- c +
- '_' +
- e +
- '_' +
- b +
- '&q=' +
- f.Wm +
- '&tags=' +
- f.pu +
- '&filter=' +
- f.filter +
- '&sortby=' +
- f.Vy +
- '&ak=' +
- this.ub.Vl +
- '&age=' +
- f.Gw +
- '&page_size=' +
- f.ON +
- '&format=' +
- f.i0
- f.dG || ((f = (1e5 * Math.random()).toFixed(0)), (c += '&timeStamp=' + f))
- this.Cf ? (c += '&geotable_id=' + this.Cf) : this.Rn && (c += '&databox_id=' + this.Rn)
- return c
- }
- nb.prototype.enableUseCache = function () {
- this.ub.dG = q
- }
- nb.prototype.disableUseCache = function () {
- this.ub.dG = t
- }
- nb.tU = /^point\(|\)$/gi
- nb.uU = /\s+/
- nb.wU = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g
- var Zc = {}
- function $c(a, b) {
- this.kd = a
- this.uQ = 18
- this.j = {
- le: 256,
- cd: new S()
- }
- z.extend(this.j, b || {})
- }
- var ad = [0, 0, 0, 8, 7, 7, 6, 6, 5, 5, 4, 3, 3, 3, 2, 2, 1, 1, 0, 0, 0, 0],
- bd = [512, 2048, 4096, 32768, 65536, 262144, 1048576, 4194304, 8388608],
- cd = [0, 0, 0, 3, 5, 5, 7, 7, 9, 9, 10, 12, 12, 12, 15, 15, 17, 17, 19, 19, 19, 19],
- dd = [
- 0, 0, 0, 256, 256, 512, 256, 512, 256, 512, 256, 256, 512, 1024, 256, 512, 512, 1024, 512, 1024, 2048, 4096
- ]
- $c.prototype = {
- getName: w('kd'),
- $c: function (a) {
- return 'na' === this.kd ? dd[a] : this.j.le
- },
- FL: function (a) {
- return 'na' === this.kd ? cd[a] : a
- },
- wm: function () {
- return this.j.cd
- },
- dc: function (a) {
- return Math.pow(2, this.uQ - a)
- },
- RX: function (a) {
- return 'na' === this.kd ? bd[ad[a]] : this.dc(a) * this.$c(a)
- }
- }
- P = z.lang.Ju
- function Lc(a, b, c) {
- this.B = a
- this.cV = b
- this.Cd = b.qc
- this.ub = {
- h0: 'na',
- zIndex: 0,
- OO: c.tileUrls,
- AO: q
- }
- this.UB = ''
- this.qT = {}
- var c = c.urlOpts || {},
- e
- for (e in c) c.hasOwnProperty(e) && (this.UB = this.UB + '&' + e + '=' + c[e])
- this.GC = []
- this.JE = 0
- this.zM = t
- a = this.ub.h0
- Zc[a] ? (a = Zc[a]) : ((b = new $c(a, l)), (a = Zc[a] = b))
- this.Wr = a
- }
- window.VectorIndoorTileLayer = 'VectorIndoorTileLayer'
- da = Lc.prototype
- da.na = function () {
- var a = this.B,
- b = a.Va
- if (!this.Vh) {
- var c = b.Kj(this.ub.zIndex)
- c.style.WebkitTransform = 'translate3d(0px, 0px, 0)'
- this.Vh = c
- }
- b.Ki.appendChild(this.Vh)
- b.b4 = c
- if (this.ub.AO) {
- ed(this)
- var e = this
- a.addEventListener('checkvectorclick', function (a) {
- var b
- a: {
- b = a.offsetX
- var c = a.offsetY,
- k = e.GC.N4
- if (k)
- for (var m = 0; m < k.length; m++)
- for (var n = k[m], o = 0; o < n.length; o++)
- if (((a = n[o]), !a.f4 && a.EY && b > a.WE && b < a.TE && c > a.XE && c < a.UE)) {
- b = a.EY
- b = {
- type: 9,
- name: a.name,
- uid: a.uid,
- point: {
- x: b.H2 + b.width / 2,
- y: b.I2 + 6
- }
- }
- break a
- }
- b = s
- }
- b && ((a = new P('onvectorclick')), (a.Y3 = b), (a.of = 'base'), this.dispatchEvent(a))
- })
- }
- }
- function ed(a) {
- var b = a.B,
- c = b.Va,
- e = a.Cd,
- f = b.cb(),
- g = f.width,
- f = f.height,
- i = L('canvas')
- i.style.cssText = 'position: absolute;left:0;top:0;width:' + g + 'px;height:' + f + 'px;z-index:2;'
- i.width = g * e
- i.height = f * e
- a.by = i
- a.At = i.getContext('2d')
- a.At.scale(e, e)
- a.At.textBaseline = 'top'
- c.Ki.appendChild(i)
- b.ZS = i
- }
- da.update = function (a, b) {
- b = b || {}
- if (this.ub.AO && (b.Tw && this.Tw(), b.S_)) {
- var c = this.Cd,
- e = this.B.cb(),
- f = e.width,
- e = e.height,
- g = this.by,
- i = g.style
- i.width = f + 'px'
- i.height = e + 'px'
- g.width = f * c
- g.height = e * c
- this.At.scale(c, c)
- this.At.textBaseline = 'top'
- }
- if (b.M5) {
- c = this.Vh
- f = 0
- for (e = c.childNodes.length; f < e; f++) c.childNodes[f].yd = t
- }
- this.NK = a
- this.up(a)
- }
- da.up = function (a) {
- this.GC = []
- var b = this.B,
- c = b.fa(),
- e = b.cd.vj(b.re),
- f = this.Wr.dc(c),
- e = [Math.round(-e.lng / f), Math.round(e.lat / f)],
- f = this.Wr.$c(c),
- g = b.aa.replace(/^TANGRAM_/, ''),
- i = this.Wr.FL(c),
- b = this.B,
- k = -b.offsetY + b.height / 2,
- m = this.Vh
- m.style.left = -b.offsetX + b.width / 2 + 'px'
- m.style.top = k + 'px'
- this.Cc ? (this.Cc.length = 0) : (this.Cc = [])
- b = 0
- for (k = m.childNodes.length; b < k; b++) {
- var n = m.childNodes[b]
- n.Sj = t
- this.Cc.push(n)
- }
- if ((b = this.qh)) for (var o in b) delete b[o]
- else this.qh = {}
- this.Dc ? (this.Dc.length = 0) : (this.Dc = [])
- b = 0
- for (k = a.length; b < k; b++) {
- var n = a[b][0],
- p = a[b][1]
- o = 0
- for (var v = this.Cc.length; o < v; o++) {
- var x = this.Cc[o]
- if (x.id === g + '_' + n + '_' + p + '_' + i + '_' + c) {
- x.Sj = q
- this.qh[x.id] = x
- break
- }
- }
- }
- b = 0
- for (k = this.Cc.length; b < k; b++)
- (x = this.Cc[b]), x.Sj || ((x.Lc = s), delete x.Lc, (x.yd = t), this.Dc.push(x))
- o = []
- v = f * this.Cd
- b = 0
- for (k = a.length; b < k; b++) {
- var n = a[b][0],
- p = a[b][1],
- x = n * f + e[0],
- y = (-1 - p) * f + e[1],
- A = g + '_' + n + '_' + p + '_' + i + '_' + c,
- E = this.qh[A],
- C = s
- if (E)
- (C = E.style),
- (C.left = x + 'px'),
- (C.top = y + 'px'),
- (C.width = f + 'px'),
- (C.height = f + 'px'),
- E.yd ? E.MO && E.MO && this.GC.push(E.MO) : ((E.NR = q), (E.Lc = s), delete E.Lc, o.push([n, p, E]))
- else {
- if (0 < this.Dc.length) {
- var E = this.Dc.shift(),
- F = E.getContext('2d')
- E.getAttribute('width') !== v && (E._scale = t)
- E.setAttribute('width', v)
- E.setAttribute('height', v)
- C = E.style
- C.width = f + 'px'
- C.height = f + 'px'
- F.clearRect(0, 0, v, v)
- } else
- (E = document.createElement('canvas')),
- (C = E.style),
- (C.position = 'absolute'),
- this.ub.backgroundColor && (C.background = this.ub.backgroundColor),
- (C.width = f + 'px'),
- (C.height = f + 'px'),
- E.setAttribute('width', v),
- E.setAttribute('height', v),
- m.appendChild(E)
- E.id = A
- C.left = x + 'px'
- C.top = y + 'px'
- o.push([n, p, E])
- }
- E.style.visibility = ''
- }
- b = 0
- for (k = this.Dc.length; b < k; b++) this.Dc[b].style.visibility = 'hidden'
- if (0 === o.length) fd(this)
- else {
- this.JE = o.length
- this.zM = t
- c = this.Wr.FL(this.B.fa())
- for (e = 0; e < a.length; e++) a[e][3] = c
- for (e = 0; e < o.length; e++)
- (a = o[e][2]), (f = o[e][0]), (g = o[e][1]), (o[e][3] = c), (a.yd = t), (a.NR = t), gd(this, f, g, c, a)
- }
- }
- function gd(a, b, c, e, f) {
- var g = b + '_' + c + '_' + e,
- i = a.qT
- if (i[g]) {
- if ('loading' === i[g].status) return
- } else
- i[g] = {
- status: 'init',
- bO: 0
- }
- var k = a,
- m = k.B,
- n = [],
- n = '0' === B.xu ? k.ub.OO.http : k.ub.OO.https,
- o = Math.abs(b + c) % n.length,
- p = 'x=' + b + '&y=' + c + '&z=' + e,
- v = hd(a.cV),
- x = v.O0,
- v = v.C0,
- y =
- '_' +
- (0 > b ? '_' : '') +
- (0 > c ? '$' : '') +
- parseInt(Math.abs(b) + '' + Math.abs(c) + '' + e, 10).toString(36),
- p = p + a.UB + 'v=' + x + '&udt=' + v + '&fn=window.' + y,
- x = n[o] + '&' + p,
- x = n[o] + '¶m=' + window.encodeURIComponent(Kb(p))
- window[y] = function (a) {
- clearTimeout(i[g].Od)
- i[g] = s
- if (a) {
- m.fa()
- var n
- a: {
- for (n = 0; n < k.NK.length; n++) {
- var o = k.NK[n]
- if (o[0] === b && o[1] === c && o[3] === e) {
- n = q
- break a
- }
- }
- n = t
- }
- n !== t &&
- ((n = new P('updateindoor')),
- (n.IndoorCanvas = []),
- n.IndoorCanvas.push({
- canvasDom: f,
- data: a,
- canvasID: f.id,
- ratio: k.Cd
- }),
- m.dispatchEvent(n),
- k.JE--,
- (0 === k.JE || k.zM === q) && fd(k),
- delete window[y])
- }
- }
- oa(x)
- i[g].status = 'loading'
- k = a
- i[g].Od = setTimeout(function () {
- 3 > i[g].bO ? (i[g].bO++, (i[g].status = 'init'), gd(k, b, c, e, f)) : (i[g] = s)
- }, 4e3)
- }
- function fd(a) {
- if (a.by) {
- var b = a.B
- a.by.style.left = -b.offsetX + 'px'
- a.by.style.top = -b.offsetY + 'px'
- a = new P('updateindoorlabel')
- a.labelCanvasDom = b.ZS
- b.dispatchEvent(a)
- }
- }
- da.Tw = function () {
- var a = this.B.cb(),
- b = this.Cd
- this.At.clearRect(0, 0, a.width * b, a.height * b)
- }
- da.remove = function () {
- var a = this.B.Va
- this.Vh && a.Ki.removeChild(this.Vh)
- }
- function Kc(a) {
- this.B = a.map
- this.ff = []
- this.Xr = {}
- this.qc = this.B.K.devicePixelRatio
- this.na()
- }
- window.VectorIndoorTileMgr = 'VectorIndoorTileMgr'
- da = Kc.prototype
- da.na = function () {
- var a = this,
- b = this.B
- b.addEventListener('addtilelayer', function (b) {
- a.Oe(b.target)
- })
- b.addEventListener('removetilelayer', function (b) {
- a.Yf(b.target)
- })
- setTimeout(function () {
- b.addEventListener('onmoveend', function (b) {
- 'centerAndZoom' !== b.mv && a.update()
- })
- b.addEventListener('onzoomend', function (b) {
- 'centerAndZoom' !== b.mv &&
- a.update({
- Tw: q
- })
- })
- b.addEventListener('centerandzoom', function () {
- a.update({
- Tw: q
- })
- })
- }, 1)
- b.addEventListener('indoor_data_refresh', u())
- b.addEventListener('onresize', function () {
- a.update({
- S_: q
- })
- })
- a.update()
- }
- da.Oe = function (a) {
- if (a instanceof Lc) {
- for (var b = 0; b < this.ff.length; b++) if (this.ff[b] === a) return
- this.ff.push(a)
- a.na()
- this.B.loaded && this.update()
- }
- }
- da.Yf = function (a) {
- if (a instanceof Lc) {
- for (var b = 0; b < this.ff.length; b++)
- if (this.ff[b] === a) {
- this.ff.splice(b, 1)
- break
- }
- a.remove()
- }
- }
- da.pj = function (a) {
- var b = a.getName()
- if (this.Xr[b]) return this.Xr[b]
- var c = this.B,
- e = c.fa(),
- f = c.fc,
- g = a.RX(e)
- c.aa.replace(/^TANGRAM_/, '')
- var i = Math.ceil(f.lng / g),
- k = Math.ceil(f.lat / g),
- a = a.$c(e),
- m = [i, k, (f.lng / g - i) * a, (f.lat / g - k) * a],
- e = m[0] - Math.ceil((c.width / 2 - m[2]) / a),
- f = m[1] - Math.ceil((c.height / 2 - m[3]) / a),
- g = m[0] + Math.ceil((c.width / 2 + m[2]) / a),
- c = m[1] + Math.ceil((c.height / 2 + m[3]) / a)
- this.hc ? (this.hc.length = 0) : (this.hc = [])
- for (a = e; a < g; a++) for (e = f; e < c; e++) this.hc.push([a, e])
- this.hc.sort(
- (function (a) {
- return function (b, c) {
- return (
- 0.4 * Math.abs(b[0] - a[0]) +
- 0.6 * Math.abs(b[1] - a[1]) -
- (0.4 * Math.abs(c[0] - a[0]) + 0.6 * Math.abs(c[1] - a[1]))
- )
- }
- })([i, k])
- )
- this.Xr[b] = this.hc.slice(0)
- return this.Xr[b]
- }
- function hd(a) {
- if (a.gG) return a.gG
- var b = 'undefined' !== typeof TVC ? TVC.K2.z4 : {}
- a.gG = {
- O0: b.version ? b.version : '001',
- C0: b.wn ? b.wn : '20171110'
- }
- return a.gG
- }
- da.update = function (a) {
- this.Xr = {}
- for (var b = 0; b < this.ff.length; b++) {
- var c = this.ff[b],
- e = this.pj(c.Wr)
- c.update(e, a)
- }
- }
- function id(a, b, c) {
- this.kd = a
- this.ff = b instanceof Mc ? [b] : b.slice(0)
- c = c || {}
- this.j = {
- k0: c.tips || '',
- LE: '',
- gc: c.minZoom || 3,
- Yb: c.maxZoom || 18,
- W3: c.minZoom || 3,
- V3: c.maxZoom || 18,
- le: 256,
- UF: c.textColor || 'black',
- vD: c.errorImageUrl || '',
- bb: new fb(new J(-21364736, -16023552), new J(23855104, 19431424)),
- cd: c.projection || new S()
- }
- 1 <= this.ff.length && (this.ff[0].Jw = q)
- z.extend(this.j, c)
- }
- z.extend(id.prototype, {
- getName: w('kd'),
- gt: function () {
- return this.j.k0
- },
- B3: function () {
- return this.j.LE
- },
- oY: function () {
- return this.ff[0]
- },
- P3: w('ff'),
- $c: function () {
- return this.j.le
- },
- bp: function () {
- return this.j.gc
- },
- sm: function () {
- return this.j.Yb
- },
- setMaxZoom: function (a) {
- this.j.Yb = a
- },
- zm: function () {
- return this.j.UF
- },
- wm: function () {
- return this.j.cd
- },
- u3: function () {
- return this.j.vD
- },
- $c: function () {
- return this.j.le
- },
- dc: function (a) {
- return Math.pow(2, 18 - a)
- },
- mE: function (a) {
- return this.dc(a) * this.$c()
- }
- })
- var jd = [
- B.url.proto + B.url.domain.TILE_BASE_URLS[0] + '/it/',
- B.url.proto + B.url.domain.TILE_BASE_URLS[1] + '/it/',
- B.url.proto + B.url.domain.TILE_BASE_URLS[2] + '/it/',
- B.url.proto + B.url.domain.TILE_BASE_URLS[3] + '/it/',
- B.url.proto + B.url.domain.TILE_BASE_URLS[4] + '/it/'
- ],
- kd = [
- B.url.proto + B.url.domain.TILE_ONLINE_URLS[0] + '/tile/',
- B.url.proto + B.url.domain.TILE_ONLINE_URLS[1] + '/tile/',
- B.url.proto + B.url.domain.TILE_ONLINE_URLS[2] + '/tile/',
- B.url.proto + B.url.domain.TILE_ONLINE_URLS[3] + '/tile/',
- B.url.proto + B.url.domain.TILE_ONLINE_URLS[4] + '/tile/'
- ],
- ld = {
- dark: 'dl',
- light: 'll',
- normal: 'pl'
- },
- md = new Mc()
- md.M_ = q
- md.getTilesUrl = function (a, b, c) {
- var e = a.x,
- a = a.y,
- f = Sb('normal'),
- g = 1,
- c = ld[c]
- //this.map.Sx() && (g = 2); //修改
- //e = this.map.Va.Lw(e, b).hs;
- //return (kd[Math.abs(e + a) % kd.length] + "?qt=tile&x=" + (e + "").replace(/-/gi, "M") + "&y=" + (a + "").replace(/-/gi, "M") + "&z=" + b + "&styles=" + c + "&scaler=" + g + (6 == z.ca.ia ? "&color_dep=32&colors=50" : "") + "&udt=" + f).replace(/-(\d+)/gi, "M$1")
-
- var tdir = bmapcfg.tiles_dir.length > 0 ? bmapcfg.tiles_dir : bmapcfg.home + 'tiles'
- return tdir + '/' + b + '/' + e + '/' + a + bmapcfg.imgext // 使用本地的瓦片
- }
- var La = new id('\u5730\u56fe', md, {
- tips: '\u663e\u793a\u666e\u901a\u5730\u56fe',
- maxZoom: 19
- }),
- nd = new Mc()
- nd.NO = [
- B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[0] + '/resource/mappic/',
- B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[1] + '/resource/mappic/',
- B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[2] + '/resource/mappic/',
- B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[3] + '/resource/mappic/'
- ]
- nd.getTilesUrl = function (a, b) {
- var c = a.x,
- e = a.y,
- f = 256 * Math.pow(2, 20 - b),
- e = Math.round((9998336 - f * e) / f) - 1
- /*var tdir = bmapcfg.tiles_hybrid.length > 0 ? bmapcfg.tiles_hybrid : bmapcfg.home + "tiles_hybrid";//修改 使用本地卫星的瓦片
- tdir = tdir + "/" + b + "/" + c + "/" + e + bmapcfg.imgext; //修改 使用本地卫星的瓦片
- return tdir;*/
- return (url =
- this.NO[Math.abs(c + e) % this.NO.length] +
- this.map.Ub +
- '/' +
- this.map.Rw +
- '/3/lv' +
- (21 - b) +
- '/' +
- c +
- ',' +
- e +
- '.jpg')
- }
- var Qa = new id('\u4e09\u7ef4', nd, {
- tips: '\u663e\u793a\u4e09\u7ef4\u5730\u56fe',
- minZoom: 15,
- maxZoom: 20,
- textColor: 'white',
- projection: new hb()
- })
- Qa.dc = function (a) {
- return Math.pow(2, 20 - a)
- }
- Qa.wk = function (a) {
- if (!a) return ''
- var b = G.pC,
- c
- for (c in b) if (-1 < a.search(c)) return b[c].yy
- return ''
- }
- Qa.BL = function (a) {
- return {
- bj: 2,
- gz: 1,
- sz: 14,
- sh: 4
- }[a]
- }
- var od = new Mc({
- Jw: q
- })
- od.getTilesUrl = function (a, b) {
- var c = a.x,
- e = a.y
- return (
- jd[Math.abs(c + e) % jd.length] +
- 'u=x=' +
- c +
- ';y=' +
- e +
- ';z=' +
- b +
- ';v=009;type=sate&fm=46&udt=' +
- Sb('satellite')
- ).replace(/-(\d+)/gi, 'M$1')
- }
- var Ya = new id('\u536b\u661f', od, {
- tips: '\u663e\u793a\u536b\u661f\u5f71\u50cf',
- minZoom: 1,
- maxZoom: 19,
- textColor: 'white'
- }),
- pd = new Mc({
- transparentPng: q
- })
- pd.getTilesUrl = function (a, b) {
- var c = a.x,
- e = a.y,
- f = Sb('satelliteStreet')
- return (
- kd[Math.abs(c + e) % kd.length] +
- '?qt=vtile&x=' +
- (c + '').replace(/-/gi, 'M') +
- '&y=' +
- (e + '').replace(/-/gi, 'M') +
- '&z=' +
- b +
- '&styles=sl' +
- (6 == z.ca.ia ? '&color_dep=32&colors=50' : '') +
- '&udt=' +
- f
- ).replace(/-(\d+)/gi, 'M$1')
- }
- var Sa = new id('\u6df7\u5408', [od, pd], {
- tips: '\u663e\u793a\u5e26\u6709\u8857\u9053\u7684\u536b\u661f\u5f71\u50cf',
- labelText: '\u8def\u7f51',
- minZoom: 1,
- maxZoom: 19,
- textColor: 'white'
- })
- var qd = 1,
- V = {}
- window.c1 = V
- function W(a, b) {
- z.lang.Ca.call(this)
- this.Ad = {}
- this.fn(a)
- b = b || {}
- b.la = b.renderOptions || {}
- this.j = {
- la: {
- Ma: b.la.panel || s,
- map: b.la.map || s,
- Zg: b.la.autoViewport || q,
- Ut: b.la.selectFirstResult,
- kt: b.la.highlightMode,
- Wb: b.la.enableDragging || t
- },
- py: b.onSearchComplete || u(),
- BN: b.onMarkersSet || u(),
- AN: b.onInfoHtmlSet || u(),
- DN: b.onResultsHtmlSet || u(),
- zN: b.onGetBusListComplete || u(),
- yN: b.onGetBusLineComplete || u(),
- wN: b.onBusListHtmlSet || u(),
- vN: b.onBusLineHtmlSet || u(),
- bF: b.onPolylinesSet || u(),
- Dp: b.reqFrom || ''
- }
- this.j.la.Zg =
- 'undefined' != typeof b &&
- 'undefined' != typeof b.renderOptions &&
- 'undefined' != typeof b.renderOptions.autoViewport
- ? b.renderOptions.autoViewport
- : q
- this.j.la.Ma = z.Fc(this.j.la.Ma)
- }
- z.ta(W, z.lang.Ca)
- z.extend(W.prototype, {
- getResults: function () {
- return this.Hc ? this.Ei : this.ha
- },
- enableAutoViewport: function () {
- this.j.la.Zg = q
- },
- disableAutoViewport: function () {
- this.j.la.Zg = t
- },
- fn: function (a) {
- a && (this.Ad.src = a)
- },
- JF: function (a) {
- this.j.py = a || u()
- },
- setMarkersSetCallback: function (a) {
- this.j.BN = a || u()
- },
- setPolylinesSetCallback: function (a) {
- this.j.bF = a || u()
- },
- setInfoHtmlSetCallback: function (a) {
- this.j.AN = a || u()
- },
- setResultsHtmlSetCallback: function (a) {
- this.j.DN = a || u()
- },
- xm: w('Me')
- })
- var rd = {
- KG: B.Wc,
- ab: function (a, b, c, e, f) {
- this.SZ(b)
- var g = (1e5 * Math.random()).toFixed(0)
- B._rd['_cbk' + g] = function (b) {
- b.result && b.result.error && 202 === b.result.error
- ? alert(
- '\u8be5AK\u56e0\u4e3a\u6076\u610f\u884c\u4e3a\u5df2\u7ecf\u88ab\u7ba1\u7406\u5458\u5c01\u7981\uff01'
- )
- : ((c = c || {}), a && a(b, c), delete B._rd['_cbk' + g])
- }
- e = e || ''
- b = c && c.H0 ? Gb(b, encodeURI) : Gb(b, encodeURIComponent)
- this.KG = c && c.jL ? (c.$N ? c.$N : B.vp) : B.Wc
- e = this.KG + e + '?' + b + '&ie=utf-8&oue=1&fromproduct=jsapi'
- f || (e += '&res=api')
- e = e + ('&callback=BMap._rd._cbk' + g) + ('&ak=' + qa)
- oa(e)
- },
- SZ: function (a) {
- if (a.qt) {
- var b = ''
- switch (a.qt) {
- case 'bt':
- b = 'z_qt|bt'
- break
- case 'nav':
- b = 'z_qt|nav'
- break
- case 'walk':
- b = 'z_qt|walk'
- break
- case 'bse':
- b = 'z_qt|bse'
- break
- case 'nse':
- b = 'z_qt|nse'
- break
- case 'drag':
- b = 'z_qt|drag'
- }
- '' !== b && B.alog('cus.fire', 'count', b)
- }
- }
- }
- window.o1 = rd
- B._rd = {}
- var ab = {}
- window.n1 = ab
- ab.WN = function (a) {
- a = a.replace(/<\/?[^>]*>/g, '')
- return (a = a.replace(/[ | ]* /g, ' '))
- }
- ab.JZ = function (a) {
- return a.replace(
- /([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*),([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*)(,)/g,
- '$1,$2;'
- )
- }
- ab.KZ = function (a, b) {
- return a.replace(
- RegExp(
- '(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);)(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);){' + b + '}',
- 'ig'
- ),
- '$1'
- )
- }
- var sd = 2,
- td = 6,
- ud = 8,
- vd = 2,
- wd = 3,
- xd = 6,
- yd = 0,
- zd = 'bt',
- Ad = 'nav',
- Bd = 'walk',
- Cd = 'bl',
- Dd = 'bsl',
- Ed = 'ride',
- Fd = 15,
- Gd = 18
- B.I = window.Instance = z.lang.Nc
- function Hd(a, b, c) {
- z.lang.Ca.call(this)
- if (a) {
- this.Wa = 'object' == typeof a ? a : z.Fc(a)
- this.page = 1
- this.Kd = 100
- this.hK = 'pg'
- this.Xf = 4
- this.qK = b
- this.update = q
- a = {
- page: 1,
- $e: 100,
- Kd: 100,
- Xf: 4,
- hK: 'pg',
- update: q
- }
- c || (c = a)
- for (var e in c) 'undefined' != typeof c[e] && (this[e] = c[e])
- this.va()
- }
- }
- z.extend(Hd.prototype, {
- va: function () {
- this.na()
- },
- na: function () {
- this.YV()
- this.Wa.innerHTML = this.uW()
- },
- YV: function () {
- isNaN(parseInt(this.page)) && (this.page = 1)
- isNaN(parseInt(this.Kd)) && (this.Kd = 1)
- 1 > this.page && (this.page = 1)
- 1 > this.Kd && (this.Kd = 1)
- this.page > this.Kd && (this.page = this.Kd)
- this.page = parseInt(this.page)
- this.Kd = parseInt(this.Kd)
- },
- G3: function () {
- location.search.match(RegExp('[?&]?' + this.hK + '=([^&]*)[&$]?', 'gi'))
- this.page = RegExp.$1
- },
- uW: function () {
- var a = [],
- b = this.page - 1,
- c = this.page + 1
- a.push('')
- if (!(1 > b)) {
- if (this.page >= this.Xf) {
- var e
- a.push(
- '\u9996\u9875'.replace(
- '{temp1}',
- "BMap.I('" + this.aa + "').toPage(1);"
- )
- )
- }
- a.push(
- '\u4e0a\u4e00\u9875'.replace(
- '{temp2}',
- "BMap.I('" + this.aa + "').toPage(" + b + ');'
- )
- )
- }
- if (this.page < this.Xf)
- (e = 0 == this.page % this.Xf ? this.page - this.Xf - 1 : this.page - (this.page % this.Xf) + 1),
- (b = e + this.Xf - 1)
- else {
- e = Math.floor(this.Xf / 2)
- var f = (this.Xf % 2) - 1,
- b = this.Kd > this.page + e ? this.page + e : this.Kd
- e = this.page - e - f
- }
- this.page > this.Kd - this.Xf && this.page >= this.Xf && ((e = this.Kd - this.Xf + 1), (b = this.Kd))
- for (f = e; f <= b; f++)
- 0 < f &&
- (f == this.page
- ? a.push('' + f + '')
- : 1 <= f &&
- f <= this.Kd &&
- ((e =
- '[' +
- f +
- ']'),
- a.push(e.replace('{temp3}', "BMap.I('" + this.aa + "').toPage(" + f + ');'))))
- c > this.Kd ||
- a.push(
- '\u4e0b\u4e00\u9875'.replace(
- '{temp4}',
- "BMap.I('" + this.aa + "').toPage(" + c + ');'
- )
- )
- a.push('
')
- return a.join('')
- },
- toPage: function (a) {
- a = a ? a : 1
- 'function' == typeof this.qK && (this.qK(a), (this.page = a))
- this.update && this.va()
- }
- })
- function cb(a, b) {
- W.call(this, a, b)
- b = b || {}
- b.renderOptions = b.renderOptions || {}
- this.Np(b.pageCapacity)
- 'undefined' != typeof b.renderOptions.selectFirstResult && !b.renderOptions.selectFirstResult
- ? this.UC()
- : this.oD()
- this.ya = []
- this.yf = []
- this.mb = -1
- this.Pa = []
- var c = this
- K.load(
- 'local',
- function () {
- c.Nz()
- },
- q
- )
- }
- z.ta(cb, W, 'LocalSearch')
- cb.fq = 10
- cb.k1 = 1
- cb.En = 100
- cb.zG = 2e3
- cb.HG = 1e5
- z.extend(cb.prototype, {
- search: function (a, b) {
- this.Pa.push({
- method: 'search',
- arguments: [a, b]
- })
- },
- an: function (a, b, c) {
- this.Pa.push({
- method: 'searchInBounds',
- arguments: [a, b, c]
- })
- },
- Jp: function (a, b, c, e) {
- this.Pa.push({
- method: 'searchNearby',
- arguments: [a, b, c, e]
- })
- },
- Pe: function () {
- delete this.Ia
- delete this.Me
- delete this.ha
- delete this.ua
- this.mb = -1
- this.Ta()
- this.j.la.Ma && (this.j.la.Ma.innerHTML = '')
- },
- Am: u(),
- oD: function () {
- this.j.la.Ut = q
- },
- UC: function () {
- this.j.la.Ut = t
- },
- Np: function (a) {
- this.j.Jk = 'number' == typeof a && !isNaN(a) ? (1 > a ? cb.fq : a > cb.En ? cb.fq : a) : cb.fq
- },
- qf: function () {
- return this.j.Jk
- },
- toString: ca('LocalSearch')
- })
- var Id = cb.prototype
- T(Id, {
- clearResults: Id.Pe,
- setPageCapacity: Id.Np,
- getPageCapacity: Id.qf,
- gotoPage: Id.Am,
- searchNearby: Id.Jp,
- searchInBounds: Id.an,
- search: Id.search,
- enableFirstResultSelection: Id.oD,
- disableFirstResultSelection: Id.UC
- })
- function Jd(a, b) {
- W.call(this, a, b)
- }
- z.ta(Jd, W, 'BaseRoute')
- z.extend(Jd.prototype, {
- Pe: u()
- })
- function Kd(a, b) {
- W.call(this, a, b)
- b = b || {}
- this.bu(b.policy)
- this.oO(b.intercityPolicy)
- this.xO(b.transitTypePolicy)
- this.Np(b.pageCapacity)
- this.Ab = zd
- this.mq = qd
- this.ya = []
- this.mb = -1
- this.j.Vn = b.enableTraffic || t
- this.Pa = []
- var c = this
- K.load('route', function () {
- c.Sd()
- })
- }
- Kd.En = 100
- Kd.HP = [0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 1, 1, 1]
- Kd.IP = [0, 3, 4, 0, 0, 0, 5]
- z.ta(Kd, Jd, 'TransitRoute')
- z.extend(Kd.prototype, {
- bu: function (a) {
- this.j.ie = 0 <= a && 5 >= a ? a : 0
- },
- oO: function (a) {
- this.j.Hm = 0 <= a && 2 >= a ? a : 0
- },
- xO: function (a) {
- this.j.tn = 0 <= a && 2 >= a ? a : 0
- },
- NA: function (a, b) {
- this.Pa.push({
- method: '_internalSearch',
- arguments: [a, b]
- })
- },
- search: function (a, b) {
- this.Pa.push({
- method: 'search',
- arguments: [a, b]
- })
- },
- Np: function (a) {
- if ('string' === typeof a && ((a = parseInt(a, 10)), isNaN(a))) {
- this.j.Jk = Kd.En
- return
- }
- this.j.Jk = 'number' !== typeof a ? Kd.En : 1 <= a && a <= Kd.En ? Math.round(a) : Kd.En
- },
- toString: ca('TransitRoute'),
- Z1: function (a) {
- return a.replace(/\(.*\)/, '')
- }
- })
- var Ld = Kd.prototype
- T(Ld, {
- _internalSearch: Ld.NA
- })
- function Md(a, b) {
- W.call(this, a, b)
- this.ya = []
- this.mb = -1
- this.Pa = []
- var c = this,
- e = this.j.la
- 1 !== e.kt && 2 !== e.kt && (e.kt = 1)
- this.kv = this.j.la.Wb ? q : t
- K.load('route', function () {
- c.Sd()
- })
- this.vE && this.vE()
- }
- Md.WP =
- ' \u73af\u5c9b \u65e0\u5c5e\u6027\u9053\u8def \u4e3b\u8def \u9ad8\u901f\u8fde\u63a5\u8def \u4ea4\u53c9\u70b9\u5185\u8def\u6bb5 \u8fde\u63a5\u9053\u8def \u505c\u8f66\u573a\u5185\u90e8\u9053\u8def \u670d\u52a1\u533a\u5185\u90e8\u9053\u8def \u6865 \u6b65\u884c\u8857 \u8f85\u8def \u531d\u9053 \u5168\u5c01\u95ed\u9053\u8def \u672a\u5b9a\u4e49\u4ea4\u901a\u533a\u57df POI\u8fde\u63a5\u8def \u96a7\u9053 \u6b65\u884c\u9053 \u516c\u4ea4\u4e13\u7528\u9053 \u63d0\u524d\u53f3\u8f6c\u9053'.split(
- ' '
- )
- z.ta(Md, Jd, 'DWRoute')
- z.extend(Md.prototype, {
- search: function (a, b, c) {
- this.Pa.push({
- method: 'search',
- arguments: [a, b, c]
- })
- }
- })
- function Nd(a, b) {
- Md.call(this, a, b)
- b = b || {}
- this.j.Vn = b.enableTraffic || t
- this.bu(b.policy)
- this.Ab = Ad
- this.mq = wd
- }
- z.ta(Nd, Md, 'DrivingRoute')
- Nd.prototype.bu = function (a) {
- this.j.ie = 0 <= a && 5 >= a ? a : 0
- }
- function Od(a, b) {
- Md.call(this, a, b)
- this.Ab = Bd
- this.mq = vd
- this.kv = t
- }
- z.ta(Od, Md, 'WalkingRoute')
- function Pd(a, b) {
- Md.call(this, a, b)
- this.Ab = Ed
- this.mq = xd
- this.kv = t
- }
- z.ta(Pd, Md, 'RidingRoute')
- function Qd(a, b) {
- z.lang.Ca.call(this)
- this.Vf = []
- this.Kk = []
- this.j = b
- this.uj = a
- this.map = this.j.la.map || s
- this.hO = this.j.hO
- this.zb = s
- this.pk = 0
- this.SF = ''
- this.nf = 1
- this.uD = ''
- this.Ep = [0, 0, 0, 0, 0, 0, 0]
- this.XM = []
- this.os = [1, 1, 1, 1, 1, 1, 1]
- this.VO = [1, 1, 1, 1, 1, 1, 1]
- this.Fp = [0, 0, 0, 0, 0, 0, 0]
- this.Zm = [0, 0, 0, 0, 0, 0, 0]
- this.Ib = [
- {
- m: '',
- Ed: 0,
- vn: 0,
- x: 0,
- y: 0,
- pa: -1
- },
- {
- m: '',
- Ed: 0,
- vn: 0,
- x: 0,
- y: 0,
- pa: -1
- },
- {
- m: '',
- Ed: 0,
- vn: 0,
- x: 0,
- y: 0,
- pa: -1
- },
- {
- m: '',
- Ed: 0,
- vn: 0,
- x: 0,
- y: 0,
- pa: -1
- },
- {
- m: '',
- Ed: 0,
- vn: 0,
- x: 0,
- y: 0,
- pa: -1
- },
- {
- m: '',
- Ed: 0,
- vn: 0,
- x: 0,
- y: 0,
- pa: -1
- },
- {
- m: '',
- Ed: 0,
- vn: 0,
- x: 0,
- y: 0,
- pa: -1
- }
- ]
- this.bi = -1
- this.ru = []
- this.aG = []
- K.load('route', u())
- }
- z.lang.ta(Qd, z.lang.Ca, 'RouteAddr')
- var Rd = navigator.userAgent
- ;/ipad|iphone|ipod|iph/i.test(Rd)
- var Sd = /android/i.test(Rd)
- function Td(a) {
- this.vf = a || {}
- }
- z.extend(Td.prototype, {
- gO: function (a, b, c) {
- var e = this
- K.load('route', function () {
- e.Sd(a, b, c)
- })
- }
- })
- function Ud(a) {
- this.j = {}
- z.extend(this.j, a)
- this.Pa = []
- var b = this
- K.load('othersearch', function () {
- b.Sd()
- })
- }
- z.ta(Ud, z.lang.Ca, 'Geocoder')
- z.extend(Ud.prototype, {
- vm: function (a, b, c) {
- this.Pa.push({
- method: 'getPoint',
- arguments: [a, b, c]
- })
- },
- rm: function (a, b, c) {
- this.Pa.push({
- method: 'getLocation',
- arguments: [a, b, c]
- })
- },
- toString: ca('Geocoder')
- })
- var Vd = Ud.prototype
- T(Vd, {
- getPoint: Vd.vm,
- getLocation: Vd.rm
- })
- function Geolocation(a) {
- a = a || {}
- this.K = {
- timeout: a.timeout || 1e4,
- maximumAge: a.maximumAge || 6e5,
- enableHighAccuracy: a.enableHighAccuracy || t,
- zi: a.SDKLocation || t
- }
- this.pe = []
- var b = this
- K.load('othersearch', function () {
- for (var a = 0, e; (e = b.pe[a]); a++) b[e.method].apply(b, e.arguments)
- })
- }
- z.extend(Geolocation.prototype, {
- getCurrentPosition: function (a, b) {
- this.pe.push({
- method: 'getCurrentPosition',
- arguments: arguments
- })
- },
- getStatus: function () {
- return sd
- },
- enableSDKLocation: function () {
- H() && (this.K.zi = q)
- },
- disableSDKLocation: function () {
- this.K.zi = t
- }
- })
- function Wd(a) {
- a = a || {}
- a.la = a.renderOptions || {}
- this.j = {
- la: {
- map: a.la.map || s
- }
- }
- this.Pa = []
- var b = this
- K.load('othersearch', function () {
- b.Sd()
- })
- }
- z.ta(Wd, z.lang.Ca, 'LocalCity')
- z.extend(Wd.prototype, {
- get: function (a) {
- this.Pa.push({
- method: 'get',
- arguments: [a]
- })
- },
- toString: ca('LocalCity')
- })
- function Xd() {
- this.Pa = []
- var a = this
- K.load('othersearch', function () {
- a.Sd()
- })
- }
- z.ta(Xd, z.lang.Ca, 'Boundary')
- z.extend(Xd.prototype, {
- get: function (a, b) {
- this.Pa.push({
- method: 'get',
- arguments: [a, b]
- })
- },
- toString: ca('Boundary')
- })
- function Yd(a, b) {
- W.call(this, a, b)
- this.TP = Cd
- this.VP = Fd
- this.SP = Dd
- this.UP = Gd
- this.Pa = []
- var c = this
- K.load('buslinesearch', function () {
- c.Sd()
- })
- }
- Yd.zv = G.qa + 'iw_plus.gif'
- Yd.YS = G.qa + 'iw_minus.gif'
- Yd.RU = G.qa + 'stop_icon.png'
- z.ta(Yd, W)
- z.extend(Yd.prototype, {
- getBusList: function (a) {
- this.Pa.push({
- method: 'getBusList',
- arguments: [a]
- })
- },
- getBusLine: function (a) {
- this.Pa.push({
- method: 'getBusLine',
- arguments: [a]
- })
- },
- setGetBusListCompleteCallback: function (a) {
- this.j.zN = a || u()
- },
- setGetBusLineCompleteCallback: function (a) {
- this.j.yN = a || u()
- },
- setBusListHtmlSetCallback: function (a) {
- this.j.wN = a || u()
- },
- setBusLineHtmlSetCallback: function (a) {
- this.j.vN = a || u()
- },
- setPolylinesSetCallback: function (a) {
- this.j.bF = a || u()
- }
- })
- function Zd(a) {
- W.call(this, a)
- a = a || {}
- this.ub = {
- input: a.input || s,
- gC: a.baseDom || s,
- types: a.types || [],
- py: a.onSearchComplete || u()
- }
- this.Ad.src = a.location || '\u5168\u56fd'
- this.Wi = ''
- this.pg = s
- this.lI = ''
- this.Mi()
- Ra(Ha)
- var b = this
- K.load('autocomplete', function () {
- b.Sd()
- })
- }
- z.ta(Zd, W, 'Autocomplete')
- z.extend(Zd.prototype, {
- Mi: u(),
- show: u(),
- U: u(),
- KF: function (a) {
- this.ub.types = a
- },
- fn: function (a) {
- this.Ad.src = a
- },
- search: ba('Wi'),
- Ly: ba('lI')
- })
- var Ta
- function Oa(a, b) {
- function c() {
- f.j.visible
- ? ('inter' === f.Ke && f.j.haveBreakId && f.j.indoorExitControl === q ? z.D.show(f.GA) : z.D.U(f.GA),
- this.j.closeControl && this.Bf && this.B && this.B.La() === this.C ? z.D.show(f.Bf) : z.D.U(f.Bf),
- this.j.forceCloseControl && z.D.show(f.Bf))
- : (z.D.U(f.Bf), z.D.U(f.GA))
- }
- this.C = 'string' == typeof a ? z.$(a) : a
- this.aa = $d++
- this.j = {
- enableScrollWheelZoom: q,
- panoramaRenderer: 'flash',
- swfSrc: B.vg('main_domain_nocdn', 'res/swf/') + 'APILoader.swf',
- visible: q,
- indoorExitControl: q,
- indoorFloorControl: t,
- linksControl: q,
- clickOnRoad: q,
- navigationControl: q,
- closeControl: q,
- indoorSceneSwitchControl: q,
- albumsControl: t,
- albumsControlOptions: {},
- copyrightControlOptions: {},
- forceCloseControl: t,
- haveBreakId: t
- }
- var b = b || {},
- e
- for (e in b) this.j[e] = b[e]
- b.closeControl === q && (this.j.forceCloseControl = q)
- b.useWebGL === t && Na(t)
- this.Da = {
- heading: 0,
- pitch: 0
- }
- this.bo = []
- this.Lb = this.Za = s
- this.dk = this.er()
- this.ya = []
- this.Mc = 1
- this.Ke = this.xT = this.jl = ''
- this.Je = {}
- this.Of = s
- this.Sg = []
- this.xr = []
- 'cvsRender' == this.dk || Na()
- ? ((this.Vj = 90), (this.Xj = -90))
- : 'cssRender' == this.dk && ((this.Vj = 45), (this.Xj = -45))
- this.Br = t
- var f = this
- this.co = function () {
- this.dk === 'flashRender'
- ? K.load(
- 'panoramaflash',
- function () {
- f.Mi()
- },
- q
- )
- : K.load(
- 'panorama',
- function () {
- f.ib()
- },
- q
- )
- b.of == 'api' ? Ra(Da) : Ra(Ea)
- this.co = u()
- }
- this.j.jT !== q && (this.co(), B.Fn('cus.fire', 'count', 'z_loadpanoramacount'))
- this.aU(this.C)
- this.addEventListener('id_changed', function () {
- Ra(Ca, {
- from: b.of
- })
- })
- this.mQ()
- this.addEventListener('indoorexit_options_changed', c)
- this.addEventListener('scene_type_changed', c)
- this.addEventListener('onclose_options_changed', c)
- this.addEventListener('onvisible_changed', c)
- }
- var ae = 4,
- be = 1,
- $d = 0
- z.lang.ta(Oa, z.lang.Ca, 'Panorama')
- z.extend(Oa.prototype, {
- mQ: function () {
- var a = this,
- b = (this.Bf = L('div'))
- b.className = 'pano_close'
- b.style.cssText = 'z-index: 1201;display: none'
- b.title = '\u9000\u51fa\u5168\u666f'
- b.onclick = function () {
- a.U()
- }
- this.C.appendChild(b)
- var c = (this.GA = L('a'))
- c.className = 'pano_pc_indoor_exit'
- c.style.cssText = 'z-index: 1201;display: none'
- c.innerHTML = '\u51fa\u53e3'
- c.title = '\u9000\u51fa\u5ba4\u5185\u666f'
- c.onclick = function () {
- a.Vo()
- }
- this.C.appendChild(c)
- window.ActiveXObject &&
- !document.addEventListener &&
- ((b.style.backgroundColor = 'rgb(37,37,37)'), (c.style.backgroundColor = 'rgb(37,37,37)'))
- },
- Vo: u(),
- aU: function (a) {
- var b, c
- b = a.style
- c = Va(a).position
- 'absolute' != c && 'relative' != c && ((b.position = 'relative'), (b.zIndex = 0))
- if ('absolute' === c || 'relative' === c) if (((a = Va(a).zIndex), !a || 'auto' === a)) b.zIndex = 0
- },
- OX: w('bo'),
- Xb: w('Za'),
- pY: w('jw'),
- wO: w('jw'),
- ga: w('Lb'),
- Ea: w('Da'),
- fa: w('Mc'),
- jj: w('jl'),
- I3: function () {
- return this.U1 || []
- },
- D3: w('xT'),
- ft: w('Ke'),
- Ny: function (a) {
- a !== this.Ke && ((this.Ke = a), this.dispatchEvent(new P('onscene_type_changed')))
- },
- vc: function (a, b, c) {
- 'object' === typeof b && ((c = b), (b = l))
- a != this.Za &&
- ((this.ul = this.Za),
- (this.vl = this.Lb),
- (this.Za = a),
- (this.Ke = b || 'street'),
- (this.Lb = s),
- c && c.pov && this.Pc(c.pov))
- },
- sa: function (a) {
- a.pb(this.Lb) || ((this.ul = this.Za), (this.vl = this.Lb), (this.Lb = a), (this.Za = s))
- },
- Pc: function (a) {
- a &&
- ((this.Da = a),
- (a = this.Da.pitch),
- a > this.Vj ? (a = this.Vj) : a < this.Xj && (a = this.Xj),
- (this.Br = q),
- (this.Da.pitch = a))
- },
- H_: function (a, b) {
- this.Xj = 0 <= a ? 0 : a
- this.Vj = 0 >= b ? 0 : b
- },
- Qc: function (a) {
- a != this.Mc &&
- (a > ae && (a = ae),
- a < be && (a = be),
- a != this.Mc && (this.Mc = a),
- 'cssRender' === this.dk && this.Pc(this.Da))
- },
- GB: function () {
- if (this.B)
- for (var a = this.B.Hx(), b = 0; b < a.length; b++)
- (a[b] instanceof U || a[b] instanceof uc) && a[b].point && this.ya.push(a[b])
- },
- GF: ba('B'),
- au: function (a) {
- this.Of = a || 'none'
- },
- Qk: function (a) {
- for (var b in a) {
- if ('object' == typeof a[b]) for (var c in a[b]) this.j[b][c] = a[b][c]
- else this.j[b] = a[b]
- a.closeControl === q && (this.j.forceCloseControl = q)
- a.closeControl === t && (this.j.forceCloseControl = t)
- switch (b) {
- case 'linksControl':
- this.dispatchEvent(new P('onlinks_visible_changed'))
- break
- case 'clickOnRoad':
- this.dispatchEvent(new P('onclickonroad_changed'))
- break
- case 'navigationControl':
- this.dispatchEvent(new P('onnavigation_visible_changed'))
- break
- case 'indoorSceneSwitchControl':
- this.dispatchEvent(new P('onindoor_default_switch_mode_changed'))
- break
- case 'albumsControl':
- this.dispatchEvent(new P('onalbums_visible_changed'))
- break
- case 'albumsControlOptions':
- this.dispatchEvent(new P('onalbums_options_changed'))
- break
- case 'copyrightControlOptions':
- this.dispatchEvent(new P('oncopyright_options_changed'))
- break
- case 'closeControl':
- this.dispatchEvent(new P('onclose_options_changed'))
- break
- case 'indoorExitControl':
- this.dispatchEvent(new P('onindoorexit_options_changed'))
- break
- case 'indoorFloorControl':
- this.dispatchEvent(new P('onindoorfloor_options_changed'))
- }
- }
- },
- Ek: function () {
- this.Dl.style.visibility = 'hidden'
- },
- Ry: function () {
- this.Dl.style.visibility = 'visible'
- },
- cX: function () {
- this.j.enableScrollWheelZoom = q
- },
- NW: function () {
- this.j.enableScrollWheelZoom = t
- },
- show: function () {
- this.j.visible = q
- },
- U: function () {
- this.j.visible = t
- },
- er: function () {
- return Ua() && !H() && 'javascript' != this.j.panoramaRenderer
- ? 'flashRender'
- : !H() && Ob()
- ? 'cvsRender'
- : 'cssRender'
- },
- Ga: function (a) {
- this.Je[a.ld] = a
- },
- Qb: function (a) {
- delete this.Je[a]
- },
- kE: function () {
- return this.j.visible
- },
- fh: function () {
- return new O(this.C.clientWidth, this.C.clientHeight)
- },
- La: w('C'),
- yL: function () {
- var a = B.vg('baidumap', '?'),
- b = this.Xb()
- if (b) {
- var b = {
- panotype: this.ft(),
- heading: this.Ea().heading,
- pitch: this.Ea().pitch,
- pid: b,
- panoid: b,
- from: 'api'
- },
- c
- for (c in b) a += c + '=' + b[c] + '&'
- }
- return a.slice(0, -1)
- },
- Px: function () {
- this.Qk({
- copyrightControlOptions: {
- logoVisible: t
- }
- })
- },
- NF: function () {
- this.Qk({
- copyrightControlOptions: {
- logoVisible: q
- }
- })
- },
- aC: function (a) {
- function b(a, b) {
- return function () {
- a.xr.push({
- iN: b,
- hN: arguments
- })
- }
- }
- for (var c = a.getPanoMethodList(), e = '', f = 0, g = c.length; f < g; f++)
- (e = c[f]), (this[e] = b(this, e))
- this.Sg.push(a)
- },
- rF: function (a) {
- for (var b = this.Sg.length; b--; ) this.Sg[b] === a && this.Sg.splice(b, 1)
- },
- FF: u()
- })
- var ce = Oa.prototype
- T(ce, {
- setId: ce.vc,
- setPosition: ce.sa,
- setPov: ce.Pc,
- setZoom: ce.Qc,
- setOptions: ce.Qk,
- getId: ce.Xb,
- getPosition: ce.ga,
- getPov: ce.Ea,
- getZoom: ce.fa,
- getLinks: ce.OX,
- getBaiduMapUrl: ce.yL,
- hideMapLogo: ce.Px,
- showMapLogo: ce.NF,
- enableDoubleClickZoom: ce.W2,
- disableDoubleClickZoom: ce.J2,
- enableScrollWheelZoom: ce.cX,
- disableScrollWheelZoom: ce.NW,
- show: ce.show,
- hide: ce.U,
- addPlugin: ce.aC,
- removePlugin: ce.rF,
- getVisible: ce.kE,
- addOverlay: ce.Ga,
- removeOverlay: ce.Qb,
- getSceneType: ce.ft,
- setPanoramaPOIType: ce.au,
- exitInter: ce.Vo,
- setInteractiveState: ce.FF
- })
- T(window, {
- BMAP_PANORAMA_POI_HOTEL: 'hotel',
- BMAP_PANORAMA_POI_CATERING: 'catering',
- BMAP_PANORAMA_POI_MOVIE: 'movie',
- BMAP_PANORAMA_POI_TRANSIT: 'transit',
- BMAP_PANORAMA_POI_INDOOR_SCENE: 'indoor_scene',
- BMAP_PANORAMA_POI_NONE: 'none',
- BMAP_PANORAMA_INDOOR_SCENE: 'inter',
- BMAP_PANORAMA_STREET_SCENE: 'street'
- })
- function de() {
- z.lang.Ca.call(this)
- this.ld = 'PanoramaOverlay_' + this.aa
- this.P = s
- this.Qa = q
- }
- z.lang.ta(de, z.lang.Ca, 'PanoramaOverlayBase')
- z.extend(de.prototype, {
- E3: w('ld'),
- na: function () {
- aa('initialize\u65b9\u6cd5\u672a\u5b9e\u73b0')
- },
- remove: function () {
- aa('remove\u65b9\u6cd5\u672a\u5b9e\u73b0')
- },
- Nf: function () {
- aa('_setOverlayProperty\u65b9\u6cd5\u672a\u5b9e\u73b0')
- }
- })
- function ee(a, b) {
- de.call(this)
- var c = {
- position: s,
- altitude: 2,
- displayDistance: q
- },
- b = b || {},
- e
- for (e in b) c[e] = b[e]
- this.Lb = c.position
- this.Ij = a
- this.xq = c.altitude
- this.zR = c.displayDistance
- this.UF = c.color
- this.kM = c.hoverColor
- this.backgroundColor = c.backgroundColor
- this.jK = c.backgroundHoverColor
- this.borderColor = c.borderColor
- this.oK = c.borderHoverColor
- this.fontSize = c.fontSize
- this.padding = c.padding
- this.pE = c.imageUrl
- this.size = c.size
- this.xe = c.image
- this.width = c.width
- this.height = c.height
- this.HY = c.imageData
- this.borderWidth = c.borderWidth
- }
- z.lang.ta(ee, de, 'PanoramaLabel')
- z.extend(ee.prototype, {
- j3: w('borderWidth'),
- getImageData: w('HY'),
- zm: w('UF'),
- y3: w('kM'),
- f3: w('backgroundColor'),
- g3: w('jK'),
- h3: w('borderColor'),
- i3: w('oK'),
- w3: w('fontSize'),
- F3: w('padding'),
- z3: w('pE'),
- cb: w('size'),
- zx: w('xe'),
- sa: function (a) {
- this.Lb = a
- this.Nf('position', a)
- },
- ga: w('Lb'),
- dd: function (a) {
- this.Ij = a
- this.Nf('content', a)
- },
- xk: w('Ij'),
- AF: function (a) {
- this.xq = a
- this.Nf('altitude', a)
- },
- Yo: w('xq'),
- Ea: function () {
- var a = this.ga(),
- b = s,
- c = s
- this.P && (c = this.P.ga())
- if (a && c)
- if (a.pb(c)) b = this.P.Ea()
- else {
- b = {}
- b.heading = fe(a.lng - c.lng, a.lat - c.lat) || 0
- var a = b,
- c = this.Yo(),
- e = this.Xn()
- a.pitch = Math.round(180 * (Math.atan(c / e) / Math.PI)) || 0
- }
- return b
- },
- Xn: function () {
- var a = 0,
- b,
- c
- this.P && ((b = this.P.ga()), (c = this.ga()) && !c.pb(b) && (a = S.$o(b, c)))
- return a
- },
- U: function () {
- aa('hide\u65b9\u6cd5\u672a\u5b9e\u73b0')
- },
- show: function () {
- aa('show\u65b9\u6cd5\u672a\u5b9e\u73b0')
- },
- Nf: u()
- })
- var ge = ee.prototype
- T(ge, {
- setPosition: ge.sa,
- getPosition: ge.ga,
- setContent: ge.dd,
- getContent: ge.xk,
- setAltitude: ge.AF,
- getAltitude: ge.Yo,
- getPov: ge.Ea,
- show: ge.show,
- hide: ge.U
- })
- function he(a, b) {
- de.call(this)
- var c = {
- icon: '',
- title: '',
- panoInfo: s,
- altitude: 2
- },
- b = b || {},
- e
- for (e in b) c[e] = b[e]
- this.Lb = a
- this.gI = c.icon
- this.DJ = c.title
- this.xq = c.altitude
- this.OT = c.panoInfo
- this.Da = {
- heading: 0,
- pitch: 0
- }
- }
- z.lang.ta(he, de, 'PanoramaMarker')
- z.extend(he.prototype, {
- sa: function (a) {
- this.Lb = a
- this.Nf('position', a)
- },
- ga: w('Lb'),
- Ec: function (a) {
- this.DJ = a
- this.Nf('title', a)
- },
- gp: w('DJ'),
- Rb: function (a) {
- this.gI = icon
- this.Nf('icon', a)
- },
- ap: w('gI'),
- AF: function (a) {
- this.xq = a
- this.Nf('altitude', a)
- },
- Yo: w('xq'),
- $D: w('OT'),
- Ea: function () {
- var a = s
- if (this.P) {
- var a = this.P.ga(),
- b = this.ga(),
- a = fe(b.lng - a.lng, b.lat - a.lat)
- isNaN(a) && (a = 0)
- a = {
- heading: a,
- pitch: 0
- }
- } else a = this.Da
- return a
- },
- Nf: u()
- })
- var ie = he.prototype
- T(ie, {
- setPosition: ie.sa,
- getPosition: ie.ga,
- setTitle: ie.Ec,
- getTitle: ie.gp,
- setAltitude: ie.AF,
- getAltitude: ie.Yo,
- getPanoInfo: ie.$D,
- getIcon: ie.ap,
- setIcon: ie.Rb,
- getPov: ie.Ea
- })
- function fe(a, b) {
- var c = 0
- if (0 !== a && 0 !== b) {
- var c = 180 * (Math.atan(a / b) / Math.PI),
- e = 0
- 0 < a && 0 > b && (e = 90)
- 0 > a && 0 > b && (e = 180)
- 0 > a && 0 < b && (e = 270)
- c = ((c + 90) % 90) + e
- } else 0 === a ? (c = 0 > b ? 180 : 0) : 0 === b && (c = 0 < a ? 90 : 270)
- return Math.round(c)
- }
- function Na(a) {
- if ('boolean' === typeof je) return je
- if (a === t || !window.WebGLRenderingContext) return (je = t)
- if (z.platform.Jm) {
- a = 0
- try {
- a = navigator.userAgent.split('Android ')[1].charAt(0)
- } catch (b) {}
- if (5 > a) return (je = t)
- }
- var a = document.createElement('canvas'),
- c = s
- try {
- c = a.getContext('webgl')
- } catch (e) {
- je = t
- }
- return (je = c === s ? t : q)
- }
- var je
- function ke() {
- if ('boolean' === typeof le) return le
- le = q
- if (z.platform.zE) return q
- var a = navigator.userAgent
- return -1 < a.indexOf('Chrome') || -1 < a.indexOf('SAMSUNG-GT-I9508') ? q : (le = t)
- }
- var le
- function ec(a, b) {
- this.P = a || s
- var c = this
- c.P && c.ba()
- K.load('pservice', function () {
- c.SQ()
- })
- 'api' == (b || {}).of ? Ra(Fa) : Ra(Ga)
- this.xd = {
- getPanoramaById: [],
- getPanoramaByLocation: [],
- getVisiblePOIs: [],
- getRecommendPanosById: [],
- getPanoramaVersions: [],
- checkPanoSupportByCityCode: [],
- getPanoramaByPOIId: [],
- getCopyrightProviders: []
- }
- }
- B.Tm(function (a) {
- 'flashRender' !== a.er() &&
- new ec(a, {
- of: 'api'
- })
- })
- z.extend(ec.prototype, {
- ba: function () {
- function a(a) {
- if (a) {
- if (a.id != b.jw) {
- b.wO(a.id)
- b.ea = a
- ke() || b.dispatchEvent(new P('onthumbnail_complete'))
- b.Za != s && (b.vl = b._position)
- for (var c in a)
- if (a.hasOwnProperty(c))
- switch (((b['_' + c] = a[c]), c)) {
- case 'position':
- b.Lb = a[c]
- break
- case 'id':
- b.Za = a[c]
- break
- case 'links':
- b.bo = a[c]
- break
- case 'zoom':
- b.Mc = a[c]
- }
- if (b.vl) {
- var g = b.vl,
- i = b._position
- c = g.lat
- var k = i.lat,
- m = Pb(k - c),
- g = Pb(i.lng - g.lng)
- c =
- Math.sin(m / 2) * Math.sin(m / 2) +
- Math.cos(Pb(c)) * Math.cos(Pb(k)) * Math.sin(g / 2) * Math.sin(g / 2)
- b.wH = 6371e3 * 2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c))
- }
- c = new P('ondataload')
- c.data = a
- b.dispatchEvent(c)
- b.dispatchEvent(new P('onposition_changed'))
- b.dispatchEvent(new P('onlinks_changed'))
- b.dispatchEvent(new P('oncopyright_changed'), {
- copyright: a.copyright
- })
- a.bm && b.j.closeControl ? z.D.show(b.WR) : z.D.U(b.WR)
- }
- } else (b.Za = b.ul), (b.Lb = b.vl), b.dispatchEvent(new P('onnoresult'))
- }
- var b = this.P,
- c = this
- b.addEventListener('id_changed', function () {
- c.ep(b.Xb(), a)
- })
- b.addEventListener('iid_changed', function () {
- c.Tg(ec.el + 'qt=idata&iid=' + b.CA + '&fn=', function (b) {
- if (b && b.result && 0 == b.result.error) {
- var b = b.content[0].interinfo,
- f = {}
- f.bm = b.BreakID
- for (var g = b.Defaultfloor, i = s, k = 0; k < b.Floors.length; k++)
- if (b.Floors[k].Floor == g) {
- i = b.Floors[k]
- break
- }
- f.id = i.StartID || i.Points[0].PID
- c.ep(f.id, a, f)
- }
- })
- })
- b.addEventListener('position_changed_inner', function () {
- c.kj(b.ga(), a)
- })
- },
- ep: function (a, b) {
- this.xd.getPanoramaById.push(arguments)
- },
- kj: function (a, b, c) {
- this.xd.getPanoramaByLocation.push(arguments)
- },
- lE: function (a, b, c, e) {
- this.xd.getVisiblePOIs.push(arguments)
- },
- Kx: function (a, b) {
- this.xd.getRecommendPanosById.push(arguments)
- },
- Jx: function (a) {
- this.xd.getPanoramaVersions.push(arguments)
- },
- nC: function (a, b) {
- this.xd.checkPanoSupportByCityCode.push(arguments)
- },
- Ix: function (a, b) {
- this.xd.getPanoramaByPOIId.push(arguments)
- },
- CL: function (a) {
- this.xd.getCopyrightProviders.push(arguments)
- }
- })
- var ne = ec.prototype
- T(ne, {
- getPanoramaById: ne.ep,
- getPanoramaByLocation: ne.kj,
- getPanoramaByPOIId: ne.Ix
- })
- function dc(a) {
- Mc.call(this)
- 'api' == (a || {}).of ? Ra(Aa) : Ra(Ba)
- }
- dc.OG = B.vg('pano', 'tile/')
- dc.prototype = new Mc()
- dc.prototype.getTilesUrl = function (a, b) {
- var c = dc.OG[(a.x + a.y) % dc.OG.length] + '?udt=20150114&qt=tile&styles=pl&x=' + a.x + '&y=' + a.y + '&z=' + b
- z.ca.ia && 6 >= z.ca.ia && (c += '&color_dep=32')
- return c
- }
- dc.prototype.zt = ca(q)
- oe.Wd = new S()
- function oe() {}
- z.extend(oe, {
- OW: function (a, b, c) {
- c = z.lang.Nc(c)
- b = {
- data: b
- }
- 'position_changed' == a && (b.data = oe.Wd.xj(new Q(b.data.mercatorX, b.data.mercatorY)))
- c.dispatchEvent(new P('on' + a), b)
- }
- })
- var pe = oe
- T(pe, {
- dispatchFlashEvent: pe.OW
- })
- var qe = {
- KP: 50
- }
- qe.Ou = B.vg('pano')[0]
- qe.Mu = {
- width: 220,
- height: 60
- }
- z.extend(qe, {
- tM: function (a, b, c, e) {
- if (!b || !c || !c.lngLat || !c.panoInstance) e()
- else {
- this.jo === l &&
- (this.jo = new ec(s, {
- of: 'api'
- }))
- var f = this
- this.jo.nC(b, function (b) {
- b
- ? f.jo.kj(c.lngLat, qe.KP, function (b) {
- if (b && b.id) {
- var g = b.id,
- m = b.rh,
- b = b.th,
- n = ec.Wd.kh(c.lngLat),
- o = f.AS(n, {
- x: m,
- y: b
- }),
- m = f.PL(g, o, 0, qe.Mu.width, qe.Mu.height)
- a.content = f.BS(a.content, m, c.titleTip, c.beforeDomId)
- a.addEventListener('open', function () {
- ia.M(z.Fc('infoWndPano'), 'click', function () {
- c.panoInstance.vc(g)
- c.panoInstance.show()
- c.panoInstance.Pc({
- heading: o,
- pitch: 0
- })
- })
- })
- }
- e()
- })
- : e()
- })
- }
- },
- BS: function (a, b, c, e) {
- var c = c || '',
- f
- !e || !a.split(e)[0]
- ? ((e = a), (a = ''))
- : ((e = a.split(e)[0]), (f = e.lastIndexOf('<')), (e = a.substring(0, f)), (a = a.substring(f)))
- f = []
- var g = qe.Mu.width,
- i = qe.Mu.height
- f.push(e)
- f.push(
- "')
- f.push(a)
- return f.join('')
- },
- AS: function (a, b) {
- var c = 90 - (180 * Math.atan2(a.y - b.y, a.x - b.x)) / Math.PI
- 0 > c && (c += 360)
- return c
- },
- PL: function (a, b, c, e, f) {
- var g = {
- panoId: a,
- panoHeading: b || 0,
- panoPitch: c || 0,
- width: e,
- height: f
- }
- return (
- qe.Ou +
- '?qt=pr3d&fovy=75&quality=80&panoid={panoId}&heading={panoHeading}&pitch={panoPitch}&width={width}&height={height}'
- ).replace(/\{(.*?)\}/g, function (a, b) {
- return g[b]
- })
- }
- })
- var te = document,
- ue = Math,
- ve = te.createElement('div').style,
- we
- a: {
- for (var xe = ['t', 'webkitT', 'MozT', 'msT', 'OT'], ye, ze = 0, Ae = xe.length; ze < Ae; ze++)
- if (((ye = xe[ze] + 'ransform'), ye in ve)) {
- we = xe[ze].substr(0, xe[ze].length - 1)
- break a
- }
- we = t
- }
- var Be = we ? '-' + we.toLowerCase() + '-' : '',
- De = Ce('transform'),
- Ee = Ce('transitionProperty'),
- Fe = Ce('transitionDuration'),
- Ge = Ce('transformOrigin'),
- He = Ce('transitionTimingFunction'),
- Ie = Ce('transitionDelay'),
- Sd = /android/gi.test(navigator.appVersion),
- Je = /iphone|ipad/gi.test(navigator.appVersion),
- Ke = /hp-tablet/gi.test(navigator.appVersion),
- Le = Ce('perspective') in ve,
- Me = 'ontouchstart' in window && !Ke,
- Ne = we !== t,
- Oe = Ce('transition') in ve,
- Pe = 'onorientationchange' in window ? 'orientationchange' : 'resize',
- Qe = Me ? 'touchstart' : 'mousedown',
- Re = Me ? 'touchmove' : 'mousemove',
- Se = Me ? 'touchend' : 'mouseup',
- Te = Me ? 'touchcancel' : 'mouseup',
- Ue =
- we === t
- ? t
- : {
- '': 'transitionend',
- webkit: 'webkitTransitionEnd',
- Moz: 'transitionend',
- O: 'otransitionend',
- ms: 'MSTransitionEnd'
- }[we],
- Ve =
- window.requestAnimationFrame ||
- window.webkitRequestAnimationFrame ||
- window.mozRequestAnimationFrame ||
- window.oRequestAnimationFrame ||
- window.msRequestAnimationFrame ||
- function (a) {
- return setTimeout(a, 1)
- },
- We =
- window.cancelRequestAnimationFrame ||
- window.U5 ||
- window.webkitCancelRequestAnimationFrame ||
- window.mozCancelRequestAnimationFrame ||
- window.oCancelRequestAnimationFrame ||
- window.msCancelRequestAnimationFrame ||
- clearTimeout,
- Xe = Le ? ' translateZ(0)' : ''
- function Ye(a, b) {
- var c = this,
- e
- c.zn = 'object' == typeof a ? a : te.getElementById(a)
- c.zn.style.overflow = 'hidden'
- c.Nb = c.zn.children[0]
- c.options = {
- kp: q,
- xn: q,
- x: 0,
- y: 0,
- Go: q,
- LV: t,
- iy: q,
- OE: q,
- Yk: q,
- wi: t,
- n0: 0,
- Pw: t,
- Mx: q,
- ii: q,
- xi: q,
- AD: Sd,
- Qx: Je,
- kX: Je && Le,
- xF: '',
- zoom: t,
- $k: 1,
- aq: 4,
- QW: 2,
- qP: 'scroll',
- iu: t,
- Uy: 1,
- CN: s,
- uN: function (a) {
- a.preventDefault()
- },
- FN: s,
- tN: s,
- EN: s,
- sN: s,
- oy: s,
- GN: s,
- xN: s,
- zp: s,
- HN: s,
- yp: s
- }
- for (e in b) c.options[e] = b[e]
- c.x = c.options.x
- c.y = c.options.y
- c.options.Yk = Ne && c.options.Yk
- c.options.ii = c.options.kp && c.options.ii
- c.options.xi = c.options.xn && c.options.xi
- c.options.zoom = c.options.Yk && c.options.zoom
- c.options.wi = Oe && c.options.wi
- c.options.zoom && Sd && (Xe = '')
- c.Nb.style[Ee] = c.options.Yk ? Be + 'transform' : 'top left'
- c.Nb.style[Fe] = '0'
- c.Nb.style[Ge] = '0 0'
- c.options.wi && (c.Nb.style[He] = 'cubic-bezier(0.33,0.66,0.66,1)')
- c.options.Yk
- ? (c.Nb.style[De] = 'translate(' + c.x + 'px,' + c.y + 'px)' + Xe)
- : (c.Nb.style.cssText += ';position:absolute;top:' + c.y + 'px;left:' + c.x + 'px')
- c.options.wi && (c.options.AD = q)
- c.refresh()
- c.ba(Pe, window)
- c.ba(Qe)
- !Me && 'none' != c.options.qP && (c.ba('DOMMouseScroll'), c.ba('mousewheel'))
- c.options.Pw &&
- (c.XV = setInterval(function () {
- c.PQ()
- }, 500))
- this.options.Mx &&
- (Event.prototype.stopImmediatePropagation ||
- ((document.body.removeEventListener = function (a, b, c) {
- var e = Node.prototype.removeEventListener
- a === 'click' ? e.call(document.body, a, b.iM || b, c) : e.call(document.body, a, b, c)
- }),
- (document.body.addEventListener = function (a, b, c) {
- var e = Node.prototype.addEventListener
- a === 'click'
- ? e.call(
- document.body,
- a,
- b.iM ||
- (b.iM = function (a) {
- a.RZ || b(a)
- }),
- c
- )
- : e.call(document.body, a, b, c)
- })),
- c.ba('click', document.body, q))
- }
- Ye.prototype = {
- enabled: q,
- x: 0,
- y: 0,
- yj: [],
- scale: 1,
- HC: 0,
- IC: 0,
- We: [],
- wf: [],
- fC: s,
- cz: 0,
- handleEvent: function (a) {
- switch (a.type) {
- case Qe:
- if (!Me && 0 !== a.button) break
- this.aw(a)
- break
- case Re:
- this.zT(a)
- break
- case Se:
- case Te:
- this.lv(a)
- break
- case Pe:
- this.zB()
- break
- case 'DOMMouseScroll':
- case 'mousewheel':
- this.eV(a)
- break
- case Ue:
- this.$U(a)
- break
- case 'click':
- this.$Q(a)
- }
- },
- PQ: function () {
- !this.oh &&
- !this.al &&
- !(
- this.Yl ||
- (this.Ky == this.Nb.offsetWidth * this.scale && this.Ip == this.Nb.offsetHeight * this.scale)
- ) &&
- this.refresh()
- },
- Sv: function (a) {
- var b
- this[a + 'Scrollbar']
- ? (this[a + 'ScrollbarWrapper'] ||
- ((b = te.createElement('div')),
- this.options.xF
- ? (b.className = this.options.xF + a.toUpperCase())
- : (b.style.cssText =
- 'position:absolute;z-index:100;' +
- ('h' == a
- ? 'height:7px;bottom:1px;left:2px;right:' + (this.xi ? '7' : '2') + 'px'
- : 'width:7px;bottom:' + (this.ii ? '7' : '2') + 'px;top:2px;right:1px')),
- (b.style.cssText +=
- ';pointer-events:none;' +
- Be +
- 'transition-property:opacity;' +
- Be +
- 'transition-duration:' +
- (this.options.kX ? '350ms' : '0') +
- ';overflow:hidden;opacity:' +
- (this.options.Qx ? '0' : '1')),
- this.zn.appendChild(b),
- (this[a + 'ScrollbarWrapper'] = b),
- (b = te.createElement('div')),
- this.options.xF ||
- (b.style.cssText =
- 'position:absolute;z-index:100;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);' +
- Be +
- 'background-clip:padding-box;' +
- Be +
- 'box-sizing:border-box;' +
- ('h' == a ? 'height:100%' : 'width:100%') +
- ';' +
- Be +
- 'border-radius:3px;border-radius:3px'),
- (b.style.cssText +=
- ';pointer-events:none;' +
- Be +
- 'transition-property:' +
- Be +
- 'transform;' +
- Be +
- 'transition-timing-function:cubic-bezier(0.33,0.66,0.66,1);' +
- Be +
- 'transition-duration:0;' +
- Be +
- 'transform: translate(0,0)' +
- Xe),
- this.options.wi &&
- (b.style.cssText += ';' + Be + 'transition-timing-function:cubic-bezier(0.33,0.66,0.66,1)'),
- this[a + 'ScrollbarWrapper'].appendChild(b),
- (this[a + 'ScrollbarIndicator'] = b)),
- 'h' == a
- ? ((this.fM = this.gM.clientWidth),
- (this.yY = ue.max(ue.round((this.fM * this.fM) / this.Ky), 8)),
- (this.xY.style.width = this.yY + 'px'))
- : ((this.iP = this.jP.clientHeight),
- (this.L0 = ue.max(ue.round((this.iP * this.iP) / this.Ip), 8)),
- (this.K0.style.height = this.L0 + 'px')),
- this.AB(a, q))
- : this[a + 'ScrollbarWrapper'] &&
- (Ne && (this[a + 'ScrollbarIndicator'].style[De] = ''),
- this[a + 'ScrollbarWrapper'].parentNode.removeChild(this[a + 'ScrollbarWrapper']),
- (this[a + 'ScrollbarWrapper'] = s),
- (this[a + 'ScrollbarIndicator'] = s))
- },
- zB: function () {
- var a = this
- setTimeout(
- function () {
- a.refresh()
- },
- Sd ? 200 : 0
- )
- },
- Ar: function (a, b) {
- this.al ||
- ((a = this.kp ? a : 0),
- (b = this.xn ? b : 0),
- this.options.Yk
- ? (this.Nb.style[De] = 'translate(' + a + 'px,' + b + 'px) scale(' + this.scale + ')' + Xe)
- : ((a = ue.round(a)),
- (b = ue.round(b)),
- (this.Nb.style.left = a + 'px'),
- (this.Nb.style.top = b + 'px')),
- (this.x = a),
- (this.y = b),
- this.AB('h'),
- this.AB('v'))
- },
- AB: function (a, b) {
- var c = 'h' == a ? this.x : this.y
- this[a + 'Scrollbar'] &&
- ((c *= this[a + 'ScrollbarProp']),
- 0 > c
- ? (this.options.AD ||
- ((c = this[a + 'ScrollbarIndicatorSize'] + ue.round(3 * c)),
- 8 > c && (c = 8),
- (this[a + 'ScrollbarIndicator'].style['h' == a ? 'width' : 'height'] = c + 'px')),
- (c = 0))
- : c > this[a + 'ScrollbarMaxScroll'] &&
- (this.options.AD
- ? (c = this[a + 'ScrollbarMaxScroll'])
- : ((c =
- this[a + 'ScrollbarIndicatorSize'] -
- ue.round(3 * (c - this[a + 'ScrollbarMaxScroll']))),
- 8 > c && (c = 8),
- (this[a + 'ScrollbarIndicator'].style['h' == a ? 'width' : 'height'] = c + 'px'),
- (c = this[a + 'ScrollbarMaxScroll'] + (this[a + 'ScrollbarIndicatorSize'] - c)))),
- (this[a + 'ScrollbarWrapper'].style[Ie] = '0'),
- (this[a + 'ScrollbarWrapper'].style.opacity = b && this.options.Qx ? '0' : '1'),
- (this[a + 'ScrollbarIndicator'].style[De] =
- 'translate(' + ('h' == a ? c + 'px,0)' : '0,' + c + 'px)') + Xe))
- },
- $Q: function (a) {
- if (a.XR === q) return (this.YB = a.target), (this.sx = Date.now()), q
- if (this.YB && this.sx) {
- if (600 < Date.now() - this.sx) return (this.sx = this.YB = s), q
- } else {
- for (var b = a.target; b != this.Nb && b != document.body; ) b = b.parentNode
- if (b == document.body) return q
- }
- for (b = a.target; 1 != b.nodeType; ) b = b.parentNode
- b = b.tagName.toLowerCase()
- if ('select' != b && 'input' != b && 'textarea' != b)
- return (
- a.stopImmediatePropagation ? a.stopImmediatePropagation() : (a.RZ = q),
- a.stopPropagation(),
- a.preventDefault(),
- (this.sx = this.YB = s),
- t
- )
- },
- aw: function (a) {
- var b = Me ? a.touches[0] : a,
- c,
- e
- if (this.enabled) {
- this.options.uN && this.options.uN.call(this, a)
- ;(this.options.wi || this.options.zoom) && this.FJ(0)
- this.al = this.Yl = this.oh = t
- this.RC = this.QC = this.vw = this.uw = this.XC = this.WC = 0
- this.options.zoom &&
- Me &&
- 1 < a.touches.length &&
- ((e = ue.abs(a.touches[0].pageX - a.touches[1].pageX)),
- (c = ue.abs(a.touches[0].pageY - a.touches[1].pageY)),
- (this.p0 = ue.sqrt(e * e + c * c)),
- (this.qy = ue.abs(a.touches[0].pageX + a.touches[1].pageX - 2 * this.iG) / 2 - this.x),
- (this.ty = ue.abs(a.touches[0].pageY + a.touches[1].pageY - 2 * this.jG) / 2 - this.y),
- this.options.zp && this.options.zp.call(this, a))
- if (
- this.options.iy &&
- (this.options.Yk
- ? ((c = getComputedStyle(this.Nb, s)
- [De].replace(/[^0-9\-.,]/g, '')
- .split(',')),
- (e = +(c[12] || c[4])),
- (c = +(c[13] || c[5])))
- : ((e = +getComputedStyle(this.Nb, s).left.replace(/[^0-9-]/g, '')),
- (c = +getComputedStyle(this.Nb, s).top.replace(/[^0-9-]/g, ''))),
- e != this.x || c != this.y)
- )
- this.options.wi ? this.$d(Ue) : We(this.fC),
- (this.yj = []),
- this.Ar(e, c),
- this.options.oy && this.options.oy.call(this)
- this.ww = this.x
- this.xw = this.y
- this.lu = this.x
- this.mu = this.y
- this.rh = b.pageX
- this.th = b.pageY
- this.startTime = a.timeStamp || Date.now()
- this.options.FN && this.options.FN.call(this, a)
- this.ba(Re, window)
- this.ba(Se, window)
- this.ba(Te, window)
- }
- },
- zT: function (a) {
- var b = Me ? a.touches[0] : a,
- c = b.pageX - this.rh,
- e = b.pageY - this.th,
- f = this.x + c,
- g = this.y + e,
- i = a.timeStamp || Date.now()
- this.options.tN && this.options.tN.call(this, a)
- if (this.options.zoom && Me && 1 < a.touches.length)
- (f = ue.abs(a.touches[0].pageX - a.touches[1].pageX)),
- (g = ue.abs(a.touches[0].pageY - a.touches[1].pageY)),
- (this.o0 = ue.sqrt(f * f + g * g)),
- (this.al = q),
- (b = (1 / this.p0) * this.o0 * this.scale),
- b < this.options.$k
- ? (b = 0.5 * this.options.$k * Math.pow(2, b / this.options.$k))
- : b > this.options.aq && (b = 2 * this.options.aq * Math.pow(0.5, this.options.aq / b)),
- (this.rp = b / this.scale),
- (f = this.qy - this.qy * this.rp + this.x),
- (g = this.ty - this.ty * this.rp + this.y),
- (this.Nb.style[De] = 'translate(' + f + 'px,' + g + 'px) scale(' + b + ')' + Xe),
- this.options.HN && this.options.HN.call(this, a)
- else {
- this.rh = b.pageX
- this.th = b.pageY
- if (0 < f || f < this.he) f = this.options.Go ? this.x + c / 2 : 0 <= f || 0 <= this.he ? 0 : this.he
- if (g > this.sf || g < this.qd)
- g = this.options.Go ? this.y + e / 2 : g >= this.sf || 0 <= this.qd ? this.sf : this.qd
- this.WC += c
- this.XC += e
- this.uw = ue.abs(this.WC)
- this.vw = ue.abs(this.XC)
- ;(6 > this.uw && 6 > this.vw) ||
- (this.options.OE &&
- (this.uw > this.vw + 5
- ? ((g = this.y), (e = 0))
- : this.vw > this.uw + 5 && ((f = this.x), (c = 0))),
- (this.oh = q),
- this.Ar(f, g),
- (this.QC = 0 < c ? -1 : 0 > c ? 1 : 0),
- (this.RC = 0 < e ? -1 : 0 > e ? 1 : 0),
- 300 < i - this.startTime && ((this.startTime = i), (this.lu = this.x), (this.mu = this.y)),
- this.options.EN && this.options.EN.call(this, a))
- }
- },
- lv: function (a) {
- if (!(Me && 0 !== a.touches.length)) {
- var b = this,
- c = Me ? a.changedTouches[0] : a,
- e,
- f,
- g = {
- Ba: 0,
- time: 0
- },
- i = {
- Ba: 0,
- time: 0
- },
- k = (a.timeStamp || Date.now()) - b.startTime
- e = b.x
- f = b.y
- b.$d(Re, window)
- b.$d(Se, window)
- b.$d(Te, window)
- b.options.sN && b.options.sN.call(b, a)
- if (b.al)
- (e = b.scale * b.rp),
- (e = Math.max(b.options.$k, e)),
- (e = Math.min(b.options.aq, e)),
- (b.rp = e / b.scale),
- (b.scale = e),
- (b.x = b.qy - b.qy * b.rp + b.x),
- (b.y = b.ty - b.ty * b.rp + b.y),
- (b.Nb.style[Fe] = '200ms'),
- (b.Nb.style[De] = 'translate(' + b.x + 'px,' + b.y + 'px) scale(' + b.scale + ')' + Xe),
- (b.al = t),
- b.refresh(),
- b.options.yp && b.options.yp.call(b, a)
- else {
- if (b.oh) {
- if (300 > k && b.options.iy) {
- g = e ? b.BI(e - b.lu, k, -b.x, b.Ky - b.Cu + b.x, b.options.Go ? b.Cu : 0) : g
- i = f
- ? b.BI(
- f - b.mu,
- k,
- -b.y,
- 0 > b.qd ? b.Ip - b.An + b.y - b.sf : 0,
- b.options.Go ? b.An : 0
- )
- : i
- e = b.x + g.Ba
- f = b.y + i.Ba
- if ((0 < b.x && 0 < e) || (b.x < b.he && e < b.he))
- g = {
- Ba: 0,
- time: 0
- }
- if ((b.y > b.sf && f > b.sf) || (b.y < b.qd && f < b.qd))
- i = {
- Ba: 0,
- time: 0
- }
- }
- g.Ba || i.Ba
- ? ((c = ue.max(ue.max(g.time, i.time), 10)),
- b.options.iu &&
- ((g = e - b.ww),
- (i = f - b.xw),
- ue.abs(g) < b.options.Uy && ue.abs(i) < b.options.Uy
- ? b.scrollTo(b.ww, b.xw, 200)
- : ((g = b.vJ(e, f)), (e = g.x), (f = g.y), (c = ue.max(g.time, c)))),
- b.scrollTo(ue.round(e), ue.round(f), c))
- : b.options.iu
- ? ((g = e - b.ww),
- (i = f - b.xw),
- ue.abs(g) < b.options.Uy && ue.abs(i) < b.options.Uy
- ? b.scrollTo(b.ww, b.xw, 200)
- : ((g = b.vJ(b.x, b.y)), (g.x != b.x || g.y != b.y) && b.scrollTo(g.x, g.y, g.time)))
- : b.lo(200)
- } else {
- if (Me)
- if (b.VK && b.options.zoom)
- clearTimeout(b.VK),
- (b.VK = s),
- b.options.zp && b.options.zp.call(b, a),
- b.zoom(b.rh, b.th, 1 == b.scale ? b.options.QW : 1),
- b.options.yp &&
- setTimeout(function () {
- b.options.yp.call(b, a)
- }, 200)
- else if (this.options.Mx) {
- for (e = c.target; 1 != e.nodeType; ) e = e.parentNode
- f = e.tagName.toLowerCase()
- 'select' != f && 'input' != f && 'textarea' != f
- ? ((f = te.createEvent('MouseEvents')),
- f.initMouseEvent(
- 'click',
- q,
- q,
- a.view,
- 1,
- c.screenX,
- c.screenY,
- c.clientX,
- c.clientY,
- a.ctrlKey,
- a.altKey,
- a.shiftKey,
- a.metaKey,
- 0,
- s
- ),
- (f.XR = q),
- e.dispatchEvent(f))
- : e.focus()
- }
- b.lo(400)
- }
- b.options.GN && b.options.GN.call(b, a)
- }
- }
- },
- lo: function (a) {
- var b = 0 <= this.x ? 0 : this.x < this.he ? this.he : this.x,
- c = this.y >= this.sf || 0 < this.qd ? this.sf : this.y < this.qd ? this.qd : this.y
- if (b == this.x && c == this.y) {
- if (
- (this.oh && ((this.oh = t), this.options.oy && this.options.oy.call(this)),
- this.ii &&
- this.options.Qx &&
- ('webkit' == we && (this.gM.style[Ie] = '300ms'), (this.gM.style.opacity = '0')),
- this.xi && this.options.Qx)
- )
- 'webkit' == we && (this.jP.style[Ie] = '300ms'), (this.jP.style.opacity = '0')
- } else this.scrollTo(b, c, a || 0)
- },
- eV: function (a) {
- var b = this,
- c,
- e
- if ('wheelDeltaX' in a) (c = a.wheelDeltaX / 12), (e = a.wheelDeltaY / 12)
- else if ('wheelDelta' in a) c = e = a.wheelDelta / 12
- else if ('detail' in a) c = e = 3 * -a.detail
- else return
- if ('zoom' == b.options.qP) {
- if (
- ((e = b.scale * Math.pow(2, (1 / 3) * (e ? e / Math.abs(e) : 0))),
- e < b.options.$k && (e = b.options.$k),
- e > b.options.aq && (e = b.options.aq),
- e != b.scale)
- )
- !b.cz && b.options.zp && b.options.zp.call(b, a),
- b.cz++,
- b.zoom(a.pageX, a.pageY, e, 400),
- setTimeout(function () {
- b.cz--
- !b.cz && b.options.yp && b.options.yp.call(b, a)
- }, 400)
- } else
- (c = b.x + c),
- (e = b.y + e),
- 0 < c ? (c = 0) : c < b.he && (c = b.he),
- e > b.sf ? (e = b.sf) : e < b.qd && (e = b.qd),
- 0 > b.qd && b.scrollTo(c, e, 0)
- },
- $U: function (a) {
- a.target == this.Nb && (this.$d(Ue), this.MB())
- },
- MB: function () {
- var a = this,
- b = a.x,
- c = a.y,
- e = Date.now(),
- f,
- g,
- i
- a.Yl ||
- (a.yj.length
- ? ((f = a.yj.shift()), f.x == b && f.y == c && (f.time = 0), (a.Yl = q), (a.oh = q), a.options.wi)
- ? (a.FJ(f.time), a.Ar(f.x, f.y), (a.Yl = t), f.time ? a.ba(Ue) : a.lo(0))
- : ((i = function () {
- var k = Date.now(),
- m
- if (k >= e + f.time) {
- a.Ar(f.x, f.y)
- a.Yl = t
- a.options.zZ && a.options.zZ.call(a)
- a.MB()
- } else {
- k = (k - e) / f.time - 1
- g = ue.sqrt(1 - k * k)
- k = (f.x - b) * g + b
- m = (f.y - c) * g + c
- a.Ar(k, m)
- if (a.Yl) a.fC = Ve(i)
- }
- }),
- i())
- : a.lo(400))
- },
- FJ: function (a) {
- a += 'ms'
- this.Nb.style[Fe] = a
- this.ii && (this.xY.style[Fe] = a)
- this.xi && (this.K0.style[Fe] = a)
- },
- BI: function (a, b, c, e, f) {
- var b = ue.abs(a) / b,
- g = (b * b) / 0.0012
- 0 < a && g > c
- ? ((c += f / (6 / (6.0e-4 * (g / b)))), (b = (b * c) / g), (g = c))
- : 0 > a && g > e && ((e += f / (6 / (6.0e-4 * (g / b)))), (b = (b * e) / g), (g = e))
- return {
- Ba: g * (0 > a ? -1 : 1),
- time: ue.round(b / 6.0e-4)
- }
- },
- Zj: function (a) {
- for (var b = -a.offsetLeft, c = -a.offsetTop; (a = a.offsetParent); )
- (b -= a.offsetLeft), (c -= a.offsetTop)
- a != this.zn && ((b *= this.scale), (c *= this.scale))
- return {
- left: b,
- top: c
- }
- },
- vJ: function (a, b) {
- var c, e, f
- f = this.We.length - 1
- c = 0
- for (e = this.We.length; c < e; c++)
- if (a >= this.We[c]) {
- f = c
- break
- }
- f == this.HC && 0 < f && 0 > this.QC && f--
- a = this.We[f]
- e = (e = ue.abs(a - this.We[this.HC])) ? 500 * (ue.abs(this.x - a) / e) : 0
- this.HC = f
- f = this.wf.length - 1
- for (c = 0; c < f; c++)
- if (b >= this.wf[c]) {
- f = c
- break
- }
- f == this.IC && 0 < f && 0 > this.RC && f--
- b = this.wf[f]
- c = (c = ue.abs(b - this.wf[this.IC])) ? 500 * (ue.abs(this.y - b) / c) : 0
- this.IC = f
- f = ue.round(ue.max(e, c)) || 200
- return {
- x: a,
- y: b,
- time: f
- }
- },
- ba: function (a, b, c) {
- ;(b || this.Nb).addEventListener(a, this, !!c)
- },
- $d: function (a, b, c) {
- ;(b || this.Nb).removeEventListener(a, this, !!c)
- },
- NC: ga(2),
- refresh: function () {
- var a,
- b,
- c,
- e = 0
- b = 0
- this.scale < this.options.$k && (this.scale = this.options.$k)
- this.Cu = this.zn.clientWidth || 1
- this.An = this.zn.clientHeight || 1
- this.sf = -this.options.n0 || 0
- this.Ky = ue.round(this.Nb.offsetWidth * this.scale)
- this.Ip = ue.round((this.Nb.offsetHeight + this.sf) * this.scale)
- this.he = this.Cu - this.Ky
- this.qd = this.An - this.Ip + this.sf
- this.RC = this.QC = 0
- this.options.CN && this.options.CN.call(this)
- this.kp = this.options.kp && 0 > this.he
- this.xn = this.options.xn && ((!this.options.LV && !this.kp) || this.Ip > this.An)
- this.ii = this.kp && this.options.ii
- this.xi = this.xn && this.options.xi && this.Ip > this.An
- a = this.Zj(this.zn)
- this.iG = -a.left
- this.jG = -a.top
- if ('string' == typeof this.options.iu) {
- this.We = []
- this.wf = []
- c = this.Nb.querySelectorAll(this.options.iu)
- a = 0
- for (b = c.length; a < b; a++)
- (e = this.Zj(c[a])),
- (e.left += this.iG),
- (e.top += this.jG),
- (this.We[a] = e.left < this.he ? this.he : e.left * this.scale),
- (this.wf[a] = e.top < this.qd ? this.qd : e.top * this.scale)
- } else if (this.options.iu) {
- for (this.We = []; e >= this.he; ) (this.We[b] = e), (e -= this.Cu), b++
- this.he % this.Cu &&
- (this.We[this.We.length] = this.he - this.We[this.We.length - 1] + this.We[this.We.length - 1])
- b = e = 0
- for (this.wf = []; e >= this.qd; ) (this.wf[b] = e), (e -= this.An), b++
- this.qd % this.An &&
- (this.wf[this.wf.length] = this.qd - this.wf[this.wf.length - 1] + this.wf[this.wf.length - 1])
- }
- this.Sv('h')
- this.Sv('v')
- this.al || ((this.Nb.style[Fe] = '0'), this.lo(400))
- },
- scrollTo: function (a, b, c, e) {
- var f = a
- this.stop()
- f.length ||
- (f = [
- {
- x: a,
- y: b,
- time: c,
- TZ: e
- }
- ])
- a = 0
- for (b = f.length; a < b; a++)
- f[a].TZ && ((f[a].x = this.x - f[a].x), (f[a].y = this.y - f[a].y)),
- this.yj.push({
- x: f[a].x,
- y: f[a].y,
- time: f[a].time || 0
- })
- this.MB()
- },
- disable: function () {
- this.stop()
- this.lo(0)
- this.enabled = t
- this.$d(Re, window)
- this.$d(Se, window)
- this.$d(Te, window)
- },
- enable: function () {
- this.enabled = q
- },
- stop: function () {
- this.options.wi ? this.$d(Ue) : We(this.fC)
- this.yj = []
- this.Yl = this.oh = t
- },
- zoom: function (a, b, c, e) {
- var f = c / this.scale
- this.options.Yk &&
- ((this.al = q),
- (e = e === l ? 200 : e),
- (a = a - this.iG - this.x),
- (b = b - this.jG - this.y),
- (this.x = a - a * f + this.x),
- (this.y = b - b * f + this.y),
- (this.scale = c),
- this.refresh(),
- (this.x = 0 < this.x ? 0 : this.x < this.he ? this.he : this.x),
- (this.y = this.y > this.sf ? this.sf : this.y < this.qd ? this.qd : this.y),
- (this.Nb.style[Fe] = e + 'ms'),
- (this.Nb.style[De] = 'translate(' + this.x + 'px,' + this.y + 'px) scale(' + c + ')' + Xe),
- (this.al = t))
- }
- }
- function Ce(a) {
- if ('' === we) return a
- a = a.charAt(0).toUpperCase() + a.substr(1)
- return we + a
- }
- ve = s
- function Ze(a) {
- this.j = {
- anchor: Yb,
- offset: new O(0, 0),
- maxWidth: '100%',
- imageHeight: 80
- }
- var a = a || {},
- b
- for (b in a) this.j[b] = a[b]
- this.Ll = new ec(s, {
- of: 'api'
- })
- this.bk = []
- this.P = s
- this.ig = {
- height: this.j.imageHeight,
- width: this.j.imageHeight * $e
- }
- this.Rc = this.BB = this.bm = this.Zc = s
- }
- var af = [0, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 5, 5, 5, 6, 6, 7, 8, 8, 8, 9, 10],
- bf =
- '\u5176\u4ed6 \u6b63\u95e8 \u623f\u578b \u8bbe\u65bd \u6b63\u95e8 \u9910\u996e\u8bbe\u65bd \u5176\u4ed6\u8bbe\u65bd \u6b63\u95e8 \u8bbe\u65bd \u89c2\u5f71\u5385 \u5176\u4ed6\u8bbe\u65bd'.split(
- ' '
- )
- B.Tm(function (a) {
- var b = s
- a.addEventListener('position_changed', function () {
- a.j.visible &&
- a.j.albumsControl === q &&
- (b ? b.Ey(a.Xb()) : ((b = new Ze(a.j.albumsControlOptions)), b.na(a)))
- })
- a.addEventListener('albums_visible_changed', function () {
- a.j.albumsControl === q
- ? (b ? b.Ey(a.Xb()) : ((b = new Ze(a.j.albumsControlOptions)), b.na(a)), b.show())
- : b.U()
- })
- a.addEventListener('albums_options_changed', function () {
- b && b.Qk(a.j.albumsControlOptions)
- })
- a.addEventListener('visible_changed', function () {
- b &&
- (a.kE()
- ? a.j.albumsControl === q && (b.C.style.visibility = 'visible')
- : (b.C.style.visibility = 'hidden'))
- })
- })
- var $e = 1.8
- H() && ($e = 1)
- z.extend(Ze.prototype, {
- Qk: function (a) {
- for (var b in a) this.j[b] = a[b]
- a = this.j.imageHeight + 'px'
- this.uc(this.j.anchor)
- this.C.style.width = isNaN(Number(this.j.maxWidth)) === q ? this.j.maxWidth : this.j.maxWidth + 'px'
- this.C.style.height = a
- this.gk.style.height = a
- this.Rh.style.height = a
- this.ig = {
- height: this.j.imageHeight,
- width: this.j.imageHeight * $e
- }
- this.fk.style.height = this.ig.height - 6 + 'px'
- this.fk.style.width = this.ig.width - 6 + 'px'
- this.Ey(this.P.Xb(), q)
- },
- na: function (a) {
- this.P = a
- this.ls()
- this.yQ()
- this.OY()
- this.Ey(a.Xb())
- },
- ls: function () {
- var a = this.j.imageHeight + 'px'
- this.C = L('div')
- var b = this.C.style
- b.cssText = 'background:rgb(37,37,37);background:rgba(37,37,37,0.9);'
- b.position = 'absolute'
- b.zIndex = '2000'
- b.width = isNaN(Number(this.j.maxWidth)) === q ? this.j.maxWidth : this.j.maxWidth + 'px'
- b.padding = '8px 0'
- b.visibility = 'hidden'
- b.height = a
- this.gk = L('div')
- b = this.gk.style
- b.position = 'absolute'
- b.overflow = 'hidden'
- b.width = '100%'
- b.height = a
- this.Rh = L('div')
- b = this.Rh.style
- b.height = a
- this.gk.appendChild(this.Rh)
- this.C.appendChild(this.gk)
- this.P.C.appendChild(this.C)
- this.fk = L('div', {
- class: 'pano_photo_item_seleted'
- })
- this.fk.style.height = this.ig.height - 6 + 'px'
- this.fk.style.width = this.ig.width - 6 + 'px'
- this.uc(this.j.anchor)
- },
- RH: function (a) {
- for (var b = this.bk, c = b.length - 1; 0 <= c; c--) if (b[c].panoId == a) return c
- return -1
- },
- Ey: function (a, b) {
- if (b || !this.bk[this.Zc] || !(this.bk[this.Zc].panoId == a && 3 !== this.bk[this.Zc].recoType)) {
- var c = this,
- e = this.RH(a)
- !b && -1 !== e && this.bk[e] && 3 !== this.bk[e].recoType
- ? this.Mp(e)
- : this.dY(function (a) {
- for (var b = {}, e, k, m = t, n = [], o = 0, p = a.length; o < p; o++)
- (e = a[o].catlog),
- (k = a[o].floor),
- l !== e &&
- ('' === e && l !== k
- ? ((m = q), b[k] || (b[k] = []), b[k].push(a[o]))
- : (b[af[e]] || (b[af[e]] = []), b[af[e]].push(a[o])))
- for (var v in b)
- m
- ? n.push({
- data: v + 'F',
- index: v
- })
- : n.push({
- data: bf[v],
- index: v
- })
- c.jH = b
- c.Ji = n
- c.Il(a)
- 0 == a.length ? c.U() : c.show()
- })
- }
- },
- vW: function () {
- if (!this.Gi) {
- var a = this.SX(this.Ji),
- b = L('div')
- b.style.cssText = [
- 'width:' + 134 * this.Ji.length + 'px;',
- 'overflow:hidden;-ms-user-select:none;-moz-user-select:none;-webkit-user-select:none;'
- ].join('')
- b.innerHTML = a
- a = L('div')
- a.appendChild(b)
- a.style.cssText =
- 'position:absolute;top:-25px;background:rgb(37,37,37);background:rgba(37,37,37,0.9);border-bottom:1px solid #4e596a;width:100%;line-height:25px;height:25px;overflow:scroll;outline:0'
- new Ye(a, {
- Go: t,
- iy: q,
- ii: t,
- xi: t,
- xn: t,
- OE: q,
- Pw: q,
- Mx: q
- })
- this.C.appendChild(a)
- for (var c = this, e = b.getElementsByTagName('span'), f = 0, g = e.length; f < g; f++)
- (b = e[f]),
- z.M(b, 'click', function () {
- if (this.getAttribute('dataindex')) {
- c.Il(c.jH[this.getAttribute('dataindex')])
- for (var a = 0, b = e.length; a < b; a++) e[a].style.color = '#FFFFFF'
- this.style.color = '#3383FF'
- }
- })
- this.Gi = a
- }
- },
- sW: function () {
- if (this.Gi) (a = this.AL(this.Ji)), (this.OQ.innerHTML = a)
- else {
- var a = this.AL(this.Ji),
- b = L('ul'),
- c = this
- b.style.cssText =
- 'list-style: none;padding:0px;margin:0px;display:block;width:60px;position:absolute;top:7px'
- b.innerHTML = a
- z.M(b, 'click', function (a) {
- if ((a = (a.srcElement || a.target).getAttribute('dataindex'))) {
- c.Il(c.jH[a])
- for (var e = b.getElementsByTagName('li'), f = 0, g = e.length; f < g; f++)
- e[f].childNodes[0].getAttribute('dataindex') === a
- ? z.D.Ua(e[f], 'pano_catlogLiActive')
- : z.D.Pb(e[f], 'pano_catlogLiActive')
- }
- })
- var a = L('div'),
- e = L('a'),
- f = L('span'),
- g = L('a'),
- i = L('span'),
- k = [
- 'background:url(' + G.qa + 'panorama/catlog_icon.png) no-repeat;',
- 'display:block;width:10px;height:7px;margin:0 auto;'
- ].join('')
- f.style.cssText = k + 'background-position:-18px 0;'
- e.style.cssText = 'background:#1C1C1C;display:block;position:absolute;width:58px;'
- i.style.cssText = k + 'background-position:0 0;'
- g.style.cssText = 'background:#1C1C1C;display:block;position:absolute;width:58px;'
- g.style.top = this.j.imageHeight - 7 + 'px'
- a.style.cssText = 'position:absolute;top:0px;left:0px;width:60px;'
- e.appendChild(f)
- g.appendChild(i)
- z.M(e, 'mouseover', function () {
- var a = parseInt(b.style.top, 10)
- 7 !== a && (f.style.backgroundPosition = '-27px 0')
- new tb({
- Ic: 60,
- kc: ub.Ks,
- duration: 300,
- va: function (c) {
- b.style.top = a + (7 - a) * c + 'px'
- }
- })
- })
- z.M(e, 'mouseout', function () {
- f.style.backgroundPosition = '-18px 0'
- })
- z.M(g, 'mouseover', function () {
- var a = parseInt(b.style.top, 10),
- e = c.j.imageHeight - 14
- if (!(parseInt(b.offsetHeight, 10) < e)) {
- var f = e - parseInt(b.offsetHeight, 10) + 7
- f !== a && (i.style.backgroundPosition = '-9px 0')
- new tb({
- Ic: 60,
- kc: ub.Ks,
- duration: 300,
- va: function (c) {
- b.style.top = a + (f - a) * c + 'px'
- }
- })
- }
- })
- z.M(g, 'mouseout', function () {
- i.style.backgroundPosition = '0 0'
- })
- a.appendChild(e)
- a.appendChild(g)
- e = L('div')
- e.style.cssText = [
- 'position:absolute;z-index:2001;left:20px;',
- 'height:' + this.j.imageHeight + 'px;',
- 'width:62px;overflow:hidden;background:rgb(37,37,37);background:rgba(37,37,37,0.9);'
- ].join('')
- e.appendChild(b)
- e.appendChild(a)
- this.Gi = e
- this.OQ = b
- this.C.appendChild(e)
- }
- },
- tW: function () {
- if (this.Ji && !(0 >= this.Ji.length)) {
- var a = L('div')
- a.innerHTML = this.hA
- a.style.cssText = 'position:absolute;background:#252525'
- this.C.appendChild(a)
- this.Os = a
- this.Rc.jg.style.left = this.ig.width + 8 + 'px'
- this.Gi && (this.Gi.style.left = parseInt(this.Gi.style.left, 10) + this.ig.width + 8 + 'px')
- var b = this
- z.M(a, 'click', function () {
- b.P.vc(b.gX)
- })
- }
- },
- Il: function (a) {
- this.bk = a
- this.j.showCatalog &&
- (0 < this.Ji.length
- ? (Ua() ? this.sW() : this.vW(), (this.Rc.offsetLeft = 60))
- : (this.Os && (this.C.removeChild(this.Os), (this.Os = s), (this.Rc.jg.style.left = '0px')),
- this.Gi && (this.C.removeChild(this.Gi), (this.Gi = s)),
- (this.Rc.offsetLeft = 0)))
- var b = this.LX(a)
- Ua() &&
- this.Ji &&
- 0 < this.Ji.length &&
- this.j.showExit &&
- this.hA &&
- ((this.Rc.offsetLeft += this.ig.width + 8), this.Os ? (this.Os.innerHTML = this.hA) : this.tW())
- this.Rh.innerHTML = b
- this.Rh.style.width = (this.ig.width + 8) * a.length + 8 + 'px'
- a = this.C.offsetWidth
- b = this.Rh.offsetWidth
- this.Rc.Vs && (b += this.Rc.Vs())
- b < a - 2 * this.Rc.Ai - this.Rc.offsetLeft
- ? (this.C.style.width = b + this.Rc.offsetLeft + 'px')
- : ((this.C.style.width =
- isNaN(Number(this.j.maxWidth)) === q ? this.j.maxWidth : this.j.maxWidth + 'px'),
- b < this.C.offsetWidth - 2 * this.Rc.Ai - this.Rc.offsetLeft &&
- (this.C.style.width = b + this.Rc.offsetLeft + 'px'))
- this.Rc.refresh()
- this.BB = this.Rh.children
- this.Rh.appendChild(this.fk)
- this.fk.style.left = '-100000px'
- a = this.RH(this.P.Xb(), this.Y1)
- ;-1 !== a && this.Mp(a)
- },
- SX: function (a) {
- for (var b = '', c, e = 0, f = a.length; e < f; e++)
- (c =
- '' +
- a[e].data +
- '
'),
- (b += c)
- return b
- },
- AL: function (a) {
- for (var b = '', c, e = 0, f = a.length; e < f; e++)
- (c =
- '' +
- a[e].data +
- ''),
- (b += c)
- return b
- },
- LX: function (a) {
- for (var b, c, e, f, g = [], i = this.ig.height, k = this.ig.width, m = 0; m < a.length; m++)
- (b = a[m]),
- (recoType = b.recoType),
- (e = b.panoId),
- (f = b.name),
- (c = b.heading),
- (b = b.pitch),
- (c = qe.PL(e, c, b, 198, 108)),
- (b =
- '
' +
- f +
- ''),
- 3 === recoType
- ? Ua()
- ? ((this.hA = b), (this.gX = e), a.splice(m, 1), m--)
- : ((b =
- '
'),
- g.push(b))
- : g.push(b)
- return g.join('')
- },
- dY: function (a) {
- var b = this,
- c = this.P.Xb()
- c &&
- this.Ll.Kx(c, function (e) {
- b.P.Xb() === c && a(e)
- })
- },
- uc: function (a) {
- if (!Wa(a) || isNaN(a) || a < Wb || 3 < a) a = this.defaultAnchor
- var b = this.C,
- c = this.j.offset.width,
- e = this.j.offset.height
- b.style.left = b.style.top = b.style.right = b.style.bottom = 'auto'
- switch (a) {
- case Wb:
- b.style.top = e + 'px'
- b.style.left = c + 'px'
- break
- case Xb:
- b.style.top = e + 'px'
- b.style.right = c + 'px'
- break
- case Yb:
- b.style.bottom = e + 'px'
- b.style.left = c + 'px'
- break
- case 3:
- ;(b.style.bottom = e + 'px'), (b.style.right = c + 'px')
- }
- },
- yQ: function () {
- this.wQ()
- },
- wQ: function () {
- var a = this
- z.M(this.C, 'touchstart', function (a) {
- a.stopPropagation()
- })
- z.M(this.gk, 'click', function (b) {
- if ((b = (b.srcElement || b.target).getAttribute('data-index')) && b != a.Zc)
- a.Mp(b), a.P.vc(a.bk[b].panoId)
- })
- z.M(this.Rh, 'mouseover', function (b) {
- b = (b.srcElement || b.target).getAttribute('data-index')
- b !== s && a.BK(b, q)
- })
- this.P.addEventListener('size_changed', function () {
- isNaN(Number(a.j.maxWidth)) &&
- a.Qk({
- maxWidth: a.j.maxWidth
- })
- })
- },
- Mp: function (a) {
- this.fk.style.left = this.BB[a].offsetLeft + 8 + 'px'
- this.fk.setAttribute('data-index', this.BB[a].getAttribute('data-index'))
- this.Zc = a
- this.BK(a)
- },
- BK: function (a, b) {
- var c = this.ig.width + 8,
- e = 0
- this.Rc.Vs && (e = this.Rc.Vs() / 2)
- var f = this.gk.offsetWidth - 2 * e,
- g = this.Rh.offsetLeft || this.Rc.x,
- g = g - e,
- i = -a * c
- i > g && this.Rc.scrollTo(i + e)
- c = i - c
- g -= f
- c < g && (!b || (b && 8 < i - g)) && this.Rc.scrollTo(c + f + e)
- },
- OY: function () {
- this.Rc = H()
- ? new Ye(this.gk, {
- Go: t,
- iy: q,
- ii: t,
- xi: t,
- xn: t,
- OE: q,
- Pw: q,
- Mx: q
- })
- : new cf(this.gk)
- },
- U: function () {
- this.C.style.visibility = 'hidden'
- },
- show: function () {
- this.C.style.visibility = 'visible'
- }
- })
- function cf(a) {
- this.C = a
- this.Vg = a.children[0]
- this.Pr = s
- this.Ai = 20
- this.offsetLeft = 0
- this.na()
- }
- cf.prototype = {
- na: function () {
- this.Vg.style.position = 'relative'
- this.refresh()
- this.ls()
- this.$l()
- },
- refresh: function () {
- this.ho = this.C.offsetWidth - this.Vs()
- this.aB = -(this.Vg.offsetWidth - this.ho - this.Ai)
- this.Ev = this.Ai + this.offsetLeft
- this.Vg.style.left = this.Ev + 'px'
- this.Vg.children[0] && (this.Pr = this.Vg.children[0].offsetWidth)
- this.jg &&
- (this.jg.children[0].style.marginTop = this.Hr.children[0].style.marginTop =
- this.jg.offsetHeight / 2 - this.jg.children[0].offsetHeight / 2 + 'px')
- },
- Vs: function () {
- return 2 * this.Ai
- },
- ls: function () {
- this.Tv = L('div')
- this.Tv.innerHTML =
- ''
- this.jg = this.Tv.children[0]
- this.Hr = this.Tv.children[1]
- this.C.appendChild(this.Tv)
- this.jg.children[0].style.marginTop = this.Hr.children[0].style.marginTop =
- this.jg.offsetHeight / 2 - this.jg.children[0].offsetHeight / 2 + 'px'
- },
- $l: function () {
- var a = this
- z.M(this.jg, 'click', function () {
- a.scrollTo(a.Vg.offsetLeft + a.ho)
- })
- z.M(this.Hr, 'click', function () {
- a.scrollTo(a.Vg.offsetLeft - a.ho)
- })
- },
- aV: function () {
- z.D.Pb(this.jg, 'pano_arrow_disable')
- z.D.Pb(this.Hr, 'pano_arrow_disable')
- var a = this.Vg.offsetLeft
- a >= this.Ev && z.D.Ua(this.jg, 'pano_arrow_disable')
- a - this.ho <= this.aB && z.D.Ua(this.Hr, 'pano_arrow_disable')
- },
- scrollTo: function (a) {
- a =
- a < this.Vg.offsetLeft
- ? Math.ceil((a - this.Ai - this.ho) / this.Pr) * this.Pr + this.ho + this.Ai - 8
- : Math.ceil((a - this.Ai) / this.Pr) * this.Pr + this.Ai
- a < this.aB ? (a = this.aB) : a > this.Ev && (a = this.Ev)
- var b = this.Vg.offsetLeft,
- c = this
- new tb({
- Ic: 60,
- kc: ub.Ks,
- duration: 300,
- va: function (e) {
- c.Vg.style.left = b + (a - b) * e + 'px'
- },
- finish: function () {
- c.aV()
- }
- })
- }
- }
- B.Map = Ka
- B.Hotspot = ib
- B.MapType = id
- B.Point = J
- B.Pixel = Q
- B.Size = O
- B.Bounds = fb
- B.TileLayer = Mc
- B.Projection = jc
- B.MercatorProjection = S
- B.PerspectiveProjection = hb
- B.Copyright = function (a, b, c) {
- this.id = a
- this.bb = b
- this.content = c
- }
- B.Overlay = mc
- B.Label = uc
- B.GroundOverlay = vc
- B.PointCollection = zc
- B.Marker = U
- B.CanvasLayer = Cc
- B.Icon = qc
- B.IconSequence = sc
- B.Symbol = rc
- B.Polyline = Gc
- B.Polygon = Fc
- B.InfoWindow = tc
- B.Circle = Hc
- B.Control = Vb
- B.NavigationControl = jb
- B.GeolocationControl = Zb
- B.OverviewMapControl = lb
- B.CopyrightControl = $b
- B.ScaleControl = kb
- B.MapTypeControl = mb
- B.CityListControl = ac
- B.PanoramaControl = cc
- B.TrafficLayer = Vc
- B.CustomLayer = nb
- B.ContextMenu = fc
- B.MenuItem = ic
- B.LocalSearch = cb
- B.TransitRoute = Kd
- B.DrivingRoute = Nd
- B.WalkingRoute = Od
- B.RidingRoute = Pd
- B.Autocomplete = Zd
- B.RouteSearch = Td
- B.Geocoder = Ud
- B.LocalCity = Wd
- B.Geolocation = Geolocation
- B.Convertor = lc
- B.BusLineSearch = Yd
- B.Boundary = Xd
- B.VectorCloudLayer = Tc
- B.VectorTrafficLayer = Uc
- B.Panorama = Oa
- B.PanoramaLabel = ee
- B.PanoramaService = ec
- B.PanoramaCoverageLayer = dc
- B.PanoramaFlashInterface = oe
- function T(a, b) {
- for (var c in b) a[c] = b[c]
- }
- T(window, {
- BMap: B,
- _jsload2: function (a, b) {
- ia.Wy.ZY && ia.Wy.set(a, b)
- K.WV(a, b)
- },
- BMAP_API_VERSION: '2.0'
- })
- var X = Ka.prototype
- T(X, {
- getBounds: X.ve,
- getCenter: X.Ka,
- getMapType: X.oa,
- getSize: X.cb,
- setSize: X.Ce,
- getViewport: X.ht,
- getZoom: X.fa,
- centerAndZoom: X.Fd,
- panTo: X.qi,
- panBy: X.Ag,
- setCenter: X.Zf,
- setCurrentCity: X.DF,
- setMapType: X.Dg,
- setViewport: X.yh,
- setZoom: X.Qc,
- highResolutionEnabled: X.Sx,
- zoomTo: X.Gg,
- zoomIn: X.kG,
- zoomOut: X.lG,
- addHotspot: X.Cw,
- removeHotspot: X.VZ,
- clearHotspots: X.dm,
- checkResize: X.ZV,
- addControl: X.Aw,
- removeControl: X.VN,
- getContainer: X.La,
- addContextMenu: X.yo,
- removeContextMenu: X.Cp,
- addOverlay: X.Ga,
- removeOverlay: X.Qb,
- clearOverlays: X.yK,
- openInfoWindow: X.pc,
- closeInfoWindow: X.Yc,
- pointToOverlayPixel: X.Xe,
- overlayPixelToPoint: X.JN,
- getInfoWindow: X.hh,
- getOverlays: X.Hx,
- getPanes: function () {
- return {
- floatPane: this.Yd.BD,
- markerMouseTarget: this.Yd.RE,
- floatShadow: this.Yd.sL,
- labelPane: this.Yd.KE,
- markerPane: this.Yd.fN,
- markerShadow: this.Yd.gN,
- mapPane: this.Yd.Et,
- vertexPane: this.Yd.nP
- }
- },
- addTileLayer: X.Oe,
- removeTileLayer: X.Yf,
- pixelToPoint: X.xb,
- pointToPixel: X.$b,
- setFeatureStyle: X.Lp,
- selectBaseElement: X.j5,
- setMapStyle: X.Zt,
- enable3DBuilding: X.Ro,
- disable3DBuilding: X.KW,
- getPanorama: X.tm,
- initIndoorLayer: X.PY,
- setNormalMapDisplay: X.D_
- })
- var df = id.prototype
- T(df, {
- getTileLayer: df.oY,
- getMinZoom: df.bp,
- getMaxZoom: df.sm,
- getProjection: df.wm,
- getTextColor: df.zm,
- getTips: df.gt
- })
- T(window, {
- BMAP_NORMAL_MAP: La,
- BMAP_PERSPECTIVE_MAP: Qa,
- BMAP_SATELLITE_MAP: Ya,
- BMAP_HYBRID_MAP: Sa
- })
- var ef = S.prototype
- T(ef, {
- lngLatToPoint: ef.kh,
- pointToLngLat: ef.xj
- })
- var ff = hb.prototype
- T(ff, {
- lngLatToPoint: ff.kh,
- pointToLngLat: ff.xj
- })
- var gf = fb.prototype
- T(gf, {
- equals: gf.pb,
- containsPoint: gf.js,
- containsBounds: gf.kW,
- intersects: gf.ot,
- extend: gf.extend,
- getCenter: gf.Ka,
- isEmpty: gf.tj,
- getSouthWest: gf.Ve,
- getNorthEast: gf.Rf,
- toSpan: gf.YF
- })
- var hf = mc.prototype
- T(hf, {
- isVisible: hf.jh,
- show: hf.show,
- hide: hf.U
- })
- mc.getZIndex = mc.Ck
- var jf = gb.prototype
- T(jf, {
- openInfoWindow: jf.pc,
- closeInfoWindow: jf.Yc,
- enableMassClear: jf.gj,
- disableMassClear: jf.MW,
- show: jf.show,
- hide: jf.U,
- getMap: jf.Dx,
- addContextMenu: jf.yo,
- removeContextMenu: jf.Cp
- })
- var kf = U.prototype
- T(kf, {
- setIcon: kf.Rb,
- getIcon: kf.ap,
- setPosition: kf.sa,
- getPosition: kf.ga,
- setOffset: kf.Ze,
- getOffset: kf.Sf,
- getLabel: kf.VD,
- setLabel: kf.dn,
- setTitle: kf.Ec,
- setTop: kf.ui,
- enableDragging: kf.Wb,
- disableDragging: kf.TC,
- setZIndex: kf.Sp,
- getMap: kf.Dx,
- setAnimation: kf.bn,
- setShadow: kf.Oy,
- hide: kf.U,
- setRotation: kf.Op,
- getRotation: kf.TL
- })
- T(window, {
- BMAP_ANIMATION_DROP: 1,
- BMAP_ANIMATION_BOUNCE: 2
- })
- var lf = uc.prototype
- T(lf, {
- setStyle: lf.Md,
- setStyles: lf.ti,
- setContent: lf.dd,
- setPosition: lf.sa,
- getPosition: lf.ga,
- setOffset: lf.Ze,
- getOffset: lf.Sf,
- setTitle: lf.Ec,
- setZIndex: lf.Sp,
- getMap: lf.Dx,
- getContent: lf.xk
- })
- var mf = qc.prototype
- T(mf, {
- setImageUrl: mf.mO,
- setSize: mf.Ce,
- setAnchor: mf.uc,
- setImageOffset: mf.Yt,
- setImageSize: mf.w_,
- setInfoWindowAnchor: mf.z_,
- setPrintImageUrl: mf.K_
- })
- var nf = tc.prototype
- T(nf, {
- redraw: nf.je,
- setTitle: nf.Ec,
- setContent: nf.dd,
- getContent: nf.xk,
- getPosition: nf.ga,
- enableMaximize: nf.dh,
- disableMaximize: nf.kx,
- isOpen: nf.Xa,
- setMaxContent: nf.$t,
- maximize: nf.hy,
- enableAutoPan: nf.Ls
- })
- var of = oc.prototype
- T(of, {
- getPath: of.Ue,
- setPath: of.ke,
- setPositionAt: of.gn,
- getStrokeColor: of.jY,
- setStrokeWeight: of.Rp,
- getStrokeWeight: of.WL,
- setStrokeOpacity: of.Pp,
- getStrokeOpacity: of.kY,
- setFillOpacity: of.Xt,
- getFillOpacity: of.HX,
- setStrokeStyle: of.Qp,
- getStrokeStyle: of.VL,
- getFillColor: of.GX,
- getBounds: of.ve,
- enableEditing: of.mf,
- disableEditing: of.LW,
- getEditing: of.DX
- })
- var pf = Hc.prototype
- T(pf, {
- setCenter: pf.Zf,
- getCenter: pf.Ka,
- getRadius: pf.RL,
- setRadius: pf.xf
- })
- var qf = Fc.prototype
- T(qf, {
- getPath: qf.Ue,
- setPath: qf.ke,
- setPositionAt: qf.gn
- })
- var rf = ib.prototype
- T(rf, {
- getPosition: rf.ga,
- setPosition: rf.sa,
- getText: rf.eE,
- setText: rf.cu
- })
- J.prototype.equals = J.prototype.pb
- Q.prototype.equals = Q.prototype.pb
- O.prototype.equals = O.prototype.pb
- T(window, {
- BMAP_ANCHOR_TOP_LEFT: Wb,
- BMAP_ANCHOR_TOP_RIGHT: Xb,
- BMAP_ANCHOR_BOTTOM_LEFT: Yb,
- BMAP_ANCHOR_BOTTOM_RIGHT: 3
- })
- var sf = Vb.prototype
- T(sf, {
- setAnchor: sf.uc,
- getAnchor: sf.HD,
- setOffset: sf.Ze,
- getOffset: sf.Sf,
- show: sf.show,
- hide: sf.U,
- isVisible: sf.jh,
- toString: sf.toString
- })
- var tf = jb.prototype
- T(tf, {
- getType: tf.ip,
- setType: tf.hn
- })
- T(window, {
- BMAP_NAVIGATION_CONTROL_LARGE: 0,
- BMAP_NAVIGATION_CONTROL_SMALL: 1,
- BMAP_NAVIGATION_CONTROL_PAN: 2,
- BMAP_NAVIGATION_CONTROL_ZOOM: 3
- })
- var uf = lb.prototype
- T(uf, {
- changeView: uf.se,
- setSize: uf.Ce,
- getSize: uf.cb
- })
- var vf = kb.prototype
- T(vf, {
- getUnit: vf.sY,
- setUnit: vf.LF
- })
- T(window, {
- BMAP_UNIT_METRIC: 'metric',
- BMAP_UNIT_IMPERIAL: 'us'
- })
- var wf = $b.prototype
- T(wf, {
- addCopyright: wf.Bw,
- removeCopyright: wf.qF,
- getCopyright: wf.pm,
- getCopyrightCollection: wf.PD
- })
- T(window, {
- BMAP_MAPTYPE_CONTROL_HORIZONTAL: bc,
- BMAP_MAPTYPE_CONTROL_DROPDOWN: 1,
- BMAP_MAPTYPE_CONTROL_MAP: 2
- })
- var xf = Mc.prototype
- T(xf, {
- getMapType: xf.oa,
- getCopyright: xf.pm,
- isTransparentPng: xf.zt
- })
- var yf = fc.prototype
- T(yf, {
- addItem: yf.Dw,
- addSeparator: yf.bC,
- removeSeparator: yf.sF
- })
- var zf = ic.prototype
- T(zf, {
- setText: zf.cu
- })
- var Af = W.prototype
- T(Af, {
- getStatus: Af.xm,
- setSearchCompleteCallback: Af.JF,
- getPageCapacity: Af.qf,
- setPageCapacity: Af.Np,
- setLocation: Af.fn,
- disableFirstResultSelection: Af.UC,
- enableFirstResultSelection: Af.oD,
- gotoPage: Af.Am,
- searchNearby: Af.Jp,
- searchInBounds: Af.an,
- search: Af.search
- })
- T(window, {
- BMAP_STATUS_SUCCESS: 0,
- BMAP_STATUS_CITY_LIST: 1,
- BMAP_STATUS_UNKNOWN_LOCATION: sd,
- BMAP_STATUS_UNKNOWN_ROUTE: 3,
- BMAP_STATUS_INVALID_KEY: 4,
- BMAP_STATUS_INVALID_REQUEST: 5,
- BMAP_STATUS_PERMISSION_DENIED: td,
- BMAP_STATUS_SERVICE_UNAVAILABLE: 7,
- BMAP_STATUS_TIMEOUT: ud
- })
- T(window, {
- BMAP_POI_TYPE_NORMAL: 0,
- BMAP_POI_TYPE_BUSSTOP: 1,
- BMAP_POI_TYPE_BUSLINE: 2,
- BMAP_POI_TYPE_SUBSTOP: 3,
- BMAP_POI_TYPE_SUBLINE: 4
- })
- T(window, {
- BMAP_TRANSIT_POLICY_RECOMMEND: 0,
- BMAP_TRANSIT_POLICY_LEAST_TIME: 4,
- BMAP_TRANSIT_POLICY_LEAST_TRANSFER: 1,
- BMAP_TRANSIT_POLICY_LEAST_WALKING: 2,
- BMAP_TRANSIT_POLICY_AVOID_SUBWAYS: 3,
- BMAP_TRANSIT_POLICY_FIRST_SUBWAYS: 5,
- BMAP_LINE_TYPE_BUS: 0,
- BMAP_LINE_TYPE_SUBWAY: 1,
- BMAP_LINE_TYPE_FERRY: 2,
- BMAP_LINE_TYPE_TRAIN: 3,
- BMAP_LINE_TYPE_AIRPLANE: 4,
- BMAP_LINE_TYPE_COACH: 5
- })
- T(window, {
- BMAP_TRANSIT_TYPE_POLICY_TRAIN: 0,
- BMAP_TRANSIT_TYPE_POLICY_AIRPLANE: 1,
- BMAP_TRANSIT_TYPE_POLICY_COACH: 2
- })
- T(window, {
- BMAP_INTERCITY_POLICY_LEAST_TIME: 0,
- BMAP_INTERCITY_POLICY_EARLY_START: 1,
- BMAP_INTERCITY_POLICY_CHEAP_PRICE: 2
- })
- T(window, {
- BMAP_TRANSIT_TYPE_IN_CITY: 0,
- BMAP_TRANSIT_TYPE_CROSS_CITY: 1
- })
- T(window, {
- BMAP_TRANSIT_PLAN_TYPE_ROUTE: 0,
- BMAP_TRANSIT_PLAN_TYPE_LINE: 1
- })
- var Bf = Jd.prototype
- T(Bf, {
- clearResults: Bf.Pe
- })
- Ld = Kd.prototype
- T(Ld, {
- setPolicy: Ld.bu,
- toString: Ld.toString,
- setPageCapacity: Ld.Np,
- setIntercityPolicy: Ld.oO,
- setTransitTypePolicy: Ld.xO
- })
- T(window, {
- BMAP_DRIVING_POLICY_DEFAULT: 0,
- BMAP_DRIVING_POLICY_AVOID_HIGHWAYS: 3,
- BMAP_DRIVING_POLICY_AVOID_CONGESTION: 5,
- BMAP_DRIVING_POLICY_FIRST_HIGHWAYS: 4
- })
- T(window, {
- BMAP_MODE_DRIVING: 'driving',
- BMAP_MODE_TRANSIT: 'transit',
- BMAP_MODE_WALKING: 'walking',
- BMAP_MODE_NAVIGATION: 'navigation'
- })
- var Cf = Td.prototype
- T(Cf, {
- routeCall: Cf.gO
- })
- T(window, {
- BMAP_HIGHLIGHT_STEP: 1,
- BMAP_HIGHLIGHT_ROUTE: 2
- })
- T(window, {
- BMAP_ROUTE_TYPE_DRIVING: wd,
- BMAP_ROUTE_TYPE_WALKING: vd,
- BMAP_ROUTE_TYPE_RIDING: xd
- })
- T(window, {
- BMAP_ROUTE_STATUS_NORMAL: yd,
- BMAP_ROUTE_STATUS_EMPTY: 1,
- BMAP_ROUTE_STATUS_ADDRESS: 2
- })
- var Df = Nd.prototype
- T(Df, {
- setPolicy: Df.bu
- })
- var Ef = Zd.prototype
- T(Ef, {
- show: Ef.show,
- hide: Ef.U,
- setTypes: Ef.KF,
- setLocation: Ef.fn,
- search: Ef.search,
- setInputValue: Ef.Ly
- })
- T(nb.prototype, {})
- var Ff = Xd.prototype
- T(Ff, {
- get: Ff.get
- })
- T(dc.prototype, {})
- T(db.prototype, {})
- T(window, {
- BMAP_POINT_DENSITY_HIGH: 200,
- BMAP_POINT_DENSITY_MEDIUM: Yc,
- BMAP_POINT_DENSITY_LOW: 50
- })
- T(window, {
- BMAP_POINT_SHAPE_STAR: 1,
- BMAP_POINT_SHAPE_WATERDROP: 2,
- BMAP_POINT_SHAPE_CIRCLE: wc,
- BMAP_POINT_SHAPE_SQUARE: 4,
- BMAP_POINT_SHAPE_RHOMBUS: 5
- })
- T(window, {
- BMAP_POINT_SIZE_TINY: 1,
- BMAP_POINT_SIZE_SMALLER: 2,
- BMAP_POINT_SIZE_SMALL: 3,
- BMAP_POINT_SIZE_NORMAL: xc,
- BMAP_POINT_SIZE_BIG: 5,
- BMAP_POINT_SIZE_BIGGER: 6,
- BMAP_POINT_SIZE_HUGE: 7
- })
- T(window, {
- BMap_Symbol_SHAPE_CAMERA: 11,
- BMap_Symbol_SHAPE_WARNING: 12,
- BMap_Symbol_SHAPE_SMILE: 13,
- BMap_Symbol_SHAPE_CLOCK: 14,
- BMap_Symbol_SHAPE_POINT: 9,
- BMap_Symbol_SHAPE_PLANE: 10,
- BMap_Symbol_SHAPE_CIRCLE: 1,
- BMap_Symbol_SHAPE_RECTANGLE: 2,
- BMap_Symbol_SHAPE_RHOMBUS: 3,
- BMap_Symbol_SHAPE_STAR: 4,
- BMap_Symbol_SHAPE_BACKWARD_CLOSED_ARROW: 5,
- BMap_Symbol_SHAPE_FORWARD_CLOSED_ARROW: 6,
- BMap_Symbol_SHAPE_BACKWARD_OPEN_ARROW: 7,
- BMap_Symbol_SHAPE_FORWARD_OPEN_ARROW: 8
- })
- T(window, {
- BMAP_CONTEXT_MENU_ICON_ZOOMIN: gc,
- BMAP_CONTEXT_MENU_ICON_ZOOMOUT: hc
- })
- T(window, {
- BMAP_SYS_DRAWER: Ja,
- BMAP_SVG_DRAWER: 1,
- BMAP_VML_DRAWER: 2,
- BMAP_CANVAS_DRAWER: 3,
- BMAP_SVG_DRAWER_FIRST: 4
- })
- B.vV()
- B.Q0()
-})()
+/**
+ * Author: yang jian fei
+ * Email: 1294485765@qq.com
+ * Created Date: Wednesday, August 10th 2022, 11:42:35 am
+ * Modified By: yang jian fei
+ * Desc: desc
+ * Copyright (c) 2022 黑发
+ */
+
+window.TILE_VERSION = {
+ ditu: {
+ normal: {
+ version: '088',
+ updateDate: '20180829'
+ },
+ satellite: {
+ version: '009',
+ updateDate: '20180829'
+ },
+ normalTraffic: {
+ version: '081',
+ updateDate: '20180829'
+ },
+ satelliteTraffic: {
+ version: '083',
+ updateDate: '20180829'
+ },
+ mapJS: {
+ version: '104',
+ updateDate: '20180829'
+ },
+ satelliteStreet: {
+ version: '083',
+ updateDate: '20180829'
+ },
+ panoClick: {
+ version: '1033',
+ updateDate: '20180816'
+ },
+ panoUdt: {
+ version: '20180816',
+ updateDate: '20180816'
+ },
+ panoSwfAPI: {
+ version: '20150123',
+ updateDate: '20150123'
+ },
+ panoSwfPlace: {
+ version: '20141112',
+ updateDate: '20141112'
+ },
+ earthVector: {
+ version: '001',
+ updateDate: '20180829'
+ }
+ },
+ webapp: {
+ high_normal: {
+ version: '001',
+ updateDate: '20180829'
+ },
+ lower_normal: {
+ version: '002',
+ updateDate: '20180829'
+ }
+ },
+ api_for_mobile: {
+ vector: {
+ version: '002',
+ updateDate: '20180829'
+ },
+ vectorIcon: {
+ version: '002',
+ updateDate: '20180829'
+ }
+ }
+}
+window.BMAP_AUTHENTIC_KEY = ''
+;(function () {
+ function aa(a) {
+ throw a
+ }
+ var l = void 0,
+ q = !0,
+ s = null,
+ t = !1
+ function u() {
+ return function () {}
+ }
+ function ba(a) {
+ return function (b) {
+ this[a] = b
+ }
+ }
+ function w(a) {
+ return function () {
+ return this[a]
+ }
+ }
+ function ca(a) {
+ return function () {
+ return a
+ }
+ }
+ var da,
+ ea = []
+ function ga(a) {
+ return function () {
+ return ea[a].apply(this, arguments)
+ }
+ }
+ function ha(a, b) {
+ return (ea[a] = b)
+ }
+ var ia,
+ z = (ia = z || {
+ version: '1.3.4'
+ })
+ z.aa = '$BAIDU$'
+ window[z.aa] = window[z.aa] || {}
+ z.object = z.object || {}
+ z.extend = z.object.extend = function (a, b) {
+ for (var c in b) b.hasOwnProperty(c) && (a[c] = b[c])
+ return a
+ }
+ z.D = z.D || {}
+ z.D.$ = function (a) {
+ return 'string' == typeof a || a instanceof String
+ ? document.getElementById(a)
+ : a && a.nodeName && (1 == a.nodeType || 9 == a.nodeType)
+ ? a
+ : s
+ }
+ z.$ = z.Fc = z.D.$
+ z.D.U = function (a) {
+ a = z.D.$(a)
+ if (a === s) return a
+ a.style.display = 'none'
+ return a
+ }
+ z.U = z.D.U
+ z.lang = z.lang || {}
+ z.lang.wg = function (a) {
+ return '[object String]' == Object.prototype.toString.call(a)
+ }
+ z.wg = z.lang.wg
+ z.D.Oj = function (a) {
+ return z.lang.wg(a) ? document.getElementById(a) : a
+ }
+ z.Oj = z.D.Oj
+ z.D.getElementsByClassName = function (a, b) {
+ var c
+ if (a.getElementsByClassName) c = a.getElementsByClassName(b)
+ else {
+ var e = a
+ e == s && (e = document)
+ c = []
+ var e = e.getElementsByTagName('*'),
+ f = e.length,
+ g = RegExp('(^|\\s)' + b + '(\\s|$)'),
+ i,
+ k
+ for (k = i = 0; i < f; i++) g.test(e[i].className) && ((c[k] = e[i]), k++)
+ }
+ return c
+ }
+ z.getElementsByClassName = z.D.getElementsByClassName
+ z.D.contains = function (a, b) {
+ var c = z.D.Oj,
+ a = c(a),
+ b = c(b)
+ return a.contains ? a != b && a.contains(b) : !!(a.compareDocumentPosition(b) & 16)
+ }
+ z.ca = z.ca || {}
+ ;/msie (\d+\.\d)/i.test(navigator.userAgent) && (z.ca.ia = z.ia = document.documentMode || +RegExp.$1)
+ var ja = {
+ cellpadding: 'cellPadding',
+ cellspacing: 'cellSpacing',
+ colspan: 'colSpan',
+ rowspan: 'rowSpan',
+ valign: 'vAlign',
+ usemap: 'useMap',
+ frameborder: 'frameBorder'
+ }
+ 8 > z.ca.ia
+ ? ((ja['for'] = 'htmlFor'), (ja['class'] = 'className'))
+ : ((ja.htmlFor = 'for'), (ja.className = 'class'))
+ z.D.RG = ja
+ z.D.BF = function (a, b, c) {
+ a = z.D.$(a)
+ if (a === s) return a
+ if ('style' == b) a.style.cssText = c
+ else {
+ b = z.D.RG[b] || b
+ a.setAttribute(b, c)
+ }
+ return a
+ }
+ z.BF = z.D.BF
+ z.D.CF = function (a, b) {
+ a = z.D.$(a)
+ if (a === s) return a
+ for (var c in b) z.D.BF(a, c, b[c])
+ return a
+ }
+ z.CF = z.D.CF
+ z.Wk = z.Wk || {}
+ ;(function () {
+ var a = RegExp('(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)', 'g')
+ z.Wk.trim = function (b) {
+ return ('' + b).replace(a, '')
+ }
+ })()
+ z.trim = z.Wk.trim
+ z.Wk.Wo = function (a, b) {
+ var a = '' + a,
+ c = Array.prototype.slice.call(arguments, 1),
+ e = Object.prototype.toString
+ if (c.length) {
+ c = c.length == 1 ? (b !== s && /\[object Array\]|\[object Object\]/.test(e.call(b)) ? b : c) : c
+ return a.replace(/#\{(.+?)\}/g, function (a, b) {
+ var i = c[b]
+ '[object Function]' == e.call(i) && (i = i(b))
+ return 'undefined' == typeof i ? '' : i
+ })
+ }
+ return a
+ }
+ z.Wo = z.Wk.Wo
+ z.D.Pb = function (a, b) {
+ a = z.D.$(a)
+ if (a === s) return a
+ for (var c = a.className.split(/\s+/), e = b.split(/\s+/), f, g = e.length, i, k = 0; k < g; ++k) {
+ i = 0
+ for (f = c.length; i < f; ++i)
+ if (c[i] == e[k]) {
+ c.splice(i, 1)
+ break
+ }
+ }
+ a.className = c.join(' ')
+ return a
+ }
+ z.Pb = z.D.Pb
+ z.D.Vx = function (a, b, c) {
+ a = z.D.$(a)
+ if (a === s) return a
+ var e
+ if (a.insertAdjacentHTML) a.insertAdjacentHTML(b, c)
+ else {
+ e = a.ownerDocument.createRange()
+ b = b.toUpperCase()
+ if (b == 'AFTERBEGIN' || b == 'BEFOREEND') {
+ e.selectNodeContents(a)
+ e.collapse(b == 'AFTERBEGIN')
+ } else {
+ b = b == 'BEFOREBEGIN'
+ e[b ? 'setStartBefore' : 'setEndAfter'](a)
+ e.collapse(b)
+ }
+ e.insertNode(e.createContextualFragment(c))
+ }
+ return a
+ }
+ z.Vx = z.D.Vx
+ z.D.show = function (a) {
+ a = z.D.$(a)
+ if (a === s) return a
+ a.style.display = ''
+ return a
+ }
+ z.show = z.D.show
+ z.D.QD = function (a) {
+ a = z.D.$(a)
+ return a === s ? a : a.nodeType == 9 ? a : a.ownerDocument || a.document
+ }
+ z.D.Ua = function (a, b) {
+ a = z.D.$(a)
+ if (a === s) return a
+ for (var c = b.split(/\s+/), e = a.className, f = ' ' + e + ' ', g = 0, i = c.length; g < i; g++)
+ f.indexOf(' ' + c[g] + ' ') < 0 && (e = e + (' ' + c[g]))
+ a.className = e
+ return a
+ }
+ z.Ua = z.D.Ua
+ z.D.PB = z.D.PB || {}
+ z.D.Ol = z.D.Ol || []
+ z.D.Ol.filter = function (a, b, c) {
+ for (var e = 0, f = z.D.Ol, g; (g = f[e]); e++) if ((g = g[c])) b = g(a, b)
+ return b
+ }
+ z.Wk.RO = function (a) {
+ return a.indexOf('-') < 0 && a.indexOf('_') < 0
+ ? a
+ : a.replace(/[-_][^-_]/g, function (a) {
+ return a.charAt(1).toUpperCase()
+ })
+ }
+ z.D.m0 = function (a) {
+ z.D.it(a, 'expand') ? z.D.Pb(a, 'expand') : z.D.Ua(a, 'expand')
+ }
+ z.D.it = function (a) {
+ if (arguments.length <= 0 || typeof a === 'function') return this
+ if (this.size() <= 0) return t
+ var a = a.replace(/^\s+/g, '').replace(/\s+$/g, '').replace(/\s+/g, ' '),
+ b = a.split(' '),
+ c
+ z.forEach(this, function (a) {
+ for (var a = a.className, f = 0; f < b.length; f++)
+ if (!~(' ' + a + ' ').indexOf(' ' + b[f] + ' ')) {
+ c = t
+ return
+ }
+ c !== t && (c = q)
+ })
+ return c
+ }
+ z.D.oj = function (a, b) {
+ var c = z.D,
+ a = c.$(a)
+ if (a === s) return a
+ var b = z.Wk.RO(b),
+ e = a.style[b]
+ if (!e)
+ var f = c.PB[b],
+ e = a.currentStyle || (z.ca.ia ? a.style : getComputedStyle(a, s)),
+ e = f && f.get ? f.get(a, e) : e[f || b]
+ if ((f = c.Ol)) e = f.filter(b, e, 'get')
+ return e
+ }
+ z.oj = z.D.oj
+ ;/opera\/(\d+\.\d)/i.test(navigator.userAgent) && (z.ca.opera = +RegExp.$1)
+ z.ca.HM = /webkit/i.test(navigator.userAgent)
+ z.ca.VY = /gecko/i.test(navigator.userAgent) && !/like gecko/i.test(navigator.userAgent)
+ z.ca.DE = 'CSS1Compat' == document.compatMode
+ z.D.ga = function (a) {
+ a = z.D.$(a)
+ if (a === s) return a
+ var b = z.D.QD(a),
+ c = z.ca,
+ e = z.D.oj
+ c.VY > 0 && b.getBoxObjectFor && e(a, 'position')
+ var f = {
+ left: 0,
+ top: 0
+ },
+ g
+ if (a == (c.ia && !c.DE ? b.body : b.documentElement)) return f
+ if (a.getBoundingClientRect) {
+ a = a.getBoundingClientRect()
+ f.left = Math.floor(a.left) + Math.max(b.documentElement.scrollLeft, b.body.scrollLeft)
+ f.top = Math.floor(a.top) + Math.max(b.documentElement.scrollTop, b.body.scrollTop)
+ f.left = f.left - b.documentElement.clientLeft
+ f.top = f.top - b.documentElement.clientTop
+ a = b.body
+ b = parseInt(e(a, 'borderLeftWidth'))
+ e = parseInt(e(a, 'borderTopWidth'))
+ if (c.ia && !c.DE) {
+ f.left = f.left - (isNaN(b) ? 2 : b)
+ f.top = f.top - (isNaN(e) ? 2 : e)
+ }
+ } else {
+ g = a
+ do {
+ f.left = f.left + g.offsetLeft
+ f.top = f.top + g.offsetTop
+ if (c.HM > 0 && e(g, 'position') == 'fixed') {
+ f.left = f.left + b.body.scrollLeft
+ f.top = f.top + b.body.scrollTop
+ break
+ }
+ g = g.offsetParent
+ } while (g && g != a)
+ if (c.opera > 0 || (c.HM > 0 && e(a, 'position') == 'absolute')) f.top = f.top - b.body.offsetTop
+ for (g = a.offsetParent; g && g != b.body; ) {
+ f.left = f.left - g.scrollLeft
+ if (!c.opera || g.tagName != 'TR') f.top = f.top - g.scrollTop
+ g = g.offsetParent
+ }
+ }
+ return f
+ }
+ ;/firefox\/(\d+\.\d)/i.test(navigator.userAgent) && (z.ca.Te = +RegExp.$1)
+ ;/BIDUBrowser/i.test(navigator.userAgent) && (z.ca.n2 = q)
+ var ka = navigator.userAgent
+ ;/(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(ka) &&
+ !/chrome/i.test(ka) &&
+ (z.ca.Iy = +(RegExp.$1 || RegExp.$2))
+ ;/chrome\/(\d+\.\d)/i.test(navigator.userAgent) && (z.ca.Qw = +RegExp.$1)
+ z.mc = z.mc || {}
+ z.mc.Fb = function (a, b) {
+ var c,
+ e,
+ f = a.length
+ if ('function' == typeof b)
+ for (e = 0; e < f; e++) {
+ c = a[e]
+ c = b.call(a, c, e)
+ if (c === t) break
+ }
+ return a
+ }
+ z.Fb = z.mc.Fb
+ z.lang.aa = function () {
+ return 'TANGRAM__' + (window[z.aa]._counter++).toString(36)
+ }
+ window[z.aa]._counter = window[z.aa]._counter || 1
+ window[z.aa]._instances = window[z.aa]._instances || {}
+ z.lang.wt = function (a) {
+ return '[object Function]' == Object.prototype.toString.call(a)
+ }
+ z.lang.Ca = function (a) {
+ this.aa = a || z.lang.aa()
+ window[z.aa]._instances[this.aa] = this
+ }
+ window[z.aa]._instances = window[z.aa]._instances || {}
+ z.lang.Ca.prototype.ci = ga(0)
+ z.lang.Ca.prototype.toString = function () {
+ return '[object ' + (this.UQ || 'Object') + ']'
+ }
+ z.lang.Ju = function (a, b) {
+ this.type = a
+ this.returnValue = q
+ this.target = b || s
+ this.currentTarget = s
+ }
+ z.lang.Ca.prototype.addEventListener = function (a, b, c) {
+ if (z.lang.wt(b)) {
+ !b.fl && (b.fl = {})
+ !this.Ci && (this.Ci = {})
+ var e = this.Ci,
+ f
+ if (typeof c == 'string' && c) {
+ ;/[^\w\-]/.test(c) && aa('nonstandard key:' + c)
+ f = b.Nx = c
+ }
+ a.indexOf('on') != 0 && (a = 'on' + a)
+ typeof e[a] != 'object' && (e[a] = {})
+ typeof b.fl[a] != 'object' && (b.fl[a] = {})
+ f = f || z.lang.aa()
+ b.fl[a].Nx = f
+ e[a][f] = b
+ }
+ }
+ z.lang.Ca.prototype.removeEventListener = function (a, b) {
+ a.indexOf('on') != 0 && (a = 'on' + a)
+ if (z.lang.wt(b)) {
+ if (!b.fl || !b.fl[a]) return
+ b = b.fl[a].Nx
+ } else if (!z.lang.wg(b)) return
+ !this.Ci && (this.Ci = {})
+ var c = this.Ci
+ c[a] && c[a][b] && delete c[a][b]
+ }
+ z.lang.Ca.prototype.dispatchEvent = function (a, b) {
+ z.lang.wg(a) && (a = new z.lang.Ju(a))
+ !this.Ci && (this.Ci = {})
+ var b = b || {},
+ c
+ for (c in b) a[c] = b[c]
+ var e = this.Ci,
+ f = a.type
+ a.target = a.target || this
+ a.currentTarget = this
+ f.indexOf('on') != 0 && (f = 'on' + f)
+ z.lang.wt(this[f]) && this[f].apply(this, arguments)
+ if (typeof e[f] == 'object') for (c in e[f]) e[f][c].apply(this, arguments)
+ return a.returnValue
+ }
+ z.lang.ta = function (a, b, c) {
+ var e,
+ f,
+ g = a.prototype
+ f = new Function()
+ f.prototype = b.prototype
+ f = a.prototype = new f()
+ for (e in g) f[e] = g[e]
+ a.prototype.constructor = a
+ a.b0 = b.prototype
+ if ('string' == typeof c) f.UQ = c
+ }
+ z.ta = z.lang.ta
+ z.lang.Nc = function (a) {
+ return window[z.aa]._instances[a] || s
+ }
+ z.platform = z.platform || {}
+ z.platform.AM = /macintosh/i.test(navigator.userAgent)
+ z.platform.h4 = /MicroMessenger/i.test(navigator.userAgent)
+ z.platform.IM = /windows/i.test(navigator.userAgent)
+ z.platform.cZ = /x11/i.test(navigator.userAgent)
+ z.platform.Jm = /android/i.test(navigator.userAgent)
+ ;/android (\d+\.\d)/i.test(navigator.userAgent) && (z.platform.dK = z.dK = RegExp.$1)
+ z.platform.XY = /ipad/i.test(navigator.userAgent)
+ z.platform.zE = /iphone/i.test(navigator.userAgent)
+ function la(a, b) {
+ a.domEvent = b = window.event || b
+ a.clientX = b.clientX || b.pageX
+ a.clientY = b.clientY || b.pageY
+ a.offsetX = b.offsetX || b.layerX
+ a.offsetY = b.offsetY || b.layerY
+ a.screenX = b.screenX
+ a.screenY = b.screenY
+ a.ctrlKey = b.ctrlKey || b.metaKey
+ a.shiftKey = b.shiftKey
+ a.altKey = b.altKey
+ if (b.touches) {
+ a.touches = []
+ for (var c = 0; c < b.touches.length; c++)
+ a.touches.push({
+ clientX: b.touches[c].clientX,
+ clientY: b.touches[c].clientY,
+ screenX: b.touches[c].screenX,
+ screenY: b.touches[c].screenY,
+ pageX: b.touches[c].pageX,
+ pageY: b.touches[c].pageY,
+ target: b.touches[c].target,
+ identifier: b.touches[c].identifier
+ })
+ }
+ if (b.changedTouches) {
+ a.changedTouches = []
+ for (c = 0; c < b.changedTouches.length; c++)
+ a.changedTouches.push({
+ clientX: b.changedTouches[c].clientX,
+ clientY: b.changedTouches[c].clientY,
+ screenX: b.changedTouches[c].screenX,
+ screenY: b.changedTouches[c].screenY,
+ pageX: b.changedTouches[c].pageX,
+ pageY: b.changedTouches[c].pageY,
+ target: b.changedTouches[c].target,
+ identifier: b.changedTouches[c].identifier
+ })
+ }
+ if (b.targetTouches) {
+ a.targetTouches = []
+ for (c = 0; c < b.targetTouches.length; c++)
+ a.targetTouches.push({
+ clientX: b.targetTouches[c].clientX,
+ clientY: b.targetTouches[c].clientY,
+ screenX: b.targetTouches[c].screenX,
+ screenY: b.targetTouches[c].screenY,
+ pageX: b.targetTouches[c].pageX,
+ pageY: b.targetTouches[c].pageY,
+ target: b.targetTouches[c].target,
+ identifier: b.targetTouches[c].identifier
+ })
+ }
+ a.rotation = b.rotation
+ a.scale = b.scale
+ return a
+ }
+ z.lang.hx = function (a) {
+ var b = window[z.aa]
+ b.eT && delete b.eT[a]
+ }
+ z.event = {}
+ z.M = z.event.M = function (a, b, c) {
+ if (!(a = z.$(a))) return a
+ b = b.replace(/^on/, '')
+ a.addEventListener ? a.addEventListener(b, c, t) : a.attachEvent && a.attachEvent('on' + b, c)
+ return a
+ }
+ z.ed = z.event.ed = function (a, b, c) {
+ if (!(a = z.$(a))) return a
+ b = b.replace(/^on/, '')
+ a.removeEventListener ? a.removeEventListener(b, c, t) : a.detachEvent && a.detachEvent('on' + b, c)
+ return a
+ }
+ z.D.it = function (a, b) {
+ if (!a || !a.className || typeof a.className != 'string') return t
+ var c = -1
+ try {
+ c = a.className == b || a.className.search(RegExp('(\\s|^)' + b + '(\\s|$)'))
+ } catch (e) {
+ return t
+ }
+ return c > -1
+ }
+ z.iL = (function () {
+ function a(a) {
+ document.addEventListener &&
+ ((this.element = a),
+ (this.lL = this.Dk ? 'touchstart' : 'mousedown'),
+ (this.xD = this.Dk ? 'touchmove' : 'mousemove'),
+ (this.wD = this.Dk ? 'touchend' : 'mouseup'),
+ (this.oh = t),
+ (this.mu = this.lu = 0),
+ this.element.addEventListener(this.lL, this, t),
+ ia.M(this.element, 'mousedown', u()),
+ this.handleEvent(s))
+ }
+ a.prototype = {
+ Dk: 'ontouchstart' in window || 'createTouch' in document,
+ start: function (a) {
+ ma(a)
+ this.oh = t
+ this.lu = this.Dk ? a.touches[0].clientX : a.clientX
+ this.mu = this.Dk ? a.touches[0].clientY : a.clientY
+ this.element.addEventListener(this.xD, this, t)
+ this.element.addEventListener(this.wD, this, t)
+ },
+ move: function (a) {
+ na(a)
+ var c = this.Dk ? a.touches[0].clientY : a.clientY
+ if (10 < Math.abs((this.Dk ? a.touches[0].clientX : a.clientX) - this.lu) || 10 < Math.abs(c - this.mu))
+ this.oh = q
+ },
+ end: function (a) {
+ na(a)
+ this.oh ||
+ ((a = document.createEvent('Event')), a.initEvent('tap', t, q), this.element.dispatchEvent(a))
+ this.element.removeEventListener(this.xD, this, t)
+ this.element.removeEventListener(this.wD, this, t)
+ },
+ handleEvent: function (a) {
+ if (a)
+ switch (a.type) {
+ case this.lL:
+ this.start(a)
+ break
+ case this.xD:
+ this.move(a)
+ break
+ case this.wD:
+ this.end(a)
+ }
+ }
+ }
+ return function (b) {
+ return new a(b)
+ }
+ })()
+ var B = window.BMap || {}
+ B.version = '3.0'
+ B.gV = 0.34 > Math.random()
+ 0 <= B.version.indexOf('#') && (B.version = '3.0')
+ B.Fr = []
+ B.Ye = function (a) {
+ this.Fr.push(a)
+ }
+ B.ur = []
+ B.Tm = function (a) {
+ this.ur.push(a)
+ }
+ B.vV = B.apiLoad || u()
+ B.Q0 =
+ B.verify ||
+ function () {
+ B.version &&
+ B.version >= 1.5 &&
+ oa(B.Wc + '?qt=verify&ak=' + qa, function (a) {
+ if (a && a.error !== 0) {
+ if (typeof map !== 'undefined') {
+ map.La().innerHTML = ''
+ map.Ci = {}
+ }
+ B = s
+ var b =
+ '\u767e\u5ea6\u672a\u6388\u6743\u4f7f\u7528\u5730\u56feAPI\uff0c\u53ef\u80fd\u662f\u56e0\u4e3a\u60a8\u63d0\u4f9b\u7684\u5bc6\u94a5\u4e0d\u662f\u6709\u6548\u7684\u767e\u5ea6LBS\u5f00\u653e\u5e73\u53f0\u5bc6\u94a5\uff0c\u6216\u6b64\u5bc6\u94a5\u672a\u5bf9\u672c\u5e94\u7528\u7684\u767e\u5ea6\u5730\u56feJavaScriptAPI\u6388\u6743\u3002\u60a8\u53ef\u4ee5\u8bbf\u95ee\u5982\u4e0b\u7f51\u5740\u4e86\u89e3\u5982\u4f55\u83b7\u53d6\u6709\u6548\u7684\u5bc6\u94a5\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\u3002'
+ switch (a.error) {
+ case 101:
+ b =
+ '\u5f00\u53d1\u8005\u7981\u7528\u4e86\u8be5ak\u7684jsapi\u670d\u52a1\u6743\u9650\u3002\u60a8\u53ef\u4ee5\u8bbf\u95ee\u5982\u4e0b\u7f51\u5740\u4e86\u89e3\u5982\u4f55\u83b7\u53d6\u6709\u6548\u7684\u5bc6\u94a5\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\u3002'
+ break
+ case 102:
+ b =
+ '\u5f00\u53d1\u8005Referer\u4e0d\u6b63\u786e\u3002\u60a8\u53ef\u4ee5\u8bbf\u95ee\u5982\u4e0b\u7f51\u5740\u4e86\u89e3\u5982\u4f55\u83b7\u53d6\u6709\u6548\u7684\u5bc6\u94a5\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\u3002'
+ }
+ alert(b)
+ }
+ })
+ }
+ var qa = window.BMAP_AUTHENTIC_KEY
+ window.BMAP_AUTHENTIC_KEY = s
+ var ra = window.BMap_loadScriptTime,
+ sa = new Date().getTime(),
+ ta = s,
+ ua = q,
+ va = 5042,
+ xa = 5002,
+ ya = 5003,
+ za = 'load_mapclick',
+ Aa = 5038,
+ Ba = 5041,
+ Ca = 5047,
+ Da = 5036,
+ Ea = 5039,
+ Fa = 5037,
+ Ga = 5040,
+ Ha = 5011,
+ Ia = 7e3
+ var Ja = 0
+ function Ka(a, b) {
+ if ((a = z.$(a))) {
+ var c = this
+ z.lang.Ca.call(c)
+ b = b || {}
+ c.K = {
+ tC: 200,
+ Wb: q,
+ px: t,
+ nD: q,
+ To: q,
+ Uo: b.enableWheelZoom || t,
+ gL: q,
+ pD: q,
+ Ns: q,
+ nx: q,
+ tD: q,
+ Ro: b.enable3DBuilding || t,
+ Ic: 25,
+ b1: 240,
+ iV: 450,
+ Vb: G.Vb,
+ Hd: G.Hd,
+ Yx: !!b.Yx,
+ gc: Math.round(b.minZoom) || 1,
+ Yb: Math.round(b.maxZoom) || 19,
+ Hb: b.mapType || La,
+ e5: t,
+ cL: b.drawer || Ja,
+ ox: q,
+ lx: 500,
+ aX: b.enableHighResolution !== t,
+ fj: b.enableMapClick !== t,
+ devicePixelRatio: b.devicePixelRatio || window.devicePixelRatio || 1,
+ fG: 99,
+ ye: b.mapStyle || s,
+ jZ: b.logoControl === t ? t : q,
+ DV: [],
+ Kw: b.beforeClickIcon || s,
+ Ms: t,
+ qN: q
+ }
+ c.K.ye && (this.LY(c.K.ye.controls), this.sM(c.K.ye.geotableId))
+ c.K.ye && c.K.ye.styleId && c.O3(c.K.ye.styleId)
+ c.K.fm = {
+ dark: {
+ backColor: '#2D2D2D',
+ textColor: '#bfbfbf',
+ iconUrl: 'dicons'
+ },
+ normal: {
+ backColor: '#F3F1EC',
+ textColor: '#c61b1b',
+ iconUrl: 'icons'
+ },
+ light: {
+ backColor: '#EBF8FC',
+ textColor: '#017fb4',
+ iconUrl: 'licons'
+ }
+ }
+ b.enableAutoResize && (c.K.nx = b.enableAutoResize)
+ b.enableStreetEntrance === t && (c.K.tD = b.enableStreetEntrance)
+ b.enableDeepZoom === t && (c.K.gL = b.enableDeepZoom)
+ var e = c.K.DV
+ if (H())
+ for (var f = 0, g = e.length; f < g; f++)
+ if (z.ca[e[f]]) {
+ c.K.devicePixelRatio = 1
+ break
+ }
+ e = -1 < navigator.userAgent.toLowerCase().indexOf('android')
+ f = -1 < navigator.userAgent.toLowerCase().indexOf('mqqbrowser')
+ if (-1 < navigator.userAgent.toLowerCase().indexOf('UCBrowser') || (e && f)) c.K.fG = 99
+ c.Wa = a
+ c.IB(a)
+ a.unselectable = 'on'
+ a.innerHTML = ''
+ a.appendChild(c.va())
+ b.size && this.Ce(b.size)
+ e = c.cb()
+ c.width = e.width
+ c.height = e.height
+ c.offsetX = 0
+ c.offsetY = 0
+ c.platform = a.firstChild
+ c.ze = c.platform.firstChild
+ c.ze.style.width = c.width + 'px'
+ c.ze.style.height = c.height + 'px'
+ c.Yd = {}
+ c.re = new J(0, 0)
+ c.fc = new J(0, 0)
+ c.Oa = 3
+ c.Oc = 0
+ c.LC = s
+ c.KC = s
+ c.Ub = ''
+ c.Rw = ''
+ c.Jh = {}
+ c.Jh.custom = {}
+ c.Sa = 0
+ b.useWebGL === t && Na(t)
+ c.P = new Oa(a, {
+ of: 'api',
+ jT: q
+ })
+ c.P.U()
+ c.P.GF(c)
+ b = b || {}
+ e = c.Hb = c.K.Hb
+ c.cd = e.wm()
+ e === Qa && Ra(xa)
+ e === Sa && Ra(ya)
+ e = c.K
+ e.hP = Math.round(b.minZoom)
+ e.gP = Math.round(b.maxZoom)
+ c.bv()
+ c.R = {
+ Jc: t,
+ nc: 0,
+ Bt: 0,
+ MM: 0,
+ l4: 0,
+ lC: t,
+ pF: -1,
+ Qe: []
+ }
+ c.platform.style.cursor = c.K.Vb
+ for (f = 0; f < B.Fr.length; f++) B.Fr[f](c)
+ c.R.pF = f
+ c.ba()
+ K.load('map', function () {
+ c.ib()
+ })
+ c.K.fj &&
+ (setTimeout(function () {
+ Ra(za)
+ }, 1e3),
+ K.load(
+ 'mapclick',
+ function () {
+ window.MPC_Mgr = window.MPC_Mgr || {}
+ window.MPC_Mgr[c.aa] = new Ta(c)
+ },
+ q
+ ))
+ Ua() &&
+ K.load('oppc', function () {
+ c.Dz()
+ })
+ H() &&
+ K.load('opmb', function () {
+ c.Dz()
+ })
+ a = s
+ c.WB = []
+ }
+ }
+ z.lang.ta(Ka, z.lang.Ca, 'Map')
+ z.extend(Ka.prototype, {
+ va: function () {
+ var a = L('div'),
+ b = a.style
+ b.overflow = 'visible'
+ b.position = 'absolute'
+ b.zIndex = '0'
+ b.top = b.left = '0px'
+ var b = L('div', {
+ class: 'BMap_mask'
+ }),
+ c = b.style
+ c.position = 'absolute'
+ c.top = c.left = '0px'
+ c.zIndex = '9'
+ c.overflow = 'hidden'
+ c.WebkitUserSelect = 'none'
+ a.appendChild(b)
+ return a
+ },
+ IB: function (a) {
+ var b = a.style
+ b.overflow = 'hidden'
+ 'absolute' !== Va(a).position && ((b.position = 'relative'), (b.zIndex = 0))
+ b.backgroundColor = '#F3F1EC'
+ b.color = '#000'
+ b.textAlign = 'left'
+ },
+ ba: function () {
+ var a = this
+ a.as = function () {
+ var b = a.cb()
+ if (a.width !== b.width || a.height !== b.height) {
+ var c = new O(a.width, a.height),
+ e = new P('onbeforeresize')
+ e.size = c
+ a.dispatchEvent(e)
+ a.ik((b.width - a.width) / 2, (b.height - a.height) / 2)
+ a.ze.style.width = (a.width = b.width) + 'px'
+ a.ze.style.height = (a.height = b.height) + 'px'
+ c = new P('onresize')
+ c.size = b
+ a.dispatchEvent(c)
+ }
+ }
+ a.K.nx && (a.R.es = setInterval(a.as, 80))
+ },
+ ik: function (a, b, c, e) {
+ var f = this.oa().dc(this.fa()),
+ g = this.cd,
+ i = q
+ c && J.yM(c) && ((this.re = new J(c.lng, c.lat)), (i = t))
+ if ((c = c && e ? g.vj(c, this.Ub) : this.fc))
+ if (((this.fc = new J(c.lng + a * f, c.lat - b * f)), (a = g.nh(this.fc, this.Ub)) && i)) this.re = a
+ },
+ Gg: function (a, b) {
+ if (Wa(a) && (this.bv(), this.dispatchEvent(new P('onzoomstart')), (a = this.Yn(a).zoom), a !== this.Oa)) {
+ this.Oc = this.Oa
+ this.Oa = a
+ var c
+ b ? (c = b) : this.hh() && (c = this.hh().ga())
+ c &&
+ ((c = this.$b(c, this.Oc)),
+ this.ik(this.width / 2 - c.x, this.height / 2 - c.y, this.xb(c, this.Oc), q))
+ this.dispatchEvent(new P('onzoomstartcode'))
+ }
+ },
+ Qc: function (a) {
+ this.Gg(a)
+ },
+ kG: function (a) {
+ this.Gg(this.Oa + 1, a)
+ },
+ lG: function (a) {
+ this.Gg(this.Oa - 1, a)
+ },
+ qi: function (a) {
+ a instanceof J &&
+ ((this.fc = this.cd.vj(a, this.Ub)),
+ (this.re = J.yM(a) ? new J(a.lng, a.lat) : this.cd.nh(this.fc, this.Ub)))
+ },
+ Ag: function (a, b) {
+ a = Math.round(a) || 0
+ b = Math.round(b) || 0
+ this.ik(-a, -b)
+ },
+ Aw: function (a) {
+ a && Xa(a.He) && (a.He(this), this.dispatchEvent(new P('onaddcontrol', a)))
+ },
+ VN: function (a) {
+ a && Xa(a.remove) && (a.remove(), this.dispatchEvent(new P('onremovecontrol', a)))
+ },
+ yo: function (a) {
+ a && Xa(a.na) && (a.na(this), this.dispatchEvent(new P('onaddcontextmenu', a)))
+ },
+ Cp: function (a) {
+ a && Xa(a.remove) && (this.dispatchEvent(new P('onremovecontextmenu', a)), a.remove())
+ },
+ Ga: function (a) {
+ a && Xa(a.He) && (a.He(this), this.dispatchEvent(new P('onaddoverlay', a)))
+ },
+ Qb: function (a) {
+ a && Xa(a.remove) && (a.remove(), this.dispatchEvent(new P('onremoveoverlay', a)))
+ },
+ yK: function () {
+ this.dispatchEvent(new P('onclearoverlays'))
+ },
+ Oe: function (a) {
+ a && this.dispatchEvent(new P('onaddtilelayer', a))
+ },
+ Yf: function (a) {
+ a && this.dispatchEvent(new P('onremovetilelayer', a))
+ },
+ Dg: function (a) {
+ if (this.Hb !== a) {
+ var b = new P('onsetmaptype')
+ b.V4 = this.Hb
+ this.Hb = this.K.Hb = a
+ this.cd = this.Hb.wm()
+ this.ik(0, 0, this.Ka(), q)
+ this.bv()
+ var c = this.Yn(this.fa()).zoom
+ this.Gg(c)
+ this.dispatchEvent(b)
+ b = new P('onmaptypechange')
+ b.Oa = c
+ b.Hb = a
+ this.dispatchEvent(b)
+ ;(a === Ya || a === Sa) && Ra(ya)
+ }
+ },
+ Zf: function (a) {
+ var b = this
+ if (a instanceof J)
+ b.qi(a, {
+ noAnimation: q
+ })
+ else if ($a(a))
+ if (b.Hb === Qa) {
+ var c = G.pC[a]
+ c && ((pt = c.k), b.Zf(pt))
+ } else {
+ var e = this.WH()
+ e.JF(function (c) {
+ 0 === e.xm() && 2 === e.Ia.result.type && (b.Zf(c.Ak(0).point), Qa.wk(a) && b.DF(a))
+ })
+ e.search(a, {
+ log: 'center'
+ })
+ }
+ },
+ Fd: function (a, b) {
+ '[object Undefined]' !== Object.prototype.toString.call(b) && (b = parseInt(b))
+ B.Fn('cus.fire', 'time', {
+ z_loadscripttime: sa - ra
+ })
+ var c = this
+ if ($a(a))
+ if (c.Hb === Qa) {
+ var e = G.pC[a]
+ e && ((pt = e.k), c.Fd(pt, b))
+ } else {
+ var f = c.WH()
+ f.JF(function (e) {
+ if (0 === f.xm() && (2 === f.Ia.result.type || 11 === f.Ia.result.type)) {
+ var e = e.Ak(0).point,
+ g = b || ab.tx(f.Ia.content.level, c)
+ c.Fd(e, g)
+ Qa.wk(a) && c.DF(a)
+ }
+ })
+ f.search(a, {
+ log: 'center'
+ })
+ }
+ else if (a instanceof J && b) {
+ b = c.Yn(b).zoom
+ c.Oc = c.Oa || b
+ c.Oa = b
+ e = c.re
+ c.re = new J(a.lng, a.lat)
+ c.fc = c.cd.vj(c.re, c.Ub)
+ c.LC = c.LC || c.Oa
+ c.KC = c.KC || c.re
+ var g = new P('onload'),
+ i = new P('onloadcode')
+ g.point = new J(a.lng, a.lat)
+ g.pixel = c.$b(c.re, c.Oa)
+ g.zoom = b
+ c.loaded || ((c.loaded = q), c.dispatchEvent(g), ta || (ta = bb()))
+ c.dispatchEvent(i)
+ g = new P('onmoveend')
+ g.mv = 'centerAndZoom'
+ e.pb(c.re) || c.dispatchEvent(g)
+ c.dispatchEvent(new P('onmoveend'))
+ c.Oc !== c.Oa && ((e = new P('onzoomend')), (e.mv = 'centerAndZoom'), c.dispatchEvent(e))
+ c.K.Ro && c.Ro()
+ }
+ },
+ WH: function () {
+ this.R.YM || (this.R.YM = new cb(1))
+ return this.R.YM
+ },
+ reset: function () {
+ this.Fd(this.KC, this.LC, q)
+ },
+ enableDragging: function () {
+ this.K.Wb = q
+ },
+ disableDragging: function () {
+ this.K.Wb = t
+ },
+ enableInertialDragging: function () {
+ this.K.ox = q
+ },
+ disableInertialDragging: function () {
+ this.K.ox = t
+ },
+ enableScrollWheelZoom: function () {
+ this.K.Uo = q
+ },
+ disableScrollWheelZoom: function () {
+ this.K.Uo = t
+ },
+ enableContinuousZoom: function () {
+ this.K.To = q
+ },
+ disableContinuousZoom: function () {
+ this.K.To = t
+ },
+ enableDoubleClickZoom: function () {
+ this.K.nD = q
+ },
+ disableDoubleClickZoom: function () {
+ this.K.nD = t
+ },
+ enableKeyboard: function () {
+ this.K.px = q
+ },
+ disableKeyboard: function () {
+ this.K.px = t
+ },
+ enablePinchToZoom: function () {
+ this.K.Ns = q
+ },
+ disablePinchToZoom: function () {
+ this.K.Ns = t
+ },
+ enableAutoResize: function () {
+ this.K.nx = q
+ this.as()
+ this.R.es || (this.R.es = setInterval(this.as, 80))
+ },
+ disableAutoResize: function () {
+ this.K.nx = t
+ this.R.es && (clearInterval(this.R.es), (this.R.es = s))
+ },
+ Ro: function () {
+ this.K.Ro = q
+ this.Nn ||
+ ((this.Nn = new db({
+ pL: q
+ })),
+ this.Oe(this.Nn))
+ },
+ KW: function () {
+ this.K.Ro = t
+ this.Nn && (this.Yf(this.Nn), (this.Nn = s), delete this.Nn)
+ },
+ cb: function () {
+ return this.xs && this.xs instanceof O
+ ? new O(this.xs.width, this.xs.height)
+ : new O(this.Wa.clientWidth, this.Wa.clientHeight)
+ },
+ Ce: function (a) {
+ a && a instanceof O
+ ? ((this.xs = a), (this.Wa.style.width = a.width + 'px'), (this.Wa.style.height = a.height + 'px'))
+ : (this.xs = s)
+ },
+ Ka: w('re'),
+ fa: w('Oa'),
+ ZV: function () {
+ this.as()
+ },
+ Yn: function (a) {
+ var b = this.K.gc,
+ c = this.K.Yb,
+ e = t,
+ a = Math.round(a)
+ a < b && ((e = q), (a = b))
+ a > c && ((e = q), (a = c))
+ return {
+ zoom: a,
+ yD: e
+ }
+ },
+ La: w('Wa'),
+ $b: function (a, b) {
+ b = b || this.fa()
+ return this.cd.$b(a, b, this.fc, this.cb(), this.Ub)
+ },
+ xb: function (a, b) {
+ b = b || this.fa()
+ return this.cd.xb(a, b, this.fc, this.cb(), this.Ub)
+ },
+ Xe: function (a, b) {
+ if (a) {
+ var c = this.$b(new J(a.lng, a.lat), b)
+ c.x -= this.offsetX
+ c.y -= this.offsetY
+ return c
+ }
+ },
+ JN: function (a, b) {
+ if (a) {
+ var c = new Q(a.x, a.y)
+ c.x += this.offsetX
+ c.y += this.offsetY
+ return this.xb(c, b)
+ }
+ },
+ pointToPixelFor3D: function (a, b) {
+ var c = map.Ub
+ this.Hb === Qa && c && eb.EK(a, this, b)
+ },
+ P4: function (a, b) {
+ var c = map.Ub
+ this.Hb === Qa && c && eb.DK(a, this, b)
+ },
+ Q4: function (a, b) {
+ var c = this,
+ e = map.Ub
+ c.Hb === Qa &&
+ e &&
+ eb.EK(a, c, function (a) {
+ a.x -= c.offsetX
+ a.y -= c.offsetY
+ b && b(a)
+ })
+ },
+ L4: function (a, b) {
+ var c = map.Ub
+ this.Hb === Qa && c && ((a.x += this.offsetX), (a.y += this.offsetY), eb.DK(a, this, b))
+ },
+ ve: function (a) {
+ if (!this.Xx()) return new fb()
+ var b = a || {},
+ a = b.margins || [0, 0, 0, 0],
+ c = b.zoom || s,
+ b = this.xb(
+ {
+ x: a[3],
+ y: this.height - a[2]
+ },
+ c
+ ),
+ a = this.xb(
+ {
+ x: this.width - a[1],
+ y: a[0]
+ },
+ c
+ )
+ return new fb(b, a)
+ },
+ Xx: function () {
+ return !!this.loaded
+ },
+ nS: function (a, b) {
+ for (
+ var c = this.oa(),
+ e = b.margins || [10, 10, 10, 10],
+ f = b.zoomFactor || 0,
+ g = e[1] + e[3],
+ e = e[0] + e[2],
+ i = c.bp(),
+ k = (c = c.sm());
+ k >= i;
+ k--
+ ) {
+ var m = this.oa().dc(k)
+ if (a.YF().lng / m < this.width - g && a.YF().lat / m < this.height - e) break
+ }
+ k += f
+ k < i && (k = i)
+ k > c && (k = c)
+ return k
+ },
+ ht: function (a, b) {
+ var c = {
+ center: this.Ka(),
+ zoom: this.fa()
+ }
+ if (!a || (!a instanceof fb && 0 === a.length) || (a instanceof fb && a.tj())) return c
+ var e = []
+ a instanceof fb ? (e.push(a.Rf()), e.push(a.Ve())) : (e = a.slice(0))
+ for (var b = b || {}, f = [], g = 0, i = e.length; g < i; g++) f.push(this.cd.vj(e[g], this.Ub))
+ e = new fb()
+ for (g = f.length - 1; 0 <= g; g--) e.extend(f[g])
+ if (e.tj()) return c
+ c = e.Ka()
+ f = this.nS(e, b)
+ b.margins &&
+ ((e = b.margins),
+ (g = (e[1] - e[3]) / 2),
+ (e = (e[0] - e[2]) / 2),
+ (i = this.oa().dc(f)),
+ b.offset && ((g = b.offset.width), (e = b.offset.height)),
+ (c.lng += i * g),
+ (c.lat += i * e))
+ c = this.cd.nh(c, this.Ub)
+ return {
+ center: c,
+ zoom: f
+ }
+ },
+ yh: function (a, b) {
+ var c
+ c = a && a.center ? a : this.ht(a, b)
+ var b = b || {},
+ e = b.delay || 200
+ if (c.zoom === this.Oa && b.enableAnimation !== t) {
+ var f = this
+ setTimeout(function () {
+ f.qi(c.center, {
+ duration: 210
+ })
+ }, e)
+ } else this.Fd(c.center, c.zoom)
+ },
+ Tf: w('Yd'),
+ hh: function () {
+ return this.R.qb && this.R.qb.Xa() ? this.R.qb : s
+ },
+ getDistance: function (a, b) {
+ if (a && b) {
+ if (a.pb(b)) return 0
+ var c = 0,
+ c = S.$o(a, b)
+ if (c === s || c === l) c = 0
+ return c
+ }
+ },
+ Hx: function () {
+ var a = [],
+ b = this.ya,
+ c = this.Ee
+ if (b) for (var e in b) b[e] instanceof gb && a.push(b[e])
+ if (c) {
+ e = 0
+ for (b = c.length; e < b; e++) a.push(c[e])
+ }
+ return a
+ },
+ oa: w('Hb'),
+ Dz: function () {
+ for (var a = this.R.pF; a < B.Fr.length; a++) B.Fr[a](this)
+ this.R.pF = a
+ },
+ DF: function (a) {
+ //修改 setCurrentCity
+ //i_setCurrentCity(this, a);
+ this.Ub = Qa.wk(a)
+ this.Rw = Qa.BL(this.Ub)
+ this.Hb === Qa && this.cd instanceof hb && (this.cd.$i = this.Ub)
+ },
+ setDefaultCursor: function (a) {
+ this.K.Vb = a
+ this.platform && (this.platform.style.cursor = this.K.Vb)
+ },
+ getDefaultCursor: function () {
+ return this.K.Vb
+ },
+ setDraggingCursor: function (a) {
+ this.K.Hd = a
+ },
+ getDraggingCursor: function () {
+ return this.K.Hd
+ },
+ Sx: function () {
+ return this.K.aX && 1.5 <= this.K.devicePixelRatio
+ },
+ Cw: function (a, b) {
+ b ? this.Jh[b] || (this.Jh[b] = {}) : (b = 'custom')
+ a.tag = b
+ a instanceof ib && ((this.Jh[b][a.aa] = a), a.na(this))
+ var c = this
+ K.load(
+ 'hotspot',
+ function () {
+ c.Dz()
+ },
+ q
+ )
+ },
+ VZ: function (a, b) {
+ b || (b = 'custom')
+ this.Jh[b][a.aa] && delete this.Jh[b][a.aa]
+ },
+ dm: function (a) {
+ a || (a = 'custom')
+ this.Jh[a] = {}
+ },
+ bv: function () {
+ var a = this.Hb.bp(),
+ b = this.Hb.sm(),
+ c = this.K
+ c.gc = c.hP || a
+ c.Yb = c.gP || b
+ c.gc < a && (c.gc = a)
+ c.Yb > b && (c.Yb = b)
+ },
+ setMinZoom: function (a) {
+ a = Math.round(a)
+ a > this.K.Yb && (a = this.K.Yb)
+ this.K.hP = a
+ this.HJ()
+ },
+ setMaxZoom: function (a) {
+ a = Math.round(a)
+ a < this.K.gc && (a = this.K.gc)
+ this.K.gP = a
+ this.HJ()
+ },
+ HJ: function () {
+ this.bv()
+ var a = this.K
+ this.Oa < a.gc ? this.Qc(a.gc) : this.Oa > a.Yb && this.Qc(a.Yb)
+ var b = new P('onzoomspanchange')
+ b.gc = a.gc
+ b.Yb = a.Yb
+ this.dispatchEvent(b)
+ },
+ Q3: w('WB'),
+ getKey: function () {
+ return qa
+ },
+ Zt: function (a) {
+ var b = this
+ window.MPC_Mgr && window.MPC_Mgr[b.aa] && window.MPC_Mgr[b.aa].close()
+ b.K.fj = t
+ B.Fn('cus.fire', 'count', 'z_setmapstylecount')
+ if (a) {
+ b = this
+ a.styleJson && (a.styleStr = b.Z_(a.styleJson))
+ H() && z.ca.Iy
+ ? setTimeout(function () {
+ b.K.ye = a
+ b.dispatchEvent(new P('onsetcustomstyles', a))
+ }, 50)
+ : ((this.K.ye = a), this.dispatchEvent(new P('onsetcustomstyles', a)), this.sM(b.K.ye.geotableId))
+ var c = {
+ style: a.style
+ }
+ a.features && 0 < a.features.length && (c.features = q)
+ a.styleJson && 0 < a.styleJson.length && (c.styleJson = q)
+ Ra(5050, c)
+ a.style &&
+ (c = b.K.fm[a.style] ? b.K.fm[a.style].backColor : b.K.fm.normal.backColor) &&
+ (this.La().style.backgroundColor = c)
+ }
+ },
+ LY: function (a) {
+ this.controls ||
+ (this.controls = {
+ navigationControl: new jb(),
+ scaleControl: new kb(),
+ overviewMapControl: new lb(),
+ mapTypeControl: new mb()
+ })
+ var b = this,
+ c
+ for (c in this.controls) b.VN(b.controls[c])
+ a = a || []
+ z.mc.Fb(a, function (a) {
+ b.Aw(b.controls[a])
+ })
+ },
+ sM: function (a) {
+ a
+ ? (this.vs && this.vs.Cf === a) ||
+ (this.Yf(this.vs),
+ (this.vs = new nb({
+ geotableId: a
+ })),
+ this.Oe(this.vs))
+ : this.Yf(this.vs)
+ },
+ Sb: function () {
+ var a = this.fa() >= this.K.fG && this.oa() === La && 18 >= this.fa(),
+ b = t
+ try {
+ document.createElement('canvas').getContext('2d'), (b = q)
+ } catch (c) {
+ b = t
+ }
+ return a && b
+ },
+ getCurrentCity: function () {
+ return {
+ name: this.$g,
+ code: this.fs
+ }
+ },
+ tm: function () {
+ this.P.co()
+ return this.P
+ },
+ PY: function (a) {
+ B.alog('cus.fire', 'count', 'z_loadindoormapcount')
+ La.setMaxZoom(a.maxZoom || 19)
+ var b = new P('oninitindoorlayer')
+ b.vf = a
+ this.dispatchEvent(b)
+ this.K.Ms = t
+ },
+ D_: function (a) {
+ this.K.qN = a
+ this.Va.Jb.parentElement.style.display = a ? 'block' : 'none'
+ },
+ setPanorama: function (a) {
+ this.P = a
+ this.P.GF(this)
+ },
+ Z_: function (a) {
+ for (
+ var b = {
+ featureType: 't',
+ elementType: 'e',
+ visibility: 'v',
+ color: 'c',
+ lightness: 'l',
+ saturation: 's',
+ weight: 'w',
+ zoom: 'z',
+ hue: 'h'
+ },
+ c = {
+ all: 'all',
+ geometry: 'g',
+ 'geometry.fill': 'g.f',
+ 'geometry.stroke': 'g.s',
+ labels: 'l',
+ 'labels.text.fill': 'l.t.f',
+ 'labels.text.stroke': 'l.t.s',
+ 'lables.text': 'l.t',
+ 'labels.icon': 'l.i'
+ },
+ e = [],
+ f = 0,
+ g;
+ (g = a[f]);
+ f++
+ ) {
+ var i = g.stylers
+ delete g.stylers
+ z.extend(g, i)
+ var i = [],
+ k
+ for (k in b)
+ if (g[k])
+ if ('elementType' === k) i.push(b[k] + ':' + c[g[k]])
+ else {
+ switch (g[k]) {
+ case 'poilabel':
+ g[k] = 'poi'
+ break
+ case 'districtlabel':
+ g[k] = 'label'
+ }
+ i.push(b[k] + ':' + g[k])
+ }
+ 2 < i.length && e.push(i.join('|'))
+ }
+ return e.join(',')
+ }
+ })
+ function Ra(a, b) {
+ if (a) {
+ var b = b || {},
+ c = '',
+ e
+ for (e in b) c = c + '&' + e + '=' + encodeURIComponent(b[e])
+ var f = function (a) {
+ a &&
+ ((ob = q),
+ setTimeout(function () {
+ // pb.src = B.Wc + 'images/blank.gif?' + a.src
+ }, 50))
+ },
+ g = function () {
+ var a = qb.shift()
+ a && f(a)
+ }
+ e = (1e8 * Math.random()).toFixed(0)
+ ob
+ ? qb.push({
+ src:
+ 'product=jsapi&sub_product=jsapi&v=' +
+ B.version +
+ '&sub_product_v=' +
+ B.version +
+ '&t=' +
+ e +
+ '&code=' +
+ a +
+ '&da_src=' +
+ a +
+ c
+ })
+ : f({
+ src:
+ 'product=jsapi&sub_product=jsapi&v=' +
+ B.version +
+ '&sub_product_v=' +
+ B.version +
+ '&t=' +
+ e +
+ '&code=' +
+ a +
+ '&da_src=' +
+ a +
+ c
+ })
+ rb ||
+ (z.M(pb, 'load', function () {
+ ob = t
+ g()
+ }),
+ z.M(pb, 'error', function () {
+ ob = t
+ g()
+ }),
+ (rb = q))
+ }
+ }
+ var ob,
+ rb,
+ qb = [],
+ pb = new Image()
+ Ra(5e3, {
+ device_pixel_ratio: window.devicePixelRatio,
+ platform: navigator.platform
+ })
+ B.mM = {
+ TILE_BASE_URLS: [
+ 'gss0.bdstatic.com/5bwHcj7lABFU8t_jkk_Z1zRvfdw6buu',
+ 'gss0.bdstatic.com/5bwHcj7lABFV8t_jkk_Z1zRvfdw6buu',
+ 'gss0.bdstatic.com/5bwHcj7lABFS8t_jkk_Z1zRvfdw6buu',
+ 'gss0.bdstatic.com/5bwHcj7lABFT8t_jkk_Z1zRvfdw6buu',
+ 'gss0.bdstatic.com/5bwHcj7lABFY8t_jkk_Z1zRvfdw6buu'
+ ],
+ TILE_ONLINE_URLS: [
+ 'gss0.bdstatic.com/8bo_dTSlR1gBo1vgoIiO_jowehsv',
+ 'gss0.bdstatic.com/8bo_dTSlRMgBo1vgoIiO_jowehsv',
+ 'gss0.bdstatic.com/8bo_dTSlRcgBo1vgoIiO_jowehsv',
+ 'gss0.bdstatic.com/8bo_dTSlRsgBo1vgoIiO_jowehsv',
+ 'gss0.bdstatic.com/8bo_dTSlQ1gBo1vgoIiO_jowehsv'
+ ],
+ TIlE_PERSPECT_URLS: [
+ 'gss0.bdstatic.com/-OR1cTe9KgQFm2e88IuM_a',
+ 'gss0.bdstatic.com/-ON1cTe9KgQFm2e88IuM_a',
+ 'gss0.bdstatic.com/-OZ1cTe9KgQFm2e88IuM_a',
+ 'gss0.bdstatic.com/-OV1cTe9KgQFm2e88IuM_a'
+ ],
+ geolocControl: 'gsp0.baidu.com/8LkJsjOpB1gCo2Kml5_Y_D3',
+ TILES_YUN_HOST: [
+ 'gsp0.baidu.com/-eR1bSahKgkFkRGko9WTAnF6hhy',
+ 'gsp0.baidu.com/-eN1bSahKgkFkRGko9WTAnF6hhy',
+ 'gsp0.baidu.com/-eZ1bSahKgkFkRGko9WTAnF6hhy',
+ 'gsp0.baidu.com/-eV1bSahKgkFkRGko9WTAnF6hhy'
+ ],
+ traffic: 'gsp0.baidu.com/7_AZsjOpB1gCo2Kml5_Y_DAcsMJiwa',
+ iw_pano: 'gss0.bdstatic.com/5LUZemba_QUU8t7mm9GUKT-xh_',
+ message: 'gsp0.baidu.com/7vo0bSba2gU2pMbgoY3K',
+ baidumap: 'gsp0.baidu.com/80MWsjip0QIZ8tyhnq',
+ wuxian: 'gsp0.baidu.com/6a1OdTeaKgQFm2e88IuM_a',
+ pano: [
+ 'gss0.bdstatic.com/5LUZemba_QUU8t7mm9GUKT-xh_',
+ 'gss0.bdstatic.com/5LUZemfa_QUU8t7mm9GUKT-xh_',
+ 'gss0.bdstatic.com/5LUZemja_QUU8t7mm9GUKT-xh_'
+ ],
+ main_domain_nocdn: {
+ baidu: 'gsp0.baidu.com/9_Q4sjOpB1gCo2Kml5_Y_D3',
+ other: 'api.map.baidu.com'
+ },
+ main_domain_cdn: {
+ baidu: [
+ 'gss0.bdstatic.com/9_Q4vHSd2RZ3otebn9fN2DJv',
+ 'gss0.baidu.com/9_Q4vXSd2RZ3otebn9fN2DJv',
+ 'gss0.bdstatic.com/9_Q4vnSd2RZ3otebn9fN2DJv'
+ ],
+ other: ['api.map.baidu.com'],
+ webmap: ['gss0.baidu.com/6b1IcTe9R1gBo1vgoIiO_jowehsv']
+ },
+ map_click: 'gsp0.baidu.com/80MWbzKh2wt3n2qy8IqW0jdnxx1xbK',
+ vector_traffic: 'gss0.bdstatic.com/8aZ1cTe9KgQIm2_p8IuM_a'
+ }
+ B.DY = {
+ TILE_BASE_URLS: [
+ 'shangetu0.map.bdimg.com',
+ 'shangetu1.map.bdimg.com',
+ 'shangetu2.map.bdimg.com',
+ 'shangetu3.map.bdimg.com',
+ 'shangetu4.map.bdimg.com'
+ ],
+ TILE_ONLINE_URLS: [
+ 'online0.map.bdimg.com',
+ 'online1.map.bdimg.com',
+ 'online2.map.bdimg.com',
+ 'online3.map.bdimg.com',
+ 'online4.map.bdimg.com'
+ ],
+ TIlE_PERSPECT_URLS: ['d0.map.baidu.com', 'd1.map.baidu.com', 'd2.map.baidu.com', 'd3.map.baidu.com'],
+ geolocControl: 'loc.map.baidu.com',
+ TILES_YUN_HOST: [
+ 'g0.api.map.baidu.com',
+ 'g1.api.map.baidu.com',
+ 'g2.api.map.baidu.com',
+ 'g3.api.map.baidu.com'
+ ],
+ traffic: 'its.map.baidu.com:8002',
+ iw_pano: 'pcsv0.map.bdimg.com',
+ message: 'j.map.baidu.com',
+ baidumap: 'map.baidu.com',
+ wuxian: 'wuxian.baidu.com',
+ pano: ['pcsv0.map.bdimg.com', 'pcsv1.map.bdimg.com', 'pcsv2.map.bdimg.com'],
+ main_domain_nocdn: {
+ baidu: 'api.map.baidu.com'
+ },
+ main_domain_cdn: {
+ baidu: ['api0.map.bdimg.com', 'api1.map.bdimg.com', 'api2.map.bdimg.com'],
+ webmap: ['webmap0.map.bdimg.com']
+ },
+ map_click: 'mapclick.map.baidu.com',
+ vector_traffic: 'or.map.bdimg.com'
+ }
+ B.F0 = {
+ 0: {
+ proto: 'http://',
+ domain: B.DY
+ },
+ 1: {
+ proto: 'https://',
+ domain: B.mM
+ },
+ 2: {
+ proto: 'https://',
+ domain: B.mM
+ }
+ }
+ window.BMAP_PROTOCOL && 'https' === window.BMAP_PROTOCOL && (window.HOST_TYPE = 2)
+ B.xu = window.HOST_TYPE || '0'
+ B.url = B.F0[B.xu]
+ B.vp = B.url.proto + B.url.domain.baidumap + '/'
+ //B.vp =bmapcfg.home; //修改,本地工具资源引用(离线路径)
+ B.Wc =
+ B.url.proto + ('2' == B.xu ? B.url.domain.main_domain_nocdn.other : B.url.domain.main_domain_nocdn.baidu) + '/'
+ //B.Wc =bmapcfg.home; //修改,本地工具资源引用(离线路径)
+ //B.ka=B.url.proto+("2"==B.xu?B.url.domain.main_domain_cdn.other[0]:B.url.domain.main_domain_cdn.baidu[0])+"/";
+ B.ka = bmapcfg.home //修改,本地工具资源引用(离线路径)
+ B.Yi = B.url.proto + B.url.domain.main_domain_cdn.webmap[0] + '/'
+ //B.Yi =bmapcfg.home; //修改,本地工具资源引用(离线路径)
+ B.vg = function (a, b) {
+ var c,
+ e,
+ b = b || ''
+ switch (a) {
+ case 'main_domain_nocdn':
+ c = B.Wc + b
+ break
+ case 'main_domain_cdn':
+ c = B.ka + b
+ break
+ default:
+ ;(e = B.url.domain[a]),
+ '[object Array]' == Object.prototype.toString.call(e)
+ ? ((c = []),
+ z.mc.Fb(e, function (a, e) {
+ c[e] = B.url.proto + a + '/' + b
+ }))
+ : (c = B.url.proto + B.url.domain[a] + '/' + b)
+ }
+ return c
+ }
+ function tb(a) {
+ var b = {
+ duration: 1e3,
+ Ic: 30,
+ No: 0,
+ kc: ub.UM,
+ Kt: u()
+ }
+ this.dg = []
+ if (a) for (var c in a) b[c] = a[c]
+ this.j = b
+ if (Wa(b.No)) {
+ var e = this
+ setTimeout(function () {
+ e.start()
+ }, b.No)
+ } else b.No != vb && this.start()
+ }
+ var vb = 'INFINITE'
+ tb.prototype.start = function () {
+ this.Uu = bb()
+ this.gA = this.Uu + this.j.duration
+ wb(this)
+ }
+ tb.prototype.add = function (a) {
+ this.dg.push(a)
+ }
+ function wb(a) {
+ var b = bb()
+ b >= a.gA
+ ? (Xa(a.j.va) && a.j.va(a.j.kc(1)),
+ Xa(a.j.finish) && a.j.finish(),
+ 0 < a.dg.length && ((b = a.dg[0]), (b.dg = [].concat(a.dg.slice(1))), b.start()))
+ : ((a.Jy = a.j.kc((b - a.Uu) / a.j.duration)),
+ Xa(a.j.va) && a.j.va(a.Jy),
+ a.TF ||
+ (a.Yr = setTimeout(function () {
+ wb(a)
+ }, 1e3 / a.j.Ic)))
+ }
+ tb.prototype.stop = function (a) {
+ this.TF = q
+ for (var b = 0; b < this.dg.length; b++) this.dg[b].stop(), (this.dg[b] = s)
+ this.dg.length = 0
+ this.Yr && (clearTimeout(this.Yr), (this.Yr = s))
+ this.j.Kt(this.Jy)
+ a && ((this.gA = this.Uu), wb(this))
+ }
+ tb.prototype.cancel = ga(1)
+ var ub = {
+ UM: function (a) {
+ return a
+ },
+ reverse: function (a) {
+ return 1 - a
+ },
+ iD: function (a) {
+ return a * a
+ },
+ hD: function (a) {
+ return Math.pow(a, 3)
+ },
+ Ks: function (a) {
+ return -(a * (a - 2))
+ },
+ eL: function (a) {
+ return Math.pow(a - 1, 3) + 1
+ },
+ dL: function (a) {
+ return 0.5 > a ? 2 * a * a : -2 * (a - 2) * a - 1
+ },
+ R2: function (a) {
+ return 0.5 > a ? 4 * Math.pow(a, 3) : 4 * Math.pow(a - 1, 3) + 1
+ },
+ S2: function (a) {
+ return (1 - Math.cos(Math.PI * a)) / 2
+ }
+ }
+ ub['ease-in'] = ub.iD
+ ub['ease-out'] = ub.Ks
+ var G = {
+ oG: 34,
+ pG: 21,
+ qG: new O(21, 32),
+ wP: new O(10, 32),
+ vP: new O(24, 36),
+ uP: new O(12, 36),
+ mG: new O(13, 1),
+ qa: B.ka + 'images/',
+ a4: 'http://api0.map.bdimg.com/images/',
+ nG: B.ka + 'images/markers_new.png',
+ sP: 24,
+ tP: 73,
+ pC: {
+ '\u5317\u4eac': {
+ yy: 'bj',
+ k: new J(116.403874, 39.914889)
+ },
+ '\u4e0a\u6d77': {
+ yy: 'sh',
+ k: new J(121.487899, 31.249162)
+ },
+ '\u6df1\u5733': {
+ yy: 'sz',
+ k: new J(114.025974, 22.546054)
+ },
+ '\u5e7f\u5dde': {
+ yy: 'gz',
+ k: new J(113.30765, 23.120049)
+ }
+ },
+ fontFamily: 'arial,sans-serif'
+ }
+ z.ca.Te
+ ? (z.extend(G, {
+ TK: 'url(' + G.qa + 'ruler.cur),crosshair',
+ Vb: '-moz-grab',
+ Hd: '-moz-grabbing'
+ }),
+ z.platform.IM && (G.fontFamily = 'arial,simsun,sans-serif'))
+ : z.ca.Qw || z.ca.Iy
+ ? z.extend(G, {
+ TK: 'url(' + G.qa + 'ruler.cur) 2 6,crosshair',
+ Vb: 'url(' + G.qa + 'openhand.cur) 8 8,default',
+ Hd: 'url(' + G.qa + 'closedhand.cur) 8 8,move'
+ })
+ : z.extend(G, {
+ TK: 'url(' + G.qa + 'ruler.cur),crosshair',
+ Vb: 'url(' + G.qa + 'openhand.cur),default',
+ Hd: 'url(' + G.qa + 'closedhand.cur),move'
+ })
+ function xb(a, b) {
+ var c = a.style
+ c.left = b[0] + 'px'
+ c.top = b[1] + 'px'
+ }
+ function yb(a) {
+ 0 < z.ca.ia ? (a.unselectable = 'on') : (a.style.MozUserSelect = 'none')
+ }
+ function zb(a) {
+ return a && a.parentNode && 11 !== a.parentNode.nodeType
+ }
+ function Ab(a, b) {
+ z.D.Vx(a, 'beforeEnd', b)
+ return a.lastChild
+ }
+ function Bb(a) {
+ for (
+ var b = {
+ left: 0,
+ top: 0
+ };
+ a && a.offsetParent;
+
+ )
+ (b.left += a.offsetLeft), (b.top += a.offsetTop), (a = a.offsetParent)
+ return b
+ }
+ function ma(a) {
+ a = window.event || a
+ a.stopPropagation ? a.stopPropagation() : (a.cancelBubble = q)
+ }
+ function Cb(a) {
+ a = window.event || a
+ a.preventDefault ? a.preventDefault() : (a.returnValue = t)
+ return t
+ }
+ function na(a) {
+ ma(a)
+ return Cb(a)
+ }
+ function Eb() {
+ var a = document.documentElement,
+ b = document.body
+ return a && (a.scrollTop || a.scrollLeft)
+ ? [a.scrollTop, a.scrollLeft]
+ : b
+ ? [b.scrollTop, b.scrollLeft]
+ : [0, 0]
+ }
+ function Fb(a, b) {
+ if (a && b) return Math.round(Math.sqrt(Math.pow(a.x - b.x, 2) + Math.pow(a.y - b.y, 2)))
+ }
+ function Gb(a, b) {
+ var c = [],
+ b =
+ b ||
+ function (a) {
+ return a
+ },
+ e
+ for (e in a) c.push(e + '=' + b(a[e]))
+ return c.join('&')
+ }
+ function L(a, b, c) {
+ var e = document.createElement(a)
+ c && (e = document.createElementNS(c, a))
+ return z.D.CF(e, b || {})
+ }
+ function Va(a) {
+ if (a.currentStyle) return a.currentStyle
+ if (a.ownerDocument && a.ownerDocument.defaultView) return a.ownerDocument.defaultView.getComputedStyle(a, s)
+ }
+ function Xa(a) {
+ return 'function' === typeof a
+ }
+ function Wa(a) {
+ return 'number' === typeof a
+ }
+ function $a(a) {
+ return 'string' == typeof a
+ }
+ function Hb(a) {
+ return 'undefined' != typeof a
+ }
+ function Ib(a) {
+ return 'object' == typeof a
+ }
+ var Jb = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='
+ function Kb(a) {
+ for (var b = '', c = 0; c < a.length; c++) {
+ var e = a.charCodeAt(c) << 1,
+ f = (e = e.toString(2))
+ 8 > e.length && ((f = '00000000' + e), (f = f.substr(e.length, 8)))
+ b += f
+ }
+ a = 5 - (b.length % 5)
+ e = []
+ for (c = 0; c < a; c++) e[c] = '0'
+ b = e.join('') + b
+ f = []
+ for (c = 0; c < b.length / 5; c++) (e = b.substr(5 * c, 5)), f.push(String.fromCharCode(parseInt(e, 2) + 50))
+ return f.join('') + a.toString()
+ }
+ function Lb(a) {
+ var b = '',
+ c,
+ e,
+ f = '',
+ g,
+ i = '',
+ k = 0
+ g = /[^A-Za-z0-9\+\/\=]/g
+ if (!a || g.exec(a)) return a
+ a = a.replace(/[^A-Za-z0-9\+\/\=]/g, '')
+ do
+ (c = Jb.indexOf(a.charAt(k++))),
+ (e = Jb.indexOf(a.charAt(k++))),
+ (g = Jb.indexOf(a.charAt(k++))),
+ (i = Jb.indexOf(a.charAt(k++))),
+ (c = (c << 2) | (e >> 4)),
+ (e = ((e & 15) << 4) | (g >> 2)),
+ (f = ((g & 3) << 6) | i),
+ (b += String.fromCharCode(c)),
+ 64 != g && (b += String.fromCharCode(e)),
+ 64 != i && (b += String.fromCharCode(f))
+ while (k < a.length)
+ return b
+ }
+ var P = z.lang.Ju
+ function H() {
+ return !(!z.platform.zE && !z.platform.XY && !z.platform.Jm)
+ }
+ function Ua() {
+ return !(!z.platform.IM && !z.platform.AM && !z.platform.cZ)
+ }
+ function bb() {
+ return new Date().getTime()
+ }
+ function Mb() {
+ var a = document.body.appendChild(L('div'))
+ a.innerHTML = ''
+ var b = a.firstChild
+ if (!b.style) return t
+ b.style.behavior = 'url(#default#VML)'
+ b = b ? 'object' === typeof b.adj : q
+ a.parentNode.removeChild(a)
+ return b
+ }
+ function Nb() {
+ return !!document.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#Shape', '1.1')
+ }
+ function Ob() {
+ return !!L('canvas').getContext
+ }
+ function Pb(a) {
+ return (a * Math.PI) / 180
+ }
+ B.iZ = (function () {
+ var a = q,
+ b = q,
+ c = q,
+ e = q,
+ f = 0,
+ g = 0,
+ i = 0,
+ k = 0
+ return {
+ eR: function () {
+ f += 1
+ a &&
+ ((a = t),
+ setTimeout(function () {
+ Ra(5054, {
+ pic: f
+ })
+ a = q
+ f = 0
+ }, 1e4))
+ },
+ v1: function () {
+ g += 1
+ b &&
+ ((b = t),
+ setTimeout(function () {
+ Ra(5055, {
+ move: g
+ })
+ b = q
+ g = 0
+ }, 1e4))
+ },
+ x1: function () {
+ i += 1
+ c &&
+ ((c = t),
+ setTimeout(function () {
+ Ra(5056, {
+ zoom: i
+ })
+ c = q
+ i = 0
+ }, 1e4))
+ },
+ w1: function (a) {
+ k += a
+ e &&
+ ((e = t),
+ setTimeout(function () {
+ Ra(5057, {
+ tile: k
+ })
+ e = q
+ k = 0
+ }, 5e3))
+ }
+ }
+ })()
+ B.iq = {
+ DG: '#83a1ff',
+ kq: '#808080'
+ }
+ function Qb(a, b, c) {
+ b.Om || ((b.Om = []), (b.handle = {}))
+ b.Om.push({
+ filter: c,
+ nm: a
+ })
+ b.addEventListener ||
+ (b.addEventListener = function (a, c) {
+ b.attachEvent('on' + a, c)
+ })
+ b.handle.click ||
+ (b.addEventListener(
+ 'click',
+ function (a) {
+ for (var c = a.target || a.srcElement; c != b; ) {
+ Rb(b.Om, function (b, i) {
+ RegExp(i.filter).test(c.getAttribute('filter')) && i.nm.call(c, a, c.getAttribute('filter'))
+ })
+ c = c.parentNode
+ }
+ },
+ t
+ ),
+ (b.handle.click = q))
+ }
+ function Rb(a, b) {
+ for (var c = 0, e = a.length; c < e; c++) b(c, a[c])
+ }
+ void (function (a, b, c) {
+ void (function (a, b, c) {
+ function i(a) {
+ if (!a.Mo) {
+ for (var c = q, e = [], g = a.ZZ, k = 0; g && k < g.length; k++) {
+ var m = g[k],
+ n = (pa[m] = pa[m] || {})
+ if (n.Mo || n == a) e.push(n.Nc)
+ else {
+ c = t
+ if (!n.DW && ((m = (Ma.get('alias') || {})[m] || m + '.js'), !R[m])) {
+ R[m] = q
+ var o = b.createElement('script'),
+ p = b.getElementsByTagName('script')[0]
+ o.async = q
+ o.src = m
+ p.parentNode.insertBefore(o, p)
+ }
+ n.bz = n.bz || {}
+ n.bz[a.name] = a
+ }
+ }
+ if (c) {
+ a.Mo = q
+ a.KK && (a.Nc = a.KK.apply(a, e))
+ for (var v in a.bz) i(a.bz[v])
+ }
+ }
+ }
+ function k(a) {
+ return (a || new Date()) - F
+ }
+ function m(a, b, c) {
+ if (a) {
+ 'string' == typeof a && ((c = b), (b = a), (a = M))
+ try {
+ a == M
+ ? ((N[b] = N[b] || []), N[b].unshift(c))
+ : a.addEventListener
+ ? a.addEventListener(b, c, t)
+ : a.attachEvent && a.attachEvent('on' + b, c)
+ } catch (e) {}
+ }
+ }
+ function n(a, b, c) {
+ if (a) {
+ 'string' == typeof a && ((c = b), (b = a), (a = M))
+ try {
+ if (a == M) {
+ var e = N[b]
+ if (e) for (var f = e.length; f--; ) e[f] === c && e.splice(f, 1)
+ } else
+ a.removeEventListener
+ ? a.removeEventListener(b, c, t)
+ : a.detachEvent && a.detachEvent('on' + b, c)
+ } catch (g) {}
+ }
+ }
+ function o(a) {
+ var b = N[a],
+ c = 0
+ if (b) {
+ for (var e = [], f = arguments, g = 1; g < f.length; g++) e.push(f[g])
+ for (g = b.length; g--; ) b[g].apply(this, e) && c++
+ return c
+ }
+ }
+ function p(a, b) {
+ if (a && b) {
+ var c = new Image(1, 1),
+ e = [],
+ f = 'img_' + +new Date(),
+ g
+ for (g in b) b[g] && e.push(g + '=' + encodeURIComponent(b[g]))
+ M[f] = c
+ c.onload = c.onerror = function () {
+ M[f] = c = c.onload = c.onerror = s
+ delete M[f]
+ }
+ c.src = a + '?' + e.join('&')
+ }
+ }
+ function v() {
+ var a = arguments,
+ b = a[0]
+ if (this.JK || /^(on|un|set|get|create)$/.test(b)) {
+ for (var b = y.prototype[b], c = [], e = 1, f = a.length; e < f; e++) c.push(a[e])
+ 'function' == typeof b && b.apply(this, c)
+ } else this.iK.push(a)
+ }
+ function x(a, b) {
+ var c = {},
+ e
+ for (e in a) a.hasOwnProperty(e) && (c[e] = a[e])
+ for (e in b) b.hasOwnProperty(e) && (c[e] = b[e])
+ return c
+ }
+ function y(a) {
+ this.name = a
+ this.Ps = {
+ protocolParameter: {
+ postUrl: s,
+ protocolParameter: s
+ }
+ }
+ this.iK = []
+ this.alog = M
+ }
+ function A(a) {
+ a = a || 'default'
+ if ('*' == a) {
+ var a = [],
+ b
+ for (b in fa) a.push(fa[b])
+ return a
+ }
+ ;(b = fa[a]) || (b = fa[a] = new y(a))
+ return b
+ }
+ var E = c.alog
+ if (!E || !E.Mo) {
+ var C = b.all && a.attachEvent,
+ F = (E && E.IE) || +new Date(),
+ D = a.o4 || (+new Date()).toString(36) + Math.random().toString(36).substr(2, 3),
+ I = 0,
+ R = {},
+ M = function (a) {
+ var b = arguments,
+ c,
+ e,
+ f,
+ g
+ if ('define' == a || 'require' == a) {
+ for (e = 1; e < b.length; e++)
+ switch (typeof b[e]) {
+ case 'string':
+ c = b[e]
+ break
+ case 'object':
+ f = b[e]
+ break
+ case 'function':
+ g = b[e]
+ }
+ 'require' == a && (c && !f && (f = [c]), (c = s))
+ c = !c ? '#' + I++ : c
+ e = pa[c] = pa[c] || {}
+ e.Mo || ((e.name = c), (e.ZZ = f), (e.KK = g), 'define' == a && (e.DW = q), i(e))
+ } else
+ 'function' == typeof a
+ ? a(M)
+ : ('' + a).replace(/^(?:([\w$_]+)\.)?(\w+)$/, function (a, c, e) {
+ b[0] = e
+ v.apply(M.bG(c), b)
+ })
+ },
+ N = {},
+ fa = {},
+ pa = {
+ i2: {
+ name: 'alog',
+ Mo: q,
+ Nc: M
+ }
+ }
+ y.prototype.start = y.prototype.create = function (a) {
+ if (!this.JK) {
+ 'object' == typeof a && this.set(a)
+ this.JK = new Date()
+ for (this.Qs('create', this); (a = this.iK.shift()); ) v.apply(this, a)
+ }
+ }
+ y.prototype.send = function (a, b) {
+ var c = x(
+ {
+ ts: k().toString(36),
+ t: a,
+ sid: D
+ },
+ this.Ps
+ )
+ if ('object' == typeof b) c = x(c, b)
+ else {
+ var e = arguments
+ switch (a) {
+ case 'pageview':
+ e[1] && (c.page = e[1])
+ e[2] && (c.title = e[2])
+ break
+ case 'event':
+ e[1] && (c.eventCategory = e[1])
+ e[2] && (c.eventAction = e[2])
+ e[3] && (c.eventLabel = e[3])
+ e[4] && (c.eventValue = e[4])
+ break
+ case 'timing':
+ e[1] && (c.timingCategory = e[1])
+ e[2] && (c.timingVar = e[2])
+ e[3] && (c.timingValue = e[3])
+ e[4] && (c.timingLabel = e[4])
+ break
+ case 'exception':
+ e[1] && (c.exDescription = e[1])
+ e[2] && (c.exFatal = e[2])
+ break
+ default:
+ return
+ }
+ }
+ this.Qs('send', c)
+ var f
+ if ((e = this.Ps.protocolParameter)) {
+ var g = {}
+ for (f in c) e[f] !== s && (g[e[f] || f] = c[f])
+ f = g
+ } else f = c
+ p(this.Ps.postUrl, f)
+ }
+ y.prototype.set = function (a, b) {
+ if ('string' == typeof a)
+ 'protocolParameter' == a &&
+ (b = x(
+ {
+ postUrl: s,
+ protocolParameter: s
+ },
+ b
+ )),
+ (this.Ps[a] = b)
+ else if ('object' == typeof a) for (var c in a) this.set(c, a[c])
+ }
+ y.prototype.get = function (a, b) {
+ var c = this.Ps[a]
+ 'function' == typeof b && b(c)
+ return c
+ }
+ y.prototype.Qs = function (a, b) {
+ return M.Qs(this.name + '.' + a, b)
+ }
+ y.prototype.M = function (a, b) {
+ M.M(this.name + '.' + a, b)
+ }
+ y.prototype.ed = function (a, b) {
+ M.ed(this.name + '.' + a, b)
+ }
+ M.name = 'alog'
+ M.BO = D
+ M.Mo = q
+ M.timestamp = k
+ M.ed = n
+ M.M = m
+ M.Qs = o
+ M.bG = A
+ M('init')
+ var wa = y.prototype
+ T(wa, {
+ start: wa.start,
+ create: wa.create,
+ send: wa.send,
+ set: wa.set,
+ get: wa.get,
+ on: wa.M,
+ un: wa.ed,
+ fire: wa.Qs
+ })
+ var Ma = A()
+ Ma.set('protocolParameter', {
+ h2: s
+ })
+ if (E) {
+ wa = [].concat(E.wb || [], E.Wm || [])
+ E.wb = E.Wm = s
+ for (var sb in M) M.hasOwnProperty(sb) && (E[sb] = M[sb])
+ M.wb = M.Wm = {
+ push: function (a) {
+ M.apply(M, a)
+ }
+ }
+ for (E = 0; E < wa.length; E++) M.apply(M, wa[E])
+ }
+ c.alog = M
+ C &&
+ m(b, 'mouseup', function (a) {
+ a = a.target || a.srcElement
+ 1 == a.nodeType && /^ajavascript:/i.test(a.tagName + a.href)
+ })
+ var Za = t
+ a.onerror = function (a, b, e, f) {
+ var i = q
+ !b && /^script error/i.test(a) && (Za ? (i = t) : (Za = q))
+ i &&
+ c.alog('exception.send', 'exception', {
+ Ht: a,
+ HE: b,
+ Dt: e,
+ hs: f
+ })
+ return t
+ }
+ c.alog('exception.on', 'catch', function (a) {
+ c.alog('exception.send', 'exception', {
+ Ht: a.Ht,
+ HE: a.path,
+ Dt: a.Dt,
+ method: a.method,
+ rL: 'catch'
+ })
+ })
+ }
+ })(a, b, c)
+ void (function (a, b, c) {
+ var i = '18_3'
+ H() && (i = '18_4')
+ var k = 'http://static.tieba.baidu.com'
+ 'https:' === a.location.protocol && (k = 'https://gsp0.baidu.com/5aAHeD3nKhI2p27j8IqW0jdnxx1xbK')
+ var m = Math.random,
+ k = k + '/tb/pms/img/st.gif',
+ n = {
+ wh: '0.1'
+ },
+ o = {
+ wh: '0.1'
+ },
+ p = {
+ wh: '0.1'
+ },
+ v = {
+ wh: '0'
+ }
+ if (n && n.wh && m() < n.wh) {
+ var x = c.alog.bG('monkey'),
+ y,
+ n = a.screen,
+ A = b.referrer
+ x.set('ver', 5)
+ x.set('pid', 241)
+ n && x.set('px', n.width + '*' + n.height)
+ x.set('ref', A)
+ c.alog('monkey.on', 'create', function () {
+ y = c.alog.timestamp
+ x.set('protocolParameter', {
+ reports: s
+ })
+ })
+ c.alog('monkey.on', 'send', function (a) {
+ 'pageview' == a.t && (a.cmd = 'open')
+ a.now && ((a.ts = y(a.now).toString(36)), (a.now = ''))
+ })
+ c.alog('monkey.create', {
+ page: i,
+ pid: '241',
+ p: '18',
+ dv: 6,
+ postUrl: k,
+ reports: {
+ refer: 1
+ }
+ })
+ c.alog('monkey.send', 'pageview', {
+ now: +new Date()
+ })
+ }
+ if (o && o.wh && m() < o.wh) {
+ var E = t
+ a.onerror = function (a, b, e, f) {
+ var i = q
+ !b && /^script error/i.test(a) && (E ? (i = t) : (E = q))
+ i &&
+ c.alog('exception.send', 'exception', {
+ Ht: a,
+ HE: b,
+ Dt: e,
+ hs: f
+ })
+ return t
+ }
+ c.alog('exception.on', 'catch', function (a) {
+ c.alog('exception.send', 'exception', {
+ Ht: a.Ht,
+ HE: a.path,
+ Dt: a.Dt,
+ method: a.method,
+ rL: 'catch'
+ })
+ })
+ c.alog('exception.create', {
+ postUrl: k,
+ dv: 7,
+ page: i,
+ pid: '170',
+ p: '18'
+ })
+ }
+ p &&
+ p.wh &&
+ m() < p.wh &&
+ (c.alog('cus.on', 'time', function (a) {
+ var b = {},
+ e = t,
+ f
+ if ('[object Object]' === a.toString()) {
+ for (var i in a)
+ 'page' == i
+ ? (b.page = a[i])
+ : ((f = parseInt(a[i])), 0 < f && /^z_/.test(i) && ((e = q), (b[i] = f)))
+ e && c.alog('cus.send', 'time', b)
+ }
+ }),
+ c.alog('cus.on', 'count', function (a) {
+ var b = {},
+ e = t
+ 'string' === typeof a && (a = [a])
+ if (a instanceof Array)
+ for (var f = 0; f < a.length; f++)
+ /^z_/.test(a[f])
+ ? ((e = q), (b[a[f]] = 1))
+ : /^page:/.test(a[f]) && (b.page = a[f].substring(5))
+ e && c.alog('cus.send', 'count', b)
+ }),
+ c.alog('cus.create', {
+ dv: 3,
+ postUrl: k,
+ page: i,
+ p: '18'
+ }))
+ if (v && v.wh && m() < v.wh) {
+ var C = ['Moz', 'O', 'ms', 'Webkit'],
+ F = ['-webkit-', '-moz-', '-o-', '-ms-'],
+ D = function () {
+ return typeof b.createElement !== 'function'
+ ? b.createElement(arguments[0])
+ : b.createElement.apply(b, arguments)
+ },
+ I = D('dpFeatureTest').style,
+ R = function (a) {
+ return M(a, l, l)
+ },
+ M = function (a, b, c) {
+ var e = a.charAt(0).toUpperCase() + a.slice(1),
+ f = (a + ' ' + C.join(e + ' ') + e).split(' ')
+ if (typeof b === 'string' || typeof b === 'undefined') return N(f, b)
+ f = (a + ' ' + C.join(e + ' ') + e).split(' ')
+ a: {
+ var a = f,
+ g
+ for (g in a)
+ if (a[g] in b) {
+ if (c === t) {
+ b = a[g]
+ break a
+ }
+ g = b[a[g]]
+ b = typeof g === 'function' ? fnBind(g, c || b) : g
+ break a
+ }
+ b = t
+ }
+ return b
+ },
+ N = function (a, b) {
+ var c, e, f
+ e = a.length
+ for (c = 0; c < e; c++) {
+ f = a[c]
+ ~('' + f).indexOf('-') && (f = fa(f))
+ if (I[f] !== l) return b == 'pfx' ? f : q
+ }
+ return t
+ },
+ fa = function (a) {
+ return a
+ .replace(/([a-z])-([a-z])/g, function (a, b, c) {
+ return b + c.toUpperCase()
+ })
+ .replace(/^-/, '')
+ },
+ pa = function (a, b, c) {
+ if (a.indexOf('@') === 0) return atRule(a)
+ a.indexOf('-') != -1 && (a = fa(a))
+ return !b ? M(a, 'pfx') : M(a, b, c)
+ },
+ wa = function () {
+ var a = D('canvas')
+ return !(!a.getContext || !a.getContext('2d'))
+ },
+ Ma = function () {
+ var a = D('div')
+ return 'draggable' in a || ('ondragstart' in a && 'ondrop' in a)
+ },
+ sb = function () {
+ try {
+ localStorage.setItem('localStorage', 'localStorage')
+ localStorage.removeItem('localStorage')
+ return q
+ } catch (a) {
+ return t
+ }
+ },
+ Za = function () {
+ return 'content' in b.createElement('template')
+ },
+ Pa = function () {
+ return 'createShadowRoot' in b.createElement('a')
+ },
+ oi = function () {
+ return 'registerElement' in b
+ },
+ pi = function () {
+ return 'import' in b.createElement('link')
+ },
+ qi = function () {
+ return 'getItems' in b
+ },
+ ri = function () {
+ return 'EventSource' in window
+ },
+ re = function (a, b) {
+ var c = new Image()
+ c.onload = function () {
+ b(a, c.width > 0 && c.height > 0)
+ }
+ c.onerror = function () {
+ b(a, t)
+ }
+ c.src =
+ 'data:image/webp;base64,' +
+ {
+ r4: 'UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA',
+ q4: 'UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==',
+ alpha: 'UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==',
+ kk: 'UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA'
+ }[a]
+ },
+ se = function (a, b) {
+ return (Tb.ei['WebP-' + a] = b)
+ },
+ si = function () {
+ return 'openDatabase' in a
+ },
+ ti = function () {
+ return 'performance' in a && 'timing' in a.performance
+ },
+ ui = function () {
+ return 'performance' in a && 'mark' in a.performance
+ },
+ vi = function () {
+ return !(
+ !Array.prototype ||
+ !Array.prototype.every ||
+ !Array.prototype.filter ||
+ !Array.prototype.forEach ||
+ !Array.prototype.indexOf ||
+ !Array.prototype.lastIndexOf ||
+ !Array.prototype.map ||
+ !Array.prototype.some ||
+ !Array.prototype.reduce ||
+ !Array.prototype.reduceRight ||
+ !Array.isArray
+ )
+ },
+ wi = function () {
+ return (
+ 'Promise' in a &&
+ 'cast' in a.lq &&
+ 'resolve' in a.lq &&
+ 'reject' in a.lq &&
+ 'all' in a.lq &&
+ 'race' in a.lq &&
+ (function () {
+ var b
+ new a.lq(function (a) {
+ b = a
+ })
+ return typeof b === 'function'
+ })()
+ )
+ },
+ xi = function () {
+ var b = !!a.i1,
+ c = a.XMLHttpRequest && 'withCredentials' in new XMLHttpRequest()
+ return !!a.l1 && b && c
+ },
+ yi = function () {
+ return 'geolocation' in navigator
+ },
+ zi = function () {
+ var b = D('canvas'),
+ c = 'probablySupportsContext' in b ? 'probablySupportsContext' : 'supportsContext'
+ return c in b ? b[c]('webgl') || b[c]('experimental-webgl') : 'WebGLRenderingContext' in a
+ },
+ Ai = function () {
+ return !!b.createElementNS && !!b.createElementNS('http://www.w3.org/2000/svg', 'svg').A2
+ },
+ Bi = function () {
+ return !!a.s1
+ },
+ Ci = function () {
+ return 'WebSocket' in a && a.p1.f1 === 2
+ },
+ Di = function () {
+ return !!b.createElement('video').canPlayType
+ },
+ Ei = function () {
+ return !!b.createElement('audio').canPlayType
+ },
+ Fi = function () {
+ return !!(a.history && 'pushState' in a.history)
+ },
+ Gi = function () {
+ return !(!a.g1 || !a.h1)
+ },
+ Hi = function () {
+ return 'postMessage' in window
+ },
+ Ii = function () {
+ return (
+ !!a.webkitNotifications ||
+ ('Notification' in a && 'permission' in a.PP && 'requestPermission' in a.PP)
+ )
+ },
+ Ji = function () {
+ for (
+ var b = ['webkit', 'moz', 'o', 'ms'], c = a.requestAnimationFrame, f = 0;
+ f < b.length && !c;
+ ++f
+ )
+ c = a[b[f] + 'RequestAnimationFrame']
+ return !!c
+ },
+ Ki = function () {
+ return 'JSON' in a && 'parse' in JSON && 'stringify' in JSON
+ },
+ Li = function () {
+ return !(!pa('exitFullscreen', b, t) && !pa('cancelFullScreen', b, t))
+ },
+ Mi = function () {
+ return !!pa('Intl', a)
+ },
+ Ni = function () {
+ return R('flexBasis')
+ },
+ Oi = function () {
+ return !!R('perspective')
+ },
+ Pi = function () {
+ return R('shapeOutside')
+ },
+ Qi = function () {
+ var a = D('div')
+ a.style.cssText = F.join('filter:blur(2px); ')
+ return !!a.style.length && (b.documentMode === l || b.documentMode > 9)
+ },
+ Ri = function () {
+ return 'XMLHttpRequest' in a && 'withCredentials' in new XMLHttpRequest()
+ },
+ Si = function () {
+ return D('progress').max !== l
+ },
+ Ti = function () {
+ return D('meter').max !== l
+ },
+ Ui = function () {
+ return 'sendBeacon' in navigator
+ },
+ Vi = function () {
+ return R('borderRadius')
+ },
+ Wi = function () {
+ return R('boxShadow')
+ },
+ Xi = function () {
+ var a = D('div').style
+ a.cssText = F.join('opacity:.55;')
+ return /^0.55$/.test(a.opacity)
+ },
+ Yi = function () {
+ return N(['textShadow'], l)
+ },
+ Zi = function () {
+ return R('animationName')
+ },
+ $i = function () {
+ return R('transition')
+ },
+ aj = function () {
+ return navigator.userAgent.indexOf('Android 2.') === -1 && R('transform')
+ },
+ Tb = {
+ ei: {},
+ pa: function (a, b, c) {
+ this.ei[a] = b.apply(this, [].slice.call(arguments, 2))
+ },
+ Ed: function (a, b) {
+ a.apply(this, [].slice.call(arguments, 1))
+ },
+ f_: function () {
+ this.pa('bdrs', Vi)
+ this.pa('bxsd', Wi)
+ this.pa('opat', Xi)
+ this.pa('txsd', Yi)
+ this.pa('anim', Zi)
+ this.pa('trsi', $i)
+ this.pa('trfm', aj)
+ this.pa('flex', Ni)
+ this.pa('3dtr', Oi)
+ this.pa('shpe', Pi)
+ this.pa('fltr', Qi)
+ this.pa('cavs', wa)
+ this.pa('dgdp', Ma)
+ this.pa('locs', sb)
+ this.pa('wctem', Za)
+ this.pa('wcsdd', Pa)
+ this.pa('wccse', oi)
+ this.pa('wchti', pi)
+ this.Ed(re, 'lossy', se)
+ this.Ed(re, 'lossless', se)
+ this.Ed(re, 'alpha', se)
+ this.Ed(re, 'animation', se)
+ this.pa('wsql', si)
+ this.pa('natm', ti)
+ this.pa('ustm', ui)
+ this.pa('arra', vi)
+ this.pa('prms', wi)
+ this.pa('xhr2', xi)
+ this.pa('wbgl', zi)
+ this.pa('geol', yi)
+ this.pa('svg', Ai)
+ this.pa('work', Bi)
+ this.pa('wbsk', Ci)
+ this.pa('vido', Di)
+ this.pa('audo', Ei)
+ this.pa('hsty', Fi)
+ this.pa('file', Gi)
+ this.pa('psmg', Hi)
+ this.pa('wknf', Ii)
+ this.pa('rqaf', Ji)
+ this.pa('json', Ki)
+ this.pa('flsc', Li)
+ this.pa('i18n', Mi)
+ this.pa('cors', Ri)
+ this.pa('prog', Si)
+ this.pa('metr', Ti)
+ this.pa('becn', Ui)
+ this.pa('mcrd', qi)
+ this.pa('esrc', ri)
+ }
+ },
+ x = c.alog.bG('feature')
+ x.M('commit', function () {
+ Tb.f_()
+ var a = setInterval(function () {
+ if (
+ 'WebP-lossy' in Tb.ei &&
+ 'WebP-lossless' in Tb.ei &&
+ 'WebP-alpha' in Tb.ei &&
+ 'WebP-animation' in Tb.ei
+ ) {
+ for (var b in Tb.ei) Tb.ei[b] = Tb.ei[b] ? 'y' : 'n'
+ x.send('feature', Tb.ei)
+ clearInterval(a)
+ }
+ }, 500)
+ })
+ c.alog('feature.create', {
+ P2: 4,
+ R4: k,
+ page: i,
+ wb: '18'
+ })
+ c.alog('feature.fire', 'commit')
+ }
+ })(a, b, c)
+ })(window, document, B)
+ B.Fn = B.alog || u()
+ B.alog('cus.fire', 'count', 'z_loadscriptcount')
+ 'https:' === location.protocol && B.alog('cus.fire', 'count', 'z_httpscount')
+ function Sb(a) {
+ var b = window.TILE_VERSION,
+ c = '20170927'
+ b && b.ditu && ((b = b.ditu), b[a] && b[a].updateDate && (c = b[a].updateDate))
+ return c
+ }
+ function oa(a, b) {
+ if (/^http/.test(a)) return //修改 屏蔽ak验证,若调用外部资源直接返回
+
+ if (b) {
+ var c = (1e5 * Math.random()).toFixed(0)
+ B._rd['_cbk' + c] = function (a) {
+ b && b(a)
+ delete B._rd['_cbk' + c]
+ }
+ a += '&callback=BMap._rd._cbk' + c
+ }
+ var e = L('script', {
+ type: 'text/javascript'
+ })
+ e.charset = 'utf-8'
+ e.src = a
+ e.addEventListener
+ ? e.addEventListener(
+ 'load',
+ function (a) {
+ a = a.target
+ a.parentNode.removeChild(a)
+ },
+ t
+ )
+ : e.attachEvent &&
+ e.attachEvent('onreadystatechange', function () {
+ var a = window.event.srcElement
+ a && ('loaded' == a.readyState || 'complete' == a.readyState) && a.parentNode.removeChild(a)
+ })
+ setTimeout(function () {
+ document.getElementsByTagName('head')[0].appendChild(e)
+ e = s
+ }, 1)
+ }
+ var Ub = {
+ //修改,这里是所有的模块,用到时自动加载(在线),离线的话要先下载下来放到本地,如http://api0.map.bdimg.com/getmodules?v=3.0&mod=模块1,模块2
+ //模块命名格式是map_dbwcej,直接拼接起来
+ map: 'dbwcej',
+ common: 'wkrfcz',
+ style: 'fkofpc',
+ tile: 'ok3b3m',
+ vectordrawlib: '4pdipq',
+ newvectordrawlib: 'wbnuee',
+ groundoverlay: 'ekozhc',
+ pointcollection: 'feabuc',
+ marker: '00uyqy',
+ symbol: 'cq3a5n',
+ canvablepath: 'dia5aw',
+ vmlcontext: 'phwtog',
+ markeranimation: 'rfnmxu',
+ poly: 'r52vuo',
+ draw: 'jb4osz',
+ drawbysvg: 'vxyn51',
+ drawbyvml: 'whxmqq',
+ drawbycanvas: 'ufwkvb',
+ infowindow: 'wtflsn',
+ oppc: '10riq5',
+ opmb: '2c1ejz',
+ menu: '152mop',
+ control: 'hlzh1t',
+ navictrl: 'h32mnb',
+ geoctrl: 'xprajs',
+ copyrightctrl: 'gmc2ps',
+ citylistcontrol: 'ms3ahy',
+ scommon: 'oadc3d',
+ local: 'k0pcpi',
+ route: 'v4yyam',
+ othersearch: 'pwg4ey',
+ mapclick: 'e40viw',
+ buslinesearch: 'vxmb31',
+ hotspot: 'vuwxs4',
+ autocomplete: 'punr3o',
+ coordtrans: 'lmf5kv',
+ coordtransutils: 'd33qf1',
+ convertor: 'd0ze2w',
+ clayer: '0hwrfx',
+ pservice: 'j5tlrp',
+ pcommon: 'yqek4k',
+ panorama: 'jbqj24',
+ panoramaflash: 'dm4xq2',
+ vector: '2hrruc'
+ }
+ z.Wy = (function () {
+ function a(a) {
+ return e && !!c[b + a + '_' + Ub[a]]
+ }
+ var b = 'BMap_',
+ c = window.localStorage,
+ e = 'localStorage' in window && c !== s && c !== l
+ return {
+ ZY: e,
+ set: function (a, g) {
+ if (e) {
+ for (var i = b + a + '_', k = c.length, m; k--; )
+ (m = c.key(k)), -1 < m.indexOf(i) && c.removeItem(m)
+ try {
+ c.setItem(b + a + '_' + Ub[a], g)
+ } catch (n) {
+ c.clear()
+ }
+ }
+ },
+ get: function (f) {
+ return e && a(f) ? c.getItem(b + f + '_' + Ub[f]) : t
+ },
+ uK: a
+ }
+ })()
+ function K() {}
+ z.object.extend(K, {
+ Cj: {
+ EG: -1,
+ cQ: 0,
+ cq: 1
+ },
+ GL: function () {
+ var a = 'canvablepath',
+ b = B.gV ? 'newvectordrawlib' : 'vectordrawlib'
+ if (!H() || !Ob()) Nb() || (Mb() ? (a = 'vmlcontext') : Ob())
+ return {
+ tile: [b, 'style'],
+ control: [],
+ marker: ['symbol'],
+ symbol: ['canvablepath', 'common'],
+ canvablepath: 'canvablepath' === a ? [] : [a],
+ vmlcontext: [],
+ style: [],
+ poly: ['marker', 'drawbycanvas', 'drawbysvg', 'drawbyvml'],
+ drawbysvg: ['draw'],
+ drawbyvml: ['draw'],
+ drawbycanvas: ['draw'],
+ infowindow: ['common', 'marker'],
+ menu: [],
+ oppc: [],
+ opmb: [],
+ scommon: [],
+ local: ['scommon'],
+ route: ['scommon'],
+ othersearch: ['scommon'],
+ autocomplete: ['scommon'],
+ citylistcontrol: ['autocomplete'],
+ mapclick: ['scommon'],
+ buslinesearch: ['route'],
+ hotspot: [],
+ coordtransutils: ['coordtrans'],
+ convertor: [],
+ clayer: ['tile'],
+ pservice: [],
+ pcommon: ['style', 'pservice'],
+ panorama: ['pcommon'],
+ panoramaflash: ['pcommon']
+ }
+ },
+ U4: {},
+ wG: {
+ tQ: B.ka + 'getmodules?v=3.0',
+ WU: 5e3
+ },
+ MC: t,
+ Rd: {
+ xl: {},
+ Hn: [],
+ cw: []
+ },
+ load: function (a, b, c) {
+ var e = this.kb(a)
+ if (e.Me == this.Cj.cq) c && b()
+ else {
+ if (e.Me == this.Cj.EG) {
+ this.AK(a)
+ this.SN(a)
+ var f = this
+ f.MC == t &&
+ ((f.MC = q),
+ setTimeout(function () {
+ for (var a = [], b = 0, c = f.Rd.Hn.length; b < c; b++) {
+ var e = f.Rd.Hn[b],
+ n = ''
+ ia.Wy.uK(e) ? (n = ia.Wy.get(e)) : ((n = ''), a.push(e + '_' + Ub[e]))
+ f.Rd.cw.push({
+ jN: e,
+ ZE: n
+ })
+ }
+ f.MC = t
+ f.Rd.Hn.length = 0
+ //0 == a.length ? f.kL() : oa(f.wG.tQ + "&mod=" + a.join(","))
+ // 修改 加载本地模块文件,在 modules 目录下
+ console.log(a) //打印所需模块
+ if (a.length > 0) {
+ for (i = 0; i < a.length; i++) {
+ mf = bmapcfg.home + 'modules/' + a[i] + '.js'
+ oa(mf)
+ console.log('加载模块文件:' + mf) //IE error
+ }
+ } else {
+ f.kL()
+ }
+ //就到这
+ }, 1))
+ e.Me = this.Cj.cQ
+ }
+ e.Yu.push(b)
+ }
+ },
+ AK: function (a) {
+ if (a && this.GL()[a])
+ for (var a = this.GL()[a], b = 0; b < a.length; b++) this.AK(a[b]), this.Rd.xl[a[b]] || this.SN(a[b])
+ },
+ SN: function (a) {
+ for (var b = 0; b < this.Rd.Hn.length; b++) if (this.Rd.Hn[b] == a) return
+ this.Rd.Hn.push(a)
+ },
+ e_: function (a, b) {
+ var c = this.kb(a)
+ try {
+ eval(b)
+ } catch (e) {
+ return
+ }
+ c.Me = this.Cj.cq
+ for (var f = 0, g = c.Yu.length; f < g; f++) c.Yu[f]()
+ c.Yu.length = 0
+ },
+ uK: function (a, b) {
+ var c = this
+ c.timeout = setTimeout(function () {
+ c.Rd.xl[a].Me != c.Cj.cq ? (c.remove(a), c.load(a, b)) : clearTimeout(c.timeout)
+ }, c.wG.WU)
+ },
+ kb: function (a) {
+ this.Rd.xl[a] || ((this.Rd.xl[a] = {}), (this.Rd.xl[a].Me = this.Cj.EG), (this.Rd.xl[a].Yu = []))
+ return this.Rd.xl[a]
+ },
+ remove: function (a) {
+ delete this.kb(a)
+ },
+ WV: function (a, b) {
+ for (var c = this.Rd.cw, e = q, f = 0, g = c.length; f < g; f++)
+ '' == c[f].ZE && (c[f].jN == a ? (c[f].ZE = b) : (e = t))
+ e && this.kL()
+ },
+ kL: function () {
+ for (var a = this.Rd.cw, b = 0, c = a.length; b < c; b++) this.e_(a[b].jN, a[b].ZE)
+ this.Rd.cw.length = 0
+ }
+ })
+ function Q(a, b) {
+ this.x = a || 0
+ this.y = b || 0
+ this.x = this.x
+ this.y = this.y
+ }
+ Q.prototype.pb = function (a) {
+ return a && a.x == this.x && a.y == this.y
+ }
+ function O(a, b) {
+ this.width = a || 0
+ this.height = b || 0
+ }
+ O.prototype.pb = function (a) {
+ return a && this.width == a.width && this.height == a.height
+ }
+ function ib(a, b) {
+ a &&
+ ((this.Lb = a),
+ (this.aa = 'spot' + ib.aa++),
+ (b = b || {}),
+ (this.Wg = b.text || ''),
+ (this.Jv = b.offsets ? b.offsets.slice(0) : [5, 5, 5, 5]),
+ (this.JJ = b.userData || s),
+ (this.Lh = b.minZoom || s),
+ (this.Hf = b.maxZoom || s))
+ }
+ ib.aa = 0
+ z.extend(ib.prototype, {
+ na: function (a) {
+ this.Lh == s && (this.Lh = a.K.gc)
+ this.Hf == s && (this.Hf = a.K.Yb)
+ },
+ sa: function (a) {
+ a instanceof J && (this.Lb = a)
+ },
+ ga: w('Lb'),
+ cu: ba('Wg'),
+ eE: w('Wg'),
+ setUserData: ba('JJ'),
+ getUserData: w('JJ')
+ })
+ function Vb() {
+ this.B = s
+ this.Mb = 'control'
+ this.Qa = this.nK = q
+ }
+ z.lang.ta(Vb, z.lang.Ca, 'Control')
+ z.extend(Vb.prototype, {
+ initialize: function (a) {
+ this.B = a
+ if (this.C) return a.Wa.appendChild(this.C), this.C
+ },
+ He: function (a) {
+ !this.C && this.initialize && Xa(this.initialize) && (this.C = this.initialize(a))
+ this.j = this.j || {
+ Cg: t
+ }
+ this.IB()
+ this.Nr()
+ this.C && (this.C.mr = this)
+ },
+ IB: function () {
+ var a = this.C
+ if (a) {
+ var b = a.style
+ b.position = 'absolute'
+ b.zIndex = this.Hz || '10'
+ b.MozUserSelect = 'none'
+ b.WebkitTextSizeAdjust = 'none'
+ this.j.Cg || z.D.Ua(a, 'BMap_noprint')
+ H() || z.M(a, 'contextmenu', na)
+ }
+ },
+ remove: function () {
+ this.B = s
+ this.C && (this.C.parentNode && this.C.parentNode.removeChild(this.C), (this.C = this.C.mr = s))
+ },
+ Aa: function () {
+ this.C = Ab(this.B.Wa, "")
+ this.Qa == t && z.D.U(this.C)
+ return this.C
+ },
+ Nr: function () {
+ this.uc(this.j.anchor)
+ },
+ uc: function (a) {
+ if (this.j2 || !Wa(a) || isNaN(a) || a < Wb || 3 < a) a = this.defaultAnchor
+ this.j = this.j || {
+ Cg: t
+ }
+ this.j.za = this.j.za || this.defaultOffset
+ var b = this.j.anchor
+ this.j.anchor = a
+ if (this.C) {
+ var c = this.C,
+ e = this.j.za.width,
+ f = this.j.za.height
+ c.style.left = c.style.top = c.style.right = c.style.bottom = 'auto'
+ switch (a) {
+ case Wb:
+ c.style.top = f + 'px'
+ c.style.left = e + 'px'
+ break
+ case Xb:
+ c.style.top = f + 'px'
+ c.style.right = e + 'px'
+ break
+ case Yb:
+ c.style.bottom = f + 'px'
+ c.style.left = e + 'px'
+ break
+ case 3:
+ ;(c.style.bottom = f + 'px'), (c.style.right = e + 'px')
+ }
+ c = ['TL', 'TR', 'BL', 'BR']
+ z.D.Pb(this.C, 'anchor' + c[b])
+ z.D.Ua(this.C, 'anchor' + c[a])
+ }
+ },
+ HD: function () {
+ return this.j.anchor
+ },
+ getContainer: w('C'),
+ Ze: function (a) {
+ a instanceof O &&
+ ((this.j = this.j || {
+ Cg: t
+ }),
+ (this.j.za = new O(a.width, a.height)),
+ this.C && this.uc(this.j.anchor))
+ },
+ Sf: function () {
+ return this.j.za
+ },
+ Jd: w('C'),
+ show: function () {
+ this.Qa != q && ((this.Qa = q), this.C && z.D.show(this.C))
+ },
+ U: function () {
+ this.Qa != t && ((this.Qa = t), this.C && z.D.U(this.C))
+ },
+ isPrintable: function () {
+ return !!this.j.Cg
+ },
+ jh: function () {
+ return !this.C && !this.B ? t : !!this.Qa
+ }
+ })
+ var Wb = 0,
+ Xb = 1,
+ Yb = 2
+ function jb(a) {
+ Vb.call(this)
+ a = a || {}
+ this.j = {
+ Cg: t,
+ OF: a.showZoomInfo || q,
+ anchor: a.anchor,
+ za: a.offset,
+ type: a.type,
+ $W: a.enableGeolocation || t
+ }
+ this.defaultAnchor = H() ? 3 : Wb
+ this.defaultOffset = new O(10, 10)
+ this.uc(a.anchor)
+ this.hn(a.type)
+ this.De()
+ }
+ z.lang.ta(jb, Vb, 'NavigationControl')
+ z.extend(jb.prototype, {
+ initialize: function (a) {
+ this.B = a
+ return this.C
+ },
+ hn: function (a) {
+ this.j.type = Wa(a) && 0 <= a && 3 >= a ? a : 0
+ },
+ ip: function () {
+ return this.j.type
+ },
+ De: function () {
+ var a = this
+ K.load('navictrl', function () {
+ a.zf()
+ })
+ }
+ })
+ function Zb(a) {
+ Vb.call(this)
+ a = a || {}
+ this.j = {
+ anchor: a.anchor || Yb,
+ za: a.offset || new O(10, 30),
+ O_: a.showAddressBar !== t,
+ U2: a.enableAutoLocation || t,
+ bN: a.locationIcon || s
+ }
+ var b = this
+ this.Hz = 1200
+ b.I0 = []
+ this.pe = []
+ K.load('geoctrl', function () {
+ ;(function e() {
+ if (0 !== b.pe.length) {
+ var a = b.pe.shift()
+ b[a.method].apply(b, a.arguments)
+ e()
+ }
+ })()
+ b.sQ()
+ })
+ Ra(Ia)
+ }
+ z.lang.ta(Zb, Vb, 'GeolocationControl')
+ z.extend(Zb.prototype, {
+ location: function () {
+ this.pe.push({
+ method: 'location',
+ arguments: arguments
+ })
+ },
+ getAddressComponent: ca(s)
+ })
+ function $b(a) {
+ Vb.call(this)
+ a = a || {}
+ this.j = {
+ Cg: t,
+ anchor: a.anchor,
+ za: a.offset
+ }
+ this.cc = []
+ this.defaultAnchor = Yb
+ this.defaultOffset = new O(5, 2)
+ this.uc(a.anchor)
+ this.nK = t
+ this.De()
+ }
+ z.lang.ta($b, Vb, 'CopyrightControl')
+ z.object.extend($b.prototype, {
+ initialize: function (a) {
+ this.B = a
+ return this.C
+ },
+ Bw: function (a) {
+ if (a && Wa(a.id) && !isNaN(a.id)) {
+ var b = {
+ bounds: s,
+ content: ''
+ },
+ c
+ for (c in a) b[c] = a[c]
+ if ((a = this.pm(a.id))) for (var e in b) a[e] = b[e]
+ else this.cc.push(b)
+ }
+ },
+ pm: function (a) {
+ for (var b = 0, c = this.cc.length; b < c; b++) if (this.cc[b].id == a) return this.cc[b]
+ },
+ PD: w('cc'),
+ qF: function (a) {
+ for (var b = 0, c = this.cc.length; b < c; b++)
+ this.cc[b].id == a && ((r = this.cc.splice(b, 1)), b--, (c = this.cc.length))
+ },
+ De: function () {
+ var a = this
+ K.load('copyrightctrl', function () {
+ a.zf()
+ })
+ }
+ })
+ function lb(a) {
+ Vb.call(this)
+ a = a || {}
+ this.j = {
+ Cg: t,
+ size: a.size || new O(150, 150),
+ padding: 5,
+ Xa: a.isOpen === q ? q : t,
+ $0: 4,
+ za: a.offset,
+ anchor: a.anchor
+ }
+ this.defaultAnchor = 3
+ this.defaultOffset = new O(0, 0)
+ this.Bq = this.Cq = 13
+ this.uc(a.anchor)
+ this.Ce(this.j.size)
+ this.De()
+ }
+ z.lang.ta(lb, Vb, 'OverviewMapControl')
+ z.extend(lb.prototype, {
+ initialize: function (a) {
+ this.B = a
+ return this.C
+ },
+ uc: function (a) {
+ Vb.prototype.uc.call(this, a)
+ },
+ se: function () {
+ this.se.mo = q
+ this.j.Xa = !this.j.Xa
+ this.C || (this.se.mo = t)
+ },
+ Ce: function (a) {
+ a instanceof O || (a = new O(150, 150))
+ a.width = 0 < a.width ? a.width : 150
+ a.height = 0 < a.height ? a.height : 150
+ this.j.size = a
+ },
+ cb: function () {
+ return this.j.size
+ },
+ Xa: function () {
+ return this.j.Xa
+ },
+ De: function () {
+ var a = this
+ K.load('control', function () {
+ a.zf()
+ })
+ }
+ })
+ function ac(a) {
+ Vb.call(this)
+ a = a || {}
+ this.defaultAnchor = Wb
+ this.TV = a.canCheckSize === t ? t : q
+ this.$i = ''
+ this.defaultOffset = new O(10, 10)
+ this.onChangeBefore = []
+ this.onChangeAfter = []
+ this.onChangeSuccess = []
+ this.j = {
+ Cg: t,
+ za: a.offset || this.defaultOffset,
+ anchor: a.anchor || this.defaultAnchor,
+ expand: !!a.expand
+ }
+ a.onChangeBefore && Xa(a.onChangeBefore) && this.onChangeBefore.push(a.onChangeBefore)
+ a.onChangeAfter && Xa(a.onChangeAfter) && this.onChangeAfter.push(a.onChangeAfter)
+ a.onChangeSuccess && Xa(a.onChangeSuccess) && this.onChangeSuccess.push(a.onChangeSuccess)
+ this.uc(a.anchor)
+ this.De()
+ }
+ z.lang.ta(ac, Vb, 'CityListControl')
+ z.object.extend(ac.prototype, {
+ initialize: function (a) {
+ this.B = a
+ return this.C
+ },
+ De: function () {
+ var a = this
+ K.load(
+ 'citylistcontrol',
+ function () {
+ a.zf()
+ },
+ q
+ )
+ }
+ })
+ function kb(a) {
+ Vb.call(this)
+ a = a || {}
+ this.j = {
+ Cg: t,
+ color: 'black',
+ fd: 'metric',
+ za: a.offset
+ }
+ this.defaultAnchor = Yb
+ this.defaultOffset = new O(81, 18)
+ this.uc(a.anchor)
+ this.Uh = {
+ metric: {
+ name: 'metric',
+ CK: 1,
+ rM: 1e3,
+ bP: '\u7c73',
+ cP: '\u516c\u91cc'
+ },
+ us: {
+ name: 'us',
+ CK: 3.2808,
+ rM: 5280,
+ bP: '\u82f1\u5c3a',
+ cP: '\u82f1\u91cc'
+ }
+ }
+ this.Uh[this.j.fd] || (this.j.fd = 'metric')
+ this.gJ = s
+ this.GI = {}
+ this.De()
+ }
+ z.lang.ta(kb, Vb, 'ScaleControl')
+ z.object.extend(kb.prototype, {
+ initialize: function (a) {
+ this.B = a
+ return this.C
+ },
+ Pk: function (a) {
+ this.j.color = a + ''
+ },
+ n3: function () {
+ return this.j.color
+ },
+ LF: function (a) {
+ this.j.fd = (this.Uh[a] && this.Uh[a].name) || this.j.fd
+ },
+ sY: function () {
+ return this.j.fd
+ },
+ De: function () {
+ var a = this
+ K.load('control', function () {
+ a.zf()
+ })
+ }
+ })
+ var bc = 0
+ function mb(a) {
+ Vb.call(this)
+ a = a || {}
+ this.defaultAnchor = Xb
+ this.defaultOffset = new O(10, 10)
+ this.j = {
+ Cg: t,
+ mh: [La, Ya, Sa, Qa],
+ BW: ['B_DIMENSIONAL_MAP', 'B_SATELLITE_MAP', 'B_NORMAL_MAP'],
+ type: a.type || bc,
+ za: a.offset || this.defaultOffset,
+ dX: q
+ }
+ this.uc(a.anchor)
+ '[object Array]' == Object.prototype.toString.call(a.mapTypes) && (this.j.mh = a.mapTypes.slice(0))
+ this.De()
+ }
+ z.lang.ta(mb, Vb, 'MapTypeControl')
+ z.object.extend(mb.prototype, {
+ initialize: function (a) {
+ this.B = a
+ return this.C
+ },
+ Xy: function (a) {
+ this.B.ao = a
+ },
+ De: function () {
+ var a = this
+ K.load(
+ 'control',
+ function () {
+ a.zf()
+ },
+ q
+ )
+ }
+ })
+ function cc(a) {
+ Vb.call(this)
+ a = a || {}
+ this.j = {
+ Cg: t,
+ za: a.offset,
+ anchor: a.anchor
+ }
+ this.Ni = t
+ this.hw = s
+ this.QI = new dc({
+ of: 'api'
+ })
+ this.RI = new ec(s, {
+ of: 'api'
+ })
+ this.defaultAnchor = Xb
+ this.defaultOffset = new O(10, 10)
+ this.uc(a.anchor)
+ this.De()
+ Ra(va)
+ }
+ z.lang.ta(cc, Vb, 'PanoramaControl')
+ z.extend(cc.prototype, {
+ initialize: function (a) {
+ this.B = a
+ return this.C
+ },
+ De: function () {
+ var a = this
+ K.load('control', function () {
+ a.zf()
+ })
+ }
+ })
+ function fc(a) {
+ z.lang.Ca.call(this)
+ this.j = {
+ Wa: s,
+ cursor: 'default'
+ }
+ this.j = z.extend(this.j, a)
+ this.Mb = 'contextmenu'
+ this.B = s
+ this.xa = []
+ this.Kf = []
+ this.Fe = []
+ this.fx = this.qs = s
+ this.Kh = t
+ var b = this
+ K.load('menu', function () {
+ b.ib()
+ })
+ }
+ z.lang.ta(fc, z.lang.Ca, 'ContextMenu')
+ z.object.extend(fc.prototype, {
+ na: function (a, b) {
+ this.B = a
+ this.Cl = b || s
+ },
+ remove: function () {
+ this.B = this.Cl = s
+ },
+ Dw: function (a) {
+ if (a && !('menuitem' != a.Mb || '' == a.Wg || 0 >= a.Vi)) {
+ for (var b = 0, c = this.xa.length; b < c; b++) if (this.xa[b] === a) return
+ this.xa.push(a)
+ this.Kf.push(a)
+ }
+ },
+ removeItem: function (a) {
+ if (a && 'menuitem' == a.Mb) {
+ for (var b = 0, c = this.xa.length; b < c; b++)
+ this.xa[b] === a && (this.xa[b].remove(), this.xa.splice(b, 1), c--)
+ b = 0
+ for (c = this.Kf.length; b < c; b++)
+ this.Kf[b] === a && (this.Kf[b].remove(), this.Kf.splice(b, 1), c--)
+ }
+ },
+ bC: function () {
+ this.xa.push({
+ Mb: 'divider',
+ Lj: this.Fe.length
+ })
+ this.Fe.push({
+ D: s
+ })
+ },
+ sF: function (a) {
+ if (this.Fe[a]) {
+ for (var b = 0, c = this.xa.length; b < c; b++)
+ this.xa[b] && 'divider' == this.xa[b].Mb && this.xa[b].Lj == a && (this.xa.splice(b, 1), c--),
+ this.xa[b] && 'divider' == this.xa[b].Mb && this.xa[b].Lj > a && this.xa[b].Lj--
+ this.Fe.splice(a, 1)
+ }
+ },
+ Jd: w('C'),
+ show: function () {
+ this.Kh != q && (this.Kh = q)
+ },
+ U: function () {
+ this.Kh != t && (this.Kh = t)
+ },
+ t_: function (a) {
+ a && (this.j.cursor = a)
+ },
+ getItem: function (a) {
+ return this.Kf[a]
+ }
+ })
+ var gc = G.qa + 'menu_zoom_in.png',
+ hc = G.qa + 'menu_zoom_out.png'
+ function ic(a, b, c) {
+ if (a && Xa(b)) {
+ z.lang.Ca.call(this)
+ this.j = {
+ width: 100,
+ id: '',
+ Dm: ''
+ }
+ c = c || {}
+ this.j.width = 1 * c.width ? c.width : 100
+ this.j.id = c.id ? c.id : ''
+ this.j.Dm = c.iconUrl ? c.iconUrl : ''
+ this.Wg = a + ''
+ this.Kz = b
+ this.B = s
+ this.Mb = 'menuitem'
+ this.Ur = this.yv = this.C = this.Eh = s
+ this.Ih = q
+ var e = this
+ K.load('menu', function () {
+ e.ib()
+ })
+ }
+ }
+ z.lang.ta(ic, z.lang.Ca, 'MenuItem')
+ z.object.extend(ic.prototype, {
+ na: function (a, b) {
+ this.B = a
+ this.Eh = b
+ },
+ remove: function () {
+ this.B = this.Eh = s
+ },
+ cu: function (a) {
+ a && (this.Wg = a + '')
+ },
+ Rb: function (a) {
+ a && (this.j.Dm = a)
+ },
+ Jd: w('C'),
+ enable: function () {
+ this.Ih = q
+ },
+ disable: function () {
+ this.Ih = t
+ }
+ })
+ function fb(a, b) {
+ a && !b && (b = a)
+ this.Ie = this.Xd = this.Ne = this.Zd = this.Pl = this.Al = s
+ a &&
+ ((this.Pl = new J(a.lng, a.lat)),
+ (this.Al = new J(b.lng, b.lat)),
+ (this.Ne = a.lng),
+ (this.Zd = a.lat),
+ (this.Ie = b.lng),
+ (this.Xd = b.lat))
+ }
+ z.object.extend(fb.prototype, {
+ tj: function () {
+ return !this.Pl || !this.Al
+ },
+ pb: function (a) {
+ return !(a instanceof fb) || this.tj() ? t : this.Ve().pb(a.Ve()) && this.Rf().pb(a.Rf())
+ },
+ Ve: w('Pl'),
+ Rf: w('Al'),
+ kW: function (a) {
+ return !(a instanceof fb) || this.tj() || a.tj()
+ ? t
+ : a.Ne > this.Ne && a.Ie < this.Ie && a.Zd > this.Zd && a.Xd < this.Xd
+ },
+ Ka: function () {
+ return this.tj() ? s : new J((this.Ne + this.Ie) / 2, (this.Zd + this.Xd) / 2)
+ },
+ ot: function (a) {
+ if (
+ !(a instanceof fb) ||
+ Math.max(a.Ne, a.Ie) < Math.min(this.Ne, this.Ie) ||
+ Math.min(a.Ne, a.Ie) > Math.max(this.Ne, this.Ie) ||
+ Math.max(a.Zd, a.Xd) < Math.min(this.Zd, this.Xd) ||
+ Math.min(a.Zd, a.Xd) > Math.max(this.Zd, this.Xd)
+ )
+ return s
+ var b = Math.max(this.Ne, a.Ne),
+ c = Math.min(this.Ie, a.Ie),
+ e = Math.max(this.Zd, a.Zd),
+ a = Math.min(this.Xd, a.Xd)
+ return new fb(new J(b, e), new J(c, a))
+ },
+ js: function (a) {
+ return !(a instanceof J) || this.tj()
+ ? t
+ : a.lng >= this.Ne && a.lng <= this.Ie && a.lat >= this.Zd && a.lat <= this.Xd
+ },
+ extend: function (a) {
+ if (a instanceof J) {
+ var b = a.lng,
+ a = a.lat
+ this.Pl || (this.Pl = new J(0, 0))
+ this.Al || (this.Al = new J(0, 0))
+ if (!this.Ne || this.Ne > b) this.Pl.lng = this.Ne = b
+ if (!this.Ie || this.Ie < b) this.Al.lng = this.Ie = b
+ if (!this.Zd || this.Zd > a) this.Pl.lat = this.Zd = a
+ if (!this.Xd || this.Xd < a) this.Al.lat = this.Xd = a
+ }
+ },
+ YF: function () {
+ return this.tj() ? new J(0, 0) : new J(Math.abs(this.Ie - this.Ne), Math.abs(this.Xd - this.Zd))
+ }
+ })
+ function J(a, b) {
+ isNaN(a) && ((a = Lb(a)), (a = isNaN(a) ? 0 : a))
+ $a(a) && (a = parseFloat(a))
+ isNaN(b) && ((b = Lb(b)), (b = isNaN(b) ? 0 : b))
+ $a(b) && (b = parseFloat(b))
+ this.lng = a
+ this.lat = b
+ }
+ J.yM = function (a) {
+ return a && 180 >= a.lng && -180 <= a.lng && 74 >= a.lat && -74 <= a.lat
+ }
+ J.prototype.pb = function (a) {
+ return a && this.lat == a.lat && this.lng == a.lng
+ }
+ function jc() {}
+ jc.prototype.kh = function () {
+ aa('lngLatToPoint\u65b9\u6cd5\u672a\u5b9e\u73b0')
+ }
+ jc.prototype.xj = function () {
+ aa('pointToLngLat\u65b9\u6cd5\u672a\u5b9e\u73b0')
+ }
+ function kc() {}
+ var eb = {
+ EK: function (a, b, c) {
+ K.load(
+ 'coordtransutils',
+ function () {
+ eb.AV(a, b, c)
+ },
+ q
+ )
+ },
+ DK: function (a, b, c) {
+ K.load(
+ 'coordtransutils',
+ function () {
+ eb.zV(a, b, c)
+ },
+ q
+ )
+ }
+ }
+ function lc() {
+ this.Pa = []
+ var a = this
+ K.load('convertor', function () {
+ a.qQ()
+ })
+ }
+ z.ta(lc, z.lang.Ca, 'Convertor')
+ z.extend(lc.prototype, {
+ translate: function (a, b, c, e) {
+ this.Pa.push({
+ method: 'translate',
+ arguments: [a, b, c, e]
+ })
+ }
+ })
+ T(lc.prototype, {
+ translate: lc.prototype.translate
+ })
+ function S() {}
+ S.prototype = new jc()
+ z.extend(S, {
+ GP: 6370996.81,
+ IG: [1.289059486e7, 8362377.87, 5591021, 3481989.83, 1678043.12, 0],
+ Nu: [75, 60, 45, 30, 15, 0],
+ MP: [
+ [
+ 1.410526172116255e-8, 8.98305509648872e-6, -1.9939833816331, 200.9824383106796, -187.2403703815547,
+ 91.6087516669843, -23.38765649603339, 2.57121317296198, -0.03801003308653, 1.73379812e7
+ ],
+ [
+ -7.435856389565537e-9, 8.983055097726239e-6, -0.78625201886289, 96.32687599759846, -1.85204757529826,
+ -59.36935905485877, 47.40033549296737, -16.50741931063887, 2.28786674699375, 1.026014486e7
+ ],
+ [
+ -3.030883460898826e-8, 8.98305509983578e-6, 0.30071316287616, 59.74293618442277, 7.357984074871,
+ -25.38371002664745, 13.45380521110908, -3.29883767235584, 0.32710905363475, 6856817.37
+ ],
+ [
+ -1.981981304930552e-8, 8.983055099779535e-6, 0.03278182852591, 40.31678527705744, 0.65659298677277,
+ -4.44255534477492, 0.85341911805263, 0.12923347998204, -0.04625736007561, 4482777.06
+ ],
+ [
+ 3.09191371068437e-9, 8.983055096812155e-6, 6.995724062e-5, 23.10934304144901, -2.3663490511e-4,
+ -0.6321817810242, -0.00663494467273, 0.03430082397953, -0.00466043876332, 2555164.4
+ ],
+ [
+ 2.890871144776878e-9, 8.983055095805407e-6, -3.068298e-8, 7.47137025468032, -3.53937994e-6,
+ -0.02145144861037, -1.234426596e-5, 1.0322952773e-4, -3.23890364e-6, 826088.5
+ ]
+ ],
+ FG: [
+ [
+ -0.0015702102444, 111320.7020616939, 1704480524535203, -10338987376042340, 26112667856603880,
+ -35149669176653700, 26595700718403920, -10725012454188240, 1800819912950474, 82.5
+ ],
+ [
+ 8.277824516172526e-4, 111320.7020463578, 6.477955746671607e8, -4.082003173641316e9,
+ 1.077490566351142e10, -1.517187553151559e10, 1.205306533862167e10, -5.124939663577472e9,
+ 9.133119359512032e8, 67.5
+ ],
+ [
+ 0.00337398766765, 111320.7020202162, 4481351.045890365, -2.339375119931662e7, 7.968221547186455e7,
+ -1.159649932797253e8, 9.723671115602145e7, -4.366194633752821e7, 8477230.501135234, 52.5
+ ],
+ [
+ 0.00220636496208, 111320.7020209128, 51751.86112841131, 3796837.749470245, 992013.7397791013,
+ -1221952.21711287, 1340652.697009075, -620943.6990984312, 144416.9293806241, 37.5
+ ],
+ [
+ -3.441963504368392e-4, 111320.7020576856, 278.2353980772752, 2485758.690035394, 6070.750963243378,
+ 54821.18345352118, 9540.606633304236, -2710.55326746645, 1405.483844121726, 22.5
+ ],
+ [
+ -3.218135878613132e-4, 111320.7020701615, 0.00369383431289, 823725.6402795718, 0.46104986909093,
+ 2351.343141331292, 1.58060784298199, 8.77738589078284, 0.37238884252424, 7.45
+ ]
+ ],
+ t3: function (a, b) {
+ if (!a || !b) return 0
+ var c,
+ e,
+ a = this.Tb(a)
+ if (!a) return 0
+ c = this.Xk(a.lng)
+ e = this.Xk(a.lat)
+ b = this.Tb(b)
+ return !b ? 0 : this.pf(c, this.Xk(b.lng), e, this.Xk(b.lat))
+ },
+ $o: function (a, b) {
+ if (!a || !b) return 0
+ a.lng = this.WD(a.lng, -180, 180)
+ a.lat = this.aE(a.lat, -74, 74)
+ b.lng = this.WD(b.lng, -180, 180)
+ b.lat = this.aE(b.lat, -74, 74)
+ return this.pf(this.Xk(a.lng), this.Xk(b.lng), this.Xk(a.lat), this.Xk(b.lat))
+ },
+ Tb: function (a) {
+ if (a === s || a === l) return new J(0, 0)
+ var b, c
+ b = new J(Math.abs(a.lng), Math.abs(a.lat))
+ for (var e = 0; e < this.IG.length; e++)
+ if (b.lat >= this.IG[e]) {
+ c = this.MP[e]
+ break
+ }
+ a = this.FK(a, c)
+ return (a = new J(a.lng.toFixed(6), a.lat.toFixed(6)))
+ },
+ Eb: function (a) {
+ if (a === s || a === l || 180 < a.lng || -180 > a.lng || 90 < a.lat || -90 > a.lat) return new J(0, 0)
+ var b, c
+ a.lng = this.WD(a.lng, -180, 180)
+ a.lat = this.aE(a.lat, -74, 74)
+ b = new J(a.lng, a.lat)
+ for (var e = 0; e < this.Nu.length; e++)
+ if (b.lat >= this.Nu[e]) {
+ c = this.FG[e]
+ break
+ }
+ if (!c)
+ for (e = 0; e < this.Nu.length; e++)
+ if (b.lat <= -this.Nu[e]) {
+ c = this.FG[e]
+ break
+ }
+ a = this.FK(a, c)
+ return (a = new J(a.lng.toFixed(2), a.lat.toFixed(2)))
+ },
+ FK: function (a, b) {
+ if (a && b) {
+ var c = b[0] + b[1] * Math.abs(a.lng),
+ e = Math.abs(a.lat) / b[9],
+ e =
+ b[2] +
+ b[3] * e +
+ b[4] * e * e +
+ b[5] * e * e * e +
+ b[6] * e * e * e * e +
+ b[7] * e * e * e * e * e +
+ b[8] * e * e * e * e * e * e,
+ c = c * (0 > a.lng ? -1 : 1),
+ e = e * (0 > a.lat ? -1 : 1)
+ return new J(c, e)
+ }
+ },
+ pf: function (a, b, c, e) {
+ return this.GP * Math.acos(Math.sin(c) * Math.sin(e) + Math.cos(c) * Math.cos(e) * Math.cos(b - a))
+ },
+ Xk: function (a) {
+ return (Math.PI * a) / 180
+ },
+ B5: function (a) {
+ return (180 * a) / Math.PI
+ },
+ aE: function (a, b, c) {
+ b != s && (a = Math.max(a, b))
+ c != s && (a = Math.min(a, c))
+ return a
+ },
+ WD: function (a, b, c) {
+ for (; a > c; ) a -= c - b
+ for (; a < b; ) a += c - b
+ return a
+ }
+ })
+ z.extend(S.prototype, {
+ vj: function (a) {
+ return S.Eb(a)
+ },
+ kh: function (a) {
+ a = S.Eb(a)
+ return new Q(a.lng, a.lat)
+ },
+ nh: function (a) {
+ return S.Tb(a)
+ },
+ xj: function (a) {
+ a = new J(a.x, a.y)
+ return S.Tb(a)
+ },
+ $b: function (a, b, c, e, f) {
+ if (a)
+ return (
+ (a = this.vj(a, f)),
+ (b = this.dc(b)),
+ new Q(Math.round((a.lng - c.lng) / b + e.width / 2), Math.round((c.lat - a.lat) / b + e.height / 2))
+ )
+ },
+ xb: function (a, b, c, e, f) {
+ if (a)
+ return (
+ (b = this.dc(b)),
+ this.nh(new J(c.lng + b * (a.x - e.width / 2), c.lat - b * (a.y - e.height / 2)), f)
+ )
+ },
+ dc: function (a) {
+ return Math.pow(2, 18 - a)
+ }
+ })
+ function hb() {
+ this.$i = 'bj'
+ }
+ hb.prototype = new S()
+ z.extend(hb.prototype, {
+ vj: function (a, b) {
+ return this.bR(b, S.Eb(a))
+ },
+ nh: function (a, b) {
+ return S.Tb(this.cR(b, a))
+ },
+ lngLatToPointFor3D: function (a, b) {
+ var c = this,
+ e = S.Eb(a)
+ K.load(
+ 'coordtrans',
+ function () {
+ var a = kc.ZD(c.$i || 'bj', e),
+ a = new Q(a.x, a.y)
+ b && b(a)
+ },
+ q
+ )
+ },
+ pointToLngLatFor3D: function (a, b) {
+ var c = this,
+ e = new J(a.x, a.y)
+ K.load(
+ 'coordtrans',
+ function () {
+ var a = kc.XD(c.$i || 'bj', e),
+ a = new J(a.lng, a.lat),
+ a = S.Tb(a)
+ b && b(a)
+ },
+ q
+ )
+ },
+ bR: function (a, b) {
+ if (K.kb('coordtrans').Me == K.Cj.cq) {
+ var c = kc.ZD(a || 'bj', b)
+ return new J(c.x, c.y)
+ }
+ K.load('coordtrans', u())
+ return new J(0, 0)
+ },
+ cR: function (a, b) {
+ if (K.kb('coordtrans').Me == K.Cj.cq) {
+ var c = kc.XD(a || 'bj', b)
+ return new J(c.lng, c.lat)
+ }
+ K.load('coordtrans', u())
+ return new J(0, 0)
+ },
+ dc: function (a) {
+ return Math.pow(2, 20 - a)
+ }
+ })
+ function mc() {
+ this.Mb = 'overlay'
+ }
+ z.lang.ta(mc, z.lang.Ca, 'Overlay')
+ mc.Ck = function (a) {
+ a *= 1
+ return !a ? 0 : (-1e5 * a) << 1
+ }
+ z.extend(mc.prototype, {
+ He: function (a) {
+ if (!this.V && Xa(this.initialize) && (this.V = this.initialize(a))) this.V.style.WebkitUserSelect = 'none'
+ this.draw()
+ },
+ initialize: function () {
+ aa('initialize\u65b9\u6cd5\u672a\u5b9e\u73b0')
+ },
+ draw: function () {
+ aa('draw\u65b9\u6cd5\u672a\u5b9e\u73b0')
+ },
+ remove: function () {
+ this.V && this.V.parentNode && this.V.parentNode.removeChild(this.V)
+ this.V = s
+ this.dispatchEvent(new P('onremove'))
+ },
+ U: function () {
+ this.V && z.D.U(this.V)
+ },
+ show: function () {
+ this.V && z.D.show(this.V)
+ },
+ jh: function () {
+ return !this.V || 'none' == this.V.style.display || 'hidden' == this.V.style.visibility ? t : q
+ }
+ })
+ B.Ye(function (a) {
+ function b(a, b) {
+ var c = L('div'),
+ i = c.style
+ i.position = 'absolute'
+ i.top = i.left = i.width = i.height = '0'
+ i.zIndex = b
+ a.appendChild(c)
+ return c
+ }
+ var c = a.R
+ c.rd = a.rd = b(a.platform, 200)
+ a.Yd.BD = b(c.rd, 800)
+ a.Yd.RE = b(c.rd, 700)
+ a.Yd.sL = b(c.rd, 600)
+ a.Yd.KE = b(c.rd, 500)
+ a.Yd.fN = b(c.rd, 400)
+ a.Yd.gN = b(c.rd, 300)
+ a.Yd.nP = b(c.rd, 201)
+ a.Yd.Et = b(c.rd, 200)
+ })
+ function gb() {
+ z.lang.Ca.call(this)
+ mc.call(this)
+ this.map = s
+ this.Qa = q
+ this.zb = s
+ this.vH = 0
+ }
+ z.lang.ta(gb, mc, 'OverlayInternal')
+ z.extend(gb.prototype, {
+ initialize: function (a) {
+ this.map = a
+ z.lang.Ca.call(this, this.aa)
+ return s
+ },
+ Dx: w('map'),
+ draw: u(),
+ Ej: u(),
+ remove: function () {
+ this.map = s
+ z.lang.hx(this.aa)
+ mc.prototype.remove.call(this)
+ },
+ U: function () {
+ this.Qa !== t && (this.Qa = t)
+ },
+ show: function () {
+ this.Qa !== q && (this.Qa = q)
+ },
+ jh: function () {
+ return !this.V ? t : !!this.Qa
+ },
+ La: w('V'),
+ lO: function (a) {
+ var a = a || {},
+ b
+ for (b in a) this.z[b] = a[b]
+ },
+ Sp: ba('zIndex'),
+ gj: function () {
+ this.z.gj = q
+ },
+ MW: function () {
+ this.z.gj = t
+ },
+ yo: ba('lg'),
+ Cp: function () {
+ this.lg = s
+ }
+ })
+ function nc() {
+ this.map = s
+ this.ya = {}
+ this.Ee = []
+ }
+ B.Ye(function (a) {
+ var b = new nc()
+ b.map = a
+ a.ya = b.ya
+ a.Ee = b.Ee
+ a.addEventListener('load', function (a) {
+ b.draw(a)
+ })
+ a.addEventListener('moveend', function (a) {
+ b.draw(a)
+ })
+ ;(z.ca.ia && 8 > z.ca.ia) || 'BackCompat' === document.compatMode
+ ? a.addEventListener('zoomend', function (a) {
+ setTimeout(function () {
+ b.draw(a)
+ }, 20)
+ })
+ : a.addEventListener('zoomend', function (a) {
+ b.draw(a)
+ })
+ a.addEventListener('maptypechange', function (a) {
+ b.draw(a)
+ })
+ a.addEventListener('addoverlay', function (a) {
+ a = a.target
+ if (a instanceof gb) b.ya[a.aa] || (b.ya[a.aa] = a)
+ else {
+ for (var e = t, f = 0, g = b.Ee.length; f < g; f++)
+ if (b.Ee[f] === a) {
+ e = q
+ break
+ }
+ e || b.Ee.push(a)
+ }
+ })
+ a.addEventListener('removeoverlay', function (a) {
+ a = a.target
+ if (a instanceof gb) delete b.ya[a.aa]
+ else
+ for (var e = 0, f = b.Ee.length; e < f; e++)
+ if (b.Ee[e] === a) {
+ b.Ee.splice(e, 1)
+ break
+ }
+ })
+ a.addEventListener('clearoverlays', function () {
+ this.Yc()
+ for (var a in b.ya) b.ya[a].z.gj && (b.ya[a].remove(), delete b.ya[a])
+ a = 0
+ for (var e = b.Ee.length; a < e; a++)
+ b.Ee[a].enableMassClear !== t && (b.Ee[a].remove(), (b.Ee[a] = s), b.Ee.splice(a, 1), a--, e--)
+ })
+ a.addEventListener('infowindowopen', function () {
+ var a = this.zb
+ a && (z.D.U(a.Ac), z.D.U(a.ac))
+ })
+ a.addEventListener('movestart', function () {
+ this.hh() && this.hh().mJ()
+ })
+ a.addEventListener('moveend', function () {
+ this.hh() && this.hh().cJ()
+ })
+ })
+ nc.prototype.draw = function (a) {
+ if (B.hq) {
+ var b = B.hq.Ws(this.map)
+ 'canvas' === b.Mb && b.canvas && b.XQ(b.canvas.getContext('2d'))
+ }
+ for (var c in this.ya) this.ya[c].draw(a)
+ z.mc.Fb(this.Ee, function (a) {
+ a.draw()
+ })
+ this.map.R.qb && this.map.R.qb.sa()
+ B.hq && b.IF()
+ }
+ function oc(a) {
+ gb.call(this)
+ a = a || {}
+ this.z = {
+ strokeColor: a.strokeColor || '#3a6bdb',
+ rc: a.strokeWeight || 5,
+ td: a.strokeOpacity || 0.65,
+ strokeStyle: a.strokeStyle || 'solid',
+ gj: a.enableMassClear === t ? t : q,
+ zk: s,
+ um: s,
+ mf: a.enableEditing === q ? q : t,
+ kN: 5,
+ G0: t,
+ jf: a.enableClicking === t ? t : q,
+ ji: a.icons && 0 < a.icons.length ? a.icons : s
+ }
+ 0 >= this.z.rc && (this.z.rc = 5)
+ if (0 > this.z.td || 1 < this.z.td) this.z.td = 0.65
+ if (0 > this.z.tg || 1 < this.z.tg) this.z.tg = 0.65
+ 'solid' != this.z.strokeStyle && 'dashed' != this.z.strokeStyle && (this.z.strokeStyle = 'solid')
+ this.V = s
+ this.Vu = new fb(0, 0)
+ this.gf = []
+ this.tc = []
+ this.Ra = {}
+ }
+ z.lang.ta(oc, gb, 'Graph')
+ oc.yx = function (a) {
+ var b = []
+ if (!a) return b
+ $a(a) &&
+ z.mc.Fb(a.split(';'), function (a) {
+ a = a.split(',')
+ b.push(new J(a[0], a[1]))
+ })
+ '[object Array]' == Object.prototype.toString.apply(a) && 0 < a.length && (b = a)
+ return b
+ }
+ oc.eF = [0.09, 0.005, 1.0e-4, 1.0e-5]
+ z.extend(oc.prototype, {
+ initialize: function (a) {
+ this.map = a
+ return s
+ },
+ draw: u(),
+ Mr: function (a) {
+ this.gf.length = 0
+ this.ja = oc.yx(a).slice(0)
+ this.Bh()
+ },
+ ke: function (a) {
+ this.Mr(a)
+ },
+ Bh: function () {
+ if (this.ja) {
+ var a = this
+ a.Vu = new fb()
+ z.mc.Fb(this.ja, function (b) {
+ a.Vu.extend(b)
+ })
+ }
+ },
+ Ue: w('ja'),
+ gn: function (a, b) {
+ b && this.ja[a] && ((this.gf.length = 0), (this.ja[a] = new J(b.lng, b.lat)), this.Bh())
+ },
+ setStrokeColor: function (a) {
+ this.z.strokeColor = a
+ },
+ jY: function () {
+ return this.z.strokeColor
+ },
+ Rp: function (a) {
+ 0 < a && (this.z.rc = a)
+ },
+ WL: function () {
+ return this.z.rc
+ },
+ Pp: function (a) {
+ a == l || 1 < a || 0 > a || (this.z.td = a)
+ },
+ kY: function () {
+ return this.z.td
+ },
+ Xt: function (a) {
+ 1 < a || 0 > a || (this.z.tg = a)
+ },
+ HX: function () {
+ return this.z.tg
+ },
+ Qp: function (a) {
+ ;('solid' != a && 'dashed' != a) || (this.z.strokeStyle = a)
+ },
+ VL: function () {
+ return this.z.strokeStyle
+ },
+ setFillColor: function (a) {
+ this.z.fillColor = a || ''
+ },
+ GX: function () {
+ return this.z.fillColor
+ },
+ ve: w('Vu'),
+ remove: function () {
+ this.map && this.map.removeEventListener('onmousemove', this.vv)
+ gb.prototype.remove.call(this)
+ this.gf.length = 0
+ },
+ mf: function () {
+ if (!(2 > this.ja.length)) {
+ this.z.mf = q
+ var a = this
+ K.load(
+ 'poly',
+ function () {
+ a.Ul()
+ },
+ q
+ )
+ }
+ },
+ LW: function () {
+ this.z.mf = t
+ var a = this
+ K.load(
+ 'poly',
+ function () {
+ a.nk()
+ },
+ q
+ )
+ },
+ DX: function () {
+ return this.z.mf
+ }
+ })
+ function pc(a) {
+ gb.call(this)
+ this.V = this.map = s
+ this.z = {
+ width: 0,
+ height: 0,
+ za: new O(0, 0),
+ opacity: 1,
+ background: 'transparent',
+ ey: 1,
+ SM: '#000',
+ hZ: 'solid',
+ point: s
+ }
+ this.lO(a)
+ this.point = this.z.point
+ }
+ z.lang.ta(pc, gb, 'Division')
+ z.extend(pc.prototype, {
+ Ej: function () {
+ var a = this.z,
+ b = this.content,
+ c = ['')
+ c.push(b)
+ c.push('
')
+ this.V = Ab(this.map.Tf().RE, c.join(''))
+ },
+ initialize: function (a) {
+ this.map = a
+ this.Ej()
+ this.V &&
+ z.M(this.V, H() ? 'touchstart' : 'mousedown', function (a) {
+ ma(a)
+ })
+ return this.V
+ },
+ draw: function () {
+ var a = this.map.Xe(this.z.point)
+ this.z.za = new O(
+ -Math.round(this.z.width / 2) - Math.round(this.z.ey),
+ -Math.round(this.z.height / 2) - Math.round(this.z.ey)
+ )
+ this.V.style.left = a.x + this.z.za.width + 'px'
+ this.V.style.top = a.y + this.z.za.height + 'px'
+ },
+ ga: function () {
+ return this.z.point
+ },
+ L1: function () {
+ return this.map.$b(this.ga())
+ },
+ sa: function (a) {
+ this.z.point = a
+ this.draw()
+ },
+ u_: function (a, b) {
+ this.z.width = Math.round(a)
+ this.z.height = Math.round(b)
+ this.V &&
+ ((this.V.style.width = this.z.width + 'px'), (this.V.style.height = this.z.height + 'px'), this.draw())
+ }
+ })
+ function qc(a, b, c) {
+ a &&
+ b &&
+ ((this.imageUrl = a),
+ (this.size = b),
+ (a = new O(Math.floor(b.width / 2), Math.floor(b.height / 2))),
+ (c = c || {}),
+ (a = c.anchor || a),
+ (b = c.imageOffset || new O(0, 0)),
+ (this.imageSize = c.imageSize),
+ (this.anchor = a),
+ (this.imageOffset = b),
+ (this.infoWindowAnchor = c.infoWindowAnchor || this.anchor),
+ (this.printImageUrl = c.printImageUrl || ''))
+ }
+ z.extend(qc.prototype, {
+ mO: function (a) {
+ a && (this.imageUrl = a)
+ },
+ K_: function (a) {
+ a && (this.printImageUrl = a)
+ },
+ Ce: function (a) {
+ a && (this.size = new O(a.width, a.height))
+ },
+ uc: function (a) {
+ a && (this.anchor = new O(a.width, a.height))
+ },
+ Yt: function (a) {
+ a && (this.imageOffset = new O(a.width, a.height))
+ },
+ z_: function (a) {
+ a && (this.infoWindowAnchor = new O(a.width, a.height))
+ },
+ w_: function (a) {
+ a && (this.imageSize = new O(a.width, a.height))
+ },
+ toString: ca('Icon')
+ })
+ function rc(a, b) {
+ if (a) {
+ b = b || {}
+ this.style = {
+ anchor: b.anchor || new O(0, 0),
+ fillColor: b.fillColor || '#000',
+ tg: b.fillOpacity || 0,
+ scale: b.scale || 1,
+ rotation: b.rotation || 0,
+ strokeColor: b.strokeColor || '#000',
+ td: b.strokeOpacity || 1,
+ rc: b.strokeWeight
+ }
+ this.Mb = 'number' === typeof a ? a : 'UserDefined'
+ this.Di = this.style.anchor
+ this.rr = new O(0, 0)
+ this.anchor = s
+ this.vB = a
+ var c = this
+ K.load(
+ 'symbol',
+ function () {
+ c.Mn()
+ },
+ q
+ )
+ }
+ }
+ z.extend(rc.prototype, {
+ setPath: ba('vB'),
+ setAnchor: function (a) {
+ this.Di = this.style.anchor = a
+ },
+ setRotation: function (a) {
+ this.style.rotation = a
+ },
+ setScale: function (a) {
+ this.style.scale = a
+ },
+ setStrokeWeight: function (a) {
+ this.style.rc = a
+ },
+ setStrokeColor: function (a) {
+ a = z.is.AC(a, this.style.td)
+ this.style.strokeColor = a
+ },
+ setStrokeOpacity: function (a) {
+ this.style.td = a
+ },
+ setFillOpacity: function (a) {
+ this.style.tg = a
+ },
+ setFillColor: function (a) {
+ this.style.fillColor = a
+ }
+ })
+ function sc(a, b, c, e) {
+ a &&
+ ((this.Ov = {}),
+ (this.qL = e ? !!e : t),
+ (this.Vc = []),
+ (this.c0 = a instanceof rc ? a : s),
+ (this.WI = b === l ? q : !!(b.indexOf('%') + 1)),
+ (this.Zj = isNaN(parseFloat(b)) ? 1 : this.WI ? parseFloat(b) / 100 : parseFloat(b)),
+ (this.XI = !!(c.indexOf('%') + 1)),
+ (this.repeat = c != l ? (this.XI ? parseFloat(c) / 100 : parseFloat(c)) : 0))
+ }
+ function tc(a, b) {
+ z.lang.Ca.call(this)
+ this.content = a
+ this.map = s
+ b = b || {}
+ this.z = {
+ width: b.width || 0,
+ height: b.height || 0,
+ maxWidth: b.maxWidth || 730,
+ za: b.offset || new O(0, 0),
+ title: b.title || '',
+ SE: b.maxContent || '',
+ dh: b.enableMaximize || t,
+ Ls: b.enableAutoPan === t ? t : q,
+ lD: b.enableCloseOnClick === t ? t : q,
+ margin: b.margin || [10, 10, 40, 10],
+ vC: b.collisions || [
+ [10, 10],
+ [10, 10],
+ [10, 10],
+ [10, 10]
+ ],
+ GY: t,
+ AZ: b.onClosing || ca(q),
+ hL: t,
+ qD: b.enableParano === q ? q : t,
+ message: b.message,
+ sD: b.enableSearchTool === q ? q : t,
+ Ox: b.headerContent || '',
+ mD: b.enableContentScroll || t
+ }
+ if (0 != this.z.width && (220 > this.z.width && (this.z.width = 220), 730 < this.z.width)) this.z.width = 730
+ if (0 != this.z.height && (60 > this.z.height && (this.z.height = 60), 650 < this.z.height)) this.z.height = 650
+ if (0 != this.z.maxWidth && (220 > this.z.maxWidth && (this.z.maxWidth = 220), 730 < this.z.maxWidth))
+ this.z.maxWidth = 730
+ this.de = t
+ this.yi = G.qa
+ this.fb = s
+ var c = this
+ K.load('infowindow', function () {
+ c.ib()
+ })
+ }
+ z.lang.ta(tc, z.lang.Ca, 'InfoWindow')
+ z.extend(tc.prototype, {
+ setWidth: function (a) {
+ ;(!a && 0 != a) ||
+ isNaN(a) ||
+ 0 > a ||
+ (0 != a && (220 > a && (a = 220), 730 < a && (a = 730)), (this.z.width = a))
+ },
+ setHeight: function (a) {
+ ;(!a && 0 != a) ||
+ isNaN(a) ||
+ 0 > a ||
+ (0 != a && (60 > a && (a = 60), 650 < a && (a = 650)), (this.z.height = a))
+ },
+ qO: function (a) {
+ ;(!a && 0 != a) ||
+ isNaN(a) ||
+ 0 > a ||
+ (0 != a && (220 > a && (a = 220), 730 < a && (a = 730)), (this.z.maxWidth = a))
+ },
+ Ec: function (a) {
+ this.z.title = a
+ },
+ getTitle: function () {
+ return this.z.title
+ },
+ dd: ba('content'),
+ xk: w('content'),
+ $t: function (a) {
+ this.z.SE = a + ''
+ },
+ je: u(),
+ Ls: function () {
+ this.z.Ls = q
+ },
+ disableAutoPan: function () {
+ this.z.Ls = t
+ },
+ enableCloseOnClick: function () {
+ this.z.lD = q
+ },
+ disableCloseOnClick: function () {
+ this.z.lD = t
+ },
+ dh: function () {
+ this.z.dh = q
+ },
+ kx: function () {
+ this.z.dh = t
+ },
+ show: function () {
+ this.Qa = q
+ },
+ U: function () {
+ this.Qa = t
+ },
+ close: function () {
+ this.U()
+ },
+ hy: function () {
+ this.de = q
+ },
+ restore: function () {
+ this.de = t
+ },
+ jh: function () {
+ return this.Xa()
+ },
+ Xa: ca(t),
+ ga: function () {
+ if (this.fb && this.fb.ga) return this.fb.ga()
+ },
+ Sf: function () {
+ return this.z.za
+ }
+ })
+ Ka.prototype.pc = function (a, b) {
+ if (a instanceof tc && b instanceof J) {
+ var c = this.R
+ c.Nm
+ ? c.Nm.sa(b)
+ : ((c.Nm = new U(b, {
+ icon: new qc(G.qa + 'blank.gif', {
+ width: 1,
+ height: 1
+ }),
+ offset: new O(0, 0),
+ clickable: t
+ })),
+ (c.Nm.bS = 1))
+ this.Ga(c.Nm)
+ c.Nm.pc(a)
+ }
+ }
+ Ka.prototype.Yc = function () {
+ var a = this.R.qb || this.R.rl
+ a && a.fb && a.fb.Yc()
+ }
+ gb.prototype.pc = function (a) {
+ this.map && (this.map.Yc(), (a.Qa = q), (this.map.R.rl = a), (a.fb = this), z.lang.Ca.call(a, a.aa))
+ }
+ gb.prototype.Yc = function () {
+ this.map && this.map.R.rl && ((this.map.R.rl.Qa = t), z.lang.hx(this.map.R.rl.aa), (this.map.R.rl = s))
+ }
+ function uc(a, b) {
+ gb.call(this)
+ this.content = a
+ this.V = this.map = s
+ b = b || {}
+ this.z = {
+ width: 0,
+ za: b.offset || new O(0, 0),
+ Wp: {
+ backgroundColor: '#fff',
+ border: '1px solid #f00',
+ padding: '1px',
+ whiteSpace: 'nowrap',
+ font: '12px ' + G.fontFamily,
+ zIndex: '80',
+ MozUserSelect: 'none'
+ },
+ position: b.position || s,
+ gj: b.enableMassClear === t ? t : q,
+ jf: q
+ }
+ 0 > this.z.width && (this.z.width = 0)
+ Hb(b.enableClicking) && (this.z.jf = b.enableClicking)
+ this.point = this.z.position
+ var c = this
+ K.load('marker', function () {
+ c.ib()
+ })
+ }
+ z.lang.ta(uc, gb, 'Label')
+ z.extend(uc.prototype, {
+ ga: function () {
+ return this.Dv ? this.Dv.ga() : this.point
+ },
+ sa: function (a) {
+ a instanceof J && !this.Ex() && (this.point = this.z.position = new J(a.lng, a.lat))
+ },
+ dd: ba('content'),
+ HF: function (a) {
+ 0 <= a && 1 >= a && (this.z.opacity = a)
+ },
+ Ze: function (a) {
+ a instanceof O && (this.z.za = new O(a.width, a.height))
+ },
+ Sf: function () {
+ return this.z.za
+ },
+ Md: function (a) {
+ a = a || {}
+ this.z.Wp = z.extend(this.z.Wp, a)
+ },
+ ti: function (a) {
+ return this.Md(a)
+ },
+ Ec: function (a) {
+ this.z.title = a || ''
+ },
+ getTitle: function () {
+ return this.z.title
+ },
+ pO: function (a) {
+ this.point = (this.Dv = a) ? (this.z.position = a.ga()) : (this.z.position = s)
+ },
+ Ex: function () {
+ return this.Dv || s
+ },
+ xk: w('content')
+ })
+ function vc(a, b) {
+ if (0 !== arguments.length) {
+ gb.apply(this, arguments)
+ b = b || {}
+ this.z = {
+ bb: a,
+ opacity: b.opacity || 1,
+ Gm: b.Gm || '',
+ Bs: b.displayOnMinLevel || 1,
+ gj: b.enableMassClear === t ? t : q,
+ As: b.displayOnMaxLevel || 19,
+ X_: b.stretch || t
+ }
+ var c = this
+ K.load('groundoverlay', function () {
+ c.ib()
+ })
+ }
+ }
+ z.lang.ta(vc, gb, 'GroundOverlay')
+ z.extend(vc.prototype, {
+ setBounds: function (a) {
+ this.z.bb = a
+ },
+ getBounds: function () {
+ return this.z.bb
+ },
+ setOpacity: function (a) {
+ this.z.opacity = a
+ },
+ getOpacity: function () {
+ return this.z.opacity
+ },
+ setImageURL: function (a) {
+ this.z.Gm = a
+ },
+ getImageURL: function () {
+ return this.z.Gm
+ },
+ setDisplayOnMinLevel: function (a) {
+ this.z.Bs = a
+ },
+ getDisplayOnMinLevel: function () {
+ return this.z.Bs
+ },
+ setDisplayOnMaxLevel: function (a) {
+ this.z.As = a
+ },
+ getDisplayOnMaxLevel: function () {
+ return this.z.As
+ }
+ })
+ var wc = 3,
+ xc = 4
+ function yc() {
+ var a = document.createElement('canvas')
+ return !(!a.getContext || !a.getContext('2d'))
+ }
+ function zc(a, b) {
+ var c = this
+ yc() &&
+ (a === l && aa(Error('\u6ca1\u6709\u4f20\u5165points\u6570\u636e')),
+ '[object Array]' !== Object.prototype.toString.call(a) &&
+ aa(Error('points\u6570\u636e\u4e0d\u662f\u6570\u7ec4')),
+ (b = b || {}),
+ gb.apply(c, arguments),
+ (c.ea = {
+ ja: a
+ }),
+ (c.z = {
+ shape: b.shape || wc,
+ size: b.size || xc,
+ color: b.color || '#fa937e',
+ gj: q
+ }),
+ (this.sB = []),
+ (this.pe = []),
+ K.load('pointcollection', function () {
+ for (var a = 0, b; (b = c.sB[a]); a++) c[b.method].apply(c, b.arguments)
+ for (a = 0; (b = c.pe[a]); a++) c[b.method].apply(c, b.arguments)
+ }))
+ }
+ z.lang.ta(zc, gb, 'PointCollection')
+ z.extend(zc.prototype, {
+ initialize: function (a) {
+ this.sB &&
+ this.sB.push({
+ method: 'initialize',
+ arguments: arguments
+ })
+ },
+ setPoints: function (a) {
+ this.pe &&
+ this.pe.push({
+ method: 'setPoints',
+ arguments: arguments
+ })
+ },
+ setStyles: function (a) {
+ this.pe &&
+ this.pe.push({
+ method: 'setStyles',
+ arguments: arguments
+ })
+ },
+ clear: function () {
+ this.pe &&
+ this.pe.push({
+ method: 'clear',
+ arguments: arguments
+ })
+ },
+ remove: function () {
+ this.pe &&
+ this.pe.push({
+ method: 'remove',
+ arguments: arguments
+ })
+ }
+ })
+ var Ac = new qc(G.qa + 'marker_red_sprite.png', new O(19, 25), {
+ anchor: new O(10, 25),
+ infoWindowAnchor: new O(10, 0)
+ }),
+ Bc = new qc(G.qa + 'marker_red_sprite.png', new O(20, 11), {
+ anchor: new O(6, 11),
+ imageOffset: new O(-19, -13)
+ })
+ function U(a, b) {
+ gb.call(this)
+ b = b || {}
+ this.point = a
+ this.yq = this.map = s
+ this.z = {
+ za: b.offset || new O(0, 0),
+ rj: b.icon || Ac,
+ Sk: Bc,
+ title: b.title || '',
+ label: s,
+ lK: b.baseZIndex || 0,
+ jf: q,
+ X5: t,
+ EE: t,
+ gj: b.enableMassClear === t ? t : q,
+ Wb: t,
+ UN: b.raiseOnDrag === q ? q : t,
+ aO: t,
+ Hd: b.draggingCursor || G.Hd,
+ rotation: b.rotation || 0
+ }
+ b.icon && !b.shadow && (this.z.Sk = s)
+ b.enableDragging && (this.z.Wb = b.enableDragging)
+ Hb(b.enableClicking) && (this.z.jf = b.enableClicking)
+ var c = this
+ K.load('marker', function () {
+ c.ib()
+ })
+ }
+ U.Qu = mc.Ck(-90) + 1e6
+ U.AG = U.Qu + 1e6
+ z.lang.ta(U, gb, 'Marker')
+ z.extend(U.prototype, {
+ Rb: function (a) {
+ if (a instanceof qc || a instanceof rc) this.z.rj = a
+ },
+ ap: function () {
+ return this.z.rj
+ },
+ Oy: function (a) {
+ a instanceof qc && (this.z.Sk = a)
+ },
+ getShadow: function () {
+ return this.z.Sk
+ },
+ dn: function (a) {
+ this.z.label = a || s
+ },
+ VD: function () {
+ return this.z.label
+ },
+ Wb: function () {
+ this.z.Wb = q
+ },
+ TC: function () {
+ this.z.Wb = t
+ },
+ ga: w('point'),
+ sa: function (a) {
+ a instanceof J && (this.point = new J(a.lng, a.lat))
+ },
+ ui: function (a, b) {
+ this.z.EE = !!a
+ a && (this.XG = b || 0)
+ },
+ Ec: function (a) {
+ this.z.title = a + ''
+ },
+ getTitle: function () {
+ return this.z.title
+ },
+ Ze: function (a) {
+ a instanceof O && (this.z.za = a)
+ },
+ Sf: function () {
+ return this.z.za
+ },
+ bn: ba('yq'),
+ Op: function (a) {
+ this.z.rotation = a
+ },
+ TL: function () {
+ return this.z.rotation
+ }
+ })
+ function Cc(a) {
+ this.options = a || {}
+ this.GZ = this.options.paneName || 'labelPane'
+ this.zIndex = this.options.zIndex || 0
+ }
+ z.lang.ta(Cc, gb, 'CanvasLayer')
+ Cc.prototype.initialize = function (a) {
+ this.B = a
+ var b = (this.canvas = document.createElement('canvas')),
+ c = this.canvas.getContext('2d')
+ b.style.cssText = 'position:absolute;left:0;top:0;z-index:' + this.zIndex + ';'
+ Dc(this)
+ Ec(c)
+ a.getPanes()[this.GZ].appendChild(b)
+ var e = this
+ a.addEventListener('resize', function () {
+ Dc(e)
+ e.ib()
+ })
+ return this.canvas
+ }
+ function Dc(a) {
+ var b = a.B.cb(),
+ a = a.canvas
+ a.width = b.width
+ a.height = b.height
+ a.style.width = a.width + 'px'
+ a.style.height = a.height + 'px'
+ }
+ function Ec(a) {
+ var b = (window.devicePixelRatio || 1) / (a.CV || a.T5 || a.x4 || a.y4 || a.B4 || a.CV || 1),
+ c = a.canvas.width,
+ e = a.canvas.height
+ a.canvas.width = c * b
+ a.canvas.height = e * b
+ a.canvas.style.width = c + 'px'
+ a.canvas.style.height = e + 'px'
+ a.scale(b, b)
+ }
+ Cc.prototype.draw = function () {
+ var a = this,
+ b = arguments
+ clearTimeout(a.j0)
+ a.j0 = setTimeout(function () {
+ a.ib.apply(a, b)
+ }, 15)
+ }
+ da = Cc.prototype
+ da.ib = function () {
+ var a = this.B
+ this.canvas.style.left = -a.offsetX + 'px'
+ this.canvas.style.top = -a.offsetY + 'px'
+ this.dispatchEvent('draw')
+ this.options.update && this.options.update.apply(this, arguments)
+ }
+ da.La = w('canvas')
+ da.show = function () {
+ this.canvas || this.B.Ga(this)
+ this.canvas.style.display = 'block'
+ }
+ da.U = function () {
+ this.canvas.style.display = 'none'
+ }
+ da.Sp = function (a) {
+ this.canvas.style.zIndex = a
+ }
+ da.Ck = w('zIndex')
+ function Fc(a, b) {
+ oc.call(this, b)
+ b = b || {}
+ this.z.tg = b.fillOpacity ? b.fillOpacity : 0.65
+ this.z.fillColor = '' == b.fillColor ? '' : b.fillColor ? b.fillColor : '#fff'
+ this.ke(a)
+ var c = this
+ K.load('poly', function () {
+ c.ib()
+ })
+ }
+ z.lang.ta(Fc, oc, 'Polygon')
+ z.extend(Fc.prototype, {
+ ke: function (a, b) {
+ this.vo = oc.yx(a).slice(0)
+ var c = oc.yx(a).slice(0)
+ 1 < c.length && c.push(new J(c[0].lng, c[0].lat))
+ oc.prototype.ke.call(this, c, b)
+ },
+ gn: function (a, b) {
+ this.vo[a] &&
+ ((this.vo[a] = new J(b.lng, b.lat)),
+ (this.ja[a] = new J(b.lng, b.lat)),
+ 0 == a &&
+ !this.ja[0].pb(this.ja[this.ja.length - 1]) &&
+ (this.ja[this.ja.length - 1] = new J(b.lng, b.lat)),
+ this.Bh())
+ },
+ Ue: function () {
+ var a = this.vo
+ 0 == a.length && (a = this.ja)
+ return a
+ }
+ })
+ function Gc(a, b) {
+ oc.call(this, b)
+ this.Mr(a)
+ var c = this
+ K.load('poly', function () {
+ c.ib()
+ })
+ }
+ z.lang.ta(Gc, oc, 'Polyline')
+ function Hc(a, b, c) {
+ this.point = a
+ this.wa = Math.abs(b)
+ Fc.call(this, [], c)
+ }
+ Hc.eF = [0.01, 1.0e-4, 1.0e-5, 4.0e-6]
+ z.lang.ta(Hc, Fc, 'Circle')
+ z.extend(Hc.prototype, {
+ initialize: function (a) {
+ this.map = a
+ this.ja = this.qv(this.point, this.wa)
+ this.Bh()
+ return s
+ },
+ Ka: w('point'),
+ Zf: function (a) {
+ a && (this.point = a)
+ },
+ RL: w('wa'),
+ xf: function (a) {
+ this.wa = Math.abs(a)
+ },
+ qv: function (a, b) {
+ if (!a || !b || !this.map) return []
+ for (
+ var c = [], e = b / 6378800, f = (Math.PI / 180) * a.lat, g = (Math.PI / 180) * a.lng, i = 0;
+ 360 > i;
+ i += 9
+ ) {
+ var k = (Math.PI / 180) * i,
+ m = Math.asin(Math.sin(f) * Math.cos(e) + Math.cos(f) * Math.sin(e) * Math.cos(k)),
+ k = new J(
+ (((g -
+ Math.atan2(
+ Math.sin(k) * Math.sin(e) * Math.cos(f),
+ Math.cos(e) - Math.sin(f) * Math.sin(m)
+ ) +
+ Math.PI) %
+ (2 * Math.PI)) -
+ Math.PI) *
+ (180 / Math.PI),
+ m * (180 / Math.PI)
+ )
+ c.push(k)
+ }
+ e = c[0]
+ c.push(new J(e.lng, e.lat))
+ return c
+ }
+ })
+ var Ic = {}
+ function Jc(a) {
+ this.map = a
+ this.Mm = []
+ this.$f = []
+ this.Fg = []
+ this.OV = 300
+ this.oF = 0
+ this.yg = {}
+ this.Zi = {}
+ this.ph = 0
+ this.yE = q
+ this.MK = {}
+ this.eo = this.Kj(1)
+ this.od = this.Kj(2)
+ this.Bl = this.Kj(3)
+ this.Ki = this.Kj(4)
+ a.platform.appendChild(this.eo)
+ a.platform.appendChild(this.od)
+ a.platform.appendChild(this.Bl)
+ a.platform.appendChild(this.Ki)
+ var b = 256 * Math.pow(2, 15),
+ c = 3 * b,
+ a = S.Eb(new J(180, 0)).lng,
+ c = c - a,
+ b = -3 * b,
+ e = S.Eb(new J(-180, 0)).lng
+ this.yI = a
+ this.zI = e
+ this.ZA = c + (e - b)
+ this.AI = a - e
+ }
+ B.Ye(function (a) {
+ var b = new Jc(a)
+ b.na()
+ a.Va = b
+ })
+ z.extend(Jc.prototype, {
+ na: function () {
+ var a = this,
+ b = a.map
+ b.addEventListener('loadcode', function () {
+ a.up()
+ })
+ b.addEventListener('addtilelayer', function (b) {
+ a.Oe(b)
+ })
+ b.addEventListener('removetilelayer', function (b) {
+ a.Yf(b)
+ })
+ b.addEventListener('setmaptype', function (b) {
+ a.Dg(b)
+ })
+ b.addEventListener('zoomstartcode', function (b) {
+ a.Mc(b)
+ })
+ b.addEventListener('setcustomstyles', function (b) {
+ a.Zt(b.target)
+ a.Wf(q)
+ })
+ b.addEventListener('initindoorlayer', function (b) {
+ a.tE(b)
+ })
+ },
+ up: function () {
+ var a = this
+ if (z.ca.ia)
+ try {
+ document.execCommand('BackgroundImageCache', t, q)
+ } catch (b) {}
+ this.loaded || a.Ux()
+ a.Wf()
+ this.loaded ||
+ ((this.loaded = q),
+ K.load('tile', function () {
+ a.rQ()
+ }))
+ },
+ tE: function (a) {
+ this.zu = new Kc(this)
+ this.zu.Oe(new Lc(this.map, this.zu, a.vf))
+ },
+ Ux: function () {
+ for (var a = this.map.oa().ff, b = 0; b < a.length; b++) {
+ var c = new Mc()
+ z.extend(c, a[b])
+ this.Mm.push(c)
+ c.na(this.map, this.eo)
+ }
+ this.Zt()
+ },
+ Kj: function (a) {
+ var b = L('div')
+ b.style.position = 'absolute'
+ b.style.overflow = 'visible'
+ b.style.left = b.style.top = '0'
+ b.style.zIndex = a
+ return b
+ },
+ Af: function () {
+ this.ph--
+ var a = this
+ this.yE && (this.map.dispatchEvent(new P('onfirsttileloaded')), (this.yE = t))
+ 0 == this.ph &&
+ (this.Hi && (clearTimeout(this.Hi), (this.Hi = s)),
+ (this.Hi = setTimeout(function () {
+ if (a.ph == 0) {
+ a.map.dispatchEvent(new P('ontilesloaded'))
+ a.yE = q
+ }
+ a.Hi = s
+ }, 80)))
+ },
+ fE: function (a, b) {
+ return 'TILE-' + b.aa + '-' + a[0] + '-' + a[1] + '-' + a[2]
+ },
+ Rx: function (a) {
+ var b = a.Gb
+ b && zb(b) && b.parentNode.removeChild(b)
+ delete this.yg[a.name]
+ a.loaded || (Nc(a), (a.Gb = s), (a.Pm = s))
+ },
+ pj: function (a, b, c) {
+ var e = this.map,
+ f = e.oa(),
+ g = e.Oa,
+ i = e.fc,
+ k = f.dc(g),
+ m = this.DL(),
+ n = m[0],
+ o = m[1],
+ p = m[2],
+ v = m[3],
+ x = m[4],
+ c = 'undefined' != typeof c ? c : 0,
+ f = f.$c(),
+ m = e.aa.replace(/^TANGRAM_/, '')
+ for (this.hc ? (this.hc.length = 0) : (this.hc = []); n < p; n++)
+ for (var y = o; y < v; y++) {
+ var A = n,
+ E = y
+ this.hc.push([A, E])
+ A = m + '_' + b + '_' + A + '_' + E + '_' + g
+ this.MK[A] = A
+ }
+ this.hc.sort(
+ (function (a) {
+ return function (b, c) {
+ return (
+ 0.4 * Math.abs(b[0] - a[0]) +
+ 0.6 * Math.abs(b[1] - a[1]) -
+ (0.4 * Math.abs(c[0] - a[0]) + 0.6 * Math.abs(c[1] - a[1]))
+ )
+ }
+ })([x[0] - 1, x[1] - 1])
+ )
+ i = [Math.round(-i.lng / k), Math.round(i.lat / k)]
+ n = -e.offsetY + e.height / 2
+ a.style.left = -e.offsetX + e.width / 2 + 'px'
+ a.style.top = n + 'px'
+ this.Cc ? (this.Cc.length = 0) : (this.Cc = [])
+ n = 0
+ for (e = a.childNodes.length; n < e; n++) (y = a.childNodes[n]), (y.Sj = t), this.Cc.push(y)
+ if ((n = this.qh)) for (var C in n) delete n[C]
+ else this.qh = {}
+ this.Dc ? (this.Dc.length = 0) : (this.Dc = [])
+ n = 0
+ for (e = this.hc.length; n < e; n++) {
+ C = this.hc[n][0]
+ k = this.hc[n][1]
+ y = 0
+ for (o = this.Cc.length; y < o; y++)
+ if (((p = this.Cc[y]), p.id == m + '_' + b + '_' + C + '_' + k + '_' + g)) {
+ p.Sj = q
+ this.qh[p.id] = p
+ break
+ }
+ }
+ n = 0
+ for (e = this.Cc.length; n < e; n++) (p = this.Cc[n]), p.Sj || this.Dc.push(p)
+ this.nn = []
+ y = (f + c) * this.map.K.devicePixelRatio
+ n = 0
+ for (e = this.hc.length; n < e; n++)
+ (C = this.hc[n][0]),
+ (k = this.hc[n][1]),
+ (v = C * f + i[0] - c / 2),
+ (x = (-1 - k) * f + i[1] - c / 2),
+ (A = m + '_' + b + '_' + C + '_' + k + '_' + g),
+ (o = this.qh[A]),
+ (p = s),
+ o
+ ? ((p = o.style), (p.left = v + 'px'), (p.top = x + 'px'), o.yd || this.nn.push([C, k, o]))
+ : (0 < this.Dc.length
+ ? ((o = this.Dc.shift()),
+ o.getContext('2d').clearRect(-c / 2, -c / 2, y, y),
+ (p = o.style))
+ : ((o = document.createElement('canvas')),
+ (p = o.style),
+ (p.position = 'absolute'),
+ (p.width = f + c + 'px'),
+ (p.height = f + c + 'px'),
+ this.Zx() && (p.WebkitTransform = 'scale(1.001)'),
+ o.setAttribute('width', y),
+ o.setAttribute('height', y),
+ a.appendChild(o)),
+ (o.id = A),
+ (p.left = v + 'px'),
+ (p.top = x + 'px'),
+ -1 < A.indexOf('bg') &&
+ ((v = '#F3F1EC'), this.map.K.Eo && (v = this.map.K.Eo), (p.background = v ? v : '')),
+ this.nn.push([C, k, o])),
+ (o.style.visibility = '')
+ n = 0
+ for (e = this.Dc.length; n < e; n++) this.Dc[n].style.visibility = 'hidden'
+ return this.nn
+ },
+ Zx: function () {
+ return /M040/i.test(navigator.userAgent)
+ },
+ DL: function () {
+ var a = this.map,
+ b = a.oa(),
+ c = b.mE(a.Oa),
+ e = a.fc,
+ f = Math.ceil(e.lng / c),
+ g = Math.ceil(e.lat / c),
+ b = b.$c(),
+ c = [f, g, ((e.lng - f * c) / c) * b, ((e.lat - g * c) / c) * b]
+ return [
+ c[0] - Math.ceil((a.width / 2 - c[2]) / b),
+ c[1] - Math.ceil((a.height / 2 - c[3]) / b),
+ c[0] + Math.ceil((a.width / 2 + c[2]) / b),
+ c[1] + Math.ceil((a.height / 2 + c[3]) / b),
+ c
+ ]
+ },
+ R_: function (a, b, c, e) {
+ var f = this
+ f.u2 = b
+ var g = this.map.oa(),
+ i = f.fE(a, c),
+ k = g.$c(),
+ b = [a[0] * k + b[0], (-1 - a[1]) * k + b[1]],
+ m = this.yg[i]
+ if (this.map.oa() !== Ya && this.map.oa() !== Sa) {
+ var n = this.Lw(a[0], a[2]).offsetX
+ b[0] += n
+ b.Q1 = n
+ }
+ m && m.Gb
+ ? (xb(m.Gb, b),
+ e &&
+ ((e = new Q(a[0], a[1])),
+ (g = this.map.K.ye ? this.map.K.ye.style : 'normal'),
+ (e = c.getTilesUrl(e, a[2], g)),
+ (m.loaded = t),
+ Oc(m, e)),
+ m.loaded
+ ? this.Af()
+ : Pc(m, function () {
+ f.Af()
+ }))
+ : (m = this.Zi[i]) && m.Gb
+ ? (c.Jb.insertBefore(m.Gb, c.Jb.lastChild),
+ (this.yg[i] = m),
+ xb(m.Gb, b),
+ e &&
+ ((e = new Q(a[0], a[1])),
+ (g = this.map.K.ye ? this.map.K.ye.style : 'normal'),
+ (e = c.getTilesUrl(e, a[2], g)),
+ (m.loaded = t),
+ Oc(m, e)),
+ m.loaded
+ ? this.Af()
+ : Pc(m, function () {
+ f.Af()
+ }))
+ : ((m = k * Math.pow(2, g.sm() - a[2])),
+ new J(a[0] * m, a[1] * m),
+ (e = new Q(a[0], a[1])),
+ (g = this.map.K.ye ? this.map.K.ye.style : 'normal'),
+ (e = c.getTilesUrl(e, a[2], g)),
+ (m = new Qc(this, e, b, a, c)),
+ Pc(m, function () {
+ f.Af()
+ }),
+ m.co(),
+ (this.yg[i] = m))
+ },
+ Af: function () {
+ this.ph--
+ var a = this
+ 0 == this.ph &&
+ (this.Hi && (clearTimeout(this.Hi), (this.Hi = s)),
+ (this.Hi = setTimeout(function () {
+ if (a.ph == 0) {
+ a.map.dispatchEvent(new P('ontilesloaded'))
+ if (ua) {
+ if (ra && sa && ta) {
+ var b = bb(),
+ c = a.map.cb()
+ setTimeout(function () {
+ Ra(5030, {
+ load_script_time: sa - ra,
+ load_tiles_time: b - ta,
+ map_width: c.width,
+ map_height: c.height,
+ map_size: c.width * c.height
+ })
+ }, 1e4)
+ B.Fn('cus.fire', 'time', {
+ z_imgfirstloaded: b - ta
+ })
+ }
+ ua = t
+ }
+ }
+ a.Hi = s
+ }, 80)))
+ },
+ fE: function (a, b) {
+ return this.map.oa() === Qa
+ ? 'TILE-' + b.aa + '-' + this.map.Rw + '-' + a[0] + '-' + a[1] + '-' + a[2]
+ : 'TILE-' + b.aa + '-' + a[0] + '-' + a[1] + '-' + a[2]
+ },
+ Rx: function (a) {
+ var b = a.Gb
+ b && (Rc(b), zb(b) && b.parentNode.removeChild(b))
+ delete this.yg[a.name]
+ a.loaded || (Rc(b), Nc(a), (a.Gb = s), (a.Pm = s))
+ },
+ Lw: function (a, b) {
+ for (var c = 0, e = 6 * Math.pow(2, b - 3), f = e / 2 - 1, g = -e / 2; a > f; ) (a -= e), (c -= this.ZA)
+ for (; a < g; ) (a += e), (c += this.ZA)
+ c = Math.round(c / Math.pow(2, 18 - b))
+ return {
+ offsetX: c,
+ hs: a
+ }
+ },
+ QV: function (a) {
+ for (var b = a.lng; b > this.yI; ) b -= this.AI
+ for (; b < this.zI; ) b += this.AI
+ a.lng = b
+ return a
+ },
+ RV: function (a, b) {
+ for (
+ var c = 256 * Math.pow(2, 18 - b),
+ e = Math.floor(this.yI / c),
+ f = Math.floor(this.zI / c),
+ c = Math.floor(this.ZA / c),
+ g = [],
+ i = 0;
+ i < a.length;
+ i++
+ ) {
+ var k = a[i],
+ m = k[0],
+ k = k[1]
+ if (m >= e) {
+ var m = m + c,
+ n = 'id_' + m + '_' + k + '_' + b
+ a[n] || ((a[n] = q), g.push([m, k]))
+ } else m <= f && ((m -= c), (n = 'id_' + m + '_' + k + '_' + b), a[n] || ((a[n] = q), g.push([m, k])))
+ }
+ for (i = 0; i < g.length; i++) a.push(g[i])
+ return a
+ },
+ Wf: function (a) {
+ var b = this
+ if (b.map.oa() == Qa)
+ K.load(
+ 'coordtrans',
+ function () {
+ b.map.Ub || ((b.map.Ub = Qa.wk(b.map.$g)), (b.map.Rw = Qa.BL(b.map.Ub)))
+ b.CI()
+ },
+ q
+ )
+ else {
+ if (a && a) for (var c in this.Zi) delete this.Zi[c]
+ b.CI(a)
+ }
+ },
+ CI: function (a) {
+ var b = this.Mm.concat(this.$f),
+ c = b.length,
+ e = this.map,
+ f = e.oa(),
+ g = e.fc
+ this.map.oa() !== Ya && this.map.oa() !== Sa && (g = this.QV(g))
+ for (var i = 0; i < c; i++) {
+ var k = b[i]
+ if (k.gc && e.Oa < k.gc) break
+ if (k.Jw) {
+ var m = (this.Jb = k.Jb)
+ if (a) {
+ var n = m
+ if (n && n.childNodes)
+ for (var o = n.childNodes.length, p = o - 1; 0 <= p; p--)
+ (o = n.childNodes[p]), n.removeChild(o), (o = s)
+ }
+ if (this.map.Sb()) {
+ this.od.style.display = 'block'
+ m.style.display = 'none'
+ this.map.dispatchEvent(new P('vectorchanged'), {
+ isvector: q
+ })
+ continue
+ } else
+ (m.style.display = 'block'),
+ (this.od.style.display = 'none'),
+ this.map.dispatchEvent(new P('vectorchanged'), {
+ isvector: t
+ })
+ }
+ if (!k.pI && !((k.pp && !this.map.Sb()) || (k.GM && this.map.Sb()))) {
+ e = this.map
+ f = e.oa()
+ m = f.wm()
+ o = e.Oa
+ g = e.fc
+ f == Qa && g.pb(new J(0, 0)) && (g = e.fc = m.vj(e.re, e.Ub))
+ var v = f.dc(o),
+ m = f.mE(o),
+ n = Math.ceil(g.lng / m),
+ x = Math.ceil(g.lat / m),
+ y = f.$c(),
+ m = [n, x, ((g.lng - n * m) / m) * y, ((g.lat - x * m) / m) * y],
+ p = m[0] - Math.ceil((e.width / 2 - m[2]) / y),
+ n = m[1] - Math.ceil((e.height / 2 - m[3]) / y),
+ x = m[0] + Math.ceil((e.width / 2 + m[2]) / y),
+ A = 0
+ f === Qa && 15 == e.fa() && (A = 1)
+ f = m[1] + Math.ceil((e.height / 2 + m[3]) / y) + A
+ this.gK = new J(g.lng, g.lat)
+ var E = this.yg,
+ y = -this.gK.lng / v,
+ A = this.gK.lat / v,
+ v = [Math.ceil(y), Math.ceil(A)],
+ g = e.fa(),
+ C
+ for (C in E) {
+ var F = E[C],
+ D = F.info
+ ;(D[2] != g || (D[2] == g && (p > D[0] || x <= D[0] || n > D[1] || f <= D[1]))) && this.Rx(F)
+ }
+ E = -e.offsetX + e.width / 2
+ F = -e.offsetY + e.height / 2
+ k.Jb &&
+ ((k.Jb.style.left = Math.ceil(y + E) - v[0] + 'px'),
+ (k.Jb.style.top = Math.ceil(A + F) - v[1] + 'px'),
+ (k.Jb.style.WebkitTransform = 'translate3d(0,0,0)'))
+ y = []
+ for (e.WB = []; p < x; p++)
+ for (A = n; A < f; A++)
+ y.push([p, A]),
+ e.WB.push({
+ x: p,
+ y: A
+ })
+ this.map.oa() !== Ya && this.map.oa() !== Sa && (y = this.RV(y, o))
+ y.sort(
+ (function (a) {
+ return function (b, c) {
+ return (
+ 0.4 * Math.abs(b[0] - a[0]) +
+ 0.6 * Math.abs(b[1] - a[1]) -
+ (0.4 * Math.abs(c[0] - a[0]) + 0.6 * Math.abs(c[1] - a[1]))
+ )
+ }
+ })([m[0] - 1, m[1] - 1])
+ )
+ o = y.length
+ this.ph += o
+ for (p = 0; p < o; p++) this.R_([y[p][0], y[p][1], g], v, k, a)
+ }
+ }
+ },
+ Oe: function (a) {
+ var b = this,
+ c = a.target,
+ a = b.map.Sb()
+ if (c instanceof db) a && !c.Im && (c.na(this.map, this.od), (c.Im = q))
+ else if ((c.ag && this.map.Oe(c.ag), c.pp)) {
+ for (a = 0; a < b.Fg.length; a++) if (b.Fg[a] == c) return
+ K.load(
+ 'vector',
+ function () {
+ c.na(b.map, b.od)
+ b.Fg.push(c)
+ },
+ q
+ )
+ } else {
+ for (a = 0; a < b.$f.length; a++) if (b.$f[a] == c) return
+ c.na(this.map, this.Bl)
+ b.$f.push(c)
+ }
+ },
+ Yf: function (a) {
+ var a = a.target,
+ b = this.map.Sb()
+ if (a instanceof db) b && a.Im && (a.remove(), (a.Im = t))
+ else {
+ a.ag && this.map.Yf(a.ag)
+ if (a.pp) for (var b = 0, c = this.Fg.length; b < c; b++) a == this.Fg[b] && this.Fg.splice(b, 1)
+ else {
+ b = 0
+ for (c = this.$f.length; b < c; b++) a == this.$f[b] && this.$f.splice(b, 1)
+ }
+ a.remove()
+ }
+ },
+ Dg: function () {
+ for (var a = this.Mm, b = 0, c = a.length; b < c; b++) a[b].remove()
+ delete this.Jb
+ this.Mm = []
+ this.Zi = this.yg = {}
+ this.Ux()
+ this.Wf()
+ },
+ Mc: function () {
+ var a = this
+ a.vd && z.D.U(a.vd)
+ setTimeout(function () {
+ a.Wf()
+ a.map.dispatchEvent(new P('onzoomend'))
+ }, 10)
+ },
+ L5: u(),
+ Zt: function (a) {
+ var b = this.map.oa()
+ if (!this.map.Sb() && (a ? (this.map.K.$_ = a) : (a = this.map.K.$_), a))
+ for (
+ var c = s,
+ c =
+ '2' == B.xu
+ ? [B.url.proto + B.url.domain.main_domain_cdn.other[0] + '/']
+ : [
+ B.url.proto + B.url.domain.main_domain_cdn.baidu[0] + '/',
+ B.url.proto + B.url.domain.main_domain_cdn.baidu[1] + '/',
+ B.url.proto + B.url.domain.main_domain_cdn.baidu[2] + '/'
+ ],
+ e = 0,
+ f;
+ (f = this.Mm[e]);
+ e++
+ )
+ if (f.M_ == q) {
+ b.j.Yb = 18
+ f.getTilesUrl = function (b, e) {
+ var f = b.x,
+ f = this.map.Va.Lw(f, e).hs,
+ m = b.y,
+ n = Sb('normal'),
+ o = 1
+ this.map.Sx() && (o = 2)
+ n =
+ 'customimage/tile?&x=' +
+ f +
+ '&y=' +
+ m +
+ '&z=' +
+ e +
+ '&udt=' +
+ n +
+ '&scale=' +
+ o +
+ '&ak=' +
+ qa
+ n = a.styleStr
+ ? n + ('&styles=' + encodeURIComponent(a.styleStr))
+ : n + ('&customid=' + a.style)
+ return c[Math.abs(f + m) % c.length] + n
+ }
+ break
+ }
+ }
+ })
+ function Qc(a, b, c, e, f) {
+ this.Pm = a
+ this.position = c
+ this.$u = []
+ this.name = a.fE(e, f)
+ this.info = e
+ this.GJ = f.zt()
+ e = L('img')
+ yb(e)
+ e.uL = t
+ var g = e.style,
+ a = a.map.oa()
+ g.position = 'absolute'
+ g.border = 'none'
+ g.width = a.$c() + 'px'
+ g.height = a.$c() + 'px'
+ g.left = c[0] + 'px'
+ g.top = c[1] + 'px'
+ g.maxWidth = 'none'
+ this.Gb = e
+ this.src = b
+ Sc && (this.Gb.style.opacity = 0)
+ var i = this
+ this.Gb.onload = function () {
+ B.iZ.eR()
+ i.loaded = q
+ if (i.Pm) {
+ var a = i.Pm,
+ b = a.Zi
+ if (!b[i.name]) {
+ a.oF++
+ b[i.name] = i
+ }
+ if (i.Gb && !zb(i.Gb) && f.Jb) {
+ f.Jb.appendChild(i.Gb)
+ if (z.ca.ia <= 6 && z.ca.ia > 0 && i.GJ)
+ i.Gb.style.cssText =
+ i.Gb.style.cssText +
+ (';filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' +
+ i.src +
+ '",sizingMethod=scale);')
+ }
+ var c = a.oF - a.OV,
+ e
+ for (e in b) {
+ if (c <= 0) break
+ if (!a.yg[e]) {
+ b[e].Pm = s
+ var g = b[e].Gb
+ if (g && g.parentNode) {
+ g.parentNode.removeChild(g)
+ Rc(g)
+ }
+ g = s
+ b[e].Gb = s
+ delete b[e]
+ a.oF--
+ c--
+ }
+ }
+ Sc &&
+ new tb({
+ Ic: 20,
+ duration: 200,
+ va: function (a) {
+ if (i.Gb && i.Gb.style) i.Gb.style.opacity = a * 1
+ },
+ finish: function () {
+ i.Gb && i.Gb.style && delete i.Gb.style.opacity
+ }
+ })
+ Nc(i)
+ }
+ }
+ this.Gb.onerror = function () {
+ Nc(i)
+ if (i.Pm) {
+ var a = i.Pm.map.oa()
+ if (a.j.vD) {
+ i.error = q
+ i.Gb.src = a.j.vD
+ i.Gb && !zb(i.Gb) && f.Jb.appendChild(i.Gb)
+ }
+ }
+ }
+ e = s
+ }
+ function Pc(a, b) {
+ a.$u.push(b)
+ }
+ Qc.prototype.co = function () {
+ this.Gb.src =
+ 0 < z.ca.ia && 6 >= z.ca.ia && this.GJ
+ ? G.qa + 'blank.gif'
+ : '' !== this.src && this.Gb.src == this.src
+ ? this.src + '&t = ' + Date.now()
+ : this.src
+ }
+ function Nc(a) {
+ for (var b = 0; b < a.$u.length; b++) a.$u[b]()
+ a.$u.length = 0
+ }
+ function Rc(a) {
+ if (a) {
+ a.onload = a.onerror = s
+ var b = a.attributes,
+ c,
+ e,
+ f
+ if (b) {
+ e = b.length
+ for (c = 0; c < e; c += 1) (f = b[c].name), Xa(a[f]) && (a[f] = s)
+ }
+ if ((b = a.children)) {
+ e = b.length
+ for (c = 0; c < e; c += 1) Rc(a.children[c])
+ }
+ }
+ }
+ function Oc(a, b) {
+ a.src = b
+ a.co()
+ }
+ var Sc = !z.ca.ia || 8 < z.ca.ia
+ function Mc(a) {
+ this.vf = a || {}
+ this.mW = this.vf.copyright || s
+ this.B0 = this.vf.transparentPng || t
+ this.Jw = this.vf.baseLayer || t
+ this.zIndex = this.vf.zIndex || 0
+ this.aa = Mc.SS++
+ }
+ Mc.SS = 0
+ z.lang.ta(Mc, z.lang.Ca, 'TileLayer')
+ z.extend(Mc.prototype, {
+ na: function (a, b) {
+ this.Jw && (this.zIndex = -100)
+ this.map = a
+ if (!this.Jb) {
+ var c = L('div'),
+ e = c.style
+ e.position = 'absolute'
+ e.overflow = 'visible'
+ e.zIndex = this.zIndex
+ e.left = Math.ceil(-a.offsetX + a.width / 2) + 'px'
+ e.top = Math.ceil(-a.offsetY + a.height / 2) + 'px'
+ b.appendChild(c)
+ this.Jb = c
+ }
+ },
+ remove: function () {
+ this.Jb && this.Jb.parentNode && ((this.Jb.innerHTML = ''), this.Jb.parentNode.removeChild(this.Jb))
+ delete this.Jb
+ },
+ zt: w('B0'),
+ getTilesUrl: function (a, b) {
+ if (this.map.oa() !== Ya && this.map.oa() !== Sa) var c = this.map.Va.Lw(a.x, b).hs
+ var e = ''
+ this.vf.tileUrlTemplate &&
+ ((e = this.vf.tileUrlTemplate.replace(/\{X\}/, c)),
+ (e = e.replace(/\{Y\}/, a.y)),
+ (e = e.replace(/\{Z\}/, b)))
+ return e
+ },
+ pm: w('mW'),
+ oa: function () {
+ return this.Hb || La
+ }
+ })
+ function Tc(a, b) {
+ Ib(a) ? (b = a || {}) : ((b = b || {}), (b.databoxId = a))
+ this.j = {
+ OK: b.databoxId,
+ eh: b.geotableId,
+ Wm: b.q || '',
+ pu: b.tags || '',
+ filter: b.filter || '',
+ Vy: b.sortby || '',
+ Y_: b.styleId || '',
+ Vl: b.ak || qa,
+ Gw: b.age || 36e5,
+ zIndex: 11,
+ fZ: 'VectorCloudLayer',
+ Fk: b.hotspotName || 'vector_md_' + (1e5 * Math.random()).toFixed(0),
+ uV: 'LBS\u4e91\u9ebb\u70b9\u5c42'
+ }
+ this.pp = q
+ Mc.call(this, this.j)
+ this.GW = B.Wc + 'geosearch/detail/'
+ this.HW = B.Wc + 'geosearch/v2/detail/'
+ this.lp = {}
+ }
+ z.ta(Tc, Mc, 'VectorCloudLayer')
+ function Uc(a) {
+ a = a || {}
+ this.j = z.extend(a, {
+ zIndex: 1,
+ fZ: 'VectorTrafficLayer',
+ uV: '\u77e2\u91cf\u8def\u51b5\u5c42'
+ })
+ this.pp = q
+ Mc.call(this, this.j)
+ this.x0 = B.url.proto + B.url.domain.vector_traffic + '/gvd/?qt=lgvd&styles=pl&layers=tf'
+ this.Db = {
+ 0: [2, 1354709503, 2, 2, 0, [], 0, 0],
+ 1: [2, 1354709503, 3, 2, 0, [], 0, 0],
+ 10: [2, -231722753, 2, 2, 0, [], 0, 0],
+ 11: [2, -231722753, 3, 2, 0, [], 0, 0],
+ 12: [2, -231722753, 4, 2, 0, [], 0, 0],
+ 13: [2, -231722753, 5, 2, 0, [], 0, 0],
+ 14: [2, -231722753, 6, 2, 0, [], 0, 0],
+ 15: [2, -1, 4, 0, 0, [], 0, 0],
+ 16: [2, -1, 5.5, 0, 0, [], 0, 0],
+ 17: [2, -1, 7, 0, 0, [], 0, 0],
+ 18: [2, -1, 8.5, 0, 0, [], 0, 0],
+ 19: [2, -1, 10, 0, 0, [], 0, 0],
+ 2: [2, 1354709503, 4, 2, 0, [], 0, 0],
+ 3: [2, 1354709503, 5, 2, 0, [], 0, 0],
+ 4: [2, 1354709503, 6, 2, 0, [], 0, 0],
+ 5: [2, -6350337, 2, 2, 0, [], 0, 0],
+ 6: [2, -6350337, 3, 2, 0, [], 0, 0],
+ 7: [2, -6350337, 4, 2, 0, [], 0, 0],
+ 8: [2, -6350337, 5, 2, 0, [], 0, 0],
+ 9: [2, -6350337, 6, 2, 0, [], 0, 0]
+ }
+ }
+ z.ta(Uc, Mc, 'VectorTrafficLayer')
+ function db(a) {
+ this.PV = [
+ B.url.proto + B.url.domain.TILE_ONLINE_URLS[1] + '/gvd/?',
+ B.url.proto + B.url.domain.TILE_ONLINE_URLS[2] + '/gvd/?',
+ B.url.proto + B.url.domain.TILE_ONLINE_URLS[3] + '/gvd/?',
+ B.url.proto + B.url.domain.TILE_ONLINE_URLS[4] + '/gvd/?'
+ ]
+ this.j = {
+ pL: t
+ }
+ for (var b in a) this.j[b] = a[b]
+ this.Th = this.Fh = this.Ya = this.C = this.B = s
+ this.LM = 0
+ var c = this
+ K.load('vector', function () {
+ c.De()
+ })
+ }
+ z.extend(db.prototype, {
+ na: function (a, b) {
+ this.B = a
+ this.C = b
+ },
+ remove: function () {
+ this.C = this.B = s
+ }
+ })
+ function Vc(a) {
+ Mc.call(this, a)
+ this.j = a || {}
+ this.GM = q
+ this.ag = new Uc()
+ this.ag.$y = this
+ if (this.j.predictDate) {
+ if (1 > this.j.predictDate.weekday || 7 < this.j.predictDate.weekday) this.j.predictDate = 1
+ if (0 > this.j.predictDate.hour || 23 < this.j.predictDate.hour) this.j.predictDate.hour = 0
+ }
+ this.VU = B.url.proto + B.url.domain.traffic + '/traffic/'
+ }
+ Vc.prototype = new Mc()
+ Vc.prototype.na = function (a, b) {
+ Mc.prototype.na.call(this, a, b)
+ this.B = a
+ }
+ Vc.prototype.zt = ca(q)
+ Vc.prototype.getTilesUrl = function (a, b) {
+ var c = ''
+ this.j.predictDate
+ ? (c =
+ 'HistoryService?day=' +
+ (this.j.predictDate.weekday - 1) +
+ '&hour=' +
+ this.j.predictDate.hour +
+ '&t=' +
+ new Date().getTime() +
+ '&')
+ : ((c = 'TrafficTileService?time=' + new Date().getTime() + '&'), (c += 'label=web2D&v=016&'))
+ var c = this.VU + c + 'level=' + b + '&x=' + a.x + '&y=' + a.y,
+ e = 1
+ this.B.Sx() && (e = 2)
+ return (c + '&scaler=' + e).replace(/-(\d+)/gi, 'M$1')
+ }
+ var Wc = [
+ B.url.proto + B.url.domain.TILES_YUN_HOST[0] + '/georender/gss',
+ B.url.proto + B.url.domain.TILES_YUN_HOST[1] + '/georender/gss',
+ B.url.proto + B.url.domain.TILES_YUN_HOST[2] + '/georender/gss',
+ B.url.proto + B.url.domain.TILES_YUN_HOST[3] + '/georender/gss'
+ ],
+ Xc = B.url.proto + B.url.domain.main_domain_nocdn.baidu + '/style/poi/rangestyle',
+ Yc = 100
+ function nb(a, b) {
+ Mc.call(this)
+ var c = this
+ this.GM = q
+ var e = t
+ try {
+ document.createElement('canvas').getContext('2d'), (e = q)
+ } catch (f) {
+ e = t
+ }
+ e && ((this.ag = new Tc(a, b)), (this.ag.$y = this))
+ Ib(a) ? (b = a || {}) : ((c.Rn = a), (b = b || {}))
+ b.geotableId && (c.Cf = b.geotableId)
+ b.databoxId && (c.Rn = b.databoxId)
+ e = B.Wc + 'geosearch'
+ c.ub = {
+ ON: b.pointDensity || Yc,
+ BY: e + '/detail/',
+ CY: e + '/v2/detail/',
+ Gw: b.age || 36e5,
+ Wm: b.q || '',
+ i0: 'png',
+ X3: [5, 5, 5, 5],
+ eZ: {
+ backgroundColor: '#FFFFD5',
+ borderColor: '#808080'
+ },
+ Vl: b.ak || qa,
+ pu: b.tags || '',
+ filter: b.filter || '',
+ Vy: b.sortby || '',
+ Fk: b.hotspotName || 'tile_md_' + (1e5 * Math.random()).toFixed(0),
+ dG: q
+ }
+ K.load('clayer', function () {
+ c.Sd()
+ })
+ }
+ nb.prototype = new Mc()
+ nb.prototype.na = function (a, b) {
+ Mc.prototype.na.call(this, a, b)
+ this.B = a
+ }
+ nb.prototype.getTilesUrl = function (a, b) {
+ var c = a.x,
+ e = a.y,
+ f = this.ub,
+ c =
+ Wc[Math.abs(c + e) % Wc.length] +
+ '/image?grids=' +
+ c +
+ '_' +
+ e +
+ '_' +
+ b +
+ '&q=' +
+ f.Wm +
+ '&tags=' +
+ f.pu +
+ '&filter=' +
+ f.filter +
+ '&sortby=' +
+ f.Vy +
+ '&ak=' +
+ this.ub.Vl +
+ '&age=' +
+ f.Gw +
+ '&page_size=' +
+ f.ON +
+ '&format=' +
+ f.i0
+ f.dG || ((f = (1e5 * Math.random()).toFixed(0)), (c += '&timeStamp=' + f))
+ this.Cf ? (c += '&geotable_id=' + this.Cf) : this.Rn && (c += '&databox_id=' + this.Rn)
+ return c
+ }
+ nb.prototype.enableUseCache = function () {
+ this.ub.dG = q
+ }
+ nb.prototype.disableUseCache = function () {
+ this.ub.dG = t
+ }
+ nb.tU = /^point\(|\)$/gi
+ nb.uU = /\s+/
+ nb.wU = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g
+ var Zc = {}
+ function $c(a, b) {
+ this.kd = a
+ this.uQ = 18
+ this.j = {
+ le: 256,
+ cd: new S()
+ }
+ z.extend(this.j, b || {})
+ }
+ var ad = [0, 0, 0, 8, 7, 7, 6, 6, 5, 5, 4, 3, 3, 3, 2, 2, 1, 1, 0, 0, 0, 0],
+ bd = [512, 2048, 4096, 32768, 65536, 262144, 1048576, 4194304, 8388608],
+ cd = [0, 0, 0, 3, 5, 5, 7, 7, 9, 9, 10, 12, 12, 12, 15, 15, 17, 17, 19, 19, 19, 19],
+ dd = [
+ 0, 0, 0, 256, 256, 512, 256, 512, 256, 512, 256, 256, 512, 1024, 256, 512, 512, 1024, 512, 1024, 2048, 4096
+ ]
+ $c.prototype = {
+ getName: w('kd'),
+ $c: function (a) {
+ return 'na' === this.kd ? dd[a] : this.j.le
+ },
+ FL: function (a) {
+ return 'na' === this.kd ? cd[a] : a
+ },
+ wm: function () {
+ return this.j.cd
+ },
+ dc: function (a) {
+ return Math.pow(2, this.uQ - a)
+ },
+ RX: function (a) {
+ return 'na' === this.kd ? bd[ad[a]] : this.dc(a) * this.$c(a)
+ }
+ }
+ P = z.lang.Ju
+ function Lc(a, b, c) {
+ this.B = a
+ this.cV = b
+ this.Cd = b.qc
+ this.ub = {
+ h0: 'na',
+ zIndex: 0,
+ OO: c.tileUrls,
+ AO: q
+ }
+ this.UB = ''
+ this.qT = {}
+ var c = c.urlOpts || {},
+ e
+ for (e in c) c.hasOwnProperty(e) && (this.UB = this.UB + '&' + e + '=' + c[e])
+ this.GC = []
+ this.JE = 0
+ this.zM = t
+ a = this.ub.h0
+ Zc[a] ? (a = Zc[a]) : ((b = new $c(a, l)), (a = Zc[a] = b))
+ this.Wr = a
+ }
+ window.VectorIndoorTileLayer = 'VectorIndoorTileLayer'
+ da = Lc.prototype
+ da.na = function () {
+ var a = this.B,
+ b = a.Va
+ if (!this.Vh) {
+ var c = b.Kj(this.ub.zIndex)
+ c.style.WebkitTransform = 'translate3d(0px, 0px, 0)'
+ this.Vh = c
+ }
+ b.Ki.appendChild(this.Vh)
+ b.b4 = c
+ if (this.ub.AO) {
+ ed(this)
+ var e = this
+ a.addEventListener('checkvectorclick', function (a) {
+ var b
+ a: {
+ b = a.offsetX
+ var c = a.offsetY,
+ k = e.GC.N4
+ if (k)
+ for (var m = 0; m < k.length; m++)
+ for (var n = k[m], o = 0; o < n.length; o++)
+ if (((a = n[o]), !a.f4 && a.EY && b > a.WE && b < a.TE && c > a.XE && c < a.UE)) {
+ b = a.EY
+ b = {
+ type: 9,
+ name: a.name,
+ uid: a.uid,
+ point: {
+ x: b.H2 + b.width / 2,
+ y: b.I2 + 6
+ }
+ }
+ break a
+ }
+ b = s
+ }
+ b && ((a = new P('onvectorclick')), (a.Y3 = b), (a.of = 'base'), this.dispatchEvent(a))
+ })
+ }
+ }
+ function ed(a) {
+ var b = a.B,
+ c = b.Va,
+ e = a.Cd,
+ f = b.cb(),
+ g = f.width,
+ f = f.height,
+ i = L('canvas')
+ i.style.cssText = 'position: absolute;left:0;top:0;width:' + g + 'px;height:' + f + 'px;z-index:2;'
+ i.width = g * e
+ i.height = f * e
+ a.by = i
+ a.At = i.getContext('2d')
+ a.At.scale(e, e)
+ a.At.textBaseline = 'top'
+ c.Ki.appendChild(i)
+ b.ZS = i
+ }
+ da.update = function (a, b) {
+ b = b || {}
+ if (this.ub.AO && (b.Tw && this.Tw(), b.S_)) {
+ var c = this.Cd,
+ e = this.B.cb(),
+ f = e.width,
+ e = e.height,
+ g = this.by,
+ i = g.style
+ i.width = f + 'px'
+ i.height = e + 'px'
+ g.width = f * c
+ g.height = e * c
+ this.At.scale(c, c)
+ this.At.textBaseline = 'top'
+ }
+ if (b.M5) {
+ c = this.Vh
+ f = 0
+ for (e = c.childNodes.length; f < e; f++) c.childNodes[f].yd = t
+ }
+ this.NK = a
+ this.up(a)
+ }
+ da.up = function (a) {
+ this.GC = []
+ var b = this.B,
+ c = b.fa(),
+ e = b.cd.vj(b.re),
+ f = this.Wr.dc(c),
+ e = [Math.round(-e.lng / f), Math.round(e.lat / f)],
+ f = this.Wr.$c(c),
+ g = b.aa.replace(/^TANGRAM_/, ''),
+ i = this.Wr.FL(c),
+ b = this.B,
+ k = -b.offsetY + b.height / 2,
+ m = this.Vh
+ m.style.left = -b.offsetX + b.width / 2 + 'px'
+ m.style.top = k + 'px'
+ this.Cc ? (this.Cc.length = 0) : (this.Cc = [])
+ b = 0
+ for (k = m.childNodes.length; b < k; b++) {
+ var n = m.childNodes[b]
+ n.Sj = t
+ this.Cc.push(n)
+ }
+ if ((b = this.qh)) for (var o in b) delete b[o]
+ else this.qh = {}
+ this.Dc ? (this.Dc.length = 0) : (this.Dc = [])
+ b = 0
+ for (k = a.length; b < k; b++) {
+ var n = a[b][0],
+ p = a[b][1]
+ o = 0
+ for (var v = this.Cc.length; o < v; o++) {
+ var x = this.Cc[o]
+ if (x.id === g + '_' + n + '_' + p + '_' + i + '_' + c) {
+ x.Sj = q
+ this.qh[x.id] = x
+ break
+ }
+ }
+ }
+ b = 0
+ for (k = this.Cc.length; b < k; b++)
+ (x = this.Cc[b]), x.Sj || ((x.Lc = s), delete x.Lc, (x.yd = t), this.Dc.push(x))
+ o = []
+ v = f * this.Cd
+ b = 0
+ for (k = a.length; b < k; b++) {
+ var n = a[b][0],
+ p = a[b][1],
+ x = n * f + e[0],
+ y = (-1 - p) * f + e[1],
+ A = g + '_' + n + '_' + p + '_' + i + '_' + c,
+ E = this.qh[A],
+ C = s
+ if (E)
+ (C = E.style),
+ (C.left = x + 'px'),
+ (C.top = y + 'px'),
+ (C.width = f + 'px'),
+ (C.height = f + 'px'),
+ E.yd ? E.MO && E.MO && this.GC.push(E.MO) : ((E.NR = q), (E.Lc = s), delete E.Lc, o.push([n, p, E]))
+ else {
+ if (0 < this.Dc.length) {
+ var E = this.Dc.shift(),
+ F = E.getContext('2d')
+ E.getAttribute('width') !== v && (E._scale = t)
+ E.setAttribute('width', v)
+ E.setAttribute('height', v)
+ C = E.style
+ C.width = f + 'px'
+ C.height = f + 'px'
+ F.clearRect(0, 0, v, v)
+ } else
+ (E = document.createElement('canvas')),
+ (C = E.style),
+ (C.position = 'absolute'),
+ this.ub.backgroundColor && (C.background = this.ub.backgroundColor),
+ (C.width = f + 'px'),
+ (C.height = f + 'px'),
+ E.setAttribute('width', v),
+ E.setAttribute('height', v),
+ m.appendChild(E)
+ E.id = A
+ C.left = x + 'px'
+ C.top = y + 'px'
+ o.push([n, p, E])
+ }
+ E.style.visibility = ''
+ }
+ b = 0
+ for (k = this.Dc.length; b < k; b++) this.Dc[b].style.visibility = 'hidden'
+ if (0 === o.length) fd(this)
+ else {
+ this.JE = o.length
+ this.zM = t
+ c = this.Wr.FL(this.B.fa())
+ for (e = 0; e < a.length; e++) a[e][3] = c
+ for (e = 0; e < o.length; e++)
+ (a = o[e][2]), (f = o[e][0]), (g = o[e][1]), (o[e][3] = c), (a.yd = t), (a.NR = t), gd(this, f, g, c, a)
+ }
+ }
+ function gd(a, b, c, e, f) {
+ var g = b + '_' + c + '_' + e,
+ i = a.qT
+ if (i[g]) {
+ if ('loading' === i[g].status) return
+ } else
+ i[g] = {
+ status: 'init',
+ bO: 0
+ }
+ var k = a,
+ m = k.B,
+ n = [],
+ n = '0' === B.xu ? k.ub.OO.http : k.ub.OO.https,
+ o = Math.abs(b + c) % n.length,
+ p = 'x=' + b + '&y=' + c + '&z=' + e,
+ v = hd(a.cV),
+ x = v.O0,
+ v = v.C0,
+ y =
+ '_' +
+ (0 > b ? '_' : '') +
+ (0 > c ? '$' : '') +
+ parseInt(Math.abs(b) + '' + Math.abs(c) + '' + e, 10).toString(36),
+ p = p + a.UB + 'v=' + x + '&udt=' + v + '&fn=window.' + y,
+ x = n[o] + '&' + p,
+ x = n[o] + '¶m=' + window.encodeURIComponent(Kb(p))
+ window[y] = function (a) {
+ clearTimeout(i[g].Od)
+ i[g] = s
+ if (a) {
+ m.fa()
+ var n
+ a: {
+ for (n = 0; n < k.NK.length; n++) {
+ var o = k.NK[n]
+ if (o[0] === b && o[1] === c && o[3] === e) {
+ n = q
+ break a
+ }
+ }
+ n = t
+ }
+ n !== t &&
+ ((n = new P('updateindoor')),
+ (n.IndoorCanvas = []),
+ n.IndoorCanvas.push({
+ canvasDom: f,
+ data: a,
+ canvasID: f.id,
+ ratio: k.Cd
+ }),
+ m.dispatchEvent(n),
+ k.JE--,
+ (0 === k.JE || k.zM === q) && fd(k),
+ delete window[y])
+ }
+ }
+ oa(x)
+ i[g].status = 'loading'
+ k = a
+ i[g].Od = setTimeout(function () {
+ 3 > i[g].bO ? (i[g].bO++, (i[g].status = 'init'), gd(k, b, c, e, f)) : (i[g] = s)
+ }, 4e3)
+ }
+ function fd(a) {
+ if (a.by) {
+ var b = a.B
+ a.by.style.left = -b.offsetX + 'px'
+ a.by.style.top = -b.offsetY + 'px'
+ a = new P('updateindoorlabel')
+ a.labelCanvasDom = b.ZS
+ b.dispatchEvent(a)
+ }
+ }
+ da.Tw = function () {
+ var a = this.B.cb(),
+ b = this.Cd
+ this.At.clearRect(0, 0, a.width * b, a.height * b)
+ }
+ da.remove = function () {
+ var a = this.B.Va
+ this.Vh && a.Ki.removeChild(this.Vh)
+ }
+ function Kc(a) {
+ this.B = a.map
+ this.ff = []
+ this.Xr = {}
+ this.qc = this.B.K.devicePixelRatio
+ this.na()
+ }
+ window.VectorIndoorTileMgr = 'VectorIndoorTileMgr'
+ da = Kc.prototype
+ da.na = function () {
+ var a = this,
+ b = this.B
+ b.addEventListener('addtilelayer', function (b) {
+ a.Oe(b.target)
+ })
+ b.addEventListener('removetilelayer', function (b) {
+ a.Yf(b.target)
+ })
+ setTimeout(function () {
+ b.addEventListener('onmoveend', function (b) {
+ 'centerAndZoom' !== b.mv && a.update()
+ })
+ b.addEventListener('onzoomend', function (b) {
+ 'centerAndZoom' !== b.mv &&
+ a.update({
+ Tw: q
+ })
+ })
+ b.addEventListener('centerandzoom', function () {
+ a.update({
+ Tw: q
+ })
+ })
+ }, 1)
+ b.addEventListener('indoor_data_refresh', u())
+ b.addEventListener('onresize', function () {
+ a.update({
+ S_: q
+ })
+ })
+ a.update()
+ }
+ da.Oe = function (a) {
+ if (a instanceof Lc) {
+ for (var b = 0; b < this.ff.length; b++) if (this.ff[b] === a) return
+ this.ff.push(a)
+ a.na()
+ this.B.loaded && this.update()
+ }
+ }
+ da.Yf = function (a) {
+ if (a instanceof Lc) {
+ for (var b = 0; b < this.ff.length; b++)
+ if (this.ff[b] === a) {
+ this.ff.splice(b, 1)
+ break
+ }
+ a.remove()
+ }
+ }
+ da.pj = function (a) {
+ var b = a.getName()
+ if (this.Xr[b]) return this.Xr[b]
+ var c = this.B,
+ e = c.fa(),
+ f = c.fc,
+ g = a.RX(e)
+ c.aa.replace(/^TANGRAM_/, '')
+ var i = Math.ceil(f.lng / g),
+ k = Math.ceil(f.lat / g),
+ a = a.$c(e),
+ m = [i, k, (f.lng / g - i) * a, (f.lat / g - k) * a],
+ e = m[0] - Math.ceil((c.width / 2 - m[2]) / a),
+ f = m[1] - Math.ceil((c.height / 2 - m[3]) / a),
+ g = m[0] + Math.ceil((c.width / 2 + m[2]) / a),
+ c = m[1] + Math.ceil((c.height / 2 + m[3]) / a)
+ this.hc ? (this.hc.length = 0) : (this.hc = [])
+ for (a = e; a < g; a++) for (e = f; e < c; e++) this.hc.push([a, e])
+ this.hc.sort(
+ (function (a) {
+ return function (b, c) {
+ return (
+ 0.4 * Math.abs(b[0] - a[0]) +
+ 0.6 * Math.abs(b[1] - a[1]) -
+ (0.4 * Math.abs(c[0] - a[0]) + 0.6 * Math.abs(c[1] - a[1]))
+ )
+ }
+ })([i, k])
+ )
+ this.Xr[b] = this.hc.slice(0)
+ return this.Xr[b]
+ }
+ function hd(a) {
+ if (a.gG) return a.gG
+ var b = 'undefined' !== typeof TVC ? TVC.K2.z4 : {}
+ a.gG = {
+ O0: b.version ? b.version : '001',
+ C0: b.wn ? b.wn : '20171110'
+ }
+ return a.gG
+ }
+ da.update = function (a) {
+ this.Xr = {}
+ for (var b = 0; b < this.ff.length; b++) {
+ var c = this.ff[b],
+ e = this.pj(c.Wr)
+ c.update(e, a)
+ }
+ }
+ function id(a, b, c) {
+ this.kd = a
+ this.ff = b instanceof Mc ? [b] : b.slice(0)
+ c = c || {}
+ this.j = {
+ k0: c.tips || '',
+ LE: '',
+ gc: c.minZoom || 3,
+ Yb: c.maxZoom || 18,
+ W3: c.minZoom || 3,
+ V3: c.maxZoom || 18,
+ le: 256,
+ UF: c.textColor || 'black',
+ vD: c.errorImageUrl || '',
+ bb: new fb(new J(-21364736, -16023552), new J(23855104, 19431424)),
+ cd: c.projection || new S()
+ }
+ 1 <= this.ff.length && (this.ff[0].Jw = q)
+ z.extend(this.j, c)
+ }
+ z.extend(id.prototype, {
+ getName: w('kd'),
+ gt: function () {
+ return this.j.k0
+ },
+ B3: function () {
+ return this.j.LE
+ },
+ oY: function () {
+ return this.ff[0]
+ },
+ P3: w('ff'),
+ $c: function () {
+ return this.j.le
+ },
+ bp: function () {
+ return this.j.gc
+ },
+ sm: function () {
+ return this.j.Yb
+ },
+ setMaxZoom: function (a) {
+ this.j.Yb = a
+ },
+ zm: function () {
+ return this.j.UF
+ },
+ wm: function () {
+ return this.j.cd
+ },
+ u3: function () {
+ return this.j.vD
+ },
+ $c: function () {
+ return this.j.le
+ },
+ dc: function (a) {
+ return Math.pow(2, 18 - a)
+ },
+ mE: function (a) {
+ return this.dc(a) * this.$c()
+ }
+ })
+ var jd = [
+ B.url.proto + B.url.domain.TILE_BASE_URLS[0] + '/it/',
+ B.url.proto + B.url.domain.TILE_BASE_URLS[1] + '/it/',
+ B.url.proto + B.url.domain.TILE_BASE_URLS[2] + '/it/',
+ B.url.proto + B.url.domain.TILE_BASE_URLS[3] + '/it/',
+ B.url.proto + B.url.domain.TILE_BASE_URLS[4] + '/it/'
+ ],
+ kd = [
+ B.url.proto + B.url.domain.TILE_ONLINE_URLS[0] + '/tile/',
+ B.url.proto + B.url.domain.TILE_ONLINE_URLS[1] + '/tile/',
+ B.url.proto + B.url.domain.TILE_ONLINE_URLS[2] + '/tile/',
+ B.url.proto + B.url.domain.TILE_ONLINE_URLS[3] + '/tile/',
+ B.url.proto + B.url.domain.TILE_ONLINE_URLS[4] + '/tile/'
+ ],
+ ld = {
+ dark: 'dl',
+ light: 'll',
+ normal: 'pl'
+ },
+ md = new Mc()
+ md.M_ = q
+ md.getTilesUrl = function (a, b, c) {
+ var e = a.x,
+ a = a.y,
+ f = Sb('normal'),
+ g = 1,
+ c = ld[c]
+ //this.map.Sx() && (g = 2); //修改
+ //e = this.map.Va.Lw(e, b).hs;
+ //return (kd[Math.abs(e + a) % kd.length] + "?qt=tile&x=" + (e + "").replace(/-/gi, "M") + "&y=" + (a + "").replace(/-/gi, "M") + "&z=" + b + "&styles=" + c + "&scaler=" + g + (6 == z.ca.ia ? "&color_dep=32&colors=50" : "") + "&udt=" + f).replace(/-(\d+)/gi, "M$1")
+
+ var tdir = bmapcfg.tiles_dir.length > 0 ? bmapcfg.tiles_dir : bmapcfg.home + 'tiles'
+ return tdir + '/' + b + '/' + e + '/' + a + bmapcfg.imgext // 使用本地的瓦片
+ }
+ var La = new id('\u5730\u56fe', md, {
+ tips: '\u663e\u793a\u666e\u901a\u5730\u56fe',
+ maxZoom: 19
+ }),
+ nd = new Mc()
+ nd.NO = [
+ B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[0] + '/resource/mappic/',
+ B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[1] + '/resource/mappic/',
+ B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[2] + '/resource/mappic/',
+ B.url.proto + B.url.domain.TIlE_PERSPECT_URLS[3] + '/resource/mappic/'
+ ]
+ nd.getTilesUrl = function (a, b) {
+ var c = a.x,
+ e = a.y,
+ f = 256 * Math.pow(2, 20 - b),
+ e = Math.round((9998336 - f * e) / f) - 1
+ /*var tdir = bmapcfg.tiles_hybrid.length > 0 ? bmapcfg.tiles_hybrid : bmapcfg.home + "tiles_hybrid";//修改 使用本地卫星的瓦片
+ tdir = tdir + "/" + b + "/" + c + "/" + e + bmapcfg.imgext; //修改 使用本地卫星的瓦片
+ return tdir;*/
+ return (url =
+ this.NO[Math.abs(c + e) % this.NO.length] +
+ this.map.Ub +
+ '/' +
+ this.map.Rw +
+ '/3/lv' +
+ (21 - b) +
+ '/' +
+ c +
+ ',' +
+ e +
+ '.jpg')
+ }
+ var Qa = new id('\u4e09\u7ef4', nd, {
+ tips: '\u663e\u793a\u4e09\u7ef4\u5730\u56fe',
+ minZoom: 15,
+ maxZoom: 20,
+ textColor: 'white',
+ projection: new hb()
+ })
+ Qa.dc = function (a) {
+ return Math.pow(2, 20 - a)
+ }
+ Qa.wk = function (a) {
+ if (!a) return ''
+ var b = G.pC,
+ c
+ for (c in b) if (-1 < a.search(c)) return b[c].yy
+ return ''
+ }
+ Qa.BL = function (a) {
+ return {
+ bj: 2,
+ gz: 1,
+ sz: 14,
+ sh: 4
+ }[a]
+ }
+ var od = new Mc({
+ Jw: q
+ })
+ od.getTilesUrl = function (a, b) {
+ var c = a.x,
+ e = a.y
+ return (
+ jd[Math.abs(c + e) % jd.length] +
+ 'u=x=' +
+ c +
+ ';y=' +
+ e +
+ ';z=' +
+ b +
+ ';v=009;type=sate&fm=46&udt=' +
+ Sb('satellite')
+ ).replace(/-(\d+)/gi, 'M$1')
+ }
+ var Ya = new id('\u536b\u661f', od, {
+ tips: '\u663e\u793a\u536b\u661f\u5f71\u50cf',
+ minZoom: 1,
+ maxZoom: 19,
+ textColor: 'white'
+ }),
+ pd = new Mc({
+ transparentPng: q
+ })
+ pd.getTilesUrl = function (a, b) {
+ var c = a.x,
+ e = a.y,
+ f = Sb('satelliteStreet')
+ return (
+ kd[Math.abs(c + e) % kd.length] +
+ '?qt=vtile&x=' +
+ (c + '').replace(/-/gi, 'M') +
+ '&y=' +
+ (e + '').replace(/-/gi, 'M') +
+ '&z=' +
+ b +
+ '&styles=sl' +
+ (6 == z.ca.ia ? '&color_dep=32&colors=50' : '') +
+ '&udt=' +
+ f
+ ).replace(/-(\d+)/gi, 'M$1')
+ }
+ var Sa = new id('\u6df7\u5408', [od, pd], {
+ tips: '\u663e\u793a\u5e26\u6709\u8857\u9053\u7684\u536b\u661f\u5f71\u50cf',
+ labelText: '\u8def\u7f51',
+ minZoom: 1,
+ maxZoom: 19,
+ textColor: 'white'
+ })
+ var qd = 1,
+ V = {}
+ window.c1 = V
+ function W(a, b) {
+ z.lang.Ca.call(this)
+ this.Ad = {}
+ this.fn(a)
+ b = b || {}
+ b.la = b.renderOptions || {}
+ this.j = {
+ la: {
+ Ma: b.la.panel || s,
+ map: b.la.map || s,
+ Zg: b.la.autoViewport || q,
+ Ut: b.la.selectFirstResult,
+ kt: b.la.highlightMode,
+ Wb: b.la.enableDragging || t
+ },
+ py: b.onSearchComplete || u(),
+ BN: b.onMarkersSet || u(),
+ AN: b.onInfoHtmlSet || u(),
+ DN: b.onResultsHtmlSet || u(),
+ zN: b.onGetBusListComplete || u(),
+ yN: b.onGetBusLineComplete || u(),
+ wN: b.onBusListHtmlSet || u(),
+ vN: b.onBusLineHtmlSet || u(),
+ bF: b.onPolylinesSet || u(),
+ Dp: b.reqFrom || ''
+ }
+ this.j.la.Zg =
+ 'undefined' != typeof b &&
+ 'undefined' != typeof b.renderOptions &&
+ 'undefined' != typeof b.renderOptions.autoViewport
+ ? b.renderOptions.autoViewport
+ : q
+ this.j.la.Ma = z.Fc(this.j.la.Ma)
+ }
+ z.ta(W, z.lang.Ca)
+ z.extend(W.prototype, {
+ getResults: function () {
+ return this.Hc ? this.Ei : this.ha
+ },
+ enableAutoViewport: function () {
+ this.j.la.Zg = q
+ },
+ disableAutoViewport: function () {
+ this.j.la.Zg = t
+ },
+ fn: function (a) {
+ a && (this.Ad.src = a)
+ },
+ JF: function (a) {
+ this.j.py = a || u()
+ },
+ setMarkersSetCallback: function (a) {
+ this.j.BN = a || u()
+ },
+ setPolylinesSetCallback: function (a) {
+ this.j.bF = a || u()
+ },
+ setInfoHtmlSetCallback: function (a) {
+ this.j.AN = a || u()
+ },
+ setResultsHtmlSetCallback: function (a) {
+ this.j.DN = a || u()
+ },
+ xm: w('Me')
+ })
+ var rd = {
+ KG: B.Wc,
+ ab: function (a, b, c, e, f) {
+ this.SZ(b)
+ var g = (1e5 * Math.random()).toFixed(0)
+ B._rd['_cbk' + g] = function (b) {
+ b.result && b.result.error && 202 === b.result.error
+ ? alert(
+ '\u8be5AK\u56e0\u4e3a\u6076\u610f\u884c\u4e3a\u5df2\u7ecf\u88ab\u7ba1\u7406\u5458\u5c01\u7981\uff01'
+ )
+ : ((c = c || {}), a && a(b, c), delete B._rd['_cbk' + g])
+ }
+ e = e || ''
+ b = c && c.H0 ? Gb(b, encodeURI) : Gb(b, encodeURIComponent)
+ this.KG = c && c.jL ? (c.$N ? c.$N : B.vp) : B.Wc
+ e = this.KG + e + '?' + b + '&ie=utf-8&oue=1&fromproduct=jsapi'
+ f || (e += '&res=api')
+ e = e + ('&callback=BMap._rd._cbk' + g) + ('&ak=' + qa)
+ oa(e)
+ },
+ SZ: function (a) {
+ if (a.qt) {
+ var b = ''
+ switch (a.qt) {
+ case 'bt':
+ b = 'z_qt|bt'
+ break
+ case 'nav':
+ b = 'z_qt|nav'
+ break
+ case 'walk':
+ b = 'z_qt|walk'
+ break
+ case 'bse':
+ b = 'z_qt|bse'
+ break
+ case 'nse':
+ b = 'z_qt|nse'
+ break
+ case 'drag':
+ b = 'z_qt|drag'
+ }
+ '' !== b && B.alog('cus.fire', 'count', b)
+ }
+ }
+ }
+ window.o1 = rd
+ B._rd = {}
+ var ab = {}
+ window.n1 = ab
+ ab.WN = function (a) {
+ a = a.replace(/<\/?[^>]*>/g, '')
+ return (a = a.replace(/[ | ]* /g, ' '))
+ }
+ ab.JZ = function (a) {
+ return a.replace(
+ /([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*),([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*)(,)/g,
+ '$1,$2;'
+ )
+ }
+ ab.KZ = function (a, b) {
+ return a.replace(
+ RegExp(
+ '(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);)(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);){' + b + '}',
+ 'ig'
+ ),
+ '$1'
+ )
+ }
+ var sd = 2,
+ td = 6,
+ ud = 8,
+ vd = 2,
+ wd = 3,
+ xd = 6,
+ yd = 0,
+ zd = 'bt',
+ Ad = 'nav',
+ Bd = 'walk',
+ Cd = 'bl',
+ Dd = 'bsl',
+ Ed = 'ride',
+ Fd = 15,
+ Gd = 18
+ B.I = window.Instance = z.lang.Nc
+ function Hd(a, b, c) {
+ z.lang.Ca.call(this)
+ if (a) {
+ this.Wa = 'object' == typeof a ? a : z.Fc(a)
+ this.page = 1
+ this.Kd = 100
+ this.hK = 'pg'
+ this.Xf = 4
+ this.qK = b
+ this.update = q
+ a = {
+ page: 1,
+ $e: 100,
+ Kd: 100,
+ Xf: 4,
+ hK: 'pg',
+ update: q
+ }
+ c || (c = a)
+ for (var e in c) 'undefined' != typeof c[e] && (this[e] = c[e])
+ this.va()
+ }
+ }
+ z.extend(Hd.prototype, {
+ va: function () {
+ this.na()
+ },
+ na: function () {
+ this.YV()
+ this.Wa.innerHTML = this.uW()
+ },
+ YV: function () {
+ isNaN(parseInt(this.page)) && (this.page = 1)
+ isNaN(parseInt(this.Kd)) && (this.Kd = 1)
+ 1 > this.page && (this.page = 1)
+ 1 > this.Kd && (this.Kd = 1)
+ this.page > this.Kd && (this.page = this.Kd)
+ this.page = parseInt(this.page)
+ this.Kd = parseInt(this.Kd)
+ },
+ G3: function () {
+ location.search.match(RegExp('[?&]?' + this.hK + '=([^&]*)[&$]?', 'gi'))
+ this.page = RegExp.$1
+ },
+ uW: function () {
+ var a = [],
+ b = this.page - 1,
+ c = this.page + 1
+ a.push('')
+ if (!(1 > b)) {
+ if (this.page >= this.Xf) {
+ var e
+ a.push(
+ '\u9996\u9875'.replace(
+ '{temp1}',
+ "BMap.I('" + this.aa + "').toPage(1);"
+ )
+ )
+ }
+ a.push(
+ '\u4e0a\u4e00\u9875'.replace(
+ '{temp2}',
+ "BMap.I('" + this.aa + "').toPage(" + b + ');'
+ )
+ )
+ }
+ if (this.page < this.Xf)
+ (e = 0 == this.page % this.Xf ? this.page - this.Xf - 1 : this.page - (this.page % this.Xf) + 1),
+ (b = e + this.Xf - 1)
+ else {
+ e = Math.floor(this.Xf / 2)
+ var f = (this.Xf % 2) - 1,
+ b = this.Kd > this.page + e ? this.page + e : this.Kd
+ e = this.page - e - f
+ }
+ this.page > this.Kd - this.Xf && this.page >= this.Xf && ((e = this.Kd - this.Xf + 1), (b = this.Kd))
+ for (f = e; f <= b; f++)
+ 0 < f &&
+ (f == this.page
+ ? a.push('' + f + '')
+ : 1 <= f &&
+ f <= this.Kd &&
+ ((e =
+ '[' +
+ f +
+ ']'),
+ a.push(e.replace('{temp3}', "BMap.I('" + this.aa + "').toPage(" + f + ');'))))
+ c > this.Kd ||
+ a.push(
+ '\u4e0b\u4e00\u9875'.replace(
+ '{temp4}',
+ "BMap.I('" + this.aa + "').toPage(" + c + ');'
+ )
+ )
+ a.push('
')
+ return a.join('')
+ },
+ toPage: function (a) {
+ a = a ? a : 1
+ 'function' == typeof this.qK && (this.qK(a), (this.page = a))
+ this.update && this.va()
+ }
+ })
+ function cb(a, b) {
+ W.call(this, a, b)
+ b = b || {}
+ b.renderOptions = b.renderOptions || {}
+ this.Np(b.pageCapacity)
+ 'undefined' != typeof b.renderOptions.selectFirstResult && !b.renderOptions.selectFirstResult
+ ? this.UC()
+ : this.oD()
+ this.ya = []
+ this.yf = []
+ this.mb = -1
+ this.Pa = []
+ var c = this
+ K.load(
+ 'local',
+ function () {
+ c.Nz()
+ },
+ q
+ )
+ }
+ z.ta(cb, W, 'LocalSearch')
+ cb.fq = 10
+ cb.k1 = 1
+ cb.En = 100
+ cb.zG = 2e3
+ cb.HG = 1e5
+ z.extend(cb.prototype, {
+ search: function (a, b) {
+ this.Pa.push({
+ method: 'search',
+ arguments: [a, b]
+ })
+ },
+ an: function (a, b, c) {
+ this.Pa.push({
+ method: 'searchInBounds',
+ arguments: [a, b, c]
+ })
+ },
+ Jp: function (a, b, c, e) {
+ this.Pa.push({
+ method: 'searchNearby',
+ arguments: [a, b, c, e]
+ })
+ },
+ Pe: function () {
+ delete this.Ia
+ delete this.Me
+ delete this.ha
+ delete this.ua
+ this.mb = -1
+ this.Ta()
+ this.j.la.Ma && (this.j.la.Ma.innerHTML = '')
+ },
+ Am: u(),
+ oD: function () {
+ this.j.la.Ut = q
+ },
+ UC: function () {
+ this.j.la.Ut = t
+ },
+ Np: function (a) {
+ this.j.Jk = 'number' == typeof a && !isNaN(a) ? (1 > a ? cb.fq : a > cb.En ? cb.fq : a) : cb.fq
+ },
+ qf: function () {
+ return this.j.Jk
+ },
+ toString: ca('LocalSearch')
+ })
+ var Id = cb.prototype
+ T(Id, {
+ clearResults: Id.Pe,
+ setPageCapacity: Id.Np,
+ getPageCapacity: Id.qf,
+ gotoPage: Id.Am,
+ searchNearby: Id.Jp,
+ searchInBounds: Id.an,
+ search: Id.search,
+ enableFirstResultSelection: Id.oD,
+ disableFirstResultSelection: Id.UC
+ })
+ function Jd(a, b) {
+ W.call(this, a, b)
+ }
+ z.ta(Jd, W, 'BaseRoute')
+ z.extend(Jd.prototype, {
+ Pe: u()
+ })
+ function Kd(a, b) {
+ W.call(this, a, b)
+ b = b || {}
+ this.bu(b.policy)
+ this.oO(b.intercityPolicy)
+ this.xO(b.transitTypePolicy)
+ this.Np(b.pageCapacity)
+ this.Ab = zd
+ this.mq = qd
+ this.ya = []
+ this.mb = -1
+ this.j.Vn = b.enableTraffic || t
+ this.Pa = []
+ var c = this
+ K.load('route', function () {
+ c.Sd()
+ })
+ }
+ Kd.En = 100
+ Kd.HP = [0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 1, 1, 1]
+ Kd.IP = [0, 3, 4, 0, 0, 0, 5]
+ z.ta(Kd, Jd, 'TransitRoute')
+ z.extend(Kd.prototype, {
+ bu: function (a) {
+ this.j.ie = 0 <= a && 5 >= a ? a : 0
+ },
+ oO: function (a) {
+ this.j.Hm = 0 <= a && 2 >= a ? a : 0
+ },
+ xO: function (a) {
+ this.j.tn = 0 <= a && 2 >= a ? a : 0
+ },
+ NA: function (a, b) {
+ this.Pa.push({
+ method: '_internalSearch',
+ arguments: [a, b]
+ })
+ },
+ search: function (a, b) {
+ this.Pa.push({
+ method: 'search',
+ arguments: [a, b]
+ })
+ },
+ Np: function (a) {
+ if ('string' === typeof a && ((a = parseInt(a, 10)), isNaN(a))) {
+ this.j.Jk = Kd.En
+ return
+ }
+ this.j.Jk = 'number' !== typeof a ? Kd.En : 1 <= a && a <= Kd.En ? Math.round(a) : Kd.En
+ },
+ toString: ca('TransitRoute'),
+ Z1: function (a) {
+ return a.replace(/\(.*\)/, '')
+ }
+ })
+ var Ld = Kd.prototype
+ T(Ld, {
+ _internalSearch: Ld.NA
+ })
+ function Md(a, b) {
+ W.call(this, a, b)
+ this.ya = []
+ this.mb = -1
+ this.Pa = []
+ var c = this,
+ e = this.j.la
+ 1 !== e.kt && 2 !== e.kt && (e.kt = 1)
+ this.kv = this.j.la.Wb ? q : t
+ K.load('route', function () {
+ c.Sd()
+ })
+ this.vE && this.vE()
+ }
+ Md.WP =
+ ' \u73af\u5c9b \u65e0\u5c5e\u6027\u9053\u8def \u4e3b\u8def \u9ad8\u901f\u8fde\u63a5\u8def \u4ea4\u53c9\u70b9\u5185\u8def\u6bb5 \u8fde\u63a5\u9053\u8def \u505c\u8f66\u573a\u5185\u90e8\u9053\u8def \u670d\u52a1\u533a\u5185\u90e8\u9053\u8def \u6865 \u6b65\u884c\u8857 \u8f85\u8def \u531d\u9053 \u5168\u5c01\u95ed\u9053\u8def \u672a\u5b9a\u4e49\u4ea4\u901a\u533a\u57df POI\u8fde\u63a5\u8def \u96a7\u9053 \u6b65\u884c\u9053 \u516c\u4ea4\u4e13\u7528\u9053 \u63d0\u524d\u53f3\u8f6c\u9053'.split(
+ ' '
+ )
+ z.ta(Md, Jd, 'DWRoute')
+ z.extend(Md.prototype, {
+ search: function (a, b, c) {
+ this.Pa.push({
+ method: 'search',
+ arguments: [a, b, c]
+ })
+ }
+ })
+ function Nd(a, b) {
+ Md.call(this, a, b)
+ b = b || {}
+ this.j.Vn = b.enableTraffic || t
+ this.bu(b.policy)
+ this.Ab = Ad
+ this.mq = wd
+ }
+ z.ta(Nd, Md, 'DrivingRoute')
+ Nd.prototype.bu = function (a) {
+ this.j.ie = 0 <= a && 5 >= a ? a : 0
+ }
+ function Od(a, b) {
+ Md.call(this, a, b)
+ this.Ab = Bd
+ this.mq = vd
+ this.kv = t
+ }
+ z.ta(Od, Md, 'WalkingRoute')
+ function Pd(a, b) {
+ Md.call(this, a, b)
+ this.Ab = Ed
+ this.mq = xd
+ this.kv = t
+ }
+ z.ta(Pd, Md, 'RidingRoute')
+ function Qd(a, b) {
+ z.lang.Ca.call(this)
+ this.Vf = []
+ this.Kk = []
+ this.j = b
+ this.uj = a
+ this.map = this.j.la.map || s
+ this.hO = this.j.hO
+ this.zb = s
+ this.pk = 0
+ this.SF = ''
+ this.nf = 1
+ this.uD = ''
+ this.Ep = [0, 0, 0, 0, 0, 0, 0]
+ this.XM = []
+ this.os = [1, 1, 1, 1, 1, 1, 1]
+ this.VO = [1, 1, 1, 1, 1, 1, 1]
+ this.Fp = [0, 0, 0, 0, 0, 0, 0]
+ this.Zm = [0, 0, 0, 0, 0, 0, 0]
+ this.Ib = [
+ {
+ m: '',
+ Ed: 0,
+ vn: 0,
+ x: 0,
+ y: 0,
+ pa: -1
+ },
+ {
+ m: '',
+ Ed: 0,
+ vn: 0,
+ x: 0,
+ y: 0,
+ pa: -1
+ },
+ {
+ m: '',
+ Ed: 0,
+ vn: 0,
+ x: 0,
+ y: 0,
+ pa: -1
+ },
+ {
+ m: '',
+ Ed: 0,
+ vn: 0,
+ x: 0,
+ y: 0,
+ pa: -1
+ },
+ {
+ m: '',
+ Ed: 0,
+ vn: 0,
+ x: 0,
+ y: 0,
+ pa: -1
+ },
+ {
+ m: '',
+ Ed: 0,
+ vn: 0,
+ x: 0,
+ y: 0,
+ pa: -1
+ },
+ {
+ m: '',
+ Ed: 0,
+ vn: 0,
+ x: 0,
+ y: 0,
+ pa: -1
+ }
+ ]
+ this.bi = -1
+ this.ru = []
+ this.aG = []
+ K.load('route', u())
+ }
+ z.lang.ta(Qd, z.lang.Ca, 'RouteAddr')
+ var Rd = navigator.userAgent
+ ;/ipad|iphone|ipod|iph/i.test(Rd)
+ var Sd = /android/i.test(Rd)
+ function Td(a) {
+ this.vf = a || {}
+ }
+ z.extend(Td.prototype, {
+ gO: function (a, b, c) {
+ var e = this
+ K.load('route', function () {
+ e.Sd(a, b, c)
+ })
+ }
+ })
+ function Ud(a) {
+ this.j = {}
+ z.extend(this.j, a)
+ this.Pa = []
+ var b = this
+ K.load('othersearch', function () {
+ b.Sd()
+ })
+ }
+ z.ta(Ud, z.lang.Ca, 'Geocoder')
+ z.extend(Ud.prototype, {
+ vm: function (a, b, c) {
+ this.Pa.push({
+ method: 'getPoint',
+ arguments: [a, b, c]
+ })
+ },
+ rm: function (a, b, c) {
+ this.Pa.push({
+ method: 'getLocation',
+ arguments: [a, b, c]
+ })
+ },
+ toString: ca('Geocoder')
+ })
+ var Vd = Ud.prototype
+ T(Vd, {
+ getPoint: Vd.vm,
+ getLocation: Vd.rm
+ })
+ function Geolocation(a) {
+ a = a || {}
+ this.K = {
+ timeout: a.timeout || 1e4,
+ maximumAge: a.maximumAge || 6e5,
+ enableHighAccuracy: a.enableHighAccuracy || t,
+ zi: a.SDKLocation || t
+ }
+ this.pe = []
+ var b = this
+ K.load('othersearch', function () {
+ for (var a = 0, e; (e = b.pe[a]); a++) b[e.method].apply(b, e.arguments)
+ })
+ }
+ z.extend(Geolocation.prototype, {
+ getCurrentPosition: function (a, b) {
+ this.pe.push({
+ method: 'getCurrentPosition',
+ arguments: arguments
+ })
+ },
+ getStatus: function () {
+ return sd
+ },
+ enableSDKLocation: function () {
+ H() && (this.K.zi = q)
+ },
+ disableSDKLocation: function () {
+ this.K.zi = t
+ }
+ })
+ function Wd(a) {
+ a = a || {}
+ a.la = a.renderOptions || {}
+ this.j = {
+ la: {
+ map: a.la.map || s
+ }
+ }
+ this.Pa = []
+ var b = this
+ K.load('othersearch', function () {
+ b.Sd()
+ })
+ }
+ z.ta(Wd, z.lang.Ca, 'LocalCity')
+ z.extend(Wd.prototype, {
+ get: function (a) {
+ this.Pa.push({
+ method: 'get',
+ arguments: [a]
+ })
+ },
+ toString: ca('LocalCity')
+ })
+ function Xd() {
+ this.Pa = []
+ var a = this
+ K.load('othersearch', function () {
+ a.Sd()
+ })
+ }
+ z.ta(Xd, z.lang.Ca, 'Boundary')
+ z.extend(Xd.prototype, {
+ get: function (a, b) {
+ this.Pa.push({
+ method: 'get',
+ arguments: [a, b]
+ })
+ },
+ toString: ca('Boundary')
+ })
+ function Yd(a, b) {
+ W.call(this, a, b)
+ this.TP = Cd
+ this.VP = Fd
+ this.SP = Dd
+ this.UP = Gd
+ this.Pa = []
+ var c = this
+ K.load('buslinesearch', function () {
+ c.Sd()
+ })
+ }
+ Yd.zv = G.qa + 'iw_plus.gif'
+ Yd.YS = G.qa + 'iw_minus.gif'
+ Yd.RU = G.qa + 'stop_icon.png'
+ z.ta(Yd, W)
+ z.extend(Yd.prototype, {
+ getBusList: function (a) {
+ this.Pa.push({
+ method: 'getBusList',
+ arguments: [a]
+ })
+ },
+ getBusLine: function (a) {
+ this.Pa.push({
+ method: 'getBusLine',
+ arguments: [a]
+ })
+ },
+ setGetBusListCompleteCallback: function (a) {
+ this.j.zN = a || u()
+ },
+ setGetBusLineCompleteCallback: function (a) {
+ this.j.yN = a || u()
+ },
+ setBusListHtmlSetCallback: function (a) {
+ this.j.wN = a || u()
+ },
+ setBusLineHtmlSetCallback: function (a) {
+ this.j.vN = a || u()
+ },
+ setPolylinesSetCallback: function (a) {
+ this.j.bF = a || u()
+ }
+ })
+ function Zd(a) {
+ W.call(this, a)
+ a = a || {}
+ this.ub = {
+ input: a.input || s,
+ gC: a.baseDom || s,
+ types: a.types || [],
+ py: a.onSearchComplete || u()
+ }
+ this.Ad.src = a.location || '\u5168\u56fd'
+ this.Wi = ''
+ this.pg = s
+ this.lI = ''
+ this.Mi()
+ Ra(Ha)
+ var b = this
+ K.load('autocomplete', function () {
+ b.Sd()
+ })
+ }
+ z.ta(Zd, W, 'Autocomplete')
+ z.extend(Zd.prototype, {
+ Mi: u(),
+ show: u(),
+ U: u(),
+ KF: function (a) {
+ this.ub.types = a
+ },
+ fn: function (a) {
+ this.Ad.src = a
+ },
+ search: ba('Wi'),
+ Ly: ba('lI')
+ })
+ var Ta
+ function Oa(a, b) {
+ function c() {
+ f.j.visible
+ ? ('inter' === f.Ke && f.j.haveBreakId && f.j.indoorExitControl === q ? z.D.show(f.GA) : z.D.U(f.GA),
+ this.j.closeControl && this.Bf && this.B && this.B.La() === this.C ? z.D.show(f.Bf) : z.D.U(f.Bf),
+ this.j.forceCloseControl && z.D.show(f.Bf))
+ : (z.D.U(f.Bf), z.D.U(f.GA))
+ }
+ this.C = 'string' == typeof a ? z.$(a) : a
+ this.aa = $d++
+ this.j = {
+ enableScrollWheelZoom: q,
+ panoramaRenderer: 'flash',
+ swfSrc: B.vg('main_domain_nocdn', 'res/swf/') + 'APILoader.swf',
+ visible: q,
+ indoorExitControl: q,
+ indoorFloorControl: t,
+ linksControl: q,
+ clickOnRoad: q,
+ navigationControl: q,
+ closeControl: q,
+ indoorSceneSwitchControl: q,
+ albumsControl: t,
+ albumsControlOptions: {},
+ copyrightControlOptions: {},
+ forceCloseControl: t,
+ haveBreakId: t
+ }
+ var b = b || {},
+ e
+ for (e in b) this.j[e] = b[e]
+ b.closeControl === q && (this.j.forceCloseControl = q)
+ b.useWebGL === t && Na(t)
+ this.Da = {
+ heading: 0,
+ pitch: 0
+ }
+ this.bo = []
+ this.Lb = this.Za = s
+ this.dk = this.er()
+ this.ya = []
+ this.Mc = 1
+ this.Ke = this.xT = this.jl = ''
+ this.Je = {}
+ this.Of = s
+ this.Sg = []
+ this.xr = []
+ 'cvsRender' == this.dk || Na()
+ ? ((this.Vj = 90), (this.Xj = -90))
+ : 'cssRender' == this.dk && ((this.Vj = 45), (this.Xj = -45))
+ this.Br = t
+ var f = this
+ this.co = function () {
+ this.dk === 'flashRender'
+ ? K.load(
+ 'panoramaflash',
+ function () {
+ f.Mi()
+ },
+ q
+ )
+ : K.load(
+ 'panorama',
+ function () {
+ f.ib()
+ },
+ q
+ )
+ b.of == 'api' ? Ra(Da) : Ra(Ea)
+ this.co = u()
+ }
+ this.j.jT !== q && (this.co(), B.Fn('cus.fire', 'count', 'z_loadpanoramacount'))
+ this.aU(this.C)
+ this.addEventListener('id_changed', function () {
+ Ra(Ca, {
+ from: b.of
+ })
+ })
+ this.mQ()
+ this.addEventListener('indoorexit_options_changed', c)
+ this.addEventListener('scene_type_changed', c)
+ this.addEventListener('onclose_options_changed', c)
+ this.addEventListener('onvisible_changed', c)
+ }
+ var ae = 4,
+ be = 1,
+ $d = 0
+ z.lang.ta(Oa, z.lang.Ca, 'Panorama')
+ z.extend(Oa.prototype, {
+ mQ: function () {
+ var a = this,
+ b = (this.Bf = L('div'))
+ b.className = 'pano_close'
+ b.style.cssText = 'z-index: 1201;display: none'
+ b.title = '\u9000\u51fa\u5168\u666f'
+ b.onclick = function () {
+ a.U()
+ }
+ this.C.appendChild(b)
+ var c = (this.GA = L('a'))
+ c.className = 'pano_pc_indoor_exit'
+ c.style.cssText = 'z-index: 1201;display: none'
+ c.innerHTML = '\u51fa\u53e3'
+ c.title = '\u9000\u51fa\u5ba4\u5185\u666f'
+ c.onclick = function () {
+ a.Vo()
+ }
+ this.C.appendChild(c)
+ window.ActiveXObject &&
+ !document.addEventListener &&
+ ((b.style.backgroundColor = 'rgb(37,37,37)'), (c.style.backgroundColor = 'rgb(37,37,37)'))
+ },
+ Vo: u(),
+ aU: function (a) {
+ var b, c
+ b = a.style
+ c = Va(a).position
+ 'absolute' != c && 'relative' != c && ((b.position = 'relative'), (b.zIndex = 0))
+ if ('absolute' === c || 'relative' === c) if (((a = Va(a).zIndex), !a || 'auto' === a)) b.zIndex = 0
+ },
+ OX: w('bo'),
+ Xb: w('Za'),
+ pY: w('jw'),
+ wO: w('jw'),
+ ga: w('Lb'),
+ Ea: w('Da'),
+ fa: w('Mc'),
+ jj: w('jl'),
+ I3: function () {
+ return this.U1 || []
+ },
+ D3: w('xT'),
+ ft: w('Ke'),
+ Ny: function (a) {
+ a !== this.Ke && ((this.Ke = a), this.dispatchEvent(new P('onscene_type_changed')))
+ },
+ vc: function (a, b, c) {
+ 'object' === typeof b && ((c = b), (b = l))
+ a != this.Za &&
+ ((this.ul = this.Za),
+ (this.vl = this.Lb),
+ (this.Za = a),
+ (this.Ke = b || 'street'),
+ (this.Lb = s),
+ c && c.pov && this.Pc(c.pov))
+ },
+ sa: function (a) {
+ a.pb(this.Lb) || ((this.ul = this.Za), (this.vl = this.Lb), (this.Lb = a), (this.Za = s))
+ },
+ Pc: function (a) {
+ a &&
+ ((this.Da = a),
+ (a = this.Da.pitch),
+ a > this.Vj ? (a = this.Vj) : a < this.Xj && (a = this.Xj),
+ (this.Br = q),
+ (this.Da.pitch = a))
+ },
+ H_: function (a, b) {
+ this.Xj = 0 <= a ? 0 : a
+ this.Vj = 0 >= b ? 0 : b
+ },
+ Qc: function (a) {
+ a != this.Mc &&
+ (a > ae && (a = ae),
+ a < be && (a = be),
+ a != this.Mc && (this.Mc = a),
+ 'cssRender' === this.dk && this.Pc(this.Da))
+ },
+ GB: function () {
+ if (this.B)
+ for (var a = this.B.Hx(), b = 0; b < a.length; b++)
+ (a[b] instanceof U || a[b] instanceof uc) && a[b].point && this.ya.push(a[b])
+ },
+ GF: ba('B'),
+ au: function (a) {
+ this.Of = a || 'none'
+ },
+ Qk: function (a) {
+ for (var b in a) {
+ if ('object' == typeof a[b]) for (var c in a[b]) this.j[b][c] = a[b][c]
+ else this.j[b] = a[b]
+ a.closeControl === q && (this.j.forceCloseControl = q)
+ a.closeControl === t && (this.j.forceCloseControl = t)
+ switch (b) {
+ case 'linksControl':
+ this.dispatchEvent(new P('onlinks_visible_changed'))
+ break
+ case 'clickOnRoad':
+ this.dispatchEvent(new P('onclickonroad_changed'))
+ break
+ case 'navigationControl':
+ this.dispatchEvent(new P('onnavigation_visible_changed'))
+ break
+ case 'indoorSceneSwitchControl':
+ this.dispatchEvent(new P('onindoor_default_switch_mode_changed'))
+ break
+ case 'albumsControl':
+ this.dispatchEvent(new P('onalbums_visible_changed'))
+ break
+ case 'albumsControlOptions':
+ this.dispatchEvent(new P('onalbums_options_changed'))
+ break
+ case 'copyrightControlOptions':
+ this.dispatchEvent(new P('oncopyright_options_changed'))
+ break
+ case 'closeControl':
+ this.dispatchEvent(new P('onclose_options_changed'))
+ break
+ case 'indoorExitControl':
+ this.dispatchEvent(new P('onindoorexit_options_changed'))
+ break
+ case 'indoorFloorControl':
+ this.dispatchEvent(new P('onindoorfloor_options_changed'))
+ }
+ }
+ },
+ Ek: function () {
+ this.Dl.style.visibility = 'hidden'
+ },
+ Ry: function () {
+ this.Dl.style.visibility = 'visible'
+ },
+ cX: function () {
+ this.j.enableScrollWheelZoom = q
+ },
+ NW: function () {
+ this.j.enableScrollWheelZoom = t
+ },
+ show: function () {
+ this.j.visible = q
+ },
+ U: function () {
+ this.j.visible = t
+ },
+ er: function () {
+ return Ua() && !H() && 'javascript' != this.j.panoramaRenderer
+ ? 'flashRender'
+ : !H() && Ob()
+ ? 'cvsRender'
+ : 'cssRender'
+ },
+ Ga: function (a) {
+ this.Je[a.ld] = a
+ },
+ Qb: function (a) {
+ delete this.Je[a]
+ },
+ kE: function () {
+ return this.j.visible
+ },
+ fh: function () {
+ return new O(this.C.clientWidth, this.C.clientHeight)
+ },
+ La: w('C'),
+ yL: function () {
+ var a = B.vg('baidumap', '?'),
+ b = this.Xb()
+ if (b) {
+ var b = {
+ panotype: this.ft(),
+ heading: this.Ea().heading,
+ pitch: this.Ea().pitch,
+ pid: b,
+ panoid: b,
+ from: 'api'
+ },
+ c
+ for (c in b) a += c + '=' + b[c] + '&'
+ }
+ return a.slice(0, -1)
+ },
+ Px: function () {
+ this.Qk({
+ copyrightControlOptions: {
+ logoVisible: t
+ }
+ })
+ },
+ NF: function () {
+ this.Qk({
+ copyrightControlOptions: {
+ logoVisible: q
+ }
+ })
+ },
+ aC: function (a) {
+ function b(a, b) {
+ return function () {
+ a.xr.push({
+ iN: b,
+ hN: arguments
+ })
+ }
+ }
+ for (var c = a.getPanoMethodList(), e = '', f = 0, g = c.length; f < g; f++)
+ (e = c[f]), (this[e] = b(this, e))
+ this.Sg.push(a)
+ },
+ rF: function (a) {
+ for (var b = this.Sg.length; b--; ) this.Sg[b] === a && this.Sg.splice(b, 1)
+ },
+ FF: u()
+ })
+ var ce = Oa.prototype
+ T(ce, {
+ setId: ce.vc,
+ setPosition: ce.sa,
+ setPov: ce.Pc,
+ setZoom: ce.Qc,
+ setOptions: ce.Qk,
+ getId: ce.Xb,
+ getPosition: ce.ga,
+ getPov: ce.Ea,
+ getZoom: ce.fa,
+ getLinks: ce.OX,
+ getBaiduMapUrl: ce.yL,
+ hideMapLogo: ce.Px,
+ showMapLogo: ce.NF,
+ enableDoubleClickZoom: ce.W2,
+ disableDoubleClickZoom: ce.J2,
+ enableScrollWheelZoom: ce.cX,
+ disableScrollWheelZoom: ce.NW,
+ show: ce.show,
+ hide: ce.U,
+ addPlugin: ce.aC,
+ removePlugin: ce.rF,
+ getVisible: ce.kE,
+ addOverlay: ce.Ga,
+ removeOverlay: ce.Qb,
+ getSceneType: ce.ft,
+ setPanoramaPOIType: ce.au,
+ exitInter: ce.Vo,
+ setInteractiveState: ce.FF
+ })
+ T(window, {
+ BMAP_PANORAMA_POI_HOTEL: 'hotel',
+ BMAP_PANORAMA_POI_CATERING: 'catering',
+ BMAP_PANORAMA_POI_MOVIE: 'movie',
+ BMAP_PANORAMA_POI_TRANSIT: 'transit',
+ BMAP_PANORAMA_POI_INDOOR_SCENE: 'indoor_scene',
+ BMAP_PANORAMA_POI_NONE: 'none',
+ BMAP_PANORAMA_INDOOR_SCENE: 'inter',
+ BMAP_PANORAMA_STREET_SCENE: 'street'
+ })
+ function de() {
+ z.lang.Ca.call(this)
+ this.ld = 'PanoramaOverlay_' + this.aa
+ this.P = s
+ this.Qa = q
+ }
+ z.lang.ta(de, z.lang.Ca, 'PanoramaOverlayBase')
+ z.extend(de.prototype, {
+ E3: w('ld'),
+ na: function () {
+ aa('initialize\u65b9\u6cd5\u672a\u5b9e\u73b0')
+ },
+ remove: function () {
+ aa('remove\u65b9\u6cd5\u672a\u5b9e\u73b0')
+ },
+ Nf: function () {
+ aa('_setOverlayProperty\u65b9\u6cd5\u672a\u5b9e\u73b0')
+ }
+ })
+ function ee(a, b) {
+ de.call(this)
+ var c = {
+ position: s,
+ altitude: 2,
+ displayDistance: q
+ },
+ b = b || {},
+ e
+ for (e in b) c[e] = b[e]
+ this.Lb = c.position
+ this.Ij = a
+ this.xq = c.altitude
+ this.zR = c.displayDistance
+ this.UF = c.color
+ this.kM = c.hoverColor
+ this.backgroundColor = c.backgroundColor
+ this.jK = c.backgroundHoverColor
+ this.borderColor = c.borderColor
+ this.oK = c.borderHoverColor
+ this.fontSize = c.fontSize
+ this.padding = c.padding
+ this.pE = c.imageUrl
+ this.size = c.size
+ this.xe = c.image
+ this.width = c.width
+ this.height = c.height
+ this.HY = c.imageData
+ this.borderWidth = c.borderWidth
+ }
+ z.lang.ta(ee, de, 'PanoramaLabel')
+ z.extend(ee.prototype, {
+ j3: w('borderWidth'),
+ getImageData: w('HY'),
+ zm: w('UF'),
+ y3: w('kM'),
+ f3: w('backgroundColor'),
+ g3: w('jK'),
+ h3: w('borderColor'),
+ i3: w('oK'),
+ w3: w('fontSize'),
+ F3: w('padding'),
+ z3: w('pE'),
+ cb: w('size'),
+ zx: w('xe'),
+ sa: function (a) {
+ this.Lb = a
+ this.Nf('position', a)
+ },
+ ga: w('Lb'),
+ dd: function (a) {
+ this.Ij = a
+ this.Nf('content', a)
+ },
+ xk: w('Ij'),
+ AF: function (a) {
+ this.xq = a
+ this.Nf('altitude', a)
+ },
+ Yo: w('xq'),
+ Ea: function () {
+ var a = this.ga(),
+ b = s,
+ c = s
+ this.P && (c = this.P.ga())
+ if (a && c)
+ if (a.pb(c)) b = this.P.Ea()
+ else {
+ b = {}
+ b.heading = fe(a.lng - c.lng, a.lat - c.lat) || 0
+ var a = b,
+ c = this.Yo(),
+ e = this.Xn()
+ a.pitch = Math.round(180 * (Math.atan(c / e) / Math.PI)) || 0
+ }
+ return b
+ },
+ Xn: function () {
+ var a = 0,
+ b,
+ c
+ this.P && ((b = this.P.ga()), (c = this.ga()) && !c.pb(b) && (a = S.$o(b, c)))
+ return a
+ },
+ U: function () {
+ aa('hide\u65b9\u6cd5\u672a\u5b9e\u73b0')
+ },
+ show: function () {
+ aa('show\u65b9\u6cd5\u672a\u5b9e\u73b0')
+ },
+ Nf: u()
+ })
+ var ge = ee.prototype
+ T(ge, {
+ setPosition: ge.sa,
+ getPosition: ge.ga,
+ setContent: ge.dd,
+ getContent: ge.xk,
+ setAltitude: ge.AF,
+ getAltitude: ge.Yo,
+ getPov: ge.Ea,
+ show: ge.show,
+ hide: ge.U
+ })
+ function he(a, b) {
+ de.call(this)
+ var c = {
+ icon: '',
+ title: '',
+ panoInfo: s,
+ altitude: 2
+ },
+ b = b || {},
+ e
+ for (e in b) c[e] = b[e]
+ this.Lb = a
+ this.gI = c.icon
+ this.DJ = c.title
+ this.xq = c.altitude
+ this.OT = c.panoInfo
+ this.Da = {
+ heading: 0,
+ pitch: 0
+ }
+ }
+ z.lang.ta(he, de, 'PanoramaMarker')
+ z.extend(he.prototype, {
+ sa: function (a) {
+ this.Lb = a
+ this.Nf('position', a)
+ },
+ ga: w('Lb'),
+ Ec: function (a) {
+ this.DJ = a
+ this.Nf('title', a)
+ },
+ gp: w('DJ'),
+ Rb: function (a) {
+ this.gI = icon
+ this.Nf('icon', a)
+ },
+ ap: w('gI'),
+ AF: function (a) {
+ this.xq = a
+ this.Nf('altitude', a)
+ },
+ Yo: w('xq'),
+ $D: w('OT'),
+ Ea: function () {
+ var a = s
+ if (this.P) {
+ var a = this.P.ga(),
+ b = this.ga(),
+ a = fe(b.lng - a.lng, b.lat - a.lat)
+ isNaN(a) && (a = 0)
+ a = {
+ heading: a,
+ pitch: 0
+ }
+ } else a = this.Da
+ return a
+ },
+ Nf: u()
+ })
+ var ie = he.prototype
+ T(ie, {
+ setPosition: ie.sa,
+ getPosition: ie.ga,
+ setTitle: ie.Ec,
+ getTitle: ie.gp,
+ setAltitude: ie.AF,
+ getAltitude: ie.Yo,
+ getPanoInfo: ie.$D,
+ getIcon: ie.ap,
+ setIcon: ie.Rb,
+ getPov: ie.Ea
+ })
+ function fe(a, b) {
+ var c = 0
+ if (0 !== a && 0 !== b) {
+ var c = 180 * (Math.atan(a / b) / Math.PI),
+ e = 0
+ 0 < a && 0 > b && (e = 90)
+ 0 > a && 0 > b && (e = 180)
+ 0 > a && 0 < b && (e = 270)
+ c = ((c + 90) % 90) + e
+ } else 0 === a ? (c = 0 > b ? 180 : 0) : 0 === b && (c = 0 < a ? 90 : 270)
+ return Math.round(c)
+ }
+ function Na(a) {
+ if ('boolean' === typeof je) return je
+ if (a === t || !window.WebGLRenderingContext) return (je = t)
+ if (z.platform.Jm) {
+ a = 0
+ try {
+ a = navigator.userAgent.split('Android ')[1].charAt(0)
+ } catch (b) {}
+ if (5 > a) return (je = t)
+ }
+ var a = document.createElement('canvas'),
+ c = s
+ try {
+ c = a.getContext('webgl')
+ } catch (e) {
+ je = t
+ }
+ return (je = c === s ? t : q)
+ }
+ var je
+ function ke() {
+ if ('boolean' === typeof le) return le
+ le = q
+ if (z.platform.zE) return q
+ var a = navigator.userAgent
+ return -1 < a.indexOf('Chrome') || -1 < a.indexOf('SAMSUNG-GT-I9508') ? q : (le = t)
+ }
+ var le
+ function ec(a, b) {
+ this.P = a || s
+ var c = this
+ c.P && c.ba()
+ K.load('pservice', function () {
+ c.SQ()
+ })
+ 'api' == (b || {}).of ? Ra(Fa) : Ra(Ga)
+ this.xd = {
+ getPanoramaById: [],
+ getPanoramaByLocation: [],
+ getVisiblePOIs: [],
+ getRecommendPanosById: [],
+ getPanoramaVersions: [],
+ checkPanoSupportByCityCode: [],
+ getPanoramaByPOIId: [],
+ getCopyrightProviders: []
+ }
+ }
+ B.Tm(function (a) {
+ 'flashRender' !== a.er() &&
+ new ec(a, {
+ of: 'api'
+ })
+ })
+ z.extend(ec.prototype, {
+ ba: function () {
+ function a(a) {
+ if (a) {
+ if (a.id != b.jw) {
+ b.wO(a.id)
+ b.ea = a
+ ke() || b.dispatchEvent(new P('onthumbnail_complete'))
+ b.Za != s && (b.vl = b._position)
+ for (var c in a)
+ if (a.hasOwnProperty(c))
+ switch (((b['_' + c] = a[c]), c)) {
+ case 'position':
+ b.Lb = a[c]
+ break
+ case 'id':
+ b.Za = a[c]
+ break
+ case 'links':
+ b.bo = a[c]
+ break
+ case 'zoom':
+ b.Mc = a[c]
+ }
+ if (b.vl) {
+ var g = b.vl,
+ i = b._position
+ c = g.lat
+ var k = i.lat,
+ m = Pb(k - c),
+ g = Pb(i.lng - g.lng)
+ c =
+ Math.sin(m / 2) * Math.sin(m / 2) +
+ Math.cos(Pb(c)) * Math.cos(Pb(k)) * Math.sin(g / 2) * Math.sin(g / 2)
+ b.wH = 6371e3 * 2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c))
+ }
+ c = new P('ondataload')
+ c.data = a
+ b.dispatchEvent(c)
+ b.dispatchEvent(new P('onposition_changed'))
+ b.dispatchEvent(new P('onlinks_changed'))
+ b.dispatchEvent(new P('oncopyright_changed'), {
+ copyright: a.copyright
+ })
+ a.bm && b.j.closeControl ? z.D.show(b.WR) : z.D.U(b.WR)
+ }
+ } else (b.Za = b.ul), (b.Lb = b.vl), b.dispatchEvent(new P('onnoresult'))
+ }
+ var b = this.P,
+ c = this
+ b.addEventListener('id_changed', function () {
+ c.ep(b.Xb(), a)
+ })
+ b.addEventListener('iid_changed', function () {
+ c.Tg(ec.el + 'qt=idata&iid=' + b.CA + '&fn=', function (b) {
+ if (b && b.result && 0 == b.result.error) {
+ var b = b.content[0].interinfo,
+ f = {}
+ f.bm = b.BreakID
+ for (var g = b.Defaultfloor, i = s, k = 0; k < b.Floors.length; k++)
+ if (b.Floors[k].Floor == g) {
+ i = b.Floors[k]
+ break
+ }
+ f.id = i.StartID || i.Points[0].PID
+ c.ep(f.id, a, f)
+ }
+ })
+ })
+ b.addEventListener('position_changed_inner', function () {
+ c.kj(b.ga(), a)
+ })
+ },
+ ep: function (a, b) {
+ this.xd.getPanoramaById.push(arguments)
+ },
+ kj: function (a, b, c) {
+ this.xd.getPanoramaByLocation.push(arguments)
+ },
+ lE: function (a, b, c, e) {
+ this.xd.getVisiblePOIs.push(arguments)
+ },
+ Kx: function (a, b) {
+ this.xd.getRecommendPanosById.push(arguments)
+ },
+ Jx: function (a) {
+ this.xd.getPanoramaVersions.push(arguments)
+ },
+ nC: function (a, b) {
+ this.xd.checkPanoSupportByCityCode.push(arguments)
+ },
+ Ix: function (a, b) {
+ this.xd.getPanoramaByPOIId.push(arguments)
+ },
+ CL: function (a) {
+ this.xd.getCopyrightProviders.push(arguments)
+ }
+ })
+ var ne = ec.prototype
+ T(ne, {
+ getPanoramaById: ne.ep,
+ getPanoramaByLocation: ne.kj,
+ getPanoramaByPOIId: ne.Ix
+ })
+ function dc(a) {
+ Mc.call(this)
+ 'api' == (a || {}).of ? Ra(Aa) : Ra(Ba)
+ }
+ dc.OG = B.vg('pano', 'tile/')
+ dc.prototype = new Mc()
+ dc.prototype.getTilesUrl = function (a, b) {
+ var c = dc.OG[(a.x + a.y) % dc.OG.length] + '?udt=20150114&qt=tile&styles=pl&x=' + a.x + '&y=' + a.y + '&z=' + b
+ z.ca.ia && 6 >= z.ca.ia && (c += '&color_dep=32')
+ return c
+ }
+ dc.prototype.zt = ca(q)
+ oe.Wd = new S()
+ function oe() {}
+ z.extend(oe, {
+ OW: function (a, b, c) {
+ c = z.lang.Nc(c)
+ b = {
+ data: b
+ }
+ 'position_changed' == a && (b.data = oe.Wd.xj(new Q(b.data.mercatorX, b.data.mercatorY)))
+ c.dispatchEvent(new P('on' + a), b)
+ }
+ })
+ var pe = oe
+ T(pe, {
+ dispatchFlashEvent: pe.OW
+ })
+ var qe = {
+ KP: 50
+ }
+ qe.Ou = B.vg('pano')[0]
+ qe.Mu = {
+ width: 220,
+ height: 60
+ }
+ z.extend(qe, {
+ tM: function (a, b, c, e) {
+ if (!b || !c || !c.lngLat || !c.panoInstance) e()
+ else {
+ this.jo === l &&
+ (this.jo = new ec(s, {
+ of: 'api'
+ }))
+ var f = this
+ this.jo.nC(b, function (b) {
+ b
+ ? f.jo.kj(c.lngLat, qe.KP, function (b) {
+ if (b && b.id) {
+ var g = b.id,
+ m = b.rh,
+ b = b.th,
+ n = ec.Wd.kh(c.lngLat),
+ o = f.AS(n, {
+ x: m,
+ y: b
+ }),
+ m = f.PL(g, o, 0, qe.Mu.width, qe.Mu.height)
+ a.content = f.BS(a.content, m, c.titleTip, c.beforeDomId)
+ a.addEventListener('open', function () {
+ ia.M(z.Fc('infoWndPano'), 'click', function () {
+ c.panoInstance.vc(g)
+ c.panoInstance.show()
+ c.panoInstance.Pc({
+ heading: o,
+ pitch: 0
+ })
+ })
+ })
+ }
+ e()
+ })
+ : e()
+ })
+ }
+ },
+ BS: function (a, b, c, e) {
+ var c = c || '',
+ f
+ !e || !a.split(e)[0]
+ ? ((e = a), (a = ''))
+ : ((e = a.split(e)[0]), (f = e.lastIndexOf('<')), (e = a.substring(0, f)), (a = a.substring(f)))
+ f = []
+ var g = qe.Mu.width,
+ i = qe.Mu.height
+ f.push(e)
+ f.push(
+ "')
+ f.push(a)
+ return f.join('')
+ },
+ AS: function (a, b) {
+ var c = 90 - (180 * Math.atan2(a.y - b.y, a.x - b.x)) / Math.PI
+ 0 > c && (c += 360)
+ return c
+ },
+ PL: function (a, b, c, e, f) {
+ var g = {
+ panoId: a,
+ panoHeading: b || 0,
+ panoPitch: c || 0,
+ width: e,
+ height: f
+ }
+ return (
+ qe.Ou +
+ '?qt=pr3d&fovy=75&quality=80&panoid={panoId}&heading={panoHeading}&pitch={panoPitch}&width={width}&height={height}'
+ ).replace(/\{(.*?)\}/g, function (a, b) {
+ return g[b]
+ })
+ }
+ })
+ var te = document,
+ ue = Math,
+ ve = te.createElement('div').style,
+ we
+ a: {
+ for (var xe = ['t', 'webkitT', 'MozT', 'msT', 'OT'], ye, ze = 0, Ae = xe.length; ze < Ae; ze++)
+ if (((ye = xe[ze] + 'ransform'), ye in ve)) {
+ we = xe[ze].substr(0, xe[ze].length - 1)
+ break a
+ }
+ we = t
+ }
+ var Be = we ? '-' + we.toLowerCase() + '-' : '',
+ De = Ce('transform'),
+ Ee = Ce('transitionProperty'),
+ Fe = Ce('transitionDuration'),
+ Ge = Ce('transformOrigin'),
+ He = Ce('transitionTimingFunction'),
+ Ie = Ce('transitionDelay'),
+ Sd = /android/gi.test(navigator.appVersion),
+ Je = /iphone|ipad/gi.test(navigator.appVersion),
+ Ke = /hp-tablet/gi.test(navigator.appVersion),
+ Le = Ce('perspective') in ve,
+ Me = 'ontouchstart' in window && !Ke,
+ Ne = we !== t,
+ Oe = Ce('transition') in ve,
+ Pe = 'onorientationchange' in window ? 'orientationchange' : 'resize',
+ Qe = Me ? 'touchstart' : 'mousedown',
+ Re = Me ? 'touchmove' : 'mousemove',
+ Se = Me ? 'touchend' : 'mouseup',
+ Te = Me ? 'touchcancel' : 'mouseup',
+ Ue =
+ we === t
+ ? t
+ : {
+ '': 'transitionend',
+ webkit: 'webkitTransitionEnd',
+ Moz: 'transitionend',
+ O: 'otransitionend',
+ ms: 'MSTransitionEnd'
+ }[we],
+ Ve =
+ window.requestAnimationFrame ||
+ window.webkitRequestAnimationFrame ||
+ window.mozRequestAnimationFrame ||
+ window.oRequestAnimationFrame ||
+ window.msRequestAnimationFrame ||
+ function (a) {
+ return setTimeout(a, 1)
+ },
+ We =
+ window.cancelRequestAnimationFrame ||
+ window.U5 ||
+ window.webkitCancelRequestAnimationFrame ||
+ window.mozCancelRequestAnimationFrame ||
+ window.oCancelRequestAnimationFrame ||
+ window.msCancelRequestAnimationFrame ||
+ clearTimeout,
+ Xe = Le ? ' translateZ(0)' : ''
+ function Ye(a, b) {
+ var c = this,
+ e
+ c.zn = 'object' == typeof a ? a : te.getElementById(a)
+ c.zn.style.overflow = 'hidden'
+ c.Nb = c.zn.children[0]
+ c.options = {
+ kp: q,
+ xn: q,
+ x: 0,
+ y: 0,
+ Go: q,
+ LV: t,
+ iy: q,
+ OE: q,
+ Yk: q,
+ wi: t,
+ n0: 0,
+ Pw: t,
+ Mx: q,
+ ii: q,
+ xi: q,
+ AD: Sd,
+ Qx: Je,
+ kX: Je && Le,
+ xF: '',
+ zoom: t,
+ $k: 1,
+ aq: 4,
+ QW: 2,
+ qP: 'scroll',
+ iu: t,
+ Uy: 1,
+ CN: s,
+ uN: function (a) {
+ a.preventDefault()
+ },
+ FN: s,
+ tN: s,
+ EN: s,
+ sN: s,
+ oy: s,
+ GN: s,
+ xN: s,
+ zp: s,
+ HN: s,
+ yp: s
+ }
+ for (e in b) c.options[e] = b[e]
+ c.x = c.options.x
+ c.y = c.options.y
+ c.options.Yk = Ne && c.options.Yk
+ c.options.ii = c.options.kp && c.options.ii
+ c.options.xi = c.options.xn && c.options.xi
+ c.options.zoom = c.options.Yk && c.options.zoom
+ c.options.wi = Oe && c.options.wi
+ c.options.zoom && Sd && (Xe = '')
+ c.Nb.style[Ee] = c.options.Yk ? Be + 'transform' : 'top left'
+ c.Nb.style[Fe] = '0'
+ c.Nb.style[Ge] = '0 0'
+ c.options.wi && (c.Nb.style[He] = 'cubic-bezier(0.33,0.66,0.66,1)')
+ c.options.Yk
+ ? (c.Nb.style[De] = 'translate(' + c.x + 'px,' + c.y + 'px)' + Xe)
+ : (c.Nb.style.cssText += ';position:absolute;top:' + c.y + 'px;left:' + c.x + 'px')
+ c.options.wi && (c.options.AD = q)
+ c.refresh()
+ c.ba(Pe, window)
+ c.ba(Qe)
+ !Me && 'none' != c.options.qP && (c.ba('DOMMouseScroll'), c.ba('mousewheel'))
+ c.options.Pw &&
+ (c.XV = setInterval(function () {
+ c.PQ()
+ }, 500))
+ this.options.Mx &&
+ (Event.prototype.stopImmediatePropagation ||
+ ((document.body.removeEventListener = function (a, b, c) {
+ var e = Node.prototype.removeEventListener
+ a === 'click' ? e.call(document.body, a, b.iM || b, c) : e.call(document.body, a, b, c)
+ }),
+ (document.body.addEventListener = function (a, b, c) {
+ var e = Node.prototype.addEventListener
+ a === 'click'
+ ? e.call(
+ document.body,
+ a,
+ b.iM ||
+ (b.iM = function (a) {
+ a.RZ || b(a)
+ }),
+ c
+ )
+ : e.call(document.body, a, b, c)
+ })),
+ c.ba('click', document.body, q))
+ }
+ Ye.prototype = {
+ enabled: q,
+ x: 0,
+ y: 0,
+ yj: [],
+ scale: 1,
+ HC: 0,
+ IC: 0,
+ We: [],
+ wf: [],
+ fC: s,
+ cz: 0,
+ handleEvent: function (a) {
+ switch (a.type) {
+ case Qe:
+ if (!Me && 0 !== a.button) break
+ this.aw(a)
+ break
+ case Re:
+ this.zT(a)
+ break
+ case Se:
+ case Te:
+ this.lv(a)
+ break
+ case Pe:
+ this.zB()
+ break
+ case 'DOMMouseScroll':
+ case 'mousewheel':
+ this.eV(a)
+ break
+ case Ue:
+ this.$U(a)
+ break
+ case 'click':
+ this.$Q(a)
+ }
+ },
+ PQ: function () {
+ !this.oh &&
+ !this.al &&
+ !(
+ this.Yl ||
+ (this.Ky == this.Nb.offsetWidth * this.scale && this.Ip == this.Nb.offsetHeight * this.scale)
+ ) &&
+ this.refresh()
+ },
+ Sv: function (a) {
+ var b
+ this[a + 'Scrollbar']
+ ? (this[a + 'ScrollbarWrapper'] ||
+ ((b = te.createElement('div')),
+ this.options.xF
+ ? (b.className = this.options.xF + a.toUpperCase())
+ : (b.style.cssText =
+ 'position:absolute;z-index:100;' +
+ ('h' == a
+ ? 'height:7px;bottom:1px;left:2px;right:' + (this.xi ? '7' : '2') + 'px'
+ : 'width:7px;bottom:' + (this.ii ? '7' : '2') + 'px;top:2px;right:1px')),
+ (b.style.cssText +=
+ ';pointer-events:none;' +
+ Be +
+ 'transition-property:opacity;' +
+ Be +
+ 'transition-duration:' +
+ (this.options.kX ? '350ms' : '0') +
+ ';overflow:hidden;opacity:' +
+ (this.options.Qx ? '0' : '1')),
+ this.zn.appendChild(b),
+ (this[a + 'ScrollbarWrapper'] = b),
+ (b = te.createElement('div')),
+ this.options.xF ||
+ (b.style.cssText =
+ 'position:absolute;z-index:100;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);' +
+ Be +
+ 'background-clip:padding-box;' +
+ Be +
+ 'box-sizing:border-box;' +
+ ('h' == a ? 'height:100%' : 'width:100%') +
+ ';' +
+ Be +
+ 'border-radius:3px;border-radius:3px'),
+ (b.style.cssText +=
+ ';pointer-events:none;' +
+ Be +
+ 'transition-property:' +
+ Be +
+ 'transform;' +
+ Be +
+ 'transition-timing-function:cubic-bezier(0.33,0.66,0.66,1);' +
+ Be +
+ 'transition-duration:0;' +
+ Be +
+ 'transform: translate(0,0)' +
+ Xe),
+ this.options.wi &&
+ (b.style.cssText += ';' + Be + 'transition-timing-function:cubic-bezier(0.33,0.66,0.66,1)'),
+ this[a + 'ScrollbarWrapper'].appendChild(b),
+ (this[a + 'ScrollbarIndicator'] = b)),
+ 'h' == a
+ ? ((this.fM = this.gM.clientWidth),
+ (this.yY = ue.max(ue.round((this.fM * this.fM) / this.Ky), 8)),
+ (this.xY.style.width = this.yY + 'px'))
+ : ((this.iP = this.jP.clientHeight),
+ (this.L0 = ue.max(ue.round((this.iP * this.iP) / this.Ip), 8)),
+ (this.K0.style.height = this.L0 + 'px')),
+ this.AB(a, q))
+ : this[a + 'ScrollbarWrapper'] &&
+ (Ne && (this[a + 'ScrollbarIndicator'].style[De] = ''),
+ this[a + 'ScrollbarWrapper'].parentNode.removeChild(this[a + 'ScrollbarWrapper']),
+ (this[a + 'ScrollbarWrapper'] = s),
+ (this[a + 'ScrollbarIndicator'] = s))
+ },
+ zB: function () {
+ var a = this
+ setTimeout(
+ function () {
+ a.refresh()
+ },
+ Sd ? 200 : 0
+ )
+ },
+ Ar: function (a, b) {
+ this.al ||
+ ((a = this.kp ? a : 0),
+ (b = this.xn ? b : 0),
+ this.options.Yk
+ ? (this.Nb.style[De] = 'translate(' + a + 'px,' + b + 'px) scale(' + this.scale + ')' + Xe)
+ : ((a = ue.round(a)),
+ (b = ue.round(b)),
+ (this.Nb.style.left = a + 'px'),
+ (this.Nb.style.top = b + 'px')),
+ (this.x = a),
+ (this.y = b),
+ this.AB('h'),
+ this.AB('v'))
+ },
+ AB: function (a, b) {
+ var c = 'h' == a ? this.x : this.y
+ this[a + 'Scrollbar'] &&
+ ((c *= this[a + 'ScrollbarProp']),
+ 0 > c
+ ? (this.options.AD ||
+ ((c = this[a + 'ScrollbarIndicatorSize'] + ue.round(3 * c)),
+ 8 > c && (c = 8),
+ (this[a + 'ScrollbarIndicator'].style['h' == a ? 'width' : 'height'] = c + 'px')),
+ (c = 0))
+ : c > this[a + 'ScrollbarMaxScroll'] &&
+ (this.options.AD
+ ? (c = this[a + 'ScrollbarMaxScroll'])
+ : ((c =
+ this[a + 'ScrollbarIndicatorSize'] -
+ ue.round(3 * (c - this[a + 'ScrollbarMaxScroll']))),
+ 8 > c && (c = 8),
+ (this[a + 'ScrollbarIndicator'].style['h' == a ? 'width' : 'height'] = c + 'px'),
+ (c = this[a + 'ScrollbarMaxScroll'] + (this[a + 'ScrollbarIndicatorSize'] - c)))),
+ (this[a + 'ScrollbarWrapper'].style[Ie] = '0'),
+ (this[a + 'ScrollbarWrapper'].style.opacity = b && this.options.Qx ? '0' : '1'),
+ (this[a + 'ScrollbarIndicator'].style[De] =
+ 'translate(' + ('h' == a ? c + 'px,0)' : '0,' + c + 'px)') + Xe))
+ },
+ $Q: function (a) {
+ if (a.XR === q) return (this.YB = a.target), (this.sx = Date.now()), q
+ if (this.YB && this.sx) {
+ if (600 < Date.now() - this.sx) return (this.sx = this.YB = s), q
+ } else {
+ for (var b = a.target; b != this.Nb && b != document.body; ) b = b.parentNode
+ if (b == document.body) return q
+ }
+ for (b = a.target; 1 != b.nodeType; ) b = b.parentNode
+ b = b.tagName.toLowerCase()
+ if ('select' != b && 'input' != b && 'textarea' != b)
+ return (
+ a.stopImmediatePropagation ? a.stopImmediatePropagation() : (a.RZ = q),
+ a.stopPropagation(),
+ a.preventDefault(),
+ (this.sx = this.YB = s),
+ t
+ )
+ },
+ aw: function (a) {
+ var b = Me ? a.touches[0] : a,
+ c,
+ e
+ if (this.enabled) {
+ this.options.uN && this.options.uN.call(this, a)
+ ;(this.options.wi || this.options.zoom) && this.FJ(0)
+ this.al = this.Yl = this.oh = t
+ this.RC = this.QC = this.vw = this.uw = this.XC = this.WC = 0
+ this.options.zoom &&
+ Me &&
+ 1 < a.touches.length &&
+ ((e = ue.abs(a.touches[0].pageX - a.touches[1].pageX)),
+ (c = ue.abs(a.touches[0].pageY - a.touches[1].pageY)),
+ (this.p0 = ue.sqrt(e * e + c * c)),
+ (this.qy = ue.abs(a.touches[0].pageX + a.touches[1].pageX - 2 * this.iG) / 2 - this.x),
+ (this.ty = ue.abs(a.touches[0].pageY + a.touches[1].pageY - 2 * this.jG) / 2 - this.y),
+ this.options.zp && this.options.zp.call(this, a))
+ if (
+ this.options.iy &&
+ (this.options.Yk
+ ? ((c = getComputedStyle(this.Nb, s)
+ [De].replace(/[^0-9\-.,]/g, '')
+ .split(',')),
+ (e = +(c[12] || c[4])),
+ (c = +(c[13] || c[5])))
+ : ((e = +getComputedStyle(this.Nb, s).left.replace(/[^0-9-]/g, '')),
+ (c = +getComputedStyle(this.Nb, s).top.replace(/[^0-9-]/g, ''))),
+ e != this.x || c != this.y)
+ )
+ this.options.wi ? this.$d(Ue) : We(this.fC),
+ (this.yj = []),
+ this.Ar(e, c),
+ this.options.oy && this.options.oy.call(this)
+ this.ww = this.x
+ this.xw = this.y
+ this.lu = this.x
+ this.mu = this.y
+ this.rh = b.pageX
+ this.th = b.pageY
+ this.startTime = a.timeStamp || Date.now()
+ this.options.FN && this.options.FN.call(this, a)
+ this.ba(Re, window)
+ this.ba(Se, window)
+ this.ba(Te, window)
+ }
+ },
+ zT: function (a) {
+ var b = Me ? a.touches[0] : a,
+ c = b.pageX - this.rh,
+ e = b.pageY - this.th,
+ f = this.x + c,
+ g = this.y + e,
+ i = a.timeStamp || Date.now()
+ this.options.tN && this.options.tN.call(this, a)
+ if (this.options.zoom && Me && 1 < a.touches.length)
+ (f = ue.abs(a.touches[0].pageX - a.touches[1].pageX)),
+ (g = ue.abs(a.touches[0].pageY - a.touches[1].pageY)),
+ (this.o0 = ue.sqrt(f * f + g * g)),
+ (this.al = q),
+ (b = (1 / this.p0) * this.o0 * this.scale),
+ b < this.options.$k
+ ? (b = 0.5 * this.options.$k * Math.pow(2, b / this.options.$k))
+ : b > this.options.aq && (b = 2 * this.options.aq * Math.pow(0.5, this.options.aq / b)),
+ (this.rp = b / this.scale),
+ (f = this.qy - this.qy * this.rp + this.x),
+ (g = this.ty - this.ty * this.rp + this.y),
+ (this.Nb.style[De] = 'translate(' + f + 'px,' + g + 'px) scale(' + b + ')' + Xe),
+ this.options.HN && this.options.HN.call(this, a)
+ else {
+ this.rh = b.pageX
+ this.th = b.pageY
+ if (0 < f || f < this.he) f = this.options.Go ? this.x + c / 2 : 0 <= f || 0 <= this.he ? 0 : this.he
+ if (g > this.sf || g < this.qd)
+ g = this.options.Go ? this.y + e / 2 : g >= this.sf || 0 <= this.qd ? this.sf : this.qd
+ this.WC += c
+ this.XC += e
+ this.uw = ue.abs(this.WC)
+ this.vw = ue.abs(this.XC)
+ ;(6 > this.uw && 6 > this.vw) ||
+ (this.options.OE &&
+ (this.uw > this.vw + 5
+ ? ((g = this.y), (e = 0))
+ : this.vw > this.uw + 5 && ((f = this.x), (c = 0))),
+ (this.oh = q),
+ this.Ar(f, g),
+ (this.QC = 0 < c ? -1 : 0 > c ? 1 : 0),
+ (this.RC = 0 < e ? -1 : 0 > e ? 1 : 0),
+ 300 < i - this.startTime && ((this.startTime = i), (this.lu = this.x), (this.mu = this.y)),
+ this.options.EN && this.options.EN.call(this, a))
+ }
+ },
+ lv: function (a) {
+ if (!(Me && 0 !== a.touches.length)) {
+ var b = this,
+ c = Me ? a.changedTouches[0] : a,
+ e,
+ f,
+ g = {
+ Ba: 0,
+ time: 0
+ },
+ i = {
+ Ba: 0,
+ time: 0
+ },
+ k = (a.timeStamp || Date.now()) - b.startTime
+ e = b.x
+ f = b.y
+ b.$d(Re, window)
+ b.$d(Se, window)
+ b.$d(Te, window)
+ b.options.sN && b.options.sN.call(b, a)
+ if (b.al)
+ (e = b.scale * b.rp),
+ (e = Math.max(b.options.$k, e)),
+ (e = Math.min(b.options.aq, e)),
+ (b.rp = e / b.scale),
+ (b.scale = e),
+ (b.x = b.qy - b.qy * b.rp + b.x),
+ (b.y = b.ty - b.ty * b.rp + b.y),
+ (b.Nb.style[Fe] = '200ms'),
+ (b.Nb.style[De] = 'translate(' + b.x + 'px,' + b.y + 'px) scale(' + b.scale + ')' + Xe),
+ (b.al = t),
+ b.refresh(),
+ b.options.yp && b.options.yp.call(b, a)
+ else {
+ if (b.oh) {
+ if (300 > k && b.options.iy) {
+ g = e ? b.BI(e - b.lu, k, -b.x, b.Ky - b.Cu + b.x, b.options.Go ? b.Cu : 0) : g
+ i = f
+ ? b.BI(
+ f - b.mu,
+ k,
+ -b.y,
+ 0 > b.qd ? b.Ip - b.An + b.y - b.sf : 0,
+ b.options.Go ? b.An : 0
+ )
+ : i
+ e = b.x + g.Ba
+ f = b.y + i.Ba
+ if ((0 < b.x && 0 < e) || (b.x < b.he && e < b.he))
+ g = {
+ Ba: 0,
+ time: 0
+ }
+ if ((b.y > b.sf && f > b.sf) || (b.y < b.qd && f < b.qd))
+ i = {
+ Ba: 0,
+ time: 0
+ }
+ }
+ g.Ba || i.Ba
+ ? ((c = ue.max(ue.max(g.time, i.time), 10)),
+ b.options.iu &&
+ ((g = e - b.ww),
+ (i = f - b.xw),
+ ue.abs(g) < b.options.Uy && ue.abs(i) < b.options.Uy
+ ? b.scrollTo(b.ww, b.xw, 200)
+ : ((g = b.vJ(e, f)), (e = g.x), (f = g.y), (c = ue.max(g.time, c)))),
+ b.scrollTo(ue.round(e), ue.round(f), c))
+ : b.options.iu
+ ? ((g = e - b.ww),
+ (i = f - b.xw),
+ ue.abs(g) < b.options.Uy && ue.abs(i) < b.options.Uy
+ ? b.scrollTo(b.ww, b.xw, 200)
+ : ((g = b.vJ(b.x, b.y)), (g.x != b.x || g.y != b.y) && b.scrollTo(g.x, g.y, g.time)))
+ : b.lo(200)
+ } else {
+ if (Me)
+ if (b.VK && b.options.zoom)
+ clearTimeout(b.VK),
+ (b.VK = s),
+ b.options.zp && b.options.zp.call(b, a),
+ b.zoom(b.rh, b.th, 1 == b.scale ? b.options.QW : 1),
+ b.options.yp &&
+ setTimeout(function () {
+ b.options.yp.call(b, a)
+ }, 200)
+ else if (this.options.Mx) {
+ for (e = c.target; 1 != e.nodeType; ) e = e.parentNode
+ f = e.tagName.toLowerCase()
+ 'select' != f && 'input' != f && 'textarea' != f
+ ? ((f = te.createEvent('MouseEvents')),
+ f.initMouseEvent(
+ 'click',
+ q,
+ q,
+ a.view,
+ 1,
+ c.screenX,
+ c.screenY,
+ c.clientX,
+ c.clientY,
+ a.ctrlKey,
+ a.altKey,
+ a.shiftKey,
+ a.metaKey,
+ 0,
+ s
+ ),
+ (f.XR = q),
+ e.dispatchEvent(f))
+ : e.focus()
+ }
+ b.lo(400)
+ }
+ b.options.GN && b.options.GN.call(b, a)
+ }
+ }
+ },
+ lo: function (a) {
+ var b = 0 <= this.x ? 0 : this.x < this.he ? this.he : this.x,
+ c = this.y >= this.sf || 0 < this.qd ? this.sf : this.y < this.qd ? this.qd : this.y
+ if (b == this.x && c == this.y) {
+ if (
+ (this.oh && ((this.oh = t), this.options.oy && this.options.oy.call(this)),
+ this.ii &&
+ this.options.Qx &&
+ ('webkit' == we && (this.gM.style[Ie] = '300ms'), (this.gM.style.opacity = '0')),
+ this.xi && this.options.Qx)
+ )
+ 'webkit' == we && (this.jP.style[Ie] = '300ms'), (this.jP.style.opacity = '0')
+ } else this.scrollTo(b, c, a || 0)
+ },
+ eV: function (a) {
+ var b = this,
+ c,
+ e
+ if ('wheelDeltaX' in a) (c = a.wheelDeltaX / 12), (e = a.wheelDeltaY / 12)
+ else if ('wheelDelta' in a) c = e = a.wheelDelta / 12
+ else if ('detail' in a) c = e = 3 * -a.detail
+ else return
+ if ('zoom' == b.options.qP) {
+ if (
+ ((e = b.scale * Math.pow(2, (1 / 3) * (e ? e / Math.abs(e) : 0))),
+ e < b.options.$k && (e = b.options.$k),
+ e > b.options.aq && (e = b.options.aq),
+ e != b.scale)
+ )
+ !b.cz && b.options.zp && b.options.zp.call(b, a),
+ b.cz++,
+ b.zoom(a.pageX, a.pageY, e, 400),
+ setTimeout(function () {
+ b.cz--
+ !b.cz && b.options.yp && b.options.yp.call(b, a)
+ }, 400)
+ } else
+ (c = b.x + c),
+ (e = b.y + e),
+ 0 < c ? (c = 0) : c < b.he && (c = b.he),
+ e > b.sf ? (e = b.sf) : e < b.qd && (e = b.qd),
+ 0 > b.qd && b.scrollTo(c, e, 0)
+ },
+ $U: function (a) {
+ a.target == this.Nb && (this.$d(Ue), this.MB())
+ },
+ MB: function () {
+ var a = this,
+ b = a.x,
+ c = a.y,
+ e = Date.now(),
+ f,
+ g,
+ i
+ a.Yl ||
+ (a.yj.length
+ ? ((f = a.yj.shift()), f.x == b && f.y == c && (f.time = 0), (a.Yl = q), (a.oh = q), a.options.wi)
+ ? (a.FJ(f.time), a.Ar(f.x, f.y), (a.Yl = t), f.time ? a.ba(Ue) : a.lo(0))
+ : ((i = function () {
+ var k = Date.now(),
+ m
+ if (k >= e + f.time) {
+ a.Ar(f.x, f.y)
+ a.Yl = t
+ a.options.zZ && a.options.zZ.call(a)
+ a.MB()
+ } else {
+ k = (k - e) / f.time - 1
+ g = ue.sqrt(1 - k * k)
+ k = (f.x - b) * g + b
+ m = (f.y - c) * g + c
+ a.Ar(k, m)
+ if (a.Yl) a.fC = Ve(i)
+ }
+ }),
+ i())
+ : a.lo(400))
+ },
+ FJ: function (a) {
+ a += 'ms'
+ this.Nb.style[Fe] = a
+ this.ii && (this.xY.style[Fe] = a)
+ this.xi && (this.K0.style[Fe] = a)
+ },
+ BI: function (a, b, c, e, f) {
+ var b = ue.abs(a) / b,
+ g = (b * b) / 0.0012
+ 0 < a && g > c
+ ? ((c += f / (6 / (6.0e-4 * (g / b)))), (b = (b * c) / g), (g = c))
+ : 0 > a && g > e && ((e += f / (6 / (6.0e-4 * (g / b)))), (b = (b * e) / g), (g = e))
+ return {
+ Ba: g * (0 > a ? -1 : 1),
+ time: ue.round(b / 6.0e-4)
+ }
+ },
+ Zj: function (a) {
+ for (var b = -a.offsetLeft, c = -a.offsetTop; (a = a.offsetParent); )
+ (b -= a.offsetLeft), (c -= a.offsetTop)
+ a != this.zn && ((b *= this.scale), (c *= this.scale))
+ return {
+ left: b,
+ top: c
+ }
+ },
+ vJ: function (a, b) {
+ var c, e, f
+ f = this.We.length - 1
+ c = 0
+ for (e = this.We.length; c < e; c++)
+ if (a >= this.We[c]) {
+ f = c
+ break
+ }
+ f == this.HC && 0 < f && 0 > this.QC && f--
+ a = this.We[f]
+ e = (e = ue.abs(a - this.We[this.HC])) ? 500 * (ue.abs(this.x - a) / e) : 0
+ this.HC = f
+ f = this.wf.length - 1
+ for (c = 0; c < f; c++)
+ if (b >= this.wf[c]) {
+ f = c
+ break
+ }
+ f == this.IC && 0 < f && 0 > this.RC && f--
+ b = this.wf[f]
+ c = (c = ue.abs(b - this.wf[this.IC])) ? 500 * (ue.abs(this.y - b) / c) : 0
+ this.IC = f
+ f = ue.round(ue.max(e, c)) || 200
+ return {
+ x: a,
+ y: b,
+ time: f
+ }
+ },
+ ba: function (a, b, c) {
+ ;(b || this.Nb).addEventListener(a, this, !!c)
+ },
+ $d: function (a, b, c) {
+ ;(b || this.Nb).removeEventListener(a, this, !!c)
+ },
+ NC: ga(2),
+ refresh: function () {
+ var a,
+ b,
+ c,
+ e = 0
+ b = 0
+ this.scale < this.options.$k && (this.scale = this.options.$k)
+ this.Cu = this.zn.clientWidth || 1
+ this.An = this.zn.clientHeight || 1
+ this.sf = -this.options.n0 || 0
+ this.Ky = ue.round(this.Nb.offsetWidth * this.scale)
+ this.Ip = ue.round((this.Nb.offsetHeight + this.sf) * this.scale)
+ this.he = this.Cu - this.Ky
+ this.qd = this.An - this.Ip + this.sf
+ this.RC = this.QC = 0
+ this.options.CN && this.options.CN.call(this)
+ this.kp = this.options.kp && 0 > this.he
+ this.xn = this.options.xn && ((!this.options.LV && !this.kp) || this.Ip > this.An)
+ this.ii = this.kp && this.options.ii
+ this.xi = this.xn && this.options.xi && this.Ip > this.An
+ a = this.Zj(this.zn)
+ this.iG = -a.left
+ this.jG = -a.top
+ if ('string' == typeof this.options.iu) {
+ this.We = []
+ this.wf = []
+ c = this.Nb.querySelectorAll(this.options.iu)
+ a = 0
+ for (b = c.length; a < b; a++)
+ (e = this.Zj(c[a])),
+ (e.left += this.iG),
+ (e.top += this.jG),
+ (this.We[a] = e.left < this.he ? this.he : e.left * this.scale),
+ (this.wf[a] = e.top < this.qd ? this.qd : e.top * this.scale)
+ } else if (this.options.iu) {
+ for (this.We = []; e >= this.he; ) (this.We[b] = e), (e -= this.Cu), b++
+ this.he % this.Cu &&
+ (this.We[this.We.length] = this.he - this.We[this.We.length - 1] + this.We[this.We.length - 1])
+ b = e = 0
+ for (this.wf = []; e >= this.qd; ) (this.wf[b] = e), (e -= this.An), b++
+ this.qd % this.An &&
+ (this.wf[this.wf.length] = this.qd - this.wf[this.wf.length - 1] + this.wf[this.wf.length - 1])
+ }
+ this.Sv('h')
+ this.Sv('v')
+ this.al || ((this.Nb.style[Fe] = '0'), this.lo(400))
+ },
+ scrollTo: function (a, b, c, e) {
+ var f = a
+ this.stop()
+ f.length ||
+ (f = [
+ {
+ x: a,
+ y: b,
+ time: c,
+ TZ: e
+ }
+ ])
+ a = 0
+ for (b = f.length; a < b; a++)
+ f[a].TZ && ((f[a].x = this.x - f[a].x), (f[a].y = this.y - f[a].y)),
+ this.yj.push({
+ x: f[a].x,
+ y: f[a].y,
+ time: f[a].time || 0
+ })
+ this.MB()
+ },
+ disable: function () {
+ this.stop()
+ this.lo(0)
+ this.enabled = t
+ this.$d(Re, window)
+ this.$d(Se, window)
+ this.$d(Te, window)
+ },
+ enable: function () {
+ this.enabled = q
+ },
+ stop: function () {
+ this.options.wi ? this.$d(Ue) : We(this.fC)
+ this.yj = []
+ this.Yl = this.oh = t
+ },
+ zoom: function (a, b, c, e) {
+ var f = c / this.scale
+ this.options.Yk &&
+ ((this.al = q),
+ (e = e === l ? 200 : e),
+ (a = a - this.iG - this.x),
+ (b = b - this.jG - this.y),
+ (this.x = a - a * f + this.x),
+ (this.y = b - b * f + this.y),
+ (this.scale = c),
+ this.refresh(),
+ (this.x = 0 < this.x ? 0 : this.x < this.he ? this.he : this.x),
+ (this.y = this.y > this.sf ? this.sf : this.y < this.qd ? this.qd : this.y),
+ (this.Nb.style[Fe] = e + 'ms'),
+ (this.Nb.style[De] = 'translate(' + this.x + 'px,' + this.y + 'px) scale(' + c + ')' + Xe),
+ (this.al = t))
+ }
+ }
+ function Ce(a) {
+ if ('' === we) return a
+ a = a.charAt(0).toUpperCase() + a.substr(1)
+ return we + a
+ }
+ ve = s
+ function Ze(a) {
+ this.j = {
+ anchor: Yb,
+ offset: new O(0, 0),
+ maxWidth: '100%',
+ imageHeight: 80
+ }
+ var a = a || {},
+ b
+ for (b in a) this.j[b] = a[b]
+ this.Ll = new ec(s, {
+ of: 'api'
+ })
+ this.bk = []
+ this.P = s
+ this.ig = {
+ height: this.j.imageHeight,
+ width: this.j.imageHeight * $e
+ }
+ this.Rc = this.BB = this.bm = this.Zc = s
+ }
+ var af = [0, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 5, 5, 5, 6, 6, 7, 8, 8, 8, 9, 10],
+ bf =
+ '\u5176\u4ed6 \u6b63\u95e8 \u623f\u578b \u8bbe\u65bd \u6b63\u95e8 \u9910\u996e\u8bbe\u65bd \u5176\u4ed6\u8bbe\u65bd \u6b63\u95e8 \u8bbe\u65bd \u89c2\u5f71\u5385 \u5176\u4ed6\u8bbe\u65bd'.split(
+ ' '
+ )
+ B.Tm(function (a) {
+ var b = s
+ a.addEventListener('position_changed', function () {
+ a.j.visible &&
+ a.j.albumsControl === q &&
+ (b ? b.Ey(a.Xb()) : ((b = new Ze(a.j.albumsControlOptions)), b.na(a)))
+ })
+ a.addEventListener('albums_visible_changed', function () {
+ a.j.albumsControl === q
+ ? (b ? b.Ey(a.Xb()) : ((b = new Ze(a.j.albumsControlOptions)), b.na(a)), b.show())
+ : b.U()
+ })
+ a.addEventListener('albums_options_changed', function () {
+ b && b.Qk(a.j.albumsControlOptions)
+ })
+ a.addEventListener('visible_changed', function () {
+ b &&
+ (a.kE()
+ ? a.j.albumsControl === q && (b.C.style.visibility = 'visible')
+ : (b.C.style.visibility = 'hidden'))
+ })
+ })
+ var $e = 1.8
+ H() && ($e = 1)
+ z.extend(Ze.prototype, {
+ Qk: function (a) {
+ for (var b in a) this.j[b] = a[b]
+ a = this.j.imageHeight + 'px'
+ this.uc(this.j.anchor)
+ this.C.style.width = isNaN(Number(this.j.maxWidth)) === q ? this.j.maxWidth : this.j.maxWidth + 'px'
+ this.C.style.height = a
+ this.gk.style.height = a
+ this.Rh.style.height = a
+ this.ig = {
+ height: this.j.imageHeight,
+ width: this.j.imageHeight * $e
+ }
+ this.fk.style.height = this.ig.height - 6 + 'px'
+ this.fk.style.width = this.ig.width - 6 + 'px'
+ this.Ey(this.P.Xb(), q)
+ },
+ na: function (a) {
+ this.P = a
+ this.ls()
+ this.yQ()
+ this.OY()
+ this.Ey(a.Xb())
+ },
+ ls: function () {
+ var a = this.j.imageHeight + 'px'
+ this.C = L('div')
+ var b = this.C.style
+ b.cssText = 'background:rgb(37,37,37);background:rgba(37,37,37,0.9);'
+ b.position = 'absolute'
+ b.zIndex = '2000'
+ b.width = isNaN(Number(this.j.maxWidth)) === q ? this.j.maxWidth : this.j.maxWidth + 'px'
+ b.padding = '8px 0'
+ b.visibility = 'hidden'
+ b.height = a
+ this.gk = L('div')
+ b = this.gk.style
+ b.position = 'absolute'
+ b.overflow = 'hidden'
+ b.width = '100%'
+ b.height = a
+ this.Rh = L('div')
+ b = this.Rh.style
+ b.height = a
+ this.gk.appendChild(this.Rh)
+ this.C.appendChild(this.gk)
+ this.P.C.appendChild(this.C)
+ this.fk = L('div', {
+ class: 'pano_photo_item_seleted'
+ })
+ this.fk.style.height = this.ig.height - 6 + 'px'
+ this.fk.style.width = this.ig.width - 6 + 'px'
+ this.uc(this.j.anchor)
+ },
+ RH: function (a) {
+ for (var b = this.bk, c = b.length - 1; 0 <= c; c--) if (b[c].panoId == a) return c
+ return -1
+ },
+ Ey: function (a, b) {
+ if (b || !this.bk[this.Zc] || !(this.bk[this.Zc].panoId == a && 3 !== this.bk[this.Zc].recoType)) {
+ var c = this,
+ e = this.RH(a)
+ !b && -1 !== e && this.bk[e] && 3 !== this.bk[e].recoType
+ ? this.Mp(e)
+ : this.dY(function (a) {
+ for (var b = {}, e, k, m = t, n = [], o = 0, p = a.length; o < p; o++)
+ (e = a[o].catlog),
+ (k = a[o].floor),
+ l !== e &&
+ ('' === e && l !== k
+ ? ((m = q), b[k] || (b[k] = []), b[k].push(a[o]))
+ : (b[af[e]] || (b[af[e]] = []), b[af[e]].push(a[o])))
+ for (var v in b)
+ m
+ ? n.push({
+ data: v + 'F',
+ index: v
+ })
+ : n.push({
+ data: bf[v],
+ index: v
+ })
+ c.jH = b
+ c.Ji = n
+ c.Il(a)
+ 0 == a.length ? c.U() : c.show()
+ })
+ }
+ },
+ vW: function () {
+ if (!this.Gi) {
+ var a = this.SX(this.Ji),
+ b = L('div')
+ b.style.cssText = [
+ 'width:' + 134 * this.Ji.length + 'px;',
+ 'overflow:hidden;-ms-user-select:none;-moz-user-select:none;-webkit-user-select:none;'
+ ].join('')
+ b.innerHTML = a
+ a = L('div')
+ a.appendChild(b)
+ a.style.cssText =
+ 'position:absolute;top:-25px;background:rgb(37,37,37);background:rgba(37,37,37,0.9);border-bottom:1px solid #4e596a;width:100%;line-height:25px;height:25px;overflow:scroll;outline:0'
+ new Ye(a, {
+ Go: t,
+ iy: q,
+ ii: t,
+ xi: t,
+ xn: t,
+ OE: q,
+ Pw: q,
+ Mx: q
+ })
+ this.C.appendChild(a)
+ for (var c = this, e = b.getElementsByTagName('span'), f = 0, g = e.length; f < g; f++)
+ (b = e[f]),
+ z.M(b, 'click', function () {
+ if (this.getAttribute('dataindex')) {
+ c.Il(c.jH[this.getAttribute('dataindex')])
+ for (var a = 0, b = e.length; a < b; a++) e[a].style.color = '#FFFFFF'
+ this.style.color = '#3383FF'
+ }
+ })
+ this.Gi = a
+ }
+ },
+ sW: function () {
+ if (this.Gi) (a = this.AL(this.Ji)), (this.OQ.innerHTML = a)
+ else {
+ var a = this.AL(this.Ji),
+ b = L('ul'),
+ c = this
+ b.style.cssText =
+ 'list-style: none;padding:0px;margin:0px;display:block;width:60px;position:absolute;top:7px'
+ b.innerHTML = a
+ z.M(b, 'click', function (a) {
+ if ((a = (a.srcElement || a.target).getAttribute('dataindex'))) {
+ c.Il(c.jH[a])
+ for (var e = b.getElementsByTagName('li'), f = 0, g = e.length; f < g; f++)
+ e[f].childNodes[0].getAttribute('dataindex') === a
+ ? z.D.Ua(e[f], 'pano_catlogLiActive')
+ : z.D.Pb(e[f], 'pano_catlogLiActive')
+ }
+ })
+ var a = L('div'),
+ e = L('a'),
+ f = L('span'),
+ g = L('a'),
+ i = L('span'),
+ k = [
+ 'background:url(' + G.qa + 'panorama/catlog_icon.png) no-repeat;',
+ 'display:block;width:10px;height:7px;margin:0 auto;'
+ ].join('')
+ f.style.cssText = k + 'background-position:-18px 0;'
+ e.style.cssText = 'background:#1C1C1C;display:block;position:absolute;width:58px;'
+ i.style.cssText = k + 'background-position:0 0;'
+ g.style.cssText = 'background:#1C1C1C;display:block;position:absolute;width:58px;'
+ g.style.top = this.j.imageHeight - 7 + 'px'
+ a.style.cssText = 'position:absolute;top:0px;left:0px;width:60px;'
+ e.appendChild(f)
+ g.appendChild(i)
+ z.M(e, 'mouseover', function () {
+ var a = parseInt(b.style.top, 10)
+ 7 !== a && (f.style.backgroundPosition = '-27px 0')
+ new tb({
+ Ic: 60,
+ kc: ub.Ks,
+ duration: 300,
+ va: function (c) {
+ b.style.top = a + (7 - a) * c + 'px'
+ }
+ })
+ })
+ z.M(e, 'mouseout', function () {
+ f.style.backgroundPosition = '-18px 0'
+ })
+ z.M(g, 'mouseover', function () {
+ var a = parseInt(b.style.top, 10),
+ e = c.j.imageHeight - 14
+ if (!(parseInt(b.offsetHeight, 10) < e)) {
+ var f = e - parseInt(b.offsetHeight, 10) + 7
+ f !== a && (i.style.backgroundPosition = '-9px 0')
+ new tb({
+ Ic: 60,
+ kc: ub.Ks,
+ duration: 300,
+ va: function (c) {
+ b.style.top = a + (f - a) * c + 'px'
+ }
+ })
+ }
+ })
+ z.M(g, 'mouseout', function () {
+ i.style.backgroundPosition = '0 0'
+ })
+ a.appendChild(e)
+ a.appendChild(g)
+ e = L('div')
+ e.style.cssText = [
+ 'position:absolute;z-index:2001;left:20px;',
+ 'height:' + this.j.imageHeight + 'px;',
+ 'width:62px;overflow:hidden;background:rgb(37,37,37);background:rgba(37,37,37,0.9);'
+ ].join('')
+ e.appendChild(b)
+ e.appendChild(a)
+ this.Gi = e
+ this.OQ = b
+ this.C.appendChild(e)
+ }
+ },
+ tW: function () {
+ if (this.Ji && !(0 >= this.Ji.length)) {
+ var a = L('div')
+ a.innerHTML = this.hA
+ a.style.cssText = 'position:absolute;background:#252525'
+ this.C.appendChild(a)
+ this.Os = a
+ this.Rc.jg.style.left = this.ig.width + 8 + 'px'
+ this.Gi && (this.Gi.style.left = parseInt(this.Gi.style.left, 10) + this.ig.width + 8 + 'px')
+ var b = this
+ z.M(a, 'click', function () {
+ b.P.vc(b.gX)
+ })
+ }
+ },
+ Il: function (a) {
+ this.bk = a
+ this.j.showCatalog &&
+ (0 < this.Ji.length
+ ? (Ua() ? this.sW() : this.vW(), (this.Rc.offsetLeft = 60))
+ : (this.Os && (this.C.removeChild(this.Os), (this.Os = s), (this.Rc.jg.style.left = '0px')),
+ this.Gi && (this.C.removeChild(this.Gi), (this.Gi = s)),
+ (this.Rc.offsetLeft = 0)))
+ var b = this.LX(a)
+ Ua() &&
+ this.Ji &&
+ 0 < this.Ji.length &&
+ this.j.showExit &&
+ this.hA &&
+ ((this.Rc.offsetLeft += this.ig.width + 8), this.Os ? (this.Os.innerHTML = this.hA) : this.tW())
+ this.Rh.innerHTML = b
+ this.Rh.style.width = (this.ig.width + 8) * a.length + 8 + 'px'
+ a = this.C.offsetWidth
+ b = this.Rh.offsetWidth
+ this.Rc.Vs && (b += this.Rc.Vs())
+ b < a - 2 * this.Rc.Ai - this.Rc.offsetLeft
+ ? (this.C.style.width = b + this.Rc.offsetLeft + 'px')
+ : ((this.C.style.width =
+ isNaN(Number(this.j.maxWidth)) === q ? this.j.maxWidth : this.j.maxWidth + 'px'),
+ b < this.C.offsetWidth - 2 * this.Rc.Ai - this.Rc.offsetLeft &&
+ (this.C.style.width = b + this.Rc.offsetLeft + 'px'))
+ this.Rc.refresh()
+ this.BB = this.Rh.children
+ this.Rh.appendChild(this.fk)
+ this.fk.style.left = '-100000px'
+ a = this.RH(this.P.Xb(), this.Y1)
+ ;-1 !== a && this.Mp(a)
+ },
+ SX: function (a) {
+ for (var b = '', c, e = 0, f = a.length; e < f; e++)
+ (c =
+ '' +
+ a[e].data +
+ '
'),
+ (b += c)
+ return b
+ },
+ AL: function (a) {
+ for (var b = '', c, e = 0, f = a.length; e < f; e++)
+ (c =
+ '' +
+ a[e].data +
+ ''),
+ (b += c)
+ return b
+ },
+ LX: function (a) {
+ for (var b, c, e, f, g = [], i = this.ig.height, k = this.ig.width, m = 0; m < a.length; m++)
+ (b = a[m]),
+ (recoType = b.recoType),
+ (e = b.panoId),
+ (f = b.name),
+ (c = b.heading),
+ (b = b.pitch),
+ (c = qe.PL(e, c, b, 198, 108)),
+ (b =
+ '
' +
+ f +
+ ''),
+ 3 === recoType
+ ? Ua()
+ ? ((this.hA = b), (this.gX = e), a.splice(m, 1), m--)
+ : ((b =
+ '
'),
+ g.push(b))
+ : g.push(b)
+ return g.join('')
+ },
+ dY: function (a) {
+ var b = this,
+ c = this.P.Xb()
+ c &&
+ this.Ll.Kx(c, function (e) {
+ b.P.Xb() === c && a(e)
+ })
+ },
+ uc: function (a) {
+ if (!Wa(a) || isNaN(a) || a < Wb || 3 < a) a = this.defaultAnchor
+ var b = this.C,
+ c = this.j.offset.width,
+ e = this.j.offset.height
+ b.style.left = b.style.top = b.style.right = b.style.bottom = 'auto'
+ switch (a) {
+ case Wb:
+ b.style.top = e + 'px'
+ b.style.left = c + 'px'
+ break
+ case Xb:
+ b.style.top = e + 'px'
+ b.style.right = c + 'px'
+ break
+ case Yb:
+ b.style.bottom = e + 'px'
+ b.style.left = c + 'px'
+ break
+ case 3:
+ ;(b.style.bottom = e + 'px'), (b.style.right = c + 'px')
+ }
+ },
+ yQ: function () {
+ this.wQ()
+ },
+ wQ: function () {
+ var a = this
+ z.M(this.C, 'touchstart', function (a) {
+ a.stopPropagation()
+ })
+ z.M(this.gk, 'click', function (b) {
+ if ((b = (b.srcElement || b.target).getAttribute('data-index')) && b != a.Zc)
+ a.Mp(b), a.P.vc(a.bk[b].panoId)
+ })
+ z.M(this.Rh, 'mouseover', function (b) {
+ b = (b.srcElement || b.target).getAttribute('data-index')
+ b !== s && a.BK(b, q)
+ })
+ this.P.addEventListener('size_changed', function () {
+ isNaN(Number(a.j.maxWidth)) &&
+ a.Qk({
+ maxWidth: a.j.maxWidth
+ })
+ })
+ },
+ Mp: function (a) {
+ this.fk.style.left = this.BB[a].offsetLeft + 8 + 'px'
+ this.fk.setAttribute('data-index', this.BB[a].getAttribute('data-index'))
+ this.Zc = a
+ this.BK(a)
+ },
+ BK: function (a, b) {
+ var c = this.ig.width + 8,
+ e = 0
+ this.Rc.Vs && (e = this.Rc.Vs() / 2)
+ var f = this.gk.offsetWidth - 2 * e,
+ g = this.Rh.offsetLeft || this.Rc.x,
+ g = g - e,
+ i = -a * c
+ i > g && this.Rc.scrollTo(i + e)
+ c = i - c
+ g -= f
+ c < g && (!b || (b && 8 < i - g)) && this.Rc.scrollTo(c + f + e)
+ },
+ OY: function () {
+ this.Rc = H()
+ ? new Ye(this.gk, {
+ Go: t,
+ iy: q,
+ ii: t,
+ xi: t,
+ xn: t,
+ OE: q,
+ Pw: q,
+ Mx: q
+ })
+ : new cf(this.gk)
+ },
+ U: function () {
+ this.C.style.visibility = 'hidden'
+ },
+ show: function () {
+ this.C.style.visibility = 'visible'
+ }
+ })
+ function cf(a) {
+ this.C = a
+ this.Vg = a.children[0]
+ this.Pr = s
+ this.Ai = 20
+ this.offsetLeft = 0
+ this.na()
+ }
+ cf.prototype = {
+ na: function () {
+ this.Vg.style.position = 'relative'
+ this.refresh()
+ this.ls()
+ this.$l()
+ },
+ refresh: function () {
+ this.ho = this.C.offsetWidth - this.Vs()
+ this.aB = -(this.Vg.offsetWidth - this.ho - this.Ai)
+ this.Ev = this.Ai + this.offsetLeft
+ this.Vg.style.left = this.Ev + 'px'
+ this.Vg.children[0] && (this.Pr = this.Vg.children[0].offsetWidth)
+ this.jg &&
+ (this.jg.children[0].style.marginTop = this.Hr.children[0].style.marginTop =
+ this.jg.offsetHeight / 2 - this.jg.children[0].offsetHeight / 2 + 'px')
+ },
+ Vs: function () {
+ return 2 * this.Ai
+ },
+ ls: function () {
+ this.Tv = L('div')
+ this.Tv.innerHTML =
+ ''
+ this.jg = this.Tv.children[0]
+ this.Hr = this.Tv.children[1]
+ this.C.appendChild(this.Tv)
+ this.jg.children[0].style.marginTop = this.Hr.children[0].style.marginTop =
+ this.jg.offsetHeight / 2 - this.jg.children[0].offsetHeight / 2 + 'px'
+ },
+ $l: function () {
+ var a = this
+ z.M(this.jg, 'click', function () {
+ a.scrollTo(a.Vg.offsetLeft + a.ho)
+ })
+ z.M(this.Hr, 'click', function () {
+ a.scrollTo(a.Vg.offsetLeft - a.ho)
+ })
+ },
+ aV: function () {
+ z.D.Pb(this.jg, 'pano_arrow_disable')
+ z.D.Pb(this.Hr, 'pano_arrow_disable')
+ var a = this.Vg.offsetLeft
+ a >= this.Ev && z.D.Ua(this.jg, 'pano_arrow_disable')
+ a - this.ho <= this.aB && z.D.Ua(this.Hr, 'pano_arrow_disable')
+ },
+ scrollTo: function (a) {
+ a =
+ a < this.Vg.offsetLeft
+ ? Math.ceil((a - this.Ai - this.ho) / this.Pr) * this.Pr + this.ho + this.Ai - 8
+ : Math.ceil((a - this.Ai) / this.Pr) * this.Pr + this.Ai
+ a < this.aB ? (a = this.aB) : a > this.Ev && (a = this.Ev)
+ var b = this.Vg.offsetLeft,
+ c = this
+ new tb({
+ Ic: 60,
+ kc: ub.Ks,
+ duration: 300,
+ va: function (e) {
+ c.Vg.style.left = b + (a - b) * e + 'px'
+ },
+ finish: function () {
+ c.aV()
+ }
+ })
+ }
+ }
+ B.Map = Ka
+ B.Hotspot = ib
+ B.MapType = id
+ B.Point = J
+ B.Pixel = Q
+ B.Size = O
+ B.Bounds = fb
+ B.TileLayer = Mc
+ B.Projection = jc
+ B.MercatorProjection = S
+ B.PerspectiveProjection = hb
+ B.Copyright = function (a, b, c) {
+ this.id = a
+ this.bb = b
+ this.content = c
+ }
+ B.Overlay = mc
+ B.Label = uc
+ B.GroundOverlay = vc
+ B.PointCollection = zc
+ B.Marker = U
+ B.CanvasLayer = Cc
+ B.Icon = qc
+ B.IconSequence = sc
+ B.Symbol = rc
+ B.Polyline = Gc
+ B.Polygon = Fc
+ B.InfoWindow = tc
+ B.Circle = Hc
+ B.Control = Vb
+ B.NavigationControl = jb
+ B.GeolocationControl = Zb
+ B.OverviewMapControl = lb
+ B.CopyrightControl = $b
+ B.ScaleControl = kb
+ B.MapTypeControl = mb
+ B.CityListControl = ac
+ B.PanoramaControl = cc
+ B.TrafficLayer = Vc
+ B.CustomLayer = nb
+ B.ContextMenu = fc
+ B.MenuItem = ic
+ B.LocalSearch = cb
+ B.TransitRoute = Kd
+ B.DrivingRoute = Nd
+ B.WalkingRoute = Od
+ B.RidingRoute = Pd
+ B.Autocomplete = Zd
+ B.RouteSearch = Td
+ B.Geocoder = Ud
+ B.LocalCity = Wd
+ B.Geolocation = Geolocation
+ B.Convertor = lc
+ B.BusLineSearch = Yd
+ B.Boundary = Xd
+ B.VectorCloudLayer = Tc
+ B.VectorTrafficLayer = Uc
+ B.Panorama = Oa
+ B.PanoramaLabel = ee
+ B.PanoramaService = ec
+ B.PanoramaCoverageLayer = dc
+ B.PanoramaFlashInterface = oe
+ function T(a, b) {
+ for (var c in b) a[c] = b[c]
+ }
+ T(window, {
+ BMap: B,
+ _jsload2: function (a, b) {
+ ia.Wy.ZY && ia.Wy.set(a, b)
+ K.WV(a, b)
+ },
+ BMAP_API_VERSION: '2.0'
+ })
+ var X = Ka.prototype
+ T(X, {
+ getBounds: X.ve,
+ getCenter: X.Ka,
+ getMapType: X.oa,
+ getSize: X.cb,
+ setSize: X.Ce,
+ getViewport: X.ht,
+ getZoom: X.fa,
+ centerAndZoom: X.Fd,
+ panTo: X.qi,
+ panBy: X.Ag,
+ setCenter: X.Zf,
+ setCurrentCity: X.DF,
+ setMapType: X.Dg,
+ setViewport: X.yh,
+ setZoom: X.Qc,
+ highResolutionEnabled: X.Sx,
+ zoomTo: X.Gg,
+ zoomIn: X.kG,
+ zoomOut: X.lG,
+ addHotspot: X.Cw,
+ removeHotspot: X.VZ,
+ clearHotspots: X.dm,
+ checkResize: X.ZV,
+ addControl: X.Aw,
+ removeControl: X.VN,
+ getContainer: X.La,
+ addContextMenu: X.yo,
+ removeContextMenu: X.Cp,
+ addOverlay: X.Ga,
+ removeOverlay: X.Qb,
+ clearOverlays: X.yK,
+ openInfoWindow: X.pc,
+ closeInfoWindow: X.Yc,
+ pointToOverlayPixel: X.Xe,
+ overlayPixelToPoint: X.JN,
+ getInfoWindow: X.hh,
+ getOverlays: X.Hx,
+ getPanes: function () {
+ return {
+ floatPane: this.Yd.BD,
+ markerMouseTarget: this.Yd.RE,
+ floatShadow: this.Yd.sL,
+ labelPane: this.Yd.KE,
+ markerPane: this.Yd.fN,
+ markerShadow: this.Yd.gN,
+ mapPane: this.Yd.Et,
+ vertexPane: this.Yd.nP
+ }
+ },
+ addTileLayer: X.Oe,
+ removeTileLayer: X.Yf,
+ pixelToPoint: X.xb,
+ pointToPixel: X.$b,
+ setFeatureStyle: X.Lp,
+ selectBaseElement: X.j5,
+ setMapStyle: X.Zt,
+ enable3DBuilding: X.Ro,
+ disable3DBuilding: X.KW,
+ getPanorama: X.tm,
+ initIndoorLayer: X.PY,
+ setNormalMapDisplay: X.D_
+ })
+ var df = id.prototype
+ T(df, {
+ getTileLayer: df.oY,
+ getMinZoom: df.bp,
+ getMaxZoom: df.sm,
+ getProjection: df.wm,
+ getTextColor: df.zm,
+ getTips: df.gt
+ })
+ T(window, {
+ BMAP_NORMAL_MAP: La,
+ BMAP_PERSPECTIVE_MAP: Qa,
+ BMAP_SATELLITE_MAP: Ya,
+ BMAP_HYBRID_MAP: Sa
+ })
+ var ef = S.prototype
+ T(ef, {
+ lngLatToPoint: ef.kh,
+ pointToLngLat: ef.xj
+ })
+ var ff = hb.prototype
+ T(ff, {
+ lngLatToPoint: ff.kh,
+ pointToLngLat: ff.xj
+ })
+ var gf = fb.prototype
+ T(gf, {
+ equals: gf.pb,
+ containsPoint: gf.js,
+ containsBounds: gf.kW,
+ intersects: gf.ot,
+ extend: gf.extend,
+ getCenter: gf.Ka,
+ isEmpty: gf.tj,
+ getSouthWest: gf.Ve,
+ getNorthEast: gf.Rf,
+ toSpan: gf.YF
+ })
+ var hf = mc.prototype
+ T(hf, {
+ isVisible: hf.jh,
+ show: hf.show,
+ hide: hf.U
+ })
+ mc.getZIndex = mc.Ck
+ var jf = gb.prototype
+ T(jf, {
+ openInfoWindow: jf.pc,
+ closeInfoWindow: jf.Yc,
+ enableMassClear: jf.gj,
+ disableMassClear: jf.MW,
+ show: jf.show,
+ hide: jf.U,
+ getMap: jf.Dx,
+ addContextMenu: jf.yo,
+ removeContextMenu: jf.Cp
+ })
+ var kf = U.prototype
+ T(kf, {
+ setIcon: kf.Rb,
+ getIcon: kf.ap,
+ setPosition: kf.sa,
+ getPosition: kf.ga,
+ setOffset: kf.Ze,
+ getOffset: kf.Sf,
+ getLabel: kf.VD,
+ setLabel: kf.dn,
+ setTitle: kf.Ec,
+ setTop: kf.ui,
+ enableDragging: kf.Wb,
+ disableDragging: kf.TC,
+ setZIndex: kf.Sp,
+ getMap: kf.Dx,
+ setAnimation: kf.bn,
+ setShadow: kf.Oy,
+ hide: kf.U,
+ setRotation: kf.Op,
+ getRotation: kf.TL
+ })
+ T(window, {
+ BMAP_ANIMATION_DROP: 1,
+ BMAP_ANIMATION_BOUNCE: 2
+ })
+ var lf = uc.prototype
+ T(lf, {
+ setStyle: lf.Md,
+ setStyles: lf.ti,
+ setContent: lf.dd,
+ setPosition: lf.sa,
+ getPosition: lf.ga,
+ setOffset: lf.Ze,
+ getOffset: lf.Sf,
+ setTitle: lf.Ec,
+ setZIndex: lf.Sp,
+ getMap: lf.Dx,
+ getContent: lf.xk
+ })
+ var mf = qc.prototype
+ T(mf, {
+ setImageUrl: mf.mO,
+ setSize: mf.Ce,
+ setAnchor: mf.uc,
+ setImageOffset: mf.Yt,
+ setImageSize: mf.w_,
+ setInfoWindowAnchor: mf.z_,
+ setPrintImageUrl: mf.K_
+ })
+ var nf = tc.prototype
+ T(nf, {
+ redraw: nf.je,
+ setTitle: nf.Ec,
+ setContent: nf.dd,
+ getContent: nf.xk,
+ getPosition: nf.ga,
+ enableMaximize: nf.dh,
+ disableMaximize: nf.kx,
+ isOpen: nf.Xa,
+ setMaxContent: nf.$t,
+ maximize: nf.hy,
+ enableAutoPan: nf.Ls
+ })
+ var of = oc.prototype
+ T(of, {
+ getPath: of.Ue,
+ setPath: of.ke,
+ setPositionAt: of.gn,
+ getStrokeColor: of.jY,
+ setStrokeWeight: of.Rp,
+ getStrokeWeight: of.WL,
+ setStrokeOpacity: of.Pp,
+ getStrokeOpacity: of.kY,
+ setFillOpacity: of.Xt,
+ getFillOpacity: of.HX,
+ setStrokeStyle: of.Qp,
+ getStrokeStyle: of.VL,
+ getFillColor: of.GX,
+ getBounds: of.ve,
+ enableEditing: of.mf,
+ disableEditing: of.LW,
+ getEditing: of.DX
+ })
+ var pf = Hc.prototype
+ T(pf, {
+ setCenter: pf.Zf,
+ getCenter: pf.Ka,
+ getRadius: pf.RL,
+ setRadius: pf.xf
+ })
+ var qf = Fc.prototype
+ T(qf, {
+ getPath: qf.Ue,
+ setPath: qf.ke,
+ setPositionAt: qf.gn
+ })
+ var rf = ib.prototype
+ T(rf, {
+ getPosition: rf.ga,
+ setPosition: rf.sa,
+ getText: rf.eE,
+ setText: rf.cu
+ })
+ J.prototype.equals = J.prototype.pb
+ Q.prototype.equals = Q.prototype.pb
+ O.prototype.equals = O.prototype.pb
+ T(window, {
+ BMAP_ANCHOR_TOP_LEFT: Wb,
+ BMAP_ANCHOR_TOP_RIGHT: Xb,
+ BMAP_ANCHOR_BOTTOM_LEFT: Yb,
+ BMAP_ANCHOR_BOTTOM_RIGHT: 3
+ })
+ var sf = Vb.prototype
+ T(sf, {
+ setAnchor: sf.uc,
+ getAnchor: sf.HD,
+ setOffset: sf.Ze,
+ getOffset: sf.Sf,
+ show: sf.show,
+ hide: sf.U,
+ isVisible: sf.jh,
+ toString: sf.toString
+ })
+ var tf = jb.prototype
+ T(tf, {
+ getType: tf.ip,
+ setType: tf.hn
+ })
+ T(window, {
+ BMAP_NAVIGATION_CONTROL_LARGE: 0,
+ BMAP_NAVIGATION_CONTROL_SMALL: 1,
+ BMAP_NAVIGATION_CONTROL_PAN: 2,
+ BMAP_NAVIGATION_CONTROL_ZOOM: 3
+ })
+ var uf = lb.prototype
+ T(uf, {
+ changeView: uf.se,
+ setSize: uf.Ce,
+ getSize: uf.cb
+ })
+ var vf = kb.prototype
+ T(vf, {
+ getUnit: vf.sY,
+ setUnit: vf.LF
+ })
+ T(window, {
+ BMAP_UNIT_METRIC: 'metric',
+ BMAP_UNIT_IMPERIAL: 'us'
+ })
+ var wf = $b.prototype
+ T(wf, {
+ addCopyright: wf.Bw,
+ removeCopyright: wf.qF,
+ getCopyright: wf.pm,
+ getCopyrightCollection: wf.PD
+ })
+ T(window, {
+ BMAP_MAPTYPE_CONTROL_HORIZONTAL: bc,
+ BMAP_MAPTYPE_CONTROL_DROPDOWN: 1,
+ BMAP_MAPTYPE_CONTROL_MAP: 2
+ })
+ var xf = Mc.prototype
+ T(xf, {
+ getMapType: xf.oa,
+ getCopyright: xf.pm,
+ isTransparentPng: xf.zt
+ })
+ var yf = fc.prototype
+ T(yf, {
+ addItem: yf.Dw,
+ addSeparator: yf.bC,
+ removeSeparator: yf.sF
+ })
+ var zf = ic.prototype
+ T(zf, {
+ setText: zf.cu
+ })
+ var Af = W.prototype
+ T(Af, {
+ getStatus: Af.xm,
+ setSearchCompleteCallback: Af.JF,
+ getPageCapacity: Af.qf,
+ setPageCapacity: Af.Np,
+ setLocation: Af.fn,
+ disableFirstResultSelection: Af.UC,
+ enableFirstResultSelection: Af.oD,
+ gotoPage: Af.Am,
+ searchNearby: Af.Jp,
+ searchInBounds: Af.an,
+ search: Af.search
+ })
+ T(window, {
+ BMAP_STATUS_SUCCESS: 0,
+ BMAP_STATUS_CITY_LIST: 1,
+ BMAP_STATUS_UNKNOWN_LOCATION: sd,
+ BMAP_STATUS_UNKNOWN_ROUTE: 3,
+ BMAP_STATUS_INVALID_KEY: 4,
+ BMAP_STATUS_INVALID_REQUEST: 5,
+ BMAP_STATUS_PERMISSION_DENIED: td,
+ BMAP_STATUS_SERVICE_UNAVAILABLE: 7,
+ BMAP_STATUS_TIMEOUT: ud
+ })
+ T(window, {
+ BMAP_POI_TYPE_NORMAL: 0,
+ BMAP_POI_TYPE_BUSSTOP: 1,
+ BMAP_POI_TYPE_BUSLINE: 2,
+ BMAP_POI_TYPE_SUBSTOP: 3,
+ BMAP_POI_TYPE_SUBLINE: 4
+ })
+ T(window, {
+ BMAP_TRANSIT_POLICY_RECOMMEND: 0,
+ BMAP_TRANSIT_POLICY_LEAST_TIME: 4,
+ BMAP_TRANSIT_POLICY_LEAST_TRANSFER: 1,
+ BMAP_TRANSIT_POLICY_LEAST_WALKING: 2,
+ BMAP_TRANSIT_POLICY_AVOID_SUBWAYS: 3,
+ BMAP_TRANSIT_POLICY_FIRST_SUBWAYS: 5,
+ BMAP_LINE_TYPE_BUS: 0,
+ BMAP_LINE_TYPE_SUBWAY: 1,
+ BMAP_LINE_TYPE_FERRY: 2,
+ BMAP_LINE_TYPE_TRAIN: 3,
+ BMAP_LINE_TYPE_AIRPLANE: 4,
+ BMAP_LINE_TYPE_COACH: 5
+ })
+ T(window, {
+ BMAP_TRANSIT_TYPE_POLICY_TRAIN: 0,
+ BMAP_TRANSIT_TYPE_POLICY_AIRPLANE: 1,
+ BMAP_TRANSIT_TYPE_POLICY_COACH: 2
+ })
+ T(window, {
+ BMAP_INTERCITY_POLICY_LEAST_TIME: 0,
+ BMAP_INTERCITY_POLICY_EARLY_START: 1,
+ BMAP_INTERCITY_POLICY_CHEAP_PRICE: 2
+ })
+ T(window, {
+ BMAP_TRANSIT_TYPE_IN_CITY: 0,
+ BMAP_TRANSIT_TYPE_CROSS_CITY: 1
+ })
+ T(window, {
+ BMAP_TRANSIT_PLAN_TYPE_ROUTE: 0,
+ BMAP_TRANSIT_PLAN_TYPE_LINE: 1
+ })
+ var Bf = Jd.prototype
+ T(Bf, {
+ clearResults: Bf.Pe
+ })
+ Ld = Kd.prototype
+ T(Ld, {
+ setPolicy: Ld.bu,
+ toString: Ld.toString,
+ setPageCapacity: Ld.Np,
+ setIntercityPolicy: Ld.oO,
+ setTransitTypePolicy: Ld.xO
+ })
+ T(window, {
+ BMAP_DRIVING_POLICY_DEFAULT: 0,
+ BMAP_DRIVING_POLICY_AVOID_HIGHWAYS: 3,
+ BMAP_DRIVING_POLICY_AVOID_CONGESTION: 5,
+ BMAP_DRIVING_POLICY_FIRST_HIGHWAYS: 4
+ })
+ T(window, {
+ BMAP_MODE_DRIVING: 'driving',
+ BMAP_MODE_TRANSIT: 'transit',
+ BMAP_MODE_WALKING: 'walking',
+ BMAP_MODE_NAVIGATION: 'navigation'
+ })
+ var Cf = Td.prototype
+ T(Cf, {
+ routeCall: Cf.gO
+ })
+ T(window, {
+ BMAP_HIGHLIGHT_STEP: 1,
+ BMAP_HIGHLIGHT_ROUTE: 2
+ })
+ T(window, {
+ BMAP_ROUTE_TYPE_DRIVING: wd,
+ BMAP_ROUTE_TYPE_WALKING: vd,
+ BMAP_ROUTE_TYPE_RIDING: xd
+ })
+ T(window, {
+ BMAP_ROUTE_STATUS_NORMAL: yd,
+ BMAP_ROUTE_STATUS_EMPTY: 1,
+ BMAP_ROUTE_STATUS_ADDRESS: 2
+ })
+ var Df = Nd.prototype
+ T(Df, {
+ setPolicy: Df.bu
+ })
+ var Ef = Zd.prototype
+ T(Ef, {
+ show: Ef.show,
+ hide: Ef.U,
+ setTypes: Ef.KF,
+ setLocation: Ef.fn,
+ search: Ef.search,
+ setInputValue: Ef.Ly
+ })
+ T(nb.prototype, {})
+ var Ff = Xd.prototype
+ T(Ff, {
+ get: Ff.get
+ })
+ T(dc.prototype, {})
+ T(db.prototype, {})
+ T(window, {
+ BMAP_POINT_DENSITY_HIGH: 200,
+ BMAP_POINT_DENSITY_MEDIUM: Yc,
+ BMAP_POINT_DENSITY_LOW: 50
+ })
+ T(window, {
+ BMAP_POINT_SHAPE_STAR: 1,
+ BMAP_POINT_SHAPE_WATERDROP: 2,
+ BMAP_POINT_SHAPE_CIRCLE: wc,
+ BMAP_POINT_SHAPE_SQUARE: 4,
+ BMAP_POINT_SHAPE_RHOMBUS: 5
+ })
+ T(window, {
+ BMAP_POINT_SIZE_TINY: 1,
+ BMAP_POINT_SIZE_SMALLER: 2,
+ BMAP_POINT_SIZE_SMALL: 3,
+ BMAP_POINT_SIZE_NORMAL: xc,
+ BMAP_POINT_SIZE_BIG: 5,
+ BMAP_POINT_SIZE_BIGGER: 6,
+ BMAP_POINT_SIZE_HUGE: 7
+ })
+ T(window, {
+ BMap_Symbol_SHAPE_CAMERA: 11,
+ BMap_Symbol_SHAPE_WARNING: 12,
+ BMap_Symbol_SHAPE_SMILE: 13,
+ BMap_Symbol_SHAPE_CLOCK: 14,
+ BMap_Symbol_SHAPE_POINT: 9,
+ BMap_Symbol_SHAPE_PLANE: 10,
+ BMap_Symbol_SHAPE_CIRCLE: 1,
+ BMap_Symbol_SHAPE_RECTANGLE: 2,
+ BMap_Symbol_SHAPE_RHOMBUS: 3,
+ BMap_Symbol_SHAPE_STAR: 4,
+ BMap_Symbol_SHAPE_BACKWARD_CLOSED_ARROW: 5,
+ BMap_Symbol_SHAPE_FORWARD_CLOSED_ARROW: 6,
+ BMap_Symbol_SHAPE_BACKWARD_OPEN_ARROW: 7,
+ BMap_Symbol_SHAPE_FORWARD_OPEN_ARROW: 8
+ })
+ T(window, {
+ BMAP_CONTEXT_MENU_ICON_ZOOMIN: gc,
+ BMAP_CONTEXT_MENU_ICON_ZOOMOUT: hc
+ })
+ T(window, {
+ BMAP_SYS_DRAWER: Ja,
+ BMAP_SVG_DRAWER: 1,
+ BMAP_VML_DRAWER: 2,
+ BMAP_CANVAS_DRAWER: 3,
+ BMAP_SVG_DRAWER_FIRST: 4
+ })
+ B.vV()
+ B.Q0()
+})()
diff --git a/public/plugin/offline/modules/style_fkofpc.js b/public/plugin/offline/modules/style_fkofpc.js
index c508cfee..4a73c839 100644
--- a/public/plugin/offline/modules/style_fkofpc.js
+++ b/public/plugin/offline/modules/style_fkofpc.js
@@ -1 +1 @@
-_jsload2&&_jsload2('style', 'var Gf=".BMap_mask{background:transparent url("+B.ka+"images/blank.gif);}.BMap_noscreen{display:none;}.BMap_button{cursor:pointer;}.BMap_zoomer{background-image:url("+B.ka+"images/mapctrls1d3.gif);background-repeat:no-repeat;overflow:hidden;font-size:1px;position:absolute;width:7px;height:7px;}.BMap_stdMpCtrl div{position:absolute;}.BMap_stdMpPan{width:44px;height:44px;overflow:hidden;background:url("+B.ka+\'images/mapctrls2d0.png) no-repeat;}.BMap_ie6 .BMap_stdMpPan{background:none;}.BMap_ie6 .BMap_smcbg{left:0;width:44px;height:464px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="\'+ B.ka+\'images/mapctrls2d0.png");}.BMap_ie6 .BMap_stdMpPanBg{z-index:-1;}.BMap_stdMpPan .BMap_button{height:15px;width:15px;}.BMap_panN,.BMap_panW,.BMap_panE,.BMap_panS{overflow:hidden;}.BMap_panN{left:14px;top:0;}.BMap_panW{left:1px;top:12px;}.BMap_panE{left:27px;top:12px;}.BMap_panS{left:14px;top:25px;}.BMap_stdMpZoom{top:45px;overflow:hidden;}.BMap_stdMpZoom .BMap_button{width:22px;height:21px;left:12px;overflow:hidden;background-image:url(\'+B.ka+"images/mapctrls2d0.png);background-repeat:no-repeat;z-index:10;}.BMap_ie6 .BMap_stdMpZoom .BMap_button{background:none;}.BMap_stdMpZoomIn{background-position:0 -221px;}.BMap_stdMpZoomOut{background-position:0 -265px;}.BMap_ie6 .BMap_stdMpZoomIn div{left:0;top:-221px;}.BMap_ie6 .BMap_stdMpZoomOut div{left:0;top:-265px;}.BMap_stdMpType4 .BMap_stdMpZoom .BMap_button{left:0;overflow:hidden;background:-webkit-gradient(linear,50% 0,50% 100%,from(rgba(255,255,255,0.85)),to(rgba(217,217,217,0.85)));z-index:10;-webkit-border-radius:22px;width:34px;height:34px;border:1px solid rgba(255,255,255,0.5);-webkit-box-shadow:0 2px 3.6px #CCC;display:-webkit-box;-webkit-box-align:center;-webkit-box-pack:center;-webkit-box-sizing:border-box;}.BMap_stdMpType4 .BMap_smcbg{position:static;background:url("+ B.ka+"images/mapctrls2d0_mb.png) 0 0 no-repeat;-webkit-background-size:24px 32px;}.BMap_stdMpType4 .BMap_stdMpZoomIn{background-position:0 0;}.BMap_stdMpType4 .BMap_stdMpZoomIn .BMap_smcbg{width:24px;height:24px;background-position:0 0;}.BMap_stdMpType4 .BMap_stdMpZoomOut{background-position:0 0;}.BMap_stdMpType4 .BMap_stdMpZoomOut .BMap_smcbg{width:24px;height:6px;background-position:0 -25px;}.BMap_stdMpSlider{width:37px;top:18px;}.BMap_stdMpSliderBgTop{left:18px;width:10px;overflow:hidden;background:url("+ B.ka+"images/mapctrls2d0.png) no-repeat -23px -226px;}.BMap_stdMpSliderBgBot{left:19px;height:8px;width:10px;top:124px;overflow:hidden;background:url("+B.ka+"images/mapctrls2d0.png) no-repeat -33px bottom;}.BMap_ie6 .BMap_stdMpSliderBgTop,.BMap_ie6 .BMap_stdMpSliderBgBot{background:none;}.BMap_ie6 .BMap_stdMpSliderBgTop div{left:-23px;top:-226px;}.BMap_ie6 .BMap_stdMpSliderBgBot div{left:-33px;bottom:0;}.BMap_stdMpSliderMask{height:100%;width:24px;left:10px;cursor:pointer;}.BMap_stdMpSliderBar{height:11px;width:19px;left:13px;top:80px;overflow:hidden;background:url("+ B.ka+"images/mapctrls2d0.png) no-repeat 0 -309px;}.BMap_stdMpSliderBar.h{background:url("+B.ka+"images/mapctrls2d0.png) no-repeat 0 -320px;}.BMap_ie6 .BMap_stdMpSliderBar,.BMap_ie6 .BMap_stdMpSliderBar.h{background:none;}.BMap_ie6 .BMap_stdMpSliderBar div{top:-309px;}.BMap_ie6 .BMap_stdMpSliderBar.h div{top:-320px;}.BMap_zlSt,.BMap_zlCity,.BMap_zlProv,.BMap_zlCountry{position:absolute;left:34px;height:21px;width:28px;background-image:url("+B.ka+"images/mapctrls2d0.png);background-repeat:no-repeat;font-size:0;cursor:pointer;}.BMap_ie6 .BMap_zlSt,.BMap_ie6 .BMap_zlCity,.BMap_ie6 .BMap_zlProv,.BMap_ie6 .BMap_zlCountry{background:none;overflow:hidden;}.BMap_zlHolder{display:none;position:absolute;top:0;}.BMap_zlHolder.hvr{display:block;}.BMap_zlSt{background-position:0 -380px;top:21px;}.BMap_zlCity{background-position:0 -401px;top:52px;}.BMap_zlProv{background-position:0 -422px;top:76px;}.BMap_zlCountry{background-position:0 -443px;top:100px;}.BMap_ie6 .BMap_zlSt div{top:-380px;}.BMap_ie6 .BMap_zlCity div{top:-401px;}.BMap_ie6 .BMap_zlProv div{top:-422px;}.BMap_ie6 .BMap_zlCountry div{top:-443px;}.BMap_stdMpType1 .BMap_stdMpSlider,.BMap_stdMpType2 .BMap_stdMpSlider,.BMap_stdMpType3 .BMap_stdMpSlider,.BMap_stdMpType4 .BMap_stdMpSlider,.BMap_stdMpType2 .BMap_stdMpZoom,.BMap_stdMpType3 .BMap_stdMpPan,.BMap_stdMpType4 .BMap_stdMpPan{display:none;}.BMap_stdMpType3 .BMap_stdMpZoom{top:0;}.BMap_stdMpType4 .BMap_stdMpZoom{top:0;}.BMap_cpyCtrl a{font-size:11px;color:#7979CC;}.BMap_scaleCtrl{height:23px;overflow:hidden;}.BMap_scaleCtrl div.BMap_scaleTxt{font-size:11px;font-family:Arial,sans-serif;}.BMap_scaleCtrl div{position:absolute;overflow:hidden;}.BMap_scaleHBar img,.BMap_scaleLBar img,.BMap_scaleRBar img{position:absolute;width:37px;height:442px;left:0;}.BMap_scaleHBar{width:100%;height:5px;font-size:0;bottom:0;}.BMap_scaleHBar img{top:-437px;width:100%;}.BMap_scaleLBar,.BMap_scaleRBar{width:3px;height:9px;bottom:0;font-size:0;z-index:1;}.BMap_scaleLBar img{top:-427px;left:0;}.BMap_scaleRBar img{top:-427px;left:-5px;}.BMap_scaleLBar{left:0;}.BMap_scaleRBar{right:0;}.BMap_scaleTxt{text-align:center;width:100%;cursor:default;line-height:18px;}.BMap_omCtrl{background-color:#fff;overflow:hidden;}.BMap_omOutFrame{position:absolute;width:100%;height:100%;left:0;top:0;}.BMap_omInnFrame{position:absolute;border:1px solid #999;background-color:#ccc;overflow:hidden;}.BMap_omMapContainer{position:absolute;overflow:hidden;width:100%;height:100%;left:0;top:0;}.BMap_omViewMv{border-width:1px;border-style:solid;border-left-color:#84b0df;border-top-color:#adcff4;border-right-color:#274b8b;border-bottom-color:#274b8b;position:absolute;z-index:600;}.BMap_omViewInnFrame{border:1px solid #3e6bb8;}.BMap_omViewMask{width:1000px;height:1000px;position:absolute;left:0;top:0;background-color:#68c;opacity:.2;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=20);}.BMap_omBtn{height:13px;width:13px;position:absolute;cursor:pointer;overflow:hidden;background:url("+ B.ka+"images/mapctrls1d3.gif) no-repeat;z-index:1210;}.anchorBR .BMap_omOutFrame{border-top:1px solid #999;border-left:1px solid #999;}.quad4 .BMap_omBtn{background-position:-26px -27px;}.quad4 .BMap_omBtn.hover{background-position:0 -27px;}.quad4 .BMap_omBtn.BMap_omBtnClosed{background-position:-39px -27px;}.quad4 .BMap_omBtn.BMap_omBtnClosed.hover{background-position:-13px -27px;}.anchorTR .BMap_omOutFrame{border-bottom:1px solid #999;border-left:1px solid #999;}.quad1 .BMap_omBtn{background-position:-39px -41px;}.quad1 .BMap_omBtn.hover{background-position:-13px -41px;}.quad1 .BMap_omBtn.BMap_omBtnClosed{background-position:-26px -41px;}.quad1 .BMap_omBtn.BMap_omBtnClosed.hover{background-position:0 -41px;}.anchorBL .BMap_omOutFrame{border-top:1px solid #999;border-right:1px solid #999;}.quad3 .BMap_omBtn{background-position:-27px -40px;}.quad3 .BMap_omBtn.hover{background-position:-1px -40px;}.quad3 .BMap_omBtn.BMap_omBtnClosed{background-position:-40px -40px;}.quad3 .BMap_omBtn.BMap_omBtnClosed.hover{background-position:-14px -40px;}.anchorTL .BMap_omOutFrame{border-bottom:1px solid #999;border-right:1px solid #999;}.quad2 .BMap_omBtn{background-position:-40px -28px;}.quad2 .BMap_omBtn.hover{background-position:-14px -28px;}.quad2 .BMap_omBtn.BMap_omBtnClosed{background-position:-27px -28px;}.quad2 .BMap_omBtn.BMap_omBtnClosed.hover{background-position:-1px -28px;}.anchorR .BMap_omOutFrame{border-bottom:1px solid #999;border-left:1px solid #999;border-top:1px solid #999;}.anchorL .BMap_omOutFrame{border-bottom:1px solid #999;border-right:1px solid #999;border-top:1px solid #999;}.anchorB .BMap_omOutFrame{border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #999;}.anchorT .BMap_omOutFrame{border-bottom:1px solid #999;border-right:1px solid #999;border-left:1px solid #999;}.anchorNon .BMap_omOutFrame,.withOffset .BMap_omOutFrame{border:1px solid #999;}.BMap_zoomMask0,.BMap_zoomMask1{position:absolute;left:0;top:0;width:100%;height:100%;background:transparent url("+ B.ka+"images/blank.gif);z-index:1000;}.BMap_contextMenu{position:absolute;border-top:1px solid #adbfe4;border-left:1px solid #adbfe4;border-right:1px solid #8ba4d8;border-bottom:1px solid #8ba4d8;padding:0;margin:0;width:auto;visibility:hidden;background:#fff;z-index:10000000;}.BMap_cmShadow{position:absolute;background:#000;opacity:.3;filter:alpha(opacity=30);visibility:hidden;z-index:9000000;}div.BMap_cmDivider{border-bottom:1px solid #adbfe4;font-size:0;padding:1px;margin:0 6px;}div.BMap_cmFstItem{margin-top:2px;}div.BMap_cmLstItem{margin-bottom:2px;}.BMap_shadow img{border:0 none;margin:0;padding:0;height:370px;width:1144px;}.BMap_pop .BMap_top{border-top:1px solid #ababab;background-color:#fff;}.BMap_pop .BMap_center{border-left:1px solid #ababab;border-right:1px solid #ababab;background-color:#fff;}.BMap_pop .BMap_bottom{border-bottom:1px solid #ababab;background-color:#fff;}.BMap_shadow,.BMap_shadow img,.BMap_shadow div{-moz-user-select:none;-webkit-user-select:none;}.BMap_checkbox{background:url("+ B.ka+"images/mapctrls1d3.gif);vertical-align:middle;display:inline-block;width:11px;height:11px;margin-right:4px;background-position:-14px 90px;}.BMap_checkbox.checked{background-position:-2px 90px;}.BMap_pop .BMap_top img,.BMap_pop .BMap_center img,.BMap_pop .BMap_bottom img{display:none;}@media print{.BMap_noprint{display:none;}.BMap_noscreen{display:block;}.BMap_mask{background:none;}.BMap_pop .BMap_top img,.BMap_pop .BMap_center img,.BMap_pop .BMap_bottom img{display:block;}}.BMap_vectex{cursor:pointer;width:11px;height:11px;position:absolute;background-repeat:no-repeat;background-position:0 0;}.BMap_vectex_nodeT{background-image:url("+ B.ka+"images/nodeT.gif);}.BMap_vectex_node{background-image:url("+B.ka+\'images/node.gif);}.iw{width:100%;-webkit-box-sizing:border-box;border:.3em solid transparent;-webkit-background-clip:padding;}.iw_rt{position:relative;height:46px;width:195px;-webkit-box-sizing:border-box;display:-webkit-box;-webkit-box-align:center;margin:2px 5px 0 2px;background-color:rgba(0,0,0,0.8);-webkit-box-shadow:2px 2px 7px rgba(0,0,0,0.3);-webkit-border-radius:2px;color:#fff;}.iw_rt:after{content:"";position:absolute;left:50%;bottom:-8px;width:0;height:0;border-left:5px solid transparent;border-top:8px solid rgba(0,0,0,0.8);border-right:5px solid transparent;margin:0 0 0 -6px;}.iw_s{text-align:center;vertical-align:middle;height:100%;-webkit-box-sizing:border-box;}.iw_rt .iw_s1{color:#cbcbcb;}.iw_rt b{color:#fff;font-weight:bold;}.iw_rt_gr{margin-left:-4px;}.iw_busline{margin:32px 0 0 -3px;}.iw_busline .iw_cc{text-align:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:0 6px;}.iw_r{-webkit-box-ordinal-group:3;}.iw_r,.iw_l{height:100%;font-size:4.5em;text-align:center;color:#747474;border:none;-webkit-box-sizing:border-box;-webkit-border-radius:0;line-height:.7em;border:1px solid rgba(255,255,255,0.2);width:41px;}.iw_r{border-style:none none none solid;}.iw_l{border-style:none solid none none;}.iw_search,.iw_l{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAlCAYAAAAuqZsAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ bWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdp bj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6 eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEz NDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJo dHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlw dGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAv IiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RS ZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpD cmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNl SUQ9InhtcC5paWQ6QjA3NjMyREJDNzQ2MTFFMTlBQUM5QzlCRDZGODZCQkYiIHhtcE1NOkRvY3Vt ZW50SUQ9InhtcC5kaWQ6QjA3NjMyRENDNzQ2MTFFMTlBQUM5QzlCRDZGODZCQkYiPiA8eG1wTU06 RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCMDc2MzJEOUM3NDYxMUUxOUFB QzlDOUJENkY4NkJCRiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCMDc2MzJEQUM3NDYxMUUx OUFBQzlDOUJENkY4NkJCRiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1w bWV0YT4gPD94cGFja2V0IGVuZD0iciI/PllB9T8AAAKuSURBVHjaxFjRcdpAEAX+mVEqiFxB5AoQ HZAKElcArsBWBSgVQCoAVwCuwEoFlivwGQpI7jKrzGXn7ep0EsPO7BjLp/O73bdv9xifTqdRpCXW c+sz65n1lNy3mvzZemX9aN34C6bTKdx8HAHMgVlaX0QeaGv9J4EcBJgD9EA/hzAH7N4Cq/oAW1tf KX+vKEXP7PlMSLFvhQX32BWY49GBOIRO7FKy57wBlnoUQHu5yJX+g4mymdvgFWzkAM3JtwGgmiJw a2/pvQoEYBQCLKNI8RfuaeNjT245gAUdqgHdmkqUPiOctLdJVYkithkAVO/K5cC+M30KAZVSxboo /ybnn1eIR5r5qUyI7P4GX6nqJHskbQsxQ7wqu6aSn2qrgHLrXjqAat5ZC0WlRuzVE0J3uhtBCjRt a3qjX92JIMiOIqYtYgumzpo+7RRtu/E0zvknokMF5GgdQv4Ze/5DWL8CFVe2aNuedGsLCi1vS+WL F4WKNkL2Dnh414FnO1b1R5vKuRaxjKUF2YKBqjuCGtF6nyL5+XxOJWCcL2/CpjzdRYRuGpDShQQs ARUj9U/OnRh7Yr9/CW1JXU4fYxXoHIMCu+iB+gBLIt/LgShDYCYktGCDfCBgvyRgVQgZwTy/jIzy EnQNMZV1QCT4bJ+3XFCkS81/WijdkiYAdSak04BWtabWEmIbsNZYgU00YE+gjyErQeo31GpShVMH Yc+/dwsEzh97/D6ojT2ZMlM1XwN8WP9Ma7NAbZvbtBoEjE+jBT2TusCu5SIbI7z/wLWN1rdKi0o6 cqwTuAmYyTm5NQW/82atWvlnBbo7apxD98qDJxl7mkC76JQ2Qm0CI1xKF95Gb4oLXHJDwJlxjy/u LgruGtNFM8lqnNtfK2JqN3CVeW1gzWj9jThd0xd59R8BBgAAiefGO1Bt1gAAAABJRU5ErkJggg==") no-repeat 50% 50%;-webkit-background-size:19px 19px;}.iw_line_s,.iw_r{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAAmCAYAAABDClKtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ bWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdp bj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6 eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEz NDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJo dHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlw dGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAv IiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RS ZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpD cmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNl SUQ9InhtcC5paWQ6QjA3NjMyREZDNzQ2MTFFMTlBQUM5QzlCRDZGODZCQkYiIHhtcE1NOkRvY3Vt ZW50SUQ9InhtcC5kaWQ6QjA3NjMyRTBDNzQ2MTFFMTlBQUM5QzlCRDZGODZCQkYiPiA8eG1wTU06 RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCMDc2MzJEREM3NDYxMUUxOUFB QzlDOUJENkY4NkJCRiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCMDc2MzJERUM3NDYxMUUx OUFBQzlDOUJENkY4NkJCRiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1w bWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqheQ+MAAAEtSURBVHja7JftDYIwEIbB8JeEUXACZQPd oGygE+gGxAnQEZzAOgEdwREIDKBXUgjBIqW5Npj0kvcHpG0erveFX1WVZ8l2oBhEhRoLw/BroW8J KgeR3vMVlI5BrSwAHQZAnngmYxtMe4oIL41ZAp6iNqF4/BQTa0oBxmxAcaAHKFJY+wKtAaw0CRUJ oHjGHiY8VpqCKmYCdRkJUKmJ7Ms1gZqkqOs6w/bUGXRCOGePCcXjaItwDsW8PoZ0zhM70IeeyiZi jH/Isf+CF9MAOdCppDj+LJ6yim6j9802B6VqQa818BFjY6AHakHp9Crj15ctCaiFIi7Q/wCKLRHq vjSoVNKWunH4rTBDv5Cv7NKeKfvvU2nINzHAuexzUA7KQTkoB6UxDicKvc+qfQQYABaiUBxugCsr AAAAAElFTkSuQmCC") no-repeat 50% 50%;-webkit-background-size:19px 19px;}.iw_line{height:64px;width:228px;padding:0 11px;line-height:20px;}.iw_bustrans .iw_cc{text-align:center;}.iw_c{color:#FFFFFF;text-decoration:none;overflow:hidden;display:-webkit-box;-webkit-box-align:center;-webkit-box-flex:1;}.iw_cc{-webkit-box-sizing:border-box;width:100%;border:none;}.gray_background{filter:alpha(opacity=50);-moz-opacity:0.5;-khtml-opacity:0.5;opacity: 0.5} .light_gray_background {filter:alpha(opacity=70);-moz-opacity:0.7;-khtml-opacity:0.7;opacity: 0.7} .panoInfoBox {cursor: pointer; } .panoInfoBox {position: relative; width: 323px; height: 101px; margin-bottom: 4px; cursor: pointer; } .panoInfoBox .panoInfoBoxTitleBg {width: 323px; height: 19px; position: absolute; left: 0; bottom: 0; z-index: 2; background-color: #000; opacity: .7; } .panoInfoBox .panoInfoBoxTitleContent {font-size: 12px; color: #fff; position: absolute; bottom: 2px; left: 5px; z-index: 3; text-decoration: none; } \', Gf=Gf+(".RouteAddressOuterBkg{position:relative; padding: 32px 4px 4px 3px; background-color:#ffdd99; } .RouteAddressInnerBkg{padding: 3px 5px 8px 8px; background-color:#ffffff; } #RouteAddress_DIV1{margin-top: 5px; } .RouteAddressTip{position:absolute; width:100%; top:0px; text-align:center; height:30px; line-height:30px; color:#994c00; } .route_tip_con {position:absolute;top:145px;} .route_tip_con .route_tip{position:absolute;width:233px;height:29px;color:#803300;text-align:center;line-height:29px;border:#cc967a solid 1px;background:#fff2b2;z-index:100000;} .route_tip_con .route_tip span{position:absolute;top:0;right:0;_right:-1px;width:14px;height:13px;background:url("+ B.ka+"images/addrPage.png?v=20121107) no-repeat 0 -121px;cursor:pointer;} .route_tip_con .route_tip_shadow{width:233px;height:29px; position:absolute;left:1px;top:1px;background:#505050;border:1px solid #505050;opacity:0.2;filter:alpha(opacity=20)} .sel_body_body_page{margin:5px 0} .sel_n{margin-top:5px;overflow:hidden;} .sel_n .sel_top{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -418px;height:4px;font-size:0px;} .sel_n .sel_body_top{height:32px;width:100%;background:url("+B.ka+"images/addrPage.png?v=20121107) no-repeat 0 -41px;} .sel_n .sel_body_title{float:left;width:100%;height:31px;} .sel_n .sel_body_sign{margin-top:1px;width:30px;height:31px;float:left;background:url("+ B.ka+"images/bgs.gif) no-repeat -79px -387px;} .sel_n .sel_body_name{height: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin:0 20px 0 30px;padding:8px 7px 7px;font-size:14px;color:#FA8722;} .sel_n .sel_body_button{float:left;width:55px;margin-left:-55px;padding-top:8px;} .sel_n .sel_body_button a{} .sel_n .sel_bottom{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -415px;height:4px;font-size:0px;} .sel_n .sel_body_body{padding:3px 0 0 0} .sel_n1{margin-top:5px;width:329px;overflow:hidden;} .sel_n1 .sel_top{background:url("+ B.ka+"images/bgs.gif) no-repeat 0 -418px;height:4px;font-size:0px;} .sel_n1 .sel_body_top{height:31px;width:100%;background:url("+B.ka+"images/sel_body_n_top.gif) repeat-x;} .sel_n1 .sel_body_top{height:32px;width:100%;background:url("+B.ka+"images/addrPage.png?v=20121107) no-repeat 0 -41px} .sel_n1 .sel_body_title{float:left;width:100%;height:31px;cursor:pointer;} .sel_n1 .sel_body_sign{margin-top:1px;width:30px;height:31px;float:left;background:url("+B.ka+"images/bgs.gif) no-repeat -79px -387px;} .sel_n1 .sel_body_name{margin:0 20px 0 30px;padding:8px 7px 7px;font-size:14px;color:#FA8722;} .sel_n1 .sel_body_button{float:left;width:20px;height:31px;margin-left:-23px;background:url("+ B.ka+"images/bgs.gif) no-repeat -253px -382px;overflow:hidden;zoom:1;cursor:pointer;} .sel_n1 .sel_body_button a{display:none;} .sel_n1 .sel_body_body{display:none} .sel_n1 .sel_bottom{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -415px;height:4px;font-size:0px;} .sel_y{margin-top:5px;overflow:hidden;} .sel_y .sel_top{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -439px;height:4px;zoom:1;font-size:0px;} .sel_y .sel_body_top{height:32px;width:100%;background:url("+B.ka+"images/addrPage.png?v=20121107) no-repeat 0 0} .sel_y .sel_body_title{float:left;width:100%;height:31px;cursor:pointer;} .sel_y .sel_body_sign{margin-top:1px;width:30px;height:31px;float:left;background:url("+ B.ka+"images/bgs.gif) no-repeat -167px -384px;} .sel_y .sel_body_name{margin:0 20px 0 30px;padding:8px 7px 7px;font-size:14px;color:#5B7BCB;} .sel_y .sel_body_button{float:left;width:20px;height:31px;margin-left:-20px;background:url("+B.ka+"images/bgs.gif) no-repeat -269px -297px;cursor:pointer;} .sel_y .sel_body_button a{display:none;} .sel_y .sel_body_body{display:none;height:0px} .sel_y .sel_body_body_div{} .sel_y .sel_bottom{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -436px;height:4px;font-size:0px;} .sel_y .sel_body_body_page{display:none;height:0px;} .sel_x{margin-top:5px;width:329px;overflow:hidden;} .sel_x .sel_top{background:url("+ B.ka+"images/bgs.gif) no-repeat 0 -418px;height:4px;font-size:0px;} .sel_x .sel_body_top{height:32px;width:100%;background:url("+B.ka+"images/addrPage.png?v=20121107) no-repeat 0 -41px;} .sel_x .sel_body_title{float:left;width:100%;height:31px;} .sel_x .sel_body_sign{margin-top:1px;width:30px;height:31px;float:left;background:url("+B.ka+"images/bgs.gif) no-repeat -122px -384px;} .sel_x .sel_body_name{margin:0 20px 0 30px;padding:8px 7px 7px;font-size:14px;color:#FA8722;} .sel_x .sel_body_button{float:left;width:55px;margin-left:-55px;padding-top:8px;} .sel_x .sel_body_button a{} .sel_x .sel_body_body{} .sel_x .sel_body_body_div{padding:5px 5px 0 5px;} .sel_x .sel_bottom{background:url("+ B.ka+"images/bgs.gif) no-repeat 0 -415px;height:4px;font-size:0px;} .sel_x1{margin-top:5px;width:329px;overflow:hidden;} .sel_x1 .sel_top{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -418px;height:4px;font-size:0px;} .sel_x1 .sel_body_top{height:32px;width:100%;background:url("+B.ka+"images/addrPage.png?v=20121107) no-repeat 0 -41px} .sel_x1 .sel_body_title{float:left;width:100%;height:31px;cursor:pointer;} .sel_x1 .sel_body_sign{margin-top:1px;width:30px;height:31px;float:left;background:url("+ B.ka+"images/bgs.gif) no-repeat -122px -384px;} .sel_x1 .sel_body_name{margin:0 20px 0 30px;padding:8px 7px 7px;font-size:14px;color:#FA8722;} .sel_x1 .sel_body_button{float:left;width:55px;height:31px;margin-left:-55px;} .sel_x1 .sel_body_button a{display:none;} .sel_x1 .sel_body_body{display:none;height:0px;} .sel_x1 .sel_body_body_div{padding:5px 5px 0 5px;} .sel_x1 .sel_bottom{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -415px;height:4px;font-size:0px;} .sel_body_citylist{height:100px;padding: 0 0 0 5px} .sel_body_resitem{table-layout:fixed;overflow-x:hidden;overflow-y:hidden;} .sel_body_resitem table {margin-right:5px;} .sel_body_resitem tr{cursor:pointer;} .sel_body_resitem th{padding-top:5px;padding-left:5px;text-align:left;vertical-align:top;width:22px;} .sel_body_resitem th div.iconbg{background:url("+ B.ka+"images/markers_new_ie6.png) no-repeat scroll 0 0;height:29px;width:24px;} .sel_body_resitem th div.icon{cursor:pointer} .sel_body_resitem th div#no_0_1, .sel_body_resitem th div#no_1_1{background-position:0 -64px} .sel_body_resitem th div#no_0_2, .sel_body_resitem th div#no_1_2{background-position:-24px -64px} .sel_body_resitem th div#no_0_3, .sel_body_resitem th div#no_1_3{background-position:-48px -64px} .sel_body_resitem th div#no_0_4, .sel_body_resitem th div#no_1_4{background-position:-72px -64px} .sel_body_resitem th div#no_0_5, .sel_body_resitem th div#no_1_5{background-position:-96px -64px} .sel_body_resitem th div#no_0_6, .sel_body_resitem th div#no_1_6{background-position:-120px -64px} .sel_body_resitem th div#no_0_7, .sel_body_resitem th div#no_1_7{background-position:-144px -64px} .sel_body_resitem th div#no_0_8, .sel_body_resitem th div#no_1_8{background-position:-168px -64px} .sel_body_resitem th div#no_0_9, .sel_body_resitem th div#no_1_9{background-position:-192px -64px} .sel_body_resitem th div#no_0_10, .sel_body_resitem th div#no_1_10{background-position:-216px -64px} .sel_body_resitem td{line-height:160%;padding:3px 0 3px 3px;vertical-align:top;} .sel_body_resitem div.ra_td_title{float:left;margin-right:40px;} .sel_body_resitem div.ra_td_button{float:right; width:40px;} .sel_body_resitem div.ra_td_button input{height:18px;font-size:12px;width:40px;} .sel_body_resitem div.clear{clear:both;height:0px;width:100%;} .sel_body_resitem td .selBtn {width:70px;height:29px;background:url("+ B.ka+"images/addrPage.png?v=20121107) no-repeat -21px -81px;text-align:center;line-height:29px;visibility:hidden;color:#b35900;display:inline-block;*display:inline;*zoom:1;} .sel_body_resitem td .list_street_view_poi {display:inline-block;float:none;margin-right:6px;position:static;*vertical-align:-3px;_vertical-align:-5px;*display:inline;*zoom:1;} .selInfoWndBtn {width:70px;height:29px;background:url("+B.ka+"images/addrPage.png?v=20121107) no-repeat -21px -81px;text-align:center;line-height:29px;margin: 0 auto;cursor:pointer;color:#b35900} .sel_body_body td a{text-decoration: none; cursor: auto; } .sel_body_body td a:hover,.sel_body_body td a:focus{text-decoration:underline; }"), Gf=Gf+(".panoInfoBox{cursor:pointer}.panoInfoBox{position:relative;width:323px;height:101px;margin-bottom:4px;cursor:pointer}.panoInfoBox .panoInfoBoxTitleBg{width:323px;height:19px;position:absolute;left:0;bottom:0;z-index:2;background-color:#000;opacity:.7}.panoInfoBox .panoInfoBoxTitleContent{font-size:12px;color:#fff;position:absolute;bottom:2px;left:5px;z-index:3;text-decoration:none}.pano_switch_left,.pano_switch_right{position:absolute;width:28px;height:38px;cursor:pointer;background-color:#252525;background-color:rgba(37,37,37,.9)}.pano_switch_left{background:url("+ B.ka+"images/panorama/zuojiantou.png) no-repeat;-webkit-background-size:100% 100%;background-size:100% 100%}.pano_switch_right{background:url("+B.ka+"images/panorama/youjiantou.png) no-repeat;-webkit-background-size:100% 100%;background-size:100% 100%}.pano_switch_left:hover{background:url("+B.ka+"images/panorama/zuojiantou_hover.png) no-repeat;-webkit-background-size:100% 100%;background-size:100% 100%}.pano_switch_right:hover{background:url("+B.ka+"images/panorama/youjiantou_hover.png) no-repeat;-webkit-background-size:100% 100%;background-size:100% 100%}.pano_switch_left.pano_switch_disable,.pano_switch_right.pano_switch_disable{background:0 0;border:none}.pano_poi_1,.pano_poi_2,.pano_poi_4{display:inline-block;width:16px;height:16px;vertical-align:middle;background:url("+ B.Yi+"newmap/static/common/images/pano_whole/guide_icons_4b871b2.png) no-repeat;background-position:0 0}.pano_photo_arrow_l,.pano_photo_arrow_r{position:absolute;top:0;width:20px;height:100%;background:#f3eeee}.pano_photo_arrow_l{left:0}.pano_photo_arrow_r{right:0}.pano_arrow_l,.pano_arrow_r{display:inline-block;width:18px;height:18px;background:url("+B.Yi+"newmap/static/common/images/pano_whole/pano-icons_223a291.png) no-repeat}.pano_catlogLi{cursor:pointer;position:relative;line-height:10px;font-size:10px;text-align:center;color:#abb0b2;border:1px solid #53565c;padding:3px 0;margin-top:3px;margin-left:2px;width:90%}.pano_catlogLi:hover{color:#3DAAFC;border:1px solid #3DAAFC}.pano_catlogLiActive{color:#3DAAFC;border:1px solid #3DAAFC}.pano_arrow_l{background-position:0 -36px}.pano_arrow_r{background-position:-54px -36px}.pano_photo_arrow_l:hover .pano_arrow_l{background-position:-18px -36px}.pano_photo_arrow_r:hover .pano_arrow_r{background-position:-72px -36px}.pano_photo_arrow_l.pano_arrow_disable .pano_arrow_l{background-position:-36px -36px}.pano_photo_arrow_r.pano_arrow_disable .pano_arrow_r{background-position:-90px -36px}.pano_photo_item{position:relative;float:left;line-height:0;padding-left:8px}.pano_photo_decs{position:absolute;bottom:1px;left:0;padding:2px 0;text-indent:5px;margin-left:8px;display:inline-block;color:#fff;background:#000;opacity:.5;filter:alpha(opacity=50)9;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.pano_photo_item img{display:inline-block;border:solid 1px #252525}.pano_photo_item:hover img{border-color:#005efc}.pano_photo_item_seleted{position:absolute;top:0;left:-100000px;border:3px solid #097df3}.pano_close{position:absolute;right:10px;top:10px;width:40px;cursor:pointer;height:40px;line-height:40px;border-radius:3px;background-color:rgba(37,37,37,.9);background-image:url("+ B.ka+"images/panorama/close.png);background-repeat:no-repeat;background-position:center center;background-size:90%}.pano_close:hover{background-image:url("+B.ka+"images/panorama/close_hover.png)}.pano_pc_indoor_exit{position:absolute;right:60px;top:10px;width:89px;cursor:pointer;height:40px;line-height:40px;color:#ebedf0;border-radius:3px;background-color:#252525;background-color:rgba(37,37,37,.9);background-image:url("+B.ka+"images/panorama/indoor_exit.png);background-repeat:no-repeat;background-position:15px 12px}.pano_pc_indoor_exit:hover{background-image:url("+ B.ka+"images/panorama/indoor_exit_hover.png);color:#2495ff}.pano_m_indoor_exit{font-size:16px;position:absolute;right:30px;top:10px;width:89px;cursor:pointer;height:40px;line-height:40px;color:#ebedf0;border-radius:3px;background-color:#252525;background-color:rgba(37,37,37,.9);background-image:url("+B.ka+"images/panorama/indoor_exit.png);background-repeat:no-repeat;background-position:15px 12px}"),Gf=Gf+(".navtrans-table tr{color:#666}.navtrans-table tr:hover{color:#333}.navtrans-navlist-icon{float:left;width:18px;height:16px;background:url("+ B.Yi+"wolfman/static/common/images/nav-icon_b5c3223.png) no-repeat 0px 0px;_background:url("+B.Yi+"wolfman/static/common/images/nav-icon_ie6_134841b.png) no-repeat 0px 0px;margin-top:2px;margin-right:5px}.navtrans-navlist-icon.s-1{background-position:0px 0px}.navtrans-navlist-icon.s-2{background-position:-18px 0px}.navtrans-navlist-icon.s-3{background-position:-36px 0px}.navtrans-navlist-icon.s-4{background-position:-54px 0px}.navtrans-navlist-icon.s-5{background-position:-72px 0px}.navtrans-navlist-icon.s-6{background-position:-90px 0px}.navtrans-navlist-icon.s-7{background-position:0px -16px}.navtrans-navlist-icon.s-8{background-position:-18px -16px}.navtrans-navlist-icon.s-9{background-position:-36px -16px}.navtrans-navlist-icon.s-10{background-position:-54px -16px}.navtrans-navlist-icon.s-11{background-position:-72px -16px}.navtrans-navlist-icon.s-12{background-position:-90px -16px}.navtrans-navlist-icon.s-13{background-position:0px -32px}.navtrans-navlist-icon.s-14{background-position:-18px -32px}.navtrans-navlist-icon.s-18{background-position:-36px -32px}.navtrans-navlist-icon.s-19{background-position:-54px -32px}.navtrans-navlist-icon.s-20{background-position:-72px -32px}.navtrans-navlist-icon.s-21{background-position:-90px -32px}.navtrans-navlist-icon.nav-st,.navtrans-navlist-icon.nav-through{background-position:-16px -70px}.navtrans-navlist-icon.nav-ed{background-position:0px -70px}.navtrans-view{border-top:1px solid #e4e6e7;border-left:1px solid #e4e6e7;border-right:1px solid #e4e6e7}.navtrans-view:hover{cursor:pointer}.navtrans-view .navtrans-arrow{position:absolute;top:8px;right:5px;width:7px;height:4px;background-image:url("+ B.Yi+"wolfman/static/common/images/nav-icon_b5c3223.png);background-repeat:no-repeat;background-position:-40px -70px;margin-top:3px;margin-right:3px;_background-image:url("+B.Yi+"wolfman/static/common/images/nav-icon_ie6_134841b.png)}.navtrans-view.expand:hover .navtrans-arrow{background-position:-61px -70px}.navtrans-view.expand .navtrans-arrow{background-position:-54px -70px}.navtrans-view:hover .navtrans-arrow{background-position:-47px -70px}.navtrans-navlist-content{overflow:hidden}.navtrans-res{border-bottom:1px solid #E4E6E7;border-left:1px solid #E4E6E7;border-right:1px solid #E4E6E7}.navtrans-bus-icon{display:inline-block;float:left;background-image:url("+ B.Yi+\'wolfman/static/common/images/ui3/mo_banner_e1aa2e6.png);background-repeat:no-repeat}.navtrans-bus-icon.bus{width:13px;height:16px;background-position:-1px -192px;position:relative;top:4px}.navtrans-bus-icon.walk{width:16px;height:18px;background-position:-63px -189px;position:relative;top:2px;left:-2px}.navtrans-bus-desc{line-height:24px;margin-left:20px}.navtrans-busstation{color:#36c;font-weight:600}.tranroute-plan-list.expand .trans-title{border-bottom:1px solid #e4e6e7;background-color:#ebf1fb}.trans-plan-content tr td:hover .bus{background-position:-15px -192px}.trans-plan-content tr td:hover .walk{background-position:-82px -189px}.suggest-plan{position:absolute;background-color:#0C88E8;padding:0px 15px;line-height:20px;color:#fff;left:0px;top:0px}.suggest-plan-des{text-align:left;padding:29px 0px 0px 25px;font-size:13px;color:#000}.bmap-clearfix{*+height:1%}.bmap-clearfix:after{content:".";display:block;height:0px;clear:both;visibility:hidden}\'), Gf=Gf+(".BMap_CityListCtrl{font-size:12px}.BMap_CityListCtrl a{text-decoration:none!important}.BMap_CityListCtrl a:hover{text-decoration:underline!important}.BMap_CityListCtrl .citylist_popup_main{border:1px solid #cdcdcd;z-index:2;position:relative;width:100%;height:100%;background:#fafafa;overflow:hidden;box-shadow:1px 1px 1px rgba(0,0,0,.1)}.ui_city_change_top .ui_city_change_inner,.ui_city_change_bottom .ui_city_change_inner{display:inline-block;height:24px;line-height:24px;border:1px solid #c4c7cc;background-color:#fff;padding:0 10px 0 10px;color:#000}.ui_city_change_top .ui_city_change_inner i,.ui_city_change_bottom .ui_city_change_inner i{width:8px;height:6px;display:inline-block;position:relative;top:9px;left:5px;-webkit-transition:all ease-in-out .15s;transition:all ease-in-out .15s;display:none9}.ui_city_change_click .ui_city_change_inner i,.ui_city_change_click_close .ui_city_change_inner i{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.ui_city_change_top .ui_city_change_inner:hover em{border-top-color:#0C88E8}.ui_city_change_top .ui_city_change_inner em{width:0;height:0;border-color:rgba(255,255,255,0);border-top-color:#D0D4DA;border-style:solid;border-width:4px}.ui_city_change_top .ui_city_change_inner:hover,.ui_city_change_bottom .ui_city_change_inner:hover{text-decoration:none!important;color:#3d6dcc}.ui_city_change_bottom .ui_city_change_inner:hover em{border-bottom-color:#0C88E8}.ui_city_change_bottom .ui_city_change_inner em{width:0;height:0;border-color:rgba(255,255,255,0);border-bottom-color:#D0D4DA;border-style:solid;border-width:4px;position:relative;top:-18px}.citylist_popup_main .citylist_ctr_title{background:#f9f9f9;border-bottom:1px solid #dadada;height:25px;line-height:25px;font-size:12px;color:#4c4c4c;padding-left:7px}.citylist_popup_main .city_content_top{position:relative;height:30px;padding:15px 10px 0px 10px;border-bottom:1px solid #CCC;margin:0px 10px}.citylist_popup_main .city_content_top .cur_city_info{display:inline-block;margin:0;padding:0;}#city_ctrl_form{position:absolute;right:12px;top:10px}#selCityWd{border:1px solid #ccc;height:20px;width:121px;line-height:20px;text-indent:4px;outline:none}#selCitySubmit:hover{background-position:-355px -98px}#selCitySubmit{float:right;background:url("+ B.Yi+"wolfman/static/common/images/index_a2f1ac4.png) no-repeat scroll -302px -98px;height:24px;line-height:24px;width:48px;cursor:pointer;margin-left:5px;text-align:center}#sel_city_letter_list{padding-top:10px}#sel_city_letter_list a{white-space:nowrap;margin-right:11px;line-height:18px;font-size:13px;font-family:Arial,Helvetica,SimSun,sans-serif}.city_content_medium{padding:10px 10px 10px 10px;border-bottom:1px solid #CCC;margin:0px 10px}.city_content_bottom{padding:10px 10px 10px 8px;margin:9px 5px 5px 5px;height:218px;overflow-y:auto}#city_detail_table tr td{vertical-align:top}.sel_city_hotcity a{color:#3d6dcc}.sel_city_letter{padding:0 14px 0 3px}.sel_city_letter div{font-size:24px;line-height:24px;font-weight:700;color:#ccc;padding:0;margin:0;font-family:Arial,Helvetica,SimSun,sans-serif}.sel_city_sf{padding-right:8px;font-weight:700}.sel_city_sf a{white-space:nowrap;line-height:18px;color:#3d6dcc}.city_names_wrap{margin-bottom:9px}.sel_city_name{color:#3d6dcc;white-space:nowrap;margin-right:9px;line-height:18px;float:left}#popup_close{outline:none;position:absolute;z-index:50;top:7px;right:6px;width:12px;height:12px;background:url("+ B.Yi+"wolfman/static/common/images/popup_close_15d2283.gif) no-repeat;border:0;cursor:pointer}"),Hf=Gf+=".navtrans-cross-city-icon{display:inline-block;float:left;background-image:url("+G.qa+"cross-trans-icon.png);background-repeat:no-repeat}.navtrans-cross-city-icon.train{width:15px;height:15px;background-position:-15px -15px;position:relative;top:3px;right:1px;}.trans-plan-content tr td:hover .train{background-position:0px -15px}.navtrans-cross-city-icon.airplane{width:15px;height:15px;background-position:-15px 0;position:relative;top:4px;right:1px;}.trans-plan-content tr td:hover .airplane{background-position:0 0}.navtrans-bus-icon.drive{width:16px;height:18px;background-position:-28px -189px;position:relative;top:2px;left:-2px}.trans-plan-content tr td:hover .drive{background-position:-44px -189px}", If=document,Jf=If.createElement("style");Jf.setAttribute("type","text/css");Jf.styleSheet?Jf.styleSheet.cssText=Hf:Jf.appendChild(If.createTextNode(Hf));var Kf=If.getElementsByTagName("head");Kf.length?Kf[0].appendChild(Jf):If.documentElement.appendChild(Jf); ');
\ No newline at end of file
+_jsload2&&_jsload2('style', 'var Gf=".BMap_mask{background:transparent url("");}.BMap_noscreen{display:none;}.BMap_button{cursor:pointer;}.BMap_zoomer{background-image:url("+B.ka+"images/mapctrls1d3.gif);background-repeat:no-repeat;overflow:hidden;font-size:1px;position:absolute;width:7px;height:7px;}.BMap_stdMpCtrl div{position:absolute;}.BMap_stdMpPan{width:44px;height:44px;overflow:hidden;background:url("+B.ka+\'images/mapctrls2d0.png) no-repeat;}.BMap_ie6 .BMap_stdMpPan{background:none;}.BMap_ie6 .BMap_smcbg{left:0;width:44px;height:464px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="\'+ B.ka+\'images/mapctrls2d0.png");}.BMap_ie6 .BMap_stdMpPanBg{z-index:-1;}.BMap_stdMpPan .BMap_button{height:15px;width:15px;}.BMap_panN,.BMap_panW,.BMap_panE,.BMap_panS{overflow:hidden;}.BMap_panN{left:14px;top:0;}.BMap_panW{left:1px;top:12px;}.BMap_panE{left:27px;top:12px;}.BMap_panS{left:14px;top:25px;}.BMap_stdMpZoom{top:45px;overflow:hidden;}.BMap_stdMpZoom .BMap_button{width:22px;height:21px;left:12px;overflow:hidden;background-image:url(\'+B.ka+"images/mapctrls2d0.png);background-repeat:no-repeat;z-index:10;}.BMap_ie6 .BMap_stdMpZoom .BMap_button{background:none;}.BMap_stdMpZoomIn{background-position:0 -221px;}.BMap_stdMpZoomOut{background-position:0 -265px;}.BMap_ie6 .BMap_stdMpZoomIn div{left:0;top:-221px;}.BMap_ie6 .BMap_stdMpZoomOut div{left:0;top:-265px;}.BMap_stdMpType4 .BMap_stdMpZoom .BMap_button{left:0;overflow:hidden;background:-webkit-gradient(linear,50% 0,50% 100%,from(rgba(255,255,255,0.85)),to(rgba(217,217,217,0.85)));z-index:10;-webkit-border-radius:22px;width:34px;height:34px;border:1px solid rgba(255,255,255,0.5);-webkit-box-shadow:0 2px 3.6px #CCC;display:-webkit-box;-webkit-box-align:center;-webkit-box-pack:center;-webkit-box-sizing:border-box;}.BMap_stdMpType4 .BMap_smcbg{position:static;background:url("+ B.ka+"images/mapctrls2d0_mb.png) 0 0 no-repeat;-webkit-background-size:24px 32px;}.BMap_stdMpType4 .BMap_stdMpZoomIn{background-position:0 0;}.BMap_stdMpType4 .BMap_stdMpZoomIn .BMap_smcbg{width:24px;height:24px;background-position:0 0;}.BMap_stdMpType4 .BMap_stdMpZoomOut{background-position:0 0;}.BMap_stdMpType4 .BMap_stdMpZoomOut .BMap_smcbg{width:24px;height:6px;background-position:0 -25px;}.BMap_stdMpSlider{width:37px;top:18px;}.BMap_stdMpSliderBgTop{left:18px;width:10px;overflow:hidden;background:url("+ B.ka+"images/mapctrls2d0.png) no-repeat -23px -226px;}.BMap_stdMpSliderBgBot{left:19px;height:8px;width:10px;top:124px;overflow:hidden;background:url("+B.ka+"images/mapctrls2d0.png) no-repeat -33px bottom;}.BMap_ie6 .BMap_stdMpSliderBgTop,.BMap_ie6 .BMap_stdMpSliderBgBot{background:none;}.BMap_ie6 .BMap_stdMpSliderBgTop div{left:-23px;top:-226px;}.BMap_ie6 .BMap_stdMpSliderBgBot div{left:-33px;bottom:0;}.BMap_stdMpSliderMask{height:100%;width:24px;left:10px;cursor:pointer;}.BMap_stdMpSliderBar{height:11px;width:19px;left:13px;top:80px;overflow:hidden;background:url("+ B.ka+"images/mapctrls2d0.png) no-repeat 0 -309px;}.BMap_stdMpSliderBar.h{background:url("+B.ka+"images/mapctrls2d0.png) no-repeat 0 -320px;}.BMap_ie6 .BMap_stdMpSliderBar,.BMap_ie6 .BMap_stdMpSliderBar.h{background:none;}.BMap_ie6 .BMap_stdMpSliderBar div{top:-309px;}.BMap_ie6 .BMap_stdMpSliderBar.h div{top:-320px;}.BMap_zlSt,.BMap_zlCity,.BMap_zlProv,.BMap_zlCountry{position:absolute;left:34px;height:21px;width:28px;background-image:url("+B.ka+"images/mapctrls2d0.png);background-repeat:no-repeat;font-size:0;cursor:pointer;}.BMap_ie6 .BMap_zlSt,.BMap_ie6 .BMap_zlCity,.BMap_ie6 .BMap_zlProv,.BMap_ie6 .BMap_zlCountry{background:none;overflow:hidden;}.BMap_zlHolder{display:none;position:absolute;top:0;}.BMap_zlHolder.hvr{display:block;}.BMap_zlSt{background-position:0 -380px;top:21px;}.BMap_zlCity{background-position:0 -401px;top:52px;}.BMap_zlProv{background-position:0 -422px;top:76px;}.BMap_zlCountry{background-position:0 -443px;top:100px;}.BMap_ie6 .BMap_zlSt div{top:-380px;}.BMap_ie6 .BMap_zlCity div{top:-401px;}.BMap_ie6 .BMap_zlProv div{top:-422px;}.BMap_ie6 .BMap_zlCountry div{top:-443px;}.BMap_stdMpType1 .BMap_stdMpSlider,.BMap_stdMpType2 .BMap_stdMpSlider,.BMap_stdMpType3 .BMap_stdMpSlider,.BMap_stdMpType4 .BMap_stdMpSlider,.BMap_stdMpType2 .BMap_stdMpZoom,.BMap_stdMpType3 .BMap_stdMpPan,.BMap_stdMpType4 .BMap_stdMpPan{display:none;}.BMap_stdMpType3 .BMap_stdMpZoom{top:0;}.BMap_stdMpType4 .BMap_stdMpZoom{top:0;}.BMap_cpyCtrl a{font-size:11px;color:#7979CC;}.BMap_scaleCtrl{height:23px;overflow:hidden;}.BMap_scaleCtrl div.BMap_scaleTxt{font-size:11px;font-family:Arial,sans-serif;}.BMap_scaleCtrl div{position:absolute;overflow:hidden;}.BMap_scaleHBar img,.BMap_scaleLBar img,.BMap_scaleRBar img{position:absolute;width:37px;height:442px;left:0;}.BMap_scaleHBar{width:100%;height:5px;font-size:0;bottom:0;}.BMap_scaleHBar img{top:-437px;width:100%;}.BMap_scaleLBar,.BMap_scaleRBar{width:3px;height:9px;bottom:0;font-size:0;z-index:1;}.BMap_scaleLBar img{top:-427px;left:0;}.BMap_scaleRBar img{top:-427px;left:-5px;}.BMap_scaleLBar{left:0;}.BMap_scaleRBar{right:0;}.BMap_scaleTxt{text-align:center;width:100%;cursor:default;line-height:18px;}.BMap_omCtrl{background-color:#fff;overflow:hidden;}.BMap_omOutFrame{position:absolute;width:100%;height:100%;left:0;top:0;}.BMap_omInnFrame{position:absolute;border:1px solid #999;background-color:#ccc;overflow:hidden;}.BMap_omMapContainer{position:absolute;overflow:hidden;width:100%;height:100%;left:0;top:0;}.BMap_omViewMv{border-width:1px;border-style:solid;border-left-color:#84b0df;border-top-color:#adcff4;border-right-color:#274b8b;border-bottom-color:#274b8b;position:absolute;z-index:600;}.BMap_omViewInnFrame{border:1px solid #3e6bb8;}.BMap_omViewMask{width:1000px;height:1000px;position:absolute;left:0;top:0;background-color:#68c;opacity:.2;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=20);}.BMap_omBtn{height:13px;width:13px;position:absolute;cursor:pointer;overflow:hidden;background:url("+ B.ka+"images/mapctrls1d3.gif) no-repeat;z-index:1210;}.anchorBR .BMap_omOutFrame{border-top:1px solid #999;border-left:1px solid #999;}.quad4 .BMap_omBtn{background-position:-26px -27px;}.quad4 .BMap_omBtn.hover{background-position:0 -27px;}.quad4 .BMap_omBtn.BMap_omBtnClosed{background-position:-39px -27px;}.quad4 .BMap_omBtn.BMap_omBtnClosed.hover{background-position:-13px -27px;}.anchorTR .BMap_omOutFrame{border-bottom:1px solid #999;border-left:1px solid #999;}.quad1 .BMap_omBtn{background-position:-39px -41px;}.quad1 .BMap_omBtn.hover{background-position:-13px -41px;}.quad1 .BMap_omBtn.BMap_omBtnClosed{background-position:-26px -41px;}.quad1 .BMap_omBtn.BMap_omBtnClosed.hover{background-position:0 -41px;}.anchorBL .BMap_omOutFrame{border-top:1px solid #999;border-right:1px solid #999;}.quad3 .BMap_omBtn{background-position:-27px -40px;}.quad3 .BMap_omBtn.hover{background-position:-1px -40px;}.quad3 .BMap_omBtn.BMap_omBtnClosed{background-position:-40px -40px;}.quad3 .BMap_omBtn.BMap_omBtnClosed.hover{background-position:-14px -40px;}.anchorTL .BMap_omOutFrame{border-bottom:1px solid #999;border-right:1px solid #999;}.quad2 .BMap_omBtn{background-position:-40px -28px;}.quad2 .BMap_omBtn.hover{background-position:-14px -28px;}.quad2 .BMap_omBtn.BMap_omBtnClosed{background-position:-27px -28px;}.quad2 .BMap_omBtn.BMap_omBtnClosed.hover{background-position:-1px -28px;}.anchorR .BMap_omOutFrame{border-bottom:1px solid #999;border-left:1px solid #999;border-top:1px solid #999;}.anchorL .BMap_omOutFrame{border-bottom:1px solid #999;border-right:1px solid #999;border-top:1px solid #999;}.anchorB .BMap_omOutFrame{border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #999;}.anchorT .BMap_omOutFrame{border-bottom:1px solid #999;border-right:1px solid #999;border-left:1px solid #999;}.anchorNon .BMap_omOutFrame,.withOffset .BMap_omOutFrame{border:1px solid #999;}.BMap_zoomMask0,.BMap_zoomMask1{position:absolute;left:0;top:0;width:100%;height:100%;background:transparent url("");z-index:1000;}.BMap_contextMenu{position:absolute;border-top:1px solid #adbfe4;border-left:1px solid #adbfe4;border-right:1px solid #8ba4d8;border-bottom:1px solid #8ba4d8;padding:0;margin:0;width:auto;visibility:hidden;background:#fff;z-index:10000000;}.BMap_cmShadow{position:absolute;background:#000;opacity:.3;filter:alpha(opacity=30);visibility:hidden;z-index:9000000;}div.BMap_cmDivider{border-bottom:1px solid #adbfe4;font-size:0;padding:1px;margin:0 6px;}div.BMap_cmFstItem{margin-top:2px;}div.BMap_cmLstItem{margin-bottom:2px;}.BMap_shadow img{border:0 none;margin:0;padding:0;height:370px;width:1144px;}.BMap_pop .BMap_top{border-top:1px solid #ababab;background-color:#fff;}.BMap_pop .BMap_center{border-left:1px solid #ababab;border-right:1px solid #ababab;background-color:#fff;}.BMap_pop .BMap_bottom{border-bottom:1px solid #ababab;background-color:#fff;}.BMap_shadow,.BMap_shadow img,.BMap_shadow div{-moz-user-select:none;-webkit-user-select:none;}.BMap_checkbox{background:url("+ B.ka+"images/mapctrls1d3.gif);vertical-align:middle;display:inline-block;width:11px;height:11px;margin-right:4px;background-position:-14px 90px;}.BMap_checkbox.checked{background-position:-2px 90px;}.BMap_pop .BMap_top img,.BMap_pop .BMap_center img,.BMap_pop .BMap_bottom img{display:none;}@media print{.BMap_noprint{display:none;}.BMap_noscreen{display:block;}.BMap_mask{background:none;}.BMap_pop .BMap_top img,.BMap_pop .BMap_center img,.BMap_pop .BMap_bottom img{display:block;}}.BMap_vectex{cursor:pointer;width:11px;height:11px;position:absolute;background-repeat:no-repeat;background-position:0 0;}.BMap_vectex_nodeT{background-image:url("+ B.ka+"images/nodeT.gif);}.BMap_vectex_node{background-image:url("+B.ka+\'images/node.gif);}.iw{width:100%;-webkit-box-sizing:border-box;border:.3em solid transparent;-webkit-background-clip:padding;}.iw_rt{position:relative;height:46px;width:195px;-webkit-box-sizing:border-box;display:-webkit-box;-webkit-box-align:center;margin:2px 5px 0 2px;background-color:rgba(0,0,0,0.8);-webkit-box-shadow:2px 2px 7px rgba(0,0,0,0.3);-webkit-border-radius:2px;color:#fff;}.iw_rt:after{content:"";position:absolute;left:50%;bottom:-8px;width:0;height:0;border-left:5px solid transparent;border-top:8px solid rgba(0,0,0,0.8);border-right:5px solid transparent;margin:0 0 0 -6px;}.iw_s{text-align:center;vertical-align:middle;height:100%;-webkit-box-sizing:border-box;}.iw_rt .iw_s1{color:#cbcbcb;}.iw_rt b{color:#fff;font-weight:bold;}.iw_rt_gr{margin-left:-4px;}.iw_busline{margin:32px 0 0 -3px;}.iw_busline .iw_cc{text-align:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:0 6px;}.iw_r{-webkit-box-ordinal-group:3;}.iw_r,.iw_l{height:100%;font-size:4.5em;text-align:center;color:#747474;border:none;-webkit-box-sizing:border-box;-webkit-border-radius:0;line-height:.7em;border:1px solid rgba(255,255,255,0.2);width:41px;}.iw_r{border-style:none none none solid;}.iw_l{border-style:none solid none none;}.iw_search,.iw_l{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAlCAYAAAAuqZsAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ bWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdp bj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6 eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEz NDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJo dHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlw dGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAv IiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RS ZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpD cmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNl SUQ9InhtcC5paWQ6QjA3NjMyREJDNzQ2MTFFMTlBQUM5QzlCRDZGODZCQkYiIHhtcE1NOkRvY3Vt ZW50SUQ9InhtcC5kaWQ6QjA3NjMyRENDNzQ2MTFFMTlBQUM5QzlCRDZGODZCQkYiPiA8eG1wTU06 RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCMDc2MzJEOUM3NDYxMUUxOUFB QzlDOUJENkY4NkJCRiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCMDc2MzJEQUM3NDYxMUUx OUFBQzlDOUJENkY4NkJCRiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1w bWV0YT4gPD94cGFja2V0IGVuZD0iciI/PllB9T8AAAKuSURBVHjaxFjRcdpAEAX+mVEqiFxB5AoQ HZAKElcArsBWBSgVQCoAVwCuwEoFlivwGQpI7jKrzGXn7ep0EsPO7BjLp/O73bdv9xifTqdRpCXW c+sz65n1lNy3mvzZemX9aN34C6bTKdx8HAHMgVlaX0QeaGv9J4EcBJgD9EA/hzAH7N4Cq/oAW1tf KX+vKEXP7PlMSLFvhQX32BWY49GBOIRO7FKy57wBlnoUQHu5yJX+g4mymdvgFWzkAM3JtwGgmiJw a2/pvQoEYBQCLKNI8RfuaeNjT245gAUdqgHdmkqUPiOctLdJVYkithkAVO/K5cC+M30KAZVSxboo /ybnn1eIR5r5qUyI7P4GX6nqJHskbQsxQ7wqu6aSn2qrgHLrXjqAat5ZC0WlRuzVE0J3uhtBCjRt a3qjX92JIMiOIqYtYgumzpo+7RRtu/E0zvknokMF5GgdQv4Ze/5DWL8CFVe2aNuedGsLCi1vS+WL F4WKNkL2Dnh414FnO1b1R5vKuRaxjKUF2YKBqjuCGtF6nyL5+XxOJWCcL2/CpjzdRYRuGpDShQQs ARUj9U/OnRh7Yr9/CW1JXU4fYxXoHIMCu+iB+gBLIt/LgShDYCYktGCDfCBgvyRgVQgZwTy/jIzy EnQNMZV1QCT4bJ+3XFCkS81/WijdkiYAdSak04BWtabWEmIbsNZYgU00YE+gjyErQeo31GpShVMH Yc+/dwsEzh97/D6ojT2ZMlM1XwN8WP9Ma7NAbZvbtBoEjE+jBT2TusCu5SIbI7z/wLWN1rdKi0o6 cqwTuAmYyTm5NQW/82atWvlnBbo7apxD98qDJxl7mkC76JQ2Qm0CI1xKF95Gb4oLXHJDwJlxjy/u LgruGtNFM8lqnNtfK2JqN3CVeW1gzWj9jThd0xd59R8BBgAAiefGO1Bt1gAAAABJRU5ErkJggg==") no-repeat 50% 50%;-webkit-background-size:19px 19px;}.iw_line_s,.iw_r{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAAmCAYAAABDClKtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ bWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdp bj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6 eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEz NDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJo dHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlw dGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAv IiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RS ZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpD cmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNl SUQ9InhtcC5paWQ6QjA3NjMyREZDNzQ2MTFFMTlBQUM5QzlCRDZGODZCQkYiIHhtcE1NOkRvY3Vt ZW50SUQ9InhtcC5kaWQ6QjA3NjMyRTBDNzQ2MTFFMTlBQUM5QzlCRDZGODZCQkYiPiA8eG1wTU06 RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCMDc2MzJEREM3NDYxMUUxOUFB QzlDOUJENkY4NkJCRiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCMDc2MzJERUM3NDYxMUUx OUFBQzlDOUJENkY4NkJCRiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1w bWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqheQ+MAAAEtSURBVHja7JftDYIwEIbB8JeEUXACZQPd oGygE+gGxAnQEZzAOgEdwREIDKBXUgjBIqW5Npj0kvcHpG0erveFX1WVZ8l2oBhEhRoLw/BroW8J KgeR3vMVlI5BrSwAHQZAnngmYxtMe4oIL41ZAp6iNqF4/BQTa0oBxmxAcaAHKFJY+wKtAaw0CRUJ oHjGHiY8VpqCKmYCdRkJUKmJ7Ms1gZqkqOs6w/bUGXRCOGePCcXjaItwDsW8PoZ0zhM70IeeyiZi jH/Isf+CF9MAOdCppDj+LJ6yim6j9802B6VqQa818BFjY6AHakHp9Crj15ctCaiFIi7Q/wCKLRHq vjSoVNKWunH4rTBDv5Cv7NKeKfvvU2nINzHAuexzUA7KQTkoB6UxDicKvc+qfQQYABaiUBxugCsr AAAAAElFTkSuQmCC") no-repeat 50% 50%;-webkit-background-size:19px 19px;}.iw_line{height:64px;width:228px;padding:0 11px;line-height:20px;}.iw_bustrans .iw_cc{text-align:center;}.iw_c{color:#FFFFFF;text-decoration:none;overflow:hidden;display:-webkit-box;-webkit-box-align:center;-webkit-box-flex:1;}.iw_cc{-webkit-box-sizing:border-box;width:100%;border:none;}.gray_background{filter:alpha(opacity=50);-moz-opacity:0.5;-khtml-opacity:0.5;opacity: 0.5} .light_gray_background {filter:alpha(opacity=70);-moz-opacity:0.7;-khtml-opacity:0.7;opacity: 0.7} .panoInfoBox {cursor: pointer; } .panoInfoBox {position: relative; width: 323px; height: 101px; margin-bottom: 4px; cursor: pointer; } .panoInfoBox .panoInfoBoxTitleBg {width: 323px; height: 19px; position: absolute; left: 0; bottom: 0; z-index: 2; background-color: #000; opacity: .7; } .panoInfoBox .panoInfoBoxTitleContent {font-size: 12px; color: #fff; position: absolute; bottom: 2px; left: 5px; z-index: 3; text-decoration: none; } \', Gf=Gf+(".RouteAddressOuterBkg{position:relative; padding: 32px 4px 4px 3px; background-color:#ffdd99; } .RouteAddressInnerBkg{padding: 3px 5px 8px 8px; background-color:#ffffff; } #RouteAddress_DIV1{margin-top: 5px; } .RouteAddressTip{position:absolute; width:100%; top:0px; text-align:center; height:30px; line-height:30px; color:#994c00; } .route_tip_con {position:absolute;top:145px;} .route_tip_con .route_tip{position:absolute;width:233px;height:29px;color:#803300;text-align:center;line-height:29px;border:#cc967a solid 1px;background:#fff2b2;z-index:100000;} .route_tip_con .route_tip span{position:absolute;top:0;right:0;_right:-1px;width:14px;height:13px;background:url("+ B.ka+"images/addrPage.png?v=20121107) no-repeat 0 -121px;cursor:pointer;} .route_tip_con .route_tip_shadow{width:233px;height:29px; position:absolute;left:1px;top:1px;background:#505050;border:1px solid #505050;opacity:0.2;filter:alpha(opacity=20)} .sel_body_body_page{margin:5px 0} .sel_n{margin-top:5px;overflow:hidden;} .sel_n .sel_top{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -418px;height:4px;font-size:0px;} .sel_n .sel_body_top{height:32px;width:100%;background:url("+B.ka+"images/addrPage.png?v=20121107) no-repeat 0 -41px;} .sel_n .sel_body_title{float:left;width:100%;height:31px;} .sel_n .sel_body_sign{margin-top:1px;width:30px;height:31px;float:left;background:url("+ B.ka+"images/bgs.gif) no-repeat -79px -387px;} .sel_n .sel_body_name{height: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin:0 20px 0 30px;padding:8px 7px 7px;font-size:14px;color:#FA8722;} .sel_n .sel_body_button{float:left;width:55px;margin-left:-55px;padding-top:8px;} .sel_n .sel_body_button a{} .sel_n .sel_bottom{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -415px;height:4px;font-size:0px;} .sel_n .sel_body_body{padding:3px 0 0 0} .sel_n1{margin-top:5px;width:329px;overflow:hidden;} .sel_n1 .sel_top{background:url("+ B.ka+"images/bgs.gif) no-repeat 0 -418px;height:4px;font-size:0px;} .sel_n1 .sel_body_top{height:31px;width:100%;background:url("+B.ka+"images/sel_body_n_top.gif) repeat-x;} .sel_n1 .sel_body_top{height:32px;width:100%;background:url("+B.ka+"images/addrPage.png?v=20121107) no-repeat 0 -41px} .sel_n1 .sel_body_title{float:left;width:100%;height:31px;cursor:pointer;} .sel_n1 .sel_body_sign{margin-top:1px;width:30px;height:31px;float:left;background:url("+B.ka+"images/bgs.gif) no-repeat -79px -387px;} .sel_n1 .sel_body_name{margin:0 20px 0 30px;padding:8px 7px 7px;font-size:14px;color:#FA8722;} .sel_n1 .sel_body_button{float:left;width:20px;height:31px;margin-left:-23px;background:url("+ B.ka+"images/bgs.gif) no-repeat -253px -382px;overflow:hidden;zoom:1;cursor:pointer;} .sel_n1 .sel_body_button a{display:none;} .sel_n1 .sel_body_body{display:none} .sel_n1 .sel_bottom{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -415px;height:4px;font-size:0px;} .sel_y{margin-top:5px;overflow:hidden;} .sel_y .sel_top{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -439px;height:4px;zoom:1;font-size:0px;} .sel_y .sel_body_top{height:32px;width:100%;background:url("+B.ka+"images/addrPage.png?v=20121107) no-repeat 0 0} .sel_y .sel_body_title{float:left;width:100%;height:31px;cursor:pointer;} .sel_y .sel_body_sign{margin-top:1px;width:30px;height:31px;float:left;background:url("+ B.ka+"images/bgs.gif) no-repeat -167px -384px;} .sel_y .sel_body_name{margin:0 20px 0 30px;padding:8px 7px 7px;font-size:14px;color:#5B7BCB;} .sel_y .sel_body_button{float:left;width:20px;height:31px;margin-left:-20px;background:url("+B.ka+"images/bgs.gif) no-repeat -269px -297px;cursor:pointer;} .sel_y .sel_body_button a{display:none;} .sel_y .sel_body_body{display:none;height:0px} .sel_y .sel_body_body_div{} .sel_y .sel_bottom{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -436px;height:4px;font-size:0px;} .sel_y .sel_body_body_page{display:none;height:0px;} .sel_x{margin-top:5px;width:329px;overflow:hidden;} .sel_x .sel_top{background:url("+ B.ka+"images/bgs.gif) no-repeat 0 -418px;height:4px;font-size:0px;} .sel_x .sel_body_top{height:32px;width:100%;background:url("+B.ka+"images/addrPage.png?v=20121107) no-repeat 0 -41px;} .sel_x .sel_body_title{float:left;width:100%;height:31px;} .sel_x .sel_body_sign{margin-top:1px;width:30px;height:31px;float:left;background:url("+B.ka+"images/bgs.gif) no-repeat -122px -384px;} .sel_x .sel_body_name{margin:0 20px 0 30px;padding:8px 7px 7px;font-size:14px;color:#FA8722;} .sel_x .sel_body_button{float:left;width:55px;margin-left:-55px;padding-top:8px;} .sel_x .sel_body_button a{} .sel_x .sel_body_body{} .sel_x .sel_body_body_div{padding:5px 5px 0 5px;} .sel_x .sel_bottom{background:url("+ B.ka+"images/bgs.gif) no-repeat 0 -415px;height:4px;font-size:0px;} .sel_x1{margin-top:5px;width:329px;overflow:hidden;} .sel_x1 .sel_top{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -418px;height:4px;font-size:0px;} .sel_x1 .sel_body_top{height:32px;width:100%;background:url("+B.ka+"images/addrPage.png?v=20121107) no-repeat 0 -41px} .sel_x1 .sel_body_title{float:left;width:100%;height:31px;cursor:pointer;} .sel_x1 .sel_body_sign{margin-top:1px;width:30px;height:31px;float:left;background:url("+ B.ka+"images/bgs.gif) no-repeat -122px -384px;} .sel_x1 .sel_body_name{margin:0 20px 0 30px;padding:8px 7px 7px;font-size:14px;color:#FA8722;} .sel_x1 .sel_body_button{float:left;width:55px;height:31px;margin-left:-55px;} .sel_x1 .sel_body_button a{display:none;} .sel_x1 .sel_body_body{display:none;height:0px;} .sel_x1 .sel_body_body_div{padding:5px 5px 0 5px;} .sel_x1 .sel_bottom{background:url("+B.ka+"images/bgs.gif) no-repeat 0 -415px;height:4px;font-size:0px;} .sel_body_citylist{height:100px;padding: 0 0 0 5px} .sel_body_resitem{table-layout:fixed;overflow-x:hidden;overflow-y:hidden;} .sel_body_resitem table {margin-right:5px;} .sel_body_resitem tr{cursor:pointer;} .sel_body_resitem th{padding-top:5px;padding-left:5px;text-align:left;vertical-align:top;width:22px;} .sel_body_resitem th div.iconbg{background:url("+ B.ka+"images/markers_new_ie6.png) no-repeat scroll 0 0;height:29px;width:24px;} .sel_body_resitem th div.icon{cursor:pointer} .sel_body_resitem th div#no_0_1, .sel_body_resitem th div#no_1_1{background-position:0 -64px} .sel_body_resitem th div#no_0_2, .sel_body_resitem th div#no_1_2{background-position:-24px -64px} .sel_body_resitem th div#no_0_3, .sel_body_resitem th div#no_1_3{background-position:-48px -64px} .sel_body_resitem th div#no_0_4, .sel_body_resitem th div#no_1_4{background-position:-72px -64px} .sel_body_resitem th div#no_0_5, .sel_body_resitem th div#no_1_5{background-position:-96px -64px} .sel_body_resitem th div#no_0_6, .sel_body_resitem th div#no_1_6{background-position:-120px -64px} .sel_body_resitem th div#no_0_7, .sel_body_resitem th div#no_1_7{background-position:-144px -64px} .sel_body_resitem th div#no_0_8, .sel_body_resitem th div#no_1_8{background-position:-168px -64px} .sel_body_resitem th div#no_0_9, .sel_body_resitem th div#no_1_9{background-position:-192px -64px} .sel_body_resitem th div#no_0_10, .sel_body_resitem th div#no_1_10{background-position:-216px -64px} .sel_body_resitem td{line-height:160%;padding:3px 0 3px 3px;vertical-align:top;} .sel_body_resitem div.ra_td_title{float:left;margin-right:40px;} .sel_body_resitem div.ra_td_button{float:right; width:40px;} .sel_body_resitem div.ra_td_button input{height:18px;font-size:12px;width:40px;} .sel_body_resitem div.clear{clear:both;height:0px;width:100%;} .sel_body_resitem td .selBtn {width:70px;height:29px;background:url("+ B.ka+"images/addrPage.png?v=20121107) no-repeat -21px -81px;text-align:center;line-height:29px;visibility:hidden;color:#b35900;display:inline-block;*display:inline;*zoom:1;} .sel_body_resitem td .list_street_view_poi {display:inline-block;float:none;margin-right:6px;position:static;*vertical-align:-3px;_vertical-align:-5px;*display:inline;*zoom:1;} .selInfoWndBtn {width:70px;height:29px;background:url("+B.ka+"images/addrPage.png?v=20121107) no-repeat -21px -81px;text-align:center;line-height:29px;margin: 0 auto;cursor:pointer;color:#b35900} .sel_body_body td a{text-decoration: none; cursor: auto; } .sel_body_body td a:hover,.sel_body_body td a:focus{text-decoration:underline; }"), Gf=Gf+(".panoInfoBox{cursor:pointer}.panoInfoBox{position:relative;width:323px;height:101px;margin-bottom:4px;cursor:pointer}.panoInfoBox .panoInfoBoxTitleBg{width:323px;height:19px;position:absolute;left:0;bottom:0;z-index:2;background-color:#000;opacity:.7}.panoInfoBox .panoInfoBoxTitleContent{font-size:12px;color:#fff;position:absolute;bottom:2px;left:5px;z-index:3;text-decoration:none}.pano_switch_left,.pano_switch_right{position:absolute;width:28px;height:38px;cursor:pointer;background-color:#252525;background-color:rgba(37,37,37,.9)}.pano_switch_left{background:url("+ B.ka+"images/panorama/zuojiantou.png) no-repeat;-webkit-background-size:100% 100%;background-size:100% 100%}.pano_switch_right{background:url("+B.ka+"images/panorama/youjiantou.png) no-repeat;-webkit-background-size:100% 100%;background-size:100% 100%}.pano_switch_left:hover{background:url("+B.ka+"images/panorama/zuojiantou_hover.png) no-repeat;-webkit-background-size:100% 100%;background-size:100% 100%}.pano_switch_right:hover{background:url("+B.ka+"images/panorama/youjiantou_hover.png) no-repeat;-webkit-background-size:100% 100%;background-size:100% 100%}.pano_switch_left.pano_switch_disable,.pano_switch_right.pano_switch_disable{background:0 0;border:none}.pano_poi_1,.pano_poi_2,.pano_poi_4{display:inline-block;width:16px;height:16px;vertical-align:middle;background:url("+ B.Yi+"newmap/static/common/images/pano_whole/guide_icons_4b871b2.png) no-repeat;background-position:0 0}.pano_photo_arrow_l,.pano_photo_arrow_r{position:absolute;top:0;width:20px;height:100%;background:#f3eeee}.pano_photo_arrow_l{left:0}.pano_photo_arrow_r{right:0}.pano_arrow_l,.pano_arrow_r{display:inline-block;width:18px;height:18px;background:url("+B.Yi+"newmap/static/common/images/pano_whole/pano-icons_223a291.png) no-repeat}.pano_catlogLi{cursor:pointer;position:relative;line-height:10px;font-size:10px;text-align:center;color:#abb0b2;border:1px solid #53565c;padding:3px 0;margin-top:3px;margin-left:2px;width:90%}.pano_catlogLi:hover{color:#3DAAFC;border:1px solid #3DAAFC}.pano_catlogLiActive{color:#3DAAFC;border:1px solid #3DAAFC}.pano_arrow_l{background-position:0 -36px}.pano_arrow_r{background-position:-54px -36px}.pano_photo_arrow_l:hover .pano_arrow_l{background-position:-18px -36px}.pano_photo_arrow_r:hover .pano_arrow_r{background-position:-72px -36px}.pano_photo_arrow_l.pano_arrow_disable .pano_arrow_l{background-position:-36px -36px}.pano_photo_arrow_r.pano_arrow_disable .pano_arrow_r{background-position:-90px -36px}.pano_photo_item{position:relative;float:left;line-height:0;padding-left:8px}.pano_photo_decs{position:absolute;bottom:1px;left:0;padding:2px 0;text-indent:5px;margin-left:8px;display:inline-block;color:#fff;background:#000;opacity:.5;filter:alpha(opacity=50)9;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.pano_photo_item img{display:inline-block;border:solid 1px #252525}.pano_photo_item:hover img{border-color:#005efc}.pano_photo_item_seleted{position:absolute;top:0;left:-100000px;border:3px solid #097df3}.pano_close{position:absolute;right:10px;top:10px;width:40px;cursor:pointer;height:40px;line-height:40px;border-radius:3px;background-color:rgba(37,37,37,.9);background-image:url("+ B.ka+"images/panorama/close.png);background-repeat:no-repeat;background-position:center center;background-size:90%}.pano_close:hover{background-image:url("+B.ka+"images/panorama/close_hover.png)}.pano_pc_indoor_exit{position:absolute;right:60px;top:10px;width:89px;cursor:pointer;height:40px;line-height:40px;color:#ebedf0;border-radius:3px;background-color:#252525;background-color:rgba(37,37,37,.9);background-image:url("+B.ka+"images/panorama/indoor_exit.png);background-repeat:no-repeat;background-position:15px 12px}.pano_pc_indoor_exit:hover{background-image:url("+ B.ka+"images/panorama/indoor_exit_hover.png);color:#2495ff}.pano_m_indoor_exit{font-size:16px;position:absolute;right:30px;top:10px;width:89px;cursor:pointer;height:40px;line-height:40px;color:#ebedf0;border-radius:3px;background-color:#252525;background-color:rgba(37,37,37,.9);background-image:url("+B.ka+"images/panorama/indoor_exit.png);background-repeat:no-repeat;background-position:15px 12px}"),Gf=Gf+(".navtrans-table tr{color:#666}.navtrans-table tr:hover{color:#333}.navtrans-navlist-icon{float:left;width:18px;height:16px;background:url("+ B.Yi+"wolfman/static/common/images/nav-icon_b5c3223.png) no-repeat 0px 0px;_background:url("+B.Yi+"wolfman/static/common/images/nav-icon_ie6_134841b.png) no-repeat 0px 0px;margin-top:2px;margin-right:5px}.navtrans-navlist-icon.s-1{background-position:0px 0px}.navtrans-navlist-icon.s-2{background-position:-18px 0px}.navtrans-navlist-icon.s-3{background-position:-36px 0px}.navtrans-navlist-icon.s-4{background-position:-54px 0px}.navtrans-navlist-icon.s-5{background-position:-72px 0px}.navtrans-navlist-icon.s-6{background-position:-90px 0px}.navtrans-navlist-icon.s-7{background-position:0px -16px}.navtrans-navlist-icon.s-8{background-position:-18px -16px}.navtrans-navlist-icon.s-9{background-position:-36px -16px}.navtrans-navlist-icon.s-10{background-position:-54px -16px}.navtrans-navlist-icon.s-11{background-position:-72px -16px}.navtrans-navlist-icon.s-12{background-position:-90px -16px}.navtrans-navlist-icon.s-13{background-position:0px -32px}.navtrans-navlist-icon.s-14{background-position:-18px -32px}.navtrans-navlist-icon.s-18{background-position:-36px -32px}.navtrans-navlist-icon.s-19{background-position:-54px -32px}.navtrans-navlist-icon.s-20{background-position:-72px -32px}.navtrans-navlist-icon.s-21{background-position:-90px -32px}.navtrans-navlist-icon.nav-st,.navtrans-navlist-icon.nav-through{background-position:-16px -70px}.navtrans-navlist-icon.nav-ed{background-position:0px -70px}.navtrans-view{border-top:1px solid #e4e6e7;border-left:1px solid #e4e6e7;border-right:1px solid #e4e6e7}.navtrans-view:hover{cursor:pointer}.navtrans-view .navtrans-arrow{position:absolute;top:8px;right:5px;width:7px;height:4px;background-image:url("+ B.Yi+"wolfman/static/common/images/nav-icon_b5c3223.png);background-repeat:no-repeat;background-position:-40px -70px;margin-top:3px;margin-right:3px;_background-image:url("+B.Yi+"wolfman/static/common/images/nav-icon_ie6_134841b.png)}.navtrans-view.expand:hover .navtrans-arrow{background-position:-61px -70px}.navtrans-view.expand .navtrans-arrow{background-position:-54px -70px}.navtrans-view:hover .navtrans-arrow{background-position:-47px -70px}.navtrans-navlist-content{overflow:hidden}.navtrans-res{border-bottom:1px solid #E4E6E7;border-left:1px solid #E4E6E7;border-right:1px solid #E4E6E7}.navtrans-bus-icon{display:inline-block;float:left;background-image:url("+ B.Yi+\'wolfman/static/common/images/ui3/mo_banner_e1aa2e6.png);background-repeat:no-repeat}.navtrans-bus-icon.bus{width:13px;height:16px;background-position:-1px -192px;position:relative;top:4px}.navtrans-bus-icon.walk{width:16px;height:18px;background-position:-63px -189px;position:relative;top:2px;left:-2px}.navtrans-bus-desc{line-height:24px;margin-left:20px}.navtrans-busstation{color:#36c;font-weight:600}.tranroute-plan-list.expand .trans-title{border-bottom:1px solid #e4e6e7;background-color:#ebf1fb}.trans-plan-content tr td:hover .bus{background-position:-15px -192px}.trans-plan-content tr td:hover .walk{background-position:-82px -189px}.suggest-plan{position:absolute;background-color:#0C88E8;padding:0px 15px;line-height:20px;color:#fff;left:0px;top:0px}.suggest-plan-des{text-align:left;padding:29px 0px 0px 25px;font-size:13px;color:#000}.bmap-clearfix{*+height:1%}.bmap-clearfix:after{content:".";display:block;height:0px;clear:both;visibility:hidden}\'), Gf=Gf+(".BMap_CityListCtrl{font-size:12px}.BMap_CityListCtrl a{text-decoration:none!important}.BMap_CityListCtrl a:hover{text-decoration:underline!important}.BMap_CityListCtrl .citylist_popup_main{border:1px solid #cdcdcd;z-index:2;position:relative;width:100%;height:100%;background:#fafafa;overflow:hidden;box-shadow:1px 1px 1px rgba(0,0,0,.1)}.ui_city_change_top .ui_city_change_inner,.ui_city_change_bottom .ui_city_change_inner{display:inline-block;height:24px;line-height:24px;border:1px solid #c4c7cc;background-color:#fff;padding:0 10px 0 10px;color:#000}.ui_city_change_top .ui_city_change_inner i,.ui_city_change_bottom .ui_city_change_inner i{width:8px;height:6px;display:inline-block;position:relative;top:9px;left:5px;-webkit-transition:all ease-in-out .15s;transition:all ease-in-out .15s;display:none9}.ui_city_change_click .ui_city_change_inner i,.ui_city_change_click_close .ui_city_change_inner i{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.ui_city_change_top .ui_city_change_inner:hover em{border-top-color:#0C88E8}.ui_city_change_top .ui_city_change_inner em{width:0;height:0;border-color:rgba(255,255,255,0);border-top-color:#D0D4DA;border-style:solid;border-width:4px}.ui_city_change_top .ui_city_change_inner:hover,.ui_city_change_bottom .ui_city_change_inner:hover{text-decoration:none!important;color:#3d6dcc}.ui_city_change_bottom .ui_city_change_inner:hover em{border-bottom-color:#0C88E8}.ui_city_change_bottom .ui_city_change_inner em{width:0;height:0;border-color:rgba(255,255,255,0);border-bottom-color:#D0D4DA;border-style:solid;border-width:4px;position:relative;top:-18px}.citylist_popup_main .citylist_ctr_title{background:#f9f9f9;border-bottom:1px solid #dadada;height:25px;line-height:25px;font-size:12px;color:#4c4c4c;padding-left:7px}.citylist_popup_main .city_content_top{position:relative;height:30px;padding:15px 10px 0px 10px;border-bottom:1px solid #CCC;margin:0px 10px}.citylist_popup_main .city_content_top .cur_city_info{display:inline-block;margin:0;padding:0;}#city_ctrl_form{position:absolute;right:12px;top:10px}#selCityWd{border:1px solid #ccc;height:20px;width:121px;line-height:20px;text-indent:4px;outline:none}#selCitySubmit:hover{background-position:-355px -98px}#selCitySubmit{float:right;background:url("+ B.Yi+"wolfman/static/common/images/index_a2f1ac4.png) no-repeat scroll -302px -98px;height:24px;line-height:24px;width:48px;cursor:pointer;margin-left:5px;text-align:center}#sel_city_letter_list{padding-top:10px}#sel_city_letter_list a{white-space:nowrap;margin-right:11px;line-height:18px;font-size:13px;font-family:Arial,Helvetica,SimSun,sans-serif}.city_content_medium{padding:10px 10px 10px 10px;border-bottom:1px solid #CCC;margin:0px 10px}.city_content_bottom{padding:10px 10px 10px 8px;margin:9px 5px 5px 5px;height:218px;overflow-y:auto}#city_detail_table tr td{vertical-align:top}.sel_city_hotcity a{color:#3d6dcc}.sel_city_letter{padding:0 14px 0 3px}.sel_city_letter div{font-size:24px;line-height:24px;font-weight:700;color:#ccc;padding:0;margin:0;font-family:Arial,Helvetica,SimSun,sans-serif}.sel_city_sf{padding-right:8px;font-weight:700}.sel_city_sf a{white-space:nowrap;line-height:18px;color:#3d6dcc}.city_names_wrap{margin-bottom:9px}.sel_city_name{color:#3d6dcc;white-space:nowrap;margin-right:9px;line-height:18px;float:left}#popup_close{outline:none;position:absolute;z-index:50;top:7px;right:6px;width:12px;height:12px;background:url("+ B.Yi+"wolfman/static/common/images/popup_close_15d2283.gif) no-repeat;border:0;cursor:pointer}"),Hf=Gf+=".navtrans-cross-city-icon{display:inline-block;float:left;background-image:url("+G.qa+"cross-trans-icon.png);background-repeat:no-repeat}.navtrans-cross-city-icon.train{width:15px;height:15px;background-position:-15px -15px;position:relative;top:3px;right:1px;}.trans-plan-content tr td:hover .train{background-position:0px -15px}.navtrans-cross-city-icon.airplane{width:15px;height:15px;background-position:-15px 0;position:relative;top:4px;right:1px;}.trans-plan-content tr td:hover .airplane{background-position:0 0}.navtrans-bus-icon.drive{width:16px;height:18px;background-position:-28px -189px;position:relative;top:2px;left:-2px}.trans-plan-content tr td:hover .drive{background-position:-44px -189px}", If=document,Jf=If.createElement("style");Jf.setAttribute("type","text/css");Jf.styleSheet?Jf.styleSheet.cssText=Hf:Jf.appendChild(If.createTextNode(Hf));var Kf=If.getElementsByTagName("head");Kf.length?Kf[0].appendChild(Jf):If.documentElement.appendChild(Jf); ');
\ No newline at end of file
diff --git a/src/assets/map/上海.json b/src/assets/map/上海.json
index cc361b61..ef795ed2 100644
--- a/src/assets/map/上海.json
+++ b/src/assets/map/上海.json
@@ -1 +1,170 @@
-{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"adcode":310101,"name":"黄浦","center":[121.490317,31.222771],"centroid":[121.483572,31.215946],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":0,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.457689,31.220196],[121.460707,31.213488],[121.461555,31.210194],[121.462264,31.203173],[121.466449,31.204395],[121.46745,31.203065],[121.469605,31.196404],[121.470383,31.191276],[121.474944,31.189886],[121.475987,31.187885],[121.490752,31.191467],[121.494631,31.192857],[121.498066,31.195601],[121.501319,31.199747],[121.508368,31.210158],[121.509911,31.214506],[121.509397,31.218459],[121.506741,31.223119],[121.502014,31.228018],[121.495744,31.232977],[121.493491,31.23615],[121.493491,31.240163],[121.494826,31.24221],[121.487805,31.244186],[121.485969,31.244091],[121.482994,31.241923],[121.47892,31.240294],[121.474847,31.24142],[121.469563,31.239216],[121.462973,31.241396],[121.466129,31.234917],[121.467658,31.225634],[121.467464,31.223862],[121.456758,31.223898],[121.457689,31.220196]]]]}},{"type":"Feature","properties":{"adcode":310104,"name":"徐汇","center":[121.43752,31.179973],"centroid":[121.439405,31.162992],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":1,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.457689,31.220196],[121.452184,31.217429],[121.44697,31.215812],[121.439462,31.214482],[121.43746,31.211535],[121.435235,31.21114],[121.437933,31.203976],[121.433025,31.20128],[121.423793,31.197314],[121.421638,31.19535],[121.422027,31.192294],[121.419719,31.190796],[121.412572,31.19112],[121.41356,31.18683],[121.415256,31.187357],[121.415158,31.183391],[121.41146,31.182037],[121.400101,31.178813],[121.398349,31.179904],[121.398071,31.178226],[121.394442,31.177879],[121.395415,31.174595],[121.39269,31.173085],[121.394053,31.169489],[121.391508,31.168686],[121.394567,31.159601],[121.402645,31.162226],[121.404578,31.157588],[121.401867,31.157528],[121.395874,31.15585],[121.396931,31.152685],[121.401449,31.153776],[121.400977,31.155214],[121.404953,31.156689],[121.411293,31.14174],[121.41381,31.13728],[121.418398,31.131669],[121.421526,31.127137],[121.436445,31.129043],[121.43853,31.121729],[121.438836,31.119103],[121.435736,31.113539],[121.438002,31.1121],[121.441547,31.112568],[121.445788,31.114954],[121.446706,31.114282],[121.450807,31.115398],[121.450154,31.112819],[121.452364,31.108586],[121.447623,31.107423],[121.446275,31.105744],[121.451878,31.103849],[121.452629,31.101234],[121.455423,31.100755],[121.462862,31.101954],[121.463237,31.108586],[121.465211,31.1121],[121.469299,31.118731],[121.469674,31.124859],[121.468729,31.127868],[121.462431,31.134463],[121.457453,31.142232],[121.457453,31.146451],[121.460387,31.150276],[121.46574,31.155118],[121.468354,31.158091],[121.469369,31.162298],[121.468159,31.167092],[121.464905,31.17541],[121.464905,31.178022],[121.466254,31.18109],[121.468729,31.184122],[121.475987,31.187885],[121.474944,31.189886],[121.470383,31.191276],[121.469605,31.196404],[121.46745,31.203065],[121.466449,31.204395],[121.462264,31.203173],[121.461555,31.210194],[121.460707,31.213488],[121.457689,31.220196]]]]}},{"type":"Feature","properties":{"adcode":310105,"name":"长宁","center":[121.4222,31.218123],"centroid":[121.380949,31.20737],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":2,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.439462,31.214482],[121.436167,31.220675],[121.435416,31.225071],[121.434304,31.225886],[121.429034,31.223095],[121.427713,31.224221],[121.427519,31.229288],[121.423334,31.228114],[121.419941,31.225191],[121.415617,31.228581],[121.414853,31.228054],[121.415965,31.224473],[121.414157,31.223359],[121.408707,31.222364],[121.403799,31.22058],[121.400462,31.220807],[121.399712,31.218711],[121.388658,31.218639],[121.37691,31.220687],[121.373197,31.220089],[121.371404,31.222508],[121.366691,31.224065],[121.366065,31.226006],[121.362102,31.22597],[121.359071,31.229827],[121.354177,31.237121],[121.352856,31.238342],[121.348741,31.239372],[121.350131,31.241839],[121.348922,31.243863],[121.347281,31.243192],[121.346822,31.241037],[121.344612,31.243552],[121.345585,31.239887],[121.340872,31.239947],[121.338355,31.237528],[121.343513,31.234306],[121.345376,31.23039],[121.345362,31.227886],[121.341581,31.226293],[121.340997,31.224269],[121.345627,31.223526],[121.343096,31.223071],[121.342457,31.217789],[121.33937,31.216615],[121.339996,31.212278],[121.338508,31.212182],[121.338438,31.20666],[121.338925,31.196644],[121.33734,31.195817],[121.338049,31.192618],[121.331806,31.189622],[121.338341,31.180108],[121.341414,31.179436],[121.351424,31.183499],[121.353301,31.181629],[121.356958,31.182768],[121.358321,31.186015],[121.360253,31.185296],[121.365954,31.185572],[121.38001,31.190065],[121.391425,31.191911],[121.412572,31.19112],[121.419719,31.190796],[121.422027,31.192294],[121.421638,31.19535],[121.423793,31.197314],[121.433025,31.20128],[121.437933,31.203976],[121.435235,31.21114],[121.43746,31.211535],[121.439462,31.214482]]]]}},{"type":"Feature","properties":{"adcode":310106,"name":"静安","center":[121.448224,31.229003],"centroid":[121.450659,31.270821],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":3,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.457689,31.220196],[121.456758,31.223898],[121.467464,31.223862],[121.467658,31.225634],[121.466129,31.234917],[121.462973,31.241396],[121.469563,31.239216],[121.474847,31.24142],[121.47892,31.240294],[121.482994,31.241923],[121.481228,31.247959],[121.479588,31.249815],[121.481673,31.250689],[121.479629,31.253383],[121.480589,31.255239],[121.480491,31.258568],[121.474124,31.263453],[121.469605,31.267799],[121.464627,31.274396],[121.462834,31.275389],[121.461457,31.278921],[121.461805,31.284691],[121.460081,31.289778],[121.462445,31.292747],[121.46453,31.297989],[121.463529,31.306008],[121.467672,31.306307],[121.468312,31.316036],[121.468145,31.32032],[121.465378,31.321397],[121.457133,31.321002],[121.4547,31.319243],[121.447887,31.317101],[121.44672,31.319817],[121.436765,31.319662],[121.436459,31.32087],[121.433595,31.32087],[121.432468,31.318669],[121.434623,31.312303],[121.432163,31.31168],[121.431676,31.309478],[121.432441,31.305912],[121.431287,31.303638],[121.426434,31.303207],[121.426935,31.298528],[121.42364,31.297259],[121.420039,31.296912],[121.418648,31.292256],[121.419691,31.291071],[121.423806,31.291011],[121.422833,31.28426],[121.424432,31.280238],[121.424571,31.27193],[121.425252,31.270661],[121.429841,31.274923],[121.432413,31.271942],[121.437098,31.269439],[121.442952,31.267117],[121.451044,31.256269],[121.44932,31.252928],[121.451461,31.251994],[121.450404,31.247743],[121.448318,31.245216],[121.449987,31.2433],[121.445774,31.241348],[121.435166,31.235252],[121.431009,31.235108],[121.427908,31.231144],[121.427519,31.229288],[121.427713,31.224221],[121.429034,31.223095],[121.434304,31.225886],[121.435416,31.225071],[121.436167,31.220675],[121.439462,31.214482],[121.44697,31.215812],[121.452184,31.217429],[121.457689,31.220196]]]]}},{"type":"Feature","properties":{"adcode":310107,"name":"普陀","center":[121.392499,31.241701],"centroid":[121.392042,31.257895],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":4,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.354177,31.237121],[121.359071,31.229827],[121.362102,31.22597],[121.366065,31.226006],[121.366691,31.224065],[121.371404,31.222508],[121.373197,31.220089],[121.37691,31.220687],[121.388658,31.218639],[121.399712,31.218711],[121.400462,31.220807],[121.403799,31.22058],[121.408707,31.222364],[121.414157,31.223359],[121.415965,31.224473],[121.414853,31.228054],[121.415617,31.228581],[121.419941,31.225191],[121.423334,31.228114],[121.427519,31.229288],[121.427908,31.231144],[121.431009,31.235108],[121.435166,31.235252],[121.445774,31.241348],[121.449987,31.2433],[121.448318,31.245216],[121.450404,31.247743],[121.451461,31.251994],[121.44932,31.252928],[121.451044,31.256269],[121.442952,31.267117],[121.437098,31.269439],[121.432413,31.271942],[121.429841,31.274923],[121.425252,31.270661],[121.419496,31.265237],[121.41577,31.265896],[121.41527,31.26914],[121.410598,31.270373],[121.41096,31.273175],[121.40544,31.273067],[121.406496,31.276862],[121.404564,31.276227],[121.400087,31.278071],[121.404453,31.286223],[121.400379,31.286115],[121.398446,31.287145],[121.399559,31.288904],[121.39789,31.29052],[121.393483,31.291274],[121.394762,31.294674],[121.388394,31.29526],[121.384765,31.294446],[121.381623,31.292711],[121.38154,31.289431],[121.376242,31.290592],[121.374838,31.289096],[121.370153,31.290329],[121.369666,31.28912],[121.363785,31.291334],[121.363785,31.292028],[121.358585,31.293465],[121.360295,31.294674],[121.363534,31.302741],[121.360309,31.302717],[121.354803,31.299808],[121.352954,31.301663],[121.348894,31.299246],[121.349659,31.297582],[121.346892,31.296349],[121.34685,31.297654],[121.340927,31.297439],[121.341011,31.293716],[121.338675,31.293225],[121.336506,31.294901],[121.332224,31.292998],[121.332821,31.290915],[121.326384,31.288928],[121.327316,31.285182],[121.328998,31.284595],[121.332738,31.286067],[121.335004,31.279711],[121.336061,31.280046],[121.336228,31.275461],[121.338883,31.275006],[121.338272,31.272839],[121.343541,31.271439],[121.344723,31.273917],[121.35732,31.271415],[121.358918,31.268793],[121.361268,31.27084],[121.367441,31.269631],[121.366996,31.266662],[121.362227,31.26756],[121.35985,31.266997],[121.358918,31.263609],[121.361783,31.259945],[121.366023,31.259358],[121.365884,31.257682],[121.374574,31.257059],[121.375158,31.25949],[121.377508,31.259478],[121.380886,31.257766],[121.377216,31.247719],[121.375686,31.244486],[121.3731,31.245683],[121.372349,31.243755],[121.368387,31.247384],[121.366718,31.246342],[121.363117,31.240091],[121.36067,31.238642],[121.360086,31.240498],[121.356068,31.240151],[121.356054,31.237803],[121.354177,31.237121]]]]}},{"type":"Feature","properties":{"adcode":310109,"name":"虹口","center":[121.491832,31.26097],"centroid":[121.485443,31.276649],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":5,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.485413,31.311573],[121.485372,31.314636],[121.479171,31.314696],[121.472956,31.315797],[121.468312,31.316036],[121.467672,31.306307],[121.463529,31.306008],[121.46453,31.297989],[121.462445,31.292747],[121.460081,31.289778],[121.461805,31.284691],[121.461457,31.278921],[121.462834,31.275389],[121.464627,31.274396],[121.469605,31.267799],[121.474124,31.263453],[121.480491,31.258568],[121.480589,31.255239],[121.479629,31.253383],[121.481673,31.250689],[121.479588,31.249815],[121.481228,31.247959],[121.482994,31.241923],[121.485969,31.244091],[121.487805,31.244186],[121.494826,31.24221],[121.500012,31.244989],[121.50688,31.246474],[121.516488,31.246953],[121.516001,31.251599],[121.517642,31.251862],[121.514569,31.256317],[121.508479,31.262639],[121.50631,31.266746],[121.506505,31.270589],[121.499915,31.275904],[121.496564,31.276407],[121.496049,31.282991],[121.498149,31.286259],[121.502709,31.289658],[121.500652,31.295488],[121.493644,31.293884],[121.490168,31.292603],[121.485664,31.303483],[121.485413,31.311573]]]]}},{"type":"Feature","properties":{"adcode":310110,"name":"杨浦","center":[121.522797,31.270755],"centroid":[121.529302,31.29835],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":6,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.516488,31.246953],[121.527555,31.247252],[121.536384,31.249623],[121.541542,31.251826],[121.559074,31.264219],[121.563537,31.268805],[121.568515,31.275701],[121.56953,31.279567],[121.569141,31.285254],[121.565456,31.294135],[121.562523,31.29976],[121.561758,31.303339],[121.561883,31.321158],[121.560493,31.32781],[121.558574,31.331256],[121.555779,31.333948],[121.549398,31.337789],[121.525483,31.346797],[121.522883,31.342885],[121.520256,31.344033],[121.517628,31.340779],[121.50556,31.345732],[121.493575,31.330299],[121.497593,31.328109],[121.498928,31.325322],[121.496216,31.323347],[121.496717,31.311489],[121.485413,31.311573],[121.485664,31.303483],[121.490168,31.292603],[121.493644,31.293884],[121.500652,31.295488],[121.502709,31.289658],[121.498149,31.286259],[121.496049,31.282991],[121.496564,31.276407],[121.499915,31.275904],[121.506505,31.270589],[121.50631,31.266746],[121.508479,31.262639],[121.514569,31.256317],[121.517642,31.251862],[121.516001,31.251599],[121.516488,31.246953]]]]}},{"type":"Feature","properties":{"adcode":310112,"name":"闵行","center":[121.375972,31.111658],"centroid":[121.418901,31.087213],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":7,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.35871,30.97786],[121.375227,30.982832],[121.394261,30.988247],[121.409333,30.990229],[121.413184,30.991069],[121.423973,30.994515],[121.431426,30.999174],[121.433636,31.001779],[121.436834,31.00406],[121.440811,31.005789],[121.448305,31.007458],[121.459942,31.007398],[121.465587,31.008755],[121.47144,31.011948],[121.476362,31.01334],[121.485872,31.014073],[121.489153,31.014949],[121.492879,31.012752],[121.491948,31.010039],[121.495924,30.998297],[121.498872,30.998213],[121.49883,30.999426],[121.503057,31.002716],[121.507881,31.004745],[121.510412,31.004553],[121.517002,31.007626],[121.520853,31.004445],[121.522105,31.002199],[121.520089,31.00256],[121.520325,30.999354],[121.522897,30.99981],[121.528612,30.99592],[121.531962,30.994815],[121.534507,30.995848],[121.537774,30.994683],[121.538233,30.993146],[121.543294,30.994203],[121.54613,30.99305],[121.549537,30.988307],[121.55279,30.98886],[121.553304,30.993026],[121.556224,30.993374],[121.555918,30.995152],[121.561494,30.995644],[121.570475,30.998345],[121.567959,31.000879],[121.570712,31.002295],[121.570253,31.004565],[121.571463,31.005633],[121.569725,31.010603],[121.568181,31.010063],[121.565859,31.011912],[121.569822,31.012452],[121.571018,31.016426],[121.574674,31.018634],[121.574758,31.020951],[121.572325,31.026677],[121.56839,31.025284],[121.569057,31.024396],[121.564302,31.021191],[121.56027,31.024132],[121.558699,31.020255],[121.556474,31.020255],[121.556516,31.01873],[121.554139,31.01861],[121.552262,31.020915],[121.552804,31.023268],[121.555765,31.022908],[121.558407,31.024528],[121.558254,31.029533],[121.559505,31.030278],[121.559464,31.041391],[121.562119,31.043635],[121.559811,31.044812],[121.557031,31.04798],[121.556127,31.047632],[121.554737,31.050824],[121.552693,31.0493],[121.550538,31.049396],[121.54955,31.047908],[121.547799,31.048544],[121.54588,31.047044],[121.541472,31.046396],[121.542307,31.049072],[121.540791,31.052528],[121.54328,31.054016],[121.543308,31.055696],[121.548383,31.056896],[121.547201,31.061647],[121.548549,31.063639],[121.551094,31.063795],[121.551789,31.065643],[121.556753,31.06737],[121.55279,31.069506],[121.555599,31.071689],[121.559033,31.072169],[121.557531,31.073357],[121.562675,31.074305],[121.56262,31.075121],[121.567639,31.0762],[121.575272,31.080063],[121.572658,31.081323],[121.571643,31.080063],[121.569766,31.081611],[121.563579,31.082486],[121.561563,31.08365],[121.557031,31.082702],[121.556405,31.081059],[121.553555,31.080303],[121.550565,31.082834],[121.548549,31.086889],[121.551539,31.088148],[121.551608,31.090128],[121.559088,31.091951],[121.561563,31.09357],[121.561855,31.091867],[121.564358,31.091891],[121.567264,31.09363],[121.566819,31.096569],[121.563315,31.098955],[121.562064,31.101258],[121.563649,31.101858],[121.561132,31.105264],[121.561396,31.106224],[121.557851,31.109797],[121.559867,31.111896],[121.556697,31.113083],[121.555279,31.114882],[121.553332,31.112688],[121.552317,31.113899],[121.549217,31.113419],[121.550426,31.11162],[121.547687,31.109653],[121.544225,31.111464],[121.542251,31.116153],[121.539526,31.115626],[121.537885,31.113983],[121.535341,31.117976],[121.532254,31.117208],[121.53142,31.11842],[121.525289,31.116741],[121.522869,31.115242],[121.521424,31.116309],[121.514513,31.115278],[121.513749,31.118012],[121.511343,31.12119],[121.50549,31.120002],[121.503863,31.118324],[121.505295,31.115494],[121.501583,31.114666],[121.498538,31.121501],[121.49281,31.118719],[121.490266,31.124283],[121.485969,31.124523],[121.485705,31.121933],[121.48191,31.120086],[121.481256,31.118024],[121.477446,31.117328],[121.481353,31.110697],[121.477321,31.110853],[121.474137,31.114354],[121.473984,31.112915],[121.470286,31.110937],[121.465211,31.1121],[121.463237,31.108586],[121.462862,31.101954],[121.455423,31.100755],[121.452629,31.101234],[121.451878,31.103849],[121.446275,31.105744],[121.447623,31.107423],[121.452364,31.108586],[121.450154,31.112819],[121.450807,31.115398],[121.446706,31.114282],[121.445788,31.114954],[121.441547,31.112568],[121.438002,31.1121],[121.435736,31.113539],[121.438836,31.119103],[121.43853,31.121729],[121.436445,31.129043],[121.421526,31.127137],[121.418398,31.131669],[121.41381,31.13728],[121.411293,31.14174],[121.404953,31.156689],[121.400977,31.155214],[121.401449,31.153776],[121.396931,31.152685],[121.395874,31.15585],[121.401867,31.157528],[121.404578,31.157588],[121.402645,31.162226],[121.394567,31.159601],[121.391508,31.168686],[121.394053,31.169489],[121.39269,31.173085],[121.395415,31.174595],[121.394442,31.177879],[121.398071,31.178226],[121.398349,31.179904],[121.400101,31.178813],[121.41146,31.182037],[121.415158,31.183391],[121.415256,31.187357],[121.41356,31.18683],[121.412572,31.19112],[121.391425,31.191911],[121.38001,31.190065],[121.365954,31.185572],[121.360253,31.185296],[121.358321,31.186015],[121.356958,31.182768],[121.353301,31.181629],[121.351424,31.183499],[121.341414,31.179436],[121.338341,31.180108],[121.331806,31.189622],[121.338049,31.192618],[121.33734,31.195817],[121.338925,31.196644],[121.338438,31.20666],[121.338508,31.212182],[121.339996,31.212278],[121.33937,31.216615],[121.342457,31.217789],[121.343096,31.223071],[121.345627,31.223526],[121.340997,31.224269],[121.341581,31.226293],[121.345362,31.227886],[121.345376,31.23039],[121.343513,31.234306],[121.338355,31.237528],[121.334935,31.235887],[121.333878,31.232006],[121.32612,31.229575],[121.322853,31.229623],[121.315386,31.227204],[121.302998,31.230605],[121.296922,31.231048],[121.29264,31.232761],[121.288538,31.238198],[121.287301,31.243276],[121.283742,31.245192],[121.28142,31.248174],[121.284228,31.251838],[121.280363,31.251886],[121.275302,31.253527],[121.271284,31.252258],[121.264444,31.256496],[121.263985,31.259155],[121.260217,31.258328],[121.254405,31.259634],[121.254183,31.258688],[121.247314,31.253287],[121.24591,31.248821],[121.241683,31.247348],[121.239932,31.241061],[121.241391,31.240222],[121.247912,31.240917],[121.249692,31.236534],[121.251082,31.238198],[121.252792,31.236965],[121.254155,31.23312],[121.257158,31.230701],[121.258006,31.226868],[121.256588,31.226329],[121.258215,31.222772],[121.25745,31.220208],[121.259675,31.218148],[121.261218,31.215081],[121.259397,31.212769],[121.263846,31.208912],[121.26468,31.206731],[121.263053,31.205701],[121.264777,31.203317],[121.266724,31.203257],[121.271701,31.198309],[121.277388,31.193576],[121.284034,31.194391],[121.287329,31.196332],[121.292126,31.200621],[121.292431,31.202514],[121.294837,31.203077],[121.297506,31.201412],[121.300565,31.197027],[121.30856,31.188388],[121.310784,31.18423],[121.316304,31.176836],[121.318042,31.173624],[121.318584,31.170256],[121.323854,31.162933],[121.327218,31.156856],[121.328775,31.156665],[121.331528,31.15205],[121.331292,31.149772],[121.333711,31.148765],[121.335477,31.143862],[121.336728,31.14355],[121.338814,31.14017],[121.33677,31.138971],[121.342095,31.134655],[121.344681,31.130338],[121.344014,31.129451],[121.346002,31.126202],[121.34489,31.12577],[121.347545,31.121969],[121.346753,31.121657],[121.349589,31.117748],[121.353065,31.117604],[121.35066,31.115554],[121.353774,31.111512],[121.356026,31.112532],[121.357014,31.110529],[121.352217,31.106487],[121.351675,31.107735],[121.348532,31.106655],[121.351341,31.099255],[121.35839,31.100791],[121.359085,31.098931],[121.362756,31.099771],[121.368289,31.088976],[121.372016,31.079871],[121.370625,31.078372],[121.368804,31.079127],[121.365481,31.077892],[121.364341,31.073705],[121.362116,31.072601],[121.364424,31.069878],[121.363743,31.068354],[121.357278,31.066758],[121.358195,31.064047],[121.35344,31.061287],[121.343444,31.059139],[121.341456,31.062763],[121.335338,31.060435],[121.335102,31.04564],[121.33367,31.040695],[121.334017,31.031922],[121.333308,31.030686],[121.333892,31.026917],[121.333725,31.015657],[121.333072,31.01334],[121.339898,31.013857],[121.34279,31.014817],[121.34425,31.013941],[121.339829,31.010267],[121.33823,31.006197],[121.330347,30.996905],[121.327482,30.995896],[121.326773,30.994479],[121.326898,30.989964],[121.3258,30.9833],[121.327371,30.980658],[121.329554,30.981318],[121.334406,30.980694],[121.34375,30.976599],[121.351258,30.975986],[121.35871,30.97786]]]]}},{"type":"Feature","properties":{"adcode":310113,"name":"宝山","center":[121.489934,31.398896],"centroid":[121.404861,31.392111],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":8,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.425252,31.270661],[121.424571,31.27193],[121.424432,31.280238],[121.422833,31.28426],[121.423806,31.291011],[121.419691,31.291071],[121.418648,31.292256],[121.420039,31.296912],[121.42364,31.297259],[121.426935,31.298528],[121.426434,31.303207],[121.431287,31.303638],[121.432441,31.305912],[121.431676,31.309478],[121.432163,31.31168],[121.434623,31.312303],[121.432468,31.318669],[121.433595,31.32087],[121.436459,31.32087],[121.436765,31.319662],[121.44672,31.319817],[121.447887,31.317101],[121.4547,31.319243],[121.457133,31.321002],[121.465378,31.321397],[121.468145,31.32032],[121.468312,31.316036],[121.472956,31.315797],[121.479171,31.314696],[121.485372,31.314636],[121.485413,31.311573],[121.496717,31.311489],[121.496216,31.323347],[121.498928,31.325322],[121.497593,31.328109],[121.493575,31.330299],[121.50556,31.345732],[121.517628,31.340779],[121.520256,31.344033],[121.522883,31.342885],[121.525483,31.346797],[121.514903,31.352],[121.508424,31.357251],[121.503835,31.36493],[121.50346,31.369403],[121.503835,31.373744],[121.507284,31.379102],[121.512372,31.385858],[121.521229,31.39479],[121.507353,31.405933],[121.509425,31.408288],[121.516585,31.405287],[121.517239,31.406303],[121.510801,31.409973],[121.502362,31.413404],[121.501319,31.411982],[121.507228,31.409722],[121.505991,31.407021],[121.49427,31.417851],[121.481339,31.427294],[121.463696,31.438277],[121.446024,31.450717],[121.434276,31.458496],[121.41869,31.470682],[121.409694,31.476321],[121.404328,31.479212],[121.403966,31.481494],[121.406288,31.485388],[121.405426,31.487215],[121.376298,31.501106],[121.362255,31.50679],[121.357751,31.508259],[121.343499,31.512057],[121.335838,31.508295],[121.329512,31.504247],[121.327218,31.504247],[121.323131,31.502288],[121.323701,31.499649],[121.319905,31.49972],[121.32003,31.502993],[121.321879,31.503399],[121.320169,31.505883],[121.316652,31.505775],[121.315345,31.501273],[121.311938,31.502909],[121.310353,31.505919],[121.305529,31.505333],[121.305876,31.503435],[121.302595,31.502599],[121.299926,31.499756],[121.300857,31.496747],[121.304667,31.495779],[121.306544,31.493307],[121.309171,31.492495],[121.31027,31.489735],[121.308629,31.488649],[121.310214,31.487311],[121.313342,31.480598],[121.315956,31.481219],[121.318807,31.475055],[121.31426,31.472474],[121.317958,31.468472],[121.320572,31.469058],[121.320058,31.466728],[121.317277,31.466262],[121.317778,31.460109],[121.320531,31.457289],[121.318654,31.456895],[121.319794,31.454876],[121.324132,31.455007],[121.327399,31.448829],[121.326106,31.448041],[121.328261,31.441098],[121.331236,31.439652],[121.333656,31.440118],[121.336603,31.432254],[121.336645,31.429493],[121.335143,31.429158],[121.336422,31.424999],[121.336561,31.419058],[121.33239,31.416943],[121.334101,31.413655],[121.332488,31.413117],[121.333141,31.410739],[121.330444,31.410308],[121.32847,31.411958],[121.314316,31.4072],[121.317375,31.403661],[121.315637,31.402729],[121.314747,31.398365],[121.317444,31.39742],[121.321476,31.397576],[121.323145,31.395866],[121.323339,31.393331],[121.320419,31.389123],[121.323061,31.388489],[121.326607,31.381063],[121.330527,31.381135],[121.331306,31.378456],[121.328734,31.377344],[121.331389,31.37433],[121.334003,31.37262],[121.333336,31.371281],[121.335991,31.370097],[121.335018,31.366963],[121.337576,31.364189],[121.338911,31.360995],[121.340329,31.360517],[121.341428,31.357802],[121.337118,31.356019],[121.337743,31.3534],[121.334643,31.3509],[121.332251,31.351307],[121.332502,31.347084],[121.336464,31.346821],[121.337521,31.344536],[121.338925,31.344775],[121.342401,31.341306],[121.344347,31.341928],[121.34628,31.336329],[121.342846,31.336066],[121.341692,31.33329],[121.342318,31.331005],[121.345932,31.32513],[121.347517,31.324077],[121.344848,31.323335],[121.345585,31.320835],[121.3492,31.321313],[121.347782,31.319542],[121.347698,31.316706],[121.343458,31.317185],[121.340357,31.311525],[121.338981,31.310101],[121.335686,31.303339],[121.331306,31.301436],[121.334198,31.296122],[121.33588,31.297044],[121.336506,31.294901],[121.338675,31.293225],[121.341011,31.293716],[121.340927,31.297439],[121.34685,31.297654],[121.346892,31.296349],[121.349659,31.297582],[121.348894,31.299246],[121.352954,31.301663],[121.354803,31.299808],[121.360309,31.302717],[121.363534,31.302741],[121.360295,31.294674],[121.358585,31.293465],[121.363785,31.292028],[121.363785,31.291334],[121.369666,31.28912],[121.370153,31.290329],[121.374838,31.289096],[121.376242,31.290592],[121.38154,31.289431],[121.381623,31.292711],[121.384765,31.294446],[121.388394,31.29526],[121.394762,31.294674],[121.393483,31.291274],[121.39789,31.29052],[121.399559,31.288904],[121.398446,31.287145],[121.400379,31.286115],[121.404453,31.286223],[121.400087,31.278071],[121.404564,31.276227],[121.406496,31.276862],[121.40544,31.273067],[121.41096,31.273175],[121.410598,31.270373],[121.41527,31.26914],[121.41577,31.265896],[121.419496,31.265237],[121.425252,31.270661]]]]}},{"type":"Feature","properties":{"adcode":310114,"name":"嘉定","center":[121.250333,31.383524],"centroid":[121.24439,31.358138],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":9,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.153743,31.276646],[121.153924,31.272061],[121.151783,31.267632],[121.155537,31.266147],[121.157845,31.270541],[121.161057,31.26762],[121.162614,31.269176],[121.167661,31.263944],[121.168036,31.259622],[121.170386,31.259119],[121.16894,31.256197],[121.171415,31.254928],[121.174251,31.256856],[121.176768,31.254605],[121.178798,31.255862],[121.17934,31.253419],[121.181537,31.254413],[121.183928,31.252246],[121.186444,31.252329],[121.188377,31.25476],[121.193021,31.253623],[121.193368,31.251455],[121.19626,31.251228],[121.19608,31.253395],[121.199848,31.255239],[121.203143,31.255814],[121.202865,31.257131],[121.206368,31.260065],[121.208482,31.25749],[121.209816,31.258017],[121.209761,31.260831],[121.212625,31.259837],[121.214182,31.254353],[121.221273,31.256293],[121.220216,31.257406],[121.223859,31.259035],[121.223539,31.260532],[121.229198,31.261717],[121.229087,31.262711],[121.235177,31.262699],[121.237693,31.262088],[121.242253,31.25937],[121.246577,31.259801],[121.246758,31.258448],[121.254183,31.258688],[121.254405,31.259634],[121.260217,31.258328],[121.263985,31.259155],[121.264444,31.256496],[121.271284,31.252258],[121.275302,31.253527],[121.280363,31.251886],[121.284228,31.251838],[121.28142,31.248174],[121.283742,31.245192],[121.287301,31.243276],[121.288538,31.238198],[121.29264,31.232761],[121.296922,31.231048],[121.302998,31.230605],[121.315386,31.227204],[121.322853,31.229623],[121.32612,31.229575],[121.333878,31.232006],[121.334935,31.235887],[121.338355,31.237528],[121.340872,31.239947],[121.345585,31.239887],[121.344612,31.243552],[121.346822,31.241037],[121.347281,31.243192],[121.348922,31.243863],[121.350131,31.241839],[121.348741,31.239372],[121.352856,31.238342],[121.354177,31.237121],[121.356054,31.237803],[121.356068,31.240151],[121.360086,31.240498],[121.36067,31.238642],[121.363117,31.240091],[121.366718,31.246342],[121.368387,31.247384],[121.372349,31.243755],[121.3731,31.245683],[121.375686,31.244486],[121.377216,31.247719],[121.380886,31.257766],[121.377508,31.259478],[121.375158,31.25949],[121.374574,31.257059],[121.365884,31.257682],[121.366023,31.259358],[121.361783,31.259945],[121.358918,31.263609],[121.35985,31.266997],[121.362227,31.26756],[121.366996,31.266662],[121.367441,31.269631],[121.361268,31.27084],[121.358918,31.268793],[121.35732,31.271415],[121.344723,31.273917],[121.343541,31.271439],[121.338272,31.272839],[121.338883,31.275006],[121.336228,31.275461],[121.336061,31.280046],[121.335004,31.279711],[121.332738,31.286067],[121.328998,31.284595],[121.327316,31.285182],[121.326384,31.288928],[121.332821,31.290915],[121.332224,31.292998],[121.336506,31.294901],[121.33588,31.297044],[121.334198,31.296122],[121.331306,31.301436],[121.335686,31.303339],[121.338981,31.310101],[121.340357,31.311525],[121.343458,31.317185],[121.347698,31.316706],[121.347782,31.319542],[121.3492,31.321313],[121.345585,31.320835],[121.344848,31.323335],[121.347517,31.324077],[121.345932,31.32513],[121.342318,31.331005],[121.341692,31.33329],[121.342846,31.336066],[121.34628,31.336329],[121.344347,31.341928],[121.342401,31.341306],[121.338925,31.344775],[121.337521,31.344536],[121.336464,31.346821],[121.332502,31.347084],[121.332251,31.351307],[121.334643,31.3509],[121.337743,31.3534],[121.337118,31.356019],[121.341428,31.357802],[121.340329,31.360517],[121.338911,31.360995],[121.337576,31.364189],[121.335018,31.366963],[121.335991,31.370097],[121.333336,31.371281],[121.334003,31.37262],[121.331389,31.37433],[121.328734,31.377344],[121.331306,31.378456],[121.330527,31.381135],[121.326607,31.381063],[121.323061,31.388489],[121.320419,31.389123],[121.323339,31.393331],[121.323145,31.395866],[121.321476,31.397576],[121.317444,31.39742],[121.314747,31.398365],[121.315637,31.402729],[121.317375,31.403661],[121.314316,31.4072],[121.32847,31.411958],[121.330444,31.410308],[121.333141,31.410739],[121.332488,31.413117],[121.334101,31.413655],[121.33239,31.416943],[121.336561,31.419058],[121.336422,31.424999],[121.335143,31.429158],[121.336645,31.429493],[121.336603,31.432254],[121.333656,31.440118],[121.331236,31.439652],[121.328261,31.441098],[121.326106,31.448041],[121.327399,31.448829],[121.324132,31.455007],[121.319794,31.454876],[121.318654,31.456895],[121.320531,31.457289],[121.317778,31.460109],[121.317277,31.466262],[121.320058,31.466728],[121.320572,31.469058],[121.317958,31.468472],[121.31426,31.472474],[121.318807,31.475055],[121.315956,31.481219],[121.313342,31.480598],[121.310214,31.487311],[121.308629,31.488649],[121.31027,31.489735],[121.309171,31.492495],[121.306544,31.493307],[121.304667,31.495779],[121.300857,31.496747],[121.300496,31.494537],[121.298563,31.493713],[121.298605,31.491515],[121.293488,31.489807],[121.29061,31.491694],[121.289387,31.489031],[121.285355,31.490679],[121.283686,31.489795],[121.279696,31.490404],[121.280321,31.488672],[121.276442,31.486654],[121.27622,31.485376],[121.272049,31.484337],[121.268879,31.487466],[121.267322,31.486224],[121.267433,31.483357],[121.265153,31.48313],[121.261732,31.480777],[121.261454,31.478854],[121.254794,31.477635],[121.255643,31.483632],[121.253627,31.483082],[121.253362,31.479809],[121.251221,31.479606],[121.249692,31.477623],[121.247064,31.477062],[121.245813,31.479881],[121.248176,31.481876],[121.244409,31.481183],[121.243797,31.487311],[121.241141,31.490906],[121.240877,31.493701],[121.237234,31.491957],[121.234746,31.492686],[121.235413,31.488099],[121.232994,31.487896],[121.22867,31.482127],[121.230839,31.481111],[121.230352,31.477432],[121.226209,31.477683],[121.225361,31.476022],[121.220731,31.47607],[121.219062,31.475222],[121.21364,31.475939],[121.21503,31.477528],[121.214377,31.479128],[121.206368,31.474995],[121.203421,31.472331],[121.202906,31.469356],[121.195051,31.467827],[121.186055,31.460814],[121.185457,31.457468],[121.186055,31.454362],[121.180814,31.451458],[121.174974,31.449295],[121.16983,31.450024],[121.16773,31.448315],[121.166048,31.450168],[121.163045,31.448865],[121.160917,31.449678],[121.147348,31.44393],[121.146569,31.439006],[121.14782,31.436186],[121.152492,31.433604],[121.158484,31.432254],[121.162711,31.432218],[121.16253,31.429565],[121.16431,31.427222],[121.162002,31.427951],[121.161362,31.425776],[121.155273,31.42574],[121.151157,31.421796],[121.146249,31.421078],[121.146208,31.419704],[121.149266,31.41913],[121.148905,31.415867],[121.153493,31.413679],[121.155523,31.413835],[121.154508,31.411575],[121.15886,31.410117],[121.157887,31.407893],[121.153104,31.405837],[121.153896,31.403685],[121.15049,31.402215],[121.149586,31.399381],[121.152742,31.398174],[121.147653,31.397325],[121.149475,31.394503],[121.14383,31.392327],[121.147097,31.3899],[121.148988,31.38691],[121.148432,31.385404],[121.141425,31.38355],[121.141049,31.384531],[121.137518,31.382785],[121.138408,31.381147],[121.131762,31.378815],[121.131247,31.379664],[121.124268,31.376722],[121.12328,31.37848],[121.118206,31.375837],[121.113757,31.37445],[121.11523,31.371137],[121.119082,31.370563],[121.120208,31.368674],[121.113173,31.36688],[121.112853,31.365133],[121.10928,31.364703],[121.10889,31.366509],[121.106958,31.366593],[121.106749,31.364535],[121.108251,31.360457],[121.107361,31.354763],[121.108418,31.354034],[121.10832,31.350649],[121.111157,31.351534],[121.111838,31.350517],[121.117246,31.351689],[121.120194,31.347562],[121.11733,31.34712],[121.117969,31.343447],[121.123948,31.342753],[121.130441,31.344213],[121.130816,31.341509],[121.130121,31.334702],[121.13115,31.332106],[121.132582,31.331962],[121.133305,31.325585],[121.131539,31.325441],[121.131637,31.32324],[121.127257,31.319315],[121.127076,31.316934],[121.128633,31.314265],[121.127966,31.311884],[121.129773,31.308306],[121.129134,31.307528],[121.129954,31.302597],[121.133778,31.30207],[121.139645,31.302992],[121.13895,31.305625],[121.143774,31.309706],[121.146903,31.305936],[121.150782,31.299018],[121.148933,31.298875],[121.152714,31.294075],[121.151282,31.291933],[121.154689,31.290053],[121.156399,31.287408],[121.159305,31.28766],[121.161293,31.283985],[121.159402,31.281579],[121.155537,31.280765],[121.155481,31.278442],[121.153743,31.276646]]]]}},{"type":"Feature","properties":{"adcode":310115,"name":"浦东新","center":[121.567706,31.245944],"centroid":[121.742177,31.083823],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":10,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.570475,30.998345],[121.576746,30.999474],[121.582933,30.999498],[121.584309,31.000819],[121.594682,31.000699],[121.595585,31.002043],[121.604066,31.001131],[121.614717,31.001251],[121.61772,30.995692],[121.62057,30.992678],[121.646695,30.99335],[121.654536,30.993254],[121.663115,30.992714],[121.669525,30.991609],[121.673348,30.989832],[121.674558,30.991802],[121.683595,30.989808],[121.688086,30.990145],[121.69298,30.98934],[121.699459,30.987419],[121.705507,30.984981],[121.712792,30.980934],[121.73191,30.967784],[121.733954,30.964469],[121.737916,30.960637],[121.73686,30.958703],[121.739988,30.956721],[121.743742,30.956589],[121.747857,30.951893],[121.749234,30.953046],[121.751987,30.952721],[121.759286,30.949154],[121.761024,30.947604],[121.760927,30.944613],[121.764542,30.941766],[121.761677,30.940132],[121.761469,30.938414],[121.764277,30.938522],[121.763846,30.936852],[121.766432,30.936539],[121.76799,30.93833],[121.769769,30.935278],[121.773023,30.933932],[121.77337,30.931553],[121.777806,30.931025],[121.777653,30.926723],[121.781115,30.917567],[121.780239,30.911811],[121.77896,30.910116],[121.778334,30.903807],[121.778987,30.899468],[121.778807,30.894588],[121.776012,30.886426],[121.776679,30.881005],[121.773134,30.880596],[121.772481,30.875703],[121.771605,30.875427],[121.768143,30.863272],[121.769338,30.85043],[121.793767,30.816862],[121.904467,30.814155],[121.915284,30.812892],[121.9246,30.8066],[121.943689,30.777096],[121.969703,30.789202],[121.955466,30.817138],[121.954326,30.821409],[121.954715,30.825811],[121.970732,30.839077],[121.985372,30.850694],[121.993951,30.863055],[121.996982,30.874898],[121.998497,30.899961],[121.996231,30.935458],[121.990934,30.968432],[121.977558,31.016101],[121.962682,31.047284],[121.94679,31.065883],[121.889465,31.121705],[121.884029,31.130638],[121.853358,31.155346],[121.809812,31.196907],[121.743742,31.283207],[121.729101,31.298288],[121.722511,31.303518],[121.712431,31.309407],[121.689448,31.322462],[121.610559,31.368195],[121.603038,31.372656],[121.593708,31.376411],[121.559811,31.38361],[121.538011,31.388489],[121.521229,31.39479],[121.512372,31.385858],[121.507284,31.379102],[121.503835,31.373744],[121.50346,31.369403],[121.503835,31.36493],[121.508424,31.357251],[121.514903,31.352],[121.525483,31.346797],[121.549398,31.337789],[121.555779,31.333948],[121.558574,31.331256],[121.560493,31.32781],[121.561883,31.321158],[121.561758,31.303339],[121.562523,31.29976],[121.565456,31.294135],[121.569141,31.285254],[121.56953,31.279567],[121.568515,31.275701],[121.563537,31.268805],[121.559074,31.264219],[121.541542,31.251826],[121.536384,31.249623],[121.527555,31.247252],[121.516488,31.246953],[121.50688,31.246474],[121.500012,31.244989],[121.494826,31.24221],[121.493491,31.240163],[121.493491,31.23615],[121.495744,31.232977],[121.502014,31.228018],[121.506741,31.223119],[121.509397,31.218459],[121.509911,31.214506],[121.508368,31.210158],[121.501319,31.199747],[121.498066,31.195601],[121.494631,31.192857],[121.490752,31.191467],[121.475987,31.187885],[121.468729,31.184122],[121.466254,31.18109],[121.464905,31.178022],[121.464905,31.17541],[121.468159,31.167092],[121.469369,31.162298],[121.468354,31.158091],[121.46574,31.155118],[121.460387,31.150276],[121.457453,31.146451],[121.457453,31.142232],[121.462431,31.134463],[121.468729,31.127868],[121.469674,31.124859],[121.469299,31.118731],[121.465211,31.1121],[121.470286,31.110937],[121.473984,31.112915],[121.474137,31.114354],[121.477321,31.110853],[121.481353,31.110697],[121.477446,31.117328],[121.481256,31.118024],[121.48191,31.120086],[121.485705,31.121933],[121.485969,31.124523],[121.490266,31.124283],[121.49281,31.118719],[121.498538,31.121501],[121.501583,31.114666],[121.505295,31.115494],[121.503863,31.118324],[121.50549,31.120002],[121.511343,31.12119],[121.513749,31.118012],[121.514513,31.115278],[121.521424,31.116309],[121.522869,31.115242],[121.525289,31.116741],[121.53142,31.11842],[121.532254,31.117208],[121.535341,31.117976],[121.537885,31.113983],[121.539526,31.115626],[121.542251,31.116153],[121.544225,31.111464],[121.547687,31.109653],[121.550426,31.11162],[121.549217,31.113419],[121.552317,31.113899],[121.553332,31.112688],[121.555279,31.114882],[121.556697,31.113083],[121.559867,31.111896],[121.557851,31.109797],[121.561396,31.106224],[121.561132,31.105264],[121.563649,31.101858],[121.562064,31.101258],[121.563315,31.098955],[121.566819,31.096569],[121.567264,31.09363],[121.564358,31.091891],[121.561855,31.091867],[121.561563,31.09357],[121.559088,31.091951],[121.551608,31.090128],[121.551539,31.088148],[121.548549,31.086889],[121.550565,31.082834],[121.553555,31.080303],[121.556405,31.081059],[121.557031,31.082702],[121.561563,31.08365],[121.563579,31.082486],[121.569766,31.081611],[121.571643,31.080063],[121.572658,31.081323],[121.575272,31.080063],[121.567639,31.0762],[121.56262,31.075121],[121.562675,31.074305],[121.557531,31.073357],[121.559033,31.072169],[121.555599,31.071689],[121.55279,31.069506],[121.556753,31.06737],[121.551789,31.065643],[121.551094,31.063795],[121.548549,31.063639],[121.547201,31.061647],[121.548383,31.056896],[121.543308,31.055696],[121.54328,31.054016],[121.540791,31.052528],[121.542307,31.049072],[121.541472,31.046396],[121.54588,31.047044],[121.547799,31.048544],[121.54955,31.047908],[121.550538,31.049396],[121.552693,31.0493],[121.554737,31.050824],[121.556127,31.047632],[121.557031,31.04798],[121.559811,31.044812],[121.562119,31.043635],[121.559464,31.041391],[121.559505,31.030278],[121.558254,31.029533],[121.558407,31.024528],[121.555765,31.022908],[121.552804,31.023268],[121.552262,31.020915],[121.554139,31.01861],[121.556516,31.01873],[121.556474,31.020255],[121.558699,31.020255],[121.56027,31.024132],[121.564302,31.021191],[121.569057,31.024396],[121.56839,31.025284],[121.572325,31.026677],[121.574758,31.020951],[121.574674,31.018634],[121.571018,31.016426],[121.569822,31.012452],[121.565859,31.011912],[121.568181,31.010063],[121.569725,31.010603],[121.571463,31.005633],[121.570253,31.004565],[121.570712,31.002295],[121.567959,31.000879],[121.570475,30.998345]]],[[[121.943244,31.215465],[121.941826,31.207678],[121.942619,31.198465],[121.944843,31.186878],[121.948027,31.176405],[121.952629,31.1672],[121.959637,31.159278],[121.965685,31.15754],[121.970773,31.157552],[121.975862,31.158834],[121.99573,31.1608],[121.999554,31.165079],[122.010593,31.188004],[122.012011,31.192043],[122.012609,31.210002],[122.011038,31.217405],[122.008563,31.220987],[121.989655,31.224521],[121.980659,31.22809],[121.969188,31.230282],[121.957259,31.230414],[121.951044,31.228821],[121.946595,31.224365],[121.943244,31.215465]]],[[[121.882625,31.240857],[121.880873,31.23633],[121.882541,31.225611],[121.885155,31.22052],[121.889271,31.214997],[121.901645,31.20146],[121.908777,31.195266],[121.913852,31.19384],[121.918788,31.194319],[121.922445,31.196859],[121.925448,31.205438],[121.927519,31.224017],[121.926727,31.229731],[121.923557,31.233863],[121.915451,31.236558],[121.897363,31.242115],[121.88991,31.242594],[121.882625,31.240857]]]]}},{"type":"Feature","properties":{"adcode":310116,"name":"金山","center":[121.330736,30.724697],"centroid":[121.255144,30.818932],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":11,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[120.99673,30.950307],[120.996813,30.944625],[120.995673,30.944336],[120.997481,30.941141],[121.000818,30.937729],[121.000025,30.934701],[120.999622,30.91395],[120.998982,30.909527],[121.004572,30.909299],[121.004516,30.906955],[121.00257,30.904852],[120.998704,30.905946],[120.998635,30.903386],[120.995715,30.903723],[120.992809,30.90216],[120.992656,30.899732],[120.99046,30.89579],[120.992907,30.893915],[120.993824,30.88966],[121.005017,30.888794],[121.00852,30.888121],[121.008298,30.882964],[121.011092,30.882219],[121.017474,30.882724],[121.0186,30.880716],[121.021465,30.878793],[121.019421,30.876665],[121.021896,30.875162],[121.019796,30.873996],[121.020463,30.87188],[121.01778,30.873359],[121.014819,30.871027],[121.01778,30.86938],[121.013971,30.86439],[121.016265,30.862851],[121.015403,30.86053],[121.010981,30.856033],[121.015013,30.853604],[121.013359,30.851692],[121.010133,30.853135],[121.008006,30.850574],[121.006463,30.850454],[121.003974,30.846101],[121.000985,30.845632],[120.9999,30.843335],[120.997759,30.84408],[120.995659,30.838572],[120.992865,30.838392],[120.989987,30.834724],[120.989125,30.832318],[120.992462,30.831572],[120.989153,30.828698],[120.992754,30.825691],[120.990918,30.822708],[120.994603,30.821493],[121.00054,30.829431],[121.003446,30.826304],[121.006935,30.830779],[121.010898,30.834615],[121.014402,30.835818],[121.014874,30.833954],[121.030057,30.828553],[121.036647,30.818449],[121.037912,30.81389],[121.044976,30.815526],[121.043752,30.820013],[121.03908,30.818582],[121.03769,30.820266],[121.039192,30.820867],[121.040276,30.82438],[121.04175,30.825378],[121.039956,30.827218],[121.043516,30.828157],[121.045101,30.825907],[121.048896,30.825186],[121.046755,30.831091],[121.056335,30.835602],[121.062049,30.83779],[121.060228,30.842793],[121.061674,30.843383],[121.06052,30.845187],[121.066999,30.84877],[121.080471,30.848746],[121.097712,30.857103],[121.097684,30.854927],[121.102272,30.850261],[121.104789,30.849335],[121.110906,30.851416],[121.113159,30.854049],[121.114744,30.851476],[121.120055,30.849119],[121.121153,30.850165],[121.123545,30.847267],[121.12025,30.843299],[121.119832,30.83773],[121.117747,30.835301],[121.120639,30.836335],[121.127688,30.83565],[121.129982,30.834892],[121.131609,30.83601],[121.134612,30.833028],[121.132916,30.831608],[121.134264,30.828505],[121.136239,30.827868],[121.13742,30.829985],[121.13742,30.825029],[121.132373,30.819279],[121.130218,30.815574],[121.128202,30.810221],[121.126047,30.79304],[121.126576,30.788998],[121.125255,30.788179],[121.120041,30.788552],[121.117219,30.786073],[121.12342,30.77895],[121.127521,30.778673],[121.131817,30.777313],[121.13603,30.777337],[121.1387,30.77842],[121.140618,30.776928],[121.144122,30.779479],[121.152687,30.778974],[121.155815,30.777205],[121.160681,30.776579],[121.160737,30.773221],[121.163434,30.775279],[121.168968,30.775953],[121.170789,30.777084],[121.170984,30.774677],[121.174668,30.772018],[121.179965,30.774376],[121.183441,30.775038],[121.185791,30.776651],[121.186361,30.779034],[121.189517,30.778974],[121.190963,30.781092],[121.191839,30.778853],[121.196956,30.773354],[121.20032,30.773618],[121.199166,30.780755],[121.200098,30.783294],[121.205534,30.785905],[121.213723,30.785929],[121.217992,30.784954],[121.2234,30.775977],[121.224624,30.776976],[121.226209,30.775087],[121.226918,30.770826],[121.229115,30.767974],[121.230686,30.763737],[121.232298,30.755817],[121.23729,30.752651],[121.243102,30.750533],[121.244756,30.749185],[121.256393,30.743948],[121.261343,30.738217],[121.266835,30.733498],[121.26817,30.734931],[121.271451,30.73227],[121.269755,30.730729],[121.271451,30.726948],[121.270339,30.725864],[121.272035,30.723252],[121.270102,30.72047],[121.270339,30.716894],[121.267057,30.715039],[121.268448,30.712149],[121.265862,30.709488],[121.266668,30.706296],[121.268031,30.706103],[121.268656,30.702129],[121.270672,30.701563],[121.270422,30.69807],[121.271604,30.69689],[121.274649,30.6774],[121.291041,30.678328],[121.326718,30.67593],[121.346642,30.675593],[121.35433,30.676991],[121.361894,30.67952],[121.406997,30.718086],[121.426365,30.730283],[121.478767,30.756347],[121.465072,30.776483],[121.451711,30.798323],[121.44672,30.805577],[121.445427,30.804868],[121.441645,30.806829],[121.437029,30.818101],[121.425989,30.81869],[121.420525,30.819797],[121.419288,30.81602],[121.415131,30.815803],[121.41552,30.819941],[121.414171,30.821757],[121.41235,30.821505],[121.404786,30.823081],[121.400991,30.827399],[121.400685,30.830105],[121.403632,30.829877],[121.404202,30.833797],[121.399712,30.834182],[121.397376,30.833292],[121.396986,30.827988],[121.392051,30.82782],[121.391717,30.829913],[121.387588,30.829864],[121.387588,30.832799],[121.383764,30.833906],[121.379259,30.840112],[121.379065,30.843238],[121.385446,30.843178],[121.384918,30.848073],[121.383722,30.851765],[121.384376,30.856238],[121.383472,30.859232],[121.384001,30.863488],[121.381929,30.863765],[121.381873,30.867324],[121.38286,30.869043],[121.382791,30.874489],[121.381498,30.876605],[121.382207,30.878961],[121.377535,30.879983],[121.371751,30.883698],[121.370166,30.883914],[121.367233,30.886667],[121.36327,30.886955],[121.361185,30.892977],[121.360476,30.897785],[121.358418,30.900598],[121.35668,30.908614],[121.351814,30.913217],[121.350604,30.911402],[121.347573,30.913145],[121.343819,30.909119],[121.340162,30.908554],[121.336631,30.906739],[121.334657,30.907737],[121.331097,30.907508],[121.327635,30.91014],[121.325939,30.908962],[121.321518,30.908986],[121.320127,30.91109],[121.314608,30.909143],[121.313829,30.910717],[121.306808,30.910212],[121.306502,30.912123],[121.303721,30.912099],[121.303443,30.909287],[121.301775,30.908458],[121.29848,30.909744],[121.296269,30.914959],[121.294809,30.914947],[121.294948,30.918504],[121.288844,30.916894],[121.288705,30.909912],[121.290068,30.909804],[121.291013,30.902677],[121.290151,30.900021],[121.288719,30.899961],[121.288413,30.896066],[121.285799,30.895429],[121.285257,30.896631],[121.28231,30.896571],[121.282073,30.894804],[121.27964,30.894456],[121.279098,30.897112],[121.274663,30.896078],[121.27298,30.900405],[121.270422,30.900165],[121.269046,30.901679],[121.266168,30.901715],[121.266932,30.906258],[121.262525,30.906835],[121.262122,30.908097],[121.258952,30.907208],[121.255893,30.907977],[121.255226,30.909551],[121.246619,30.9099],[121.243686,30.917855],[121.245507,30.917074],[121.244589,30.920307],[121.242935,30.91991],[121.240655,30.925149],[121.238166,30.924861],[121.234773,30.925978],[121.234495,30.928562],[121.227335,30.926783],[121.222997,30.930748],[121.218145,30.927684],[121.211026,30.92128],[121.207522,30.919886],[121.194828,30.917314],[121.187765,30.916593],[121.186472,30.915404],[121.174654,30.915115],[121.171262,30.914683],[121.16691,30.916978],[121.164616,30.919934],[121.158206,30.920295],[121.156746,30.918961],[121.156288,30.912616],[121.156649,30.909972],[121.152895,30.9102],[121.149836,30.912616],[121.142162,30.915596],[121.143246,30.918108],[121.139061,30.91961],[121.13742,30.913349],[121.14009,30.910332],[121.139673,30.907388],[121.14098,30.904984],[121.141258,30.901331],[121.134417,30.901812],[121.131706,30.899732],[121.130163,30.902593],[121.123545,30.902857],[121.122224,30.901114],[121.118164,30.901487],[121.113451,30.897425],[121.111087,30.899228],[121.110851,30.90103],[121.113506,30.903602],[121.117802,30.910705],[121.119346,30.911991],[121.121445,30.919958],[121.114591,30.921676],[121.110962,30.921749],[121.105122,30.920138],[121.104358,30.922758],[121.100395,30.926459],[121.091358,30.916185],[121.089022,30.915296],[121.089092,30.911979],[121.093805,30.909708],[121.096196,30.910332],[121.098782,30.906607],[121.097128,30.903206],[121.09425,30.902545],[121.094347,30.904804],[121.091664,30.90341],[121.083725,30.905285],[121.081806,30.904251],[121.080833,30.905946],[121.072421,30.904924],[121.072491,30.903182],[121.068973,30.902124],[121.067944,30.904504],[121.056529,30.90335],[121.053026,30.903374],[121.045184,30.901896],[121.04232,30.899408],[121.040874,30.900706],[121.040332,30.904504],[121.038788,30.902148],[121.034395,30.902737],[121.034659,30.90615],[121.025288,30.909059],[121.024885,30.911618],[121.025872,30.91675],[121.028319,30.922602],[121.028694,30.92754],[121.031503,30.936083],[121.031851,30.939771],[121.029612,30.941874],[121.02989,30.944457],[121.028041,30.94394],[121.019462,30.941165],[121.016932,30.941333],[121.017697,30.939219],[121.015291,30.940288],[121.013831,30.944168],[121.011607,30.943604],[121.011079,30.947184],[121.013345,30.946811],[121.015361,30.948169],[121.010175,30.950727],[121.00763,30.947628],[121.002653,30.947015],[121.002055,30.95104],[120.99673,30.950307]]],[[[121.426671,30.682183],[121.426796,30.680315],[121.428589,30.681749],[121.426671,30.682183]]],[[[121.422458,30.691482],[121.419469,30.691626],[121.419482,30.689856],[121.425364,30.687374],[121.428909,30.689109],[121.426615,30.691277],[121.422458,30.691482]]],[[[121.406775,30.704995],[121.406622,30.703093],[121.409291,30.704514],[121.406775,30.704995]]]]}},{"type":"Feature","properties":{"adcode":310117,"name":"松江","center":[121.223543,31.03047],"centroid":[121.220231,31.015194],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":12,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.323854,31.162933],[121.322491,31.162394],[121.320934,31.158487],[121.318056,31.157564],[121.316221,31.160189],[121.301441,31.15549],[121.295435,31.15392],[121.287134,31.152313],[121.285438,31.153452],[121.28313,31.152158],[121.283825,31.150839],[121.28028,31.150539],[121.277763,31.152265],[121.278723,31.14825],[121.276415,31.145852],[121.277012,31.144174],[121.279293,31.145708],[121.281781,31.142016],[121.284173,31.142627],[121.287482,31.139954],[121.280989,31.133252],[121.265737,31.136393],[121.26557,31.134787],[121.263623,31.135422],[121.26062,31.132269],[121.261607,31.127173],[121.257965,31.127077],[121.258048,31.132353],[121.25378,31.13264],[121.246995,31.134163],[121.245479,31.130758],[121.239348,31.129955],[121.245326,31.129295],[121.244534,31.125398],[121.239848,31.126238],[121.236831,31.125698],[121.235816,31.118959],[121.233884,31.117316],[121.224095,31.115146],[121.221301,31.115074],[121.221732,31.119931],[121.223581,31.126442],[121.226765,31.134139],[121.227988,31.139091],[121.22055,31.138383],[121.208287,31.135686],[121.206174,31.138299],[121.200348,31.137832],[121.201627,31.140937],[121.199653,31.139582],[121.194717,31.138179],[121.181968,31.143478],[121.181662,31.131777],[121.179868,31.131873],[121.180341,31.127425],[121.181842,31.126957],[121.181815,31.124295],[121.183858,31.124295],[121.183817,31.118695],[121.178839,31.117149],[121.17642,31.119007],[121.174321,31.117868],[121.17521,31.115242],[121.172986,31.114091],[121.174487,31.108538],[121.170497,31.109054],[121.170567,31.107819],[121.166451,31.10831],[121.166799,31.104293],[121.1652,31.104269],[121.165492,31.101438],[121.159569,31.100539],[121.154397,31.101846],[121.154341,31.098884],[121.156788,31.098943],[121.156733,31.09315],[121.155384,31.093162],[121.155161,31.090475],[121.153465,31.09014],[121.152867,31.092035],[121.151157,31.091651],[121.149461,31.095297],[121.14586,31.093954],[121.144483,31.097456],[121.141897,31.096893],[121.141605,31.09868],[121.135766,31.09808],[121.133319,31.099075],[121.131942,31.10205],[121.130691,31.100527],[121.127688,31.103309],[121.125505,31.103369],[121.120959,31.107747],[121.117733,31.108874],[121.11612,31.110973],[121.114368,31.109797],[121.112589,31.111932],[121.108751,31.107159],[121.103551,31.102638],[121.103843,31.100539],[121.100618,31.098428],[121.097976,31.099339],[121.099853,31.096593],[121.099519,31.094158],[121.097601,31.093534],[121.10084,31.088688],[121.099408,31.085941],[121.100687,31.080939],[121.102912,31.080219],[121.107264,31.082115],[121.112603,31.077628],[121.117121,31.075624],[121.118386,31.075948],[121.121543,31.07019],[121.122238,31.067178],[121.126228,31.06665],[121.126395,31.059811],[121.127757,31.059751],[121.12588,31.057376],[121.120708,31.057268],[121.117997,31.058407],[121.118206,31.056068],[121.10864,31.05662],[121.10839,31.057939],[121.101813,31.05728],[121.101146,31.053644],[121.098337,31.05662],[121.094639,31.056332],[121.093012,31.058443],[121.094542,31.061899],[121.092929,31.064539],[121.088202,31.064671],[121.085935,31.062847],[121.086519,31.061167],[121.08442,31.058779],[121.080972,31.056896],[121.082404,31.054208],[121.085866,31.050224],[121.087159,31.052948],[121.089926,31.05194],[121.090259,31.048136],[121.09621,31.044812],[121.09311,31.040719],[121.095863,31.040479],[121.097767,31.038871],[121.100284,31.03341],[121.099936,31.031202],[121.096975,31.031454],[121.096405,31.026437],[121.091177,31.025933],[121.089509,31.027901],[121.085532,31.0255],[121.093026,31.020207],[121.10205,31.011756],[121.104205,31.007998],[121.104107,30.99508],[121.100145,30.994935],[121.099227,30.981979],[121.099686,30.980994],[121.099172,30.973068],[121.095557,30.974245],[121.095779,30.968408],[121.097489,30.965634],[121.093555,30.964673],[121.088035,30.964168],[121.088174,30.962151],[121.081236,30.962283],[121.080736,30.960181],[121.078539,30.960025],[121.079109,30.958283],[121.076634,30.957574],[121.076495,30.955809],[121.07231,30.955088],[121.065344,30.95516],[121.060339,30.956517],[121.059505,30.959184],[121.056891,30.96191],[121.05735,30.965346],[121.053262,30.964445],[121.051024,30.969369],[121.047409,30.969033],[121.0467,30.970246],[121.043112,30.969429],[121.045949,30.963448],[121.042626,30.960433],[121.043516,30.957514],[121.040401,30.956493],[121.036258,30.957094],[121.034659,30.952974],[121.033213,30.947111],[121.027902,30.945826],[121.028041,30.94394],[121.02989,30.944457],[121.029612,30.941874],[121.031851,30.939771],[121.031503,30.936083],[121.028694,30.92754],[121.028319,30.922602],[121.025872,30.91675],[121.024885,30.911618],[121.025288,30.909059],[121.034659,30.90615],[121.034395,30.902737],[121.038788,30.902148],[121.040332,30.904504],[121.040874,30.900706],[121.04232,30.899408],[121.045184,30.901896],[121.053026,30.903374],[121.056529,30.90335],[121.067944,30.904504],[121.068973,30.902124],[121.072491,30.903182],[121.072421,30.904924],[121.080833,30.905946],[121.081806,30.904251],[121.083725,30.905285],[121.091664,30.90341],[121.094347,30.904804],[121.09425,30.902545],[121.097128,30.903206],[121.098782,30.906607],[121.096196,30.910332],[121.093805,30.909708],[121.089092,30.911979],[121.089022,30.915296],[121.091358,30.916185],[121.100395,30.926459],[121.104358,30.922758],[121.105122,30.920138],[121.110962,30.921749],[121.114591,30.921676],[121.121445,30.919958],[121.119346,30.911991],[121.117802,30.910705],[121.113506,30.903602],[121.110851,30.90103],[121.111087,30.899228],[121.113451,30.897425],[121.118164,30.901487],[121.122224,30.901114],[121.123545,30.902857],[121.130163,30.902593],[121.131706,30.899732],[121.134417,30.901812],[121.141258,30.901331],[121.14098,30.904984],[121.139673,30.907388],[121.14009,30.910332],[121.13742,30.913349],[121.139061,30.91961],[121.143246,30.918108],[121.142162,30.915596],[121.149836,30.912616],[121.152895,30.9102],[121.156649,30.909972],[121.156288,30.912616],[121.156746,30.918961],[121.158206,30.920295],[121.164616,30.919934],[121.16691,30.916978],[121.171262,30.914683],[121.174654,30.915115],[121.186472,30.915404],[121.187765,30.916593],[121.194828,30.917314],[121.207522,30.919886],[121.211026,30.92128],[121.218145,30.927684],[121.222997,30.930748],[121.227335,30.926783],[121.234495,30.928562],[121.234773,30.925978],[121.238166,30.924861],[121.240655,30.925149],[121.242935,30.91991],[121.244589,30.920307],[121.245507,30.917074],[121.243686,30.917855],[121.246619,30.9099],[121.255226,30.909551],[121.255893,30.907977],[121.258952,30.907208],[121.262122,30.908097],[121.262525,30.906835],[121.266932,30.906258],[121.266168,30.901715],[121.269046,30.901679],[121.270422,30.900165],[121.27298,30.900405],[121.274663,30.896078],[121.279098,30.897112],[121.27964,30.894456],[121.282073,30.894804],[121.28231,30.896571],[121.285257,30.896631],[121.285799,30.895429],[121.288413,30.896066],[121.288719,30.899961],[121.290151,30.900021],[121.291013,30.902677],[121.290068,30.909804],[121.288705,30.909912],[121.288844,30.916894],[121.294948,30.918504],[121.294809,30.914947],[121.296269,30.914959],[121.29848,30.909744],[121.301775,30.908458],[121.303443,30.909287],[121.303721,30.912099],[121.306502,30.912123],[121.306808,30.910212],[121.313829,30.910717],[121.314608,30.909143],[121.320127,30.91109],[121.321518,30.908986],[121.325939,30.908962],[121.327635,30.91014],[121.331097,30.907508],[121.334657,30.907737],[121.336631,30.906739],[121.340162,30.908554],[121.343819,30.909119],[121.347573,30.913145],[121.350604,30.911402],[121.351814,30.913217],[121.355081,30.916341],[121.356054,30.919742],[121.355373,30.921388],[121.352161,30.923803],[121.352203,30.928213],[121.35116,30.930628],[121.355679,30.932058],[121.354706,30.933512],[121.357361,30.933632],[121.359336,30.935086],[121.362658,30.934761],[121.362408,30.939122],[121.361129,30.944048],[121.363868,30.945165],[121.365467,30.947232],[121.362478,30.948901],[121.362255,30.9517],[121.363117,30.956109],[121.362853,30.959544],[121.36099,30.965574],[121.361435,30.970438],[121.359961,30.976251],[121.35871,30.97786],[121.351258,30.975986],[121.34375,30.976599],[121.334406,30.980694],[121.329554,30.981318],[121.327371,30.980658],[121.3258,30.9833],[121.326898,30.989964],[121.326773,30.994479],[121.327482,30.995896],[121.330347,30.996905],[121.33823,31.006197],[121.339829,31.010267],[121.34425,31.013941],[121.34279,31.014817],[121.339898,31.013857],[121.333072,31.01334],[121.333725,31.015657],[121.333892,31.026917],[121.333308,31.030686],[121.334017,31.031922],[121.33367,31.040695],[121.335102,31.04564],[121.335338,31.060435],[121.341456,31.062763],[121.343444,31.059139],[121.35344,31.061287],[121.358195,31.064047],[121.357278,31.066758],[121.363743,31.068354],[121.364424,31.069878],[121.362116,31.072601],[121.364341,31.073705],[121.365481,31.077892],[121.368804,31.079127],[121.370625,31.078372],[121.372016,31.079871],[121.368289,31.088976],[121.362756,31.099771],[121.359085,31.098931],[121.35839,31.100791],[121.351341,31.099255],[121.348532,31.106655],[121.351675,31.107735],[121.352217,31.106487],[121.357014,31.110529],[121.356026,31.112532],[121.353774,31.111512],[121.35066,31.115554],[121.353065,31.117604],[121.349589,31.117748],[121.346753,31.121657],[121.347545,31.121969],[121.34489,31.12577],[121.346002,31.126202],[121.344014,31.129451],[121.344681,31.130338],[121.342095,31.134655],[121.33677,31.138971],[121.338814,31.14017],[121.336728,31.14355],[121.335477,31.143862],[121.333711,31.148765],[121.331292,31.149772],[121.331528,31.15205],[121.328775,31.156665],[121.327218,31.156856],[121.323854,31.162933]]]]}},{"type":"Feature","properties":{"adcode":310118,"name":"青浦","center":[121.113021,31.151209],"centroid":[121.085188,31.124681],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":13,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.153743,31.276646],[121.150392,31.275437],[121.142996,31.275473],[121.142885,31.277664],[121.141161,31.276742],[121.137601,31.277592],[121.138032,31.278753],[121.131678,31.281363],[121.131053,31.280106],[121.127215,31.281207],[121.124323,31.283111],[121.125018,31.284404],[121.120361,31.286151],[121.11929,31.285122],[121.114994,31.285265],[121.111115,31.281746],[121.106666,31.276706],[121.103829,31.27533],[121.105442,31.273654],[121.09881,31.276251],[121.095404,31.287001],[121.093096,31.28821],[121.090134,31.291909],[121.086909,31.291717],[121.087326,31.290664],[121.084698,31.2876],[121.081361,31.277257],[121.084545,31.275713],[121.082154,31.271535],[121.080416,31.270158],[121.072741,31.26914],[121.068695,31.268098],[121.063245,31.267907],[121.061952,31.257945],[121.060979,31.246486],[121.057669,31.246749],[121.061646,31.24524],[121.064343,31.246138],[121.063565,31.242222],[121.063898,31.238438],[121.061243,31.237827],[121.062605,31.234689],[121.06458,31.232965],[121.067388,31.232929],[121.06718,31.230917],[121.064649,31.230785],[121.064719,31.227275],[121.0628,31.226964],[121.062633,31.224664],[121.065608,31.211871],[121.067805,31.201005],[121.069209,31.196524],[121.066609,31.197183],[121.06679,31.194966],[121.069599,31.195314],[121.070113,31.193612],[121.072185,31.193169],[121.07256,31.191527],[121.070614,31.1913],[121.07035,31.188735],[121.071684,31.185955],[121.068751,31.184889],[121.069474,31.182888],[121.074993,31.184386],[121.075591,31.182852],[121.071225,31.181462],[121.071406,31.179472],[121.074229,31.176225],[121.075424,31.173444],[121.072532,31.172701],[121.072379,31.169609],[121.075466,31.170316],[121.077371,31.16454],[121.07313,31.163257],[121.0737,31.161711],[121.076787,31.162622],[121.07605,31.160536],[121.077023,31.158451],[121.073839,31.157072],[121.072046,31.153512],[121.067777,31.152289],[121.069126,31.148705],[121.06572,31.148597],[121.066067,31.150947],[121.064135,31.150839],[121.062564,31.153129],[121.057378,31.152781],[121.055834,31.150659],[121.050273,31.150719],[121.049133,31.154615],[121.04542,31.154028],[121.045254,31.151582],[121.041472,31.14982],[121.041541,31.146931],[121.044781,31.145528],[121.041819,31.138899],[121.038649,31.136909],[121.036258,31.137376],[121.036119,31.140325],[121.033088,31.142208],[121.028778,31.141249],[121.028375,31.143874],[121.02672,31.143766],[121.025677,31.140769],[121.022271,31.140457],[121.022813,31.138311],[121.018489,31.134103],[121.007269,31.13342],[120.991252,31.13318],[120.983911,31.131705],[120.952642,31.138251],[120.93034,31.141404],[120.916923,31.136189],[120.905397,31.134211],[120.89921,31.136057],[120.881289,31.134727],[120.876422,31.131489],[120.872349,31.127161],[120.871014,31.123804],[120.870597,31.119715],[120.865967,31.11475],[120.862241,31.112508],[120.860225,31.10933],[120.857917,31.108526],[120.856804,31.102829],[120.859766,31.100287],[120.863993,31.100299],[120.865744,31.097624],[120.869582,31.097216],[120.869818,31.098943],[120.872543,31.098884],[120.873169,31.100323],[120.876631,31.099939],[120.876005,31.097864],[120.878967,31.09838],[120.878077,31.095753],[120.887476,31.094074],[120.891021,31.094302],[120.891216,31.09718],[120.892842,31.096533],[120.892175,31.094194],[120.895415,31.090703],[120.896694,31.086649],[120.899294,31.086937],[120.902116,31.085653],[120.901671,31.084094],[120.90473,31.080495],[120.904619,31.078528],[120.899614,31.07836],[120.898863,31.070514],[120.895915,31.063075],[120.894622,31.058659],[120.894567,31.053896],[120.895442,31.050332],[120.897208,31.04822],[120.897027,31.04558],[120.899739,31.039603],[120.901977,31.037647],[120.901338,31.0255],[120.900559,31.020423],[120.901365,31.017494],[120.910055,31.016942],[120.909944,31.012644],[120.911014,31.010555],[120.918105,31.012788],[120.926155,31.010423],[120.92699,31.012068],[120.931383,31.01178],[120.933789,31.010027],[120.938085,31.009007],[120.940087,31.010027],[120.935749,31.015381],[120.936305,31.01711],[120.949972,31.017638],[120.951168,31.024012],[120.948735,31.025068],[120.949124,31.029953],[120.951085,31.029077],[120.952197,31.030254],[120.958301,31.028573],[120.960483,31.021659],[120.964293,31.020771],[120.964849,31.019751],[120.963209,31.016594],[120.970202,31.016149],[120.982993,31.016089],[120.983855,31.014445],[120.989514,31.014397],[120.989987,31.010495],[120.991933,31.008154],[120.991057,31.00747],[120.992086,31.003424],[120.992045,30.997109],[120.989834,30.996664],[120.990515,30.994551],[120.994839,30.99526],[120.994603,30.991922],[120.997133,30.989232],[120.999344,30.980106],[121.000832,30.980466],[121.002361,30.97762],[121.000567,30.977007],[121.000512,30.973933],[120.99737,30.972444],[120.993143,30.972119],[120.991433,30.968372],[120.993699,30.964024],[120.992601,30.962835],[120.994756,30.958703],[120.991683,30.958211],[120.992531,30.955028],[120.994797,30.954824],[120.995368,30.950367],[120.99673,30.950307],[121.002055,30.95104],[121.002653,30.947015],[121.00763,30.947628],[121.010175,30.950727],[121.015361,30.948169],[121.013345,30.946811],[121.011079,30.947184],[121.011607,30.943604],[121.013831,30.944168],[121.015291,30.940288],[121.017697,30.939219],[121.016932,30.941333],[121.019462,30.941165],[121.028041,30.94394],[121.027902,30.945826],[121.033213,30.947111],[121.034659,30.952974],[121.036258,30.957094],[121.040401,30.956493],[121.043516,30.957514],[121.042626,30.960433],[121.045949,30.963448],[121.043112,30.969429],[121.0467,30.970246],[121.047409,30.969033],[121.051024,30.969369],[121.053262,30.964445],[121.05735,30.965346],[121.056891,30.96191],[121.059505,30.959184],[121.060339,30.956517],[121.065344,30.95516],[121.07231,30.955088],[121.076495,30.955809],[121.076634,30.957574],[121.079109,30.958283],[121.078539,30.960025],[121.080736,30.960181],[121.081236,30.962283],[121.088174,30.962151],[121.088035,30.964168],[121.093555,30.964673],[121.097489,30.965634],[121.095779,30.968408],[121.095557,30.974245],[121.099172,30.973068],[121.099686,30.980994],[121.099227,30.981979],[121.100145,30.994935],[121.104107,30.99508],[121.104205,31.007998],[121.10205,31.011756],[121.093026,31.020207],[121.085532,31.0255],[121.089509,31.027901],[121.091177,31.025933],[121.096405,31.026437],[121.096975,31.031454],[121.099936,31.031202],[121.100284,31.03341],[121.097767,31.038871],[121.095863,31.040479],[121.09311,31.040719],[121.09621,31.044812],[121.090259,31.048136],[121.089926,31.05194],[121.087159,31.052948],[121.085866,31.050224],[121.082404,31.054208],[121.080972,31.056896],[121.08442,31.058779],[121.086519,31.061167],[121.085935,31.062847],[121.088202,31.064671],[121.092929,31.064539],[121.094542,31.061899],[121.093012,31.058443],[121.094639,31.056332],[121.098337,31.05662],[121.101146,31.053644],[121.101813,31.05728],[121.10839,31.057939],[121.10864,31.05662],[121.118206,31.056068],[121.117997,31.058407],[121.120708,31.057268],[121.12588,31.057376],[121.127757,31.059751],[121.126395,31.059811],[121.126228,31.06665],[121.122238,31.067178],[121.121543,31.07019],[121.118386,31.075948],[121.117121,31.075624],[121.112603,31.077628],[121.107264,31.082115],[121.102912,31.080219],[121.100687,31.080939],[121.099408,31.085941],[121.10084,31.088688],[121.097601,31.093534],[121.099519,31.094158],[121.099853,31.096593],[121.097976,31.099339],[121.100618,31.098428],[121.103843,31.100539],[121.103551,31.102638],[121.108751,31.107159],[121.112589,31.111932],[121.114368,31.109797],[121.11612,31.110973],[121.117733,31.108874],[121.120959,31.107747],[121.125505,31.103369],[121.127688,31.103309],[121.130691,31.100527],[121.131942,31.10205],[121.133319,31.099075],[121.135766,31.09808],[121.141605,31.09868],[121.141897,31.096893],[121.144483,31.097456],[121.14586,31.093954],[121.149461,31.095297],[121.151157,31.091651],[121.152867,31.092035],[121.153465,31.09014],[121.155161,31.090475],[121.155384,31.093162],[121.156733,31.09315],[121.156788,31.098943],[121.154341,31.098884],[121.154397,31.101846],[121.159569,31.100539],[121.165492,31.101438],[121.1652,31.104269],[121.166799,31.104293],[121.166451,31.10831],[121.170567,31.107819],[121.170497,31.109054],[121.174487,31.108538],[121.172986,31.114091],[121.17521,31.115242],[121.174321,31.117868],[121.17642,31.119007],[121.178839,31.117149],[121.183817,31.118695],[121.183858,31.124295],[121.181815,31.124295],[121.181842,31.126957],[121.180341,31.127425],[121.179868,31.131873],[121.181662,31.131777],[121.181968,31.143478],[121.194717,31.138179],[121.199653,31.139582],[121.201627,31.140937],[121.200348,31.137832],[121.206174,31.138299],[121.208287,31.135686],[121.22055,31.138383],[121.227988,31.139091],[121.226765,31.134139],[121.223581,31.126442],[121.221732,31.119931],[121.221301,31.115074],[121.224095,31.115146],[121.233884,31.117316],[121.235816,31.118959],[121.236831,31.125698],[121.239848,31.126238],[121.244534,31.125398],[121.245326,31.129295],[121.239348,31.129955],[121.245479,31.130758],[121.246995,31.134163],[121.25378,31.13264],[121.258048,31.132353],[121.257965,31.127077],[121.261607,31.127173],[121.26062,31.132269],[121.263623,31.135422],[121.26557,31.134787],[121.265737,31.136393],[121.280989,31.133252],[121.287482,31.139954],[121.284173,31.142627],[121.281781,31.142016],[121.279293,31.145708],[121.277012,31.144174],[121.276415,31.145852],[121.278723,31.14825],[121.277763,31.152265],[121.28028,31.150539],[121.283825,31.150839],[121.28313,31.152158],[121.285438,31.153452],[121.287134,31.152313],[121.295435,31.15392],[121.301441,31.15549],[121.316221,31.160189],[121.318056,31.157564],[121.320934,31.158487],[121.322491,31.162394],[121.323854,31.162933],[121.318584,31.170256],[121.318042,31.173624],[121.316304,31.176836],[121.310784,31.18423],[121.30856,31.188388],[121.300565,31.197027],[121.297506,31.201412],[121.294837,31.203077],[121.292431,31.202514],[121.292126,31.200621],[121.287329,31.196332],[121.284034,31.194391],[121.277388,31.193576],[121.271701,31.198309],[121.266724,31.203257],[121.264777,31.203317],[121.263053,31.205701],[121.26468,31.206731],[121.263846,31.208912],[121.259397,31.212769],[121.261218,31.215081],[121.259675,31.218148],[121.25745,31.220208],[121.258215,31.222772],[121.256588,31.226329],[121.258006,31.226868],[121.257158,31.230701],[121.254155,31.23312],[121.252792,31.236965],[121.251082,31.238198],[121.249692,31.236534],[121.247912,31.240917],[121.241391,31.240222],[121.239932,31.241061],[121.241683,31.247348],[121.24591,31.248821],[121.247314,31.253287],[121.254183,31.258688],[121.246758,31.258448],[121.246577,31.259801],[121.242253,31.25937],[121.237693,31.262088],[121.235177,31.262699],[121.229087,31.262711],[121.229198,31.261717],[121.223539,31.260532],[121.223859,31.259035],[121.220216,31.257406],[121.221273,31.256293],[121.214182,31.254353],[121.212625,31.259837],[121.209761,31.260831],[121.209816,31.258017],[121.208482,31.25749],[121.206368,31.260065],[121.202865,31.257131],[121.203143,31.255814],[121.199848,31.255239],[121.19608,31.253395],[121.19626,31.251228],[121.193368,31.251455],[121.193021,31.253623],[121.188377,31.25476],[121.186444,31.252329],[121.183928,31.252246],[121.181537,31.254413],[121.17934,31.253419],[121.178798,31.255862],[121.176768,31.254605],[121.174251,31.256856],[121.171415,31.254928],[121.16894,31.256197],[121.170386,31.259119],[121.168036,31.259622],[121.167661,31.263944],[121.162614,31.269176],[121.161057,31.26762],[121.157845,31.270541],[121.155537,31.266147],[121.151783,31.267632],[121.153924,31.272061],[121.153743,31.276646]]]]}},{"type":"Feature","properties":{"adcode":310120,"name":"奉贤","center":[121.458472,30.912345],"centroid":[121.56251,30.897998],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":14,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.570475,30.998345],[121.561494,30.995644],[121.555918,30.995152],[121.556224,30.993374],[121.553304,30.993026],[121.55279,30.98886],[121.549537,30.988307],[121.54613,30.99305],[121.543294,30.994203],[121.538233,30.993146],[121.537774,30.994683],[121.534507,30.995848],[121.531962,30.994815],[121.528612,30.99592],[121.522897,30.99981],[121.520325,30.999354],[121.520089,31.00256],[121.522105,31.002199],[121.520853,31.004445],[121.517002,31.007626],[121.510412,31.004553],[121.507881,31.004745],[121.503057,31.002716],[121.49883,30.999426],[121.498872,30.998213],[121.495924,30.998297],[121.491948,31.010039],[121.492879,31.012752],[121.489153,31.014949],[121.485872,31.014073],[121.476362,31.01334],[121.47144,31.011948],[121.465587,31.008755],[121.459942,31.007398],[121.448305,31.007458],[121.440811,31.005789],[121.436834,31.00406],[121.433636,31.001779],[121.431426,30.999174],[121.423973,30.994515],[121.413184,30.991069],[121.409333,30.990229],[121.394261,30.988247],[121.375227,30.982832],[121.35871,30.97786],[121.359961,30.976251],[121.361435,30.970438],[121.36099,30.965574],[121.362853,30.959544],[121.363117,30.956109],[121.362255,30.9517],[121.362478,30.948901],[121.365467,30.947232],[121.363868,30.945165],[121.361129,30.944048],[121.362408,30.939122],[121.362658,30.934761],[121.359336,30.935086],[121.357361,30.933632],[121.354706,30.933512],[121.355679,30.932058],[121.35116,30.930628],[121.352203,30.928213],[121.352161,30.923803],[121.355373,30.921388],[121.356054,30.919742],[121.355081,30.916341],[121.351814,30.913217],[121.35668,30.908614],[121.358418,30.900598],[121.360476,30.897785],[121.361185,30.892977],[121.36327,30.886955],[121.367233,30.886667],[121.370166,30.883914],[121.371751,30.883698],[121.377535,30.879983],[121.382207,30.878961],[121.381498,30.876605],[121.382791,30.874489],[121.38286,30.869043],[121.381873,30.867324],[121.381929,30.863765],[121.384001,30.863488],[121.383472,30.859232],[121.384376,30.856238],[121.383722,30.851765],[121.384918,30.848073],[121.385446,30.843178],[121.379065,30.843238],[121.379259,30.840112],[121.383764,30.833906],[121.387588,30.832799],[121.387588,30.829864],[121.391717,30.829913],[121.392051,30.82782],[121.396986,30.827988],[121.397376,30.833292],[121.399712,30.834182],[121.404202,30.833797],[121.403632,30.829877],[121.400685,30.830105],[121.400991,30.827399],[121.404786,30.823081],[121.41235,30.821505],[121.414171,30.821757],[121.41552,30.819941],[121.415131,30.815803],[121.419288,30.81602],[121.420525,30.819797],[121.425989,30.81869],[121.437029,30.818101],[121.441645,30.806829],[121.445427,30.804868],[121.44672,30.805577],[121.451711,30.798323],[121.465072,30.776483],[121.478767,30.756347],[121.517197,30.775387],[121.552832,30.789395],[121.601327,30.805084],[121.648419,30.8162],[121.68119,30.818401],[121.727071,30.817716],[121.77914,30.817222],[121.793767,30.816862],[121.769338,30.85043],[121.768143,30.863272],[121.771605,30.875427],[121.772481,30.875703],[121.773134,30.880596],[121.776679,30.881005],[121.776012,30.886426],[121.778807,30.894588],[121.778987,30.899468],[121.778334,30.903807],[121.77896,30.910116],[121.780239,30.911811],[121.781115,30.917567],[121.777653,30.926723],[121.777806,30.931025],[121.77337,30.931553],[121.773023,30.933932],[121.769769,30.935278],[121.76799,30.93833],[121.766432,30.936539],[121.763846,30.936852],[121.764277,30.938522],[121.761469,30.938414],[121.761677,30.940132],[121.764542,30.941766],[121.760927,30.944613],[121.761024,30.947604],[121.759286,30.949154],[121.751987,30.952721],[121.749234,30.953046],[121.747857,30.951893],[121.743742,30.956589],[121.739988,30.956721],[121.73686,30.958703],[121.737916,30.960637],[121.733954,30.964469],[121.73191,30.967784],[121.712792,30.980934],[121.705507,30.984981],[121.699459,30.987419],[121.69298,30.98934],[121.688086,30.990145],[121.683595,30.989808],[121.674558,30.991802],[121.673348,30.989832],[121.669525,30.991609],[121.663115,30.992714],[121.654536,30.993254],[121.646695,30.99335],[121.62057,30.992678],[121.61772,30.995692],[121.614717,31.001251],[121.604066,31.001131],[121.595585,31.002043],[121.594682,31.000699],[121.584309,31.000819],[121.582933,30.999498],[121.576746,30.999474],[121.570475,30.998345]]]]}},{"type":"Feature","properties":{"adcode":310151,"name":"崇明","center":[121.397516,31.626946],"centroid":[121.568484,31.635916],"childrenNum":0,"level":"district","parent":{"adcode":310000},"subFeatureIndex":15,"acroutes":[100000,310000]},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.975181,31.617034],[121.887616,31.63638],[121.817806,31.652025],[121.715267,31.673842],[121.642649,31.697454],[121.633278,31.696167],[121.627341,31.697776],[121.611755,31.704283],[121.602746,31.70694],[121.60091,31.707],[121.599659,31.703115],[121.593249,31.705379],[121.592262,31.706487],[121.578539,31.710527],[121.565025,31.716711],[121.551386,31.727386],[121.549509,31.726969],[121.540124,31.733307],[121.539429,31.735499],[121.528361,31.738347],[121.526693,31.740217],[121.514986,31.742873],[121.51304,31.743695],[121.498566,31.75326],[121.487749,31.753415],[121.476807,31.756142],[121.464141,31.757142],[121.455576,31.759346],[121.449751,31.761668],[121.445385,31.7643],[121.431481,31.769266],[121.425781,31.774267],[121.420915,31.779602],[121.410904,31.79558],[121.416312,31.79764],[121.411488,31.806341],[121.405468,31.809841],[121.399142,31.817483],[121.395388,31.821291],[121.385043,31.833525],[121.376381,31.838571],[121.369291,31.843283],[121.323061,31.868529],[121.315859,31.871479],[121.310367,31.872502],[121.3019,31.872716],[121.291166,31.870992],[121.281336,31.869041],[121.265584,31.864128],[121.252111,31.857727],[121.242073,31.853397],[121.225305,31.847043],[121.200334,31.835144],[121.181509,31.820411],[121.149225,31.787294],[121.118498,31.759084],[121.142064,31.755308],[121.145332,31.753927],[121.179868,31.720774],[121.289109,31.616283],[121.345585,31.571685],[121.37221,31.55321],[121.395457,31.585444],[121.403521,31.590002],[121.414797,31.591076],[121.43422,31.590336],[121.471176,31.57443],[121.547673,31.531125],[121.608794,31.50691],[121.617678,31.503673],[121.625784,31.501775],[121.638645,31.49972],[121.670609,31.494214],[121.682858,31.491061],[121.72988,31.471973],[121.763443,31.458233],[121.819183,31.438206],[121.834212,31.433975],[121.845377,31.431895],[121.857807,31.430043],[121.87299,31.429338],[121.882096,31.428656],[121.89055,31.428788],[121.901144,31.430126],[121.918051,31.434692],[121.934304,31.442364],[121.967284,31.456656],[121.981813,31.4641],[121.991698,31.476763],[121.995716,31.493104],[121.993867,31.51189],[121.98825,31.529597],[121.975181,31.617034]]],[[[121.778862,31.310196],[121.785494,31.311058],[121.791042,31.308353],[121.796701,31.30736],[121.798772,31.310352],[121.795866,31.329976],[121.796478,31.33542],[121.796005,31.345624],[121.793002,31.355074],[121.792377,31.363304],[121.790875,31.367059],[121.787886,31.37164],[121.780572,31.380154],[121.774135,31.386982],[121.76938,31.390749],[121.760857,31.395185],[121.753725,31.400362],[121.742185,31.407212],[121.737485,31.408814],[121.729296,31.410356],[121.723707,31.412364],[121.708316,31.419728],[121.697193,31.423995],[121.688294,31.425883],[121.673835,31.427748],[121.621752,31.444145],[121.606319,31.449403],[121.599812,31.450681],[121.585561,31.454672],[121.58303,31.456262],[121.575828,31.463813],[121.572811,31.469452],[121.567347,31.4835],[121.562356,31.486367],[121.549926,31.489747],[121.521132,31.493976],[121.516933,31.494298],[121.513457,31.493355],[121.509355,31.489795],[121.509105,31.485352],[121.510134,31.482581],[121.516849,31.477313],[121.529515,31.471172],[121.537413,31.466704],[121.54328,31.462403],[121.549773,31.457062],[121.558463,31.448793],[121.572255,31.436066],[121.590371,31.427545],[121.601425,31.421855],[121.641036,31.401115],[121.686682,31.376591],[121.727933,31.354799],[121.740766,31.346486],[121.744659,31.343675],[121.751166,31.337801],[121.76076,31.320344],[121.76425,31.315306],[121.770951,31.31168],[121.778862,31.310196]]],[[[122.242018,31.419082],[122.243562,31.417839],[122.247149,31.419333],[122.245369,31.421318],[122.242018,31.419082]]],[[[121.801775,31.356976],[121.802693,31.342789],[121.803152,31.332106],[121.80375,31.328445],[121.806642,31.324173],[121.81319,31.316228],[121.822617,31.307372],[121.832043,31.301711],[121.833601,31.299653],[121.840566,31.29544],[121.852885,31.292364],[121.856681,31.292818],[121.860782,31.294949],[121.865968,31.294937],[121.88959,31.292028],[121.900755,31.291167],[121.932261,31.283147],[121.975779,31.279998],[122.016447,31.282285],[122.072005,31.266829],[122.087285,31.257538],[122.097769,31.255658],[122.105207,31.262136],[122.122684,31.307205],[122.121975,31.315438],[122.116678,31.321229],[122.078012,31.323527],[122.04107,31.323814],[122.001556,31.329246],[121.951726,31.337274],[121.913074,31.350445],[121.870376,31.366007],[121.858516,31.369379],[121.852885,31.371376],[121.845586,31.374582],[121.831752,31.375526],[121.828401,31.376447],[121.824744,31.378588],[121.817445,31.380585],[121.803458,31.381219],[121.796756,31.381075],[121.793864,31.380477],[121.792808,31.377571],[121.797674,31.369642],[121.800566,31.363997],[121.801775,31.356976]]],[[[121.627049,31.444993],[121.631512,31.445101],[121.634001,31.445937],[121.636295,31.449881],[121.635044,31.452988],[121.631609,31.456823],[121.625172,31.462212],[121.61366,31.471339],[121.608571,31.474446],[121.602134,31.476835],[121.595293,31.478292],[121.586896,31.479535],[121.577149,31.479343],[121.575814,31.478197],[121.57612,31.474768],[121.577886,31.472486],[121.58627,31.464076],[121.594153,31.458568],[121.613855,31.447885],[121.616872,31.446643],[121.627049,31.444993]]]]}}]}
\ No newline at end of file
+{
+ "type": "FeatureCollection",
+ "features": [
+ {
+ "type": "Feature",
+ "properties": {
+ "adcode": 310000,
+ "name": "上海",
+ "center": [121.472644, 31.231706],
+ "centroid": [121.438737, 31.072559],
+ "childrenNum": 16,
+ "level": "province",
+ "parent": { "adcode": 100000 },
+ "subFeatureIndex": 8,
+ "acroutes": [100000]
+ },
+ "geometry": {
+ "type": "MultiPolygon",
+ "coordinates": [
+ [
+ [
+ [120.901349, 31.017327],
+ [120.940153, 31.010146],
+ [120.949392, 31.030148],
+ [120.989428, 31.01425],
+ [121.000515, 30.938309],
+ [120.993124, 30.889532],
+ [121.020225, 30.872069],
+ [120.991892, 30.837133],
+ [121.038087, 30.814007],
+ [121.060261, 30.845354],
+ [121.097833, 30.857171],
+ [121.13787, 30.826342],
+ [121.123087, 30.77905],
+ [121.174826, 30.771851],
+ [121.21671, 30.785734],
+ [121.232108, 30.755909],
+ [121.272144, 30.723504],
+ [121.274608, 30.677191],
+ [121.362071, 30.679764],
+ [121.426129, 30.730192],
+ [121.517288, 30.775451],
+ [121.601056, 30.805269],
+ [121.681128, 30.818633],
+ [121.904714, 30.814007],
+ [121.943518, 30.776993],
+ [121.970004, 30.789333],
+ [121.954605, 30.825828],
+ [121.994025, 30.862823],
+ [121.990945, 30.96859],
+ [121.977395, 31.016301],
+ [121.946598, 31.066039],
+ [121.809859, 31.196669],
+ [121.722396, 31.3036],
+ [121.599208, 31.37465],
+ [121.520984, 31.394575],
+ [121.404571, 31.479337],
+ [121.343593, 31.511996],
+ [121.301093, 31.49873],
+ [121.301093, 31.49873],
+ [121.247507, 31.476785],
+ [121.241963, 31.493117],
+ [121.174826, 31.44922],
+ [121.143413, 31.392021],
+ [121.113848, 31.37465],
+ [121.130478, 31.343987],
+ [121.142797, 31.275472],
+ [121.090442, 31.291838],
+ [121.060261, 31.245289],
+ [121.076892, 31.158267],
+ [121.018377, 31.134194],
+ [120.930298, 31.141365],
+ [120.881023, 31.134706],
+ [120.859465, 31.100379],
+ [120.890878, 31.094229],
+ [120.901349, 31.017327]
+ ]
+ ],
+ [
+ [
+ [121.974931, 31.61704],
+ [121.715005, 31.673592],
+ [121.64294, 31.697527],
+ [121.599824, 31.703128],
+ [121.49881, 31.753012],
+ [121.431673, 31.769295],
+ [121.384861, 31.833382],
+ [121.323267, 31.868458],
+ [121.265369, 31.863883],
+ [121.200079, 31.834907],
+ [121.118775, 31.759119],
+ [121.145261, 31.75403],
+ [121.289391, 31.61653],
+ [121.371926, 31.553314],
+ [121.395332, 31.585437],
+ [121.434136, 31.590535],
+ [121.547469, 31.531382],
+ [121.625693, 31.501792],
+ [121.682976, 31.491075],
+ [121.819098, 31.437987],
+ [121.890547, 31.428795],
+ [121.981706, 31.464024],
+ [121.995873, 31.493117],
+ [121.974931, 31.61704]
+ ]
+ ],
+ [
+ [
+ [121.795693, 31.330186],
+ [121.792613, 31.363408],
+ [121.742106, 31.407345],
+ [121.585657, 31.454836],
+ [121.567179, 31.48342],
+ [121.520984, 31.494137],
+ [121.509897, 31.4824],
+ [121.572107, 31.435944],
+ [121.727939, 31.35472],
+ [121.76428, 31.31536],
+ [121.785222, 31.31127],
+ [121.795693, 31.330186]
+ ]
+ ],
+ [
+ [
+ [121.801852, 31.356765],
+ [121.8037, 31.328652],
+ [121.840656, 31.295418],
+ [121.932431, 31.283144],
+ [122.016199, 31.282121],
+ [122.097503, 31.255522],
+ [122.122756, 31.307179],
+ [122.116597, 31.320984],
+ [122.040837, 31.324051],
+ [121.951525, 31.337343],
+ [121.845584, 31.37465],
+ [121.792613, 31.377715],
+ [121.801852, 31.356765]
+ ]
+ ],
+ [
+ [
+ [121.626925, 31.445135],
+ [121.631853, 31.456878],
+ [121.579498, 31.479848],
+ [121.626925, 31.445135]
+ ]
+ ],
+ [
+ [
+ [121.943518, 31.215608],
+ [121.959533, 31.159291],
+ [121.995873, 31.160828],
+ [122.008808, 31.221238],
+ [121.950909, 31.228915],
+ [121.943518, 31.215608]
+ ]
+ ],
+ [
+ [
+ [121.88254, 31.240684],
+ [121.909026, 31.195133],
+ [121.923808, 31.234032],
+ [121.88254, 31.240684]
+ ]
+ ]
+ ]
+ }
+ }
+ ]
+}
diff --git a/src/components/echarts/gaoji.js b/src/components/echarts/gaoji.js
new file mode 100644
index 00000000..3f82b785
--- /dev/null
+++ b/src/components/echarts/gaoji.js
@@ -0,0 +1,1498 @@
+let data= smp_a: [
+ -67.51, -88.41, -117.72, -151.07, -178.7, -198.36, -217.58, -234.63, -255.48, -271.78, -285.34, -292.31,
+ -295.61, -297.6, -298.03, -297.97, -296.35, -289.57, -281.11, -274.02, -263.44, -250.37, -233.08, -202.71,
+ -164.88, -129.85, -99.74, -71.18, -41.75, -11.32, 20.66, 46.42, 67.45, 88.79, 118.03, 151.69, 179.13,
+ 198.73, 218.45, 236.19, 256.78, 273.71, 286.59, 293.37, 296.79, 298.97, 299.53, 299.34, 297.72, 291.13,
+ 282.54, 274.2, 264.75, 250.81, 233.51, 203.58, 165.82, 131.16, 99.74, 71.3, 39.95, 10.58, -20.47, -46.66,
+ -66.58, -88.1, -116.66, -150.45, -178.38, -198.05, -216.65, -235.5, -254.92, -272.03, -285.4, -292.31,
+ -295.92, -297.54, -298.03, -297.72, -296.1, -289.82, -281.11, -273.83, -263.81, -250.75, -233.2, -203.89,
+ -165.38, -131.35, -100.24, -71.06, -42.19, -10.89, 19.54, 46.11, 67.01, 88.1, 116.97, 151.13, 178.82,
+ 198.79, 217.83, 236.12, 256.41, 273.33, 286.65, 293.37, 296.98, 298.97, 299.4, 299.46, 297.85, 291.07,
+ 282.54, 274.76, 264.75, 251.18, 234.13, 203.77, 166.19, 131.41, 100.61, 70.68, 40.51, 10.95, -20.78, -45.86,
+ -66.7, -87.79, -116.48, -150.7, -178.51, -197.8, -217.71, -235.0, -254.92, -272.21, -285.22, -292.06,
+ -295.73, -297.22, -298.1, -297.78, -295.73, -289.82, -280.8, -273.21, -264.12, -250.25, -233.45, -203.46,
+ -165.13, -131.41, -99.86, -71.68, -41.38, -12.01, 19.35, 46.29, 66.33, 87.79, 116.79, 150.51, 178.76,
+ 198.67, 217.21, 236.37, 255.97, 273.33, 286.77, 293.12, 296.91, 298.66, 299.65, 299.53, 297.66, 291.5,
+ 282.29, 274.7, 265.06, 251.68, 233.88, 204.52, 166.25, 131.91, 100.92, 71.43, 41.0, 10.52, -19.47, -45.73,
+ -66.51, -87.42, -116.04, -150.26, -177.89, -198.17, -217.15, -235.38, -255.48, -271.65, -285.03, -292.19,
+ -295.73, -297.47, -298.28, -297.97, -295.79, -290.13, -281.36, -273.46, -263.81, -250.87, -233.26, -203.89,
+ -166.25, -131.41, -100.61, -71.62, -41.94, -12.38, 19.66, 45.42, 66.26, 87.29, 115.79, 150.57, 178.51,
+ 198.17, 217.83, 235.69, 255.23, 273.39, 286.09, 293.06, 296.98, 298.59, 299.71, 299.46, 298.16, 291.87,
+ 282.91, 274.95, 265.37, 251.37, 234.63, 205.14, 167.12, 133.03, 100.8, 72.8, 40.51, 11.14, -19.91, -45.92,
+ -66.2, -86.98, -115.54, -149.64, -177.76, -198.17, -216.21, -236.44, -255.16, -271.9, -285.09, -292.25,
+ -295.86, -297.91, -297.97, -297.85, -295.86, -289.2, -281.42, -273.52, -263.63, -250.81, -233.45, -204.39,
+ -166.5, -131.47, -100.3, -71.99, -42.5, -11.7, 18.54, 45.42, 66.26, 86.73, 110.94, 149.7, 177.45, 198.61,
+ 216.65, 235.19, 255.91, 272.27, 285.9, 293.12, 296.66, 298.78, 299.65, 299.46, 298.34, 291.56, 283.04,
+ 275.07, 265.06, 252.55, 234.94, 204.89, 167.68, 132.9, 101.79, 72.3, 41.44, 11.82, -20.22, -45.36, -80.45,
+ -128.73, -173.22, -212.73, -235.0, -248.26, -266.55, -278.99, -292.12, -300.02, -305.19, -309.73, -310.98,
+ -308.42, -294.3, -284.66, -273.08, -261.14, -247.32, -233.88, -225.36, -225.61, -216.4, -189.96, -153.37,
+ -120.52, -90.03, -62.03, -29.06, 3.11, 34.1, 58.36, 102.79, 132.4, 173.41, 211.17, 230.59, 247.57, 263.13,
+ 278.06, 291.75, 302.64, 308.67, 311.6, 312.41, 309.79, 300.15, 289.26, 277.13, 264.19, 249.81, 237.68,
+ 201.22, 223.93, 214.04, 188.46, 152.19, 119.84, 89.29, 60.73, 30.18, -3.48, -33.85, -56.62, -74.48, -93.52,
+ -121.58, -154.99, -181.56, -201.66, -219.76, -237.12, -257.59, -273.15, -286.46, -294.74, -297.85, -299.03,
+ -298.16, -297.16, -294.11, -287.58, -277.13, -269.1, -259.83, -246.83, -229.41, -199.66, -162.02, -127.55,
+ -97.56, -70.99, -43.49, -12.07, 19.91, 45.48, 67.01, 88.23, 116.72, 151.57, 178.88, 198.67, 218.39, 235.07,
+ 254.98, 272.71, 285.65, 293.55, 297.47, 299.96, 300.77, 300.21, 297.47, 291.0, 281.73, 273.27, 264.31,
+ 250.75, 234.2, 203.96, 165.69, 132.09, 100.92, 73.98, 44.55, 13.44, -18.11, -44.49, -64.77, -86.05, -114.61,
+ -148.83, -176.7, -196.93, -215.47, -234.13, -253.8, -271.09, -284.1, -291.81, -295.73, -297.85, -299.03,
+ -298.9, -296.85, -291.63, -281.92, -274.27, -264.81, -251.93, -234.94, -205.39, -166.87, -133.4, -102.6,
+ -74.42, -46.79, -14.93, 16.3, 42.56, 63.71, 84.49, 112.68, 148.08, 175.09, 195.87, 214.53, 231.65, 251.93,
+ 269.29, 283.47, 291.75, 295.61, 298.1, 299.22, 298.97, 297.78, 291.38, 283.16, 275.82, 266.05, 252.74,
+ 235.81, 205.95, 168.31, 133.4, 102.66, 73.92, 44.55, 14.68, -17.79, -43.24, -64.15, -85.49, -113.3, -147.71,
+ -175.71, -195.87, -215.65, -234.63, -253.92, -271.4, -284.35, -291.38, -294.99, -296.85, -297.85, -297.35,
+ -295.42, -289.32, -280.92, -272.34, -263.94, -250.31, -233.7, -204.45, -166.07, -133.09, -100.55, -73.42,
+ -43.62, -14.19, 17.42, 43.87, 64.4, 85.49, 114.17, 148.71, 176.95, 197.18, 215.65, 234.63, 253.3, 271.15,
+ 285.03, 292.06, 296.17, 298.28, 299.59, 299.28, 297.85, 292.62, 282.67, 274.89, 265.31, 251.87, 235.07,
+ 205.7, 167.19, 133.59, 102.35, 73.79, 44.92, 13.5, -17.67, -44.36, -65.39, -85.8, -113.74, -148.52, -175.77,
+ -196.74, -215.53, -234.44, -255.16, -271.59, -285.47, -292.56, -295.61, -297.6, -298.72, -298.66, -296.85,
+ -290.26, -281.42, -273.39, -264.19, -250.68, -233.95, -204.58, -166.87, -132.34, -101.23, -72.67, -43.55,
+ -14.0, 18.42, 44.74, 65.64, 86.42, 114.42, 148.77, 176.58, 196.49, 216.15, 233.51, 253.8, 271.4, 284.59,
+ 292.62, 296.23, 298.1, 299.4, 299.22, 297.72, 292.19, 282.79, 274.83, 265.99, 252.05, 235.63, 206.38,
+ 168.31, 135.08, 102.79, 75.22, 45.17, 14.93, -16.8, -44.43, -64.9, -85.49, -113.92, -148.08, -175.52,
+ -196.86, -214.53, -234.57, -253.98, -271.09, -285.22, -292.37, -295.92, -297.91, -298.84, -298.53, -297.04,
+ -290.07, -282.17, -274.08, -264.75, -251.8, -234.44, -205.76, -167.5, -133.65, -102.04, -73.48, -43.99,
+ -13.81, 17.48, 44.43, 65.46, 85.74, 114.36, 148.89, 175.96, 196.74, 215.47, 233.26, 253.86, 270.35, 284.47,
+ 292.75, 296.04, 298.03, 299.22, 299.09, 297.54, 292.12, 282.85, 275.32, 265.99, 252.55, 236.31, 206.69,
+ 169.61, 134.64, 103.91, 74.91, 45.67, 15.24, -16.92, -43.43, -64.27, -85.24, -113.3, -147.52, -175.4,
+ -195.5, -215.22, -233.82, -253.36, -271.09, -284.97, -292.31, -295.86, -297.78, -298.97, -298.84, -297.47,
+ -291.87, -282.29, -274.39, -265.24, -251.37, -235.5, -206.01, -168.49, -134.33, -102.04, -74.04, -43.68,
+ -14.19, 17.42, 44.49, 65.14, 85.49, 114.05, 148.21, 175.83, 196.8, 215.41, 234.13, 253.73, 270.84, 285.03,
+ 292.81, 296.42, 298.41, 299.22, 298.9, 297.41, 291.31, 283.16, 275.63, 265.87, 252.61, 236.19, 207.63,
+ 169.24, 135.64, 103.91, 75.1, 45.98, 15.43, -16.18, -43.06, -64.52, -84.81, -112.56, -147.71, -174.65,
+ -195.99, -214.97, -233.45, -253.98, -270.72, -284.97, -292.68, -296.17, -298.47, -299.46, -299.34, -297.72,
+ -291.87, -282.54, -274.64, -265.37, -252.05, -235.5, -206.51, -169.18, -134.46, -102.85, -73.86, -44.18,
+ -14.5, 17.67, 44.24, 65.27, 85.68, 113.24, 148.02, 175.83, 196.24, 215.9, 233.57, 253.86, 271.28, 284.53,
+ 292.81, 296.35, 298.34, 299.4, 299.03, 297.47, 291.44, 282.6, 275.14, 266.36, 252.36, 236.81, 207.57,
+ 169.99, 136.26, 103.97, 76.22, 45.86, 15.87, -15.87, -42.87, -63.96, -84.31, -112.31, -146.65, -174.53,
+ -196.06, -214.22, -233.7, -253.36, -270.41, -285.15, -292.37, -296.35, -298.28, -299.4, -299.28, -297.6,
+ -292.0, -282.6, -275.07, -265.68, -252.3, -235.63, -207.25, -169.3, -135.33, -102.85, -74.42, -44.55,
+ -14.62, 16.86, 43.93, 64.96, 85.37, 112.99, 148.08, 174.84, 196.68, 215.53, 233.45, 254.04, 270.91, 284.84,
+ 292.68, 295.98, 298.28, 299.34, 298.97, 297.16, 291.69, 282.6, 275.14, 266.36, 252.74, 236.62, 207.69,
+ 170.73, 136.39, 105.09, 75.97, 46.48, 16.61, -15.68, -42.25, -63.59, -84.18, -112.0, -146.78, -174.09,
+ -195.31, -214.6, -233.01, -253.11, -270.22, -284.91, -292.43, -296.23, -298.34, -299.34, -299.09, -298.03,
+ -291.56, -283.04, -275.14, -265.93, -252.24, -236.37, -207.57, -169.99, -135.83, -103.6, -75.04, -44.05,
+ -14.87, 17.05, 43.55, 64.58, 85.18, 113.12, 147.59, 175.09, 196.93, 215.22, 234.01, 253.73, 270.59, 284.78,
+ 292.93, 296.85, 298.66, 299.53, 298.9, 297.22, 292.25, 282.42, 274.89, 266.05, 252.49, 236.56, 208.19,
+ 170.48, 136.64, 104.59, 75.78, 46.48, 16.18, -14.81, -42.19, -63.28, -83.81, -111.68, -146.28, -173.72,
+ -195.68, -214.22, -232.7, -252.86, -270.16, -284.59, -292.25, -296.17, -298.53, -299.78, -299.59, -298.22,
+ -292.19, -282.91, -275.45, -265.8, -252.68, -236.37, -207.25, -170.67, -135.83, -104.03, -75.04, -44.36,
+ -15.24, 16.99, 43.43, 64.58, 85.55, 112.87, 147.46, 175.02, 196.18, 215.41, 233.95, 253.86, 270.84, 284.47,
+ 292.93, 296.66, 298.59, 300.02, 299.4, 297.47, 291.81, 283.29, 275.07, 265.8, 252.68, 236.87, 208.0, 170.42,
+ 137.01, 105.09, 76.47, 46.42, 16.49, -15.24, -42.37, -62.72, -83.81, -111.93, -145.91, -173.47, -195.37,
+ -213.48, -233.39, -252.12, -269.6, -284.53, -292.25, -296.23, -298.41, -299.59, -299.65, -298.03, -293.06,
+ -283.47, -275.45, -265.99, -252.61, -236.37, -207.75, -169.99, -136.01, -103.91, -74.73, -44.36, -14.44,
+ 17.23, 43.8, 65.14, 85.61, 113.24, 147.96, 174.96, 196.68, 215.53, 234.76, 254.42, 270.97, 284.97, 293.06,
+ 296.6, 298.47, 299.34, 298.53, 296.17, 290.51, 281.98, 274.14, 265.62, 252.24, 236.31, 207.32, 170.79,
+ 136.82, 105.34, 76.34, 46.42, 16.92, -15.0, -42.0, -63.03, -83.62, -111.44, -146.15, -173.41, -194.5,
+ -213.91, -232.02, -251.87, -269.29, -283.85, -292.19, -295.98, -297.91, -299.59, -299.71, -298.34, -292.87,
+ -284.03, -275.63, -265.93, -253.11, -236.81, -208.37, -170.61, -136.88, -105.09, -76.41, -45.67, -16.05,
+ 15.8, 43.06, 64.52, 84.74, 112.8, 146.96, 174.03, 196.12, 214.78, 234.13, 253.48, 270.22, 284.47, 292.68,
+ 296.6, 298.66, 299.65, 299.15, 297.6, 291.75, 283.47, 275.51, 266.05, 252.99, 236.75, 208.69, 171.35,
+ 137.51, 105.77, 76.9, 47.04, 16.74, -14.81, -41.81, -62.9, -83.31, -110.81, -145.84, -172.72, -194.69,
+ -213.41, -231.89, -252.3, -268.91, -283.54, -292.06, -295.79, -298.1, -299.59, -299.53, -298.16, -292.75,
+ -283.35, -275.7, -266.67, -253.48, -237.0, -208.75, -171.35, -137.26, -105.03, -76.34, -46.04, -16.11,
+ 15.56, 43.12, 64.4, 84.93, 112.43, 147.09, 174.22, 195.93, 215.16, 233.57, 253.98, 270.41, 284.41, 292.99,
+ 296.79, 298.78, 300.09, 299.78, 297.72, 292.68, 283.16, 275.39, 266.3, 253.3, 237.0, 208.44, 171.54, 137.38,
+ 105.65, 77.03, 46.67, 16.74, -15.0, -41.56, -62.84, -83.31, -111.25, -145.35, -172.6, -194.69, -212.92,
+ -231.96, -251.68, -268.85, -283.23, -291.87, -295.86, -298.34, -299.59, -299.28, -298.1, -292.5, -283.72,
+ -275.51, -266.61, -253.55, -237.12, -208.87, -171.48, -137.57, -105.59, -76.9, -46.79, -16.61, 15.43, 42.68,
+ 63.84, 84.43, 111.93, 146.78, 173.66, 195.68, 214.85, 233.7, 253.98, 270.53, 284.03, 292.81, 296.54, 298.97,
+ 300.34, 299.84, 298.1, 292.56, 283.6, 275.57, 266.67, 253.11, 237.18, 208.75, 172.1, 137.76, 105.96, 77.15,
+ 46.85, 16.99, -14.68, -41.69, -62.66, -83.13, -110.75, -145.16, -172.54, -194.06, -213.41, -231.33, -251.62,
+ -268.85, -283.23, -291.87, -295.67, -297.85, -299.03, -299.03, -297.72, -292.62, -283.6, -275.39, -267.23,
+ -253.73, -237.37, -209.12, -172.29, -137.63, -105.96, -77.22, -47.1, -17.23, 15.37, 42.25, 63.53, 84.06,
+ 111.68, 146.22, 173.28, 195.62, 214.53, 233.33, 253.86, 270.28, 284.78, 292.75, 296.48, 298.72, 299.96,
+ 299.59, 298.03, 292.56, 284.03, 275.88, 266.99, 253.61, 237.49, 209.06, 172.66, 137.82, 106.33, 77.34,
+ 47.04, 17.36, -14.87, -41.5, -62.28, -82.88, -110.19, -144.97, -172.04, -194.13, -212.85, -231.27, -251.68,
+ -268.42, -282.98, -291.44, -295.23, -297.72, -298.97, -298.84, -297.66, -292.81, -283.72, -275.7, -267.11,
+ -253.61, -237.8, -209.93, -172.66, -138.44, -106.46, -77.53, -47.91, -17.73, 14.62, 42.19, 63.09, 83.93,
+ 111.25, 145.84, 172.85, 195.37, 214.1, 233.39, 252.99, 269.97, 284.97, 292.62, 296.48, 298.72, 299.96,
+ 299.84, 298.53, 292.62, 284.03, 275.88, 267.05, 253.8, 237.62, 209.87, 172.41, 138.38, 106.71, 77.28, 47.1,
+ 17.42, -14.81, -41.56, -62.59, -83.13, -110.38, -145.1, -172.29, -194.13, -212.92, -231.21, -251.18,
+ -268.11, -283.1, -291.63, -295.36, -297.72, -298.97, -298.72, -297.22, -292.37, -283.41, -275.26, -267.11,
+ -253.73, -237.56, -210.05, -173.1, -138.69, -106.65, -77.65, -48.16, -18.42, 14.44, 41.94, 62.9, 83.62,
+ 110.81, 145.53, 172.41, 195.06, 214.1, 233.01, 253.11, 269.85, 284.59, 292.43, 296.48, 298.66, 300.15,
+ 299.9, 298.1, 292.68, 283.85, 276.19, 267.11, 253.92, 238.24, 210.68, 173.22, 138.94, 106.58, 77.84, 47.22,
+ 17.3, -14.25, -41.81
+ ],
+ smp_b: [
+ -240.13, -216.73, -182.7, -143.31, -108.71, -76.41, -47.11, -12.69, 17.17, 43.99, 69.01, 89.42, 113.87,
+ 146.04, 177.9, 204.16, 222.33, 243.37, 259.79, 272.92, 285.93, 297.07, 304.1, 307.83, 309.26, 308.7, 305.47,
+ 301.92, 288.54, 276.03, 264.02, 253.38, 239.45, 217.54, 183.07, 143.99, 109.64, 76.72, 47.98, 13.38, -15.31,
+ -42.87, -67.2, -88.05, -112.38, -144.43, -176.72, -204.1, -221.96, -242.74, -259.86, -273.17, -285.87,
+ -297.81, -304.72, -308.14, -309.45, -309.2, -306.46, -303.54, -290.47, -277.65, -265.33, -254.32, -240.01,
+ -217.42, -183.69, -143.43, -110.33, -76.1, -48.29, -13.19, 16.37, 43.31, 69.07, 88.3, 112.5, 145.24, 176.85,
+ 204.16, 222.71, 243.12, 260.1, 272.99, 285.74, 297.07, 303.97, 307.71, 309.2, 308.52, 305.16, 302.29,
+ 288.79, 276.78, 264.15, 253.14, 240.32, 217.54, 184.0, 144.68, 109.64, 77.28, 47.6, 14.31, -15.87, -42.0,
+ -67.58, -87.8, -111.38, -144.24, -176.1, -203.54, -221.84, -242.49, -259.48, -272.99, -285.93, -297.56,
+ -304.53, -308.02, -309.33, -309.14, -306.21, -303.97, -290.47, -278.03, -265.77, -254.26, -240.07, -218.29,
+ -183.44, -144.74, -110.26, -76.29, -48.35, -13.38, 16.24, 43.68, 68.32, 88.8, 112.82, 144.74, 177.16,
+ 204.66, 222.77, 243.37, 260.1, 273.36, 285.8, 297.32, 304.04, 307.71, 309.2, 308.77, 305.03, 301.98, 289.1,
+ 276.53, 263.71, 253.57, 239.69, 217.6, 184.25, 143.87, 110.76, 76.54, 47.98, 13.81, -14.87, -41.88, -67.7,
+ -87.61, -111.2, -143.8, -175.98, -203.48, -221.9, -241.69, -259.42, -272.74, -285.62, -297.44, -304.22,
+ -308.02, -309.33, -309.26, -306.4, -303.48, -290.6, -278.15, -265.46, -254.01, -240.94, -218.35, -184.81,
+ -144.8, -110.26, -77.84, -48.04, -14.75, 15.68, 42.81, 68.51, 88.92, 111.7, 144.36, 176.66, 204.29, 222.52,
+ 243.24, 259.67, 273.36, 285.87, 297.25, 304.35, 307.83, 309.14, 308.64, 305.47, 302.17, 288.6, 276.66,
+ 264.27, 253.2, 239.63, 218.54, 184.0, 145.3, 110.95, 76.85, 48.41, 14.25, -14.69, -41.82, -67.02, -87.55,
+ -110.82, -143.49, -175.91, -203.48, -221.15, -241.69, -259.17, -272.49, -285.31, -297.0, -304.29, -307.77,
+ -309.2, -309.08, -305.97, -302.98, -291.34, -278.59, -265.71, -254.82, -240.5, -218.97, -185.37, -144.99,
+ -111.7, -77.04, -48.85, -15.18, 14.62, 42.19, 68.76, 88.3, 111.26, 143.74, 176.29, 204.35, 222.83, 242.43,
+ 259.92, 273.05, 285.99, 297.38, 304.22, 307.83, 309.14, 309.08, 305.78, 301.98, 289.29, 277.03, 264.27,
+ 253.45, 240.19, 217.92, 182.07, 144.92, 110.58, 77.78, 47.29, 14.69, -15.0, -41.75, -67.58, -87.49, -110.26,
+ -142.56, -175.1, -203.04, -221.09, -241.93, -258.61, -272.3, -285.31, -296.51, -303.73, -307.71, -309.26,
+ -309.08, -306.15, -303.17, -290.84, -278.77, -265.95, -254.63, -258.98, -259.54, -245.79, -210.2, -164.59,
+ -126.07, -96.01, -58.49, -20.78, 12.51, 40.57, 68.95, 97.26, 135.65, 180.39, 215.3, 245.54, 267.76, 289.97,
+ 306.09, 313.81, 317.23, 320.78, 323.08, 323.89, 322.58, 316.11, 314.43, 306.03, 294.95, 280.7, 265.89,
+ 276.41, 261.85, 244.67, 206.84, 161.23, 124.14, 93.71, 57.87, 19.29, -11.82, -39.33, -67.7, -95.89, -132.98,
+ -173.98, -210.32, -241.13, -267.14, -288.11, -305.84, -325.82, -322.02, -323.39, -323.82, -324.14, -322.08,
+ -318.35, -313.81, -303.17, -292.77, -280.27, -265.21, -248.34, -224.95, -191.59, -150.96, -114.93, -82.57,
+ -52.02, -17.73, 12.57, 39.26, 65.4, 86.68, 109.08, 142.06, 175.48, 203.79, 223.83, 245.11, 264.83, 277.47,
+ 289.54, 300.49, 308.33, 313.06, 314.68, 312.75, 309.7, 299.56, 288.98, 277.09, 265.02, 254.5, 241.06,
+ 219.78, 186.24, 147.23, 112.13, 78.9, 49.84, 15.06, -14.62, -41.26, -66.52, -86.74, -109.52, -141.13,
+ -173.98, -202.3, -221.21, -242.0, -260.79, -273.67, -286.49, -297.81, -305.78, -310.26, -312.19, -310.2,
+ -307.21, -300.36, -288.79, -277.65, -265.02, -254.63, -240.57, -219.78, -186.06, -145.73, -112.32, -77.66,
+ -50.03, -15.18, 14.56, 41.32, 68.2, 87.86, 110.64, 142.81, 175.35, 202.55, 221.59, 241.44, 259.86, 272.55,
+ 285.31, 297.19, 303.85, 308.58, 310.51, 308.7, 305.16, 299.06, 287.24, 275.54, 263.34, 252.08, 239.2, 216.8,
+ 184.25, 144.99, 109.77, 77.28, 46.92, 13.5, -17.67, -42.87, -68.14, -88.67, -110.76, -142.31, -175.23,
+ -202.92, -220.84, -240.94, -258.49, -271.68, -284.62, -296.44, -303.85, -308.21, -310.32, -309.26, -306.4,
+ -302.05, -289.66, -277.47, -265.39, -254.13, -240.5, -220.03, -185.5, -146.36, -112.19, -77.91, -50.03,
+ -16.05, 13.01, 41.57, 67.08, 88.05, 111.32, 142.75, 176.04, 204.04, 222.4, 242.93, 260.23, 273.92, 286.24,
+ 298.06, 305.09, 309.01, 311.07, 309.57, 306.53, 302.85, 289.04, 277.4, 264.4, 253.7, 239.94, 218.6, 185.56,
+ 145.3, 112.5, 77.6, 49.22, 14.81, -15.18, -41.07, -67.27, -87.37, -110.26, -142.31, -174.86, -201.86,
+ -220.34, -240.25, -258.86, -271.68, -285.12, -296.69, -303.91, -308.27, -310.38, -309.45, -306.21, -302.48,
+ -290.04, -278.03, -265.71, -254.5, -241.87, -219.66, -186.37, -146.6, -112.75, -79.77, -50.09, -17.61,
+ 12.69, 39.58, 65.46, 87.05, 109.83, 141.81, 174.86, 201.99, 220.9, 241.81, 259.11, 272.92, 285.68, 297.5,
+ 304.72, 308.7, 310.76, 310.01, 307.02, 303.41, 290.35, 277.96, 265.46, 254.82, 240.81, 220.09, 185.68,
+ 146.98, 113.0, 78.4, 50.15, 14.81, -13.88, -41.13, -66.83, -87.24, -110.33, -141.81, -174.54, -202.42,
+ -220.53, -240.32, -258.92, -271.93, -284.81, -296.2, -303.73, -307.96, -309.95, -309.14, -306.03, -301.67,
+ -289.35, -277.53, -265.02, -254.88, -241.37, -220.03, -186.8, -146.17, -113.69, -78.96, -50.65, -17.11,
+ 12.69, 39.89, 66.52, 86.37, 109.52, 141.88, 174.42, 201.99, 220.96, 241.25, 258.61, 272.24, 285.24, 297.13,
+ 304.1, 308.14, 310.13, 309.33, 306.34, 303.17, 290.35, 277.78, 265.21, 253.82, 241.25, 219.1, 186.3, 146.67,
+ 112.69, 78.9, 48.91, 15.56, -14.69, -40.63, -67.2, -87.18, -109.77, -141.81, -174.67, -202.17, -220.34,
+ -240.57, -258.18, -271.74, -284.37, -296.26, -303.48, -307.46, -309.51, -308.7, -306.09, -301.98, -289.35,
+ -277.65, -265.27, -254.38, -240.88, -220.53, -186.3, -147.48, -113.5, -79.52, -51.15, -17.11, 12.76, 39.95,
+ 65.77, 86.0, 109.46, 140.88, 173.98, 201.61, 219.97, 240.57, 258.42, 271.87, 284.87, 296.69, 304.04, 307.83,
+ 309.95, 309.14, 306.65, 303.41, 291.03, 278.9, 265.46, 254.82, 241.13, 219.97, 187.24, 146.92, 113.69,
+ 79.28, 50.4, 15.93, -13.63, -40.38, -66.58, -86.87, -109.14, -141.32, -174.17, -201.99, -220.65, -240.25,
+ -258.67, -271.43, -284.44, -296.01, -303.35, -307.33, -309.51, -308.64, -305.97, -302.17, -289.35, -277.78,
+ -265.21, -254.32, -241.62, -220.16, -187.11, -147.91, -113.62, -80.4, -50.71, -18.05, 12.38, 39.02, 65.4,
+ 86.12, 108.21, 140.13, 173.36, 200.74, 219.53, 240.44, 257.8, 271.62, 284.5, 296.51, 303.85, 307.83, 309.82,
+ 309.2, 306.34, 303.54, 291.84, 278.46, 266.27, 254.63, 241.5, 221.03, 186.8, 147.97, 113.75, 79.65, 50.96,
+ 16.24, -13.25, -39.95, -66.15, -86.81, -109.14, -140.63, -174.11, -202.05, -220.65, -240.57, -258.55,
+ -271.68, -284.44, -296.07, -303.48, -307.4, -309.45, -308.64, -305.78, -301.61, -289.35, -278.21, -265.02,
+ -254.44, -241.44, -220.09, -187.92, -147.29, -114.5, -79.96, -51.52, -17.61, 11.95, 38.83, 65.34, 85.87,
+ 108.02, 139.95, 173.11, 200.37, 220.09, 239.45, 258.11, 271.31, 284.37, 296.26, 303.54, 307.65, 309.76,
+ 309.08, 306.53, 303.29, 291.53, 279.08, 266.02, 254.44, 242.12, 220.47, 188.05, 148.47, 114.12, 80.4, 50.65,
+ 17.17, -13.19, -39.08, -65.84, -86.74, -108.9, -140.26, -174.11, -201.61, -220.72, -240.44, -258.11,
+ -271.62, -284.12, -296.07, -303.54, -307.4, -309.26, -308.52, -305.72, -302.48, -289.29, -277.84, -265.33,
+ -254.38, -241.13, -220.9, -187.3, -148.91, -114.81, -80.15, -52.08, -17.86, 11.89, 39.08, 64.78, 85.69,
+ 107.84, 139.14, 172.99, 200.49, 218.91, 239.26, 257.55, 271.12, 284.19, 296.13, 303.79, 307.46, 309.57,
+ 308.95, 306.28, 303.29, 292.28, 279.21, 266.45, 255.13, 241.81, 221.28, 188.54, 148.72, 115.37, 80.27,
+ 51.21, 17.3, -12.45, -39.14, -65.9, -85.93, -108.34, -139.57, -173.92, -201.36, -220.47, -240.25, -258.61,
+ -271.8, -284.56, -296.44, -303.73, -307.46, -309.51, -308.7, -306.09, -302.42, -289.85, -277.53, -265.39,
+ -254.13, -241.44, -220.53, -188.17, -148.78, -114.5, -80.89, -51.65, -18.61, 12.45, 38.46, 64.4, 85.62,
+ 107.4, 138.95, 172.37, 199.75, 218.85, 239.38, 257.3, 270.87, 284.06, 296.01, 303.35, 307.46, 309.57,
+ 308.95, 306.09, 303.6, 292.21, 279.39, 266.7, 255.38, 242.06, 221.65, 188.23, 149.47, 115.24, 80.83, 51.96,
+ 17.61, -11.57, -38.95, -65.21, -86.0, -108.71, -139.76, -173.55, -201.11, -220.16, -240.07, -258.11,
+ -271.62, -284.62, -296.38, -303.79, -307.52, -309.57, -309.01, -305.9, -303.04, -290.53, -278.46, -265.77,
+ -254.82, -241.37, -220.9, -188.36, -148.41, -115.49, -80.77, -52.21, -18.54, 12.07, 38.83, 65.21, 85.0,
+ 107.65, 139.2, 172.37, 199.37, 218.85, 238.57, 256.99, 270.5, 284.12, 296.38, 303.66, 307.71, 309.82,
+ 309.26, 306.53, 304.22, 293.89, 280.14, 267.7, 255.38, 242.99, 221.77, 188.98, 149.59, 116.11, 81.95, 52.21,
+ 19.04, -10.83, -38.39, -64.72, -86.0, -108.21, -140.07, -174.05, -201.67, -221.4, -241.44, -258.8, -272.74,
+ -285.18, -297.32, -304.29, -308.08, -310.07, -309.14, -306.15, -302.92, -290.78, -278.83, -265.71, -254.5,
+ -241.44, -221.09, -187.74, -149.22, -115.43, -81.08, -52.58, -18.05, 11.57, 38.77, 64.84, 85.06, 108.15,
+ 139.14, 172.24, 199.25, 218.29, 238.45, 256.93, 270.12, 283.88, 295.45, 303.23, 307.46, 309.45, 308.89,
+ 305.72, 302.92, 291.09, 279.71, 266.83, 255.44, 242.43, 221.96, 189.48, 149.47, 116.49, 81.64, 52.58, 18.85,
+ -11.33, -38.21, -65.09, -85.56, -108.02, -139.32, -172.86, -201.11, -219.72, -239.63, -257.93, -271.24,
+ -284.62, -296.51, -303.79, -307.77, -309.76, -308.89, -306.28, -303.17, -290.53, -279.33, -266.08, -254.5,
+ -242.0, -221.09, -188.86, -149.4, -115.49, -81.7, -52.46, -18.85, 11.57, 38.64, 64.59, 85.44, 107.28, 138.7,
+ 172.24, 198.81, 218.1, 238.14, 256.74, 270.37, 283.44, 295.32, 303.1, 307.33, 309.51, 308.77, 306.15,
+ 303.23, 291.78, 279.89, 267.14, 255.75, 242.87, 222.33, 189.48, 150.21, 116.18, 82.33, 53.14, 18.98, -10.27,
+ -38.14, -64.47, -85.31, -107.65, -138.76, -172.74, -199.87, -219.1, -239.51, -257.43, -271.18, -284.44,
+ -296.2, -303.97, -307.77, -309.89, -309.14, -306.34, -303.41, -291.47, -279.39, -266.51, -255.06, -241.81,
+ -221.52, -189.04, -149.34, -116.3, -81.33, -52.77, -18.92, 11.39, 37.65, 64.59, 85.19, 107.09, 138.33,
+ 171.81, 198.87, 217.98, 237.95, 256.68, 270.19, 283.25, 295.26, 303.04, 307.27, 309.45, 308.7, 306.03,
+ 303.17, 291.65, 279.64, 267.26, 255.56, 243.05, 222.58, 189.79, 150.52, 116.92, 82.45, 53.51, 20.04, -10.02,
+ -37.4, -64.65, -85.44, -107.15, -138.27, -172.18, -199.87, -219.28, -238.89, -257.43, -271.12, -284.12,
+ -296.38, -303.73, -307.83, -309.89, -309.08, -306.21, -303.35, -291.72, -279.58, -266.83, -255.31, -242.06,
+ -222.02, -189.23, -150.03, -116.11, -81.58, -52.95, -18.54, 11.39, 37.9, 63.97, 85.31, 107.15, 137.89,
+ 171.87, 198.75, 218.16, 238.01, 256.62, 270.25, 283.07, 294.83, 302.73, 307.09, 309.33, 308.64, 305.84,
+ 303.1, 291.28, 279.46, 267.2, 255.5, 242.87, 222.58, 190.1, 150.84, 117.17, 82.51, 53.58, 19.91, -9.27,
+ -37.15, -63.16, -84.94, -107.09, -138.02, -171.99, -199.56, -218.97, -238.95, -257.18, -270.75, -283.88,
+ -296.07, -303.66, -307.71, -309.89, -309.01, -306.34, -303.73, -292.34, -279.33, -267.26, -255.5, -242.62,
+ -222.15, -189.6, -150.4, -117.11, -81.89, -53.02, -19.23, 11.01, 37.52, 64.03, 85.37, 107.22, 137.58,
+ 171.74, 199.06, 217.98, 237.83, 256.5, 269.81, 282.82, 294.76, 302.61, 307.09, 309.26, 308.45, 305.59,
+ 303.04, 291.09, 279.33, 267.14, 255.44, 242.93, 223.2, 190.54, 151.27, 117.54, 82.76, 53.51, 20.1, -9.89,
+ -36.53, -63.03, -84.38, -106.78, -137.39, -172.05, -199.56, -218.16, -238.57, -256.81, -270.81, -283.75,
+ -296.07, -303.79, -307.71, -309.82, -309.26, -306.03, -303.29, -292.84, -280.39, -267.01, -256.12, -242.87,
+ -222.71, -189.85, -150.52, -116.98, -82.26, -53.39, -19.29, 10.77, 37.96, 64.03, 84.69, 106.72, 137.4,
+ 171.43, 199.43, 217.98, 237.77, 256.37, 269.81, 282.94, 294.89, 302.61, 307.02, 309.26, 308.45, 305.59,
+ 302.98, 291.4, 279.08, 266.83, 255.87, 243.05, 223.2, 190.91, 151.52, 117.86, 83.13, 54.14, 20.22, -9.27,
+ -36.65, -62.79, -83.82, -105.97, -136.96, -170.93, -199.0, -218.6, -237.95, -256.99, -270.43, -283.5,
+ -295.76, -303.29, -307.52, -309.76, -309.2, -306.53, -303.85, -293.27, -280.33, -267.45, -256.12
+ ],
+ smp_c: [
+ 305.06, 311.53, 314.52, 315.83, 315.7, 315.33, 312.59, 305.12, 289.32, 275.13, 261.13, 246.87, 221.73,
+ 187.69, 149.36, 111.77, 83.02, 51.9, 18.98, -20.54, -46.67, -67.52, -88.24, -112.2, -149.73, -180.6,
+ -208.73, -226.96, -248.8, -269.22, -284.34, -295.66, -305.0, -311.04, -313.9, -315.27, -315.14, -314.71,
+ -311.91, -303.32, -288.32, -273.57, -260.01, -245.26, -222.54, -186.01, -148.61, -110.46, -82.4, -51.34,
+ -18.48, 19.98, 47.36, 67.27, 87.19, 111.83, 149.42, 179.85, 208.54, 225.72, 247.12, 268.47, 283.59, 295.48,
+ 304.75, 311.66, 314.52, 315.83, 315.7, 315.27, 312.53, 304.44, 289.5, 274.82, 261.75, 246.56, 222.67, 188.5,
+ 149.92, 112.58, 83.14, 53.08, 19.17, -19.67, -46.55, -67.34, -87.31, -111.71, -148.92, -180.29, -209.04,
+ -226.34, -248.24, -269.03, -284.15, -295.6, -304.94, -311.22, -314.08, -315.21, -315.27, -314.71, -312.09,
+ -304.0, -288.01, -274.19, -259.88, -246.07, -221.55, -187.13, -148.98, -110.84, -82.4, -51.59, -18.79,
+ 20.66, 46.99, 67.15, 87.31, 111.4, 148.8, 179.91, 208.41, 225.22, 247.25, 268.22, 283.9, 295.23, 304.81,
+ 311.53, 314.46, 315.7, 315.83, 315.27, 312.53, 305.19, 289.01, 275.5, 261.06, 246.81, 223.79, 187.13,
+ 150.85, 112.33, 83.89, 52.71, 19.35, -18.55, -46.99, -66.9, -86.94, -111.27, -147.99, -180.16, -209.22,
+ -225.59, -248.24, -268.9, -284.21, -295.79, -305.06, -311.22, -314.21, -315.39, -315.39, -314.83, -312.4,
+ -303.63, -288.45, -274.07, -260.01, -245.69, -222.54, -187.01, -149.54, -111.71, -82.08, -51.9, -18.73,
+ 19.73, 46.86, 67.65, 86.75, 110.77, 148.3, 179.48, 208.29, 226.09, 246.13, 268.34, 283.78, 295.1, 304.69,
+ 311.22, 314.27, 315.58, 315.58, 315.08, 312.4, 303.75, 289.44, 275.0, 261.81, 247.62, 223.48, 189.99,
+ 151.04, 113.14, 84.08, 53.15, 20.23, -18.92, -45.99, -66.65, -86.38, -110.15, -148.05, -179.85, -208.79,
+ -226.4, -247.62, -268.41, -284.03, -295.54, -305.06, -311.35, -314.15, -315.39, -315.21, -314.83, -312.4,
+ -303.94, -289.81, -274.26, -260.32, -246.44, -222.92, -188.44, -150.23, -111.27, -82.71, -51.84, -19.04,
+ 18.79, 47.3, 67.02, 86.44, 110.71, 148.42, 179.23, 208.98, 225.53, 246.38, 267.78, 283.03, 295.04, 304.63,
+ 311.41, 314.46, 315.7, 315.64, 314.96, 312.59, 303.57, 289.07, 275.25, 261.93, 247.37, 224.1, 188.63,
+ 151.72, 113.82, 83.7, 54.27, 20.47, -18.42, -45.43, -66.15, -86.32, -110.09, -147.37, -177.92, -208.48,
+ -226.65, -247.12, -268.53, -283.72, -295.6, -304.94, -311.28, -317.01, -316.2, -315.52, -314.83, -313.15,
+ -304.75, -288.94, -275.13, -260.81, -246.63, -222.35, -189.99, -149.23, -112.08, -82.4, -51.9, -20.23,
+ 19.85, 46.67, 67.15, 87.19, 110.46, 147.24, 179.17, 208.85, 225.72, 246.56, 267.72, 283.34, 294.86, 265.86,
+ 223.72, 219.12, 222.6, 231.69, 241.96, 241.02, 243.02, 237.66, 233.93, 228.95, 223.04, 209.47, 187.57,
+ 167.78, 141.89, 123.16, 100.38, 75.11, 44.25, 21.22, -38.58, -70.76, -98.39, -133.55, -166.6, -199.14,
+ -215.57, -233.43, -251.36, -266.54, -282.35, -245.13, -227.15, -224.6, -231.44, -243.82, -245.69, -248.99,
+ -246.25, -243.02, -236.54, -229.08, -222.29, -207.54, -182.46, -156.33, -133.36, -119.86, -96.83, -69.51,
+ -38.15, -31.74, 39.14, 68.46, 95.34, 132.99, 165.35, 196.09, 215.07, 233.25, 251.17, 267.16, 284.21, 296.91,
+ 305.43, 309.23, 311.16, 312.09, 312.34, 310.16, 303.88, 287.14, 274.19, 260.25, 245.88, 222.17, 188.69,
+ 151.47, 114.76, 87.19, 56.63, 24.96, -13.57, -41.7, -62.17, -82.27, -106.35, -142.26, -174.56, -204.74,
+ -225.4, -249.18, -267.22, -282.97, -294.67, -304.0, -309.85, -312.96, -314.33, -314.4, -314.21, -311.84,
+ -306.31, -289.07, -275.38, -261.31, -246.44, -222.67, -187.44, -149.73, -111.83, -84.01, -53.77, -21.66,
+ 16.62, 45.12, 65.59, 85.51, 108.97, 145.13, 177.24, 207.92, 226.28, 249.61, 268.22, 283.78, 295.17, 304.69,
+ 311.35, 314.33, 315.64, 315.64, 315.33, 312.9, 305.68, 289.94, 276.0, 262.74, 247.31, 224.53, 189.25,
+ 150.79, 113.57, 84.01, 54.64, 20.91, -17.42, -44.62, -66.03, -86.32, -109.78, -146.06, -177.73, -208.85,
+ -227.58, -249.99, -269.71, -284.65, -296.78, -306.37, -312.47, -315.39, -316.51, -316.7, -316.39, -314.33,
+ -309.48, -292.8, -277.55, -262.99, -248.31, -223.85, -189.87, -150.97, -113.08, -84.45, -53.21, -21.66,
+ 18.3, 46.11, 66.03, 86.44, 109.65, 145.5, 177.17, 207.85, 225.78, 248.24, 268.53, 283.84, 295.35, 304.75,
+ 311.84, 314.89, 316.33, 316.39, 315.89, 313.09, 303.51, 289.57, 275.69, 262.62, 248.55, 225.59, 190.49,
+ 153.15, 115.44, 86.69, 56.26, 23.09, -14.75, -44.37, -64.41, -84.51, -108.35, -145.0, -177.05, -207.54,
+ -225.4, -247.75, -268.1, -283.53, -295.6, -305.31, -311.91, -314.96, -316.14, -316.08, -315.52, -313.52,
+ -305.93, -290.93, -276.12, -262.0, -247.87, -224.53, -189.81, -151.16, -113.2, -83.7, -54.52, -20.79, 17.18,
+ 45.3, 66.4, 86.38, 109.78, 145.62, 177.55, 207.48, 225.78, 247.99, 268.59, 283.03, 294.86, 304.31, 311.53,
+ 314.58, 315.95, 315.95, 315.33, 313.09, 303.82, 288.38, 275.25, 260.94, 247.93, 224.41, 190.37, 151.85,
+ 114.26, 85.57, 54.95, 22.71, -16.18, -44.12, -64.97, -84.76, -108.03, -144.5, -176.49, -206.42, -224.66,
+ -246.69, -267.29, -282.72, -294.3, -304.19, -311.22, -314.33, -315.64, -315.7, -315.45, -313.21, -305.93,
+ -290.93, -276.12, -262.18, -248.06, -224.78, -189.62, -152.03, -114.01, -84.7, -54.33, -21.59, 16.24, 45.62,
+ 66.59, 86.07, 109.65, 145.87, 178.05, 207.98, 225.78, 248.43, 268.66, 283.65, 295.17, 304.44, 311.53,
+ 314.77, 316.14, 316.2, 315.64, 313.28, 304.94, 289.69, 275.5, 261.62, 247.87, 224.78, 190.06, 151.97,
+ 114.63, 84.64, 55.64, 22.22, -16.49, -44.06, -65.53, -85.26, -108.66, -145.56, -176.99, -206.92, -225.34,
+ -246.13, -267.85, -282.78, -294.61, -304.38, -311.28, -314.33, -315.7, -315.83, -315.39, -313.46, -306.18,
+ -290.75, -276.68, -262.0, -248.24, -224.91, -190.74, -151.78, -114.32, -85.01, -54.39, -22.4, 17.18, 45.43,
+ 66.03, 86.5, 109.84, 146.18, 178.05, 207.54, 226.34, 247.93, 268.34, 283.96, 295.23, 304.63, 311.78, 314.71,
+ 316.2, 316.26, 315.7, 313.46, 305.12, 289.75, 275.81, 261.93, 247.62, 225.28, 190.18, 152.22, 114.38, 85.2,
+ 54.95, 22.53, -15.62, -44.81, -65.41, -84.95, -108.59, -145.0, -176.86, -206.8, -224.6, -245.75, -267.22,
+ -282.35, -294.36, -304.13, -311.1, -314.27, -315.77, -315.83, -315.39, -313.15, -305.75, -290.69, -276.19,
+ -262.37, -247.5, -225.53, -190.93, -152.09, -115.0, -85.32, -55.45, -22.9, 16.68, 45.12, 66.28, 85.76,
+ 109.34, 146.31, 176.93, 207.42, 226.09, 247.19, 268.78, 283.84, 295.1, 304.69, 311.78, 314.83, 316.26,
+ 316.33, 315.83, 313.4, 305.93, 289.44, 275.81, 261.44, 247.75, 224.53, 190.87, 151.91, 114.51, 85.38, 55.01,
+ 23.15, -16.24, -44.43, -65.28, -84.88, -108.28, -144.94, -176.24, -206.42, -224.47, -245.44, -266.91,
+ -282.22, -293.98, -303.75, -310.97, -314.15, -315.77, -315.83, -315.39, -313.09, -306.24, -290.25, -276.06,
+ -262.68, -247.93, -225.9, -191.3, -152.78, -114.88, -85.94, -55.82, -22.96, 15.43, 45.3, 65.65, 85.69,
+ 109.03, 145.19, 177.36, 207.85, 225.72, 247.62, 268.03, 283.65, 295.35, 304.75, 311.84, 315.02, 316.33,
+ 316.39, 315.77, 313.65, 305.37, 290.5, 276.19, 261.93, 247.37, 225.09, 191.43, 152.34, 114.82, 85.38, 55.39,
+ 22.9, -15.5, -44.37, -65.16, -85.01, -108.03, -144.5, -176.43, -206.05, -224.97, -244.7, -267.1, -282.28,
+ -293.92, -303.69, -310.91, -314.15, -315.64, -315.77, -315.21, -312.96, -306.37, -290.13, -276.5, -262.0,
+ -248.24, -225.65, -192.05, -153.09, -115.32, -86.56, -55.88, -24.02, 15.56, 44.12, 65.41, 85.51, 108.53,
+ 144.5, 177.67, 207.23, 225.53, 247.25, 268.1, 283.59, 295.29, 304.75, 311.91, 314.96, 316.14, 316.2, 315.83,
+ 313.46, 306.74, 290.5, 276.31, 262.18, 247.87, 225.22, 191.74, 153.28, 115.25, 85.44, 55.51, 23.21, -15.18,
+ -44.37, -64.78, -85.2, -108.03, -144.0, -176.68, -206.36, -224.1, -244.51, -266.54, -281.85, -294.11,
+ -303.69, -310.91, -314.02, -315.45, -315.58, -315.02, -313.03, -305.81, -290.62, -276.68, -262.68, -248.06,
+ -225.59, -192.23, -153.53, -116.0, -86.13, -56.82, -24.21, 14.94, 43.81, 64.53, 84.88, 108.78, 144.19,
+ 176.86, 206.8, 224.97, 246.56, 268.28, 283.47, 295.42, 304.87, 312.03, 314.96, 316.33, 316.26, 315.83,
+ 313.65, 307.43, 290.75, 276.5, 262.06, 248.12, 225.22, 191.92, 153.28, 115.32, 85.57, 55.57, 23.71, -15.31,
+ -44.31, -64.47, -85.2, -107.91, -143.88, -176.12, -206.11, -223.79, -244.57, -266.29, -281.66, -293.86,
+ -303.57, -310.91, -313.9, -315.58, -315.64, -315.02, -313.09, -305.68, -290.87, -276.25, -262.43, -248.18,
+ -225.65, -191.92, -153.71, -116.06, -86.81, -56.88, -24.21, 14.0, 43.44, 64.04, 84.95, 108.47, 143.69,
+ 176.68, 207.17, 224.35, 246.31, 267.47, 283.09, 295.17, 304.81, 311.97, 315.02, 316.39, 316.45, 316.01,
+ 313.96, 306.62, 291.56, 277.31, 262.06, 248.18, 225.47, 192.11, 153.34, 116.06, 85.76, 56.13, 23.52, -14.94,
+ -43.25, -64.22, -84.57, -107.97, -143.07, -175.25, -205.3, -223.1, -243.08, -265.3, -280.85, -293.24,
+ -303.01, -310.35, -313.59, -315.21, -315.33, -314.64, -312.4, -304.31, -289.81, -276.31, -262.31, -248.12,
+ -226.03, -192.73, -154.77, -117.87, -88.56, -58.31, -26.14, 12.88, 43.0, 63.66, 84.26, 107.66, 143.57,
+ 176.43, 206.67, 224.22, 245.63, 267.04, 283.09, 294.98, 304.81, 311.97, 314.96, 316.45, 316.45, 316.08,
+ 313.96, 307.49, 291.99, 277.31, 262.68, 248.43, 225.78, 192.42, 153.59, 116.31, 86.38, 56.01, 23.59, -14.56,
+ -43.25, -64.97, -85.01, -107.85, -143.44, -176.05, -206.42, -223.85, -244.45, -266.23, -281.48, -293.67,
+ -303.32, -310.72, -313.84, -315.52, -315.7, -315.14, -313.03, -305.31, -290.75, -277.18, -262.37, -248.37,
+ -226.4, -192.61, -153.78, -117.31, -87.25, -57.5, -24.77, 14.0, 42.44, 64.47, 84.14, 107.47, 143.01, 176.12,
+ 206.11, 224.41, 245.13, 267.29, 282.41, 294.54, 304.75, 311.91, 315.02, 316.45, 316.51, 316.08, 314.02,
+ 307.99, 291.93, 278.11, 263.37, 248.74, 226.4, 192.73, 153.96, 116.69, 86.56, 56.63, 24.27, -13.88, -43.06,
+ -64.91, -84.7, -107.29, -143.44, -175.68, -206.05, -224.1, -243.51, -265.79, -281.48, -293.61, -303.32,
+ -310.66, -313.84, -315.64, -315.7, -315.21, -312.96, -305.19, -290.25, -277.24, -262.81, -248.12, -226.28,
+ -192.67, -153.78, -116.56, -87.5, -57.75, -25.2, 13.26, 42.38, 64.29, 84.2, 107.35, 142.64, 176.05, 206.05,
+ 223.85, 244.45, 266.42, 282.04, 294.61, 304.5, 311.91, 314.89, 316.39, 316.45, 316.2, 314.02, 307.05,
+ 291.93, 278.3, 263.61, 248.55, 226.59, 192.92, 154.27, 117.0, 87.06, 57.07, 24.58, -13.88, -42.88, -64.22,
+ -84.57, -107.66, -142.64, -175.43, -205.43, -223.85, -244.51, -265.73, -281.16, -293.36, -303.32, -310.79,
+ -313.9, -315.58, -315.7, -315.27, -312.84, -305.62, -290.0, -277.06, -263.43, -248.49, -226.77, -192.61,
+ -154.15, -117.0, -87.37, -58.0, -25.64, 13.38, 42.88, 63.54, 83.89, 107.1, 142.32, 175.68, 205.43, 223.72,
+ 244.45, 266.23, 281.91, 294.3, 304.07, 311.66, 314.83, 316.45, 316.51, 316.33, 314.02, 307.99, 292.3,
+ 277.68, 264.05, 249.05, 227.08, 193.29, 154.52, 117.49, 87.62, 57.5, 24.83, -13.26, -43.0, -64.53, -84.45,
+ -106.85, -142.57, -175.31, -205.55, -223.85, -244.2, -265.92, -281.1, -293.49, -303.38, -310.66, -313.9,
+ -315.58, -315.77, -315.27, -313.15, -305.19, -290.69, -276.75, -262.93, -248.74, -226.71, -193.54, -154.58,
+ -117.25, -87.87, -57.94, -26.01, 13.26, 42.94, 63.48, 83.64, 106.91, 141.7, 175.43, 205.43, 223.72, 244.2,
+ 265.86, 281.48, 293.92, 304.0, 311.6, 314.83, 316.39, 316.51, 316.08, 314.15, 308.11, 292.18, 278.11,
+ 264.49, 249.67, 227.52, 193.85, 155.33, 118.24, 87.93, 57.75, 25.33, -13.38, -43.0, -64.1, -84.08, -106.85,
+ -142.14, -175.31, -205.93, -223.79, -244.63, -266.23, -281.29, -293.61, -303.38, -310.72, -313.96, -315.45,
+ -315.77, -315.39, -313.34, -305.87, -291.06, -277.24, -263.05, -248.8, -226.9, -193.91, -155.14, -117.49,
+ -87.5, -58.0, -25.95, 12.88, 42.38, 63.79, 83.7, 106.35, 141.89, 174.93, 205.55, 223.41, 243.82, 265.79,
+ 281.04, 293.49, 303.69, 311.16, 314.83, 316.26, 316.45, 316.01, 313.96, 307.49, 293.05, 278.24, 264.3,
+ 249.99, 227.46, 194.41, 155.52, 118.12, 88.37, 58.06, 25.83, -12.7, -42.57, -63.79, -83.83, -106.54,
+ -141.39, -174.81, -205.49, -223.66, -244.39, -265.86, -281.23, -293.3, -303.19, -310.54, -313.9, -315.52,
+ -315.58, -315.33, -313.34, -305.99, -291.06, -277.43, -262.99, -248.8, -227.83, -194.04, -155.02, -117.81,
+ -88.06, -58.5, -26.32, 12.7, 42.32, 62.98, 83.58, 106.11, 140.71, 174.5, 204.81, 222.92, 243.33, 265.61,
+ 280.92, 293.36
+ ],
+ smp_x: [
+ -100.0, -99.69, -99.37, -99.06, -98.75, -98.44, -98.12, -97.81, -97.5, -97.19, -96.87, -96.56, -96.25,
+ -95.94, -95.62, -95.31, -95.0, -94.69, -94.37, -94.06, -93.75, -93.44, -93.12, -92.81, -92.5, -92.19,
+ -91.87, -91.56, -91.25, -90.94, -90.62, -90.31, -90.0, -89.69, -89.37, -89.06, -88.75, -88.44, -88.12,
+ -87.81, -87.5, -87.19, -86.87, -86.56, -86.25, -85.94, -85.62, -85.31, -85.0, -84.69, -84.37, -84.06,
+ -83.75, -83.44, -83.12, -82.81, -82.5, -82.19, -81.87, -81.56, -81.25, -80.94, -80.62, -80.31, -80.0,
+ -79.69, -79.37, -79.06, -78.75, -78.44, -78.12, -77.81, -77.5, -77.19, -76.87, -76.56, -76.25, -75.94,
+ -75.62, -75.31, -75.0, -74.69, -74.37, -74.06, -73.75, -73.44, -73.12, -72.81, -72.5, -72.19, -71.87,
+ -71.56, -71.25, -70.94, -70.62, -70.31, -70.0, -69.69, -69.37, -69.06, -68.75, -68.44, -68.12, -67.81,
+ -67.5, -67.19, -66.87, -66.56, -66.25, -65.94, -65.62, -65.31, -65.0, -64.69, -64.37, -64.06, -63.75,
+ -63.44, -63.12, -62.81, -62.5, -62.19, -61.87, -61.56, -61.25, -60.94, -60.62, -60.31, -60.0, -59.69,
+ -59.37, -59.06, -58.75, -58.44, -58.12, -57.81, -57.5, -57.19, -56.87, -56.56, -56.25, -55.94, -55.62,
+ -55.31, -55.0, -54.69, -54.37, -54.06, -53.75, -53.44, -53.12, -52.81, -52.5, -52.19, -51.87, -51.56,
+ -51.25, -50.94, -50.62, -50.31, -50.0, -49.69, -49.37, -49.06, -48.75, -48.44, -48.12, -47.81, -47.5,
+ -47.19, -46.87, -46.56, -46.25, -45.94, -45.62, -45.31, -45.0, -44.69, -44.37, -44.06, -43.75, -43.44,
+ -43.12, -42.81, -42.5, -42.19, -41.87, -41.56, -41.25, -40.94, -40.62, -40.31, -40.0, -39.69, -39.37,
+ -39.06, -38.75, -38.44, -38.12, -37.81, -37.5, -37.19, -36.87, -36.56, -36.25, -35.94, -35.62, -35.31,
+ -35.0, -34.69, -34.37, -34.06, -33.75, -33.44, -33.12, -32.81, -32.5, -32.19, -31.87, -31.56, -31.25,
+ -30.94, -30.62, -30.31, -30.0, -29.69, -29.37, -29.06, -28.75, -28.44, -28.12, -27.81, -27.5, -27.19,
+ -26.87, -26.56, -26.25, -25.94, -25.62, -25.31, -25.0, -24.69, -24.37, -24.06, -23.75, -23.44, -23.12,
+ -22.81, -22.5, -22.19, -21.87, -21.56, -21.25, -20.94, -20.62, -20.31, -20.0, -19.69, -19.37, -19.06,
+ -18.75, -18.44, -18.12, -17.81, -17.5, -17.19, -16.87, -16.56, -16.25, -15.94, -15.62, -15.31, -15.0,
+ -14.69, -14.37, -14.06, -13.75, -13.44, -13.12, -12.81, -12.5, -12.19, -11.87, -11.56, -11.25, -10.94,
+ -10.62, -10.31, -10.0, -9.69, -9.37, -9.06, -8.75, -8.44, -8.12, -7.81, -7.5, -7.19, -6.87, -6.56, -6.25,
+ -5.94, -5.62, -5.31, -5.0, -4.69, -4.37, -4.06, -3.75, -3.44, -3.12, -2.81, -2.5, -2.19, -1.87, -1.56,
+ -1.25, -0.94, -0.62, -0.31, 0.0, 0.31, 0.63, 0.94, 1.25, 1.56, 1.88, 2.19, 2.5, 2.81, 3.13, 3.44, 3.75,
+ 4.06, 4.38, 4.69, 5.0, 5.31, 5.63, 5.94, 6.25, 6.56, 6.88, 7.19, 7.5, 7.81, 8.13, 8.44, 8.75, 9.06, 9.38,
+ 9.69, 10.0, 10.31, 10.63, 10.94, 11.25, 11.56, 11.88, 12.19, 12.5, 12.81, 13.13, 13.44, 13.75, 14.06, 14.38,
+ 14.69, 15.0, 15.31, 15.63, 15.94, 16.25, 16.56, 16.88, 17.19, 17.5, 17.81, 18.13, 18.44, 18.75, 19.06,
+ 19.38, 19.69, 20.0, 20.31, 20.63, 20.94, 21.25, 21.56, 21.88, 22.19, 22.5, 22.81, 23.13, 23.44, 23.75,
+ 24.06, 24.38, 24.69, 25.0, 25.31, 25.63, 25.94, 26.25, 26.56, 26.88, 27.19, 27.5, 27.81, 28.13, 28.44,
+ 28.75, 29.06, 29.38, 29.69, 30.0, 30.31, 30.63, 30.94, 31.25, 31.56, 31.88, 32.19, 32.5, 32.81, 33.13,
+ 33.44, 33.75, 34.06, 34.38, 34.69, 35.0, 35.31, 35.63, 35.94, 36.25, 36.56, 36.88, 37.19, 37.5, 37.81,
+ 38.13, 38.44, 38.75, 39.06, 39.38, 39.69, 40.0, 40.31, 40.63, 40.94, 41.25, 41.56, 41.88, 42.19, 42.5,
+ 42.81, 43.13, 43.44, 43.75, 44.06, 44.38, 44.69, 45.0, 45.31, 45.63, 45.94, 46.25, 46.56, 46.88, 47.19,
+ 47.5, 47.81, 48.13, 48.44, 48.75, 49.06, 49.38, 49.69, 50.0, 50.31, 50.63, 50.94, 51.25, 51.56, 51.88,
+ 52.19, 52.5, 52.81, 53.13, 53.44, 53.75, 54.06, 54.38, 54.69, 55.0, 55.31, 55.63, 55.94, 56.25, 56.56,
+ 56.88, 57.19, 57.5, 57.81, 58.13, 58.44, 58.75, 59.06, 59.38, 59.69, 60.0, 60.31, 60.63, 60.94, 61.25,
+ 61.56, 61.88, 62.19, 62.5, 62.81, 63.13, 63.44, 63.75, 64.06, 64.38, 64.69, 65.0, 65.31, 65.63, 65.94,
+ 66.25, 66.56, 66.88, 67.19, 67.5, 67.81, 68.13, 68.44, 68.75, 69.06, 69.38, 69.69, 70.0, 70.31, 70.63,
+ 70.94, 71.25, 71.56, 71.88, 72.19, 72.5, 72.81, 73.13, 73.44, 73.75, 74.06, 74.38, 74.69, 75.0, 75.31,
+ 75.63, 75.94, 76.25, 76.56, 76.88, 77.19, 77.5, 77.81, 78.13, 78.44, 78.75, 79.06, 79.38, 79.69, 80.0,
+ 80.31, 80.63, 80.94, 81.25, 81.56, 81.88, 82.19, 82.5, 82.81, 83.13, 83.44, 83.75, 84.06, 84.38, 84.69,
+ 85.0, 85.31, 85.63, 85.94, 86.25, 86.56, 86.88, 87.19, 87.5, 87.81, 88.13, 88.44, 88.75, 89.06, 89.38,
+ 89.69, 90.0, 90.31, 90.63, 90.94, 91.25, 91.56, 91.88, 92.19, 92.5, 92.81, 93.13, 93.44, 93.75, 94.06,
+ 94.38, 94.69, 95.0, 95.31, 95.63, 95.94, 96.25, 96.56, 96.88, 97.19, 97.5, 97.81, 98.13, 98.44, 98.75,
+ 99.06, 99.38, 99.69, 100.0, 100.31, 100.63, 100.94, 101.25, 101.56, 101.88, 102.19, 102.5, 102.81, 103.13,
+ 103.44, 103.75, 104.06, 104.38, 104.69, 105.0, 105.31, 105.63, 105.94, 106.25, 106.56, 106.88, 107.19,
+ 107.5, 107.81, 108.13, 108.44, 108.75, 109.06, 109.38, 109.69, 110.0, 110.31, 110.63, 110.94, 111.25,
+ 111.56, 111.88, 112.19, 112.5, 112.81, 113.13, 113.44, 113.75, 114.06, 114.38, 114.69, 115.0, 115.31,
+ 115.63, 115.94, 116.25, 116.56, 116.88, 117.19, 117.5, 117.81, 118.13, 118.44, 118.75, 119.06, 119.38,
+ 119.69, 120.0, 120.31, 120.63, 120.94, 121.25, 121.56, 121.88, 122.19, 122.5, 122.81, 123.13, 123.44,
+ 123.75, 124.06, 124.38, 124.69, 125.0, 125.31, 125.63, 125.94, 126.25, 126.56, 126.88, 127.19, 127.5,
+ 127.81, 128.13, 128.44, 128.75, 129.06, 129.38, 129.69, 130.0, 130.31, 130.63, 130.94, 131.25, 131.56,
+ 131.88, 132.19, 132.5, 132.81, 133.13, 133.44, 133.75, 134.06, 134.38, 134.69, 135.0, 135.31, 135.63,
+ 135.94, 136.25, 136.56, 136.88, 137.19, 137.5, 137.81, 138.13, 138.44, 138.75, 139.06, 139.38, 139.69,
+ 140.0, 140.31, 140.63, 140.94, 141.25, 141.56, 141.88, 142.19, 142.5, 142.81, 143.13, 143.44, 143.75,
+ 144.06, 144.38, 144.69, 145.0, 145.31, 145.63, 145.94, 146.25, 146.56, 146.88, 147.19, 147.5, 147.81,
+ 148.13, 148.44, 148.75, 149.06, 149.38, 149.69, 150.0, 150.31, 150.63, 150.94, 151.25, 151.56, 151.88,
+ 152.19, 152.5, 152.81, 153.13, 153.44, 153.75, 154.06, 154.38, 154.69, 155.0, 155.31, 155.63, 155.94,
+ 156.25, 156.56, 156.88, 157.19, 157.5, 157.81, 158.13, 158.44, 158.75, 159.06, 159.38, 159.69, 160.0,
+ 160.31, 160.63, 160.94, 161.25, 161.56, 161.88, 162.19, 162.5, 162.81, 163.13, 163.44, 163.75, 164.06,
+ 164.38, 164.69, 165.0, 165.31, 165.63, 165.94, 166.25, 166.56, 166.88, 167.19, 167.5, 167.81, 168.13,
+ 168.44, 168.75, 169.06, 169.38, 169.69, 170.0, 170.31, 170.63, 170.94, 171.25, 171.56, 171.88, 172.19,
+ 172.5, 172.81, 173.13, 173.44, 173.75, 174.06, 174.38, 174.69, 175.0, 175.31, 175.63, 175.94, 176.25,
+ 176.56, 176.88, 177.19, 177.5, 177.81, 178.13, 178.44, 178.75, 179.06, 179.38, 179.69, 180.0, 180.31,
+ 180.63, 180.94, 181.25, 181.56, 181.88, 182.19, 182.5, 182.81, 183.13, 183.44, 183.75, 184.06, 184.38,
+ 184.69, 185.0, 185.31, 185.63, 185.94, 186.25, 186.56, 186.88, 187.19, 187.5, 187.81, 188.13, 188.44,
+ 188.75, 189.06, 189.38, 189.69, 190.0, 190.31, 190.63, 190.94, 191.25, 191.56, 191.88, 192.19, 192.5,
+ 192.81, 193.13, 193.44, 193.75, 194.06, 194.38, 194.69, 195.0, 195.31, 195.63, 195.94, 196.25, 196.56,
+ 196.88, 197.19, 197.5, 197.81, 198.13, 198.44, 198.75, 199.06, 199.38, 199.69, 200.0, 200.31, 200.63,
+ 200.94, 201.25, 201.56, 201.88, 202.19, 202.5, 202.81, 203.13, 203.44, 203.75, 204.06, 204.38, 204.69,
+ 205.0, 205.31, 205.63, 205.94, 206.25, 206.56, 206.88, 207.19, 207.5, 207.81, 208.13, 208.44, 208.75,
+ 209.06, 209.38, 209.69, 210.0, 210.31, 210.63, 210.94, 211.25, 211.56, 211.88, 212.19, 212.5, 212.81,
+ 213.13, 213.44, 213.75, 214.06, 214.38, 214.69, 215.0, 215.31, 215.63, 215.94, 216.25, 216.56, 216.88,
+ 217.19, 217.5, 217.81, 218.13, 218.44, 218.75, 219.06, 219.38, 219.69, 220.0, 220.31, 220.63, 220.94,
+ 221.25, 221.56, 221.88, 222.19, 222.5, 222.81, 223.13, 223.44, 223.75, 224.06, 224.38, 224.69, 225.0,
+ 225.31, 225.63, 225.94, 226.25, 226.56, 226.88, 227.19, 227.5, 227.81, 228.13, 228.44, 228.75, 229.06,
+ 229.38, 229.69, 230.0, 230.31, 230.63, 230.94, 231.25, 231.56, 231.88, 232.19, 232.5, 232.81, 233.13,
+ 233.44, 233.75, 234.06, 234.38, 234.69, 235.0, 235.31, 235.63, 235.94, 236.25, 236.56, 236.88, 237.19,
+ 237.5, 237.81, 238.13, 238.44, 238.75, 239.06, 239.38, 239.69, 240.0, 240.31, 240.63, 240.94, 241.25,
+ 241.56, 241.88, 242.19, 242.5, 242.81, 243.13, 243.44, 243.75, 244.06, 244.38, 244.69, 245.0, 245.31,
+ 245.63, 245.94, 246.25, 246.56, 246.88, 247.19, 247.5, 247.81, 248.13, 248.44, 248.75, 249.06, 249.38,
+ 249.69, 250.0, 250.31, 250.63, 250.94, 251.25, 251.56, 251.88, 252.19, 252.5, 252.81, 253.13, 253.44,
+ 253.75, 254.06, 254.38, 254.69, 255.0, 255.31, 255.63, 255.94, 256.25, 256.56, 256.88, 257.19, 257.5,
+ 257.81, 258.13, 258.44, 258.75, 259.06, 259.38, 259.69, 260.0, 260.31, 260.63, 260.94, 261.25, 261.56,
+ 261.88, 262.19, 262.5, 262.81, 263.13, 263.44, 263.75, 264.06, 264.38, 264.69, 265.0, 265.31, 265.63,
+ 265.94, 266.25, 266.56, 266.88, 267.19, 267.5, 267.81, 268.13, 268.44, 268.75, 269.06, 269.38, 269.69,
+ 270.0, 270.31, 270.63, 270.94, 271.25, 271.56, 271.88, 272.19, 272.5, 272.81, 273.13, 273.44, 273.75,
+ 274.06, 274.38, 274.69, 275.0, 275.31, 275.63, 275.94, 276.25, 276.56, 276.88, 277.19, 277.5, 277.81,
+ 278.13, 278.44, 278.75, 279.06, 279.38, 279.69, 280.0, 280.31, 280.63, 280.94, 281.25, 281.56, 281.88,
+ 282.19, 282.5, 282.81, 283.13, 283.44, 283.75, 284.06, 284.38, 284.69, 285.0, 285.31, 285.63, 285.94,
+ 286.25, 286.56, 286.88, 287.19, 287.5, 287.81, 288.13, 288.44, 288.75, 289.06, 289.38, 289.69, 290.0,
+ 290.31, 290.63, 290.94, 291.25, 291.56, 291.88, 292.19, 292.5, 292.81, 293.13, 293.44, 293.75, 294.06,
+ 294.38, 294.69, 295.0, 295.31, 295.63, 295.94, 296.25, 296.56, 296.88, 297.19, 297.5, 297.81, 298.13,
+ 298.44, 298.75, 299.06, 299.38, 299.69, 300.0, 300.31, 300.63, 300.94, 301.25, 301.56, 301.88, 302.19,
+ 302.5, 302.81, 303.13, 303.44, 303.75, 304.06, 304.38, 304.69, 305.0, 305.31, 305.63, 305.94, 306.25,
+ 306.56, 306.88, 307.19, 307.5, 307.81, 308.13, 308.44, 308.75, 309.06, 309.38, 309.69, 310.0, 310.31,
+ 310.63, 310.94, 311.25, 311.56, 311.88, 312.19, 312.5, 312.81, 313.13, 313.44, 313.75, 314.06, 314.38,
+ 314.69, 315.0, 315.31, 315.63, 315.94, 316.25, 316.56, 316.88, 317.19, 317.5, 317.81, 318.13, 318.44,
+ 318.75, 319.06, 319.38, 319.69, 320.0, 320.31, 320.63, 320.94, 321.25, 321.56, 321.88, 322.19, 322.5,
+ 322.81, 323.13, 323.44, 323.75, 324.06, 324.38, 324.69, 325.0, 325.31, 325.63, 325.94, 326.25, 326.56,
+ 326.88, 327.19, 327.5, 327.81, 328.13, 328.44, 328.75, 329.06, 329.38, 329.69, 330.0, 330.31, 330.63,
+ 330.94, 331.25, 331.56, 331.88, 332.19, 332.5, 332.81, 333.13, 333.44, 333.75, 334.06, 334.38, 334.69,
+ 335.0, 335.31, 335.63, 335.94, 336.25, 336.56, 336.88, 337.19, 337.5, 337.81, 338.13, 338.44, 338.75,
+ 339.06, 339.38, 339.69, 340.0, 340.31, 340.63, 340.94, 341.25, 341.56, 341.88, 342.19, 342.5, 342.81,
+ 343.13, 343.44, 343.75, 344.06, 344.38, 344.69, 345.0, 345.31, 345.63, 345.94, 346.25, 346.56, 346.88,
+ 347.19, 347.5, 347.81, 348.13, 348.44, 348.75, 349.06, 349.38, 349.69, 350.0, 350.31, 350.63, 350.94,
+ 351.25, 351.56, 351.88, 352.19, 352.5, 352.81, 353.13, 353.44, 353.75, 354.06, 354.38, 354.69, 355.0,
+ 355.31, 355.63, 355.94, 356.25, 356.56, 356.88, 357.19, 357.5, 357.81, 358.13, 358.44, 358.75, 359.06,
+ 359.38, 359.69
+ ],
+ smp_len: 1472,
+ sagReason: [
+ '其他',
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null
+ ],
+ sagType: [
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null
+ ],
+ sagPhaseType: [
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null
+ ],
+ backNumber: 0,
+ evt_buf: [
+ {
+ autoRead: true,
+ autoWrite: true,
+ qvvr_cata_cause: [
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ ],
+ qvvr_phasetype: [
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ ],
+ qvvr_cata_type: [
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ ],
+ hold_time_rms: 0.0,
+ hold_time_dq: 0.0,
+ POW_a: 0.0,
+ POW_b: 0.0,
+ POW_c: 0.0,
+ Voltagechange_Va: 0.0,
+ Voltagechange_Vb: 0.0,
+ Voltagechange_Vc: 0.0,
+ SEG_T_num: 0,
+ SEG_T0_idx: [
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ ],
+ SEG_T_idx: [
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ ],
+ SEG_RMS_T_num: 0,
+ SEG_RMS_T_idx: [
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ ],
+ u_min_num: 0,
+ ua_min: [
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
+ ],
+ ub_min: [
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
+ ],
+ uc_min: [
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
+ ],
+ u3_min: [
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
+ ],
+ order_min_idx: [
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ ],
+ angle_diff_ap: [
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
+ ],
+ angle_diff_bp: [
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
+ ],
+ angle_diff_cp: [
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
+ ],
+ angle_diff_an: [
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
+ ],
+ angle_diff_bn: [
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
+ ],
+ angle_diff_cn: [
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
+ ],
+ bph_max_value: [
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
+ ],
+ pointer: {
+ size: 18476,
+ valid: true
+ }
+ }
+ ],
+ power_before_buf: null,
+ power_after_buf: null,
+ qvvr_direction_info: null,
+ qvvr_utbl_info: null
\ No newline at end of file
diff --git a/src/components/echarts/rmsboxi.vue b/src/components/echarts/rmsboxi.vue
index 376f2aaa..45c4713e 100644
--- a/src/components/echarts/rmsboxi.vue
+++ b/src/components/echarts/rmsboxi.vue
@@ -1,1624 +1,1624 @@
-
-
-
-
+
+
+
+
diff --git a/src/components/echarts/shushiboxi.vue b/src/components/echarts/shushiboxi.vue
index f6d5631f..9e38eeb1 100644
--- a/src/components/echarts/shushiboxi.vue
+++ b/src/components/echarts/shushiboxi.vue
@@ -1,1228 +1,1228 @@
-
-
-
-
+
+
+
+
diff --git a/src/components/echarts/waveForm.vue b/src/components/echarts/waveForm.vue
index 95857de9..0f7e871f 100644
--- a/src/components/echarts/waveForm.vue
+++ b/src/components/echarts/waveForm.vue
@@ -16,9 +16,9 @@
:value="item.value"
>
-
+
返回
@@ -102,7 +102,7 @@ const options = ref([
const shushiboxiRef = ref()
const bxecharts = ref(mainHeight(95).height as any)
const view2 = ref(true)
-const boxoList:any = ref(null)
+const boxoList: any = ref(null)
const wp = ref(null)
const showBoxi = ref(true)
const view3 = ref(false)
@@ -124,6 +124,7 @@ const open = async (row: any) => {
})
.catch(() => {
loading.value = false
+ backbxlb()
})
}
const bxhandleClick = (tab: any) => {
@@ -163,1510 +164,11 @@ const AdvancedAnalytics = () => {
analysis({
eventIndex: boxoList.value.eventId
}).then(res => {
- // GJList.value = res.data
- // view3.value = true
- // view2.value = false
+ // GJList.value = res.data
+ // view3.value = true
+ // view2.value = false
})
- GJList.value = {
- smp_a: [
- -67.51, -88.41, -117.72, -151.07, -178.7, -198.36, -217.58, -234.63, -255.48, -271.78, -285.34, -292.31,
- -295.61, -297.6, -298.03, -297.97, -296.35, -289.57, -281.11, -274.02, -263.44, -250.37, -233.08, -202.71,
- -164.88, -129.85, -99.74, -71.18, -41.75, -11.32, 20.66, 46.42, 67.45, 88.79, 118.03, 151.69, 179.13,
- 198.73, 218.45, 236.19, 256.78, 273.71, 286.59, 293.37, 296.79, 298.97, 299.53, 299.34, 297.72, 291.13,
- 282.54, 274.2, 264.75, 250.81, 233.51, 203.58, 165.82, 131.16, 99.74, 71.3, 39.95, 10.58, -20.47, -46.66,
- -66.58, -88.1, -116.66, -150.45, -178.38, -198.05, -216.65, -235.5, -254.92, -272.03, -285.4, -292.31,
- -295.92, -297.54, -298.03, -297.72, -296.1, -289.82, -281.11, -273.83, -263.81, -250.75, -233.2, -203.89,
- -165.38, -131.35, -100.24, -71.06, -42.19, -10.89, 19.54, 46.11, 67.01, 88.1, 116.97, 151.13, 178.82,
- 198.79, 217.83, 236.12, 256.41, 273.33, 286.65, 293.37, 296.98, 298.97, 299.4, 299.46, 297.85, 291.07,
- 282.54, 274.76, 264.75, 251.18, 234.13, 203.77, 166.19, 131.41, 100.61, 70.68, 40.51, 10.95, -20.78, -45.86,
- -66.7, -87.79, -116.48, -150.7, -178.51, -197.8, -217.71, -235.0, -254.92, -272.21, -285.22, -292.06,
- -295.73, -297.22, -298.1, -297.78, -295.73, -289.82, -280.8, -273.21, -264.12, -250.25, -233.45, -203.46,
- -165.13, -131.41, -99.86, -71.68, -41.38, -12.01, 19.35, 46.29, 66.33, 87.79, 116.79, 150.51, 178.76,
- 198.67, 217.21, 236.37, 255.97, 273.33, 286.77, 293.12, 296.91, 298.66, 299.65, 299.53, 297.66, 291.5,
- 282.29, 274.7, 265.06, 251.68, 233.88, 204.52, 166.25, 131.91, 100.92, 71.43, 41.0, 10.52, -19.47, -45.73,
- -66.51, -87.42, -116.04, -150.26, -177.89, -198.17, -217.15, -235.38, -255.48, -271.65, -285.03, -292.19,
- -295.73, -297.47, -298.28, -297.97, -295.79, -290.13, -281.36, -273.46, -263.81, -250.87, -233.26, -203.89,
- -166.25, -131.41, -100.61, -71.62, -41.94, -12.38, 19.66, 45.42, 66.26, 87.29, 115.79, 150.57, 178.51,
- 198.17, 217.83, 235.69, 255.23, 273.39, 286.09, 293.06, 296.98, 298.59, 299.71, 299.46, 298.16, 291.87,
- 282.91, 274.95, 265.37, 251.37, 234.63, 205.14, 167.12, 133.03, 100.8, 72.8, 40.51, 11.14, -19.91, -45.92,
- -66.2, -86.98, -115.54, -149.64, -177.76, -198.17, -216.21, -236.44, -255.16, -271.9, -285.09, -292.25,
- -295.86, -297.91, -297.97, -297.85, -295.86, -289.2, -281.42, -273.52, -263.63, -250.81, -233.45, -204.39,
- -166.5, -131.47, -100.3, -71.99, -42.5, -11.7, 18.54, 45.42, 66.26, 86.73, 110.94, 149.7, 177.45, 198.61,
- 216.65, 235.19, 255.91, 272.27, 285.9, 293.12, 296.66, 298.78, 299.65, 299.46, 298.34, 291.56, 283.04,
- 275.07, 265.06, 252.55, 234.94, 204.89, 167.68, 132.9, 101.79, 72.3, 41.44, 11.82, -20.22, -45.36, -80.45,
- -128.73, -173.22, -212.73, -235.0, -248.26, -266.55, -278.99, -292.12, -300.02, -305.19, -309.73, -310.98,
- -308.42, -294.3, -284.66, -273.08, -261.14, -247.32, -233.88, -225.36, -225.61, -216.4, -189.96, -153.37,
- -120.52, -90.03, -62.03, -29.06, 3.11, 34.1, 58.36, 102.79, 132.4, 173.41, 211.17, 230.59, 247.57, 263.13,
- 278.06, 291.75, 302.64, 308.67, 311.6, 312.41, 309.79, 300.15, 289.26, 277.13, 264.19, 249.81, 237.68,
- 201.22, 223.93, 214.04, 188.46, 152.19, 119.84, 89.29, 60.73, 30.18, -3.48, -33.85, -56.62, -74.48, -93.52,
- -121.58, -154.99, -181.56, -201.66, -219.76, -237.12, -257.59, -273.15, -286.46, -294.74, -297.85, -299.03,
- -298.16, -297.16, -294.11, -287.58, -277.13, -269.1, -259.83, -246.83, -229.41, -199.66, -162.02, -127.55,
- -97.56, -70.99, -43.49, -12.07, 19.91, 45.48, 67.01, 88.23, 116.72, 151.57, 178.88, 198.67, 218.39, 235.07,
- 254.98, 272.71, 285.65, 293.55, 297.47, 299.96, 300.77, 300.21, 297.47, 291.0, 281.73, 273.27, 264.31,
- 250.75, 234.2, 203.96, 165.69, 132.09, 100.92, 73.98, 44.55, 13.44, -18.11, -44.49, -64.77, -86.05, -114.61,
- -148.83, -176.7, -196.93, -215.47, -234.13, -253.8, -271.09, -284.1, -291.81, -295.73, -297.85, -299.03,
- -298.9, -296.85, -291.63, -281.92, -274.27, -264.81, -251.93, -234.94, -205.39, -166.87, -133.4, -102.6,
- -74.42, -46.79, -14.93, 16.3, 42.56, 63.71, 84.49, 112.68, 148.08, 175.09, 195.87, 214.53, 231.65, 251.93,
- 269.29, 283.47, 291.75, 295.61, 298.1, 299.22, 298.97, 297.78, 291.38, 283.16, 275.82, 266.05, 252.74,
- 235.81, 205.95, 168.31, 133.4, 102.66, 73.92, 44.55, 14.68, -17.79, -43.24, -64.15, -85.49, -113.3, -147.71,
- -175.71, -195.87, -215.65, -234.63, -253.92, -271.4, -284.35, -291.38, -294.99, -296.85, -297.85, -297.35,
- -295.42, -289.32, -280.92, -272.34, -263.94, -250.31, -233.7, -204.45, -166.07, -133.09, -100.55, -73.42,
- -43.62, -14.19, 17.42, 43.87, 64.4, 85.49, 114.17, 148.71, 176.95, 197.18, 215.65, 234.63, 253.3, 271.15,
- 285.03, 292.06, 296.17, 298.28, 299.59, 299.28, 297.85, 292.62, 282.67, 274.89, 265.31, 251.87, 235.07,
- 205.7, 167.19, 133.59, 102.35, 73.79, 44.92, 13.5, -17.67, -44.36, -65.39, -85.8, -113.74, -148.52, -175.77,
- -196.74, -215.53, -234.44, -255.16, -271.59, -285.47, -292.56, -295.61, -297.6, -298.72, -298.66, -296.85,
- -290.26, -281.42, -273.39, -264.19, -250.68, -233.95, -204.58, -166.87, -132.34, -101.23, -72.67, -43.55,
- -14.0, 18.42, 44.74, 65.64, 86.42, 114.42, 148.77, 176.58, 196.49, 216.15, 233.51, 253.8, 271.4, 284.59,
- 292.62, 296.23, 298.1, 299.4, 299.22, 297.72, 292.19, 282.79, 274.83, 265.99, 252.05, 235.63, 206.38,
- 168.31, 135.08, 102.79, 75.22, 45.17, 14.93, -16.8, -44.43, -64.9, -85.49, -113.92, -148.08, -175.52,
- -196.86, -214.53, -234.57, -253.98, -271.09, -285.22, -292.37, -295.92, -297.91, -298.84, -298.53, -297.04,
- -290.07, -282.17, -274.08, -264.75, -251.8, -234.44, -205.76, -167.5, -133.65, -102.04, -73.48, -43.99,
- -13.81, 17.48, 44.43, 65.46, 85.74, 114.36, 148.89, 175.96, 196.74, 215.47, 233.26, 253.86, 270.35, 284.47,
- 292.75, 296.04, 298.03, 299.22, 299.09, 297.54, 292.12, 282.85, 275.32, 265.99, 252.55, 236.31, 206.69,
- 169.61, 134.64, 103.91, 74.91, 45.67, 15.24, -16.92, -43.43, -64.27, -85.24, -113.3, -147.52, -175.4,
- -195.5, -215.22, -233.82, -253.36, -271.09, -284.97, -292.31, -295.86, -297.78, -298.97, -298.84, -297.47,
- -291.87, -282.29, -274.39, -265.24, -251.37, -235.5, -206.01, -168.49, -134.33, -102.04, -74.04, -43.68,
- -14.19, 17.42, 44.49, 65.14, 85.49, 114.05, 148.21, 175.83, 196.8, 215.41, 234.13, 253.73, 270.84, 285.03,
- 292.81, 296.42, 298.41, 299.22, 298.9, 297.41, 291.31, 283.16, 275.63, 265.87, 252.61, 236.19, 207.63,
- 169.24, 135.64, 103.91, 75.1, 45.98, 15.43, -16.18, -43.06, -64.52, -84.81, -112.56, -147.71, -174.65,
- -195.99, -214.97, -233.45, -253.98, -270.72, -284.97, -292.68, -296.17, -298.47, -299.46, -299.34, -297.72,
- -291.87, -282.54, -274.64, -265.37, -252.05, -235.5, -206.51, -169.18, -134.46, -102.85, -73.86, -44.18,
- -14.5, 17.67, 44.24, 65.27, 85.68, 113.24, 148.02, 175.83, 196.24, 215.9, 233.57, 253.86, 271.28, 284.53,
- 292.81, 296.35, 298.34, 299.4, 299.03, 297.47, 291.44, 282.6, 275.14, 266.36, 252.36, 236.81, 207.57,
- 169.99, 136.26, 103.97, 76.22, 45.86, 15.87, -15.87, -42.87, -63.96, -84.31, -112.31, -146.65, -174.53,
- -196.06, -214.22, -233.7, -253.36, -270.41, -285.15, -292.37, -296.35, -298.28, -299.4, -299.28, -297.6,
- -292.0, -282.6, -275.07, -265.68, -252.3, -235.63, -207.25, -169.3, -135.33, -102.85, -74.42, -44.55,
- -14.62, 16.86, 43.93, 64.96, 85.37, 112.99, 148.08, 174.84, 196.68, 215.53, 233.45, 254.04, 270.91, 284.84,
- 292.68, 295.98, 298.28, 299.34, 298.97, 297.16, 291.69, 282.6, 275.14, 266.36, 252.74, 236.62, 207.69,
- 170.73, 136.39, 105.09, 75.97, 46.48, 16.61, -15.68, -42.25, -63.59, -84.18, -112.0, -146.78, -174.09,
- -195.31, -214.6, -233.01, -253.11, -270.22, -284.91, -292.43, -296.23, -298.34, -299.34, -299.09, -298.03,
- -291.56, -283.04, -275.14, -265.93, -252.24, -236.37, -207.57, -169.99, -135.83, -103.6, -75.04, -44.05,
- -14.87, 17.05, 43.55, 64.58, 85.18, 113.12, 147.59, 175.09, 196.93, 215.22, 234.01, 253.73, 270.59, 284.78,
- 292.93, 296.85, 298.66, 299.53, 298.9, 297.22, 292.25, 282.42, 274.89, 266.05, 252.49, 236.56, 208.19,
- 170.48, 136.64, 104.59, 75.78, 46.48, 16.18, -14.81, -42.19, -63.28, -83.81, -111.68, -146.28, -173.72,
- -195.68, -214.22, -232.7, -252.86, -270.16, -284.59, -292.25, -296.17, -298.53, -299.78, -299.59, -298.22,
- -292.19, -282.91, -275.45, -265.8, -252.68, -236.37, -207.25, -170.67, -135.83, -104.03, -75.04, -44.36,
- -15.24, 16.99, 43.43, 64.58, 85.55, 112.87, 147.46, 175.02, 196.18, 215.41, 233.95, 253.86, 270.84, 284.47,
- 292.93, 296.66, 298.59, 300.02, 299.4, 297.47, 291.81, 283.29, 275.07, 265.8, 252.68, 236.87, 208.0, 170.42,
- 137.01, 105.09, 76.47, 46.42, 16.49, -15.24, -42.37, -62.72, -83.81, -111.93, -145.91, -173.47, -195.37,
- -213.48, -233.39, -252.12, -269.6, -284.53, -292.25, -296.23, -298.41, -299.59, -299.65, -298.03, -293.06,
- -283.47, -275.45, -265.99, -252.61, -236.37, -207.75, -169.99, -136.01, -103.91, -74.73, -44.36, -14.44,
- 17.23, 43.8, 65.14, 85.61, 113.24, 147.96, 174.96, 196.68, 215.53, 234.76, 254.42, 270.97, 284.97, 293.06,
- 296.6, 298.47, 299.34, 298.53, 296.17, 290.51, 281.98, 274.14, 265.62, 252.24, 236.31, 207.32, 170.79,
- 136.82, 105.34, 76.34, 46.42, 16.92, -15.0, -42.0, -63.03, -83.62, -111.44, -146.15, -173.41, -194.5,
- -213.91, -232.02, -251.87, -269.29, -283.85, -292.19, -295.98, -297.91, -299.59, -299.71, -298.34, -292.87,
- -284.03, -275.63, -265.93, -253.11, -236.81, -208.37, -170.61, -136.88, -105.09, -76.41, -45.67, -16.05,
- 15.8, 43.06, 64.52, 84.74, 112.8, 146.96, 174.03, 196.12, 214.78, 234.13, 253.48, 270.22, 284.47, 292.68,
- 296.6, 298.66, 299.65, 299.15, 297.6, 291.75, 283.47, 275.51, 266.05, 252.99, 236.75, 208.69, 171.35,
- 137.51, 105.77, 76.9, 47.04, 16.74, -14.81, -41.81, -62.9, -83.31, -110.81, -145.84, -172.72, -194.69,
- -213.41, -231.89, -252.3, -268.91, -283.54, -292.06, -295.79, -298.1, -299.59, -299.53, -298.16, -292.75,
- -283.35, -275.7, -266.67, -253.48, -237.0, -208.75, -171.35, -137.26, -105.03, -76.34, -46.04, -16.11,
- 15.56, 43.12, 64.4, 84.93, 112.43, 147.09, 174.22, 195.93, 215.16, 233.57, 253.98, 270.41, 284.41, 292.99,
- 296.79, 298.78, 300.09, 299.78, 297.72, 292.68, 283.16, 275.39, 266.3, 253.3, 237.0, 208.44, 171.54, 137.38,
- 105.65, 77.03, 46.67, 16.74, -15.0, -41.56, -62.84, -83.31, -111.25, -145.35, -172.6, -194.69, -212.92,
- -231.96, -251.68, -268.85, -283.23, -291.87, -295.86, -298.34, -299.59, -299.28, -298.1, -292.5, -283.72,
- -275.51, -266.61, -253.55, -237.12, -208.87, -171.48, -137.57, -105.59, -76.9, -46.79, -16.61, 15.43, 42.68,
- 63.84, 84.43, 111.93, 146.78, 173.66, 195.68, 214.85, 233.7, 253.98, 270.53, 284.03, 292.81, 296.54, 298.97,
- 300.34, 299.84, 298.1, 292.56, 283.6, 275.57, 266.67, 253.11, 237.18, 208.75, 172.1, 137.76, 105.96, 77.15,
- 46.85, 16.99, -14.68, -41.69, -62.66, -83.13, -110.75, -145.16, -172.54, -194.06, -213.41, -231.33, -251.62,
- -268.85, -283.23, -291.87, -295.67, -297.85, -299.03, -299.03, -297.72, -292.62, -283.6, -275.39, -267.23,
- -253.73, -237.37, -209.12, -172.29, -137.63, -105.96, -77.22, -47.1, -17.23, 15.37, 42.25, 63.53, 84.06,
- 111.68, 146.22, 173.28, 195.62, 214.53, 233.33, 253.86, 270.28, 284.78, 292.75, 296.48, 298.72, 299.96,
- 299.59, 298.03, 292.56, 284.03, 275.88, 266.99, 253.61, 237.49, 209.06, 172.66, 137.82, 106.33, 77.34,
- 47.04, 17.36, -14.87, -41.5, -62.28, -82.88, -110.19, -144.97, -172.04, -194.13, -212.85, -231.27, -251.68,
- -268.42, -282.98, -291.44, -295.23, -297.72, -298.97, -298.84, -297.66, -292.81, -283.72, -275.7, -267.11,
- -253.61, -237.8, -209.93, -172.66, -138.44, -106.46, -77.53, -47.91, -17.73, 14.62, 42.19, 63.09, 83.93,
- 111.25, 145.84, 172.85, 195.37, 214.1, 233.39, 252.99, 269.97, 284.97, 292.62, 296.48, 298.72, 299.96,
- 299.84, 298.53, 292.62, 284.03, 275.88, 267.05, 253.8, 237.62, 209.87, 172.41, 138.38, 106.71, 77.28, 47.1,
- 17.42, -14.81, -41.56, -62.59, -83.13, -110.38, -145.1, -172.29, -194.13, -212.92, -231.21, -251.18,
- -268.11, -283.1, -291.63, -295.36, -297.72, -298.97, -298.72, -297.22, -292.37, -283.41, -275.26, -267.11,
- -253.73, -237.56, -210.05, -173.1, -138.69, -106.65, -77.65, -48.16, -18.42, 14.44, 41.94, 62.9, 83.62,
- 110.81, 145.53, 172.41, 195.06, 214.1, 233.01, 253.11, 269.85, 284.59, 292.43, 296.48, 298.66, 300.15,
- 299.9, 298.1, 292.68, 283.85, 276.19, 267.11, 253.92, 238.24, 210.68, 173.22, 138.94, 106.58, 77.84, 47.22,
- 17.3, -14.25, -41.81
- ],
- smp_b: [
- -240.13, -216.73, -182.7, -143.31, -108.71, -76.41, -47.11, -12.69, 17.17, 43.99, 69.01, 89.42, 113.87,
- 146.04, 177.9, 204.16, 222.33, 243.37, 259.79, 272.92, 285.93, 297.07, 304.1, 307.83, 309.26, 308.7, 305.47,
- 301.92, 288.54, 276.03, 264.02, 253.38, 239.45, 217.54, 183.07, 143.99, 109.64, 76.72, 47.98, 13.38, -15.31,
- -42.87, -67.2, -88.05, -112.38, -144.43, -176.72, -204.1, -221.96, -242.74, -259.86, -273.17, -285.87,
- -297.81, -304.72, -308.14, -309.45, -309.2, -306.46, -303.54, -290.47, -277.65, -265.33, -254.32, -240.01,
- -217.42, -183.69, -143.43, -110.33, -76.1, -48.29, -13.19, 16.37, 43.31, 69.07, 88.3, 112.5, 145.24, 176.85,
- 204.16, 222.71, 243.12, 260.1, 272.99, 285.74, 297.07, 303.97, 307.71, 309.2, 308.52, 305.16, 302.29,
- 288.79, 276.78, 264.15, 253.14, 240.32, 217.54, 184.0, 144.68, 109.64, 77.28, 47.6, 14.31, -15.87, -42.0,
- -67.58, -87.8, -111.38, -144.24, -176.1, -203.54, -221.84, -242.49, -259.48, -272.99, -285.93, -297.56,
- -304.53, -308.02, -309.33, -309.14, -306.21, -303.97, -290.47, -278.03, -265.77, -254.26, -240.07, -218.29,
- -183.44, -144.74, -110.26, -76.29, -48.35, -13.38, 16.24, 43.68, 68.32, 88.8, 112.82, 144.74, 177.16,
- 204.66, 222.77, 243.37, 260.1, 273.36, 285.8, 297.32, 304.04, 307.71, 309.2, 308.77, 305.03, 301.98, 289.1,
- 276.53, 263.71, 253.57, 239.69, 217.6, 184.25, 143.87, 110.76, 76.54, 47.98, 13.81, -14.87, -41.88, -67.7,
- -87.61, -111.2, -143.8, -175.98, -203.48, -221.9, -241.69, -259.42, -272.74, -285.62, -297.44, -304.22,
- -308.02, -309.33, -309.26, -306.4, -303.48, -290.6, -278.15, -265.46, -254.01, -240.94, -218.35, -184.81,
- -144.8, -110.26, -77.84, -48.04, -14.75, 15.68, 42.81, 68.51, 88.92, 111.7, 144.36, 176.66, 204.29, 222.52,
- 243.24, 259.67, 273.36, 285.87, 297.25, 304.35, 307.83, 309.14, 308.64, 305.47, 302.17, 288.6, 276.66,
- 264.27, 253.2, 239.63, 218.54, 184.0, 145.3, 110.95, 76.85, 48.41, 14.25, -14.69, -41.82, -67.02, -87.55,
- -110.82, -143.49, -175.91, -203.48, -221.15, -241.69, -259.17, -272.49, -285.31, -297.0, -304.29, -307.77,
- -309.2, -309.08, -305.97, -302.98, -291.34, -278.59, -265.71, -254.82, -240.5, -218.97, -185.37, -144.99,
- -111.7, -77.04, -48.85, -15.18, 14.62, 42.19, 68.76, 88.3, 111.26, 143.74, 176.29, 204.35, 222.83, 242.43,
- 259.92, 273.05, 285.99, 297.38, 304.22, 307.83, 309.14, 309.08, 305.78, 301.98, 289.29, 277.03, 264.27,
- 253.45, 240.19, 217.92, 182.07, 144.92, 110.58, 77.78, 47.29, 14.69, -15.0, -41.75, -67.58, -87.49, -110.26,
- -142.56, -175.1, -203.04, -221.09, -241.93, -258.61, -272.3, -285.31, -296.51, -303.73, -307.71, -309.26,
- -309.08, -306.15, -303.17, -290.84, -278.77, -265.95, -254.63, -258.98, -259.54, -245.79, -210.2, -164.59,
- -126.07, -96.01, -58.49, -20.78, 12.51, 40.57, 68.95, 97.26, 135.65, 180.39, 215.3, 245.54, 267.76, 289.97,
- 306.09, 313.81, 317.23, 320.78, 323.08, 323.89, 322.58, 316.11, 314.43, 306.03, 294.95, 280.7, 265.89,
- 276.41, 261.85, 244.67, 206.84, 161.23, 124.14, 93.71, 57.87, 19.29, -11.82, -39.33, -67.7, -95.89, -132.98,
- -173.98, -210.32, -241.13, -267.14, -288.11, -305.84, -325.82, -322.02, -323.39, -323.82, -324.14, -322.08,
- -318.35, -313.81, -303.17, -292.77, -280.27, -265.21, -248.34, -224.95, -191.59, -150.96, -114.93, -82.57,
- -52.02, -17.73, 12.57, 39.26, 65.4, 86.68, 109.08, 142.06, 175.48, 203.79, 223.83, 245.11, 264.83, 277.47,
- 289.54, 300.49, 308.33, 313.06, 314.68, 312.75, 309.7, 299.56, 288.98, 277.09, 265.02, 254.5, 241.06,
- 219.78, 186.24, 147.23, 112.13, 78.9, 49.84, 15.06, -14.62, -41.26, -66.52, -86.74, -109.52, -141.13,
- -173.98, -202.3, -221.21, -242.0, -260.79, -273.67, -286.49, -297.81, -305.78, -310.26, -312.19, -310.2,
- -307.21, -300.36, -288.79, -277.65, -265.02, -254.63, -240.57, -219.78, -186.06, -145.73, -112.32, -77.66,
- -50.03, -15.18, 14.56, 41.32, 68.2, 87.86, 110.64, 142.81, 175.35, 202.55, 221.59, 241.44, 259.86, 272.55,
- 285.31, 297.19, 303.85, 308.58, 310.51, 308.7, 305.16, 299.06, 287.24, 275.54, 263.34, 252.08, 239.2, 216.8,
- 184.25, 144.99, 109.77, 77.28, 46.92, 13.5, -17.67, -42.87, -68.14, -88.67, -110.76, -142.31, -175.23,
- -202.92, -220.84, -240.94, -258.49, -271.68, -284.62, -296.44, -303.85, -308.21, -310.32, -309.26, -306.4,
- -302.05, -289.66, -277.47, -265.39, -254.13, -240.5, -220.03, -185.5, -146.36, -112.19, -77.91, -50.03,
- -16.05, 13.01, 41.57, 67.08, 88.05, 111.32, 142.75, 176.04, 204.04, 222.4, 242.93, 260.23, 273.92, 286.24,
- 298.06, 305.09, 309.01, 311.07, 309.57, 306.53, 302.85, 289.04, 277.4, 264.4, 253.7, 239.94, 218.6, 185.56,
- 145.3, 112.5, 77.6, 49.22, 14.81, -15.18, -41.07, -67.27, -87.37, -110.26, -142.31, -174.86, -201.86,
- -220.34, -240.25, -258.86, -271.68, -285.12, -296.69, -303.91, -308.27, -310.38, -309.45, -306.21, -302.48,
- -290.04, -278.03, -265.71, -254.5, -241.87, -219.66, -186.37, -146.6, -112.75, -79.77, -50.09, -17.61,
- 12.69, 39.58, 65.46, 87.05, 109.83, 141.81, 174.86, 201.99, 220.9, 241.81, 259.11, 272.92, 285.68, 297.5,
- 304.72, 308.7, 310.76, 310.01, 307.02, 303.41, 290.35, 277.96, 265.46, 254.82, 240.81, 220.09, 185.68,
- 146.98, 113.0, 78.4, 50.15, 14.81, -13.88, -41.13, -66.83, -87.24, -110.33, -141.81, -174.54, -202.42,
- -220.53, -240.32, -258.92, -271.93, -284.81, -296.2, -303.73, -307.96, -309.95, -309.14, -306.03, -301.67,
- -289.35, -277.53, -265.02, -254.88, -241.37, -220.03, -186.8, -146.17, -113.69, -78.96, -50.65, -17.11,
- 12.69, 39.89, 66.52, 86.37, 109.52, 141.88, 174.42, 201.99, 220.96, 241.25, 258.61, 272.24, 285.24, 297.13,
- 304.1, 308.14, 310.13, 309.33, 306.34, 303.17, 290.35, 277.78, 265.21, 253.82, 241.25, 219.1, 186.3, 146.67,
- 112.69, 78.9, 48.91, 15.56, -14.69, -40.63, -67.2, -87.18, -109.77, -141.81, -174.67, -202.17, -220.34,
- -240.57, -258.18, -271.74, -284.37, -296.26, -303.48, -307.46, -309.51, -308.7, -306.09, -301.98, -289.35,
- -277.65, -265.27, -254.38, -240.88, -220.53, -186.3, -147.48, -113.5, -79.52, -51.15, -17.11, 12.76, 39.95,
- 65.77, 86.0, 109.46, 140.88, 173.98, 201.61, 219.97, 240.57, 258.42, 271.87, 284.87, 296.69, 304.04, 307.83,
- 309.95, 309.14, 306.65, 303.41, 291.03, 278.9, 265.46, 254.82, 241.13, 219.97, 187.24, 146.92, 113.69,
- 79.28, 50.4, 15.93, -13.63, -40.38, -66.58, -86.87, -109.14, -141.32, -174.17, -201.99, -220.65, -240.25,
- -258.67, -271.43, -284.44, -296.01, -303.35, -307.33, -309.51, -308.64, -305.97, -302.17, -289.35, -277.78,
- -265.21, -254.32, -241.62, -220.16, -187.11, -147.91, -113.62, -80.4, -50.71, -18.05, 12.38, 39.02, 65.4,
- 86.12, 108.21, 140.13, 173.36, 200.74, 219.53, 240.44, 257.8, 271.62, 284.5, 296.51, 303.85, 307.83, 309.82,
- 309.2, 306.34, 303.54, 291.84, 278.46, 266.27, 254.63, 241.5, 221.03, 186.8, 147.97, 113.75, 79.65, 50.96,
- 16.24, -13.25, -39.95, -66.15, -86.81, -109.14, -140.63, -174.11, -202.05, -220.65, -240.57, -258.55,
- -271.68, -284.44, -296.07, -303.48, -307.4, -309.45, -308.64, -305.78, -301.61, -289.35, -278.21, -265.02,
- -254.44, -241.44, -220.09, -187.92, -147.29, -114.5, -79.96, -51.52, -17.61, 11.95, 38.83, 65.34, 85.87,
- 108.02, 139.95, 173.11, 200.37, 220.09, 239.45, 258.11, 271.31, 284.37, 296.26, 303.54, 307.65, 309.76,
- 309.08, 306.53, 303.29, 291.53, 279.08, 266.02, 254.44, 242.12, 220.47, 188.05, 148.47, 114.12, 80.4, 50.65,
- 17.17, -13.19, -39.08, -65.84, -86.74, -108.9, -140.26, -174.11, -201.61, -220.72, -240.44, -258.11,
- -271.62, -284.12, -296.07, -303.54, -307.4, -309.26, -308.52, -305.72, -302.48, -289.29, -277.84, -265.33,
- -254.38, -241.13, -220.9, -187.3, -148.91, -114.81, -80.15, -52.08, -17.86, 11.89, 39.08, 64.78, 85.69,
- 107.84, 139.14, 172.99, 200.49, 218.91, 239.26, 257.55, 271.12, 284.19, 296.13, 303.79, 307.46, 309.57,
- 308.95, 306.28, 303.29, 292.28, 279.21, 266.45, 255.13, 241.81, 221.28, 188.54, 148.72, 115.37, 80.27,
- 51.21, 17.3, -12.45, -39.14, -65.9, -85.93, -108.34, -139.57, -173.92, -201.36, -220.47, -240.25, -258.61,
- -271.8, -284.56, -296.44, -303.73, -307.46, -309.51, -308.7, -306.09, -302.42, -289.85, -277.53, -265.39,
- -254.13, -241.44, -220.53, -188.17, -148.78, -114.5, -80.89, -51.65, -18.61, 12.45, 38.46, 64.4, 85.62,
- 107.4, 138.95, 172.37, 199.75, 218.85, 239.38, 257.3, 270.87, 284.06, 296.01, 303.35, 307.46, 309.57,
- 308.95, 306.09, 303.6, 292.21, 279.39, 266.7, 255.38, 242.06, 221.65, 188.23, 149.47, 115.24, 80.83, 51.96,
- 17.61, -11.57, -38.95, -65.21, -86.0, -108.71, -139.76, -173.55, -201.11, -220.16, -240.07, -258.11,
- -271.62, -284.62, -296.38, -303.79, -307.52, -309.57, -309.01, -305.9, -303.04, -290.53, -278.46, -265.77,
- -254.82, -241.37, -220.9, -188.36, -148.41, -115.49, -80.77, -52.21, -18.54, 12.07, 38.83, 65.21, 85.0,
- 107.65, 139.2, 172.37, 199.37, 218.85, 238.57, 256.99, 270.5, 284.12, 296.38, 303.66, 307.71, 309.82,
- 309.26, 306.53, 304.22, 293.89, 280.14, 267.7, 255.38, 242.99, 221.77, 188.98, 149.59, 116.11, 81.95, 52.21,
- 19.04, -10.83, -38.39, -64.72, -86.0, -108.21, -140.07, -174.05, -201.67, -221.4, -241.44, -258.8, -272.74,
- -285.18, -297.32, -304.29, -308.08, -310.07, -309.14, -306.15, -302.92, -290.78, -278.83, -265.71, -254.5,
- -241.44, -221.09, -187.74, -149.22, -115.43, -81.08, -52.58, -18.05, 11.57, 38.77, 64.84, 85.06, 108.15,
- 139.14, 172.24, 199.25, 218.29, 238.45, 256.93, 270.12, 283.88, 295.45, 303.23, 307.46, 309.45, 308.89,
- 305.72, 302.92, 291.09, 279.71, 266.83, 255.44, 242.43, 221.96, 189.48, 149.47, 116.49, 81.64, 52.58, 18.85,
- -11.33, -38.21, -65.09, -85.56, -108.02, -139.32, -172.86, -201.11, -219.72, -239.63, -257.93, -271.24,
- -284.62, -296.51, -303.79, -307.77, -309.76, -308.89, -306.28, -303.17, -290.53, -279.33, -266.08, -254.5,
- -242.0, -221.09, -188.86, -149.4, -115.49, -81.7, -52.46, -18.85, 11.57, 38.64, 64.59, 85.44, 107.28, 138.7,
- 172.24, 198.81, 218.1, 238.14, 256.74, 270.37, 283.44, 295.32, 303.1, 307.33, 309.51, 308.77, 306.15,
- 303.23, 291.78, 279.89, 267.14, 255.75, 242.87, 222.33, 189.48, 150.21, 116.18, 82.33, 53.14, 18.98, -10.27,
- -38.14, -64.47, -85.31, -107.65, -138.76, -172.74, -199.87, -219.1, -239.51, -257.43, -271.18, -284.44,
- -296.2, -303.97, -307.77, -309.89, -309.14, -306.34, -303.41, -291.47, -279.39, -266.51, -255.06, -241.81,
- -221.52, -189.04, -149.34, -116.3, -81.33, -52.77, -18.92, 11.39, 37.65, 64.59, 85.19, 107.09, 138.33,
- 171.81, 198.87, 217.98, 237.95, 256.68, 270.19, 283.25, 295.26, 303.04, 307.27, 309.45, 308.7, 306.03,
- 303.17, 291.65, 279.64, 267.26, 255.56, 243.05, 222.58, 189.79, 150.52, 116.92, 82.45, 53.51, 20.04, -10.02,
- -37.4, -64.65, -85.44, -107.15, -138.27, -172.18, -199.87, -219.28, -238.89, -257.43, -271.12, -284.12,
- -296.38, -303.73, -307.83, -309.89, -309.08, -306.21, -303.35, -291.72, -279.58, -266.83, -255.31, -242.06,
- -222.02, -189.23, -150.03, -116.11, -81.58, -52.95, -18.54, 11.39, 37.9, 63.97, 85.31, 107.15, 137.89,
- 171.87, 198.75, 218.16, 238.01, 256.62, 270.25, 283.07, 294.83, 302.73, 307.09, 309.33, 308.64, 305.84,
- 303.1, 291.28, 279.46, 267.2, 255.5, 242.87, 222.58, 190.1, 150.84, 117.17, 82.51, 53.58, 19.91, -9.27,
- -37.15, -63.16, -84.94, -107.09, -138.02, -171.99, -199.56, -218.97, -238.95, -257.18, -270.75, -283.88,
- -296.07, -303.66, -307.71, -309.89, -309.01, -306.34, -303.73, -292.34, -279.33, -267.26, -255.5, -242.62,
- -222.15, -189.6, -150.4, -117.11, -81.89, -53.02, -19.23, 11.01, 37.52, 64.03, 85.37, 107.22, 137.58,
- 171.74, 199.06, 217.98, 237.83, 256.5, 269.81, 282.82, 294.76, 302.61, 307.09, 309.26, 308.45, 305.59,
- 303.04, 291.09, 279.33, 267.14, 255.44, 242.93, 223.2, 190.54, 151.27, 117.54, 82.76, 53.51, 20.1, -9.89,
- -36.53, -63.03, -84.38, -106.78, -137.39, -172.05, -199.56, -218.16, -238.57, -256.81, -270.81, -283.75,
- -296.07, -303.79, -307.71, -309.82, -309.26, -306.03, -303.29, -292.84, -280.39, -267.01, -256.12, -242.87,
- -222.71, -189.85, -150.52, -116.98, -82.26, -53.39, -19.29, 10.77, 37.96, 64.03, 84.69, 106.72, 137.4,
- 171.43, 199.43, 217.98, 237.77, 256.37, 269.81, 282.94, 294.89, 302.61, 307.02, 309.26, 308.45, 305.59,
- 302.98, 291.4, 279.08, 266.83, 255.87, 243.05, 223.2, 190.91, 151.52, 117.86, 83.13, 54.14, 20.22, -9.27,
- -36.65, -62.79, -83.82, -105.97, -136.96, -170.93, -199.0, -218.6, -237.95, -256.99, -270.43, -283.5,
- -295.76, -303.29, -307.52, -309.76, -309.2, -306.53, -303.85, -293.27, -280.33, -267.45, -256.12
- ],
- smp_c: [
- 305.06, 311.53, 314.52, 315.83, 315.7, 315.33, 312.59, 305.12, 289.32, 275.13, 261.13, 246.87, 221.73,
- 187.69, 149.36, 111.77, 83.02, 51.9, 18.98, -20.54, -46.67, -67.52, -88.24, -112.2, -149.73, -180.6,
- -208.73, -226.96, -248.8, -269.22, -284.34, -295.66, -305.0, -311.04, -313.9, -315.27, -315.14, -314.71,
- -311.91, -303.32, -288.32, -273.57, -260.01, -245.26, -222.54, -186.01, -148.61, -110.46, -82.4, -51.34,
- -18.48, 19.98, 47.36, 67.27, 87.19, 111.83, 149.42, 179.85, 208.54, 225.72, 247.12, 268.47, 283.59, 295.48,
- 304.75, 311.66, 314.52, 315.83, 315.7, 315.27, 312.53, 304.44, 289.5, 274.82, 261.75, 246.56, 222.67, 188.5,
- 149.92, 112.58, 83.14, 53.08, 19.17, -19.67, -46.55, -67.34, -87.31, -111.71, -148.92, -180.29, -209.04,
- -226.34, -248.24, -269.03, -284.15, -295.6, -304.94, -311.22, -314.08, -315.21, -315.27, -314.71, -312.09,
- -304.0, -288.01, -274.19, -259.88, -246.07, -221.55, -187.13, -148.98, -110.84, -82.4, -51.59, -18.79,
- 20.66, 46.99, 67.15, 87.31, 111.4, 148.8, 179.91, 208.41, 225.22, 247.25, 268.22, 283.9, 295.23, 304.81,
- 311.53, 314.46, 315.7, 315.83, 315.27, 312.53, 305.19, 289.01, 275.5, 261.06, 246.81, 223.79, 187.13,
- 150.85, 112.33, 83.89, 52.71, 19.35, -18.55, -46.99, -66.9, -86.94, -111.27, -147.99, -180.16, -209.22,
- -225.59, -248.24, -268.9, -284.21, -295.79, -305.06, -311.22, -314.21, -315.39, -315.39, -314.83, -312.4,
- -303.63, -288.45, -274.07, -260.01, -245.69, -222.54, -187.01, -149.54, -111.71, -82.08, -51.9, -18.73,
- 19.73, 46.86, 67.65, 86.75, 110.77, 148.3, 179.48, 208.29, 226.09, 246.13, 268.34, 283.78, 295.1, 304.69,
- 311.22, 314.27, 315.58, 315.58, 315.08, 312.4, 303.75, 289.44, 275.0, 261.81, 247.62, 223.48, 189.99,
- 151.04, 113.14, 84.08, 53.15, 20.23, -18.92, -45.99, -66.65, -86.38, -110.15, -148.05, -179.85, -208.79,
- -226.4, -247.62, -268.41, -284.03, -295.54, -305.06, -311.35, -314.15, -315.39, -315.21, -314.83, -312.4,
- -303.94, -289.81, -274.26, -260.32, -246.44, -222.92, -188.44, -150.23, -111.27, -82.71, -51.84, -19.04,
- 18.79, 47.3, 67.02, 86.44, 110.71, 148.42, 179.23, 208.98, 225.53, 246.38, 267.78, 283.03, 295.04, 304.63,
- 311.41, 314.46, 315.7, 315.64, 314.96, 312.59, 303.57, 289.07, 275.25, 261.93, 247.37, 224.1, 188.63,
- 151.72, 113.82, 83.7, 54.27, 20.47, -18.42, -45.43, -66.15, -86.32, -110.09, -147.37, -177.92, -208.48,
- -226.65, -247.12, -268.53, -283.72, -295.6, -304.94, -311.28, -317.01, -316.2, -315.52, -314.83, -313.15,
- -304.75, -288.94, -275.13, -260.81, -246.63, -222.35, -189.99, -149.23, -112.08, -82.4, -51.9, -20.23,
- 19.85, 46.67, 67.15, 87.19, 110.46, 147.24, 179.17, 208.85, 225.72, 246.56, 267.72, 283.34, 294.86, 265.86,
- 223.72, 219.12, 222.6, 231.69, 241.96, 241.02, 243.02, 237.66, 233.93, 228.95, 223.04, 209.47, 187.57,
- 167.78, 141.89, 123.16, 100.38, 75.11, 44.25, 21.22, -38.58, -70.76, -98.39, -133.55, -166.6, -199.14,
- -215.57, -233.43, -251.36, -266.54, -282.35, -245.13, -227.15, -224.6, -231.44, -243.82, -245.69, -248.99,
- -246.25, -243.02, -236.54, -229.08, -222.29, -207.54, -182.46, -156.33, -133.36, -119.86, -96.83, -69.51,
- -38.15, -31.74, 39.14, 68.46, 95.34, 132.99, 165.35, 196.09, 215.07, 233.25, 251.17, 267.16, 284.21, 296.91,
- 305.43, 309.23, 311.16, 312.09, 312.34, 310.16, 303.88, 287.14, 274.19, 260.25, 245.88, 222.17, 188.69,
- 151.47, 114.76, 87.19, 56.63, 24.96, -13.57, -41.7, -62.17, -82.27, -106.35, -142.26, -174.56, -204.74,
- -225.4, -249.18, -267.22, -282.97, -294.67, -304.0, -309.85, -312.96, -314.33, -314.4, -314.21, -311.84,
- -306.31, -289.07, -275.38, -261.31, -246.44, -222.67, -187.44, -149.73, -111.83, -84.01, -53.77, -21.66,
- 16.62, 45.12, 65.59, 85.51, 108.97, 145.13, 177.24, 207.92, 226.28, 249.61, 268.22, 283.78, 295.17, 304.69,
- 311.35, 314.33, 315.64, 315.64, 315.33, 312.9, 305.68, 289.94, 276.0, 262.74, 247.31, 224.53, 189.25,
- 150.79, 113.57, 84.01, 54.64, 20.91, -17.42, -44.62, -66.03, -86.32, -109.78, -146.06, -177.73, -208.85,
- -227.58, -249.99, -269.71, -284.65, -296.78, -306.37, -312.47, -315.39, -316.51, -316.7, -316.39, -314.33,
- -309.48, -292.8, -277.55, -262.99, -248.31, -223.85, -189.87, -150.97, -113.08, -84.45, -53.21, -21.66,
- 18.3, 46.11, 66.03, 86.44, 109.65, 145.5, 177.17, 207.85, 225.78, 248.24, 268.53, 283.84, 295.35, 304.75,
- 311.84, 314.89, 316.33, 316.39, 315.89, 313.09, 303.51, 289.57, 275.69, 262.62, 248.55, 225.59, 190.49,
- 153.15, 115.44, 86.69, 56.26, 23.09, -14.75, -44.37, -64.41, -84.51, -108.35, -145.0, -177.05, -207.54,
- -225.4, -247.75, -268.1, -283.53, -295.6, -305.31, -311.91, -314.96, -316.14, -316.08, -315.52, -313.52,
- -305.93, -290.93, -276.12, -262.0, -247.87, -224.53, -189.81, -151.16, -113.2, -83.7, -54.52, -20.79, 17.18,
- 45.3, 66.4, 86.38, 109.78, 145.62, 177.55, 207.48, 225.78, 247.99, 268.59, 283.03, 294.86, 304.31, 311.53,
- 314.58, 315.95, 315.95, 315.33, 313.09, 303.82, 288.38, 275.25, 260.94, 247.93, 224.41, 190.37, 151.85,
- 114.26, 85.57, 54.95, 22.71, -16.18, -44.12, -64.97, -84.76, -108.03, -144.5, -176.49, -206.42, -224.66,
- -246.69, -267.29, -282.72, -294.3, -304.19, -311.22, -314.33, -315.64, -315.7, -315.45, -313.21, -305.93,
- -290.93, -276.12, -262.18, -248.06, -224.78, -189.62, -152.03, -114.01, -84.7, -54.33, -21.59, 16.24, 45.62,
- 66.59, 86.07, 109.65, 145.87, 178.05, 207.98, 225.78, 248.43, 268.66, 283.65, 295.17, 304.44, 311.53,
- 314.77, 316.14, 316.2, 315.64, 313.28, 304.94, 289.69, 275.5, 261.62, 247.87, 224.78, 190.06, 151.97,
- 114.63, 84.64, 55.64, 22.22, -16.49, -44.06, -65.53, -85.26, -108.66, -145.56, -176.99, -206.92, -225.34,
- -246.13, -267.85, -282.78, -294.61, -304.38, -311.28, -314.33, -315.7, -315.83, -315.39, -313.46, -306.18,
- -290.75, -276.68, -262.0, -248.24, -224.91, -190.74, -151.78, -114.32, -85.01, -54.39, -22.4, 17.18, 45.43,
- 66.03, 86.5, 109.84, 146.18, 178.05, 207.54, 226.34, 247.93, 268.34, 283.96, 295.23, 304.63, 311.78, 314.71,
- 316.2, 316.26, 315.7, 313.46, 305.12, 289.75, 275.81, 261.93, 247.62, 225.28, 190.18, 152.22, 114.38, 85.2,
- 54.95, 22.53, -15.62, -44.81, -65.41, -84.95, -108.59, -145.0, -176.86, -206.8, -224.6, -245.75, -267.22,
- -282.35, -294.36, -304.13, -311.1, -314.27, -315.77, -315.83, -315.39, -313.15, -305.75, -290.69, -276.19,
- -262.37, -247.5, -225.53, -190.93, -152.09, -115.0, -85.32, -55.45, -22.9, 16.68, 45.12, 66.28, 85.76,
- 109.34, 146.31, 176.93, 207.42, 226.09, 247.19, 268.78, 283.84, 295.1, 304.69, 311.78, 314.83, 316.26,
- 316.33, 315.83, 313.4, 305.93, 289.44, 275.81, 261.44, 247.75, 224.53, 190.87, 151.91, 114.51, 85.38, 55.01,
- 23.15, -16.24, -44.43, -65.28, -84.88, -108.28, -144.94, -176.24, -206.42, -224.47, -245.44, -266.91,
- -282.22, -293.98, -303.75, -310.97, -314.15, -315.77, -315.83, -315.39, -313.09, -306.24, -290.25, -276.06,
- -262.68, -247.93, -225.9, -191.3, -152.78, -114.88, -85.94, -55.82, -22.96, 15.43, 45.3, 65.65, 85.69,
- 109.03, 145.19, 177.36, 207.85, 225.72, 247.62, 268.03, 283.65, 295.35, 304.75, 311.84, 315.02, 316.33,
- 316.39, 315.77, 313.65, 305.37, 290.5, 276.19, 261.93, 247.37, 225.09, 191.43, 152.34, 114.82, 85.38, 55.39,
- 22.9, -15.5, -44.37, -65.16, -85.01, -108.03, -144.5, -176.43, -206.05, -224.97, -244.7, -267.1, -282.28,
- -293.92, -303.69, -310.91, -314.15, -315.64, -315.77, -315.21, -312.96, -306.37, -290.13, -276.5, -262.0,
- -248.24, -225.65, -192.05, -153.09, -115.32, -86.56, -55.88, -24.02, 15.56, 44.12, 65.41, 85.51, 108.53,
- 144.5, 177.67, 207.23, 225.53, 247.25, 268.1, 283.59, 295.29, 304.75, 311.91, 314.96, 316.14, 316.2, 315.83,
- 313.46, 306.74, 290.5, 276.31, 262.18, 247.87, 225.22, 191.74, 153.28, 115.25, 85.44, 55.51, 23.21, -15.18,
- -44.37, -64.78, -85.2, -108.03, -144.0, -176.68, -206.36, -224.1, -244.51, -266.54, -281.85, -294.11,
- -303.69, -310.91, -314.02, -315.45, -315.58, -315.02, -313.03, -305.81, -290.62, -276.68, -262.68, -248.06,
- -225.59, -192.23, -153.53, -116.0, -86.13, -56.82, -24.21, 14.94, 43.81, 64.53, 84.88, 108.78, 144.19,
- 176.86, 206.8, 224.97, 246.56, 268.28, 283.47, 295.42, 304.87, 312.03, 314.96, 316.33, 316.26, 315.83,
- 313.65, 307.43, 290.75, 276.5, 262.06, 248.12, 225.22, 191.92, 153.28, 115.32, 85.57, 55.57, 23.71, -15.31,
- -44.31, -64.47, -85.2, -107.91, -143.88, -176.12, -206.11, -223.79, -244.57, -266.29, -281.66, -293.86,
- -303.57, -310.91, -313.9, -315.58, -315.64, -315.02, -313.09, -305.68, -290.87, -276.25, -262.43, -248.18,
- -225.65, -191.92, -153.71, -116.06, -86.81, -56.88, -24.21, 14.0, 43.44, 64.04, 84.95, 108.47, 143.69,
- 176.68, 207.17, 224.35, 246.31, 267.47, 283.09, 295.17, 304.81, 311.97, 315.02, 316.39, 316.45, 316.01,
- 313.96, 306.62, 291.56, 277.31, 262.06, 248.18, 225.47, 192.11, 153.34, 116.06, 85.76, 56.13, 23.52, -14.94,
- -43.25, -64.22, -84.57, -107.97, -143.07, -175.25, -205.3, -223.1, -243.08, -265.3, -280.85, -293.24,
- -303.01, -310.35, -313.59, -315.21, -315.33, -314.64, -312.4, -304.31, -289.81, -276.31, -262.31, -248.12,
- -226.03, -192.73, -154.77, -117.87, -88.56, -58.31, -26.14, 12.88, 43.0, 63.66, 84.26, 107.66, 143.57,
- 176.43, 206.67, 224.22, 245.63, 267.04, 283.09, 294.98, 304.81, 311.97, 314.96, 316.45, 316.45, 316.08,
- 313.96, 307.49, 291.99, 277.31, 262.68, 248.43, 225.78, 192.42, 153.59, 116.31, 86.38, 56.01, 23.59, -14.56,
- -43.25, -64.97, -85.01, -107.85, -143.44, -176.05, -206.42, -223.85, -244.45, -266.23, -281.48, -293.67,
- -303.32, -310.72, -313.84, -315.52, -315.7, -315.14, -313.03, -305.31, -290.75, -277.18, -262.37, -248.37,
- -226.4, -192.61, -153.78, -117.31, -87.25, -57.5, -24.77, 14.0, 42.44, 64.47, 84.14, 107.47, 143.01, 176.12,
- 206.11, 224.41, 245.13, 267.29, 282.41, 294.54, 304.75, 311.91, 315.02, 316.45, 316.51, 316.08, 314.02,
- 307.99, 291.93, 278.11, 263.37, 248.74, 226.4, 192.73, 153.96, 116.69, 86.56, 56.63, 24.27, -13.88, -43.06,
- -64.91, -84.7, -107.29, -143.44, -175.68, -206.05, -224.1, -243.51, -265.79, -281.48, -293.61, -303.32,
- -310.66, -313.84, -315.64, -315.7, -315.21, -312.96, -305.19, -290.25, -277.24, -262.81, -248.12, -226.28,
- -192.67, -153.78, -116.56, -87.5, -57.75, -25.2, 13.26, 42.38, 64.29, 84.2, 107.35, 142.64, 176.05, 206.05,
- 223.85, 244.45, 266.42, 282.04, 294.61, 304.5, 311.91, 314.89, 316.39, 316.45, 316.2, 314.02, 307.05,
- 291.93, 278.3, 263.61, 248.55, 226.59, 192.92, 154.27, 117.0, 87.06, 57.07, 24.58, -13.88, -42.88, -64.22,
- -84.57, -107.66, -142.64, -175.43, -205.43, -223.85, -244.51, -265.73, -281.16, -293.36, -303.32, -310.79,
- -313.9, -315.58, -315.7, -315.27, -312.84, -305.62, -290.0, -277.06, -263.43, -248.49, -226.77, -192.61,
- -154.15, -117.0, -87.37, -58.0, -25.64, 13.38, 42.88, 63.54, 83.89, 107.1, 142.32, 175.68, 205.43, 223.72,
- 244.45, 266.23, 281.91, 294.3, 304.07, 311.66, 314.83, 316.45, 316.51, 316.33, 314.02, 307.99, 292.3,
- 277.68, 264.05, 249.05, 227.08, 193.29, 154.52, 117.49, 87.62, 57.5, 24.83, -13.26, -43.0, -64.53, -84.45,
- -106.85, -142.57, -175.31, -205.55, -223.85, -244.2, -265.92, -281.1, -293.49, -303.38, -310.66, -313.9,
- -315.58, -315.77, -315.27, -313.15, -305.19, -290.69, -276.75, -262.93, -248.74, -226.71, -193.54, -154.58,
- -117.25, -87.87, -57.94, -26.01, 13.26, 42.94, 63.48, 83.64, 106.91, 141.7, 175.43, 205.43, 223.72, 244.2,
- 265.86, 281.48, 293.92, 304.0, 311.6, 314.83, 316.39, 316.51, 316.08, 314.15, 308.11, 292.18, 278.11,
- 264.49, 249.67, 227.52, 193.85, 155.33, 118.24, 87.93, 57.75, 25.33, -13.38, -43.0, -64.1, -84.08, -106.85,
- -142.14, -175.31, -205.93, -223.79, -244.63, -266.23, -281.29, -293.61, -303.38, -310.72, -313.96, -315.45,
- -315.77, -315.39, -313.34, -305.87, -291.06, -277.24, -263.05, -248.8, -226.9, -193.91, -155.14, -117.49,
- -87.5, -58.0, -25.95, 12.88, 42.38, 63.79, 83.7, 106.35, 141.89, 174.93, 205.55, 223.41, 243.82, 265.79,
- 281.04, 293.49, 303.69, 311.16, 314.83, 316.26, 316.45, 316.01, 313.96, 307.49, 293.05, 278.24, 264.3,
- 249.99, 227.46, 194.41, 155.52, 118.12, 88.37, 58.06, 25.83, -12.7, -42.57, -63.79, -83.83, -106.54,
- -141.39, -174.81, -205.49, -223.66, -244.39, -265.86, -281.23, -293.3, -303.19, -310.54, -313.9, -315.52,
- -315.58, -315.33, -313.34, -305.99, -291.06, -277.43, -262.99, -248.8, -227.83, -194.04, -155.02, -117.81,
- -88.06, -58.5, -26.32, 12.7, 42.32, 62.98, 83.58, 106.11, 140.71, 174.5, 204.81, 222.92, 243.33, 265.61,
- 280.92, 293.36
- ],
- smp_x: [
- -100.0, -99.69, -99.37, -99.06, -98.75, -98.44, -98.12, -97.81, -97.5, -97.19, -96.87, -96.56, -96.25,
- -95.94, -95.62, -95.31, -95.0, -94.69, -94.37, -94.06, -93.75, -93.44, -93.12, -92.81, -92.5, -92.19,
- -91.87, -91.56, -91.25, -90.94, -90.62, -90.31, -90.0, -89.69, -89.37, -89.06, -88.75, -88.44, -88.12,
- -87.81, -87.5, -87.19, -86.87, -86.56, -86.25, -85.94, -85.62, -85.31, -85.0, -84.69, -84.37, -84.06,
- -83.75, -83.44, -83.12, -82.81, -82.5, -82.19, -81.87, -81.56, -81.25, -80.94, -80.62, -80.31, -80.0,
- -79.69, -79.37, -79.06, -78.75, -78.44, -78.12, -77.81, -77.5, -77.19, -76.87, -76.56, -76.25, -75.94,
- -75.62, -75.31, -75.0, -74.69, -74.37, -74.06, -73.75, -73.44, -73.12, -72.81, -72.5, -72.19, -71.87,
- -71.56, -71.25, -70.94, -70.62, -70.31, -70.0, -69.69, -69.37, -69.06, -68.75, -68.44, -68.12, -67.81,
- -67.5, -67.19, -66.87, -66.56, -66.25, -65.94, -65.62, -65.31, -65.0, -64.69, -64.37, -64.06, -63.75,
- -63.44, -63.12, -62.81, -62.5, -62.19, -61.87, -61.56, -61.25, -60.94, -60.62, -60.31, -60.0, -59.69,
- -59.37, -59.06, -58.75, -58.44, -58.12, -57.81, -57.5, -57.19, -56.87, -56.56, -56.25, -55.94, -55.62,
- -55.31, -55.0, -54.69, -54.37, -54.06, -53.75, -53.44, -53.12, -52.81, -52.5, -52.19, -51.87, -51.56,
- -51.25, -50.94, -50.62, -50.31, -50.0, -49.69, -49.37, -49.06, -48.75, -48.44, -48.12, -47.81, -47.5,
- -47.19, -46.87, -46.56, -46.25, -45.94, -45.62, -45.31, -45.0, -44.69, -44.37, -44.06, -43.75, -43.44,
- -43.12, -42.81, -42.5, -42.19, -41.87, -41.56, -41.25, -40.94, -40.62, -40.31, -40.0, -39.69, -39.37,
- -39.06, -38.75, -38.44, -38.12, -37.81, -37.5, -37.19, -36.87, -36.56, -36.25, -35.94, -35.62, -35.31,
- -35.0, -34.69, -34.37, -34.06, -33.75, -33.44, -33.12, -32.81, -32.5, -32.19, -31.87, -31.56, -31.25,
- -30.94, -30.62, -30.31, -30.0, -29.69, -29.37, -29.06, -28.75, -28.44, -28.12, -27.81, -27.5, -27.19,
- -26.87, -26.56, -26.25, -25.94, -25.62, -25.31, -25.0, -24.69, -24.37, -24.06, -23.75, -23.44, -23.12,
- -22.81, -22.5, -22.19, -21.87, -21.56, -21.25, -20.94, -20.62, -20.31, -20.0, -19.69, -19.37, -19.06,
- -18.75, -18.44, -18.12, -17.81, -17.5, -17.19, -16.87, -16.56, -16.25, -15.94, -15.62, -15.31, -15.0,
- -14.69, -14.37, -14.06, -13.75, -13.44, -13.12, -12.81, -12.5, -12.19, -11.87, -11.56, -11.25, -10.94,
- -10.62, -10.31, -10.0, -9.69, -9.37, -9.06, -8.75, -8.44, -8.12, -7.81, -7.5, -7.19, -6.87, -6.56, -6.25,
- -5.94, -5.62, -5.31, -5.0, -4.69, -4.37, -4.06, -3.75, -3.44, -3.12, -2.81, -2.5, -2.19, -1.87, -1.56,
- -1.25, -0.94, -0.62, -0.31, 0.0, 0.31, 0.63, 0.94, 1.25, 1.56, 1.88, 2.19, 2.5, 2.81, 3.13, 3.44, 3.75,
- 4.06, 4.38, 4.69, 5.0, 5.31, 5.63, 5.94, 6.25, 6.56, 6.88, 7.19, 7.5, 7.81, 8.13, 8.44, 8.75, 9.06, 9.38,
- 9.69, 10.0, 10.31, 10.63, 10.94, 11.25, 11.56, 11.88, 12.19, 12.5, 12.81, 13.13, 13.44, 13.75, 14.06, 14.38,
- 14.69, 15.0, 15.31, 15.63, 15.94, 16.25, 16.56, 16.88, 17.19, 17.5, 17.81, 18.13, 18.44, 18.75, 19.06,
- 19.38, 19.69, 20.0, 20.31, 20.63, 20.94, 21.25, 21.56, 21.88, 22.19, 22.5, 22.81, 23.13, 23.44, 23.75,
- 24.06, 24.38, 24.69, 25.0, 25.31, 25.63, 25.94, 26.25, 26.56, 26.88, 27.19, 27.5, 27.81, 28.13, 28.44,
- 28.75, 29.06, 29.38, 29.69, 30.0, 30.31, 30.63, 30.94, 31.25, 31.56, 31.88, 32.19, 32.5, 32.81, 33.13,
- 33.44, 33.75, 34.06, 34.38, 34.69, 35.0, 35.31, 35.63, 35.94, 36.25, 36.56, 36.88, 37.19, 37.5, 37.81,
- 38.13, 38.44, 38.75, 39.06, 39.38, 39.69, 40.0, 40.31, 40.63, 40.94, 41.25, 41.56, 41.88, 42.19, 42.5,
- 42.81, 43.13, 43.44, 43.75, 44.06, 44.38, 44.69, 45.0, 45.31, 45.63, 45.94, 46.25, 46.56, 46.88, 47.19,
- 47.5, 47.81, 48.13, 48.44, 48.75, 49.06, 49.38, 49.69, 50.0, 50.31, 50.63, 50.94, 51.25, 51.56, 51.88,
- 52.19, 52.5, 52.81, 53.13, 53.44, 53.75, 54.06, 54.38, 54.69, 55.0, 55.31, 55.63, 55.94, 56.25, 56.56,
- 56.88, 57.19, 57.5, 57.81, 58.13, 58.44, 58.75, 59.06, 59.38, 59.69, 60.0, 60.31, 60.63, 60.94, 61.25,
- 61.56, 61.88, 62.19, 62.5, 62.81, 63.13, 63.44, 63.75, 64.06, 64.38, 64.69, 65.0, 65.31, 65.63, 65.94,
- 66.25, 66.56, 66.88, 67.19, 67.5, 67.81, 68.13, 68.44, 68.75, 69.06, 69.38, 69.69, 70.0, 70.31, 70.63,
- 70.94, 71.25, 71.56, 71.88, 72.19, 72.5, 72.81, 73.13, 73.44, 73.75, 74.06, 74.38, 74.69, 75.0, 75.31,
- 75.63, 75.94, 76.25, 76.56, 76.88, 77.19, 77.5, 77.81, 78.13, 78.44, 78.75, 79.06, 79.38, 79.69, 80.0,
- 80.31, 80.63, 80.94, 81.25, 81.56, 81.88, 82.19, 82.5, 82.81, 83.13, 83.44, 83.75, 84.06, 84.38, 84.69,
- 85.0, 85.31, 85.63, 85.94, 86.25, 86.56, 86.88, 87.19, 87.5, 87.81, 88.13, 88.44, 88.75, 89.06, 89.38,
- 89.69, 90.0, 90.31, 90.63, 90.94, 91.25, 91.56, 91.88, 92.19, 92.5, 92.81, 93.13, 93.44, 93.75, 94.06,
- 94.38, 94.69, 95.0, 95.31, 95.63, 95.94, 96.25, 96.56, 96.88, 97.19, 97.5, 97.81, 98.13, 98.44, 98.75,
- 99.06, 99.38, 99.69, 100.0, 100.31, 100.63, 100.94, 101.25, 101.56, 101.88, 102.19, 102.5, 102.81, 103.13,
- 103.44, 103.75, 104.06, 104.38, 104.69, 105.0, 105.31, 105.63, 105.94, 106.25, 106.56, 106.88, 107.19,
- 107.5, 107.81, 108.13, 108.44, 108.75, 109.06, 109.38, 109.69, 110.0, 110.31, 110.63, 110.94, 111.25,
- 111.56, 111.88, 112.19, 112.5, 112.81, 113.13, 113.44, 113.75, 114.06, 114.38, 114.69, 115.0, 115.31,
- 115.63, 115.94, 116.25, 116.56, 116.88, 117.19, 117.5, 117.81, 118.13, 118.44, 118.75, 119.06, 119.38,
- 119.69, 120.0, 120.31, 120.63, 120.94, 121.25, 121.56, 121.88, 122.19, 122.5, 122.81, 123.13, 123.44,
- 123.75, 124.06, 124.38, 124.69, 125.0, 125.31, 125.63, 125.94, 126.25, 126.56, 126.88, 127.19, 127.5,
- 127.81, 128.13, 128.44, 128.75, 129.06, 129.38, 129.69, 130.0, 130.31, 130.63, 130.94, 131.25, 131.56,
- 131.88, 132.19, 132.5, 132.81, 133.13, 133.44, 133.75, 134.06, 134.38, 134.69, 135.0, 135.31, 135.63,
- 135.94, 136.25, 136.56, 136.88, 137.19, 137.5, 137.81, 138.13, 138.44, 138.75, 139.06, 139.38, 139.69,
- 140.0, 140.31, 140.63, 140.94, 141.25, 141.56, 141.88, 142.19, 142.5, 142.81, 143.13, 143.44, 143.75,
- 144.06, 144.38, 144.69, 145.0, 145.31, 145.63, 145.94, 146.25, 146.56, 146.88, 147.19, 147.5, 147.81,
- 148.13, 148.44, 148.75, 149.06, 149.38, 149.69, 150.0, 150.31, 150.63, 150.94, 151.25, 151.56, 151.88,
- 152.19, 152.5, 152.81, 153.13, 153.44, 153.75, 154.06, 154.38, 154.69, 155.0, 155.31, 155.63, 155.94,
- 156.25, 156.56, 156.88, 157.19, 157.5, 157.81, 158.13, 158.44, 158.75, 159.06, 159.38, 159.69, 160.0,
- 160.31, 160.63, 160.94, 161.25, 161.56, 161.88, 162.19, 162.5, 162.81, 163.13, 163.44, 163.75, 164.06,
- 164.38, 164.69, 165.0, 165.31, 165.63, 165.94, 166.25, 166.56, 166.88, 167.19, 167.5, 167.81, 168.13,
- 168.44, 168.75, 169.06, 169.38, 169.69, 170.0, 170.31, 170.63, 170.94, 171.25, 171.56, 171.88, 172.19,
- 172.5, 172.81, 173.13, 173.44, 173.75, 174.06, 174.38, 174.69, 175.0, 175.31, 175.63, 175.94, 176.25,
- 176.56, 176.88, 177.19, 177.5, 177.81, 178.13, 178.44, 178.75, 179.06, 179.38, 179.69, 180.0, 180.31,
- 180.63, 180.94, 181.25, 181.56, 181.88, 182.19, 182.5, 182.81, 183.13, 183.44, 183.75, 184.06, 184.38,
- 184.69, 185.0, 185.31, 185.63, 185.94, 186.25, 186.56, 186.88, 187.19, 187.5, 187.81, 188.13, 188.44,
- 188.75, 189.06, 189.38, 189.69, 190.0, 190.31, 190.63, 190.94, 191.25, 191.56, 191.88, 192.19, 192.5,
- 192.81, 193.13, 193.44, 193.75, 194.06, 194.38, 194.69, 195.0, 195.31, 195.63, 195.94, 196.25, 196.56,
- 196.88, 197.19, 197.5, 197.81, 198.13, 198.44, 198.75, 199.06, 199.38, 199.69, 200.0, 200.31, 200.63,
- 200.94, 201.25, 201.56, 201.88, 202.19, 202.5, 202.81, 203.13, 203.44, 203.75, 204.06, 204.38, 204.69,
- 205.0, 205.31, 205.63, 205.94, 206.25, 206.56, 206.88, 207.19, 207.5, 207.81, 208.13, 208.44, 208.75,
- 209.06, 209.38, 209.69, 210.0, 210.31, 210.63, 210.94, 211.25, 211.56, 211.88, 212.19, 212.5, 212.81,
- 213.13, 213.44, 213.75, 214.06, 214.38, 214.69, 215.0, 215.31, 215.63, 215.94, 216.25, 216.56, 216.88,
- 217.19, 217.5, 217.81, 218.13, 218.44, 218.75, 219.06, 219.38, 219.69, 220.0, 220.31, 220.63, 220.94,
- 221.25, 221.56, 221.88, 222.19, 222.5, 222.81, 223.13, 223.44, 223.75, 224.06, 224.38, 224.69, 225.0,
- 225.31, 225.63, 225.94, 226.25, 226.56, 226.88, 227.19, 227.5, 227.81, 228.13, 228.44, 228.75, 229.06,
- 229.38, 229.69, 230.0, 230.31, 230.63, 230.94, 231.25, 231.56, 231.88, 232.19, 232.5, 232.81, 233.13,
- 233.44, 233.75, 234.06, 234.38, 234.69, 235.0, 235.31, 235.63, 235.94, 236.25, 236.56, 236.88, 237.19,
- 237.5, 237.81, 238.13, 238.44, 238.75, 239.06, 239.38, 239.69, 240.0, 240.31, 240.63, 240.94, 241.25,
- 241.56, 241.88, 242.19, 242.5, 242.81, 243.13, 243.44, 243.75, 244.06, 244.38, 244.69, 245.0, 245.31,
- 245.63, 245.94, 246.25, 246.56, 246.88, 247.19, 247.5, 247.81, 248.13, 248.44, 248.75, 249.06, 249.38,
- 249.69, 250.0, 250.31, 250.63, 250.94, 251.25, 251.56, 251.88, 252.19, 252.5, 252.81, 253.13, 253.44,
- 253.75, 254.06, 254.38, 254.69, 255.0, 255.31, 255.63, 255.94, 256.25, 256.56, 256.88, 257.19, 257.5,
- 257.81, 258.13, 258.44, 258.75, 259.06, 259.38, 259.69, 260.0, 260.31, 260.63, 260.94, 261.25, 261.56,
- 261.88, 262.19, 262.5, 262.81, 263.13, 263.44, 263.75, 264.06, 264.38, 264.69, 265.0, 265.31, 265.63,
- 265.94, 266.25, 266.56, 266.88, 267.19, 267.5, 267.81, 268.13, 268.44, 268.75, 269.06, 269.38, 269.69,
- 270.0, 270.31, 270.63, 270.94, 271.25, 271.56, 271.88, 272.19, 272.5, 272.81, 273.13, 273.44, 273.75,
- 274.06, 274.38, 274.69, 275.0, 275.31, 275.63, 275.94, 276.25, 276.56, 276.88, 277.19, 277.5, 277.81,
- 278.13, 278.44, 278.75, 279.06, 279.38, 279.69, 280.0, 280.31, 280.63, 280.94, 281.25, 281.56, 281.88,
- 282.19, 282.5, 282.81, 283.13, 283.44, 283.75, 284.06, 284.38, 284.69, 285.0, 285.31, 285.63, 285.94,
- 286.25, 286.56, 286.88, 287.19, 287.5, 287.81, 288.13, 288.44, 288.75, 289.06, 289.38, 289.69, 290.0,
- 290.31, 290.63, 290.94, 291.25, 291.56, 291.88, 292.19, 292.5, 292.81, 293.13, 293.44, 293.75, 294.06,
- 294.38, 294.69, 295.0, 295.31, 295.63, 295.94, 296.25, 296.56, 296.88, 297.19, 297.5, 297.81, 298.13,
- 298.44, 298.75, 299.06, 299.38, 299.69, 300.0, 300.31, 300.63, 300.94, 301.25, 301.56, 301.88, 302.19,
- 302.5, 302.81, 303.13, 303.44, 303.75, 304.06, 304.38, 304.69, 305.0, 305.31, 305.63, 305.94, 306.25,
- 306.56, 306.88, 307.19, 307.5, 307.81, 308.13, 308.44, 308.75, 309.06, 309.38, 309.69, 310.0, 310.31,
- 310.63, 310.94, 311.25, 311.56, 311.88, 312.19, 312.5, 312.81, 313.13, 313.44, 313.75, 314.06, 314.38,
- 314.69, 315.0, 315.31, 315.63, 315.94, 316.25, 316.56, 316.88, 317.19, 317.5, 317.81, 318.13, 318.44,
- 318.75, 319.06, 319.38, 319.69, 320.0, 320.31, 320.63, 320.94, 321.25, 321.56, 321.88, 322.19, 322.5,
- 322.81, 323.13, 323.44, 323.75, 324.06, 324.38, 324.69, 325.0, 325.31, 325.63, 325.94, 326.25, 326.56,
- 326.88, 327.19, 327.5, 327.81, 328.13, 328.44, 328.75, 329.06, 329.38, 329.69, 330.0, 330.31, 330.63,
- 330.94, 331.25, 331.56, 331.88, 332.19, 332.5, 332.81, 333.13, 333.44, 333.75, 334.06, 334.38, 334.69,
- 335.0, 335.31, 335.63, 335.94, 336.25, 336.56, 336.88, 337.19, 337.5, 337.81, 338.13, 338.44, 338.75,
- 339.06, 339.38, 339.69, 340.0, 340.31, 340.63, 340.94, 341.25, 341.56, 341.88, 342.19, 342.5, 342.81,
- 343.13, 343.44, 343.75, 344.06, 344.38, 344.69, 345.0, 345.31, 345.63, 345.94, 346.25, 346.56, 346.88,
- 347.19, 347.5, 347.81, 348.13, 348.44, 348.75, 349.06, 349.38, 349.69, 350.0, 350.31, 350.63, 350.94,
- 351.25, 351.56, 351.88, 352.19, 352.5, 352.81, 353.13, 353.44, 353.75, 354.06, 354.38, 354.69, 355.0,
- 355.31, 355.63, 355.94, 356.25, 356.56, 356.88, 357.19, 357.5, 357.81, 358.13, 358.44, 358.75, 359.06,
- 359.38, 359.69
- ],
- smp_len: 1472,
- sagReason: [
- '其他',
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null
- ],
- sagType: [
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null
- ],
- sagPhaseType: [
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null
- ],
- backNumber: 0,
- evt_buf: [
- {
- autoRead: true,
- autoWrite: true,
- qvvr_cata_cause: [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
- ],
- qvvr_phasetype: [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
- ],
- qvvr_cata_type: [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
- ],
- hold_time_rms: 0.0,
- hold_time_dq: 0.0,
- POW_a: 0.0,
- POW_b: 0.0,
- POW_c: 0.0,
- Voltagechange_Va: 0.0,
- Voltagechange_Vb: 0.0,
- Voltagechange_Vc: 0.0,
- SEG_T_num: 0,
- SEG_T0_idx: [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
- ],
- SEG_T_idx: [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
- ],
- SEG_RMS_T_num: 0,
- SEG_RMS_T_idx: [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
- ],
- u_min_num: 0,
- ua_min: [
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
- ],
- ub_min: [
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
- ],
- uc_min: [
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
- ],
- u3_min: [
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
- ],
- order_min_idx: [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
- ],
- angle_diff_ap: [
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
- ],
- angle_diff_bp: [
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
- ],
- angle_diff_cp: [
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
- ],
- angle_diff_an: [
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
- ],
- angle_diff_bn: [
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
- ],
- angle_diff_cn: [
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
- ],
- bph_max_value: [
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
- ],
- pointer: {
- size: 18476,
- valid: true
- }
- }
- ],
- power_before_buf: null,
- power_after_buf: null,
- qvvr_direction_info: null,
- qvvr_utbl_info: null
- }
+ GJList.value = {}
view3.value = true
view2.value = false
}
diff --git a/src/utils/request.ts b/src/utils/request.ts
index c33a330c..0b69511a 100644
--- a/src/utils/request.ts
+++ b/src/utils/request.ts
@@ -152,6 +152,7 @@ function createAxios>(
return Axios(response.config)
})
.catch(err => {
+ window.location.reload()
adminInfo.removeToken()
router.push({ name: 'login' })
return Promise.reject(err)
diff --git a/src/views/pqs/bearingCapacity/evaluationList/components/photovoltaic.vue b/src/views/pqs/bearingCapacity/evaluationList/components/photovoltaic.vue
index 31094719..a4c6026c 100644
--- a/src/views/pqs/bearingCapacity/evaluationList/components/photovoltaic.vue
+++ b/src/views/pqs/bearingCapacity/evaluationList/components/photovoltaic.vue
@@ -844,7 +844,7 @@ onMounted(() => {
}
.btnBox {
display: flex;
- justify-content: end;
+ justify-content: flex-end;
}
:deep(.vxe-table--header thead tr:first-of-type th:first-of-type) {
diff --git a/src/views/pqs/bearingCapacity/userManagement/equipment.vue b/src/views/pqs/bearingCapacity/userManagement/equipment.vue
index 3b9fe387..da2501b3 100644
--- a/src/views/pqs/bearingCapacity/userManagement/equipment.vue
+++ b/src/views/pqs/bearingCapacity/userManagement/equipment.vue
@@ -1,163 +1,163 @@
-
-
- 新增
-
-
-
-
-
-
-
- 修改
-
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ 新增
+
+
+
+
+
+
+
+ 修改
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/pqs/business/terminal/FrontManagement/index.vue b/src/views/pqs/business/terminal/FrontManagement/index.vue
index b271d04a..7439a768 100644
--- a/src/views/pqs/business/terminal/FrontManagement/index.vue
+++ b/src/views/pqs/business/terminal/FrontManagement/index.vue
@@ -40,7 +40,14 @@
>
-
+
@@ -139,7 +146,7 @@
>
-
+
{
if (hasDevices.value) {
- ElMessage.warning('此前置机绑定了设备,无法删除!');
- return;
+ ElMessage.warning('此前置机绑定了设备,无法删除!')
+ return
}
delNode(row.id).then(res => {
@@ -386,7 +394,7 @@ const tableStore = new TableStore({
})
}
},
- {
+ {
name: 'edit',
title: '分配终端',
type: 'primary',
@@ -399,10 +407,10 @@ const tableStore = new TableStore({
title: '确定分配终端吗?'
},
click: row => {
- if (!hasDevices.value) {
- ElMessage.warning('此前置机下无设备,无法分配终端!');
- return;
- }
+ // if (!hasDevices.value) {
+ // ElMessage.warning('此前置机下无设备,无法分配终端!')
+ // return
+ // }
allotTerminal({
nodeId: row.id
}).then(res => {
@@ -410,7 +418,7 @@ const tableStore = new TableStore({
tableStore.index()
})
}
- },
+ }
]
}
],
@@ -448,26 +456,25 @@ const currentChangeEvent = () => {
// 检查返回的数据是否存在且不为空
if (res.data && res.data.processDeviceList) {
// 检查是否有设备绑定
- const hasAnyDevices = res.data.processDeviceList.some(item =>
- item.deviceInfoList && item.deviceInfoList.length > 0
- );
- hasDevices.value = hasAnyDevices;
-
+ const hasAnyDevices = res.data.processDeviceList.some(
+ item => item.deviceInfoList && item.deviceInfoList.length > 0
+ )
+ hasDevices.value = hasAnyDevices
+
dataSource.value = res.data.processDeviceList.filter(item => {
- item.name = item.processNo + '';
- return true; // 保持原有的过滤逻辑
- });
+ item.name = item.processNo + ''
+ return true // 保持原有的过滤逻辑
+ })
} else {
dataSource.value = []
- hasDevices.value = false;
+ hasDevices.value = false
}
loading.value = false
-
})
.catch(() => {
// 添加错误处理,确保 loading 状态也能关闭
dataSource.value = []
- hasDevices.value = false;
+ hasDevices.value = false
loading.value = false
})
@@ -476,7 +483,7 @@ const currentChangeEvent = () => {
// 重启进程
const restart = (data: any) => {
- // console.log('🚀 ~ restart ~ data:', data)
+ // console.log('🚀 ~ restart ~ data:', data)
askRestartProcess({
deviceRebootType: null,
nodeId: nodeId.value,
@@ -518,7 +525,7 @@ const filterNode = (value: string, data: any, node: any) => {
// 过滤父节点 / 子节点 (如果输入的参数是父节点且能匹配,则返回该节点以及其下的所有子节点;如果参数是子节点,则返回该节点的父节点。name是中文字符,enName是英文字符.
const chooseNode = (value: string, data: any, node: any) => {
- if (data.name.indexOf(value) !== -1) {
+ if ((data.subName + data.name).indexOf(value) !== -1) {
return true
}
const level = node.level
@@ -629,7 +636,7 @@ const addMenu = () => {}
:deep(.default) {
display: flex;
.row--current {
- // background-color: var(--el-color-primary-light-8) !important;
+ // background-color: var(--el-color-primary-light-8) !important;
}
}
.custom-tree-node {
diff --git a/src/views/pqs/business/terminal/deviceter/index.vue b/src/views/pqs/business/terminal/deviceter/index.vue
index 9608a9ab..094ceeed 100644
--- a/src/views/pqs/business/terminal/deviceter/index.vue
+++ b/src/views/pqs/business/terminal/deviceter/index.vue
@@ -1740,8 +1740,8 @@ const optionarr = ref([
])
/**母线类型 */
const busBarType = ref([
- { name: '实际母线', value: 0 },
- { name: '虚拟母线', value: 1 }
+ { name: '实际母线', value: 1 },
+ { name: '虚拟母线', value: 0 }
])
const bigList: any = ref([])
const smallList: any = ref([])
diff --git a/src/views/pqs/harmonicMonitoring/detailed/division/components/compute.vue b/src/views/pqs/harmonicMonitoring/detailed/division/components/compute.vue
index 2ee8bb91..4f4cfb37 100644
--- a/src/views/pqs/harmonicMonitoring/detailed/division/components/compute.vue
+++ b/src/views/pqs/harmonicMonitoring/detailed/division/components/compute.vue
@@ -613,7 +613,7 @@ onMounted(() => {
.harmonicButton {
height: 42px;
display: flex;
- justify-content: end;
+ justify-content: flex-end;
align-items: center;
}
:deep(.el-tabs__content) {
diff --git a/src/views/pqs/harmonicMonitoring/detailed/division/components/detail.vue b/src/views/pqs/harmonicMonitoring/detailed/division/components/detail.vue
index 360bdfaa..ae1bfec7 100644
--- a/src/views/pqs/harmonicMonitoring/detailed/division/components/detail.vue
+++ b/src/views/pqs/harmonicMonitoring/detailed/division/components/detail.vue
@@ -158,7 +158,7 @@ onMounted(() => {
+
+
+
+
+
+
{{ item.name }} ({{ item.count }}台)
+
+
+
+ {{ ratingName(item.score) }}
+
+ {{ item.score }}分
+
+
+
+
+
+
+
+
diff --git a/src/views/pqs/supervise/electricalEnergy/components1/form/abnormal.vue b/src/views/pqs/supervise/electricalEnergy/components1/form/abnormal.vue
index 25beeef5..930a64bf 100644
--- a/src/views/pqs/supervise/electricalEnergy/components1/form/abnormal.vue
+++ b/src/views/pqs/supervise/electricalEnergy/components1/form/abnormal.vue
@@ -235,7 +235,7 @@ defineExpose({ open })
}
.form {
// display: flex;
- // justify-content: end;
+ // justify-content: flex-end;
// position: relative;
// .form_but {
diff --git a/src/views/pqs/voltageSags/Region/components/Compatibility.vue b/src/views/pqs/voltageSags/Region/components/Compatibility.vue
index 261ec3a8..710f34cf 100644
--- a/src/views/pqs/voltageSags/Region/components/Compatibility.vue
+++ b/src/views/pqs/voltageSags/Region/components/Compatibility.vue
@@ -1,23 +1,37 @@
电压等级:
-
+
全选
-
+
{{ item.name }}
干扰源类型:
-
+
全选
-
+
{{ item.name }}
@@ -28,7 +42,7 @@
F47
-
+
@@ -43,7 +57,7 @@ import MyEchart from '@/components/echarts/MyEchart.vue'
import { mainHeight } from '@/utils/layout'
import { defaultAttribute } from '@/components/table/defaultAttribute'
import { ref, reactive } from 'vue'
-import { Bottom } from '@element-plus/icons-vue/dist/types'
+const emit = defineEmits(['viewWave'])
const dictData = useDictData()
const isIndeterminate = ref(false)
const isIndeterminate1 = ref(false)
@@ -340,7 +354,7 @@ const gongfunction = () => {
var index = datalist.value[i].lineId
var eventId = datalist.value[i].eventId
var lineName = datalist.value[i].lineName
- point = [xx, yy, time, company, substation, index, eventId, lineName]
+ point = [xx, yy, time, company, substation, index, eventId, lineName, datalist.value[i]]
if (xx <= 0.003) {
var line = 0
@@ -468,6 +482,10 @@ const gongfunction = () => {
}
}
}
+const echartClick = (params: any) => {
+
+ emit('viewWave', params.value[8])
+}
defineExpose({ checkedVoltage, checkedSource, info })
const layout = mainHeight(320) as any
diff --git a/src/views/pqs/voltageSags/Region/statistics/index.vue b/src/views/pqs/voltageSags/Region/statistics/index.vue
index 91652e53..7fc03724 100644
--- a/src/views/pqs/voltageSags/Region/statistics/index.vue
+++ b/src/views/pqs/voltageSags/Region/statistics/index.vue
@@ -1,98 +1,125 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/src/views/pqs/voltageSags/monitoringPoint/online/eventStatistics/ITICquxianfenxi/index.vue b/src/views/pqs/voltageSags/monitoringPoint/online/eventStatistics/ITICquxianfenxi/index.vue
index 3b5fcebc..19b630c2 100644
--- a/src/views/pqs/voltageSags/monitoringPoint/online/eventStatistics/ITICquxianfenxi/index.vue
+++ b/src/views/pqs/voltageSags/monitoringPoint/online/eventStatistics/ITICquxianfenxi/index.vue
@@ -15,7 +15,7 @@
{{ data.bkrr }}
-
+
@@ -52,7 +52,7 @@ const init = () => {
data.gs = res.data.voltageToleranceCurveDataList.length
data.krr = gongData.pointI.length
data.bkrr = gongData.pointIun.length
-
+
options.value = {
// backgroundColor: "#f9f9f9", //地图背景色深蓝
title: {
@@ -107,7 +107,7 @@ const init = () => {
name: '%'
}
],
- color: ['#FF8C00', '#00BFFF', 'green', 'red'],
+ color: ['#FF8C00', '#00BFFF', 'green', 'red'],
options: {
dataZoom: null,
series: [
@@ -186,7 +186,7 @@ function gongfunction(arr: any) {
let time = arr[i].time
let eventId = arr[i].eventId
// let index =arr[i].eventDetailIndex;
- point = [xx, yy, time, eventId]
+ point = [xx, yy, time, eventId, arr[i]]
if (xx <= 0.003) {
let line = 0
@@ -324,9 +324,13 @@ function gongfunction(arr: any) {
pointFun
}
}
+const emit = defineEmits(['viewWave'])
+const echartClick = (params: any) => {
+ emit('viewWave', params.value[4])
+}
onMounted(() => {
- datePickerRef.value.setTheDate(1)
+ datePickerRef.value.setTheDate(1)
init()
})
diff --git a/src/views/pqs/voltageSags/monitoringPoint/online/eventStatistics/SEMIF47fenxi/index.vue b/src/views/pqs/voltageSags/monitoringPoint/online/eventStatistics/SEMIF47fenxi/index.vue
index eb81b4b4..8c6e1537 100644
--- a/src/views/pqs/voltageSags/monitoringPoint/online/eventStatistics/SEMIF47fenxi/index.vue
+++ b/src/views/pqs/voltageSags/monitoringPoint/online/eventStatistics/SEMIF47fenxi/index.vue
@@ -15,7 +15,7 @@
{{ data.bkrr }}
-
+
@@ -52,7 +52,7 @@ const init = () => {
data.gs = res.data.voltageToleranceCurveDataList.length
data.krr = gongData.pointF.length
data.bkrr = gongData.pointFun.length
-
+
options.value = {
// backgroundColor: "#f9f9f9", //地图背景色深蓝
title: {
@@ -172,7 +172,7 @@ function gongfunction(arr: any) {
let time = arr[i].time
let eventId = arr[i].eventId
// let index =arr[i].eventDetailIndex;
- point = [xx, yy, time, eventId]
+ point = [xx, yy, time, eventId, arr[i]]
if (xx <= 0.003) {
let line = 0
@@ -205,8 +205,6 @@ function gongfunction(arr: any) {
})
}
} else if (xx <= 0.5) {
-
-
if (yy > 120 || yy < 70) {
unstandI++
pointIun.push({
@@ -251,14 +249,12 @@ function gongfunction(arr: any) {
}
if (xx < 0.05) {
-
standF++
pointF.push({
value: point,
itemStyle: { normal: { color: 'green' } }
})
} else if (xx < 0.2) {
-
if (yy > 50) {
standF++
pointF.push({
@@ -274,7 +270,6 @@ function gongfunction(arr: any) {
}
} else if (xx < 0.5) {
if (yy > 70) {
-
standF++
pointF.push({
value: point,
@@ -289,7 +284,6 @@ function gongfunction(arr: any) {
}
} else {
if (yy > 80) {
-
standF++
pointF.push({
value: point,
@@ -316,9 +310,12 @@ function gongfunction(arr: any) {
pointFun
}
}
-
+const emit = defineEmits(['viewWave'])
+const echartClick = (params: any) => {
+ emit('viewWave', params.value[4])
+}
onMounted(() => {
- datePickerRef.value.setTheDate(1)
+ datePickerRef.value.setTheDate(1)
init()
})
diff --git a/src/views/pqs/voltageSags/monitoringPoint/online/eventStatistics/index.vue b/src/views/pqs/voltageSags/monitoringPoint/online/eventStatistics/index.vue
index 2e6e312e..8d757a51 100644
--- a/src/views/pqs/voltageSags/monitoringPoint/online/eventStatistics/index.vue
+++ b/src/views/pqs/voltageSags/monitoringPoint/online/eventStatistics/index.vue
@@ -1,10 +1,10 @@
-
+
-
+
@@ -35,12 +35,16 @@ const props = defineProps({
default: 0
}
})
+const emit = defineEmits(['viewWave'])
const activeName = ref('1')
const height = ref(mainHeight(84 + props.externalHeight))
// onMounted(() => {
// height.value = mainHeight(84 + props.externalHeight)
// console.log("🚀 ~ 84 + props.externalHeight:", 84 + props.externalHeight)
// })
+const viewWave=(row:any)=>{
+ emit('viewWave',row)
+}