/*! * * @supermap/vue-iclient.(https://iclient.supermap.io) * Copyright© 2000 - 2020 SuperMap Software Co.Ltd * license: Apache-2.0 * version: v10.1.0 * */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("xlsx"),require("../static/libs/mapboxgl/mapbox-gl-enhance.js"),require("vue"),require("three/examples/jsm/loaders/GLTFLoader"),require("vue-echarts"),require("three"),require("ant-design-vue"),require("echarts-liquidfill"),require("three/examples/jsm/loaders/OBJLoader2"),require("vue-cesium"),require("video.js"),require("../static/libs/deckgl/deck.gl.min.js"),require("../static/libs/echarts-layer/EchartsLayer.js"),require("../static/libs/iclient-mapboxgl/iclient-mapboxgl.min.js"),require("echarts"),require("../static/libs/mapbox-gl-draw/mapbox-gl-draw.js"),require("shapefile")):"function"==typeof define&&define.amd?define(["xlsx","../static/libs/mapboxgl/mapbox-gl-enhance.js","vue","three/examples/jsm/loaders/GLTFLoader","vue-echarts","three","ant-design-vue","echarts-liquidfill","three/examples/jsm/loaders/OBJLoader2","vue-cesium","video.js","../static/libs/deckgl/deck.gl.min.js","../static/libs/echarts-layer/EchartsLayer.js","../static/libs/iclient-mapboxgl/iclient-mapboxgl.min.js","echarts","../static/libs/mapbox-gl-draw/mapbox-gl-draw.js","shapefile"],e):"object"==typeof exports?exports.Components=e(require("xlsx"),require("../static/libs/mapboxgl/mapbox-gl-enhance.js"),require("vue"),require("three/examples/jsm/loaders/GLTFLoader"),require("vue-echarts"),require("three"),require("ant-design-vue"),require("echarts-liquidfill"),require("three/examples/jsm/loaders/OBJLoader2"),require("vue-cesium"),require("video.js"),require("../static/libs/deckgl/deck.gl.min.js"),require("../static/libs/echarts-layer/EchartsLayer.js"),require("../static/libs/iclient-mapboxgl/iclient-mapboxgl.min.js"),require("echarts"),require("../static/libs/mapbox-gl-draw/mapbox-gl-draw.js"),require("shapefile")):(t.SuperMap=t.SuperMap||{},t.SuperMap.Components=e(t.XLSX,t.mapboxgl,t.Vue,t["THREE.GLTFLoader"],t.VueECharts,t.THREE,t.antd,t["echarts-liquidfill"],t["THREE.OBJLoader2"],t.VueCesium,t._videojs,t.DeckGL,t.EchartsLayer,t.SuperMap,t.echarts,t.MapboxDraw,t.shapefile))}(window,function(__WEBPACK_EXTERNAL_MODULE__1c98__,__WEBPACK_EXTERNAL_MODULE__3d57__,__WEBPACK_EXTERNAL_MODULE__5643__,__WEBPACK_EXTERNAL_MODULE__6d09__,__WEBPACK_EXTERNAL_MODULE__8275__,__WEBPACK_EXTERNAL_MODULE__8b5b__,__WEBPACK_EXTERNAL_MODULE_a587__,__WEBPACK_EXTERNAL_MODULE_acbb__,__WEBPACK_EXTERNAL_MODULE_b9f8__,__WEBPACK_EXTERNAL_MODULE_be1f__,__WEBPACK_EXTERNAL_MODULE_be3f__,__WEBPACK_EXTERNAL_MODULE_ca40__,__WEBPACK_EXTERNAL_MODULE_e76e__,__WEBPACK_EXTERNAL_MODULE_f240__,__WEBPACK_EXTERNAL_MODULE_f840__,__WEBPACK_EXTERNAL_MODULE_fc22__,__WEBPACK_EXTERNAL_MODULE_ffd5__){return(f={0:function(t,e,i){t.exports=i("5c15")},"022b":function(t,e,i){"use strict";function r(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"sm-component-indicator",style:t.getBackgroundStyle},[i("div",{class:"sm-component-indicator__content sm-component-indicator__content-"+t.mode},[i("span",{directives:[{name:"show",rawName:"v-show",value:t.showTitleUnit,expression:"showTitleUnit"}],staticClass:"sm-component-indicator__title",style:[t.unit_titleStyle,t.getTextColorStyle]},[t._v(t._s(t.titleData))]),t._v(" "),i("div",[i("span",{staticClass:"sm-component-indicator__num",style:t.indicatorStyle},[t.isNumber(t.indicatorNum)?i("countTo",{attrs:{decimals:t.calDecimals,startVal:t.startData,endVal:t.numData,duration:Number(t.duration)||1e3,separator:t.separator,numBackground:t.numBackground,numSpacing:t.numSpacing,separatorBackground:t.separatorBackground,fontSize:parseFloat(t.fontSize)+t.fontUnit}}):t._e(),t._v("\n "+t._s(t.isNumber(t.indicatorNum)?"":t.indicatorNum)+"\n ")],1),t._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:t.showTitleUnit,expression:"showTitleUnit"}],staticClass:"sm-component-indicator__unit",style:[t.unit_titleStyle,t.getTextColorStyle]},[t._v(t._s(t.unitData))])])])])}var n=[];i.d(e,"a",function(){return r}),i.d(e,"b",function(){return n})},"027a":function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.request=g,e.generatePointsFeatures=e.clearSearchResultLayer=e.resetSearchSourceData=e.addPoints=e.toBBoxString=e.tdtSetHighlightIcon=e.getStatisticsResult=e.sourceNames=e.tiandituTransit=e.tiandituSearch=e.config=void 0;var n=r(i("bd18")),s=r(i("1164")),l=r(i("f052")),u=r(i("0c08")),c=i("38ce"),h=r(i("090e")),d=r(i("074d")),a=n.default.CancelToken,f=n.default.create(),o={};function g(t){var e=t.url,i=t.params,r=void 0===i?{}:i,n=t.method,a=void 0===n?"get":n,o={url:e,method:a};return"get"===a.toLowerCase()?o.params=r:o.data=r,f(o).then(function(t){return t.data}).catch(function(t){return Promise.reject(t)})}function A(t){var e=o[t];"function"==typeof e&&(e("取消重复请求"),delete o[t])}f.interceptors.request.use(function(e){return A(e.url),e.cancelToken=new a(function(t){o[e.url]=t}),e},function(t){return Promise.reject(t)}),f.interceptors.response.use(function(t){return A(t.config.url),t},function(t){var e=n.default.isCancel(t);if(e){var i={isCancel:e};return Promise.reject(i)}return Promise.reject(t.response&&t.response.data)});e.config={HOME_URL:"https://www.tianditu.gov.cn",feedbackIp:"https://www.tianditu.gov.cn/feedback",T_URL:"https://map.tianditu.gov.cn",T_SSO_URL:"https://sso.tianditu.gov.cn",T_UMS_URL:"https://uums.tianditu.gov.cn",SEARCH_URL:"https://api.tianditu.gov.cn/search",DRIVE_URL:"https://api.tianditu.gov.cn/drive",BUS_URL:"https://api.tianditu.gov.cn/transit",GEOCODE_URL:"https://api.tianditu.gov.cn/geocoder",API_URL:"https://lbs.tianditu.gov.cn/"};e.tiandituSearch=function(t,e){return g({url:t,params:e})};e.tiandituTransit=function(t,e){return g({url:t,params:e})};var p={searchResultPoints:"tdt-search-searchResultPoints",searchResultLine:"tdt-search-searchResultLine",searchResultPolygon:"tdt-search-searchResultPolygon",searchResultPointsOfLine:"tdt-search-searchResultPointsOfLine"};e.sourceNames=p;e.getStatisticsResult=function(t){return{priorityCitys:t.priorityCitys,allAdmins:t.allAdmins.map(function(t,e){var i="0-".concat(e),a={key:i,title:t.name,info:t,children:[],scopedSlots:{title:"title",info:"info"}};return t.childAdmins&&t.childAdmins.forEach(function(t,e){var r="".concat(i,"-").concat(e),n={key:r,title:t.name,info:t,children:[],scopedSlots:{title:"title",info:"info"}};t.childAdmins&&t.childAdmins.forEach(function(t,e){var i={key:"".concat(r,"-").concat(e),title:t.name,info:t,scopedSlots:{title:"title",info:"info"}};n.children.push(i)}),a.children.push(n)}),a})}};e.tdtSetHighlightIcon=function(t,e,i){if(t.getLayer("".concat(e,"-highlight"))){if(i)return void t.setFilter("".concat(e,"-highlight"),["==","hotPointID",i]);t.setFilter("".concat(e,"-highlight"),["==","hotPointID",""])}};e.toBBoxString=function(t){var e=t.getBounds();return e.getWest().toFixed(5)+","+e.getSouth().toFixed(5)+","+e.getEast().toFixed(5)+","+e.getNorth().toFixed(5)};e.addPoints=function(t,e,i){if(i&&t){var r=t.getSource(e),n=i;if(r)r.setData(n);else{t.addSource(e,{type:"geojson",data:n});var a=new Image;a.src=d.default,a.onload=function(){t.style.addSpriteObject(e,a,h.default),t.addLayer({id:e,type:"symbol",source:e,layout:{"icon-image":"buoy-icon-{serialNum}","icon-allow-overlap":!0}}),t.addLayer({id:"".concat(e,"-highlight"),type:"symbol",source:e,layout:{"icon-image":"buoy-icon-active-{serialNum}","icon-allow-overlap":!0},filter:["==","hotPointID",""]})}}var o=(0,s.default)((0,l.default)((0,u.default)(i),1.7));t.fitBounds([[o[0],o[1]],[o[2],o[3]]],{maxZoom:17})}};e.resetSearchSourceData=function(t,e){if(t)if(e&&t.getSource(e))t.getSource(e).setData({type:"FeatureCollection",features:[]});else for(var i in p)t.getSource(i)&&t.getSource(i).setData({type:"FeatureCollection",features:[]})};e.clearSearchResultLayer=function(t,e){if(t)for(var i in p){if(e&&t.getSource(e)){t.getLayer(e)&&t.removeLayer(e),t.getLayer("".concat(e,"-highlight"))&&t.removeLayer("".concat(e,"-highlight")),t.removeSource(e);break}if(t.getSource(p[i])){switch(t.getLayer(p[i])&&t.removeLayer(p[i]),p[i]){case"tdt-search-searchResultPoints":t.removeLayer("".concat(p[i],"-highlight"));break;case"tdt-search-searchResultPointsOfLine":t.removeLayer("".concat(p[i],"-fill")),t.removeLayer("".concat(p[i],"-stroke"));break;case"tdt-search-searchResultPolygon":t.removeLayer("".concat(p[i],"-stroke"))}t.removeSource(p[i])}}};e.generatePointsFeatures=function(t,e){for(var i=1i._height&&(t.position.y=.1*Math.random(),t.position.x=(.5-Math.random())*i._radius,t.position.z=(.5-Math.random())*i._radius);var e=.1+t.position.y/i._height;t.rotateX(.01*(1.2-e)),t.rotateZ(.01*(1.2-e)),t.rotateY(.01*(1.2-e)),t.scale.set(e,e,e),t.material.uniforms.blend.value=e}),this._light.intensity+=.006*(this._lightIntensity-this._light.intensity),.8n&&!o.warned){o.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=e,l.count=o.length,s=l,console&&console.warn&&console.warn(s)}return t}function h(t,e,i){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:i},n=function(){for(var t=[],e=0;eMath.PI&&(n-=2*Math.PI),n<-Math.PI&&(n+=2*Math.PI);var a=Math.log(Math.tan(r/2+Math.PI/4)/Math.tan(i/2+Math.PI/4)),o=Math.atan2(n,a);return(s.radiansToDegrees(o)+360)%360}e.default=function(t,e,i){var r;return void 0===i&&(i={}),180<(r=i.final?a(n.getCoord(e),n.getCoord(t)):a(n.getCoord(t),n.getCoord(e)))?-(360-r):r}},"0b0f":function(t,e,i){"use strict";i.r(e);var r=i("827d"),n=i("d5f4");for(var a in n)"default"!==a&&function(t){i.d(e,t,function(){return n[t]})}(a);var o=i("b429"),s=Object(o.a)(n.default,r.a,r.b,!1,null,null,null);e.default=s.exports},"0b11":function(t,e,i){"use strict";function r(){var t=this,e=t.$createElement,i=t._self._c||e;return i("sm-card",{directives:[{name:"show",rawName:"v-show",value:t.isShow,expression:"isShow"}],staticClass:"sm-component-chart",attrs:{"icon-class":t.iconClass,"icon-position":t.position,"header-name":t.headerName,"auto-rotate":t.autoRotate,collapsed:t.collapsed}},[i("v-chart",{ref:t.chartId,style:t._chartStyle,attrs:{id:t.chartId,options:t._chartOptions,initOptions:t.initOptions,group:t.group,"manual-update":t.manualUpdate,theme:t.theme||t.chartTheme},on:{datazoom:t.dataZoomHandler}}),t._v(" "),i("TablePopup",t._b({directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"chartTablePopup",attrs:{"text-color":t.textColor,background:t.background}},"TablePopup",t.tablePopupProps,!1))],1)}var n=[];i.d(e,"a",function(){return r}),i.d(e,"b",function(){return n})},"0c08":function(t,e,i){"use strict";i.r(e);function b(t,e,i){if(null!==t)for(var r,n,a,o,s,l,u,c,h=0,d=0,f=t.type,g="FeatureCollection"===f,A="Feature"===f,p=g?t.features.length:1,m=0;mt[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]=t.min&&n<=t.max});if(a)return["{".concat(parseInt(a.min),"_").concat(parseInt(a.max),"|").concat(i,"} ").concat(r)].join("\n")}return["{default|".concat(i,"} ").concat(r)].join("\n")}}}},setItemStyleColor:function(t,e,i,r){var s=this,n=!(0=e._chartOptions.legend.data.length&&(i=0),t.dispatchAction({type:"highlight",seriesIndex:0,dataIndex:i})},2e3)},clearPieAutoPlay:function(t){clearInterval(this.pieAutoPlay);for(var e=0;eb.end){var r=b.start;b.start=b.end,b.end=r}if(C){var s=v.smChart.chart.getOption().dataZoom[0]||{},l=s.startValue,u=s.endValue;a=l,o=u,m.dataZoom=m.dataZoom.map(function(t){return 0<=l&&0<=u&&(t.startValue=l,t.endValue=u,delete t.start,delete t.end),t})}else a=Math.floor(b.start/100*n.length),o=Math.ceil(b.end/100*n.length);n=t.data.slice(a,o+1)}i.formatter=function(t){var e=t.dataIndex,i=t.value,r="";return e!==a&&e!==o&&Math.max.apply(null,n)+""!=i+""||(r=i),r}}else if(t&&"pie"!==t.type&&"radar"!==t.type){var h=(0,B.getMultiColorGroup)(v.colorGroupsData,v.colorNumber);if("2.5Bar"===t.type){var c=t.shape,d=t.itemStyle&&t.itemStyle.color;if(["square","rectangle"].includes(c)){var f=c;t.type="custom",y.series[e]&&(y.series[e].type="custom");var g=v;t.renderItem=function(e,t){var i,r,n,a=t.coord([t.value(0),t.value(1)]),o=d||h[e.seriesIndex];if(g.highlightOptions){var s=g.highlightOptions.find(function(t){return t.seriesIndex.includes(e.seriesIndex)&&t.dataIndex===e.dataIndex});s&&(s.color||g.highlightColor)&&(o=s.color||g.highlightColor)}if("object"===(0,E.default)(o)){var l=(0,w.default)(o),u=(0,w.default)(o),c=(0,w.default)(o);l.colorStops[0].color=(0,M.getColorWithOpacity)(l.colorStops[0].color,.4),l.colorStops[1].color=(0,M.getColorWithOpacity)(l.colorStops[1].color,.4),u.colorStops[0].color=(0,M.getColorWithOpacity)(u.colorStops[0].color,.7),u.colorStops[1].color=(0,M.getColorWithOpacity)(u.colorStops[1].color,.7),c.colorStops[0].color=(0,M.getColorWithOpacity)(c.colorStops[0].color,.85),c.colorStops[1].color=(0,M.getColorWithOpacity)(c.colorStops[1].color,.85),i=l,r=u,n=c}else i=(0,M.getColorWithOpacity)(o,.4),r=(0,M.getColorWithOpacity)(o,.7),n=(0,M.getColorWithOpacity)(o,.85);return{type:"group",children:[{type:"Cube".concat(f,"Left"),shape:{api:t,xValue:t.value(0),yValue:t.value(1),x:a[0],y:a[1],xAxisPoint:t.coord([t.value(0),0])},style:{fill:i}},{type:"Cube".concat(f,"Right"),shape:{api:t,xValue:t.value(0),yValue:t.value(1),x:a[0],y:a[1],xAxisPoint:t.coord([t.value(0),0])},style:{fill:r}},{type:"Cube".concat(f,"Top"),shape:{api:t,xValue:t.value(0),yValue:t.value(1),x:a[0],y:a[1],xAxisPoint:t.coord([t.value(0),0])},style:{fill:n}}]}}}else if("cylinder"===c){var A=y.series[e+1]&&y.series[e+1].data;t.type="bar",t.barGap="-100%","axis"===m.tooltip.trigger&&(m.tooltip.trigger="item"),y.series[e]&&(y.series[e].type="bar");var p=d||h[e];"string"==typeof p&&(p=v.setGradientColor(p,"#fff")),I.push({name:"",type:"pictorialBar",symbolOffset:[0,-8],symbolPosition:"end",z:12,itemStyle:{normal:{color:p}},data:y.series[e].data.map(function(t,e){return{value:t,symbolSize:!A||A[e]&&+t>=+A[e]?["100%",15]:[0,15]}})},{name:"",type:"pictorialBar",symbolSize:["100%",10],symbolOffset:[0,5],z:12,itemStyle:{normal:{color:p}},data:y.series[e].data})}delete t.shape}}return t}),"pie"===m.series[0].type&&m.series[0].roseType&&(m.series=m.series.map(function(t){return t.roseType||(t.roseType=m.series[0].roseType),t})),m.legend&&0t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]=a){l+=r.value}if(r.mode==="max"&&o<=a){l+=r.value}if(!s[u])s[u]="";if(l&&-1===(" "+s[u]+" ").indexOf(" "+l+" ")){s[u]+=" "+l}}for(var t in c){if(!c.hasOwnProperty(t))continue;if(s[c[t]]){this.element.setAttribute(c[t],s[c[t]].substr(1))}else{this.element.removeAttribute(c[t])}}}}function u(t,e){if(!t.elementQueriesSetupInformation){t.elementQueriesSetupInformation=new i(t,e)}if(!t.elementQueriesSensor){t.elementQueriesSensor=new C(t,function(){t.elementQueriesSetupInformation.call()})}}function o(t,e,i,r){if(typeof h[t]==="undefined"){h[t]=[];var n=s.length;a.innerHTML+="\n"+t+" {animation: 0.1s element-queries;}";a.innerHTML+="\n"+t+" > .resize-sensor {min-width: "+n+"px;}";s.push(t)}h[t].push({mode:e,property:i,value:r})}function c(t){var e;if(document.querySelectorAll)e=t?t.querySelectorAll.bind(t):document.querySelectorAll.bind(document);if(!e&&"undefined"!==typeof $$)e=$$;if(!e&&"undefined"!==typeof jQuery)e=jQuery;if(!e){throw"No document.querySelectorAll, jQuery or Mootools's $$ found."}return e}function e(t){var e=c(t);for(var i in h)if(h.hasOwnProperty(i)){var r=e(i,t);for(var n=0,a=r.length;na[e].minWidth){t=e}}}if(!t){t=s}if(l!==t){if(!u[t]){var i=new Image;i.onload=function(){n[t].src=o[t];n[l].style.display="none";n[t].style.display="block";u[t]=true;l=t};i.src=o[t]}else{n[l].style.display="none";n[t].style.display="block";l=t}}else{n[t].src=o[t]}}r.resizeSensorInstance=new C(r,h);h()}function r(){var t=c();var e=t("[data-responsive-image],[responsive-image]");for(var i=0,r=e.length;i img, [data-responsive-image] {overflow: hidden; padding: 0; } [responsive-image] > img, [data-responsive-image] > img {width: 100%;}";a.innerHTML+="\n@keyframes element-queries { 0% { visibility: inherit; } }";document.getElementsByTagName("head")[0].appendChild(a);y=true}for(var e=0,i=document.styleSheets.length;e(o.options.width||200)?e.style.setProperty("--animation-name","clipMe2"):e.style.setProperty("--animation-name","clipMe1"),e.appendChild(i),o.markersElement.push(e)},this)}},{key:"_setMarkerContainerProperty",value:function(i){for(var r=this,n=document.getElementsByClassName("sm-component-animate-marker--text-boder"),t=function(t){var e=n[t].style;Object.keys(i).forEach(function(t){e.setProperty(t,i[t])}),(r.options.height||100)>(r.options.width||200)?e.setProperty("--animation-name","clipMe2"):e.setProperty("--animation-name","clipMe1")},e=0;e/,j=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,W=/^@(?:\.([a-z]+))?:/,U=/[()]/g,Y={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},G=new Q,z=function(t){var i=this;void 0===t&&(t={}),!v&&"undefined"!=typeof window&&window.Vue&&S(window.Vue);var e=t.locale||"en-US",r=t.fallbackLocale||"en-US",n=t.messages||{},a=t.dateTimeFormats||{},o=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||G,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new O,this._dataListeners=[],this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._exist=function(t,e){return!(!t||!e)&&(!A(i._path.getPathValue(t,e))||!!t[e])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(n).forEach(function(t){i._checkLocaleMessage(t,i._warnHtmlInMessage,n[t])}),this._initVM({locale:e,fallbackLocale:r,messages:n,dateTimeFormats:a,numberFormats:o})},q={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};z.prototype._checkLocaleMessage=function(t,e,i){var s=function(i,r,n,a){if(g(n))Object.keys(n).forEach(function(t){var e=n[t];g(e)?(a.push(t),a.push("."),s(i,r,e,a),a.pop()):(a.push(t),s(i,r,e,a)),a.pop()});else if(Array.isArray(n))n.forEach(function(t,e){g(t)?(a.push("["+e+"]"),a.push("."),s(i,r,t,a),a.pop()):(a.push("["+e+"]"),s(i,r,t,a)),a.pop()});else if("string"==typeof n){if(N.test(n)){var t="Detected HTML in message '"+n+"' of keypath '"+a.join("")+"' at '"+r+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===i?d(t):"error"===i&&(e=t,"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),o&&console.error(o.stack)))}}var e,o};s(e,t,i,[])},z.prototype._initVM=function(t){var e=v.config.silent;v.config.silent=!0,this._vm=new v({data:t}),v.config.silent=e},z.prototype.destroyVM=function(){this._vm.$destroy()},z.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},z.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.length){var i=t.indexOf(e);if(-1t.length&&"object"===(0,a.default)(t[0])?n(t,e):SuperMap.ColorsPickerUtil.getGradientColors(t,e,"RANGE")}e.getMultiColorGroup=l;e.chartThemeUtil=function(t,e,i,r){var n=0r?r-e:this.base);e * @license MIT */ var r=e("9711"),a=e("4a62"),o=e("5b56");function i(){return h.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(i()=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|t}function f(t,e){if(h.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return O(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return D(t).length;default:if(r)return O(t).length;e=(""+e).toLowerCase(),r=!0}}function g(t,e,i){var r=t[e];t[e]=t[i],t[i]=r}function A(t,e,i,r,n){if(0===t.length)return-1;if("string"==typeof i?(r=i,i=0):2147483647=t.length){if(n)return-1;i=t.length-1}else if(i<0){if(!n)return-1;i=0}if("string"==typeof e&&(e=h.from(e,r)),h.isBuffer(e))return 0===e.length?-1:p(t,e,i,r,n);if("number"==typeof e)return e&=255,h.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):p(t,[e],i,r,n);throw new TypeError("val must be string, number or Buffer")}function p(t,e,i,r,n){var a,o=1,s=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s/=o=2,l/=2,i/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(n){var c=-1;for(a=i;a>8,n=i%256,a.push(n),a.push(r);return a}(e,t.length-i),t,i,r)}function v(t,e,i){return 0===e&&i===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,i))}function I(t,e,i){i=Math.min(t.length,i);for(var r=[],n=e;n>>10&1023|55296),c=56320|1023&c),r.push(c),n+=h}return function(t){var e=t.length;if(e<=b)return String.fromCharCode.apply(String,t);var i="",r=0;for(;rthis.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(e>>>=0))return"";for(t=t||"utf8";;)switch(t){case"hex":return B(this,e,i);case"utf8":case"utf-8":return I(this,e,i);case"ascii":return E(this,e,i);case"latin1":case"binary":return w(this,e,i);case"base64":return v(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,i);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}.apply(this,arguments)},h.prototype.equals=function(t){if(!h.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===h.compare(this,t)},h.prototype.inspect=function(){var t="",e=j.INSPECT_MAX_BYTES;return 0e&&(t+=" ... ")),""},h.prototype.compare=function(t,e,i,r,n){if(!h.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),e<0||i>t.length||r<0||n>this.length)throw new RangeError("out of range index");if(n<=r&&i<=e)return 0;if(n<=r)return-1;if(i<=e)return 1;if(this===t)return 0;for(var a=(n>>>=0)-(r>>>=0),o=(i>>>=0)-(e>>>=0),s=Math.min(a,o),l=this.slice(r,n),u=t.slice(e,i),c=0;cthis.length)throw new RangeError("Attempt to write outside buffer bounds");r=r||"utf8";for(var a,o,s,l,u,c,h=!1;;)switch(r){case"hex":return m(this,t,e,i);case"utf8":case"utf-8":return u=e,c=i,N(O(t,(l=this).length-u),l,u,c);case"ascii":return y(this,t,e,i);case"latin1":case"binary":return y(this,t,e,i);case"base64":return a=this,o=e,s=i,N(D(t),a,o,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,i);default:if(h)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),h=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var b=4096;function E(t,e,i){var r="";i=Math.min(t.length,i);for(var n=e;nt.length)throw new RangeError("Index out of range")}function Q(t,e,i,r){e<0&&(e=65535+e+1);for(var n=0,a=Math.min(t.length-i,2);n>>8*(r?n:1-n)}function k(t,e,i,r){e<0&&(e=4294967295+e+1);for(var n=0,a=Math.min(t.length-i,4);n>>8*(r?n:3-n)&255}function L(t,e,i,r){if(i+r>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function P(t,e,i,r,n){return n||L(t,0,i,4),a.write(t,e,i,r,23,4),i+4}function F(t,e,i,r,n){return n||L(t,0,i,8),a.write(t,e,i,r,52,8),i+8}h.prototype.slice=function(t,e){var i,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):r>>8):Q(this,t,e,!0),e+2},h.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||S(this,t,e,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Q(this,t,e,!1),e+2},h.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||S(this,t,e,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):k(this,t,e,!0),e+4},h.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||S(this,t,e,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):k(this,t,e,!1),e+4},h.prototype.writeIntLE=function(t,e,i,r){if(t=+t,e|=0,!r){var n=Math.pow(2,8*i-1);S(this,t,e,i,n-1,-n)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+i},h.prototype.writeIntBE=function(t,e,i,r){if(t=+t,e|=0,!r){var n=Math.pow(2,8*i-1);S(this,t,e,i,n-1,-n)}var a=i-1,o=1,s=0;for(this[e+a]=255&t;0<=--a&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+i},h.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||S(this,t,e,1,127,-128),h.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},h.prototype.writeInt16LE=function(t,e,i){return t=+t,e|=0,i||S(this,t,e,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Q(this,t,e,!0),e+2},h.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||S(this,t,e,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Q(this,t,e,!1),e+2},h.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||S(this,t,e,4,2147483647,-2147483648),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):k(this,t,e,!0),e+4},h.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||S(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):k(this,t,e,!1),e+4},h.prototype.writeFloatLE=function(t,e,i){return P(this,t,e,!0,i)},h.prototype.writeFloatBE=function(t,e,i){return P(this,t,e,!1,i)},h.prototype.writeDoubleLE=function(t,e,i){return F(this,t,e,!0,i)},h.prototype.writeDoubleBE=function(t,e,i){return F(this,t,e,!1,i)},h.prototype.copy=function(t,e,i,r){if(i=i||0,r||0===r||(r=this.length),e>=t.length&&(e=t.length),e=e||0,0=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e>>=0,i=void 0===i?this.length:i>>>0,"number"==typeof(t=t||0))for(a=e;a>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;a.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return a}function D(t){return r.toByteArray(function(t){var e;if((t=((e=t).trim?e.trim():e.replace(/^\s+|\s+$/g,"")).replace(T,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function N(t,e,i,r){for(var n=0;n=e.length||n>=t.length);++n)e[n+i]=t[n];return n}}).call(this,e("698d"))},"3cbc":function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("19e1")),a=r(i("66f6")),o=r(i("8377")),s=r(i("c031")),l=r(i("6b51")),u=r(i("7ae5")),c=r(i("5643")),h=i("e22c"),d=r(i("3550")),f=function(t,e,i,r){var n,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,u.default)(Reflect))&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;0<=s;s--)(n=t[s])&&(o=(a<3?n(o):3>>0;e=+e||0;if(Math.abs(e)===Infinity){e=0}if(e<0){e+=i;if(e<0){e=0}}for(;ethis.precision){this.precision=i}}}if(this.precision>20){this.log("this.precision value ("+this.precision+') is greater than max value. Automatic set-up to 20 to prevent "Uncaught RangeError: toFixed()" when calling decimalFormat() method.');this.precision=20}this.log("Calling setPrecision(). Mode : "+this.precisionflag+" - Decimals : "+this.precision);this.serie=this.decimalFormat(this.serie)};this.decimalFormat=function(t){var e=new Array;for(var i=0;ithis.stat_max){this.stat_max=this.serie[i]}}return this.stat_max};this.sum=function(){if(this._nodata())return;if(this.stat_sum==null){this.stat_sum=0;for(i=0;ir)return 1;return 0})}}return this.stat_sorted};this.info=function(){if(this._nodata())return;var t="";t+=T("Population")+" : "+this.pop()+" - ["+T("Min")+" : "+this.min()+" | "+T("Max")+" : "+this.max()+"]"+"\n";t+=T("Mean")+" : "+this.mean()+" - "+T("Median")+" : "+this.median()+"\n";t+=T("Variance")+" : "+this.variance()+" - "+T("Standard deviation")+" : "+this.stddev()+" - "+T("Coefficient of variation")+" : "+this.cov()+"\n";return t};this.setClassManually=function(e){if(this._nodata())return;if(e[0]!==this.min()||e[e.length-1]!==this.max()){if(this.silent)this.log("[silent mode] "+t("Given bounds may not be correct! please check your input.\nMin value : "+this.min()+" / Max value : "+this.max()),true);else throw new TypeError(T("Given bounds may not be correct! please check your input.\nMin value : "+this.min()+" / Max value : "+this.max()));return}this.setBounds(e);this.setRanges();this.method=T("manual classification")+" ("+(e.length-1)+" "+T("classes")+")";return this.bounds};this.getClassEqInterval=function(t,e,r){if(this._nodata())return;var n=typeof e==="undefined"?this.min():e;var a=typeof r==="undefined"?this.max():r;var o=Array();var s=n;var l=(a-n)/t;for(i=0;i<=t;i++){o[i]=s;s+=l}o[t]=a;this.setBounds(o);this.setRanges();this.method=T("eq. intervals")+" ("+t+" "+T("classes")+")";return this.bounds};this.getQuantiles=function(t){var e=this.sorted();var i=[];var r=this.pop()/t;for(var n=1;n0;i--){var l=a[i+1]-this.stddev();a[i]=l}for(i=s+1;i0;i--){var l=a[i+1]-this.stddev();a[i]=l}for(i=u+1;i=m+s[x][S-1]){e[y][S]=B;s[y][S]=m+s[x][S-1]}}}}e[y][1]=1;s[y][1]=m}var k=dataList.length;var L=[];for(l=0;l<=t;l++){L.push(0)}L[t]=parseFloat(dataList[dataList.length-1]);L[0]=parseFloat(dataList[0]);var P=t;while(P>=2){var F=parseInt(e[k][P]-2);L[P-1]=dataList[F];k=parseInt(e[k][P]-1);P-=1}if(L[0]==L[1]){L[0]=0}this.setBounds(L);this.setRanges();this.method=T("Jenks")+" ("+t+" "+T("classes")+")";return this.bounds};this.getClassUniqueValues=function(){if(this._nodata())return;this.is_uniqueValues=true;var t=this.sorted();var e=Array();for(i=0;iparseFloat(this.bounds[r])){t[r-1]=""+n+this.separator+e[i-1];var n=e[i];r++}if(r==this.bounds.length-1){t[r-1]=""+n+this.separator+e[e.length-1];this.inner_ranges=t;return this.inner_ranges}}};this.getSortedlist=function(){return this.sorted().join(", ")};this.getHtmlLegend=function(t,e,r,n,a,o){var s="";var l=new Array;this.doCount();if(t!=null){ccolors=t}else{ccolors=this.colors}if(e!=null){lg=e}else{lg="Legend"}if(r!=null){getcounter=true}else{getcounter=false}if(n!=null){fn=n}else{fn=function(t){return t}}if(a==null){a="default"}if(a=="discontinuous"){this.getInnerRanges();if(this.counter.indexOf(0)!==-1){if(this.silent)this.log("[silent mode] "+T("Geostats cannot apply 'discontinuous' mode to the getHtmlLegend() method because some classes are not populated.\nPlease switch to 'default' or 'distinct' modes. Exit!"),true);else throw new TypeError(T("Geostats cannot apply 'discontinuous' mode to the getHtmlLegend() method because some classes are not populated.\nPlease switch to 'default' or 'distinct' modes. Exit!"));return}}if(o!=="DESC")o="ASC";if(ccolors.length('+this.counter[i]+")"}var u=this.ranges[i].split(this.separator);var c=parseFloat(u[0]).toFixed(this.precision);var h=parseFloat(u[1]).toFixed(this.precision);if(a=="distinct"&&i!=0){if(A(c)){c=parseInt(c)+1;if(this.precisionflag=="manual"&&this.precision!=0)c=parseFloat(c).toFixed(this.precision)}else{c=parseFloat(c)+1/Math.pow(10,this.precision);c=parseFloat(c).toFixed(this.precision)}}if(a=="discontinuous"){var u=this.inner_ranges[i].split(this.separator);var c=parseFloat(u[0]).toFixed(this.precision);var h=parseFloat(u[1]).toFixed(this.precision)}var d=fn(c)+this.legendSeparator+fn(h);var f='
'+d+s+"
";l.push(f)}}else{for(i=0;i('+this.counter[i]+")"}var d=fn(this.bounds[i]);var f='
'+d+s+"
";l.push(f)}}if(o==="DESC")l.reverse();var g='
'+T(lg)+"
";for(i=0;i";return g};this.objectID=(new Date).getUTCMilliseconds();this.log("Creating new geostats object");if(typeof e!=="undefined"&&e.length>0){this.serie=e;this.setPrecision();this.log("Setting serie ("+e.length+") : "+e.join())}else{this.serie=Array()}this.getJenks=this.getClassJenks;this.getGeometricProgression=this.getClassGeometricProgression;this.getEqInterval=this.getClassEqInterval;this.getQuantile=this.getClassQuantile;this.getStdDeviation=this.getClassStdDeviation;this.getUniqueValues=this.getClassUniqueValues;this.getArithmeticProgression=this.getClassArithmeticProgression};return window.geostats=e}()},"3f4f":function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("b761")),a=r(i("dd27")),o={name:"SmEchartsLayer",mixins:[n.default],props:{options:{type:Object,required:!0,validator:function(t){return"{}"!==JSON.stringify(t)}}},watch:{options:{handler:function(t){this.viewModel&&this.viewModel.setOptions(t)},deep:!0}},created:function(){this.viewModel=new a.default(this.options)},render:function(){}};e.default=o},"3fbb":function(t,e,i){"use strict";i.r(e);var r=i("3cbc"),n=i.n(r);for(var a in r)"default"!==a&&function(t){i.d(e,t,function(){return r[t]})}(a);e.default=n.a},4066:function(t,e,i){var r=i("d372"),n=i("4fe1"),a=i("1e44");t.exports=function(t){return r(t)||n(t)||a()}},4156:function(t,e,i){"use strict";i.r(e);var r=i("77c4"),n=i("f14a");for(var a in n)"default"!==a&&function(t){i.d(e,t,function(){return n[t]})}(a);var o=i("b429"),s=Object(o.a)(n.default,r.a,r.b,!1,null,null,null);e.default=s.exports},"425c":function(t,e,i){"use strict";i.r(e);var r=i("6608"),n=i.n(r);for(var a in r)"default"!==a&&function(t){i.d(e,t,function(){return r[t]})}(a);e.default=n.a},4277:function(t,e,i){"use strict";function r(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"sm-component-web-scene"},[this.sceneUrl?e("vc-viewer",{staticClass:"sm-component-web-scene__wrap",attrs:{cesiumPath:this.cesiumPath},on:{ready:this.ready}}):this._e()],1)}var n=[];i.d(e,"a",function(){return r}),i.d(e,"b",function(){return n})},4361:function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("19e1")),a=r(i("66f6")),o=i("1448"),s=function(){function i(t){var e=1this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,r.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,r.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,r.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,r.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t);var e=(this.timestamp=t)-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(e/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e>1,c=-7,h=i?n-1:0,d=i?-1:1,f=t[e+h];for(h+=d,a=f&(1<<-c)-1,f>>=-c,c+=s;0>=-c,c+=r;0>1,d=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:a-1,g=r?1:-1,A=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),2<=(e+=1<=o+h?d/l:d*Math.pow(2,1-h))*l&&(o++,l/=2),c<=o+h?(s=0,o=c):1<=o+h?(s=(e*l-1)*Math.pow(2,n),o+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,n),o=0));8<=n;t[i+f]=255&s,f+=g,s/=256,n-=8);for(o=o<\n
".concat(i.name,"
\n
");this.hoverPopup=new c.default.Popup({closeButton:!1,offset:[0,-10],className:"tdt-search-line-hover-popup"}).setLngLat(e).setHTML(r).addTo(this.map)}},{key:"setData",value:function(t){this.data=Object.assign(this.data,t),this.style=0}},{key:"_getPopupContent",value:function(t,e){var i=this,r=document.createElement("div");r.className="popup-container",r.innerHTML='\n
\n
').concat(e.name,"
\n
\n ");var n=document.createElement("div");n.className="content",n.innerHTML="\n ".concat("Point"===t?'
\n
'.concat((0,g.geti18n)().t("tdtSearch.phone"),": ").concat(e.phone||(0,g.geti18n)().t("tdtSearch.noData"),'
\n
').concat((0,g.geti18n)().t("tdtSearch.address"),": ").concat(e.address||(0,g.geti18n)().t("tdtSearch.noData"),"
\n
"):"","\n ").concat("LineString"===t?'
\n
'.concat((0,g.geti18n)().t("tdtSearch.transport"),": ").concat(e.address||(0,g.geti18n)().t("tdtSearch.noData"),"
\n
"):"","\n ");var a=document.createElement("div");a.className="operate-group";var o=document.createElement("div");o.className="start-item",o.onclick=function(){return i._setPosition("start",e)},o.innerHTML="设为起点";var s=document.createElement("div");return s.className="end-item",s.onclick=function(){return i._setPosition("end",e)},s.innerHTML="设为终点",a.appendChild(o),a.appendChild(s),r.appendChild(n),r}},{key:"_setPosition",value:function(t,e){var i=e.name,r=e.lonlat,n=r.split(" ");n=n.length<2?r.split(","):n,this._transformMsg(t,[+n[0],+n[1]],i)}},{key:"_transformMsg",value:function(t,e,i){e&&(i?this._resetPoint(t,i,e):this._getPointInfo(t,e))}},{key:"_getPointInfo",value:function(n,a){var o=this,t=h.config.GEOCODE_URL,e={lon:a[0],lat:a[1],ver:1},i={postStr:JSON.stringify(e),type:"geocode",tk:this.options.data.tk};(0,h.request)(t,i).then(function(t){var e=t.result.addressComponent,i=void 0===e?{}:e,r=o._convertName(i);o._resetPoint(n,r,a)})}},{key:"_resetPoint",value:function(t,e,i){var r,n=(r={},(0,a.default)(r,t,e),(0,a.default)(r,{start:"startLnglat",end:"endLnglat"}[t],i),r);this.fire("reset-position",{data:n})}},{key:"_convertName",value:function(t){var e=t.poi,i=t.poi_distance,r=t.road,n=t.road_distance;return e&&i?no&&(a.length=o),n&&r&&a.reverse(),a}var C=function(){function i(t,e){(0,a.default)(this,i),t.withCredentials=t.withCredentials||!1,this.dataset=t,this.datasetOptions=e,this.dataCache=null,this.sortDataCache=null,this.axisDatas=[],this.serieDatas=[],this.gridAxis={xAxis:[],yAxis:{}},this.radarAxis={},this.radarMax=0}return(0,o.default)(i,[{key:"getDataOption",value:function(r,t){var n=this,a=1>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function l(t){var e=this.lastTotal-this.lastNeed,i=function(t,e){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(1e.currentTimestamp});if(-1e.position.nextTimestamp});n&&(i=n.geometry.coordinates)}!i&&this.trackPoints[t+1]&&(this.destPosition=this.trackPoints[t+1].geometry.coordinates)}}}},{key:"_setRotateFactor",value:function(){var t=this._getPointInfo();if(this.rotateFactor=0,t){var e=t.startPoint,i=t.endPoint,r=Math.atan((i.y-e.y)/(i.x-e.x));i.x-e.x<0&&(r=Math.PI+r),this.rotateFactor=isNaN(r)?0:-r}if(this.map){var n=this.map.getBearing()*Math.PI/180;this.rotateFactor-=n}}},{key:"_init",value:function(t){t&&this.removed(),this._setRotateFactor(),this._initLayer()}},{key:"_getWayPoint",value:function(t,e,i){var r=this._getPointInfo(e,i);if(r){var n=r.startPoint,a=r.endPoint.sub(n).mult(t).add(n);return this.map.unproject(a).toArray()}}},{key:"_animateLayer",value:function(){var t,e;if(this.position.currentTimestamp===this.position.prevTimestamp){var i=performance.now();t=this.animateTime-i,e=(this.animateStep-t)/this.animateStep}else t=this.destTimestamp-this.position.currentTimestamp,e=(this.position.currentTimestamp-this.position.prevTimestamp)/this.animateStep;if(0this.sortTypeList.length-1&&(this.sortTypeIndex=0),this.sortType=this.sortTypeList[this.sortTypeIndex],this.reset())}},{key:"sortContent",value:function(t){var i=this;if(!t)return null;var e=[];return"none"===this.sortType||!this.sortField||t.length<=1?e=t:(e=(0,v.default)(t),"descend"===this.sortType?e.sort(function(t,e){return e[i.sortField]-t[i.sortField]}):"ascend"===this.sortType&&e.sort(function(t,e){return t[i.sortField]-e[i.sortField]})),e}},{key:"setDefaultSortType",value:function(){var i=0,e=this.columns&&this.columns.find(function(t,e){return!(!["ascend","descend"].includes(t.defaultSortType)||!t.sort)&&(i=e,!0)});if(e){this.sortType=e.defaultSortType;var t=this.sortTypeList.findIndex(function(t){return t===e.defaultSortType});return this.sortTypeIndex=t,this.sortField="".concat(e.field,"-").concat(i),void(this.sortIndex=i)}this.sortField="",this.sortType="none"}},{key:"handleClick",value:function(t,e,i){this.highlightColor&&"function"==typeof this.highlightColor&&(this.eventTriggerColorList.clickColor=this.highlightColor(t,e,i)),this.$emit("row-click",t,e,i),this.$emit("cell-click",t,e,i)}},{key:"handleMouseEnter",value:function(t,e,i){this.activeHoverRowIndex=e,this.highlightColor&&"function"==typeof this.highlightColor&&(this.hoverColor=this.highlightColor(t,e,i)),this.$emit("cell-mouse-enter",t,e,i)}},{key:"handleMouseLeave",value:function(t,e,i){this.activeHoverRowIndex=null,this.$emit("cell-mouse-leave",t,e,i)}},{key:"setCurrentRow",value:function(t){t&&t.length?this.activeClickRowIndex=t:this.activeClickRowIndex=null}},{key:"filterUnit",value:function(t){return t.match(/[\d\D]+(?=px)/gim)[0]}},{key:"reset",value:function(){var t=this;this.$nextTick(function(){t.animateContent=[],t.$nextTick(function(){t.animateContent=(0,a.default)(t.listData),t.$refs.animate&&(t.$refs.animate.scrollTop=0)})})}},{key:"rowsIndexViewBounds",value:function(){if(this.$refs.animate&&this.rows){var t=Math.ceil(this.$refs.animate.scrollTop/this.filterUnit(this.listStyle.rowStyle.height));return[t,t+this.rows]}return[]}},{key:"clamp",value:function(t,e,i){return!!((e||0===e)&&(i||0===i)&&e=+t.min),t.max&&(e=(e=void 0===e||e)&&+i<=+t.max),e});return r?(0,n.default)({},e.type,r.color):{}}}},{key:"fontSizeStyle",get:function(){return{fontSize:"string"==typeof this.fontSize?this.fontSize:1.1*this.fontSize+"px"}}},{key:"getColumnWidth",get:function(){return function(t){if(this.getColumns&&0=",["to-number",["get",i],0],s.start];a.push(l),a.push(s.color)}return a.push(n),a}},{key:"_addOverLayer",value:function(){if(this.features){var t={type:"FeatureCollection",features:this.features};if(this.map.getSource(this.overLayerId)){this.map.getSource(this.overLayerId).setData(t);var e=this._creatNewLabelData();this.map.setPaintProperty(this.overLayerId,"fill-color",this._toFillColor(this.themeInfo)),this.map.setPaintProperty("".concat(this.overLayerId,"-strokeLine"),"line-color",this.themeInfo.stroke["line-color"]),this.map.setPaintProperty("".concat(this.overLayerId,"-strokeLine"),"line-width",this.themeInfo.stroke["line-width"]),this.map.setPaintProperty("".concat(this.overLayerId,"-strokeLine"),"line-opacity",this.themeInfo.stroke["line-opacity"]),this.map.getSource("".concat(this.overLayerId,"-label")).setData(e),this.map.getLayer("".concat(this.overLayerId,"-label"))&&(this.map.setLayoutProperty("".concat(this.overLayerId,"-label"),"text-size",this.themeInfo.label["text-size"]),this.map.setPaintProperty("".concat(this.overLayerId,"-label"),"text-color",this.themeInfo.label["text-color"]),this.map.setPaintProperty("".concat(this.overLayerId,"-label"),"text-halo-color",this.themeInfo.label["text-halo-color"]),this.map.setPaintProperty("".concat(this.overLayerId,"-label"),"text-halo-width",this.themeInfo.label["text-halo-width"])),this.map.setLayoutProperty("".concat(this.overLayerId,"-label"),"text-field",["case",[">",["to-number",["get",this.themeInfo.field],0],0],["concat",["get",this.themeInfo.identifyField],["get",this.themeInfo.field]],""])}else{this.map.addSource(this.overLayerId,{type:"geojson",data:t}),this.map.addLayer({id:this.overLayerId,type:"fill",source:this.overLayerId,layout:{},paint:{"fill-color":this._toFillColor(this.themeInfo)}}),this.map.addLayer({id:"".concat(this.overLayerId,"-strokeLine"),type:"line",source:this.overLayerId,layout:{},paint:this.themeInfo.stroke});var i=this._creatNewLabelData()||{type:"FeatureCollection",features:[]};this.map.addSource("".concat(this.overLayerId,"-label"),{type:"geojson",data:i}),this.map.addLayer({id:"".concat(this.overLayerId,"-label"),type:"symbol",source:"".concat(this.overLayerId,"-label"),layout:{"text-field":["case",[">",["to-number",["get",this.themeInfo.field],0],0],["concat",["get",this.themeInfo.identifyField],["get",this.themeInfo.field]],""],"text-font":["Microsoft YaHei Regular"],"text-size":this.themeInfo.label["text-size"],"text-allow-overlap":!0,"text-letter-spacing":0,"text-max-width":0},paint:{"text-color":this.themeInfo.label["text-color"],"text-opacity":1,"text-halo-color":this.themeInfo.label["text-halo-color"],"text-halo-width":this.themeInfo.label["text-halo-width"]}}),this._initLegendInfo()}this._sendMapToUser()}}},{key:"_sendMapToUser",value:function(){this._sourceListModel=new s.default({map:this.map}),this._legendInfo&&this._sourceListModel.addSourceStyle(this.overLayerId,this._legendInfo),this.fire("addlayerssucceeded",{map:this.map})}},{key:"_clearOverLayer",value:function(){this.map&&this.map.getLayer(this.overLayerId)&&(this.map.getLayer(this.overLayerId)&&this.map.removeLayer(this.overLayerId),this.map.getLayer("".concat(this.overLayerId,"-strokeLine"))&&this.map.removeLayer("".concat(this.overLayerId,"-strokeLine")),this.map.getLayer("".concat(this.overLayerId,"-label"))&&this.map.removeLayer("".concat(this.overLayerId,"-label")),this.map.getSource(this.overLayerId)&&this.map.removeSource(this.overLayerId),this.map.getSource("".concat(this.overLayerId,"-label"))&&this.map.removeSource("".concat(this.overLayerId,"-label")))}},{key:"_restTheme",value:function(){this.map&&this.map.getLayer(this.overLayerId)&&(this.themeInfo=p,this._addOverLayer())}},{key:"_initLegendInfo",value:function(){this._legendInfo={layerType:"RANGE",featureType:"POLYGON",layerId:this.overLayerId,themeField:this.themeInfo.field,styleGroup:this.themeInfo.styleGroup,integerType:!0}}},{key:"centerValid",value:function(t){return!(!t||!(0 "+s.toRGB()+" -> "+s.toHex());o.appendChild(l),o.appendChild(u),a.appendChild(o)}catch(t){}return a}}},"6b99":function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("19e1")),a=r(i("66f6")),o=r(i("8377")),s=r(i("c031")),l=r(i("6b51")),u=r(i("7ae5")),c=r(i("6255")),h=r(i("d3e9")),d=r(i("9f21")),f=r(i("3a49")),g=i("e22c"),A=i("e0f2"),p=r(i("331f")),m=function(t,e,i,r){var n,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,u.default)(Reflect))&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;0<=s;s--)(n=t[s])&&(o=(a<3?n(o):3o&&i.splice(0,i.length-o),s[e].geometry.coordinates=i}else s[e]=r}),l||("line"===n?s.push({type:"Feature",properties:r.properties,geometry:{type:"LineString",coordinates:[r.geometry.coordinates]}}):s.push(r)),this.map.getSource(t).setData({type:"FeatureCollection",features:s}),"point"===n){var u=e.pointStyle.type,c=this._getDataFlowRotateStyle(s,i,a);["SVG_POINT","IMAGE_POINT"].includes(u)?this.map.setLayoutProperty(t,"icon-rotate",c):"SYMBOL_POINT"===u&&this.map.setLayoutProperty(t,"text-rotate",c)}}},{key:"_createMigrationLayer",value:function(t,e){window.echarts=f.default;var i=this.getEchartsLayerOptions(t,e,"GLMap");i.GLMap={roam:!0};var r=new g.default(this.map);r.chart.setOption(i),this.echartslayer.push(r),this._addLayerSucceeded()}},{key:"_createRankSymbolLayer",value:function(t,e){var i=t.minzoom,r=t.maxzoom,n=t.themeSetting.themeField,a=t.themeSetting.colors,o=t.style,s=t.featureType,l=this.createRankStyleSource(t,e).styleGroups;e=this.getFilterFeatures(t.filterCondition,e);for(var u=["match",["get","index"]],c=["match",["get","index"]],h=0;h=this.text.length)return;t=this.text[this.place++]}switch(this.state){case h:return this.neutral(t);case 2:return this.keyword(t);case 4:return this.quoted(t);case 5:return this.afterquote(t);case 3:return this.number(t);case-1:return}},B.prototype.afterquote=function(t){if('"'===t)return this.word+='"',void(this.state=4);if(E.test(t))return this.word=this.word.trim(),void this.afterItem(t);throw new Error("havn't handled \""+t+'" in afterquote yet, index '+this.place)},B.prototype.afterItem=function(t){return","===t?(null!==this.word&&this.currentObject.push(this.word),this.word=null,void(this.state=h)):"]"===t?(this.level--,null!==this.word&&(this.currentObject.push(this.word),this.word=null),this.state=h,this.currentObject=this.stack.pop(),void(this.currentObject||(this.state=-1))):void 0},B.prototype.number=function(t){if(!w.test(t)){if(E.test(t))return this.word=parseFloat(this.word),void this.afterItem(t);throw new Error("havn't handled \""+t+'" in number yet, index '+this.place)}this.word+=t},B.prototype.quoted=function(t){'"'!==t?this.word+=t:this.state=5},B.prototype.keyword=function(t){if(b.test(t))this.word+=t;else{if("["===t){var e=[];return e.push(this.word),this.level++,null===this.root?this.root=e:this.currentObject.push(e),this.stack.push(this.currentObject),this.currentObject=e,void(this.state=h)}if(!E.test(t))throw new Error("havn't handled \""+t+'" in keyword yet, index '+this.place);this.afterItem(t)}},B.prototype.neutral=function(t){if(I.test(t))return this.word=t,void(this.state=2);if('"'===t)return this.word="",void(this.state=4);if(w.test(t))return this.word=t,void(this.state=3);if(!E.test(t))throw new Error("havn't handled \""+t+'" in neutral yet, index '+this.place);this.afterItem(t)},B.prototype.output=function(){for(;this.placeMath.PI&&(s-=2*Math.PI),n=Math.sin(l),o=Math.cos(l),a=n*n,{x:((r=i/Math.sqrt(1-e*a))+u)*o*Math.cos(s),y:(r+u)*o*Math.sin(s),z:(r*(1-e)+u)*n}}function ot(t,e,i,r){var n,a,o,s,l,u,c,h,d,f,g,A,p,m,y,C=t.x,v=t.y,I=t.z?t.z:0;if(n=Math.sqrt(C*C+v*v),a=Math.sqrt(C*C+v*v+I*I),n/i<1e-12){if(m=0,a/i<1e-12)return y=-r,{x:t.x,y:t.y,z:t.z}}else m=Math.atan2(v,C);for(o=I/a,h=(s=n/a)*(1-e)*(l=1/Math.sqrt(1-e*(2-e)*s*s)),d=o*l,p=0;p++,u=e*(c=i/Math.sqrt(1-e*d*d))/(c+(y=n*h+I*d-c*(1-e*d*d))),A=(g=o*(l=1/Math.sqrt(1-u*(2-u)*s*s)))*h-(f=s*(1-u)*l)*d,h=f,d=g,1e-24Q?Math.tan(a):0,g=Math.pow(f,2),A=Math.pow(g,2);e=1-this.es*Math.pow(s,2),u/=Math.sqrt(e);var p=Dt(a,s,l,this.en);i=this.a*(this.k0*u*(1+c/6*(1-g+h+c/20*(5-18*g+A+14*h-58*g*h+c/42*(61+179*A-A*g-479*g)))))+this.x0,r=this.a*(this.k0*(p-this.ml0+s*o*u/2*(1+c/12*(5-g+9*h+4*d+c/30*(61+A-58*g+270*h-330*g*h+c/56*(1385+543*A-A*g-3111*g))))))+this.y0}else{var m=l*Math.sin(o);if(Math.abs(Math.abs(m)-1)Q?Math.tan(i):0,c=this.ep2*Math.pow(l,2),h=Math.pow(c,2),d=Math.pow(u,2),f=Math.pow(d,2);e=1-this.es*Math.pow(s,2);var g=a*Math.sqrt(e)/this.k0,A=Math.pow(g,2);r=i-(e*=u)*A/(1-this.es)*.5*(1-A/12*(5+3*d-9*c*d+c-4*h-A/30*(61+90*d-252*c*d+45*f+46*c-A/56*(1385+3633*d+4095*f+1574*f*d)))),n=Y(this.long0+g*(1-A/6*(1+2*d+c-A/20*(5+28*d+24*f+8*c*d+6*c-A/42*(61+662*d+1320*f+720*f*d))))/l)}else r=S*U(o),n=0;else{var p=Math.exp(a/this.k0),m=.5*(p-1/p),y=this.lat0+o/this.k0,C=Math.cos(y);e=Math.sqrt((1-Math.pow(C,2))/(1+Math.pow(m,2))),r=Math.asin(e),o<0&&(r=-r),n=0==m&&0===C?0:Y(Math.atan2(m,C)+this.long0)}return t.x=n,t.y=r,t},names:["Transverse_Mercator","Transverse Mercator","tmerc"]};var Zt={init:function(){if(void 0===this.es||this.es<=0)throw new Error("incorrect elliptical usage");this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var t=this.es/(1+Math.sqrt(1-this.es)),e=t/(2-t),i=e;this.cgb[0]=e*(2+e*(-2/3+e*(e*(116/45+e*(26/45+-2854/675*e))-2))),this.cbg[0]=e*(e*(2/3+e*(4/3+e*(-82/45+e*(32/45+4642/4725*e))))-2),i*=e,this.cgb[1]=i*(7/3+e*(e*(-227/45+e*(2704/315+2323/945*e))-1.6)),this.cbg[1]=i*(5/3+e*(-16/15+e*(-13/9+e*(904/315+-1522/945*e)))),i*=e,this.cgb[2]=i*(56/15+e*(-136/35+e*(-1262/105+73814/2835*e))),this.cbg[2]=i*(-26/15+e*(34/21+e*(1.6+-12686/2835*e))),i*=e,this.cgb[3]=i*(4279/630+e*(-332/35+-399572/14175*e)),this.cbg[3]=i*(1237/630+e*(-24832/14175*e-2.4)),i*=e,this.cgb[4]=i*(4174/315+-144838/6237*e),this.cbg[4]=i*(-734/315+109598/31185*e),i*=e,this.cgb[5]=i*(601676/22275),this.cbg[5]=i*(444337/155925),i=Math.pow(e,2),this.Qn=this.k0/(1+e)*(1+i*(.25+i*(1/64+i/256))),this.utg[0]=e*(e*(2/3+e*(-37/96+e*(1/360+e*(81/512+-96199/604800*e))))-.5),this.gtu[0]=e*(.5+e*(-2/3+e*(5/16+e*(41/180+e*(-127/288+7891/37800*e))))),this.utg[1]=i*(-1/48+e*(-1/15+e*(437/1440+e*(-46/105+1118711/3870720*e)))),this.gtu[1]=i*(13/48+e*(e*(557/1440+e*(281/630+-1983433/1935360*e))-.6)),i*=e,this.utg[2]=i*(-17/480+e*(37/840+e*(209/4480+-5569/90720*e))),this.gtu[2]=i*(61/240+e*(-103/140+e*(15061/26880+167603/181440*e))),i*=e,this.utg[3]=i*(-4397/161280+e*(11/504+830251/7257600*e)),this.gtu[3]=i*(49561/161280+e*(-179/168+6601661/7257600*e)),i*=e,this.utg[4]=i*(-4583/161280+108847/3991680*e),this.gtu[4]=i*(34729/80640+-3418889/1995840*e),i*=e,this.utg[5]=-.03233083094085698*i,this.gtu[5]=.6650675310896665*i;var r=zt(this.cbg,this.lat0);this.Zb=-this.Qn*(r+function(t,e){for(var i,r=2*Math.cos(e),n=t.length-1,a=t[n],o=0;0<=--n;)i=r*a-o+t[n],o=a,a=i;return Math.sin(e)*i}(this.gtu,2*r))},forward:function(t){var e=Y(t.x-this.long0),i=t.y;i=zt(this.cbg,i);var r=Math.sin(i),n=Math.cos(i),a=Math.sin(e),o=Math.cos(e);i=Math.atan2(r,o*n),e=Math.atan2(a*n,Yt(r,n*o)),e=Gt(Math.tan(e));var s,l,u=qt(this.gtu,2*i,2*e);return i+=u[0],e+=u[1],l=Math.abs(e)<=2.623395162778?(s=this.a*(this.Qn*e)+this.x0,this.a*(this.Qn*i+this.Zb)+this.y0):s=1/0,t.x=s,t.y=l,t},inverse:function(t){var e,i,r=(t.x-this.x0)*(1/this.a),n=(t.y-this.y0)*(1/this.a);if(n=(n-this.Zb)/this.Qn,r/=this.Qn,Math.abs(r)<=2.623395162778){var a=qt(this.utg,2*n,2*r);n+=a[0],r+=a[1],r=Math.atan(Ut(r));var o=Math.sin(n),s=Math.cos(n),l=Math.sin(r),u=Math.cos(r);n=Math.atan2(o*u,Yt(l,u*s)),r=Math.atan2(l,u*s),e=Y(r+this.long0),i=zt(this.cgb,n)}else i=e=1/0;return t.x=e,t.y=i,t},names:["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc"]};function Kt(t,e){return Math.pow((1-t)/(1+t),e)}var Xt={init:function(){var t=function(t,e){if(void 0===t){if((t=Math.floor(30*(Y(e)+Math.PI)/Math.PI)+1)<0)return 0;if(60Q?this.ns=Math.log(r/s)/Math.log(n/l):this.ns=e,isNaN(this.ns)&&(this.ns=e),this.f0=r/(this.ns*Math.pow(n,this.ns)),this.rh=this.a*this.f0*Math.pow(u,this.ns),this.title||(this.title="Lambert Conformal Conic")}},forward:function(t){var e=t.x,i=t.y;Math.abs(2*Math.abs(i)-Math.PI)<=Q&&(i=U(i)*(S-2*Q));var r,n,a=Math.abs(Math.abs(i)-S);if(QQ?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},forward:function(t){var e=t.x,i=t.y;this.sin_phi=Math.sin(i),this.cos_phi=Math.cos(i);var r=he(this.e3,this.sin_phi,this.cos_phi),n=this.a*Math.sqrt(this.c-this.ns0*r)/this.ns0,a=this.ns0*Y(e-this.long0),o=n*Math.sin(a)+this.x0,s=this.rh-n*Math.cos(a)+this.y0;return t.x=o,t.y=s,t},inverse:function(t){var e,i,r,n,a,o;return t.x-=this.x0,t.y=this.rh-t.y+this.y0,r=0<=this.ns0?(e=Math.sqrt(t.x*t.x+t.y*t.y),1):(e=-Math.sqrt(t.x*t.x+t.y*t.y),-1),(n=0)!==e&&(n=Math.atan2(r*t.x,r*t.y)),r=e*this.ns0/this.a,o=this.sphere?Math.asin((this.c-r*r)/(2*this.ns0)):(i=(this.c-r*r)/this.ns0,this.phi1z(this.e3,i)),a=Y(n/this.ns0+this.long0),t.x=a,t.y=o,t},names:["Albers_Conic_Equal_Area","Albers","aea"],phi1z:function(t,e){var i,r,n,a,o=Ce(.5*e);if(tMath.PI&&(r=Math.PI),i=(2*e+Math.sin(2*e))/Math.PI,12*S*this.a)return;return i=e/this.a,r=Math.sin(i),n=Math.cos(i),a=this.long0,Math.abs(e)<=Q?o=this.lat0:(o=Ce(n*this.sin_p12+t.y*r*this.cos_p12/e),s=Math.abs(this.lat0)-S,a=Math.abs(s)<=Q?0<=this.lat0?Y(this.long0+Math.atan2(t.x,-t.y)):Y(this.long0-Math.atan2(-t.x,t.y)):Y(this.long0+Math.atan2(t.x*r,e*this.cos_p12*n-t.y*this.sin_p12*r))),t.x=a,t.y=o,t}return l=re(this.es),u=ne(this.es),c=ae(this.es),h=oe(this.es),Math.abs(this.sin_p12-1)<=Q?(d=this.a*ie(l,u,c,h,S),e=Math.sqrt(t.x*t.x+t.y*t.y),o=ue((d-e)/this.a,l,u,c,h),a=Y(this.long0+Math.atan2(t.x,-1*t.y))):Math.abs(this.sin_p12+1)<=Q?(d=this.a*ie(l,u,c,h,S),e=Math.sqrt(t.x*t.x+t.y*t.y),o=ue((e-d)/this.a,l,u,c,h),a=Y(this.long0+Math.atan2(t.x,t.y))):(e=Math.sqrt(t.x*t.x+t.y*t.y),A=Math.atan2(t.x,t.y),f=se(this.a,this.e,this.sin_p12),p=Math.cos(A),y=-(m=this.e*this.cos_p12*p)*m/(1-this.es),C=3*this.es*(1-y)*this.sin_p12*this.cos_p12*p/(1-this.es),b=1-y*(I=(v=e/f)-y*(1+y)*Math.pow(v,3)/6-C*(1+3*y)*Math.pow(v,4)/24)*I/2-v*I*I*I/6,g=Math.asin(this.sin_p12*Math.cos(I)+this.cos_p12*Math.sin(I)*p),a=Y(this.long0+Math.asin(Math.sin(A)*Math.sin(I)/Math.cos(g))),o=Math.atan((1-this.es*b*this.sin_p12/Math.sin(g))*Math.tan(g)/(1-this.es))),t.x=a,t.y=o,t},names:["Azimuthal_Equidistant","aeqd"]};var Fe={init:function(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)},forward:function(t){var e,i,r,n,a,o,s,l=t.x,u=t.y;return r=Y(l-this.long0),e=Math.sin(u),i=Math.cos(u),n=Math.cos(r),(0<(a=this.sin_p14*e+this.cos_p14*i*n)||Math.abs(a)<=Q)&&(o=1*this.a*i*Math.sin(r),s=this.y0+1*this.a*(this.cos_p14*e-this.sin_p14*i*n)),t.x=o,t.y=s,t},inverse:function(t){var e,i,r,n,a,o,s;return t.x-=this.x0,t.y-=this.y0,e=Math.sqrt(t.x*t.x+t.y*t.y),i=Ce(e/this.a),r=Math.sin(i),n=Math.cos(i),o=this.long0,Math.abs(e)<=Q?(s=this.lat0,t.x=o,t.y=s,t):(s=Ce(n*this.sin_p14+t.y*r*this.cos_p14/e),a=Math.abs(this.lat0)-S,o=Math.abs(a)<=Q?0<=this.lat0?Y(this.long0+Math.atan2(t.x,-t.y)):Y(this.long0-Math.atan2(-t.x,t.y)):Y(this.long0+Math.atan2(t.x*r,e*this.cos_p14*n-t.y*this.sin_p14*r)),t.x=o,t.y=s,t)},names:["ortho"]},Te=1,Re=2,Oe=3,De=4,Ne=5,je=6,We={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function Ue(t,e,i,r){var n;return t=S-y/2?this.face=Ne:this.lat0<=-(S-y/2)?this.face=je:Math.abs(this.long0)<=y?this.face=Te:Math.abs(this.long0)<=S+y?this.face=0=Math.abs(t.y)?g.value=We.AREA_0:0<=t.y&&t.y>=Math.abs(t.x)?(g.value=We.AREA_1,e-=S):t.x<0&&-t.x>=Math.abs(t.y)?(g.value=We.AREA_2,e=e<0?e+C:e-C):(g.value=We.AREA_3,e+=S),u=C/12*Math.tan(e),a=Math.sin(u)/(Math.cos(u)-1/Math.sqrt(2)),o=Math.atan(a),(s=1-(r=Math.cos(e))*r*(n=Math.tan(i))*n*(1-Math.cos(Math.atan(1/Math.cos(o)))))<-1?s=-1:1r.y)--e;else{if(!(Ve[e+1][0]<=r.y))break;++e}var n=Ve[e],i=5*(r.y-n[0])/(Ve[e+1][0]-n[0]);i=function(t,e,i,r){for(var n=e;r;--r){var a=t(n);if(n-=a,Math.abs(a)>Y,0!=S?(S=255/S,k[h]=(f*U>>Y)*S,k[h+1]=(g*U>>Y)*S,k[h+2]=(A*U>>Y)*S):k[h]=k[h+1]=k[h+2]=0,f-=m,g-=y,A-=C,p-=v,m-=j.r,y-=j.g,C-=j.b,v-=j.a,u=d+((u=o+a+1)>Y,0>Y)*S,k[u+1]=(g*U>>Y)*S,k[u+2]=(A*U>>Y)*S):k[u]=k[u+1]=k[u+2]=0,f-=m,g-=y,A-=C,p-=v,m-=j.r,y-=j.g,C-=j.b,v-=j.a,u=o+((u=s+T)>N,M[h+1]=g*D>>N,M[h+2]=A*D>>N,f-=p,g-=m,A-=y,p-=R.r,m-=R.g,y-=R.b,u=d+((u=o+a+1)>N,M[u+1]=g*D>>N,M[u+2]=A*D>>N,f-=p,g-=m,A-=y,p-=R.r,m-=R.g,y-=R.b,u=o+((u=s+k)>16&255,o[s++]=e>>8&255,o[s++]=255&e;2===a&&(e=u[t.charCodeAt(i)]<<2|u[t.charCodeAt(i+1)]>>4,o[s++]=255&e);1===a&&(e=u[t.charCodeAt(i)]<<10|u[t.charCodeAt(i+1)]<<4|u[t.charCodeAt(i+2)]>>2,o[s++]=e>>8&255,o[s++]=255&e);return o},e.fromByteArray=function(t){for(var e,i=t.length,r=i%3,n=[],a=0,o=i-r;a>2]+s[e<<4&63]+"==")):2==r&&(e=(t[i-2]<<8)+t[i-1],n.push(s[e>>10]+s[e>>4&63]+s[e<<2&63]+"="));return n.join("")};for(var s=[],u=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,a=r.length;n>18&63]+s[n>>12&63]+s[n>>6&63]+s[63&n]);return a.join("")}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},"97dd":function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("19e1")),a=r(i("66f6")),o=r(i("8377")),s=r(i("c031")),l=r(i("6b51")),u=r(i("3d57")),c=r(i("5fdb")),h=function(t){function e(){var t;return(0,n.default)(this,e),(t=(0,o.default)(this,(0,s.default)(e).call(this))).sourceList={},t.sourceNames=[],t}return(0,l.default)(e,t),(0,a.default)(e,[{key:"_updateLayers",value:function(){this.fire("layersUpdated")}},{key:"setMap",value:function(t){var e=t.map;this.map=e,this.updateFn=this._updateLayers.bind(this),this.map.on("styledata",this.updateFn)}},{key:"initLayerList",value:function(){return this.sourceListModel=new c.default({map:this.map}),this.sourceList=this.sourceListModel.getSourceList(),this.sourceNames=this.sourceListModel.getSourceNames().reverse(),this.sourceList}},{key:"getSourceNames",value:function(){return this.sourceNames}},{key:"changeLayerVisible",value:function(t,e,i){var r=this;this.sourceListModel.getLayersBySourceLayer(e,t).forEach(function(t){r.map.setLayoutProperty(t.id,"visibility",r.changeVisibility(i))})}},{key:"changeVisibility",value:function(t){return"visible"===t?"none":"visible"}},{key:"changeLayerGroupVisibility",value:function(t,e){var i=this,r=this.sourceListModel.getSourceLayersBySource(t);if(r)for(var n in r)r[n].forEach(function(t){i.map.setLayoutProperty(t.id,"visibility",i.changeVisibility(e))});else{var a=!0,o=!1,s=void 0;try{for(var l,u=this.sourceList[t].layers[Symbol.iterator]();!(a=(l=u.next()).done);a=!0){var c=l.value;this.map.setLayoutProperty(c.id,"visibility",this.changeVisibility(e))}}catch(t){o=!0,s=t}finally{try{a||null==u.return||u.return()}finally{if(o)throw s}}}}},{key:"removed",value:function(){this.sourceList={},this.sourceNames=[],this.map.off("styledata",this.updateFn)}}]),e}(u.default.Evented);e.default=h},9832:function(t,e,i){"use strict";function r(){var i=this,t=i.$createElement,r=i._self._c||t;return r("div",{staticClass:"sm-component-search sm-component-tdtSearch",style:i.getTextColorStyle},[i.showIcon&&"control"===i.mode?r("div",{staticClass:"sm-component-search__toggle-icon",style:[{"--icon-color--hover":i.colorGroupsData[0]},i.getBackgroundStyle],on:{click:function(t){i.showSearch=!i.showSearch,i.showIcon=!i.showIcon}}},[r("i",{staticClass:"sm-component-tdtSearch__pointer sm-components-icons-preview"})]):i._e(),i._v(" "),r("transition",{attrs:{name:"sm-component-zoom-in"},on:{"after-leave":function(t){i.showIcon=!i.showIcon}}},[r("div",{directives:[{name:"show",rawName:"v-show",value:i.showSearch||"toolBar"===i.mode,expression:"showSearch || mode === 'toolBar'"}],staticClass:"sm-component-search__content sm-component-tdtSearch__content",style:[{"transform-origin":i.position.includes("left")?"top left":"top right"},i.getBackgroundStyle]},[r("div",{staticClass:"sm-component-search__input"},["control"===i.mode?r("div",{staticClass:"sm-component-search__arrow-icon",style:{float:i.position.includes("left")?"right":"left"},on:{click:function(t){i.showSearch=!i.showSearch}}},[r("a-icon",{attrs:{type:i.position.includes("left")?"double-left":"double-right"}})],1):i._e(),i._v(" "),r("div",{class:["sm-component-search__search-icon",{right:i.position.includes("right")}],style:[i.getBackgroundStyle,i.getColorStyle(0)],on:{click:i.searchButtonClicked}},["search"===i.prefixType?r("i",{staticClass:"sm-component-tdtSearch__pointer sm-components-icons-preview"}):r("a-icon",{attrs:{type:i.prefixType}})],1),i._v(" "),r("a-input",{class:["sm-component-search__a-input",{"toolBar-input":"toolBar"===i.mode}],style:[i.getBackgroundStyle],attrs:{placeholder:i.$t("search.inputPlaceHolder")},on:{input:i.searchInput,compositionstart:function(t){i.isInputing=!0},compositionend:function(t){i.isInputing=!1},pressEnter:i.searchButtonClicked,mouseenter:function(t){i.isHover=!i.isHover},mouseleave:function(t){i.isHover=!i.isHover},keyup:i.changeResultHover},model:{value:i.searchKey,callback:function(t){i.searchKey=t},expression:"searchKey"}},[r("a-icon",{directives:[{name:"show",rawName:"v-show",value:i.searchKey,expression:"searchKey"}],staticClass:"sm-component-tdtSearch__pointer",style:i.getColorStyle(0),attrs:{slot:"suffix",type:"close-circle"},on:{click:i.inputValueCleared,mouseenter:function(t){i.isHover=!i.isHover},mouseleave:function(t){i.isHover=!i.isHover}},slot:"suffix"})],1)],1),i._v(" "),r("div",{style:[i.getBackgroundStyle]},[i.resultSuggestions?r("div",{staticClass:"sm-component-search__result"},[r("ul",{staticClass:"sm-component-tdtSearch__suggestions"},i._l(i.searchResult,function(e,t){return r("li",{key:t,class:{active:i.hoverIndex===t},attrs:{title:e.name},on:{click:function(t){return i.searchResultListClicked(e.name)},mouseenter:i.changeChosenResultStyle,mouseleave:i.resetChosenResultStyle}},[r("span",{staticClass:"name"},[i._v(i._s(e.name))]),i._v(" "),i.showAddress(e.name,e.address)?r("span",{staticClass:"address"},[i._v(i._s(e.address))]):i._e()])}),0)]):r(i.componentId,i._g(i._b({tag:"component"},"component",i.componentProps,!1),i.componentListeners))],1)])])],1)}var n=[];i.d(e,"a",function(){return r}),i.d(e,"b",function(){return n})},"986c":function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function n(){var t=0/g,">")),c("text",t))}function A(t){o.ignoreComment||(o.trim&&(t=t.trim()),c("comment",t))}function p(t){var e=s[o.parentKey];o.addParent||delete s[o.parentKey],s=e}function m(t){o.ignoreCdata||(o.trim&&(t=t.trim()),c("cdata",t))}function y(t){o.ignoreDoctype||(t=t.replace(/^ /,""),o.trim&&(t=t.trim()),c("doctype",t))}function C(t){t.note=t}t.exports=function(t,e){var i,r=l.parser(!0,{}),n={};if(s=n,i=e,o=u.copyOptions(i),u.ensureFlagExists("ignoreDeclaration",o),u.ensureFlagExists("ignoreInstruction",o),u.ensureFlagExists("ignoreAttributes",o),u.ensureFlagExists("ignoreText",o),u.ensureFlagExists("ignoreComment",o),u.ensureFlagExists("ignoreCdata",o),u.ensureFlagExists("ignoreDoctype",o),u.ensureFlagExists("compact",o),u.ensureFlagExists("alwaysChildren",o),u.ensureFlagExists("addParent",o),u.ensureFlagExists("trim",o),u.ensureFlagExists("nativeType",o),u.ensureFlagExists("nativeTypeAttributes",o),u.ensureFlagExists("sanitize",o),u.ensureFlagExists("instructionHasAttributes",o),u.ensureFlagExists("captureSpacesBetweenElements",o),u.ensureAlwaysArrayExists(o),u.ensureKeyExists("declaration",o),u.ensureKeyExists("instruction",o),u.ensureKeyExists("attributes",o),u.ensureKeyExists("text",o),u.ensureKeyExists("comment",o),u.ensureKeyExists("cdata",o),u.ensureKeyExists("doctype",o),u.ensureKeyExists("type",o),u.ensureKeyExists("name",o),u.ensureKeyExists("elements",o),u.ensureKeyExists("parent",o),u.checkFnExists("doctype",o),u.checkFnExists("instruction",o),u.checkFnExists("cdata",o),u.checkFnExists("comment",o),u.checkFnExists("text",o),u.checkFnExists("instructionName",o),u.checkFnExists("elementName",o),u.checkFnExists("attributeName",o),u.checkFnExists("attributeValue",o),u.checkFnExists("attributes",o),o=o,r.opt={strictEntities:!0},r.onopentag=f,r.ontext=g,r.oncomment=A,r.onclosetag=p,r.onerror=C,r.oncdata=m,r.ondoctype=y,r.onprocessinginstruction=d,r.write(t).close(),n[o.elementsKey]){var a=n[o.elementsKey];delete n[o.elementsKey],n[o.elementsKey]=a,delete n.text}return n}},"99ae":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={dateTimeFormat:{date:{year:"numeric",month:"short",day:"numeric"},date_second:{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},date_second_week:{year:"numeric",month:"short",day:"numeric",weekday:"long",hour:"numeric",minute:"numeric",second:"numeric"}},warning:{unsupportedVideoAddress:"视频地址不合法",unavailableVideo:"此视频暂无法播放,请稍后再试",mapNotLoaded:"关联的地图尚未加载完整,请稍后",unassociatedMap:"您需要配置关联地图!"},success:{},info:{loading:"加载中",pressEscToExit:"按下 ESC 键或点击关闭按钮退出"},unit:{kilometers:"千米",miles:"英里",meters:"米",yards:"码",feet:"英尺",squarekilometers:"平方千米",squaremiles:"平方英里",squaremeters:"平方米",squareyards:"平方码",squarefeet:"平方英尺"},error:{},commontypes:{restData:"SuperMap Rest 数据服务",restMap:"SuperMap Rest 地图服务",addressMatch:"SuperMap 地址匹配服务",iportalData:"SuperMap iPortal 数据",onlineLocalSearch:"SuperMap Online 本地搜索"},timeText:{Year:"年",Month:"月",Day:"日",hour:"时",minute:"分",second:"秒"},zoom:{},chart:{unSupportedData:"当前数据不支持与地图联动"},layerList:{title:"图层"},miniMap:{},pan:{},scale:{},webmap:{loadingTip:"地图加载中...",crsNotSupport:"不支持当前地图的坐标系!",TileMatrixSetNotSuppport:"不支持传入的 TileMatrixSet!",getLayerInfoFailed:"获取图层信息失败!",getThemeInfoFailed:"获取图层样式信息失败!",crsnotsupport:"不支持的坐标系!",baiduMapNotSupport:"暂不支持加载百度地图!",sampleDataNotSupport:"暂不支持加载示例数据!",mvtNotSupport:"暂不支持加载矢量瓦片图层!"},legend:{themeField:"专题字段",title:"图例",top:"最高",bottom:"最低",noMatchLayer:"没有匹配的图层"},measure:{mapMeasure:"量算",measureResult:"测量结果",distance:"距离",area:"面积",delete:"清空",selectPlaceholder:"请选择",startingPoint:"起点"},search:{noResult:"查询结果为空!",noKey:"搜索关键字不能为空,请输入搜索条件。",inputPlaceHolder:"查找地址或地点",attribute:"属性",attributeValue:"属性值",setSearchSource:"请设置搜索源!",address:"地址",null:"空",illegalFeature:"要素必须包含合法的坐标!"},query:{query:"查询",queryJob:"任务",queryResult:"结果",attributeCondition:"属性条件",spatialFilter:"空间过滤器",mapBounds:"返回地图全图范围的要素",currentMapBounds:"返回当前地图范围内的要素",applicate:"应用",noResult:"无结果",resultAlreadyExists:"当前查询结果已经存在!",querying:"查询中",attribute:"属性",attributeValue:"属性值",noResults:"查询结果为空!",queryFailed:"查询失败!",seviceNotSupport:"此服务不支持查询!"},identify:{layerNotExit:"地图上不存在该图层: '{layer}'",noData:"无数据"},openFile:{fileSizeExceeded:"文件大小超限!文件大小不得超过 10M!",fileTypeUnsupported:"不支持该文件格式!",openFileFail:"打开文件失败!",openFileSuccess:"打开文件成功!",selectFile:"选择文件",openEmptyFile:"打开文件为空!",openFile:"打开文件"},draw:{draw:"绘制"},indicator:{title:"指标标题",unit:"单位"},layerManager:{title:"图层管理"},tdtResults:{on:"在",station:"站",total:"共",about:"约",homePage:"首页",prevPage:"上一页",nextPage:"下一页",searchNoResult:"没有查询到相关结果",youCanTry:"您可以尝试",enterCorrect:"检查输入是否正确",enterOtherKeyWords:"输入其他关键字进行搜索",onTdtMap:"在天地图上",addThisAddress:"添加该地点",uWantTo:"您是否要找",totalFind:"共找到",piecesResults:"条结果",phone:"电话",address:"地址",setStartPonint:"设为起点",setEndPonint:"设为终点",totalMiles:"总里程",distance:"约{distance}公里",showDetails:"显示全部详情",switchTimes:"换乘{switchTimes}次",noSwitch:"无换乘",walk:"步行至",getOff:"下车",getOn:"上车",take:"乘坐",noSearchResults:"没有查询到线路信息",fastRoute:"最快线路",shortRoute:"最短线路",walkRoute:"少走高速",fast:"较快捷",noSubway:"不坐地铁",lessSwitch:"少换乘",lessWalk:"少步行",cityHadResults:"以下城市有结果,请您选择",moreCity:"更多城市",allFound:"共为您找到",piecesBusRoute:"条公交线路",showDetail:"展开详情",busEndTime:"首末车时间",relateAdress:'点击此处查看 "{keyWord}" 的相关地点',switchTo:"已切换到"},tdtRoute:{title:"路线",clearRoute:"清除路线",pleaseEnterStartPoint:"请输入起点",pleaseEnterEndPoint:"请输入终点",search:"搜索",startPoint:"起点",endPoint:"终点",mapLoadedFiled:"地图加载失败",busEndTime:"首末车时间",about:"约",station:"站",total:"共",hour:"小时",minutes:"分钟"},tdtSearch:{phone:"电话",address:"地址",noData:"暂无",transport:"交通"},tdtMapSwitcher:{title:"地图切换",image:"影像",vector:"矢量",terrain:"地形",placeName:"地名",TiandituVec:"天地图矢量底图",TiandituTer:"天地图地形底图",TiandituImg:"天地图影像底图",TiandituCva:"天地图矢量注记",TiandituCta:"天地图地形注记",TiandituCia:"天地图影像注记"},dataFlow:{dataSubscriptionFailed:"数据订阅失败!"},animateMarkerlayer:{unsupportedData:"当前图层不支持该数据,请重新传入数据!"}}},"9b6b":function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("19e1")),a=r(i("66f6")),o=r(i("8377")),s=r(i("c031")),l=r(i("6b51")),u=r(i("7ae5")),c=r(i("5643")),h=i("e22c"),d=r(i("9259")),f=r(i("e9cf")),g=r(i("331f")),A=i("e0f2");i("890a");var p=function(t,e,i,r){var n,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,u.default)(Reflect))&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;0<=s;s--)(n=t[s])&&(o=(a<3?n(o):3 div");this.setStyle(i,e)}},{key:"setSwipeLineStyle",value:function(t){var e=0>>0),a=this.head,o=0;a;)e=a.data,i=n,r=o,e.copy(i,r),o+=a.data.length,a=a.next;return n},n),r&&r.inspect&&r.inspect.custom&&(t.exports.prototype[r.inspect.custom]=function(){var t=r.inspect({length:this.length});return this.constructor.name+" "+t})},"9c18":function(t,e,i){"use strict";var o=i("d691");function s(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,i){if(!e)return t;var r;if(i)r=i(e);else if(o.isURLSearchParams(e))r=e.toString();else{var n=[];o.forEach(e,function(t,e){null!=t&&(o.isArray(t)?e+="[]":t=[t],o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),n.push(s(e)+"="+s(t))}))}),r=n.join("&")}if(r){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+r}return t}},"9c55":function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("19e1")),a=i("4e21");e.default=function t(e){(0,n.default)(this,t),this.type="iServer",this.url=e.url,this.layerName=e.layerName,this.attributeFilter=e.attributeFilter||null,this.maxFeatures=e.maxFeatures||20,this.name=e.name||(0,a.geti18n)().t("commontypes.restMap"),this.proxy=e.proxy}},"9c77":function(b,t,E){"use strict";(function(t,e){var m=E("3e48");function h(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,i){var r=t.entry;t.entry=null;for(;r;){var n=r.callback;e.pendingcb--,n(i),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}b.exports=c;var s,l=!t.browser&&-1<["v0.10","v0.9."].indexOf(t.version.slice(0,5))?setImmediate:m.nextTick;c.WritableState=u;var i=E("9107");i.inherits=E("fe04");var r={deprecate:E("8d32")},n=E("5e89"),y=E("54da").Buffer,C=e.Uint8Array||function(){};var a,o=E("74c0");function v(){}function u(t,e){s=s||E("d711"),t=t||{};var i=e instanceof s;this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,n=t.writableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i&&(n||0===n)?n:a,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=(this.destroyed=!1)===t.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var i=t._writableState,r=i.sync,n=i.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(i),e)!function(t,e,i,r,n){--e.pendingcb,i?(m.nextTick(n,r),m.nextTick(p,t,e),t._writableState.errorEmitted=!0,t.emit("error",r)):(n(r),t._writableState.errorEmitted=!0,t.emit("error",r),p(t,e))}(t,i,r,e,n);else{var a=g(i);a||i.corked||i.bufferProcessing||!i.bufferedRequest||f(t,i),r?l(d,t,i,a,n):d(t,i,a,n)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new h(this)}function c(t){if(s=s||E("d711"),!(a.call(c,this)||this instanceof s))return new c(t);this._writableState=new u(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),n.call(this)}function I(t,e,i,r,n,a,o){e.writelen=r,e.writecb=o,e.writing=!0,e.sync=!0,i?t._writev(n,e.onwrite):t._write(n,a,e.onwrite),e.sync=!1}function d(t,e,i,r){var n,a;i||(n=t,0===(a=e).length&&a.needDrain&&(a.needDrain=!1,n.emit("drain"))),e.pendingcb--,r(),p(t,e)}function f(t,e){e.bufferProcessing=!0;var i=e.bufferedRequest;if(t._writev&&i&&i.next){var r=e.bufferedRequestCount,n=new Array(r),a=e.corkedRequestsFree;a.entry=i;for(var o=0,s=!0;i;)(n[o]=i).isBuf||(s=!1),i=i.next,o+=1;n.allBuffers=s,I(t,e,!0,e.length,n,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new h(e),e.bufferedRequestCount=0}else{for(;i;){var l=i.chunk,u=i.encoding,c=i.callback;if(I(t,e,!1,e.objectMode?1:l.length,l,u,c),i=i.next,e.bufferedRequestCount--,e.writing)break}null===i&&(e.lastBufferedRequest=null)}e.bufferedRequest=i,e.bufferProcessing=!1}function g(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function A(e,i){e._final(function(t){i.pendingcb--,t&&e.emit("error",t),i.prefinished=!0,e.emit("prefinish"),p(e,i)})}function p(t,e){var i,r,n=g(e);return n&&(i=t,(r=e).prefinished||r.finalCalled||("function"==typeof i._final?(r.pendingcb++,r.finalCalled=!0,m.nextTick(A,i,r)):(r.prefinished=!0,i.emit("prefinish"))),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}i.inherits(c,n),u.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(u.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(a=Function.prototype[Symbol.hasInstance],Object.defineProperty(c,Symbol.hasInstance,{value:function(t){return!!a.call(this,t)||this===c&&(t&&t._writableState instanceof u)}})):a=function(t){return t instanceof this},c.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},c.prototype.write=function(t,e,i){var r,n,a,o,s,l,u,c,h,d,f,g=this._writableState,A=!1,p=!g.objectMode&&(r=t,y.isBuffer(r)||r instanceof C);return p&&!y.isBuffer(t)&&(n=t,t=y.from(n)),"function"==typeof e&&(i=e,e=null),e=p?"buffer":e||g.defaultEncoding,"function"!=typeof i&&(i=v),g.ended?(h=this,d=i,f=new Error("write after end"),h.emit("error",f),m.nextTick(d,f)):(p||(a=this,o=g,l=i,c=!(u=!0),null===(s=t)?c=new TypeError("May not write null values to stream"):"string"==typeof s||void 0===s||o.objectMode||(c=new TypeError("Invalid non-string/buffer chunk")),c&&(a.emit("error",c),m.nextTick(l,c),u=!1),u))&&(g.pendingcb++,A=function(t,e,i,r,n,a){if(!i){var o=function(t,e,i){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=y.from(e,i));return e}(e,r,n);r!==o&&(i=!0,n="buffer",r=o)}var s=e.objectMode?1:r.length;e.length+=s;var l=e.lengthe.maxFeatures&&(l=e.maxFeatures);for(var u=0;u\n
\n
').concat(t.properties.stationStart.name,'
\n
\n

').concat(t.properties.direction,"

\n

").concat((0,y.geti18n)().t("tdtRoute.total")).concat(t.properties.segmentStationCount).concat((0,y.geti18n)().t("tdtRoute.station"),"

\n

").concat((0,y.geti18n)().t("tdtRoute.busEndTime"),":\n ").concat(t.properties.SEndTime,"

\n
"))),n.busMarkers.push(r)}})}},{key:"_createCustomMarker",value:function(t,e,i){var r=document.createElement("div");return r.style.background="url(".concat(t,")"),r.style.top=i.top,r.style.left=i.left,r.style.width=i.width,r.style.height=i.height,new u.default.Marker(r).setLngLat(e).addTo(this.map)}},{key:"_addRouteLayer",value:function(t){this.map.addSource(this.sourceName.tdtDrawRoutes,{type:"geojson",data:t}),this.map.addLayer({id:"routes-plan",type:"line",source:this.sourceName.tdtDrawRoutes,paint:{"line-width":8,"line-color":"rgb(51, 133, 255)","line-opacity":.8},layout:{"line-cap":"round"},filter:["any",["all",["!has","hightLightFeture"],[">","id",0]],["all",["==","hightLightFeture",!1],["==","id",0]]]}),this.map.addLayer({id:"routes-plan-highlighted",type:"line",source:this.sourceName.tdtDrawRoutes,paint:{"line-width":8,"line-color":"rgb(254, 86, 24)","line-opacity":.8},layout:{"line-cap":"round"},filter:["==","id",""]}),this.map.addLayer({id:"routes-plan-line-dot",type:"line",source:this.sourceName.tdtDrawRoutes,paint:{"line-width":3,"line-color":"rgb(8, 140, 40)","line-opacity":.8,"line-dasharray":[.6,1.5]},layout:{"line-cap":"round"},filter:["all",["==","id",0],["has","isDashed"]]})}},{key:"setHighlightRoute",value:function(t,e){if(t||0===t){var i=(0,d.default)((0,f.default)(this.result.features?this.result.features.features[t]:this.result[e].features.features[t],1.7));this.map.fitBounds([[i[0],i[1]],[i[2],i[3]]],{maxZoom:17}),this.map.setFilter("routes-plan-highlighted",["==","id",t])}else this.map.setFilter("routes-plan-highlighted",["==","id",""])}},{key:"_handleXmlData",value:function(t){for(var a=this,e=JSON.parse(h.default.xml2json(t,{compact:!0,spaces:4})).result,i=e.simple.item,o=[],s=[],r=e.routes.item,n=0;n=+t.min),t.max&&(e=(e=void 0===e||e)&&+i.indicatorNum<=+t.max),e});e&&(t=e.color)}var r={color:t};return"string"==typeof this.indicatorNum&&(r.fontSize=parseFloat(this.fontSize)+this.fontUnit),r},direction:function(){return{vertical:"column",horizontal:"row"}[this.mode]},calDecimals:function(){return 0 * @license MIT */ t.exports=function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},c0cb:function(t,e){t.exports="data:image/png;base64,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BHoSECx6grYbAgQIECAwBQHBYgqrrEYCBAgQINCTgGDRE7TdECBAgACBKQgIFlNYZTUSIECAAIGeBASLnqDthgABAgQITEFAsJjCKquRAAECBAj0JCBY9ARtNwQIECBAYAoCgsUUVlmNBAgQIECgJwHBoidouyFAgAABAlMQECymsMpqJECAAAECPQkIFj1B2w0BAgQIEJiCgGAxhVVWIwECBAgQ6ElAsOgJ2m4IECBAgMAUBASLKayyGgkQIECAQE8CgkVP0HZDgAABAgSmICBYTGGV1UiAAAECBHoSECx6grYbAgQIECAwBQHBYgqrrEYCBAgQINCTgGDRE7TdECBAgACBKQgIFlNYZTUSIECAAIGeBASLnqDthgABAgQITEFAsJjCKquRAAECBAj0JCBY9ARtNwQIECBAYAoCgsUUVlmNBAgQIECgJwHBoidouyFAgAABAlMQECymsMpqJECAAAECPQkIFj1B2w0BAgQIEJiCgGAxhVVWIwECBAgQ6ElAsOgJ2m4IECBAgMAUBASLKayyGgkQIECAQE8CgkVP0HZDgAABAgSmICBYTGGV1UiAAAECBHoSECx6grYbAgQIECAwBQHBYgqrrEYCBAgQINCTgGDRE7TdECBAgACBKQgIFlNYZTUSIECAAIGeBASLnqDthgABAgQITEFAsJjCKquRAAECBAj0JCBY9ARtNwQIECBAYAoCgsUUVlmNBAgQIECgJwHBoidouyFAgAABAlMQECymsMpqJECAAAECPQkIFj1B2w0BAgQIEJiCgGAxhVVWIwECBAgQ6ElAsOgJ2m4IECBAgMAUBASLKayyGgkQIECAQE8CgkVP0HZDgAABAgSmICBYTGGV1UiAAAECBHoSECx6grYbAgQIECAwBQHBYgqrrEYCBAgQINCTgGDRE7TdECBAgACBKQhsLYqcvfP986vvfKGsruycPFEs2vwmQIAAAQIECOQIOGKRo6QPAQIECBAgkCUgWGQx6USAAAECBAjkCAgWOUr6ECBAgAABAlkCW7NH5+dUZPXWiQABAgQIECCQEHDEIoGjiQABAgQIEGgnIFi089KbAAECBAgQSAgIFgkcTQQIECBAgEA7AcGinZfeBAgQIECAQEJAsEjgaCJAgAABAgTaCQgW7bz0JkCAAAECBBICgkUCRxMBAgQIECDQTkCwaOelNwECBAgQIJAQECwSOJoIECBAgACBdgKCRTsvvQkQIECAAIGEgGCRwNFEgAABAgQItBMQLNp56U2AAAECBAgkBASLBI4mAgQIECBAoJ2AYNHOS28CBAgQIEAgISBYJHA0ESBAgAABAu0EBIt2XnoTIECAAAECCQHBIoGjiQABAgQIEGgnIFi089KbAAECBAgQSAgIFgkcTQQIECBAgEA7AcGinZfeBAgQIECAQEJAsEjgaCJAgAABAgTaCQgW7bz0JkCAAAECBBICs52TJ4rqJ9FHEwECBAgQIEAgS8ARiywmnQgQIECAAIEcAcEiR0kfAgQIECBAIEtAsMhi0okAAQIECBDIERAscpT0IUCAAAECBLIEBIssJp0IECBAgACBHAHBIkdJHwIECBAgQCBLQLDIYtKJAAECBAgQyBEQLHKU9CFAgAABAgSyBASLLCadCBAgQIAAgRwBwSJHSR8CBAgQIEAgS0CwyGLSiQABAgQIEMgRECxylPQhQIAAAQIEsgQEiywmnQgQIECAAIEcAcEiR0kfAgQIECBAIEtAsMhi0okAAQIECBDIEdhadNr50mPzq+dOFYttfhMgQIAAAQIE2gg4YtFGS18CBAgQIEAgKSBYJHk0EiBAgAABAm0EBIs2WvoSIECAAAECSQHBIsmjkQABAgQIEGgjIFi00dKXAAECBAgQSAoIFkkejQQIECBAgEAbAcGijZa+BAgQIECAQFJAsEjyaCRAgAABAgTaCAgWbbT0JUCAAAECBJICgkWSRyMBAgQIECDQRkCwaKOlLwECBAgQIJAUECySPBoJECBAgACBNgKCRRstfQkQIECAAIGkgGCR5NFIgAABAgQItBEQLNpo6UuAAAECBAgkBQSLJI9GAgQIECBAoI2AYNFGS18CBAgQIEAgKSBYJHk0EiBAgAABAm0EBIs2WvoSIECAAAECSQHBIsmjkQABAgQIEGgjIFi00dKXAAECBAgQSAoIFkkejQQIECBAgEAbAcGijZa+BAgQIECAQFJAsEjyaCRAgAABAgTaCAgWbbT0JUCAAAECBJICgkWSRyMBAgQIECDQRkCwaKOlLwECBAgQIJAUECySPBoJECBAgACBNgKCRRstfQkQIECAAIGkgGCR5NFIgAABAgQItBEQLNpo6UuAAAECBAgkBbaSrVXj0+WZUIa7lvbTgcC6BIpwd3hLcWZdu7dfAgQIELgksPyIRfWAXT1wuxAYooBQMcRVMScCBCYscPkRi9u2y8s8/ujBEN523fznskYbCKxJQKhYE7zdEiBAoFng8mDR1PfLT85bqoDhQmDdAkLFulfA/gnkC9z5yBvC+ZefCGV5Tf6N9ByrQDHWiR/pvJvOK/FkdqTsBidAYAMFhIoNXNSGks6d2s0UgkWDT+NJq8JFk5jtBLIFZo++UO6cPJH9+LO/f3U9e0c6rkVgVhR3v/aB7z8T9oeKongqXHHlDeGem55fy6TstDeB5Sdv9jaVge2o6aTV6h0y1RENFwIEWgk0BYK221vtVOfeBYSK3skHt0PBIrUkwkVKRxuBzgWaQkbnOzLgkQgIFUfCOrpBBYtlSyZcLBPSTqBRQFBopNm4BqFi45b00AXlvyvk0LvYgBtW4eLp+LLuwQ8Km78sEnw40wassRI6E6jCRJvzJzrbsYHWJpATKrY+819ndspy6YctLu47++9HfVxfG94G7XhxP3DEIndRHbnIldJvggKOTExw0S+WvHgySZ2omRsqpqs4/sr37gexFEcs2qynIxdttPSdkMDif5lVyX1enxDxYEvdqWaWePeHUDHYpetsYvtDRTWoIxZtaR25aCumPwECmywgVGzy6i6t7WCoqG7giMVStpoOqSMX/778NcSaEce7yed6jHftVpy5/4muCDjim+89mQgVI17F1ae+dz84MJRgcQAk+8+mcJE9wAZ0zAkVt2+fCTu+HXcDVntewix+IeH9p84IFRuzoq0L2XsyESpa223SDfbuBzVFZX/yXc1tbaoEmj7+e9N1ckLFphuoj8BUBRKhYqok6r4kIFhcsljftXWGk6MICI5SrO++ZM8jFSj+JJy75aOjmLxQMYplWuckBYt16u/f9zrCxVGEiv01uU6AwGYJCBWbtZ5HVI1gcUSwhxq2z3DRdai4bdsXQx1q0d2IwAgFfKHYCBetvykLFv1Zb/aeBIvNXl/VEVgICBULCb8bBASLBpi1bj7KIxddH6lYK5SdEyBAgMDQBP4P0C0DtozKDvkAAAAASUVORK5CYII="},c167:function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("19e1")),a=r(i("66f6")),o=r(i("8377")),s=r(i("c031")),l=r(i("6b51")),u=r(i("821b")),c=r(i("0650")),h=i("38ce"),d=r(i("3d57")),f=r(i("9104")),g=i("4e21"),A=function(t){function i(t){var e;return(0,n.default)(this,i),(e=(0,o.default)(this,(0,s.default)(i).call(this))).componentName=t,e.featureIds=[],e.activeFeature={},e.dashedLayerIds=[],e.layerStyleList={},e}return(0,l.default)(i,t),(0,a.default)(i,[{key:"setMap",value:function(t){var e=t.map,i=t.mapTarget;this.map=e,this.mapTarget=i,this._addDrawControl()}},{key:"_addDrawControl",value:function(){var i=this;this.draw=f.default.$options.getDraw(this.mapTarget),f.default.$options.setDrawingState(this.mapTarget,this.componentName,!1),this.map.on("draw.create",this._drawCreate.bind(this)),this.map.on("draw.selectionchange",this._selectionChange.bind(this)),this.map.on("mouseover","draw-line-static.cold",function(t){var e=t.features[0].properties.id;i.featureIds.includes(e)&&(i.map.setFilter("draw-line-hover.cold",["all",["==","$type","LineString"],["==","id",e]]),i.map.setFilter("draw-line-hover.hot",["all",["==","$type","LineString"],["==","id",e]]))}),this.map.on("mouseout","draw-line-hover.cold",function(){i.map.setFilter("draw-line-hover.cold",["all",["==","$type","LineString"],["==","id",""]]),i.map.setFilter("draw-line-hover.hot",["all",["==","$type","LineString"],["==","id",""]])})}},{key:"_drawCreate",value:function(t){if(this._isDrawing()){var e=t.features[0]||{};this.featureIds.push(e.id)}}},{key:"_selectionChange",value:function(t){if(this._isDrawing()){var e=t.features[0];e&&(this._getDefaultStyle(),this.activeFeature=e,this._calcResult(e))}}},{key:"_calcResult",value:function(t){var e,i=t.geometry,r=void 0===i?{}:i,n=r.coordinates,a="",o=[];if("Point"===r.type)a=(0,u.default)(t,"kilometers"),o=n;else if("LineString"===r.type)a=(0,u.default)(t,"kilometers"),e=(0,g.geti18n)().t("unit.kilometers"),o=this._calcMaxLatitudeInCoordinate(n);else if("Polygon"===r.type){var s=(0,c.default)(t);a=(0,h.convertArea)(s,"meters","kilometers"),e=(0,g.geti18n)().t("unit.squarekilometers"),o=this._calcMaxLatitudeInCoordinate(n[0])}var l=this._getFetureStyle(t.id);this.fire("draw-create",{popupInfo:{resultInfo:{feature:t,layerStyle:l,result:a,unit:e},trash:this.trash.bind(this),map:this.map,coordinate:o}})}},{key:"_calcMaxLatitudeInCoordinate",value:function(t){for(var e=0r&&(r=e[n][1],i=n);return e[i]}},{key:"_getFetureStyle",value:function(t){var e;for(var i in this.layerStyleList)this.layerStyleList[i]&&this.layerStyleList[i][t]&&(e=Object.assign(this.layerStyleList[i][t],e));return e}},{key:"openDraw",value:function(t){f.default.$options.setDrawingState(this.mapTarget,this.componentName,!0),this.draw.changeMode(t)}},{key:"trash",value:function(e){var i=this;if(e){for(var t in this.draw.delete(e),this.layerStyleList)if(this.layerStyleList[t]&&this.layerStyleList[t][e]){delete this.layerStyleList[t][e];break}var r=this.dashedLayerIds.findIndex(function(t){return t===e});-1"}function g(t,e,i){if(e.ignoreInstruction)return"";var r;for(r in t)if(t.hasOwnProperty(r))break;var n="instructionNameFn"in e?e.instructionNameFn(r,t[r],u,l):r;if("object"==typeof t[r])return"";var a=t[r]?t[r]:"";return"instructionFn"in e&&(a=e.instructionFn(a,r,u,l)),""}function A(t,e){return e.ignoreComment?"":"\x3c!--"+("commentFn"in e?e.commentFn(t,u,l):t)+"--\x3e"}function p(t,e){return e.ignoreCdata?"":""}function m(t,e){return e.ignoreDoctype?"":""}function y(t,e){return e.ignoreText?"":(t=(t=(t=""+t).replace(/&/g,"&")).replace(/&/g,"&").replace(//g,">"),"textFn"in e?e.textFn(t,u,l):t)}function s(t,e,i){u=(l=t).name;var r=[],n="elementNameFn"in e?e.elementNameFn(t.name,t):t.name;r.push("<"+n),t[e.attributesKey]&&r.push(d(t[e.attributesKey],e,i));var a=t[e.elementsKey]&&t[e.elementsKey].length||t[e.attributesKey]&&"preserve"===t[e.attributesKey]["xml:space"];return(a=a||("fullTagEmptyElementFn"in e?e.fullTagEmptyElementFn(t.name,t):e.fullTagEmptyElement))?(r.push(">"),t[e.elementsKey]&&t[e.elementsKey].length&&(r.push(o(t[e.elementsKey],e,i+1)),u=(l=t).name),r.push(e.spaces&&function(t,e){var i;if(t.elements&&t.elements.length)for(i=0;i")):r.push("/>"),r.join("")}function o(t,n,a,o){return t.reduce(function(t,e){var i=h(n,a,o&&!t);switch(e.type){case"element":return t+i+s(e,n,a);case"comment":return t+i+A(e[n.commentKey],n);case"doctype":return t+i+m(e[n.doctypeKey],n);case"cdata":return t+(n.indentCdata?i:"")+p(e[n.cdataKey],n);case"text":return t+(n.indentText?i:"")+y(e[n.textKey],n);case"instruction":var r={};return r[e[n.nameKey]]=e[n.attributesKey]?e:e[n.instructionKey],t+(n.indentInstruction?i:"")+g(r,n,a)}},"")}function C(t,e,i){var r;for(r in t)if(t.hasOwnProperty(r))switch(r){case e.parentKey:case e.attributesKey:break;case e.textKey:if(e.indentText||i)return!0;break;case e.cdataKey:if(e.indentCdata||i)return!0;break;case e.instructionKey:if(e.indentInstruction||i)return!0;break;case e.doctypeKey:case e.commentKey:default:return!0}return!1}function v(t,e,i,r,n){l=t,u=e;var a="elementNameFn"in i?i.elementNameFn(e,t):e;if(null==t)return"fullTagEmptyElementFn"in i&&i.fullTagEmptyElementFn(e,t)||i.fullTagEmptyElement?"<"+a+">":"<"+a+"/>";var o=[];if(e){if(o.push("<"+a),"object"!=typeof t)return o.push(">"+y(t,i)+""),o.join("");t[i.attributesKey]&&o.push(d(t[i.attributesKey],i,r));var s=C(t,i,!0)||t[i.attributesKey]&&"preserve"===t[i.attributesKey]["xml:space"];if(!(s=s||("fullTagEmptyElementFn"in i?i.fullTagEmptyElementFn(e,t):i.fullTagEmptyElement)))return o.push("/>"),o.join("");o.push(">")}return o.push(I(t,i,r+1,!1)),l=t,(u=e)&&o.push((n?h(i,r,!1):"")+""),o.join("")}function I(t,e,i,r){var n,a,o,s=[];for(a in t)if(t.hasOwnProperty(a))for(o=c(t[a])?t[a]:[t[a]],n=0;ne.highWaterMark&&(e.highWaterMark=(A<=(i=t)?i=A:(i--,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i++),i)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0));var i}function b(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(v("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?m.nextTick(E,t):E(t))}function E(t){v("emit readable"),t.emit("readable"),S(t)}function w(t,e){e.readingMore||(e.readingMore=!0,m.nextTick(B,t,e))}function B(t,e){for(var i=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(i=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):i=function(t,e,i){var r;ta.length?a.length:t;if(o===a.length?n+=a:n+=a.slice(0,t),0===(t-=o)){o===a.length?(++r,i.next?e.head=i.next:e.head=e.tail=null):(e.head=i).data=a.slice(o);break}++r}return e.length-=r,n}:function(t,e){var i=u.allocUnsafe(t),r=e.head,n=1;r.data.copy(i),t-=r.data.length;for(;r=r.next;){var a=r.data,o=t>a.length?a.length:t;if(a.copy(i,i.length-t,0,o),0===(t-=o)){o===a.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r).data=a.slice(o);break}++n}return e.length-=n,i})(t,e);return r}(t,e.buffer,e.decoder),i);var i}function k(t){var e=t._readableState;if(0=e.highWaterMark||e.ended))return v("read: emitReadable",e.length,e.ended),(0===e.length&&e.ended?k:b)(this),null;if(0===(t=I(t,e))&&e.ended)return 0===e.length&&k(this),null;var r,n=e.needReadable;return v("need readable",n),(0===e.length||e.length-t b."+orderby[0])?1:-1;case"descnum":return eval("a."+orderby[0]+" - b."+orderby[0]);case"ascnum":return eval("b."+orderby[0]+" - a."+orderby[0])}}),result},returnLimit:function(t,e){switch(e.length){case 0:return t;case 1:return t.splice(0,e[0]);case 2:return t.splice(e[0]-1,e[1])}}}},ca40:function(t,e){t.exports=__WEBPACK_EXTERNAL_MODULE_ca40__},ca6a:function(t,e){var a="[object Symbol]",o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,h=Object.prototype.toString;function d(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=function(t){if("number"==typeof t)return t;if("symbol"==typeof(e=t)||(i=e)&&"object"==typeof i&&h.call(e)==a)return NaN;var e,i;if(d(t)){var r="function"==typeof t.valueOf?t.valueOf():t;t=d(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var n=l.test(t);return n||u.test(t)?c(t.slice(2),n?2:8):s.test(t)?NaN:+t}},ca94:function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("19e1"));e.default=function t(){var e=0]*>/,"");var e=new ActiveXObject("Microsoft.XMLDOM");return e.async="false",e.loadXML(t),e}try{var r=n.xmldom?new c.DOMParser(n.xmldom):new c.DOMParser;return r.parseFromString(t,"image/svg+xml")}catch(e){return(r=n.xmldom?new c.DOMParser(n.xmldom):new c.DOMParser).parseFromString(t,"text/xml")}},P.Property=function(t,e){this.name=t,this.value=e},P.Property.prototype.getValue=function(){return this.value},P.Property.prototype.hasValue=function(){return null!=this.value&&""!==this.value},P.Property.prototype.numValue=function(){if(!this.hasValue())return 0;var t=parseFloat(this.value);return(this.value+"").match(/%$/)&&(t/=100),t},P.Property.prototype.valueOrDefault=function(t){return this.hasValue()?this.value:t},P.Property.prototype.numValueOrDefault=function(t){return this.hasValue()?this.numValue():t},P.Property.prototype.addOpacity=function(t){var e=this.value;if(null!=t.value&&""!=t.value&&"string"==typeof this.value){var i=new f(this.value);i.ok&&(e="rgba("+i.r+", "+i.g+", "+i.b+", "+t.numValue()+")")}return new P.Property(this.name,e)},P.Property.prototype.getDefinition=function(){var t=this.value.match(/#([^\)'"]+)/);return t&&(t=t[1]),t||(t=this.value),P.Definitions[t]},P.Property.prototype.isUrlDefinition=function(){return 0==this.value.indexOf("url(")},P.Property.prototype.getFillStyleDefinition=function(t,e){var i=this.getDefinition();if(null!=i&&i.createGradient)return i.createGradient(P.ctx,t,e);if(null!=i&&i.createPattern){if(i.getHrefAttribute().hasValue()){var r=i.attribute("patternTransform");i=i.getHrefAttribute().getDefinition(),r.hasValue()&&(i.attribute("patternTransform",!0).value=r.value)}return i.createPattern(P.ctx,t)}return null},P.Property.prototype.getDPI=function(t){return 96},P.Property.prototype.getREM=function(t){return P.rootEmSize},P.Property.prototype.getEM=function(t){return P.emSize},P.Property.prototype.getUnits=function(){var t=this.value+"";return t.replace(/[0-9\.\-]/g,"")},P.Property.prototype.isPixels=function(){if(!this.hasValue())return!1;var t=this.value+"";return!!t.match(/px$/)||!!t.match(/^[0-9]+$/)},P.Property.prototype.toPixels=function(t,e){if(!this.hasValue())return 0;var i=this.value+"";if(i.match(/rem$/))return this.numValue()*this.getREM(t);if(i.match(/em$/))return this.numValue()*this.getEM(t);if(i.match(/ex$/))return this.numValue()*this.getEM(t)/2;if(i.match(/px$/))return this.numValue();if(i.match(/pt$/))return this.numValue()*this.getDPI(t)*(1/72);if(i.match(/pc$/))return 15*this.numValue();if(i.match(/cm$/))return this.numValue()*this.getDPI(t)/2.54;if(i.match(/mm$/))return this.numValue()*this.getDPI(t)/25.4;if(i.match(/in$/))return this.numValue()*this.getDPI(t);if(i.match(/%$/))return this.numValue()*P.ViewPort.ComputeSize(t);var r=this.numValue();return e&&r<1?r*P.ViewPort.ComputeSize(t):r},P.Property.prototype.toMilliseconds=function(){if(!this.hasValue())return 0;var t=this.value+"";return t.match(/s$/)?1e3*this.numValue():(t.match(/ms$/),this.numValue())},P.Property.prototype.toRadians=function(){if(!this.hasValue())return 0;var t=this.value+"";return t.match(/deg$/)?this.numValue()*(Math.PI/180):t.match(/grad$/)?this.numValue()*(Math.PI/200):t.match(/rad$/)?this.numValue():this.numValue()*(Math.PI/180)};var t={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};return P.Property.prototype.toTextBaseline=function(){return this.hasValue()?t[this.value]:null},P.Font=new function(){this.Styles="normal|italic|oblique|inherit",this.Variants="normal|small-caps|inherit",this.Weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",this.CreateFont=function(t,e,i,r,n,a){var o=null!=a?this.Parse(a):this.CreateFont("","","","","",P.ctx.font);return{fontFamily:n=n||o.fontFamily,fontSize:r||o.fontSize,fontStyle:t||o.fontStyle,fontWeight:i||o.fontWeight,fontVariant:e||o.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var o=this;this.Parse=function(t){for(var e={},i=P.trim(P.compressSpaces(t||"")).split(" "),r={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1},n="",a=0;athis.x2&&(this.x2=t)),null!=e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),ethis.y2&&(this.y2=e))},this.addX=function(t){this.addPoint(t,null)},this.addY=function(t){this.addPoint(null,t)},this.addBoundingBox=function(t){this.addPoint(t.x1,t.y1),this.addPoint(t.x2,t.y2)},this.addQuadraticCurve=function(t,e,i,r,n,a){var o=t+2/3*(i-t),s=e+2/3*(r-e),l=o+1/3*(n-t),u=s+1/3*(a-e);this.addBezierCurve(t,e,o,l,s,u,n,a)},this.addBezierCurve=function(t,e,i,r,n,a,o,s){var l=[t,e],u=[i,r],c=[n,a],h=[o,s];this.addPoint(l[0],l[1]),this.addPoint(h[0],h[1]);for(var d=0;d<=1;d++){var f=function(t){return Math.pow(1-t,3)*l[d]+3*Math.pow(1-t,2)*t*u[d]+3*(1-t)*Math.pow(t,2)*c[d]+Math.pow(t,3)*h[d]},g=6*l[d]-12*u[d]+6*c[d],A=-3*l[d]+9*u[d]-9*c[d]+3*h[d],p=3*u[d]-3*l[d];if(0!=A){var m=Math.pow(g,2)-4*p*A;if(!(m<0)){var y=(-g+Math.sqrt(m))/(2*A);0=this.tokens.length-1},this.isCommandOrEnd=function(){return!!this.isEnd()||null!=this.tokens[this.i+1].match(/^[A-Za-z]$/)},this.isRelativeCommand=function(){switch(this.command){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"z":return!0}return!1},this.getToken=function(){return this.i++,this.tokens[this.i]},this.getScalar=function(){return parseFloat(this.getToken())},this.nextCommand=function(){this.previousCommand=this.command,this.command=this.getToken()},this.getPoint=function(){var t=new P.Point(this.getScalar(),this.getScalar());return this.makeAbsolute(t)},this.getAsControlPoint=function(){var t=this.getPoint();return this.control=t},this.getAsCurrentPoint=function(){var t=this.getPoint();return this.current=t},this.getReflectedControlPoint=function(){return"c"!=this.previousCommand.toLowerCase()&&"s"!=this.previousCommand.toLowerCase()&&"q"!=this.previousCommand.toLowerCase()&&"t"!=this.previousCommand.toLowerCase()?this.current:new P.Point(2*this.current.x-this.control.x,2*this.current.y-this.control.y)},this.makeAbsolute=function(t){return this.isRelativeCommand()&&(t.x+=this.current.x,t.y+=this.current.y),t},this.addMarker=function(t,e,i){null!=i&&0this.maxDuration){if("indefinite"==this.attribute("repeatCount").value||"indefinite"==this.attribute("repeatDur").value)this.duration=0;else if("freeze"!=this.attribute("fill").valueOrDefault("remove")||this.frozen){if("remove"==this.attribute("fill").valueOrDefault("remove")&&!this.removed)return this.removed=!0,this.getProperty().value=this.parent.animationFrozen?this.parent.animationFrozenValue:this.initialValue,!0}else this.frozen=!0,this.parent.animationFrozen=!0,this.parent.animationFrozenValue=this.getProperty().value;return!1}this.duration=this.duration+t;var e=!1;if(this.begin~\.\[:]+)/g,a=/(\.[^\s\+>~\.\[:]+)/g,o=/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,s=/(:[\w-]+\([^\)]*\))/gi,l=/(:[^\s\+>~\.\[:]+)/g,u=/([^\s\+>~\.\[:]+)/g;function E(r){var n=[0,0,0],t=function(t,e){var i=r.match(t);null!=i&&(n[e]+=i.length,r=r.replace(t," "))};return r=(r=r.replace(/:not\(([^\)]*)\)/g," $1 ")).replace(/{[\s\S]*/gm," "),t(e,1),t(i,0),t(a,1),t(o,2),t(s,1),t(l,1),r=(r=r.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," "),t(u,2),n.join("")}"undefined"!=typeof CanvasRenderingContext2D&&(CanvasRenderingContext2D.prototype.drawSvg=function(t,e,i,r,n,a){var o={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:e,offsetY:i,scaleWidth:r,scaleHeight:n};for(var s in a)a.hasOwnProperty(s)&&(o[s]=a[s]);h(this.canvas,t,o)}),t.exports=h}(t={exports:{}},t.exports),t.exports}(i("6b73"),i("9106"))},d6e6:function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(i("19e1")),o=r(i("66f6")),s=r(i("8377")),l=r(i("c031")),u=r(i("6b51")),n=i("e3e2"),c=r(i("b7bd")),h=r(i("2c06"));i("3ef3"),i("c978");var M=r(i("30f7")),d=r(i("d6a7")),f=r(i("f875")),g=i("1448"),A=function(t){function n(t,e,i){var r;return(0,a.default)(this,n),(r=(0,s.default)(this,(0,l.default)(n).call(this))).echartslayer=[],r._layers=[],r.serverUrl=e.serverUrl||"https://www.supermapol.com",r.accessToken=e.accessToken,r.accessKey=e.accessKey,r.tiandituKey=e.tiandituKey||"",r.withCredentials=e.withCredentials||!1,r.proxy=e.proxy,r.target=e.target||"map",r.excludePortalProxyUrl=e.excludePortalProxyUrl,r.isSuperMapOnline=e.isSuperMapOnline,r.ignoreBaseProjection=e.ignoreBaseProjection,r.echartslayer=[],r.webMapService=new f.default(t,e),r.mapOptions=i,r.eventTypes=["getmapinfofailed","crsnotsupport","getlayerdatasourcefailed","addlayerssucceeded","notsupportmvt","notsupportbaidumap","projectionIsNotMatch","beforeremovemap"],r.mapId=t,r}return(0,u.default)(n,t),(0,o.default)(n,[{key:"echartsLayerResize",value:function(){this.echartslayer.forEach(function(t){t.chart.resize()})}},{key:"setMapId",value:function(t){var e=this;this.mapId=t,this.webMapService.setMapId(t),setTimeout(function(){e._initWebMap()},0)}},{key:"setServerUrl",value:function(t){this.serverUrl=t,this.webMapService.setServerUrl(t)}},{key:"setWithCredentials",value:function(t){this.withCredentials=t,this.webMapService.setWithCredentials(t)}},{key:"setProxy",value:function(t){this.proxy=t,this.webMapService.setProxy(t)}},{key:"setZoom",value:function(t){this.map&&(!(this.mapOptions.zoom=t)&&0!==t||this.map.setZoom(t,{from:"setZoom"}))}},{key:"setMaxBounds",value:function(t){this.map&&(this.mapOptions.maxBounds=t)&&this.map.setMaxBounds(t)}},{key:"setMinZoom",value:function(t){this.map&&(!(this.mapOptions.minZoom=t)&&0!==t||this.map.setMinZoom(t))}},{key:"setMaxZoom",value:function(t){this.map&&(!(this.mapOptions.maxZoom=t)&&0!==t||this.map.setMinZoom(t))}},{key:"initWebMap",value:function(){if(this.cleanWebMap(),this.webMapInfo){var t=this.webMapInfo;return t.mapParams={title:this.webMapInfo.title,description:this.webMapInfo.description},this.mapParams=t.mapParams,void this._getMapInfo(t,null)}this.mapId&&this.serverUrl?(this._taskID=new Date,this.getMapInfo(this._taskID)):this._createMap()}},{key:"getMapInfo",value:function(e){var i=this;this.serverUrl=this.webMapService.handleServerUrl(this.serverUrl),this.webMapService.getMapInfo().then(function(t){i._taskID===e&&(i.mapParams=t.mapParams,i._getMapInfo(t,e))},function(t){throw t}).catch(function(t){i.triggerEvent("getmapinfofailed",{error:t}),console.log(t)})}},{key:"getBaseLayerType",value:function(t){var e=t.layerType;switch((-1==/g,">=")}},{key:"getEchartsLayerOptions",value:function(t,e,i){var r=this.webMapService.getFeatureProperties(e),n=this._createLinesData(t,r),a=this._createPointsData(n,t,r);return this._createOptions(t,n,a,i)}},{key:"getDashStyle",value:function(t,e,i){var r=2this._bounds.width&&(e=this._bounds.width),e},_getY:function(t){var e=(t=t.touches?t.touches[0]:t).clientY-this._bounds.top;return e<0&&(e=0),e>this._bounds.height&&(e=this._bounds.height),e},setSlider:function(t){this._setPosition(t)},on:function(t,e){return this._ev.on(t,e),this},fire:function(t,e){return this._ev.emit(t,e),this},off:function(t,e){return this._ev.removeListener(t,e),this},remove:function(){this._clearSync(),this._mapB.off("resize",this._onResize);var t=this._mapA.getContainer();t&&(t.style.clip=null,t.removeEventListener("mousemove",this._onMove));var e=this._mapB.getContainer();e&&(e.style.clip=null,e.removeEventListener("mousemove",this._onMove)),this._swiper.removeEventListener("mousedown",this._onDown),this._swiper.removeEventListener("touchstart",this._onDown),this._controlContainer.remove()}},window.mapboxgl?mapboxgl.Compare=r:t.exports=r},e6c4:function(t,e,i){"use strict";i.r(e);var r=i("952a"),n=i("7754");for(var a in n)"default"!==a&&function(t){i.d(e,t,function(){return n[t]})}(a);var o=i("b429"),s=Object(o.a)(n.default,r.a,r.b,!1,null,null,null);e.default=s.exports},e736:function(t,e,i){"use strict";i.r(e);var r=i("a2ee"),n=i.n(r);for(var a in r)"default"!==a&&function(t){i.d(e,t,function(){return r[t]})}(a);e.default=n.a},e76e:function(t,e){t.exports=__WEBPACK_EXTERNAL_MODULE_e76e__},e7f3:function(t,e,i){"use strict";i.r(e);var r=i("b982"),n=i("6ed2");for(var a in n)"default"!==a&&function(t){i.d(e,t,function(){return n[t]})}(a);var o=i("b429"),s=Object(o.a)(n.default,r.a,r.b,!1,null,null,null);e.default=s.exports},e8a8:function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("9259")),a=r(i("2c56")),o=r(i("b761")),s=r(i("6a7a")),l=i("1448"),u={name:"SmZoom",mixins:[o.default,a.default,n.default],props:{showZoom:{type:Boolean,default:!1},showZoomSlider:{type:Boolean,default:!1}},data:function(){return{zoomPosition:0,min:0,max:22,activeZoomMode:"",canZoomIn:!0,canZoomOut:!0}},computed:{activieBgColor:function(){var t=this.getColorStyle(0).color;return{backgroundColor:this.getBackground,borderColor:t}},showZoomStyle:function(){return{color:(0,l.getColorWithOpacity)(this.getBackground,1),background:this.getTextColor}}},watch:{colorGroupsData:{handler:function(){this.changeSliderStyle()}}},created:function(){this.viewModel=new s.default},mounted:function(){this.changeSliderStyle()},methods:{sliderChange:function(){this.mapNotLoadedTip()?this.zoomPosition=0:this.setZoom(this.zoomPosition)},zoomIn:function(){this.mapNotLoadedTip()||(this.activeZoomMode="zoomInBtn",this.zoomPosition+1<=this.max?this.zoomPosition+=1:this.zoomPosition=this.max,this.viewModel.zoomIn())},zoomOut:function(){this.mapNotLoadedTip()||(this.activeZoomMode="zoomOutBtn",this.zoomPosition-1>=this.min?--this.zoomPosition:this.zoomPosition=this.min,this.viewModel.zoomOut())},getMaxZoom:function(){return this.viewModel&&this.viewModel.getMaxZoom()},getMinZoom:function(){return this.viewModel&&this.viewModel.getMinZoom()},getZoom:function(){return this.viewModel&&this.viewModel.getZoom()},setZoom:function(t){return this.viewModel&&this.viewModel.setZoom(t)},getZoomPosition:function(){return this.canZoomOut||this.canZoomIn?this.getZoom():this.canZoomIn?this.canZoomOut?void 0:this.getMaxZoom():this.getMinZoom()},changeSliderStyle:function(){var t=document.querySelector(".ant-slider-track"),e=document.querySelector(".ant-slider-handle");t&&(t.style.backgroundColor=this.getColorStyle(0).color),e&&(e.style.borderColor=this.getColorStyle(0).color)}},loaded:function(){var t=this;this.canZoomIn=this.getMaxZoom()>this.getZoom(),this.canZoomOut=this.getMinZoom()=t.getZoom()?t.canZoomOut=!1:t.canZoomOut=!0,t.zoomPosition=t.getZoomPosition()}),this.min=this.getMinZoom(),this.max=this.getMaxZoom(),this.zoomPosition=this.getZoomPosition(),this.viewModel.wheelEventOn(function(){t.zoomPosition=t.getZoomPosition()})}};e.default=u},e8d5:function(t,e,i){"use strict";i.r(e);var r=i("c18d"),n=i.n(r);for(var a in r)"default"!==a&&function(t){i.d(e,t,function(){return r[t]})}(a);e.default=n.a},e916:function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("b761")),a=r(i("f6f9")),o=r(i("df08")),s={name:"SmMapvLayer",mixins:[n.default,a.default],props:{data:{type:Object,default:function(){return{}}},options:{type:Object,default:function(){return{}}}},watch:{data:{handler:function(t){this.viewModel&&this.viewModel.setData(t)},deep:!0},options:{handler:function(t){this.viewModel&&this.viewModel.setOptions(t)},deep:!0}},created:function(){this.viewModel=new o.default(this.$props)},render:function(){}};e.default=s},e97f:function(t,e,i){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e9cf:function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("19e1")),a=r(i("66f6"));i("3d57"),i("e5f2");var o=function(){function e(t){(0,n.default)(this,e),this.init(t)}return(0,a.default)(e,[{key:"init",value:function(t){if(t){this.removed();var e=t.beforeMap,i=t.afterMap,r=t.target,n=t.options;if(e&&i&&r){var a=window.mapboxgl;this.compare=new a.Compare(e,i,"#".concat(r),n)}}}},{key:"removed",value:function(){this.compare&&(this.compare.remove(),this.compare=null)}}]),e}();e.default=o},ea23:function(t,e,j){(function(i){!function(u){u.parser=function(t,e){return new n(t,e)},u.SAXParser=n,u.SAXStream=o,u.createStream=function(t,e){return new o(t,e)},u.MAX_BUFFER_LENGTH=65536;var r,c=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function n(t,e){if(!(this instanceof n))return new n(t,e);var i=this;!function(t){for(var e=0,i=c.length;e"===r?(B(e,"onsgmldeclaration",e.sgmlDecl),e.sgmlDecl="",e.state=E.TEXT):(C(r)&&(e.state=E.SGML_DECL_QUOTED),e.sgmlDecl+=r);continue;case E.SGML_DECL_QUOTED:r===e.q&&(e.state=E.SGML_DECL,e.q=""),e.sgmlDecl+=r;continue;case E.DOCTYPE:">"===r?(e.state=E.TEXT,B(e,"ondoctype",e.doctype),e.doctype=!0):(e.doctype+=r,"["===r?e.state=E.DOCTYPE_DTD:C(r)&&(e.state=E.DOCTYPE_QUOTED,e.q=r));continue;case E.DOCTYPE_QUOTED:e.doctype+=r,r===e.q&&(e.q="",e.state=E.DOCTYPE);continue;case E.DOCTYPE_DTD:e.doctype+=r,"]"===r?e.state=E.DOCTYPE:C(r)&&(e.state=E.DOCTYPE_DTD_QUOTED,e.q=r);continue;case E.DOCTYPE_DTD_QUOTED:e.doctype+=r,r===e.q&&(e.state=E.DOCTYPE_DTD,e.q="");continue;case E.COMMENT:"-"===r?e.state=E.COMMENT_ENDING:e.comment+=r;continue;case E.COMMENT_ENDING:"-"===r?(e.state=E.COMMENT_ENDED,e.comment=x(e.opt,e.comment),e.comment&&B(e,"oncomment",e.comment),e.comment=""):(e.comment+="-"+r,e.state=E.COMMENT);continue;case E.COMMENT_ENDED:">"!==r?(k(e,"Malformed comment"),e.comment+="--"+r,e.state=E.COMMENT):e.state=E.TEXT;continue;case E.CDATA:"]"===r?e.state=E.CDATA_ENDING:e.cdata+=r;continue;case E.CDATA_ENDING:"]"===r?e.state=E.CDATA_ENDING_2:(e.cdata+="]"+r,e.state=E.CDATA);continue;case E.CDATA_ENDING_2:">"===r?(e.cdata&&B(e,"oncdata",e.cdata),B(e,"onclosecdata"),e.cdata="",e.state=E.TEXT):"]"===r?e.cdata+="]":(e.cdata+="]]"+r,e.state=E.CDATA);continue;case E.PROC_INST:"?"===r?e.state=E.PROC_INST_ENDING:y(r)?e.state=E.PROC_INST_BODY:e.procInstName+=r;continue;case E.PROC_INST_BODY:if(!e.procInstBody&&y(r))continue;"?"===r?e.state=E.PROC_INST_ENDING:e.procInstBody+=r;continue;case E.PROC_INST_ENDING:">"===r?(B(e,"onprocessinginstruction",{name:e.procInstName,body:e.procInstBody}),e.procInstName=e.procInstBody="",e.state=E.TEXT):(e.procInstBody+="?"+r,e.state=E.PROC_INST_BODY);continue;case E.OPEN_TAG:v(A,r)?e.tagName+=r:(L(e),">"===r?T(e):"/"===r?e.state=E.OPEN_TAG_SLASH:(y(r)||k(e,"Invalid character in tag name"),e.state=E.ATTRIB));continue;case E.OPEN_TAG_SLASH:">"===r?(T(e,!0),R(e)):(k(e,"Forward-slash in opening tag not followed by >"),e.state=E.ATTRIB);continue;case E.ATTRIB:if(y(r))continue;">"===r?T(e):"/"===r?e.state=E.OPEN_TAG_SLASH:v(g,r)?(e.attribName=r,e.attribValue="",e.state=E.ATTRIB_NAME):k(e,"Invalid attribute name");continue;case E.ATTRIB_NAME:"="===r?e.state=E.ATTRIB_VALUE:">"===r?(k(e,"Attribute without value"),e.attribValue=e.attribName,F(e),T(e)):y(r)?e.state=E.ATTRIB_NAME_SAW_WHITE:v(A,r)?e.attribName+=r:k(e,"Invalid attribute name");continue;case E.ATTRIB_NAME_SAW_WHITE:if("="===r)e.state=E.ATTRIB_VALUE;else{if(y(r))continue;k(e,"Attribute without value"),e.tag.attributes[e.attribName]="",e.attribValue="",B(e,"onattribute",{name:e.attribName,value:""}),e.attribName="",">"===r?T(e):v(g,r)?(e.attribName=r,e.state=E.ATTRIB_NAME):(k(e,"Invalid attribute name"),e.state=E.ATTRIB)}continue;case E.ATTRIB_VALUE:if(y(r))continue;C(r)?(e.q=r,e.state=E.ATTRIB_VALUE_QUOTED):(k(e,"Unquoted attribute value"),e.state=E.ATTRIB_VALUE_UNQUOTED,e.attribValue=r);continue;case E.ATTRIB_VALUE_QUOTED:if(r!==e.q){"&"===r?e.state=E.ATTRIB_VALUE_ENTITY_Q:e.attribValue+=r;continue}F(e),e.q="",e.state=E.ATTRIB_VALUE_CLOSED;continue;case E.ATTRIB_VALUE_CLOSED:y(r)?e.state=E.ATTRIB:">"===r?T(e):"/"===r?e.state=E.OPEN_TAG_SLASH:v(g,r)?(k(e,"No whitespace between attributes"),e.attribName=r,e.attribValue="",e.state=E.ATTRIB_NAME):k(e,"Invalid attribute name");continue;case E.ATTRIB_VALUE_UNQUOTED:if(">"!==(l=r)&&!y(l)){"&"===r?e.state=E.ATTRIB_VALUE_ENTITY_U:e.attribValue+=r;continue}F(e),">"===r?T(e):e.state=E.ATTRIB;continue;case E.CLOSE_TAG:if(e.tagName)">"===r?R(e):v(A,r)?e.tagName+=r:e.script?(e.script+=""===r?R(e):k(e,"Invalid characters in closing tag");continue;case E.TEXT_ENTITY:case E.ATTRIB_VALUE_ENTITY_Q:case E.ATTRIB_VALUE_ENTITY_U:var o,s;switch(e.state){case E.TEXT_ENTITY:o=E.TEXT,s="textNode";break;case E.ATTRIB_VALUE_ENTITY_Q:o=E.ATTRIB_VALUE_QUOTED,s="attribValue";break;case E.ATTRIB_VALUE_ENTITY_U:o=E.ATTRIB_VALUE_UNQUOTED,s="attribValue"}";"===r?(e[s]+=O(e),e.entity="",e.state=o):v(e.entity.length?m:p,r)?e.entity+=r:(k(e,"Invalid character in entity name"),e[s]+="&"+e.entity+r,e.entity="",e.state=o);continue;default:throw new Error(e,"Unknown state: "+e.state)}var l;e.position>=e.bufferCheckPosition&&function(t){for(var e=Math.max(u.MAX_BUFFER_LENGTH,10),i=0,r=0,n=c.length;r",lt:"<",quot:'"',apos:"'"},u.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(u.ENTITIES).forEach(function(t){var e=u.ENTITIES[t],i="number"==typeof e?String.fromCharCode(e):e;u.ENTITIES[t]=i}),u.STATE)u.STATE[u.STATE[t]]=t;function w(t,e,i){t[e]&&t[e](i)}function B(t,e,i){t.textNode&&M(t),w(t,e,i)}function M(t){t.textNode=x(t.opt,t.textNode),t.textNode&&w(t,"ontext",t.textNode),t.textNode=""}function x(t,e){return t.trim&&(e=e.trim()),t.normalize&&(e=e.replace(/\s+/g," ")),e}function S(t,e){return M(t),t.trackPosition&&(e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),e=new Error(e),t.error=e,w(t,"onerror",e),t}function Q(t){return t.sawRoot&&!t.closedRoot&&k(t,"Unclosed root tag"),t.state!==E.BEGIN&&t.state!==E.BEGIN_WHITESPACE&&t.state!==E.TEXT&&S(t,"Unexpected end"),M(t),t.c="",t.closed=!0,w(t,"onend"),n.call(t,t.strict,t.opt),t}function k(t,e){if("object"!=typeof t||!(t instanceof n))throw new Error("bad call to strictFail");t.strict&&S(t,e)}function L(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var e=t.tags[t.tags.length-1]||t,i=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(i.ns=e.ns),t.attribList.length=0,B(t,"onopentagstart",i)}function P(t,e){var i=t.indexOf(":")<0?["",t]:t.split(":"),r=i[0],n=i[1];return e&&"xmlns"===t&&(r="xmlns",n=""),{prefix:r,local:n}}function F(t){if(t.strict||(t.attribName=t.attribName[t.looseCase]()),-1!==t.attribList.indexOf(t.attribName)||t.tag.attributes.hasOwnProperty(t.attribName))t.attribName=t.attribValue="";else{if(t.opt.xmlns){var e=P(t.attribName,!0),i=e.prefix,r=e.local;if("xmlns"===i)if("xml"===r&&t.attribValue!==s)k(t,"xml: prefix must be bound to "+s+"\nActual: "+t.attribValue);else if("xmlns"===r&&t.attribValue!==l)k(t,"xmlns: prefix must be bound to "+l+"\nActual: "+t.attribValue);else{var n=t.tag,a=t.tags[t.tags.length-1]||t;n.ns===a.ns&&(n.ns=Object.create(a.ns)),n.ns[r]=t.attribValue}t.attribList.push([t.attribName,t.attribValue])}else t.tag.attributes[t.attribName]=t.attribValue,B(t,"onattribute",{name:t.attribName,value:t.attribValue});t.attribName=t.attribValue=""}}function T(e,t){if(e.opt.xmlns){var i=e.tag,r=P(e.tagName);i.prefix=r.prefix,i.local=r.local,i.uri=i.ns[r.prefix]||"",i.prefix&&!i.uri&&(k(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),i.uri=r.prefix);var n=e.tags[e.tags.length-1]||e;i.ns&&n.ns!==i.ns&&Object.keys(i.ns).forEach(function(t){B(e,"onopennamespace",{prefix:t,uri:i.ns[t]})});for(var a=0,o=e.attribList.length;a",i.tagName="",void(i.state=E.SCRIPT);B(i,"onscript",i.script),i.script=""}var t=i.tags.length,e=i.tagName;i.strict||(e=e[i.looseCase]());for(var r=e;t--;){if(i.tags[t].name===r)break;k(i,"Unexpected close tag")}if(t<0)return k(i,"Unmatched closing tag: "+i.tagName),i.textNode+="",void(i.state=E.TEXT);i.tagName=e;for(var n=i.tags.length;n-- >t;){var a=i.tag=i.tags.pop();i.tagName=i.tag.name,B(i,"onclosetag",i.tagName);var o={};for(var s in a.ns)o[s]=a.ns[s];var l=i.tags[i.tags.length-1]||i;i.opt.xmlns&&a.ns!==l.ns&&Object.keys(a.ns).forEach(function(t){var e=a.ns[t];B(i,"onclosenamespace",{prefix:t,uri:e})})}0===t&&(i.closedRoot=!0),i.tagName=i.attribValue=i.attribName="",i.attribList.length=0,i.state=E.TEXT}function O(t){var e,i=t.entity,r=i.toLowerCase(),n="";return t.ENTITIES[i]?t.ENTITIES[i]:t.ENTITIES[r]?t.ENTITIES[r]:("#"===(i=r).charAt(0)&&(n="x"===i.charAt(1)?(i=i.slice(2),(e=parseInt(i,16)).toString(16)):(i=i.slice(1),(e=parseInt(i,10)).toString(10))),i=i.replace(/^0+/,""),isNaN(e)||n.toLowerCase()!==i?(k(t,"Invalid character entity"),"&"+t.entity+";"):String.fromCodePoint(e))}function D(t,e){"<"===e?(t.state=E.OPEN_WAKA,t.startTagPosition=t.position):y(e)||(k(t,"Non-whitespace before first tag."),t.textNode=e,t.state=E.TEXT)}function N(t,e){var i="";return e>10),e=o%1024+56320,i.push(t,e)),(r+1===n||16384")]):n._e()])]})],2),n._v(" "),a("div",{staticClass:"line-info"},[a("span",[n._v(n._s(""+(i.switchTimes?n.$t("tdtResults.switchTimes",{switchTimes:i.switchTimes}):n.$t("tdtResults.noSwitch"))))]),n._v(" "),a("span",[n._v("/"+n._s(n.$t("tdtResults.distance",{distance:i.distance})))]),n._v(" "),a("span",{staticClass:"time"},[n._v(n._s(i.time))])])]),n._v(" "),n.expandDetail[r]?a("div",{staticClass:"line-details"},[a("div",{staticClass:"start-label"},[a("div",{staticClass:"icon"}),n._v(" "),a("span",[n._v(n._s(n.start.name))])]),n._v(" "),a("i",{staticClass:"route-point route-icon"}),n._v(" "),a("ul",{staticClass:"level-2"},[n._l(i.features.features,function(t,e){return[a("li",{key:e,on:{click:function(t){return n.busPlanClicked(t,e,r)}}},[a("i",{class:[t.properties.type,"route-icon"]}),n._v(" "),t.properties.lineName?[a("span",[n._v(n._s(n.$t("tdtResults.take"))+n._s(t.properties.lineName)+n._s(n.$t("tdtResults.on")))]),n._v(" "),a("span",[a("a",{attrs:{href:"javascript:void(0)"}},[n._v(n._s(t.properties.stationEnd.name))]),n._v("\n "+n._s(t.properties.segmentStationCount?n.$t("tdtResults.getOff"):n.$t("tdtResults.getOn"))+"\n ")]),n._v(" "),t.properties.segmentStationCount?a("span",{staticClass:"time"},[n._v(n._s(t.properties.segmentStationCount)+n._s(n.$t("tdtResults.station")))]):n._e()]:[a("span",[n._v("从"+n._s(t.properties.stationStart.name||n.start.name)+n._s(n.$t("tdtResults.walk")))]),n._v(" "),a("span",[a("a",{attrs:{href:"javascript:void(0)"}},[n._v(n._s(t.properties.stationEnd.name||n.dest.name))])])],n._v(" "),a("i",{staticClass:"route-point route-icon"})],2)]})],2),n._v(" "),a("div",{staticClass:"dest-label"},[a("div",{staticClass:"icon"}),n._v(" "),a("span",[n._v(n._s(n.dest.name))])])]):n._e()])]})],2)])]:n._e(),n._v(" "),n.routePlan?n._e():a("div",{staticStyle:{"text-align":"center"}},[a("a-spin",{attrs:{spinning:n.spinning,size:"large"}}),n._v(" "),n.isError?a("div",[n._v(n._s(n.$t("tdtResults.noSearchResults")))]):n._e()],1)],2)]})],2)}var n=[];i.d(e,"a",function(){return r}),i.d(e,"b",function(){return n})},ee84:function(t,e,i){"use strict";function r(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"sm-component-progress",style:[t.background&&t.getBackgroundStyle]},[i("a-progress",{attrs:{percent:parseFloat(t.finalValue),type:t.type,"stroke-width":parseFloat(t.strokeWidth),"show-info":t.showInfo,width:t.calWidth,"stroke-color":t.colorData,status:t.status,"gap-degree":"circle"===t.type?t.gapDegree:null,"gap-position":t.gapPosition,"stroke-linecap":t.strokeLinecap}})],1)}var n=[];i.d(e,"a",function(){return r}),i.d(e,"b",function(){return n})},efd0:function(t,e,i){"use strict";var r=i("f3f9");function n(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var i=this;t(function(t){i.reason||(i.reason=new r(t),e(i.reason))})}n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var e;return{token:new n(function(t){e=t}),cancel:e}},t.exports=n},f00b:function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("2c56")),a=r(i("b761")),o=r(i("333c")),s=r(i("9259")),l=r(i("33f4")),u={name:"SmTdtMapSwitcher",mixins:[n.default,a.default,o.default,s.default],props:{collapsed:{type:Boolean,default:!0},iconClass:{type:String,default:"sm-components-icons-baselayer"},headerName:{type:String,default:function(){return this.$t("tdtMapSwitcher.title")}},data:{type:Object,default:function(){return{select:"",label:!1,tk:""}}}},data:function(){return{labelChecked:!0,currentSelect:this.data.select}},created:function(){this.viewModel=new l.default(this.data.tk)},methods:{changeBaseLayer:function(t){this.viewModel.changeBaseLayer(t),this.togglerLabelLayer(this.labelChecked),this.currentSelect=t,this.$emit("change-select-map-type",t)},togglerLabelLayer:function(t){this.viewModel.togglerLabelLayer(t),this.labelChecked=t,this.$emit("change-label-status",this.labelChecked)}},loaded:function(){this.data.select&&(this.viewModel.changeBaseLayer(this.data.select),this.togglerLabelLayer(this.data.label))}};e.default=u},f052:function(t,e,i){"use strict";function r(e){var i={type:"Feature"};return Object.keys(e).forEach(function(t){switch(t){case"type":case"properties":case"geometry":return;default:i[t]=e[t]}}),i.properties=function i(r){var n={};if(!r)return n;Object.keys(r).forEach(function(t){var e=r[t];"object"==typeof e?null===e?n[t]=null:e.length?n[t]=e.map(function(t){return t}):n[t]=i(e):n[t]=e});return n}(e.properties),i.geometry=n(e.geometry),i}function n(t){var e={type:t.type};return t.bbox&&(e.bbox=t.bbox),"GeometryCollection"===t.type?e.geometries=t.geometries.map(function(t){return n(t)}):e.coordinates=function e(t){if("object"!=typeof t[0])return t.slice();return t.map(function(t){return e(t)})}(t.coordinates),e}i.r(e);var o=function(t){if(!t)throw new Error("geojson is required");switch(t.type){case"Feature":return r(t);case"FeatureCollection":return e=t,i={type:"FeatureCollection"},Object.keys(e).forEach(function(t){switch(t){case"type":case"features":return;default:i[t]=e[t]}}),i.features=e.features.map(function(t){return r(t)}),i;case"Point":case"LineString":case"Polygon":case"MultiPoint":case"MultiLineString":case"MultiPolygon":case"GeometryCollection":return n(t);default:throw new Error("unknown GeoJSON type")}var e,i};function a(t,e,i){if(!h(i=i||{}))throw new Error("options is invalid");var r=i.bbox,n=i.id;if(void 0===t)throw new Error("geometry is required");if(e&&e.constructor!==Object)throw new Error("properties must be an Object");r&&d(r),n&&f(n);var a={type:"Feature"};return n&&(a.id=n),r&&(a.bbox=r),a.properties=e||{},a.geometry=t,a}function s(t,e,i){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!c(t[0])||!c(t[1]))throw new Error("coordinates must contain numbers");return a({type:"Point",coordinates:t},e,i)}function l(t){if(null==t)throw new Error("radians is required");return 180*(t%(2*Math.PI))/Math.PI}function u(t){if(null==t)throw new Error("degrees is required");return t%360*Math.PI/180}function c(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)}function h(t){return!!t&&t.constructor===Object}function d(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(4!==t.length&&6!==t.length)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach(function(t){if(!c(t))throw new Error("bbox must only contain numbers")})}function f(t){if(!t)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof t))throw new Error("id must be a number or a string")}function b(t,e,i){if(null!==t)for(var r,n,a,o,s,l,u,c,h=0,d=0,f=t.type,g="FeatureCollection"===f,A="Feature"===f,p=g?t.features.length:1,m=0;mt[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]Math.PI&&(n-=2*Math.PI),n<-Math.PI&&(n+=2*Math.PI);var a=Math.log(Math.tan(r/2+Math.PI/4)/Math.tan(i/2+Math.PI/4));return(l(Math.atan2(n,a))+360)%360}var S=function(t,e,i){if(!h(i=i||{}))throw new Error("options is invalid");var r,n=i.final;if(!t)throw new Error("start point is required");if(!e)throw new Error("end point is required");return 180<(r=n?x(M(e),M(t)):x(M(t),M(e)))?-(360-r):r},Q=6371008.8,k={meters:Q,metres:Q,millimeters:1e3*Q,millimetres:1e3*Q,centimeters:100*Q,centimetres:100*Q,kilometers:Q/1e3,kilometres:Q/1e3,miles:Q/1609.344,nauticalmiles:Q/1852,inches:39.37*Q,yards:Q/1.0936,feet:3.28084*Q,radians:1,degrees:Q/111325};function L(t,e){if(null==t)throw new Error("distance is required");if(e&&"string"!=typeof e)throw new Error("units must be a string");var i=k[e||"kilometers"];if(!i)throw new Error(e+" units is invalid");return t/i}function P(t,e,i){if(null==t)throw new Error("length is required");if(!(0<=t))throw new Error("length must be a positive number");return function(t,e){if(null==t)throw new Error("radians is required");if(e&&"string"!=typeof e)throw new Error("units must be a string");var i=k[e||"kilometers"];if(!i)throw new Error(e+" units is invalid");return t*i}(L(t,e),i||"kilometers")}function F(t){return!!t&&t.constructor===Object}function T(t){if(!t)throw new Error("coord is required");if("Feature"===t.type&&null!==t.geometry&&"Point"===t.geometry.type)return t.geometry.coordinates;if("Point"===t.type)return t.coordinates;if(Array.isArray(t)&&2<=t.length&&void 0===t[0].length&&void 0===t[1].length)return t;throw new Error("coord must be GeoJSON Point or an Array of numbers")}var R=function(t,e,i){if(!F(i=i||{}))throw new Error("options is invalid");var r=i.units;if(!t)throw new Error("from point is required");if(!e)throw new Error("to point is required");var n=T(t),a=T(e);return a[0]+=180Math.PI&&(s-=2*Math.PI);var l=Math.log(Math.tan(a/2+Math.PI/4)/Math.tan(n/2+Math.PI/4)),u=1e-11Math.PI/2&&(u=0 0"}],key:t,staticClass:"sm-component-query__job-info-panel"},[r("div",{staticClass:"sm-component-query__job-info-header",style:i.getTextColorStyle,on:{click:i.jobInfoClicked,mouseleave:i.resetHoverStyle,mouseenter:i.changeHoverStyle}},[r("span",{staticClass:"sm-components-icons-preview"}),i._v(" "),r("span",{staticClass:"sm-component-query__job-info-name",attrs:{title:e.queryParameter.name}},[i._v(i._s(e.queryParameter.name))]),i._v(" "),r("div",{staticClass:"sm-components-icons-legend-unfold"})]),i._v(" "),e.queryParameter.attributeFilter?r("div",{staticClass:"sm-component-query__job-info-body hidden"},[r("div",{staticClass:"sm-component-query__attribute"},[r("div",[i._v(i._s(i.$t("query.attributeCondition")))]),i._v(" "),r("div",{staticClass:"sm-component-query__attribute-name",style:i.getColorStyle(0)},[i._v("\n "+i._s(e.queryParameter.attributeFilter)+"\n ")])]),i._v(" "),r("div",{staticClass:"sm-component-query__spatial-filter"},[r("div",[i._v(i._s(i.$t("query.spatialFilter")))]),i._v(" "),r("a-select",{staticClass:"sm-component-query__a-select",attrs:{"get-popup-container":i.getPopupContainer},on:{dropdownVisibleChange:i.changeChosenStyle},model:{value:e.spaceFilter,callback:function(t){i.$set(e,"spaceFilter",t)},expression:"jobInfo.spaceFilter"}},i._l(i.selectOptions,function(t){return r("a-select-option",{key:t.value,attrs:{value:t.value}},[i._v(i._s(t.label))])}),1)],1),i._v(" "),r("div",{staticClass:"sm-component-query__query-button"},[r("a-button",{staticClass:"sm-component-query__a-button",style:{backgroundColor:i.getColorStyle(0).color,color:i.getTextColor},attrs:{type:"primary",size:"small"},on:{click:function(t){return i.queryButtonClicked(e.queryParameter,e.spaceFilter)}}},[i._v("\n "+i._s(i.$t("query.applicate"))+"\n ")])],1)]):i._e()])}),0),i._v(" "),r("div",{staticClass:"sm-component-query__result-info hidden"},[r("div",{directives:[{name:"show",rawName:"v-show",value:!i.queryResult&&!i.isQuery,expression:"!queryResult && !isQuery"}],staticClass:"sm-component-query__no-result hidden"},[i._v("\n "+i._s(i.$t("query.noResult"))+"\n ")]),i._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:i.isQuery&&!i.queryResult,expression:"isQuery && !queryResult"}],staticClass:"sm-component-query__result-loading"},[r("a-spin",{attrs:{tip:i.$t("query.querying")}},[r("a-icon",{staticStyle:{"font-size":"24px"},attrs:{slot:"indicator",type:"loading",spin:""},slot:"indicator"})],1)],1),i._v(" "),i.queryResult?r("div",{staticClass:"sm-component-query__result-header",style:i.getColorStyle(0)},[r("span",{staticClass:"sm-component-query__header-name",attrs:{title:i.queryResult.name}},[i._v(i._s(i.queryResult.name))]),i._v(" "),r("span",{staticClass:"sm-components-icons-close",on:{click:i.clearResult}})]):i._e(),i._v(" "),i.queryResult?r("div",{staticClass:"sm-component-query__result-body"},[r("ul",i._l(i.queryResult.result,function(t,e){return r("li",{key:e,attrs:{title:i.getInfoOfSmid(t.properties)},on:{click:i.queryResultListClicked,mouseenter:i.changeChosenResultStyle,mouseleave:i.resetChosenResultStyle}},[i._v("\n "+i._s(i.getInfoOfSmid(t.properties))+"\n ")])}),0)]):i._e()])]),i._v(" "),r("TablePopup",i._b({directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"queryTablePopup",attrs:{background:i.background,textColor:i.textColor}},"TablePopup",i.tablePopupProps,!1))],1)}var n=[];i.d(e,"a",function(){return r}),i.d(e,"b",function(){return n})},f586:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},f5a9:function(t,e,i){"use strict";var r=i("8e6d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(i("9259")),a=r(i("a759")),o=r(i("f344")),s=i("e0f2"),l=r(i("331f")),u={name:"SmBorder",mixins:[n.default],props:{type:{type:[String],default:"border1"},customBorder:{type:Object}},data:function(){return{borderId:(0,o.default)("".concat(this.$options.name.toLowerCase(),"-")),position:{top:0,left:0,width:0,height:0},borderEdge:[],borderWidth:[],width:0,height:0}},computed:{borderConfig:function(){return!this.customBorder&&this.type?a.default[this.type]:this.customBorder},borderImage:function(){return this.customBorder&&this.customBorder.src||!this.type?"".concat(this.customBorder.src):i("ded2")("./".concat(this.type,".png"))},borderStyle:function(){var t=this.borderWidth.join(" ")+" fill";return{borderWidth:this.borderWidth.join("px ")+"px",borderImage:"url("+this.borderImage+") "+t+" / 1 / 0 stretch"}},contentStyle:function(){var t=Object.assign({},this.position);for(var e in t)t[e]=t[e]+"px";return t}},watch:{type:function(){this.setPosition()}},mounted:function(){this.setPosition(),this.resizeHanlder=(0,l.default)(this.calcPosition.bind(this),500),(0,s.addListener)(this.$el,this.resizeHanlder)},updated:function(){this.calcPosition()},beforeDestroy:function(){(0,s.removeListener)(this.$el,this.resizeHandler)},methods:{setPosition:function(t){var e=0