(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("56d7")},1:function(e,t){},"222e":function(e,t,n){"use strict";n("d83c")},"38a9":function(e,t,n){"use strict";n("4f6e")},4360:function(e,t,n){"use strict";var i=n("2b0e"),o=n("2f62"),a={courseId:function(e){return e.app.courseId},testId:function(e){return e.app.testId},shareCourseId:function(e){return e.app.shareCourseId},id:function(e){return e.user.id},userinfo:function(e){return e.user.userinfo}},c=a,r={courseId:"",testId:"",shareCourseId:""},s={SET_COURSEID:function(e,t){e.courseId=t},SET_TESTID:function(e,t){e.testId=t},SET_SHARECOURSEID:function(e,t){e.shareCourseId=t}},u={},l={state:r,mutations:s,actions:u},h=(n("b0c0"),n("d3b7"),n("c24f")),d=n("852e"),m=n.n(d),f="vue_admin_template_token";function p(){return m.a.get(f)}function g(e){return m.a.set(f,e)}function v(){return m.a.remove(f)}var b=n("a18c"),k=function(){return{token:p(),id:"",roles:[],name:"",username:"",avatar:"",is_init:!1,userinfo:""}},w=k(),S={RESET_STATE:function(e){Object.assign(e,k())},SET_TOKEN:function(e,t){e.token=t},SET_ROLES:function(e,t){e.roles=t},SET_ID:function(e,t){e.id=t},SET_NAME:function(e,t){e.name=t},SET_USERNAME:function(e,t){e.username=t},SET_IS_INIT:function(e,t){e.is_init=t},SET_AVATAR:function(e,t){e.avatar=t},SET_USERINFO:function(e,t){e.userinfo=t}},I={login:function(e){var t=e.commit;e.dispatch;return new Promise((function(e,n){Object(h["a"])().then((function(n){console.log(n);var i=n[0][0];t("SET_ID",i.userid),g(i.userid),e(i.userid)})).catch((function(e){n(e)}))}))},getInfo:function(e){var t=e.commit,n=e.state;return new Promise((function(e,i){Object(h["b"])({userid:n.id}).then((function(n){console.log(n);var o=n[0][0];o||i("验证失败,请重新登录。"),t("SET_USERINFO",o),e(o)})).catch((function(e){i(e)}))}))},logout:function(e){var t=e.commit;e.state;return new Promise((function(e,n){t("SET_TOKEN",""),t("SET_ROLES",[]),v(),Object(b["b"])(),t("RESET_STATE"),e()}))},resetToken:function(e){var t=e.commit;return new Promise((function(e){t("SET_TOKEN",""),t("SET_ROLES",[]),v(),e()}))}},E={namespaced:!0,state:w,mutations:S,actions:I};i["default"].use(o["a"]);var x=new o["a"].Store({modules:{app:l,user:E},getters:c});t["a"]=x},"4f6e":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);var i={};n.r(i),n.d(i,"formatDate",(function(){return W})),n.d(i,"hidePhone",(function(){return G}));n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("2d26"),n("96cf");var o=n("2b0e"),a=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[e.$route.meta.keepAlive?t("keep-alive",[t("router-view",{directives:[{name:"wechat-title",rawName:"v-wechat-title",value:e.$route.meta.title,expression:"$route.meta.title"}]})],1):t("router-view",{directives:[{name:"wechat-title",rawName:"v-wechat-title",value:e.$route.meta.title,expression:"$route.meta.title"}]}),t("div",{staticClass:"vc-tigger",on:{click:e.toggleVc}})],1)},c=[],r=(n("ac1f"),n("466d"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("5319"),n("f121")),s={name:"App",data:function(){return{lastClickTime:0,count:0,limit:"production"===r["env"]?10:0}},created:function(){console.log(this.$wx)},methods:{handleTouchMove:function(e){e.preventDefault()},hasClass:function(e,t){return e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))},addClass:function(e,t){this.hasClass(e,t)||(e.className+=" "+t)},toggleClass:function(e,t){this.hasClass(e,t)?this.removeClass(e,t):this.addClass(e,t)},removeClass:function(e,t){if(this.hasClass(e,t)){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ")}},toggleVc:function(){var e=document.getElementById("__vconsole");this.toggleClass(e,"show")}}},u=s,l=(n("38a9"),n("2877")),h=Object(l["a"])(u,a,c,!1,null,null,null),d=h.exports,m=n("a18c"),f=n("4360"),p=n("8b06"),g=n.n(p),v=(n("66b9"),n("b650")),b=(n("c194"),n("7744")),k=(n("2994"),n("2bdd")),w=(n("537a"),n("ac28")),S=(n("a52c"),n("2ed4")),I=(n("9a83"),n("f564")),E=(n("be7f"),n("565f")),x=(n("0653"),n("34e9")),C=(n("e7e5"),n("d399")),y=(n("e17f"),n("2241")),T=(n("ab71"),n("58e6")),_=(n("91d5"),n("f0ca")),A=(n("f1dc"),n("6e47")),O=(n("4056"),n("44bf")),D=(n("c3a6"),n("ad06")),F=(n("e930"),n("8f80")),P=(n("d1cf"),n("ee83")),R=(n("8a58"),n("e41f")),L=(n("4467"),n("c36e")),M=(n("5852"),n("d961")),$=(n("bda71"),n("5e46")),N=(n("da3c"),n("0b33")),j=(n("3df5"),n("2830")),U=(n("0ec5"),n("21ab")),X=(n("09d3"),n("2d6d")),Y=(n("61ae"),n("d314")),H=(n("2cbd"),n("ab2c")),q=(n("d82d"),n("7278")),B=(n("5f5f"),n("f253"));o["default"].use(v["a"]).use(b["a"]).use(k["a"]).use(w["a"]).use(S["a"]).use(I["a"]).use(E["a"]).use(x["a"]).use(C["a"]).use(y["a"]).use(T["a"]).use(_["a"]).use(A["a"]).use(O["a"]).use(D["a"]).use(F["a"]).use(P["a"]).use(R["a"]).use(L["a"]).use(M["a"]).use($["a"]).use(N["a"]).use(j["a"]).use(U["a"]).use(X["a"]).use(Y["a"]).use(H["a"]).use(q["a"]).use(B["a"]);n("9536"),n("499a");var J=n("3a342"),V=n.n(J);new V.a,n("d3b7"),n("159b"),n("b64b"),n("4de4"),n("00b4");function W(e,t){if(void 0!==e&&""!==e){var n=new Date(e);/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length)));var i={"M+":n.getMonth()+1,"d+":n.getDate(),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds()};for(var o in i)if(new RegExp("(".concat(o,")")).test(t)){var a=i[o]+"";t=t.replace(RegExp.$1,1===RegExp.$1.length?a:K(a))}return t}}function K(e){return("00"+e).substr(e.length)}function G(e){return e.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")}Object.keys(i).forEach((function(e){return o["default"].filter(e,i[e])})),o["default"].prototype.$formatDate=o["default"].filter("formatDate"),o["default"].prototype.$hidePhone=o["default"].filter("hidePhone");var z,Q,Z=n("18a0"),ee=n.n(Z),te={install:function(e){e.prototype.$wx=ee.a,e.wx=ee.a},$wx:ee.a},ne=te,ie=(te.install,n("c64d"),n("d6d3")),oe=n.n(ie),ae=(n("fda2"),n("451f"),n("dad5")),ce=n.n(ae),re=(n("e9c4"),{set:function(e,t){localStorage.setItem(e,JSON.stringify(t))},get:function(e){return JSON.parse(localStorage.getItem(e))},remove:function(e){localStorage.removeItem(e)}}),se={set:function(e,t){window.sessionStorage.setItem(e,JSON.stringify(t))},get:function(e){return JSON.parse(window.sessionStorage.getItem(e))},remove:function(e){window.sessionStorage.removeItem(e)}},ue=(n("d81d"),function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"fade"}},[e.show?t("div",{ref:"heImg",staticClass:"hevue-imgpreview-wrap",attrs:{id:"hevue-imgpreview-wrap"},on:{mouseup:function(t){return e.removeMove("pc")},touchend:function(t){return e.removeMove("mobile")},click:function(t){return t.stopPropagation(),e.clickMask.apply(null,arguments)}}},[t("div",{staticClass:"he-img-wrap"},[t("div",{directives:[{name:"show",rawName:"v-show",value:1===e.imgState,expression:"imgState === 1"}],staticClass:"heimgfont hevue-img-status-icon rotate-animation"},[e._v("  ")]),t("img",{directives:[{name:"show",rawName:"v-show",value:2===e.imgState,expression:"imgState === 2"}],ref:"heImView",staticClass:"he-img-view",style:"transform: scale("+e.imgScale+") rotate("+e.imgRotate+"deg);margin-top:"+e.imgTop+"px;margin-left:"+e.imgLeft+"px;"+e.maxWH,attrs:{src:e.imgurl},on:{click:function(e){e.stopPropagation()},mousedown:e.addMove,touchstart:e.addMoveMobile}}),t("div",{directives:[{name:"show",rawName:"v-show",value:3===e.imgState,expression:"imgState === 3"}],staticClass:"heimgfont hevue-img-status-icon"},[e._v("  ")]),e.closeBtn?t("div",{staticClass:"heimgfont he-close-icon",on:{click:function(t){return t.stopPropagation(),e.close.apply(null,arguments)}}},[e._v("  ")]):e._e(),e.arrowBtn&&e.multiple?t("div",{staticClass:"arrow arrow-left heimgfont",on:{click:function(t){return t.stopPropagation(),e.toogleImg(!1)}}},[e._v("  ")]):e._e(),e.arrowBtn&&e.multiple?t("div",{staticClass:"arrow arrow-right heimgfont",on:{click:function(t){return t.stopPropagation(),e.toogleImg(!0)}}},[e._v("  ")]):e._e(),e.controlBar?t("div",{staticClass:"he-control-bar-wrap"},[t("div",{staticClass:"he-control-bar",on:{click:function(e){e.stopPropagation()}}},[t("div",{staticClass:"he-control-btn heimgfont",on:{click:function(t){return t.stopPropagation(),e.scaleFunc(-.15)}}},[e._v("  ")]),t("div",{staticClass:"he-control-btn heimgfont",on:{click:function(t){return t.stopPropagation(),e.scaleFunc(.15)}}},[e._v("  ")]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.isFull,expression:"isFull"}],staticClass:"he-control-btn heimgfont",on:{click:function(t){return t.stopPropagation(),e.imgToggle.apply(null,arguments)}}},[e._v("  ")]),t("div",{directives:[{name:"show",rawName:"v-show",value:!e.isFull,expression:"!isFull"}],staticClass:"he-control-btn heimgfont",on:{click:function(t){return t.stopPropagation(),e.imgToggle.apply(null,arguments)}}},[e._v("  ")]),t("div",{staticClass:"he-control-btn heimgfont",on:{click:function(t){return t.stopPropagation(),e.rotateFunc(-90)}}},[e._v("  ")]),t("div",{staticClass:"he-control-btn heimgfont",on:{click:function(t){return t.stopPropagation(),e.rotateFunc(90)}}},[e._v("  ")])])]):e._e(),e.controlBar&&e.multiple?t("div",{staticClass:"he-control-num"},[e._v(" "+e._s(e.imgIndex+1)+" / "+e._s(e.imgList.length)+" ")]):e._e()])]):e._e()])}),le=[],he=(n("a9e3"),{name:"hevue-img-preview",data:function(){return{imgScale:1,imgTop:0,imgLeft:0,imgRotate:0,isFull:!1,maxWH:"max-width:100%;max-height:100%;",clientX:0,clientY:0,imgIndex:0,canRun:!0,imgurl:"",imgState:1,start:[{},{}],mobileScale:0,show:!1,url:"",nowImgIndex:0,multiple:!1,imgList:[],controlBar:!0,closeBtn:!0,arrowBtn:!0,keyboard:!1,clickMaskCLose:!1}},mounted:function(){this.initImg()},watch:{url:function(){this.initImg()},show:{handler:function(e){var t=this;e&&this.$nextTick((function(){var e=document.getElementById("hevue-imgpreview-wrap");document.ondragstart=function(){return!1},t.multiple?Array.isArray(t.imgList)&&t.imgList.length>0&&(t.imgIndex=Number(t.nowImgIndex)||0,t.changeUrl(t.imgList[t.imgIndex],t.imgIndex)):t.changeUrl(t.url),t.keyboard?document.addEventListener("keydown",t.keyHandleDebounce):(document.addEventListener("keydown",(function(n){n=window.event||n;var i=n.keyCode||n.which||n.charCode;switch(i){case 17:e.onmousewheel=t.scrollFunc,document.body.addEventListener("DOMMouseScroll",t.scrollFunc);break}})),document.addEventListener("keyup",(function(n){n=window.event||n;var i=n.keyCode||n.which||n.charCode;switch(i){case 17:e.onmousewheel=t.scrollFunc2,document.body.addEventListener("DOMMouseScroll",t.scrollFunc2);break}})))}))},immediate:!0}},methods:{close:function(){var e=this;document.body.removeEventListener("DOMMouseScroll",this.scrollFunc),document.ondragstart=null,this.keyboard?document.removeEventListener("keydown",this.keyHandleDebounce):(document.removeEventListener("keydown",(function(t){t=window.event||t;var n=t.keyCode||t.which||t.charCode;switch(n){case 17:_dom.onmousewheel=e.scrollFunc,document.body.addEventListener("DOMMouseScroll",e.scrollFunc);break}})),document.removeEventListener("keyup",(function(t){t=window.event||t;var n=t.keyCode||t.which||t.charCode;switch(n){case 17:_dom.onmousewheel=e.scrollFunc2,document.body.addEventListener("DOMMouseScroll",e.scrollFunc2);break}}))),this.show=!1},initImg:function(){this.mobileScale=1,this.imgScale=1,this.imgRotate=0,this.imgTop=0,this.imgLeft=0},toogleImg:function(e){e?(this.imgIndex++,this.imgIndex>this.imgList.length-1&&(this.imgIndex=0)):(this.imgIndex--,this.imgIndex<0&&(this.imgIndex=this.imgList.length-1)),this.changeUrl(this.imgList[this.imgIndex],this.imgIndex)},changeUrl:function(e,t){var n=this;this.imgState=1;var i=new Image;i.src=e,i.onload=function(){(void 0!=t&&t==n.imgIndex||void 0==t)&&(n.imgState=2,n.imgurl=e)},i.onerror=function(){(void 0!=t&&t==n.imgIndex||void 0==t)&&(n.imgState=3)}},rotateFunc:function(e){this.imgRotate+=e},scaleFunc:function(e,t){this.imgScale<=.2&&e<0||(t?this.imgScale=e:this.imgScale+=e)},imgToggle:function(){this.initImg(),this.isFull?this.maxWH="max-width:100%;max-height:100%;":this.maxWH="width:100%;height:auto;",this.isFull=!this.isFull},scrollFunc:function(e){e=e||window.event,e.delta=e.wheelDelta||-e.detail,e.preventDefault(),e.delta>0&&this.scaleFunc(.05),e.delta<0&&this.scaleFunc(-.05)},scrollFunc2:function(e){e=e||window.event,e.delta=e.wheelDelta||-e.detail,e.preventDefault(),e.delta>0&&(this.imgTop+=50),e.delta<0&&(this.imgTop-=50)},addMove:function(e){e=e||window.event,this.clientX=e.clientX,this.clientY=e.clientY,this.$refs.heImg.onmousemove=this.moveFunc},addMoveMobile:function(e){e.preventDefault(),e=e||window.event,e.touches.length>1?this.start=e.touches:(this.clientX=e.touches[0].pageX,this.clientY=e.touches[0].pageY),this.$refs.heImg.ontouchmove=this.moveFuncMobile},moveFunc:function(e){e=e||window.event,e.preventDefault();var t=e.clientX-this.clientX,n=e.clientY-this.clientY;this.imgLeft+=2*t,this.imgTop+=2*n,this.clientX=e.clientX,this.clientY=e.clientY},moveFuncMobile:function(e){if(e=e||window.event,e.touches.length>1){var t=e.touches,n=this.getDistance(t[0],t[1])/this.getDistance(this.start[0],this.start[1]);this.mobileScale?n>1?this.scaleFunc(n+this.mobileScale-1,!0):this.scaleFunc(n*this.mobileScale,!0):this.scaleFunc(n,!0)}else{var i=e.touches[0];e.preventDefault();var o=i.pageX-this.clientX,a=i.pageY-this.clientY;this.imgLeft+=2*o,this.imgTop+=2*a,this.clientX=i.pageX,this.clientY=i.pageY}},removeMove:function(e){"pc"===e?this.$refs.heImg.onmousemove=null:(this.mobileScale=this.imgScale,this.$refs.heImg.ontouchmove=null)},keyHandleDebounce:function(e){var t=this;this.canRun&&(this.keyHandle(e),this.canRun=!1,setTimeout((function(){t.canRun=!0}),300))},keyHandle:function(e){e=window.event||e;var t=e.keyCode||e.which||e.charCode;switch(t){case 27:this.close();break;case 65:this.multiple&&this.toogleImg(!1);break;case 68:this.multiple&&this.toogleImg(!0);break;case 87:this.scaleFunc(.15);break;case 83:this.scaleFunc(-.15);break;case 81:this.rotateFunc(-90);break;case 69:this.rotateFunc(90);break;case 82:this.initImg();break;default:break}},clickMask:function(){this.clickMaskCLose&&this.close()},getDistance:function(e,t){var n=t.pageX-e.pageX,i=t.pageY-e.pageY;return Math.sqrt(n*n+i*i)},downloadIamge:function(){var e=new Image;e.setAttribute("crossOrigin","anonymous"),e.onload=function(){var t=document.createElement("canvas");t.width=e.width,t.height=e.height;var n=t.getContext("2d");n.drawImage(e,0,0,e.width,e.height);var i=t.toDataURL("image/png"),o=document.createElement("a"),a=new MouseEvent("click");o.download="photo"+ +new Date,o.href=i,o.dispatchEvent(a)},e.onerror=function(e){console.log("图片信息不正确或图片服务器禁止访问"),console.log(e)},this.multiple?e.src=this.imgList[this.imgIndex]:e.src=this.url}}}),de=he,me=(n("222e"),Object(l["a"])(de,ue,le,!1,null,"73a6d186",null)),fe=me.exports,pe=o["default"].extend(fe),ge=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"string"===typeof e&&(e={url:e}),e.show=!0,Object.keys(Q).map((function(t){void 0==e[t]&&(e[t]=Q[t])})),z=new pe({data:e}),z.$mount();var t=z.$el;return document.body.appendChild(t),z},ve=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Q=t,e.prototype.$hevueImgPreview=ge};"undefined"!==typeof window&&window.Vue&&ve(window.Vue);var be=ve,ke=n("c7eb"),we=n("5530"),Se=n("1da1"),Ie=n("323e"),Ee=n.n(Ie);n("a5d8");Ee.a.configure({showSpinner:!1});var xe=["/login","/resetpassword","/help","/echarts"];m["a"].beforeEach(function(){var e=Object(Se["a"])(Object(ke["a"])().mark((function e(t,n,i){var o,a,c,r,s,u,l;return Object(ke["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(Ee.a.start(),o=f["a"].getters.id,""===t.query.courseid||void 0===t.query.courseid){e.next=6;break}return console.log(t.query.courseid),e.next=6,f["a"].commit("SET_COURSEID",t.query.courseid);case 6:if(""===t.query.testid||void 0===t.query.testid){e.next=9;break}return e.next=9,f["a"].commit("SET_TESTID",t.query.testid);case 9:if(a=-1!=window.location.href.indexOf("?shareCourseId=")?window.location.href.split("?shareCourseId=")[1].toString():"",!a){e.next=13;break}return e.next=13,f["a"].commit("SET_SHARECOURSEID",a);case 13:if(!o){e.next=50;break}if("/login"!==t.path){e.next=19;break}i({path:"/"}),Ee.a.done(),e.next=48;break;case 19:if(c=f["a"].getters.userinfo&&Object.keys(f["a"].getters.userinfo).length>0,console.log("store.getters",f["a"].getters),console.log("userinfo",c),!c){e.next=26;break}i(),e.next=48;break;case 26:return e.prev=26,e.next=29,f["a"].dispatch("user/getInfo");case 29:return r=e.sent,e.next=32,f["a"].commit("user/SET_USERINFO",r);case 32:return s=f["a"].getters.courseId,u=f["a"].getters.testId,l=f["a"].getters.shareCourseId,e.next=37,f["a"].commit("SET_TESTID","");case 37:return e.next=39,f["a"].commit("SET_COURSEID","");case 39:return e.next=41,f["a"].commit("SET_SHARECOURSEID","");case 41:i(s?Object(we["a"])(Object(we["a"])({},t),{},{query:{courseid:s},replace:!0}):u?Object(we["a"])(Object(we["a"])({},t),{},{query:{courseid:u},replace:!0}):l?{path:"/courseDetail",query:{courseid:l,urlType:1},replace:!0}:Object(we["a"])(Object(we["a"])({},t),{},{replace:!0})),e.next=48;break;case 44:e.prev=44,e.t0=e["catch"](26),i("/login?redirect=".concat(t.path)),Ee.a.done();case 48:e.next=51;break;case 50:-1!==xe.indexOf(t.path)?i():(i("/login?redirect=".concat(t.path)),Ee.a.done());case 51:case"end":return e.stop()}}),e,null,[[26,44]])})));return function(t,n,i){return e.apply(this,arguments)}}()),m["a"].afterEach((function(){Ee.a.done()})),o["default"].prototype.$cdn=r["$cdn"],o["default"].use(ne),o["default"].use(oe.a),o["default"].use(ce.a);var Ce=n("313e");o["default"].prototype.$echarts=Ce,o["default"].prototype.$storage=re,o["default"].prototype.$sessionStorage=se,o["default"].use(n("7876")).use(g.a).use(be),o["default"].config.productionTip=!1,new o["default"]({el:"#app",router:m["a"],store:f["a"],render:function(e){return e(d)}})},9536:function(e,t,n){},a18c:function(e,t,n){"use strict";n.d(t,"b",(function(){return h}));var i=n("2b0e"),o=n("8c4f"),a=(n("d3b7"),n("3ca3"),n("ddb0"),[{path:"/",redirect:"/home"},{path:"/login",component:function(){return n.e("chunk-17e66bfc").then(n.bind(null,"9ed6"))},meta:{title:"登录",keepAlive:!1}},{path:"/course",component:function(){return Promise.all([n.e("chunk-01979dd3"),n.e("chunk-2d0c7336"),n.e("chunk-5297f142")]).then(n.bind(null,"bff8"))},meta:{title:"课程",keepAlive:!1}},{path:"/",component:function(){return n.e("chunk-f403615c").then(n.bind(null,"7431"))},meta:{title:"课程中心",keepAlive:!1},children:[{path:"home",name:"home",component:function(){return n.e("chunk-2a8fbba6").then(n.bind(null,"7abe"))},meta:{title:"课程中心",keepAlive:!1}},{path:"test",name:"Test",component:function(){return n.e("chunk-6a21acd5").then(n.bind(null,"feda"))},meta:{title:"评测中心",keepAlive:!1}},{path:"eva",name:"eva",component:function(){return n.e("chunk-c6ecbb6c").then(n.bind(null,"d438"))},meta:{title:"学生评价",keepAlive:!1}}]},{path:"/classObserve",name:"classObserve",component:function(){return Promise.all([n.e("chunk-vantUI"),n.e("chunk-064de500"),n.e("chunk-86bae316"),n.e("chunk-7d4543c8"),n.e("chunk-236ce05a")]).then(n.bind(null,"0823"))},meta:{title:"课堂观察",keepAlive:!1}},{path:"/aiChat",component:function(){return Promise.all([n.e("chunk-064de500"),n.e("chunk-f8123cae")]).then(n.bind(null,"908a"))},meta:{title:"AI对话",keepAlive:!1}},{path:"/outcome",component:function(){return Promise.all([n.e("chunk-064de500"),n.e("chunk-86bae316"),n.e("chunk-75189236")]).then(n.bind(null,"b703"))},meta:{title:"分析结果",keepAlive:!1}},{path:"/courseDetail",component:function(){return n.e("chunk-2ce4ba0a").then(n.bind(null,"c509"))},meta:{title:"课程详情",keepAlive:!1}},{path:"/testDetail",component:function(){return Promise.all([n.e("chunk-1c2d9d84"),n.e("chunk-5542237d")]).then(n.bind(null,"eaa4"))},meta:{title:"填写问卷",keepAlive:!1}},{path:"/preview",component:function(){return Promise.all([n.e("chunk-1c2d9d84"),n.e("chunk-6b5e1f52")]).then(n.bind(null,"3a2e"))},meta:{title:"修改问卷",keepAlive:!1}},{path:"/check",component:function(){return Promise.all([n.e("chunk-1c2d9d84"),n.e("chunk-30b5de98")]).then(n.bind(null,"730a"))},meta:{title:"查看问卷",keepAlive:!1}},{path:"/cocoai",component:function(){return n.e("chunk-c3be65e4").then(n.bind(null,"89ef"))},meta:{title:"CocoAI",keepAlive:!1}},{path:"/course",component:function(){return Promise.all([n.e("chunk-01979dd3"),n.e("chunk-2d0c7336"),n.e("chunk-5297f142")]).then(n.bind(null,"bff8"))},meta:{title:"课程",keepAlive:!1}},{path:"/",component:function(){return n.e("chunk-f403615c").then(n.bind(null,"7431"))},meta:{title:"课程中心",keepAlive:!1},children:[{path:"home",name:"home",component:function(){return n.e("chunk-2a8fbba6").then(n.bind(null,"7abe"))},meta:{title:"课程中心",keepAlive:!1}},{path:"test",name:"Test",component:function(){return n.e("chunk-6a21acd5").then(n.bind(null,"feda"))},meta:{title:"评测中心",keepAlive:!1}},{path:"eva",name:"eva",component:function(){return n.e("chunk-c6ecbb6c").then(n.bind(null,"d438"))},meta:{title:"学生评价",keepAlive:!1}}]},{path:"/courseDetail",component:function(){return n.e("chunk-2ce4ba0a").then(n.bind(null,"c509"))},meta:{title:"课程详情",keepAlive:!1}},{path:"/studentDetail",component:function(){return n.e("chunk-6d53d27b").then(n.bind(null,"1746"))},meta:{title:"学生记录",keepAlive:!1}},{path:"/studentEvaluate",component:function(){return Promise.all([n.e("chunk-2d0c7336"),n.e("chunk-96fef85e")]).then(n.bind(null,"13bf"))},meta:{title:"学生评价",keepAlive:!1}},{path:"/echarts",component:function(){return n.e("chunk-87a128fc").then(n.bind(null,"23e5"))},meta:{title:"学生评价",keepAlive:!1}},{path:"/testDetail",component:function(){return Promise.all([n.e("chunk-1c2d9d84"),n.e("chunk-5542237d")]).then(n.bind(null,"eaa4"))},meta:{title:"填写问卷",keepAlive:!1}},{path:"/cocoai",component:function(){return n.e("chunk-c3be65e4").then(n.bind(null,"89ef"))},meta:{title:"CocoAI",keepAlive:!1}},{path:"/pocAiClassroom",name:"pocAiClassroom",component:function(){return n.e("chunk-0a58f1ec").then(n.bind(null,"bc9b"))},meta:{title:"POC课堂",keepAlive:!1}},{path:"/pocAiChat",name:"pocAiChat",component:function(){return Promise.all([n.e("chunk-064de500"),n.e("chunk-2d0c7336"),n.e("chunk-095ba67e")]).then(n.bind(null,"2f2c"))},meta:{title:"聊聊天",keepAlive:!1}},{path:"/pocDoTask",name:"pocDoTask",component:function(){return n.e("chunk-b35c63c6").then(n.bind(null,"d443"))},meta:{title:"做练习",keepAlive:!1}},{path:"/pocClass",name:"pocClass",component:function(){return n.e("chunk-2d5754b7").then(n.bind(null,"243a"))},meta:{title:"上课",keepAlive:!1}}]),c=n("5c96"),r=n.n(c),s=(n("0fae"),o["a"].prototype.push);o["a"].prototype.push=function(e,t,n){return t||n?s.call(this,e,t,n):s.call(this,e).catch((function(e){return e}))},i["default"].use(o["a"]).use(r.a);var u=function(){return new o["a"]({scrollBehavior:function(){return{y:0}},routes:a})},l=u();function h(){var e=u();l.matcher=e.matcher}t["a"]=l},b775:function(e,t,n){"use strict";n("e7e5");var i=n("d399"),o=(n("d3b7"),n("bc3a")),a=n.n(o),c=n("4360"),r=n("4328"),s=n.n(r),u=n("f121"),l=a.a.create({baseURL:u["baseApi"],withCredentials:!0});l.interceptors.request.use((function(e){return e.hideloading||i["a"].loading({forbidClick:!0}),"post"===e.method&&(e.data=s.a.stringify(e.data)),c["a"].getters.token&&(e.headers["X-Token"]=""),e}),(function(e){return console.log(e),Promise.reject(e)})),l.interceptors.response.use((function(e){i["a"].clear();var t=e.data;return t.status&&200!==t.status?(401===t.status&&c["a"].dispatch("FedLogOut").then((function(){location.reload()})),Promise.reject(t||"error")):Promise.resolve(t)}),(function(e){return i["a"].clear(),console.log("err"+e),Promise.reject(e)})),t["a"]=l},c24f:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return c}));var i=n("b775");function o(){return Object(i["a"])({url:"//beta.api.cocorobo.cn/api/getcookieuserid",method:"GET",hideloading:!0})}function a(e){return Object(i["a"])({url:"//beta.api.cocorobo.cn/api/logout",method:"post",params:e,hideloading:!1})}function c(e){return Object(i["a"])({url:"/selectUser",method:"GET",params:e,hideloading:!0})}},c64d:function(e,t,n){},d83c:function(e,t,n){},f121:function(e,t,n){var i=n("f1e0");e.exports=i},f1e0:function(e,t){e.exports={env:"production",title:"cocorobo",baseUrl:"https://www.xxx.com/",baseApi:"https://pbl.cocorobo.cn/api/pbl/",APPID:"xxx",APPSECRET:"xxx",$cdn:"https://imgs.solui.cn"}}},[[0,"runtime","chunk-vantUI","chunk-libs"]]]);