(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[144],{61673:function(e,t,a){"use strict";a.d(t,{l:function(){return i}});var n=a(4637),l=a(84875),s=a.n(l),i=function(e){var t=e.data,a=e.target,l=e.dataTrackCategory,i=e.dataTrackName,r=e.dataTrackValue,c=e.style,d=e.className,o=e.onClick;return t&&!t.disabled&&t.text?(0,n.jsx)("a",{className:s()(d),href:t.href,target:a||"_self","data-track-category":l,"data-track-name":i,"data-track-value":null!=r?r:t.text,style:c,onClick:o,children:t.text}):null}},14268:function(e,t,a){"use strict";a.d(t,{u:function(){return c}});var n=a(4637),l=a(84875),s=a.n(l),i=a(10954),r=a.n(i),c=function(e){var t=e.subTitle,a=e.title,l=e.type;return t?"string"==typeof t?(0,n.jsx)("p",{className:s()(r().desc,r()[l]),children:t}):(t.content||!t.link.disabled&&t.link.text)&&(0,n.jsxs)("p",{className:s()(r().desc,r()[l]),children:[t.content&&(0,n.jsx)("span",{children:t.content}),!t.link.disabled&&t.link.text&&(0,n.jsx)("a",{href:t.link.href,target:"_blank","data-track-category":a,"data-track-name":"副标题","data-track-value":t.link.text,children:t.link.text})]}):null}},94716:function(e,t,a){"use strict";a.d(t,{T:function(){return r}});var n=a(4637),l=a(14268),s=a(84875),i=a.n(s),r=function(e){var t=e.wrapperClassName,a=e.groupClassName,s=e.groupRef,r=e.block,c=e.children,d=e.subTitleType,o=r.type,u=r.data.render;return(0,n.jsxs)("section",{className:t,"ui-type":o,children:[u.title&&(0,n.jsx)("h2",{children:u.title}),(0,n.jsx)(l.u,{subTitle:u.subTitle,title:u.title,type:d}),(0,n.jsx)("div",{className:i()(a,"v5-group-base"),ref:s,children:c})]})}},70144:function(e,t,a){"use strict";a.r(t),a.d(t,{V5G024:function(){return h}});var n=a(4637),l=a(16114),s=a(59496),i=a(84875),r=a.n(i),c=a(32699),d=a(61673),o=a(94716),u=a(8760),m=a.n(u),h=function(e){var t,a=e.data.render,i=e.type,u=(0,s.useRef)(null),h=(0,s.useState)(0),x=h[0],f=h[1],p=(0,s.useState)(0),k=p[0],N=p[1],v=(0,s.useMemo)(function(){return a.news.length},[a.news]),j=function(e){var t=x-e;e<0?f(Math.min(0,t)):f(Math.max(1260-k,t))};return(0,l.FI)(function(){var e=u.current.querySelectorAll("li"),t=(0,c.reduce)(e,function(e,t){return e+t.offsetWidth+parseInt(getComputedStyle(t,null).marginLeft,10)+parseInt(getComputedStyle(t,null).marginRight,10)},0);N(t),v>3&&f(1260-t)}),(0,n.jsx)(o.T,{wrapperClassName:m()[i],block:e,children:(0,n.jsxs)("div",{className:m().content,children:[(0,n.jsx)("div",{className:m().line}),(0,n.jsx)("div",{className:m().slider,children:(0,n.jsx)("ul",{className:m()["time-list"],ref:u,style:{transform:"translateX(".concat(x,"px)")},children:null===(t=a.news)||void 0===t?void 0:t.map(function(e){return(0,n.jsxs)("li",{className:m()["time-block"],children:[(0,n.jsxs)("div",{className:m().balloon,children:[(0,n.jsx)("div",{className:m().arrow}),(0,n.jsx)("div",{className:m().overflow,children:(0,n.jsx)("span",{className:m().title,children:e.title})})]}),(0,n.jsx)("div",{className:m()["circle-outline"],children:(0,n.jsx)("div",{className:m().circle})}),(0,n.jsx)("div",{className:m().detail,children:(0,n.jsxs)("div",{className:m().wrapper,children:[(0,n.jsxs)("span",{children:[e.desc,"\xa0",e.date]}),(0,n.jsx)(d.l,{className:m().link,data:e.link,dataTrackCategory:a.title,dataTrackName:"".concat(e.date).concat(e.title),target:"_blank"})]})})]},"".concat(e.title).concat(e.date))})})}),(0,n.jsxs)("div",{className:m().operation,children:[(0,n.jsx)("div",{className:r()(m()["btn-left"],(x>=0||v<=3)&&m().disabled),onClick:function(){x<0&&v>3&&j(-1260)},children:(0,n.jsx)("div",{className:m().icon})}),(0,n.jsx)("div",{className:r()(m()["btn-right"],(x<=1260-k||v<=3)&&m().disabled),onClick:function(){x>1260-k&&v>3&&j(1260)},children:(0,n.jsx)("div",{className:m().icon})})]})]})})}},10954:function(e){e.exports={desc:"__69GpM8Qb",white:"dUv6_pZA"}},8760:function(e){e.exports={center:"__478kMKmx",clearInput:"Ig72tZdY",ellipsis:"GsxECjt0",V5G024:"KvQd_ISH",content:"nn6XhL_y",line:"L8uhFg9d",slider:"D6gq1rfz","time-list":"kJfi3Tkx","time-block":"yZJUrz8j",balloon:"BLpEei5o",overflow:"bA77LsXV",arrow:"yhiSIUFz","circle-outline":"KWNhjRy4",circle:"aOm3LJ_K",detail:"__9XGW2ow3",wrapper:"UOQbhApi",link:"__2RE4btWz",operation:"__2pNkLCFZ","btn-left":"__0BBikXOz","btn-right":"t8EFyfMQ",icon:"lGN7_hbV",disabled:"tQD_qaND"}}}]);