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eReadingMode.vue?7ae9","webpack://website-js/./src/components/recipe/RecipeReadingMode.vue","webpack://website-js/./src/components/recipe/RecipeReadingMode.vue?edd7","webpack://website-js/./src/components/recipe/RecipeReadingMode.vue?5faa","webpack://website-js/./src/components/recipe/RecipeReadingMode.vue?91ac","webpack://website-js/./src/components/recipe/RecipeReadingMode.vue?3910"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.recipe-reading-mode{visibility:hidden;display:flex;align-items:center;justify-content:flex-end}@media(max-width:960px){.recipe-reading-mode{visibility:visible}}.recipe-reading-mode-text{margin:0;margin-left:15px;font-weight:800}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"recipe-reading-mode\"},[_c('cbx-toggle',{attrs:{\"value\":_vm.readingMode},on:{\"valueChange\":_vm.toggleReadingMode}}),_c('p',{staticClass:\"recipe-reading-mode-text\"},[_vm._v(_vm._s(_vm.$t(\"recipe.reading-mode\", [\"Keep screen awake\"])))])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport {Component, Vue} from 'vue-property-decorator'\r\n\r\n@Component({\r\n name: \"RecipeReadingMode\"\r\n})\r\nexport default class RecipeReadingMode extends Vue {\r\n \r\n private readingMode = false;\r\n\r\n private wakeLock: any;\r\n\r\n private async toggleReadingMode(v: boolean) {\r\n this.readingMode = v;\r\n\r\n if (this.readingMode) {\r\n const anyNav: any = navigator;\r\n\r\n if ('wakelock' in navigator) {\r\n anyNav[\"wakeLock\"].request('screen');\r\n }\r\n }\r\n else {\r\n this.wakeLock.release();\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./RecipeReadingMode.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./RecipeReadingMode.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RecipeReadingMode.vue?vue&type=template&id=8fa3d68a&\"\nimport script from \"./RecipeReadingMode.vue?vue&type=script&lang=ts&\"\nexport * from \"./RecipeReadingMode.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RecipeReadingMode.vue?vue&type=style&index=0&id=8fa3d68a&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/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","// style-loader: Adds some css to the DOM by adding a