(this.webpackJsonp=this.webpackJsonp||[]).push([[142],{EjfP:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(a("W9HT")),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e};a("T2oS");var l=a("cDcd"),r=s(l),u=a("eO8H"),d=s(a("v/XU"));a("LnQG");var o=s(a("CnBM")),f=s(a("HUFq"));function s(e){return e&&e.__esModule?e:{default:e}}var i=(0,o.default)({loader:function(){return a.e(115).then(a.t.bind(null,"DCaW",7))},loading:f.default}),m=(0,o.default)({loader:function(){return Promise.all([a.e(0),a.e(1),a.e(8),a.e(72)]).then(a.t.bind(null,"CriP",7))},loading:f.default});t.default=function(e){var t=e.location.pathname;return(0,l.useEffect)((function(){window.scrollTo(0,0)}),[]),r.default.createElement("div",{className:"glcc_project"},r.default.createElement("img",{className:"glcc-banner",src:d.default,alt:""}),r.default.createElement("div",{className:"head"},r.default.createElement(u.Link,{to:"/glcc/subjects",className:t.endsWith("projects")?"":"active"},"课题列表"),r.default.createElement(u.Link,{to:"/glcc/projects",className:t.endsWith("projects")?"active":""},"项目列表")),r.default.createElement("div",{className:"gobackBox"},r.default.createElement("a",{href:"/glcc"},"开源夏令营 / "),"课题及项目列表"),r.default.createElement(n.default,{spinning:!1},r.default.createElement(u.Switch,e,r.default.createElement(u.Route,{path:"/glcc/projects/:gitlinkLastUrl",render:function(t){return r.default.createElement(i,c({},e,t))}}),r.default.createElement(u.Route,{path:"/glcc/projects",render:function(t){return r.default.createElement(i,c({},e,t))}}),r.default.createElement(u.Route,{path:"/glcc/subjects",render:function(t){return r.default.createElement(m,c({},e,t))}}),r.default.createElement(u.Route,{path:"/glcc/student",render:function(t){return r.default.createElement(m,c({},e,t))}}))))}},LnQG:function(e,t,a){},"v/XU":function(e,t,a){"use strict";a.r(t),t.default=a.p+"static/media/studentProject.cd6d6c4f.png"}}]);