(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5882],{16529:function(t,n,r){"use strict";r.r(n);var u=r(77837),a=r(38860),o=r.n(a),e=r(82684),l=r(94629),i=r(19396),c=r(93808),d=r(38276),s=r(4190),f=r(35686),p=r(70515),b=r(28598);function v(t){var n=t.slug,r=f.ZP.global_data_products.detail(n).data,u=(0,e.useMemo)((function(){return null===r||void 0===r?void 0:r.global_data_product}),[r]),a=(0,e.useMemo)((function(){return(null===n||void 0===n?void 0:n.length)>=21?"".concat(null===n||void 0===n?void 0:n.slice(0,21),"..."):n}),[n]);return(0,b.jsxs)(l.Z,{addProjectBreadcrumbToCustomBreadcrumbs:!0,breadcrumbs:[{label:function(){return"Global data products"},linkProps:{href:"/global-data-products"}},{bold:!0,label:function(){return a}}],title:n,uuid:"GlobalDataProductDetail/index",children:[!r&&(0,b.jsx)(d.Z,{p:p.cd,children:(0,b.jsx)(s.Z,{inverted:!0})}),u&&(0,b.jsx)(i.Z,{globalDataProduct:u})]})}v.getInitialProps=function(){var t=(0,u.Z)(o().mark((function t(n){var r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.query.slug,t.abrupt("return",{slug:null===r||void 0===r?void 0:r[0]});case 2:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}(),n.default=(0,c.Z)(v)},49794:function(t,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/global-data-products/[...slug]",function(){return r(16529)}])}},function(t){t.O(0,[1557,7966,9624,3763,9774,2888,179],(function(){return n=49794,t(t.s=n);var n}));var n=t.O();_N_E=n}]);