{"version":3,"sources":["webpack:///./src/views/apps/ubtzyouth/detail/detail.vue","webpack:///src/views/apps/ubtzyouth/detail/detail.vue","webpack:///./src/views/apps/ubtzyouth/detail/detail.vue?22a1","webpack:///./src/views/apps/ubtzyouth/detail/detail.vue?00aa","webpack:///./src/views/apps/ubtzyouth/detail/detail.vue?5966"],"names":["render","_vm","this","_c","_self","task","locTypeId","directives","name","rawName","value","$store","state","app","detailModal","show","expression","staticClass","staticStyle","on","$event","hideDetailModal","_e","class","concat","style","attrs","$t","_v","_s","_l","b","filter","x","ot","box","bi","key","id","attaches","length","map","a","l","activeBox","index","nm","flag","defaultAttachmentUrl","getLangText","domProps","getLangDesc","secondAttachmentUrl","undefined","myResBaseUrl","staticRenderFns","components","gallery","VueGallery","data","images","mounted","created","activeGroup","resBaseUrl","methods","_objectSpread","mapActions","_task$st","_task$st2","_task$st3","lng","$i18n","locale","st5","st4","st6","_task$f","_task$f2","_task$f3","f3","taskDesc","f2","f4","init","_this","request","api","method","url","params","store","then","res","forEach","page","size","resatt","attachments","handleDetailModal","computed","taskId","watch","val","component"],"mappings":"kNAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAAwB,OAAtBF,EAAII,KAAKC,UAAoBH,EAAG,IAAI,CAACI,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOT,EAAIU,OAAOC,MAAMC,IAAIC,YAAYC,KAAMC,WAAW,sCAAsCC,YAAY,uBAAuBC,YAAY,CAAC,SAAW,QAAQ,MAAQ,OAAO,IAAM,OAAO,UAAU,OAAOC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOnB,EAAIoB,qBAAqB,CAAClB,EAAG,IAAI,CAACc,YAAY,8CAA8ChB,EAAIqB,KAAKnB,EAAG,MAAM,CAACoB,MAAK,iCAAAC,OAC5fvB,EAAIU,OAAOC,MAAMC,IAAIC,YAAYC,KAAO,cAAgB,IACvDU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,MAAAC,IAAA,6BACAC,OAAA,CAAApD,GAAAH,EAAAG,GAAAyD,KAAA,EAAAC,KAAA,KACAL,MAAAN,EAAA1E,SACAiF,MAAA,SAAAK,GACA9D,EAAAI,SAAA0D,EAAAtC,KAAAuC,sBAMA7E,gBAAA,WACA,KAAA8E,kBAAA,CAAApF,MAAA,EAAAuB,GAAA,OAGA8D,SAAA,CACAC,OAAA,WACA,YAAA1F,OAAAC,MAAAC,IAAAC,YAAAwB,KAGAgE,MAAA,CACAD,OAAA,SAAAE,GACAA,EAAA,GACA,KAAAnB,UC7Q4X,I,wBCQxXoB,EAAY,eACd,EACAxG,EACAuD,GACA,EACA,KACA,KACA,MAIa,aAAAiD,E,2CCnBf","file":"js/chunk-3e0e0a41.7b019e91.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.task.locTypeId != 35562)?_c('a',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$store.state.app.detailModal.show),expression:\"$store.state.app.detailModal.show\"}],staticClass:\"close-menu float-end\",staticStyle:{\"position\":\"fixed\",\"right\":\"20px\",\"top\":\"20px\",\"z-index\":\"102\"},on:{\"click\":function($event){return _vm.hideDetailModal()}}},[_c('i',{staticClass:\"fa fa-times-circle fa-2x color-red-dark\"})]):_vm._e(),_c('div',{class:`menu menu-box-modal rounded-0 ${\n _vm.$store.state.app.detailModal.show ? 'menu-active' : ''\n }`,style:(`display: block; width: 100%; height: 100%; ${\n _vm.task.locTypeId == 35562 ? 'background: #555b7f' : ''\n }`),attrs:{\"id\":\"menu-modal-view\",\"data-menu-width\":\"cover\",\"data-menu-height\":\"cover\"}},[_c('div',{staticClass:\"header header-fixed header-logo-app\",staticStyle:{\"transform\":\"translateX(0px)\",\"overflow\":\"hidden\"}},[(_vm.task.locTypeId == 35562)?_c('a',{staticClass:\"header-title\",staticStyle:{\"margin-left\":\"20px !important\"},attrs:{\"data-back-button\":\"\",\"title\":_vm.$t('photoAlbum')}},[_vm._v(_vm._s(_vm.$t(\"photoAlbum\")))]):_c('a',{staticClass:\"header-title\",staticStyle:{\"margin-left\":\"20px !important\"},attrs:{\"data-back-button\":\"\",\"title\":\"Дэлгэрэнгүй\"}},[_c('span',[_vm._v(\" Дэлгэрэнгүй \")])]),(_vm.task.locTypeId == 35562)?_c('a',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$store.state.app.detailModal.show),expression:\"$store.state.app.detailModal.show\"}],staticClass:\"close-menu float-end\",staticStyle:{\"position\":\"fixed\",\"right\":\"20px\",\"top\":\"20px\"},on:{\"click\":function($event){return _vm.hideDetailModal()}}},[_c('i',{staticClass:\"fa fa-times-circle fa-2x color-red-dark\"})]):_vm._e()]),(_vm.task.locTypeId == 35562)?_c('div',{staticStyle:{\"margin-top\":\"5rem\"}},_vm._l((_vm.task.b.filter((x) => x.ot == 6)),function(box,bi){return _c('div',{key:box.id},[_c('div',{key:bi,staticClass:\"card card-style\",staticStyle:{\"-webkit-transform\":\"inherit !important\"}},[_c('div',{staticClass:\"content mt-n3\",staticStyle:{\"margin-top\":\"-1rem !important\"}},[_c('span',{staticClass:\"mx-0 mt-4 card card-style bg-3\",staticStyle:{\"height\":\"175px\",\"-webkit-transform\":\"inherit !important\"},attrs:{\"data-card-height\":\"175\"}},[_c('div',{staticClass:\"demo-image__preview\"},[(box.attaches != null && box.attaches.length > 0)?_c('img',{attrs:{\"preview-src-list\":box.attaches.map((a) => a.l + '?w=600&mode=crop'),\"src\":`${box.attaches[0].l}?w=600&mode=crop`},on:{\"click\":function($event){_vm.activeBox = box;\n _vm.index = 0;}}}):_vm._e()])]),_c('h2',[_vm._v(_vm._s(box.nm))]),_c('p')])])])}),0):(_vm.$store.state.app.detailModal.flag == 3)?_c('div'):_c('div',{staticClass:\"card bg-18\",staticStyle:{\"height\":\"350px\"},style:(`background-image:url('${_vm.task.defaultAttachmentUrl}?w=600&mode=crop')`),attrs:{\"data-card-height\":\"350\"}},[_c('div',{staticClass:\"p-3 card-top no-click\"}),_c('div',{staticClass:\"p-3 mt-2 card-top\"}),_c('div',{staticClass:\"p-3 card-bottom\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$store.state.app.detailModal.flag != 2),expression:\"$store.state.app.detailModal.flag != 2\"}],staticClass:\"color-white font-30\"},[_vm._v(\" \"+_vm._s(_vm.getLangText(_vm.task))+\" \")])])]),(_vm.$store.state.app.detailModal.flag == 3)?_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.getLangDesc(_vm.task))}}):_c('div',{staticClass:\"content\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$store.state.app.detailModal.flag != 2),expression:\"$store.state.app.detailModal.flag != 2\"}],domProps:{\"innerHTML\":_vm._s(_vm.getLangDesc(_vm.task))}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$store.state.app.detailModal.flag == 2),expression:\"$store.state.app.detailModal.flag == 2\"}],domProps:{\"innerHTML\":_vm._s(_vm.getLangText(_vm.task))}})]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$store.state.app.detailModal.show &&\n _vm.task.secondAttachmentUrl != 'https://res.gosmart.mn/media/noimg.png'\n ),expression:\"$store.state.app.detailModal.show &&\\n task.secondAttachmentUrl != 'https://res.gosmart.mn/media/noimg.png'\\n \"}]},[(_vm.task.secondAttachmentUrl!=undefined && _vm.task.secondAttachmentUrl!=null && _vm.task.secondAttachmentUrl != 'https://res.gosmart.mn/media/noimg.png')?_c('iframe',{staticStyle:{\"height\":\"1000px\",\"width\":\"100%\"},attrs:{\"id\":\"theFrame\",\"src\":`${_vm.myResBaseUrl}ubtz/web/viewer.html?file=` + _vm.task.secondAttachmentUrl}}):_vm._e()]),_c('div',{staticClass:\"divider divider-margins\"})]),_c('gallery',{attrs:{\"images\":_vm.activeBox.attaches.map((a) => a.l + '?w=600&mode=crop'),\"index\":_vm.index},on:{\"close\":function($event){_vm.index = null}}})],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!./detail.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!./detail.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./detail.vue?vue&type=template&id=5dd90e11\"\nimport script from \"./detail.vue?vue&type=script&lang=js\"\nexport * from \"./detail.vue?vue&type=script&lang=js\"\nimport style0 from \"./detail.vue?vue&type=style&index=0&id=5dd90e11&prod&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 null,\n null\n \n)\n\nexport default component.exports","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!./detail.vue?vue&type=style&index=0&id=5dd90e11&prod&lang=css\""],"sourceRoot":""}