1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6223],{7139:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSG:()=>P,default:()=>X});var o=i(37876),n=i(9696),r=i(89099),a=i(14232),d=i(11857),l=i(52862),c=i(5646),s=i(69711),p=i(65786);let h=e=>{let{article:t}=e,{content:i}=t.article;return(0,o.jsx)(m,{documentation:i})},m=(0,c.Ay)(p.A).withConfig({componentId:"sc-b64122b5-0"})(["border-top-left-radius:0;border-top-right-radius:0;padding:0 16px 32px 16px !important;margin:0;h2{font-size:2rem !important;font-weight:"," !important;margin:96px 0 0 0;padding:0;}h3{font-size:1.5rem !important;font-weight:"," !important;margin:64px 0 0 0;padding:0;}h4{font-size:1.25rem !important;font-weight:"," !important;margin:32px 0 0 0;padding:0;}h5{font-size:1.125rem !important;font-weight:"," !important;margin:32px 0 0 0;padding:0;}p{font-size:1.125rem;margin:16px 0 0 0;}blockquote{color:",";padding-left:18px;border-left:2px "," solid;margin:32px 0;}label{font-size:0.75rem;}ul,ol{margin-top:32px;font-size:1.125rem;}figure{margin:32px 0;display:flex;flex-direction:column;align-items:center;}figcaption{font-size:0.875rem;margin-top:8px;color:",";}"],e=>e.theme.font.weight.semibold,e=>e.theme.font.weight.semibold,e=>e.theme.font.weight.semibold,e=>e.theme.font.weight.semibold,e=>e.theme.color.secondaryGray,e=>e.theme.color.secondaryGray,e=>e.theme.color.secondaryGray);var g=i(41460),x=i(89726),f=i(32446),u=i(7431);let w=c.Ay.div.withConfig({componentId:"sc-eaa4b22c-0"})(["margin-bottom:32px;",""],e=>e.$hideOnLg&&(0,c.AH)(["@media (min-width:","){display:none;}"],e.theme.gridBreakpoints.lg)),b=c.Ay.div.withConfig({componentId:"sc-eaa4b22c-1"})(["font-weight:",";margin-bottom:8px;@media (max-width:","){display:none;}"],e=>e.theme.font.weight.semibold,e=>e.theme.gridBreakpoints.lg),j=c.Ay.div.withConfig({componentId:"sc-eaa4b22c-2"})(["display:flex;flex-wrap:wrap;gap:16px;"]),y=c.Ay.div.withConfig({componentId:"sc-eaa4b22c-3"})(["width:48px;height:48px;border-radius:12px;background-color:",";display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:1px 2px 5px rgba(155,155,204,0.3);cursor:pointer;svg{height:48px;width:48px;}"],e=>e.theme.color.backgroundFirst),k=e=>{let{className:t,article:i,hideOnLg:n}=e,r=(0,u.mQ)(),d=a.useMemo(()=>r?window.location.href:"",[r]),c=a.useCallback(()=>{navigator.clipboard.writeText(d),f.oR.info((0,o.jsx)(l.sA,{id:"journal.article.notification.copiedToClipboard",defaultMessage:"Link copied to clipboard"}),{hideProgressBar:!0})},[d]),s=a.useMemo(()=>[{key:"twitter",url:"https://twitter.com/intent/tweet?text=".concat(i.title,"&url=").concat(d,"&via=mediately"),icon:(0,o.jsx)(x.OE,{})},{key:"facebook",url:"https://www.facebook.com/dialog/share?app_id=1772067023005190&display=page&href=".concat(d),icon:(0,o.jsx)(x.BI,{})},{key:"linkedin",url:"https://www.linkedin.com/shareArticle?mini=true&url=".concat(d,"&title=").concat(i.title,"&summary=").concat(i.description,"&source=").concat("https://mediately.co"),icon:(0,o.jsx)(x.fm,{})},{key:"email",url:"mailto:?subject=".concat(i.title,"&body=").concat(d),icon:(0,o.jsx)(x.j2,{})}],[i,d]);return(0,o.jsxs)(w,{className:t,$hideOnLg:n,children:[(0,o.jsx)(b,{children:(0,o.jsx)(l.sA,{id:"journal.article.share",defaultMessage:"Share"})}),(0,o.jsxs)(j,{children:[s.map(e=>{let{key:t,url:i,icon:n}=e;return(0,o.jsx)(y,{href:i,as:"a",target:"_blank",children:n},t)}),(0,o.jsx)(y,{onClick:c,children:(0,o.jsx)(x.X9,{})})]})]})},A=c.Ay.div.withConfig({componentId:"sc-8939a2f2-0"})(["font-weight:",";margin-top:64px;margin-bottom:8px;"],e=>e.theme.font.weight.semibold),_=c.Ay.div.withConfig({componentId:"sc-8939a2f2-1"})(["background-color:",";border-radius:12px;padding:12px 16px;"],e=>e.theme.color.backgroundThird),v=c.Ay.div.withConfig({componentId:"sc-8939a2f2-2"})(["border-left:0.5px solid ",";padding:0 16px 16px 16px;&:last-child{border-left:0.5px solid ",";}a{color:inherit;font-weight:",";&:hover{color:inherit;text-decoration:none;}}"],e=>e.theme.color.secondaryGray,e=>e.theme.color.backgroundThird,e=>e.theme.font.weight.semibold),C=c.Ay.div.withConfig({componentId:"sc-8939a2f2-3"})(["line-height:6px;color:",';font-size:10px;margin-bottom:7px;position:relative;&:before{position:absolute;content:"";background-color:',";height:5px;width:5px;border-radius:5px;left:-19px;}"],e=>e.theme.color.secondaryGray,e=>e.theme.color.secondaryGray),I=e=>{let{data:t}=e,i=a.useMemo(()=>t.article.content.filter(e=>"text"===e.type&&e.content.includes("<h2>")).map(e=>({...e,content:e.content.replace("<h2>","").replace("</h2>","")})),[t]);return(0,o.jsxs)("div",{children:[(0,o.jsx)(A,{children:(0,o.jsx)(l.sA,{id:"journal.article.table-of-contents",defaultMessage:"Table of contents"})}),(0,o.jsx)(_,{children:i.map((e,t)=>(0,o.jsxs)(v,{children:[(0,o.jsxs)(C,{children:[(0,o.jsx)(l.sA,{id:"journal.article.chapter",defaultMessage:"Chapter"})," ",t+1]}),(0,o.jsx)("a",{href:"#hook-".concat(e._id),children:e.content})]},e._id))})]})};var z=i(39845),B=i(53068),M=i(84651),T=i(17388);let G=(0,c.Ay)(d.je).withConfig({componentId:"sc-a491370b-0"})(["display:none;@media (min-width:","){margin-left:auto;display:block;}"],e=>e.theme.gridBreakpoints.lg),N=c.Ay.h1.withConfig({componentId:"sc-a491370b-1"})(["font-size:40px;font-weight:",";margin:16px 0;padding:0;"],e=>e.theme.font.weight.semibold),E=c.Ay.div.withConfig({componentId:"sc-a491370b-2"})(["color:",";display:flex;align-items:center;cursor:pointer;svg{width:8px;margin:0 16px 0 0;}"],e=>e.theme.color.mdBluePrimary),O=(0,c.Ay)(d.Wt).withConfig({componentId:"sc-a491370b-3"})(["@media (max-width:","){padding:0;}"],e=>e.theme.gridBreakpoints.sm),L=c.Ay.div.withConfig({componentId:"sc-a491370b-4"})(["display:flex;flex-direction:column;padding:0;@media (max-width:","){padding-top:22px;}@media (max-width:","){padding:6px 16px 0;}"],e=>e.theme.gridBreakpoints.md,e=>e.theme.gridBreakpoints.sm),S=c.Ay.div.withConfig({componentId:"sc-a491370b-5"})(["display:flex;flex-direction:column;"]);var P=!0;let X=e=>{let{data:t}=e,{from:i}=(0,M.W)(),c=(0,r.useRouter)(),p=a.useCallback(()=>{(null==i?void 0:i.path)?c.back():c.push("/articles")},[i,c]);return(0,o.jsx)(B.A,{pageTitle:t.title,pageDescription:t.description,openGraph:{images:[{url:t.featured_image_url}]},overrideHeader:()=>(0,o.jsxs)(E,{onClick:p,children:[(0,o.jsx)(n.A,{}),(0,o.jsx)(l.sA,{id:"journal.article.back",defaultMessage:"Back to Mediately News"})]}),children:(0,o.jsxs)(O,{children:[(0,o.jsx)(d.p_,{children:(0,o.jsx)(d.je,{md:12,lg:8,children:(0,o.jsxs)(L,{children:[t.categories&&(0,o.jsx)(s.D,{children:t.categories.map(e=>(0,o.jsx)(T.A,{children:(0,o.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},e))}),(0,o.jsx)(N,{children:t.title}),(0,o.jsx)(g.A,{article:t,articleView:!0}),(0,o.jsx)(k,{hideOnLg:!0,article:t})]})})}),(0,o.jsxs)(d.p_,{children:[(0,o.jsx)(d.je,{md:12,lg:8,children:(0,o.jsxs)(S,{children:[(0,o.jsx)("img",{src:t.featured_image_url,alt:"".concat(t.title," Image"),title:t.title,width:"100%",height:"auto"}),(0,o.jsx)(h,{article:t})]})}),(0,o.jsx)(G,{lg:3,children:(0,o.jsxs)(z.XF,{children:[(0,o.jsx)(k,{article:t}),(0,o.jsx)(I,{data:t})]})})]})]})})}},15373:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/articles/[articleSlug]",function(){return i(7139)}])}},e=>
1{e.O(0,[6563,8910,6718,6593,636,8792],()=>e(e.s=15373)),_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.