PageSourceSearch

https://www.cnbcafrica.com/_next/static/chunks/pages/tag/[...slug]-caec3f407fcc8423.js

js cnbcafrica.com collected 2026-10-02 02:23:22 UTC 5,415 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5986],{77637:function(s,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tag/[...slug]",function(){return n(53698)}])},24432:function(s,e,n){"use strict";var a=n(85893);n(67294);var i=n(69111),l=n(59622),t=n(15332),c=n(345),r=n(75684),d=n(88979),o=n(47652),u=function(s){var e=s.title,n=s.description,u=s.items,x=s.pagination,g=s.isReady,v=s.sponsorLogo,h=void 0===v?null:v,m=s.sponsorLink,p=s.sponsorByline,j=void 0===p?null:p,N=s.sidebarExtra;if(!(void 0===g||g))return(0,a.jsx)(o.Z,{});var f=u||[],b=f[0],y=f.slice(1,5),P=f.slice(5),w=(0,i.decode)(e||""),_=n?(0,i.decode)(String(n)).replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim():null;return(0,a.jsxs)("div",{className:"container mx-auto pb-8",children:[(0,a.jsx)("div",{className:"px-4 xl:px-0",children:(0,a.jsx)(c.iF,{})}),(0,a.jsxs)("section",{className:"py-8 px-4 xl:px-0",children:[h?(0,a.jsxs)("div",{className:"mb-6 flex flex-wrap items-end justify-between gap-6 border-b border-gray-200 pb-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"h-1.5 w-16 bg-cnbc-yellow"}),(0,a.jsx)("h1",{className:"m-0 mt-2 font-sans text-2xl md:text-3xl font-black uppercase tracking-tight text-cnbc-navy",children:w})]}),(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"font-sans text-xs uppercase tracking-wide text-gray-500",children:"Sponsored by"}),(0,a.jsx)("a",{href:void 0===m?null:m,target:"_blank",rel:"noreferrer",children:(0,a.jsx)("img",{src:h,alt:"Sponsor logo",className:"mx-auto mt-1 max-h-12 w-auto"})}),j&&(0,a.jsx)("div",{className:"mt-1 font-sans text-xs text-gray-500",children:j})]})]}):(0,a.jsx)(l.Z,{title:w,as:"h1"}),_&&(0,a.jsx)("p",{className:"mt-0 mb-8 max-w-3xl font-sans text-base leading-relaxed text-gray-600",children:_}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8",children:[(0,a.jsxs)("div",{className:"lg:col-span-8",children:[f.length>0&&(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-8",children:[(0,a.jsx)("div",{className:"md:col-span-7",children:b&&(0,a.jsx)(t.lg,{item:b})}),(0,a.jsx)("div",{className:"md:col-span-5",children:y.map(function(s,e){return(0,a.jsx)(t.dh,{item:s,isLast:e===y.length-1},s.id||s.uri||e)})})]}),P.length>0&&(0,a.jsxs)("div",{className:"mt-10",children:[(0,a.jsx)(l.Z,{title:"More"}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-10",children:P.map(function(s,e){return(0,a.jsx)(t.ns,{item:s},s.id||s.uri||e)})})]}),(null==x?void 0:x.totalPages)>1&&(0,a.jsx)(d.Z,{size:"thin",pagination:x})]}),(0,a.jsx)("aside",{className:"lg:col-span-4 lg:border-l lg:border-gray-200 lg:pl-8",children:(0,a.jsxs)("div",{className:"listing-sticky space-y-6",children:[(0,a.jsx)(c.rj,{}),(0,a.jsx)(r.Z,{}),(0,a.jsx)(c.Wt,{}),void 0===N?null:N]})})]})]})]})};e.Z=u},53698:function(s,e,n){"use strict";n.r(e),n.d(e,{__N_SSP:function(){return u}});var a=n(26042),i=n(69396),l=n(85893),t=n(12458),c=n(38660),r=n(21292),d=n(91444),o=function(s){var e=s.posts,n=s.pagination,o=s.tag,u=(null==n?void 0:n.currentPage)>1?" - Page ".concat(n.currentPage):"",x=(0,r.U)({title:"Tag: ".concat(null==o?void 0:o.name).concat(u),description:null==o?void 0:o.description,path:(null==n?void 0:n.currentPage)>1?"/tag/".concat(null==o?void 0:o.slug,"/page/").concat(n.currentPage,"/"):"/tag/".concat(null==o?void 0:o.slug,"/"),keywords:null==o?void 0:o.name});return(0,l.jsxs)(t.Z,{children:[(0,l.jsx)(c.Z,{seo:x}),(0,l.jsx)("div",{className:"relative block",children:(0,l.jsx)(d.Z,{data:{tag:o,items:e,isReady:!0,pagination:(0,i.Z)((0,a.Z)({},n),{baseUrl:"/tag/".concat(null==o?void 0:o.slug,"/")})}})})]})},u=!0;e.default=o},88979:function(s,e,n){"use strict";var a=n(85893),i=n(41664),l=n.n(i),t=n(11163),c=function(s){var e=s.pagination;(0,t.useRouter)();var n=null==e?void 0:e.baseUrl,i=parseInt(null==e?void 0:e.currentPage),c=parseInt(null==e?void 0:e.totalPages),r=n,d=n;return(null==e?void 0:e.hasPreviousPage)&&(r="".concat(n,"page/").concat(i-1,"/"),i-1==1&&(r="".concat(n))),(null==e?void 0:e.hasNextPage)&&(d="".concat(n,"page/").concat(i+1,"/")),(0,a.jsx)("div",{className:"block",children:(0,a.jsxs)("div",{className:"container mx-auto text-center wrap-paginators mt-5",children:[(0,a.jsx)("div",{className:"inline-block",children:(null==e?void 0:e.hasPreviousPage)&&i>1&&(0,a.jsx)(l(),{href:"".concat(r),children:(0,a.jsx)("a",{href:"".concat(r),children:(0,a.jsx)("div",{className:"btn btn-alt listing-btn",children:(0,a.jsx)("span",{children:"Newer Articles"})})})})}),(0,a.jsx)("div",{className:"inline-block",children:(null==e?void 0:e.hasNextPage)&&c!==i&&(0,a.jsx)(l(),{href:"".concat(d),children:(0,a.jsx)("a",{href:"".concat(d),children:(0,a.jsx)("div",{className:"btn btn-alt listing-btn",children:(0,a.jsx)("span",{children:"Older Articles"})})})})})]})})};e.Z=c},91444:function(s,e,n){"use strict";var a=n(85893);n(67294);var i=n(24432),l=function(s){var e,n,l=s.data,t=(null==l?void 0:null===(e=l.tag)||void 0===e?void 0:e.name)||(l.isSearch?"Search Results for: ".concat(l.searchQuery):"");return(0,a.jsx)(i.Z,{title:t,description:null==l?void 0:null===(n=l.tag)||void 0===n?void 0:n.description,items:null==l?void 0:l.items,pagination:null==l?void 0:l.pagination,isReady:null==l?void 0:l.isReady})};e.Z=l}},function(s){s.O(0,[4885,4043,1664,1379,9111,5146,6237,8363,4715,9774,2888,179],function(){return s(s.s=77637)}),_N_E=s.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.