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,aAAamB,aAAeR,EAAKX,aAAaoB,iBAAkB,kBAAc,wBAAoB,IAAKrE,GAAY,qBAAiBiE,EAASb,gCAAiC,KAAM,wBAAoB,IAAI,IAC/gB,I","sources":["webpack://lawline/./resources/assets/js/vue/apps/learning-path-detail/components/CoursesHeader.vue?4c0d","webpack://lawline/./resources/assets/js/vue/apps/learning-path-detail/components/CoursesHeader.vue","webpack://lawline/./resources/assets/js/vue/apps/learning-path-detail/components/CoursesHeader.vue?e836"],"sourcesContent":["import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\";\nvar _hoisted_1 = {\n \"class\": \"my-5 flex items-center justify-between\"\n};\nvar _hoisted_2 = {\n \"class\": \"inline-block text-base text-gray-600\"\n};\nvar _hoisted_3 = {\n \"class\": \"font-bold\"\n};\nvar _hoisted_4 = {\n \"class\": \"font-medium\"\n};\nvar _hoisted_5 = {\n key: 0,\n \"class\": \"m-0 inline-block text-base font-bold text-ll-cerulean\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createElementVNode(\"h3\", _hoisted_2, [_createElementVNode(\"span\", _hoisted_3, _toDisplayString(_ctx.learningPath.course_count) + \" items - \", 1), _createElementVNode(\"span\", _hoisted_4, _toDisplayString(_ctx.learningPath.duration), 1)]), _ctx.loaded && !_ctx.learningPath.not_started && _ctx.learningPath.access_allowed ? (_openBlock(), _createElementBlock(\"p\", _hoisted_5, _toDisplayString($options.learningPathPercentageComplete), 1)) : _createCommentVNode(\"\", true)]);\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nimport { mapGetters } from 'vuex';\nexport default {\n computed: _objectSpread(_objectSpread({}, mapGetters('LearningPath', {\n learningPath: 'learningPath',\n courses: 'courses',\n loaded: 'coursesLoaded'\n })), {}, {\n learningPathPercentageComplete: function learningPathPercentageComplete() {\n var completedCoursesCount = this.courses.filter(function (course) {\n return course.completed;\n }).length;\n return \"\".concat(Math.round(completedCoursesCount / this.courses.length * 100), \"% Complete\");\n }\n })\n};","/* unplugin-vue-components disabled */import { render } from \"./CoursesHeader.vue?vue&type=template&id=351f0b58\"\nimport script from \"./CoursesHeader.vue?vue&type=script&lang=js\"\nexport * from \"./CoursesHeader.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","key","_typeof","obj","Symbol","iterator","constructor","prototype","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","value","arg","input","hint","prim","toPrimitive","undefined","res","call","TypeError","String","Number","_toPrimitive","_toPropertyKey","configurable","writable","computed","learningPath","courses","loaded","learningPathPercentageComplete","completedCoursesCount","this","course","completed","concat","Math","round","_ctx","_cache","$props","$setup","$data","$options","course_count","duration","not_started","access_allowed"],"sourceRoot":""}