{"version":3,"sources":["webpack:///./src/views/crafted/course/module/ModuleShow.vue?6055","webpack:///./src/views/crafted/course/module/ModuleShow.vue?48e0","webpack:///./src/views/crafted/course/module/ModuleShow.vue?fa2b","webpack:///./src/views/crafted/course/module/ModuleShow.vue"],"names":["_withScopeId","n","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","key","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","style","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","width","height","viewBox","fill","xmlns","d","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_hoisted_57","_hoisted_58","_hoisted_59","_hoisted_60","_hoisted_61","_hoisted_62","_hoisted_63","_hoisted_64","_hoisted_65","_hoisted_66","_hoisted_67","_hoisted_68","_hoisted_69","alt","src","_hoisted_70","_hoisted_71","_hoisted_72","_hoisted_73","_hoisted_74","_hoisted_75","_hoisted_76","_hoisted_77","_hoisted_78","_hoisted_79","_hoisted_80","_hoisted_81","_hoisted_84","_hoisted_85","_hoisted_86","_hoisted_87","_hoisted_88","_hoisted_89","_hoisted_90","_hoisted_91","_hoisted_92","_hoisted_93","_hoisted_94","_hoisted_95","_hoisted_96","_hoisted_97","_hoisted_98","_hoisted_99","_hoisted_100","_hoisted_101","_hoisted_102","_hoisted_103","_hoisted_104","_hoisted_105","_hoisted_106","_hoisted_107","_hoisted_108","_hoisted_109","_hoisted_110","_hoisted_111","_hoisted_112","_hoisted_113","_hoisted_114","role","_hoisted_115","render","_ctx","_cache","$props","$setup","$data","$options","_component_router_link","_component_Tag","_component_CardMachineLesson","_component_HacktivityWidget","_component_CardRecommendMachine","_component_CardSubmitComment","_component_CardCommentFake","onClick","$event","$router","go","href","$t","currentLanguage","hasFeature","module","feature","is_freemium","srcVideo","frameborder","allow","allowfullscreen","to","name","default","_","titleVideo","title","toggleWatchedLesson","args","isStarted","descVideo","description","tags","tag","i","lessons","lesson","id","changeVideo","getIsStartedClass","is_started","challenge","instanceData","attachments","length","attachment","url","target","type","links","link","_c","hacktivitiesIsFixed","feed","user","currentUser","widgetClasses","onHacktivityAdded","handleHacktivityAdded","onHacktivityDelete","handleHacktivityDelete","onHacktivityFixed","handleFixedHacktivity","lessonId","machines","hacktivities","index","props","String","required","lesson_id","components","CardCommentFake","HacktivityWidget","CardSubmitComment","CardRecommendMachine","VideoPlayer","Tag","CardMachineLesson","setup","store","showSpinner","showModule","getters","getCurrentLanguage","localStorage","getItem","getCurrentModule","currentLesson","value","ApiService","get","then","response","data","catch","error","console","log","commit","SET_CHALLENGE","filteredHacktivities","linksToArray","classIsStarted","reloadData","dispatch","GET_MODULE","router","push","getLessonData","unwatchedLesson","find","GET_LESSON","unWatchedLesson","setTimeout","getLesson","UPDATE_WATCHED_CHECK","truncateTitle","substring","getCurentChallenge","filter","hacktivity","is_fixed","split","__exports__"],"mappings":"yIAAA,W,yDCEMA,EAAe,SAAAC,GAAK,OAAC,yBAAa,mBAAmBA,EAAEA,IAAI,0BAAcA,GACzEC,EAAa,CAAEC,MAAO,YACtBC,EAAa,CAAED,MAAO,wBACtBE,EAA2BL,GAAa,WAAmB,uCAAoB,IAAK,CAAEG,MAAO,mCAAqC,MAAO,MACzIG,EAAa,CACjBC,IAAK,EACLJ,MAAO,sBAEHK,EAAa,CAAEL,MAAO,YACtBM,EAAa,CAAEN,MAAO,mBACtBO,EAAa,CAAEP,MA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C,OAAM,EACN6F,OAAM,QACNnB,cAAa,EACblD,YAAW,EACXrB,SAAQ,EACRQ,WAAU,EACVK,UAAS,EACTgD,kBAAiB,QACjBD,IAAG,QACH7C,KAAI,EACJS,UAAS,EACTZ,UAAS,EACTF,oBAAmB,EACnBqC,SAAQ,EACRzB,kBAAiB,EACjB0C,YAAW,EACXC,WAAU,EACVjB,aAAY,EACZF,SAAQ,EACRL,sBAAqB,EACrB2D,cAAa,EACb3E,aAAY,EACZkB,uBAAsB,EACtByC,qBAAoB,EACpBvC,sBAAqB,EACrBV,oBAAmB,EACnBH,MAAK,EACLrC,gBAAe,EACf+B,YAAW,EACX9B,WAAU,Y,oCClNhB,MAAM+G,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAASpI,IAAQ,CAAC,YAAY,qBAE1E","file":"js/chunk-80e8b06e.48ab9cb5.js","sourcesContent":["export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ModuleShow.vue?vue&type=style&index=0&id=e46d4334&scoped=true&lang=css\"","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, createStaticVNode as _createStaticVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e46d4334\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"row mb-5\" }\nconst _hoisted_2 = { class: \"col-md-12 text-start\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-chevron-left text-primary\" }, null, -1))\nconst _hoisted_4 = {\n key: 0,\n class: \"d-flex flex-column\"\n}\nconst _hoisted_5 = { class: \"row mt-1\" }\nconst _hoisted_6 = { class: \"col-12 col-lg-8\" }\nconst _hoisted_7 = { class: \"row mt-5\" }\nconst _hoisted_8 = { class: \"w-100 h-450px\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"card card-flush h-md-100\"\n}\nconst _hoisted_10 = { class: \"card-body d-flex flex-column justify-content-between mt-9 bgi-no-repeat bgi-size-cover bgi-position-x-center pb-0\" }\nconst _hoisted_11 = { class: \"mb-5 mt-5\" }\nconst _hoisted_12 = { class: \"fs-2hx fw-bold text-gray-800 text-center mb-13\" }\nconst _hoisted_13 = { class: \"me-2\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_15 = { class: \"position-relative d-inline-block text-success\" }\nconst _hoisted_16 = { class: \"text-success opacity-75-hover\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"position-absolute opacity-15 bottom-0 start-0 border-4 border-success border-bottom w-100\" }, null, -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_19 = { class: \"text-center mt-6\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-arrow-right-square-fill text-white mx-1\" }, null, -1))\nconst _hoisted_21 = [\"src\"]\nconst _hoisted_22 = { class: \"mt-3 me-3\" }\nconst _hoisted_23 = { class: \"d-flex flex-column\" }\nconst _hoisted_24 = { class: \"d-flex\" }\nconst _hoisted_25 = { class: \"fw-bolder text-gray-800\" }\nconst _hoisted_26 = {\n key: 0,\n class: \"border border-gray-500 text-gray-500 ms-auto bg-gray-200 rounded pt-1 px-2 mx-4 text-italic\"\n}\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-check-circle-fill text-gray-500\" }, null, -1))\nconst _hoisted_28 = { class: \"fs-7 ms-1\" }\nconst _hoisted_29 = {\n key: 0,\n class: \"bi bi-check-circle-fill text-success\"\n}\nconst _hoisted_30 = {\n key: 1,\n class: \"bi bi-check-circle-fill text-gray-500\"\n}\nconst _hoisted_31 = {\n key: 2,\n class: \"fs-7 ms-1\"\n}\nconst _hoisted_32 = {\n key: 3,\n class: \"fs-7 ms-1\"\n}\nconst _hoisted_33 = {\n class: \"text-gray-400 fw-bolder fs-7 mt-5\",\n style: {\"white-space\":\"break-spaces\"}\n}\nconst _hoisted_34 = {\n key: 0,\n class: \"mt-2\"\n}\nconst _hoisted_35 = {\n key: 1,\n class: \"mt-2\"\n}\nconst _hoisted_36 = { class: \"col-12 col-lg-4 flex-column\" }\nconst _hoisted_37 = { class: \"row mt-5 h-450px mb-5 px-3 px-lg-1\" }\nconst _hoisted_38 = { class: \"card\" }\nconst _hoisted_39 = { class: \"\" }\nconst _hoisted_40 = { class: \"text-start bg-secondary border-bottom my-3 px-3\" }\nconst _hoisted_41 = { class: \"py-3\" }\nconst _hoisted_42 = { class: \"text-warning opacity-75-hover\" }\nconst _hoisted_43 = {\n class: \"list-group list-group-flush\",\n style: {\"height\":\"350px\",\"overflow-y\":\"scroll\"}\n}\nconst _hoisted_44 = { class: \"badge badge-square border badge-lg mx-3 badge-light-secondary border-secondary\" }\nconst _hoisted_45 = { class: \"ms-1 mt-1 fs-6 fw-light text-gray-500\" }\nconst _hoisted_46 = /*#__PURE__*/_createStaticVNode(\"
\", 1)\nconst _hoisted_47 = [\"onClick\"]\nconst _hoisted_48 = { class: \"ms-1 mt-1 fs-6 fw-light\" }\nconst _hoisted_49 = { class: \"symbol d-flex symbol-30px ms-auto me-md-5\" }\nconst _hoisted_50 = {\n key: 0,\n class: \"symbol-label border border-success\"\n}\nconst _hoisted_51 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"svg-icon svg-icon-2 svg-icon-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"24\",\n height: \"24\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M9.89557 13.4982L7.79487 11.2651C7.26967 10.7068 6.38251 10.7068 5.85731 11.2651C5.37559 11.7772 5.37559 12.5757 5.85731 13.0878L9.74989 17.2257C10.1448 17.6455 10.8118 17.6455 11.2066 17.2257L18.1427 9.85252C18.6244 9.34044 18.6244 8.54191 18.1427 8.02984C17.6175 7.47154 16.7303 7.47154 16.2051 8.02984L11.061 13.4982C10.7451 13.834 10.2115 13.834 9.89557 13.4982Z\",\n fill: \"green\"\n })\n ])\n], -1))\nconst _hoisted_52 = [\n _hoisted_51\n]\nconst _hoisted_53 = {\n key: 1,\n class: \"symbol-label border border-white\"\n}\nconst _hoisted_54 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"svg-icon svg-icon-2 svg-icon-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"34\",\n height: \"24\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M16.9 10.7L7 5V19L16.9 13.3C17.9 12.7 17.9 11.3 16.9 10.7Z\",\n fill: \"white\"\n })\n ])\n], -1))\nconst _hoisted_55 = [\n _hoisted_54\n]\nconst _hoisted_56 = { class: \"row d-flex justify-content-between\" }\nconst _hoisted_57 = { class: \"col-12 col-xl-8\" }\nconst _hoisted_58 = { class: \"w-auto mt-lg-3\" }\nconst _hoisted_59 = { class: \"col-12 col-xl-4\" }\nconst _hoisted_60 = { class: \"card mb-6 w-auto col-md-5 mt-lg-3\" }\nconst _hoisted_61 = { class: \"card-body py-5\" }\nconst _hoisted_62 = { class: \"card-title\" }\nconst _hoisted_63 = { class: \"row\" }\nconst _hoisted_64 = { class: \"col-md-12 d-flex justify-content-start\" }\nconst _hoisted_65 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-file-earmark-pdf-fill fs-2\" }, null, -1))\nconst _hoisted_66 = { class: \"overflow-auto\" }\nconst _hoisted_67 = { class: \"d-flex align-items-center border border-dashed border-gray-300 rounded p-5\" }\nconst _hoisted_68 = { class: \"d-flex flex-aligns-center\" }\nconst _hoisted_69 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n alt: \"\",\n class: \"w-30px me-3\",\n src: \"/media/svg/files/pdf.svg\"\n}, null, -1))\nconst _hoisted_70 = { class: \"ms-1 fw-bold\" }\nconst _hoisted_71 = [\"href\"]\nconst _hoisted_72 = { class: \"text-gray-400\" }\nconst _hoisted_73 = {\n key: 1,\n class: \"overflow-auto\"\n}\nconst _hoisted_74 = /*#__PURE__*/_createStaticVNode(\"
\\\"\\\"
\", 1)\nconst _hoisted_75 = [\n _hoisted_74\n]\nconst _hoisted_76 = { class: \"overflow-auto mt-2\" }\nconst _hoisted_77 = {\n key: 0,\n class: \"d-flex flex-column border border-dashed border-gray-300 rounded p-2\"\n}\nconst _hoisted_78 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-link-45deg fs-2 me-2\" }, null, -1))\nconst _hoisted_79 = [\"href\"]\nconst _hoisted_80 = {\n key: 1,\n class: \"d-flex flex-column border border-dashed border-gray-300 rounded py-3 px-2\"\n}\nconst _hoisted_81 = /*#__PURE__*/_createStaticVNode(\"
\", 3)\nconst _hoisted_84 = [\n _hoisted_81\n]\nconst _hoisted_85 = { class: \"row d-flex justify-content-center\" }\nconst _hoisted_86 = { class: \"col-sm-12 mb-5 mb-xl-10\" }\nconst _hoisted_87 = { class: \"card card-flush h-lg-100\" }\nconst _hoisted_88 = { class: \"card-header pt-5 border-bottom\" }\nconst _hoisted_89 = { class: \"d-flex flex-row\" }\nconst _hoisted_90 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-pin-angle-fill fs-2 mt-3 me-3 text-success\" }, null, -1))\nconst _hoisted_91 = { class: \"card-title align-items-start flex-column ms-3\" }\nconst _hoisted_92 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"card-label fw-bold text-dark\" }, \"Hacktivity\", -1))\nconst _hoisted_93 = { class: \"text-gray-400 mt-1 fw-semibold fs-6\" }\nconst _hoisted_94 = { class: \"card-body pt-1\" }\nconst _hoisted_95 = { class: \"d-flex justify-content-center\" }\nconst _hoisted_96 = {\n key: 0,\n class: \"col-12\"\n}\nconst _hoisted_97 = {\n key: 1,\n class: \"col-12 d-flex align-items-center pt-5 justify-content-center\"\n}\nconst _hoisted_98 = { class: \"card hover-elevate-up shadow-sm parent-hover\" }\nconst _hoisted_99 = { class: \"card-body d-flex align-items\" }\nconst _hoisted_100 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-pin-angle-fill fs-2 me-3 text-gray-600\" }, null, -1))\nconst _hoisted_101 = { class: \"ms-3 text-gray-600 parent-hover-primary fs-6 fw-bold\" }\nconst _hoisted_102 = { class: \"row\" }\nconst _hoisted_103 = { class: \"mb-xl-10 me-2\" }\nconst _hoisted_104 = { key: 0 }\nconst _hoisted_105 = { class: \"row d-flex justify-content-center\" }\nconst _hoisted_106 = { class: \"col-md-9 col-sm-12 me-2\" }\nconst _hoisted_107 = { class: \"d-flex justify-content-center\" }\nconst _hoisted_108 = { class: \"col-md-9 col-sm-12\" }\nconst _hoisted_109 = { class: \"mt-10\" }\nconst _hoisted_110 = {\n key: 1,\n class: \"row d-flex justify-content-center\"\n}\nconst _hoisted_111 = { class: \"col-md-9 col-sm-12 me-2\" }\nconst _hoisted_112 = {\n key: 1,\n class: \"container text-center mb-10\"\n}\nconst _hoisted_113 = { key: 0 }\nconst _hoisted_114 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"spinner-border text-primary\",\n role: \"status\"\n}, null, -1))\nconst _hoisted_115 = { class: \"text-muted fs-3 fw-bold mt-5\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_Tag = _resolveComponent(\"Tag\")!\n const _component_CardMachineLesson = _resolveComponent(\"CardMachineLesson\")!\n const _component_HacktivityWidget = _resolveComponent(\"HacktivityWidget\")!\n const _component_CardRecommendMachine = _resolveComponent(\"CardRecommendMachine\")!\n const _component_CardSubmitComment = _resolveComponent(\"CardSubmitComment\")!\n const _component_CardCommentFake = _resolveComponent(\"CardCommentFake\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"a\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$router.go(-1))),\n href: \"#\",\n class: \"text-primary\"\n }, [\n _hoisted_3,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.back`)), 1)\n ])\n ])\n ]),\n (_ctx.showModule)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n (!_ctx.hasFeature(_ctx.module.feature) && !_ctx.module.is_freemium)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"span\", _hoisted_13, [\n _createTextVNode(_toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.unlock_your_full_potential`)) + \" \", 1),\n _hoisted_14,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.by_getting_the`)) + \" \", 1),\n _createElementVNode(\"span\", _hoisted_15, [\n _createElementVNode(\"span\", _hoisted_16, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.premium_plan`)), 1),\n _hoisted_17,\n _hoisted_18\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_router_link, {\n to: {name: 'profile-billing'},\n class: \"ms-4 bg-success px-3 py-3 rounded text-white bg-hover-opacity-75 fs-3\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.subscribe`)) + \" \", 1),\n _hoisted_20\n ]),\n _: 1\n })\n ])\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"iframe\", {\n key: 1,\n style: {\"width\":\"100%\",\"height\":\"100%\",\"border-radius\":\"10px\"},\n class: \"video-js vjs-theme-forest h-100 w-100\",\n src: _ctx.srcVideo,\n frameborder: \"0\",\n allow: \"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",\n allowfullscreen: \"\"\n }, null, 8, _hoisted_21))\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"h2\", _hoisted_25, _toDisplayString(_ctx.titleVideo == \"\" ? _ctx.module.title : _ctx.titleVideo), 1),\n (!_ctx.hasFeature(_ctx.module.feature) && !_ctx.module.is_freemium)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_26, [\n _hoisted_27,\n _createElementVNode(\"span\", _hoisted_28, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.mark_as_watched`)), 1)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.toggleWatchedLesson && _ctx.toggleWatchedLesson(...args))),\n class: _normalizeClass([_ctx.isStarted ? 'border border-success text-success' : 'border border-gray-600 text-gray-700 text-hover-gray-900', \"cursor-pointer bg-hover-lighten ms-auto bg-gray-200 rounded pt-1 px-2 mx-4\"])\n }, [\n (_ctx.isStarted)\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_29))\n : (_openBlock(), _createElementBlock(\"i\", _hoisted_30)),\n (_ctx.isStarted)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_31, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.watched_lesson`)), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_32, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.mark_as_watched`)), 1))\n ], 2))\n ]),\n _createElementVNode(\"span\", _hoisted_33, _toDisplayString(_ctx.descVideo == \"\" ? _ctx.module.description : _ctx.descVideo), 1),\n (_ctx.tags)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_34, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.tags, (tag, i) => {\n return (_openBlock(), _createBlock(_component_Tag, {\n key: i,\n tag: tag.name\n }, null, 8, [\"tag\"]))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_35, [\n _createVNode(_component_Tag, { tag: 'tags' })\n ]))\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_36, [\n _createElementVNode(\"div\", _hoisted_37, [\n _createElementVNode(\"div\", _hoisted_38, [\n _createElementVNode(\"div\", _hoisted_39, [\n _createElementVNode(\"div\", _hoisted_40, [\n _createElementVNode(\"h3\", _hoisted_41, [\n _createElementVNode(\"span\", _hoisted_42, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.module`)) + \":\", 1),\n _createTextVNode(\" \" + _toDisplayString(_ctx.module.title), 1)\n ])\n ]),\n _createElementVNode(\"ul\", _hoisted_43, [\n (!_ctx.hasFeature(_ctx.module.feature) && !_ctx.module.is_freemium)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(_ctx.module.lessons, (lesson, i) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: lesson.id,\n class: \"bg-hover-lighten py-4 border-bottom d-flex\",\n style: {\"list-style\":\"none\"}\n }, [\n _createElementVNode(\"div\", _hoisted_44, _toDisplayString(1+i), 1),\n _createElementVNode(\"p\", _hoisted_45, _toDisplayString(lesson.title), 1),\n _hoisted_46\n ]))\n }), 128))\n : (_openBlock(true), _createElementBlock(_Fragment, { key: 1 }, _renderList(_ctx.module.lessons, (lesson, i) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: lesson.id,\n onClick: ($event: any) => (_ctx.changeVideo(lesson)),\n class: \"bg-hover-lighten py-4 border-bottom d-flex\",\n style: {\"list-style\":\"none\"}\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([_ctx.getIsStartedClass(lesson.is_started), \"badge badge-square border badge-lg mx-3\"])\n }, _toDisplayString(1+i), 3),\n _createElementVNode(\"p\", _hoisted_48, _toDisplayString(lesson.title), 1),\n _createElementVNode(\"div\", _hoisted_49, [\n (lesson.is_started)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_50, _hoisted_52))\n : _createCommentVNode(\"\", true),\n (!lesson.is_started)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_53, _hoisted_55))\n : _createCommentVNode(\"\", true)\n ])\n ], 8, _hoisted_47))\n }), 128))\n ])\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_56, [\n _createElementVNode(\"div\", _hoisted_57, [\n _createElementVNode(\"div\", _hoisted_58, [\n _createVNode(_component_CardMachineLesson, {\n challenge: _ctx.challenge,\n instanceData: _ctx.instanceData\n }, null, 8, [\"challenge\", \"instanceData\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_59, [\n _createElementVNode(\"div\", _hoisted_60, [\n _createElementVNode(\"div\", _hoisted_61, [\n _createElementVNode(\"div\", _hoisted_62, [\n _createElementVNode(\"div\", _hoisted_63, [\n _createElementVNode(\"div\", _hoisted_64, [\n _hoisted_65,\n _createTextVNode(\"  \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.attachments`)) + \" & Links \", 1)\n ])\n ])\n ]),\n ((_ctx.hasFeature(_ctx.module.feature)|| _ctx.module.is_freemium) && _ctx.attachments?.length > 0)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(_ctx.attachments, (attachment) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_66, [\n _createElementVNode(\"div\", _hoisted_67, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_68, [\n _hoisted_69,\n _createElementVNode(\"div\", _hoisted_70, [\n _createElementVNode(\"a\", {\n href: attachment?.url,\n target: \"_blank\",\n class: \"fs-6 text-hover-primary fw-bolder\"\n }, _toDisplayString(attachment?.name), 9, _hoisted_71),\n _createElementVNode(\"div\", _hoisted_72, _toDisplayString(attachment?.type), 1)\n ])\n ])\n ])\n ])\n ]))\n }), 256))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_73, _hoisted_75)),\n _createElementVNode(\"div\", _hoisted_76, [\n ((_ctx.hasFeature(_ctx.module.feature) || _ctx.module.is_freemium) && _ctx.links?.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_77, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.links, (link, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"d-flex my-1\",\n key: i\n }, [\n _hoisted_78,\n _createElementVNode(\"a\", {\n href: link,\n target: \"_blank\",\n class: \"text-primary opacity-75-hover fs-6 fw-semibold\"\n }, _toDisplayString(link), 9, _hoisted_79)\n ]))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_80, _hoisted_84))\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_85, [\n _createElementVNode(\"div\", _hoisted_86, [\n _createElementVNode(\"div\", _hoisted_87, [\n _createElementVNode(\"div\", _hoisted_88, [\n _createElementVNode(\"div\", _hoisted_89, [\n _hoisted_90,\n _createElementVNode(\"h3\", _hoisted_91, [\n _hoisted_92,\n _createElementVNode(\"span\", _hoisted_93, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.fixed`)), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_94, [\n _createElementVNode(\"div\", _hoisted_95, [\n (_ctx.hacktivitiesIsFixed?.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_96, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.hacktivitiesIsFixed, (feed, i) => {\n return (_openBlock(), _createBlock(_component_HacktivityWidget, {\n id: i,\n key: feed.id,\n feed: feed,\n user: feed.user,\n currentUser: _ctx.user,\n widgetClasses: 'mt-5',\n onHacktivityAdded: _ctx.handleHacktivityAdded,\n onHacktivityDelete: _ctx.handleHacktivityDelete,\n onHacktivityFixed: _ctx.handleFixedHacktivity,\n lessonId: _ctx.lessonId\n }, null, 8, [\"id\", \"feed\", \"user\", \"currentUser\", \"onHacktivityAdded\", \"onHacktivityDelete\", \"onHacktivityFixed\", \"lessonId\"]))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_97, [\n _createElementVNode(\"div\", _hoisted_98, [\n _createElementVNode(\"div\", _hoisted_99, [\n _hoisted_100,\n _createElementVNode(\"span\", _hoisted_101, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.no_hacktivity_pinned`)), 1)\n ])\n ])\n ]))\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_102, [\n _createElementVNode(\"div\", _hoisted_103, [\n _createVNode(_component_CardRecommendMachine, { machines: _ctx.machines }, null, 8, [\"machines\"])\n ])\n ]),\n (_ctx.hasFeature(_ctx.module.feature) || _ctx.module.is_freemium)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_104, [\n _createElementVNode(\"div\", _hoisted_105, [\n _createElementVNode(\"div\", _hoisted_106, [\n _createVNode(_component_CardSubmitComment, {\n lessonId: _ctx.lessonId,\n onHacktivityAdded: _ctx.handleHacktivityAdded\n }, null, 8, [\"lessonId\", \"onHacktivityAdded\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_107, [\n _createElementVNode(\"div\", _hoisted_108, [\n _createElementVNode(\"div\", _hoisted_109, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.hacktivities, (feed, index) => {\n return (_openBlock(), _createBlock(_component_HacktivityWidget, {\n id: index,\n key: feed.id,\n feed: feed,\n user: feed.user,\n currentUser: _ctx.user,\n widgetClasses: 'mt-5',\n onHacktivityAdded: _ctx.handleHacktivityAdded,\n onHacktivityDelete: _ctx.handleHacktivityDelete,\n onHacktivityFixed: _ctx.handleFixedHacktivity,\n lessonId: _ctx.lessonId\n }, null, 8, [\"id\", \"feed\", \"user\", \"currentUser\", \"onHacktivityAdded\", \"onHacktivityDelete\", \"onHacktivityFixed\", \"lessonId\"]))\n }), 128))\n ])\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_110, [\n _createElementVNode(\"div\", _hoisted_111, [\n _createVNode(_component_CardCommentFake)\n ])\n ]))\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_112, [\n (_ctx.showSpinner)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_113, [\n _hoisted_114,\n _createElementVNode(\"span\", _hoisted_115, \"   Hacking \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.loading`)) + \"...\", 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n ]))\n}","\nimport {Actions} from \"@/store/enums/StoreEnums\";\nimport {computed, defineComponent, nextTick, onBeforeMount, onMounted, ref, watch} from \"vue\";\nimport {useStore} from \"vuex\";\nimport VideoPlayer from \"@/views/apps/videojs/Player.vue\";\nimport CardMachineLesson from \"@/components/course/lesson/CardMachineLesson.vue\";\nimport Tag from \"@/components/common/Tag.vue\";\nimport router from \"@/router\";\nimport type {Challenge} from \"@/types/ChallengeType\";\nimport ApiService from \"@/core/services/ApiService\";\nimport CardRecommendMachine from \"@/components/course/lesson/CardRecommendMachine.vue\";\nimport type {MachineType} from \"@/types/MachineType\";\nimport CardSubmitComment from \"@/components/course/lesson/CardSubmitComment.vue\";\nimport HacktivityWidget from \"@/components/widgets/feeds/Widget6.vue\";\nimport {UserType} from \"@/types/UserType\";\nimport CardCommentFake from \"@/components/common/CardCommentFake.vue\";\nimport {Mutations} from \"@/store/enums/StoreEnums\";\nimport {LessonType} from \"@/types/LessonType\";\nimport { initializeComponents } from '@/core/plugins/keenthemes';\nimport { hasFeature } from '@/core/helpers/feature'\n\nexport default defineComponent({\n name: \"module-show\",\n props: {\n id: {\n type: String,\n required: true\n },\n lesson_id: {\n type: String,\n required: false\n }\n },\n components: {\n CardCommentFake,\n HacktivityWidget,\n CardSubmitComment,\n CardRecommendMachine,\n VideoPlayer, Tag, CardMachineLesson\n },\n setup( props ) {\n const store = useStore();\n const srcVideo = ref(\"\");\n const titleVideo = ref(\"\");\n const descVideo = ref(\"\");\n const tags = ref({});\n const lessonId = ref(0)\n const challenge = ref({} as Challenge);\n const machines = ref([]);\n const isStarted = ref(false);\n const showSpinner = ref(false);\n const showModule = ref(false);\n const hacktivities = ref([]);\n const hacktivitiesIsFixed = ref([]);\n const links = ref([]);\n const attachments = ref([]);\n\n const currentLanguage = computed(() => store.getters.getCurrentLanguage || localStorage.getItem('currentLanguage'));\n\n const user = computed(() => store.getters.currentUser);\n const module = computed(() => store.getters.getCurrentModule);\n const currentLesson = computed(() => {\n const lessons = module.value.lessons;\n return lessons && lessons?.length > 0 ? lessons[0] : null;\n });\n\n const changeVideo = async (lesson: object) => {\n\n await ApiService.get('academy/lessons/' + lesson['id'] + '/recommended_machine').then((response) => {\n machines.value = response.data.data;\n }).catch((error) => {\n console.log(error);\n });\n\n srcVideo.value = lesson['video_url'];\n titleVideo.value = lesson['title'] ;\n descVideo.value = lesson['description'];\n tags.value = lesson['metadata'];\n isStarted.value = lesson['is_started'];\n lessonId.value = lesson['id'];\n challenge.value = lesson['challenges'][0];\n store.commit(Mutations.SET_CHALLENGE, challenge.value);\n \n tags.value = lesson['tags'];\n hacktivities.value = lesson['hacktivities'];\n hacktivitiesIsFixed.value = filteredHacktivities(lesson)\n links.value = linksToArray(lesson['links']);\n attachments.value = lesson['attachments'];\n };\n const getIsStartedClass = (classIsStarted: boolean) => {\n return classIsStarted ? 'badge-light-success border-success' : 'badge-light-warning border-warning';\n };\n const reloadData = async () => {\n try {\n await store.dispatch(Actions.GET_MODULE, props.id).then(() => {\n if(typeof(module.value.id) === 'undefined') {\n router.push('/');\n }else {\n isStarted.value = store.getters.getLessonData.is_started;\n const unwatchedLesson = module.value.lessons.find((lesson: { is_started: any; }) => !lesson.is_started);\n changeVideo(unwatchedLesson || currentLesson.value);\n }\n });\n } catch (error) {\n console.error('Error getting the course:', error);\n }\n };\n onBeforeMount(async () => {\n showSpinner.value = true;\n\n try {\n await store.dispatch(Actions.GET_MODULE, props.id).then(async () => {\n if(typeof(module.value.id) === 'undefined') {\n router.push('/');\n }else {\n if(props.lesson_id) {\n await store.dispatch(Actions.GET_LESSON, props.lesson_id).then(async() => {\n await changeVideo(store.getters.getLessonData);\n });\n }else{\n const unWatchedLesson = module.value.lessons.find((lesson: { is_started: any; }) => !lesson.is_started);\n changeVideo(unWatchedLesson || currentLesson.value);\n isStarted.value = currentLesson.value.is_started;\n }\n }\n setTimeout(() => {\n showModule.value = true;\n }, 990);\n\n });\n } catch (error) {\n console.error('Error getting the course:', error);\n }\n showSpinner.value = false;\n });\n const getLesson = async () => {\n try {\n await store.dispatch(Actions.GET_LESSON, lessonId.value).then(() => {\n isStarted.value = store.getters.getLessonData.is_started;\n changeVideo(store.getters.getLessonData);\n });\n } catch (error) {\n console.error('Error getting the lesson:', error);\n }\n };\n const toggleWatchedLesson = async () => {\n isStarted.value = !isStarted.value;\n try {\n await store.dispatch(Actions.UPDATE_WATCHED_CHECK, {id: lessonId.value});\n await store.dispatch(Actions.GET_LESSON, lessonId.value).then(() => {\n isStarted.value = store.getters.getLessonData.is_started;\n changeVideo(store.getters.getLessonData);\n });\n await reloadData();\n \n } catch (error) {\n console.error('Error checking the lesson:', error);\n }\n };\n const handleHacktivityDelete = async () => {\n await getLesson();\n };\n const handleHacktivityAdded = async () => {\n await getLesson();\n };\n const handleFixedHacktivity = async () => {\n await reloadData();\n };\n\n function truncateTitle(title: string) {\n if(!title) return;\n return title?.length > 50 ? title.substring(0, 50) + \"...\" : title;\n }\n\n const instanceData = computed(() => store.getters.getCurentChallenge);\n const filteredHacktivities = (lesson) => {\n return lesson.hacktivities?.filter((hacktivity) => hacktivity.is_fixed)\n }\n\n const linksToArray= (link: string | null) =>{\n if(link === null) {\n return [];\n }else{\n return link.split(';');\n }\n }\n return {\n user,\n module,\n router,\n currentLesson,\n changeVideo,\n srcVideo,\n titleVideo,\n descVideo,\n CardMachineLesson,\n Tag,\n tags,\n challenge,\n isStarted,\n toggleWatchedLesson,\n machines,\n getIsStartedClass,\n showSpinner,\n showModule,\n hacktivities,\n lessonId,\n handleHacktivityAdded,\n truncateTitle,\n instanceData,\n handleHacktivityDelete,\n filteredHacktivities,\n handleFixedHacktivity,\n hacktivitiesIsFixed,\n links,\n currentLanguage,\n attachments,\n hasFeature\n };\n }\n});\n","import { render } from \"./ModuleShow.vue?vue&type=template&id=e46d4334&scoped=true&ts=true\"\nimport script from \"./ModuleShow.vue?vue&type=script&lang=ts\"\nexport * from \"./ModuleShow.vue?vue&type=script&lang=ts\"\n\nimport \"./ModuleShow.vue?vue&type=style&index=0&id=e46d4334&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src791094775/src/hackingclub-spa/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e46d4334\"]])\n\nexport default __exports__"],"sourceRoot":""}