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__SimpleLayouts.d04c...

1 line
17 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[28,11],{"2tKv":function(e,t,n){e.exports=n.p+"static/Code.584c4f34.png"},BLHT:function(e,t,n){e.exports={flex_box_center:"flex_box_center___tGua6",flex_space_between:"flex_space_between___sLRzb",flex_box_vertical_center:"flex_box_vertical_center___3RJH-",flex_box_center_end:"flex_box_center_end___2FaoL",flex_box_column:"flex_box_column____9_T2",footer:"footer___3QRzm",fastLink:"fastLink___MJhMZ",cooperation:"cooperation___208jm",copyright:"copyright___27kZ0"}},CAjq:function(e,t,n){e.exports=n.p+"static/qqCode.a1502573.png"},H8y1:function(e,t,n){"use strict";n.r(t);n("GNNt");var r=n("wEI+"),a=n("PpiC"),o=n("q1tI"),i=n.n(o),l=n("+Gva"),c=n("ruvs"),u=n("9kvl"),s=n("wd/R"),f=n.n(s),d=n("BLHT"),h=n.n(d),m=function(e){e.user;var t,r,a,o,l,c,u=e.globalSetting;return i.a.createElement("div",{className:h.a.footer,style:{height:(null===u||void 0===u||null===(t=u.setting)||void 0===t?void 0:t.main_site)?"":"80px",lineHeight:(null===u||void 0===u||null===(r=u.setting)||void 0===r?void 0:r.main_site)?"":"80px"}},(null===u||void 0===u||null===(a=u.setting)||void 0===a?void 0:a.main_site)&&i.a.createElement("aside",{className:h.a.fastLink},i.a.createElement("a",{target:"_blank",href:"/"},"\u7f51\u7ad9\u9996\u9875"),!(null===u||void 0===u||null===(o=u.setting)||void 0===o?void 0:o.is_local)&&i.a.createElement("a",{target:"_blank",href:"/help/about_us"},"\u5173\u4e8e\u6211\u4eec"),i.a.createElement("a",{target:"_blank",href:"/help/contact_us"},"\u8054\u7cfb\u6211\u4eec"),i.a.createElement("a",{target:"_blank",href:"/help/cooperatives"},"\u5408\u4f5c\u4f19\u4f34"),i.a.createElement("a",{target:"_blank",href:"/help/agreement"},"\u670d\u52a1\u534f\u8bae"),i.a.createElement("a",{target:"_blank",href:"/help/help_center"},"\u5e2e\u52a9\u4e2d\u5fc3"),i.a.createElement("a",{target:"_blank",href:"/help/feedback"},"\u610f\u89c1\u53cd\u9988")),(null===(l=u.setting)||void 0===l?void 0:l.footer)?i.a.createElement("div",{dangerouslySetInnerHTML:{__html:null===(c=u.setting)||void 0===c?void 0:c.footer}}):i.a.createElement("div",null,i.a.createElement("p",{className:"footer_con-p inline lineh-30 font-14"},i.a.createElement("span",{className:"font-18 fl"},"\xa9"),"\xa0",f()().year(),"\xa0EduCoder",i.a.createElement("a",{style:{color:"#888"},target:"_blank",href:"http://beian.miit.gov.cn/",className:"ml15 mr15"},"\u6e58ICP\u590717009477\u53f7"),i.a.createElement("a",{style:{color:"#888"},target:"_blank",href:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=43019002000962",className:"mr15"},i.a.createElement("img",{className:"vertical4",src:n("d5bv")}),"\u6e58\u516c\u7f51\u5b89\u590743019002000962\u53f7"),i.a.createElement("a",{href:"https://team.trustie.net",style:{color:"#888"},target:"_blank"},"Trustie"),"\xa0\xa0\xa0&\xa0\xa0\xa0IntelliDE inside. ",i.a.createElement("span",{className:"mr15"},"\u7248\u6743\u6240\u6709 \u6e56\u5357\u667a\u64ce\u79d1\u6280\u6709\u9650\u516c\u53f8"))))},v=m,p=(n("2qtc"),n("kLXV")),g=n("tJVT"),_=n("NaGD"),y=n.n(_),b=n("m3rI"),x=n("1vsH"),E=n("CAjq"),w=n.n(E),L=function(e){e.user;var t,n,r=e.globalSetting,a=Object(o["useState"])(!1),l=Object(g["a"])(a,2),c=l[0],u=l[1];Object(o["useEffect"])((function(){return window.addEventListener("click",d),function(){window.removeEventListener("click",d)}}),[]);var s=function(){var e=function(){return/macintosh|mac os x/i.test(navigator.userAgent)}();if(e)u(!0);else{var t="//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd";Object(x["L"])(t)}},f=function(e,t){if(e.className===t)return e;for(var n=0,r=e;r=r.parentNode;n++){if(r.className===t)return r;if(r==document.documentElement)return!1}},d=function(e){var t,n,r;!(null===e||void 0===e?void 0:e.target)||"\u5934\u6b4c\u6559\u5e08\u4ea4\u6d41\u793e\u533a"!==(null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.innerText)&&"\u5934\u6b4c\u6559\u5e08\u4ea4\u6d41\u793e\u533a"!==(null===e||void 0===e||null===(n=e.target)||void 0===n||null===(r=n.nextElementSibling)||void 0===r?void 0:r.innerText)||f(e.target,"module-introduce")&&s()};return i.a.createElement(i.a.Fragment,null,i.a.createElement(p["a"],{centered:!0,destroyOnClose:!0,visible:c,title:"\u5934\u6b4c\u6559\u5e08\u4ea4\u6d41\u793e\u533a",width:"500px",footer:null,onCancel:function(){return u(!1)}},i.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},i.a.createElement("p",null,"\u626b\u7801\u6216\u641c\u7d22\u52a0\u5165\u5934\u6b4c\u6559\u5e08\u4ea4\u6d41QQ\u7fa4\uff1a612934990 "),i.a.createElement("img",{src:w.a,width:200,height:200}))),i.a.createElement("div",{className:y.a.newFooter,dangerouslySetInnerHTML:{__html:null===(t=r.setting)||void 0===t||null===(n=t.footer)||void 0===n?void 0:n.replaceAll("/api/attachments/",b["a"].IMG_SERVER+"/api/attachments/")}}))},k=L,j=function(e){var t,n,r=e.user,a=e.globalSetting;e.loading,e.dispatch;return a.showFooter&&a.showHeaderFooter?i.a.createElement("section",null,(null===a||void 0===a||null===(t=a.setting)||void 0===t?void 0:t.main_site)&&!(null===a||void 0===a||null===(n=a.setting)||void 0===n?void 0:n.is_local)?i.a.createElement(k,{user:r,globalSetting:a}):i.a.createElement(v,{user:r,globalSetting:a})):i.a.createElement(i.a.Fragment,null," ")},O=Object(u["a"])((function(e){var t=e.user,n=e.loading,r=e.globalSetting;return{user:t,globalSetting:r,loading:n.models.index}}))(j),S=n("iHkK"),I=n.n(S),N=function(e){e.globalSetting,e.loading,e.user,e.dispatch;return i.a.createElement("div",{className:I.a.sideBar})},T=Object(u["a"])((function(e){var t=e.loading,n=e.globalSetting,r=e.user;return{globalSetting:n,user:r,loading:t.models.index}}))(N),C=(n("+L6B"),n("2/Rp")),G=n("9og8");function H(){H=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),l=new N(r||[]);return a(i,"_invoke",{value:j(e,n,l)}),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var d="suspendedStart",h="suspendedYield",m="executing",v="completed",p={};function g(){}function _(){}function y(){}var b={};u(b,i,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==n&&r.call(E,i)&&(b=E);var w=y.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(a,o,i,l){var c=f(e[a],e,o);if("throw"!==c.type){var u=c.arg,s=u.value;return s&&"object"==typeof s&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(s).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,l)}))}l(c.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function j(t,n,r){var a=d;return function(o,i){if(a===m)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var l=r.delegate;if(l){var c=O(l,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===d)throw a=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=m;var u=f(t,n,r);if("normal"===u.type){if(a=r.done?v:h,u.arg===p)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(a=v,r.method="throw",r.arg=u.arg)}}}function O(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=f(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,p;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,p):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return _.prototype=y,a(w,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:_,configurable:!0}),_.displayName=u(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,u(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},L(k.prototype),u(k.prototype,l,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new k(s(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},L(w),u(w,c,"Generator"),u(w,i,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return l.type="throw",l.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;I(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),p}},t}var Y=function(e){e.user;var t=e.dispatch,n=e.classroomList;return i.a.createElement(p["a"],{title:"\u6e29\u99a8\u63d0\u793a",zIndex:9999,footer:null,visible:"\u5bfc\u51fa\u63d0\u9192"===n.actionTabs.key,onCancel:function(){t({type:"classroomList/setActionTabs",payload:{}})}},i.a.createElement("div",null,i.a.createElement("span",null,"\u60a8\u5728\u5f53\u524d\u680f\u76ee\u4e2d\u6709\u5df2\u5bfc\u51fa\u7684\u8868\u683c\u672a\u4e0b\u8f7d\uff0c\u8bf7\u5148\u4e0b\u8f7d\u5df2\u6709\u8868\u683c\uff0c\u7136\u540e\u518d\u5bfc\u51fa\u65b0\u7684\u8868\u683c\u3002"),i.a.createElement("br",null),i.a.createElement("div",{style:{textAlign:"end"}},i.a.createElement(C["a"],{type:"primary",onClick:Object(G["a"])(H().mark((function e(){return H().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t({type:"classroomList/setActionTabs",payload:{}});case 1:case"end":return e.stop()}}),e)})))},"\u77e5\u9053\u4e86"))))},F=Object(u["a"])((function(e){var t=e.user,n=e.classroomList;return{user:t,classroomList:n}}))(Y),M=(n("14J3"),n("BMrR")),A=(n("sRBo"),n("kaz8")),D=n("2tKv"),P=n.n(D),q=function(e){var t,n=e.user,r=Object(o["useState"])(!1),a=Object(g["a"])(r,2),l=a[0],c=a[1],u=Object(o["useState"])(""),s=Object(g["a"])(u,2),d=s[0],h=s[1];Object(o["useEffect"])((function(){var e,t,r=localStorage.getItem("extension-modal");if((null===n||void 0===n||null===(e=n.userInfo)||void 0===e?void 0:e.login)&&r){var a=f()(),o="".concat(null===n||void 0===n||null===(t=n.userInfo)||void 0===t?void 0:t.login,"-extend-date"),i=localStorage.getItem(o);if(i)if(a<=f()(i))c(!1);else{c(!0),localStorage.removeItem(o),localStorage.removeItem("extension-modal");var l=f()(localStorage.getItem("extension-date")).format("YYYY\u5e74MM\u6708DD\u65e5");h(l)}else{c(!0),localStorage.removeItem("extension-modal");var u=f()(localStorage.getItem("extension-date")).format("YYYY\u5e74MM\u6708DD\u65e5");h(u)}return function(){c(!1)}}}),[null===n||void 0===n||null===(t=n.userInfo)||void 0===t?void 0:t.login]);var m=function(e){var t,r="".concat(null===n||void 0===n||null===(t=n.userInfo)||void 0===t?void 0:t.login,"-extend-date"),a=f()().endOf("day").format("YYYY-MM-DD HH:mm:ss");e.target.checked?localStorage.setItem(r,a):localStorage.removeItem(r)};return i.a.createElement(p["a"],{title:"\u6e29\u99a8\u63d0\u793a",visible:l,zIndex:9999,centered:!0,width:594,onCancel:function(){c(!1)},footer:i.a.createElement(M["a"],{align:"middle",justify:"space-between"},i.a.createElement(A["a"],{onChange:m},"\u4eca\u65e5\u4e0d\u518d\u63d0\u9192"),i.a.createElement(C["a"],{onClick:function(){c(!1)},style:{borderRadius:4},type:"primary"}," \u5173\u95ed"))},i.a.createElement("div",{className:"font14",style:{paddingLeft:16}},i.a.createElement("div",null,"\u8001\u5e08\u60a8\u597d\uff01"),i.a.createElement("div",{style:{textIndent:28}},"\u611f\u8c22\u60a8\u5bf9\u5934\u6b4c\u5e73\u53f0\u7684\u8ba4\u53ef\u4e0e\u652f\u6301\uff01\u6839\u636e\u5e73\u53f0",i.a.createElement("a",{href:"https://www.educoder.net/help/agreement",target:"_blank"},"\u670d\u52a1\u534f\u8bae"),"\uff0c\u8d35\u5355\u4f4d\u514d\u8d39\u8bd5\u7528\u671f\u5df2\u7ed3\u675f\uff0c\u5c06\u9650\u5236\u5bf9\u76f8\u5173\u529f\u80fd\u548c\u8d44\u6e90\u7684\u4f7f\u7528\u3002"),i.a.createElement("div",{style:{textIndent:28}},"\u8bf7\u60a8\u6dfb\u52a0\u4ee5\u4e0b\u5fae\u4fe1\u5ba2\u670d\uff0c\u534f\u52a9\u60a8\u5b8c\u6210\u540e\u7eed\u4f7f\u7528\u53ca\u7533\u8bf7\u6d41\u7a0b\uff0c\u611f\u8c22\u652f\u6301\u4e0e\u7406\u89e3\u3002"),i.a.createElement("img",{style:{margin:"8px auto",display:"block"},width:160,src:P.a,alt:"\u4e8c\u7ef4\u7801"}),i.a.createElement("div",{style:{textAlign:"right"}},"\u5934\u6b4c\u8fd0\u8425\u4e2d\u5fc3"),i.a.createElement("div",{style:{textAlign:"right"}},d)))},B=Object(u["a"])((function(e){var t=e.user;return{user:t}}))(q),J=n("H4Hi"),R=n.n(J),z=function(e){e.loading;var t=e.children,n=Object(a["a"])(e,["loading","children"]);return i.a.createElement(r["a"],{locale:l["default"]},i.a.createElement(c["a"],n),i.a.createElement("section",{className:R.a.layoutMainClass},t),i.a.createElement(T,null),i.a.createElement(O,null),i.a.createElement(F,null),i.a.createElement(B,null))};t["default"]=Object(u["a"])((function(e){var t=e.loading;return{loading:t}}))(z)},NaGD:function(e,t,n){e.exports={flex_box_center:"flex_box_center___VTqUm",flex_space_between:"flex_space_between___3f-Ja",flex_box_vertical_center:"flex_box_vertical_center___u4Jjr",flex_box_center_end:"flex_box_center_end___1QKJE",flex_box_column:"flex_box_column___1OBJc",newFooter:"newFooter___UNzWw"}},d5bv:function(e,t,n){e.exports=n.p+"static/beian.0c577066.png"},iHkK:function(e,t,n){e.exports={sideBar:"sideBar___DNWGT",wrap:"wrap___2rWVP",backTop:"backTop___3cAkP",ul:"ul___Bsaot"}}}]);