You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Shixuns__Detail__Challen...

1 line
21 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[98],{"9ZNV":function(e,a,t){"use strict";t.d(a,"a",(function(){return i}));var l=t("0Owb"),n=(t("+L6B"),t("2/Rp")),c=t("q1tI"),r=t.n(c),s=t("UUDw"),m=t.n(s),i=e=>{var a=e.cancelText,t=void 0===a?"\u53d6\u6d88":a,c=e.okText,s=void 0===c?"\u786e\u5b9a":c,i=e.loading,o=void 0!==i&&i,u=e.okButtonProps,p=void 0===u?{}:u,d=e.onCancel,_=void 0===d?()=>{}:d,h=e.onOk,E=void 0===h?()=>{}:h;return r.a.createElement("div",{className:m.a.buttonFixed},r.a.createElement("div",{className:m.a.buttonWrap},r.a.createElement(n["a"],{size:"large",className:"".concat(m.a.button," mr20"),onClick:_},t),r.a.createElement(n["a"],Object(l["a"])({size:"large",type:"primary",className:"".concat(m.a.button," mr20"),loading:o,onClick:E},p),s)))}},"9oiH":function(e,a,t){e.exports={flex_box_center:"flex_box_center___UNxlt",flex_space_between:"flex_space_between___abxYk",flex_box_vertical_center:"flex_box_vertical_center___1Fq8s",flex_box_center_end:"flex_box_center_end___2HPgu",flex_box_column:"flex_box_column___RtE2X",bg:"bg___kbF9N",flexRow:"flexRow___g11Yg",flexJustifyCenter:"flexJustifyCenter___2Gxyz",flexAlignEnd:"flexAlignEnd___1HS2d",flexAlingCenter:"flexAlingCenter___3LONA",flexAlignCenter:"flexAlignCenter___17DP1",flexColumn:"flexColumn___1D4TK",formWrap:"formWrap___X08wR",titleWrap:"titleWrap___2BiOW",fieldWrap:"fieldWrap___20iAg",mdWrap:"mdWrap___2Lc7M",backgroundFa:"backgroundFa___nxT_l",button:"button___1jUUP",icons:"icons___1yTLC",navBar:"navBar___3EVT7",active:"active___2VYxv",tipWrap:"tipWrap___mWunb",tip:"tip___2ACur",width300:"width300___g1fLL",popover:"popover___1-hNb",groupWrap:"groupWrap___3RkDx",radioStyle:"radioStyle___3-LJq"}},Lyp1:function(e,a,t){"use strict";var l=t("q1tI"),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},c=n,r=t("6VBw"),s=function(e,a){return l["createElement"](r["a"],Object.assign({},e,{ref:a,icon:c}))};s.displayName="QuestionCircleOutlined";a["a"]=l["forwardRef"](s)},UUDw:function(e,a,t){e.exports={buttonFixed:"buttonFixed___2zLVJ",button:"button___-JgFH",buttonWrap:"buttonWrap___aZhhk"}},Yczt:function(e,a,t){"use strict";t.r(a),t.d(a,"PracticeFileType",(function(){return l}));t("5Dmo");var l,n=t("3S7+"),c=(t("Q9mQ"),t("diRs")),r=(t("7Kak"),t("9yH6")),s=(t("sRBo"),t("kaz8")),m=(t("14J3"),t("BMrR")),i=(t("+L6B"),t("2/Rp")),o=(t("jCWc"),t("kPKH")),u=(t("miYZ"),t("tsqr")),p=t("k1fw"),d=t("WmNS"),_=t.n(d),h=t("9og8"),E=(t("y8nQ"),t("Vl3Y")),b=t("tJVT"),f=t("PpiC"),g=(t("5NDa"),t("5rEg")),v=(t("OaEy"),t("2fM7")),x=t("q1tI"),y=t.n(x),N=t("9kvl"),w=t("uYtH"),k=t("Lyp1"),j=t("HBuW"),O=t("9oiH"),C=t.n(O),W=t("9ZNV"),I=v["a"].Option,P=g["a"].TextArea;(function(e){e["Path"]="path",e["ExecPath"]="exec_path",e["OriginalPicturePath"]="original_picture_path",e["ExpectPicturePath"]="expect_picture_path",e["PicturePath"]="picture_path"})(l||(l={}));var S=e=>{var a,l,d,O,S,T,q=e.shixunsDetail,F=e.dispatch,B=(e.loading,e.match),H=(Object(f["a"])(e,["shixunsDetail","dispatch","loading","match"]),E["a"].useForm()),L=Object(b["a"])(H,1),R=L[0],D=Object(x["useState"])({}),V=Object(b["a"])(D,2),z=V[0],A=V[1],J=Object(x["useState"])({}),M=Object(b["a"])(J,2),U=M[0],Y=M[1],G=Object(x["useState"])([]),Q=Object(b["a"])(G,2),Z=Q[0],K=Q[1];Object(x["useEffect"])(()=>(F({type:"globalSetting/footerToggle",payload:!1}),()=>{F({type:"globalSetting/footerToggle",payload:!0})}),[]),Object(x["useEffect"])(()=>{X()},[]);var X=function(){var e=Object(h["a"])(_.a.mark((function e(){var a;return _.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(j["w"])({id:B.params.id,challengeId:B.params.challengesId,tab:1});case 2:a=e.sent,a&&(Y(a),$(a));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),$=e=>{R.setFieldsValue(Object(p["a"])({},e)),A(Object(p["a"])({},e));var a=e.test_sets.length?e.test_sets:[{hidden:0,input:"",output:"",score:100}];K(a)},ee=(e,a)=>{A(Object(p["a"])({},a))},ae=function(){var e=Object(h["a"])(_.a.mark((function e(a){var t,l,n;return _.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=Z.map(e=>e.score),l=t.reduce((e,a)=>e+a,0),100===l){e.next=5;break}return u["a"].info("\u6d4b\u8bd5\u96c6\u7684\u8bc4\u5206\u5360\u6bd4\u4e4b\u548c\u5fc5\u987b\u7b49\u4e8e100"),e.abrupt("return");case 5:return e.next=7,Object(j["jb"])(Object(p["a"])(Object(p["a"])({},B.params),{},{tab:1,challenge:Object(p["a"])(Object(p["a"])({},a),{},{shixunfileexpectpicturepath:a.original_picture_path,shixunfilestandardpicturepath:a.expect_picture_path}),test_set:Z}));case 7:n=e.sent,n&&N["c"].replace("/shixuns/".concat(B.params.id,"/challenges/").concat(B.params.challengesId,"/tab=3"));case 9:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}();return y.a.createElement("section",{className:C.a.bg},y.a.createElement("aside",{className:"bg-white mb10 pl20 pr20 "},y.a.createElement(m["a"],{gutter:[20,20]},y.a.createElement(o["a"],{flex:1},y.a.createElement("span",{className:C.a.icons},y.a.createElement("img",{src:t("csWT"),width:"14"})),"\u7b2c ",null===U||void 0===U?void 0:U.position," \u5173\uff1a\u5b9e\u8df5\u9898"),y.a.createElement(o["a"],null,(null===U||void 0===U?void 0:U.prev_challenge)&&y.a.createElement(i["a"],{type:"primary",ghost:!0,className:"mt10 mr5",onClick:()=>{var e=0===U.prev_challenge.st?"/editcheckpoint":"/editquestion",a="/shixuns/".concat(B.params.id,"/challenges/").concat(B.params.challengesId,"/").concat(e);N["c"].replace(a)}},"\u4e0a\u4e00\u5173"),(null===U||void 0===U?void 0:U.next_challenge)&&y.a.createElement(i["a"],{type:"primary",ghost:!0,className:"mt10 mr5",onClick:()=>{var e=0===U.next_challenge.st?"/editcheckpoint":"/editquestion",a="/shixuns/".concat(B.params.id,"/challenges/").concat(B.params.challengesId).concat(e);N["c"].replace(a)}},"\u4e0b\u4e00\u5173"),!((null===(a=q.detail)||void 0===a?void 0:a.identity)>4||void 0===(null===(l=q.detail)||void 0===l?void 0:l.identity)||2===(null===(d=q.detail)||void 0===d?void 0:d.shixun_status)||1===(null===(O=q.detail)||void 0===O?void 0:O.shixun_status))&&y.a.createElement(i["a"],{type:"primary"},y.a.createElement(w["Link"],{to:"/shixuns/".concat(B.params.id,"/challenges/newquestion")},"\u65b0\u589e\u9009\u62e9\u9898\u4efb\u52a1"))))),y.a.createElement(E["a"],{form:R,className:C.a.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:ee,onFinish:ae},y.a.createElement("aside",{className:["bg-white",C.a.navBar,C.a.flexRow].join(" ")},y.a.createElement("li",null,y.a.createElement("a",{href:"/shixuns/".concat(B.params.id,"/challenges/").concat(B.params.challengesId,"/editcheckpoint")},"1\u3001\u672c\u5173\u4efb\u52a1")),y.a.createElement("li",{className:C.a.active},y.a.createElement("a",null,"2\u3001\u8bc4\u6d4b\u8bbe\u7f6e")),y.a.createElement("li",null,y.a.createElement("a",{href:"/shixuns/".concat(B.params.id,"/challenges/").concat(B.params.challengesId,"/tab=3")},"3\u3001\u53c2\u8003\u7b54\u6848"))),y.a.createElement("div",{className:C.a.fieldWrap},y.a.createElement("div",{className:C.a.tipWrap},"\u8bf7\u5148\u4e0a\u4f20\u672c\u5173\u4efb\u52a1\u7684\u6240\u6709\u4ee3\u7801\u6587\u4ef6\u3001\u6807\u51c6\u56fe\u7247\u7b49\u6240\u6709\u5fc5\u8981\u7684\u6587\u4ef6\u5230",y.a.createElement("a",{href:"/shixuns/ch7snpwf/repository",target:"_blank",className:C.a.tip},"\u7248\u672c\u5e93")),(null===(S=q.detail)||void 0===S?void 0:S.identity)<3&&y.a.createElement(E["a"].Item,{label:"\u5f00\u542f\u865a\u62df\u4eff\u771f:"},y.a.createElement(E["a"].Item,{name:"unity_3d",noStyle:!0,valuePropName:"checked"},y.a.createElement(s["a"],null)),y.a.createElement("span",{className:"pl10 font14 c-light-black"},"\uff08\u9009\u4e2d\u5219\u7ed9\u5b66\u5458\u7684\u5b9e\u8df5\u4efb\u52a1\u542f\u52a8Unity3D\u754c\u9762\uff09")),z.unity_3d&&(null===(T=q.detail)||void 0===T?void 0:T.identity)<3&&y.a.createElement(y.a.Fragment,null,y.a.createElement(E["a"].Item,{name:"unity_3d_routes",label:"\u8def\u5f84:",rules:[{required:!0,message:"\u5fc5\u586b\u9879\uff1a\u4e0d\u80fd\u4e3a\u7a7a"}]},y.a.createElement(g["a"],{placeholder:"\u8bf7\u9009\u62e9\u7248\u672c\u5e93\u4e2d\u7684\u4ee3\u7801\u6587\u4ef6\u3002\u4f8b\uff1a src/step1/HelloWorld.java"})),y.a.createElement(E["a"].Item,{name:"with_code_file",label:"\u662f\u5426\u9700\u8981\u4ee3\u7801\u8bc4\u6d4b:"},y.a.createElement(r["default"].Group,null,y.a.createElement(r["default"],{value:!0},"\u662f"),y.a.createElement(r["default"],{value:!1},"\u5426")))),z.with_code_file&&y.a.createElement(y.a.Fragment,null,y.a.createElement(E["a"].Item,{name:"exec_time",label:y.a.createElement("div",null,"\u8bc4\u6d4b\u65f6\u957f\u9650\u5236 ",y.a.createElement("span",{className:"pl10 font12 c-light-black"},"\uff08\u7a0b\u5e8f\u8bc4\u6d4b\u8fd0\u884c\u65f6\u95f4\u9650\u5236\u65f6\u957f\uff0c\u5355\u4f4d\uff1a\u79d2\uff09")),rules:[{required:!0,message:"\u5fc5\u586b\u9879\uff1a\u4e0d\u80fd\u4e3a\u7a7a"}]},y.a.createElement(g["a"],{placeholder:"\u8bf7\u8f93\u5165\u8bc4\u6d4b\u65f6\u957f",className:C.a.width300})),y.a.createElement(E["a"].Item,{label:y.a.createElement("div",null,"\u8bc4\u6d4b\u6548\u679c\u5c55\u73b0\u65b9\u5f0f ",y.a.createElement("span",{className:"pl10 font12 c-light-black"},"\uff08\u5b66\u5458\u8bc4\u6d4b\u672c\u5173\u4efb\u52a1\u65f6\uff0c\u67e5\u770b\u6548\u679c\u9875\u4e0a\u9700\u8981\u5c55\u73b0\u7684\u6587\u4ef6\u7c7b\u578b\uff09"))},y.a.createElement(E["a"].Item,{name:"show_type",noStyle:!0,rules:[{required:!0,message:"\u5fc5\u586b\u9879\uff1a\u4e0d\u80fd\u4e3a\u7a7a"}]},y.a.createElement(v["a"],{size:"large",style:{width:"300px"}},y.a.createElement(I,{value:-1},"\u65e0"),y.a.createElement(I,{value:1},"\u56fe\u7247"),y.a.createElement(I,{value:2},"apk/exe"),y.a.createElement(I,{value:3},"txt"),y.a.createElement(I,{value:4},"html"),y.a.createElement(I,{value:5},"mp3"),y.a.createElement(I,{value:6},"mp4"))),y.a.createElement(c["a"],{overlayClassName:C.a.popover,placement:"bottomLeft",content:y.a.createElement("p",{className:"font12"},"\u56fe\u7247\uff1a\u5904\u7406\u6216\u8f93\u51fa\u56fe\u7247\u7c7b\u578b\u7684\u4efb\u52a1\uff0c\u8bf7\u9009\u586b\u6b64\u9879",y.a.createElement("br",null),"\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u56fe\u7247\u8def\u5f84\u548c\u5b66\u5458\u7b54\u6848\u6587\u4ef6\u8def\u5f84\uff0c\u5c55\u793a\u4ee3\u7801\u5bf9\u5e94\u7684\u56fe\u7247\u6548\u679c",y.a.createElement("br",null),y.a.createElement("br",null),"apk/exe\uff1a\u5199\u53ef\u6267\u884c\u6587\u4ef6\u7684\u4efb\u52a1\uff0c\u8bf7\u9009\u586b\u6b64\u9879",y.a.createElement("br",null),"\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u5b66\u5458\u7b54\u6848\u6587\u4ef6\u8def\u5f84\uff0c\u5c55\u793a\u4e8c\u7ef4\u7801\u4ee5\u4f9b\u626b\u7801\u4e0b\u8f7d",y.a.createElement("br",null),y.a.createElement("br",null),"txt\uff1a\u8f93\u51fatxt\u6587\u6863\u7c7b\u578b\u7684\u4efb\u52a1\uff0c\u8bf7\u9009\u586b\u6b64\u9879",y.a.createElement("br",null),"\u53ef\u4ee5\u901a\u8fc7\u5b66\u5458\u7b54\u6848\u6587\u4ef6\u8def\u5f84\u8bbe\u7f6e\uff0c\u5c55\u793atxt\u6587\u4ef6\u5185\u5bb9",y.a.createElement("br",null),y.a.createElement("br",null),"html\uff1aweb\u7c7b\u578b\u7684\u4efb\u52a1\uff0c\u8bf7\u9009\u586b\u6b64\u9879",y.a.createElement("br",null),"\u53ef\u4ee5\u901a\u8fc7Web\u8def\u7531\u8bbe\u7f6e\uff0c\u5c55\u793ahtml\u6548\u679c\u9884\u89c8\u9875",y.a.createElement("br",null),y.a.createElement("br",null),"mp3/mp4\uff1amp3/mp4\u6587\u4ef6\u7c7b\u578b\u7684\u4efb\u52a1\uff0c\u8bf7\u9009\u586b\u6b64\u9879",y.a.createElement("br",null),"\u53ef\u4ee5\u901a\u8fc7\u5b66\u5458\u7b54\u6848\u6587\u4ef6\u8def\u5f84\u8bbe\u7f6e\uff0c\u5c55\u793amp3/mp4\u6587\u4ef6\u5185\u5bb9",y.a.createElement("br",null),y.a.createElement("br",null)),trigger:"click"},y.a.createElement(k["a"],{className:"ml5 font14"}))),y.a.createElement(E["a"].Item,{name:"path",label:y.a.createElement("div",null,"\u5b66\u5458\u4efb\u52a1\u6587\u4ef6 ",y.a.createElement("span",{className:"pl10 font12 c-light-black"},"\uff08\u8be5\u6587\u4ef6\u5c06\u76f4\u63a5\u663e\u793a\u7ed9\u5b66\u751f\uff0c\u9700\u8981\u5b66\u751f\u5728\u5176\u4e2d\u586b\u5199\u4ee3\u7801\uff09")),rules:[{required:!0,message:"\u5fc5\u586b\u9879\uff1a\u4e0d\u80fd\u4e3a\u7a7a"}]},y.a.createElement(g["a"],{placeholder:"\u8bf7\u9009\u62e9\u7248\u672c\u5e93\u4e2d\u7684\u4ee3\u7801\u6587\u4ef6\u3002\u4f8b\uff1a src/step1/HelloWorld.java",onClick:()=>{}})),y.a.createElement(E["a"].Item,{name:"exec_path",label:y.a.createElement("div",null,"\u8bc4\u6d4b\u6267\u884c\u6587\u4ef6 ",y.a.createElement("span",{className:"pl10 font12 c-light-black"},"\uff08\u82e5\u6267\u884c\u5e73\u53f0\u811a\u672c\uff0c\u8bf7\u8f93\u5165\u5b66\u5458\u4efb\u52a1\u6587\u4ef6\u8def\u5f84\uff1b\u82e5\u4f7f\u7528\u81ea\u5df1\u8bbe\u8ba1\u7684\u811a\u672c\u6d4b\u8bd5\u5b66\u751f\u4ee3\u7801\uff0c\u8bf7\u8f93\u5165\u8bbe\u8ba1\u7684\u811a\u672c\u6587\u4ef6\u8def\u5f84\uff09")),rules:[{required:!0,message:"\u5fc5\u586b\u9879\uff1a\u4e0d\u80fd\u4e3a\u7a7a"}]},y.a.createElement(g["a"],{placeholder:"\u8bf7\u9009\u62e9\u7248\u672c\u5e93\u4e2d\u7684\u4ee3\u7801\u6587\u4ef6\u3002\u4f8b\uff1asrc/step1/HelloWorldTest.java"})),4===z.show_type&&(z.web_route||(null===U||void 0===U?void 0:U.has_web_route))&&y.a.createElement(E["a"].Item,{name:"web_route",label:y.a.createElement("div",null,"Web\u8def\u7531 ",y.a.createElement("span",{className:"pl10 font12 c-light-black"},"\uff08\u8bf7\u6ce8\u610f\u5c06\u670d\u52a1\u5668\u7a0b\u5e8f\u7684\u7aef\u53e3\u53f7\u6620\u5c04\u52308080\u7aef\u53e3\uff09"))},y.a.createElement(g["a"],{placeholder:"\u7f51\u7ad9\u7c7b\u578b\u5b9e\u8bad\uff0c\u8bf7\u586b\u5199Web\u8def\u7531\u5730\u5740\u3002\u4f8b\uff1ajava/mypage"})),(1===z.show_type||5===z.show_type||6===z.show_type)&&y.a.createElement(E["a"].Item,{name:"original_picture_path",label:y.a.createElement("div",null,"\u5f85\u5904\u7406\u6587\u4ef6\u8def\u5f84 ",y.a.createElement("span",{className:"pl10 font12 c-light-black"},"\uff08\u8be5\u8def\u5f84\u4e0b\u7684\u6587\u4ef6\u5c06\u5728\u5b66\u5458\u8bc4\u6d4b\u672c\u5173\u4efb\u52a1\u65f6\uff0c\u4f5c\u4e3a\u539f\u59cb\u6587\u4ef6\u663e\u793a\u5728\u67e5\u770b\u6548\u679c\u9875\uff0c\u4f9b\u5b66\u5458\u53c2\u8003\uff1b\u8bf7\u6ce8\u610f\u4e0e\u7a0b\u5e8f\u6587\u4ef6\u6240\u5728\u6587\u4ef6\u5939\u5206\u5f00\uff09"))},y.a.createElement(g["a"],{placeholder:"\u8bf7\u9009\u62e9\u7248\u672c\u5e93\u4e2d\u5b58\u50a8\u4e86\u5f85\u5904\u7406\u6587\u4ef6(\u56fe\u7247/MP3\u7b49)\u7684\u8def\u5f84\u3002\u4f8b\uff1asrc/step1/sourcefiles"})),(1===z.show_type||5===z.show_type||6===z.show_type)&&y.a.createElement(E["a"].Item,{name:"expect_picture_path",label:y.a.createElement("div",null,"\u6807\u51c6\u7b54\u6848\u6587\u4ef6\u8def\u5f84 ",y.a.createElement("span",{className:"pl10 font12 c-light-black"},"\uff08\u8be5\u8def\u5f84\u4e0b\u7684\u6587\u4ef6\u5c06\u5728\u5b66\u5458\u8bc4\u6d4b\u672c\u5173\u4efb\u52a1\u65f6\uff0c\u4f5c\u4e3a\u53c2\u8003\u7b54\u6848\u663e\u793a\u5728\u67e5\u770b\u6548\u679c\u9875\uff0c\u4f9b\u5b66\u5458\u53c2\u8003\uff1b\u8bf7\u6ce8\u610f\u4e0e\u7a0b\u5e8f\u6587\u4ef6\u6240\u5728\u6587\u4ef6\u5939\u5206\u5f00\uff09"))},y.a.createElement(g["a"],{placeholder:"\u8bf7\u9009\u62e9\u7248\u672c\u5e93\u4e2d\u5b58\u50a8\u4e86\u6807\u51c6\u7b54\u6848\u6587\u4ef6(\u56fe\u7247/MP3\u7b49)\u7684\u8def\u5f84\u3002\u4f8b\uff1asrc/step1/expectedfiles"})),-1!==z.show_type&&y.a.createElement(E["a"].Item,{name:"picture_path",label:y.a.createElement("div",null,"\u5b66\u5458\u7b54\u6848\u6587\u4ef6\u8def\u5f84 ",y.a.createElement("span",{className:"pl10 font12 c-light-black"},"\uff08\u5b66\u5458\u8bc4\u6d4b\u672c\u5173\u4efb\u52a1\u65f6\u751f\u6210\u7684\u6587\u4ef6\u5c06\u4fdd\u5b58\u5728\u8be5\u8def\u5f84\u4e0b\uff0c\u5e76\u4f5c\u4e3a\u5b9e\u9645\u8f93\u51fa\u663e\u793a\u5728\u67e5\u770b\u6548\u679c\u9875\uff0c\u4f9b\u5b66\u5458\u786e\u8ba4\uff1b\u8bf7\u6ce8\u610f\u4e0e\u7a0b\u5e8f\u6587\u4ef6\u6240\u5728\u6587\u4ef6\u5939\u5206\u5f00\uff09"))},y.a.createElement(g["a"],{placeholder:"\u8bf7\u5728\u7248\u672c\u5e93\u4e2d\u6307\u5b9a\u7528\u6765\u4fdd\u5b58\u5b66\u5458\u4ee3\u7801\u5b9e\u9645\u8f93\u51fa\u7ed3\u679c\u7684\u8def\u5f84\u3002\u4f8b\uff1asrc/step1/outputfiles"})),y.a.createElement("label",{className:"font16"},"\u6d4b\u8bd5\u96c6\u548c\u7cfb\u7edf\u8bc4\u5206\u89c4\u5219"),y.a.createElement(E["a"].Item,{name:"test_set_score",label:"\u5f97\u5206\u89c4\u8303:"},y.a.createElement(r["default"].Group,null,y.a.createElement(r["default"],{value:!1,className:C.a.radioStyle},"\u901a\u8fc7\u5168\u90e8\u6d4b\u8bd5\u96c6",y.a.createElement("span",{className:"pl10 font12 c-light-black"},"\uff08\u5b66\u5458\u8bc4\u6d4b\uff0c\u4ec5\u5f53\u6240\u6709\u6d4b\u8bd5\u96c6\u90fd\u6b63\u786e\u65f6\uff0c\u624d\u83b7\u5f97\u4e00\u6b21\u6027\u5956\u52b1\uff09")),y.a.createElement(r["default"],{value:!0,className:C.a.radioStyle},"\u901a\u8fc7\u90e8\u5206\u6d4b\u8bd5\u96c6",y.a.createElement("span",{className:"pl10 font12 c-light-black"},"\uff08\u5b66\u5458\u8bc4\u6d4b\uff0c\u5f53\u81f3\u5c11\u6709\u4e00\u7ec4\u6d4b\u8bd5\u96c6\u6b63\u786e\u65f6\uff0c\u5373\u53ef\u83b7\u5f97\u5176\u5bf9\u5e94\u6bd4\u4f8b\u7684\u5956\u52b1\uff09")))),z.test_set_score&&y.a.createElement(E["a"].Item,{name:"test_set_average",label:"\u7cfb\u7edf\u8bc4\u5206\u5360\u6bd4:"},y.a.createElement(r["default"].Group,null,y.a.createElement(r["default"],{value:!0},"\u5747\u5206\u6bd4\u4f8b"),y.a.createElement(r["default"],{value:!1},"\u81ea\u5b9a\u4e49\u6bd4\u4f8b"))),y.a.createElement(E["a"].Item,{name:"ignore_space",label:"\u7a7a\u683c\u5904\u7406:",valuePropName:"checked"},y.a.createElement(s["a"],null,"\u5ffd\u7565\u9996\u5c3e\u7a7a\u683c")),Z.map((e,a)=>y.a.createElement("div",{className:C.a.groupWrap,key:a},y.a.createElement("div",{className:"".concat(C.a.flexRow," ").concat(C.a.flexAlingCenter," font16")},"\u7ec4",a+1,y.a.createElement(g["a"],{style:{width:"230px"},className:"ml5 mr5",value:e.score,type:"number",onChange:e=>{var t=Z.map((t,l)=>l===a?Object(p["a"])(Object(p["a"])({},t),{},{score:e.target.value?Number(e.target.value):0}):t);K(t)}}),"%",y.a.createElement(s["a"],{className:"font14 ml5",checked:1===e.hidden,onChange:e=>{var t=Z.map((t,l)=>l===a?Object(p["a"])(Object(p["a"])({},t),{},{hidden:e.target.checked?1:0}):t);K(t)}},"\u9690\u85cf\uff08\u9009\u4e2d\u5219\u5bf9\u5b66\u5458\u9690\u85cf\u672c\u6d4b\u8bd5\u96c6\u5185\u5bb9\uff09"),y.a.createElement("div",{className:"tr flex1"},0!==a&&y.a.createElement(n["a"],{placement:"bottom",title:"\u5220\u9664"},y.a.createElement("i",{className:"iconfont icon-shanchu_Hover font16 c-red current",onClick:()=>{var e=Z.filter((e,t)=>t!==a);K(e)}})))),y.a.createElement(P,{className:"mt10",rows:5,placeholder:"\u8f93\u5165",value:e.input,onChange:e=>{var t=Z.map((t,l)=>l===a?Object(p["a"])(Object(p["a"])({},t),{},{input:e.target.value}):t);K(t)}}),y.a.createElement(P,{className:"mt10",rows:5,placeholder:"\u9884\u671f\u8f93\u51fa",value:e.output,onChange:e=>{var t=Z.map((t,l)=>l===a?Object(p["a"])(Object(p["a"])({},t),{},{output:e.target.value}):t);K(t)}}),y.a.createElement("div",{className:"mt10"},y.a.createElement("span",{className:"font14"},"\u5339\u914d\u89c4\u5219\uff1a"),y.a.createElement(r["default"].Group,{value:e.match_rule,onChange:e=>{var t=Z.map((t,l)=>l===a?Object(p["a"])(Object(p["a"])({},t),{},{match_rule:e.target.value}):t);K(t)}},y.a.createElement(r["default"],{value:"full"},"\u5b8c\u5168\u5339\u914d",y.a.createElement("span",{className:"pl10 font12 c-light-black"},"\uff08\u5b9e\u9645\u8f93\u51fa\u4e0e\u9884\u671f\u8f93\u51fa\u5b8c\u5168\u76f8\u540c\uff09")),y.a.createElement(r["default"],{value:"last"},"\u672b\u5c3e\u5339\u914d",y.a.createElement("span",{className:"pl10 font12 c-light-black"},"\uff08\u5b9e\u9645\u8f93\u51fa\u7684\u672b\u5c3e\u5185\u5bb9\u4e0e\u9884\u671f\u8f93\u51fa\u5b8c\u5168\u76f8\u540c\uff09")))))),y.a.createElement(i["a"],{type:"primary",ghost:!0,className:"mt10"},"\u65b0\u589e\u6d4b\u8bd5\u96c6"),y.a.createElement("p",{className:"mt10 pl10 font12 c-light-black"},"\u6e29\u99a8\u63d0\u793a\uff1a\u516c\u5f00\u6d4b\u8bd5\u96c6\u548c\u9690\u85cf\u6d4b\u8bd5\u96c6\u7ed3\u5408\u4f7f\u7528\uff0c\u53ef\u4ee5\u964d\u4f4e\u4f5c\u5f0a\u7684\u673a\u7387\uff1b\u9690\u85cf\u6d4b\u8bd5\u96c6\uff0c\u5728\u201c\u63d0\u4ea4\u8bc4\u6d4b\u201d\u65f6\u4e5f\u5c06\u88ab\u7cfb\u7edf\u81ea\u52a8\u68c0\u6d4b"))),y.a.createElement(E["a"].Item,{noStyle:!0},y.a.createElement(W["a"],{okButtonProps:{htmlType:"submit"},onCancel:()=>N["c"].push("/shixuns/".concat(B.params.id,"/challenges"))}))))};a["default"]=Object(N["a"])(e=>{var a=e.shixunsDetail,t=e.newCourse,l=e.loading,n=e.globalSetting;return{shixunsDetail:a,newCourse:t,globalSetting:n,loading:l.effects}})(S)},csWT:function(e,a,t){e.exports=t.p+"static/choose.4ad1045f.svg"}}]);