\r\n \r\n \r\n \r\n \r\n\r\n\r\n
Fort Request\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n\r\n\r\n\r\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!./App.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!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=3e6eea1c\"\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=3e6eea1c&prod&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 null,\n null\n \n)\n\nexport default component.exports","import Vue from \"vue\";\r\nimport { AclInstaller, AclCreate, AclRule } from \"vue-acl\";\r\nimport router from \"./../router\";\r\n\r\nVue.use(AclInstaller);\r\n\r\nlet initialRole = \"anonymous\";\r\nlet userInfo = JSON.parse(localStorage.getItem(\"userInfo\"));\r\nif (userInfo && userInfo.userRole) initialRole = userInfo.userRole;\r\n\r\nexport default new AclCreate({\r\n initial: initialRole,\r\n notfound: \"/pages/login\",\r\n router,\r\n acceptLocalRules: true,\r\n globalRules: {\r\n notAuthenticated: new AclRule(\"anonymous\").generate(),\r\n admin: new AclRule(\"admin\").or(\"anonymous\").generate(),\r\n editor: new AclRule(\"editor\").or(\"anonymous\").or(\"admin\").generate(),\r\n all: new AclRule(\"admin\").or(\"anonymous\").generate(),\r\n anonymous: new AclRule(\"anonymous\").or(\"patient\").or(\"admin\").or(\"editor\").or(\"doctor\").or(\"hospital\").or(\"hospitalgroup\"),\r\n patient: new AclRule(\"patient\").or(\"editor\"),\r\n doctor: new AclRule(\"doctor\").or(\"editor\"),\r\n hospital: new AclRule(\"hospital\").or(\"editor\"),\r\n hospitalgroup: new AclRule(\"hospitalgroup\").or(\"editor\"),\r\n hospitaldoctor: new AclRule(\"doctor\").or(\"hospital\").or(\"hospitalgroup\").generate(),\r\n\r\n }\r\n});\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"convstooltip\",staticClass:\"con-vs-tooltip\",on:{\"mouseleave\":_vm.mouseleavex,\"mouseenter\":_vm.mouseenterx,\"mouseup\":_vm.destroy}},[_c('transition',{attrs:{\"name\":\"tooltip-fade\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.active),expression:\"active\"}],ref:\"vstooltip\",staticClass:\"vs-tooltip\",class:[\n `vs-tooltip-${_vm.positionx || _vm.position}`,\n `vs-tooltip-${_vm.color}`,\n { 'after-none': _vm.noneAfter }\n ],style:(_vm.style)},[(_vm.title)?_c('h4',[_vm._v(_vm._s(_vm.title))]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.text)+\" \")])]),_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\r\n insertBody(elx){\r\n document.body.insertBefore(elx, document.body.firstChild)\r\n },\r\n removeBody(element) {\r\n let bodyx = document.body\r\n bodyx.removeChild(element);\r\n },\r\n changePosition(elx,content,conditional){\r\n let topx = 0\r\n let leftx = 0\r\n let widthx = 0\r\n let scrollTopx = window.pageYOffset || document.documentElement.scrollTop;\r\n if(elx.getBoundingClientRect().top + 300 >= window.innerHeight) {\r\n setTimeout( ()=> {\r\n if(conditional){\r\n topx = (elx.getBoundingClientRect().top - content.clientHeight) + scrollTopx\r\n } else {\r\n topx = (elx.getBoundingClientRect().top - content.clientHeight + elx.clientHeight) + scrollTopx\r\n }\r\n }, 1);\r\n\r\n } else {\r\n topx = conditional?(elx.getBoundingClientRect().top + elx.clientHeight) + scrollTopx + 5:elx.getBoundingClientRect().top + scrollTopx\r\n }\r\n\r\n leftx = elx.getBoundingClientRect().left\r\n widthx = elx.offsetWidth\r\n\r\n let cords = {\r\n left: `${leftx}px`,\r\n top: `${topx}px`,\r\n width: `${widthx}px`\r\n }\r\n\r\n return cords\r\n },\r\n}\r\n","