1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6219],{1470:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[slug]",function(){return r(81535)}])},3469:function(e,t,r){"use strict";let s=r(47163),n=r(44002),a=r(62806),l=r(48061),{updateCDNDomain:i,buildResizerUrl:o}=r(17340);function c(e,t){return s(e,"custom_fields.embedded_terms.".concat(t),[])}e.exports={DISTINCTIONS:{DAO:"decrypt-dao",EDITORS_PICKS:"editors-picks",LISTICLE_FRANCHISE:"listicle-franchise",PUBDAO:"pub-dao"},processWPRenderedText:function(e){if(!n(e))return a(l(e.trim()))},getSocialShareImageUrl:function(e){return o({src:s(e,"custom_fields.featured_image_url"),width:1024,height:512,enlarge:1,resizingType:"fill",ext:"png"})},getFeaturedImage:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];let t=s(e,"custom_fields.featured_image_url"),r=s(e,"custom_fields.featured_image_caption",s(e,"custom_fields.featured_image_description","")),n=s(e,"custom_fields.featured_image_size",{});return{src:i(t),alt:r,...n}},getContentSponsor:e=>s(e,"custom_fields.field_post_content_sponsor",s(e,"custom_fields.sponsor_name")),getContentSponsorLink:e=>s(e,"custom_fields.field_post_content_sponsor_link",s(e,"custom_fields.sponsor_link")),getAdKeywords:function(e){let t=[],r=s(e,"custom_fields.primary_category.slug");return r&&t.push("primary_category:".concat(r)),t=[...t=[...t,...c(e,"category").map(e=>"category:".concat(s(e,"slug")))],...c(e,"post_tag").map(e=>"tag:".concat(s(e,"slug")))]},getTerms:c,getIsListicleFranchise:function(e){return!n(c(e,"distinction").find(e=>{let{slug:t}=e;return"listicle-franchise"===t}))},getProjectIds:function(e){return c(e,"project").filter(e=>"project_profile"===s(e,"custom_fields.embedded_post.post_type")).map(e=>s(e,"custom_fields.embedded_post.ID"))},getPersonIds:function(e){return c(e,"person").filter(e=>"person_profile"===s(e,"custom_fields.embedded_post.post_type")).map(e=>s(e,"custom_fields.embedded_post.ID"))},getAuthorImage:function(e){return{src:i(s(e,"custom_fields.avatar_src",s(e,"avatar_src","")).replace(/-\d+x\d+\./,".")),alt:null==e?void 0:e.name}},getContentSponsorImage:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"light",r=s(e,"custom_fields.sponsor_logo_".concat(t,".url")),n=s(e,"custom_fields.sponsor_logo_".concat(t,".description")),a=s(e,"custom_fields.sponsor_logo_".concat(t,".height")),l=s(e,"custom_fields.sponsor_logo_".concat(t,".width"));return{src:i(r),alt:n,height:a,width:l}},getCourseFeaturedImage:function(e){let t=s(e,"custom_fields.course_featured_image.url"),r=s(e,"custom_fields.course_featured_image.description"),n=s(e,"custom_fields.course_featured_image.height"),a=s(e,"custom_fields.course_featured_image.width");return t?{src:i(t),alt:r,height:n,width:a}:null}}},92559:function(e,t,r){"use strict";r.d(t,{o:function(){return a}});var s=r(31549),n=r(14517);r(44194);let a=e=>{let{className:t,size:r="px"}=e;return(0,s.jsx)("span",{className:(0,n.default)(t,"inline-flex w-".concat(r," h-").concat(r," rounded-full bg-neutral-700 gg-dark:bg-neutral-100"))})}},22592:function(e,t,r){"use strict";var s=r(31549);r(44194);var n=r(7862),a=r.n(n),l=r(44002),i=r.n(l),o=r(1827),c=r(59900),d=r(26161);let u=o.ZP.div.withConfig({componentId:"sc-b460f1dc-0"})(["position:absolute;",";left:10px;"],e=>"".concat(e.position,": 10px")),m=(0,o.ZP)(c.__).withConfig({componentId:"sc-b460f1dc-1"})(["font-weight:bold;margin-left:",";font-size:",";color:",";"],e=>e.index>0?"5px":"0",e=>e.is_header?"0.8em":"0.65em",e=>e.theme.color.trueBlack),f=e=>{let{position:t,labels:r=[],maxNumLabels:n}=e;return 0===r.length?null:(0,s.jsx)(u,{className:"previewLabel",position:t,children:(0,s.jsx)(c.X2,{children:null==r?void 0:r.filter(e=>e).slice(0,n).map((e,t)=>{let{name:r,path:n,color:a,icon:l}=e,o=(0,s.jsxs)(m,{className:"scene:font-itc-avant-garde-gothic-pro",invert:!0,color:a,index:t,children:[l&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.JO,{icon:l}),"â"]}),r]});return i()(n)?o:(0,s.jsx)(d.h,{name:n.name,locale:n.locale,params:n.params,children:o},t)})})})};f.propTypes={labels:a().array,position:a().string,maxNumLabels:a().number},f.defaultProps={labels:[],position:"bottom",maxNumLabels:3},t.Z=f}
1,1936:function(e,t,r){"use strict";var s=r(31549);r(44194);var n=r(7862),a=r.n(n),l=r(22592),i=r(14528);let o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[...e.map(e=>({icon:["fas","folder"],name:e.title,path:{name:i.IM.COLLECTIONS,params:{slug:e.slug}}})),...t.filter(e=>null==e?void 0:e.isBulletin).map(e=>({color:e.color,name:e.name,path:{name:i.IM.COIN,params:{slug:e.slug}}}))]},c=e=>{let{post:t,isHeader:r,showLabels:n,maxNumLabels:a}=e,{collections:i,coins:c}=t,d=o(i.data,c.data);return(0,s.jsx)("div",{className:"post-decoration hidden md:block",children:n&&(0,s.jsx)(l.Z,{position:r?"top":"bottom",labels:d,maxNumLabels:a})})};c.propTypes={post:a().object.isRequired,isHeader:a().bool,showLabels:a().bool,maxNumLabels:a().number},c.defaultProps={isHeader:!1,showLabels:!0},t.Z=c},31561:function(e,t,r){"use strict";r.d(t,{D:function(){return _}});var s=r(31549),n=r(92327),a=r(44194),l=r(59900),i=r(6298),o=r(92559),c=r(48424),d=r(14517);let u=e=>{let{as:t="span",className:r,children:s,theme:n="light",...l}=e;return a.createElement(t,{className:(0,d.default)(r,"font-akzidenz-grotesk scene:font-itc-avant-garde-gothic-pro scene:font-light font-normal font-normal text-xs md:text-sm leading-3 md:leading-4 gg-dark:text-neutral-100","dark"===n?"text-white":"text-neutral-700 dark:text-primary-100"),...l},s)};var m=r(23177),f=r(20814),p=r(27445);let x=["deep-dives","news","learn","reviews","courses"],g=["deep-dives","news","learn","reviews","courses"],h=["deep-dives","news","reviews"],_=e=>{var t;let{post:r,theme:a="light"}=e,{t:d}=(0,f.$G)(),{authors:_,id:v,distinctions:b,publishedAt:j,readingTime:k,modifiedAt:N,category:y}=r,w=null===(t=y.data.parent.data)||void 0===t?void 0:t.slug,I=b.data.some(e=>"editors-picks"===e.slug),O=(0,m.h)(r),S=_.data.filter(e=>1===e.roles.length&&e.roles.includes("team_creators")||2===e.roles.length&&e.roles.includes("team_creators")&&e.roles.includes("administrator")),T=_.data.filter(e=>!1===S.some(t=>t.id===e.id));return(0,s.jsxs)("footer",{children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center mb-1 gap-2",children:[(0,s.jsx)("div",{className:"mb-1 ltr:mr-auto",children:(0,s.jsx)(i.Z,{baseTextColor:"dark"===a?"text-white":"text-neutral-900",dotColors:"dark"===a?"text-white":"text-black",className:"text-xs md:text-sm leading-none md:leading-none",hideRoot:!0,routes:O})}),(0,s.jsxs)("div",{className:"mb-1 gap-2 flex items-center gg-dark:text-neutral-100 ".concat("dark"===a?"text-white":"text-neutral-600 dar
1k:text-primary-100"),children:[(0,s.jsx)(l.JO,{icon:["fal","clock"]}),(0,s.jsx)(u,{theme:a,children:d("button.read_time_template",{length:(0,p.RA)(k).mins})})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 ltr:mr-auto",children:[x.includes(w)&&(0,s.jsx)(u,{theme:a,children:T.map(e=>{let{name:t}=e;return t}).join(", ")}),x.includes(w)&&h.includes(w)&&(0,s.jsx)(o.o,{size:"1"}),h.includes(w)&&(0,s.jsx)(u,{theme:a,as:c.Z,posted_gmt:j,updated_gmt:N})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[I&&(0,s.jsx)(l.JO,{className:"gg-dark:text-neutral-100 ".concat("dark"===a?"text-white":"text-neutral-700 dark:text-primary-100"),icon:["fal","star"],size:"sm"}),g.includes(w)&&(0,s.jsx)(n.Z,{className:"gg-dark:text-neutral-100"+a=="dark"?"text-white":"text-neutral-700 dark:text-primary-100",articleId:v})]})]})]})}},85910:function(e,t,r){"use strict";r.d(t,{J:function(){return a}});var s=r(31549),n=r(14517);r(44194);let a=e=>{let{media:t,children:r}=e;return(0,s.jsxs)("article",{className:"flex md:grid md:grid-cols-8 md:gap-4 p-5",children:[t&&(0,s.jsx)("div",{className:"md:col-span-3 shrink-0 w[5.5rem] md:w-auto rtl:ml-3 ltr:mr-3 md:mx-0 flex-[1_0_88px] md:flex-auto",children:t}),(0,s.jsx)("div",{className:(0,n.default)("grow",void 0===t?"md:col-span-8":"md:col-span-5"),children:r})]})}},73298:function(e,t,r){"use strict";r.d(t,{N:function(){return i}});var s=r(31549),n=r(14517),a=r(84319),l=r.n(a);r(44194);let i=e=>{let{className:t,imgClassName:r,src:a,alt:i,sizes:o="256px",decoration:c,loader:d,priority:u=!1}=e;return(0,s.jsxs)("div",{className:(0,n.default)(t,"relative rounded-lg overflow-hidden transition duration-200 transform hover:-translate-y-0.5 hover:shadow-lg"),children:[(0,s.jsx)(l(),{className:(0,n.default)(r,"object-cover"),src:a,alt:null!=i?i:"",loader:d,fill:!0,sizes:o,priority:u}),c]})}},44299:function(e,t,r){"use strict";r.d(t,{V:function(){return a}});var s=r(31549),n=r(26161);let a=e=>{let{name:t,locale:r,params:a,children:l,className:i=""}=e;return(0,s.jsx)(n.h,{name:t,locale:r,params:a,className:"block ".concat(i),children:l})}},69380:function(e,t,r){"use strict";r.d(t,{A:function(){return a}});var s=r(31549),n=r(14517);r(44194);let a=e=>{let{media:t,children:r,className:a="p-5"}=e;return(0,s.jsxs)("article",{className:(0,n.default)(a),children:[t&&(0,s.jsx)("div",{className:"mb-4",children:t}),(0,s.jsx)("div",{children:r})]})}},22357:function(e,t,r){"use strict";r.d(t,{n:function(){return u}});var s=r(31549);r(44194);var n=r(1936),a=r(31561),l=r(85910),i=r(73298),o=r(44299),c=r(14528),d=r(27445);let u=e=>{let{post:t}=e,{__typename:r,id:u,slug:m,blurb:f,featuredImage:p,title:x,locale:g}=t;return(0,s.jsx)("div",{className:"linkbox",children:(0,s.jsxs)(l.J,{media:(0,s.jsx)(i.N,{className:"h-28 md:h-40",decoration:(0,s.jsx)(n.Z,{post:t,maxNumLabels:2}),...p}),children:[(0,s.jsx)("h2",{className:"mb-2 font-akzidenz-grotesk font-bold text-base md:text-xl leading-4.5 md:leading-5.5 text-neutral-900 dark:text-primary-200 gg-dark:text-white scene:font-itc-avant-garde-gothic-pro",children:(0,s.jsx)(o.V,{className:"linkbox__overlay",name:"LearnArticleEntity"===r||"CourseArticleEntity"===r?c.IM.LEARN_POST:c.IM.POST,locale:(0,d.be)(g),params:{id:u,slug:m},children:x})}),(0,s.jsx)("p",{className:"mb-3 scene:font-itc-avant-garde-gothic-pro scene:font-light font-meta-serif-pro font-normal text-sm md:text-base leading-4.5 md:leading-5 tracking-tightest text-neutral-900 dark:text-primary-100 gg-dark:text-neutral-100 line-clamp-2 md:line-clamp-3 ",children:f}),(0,s.jsx)(a.D,{post:t})]})})}},16842:function(e,t,r){"use strict";r.d(t,{B:function(){return c}});var s=r(31549);r(44194);var n=r(31561),a=r(85910),l=r(44299),i=r(14528),o=r(27445);let c=e=>{let{post:t,showSnippet:r=!1}=e,{__typename:c,id:d,slug:u,excerpt:m,title:f,locale:p}=t;return(0,s.jsx)("div",{className:"linkbox",children:(0,s.jsxs)(a.J,{children:[(0,s.jsx)("h4",{className:"mb-2 font-akzidenz-grotesk font-bold text-base md:text-xl leading-4.5 md:leading-5.5 text-neutral-900",children:(0,s.jsx)(l.V,{className:"linkbox__overlay",name:"LearnArticlePreview"===c||"CourseArt
1iclePreview"===c?i.IM.LEARN_POST:i.IM.POST,params:{id:d,slug:u},locale:(0,o.be)(p),children:f})}),r&&(0,s.jsx)("p",{className:"mb-3 font-meta-serif-pro font-normal text-sm md:text-base leading-4.5 md:leading-5 tracking-tightest text-neutral-900 line-clamp-2 md:line-clamp-3",children:m}),(0,s.jsx)(n.D,{post:t})]})})}},4224:function(e,t,r){"use strict";var s=r(31549),n=r(7862),a=r.n(n),l=r(3469),i=r(14517);let o=e=>{let{title:t,subtitle:r,className:n,asH1:a,theme:o="light"}=e;return(0,s.jsxs)("div",{className:(0,i.default)(n),children:[t&&(0,s.jsx)(a?"h1":"h2",{className:(0,i.default)("dark"===o?"text-primary-400":"text-neutral","mb-2 font-canela font-black text-2.5xl md:text-4xl leading-none md:leading-none"),children:t}),r&&(0,s.jsx)("h3",{className:(0,i.default)("dark"===o?"text-primary-100":"text-neutral-600","font-akzidenz-grotesk font-normal text-base md:text-lg leading-0 md:leading-0"),children:(0,l.processWPRenderedText)(r)})]})};o.propTypes={title:a().string,subtitle:a().string,large:a().bool,size:a().string,asH1:a().bool},o.defaultProps={large:!1,asH1:!1},t.Z=o},48424:function(e,t,r){"use strict";var s=r(31549),n=r(5682),a=r(14517);r(44194),t.Z=e=>{let{className:t,posted_gmt:r,updated_gmt:l,format:i="MMM D, YYYY"}=e,o=(0,n.guessUserTimezone)(),c="".concat(r,"Z"),d="".concat(l,"Z");return(0,s.jsxs)("span",{className:(0,a.default)(t,"whitespace-nowrap"),children:[(0,s.jsx)("time",{dateTime:c,children:(0,n.formatDateTime)(c,i,o)}),l&&(0,s.jsx)("time",{hidden:!0,dateTime:d,style:{display:"none"},children:(0,n.formatDateTime)(d,i,o)})]})}},92327:function(e,t,r){"use strict";var s=r(31549),n=r(44194),a=r(59900),l=r(14517),i=r(98112),o=r(44002),c=r.n(o),d=r(20814),u=r(37075),m=r(47163),f=r.n(m);t.Z=e=>{let{className:t,articleId:r,size:o="sm"}=e,{t:m}=(0,d.$G)(),{triggerAuthModal:p,isLoggedIn:x}=(0,i.a)(),[g,h]=(0,n.useState)(!1),[_,v]=(0,u.v3)(),b=f()(_,"context.bookmarks",[]),j=_.matches("userDataLoaded.addingBookmark"),k=_.matches("userDataLoaded.removingBookmark");if(c()(r))return null;let N=e=>(e.preventDefault(),h(!1)),y=!!x&&b&&b.includes(Number(r));return(0,s.jsxs)("div",{className:"relative inline-flex",children:[(0,s.jsxs)("div",{className:(0,l.default)(!g&&"hidden","text-base p-4 rounded bg-opacity-95 shadow-xl bg-decryptWhite z-10 absolute bottom-6 right-0 w-max text-gray-600"),children:[(0,s.jsx)("button",{onClick:N,className:"cursor-pointer text-xl absolute top-0 right-2",children:(0,s.jsx)(a.JO,{icon:["fal","times"],color:"red"})}),(0,s.jsxs)("span",{className:"text-current",children:[(0,s.jsx)("span",{onClick:e=>(e.preventDefault(),p({isSignUp:!0}),N(e)),className:"underline cursor-pointer",children:m("page.bookmark.tooltip.link","Create an account")}
1)," ",m("page.bookmark.tooltip.text","to save your articles.")]})]}),(0,s.jsx)(a.JO,{className:(0,l.default)(t,"cursor-pointer"),onClick:e=>{e.preventDefault(),x?y?k||v({type:"REMOVE_BOOKMARK",articleId:Number(r)}):j||v({type:"ADD_BOOKMARK",articleId:Number(r)}):h(!0)},icon:y?["fas","bookmark"]:["fal","bookmark"],size:o})]})}},81535:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return x}});var s=r(31549),n=r(44194),a=r(4224),l=r(15877),i=r(57585),o=r(59900),c=r(35913),d=r(63385),u=r(40746),m=r(28441),f=r(5588);let p=(0,m.Z)();var x=!0;t.default=e=>{let{page:t}=e,{title:r,content:m}=t;return(0,n.useEffect)(()=>r&&(0,c.Md)("Page",r),[r]),(0,s.jsxs)(l.Z,{children:[(0,s.jsx)(u.I,{}),(0,s.jsxs)(i.T,{children:[(0,s.jsx)(o.Xe,{article:!0,className:"py-8 xl:py-14 px-4 text-center",children:(0,s.jsx)(a.Z,{title:r,size:"m",asH1:!0})}),(0,s.jsx)(d.W,{gutter:"px-4",maxWidth:"max-w-screen-lg",children:(0,s.jsx)(o.EG,{className:"py-8 xl:py-14",children:(0,f.ZP)(m,{replace:p})})})]})]})}},51865:function(e,t){var r;!function(){"use strict";var s={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)s.call(e,r)&&e[r]&&(t=a(t,r));return t}(r)))}return e}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):void 0!==(r=(function(){return n}).apply(t,[]))&&(e.exports=r)}()}},function(e){e.O(0,[72985,6355,72e3,14063,73324,55624,62806,67054,42831,20805,42012,89240,74902,20626,31621,14355,81028,38767,44897,76452,28441,92888,49774,40179],function(){return e(e.s=1470)}),_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.