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nBC,EACNC,GAAAA,aAAAA,QAAAA,YAAAA,QAAAA,aAAAA,QAAAA,WAGA,OACAC,KAAAA,SACAC,WAAAA,CAAAL,YAAAC,cACAK,SAAAA,CACAC,MAAAA,GACAC,cAAAA,qBAEA7C,OACA,OACA8C,kBAAAA,EAAAA,GAEA,EACAC,UAEA,gBACA,2CACA,cACA,4CACA,4DAEA,mBACA,cAEA,0DAEA,EACAC,SAAAA,CACApB,kBACA,2BAEA,CACA,QACA,WACA,gBACA,iBACA,YACA,oBACA,oBACA,oBACA,cACA,0BACA,EACAqB,aACA,2CACA,EACAC,UACA,wCACA,EACAC,YACA,0CACA,EACAC,UACA,wCACA,EACAC,YACA,0CACA,EACAC,cACA,4CACA,EACAC,WACA,yCACA,GAEAC,QAAAA,CACArB,wBAEA,sCAEA,sCACA,EACAsB,SACA,mCACA,6CACA,2CACA,mCACAjB,aAAAA,WAAAA,WAEA,uBACA,0DACA,GAEAkB,QAAAA,WACAhD,QAAAA,IAAAA,WAAAA,KAAAA,UACAA,QAAAA,IACA,QACA,aACA,eACA,aACA,eACA,kBAGA,eACA,iEACA,sCACA,oCACA,sCACA,yCAEA,oCAEA,GClIyO,I,UCSrOiD,GAAY,OACd,EACAtC,EACAe,GACA,EACA,KACA,WACA,MAIF,EAAeuB,EAAiB,Q,2DCbhCC,EAAAA,WAAAA,IAAQC,EAAAA,GACRD,EAAAA,WAAAA,IAAQE,EAAAA,GAER,MAAMC,EAAS,CACd,CACCC,KAAM,IACNvB,KAAM,QACNkB,UAAWA,IAAM,4EACjBM,KAAM,CACLC,WAAY,UAGd,CACCF,KAAM,YACNvB,KAAM,WACNkB,UAAWA,IAAM,4EACjBM,KAAM,CACLE,MAAM,EACND,WAAY,YAGd,CAECF,KAAM,kBACNvB,KAAM,gBACNkB,UAAWA,IAAM,uDACjBM,KAAM,CACLE,MAAM,EACND,WAAY,oBAGd,CACCF,KAAM,mBACNvB,KAAM,iBACNkB,UAAWA,IAAM,wDACjBM,KAAM,CACLE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+f,EAAc/f,EAAK,GACnBggB,EAAUhgB,EAAK,GAGIsR,EAAI,EAC3B,GAAGyI,EAASkG,MAAK,SAASnW,GAAM,OAA+B,IAAxByV,EAAgBzV,EAAW,IAAI,CACrE,IAAIsP,KAAY2G,EACZ5G,EAAoB6B,EAAE+E,EAAa3G,KACrCD,EAAoBQ,EAAEP,GAAY2G,EAAY3G,IAGhD,GAAG4G,EAAS,IAAIjI,EAASiI,EAAQ7G,EAClC,CAEA,IADG2G,GAA4BA,EAA2B9f,GACrDsR,EAAIyI,EAAS9R,OAAQqJ,IACzB8J,EAAUrB,EAASzI,GAChB6H,EAAoB6B,EAAEuE,EAAiBnE,IAAYmE,EAAgBnE,IACrEmE,EAAgBnE,GAAS,KAE1BmE,EAAgBnE,GAAW,EAE5B,OAAOjC,EAAoBW,EAAE/B,EAC9B,EAEImI,EAAqBC,KAAK,4BAA8BA,KAAK,6BAA+B,GAChGD,EAAmBvS,QAAQkS,EAAqBnC,KAAK,KAAM,IAC3DwC,EAAmBnS,KAAO8R,EAAqBnC,KAAK,KAAMwC,EAAmBnS,KAAK2P,KAAKwC,G,ICpFvF,IAAIE,EAAsBjH,EAAoBW,OAAE7S,EAAW,CAAC,OAAO,WAAa,OAAOkS,EAAoB,KAAO,IAClHiH,EAAsBjH,EAAoBW,EAAEsG,E","sources":["webpack://doctor-diary/./src/composables/use-unread-notification-count.js","webpack://doctor-diary/./src/deviceDetails.js","webpack://doctor-diary/./src/App.vue","webpack://doctor-diary/src/App.vue","webpack://doctor-diary/./src/App.vue?c036","webpack://doctor-diary/./src/App.vue?0e40","webpack://doctor-diary/./src/router/index.js","webpack://doctor-diary/./src/plugins/vuetify.js","webpack://doctor-diary/./src/services/ExceptionLogService.js","webpack://doctor-diary/./src/main.js","webpack://doctor-diary/./src/modules/notifications/services/Notification.js","webpack://doctor-diary/./src/services/Api.js","webpack://doctor-diary/./src/statusCodes.js","webpack://doctor-diary/./src/store/verifyUserStore.js","webpack://doctor-diary/./src/store/verifyPhoneStore.js","webpack://doctor-diary/./src/store/locationStore.js","webpack://doctor-diary/./src/store/missingInfoStore.js","webpack://doctor-diary/./src/store/index.js","webpack://doctor-diary/./src/utils/indexdb.js","webpack://doctor-diary/webpack/bootstrap","webpack://doctor-diary/webpack/runtime/amd options","webpack://doctor-diary/webpack/runtime/chunk loaded","webpack://doctor-diary/webpack/runtime/compat get default export","webpack://doctor-diary/webpack/runtime/define property getters","webpack://doctor-diary/webpack/runtime/ensure chunk","webpack://doctor-diary/webpack/runtime/get javascript chunk filename","webpack://doctor-diary/webpack/runtime/get mini-css chunk filename","webpack://doctor-diary/webpack/runtime/global","webpack://doctor-diary/webpack/runtime/hasOwnProperty shorthand","webpack://doctor-diary/webpack/runtime/load script","webpack://doctor-diary/webpack/runtime/make namespace object","webpack://doctor-diary/webpack/runtime/node module decorator","webpack://doctor-diary/webpack/runtime/publicPath","webpack://doctor-diary/webpack/runtime/css loading","webpack://doctor-diary/webpack/runtime/jsonp chunk loading","webpack://doctor-diary/webpack/startup"],"sourcesContent":["import { ref } from 'vue'\r\nimport { getUnReadNotificationCount } from '@/modules/notifications/services/Notification'\r\nimport { Success } from '@/statusCodes.js'\r\n\r\nexport const count = ref(0)\r\n\r\nexport async function fetchUnreadNotificationCount() {\r\n\ttry {\r\n\t\tconst { data, error } = await getUnReadNotificationCount()\r\n\r\n\t\tif (error) throw new Error(error)\r\n\r\n\t\tconst { Message, StatusCode, Data } = data\r\n\r\n\t\tif (StatusCode !== Success) throw new Error(Message)\r\n\r\n\t\tcount.value = Data\r\n\t} catch (e) {\r\n\t\tconsole.log(e)\r\n\t}\r\n}\r\n","import platform from 'platform'\r\n\r\nimport { setItem } from './utils/indexdb'\r\n\r\nexport const AppVersion = '4.8.1'\r\nexport const OS = platform?.os?.family ?? 'unknown'\r\nexport const OSVersion = platform?.os?.version ?? 'unknown'\r\nexport const PlatformName = platform.name ?? 'unknown'\r\n\r\ntry {\r\n\tsetItem('app-version', AppVersion)\r\n\tsetItem('os', OS)\r\n\tsetItem('os-version', OSVersion)\r\n} catch (e) {\r\n\tconsole.error('did not sync to db')\r\n}\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-app',{staticClass:\"bg-app-background\",attrs:{\"id\":\"inspire\"}},[(_vm.isNotFullLayout)?_c('the-sidebar'):_vm._e(),(_vm.isNotFullLayout)?_c('v-app-bar',{staticClass:\"d-block d-lg-none d-md-none white\",staticStyle:{\"flex\":\"none\"},attrs:{\"elevation\":\"0\"}},[(!_vm.$vuetify.breakpoint.mdAndUp)?_c('v-app-bar-nav-icon',{on:{\"click\":_vm.handleAppBarIconClick}}):_vm._e()],1):_vm._e(),_c('v-main',[(_vm.isNotFullLayout)?_c('the-header'):_vm._e(),_c('router-view')],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=1a7b3ef6&scoped=true\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=1a7b3ef6&prod&scoped=true&lang=css\"\nimport style1 from \"./App.vue?vue&type=style&index=1&id=1a7b3ef6&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1a7b3ef6\",\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\r\nimport VueRouter from 'vue-router'\r\nimport VueMeta from 'vue-meta'\r\nimport store from '../store'\r\nimport nprogress from 'nprogress'\r\nimport { fetchUnreadNotificationCount } from '../composables/use-unread-notification-count'\r\n\r\nVue.use(VueRouter)\r\nVue.use(VueMeta)\r\n\r\nconst routes = [\r\n\t{\r\n\t\tpath: '/',\r\n\t\tname: 'Login',\r\n\t\tcomponent: () => import('../Base/login/views/TheLogin'),\r\n\t\tmeta: {\r\n\t\t\tscreenName: 'Login'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/register',\r\n\t\tname: 'Register',\r\n\t\tcomponent: () => import('../Base/register/views/TheRegister'),\r\n\t\tmeta: {\r\n\t\t\tauth: false,\r\n\t\t\tscreenName: 'Sign Up'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\t// TODO: change it to forgot password for same name w/ mobile app\r\n\t\tpath: '/reset-password',\r\n\t\tname: 'ResetPassword',\r\n\t\tcomponent: () => import('../Base/setPassword/views/ResetPassword'),\r\n\t\tmeta: {\r\n\t\t\tauth: false,\r\n\t\t\tscreenName: 'Forgot Password'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/create-password',\r\n\t\tname: 'CreatePassword',\r\n\t\tcomponent: () => import('../Base/setPassword/views/CreatePassword'),\r\n\t\tmeta: {\r\n\t\t\tauth: false,\r\n\t\t\tscreenName: 'Create New Password'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '*',\r\n\t\tname: 'The404Page',\r\n\t\tcomponent: () => import('../components/The404Page')\r\n\t\t// meta: {\r\n\t\t// auth: false\r\n\t\t// }\r\n\t},\r\n\t{\r\n\t\tpath: '/feedback',\r\n\t\tname: 'Feedback',\r\n\t\tcomponent: () => import('../modules/feedback/views/Feedback'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'User Feedback'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/ReportProblem',\r\n\t\tname: 'ReportProblem',\r\n\t\tcomponent: () => import('../modules/reportProblem/views/reportProblem'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'ReportAProblem'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/verify-otp',\r\n\t\tname: 'VerifyOtp',\r\n\t\tcomponent: () => import('../Base/setPassword/views/VerifyOtp'),\r\n\t\tmeta: {\r\n\t\t\tauth: false,\r\n\t\t\tscreenName: 'Forgot Otp Verify'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/verify-phone',\r\n\t\tname: 'VerifyPhoneNumber',\r\n\t\tcomponent: () => import('../Base/register/views/VerifyPhoneNumber'),\r\n\t\tmeta: {\r\n\t\t\t//auth: false,\r\n\t\t\tscreenName: 'Verify Contact Number'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/verify-phone-otp',\r\n\t\tname: 'VerifyOtpForPhone',\r\n\t\tcomponent: () => import('../Base/register/views/VerifyOtpForPhone'),\r\n\t\tmeta: {\r\n\t\t\tauth: false,\r\n\t\t\tscreenName: 'Verify Contact Number Otp'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/register-verify-otp',\r\n\t\tname: 'RegisterVerifyOtp',\r\n\t\tcomponent: () => import('../Base/register/views/RegisterVerifyOtp'),\r\n\t\tmeta: {\r\n\t\t\tauth: false,\r\n\t\t\tscreenName: 'Sign Up Verify OTP'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/dashboard',\r\n\t\tname: 'Dashboard',\r\n\t\tcomponent: () => import('../modules/dashboard/views/TheDashboard'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Dashboard'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/dashboard/new',\r\n\t\tname: 'Dashboard',\r\n\t\tcomponent: () => import('../modules/dashboard/views/DashboardNew'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Dashboard'\r\n\t\t}\r\n\t},\r\n\r\n\t{\r\n\t\tpath: '/follow-up',\r\n\t\tname: 'FollowUp',\r\n\t\tcomponent: () => import('../modules/followup/views/FollowUpList'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Follow Up',\r\n\t\t\tPageName: 'Treatment'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/patient',\r\n\t\tname: 'Patient',\r\n\t\tcomponent: () => import('../modules/patient/views/PatientList'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Patient Listing',\r\n\t\t\tPageName: 'Patient'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/patient-add/',\r\n\t\tname: 'PatientAdd',\r\n\t\tcomponent: () => import('../modules/patient/views/PatientAdd'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Add/Edit Patient',\r\n\t\t\tPageName: 'Patient',\r\n\t\t\tAction: 'AddEdit'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/patient-add/:id',\r\n\t\tname: 'PatientAddUpdate',\r\n\t\tcomponent: () => import('../modules/patient/views/PatientAdd'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Add/Edit Patient',\r\n\t\t\tPageName: 'Patient',\r\n\t\t\tAction: 'AddEdit'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/patient-detail/:id',\r\n\t\tname: 'ViewDetail',\r\n\t\tcomponent: () => import('../modules/patient/views/PatientDetail'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Patient Detail',\r\n\t\t\tPageName: 'Patient'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/patient/edit/:id',\r\n\t\tname: 'Patient Edit',\r\n\t\tcomponent: () => import('../modules/patient/views/PatientDetail'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Patient Detail',\r\n\t\t\tPageName: 'Patient'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/patient-detail',\r\n\t\tname: 'Patient Detail',\r\n\t\tcomponent: () => import('../modules/patient/views/PatientDetail'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Patient Detail',\r\n\t\t\tPageName: 'Patient'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/treatment',\r\n\t\tname: 'Treatment',\r\n\t\tcomponent: () => import('../modules/treatment/views/TreatmentList'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Treatment Listing',\r\n\t\t\tPageName: 'Treatment'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/treatment-add',\r\n\t\tname: 'Addtreatment',\r\n\t\tcomponent: () => import('../modules/treatment/views/TreatmentAdd'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Add/Edit Treatment',\r\n\t\t\tPageName: 'Treatment'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/treatment-add/:id',\r\n\t\tname: 'PatientAddtreatment',\r\n\t\tcomponent: () => import('../modules/treatment/views/TreatmentAdd'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Add/Edit Treatment',\r\n\t\t\tPageName: 'Treatment',\r\n\t\t\tAction: 'AddEdit'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/treatment/add/:type=:id',\r\n\t\tname: 'AddPatienttreatment',\r\n\t\tcomponent: () => import('../modules/treatment/views/TreatmentAdd'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Add/Edit Treatment',\r\n\t\t\tPageName: 'Treatment',\r\n\t\t\tAction: 'AddEdit'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/treatment/edit/:type=:id',\r\n\t\tname: 'Edittreatment',\r\n\t\tcomponent: () => import('../modules/treatment/views/TreatmentAdd'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Add/Edit Treatment',\r\n\t\t\tPageName: 'Treatment'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/medicine',\r\n\t\tname: 'Medicine',\r\n\t\tcomponent: () => import('../modules/medicine/views/MedicineList'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Medicine Listing'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/reports',\r\n\t\tname: 'Report',\r\n\t\tcomponent: () => import('../modules/reports/views/Report'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Report',\r\n\t\t\tPageName: 'Reports'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/profile',\r\n\t\tcomponent: () => import('../modules/profile/layouts/TheProfile.vue'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Edit Profile'\r\n\t\t},\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '',\r\n\t\t\t\tcomponent: () => import('../modules/profile/views/ProfilePersonalDetails.vue'),\r\n\t\t\t\tname: 'ProfilePersonal',\r\n\t\t\t\tmeta: {\r\n\t\t\t\t\tauth: true,\r\n\t\t\t\t\tscreenName: 'Edit Profile'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: 'education',\r\n\t\t\t\tcomponent: () => import('../modules/profile/views/ProfileEducationDetails.vue'),\r\n\t\t\t\tname: 'ProfileEducation',\r\n\t\t\t\tmeta: {\r\n\t\t\t\t\tauth: true,\r\n\t\t\t\t\tscreenName: 'Profile Education'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: 'certificate',\r\n\t\t\t\tcomponent: () => import('../modules/profile/views/ProfileCertificateDetails.vue'),\r\n\t\t\t\tname: 'ProfileCertificate',\r\n\t\t\t\tmeta: {\r\n\t\t\t\t\tauth: true,\r\n\t\t\t\t\tscreenName: 'Profile Certificate'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: 'bank-details',\r\n\t\t\t\tcomponent: () => import('../modules/profile/views/BankDetails.vue'),\r\n\t\t\t\tname: 'BankDetails',\r\n\t\t\t\tmeta: {\r\n\t\t\t\t\tauth: true,\r\n\t\t\t\t\tscreenName: 'ProfileBankInformation'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\tpath: '/subscription',\r\n\t\tname: 'Subscription',\r\n\t\tcomponent: () => import('../modules/subscription/views/subscription'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Purchase History'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/appointments',\r\n\t\tname: 'Appointments',\r\n\t\tcomponent: () => import('@/modules/appointments/views/Appointments.vue'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Appointment Listing',\r\n\t\t\tPageName: 'Appointment'\r\n\t\t}\r\n\t},\r\n\r\n\t{\r\n\t\tpath: '/call-history',\r\n\t\tname: 'call-history',\r\n\t\tcomponent: () => import('@/modules/video-consult-timings/views/video-consult-history.vue'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Video Call History'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/wallet',\r\n\t\tname: 'Wallet',\r\n\t\tcomponent: () => import('@/modules/wallet/views/wallet.vue'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'WalletList'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/plans',\r\n\t\tname: 'Plan Subscripiton',\r\n\t\tcomponent: () => import('@/modules/subscription/views/planDetails.vue'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Subscription Plan'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/sms-log',\r\n\t\tname: 'SMS Log',\r\n\t\tcomponent: () => import('../modules/smsHistory/views/smsHistory.vue'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'SMSLog'\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/settings',\r\n\t\tcomponent: () => import('../modules/setting/views/setting.vue'),\r\n\t\tmeta: {\r\n\t\t\tauth: true,\r\n\t\t\tscreenName: 'Settings'\r\n\t\t},\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '',\r\n\t\t\t\tcomponent: () => import('@/modules/setting/views/clinic-configuration.vue'),\r\n\t\t\t\tmeta: {\r\n\t\t\t\t\tauth: true,\r\n\t\t\t\t\tscreenName: 'Clinic Configuration'\r\n\t\t\t\t},\r\n\t\t\t\tchildren: [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpath: '/online-consult',\r\n\t\t\t\t\t\tname: 'Online Consult',\r\n\t\t\t\t\t\tcomponent: () =>\r\n\t\t\t\t\t\t\timport('@/modules/video-consult-timings/views/video-consult-timings.vue'),\r\n\t\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\t\tauth: true,\r\n\t\t\t\t\t\t\tscreenName: 'Clinic Configuration'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpath: '',\r\n\t\t\t\t\t\tname: 'Timeslot',\r\n\t\t\t\t\t\tcomponent: () => import('../modules/timeslot/views/TheTimeslot'),\r\n\t\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\t\tauth: true,\r\n\t\t\t\t\t\t\tscreenName: 'Clinic Configuration'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpath: '/holidays',\r\n\t\t\t\t\t\tname: 'Holidays',\r\n\t\t\t\t\t\tcomponent: () => import('@/modules/holidays/views/Holidays.vue'),\r\n\t\t\t\t\t\tmeta: {\r\n\t\t\t\t\t\t\tauth: true,\r\n\t\t\t\t\t\t\tscreenName: 'Holiday Listing'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/manage-role',\r\n\t\t\t\tname: 'Manage Role',\r\n\t\t\t\tcomponent: () => import('../modules/manageRole/views/manageRole.vue'),\r\n\t\t\t\tmeta: {\r\n\t\t\t\t\tauth: true,\r\n\t\t\t\t\tscreenName: 'Manage Role',\r\n\t\t\t\t\tPageName: 'Roles'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/manage-notifications',\r\n\t\t\t\tname: 'ManageNotifications',\r\n\t\t\t\tcomponent: () => import('@/modules/notifications/views/ManageNotifications.vue'),\r\n\t\t\t\tmeta: {\r\n\t\t\t\t\tauth: true,\r\n\t\t\t\t\tscreenName: 'Manage Notifications'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/change-password',\r\n\t\t\t\tname: 'ChangePassword',\r\n\t\t\t\tcomponent: () => import('../modules/changePassword/views/ChangePassword'),\r\n\t\t\t\tmeta: {\r\n\t\t\t\t\tauth: true,\r\n\t\t\t\t\tscreenName: 'Change Password'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/users',\r\n\t\t\t\tname: 'Users',\r\n\t\t\t\tcomponent: () => import('../modules/Users/views/users.vue'),\r\n\t\t\t\tmeta: {\r\n\t\t\t\t\tauth: true,\r\n\t\t\t\t\tscreenName: 'Manage Users',\r\n\t\t\t\t\tPageName: 'Roles'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n\t// {\r\n\t// \tpath: '/manage-role',\r\n\t// \tname: 'Manage Role',\r\n\t// \tcomponent: () => import('../modules/manageRole/views/manageRole.vue'),\r\n\t// \tmeta: {\r\n\t// \t\tauth: true,\r\n\t// \t\tscreenName: 'Manage Role'\r\n\t// \t}\r\n\t// }\r\n]\r\n\r\nconst router = new VueRouter({\r\n\troutes,\r\n\tmode: 'history'\r\n})\r\nconst pageAccess = store.getters.getPageAccess\r\n\r\nrouter.beforeEach((to, _, next) => {\r\n\tnprogress.start()\r\n\tstore.commit('setScreenName', to.meta.screenName ?? to.name ?? to.path)\r\n\tconst isLoggedIn =\r\n\t\tlocalStorage.getItem('isLogin') == true || localStorage.getItem('isLogin') == 'true'\r\n\tconst userRegion = store.getters.getUserRegion\r\n\tconst restrictedForNonIndian = [\r\n\t\t'Subscription',\r\n\t\t'Online Consult',\r\n\t\t'call-history',\r\n\t\t'Wallet',\r\n\t\t'Plan Subscripiton',\r\n\t\t'Manage Role'\r\n\t]\r\n\tif (restrictedForNonIndian.includes(to.name) && userRegion !== true) {\r\n\t\tnext({ name: 'Dashboard' })\r\n\t\treturn\r\n\t}\r\n\tif (isLoggedIn) {\r\n\t\tif (to.name === 'VerifyOtp' || to.name === 'CreatePassword') {\r\n\t\t\tnext()\r\n\t\t\treturn\r\n\t\t}\r\n\t\t// can't go to not logged in routes if logged in\r\n\t\tif (!to.meta.auth) {\r\n\t\t\t// like login, register, verify otp etc..\r\n\t\t\tif (to.meta.screenName != 'Verify Contact Number Otp') {\r\n\t\t\t\tif (to.query.enc) {\r\n\t\t\t\t\tlocalStorage.clear()\r\n\t\t\t\t\tnext({ path: `/?enc=${to.query.enc}` })\r\n\t\t\t\t\treturn\r\n\t\t\t\t} else {\r\n\t\t\t\t\tnext({ name: 'Dashboard' })\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tnext()\r\n\t\t\treturn\r\n\t\t}\r\n\t}\r\n\r\n\tif (to && to.meta && to.meta.auth) {\r\n\t\tif (!isLoggedIn) {\r\n\t\t\tnext({ name: 'Login' })\r\n\t\t\treturn\r\n\t\t}\r\n\t}\r\n\tconst pagePermission = pageAccess?.find((page) => page.PageName === to.meta.PageName)\r\n\r\n\tif (pagePermission) {\r\n\t\t// Check view permission\r\n\t\tif (to.meta.Action === 'AddEdit' && !pagePermission.AllowToAddEdit) {\r\n\t\t\tnext({ name: 'Dashboard' })\r\n\t\t\treturn\r\n\t\t} else if (!to.meta.Action && !pagePermission.AllowToView) {\r\n\t\t\tnext({ name: 'Dashboard' })\r\n\t\t\treturn\r\n\t\t}\r\n\t}\r\n\tnext()\r\n})\r\n\r\nrouter.afterEach((to) => {\r\n\tnprogress.done()\r\n\tconst protectedRoute = to.meta?.auth\r\n\r\n\tif (protectedRoute) fetchUnreadNotificationCount()\r\n})\r\n\r\nexport default router\r\n","import Vue from 'vue'\r\nimport Vuetify from 'vuetify'\r\n\r\nVue.use(Vuetify)\r\n\r\nconst vuetify = new Vuetify({\r\n\ttheme: {\r\n\t\tthemes: {\r\n\t\t\tlight: {\r\n\t\t\t\tprimary: '#303F9F',\r\n\t\t\t\tsecondary: '#FFFFFF',\r\n\t\t\t\tgrey: '#99A6B7',\r\n\t\t\t\tsuccess: '#24C9A1',\r\n\t\t\t\tsuccessLight: '#c4f3e8',\r\n\t\t\t\tdanger: '#ED6161',\r\n\t\t\t\tdangerLight: '#ffd1ce',\r\n\t\t\t\tinfo: '#2196f3'\r\n\t\t\t}\r\n\t\t},\r\n\t\toptions: {\r\n\t\t\tcustomProperties: true\r\n\t\t}\r\n\t}\r\n})\r\n\r\nexport default vuetify\r\n","import Api from '@/services/Api'\r\n\r\nexport async function ExceptionLog(body) {\r\n\ttry {\r\n\t\tconst { data } = await Api().post('ExceptionLog/LogError', body)\r\n\t\treturn { data, error: undefined }\r\n\t} catch (e) {\r\n\t\treturn { data: undefined, error: e }\r\n\t}\r\n}\r\n","import Vue from 'vue'\r\nimport VueTour from 'vue-tour'\r\nimport VueI18n from 'vue-i18n'\r\nimport VueGtag from 'vue-gtag'\r\nimport VueExpandableImage from 'vue-expandable-image'\r\nimport { Chart as ChartJS, registerables } from 'chart.js'\r\nimport { install } from 'resize-observer'\r\nimport '@mdi/font/css/materialdesignicons.css'\r\n\r\nimport App from '@/App'\r\nimport store from '@/store'\r\nimport router from '@/router'\r\nimport vuetify from '@/plugins/vuetify'\r\nimport Ads from 'vue-google-adsense'\r\nimport { ExceptionLog } from '@/services/ExceptionLogService.js'\r\nimport English from '../english.json'\r\nimport Gujarati from '../gujarati.json'\r\nimport Hindi from '../hindi.json'\r\nimport Marathi from '../marathi.json'\r\nimport Bengali from '../bengali.json'\r\nimport Kannada from '../Kannada.json'\r\nimport Punjabi from '../punjabi.json'\r\nimport Tamil from '../Tamil.json'\r\nimport Malayalam from '../Malayalam.json'\r\nimport Odia from '../Odia.json'\r\n\r\n/** CSS */\r\nimport 'vuetify/dist/vuetify.min.css'\r\n// import './assets/css/nprogress.css'\r\nimport 'vue-tour/dist/vue-tour.css'\r\n\r\nVue.config.errorHandler = function (err, vm) {\r\n\tconst currentTime = new Date().toISOString()\r\n\r\n\t// Function to extract the component name from the Vue instance\r\n\tconst getComponentName = (vm) => {\r\n\t\tif (vm.$root === vm) return 'root'\r\n\t\tconst name = vm._isVue\r\n\t\t\t? (vm.$options && vm.$options.name) || (vm.$options && vm.$options._componentTag)\r\n\t\t\t: vm.name\r\n\t\treturn (\r\n\t\t\t(name ? `<${name}>` : `anonymous component`) +\r\n\t\t\t(vm._isVue && vm.$options && vm.$options.__file ? ` at ${vm.$options.__file}` : '')\r\n\t\t)\r\n\t}\r\n\r\n\t// Function to extract the function name from the error stack\r\n\tconst getFunctionName = (err) => {\r\n\t\tconst stackLines = err.stack.split('\\n')\r\n\t\tif (stackLines.length > 1) {\r\n\t\t\tconst functionLine = stackLines[1].trim()\r\n\t\t\tconst functionName = functionLine.split(' ')[1]\r\n\t\t\treturn functionName\r\n\t\t}\r\n\t\treturn 'unknown function'\r\n\t}\r\n\r\n\tconst ErrorLog = {\r\n\t\tErrorSource: getComponentName(vm) + getFunctionName(err),\r\n\t\tErrorMessage: err.message || err.toString(),\r\n\t\tSystemErrorTime: currentTime,\r\n\t\tErrorStack: JSON.stringify(err.stack),\r\n\t\tAttachments: ''\r\n\t}\r\n\tconst formData = new FormData()\r\n\tfor (const key in ErrorLog) {\r\n\t\tformData.append(key, ErrorLog[key])\r\n\t}\r\n\r\n\tExceptionLog(formData)\r\n\tconsole.error(ErrorLog)\r\n}\r\n\r\n// if dont support resize observer then install it\r\nif (!window.ResizeObserver) install()\r\n\r\nChartJS.register(...registerables)\r\nVue.use(require('vue-script2'))\r\nVue.use(Ads.Adsense)\r\n\r\nVue.config.productionTip = false\r\nVue.prototype.$api = process.env.VUE_APP_API_URL\r\nVue.prototype.$api_base = process.env.VUE_APP_API_URL_BASE\r\nVue.prototype.$secretKey = '@rk !nf0soft K*y'\r\nVue.use(VueExpandableImage)\r\nVue.use(\r\n\tVueGtag,\r\n\t{\r\n\t\tconfig: { id: process.env.VUE_APP_FIREBASE_MEASUREMENT_ID },\r\n\t\tdisableScriptLoad: process.env.NODE_ENV !== 'production', // only run on production\r\n\t\tappName: 'Doctor diary'\r\n\t},\r\n\trouter // auto tracking page views\r\n)\r\n\r\nVue.use(VueTour)\r\nVue.use(VueI18n)\r\n\r\nconst i18n = new VueI18n({\r\n\tmessages: {\r\n\t\tEnglish, // English messages\r\n\t\tGujarati,\r\n\t\tHindi,\r\n\t\tMarathi,\r\n\t\tPunjabi,\r\n\t\tTamil,\r\n\t\tOdia,\r\n\t\tKannada,\r\n\t\tMalayalam,\r\n\t\tBengali\r\n\t}\r\n})\r\n\r\nstore.watch(\r\n\t(state) => state.language,\r\n\t(newLanguage) => {\r\n\t\ti18n.locale = newLanguage\r\n\t},\r\n\t{ immediate: true }\r\n)\r\n\r\nnew Vue({\r\n\trender: (h) => h(App),\r\n\trouter,\r\n\tstore,\r\n\tvuetify,\r\n\ti18n\r\n}).$mount('#app')\r\n","import Api from '@/services/Api'\r\n\r\nexport async function getNotificationsList(params) {\r\n\ttry {\r\n\t\tconst { data } = await Api().get('PushNotification/GetDoctorPushNotificationList', {\r\n\t\t\tparams\r\n\t\t})\r\n\t\treturn { data, error: undefined }\r\n\t} catch (e) {\r\n\t\treturn { data: undefined, error: e }\r\n\t}\r\n}\r\n\r\nexport async function getNotificationConfig() {\r\n\ttry {\r\n\t\tconst { data } = await Api().get(`Config/GetConfig`)\r\n\t\treturn { data, error: undefined }\r\n\t} catch (e) {\r\n\t\treturn { data: undefined, error: e }\r\n\t}\r\n}\r\n\r\nexport async function getUnReadNotificationCount() {\r\n\ttry {\r\n\t\tconst { data } = await Api().get('PushNotification/GetUnreadNotificationCount')\r\n\t\treturn { data, error: undefined }\r\n\t} catch (e) {\r\n\t\treturn { data: undefined, error: e }\r\n\t}\r\n}\r\n\r\n/**\r\n * Save notification config\r\n *\r\n * @param {{templateId: number, isEnable: boolean}} params\r\n * @returns\r\n */\r\nexport async function saveNotificationConfig(params) {\r\n\ttry {\r\n\t\tconst { data } = await Api().post(`Config/SaveConfig`, params)\r\n\t\treturn { data, error: undefined }\r\n\t} catch (e) {\r\n\t\treturn { data: undefined, error: e }\r\n\t}\r\n}\r\n\r\n/**\r\n * Mark specific notificaiton as read\r\n *\r\n * @param {number} notificationId\r\n * @returns\r\n */\r\nexport async function readNotification(notificationId) {\r\n\ttry {\r\n\t\tconst { data } = await Api().post(`PushNotification/ReadNotification/${notificationId}`)\r\n\t\treturn { data, error: undefined }\r\n\t} catch (e) {\r\n\t\treturn { data: undefined, error: e }\r\n\t}\r\n}\r\n","import axios from 'axios'\r\nimport store from '../store'\r\nimport Vue from 'vue'\r\nimport { AppVersion, OS, OSVersion } from '../deviceDetails'\r\nimport { Success } from '@/statusCodes.js'\r\n\r\nconst baseURL = process.env.VUE_APP_API_URL\r\n\r\nconst axiosInstance = axios.create({\r\n\tbaseURL,\r\n\theaders: {\r\n\t\tOS,\r\n\t\tOSVersion,\r\n\t\tAppVersion,\r\n\t\tPlatform: 'Web'\r\n\t},\r\n\ttimeout: 30000 // 30 sec timeout\r\n})\r\n\r\nlet isRefreshingToken = false\r\nconst refreshAndRetryQueue = []\r\n\r\naxiosInstance.interceptors.request.use(\r\n\t(config) => {\r\n\t\tconfig.headers['Authorization'] = store.getters.getToken\r\n\t\tconfig.headers['UserId'] = store.getters.getUserId\r\n\t\tconfig.headers['ScreenName'] = store.getters.getScreenName\r\n\t\tconfig.headers['DeviceId'] = store.getters['locationStore/getLocationIpAddress'] ?? 'unknown'\r\n\t\treturn config\r\n\t},\r\n\t(error) => Promise.reject(error)\r\n)\r\n\r\naxiosInstance.interceptors.response.use(\r\n\t(response) => response,\r\n\tasync (error) => {\r\n\t\tconst originalRequest = error.config\r\n\t\t// If token expired then call login api to get new token\r\n\t\tif (error?.response?.status === 401 && error?.response?.data?.StatusCode === 401) {\r\n\t\t\tif (!isRefreshingToken) {\r\n\t\t\t\tconst { error: refreshError, data } = await getrefreshToken()\r\n\r\n\t\t\t\t// do logout and redirect\r\n\t\t\t\tif (refreshError || !data) {\r\n\t\t\t\t\tstore.commit('setUserBlank')\r\n\t\t\t\t\tstore.commit('setPrescriptionList', [])\r\n\t\t\t\t\tstore.commit('setProfileImage', null)\r\n\t\t\t\t\tstore.commit('CLOSE_DRAWER')\r\n\t\t\t\t\tlocalStorage.removeItem('isLogin')\r\n\t\t\t\t\twindow.location.href = '/'\r\n\t\t\t\t\treturn Promise.reject(error)\r\n\t\t\t\t}\r\n\t\t\t\t// do logout and redirect\r\n\t\t\t\tif (data.StatusCode !== Success) {\r\n\t\t\t\t\tstore.commit('setUserBlank')\r\n\t\t\t\t\tstore.commit('setPrescriptionList', [])\r\n\t\t\t\t\tstore.commit('setProfileImage', null)\r\n\t\t\t\t\tstore.commit('CLOSE_DRAWER')\r\n\t\t\t\t\tlocalStorage.removeItem('isLogin')\r\n\t\t\t\t\twindow.location.href = '/'\r\n\t\t\t\t\treturn Promise.reject(error)\r\n\t\t\t\t}\r\n\r\n\t\t\t\terror.config.headers['Authorization'] = data.Data.Token\r\n\r\n\t\t\t\tstore.commit('setToken', data.Data.Token)\r\n\t\t\t\tstore.commit('setRefreshToken', data.Data.RefreshToken)\r\n\t\t\t\tlocalStorage.setItem('refreshToken', data.Data.RefreshToken)\r\n\r\n\t\t\t\t// Retry all requests in the queue with the new token\r\n\t\t\t\trefreshAndRetryQueue.forEach(({ config, resolve, reject }) => {\r\n\t\t\t\t\tconfig.headers['Authorization'] = data.Data.Token\r\n\t\t\t\t\taxiosInstance\r\n\t\t\t\t\t\t.request(config)\r\n\t\t\t\t\t\t.then((response) => resolve(response))\r\n\t\t\t\t\t\t.catch((err) => reject(err))\r\n\t\t\t\t})\r\n\r\n\t\t\t\t// Clear the queue\r\n\t\t\t\trefreshAndRetryQueue.length = 0\r\n\r\n\t\t\t\t// Retry the original request\r\n\t\t\t\treturn axiosInstance(originalRequest)\r\n\t\t\t}\r\n\r\n\t\t\treturn new Promise((resolve, reject) => {\r\n\t\t\t\trefreshAndRetryQueue.push({ config: originalRequest, resolve, reject })\r\n\t\t\t})\r\n\t\t}\r\n\t\treturn Promise.reject(error)\r\n\t}\r\n)\r\n\r\nexport default () => {\r\n\treturn axiosInstance\r\n}\r\nasync function getrefreshToken() {\r\n\tisRefreshingToken = true\r\n\tconst getrefreshToken = localStorage.getItem('refreshToken')\r\n\tif (getrefreshToken !== null) {\r\n\t\ttry {\r\n\t\t\tconst refreshToken = await axios.get(`${baseURL}/Authentication/RefreshToken`, {\r\n\t\t\t\theaders: {\r\n\t\t\t\t\tOS,\r\n\t\t\t\t\tOSVersion,\r\n\t\t\t\t\tAppVersion,\r\n\t\t\t\t\tPlatform: 'Web',\r\n\t\t\t\t\tUserId: store.getters.getUserId,\r\n\t\t\t\t\tScreenName: store.getters.getScreenName,\r\n\t\t\t\t\tDeviceId: store.getters['locationStore/getLocationIpAddress'] ?? 'unknown',\r\n\t\t\t\t\tAuthorization: getrefreshToken\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// localStorage.setItem('refreshToken', refreshToken.Data.RefreshToken)\r\n\r\n\t\t\treturn { data: refreshToken.data, error: undefined }\r\n\t\t} catch (e) {\r\n\t\t\treturn { data: undefined, error: e }\r\n\t\t} finally {\r\n\t\t\tisRefreshingToken = false\r\n\t\t}\r\n\t} else {\r\n\t\ttry {\r\n\t\t\tconst user = store.getters.getUser\r\n\r\n\t\t\tconst response = await axios.post(\r\n\t\t\t\t`${baseURL}/Authentication/Login`,\r\n\t\t\t\t{\r\n\t\t\t\t\tuserName: Vue.CryptoJS.AES.decrypt(user.userName, Vue.prototype.$secretKey).toString(\r\n\t\t\t\t\t\tVue.CryptoJS.enc.Utf8\r\n\t\t\t\t\t),\r\n\t\t\t\t\tpassword: Vue.CryptoJS.AES.decrypt(user.password, Vue.prototype.$secretKey).toString(\r\n\t\t\t\t\t\tVue.CryptoJS.enc.Utf8\r\n\t\t\t\t\t),\r\n\t\t\t\t\tos: OS\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\theaders: {\r\n\t\t\t\t\t\tOS,\r\n\t\t\t\t\t\tOSVersion,\r\n\t\t\t\t\t\tAppVersion,\r\n\t\t\t\t\t\tPlatform: 'Web',\r\n\t\t\t\t\t\tUserId: store.getters.getUserId,\r\n\t\t\t\t\t\tScreenName: store.getters.getScreenName,\r\n\t\t\t\t\t\tDeviceId: store.getters['locationStore/getLocationIpAddress'] ?? 'unknown'\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t)\r\n\r\n\t\t\treturn { data: response.data, error: undefined }\r\n\t\t} catch (e) {\r\n\t\t\treturn { data: undefined, error: e }\r\n\t\t} finally {\r\n\t\t\tisRefreshingToken = false\r\n\t\t}\r\n\t}\r\n}\r\n// async function refreshToken() {\r\n// \tisRefreshingToken = true\r\n// \tconst refreshToken = store.getters.getRefreshToken\r\n// \tif (refreshToken !== null) {\r\n// \t\ttry {\r\n// \t\t\tconst refreshToken = await axios.post(\r\n// \t\t\t\t`${baseURL}/Authentication/Login`,\r\n// \t\t\t\t{\r\n// \t\t\t\t\trefreshToken: refreshToken\r\n// \t\t\t\t},\r\n// \t\t\t\t{\r\n// \t\t\t\t\theaders: {\r\n// \t\t\t\t\t\tOS,\r\n// \t\t\t\t\t\tOSVersion,\r\n// \t\t\t\t\t\tAppVersion,\r\n// \t\t\t\t\t\tPlatform: 'Web',\r\n// \t\t\t\t\t\tUserId: store.getters.getUserId,\r\n// \t\t\t\t\t\tScreenName: store.getters.getScreenName,\r\n// \t\t\t\t\t\tDeviceId: store.getters['locationStore/getLocationIpAddress'] ?? 'unknown'\r\n// \t\t\t\t\t}\r\n// \t\t\t\t}\r\n// \t\t\t)\r\n\r\n// \t\t\treturn { data: refreshToken.data, error: undefined }\r\n// \t\t} catch (e) {\r\n// \t\t\treturn { data: undefined, error: e }\r\n// \t\t} finally {\r\n// \t\t\tisRefreshingToken = false\r\n// \t\t}\r\n// \t} else {\r\n// \t\ttry {\r\n// \t\t\tconst user = store.getters.getUser\r\n\r\n// \t\t\tconst response = await axios.post(\r\n// \t\t\t\t`${baseURL}/Authentication/Login`,\r\n// \t\t\t\t{\r\n// \t\t\t\t\tuserName: Vue.CryptoJS.AES.decrypt(user.userName, Vue.prototype.$secretKey).toString(\r\n// \t\t\t\t\t\tVue.CryptoJS.enc.Utf8\r\n// \t\t\t\t\t),\r\n// \t\t\t\t\tpassword: Vue.CryptoJS.AES.decrypt(user.password, Vue.prototype.$secretKey).toString(\r\n// \t\t\t\t\t\tVue.CryptoJS.enc.Utf8\r\n// \t\t\t\t\t),\r\n// \t\t\t\t\tos: OS\r\n// \t\t\t\t},\r\n// \t\t\t\t{\r\n// \t\t\t\t\theaders: {\r\n// \t\t\t\t\t\tOS,\r\n// \t\t\t\t\t\tOSVersion,\r\n// \t\t\t\t\t\tAppVersion,\r\n// \t\t\t\t\t\tPlatform: 'Web',\r\n// \t\t\t\t\t\tUserId: store.getters.getUserId,\r\n// \t\t\t\t\t\tScreenName: store.getters.getScreenName,\r\n// \t\t\t\t\t\tDeviceId: store.getters['locationStore/getLocationIpAddress'] ?? 'unknown'\r\n// \t\t\t\t\t}\r\n// \t\t\t\t}\r\n// \t\t\t)\r\n\r\n// \t\t\treturn { data: response.data, error: undefined }\r\n// \t\t} catch (e) {\r\n// \t\t\treturn { data: undefined, error: e }\r\n// \t\t} finally {\r\n// \t\t\tisRefreshingToken = false\r\n// \t\t}\r\n// \t}\r\n// }\r\n","export const Success = 1\r\nexport const Error = 0\r\nexport const Not_found = 2\r\nexport const Exist = 3\r\nexport const Warning = 4\r\n","const verifyUserStoreModule = {\r\n\tnamespaced: true,\r\n\tstate: {\r\n\t\tuserName: null,\r\n\t\tisdCode: null,\r\n\t\tcontactNo: null,\r\n\t\tcusip: null,\r\n\t\tuserId: null,\r\n\t\tisOTPCorrect: false\r\n\t},\r\n\tgetters: {\r\n\t\tHAS_VERFIFY_USER(state) {\r\n\t\t\treturn state.userName && state.cusip && state.userId\r\n\t\t},\r\n\t\tHAS_VERFIFY_USER_AND_CORRECT_OTP(state) {\r\n\t\t\treturn state.userName && state.isOTPCorrect && state.userId\r\n\t\t}\r\n\t},\r\n\tmutations: {\r\n\t\tSET_USER(state, payload) {\r\n\t\t\tstate.userName = payload.userName\r\n\t\t\tstate.cusip = payload.cusip\r\n\t\t\tstate.userId = payload.userId\r\n\r\n\t\t\tstate.isdCode = payload?.isdCode ?? null\r\n\t\t\tstate.contactNo = payload?.contactNo ?? null\r\n\t\t},\r\n\t\tSET_IS_OTP_CORRECT(state, value) {\r\n\t\t\tstate.isOTPCorrect = value\r\n\t\t},\r\n\t\tCLEAR_USER_CUSIP(state) {\r\n\t\t\tstate.cusip = null\r\n\t\t},\r\n\t\tRESET_USER_DATA(state) {\r\n\t\t\tstate.userName = null\r\n\t\t\tstate.cusip = null\r\n\t\t\tstate.userId = null\r\n\t\t\tstate.isdCode = null\r\n\t\t\tstate.contactNo = null\r\n\t\t},\r\n\t\tRESET_USER_AND_OTP(state) {\r\n\t\t\tstate.userName = null\r\n\t\t\tstate.isdCode = null\r\n\t\t\tstate.contactNo = null\r\n\t\t\tstate.userId = null\r\n\t\t\tstate.isOTPCorrect = false\r\n\t\t},\r\n\t\tRESET_ALL(state) {\r\n\t\t\tstate.userName = null\r\n\t\t\tstate.cusip = null\r\n\t\t\tstate.userId = null\r\n\t\t\tstate.isOTPCorrect = false\r\n\t\t\tstate.isdCode = false\r\n\t\t\tstate.contactNo = false\r\n\t\t}\r\n\t}\r\n}\r\n\r\nexport default verifyUserStoreModule\r\n","const verifyPhoneStoreModule = {\r\n\tnamespaced: true,\r\n\tstate: {\r\n\t\tcountry: null,\r\n\t\tcontactNo: null,\r\n\t\tisdCode: null,\r\n\t\tuserId: null,\r\n\t\tcusip: null,\r\n\t\tisOTPCorrect: false,\r\n\t\tisVerifyPhone: false,\r\n\t\tredirectTo: null,\r\n\t\tIMRWarningMessage: null // if present then after verification show it in profile.\r\n\t},\r\n\tgetters: {\r\n\t\tHAS_VERFIFY_PHONE(state) {\r\n\t\t\treturn state.contactNo && state.cusip && state.userId\r\n\t\t},\r\n\t\tHAS_VERFIFY_PHONE_AND_CORRECT_OTP(state) {\r\n\t\t\treturn state.contactNo && state.isOTPCorrect && state.userId\r\n\t\t},\r\n\t\tGET_PHONE_STATUS(state) {\r\n\t\t\treturn state.isVerifyPhone\r\n\t\t}\r\n\t},\r\n\tmutations: {\r\n\t\tSET_DATA(state, payload) {\r\n\t\t\tstate.country = payload.country\r\n\t\t\tstate.contactNo = payload.contactNo\r\n\t\t\tstate.isdCode = payload.isdCode\r\n\t\t\tstate.cusip = payload.cusip\r\n\t\t\tstate.userId = payload.userId\r\n\t\t\tstate.redirectTo = payload.redirectTo\r\n\t\t\tstate.IMRWarningMessage = payload?.IMRWarningMessage ?? null\r\n\t\t},\r\n\t\tSET_VERIFY_PHONE_STATUS(state, value) {\r\n\t\t\tstate.isVerifyPhone = value\r\n\t\t},\r\n\t\tSET_IS_OTP_CORRECT(state, value) {\r\n\t\t\tstate.isOTPCorrect = value\r\n\t\t},\r\n\t\tCLEAR_PHONE_CUSIP(state) {\r\n\t\t\tstate.cusip = null\r\n\t\t},\r\n\t\tRESET_PHONE_DATA(state) {\r\n\t\t\tstate.country = null\r\n\t\t\tstate.contactNo = null\r\n\t\t\tstate.isdCode = null\r\n\t\t\tstate.cusip = null\r\n\t\t\tstate.userId = null\r\n\t\t},\r\n\t\tRESET_USER_AND_OTP(state) {\r\n\t\t\tstate.country = null\r\n\t\t\tstate.contactNo = null\r\n\t\t\tstate.isdCode = null\r\n\t\t\tstate.userId = null\r\n\t\t\tstate.isOTPCorrect = false\r\n\t\t\tstate.isVerifyPhone = false\r\n\t\t},\r\n\t\tRESET_ALL(state) {\r\n\t\t\tstate.country = null\r\n\t\t\tstate.contactNo = null\r\n\t\t\tstate.isdCode = null\r\n\t\t\tstate.cusip = null\r\n\t\t\tstate.userId = null\r\n\t\t\tstate.isOTPCorrect = false\r\n\t\t\tstate.isVerifyPhone = false\r\n\t\t\tstate.redirectTo = null\r\n\t\t\tstate.IMRWarningMessage = null\r\n\t\t}\r\n\t}\r\n}\r\n\r\nexport default verifyPhoneStoreModule\r\n","import axios from 'axios'\r\n\r\nexport const locationStoreModule = {\r\n\tnamespaced: true,\r\n\tstate: {\r\n\t\tlocation: null\r\n\t},\r\n\tmutations: {\r\n\t\tSET_LOCATION(state, payload) {\r\n\t\t\tstate.location = payload.location\r\n\t\t}\r\n\t},\r\n\tactions: {\r\n\t\tGET_USER_LOCATION_DATA: async (context) => {\r\n\t\t\tif (context.state.location !== null) {\r\n\t\t\t\treturn { data: context.state.location, error: undefined }\r\n\t\t\t}\r\n\r\n\t\t\ttry {\r\n\t\t\t\tconst ipResponse = await axios.get('https://api.ipify.org?format=json')\r\n\r\n\t\t\t\tif (ipResponse.status !== 200 || !ipResponse.data.ip)\r\n\t\t\t\t\tthrow new Error('cant retrive ip from api')\r\n\r\n\t\t\t\tconst res = await axios.get(`https://ipapi.co/${ipResponse.data.ip}/json/`)\r\n\r\n\t\t\t\tif (res.status !== 200 || !res.data) throw new Error('cant retrive location from api')\r\n\r\n\t\t\t\tcontext.commit('SET_LOCATION', { location: res.data })\r\n\r\n\t\t\t\treturn { data: res.data, error: undefined }\r\n\t\t\t} catch (e) {\r\n\t\t\t\treturn { data: undefined, error: 'cant retrive location data from api' }\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tgetters: {\r\n\t\tgetLocationIpAddress(state) {\r\n\t\t\treturn state.location ? state.location.ip : null\r\n\t\t}\r\n\t}\r\n}\r\n","export const missingInfoStore = {\r\n\tnamespaced: true,\r\n\tstate: {\r\n\t\tisOpen: false,\r\n\t\tallInfos: undefined,\r\n\t\timportantInfos: undefined,\r\n\t\tnotImportantInfos: undefined,\r\n\t\tbackgroundInfos: undefined,\r\n\t\timportantHighestPriorityMissingInfo: undefined,\r\n\t\tcurrentMissingInfo: undefined,\r\n\t\tcurrentRequiredMissingFields: {}\r\n\t},\r\n\tmutations: {\r\n\t\tSET_ALL_INFO(state, payload) {\r\n\t\t\tstate.allInfos = payload.allInfos\r\n\r\n\t\t\tstate.importantInfos = payload.allInfos.filter(\r\n\t\t\t\t(i) => i.IsForcefully && i.NavigationParam !== 'Background'\r\n\t\t\t)\r\n\t\t\tstate.notImportantInfos = payload.allInfos\r\n\t\t\t\t.filter((i) => !i.IsForcefully && i.NavigationParam !== 'Background')\r\n\t\t\t\t.sort((a, b) => a.DisplayPriority - b.DisplayPriority)\r\n\r\n\t\t\tstate.backgroundInfos = payload.allInfos.filter((i) => i.NavigationParam === 'Background')\r\n\r\n\t\t\tif (state.importantInfos.length) {\r\n\t\t\t\t// Extract highest priority info\r\n\t\t\t\t// Note: Lower priority means its important here 0 > 1\r\n\t\t\t\tstate.importantHighestPriorityMissingInfo = state.importantInfos.reduce(\r\n\t\t\t\t\t(highestPriority, info) => {\r\n\t\t\t\t\t\treturn info.DisplayPriority < highestPriority.DisplayPriority ? info : highestPriority\r\n\t\t\t\t\t},\r\n\t\t\t\t\tstate.importantInfos[0]\r\n\t\t\t\t)\r\n\r\n\t\t\t\tstate.isOpen = true // open dialog\r\n\t\t\t} else {\r\n\t\t\t\tstate.isOpen = false // close dialog\r\n\t\t\t}\r\n\t\t},\r\n\t\tSET_IS_OPEN(state, open) {\r\n\t\t\tstate.isOpen = open\r\n\t\t},\r\n\t\tSET_CURRENT_MISSING_INFO(state, info) {\r\n\t\t\tstate.currentMissingInfo = info\r\n\r\n\t\t\tstate.currentRequiredMissingFields = info\r\n\t\t\t\t? info.FrontEndField.split(',').reduce((fields, key) => {\r\n\t\t\t\t\t\tfields[key] = true\r\n\t\t\t\t\t\treturn fields\r\n\t\t\t\t }, {})\r\n\t\t\t\t: {}\r\n\t\t}\r\n\t}\r\n}\r\n","import Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport createPersistedState from 'vuex-persistedstate'\r\nimport verifyUserStoreModule from './verifyUserStore.js'\r\nimport verifyPhoneStoreModule from './verifyPhoneStore.js'\r\nimport { locationStoreModule } from './locationStore.js'\r\nimport { missingInfoStore } from './missingInfoStore.js'\r\nimport VueCryptojs from 'vue-cryptojs'\r\nimport { setItem, deleteItem } from '../utils/indexdb.js'\r\n\r\nVue.use(Vuex)\r\nVue.use(VueCryptojs)\r\n\r\nexport default new Vuex.Store({\r\n\tnamespace: true,\r\n\tmodules: {\r\n\t\tverifyUserStore: verifyUserStoreModule,\r\n\t\tlocationStore: locationStoreModule,\r\n\t\tverifyPhoneStore: verifyPhoneStoreModule,\r\n\t\tmissingInfoStore\r\n\t},\r\n\tstate: {\r\n\t\tdrawer: false,\r\n\t\tmini: true,\r\n\t\ttoken: '',\r\n\t\trefreshToken: '',\r\n\t\tid: '',\r\n\t\tname: '',\r\n\t\temail: '',\r\n\t\tcountry: null,\r\n\t\tisdCode: null,\r\n\t\tcontact: null,\r\n\t\tqrCode: null,\r\n\t\tconsultancyFees: null,\r\n\t\tuser: {\r\n\t\t\tuserName: '',\r\n\t\t\tpassword: ''\r\n\t\t},\r\n\t\tsectionInfo: null,\r\n\t\tprescription: [],\r\n\t\tprofileImage: '',\r\n\t\tscreenName: null,\r\n\t\tposition: {\r\n\t\t\tlat: null,\r\n\t\t\tlong: null\r\n\t\t},\r\n\t\tappVersion: null,\r\n\t\tuserRegion: null,\r\n\t\tisSubscribe: null,\r\n\t\tAccessDataInDay: null,\r\n\t\tpageAccess: null,\r\n\t\tisOwner: null,\r\n\t\tNewUser: false,\r\n\t\tDashboard: true,\r\n\t\tPatient: true,\r\n\t\tTreatment: true,\r\n\t\tAppointment: true,\r\n\t\tlanguage: 'en'\r\n\t},\r\n\tplugins: [\r\n\t\tcreatePersistedState({\r\n\t\t\tpaths: [\r\n\t\t\t\t'id',\r\n\t\t\t\t'token',\r\n\t\t\t\t'user',\r\n\t\t\t\t'name',\r\n\t\t\t\t'email',\r\n\t\t\t\t'country',\r\n\t\t\t\t'prescription',\r\n\t\t\t\t'profileImage',\r\n\t\t\t\t'isdCode',\r\n\t\t\t\t'appVersion',\r\n\t\t\t\t'userRegion',\r\n\t\t\t\t'isSubscribe',\r\n\t\t\t\t'AccessDataInDay',\r\n\t\t\t\t'pageAccess',\r\n\t\t\t\t'isOwner',\r\n\t\t\t\t'Dashboard',\r\n\t\t\t\t'Patient',\r\n\t\t\t\t'Treatment',\r\n\t\t\t\t'Appointment',\r\n\t\t\t\t'NewUser',\r\n\t\t\t\t'language'\r\n\t\t\t]\r\n\t\t})\r\n\t],\r\n\tmutations: {\r\n\t\tCLOSE_DRAWER(state) {\r\n\t\t\tstate.drawer = false\r\n\t\t\tstate.mini = true\r\n\t\t},\r\n\t\ttoggleDrawer(state) {\r\n\t\t\tstate.drawer = !state.drawer\r\n\t\t},\r\n\t\ttoggleMini(state, paylod) {\r\n\t\t\tstate.mini = paylod\r\n\t\t},\r\n\t\tsetToken(state, token) {\r\n\t\t\tstate.token = token\r\n\t\t\tif (token) setItem('token', token)\r\n\t\t\telse deleteItem('token')\r\n\t\t},\r\n\t\tsetRefreshToken(state, refreshToken) {\r\n\t\t\tstate.refreshToken = refreshToken\r\n\t\t\tif (refreshToken) setItem('refreshToken', refreshToken)\r\n\t\t\telse deleteItem('refreshToken')\r\n\t\t},\r\n\t\tsetUserId(state, id) {\r\n\t\t\tstate.id = id\r\n\t\t\tif (id) setItem('userId', id)\r\n\t\t\telse deleteItem('userId')\r\n\t\t},\r\n\t\tsetUserName(state, name) {\r\n\t\t\tstate.name = name\r\n\t\t},\r\n\t\tsetUserEmail(state, email) {\r\n\t\t\tstate.email = email\r\n\t\t},\r\n\t\tsetUserCountry(state, country) {\r\n\t\t\tstate.country = country\r\n\t\t},\r\n\t\tsetUserIsd(state, isdCode) {\r\n\t\t\tstate.isdCode = isdCode\r\n\t\t},\r\n\t\tsetScreenName(state, screenName) {\r\n\t\t\tstate.screenName = screenName\r\n\t\t},\r\n\t\tsetUserBlank(state) {\r\n\t\t\tstate.token = ''\r\n\t\t\tstate.refreshToken = ''\r\n\t\t\tstate.id = ''\r\n\t\t\tstate.name = null\r\n\t\t\tstate.email = null\r\n\t\t\tstate.country = null\r\n\t\t\tstate.isdCode = null\r\n\t\t\tstate.profileImage = ''\r\n\t\t\tstate.contact = null\r\n\t\t\tstate.qrCode = null\r\n\t\t\tstate.consultancyFees = null\r\n\t\t\tstate.language = 'English'\r\n\t\t\tdeleteItem('userId')\r\n\t\t\tdeleteItem('token')\r\n\t\t\tdeleteItem('refreshToken')\r\n\t\t},\r\n\t\tsetUser(state, user) {\r\n\t\t\tstate.user = user\r\n\t\t},\r\n\t\tsetPrescriptionList(state, prescription) {\r\n\t\t\tstate.prescription = prescription\r\n\t\t},\r\n\t\tsetProfileImage(state, image) {\r\n\t\t\tstate.profileImage = image\r\n\t\t},\r\n\t\tsetUserPosition(state, { lat, long }) {\r\n\t\t\tstate.position.lat = lat\r\n\t\t\tstate.position.long = long\r\n\t\t},\r\n\t\tsetUserData(state, user) {\r\n\t\t\tstate.name = user.name\r\n\t\t\tstate.email = user.email\r\n\t\t\tstate.country = user.country\r\n\t\t\tstate.isdCode = user.isdCode\r\n\t\t\tstate.profileImage = user.profileImage\r\n\t\t\tstate.contact = user.contact\r\n\t\t\tstate.qrCode = user.qrCode\r\n\t\t\tstate.consultancyFees = user.consultancyFees\r\n\t\t},\r\n\t\tsetSectionInfo(state, payload) {\r\n\t\t\tstate.sectionInfo = payload\r\n\t\t},\r\n\t\tsetAppVersion(state, appVersion) {\r\n\t\t\tstate.appVersion = appVersion\r\n\t\t\tsetItem('app-version', appVersion)\r\n\t\t},\r\n\t\tsetUserRegion(state, region) {\r\n\t\t\tstate.userRegion = region\r\n\t\t},\r\n\t\tsetisSubscribe(state, isSubscribe) {\r\n\t\t\tstate.isSubscribe = isSubscribe\r\n\t\t},\r\n\t\tsetAccessDataInDay(state, AccessDataInDay) {\r\n\t\t\tstate.AccessDataInDay = AccessDataInDay\r\n\t\t},\r\n\t\tsetPageAccess(state, pageAccess) {\r\n\t\t\tstate.pageAccess = pageAccess\r\n\t\t},\r\n\t\tsetisOwner(state, isOwner) {\r\n\t\t\tstate.isOwner = isOwner\r\n\t\t},\r\n\t\tsetNewUser(state, value) {\r\n\t\t\tstate.NewUser = value\r\n\t\t},\r\n\t\tsetDashboard(state, value) {\r\n\t\t\tstate.Dashboard = value\r\n\t\t},\r\n\t\tsetPatient(state, value) {\r\n\t\t\tstate.Patient = value\r\n\t\t},\r\n\t\tsetTreatment(state, value) {\r\n\t\t\tstate.Treatment = value\r\n\t\t},\r\n\t\tsetAppointment(state, value) {\r\n\t\t\tstate.Appointment = value\r\n\t\t},\r\n\t\tsetLanguage(state, value) {\r\n\t\t\tstate.language = value\r\n\t\t}\r\n\t},\r\n\tactions: {\r\n\t\tTOGGLE_DRAWER({ commit }) {\r\n\t\t\tcommit('toggleDrawer')\r\n\t\t},\r\n\t\tTOGGLE_MINI({ commit }, paylod) {\r\n\t\t\tcommit('toggleMini', paylod)\r\n\t\t},\r\n\t\tsetUserRegion(state, region) {\r\n\t\t\tstate.userRegion = region\r\n\t\t},\r\n\t\tsetisSubscribe(state, isSubscribe) {\r\n\t\t\tstate.isSubscribe = isSubscribe\r\n\t\t},\r\n\t\tsetAccessDataInDay(state, AccessDataInDay) {\r\n\t\t\tstate.AccessDataInDay = AccessDataInDay\r\n\t\t},\r\n\t\tsetPageAccess(state, pageAccess) {\r\n\t\t\tstate.pageAccess = pageAccess\r\n\t\t},\r\n\t\tsetisOwner(state, isOwner) {\r\n\t\t\tstate.isOwner = isOwner\r\n\t\t},\r\n\t\tsetNewUser(state, value) {\r\n\t\t\tstate.NewUser = value\r\n\t\t},\r\n\t\tsetDashboard(state, value) {\r\n\t\t\tstate.Dashboard = value\r\n\t\t},\r\n\t\tsetPatient(state, value) {\r\n\t\t\tstate.Patient = value\r\n\t\t},\r\n\t\tsetTreatment(state, value) {\r\n\t\t\tstate.Treatment = value\r\n\t\t},\r\n\t\tsetAppointment(state, value) {\r\n\t\t\tstate.Appointment = value\r\n\t\t},\r\n\t\tsetLanguage(state, value) {\r\n\t\t\tstate.language = value\r\n\t\t}\r\n\t},\r\n\tgetters: {\r\n\t\tgetUserRegion(state) {\r\n\t\t\treturn state.userRegion\r\n\t\t},\r\n getContact(state) {\r\n return state.contact\r\n },\r\n\t\tgetisSubscribe(state) {\r\n\t\t\treturn state.isSubscribe\r\n\t\t},\r\n\t\tgetAccessDataInDay(state) {\r\n\t\t\treturn state.AccessDataInDay\r\n\t\t},\r\n\t\tgetPageAccess(state) {\r\n\t\t\treturn state.pageAccess\r\n\t\t},\r\n\t\tgetisOwner(state) {\r\n\t\t\treturn state.isOwner\r\n\t\t},\r\n\t\tDRAWER_STATE(state) {\r\n\t\t\treturn state.drawer\r\n\t\t},\r\n\t\tgetToken(state) {\r\n\t\t\tsetItem('token', state.token)\r\n\t\t\treturn state.token\r\n\t\t},\r\n\t\tgetUserId(state) {\r\n\t\t\tsetItem('userId', state.id)\r\n\t\t\treturn state.id\r\n\t\t},\r\n\t\tgetUserName(state) {\r\n\t\t\treturn state.name\r\n\t\t},\r\n\t\tgetUserEmail(state) {\r\n\t\t\treturn state.email\r\n\t\t},\r\n\t\tgetUserCountry(state) {\r\n\t\t\treturn state.country\r\n\t\t},\r\n\t\tgetUserIsd(state) {\r\n\t\t\treturn state.isdCode\r\n\t\t},\r\n\t\tgetUser(state) {\r\n\t\t\treturn state.user\r\n\t\t},\r\n\t\tgetRefreshToken(state) {\r\n\t\t\treturn state.refreshToken\r\n\t\t},\r\n\t\tgetPrescriptionList(state) {\r\n\t\t\treturn state.prescription\r\n\t\t},\r\n\t\tgetProfileImage(state) {\r\n\t\t\treturn state.profileImage\r\n\t\t},\r\n\t\tgetScreenName(state) {\r\n\t\t\treturn state.screenName\r\n\t\t},\r\n\t\tgetAppVersion(state) {\r\n\t\t\treturn state.appVersion\r\n\t\t},\r\n\t\tgetNewUser(state) {\r\n\t\t\treturn state.NewUser\r\n\t\t},\r\n\t\tgetDashboard(state) {\r\n\t\t\treturn state.Dashboard\r\n\t\t},\r\n\t\tgetPatient(state) {\r\n\t\t\treturn state.Patient\r\n\t\t},\r\n\t\tgetTreatment(state) {\r\n\t\t\treturn state.Treatment\r\n\t\t},\r\n\t\tgetAppointment(state) {\r\n\t\t\treturn state.Appointment\r\n\t\t},\r\n\t\tgetLanguage(state) {\r\n\t\t\treturn state.language\r\n\t\t}\r\n\t}\r\n})\r\n","function promiseWrapper(dbRequest) {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tdbRequest.oncomplete = dbRequest.onsuccess = () => resolve(dbRequest.result)\r\n\t\tdbRequest.onabort = dbRequest.onerror = () => reject(dbRequest.error)\r\n\t})\r\n}\r\n\r\nlet db = undefined\r\n\r\nfunction getDatabase() {\r\n\tif (db) return db\r\n\r\n\tdb = (function (dbName, storeName) {\r\n\t\tconst dbOpenRequest = indexedDB.open(dbName)\r\n\t\tdbOpenRequest.onupgradeneeded = () => dbOpenRequest.result.createObjectStore(storeName)\r\n\t\tconst dbPromiseWrapper = promiseWrapper(dbOpenRequest)\r\n\t\treturn (action, callback) =>\r\n\t\t\tdbPromiseWrapper.then((db) =>\r\n\t\t\t\tcallback(db.transaction(storeName, action).objectStore(storeName))\r\n\t\t\t)\r\n\t})('doctor-diary-database', 'doctor-diary-store')\r\n\r\n\treturn db\r\n}\r\n\r\nexport function getItem(key, dbInstance = getDatabase()) {\r\n\treturn dbInstance('readonly', (transaction) => promiseWrapper(transaction.get(key)))\r\n}\r\n\r\nexport function setItem(key, value, dbInstance = getDatabase()) {\r\n\treturn dbInstance('readwrite', (transaction) => {\r\n\t\ttransaction.put(value, key)\r\n\t\treturn promiseWrapper(transaction)\r\n\t})\r\n}\r\n\r\nexport function deleteItem(key, dbInstance = getDatabase()) {\r\n\treturn dbInstance('readwrite', (transaction) => {\r\n\t\ttransaction.delete(key)\r\n\t\treturn promiseWrapper(transaction)\r\n\t})\r\n}\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"39\":\"d239069c\",\"96\":\"bba263da\",\"158\":\"d3a8fc8f\",\"302\":\"dcd741be\",\"381\":\"05ad1ff6\",\"552\":\"68898345\",\"1016\":\"090f5e00\",\"1068\":\"22f50d42\",\"1119\":\"1d4692a0\",\"1198\":\"a9990198\",\"1520\":\"0fc50f56\",\"1799\":\"06ddd368\",\"2118\":\"6742dca7\",\"2205\":\"9dfb2b76\",\"2207\":\"d890e4cc\",\"2307\":\"ff3a0987\",\"2340\":\"f509bf73\",\"2390\":\"63ad6c52\",\"2451\":\"423fe729\",\"2745\":\"32cd89a8\",\"2966\":\"dbbc78d1\",\"3075\":\"624b6a71\",\"3093\":\"fb452074\",\"3104\":\"4b2713fa\",\"3133\":\"294a6432\",\"3173\":\"1200e75d\",\"3552\":\"64f3c77e\",\"3982\":\"1cbba01c\",\"4081\":\"bf73d46b\",\"4677\":\"0eaa2b0f\",\"4772\":\"cfed7438\",\"4805\":\"3d32ab4f\",\"4882\":\"8137e359\",\"5226\":\"18735cb2\",\"5477\":\"2bb30b3e\",\"5618\":\"dbdf64e8\",\"5628\":\"4d76c16a\",\"5654\":\"9c605c13\",\"5874\":\"b56264f8\",\"5984\":\"a6c969f8\",\"6055\":\"55a850e3\",\"6174\":\"2a288883\",\"6314\":\"a8f52dd7\",\"6360\":\"471dbaf4\",\"6389\":\"cb779322\",\"7089\":\"58bcf384\",\"7206\":\"c221ceee\",\"7218\":\"ffafe8c4\",\"7384\":\"30ca0369\",\"7545\":\"88de0eef\",\"7581\":\"4fa082b2\",\"7615\":\"107c251f\",\"8022\":\"c36adb3a\",\"8036\":\"912c3ac6\",\"8174\":\"6d3f78a4\",\"8453\":\"3783248e\",\"8639\":\"1b3c08b4\",\"8740\":\"edcd8c30\",\"8774\":\"596fe3e7\",\"8822\":\"418f27ba\",\"8875\":\"13c7b1e6\",\"9147\":\"2e9bab2f\",\"9176\":\"fdf662e7\",\"9255\":\"c2999194\",\"9341\":\"77b6ecfd\",\"9373\":\"4e08e55e\",\"9487\":\"6b0fab6f\",\"9534\":\"bfd32090\",\"9847\":\"e0a9c55a\",\"9958\":\"bc3ce6ff\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + {\"39\":\"f5610cfd\",\"96\":\"9658e2a8\",\"158\":\"2d650f39\",\"302\":\"7fd01a10\",\"552\":\"8af137d8\",\"1016\":\"99a03b87\",\"1068\":\"90ddfdc7\",\"1198\":\"3f4b7be7\",\"1799\":\"89d73ed7\",\"2207\":\"1246de22\",\"2307\":\"89d73ed7\",\"2340\":\"da3368f0\",\"2390\":\"8c17a754\",\"2451\":\"114b8ea8\",\"2745\":\"4520b428\",\"2966\":\"ed53118a\",\"3075\":\"41c1ac83\",\"3093\":\"fa56dc60\",\"3104\":\"9425de7b\",\"3133\":\"1a063ac8\",\"3173\":\"7c10c4c9\",\"3552\":\"0c7e6ccc\",\"4081\":\"538ee619\",\"4772\":\"573f318b\",\"4805\":\"a7efe6e5\",\"4882\":\"b3e62b21\",\"5477\":\"cfd33321\",\"5618\":\"1e36a57a\",\"5628\":\"5fb0ceb7\",\"5654\":\"e13a2366\",\"5984\":\"289ce5bd\",\"6055\":\"a5fd8329\",\"6174\":\"7f74c045\",\"6314\":\"c5cdc400\",\"6360\":\"89d73ed7\",\"6389\":\"06813ec9\",\"7089\":\"c5cdc400\",\"7206\":\"91fdf11f\",\"7218\":\"9ccc432f\",\"7384\":\"6845e475\",\"7545\":\"ad1d6881\",\"7615\":\"ce0f0fa3\",\"8022\":\"ce0f0fa3\",\"8036\":\"5571c3b8\",\"8453\":\"795a2067\",\"8639\":\"89d73ed7\",\"8740\":\"a9cd0604\",\"8875\":\"1ca648ce\",\"9176\":\"d9467aca\",\"9255\":\"af1e383c\",\"9341\":\"576e0d64\",\"9373\":\"f69f1eb7\",\"9487\":\"1161e169\",\"9534\":\"06813ec9\",\"9958\":\"89d73ed7\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"doctor-diary:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t2143: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"39\":1,\"96\":1,\"158\":1,\"302\":1,\"552\":1,\"1016\":1,\"1068\":1,\"1198\":1,\"1799\":1,\"2207\":1,\"2307\":1,\"2340\":1,\"2390\":1,\"2451\":1,\"2745\":1,\"2966\":1,\"3075\":1,\"3093\":1,\"3104\":1,\"3133\":1,\"3173\":1,\"3552\":1,\"4081\":1,\"4772\":1,\"4805\":1,\"4882\":1,\"5477\":1,\"5618\":1,\"5628\":1,\"5654\":1,\"5984\":1,\"6055\":1,\"6174\":1,\"6314\":1,\"6360\":1,\"6389\":1,\"7089\":1,\"7206\":1,\"7218\":1,\"7384\":1,\"7545\":1,\"7615\":1,\"8022\":1,\"8036\":1,\"8453\":1,\"8639\":1,\"8740\":1,\"8875\":1,\"9176\":1,\"9255\":1,\"9341\":1,\"9373\":1,\"9487\":1,\"9534\":1,\"9958\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t2143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(1068|7615|9341)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkdoctor_diary\"] = self[\"webpackChunkdoctor_diary\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [4998], function() { return __webpack_require__(6772); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["count","ref","async","fetchUnreadNotificationCount","data","error","getUnReadNotificationCount","Error","Message","StatusCode","Data","Success","value","e","console","log","AppVersion","OS","platform","os","family","OSVersion","version","PlatformName","setItem","render","_vm","this","_c","_self","staticClass","attrs","isNotFullLayout","_e","staticStyle","$vuetify","breakpoint","mdAndUp","on","handleAppBarIconClick","staticRenderFns","TheHeader","TheSidebar","isLoggedIn","localStorage","name","components","metaInfo","title","titleTemplate","currentAppVersion","created","computed","appVersion","NewUser","Dashboard","Patient","Treatment","Appointment","Language","methods","logout","mounted","component","Vue","VueRouter","VueMeta","routes","path","meta","screenName","auth","PageName","Action","children","router","mode","pageAccess","store","beforeEach","to","_","next","nprogress","getItem","userRegion","restrictedForNonIndian","includes","query","enc","clear","pagePermission","find","page","AllowToAddEdit","AllowToView","afterEach","protectedRoute","Vuetify","vuetify","theme","themes","light","primary","secondary","grey","success","successLight","danger","dangerLight","info","options","customProperties","ExceptionLog","body","Api","post","undefined","err","vm","currentTime","Date","toISOString","getComponentName","$root","_isVue","$options","_componentTag","__file","getFunctionName","stackLines","stack","split","length","functionLine","trim","functionName","ErrorLog","ErrorSource","ErrorMessage","message","toString","SystemErrorTime","ErrorStack","JSON","stringify","Attachments","formData","FormData","key","append","window","ResizeObserver","install","ChartJS","registerables","require","Ads","process","VueExpandableImage","VueGtag","config","id","disableScriptLoad","appName","VueTour","VueI18n","i18n","messages","English","Gujarati","Hindi","Marathi","Punjabi","Tamil","Odia","Kannada","Malayalam","Bengali","state","language","newLanguage","locale","immediate","h","App","$mount","getNotificationsList","params","get","getNotificationConfig","saveNotificationConfig","baseURL","axiosInstance","axios","headers","Platform","timeout","isRefreshingToken","refreshAndRetryQueue","getrefreshToken","refreshToken","UserId","ScreenName","DeviceId","Authorization","user","response","userName","password","interceptors","request","use","Promise","reject","originalRequest","status","refreshError","removeItem","location","href","Token","RefreshToken","forEach","resolve","then","catch","push","Not_found","Exist","Warning","verifyUserStoreModule","namespaced","isdCode","contactNo","cusip","userId","isOTPCorrect","getters","HAS_VERFIFY_USER","HAS_VERFIFY_USER_AND_CORRECT_OTP","mutations","SET_USER","payload","SET_IS_OTP_CORRECT","CLEAR_USER_CUSIP","RESET_USER_DATA","RESET_USER_AND_OTP","RESET_ALL","verifyPhoneStoreModule","country","isVerifyPhone","redirectTo","IMRWarningMessage","HAS_VERFIFY_PHONE","HAS_VERFIFY_PHONE_AND_CORRECT_OTP","GET_PHONE_STATUS","SET_DATA","SET_VERIFY_PHONE_STATUS","CLEAR_PHONE_CUSIP","RESET_PHONE_DATA","locationStoreModule","SET_LOCATION","actions","GET_USER_LOCATION_DATA","context","ipResponse","ip","res","commit","getLocationIpAddress","missingInfoStore","isOpen","allInfos","importantInfos","notImportantInfos","backgroundInfos","importantHighestPriorityMissingInfo","currentMissingInfo","currentRequiredMissingFields","SET_ALL_INFO","filter","i","IsForcefully","NavigationParam","sort","a","b","DisplayPriority","reduce","highestPriority","SET_IS_OPEN","open","SET_CURRENT_MISSING_INFO","FrontEndField","fields","Vuex","VueCryptojs","namespace","modules","verifyUserStore","locationStore","verifyPhoneStore","drawer","mini","token","email","contact","qrCode","consultancyFees","sectionInfo","prescription","profileImage","position","lat","long","isSubscribe","AccessDataInDay","isOwner","plugins","createPersistedState","paths","CLOSE_DRAWER","toggleDrawer","toggleMini","paylod","setToken","deleteItem","setRefreshToken","setUserId","setUserName","setUserEmail","setUserCountry","setUserIsd","setScreenName","setUserBlank","setUser","setPrescriptionList","setProfileImage","image","setUserPosition","setUserData","setSectionInfo","setAppVersion","setUserRegion","region","setisSubscribe","setAccessDataInDay","setPageAccess","setisOwner","setNewUser","setDashboard","setPatient","setTreatment","setAppointment","setLanguage","TOGGLE_DRAWER","TOGGLE_MINI","getUserRegion","getContact","getisSubscribe","getAccessDataInDay","getPageAccess","getisOwner","DRAWER_STATE","getToken","getUserId","getUserName","getUserEmail","getUserCountry","getUserIsd","getUser","getRefreshToken","getPrescriptionList","getProfileImage","getScreenName","getAppVersion","getNewUser","getDashboard","getPatient","getTreatment","getAppointment","getLanguage","promiseWrapper","dbRequest","oncomplete","onsuccess","result","onabort","onerror","db","getDatabase","dbName","storeName","dbOpenRequest","indexedDB","onupgradeneeded","createObjectStore","dbPromiseWrapper","action","callback","transaction","objectStore","dbInstance","put","delete","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","loaded","__webpack_modules__","call","m","amdO","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","definition","o","defineProperty","enumerable","f","chunkId","all","promises","u","miniCssF","g","globalThis","Function","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","nc","setAttribute","src","onScriptComplete","prev","event","onload","clearTimeout","doneFns","parentNode","removeChild","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","nmd","p","createStylesheet","fullhref","oldTag","linkTag","rel","onLinkComplete","errorType","realHref","code","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","test","promise","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}