parent
b8a456c383
commit
06d9053335
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[62],{68183:function(e,t,n){n.r(t);var a=n(7557),s=n.n(a),i=n(82242),o=n.n(i),r=n(41498),u=n.n(r),c=n(79800),l=n.n(c),d=n(39647),g=n.n(d),h=n(59301),f=n(92736),p=n(81863),x=n(75210),b=n(8459),v=n(80629),m=n(29521),k=n(37712),S=["loading","children","globalSetting","user","account"];t.default=(0,v.connect)((function(e){var t=e.loading,n=e.globalSetting;return{loading:t,user:e.user,globalSetting:n,account:e.account}}))((function(e){e.loading,e.children,e.globalSetting,e.user,e.account;var t=g()(e,S),n=(0,v.useLocation)(),a=(0,h.useState)(!1),i=l()(a,2),r=i[0],c=i[1];function d(){return(d=u()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("1"!==sessionStorage.getItem("text")){e.next=5;break}return e.next=3,(0,b.ZP)("https://pre-data.educoder.net/api/home/send_mail.json",{method:"get"});case 3:0===(null==(t=e.sent)?void 0:t.status)&&sessionStorage.setItem("text","2");case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,h.useEffect)((function(){var e=0;setInterval((function(){e++,"0"!==sessionStorage.getItem("indexstatus")?c(e%2==0):c(!1)}),500)}),[]),(0,h.useEffect)((function(){setInterval((function(){!function(){d.apply(this,arguments)}()}),5e3)}),[]),(0,k.jsxs)(f.ZP,{locale:p.Z,autoInsertSpaceInButton:!1,children:[r&&(0,k.jsxs)("div",{children:[(0,k.jsx)("div",{style:{background:"linear-gradient( 90deg, rgba(252,17,17,0.6) 0%, rgba(255,29,29,0) 100%)",position:"absolute",left:0,zIndex:100,width:"50%",height:"100%"}}),(0,k.jsx)("div",{style:{background:"linear-gradient( 270deg, rgba(252,17,17,0.6) 0%, rgba(255,29,29,0) 100%)",position:"absolute",right:0,zIndex:100,width:"50%",height:"100%"}})]}),"kepukehuan.educoder.net"!==document.domain&&(0,k.jsx)(x.Z,o()({},t)),(0,k.jsx)("section",{className:m.Z.layoutMainClass,style:{marginTop:"/training"==n.pathname?"-72px":""},children:(0,k.jsx)(v.Outlet,{})})]})}))},44e3:function(e,t,n){var a=n(84966),s=n(86737);const i=a.ZP;i.Header=a.h4,i.Footer=a.$_,i.Content=a.VY,i.Sider=s.Z,t.Z=i}}]);
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[62],{68183:function(e,t,n){n.r(t);var a=n(7557),s=n.n(a),i=n(82242),o=n.n(i),r=n(41498),u=n.n(r),c=n(79800),l=n.n(c),d=n(39647),g=n.n(d),h=n(59301),f=n(92736),p=n(81863),x=n(75210),b=n(8459),v=n(80629),m=n(29521),k=n(37712),S=["loading","children","globalSetting","user","account"];t.default=(0,v.connect)((function(e){var t=e.loading,n=e.globalSetting;return{loading:t,user:e.user,globalSetting:n,account:e.account}}))((function(e){e.loading,e.children,e.globalSetting,e.user,e.account;var t=g()(e,S),n=(0,v.useLocation)(),a=(0,h.useState)(!1),i=l()(a,2),r=i[0],c=i[1];function d(){return(d=u()(s()().mark((function e(){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("1"!==sessionStorage.getItem("text")){e.next=5;break}return e.next=3,(0,b.ZP)("https://pre-data.educoder.net/api/home/send_mail.json",{method:"get"});case 3:0===(null==(t=e.sent)?void 0:t.status)&&sessionStorage.setItem("text","2");case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,h.useEffect)((function(){var e=0;setInterval((function(){e++,"0"!==sessionStorage.getItem("indexstatus")?c(e%2==0):c(!1)}),500)}),[]),(0,h.useEffect)((function(){setInterval((function(){!function(){d.apply(this,arguments)}()}),1e4)}),[]),(0,k.jsxs)(f.ZP,{locale:p.Z,autoInsertSpaceInButton:!1,children:[r&&(0,k.jsxs)("div",{children:[(0,k.jsx)("div",{style:{background:"linear-gradient( 90deg, rgba(252,17,17,0.6) 0%, rgba(255,29,29,0) 100%)",position:"absolute",left:0,zIndex:100,width:"50%",height:"100%"}}),(0,k.jsx)("div",{style:{background:"linear-gradient( 270deg, rgba(252,17,17,0.6) 0%, rgba(255,29,29,0) 100%)",position:"absolute",right:0,zIndex:100,width:"50%",height:"100%"}})]}),"kepukehuan.educoder.net"!==document.domain&&(0,k.jsx)(x.Z,o()({},t)),(0,k.jsx)("section",{className:m.Z.layoutMainClass,style:{marginTop:"/training"==n.pathname?"-72px":""},children:(0,k.jsx)(v.Outlet,{})})]})}))},44e3:function(e,t,n){var a=n(84966),s=n(86737);const i=a.ZP;i.Header=a.h4,i.Footer=a.$_,i.Content=a.VY,i.Sider=s.Z,t.Z=i}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue