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/layouts__user.3c1d8d86.asyn...

148 lines
51 KiB

This file contains ambiguous Unicode 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.

(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{"1Sn+":
/*!*************************************************!*\
!*** ./src/components/Header/search-input.less ***!
\*************************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},"498V":
/*!****************************************!*\
!*** ./src/components/Header/logo.svg ***!
\****************************************/
/*! no static exports found */
/*! exports used: default */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/logo.22b9a281.svg"},"55Ip":
/*!***************************************************************!*\
!*** ./node_modules/react-router-dom/esm/react-router-dom.js ***!
\***************************************************************/
/*! exports provided: MemoryRouter, Prompt, Redirect, Route, Router, StaticRouter, Switch, generatePath, matchPath, useHistory, useLocation, useParams, useRouteMatch, withRouter, BrowserRouter, HashRouter, Link, NavLink */
/*! exports used: Link, NavLink */function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return E}));var a=n(/*! react-router */"Ty5D"),o=n(/*! @babel/runtime/helpers/esm/inheritsLoose */"dI71"),l=n(/*! react */"q1tI"),i=n.n(l),r=n(/*! history */"YS25"),c=(n(/*! prop-types */"17x9"),n(/*! @babel/runtime/helpers/esm/extends */"wx14")),s=n(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */"zLVn"),u=n(/*! tiny-invariant */"9R94");i.a.Component;i.a.Component;var m=function(e,t){return"function"==typeof e?e(t):e},d=function(e,t){return"string"==typeof e?Object(r.c)(e,null,null,t):e},v=function(e){return e},f=i.a.forwardRef;void 0===f&&(f=v);var g=f((function(e,t){var n=e.innerRef,a=e.navigate,o=e.onClick,l=Object(s.a)(e,["innerRef","navigate","onClick"]),r=l.target,u=Object(c.a)({},l,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||r&&"_self"!==r||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),a())}});return u.ref=v!==f&&t||n,i.a.createElement("a",u)}));var p=f((function(e,t){var n=e.component,o=void 0===n?g:n,l=e.replace,r=e.to,p=e.innerRef,b=Object(s.a)(e,["component","replace","to","innerRef"]);return i.a.createElement(a.e.Consumer,null,(function(e){e||Object(u.a)(!1);var n=e.history,a=d(m(r,e.location),e.location),s=a?n.createHref(a):"",g=Object(c.a)({},b,{href:s,navigate:function(){var t=m(r,e.location);(l?n.replace:n.push)(t)}});return v!==f?g.ref=t||p:g.innerRef=p,i.a.createElement(o,g)}))})),b=function(e){return e},h=i.a.forwardRef;void 0===h&&(h=b);var E=h((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,l=e.activeClassName,r=void 0===l?"active":l,v=e.activeStyle,f=e.className,g=e.exact,E=e.isActive,x=e.location,_=e.sensitive,j=e.strict,I=e.style,k=e.to,A=e.innerRef,w=Object(s.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i.a.createElement(a.e.Consumer,null,(function(e){e||Object(u.a)(!1);var n=x||e.location,l=d(m(k,n),n),s=l.pathname,y=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),C=y?Object(a.f)(n.pathname,{path:y,exact:g,sensitive:_,strict:j}):null,O=!!(E?E(C,n):C),S=O?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(f,r):f,N=O?Object(c.a)({},I,{},v):I,L=Object(c.a)({"aria-current":O&&o||null,className:S,style:N,to:l},w);return b!==h?L.ref=t||A:L.innerRef=A,i.a.createElement(p,L)}))}))},"6Fuo":
/*!******************************************************************!*\
!*** ./src/components/Header/components/Join/index.less?modules ***!
\******************************************************************/
/*! no static exports found */
/*! exports used: default */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={flex_box_center:"flex_box_center___3p8A0",flex_space_between:"flex_space_between___2wMwo",flex_box_vertical_center:"flex_box_vertical_center___2fKhV",flex_box_center_end:"flex_box_center_end___27Yk8",flex_box_column:"flex_box_column___3Khbo",rightMenu:"rightMenu___20Eel",joinMenu:"joinMenu___2blJt",joinBoard:"joinBoard___2XUXK",joinCol:"joinCol___3o5gp"}},"6cGi":
/*!*********************************************************!*\
!*** ./node_modules/rc-util/es/hooks/useMergedState.js ***!
\*********************************************************/
/*! exports provided: default */
/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var a=n(/*! @babel/runtime/helpers/esm/slicedToArray */"ODXe"),o=n(/*! react */"q1tI");function l(e,t){var n=t||{},l=n.defaultValue,i=n.value,r=n.onChange,c=n.postState,s=o.useState((function(){return void 0!==i?i:void 0!==l?"function"==typeof l?l():l:"function"==typeof e?e():e})),u=Object(a.a)(s,2),m=u[0],d=u[1],v=void 0!==i?i:m;c&&(v=c(v));var f=o.useRef(r);f.current=r;var g=o.useCallback((function(e){d(e),v!==e&&f.current&&f.current(e,v)}),[v,f]),p=o.useRef(!0);return o.useEffect((function(){p.current?p.current=!1:void 0===i&&d(i)}),[i]),[v,g]}},"7A1C":
/*!*************************************!*\
!*** ./src/layouts/user/index.less ***!
\*************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},BU3w:
/*!***************************************************!*\
!*** ./node_modules/rc-util/es/Dom/dynamicCSS.js ***!
\***************************************************/
/*! exports provided: injectCSS, updateCSS */
/*! exports used: updateCSS */function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(/*! ./canUseDom */"MNnm");function o(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Object(a.a)())return null;var l,i=document.createElement("style");(null===(t=n.csp)||void 0===t?void 0:t.nonce)&&(i.nonce=null===(l=n.csp)||void 0===l?void 0:l.nonce);i.innerHTML=e;var r=o(n),c=r.firstChild;return n.prepend&&r.prepend?r.prepend(i):n.prepend&&c?r.insertBefore(i,c):r.appendChild(i),i}var i=new Map;function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o(n);if(!i.has(a)){var r=l("",n),c=r.parentNode;i.set(a,c),c.removeChild(r)}var s=Array.from(i.get(a).children).find((function(e){return"STYLE"===e.tagName&&e["rc-util-key"]===t}));if(s){var u,m,d;if((null===(u=n.csp)||void 0===u?void 0:u.nonce)&&s.nonce!==(null===(m=n.csp)||void 0===m?void 0:m.nonce))s.nonce=null===(d=n.csp)||void 0===d?void 0:d.nonce;return s.innerHTML!==e&&(s.innerHTML=e),s}var v=l(e,n);return v["rc-util-key"]=t,v}},"Cs+z":
/*!******************************************!*\
!*** ./src/components/HomeModal/jqr.png ***!
\******************************************/
/*! no static exports found */
/*! exports used: default */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/jqr.b801d45b.png"},RhLm:
/*!***************************************************!*\
!*** ./src/components/User/OauthPanel/index.less ***!
\***************************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},XmPC:
/*!***************************************************!*\
!*** ./src/components/User/OauthPanel/wechat.svg ***!
\***************************************************/
/*! no static exports found */
/*! exports used: default */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/wechat.a53d22ca.svg"},aZj7:
/*!***********************************!*\
!*** ./src/layouts/user/logo.png ***!
\***********************************/
/*! no static exports found */
/*! exports used: default */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAxCAYAAAABWrbGAAAX7klEQVR4Xu2dB9R0V1WG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XxAVqY3zVZ2YpZMQbT98xzgIErUOsmz24DC36/bbZ1aDXA6i3e7JvU7vedBvarBjoBJlWXsvhbxYvcF/4lHfdXKi5M5j0pv6UdIZPSVrJiNgkwttntD25CGaDGFbipJIJqC2K7VojHMXPK+H59SXbz2mlgVQ00ASYFJ/GvyxYE+bWIucDsfO2qE0guRKtYkJ9XsmI2BDD41mw9AduxtqcTqVS2ka1R6YkxHF3REzo87zoZs3V0vzt3p4FNamAJYNJOdRCdqBrtEliXN6r1DB074eR3Q7Aq97SZDdW5uXztehsAmFMlHWob4hLB7jLrgfVCerNqyTWaMM+m3tnIaaw+d8fvNLBfNLAAMLbZs5b6hcN6Jgi1+IZ9+/2OucnGtp+zIYj2k1EC1AbJxACDG0isCAuFOpQaTZtsGPGUZnDSNpT32mbqpB6p+J2s89ogJe0O2mlgwxqYA0z6wsI3qNVw5NOA4v+oodtrDp1/2jirayO2YyWVtRrN4VPuv+xZOnQ6+XGAGynME9OWsS3C2SNrXeXzgWxTf1NrDM5h6LRsm7jKfHfn7DSwbzTwQwweC9+6/JUxAAAAAElFTkSuQmCC"},bT9E:
/*!*****************************************!*\
!*** ./node_modules/rc-util/es/omit.js ***!
\*****************************************/
/*! exports provided: default */
/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(/*! @babel/runtime/helpers/esm/objectSpread2 */"VTBJ");function o(e,t){var n=Object(a.a)({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},p3IR:
/*!***********************************************!*\
!*** ./src/components/User/OauthPanel/qq.svg ***!
\***********************************************/
/*! no static exports found */
/*! exports used: default */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/qq.ee284be0.svg"},ruvs:
/*!*****************************************************!*\
!*** ./src/components/Header/index.tsx + 4 modules ***!
\*****************************************************/
/*! exports provided: getCourseParam, default */
/*! exports used: default, getCourseParam */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator/index.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/components/Join/index.less?modules (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/components/User/index.less?modules (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/index.less?modules (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/umiExports.ts */
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/components/Join/JoinClassroomModal.tsx */
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/ImagesIcon/index.ts */
/*! ModuleConcatenation bailout: Cannot concat with ./src/service/home.ts */
/*! ModuleConcatenation bailout: Cannot concat with ./src/service/user.ts */
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/authority.ts */
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/env.ts */
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/util.tsx */
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/verifyLogin.tsx */
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/logo.svg (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/HomeModal/jqr.png (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/style/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/col/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/col/style/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/dropdown/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/dropdown/style/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/input/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/input/style/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/layout/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/layout/style/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/menu/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/menu/style/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/style/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/modal/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/modal/style/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/radio/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/radio/style/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/row/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/row/style/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-router-dom/esm/react-router-dom.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-router/esm/react-router.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.d(t,"b",(function(){return $}));n("2qtc");var a,o=n("kLXV"),l=n("9og8"),i=n("tJVT"),r=n("PpiC"),c=n("k1fw"),s=(n("5NDa"),n("5rEg")),u=(n("B9cy"),n("Ol7k")),m=n("WmNS"),d=n.n(m),v=n("q1tI"),f=n.n(v),g=n("Ty5D"),p=n("55Ip"),b=n("9kvl"),h=n("lzim"),E=n("xrsn"),x=n.n(E),_=(n("1Sn+"),n("qVdP"),n("jsC+")),j=(n("14J3"),n("BMrR")),I=(n("jCWc"),n("kPKH")),k=(n("lUTK"),n("BvKs")),A=(n("miYZ"),n("tsqr")),w=(n("7Kak"),n("9yH6")),y=n("6CvP"),C=n("1vsH");!function(e){e.Manager="manager",e.Developer="developer",e.Reporter="reporter"}(a||(a={}));var O,S,N=function(e){var t=e.visible,n=e.onCancel,r=void 0===n?function(){}:n,c=Object(v.useState)(),u=Object(i.a)(c,2),m=u[0],g=u[1],p=Object(v.useState)(),h=Object(i.a)(p,2),E=h[0],x=h[1],_=Object(v.useState)(!1),j=Object(i.a)(_,2),I=j[0],k=j[1],O=function(){var e=Object(l.a)(d.a.mark((function e(){var t,n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(m){e.next=3;break}return A.b.info("请输入开发项目邀请码!"),e.abrupt("return");case 3:if(6===m.length){e.next=6;break}return A.b.info("请输入6位项目邀请码"),e.abrupt("return");case 6:if(E){e.next=9;break}return A.b.info("请选择一个身份!"),e.abrupt("return");case 9:return k(!0),e.next=12,Object(y.e)({code:m,role:E});case 12:if(t=e.sent,k(!1),S(),!(n={1:"您输入的邀请码错误",2:"您已经是该项目成员",3:"请选择一个角色",4:"您的申请已提交,请等待项目管理员审批",5:"您已经申请加入该项目了,请耐心等待",6:"您已成功加入项目"})[t.status]){e.next=19;break}return A.b.info(n[t.status]),e.abrupt("return");case 19:if(0!==t.status){e.next=22;break}return"reporter"===E?(A.b.success("您加入项目成功!"),Object(C.ab)(["开发项目","加入项目成功"]),b.d.push("/projects/".concat(null==t?void 0:t.project_id))):(Object(C.ab)(["开发项目","加入项目等待审批"]),A.b.success("您的申请已提交,请等待项目管理员审批!")),e.abrupt("return");case 22:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),S=function(){var e=Object(l.a)(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r();case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return f.a.createElement(f.a.Fragment,null,f.a.createElement(o.a,{centered:!0,keyboard:!1,closable:!1,title:"加入项目",visible:t,confirmLoading:I,onOk:O,onCancel:S},f.a.createElement("div",{className:"tc"},f.a.createElement("div",null,f.a.createElement("span",null,"课堂邀请码:"),f.a.createElement(s.a,{placeholder:"请输入6位开发项目邀请码",style:{width:270},value:m,onChange:function(e){e.target.value.length>=7?A.b.info("请输入6位开发项目邀请码"):g(e.target.value)}})),f.a.createElement("div",{className:"mt10 font14"},f.a.createElement("span",null,"身份:"),f.a.createElement(w.a.Group,{value:E,onChange:function(e){return x(e.target.value)}},f.a.createElement(w.a,{value:a.Manager},"管理人员"),f.a.createElement(w.a,{value:a.Developer},"开发人员"),f.a.createElement(w.a,{value:a.Reporter},"报告人员"))))))},L=n("Jky8"),T=n("6Fuo"),B=n.n(T),Y=n("NLgs");!function(e){e.Projects="projects",e.Shixuns="shixuns",e.Classrooms="classrooms"}(O||(O={})),function(e){e.Classrooms="classrooms",e.Shixuns="shixuns",e.Paths="paths",e.Projects="projects",e.Videos="videos",e.Topics="topics"}(S||(S={}));var q,P=Object(b.a)((function(e){var t=e.homePage,n=e.loading;return{homePage:t,user:e.user,globalSetting:e.globalSetting,loading:n.models.index}}))((function(e){e.homePage;var t,n,a,o,l,c,s,u,m=e.user,d=e.globalSetting,g=(e.loading,e.dispatch),p=(e.location,Object(r.a)(e,["homePage","user","globalSetting","loading","dispatch","location"]),Object(v.useState)()),b=Object(i.a)(p,2),h=b[0],E=b[1],x=Object(v.useState)(),w=Object(i.a)(x,2),y=w[0],C=w[1],T=function(e){var t;Object(Y.e)(g)&&(e!==O.Projects||null!==(t=m.userInfo)&&void 0!==t&&t.email?e===O.Classrooms?E(!0):e===O.Projects&&C(!0):A.b.info("请先绑定邮箱,谢谢"))},q=function(e,t){var n;Object(Y.e)(g)&&(t!==O.Projects||null!==(n=m.userInfo)&&void 0!==n&&n.email?(t!==O.Shixuns||Object(Y.c)())&&e&&(window.location.href=e):A.b.info("请先绑定邮箱,谢谢"))},P=null===(t=((null===(n=d.setting)||void 0===n?void 0:n.navbar)||[]).find((function(e){return e.link==="/".concat(S.Classrooms)})))||void 0===t?void 0:t.hidden,H=null===(a=((null===(o=d.setting)||void 0===o?void 0:o.navbar)||[]).find((function(e){return e.link==="/".concat(S.Shixuns)})))||void 0===a?void 0:a.hidden,G=null===(l=((null===(c=d.setting)||void 0===c?void 0:c.navbar)||[]).find((function(e){return e.link==="/".concat(S.Paths)})))||void 0===l?void 0:l.hidden;null!=d&&null!==(s=d.setting)&&void 0!==s&&s.is_local&&(null!=m&&null!==(u=m.userInfo)&&void 0!==u&&u.is_shixun_marker||(H=!0));var J=function(e){var t,n,a,o,l,i,r,c,s,u,v,g,p,b;return f.a.createElement(f.a.Fragment,null,f.a.createElement(j.a,{justify:"space-around",className:"pt5 pb5"},f.a.createElement(I.a,{className:B.a.joinCol},"学生"!==(null===(t=m.userInfo)||void 0===t?void 0:t.user_identity)&&!P&&f.a.createElement(k.a.Item,e,f.a.createElement("a",{onClick:function(){return q("/classrooms/new")}},null!==(n=m.userInfo)&&void 0!==n&&n.main_site?"新建教学课堂":"新建课堂")),!H&&f.a.createElement(k.a.Item,e,f.a.createElement("a",{onClick:function(){return q("/shixuns/new",O.Shixuns)}},"新建实践项目")),((null===(a=m.userInfo)||void 0===a?void 0:a.main_site)&&(null===(o=m.navigationInfo)||void 0===o?void 0:o.top)||!(null!==(l=m.userInfo)&&void 0!==l&&l.main_site)&&(null===(i=m.navigationInfo)||void 0===i?void 0:i.top)&&!G&&((null===(r=m.userInfo)||void 0===r?void 0:r.admin)||(null===(c=m.userInfo)||void 0===c?void 0:c.is_teacher)||(null===(s=m.userInfo)||void 0===s?void 0:s.business)))&&f.a.createElement(k.a.Item,e,f.a.createElement("a",{onClick:function(){return q("/paths/new")}},"新建实践课程")),!(null!=d&&null!==(u=d.setting)&&void 0!==u&&u.is_local)&&(null===(v=m.userInfo)||void 0===v?void 0:v.main_site)&&f.a.createElement(k.a.Item,e,f.a.createElement("a",{onClick:function(){var e,t;return q("".concat(null===(e=m.navigationInfo)||void 0===e||null===(t=e.top)||void 0===t?void 0:t.old_url,"/projects/deposit/new"),O.Projects)}},"新建开发项目"))),f.a.createElement(I.a,null,f.a.createElement("div",{className:B.a.joinBoard})),f.a.createElement(I.a,{className:B.a.joinCol},!P&&f.a.createElement(k.a.Item,e,f.a.createElement("a",{onClick:function(){return T(O.Classrooms)}},null!==(g=m.userInfo)&&void 0!==g&&g.main_site?"加入教学课堂":"加入课堂")),(null===(p=m.userInfo)||void 0===p?void 0:p.main_site)&&!(null!=d&&null!==(b=d.setting)&&void 0!==b&&b.is_local)&&f.a.createElement(k.a.Item,e,f.a.createElement("a",{onClick:function(){return T(O.Projects)}},"加入开发项目")))))};return f.a.createElement("section",null,f.a.createElement(_.a,{overlay:f.a.createElement(k.a,{className:"".concat(B.a.rightMenu," ").concat(B.a.joinMenu," mt10")},f.a.createElement(J,null)),placement:"bottomRight"},f.a.createElement("span",{style:{lineHeight:"inherit"},className:"iconfont icon-tianjiafangda c-white font18 current ml15 mr15"})),f.a.createElement(L.a,{visible:h,onCancel:function(){return E(!1)}}),f.a.createElement(N,{visible:y,onCancel:function(){return C(!1)}}))})),H=n("vToQ"),G=n.n(H),J=n("xKgJ"),M=n("jb+D"),V=n("m3rI"),K=function(e){var t=new Date;t.setTime(t.getTime()-1);var n,a,o=(a=RegExp("(^| )"+e+"=([^;]+)(;|$)"),(n=document.cookie.match(a))?decodeURIComponent(n[2]):null);null!=o&&(document.cookie=e+"="+o+";expires="+t.toGMTString())};!function(e){e.Classrooms="classrooms",e.Shixuns="shixuns",e.Paths="paths",e.Projects="projects",e.Videos="videos",e.Topics="topics"}(q||(q={}));var D=Object(b.a)((function(e){var t=e.homePage,n=e.loading;return{homePage:t,user:e.user,globalSetting:e.globalSetting,shixunHomeworks:e.shixunHomeworks,loading:n.models.index}}))((function(e){e.homePage;var t,n,a,o,i,s,u,m,v,g,h,E,x,j=e.user,I=e.globalSetting,w=(e.loading,e.dispatch),y=e.shixunHomeworks,O=(e.location,e.payload),S=void 0===O?{}:O,N=(Object(r.a)(e,["homePage","user","globalSetting","loading","dispatch","shixunHomeworks","location","payload"]),null===(t=((null===(n=I.setting)||void 0===n?void 0:n.navbar)||[]).find((function(e){return e.link==="/".concat(q.Classrooms)})))||void 0===t?void 0:t.hidden),L=null===(a=((null===(o=I.setting)||void 0===o?void 0:o.navbar)||[]).find((function(e){return e.link==="/".concat(q.Shixuns)})))||void 0===a?void 0:a.hidden,T=null===(i=((null===(s=I.setting)||void 0===s?void 0:s.navbar)||[]).find((function(e){return e.link==="/".concat(q.Paths)})))||void 0===i?void 0:i.hidden,B=(null===(u=j.userInfo)||void 0===u?void 0:u.admin)||(null===(m=j.userInfo)||void 0===m?void 0:m.business)||(null===(v=j.userInfo)||void 0===v?void 0:v.is_shixun_marker)||(null===(g=j.userInfo)||void 0===g?void 0:g.is_teacher)||"学生"!==(null===(h=j.userInfo)||void 0===h?void 0:h.user_identity);return Object(J.p)()?f.a.createElement(_.a,{className:"".concat(G.a.height67," pr25"),overlay:function(){return Object(C.p)()?f.a.createElement(k.a,{className:"".concat(G.a.rightMenu," ").concat(G.a.menuWrap)},f.a.createElement(k.a.Item,null,f.a.createElement(p.a,{to:"/account/profile"},"账号管理"))):f.a.createElement(k.a,{className:"".concat(G.a.rightMenu," ").concat(G.a.menuWrap)},f.a.createElement(k.a.Item,null,f.a.createElement(p.a,{to:"/users/".concat(null===(e=j.userInfo)||void 0===e?void 0:e.login,"/classrooms")},"我的个人主页")),!N&&f.a.createElement(k.a.Item,null,f.a.createElement(p.a,{to:"/users/".concat(null===(t=j.userInfo)||void 0===t?void 0:t.login,"/classrooms")},null!==(n=j.userInfo)&&void 0!==n&&n.main_site?"我的教学课堂":"我的课堂")),!L&&f.a.createElement(k.a.Item,null,f.a.createElement(p.a,{to:"/users/".concat(null===(a=j.userInfo)||void 0===a?void 0:a.login,"/shixuns")},"我的实践项目")),!T&&f.a.createElement(k.a.Item,null,f.a.createElement(p.a,{to:"/users/".concat(null===(o=j.userInfo)||void 0===o?void 0:o.login,"/paths")},null!==(i=j.userInfo)&&void 0!==i&&i.main_site?"我的实践课程":"我的课程")),(null===(r=j.userInfo)||void 0===r?void 0:r.main_site)&&!(null!==(s=I.setting)&&void 0!==s&&s.is_local)&&f.a.createElement(k.a.Item,null,f.a.createElement(p.a,{to:"/users/".concat(null===(u=j.userInfo)||void 0===u?void 0:u.login,"/projects")},"我的开发项目")),f.a.createElement(k.a.Item,null,f.a.createElement(p.a,{to:"/users/".concat(null===(m=j.userInfo)||void 0===m?void 0:m.login,"/teach-group")},"我的教研团队")),f.a.createElement(k.a.Item,null,f.a.createElement(p.a,{to:"/users/".concat(null===(v=j.userInfo)||void 0===v?void 0:v.login,"/vspaces")},"我的虚拟社区")),f.a.createElement(k.a.Item,null,f.a.createElement("a",{onClick:function(){Object(Y.e)(w)&&b.d.push("/problemset")}},"试题库")),B&&f.a.createElement(k.a.Item,null,f.a.createElement("a",{onClick:function(){Object(Y.e)(w)&&b.d.push("/paperlibrary")}},"试卷与作业")),(null===(g=j.navigationInfo)||void 0===g||null===(h=g.top)||void 0===h?void 0:h.customer_management_url)&&f.a.createElement(k.a.Item,null,f.a.createElement("a",{href:null===(E=j.navigationInfo)||void 0===E||null===(x=E.top)||void 0===x?void 0:x.customer_management_url},"客户管理")),(null===(_=j.navigationInfo)||void 0===_||null===(y=_.top)||void 0===y?void 0:y.college_identifier)&&f.a.createElement(k.a.Item,null,f.a.createElement(p.a,{to:"/colleges/".concat(null===(O=j.navigationInfo)||void 0===O||null===(q=O.top)||void 0===q?void 0:q.college_identifier,"/statistics")},"学院统计")),(null===(P=j.navigationInfo)||void 0===P||null===(H=P.top)||void 0===H?void 0:H.laboratory_admin_url)&&f.a.createElement(k.a.Item,null,f.a.createElement("a",{href:null===(J=j.navigationInfo)||void 0===J||null===(V=J.top)||void 0===V?void 0:V.laboratory_admin_url},"后台管理")),f.a.createElement(k.a.Item,null,f.a.createElement(p.a,{onClick:function(){"0"===localStorage.getItem("Noviceguide")||w({type:"shixunHomeworks/setActionTabs",payload:{key:"底部弹窗",type:2,href:"/classrooms",text:f.a.createElement("div",null,"OK接下来让我们开始新建【教学课堂】请您找到闪光框并点击 “教学课堂”。")}})},to:"/account/profile"},"账号管理")),f.a.createElement(k.a.Item,{className:G.a.exit},f.a.createElement("a",{onClick:Object(l.a)(d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(M.c)({});case 2:1===(null==(t=e.sent)?void 0:t.status)&&(w({type:"user/getUserInfo",payload:Object(c.a)({},S)}),w({type:"user/getNavigationInfo",payload:Object(c.a)({},S)}),K("autologin_trustie"),K("_educoder_session"),localStorage.removeItem("isfirst"),localStorage.removeItem("SystemUpdateadvtime"),localStorage.removeItem("item"),localStorage.removeItem("iscreate"),A.b.success(null==t?void 0:t.message),b.d.replace("/"));case 4:case"end":return e.stop()}}),e)})))},"退出")));var e,t,n,a,o,i,r,s,u,m,v,g,h,E,x,_,y,O,q,P,H,J,V},placement:"bottomRight"},f.a.createElement("section",null,f.a.createElement("aside",null,f.a.createElement("div",{className:1===y.actionTabs.type?G.a.classromediv:""},f.a.createElement("img",{className:"".concat(G.a.userPic," current ml15"),src:"".concat(null===V.a||void 0===V.a?void 0:V.a.IMG_SERVER,"/images/").concat(null===(E=j.userInfo)||void 0===E?void 0:E.image_url),alt:"",onClick:function(){var e;return b.d.push(Object(C.p)()?"/account/profile":"/users/".concat(null===(e=j.userInfo)||void 0===e?void 0:e.login,"/classrooms"))}}),Object(C.p)()&&f.a.createElement("span",{className:"ml10 font16"},null===(x=j.userInfo)||void 0===x?void 0:x.username))))):f.a.createElement("div",{className:"font15 ".concat(I.isIlearning?G.a.login:"")},f.a.createElement("span",{className:"ml10 mr5 current c-white",onClick:function(){w({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})}},"登录"),f.a.createElement("span",{className:"ml5 mr5"},"|"),f.a.createElement(p.a,{to:"/user/register",className:"ml5 current c-white pr25"},"注册"))})),R=(n("+L6B"),n("2/Rp")),X=n("Cs+z"),z=n.n(X),W=Object(b.a)((function(e){var t=e.homePage,n=e.loading,a=e.user,o=e.globalSetting,l=e.shixunHomeworks;return{homePage:t,user:a,globalSetting:o,loading:n.models.index,shixunHomeworks:l}}))((function(e){e.homePage,e.user,e.globalSetting,e.loading;var t=e.dispatch,n=(e.location,e.text,e.shixunHomeworks),a=(e.payload,Object(r.a)(e,["homePage","user","globalSetting","loading","dispatch","location","text","shixunHomeworks","payload"]),Object(v.useState)("none")),o=Object(i.a)(a,2),l=o[0],c=o[1];return Object(v.useEffect)((function(){"底部弹窗"===n.actionTabs.key&&c("flex")}),[n.actionTabs.key]),Object(v.useEffect)((function(){"隐藏"===n.actionTabs.key&&(c("none"),localStorage.setItem("Noviceguide","0"))}),[n.actionTabs.key]),f.a.createElement("div",{style:{display:l,background:"#fff",width:"100%",height:"200px",position:"fixed",bottom:"0px",boxShadow:"0px -4px 6px 0px rgba(204, 204, 204, 0.2)",zIndex:"999"}},f.a.createElement("div",{style:{margin:"0 auto",width:"1200px"}},f.a.createElement("img",{src:z.a,style:{position:"absolute",top:"-32px"}}),f.a.createElement("div",{style:{marginLeft:"151px",marginTop:"40px",fontSize:"18px",color:"#333333"}},n.actionTabs.text),9===n.actionTabs.type?f.a.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},f.a.createElement(R.a,{type:"primary",onClick:function(){localStorage.setItem("Noviceguide","0"),c("none"),t({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"呆会见,有事呼我")):f.a.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},f.a.createElement(R.a,{type:"primary",onClick:function(){localStorage.setItem("Noviceguide","0"),t({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),c("none")},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"跳过,我自己来"))))})),U=n("498V"),Q=n.n(U),F=u.a.Header,Z=s.a.Search;function $(){var e,t,n=window.location.pathname.split("/"),a={};return!("classrooms"==n[1]&&n.length>3)||null!==(e=n[4])&&void 0!==e&&e.includes("newgold")||null!==(t=n[5])&&void 0!==t&&t.includes("newgold")||"coursesId"===n[2]||(a.course_id=n[2]),"shixuns"===n[1]&&n.length>3&&(a.objective_type="shixun",a.objective_id=n[2]),"paths"===n[1]&&n.length>3&&(a.objective_type="path",a.objective_id=n[2]),Object(c.a)(Object(c.a)({},a),{school:1})}var ee=["/","/classrooms","/account/profile","/account/profile/edit","/classrooms/new"];t.a=Object(b.a)((function(e){var t=e.homePage,n=e.loading,a=e.user,o=e.globalSetting,l=e.shixunHomeworks;return{homePage:t,user:a,globalSetting:o,loading:n.models.index,shixunHomeworks:l}}))((function(e){e.homePage;var t,n=e.user,a=e.globalSetting,l=(e.loading,e.dispatch),s=e.location,m=e.isLogin,d=void 0!==m&&m,b=e.shixunHomeworks,E=(Object(r.a)(e,["homePage","user","globalSetting","loading","dispatch","location","isLogin","shixunHomeworks"]),Object(g.g)()),_=Object(v.useState)(!1),j=Object(i.a)(_,2),I=j[0],k=j[1],A=Object(v.useState)(-1),w=Object(i.a)(A,2),y=w[0],O=w[1],S=Object(v.useState)(!1),N=Object(i.a)(S,2),L=N[0],T=N[1],B=$();s.pathname;Object(v.useEffect)((function(){l({type:"user/getNavigationInfo",payload:Object(c.a)({},B)})}),[a.name]),Object(v.useEffect)((function(){"底部弹窗"===b.actionTabs.key&&(null!=ee&&ee.includes(null==s?void 0:s.pathname)||0===(null==s?void 0:s.pathname.indexOf("/classrooms"))||l({type:"shixunHomeworks/setActionTabs",payload:{key:"隐藏"}}))}),[s.pathname]),Object(v.useEffect)((function(){"底部弹窗"===b.actionTabs.key||b.actionTabs.key||localStorage.setItem("Noviceguide","0")}),[b.actionTabs.key]),Object(v.useEffect)((function(){var e,t,n;null!=a&&a.setting&&(null==a||null===(e=a.setting)||void 0===e||null===(t=e.navbar)||void 0===t||t.map((function(e,t){s.pathname.indexOf(e.link)>-1&&O(t)})),-1===y?Object(C.V)(a.setting.name):Object(C.V)((null===(n=a.setting.navbar[y])||void 0===n?void 0:n.name)||a.setting.name))}),[null==a?void 0:a.setting]);var Y=Object(v.useMemo)((function(){var e,t;return null!=a&&null!==(e=a.setting)&&void 0!==e&&e.nav_logo_url?"".concat(V.a.IMG_SERVER,"/").concat(null==a||null===(t=a.setting)||void 0===t?void 0:t.nav_logo_url):"".concat(V.a.IMG_SERVER,"/images/avatars/LaboratorySetting/1nav?t=").concat((new Date).getTime())}),[null==a||null===(t=a.setting)||void 0===t?void 0:t.nav_logo_url]);function q(e){E.push("/search?value="+e)}var H,G,J,M,K,R=function(){return I?f.a.createElement("div",{onBlur:function(){setTimeout((function(){k(!1)}),300)}},f.a.createElement(Z,{placeholder:"实践课程/教学课堂/实践项目/交流问答",className:"search-input mr20",onSearch:q,autoFocus:!0})):f.a.createElement("span",{className:"iconfont icon-sousuo font18 current ml15 mr15",onClick:function(){E.push("/search?value=")}})};return a.showHeader&&a.showHeaderFooter?f.a.createElement(u.a,{className:"".concat(a.isIlearning?x.a["header-iearning"]:x.a.header," ").concat(a.showHeaderFixed?x.a.headerFixed:"")},f.a.createElement(F,{className:"header"},f.a.createElement("section",{className:x.a["edu-menu"]},(!!a.isIlearning||!!a.isPaZhou)&&f.a.createElement(p.a,{style:{display:"flex",alignItems:"center"},onClick:function(){l({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},to:"/"},f.a.createElement("img",{className:x.a.logo,title:null===(H=a.setting)||void 0===H?void 0:H.name,src:a.isPaZhou?Y:Q.a||Y}),!a.isPaZhou&&f.a.createElement("span",{className:x.a.title},"混合增强智慧教育i-Learning平台")),f.a.createElement("ul",{className:"".concat(x.a.menu," ").concat(Object(C.p)()&&"ml0")},Object(C.p)()&&f.a.createElement("li",null,f.a.createElement("a",{href:"/"},"考试系统")),!Object(C.p)()&&a.setting&&a.setting.navbar.map((function(e,t){if(!e.hidden)return f.a.createElement("li",{key:t,className:y===t?x.a.actived:""},"教学课堂"===(null==e?void 0:e.name)&&f.a.createElement(p.a,{onClick:function(){"0"===localStorage.getItem("Noviceguide")||l({type:"shixunHomeworks/setActionTabs",payload:{key:"底部弹窗",type:5,text:f.a.createElement("div",null,"非常棒,咱们已经到达【教学课堂】,平台上已经有几千位老师创建了自己的教学课堂,你也可以轻松完成哟!现在请您点击页面上 “新建课堂”按钮开始新建自己的课堂~")}})},className:4===b.actionTabs.type?x.a.classromediv:"",dangerouslySetInnerHTML:{__html:e.name},to:e.link}),"教学课堂"!=(null==e?void 0:e.name)&&e.link.indexOf("http")<0&&f.a.createElement(p.a,{onClick:function(){l({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},dangerouslySetInnerHTML:{__html:e.name},to:e.link,target:e.link.indexOf("http")>-1?"_blank":"_self"}),"教学课堂"!=(null==e?void 0:e.name)&&e.link.indexOf("http")>-1&&f.a.createElement("a",{target:e.link.indexOf("http")>-1?"_blank":"_self",dangerouslySetInnerHTML:{__html:e.name},href:e.link}))}))),f.a.createElement("div",{className:"search-bar",style:{flex:a.isIlearning?"initial":"1 0 auto"}},!Object(C.p)()&&!(null!=a&&a.isIlearning)&&f.a.createElement(f.a.Fragment,null,f.a.createElement(R,null),!d&&f.a.createElement(P,null),!d&&!(null==n||null===(G=n.userInfo)||void 0===G||!G.login)&&f.a.createElement(p.a,{className:"iconfont icon-xiaoxilingdang c-white ml15 mr15 font18 relative",to:"/messages/".concat(null==n||null===(J=n.userInfo)||void 0===J?void 0:J.login,"/user_tidings")},(null==n||null===(M=n.navigationInfo)||void 0===M||null===(K=M.top)||void 0===K?void 0:K.new_message)&&f.a.createElement("span",{className:x.a.newslight}))),!d&&f.a.createElement(D,{payload:B}))),f.a.createElement(o.a,{centered:!0,destroyOnClose:!0,visible:L,title:"提示",width:"500px",okText:"立即联系",cancelText:"取消",onOk:function(){Object(C.Q)("https://qm.qq.com/cgi-bin/qm/qr?k=DWdqQHAbbfw7_rqm0d-Q_vDn5H6bMp91&jump_from=webapi")},onCancel:function(){return T(!1)}},f.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},f.a.createElement("p",null,"您可以在QQ服务群向管理员申请获得继续操作的权限"),f.a.createElement("img",{src:h.D,width:200,height:200}),f.a.createElement("p",null,"群号693542422 ")))),f.a.createElement(W,null)):f.a.createElement(f.a.Fragment,null)}))},vToQ:
/*!******************************************************************!*\
!*** ./src/components/Header/components/User/index.less?modules ***!
\******************************************************************/
/*! no static exports found */
/*! exports used: default */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={flex_box_center:"flex_box_center___3UWMh",flex_space_between:"flex_space_between___2nh9S",flex_box_vertical_center:"flex_box_vertical_center___2Neiq",flex_box_center_end:"flex_box_center_end___2_1FS",flex_box_column:"flex_box_column___2E-v7",userPic:"userPic___3Pu9t",rightMenu:"rightMenu___1qaVl",menuWrap:"menuWrap___3r9jm",exit:"exit___38Urs",classromediv:"classromediv___2R8_g",glow:"glow___323IR",height67:"height67___1DFRI",login:"login___20J7t"}},xrsn:
/*!**************************************************!*\
!*** ./src/components/Header/index.less?modules ***!
\**************************************************/
/*! no static exports found */
/*! exports used: default */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={flex_box_center:"flex_box_center___2cC1r",flex_space_between:"flex_space_between___9TeDx",flex_box_vertical_center:"flex_box_vertical_center___3EIYv",flex_box_center_end:"flex_box_center_end___1Uph0",flex_box_column:"flex_box_column___17_5w",header:"header___1E4MV",logo:"logo___R8PNJ",menu:"menu___Km2Uo",actived:"actived___12Ff0","edu-menu":"edu-menu___2hxbr",newslight:"newslight___jwZR3",classromediv:"classromediv___Cjpgf",glow:"glow___3Nuu5",spandiv:"spandiv___3YPu8","header-iearning":"header-iearning___2Us_L",title:"title___3TtoH",headerFixed:"headerFixed___1V7d4"}},zCei:
/*!************************************************!*\
!*** ./src/layouts/user/index.tsx + 1 modules ***!
\************************************************/
/*! exports provided: default */
/*! all exports used */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/extends.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/umiExports.ts */
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/index.tsx */
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/env.ts */
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/util.tsx */
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/User/OauthPanel/qq.svg (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/User/OauthPanel/wechat.svg (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./src/layouts/user/logo.png (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-router/esm/react-router.js */
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.r(t);var a=n("0Owb"),o=n("tJVT"),l=n("PpiC"),i=n("q1tI"),r=n.n(i),c=n("XmPC"),s=n.n(c),u=n("p3IR"),m=n.n(u),d=n("1vsH"),v=(n("RhLm"),n("m3rI")),f=window.location.host,g=v.a.QQLoginCB,p=function(e){var t=e.onWechatLogin;return r.a.createElement(r.a.Fragment,null,r.a.createElement("p",{className:"driver"}," ———————— ",r.a.createElement("span",{style:{color:"#444444"}},"快速登录")," ———————— "),r.a.createElement("div",{className:"other-login"},r.a.createElement("a",{title:"微信登录",onClick:t},r.a.createElement("img",{src:s.a,alt:"微信",width:46})),r.a.createElement("a",{title:"qq登录",onClick:function(){Object(d.M)()?window.location.href="https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=".concat(g,"%2fotherloginqq&state=null,").concat(f,"&response_type=code"):Object(d.Q)("https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=".concat(g,"%2fotherloginqq&state=null,").concat(f,"&response_type=code"))}},r.a.createElement("img",{src:m.a,alt:"QQ",width:46}))))};function b(e){var t=e.onBack;return r.a.createElement(r.a.Fragment,null,r.a.createElement("iframe",{className:"wechat-qrcode",frameBorder:"0",sandbox:"allow-scripts allow-same-origin allow-top-navigation",scrolling:"no",src:"https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=".concat(g,"%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,").concat(f,"#wechat_redirect")}),r.a.createElement("a",{className:"btn-link",onClick:t},"返回账号登录"))}var h=n("ruvs"),E=(n("7A1C"),n("aZj7")),x=n.n(E),_=n("9kvl"),j=n("Ty5D");t.default=Object(_.a)((function(e){var t=e.loading;return{globalSetting:e.globalSetting,loading:t.models.index}}))((function(e){var t,n,c,s=e.dispatch,u=e.globalSetting,m=e.children,f=Object(l.a)(e,["dispatch","globalSetting","children"]),g=Object(i.useState)(!1),E=Object(o.a)(g,2),I=E[0],k=E[1];Object(i.useEffect)((function(){u.setting||s({type:"globalSetting/query"})}),[]);var A,w=null===(t=u.setting)||void 0===t?void 0:t.main_site,y=null===(n=u.setting)||void 0===n?void 0:n.login_logo_url,C=null===(c=u.setting)||void 0===c?void 0:c.is_local;return r.a.createElement("div",{className:"register-container"},!Object(d.p)()&&r.a.createElement(h.a,Object(a.a)({isLogin:!0},f)),r.a.createElement("div",{className:"register-bg"},r.a.createElement("div",{className:"register-introduce"},r.a.createElement("img",{alt:"logo",src:y?"".concat(v.a.IMG_SERVER,"/").concat(y):x.a}),r.a.createElement("h4",null,"让实践教学更简单"),r.a.createElement("p",null," (educoder.net) 是一个在线实践教学和创新服务平台,支持实验实训、课堂教学、远程考试、一流课程、工程认证、能力竞赛等各类在线科教活动,致力于让高校教学和科研更有创造力。")),r.a.createElement("div",{className:"register-panel"},I?null:"/user/reset-password"===(A=Object(j.h)().pathname)?r.a.createElement("div",{className:"register-nav"},r.a.createElement("div",{style:{color:"#333"}},"找回密码")):r.a.createElement("div",{className:"register-nav"},r.a.createElement("div",{onClick:function(){return _.d.push("/user/login")},className:"/user/login"===A||"/login"===A?"nav-active":""},"登录"),r.a.createElement("div",{onClick:function(){return _.d.push("/user/register")},className:"/user/register"===A||"/register"===A?"nav-active":""},"注册")),I?null:m,I?r.a.createElement(b,{onBack:function(){k(!1),_.d.push("/user/login")}}):r.a.createElement(r.a.Fragment,null,w&&!C&&r.a.createElement(p,{onWechatLogin:function(){k(!0)}})))),!C&&r.a.createElement("div",{className:"register-footer"},r.a.createElement("span",null,"©")," 2021 EduCoder 湘ICP备17009477号 ",r.a.createElement("a",{href:"https://team.trustie.net/",target:"_blank"},"Trustie")," & IntelliDE inside"))}))}}]);