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__Innovation__Detail__inde...

1 line
135 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[83141,90963],{74516:function(e,n,t){t.d(n,{Z:function(){return l}});var i=t(1565),s=t(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},r=t(68475),o=function(e,n){return s.createElement(r.Z,(0,i.Z)({},e,{ref:n,icon:a}))};var l=s.forwardRef(o)},17011:function(e,n,t){t.d(n,{Z:function(){return l}});var i=t(1565),s=t(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm336 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm192-552a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"fork",theme:"outlined"},r=t(68475),o=function(e,n){return s.createElement(r.Z,(0,i.Z)({},e,{ref:n,icon:a}))};var l=s.forwardRef(o)},7406:function(e,n,t){var i=t(82242),s=t.n(i),a=(t(59301),t(93314)),r=t(3113),o=t(37712);n.Z=function(e){var n=e.img,t=e.buttonProps,i=void 0===t?{}:t,l=e.styles,c=void 0===l?{}:l,u=e.customText,d=e.ButtonText,p=e.ButtonClick,h=e.Buttonclass,x=e.ButtonTwo,f=e.imgStyles,m=e.loading,v=void 0!==m&&m;return(0,o.jsxs)("section",{className:"tc animated fadeIn",style:s()(s()({},{color:"#999",margin:"100px auto",visibility:v?"hidden":"visible"}),c),children:[(0,o.jsx)("img",{src:n||a,style:s()(s()({},f),{},{pointerEvents:"none",userSelect:"none"})}),(0,o.jsx)("p",{className:"mt20 font14",children:u||"暂时还没有相关数据哦!"}),d&&(0,o.jsx)(r.ZP,s()(s()({className:h,onClick:p},i),{},{children:d})),x&&x]})}},84143:function(e,n,t){t.d(n,{Z:function(){return w}});var i=t(82242),s=t.n(i),a=t(7557),r=t.n(a),o=t(41498),l=t.n(o),c=t(79800),u=t.n(c),d=t(59301),p={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},h=t(3113),x=t(74516),f=t(94049),m=t(6848),v=t(6457),g=t(83),j=t(7406),_=t(27065),y=t(6288),b=t(37712),w=function(e){var n,t,i,a,o,c,w=e.editOffice,N=void 0===w?"view":w,A=e.data,Z=(e.theme,e.type),k=e.filename,S=e.monacoEditor,C=e.className,D=e.style,F=e.close,P=e.onClose,B=e.hasMask,I=e.disabledDownload,R=e.onImgDimensions,T=e.showNodata,O=e.recordInfo,M=(0,d.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),E=u()(M,2),H=(E[0],E[1],(0,d.useState)("")),L=u()(H,2),z=(L[0],L[1]),W=(0,d.useState)(),U=u()(W,2),Q=U[0],V=U[1],G="build"===window.ENV?"/react/build":"",J=location.host.startsWith("localhost")?_.Z.PROXY_SERVER:_.Z.API_SERVER,q=(0,d.useRef)();null!==(n=A)&&void 0!==n&&n.startsWith("/api")&&"txt"!==Z&&(A=_.Z.API_SERVER+A);k&&(S.filename=k),(0,d.useEffect)((function(){var e,n=null===(e=document.cookie)||void 0===e||null===(e=e.replace(/\s/g,""))||void 0===e?void 0:e.split(";");null==n||n.map((function(e){var n=e.split("=");"_educoder_session"===n[0]&&z(n[1])}))}),[]),(0,d.useEffect)((function(){var e;"office"===Z&&(A.indexOf("bigfilescdn.")>-1||A.indexOf("bigfiles1")>-1?V({url:A,fileType:(e=A,e.substring(e.lastIndexOf("/")+1).split(".").pop()),model:A.indexOf("model=edit")?"edit":"view"}):K())}),[Z,A]);var K=function(){var e=l()(r()().mark((function e(){var n,t,i;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("data:",A),n=A,A.startsWith("http")||(n=location.origin+n),t=new URL(n).pathname.split("/").pop(),e.next=6,(0,g.gJ)({attachment_id:t});case 6:(i=e.sent).url=J+i.url,V(i);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),X=function(){A.startsWith("http")||A.startsWith("blob:")?Y():(0,v.Sv)(k||"educoder",A,k)},Y=function(){O&&(0,y.fc)({id:null==O?void 0:O.id,watch_type:1,course_id:null==O?void 0:O.course_id}),(0,v.Nd)(k||"educoder",decodeURIComponent(A))};return(0,b.jsxs)("div",{style:s()({},D||{}),className:"".concat(B&&p.bgBlack," ").concat(Z?p.wrp:"hide"),children:[F&&(0,b.jsxs)("div",{className:p.close,ref:q,children:[!!R&&(0,b.jsx)(m.Z,{title:"点击对图片进行批注",getPopupContainer:function(){return q.current},children:(0,b.jsx)("span",{onClick:function(){P(),R()},children:(0,b.jsx)("i",{className:"icon-yulanpizhu"})})}),!I&&(0,b.jsx)(m.Z,{title:"点击下载此文件",getPopupContainer:function(){return q.current},children:(0,b.jsx)("span",{onClick:Y,children:(0,b.jsx)("i",{className:"icon-quxiaozhiding"})})}),(0,b.jsx)(m.Z,{title:"关闭",getPopupContainer:function(){return q.current},children:(0,b.jsx)("span",{className:"",onClick:P,children:(0,b.jsx)("i",{className:"icon-guanbi1"})})})]}),(0,b.jsx)("div",{className:"".concat(p[C]," ").concat(C," ").concat(p.monaco," ").concat("txt"===Z?"show":"hide"),children:"txt"===Z&&(0,b.jsx)(b.Fragment,{children:(0,b.jsx)(f.ZP,s()({},S))})}),"audio"===Z&&(0,b.jsx)("audio",{src:"".concat((null===(t=A)||void 0===t?void 0:t.indexOf("http://"))>-1||(null===(i=A)||void 0===i?void 0:i.indexOf("https://"))>-1?"":"data:audio/mp3;base64,").concat(A),autoPlay:!0}),"video"===Z&&(0,b.jsx)(b.Fragment,{children:(null===(a=A)||void 0===a?void 0:a.indexOf("http"))>-1?(0,b.jsx)("video",{controls:!0,src:"".concat(A),autoPlay:!0}):(0,b.jsx)("video",{controls:!0,src:"data:video/mp4;base64,".concat(A),autoPlay:!0})}),"office"===Z&&Q&&(0,b.jsx)("iframe",{src:"".concat(G,"/office.html?key=").concat(Q.key,"&url=").concat(btoa(Q.url),"&callbackUrl=").concat(J+Q.callbackUrl,"&fileType=").concat(Q.fileType,"&title=").concat(Q.title,"&model=").concat(N,"&officeServer=").concat(_.Z.ONLYOFFICE,"&disabledDownload=").concat(!!I)}),"html"===Z&&(0,b.jsx)("iframe",{src:A+"&disposition=inline"}),"pdf"===Z&&(0,b.jsx)("iframe",{src:"".concat(G,"/js/pdfview/index.html?url=").concat(A,"&disabledDownload=").concat(!!I)}),"image"===Z&&(0,b.jsx)("img",{src:"".concat((null===(o=A)||void 0===o?void 0:o.indexOf("http://"))>-1||(null===(c=A)||void 0===c?void 0:c.indexOf("https://"))>-1?"":"data:image/png;base64,").concat(A)}),("other"===Z||"download"===Z)&&(0,b.jsx)(b.Fragment,{children:T?(0,b.jsx)(j.Z,{customText:"当前文件不支持预览,可点击下载查看",ButtonTwo:(0,b.jsx)(h.ZP,{icon:(0,b.jsx)("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:X,children:"下载"})}):(0,b.jsxs)(h.ZP,{type:"primary",size:"middle",onClick:X,children:[(0,b.jsx)(x.Z,{}),"点击下载"]})})]})}},68104:function(e,n,t){var i=t(7557),s=t.n(i),a=t(37205),r=t.n(a),o=t(41498),l=t.n(o),c=t(79800),u=t.n(c),d=t(82242),p=t.n(d),h=t(59301),x=t(78241),f=t(95237),m=t(57809),v=t(98135),g=t(88522),j=t(3113),_=t(24905),y=t(6848),b=t(8591),w=t(14491),N=t(7880),A=t(99232),Z=t.n(A),k=t(26724),S=t.n(k),C=t(58143),D=t(69363),F=t(90963),P=t(14661),B=t(37712),I=[];function R(e){var n=e.onSearch,t=e.schools;return(0,B.jsx)(x.Z,{colon:!1,layout:"horizontal",onFinish:n,initialValues:{keyword:"",school_name:"",search_type:"1"},children:(0,B.jsxs)(f.Z,{style:{flexWrap:"nowrap"},children:[(0,B.jsx)(x.Z.Item,{name:"search_type",label:"搜索类型",children:(0,B.jsxs)(m.default,{popupClassName:P.Z.selectdown,style:{width:106},children:[(0,B.jsx)(m.default.Option,{value:"1",children:"姓名"}),(0,B.jsx)(m.default.Option,{value:"2",children:"手机号"}),(0,B.jsx)(m.default.Option,{value:"3",children:"邮箱"})]})}),(0,B.jsx)(x.Z.Item,{style:{marginLeft:20},label:"搜索内容",name:"keyword",rules:[{required:!0,message:"请输入搜索内容"}],children:(0,B.jsx)(v.Z,{allowClear:!0,style:{width:300},size:"middle"})}),(0,B.jsx)(x.Z.Item,{style:{marginLeft:20},label:"单位",name:"school_name",children:(0,B.jsx)(g.Z,{options:t,style:{width:300},size:"middle",showSearch:!0,filterOption:function(e,n){return-1!==n.value.toUpperCase().indexOf(e.toUpperCase())},placeholder:"请输入单位名称"})}),(0,B.jsx)(j.ZP,{type:"primary",style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:16,color:"#165DFF",marginLeft:40,border:"1px solid #BACFFE"},htmlType:"submit",children:"搜索"})]})})}var T=function(e){return e[e.INITDATA=0]="INITDATA",e[e.INITSCHOOLS=1]="INITSCHOOLS",e[e.SHOWLOADING=2]="SHOWLOADING",e[e.SELECTEDIDS=3]="SELECTEDIDS",e[e.SETQUERY=4]="SETQUERY",e[e.SETPAGE=5]="SETPAGE",e}(T||{});function O(e,n){switch(n.type){case T.INITDATA:case T.SETQUERY:return p()(p()({},e),n.payload);case T.SETPAGE:return p()(p()({},e),{},{page:n.payload,reload:!1});case T.SHOWLOADING:return p()(p()({},e),{},{loading:n.payload});case T.INITSCHOOLS:return p()(p()({},e),{},{schools:n.payload});case T.SELECTEDIDS:return p()(p()({},e),{},{selectedIds:n.payload});default:throw new Error}}var M={data:[],schools:[],loading:!1,selectedIds:[],query:null,page:1,count:0,reload:!1};n.Z=function(e){var n=e.onSelect,t=e.onCancel,i=e.container_id,a=e.container_type,o=(0,h.useReducer)(O,M),c=u()(o,2),d=c[0],x=c[1],f=d.data,m=d.schools,v=d.loading,g=d.selectedIds,A=d.page,k=d.count,P=d.query,E=d.reload;(0,h.useEffect)((function(){function e(){return(e=l()(s()().mark((function e(){var n,t,o;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,D.nQ)(p()(p()({},P),{},{page:A,container_type:a,container_id:i}));case 2:n=e.sent,t=n.users,o=n.user_count,x({type:T.INITDATA,payload:{data:E?t:[].concat(r()(f),r()(t)),count:o}});case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}P&&function(){e.apply(this,arguments)}()}),[A,P,E,i,a]),(0,h.useEffect)((function(){function e(){return(e=l()(s()().mark((function e(){var n,t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,D.K$)({});case 2:n=e.sent,t=n.school_names,x({type:T.INITSCHOOLS,payload:t.map((function(e){return{value:e}}))});case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var H=[{title:"",dataIndex:"added",width:40,ellipsis:!0,render:function(e,n){return(0,B.jsx)(_.Z,{value:n.numid,checked:g.includes(n.numid),disabled:!!e})}},{title:"姓名",width:100,ellipsis:!0,align:"left",dataIndex:"username",render:function(e,n){return(0,B.jsx)("div",{children:(0,B.jsx)(y.Z,{placement:"bottom",title:e,children:(0,B.jsx)(N.Link,{style:{color:"#000000"},className:"bold c-black",to:"/users/".concat(n.login),target:"_blank",children:e||"--"})})})}},{title:"手机",width:100,dataIndex:"phone",ellipsis:!0,render:function(e){return(0,B.jsx)(y.Z,{placement:"bottom",title:e,children:(0,B.jsx)("span",{style:{color:"#000000"},children:e||"--"})})}},{title:"邮箱",dataIndex:"email",width:100,ellipsis:!0,render:function(e){return(0,B.jsx)(y.Z,{placement:"bottom",title:e,children:(0,B.jsx)("span",{style:{color:"#000000"},children:e||"--"})})}},{title:"学号/工号",width:100,dataIndex:"student_number",ellipsis:!0,render:function(e){return(0,B.jsx)(y.Z,{placement:"bottom",title:e,children:(0,B.jsx)("span",{style:{color:"#000000"},children:e||"--"})})}},{title:"学校/单位",width:150,dataIndex:"school_name",ellipsis:!0,render:function(e){return(0,B.jsx)(y.Z,{placement:"bottom",title:e,children:(0,B.jsx)("span",{style:{color:"#000000"},children:e||"--"})})}},{title:"院系/部门",dataIndex:"depart_name",width:130,ellipsis:!0,render:function(e){return(0,B.jsx)(y.Z,{placement:"bottom",title:e,children:(0,B.jsx)("span",{style:{color:"#000000"},children:e||"--"})})}},{title:"实名认证",dataIndex:"auth",width:100,render:function(e){return(0,B.jsx)("span",{style:{color:"#000000"},children:e?"是":"否"})}},{title:"最后登录时间",dataIndex:"last_login_on",width:140,ellipsis:!0,render:function(e){return(0,B.jsx)(y.Z,{placement:"bottom",title:e,children:(0,B.jsx)("span",{style:{color:"#000000"},children:Z()(e).format("YYYY-MM-DD HH:mm")})})}},{title:"状态",dataIndex:"added",width:80,render:function(e){if(1===e)return(0,B.jsx)("span",{style:{color:"#000000"},children:"已添加"})}}];var L=k>10*A;return(0,B.jsxs)("div",{className:"select-user-container",style:{paddingBottom:20},children:[(0,B.jsx)(R,{onSearch:function(e){x({type:T.SETQUERY,payload:{page:1,reload:!0,query:e}})},schools:m}),P?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)("div",{className:"flexd-table-header mt20",children:(0,B.jsx)(F.Gi,{children:(0,B.jsx)(w.Z,{pagination:!1,dataSource:I,columns:H})})}),(0,B.jsx)("div",{style:{maxHeight:260,overflow:"auto",marginBottom:20},children:(0,B.jsx)(S(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:function(e){x({type:T.SETPAGE,payload:e})},hasMore:L,useWindow:!1,children:(0,B.jsx)(F.Gi,{children:(0,B.jsx)(w.Z,{loading:v,showHeader:!1,pagination:!1,dataSource:f,columns:H,onRow:function(e){return{onClick:function(n){var t,i;1!==e.added&&(t=e.numid,(i=g.indexOf(t))>=0?g.splice(i,1):g.push(t),x({type:T.SELECTEDIDS,payload:r()(g)}))}}}})})})}),(0,B.jsxs)("div",{className:"flex-container flex-end",children:[(0,B.jsx)(j.ZP,{type:"ghost",style:{marginRight:10,border:"1px solid #C3CFE0",color:"#464F66"},onClick:t,children:"取消"}),(0,B.jsx)(j.ZP,{style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:2,color:"#165DFF",border:"1px solid #BACFFE"},type:"primary",onClick:function(){0===g.length?b.ZP.warning("请先在下面列表中选择要添加成员"):(n(g,i),x({type:T.INITDATA,payload:{data:[],count:0,page:1,selectedIds:[],query:null,reload:!1}}))},children:"确定"})]})]}):(0,B.jsxs)("div",{className:"tc font16 c-light-black mt40 pb30",children:[(0,B.jsx)("img",{src:C,width:"100",alt:""}),(0,B.jsx)("br",{}),(0,B.jsx)("p",{className:"mt20",children:"请搜索要添加的人员"})]})]})}},37507:function(e,n,t){t.d(n,{h:function(){return v}});var i=t(82242),s=t.n(i),a=t(79800),r=t.n(a),o=t(59301),l=t(57809),c=t(78241),u=t(3113),d=t(89780),p=t.n(d),h=(t(81974),t(3693),t(37712)),x=l.default.Option,f={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 v(e){var n=e.value,t=e.onChange,i=e.mode,a=e.options,l=void 0===a?{}:a,c=(0,o.useRef)(),u=(0,o.useState)(),d=r()(u,2),x=d[0],f=d[1];return(0,o.useEffect)((function(){if(x){var e=function(e){var n=e.getValue();t&&t(n)};return x.on("change",e),function(){x.off("change",e)}}}),[x,t]),(0,o.useEffect)((function(){x&&x.setOption("mode",i)}),[x,i]),(0,o.useEffect)((function(){x&&(n===x.getValue()&&""!==n||setTimeout((function(){x.setValue(n||"")}),300))}),[x,n]),(0,o.useEffect)((function(){if(c.current&&!x){var e=p().fromTextArea(c.current,s()({mode:i,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},l));f(e)}}),[c.current,x]),(0,h.jsx)("div",{className:"my-codemirror-container",children:(0,h.jsx)("textarea",{ref:c})})}n.Z=function(e){var n=e.callback,t=e.onCancel,i=(0,o.useState)("python"),a=r()(i,2),d=a[0],p=a[1];return(0,h.jsxs)(c.Z,s()(s()({},f),{},{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:function(e){n(e)},style:{width:500},children:[(0,h.jsx)(c.Z.Item,{label:"代码语言",name:"language",children:(0,h.jsx)(l.default,{getPopupContainer:function(e){return e.parentNode},onChange:function(e){p(m[e][1])},children:Object.keys(m).map((function(e){return(0,h.jsx)(x,{value:e,children:m[e][0]},e)}))})}),(0,h.jsx)(c.Z.Item,{label:"代码内容",name:"content",rules:[{required:!0,message:"请输入代码内容"}],children:(0,h.jsx)(v,{mode:d})}),(0,h.jsxs)("div",{className:"flex-container flex-end",children:[(0,h.jsx)(u.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,h.jsx)(u.ZP,{type:"ghost",onClick:t,children:"取消"})]})]}))}},90963:function(e,n,t){t.d(n,{jL:function(){return l},w9:function(){return je},QD:function(){return $e},cQ:function(){return ve},op:function(){return Ve},O5:function(){return cn},_b:function(){return an},t7:function(){return R},Gi:function(){return we},YG:function(){return be},qp:function(){return N},vr:function(){return nn},qE:function(){return qe},Je:function(){return M},wb:function(){return ae},cq:function(){return Ie},tp:function(){return k}});var i=t(59301),s="banner___PoUBO",a="content___XoDjy",r="btns___Pb35j",o=t(37712),l=function(e){var n=e.dataSource,t=void 0===n?[]:n,i=e.img,l=e.imgWidth,c=void 0===l?346:l,u=e.title,d=e.sunTitle,p=e.bannerExtraContent;return(0,o.jsx)("div",{className:s,children:(0,o.jsxs)("div",{className:a,children:[(0,o.jsxs)("aside",{children:[(0,o.jsxs)("p",{children:[(0,o.jsx)("b",{children:u}),(0,o.jsx)("span",{children:d})]}),t.length>0&&(0,o.jsx)("div",{className:r,children:t.map((function(e,n){return(0,o.jsxs)("div",{onClick:e.click,children:[e.name,e.sign?(0,o.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9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2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",width:39}):null]},n)}))}),p]}),i&&(0,o.jsx)("img",{style:{marginTop:33,marginRight:38},src:i,width:c})]})})},c=t(79800),u=t.n(c),d="row___aXJjm",p="title___HUKL0",h="tagsWrap___XB2W3",x="action___VdHb1",f="bar___t1kKC",m="tag___V7Eft",v="name___Hk1Ip",g="num___xQpcH",j="active___XryTX",_="tagsBorderWrap___OMxjs",y=t(92310),b=t.n(y),w=t(89392),N=function(e){var n=e.dataSource,t=void 0===n?[]:n,s=e.value,a=e.onChange,r=e.onTitleChange,l=e.className,c=e.title,y=e.titleWidth,N=void 0===y?41:y,A=e.style,Z=void 0===A?{}:A,k=e.fontColor,S=void 0===k?"#6A7283":k,C=e.showCount,D=(0,i.useState)(0),F=u()(D,2),P=F[0],B=F[1],I=(0,i.useState)(!1),R=u()(I,2),T=R[0],O=R[1],M=(0,i.useRef)(null),E=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e;0!==t.length&&((null==M||null===(e=M.current)||void 0===e?void 0:e.clientHeight)>97?B(1):B(0));0===t.length&&B(0),O(!1)}),[t]),(0,o.jsxs)("div",{className:b()(d,l),style:Z,children:[(0,o.jsx)("div",{onClick:(0,w.throttle)((function(){return null==r?void 0:r()}),2e3),style:{width:N,marginTop:T?12:4},className:"".concat(p," ").concat(r?"current":""),children:c}),(0,o.jsxs)("div",{className:T?"".concat(h," ").concat(_):h,children:[(0,o.jsx)("div",{className:f,ref:E,style:P>0?{height:1===P?97:"auto",overflow:1===P?"hidden":"auto",paddingRight:55}:{paddingRight:0},children:(0,o.jsx)("div",{className:m,ref:M,children:null==t?void 0:t.map((function(e){return(0,o.jsxs)("span",{onClick:function(){return a(e.id)},style:{color:S},className:s===e.id?j:"",children:[(0,o.jsx)("span",{title:e.name,className:v,children:e.name}),!!C&&(0,o.jsx)("span",{className:g,children:e.count})]},e.id)}))})}),!!P&&(0,o.jsx)(i.Fragment,{children:1===P?(0,o.jsxs)("div",{onClick:function(){var e;B(2),(null==M||null===(e=M.current)||void 0===e?void 0:e.clientHeight)>245?O(!0):O(!1)},className:x,children:["展开",(0,o.jsx)("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})]}):(0,o.jsxs)("div",{onClick:function(){E.current.scrollTop=0,B(1),O(!1)},className:x,children:["收起",(0,o.jsx)("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})]})})]})]})},A="tabs___GTqPV",Z="active___F26E8",k=function(e){var n=e.dataSource,t=void 0===n?[]:n,i=e.value,s=e.onChange,a=e.className,r=e.style,l=void 0===r?{}:r;return(0,o.jsx)("div",{style:l,className:b()(A,a),children:t.map((function(e){return(0,o.jsx)("span",{onClick:function(){return s(e.id)},className:i===e.id?Z:"",children:e.name},e.id)}))})},S="input___PW2zI",C="dropdown___vSy8B",D="menu___NiyBu",F="text___Grueu",P="b1___ZKryM",B="b2___aKyGa",I=t(98135),R=function(e){var n,t=e.dataSource,s=void 0===t?[]:t,a=e.value,r=void 0===a?"":a,l=e.onChange,c=e.onInputChange,d=void 0===c?function(){}:c,p=e.className,h=e.style,x=void 0===h?{}:h,f=e.placeholder,m=(e.allowClear,(0,i.useState)("")),v=u()(m,2),g=v[0],j=v[1],_=(0,i.useState)(""),y=u()(_,2),w=y[0],N=y[1];(0,i.useEffect)((function(){var e,n=r;null!==(e=JSON.stringify(r))&&void 0!==e&&e.includes("{")&&(j(r.id),n=r.value||"");try{N(decodeURIComponent(n||""))}catch(e){N(decodeURIComponent(n||""))}}),[r]);var A=function(){l(encodeURIComponent(w),g||null)};return(0,o.jsxs)("div",{className:b()(S,p),style:x,children:[!!s.length&&(0,o.jsxs)("div",{className:C,children:[(0,o.jsxs)("div",{className:F,children:[null===(n=s.find((function(e){return e.id===g})))||void 0===n?void 0:n.name,(0,o.jsx)("i",{className:"iconfont icon-zhankai4"}),(0,o.jsx)("b",{className:P}),(0,o.jsx)("b",{className:B})]}),(0,o.jsx)("div",{className:D,children:s.map((function(e,n){return(0,o.jsx)("div",{onClick:function(){var n;(n=e.id)!==g&&(j(n),l(encodeURIComponent(w),n))},children:e.name},n)}))})]}),(0,o.jsx)(I.Z,{onPressEnter:A,value:w,onChange:function(e){N(e.target.value),d(encodeURIComponent(e.target.value),g||null)},bordered:!1,placeholder:f}),(0,o.jsx)("i",{onClick:A,className:"iconfont icon-sousuo9 font14 pl10 current"})]})},T="quickPager___GM30J",O="disabled___Ozc8I",M=function(e){var n=e.value,t=e.onChange,i=e.className,s=e.total,a=e.pageSize,r=e.style,l=void 0===r?{}:r,c=n<2,u=n>=Math.ceil(s/a);return s<=a?(0,o.jsx)(o.Fragment,{}):(0,o.jsxs)("div",{className:b()(T,i),style:l,children:[(0,o.jsx)("div",{onClick:function(){c||t(n-1,"prev")},className:c?O:"",children:"上一页"}),(0,o.jsx)("div",{onClick:function(){u||t(n+1,"next")},className:u?O:"",children:"下一页"})]})},E="list___oOsiS",H="wrap___G6T7F",L="lockWrap___Rl79E",z="li___oZZ7l",W="cover___b2bYW",U="img___IQX7w",Q="sign___HkT6C",V="name___SsJx8",G="e___TMqq0",J="tags___bcjyo",q="rate___YACg7",K=t(71418),X=t(6848),Y=t(97022),$=t(27065),ee=t(6457),ne=t(96908),te=t(57177),ie=t(81378),se=t(7406),ae=function(e){var n=e.className,t=e.dataSource,i=void 0===t?[]:t,s=e.col,a=void 0===s?4:s,r=e.right,l=e.bottom,c=void 0===l?23:l,u=e.precision,d=void 0===u?0:u,p=e.wrapWidth,h=void 0===p?1200:p,x=e.trackEventItems,f=e.loading,m=Math.floor((h-(a-1)*r)/a);return(0,o.jsx)(K.Z,{spinning:f,children:(0,o.jsxs)("div",{className:b()(E,n),children:[!!i.length&&i.map((function(e,n){var t=e.name,i=e.id,s=e.identifier,l=e.power,u=(e.cover_image_id,e.pic);return(0,o.jsxs)("div",{className:H,style:{width:m,marginRight:(1+n)%a==0?0:r+d,marginBottom:c},children:[(0,o.jsxs)("a",{target:"_blank",href:"/shixuns/".concat(s,"/challenges"),className:z,onClick:function(e){e.preventDefault(),x&&(0,ee.L9)([x]),l&&(0,ee.xg)("/shixuns/".concat(s,"/challenges"))},children:[(0,o.jsxs)("div",{className:U,children:[(0,o.jsx)("img",{className:W,src:"".concat(u)}),e.is_jupyter&&(0,o.jsx)("img",{className:Q,src:ne}),e.is_jupyter_lab&&(0,o.jsx)("img",{className:Q,src:te}),e.is_unity_3d&&(0,o.jsx)("img",{className:Q,src:ie})]}),(0,o.jsx)("div",{className:V,children:(0,o.jsx)(X.Z,{title:t||"实践项目名称-未填写",children:(0,o.jsx)("span",{className:G,children:t||"实践项目名称-未填写"})})}),(0,o.jsxs)("div",{className:J,children:[(0,o.jsx)(X.Z,{placement:"bottom",title:"关卡数",children:(0,o.jsxs)("span",{children:[(0,o.jsx)("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),(0,o.jsx)("span",{children:e.challenges_count})]})}),!!e.myshixuns_count&&(0,o.jsx)(X.Z,{placement:"bottom",title:"学习人数",children:(0,o.jsxs)("span",{children:[(0,o.jsx)("i",{className:"iconfont icon-chengyuan font14 mr2"}),(0,o.jsx)("span",{children:e.myshixuns_count})]})}),(0,o.jsx)(X.Z,{placement:"bottom",title:"难度等级",children:(0,o.jsx)("span",{children:(0,o.jsx)("span",{children:e.level})})}),(0,o.jsxs)("div",{className:q,children:[(0,o.jsx)(Y.Z,{allowHalf:!0,disabled:!0,defaultValue:e.score_info}),(0,o.jsxs)("span",{children:[" ",e.score_info?"".concat(e.score_info,"分"):"5分"]})]})]})]}),!l&&(0,o.jsxs)("div",{className:L,children:[(0,o.jsx)("img",{src:"".concat($.Z.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),(0,o.jsx)("span",{className:"mt15 font16 c-white",children:"定向开放内容,需要授权"})]})]},i)})),!i.length&&(0,o.jsx)(se.Z,{})]})})},re="list___jb2Ay",oe="wrap___VsQDr",le="li___IxCLC",ce="cover___Mu8wr",ue="img___IpFLA",de="bq___Bil0T",pe="sign___DXJ4d",he="name___l7FoJ",xe="e___pXQUG",fe="unit___wCIFR",me="tags___w_Mil",ve=function(e){var n=e.className,t=e.dataSource,i=void 0===t?[]:t,s=e.col,a=void 0===s?4:s,r=e.right,l=e.bottom,c=void 0===l?23:l,u=e.precision,d=void 0===u?0:u,p=e.wrapWidth,h=void 0===p?1200:p,x=e.trackEventItems,f=e.loading,m=Math.floor((h-(a-1)*r)/a),v=[{name:"推荐自学",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101计划",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"国家一流",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"省级一流",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"精品课程",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"军队一流",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"}];return(0,o.jsx)(K.Z,{spinning:f,children:(0,o.jsxs)("div",{className:b()(re,n),children:[!(null==i||!i.length)&&(null==i?void 0:i.map((function(e,n){var t,i=e.name,s=e.id,l=e.identifier,u=(e.featured,e.school_name),p=e.image_url;e.excellent,e.is_plan;return(0,o.jsx)("div",{className:oe,style:{width:m,marginRight:(1+n)%a==0?0:r+d,marginBottom:c},children:(0,o.jsxs)("a",{target:"_blank",href:"/paths/".concat(l),className:le,onClick:function(e){e.preventDefault(),x&&(0,ee.L9)([x]),(0,ee.xg)("/paths/".concat(l))},children:[(0,o.jsxs)("div",{className:ue,children:[(0,o.jsx)("img",{className:ce,src:"".concat(p)}),null==e||null===(t=e.subject_tags)||void 0===t?void 0:t.map((function(e,n){var t;if(0===n){var i,s=null===(i=v.find((function(n){return n.name==e})))||void 0===i?void 0:i.swimg;return(0,o.jsx)("img",{className:pe,src:s,style:{left:"-4px"}})}var a=null===(t=v.find((function(n){return n.name==e})))||void 0===t?void 0:t.ptimg;return(0,o.jsx)("img",{className:pe,src:a,style:{left:"".concat(48+52*(n-1)+2*n,"px")}})})),(0,o.jsx)("div",{style:{position:"absolute",top:"150px",left:"4px"},children:(null==e?void 0:e.excellent)&&(0,o.jsx)("div",{className:de,children:"开放课程"})})]}),(0,o.jsx)("div",{className:he,children:(0,o.jsx)(X.Z,{title:i,children:(0,o.jsx)("span",{className:xe,children:i})})}),(0,o.jsx)(X.Z,{title:"发布单位:".concat(u),children:(0,o.jsxs)("div",{className:fe,children:[(0,o.jsx)("i",{className:"iconfont icon-danwei1 font14 mr3"}),u]})}),(0,o.jsx)("div",{className:me,children:(0,o.jsxs)("div",{children:[(0,o.jsx)(X.Z,{placement:"bottom",title:"章节数",children:(0,o.jsxs)("span",{children:[(0,o.jsx)("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),(0,o.jsx)("span",{children:e.stages_count})]})}),(0,o.jsx)(X.Z,{placement:"bottom",title:"学习人数",children:(0,o.jsxs)("span",{children:[(0,o.jsx)("i",{className:"iconfont icon-chengyuan font14 mr3"}),(0,o.jsx)("span",{children:e.members_count})]})})]})})]})},s)}))),!i.length&&(0,o.jsx)(se.Z,{})]})})},ge={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},je=function(e){var n=e.className,t=e.dataSource,i=void 0===t?[]:t,s=e.col,a=void 0===s?4:s,r=e.right,l=e.bottom,c=void 0===l?23:l,u=e.precision,d=void 0===u?0:u,p=e.wrapWidth,h=void 0===p?1200:p,x=e.trackEventItems,f=e.loading,m=Math.floor((h-(a-1)*r)/a);return(0,o.jsx)(K.Z,{spinning:f,children:(0,o.jsxs)("div",{className:b()(ge.list,n),children:[!!i.length&&i.map((function(e,n){var t=e.subject_identifier,i=e.id,s=(e.identifier,e.power,0!=e.is_public&&e.is_public);return(0,o.jsxs)("div",{className:ge.wrap,style:{width:m,marginRight:(1+n)%a==0?0:r+d,marginBottom:c},children:[(0,o.jsxs)("a",{className:ge.li,onClick:function(n){n.preventDefault(),x&&(0,ee.L9)([x]),(0,ee.xg)(e.first_category_url)},children:[(0,o.jsxs)("div",{className:ge.top,children:[(0,o.jsx)(X.Z,{title:e.name,children:(0,o.jsx)("div",{className:ge.name,children:e.name})}),(0,o.jsx)("img",{className:ge.img,src:$.Z.IMG_SERVER+"/images/"+e.avatar_url}),(0,o.jsx)("div",{className:ge.text,title:e.creator,children:e.creator}),t&&(0,o.jsxs)("div",{className:ge.btns,children:[(0,o.jsx)("div",{children:"开放课程"}),(0,o.jsx)("aside",{children:"开放课堂"})]}),s&&(0,o.jsx)("div",{className:ge.sign,children:"公开"})]}),(0,o.jsxs)("div",{className:ge.bottom,children:[e.visits>0&&(0,o.jsx)(X.Z,{title:"访问量",placement:"bottom",children:(0,o.jsxs)("span",{children:[(0,o.jsx)("i",{className:"iconfont icon-liulanyan"}),(0,o.jsx)("span",{children:e.visits})]})}),e.course_members_count>0&&(0,o.jsx)(X.Z,{title:"成员",placement:"bottom",children:(0,o.jsxs)("span",{children:[(0,o.jsx)("i",{className:"iconfont icon-chengyuan"}),e.course_members_count]})}),e.tasks_count>0&&(0,o.jsx)(X.Z,{title:"作业",placement:"bottom",children:(0,o.jsxs)("span",{children:[(0,o.jsx)("i",{className:"iconfont icon-zuoye"}),e.tasks_count]})}),e.is_end?(0,o.jsx)("div",{style:{color:"#6B758B"},children:"已结束"}):(0,o.jsx)("div",{style:{color:"#00B187"},children:"进行中"})]})]}),!e.is_accessible&&(0,o.jsxs)("div",{className:ge.lockWrap,children:[(0,o.jsx)("img",{src:"".concat($.Z.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),(0,o.jsx)("span",{className:"mt15 font16 c-white",children:"非课堂成员不可进入"})]})]},i)})),!i.length&&(0,o.jsx)(se.Z,{})]})})},_e={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},ye=t(7880),be=function(e){var n=e.dataSource,t=void 0===n?[]:n,i=e.value,s=e.onChange,a=e.className,r=e.style,l=void 0===r?{}:r,c=e.tabBarExtraContent;return(0,o.jsxs)("div",{className:b()(_e.tabs,a),style:l,children:[(0,o.jsx)("div",{className:_e.tabsWrap,children:t.map((function(e,n){return(0,o.jsxs)("aside",{className:_e.tab,onClick:function(){s(e.id),e.link&&ye.history.push(e.link)},children:[(0,o.jsx)("div",{className:i===e.id?_e.active:"",children:e.name}),null==(null==e?void 0:e.resetCount)&&void 0!==(null==e?void 0:e.total)&&(0,o.jsxs)("span",{children:["",null==e?void 0:e.total,""]}),void 0!==(null==e?void 0:e.resetCount)&&void 0!==(null==e?void 0:e.total)&&(0,o.jsx)(X.Z,{title:null!=(null==e?void 0:e.tip)?null==e?void 0:e.tip:"",children:(0,o.jsxs)("span",{style:{color:"#9096A3"},children:["",(0,o.jsx)("span",{style:{color:"#000"},children:null==e?void 0:e.resetCount}),"/",(0,o.jsx)("span",{children:null==e?void 0:e.total}),""]})})]},n)}))}),(0,o.jsx)("div",{className:_e.tabBar,children:c})]})},we=function(e){var n=e.className,t=e.style,i=void 0===t?{}:t,s=e.children;return(0,o.jsx)("div",{className:b()(n),style:i,children:s})},Ne="orderWrap___ZfyGX",Ae="orderIconWrap___XTB_O",Ze="orderAsc___KWHmA",ke="orderDesc___rHdbB",Se="active___a7eSP",Ce="cursorPointer___gs9kL",De="orderTextWrap___teAKn",Fe=t(38854),Pe=t(20834),Be=[{id:"updated_at",name:"最新动态"},{id:"created_at",name:"最新创建"},{id:"name",name:"名称排序"}],Ie=function(e){var n,t=e.sortValue,i=e.dropValue,s=e.className,a=e.onSort,r=e.onDrop,l=e.dataSource,c=void 0===l?Be:l;return(0,o.jsxs)("div",{className:b()(Ne,s),children:[(0,o.jsx)(Fe.Z,{dropdownRender:function(){return(0,o.jsx)(Pe.Z,{children:c.map((function(e,n){return(0,o.jsx)(Pe.Z.Item,{onClick:function(){return r(e.id)},children:e.name},n)}))})},children:(0,o.jsx)("span",{className:De,children:null===(n=c.find((function(e){return i===e.id})))||void 0===n?void 0:n.name})}),(0,o.jsxs)("span",{className:Ae,children:[(0,o.jsx)("span",{className:Ze,children:(0,o.jsx)("i",{className:"asc"===t?"iconfont icon-sanjiaoxing-up font12 ".concat(Ce," ").concat(Se):"iconfont icon-sanjiaoxing-up font12 ".concat(Ce),onClick:function(){return a("asc"===t?"desc":"asc")}})}),(0,o.jsx)("span",{className:ke,children:(0,o.jsx)("i",{className:"desc"===t?"iconfont icon-sanjiaoxing-down font12 ".concat(Ce," ").concat(Se):"iconfont icon-sanjiaoxing-down font12 ".concat(Ce),onClick:function(){return a("asc"===t?"desc":"asc")}})})]})]})},Re=t(82242),Te=t.n(Re),Oe=t(7557),Me=t.n(Oe),Ee=t(41498),He=t.n(Ee),Le=t(39647),ze=t.n(Le),We={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},Ue=t(3113),Qe=["className","style","children","loading","openLoading","onClick","size","shape"],Ve=function(e){var n=e.className,t=e.style,s=e.children,a=e.loading,r=void 0!==a&&a,l=e.openLoading,c=e.onClick,d=void 0===c?function(){}:c,p=e.size,h=void 0===p?"middle":p,x=e.shape,f=void 0===x?"round":x,m=ze()(e,Qe),v=(0,i.useState)(!1),g=u()(v,2),j=g[0],_=g[1];return(0,o.jsx)(Ue.ZP,Te()(Te()({onClick:(0,w.throttle)(function(){var e=He()(Me()().mark((function e(n){return Me()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l&&_(!0),e.prev=1,e.next=4,d(n);case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),console.log("error",e.t0);case 9:l&&_(!1);case 10:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(n){return e.apply(this,arguments)}}(),2e3,{leading:!0,trailing:!1}),className:b()(We.btn,We["".concat(h,"-").concat(f)],n),style:t,size:h,shape:f,loading:j||r},m),{},{children:s}))},Ge="head___ghH72",Je="node___mjPEy",qe=function(e){var n=e.className,t=e.style,i=e.children,s=void 0===i?null:i,a=e.onClick,r=e.title;return(0,o.jsxs)("div",{className:b()(Ge,n),style:t,children:[(0,o.jsxs)("span",{className:"primary-hover",onClick:a,children:[(0,o.jsx)("i",{className:"iconfont icon-fanhui2 font12"}),"返回"]}),(0,o.jsx)("b",{title:r,children:r}),(0,o.jsx)("div",{className:Je,children:s})]})},Ke="btns___sNgTb",Xe="confirm___Ozirl",Ye="cancel___aiq1I",$e=function(e){var n=e.confirmShow,t=void 0===n||n,i=e.confirmTitle,s=e.confirmClick,a=e.cancelShow,r=void 0===a||a,l=e.cancelTitle,c=e.cancelClick,u=e.className,d=e.style,p=e.confirmLoading,h=void 0!==p&&p;return(0,o.jsxs)("div",{className:b()(Ke,u),style:d,children:[t&&(0,o.jsx)(Ue.ZP,{loading:h,onClick:s,type:"primary",className:Xe,children:i}),r&&(0,o.jsx)(Ue.ZP,{onClick:c,className:Ye,children:l})]})},en={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},nn=function(e){var n=e.className,t=e.style,i=void 0===t?{}:t,s=e.LeftContent,a=e.children,r=e.RightContent;return(0,o.jsx)("div",{className:b()(en.fixedBottom,n),style:i,children:(0,o.jsxs)("div",{className:en.wrap,children:[(0,o.jsx)("div",{className:en.left,children:s}),(0,o.jsx)("div",{className:en.center,children:a}),(0,o.jsx)("div",{className:en.right,children:r})]})})},tn="crumbs___V41Oe",sn="hover___bEIVd",an=function(e){var n=e.className,t=e.style,s=void 0===t?{}:t,a=e.dataSource,r=void 0===a?[]:a;return(0,o.jsx)("div",{className:b()(tn,n),style:s,children:r.map((function(e,n){return n<r.length-1?(0,o.jsxs)(i.Fragment,{children:[e.path?(0,o.jsx)("span",{className:sn,onClick:function(){return ye.history.push(e.path)},children:e.name}):(0,o.jsx)("span",{children:e.name}),(0,o.jsxs)("span",{children:[" ",">"," "]})]},n):(0,o.jsx)("span",{style:{color:"#5F6368"},children:e.name},n)}))})},rn=t(31797),on=["onChange"],ln=rn.Z.Countdown,cn=function(e){var n=e.onChange,t=ze()(e,on),s=(0,i.useState)(null),a=u()(s,2),r=a[0],l=a[1];(0,i.useEffect)((function(){"number"==typeof r&&r>=0&&n(r)}),[r]);return(0,o.jsx)(ln,Te()(Te()({},t),{},{onChange:function(e){var n=Math.floor(e/1e3);l(n)}}))}},66248:function(e,n,t){var i=t(79800),s=t.n(i),a=t(6848),r=t(8591),o=t(3113),l=t(14491),c=t(59301),u=t(54665),d=t(56102),p=t(37712),h=[{title:"文件名",dataIndex:"filename",width:"19%",ellipsis:!0},{title:"备注",dataIndex:"description",width:"19%",ellipsis:!0},{title:"创建时间",dataIndex:"created_on",width:"19%",ellipsis:!0},{title:"文件路径",dataIndex:"path",width:"19%",render:function(e){return(0,p.jsxs)("div",{style:{display:"flex"},children:[(0,p.jsx)(a.Z,{title:e,children:(0,p.jsx)("span",{style:{width:"80%",display:"inline-block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})}),(0,p.jsx)(d.CopyToClipboard,{text:e,onCopy:function(){return r.ZP.success("复制成功")},children:(0,p.jsx)("i",{className:"iconfont icon-fuzhi2 current ml5 mr40",style:{color:"#165DFF",marginLeft:30}})})]})}},{title:"最后修改人",dataIndex:"author",width:"14%",ellipsis:!0},{title:"大小",dataIndex:"filesize",width:"10%",ellipsis:!0}],x=function(e){var n=e.detail,t=(0,c.useState)(n),i=s()(t,2),a=i[0],r=i[1],d=(0,c.useState)(1),x=s()(d,2),f=x[0],m=x[1];(0,c.useEffect)((function(){n&&r(n)}),[n]);var v=(0,c.useMemo)((function(){return{position:["bottomCenter"],pageSize:10,showSizeChanger:!1,current:f,showQuickJumper:{goButton:(0,p.jsx)(o.ZP,{children:"GO"})},total:null==a?void 0:a.data_sets_count,onChange:function(e){m(e),(0,u.pV)("".concat(null==n?void 0:n.id),{limit:10,page:e}).then((function(e){r(e)}))}}}),[f,a]);return(0,p.jsx)(l.Z,{columns:h,dataSource:null==a?void 0:a.data_sets,rowKey:"attachment_id",pagination:v})};n.Z=(0,c.memo)(x)},17579:function(e,n,t){t.r(n),t.d(n,{default:function(){return on}});var i=t(7557),s=t.n(i),a=t(41498),r=t.n(a),o=t(82242),l=t.n(o),c=t(79800),u=t.n(c),d=t(59301),p=t(71796),h=t(99313),x=t(78241),f=t(3113),m=t(71418),v=t(95237),g=t(43604),j=t(28103),_=t(43418),y=t(8591),b=t(54449),w=t(17011),N=t(43501),A=t(7880),Z="project_detail_wrapper___ywzyI",k="title___NfoQH",S="fork_btn___gBhDb",C="desc___SryMB",D="info___fzlio",F="create_time___JaeKJ",P="operation___N7pLK",B="delete_btn___xrcwe",I="fork_modal___nz1Xg",R="huanj___EHzUt",T="divtitle___XmviM",O=t(54665),M=t(89918),E=t(98135),H=t(37712),L=(0,A.connect)((function(e){return{innovation:e.innovation}}))((function(e){var n=e.dispatch,t=e.innovation,i=e.detail,a=x.Z.useForm(),o=u()(a,1)[0],l=(0,d.useState)("notyet"),c=u()(l,2),p=c[0],h=c[1],f=(0,d.useRef)(),v=function(){var e=r()(s()().mark((function e(){var n,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.validateFields();case 3:return n=o.getFieldValue("name"),h("forking"),e.next=7,(0,O.M3)("".concat(i.id),{name:n});case 7:0===(a=e.sent).status&&(y.ZP.success("fork成功"),f.current=a.sci_project_id,"remindModal"===t.openForkModalPosition&&window.localStorage.setItem("hideRemindModal","".concat(t.hideRemindModal))),h("success"),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),h("fail");case 15:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(){return e.apply(this,arguments)}}(),g=(0,H.jsx)(x.Z,{autoComplete:"off",form:o,initialValues:{name:i.sci_project.name},children:(0,H.jsx)(x.Z.Item,{label:"新项目名称",name:"name",required:!0,rules:[{required:!0,message:"请输入项目名称"}],children:(0,H.jsx)(E.Z,{placeholder:"请输入",maxLength:60})})}),j={notyet:g,forking:(0,H.jsx)("div",{style:{height:40}}),success:(0,H.jsx)("p",{children:"项目已经Fork完成现在就去查看项目吗"}),fail:g};return(0,H.jsx)(_.Z,{title:"Fork项目",width:600,open:"fork-project"===t.visibleModalName,className:"".concat(I),destroyOnClose:!0,centered:!0,onCancel:function(){h("notyet"),o.resetFields(),n({type:"innovation/closeModal"})},onOk:function(){"success"===p?(A.history.push("/innovation/project/detail/".concat(f.current)),location.reload()):v()},okText:"success"===p?"查看项目":"确定",children:(0,H.jsx)(m.Z,{tip:"项目Fork中",spinning:"forking"===p,children:j[p]})})})),z=t(99232),W=t.n(z),U=t(27065),Q=function(){var e=(0,d.useState)(W()().valueOf()),n=u()(e,2),t=n[0],i=n[1],s=(0,d.useMemo)((function(){return"".concat(U.Z.API_SERVER,"/rucaptcha?t=").concat(t)}),[t]);return(0,H.jsxs)(v.Z,{align:"middle",children:[(0,H.jsx)("img",{src:s,alt:""}),(0,H.jsx)("span",{onClick:function(){i(W()().valueOf())},style:{fontSize:12,fontWeight:400,color:"#165DFF",marginLeft:10,cursor:"pointer"},children:"看不清换一张"})]})},V=(0,A.connect)((function(e){return{innovation:e.innovation}}))((function(e){var n=e.dispatch,t=e.innovation,i=e.projectId,a=x.Z.useForm(),o=u()(a,1)[0],l=function(){var e=r()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.validateFields();case 3:return t=o.getFieldsValue(),e.next=6,(0,O.th)(i,{code:t.code});case 6:0===e.sent.status&&(y.ZP.success("删除成功"),n({type:"innovation/closeModal"}),A.history.replace("/innovation/project")),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),n({type:"innovation/closeModal"});case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();return(0,H.jsx)(_.Z,{title:"删除项目",width:600,okText:"确定删除",okButtonProps:{type:"primary",danger:!0},centered:!0,open:"delete-project"===t.visibleModalName,destroyOnClose:!0,onCancel:function(){return n({type:"innovation/closeModal"})},onOk:l,children:(0,H.jsx)(x.Z,{autoComplete:"off",form:o,preserve:!1,children:(0,H.jsxs)(x.Z.Item,{label:"验证码",required:!0,children:[(0,H.jsx)(x.Z.Item,{name:"code",rules:[{required:!0,message:"请输入验证码"}],children:(0,H.jsx)(E.Z,{placeholder:"请输入验证码"})}),(0,H.jsx)("span",{style:{color:"#FA6400"},children:"删除项目后,将无法恢复,请谨慎操作"}),(0,H.jsx)(Q,{})]})})})})),G=t(39647),J=t.n(G),q="menu___UnLMr",K="warehouse___P7f6U",X="header___u00_W",Y="title____S1YG",$="content___p_SoR",ee="left___hSMYA",ne="right___ZQk8Z",te="loading___W3zy1",ie="empty___fievZ",se="tabs___QW8es",ae="line___Jpj9w",re="footer___gn3O8",oe="commit___xEz6h",le="filePathWrp___H9erP",ce="filePath___TdyXm",ue="bottom0___pV48E",de=t(6848),pe=t(20834),he=t(38854),xe=t(37205),fe=t.n(xe),me=t(48209),ve=t(56102),ge={wrap:"wrap___Bmme7",modal:"modal___AMeuc",title:"title___gcQ15",path:"path___Z2shU",colorBlue:"colorBlue___G_a7d",width240:"width240___AU6VN",filePath:"filePath___YkFWz"},je=["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"],_e=(0,A.connect)((function(e){var n=e.shixunsDetail,t=e.loading;return{shixunsDetail:n,globalSetting:e.globalSetting,user:e.user,loading:t.models.index}}))((function(e){e.shixunsDetail,e.globalSetting,e.loading,e.user;var n=e.dispatch,t=e.isRepository,i=J()(e,je),a=(0,A.useLocation)(),o=(0,A.useParams)(),c=(0,d.useState)({}),p=u()(c,2),h=(p[0],p[1]),f=(0,d.useRef)(),m=x.Z.useForm(),j=u()(m,1)[0],b=(0,d.useState)(""),w=u()(b,2),N=(w[0],w[1]);(0,d.useEffect)((function(){i.visible&&j.resetFields()}),[i.visible]),(0,d.useEffect)((function(){var e=sessionStorage.getItem("pathArray");if(e){var n=e.split(",").join("/"),t=0===n.indexOf("/")?n.substr(1):n;N(t)}}),[]),(0,d.useEffect)((function(){var e;f.current=null===(e=a.pathname)||void 0===e||null===(e=e.split("/"))||void 0===e?void 0:e[2]}),[]);var Z=function(){var e=r()(s()().mark((function e(){var a,r,l=arguments;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=l.length>0&&void 0!==l[0]?l[0]:{},e.next=3,n({type:"shixunsDetail/addRepositoryFiles",payload:{id:o.taskId,message:a.commitMessage,content:"",path:(i.defaultPath?i.defaultPath+"/":"")+a.path+"/"+(a.file||".gitkeep"),secret_repository:!t||void 0}});case 3:null!=(r=e.sent)&&r.url&&(y.ZP.success("添加成功"),i.onOK({path:(i.defaultPath?i.defaultPath+"/":"")+a.path+"/"+(a.file||".gitkeep"),name:a.path.split("/")[a.path.split("/").length-1]}),i.onClose());case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,H.jsx)(_.Z,{width:"60%",centered:!0,open:i.visible,wrapClassName:ge.modal,onOk:function(){j.submit()},onCancel:i.onClose,title:"新建文件夹",children:(0,H.jsx)("section",{className:ge.bg,children:(0,H.jsx)("div",{className:ge.wrap,children:(0,H.jsxs)(x.Z,{className:"mt10",form:j,scrollToFirstError:!0,layout:"vertical",onFinish:Z,onChange:function(){var e,n,t,i,s=l()({},j.getFieldsValue()),a=null==s||null===(e=s.path)||void 0===e?void 0:e.split(""),r=null==s||null===(n=s.file)||void 0===n?void 0:n.split("");null!=a&&null!==(t=a.filter((function(e){return"/"==e})))&&void 0!==t&&t.length&&(s.path=s.path.substring(0,s.path.length-1)),null!=r&&null!==(i=r.filter((function(e){return"/"==e})))&&void 0!==i&&i.length&&(s.file=s.file.substring(0,s.path.length-1)),j.setFieldsValue(l()({},s)),h(s)},children:[(0,H.jsx)(x.Z.Item,{label:"文件夹名称:",name:"path",children:(0,H.jsxs)(v.Z,{children:[(0,H.jsx)(g.Z,{children:(0,H.jsx)("span",{className:ge.filePath,children:i.defaultPath+"/"})}),(0,H.jsx)(g.Z,{flex:"1",children:(0,H.jsx)(x.Z.Item,{name:"path",rules:[{required:!0,message:"请输入文件夹名称"},{whitespace:!0,message:"请勿输入空格"}],children:(0,H.jsx)(E.Z,{placeholder:"请输入文件夹名称",size:"middle"})})})]})}),(0,H.jsx)(x.Z.Item,{label:"文件名称:",name:"file",children:(0,H.jsx)(E.Z,{placeholder:"请输入文件名称,如果不填写系统将在文件夹下创建.gitkeep的默认文件",size:"middle"})}),(0,H.jsx)(x.Z.Item,{label:"提交信息:",name:"commitMessage",rules:[{required:!0,message:"请输入提交信息"},{whitespace:!0,message:"请勿输入空格"}],children:(0,H.jsx)(E.Z,{placeholder:"请输入本次提交的主要信息,合理的描述信息有利于代码历史记录的管理",size:"middle"})})]})})})})})),ye=t(37507),be=["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"],we=(0,A.connect)((function(e){var n=e.shixunsDetail,t=e.loading;return{shixunsDetail:n,globalSetting:e.globalSetting,user:e.user,loading:t.models.index}}))((function(e){e.shixunsDetail,e.globalSetting,e.loading,e.user;var n=e.dispatch,t=e.isRepository,i=J()(e,be),a=(0,A.useLocation)(),o=(0,A.useParams)(),c=(0,d.useState)({}),p=u()(c,2),h=(p[0],p[1]),f=(0,d.useRef)(),m=x.Z.useForm(),j=u()(m,1)[0],b=(0,d.useState)(""),w=u()(b,2),N=(w[0],w[1]);(0,d.useEffect)((function(){i.visible&&j.resetFields()}),[i.visible]),(0,d.useEffect)((function(){var e=sessionStorage.getItem("pathArray");if(e){var n=e.split(",").join("/"),t=0===n.indexOf("/")?n.substr(1):n;N(t)}}),[]),(0,d.useEffect)((function(){var e;f.current=null===(e=a.pathname)||void 0===e||null===(e=e.split("/"))||void 0===e?void 0:e[2]}),[]);var Z=function(){var e=r()(s()().mark((function e(){var a,r,l=arguments;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=l.length>0&&void 0!==l[0]?l[0]:{},e.next=3,n({type:"shixunsDetail/addRepositoryFiles",payload:{id:o.taskId,message:a.commitMessage,content:a.codeMirror,path:(i.defaultPath?i.defaultPath+"/":"")+a.path,secret_repository:!t||void 0}});case 3:null!=(r=e.sent)&&r.url&&(y.ZP.success("添加成功"),i.onOK({path:(i.defaultPath?i.defaultPath+"/":"")+a.path,name:a.path.split("/")[a.path.split("/").length-1]}),i.onClose());case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,H.jsx)(_.Z,{width:"60%",open:i.visible,wrapClassName:ge.modal,centered:!0,onOk:function(){j.submit()},onCancel:i.onClose,title:"新建文件",children:(0,H.jsx)("section",{className:ge.bg,children:(0,H.jsx)("div",{className:ge.wrap,children:(0,H.jsxs)(x.Z,{className:"mt10",form:j,scrollToFirstError:!0,layout:"vertical",onFinish:Z,onChange:function(){var e,n,t=l()({},j.getFieldsValue()),i=null==t||null===(e=t.path)||void 0===e?void 0:e.split("");(null==i||null===(n=i.filter((function(e){return"/"==e})))||void 0===n?void 0:n.length)>1&&(t.path=t.path.substring(0,t.path.length-1)),j.setFieldsValue(l()({},t)),h(t)},children:[(0,H.jsx)(x.Z.Item,{label:"文件名称或文件路径:",name:"path",children:(0,H.jsxs)(v.Z,{children:[(0,H.jsx)(g.Z,{children:(0,H.jsx)("span",{className:ge.filePath,children:i.defaultPath+"/"})}),(0,H.jsx)(g.Z,{flex:"1",children:(0,H.jsx)(x.Z.Item,{name:"path",rules:[{required:!0,message:"请输入文件名称"},{whitespace:!0,message:"请勿输入空格"}],children:(0,H.jsx)(E.Z,{placeholder:"请输入文件名称",size:"middle"})})})]})}),(0,H.jsx)(x.Z.Item,{label:"提交信息:",name:"commitMessage",rules:[{required:!0,message:"请输入提交信息"},{whitespace:!0,message:"请勿输入空格"}],children:(0,H.jsx)(E.Z,{placeholder:"请输入本次提交的主要信息,合理的描述信息有利于代码历史记录的管理",size:"middle"})}),(0,H.jsx)("div",{className:"mt10 mb20",children:(0,H.jsx)(x.Z.Item,{name:"codeMirror",label:"文件内容:",rules:[{required:!0,message:"请输入文件内容"}],children:(0,H.jsx)(ye.h,{options:{modal:"javascript",lineNumbers:!0,theme:"railscasts",indentUnit:4,matchBrackets:!0,autoRefresh:!0,smartIndent:!0,extraKeys:{"Alt-/":"autocomplete"},autofocus:!0,styleActiveLine:!0,lint:!0,linkurl:"",gutters:["CodeMirror-linenumbers","breakpoints","CodeMirror-lint-markers"]}})})})]})})})})})),Ne=["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"],Ae=(0,A.connect)((function(e){var n=e.shixunsDetail,t=e.loading;return{shixunsDetail:n,globalSetting:e.globalSetting,user:e.user,loading:t.models.index}}))((function(e){e.shixunsDetail,e.globalSetting,e.loading,e.user;var n=e.dispatch,t=e.isRepository,i=J()(e,Ne),a=(0,A.useLocation)(),o=(0,A.useParams)(),c=(0,d.useState)({}),p=u()(c,2),h=(p[0],p[1]),f=(0,d.useRef)(),m=x.Z.useForm(),j=u()(m,1)[0],b=(0,d.useState)(""),w=u()(b,2),N=w[0],Z=w[1],k=(0,d.useState)(""),S=u()(k,2),C=S[0],D=S[1];(0,d.useEffect)((function(){i.visible&&j.resetFields()}),[i.visible]),(0,d.useEffect)((function(){var e=i.defaultPath.split("/");1===e.length?(Z(""),D(i.defaultPath)):(D(e.pop()),Z(e.join("/")+"/"))}),[i.defaultPath]),(0,d.useEffect)((function(){var e;f.current=null===(e=a.pathname)||void 0===e||null===(e=e.split("/"))||void 0===e?void 0:e[2]}),[]);var F=function(){var e=r()(s()().mark((function e(){var a,r,l=arguments;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=l.length>0&&void 0!==l[0]?l[0]:{},e.next=3,n({type:"shixunsDetail/moveGitFiles",payload:{id:o.taskId,from:i.defaultPath,to:N+a.path,message:a.commitMessage||"".concat(i.defaultPath," rename to ").concat(N).concat(a.path," "),secret_repository:t}});case 3:0===(null==(r=e.sent)?void 0:r.status)&&(y.ZP.success("添加成功"),i.onOK({path:a.path,name:a.path}),i.onClose());case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,H.jsx)(_.Z,{width:"40%",open:i.visible,wrapClassName:ge.modal,centered:!0,onOk:function(){j.submit()},onCancel:i.onClose,title:"提交说明",children:(0,H.jsx)("section",{className:ge.bg,children:(0,H.jsx)("div",{className:ge.wrap,children:(0,H.jsxs)(x.Z,{className:"mt10",form:j,scrollToFirstError:!0,layout:"vertical",onFinish:F,onChange:function(){var e,n,t=l()({},j.getFieldsValue()),i=null==t||null===(e=t.path)||void 0===e?void 0:e.split("");(null==i||null===(n=i.filter((function(e){return"/"==e})))||void 0===n?void 0:n.length)>1&&(t.path=t.path.substring(0,t.path.length-1)),j.setFieldsValue(l()({},t)),h(t)},children:[(0,H.jsx)(x.Z.Item,{label:"重命名:",name:"path",children:(0,H.jsx)(v.Z,{children:(0,H.jsx)(g.Z,{flex:"1",children:(0,H.jsx)(x.Z.Item,{name:"path",rules:[{required:!0,message:"请输入文件名称"},{whitespace:!0,message:"请勿输入空格"}],children:(0,H.jsx)(E.Z,{placeholder:"请输入文件名称",size:"middle",defaultValue:C})})})})}),(0,H.jsx)(x.Z.Item,{label:"提交信息:",name:"commitMessage",children:(0,H.jsx)(E.Z,{placeholder:"如不填写,默认提交信息是(".concat(i.defaultPath," rename to 新的名称 "),size:"middle"})})]})})})})})),Ze=t(46651),ke={wrap:"wrap___MBjkg",title:"title___kwzQt",path:"path___Dxzfe",colorBlue:"colorBlue___motxO"},Se=["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"],Ce=Ze.Z.Dragger,De=(0,A.connect)((function(e){var n=e.shixunsDetail,t=e.loading;return{shixunsDetail:n,globalSetting:e.globalSetting,user:e.user,loading:t.models.index}}))((function(e){e.shixunsDetail,e.globalSetting,e.loading,e.user;var n,t=e.dispatch,i=e.isRepository,a=J()(e,Se),o=((0,A.useLocation)(),(0,A.useParams)()),c=(0,d.useState)({}),p=u()(c,2),h=p[0],f=p[1],m=(0,d.useRef)(),v=x.Z.useForm(),g=u()(v,1)[0],j=(0,d.useState)([]),b=u()(j,2),w=b[0],N=b[1],Z=(0,d.useState)(),k=u()(Z,2),S=k[0],C=k[1];(0,d.useEffect)((function(){a.visible&&(g.resetFields(),N([]))}),[a.visible]),(0,d.useEffect)((function(){m.current=o.taskId}),[]),(0,d.useEffect)((function(){var e=sessionStorage.getItem("pathArray");if(e){var n=e.split(",").join("/"),t=0===n.indexOf("/")?n.substr(1):n;C(t)}}),[]);var D,F=function(){var e=r()(s()().mark((function e(n){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.response){e.next=3;break}return y.ZP.info("还未上传完成,无法进行删除操作!"),e.abrupt("return");case 3:return e.next=5,t({type:"shixunsDetail/deleteGitFile",payload:{id:o.taskId,path:S?"".concat(S,"/").concat(n.name):n.name,message:g.getFieldValue("commitMessage")||"删除了".concat(S?"".concat(S,"/").concat(n.name):n.name),secret_repository:!i||null}});case 5:0===e.sent.status&&(N(w.filter((function(e){return e.uid!==n.uid}))),y.ZP.info("删除成功"));case 7:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),P={height:300,multiple:!0,withCredentials:!0,data:(D=r()(s()().mark((function e(){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var e=r()(s()().mark((function e(t,o){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:setTimeout(r()(s()().mark((function e(){var r;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.getFieldsValue();case 2:e.sent,r=l()(l()({},{path:a.defaultPath?a.defaultPath:"",message:h.commitMessage||"上传了".concat(n)}),i?{}:{secret_repository:!0}),t(r);case 5:case"end":return e.stop()}}),e)}))),200);case 1:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}()));case 1:case"end":return e.stop()}}),e)}))),function(){return D.apply(this,arguments)}),fileList:w,method:"post",action:"".concat(U.Z.API_SERVER,"/api/sci/projects/").concat(m.current,"/upload_git_file.json"),onChange:function(e){if(n=e.file.name,"done"===e.file.status||"uploading"===e.file.status){var t,i,s;if(N(e.fileList),!e.file.response)return;if(0===(null===(t=e.file.response)||void 0===t?void 0:t.status))return void y.ZP.success("上传成功!");N(w.filter((function(n){return n.uid!==e.file.uid}))),(null===(i=e.file.response)||void 0===i?void 0:i.message)&&y.ZP.info(null===(s=e.file.response)||void 0===s?void 0:s.message)}},onRemove:F,beforeUpload:function(e){n=e.name}},B=function(){var e=r()(s()().mark((function e(n){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.validateFields();case 2:a.onClose(),a.onOK({path:a.defaultPath});case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,H.jsx)(_.Z,{open:a.visible,onOk:B,centered:!0,onCancel:a.onClose,width:"70%",children:(0,H.jsx)("section",{className:ke.bg,children:(0,H.jsxs)("div",{className:ke.wrap,children:[(0,H.jsx)("div",{className:ke.title,children:"上传文件"}),(0,H.jsxs)(x.Z,{className:"mt10",form:g,scrollToFirstError:!0,layout:"vertical",onFinish:B,onValuesChange:function(){return f(l()({},g.getFieldsValue()))},children:[(0,H.jsx)(x.Z.Item,{label:"提交信息:",name:"commitMessage",rules:[{required:!0,message:"请输入提交信息"},{whitespace:!0,message:"请勿输入空格"}],children:(0,H.jsx)(E.Z,{placeholder:"必填描述主要修改内容相当于Git Commit message的Header"})}),(0,H.jsx)(x.Z.Item,{label:"选择文件",name:"file",rules:[{required:!0,message:"请选择文件"}],children:(0,H.jsxs)(Ce,l()(l()({},P),{},{children:[(0,H.jsx)("div",{children:(0,H.jsx)("i",{className:"iconfont icon-shangchuan font50 ".concat(ke.colorBlue)})}),(0,H.jsxs)("div",{className:"font14 mt30",children:["拖拽文件或",(0,H.jsx)("span",{className:"".concat(ke.colorBlue," ml5"),children:"点击此处上传"})]})]}))})]})]})})})})),Fe={flex_box_center:"flex_box_center___ceC0y",flex_space_between:"flex_space_between___K6rVh",flex_box_vertical_center:"flex_box_vertical_center___agfJS",flex_box_center_end:"flex_box_center_end___YIze7",flex_box_column:"flex_box_column___E4huF",headLeft:"headLeft___Xwji1",colorBlue:"colorBlue_____BeE",wrap:"wrap___KU5Kb",nodata:"nodata___HezS3",nodataText:"nodataText___bdADB",content:"content___O0OuF",gitCode:"gitCode___oC8AX",ellipsis:"ellipsis___gxBif",menu:"menu___UMSQf",overlayClass:"overlayClass___pY72Q",tips:"tips___Q04Oz"},Pe="wrap___FeZrl",Be="content___nhYt_",Ie="mainPathWrap___pggnV",Re="colorBlue___TPUPy",Te=(0,A.connect)((function(e){var n=e.shixunsDetail,t=e.loading;return{shixunsDetail:n,globalSetting:e.globalSetting,loading:t.models.index}}))((function(e){var n=e.shixunsDetail,t=(e.globalSetting,e.loading,e.dispatch),i=e.title,a=e.pathList,o=void 0===a?[]:a,c=e.showInputPath,p=void 0!==c&&c,h=e.isMergeSelectFile,f=void 0!==h&&h,m=e.onFinish,v=void 0===m?function(){}:m,g=x.Z.useForm(),j=u()(g,1)[0],b=(0,A.useParams)(),w=(0,A.useLocation)(),N=(0,d.useRef)(),Z=(0,d.useState)(""),k=u()(Z,2),S=k[0],C=k[1],D=(0,d.useState)(""),F=u()(D,2),P=F[0],B=F[1],I=(0,d.useState)([]),R=u()(I,2),T=R[0],O=R[1],M=(0,d.useState)([]),L=u()(M,2),z=L[0],W=L[1];(0,d.useEffect)((function(){var e;N.current="repository"===(null===(e=w.pathname)||void 0===e||null===(e=e.split("/"))||void 0===e?void 0:e[3])}),[]),(0,d.useEffect)((function(){if("Repository-SelectFilePath"===n.actionTabs.key){var e=o.join("/"),t=[];o.map((function(n,i){0===i?t.push({val:"根目录",path:""},{val:"/".concat(n),path:e}):t.push({val:"/".concat(n),path:e})})),O(t),C(e),B(e),U(e)}}),[n.actionTabs.key]);var U=function(){var e=r()(s()().mark((function e(n){var i;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({type:N.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:b.taskId,path:n}});case 2:(i=e.sent)&&W(i.trees||[]);case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Q=function(){var e=r()(s()().mark((function e(){var n,i,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=null==j?void 0:j.getFieldsValue(),i=S?"".concat(S).concat(null!=n&&n.name?"/".concat(null==n?void 0:n.name):""):null==n?void 0:n.name,!f){e.next=6;break}return v(i),V(),e.abrupt("return");case 6:if(!p){e.next=16;break}return e.next=9,j.validateFields();case 9:return e.next=11,t({type:"shixunsDetail/uploadGitFolder",payload:l()(l()({},{id:b.taskId,path:i}),N.current?{}:{secret_repository:!0})});case 11:a=e.sent,v(P),0===a.status&&y.ZP.info("新建成功"),e.next=18;break;case 16:v(i),y.ZP.success("选择文件目录成功");case 18:V();case 19:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),V=function(){t({type:"shixunsDetail/setActionTabs",payload:{}}),j.resetFields()};return(0,H.jsx)(_.Z,{centered:!0,title:i||"新建文件夹",closable:!1,keyboard:!1,open:"Repository-SelectFilePath"===n.actionTabs.key,onOk:Q,onCancel:V,children:(0,H.jsxs)("div",{className:Pe,children:[(0,H.jsxs)("div",{className:Be,children:[(0,H.jsx)("div",{className:Ie,children:!(null==T||!T.length)&&T.map((function(e,n){return(0,H.jsx)("a",{onClick:function(){return function(e,n){var t=T.filter((function(e,t){return t<=n}));O(t);var i=t.filter((function(e,n){return 0!==n})).map((function(e){return e.val})).join("").substr(1);C(i),U(i)}(0,n)},children:e.val},n)}))}),!(null==z||!z.length)&&z.map((function(e,n){return"tree"===e.type&&(0,H.jsxs)("a",{onClick:function(){return function(e){var n=S;"tree"===e.type&&(T.length?T.push({val:"/".concat(e.name),path:e.name}):T.push({val:"根目录",path:""},{val:"/".concat(e.name),path:e.name}),O(T),n=S?"".concat(S,"/").concat(e.name):e.name,C(n)),U(n)}(e)},children:[(0,H.jsx)("i",{className:"iconfont icon-wenjianjia ".concat(Re)}),e.name]},n)}))]}),(0,H.jsx)("label",{className:"mt5",children:"选中的新建文件夹目录:"}),(0,H.jsx)("div",{className:"mt5 mb5",children:S}),p&&(0,H.jsx)(x.Z,{form:j,scrollToFirstError:!0,className:"mt20",children:(0,H.jsx)(x.Z.Item,{name:"name",rules:[{required:!0,message:"请输入名称"},{whitespace:!0,message:"请勿输入空格"}],children:(0,H.jsx)(E.Z,{placeholder:"请输入新文件夹名/子文件夹名。src/step1"})})})]})})})),Oe=t(75197),Me=t(85062),Ee=t(6457),He=(t(54506),t(42195)),Le=["shixunsDetail","globalSetting","loading","user","activeKey","dispatch","practiceSetting","isRepository","treeData","setTreeData","haveAuth"],ze=me.Z.DirectoryTree,We=function(){return(0,H.jsxs)("div",{className:"mt20 pb50 ".concat(Fe.nodata),children:[(0,H.jsxs)("div",{className:Fe.headLeft,children:["提示:",(0,H.jsx)("br",{}),"此处存放本实训所需的所有代码等相关文件,你可以通过以下",(0,H.jsx)("br",{}),"两种方式来使用:",(0,H.jsx)("br",{}),"1、",(0,H.jsx)("a",{href:"/forums/2784",target:"_blank",children:"Git客户端"})," ","上传已有文件来开始使用。",(0,H.jsx)("br",{}),"2、直接在平台上创建文件目录以及相关代码文件。"]}),(0,H.jsx)("img",{width:"100%",src:He.Oe})]})},Ue=(0,A.connect)((function(e){var n=e.shixunsDetail,t=e.loading,i=e.globalSetting,s=e.practiceSetting;return{shixunsDetail:n,globalSetting:i,user:e.user,practiceSetting:s,loading:t}}))((function(e){var n,t,i=e.shixunsDetail,a=(e.globalSetting,e.loading),o=(e.user,e.activeKey),c=e.dispatch,p=e.practiceSetting,h=e.isRepository,x=e.treeData,f=e.setTreeData,m=e.haveAuth,j=(J()(e,Le),(0,A.useParams)()),b=(0,A.useLocation)(),w=(0,d.useState)(),Z=u()(w,2),k=Z[0],S=(Z[1],(0,d.useState)(!1)),C=u()(S,2),D=C[0],F=C[1],P=(0,d.useState)(!1),B=u()(P,2),I=B[0],R=B[1],T=(0,d.useState)(!1),O=u()(T,2),M=O[0],E=O[1],L=(0,d.useState)(!1),z=u()(L,2),W=z[0],U=z[1],Q=(0,d.useState)(""),V=u()(Q,2),G=V[0],q=V[1],K=(0,d.useState)([]),X=u()(K,2),Y=X[0],$=X[1],ee=(0,d.useState)([]),ne=u()(ee,2),te=ne[0],ie=ne[1],se=(0,d.useState)([]),ae=u()(se,2),re=(ae[0],ae[1]),oe=(0,d.useState)(!1),le=u()(oe,2),ce=le[0],ue=le[1],xe=(0,d.useState)(),me=u()(xe,2),ge=(me[0],me[1]),je=(0,d.useState)(),ye=u()(je,2),be=(ye[0],ye[1]),Ne=(0,d.useState)(""),Ze=u()(Ne,2),ke=(Ze[0],Ze[1]),Se=(0,d.useState)(),Ce=u()(Se,2),Pe=(Ce[0],Ce[1]),Be=(0,d.useState)(!1),Ie=u()(Be,2),Re=Ie[0],He=Ie[1];(0,d.useEffect)((function(){f([]),Xe(""),localStorage.warehouseHideTip||ue(!0)}),[b.pathname,h]);var Ue=function(){var e=r()(s()().mark((function e(){var n,t=arguments;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.length>0&&void 0!==t[0]?t[0]:"",e.next=3,(0,Me.Zt)({id:j.taskId,secret_dir_path:n});case 3:e.sent&&Pe(n);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Qe=function(e){return(0,H.jsxs)(pe.Z,{className:Fe.menu,onClick:function(n){switch(q(e.path||""),n.key){case"1":(0,Ee.L9)(["实践项目","设置","代码仓库","新建文件"]),F(!0);break;case"2":(0,Ee.L9)(["实践项目","设置","代码仓库","新建文件夹"]),E(!0);break;case"3":(0,Ee.L9)(["实践项目","设置","代码仓库","上传"]),U(!0);break;case"4":(0,Ee.L9)(["实践项目","设置","代码仓库","重命名"]),R(!0);break;case"5":(0,Ee.L9)(["实践项目","设置","代码仓库","删除"]),en(e.path,e.name,e);break;case"6":(0,Ee.L9)(["实践项目","设置","代码仓库","复制路径"]),nn(e)}},children:[("topTree"===e.type||"tree"===e.type)&&(0,H.jsx)(pe.Z.Item,{children:"新建文件"},"1"),("topTree"===e.type||"tree"===e.type)&&(0,H.jsx)(pe.Z.Item,{children:"新建文件夹"},"2"),("topTree"===e.type||"tree"===e.type)&&(0,H.jsx)(pe.Z.Item,{children:"上传"},"3"),"topTree"!==e.type&&"tree"!==e.type&&(0,H.jsx)(pe.Z.Item,{children:"重命名"},"4"),"topTree"!==e.type&&(0,H.jsx)(ve.CopyToClipboard,{text:"/data/workspace/myshixun/".concat(h?"":"secret/").concat(null==e?void 0:e.path),onCopy:function(){return y.ZP.success("复制成功")},children:(0,H.jsx)(pe.Z.Item,{children:(0,H.jsx)(H.Fragment,{children:"复制路径"})},"6")}),"topTree"!==e.type&&(0,H.jsx)(pe.Z.Item,{children:"删除"},"5")]})},Ve=function(e,n){return e.map((function(e){return e.path=""==n?n+e.name:n+"/"+e.name,e.title=(0,H.jsxs)(v.Z,{className:"font14",children:[(0,H.jsx)(g.Z,{flex:"1",children:(0,H.jsxs)(v.Z,{children:[(0,H.jsx)(g.Z,{flex:"20px",children:"blob"===e.type&&(0,H.jsx)("span",{className:"iconfont icon-wenjian11 font12"})}),(0,H.jsx)(g.Z,{flex:"1",children:(0,H.jsx)("span",{className:" multi_ellipsis1",children:e.name})})]})}),m&&(0,H.jsx)(g.Z,{children:("blob"===e.type||"tree"===e.type)&&(0,H.jsx)(he.Z,{dropdownRender:function(){return Qe(e)},className:Fe.ellipsis,children:(0,H.jsx)("i",{className:"iconfont icon-gengduo2 c-555a88"})})})]}),e.disableCheckbox=k&&k!==e.name,e.className="tree"===e.type?Fe.pl23:"",e.checkable="tree"!==e.type,e.isLeaf="tree"!==e.type,e.children="tree"===e.type&&[],e.key=e.path,e}))},Ge=function(e){c({type:"practiceSetting/setSideBarTabs",payload:{selectPath:e}})},Je=function(){var e=r()(s()().mark((function e(n,t){var i;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=n.split("/"),e.next=3,Xe(G);case 3:setTimeout((function(){Ge(n),Y=[i[0]||""],te=[n],ie(fe()(te)),$(fe()(Y))}),150);case 4:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),qe=function(e,n){if(""==n)x=fe()(e),f(fe()(e));else{var t=Ke(x,n,e);x=t,f([].concat(t))}};function Ke(e,n,t){return e.map((function(e){return e.key===n?(e.children=fe()(t),l()({},e)):e.children?l()(l()({},e),{},{children:Ke(e.children,n,t)}):e}))}var Xe=function(){var e=r()(s()().mark((function e(){var n,t,i,a,r,o=arguments;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=o.length>0&&void 0!==o[0]?o[0]:"",e.next=3,c({type:h?"shixunsDetail/getRepositorys":"shixunsDetail/getSecretRepository",payload:{id:j.taskId,path:n}});case 3:return(t=e.sent)&&(null!==(i=t.trees)&&void 0!==i&&i.length?(r=Ve(fe()(t.trees),n),qe(r,n),re(t.trees||[]),be(n||""),console.log("handleGetRepository:",r,n),setTimeout((function(){return console.log(x,t.trees,n,999999)}),2e3)):""==n&&f([]),ge((null===(a=t.commits)||void 0===a?void 0:a[0])||{})),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Ye=function(){var e=r()(s()().mark((function e(n){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var e=r()(s()().mark((function e(t,i){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.children.length&&t(),ke(n.path),e.next=4,Xe(n.path);case 4:t();case 5:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}()));case 1:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),$e=function(){var e=r()(s()().mark((function e(n,t){var i,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("handleSelectTree",n,t.nativeEvent.target.nodeName,t),i=function(){Ge(t.node.path),n=[t.node.path],ie(fe()(n))},"svg"!==t.nativeEvent.target.nodeName&&"LI"!==t.nativeEvent.target.nodeName&&"I"!==t.nativeEvent.target.nodeName){e.next=4;break}return e.abrupt("return");case 4:"blob"===t.node.type&&(null!=p&&null!==(a=p.sideBar)&&void 0!==a&&a.confirmLeave?_.Z.confirm({title:"离开此页提示",content:"系统可能不会保存您所做的更改。",okText:"离开",cancelText:"取消",onOk:function(){i(),c({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}}):i());case 5:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),en=function(e,n,t){var i;_.Z.confirm({centered:!0,title:"确认需要删除该文件".concat(t.children?"夹":"","?"),okText:"确定",cancelText:"取消",onOk:(i=r()(s()().mark((function n(){var t,i,a;return s()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,c({type:"shixunsDetail/deleteGitFiles",payload:{id:j.taskId,path:e,message:"删除".concat(e),secret_repository:!h||null}});case 2:if(t=n.sent,i=e.split("/"),0!==(null==t?void 0:t.status)){n.next=20;break}return y.ZP.info("删除成功"),i.splice(i.length-1,1),n.next=9,Xe(i.length>1?i.join("/"):"");case 9:if(null==(a=n.sent)||!a.trees){n.next=13;break}n.next=16;break;case 13:return i.splice(i.length-1,1),n.next=16,Xe(i.length>1?i.join("/"):"");case 16:return Ge(""),n.abrupt("return",!0);case 20:-3===(null==t?void 0:t.status)&&_.Z.confirm({title:"删除失败",content:(0,H.jsxs)("div",{children:["该文件“",e,"”已经被任务关卡的学员任务文件或评测执行文件使用,请先修改任务关卡中评测设置的文件路径后再删除。"]}),okText:"前往修改",cancelText:"取消",onOk:function(){window.location.href="/shixuns/".concat(j.taskId,"/edit/").concat(null==t?void 0:t.message,"/tab=2")}});case 21:case"end":return n.stop()}}),n)}))),function(){return i.apply(this,arguments)})})},nn=function(e){console.log(e,"item")},tn=function(){var e=r()(s()().mark((function e(n,t){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("handleExpand",t),"svg"!==t.nativeEvent.target.nodeName&&"path"!==t.nativeEvent.target.nodeName&&"LI"!==t.nativeEvent.target.nodeName){e.next=5;break}return e.abrupt("return",!0);case 5:return e.next=7,Ye(t.node);case 7:Y.includes(t.node.path)?Y.splice(Y.indexOf(t.node.path),1):Y.push(t.node.path);case 8:$(fe()(Y));case 9:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),sn=function(){ue(!1),localStorage.warehouseHideTip=!0},an=function(){var e=r()(s()().mark((function e(n){var t,i;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log(n),n.node.key,n.dragNode.key,t=n.node.pos.split("-"),n.dropPosition-Number(t[t.length-1]),"tree"!==n.dragNode.type){e.next=8;break}return y.ZP.warning("不支持文件夹移动目录"),e.abrupt("return");case 8:if("tree"===n.node.type){e.next=11;break}return y.ZP.warning("未移动文件目录位置"),e.abrupt("return");case 11:return e.next=13,c({type:"shixunsDetail/moveGitFiles",payload:{id:j.taskId,from:n.dragNode.path,to:n.node.path+"/"+n.dragNode.name,message:"".concat(n.dragNode.path," move to ").concat(n.node.path+"/"+n.dragNode.name," ")}});case 13:if(0!==e.sent.status){e.next=26;break}return Ge(""),e.next=18,Xe("");case 18:i=0;case 19:if(!(i<Y.length)){e.next=26;break}if(""==Y[i]){e.next=23;break}return e.next=23,Xe(Y[i]);case 23:i++,e.next=19;break;case 26:return e.abrupt("return");case 32:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,H.jsxs)("section",{className:Fe.bg,children:[(0,H.jsx)("div",{className:Fe.contentbg,children:(0,H.jsxs)("div",{className:Fe.wrap,children:[(0,H.jsxs)(v.Z,{className:Fe.gitCode,children:[(0,H.jsxs)(g.Z,{flex:"1",children:[(0,H.jsx)("span",{className:"iconfont icon-daimacangku2 mr8"}),h?"代码仓库":"私密代码仓库"]}),(0,H.jsx)(g.Z,{children:m&&(0,H.jsx)(he.Z,{dropdownRender:function(){return Qe({type:"topTree"})},className:"current",children:(0,H.jsxs)(de.Z,{open:ce,title:(0,H.jsxs)("div",{className:"font16",children:[(0,H.jsx)(Oe.Z,{style:{position:"relative",left:-35},onClick:function(){return sn()}}),"点击此处新建文件、新建文件夹、上传文件。",(0,H.jsx)("span",{onClick:function(){return sn()},className:"iconfont icon-guanbi1 ml8 current font14"})]}),overlayClassName:Fe.overlayClass,overlayStyle:{maxWidth:500},arrowPointAtCenter:!0,placement:"right",color:"#F7B500",children:[h&&(0,H.jsx)("i",{className:"iconfont icon-gengduo2 c-555a88"}),!h&&(null==i||null===(n=i.detail)||void 0===n?void 0:n.secret_repository)&&(0,H.jsx)("i",{className:"iconfont icon-gengduo2 c-555a88"})]})})})]}),!!x.length&&!h&&(0,H.jsx)("div",{className:"mt20 pl20 pr20 font14 c-white",children:(0,H.jsx)("div",{children:"实训评测的时候系统会临时将私密代码库移动普通代码库的secret目录下面评测结束会清空secret目录内容。如果私密代码库中存在文件src/test.sh在普通代码库调用该文件则使用路径secret/src/test.sh"})}),x.length?(0,H.jsx)(H.Fragment,{children:(0,H.jsxs)("div",{className:Fe.content,children:["1"===o&&(0,H.jsxs)("div",{className:Fe.tips,children:["提示:",(0,H.jsx)("br",{}),'代码运行在服务器/data/workspace/myshixun/下,如果代码 需要用到文件路径时,您将鼠标移入仓库文件或目录右侧的"..." 图标,选择复制路径得到文件的绝对路径。']}),(0,H.jsx)(ze,{disabled:!!a.effects["shixunsDetail/getFileContents"],multiple:!0,showIcon:!1,treeData:x,switcherIcon:(0,H.jsx)(N.Z,{style:{fontWeight:"bold",fontSize:14,position:"relative",top:3,marginLeft:22}}),onExpand:tn,expandedKeys:Y,selectedKeys:te,onSelect:$e,draggable:!0,onDragEnter:function(e){console.log(e)},onDrop:an,allowDrop:function(e){e.dropNode,e.dropPosition;return!1}})]})}):"",!x.length&&h&&(0,H.jsx)(We,{}),!x.length&&!h&&(null==i||null===(t=i.detail)||void 0===t?void 0:t.secret_repository)&&(0,H.jsx)(We,{})]})}),(0,H.jsx)(Ae,{visible:I,defaultPath:G,onClose:function(){return R(!1)},isRepository:!h,onOK:function(){var e=r()(s()().mark((function e(n){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(t=G.split("/")).pop(),e.next=4,Xe(t.join("/"));case 4:Ge("");case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()}),(0,H.jsx)(we,{visible:D,defaultPath:G,onClose:function(){return F(!1)},isRepository:h,onOK:function(e){Je(e.path,e.name)}}),(0,H.jsx)(_e,{visible:M,defaultPath:G,onClose:function(){return E(!1)},isRepository:h,onOK:function(e){Je(e.path,e.name)}}),(0,H.jsx)(De,{defaultPath:G,visible:W,isRepository:h,onClose:function(){return U(!1)},onOK:function(){var e=r()(s()().mark((function e(n){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=G.split("/"),e.next=3,Xe(G);case 3:Y=[t[0]||""],te=[G],ie(fe()(te)),$(fe()(Y));case 7:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()}),(0,H.jsx)(Te,{pathList:null==G?void 0:G.split("/"),showInputPath:!0,isMergeSelectFile:Re,onFinish:function(e){Re?Ue(e):Xe(e),He(!1)}})]})})),Qe={flex_box_center:"flex_box_center___mJSI5",flex_space_between:"flex_space_between___m2vnD",flex_box_vertical_center:"flex_box_vertical_center___b1pIq",flex_box_center_end:"flex_box_center_end___YagwH",flex_box_column:"flex_box_column___mZenc",commitWrap:"commitWrap___M9LmK",wrap:"wrap___jv461",colorGray:"colorGray___sAqo4",content:"content___aLkz4",itemTime:"itemTime___UnJXc",imageUrl:"imageUrl___u5BIL",blueLight:"blueLight___T56XC",divider:"divider___KTMx3",empty:"empty___ltuTU"},Ve=["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"],Ge=(0,A.connect)((function(e){var n=e.shixunsDetail,t=e.loading;return{shixunsDetail:n,globalSetting:e.globalSetting,user:e.user,loading:t.models.index}}))((function(e){e.shixunsDetail,e.globalSetting,e.loading,e.user;var n=e.dispatch,t=e.isRepository,i=(J()(e,Ve),(0,A.useParams)()),a=(0,d.useState)([]),o=u()(a,2),l=o[0],c=o[1];(0,d.useEffect)((function(){p()}),[t]);var p=function(){var e=r()(s()().mark((function e(){var a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n({type:"shixunsDetail/getRepositoryCommit",payload:{id:i.taskId,secret_repository:!t||void 0}});case 2:(a=e.sent)&&c(a.commits||[]);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,H.jsxs)(H.Fragment,{children:[""==l&&(0,H.jsxs)("div",{className:Qe.empty,children:[(0,H.jsx)("img",{src:He.em,width:"258"}),(0,H.jsx)("br",{}),(0,H.jsx)("span",{className:"c-grey-c font14",children:"暂无提交记录"})]}),""!=l&&(0,H.jsx)("section",{className:Qe.bg,children:(0,H.jsx)("div",{className:Qe.wrap,children:(0,H.jsx)("div",{className:Qe.content,children:null==l?void 0:l.map((function(e){var n,t;return(0,H.jsxs)("div",{children:[(0,H.jsx)(v.Z,{align:"middle",className:"c-white font16",children:(0,H.jsx)(g.Z,{children:e.title})}),(0,H.jsxs)(v.Z,{align:"middle",className:"mt20 ",children:[(0,H.jsx)(g.Z,{children:(0,H.jsx)("img",{className:Qe.imageUrl,src:U.Z.IMG_SERVER+"/"+(null===(n=e.author)||void 0===n?void 0:n.image_url)})}),(0,H.jsx)(g.Z,{className:Qe.blueLight,children:(0,H.jsx)("span",{className:"ml20",children:null===(t=e.author)||void 0===t?void 0:t.username})}),(0,H.jsxs)(g.Z,{children:[(0,H.jsx)("span",{className:"ml20 ".concat(Qe.blueLight),children:"提交于"}),(0,H.jsx)("span",{className:"ml20 ".concat(Qe.blueLight),children:e.time})]})]}),(0,H.jsx)(j.Z,{className:Qe.divider})]})}))})})})]})})),Je=t(84143),qe=["globalSetting","loading","dispatch","practiceSetting","shixunsDetail","haveAuth"],Ke=h.Z.TabPane,Xe=(0,A.connect)((function(e){var n=e.loading;return{globalSetting:e.globalSetting,loading:n,practiceSetting:e.practiceSetting,shixunsDetail:e.shixunsDetail}}))((function(e){e.globalSetting;var n,t,i,a,o,c,p,x,j,b,w,N,Z,k,S,C,D,F,P,B=e.loading,I=e.dispatch,R=e.practiceSetting,T=e.shixunsDetail,O=e.haveAuth,M=(J()(e,qe),(0,d.useState)("1")),E=u()(M,2),L=E[0],z=E[1],W=(0,d.useState)("1"),U=u()(W,2),Q=U[0],V=U[1],G=(0,d.useState)(),xe=u()(G,2),fe=xe[0],me=xe[1],ge=(0,d.useRef)(),je=((0,A.useLocation)(),(0,d.useState)(!0)),_e=u()(je,2),ye=_e[0],be=_e[1],we=(0,d.useState)(["2","1"]),Ne=u()(we,2),Ae=Ne[0],Ze=Ne[1],ke=(0,d.useState)([]),Se=u()(ke,2),Ce=Se[0],De=Se[1],Fe=(0,d.useRef)(),Pe=(0,A.useParams)(),Be=[{id:"1",name:"代码仓库"},{id:"2",name:(0,H.jsxs)("span",{children:[(0,H.jsx)("span",{children:"私密代码仓库"}),(0,H.jsx)(de.Z,{title:"私密版本库的文件对学员始终隐藏,无法访问查看。",children:(0,H.jsx)("i",{className:"iconfont icon-xiaowenhao",style:{marginLeft:2,fontSize:14}})})]})}];(0,d.useEffect)((function(){try{var e,n,t,i,s,a,r;if(null!=T&&null!==(e=T.fileContent)&&void 0!==e&&null!==(e=e.content)&&void 0!==e&&null!==(e=e.content)&&void 0!==e&&e.length||""==(null==T||null===(n=T.fileContent)||void 0===n||null===(n=n.content)||void 0===n?void 0:n.content))if("txt"===(null==T||null===(t=T.fileContent)||void 0===t?void 0:t.file_type))ge.current=window.decodeURIComponent(escape(window.atob(null==T||null===(i=T.fileContent)||void 0===i||null===(i=i.content)||void 0===i?void 0:i.content))),fe=window.decodeURIComponent(escape(window.atob(null==T||null===(s=T.fileContent)||void 0===s||null===(s=s.content)||void 0===s?void 0:s.content))),me(fe);else ge.current=null==T||null===(a=T.fileContent)||void 0===a||null===(a=a.content)||void 0===a?void 0:a.content,fe=null==T||null===(r=T.fileContent)||void 0===r||null===(r=r.content)||void 0===r?void 0:r.content,me(fe)}catch(e){var o,l;ge.current=window.atob(null==T||null===(o=T.fileContent)||void 0===o||null===(o=o.content)||void 0===o?void 0:o.content),fe=window.atob(null==T||null===(l=T.fileContent)||void 0===l||null===(l=l.content)||void 0===l?void 0:l.content),me(fe),y.ZP.warning("请确认文件字符集编码是否为UTF-8")}console.log("codeMirrorSourceValue1212:12",T.fileContent.content)}),[null==T||null===(n=T.fileContent)||void 0===n?void 0:n.content]),(0,d.useEffect)((function(){var e,n=null==R||null===(e=R.sideBar)||void 0===e?void 0:e.selectPath.split("/");Ze(n)}),[null==R||null===(t=R.sideBar)||void 0===t?void 0:t.selectPath]);(0,d.useEffect)((function(){new Promise(function(){var e=r()(s()().mark((function e(n,t){var i,a,r,o;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(""===(null==R||null===(i=R.sideBar)||void 0===i?void 0:i.selectPath)||null==R||null===(a=R.sideBar)||void 0===a||!a.selectPath){e.next=5;break}return e.next=3,I({type:"shixunsDetail/getFileContents",payload:{id:Pe.taskId,path:null==R||null===(r=R.sideBar)||void 0===r?void 0:r.selectPath,secret_repository:!ye||null}});case 3:null!=(o=e.sent)&&o.content||""==(null==o?void 0:o.content)||I({type:"practiceSetting/setSideBarTabs",payload:{selectPath:""}});case 5:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}())}),[null==R||null===(i=R.sideBar)||void 0===i?void 0:i.selectPath]);var Ie=(0,H.jsxs)(pe.Z,{className:q,onClick:function(e){var n;null!=T&&null!==(n=T.detail)&&void 0!==n&&n.secret_repository||"2"!==e.key||V("1"),z(e.key),"1"===e.key?be(!0):be(!1)},children:[(0,H.jsx)(pe.Z.Item,{disabled:!0,children:"切换仓库"},"0"),Be.filter((function(e){var n,t;return null==T||null===(n=T.detail)||void 0===n||!n.init_repository||null!=T&&null!==(t=T.detail)&&void 0!==t&&t.is_jupyter_lab?"2"!==e.id:e})).map((function(e,n){return(0,H.jsx)(pe.Z.Item,{className:"leaveClick",children:e.name},e.id)}))]}),Re=function(){var e=r()(s()().mark((function e(){var n,t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I({type:"shixunsDetail/updateRepositoryFiles",payload:{id:Pe.taskId,path:null==T||null===(n=T.fileContent)||void 0===n||null===(n=n.params)||void 0===n?void 0:n.path,content:fe,secret_repository:!ye||null}});case 2:null!=(t=e.sent)&&t.content&&(y.ZP.info("保存成功"),I({type:"practiceSetting/setSideBarTabs",payload:l()(l()({},R.sideBar),{},{confirmLeave:!1})}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,H.jsxs)("div",{className:K,style:{minHeight:600},children:[(0,H.jsx)("div",{className:X,children:(0,H.jsxs)(v.Z,{align:"middle",className:"w100 c-white",style:{height:60},children:[(0,H.jsx)(g.Z,{flex:"1",children:(0,H.jsxs)(v.Z,{align:"middle",children:[(0,H.jsx)(g.Z,{children:(0,H.jsx)(he.Z,{dropdownRender:function(){return Ie},className:q,children:(0,H.jsxs)("span",{className:"font16 c-white current ml20",children:[Be.find((function(e){return e.id===L})).name," ",(0,H.jsx)("span",{style:{color:"#B0B5D6"},className:"iconfont icon-sanjiaoxing font12"})]})})}),(0,H.jsx)(g.Z,{flex:"81px",children:(0,H.jsx)("div",{className:ae})}),(0,H.jsx)(g.Z,{children:(0,H.jsxs)(h.Z,{className:se,activeKey:Q,onChange:function(e){var n;null!=R&&null!==(n=R.sideBar)&&void 0!==n&&n.confirmLeave?_.Z.confirm({title:"离开此页提示",content:"系统可能不会保存您所做的更改。",okText:"离开",cancelText:"取消",onOk:function(){V(e),I({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}})}}):(V(e),I({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}}))},children:[(0,H.jsx)(Ke,{tab:(0,H.jsx)("span",{className:"leaveClick",children:"代码文件"})},"1"),ye&&(null==T||null===(a=T.detail)||void 0===a?void 0:a.init_repository)&&(0,H.jsx)(Ke,{tab:"提交记录",className:"leaveClick"},"2"),!ye&&(null==T||null===(o=T.detail)||void 0===o?void 0:o.secret_repository)&&(0,H.jsx)(Ke,{tab:"提交记录",className:"leaveClick"},"2")]})})]})}),(ye&&(null==T||null===(c=T.repository)||void 0===c?void 0:c.git_url)||!ye&&(null==T||null===(p=T.secretRepository)||void 0===p?void 0:p.git_url))&&(0,H.jsx)(H.Fragment,{children:(0,H.jsxs)(g.Z,{children:[(0,H.jsx)("span",{className:Y,children:"仓库地址:"}),(0,H.jsx)("input",{readOnly:!0,value:ye?null==T||null===(x=T.repository)||void 0===x?void 0:x.git_url:null==T||null===(j=T.secretRepository)||void 0===j?void 0:j.git_url}),(0,H.jsx)(ve.CopyToClipboard,{text:ye?null==T||null===(b=T.repository)||void 0===b?void 0:b.git_url:null==T||null===(w=T.secretRepository)||void 0===w?void 0:w.git_url,onCopy:function(){return y.ZP.success("复制成功")},children:(0,H.jsx)(de.Z,{placement:"topLeft",title:"点击复制版本库",children:(0,H.jsx)("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"})})})]})})]})}),(0,H.jsxs)("div",{className:$,style:{overflow:"auto"},children:["1"===Q&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)("aside",{className:ee,children:(0,H.jsx)(m.Z,{spinning:!!B.effects["shixunsDetail/getRepositorys"],wrapperClassName:"".concat(te," ").concat(ue),children:(0,H.jsx)(Ue,{setTreeData:De,treeData:Ce,activeKey:L,isRepository:ye,haveAuth:O})})}),(0,H.jsxs)("aside",{className:ne,ref:Fe,children:[""!==(null==R||null===(N=R.sideBar)||void 0===N?void 0:N.selectPath)&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(m.Z,{spinning:!!B.effects["shixunsDetail/getFileContents"],wrapperClassName:te,children:[(0,H.jsx)("div",{className:le,children:(0,H.jsxs)(v.Z,{align:"middle",className:"w100",children:[(0,H.jsx)(g.Z,{children:(0,H.jsx)("span",{className:"iconfont icon-daimacangku2 c-white"})}),(0,H.jsx)(g.Z,{flex:"40px",children:(0,H.jsx)("div",{className:ae,style:{marginLeft:20}})}),(0,H.jsx)(g.Z,{className:ce,children:Ae.map((function(e,n){return(0,H.jsx)("span",{className:"c-blue",children:e})}))})]})}),(0,H.jsx)("div",{className:B.effects["shixunsDetail/getFileContents"]?"hide":"show",children:(0,H.jsx)(Je.Z,{className:"darkBlue",style:{top:66,height:"calc(100% - 60px)",position:"absolute",zIndex:1},filename:null==T||null===(Z=T.fileContent)||void 0===Z?void 0:Z.filename,type:"office"===(null==T||null===(k=T.fileContent)||void 0===k?void 0:k.file_type)?"download":null==T||null===(S=T.fileContent)||void 0===S?void 0:S.file_type,data:fe,monacoEditor:{value:fe,language:null==T||null===(C=T.fileContent)||void 0===C?void 0:C.language,onChange:function(e){return function(e){me(e);var n=-1;n=e===ge.current?0:1,I({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!!n}})}(e)},options:{fontSize:14,readOnly:!O}}})})]}),"txt"===(null==T||null===(D=T.fileContent)||void 0===D?void 0:D.file_type)&&O&&(0,H.jsx)(v.Z,{align:"middle",justify:"center",className:re,children:(0,H.jsx)(g.Z,{children:(0,H.jsx)(f.ZP,{type:"primary",size:"middle",onClick:Re,children:"提交"})})})]}),""==(null==R||null===(F=R.sideBar)||void 0===F?void 0:F.selectPath)&&(null==T||null===(P=T.detail)||void 0===P?void 0:P.init_repository)&&(0,H.jsxs)("div",{className:ie,children:[(0,H.jsx)("img",{src:He.x7,width:"258"}),(0,H.jsx)("br",{}),(0,H.jsxs)("span",{className:"c-grey-c",children:[!(null==Ce||!Ce.length)&&"在左侧代码仓库区域点击目录打开文件",!(null!=Ce&&Ce.length)&&"请先在左侧上传文件或新建文件!"]})]})]})]}),"2"===Q&&(0,H.jsx)("div",{className:oe,children:(0,H.jsx)(Ge,{isRepository:ye})})]})]})})),Ye=t(66248),$e=t(13409),en=t(51136),nn=t(24905),tn=(0,A.connect)((function(e){return{innovation:e.innovation}}))((function(e){var n=e.dispatch,t=e.innovation,i=e.openForkModal;return(0,H.jsx)(_.Z,{title:"启动环境",width:600,okText:"Fork项目",okButtonProps:{type:"primary"},centered:!0,open:"remindfork-project"===t.visibleModalName,destroyOnClose:!0,onCancel:function(){n({type:"innovation/closeModal"})},onOk:function(){i("remindModal")},children:(0,H.jsxs)("div",{style:{marginTop:14},children:[(0,H.jsx)("p",{children:"你不是该项目的创建者/合作者,无法直接启动环境。"}),(0,H.jsx)("p",{children:"请先Fork为你个人的项目后再启动环境。"}),(0,H.jsx)(v.Z,{children:(0,H.jsx)(nn.Z,{checked:t.hideRemindModal,onChange:function(e){return n({type:"innovation/save",payload:{hideRemindModal:e.target.checked}})},children:"不再提示"})})]})})})),sn=p.Z.Paragraph,an=h.Z.TabPane,rn=["#FF7E0F","#165DFF","#44D7B6","red"],on=(0,A.connect)((function(e){return{innovation:e.innovation,user:e.user}}))((function(e){var n,t,i,a,o,c,p,I,E,z,U,Q=e.user,G=e.dispatch,J=(0,d.useState)(),q=u()(J,2),K=q[0],X=q[1],Y=(0,d.useState)(!0),$=u()(Y,2),ee=$[0],ne=$[1],te=(0,A.useParams)().taskId,ie=(0,d.useState)("1"),se=u()(ie,2),ae=se[0],re=se[1],oe=(0,d.useMemo)((function(){var e=Q.userInfo;return(0,M.Ny)()||(null==e?void 0:e.user_id)===(null==K?void 0:K.sci_project.user_id)||(null==K?void 0:K.is_partner)}),[Q,K]),le=(0,d.useMemo)((function(){var e=Q.userInfo;return(0,M.Ny)()||(null==e?void 0:e.user_id)===(null==K?void 0:K.sci_project.user_id)}),[Q,K]),ce=(0,d.useState)(!1),ue=u()(ce,2),de=ue[0],pe=ue[1],he=(0,d.useState)(!1),xe=u()(he,2),fe=xe[0],me=xe[1],ve=x.Z.useForm(),ge=u()(ve,1)[0];(0,d.useEffect)((function(){(0,O.T)(te).then((function(e){ne(!1),e.status||X(e)}))}),[]);var je=function(e){K.my_sci_projects_num>=10&&!(0,M.Ny)()?G({type:"innovation/openSimpleModal",payload:{title:"项目数量达到上限",children:"每位用户最多只能创建10个项目你的项目数量已经达到上限。",footer:(0,H.jsx)(f.ZP,{onClick:function(){return G({type:"innovation/closeSimpleModal"})},type:"primary",children:"我知道了"})}}):G({type:"innovation/save",payload:{visibleModalName:"fork-project",openForkModalPosition:e}})};return(0,H.jsxs)(m.Z,{spinning:ee,children:[K&&(0,H.jsxs)("div",{className:Z,children:[(0,H.jsxs)(v.Z,{justify:"space-between",align:"middle",style:{marginBottom:10},children:[(0,H.jsxs)(g.Z,{className:k,span:20,children:[K.sci_project.username," / ",K.sci_project.name]}),(0,H.jsx)(g.Z,{span:4,style:{textAlign:"right"},children:(0,H.jsx)(f.ZP,{icon:(0,H.jsx)(w.Z,{}),className:S,onClick:function(){return je("forkButton")},children:(0,H.jsx)("span",{children:K.sci_project.forked_count})})})]}),(0,H.jsx)(sn,{ellipsis:{rows:3,expandable:!0,symbol:(0,H.jsxs)("span",{style:{color:"#165dff"},children:["展开",(0,H.jsx)(N.Z,{})]})},className:C,children:K.sci_project.description}),(0,H.jsxs)(v.Z,{justify:"space-between",children:[(0,H.jsxs)(g.Z,{className:D,children:[(0,H.jsxs)("span",{children:["项目环境:",K.mirror_repository_info.name]}),(0,H.jsxs)("span",{className:F,children:["创建时间:",W()(K.sci_project.created_at).format("YYYY-MM-DD HH:mm")]})]}),oe&&(0,H.jsxs)(g.Z,{className:P,children:[(0,H.jsx)("span",{onClick:function(){A.history.push("/innovation/project/edit/".concat(te))},children:"编辑"}),le&&(0,H.jsx)("span",{className:B,onClick:function(){G({type:"innovation/openModal",payload:"delete-project"})},children:"删除"})]})]}),(0,H.jsx)(j.Z,{}),(0,H.jsxs)(h.Z,{activeKey:ae,onChange:function(e){re(e)},tabBarExtraContent:{right:(0,H.jsx)(f.ZP,{type:"primary",children:(0,H.jsx)("a",{onClick:function(){oe?(0,O.T)(te).then((function(e){if(X(e),-1===e.verify_info.status)return pe(!0),void ge.setFieldsValue({max_cpu:2,min_cpu:.2,max_memory:1024,min_memory:1024,max_disk:1,survival_time:.5});0!==e.verify_info.status?(1===e.verify_info.status&&A.history.push("/innovation/tasks/".concat(te)),2!==e.verify_info.status||_.Z.warning({title:"启动环境提示",content:"您申请的环境资源【未通过】,无法启动环境。",okText:"查看审核结果",onOk:function(){re("3")}})):_.Z.warning({title:"启动环境提示",content:"环境资源正在【审核中】,审核通过后才能启动环境",okText:"查看审核结果",onOk:function(){re("3")}})})):"true"===window.localStorage.getItem("hideRemindModal")?je("forkButton"):G({type:"innovation/save",payload:{visibleModalName:"remindfork-project",hideRemindModal:!0}})},target:"_blank",children:"启动环境"})})},children:[(0,H.jsx)(an,{tab:"代码",children:(0,H.jsx)(Xe,{haveAuth:oe})},"1"),(0,H.jsx)(an,{tab:"数据集",children:(0,H.jsx)(Ye.Z,{detail:K})},"2"),(0,H.jsx)(an,{tab:"合作者",children:(0,H.jsx)($e.Z,{position:"detail"})},"4"),(0,H.jsxs)(an,{tab:"环境信息",children:[(0,H.jsxs)("div",{className:R,children:[(0,H.jsxs)("div",{className:T,children:[(0,H.jsx)("p",{children:"硬件信息"}),(0,H.jsxs)("div",{style:{marginLeft:28},children:[(0,H.jsxs)("div",{children:[(0,H.jsx)("label",{children:"CPU"}),(0,H.jsx)("span",{children:(null==K||null===(n=K.sci_project_config)||void 0===n?void 0:n.max_cpu)+"核"||0})]}),(0,H.jsxs)("div",{children:[(0,H.jsx)("label",{children:"最低CPU"}),(0,H.jsx)("span",{children:(null==K||null===(t=K.sci_project_config)||void 0===t?void 0:t.min_cpu)+"核"||0})]}),(0,H.jsxs)("div",{children:[(0,H.jsx)("label",{children:"内存限制:"}),(0,H.jsx)("span",{children:(null==K||null===(i=K.sci_project_config)||void 0===i?void 0:i.max_memory)+"M"||0})]}),(0,H.jsxs)("div",{children:[(0,H.jsx)("label",{children:"内存要求:"}),(0,H.jsx)("span",{children:(null==K||null===(a=K.sci_project_config)||void 0===a?void 0:a.min_memory)+"M"||0})]}),(0,H.jsxs)("div",{children:[(0,H.jsx)("label",{children:"磁盘限制:"}),(0,H.jsx)("span",{children:(null==K||null===(o=K.sci_project_config)||void 0===o?void 0:o.max_disk)+"G"||0})]}),(0,H.jsxs)("div",{children:[(0,H.jsx)("label",{children:"GPU数量"}),(0,H.jsx)("span",{children:(null==K||null===(c=K.sci_project_config)||void 0===c?void 0:c.gpu)||"- -"})]})]})]}),(0,H.jsxs)("div",{className:T,children:[(0,H.jsx)("p",{children:"环境时间"}),(0,H.jsxs)("div",{style:{marginLeft:28},children:[(0,H.jsx)("label",{children:"环境时长:"}),(0,H.jsx)("span",{children:(null==K||null===(p=K.sci_project_config)||void 0===p?void 0:p.survival_time)+"小时"||0})]})]}),(0,H.jsxs)("div",{className:T,children:[(0,H.jsx)("p",{children:"审核状态"}),(0,H.jsxs)("div",{style:{marginLeft:28},children:[(0,H.jsx)("label",{children:"审核状态:"}),(0,H.jsx)("span",{style:{color:rn[parseInt("".concat(null==K||null===(I=K.verify_info)||void 0===I?void 0:I.status))+1]},children:(null==K||null===(E=K.verify_info)||void 0===E?void 0:E.status_cn)||"- -"})]}),(0,H.jsxs)("div",{style:{marginLeft:28,wordBreak:"break-all"},children:[(0,H.jsx)("label",{children:"未通过原因:"}),(0,H.jsx)("span",{children:(null==K||null===(z=K.verify_info)||void 0===z?void 0:z.refuse_reason)||"- -"})]})]})]}),(0,H.jsx)("div",{style:{textAlign:"center"},children:(0,H.jsx)(f.ZP,{disabled:(null==K||null===(U=K.verify_info)||void 0===U?void 0:U.status)<=0,onClick:function(){ge.setFieldsValue(l()({},null==K?void 0:K.sci_project_config)),pe(!0)},style:{marginTop:30,textAlign:"center"},type:"primary",children:"重新申请"})})]},"3")]}),(0,H.jsx)(L,{detail:K}),(0,H.jsx)(V,{projectId:te}),(0,H.jsx)(tn,{openForkModal:je})]}),(0,H.jsx)(_.Z,{title:"启动环境",open:de,okButtonProps:{loading:fe},onCancel:function(){pe(!1)},onOk:function(){ge.submit()},children:(0,H.jsx)("div",{children:(0,H.jsxs)(x.Z,{labelCol:{span:6},wrapperCol:{span:18},form:ge,preserve:!1,onFinish:function(){var e=r()(s()().mark((function e(n){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return me(!0),e.next=3,(0,en.ZP)("/api/sci/projects/".concat(te,"/commit_verify.json"),{method:"POST",body:l()({},n)});case 3:e.sent,pe(!1),(0,O.T)(te).then((function(e){ne(!1),e.status||X(e)})),y.ZP.info("提交审核成功"),me(!1);case 8:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,H.jsx)(x.Z.Item,{label:"CPU(核)",name:"max_cpu",rules:[{required:!0}],children:(0,H.jsx)(b.Z,{min:0,style:{width:"100%"}})}),(0,H.jsx)(x.Z.Item,{label:"最低CPU(核)",name:"min_cpu",rules:[{required:!0}],children:(0,H.jsx)(b.Z,{min:0,style:{width:"100%"}})}),(0,H.jsx)(x.Z.Item,{label:"内存限制(M)",name:"max_memory",rules:[{required:!0}],children:(0,H.jsx)(b.Z,{min:0,style:{width:"100%"}})}),(0,H.jsx)(x.Z.Item,{label:"内存要求(M)",name:"min_memory",rules:[{required:!0}],children:(0,H.jsx)(b.Z,{min:0,style:{width:"100%"}})}),(0,H.jsx)(x.Z.Item,{label:"磁盘限制(G)",name:"max_disk",rules:[{required:!0}],initialValue:1,children:(0,H.jsx)(b.Z,{min:0,style:{width:"100%"}})}),(0,H.jsx)(x.Z.Item,{label:"GPU数量",name:"gpu",children:(0,H.jsx)(b.Z,{min:0,style:{width:"100%"},precision:0})}),(0,H.jsx)(x.Z.Item,{label:"环境时长(小时)",name:"survival_time",rules:[{required:!0}],children:(0,H.jsx)(b.Z,{min:.1,style:{width:"100%"},precision:1})})]})})})]})}))},13409:function(e,n,t){t.d(n,{Z:function(){return E}});var i=t(82242),s=t.n(i),a=t(7557),r=t.n(a),o=t(41498),l=t.n(o),c=t(79800),u=t.n(c),d=t(59301),p=t(7880),h=t(43418),x=t(8591),f=t(3113),m=t(56511),v=t(53864),g=t(27065),j=t(89918),_=t(39647),y=t.n(_),b=t(5112),w="title___rpaor",N="content___Hb0l5",A="add___THwHB",Z="colorBlue___yc4F8",k="radio___hn9Vt",S=t(37712),C=["shixunsDetail","globalSetting","loading","dispatch","onReloadData"],D=(0,p.connect)((function(e){var n=e.shixunsDetail,t=e.loading;return{shixunsDetail:n,globalSetting:e.globalSetting,loading:t}}))((function(e){var n=e.shixunsDetail,t=(e.globalSetting,e.loading),i=e.dispatch,s=e.onReloadData,a=(y()(e,C),(0,d.useState)()),o=u()(a,2),c=o[0],p=o[1],f=(0,d.useState)([]),m=u()(f,2),v=m[0],g=m[1];(0,d.useEffect)((function(){"Collaborators-ChangeManager"===n.actionTabs.key&&j()}),[n.actionTabs.key]);var j=function(){var e=l()(r()().mark((function e(){var t,s;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i({type:"shixunsDetail/getChangeManager",payload:{id:null===(t=n.actionTabs.params)||void 0===t?void 0:t.id}});case 2:s=e.sent,g(s||[]);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_=function(){var e=l()(r()().mark((function e(){var t,a;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c){e.next=3;break}return x.ZP.info("所选人员为空,没有更换成功"),e.abrupt("return");case 3:return e.next=5,i({type:"shixunsDetail/changeManager",payload:{id:null===(t=n.actionTabs.params)||void 0===t?void 0:t.id,user_id:c}});case 5:a=e.sent,D(),a&&(s(),x.ZP.info(a.message));case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),D=function(){i({type:"shixunsDetail/setActionTabs",payload:{}}),p(null)};return(0,S.jsx)(h.Z,{centered:!0,keyboard:!1,closable:!1,title:"更换管理员",open:"Collaborators-ChangeManager"===n.actionTabs.key,confirmLoading:t.effects["shixunsDetail/changeManager"],onOk:_,onCancel:D,children:(0,S.jsxs)("div",{children:[(0,S.jsxs)("div",{className:w,children:["选择的成员将会成为新的管理员",(0,S.jsx)("br",{}),"您将不再拥有管理员的权限,但您仍是合作团队的一员"]}),(0,S.jsx)("div",{className:N,children:v.length?(0,S.jsx)(b.ZP.Group,{value:c,onChange:function(e){return p(e.target.value)},children:v.map((function(e,n){return(0,S.jsx)(b.ZP,{className:k,value:e.user_id,children:e.name},n)}))}):(0,S.jsx)("div",{className:A,children:(0,S.jsxs)("span",{children:["请先将新的管理员通过",(0,S.jsx)("a",{className:Z,onClick:function(){var e;i({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:null===(e=n.actionTabs.params)||void 0===e?void 0:e.id}}})},children:'"添加合作者"'}),"加入合作者列表"]})})})]})})})),F=t(99313),P=t(68104),B=F.Z.TabPane,I=function(e){var n=e.visible,t=e.onCancel,i=(e.onSelectGroup,e.shixunId),s=e.onSelectCollaborator;return(0,S.jsx)(h.Z,{title:"添加合作者",open:n,width:1100,centered:!0,keyboard:!1,onCancel:t,maskClosable:!1,destroyOnClose:!0,forceRender:!0,bodyStyle:{minHeight:400,padding:"0 20px 20px 20px"},footer:null,children:(0,S.jsx)(F.Z,{defaultActiveKey:"1",children:(0,S.jsx)(B,{tab:"搜索添加",children:(0,S.jsx)(P.Z,{type:1,onCancel:t,container_type:2,container_id:i,onSelect:s})},"1")})})},R={bg:"bg___Onnmh",wrap:"wrap___VTtdp",modal:"modal___MArZa",content:"content___a69LK",head:"head____zVzr",headCount:"headCount___GhK7o",button:"button___DoAh3",itemWrap:"itemWrap___UR35k",imgWrap:"imgWrap___DpS0R",img:"img___N9se3",manager:"manager___m4Mzg",itemContent:"itemContent___Ut7hr",nameWrap:"nameWrap___y73uS",name:"name___hJUHg",actionGroup:"actionGroup___QEytf",deleteIcon:"deleteIcon___XGFcN",schoolWrap:"schoolWrap___qsoOp",school:"school___yh8l2",countWrap:"countWrap___MQKPn",deletetitle:"deletetitle___nAICN",yseTitle:"yseTitle___t5fzp"},T=t(22415),O=t(34514),M=t(51136),E=(0,p.connect)((function(e){var n=e.shixunsDetail,t=e.loading;return{shixunsDetail:n,globalSetting:e.globalSetting,user:e.user,loading:t}}))((function(e){var n=e.shixunsDetail,t=(e.globalSetting,e.loading,e.user,e.dispatch),i=e.position,a=(0,d.useRef)(),o=(0,d.useState)(0),c=u()(o,2),_=c[0],y=c[1],b=(0,d.useState)([]),w=u()(b,2),N=w[0],A=w[1],Z=(0,d.useState)({id:null,page:1}),k=u()(Z,2),C=k[0],F=k[1],P=(0,p.useParams)(),B=(0,d.useState)({}),E=u()(B,2),H=E[0],L=E[1],z=(0,d.useMemo)((function(){return(0,j.Ny)()||(null==H?void 0:H.current_user_is_creator)||(null==H?void 0:H.current_user_is_partner)}),[j.Ny,H]),W=(0,d.useMemo)((function(){return(0,j.Ny)()||(null==H?void 0:H.current_user_is_creator)}),[j.Ny,H]);(0,d.useEffect)((function(){a.current=null==P?void 0:P.taskId,C.id=null==P?void 0:P.taskId,F(C),U(C)}),[]);var U=function(){var e=l()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,M.ZP)("/api/sci/projects/".concat(null==P?void 0:P.taskId,"/get_project_partners.json"),{method:"get"});case 2:(t=e.sent)&&(A(t.users||[]),y(t.users_count),L(t));case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Q=function(){var e=l()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return C.page=1,F(C),n=(0,O.g)(),e.next=5,t({type:"user/getUserInfo",payload:n});case 5:return e.next=7,U(C);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function V(){t({type:"shixunsDetail/setActionTabs",payload:{}})}var G,J,q={visible:"Collaborators-AddCollaborator"===n.actionTabs.key,onCancel:V,shixunId:a.current,onSelectCollaborator:(J=l()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return V(),e.next=3,(0,M.ZP)("/api/sci/projects/".concat(a.current,"/bacht_add_project_partners.json"),{method:"POST",body:{user_ids:n}});case 3:e.sent&&(x.ZP.success("添加成功"),Q());case 5:case"end":return e.stop()}}),e)}))),function(e){return J.apply(this,arguments)}),onSelectGroup:(G=l()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return V(),e.next=3,t({type:"shixunsDetail/addTeachGroupMember",payload:{identifier:a.current,group_id:n.group_id}});case 3:e.sent&&(x.ZP.success("添加成功"),Q());case 5:case"end":return e.stop()}}),e)}))),function(e){return G.apply(this,arguments)})};return(0,S.jsxs)("section",{children:[(0,S.jsxs)("div",{className:R.wrap,children:[(0,S.jsxs)("div",{className:R.content,children:[(0,S.jsxs)("div",{className:R.head,children:[(0,S.jsxs)("span",{className:R.headCount,children:["合作者(",_,"人)"]}),z&&(0,S.jsx)("div",{children:(0,S.jsx)(f.ZP,{className:R.button,style:{marginRight:"detail"===i?0:"20px"},onClick:function(){t({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:a.current}}})},icon:(0,S.jsx)(T.Z,{}),children:"添加合作者"})})]}),(0,S.jsx)("div",{className:R.list,children:(0,S.jsx)(m.Z,{loading:!1,active:!0,avatar:{size:40},paragraph:{rows:3},className:"mt30",children:N.map((function(e,n){return(0,S.jsx)("div",{style:{display:"inline-block",width:"50%"},children:(0,S.jsxs)("div",{className:R.itemWrap,children:[(0,S.jsxs)("a",{target:"_blank",className:R.imgWrap,children:[(0,S.jsx)("img",{alt:"用户头像",height:"48",width:"48",className:R.img,src:"".concat(g.Z.IMG_SERVER,"/images/").concat(null==e?void 0:e.image_url)}),(null==e?void 0:e.is_creator)&&(0,S.jsx)("span",{className:R.manager,children:"创建者"})]}),(0,S.jsxs)("div",{className:R.itemContent,children:[(0,S.jsxs)("div",{className:R.nameWrap,children:[(0,S.jsx)("a",{target:"_blank",className:R.name,children:null==e?void 0:e.user_name}),(0,S.jsx)("div",{className:R.actionGroup,children:null!=e&&e.is_creator||!W?null:(0,S.jsx)("a",{className:R.deletetitle,onClick:function(){return n=e.id,void h.Z.confirm({centered:!0,okText:"确定",cancelText:"取消",title:"提示",content:(0,S.jsx)("div",{className:R.modal,children:"确定要删除吗?"}),onOk:(t=l()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,M.ZP)("/api/sci/projects/".concat(null==P?void 0:P.taskId,"/del_project_partner.json"),{method:"DELETE",body:{user_id:n}});case 2:e.sent,x.ZP.info("删除成功"),C.page=1,F(C),U(C);case 7:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})});var n,t},children:"删除"})})]}),(0,S.jsx)("p",{className:R.schoolWrap,children:(0,S.jsx)("span",{className:R.school,children:null==e?void 0:e.school_name})})]})]})},n)}))})})]}),_>10&&(0,S.jsx)("div",{className:R.countWrap,children:(0,S.jsx)(v.Z,{showQuickJumper:!1,showSizeChanger:!1,total:_,onChange:function(e){return function(e){C.page=e,F(C),U(C)}(e)},pageSize:10,current:C.page})})]}),(0,S.jsx)(D,{onReloadData:Q}),(0,S.jsx)(I,s()({},q))]})}))},54665:function(e,n,t){t.d(n,{$L:function(){return l},M3:function(){return b},NV:function(){return u},T:function(){return m},V1:function(){return p},ie:function(){return _},ln:function(){return g},pV:function(){return N},th:function(){return x}});var i=t(7557),s=t.n(i),a=t(41498),r=t.n(a),o=t(51136);function l(e){return c.apply(this,arguments)}function c(){return(c=r()(s()().mark((function e(n){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o.ZP)("/api/sci/projects.json",{method:"post",body:n}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function u(e,n){return d.apply(this,arguments)}function d(){return(d=r()(s()().mark((function e(n,t){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o.ZP)("/api/sci/projects/".concat(t,".json"),{method:"put",body:n}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e){return h.apply(this,arguments)}function h(){return(h=r()(s()().mark((function e(n){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o.ZP)("/api/sci/projects/sci_mirror_repositories.json",{method:"get",params:n}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e,n){return f.apply(this,arguments)}function f(){return(f=r()(s()().mark((function e(n,t){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o.ZP)("/api/sci/projects/".concat(n,".json"),{method:"delete",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e){return v.apply(this,arguments)}function v(){return(v=r()(s()().mark((function e(n){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o.ZP)("/api/sci/projects/".concat(n,".json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(e){return j.apply(this,arguments)}function j(){return(j=r()(s()().mark((function e(n){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o.ZP)("/api/sci/projects/data_sets.json",{method:"get",params:n}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return y.apply(this,arguments)}function y(){return(y=r()(s()().mark((function e(n){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o.ZP)("/api/sci/projects/".concat(n,"/start_environment.json"),{method:"post"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e,n){return w.apply(this,arguments)}function w(){return(w=r()(s()().mark((function e(n,t){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o.ZP)("/api/sci/projects/".concat(n,"/fork_sci_project.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function N(e,n){return A.apply(this,arguments)}function A(){return(A=r()(s()().mark((function e(n,t){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o.ZP)("/api/sci/projects/".concat(n,"/get_data_sets.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},14661:function(e,n){n.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},96908:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aDBsHIieiHjkVDlhpuavbkU7ThE9wtjQLMbTosyFzGc5pGoD/RyQ13ANnJBk9YdSm9YVg6+tB0NC2ZtqZ6dn/1P+rKirwqaRqrknVuSM9mZ8J0FD2CetmJ1MipO74WkPXn0VOg72CvY1ZRuJU9uRvQPW4ZLes0jdszlvG3+CoRWroDyERZPtH1Dk1HH56B5vHQWFvJzrUf42lrUaMlPJ4BMxOxtnQAmWhgJLL+3gPQR5+E1qsPDdXl5G9YjUdipIreGpzG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