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.asyn...

1 line
1.5 KiB

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[62],{68183:function(e,n,t){t.r(n);var a=t(82242),i=t.n(a),o=t(79800),s=t.n(o),r=t(39647),u=t.n(r),c=t(59301),l=t(92736),d=t(81863),g=t(75210),h=t(80629),b=t(29521),f=t(37712),x=["loading","children","globalSetting","user","account"];n.default=(0,h.connect)((function(e){var n=e.loading,t=e.globalSetting;return{loading:n,user:e.user,globalSetting:t,account:e.account}}))((function(e){e.loading,e.children,e.globalSetting,e.user,e.account;var n=u()(e,x),t=(0,h.useLocation)(),a=(0,c.useState)(!1),o=s()(a,2),r=o[0],p=o[1];return(0,c.useEffect)((function(){var e=0;setInterval((function(){e++,"0"!==sessionStorage.getItem("indexstatus")?p(e%2==0):p(!1)}),500)}),[]),(0,f.jsxs)(l.ZP,{locale:d.Z,autoInsertSpaceInButton:!1,children:[r&&(0,f.jsxs)("div",{children:[(0,f.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,f.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,f.jsx)(g.Z,i()({},n)),(0,f.jsx)("section",{className:b.Z.layoutMainClass,style:{marginTop:"/training"==t.pathname?"-72px":""},children:(0,f.jsx)(h.Outlet,{})})]})}))},44e3:function(e,n,t){var a=t(84966),i=t(86737);const o=a.ZP;o.Header=a.h4,o.Footer=a.$_,o.Content=a.VY,o.Sider=i.Z,n.Z=o}}]);