1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5684],{37373:(function(S,D,l){l.r(D),l.d(D,{default:function(){return I}});var t=l(67294),C=l(64812),O=l(29969),h=l(59227),E=l(66518),P=l(61182),M=l(40803),f=l(88036),L=l(32130),p=l(82816),B=(v,g,o)=>new Promise((d,s)=>{var m=a=>{try{c(o.next(a))}catch(i){s(i)}},A=a=>{try{c(o.throw(a))}catch(i){s(i)}},c=a=>a.done?d(a.value):Promise.resolve(a.value).then(m,A);c((o=o.apply(v,g)).next())});function I({designContext:v}){const{currentBreakpoint:g}=(0,L.Z)(),o=g===E.cL.sm,{idsStr:d="",blogColor:s={},columnsNum:m,mScrollBg:A="#004df2"}=v||{},[c,a]=(0,t.useState)([]),[i,K]=(0,t.useReducer)(e=>e+1,0),R=(0,t.useMemo)(()=>(0,P.Z)(),[]),r=c.map(e=>{var n,_,u;return{categoryId:(n=e==null?void 0:e.category)==null?void 0:n.id,title:e.title,id:e.id,description:e.description,updatedAt:e.updatedAt,mainImg:e.headImageUrl,imgAlt:(_=e.headImageUrlAndAlt)==null?void 0:_.alt,ownerId:(u=e.createdBy)==null?void 0:u.id,lookCount:e.lookCount,urlKey:e.urlKey,total:e.total,issuedAt:e.issuedAt}});(0,t.useEffect)(()=>{(0,M.R)({ids:d.split(","),pageNo:1,pageSize:12}).then(e=>B(null,null,function*(){a(e.data)}))},[o,d]);const y=e=>{var n;const{id:_,mainImg:u,imgAlt:U,title:N,description:T,issuedAt:W,lookCount:b}=e||{};return t.createElement("a",{key:_,className:`blog-item blog-item-${m}`,href:`${R}${(n=E.fh)==null?void 0:n.blogCenterPath}/${e==null?void 0:e.urlKey}`,target:"_blank",rel:"noreferrer"},t.createElement(O.Z,{lazyLoad:!0,className:"blog-image",src:u||f,alt:U}),t.createElement("div",{className:"words-container"},t.createElement("div",{className:"title cutwords-one-line",style:{color:s.titleColor}},N),t.createElement("div",{className:"description cutwords-3-line",style:{color:s.subtitleColor}},T),t.createElement("div",{className:"last-line",style:{color:s.subtitleColor}},t.createElement("span",null,(0,h.p6)(W,"",E.tO.dDate)),t.createElement("span",{className:"vertical-line"},"|"),t.createElement("span",null,t.createElement(C.Z,{type:"visible",style:{marginRight:5}}),b||0))))};return(0,t.useEffect)(()=>{K()},[o]),t.createElement("div",{key:i,className:"customized-blog-container",style:{backgroundColor:s.bgColor,"--mScrollBg":A}},t.createElement("div",{className:"blog-list",style:o?{width:"auto",whiteSpace:"nowrap"}:{gridTemplateColumns:`repeat(${m}, 1fr)`}},!o&&(Array.isArray(r)&&(r!=null&&r.length)?r.map((e,n)=>y(e,n)):null),t.createElement(p.Z,{data:r,showSlider:o},Array.isArray(r)&&r.map((e,n)=>y(e,n)))))}})}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.