(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4380f003"],{"0759":function(t,e,a){"use strict";a.d(e,"a",(function(){return v}));var r=a("2b0e"),i=a("b42e"),n=a("c637"),c=a("a723"),s=a("992e"),o=a("d82f"),l=a("cf75"),u=a("fa73"),d=a("7386"),b=a("aa0d");function h(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function p(t){for(var e=1;e100?"container-numero-may":"container-numero"},[t._v(" "+t._s(t.totalDriver)+" ")])]):t._e()])],1)],1)},i=[],n=(a("a9e3"),a("e9c4"),a("205f")),c=a("6197"),s=a("e8a3"),o=a("1321"),l=a.n(o),u=a("1dff"),d={grid:{show:!1,padding:{left:0,right:0}},chart:{toolbar:{show:!1},sparkline:{enabled:!0}},dataLabels:{enabled:!1},stroke:{curve:"smooth",width:2.5},fill:{type:"gradient",gradient:{shadeIntensity:.9,opacityFrom:.5,opacityTo:.2,stops:[0,80,100]}},xaxis:{type:"numeric",lines:{show:!1},axisBorder:{show:!1},labels:{show:!1}},yaxis:[{y:0,offsetX:0,offsetY:0,padding:{left:0,right:0}}],tooltip:{x:{show:!1}},theme:{monochrome:{enabled:!0,color:u["b"].primary,shadeTo:"light",shadeIntensity:.65}}},b=(u["b"].primary,{components:{VueApexCharts:l.a,BCard:n["a"],BCardBody:c["a"],BAvatar:s["a"]},props:{icon:{type:String,required:!0},statistic:{type:[Number,String],required:!0},statisticTitle:{type:String,default:""},color:{type:String,default:"primary"},chartData:{type:Array,default:function(){return[]}},chartOptions:{type:Object,default:null},totalDriver:{type:Number,default:0},subAllDriver:{type:String,default:""}},computed:{chartOptionsComputed:function(){if(null===this.chartOptions){var t=JSON.parse(JSON.stringify(d));return t.theme.monochrome.color=u["b"][this.color],t}return this.chartOptions}}}),h=b,p=(a("b707"),a("2877")),f=Object(p["a"])(h,r,i,!1,null,"166fe905",null);e["a"]=f.exports},af1a:function(t,e,a){"use strict";a("45cb")},b707:function(t,e,a){"use strict";a("d26b")},d168:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("b-row",{staticClass:"row-container"},[a("b-col",{attrs:{lg:"6",md:"12"}},[a("b-card",{staticClass:"cols-12 card card-congratulations",attrs:{"text-variant":"center"}},[a("b-avatar",{staticClass:"shadow mb-2",attrs:{variant:"primary",size:"70"}},[a("feather-icon",{attrs:{size:"28",icon:"AwardIcon"}})],1),a("h1",{staticClass:"mb-1 mt-50 text-white text-center"},[t._v(" Welcome, "+t._s(t.$store.getters["Users/userData"].user.name)+" ")]),a("b-card-text",{staticClass:"m-auto w-75 text-center pb-2"},[t._v(" It's not ride-sharing ..it's ride-caring ")])],1)],1),a("b-col",{attrs:{lg:"3",sm:"6"}},[a("router-link",{staticStyle:{color:"#6e6b7b"},attrs:{to:{name:"all-patient"}}},[a("StatisticCardWithAreaChart",{attrs:{statistic:"Patients","chart-data":t.series,icon:"UsersIcon","total-driver":t.allPatient,"sub-all-driver":"Patients registers","statistic-title":"Go to patients management"}})],1)],1),a("b-col",{attrs:{lg:"3",sm:"6"}},[a("router-link",{staticStyle:{color:"#6e6b7b"},attrs:{to:{name:"bookings"}}},[a("StatisticCardWithAreaChart",{attrs:{icon:"MapPinIcon",statistic:"Bookings",color:"warning","total-driver":t.allBooking,"sub-all-driver":"Bookings register","chart-data":t.ordersRecevied,"statistic-title":"Manage all your bookings"}})],1)],1)],1),a("b-row",{staticClass:"row-container",staticStyle:{"margin-top":"15px"}},[a("b-col",{attrs:{lg:"3",sm:"6"}},[a("router-link",{staticStyle:{color:"#6e6b7b"},attrs:{to:{name:"billing"}}},[a("StatisticCardWithAreaChart",{attrs:{statistic:"Billing","chart-data":t.series,icon:"DollarSignIcon","total-driver":null,"statistic-title":"Manage your billing"}})],1)],1),a("b-col",{attrs:{lg:"3",sm:"6"}},[a("router-link",{staticStyle:{color:"#6e6b7b"},attrs:{to:{name:"profile"}}},[a("StatisticCardWithAreaChart",{attrs:{icon:"UserIcon",statistic:"Profile",color:"warning","total-driver":null,"chart-data":t.ordersRecevied,"statistic-title":"Manage your profile"}})],1)],1),a("b-col",{attrs:{lg:"3",sm:"6"}},[a("router-link",{staticStyle:{color:"#6e6b7b"},attrs:{to:{name:"request-service"}}},[a("StatisticCardWithAreaChart",{attrs:{statistic:"Book a Ride","chart-data":t.series,icon:"CreditCardIcon","total-driver":null,"statistic-title":"Start booking a ride for your patients"}})],1)],1),a("b-col",{attrs:{lg:"3",sm:"6"}})],1)],1)},i=[],n=a("205f"),c=a("d6e4"),s=a("1947"),o=a("b28b"),l=a("a15b7"),u=a("4918"),d=a("e8a3"),b=a("5b50"),h={name:"HomeCorporateAcount",components:{BCard:n["a"],BCardText:c["a"],BButton:s["a"],BCol:o["a"],BRow:l["a"],BImg:u["a"],BAvatar:d["a"],StatisticCardWithAreaChart:b["a"]},data:function(){return{listClients:[],allPatient:0,user:0,allBooking:0,subscribersGained:{analyticsData:{subscribers:92600}},series:[{name:"",data:[28,40,36,52,38,60,55]}],ordersRecevied:[{name:"",data:[10,15,8,15,7,12,8]}]}},methods:{getClientes:function(){var t=this;this.$http.get("ca/".concat(this.$store.getters["Users/userData"].user.corporate_account.id,"/panel/client/search/1")).then((function(e){t.listClients=e.data.data,t.allPatient=t.listClients.length})).catch((function(t){return console.log(t.data)}))},getBookings:function(){var t=this;this.user=parseInt(this.$store.getters["Users/userData"].user.corporate_account.id),this.$http.get("ca/".concat(this.user,"/panel/booking/list")).then((function(e){var a=e.data.data;t.allBooking=a.length})).catch((function(t){return console.log(t.data)}))}},mounted:function(){this.getClientes(),this.getBookings()}},p=h,f=(a("af1a"),a("2624"),a("2877")),g=Object(f["a"])(p,r,i,!1,null,null,null);e["default"]=g.exports},d26b:function(t,e,a){},e8a3:function(t,e,a){"use strict";a.d(e,"a",(function(){return P}));var r=a("2b0e"),i=a("c637"),n=a("0056"),c=a("a723"),s=a("9b76"),o=a("7b1e"),l=a("3a58"),u=a("d82f"),d=a("cf75"),b=a("4a38"),h=a("8c18"),p=a("0759"),f=a("7386"),g=a("1947"),m=a("aa59");function v(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function O(t){for(var e=1;e