1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[277],{4421:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var r=a(7876);a(4232);var s=a(9053),l=a(6968),n=a.n(l);a(8230);let i=e=>{var t,a;let{post:l}=e;return(0,r.jsxs)("div",{className:"flex flex-col mb-6 md:mb-[75px] w-full md:w-[calc(50%-20px)]",children:[(0,r.jsx)("div",{className:"block border border-gray-200 rounded-lg mb-6 overflow-hidden",children:(null==(a=l.featuredImage)||null==(t=a.node)?void 0:t.sourceUrl)&&(0,r.jsx)("a",{href:l.uri,children:(0,r.jsx)(n(),{src:l.featuredImage.node.sourceUrl,alt:l.featuredImage.node.altText||l.title,className:"object-cover min-h-[170px] w-full max-h-[170px] rounded-lg",width:500,height:170})})}),(0,r.jsxs)("div",{className:"block flex-grow",children:[(0,r.jsx)("a",{href:l.uri,children:(0,r.jsx)("h3",{className:"text-2xl font-bold leading-8 text-blue-900 mb-3 hover:underline",children:l.title})}),(0,r.jsx)("p",{className:"text-lg leading-8 text-gray-600 mb-7",children:((e,t)=>{if(!e)return"";let a=e.replace(/<[^>]+>/g,"");return(a=(a=(a=(a=(a=a.replace(/\[et_pb_[^\]]*\]/g,"")).replace(/\[\/et_pb_[^\]]*\]/g,"")).replace(/\[[^\]]*\]/g,"")).replace(/&#\d+;/g,"")).replace(/[\u00A0-\u200F]/g,"")).length<=150?a:a.substring(0,150)+"..."})(l.excerpt,150)})]}),(0,r.jsxs)("a",{href:l.uri,className:"pt-4 flex justify-end md:justify-start gap-1 font-medium btn-link-secondary border-t border-gray-200 text-lg leading-6 text-indigo-600 hover:text-indigo-800 transition-colors",children:["Read More",(0,r.jsx)(s.A,{className:"w-5 h-5"})]})]})};function o(e){let{posts:t}=e;return(0,r.jsx)("div",{className:"flex flex-wrap gap-10 items-stretch justify-center",children:t.map(e=>(0,r.jsx)(i,{post:e},e.id))})}},5699:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>c,default:()=>m});var r=a(7876);a(4232),a(7328);var s=a(4421),l=a(9552),n=a(9053),i=a(8652),o=a(1205),d=a(3105),c=!0;function m(e){let t,{posts:a,pageInfo:c,page:m}=e,h=Math.max(1,Math.ceil(((null==c?void 0:c.totalCount)||0)/20)),u=m>1?"News | Page ".concat(m):"News",x=m>1?"Stay updated with the latest news from Altais. Page ".concat(m," of our news archive."):"Stay updated with the latest news from Altais.";return(0,r.jsx)(i.A,{siteTitle:u,siteDescription:x,children:(0,r.jsxs)("div",{className:"block",children:[(0,r.jsx)(d.A,{DesktopBanner:"bg-landing-common-banner",MobileBanner:"bg-landing-common-banner-mobile",heading:"News"}),(0,r.jsx)(o.A,{items:[{label:"Home",link:"/"},{label:"News"}]}),(0,r.jsxs)("div",{className:"p-8 min-h-screen font-sans",children:[console.log("totalCount:",null==c?void 0:c.totalCount,"totalPages:",Math.ceil((null==c?void 0:c.totalCount)/20)),(0,r.jsxs)("div",{className:"container mx-auto",children:[(0,r.jsx)(s.A,{posts:a}),(0,r.jsxs)("div",{className:"flex justify-center items-center mt-12 gap-4",children:[m>1&&(0,r.jsxs)("a",{href:"/news?page=".concat(m-1),className:"px-6 py-2 border border-gray-300 text-gray-700 font-medium rounded-full shadow-sm bg-white hover:bg-gray-100 transition-colors flex items-center",children:[(0,r.jsx)(l.A,{className:"w-5 h-5 mr-2"}),"Previous"]}),(t=Math.max(1,m-5),Array.from({length:Math.min(h,m+5)-t+1},(e,a)=>t+a).map(e=>(0,r.jsx)("a",{href:"/news?page=".concat(e),className:"px-4 py-2 border border-gray-300 rounded-full shadow-sm mx-1 font-medium ".concat(e===m?"bg-bluePrimary text-white":"bg-white text-gray-700 hover:bg-gray-100"),children:e},e))),(null==c?void 0:c.hasNextPage)&&(0,r.jsxs)("a",{href:"/news?page=".concat(m+1),className:"px-6 py-2 border border-gray-300 text-gray-700 font-medium rounded-full shadow-sm bg-white hover:bg-gray-100 transition-colors flex items-center",children:["Next",(0,r.jsx)(n.A,{className:"w-5 h-5 ml-2"})]})]})]})]})]})})}},9552:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(7963).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},9852:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/news",function(){return a(5699)}])}},e=>{e.O(0,[636,593,792],()=>e(e.s=9852)),_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.