(window["webpackJsonp_canoe-snap-record"]=window["webpackJsonp_canoe-snap-record"]||[]).push([["chunk-05ae550c"],{"07a7":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAE+ElEQVRYR8WWa2wUVRTH/+fug1JeJQUDRm0MJYiJQUxFY0xMTRpiojH4aAwSpLKzyCOoaLs7u22Z2t3ZXdAYqxjKbK3EgLpEMRCRBAE/iAjRSI3wCSrxBfggrbQ82p17zOx2N9tt91GMdT5N7j3nf3/3f869M4T/+aGxrK+9unPGgLx6i4ibs0C4DCHO2W+d8qNWWzswFp3M2IIAur69vF9cWw2JJQzclb0QAX0M2i9stCPgcX0yVpCcALFYzNbV3VsPySoDU4sSJhwjIdYHPa7jRcUDGBVAe72zbPBK/AMGLx5uF/WAcALAOQClYFQwYQGY0zoEGiDguYBP6SwGYgSA1r63dPDi+S+ZeWFKgAhfMeEV5z1zD2rV1fFMYW1T56xBGV8BCQ+Dy1JzQtC6gFfZUghiBIBPN3YB/ISVSECcBL1QjJDe9s7Mvr74LgAPpHOJFgdU5VA+iGEAjRHjMWnyR4kEIibw40HVvTtbQNsSm7xxzZP9RMSZc+3t3zh++uu7venSEXU750ybn++UpAESTXem9yQzz7NEBVFrQFWasxf3R6KLWMovwPha97kfzJ4Ph2PTLsneLgZXJJ2g54M+pS2XC2mA5khHddw0E3YR8Gt5SdncDRtqr4wACBtelhyyxp3lsydpqx65nB3TFDaWmZLfS47TD7pPuaMggD9kvMHM64d23xJQFW20JF8oqoKlng8g6WbPeWbMSOjZnZWBhhVnRtNLO+DXjWMMXmQF2YiqWlXl2+sFsPIaQ8Z2ybw82U5YFlTdO/IC+ELGz2C+yQqaZrNN9XhWXrLefeFti8G0EYxJQ2I3MPOslL0AZPKdT013lLjq65f3J/JChh/MgWQVqEFXlc0FHNjWz0CpdfSCPrcjFewPGXuZ+eFcNcwcF2SvCajPfm6N+UPRNcwycQ8QKBz0KWqhEpxNda5zomO69mJdj5XQFOq8WyL+EpB0gJkrAdw25MZnAJlJA/iUo7KsKXXk/OFoM0vZkogTwhP0ujblBwhtO8KM+xI9YBf3tza4jvybHvDpxocA1yb0hHi61evamRegMRQNS5YeK0gQbQ6oSsP1AmixmHPwdM8fqY+Yw0Y3t3iUX/I7EDHuZZOPDtXsomOifU6qDJmJ/nC0gaWMWGPO2Y6JWl3d1Wxhfyi6jlm+OaR1IuhT0t+V7Nj0MWRmagxFjzO4Kllf2hpUldXZCY0RYz6bfICIDgZU5Zns+Y2RjhsHTXkC4JnJE4A6XXW/m6uJh30LMm/DJIRYG1RdbxdzAqyYSKRjyt+mPJTaBEDfV5QvrFq1qmqwKAAryKcbbwG8NpVAwKbM7s4l1BjpmCdN82MAt6diBImHAqprf74NjPwfOHzYPnD09D6Aa9KJRN2COGy3T96tvbz0z2E9EemogjTrGFDASN8fQzGnnI6Saq1++e9FO2AFJrq4u3crS64blkhkEvNZEM6BUcpEFWAuz4q5RAwHg0uKgcj7U9oUji6VkvXUBVWoF4jwqZ0mrGEamGea2FMMRMG/4ra2fRMu9P32FIiXgLnGuq6zdnwajAM2IdpbvSu7UnPNEaOmGIiCAJmLWUe15bX3y834tdk2OXitRJRd8Hpre3M5UwzEmAAKlWC0+UIQ/zmABTUCgrBHV92PJu+pcXoyIYjQFVTdd44rgLVYU7hjgZSyVgje2ep1nxx3gNHMHrcS5Kr0P8vpST+x+jGWAAAAAElFTkSuQmCC"},"0fd3":function(t,e,a){"use strict";a("7d76")},"104a":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAADs0lEQVRYR82YXWwUVRTHf2e2ULIlRpRoanyA7oy8qIkmJRFNfVETDSHSBhIM+FUTeSIKdovf6ze7Kxh80gT8gkgiAQwhmqgvNlITm0gCvsDsFh6MjaZaYyihtDPHzMIWd3Z2Z3bpyN63ydxzzu/+z73nfggt3qTF+bgywIy2MVXoZsZYguF2otxUGrDwG64xRpt7hnZz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UVORK5CYII="},"180e":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAHq0lEQVR4Xu2daWxUVRTH/2eQUigaBUKBFBfaaU0NEr8SFySgxgRM1G8mRuULRFoE2qkRI5Og0bYshkVwwe2DaFQCBWQpW0tsowmUpRA6U9sCbW1pO92Y6XSZd8190+ky7XTee/PubL5JXvqh99xz3u/d++655557HyGSP2vjLLjuPQWYMgCWAYBfcwB2PwDfxS3s9l7E/zYBqAKoCpCqMG16BazzWiN1GxRWxdvvTEWzexkYloKxpQAtBFiINhAD2DUQnQXhLJITT2PD/J5w3VeIxiswkzGCpfpZmPAmJLwOsAcUSIVQhLpgwm+Q8CMK0kpBHLC4nziAO+1TUM/eBpALhgXibmGCmgk1AAqRQt8h29wrwgb9AfJu+q97NYjlgGGeCKNV10loBKOtmJu4T+/urS/APPsKMLYTDI+qvslwCBDqQJSNfPMRvdTpA3BTzSPo9+wEYyv1MkxoPURFIFMW8lNvh6ondICWf14Fk/YD7MFQjQmvPHWATKtQkHowFL3aAVpZApz2rQCyQjEgCmR3IcmcAyv1abFFG0DrnRlwuY+AscValEadDFEZpiWugHW+Q61t6gFa7ClgOAmwTLXKors83QDhRRSY69XYqQ6gpSYDzFMMsPlqlMROWboDmrQcBQuqlNqsHKC35ZXFLzwfMg4Ri5W2RGUA+TvP6b4Qf902UDujG0hKfEbJOzE4QD7auqrPxc2Aobhv8oEl7flgo3NwgLm2nXHgqijF5l9uFwrTsycSnhig7CR7fteqPS7kaNJrEznbgQHy6Vmf53LszTD0fmzUAZNpUaBpX2CAFvvhmJnb6s3Mvz4+dy4wvzKemvEB8qiKxIpE2xVT9Zto5XhRnLEAeTyvqedG1IakIkWdh8LmTM30jyeOBZhn3wCJbYuUndGtlzag0LxjpI2jAXrD8DWiIslpMycj/+VZePqxRNxnIhTbXPj4jAOVzZoCIeFnzSPbKbRg5PLAaIAW22ow7BVhWfqsybi47mFMn2IaVf2Ah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PLZe6WtOKOqFmEJnCDQmNSO+SBRGxyUfeW1DGpbePdw5XGXmQfvovS2gi4JYqhjpdcJDi97fiqeXgpIymgiW1Oj5xMxJOKoisPxs/kgOlt8mgsLsHyieQElK5JwQy/FDePxLC3vBMfnWpDe09kUw0UNcCACZZcWnCKb+bsBGxePgNLUqfKeXXHbrrkcHv8pPh634XrAbZd0dP43xUKlmTOgRjbHMZvFoq3OXhdGmOjjT9GxRttfILGVq9hhKq3enFRY7PhIECtmw1lt8bY7grN2119DdjYcB3ChmsO0djyP+E+tOBb/mWIxqETgVxeZQDl96Fx7Ml4EJUDlCEaB+/4Q1QHcLglGkc/+ZwcTdNZ4/CxIWzqW6BP1Dj+TiahHeDQlM84gFFTLx4lZBwBGjpDuQbjEFodQHpPK18DxjaKOrxCtZX8sAiibUhO3BvdxyCPvDPjIG7Vz3l8AeMoeJ1A8mqMjxHoCFMOUgx+DoNMj0Pin8NgGSBKnvBzGIw1y5/CMFEVmHQz0p/D+A/kq5SjgwgNIAAAAABJRU5ErkJggg=="},"3a2d":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"map-track"},[t.loading?t._e():i("canoe-map-track",{ref:"canoeMapTrack",attrs:{mapConfig:t.mapConfig,animation:t.animationConfig,customMarkerInfoWindow:t.customMarkerInfoWindow,mapData:{mapTrack:t.mapTrack}},on:{imgSwitch:t.imgSwitch,playStatus:t.playStatus},scopedSlots:t._u([{key:"track-info-winfow",fn:function(e){return[i("div",{staticClass:"track-info-container"},[i("div",{staticClass:"title"},[t._v("轨迹点目标")]),i("img",{staticClass:"close-icon",attrs:{src:a("f46f"),alt:""},on:{click:t.clickInfoWin}}),i("div",{staticClass:"img-container"},t._l(e.imgList,(function(e){return i("div",{staticClass:"img-wrap"},[i("div",{staticClass:"time"},[t._v(t._s(e.timeText))]),i("img",{attrs:{width:60,height:60,src:e.img}})])})),0)])]}}],null,!1,3305455607)}),i("track-menu",{attrs:{query:t.captureSearchEntity,list:t.mapTrack},on:{sort:t.handleSort}}),i("track-control",{attrs:{size:t.progressSum,isPlay:t.isPlay,data:t.trackData,playStatus:t.playStatus},on:{action:t.handleAction},model:{value:t.progressValue,callback:function(e){t.progressValue=e},expression:"progressValue"}}),i("track-detail",{attrs:{detail:t.trackDetail}})],1)},r=[],n=a("9523"),s=a.n(n),c=a("c973"),o=a.n(c),p=a("970b"),l=a.n(p),m=a("5bc3"),h=a.n(m),u=a("ed6d"),A=a.n(u),d=a("6b58"),g=a.n(d),f=a("36c6"),k=a.n(f),v=a("a34a"),b=a.n(v),T=a("9ab4"),y=a("60a3"),C=a("103b"),O=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"track-menu"},[i("div",{staticClass:"exit",on:{click:t.exit}},[i("img",{attrs:{src:a("5215"),alt:""}}),i("span",{staticClass:"text"},[t._v("退出")])]),i("div",{staticClass:"trackInfo"},[i("div",{staticClass:"info-item"},[i("span",{staticClass:"label"},[t._v("追踪目标")]),i("div",{staticClass:"imgWrap"},[i("img",{attrs:{src:t.query.searchImg,alt:""}})])]),i("div",{staticClass:"info-item"},[i("span",{staticClass:"label"},[t._v("时间范围")]),i("span",{staticClass:"value"},[t._v(t._s(t.timeRange))])]),i("div",{staticClass:"info-item",style:{position:"relative"}},[i("span",{staticClass:"label"},[t._v("区域范围")]),i("div",{staticClass:"value",style:{maxHeight:t.isExtend?"116px":"13px",width:"200px",overflowY:t.isExtend?"auto":"hidden"}},t._l(t.deviceList,(function(e,a){return i("div",{staticClass:"deviceName"},[t._v(t._s(e))])})),0),t.deviceList.length>1?i("div",[t.isExtend?i("el-button",{staticClass:"extra",attrs:{type:"text"},on:{click:function(e){t.isExtend=!1}}},[t._v("收起")]):i("el-button",{staticClass:"extra",attrs:{type:"text"},on:{click:function(e){t.isExtend=!0}}},[t._v("展开")])],1):t._e()])]),i("div",{staticClass:"track-container"},[i("div",{staticClass:"title-wrap"},[i("span",{staticClass:"title"},[t._v("行动轨迹")]),i("img",{class:{"rotate-180":t.sort},attrs:{src:a("63cb"),alt:""},on:{click:t.handleSort}})]),i("el-timeline",t._l(t.list,(function(t,e){return i("el-timeline-item",{key:e},[i("trackCard",{attrs:{data:t}})],1)})),1)],1)])},x=[],I=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"track-card-container"},[i("div",{staticClass:"title"},[i("span",{staticClass:"time"},[t._v(t._s(t.startTime))]),i("div",{staticClass:"count"},[t._v("出现"+t._s(t.data.imgList.length)+"次")]),t.show?i("img",{attrs:{src:a("b472"),alt:""},on:{click:function(e){t.show=!t.show}}}):i("img",{attrs:{src:a("9095"),alt:""},on:{click:function(e){t.show=!t.show}}})]),i("div",{staticClass:"hide-container",class:{hide:t.show}},[i("div",{staticClass:"device"},[i("img",{attrs:{src:a("437b"),alt:""}}),i("span",[t._v(t._s(t.data.deviceName))])]),i("div",{staticClass:"image-container"},[i("div",{ref:"imgRef",staticClass:"imgbox"},t._l(t.data.imgList,(function(t,e){return i("img",{key:e,attrs:{src:t.img,alt:""}})})),0),i("div",{staticClass:"right-container",on:{click:t.arrowClick}},[i("i",{staticClass:"el-icon-arrow-right"})])]),i("div",{staticClass:"leave"},[t._v(" "+t._s(t.endTime)+"离开 ")])])])},j=[],w=a("e33d");function D(t){var e=M();return function(){var a,i=k()(t);if(e){var r=k()(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return g()(this,a)}}function M(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var B=function(t){A()(a,t);var e=D(a);function a(){var t;return l()(this,a),t=e.apply(this,arguments),t.show=!1,t}return h()(a,[{key:"startTime",get:function(){return Object(w["parseDate"])(this.data.imgList[0].captureTime)}},{key:"endTime",get:function(){var t=this.data.imgList;return t.length>1?Object(w["parseDate"])(t[t.length-1].captureTime,"hh:mm"):Object(w["parseDate"])(this.data.imgList[0].captureTime,"hh:mm")}},{key:"arrowClick",value:function(){this.imgRef.scrollLeft+=50}}]),a}(y["h"]);T["a"]([Object(y["g"])()],B.prototype,"imgRef",void 0),T["a"]([Object(y["e"])({required:!0,type:Object})],B.prototype,"data",void 0),B=T["a"]([Object(y["a"])({name:"TrackCard",components:{}})],B);var S=B,E=S,R=(a("9501"),a("2877")),Q=Object(R["a"])(E,I,j,!1,null,null,null),L=Q.exports;function P(t,e){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=U(t))||e&&t&&"number"===typeof t.length){a&&(t=a);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,c=!1;return{s:function(){a=a.call(t)},n:function(){var t=a.next();return s=t.done,t},e:function(t){c=!0,n=t},f:function(){try{s||null==a.return||a.return()}finally{if(c)throw n}}}}function U(t,e){if(t){if("string"===typeof t)return N(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?N(t,e):void 0}}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,i=new Array(e);a1?Object(w["parseDate"])(this.data[this.data.length-1].captureTime):Object(w["parseDate"])(this.data[0].captureTime)}},{key:"currentTrackTime",get:function(){try{return Object(w["parseDate"])(this.data[this.value].captureTime)}catch(t){}}},{key:"handleShiftSpeed",value:function(t){this.speed=t.value,this.speedVisible=!1,this.$emit("action","speed",this.speed)}},{key:"handleTriggerTrack",value:function(t){this.trackShow=!this.trackShow,this.$emit("action","close-track",this.trackShow)}},{key:"handleAction",value:function(t){this.$emit("action",t)}}]),a}(y["h"]);T["a"]([Object(y["g"])()],Z.prototype,"popverRef",void 0),T["a"]([Object(y["e"])({required:!0,type:Array})],Z.prototype,"data",void 0),T["a"]([Object(y["e"])({required:!0,type:Number})],Z.prototype,"value",void 0),T["a"]([Object(y["e"])({required:!0,type:Number})],Z.prototype,"size",void 0),T["a"]([Object(y["e"])({required:!0,type:Number})],Z.prototype,"playStatus",void 0),T["a"]([Object(y["e"])({required:!0,type:Boolean})],Z.prototype,"isPlay",void 0),T["a"]([Object(y["i"])("value")],Z.prototype,"valueWatcher",null),Z=T["a"]([Object(y["a"])({name:"TrackControl",components:{}})],Z);var _=Z,$=_,tt=(a("0fd3"),Object(R["a"])($,V,F,!1,null,null,null)),et=tt.exports,at=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"track-detail",class:{hide:!t.show}},[i("div",{staticClass:"title"},[t._v("抓拍详情")]),i("div",{staticClass:"close-wrap",on:{click:function(e){t.show=!1}}},[i("img",{attrs:{src:a("f46f"),alt:""}})]),i("div",{staticClass:"detail-item",style:{marginTop:"12px"}},[i("img",{attrs:{src:a("a017"),alt:""}}),t._v(t._s(t.parseDate(t.detail.captureTime)))]),i("div",{staticClass:"detail-item"},[i("img",{attrs:{src:a("437b"),alt:""}}),t._v(t._s(t.detail.deviceName))]),i("qz-image",{ref:"imgRef",attrs:{src:t.detail.panoramaUrl,preview:!1,moveable:!0,width:300,height:168}}),i("div",{staticClass:"actions"},[i("img",{attrs:{src:a("07a7"),alt:""},on:{click:t.amplifierImg}}),i("img",{attrs:{src:a("3b7a"),alt:""},on:{click:t.shrinkImg}}),i("img",{attrs:{src:a("92f1"),alt:""},on:{click:t.resizeImg}}),i("img",{attrs:{src:a("d000"),alt:""},on:{click:t.handleFullScreen}}),i("img",{attrs:{src:a("7485"),alt:""},on:{click:t.downLoadImg}})])],1)},it=[];function rt(t){var e=nt();return function(){var a,i=k()(t);if(e){var r=k()(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return g()(this,a)}}function nt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var st=function(t){A()(a,t);var e=rt(a);function a(){var t;return l()(this,a),t=e.apply(this,arguments),t.show=!1,t.parseDate=w["parseDate"],t}return h()(a,[{key:"detailWatcher",value:function(t){0!==Object.keys(t).length&&(this.show=!0)}},{key:"resizeImg",value:function(){return this.imgRef.reset()}},{key:"amplifierImg",value:function(){return this.imgRef.amplifier()}},{key:"shrinkImg",value:function(){return this.imgRef.shrink()}},{key:"downLoadImg",value:function(){return this.imgRef.downLoadImg()}},{key:"handleFullScreen",value:function(){return this.imgRef.fullScreen()}},{key:"open",value:function(){this.show=!0}}]),a}(y["h"]);T["a"]([Object(y["g"])()],st.prototype,"imgRef",void 0),T["a"]([Object(y["e"])({required:!0,type:Object})],st.prototype,"detail",void 0),T["a"]([Object(y["i"])("detail")],st.prototype,"detailWatcher",null),st=T["a"]([Object(y["a"])({name:"TrackDetail",components:{}})],st);var ct=st,ot=ct,pt=(a("d7d7"),Object(R["a"])(ot,at,it,!1,null,null,null)),lt=pt.exports,mt=a("ffb1"),ht=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mapInfoContainer"},[t._v(" 524545 ")])},ut=[];function At(t){var e=dt();return function(){var a,i=k()(t);if(e){var r=k()(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return g()(this,a)}}function dt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var gt=function(t){A()(a,t);var e=At(a);function a(){return l()(this,a),e.apply(this,arguments)}return a}(y["h"]);T["a"]([Object(y["e"])({type:Object})],gt.prototype,"point",void 0),T["a"]([Object(y["e"])({type:Function})],gt.prototype,"clearInfoWindow",void 0),gt=T["a"]([Object(y["a"])({components:{}})],gt);var ft=gt,kt=ft,vt=(a("864c"),Object(R["a"])(kt,ht,ut,!1,null,null,null)),bt=vt.exports,Tt=a("9dba"),yt=a("6fc5");function Ct(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function Ot(t){for(var e=1;e=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,c=!1;return{s:function(){a=a.call(t)},n:function(){var t=a.next();return s=t.done,t},e:function(t){c=!0,n=t},f:function(){try{s||null==a.return||a.return()}finally{if(c)throw n}}}}function It(t,e){if(t){if("string"===typeof t)return jt(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?jt(t,e):void 0}}function jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,i=new Array(e);a0&&this.progressValue{window[t]=void 0,this.onLoad()}}onLoad(){this.AMap=AMap;let t=Object.prototype.toString.call(this.mapConfig.container);this.container="[object HTMLDivElement]"===t?this.mapConfig.container:document.querySelector("#"+this.mapConfig.container),this.container&&(this.map=new AMap.Map(this.container,this.mapConfig.initinalOptions),this.mapData.trackData&&this.mapData.trackData.length>0&&this.loadMapTrackModule())}loadMapTrackModule(){this.mapTrackObj.pathArray=this.mapData.trackData.map(t=>t.lonlat),this.mapTrackObj.basicLine=new AMap.Polyline({map:this.map,path:this.mapTrackObj.pathArray,showDir:!0,strokeColor:"#0075DA",strokeWeight:8}),this.mapTrackObj.activeLine=new AMap.Polyline({map:this.map,showDir:!0,strokeColor:"#0075DA",strokeWeight:8}),this.mapTrackObj.historyLine=new AMap.Polyline({map:this.map,showDir:!0,strokeColor:"#0075DA",strokeWeight:8}),this.mapTrackObj.inflectionMarker=this.mapData.trackData.map(t=>{if(t.imgList&&t.imgList.length>0){const e=t.imgList[0];let a=new AMap.Marker({map:this.map,position:t.lonlat,offset:new AMap.Pixel(-21,-21),content:`
${e.timeText}${t.imgList.length}
`});return a.on("click",e=>{this.mapEvent.markerClick&&this.mapEvent.markerClick(e,t)}),a}return null}),this.map.setFitView()}initMoveMarkerAndLine(){this.mapTrackObj.inflectionMarker.map(t=>{t.hide()}),this.mapTrackObj.basicLine.setOptions({strokeColor:"#979797",strokeOpacity:.4}),this.mapTrackObj.basicLine.show(),this.mapTrackObj.customMarker&&(this.map.remove(this.mapTrackObj.customMarker),this.mapTrackObj.customMarker=this.mapData.trackData.map(t=>t.imgList&&t.imgList.length>0?new AMap.Marker({map:this.map,position:t.lonlat,offset:new AMap.Pixel(-10,-10),content:'
'}):null)),this.mapTrackObj.moveMarker&&this.map.remove(this.mapTrackObj.moveMarker),this.mapTrackObj.moveMarker=new AMap.Marker({map:this.map,position:this.mapData.trackData[0].lonlat,offset:new AMap.Pixel(-21,-21),zIndex:101})}play(){this.reset(),0!==Object.keys(this.mapTrackObj).length&&this.mapTrackObj.basicLine&&(this.initMoveMarkerAndLine(),this.mapTrackObj.currentTrackIndex=0,this.mapTrackObj.currentTrackImgIndex=0,this.mapTrackObj.historyPath=[],this.mapTrackObj.historyPath[0]=this.mapData.trackData[0].lonlat,this.playStatus=1,this.moveMarkerAnimation(),this.mapTrackObj.moveMarker.on("moving",t=>{this.markerMoving=!0,this.mapTrackObj.activeLine.show(),this.mapTrackObj.historyPath[this.mapTrackObj.currentTrackIndex]=t.passedPath[t.passedPath.length-1],this.mapTrackObj.activeLine.setPath(t.passedPath)}),this.mapTrackObj.moveMarker.on("moveend",()=>{this.markerMoving=!1,this.mapTrackObj.currentTrackImgIndex=1===this.playType?0:this.mapData.trackData[this.mapTrackObj.currentTrackIndex].imgList.length-1,this.mapTrackObj.activeLine.hide(),this.mapTrackObj.historyPath[this.mapTrackObj.currentTrackIndex]=this.mapTrackObj.moveMarker.getPosition(),this.mapTrackObj.historyLine.setPath(this.mapTrackObj.historyPath),this.movedCallback&&this.movedCallback()}))}moveMarkerAnimation(t=!0){let e="";try{if(e=this.renderMoveMarkerContent(this.mapData.trackData[this.mapTrackObj.currentTrackIndex].imgList[this.mapTrackObj.currentTrackImgIndex].img),this.mapTrackObj.moveMarker.setContent(e),this.mapEvent.imgSwitch&&this.mapEvent.imgSwitch(this.mapTrackObj.currentTrackIndex,this.mapTrackObj.currentTrackImgIndex),this.mapData.trackData[this.mapTrackObj.currentTrackIndex].imgList.length>0){try{clearInterval(this.mapTrackObj.interval)}catch(a){}this.mapTrackObj.interval=setInterval(()=>{if(this.mapTrackObj.currentTrackImgIndex+1'})}}},this.animationConfig.switchTime)}this.movedCallback=this.moveMarkerAnimation}catch(a){}}renderMoveMarkerContent(t){return`
`}pause(){this.mapTrackObj.moveMarker&&(this.playStatus=0,this.playType=1,this.mapTrackObj.moveMarker.pauseMove(),clearInterval(this.mapTrackObj.interval),this.mapTrackObj.interval=void 0)}resume(){this.mapTrackObj.moveMarker&&(this.playStatus=1,this.playType=1,this.mapTrackObj.basicLine.show(),this.mapTrackObj.moveMarker.resumeMove(),this.moveMarkerAnimation())}stop(){this.mapTrackObj.moveMarker&&(this.mapTrackObj.moveMarker.stopMove(),this.playType=1,this.playStatus=2)}reset(){this.mapTrackObj.moveMarker&&this.mapTrackObj.historyPath&&(clearInterval(this.mapTrackObj.interval),this.mapTrackObj.interval=void 0,this.playType=1,this.playStatus=2,this.mapTrackObj.activeLine.hide(),this.mapTrackObj.moveMarker.setPosition(this.mapData.trackData[0].lonlat),this.mapTrackObj.moveMarker.setContent(`
`))}closeTrack(){this.mapTrackObj.basicLine&&this.mapTrackObj.basicLine.hide()}openTrack(){this.mapTrackObj.basicLine&&this.mapTrackObj.basicLine.show()}closeImg(){this.mapTrackObj.inflectionMarker&&(this.mapTrackObj.inflectionMarker.map(t=>{t.hide()}),this.mapTrackObj.customMarker=this.mapData.trackData.map(t=>t.imgList&&t.imgList.length>0?new AMap.Marker({map:this.map,position:t.lonlat,offset:new AMap.Pixel(-10,-10),content:'
'}):null))}setMapInfoWindowContent(t,e){this.mapTrackObj.infowindow=new AMap.InfoWindow({offset:new AMap.Pixel(0,-30)}),this.mapTrackObj.infowindow.setContent(t),this.openInfowWindow(e)}openInfowWindow(t){return this.mapTrackObj.infowindow.open(this.map,t)}closeInfoWindow(){return this.mapTrackObj.infowindow.close()}changeAnimation(t,e){this.markerMoving||(this.animationConfig[t]=e)}changeAnimationConfig(t){this.markerMoving||(this.pause(),this.animationConfig={...this.animationConfig,...t},this.resume())}nextTrack(){if(this.markerMoving)return;let t="";if(this.mapTrackObj.currentTrackImgIndex+1'})}}}prevTrack(){if(this.markerMoving)return;let t="";if(this.playType=0,this.mapTrackObj.currentTrackImgIndex-1>-1&&this.mapTrackObj.currentTrackImgIndex-1-1&&this.mapTrackObj.currentTrackIndex-1'})}}this.movedCallback=()=>{this.mapTrackObj.historyPath.splice(this.mapTrackObj.historyPath.length-1,1),this.mapTrackObj.historyLine.setPath(this.mapTrackObj.historyPath),this.movedCallback=void 0}}getData(){return{...this.mapTrackObj}}}var c=i["default"].extend({name:"QzMapTrack",components:{},props:{mapConfig:{type:Object,required:!0},animation:{type:Object,default:()=>{}},mapData:{type:Object,default:()=>{}},width:{type:String,default:"100%"},height:{type:String,default:"100%"},showInfoWindow:{type:Boolean,default:!0}},data(){return{mapContainerId:"",map:{},mapEvents:{imgSwitch:void 0,markerClick:void 0},animationConfig:void 0,trackDataCache:{}}},watch:{},methods:{play(){return this.$emit("playStatuChange",this.map.playStatus),this.map.play()},stop(){return this.$emit("playStatuChange",this.map.playStatus),this.map.stop()},pause(){return this.$emit("playStatuChange",this.map.playStatus),this.map.pause()},resume(){return this.$emit("playStatuChange",this.map.playStatus),this.map.resume()},reset(){return this.$emit("playStatuChange",this.map.playStatus),this.map.reset()},closeTrack(){return this.map.closeTrack()},openTrack(){return this.map.openTrack()},closeImg(){return this.map.closeImg()},imgSwitch(t,e){this.$emit("imgSwitch",t,e)},markerClick(t,e){this.showInfoWindow&&(this.trackDataCache=e,this.map.setMapInfoWindowContent(this.$refs.mapTrackInfowWindow,e.lonlat))},openInfowWindow(){return this.map.openInfowWindow()},closeInfoWindow(){return this.map.closeInfoWindow()},changeAnimation(t,e){return this.map.changeAnimation(t,e)},changeAnimationConfig(t){return this.map.changeAnimationConfig(t)},nextTrack(){return this.map.nextTrack()},prevTrack(){return this.map.prevTrack()},getData(){return this.map.getData()}},created(){this.mapContainerId="track-map-"+this._uid,this.animationConfig={moveSpeed:200,switchTime:1e3,...this.animation},this.mapEvents.imgSwitch=this.imgSwitch,this.mapEvents.markerClick=this.markerClick},mounted(){this.map=new s({container:this.mapContainerId,...this.mapConfig},{...this.animationConfig},{trackData:this.mapData.mapTrack||[]},this.mapEvents,this.customMarkerInfoWindow),this.$emit("playStatuChange",this.map.playStatus)},computed:{}});function o(t,e,a,i,r,n,s,c,o,p){"boolean"!==typeof s&&(o=c,c=s,s=!1);const l="function"===typeof a?a.options:a;let m;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),i&&(l._scopeId=i),n?(m=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,o(t)),t&&t._registeredComponents&&t._registeredComponents.add(n)},l._ssrRegister=m):e&&(m=s?function(t){e.call(this,p(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,c(t))}),m)if(l.functional){const t=l.render;l.render=function(e,a){return m.call(a),t(e,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,m):[m]}return a}const p="undefined"!==typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function l(t){return(t,e)=>u(t,e)}let m;const h={};function u(t,e){const a=p?e.media||"default":t,i=h[a]||(h[a]={ids:new Set,styles:[]});if(!i.ids.has(t)){i.ids.add(t);let a=e.source;if(e.map&&(a+="\n/*# sourceURL="+e.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",e.media&&i.element.setAttribute("media",e.media),void 0===m&&(m=document.head||document.getElementsByTagName("head")[0]),m.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(a),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{const t=i.ids.size-1,e=document.createTextNode(a),r=i.element.childNodes;r[t]&&i.element.removeChild(r[t]),r.length?i.element.insertBefore(e,r[t]):i.element.appendChild(e)}}}const A=c;var d=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"canoe-map-track",style:{width:t.width,height:t.height}},[a("div",{staticClass:"track-map-container",attrs:{id:t.mapContainerId}},[a("div",{ref:"mapTrackInfowWindow",staticClass:"map-track-infowindow"},[t._t("track-info-winfow",null,null,t.trackDataCache)],2)])])},g=[];const f=function(t){t&&t("data-v-ddde9faa_0",{source:".canoe-map-track .track-map-container{width:100%;height:100%}.track-marker-content{position:relative;z-index:1}.track-marker-content>img{position:relative;z-index:1;width:42px;height:42px;background-color:#fff;padding:2px;border-radius:2px}.track-marker-content>span.time-text{position:absolute;left:0;bottom:5px;z-index:2;color:#fff;font-size:12px;width:100%;text-align:center}.track-marker-content>span.img-length{position:absolute;z-index:2;right:0;top:0;background-color:#0075da;height:20px;min-width:20px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#fff;border-radius:100%;overflow:hidden;transform:translate(50%,-50%)}.track-marker-custom{width:12px;height:12px;box-sizing:content-box;border-radius:50%;border:5px solid #fff;background:#0075da;box-shadow:0 2px 4px 1px rgba(122,134,154,.2)}.track-marker-custom_inactive{background:#1f95fb!important}",map:void 0,media:void 0})},k=void 0,v=void 0,b=!1,T=o({render:d,staticRenderFns:g},f,A,k,b,v,!1,l,void 0,void 0),y=function(t){y.installed||(y.installed=!0,t.component("CanoeMapTrack",T))},C={install:y};let O=null;"undefined"!==typeof window?O=window.Vue:"undefined"!==typeof t&&(O=t.Vue),O&&O.use(C),T.install=y,e["a"]=T}).call(this,a("c8ba"))}}]);