"use strict";(self.webpackChunkopen_source_portal=self.webpackChunkopen_source_portal||[]).push([[364],{6105:(e,t,n)=>{n.r(t),n.d(t,{default:()=>I});var i=n(4848),a=n(1865);const r=n.p+"img/10.afc5e7.mp4",s=n.p+"img/openVideo.f138a7.mp4",o=n.p+"img/initVideo.5e4faf.mp4";var l=n(4883),c=n(7880),d=n(8346),u=n(650),m=n(9068),p=n(3387),g=n(7642),h=n(2555),f=n(6540),j=n(4354);const x=n.p+"img/slogan1.2fed37.png",v=n.p+"img/slogan-en.a5537c.png",y=n.p+"img/sloganEn.5d983b.png";var b=n(6347),w=function(){return w=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0?X[0]:null,$=(0,f.useCallback)((function(t){t.isLocal?e.push("/blogDetail/"+t.id):window.open(t.content)}),[]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",E({className:l.A.carouselWrap,style:{height:R}},{children:[K&&(0,i.jsxs)("div",E({className:l.A.initVideoBg},{children:[(0,i.jsx)("video",{autoPlay:!0,loop:!1,muted:!0,src:o,className:l.A.initVideo}),K&&(0,i.jsx)(j.A,{onClick:function(){document.documentElement.style.overflow="auto",clearTimeout(x.current),M(!1),Q(),w(0)},className:l.A.arrowDown})]})),!K&&(0,i.jsx)("div",E({className:l.A.allVideoBg},{children:(0,i.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,src:s,style:{objectFit:"cover",width:"100%",height:"100%"}})})),(0,i.jsx)(c.A,E({offsetTop:0},{children:(0,i.jsx)(h.CS.div,E({className:l.A.header,style:E(E({},T),{backgroundColor:n?"black":"transparent"})},{children:(0,i.jsx)(g.A,{})}))})),(0,i.jsx)(h.CS.div,E({className:l.A.content,style:E({},J)},{children:(0,i.jsx)(A,{})})),(0,i.jsx)(h.CS.div,E({className:l.A.sloganPart,style:E({},H)},{children:(0,i.jsx)(O,{})}))]})),(0,i.jsx)(_.A,E({title:a.F2.t("open_source_project",{},"开源项目"),description:F.df.PROJECT[a.F2.language],bottom:(0,i.jsx)(m.A,{btnText:a.F2.t("view_all_projects",{},"查看全部项目"),link:"/project"})},{children:(0,i.jsx)("div",E({className:"flexJustifyBetween width100"},{children:V.slice(0,4).map((function(t,n){return(0,i.jsx)(u.A,E({marginBottom:0,marginRight:0,imgSrc:F.Rc+t.projectName+".png",onClick:function(){return e.push("/projectDetail/"+t.id)}},{children:(0,i.jsxs)("div",E({className:"flexJustifyBetween flexCol flex1"},{children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",E({className:"cursorPointer colorWhite font20 mt20"},{children:t.projectName})),(0,i.jsx)(d.A.Paragraph,E({className:"cardTextStyle",ellipsis:{rows:6,showTooltip:!0,expandable:!1,wrapper:"span"}},{children:t["summary-"+a.F2.language]}))]}),(0,i.jsx)("div",{children:(0,i.jsx)(d.A.Paragraph,E({style:{color:"#fff"},ellipsis:{rows:1,showTooltip:!0,expandable:!1,wrapper:"span"}},{children:t["domain-"+a.F2.language].split(",").concat(t.language.split(",")).map((function(e,t){return(0,i.jsx)("span",E({className:"tags"},{children:e}),t)}))}))})]}))}),n)}))}))})),(0,i.jsx)(_.A,E({title:a.F2.t("tech_blog",{},"技术博客"),description:F.df.BLOG[a.F2.language],bottom:(0,i.jsx)(m.A,{btnText:a.F2.t("view_all_blogs",{},"查看全部博客"),link:"/blog"})},{children:(0,i.jsxs)("div",E({className:"flexJustifyStart width100"},{children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("img",{src:F.Rc+Z.picUrl,alt:"coinread",width:528,style:{marginBottom:10}}),(0,i.jsx)("div",E({style:{width:528,marginTop:20}},{children:(0,i.jsx)(C,{marginBottom:12,rowCount:2,onClick:function(){$(Z)},border:!1,titleSize:20,date:Z.publishTime,title:Z.title,desc:Z.summary})}))]}),(0,i.jsx)("div",{className:"ml36 mr36",style:{marginRight:36,marginLeft:36,borderRight:"1px solid #5f5f5f",opacity:.4}}),(0,i.jsx)("div",E({className:"flex1 flexCol"},{children:X.slice(1,5).map((function(e,t,n){return(0,i.jsx)(C,{marginBottom:8,rowCount:1,onClick:function(){$(e)},titleSize:16,border:t!==n.length-1,date:e.publishTime,title:e.title,desc:e.summary})}))}))]}))})),(0,i.jsx)(_.A,E({bottom:(0,i.jsx)(m.A,{btnText:a.F2.t("view_all_events",{},"查看全部活动"),link:"/events"}),title:a.F2.t("open_source_activities",{},"开源活动"),description:F.df.ACTIVITY[a.F2.language]},{children:(0,i.jsx)("div",E({className:"width100"},{children:(0,i.jsx)(P.A,{list:W.slice(0,3),marginRight:0})}))})),(0,i.jsxs)("div",E({className:l.A.videoWrap},{children:[(0,i.jsx)("video",{className:l.A.videoComponent,autoPlay:!0,loop:!0,muted:!0,src:r}),(0,i.jsx)("div",E({className:l.A.footWrap},{children:(0,i.jsx)(p.A,{})}))]}))]})}console.log(D,"isAnimated111")}}]);