{"version":3,"sources":["webpack:///./node_modules/core-js/internals/string-pad.js","webpack:///./src/assets/lts-order-marker.svg","webpack:///./src/views/account/lts-dashboard/components/LTSMap.vue?34ae","webpack:///./node_modules/core-js/modules/es.string.pad-start.js","webpack:///./src/assets/lts-stop-point-marker.svg","webpack:///./src/views/account/lts-dashboard/components/LTSMap.vue?d108","webpack:///./src/assets/lts-start-point-marker.svg","webpack:///./node_modules/core-js/internals/string-pad-webkit-bug.js","webpack:///./src/views/account/lts-dashboard/components/LTSMap.vue?7131","webpack:///./src/views/account/lts-dashboard/components/LTSMap.vue","webpack:///./src/views/account/lts-dashboard/components/LTSMap.vue?ef33","webpack:///./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","webpack:///./src/assets/lts-driver-icon.svg"],"names":["uncurryThis","toLength","toString","$repeat","requireObjectCoercible","repeat","stringSlice","slice","ceil","Math","createMethod","IS_END","$this","maxLength","fillString","fillLen","stringFiller","S","intMaxLength","stringLength","length","fillStr","undefined","module","exports","start","end","$","$padStart","WEBKIT_BUG","target","proto","forced","padStart","this","arguments","userAgent","test","_withScopeId","n","_pushScopeId","_popScopeId","_hoisted_1","class","_hoisted_2","style","_hoisted_3","_hoisted_4","key","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","ref","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","role","_hoisted_20","_hoisted_21","_createElementVNode","_hoisted_22","_hoisted_23","_hoisted_24","render","_ctx","_cache","$props","$setup","$data","$options","_component_BaseIcon","_resolveComponent","_component_OrderStatusTime","_component_LTSSummaryView","_component_LTSStopPointList","_openBlock","_createElementBlock","_toDisplayString","$t","_createTextVNode","infoScreen","speed","_createCommentVNode","distance","Number","toFixed","accuracy","orders","onClick","$event","toggleStatusMenu","_createVNode","_normalizeClass","isStatusMenuOpen","name","_normalizeStyle","maxHeight","mapHeight","_Fragment","_renderList","order","index","_createBlock","id","_withDirectives","type","disabled","locations","seekPercentage","onMousedown","pauseAnimation","onMouseout","mouseOutHandler","onMouseup","onInput","onSeek","_vModelText","currentAnimationTime","totalAnimationDuration","playSpeedSelection","playSpeed","_withModifiers","updatePlaySpeed","isPlaying","resumeAnimation","stopAnimation","summary","stopPoints","google","window","defineComponent","components","BaseIcon","OrderStatusTime","defineAsyncComponent","LTSStopPointList","LTSSummaryView","props","String","default","zoom","Array","Object","data","map","route","marker","currentLocationIndex","animationInterval","currentLocationPlayingPercentage","currentStep","isSeeking","step","markerGroups","startPoint","activeInfoWindow","methods","initMap","setTimeout","_center","getStartPointCenter","maps","Map","document","getElementById","center","lat","lng","disableDefaultUI","$nextTick","initMapObjects","drawRoute","addMarker","latitude","longitude","addStartPointMarker","addStopPointsMarker","addListener","close","addOrdersMarker","getLocationsCenter","bounds","LatLngBounds","coordinate","latLng","LatLng","extend","getCenter","toRaw","setMap","routeCoordinates","location","Polyline","path","geodesic","strokeColor","strokeOpacity","strokeWeight","title","icon","url","require","size","Size","origin","Point","anchor","scaledSize","Marker","position","zIndex","startAnimation","animateMarker","clearTimeout","setPosition","isResume","currentLocation","nextLocation","startLatLng","endLatLng","duration","moment","timestamp","diff","numSteps","getPosition","stepLat","stepLng","animateStep","calculateProgressPercentage","newLatLng","formatTime","seconds","hours","floor","minutes","seekValue","parseFloat","isNaN","totalDurationInSeconds","split","reduce","acc","val","seekTimeInSeconds","currentDurationInSeconds","i","startPointDuration","stepDiff","round","_duration","label","text","className","color","fontWeight","fontSize","spm","sp","infoWindow","InfoWindow","content","getStopPointContentData","spMarker","event","open","shouldFocus","panTo","push","stop_datetime","format","o","tripDetailsFromDarkstoreOutward","endLocation","orderMarker","orderId","mapReference","$refs","mapRef","clientHeight","createStopPointTimelines","el","visualizedPlayer","innerHTML","startDatetime","firstLocation","lastLocation","unix","startPercentage","totalAnimationTimeInSecond","timeline","createElement","backgroundColor","height","top","left","width","appendChild","init","watch","newVal","$emit","handler","deep","currentAnimationTimeInSecond","computed","elapsedMilliseconds","elapsedSeconds","currentLocationTime","advancedTime","clone","add","elapsedTimeFromStart","completed","total","current","mounted","__exports__","_createForOfIteratorHelper","allowArrayLike","it","Symbol","iterator","isArray","unsupportedIterableToArray","F","s","done","value","e","_e","f","TypeError","err","normalCompletion","didErr","call","next","_e2"],"mappings":"qGACA,IAAIA,EAAc,EAAQ,QACtBC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAU,EAAQ,QAClBC,EAAyB,EAAQ,QAEjCC,EAASL,EAAYG,GACrBG,EAAcN,EAAY,GAAGO,OAC7BC,EAAOC,KAAKD,KAGZE,EAAe,SAAUC,GAC3B,OAAO,SAAUC,EAAOC,EAAWC,GACjC,IAIIC,EAASC,EAJTC,EAAIf,EAASE,EAAuBQ,IACpCM,EAAejB,EAASY,GACxBM,EAAeF,EAAEG,OACjBC,OAAyBC,IAAfR,EAA2B,IAAMZ,EAASY,GAExD,OAAII,GAAgBC,GAA2B,IAAXE,EAAsBJ,GAC1DF,EAAUG,EAAeC,EACzBH,EAAeX,EAAOgB,EAASb,EAAKO,EAAUM,EAAQD,SAClDJ,EAAaI,OAASL,IAASC,EAAeV,EAAYU,EAAc,EAAGD,IACxEJ,EAASM,EAAID,EAAeA,EAAeC,KAItDM,EAAOC,QAAU,CAGfC,MAAOf,GAAa,GAGpBgB,IAAKhB,GAAa,K,uBCjCpBa,EAAOC,QAAU,IAA0B,qC,oCCA3C,W,oCCCA,IAAIG,EAAI,EAAQ,QACZC,EAAY,EAAQ,QAA2BH,MAC/CI,EAAa,EAAQ,QAIzBF,EAAE,CAAEG,OAAQ,SAAUC,OAAO,EAAMC,OAAQH,GAAc,CACvDI,SAAU,SAAkBpB,GAC1B,OAAOe,EAAUM,KAAMrB,EAAWsB,UAAUf,OAAS,EAAIe,UAAU,QAAKb,O,uBCT5EC,EAAOC,QAAU,IAA0B,0C,oCCA3C,W,qBCAAD,EAAOC,QAAU,IAA0B,2C,gDCC3C,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AND,IAAYC,IAAK,GAC3F,OAAOwE,GAAWD,IAGtBE,QAziB6B,WA0iB3BnS,KAAKoI,a,2CCxiBT,MAAMgK,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS9P,GAAQ,CAAC,YAAY,qBAE1E,gB,0JCTA,SAAS+P,EAA2B/C,EAAGgD,GACpD,IAAIC,EAAuB,qBAAXC,QAA0BlD,EAAEkD,OAAOC,WAAanD,EAAE,cAElE,IAAKiD,EAAI,CACP,GAAInL,MAAMsL,QAAQpD,KAAOiD,EAAKI,eAA2BrD,KAAOgD,GAAkBhD,GAAyB,kBAAbA,EAAEpQ,OAAqB,CAC/GqT,IAAIjD,EAAIiD,GACZ,IAAI1E,EAAI,EAEJ+E,EAAI,aAER,MAAO,CACLC,EAAGD,EACHvS,EAAG,WACD,OAAIwN,GAAKyB,EAAEpQ,OAAe,CACxB4T,MAAM,GAED,CACLA,MAAM,EACNC,MAAOzD,EAAEzB,OAGbmF,EAAG,SAAWC,GACZ,MAAMA,GAERC,EAAGN,GAIP,MAAM,IAAIO,UAAU,yIAGtB,IAEIC,EAFAC,GAAmB,EACnBC,GAAS,EAEb,MAAO,CACLT,EAAG,WACDN,EAAKA,EAAGgB,KAAKjE,IAEfjP,EAAG,WACD,IAAI0H,EAAOwK,EAAGiB,OAEd,OADAH,EAAmBtL,EAAK+K,KACjB/K,GAETiL,EAAG,SAAWS,GACZH,GAAS,EACTF,EAAMK,GAERP,EAAG,WACD,IACOG,GAAoC,MAAhBd,EAAG,WAAmBA,EAAG,YADpD,QAGE,GAAIe,EAAQ,MAAMF,O,4CCpD1B/T,EAAOC,QAAU,IAA0B","file":"js/chunk-4fb8d03d.761bcafd.js","sourcesContent":["// https://github.com/tc39/proposal-string-pad-start-end\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar $repeat = require('../internals/string-repeat');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\nvar ceil = Math.ceil;\n\n// `String.prototype.{ padStart, padEnd }` methods implementation\nvar createMethod = function (IS_END) {\n return function ($this, maxLength, fillString) {\n var S = toString(requireObjectCoercible($this));\n var intMaxLength = toLength(maxLength);\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : toString(fillString);\n var fillLen, stringFiller;\n if (intMaxLength <= stringLength || fillStr == '') return S;\n fillLen = intMaxLength - stringLength;\n stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);\n return IS_END ? S + stringFiller : stringFiller + S;\n };\n};\n\nmodule.exports = {\n // `String.prototype.padStart` method\n // https://tc39.es/ecma262/#sec-string.prototype.padstart\n start: createMethod(false),\n // `String.prototype.padEnd` method\n // https://tc39.es/ecma262/#sec-string.prototype.padend\n end: createMethod(true)\n};\n","module.exports = __webpack_public_path__ + \"img/lts-order-marker.5759b755.svg\";","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./LTSMap.vue?vue&type=style&index=0&id=39dce518&lang=scss&scoped=true\"","'use strict';\nvar $ = require('../internals/export');\nvar $padStart = require('../internals/string-pad').start;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padStart` method\n// https://tc39.es/ecma262/#sec-string.prototype.padstart\n$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","module.exports = __webpack_public_path__ + \"img/lts-stop-point-marker.5c32c9f1.svg\";","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./LTSMap.vue?vue&type=style&index=1&id=39dce518&lang=scss\"","module.exports = __webpack_public_path__ + \"img/lts-start-point-marker.916a0eff.svg\";","// https://github.com/zloirock/core-js/issues/280\nvar userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /Version\\/10(?:\\.\\d+){1,2}(?: [\\w./]+)?(?: Mobile\\/\\w+)? Safari\\//.test(userAgent);\n","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, normalizeStyle as _normalizeStyle, vModelText as _vModelText, withDirectives as _withDirectives, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-39dce518\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"lts-map relative\" }\nconst _hoisted_2 = {\n class: \"bg-gray-500 m-3 rounded-lg p-2 absolute text-white text-xs flex justify-between gap-3\",\n style: {\"z-index\":\"9999\"}\n}\nconst _hoisted_3 = { class: \"w-51\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { class: \"min-w-87\" }\nconst _hoisted_6 = { class: \"w-63\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"rounded-lg bg-gray-100 absolute w-60 right-4 top-4\",\n style: {\"z-index\":\"9999\"}\n}\nconst _hoisted_8 = { class: \"font-bold text-darkText\" }\nconst _hoisted_9 = [\"id\"]\nconst _hoisted_10 = { class: \"p-3 rounded-lg shadow mt-3 playback\" }\nconst _hoisted_11 = { class: \"flex justify-between\" }\nconst _hoisted_12 = { class: \"progress-container mr-3 relative\" }\nconst _hoisted_13 = [\"disabled\"]\nconst _hoisted_14 = { class: \"flex absolute w-full\" }\nconst _hoisted_15 = {\n ref: \"visualizedPlayer\",\n class: \"flex-1 p-2 bg-gray-100 mt-3 rounded-lg relative w-100 overflow-hidden\",\n style: {\"min-height\":\"45px\"}\n}\nconst _hoisted_16 = { class: \"time-display text-right font-bold text-black\" }\nconst _hoisted_17 = { class: \"flex justify-between gap-x-3 items-center mt-1\" }\nconst _hoisted_18 = { class: \"text-black\" }\nconst _hoisted_19 = {\n role: \"button\",\n class: \"player-btn w-7 h-7 rounded-full bg-gray-100 hover:bg-gray-200 flex font-bold text-md text-black justify-center items-center\"\n}\nconst _hoisted_20 = {\n key: 0,\n class: \"bg-white mt-22 px-1 shadow absolute\",\n style: {\"z-index\":\"1000\"}\n}\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"my-3\" }, null, -1))\nconst _hoisted_22 = { class: \"flex\" }\nconst _hoisted_23 = { class: \"w-1/3\" }\nconst _hoisted_24 = { class: \"w-2/3\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BaseIcon = _resolveComponent(\"BaseIcon\")!\n const _component_OrderStatusTime = _resolveComponent(\"OrderStatusTime\")!\n const _component_LTSSummaryView = _resolveComponent(\"LTSSummaryView\")!\n const _component_LTSStopPointList = _resolveComponent(\"LTSStopPointList\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.$t('lts.speed')), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _createTextVNode(_toDisplayString(_ctx.infoScreen.speed) + \" \", 1),\n (_ctx.infoScreen.speed && _ctx.infoScreen.speed > -1)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, \"km/h\"))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.$t('lts.distanceFormLastPoint')), 1),\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(_ctx.infoScreen.distance && _ctx.infoScreen.distance > -1\n ? _ctx.infoScreen.distance >= 1000\n ? `${Number(_ctx.infoScreen.distance / 1000).toFixed(1)} km`\n : `${Number(_ctx.infoScreen.distance).toFixed(1)} m`\n : '--'), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.$t('lts.accuracy')), 1),\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(_ctx.infoScreen.accuracy), 1)\n ])\n ]),\n (_ctx.orders.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.toggleStatusMenu())),\n class: \"flex justify-between items-center pb-4 px-4 pt-5 cursor-pointer\"\n }, [\n _createElementVNode(\"p\", _hoisted_8, _toDisplayString(_ctx.$t('lts.order_status_time')), 1),\n _createVNode(_component_BaseIcon, {\n class: _normalizeClass([\"w-3 transform\", !_ctx.isStatusMenuOpen ? 'rotate-180' : '']),\n name: \"arrowcurved\"\n }, null, 8, [\"class\"])\n ]),\n (_ctx.isStatusMenuOpen)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"border-t border-[#D9D9DE] p-4 overflow-y-auto\",\n style: _normalizeStyle({maxHeight: (_ctx.mapHeight - 90) + 'px'})\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.orders, (order, index) => {\n return (_openBlock(), _createBlock(_component_OrderStatusTime, {\n key: index,\n order: order\n }, null, 8, [\"order\"]))\n }), 128))\n ], 4))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n ref: \"mapRef\",\n id: _ctx.id,\n class: \"w-full h-full overflow-hidden rounded-xl\"\n }, null, 8, _hoisted_9),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"range\",\n class: \"progress-range absolute left-0 top-8\",\n disabled: !_ctx.locations.length,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.seekPercentage) = $event)),\n onMousedown: _cache[2] || (_cache[2] = ($event: any) => (_ctx.pauseAnimation())),\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.pauseAnimation())),\n onMouseout: _cache[4] || (_cache[4] = \n//@ts-ignore\n(...args) => (_ctx.mouseOutHandler && _ctx.mouseOutHandler(...args))),\n onMouseup: _cache[5] || (_cache[5] = \n//@ts-ignore\n(...args) => (_ctx.mouseOutHandler && _ctx.mouseOutHandler(...args))),\n onInput: _cache[6] || (_cache[6] = \n//@ts-ignore\n(...args) => (_ctx.onSeek && _ctx.onSeek(...args)))\n }, null, 40, _hoisted_13), [\n [_vModelText, _ctx.seekPercentage]\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, null, 512)\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_16, _toDisplayString(_ctx.currentAnimationTime) + \" / \" + _toDisplayString(_ctx.totalAnimationDuration), 1),\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"span\", _hoisted_18, _toDisplayString(_ctx.$t('lts.speed')) + \":\", 1),\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"div\", {\n onClick: _cache[7] || (_cache[7] = ($event: any) => (_ctx.playSpeedSelection = true))\n }, _toDisplayString(_ctx.playSpeed) + \"x\", 1),\n (_ctx.playSpeedSelection)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", {\n class: \"p-2\",\n onClick: _cache[8] || (_cache[8] = _withModifiers(($event: any) => (_ctx.updatePlaySpeed(1)), [\"stop\"]))\n }, \"1x\"),\n _createElementVNode(\"div\", {\n class: \"p-2\",\n onClick: _cache[9] || (_cache[9] = _withModifiers(($event: any) => (_ctx.updatePlaySpeed(2)), [\"stop\"]))\n }, \"2x\"),\n _createElementVNode(\"div\", {\n class: \"p-2\",\n onClick: _cache[10] || (_cache[10] = _withModifiers(($event: any) => (_ctx.updatePlaySpeed(5)), [\"stop\"]))\n }, \"5x\"),\n _createElementVNode(\"div\", {\n class: \"p-2\",\n onClick: _cache[11] || (_cache[11] = _withModifiers(($event: any) => (_ctx.updatePlaySpeed(10)), [\"stop\"]))\n }, \"10x\"),\n _createElementVNode(\"div\", {\n class: \"p-2\",\n onClick: _cache[12] || (_cache[12] = _withModifiers(($event: any) => (_ctx.updatePlaySpeed(20)), [\"stop\"]))\n }, \"20x\")\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", {\n role: \"button\",\n class: _normalizeClass([\"player-btn w-7 h-7 rounded-full bg-gray-100 hover:bg-gray-200 flex\", _ctx.isPlaying ? 'pause' : 'play']),\n onClick: _cache[13] || (_cache[13] = ($event: any) => (_ctx.locations.length ? (_ctx.isPlaying ? _ctx.pauseAnimation() : _ctx.resumeAnimation()) : null))\n }, null, 2),\n _createElementVNode(\"div\", {\n role: \"button\",\n class: \"player-btn stop w-7 h-7 rounded-full bg-gray-100 hover:bg-gray-200 flex\",\n onClick: _cache[14] || (_cache[14] = \n//@ts-ignore\n(...args) => (_ctx.stopAnimation && _ctx.stopAnimation(...args)))\n })\n ])\n ])\n ]),\n _hoisted_21,\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(_component_LTSSummaryView, { summary: _ctx.summary }, null, 8, [\"summary\"])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createVNode(_component_LTSStopPointList, {\n stopPoints: _ctx.stopPoints,\n class: \"ml-3\"\n }, null, 8, [\"stopPoints\"])\n ])\n ])\n ])\n ]))\n}","\nimport { defineAsyncComponent, defineComponent, toRaw } from 'vue'\nimport moment from 'moment'\nimport BaseIcon from '@/shared/components/base-icon/BaseIcon.vue'\n\nconst google = window.google\nexport default defineComponent({\n name: 'LTSPlayer',\n components: {\n BaseIcon,\n OrderStatusTime: defineAsyncComponent(() => import('@/views/account/lts-dashboard/components/OrderStatusTime.vue')),\n LTSStopPointList: defineAsyncComponent(() => import('@/views/account/lts-dashboard/components/LTSStopPointList.vue')),\n LTSSummaryView: defineAsyncComponent(() => import('@/views/account/lts-dashboard/components/LTSSummaryView.vue'))\n },\n props: {\n id: {\n type: String,\n default: 'lts-map'\n },\n zoom: {\n type: Number,\n default: 15\n },\n locations: {\n type: Array as any,\n default: () => []\n },\n stopPoints: {\n type: Array as any,\n default: () => []\n },\n orders: {\n type: Array as any,\n default: () => []\n },\n summary: {\n type: Object,\n default: null\n }\n },\n data () {\n return {\n map: {} as any,\n route: null as any,\n marker: null as any,\n currentLocationIndex: 0,\n animationInterval: null as any,\n currentLocationPlayingPercentage: 0,\n currentStep: 0,\n isPlaying: false,\n isSeeking: false,\n seekPercentage: 0 as any,\n step: 100,\n playSpeed: 1 as any,\n playSpeedSelection: false,\n markerGroups: {\n startPoint: null as any,\n stopPoints: [] as any,\n orders: [] as any\n },\n infoScreen: {\n speed: '--',\n accuracy: '--',\n distance: '--'\n },\n isStatusMenuOpen: false,\n mapHeight: null as any,\n activeInfoWindow: null as any\n }\n },\n methods: {\n initMap () {\n setTimeout(() => {\n if (google) {\n const _center = this.locations.length ? this.getStartPointCenter() : null\n // create a map\n this.map = new google.maps.Map(document.getElementById(this.id)!, {\n center: _center || { lat: 33.312805, lng: 44.361488 },\n zoom: this.zoom,\n disableDefaultUI: true\n })\n\n this.$nextTick(() => {\n if (this.map) {\n this.initMapObjects()\n } else {\n this.initMap()\n }\n })\n } else {\n this.initMap()\n }\n }, 500)\n },\n initMapObjects () {\n if (this.locations.length) {\n this.drawRoute()\n this.marker = this.addMarker(this.locations[0].latitude, this.locations[0].longitude)\n this.addStartPointMarker(this.locations[0].latitude, this.locations[0].longitude)\n this.addStopPointsMarker()\n }\n\n this.map.addListener('click', () => {\n if (this.activeInfoWindow) {\n this.activeInfoWindow.close()\n }\n })\n\n this.addOrdersMarker()\n // this.startAnimation()\n },\n getLocationsCenter () {\n if (!this.locations.length) return false\n const bounds = new google.maps.LatLngBounds()\n for (const coordinate of this.locations) {\n const latLng = new google.maps.LatLng(coordinate.latitude, coordinate.longitude)\n bounds.extend(latLng)\n }\n return bounds.getCenter()\n },\n getStartPointCenter () {\n if (!this.locations.length) return false\n const bounds = new google.maps.LatLngBounds()\n bounds.extend(new google.maps.LatLng(this.locations[0].latitude, this.locations[0].longitude))\n return bounds.getCenter()\n },\n drawRoute () {\n if (this.route) {\n toRaw(this.route).setMap(null)\n }\n\n const routeCoordinates = this.locations.map((location: any) => ({\n lat: location.latitude,\n lng: location.longitude\n }))\n\n this.route = new google.maps.Polyline({\n path: routeCoordinates,\n geodesic: true,\n strokeColor: '#000',\n strokeOpacity: 1.0,\n strokeWeight: 3\n })\n\n this.route.setMap(this.map)\n },\n addMarker (latitude: any, longitude:any, title = '') {\n if (this.marker) {\n toRaw(this.marker).setMap(null)\n }\n const icon = {\n url: require('../../../../assets/lts-driver-icon.svg'),\n size: new google.maps.Size(36, 54),\n origin: new google.maps.Point(0, 0),\n anchor: new google.maps.Point(17, 48),\n scaledSize: new google.maps.Size(36, 54)\n }\n return new google.maps.Marker({\n position: new google.maps.LatLng(latitude, longitude),\n map: this.map,\n title: title,\n icon,\n zIndex: 9999\n })\n },\n startAnimation () {\n this.currentLocationIndex = 0\n if (this.currentLocationIndex < this.locations.length - 1) {\n this.animateMarker()\n }\n },\n pauseAnimation () {\n clearTimeout(this.animationInterval)\n this.isPlaying = false\n },\n stopAnimation () {\n this.pauseAnimation()\n this.currentLocationIndex = 0\n this.currentStep = 0\n this.currentLocationPlayingPercentage = 0\n this.seekPercentage = 0\n if (this.locations.length && this.marker) {\n this.marker.setPosition(new google.maps.LatLng(this.locations[0].latitude, this.locations[0].longitude))\n }\n },\n resumeAnimation () {\n this.animateMarker(true)\n },\n animateMarker (isResume = false) {\n const currentLocation = this.locations[this.currentLocationIndex]\n const nextLocation = this.locations[this.currentLocationIndex + 1]\n this.infoScreen = {\n speed: currentLocation.speed,\n distance: currentLocation.distance,\n accuracy: currentLocation.accuracy\n }\n if (nextLocation) {\n let startLatLng = new google.maps.LatLng(currentLocation.latitude, currentLocation.longitude)\n const endLatLng = new google.maps.LatLng(nextLocation.latitude, nextLocation.longitude)\n let duration = moment(nextLocation.timestamp).diff(currentLocation.timestamp)\n let numSteps = (duration / this.step) / this.playSpeed\n if (isResume) {\n startLatLng = this.marker.getPosition()\n duration = duration - ((duration * this.currentLocationPlayingPercentage) / 100)\n numSteps = (duration / this.step) / this.playSpeed\n } else {\n this.currentStep = 0\n }\n const stepLat = (endLatLng.lat() - startLatLng.lat()) / numSteps\n const stepLng = (endLatLng.lng() - startLatLng.lng()) / numSteps\n this.isPlaying = true\n const animateStep = () => {\n this.calculateProgressPercentage()\n if (this.currentStep < numSteps) {\n const newLatLng = new google.maps.LatLng(\n startLatLng.lat() + stepLat * this.currentStep,\n startLatLng.lng() + stepLng * this.currentStep\n )\n this.marker.setPosition(newLatLng)\n this.currentStep++\n this.animationInterval = setTimeout(animateStep, this.step / this.playSpeed)\n this.currentLocationPlayingPercentage = (this.currentStep / numSteps) * 100\n // console.log(`Location Step Step: ${this.currentLocationIndex}, Percentage: ${this.currentLocationPlayingPercentage}%`)\n } else {\n this.currentLocationIndex++\n this.animateMarker()\n }\n }\n animateStep()\n } else {\n this.isPlaying = false\n }\n },\n formatTime (seconds:number) {\n const hours = Math.floor(seconds / 3600)\n const minutes = Math.floor((seconds % 3600) / 60)\n seconds = seconds % 60\n\n if (hours > 0) {\n return `${String(hours).padStart(2, '0')}:${String(minutes).padStart(2, '0')}:${String(seconds).padStart(2, '0')}`\n } else {\n return `${String(minutes).padStart(2, '0')}:${String(seconds).padStart(2, '0')}`\n }\n },\n onSeek () {\n this.isSeeking = true\n // seek value of user\n const seekValue = parseFloat(this.seekPercentage)\n\n if (!isNaN(seekValue) && seekValue >= 0 && seekValue <= 100) {\n const totalDurationInSeconds = this.totalAnimationDuration.split(':').reduce((acc, val) => acc * 60 + +val, 0)\n const seekTimeInSeconds = (seekValue / 100) * totalDurationInSeconds\n\n // find the location\n let currentDurationInSeconds = 0\n for (let i = 0; i < this.locations.length - 1; i++) {\n const currentLocation = this.locations[i]\n const nextLocation = this.locations[i + 1]\n const duration = moment(nextLocation.timestamp).diff(currentLocation.timestamp) / 1000\n\n this.infoScreen = {\n speed: currentLocation.speed,\n distance: currentLocation.distance,\n accuracy: currentLocation.accuracy\n }\n\n const endLatLng = new google.maps.LatLng(nextLocation.latitude, nextLocation.longitude)\n const startLatLng = new google.maps.LatLng(currentLocation.latitude, currentLocation.longitude)\n const numSteps = (duration / this.step) * 1000\n if (currentDurationInSeconds + duration >= seekTimeInSeconds) {\n this.currentLocationIndex = i\n const startPointDuration = moment(this.locations[this.currentLocationIndex].timestamp)\n .diff(this.locations[0].timestamp) / 1000\n if (seekTimeInSeconds - startPointDuration > 0) {\n const stepDiff = Math.round(seekTimeInSeconds - startPointDuration)\n this.currentLocationPlayingPercentage = (stepDiff / duration) * 100\n const _duration = duration - ((duration * this.currentLocationPlayingPercentage) / 100)\n this.currentStep = (duration - _duration) * 10\n const stepLat = (endLatLng.lat() - startLatLng.lat()) / numSteps\n const stepLng = (endLatLng.lng() - startLatLng.lng()) / numSteps\n const newLatLng = new google.maps.LatLng(\n startLatLng.lat() + stepLat * this.currentStep,\n startLatLng.lng() + stepLng * this.currentStep\n )\n this.marker.setPosition(newLatLng)\n } else {\n // set new location\n const startLatLng = new google.maps.LatLng(currentLocation.latitude, currentLocation.longitude)\n this.marker.setPosition(startLatLng)\n }\n // this.resumeAnimation()\n break\n }\n\n currentDurationInSeconds += duration\n }\n }\n },\n calculateProgressPercentage () {\n if (this.locations.length < 2) {\n return 0\n }\n const totalDurationInSeconds = this.totalAnimationDuration.split(':').reduce((acc, val) => acc * 60 + +val, 0)\n const currentDurationInSeconds = this.currentAnimationTime.split(':').reduce((acc, val) => acc * 60 + +val, 0)\n this.seekPercentage = ((currentDurationInSeconds / totalDurationInSeconds) * 100)\n },\n mouseOutHandler () {\n if (!this.isPlaying && this.isSeeking) {\n this.resumeAnimation()\n }\n },\n updatePlaySpeed (speed:any) {\n this.pauseAnimation()\n this.playSpeed = speed\n this.playSpeedSelection = false\n this.resumeAnimation()\n },\n addStartPointMarker (latitude: any, longitude:any, title = 'Start point') {\n if (this.markerGroups.startPoint) {\n toRaw(this.markerGroups.startPoint).setMap(null)\n }\n const icon = {\n url: require('../../../../assets/lts-start-point-marker.svg'),\n size: new google.maps.Size(36, 54),\n origin: new google.maps.Point(0, 0),\n anchor: new google.maps.Point(17, 48),\n scaledSize: new google.maps.Size(36, 54) // scaled size\n }\n this.markerGroups.startPoint = new google.maps.Marker({\n position: new google.maps.LatLng(latitude, longitude),\n map: this.map,\n icon,\n label: {\n text: 'Start point',\n className: 'playback-start-point-label rounded-full',\n color: '#fff',\n fontWeight: 'semibold',\n fontSize: '12px'\n },\n zIndex: 99\n })\n },\n addStopPointsMarker () {\n this.markerGroups.stopPoints.map((spm:any) => {\n toRaw(spm).setMap(null)\n })\n const icon = {\n url: require('../../../../assets/lts-stop-point-marker.svg'),\n size: new google.maps.Size(36, 54),\n origin: new google.maps.Point(0, 0),\n anchor: new google.maps.Point(17, 48),\n scaledSize: new google.maps.Size(36, 54) // scaled size\n }\n this.stopPoints.map((sp:any) => {\n const infoWindow = new google.maps.InfoWindow({\n content: this.getStopPointContentData(sp)\n })\n const spMarker = new google.maps.Marker({\n position: new google.maps.LatLng(sp.latitude, sp.longitude),\n map: this.map,\n icon,\n zIndex: 98\n })\n\n spMarker.addListener('click', (event: any) => {\n if (this.activeInfoWindow) {\n this.activeInfoWindow.close()\n }\n this.activeInfoWindow = infoWindow\n infoWindow.open({\n anchor: spMarker,\n map: this.map,\n shouldFocus: false\n })\n })\n const center = new google.maps.LatLng(sp.latitude, sp.longitude)\n this.map.panTo(center)\n if (this.activeInfoWindow) {\n this.activeInfoWindow.close()\n }\n\n this.markerGroups.stopPoints.push(spMarker)\n })\n },\n getStopPointContentData (sp:any) {\n return `
\n
${this.$t('lts.stop_point')}
\n
\n
\n ${this.$t('lts.date')}:\n ${moment(sp.stop_datetime).format('DD/MM/YYYY hh:mm A')}\n
\n
\n ${this.$t('lts.duration')}:\n ${this.formatTime(sp.duration)}\n
\n
\n ${this.$t('lts.lat')}:\n ${sp.latitude}
\n
\n ${this.$t('lts.lng')}:\n ${sp.longitude}\n
\n
\n
`\n },\n addOrdersMarker () {\n this.markerGroups.orders.map((spm:any) => {\n toRaw(spm).setMap(null)\n })\n const icon = {\n url: require('../../../../assets/lts-order-marker.svg'),\n size: new google.maps.Size(24, 36),\n origin: new google.maps.Point(0, 0),\n anchor: new google.maps.Point(10, 22),\n scaledSize: new google.maps.Size(24, 36) // scaled size\n }\n this.orders.map((o:any) => {\n if (o.tripDetailsFromDarkstoreOutward) {\n const { endLocation } = o.tripDetailsFromDarkstoreOutward[0]\n const orderMarker = new google.maps.Marker({\n position: new google.maps.LatLng(endLocation.lat, endLocation.lng),\n map: this.map,\n icon,\n zIndex: 98,\n label: {\n text: o.orderId,\n className: 'playback-order-label rounded-full',\n color: '#fff',\n fontWeight: 'semibold',\n fontSize: '12px'\n }\n })\n this.markerGroups.orders.push(orderMarker)\n }\n })\n },\n toggleStatusMenu (): void {\n const mapReference: any = this.$refs?.mapRef\n this.mapHeight = mapReference.clientHeight\n this.isStatusMenuOpen = !this.isStatusMenuOpen\n },\n createStopPointTimelines () {\n const el = this.$refs.visualizedPlayer as HTMLElement\n el.innerHTML = ''\n this.stopPoints.map((sp: any) => {\n const startDatetime = moment(sp.stop_datetime)\n const firstLocation = moment(this.locations[0].timestamp)\n const lastLocation = moment(this.locations[this.locations.length - 1].timestamp)\n if (startDatetime.unix() <= lastLocation.unix() && startDatetime.unix() >= firstLocation.unix()) {\n const startPercentage = (startDatetime.diff(firstLocation) / this.totalAnimationTimeInSecond) / 10\n const timeline = document.createElement('div')\n timeline.style.backgroundColor = '#DD504BFF'\n timeline.style.height = '100%'\n timeline.style.top = '0'\n timeline.style.position = 'absolute'\n timeline.style.left = startPercentage + '%'\n timeline.style.width = (sp.duration / this.totalAnimationTimeInSecond) * 100 + '%'\n el.appendChild(timeline)\n }\n })\n },\n init () {\n if (this.locations.length) {\n this.drawRoute()\n this.marker = this.addMarker(this.locations[0].latitude, this.locations[0].longitude)\n this.addStartPointMarker(this.locations[0].latitude, this.locations[0].longitude)\n this.addStopPointsMarker()\n this.createStopPointTimelines()\n }\n }\n },\n watch: {\n isPlaying (newVal) {\n this.$emit('playStatus', newVal)\n },\n locations: {\n handler () {\n if (this.marker) {\n toRaw(this.marker).setMap(null)\n }\n this.stopAnimation()\n this.init()\n },\n deep: true\n },\n orders: {\n handler () {\n this.addOrdersMarker()\n },\n deep: true\n },\n currentAnimationTimeInSecond (newVal) {\n // fix\n if (this.playSpeed > 1) {\n const totalDurationInSeconds = this.totalAnimationDuration.split(':').reduce((acc, val) => acc * 60 + +val, 0)\n const currentDurationInSeconds = this.currentAnimationTime.split(':').reduce((acc, val) => acc * 60 + +val, 0)\n this.seekPercentage = ((currentDurationInSeconds / totalDurationInSeconds) * 100)\n }\n if (newVal >= this.totalAnimationTimeInSecond) {\n setTimeout(() => {\n this.stopAnimation()\n }, 3000)\n }\n }\n\n },\n computed: {\n totalAnimationDuration () {\n if (this.locations.length < 2) {\n return '00:00:00'\n }\n\n const firstLocation = this.locations[0]\n const lastLocation = this.locations[this.locations.length - 1]\n const totalDurationInSeconds = moment(lastLocation.timestamp).diff(firstLocation.timestamp) / 1000\n\n return this.formatTime(totalDurationInSeconds)\n },\n currentAnimationTime () {\n if (this.currentLocationIndex < 0) {\n return '00:00:00' // start value\n }\n\n if (this.currentLocationIndex >= this.locations.length - 1) {\n const totalDurationInSeconds = this.totalAnimationDuration.split(':').reduce((acc, val) => acc * 60 + +val, 0)\n return this.totalAnimationDuration\n }\n const currentLocation = this.locations[this.currentLocationIndex]\n const nextLocation = this.locations[this.currentLocationIndex + 1]\n const currentStep = this.currentStep\n\n // time of passed from beginning to right now\n const elapsedMilliseconds = currentStep * this.step\n const elapsedSeconds = elapsedMilliseconds / 1000\n\n // date time info of current location item\n const currentLocationTime = moment(currentLocation.timestamp)\n\n // elapsed time calculation\n const advancedTime = currentLocationTime.clone().add(elapsedSeconds, 'seconds')\n\n // elapsed time since first location item\n const elapsedTimeFromStart = advancedTime.diff(moment(this.locations[0].timestamp), 'seconds')\n\n return this.formatTime(elapsedTimeFromStart)\n },\n totalAnimationTimeInSecond () {\n return this.totalAnimationDuration.split(':').reduce((acc, val) => acc * 60 + +val, 0)\n },\n currentAnimationTimeInSecond () {\n return this.currentAnimationTime.split(':').reduce((acc, val) => acc * 60 + +val, 0)\n },\n completed () {\n const total = this.totalAnimationDuration.split(':').reduce((acc, val) => acc * 60 + +val, 0)\n const current = this.currentAnimationTime.split(':').reduce((acc, val) => acc * 60 + +val, 0)\n return current >= total\n }\n },\n mounted () {\n this.initMap()\n }\n})\n","import { render } from \"./LTSMap.vue?vue&type=template&id=39dce518&scoped=true&ts=true\"\nimport script from \"./LTSMap.vue?vue&type=script&lang=ts\"\nexport * from \"./LTSMap.vue?vue&type=script&lang=ts\"\n\nimport \"./LTSMap.vue?vue&type=style&index=0&id=39dce518&lang=scss&scoped=true\"\nimport \"./LTSMap.vue?vue&type=style&index=1&id=39dce518&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-39dce518\"]])\n\nexport default __exports__","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n\n var F = function F() {};\n\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","module.exports = __webpack_public_path__ + \"img/lts-driver-icon.ad1bcfd6.svg\";"],"sourceRoot":""}