{"version":3,"sources":["webpack:///./src/modules/videos/views/Videos.vue?feb4","webpack:///./src/assets/icons/play.svg","webpack:///./src/modules/videos/views/Videos.vue?5ce3","webpack:///./src/modules/videos/views/Videos.vue?0b17","webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/modules/videos/views/Videos.vue?c9c6","webpack:///./src/modules/videos/views/Videos.vue","webpack:///./src/assets/images/video_previews/common.jpg"],"names":["module","exports","functional","render","_h","_vm","_c","data","_v","children","classNames","class","staticClass","style","staticStyle","attrs","rest","Object","assign","concat","this","$createElement","_self","scopedSlots","_u","key","fn","proxy","info_message","domProps","_s","_e","videos","length","$style","video_container","_l","video","id","video_item_wrapper","on","$event","card_click_handler","url","video_preview","image","wrapper_hover","playIcon","tag","wrapper_hover_footer","duration","type","indexOf","_k","keyCode","model","value","active_video","callback","$$v","$set","expression","video_iframe","staticRenderFns","state","videos_store","actions","VideosPage","Play","status","get_videos","user_guide_path","get_user_guide","global_store","user_store","me","available_pages","DocsTemplatesService","get_document_template","DocsTemplates","USER_GUIDE","path","mutations","UPD_USER_GUIDE_PATH","console","log","alert_page","find","page","slug","Pages","VIDEOS","info_message_index","Vue","Component","components","InfoAlert","PageTitle","injectStyles","context","locals","component","VCard","VDialog"],"mappings":"6FACAA,EAAOC,QAAU,CAAC,gBAAgB,6BAA6B,UAAU,uBAAuB,UAAU,uBAAuB,QAAU,uBAAuB,WAAa,0BAA0B,KAAO,oBAAoB,oBAAsB,mCAAmC,OAAS,sBAAsB,aAAe,4BAA4B,OAAS,sBAAsB,WAAa,0BAA0B,aAAe,4BAA4B,SAAW,wBAAwB,KAAO,oBAAoB,gBAAkB,+BAA+B,mBAAqB,kCAAkC,cAAgB,6BAA6B,aAAe,4BAA4B,cAAgB,6BAA6B,qBAAuB,sC,qICApxBD,EAAOC,QAAU,CACfC,YAAY,EACZC,OAFe,SAERC,EAAIC,GACT,IAAQC,EAAgCD,EAAhCC,GAAQC,GAAwBF,EAA5BG,GAA4BH,EAAxBE,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exports = {\"v-application\":\"Videos_v-application_vxwGk\",\"text-h1\":\"Videos_text-h1_1uzMu\",\"text-h2\":\"Videos_text-h2_207WH\",\"filters\":\"Videos_filters_HuAjF\",\"searchForm\":\"Videos_searchForm_1lBYS\",\"city\":\"Videos_city_2GOlg\",\"organizations_types\":\"Videos_organizations_types_1XiW9\",\"region\":\"Videos_region_1KmyO\",\"organization\":\"Videos_organization_2L40r\",\"select\":\"Videos_select_1IdFW\",\"datepicker\":\"Videos_datepicker_2g8Zz\",\"filtersBlock\":\"Videos_filtersBlock_3LDb_\",\"btnOuter\":\"Videos_btnOuter_3rJgE\",\"link\":\"Videos_link_18Y3y\",\"video_container\":\"Videos_video_container_3Ffiz\",\"video_item_wrapper\":\"Videos_video_item_wrapper_1MFx4\",\"wrapper_hover\":\"Videos_wrapper_hover_3uUeM\",\"video_iframe\":\"Videos_video_iframe_1ZW1m\",\"video_preview\":\"Videos_video_preview_sCD5q\",\"wrapper_hover_footer\":\"Videos_wrapper_hover_footer_1R73L\"};","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"width\":\"65\",\"height\":\"65\",\"viewBox\":\"0 0 246 246\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}, attrs),\n ...rest,\n },\n children.concat([_c('circle',{attrs:{\"cx\":\"123\",\"cy\":\"123\",\"r\":\"123\",\"fill\":\"#fff\"}}),_c('path',{attrs:{\"d\":\"M186.836 119.017c2.71 1.531 2.71 5.435 0 6.966l-92.868 52.468c-2.667 1.507-5.968-.42-5.968-3.482V70.031c0-3.062 3.301-4.989 5.968-3.482l92.868 52.468z\",\"fill\":\"#ED1B2F\"}})])\n )\n }\n }\n ","export { default } from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-0-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-0-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-0-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-0-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Videos.vue?vue&type=style&index=0&module=true&lang=scss&\"; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-0-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-0-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-0-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-0-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Videos.vue?vue&type=style&index=0&module=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('PageTitle',{scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" Руководство по работе с ЛКП \")]},proxy:true},{key:\"custom-btn\",fn:function(){return [_c('div')]},proxy:true}])}),_c('v-card',[(_vm.info_message())?_c('InfoAlert',{staticClass:\"mb-5\",attrs:{\"is_dark\":\"\"},scopedSlots:_vm._u([{key:\"alert_text\",fn:function(){return [_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.info_message())}})]},proxy:true}],null,false,631939790)}):_vm._e()],1),(_vm.videos.length > 0)?_c('div',{class:[_vm.$style.video_container]},_vm._l((_vm.videos),function(video){return _c('div',{key:video.id,class:[_vm.$style.video_item_wrapper],on:{\"click\":function($event){return _vm.card_click_handler(true, video.url)}}},[_c('img',{class:_vm.$style.video_preview,attrs:{\"src\":video.image !== null ? video.image : require('@/assets/images/video_previews/common.jpg'),\"alt\":\"\"}}),_c('div',{class:[_vm.$style.wrapper_hover]},[_c(_vm.playIcon,{tag:\"component\"}),_c('div',{class:[_vm.$style.wrapper_hover_footer, 'text-caption']},[_vm._v(\" \"+_vm._s(video.duration)+\" \")])],1)])}),0):_vm._e(),_c('v-dialog',{attrs:{\"max-width\":'60%'},on:{\"input\":function($event){return _vm.card_click_handler(false, '')},\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.card_click_handler(false, '')}},model:{value:(_vm.active_video.status),callback:function ($$v) {_vm.$set(_vm.active_video, \"status\", $$v)},expression:\"active_video.status\"}},[_c('v-card',{staticClass:\"pa-2 d-flex\"},[_c('iframe',{class:[_vm.$style.video_iframe],attrs:{\"src\":_vm.active_video.url,\"title\":\"LKP instruction video player\",\"allowfullscreen\":\"\"}})])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component } from 'vue-property-decorator';\nimport { global_store, videos_store, user_store } from '@/store';\nimport { PageTitle, InfoAlert } from '@/components';\nimport Play from '@/assets/icons/play.svg?inline';\nimport { DocsTemplatesService } from '@/services/documents';\nimport { DocsTemplates, Pages } from '@/enums';\n\nconst { state, actions } = videos_store;\n\n@Component({\n components: {\n InfoAlert,\n PageTitle,\n Play,\n },\n})\n\nexport default class VideosPage extends Vue {\n playIcon = Play;\n active_video = {\n status: false,\n url: '',\n };\n\n async mounted() {\n await actions.get_videos();\n\n if (this.user_guide_path === '') {\n await this.get_user_guide();\n }\n }\n\n get videos() {\n return state.videos;\n }\n\n get user_guide_path() {\n return global_store.state.user_guide_path;\n }\n\n get available_pages() {\n return user_store.state.me.available_pages || [];\n }\n\n card_click_handler(status: any, url: any) {\n this.active_video.status = status;\n this.active_video.url = status ? url : '';\n }\n\n async get_user_guide() {\n try {\n const { data: { path } } = await new DocsTemplatesService().get_document_template(DocsTemplates.USER_GUIDE);\n\n global_store.mutations.UPD_USER_GUIDE_PATH(path);\n } catch (error) {\n console.log(error);\n }\n }\n\n info_message() {\n const alert_page = this.available_pages.find((page) => page.slug === Pages.VIDEOS);\n\n return alert_page?.info_message_index ?? null;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Videos.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Videos.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Videos.vue?vue&type=template&id=3d836094&\"\nimport script from \"./Videos.vue?vue&type=script&lang=ts&\"\nexport * from \"./Videos.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Videos.vue?vue&type=style&index=0&module=true&lang=scss&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\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 injectStyles,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\ninstallComponents(component, {VCard,VDialog})\n","module.exports = __webpack_public_path__ + \"img/common.cb9559a6.jpg\";"],"sourceRoot":""}