From 7b77a023f2d437bf0161970a66f0cd501103fd3a Mon Sep 17 00:00:00 2001 From: linlu <527100546@qq.com> Date: Sun, 27 Sep 2020 14:27:22 +0800 Subject: [PATCH] =?UTF-8?q?Lin-Auto-commit=202020/9/27=20=E4=B8=8B?= =?UTF-8?q?=E5=8D=882:27:22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- p__Classrooms__Lists__Exercise__Answer__index.7406707c.async.js | 1 - p__Classrooms__Lists__Exercise__Answer__index.99df49bd.async.js | 1 + ...lassrooms__Lists__Exercise__Detail__index.35aa3c4f.chunk.css | 2 +- p__Classrooms__Lists__Exercise__Detail__index.4d42902c.async.js | 1 + p__Classrooms__Lists__Exercise__Detail__index.e3211f9f.async.js | 1 - umi.00560d93.js => umi.0bd95ff0.js | 2 +- 7 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 p__Classrooms__Lists__Exercise__Answer__index.7406707c.async.js create mode 100644 p__Classrooms__Lists__Exercise__Answer__index.99df49bd.async.js rename p__Classrooms__Lists__Exercise__Detail__index.7a8788b9.chunk.css => p__Classrooms__Lists__Exercise__Detail__index.35aa3c4f.chunk.css (96%) create mode 100644 p__Classrooms__Lists__Exercise__Detail__index.4d42902c.async.js delete mode 100644 p__Classrooms__Lists__Exercise__Detail__index.e3211f9f.async.js rename umi.00560d93.js => umi.0bd95ff0.js (99%) diff --git a/index.html b/index.html index 3e8e2ea64a..4694ba1de5 100644 --- a/index.html +++ b/index.html @@ -46,6 +46,6 @@
- + diff --git a/p__Classrooms__Lists__Exercise__Answer__index.7406707c.async.js b/p__Classrooms__Lists__Exercise__Answer__index.7406707c.async.js deleted file mode 100644 index 8aeec9ef61..0000000000 --- a/p__Classrooms__Lists__Exercise__Answer__index.7406707c.async.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[46,4,5,6,7,9,11],{"1vsH":function(e,t,n){"use strict";n.d(t,"i",(function(){return u})),n.d(t,"k",(function(){return l})),n.d(t,"e",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return m})),n.d(t,"a",(function(){return b})),n.d(t,"A",(function(){return g})),n.d(t,"z",(function(){return y})),n.d(t,"B",(function(){return v})),n.d(t,"C",(function(){return _})),n.d(t,"s",(function(){return w})),n.d(t,"r",(function(){return x})),n.d(t,"p",(function(){return E})),n.d(t,"o",(function(){return j})),n.d(t,"y",(function(){return S})),n.d(t,"j",(function(){return k})),n.d(t,"x",(function(){return N})),n.d(t,"u",(function(){return C})),n.d(t,"l",(function(){return A})),n.d(t,"w",(function(){return D})),n.d(t,"n",(function(){return M})),n.d(t,"d",(function(){return P})),n.d(t,"b",(function(){return L})),n.d(t,"t",(function(){return B})),n.d(t,"m",(function(){return F})),n.d(t,"v",(function(){return q})),n.d(t,"q",(function(){return U}));var r=n("jrin"),o=n("q1tI"),i=n.n(o),a=n("xKgJ"),s=n("aCH8"),c=n.n(s),u=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],l=function(e){var t,n=(t={},Object(r["a"])(t,-1,"\u91cd\u505a\u4e2d"),Object(r["a"])(t,0,"\u672a\u5f00\u542f"),Object(r["a"])(t,1,"\u672a\u901a\u5173"),Object(r["a"])(t,2,"\u6309\u65f6\u901a\u5173"),t);return n[e]||"\u8fdf\u4ea4\u901a\u5173"},f=function(e){var t,n,o,a=(t={},Object(r["a"])(t,-1,{name:"\u91cd\u505a\u4e2d",class:"c-orange"}),Object(r["a"])(t,0,{name:"\u672a\u5f00\u542f",class:"c-black"}),Object(r["a"])(t,1,{name:"\u672a\u901a\u5173",class:"c-red"}),Object(r["a"])(t,2,{name:"\u6309\u65f6\u901a\u5173",class:"c-green"}),Object(r["a"])(t,3,{name:"\u8fdf\u4ea4\u901a\u5173",class:"c-orange"}),t);return i.a.createElement("span",{className:null===a||void 0===a||null===(n=a[e.status])||void 0===n?void 0:n["class"]},null===a||void 0===a||null===(o=a[e.status])||void 0===o?void 0:o["name"])},p=function(e){var t=e.status,n={0:{class:"tag-style bg-blue ml10",name:"\u5f85\u9009\u4e2d"},1:{class:"tag-style bg-blue ml10",name:"\u5f85\u786e\u8ba4"},2:{class:"tag-style bg-pink ml10",name:"\u5df2\u786e\u8ba4"}};try{return i.a.createElement("span",{className:n[t]["class"]},n[t]["name"])}catch(r){console.log("utils.StatusGraduationProjectTags",e.status)}},d={1:"\u672a\u53d1\u5e03",2:"\u8003\u8bd5\u4e2d",3:"\u5df2\u622a\u6b62",4:"\u5df2\u7ed3\u675f"},h={1:"\u672a\u53d1\u5e03",2:"\u63d0\u4ea4\u4e2d",3:"\u5df2\u622a\u6b62",4:"\u5df2\u7ed3\u675f"},m=function(e){var t={"\u5df2\u5f00\u542f\u9632\u4f5c\u5f0a":{class:"tag-style-fzb ml10 iconfont icon-fangzuobi"},"\u516c\u5f00":{class:"tag-style bg-blue ml10"},"\u5df2\u5f00\u542f\u8865\u4ea4":{class:"tag-style bg-green ml10"},"\u672a\u5f00\u542f\u8865\u4ea4":{class:"tag-style bg-pink ml10"},"\u672a\u53d1\u5e03":{class:"tag-style bg-light-blue ml10"},"\u533f\u540d\u4f5c\u54c1":{class:"tag-style bg-cyan ml10"},"\u5df2\u9009\u62e9":{class:"tag-style bg-grey-ede ml10"},"\u5df2\u7ed3\u675f":{class:"tag-style bg-grey-ede ml10"},"\u63d0\u4ea4\u4e2d":{class:"tag-style bg-blue ml10"},"\u533f\u8bc4\u4e2d":{class:"tag-style bg-blue ml10"},"\u7533\u8bc9\u4e2d":{class:"tag-style bg-blue ml10"},"\u8003\u8bd5\u4e2d":{class:"tag-style bg-light-blue ml10"},"\u8865\u4ea4\u4e2d":{class:"tag-style bg-blue ml10"},"\u8bc4\u9605\u4e2d":{class:"tag-style bg-blue ml10"},"\u5f85\u9009\u4e2d":{class:"tag-style bg-blue ml10"},"\u4ea4\u53c9\u8bc4\u9605\u4e2d":{class:"tag-style bg-light-orange ml10"},"\u5df2\u5f00\u542f\u4ea4\u53c9\u8bc4\u9605":{class:"tag-style bg-lightblue-purple ml10"},"\u5f85\u786e\u8ba4":{class:"tag-style bg-lightblue-purple ml10"},"\u5f85\u5904\u7406":{class:"tag-style bg-lightblue-purple ml10"},"\u79c1\u6709":{class:"tag-style bg-lightblue-purple ml10"},"\u672a\u63d0\u4ea4":{class:"tag-style bg-lightblue-purple ml10"},"\u5df2\u786e\u8ba4":{class:"tag-style bg-light-pink ml10"},"\u5df2\u53d1\u5e03":{class:"tag-style bg-light-blue ml10"},"\u5df2\u622a\u6b62":{class:"tag-style bg-light-pink ml10"},"\u5f00\u53d1\u8bfe\u7a0b":{class:"tag-style bg-orange ml10"},"\u5df2\u5f00\u64ad":{class:"tag-style-border border-green c-green ml10"},"\u672a\u5f00\u64ad":{class:"tag-style-border border-light-black ml10"},"\u6309\u65f6\u901a\u5173":{class:"tag-style-border border-light-black ml10"},"\u8fdf\u4ea4\u901a\u5173":{class:"tag-style-border border-light-black ml10"},"\u672a\u901a\u5173":{class:"tag-style-border border-light-black ml10"},"\u672a\u5f00\u542f":{class:"tag-style-border border-light-black ml10"}},n=[];e.is_random&&n.push(i.a.createElement("span",{className:"tag-style bg-blue ml10"},"\u968f\u673a"));try{e.status&&e.status.map((function(e,r){n.push(i.a.createElement("span",{key:r,className:t[e]&&t[e]["class"]},e))}))}catch(r){console.log("utils.status.tag:",r,e.status)}return n},b=function(e){var t,n,r={0:{name:"\u672a\u63d0\u4ea4",class:"c-black"},1:{name:"\u6309\u65f6\u63d0\u4ea4",class:"c-green"},2:{name:"\u5ef6\u65f6\u63d0\u4ea4",class:"c-red"}};return i.a.createElement("span",{className:null===(t=r[e.status])||void 0===t?void 0:t["class"]},null===(n=r[e.status])||void 0===n?void 0:n["name"])},g=function(e){e=new Date(e).getTime();var t=6e4,n=60*t,r=24*n,o="",i=(new Date).getTime(),a=i-e;if(a<0)return console.log("\u65f6\u95f4\u4e0d\u5bf9\u52b2,\u670d\u52a1\u5668\u521b\u5efa\u65f6\u95f4\u4e0e\u5f53\u524d\u65f6\u95f4\u4e0d\u540c\u6b65"),"\u521a\u521a";var s=parseInt(a/r,10),c=parseInt(a/n,10),u=parseInt(a/t,10);return o=s>30?""+y(e,"yyyy-MM-dd"):s>1?s+"\u5929\u524d":1==s?"\u6628\u5929":c>=1?c+"\u5c0f\u65f6\u524d":u>=5?u+"\u5206\u949f\u524d":"\u521a\u521a",o},y=function(e,t){"string"==typeof e&&(e.indexOf("T")>=0&&(e=e.replace("T"," ")),e=new Date(Date.parse(e.replace(/-/g,"/")))),e=new Date(e);var n={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()},r=[["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],["\u5468\u65e5","\u5468\u4e00","\u5468\u4e8c","\u5468\u4e09","\u5468\u56db","\u5468\u4e94","\u5468\u516d"],["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"]];for(var o in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),/(w+)/.test(t)&&(t=t.replace(RegExp.$1,r[RegExp.$1.length-1][e.getDay()])),n)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return t},v=function(e){if(!e||e<0)return"0\u79d2";console.log("time:",e);var t=60,n=60*t,r=24*n,o=e/r,i=e/n,a=e/t;return o>=1?parseInt(o.toString())+"\u5929"+Math.floor(i%24)+"\u65f6"+Math.floor(a%60)+"\u5206"+Math.floor(e%60)+"\u79d2":i>1?parseInt(i.toString())+"\u65f6"+Math.floor(a%60)+"\u5206"+Math.floor(e%60)+"\u79d2":a>=1?parseInt(a.toString())+"\u5206"+Math.floor(e%60)+"\u79d2":Math.ceil(e)+"\u79d2"},_=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=0;if(e){n=e.length;for(var r=0;r=55296&&o<=56319&&(n--,r++)}}return n<=t},w=function(e,t,n){if(t){var r=/[`~!@#$%^&*()\-+=<>?:"{}|,.\/;'\\[\]\xb7~\uff01@#\uffe5%\u2026\u2026&*\uff08\uff09\u2014\u2014\-+={}|\u300a\u300b\uff1f\uff1a\u201c\u201d\u3010\u3011\u3001\uff1b\u2018\u2019\uff0c\u3002\u3001]/im,o=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi,i=o.test(t),a=r.test(t);(!0===i||!0===a||t.length<2||t.length>=21)&&n("2-20\u4f4d\u4e2d\u82f1\u6587\u3001\u6570\u5b57\u53ca\u4e0b\u5212\u7ebf")}n()},x=function(e,t,n){if(t){var r=/[`~!@#$%^&()_\-+=<>?:"{}|,.\/;'\\[\]\xb7~\uff01@#\uffe5%\u2026\u2026&\uff08\uff09\u2014\u2014\-+={}|\u300a\u300b\uff1f\uff1a\u201c\u201d\u3010\u3011\u3001\uff1b\u2018\u2019\uff0c\u3002\u3001]/im,o=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi,i=o.test(t),a=r.test(t);(!0===i||!0===a||t.length<2||t.length>=11)&&n("2-10\u4f4d\u4e2d\u82f1\u6587\u3001\u6570\u5b57")}n()},E=function(e){if(!e)return"";for(var t=e.length-1,n="",r=0;r0){n=!1;break}return n}var I,A=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null===t||void 0===t||null===(e=t.toString())||void 0===e?void 0:e.replace(/\B(?=(\d{3})+(?!\d))/g,",")},D=function(e){var t=document.createElement("a");t.target="_blank",document.body.appendChild(t),t.href=e;var n=document.createEvent("MouseEvents");n.initEvent("click",!1,!1),t.dispatchEvent(n),document.body.removeChild(t)},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.length<=6?e:"".concat(e.substring(0,3),"...").concat(e.substring(e.length-3,e.length))},P=function(){var e=(new Date).getHours(),t=(new Date).getMinutes();return t>=30?(e++,t="00"):t="30",e+":"+t},L=function(){var e=(new Date).getHours(),t=(new Date).getMinutes();return t>=30?(e++,t="00"):t="30",(new Date).toLocaleDateString().replace(/\//g,"-")+" "+e+":"+t};(function(e){e["Number"]="Number",e["String"]="String",e["Boolean"]="Boolean",e["Object"]="Object",e["Array"]="Array",e["Function"]="Function"})(I||(I={}));var R=function(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)},B=function(e){return R(e)===I.Array?0===e.length:R(e)===I.Object?0===Object.keys(e).length:!e},F=function(e){return e>4.5?5:e>4&&e<=4.5?4.5:e>3.5&&e<=4?4:e>3&&e<=3.5?3.5:e>2.5&&e<=3?3:e>2&&e<=2.5?2.5:e>1.5&&e<=2?2:e>1&&e<=1.5?1.5:e>.5&&e<=1?1:e>0&&e<=.5?.5:0},q=function(e){return void 0===e||null===e};var U=function(e){switch(e.container_type){case"ApplyUserAuthentication":if("Apply"===e.tiding_type){if(1===e.auth_type)return window.open("/admins/identity_authentications");if(2===e.auth_type)return window.open("/admins/professional_authentications")}return"System"===e.tiding_type?window.open("/account/certification"):void 0;case"CancelUserAuthentication":return window.open("/account/certification");case"CancelUserProCertification":return window.open("/account/certification");case"ApplyAddDepartment":return"Apply"===e.tiding_type?window.open("/admins/department_applies"):"System"===e.tiding_type?window.open("/account/profile"):void 0;case"ApplyAddSchools":return"Apply"===e.tiding_type?window.open("/admins/unit_applies"):"System"===e.tiding_type?window.open("/account/profile"):void 0;case"ApplyAction":switch(e.parent_container_type){case"ApplyShixun":if("Apply"===e.tiding_type)return window.open("/admins/shixun_authorizations");if("System"===e.tiding_type)return window.open("/shixuns/".concat(e.identifier,"/challenges"));case"ApplySubject":if("Apply"===e.tiding_type)return window.open("/admins/subject_authorizations");if("System"===e.tiding_type)return window.open("/paths/".concat(e.parent_container_id));case"TrialAuthorization":if("Apply"===e.tiding_type)return window.open("/managements/trial_authorization");if("System"===e.tiding_type)return window.open("/account/profile")}return;case"JoinCourse":return window.open("/classrooms/".concat(e.belong_container_id,"/teachers"));case"StudentJoinCourse":if("Apply"===e.tiding_type)return window.open("/classrooms/".concat(e.belong_container_id,"/teachers"));if("System"===e.tiding_type)return window.open("/classrooms/".concat(e.belong_container_id,"/students"));case"DealCourse":return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.container_id));case"TeacherJoinCourse":return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.container_id));case"Course":if("Delete"===e.tiding_type)return;return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.container_id));case"ArchiveCourse":return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.container_id));case"Shixun":return window.open("/shixuns/".concat(e.identifier,"/challenges"));case"Subject":return window.open("/paths/".concat(e.container_id));case"JournalsForMessage":switch(e.parent_container_type){case"Principal":return"";case"HomeworkCommon":return"normal"===e.homework_type?window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/question")):"group"===e.homework_type?window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/question")):"practice"===e.homework_type?window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=1")):"";case"GraduationTopic":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_topics/").concat(e.parent_container_id,"/detail"));case"StudentWorksScore":return"normal"===e.homework_type?window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/question")):"group"===e.homework_type?window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/question")):"practice"===e.homework_type?window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=1")):""}case"Memo":return window.open("/forums/".concat(e.parent_container_id));case"Message":return window.open("/forums/");case"Watcher":return window.open("/users/".concat(e.trigger_user.login,"/classrooms"));case"PraiseTread":return"";case"Grade":return"";case"JoinProject":return window.open("/projects/".concat(e.container_id));case"ReporterJoinProject":return window.open("/projects/".concat(e.container_id));case"DealProject":return window.open("/projects/".concat(e.container_id));case"ManagerJoinProject":return window.open("/projects/".concat(e.container_id));case"Poll":switch(e.parent_container_type){case"CommitPoll":return window.open("\t/courses/".concat(e.belong_container_id,"/polls/").concat(e.container_id));default:return window.open("\t/courses/".concat(e.belong_container_id,"/polls/").concat(e.container_id))}case"Exercise":switch(e.parent_container_type){case"CommitExercise":return window.open("\t/courses/".concat(e.belong_container_id,"/exercises/").concat(e.container_id,"/student_exercise_list?tab=0"));case"ExerciseScore":return window.open("\t/courses/".concat(e.belong_container_id,"/exercises/").concat(e.container_id,"/student_exercise_list?tab=0"));default:return window.open("/classrooms/".concat(e.belong_container_id,"/exercises/").concat(e.container_id,"/student_exercise_list?tab=0"))}case"StudentGraduationTopic":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_topics/").concat(e.parent_container_id,"/detail"));case"DealStudentTopicSelect":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_topics/").concat(e.parent_container_id,"/detail"));case"GraduationTask":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_tasks/").concat(e.container_id));case"GraduationWork":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_tasks/").concat(e.container_id));case"GraduationWorkScore":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_tasks/").concat(e.parent_container_id));case"HomeworkCommon":switch(e.parent_container_type){case"AnonymousCommentFail":if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/detail"));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/detail"));if("practice"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=0"));case"HomeworkPublish":if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/detail"));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/detail"));if("practice"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=0"));case"AnonymousAppeal":if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/detail"));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/detail"));if("practice"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=0"));default:if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/detail"));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/detail"));if("practice"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=0"))}case"StudentWork":if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/review/").concat(e.container_id));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/review/").concat(e.container_id));if("practice"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail"));case"StudentWorksScore":return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.trigger_user.id,"/review/").concat(e.parent_container_id));case"StudentWorksScoresAppeal":return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.trigger_user.id,"/review/").concat(e.parent_container_id));case"ChallengeWorkScore":return"";case"SendMessage":return window.open("/managements/mirror_repository");case"Journal":return window.open("/issues/".concat(e.parent_container_id));case"Issue":return window.open("/issues/".concat(e.container_id));case"PullRequest":return window.open("/projects/".concat(e.parent_container_id,"/pull_requests"));case"Department":return window.open("/account/profile");case"Library":if("Apply"===e.tiding_type)return window.open("/admins/library_applies");if("System"===e.tiding_type)return window.open("/moop_cases/".concat(e.container_id));case"ProjectPackage":if("Destroyed"===e.tiding_type)return;return"Destroyed_end"===e.tiding_type?void 0:"Apply"===e.tiding_type?window.open("/admins/project_package_applies"):window.open("/crowdsourcing/".concat(e.container_id));case"Discuss":return"Hack"===e.parent_container_type&&e.extra?window.open("/myproblems/".concat(e.extra,"/comment")):window.open("/shixuns/".concat(e.identifier,"/shixun_discuss"));case"Video":return"Apply"===e.tiding_type?window.open("/admins/video_applies"):"System"===e.tiding_type?window.open("/users/".concat(null===(t=Object(a["r"])())||void 0===t?void 0:t.login,"/videos")):"";var t;case"PublicCourseStart":return window.open("/classrooms/".concat(e.container_id,"/informs"));case"SubjectStartCourse":return window.open("/paths/".concat(e.container_id));case"ResubmitStudentWork":if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/").concat(e.container_id,"/appraise"));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/").concat(e.container_id,"/appraise"));case"AdjustScore":if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id));case"LiveLink":return window.open("/classrooms/".concat(e.belong_container_id,"/course_videos?open=live"));case"Hack":if(e.extra&&"HackDelete"!==e.parent_container_type)return window.open("/problems/".concat(e.extra,"/edit"));default:return}}},"7ahc":function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("k1fw"),o=n("0Owb"),i=(n("+L6B"),n("2/Rp")),a=(n("y8nQ"),n("Vl3Y")),s=n("tJVT"),c=(n("OaEy"),n("2fM7")),u=n("q1tI"),l=n.n(u),f=n("VrN/"),p=n.n(f),d=(n("p77/"),c["a"].Option),h={labelCol:{span:4},wrapperCol:{span:20}},m={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};function b(e){var t=e.value,n=e.onChange,o=e.mode,i=e.options,a=void 0===i?{}:i,c=Object(u["useRef"])(),f=Object(u["useState"])(),d=Object(s["a"])(f,2),h=d[0],m=d[1];return Object(u["useEffect"])((function(){if(h){var e=function(e){var t=e.getValue();n&&n(t)};return h.on("change",e),function(){h.off("change",e)}}}),[h,n]),Object(u["useEffect"])((function(){h&&h.setOption("mode",o)}),[h,o]),Object(u["useEffect"])((function(){h&&t!==h.getValue()&&h.setValue(t||"")}),[h,t]),Object(u["useEffect"])((function(){if(c.current&&!h){var e=p.a.fromTextArea(c.current,Object(r["a"])({mode:o,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0},a));m(e)}}),[c.current,h]),l.a.createElement("div",{className:"my-codemirror-container"},l.a.createElement("textarea",{ref:c}))}t["b"]=function(e){var t=e.callback,n=e.onCancel,r=Object(u["useState"])("python"),f=Object(s["a"])(r,2),p=f[0],g=f[1];function y(e){g(m[e][1])}function v(e){t(e)}return l.a.createElement(a["a"],Object(o["a"])({},h,{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:v}),l.a.createElement(a["a"].Item,{label:"\u4ee3\u7801\u8bed\u8a00",name:"language"},l.a.createElement(c["a"],{onChange:y},Object.keys(m).map((function(e){return l.a.createElement(d,{key:e,value:e},m[e][0])})))),l.a.createElement(a["a"].Item,{label:"\u4ee3\u7801\u5185\u5bb9",name:"content",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u4ee3\u7801\u5185\u5bb9"}]},l.a.createElement(b,{mode:p})),l.a.createElement("div",{className:"flex-container flex-end"},l.a.createElement(i["a"],{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786e\u5b9a"),l.a.createElement(i["a"],{type:"ghost",onClick:n},"\u53d6\u6d88")))}},"9Bee":function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=(n("vg9a"),n("tJVT")),a=n("DlQD"),s=n.n(a),c=n("rUJ1");function u(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);if(null===t)return e;var n=Object(i["a"])(t,1),o=n[0];return o.length>=r.length?e.slice(r.length):e})).join("\n")}var l=[],f=["