build/static/js/44.03a9ad0a.chunk.js

1 line
81 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(this.webpackJsonp=this.webpackJsonp||[]).push([[44],{"/k9T":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o(n("kLXV"));n("k3Gp");var i=o(n("q1tI"));function o(e){return e&&e.__esModule?e:{default:e}}n("L9fm"),t.default=function(e){var t=e.title,n=e.children,o=e.btn,r=e.onCancel,l=e.visible;return i.default.createElement(a.default,{visible:l,onCancel:r,title:t,width:"520px",footer:o,centered:!0,wrapClassName:"deleteBox"},n)}},"07mW":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(n("kLXV"));n("k3Gp");var i=r(n("q1tI")),o=n("sYIF");function r(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.QQVisible,r=e.setQQVisible;return i.default.createElement(a.default,{centered:!0,destroyOnClose:!0,visible:t,title:"提示",width:"500px",okText:"立即联系",cancelText:"取消",onOk:function(){(0,o.openNewWindow)("https://qm.qq.com/cgi-bin/qm/qr?k=DWdqQHAbbfw7_rqm0d-Q_vDn5H6bMp91&jump_from=webapi")},onCancel:function(){return r(!1)}},i.default.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},i.default.createElement("p",null,"您可以在QQ服务群向管理员申请获得继续操作的权限"),i.default.createElement("img",{src:n("wZ8e"),width:200,height:200,alt:""}),i.default.createElement("p",null,"群号693542422 ")))}},"1enj":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(n("kLXV")),i=s(n("2/Rp")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,i=!1,o=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){i=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k3Gp"),n("L/Qf");var r=n("q1tI"),l=s(r);n("hREH"),n("7dqz");var u=s(n("bjH3")),c=s(n("vDqi"));function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.showNotice,n=e.system_notification,s=e.history,f=e.login,d=e.hideSystemNotice,m=(0,r.useState)(!1),p=o(m,2),g=p[0],b=p[1];return(0,r.useEffect)((function(){n&&!n.is_read&&t&&f&&b(!0)}),[n,f]),l.default.createElement(a.default,{visible:g,width:"1000px",footer:!1,title:!1,centered:!0,closable:!1,wrapClassName:"systemBox"},l.default.createElement("div",{className:"sysBox"},l.default.createElement("div",{className:"sysnoticeBox"},l.default.createElement("p",{className:"ntitle"},n&&n.subject),l.default.createElement("p",{className:"nSubtitle"},n&&n.sub_subject),l.default.createElement(u.default,{className:"break_word_comments imageLayerParent",value:n&&n.content,url:s.location}),l.default.createElement("div",{className:"nBtn"},l.default.createElement(i.default,{type:"primary",className:"btnblue",onClick:function(){if(f&&n&&n.id){var e="/users/"+f+"/system_notification_histories.json";c.default.post(e,{system_notification_id:n.id}).then((function(e){b(!1),d()})).catch((function(e){b(!1),d()}))}else b(!1),d()}},"确认并继续")))))}},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=n("q1tI"),o=l(i),r=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}n("7dqz");var s=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e._html,n=e.small;return o.default.createElement("div",{className:n?"none_panels small":"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:r.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},t)))}}]),t}(i.Component);t.default=s},"32ZI":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(n("CtXQ")),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();n("2oDE");var o=n("q1tI"),r=s(o),l=s(n("17x9")),u=s(n("LvDl")),c=s(n("2CTR"));function s(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleScroll=function(){if(!(n.props.count<n.props.pageSize)&&1!==n.props.type&&2!==n.props.type){var e=n.pullRef;e.scrollTop+e.clientHeight>=e.scrollHeight-200&&n.loadData()}},n.handleLoadClick=function(){n.loadData()},n.loadData=function(){n.props.onPullRefresh()},n.state={},n.pullRef={},n.onScrollList=u.default.throttle(n.handleScroll,200,{leading:!1,trailing:!0}),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){var e=document.querySelector(".pull-refresh-wrap");e&&e.addEventListener("scroll",this.onScrollList)}},{key:"componentWillUnmount",value:function(){var e=document.querySelector(".pull-refresh-wrap");e&&e.removeEventListener("scroll",this.onScrollList)}},{key:"renderLoading",value:function(){switch(this.props.type){case 0:return r.default.createElement("div",{className:"text-center",onClick:this.handleLoadClick},"显示更多");case 1:return r.default.createElement("div",{className:"text-center"},r.default.createElement(a.default,{type:"loading"}),r.default.createElement("span",{className:"text-center"},"加载中..."));case 2:default:return r.default.createElement("div",{className:"text-center"},"没有更多了")}}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,a=t.count,i=t.children;return r.default.createElement("div",{className:"pull-refresh-wrap "+n,ref:function(t){e.pullRef=t}},i,a<1&&r.default.createElement(c.default,{_html:"暂无未读消息"}))}}]),t}(o.Component);f.propTypes={className:l.default.string,children:l.default.any,onPullRefresh:l.default.func.isRequired,type:l.default.oneOf([0,1,2]),count:l.default.number.isRequired,pageSize:l.default.number.isRequired},t.default=f},"4Fp3":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAqdJREFUSEutlkmojWEYx39/FCLzrKwsSKZMCQtDlhaiJCQ2LNjd3Igr87UjUobM3DUrCxQZImOGhQ0yR66LuNfw6H97jz7H+c45xbP8nvd9fu8zf6KMREQPYCwwBOgHdAEC+Ai8AB4CNyW9zzOjUoqI6A7MBsYAbYEfwDvgA+A7XYGeQJukuwqcktRYbO8vQESMAxYAHYDHwDngnqTP2csR0QkYAUwDBgHWH5V0K3vuD0BEzADmAF+B45KulwthQRcRE4D5QHvghKQLBd1vQESMBJYDb4Fdkl5VYzwD6Q+sAJy3PZLuWNcKSDFfnxJYL+llTm6c8DaSruXoBwCrgJ9AnaSmAmAhMBk4kHc5PWQt0E5SXZ53ETERWAxclHRM6fWbXXaSNlUo22oAfrTP9bU3BkwF5gGHJF35V0DydEqqxAYDnJhhQI0kN1CuRERFDxLAfVLf2oQRsdHNJGl1paqpFpAgBjQbsCPF3x9aJSImATNLAN29HhXPSujOSLqdseEH9zRgN/BE0vaM0pXgpisW17rFI6NYTku6XATobYBf/l3SmipCtBVoKVemGYDtthiwEhiakvypQpKrAkSEp64jcjtbpgcleSqWq6JqAc7hIuBIodG2AE8l2cD/ADjcHhu1hVFhmql7Jd3II0RERQ8iYjywFDgvqaEA6AZscLKBbZLelIJERA3QKGlfjt7joTbp1rlxs+N6FLAMsPGdkjy2/5CIkCT3wV8SEX3SuO6Vxv19HypeONOBuWk7HZZ0t1LpWh8RowFP5I7AyZILJ1O/9mRJ2k6PgLPAA0nNWVhEeHt5hvlRg4EvwH5J97Ln8pa+czILcEd7sX8DXmc62HrHu11a+pcAd3JTscclARlv/Hdhj4YDA4HOSeep+xxwCO+U+pso2PgF6Ac3jqT1Lr8AAAAASUVORK5CYII="},"5A3O":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=p(n("W9HT")),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();t.TPMIndexHOC=function(e){return function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.keyupListener=function(e){"Escape"===e.key&&t.setState({globalLoading:!1})},t.gettablogourlnull=function(){t.setState({mygetHelmetapi:void 0}),document.title="Forge";var e=document.createElement("link"),n=document.getElementById("dynamic-favicon");e.id="dynamic-favicon",e.rel="shortcut icon",e.href="/react/build/./favicon.ico",n&&document.head.removeChild(n),document.head.appendChild(e)},t.gettablogourldata=function(e){document.title=e.data.setting.name;var t=document.createElement("link"),n=document.getElementById("dynamic-favicon");t.id="dynamic-favicon",t.rel="shortcut icon",t.href="/"+e.data.setting.tab_logo_url,n&&document.head.removeChild(n),document.head.appendChild(t)},t.getAppdata=function(){try{var e=JSON.parse(localStorage.getItem("chromesetting")),n=JSON.parse(localStorage.getItem("chromesettingresponse"));t.setState({mygetHelmetapi:e}),e.tab_logo_url?t.gettablogourldata(n):t.gettablogourlnull()}catch(e){console.log("hoc获取游览器配置失败 重新请求开始读取配置"),t.getAppdatausr()}},t.getAppdatausr=function(){c.default.get("/setting.json").then((function(e){if(e)if(e.data){t.setState({mygetHelmetapi:e.data.setting}),localStorage.setItem("chromesetting",JSON.stringify(e.data.setting)),localStorage.setItem("chromesettingresponse",JSON.stringify(e));try{e.data.setting.tab_logo_url?t.gettablogourldata(e):t.gettablogourlnull()}catch(e){t.gettablogourlnull()}}else t.gettablogourlnull();else t.gettablogourlnull()})).catch((function(e){t.gettablogourlnull()}))},t.fetchUsers=function(){"/"===t.props.match.path?t.setState({publicNav:!0}):t.setState({publicNav:!1});c.default.get("/users/get_user_info.json").then((function(e){e&&e.data&&(t.initCommonState(e.data),t.setState({tpmLoading:!1,completeProfile:e.data.profile_completed}),e.data&&e.data.login&&(e.data.need_edit_info&&t.setState({giteaVisible:!0,email:e.data.email}),"/"===t.props.match.path&&2===t.props.history.length&&t.props.history.push("/"+e.data.login)))})).catch((function(e){console.log(e)}))},t.hideLoginDialog=function(){t.setState({isRender:!1,isloginCancel:void 0})},t.showLoginDialog=function(e){t.setState({isRender:!0,isloginCancel:"iscancel",gopage:e})},t.checkIfLogin=function(){return t.state.current_user&&""!=t.state.current_user.login},t.onOk=function(e){var n=t.state.current_user;c.default.post("/users/sync_user_info.json",i({login:n&&n.login},e)).then((function(e){e&&e.data&&0===e.data.status&&(t.setState({giteaVisible:!1,email:void 0}),window.location.reload())})).catch((function(e){}))},t.hideSystemNotice=function(){t.setState({showNotice:!1}),t.getAppdatausr()},t.showCompeleteDialog=function(){t.setState({showCP:!0})},window.$("#root").css("position","relative"),t.state={tpmLoading:!0,resLoading:!0,Headertop:void 0,isRender:!1,globalLoading:!1,dataquerys:{},isloginCancel:void 0,mygetHelmetapi:null,email:void 0,completeProfile:!1,showCP:!1,showNotice:!0,gopage:void 0},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"initCommonState",value:function(e){var t=Object.assign({},i({},e),{image_url:""+e.image_url});this.setState({user:t,current_user:t})}},{key:"componentWillUnmount",value:function(){window.removeEventListener("keyup",this.keyupListener)}},{key:"componentWillMount",value:function(){this.fetchUsers()}},{key:"componentDidMount",value:function(){window.addEventListener("keyup",this.keyupListener),"/"===this.props.match.path||("/403"===this.props.match.path?document.title="你没有权限访问":"/nopage"===this.props.match.path&&(document.title="没有找到该页面")),this.getAppdata(),window.scrollTo(0,0)}},{key:"render",value:function(){var t=this,n=this.state,o=n.isRender,c=n.current_user,p=n.giteaVisible,g=n.email,b=n.completeProfile,k=n.showCP,h=n.showNotice,E=n.publicNav,y=n.mygetHelmetapi,A={showLoginDialog:this.showLoginDialog,checkIfLogin:this.checkIfLogin,resetUserInfo:this.fetchUsers,showCompeleteDialog:this.showCompeleteDialog};return r.default.createElement("div",{className:"indexHOC"},r.default.createElement(m.default,{showNotice:h,system_notification:y&&y.system_notification,history:this.props.history,login:c&&c.login,hideSystemNotice:this.hideSystemNotice}),r.default.createElement(f.default,{visible:p,email:g,onOk:this.onOk}),r.default.createElement(d.default,{visible:!b&&k,onCancel:function(){t.setState({showCP:!1})},history:this.props.history}),!0===o?r.default.createElement(s.default,i({Modifyloginvalue:function(){return t.hideLoginDialog()}},this.props,this.state)):"",r.default.createElement(l.default,i({},this.state,this.props,A,{publicNav:E})),r.default.createElement(a.default,{spinning:this.state.globalLoading,delay:0,className:"globalSpin",size:"large",tip:this._gLoadingTip||"加载中..."},r.default.createElement("div",{className:"newContainer newContainers"},r.default.createElement("div",{style:{height:"58px"}}),r.default.createElement("div",{style:{minHeight:"60vh"}},c&&r.default.createElement(e,i({initCommonState:function(e){return t.initCommonState(e)}},this.props,this.state,A))))),r.default.createElement(u.default,i({},this.state,this.props)))}}]),n}(r.default.Component)},n("04bd");var r=p(n("q1tI")),l=p(n("POou")),u=p(n("PQdb")),c=p(n("vDqi"));n("7aN/");var s=p(n("CWZq")),f=p(n("vwE6")),d=p(n("beKO")),m=p(n("1enj"));function p(e){return e&&e.__esModule?e:{default:e}}},"69Ao":function(e,t,n){},"7aN/":function(e,t,n){},"7dqz":function(e,t,n){},ApAT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=d(n("BvKs")),i=d(n("KrTs")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,i=!1,o=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){i=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("2WkQ"),n("JvnM");var r=n("q1tI"),l=d(r),u=n("eO8H"),c=d(n("vDqi")),s=d(n("32ZI")),f=n("FCV+");function d(e){return e&&e.__esModule?e:{default:e}}function m(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}n("Dgc1"),n("j4F2"),n("TVwk"),n("69Ao"),t.default=function(e){var t=e.visible,n=e.showNotification,d=e.resetUserInfo,p=e.current_user.login,g=(0,r.useState)(!0),b=o(g,2),k=b[0],h=b[1],E=(0,r.useState)("notification"),y=o(E,2),A=y[0],v=y[1],S=(0,r.useState)(0),N=o(S,2),I=(N[0],N[1],(0,r.useState)(0)),R=o(I,2),J=R[0],w=R[1],C=(0,r.useState)(0),Z=o(C,2),O=Z[0],x=Z[1],T=(0,r.useState)([]),j=o(T,2),B=j[0],D=j[1],P=(0,r.useState)(),Q=o(P,2),q=Q[0],M=Q[1],G=(0,r.useState)(0),z=o(G,2),H=z[0],L=z[1],W=(0,r.useState)([]),V=o(W,2),F=V[0],U=V[1],Y=(0,r.useState)(void 0),K=o(Y,2),X=K[0],_=K[1];function $(e){c.default.get("/users/"+p+"/messages.json",{params:e}).then((function(t){if(t&&t.data)if(w(t.data.unread_notification),M(t.data.unread_atme),"notification"===e.type){var n=t.data.messages;0!==e.page&&(n=[].concat(m(B),m(n))),D(n),k&&(h(!1),0===t.data.unread_notification&&0!==t.data.unread_atme&&v("atme"))}else if("atme"===e.type){var a=t.data.messages;0!==e.page&&(a=[].concat(m(F),m(a))),U(a)}}))}function ee(){c.default.post("/users/"+p+"/messages/read.json",{type:A,ids:[-1]}).then((function(e){var t=e.data;t&&(0===t.status?function(e){if("notification"===e){var t=B.slice();t.forEach((function(e){e.status=2})),D(t),w(0)}else if("atme"===e){var n=F.slice();n.forEach((function(e){e.status=2})),U(n),M(0)}}(A):n(t.message))}))}function te(e){c.default.post("/users/"+p+"/messages/read.json",{type:A,ids:[e.id]}).then((function(t){var a=t.data;a&&(0===a.status?(!function(e){if(!X||X.id!==e.id)if("notification"===e.type){var t=B.slice(),n=B.indexOf(e);1===t[n].status&&J>0&&w(J-1),t[n].status=2,D(t)}else if("atme"===e.type){var a=F.slice(),i=F.indexOf(e);1===a[i].status&&q>0&&M(q-1),a[i].status=2,U(a)}_(e)}(e),e.notification_url&&window.open(e.notification_url)):n(a.message))}))}return(0,r.useEffect)((function(){d()}),[J,q]),(0,r.useEffect)((function(){x(0),L(0)}),[t]),(0,r.useEffect)((function(){$({type:A,limit:10,page:"notification"===A?O:"atme"===A?H:"",status:1})}),[O,H]),(0,r.useEffect)((function(){var e={type:A,limit:10,page:0,status:1};k&&(e.type="atme"),t&&$(e)}),[t]),l.default.createElement("div",{className:"messageHoverDiv notice01"},l.default.createElement("div",{className:"sshHead hoverNotice-head"},l.default.createElement(a.default,{mode:"horizontal",selectedKeys:A,onClick:function(e){return v(e.key)}},l.default.createElement(a.default.Item,{key:"notification"},l.default.createElement(i.default,{count:J},"系统通知")),l.default.createElement(a.default.Item,{key:"atme"},l.default.createElement(i.default,{count:q},"@我")))),"notification"===A&&l.default.createElement(s.default,{className:"hoverNotice-body",onPullRefresh:function(){x(O+1)},count:B&&B.length,pageSize:10},B&&B.length>0&&B.map((function(e){return l.default.createElement("div",{key:e.id+Math.random(),className:"noticeCont-back",onClick:function(){te(e)}},l.default.createElement("div",{className:"noticeCont "+(e.notification_url?"pointer":"")},l.default.createElement("span",{style:{visibility:1===e.status?"visible":"hidden"}},l.default.createElement(i.default,{color:"#FA2020"})),l.default.createElement("i",{className:"iconfont "+f.noticeSourceType[e.source]}),l.default.createElement("div",{className:"noticeCont-text"},l.default.createElement("span",{className:"content-span notice-cont-span",dangerouslySetInnerHTML:{__html:e.content}}),l.default.createElement("span",{className:"timeSpan"},e.time_ago))))}))),"atme"===A&&l.default.createElement(s.default,{className:"hoverNotice-body",onPullRefresh:function(){L(H+1)},count:F.length,pageSize:10},F.map((function(e){return l.default.createElement("div",{key:e.id+Math.random(),className:"noticeCont-back",onClick:function(){te(e)}},l.default.createElement("div",{className:"noticeCont "+(e.notification_url?"pointer":"")},l.default.createElement("span",{style:{visibility:1===e.status?"visible":"hidden"}},l.default.createElement(i.default,{color:"#FA2020"})),l.default.createElement("div",{className:"noticeCont-text"},l.default.createElement("span",{className:"content-span atme-cont-span",dangerouslySetInnerHTML:{__html:e.content}}),l.default.createElement("span",{className:"timeSpan"},e.time_ago))))}))),l.default.createElement("div",{className:"hoverNotice-buttom"},l.default.createElement(u.Link,{to:{pathname:"/settings/notice",query:{noticeType:A}}},"全部消息"),J>0&&"notification"===A&&l.default.createElement("a",{onClick:ee},"所有系统消息一键已读"),q>0&&"atme"===A&&l.default.createElement("a",{onClick:ee},"所有@我一键已读")))}},"CON+":function(e,t,n){},Dgc1:function(e,t,n){},"FCV+":function(e,t,n){"use strict";var a;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});t.noticeSourceType=(i(a={IssueAssigned:"icon-yixiuicon1",IssueAssignerExpire:"icon-yixiuicon1",IssueAtme:"icon-yixiuicon1",IssueChanged:"icon-yixiuicon1",IssueCreatorExpire:"icon-yixiuicon1",IssueDelete:"icon-yixiuicon1",IssueDeleted:"icon-yixiuicon1",IssueJournal:"icon-yixiuicon1",LoginIpTip:"icon-xitongtongzhiicon",OrganizationJoined:"icon-xiaoxi2",OrganizationLeft:"icon-xiaoxi2",OrganizationRole:"icon-xiaoxi2",ProjectJoined:"icon-xiaoxi2",ProjectLeft:"icon-xiaoxi2",ProjectRole:"icon-xiaoxi2",ProjectDelete:"icon-daimakuicon1",ProjectFollowed:"icon-daimakuicon1",ProjectForked:"icon-daimakuicon1",ProjectIssue:"icon-daimakuicon1",ProjectSettingChanged:"icon-daimakuicon1",ProjectTransfer:"icon-daimakuicon1",ProjectVersion:"icon-daimakuicon1",ProjectMemberJoined:"icon-daimakuicon1",ProjectMemberLeft:"icon-daimakuicon1",ProjectPraised:"icon-daimakuicon1",ProjectPullRequest:"icon-hebingqingqiuicon",PullRequestAssigned:"icon-hebingqingqiuicon",PullRequestAtme:"icon-hebingqingqiuicon",PullRequestChanged:"icon-hebingqingqiuicon",PullRequestJournal:"icon-hebingqingqiuicon",PullRequestClosed:"icon-hebingqingqiuicon",PullRequestMerged:"icon-hebingqingqiuicon"},"PullRequestClosed","icon-hebingqingqiuicon"),i(a,"ProjectMilestone","icon-lichengbeiicon"),a)},GNFk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(n("kLXV")),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();n("k3Gp");var o=n("q1tI"),r=u(o),l=(n("sYIF"),u(n("vDqi")));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.gotoback=function(e){!0===e?window.location.href="/":null!=n.props.AccountProfiletype?(n.setState({AccountProfiletype:!1}),n.props.hideAccountProfile()):(window.location.href="/",n.setState({AccountProfiletype:!1}))},n.state={AccountProfiletype:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){var e=this;null!=this.props.AccountProfiletype&&this.setState({AccountProfiletype:this.props.AccountProfiletype}),l.default.interceptors.response.use((function(t){return null!=t&&t&&402===t.data.status&&(document.title="提示",e.setState({AccountProfiletype:!0})),t}),(function(e){}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,i=t.okText,o=t.okHref,l=t.cannelText,u=t.Accounturltype;return r.default.createElement(a.default,{keyboard:!1,title:"提示",visible:this.state.AccountProfiletype,closable:!1,footer:null,destroyOnClose:!0,centered:!0,width:"530px"},r.default.createElement("div",{className:"task-popup-content"},r.default.createElement("p",{className:"task-popup-text-center font-16"}," ",n||"您需要去完善您的个人资料,才能使用此功能"),r.default.createElement("div",{className:"clearfix mt30 edu-txt-center"},r.default.createElement("a",{className:"task-btn mr30",onClick:function(){return e.gotoback(u)}},l||"稍后完善"),r.default.createElement("a",{className:"task-btn task-btn-orange",href:o||"/account/profile/edit"}," ",i||"立即完善"))))}}]),t}(o.Component);t.default=c},INgk:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAHFRJREFUeF7tnQmUXFWZx39fdwwJ2wgkAdkDKCqLKCDiAkHpCgGFJLgeYUSWkKruVkjEoEGBkcyEJYB2d3VYB0cQlGEbIKFfwxgJDOKwKDhCBgj7lkBw2GlS/c25Vd2xO11d9V69verec/ok5/R3v+V/77/vfe/d+32CbaEhcFhWNyvAdv2wDU18SGErlEkCE4DNgZ1QxiOMA8YP/Bh/3in+KO8ixf+vBNYgrKafVTTxMv282ATPN8Ozt3bLa6EF0eCKpcHj9x3+tHadWOjnY6LsqsKHUXYBDgC28K3cm4JXgTtRHhfhMRVWNDfxyNIOWe1NjZUeioAliMf5MK1ddy4UmAIcBHwO2NGjiqjFnwLuBn7X3MyypR3yRNQOpNmeJUiV0ZtyjI7bYCOm0k+LCl8DJqV5wIFVolxLE73vvUXPsivk3ZTHE6r7liBl4M3kdDuELwOHosV/67cJtwBLUG5x8vJs/QZaW2SWIAO4Zdp0shaYIcJ04Au1wZn6XstVuVGaucHplCdTH00AATQ0QabM0gljx/B1YDawRwB41pOKh4HFfWv57bKL5ZV6CsxLLA1JkJZWnYFylMBML2A1qqzC9QhX9nbJDY2GQcMQZFq7brq2wGyBE4vfH2yrBYGVCheNaWbx0g55vRYFaetT9wQZeOBuV6VNSh/jbPOJgMI7InSidNT7g33dEuSQ2bpjfzNzUN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WBSbVAnptcqUa6lid733qInzpQ6iUGkgiOWIB5HaVq77lwoMAU4CIp14Xf0qCJq8aeAu4HfNTezbGmHPBG1A2m2Zwnic/SmtevEQj8fE2VXVT6MsAtwALCFT9Veu78K3InwuCiPqbCiuYlHlnbIaq+KrPzfEbAECXE2mGMvBdiuH7ahiQ/Rz5Y0MQllIrA5sBPKeIRxwPiBH+PRO8Uf5V2k+P+VwBqFVxBWCbxEPy82wfPN8Gy9He8IcUg8q/5/jW001aqzqp8AAAAASUVORK5CYII="},L9fm:function(e,t,n){},OSyE:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=m(n("kLXV")),i=m(n("9yH6")),o=m(n("Vl3Y")),r=m(n("5rEg")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,i=!1,o=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){i=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k3Gp"),n("K4yd"),n("tULf"),n("1vPl");var c=n("q1tI"),s=m(c),f=m(n("vDqi")),d=m(n("aqs5"));function m(e){return e&&e.__esModule?e:{default:e}}t.default=o.default.create()((0,c.forwardRef)((function(e){var t=e&&e.form,n=t.getFieldDecorator,m=t.validateFields,p=t.setFieldsValue,g=(0,c.useState)(!1),b=u(g,2),k=b[0],h=b[1];return(0,c.useEffect)((function(){k||p({code:void 0,role:"developer"})}),[k]),s.default.createElement(s.default.Fragment,null,s.default.createElement(a.default,{title:"加入项目",width:"480px",visible:k,centered:!0,onOk:function(){m((function(t,n){if(console.log(t),!t){f.default.post("/applied_projects.json",{applied_project:l({},n)}).then((function(t){t&&t.data&&(h(!1),e.showNotification("申请加入项目成功,等待审核!"))})).catch((function(e){}))}}))},onCancel:function(){return h(!1)}},s.default.createElement(o.default,{layout:"inline",className:"inviteForm"},s.default.createElement(o.default.Item,{label:"项目邀请码"},n("code",{rules:[{required:!0,message:" "},{validator:function(e,t,n){t?(t.length<6||t.length>6)&&n("请输入6位数的邀请码"):n("请输入6位数的邀请码"),n()}}]})(s.default.createElement(r.default,{placeholder:"请输入6位项目邀请码",autoComplete:"off",maxLength:6,style:{width:"300px"}}))),s.default.createElement(o.default.Item,{label:"选择角色"},n("role",{rules:[{required:!0,message:"请选择角色"}]})(s.default.createElement(i.default.Group,null,s.default.createElement(i.default,{value:"manager"},"管理员"),s.default.createElement(i.default,{value:"developer"},"开发者"),s.default.createElement(i.default,{value:"reporter"},"报告者")))))),s.default.createElement(d.default,l({},e,{sureFunc:function(){return h(!0)}}),"加入项目"))})))},POou:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=y(n("jsC+")),i=y(n("BvKs")),o=y(n("TeRw")),r=y(n("5rEg")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();n("aIZi"),n("2WkQ"),n("O+I2"),n("1vPl");var c=n("q1tI"),s=y(c),f=y(n("GNFk")),d=n("sYIF"),m=y(n("vDqi")),p=y(n("Po8q")),g=(n("eO8H"),y(n("CWZq"))),b=y(n("wWFW")),k=y(n("OSyE"));n("7aN/");var h=y(n("aqs5"));n("Dgc1");y(n("ApAT")),y(n("YLPv"));var E=y(n("07mW"));function y(e){return e&&e.__esModule?e:{default:e}}window.$;var A=r.default.Search;window._header_componentHandler=null;var v="code.educoder.net"===window.location.hostname||"testforgeplus.educoder.net"===window.location.hostname,S=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.SearchInput=function(e,t){return e?s.default.createElement("div",{onBlur:function(){setTimeout((function(){n.setState({openSearch:!1})}),300)}},s.default.createElement(A,{placeholder:"实践课程/教学课堂/实践项目/交流问答",className:"search-input mr20",onSearch:function(e){return n.onGlobalSearch(e,t)},autoFocus:!0})):s.default.createElement("i",{className:"iconfont icon-sousuo font-18 color-white ml30",onClick:function(){n.setState({openSearch:!0})}})},n.onGlobalSearch=function(e,t){window.location.href=t+"?value="+e},n.openNotification=function(e){o.default.open({message:"提示",description:e})},n.submitsubmitapplications=function(){var e=n.state,t=e.submitapplicationssum,a=e.submitapplicationsvaluedata;n.setState({submitapplications:!1,RadioGroupvalue:void 0}),0===t?void 0!==a&&(window.location.href="/courses/"+a):1===t&&void 0!==a&&(window.location.href="/projects/"+a)},n.educoderlogin=function(){n.setState({isRender:!0})},n.educoderloginysl=function(){p.default.remove("autologin");m.default.get("/accounts/logout.json").then((function(e){void 0!==e&&(window.location.href="/")})).catch((function(e){console.log(e)}))},n.hideAddcoursestypes=function(){n.setState({Addcoursestypes:!1})},n.HideAddcoursestypess=function(e){n.setState({Addcoursestypes:!1,mydisplay:!0,occupation:e})},n.ModalCancelsy=function(){n.setState({mydisplay:!1})},n.hidetojoinclass=function(){n.setState({tojoinclasstype:!1,tojoinitemtype:!1,tojoinclasstitle:void 0,rolearr:["",""],Checkboxteacherchecked:!1,Checkboxstudentchecked:!1,Checkboxteachingchecked:!1,Checkboxteachertype:!1,Checkboxteachingtype:!1,code_notice:!1,checked_notice:!1,RadioGroupvalue:void 0})},n.cancelModulationModels=function(){n.setState({isRenders:!1})},n.setevaluatinghides=function(){n.setState({setevaluatinghides:!0})},n.Modifyloginvalue=function(){n.setState({isRender:!1})},n.hideAccountProfile=function(){n.setState({AccountProfiletype:!1})},n.gettablogourlnull=function(){n.setState({settings:void 0});var e=document.createElement("link"),t=document.getElementById("dynamic-favicon");e.id="dynamic-favicon",e.rel="shortcut icon",e.href="/react/build/./favicon.ico",t&&document.head.removeChild(t),document.head.appendChild(e)},n.gettablogourldata=function(e){document.title=e.data.setting.name;var t=document.createElement("link"),n=document.getElementById("dynamic-favicon");t.id="dynamic-favicon",t.rel="shortcut icon",t.href="/"+e.data.setting.tab_logo_url,n&&document.head.removeChild(n),document.head.appendChild(t)},n.handleVisibleChanges=function(e){n.setState({visiblemyss:e})},n.geturlsdata=function(){m.default.get("/setting.json").then((function(e){e&&e.data?(n.setState({settings:e.data.setting}),localStorage.setItem("chromesetting",JSON.stringify(e.data.setting)),localStorage.setItem("chromesettingresponse",JSON.stringify(e))):n.gettablogourlnull()})).catch((function(e){n.gettablogourlnull()}))},n.matchpaths=function(e){var t=n.props.match,a=3007==window.location.port?"https://testforgeplus.trustie.net":"https://"+window.location.hostname,i="";return i=e.indexOf("http")>-1?a+t.url:t.path,!(!e||i!==e&&i!==e+"/")},n.checkProfile=function(e){var t=n.props,a=t.showCompeleteDialog;t.completeProfile?window.location.href(e):a&&a()},n.addMenu=function(e){return e&&e.length>0&&s.default.createElement("div",{className:"dropdownFlex"},s.default.createElement(i.default,null,e.map((function(e,t){return"加入课堂"!==e.name&&"加入开发项目"!==e.name&&s.default.createElement(i.default.Item,{key:e.name+t},s.default.createElement(h.default,l({},n.props,{sureFunc:function(){window.location.href=e.url}}),e.name))})),s.default.createElement(i.default.Item,null,s.default.createElement(k.default,l({},n.props,{showNotification:n.props.showNotification})))))},n.renderMenu=function(e){var t=n.props.current_user;return s.default.createElement(i.default,{className:"currentMenu"},s.default.createElement(i.default.Item,null,s.default.createElement("span",{className:"currentName",title:t&&t.username},t&&t.username)),e&&e.length>0&&e.map((function(e,t){return s.default.createElement("li",{key:t},s.default.createElement("a",{href:e.url,target:"_blank"},e.name))})),s.default.createElement(i.default.Item,null,s.default.createElement("a",{onClick:function(){return n.educoderloginysl()}},"退出")))},n.handleVisibleChange=function(e){n.setState({visible:e})},n.turntoEngineer=function(e){var t=n.props.current_user;t&&t.login?e?window.location.href=e:n.setState({QQVisible:!0}):n.educoderlogin()},n.setQQVisible=function(){n.setState({QQVisible:!1})},n.state={Addcoursestypes:!1,tojoinitemtype:!1,tojoinclasstitle:void 0,rolearr:["",""],Checkboxteacherchecked:!1,Checkboxstudentchecked:!1,Checkboxteachingchecked:!1,Checkboxteachertype:!1,Checkboxteachingtype:!1,code_notice:!1,RadioGroupvalue:void 0,submitapplications:!1,isRender:!1,showTrial:!1,setevaluatinghides:!1,occupation:0,mydisplay:!1,settings:null,visiblemyss:!1,openSearch:!1,visible:!1,QQVisible:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"componentDidMount",value:function(){this.geturlsdata(),window._header_componentHandler=this;try{window.sessionStorage.setItem("yslgeturls",JSON.stringify(window.location.href))}catch(e){}}},{key:"componentWillReceiveProps",value:function(e,t){this.setState({user:e.user})}},{key:"render",value:function(){var e=this,t=this.props.user,i=this.state,o=i.QQVisible,r=i.AccountProfiletype,u=i.user,c=i.isRender,m=i.settings,p=(i.visible,m&&m.common&&m.common.search);return s.default.createElement("div",{className:"newHeaders",id:"nHeader"},s.default.createElement(E.default,{QQVisible:o,setQQVisible:this.setQQVisible}),s.default.createElement("div",{className:"headerContent"},!0===c?s.default.createElement(g.default,l({},this.props,this.state,{Modifyloginvalue:function(){return e.Modifyloginvalue()}})):"",!0===r?s.default.createElement(f.default,l({hideAccountProfile:function(){return e.hideAccountProfile()}},this.props,this.state)):"",m&&m.nav_logo_url?s.default.createElement("a",{href:m&&m.new_course.default_url,className:"fl mr50"},s.default.createElement("img",{alt:"可控开源社区",className:"logoimg",src:(0,d.getImageUrl)("/"+m.nav_logo_url)})):"",s.default.createElement("div",{className:"head-nav pr",id:"head-navpre1"},m&&m.navbar&&m.navbar.length>0?s.default.createElement("ul",{id:"header-nav"},m.navbar&&m.navbar.map((function(t,n){var a=t.link,i=t.hidden;return s.default.createElement("li",{key:n,onClick:function(){return e.headtypesonClick(t.link,!0)},className:v&&"大学开源"===t.name||!0===e.matchpaths(t.link)?"pr active":"pr",style:i?{display:"none"}:{display:"flex"}},s.default.createElement("a",{href:a},s.default.createElement("div",{dangerouslySetInnerHTML:{__html:t.name}})))})),m&&void 0!==m.engineer_url?s.default.createElement("li",null,s.default.createElement("a",{onClick:function(){return e.turntoEngineer(m.engineer_url)}},"工程认证")):""):""),s.default.createElement("div",{className:"head-right"},p&&s.default.createElement(b.default,this.props),t&&(t.main_site||t.login)&&m&&m.add&&m.add.length>0?s.default.createElement(a.default,{overlay:this.addMenu(m&&m.add),placement:"bottomRight"},s.default.createElement("img",{src:n("4Fp3"),alt:"",width:"16px",className:"mr15 ml30"})):"",m&&m.common&&m.common.notice&&t&&t.login?s.default.createElement("a",{href:m.common.notice,className:"message-icon"},t&&s.default.createElement("i",{className:"iconfont icon-xiaoxilingdang color-grey-6 ml15 mr15"})):""),!u||u&&!u.login?s.default.createElement("span",{className:"font-15 ml30"},s.default.createElement("a",{onClick:function(){return e.educoderlogin()},className:"mr5 color-white"},"登录"),m&&m.common&&m.common.register&&s.default.createElement("span",null,s.default.createElement("em",{className:"vertical-line"}),s.default.createElement("a",{className:"ml5 color-white",href:""+m.common.register,target:"_blank"},"注册"))):s.default.createElement(a.default,{placement:"bottomRight",overlay:this.renderMenu(m&&m.personal)},s.default.createElement("a",{href:"/"+(this.props.current_user&&this.props.current_user.login)},s.default.createElement("img",{alt:"头像",src:(0,d.getImageUrl)("/"+u.image_url),className:"currentImg"})))))}}]),t}(c.Component);t.default=S},PQdb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,i=!1,o=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){i=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=n("q1tI"),r=(a=o)&&a.__esModule?a:{default:a};n("Dgc1"),t.default=function(){var e,t=(0,o.useState)(void 0),n=i(t,2),a=n[0],l=n[1];return(0,o.useEffect)((function(){try{var e=JSON.parse(localStorage.getItem("chromesetting"));l(e.footer)}catch(e){}}),[]),r.default.createElement("div",null,r.default.createElement("div",{style:{height:"810px"}}),r.default.createElement("div",{className:"newFooter edu-txt-center"},a&&(e={__html:a},r.default.createElement("div",{dangerouslySetInnerHTML:e}))))}},TVwk:function(e,t,n){},YLPv:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAH4AAABGCAYAAAAKCiBIAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7l3Qm4rWVVB3BwyGab5+xY2TxPaqVdkNDCMoug1OAaFmolJTlPUICaGIo54ED3CjgPJQppoiigIKKSICoOBzQmpxwZVPD/2896z/Odffbe37fPufvce+l9nvXsffb+vvd9v3et9V//td737rvnHrtQu+mmm26V6dw28n2Rn4z8VL3eLq/fEfn6yK1ryl/J61fr/Z71eovO37fMe5/fEPlS5NOR/418sOQjeb088n977rmna/5ftbZgm/rQUTClfF3kmyPfG/nRyM9Hfibyg5FvjFwXuTry8chlkasin6GoyGcj15ZSm/I9A8Xrm3Ho/5siDOk7q9/b5/WHIt9VY3w5r1dG3hf5n8iHa5zP5/X6GATjulm2TVN8lE0p3xL5nggF/GzkpyPfH7mpFGDheeRHI5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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,i=!1,o=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){i=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=n("q1tI"),o=l(i),r=l(n("vwE6"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.children,n=e.sureFunc,l=e.showCompeleteDialog,u=e.completeProfile,c=e.className,s=e.current_user,f=e.checkIfLogin,d=e.showLoginDialog,m=(0,i.useState)(!1),p=a(m,2),g=p[0],b=p[1];return o.default.createElement(o.default.Fragment,null,o.default.createElement(r.default,{visible:g,onCancel:function(){return b(!1)},current_user:s}),o.default.createElement("a",{className:c,onClick:function(){f()?!s.has_gitea_user||s.has_gitea_user&&!s.is_sync_pwd?b(!0):u?n():l&&l():d()}},t))}},beKO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(n("2/Rp")),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,i=!1,o=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){i=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf");var o=n("q1tI"),r=s(o),l=s(n("/k9T")),u=s(n("vDqi")),c=s(n("INgk"));function s(e){return e&&e.__esModule?e:{default:e}}n("CON+"),t.default=function(e){var t=e.visible,n=e.onCancel,s=(e.history,(0,o.useState)(t)),f=i(s,2),d=f[0],m=f[1],p=(0,o.useState)(!1),g=i(p,2),b=g[0],k=g[1];function h(){n(),m(!1)}return(0,o.useEffect)((function(){u.default.interceptors.response.use((function(e){return!e||411!==e.data.status&&412!==e.data.status||(m(!0),412===e.data.status&&k(!0)),e}),(function(e){}))}),[]),(0,o.useEffect)((function(){m(t)}),[t]),r.default.createElement(l.default,{title:"完善资料",onCancel:h,visible:d,btn:b?r.default.createElement("div",null,r.default.createElement(a.default,{type:"primary",size:"large",onClick:h},"好的")):r.default.createElement("div",null,r.default.createElement(a.default,{size:"large",onClick:h},"暂不补充"),r.default.createElement(a.default,{type:"primary",size:"large",onClick:function(){n(),m(!1),setTimeout((function(){window.open("/settings/profile","_blank")}),200)}},"好的"))},r.default.createElement("div",{className:"contents"},r.default.createElement("img",{src:c.default,alt:""}),b?r.default.createElement("p",null,"目标用户个人资料不完整,需提醒目标用户补充资料后以进行后续操作"):r.default.createElement("p",null,"您目前的个人资料不完整,需要补充资料以进行后续操作。是否前往补充个人信息?")))}},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("q1tI"),i=c(a);n("vg9a");var o=n("ud8/"),r=c(o);n("SJMd");var l=c(n("wMS7")),u=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var s=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,f=e.style,d=void 0===f?{}:f,m=e.url,p=String(n),g=(0,a.useMemo)((function(){var e=(0,r.default)(p),t=(0,o.getMathExpressions)();return p.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,o.getTocContent)()),(0,o.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var a=t[n],i=a.type,o=a.expression;return(0,u.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===i,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,o.resetMathExpressions)(),l.default.sanitize(e)}),[p]);(0,a.useEffect)((function(){if(m&&m.hash&&g){var e=m.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[m,g]);var b=(0,a.useRef)();function k(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var a=document.getElementById(n.replace("#",""));a&&a.scrollIntoView(!0)}}}return(0,a.useEffect)((function(){if(b.current&&g&&g.match(s)&&window.PR.prettyPrint(),b.current)return b.current.addEventListener("click",k),function(){b.current.removeEventListener("click",k),(0,o.resetMathExpressions)(),(0,o.cleanToc)()}}),[g,b.current,k]),i.default.createElement("div",{ref:b,style:d,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:g}})}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5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FbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},hREH:function(e,t,n){},j4F2:function(e,t,n){},uRYN:function(e,t,n){},ux30:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=n("q1tI"),r=(a=o)&&a.__esModule?a:{default:a},l=n("5A3O"),u=n("sYIF");function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f=function(e){function t(){return c(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.current_user;e.mygetHelmetapi;return r.default.createElement("div",{className:"newMain newTable clearfix"},r.default.createElement("div",{className:" edu-txt-center mt60"},r.default.createElement("img",{src:(0,u.getImageUrl)("/images/warn/pic_404.jpg")}),r.default.createElement("p",{className:"font-16 mt56 newImages"},r.default.createElement("p",null,"你访问的页面不存在"),"您可尝试",(!t||!t.login)&&r.default.createElement("p",{style:{display:"inline"}},"您可尝试",r.default.createElement("a",{href:"/login",className:"color-blue"},"登录"),"或"),r.default.createElement("a",{href:"/",className:"color-blue"},"返回首页"),",也可通过",r.default.createElement("a",{target:"_blank",href:"https://qm.qq.com/cgi-bin/qm/qr?k=YVGUhY7uK8ovpyd7tG_lHe2qGZ63LOij&jump_from=webapi",className:"color-blue"},"QQ"),"向我们反馈")))}}]),t}(o.Component);t.default=(0,u.SnackbarHOC)()((0,l.TPMIndexHOC)(f))},vwE6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=f(n("kLXV")),i=f(n("Vl3Y")),o=f(n("5rEg")),r=f(n("2/Rp")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};n("k3Gp"),n("tULf"),n("1vPl"),n("L/Qf");var u=n("q1tI"),c=f(u);n("uRYN");var s=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}t.default=i.default.create()((0,u.forwardRef)((function(e){var t=e.form,n=e.visible,f=e.current_user,d=e.onCancel,m=e.isCancel,p=t.getFieldDecorator,g=t.validateFields,b=t.setFieldsValue;return(0,u.useEffect)((function(){f&&f.email&&b({email:f.email})}),[f]),c.default.createElement(a.default,{visible:n,title:"提示",width:"500px",maskClosable:m,onCancel:d,footer:c.default.createElement(r.default,{type:"primary",onClick:function(){g((function(e,t){e||function(e){var t="/accounts/gitea_register.json",n=f.email,a=f.is_sync_pwd;n&&!a&&(t="/users/change_password.json"),s.default.post(t,l({login:f&&f.login},e)).then((function(e){e&&e.data&&0===e.data.status&&window.location.reload()})).catch((function(e){}))}(t)}))}},"确定"),centered:!0},c.default.createElement("div",null,c.default.createElement("p",{className:"mb15 edu-txt-center",style:{maxWidth:"350px",margin:"0px auto"}},f&&f.email?"平台已检测到您已绑定邮箱"+f.email+",请您确认如下操作":"平台已检测到您未绑定邮箱,为不影响使用协同开发功能,请先绑定邮箱"),c.default.createElement(i.default,{labelCol:{span:5},wrapperCol:{span:18}},c.default.createElement(i.default.Item,{label:"邮箱"},p("email",{rules:[{required:!0,message:"请输入邮箱账号"}]})(c.default.createElement(o.default,{placeholder:"请输入您的邮箱账号",width:"220px",disabled:f&&f.email}))),c.default.createElement(i.default.Item,{label:"密码"},p("password",{rules:[{required:!0,message:"请输入您的平台密码"}]})(c.default.createElement(o.default.Password,{placeholder:"请输入您的平台密码",width:"220px"}))))))})))},wWFW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=l(n("5rEg")),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,i=!1,o=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){i=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("1vPl");var o=n("q1tI"),r=l(o);function l(e){return e&&e.__esModule?e:{default:e}}var u=a.default.Search;t.default=function(e){var t=e.history,n=(0,o.useState)(!1),a=i(n,2),l=a[0],c=a[1];return r.default.createElement(r.default.Fragment,null,l?r.default.createElement("div",{onBlur:function(){setTimeout((function(){c(!1)}),500)}},r.default.createElement(u,{placeholder:"请输入搜索关键字",className:"search-input mr20",onSearch:function(e){t.push("/search?value="+e)},autoFocus:!0,style:{width:"260px"}})):r.default.createElement("i",{className:"iconfont icon-sousuo font-18 ml30",style:{color:"#a5a5a5"},onClick:function(){c(!0)}}))}},wZ8e:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcYAAAHGCAYAAADuYispAAAAAklEQVR4AewaftIAABHTSURBVO3BQY4cy5IEQdNA3//KNo2/8NU8XzCQyCpSReivSJKk/zmRJEnjRJIkjRNJkjROJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ40SSJI0TSZI0TiRJ0jiRJEnjRJIkjRNJkjROJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ40SSJI0TSZI0TiRJ0jiRJEnjRJIkjRNJkjROJEnSOJEkSeNEkiSNE0mSNH7yMiB/s7a5AWTTNhsgN9pmA2TTNp8MyI22uQHkv7TNDSCbttkAudE2bwJyo22eBGTTNhsgf7O2ecuJJEkaJ5IkaZxIkqRxIkmSxokkSRonkiRpnEiSpPGTD9c2nwzIk9pmA2TTNjeAPAnIpm1uANm0zQbIDSBPAXIDyKZtPhmQG22zAfLN2uaTAflUJ5IkaZxIkqRxIkmSxokkSRonkiRpnEiSpHEiSZLGT74ckCe1zZOAbNpm0zYbIDfaZgPkRts8qW1utM0GyKZtntI2GyBPArJpmw2QTds8CcimbW4A+WRAntQ23+pEkiSNE0mSNE4kSdI4kSRJ40SSJI0TSZI0TiRJ0viJXtU2T2qbDZA3Adm0zZOAbNpm0zYbIJu2+VZtswGyaZsbbbMBsmmbDZBN29xoG32mE0mSNE4kSdI4kSRJ40SSJI0TSZI0TiRJ0jiRJEnjJ3oVkCe1zZPaZgNk0zYbIJu2eRKQJwF5S9vcAPIkIJu2uQFk0z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