{"version":3,"sources":["webpack:///./src/components/machine/machine_timeline.vue?bf6a","webpack:///./src/components/machine/machine_timeline.vue?1da2","webpack:///./src/components/machine/machine_timeline.vue","webpack:///./src/components/machine/machine_activity.vue?1a6d","webpack:///./src/components/machine/machine_activity.vue?4242","webpack:///./src/components/machine/machine_activity.vue","webpack:///./src/core/helpers/breadcrumb.ts"],"names":["_hoisted_1","key","_hoisted_2","class","_hoisted_3","_hoisted_4","_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","title","_hoisted_19","style","_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","_hoisted_34","href","_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","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_hoisted_57","_hoisted_58","_hoisted_59","_hoisted_60","_hoisted_61","_hoisted_62","_hoisted_63","render","_ctx","_cache","$props","$setup","$data","$options","activities","length","_c","scoreboard","$t","currentLanguage","index","user","nick","src","avatar","alt","name","level","moment","duration","time_to_complete","format","trim","activity","flag","dificulty","points","utc","created_at","data","progress","props","machine","type","Object","default","setup","store","getters","getCurrentLanguage","localStorage","getItem","commit","SET_CURRENT_MACHINE_ACTIVITY","dispatch","GET_MACHINE_ACTIVITY","id","getMachineActivities","created","setTimeout","completion_percentage","__exports__","percentage","parseFloat","total_flags","toString","toFixed","attachments","attachment","url","target","filename","setCurrentPageBreadcrumbs","pageTitle","breadcrumbs","SET_BREADCRUMB_ACTION","pageBread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f,IACFM,EAAQ,iBACR5B,EAAkB,uBAAS,WAAM,OAAA4B,EAAMC,QAAQC,oBAAsBC,aAAaC,QAAQ,sBAGhG,MAAO,CACLvB,OAAM,IACNT,gBAAe,IAGnBuC,QAAO,WAAP,WAEEC,YAAW,WACT,EAAKG,WAAa,EAAKpB,QAAQoB,aAC9B,S,sBC7BP,MAAMD,GAA2B,KAAgB,EAAQ,CAAC,CAAC,SAAStD,KAErD,W,kCCPf,gGAQaiE,EAA4B,SACvCC,EACAC,GAEA,OAAMpB,SAAS,OAAQqB,sBAAuB,CAC5CpH,MAAOkH,EACPG,mBAAoBF,KAQXG,EAAsB,SAACtH,GAClC,OAAM+F,SAAS,OAAQqB,sBAAuB,CAC5CpH,MAAOA","file":"js/chunk-3cbd4bbb.2c0dab74.js","sourcesContent":["import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = {\n key: 0,\n class: \"card mb-6 mb-xl-9 pt-0 pb-0\"\n}\nconst _hoisted_3 = { class: \"card-body\" }\nconst _hoisted_4 = { class: \"d-flex align-items-center\" }\nconst _hoisted_5 = { class: \"flex-grow-1\" }\nconst _hoisted_6 = { class: \"row\" }\nconst _hoisted_7 = { class: \"col-md-6 d-flex justify-content-start\" }\nconst _hoisted_8 = { class: \"\" }\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"b\", { class: \"pb-2 mb-5\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-trophy text-white\" }),\n /*#__PURE__*/_createTextVNode(\"  Machine Rank \"),\n /*#__PURE__*/_createElementVNode(\"small\", { class: \"text-gray-500\" }, \"- Top 20 players\")\n], -1)\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_11 = { class: \"table-responsive mt-10\" }\nconst _hoisted_12 = {\n key: 0,\n class: \"table table-row-dashed table-row-gray-200 align-middle gs-0 gy-4\"\n}\nconst _hoisted_13 = { class: \"border-0\" }\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"th\", { class: \"p-0 w-50px\" }, \"# Rank\", -1)\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"th\", { class: \"p-0 w-50px\" }, \"  Player\", -1)\nconst _hoisted_16 = /*#__PURE__*/_createElementVNode(\"th\", { class: \"p-0 w-200px\" }, null, -1)\nconst _hoisted_17 = { class: \"p-0 w-200px text-end\" }\nconst _hoisted_18 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"fa fa-info-circle\",\n title: \"This time is counted from the launch of the machine until the player picks all the last flag\"\n}, null, -1)\nconst _hoisted_19 = {\n key: 0,\n style: {\"font-size\":\"15px\"}\n}\nconst _hoisted_20 = /*#__PURE__*/_createTextVNode(\" 1°  \")\nconst _hoisted_21 = /*#__PURE__*/_createElementVNode(\"i\", {\n class: \"bi bi-trophy\",\n style: {\"color\":\"#ffd700\",\"font-size\":\"15px\"}\n}, null, -1)\nconst _hoisted_22 = [\n _hoisted_20,\n _hoisted_21\n]\nconst _hoisted_23 = {\n key: 1,\n style: {\"font-size\":\"15px\"}\n}\nconst _hoisted_24 = /*#__PURE__*/_createTextVNode(\" 2°  \")\nconst _hoisted_25 = /*#__PURE__*/_createElementVNode(\"i\", {\n class: \"bi bi-trophy\",\n style: {\"color\":\"#c0c0c0\",\"font-size\":\"15px\"}\n}, null, -1)\nconst _hoisted_26 = [\n _hoisted_24,\n _hoisted_25\n]\nconst _hoisted_27 = {\n key: 2,\n style: {\"font-size\":\"15px\"}\n}\nconst _hoisted_28 = /*#__PURE__*/_createTextVNode(\" 3°  \")\nconst _hoisted_29 = /*#__PURE__*/_createElementVNode(\"i\", {\n class: \"bi bi-trophy\",\n style: {\"color\":\"#cd7f32\",\"font-size\":\"15px\"}\n}, null, -1)\nconst _hoisted_30 = [\n _hoisted_28,\n _hoisted_29\n]\nconst _hoisted_31 = {\n key: 3,\n style: {\"font-size\":\"15px\"}\n}\nconst _hoisted_32 = [\"title\"]\nconst _hoisted_33 = [\"src\"]\nconst _hoisted_34 = {\n href: \"#\",\n class: \"text-dark fw-bolder text-hover-primary mb-1 fs-6\"\n}\nconst _hoisted_35 = { class: \"text-muted fw-bold d-block\" }\nconst _hoisted_36 = {\n key: 0,\n class: \"fw-bold fs-6 text-gray-500 mb-4\"\n}\nconst _hoisted_37 = /*#__PURE__*/_createTextVNode(\" First Blood \")\nconst _hoisted_38 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-droplet text-danger\" }, null, -1)\nconst _hoisted_39 = [\n _hoisted_37,\n _hoisted_38\n]\nconst _hoisted_40 = [\"title\"]\nconst _hoisted_41 = { class: \"badge badge-light-success\" }\nconst _hoisted_42 = { class: \"col-md-6 d-flex justify-content-center\" }\nconst _hoisted_43 = { class: \"col-md-12\" }\nconst _hoisted_44 = {\n class: \"pb-2 mb-5\",\n title: \"Hacker Activity\"\n}\nconst _hoisted_45 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-list-nested text-white\" }, null, -1)\nconst _hoisted_46 = /*#__PURE__*/_createTextVNode(\"  Hacktivity \")\nconst _hoisted_47 = { class: \"text-gray-500\" }\nconst _hoisted_48 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_49 = {\n class: \"timeline mt-10\",\n style: {\"max-height\":\"750px\",\"overflow\":\"auto\"}\n}\nconst _hoisted_50 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"timeline-line w-40px\" }, null, -1)\nconst _hoisted_51 = { class: \"timeline-icon symbol symbol-circle symbol-40px\" }\nconst _hoisted_52 = { class: \"symbol-label bg-light\" }\nconst _hoisted_53 = {\n key: 0,\n class: \"bi bi-flag text-success\"\n}\nconst _hoisted_54 = {\n key: 1,\n class: \"bi bi-flag text-info\"\n}\nconst _hoisted_55 = {\n key: 2,\n class: \"bi bi-flag text-warning\"\n}\nconst _hoisted_56 = {\n key: 3,\n class: \"bi bi-flag text-danger\"\n}\nconst _hoisted_57 = { class: \"timeline-content mb-10 mt-1\" }\nconst _hoisted_58 = { class: \"overflow-auto pe-3\" }\nconst _hoisted_59 = { class: \"fs-5 fw-bold mb-2\" }\nconst _hoisted_60 = { class: \"d-flex align-items-center mt-1 fs-6\" }\nconst _hoisted_61 = { class: \"text-muted me-2 fs-7\" }\nconst _hoisted_62 = [\"title\"]\nconst _hoisted_63 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_ctx.activities)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (\r\n _ctx.activities?.activities?.length > 0 || _ctx.activities?.scoreboard?.length > 0\r\n )\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n (_ctx.activities.scoreboard.length > 0)\n ? (_openBlock(), _createElementBlock(\"table\", _hoisted_12, [\n _createElementVNode(\"thead\", null, [\n _createElementVNode(\"tr\", _hoisted_13, [\n _hoisted_14,\n _hoisted_15,\n _hoisted_16,\n _createElementVNode(\"th\", _hoisted_17, [\n _createTextVNode(_toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.time_to_complete`)) + \" \", 1),\n _hoisted_18\n ])\n ])\n ]),\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.activities.scoreboard, (scoreboard, index) => {\n return (_openBlock(), _createElementBlock(\"tr\", { key: index }, [\n (index + 1 == 1)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_19, _hoisted_22))\n : _createCommentVNode(\"\", true),\n (index + 1 == 2)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_23, _hoisted_26))\n : _createCommentVNode(\"\", true),\n (index + 1 == 3)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_27, _hoisted_30))\n : _createCommentVNode(\"\", true),\n (index + 1 > 3)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_31))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"td\", null, [\n _createElementVNode(\"div\", {\n class: \"symbol symbol-circle symbol-45px\",\n \"data-bs-toggle\": \"tooltip\",\n \"data-bs-boundary\": \"window\",\n \"data-bs-placement\": \"top\",\n title: scoreboard.user?.nick\n }, [\n _createElementVNode(\"img\", {\n src: scoreboard.user?.avatar,\n alt: \"img\"\n }, null, 8, _hoisted_33)\n ], 8, _hoisted_32)\n ]),\n _createElementVNode(\"td\", null, [\n _createElementVNode(\"a\", _hoisted_34, _toDisplayString(scoreboard.user?.nick || scoreboard.user?.name), 1),\n _createElementVNode(\"span\", _hoisted_35, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.level`)) + \" \" + _toDisplayString(scoreboard.user.level), 1),\n (index + 1 == 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_36, _hoisted_39))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"td\", {\n class: \"text-end\",\n title: _ctx.moment.duration(scoreboard.time_to_complete, 'seconds').format([_ctx.moment.duration(1, 'minute'),_ctx.moment.duration(1, 'day')], 'M [month] w [week] d [day] hh [hour] mm [minute] ss [second]', { trim: 'all' })\n }, [\n _createElementVNode(\"span\", _hoisted_41, _toDisplayString(_ctx.moment.duration(scoreboard.time_to_complete, 'seconds').format([_ctx.moment.duration(1, \"minute\"),_ctx.moment.duration(1, \"day\")], \"M[M] w[S] d[d] hh[h] mm[m] ss[s]\", { trim: \"all\" })), 1)\n ], 8, _hoisted_40)\n ]))\n }), 128))\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_42, [\n _createElementVNode(\"div\", _hoisted_43, [\n _createElementVNode(\"b\", _hoisted_44, [\n _hoisted_45,\n _hoisted_46,\n _createElementVNode(\"small\", _hoisted_47, \"- \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.last_activities_on_this_machine`)), 1)\n ]),\n _hoisted_48,\n _createElementVNode(\"div\", _hoisted_49, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.activities?.activities, (activity, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"timeline-item\",\n key: index\n }, [\n _hoisted_50,\n _createElementVNode(\"div\", _hoisted_51, [\n _createElementVNode(\"div\", _hoisted_52, [\n (activity.flag.dificulty == 'easy')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_53))\n : _createCommentVNode(\"\", true),\n (activity.flag.dificulty == 'medium')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_54))\n : _createCommentVNode(\"\", true),\n (activity.flag.dificulty == 'hard')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_55))\n : _createCommentVNode(\"\", true),\n (activity.flag.dificulty == 'insane')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_56))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_57, [\n _createElementVNode(\"div\", _hoisted_58, [\n _createElementVNode(\"div\", _hoisted_59, _toDisplayString(activity.user?.nick || activity.user?.name) + \" \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.picked_up_the_flag`)) + \" \" + _toDisplayString(activity.flag.dificulty) + \" \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.and_won`)) + \" \" + _toDisplayString(activity.points) + \"xp \", 1),\n _createElementVNode(\"div\", _hoisted_60, [\n _createElementVNode(\"div\", _hoisted_61, \" Owned at \" + _toDisplayString(_ctx.moment\r\n .utc(activity.created_at)\r\n .format(\"DD/MM/YYYY HH:mm:ss\")) + \" by \", 1),\n _createElementVNode(\"div\", {\n class: \"symbol symbol-circle symbol-25px\",\n \"data-bs-toggle\": \"tooltip\",\n \"data-bs-boundary\": \"window\",\n \"data-bs-placement\": \"top\",\n title: activity.user?.nick\n }, [\n _createElementVNode(\"img\", {\n src: activity.user?.avatar,\n alt: \"img\"\n }, null, 8, _hoisted_63)\n ], 8, _hoisted_62)\n ])\n ])\n ])\n ]))\n }), 128))\n ])\n ])\n ])\n ])\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n}","\r\nimport { computed, defineComponent } from \"vue\";\r\nimport { useStore } from \"vuex\";\r\nimport { Actions , Mutations } from \"@/store/enums/StoreEnums\";\r\nimport moment from \"moment\";\r\nimport {useI18n} from \"vue-i18n\";\r\n\r\nexport default defineComponent({\r\n name: \"machine_timeline\",\r\n data() {\r\n return {\r\n progress: 0,\r\n };\r\n },\r\n props: {\r\n machine: {\r\n type: Object,\r\n default: null,\r\n },\r\n },\r\n setup(props) {\r\n const store = useStore();\r\n const { t } = useI18n();\r\n\r\n const currentLanguage = computed(() => store.getters.getCurrentLanguage || localStorage.getItem('currentLanguage'));\r\n store.commit(Mutations.SET_CURRENT_MACHINE_ACTIVITY, {});\r\n store.dispatch(Actions.GET_MACHINE_ACTIVITY, { id: props.machine.id });\r\n // get the current machine activities\r\n const activities = computed(() => {\r\n return store.getters.getMachineActivities;\r\n });\r\n\r\n return {\r\n moment,\r\n activities,\r\n currentLanguage\r\n };\r\n },\r\n created() {\r\n \r\n setTimeout(() => {\r\n this.progress = this.machine.completion_percentage;\r\n }, 1500);\r\n },\r\n});\r\n","import { render } from \"./machine_timeline.vue?vue&type=template&id=fd50f450&ts=true\"\nimport script from \"./machine_timeline.vue?vue&type=script&lang=ts\"\nexport * from \"./machine_timeline.vue?vue&type=script&lang=ts\"\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]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"card mb-6 mb-xl-9 pt-0 pb-0\"\n}\nconst _hoisted_2 = { class: \"card-body\" }\nconst _hoisted_3 = { class: \"d-flex align-items-center\" }\nconst _hoisted_4 = { class: \"flex-grow-1\" }\nconst _hoisted_5 = { class: \"row\" }\nconst _hoisted_6 = { class: \"col-md-6 d-flex justify-content-start\" }\nconst _hoisted_7 = { class: \"col-md-6 d-flex justify-content-end\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Flags:\", -1)\nconst _hoisted_9 = { class: \"card-title mt-5\" }\nconst _hoisted_10 = { class: \"progress col-md-12\" }\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_12 = {\n key: 1,\n class: \"row d-flex justify-content-around\"\n}\nconst _hoisted_13 = { class: \"card mb-6 col-md-5 mb-xl-9 pt-0 pb-0\" }\nconst _hoisted_14 = { class: \"card-body\" }\nconst _hoisted_15 = { class: \"d-flex align-items-center\" }\nconst _hoisted_16 = { class: \"flex-grow-1\" }\nconst _hoisted_17 = { class: \"row\" }\nconst _hoisted_18 = { class: \"col-md-9 d-flex justify-content-start\" }\nconst _hoisted_19 = { class: \"col-md-3 d-flex justify-content-end\" }\nconst _hoisted_20 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Flags:\", -1)\nconst _hoisted_21 = { class: \"card-title mt-5\" }\nconst _hoisted_22 = { class: \"progress col-md-12\" }\nconst _hoisted_23 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_24 = { class: \"card mb-6 col-md-5 mb-xl-9 pt-0 pb-0\" }\nconst _hoisted_25 = { class: \"card-body\" }\nconst _hoisted_26 = { class: \"card-title\" }\nconst _hoisted_27 = { class: \"row\" }\nconst _hoisted_28 = { class: \"col-md-12 d-flex justify-content-start\" }\nconst _hoisted_29 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-file-earmark-pdf-fill fs-2\" }, null, -1)\nconst _hoisted_30 = { class: \"overflow-auto pb-5\" }\nconst _hoisted_31 = { class: \"d-flex align-items-center border border-dashed border-gray-300 rounded p-5\" }\nconst _hoisted_32 = { key: 0 }\nconst _hoisted_33 = {\n key: 0,\n alt: \"\",\n class: \"w-30px me-3\",\n src: \"/media/svg/files/upload.svg\"\n}\nconst _hoisted_34 = {\n key: 1,\n alt: \"\",\n class: \"w-30px me-3\",\n src: \"/media/svg/files/pdf.svg\"\n}\nconst _hoisted_35 = { class: \"ms-1 fw-bold\" }\nconst _hoisted_36 = [\"href\"]\nconst _hoisted_37 = { class: \"text-gray-400\" }\nconst _hoisted_38 = { key: 1 }\nconst _hoisted_39 = { class: \"d-flex flex-aligns-center pe-10 pe-lg-20\" }\nconst _hoisted_40 = /*#__PURE__*/_createElementVNode(\"img\", {\n alt: \"\",\n class: \"w-30px me-3\",\n src: \"/media/svg/files/pdf.svg\"\n}, null, -1)\nconst _hoisted_41 = { class: \"ms-1 fw-bold\" }\nconst _hoisted_42 = /*#__PURE__*/_createElementVNode(\"a\", {\n style: {\"cursor\":\"not-allowed\"},\n class: \"fs-6 text-hover-primary fw-bolder\"\n}, \"Write-UP\", -1)\nconst _hoisted_43 = { class: \"text-gray-400\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_ctx.machine.type == 'default')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.your_progress_on_this_machine_is`)) + \": \", 1),\n _createTextVNode(\"  \" + _toDisplayString(_ctx.percentage) + \"% \", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createTextVNode(\"  \" + _toDisplayString(parseFloat(((_ctx.percentage / 100) * _ctx.machine.total_flags).toString()).toFixed(0)) + \"/\" + _toDisplayString(_ctx.machine.total_flags), 1)\n ])\n ]),\n _createElementVNode(\"h6\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", {\n class: \"progress-value\",\n style: _normalizeStyle('width: ' + _ctx.percentage + '%')\n }, null, 4)\n ]),\n _hoisted_11\n ])\n ])\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.your_progress_on_this_machine_is`)) + \": \", 1),\n _createTextVNode(\"  \" + _toDisplayString(_ctx.percentage) + \"% \", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _hoisted_20,\n _createTextVNode(\"  \" + _toDisplayString(parseFloat(((_ctx.percentage / 100) * _ctx.machine.total_flags).toString()).toFixed(0)) + \"/\" + _toDisplayString(_ctx.machine.total_flags), 1)\n ])\n ]),\n _createElementVNode(\"h6\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", {\n class: \"progress-value\",\n style: _normalizeStyle('width: ' + _ctx.percentage + '%')\n }, null, 4)\n ]),\n _hoisted_23\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"div\", _hoisted_26, [\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"div\", _hoisted_28, [\n _hoisted_29,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.attachments`)), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"div\", _hoisted_31, [\n (_ctx.machine.attachments)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_32, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.machine.attachments, (attachment) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"d-flex flex-aligns-center pe-10 pe-lg-20\",\n key: attachment\n }, [\n (attachment.type == 'link')\n ? (_openBlock(), _createElementBlock(\"img\", _hoisted_33))\n : (_openBlock(), _createElementBlock(\"img\", _hoisted_34)),\n _createElementVNode(\"div\", _hoisted_35, [\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_36),\n _createElementVNode(\"div\", _hoisted_37, _toDisplayString(attachment.filename), 1)\n ])\n ]))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_38, [\n _createElementVNode(\"div\", _hoisted_39, [\n _hoisted_40,\n _createElementVNode(\"div\", _hoisted_41, [\n _hoisted_42,\n _createElementVNode(\"div\", _hoisted_43, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.available_only_for_members`)), 1)\n ])\n ])\n ]))\n ])\n ])\n ])\n ])\n ]))\n ]))\n}","\r\nimport {computed, defineComponent} from \"vue\";\r\nimport moment from \"moment\";\r\nimport {useStore} from \"vuex\";\r\nimport { useI18n } from \"vue-i18n/index\";\r\n\r\nexport default defineComponent({\r\n name: \"machine_activity\",\r\n data() {\r\n return {\r\n percentage: 0,\r\n };\r\n },\r\n props: {\r\n machine: {\r\n type: Object,\r\n default: null,\r\n },\r\n },\r\n setup(props) {\r\n const { t } = useI18n();\r\n const store = useStore();\r\n const currentLanguage = computed(() => store.getters.getCurrentLanguage || localStorage.getItem('currentLanguage'));\r\n\r\n\r\n return {\r\n moment,\r\n currentLanguage\r\n };\r\n },\r\n created() {\r\n \r\n setTimeout(() => {\r\n this.percentage = this.machine.percentage;\r\n }, 1500);\r\n },\r\n});\r\n","import { render } from \"./machine_activity.vue?vue&type=template&id=7d1e5100&ts=true\"\nimport script from \"./machine_activity.vue?vue&type=script&lang=ts\"\nexport * from \"./machine_activity.vue?vue&type=script&lang=ts\"\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]])\n\nexport default __exports__","import store from \"@/store\";\r\nimport { Actions } from \"@/store/enums/StoreEnums\";\r\n\r\n/**\r\n * Sets current page breadcrumbs\r\n * @param {string} pageTitle Current page title\r\n * @param {Array} breadcrumbs Current page breadcrumbs\r\n */\r\nexport const setCurrentPageBreadcrumbs = (\r\n pageTitle: string,\r\n breadcrumbs: Array\r\n): void => {\r\n store.dispatch(Actions.SET_BREADCRUMB_ACTION, {\r\n title: pageTitle,\r\n pageBreadcrumbPath: breadcrumbs,\r\n });\r\n};\r\n\r\n/**\r\n * Sets current page breadcrumbs\r\n * @param {string} title Current page title name\r\n */\r\nexport const setCurrentPageTitle = (title: string): void => {\r\n store.dispatch(Actions.SET_BREADCRUMB_ACTION, {\r\n title: title,\r\n });\r\n};\r\n"],"sourceRoot":""}