{"version":3,"sources":["webpack:///./src/common/components/svg/IconDangerCircle.vue","webpack:///src/common/components/svg/IconDangerCircle.vue","webpack:///./src/common/components/svg/IconDangerCircle.vue?963e","webpack:///./src/common/components/svg/IconDangerCircle.vue?637f","webpack:///./src/common/components/svg/IconCheckCircle.vue","webpack:///src/common/components/svg/IconCheckCircle.vue","webpack:///./src/common/components/svg/IconCheckCircle.vue?14a8","webpack:///./src/common/components/svg/IconCheckCircle.vue?0456","webpack:///./src/modules/delivery/view/Agents.vue?b9ef","webpack:///./src/modules/delivery/view/Agents.vue","webpack:///src/modules/delivery/view/Agents.vue","webpack:///./src/modules/delivery/view/Agents.vue?9418","webpack:///./src/modules/delivery/view/Agents.vue?2fee"],"names":["render","_vm","this","_c","_self","attrs","size","color","staticClass","staticRenderFns","components","IconBase","name","props","type","Number","default","String","component","agents","fields","scopedSlots","_u","key","fn","data","item","is_active","is_available","class","battery_level","_v","_s","nativeOn","$event","seeLocation","longitude","latitude","ref","staticStyle","center","accessToken","mapStyle","on","onMapLoaded","_l","agent","fleet_id","slot","Layout","MglGeolocateControl","MglMap","MglMarker","MglNavigationControl","MglPopup","IconCheckCircle","IconDangerCircle","process","autocompleteOptions","componentRestrictions","country","coordinates","computed","label","sortable","methods","getAgents","_this","_asyncToGenerator","_regeneratorRuntime","mark","_callee","response","wrap","_context","prev","next","loading","http","post","api_key","sent","t0","console","log","finish","stop","long","lat","$refs","agentsMap","map","easeTo","zoom","_this2","_callee2","_context2","mapbox","Mapbox","created","_this3","_callee3","_context3"],"mappings":"kHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,YAAY,CAACE,MAAM,CAAC,MAAQJ,EAAIK,KAAO,KAAK,KAAOL,EAAIM,MAAM,QAAU,cAAc,CAACJ,EAAG,IAAI,CAACE,MAAM,CAAC,GAAK,8BAA8B,CAACF,EAAG,OAAO,CAACK,YAAY,QAAQH,MAAM,CAAC,GAA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KAAA,EAEAR,EAAAU,SAAA,EAAAH,EAAAE,KAAA,EACAE,IAAAC,KAAA,8CACA,CACAC,QAAA,2DAEA,OAJAR,EAAAE,EAAAO,KAKAd,EAAAhD,OAAAqD,EAAA/C,UAAAiD,EAAAE,KAAA,gBAAAF,EAAAC,KAAA,EAAAD,EAAAQ,GAAAR,EAAA,YAEAS,QAAAC,IAAAV,EAAAQ,IAAA,QAEA,OAFAR,EAAAC,KAAA,GAEAR,EAAAU,SAAA,EAAAH,EAAAW,OAAA,6BAAAX,EAAAY,UAAAf,EAAA,uBAZAH,IAeAjC,YAAA,SAAAoD,EAAAC,GACA,KAAAC,MAAAC,UAAAC,IAAAC,OAAA,CACApD,OAAA,CAAA+C,EAAAC,GACAK,KAAA,MAGAjD,YAAA,eAAAkD,EAAA,YAAA1B,eAAAC,iBAAAC,MAAA,SAAAyB,IAAA,OAAA1B,iBAAAI,MAAA,SAAAuB,GAAA,eAAAA,EAAArB,KAAAqB,EAAApB,MAAA,OACAkB,EAAAG,OAAAC,IAAA,wBAAAF,EAAAV,UAAAS,MADA3B,KAIA+B,QAAA,eAAAC,EAAA,YAAAhC,eAAAC,iBAAAC,MAAA,SAAA+B,IAAA,OAAAhC,iBAAAI,MAAA,SAAA6B,GAAA,eAAAA,EAAA3B,KAAA2B,EAAA1B,MAAA,cAAA0B,EAAA1B,KAAA,EACAwB,EAAAlC,YAAA,wBAAAoC,EAAAhB,UAAAe,MADAjC,KCrH6W,I,wBCQzWlD,EAAY,eACd,EACAlB,EACAS,GACA,EACA,KACA,WACA,MAIa,aAAAS,E","file":"js/chunk-3dc5b952.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('icon-base',{attrs:{\"width\":_vm.size + 'px',\"fill\":_vm.color,\"viewBox\":\"0 0 24 24\"}},[_c('g',{attrs:{\"id\":\"exclamation-circle-Filled\"}},[_c('path',{staticClass:\"cls-1\",attrs:{\"id\":\"exclamation-circle-Filled-2\",\"data-name\":\"exclamation-circle-Filled\",\"d\":\"M12,2A10,10,0,1,0,22,12,10.016,10.016,0,0,0,12,2Zm0,15a1,1,0,1,1,1-1A1,1,0,0,1,12,17Zm1-5a1,1,0,0,1-2,0V8a1,1,0,0,1,2,0Z\"}})])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IconDangerCircle.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IconDangerCircle.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./IconDangerCircle.vue?vue&type=template&id=7bacb36d\"\nimport script from \"./IconDangerCircle.vue?vue&type=script&lang=js\"\nexport * from \"./IconDangerCircle.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('icon-base',{attrs:{\"width\":_vm.size + 'px',\"fill\":_vm.color,\"viewBox\":\"0 0 15.426 15.426\"}},[_c('path',{attrs:{\"id\":\"Path_602\",\"data-name\":\"Path 602\",\"d\":\"M400.97,57.658a7.713,7.713,0,1,1-7.713-7.713,7.713,7.713,0,0,1,7.713,7.713\",\"transform\":\"translate(-385.544 -49.945)\"}}),_c('path',{attrs:{\"id\":\"Path_603\",\"data-name\":\"Path 603\",\"d\":\"M401.08,60.979l-4.316,4.329a.884.884,0,0,1-.6.247.855.855,0,0,1-.587-.247l-2.021-2.021a.842.842,0,0,1,0-1.187.827.827,0,0,1,1.174,0l1.434,1.434,3.729-3.729a.842.842,0,0,1,1.187,0,.826.826,0,0,1,0,1.173\",\"transform\":\"translate(-389.605 -54.845)\",\"fill\":\"#fff\"}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IconCheckCircle.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IconCheckCircle.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./IconCheckCircle.vue?vue&type=template&id=c068c242\"\nimport script from \"./IconCheckCircle.vue?vue&type=script&lang=js\"\nexport * from \"./IconCheckCircle.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Agents.vue?vue&type=style&index=0&id=2f4e3610&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('layout',[_c('b-table',{staticClass:\"mt-4\",attrs:{\"items\":_vm.agents,\"fields\":_vm.fields,\"responsive\":\"\",\"hover\":\"\",\"striped\":\"\",\"thead-class\":\"green-bg bg-primary text-white\"},scopedSlots:_vm._u([{key:\"cell(is_active)\",fn:function(data){return [(data.item.is_active)?_c('icon-check-circle',{attrs:{\"color\":'#02a499'}}):_c('icon-danger-circle',{attrs:{\"color\":'#ec4561'}})]}},{key:\"cell(is_available)\",fn:function(data){return [(data.item.is_available)?_c('icon-check-circle',{attrs:{\"color\":'#02a499'}}):_c('icon-danger-circle',{attrs:{\"color\":'#ec4561'}})]}},{key:\"cell(battery_level)\",fn:function(data){return [_c('div',{class:[data.item.battery_level > 70 ? 'text-success' : data.item.battery_level > 30 ? 'text-warning' : 'text-danger']},[_vm._v(\" \"+_vm._s(data.item.battery_level)+\" % \")])]}},{key:\"cell(actions)\",fn:function(data){return [_c('div',[_c('eva-icon',{attrs:{\"name\":\"pin\",\"fill\":\"#02a499\"},nativeOn:{\"click\":function($event){return _vm.seeLocation(data.item.longitude, data.item.latitude)}}})],1)]}}])}),_c('mgl-map',{ref:\"agentsMap\",staticStyle:{\"height\":\"55vh\"},attrs:{\"center\":_vm.center,\"accessToken\":_vm.accessToken,\"zoom\":7,\"dragRotate\":false,\"mapStyle\":_vm.mapStyle},on:{\"load\":_vm.onMapLoaded}},[_vm._l((_vm.agents),function(agent){return _c('mgl-marker',{key:agent.fleet_id,attrs:{\"coordinates\":[agent.longitude, agent.latitude],\"draggable\":false,\"color\":\"#c40316\"}},[_c('div',{attrs:{\"slot\":\"marker\"},slot:\"marker\"},[_c('svg',{attrs:{\"width\":\"30px\",\"height\":\"30px\",\"viewBox\":\"0 0 24 24\",\"fill\":\"#ec4561\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"d\":\"M1.5 12C1.5 6.20101 6.20101 1.5 12 1.5C17.799 1.5 22.5 6.20101 22.5 12C22.5 17.799 17.799 22.5 12 22.5C6.20101 22.5 1.5 17.799 1.5 12ZM14.248 9.75C14.248 10.9926 13.2416 12 12 12C10.7584 12 9.75197 10.9926 9.75197 9.75C9.75197 8.50736 10.7584 7.5 12 7.5C13.2416 7.5 14.248 8.50736 14.248 9.75ZM16.8057 16.9195C17.9737 15.7453 16.6528 14.25 14.9974 14.25H9.00262C7.34722 14.25 6.02632 15.7453 7.19428 16.9195C8.29702 18.0281 10.0569 18.75 12 18.75C13.9431 18.75 15.703 18.0281 16.8057 16.9195Z\"}})])]),_c('mgl-popup',[_c('div',[_c('h4',[_vm._v(_vm._s(agent.name))])])])],1)}),_c('mgl-geolocate-control',{attrs:{\"trackUserLocation\":true,\"position\":\"top-right\"}}),_c('mgl-navigation-control',{attrs:{\"position\":\"top-right\"}})],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n \n \n \n \n 70 ? 'text-success' : data.item.battery_level > 30 ? 'text-warning' : 'text-danger']\">\n {{data.item.battery_level}} %\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{agent.name}}\n \n \n \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Agents.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Agents.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Agents.vue?vue&type=template&id=2f4e3610&scoped=true\"\nimport script from \"./Agents.vue?vue&type=script&lang=js\"\nexport * from \"./Agents.vue?vue&type=script&lang=js\"\nimport style0 from \"./Agents.vue?vue&type=style&index=0&id=2f4e3610&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2f4e3610\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}