티스토리 수익 글 보기

티스토리 수익 글 보기

“use strict”;(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[“resources”],{86015:(e,a,t)=>{t.d(a,{J:()=>i});var r=t(7799);let i=()=>(0,r._$)().locale},99575:(e,a,t)=>{var r=t(74848),i=t(96540),n=t(70179),l=t(64262),s=t(63862),o=t(36495),d=t(679);function c(e){let a=(0,l.X)(),t=(0,i.useMemo)(()=>({hostName:a?.octocaptchaHost??””,originPage:”marketing_forms”}),[a?.octocaptchaHost]),c=(0,i.useMemo)(()=>({marketingFormsApiHost:a?.marketingFormsApiHost}),[a?.marketingFormsApiHost]),m=(0,i.useMemo)(()=>({marketingTargetedCountries:a?.marketingTargetedCountries??[]}),[a?.marketingTargetedCountries]);return(0,r.jsx)(n.t,{children:(0,r.jsx)(s.K.Provider,{value:c,children:(0,r.jsx)(o.x.Provider,{value:t,children:(0,r.jsx)(d.G.Provider,{value:m,children:e.children})})})})}try{c.displayName||(c.displayName=”App”)}catch{}var m=t(56174),p=t(16058),h=t(55368),u=t(73893),g=t(25772),x=t(87258),f=t(51282),b=t(79487),j=t(26057),_=t(42107),C=t(24001),y=t(96679);let k=(e,a)=>{let t=new URL(e,y.fV.origin);return t.searchParams.set(“page”,a.toString()),t.toString()},v=(e,a)=>{let t=new URL(e,y.fV.origin);return a&&t.searchParams.set(“_features”,a),t.toString()},w=(e,a=”en-US”)=>{if(!e)return null;let t=new Date(e);return isNaN(t.getTime())?null:t.toLocaleDateString(a,{year:”numeric”,month:”long”,day:”numeric”,timeZone:”UTC”})};var B=t(83121),N=t(42890);let S=({items:e})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.Breadcrumbs,{children:e.map(({name:e,url:a},t)=>(0,r.jsx)(h.Breadcrumbs.Item,{href:a,…(0,B.$C)({action:e,tag:”link”,context:”breadcrumb”,location:”header”}),”data-ref”:`article-breadcrumb-link-${e}`,children:e},`${e}-${t}`))}),(0,r.jsx)(N.c,{items:e})]});try{S.displayName||(S.displayName=”BreadcrumbsList”)}catch{}var L=t(45871),T=t(4240);let H={lede:”Lede-module__lede–Z6dMJ”},I=({content:e})=>{let a={renderNode:{[L.BLOCKS.PARAGRAPH]:(e,a)=>(0,r.jsx)(h.Text,{as:”p”,className:H.lede,size:”500″,font:”hubot-sans”,weight:”medium”,children:a})}};return(0,r.jsx)(r.Fragment,{children:(0,T.i)(e,a)})};try{I.displayName||(I.displayName=”Lede”)}catch{}var A=t(86015);let P={date:”PublishedDate-module__date–LtubT”},z=({publishedDate:e,updatedDate:a})=>{let t=(0,A.J)(),i=w(e,t),n=w(a,t);return i&&(0,r.jsxs)(h.Text,{as:”p”,className:P.date,children:[(0,r.jsx)(“time”,{dateTime:e,children:i}),a&&a!==e&&(0,r.jsxs)(r.Fragment,{children:[` \u{2022} updated `,(0,r.jsx)(“time”,{dateTime:a,children:n})]})]})};try{z.displayName||(z.displayName=”PublishedDate”)}catch{}var G=t(38621),E=t(58490);let $={linkButton:”TableofContents-module__linkButton–NFOgJ”,asideHeading:”TableofContents-module__asideHeading–PAQkG”,tableOfContentsList:”TableofContents-module__tableOfContentsList–si7P_”,aside:”TableofContents-module__aside–MgSe7″,”aside–visible”:”TableofContents-module__aside–visible–Sg1tG”,asideContent:”TableofContents-module__asideContent–XghGT”,”asideContent–visible”:”TableofContents-module__asideContent–visible–QuRYr”,”asideContent–open”:”TableofContents-module__asideContent–open–Zahdd”,tableOfContentsListItem:”TableofContents-module__tableOfContentsListItem–zoxo4″,tableOfContentsMenuToggle:”TableofContents-module__tableOfContentsMenuToggle–ATCTT”,tableOfContentsNav:”TableofContents-module__tableOfContentsNav–m47_w”,tableOfContentsFeaturesBox:”TableofContents-module__tableOfContentsFeaturesBox–dKTWP”,”tableOfContentsNav–visible”:”TableofContents-module__tableOfContentsNav–visible–j71eb”,listItemText:”TableofContents-module__listItemText–ihBEh”},O=({content:e,active:a,analyticsId:t,handleOnClick:n})=>{let l=e=>{let a=i.Children.toArray(e)[0];return”string”!=typeof a?(setTimeout(()=>{throw Error(“The table of content is receiving a non-string header”)},0),null):{id:(0,E.Y)(a),text:a}},s=({id:e,text:i})=>(0,r.jsx)(“li”,{children:(0,r.jsx)(“a”,{…(0,B.$C)({action:i,tag:”link”,context:”anchor_link”,location:”table_of_contents”}),”data-ref”:`table-of-contents-list-item-link-${t}-${e}`,href:`#${e}`,className:`${$.linkButton} ${$.tableOfContentsListItem}`,onClick:n,”aria-current”:a===e?”location”:void 0,children:(0,r.jsx)(h.Text,{className:$.listItemText,variant:a===e?”default”:”muted”,size:”100″,weight:a===e?”bold”:”normal”,children:i})})},e),o={renderNode:{[L.BLOCKS.HEADING_2]:(e,a)=>{let t=l(a);return null!==t?s(t):null},[L.BLOCKS.HEADING_3]:()=>null,[L.BLOCKS.HEADING_4]:()=>null,[L.BLOCKS.HEADING_5]:()=>null,[L.BLOCKS.HEADING_6]:()=>null,[L.BLOCKS.PARAGRAPH]:()=>null,[L.BLOCKS.OL_LIST]:()=>null,[L.BLOCKS.UL_LIST]:()=>null,[L.BLOCKS.HR]:()=>null,[L.BLOCKS.QUOTE]:()=>null,[L.BLOCKS.EMBEDDED_ENTRY]:()=>null,[L.BLOCKS.EMBEDDED_ASSET]:()=>null}};return(0,r.jsx)(r.Fragment,{children:(0,T.i)(e,o)})};try{O.displayName||(O.displayName=”TableOfContentsListItem”)}catch{}let W={asideHeading:”FeaturedContent-module__asideHeading–dlmfU”},R=({as:e=”h2″,…a})=>(0,r.jsx)(h.Heading,{as:e,size:”subhead-medium”,font:”monospace”,className:W.asideHeading,weight:”medium”,…a}),F=e=>{let a={renderNode:{[L.BLOCKS.PARAGRAPH]:(e,a)=>(0,r.jsx)(h.Text,{as:”p”,size:”100″,variant:”muted”,children:a})}};return(0,T.i)(e,a)},D=({cta:e})=>e?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(R,{as:”h3″,children:”Featured”}),(0,r.jsxs)(h.Box,{marginBlockStart:24,children:[(0,r.jsx)(h.Box,{marginBlockEnd:4,children:(0,r.jsx)(h.Heading,{as:”h4″,size:”subhead-medium”,children:e.fields.heading})}),F(e.fields.description)]}),(0,r.jsx)(h.Box,{marginBlockStart:16,children:(0,r.jsx)(h.Button,{…(0,B.$C)({action:e.fields.callToActionPrimary.fields.text,tag:”button”,context:”featured_CTA”,location:”table_of_contents”},{context:!1}),”data-ref”:`featured-content-cta-${e.sys.id}`,as:”a”,href:e.fields.callToActionPrimary.fields.href,size:”small”,variant:”primary”,children:e.fields.callToActionPrimary.fields.text})})]}):null;try{R.displayName||(R.displayName=”AsideHeading”)}catch{}try{D.displayName||(D.displayName=”FeaturedContent”)}catch{}var V=t(78920);let M=({as:e=”h2″,…a})=>(0,r.jsx)(h.Heading,{as:e,size:”subhead-medium”,font:”monospace”,className:$.asideHeading,weight:”medium”,…a}),U=({active:e,content:a,analyticsId:t,featuredCta:n})=>{let[l,s]=(0,i.useState)(!1),[o,d]=(0,i.useState)(!1),c=(0,i.useDeferredValue)(l),m=(0,i.useMemo)(()=>(0,V.I)(a,L.BLOCKS.HEADING_2)>1,[a]);(0,i.useEffect)(()=>{let e=e=>{“Escape”===e.key&&s(!1)};return l&&window.addEventListener(“keydown”,e),()=>window.removeEventListener(“keydown”,e)},[l]),(0,i.useEffect)(()=>{let e=window.pageYOffset,a=!1,t=()=>{let t=window.pageYOffset;if(0===t){d(!1),a=!1;return}if(0>Math.abs(t-e)){a=!1;return}d(!(t>e)),e=t>0?t:0,a=!1},r=()=>{a||(window.requestAnimationFrame(t),a=!0)};return window.addEventListener(“scroll”,r),()=>window.removeEventListener(“scroll”,r)},[]);let p=(0,i.useCallback)(()=>{s(!l)},[s,l]);return(0,r.jsx)(“aside”,{className:`${$.aside} ${o?$[“aside–visible”]:””}`,children:(0,r.jsx)(“nav”,{“aria-labelledby”:”table-of-contents-heading”,children:(0,r.jsxs)(h.Stack,{direction:”vertical”,gap:64,padding:”none”,className:`${$.asideContent} ${l?$[“asideContent–open”]:””} ${o?$[“asideContent–visible”]:””}`,children:[(0,r.jsxs)(h.Stack,{“data-testid”:”table-of-contents-stack”,direction:”vertical”,padding:”none”,gap:24,style:{display:m?void 0:”none”},children:[(0,r.jsxs)(h.Stack,{direction:”horizontal”,padding:”none”,justifyContent:”space-between”,alignItems:”center”,children:[(0,r.jsx)(M,{id:”table-of-contents-heading”,children:”Table of contents”}),(0,r.jsxs)(“button”,{…(0,B.$C)({action:`${c?”collapse”:”expand”}_table_of_contents_menu`,tag:”icon”,context:”menu_toggle”,location:”table_of_contents”}),”data-ref”:`table-of-contents-menu-toggle-${t}`,className:$.tableOfContentsMenuToggle,onClick:()=>{s(!l)},children:[(0,r.jsxs)(“span”,{className:”sr-only”,children:[c?”Close”:”Open”,” Table of contents”]}),c?(0,r.jsx)(G.ChevronUpIcon,{}):(0,r.jsx)(G.ChevronDownIcon,{})]})]}),(0,r.jsx)(“div”,{className:`${$.tableOfContentsNav} ${l?$[“tableOfContentsNav–visible”]:””}`,children:(0,r.jsx)(“ol”,{className:$.tableOfContentsList,children:(0,r.jsx)(O,{content:a,active:e,analyticsId:t,handleOnClick:p})})})]}),n?(0,r.jsx)(h.Box,{paddingBlockStart:m?8:void 0,borderBlockStartWidth:m?”thin”:void 0,borderStyle:m?”solid”:void 0,borderColor:m?”muted”:void 0,className:$.tableOfContentsFeaturesBox,children:(0,r.jsx)(D,{cta:n})}):null]})})})};try{M.displayName||(M.displayName=”AsideHeading”)}catch{}try{U.displayName||(U.displayName=”TableOfContents”)}catch{}var K=t(73422),Z=t(39456);let J=Z.z.array(Z.z.looseObject({})).min(1);function q(e){return J.parse(e)}let Q=Z.z.object({contentfulRawJsonResponse:Z.z.looseObject({}),userLoggedIn:Z.z.boolean().optional()}),Y=Q.extend({additionalProps:Z.z.object({pageHeading:Z.z.string(),page:Z.z.number(),totalPages:Z.z.number()})}),X=Z.z.enum([“whitepaper”,”ebook”]),ee=Z.z.enum([“ai”,”cloud”,”devops”,”github-actions”,”github-advanced-security”,”github-enterprise”,”innersource”,”open-source”,”security”,”software-development”]),ea=Q.extend({additionalProps:Z.z.object({page:Z.z.number(),totalPages:Z.z.number(),filters:Z.z.object({contentTypes:Z.z.array(X).optional(),topics:Z.z.array(ee).optional()})})});function et(e){return Q.parse(e)}let er={“all-topics”:”All Topics”,ai:”AI”,devops:”DevOps”,security:”Security”,”software-development”:”Software Development”},ei=e=>Object.keys(er).includes(e);var en=t(5658);let el={articlePageBody:”Article-module__articlePageBody–NesIo”,articleCol:”Article-module__articleCol–oHHFj”,asideCol:”Article-module__asideCol–FNvxD”,heroImageArea:”Article-module__heroImageArea–uMGs5″,heroImage:”Article-module__heroImage–xGRDv”};function es(){let e=(0,i.useRef)(null),{contentfulRawJsonResponse:a}=et((0,g.B)()),t=(0,K.bn)(q((0,u.A)(a)).at(0)),n=t.fields.settings?.fields.colorMode??”light”,l=t.fields.path.split(“/”),s=l[3]||””;if(!ei(s))throw Error(`Invalid topic in article path: ${l[3]}`);let o=new URLSearchParams(y.fV.search).get(“_features”)||””,d=(0,en.D)({ref:e}),{cards:c,content:m,ctaBanner:p,faq:k,featuredCallToAction:w,heroBackgroundImage:B,lede:N,publishedDate:L,updatedDate:T,title:H}=t.fields.template.fields,A=B?.fields.image.fields.file.url,P=[{name:”Articles”,url:v(“/resources/articles”,o)},{name:er[s],url:v(`/resources/articles/${s}`,o)}];return(0,r.jsxs)(h.ThemeProvider,{dir:”ltr”,className:el.articlePageBody,style:{backgroundColor:”var(–brand-color-canvas-default)”},colorMode:n,children:[(0,r.jsx)(h.Grid,{children:(0,r.jsx)(h.Grid.Column,{span:12,children:(0,r.jsx)(“section”,{“data-hpc”:!0,children:(0,r.jsxs)(h.AnimationProvider,{runOnce:!0,visibilityOptions:.3,children:[(0,r.jsxs)(“header”,{children:[(0,r.jsx)(h.Box,{marginBlockStart:20,children:(0,r.jsx)(S,{items:P})}),(0,r.jsx)(h.Box,{marginBlockStart:64,marginBlockEnd:32,children:(0,r.jsx)(h.Heading,{as:”h1″,size:”1″,stretch:”condensed”,weight:”semibold”,font:”hubot-sans”,children:H})})]}),L&&(0,r.jsx)(z,{publishedDate:L,updatedDate:T}),(0,r.jsx)(“article”,{children:(0,r.jsxs)(h.Box,{marginBlockEnd:{narrow:48},paddingBlockEnd:{narrow:48},children:[(0,r.jsx)(h.Box,{borderRadius:”large”,className:el.heroImageArea,marginBlockEnd:{narrow:64,wide:80},children:A?(0,r.jsx)(h.Image,{borderRadius:”xlarge”,alt:””,as:”picture”,src:A,className:el.heroImage,sources:(0,_.Cf)(A)}):null}),(0,r.jsxs)(h.Grid,{children:[(0,r.jsx)(h.Grid.Column,{span:{xsmall:12,large:4},start:{xsmall:1,large:10},className:el.asideCol,children:(0,r.jsx)(U,{analyticsId:t.sys.id,content:m.fields.text,active:d,featuredCta:w})}),(0,r.jsxs)(h.Grid.Column,{span:{xsmall:12,large:9},className:el.articleCol,children:[(0,r.jsx)(h.Grid,{children:(0,r.jsx)(h.Grid.Column,{span:{xsmall:12,large:11},children:(0,r.jsx)(h.Box,{marginBlockEnd:{narrow:24,wide:48},children:(0,r.jsx)(“header”,{children:(0,r.jsx)(I,{content:N})})})})}),(0,r.jsx)(“div”,{ref:e,children:(0,r.jsx)(j.u,{variant:”editorial”,component:m})})]})]}),(0,r.jsx)(h.Grid,{children:(0,r.jsx)(h.Grid.Column,{span:12,children:p||c||k?(0,r.jsx)(h.Box,{marginBlockStart:{narrow:64,wide:112},children:(0,r.jsxs)(h.Stack,{direction:”vertical”,gap:128,padding:”none”,children:[p?(0,r.jsx)(h.Box,{animate:”scale-in-up”,children:(0,r.jsx)(f.p,{component:p})}):null,c?(0,r.jsx)(“section”,{children:(0,r.jsxs)(h.Stack,{direction:”vertical”,gap:64,padding:”none”,children:[(0,r.jsx)(h.SectionIntro,{align:”center”,children:(0,r.jsx)(h.SectionIntro.Heading,{as:”h2″,children:`More ${er[s]} resources`})}),(0,r.jsx)(h.Box,{animate:”scale-in-up”,children:(0,r.jsx)(x.c,{cards:c.fields.cards,hasBorder:!0})})]})}):null,k?(0,r.jsx)(“section”,{children:(0,r.jsx)(h.Box,{animate:”scale-in-up”,children:(0,r.jsx)(b.A,{component:k})})}):null]})}):null})})]})})]})})})}),(0,r.jsx)(C.H,{title:H,imageUrl:A})]})}try{es.displayName||(es.displayName=”Article”)}catch{}let eo={navListHeading:”CategoryPage-module__navListHeading–BmwnA”,navList:”CategoryPage-module__navList–Fb_no”,navListItem:”CategoryPage-module__navListItem–wpx9N”,navListItemSelected:”CategoryPage-module__navListItemSelected–egcTA”,cardGrid:”CategoryPage-module__cardGrid–hz2ZC”},ed=({children:e,selected:a,href:t,…i})=>(0,r.jsx)(“a”,{className:`${eo.navListItem} ${a?eo.navListItemSelected:””}`,href:t,”aria-current”:a?”page”:void 0,…i,children:(0,r.jsx)(h.Text,{size:”200″,children:e})});function ec({activeCategory:e,featureFlags:a}){return(0,r.jsxs)(h.Stack,{direction:”vertical”,padding:”none”,gap:24,children:[(0,r.jsx)(h.Box,{borderBlockStartWidth:”thin”,borderStyle:”solid”,borderColor:”subtle”,paddingBlockStart:12,children:(0,r.jsx)(h.Heading,{as:”h2″,size:”subhead-medium”,font:”monospace”,className:eo.navListHeading,weight:”medium”,stretch:”expanded”,id:”topics-heading”,children:”Topics”})}),(0,r.jsx)(h.Box,{marginBlockEnd:24,children:(0,r.jsx)(“nav”,{“aria-labelledby”:”topics-heading”,children:(0,r.jsx)(“ul”,{className:eo.navList,children:Object.entries(er).map(([t,i])=>(0,r.jsx)(“li”,{children:(0,r.jsx)(ed,{…(0,B.$C)({action:i,tag:”link”,context:”topics_nav”,location:”resources_sidebar”}),”data-ref”:`topics-nav-${t}`,href:v(`/resources/articles${“all-topics”===t?””:`/${t}`}`,a),selected:e===i,children:i})},t))})})})]})}try{ed.displayName||(ed.displayName=”NavListItem”)}catch{}try{ec.displayName||(ec.displayName=”CategoryNav”)}catch{}let em={categoryCardImage:”CategoryCard-module__categoryCardImage–TsUQD”,categoryCard:”CategoryCard-module__categoryCard–aqyBd”},ep=({content:e})=>{let a={renderNode:{[L.BLOCKS.PARAGRAPH]:(e,a)=>a}};return(0,r.jsx)(r.Fragment,{children:(0,T.i)(e,a)})};function eh({path:e,imageUrl:a,imageDescription:t,title:i,label:n,labelColor:l,excerpt:s,analyticsEvent:o,dataRef:d}){return(0,r.jsx)(h.Box,{animate:”fade-in”,children:(0,r.jsxs)(h.Card,{…o,”data-ref”:d,href:e,variant:”minimal”,className:em.categoryCard,fullWidth:!0,children:[(0,r.jsx)(h.Card.Image,{src:a?`${a}?w=1000&fm=jpg&fl=progressive`:”/images/modules/site/contentful/default/md.webp”,alt:t||””,className:em.categoryCardImage}),(0,r.jsx)(h.Card.Heading,{children:i}),n&&(0,r.jsx)(h.Card.Label,{color:l||”default”,children:n}),(0,r.jsx)(h.Card.Description,{children:(0,r.jsx)(ep,{content:s})})]})})}try{ep.displayName||(ep.displayName=”Excerpt”)}catch{}try{eh.displayName||(eh.displayName=”CategoryCard”)}catch{}function eu(){var e;let a=(e=(0,g.B)(),Y.parse(e)),t=(0,K.xL)(q((0,u.A)(a.contentfulRawJsonResponse))),i=new URLSearchParams(y.fV.search).get(“_features”)||””,{pageHeading:n,page:l,totalPages:s}=a.additionalProps;return(0,r.jsx)(h.ThemeProvider,{dir:”ltr”,style:{backgroundColor:”var(–brand-color-canvas-default)”},children:(0,r.jsx)(h.AnimationProvider,{runOnce:!0,visibilityOptions:.2,children:(0,r.jsxs)(h.Grid,{children:[(0,r.jsx)(h.Grid.Column,{children:(0,r.jsx)(h.Box,{marginBlockStart:{narrow:64,wide:112},marginBlockEnd:{narrow:32,wide:64},children:(0,r.jsx)(h.Heading,{as:”h1″,size:”1″,stretch:”condensed”,weight:”semibold”,font:”hubot-sans”,children:n})})}),(0,r.jsx)(h.Grid.Column,{span:{xsmall:12,large:3},children:(0,r.jsx)(h.Stack,{direction:”vertical”,padding:”none”,gap:24,children:(0,r.jsx)(ec,{activeCategory:n,featureFlags:i})})}),(0,r.jsxs)(h.Grid.Column,{span:{xsmall:12,large:9},children:[(0,r.jsx)(h.Box,{marginBlockEnd:{narrow:48},paddingBlockEnd:{narrow:48},borderBlockEndWidth:”thin”,borderColor:”default”,borderStyle:”solid”,children:(0,r.jsx)(h.Grid,{className:eo.cardGrid,children:t.map(e=>{let{fields:{template:{fields:a}}}=e;return(0,r.jsx)(h.Grid.Column,{span:{xsmall:12,medium:6},children:(0,r.jsx)(eh,{path:v(e.fields.path,i),imageUrl:a.heroBackgroundImage?.fields.image.fields.file.url,imageDescription:a.heroBackgroundImage?.fields.image.fields.description,title:a.title,excerpt:a.excerpt,dataRef:`article-card-${e.sys.id}`,analyticsEvent:(0,B.$C)({action:”learn_more”,tag:”card”,context:a.title,location:”resource_category_cards”})})},e.sys.id)})})}),s>1?(0,r.jsx)(h.Pagination,{pageCount:s,currentPage:l,hrefBuilder:e=>v(k(y.fV.pathname,e),i),pageAttributesBuilder:e=>(0,B.$C)({action:`page_${e}`,tag:”link”,context:”pagination”,location:”resource_category_cards”}),showPages:!0}):null]}),(0,r.jsx)(h.Grid.Column,{})]})})})}try{eu.displayName||(eu.displayName=”Category”)}catch{}let eg={whitepaperGrid:”WhitepaperPage-module__whitepaperGrid–eVg4C”,whitepaperBreadcrumbLink:”WhitepaperPage-module__whitepaperBreadcrumbLink–rfaBO”,whitepaperHero:”WhitepaperPage-module__whitepaperHero–CPBFs”,whitepaperRelatedCards:”WhitepaperPage-module__whitepaperRelatedCards–uQGbK”,whitepaperHeroPrimaryButton:”WhitepaperPage-module__whitepaperHeroPrimaryButton–GIAh2″,whitepaperHeroImage:”WhitepaperPage-module__whitepaperHeroImage–AdA7N”,formWrapper:”WhitepaperPage-module__formWrapper–rYIl8″,ebookFormWrapperNoImage:”WhitepaperPage-module__ebookFormWrapperNoImage–NuwlF”,ebookFormBox:”WhitepaperPage-module__ebookFormBox–QNZJ0″,hiddenOnMobile:”WhitepaperPage-module__hiddenOnMobile–qsPWP”,TopicsBox:”WhitepaperPage-module__TopicsBox–smp7k”},ex=”Ebook”;function ef({component:e,breadcrumbs:a}){let{heading:t,contentType:i,publishedDate:n,featuredImage:l}=e.fields,s=w(n,(0,A.J)())??””;return(0,r.jsxs)(“header”,{children:[(0,r.jsx)(h.Box,{marginBlockStart:20,children:(0,r.jsx)(h.Link,{className:eg.whitepaperBreadcrumbLink,href:a[0]?.url,arrowDirection:”start”,…(0,B.$C)({action:”Ebooks & Whitepapers”,tag:”link”,context:”breadcrumb”,location:”header”}),children:”Ebooks & Whitepapers”})}),(0,r.jsxs)(h.Box,{marginBlockStart:{narrow:48,regular:64},borderBlockEndWidth:”thin”,borderColor:”muted”,borderStyle:”solid”,children:[(0,r.jsxs)(h.Hero,{className:eg.whitepaperHero,children:[(0,r.jsx)(h.Hero.Label,{color:”pink”,children:i}),(0,r.jsx)(h.Hero.Heading,{children:t}),n&&(0,r.jsx)(h.Hero.Description,{children:s})]}),i===ex&&l&&(0,r.jsx)(h.Image,{className:eg.whitepaperHeroImage,as:”picture”,src:`${l.fields.file.url}?fm=webp`,sources:(0,_.Cf)(l.fields.file.url,{maxWidth:1040}),alt:l.fields.description||””,borderRadius:”medium”,loading:”lazy”}),(0,r.jsx)(h.Button,{className:eg.whitepaperHeroPrimaryButton,as:”a”,href:i===ex?”#ebook-form”:”#whitepaper-form”,variant:”primary”,trailingVisual:(0,r.jsx)(G.ChevronDownIcon,{}),block:!0,children:”Ebook”===i?”Get the ebook”:”Get the analysis”})]})]})}try{ef.displayName||(ef.displayName=”WhitepaperHeader”)}catch{}function eb({topics:e}){return(0,r.jsxs)(h.Stack,{direction:”horizontal”,padding:”none”,flexWrap:”wrap”,children:[(0,r.jsx)(h.Text,{children:”Tags”}),e?.map(e=>r.jsx(h.Label,{children:e},e))]})}try{eb.displayName||(eb.displayName=”Topics”)}catch{}function ej(){return(0,r.jsxs)(“svg”,{width:”17″,height:”17″,viewBox:”0 0 17 17″,fill:”none”,xmlns:”http://www.w3.org/2000/svg”,children:[(0,r.jsx)(“title”,{children:”Facebook”}),(0,r.jsx)(“path”,{fillRule:”evenodd”,clipRule:”evenodd”,d:”M16.5459 15.6843C16.5459 16.172 16.1505 16.5674 15.6629 16.5674L11.5857 16.5673L1.42895 16.5673C0.941143 16.5673 0.545898 16.172 0.545898 15.6843V1.45031C0.545898 0.962565 0.941143 0.567261 1.42895 0.567261H15.6629C16.1505 0.567261 16.5459 0.962505 16.5459 1.45031V15.6843ZM11.5857 10.3712V16.5673L9.09196 16.5673V10.3712H7.00688V7.95649H9.09196V6.17571C9.09196 4.10908 10.3541 2.98378 12.1977 2.98378C13.0807 2.98378 13.8398 3.04955 14.0609 3.07892V5.23864L12.7823 5.23924C11.7797 5.23924 11.5856 5.71566 11.5856 6.41478V7.95649H13.9768L13.6654 10.3712H11.5857Z”,fill:”currentColor”})]})}try{ej.displayName||(ej.displayName=”Facebook”)}catch{}function e_(){return(0,r.jsxs)(“svg”,{width:”17″,height:”17″,viewBox:”0 0 17 17″,fill:”none”,xmlns:”http://www.w3.org/2000/svg”,children:[(0,r.jsx)(“title”,{children:”X (formerly Twitter)”}),(0,r.jsx)(“path”,{d:”M9.86331 7.34219L15.6916 0.567383H14.3105L9.24978 6.44985L5.20782 0.567383H0.545898L6.65814 9.46272L0.545898 16.5671H1.92709L7.27132 10.3551L11.5399 16.5671H16.2018L9.86297 7.34219H9.86331ZM7.97158 9.54109L7.35228 8.65531L2.42476 1.60711H4.54619L8.52276 7.29523L9.14206 8.18101L14.3111 15.5747H12.1897L7.97158 9.54143V9.54109Z”,fill:”currentColor”})]})}try{e_.displayName||(e_.displayName=”TwitterX”)}catch{}function eC(){return(0,r.jsxs)(“svg”,{width:”16″,height:”17″,viewBox:”0 0 16 17″,fill:”none”,xmlns:”http://www.w3.org/2000/svg”,children:[(0,r.jsx)(“title”,{children:”LinkedIn”}),(0,r.jsx)(“path”,{fillRule:”evenodd”,clipRule:”evenodd”,d:”M1.33435 0.567261C0.709246 0.567261 0.202148 1.08076 0.202148 1.71339V15.4215C0.202148 16.0542 0.709306 16.5673 1.33435 16.5673H14.3894C15.0147 16.5673 15.5216 16.0541 15.5216 15.4213V1.71339C15.5216 1.08076 15.0147 0.567261 14.3894 0.567261H1.33435ZM4.85992 6.75318V13.9564H2.56751V6.75318H4.85992ZM5.01102 4.52549C5.01102 5.21674 4.51344 5.76987 3.7142 5.76987L3.71402 5.7698H3.69918C2.92979 5.7698 2.43239 5.21668 2.43239 4.52543C2.43239 3.81849 2.94481 3.2808 3.7294 3.2808C4.51344 3.2808 4.99606 3.81849 5.01102 4.52549ZM8.42103 13.9564H6.1288L6.12874 13.9567C6.12874 13.9567 6.15884 7.42918 6.12892 6.75343H8.42121V7.77302C8.72593 7.2823 9.27131 6.5843 10.4872 6.5843C11.9954 6.5843 13.1262 7.61387 13.1262 9.8263V13.9564H10.834V10.1033C10.834 9.13487 10.5021 8.47437 9.6728 8.47437C9.03938 8.47437 8.6622 8.9198 8.49656 9.35012C8.436 9.50368 8.42103 9.71924 8.42103 9.93424V13.9564Z”,fill:”currentColor”})]})}try{eC.displayName||(eC.displayName=”LinkedIn”)}catch{}let ey={copyLink:”SocialShare-module__copyLink–YitUX”,copyText:”SocialShare-module__copyText–BpVY5″,socialLink:”SocialShare-module__socialLink–h1_1x”},ek=()=>(0,r.jsx)(h.AnimationProvider,{children:(0,r.jsx)(h.Animate,{children:(0,r.jsx)(h.Box,{padding:”condensed”,borderWidth:”thin”,children:(0,r.jsx)(h.Text,{className:ey.copyText,variant:”muted”,size:”100″,children:”Link copied to clipboard”})})})}),ev=({url:e})=>{let[a,t]=(0,i.useState)(!1);return(0,r.jsxs)(h.Stack,{direction:”horizontal”,padding:”none”,justifyContent:”space-between”,children:[(0,r.jsx)(h.Text,{children:”Share”}),(0,r.jsxs)(“div”,{className:”d-flex flex-items-center”,children:[(0,r.jsxs)(“div”,{className:”position-relative”,children:[(0,r.jsxs)(“button”,{onClick:()=>{navigator.clipboard.writeText(e),t(!0),setTimeout(()=>t(!1),4e3)},className:`ml-3 ${ey.copyLink} ${ey.socialLink}`,children:[(0,r.jsx)(G.LinkIcon,{size:16}),(0,r.jsx)(h.Text,{as:”span”,className:”sr-only”,children:”Copy link to share”})]}),(0,r.jsx)(“div”,{“aria-live”:”polite”,className:”position-absolute bottom-0″,children:a&&(0,r.jsx)(ek,{})})]}),(0,r.jsxs)(“a”,{href:`https://www.facebook.com/sharer/sharer.php?u=${e}`,className:`${ey.socialLink} d-flex flex-items-center ml-3`,rel:”noopener noreferrer”,children:[(0,r.jsx)(h.Text,{as:”span”,className:”sr-only”,children:”Share on Facebook”}),(0,r.jsx)(ej,{})]}),(0,r.jsxs)(“a”,{href:`https://x.com/intent/tweet?url=${e}`,className:`${ey.socialLink} d-flex flex-items-center ml-3`,rel:”noopener noreferrer”,children:[(0,r.jsx)(h.Text,{as:”span”,className:”sr-only”,children:”Share on X”}),(0,r.jsx)(e_,{})]}),(0,r.jsxs)(“a”,{href:`https://www.linkedin.com/shareArticle?mini=true&url=${e}`,className:`${ey.socialLink} d-flex flex-items-center ml-3`,rel:”noopener noreferrer”,children:[(0,r.jsx)(h.Text,{as:”span”,className:”sr-only”,children:”Share on LinkedIn”}),(0,r.jsx)(eC,{})]})]})]})};try{ek.displayName||(ek.displayName=”CopyClip”)}catch{}try{ev.displayName||(ev.displayName=”SocialShare”)}catch{}function ew({component:e,breadcrumbs:a,socialShareUrl:t}){let{lede:n,body:l}=e.fields,o=(0,i.useCallback)(()=>{let e=new URL(`${window.location.pathname}/confirmation`,window.location.origin);window.location.href=e.href},[]);return(0,r.jsxs)(h.Grid,{className:eg.whitepaperGrid,children:[(0,r.jsx)(h.Grid.Column,{span:12,children:(0,r.jsx)(ef,{component:e,breadcrumbs:a})}),(0,r.jsx)(h.Grid.Column,{span:12,children:(0,r.jsxs)(h.Grid,{children:[(0,r.jsxs)(h.Grid.Column,{span:{xsmall:12,large:7},children:[(0,r.jsxs)(h.Stack,{padding:”none”,children:[(0,r.jsx)(h.Box,{marginBlockEnd:{narrow:24,wide:48},children:(0,r.jsx)(“header”,{children:(0,r.jsx)(I,{content:n})})}),(0,r.jsx)(h.Box,{paddingBlockEnd:{narrow:40,wide:64},borderBlockEndWidth:”thin”,borderColor:”muted”,borderStyle:”solid”,children:(0,r.jsx)(j.u,{variant:”editorial”,component:l})})]}),(0,r.jsx)(h.Box,{paddingBlockStart:40,paddingBlockEnd:40,borderBlockStartWidth:”thin”,borderBlockEndWidth:”thin”,borderColor:”muted”,borderStyle:”solid”,children:(0,r.jsx)(ev,{url:t})}),e.fields.topics&&(0,r.jsx)(h.Box,{className:eg.TopicsBox,paddingBlockStart:40,paddingBlockEnd:40,borderBlockEndWidth:”thin”,borderColor:”muted”,borderStyle:”solid”,children:(0,r.jsx)(eb,{topics:e.fields.topics})})]}),(0,r.jsx)(h.Grid.Column,{id:”whitepaper-form”,className:eg.formWrapper,span:{xsmall:12,large:4},start:{large:9},children:(0,r.jsx)(h.Grid,{children:(0,r.jsx)(h.Grid.Column,{span:{xsmall:12,small:6,large:12},start:{small:4},children:(0,r.jsx)(s.t,{component:e.fields.form,headingProps:{as:”h2″,size:”6″},onSubmitted:o,padding:”none”})})})})]})})]})}try{ew.displayName||(ew.displayName=”WhitepaperComponent”)}catch{}function eB({component:e,breadcrumbs:a,socialShareUrl:t}){let{lede:n,body:l,featuredImage:o}=e.fields,d=(0,i.useCallback)(()=>{let e=new URL(`${window.location.pathname}/confirmation`,window.location.origin);window.location.href=e.href},[]);return(0,r.jsxs)(h.Grid,{className:eg.whitepaperGrid,children:[(0,r.jsx)(h.Grid.Column,{span:{xsmall:12,large:7},children:(0,r.jsxs)(h.Grid,{children:[(0,r.jsx)(h.Grid.Column,{span:12,children:(0,r.jsx)(ef,{component:e,breadcrumbs:a})}),(0,r.jsxs)(h.Grid.Column,{span:12,children:[(0,r.jsxs)(h.Stack,{padding:”none”,children:[(0,r.jsx)(h.Box,{marginBlockEnd:{narrow:24,wide:48},children:(0,r.jsx)(“header”,{children:(0,r.jsx)(I,{content:n})})}),(0,r.jsx)(h.Box,{paddingBlockEnd:{narrow:40,wide:64},borderBlockEndWidth:”thin”,borderColor:”muted”,borderStyle:”solid”,children:(0,r.jsx)(j.u,{variant:”editorial”,component:l})})]}),(0,r.jsx)(h.Box,{paddingBlockStart:40,paddingBlockEnd:40,borderBlockStartWidth:”thin”,borderBlockEndWidth:”thin”,borderColor:”muted”,borderStyle:”solid”,children:(0,r.jsx)(ev,{url:t})}),e.fields.topics&&(0,r.jsx)(h.Box,{className:eg.TopicsBox,paddingBlockStart:40,paddingBlockEnd:40,borderBlockEndWidth:”thin”,borderColor:”muted”,borderStyle:”solid”,children:(0,r.jsx)(eb,{topics:e.fields.topics})})]})]})}),(0,r.jsx)(h.Grid.Column,{id:”ebook-form”,className:`${eg.formWrapper} ${o?””:eg.ebookFormWrapperNoImage}`,span:{xsmall:12,large:4},start:{large:9},children:(0,r.jsx)(h.Grid,{children:(0,r.jsxs)(h.Grid.Column,{span:{xsmall:12,small:6,large:12},start:{small:4},children:[o&&(0,r.jsx)(h.Box,{className:eg.hiddenOnMobile,marginBlockStart:80,children:(0,r.jsx)(h.Image,{as:”picture”,src:`${o.fields.file.url}?fm=webp`,sources:(0,_.Cf)(o.fields.file.url,{maxWidth:640}),alt:o.fields.description||””,borderRadius:”medium”,aspectRatio:”1:1″,loading:”lazy”})}),(0,r.jsx)(h.Box,{className:o?eg.ebookFormBox:””,children:(0,r.jsx)(s.t,{component:e.fields.form,headingProps:{as:”h2″,size:”6″},onSubmitted:d,padding:”none”})})]})})})]})}try{eB.displayName||(eB.displayName=”EbookComponent”)}catch{}function eN(){let e=et((0,g.B)()),a=(0,K.Wt)(q((0,u.A)(e.contentfulRawJsonResponse)).at(0)),{template:t,settings:i}=a.fields,n=i?.fields.colorMode??”light”,{contentType:l,relatedResources:s,heading:o,featuredImage:d}=t.fields,c=new URL(a.fields.path,y.fV.origin),m=c.pathname.split(“/”),p=new URLSearchParams(y.fV.search).get(“_features”)||””,f=[{name:”Ebooks & Whitepapers”,url:v(`${c.origin}/${m[1]}${m[2]&&`/${m[2]}`}`,p)}];return(0,r.jsxs)(h.ThemeProvider,{colorMode:n,dir:”ltr”,style:{backgroundColor:”var(–brand-color-canvas-default)”},children:[(0,r.jsxs)(h.AnimationProvider,{runOnce:!0,visibilityOptions:.2,children:[(0,r.jsxs)(h.Box,{marginBlockEnd:64,children:[“Whitepaper”===l&&(0,r.jsx)(ew,{component:t,breadcrumbs:f,socialShareUrl:c.toString()}),”Ebook”===l&&(0,r.jsx)(eB,{component:t,breadcrumbs:f,socialShareUrl:c.toString()})]}),s&&s.length>0&&(0,r.jsx)(h.Box,{paddingBlockStart:{narrow:48,regular:80},paddingBlockEnd:{narrow:64,regular:96},backgroundColor:”subtle”,children:(0,r.jsx)(h.Grid,{children:(0,r.jsx)(h.Grid.Column,{children:(0,r.jsxs)(h.Stack,{direction:”vertical”,padding:”none”,gap:{narrow:40,regular:64},children:[(0,r.jsx)(h.Heading,{as:”h2″,size:”5″,children:”Explore other resources”}),(0,r.jsx)(x.c,{cards:s,className:eg.whitepaperRelatedCards,imageAspectRatio:”16:9″,fullWidth:!0})]})})})})]}),(0,r.jsx)(C.H,{title:o,imageUrl:d?.fields.file.url}),(0,r.jsx)(N.c,{items:f})]})}try{eN.displayName||(eN.displayName=”WhitepaperPage”)}catch{}let eS={cardGrid:”WhitepaperIndex-module__cardGrid–RFCPZ”,layoutGrid:”WhitepaperIndex-module__layoutGrid–Q7Buc”,filtersColumn:”WhitepaperIndex-module__filtersColumn–HAN0a”},eL={asideContent:”Filters-module__asideContent–VZIYV”,navListHeading:”Filters-module__navListHeading–Hz370″,asideHeading:”Filters-module__asideHeading–RFyHV”,filterLabel:”Filters-module__filterLabel–vMVXc”,clearAllLink:”Filters-module__clearAllLink–zwLzQ”,”clearAllLink–disabled”:”Filters-module__clearAllLink–disabled–Bk6Pg”,asideHeadingContainer:”Filters-module__asideHeadingContainer–mOqDz”,filtersMenuToggle:”Filters-module__filtersMenuToggle–EXWjG”,aside:”Filters-module__aside–nAsQQ”,”asideHeadingContainer–open”:”Filters-module__asideHeadingContainer–open–GCb8Y”,filtersStackCollapsed:”Filters-module__filtersStackCollapsed–ozTTR”};function eT({checkboxGroups:e}){let a=e.reduce((e,a)=>e+a.checkboxes.filter(e=>e.isChecked).length,0),[t,n]=(0,i.useState)(a),[l,s]=(0,i.useState)(!1),[o,d]=(0,i.useState)(!1),c=(0,i.useRef)(null),m=a=>{for(let t of e){let e=a.getAll(t.name);if(e.length!==t.checkboxes.filter(e=>e.isChecked).length||e.some(e=>!t.checkboxes.find(a=>a.value===e)?.isChecked))return!0}return!1},p=e=>{let a=0;for(let[,t]of e.entries())t&&a++;return a};return(0,i.useEffect)(()=>{let e=e=>{“Escape”===e.key&&s(!1)};return l&&window.addEventListener(“keydown”,e),()=>window.removeEventListener(“keydown”,e)},[l]),(0,r.jsx)(“div”,{ref:c,children:(0,r.jsx)(“aside”,{className:eL.aside,children:(0,r.jsxs)(h.Stack,{direction:”vertical”,padding:”none”,gap:”none”,className:eL.asideContent,children:[(0,r.jsxs)(h.Stack,{direction:”horizontal”,padding:”none”,justifyContent:”space-between”,alignItems:”center”,className:`${eL.asideHeadingContainer} ${l?eL[“asideHeadingContainer–open”]:””}`,children:[(0,r.jsxs)(h.Heading,{as:”h2″,size:”subhead-medium”,font:”monospace”,className:eL.asideHeading,weight:”medium”,id:”filters-heading”,”data-testid”:”filters-heading”,children:[“Filters “,t>0?`(${t})`:””]}),(0,r.jsxs)(“button”,{…(0,B.$C)({action:`${l?”collapse”:”expand”}_filters_menu`,tag:”icon”,context:”menu_toggle”,location:”filters”}),”data-ref”:”whitepaper-filters-menu-toggle”,className:eL.filtersMenuToggle,onClick:()=>{s(!l)},children:[(0,r.jsxs)(“span”,{className:”sr-only”,children:[l?”Close”:”Open”,” Filters”]}),l?(0,r.jsx)(G.XIcon,{size:24}):(0,r.jsx)(G.FilterIcon,{size:24})]})]}),(0,r.jsx)(“form”,{noValidate:!0,onSubmit:a=>{a.preventDefault();let t=new FormData(a.currentTarget);if(!m(t))return;let r=new URL(window.location.href,window.location.origin);r.searchParams.delete(“page”);let i=new URLSearchParams;for(let a of e){r.searchParams.delete(a.name);let e=t.getAll(a.name);e.length>0&&i.set(a.name,e.join(“,”))}for(let[e,a]of r.searchParams.entries())i.set(e,a);window.location.href=`${r.origin}${r.pathname}?${i.toString()}`},onChange:e=>{let a=new FormData(e.currentTarget);n(p(a)),d(m(a))},children:(0,r.jsxs)(h.Stack,{direction:”vertical”,padding:”none”,gap:40,className:l?””:eL.filtersStackCollapsed,children:[e.map(e=>(0,r.jsxs)(h.Box,{borderBlockStartWidth:”thin”,borderColor:”subtle”,borderStyle:”solid”,children:[(0,r.jsx)(h.Box,{paddingBlockStart:12,paddingBlockEnd:24,children:(0,r.jsx)(h.Heading,{as:”h2″,size:”subhead-medium”,font:”monospace”,className:eL.navListHeading,weight:”medium”,stretch:”expanded”,children:e.label})}),(0,r.jsx)(h.Stack,{direction:”vertical”,padding:”none”,gap:12,children:(0,r.jsxs)(h.CheckboxGroup,{children:[(0,r.jsx)(h.CheckboxGroup.Label,{visuallyHidden:!0,children:e.label}),e.checkboxes.map(a=>(0,r.jsxs)(h.FormControl,{children:[(0,r.jsx)(h.FormControl.Label,{className:eL.filterLabel,children:a.label}),(0,r.jsx)(h.Checkbox,{value:a.value,name:e.name,defaultChecked:a.isChecked})]},`${e.name}-${a.label}`))]})})]},e.name)),(0,r.jsxs)(h.Stack,{direction:”horizontal”,padding:”none”,justifyContent:”space-between”,alignItems:”center”,children:[(0,r.jsx)(h.InlineLink,{role:”button”,”aria-disabled”:0===t,className:`${eL.clearAllLink} ${0===t?eL[“clearAllLink–disabled”]:””}`,onClick:()=>{let a=new URL(window.location.href,window.location.origin);for(let t of(a.searchParams.delete(“page”),e))a.searchParams.delete(t.name);window.location.href=a.href},href:”#”,children:”Clear all”}),(0,r.jsx)(h.Button,{type:”submit”,variant:”primary”,size:”small”,disabled:!o,children:”Apply”})]})]})})]})})})}try{eT.displayName||(eT.displayName=”Filters”)}catch{}let eH=[{name:”contentTypes”,label:”Content Type”,checkboxes:[{label:”Whitepapers”,value:”whitepaper”},{label:”Ebooks”,value:”ebook”}]},{name:”topics”,label:”Category”,checkboxes:[{label:”AI”,value:”ai”},{label:”Cloud”,value:”cloud”},{label:”DevOps”,value:”devops”},{label:”GitHub Actions”,value:”github-actions”},{label:”GitHub Advanced Security”,value:”github-advanced-security”},{label:”GitHub Enterprise”,value:”github-enterprise”},{label:”Innersource”,value:”innersource”},{label:”Open Source”,value:”open-source”},{label:”Security”,value:”security”},{label:”Software Development”,value:”software-development”}]}],eI=e=>{let a=e.fields.template;return{id:e.sys.id,title:a.fields.heading,contentType:a.fields.contentType,featuredImage:a.fields.featuredImage,excerpt:a.fields.excerpt,path:e.fields.path}},eA=({content:e})=>{let a={renderNode:{[L.BLOCKS.PARAGRAPH]:(e,a)=>a}};return(0,r.jsx)(r.Fragment,{children:(0,T.i)(e,a)})};function eP(){var e;let{contentfulRawJsonResponse:a,additionalProps:t}=(e=(0,g.B)(),ea.parse(e)),{page:n,cards:l}=(0,i.useMemo)(()=>{let e;let t=[];for(let r of q((0,u.A)(a))){let a=(0,K.ht)(r);”templateWhitepaperIndex”===a.fields.template.sys.contentType.sys.id?e=(0,K.rO)(a):t.push(eI((0,K.$0)(a)))}return{page:e,cards:t}},[a]),s=(0,i.useMemo)(()=>eH.map(e=>({…e,checkboxes:e.checkboxes.map(a=>{let r=t?.filters?.[e.name];return{…a,isChecked:r?.includes(a.value)??!1}})})),[t]),o=(e,a)=>{let t=new URL(`${y.fV.pathname}${y.fV.search}`,y.fV.origin);return t.searchParams.delete(“_features”),t.searchParams.set(“page”,e.toString()),v(t.toString(),a)},d=n?.fields.template.fields.excerpt,c=n?.fields.settings?.fields.colorMode??”light”,m=new URLSearchParams(y.fV.search).get(“_features”)||””,p=t?.totalPages&&t?.totalPages>1;return(0,r.jsx)(h.ThemeProvider,{dir:”ltr”,style:{backgroundColor:”var(–brand-color-canvas-default)”},colorMode:c,children:(0,r.jsx)(h.AnimationProvider,{runOnce:!0,visibilityOptions:.2,children:(0,r.jsx)(h.Box,{paddingBlockEnd:{narrow:40,regular:80},children:(0,r.jsxs)(h.Grid,{className:eS.layoutGrid,children:[(0,r.jsx)(h.Grid.Column,{span:12,children:(0,r.jsx)(h.Box,{marginBlockStart:{narrow:64,regular:112},marginBlockEnd:{regular:64},children:(0,r.jsxs)(h.Hero,{className:”pt-0 pb-0″,children:[(0,r.jsx)(h.Hero.Heading,{children:n?.fields.title}),d&&(0,r.jsx)(h.Hero.Description,{children:(0,r.jsx)(eA,{content:d})})]})})}),(0,r.jsx)(h.Grid.Column,{span:{xsmall:12,medium:3},className:eS.filtersColumn,children:(0,r.jsx)(eT,{checkboxGroups:s})}),(0,r.jsxs)(h.Grid.Column,{span:{xsmall:12,medium:9},children:[(0,r.jsx)(h.Box,{marginBlockEnd:{narrow:32,regular:48},children:(0,r.jsx)(h.Grid,{className:eS.cardGrid,children:l.map(e=>{let a=”default”;switch(e.contentType){case”Whitepaper”:a=”purple”;break;case”Ebook”:a=”pink”;break;case”Industry Report”:a=”blue”}return(0,r.jsx)(h.Grid.Column,{span:{xsmall:12,medium:6},children:(0,r.jsx)(eh,{imageUrl:e.featuredImage?.fields.file.url,imageDescription:e.featuredImage?.fields.description,title:e.title,label:e.contentType,labelColor:a,excerpt:e.excerpt,analyticsEvent:(0,B.$C)({action:”learn_more”,tag:”card”,context:e.title,location:”resource_whitepaper_category_cards”}),path:v(e.path,m),dataRef:`whitepaper-card-${e.id}`})},e.id)})})}),p?(0,r.jsx)(h.Box,{paddingBlockStart:28,borderBlockStartWidth:”thin”,borderColor:”default”,borderStyle:”solid”,children:(0,r.jsx)(h.Pagination,{pageCount:t?.totalPages||1,currentPage:t?.page||1,hrefBuilder:e=>o(e,m),pageAttributesBuilder:e=>(0,B.$C)({action:`page_${e}`,tag:”link”,context:”pagination”,location:”whitepaper_index_cards”}),showPages:!0})}):null]})]})})})})}try{eA.displayName||(eA.displayName=”Excerpt”)}catch{}try{eP.displayName||(eP.displayName=”WhitepaperIndex”)}catch{}let ez={confirmIconOuter:”WhitepaperConfirmation-module__confirmIconOuter–vq97w”,confirmIconInner:”WhitepaperConfirmation-module__confirmIconInner–N7pUJ”,ctaContainer:”WhitepaperConfirmation-module__ctaContainer–SxMyV”,relatedResources:”WhitepaperConfirmation-module__relatedResources–l3rvp”},eG=()=>(0,r.jsx)(“div”,{className:`${ez.confirmIconOuter} mb-2`,children:(0,r.jsx)(“div”,{className:ez.confirmIconInner,children:(0,r.jsx)(G.CheckIcon,{size:24})})});function eE(){let{contentfulRawJsonResponse:e}=et((0,g.B)()),{heading:a,relatedResources:t,downloadableAsset:i,downloadableAssetUrl:n,downloadableAssetCta:l,confirmationCtaDescription:s}=(0,K.Wt)(q((0,u.A)(e)).at(0)).fields.template.fields,o=n||i?.fields.file.url;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.Grid,{children:(0,r.jsxs)(h.Grid.Column,{children:[(0,r.jsx)(h.Box,{marginBlockStart:24,marginBlockEnd:24,className:”d-flex flex-items-center”,children:(0,r.jsx)(h.Link,{href:”/resources/whitepapers”,arrowDirection:”start”,children:(0,r.jsx)(h.Text,{children:”Ebooks & Whitepapers”})})}),(0,r.jsxs)(h.CTABanner,{backgroundColor:”subtle”,hasShadow:!1,align:”center”,className:ez.ctaContainer,children:[(0,r.jsx)(eG,{}),(0,r.jsx)(h.CTABanner.Heading,{as:”h1″,size:”2″,children:a}),s&&(0,r.jsx)(h.CTABanner.Description,{className:”pt-3 mb-0″,children:s}),o&&(0,r.jsx)(h.CTABanner.ButtonGroup,{buttonsAs:”a”,children:(0,r.jsx)(h.Button,{href:o,children:l||”Download PDF”})})]})]})}),t&&t.length>0&&(0,r.jsx)(h.Grid,{className:”mt-5 mt-lg-9 mb-5 mb-lg-10″,children:(0,r.jsx)(h.Grid.Column,{children:(0,r.jsxs)(h.Stack,{direction:”vertical”,padding:”none”,gap:{narrow:40,regular:64},children:[(0,r.jsx)(h.Heading,{as:”h2″,size:”5″,children:”Explore other resources”}),(0,r.jsx)(x.c,{className:ez.relatedResources,cards:t,imageAspectRatio:”16:9″,fullWidth:!0})]})})})]})}try{eG.displayName||(eG.displayName=”ConfirmationIcon”)}catch{}try{eE.displayName||(eE.displayName=”WhitepapersConfirmation”)}catch{}(0,m.o)(“resources”,()=>({App:c,routes:[(0,p.a)({path:”/resources/articles/:topic/:path”,Component:es}),(0,p.a)({path:”/resources/articles/:topic”,Component:eu}),(0,p.a)({path:”/resources/articles”,Component:eu}),(0,p.a)({path:”/resources/whitepapers”,Component:eP}),(0,p.a)({path:”/resources/whitepapers/:resource”,Component:eN}),(0,p.a)({path:”/resources/whitepapers/:resource/confirmation”,Component:eE})]}))},5658:(e,a,t)=>{t.d(a,{D:()=>i});var r=t(96540);let i=e=>{let[a,t]=(0,r.useState)();return(0,r.useEffect)(()=>{if(null===e.ref.current)return;let a=new IntersectionObserver(e=>{let a=e.find(e=>e.isIntersecting);void 0!==a&&”string”==typeof a.target.id&&t(a.target.id)},{threshold:.75}),r=Array.from(e.ref.current.querySelectorAll(“:scope h2[id], :scope h3[id], :scope h4[id]”));for(let e of r)a.observe(e);return()=>{for(let e of r)a.unobserve(e)}},[e.ref]),a}},73422:(e,a,t)=>{t.d(a,{aw:()=>u,bn:()=>N,xL:()=>S,$0:()=>T,ht:()=>I,rO:()=>L,Wt:()=>A});var r=t(39456),i=t(30838),n=t(95605),l=t(17481),s=t(31410),o=t(98456),d=t(71241),c=t(8355),m=t(65832),p=t(49966);let h=(0,l.V)(“genericCallToAction”,{fields:r.z.object({heading:r.z.string(),description:m.j,callToActionPrimary:p.m})}),u=(0,l.V)(“templateResourcesArticle”,{fields:r.z.object({title:r.z.string(),publishedDate:r.z.string().optional(),updatedDate:r.z.string().optional(),heroBackgroundImage:n.R.optional(),lede:m.j,content:c.B,featuredCallToAction:h.optional(),ctaBanner:o.s.optional(),cards:s.u.optional(),faq:d.r.optional(),excerpt:m.j,brand:r.z.union([r.z.literal(“AI”),r.z.literal(“Collaboration”),r.z.literal(“Enterprise”),r.z.literal(“Productivity”),r.z.literal(“Security”)]).optional()})}),g=(0,l.V)(“templateResourcesArticle”,{fields:r.z.object({title:r.z.string(),heroBackgroundImage:n.R.optional(),excerpt:m.j})}),x=(0,l.V)(“templateWhitepaperIndex”,{fields:r.z.object({excerpt:m.j})});var f=t(92380),b=t(64130),j=t(72860);let _=(0,l.V)(“templateWhitepaper”,{fields:r.z.object({heading:r.z.string(),contentType:r.z.string(),featuredImage:f.u.optional(),excerpt:m.j})}),C=(0,l.V)(“templateWhitepaper”,{fields:r.z.object({title:r.z.string(),contentType:r.z.union([r.z.literal(“Whitepaper”),r.z.literal(“Ebook”)]),heading:r.z.string(),publishedDate:r.z.string().optional(),featuredImage:f.u.optional(),lede:m.j,excerpt:m.j,body:c.B,form:b.c,downloadableAsset:f.u.optional(),downloadableAssetUrl:r.z.string().optional(),downloadableAssetCta:r.z.string().optional(),confirmationCtaDescription:r.z.string().optional(),relatedResources:r.z.array(j.q).optional(),topics:r.z.array(r.z.string()).optional()})}),y=(0,i.g)(u),k=(0,i.g)(g),v=(0,i.g)(C),w=(0,i.g)(x),B=(0,i.g)(_);function N(e){return y.parse(e)}function S(e){return e.map(e=>k.parse(e))}function L(e){return w.parse(e)}function T(e){return B.parse(e)}let H=r.z.union([w,B]);function I(e){return H.parse(e)}function A(e){return v.parse(e)}},78920:(e,a,t)=>{t.d(a,{I:()=>function e(a,t){return(a.nodeType===t?1:0)+(a.content?.reduce((a,i)=>r.helpers.isText(i)?a:a+e(i,t),0)||0)}});var r=t(45871)},24001:(e,a,t)=>{t.d(a,{H:()=>i});var r=t(74848);let i=({title:e,imageUrl:a,dataTestId:t})=>{let i=JSON.stringify({“@context”:”https://schema.org”,”@type”:”Article”,headline:e,image:a?[`https:${a}?w=2560&h=1440&fm=webp`,`https:${a}?w=1280&h=960&fm=webp`,`https:${a}?w=1000&h=1000&fm=webp`]:void 0,publisher:{“@type”:”Organization”,name:”GitHub”,logo:”https://github.githubassets.com/images/modules/open_graph/github-logo.png”},author:{“@type”:”Organization”,name:”GitHub”,url:”https://www.github.com”}});return(0,r.jsx)(“script”,{“data-testid”:t,type:”application/ld+json”,dangerouslySetInnerHTML:{__html:i}})};try{i.displayName||(i.displayName=”ArticleSeoSchema”)}catch{}},42890:(e,a,t)=>{t.d(a,{c:()=>i});var r=t(74848);let i=({items:e,dataTestId:a})=>{let t=JSON.stringify({“@context”:”https://schema.org”,”@type”:”BreadcrumbList”,itemListElement:e.map(({name:e,url:a},t)=>({“@type”:”ListItem”,position:t+1,name:e,item:a}))});return(0,r.jsx)(“script”,{“data-testid”:a,type:”application/ld+json”,dangerouslySetInnerHTML:{__html:t}})};try{i.displayName||(i.displayName=”BreadcrumbSeoSchema”)}catch{}}},e=>{var a=a=>e(e.s=a);e.O(0,[“primer-react”,”react-core”,”react-lib”,”octicons-react”,”vendors-node_modules_primer_behaviors_dist_esm_index_mjs”,”vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js”,”vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-1d3d52″,”vendors-node_modules_emotion_is-prop-valid_dist_emotion-is-prop-valid_esm_js-node_modules_emo-b1c483″,”vendors-node_modules_github_catalyst_lib_index_js-node_modules_primer_live-region-element_dis-b2aea6″,”vendors-node_modules_primer_react-brand_lib_index_js”,”vendors-node_modules_tanstack_react-query_build_modern_queryOptions_js-node_modules_zod_dist_-49a447″,”vendors-node_modules_contentful_rich-text-react-renderer_dist_rich-text-react-renderer_es5_js”,”vendors-node_modules_contentful-resolve-response_dist_esm_index_js”,”vendors-node_modules_contentful_rich-text-html-renderer_dist_rich-text-html-renderer_es5_js-n-a480bd”,”ui_packages_failbot_failbot_ts”,”ui_packages_document-metadata_document-metadata_ts-ui_packages_history_history_ts-ui_packages-417c81″,”ui_packages_app-uuid_app-uuid_ts-ui_packages_fetch-headers_fetch-headers_ts-ui_packages_swp-c-f58fe4″,”ui_packages_swp-core_schemas_contentful_contentTypes_form_ts-ui_packages_swp-core_schemas_con-0df440″],()=>a(99575)),e.O()}]); //# sourceMappingURL=resources-2cba92cf0859.js.map