{"version":3,"sources":["webpack:///./src/components/pageCourseVideo/Premium.vue?a826","webpack:///./src/views/PremiumPageCourseVideo.vue?7f8a","webpack:///./src/components/pageCourseVideo/Premium.vue?490d","webpack:///src/components/pageCourseVideo/Premium.vue","webpack:///./src/components/pageCourseVideo/Premium.vue?0105","webpack:///./src/components/pageCourseVideo/Premium.vue","webpack:///src/views/PremiumPageCourseVideo.vue","webpack:///./src/views/PremiumPageCourseVideo.vue?f558","webpack:///./src/views/PremiumPageCourseVideo.vue","webpack:///./src/modules/tab.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticRenderFns","_v","_s","selected","name","hasPaid","_e","nativeOn","$event","preventDefault","Goto","on","$router","go","_l","item","index","key","class","watched","active","selectVideo","title","selectedVideo","attrs","videoOptions","link","staticStyle","selectedCourse","categories","description","_m","domProps","RemoveStyle","ws","course_outline","course","id","GotoBlogByID","image","playerVars","autoplay","autohide","showinfo","modestbranding","loop","color","rel","other","activeIndex","interval","courses","allowCertificateGeneration","popular","fluid","controls","sources","methods","canGenerateCertificate","$mix","updateCourse","next","noOfWatches","videos","length","forEach","c","indexOfSelectedVideo","indexOf","SuccessAlert","sort","a","b","param","$route","params","getCourse","then","res","data","access","sortVideos","$upskill","workshop","workshop_id","Loaded","component","components","appPageCourseVideo","Tab","constructor","tabs","document","querySelectorAll","tab","initiate","querySelector","addEventListener","event","target","nodeName","hasAttribute","content","classList","remove","getAttribute","add"],"mappings":"kHAAA,yBAAwf,EAAG,G,oECA3f,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,wBAAwB,IACjKG,EAAkB,GCDlB,EAAS,WAAa,IAAIP,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,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EAAIC,KAAKA,KACnBrF,KAAK2F,cAIX,UACE,IAAI,EAAR,OCxNgW,I,wBCQ5VC,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIa,EAAAA,E,QCVf,GACElF,KAAM,QACNmF,WAAY,CACVC,mBAAoB,ICZwU,ICO5V,EAAY,eACd,EACAhG,EACAQ,GACA,EACA,KACA,KACA,MAIa,e,2CClBf,kCAAe,MAAMyF,EACnBC,cACE,IAAIC,EAAOC,SAASC,iBAAiB,WAErCF,EAAK1B,QAAQ6B,IACXpG,KAAKqG,SAASD,KAIlBC,SAASD,GACPA,EAAIE,cAAc,eAAeC,iBAAiB,QAASC,IACzD,IAAIC,EAASD,EAAMC,OAEK,OAApBA,EAAOC,UAAqBD,EAAOE,aAAa,iBAClDP,EAAID,iBAAiB,gBAAgB5B,QAAQqC,IAC3CA,EAAQC,UAAUC,OAAO,YAG3BV,EAAID,iBAAiB,SAAS5B,QAAQlD,IACpCA,EAAKwF,UAAUC,OAAO,YAGxBV,EACGE,cAAcG,EAAOM,aAAa,gBAClCF,UAAUG,IAAI,UACjBP,EAAOI,UAAUG,IAAI","file":"js/chunk-35b82d2c.91a5a9d4.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Premium.vue?vue&type=style&index=0&id=1d504cbf&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Premium.vue?vue&type=style&index=0&id=1d504cbf&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"PageCourseVideo\"},[_c('app-PageCourseVideo')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pageContainer\"},[_c('div',{staticClass:\"container-1350 course-video\"},[_c('div',{staticClass:\"sidebar\"},[_c('h2',[_vm._v(_vm._s(_vm.selected.name))]),(!_vm.hasPaid)?_c('ubtn',{staticClass:\"get-certificate\",nativeOn:{\"click\":function($event){$event.preventDefault();return _vm.Goto({ name: 'invoice' })}}},[_vm._v(\"Unlock All Videos\")]):_vm._e(),_c('ul',[_c('li',{staticClass:\"video-link\",on:{\"click\":function($event){return _vm.$router.go(-1)}}},[_c('i',{staticClass:\"fa fa-arrow-left\"}),_vm._v(\" Go Back \")]),_vm._l((_vm.selectedCourse),function(item,index){return _c('li',{key:index,staticClass:\"video-link\",class:{\n watched: item.watched,\n active: item.active\n },on:{\"click\":function($event){return _vm.selectVideo(item)}}},[_c('span',{staticClass:\"lesson\"},[_vm._v(\"Outline \"+_vm._s(index + 1))]),_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(item.title))])])})],2)],1),_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"playing\"},[_c('u-video',{key:_vm.selectedVideo,attrs:{\"options\":_vm.videoOptions,\"id\":\"corsvid\"}}),(!_vm.selectedVideo.link)?_c('div',{staticStyle:{\"width\":\"100%\",\"display\":\"flex\",\"align-content\":\"center\",\"justify-content\":\"center\",\"flex-direction\":\"column\"}}):_vm._e()],1),_c('p',{staticClass:\"sub\"},[_vm._v(_vm._s(_vm.selectedCourse.categories))]),_c('div',{staticClass:\"title-container\"},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.selectedVideo.title))]),_c('div',{staticClass:\"title\",staticStyle:{\"color\":\"grey\"}},[_vm._v(_vm._s(_vm.selectedVideo.description))])]),_c('div',{staticClass:\"workshop_desc\"},[_c('div',{staticClass:\"cb-tab\"},[_vm._m(0),_c('div',{staticClass:\"tab-content active\",attrs:{\"id\":\"tab-one\"}},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.RemoveStyle(_vm.ws.description))}})]),_c('div',{staticClass:\"tab-content\",attrs:{\"id\":\"tab-two\"}},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.RemoveStyle(_vm.ws.course_outline))}})])])]),_c('div',[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.selectedCourse.description)}})]),_c('div',{staticClass:\"courses-carousel\"},[_vm._m(1),_c('div',{staticClass:\"cb-carousel\",attrs:{\"id\":\"popular-courses\"}},[_c('div',{staticClass:\"cb-carousel-item-container x4\"},_vm._l((_vm.popular),function(course){return _c('div',{key:course.id,staticClass:\"item\",on:{\"click\":function($event){return _vm.GotoBlogByID(course.id)}}},[_c('div',{staticClass:\"course\"},[_c('div',{staticClass:\"thumb\"},[_c('img',{attrs:{\"src\":course.image,\"alt\":\"\"}})]),_c('h4',[_vm._v(_vm._s(course.name))])])])}),0)])])])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:\"tab-header\"},[_c('li',{staticClass:\"active\",attrs:{\"data-target\":\"#tab-one\"}},[_vm._v(\"Description\")]),_c('li',{attrs:{\"data-target\":\"#tab-two\"}},[_vm._v(\"Course Outline\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h3',[_c('span',[_vm._v(\"More popular Courses\")]),_c('div',{staticClass:\"carousel-nav\"},[_c('a',{staticClass:\"prev\",attrs:{\"href\":\"#\",\"data-target\":\"#popular-courses:prev\"}}),_c('a',{staticClass:\"next\",attrs:{\"href\":\"#\",\"data-target\":\"#popular-courses:next\"}})])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Premium.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Premium.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Premium.vue?vue&type=template&id=1d504cbf&scoped=true&\"\nimport script from \"./Premium.vue?vue&type=script&lang=js&\"\nexport * from \"./Premium.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Premium.vue?vue&type=style&index=0&id=1d504cbf&scoped=true&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 \"1d504cbf\",\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PremiumPageCourseVideo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PremiumPageCourseVideo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PremiumPageCourseVideo.vue?vue&type=template&id=d6c3377c&\"\nimport script from \"./PremiumPageCourseVideo.vue?vue&type=script&lang=js&\"\nexport * from \"./PremiumPageCourseVideo.vue?vue&type=script&lang=js&\"\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","export default class Tab {\n constructor() {\n let tabs = document.querySelectorAll(\".cb-tab\");\n\n tabs.forEach(tab => {\n this.initiate(tab);\n });\n }\n\n initiate(tab) {\n tab.querySelector(\".tab-header\").addEventListener(\"click\", event => {\n let target = event.target;\n\n if (target.nodeName === \"LI\" && target.hasAttribute(\"data-target\")) {\n tab.querySelectorAll(\".tab-content\").forEach(content => {\n content.classList.remove(\"active\");\n });\n\n tab.querySelectorAll(\"ul li\").forEach(item => {\n item.classList.remove(\"active\");\n });\n\n tab\n .querySelector(target.getAttribute(\"data-target\"))\n .classList.add(\"active\");\n target.classList.add(\"active\");\n }\n });\n }\n}\n"],"sourceRoot":""}