1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[454],{2568:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var r=l(95155),a=l(99349);a.default.src,a.default.width,a.default.height;var n=l(76156);function i(e){let{author:t,postedOn:l,datePosted:a,loading:i}=e,s="wefact-fallback-author"===t.id;return(0,r.jsxs)("div",{className:"flex flex-row items-center",children:[t.image?(0,r.jsx)("div",{className:s?"flex size-12 items-center justify-center overflow-hidden rounded-full border border-gray-200 bg-white p-2":"size-12 overflow-hidden rounded-full",children:(0,r.jsx)(n.A,{image:t.image,alt:t.fullName,className:s?"h-auto w-full object-contain":"origin-top scale-130",loading:i||"lazy"})}):null,(0,r.jsxs)("span",{className:"ml-2",children:[(0,r.jsx)("p",{className:"w-fit font-bold text-gray-900",children:t.fullName}),a?(0,r.jsxs)("p",{className:"w-fit text-gray-500",children:[l," ",a]}):null]})]})}},16029:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var r=l(95155);function a(e){let{href:t,title:l,id:a,width:n,height:i,viewBox:s,color:o,className:d}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:s,className:d,children:(0,r.jsx)("use",{href:"".concat(t,"#").concat(a),xlinkTitle:l,color:o})})}},27546:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var r=l(95155),a=l(75303),n=l(85203),i=l.n(n),s=l(77217),o=l(16029);function d(e){let{tag:t,className:l,variant:n}=e,d=i()("border w-fit rounded-sm text-sm/2 font-semibold px-2",l,n===a.d.gray&&"bg-white text-gray-950 border-solid border-color-gray-200 py-1.5",n===a.d.blue&&"bg-primary-200 text-primary-900 border-primary-300 py-1.5",n===a.d.yellow&&"bg-warning-100 text-warning-900 border-warning-300 py-1.5",n===a.d.dark&&"bg-gray-950 text-gray-300 border-solid border-gray-800 py-1.5");return(0,r.jsx)("div",{className:d,children:n===a.d.yellow?(0,r.jsxs)("div",{className:"my-auto flex flex-row items-center gap-x-1",children:[(0,r.jsx)(o.A,{href:s.default.src,id:"DIAMOND",width:"12",height:"12",title:"Diamond"}),t]}):(0,r.jsx)("span",{children:t})})}},30926:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var l in t)Object.defineProperty(e,l,{enumerable:!0,get:t[l]})}(t,{callServer:function(){return r.callServer},createServerReference:function(){return n.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}});let r=l(41209),a=l(85153),n=l(77197)},42307:(e,t,l)=>{Promise.resolve().then(l.bind(l,33604)),Promise.resolve().then(l.bind(l,99349)),Promise.resolve().then(l.bind(l,63261))},60440:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var r=l(95155),a=l(89488),n=l(85203),i=l.n(n);function s(e){let{data:t,activeSegment:l,onHandleActiveSegment:n,className:s}=e,o=e=>e.showAllCategories?"":e.slug;return(0,r.jsx)("div",{className:i()("lg:rounded-xl lg:bg-gray-200 lg:p-1",s),children:t.map((e,t)=>(0,r.jsx)(a.A,{className:"".concat(l===o(e)?"bg-white text-gray-900 shadow-lg":null),label:e.label,value:o(e),onEventHandler:()=>{n(o(e))}},"key-".concat(e.id,"-").concat(t)))})}},63261:(e,t,l)=>{"use strict";l.d(t,{default:()=>N});var r=l(95155),a=l(52619),n=l.n(a);function i(e){let{id:t,label:l,href:a}=e;return(0,r.jsx)(n(),{id:t,href:a,className:"h-fit rounded-lg bg-gray-200 px-5 py-2.5 text-center font-bold whitespace-nowrap text-gray-800 hover:bg-gray-300 hover:text-gray-900 focus:bg-gray-300 focus:text-gray-900",role:"button","aria-label":l,children:l})}var s=l(2568),o=l(27546),d=l(75303),c=l(77193),u=l(85203),g=l.n(u),m=l(12115),h=l(76156);function x(e){let{backgroundImage:t,image:l,imageParentClassName:a,imageClassName:n,loading:i}=e;return(0,r.jsx)(m.Fragment,{children:!0===t?(0,r.jsx)("div",{className:"before:absolute before:size-full before:rounded-xl before:bg-gray-950/60 before:lg:rounded-2xl"}):(0,r.jsx)("div",{className:a,children:(0,r.jsx)(h.A,{image:l,alt:l.caption||l.name,className:n,loading:i||"lazy"})})})}function f(e){let{children:t,image:l,index:a,className:n,imageAlignment:i,imageClassName:s,backgroundImage:o}=e,d=g()("rounded-xl w-full relative bg-white flex sm:rounded-2xl overflow-hidden",n,{"flex-col lg:flex-row":i===c.X.Left||i===c.X.Right},{"flex-col":i===c.X.Top||i===c.X.Bottom||i===c.X.Center},!0===o&&"bg-center bg-cover"),u=g()("flex flex-col p-5 md:p-7 lg:p-8",0===a&&"lg:w-1/2",a>0&&"lg:h-full",!0===o&&"text-white size-full z-10"),m=g()(i===c.X.Right&&"order-0 lg:order-1 lg:w-1/2 h-full my-auto",i===c.X.Left&&"lg:order-0 lg:w-1/2 h-full my-auto",i===c.X.Center&&"order-1
1size-fulll"),h=g()("size-full rounded-xl",s,0===a&&"rounded-b-none",i===c.X.Left&&"lg:rounded-s-2xl",i===c.X.Right&&"lg:rounded-t-none lg:rounded-b-none lg:rounded-r-2xl",i===c.X.Top&&"rounded-b-none min-h-[15rem] max-h-[15rem] md:h-full lg:rounded-t-2xl",{"lg:rounded-b-2xl size-full rounded-t-0":i===c.X.Bottom||i===c.X.Center}),f=g()("bg-primary-200 rounded-t-xl lg:rounded-t-2xl",0===a?"min-h-[15rem] lg:w-1/2 lg:size-full lg:rounded-r-2xl lg:rounded-t-none lg:order-1 lg:rounded-l-0":"min-h-[15rem] max-h-[15rem]");return(0,r.jsxs)("div",{className:d,style:{backgroundImage:!0===o?"url(".concat(null==l?void 0:l.url,")"):""},children:[l?(0,r.jsx)(x,{image:l,imageParentClassName:m,imageClassName:h,backgroundImage:o,loading:"eager"}):(0,r.jsx)("div",{className:f}),(0,r.jsx)("div",{className:u,children:t})]})}function b(e){let{article:t,index:l}=e;return(0,r.jsxs)(f,{image:t.featuredImage,index:l,imageAlignment:0===l?c.X.Right:c.X.Top,imageClassName:"object-cover",title:t.title,text:t.summary,className:0===l?"col-span-full":"col",children:[t.category&&t.category.length>0&&(0,r.jsx)("div",{className:"my-3 mb-4 inline-flex gap-x-2",children:t.category.map((e,t)=>e.showAllCategories?null:(0,r.jsx)(o.A,{variant:d.d.gray,tag:e.label},"key-".concat(e.id,"-").concat(t)))}),t.title&&(0,r.jsx)("div",{className:"mb-2",children:(0,r.jsx)("strong",{className:"text-xl",children:t.title})}),t.summary&&(0,r.jsx)("p",{className:"text-gray-800",children:t.summary}),(0,r.jsx)("div",{className:0===l?"mt-8 mb-10 lg:mt-8 lg:mb-30":"mt-8 mb-10 inline-flex lg:mt-8 lg:mb-4",children:t.slug&&(0,r.jsx)(i,{id:t.title,href:t.slug,label:t.readMore})}),t.author&&(0,r.jsx)("div",{className:"mt-auto",children:(0,r.jsx)(s.A,{author:t.author,postedOn:t.postedOn,datePosted:t.datePosted,loading:"eager"})})]})}function v(e){let{label:t,isLoading:l,onHandleEvent:a}=e,n=g()("rounded-lg px-5 py-2.5 text-center h-fit whitespace-nowrap font-bold bg-gray-200 text-gray-800 hover:bg-gray-300 hover:text-gray-900 cursor-pointer",!0===l?"inline-flex gap-x-4 items-center":null);return(0,r.jsxs)("button",{className:n,onClick:a,children:[t,!0===l?(0,r.jsx)("svg",{className:"size-5 animate-spin",viewBox:"0 0 24 24",children:(0,r.jsxs)("svg",{"aria-hidden":"true",className:"h-8 w-8 animate-spin fill-white text-gray-200 dark:text-gray-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}):null]})}var y=l(60440),p=l(87846),w=l(30926);let j=(0,w.createServerReference)("70169861f463bbb35e8ee509bf4bcb2cb93804bd86",w.callServer,void 0,w.findSourceMapURL,"loadBlogArticles");function N(e){var t;let{data:l}=e,[a,n]=(0,m.useState)("wefact-updates"),[i,s]=(0,m.useState)(l.articles),[o,d]=(0,m.useState)(null!=(t=l.totalArticles)?t:l.articles.length),[c,u]=(0,m.useTransition)(),g=i.length<o;return(0,r.jsxs)(m.Fragment,{children:[(0,r.jsx)(y.A,{data:l.categories,onHandleActiveSegment:e=>{e!==a&&(n(e),u(async()=>{let t=await j(e,0);s(t.articles),d(t.totalArticles)}))},activeSegment:a,className:"mb-10 w-fit"}),(0,r.jsx)(p.A,{className:"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",children:i&&i.length>0?i.map((e,t)=>(0,r.jsx)(b,{index:t,article:e},"key-".concat(e.id,"-").concat(t))):(0,r.jsx)("p",{children:l.noArticlesFound})}),g&&(0,r.jsx)("div",{className:"mt-6 w-full text-center",children:(0,r.jsx)(v,{isLoading:c,onHandleEvent:()=>{u(async()=>{let e=await j(a,i.length,3);s(t=>[...t,...e.articles]),d(e.totalArticles)})},label:l.loadMore||"Load more"})})]})}},75303:(e,t,l)=>{"use strict";l.d(t,{d:()=>r});var r=function(e){return e.gray="GRAY",e.blue="BLUE",e.yellow="YELLOW",e.dark="DARK",e}({})},76156:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var r=l(95155),a=l(15239);function n(e){let{image:t,className:l,loading:n,alt:i,...s}=e;return(0,r.jsx)(a.default,{src:t.url,alt:t.description?t.description:i,className:l,...void 0!==t.width&&{width:t.width,height:t.height},...void 0===t.width&&{style:{position:"relative",width:"100%",height:"auto"},width:0,height:0,sizes:"100vw"},loading:n||"lazy",decoding:"auto",...s})}},77193:(e,t,l)=>{"use strict";l.d(t,{X:()=>r});var r=function(e){return e.Left="LEFT",e.Right="RIGHT",e.Center="CENTER",e.Top="TOP",e.Bottom="BOTTOM",e}({})},77217:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>r});let r={src:"/_next/static/media/diamond-icon.1fb8ae7d.svg",height:35,width:41,blurWidth:0,blurHeight:0}},87846:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var r=l(95155),a=l(85203),n=l.n(a);function i(e){let{children:t,className:l}=e,a=n()("grid gap-4 relative",l);return(0,r.jsx)("div",{className:a,children:t})}l(12115)},89488:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var r=l(95155),a=l(85203),n=l.n(a);function i(e){let{className:t,value:l,label:a,onEventHandler:i}=e,s=n()("text-gray-500 mb-2 px-4 py-1 cursor-pointer rounded-lg font-semibold hover:text-gray-900 not-last:mr-2 ease-in-out transition transition-colors lg:mb-0",t);return(0,r.jsx)("button",{type:"button","aria-label":a,value:l,className:s,onClick:i,children:a})}},99349:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>r});let r={src:"/_next/static/media/wefact-logo-dark.3bf02a29.svg",height:22,width:100,blurWidth:0,blurHeight:0}}},e=>{e.O(0,[391,91,441,255,358],()=>e(e.s=42307)),_N_E=e.O()}]);
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.