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__Competitions__Index.2809...

2 lines
60 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[122],{"1ZF9":function(nt,V,u){nt.exports=u.p+"static/Authorize.cc9c212f.png"},BdwD:function(nt,V,u){"use strict";var zt=u("XEnU"),yt=u("q1tI"),Dt=u.n(yt),jt=function(Ot){var T=Ot.styles,rt=T===void 0?{}:T,at=Ot.customText;return Dt.a.createElement("section",{className:"tc animated fadeIn",style:Object(zt.a)(Object(zt.a)({},{color:"#999",margin:"200px auto"}),rt)},Dt.a.createElement("img",{src:u("FOrL")}),Dt.a.createElement("p",{className:"mt20 font14"},at||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"))};V.a=jt},D2RN:function(nt,V,u){nt.exports={flex_box_center:"flex_box_center___1wzjU",flex_space_between:"flex_space_between___19d2o",flex_box_vertical_center:"flex_box_vertical_center___1Wd-a",flex_box_center_end:"flex_box_center_end___2HPOy",flex_box_column:"flex_box_column___2cB5F",wrp:"wrp___V2wJo",banner:"banner___9x-A-",bg:"bg___2WSLA",list:"list___u4-_b",status:"status___4LRSp",desc:"desc___18okv",flex1:"flex1___34Elm",item:"item___32MoH",footer:"footer___1100r",tabs:"tabs___1g_DM",CompetitionsList:"CompetitionsList___2iLb3",CompetitionsListzhezhao:"CompetitionsListzhezhao___2O-qQ",shadow:"shadow___13bWc",divimg:"divimg___3dE7q",havetext:"havetext___2a_fQ",Finishedtext:"Finishedtext___3cssb",Comingtext:"Comingtext___14gQI",task_hide:"task_hide___KPgxv",task_hide_2:"task_hide_2___151jJ",Unpublishedtext:"Unpublishedtext___2LPx9",signup:"signup___1gqfa",checkboxtitle:"checkboxtitle___3U9gf"}},FOrL:function(nt,V){nt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeA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dJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},NLgs:function(nt,V,u){"use strict";u.d(V,"e",function(){return Mt}),u.d(V,"f",function(){return et}),u.d(V,"d",function(){return Bt}),u.d(V,"c",function(){return Wt}),u.d(V,"a",function(){return re}),u.d(V,"b",function(){return ot});var zt=u("miYZ"),yt=u("tsqr"),Dt=u("5Tp6"),jt=u("2qtc"),ht=u("kLXV"),Ot=u("q1tI"),T=u.n(Ot),rt=u("9kvl"),at=u("xKgJ"),bt=u("1vsH"),Et=u("RCxd"),Lt=u("mOS8"),dt=u.n(Lt),Ct=u("m3rI");function Nt(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Nt=function(){return z};var z={},N=Object.prototype,H=N.hasOwnProperty,it=typeof Symbol=="function"?Symbol:{},O=it.iterator||"@@iterator",ae=it.asyncIterator||"@@asyncIterator",Pt=it.toStringTag||"@@toStringTag";function ut(c,s,h){return Object.defineProperty(c,s,{value:h,enumerable:!0,configurable:!0,writable:!0}),c[s]}try{ut({},"")}catch(c){ut=function(h,g,P){return h[g]=P}}function At(c,s,h,g){var P=s&&s.prototype instanceof Rt?s:Rt,y=Object.create(P.prototype),W=new Ht(g||[]);return y._invoke=function(mt,_t,S){var Z="suspendedStart";return function(vt,oe){if(Z==="executing")throw new Error("Generator is already running");if(Z==="completed"){if(vt==="throw")throw oe;return te()}for(S.method=vt,S.arg=oe;;){var ee=S.delegate;if(ee){var Kt=$t(ee,S);if(Kt){if(Kt===ft)continue;return Kt}}if(S.method==="next")S.sent=S._sent=S.arg;else if(S.method==="throw"){if(Z==="suspendedStart")throw Z="completed",S.arg;S.dispatchException(S.arg)}else S.method==="return"&&S.abrupt("return",S.arg);Z="executing";var xt=Tt(mt,_t,S);if(xt.type==="normal"){if(Z=S.done?"completed":"suspendedYield",xt.arg===ft)continue;return{value:xt.arg,done:S.done}}xt.type==="throw"&&(Z="completed",S.method="throw",S.arg=xt.arg)}}}(c,h,W),y}function Tt(c,s,h){try{return{type:"normal",arg:c.call(s,h)}}catch(g){return{type:"throw",arg:g}}}z.wrap=At;var ft={};function Rt(){}function It(){}function wt(){}var Qt={};ut(Qt,O,function(){return this});var Jt=Object.getPrototypeOf,kt=Jt&&Jt(Jt(Yt([])));kt&&kt!==N&&H.call(kt,O)&&(Qt=kt);var Ft=wt.prototype=Rt.prototype=Object.create(Qt);function qt(c){["next","throw","return"].forEach(function(s){ut(c,s,function(h){return this._invoke(s,h)})})}function Zt(c,s){function h(P,y,W,mt){var _t=Tt(c[P],c,y);if(_t.type!=="throw"){var S=_t.arg,Z=S.value;return Z&&typeof Z=="object"&&H.call(Z,"__await")?s.resolve(Z.__await).then(function(vt){h("next",vt,W,mt)},function(vt){h("throw",vt,W,mt)}):s.resolve(Z).then(function(vt){S.value=vt,W(S)},function(vt){return h("throw",vt,W,mt)})}mt(_t.arg)}var g;this._invoke=function(P,y){function W(){return new s(function(mt,_t){h(P,y,mt,_t)})}return g=g?g.then(W,W):W()}}function $t(c,s){var h=c.iterator[s.method];if(h===void 0){if(s.delegate=null,s.method==="throw"){if(c.iterator.return&&(s.method="return",s.arg=void 0,$t(c,s),s.method==="throw"))return ft;s.method="throw",s.arg=new TypeError("The iterator does not provide a 'throw' method")}return ft}var g=Tt(h,c.iterator,s.arg);if(g.type==="throw")return s.method="throw",s.arg=g.arg,s.delegate=null,ft;var P=g.arg;return P?P.done?(s[c.resultName]=P.value,s.next=c.nextLoc,s.method!=="return"&&(s.method="next",s.arg=void 0),s.delegate=null,ft):P:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,ft)}function Xt(c){var s={tryLoc:c[0]};1 in c&&(s.catchLoc=c[1]),2 in c&&(s.finallyLoc=c[2],s.afterLoc=c[3]),this.tryEntries.push(s)}function Vt(c){var s=c.completion||{};s.type="normal",delete s.arg,c.completion=s}function Ht(c){this.tryEntries=[{tryLoc:"root"}],c.forEach(Xt,this),this.reset(!0)}function Yt(c){if(c){var s=c[O];if(s)return s.call(c);if(typeof c.next=="function")return c;if(!isNaN(c.length)){var h=-1,g=function P(){for(;++h<c.length;)if(H.call(c,h))return P.value=c[h],P.done=!1,P;return P.value=void 0,P.done=!0,P};return g.next=g}}return{next:te}}function te(){return{value:void 0,done:!0}}return It.prototype=wt,ut(Ft,"constructor",wt),ut(wt,"constructor",It),It.displayName=ut(wt,Pt,"GeneratorFunction"),z.isGeneratorFunction=function(c){var s=typeof c=="function"&&c.constructor;return!!s&&(s===It||(s.displayName||s.name)==="GeneratorFunction")},z.mark=function(c){return Object.setPrototypeOf?Object.setPrototypeOf(c,wt):(c.__proto__=wt,ut(c,Pt,"GeneratorFunction")),c.prototype=Object.create(Ft),c},z.awrap=function(c){return{__await:c}},qt(Zt.prototype),ut(Zt.prototype,ae,function(){return this}),z.AsyncIterator=Zt,z.async=function(c,s,h,g,P){P===void 0&&(P=Promise);var y=new Zt(At(c,s,h,g),P);return z.isGeneratorFunction(s)?y:y.next().then(function(W){return W.done?W.value:y.next()})},qt(Ft),ut(Ft,Pt,"Generator"),ut(Ft,O,function(){return this}),ut(Ft,"toString",function(){return"[object Generator]"}),z.keys=function(c){var s=[];for(var h in c)s.push(h);return s.reverse(),function g(){for(;s.length;){var P=s.pop();if(P in c)return g.value=P,g.done=!1,g}return g.done=!0,g}},z.values=Yt,Ht.prototype={constructor:Ht,reset:function(s){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(Vt),!s)for(var h in this)h.charAt(0)==="t"&&H.call(this,h)&&!isNaN(+h.slice(1))&&(this[h]=void 0)},stop:function(){this.done=!0;var s=this.tryEntries[0].completion;if(s.type==="throw")throw s.arg;return this.rval},dispatchException:function(s){if(this.done)throw s;var h=this;function g(S,Z){return W.type="throw",W.arg=s,h.next=S,Z&&(h.method="next",h.arg=void 0),!!Z}for(var P=this.tryEntries.length-1;P>=0;--P){var y=this.tryEntries[P],W=y.completion;if(y.tryLoc==="root")return g("end");if(y.tryLoc<=this.prev){var mt=H.call(y,"catchLoc"),_t=H.call(y,"finallyLoc");if(mt&&_t){if(this.prev<y.catchLoc)return g(y.catchLoc,!0);if(this.prev<y.finallyLoc)return g(y.finallyLoc)}else if(mt){if(this.prev<y.catchLoc)return g(y.catchLoc,!0)}else{if(!_t)throw new Error("try statement without catch or finally");if(this.prev<y.finallyLoc)return g(y.finallyLoc)}}}},abrupt:function(s,h){for(var g=this.tryEntries.length-1;g>=0;--g){var P=this.tryEntries[g];if(P.tryLoc<=this.prev&&H.call(P,"finallyLoc")&&this.prev<P.finallyLoc){var y=P;break}}y&&(s==="break"||s==="continue")&&y.tryLoc<=h&&h<=y.finallyLoc&&(y=null);var W=y?y.completion:{};return W.type=s,W.arg=h,y?(this.method="next",this.next=y.finallyLoc,ft):this.complete(W)},complete:function(s,h){if(s.type==="throw")throw s.arg;return s.type==="break"||s.type==="continue"?this.next=s.arg:s.type==="return"?(this.rval=this.arg=s.arg,this.method="return",this.next="end"):s.type==="normal"&&h&&(this.next=h),ft},finish:function(s){for(var h=this.tryEntries.length-1;h>=0;--h){var g=this.tryEntries[h];if(g.finallyLoc===s)return this.complete(g.completion,g.afterLoc),Vt(g),ft}},catch:function(s){for(var h=this.tryEntries.length-1;h>=0;--h){var g=this.tryEntries[h];if(g.tryLoc===s){var P=g.completion;if(P.type==="throw"){var y=P.arg;Vt(g)}return y}}throw new Error("illegal catch attempt")},delegateYield:function(s,h,g){return this.delegate={iterator:Yt(s),resultName:h,nextLoc:g},this.method==="next"&&(this.arg=void 0),ft}},z}var Mt=function(N){return!!(et(N)&&o())},et=function(N){return Object(at.p)()?!0:(N({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1)},o=function(){var N,H=Object(rt.b)()._store.getState(),it=H.user;return((N=it.userInfo)===null||N===void 0?void 0:N.profile_completed)?!0:(ht.a.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:T.a.createElement("div",{className:"tc font16"},"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:function(){rt.c.push("/account/profile/edit")}}),!1)},Bt=function(){var N,H=Object(rt.b)()._store.getState(),it=H.user;return((N=it.userInfo)===null||N===void 0?void 0:N.professional_certification)?!0:(ht.a.confirm({title:"\u63D0\u793A",centered:!0,content:T.a.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:function(){Object(bt.I)("/account/certification")}}),!1)},Wt=function(){return Object(at.a)()?!0:(ht.a.confirm({centered:!0,width:530,title:"\u63D0\u793A",content:T.a.createElement("div",{className:"tc",style:{marginLeft:-38}},T.a.createElement("p",null,"\u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650"),T.a.createElement("img",{src:Object(at.t)()?u("WdTA"):"".concat(Ct.a.IMG_SERVER,"/images/educoder/qqqun20191230.png"),width:200}),T.a.createElement("div",{className:"tc"},"\u7FA4\u53F7\uFF1A",Object(at.t)()?"693542422":"612934990")),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:function(){Object(bt.I)("//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd")}}),!1)},re=function(N,H){return N?!0:(ht.a.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:T.a.createElement("div",null,T.a.createElement("p",null,H||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),T.a.createElement("div",{style:{marginLeft:"110px"}},T.a.createElement("img",{src:u("1ZF9"),width:200}),T.a.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:function(){Object(bt.I)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1)},ot=function(N){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",it=Object(rt.b)()._store.getState(),O=it.shixunsDetail.detail;return(O==null?void 0:O.public)===2||(O==null?void 0:O.public)===1||(O==null?void 0:O.shixun_status)===3?(ht.a.info({centered:!0,icon:T.a.createElement(Et.a,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:T.a.createElement("div",{className:"tc",style:{marginLeft:-38}},T.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},T.a.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",(O==null?void 0:O.public)===2?"\u5DF2\u516C\u5F00":(O==null?void 0:O.public)===1?"\u5F85\u5BA1\u6838":"\u5DF2\u5173\u95ED","\uFF0C",H,"\u3002"),T.a.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),T.a.createElement("img",{style:{border:"4px solid #1890FF",borderRadius:"4px"},src:dt.a,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0):(O==null?void 0:O.shixun_status)===2?(ht.a.confirm({centered:!0,icon:T.a.createElement(Et.a,null),title:"\u63D0\u793A",content:T.a.createElement("div",null,T.a.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",H,"\u3002"),T.a.createElement("br",null),T.a.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:function(){ht.a.confirm({width:440,centered:!0,icon:T.a.createElement(Et.a,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:function(){var Pt=Object(Dt.a)(Nt().mark(function At(){var Tt;return Nt().wrap(function(Rt){for(;;)switch(Rt.prev=Rt.next){case 0:return Rt.next=2,N({type:"shixunsDetail/cancelRelease",payload:{id:O==null?void 0:O.identifier}});case 2:Tt=Rt.sent,Tt.status!==401&&(yt.b.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),N({type:"shixunsDetail/getShixunsDetail",payload:{id:O==null?void 0:O.identifier}}),N({type:"practiceSetting/getCommonData",payload:{id:O==null?void 0:O.identifier}}));case 4:case"end":return Rt.stop()}},At)}));function ut(){return Pt.apply(this,arguments)}return ut}()})}}),!0):!1}},QgcY:function(nt,V,u){"use strict";u.r(V);var zt=u("miYZ"),yt=u("tsqr"),Dt=u("DjyN"),jt=u("NUBc"),ht=u("cWXX"),Ot=u("/ezw"),T=u("Mwp2"),rt=u("VXEj"),at=u("5NDa"),bt=u("5rEg"),Et=u("5Tp6"),Lt=u("XEnU"),dt=u("k16G"),Ct=u("SIvP"),Nt=u("Znn+"),Mt=u("ZTPi"),et=u("q1tI"),o=u.n(et),Bt=u("WHYC"),Wt=u("9kvl"),re=u("D2RN"),ot=u.n(re),z=u("BdwD"),N=u("m3rI"),H=u("zrhs"),it=u("1vsH"),O=u("NLgs"),ae=u("7Kak"),Pt=u("9yH6"),ut=u("sRBo"),At=u("kaz8"),Tt=u("/zsF"),ft=u("PArb"),Rt=u("+L6B"),It=u("2/Rp"),wt=u("T2oS"),Qt=u("W9HT"),Jt=u("14J3"),kt=u("BMrR"),Ft=u("jCWc"),qt=u("kPKH"),Zt=u("5Dmo"),$t=u("3S7+"),Xt=u("3S9h"),Vt=u("wd/R"),Ht=u.n(Vt),Yt=u("cVA7"),te=u.n(Yt),c=u("ErOA"),s=u("RotF"),h=u.n(s),g=u("mgmH"),P=function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return{color:["#1890FF","#B620E0","#44D7B6"],legend:{},tooltip:{},dataset:{source:L},xAxis:{type:"category"},yAxis:{},series:[{type:"bar",label:{show:!0,position:"top"}},{type:"bar",label:{show:!0,position:"top"}},{type:"bar",label:{show:!0,position:"top"}}]}};function y(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return p};var p={},L=Object.prototype,x=L.hasOwnProperty,j=typeof Symbol=="function"?Symbol:{},b=j.iterator||"@@iterator",$=j.asyncIterator||"@@asyncIterator",Y=j.toStringTag||"@@toStringTag";function E(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{E({},"")}catch(e){E=function(n,r,a){return n[r]=a}}function pt(e,t,n,r){var a=t&&t.prototype instanceof k?t:k,i=Object.create(a.prototype),d=new G(r||[]);return i._invoke=function(D,A,l){var m="suspendedStart";return function(w,gt){if(m==="executing")throw new Error("Generator is already running");if(m==="completed"){if(w==="throw")throw gt;return tt()}for(l.method=w,l.arg=gt;;){var B=l.delegate;if(B){var I=F(B,l);if(I){if(I===v)continue;return I}}if(l.method==="next")l.sent=l._sent=l.arg;else if(l.method==="throw"){if(m==="suspendedStart")throw m="completed",l.arg;l.dispatchException(l.arg)}else l.method==="return"&&l.abrupt("return",l.arg);m="executing";var C=st(D,A,l);if(C.type==="normal"){if(m=l.done?"completed":"suspendedYield",C.arg===v)continue;return{value:C.arg,done:l.done}}C.type==="throw"&&(m="completed",l.method="throw",l.arg=C.arg)}}}(e,n,d),i}function st(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}p.wrap=pt;var v={};function k(){}function X(){}function U(){}var K={};E(K,b,function(){return this});var lt=Object.getPrototypeOf,J=lt&&lt(lt(Q([])));J&&J!==L&&x.call(J,b)&&(K=J);var M=U.prototype=k.prototype=Object.create(K);function q(e){["next","throw","return"].forEach(function(t){E(e,t,function(n){return this._invoke(t,n)})})}function _(e,t){function n(a,i,d,D){var A=st(e[a],e,i);if(A.type!=="throw"){var l=A.arg,m=l.value;return m&&typeof m=="object"&&x.call(m,"__await")?t.resolve(m.__await).then(function(w){n("next",w,d,D)},function(w){n("throw",w,d,D)}):t.resolve(m).then(function(w){l.value=w,d(l)},function(w){return n("throw",w,d,D)})}D(A.arg)}var r;this._invoke=function(a,i){function d(){return new t(function(D,A){n(a,i,D,A)})}return r=r?r.then(d,d):d()}}function F(e,t){var n=e.iterator[t.method];if(n===void 0){if(t.delegate=null,t.method==="throw"){if(e.iterator.return&&(t.method="return",t.arg=void 0,F(e,t),t.method==="throw"))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var r=st(n,e.iterator,t.arg);if(r.type==="throw")return t.method="throw",t.arg=r.arg,t.delegate=null,v;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,t.method!=="return"&&(t.method="next",t.arg=void 0),t.delegate=null,v):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function G(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function Q(e){if(e){var t=e[b];if(t)return t.call(e);if(typeof e.next=="function")return e;if(!isNaN(e.length)){var n=-1,r=function a(){for(;++n<e.length;)if(x.call(e,n))return a.value=e[n],a.done=!1,a;return a.value=void 0,a.done=!0,a};return r.next=r}}return{next:tt}}function tt(){return{value:void 0,done:!0}}return X.prototype=U,E(M,"constructor",U),E(U,"constructor",X),X.displayName=E(U,Y,"GeneratorFunction"),p.isGeneratorFunction=function(e){var t=typeof e=="function"&&e.constructor;return!!t&&(t===X||(t.displayName||t.name)==="GeneratorFunction")},p.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,U):(e.__proto__=U,E(e,Y,"GeneratorFunction")),e.prototype=Object.create(M),e},p.awrap=function(e){return{__await:e}},q(_.prototype),E(_.prototype,$,function(){return this}),p.AsyncIterator=_,p.async=function(e,t,n,r,a){a===void 0&&(a=Promise);var i=new _(pt(e,t,n,r),a);return p.isGeneratorFunction(t)?i:i.next().then(function(d){return d.done?d.value:i.next()})},q(M),E(M,Y,"Generator"),E(M,b,function(){return this}),E(M,"toString",function(){return"[object Generator]"}),p.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function r(){for(;t.length;){var a=t.pop();if(a in e)return r.value=a,r.done=!1,r}return r.done=!0,r}},p.values=Q,G.prototype={constructor:G,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!t)for(var n in this)n.charAt(0)==="t"&&x.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if(t.type==="throw")throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(l,m){return d.type="throw",d.arg=t,n.next=l,m&&(n.method="next",n.arg=void 0),!!m}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],d=i.completion;if(i.tryLoc==="root")return r("end");if(i.tryLoc<=this.prev){var D=x.call(i,"catchLoc"),A=x.call(i,"finallyLoc");if(D&&A){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(D){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!A)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&x.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&(t==="break"||t==="continue")&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var d=i?i.completion:{};return d.type=t,d.arg=n,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(d)},complete:function(t,n){if(t.type==="throw")throw t.arg;return t.type==="break"||t.type==="continue"?this.next=t.arg:t.type==="return"?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):t.type==="normal"&&n&&(this.next=n),v},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),v}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var a=r.completion;if(a.type==="throw"){var i=a.arg;R(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:Q(t),resultName:n,nextLoc:r},this.method==="next"&&(this.arg=void 0),v}},p}var W=Mt.a.TabPane,mt=At.a.Group,_t=function(L){var x,j,b,$,Y,E=L.competitions,pt=L.globalSetting,st=L.loading,v=L.dispatch,k=L.user,X=L.type,U=L.keyword,K=Object(Ct.a)(L,["competitions","globalSetting","loading","dispatch","user","type","keyword"]),lt=Object(Bt.l)(),J=Object(Bt.m)(),M=Object(et.useState)({data:[["\u4E1C\u5317",0,0,0],["\u534E\u4E1C",0,0,0],["\u534E\u5317",0,0,0],["\u534E\u4E2D",0,0,0],["\u534E\u5357",0,0,0],["\u897F\u5357",0,0,0],["\u897F\u5317",0,0,0],["\u5176\u4ED6",0,0,0]]}),q=Object(dt.a)(M,2),_=q[0],F=q[1],f=Object(et.useState)(!1),R=Object(dt.a)(f,2),G=R[0],Q=R[1],tt=Object(et.useState)(!0),e=Object(dt.a)(tt,2),t=e[0],n=e[1],r=Object(et.useState)([]),a=Object(dt.a)(r,2),i=a[0],d=a[1],D=Object(et.useState)([]),A=Object(dt.a)(D,2),l=A[0],m=A[1];Object(et.useEffect)(function(){w()},[J,U]);function w(){return gt.apply(this,arguments)}function gt(){return gt=Object(Et.a)(y().mark(function B(){var I;return y().wrap(function(ct){for(;;)switch(ct.prev=ct.next){case 0:return Q(!0),ct.next=3,v({type:"competitions/getList",payload:{category:X,page:1,keyword:U||""}});case 3:I=ct.sent,Q(!1),d([]),F({data:[["\u4E1C\u5317",0,0,0],["\u534E\u4E1C",0,0,0],["\u534E\u5317",0,0,0],["\u534E\u4E2D",0,0,0],["\u534E\u5357",0,0,0],["\u897F\u5357",0,0,0],["\u897F\u5317",0,0,0],["\u5176\u4ED6",0,0,0]]}),m(Object(Xt.a)(I==null?void 0:I.competitions));case 8:case"end":return ct.stop()}},B)})),gt.apply(this,arguments)}return o.a.createElement("section",null,o.a.createElement("aside",{className:"edu-container minH500"},(l==null?void 0:l.length)===0&&o.a.createElement(z.a,null),(l==null?void 0:l.length)>0&&o.a.createElement("div",{style:{marginTop:"10px",height:"240px",padding:"20PX",background:"#fff",overflowY:"scroll"}},o.a.createElement(h.a,{initialLoad:!1,pageStart:1,threshold:20,loadMore:function(){var B=Object(Et.a)(y().mark(function I(C){var ct,Ut;return y().wrap(function(Gt){for(;;)switch(Gt.prev=Gt.next){case 0:if(!(t&&!G)){Gt.next=8;break}return Q(!0),Gt.next=4,v({type:"competitions/getList",payload:{category:X,page:C}});case 4:Ut=Gt.sent,Q(!1),m([].concat(Object(Xt.a)(l),Object(Xt.a)(Ut==null?void 0:Ut.competitions))),(Ut==null||((ct=Ut.competitions)===null||ct===void 0)?void 0:ct.length)<20&&n(!1);case 8:case"end":return Gt.stop()}},I)}));return function(I){return B.apply(this,arguments)}}(),hasMore:t,useWindow:!1},o.a.createElement(Qt.a,{spinning:G},o.a.createElement(mt,{value:i,onChange:function(){var B=Object(Et.a)(y().mark(function I(C){var ct;return y().wrap(function(St){for(;;)switch(St.prev=St.next){case 0:if(d(Object(Xt.a)(C)),!((C==null?void 0:C.length)>0)){St.next=8;break}return St.next=4,Object(c.a)("/api/competitions/region_reports.json",{method:"get",params:{ids:C.toString()}});case 4:ct=St.sent,(ct==null?void 0:ct.status)===0&&F(ct),St.next=9;break;case 8:F({data:[["\u4E1C\u5317",0,0,0],["\u534E\u4E1C",0,0,0],["\u534E\u5317",0,0,0],["\u534E\u4E2D",0,0,0],["\u534E\u5357",0,0,0],["\u897F\u5357",0,0,0],["\u897F\u5317",0,0,0],["\u5176\u4ED6",0,0,0]]});case 9:case"end":return St.stop()}},I)}));return function(I){return B.apply(this,arguments)}}()},o.a.createElement(kt.a,{style:{width:"1160px"}},l==null?void 0:l.map(function(B,I){return o.a.createElement(qt.a,{span:12,style:{marginTop:"15px"}},o.a.createElement(At.a,{value:B.id,style:{fontSize:"16px",display:"flex",alignItems:"center"}},o.a.createElement($t.a,{title:B.sub_title?B.name+"\u2014\u2014"+B.sub_title:B.name},o.a.createElement("span",{className:ot.a.checkboxtitle},B.name,B.sub_title?"\u2014\u2014"+B.sub_title:"")," ")))})))))),o.a.createElement("div",{style:{marginTop:"10px",background:"#fff",paddingBottom:"20px"}},o.a.createElement("div",{style:{height:"76px",padding:"30px 40px",background:"#fff",display:"flex"}},o.a.createElement("span",{style:{fontSize:"16px",color:"#333333",flex:"1"}},"\u6570\u636E\u5C55\u793A"),o.a.createElement(It.a,{style:{width:"100px",height:"36px"},type:"primary",onClick:function(){Object(g.m)({ids:i.toString()})}},"\u6570\u636E\u5BFC\u51FA")),o.a.createElement(ft.a,{style:{padding:"0px 40px"}}),o.a.createElement("div",{style:{textAlign:"center"}},o.a.createElement("span",{style:{fontSize:"20px",fontWeight:600}},"\u7ADE\u8D5B\u62A5\u540D\u60C5\u51B5\u7EDF\u8BA1\u7B80\u62A5"),o.a.createElement("br",null),o.a.createElement("div",{style:{marginTop:"20px"}},o.a.createElement("span",null,"\u622A\u6B62\u81F3\uFF1A",Ht()(new Date).format("MM\u6708DD\u65E5 HH:mm:ss")),o.a.createElement("span",{style:{marginLeft:"30px"}},"\u6240\u9009\u4E2D\u5927\u8D5B\u76EE\u524D\u5408\u8BA1\u5171\u6709\uFF1A",o.a.createElement("span",{style:{color:"#999999"}}," ",o.a.createElement("span",{style:{color:"#B620E0"}},(_==null?void 0:_.school_count)||0)," \u6240\u9AD8\u6821 ",o.a.createElement("span",{style:{color:"#44D7B6",marginLeft:"10px"}},(_==null?void 0:_.team_count)||0)," \u652F\u961F\u4F0D ",o.a.createElement("span",{style:{color:"#1890FF",marginLeft:"10px"}},(_==null?void 0:_.user_count)||0)," \u540D\u5B66\u751F\u62A5\u540D ")))),o.a.createElement("div",{style:{height:"70px",display:"flex",justifyContent:"center",padding:"20px 0px"}},o.a.createElement("div",{style:{margin:"0px 40px",textAlign:"center"}},o.a.createElement("p",{style:{color:"#333333"}},"985\u9662\u6821"),o.a.createElement("p",{style:{color:"#999999",fontSize:"14px"}},o.a.createElement("span",{style:{color:"#E53333",fontSize:"20px",marginRight:"2px"}},(_==null||((x=_.school_level_count)===null||x===void 0)?void 0:x[0])||0),"\u6240")),o.a.createElement("span",{style:{height:"54px",border:"1px solid #f1f1f1",width:"1px"}}),o.a.createElement("div",{style:{margin:"0px 40px",textAlign:"center"}},o.a.createElement("p",{style:{color:"#333333"}},"211\u9662\u6821"),o.a.createElement("p",{style:{color:"#999999",fontSize:"14px"}},o.a.createElement("span",{style:{color:"#FF8C29",fontSize:"20px",marginRight:"2px"}},(_==null||((j=_.school_level_count)===null||j===void 0)?void 0:j[1])||0),"\u6240")),o.a.createElement("span",{style:{height:"54px",border:"1px solid #f1f1f1",width:"1px"}}),o.a.createElement("div",{style:{margin:"0px 40px",textAlign:"center"}},o.a.createElement("p",{style:{color:"#333333"}},"\u672C\u79D1\u9662\u6821"),o.a.createElement("p",{style:{color:"#999999",fontSize:"14px"}},o.a.createElement("span",{style:{color:"#F7B500",fontSize:"20px",marginRight:"2px"}},(_==null||((b=_.school_level_count)===null||b===void 0)?void 0:b[2])||0),"\u6240")),o.a.createElement("span",{style:{height:"54px",border:"1px solid #f1f1f1",width:"1px"}}),o.a.createElement("div",{style:{margin:"0px 40px",textAlign:"center"}},o.a.createElement("p",{style:{color:"#333333"}},"\u9AD8\u804C\u9AD8\u4E13"),o.a.createElement("p",{style:{color:"#999999",fontSize:"14px"}},o.a.createElement("span",{style:{color:"#1890FF",fontSize:"20px",marginRight:"2px"}},(_==null||(($=_.school_level_count)===null||$===void 0)?void 0:$[3])||0),"\u6240")),o.a.createElement("span",{style:{height:"54px",border:"1px solid #f1f1f1",width:"1px"}}),o.a.createElement("div",{style:{margin:"0px 40px",textAlign:"center"}},o.a.createElement("p",{style:{color:"#333333"}},"\u5176\u4ED6\u9662\u6821"),o.a.createElement("p",{style:{color:"#999999",fontSize:"14px"}},o.a.createElement("span",{style:{color:"#666666",fontSize:"20px",marginRight:"2px"}},(_==null||((Y=_.school_level_count)===null||Y===void 0)?void 0:Y[4])||0),"\u6240"))),o.a.createElement(te.a,{option:P(Object.values(_==null?void 0:_.data)),style:{height:400,width:1200},opts:{renderer:"svg"}}),o.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},o.a.createElement("div",{style:{display:"flex",alignItems:"center"}},o.a.createElement("span",{style:{display:"flex",marginRight:"5px",width:"14px",height:"14px",background:"#1890FF"}}),"\u4EBA\u6570"),o.a.createElement("div",{style:{display:"flex",alignItems:"center",margin:"0px 20px"}},o.a.createElement("span",{style:{display:"flex",marginRight:"5px",width:"14px",height:"14px",background:"#B620E0"}}),"\u5B66\u6821\u6570"),o.a.createElement("div",{style:{display:"flex",alignItems:"center"}},o.a.createElement("span",{style:{display:"flex",marginRight:"5px",width:"14px",height:"14px",background:"#44D7B6"}}),"\u961F\u4F0D\u6570\uFF08\u961F\u4F0D\u5982\u679C\u8DE8\u533A\uFF0C\u5219\u8BE5\u961F\u4F0D\u5728\u5404\u81EA\u533A\u57DF\u961F\u4F0D\u6570\u90FD\u52A01\uFF09")))))},S=Object(Wt.a)(function(p){var L=p.competitions,x=p.loading,j=p.globalSetting,b=p.user;return{competitions:L,globalSetting:j,loading:x.models.competitions,user:b}})(_t);function Z(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Z=function(){return p};var p={},L=Object.prototype,x=L.hasOwnProperty,j=typeof Symbol=="function"?Symbol:{},b=j.iterator||"@@iterator",$=j.asyncIterator||"@@asyncIterator",Y=j.toStringTag||"@@toStringTag";function E(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{E({},"")}catch(e){E=function(n,r,a){return n[r]=a}}function pt(e,t,n,r){var a=t&&t.prototype instanceof k?t:k,i=Object.create(a.prototype),d=new G(r||[]);return i._invoke=function(D,A,l){var m="suspendedStart";return function(w,gt){if(m==="executing")throw new Error("Generator is already running");if(m==="completed"){if(w==="throw")throw gt;return tt()}for(l.method=w,l.arg=gt;;){var B=l.delegate;if(B){var I=F(B,l);if(I){if(I===v)continue;return I}}if(l.method==="next")l.sent=l._sent=l.arg;else if(l.method==="throw"){if(m==="suspendedStart")throw m="completed",l.arg;l.dispatchException(l.arg)}else l.method==="return"&&l.abrupt("return",l.arg);m="executing";var C=st(D,A,l);if(C.type==="normal"){if(m=l.done?"completed":"suspendedYield",C.arg===v)continue;return{value:C.arg,done:l.done}}C.type==="throw"&&(m="completed",l.method="throw",l.arg=C.arg)}}}(e,n,d),i}function st(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}p.wrap=pt;var v={};function k(){}function X(){}function U(){}var K={};E(K,b,function(){return this});var lt=Object.getPrototypeOf,J=lt&&lt(lt(Q([])));J&&J!==L&&x.call(J,b)&&(K=J);var M=U.prototype=k.prototype=Object.create(K);function q(e){["next","throw","return"].forEach(function(t){E(e,t,function(n){return this._invoke(t,n)})})}function _(e,t){function n(a,i,d,D){var A=st(e[a],e,i);if(A.type!=="throw"){var l=A.arg,m=l.value;return m&&typeof m=="object"&&x.call(m,"__await")?t.resolve(m.__await).then(function(w){n("next",w,d,D)},function(w){n("throw",w,d,D)}):t.resolve(m).then(function(w){l.value=w,d(l)},function(w){return n("throw",w,d,D)})}D(A.arg)}var r;this._invoke=function(a,i){function d(){return new t(function(D,A){n(a,i,D,A)})}return r=r?r.then(d,d):d()}}function F(e,t){var n=e.iterator[t.method];if(n===void 0){if(t.delegate=null,t.method==="throw"){if(e.iterator.return&&(t.method="return",t.arg=void 0,F(e,t),t.method==="throw"))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var r=st(n,e.iterator,t.arg);if(r.type==="throw")return t.method="throw",t.arg=r.arg,t.delegate=null,v;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,t.method!=="return"&&(t.method="next",t.arg=void 0),t.delegate=null,v):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function G(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function Q(e){if(e){var t=e[b];if(t)return t.call(e);if(typeof e.next=="function")return e;if(!isNaN(e.length)){var n=-1,r=function a(){for(;++n<e.length;)if(x.call(e,n))return a.value=e[n],a.done=!1,a;return a.value=void 0,a.done=!0,a};return r.next=r}}return{next:tt}}function tt(){return{value:void 0,done:!0}}return X.prototype=U,E(M,"constructor",U),E(U,"constructor",X),X.displayName=E(U,Y,"GeneratorFunction"),p.isGeneratorFunction=function(e){var t=typeof e=="function"&&e.constructor;return!!t&&(t===X||(t.displayName||t.name)==="GeneratorFunction")},p.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,U):(e.__proto__=U,E(e,Y,"GeneratorFunction")),e.prototype=Object.create(M),e},p.awrap=function(e){return{__await:e}},q(_.prototype),E(_.prototype,$,function(){return this}),p.AsyncIterator=_,p.async=function(e,t,n,r,a){a===void 0&&(a=Promise);var i=new _(pt(e,t,n,r),a);return p.isGeneratorFunction(t)?i:i.next().then(function(d){return d.done?d.value:i.next()})},q(M),E(M,Y,"Generator"),E(M,b,function(){return this}),E(M,"toString",function(){return"[object Generator]"}),p.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function r(){for(;t.length;){var a=t.pop();if(a in e)return r.value=a,r.done=!1,r}return r.done=!0,r}},p.values=Q,G.prototype={constructor:G,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!t)for(var n in this)n.charAt(0)==="t"&&x.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if(t.type==="throw")throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(l,m){return d.type="throw",d.arg=t,n.next=l,m&&(n.method="next",n.arg=void 0),!!m}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],d=i.completion;if(i.tryLoc==="root")return r("end");if(i.tryLoc<=this.prev){var D=x.call(i,"catchLoc"),A=x.call(i,"finallyLoc");if(D&&A){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(D){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!A)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&x.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&(t==="break"||t==="continue")&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var d=i?i.completion:{};return d.type=t,d.arg=n,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(d)},complete:function(t,n){if(t.type==="throw")throw t.arg;return t.type==="break"||t.type==="continue"?this.next=t.arg:t.type==="return"?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):t.type==="normal"&&n&&(this.next=n),v},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),v}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var a=r.completion;if(a.type==="throw"){var i=a.arg;R(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:Q(t),resultName:n,nextLoc:r},this.method==="next"&&(this.arg=void 0),v}},p}var vt=Mt.a.TabPane,oe=At.a.Group,ee=function(L){var x=L.competitions,j=L.globalSetting,b=L.loading,$=L.dispatch,Y=L.user,E=Object(Ct.a)(L,["competitions","globalSetting","loading","dispatch","user"]),pt=Object(Bt.l)(),st=Object(et.useState)(""),v=Object(dt.a)(st,2),k=v[0],X=v[1],U=Object(et.useState)([]),K=Object(dt.a)(U,2),lt=K[0],J=K[1],M=Object(et.useState)(),q=Object(dt.a)(M,2),_=q[0],F=q[1];return o.a.createElement("section",null,o.a.createElement("aside",{className:"edu-container minH500"},o.a.createElement("div",{style:{height:"96px",marginTop:"30px",background:"#fff",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0px 20px"}},o.a.createElement(Pt.a.Group,{style:{textAlign:"center"},value:k,onChange:function(){var f=Object(Et.a)(Z().mark(function R(G){return Z().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:X(G.target.value);case 1:case"end":return tt.stop()}},R)}));return function(R){return f.apply(this,arguments)}}(),defaultValue:"",optionType:"button",size:"large",buttonStyle:"solid"},o.a.createElement(Pt.a.Button,{style:{width:"100px",borderRadius:"5px 0px 0px 5px"},value:""},"\u5168\u90E8"),o.a.createElement(Pt.a.Button,{style:{width:"100px"},value:"progressing"},"\u8FDB\u884C\u4E2D\u7684"),o.a.createElement(Pt.a.Button,{style:{width:"100px",borderRadius:"0px 5px 5px 0px"},value:"ended"},"\u5F80\u671F\u6BD4\u8D5B")),o.a.createElement(bt.a.Search,{style:{width:"300px"},size:"large",onChange:function(R){R.target.value||F(R.target.value)},onSearch:function(R,G){F(R)},onPressEnter:function(R){F(R.target.value)},enterButton:"\u641C\u7D22",loading:!1})),k===""&&o.a.createElement(S,{type:k,keyword:_}),k==="progressing"&&o.a.createElement(S,{type:k,keyword:_}),k==="ended"&&o.a.createElement(S,{type:k,keyword:_})))},Kt=Object(Wt.a)(function(p){var L=p.competitions,x=p.loading,j=p.globalSetting,b=p.user;return{competitions:L,globalSetting:j,loading:x.models.competitions,user:b}})(ee);function xt(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */xt=function(){return p};var p={},L=Object.prototype,x=L.hasOwnProperty,j=typeof Symbol=="function"?Symbol:{},b=j.iterator||"@@iterator",$=j.asyncIterator||"@@asyncIterator",Y=j.toStringTag||"@@toStringTag";function E(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{E({},"")}catch(e){E=function(n,r,a){return n[r]=a}}function pt(e,t,n,r){var a=t&&t.prototype instanceof k?t:k,i=Object.create(a.prototype),d=new G(r||[]);return i._invoke=function(D,A,l){var m="suspendedStart";return function(w,gt){if(m==="executing")throw new Error("Generator is already running");if(m==="completed"){if(w==="throw")throw gt;return tt()}for(l.method=w,l.arg=gt;;){var B=l.delegate;if(B){var I=F(B,l);if(I){if(I===v)continue;return I}}if(l.method==="next")l.sent=l._sent=l.arg;else if(l.method==="throw"){if(m==="suspendedStart")throw m="completed",l.arg;l.dispatchException(l.arg)}else l.method==="return"&&l.abrupt("return",l.arg);m="executing";var C=st(D,A,l);if(C.type==="normal"){if(m=l.done?"completed":"suspendedYield",C.arg===v)continue;return{value:C.arg,done:l.done}}C.type==="throw"&&(m="completed",l.method="throw",l.arg=C.arg)}}}(e,n,d),i}function st(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}p.wrap=pt;var v={};function k(){}function X(){}function U(){}var K={};E(K,b,function(){return this});var lt=Object.getPrototypeOf,J=lt&&lt(lt(Q([])));J&&J!==L&&x.call(J,b)&&(K=J);var M=U.prototype=k.prototype=Object.create(K);function q(e){["next","throw","return"].forEach(function(t){E(e,t,function(n){return this._invoke(t,n)})})}function _(e,t){function n(a,i,d,D){var A=st(e[a],e,i);if(A.type!=="throw"){var l=A.arg,m=l.value;return m&&typeof m=="object"&&x.call(m,"__await")?t.resolve(m.__await).then(function(w){n("next",w,d,D)},function(w){n("throw",w,d,D)}):t.resolve(m).then(function(w){l.value=w,d(l)},function(w){return n("throw",w,d,D)})}D(A.arg)}var r;this._invoke=function(a,i){function d(){return new t(function(D,A){n(a,i,D,A)})}return r=r?r.then(d,d):d()}}function F(e,t){var n=e.iterator[t.method];if(n===void 0){if(t.delegate=null,t.method==="throw"){if(e.iterator.return&&(t.method="return",t.arg=void 0,F(e,t),t.method==="throw"))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var r=st(n,e.iterator,t.arg);if(r.type==="throw")return t.method="throw",t.arg=r.arg,t.delegate=null,v;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,t.method!=="return"&&(t.method="next",t.arg=void 0),t.delegate=null,v):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function G(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function Q(e){if(e){var t=e[b];if(t)return t.call(e);if(typeof e.next=="function")return e;if(!isNaN(e.length)){var n=-1,r=function a(){for(;++n<e.length;)if(x.call(e,n))return a.value=e[n],a.done=!1,a;return a.value=void 0,a.done=!0,a};return r.next=r}}return{next:tt}}function tt(){return{value:void 0,done:!0}}return X.prototype=U,E(M,"constructor",U),E(U,"constructor",X),X.displayName=E(U,Y,"GeneratorFunction"),p.isGeneratorFunction=function(e){var t=typeof e=="function"&&e.constructor;return!!t&&(t===X||(t.displayName||t.name)==="GeneratorFunction")},p.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,U):(e.__proto__=U,E(e,Y,"GeneratorFunction")),e.prototype=Object.create(M),e},p.awrap=function(e){return{__await:e}},q(_.prototype),E(_.prototype,$,function(){return this}),p.AsyncIterator=_,p.async=function(e,t,n,r,a){a===void 0&&(a=Promise);var i=new _(pt(e,t,n,r),a);return p.isGeneratorFunction(t)?i:i.next().then(function(d){return d.done?d.value:i.next()})},q(M),E(M,Y,"Generator"),E(M,b,function(){return this}),E(M,"toString",function(){return"[object Generator]"}),p.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function r(){for(;t.length;){var a=t.pop();if(a in e)return r.value=a,r.done=!1,r}return r.done=!0,r}},p.values=Q,G.prototype={constructor:G,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!t)for(var n in this)n.charAt(0)==="t"&&x.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if(t.type==="throw")throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(l,m){return d.type="throw",d.arg=t,n.next=l,m&&(n.method="next",n.arg=void 0),!!m}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],d=i.completion;if(i.tryLoc==="root")return r("end");if(i.tryLoc<=this.prev){var D=x.call(i,"catchLoc"),A=x.call(i,"finallyLoc");if(D&&A){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(D){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!A)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&x.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&(t==="break"||t==="continue")&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var d=i?i.completion:{};return d.type=t,d.arg=n,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(d)},complete:function(t,n){if(t.type==="throw")throw t.arg;return t.type==="break"||t.type==="continue"?this.next=t.arg:t.type==="return"?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):t.type==="normal"&&n&&(this.next=n),v},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),v}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var a=r.completion;if(a.type==="throw"){var i=a.arg;R(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:Q(t),resultName:n,nextLoc:r},this.method==="next"&&(this.arg=void 0),v}},p}var ne=Mt.a.TabPane,ie=function(L){var x,j,b=L.competitions,$=L.globalSetting,Y=L.loading,E=L.dispatch,pt=L.user,st=Object(Ct.a)(L,["competitions","globalSetting","loading","dispatch","user"]),v=Object(Bt.l)(),k=Object(et.useState)(!1),X=Object(dt.a)(k,2),U=X[0],K=X[1];console.log(v),Object(et.useEffect)(function(){return E({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),function(){E({type:"globalSetting/onlyShowBackTopToggle",payload:!0})}},[]),Object(et.useEffect)(function(){E({type:"competitions/getList",payload:Object(Lt.a)({},b.listParams)})},[b.name]);var lt=function(f,R){document.body.scrollIntoView(),b.listParams.page=f,E({type:"competitions/getList",payload:Object(Lt.a)(Object(Lt.a)({},b.listParams),{},{edu:v.query.edu})})};function J(F){F.stopPropagation()}function M(F,f,R){return q.apply(this,arguments)}function q(){return q=Object(Et.a)(xt().mark(function F(f,R,G){var Q,tt,e;return xt().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(f.stopPropagation(),Object(O.e)(E)){n.next=3;break}return n.abrupt("return");case 3:if(!((R==null?void 0:R.is_authentication)&&!(pt==null||((Q=pt.userInfo)===null||Q===void 0)?void 0:Q.authentication))){n.next=6;break}return E({type:"shixunsDetail/setActionTabs",payload:{key:"Banner-Auth"}}),n.abrupt("return");case 6:if(!(G==="ismodel")){n.next=20;break}if(!(R.member_of_course===!0)){n.next=11;break}Object(it.I)("/classrooms/".concat(R.course_id)),n.next=18;break;case 11:if(R.invite_code){n.next=14;break}return yt.b.info("\u672C\u7ADE\u8D5B\u53EA\u9762\u5411\u90E8\u5206\u5B66\u6821/\u5355\u4F4D\u5F00\u653E\uFF0C\u4F60\u6682\u65F6\u6CA1\u6709\u53C2\u8D5B\u8D44\u683C"),n.abrupt("return");case 14:return n.next=16,E({type:"competitions/addApplytojoincourse",payload:{invite_code:R.invite_code,student:1}});case 16:tt=n.sent,tt.statue===0&&Object(it.I)("/classrooms/".concat(R.course_id));case 18:n.next=34;break;case 20:if(!(G==="personal")){n.next=33;break}if(!(R.enroll_ended===!0)){n.next=24;break}return yt.b.info("\u62A5\u540D\u5DF2\u622A\u6B62"),n.abrupt("return");case 24:if(!(R.enrolled===!0)){n.next=27;break}return yt.b.info("\u4F60\u5DF2\u7ECF\u62A5\u540D,\u4E0D\u80FD\u91CD\u590D\u62A5\u540D\uFF01"),n.abrupt("return");case 27:return n.next=29,E({type:"competitions/competitionTeams",payload:{identifier:R.identifier}});case 29:e=n.sent,e.statue===0&&yt.b.info("\u62A5\u540D\u6210\u529F,\u9884\u795D\u60A8\u593A\u5F97\u6842\u51A0!"),n.next=34;break;case 33:Object(it.I)(G);case 34:case"end":return n.stop()}},F)})),q.apply(this,arguments)}function _(F){Object(it.I)(F)}return o.a.createElement("section",{className:ot.a.bg},o.a.createElement("aside",{className:ot.a.banner},o.a.createElement("img",{src:($==null||((x=$.setting)===null||x===void 0)?void 0:x.competition_banner_url)?"".concat(N.a.IMG_SERVER,"/")+($==null||((j=$.setting)===null||j===void 0)?void 0:j.competition_banner_url):"".concat(N.a.IMG_SERVER,"/images/educoder/competitions/courses.jpg"),alt:""})),o.a.createElement("section",{className:"bg-white",style:{height:"50px"}},o.a.createElement("aside",{className:"edu-container"},o.a.createElement(Mt.a,{defaultActiveKey:"",className:ot.a.tabs,tabBarStyle:{color:"#000000"},tabBarExtraContent:o.a.createElement(bt.a.Search,{placeholder:"\u8F93\u5165\u8003\u8BD5\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onSearch:function(f){b.listParams.keyword=f,E({type:"competitions/getList",payload:Object(Lt.a)(Object(Lt.a)({},b.listParams),{},{edu:v.query.edu})})}}),onChange:function(f){f==="statistics"?K(!0):K(!1),b.listParams.page=1,b.listParams.category=f,b.listParams.page=1,E({type:"competitions/getList",payload:Object(Lt.a)({},b.listParams)})}},o.a.createElement(ne,{tab:"\u5168\u90E8",key:""}),o.a.createElement(ne,{tab:"\u5373\u5C06\u53D1\u5E03",key:"nearly_published"}),o.a.createElement(ne,{tab:"\u8FDB\u884C\u4E2D",key:"progressing"}),o.a.createElement(ne,{tab:"\u5F80\u671F\u8003\u8BD5",key:"ended"})))),!U&&o.a.createElement("div",null,b.count===0&&o.a.createElement(z.a,null),o.a.createElement("aside",{className:"edu-container minH500"},o.a.createElement(Ot.a,{loading:Y,active:!0,avatar:{size:40},paragraph:{rows:5}},b.competitions&&o.a.createElement(rt.b,{itemLayout:"vertical",size:"large",dataSource:b.competitions,style:{paddingTop:10},renderItem:function(f,R){return o.a.createElement("div",{className:ot.a.CompetitionsList},f.competition_status==="nearly_published"?f.permission.editable==!0?"":o.a.createElement("div",{className:ot.a.CompetitionsListzhezhao},"\u5373\u5C06\u53D1\u5E03 \u656C\u8BF7\u671F\u5F85"):"",o.a.createElement(rt.b.Item,{onClick:function(){return _(f.competition_status==="ended"?"/competitions/index/".concat(f.identifier):f.competition_status==="nearly_published"?f.permission.editable==!0?"/competitions/index/".concat(f.identifier):null:f.competition_status==="progressing"?"/competitions/index/".concat(f.identifier):null)},className:ot.a.shadow,key:R},o.a.createElement(rt.b.Item.Meta,{style:{marginBottom:"0px"},avatar:o.a.createElement("div",{className:ot.a.divimg},o.a.createElement("img",{src:f&&f.image?"".concat(N.a.IMG_SERVER,"/")+f.image:u("Xsq0")})),title:o.a.createElement("p",{style:{alignItems:"center",display:"flex"}},o.a.createElement("a",{className:ot.a.task_hide},f.name,f.sub_title?"\u2014\u2014".concat(f.sub_title):""),f.competition_status&&f.competition_status==="nearly_published"?o.a.createElement("span",{className:ot.a.Comingtext},"\u5373\u5C06\u53D1\u5E03"):"",f.competition_status&&f.competition_status==="progressing"?o.a.createElement("span",{className:ot.a.havetext},"\u8FDB\u884C\u4E2D"):"",f.competition_status&&f.competition_status==="ended"?o.a.createElement("span",{className:ot.a.Finishedtext},"\u5DF2\u7ED3\u675F"):""),description:o.a.createElement("div",null,o.a.createElement("p",{className:ot.a.task_hide_2,style:{height:"43px",fontSize:"14px",color:"#666666"}},f.description?f.description:"\u6682\u65E0\u7B80\u4ECB~"),o.a.createElement("p",{style:{marginTop:"12px",fontSize:"12px",color:"#888888"}},o.a.createElement("span",null,"\u8003\u8BD5\u65F6\u95F4: ",f.start_time,"\uFF5E",f.end_time),o.a.createElement("span",{style:{marginLeft:"20px"}},"\u8003\u8BD5\u9884\u7EA6\u622A\u6B62\u65F6\u95F4\uFF1A",f&&f.enroll_end_time?f.enroll_end_time:"\u6682\u65E0")))}),o.a.createElement("div",{style:{width:"20%",alignItems:"flex-end",display:"flex",flexDirection:"column",justifyContent:"space-around"}},o.a.createElement("div",{style:{textAlign:"right"}},o.a.createElement("p",{style:{fontSize:"28px",color:"#1890FF",visibility:f&&f.bonus?"visible":"hidden",marginBottom:"0px"}},o.a.createElement("span",{style:{fontSize:"20px"}},"\xA5"),parseInt(f.bonus).toLocaleString()),o.a.createElement("p",{style:{color:"#BBBBBB",fontSize:"14px"}},"\u9884\u7EA6\u6210\u529F\uFF1A",f.competition_status==="nearly_published"?"0":f.passed_verify_num)))))}})),o.a.createElement(H.a,null),o.a.createElement("aside",{className:"tc mb50 mt20"},o.a.createElement(jt.a,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:lt,defaultPageSize:20,current:b.listParams.page,defaultCurrent:b.listParams.page,total:b.count})))),U&&o.a.createElement(Kt,null))},ue=V.default=Object(Wt.a)(function(p){var L=p.competitions,x=p.loading,j=p.globalSetting,b=p.user;return{competitions:L,globalSetting:j,loading:x.models.competitions,user:b}})(ie)},WdTA:function(nt,V,u){nt.exports=u.p+"static/studnetqun.a5754d96.png"},Xsq0:function(nt,V,u){nt.exports=u.p+"static/mainbanner.0a951716.jpg"},mOS8:function(nt,V,u){nt.exports=u.p+"static/403Qrcode.6c17b6f4.png"},zrhs:function(nt,V,u){"use strict";var zt=u("2qtc"),yt=u("kLXV"),Dt=u("SIvP"),jt=u("q1tI"),ht=u.n(jt),Ot=u("9kvl"),T=function(at){var bt=at.shixunsDetail,Et=at.globalSetting,Lt=at.loading,dt=at.dispatch,Ct=Object(Dt.a)(at,["shixunsDetail","globalSetting","loading","dispatch"]);return ht.a.createElement(yt.a,{centered:!0,keyboard:!1,closable:!1,zIndex:6666,title:"\u63D0\u793A",visible:bt.actionTabs.key==="Banner-Auth",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:function(){dt({type:"shixunsDetail/setActionTabs",payload:{}}),window.location.href="/account/certification"},onCancel:function(){dt({type:"shixunsDetail/setActionTabs",payload:{}})}},ht.a.createElement("p",{className:"tc font16"},"\u5F53\u524D\u7ADE\u8D5B\u9700\u8981\u5B9E\u540D\u8BA4\u8BC1\uFF0C\u8BF7\u5148\u5B8C\u6210\u5B9E\u540D\u8BA4\u8BC1\u540E\u518D\u62A5\u540D\u53C2\u8D5B",ht.a.createElement("br",null),"\u8BF7\u95EE\u662F\u5426\u524D\u5F80\u8FDB\u884C\u8BA4\u8BC1\uFF1F"))};V.a=Object(Ot.a)(function(rt){var at=rt.shixunsDetail,bt=rt.loading,Et=rt.globalSetting;return{shixunsDetail:at,globalSetting:Et,loading:bt.models.index}})(T)}}]);