text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6f5e971b"],{"00c8":function(t,e,i){"use strict";var s=i("0ed1"),n=i.n(s);n.a},"0ed1":function(t,e,i){},"8cb2":function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.busy?s("div",{staticStyle:{width:"100%",height:"1200px",position:"fixed","z-index":"200",background:"radial-gradient(circle, rgba(33,35,57,0.36738445378151263) 0%, rgba(34,33,48,0.33657212885154064) 100%)"}},[s("p",{staticClass:"animated infinite bounce font-bold font-times text-2xl text-black",staticStyle:{"margin-top":"50vh","margin-left":"30vw"}},[t._v("LOADING ...")])]):t._e(),s("div",{staticClass:"text-center d-sm-none"},[t.menuTrigger?t._e():s("v-touch",{staticStyle:{width:"20px",background:"transparent",height:"100vh",position:"absolute",left:"0","z-index":"10001"},on:{swiperight:t.onSwipeRight}})],1),s("div",{staticClass:"container-fluid anim shadow-lg",staticStyle:{background:"#343A40"}},[s("div",{staticClass:"row anim"},[s("div",{staticClass:"anim col-4 col-sm-3 col-md-2 p-1 rounded-lg",staticStyle:{position:"fixed",padding:"0",margin:"0",height:"100px"},style:{background:t.bgleft1}},[s("div",{staticClass:"text-center text-white font-bold text-times text-xs",staticStyle:{height:"40px",margin:"none","padding-top":"10px"},style:{background:t.bgleft2}},[s("p",{staticClass:"text-white font-bold text-center"},[t._v("ATAS KIRI")]),t._m(0)]),s("div",{staticClass:"text-center p-1",staticStyle:{"z-index":"100"},style:{background:t.bgleft2}},[t._m(1),s("div",{staticClass:"bord hover:bg-blue-800 text-left pl-1 font-italic",staticStyle:{"border-top":"2px solid black",color:"white","font-size":"13px"},attrs:{id:"pertamaclick"},on:{click:function(e){return t.muncul(e)}}},[t._v(" Menu "),s("span",{staticClass:"typcn typcn-arrow-down float-right"})]),s("ul",{staticClass:"isaktif sm:pl-2 anim mb-3 text-white animated slideInRight ",staticStyle:{background:"#232E30"}},[s("li",{staticClass:"bord hover:text-blue-600 text-left ",staticStyle:{"font-size":"11px"},on:{click:function(e){return t.$router.push("/driver/admin/user")}}},[s("span",{staticClass:"typcn typcn-user pr-2"}),t._v("User ")])]),s("div",{staticClass:"bord hover:text-blue-500 text-left pl-3 mt-2",staticStyle:{"border-top":"2px solid black","font-size":"13px"},on:{click:function(e){return t.$router.push("/driver/admin")}}},[t._v(" DASHBOARD ")])])]),s("div",{staticClass:"bg-black anim",class:{"col-8 col-sm-9 col-md-10 offset-4 offset-sm-3 offset-md-2":t.menuTrigger,"col-sm-12":!t.menuTrigger}},[s("div",{staticClass:"row"},[s("div",{class:t.classMenu,staticStyle:{padding:"0",margin:"0",position:"fixed","z-index":"100"}},[s("div",{staticClass:"pt-2",staticStyle:{height:"50px",margin:"none",padding:"3px"},style:{background:t.bgrighttop}},[s("button",{staticClass:"btn btn-sm btn-dark ml-3",attrs:{type:"button"},on:{click:function(e){t.menuTrigger=!t.menuTrigger}}},[t._m(2)]),s("div",{staticClass:"text-center",staticStyle:{position:"absolute",width:"60%","margin-top":"-33px",left:"20%"}},[s("img",{staticClass:"kinoLightBox img-fluid mx-auto",staticStyle:{height:"30px"},attrs:{src:i("3933")},on:{click:function(e){return t.$router.push("/driver/admin")}}})]),[s("div",{staticStyle:{position:"absolute",right:"10px",top:"5px"}},[s("button",{staticClass:"btn text-white mr-2",staticStyle:{"margin-top":"4px"},attrs:{type:"button"},on:{click:function(e){t.menuKanan=!t.menuKanan}}},[s("div",{staticClass:"tips"},[s("p",{directives:[{name:"show",rawName:"v-show",value:"0"!=t.notifn,expression:"notifn!='0'"}],staticClass:"btn btn-sm rounded-circle btn-danger text-white absolute font-bold",staticStyle:{right:"20px"}},[t._v(t._s(t.notifn))]),s("i",{staticClass:"fas fa-ellipsis-h"}),s("span",{staticClass:"tipstextB"},[t._v("Profile")])])])])]],2)]),s("div",{staticClass:"col-sm-12",staticStyle:{background:"#eceff4","min-height":"100vh",padding:"0",margin:"0"},on:{click:function(e){t.menuTrigger=!1,t.menuKanan=!1}}},[s("br"),s("br"),s("div",{staticClass:"sm:mt-2 sm:p-2"},[s("router-view",{directives:[{name:"myimage",rawName:"v-myimage"},{name:"reload",rawName:"v-reload"}],staticStyle:{"z-index":"10"}})],1)])])])]),s("transition",{attrs:{tag:"div","enter-active-class":"animated fadeInRight","leave-active-class":"animated fadeOutRight",mode:"in-out"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.menuKanan,expression:"menuKanan"}],staticClass:" border-1 border-grey shadow-md rounded-bl-lg",staticStyle:{position:"fixed","z-index":"11",right:"0",top:"0",width:"210px",height:"100vh","box-shadow":"1px 1px 2px 1.5px black"}},[s("br"),s("br"),s("br"),s("p",{staticClass:"p-2 border-2 text-sm font-times",on:{click:function(e){t.$router.push("/driver/profile"),t.menuKanan=!t.menuKanan}}},[s("span",{staticClass:"typcn typcn-user"}),t._v(" Profile ")]),s("p",{staticClass:"p-2 border-2 text-sm font-times text-red",on:{click:function(e){t.logout,t.menuKanan=!t.menuKanan}}},[s("span",{staticClass:"typcn typcn-eject"}),t._v(" Logout ")]),s("hr",{staticClass:"style13",staticStyle:{margin:"0"}}),s("p",{staticClass:"text-center font-times"},[t._v("Notifikasi!")]),s("hr",{staticClass:"style13",staticStyle:{margin:"0"}}),s("div",{staticStyle:{"overflow-y":"scroll",height:"400px"}})])])],1)])},n=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticStyle:{position:"relative"}},[s("img",{staticStyle:{position:"absolute",left:"50%",transform:"translateX(-50%) translateY(0)"},attrs:{src:i("3933")}})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"sm:p-3 text-center",staticStyle:{"border-bottom":"1px solid gray"}},[i("br"),i("br"),i("br")])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"tips"},[i("i",{staticClass:"fas fa-th",staticStyle:{color:"white","margin-left":"50px"}}),i("span",{staticClass:"tipstextB"},[t._v("Slide")])])}],a=(i("4160"),i("159b"),i("bc3a"),i("8aa5")),o=i.n(a),r=(i("6821"),i("80f4"),o.a.firestore(),i("03a0")),c={components:{},data:function(){return{notifs:[],classMenu:"col-sm-12",notifn:0,count:0,bgleft1:"#343A40",bgleft2:"#232e30",bgleft3:"#343A40",bgrighttop:"#1A3B4E",test:1,menuTrigger:!1,menuKanan:!1,bearer:"",busy:!1}},beforeMount:function(){this.$store.state.users||this.$store.dispatch("celogin",{true:!0,false:"/"})},watch:{menuTrigger:function(){var t=this;console.log(this.menuTrigger),this.menuTrigger?setTimeout((function(){t.classMenu="col-sm-10"}),300):this.classMenu="col-sm-12"}},methods:{exits:function(){document.addEventListener("deviceready",(function(t){navigator.app.exitApp()}),!0)},distanceToNow:function(t){return this.$datefns.distanceInWordsToNow(new Date(t),{locale:r,includeSeconds:!0})},logout:function(){this.$store.dispatch("logout"),localStorage.removeItem("login"),this.$router.push("/")},muncul:function(t){t.target.nextElementSibling.classList.toggle("isaktif")},onSwipeRight:function(){this.menuTrigger=!0},scrollOnLoad:function(){var t=this;this.$el.querySelectorAll("a.scrollactive-item").forEach((function(e){e.hash==t.$route.hash&&e.click()}))},version:function(){null==localStorage.getItem("version")&&localStorage.setItem("version",1)},newStuff:function(){if(localStorage.getItem("newstuff")!=this.$store.state.version){var t=indexedDB.deleteDatabase(this.$store.state.indexdb);t.onsuccess=function(){console.log("Deleted database successfully")},t.onerror=function(){console.log("Couldn't delete database")},t.onblocked=function(){console.log("Couldn't delete database due to the operation being blocked")},localStorage.clear(),localStorage.setItem("newstuff",this.$store.state.version),alert("new version")}},mediaQueries:function(){this.$store.commit("mediaQueries",window.innerWidth<=576?"sm":window.innerWidth<=768?"md":window.innerWidth<=992?"lg":"xl")},init:function(){this.scrollOnLoad(),this.version()}},mounted:function(){var t=this,e=this;this.mediaQueries(),this.$nextTick((function(){window.addEventListener("resize",(function(){e.mediaQueries()}))})),this.init(),setTimeout((function(){t.$store.commit("nossr",!0)}),100),this.$nuxt.$on("busy",(function(e){t.busy=e}))}},l=c,d=(i("00c8"),i("2877")),u=Object(d["a"])(l,s,n,!1,null,"5171045a",null);e["default"]=u.exports}}]);
  //# sourceMappingURL=chunk-6f5e971b.8a2c6e00.js.map