{"version":3,"sources":["webpack:///./src/views/modules/lms/student/pages/library/components/read.vue","webpack:///src/views/modules/lms/student/pages/library/components/read.vue","webpack:///./src/views/modules/lms/student/pages/library/components/read.vue?991d","webpack:///./src/views/modules/lms/student/pages/library/components/read.vue?935d"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","name","params","id","cid","title","m","bkDtl","rdy","_v","_s","obj","task","_e","fileInf","ready","on","$event","onRated","isRepeat","secondAttachmentUrl","downloadBook","key","defaultAttachmentId","$set","onFileLoaded","ref","secondAttachmentId","$route","$store","state","app","isMobile","staticRenderFns","components","filePreview","component","loading","AsyncLoading","error","AsyncLoadError","delay","timeout","attachRating","data","scrHeight","execution","executionReply","order","info","coverId","attachId","tip","confirm","mdl","itemId","fileDialog","show","mounted","init","$refs","targetDiv","addEventListener","disableRightClick","beforeUnmount","removeEventListener","methods","event","preventDefault","stopPropagation","console","log","e","myRate","rate","rateAvg","avg","executionInit","executionList","initById","_this","request","api","method","url","store","then","res","taskDesc","window","open","Math","floor","random","showFile"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,qCAAqCC,YAAY,CAAC,mBAAmB,uBAAuB,CAACH,EAAG,MAAM,CAACE,YAAY,kDAAkD,CAACF,EAAG,cAAc,CAACI,MAAM,CAAC,GAAK,CACrRC,KAAM,aACNC,OAAQ,CAAEC,GAAI,EAAGC,IAAK,EAAGC,MAAO,YAAaC,EAAG,MAC9C,CAACV,EAAG,UAAU,CAACE,YAAY,UAAUE,MAAM,CAAC,KAAO,mBAAmB,GAAIN,EAAIa,MAAMC,IAAKZ,EAAG,KAAK,CAACE,YAAY,4BAA4B,CAACJ,EAAIe,GAAG,IAAIf,EAAIgB,GAAGhB,EAAIa,MAAMI,IAAIC,MAAM,OAAOlB,EAAImB,KAAMnB,EAAIoB,QAAQC,MAAOnB,EAAG,gBAAgB,CAACE,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AhC,KACAoE,EAAAzE,MAAAI,IAAA4E,EAAA3C,KAAAhC,KACAoE,EAAAzE,MAAAe,IAAAiE,EAAA3C,KAAAzC,GACA6E,EAAAzE,MAAAC,KAAA,EACAwE,EAAAhC,MAAAM,KAAA,OAIAjC,aAAA,WACAoE,OAAAC,KACA,KAAAnF,MAAAI,IAAAS,oBACA,MACAuE,KAAAC,MAAA,IAAAD,KAAAE,UACA,WAGAC,SAAA,SAAA3F,GACA,KAAAqD,WAAArD,KACA,KAAAqD,WAAAC,MAAA,KCtKua,I,YCOnarB,EAAY,eACd,EACA3C,EACAwC,GACA,EACA,KACA,KACA,MAIa,aAAAG,E","file":"js/chunk-2d0c0dea.95368cdd.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg-white mg-40 rounded-20 pd-lg-20\",staticStyle:{\"background-color\":\"rgb(226, 226, 226)\"}},[_c('div',{staticClass:\"mg-b-20 pd-b-10 bd-b d-flex align-items-center\"},[_c('router-link',{attrs:{\"to\":{\n name: 'lmsLibrary',\n params: { id: 0, cid: 0, title: 'Номын сан', m: 0 },\n }}},[_c('feather',{staticClass:\"mg-r-10\",attrs:{\"type\":\"chevron-left\"}})],1),(_vm.bkDtl.rdy)?_c('h5',{staticClass:\"tx-semibold mg-b-0 tx-20\"},[_vm._v(\" \"+_vm._s(_vm.bkDtl.obj.task)+\" \")]):_vm._e(),(_vm.fileInf.ready)?_c('attach-rating',{staticClass:\"mg-l-auto\",attrs:{\"fileInf\":_vm.fileInf,\"disabled\":\"\",\"allowHalf\":false},on:{\"update:fileInf\":function($event){_vm.fileInf=$event},\"update:file-inf\":function($event){_vm.fileInf=$event},\"on-rate\":_vm.onRated}}):_vm._e(),(\n _vm.bkDtl.rdy && _vm.bkDtl.obj.isRepeat && _vm.bkDtl.obj.secondAttachmentUrl != ''\n )?_c('button',{staticClass:\"mg-l-10 btn btn-outline-success btn-xs\",on:{\"click\":function($event){return _vm.downloadBook()}}},[_c('feather',{staticClass:\"mg-r-5\",attrs:{\"type\":\"download\"}}),_vm._v(\" татах \")],1):_vm._e()],1),(_vm.bkDtl.rdy)?_c('file-preview',{key:_vm.bkDtl.key,staticClass:\"d-none\",attrs:{\"id\":_vm.bkDtl.obj.defaultAttachmentId,\"force\":true},on:{\"update:id\":function($event){return _vm.$set(_vm.bkDtl.obj, \"defaultAttachmentId\", $event)},\"on-file-loaded\":_vm.onFileLoaded}}):_vm._e(),_c('div',{ref:\"targetDiv\"},[(_vm.bkDtl.rdy)?_c('file-preview',{attrs:{\"id\":_vm.bkDtl.obj.secondAttachmentId,\"params\":_vm.$route.params,\"force\":true,\"hideDownload\":true,\"minusHeight\":_vm.$store.state.app.isMobile ? 140 : 260},on:{\"update:id\":function($event){return _vm.$set(_vm.bkDtl.obj, \"secondAttachmentId\", $event)}}}):_vm._e()],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./read.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!./read.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./read.vue?vue&type=template&id=8943bace\"\nimport script from \"./read.vue?vue&type=script&lang=js\"\nexport * from \"./read.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"],"sourceRoot":""}