1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[671],{6873:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/post/[slug]",function(){return a(6869)}])},1245:function(e,t,a){"use strict";a.d(t,{Z:function(){return s.Z}});var s=a(8059)},2156:function(e,t,a){"use strict";a.d(t,{Z:function(){return ToggleButton_ToggleButton}});var s=a(2676),o=a(2187),n=a.n(o),i=a(5271),r=a(1052),l=a.n(r),c=a(1734),_=a(8507),ToggleButton_ToggleButton=e=>{let{children:t,href:a,onClick:o,size:r="s",disabled:g,className:d,isActive:u=!1}=e,m=(0,i.useMemo)(()=>{let e=!g&&a?a:null;return e},[g,a]),P=(0,i.useCallback)(e=>{!g&&o&&o(e)},[g,o]),h=u?"active":"inactive",p=(0,i.useMemo)(()=>{let e=(0,_.Z)(l(),{size:r,isActiveStyle:h});return n()(d,l().root,e,{})},[d,r,h]);return(0,s.jsx)(c.Z,{href:m,onClick:P,className:p,disabled:g,children:t})}},6869:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return v},default:function(){return _slug_}});var s=a(2676),o=a(2187),n=a.n(o),i=a(934),r=a(899),l=a(4925),c=a(453),_=a(8384),g=a(1734),d=a(2726),u=a(5084),m=a.n(u);a(2465);var P=a(256),h=a(2156),p=a(5271);let ArrowButton=e=>{let{className:t}=e;return(0,s.jsxs)(g.Z,{href:"/blog",className:n()(m().centerItems,t),children:[(0,s.jsx)(c.Z,{name:"arrow-up",className:m().arrow}),(0,s.jsx)("p",{children:"Back to Blog"})]})};var PostPage_PostPage=e=>{var t;let{post:a,recommendedPosts:o=[],content:c}=e,g=(0,i.useRouter)(),{isMobile:u}=(0,r.Sj)(),x=[{icon:"linkedin",link:"https://www.linkedin.com/shareArticle?mini=true&url=".concat("https://nil.foundation").concat(g.asPath,"&title=").concat(a.title)},{icon:"telegram",link:"https://t.me/share/url?url=".concat("https://nil.foundation").concat(g.asPath)},{icon:"twitter",link:"https://twitter.com/intent/tweet?text=".concat(a.title," ").concat("https://nil.foundation").concat(g.asPath)}];return(0,p.useLayoutEffect)(()=>{let e=document.querySelectorAll('script[type^="math/tex"]');e.forEach(e=>{let t=e.textContent||"",a=document.createElement("span");a.style.display="inline-block","math/tex; mode=display"===e.getAttribute("type")&&(a.style.display="block");try{P.ZP.render(t,a,{displayMode:!0}),e.replaceWith(a)}catch(e){console.error(e)}})},[a]),(0,s.jsxs)(l.Z,{className:m().container,id:"footer_nav",children:[(0,s.jsx)(d.Z,{className:m().sideNavigation,title:(0,s.jsx)(ArrowButton,{}),titleAnimation:!1,children:(0,s.jsxs)("div",{className:m().social,children:[(0,s.jsx)("p",{className:m().paragraph,children:"Share this post"}),(0,s.jsx)("div",{className:m().info,children:x.map(e=>(0,s.jsx)(_.Z,{className:m().socialLink,href:e.link,icon:e.icon},e.icon))})]})}),(0,s.jsx)("div",{className:m().root,children:(0,s.jsxs)("div",{className:m().content,children:[(0,s.jsxs)("div",{className:n()(m().head,m().marginBlock),children:[(0,s.jsxs)("div",{className:n()(m().centerItems,m().marginBlock,m().mobileHead),children:[(0,s.jsx)(ArrowButton,{className:m().mobileArrowButton}),(0,s.jsxs)("div",{className:n()(m().centerItems,m().types),children:[a.category&&(0,s.jsx)("p",{className:m().type,children:a.category.name}),(0,s.jsx)("div",{className:m().tagsWrapper,children:null===(t=a.tags)||void 0===t?void 0:t.map(e=>(0,s.jsx)(h.Z,{isActive:!0,href:"/blog/tag/".concat(e.slug),children:e.name},null==e?void 0:e.slug))})]})]}),(0,s.jsxs)("div",{className:n()(m().content,m().wrapper),children:[(0,s.jsx)("h1",{className:n()(m().title,m().blogTitle,m().marginBlock),children:a.title}),a.subtitle&&(0,s.jsx)("h2",{className:n()(m().subtitle,m().marginBlock),children:a.subtitle}),u&&(0,s.jsxs)("div",{className:m().social,children:[(0,s.jsx)("p",{className:m().paragraph,children:"Share this post"}),(0,s.jsx)("div",{className:m().info,children:x.map(e=>(0,s.jsx)(_.Z,{className:m().socialLink,href:e.link,icon:e.icon},e.icon))})]}),!u&&(0,s.jsxs)("div",{className:m().info,children:[(0,s.jsx)("p",{className:n()(m().author,m().paragraph),children:a.author}),(0,s.jsx)("p",{className:n()(m().date,m().paragraph),children:a.date?a.date+"":"Invalid date"})]})]})]}),(0,s.jsx)("div",{className:n()(m().main,m().content),dangerouslySetInnerHTML:{__html:a.content}})]})})]})},x=a(1245),v=!0,_slug_=e=>{let{data:t,recommendedPosts:a,content:o}=e;
1return(0,s.jsx)(x.Z,{seo:{title:t.title,description:t.subtitle,image:t.share_image},children:(0,s.jsx)(PostPage_PostPage,{post:t,recommendedPosts:a,content:o})})}},2465:function(){},1052:function(e){e.exports={root:"ToggleButton_root__QOXHq","size-s":"ToggleButton_size-s__9HUGE","size-l":"ToggleButton_size-l__04Mzg","isActiveStyle-active":"ToggleButton_isActiveStyle-active__09n1P","isActiveStyle-inactive":"ToggleButton_isActiveStyle-inactive__uYKDl"}},5084:function(e){e.exports={container:"PostPage_container__5dAUt",sideNavigation:"PostPage_sideNavigation__F3LcU",root:"PostPage_root__fH_FQ",centerItems:"PostPage_centerItems__sxcI1",mobileHead:"PostPage_mobileHead__KJv2B",mobileArrowButton:"PostPage_mobileArrowButton__BPaNU",arrow:"PostPage_arrow__znTrN",social:"PostPage_social__tHFSY",socialLink:"PostPage_socialLink__r_y_X",paragraph:"PostPage_paragraph__KPeRn",tag:"PostPage_tag__KvWc9",content:"PostPage_content__aWmhr",head:"PostPage_head__TjFP9",wrapper:"PostPage_wrapper___KGmS",info:"PostPage_info__eDC1c",type:"PostPage_type__POD8Q",marginBlock:"PostPage_marginBlock__ycq1R",title:"PostPage_title___8UFz",blogTitle:"PostPage_blogTitle__p7WdT",whiteRecatngle:"PostPage_whiteRecatngle__77xne",subtitle:"PostPage_subtitle__LvB_t",author:"PostPage_author__9v7_t",moreSection:"PostPage_moreSection__nOB_d",tagsWrapper:"PostPage_tagsWrapper__6x6gx",main:"PostPage_main__9KMkg",footerSection:"PostPage_footerSection__o8Lyd",lastSection:"PostPage_lastSection__CMtEV",lastSectionWrapper:"PostPage_lastSectionWrapper__6a_9u",recommendedWrapper:"PostPage_recommendedWrapper__fAhOb"}}},function(e){e.O(0,[475,266,626,774,888,179],function(){return e(e.s=6873)}),_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.