\r\n\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!./Header.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!./Header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Header.vue?vue&type=template&id=6eb4f26a&scoped=true&\"\nimport script from \"./Header.vue?vue&type=script&lang=js&\"\nexport * from \"./Header.vue?vue&type=script&lang=js&\"\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 \"6eb4f26a\",\n null\n \n)\n\nexport default component.exports","export default {\r\n data() {\r\n return {\r\n // refresh variables\r\n refreshing: false,\r\n registration: null,\r\n updateExists: false\r\n }\r\n },\r\n\r\n created() {\r\n try {\r\n // Listen for our custom event from the SW registration\r\n document.addEventListener('swUpdated', this.updateAvailable, {\r\n once: true\r\n })\r\n\r\n // Prevent multiple refreshes\r\n navigator.serviceWorker.addEventListener('controllerchange', () => {\r\n if (this.refreshing) return\r\n this.refreshing = true\r\n // Here the actual reload of the page occurs\r\n window.location.reload()\r\n })\r\n } finally {\r\n // Not running as PWA: do nothing\r\n }\r\n },\r\n\r\n methods: {\r\n // Store the SW registration so we can send it a message\r\n // We use `updateExists` to control whatever alert, toast, dialog, etc we want to use\r\n // To alert the user there is an update they need to refresh for\r\n updateAvailable(event) {\r\n this.registration = event.detail\r\n this.updateExists = true\r\n },\r\n\r\n // Called when the user accepts the update\r\n refreshApp() {\r\n this.updateExists = false\r\n // Make sure we only send a 'skip waiting' message if the SW is waiting\r\n if (!this.registration || !this.registration.waiting) return\r\n // send message to SW to skip the waiting and activate the new SW\r\n this.registration.waiting.postMessage({ type: 'SKIP_WAITING' })\r\n }\r\n }\r\n}\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-card',{staticClass:\"pa-0 ma-0\",staticStyle:{\"background\":\"#535b69\",\"border-radius\":\"0\"},attrs:{\"flat\":\"\"}},[_c('v-sheet',{staticStyle:{\"height\":\"3px\"},attrs:{\"color\":\"accent\"}}),_c('div',{staticClass:\"ma-0\",staticStyle:{\"width\":\"100%\",\"border-radius\":\"0\",\"padding\":\"1px\",\"padding-top\":\"1px\",\"padding-left\":\"5px\"}},[_c('v-breadcrumbs',{staticClass:\"ml-1 pa-0\",attrs:{\"items\":_vm.crumbs,\"divider\":\">\"},scopedSlots:_vm._u([{key:\"item\",fn:function({ item }){return [(item.text !== 'Home')?_c('v-breadcrumbs-item',{attrs:{\"to\":item.href,\"disabled\":item.disabled}},[_c('span',{staticStyle:{\"color\":\"white !important\"}},[_vm._v(_vm._s(item.text.toUpperCase()))])]):_c('v-breadcrumbs-item',{attrs:{\"to\":item.href}},[_c('v-icon',{staticStyle:{\"color\":\"white\"}},[_vm._v(\"mdi-home\")])],1)]}}])})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n