1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[928],{3771:function(e,t,r){"use strict";var n=r(5675),i=r.n(n),a=r(9437),c=r(5893);t.Z=function(e){var t,r=e.featuredImage,n=e.imageClass,s=e.role,o=e.priority,l=e.imageWidth;return r&&r.imageUrl?(0,c.jsx)(i(),{loader:a.Z,src:r.imageUrl,alt:null!==(t=r.altText)&&void 0!==t?t:"",height:r.imageHeight,width:null!=l?l:r.imageWidth,role:s,className:n,priority:null!=o&&o}):null}},3162:function(e,t,r){"use strict";var n=r(9499),i=r(1664),a=r.n(i),c=r(7294),s=r(6759),o=r(5893);t.Z=function(e){var t,i=e.publishedDate,l=e.authors,u=e.classModifier,m=e.hideDivider,p=void 0!==m&&m,_=r(4184)("cmp-post-summary__meta",(0,n.Z)({},"".concat(u),u));return(0,o.jsxs)("p",{className:_,children:[(0,o.jsx)("span",{className:p?"":"cmp-post-summary__meta--listing","data-testid":"published-date",children:i?(0,o.jsx)(s.Z,{date:i}):null})," ",(0,o.jsx)("span",{className:p?"":"cmp-post-summary__meta--listing",children:null!==(t=null==l?void 0:l.map(function(e,t){return(0,o.jsxs)(c.Fragment,{children:[t>0?", ":"",(0,o.jsx)(a(),{className:"cmp-post-summary__author-link",href:"/foundry/author/".concat(e.slugFragment),"data-testid":"author-name",children:e.name})]},e.slugFragment)}))&&void 0!==t?t:null})]})}},3490:function(e,t,r){"use strict";r.d(t,{Z:function(){return Details}});var n=r(5375),i=r(5893);function Details(e){var t=e.summary,r=e.details;return(0,i.jsxs)("details",{className:"cmp-details",children:[(0,i.jsx)("summary",{className:"cmp-details__summary",children:t}),(0,i.jsx)("div",{className:"cmp-details__details",children:(0,i.jsx)(n.Z,{markdown:r})}),(0,i.jsx)("hr",{})]})}},8281:function(e,t,r){"use strict";r.d(t,{Z:function(){return EmailSignupFormCta}});var n=r(9689),i=r(5893);function EmailSignupFormCta(e){var t=e.preHeading,r=e.description,a=e.formTitle,c=e.audience,s=e.interests,o=e.formClasses,l=e.ariaLabeledBy,u=e.emailFieldLabel,m=e.ctaText,p=e.displayNameField;return(0,i.jsxs)("div",{className:"cmp-cta-form util-margin-vrt3@md util-margin-vrt2",children:[t&&(0,i.jsx)("div",{className:"cmp-cta-form__pre-heading",children:t}),(0,i.jsx)("h2",{className:"cmp-cta-form__form-title",children:a}),(0,i.jsx)("p",{className:"cmp-cta-form__description",children:r}),(0,i.jsx)(n.Z,{formClasses:"".concat(o," cmp-email-signup--cta"),buttonModifier:"solid",ariaLabeledBy:l,displayNameField:void 0===p||p,emailFieldLabel:void 0===u?"Business Email Address":u,ctaText:void 0===m?"Submit":m,listId:c,interests:s})]})}},6759:function(e,t,r){"use strict";var n=r(4730),i=r(9499),a=r(7294),c=["date","format","elementType"];function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var fmtDate=function(e,t){return new Intl.DateTimeFormat("en-US",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({timeZone:"America/New_York"},t)).format(e)},s={yyyy:function(e){return fmtDate(e,{year:"numeric"})},yy:function(e){return fmtDate(e,{year:"2-digit"})},MM:function(e){return fmtDate(e,{month:"long"})},M:function(e){return fmtDate(e,{month:"short"})},mm:function(e){return fmtDate(e,{month:"2-digit"})},m:function(e){return fmtDate(e,{month:"numeric"})},DD:function(e){return fmtDate(e,{weekday:"long"})},D:function(e){return fmtDate(e,{weekday:"short"})},dd:function(e){return fmtDate(e,{day:"2-digit"})},d:function(e){function d(t){return e.apply(this,arguments)}return d.toString=function(){return e.toString()},d}(function(e){return fmtDate(e,{day:"numeric"})}),"hh:nn:ss":function(e){return fmtDate(e,{hour:"2-digit",minute:"2-digit",second:"2-digit",hourCycle:"h12"})},"h:nn:ss":function(e){return fmtDate(e,{hour:"numeric",minute:"2-digit",second:"2-digit",hourCycle:"h12"})},"hh:nn":function(e){return fmtDate(e,{hour:"2-digit",minute:"2-digit",hourCycle:"h12"})},"h:nn":function(e){return fmtDate(e,{hour:"numeric",minute:"2-digit",hourCycle:"h12"})},HH:function(e){return fmtDate(e,{hour:"2-digit",hourCycle:"h24"})},H:function(e){return fmtDate(e,{hour:"numeric",hourCycle:"h24"})},hh:function(e){return fmtDate(e,{hour:"2-digit",hourCycle:"h12"})},h:function(e){return fmtDate(e,{hour:"numeric",hourCycle:"h12"})},nn:function(e){return fmtDate(e,{minute:"2-digit"})},n:function(e){return fmtDate(e,{minute:"numeric"})},ss:function(e){return fmtDate(e,{second:"2-digit"})},s:function(e){return fmtDate(e,{second:"numeric"})}};t.Z=function(e){var t=e.date,r=e.format,i=void 0===r?"short":r,o=e.elementType,l=void 0===o?"span":o,u=(0,n.Z)(e,c);"short"===i?i="mm-dd-yy":"long"===i&&(i="MM dd, yyyy");var m="string"==typeof t?new Date(t):t,p=i.replace(RegExp("("+Object.keys(s).join("|")+")","g"),function(e){return s[e](m)});return(0,a.createElement)(l,u,p)}},5186:function(e,t,r){"use strict";var n=r(9499),i=r(7294),a=r(5675),c=r.n(a),s=r(4184),o=r.n(s),l=r(744),u=r(5375),m=r(3490),p=r(9437),_=r(8994),h=r(5893);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}t.Z=function(e){var t=e.animatedImageUrl,r=e.stillImageUrl,a=e.stillImageHeight,s=e.stillImageWidth,g=e.caption,j=e.alignment,f=e.altText,b=void 0===f?"":f,y=e.details,x=e.css,v=void 0===x?"":x,O=(0,i.useState)(!1),w=O[0],N=O[1];if((0,i.useEffect)(function(){N(function(){return matchMedia("(prefers-reduced-motion: no-preference)").matches})},[N]),!t||!r)return null;var S=o()({"cmp-image-wrapper":!0,"cmp-image-wrapper--animated":!0,"cmp-image-wrapper__figure":!!g});return(0,h.jsx)(l.Z,{condition:"Right"===j,wrapper:function(e){return(0,h.jsx)("div",{className:"cmp-image-wrapper__float-container","data-testid":"float-container",children:e})},children:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(g?"figure":"div",{className:S,children:[(0,h.jsx)("div",{children:(0,h.jsx)("button",{type:"button",className:"cmp-button cmp-button--small util-margin-bottom-md","data-content":"Toggle Animation",onClick:function(){return N(!w)},"aria-pressed":w,children:"Toggle Animation"})}),(0,h.jsxs)("div",{className:"util-position-relative",children:[(0,h.jsx)("button",{type:"button",className:"cmp-image-wrapper__overlay-button",tabIndex:-1,"aria-hidden":"true",onClick:function(){return N(!w)}})," ",(0,h.jsxs)("picture",{children:[w?(0,h.jsx)("source",{srcSet:t}):null,a&&s?(0,h.jsx)(c(),{loader:p.Z,alt:b,src:r,height:a,width:s,className:"cmp-image-wrapper__image",style:(0,_.Z)(v)}):(0,h.jsx)("img",{alt:b,src:r,className:"cmp-image-wrapper__image",style:(0,_.Z)(v)})]})]}),g?(0,h.jsx)("figcaption",{className:"cmp-image-wrapper__caption",children:(0,h.jsx)(u.Z,{markdown:g})}):null]}),y?(0,h.jsx)(m.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},y)):null]})})}},814:function(e,t,r){"use strict";r.d(t,{Z:function(){return article_detail_header}});var n=r(9499),i=r(4184),a=r.n(i),c=r(3162),s=r(3771),o=r(7294),l=r(5893),social_share=function(e){var t,r=e.mailToURL,n=(0,o.useState)(!1),i=n[0],a=n[1],c=null===(t=globalThis.location)||void 0===t?void 0:t.href;return(0,l.jsxs)("div",{className:"cmp-social-share",children:[r?(0,l.jsxs)("a",{href:r,className:"cmp-social-share__action",children:[(0,l.jsx)("svg",{className:"cmp-social-share__icon",children:(0,l.jsx)("use",{xlinkHref:"#icon-email"})}),(0,l.jsx)("span",{className:"cmp-social-share__action-text",children:"Let's Talk"})]}):null,(0,l.jsxs)("button",{type:"button",className:"cmp-social-share__action",onClick:function(){var e,t;null===(e=navigator)||void 0===e||null===(t=e.clipboard)||void 0===t||t.writeText(c),a(!0),setTimeout(function(){a(!1)},3e3)},children:[(0,l.jsx)("svg",{className:"cmp-social-share__icon",children:(0,l.jsx)("use",{xlinkHref:"#icon-copy-link"})}),(0,l.jsx)("span",{className:"cmp-social-share__action-text",children:i?"Copied!":"Copy Link"})]})]})},article_detail_header=function(e){var t=e.title,r=e.publishedDate,i=e.authors,o=e.featuredImage,u=e.articleType,m=e.mailToURL,p=e.series,_=e.articleTopic,h=a()({"cmp-detail-header":!0,"cmp-detail-header--impact":"Impact"===u,"cmp-detail-header--long-title":"Standard - Long Title"===u}),g=a()("cmp-detail-header__gradient-button",(0,n.Z)({},"cmp-detail-header__gradient-button--".concat(_),_));return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("header",{className:h,children:[o&&o.imageUrl?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"cmp-detail-header__image-container",children:(0,l.jsx)(s.Z,{featuredImage:o,imageClass:"cmp-detail-header__image",priority:!0,imageWidth:"Impact"===u?288:null})}),p&&_&&(0,l.jsxs)("a",{href:p.seriesLink,className:g,"data-content":"".concat(p.buttonText),children:[p.buttonText,(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"website_design"===_?"#fff":"#000",children:(0,l.jsx)("path",{d:"M8.46644 15.4472C11.1669 12.7959 13.615 10.3206 16 8C13.2988 5.35307 10.849 2.8697 8.46645 0.552813C7.84599 1.15634 7.37788 1.62073 6.78524 2.19768C8.39721 3.79395 10.0629 5.44605 11.4615 6.83048L1.4015 6.83051C1.09361 6.83049 0.813572 7.10904 0.813056 7.41482L0.8131 8.58444C0.8131 8.89061 1.09317 9.16924 1.40157 9.16878L11.4616 9.16872C9.89796 10.7051 8.35634 12.2637 6.7853 13.7924C7.34971 14.3568 7.97109 14.9538 8.46653 15.4464L8.46644 15.4472Z"})})]})]}):(0,l.jsx)("div",{className:"cmp-detail-header__image-container"}),(0,l.jsx)("h1",{className:"cmp-detail-header__title",children:t}),(0,l.jsx)("div",{className:"cmp-detail-header__meta",children:(0,l.jsx)(c.Z,{publishedDate:r,authors:i})}),(0,l.jsx)(social_share,{mailToURL:m})]})})}},7155:function(e,t,r){"use strict";r.d(t,{Z:function(){return rich_text_renderer}});var n=r(4129),i=r(6687),a=r(5893),renderMarkdown=function(e){return e.includes("~~")?renderStrikethrough(e):e.includes("\n")?renderLineBreak(e):e},renderLineBreak=function(e){return e.split("\n").reduce(function(e,t,r){return r>0?[].concat((0,i.Z)(e),[(0,a.jsx)("br",{},r),renderMarkdown(t)]):[].concat((0,i.Z)(e),[renderMarkdown(t)])},[])},renderStrikethrough=function(e){return e.split("~~").map(function(e,t){return t%2==0?renderMarkdown(e):(0,a.jsx)("s",{children:renderMarkdown(e)},t)})},c={renderText:function(e){var t;return t=e.replace(/"'(?=\w)/g,"ââ").replace(/'"(?=\w)/g,"ââ").replace(/(?<=[\w,Øâ¹ãï¼\.ã!ï¼\?ï¼;:\-âââ¦\)\]\}])"'/g,"ââ").replace(/(?<=[\w,Øâ¹ãï¼\.ã!ï¼\?ï¼;:\-âââ¦\)\]\}])'"/g,"ââ").replace(/(?<=\b[\d\.'"â²â³â´â]*\d+)""/g,"â").replace(/(?<=\b[\d\.'"â²â³â´â]*\d+)"/g,"â³").replace(/(?<=\b[\d\.'"â²â³â´â]*\d+)''''/g,"â").replace(/(?<=\b[\d\.'"â²â³â´â]*\d+)'''/g,"â´").replace(/(?<=\b[\d\.'"â²â³â´â]*\d+)''/g,"â³").replace(/(?<=\b[\d\.'"â²â³â´â]*\d+)'/g,"â²").replace(/(?<=[ =<>â¤â¥\+\-\/]\w)""/g,"â").replace(/(?<=[ =<>â¤â¥\+\-\/]\w)"/g,"â³").replace(/(?<=[ =<>â¤â¥\+\-\/]\w)''''/g,"â").replace(/(?<=[ =<>â¤â¥\+\-\/]\w)'''/g,"â´").replace(/(?<=[ =<>â¤â¥\+\-\/]\w)''/g,"â³").replace(/(?<=[ =<>â¤â¥\+\-\/]\w)'(?!\w)/g,"â²").replace(/(?<=^\w)""/g,"â").replace(/(?<=^\w)"/g,"â³").replace(/(?<=^\w)''''/g,"â").replace(/(?<=^\w)'''/g,"â´").replace(/(?<=^\w)''/g,"â³").replace(/(?<=^\w)'(?!\w)/g,"â²").replace(/'(?=\d\d)/g,"â").replace(/\B"\b/g,"â").replace(/\B'\b/g,"â").replace(/(?<=[\w,Øâ¹ãï¼\.ã!ï¼\?ï¼;:\-âââ¦\)\]\}])"\B/g,"â").replace(/(?<=[\w,Øâ¹ãï¼\.ã!ï¼\?ï¼;:\-âââ¦\)\]\}])'\B/g,"â").replace(/(?<=\w)'(?=\w)/g,"â").replace(/(?<! )"(?= )/g,"â").replace(/(?<! )'(?= )/g,"â").replace(/"/g,"â").replace(/'/g,"â"),(0,a.jsx)(a.Fragment,{children:renderMarkdown(t)})}},rich_text_renderer=function(e){var t=e.document,r=e.options,i=Object.assign({},c,void 0===r?{}:r);return(0,a.jsx)(a.Fragment,{children:(0,n.h)(t,i)})}},5100:function(e,t,r){"use strict";var n=r(1664),i=r.n(n),a=r(5893);t.Z=function(e){var t=e.tags,r=e.tagListClassModifier,n=void 0===r?"":r,c=e.tagClassModifier,s=void 0===c?"":c,o=e.id,l=e.ariaLabelledBy;return null!=t&&t.length?(0,a.jsx)("ul",{id:o,"aria-labelledby":l,className:"cmp-tags ".concat(n?n.split(" ").filter(
1Boolean).map(function(e){return"cmp-tags--".concat(e)}).join(" "):""),children:t.map(function(e){var t=e.text,r=e.url,n=e.active;if(t&&r)return(0,a.jsx)("li",{className:"cmp-tags__item ".concat(s?"cmp-tags__item--".concat(s):""),children:(0,a.jsx)(i(),{className:"cmp-tags__link ".concat(n?"cmp-tags__link--active":""),href:r,children:t.replace(/^\w/,function(e){return e.toUpperCase()})})},t)})}):null}},744:function(e,t){"use strict";t.Z=function(e){var t=e.condition,r=e.wrapper,n=e.children;return t?r(n):n}},8994:function(e,t,r){"use strict";var n=r(9499),i=r(6687);t.Z=function(e){return Object.assign.apply(Object,[{}].concat((0,i.Z)(e.split(";").filter(function(e){return 2===e.trim().split(":").length}).map(function(e){var t=e.trim().split(":");return(0,n.Z)({},t[0].replace(/-[a-z]/g,function(e){return e[1].toUpperCase()}).trim(),t[1].trim())}))))}},9437:function(e,t){"use strict";t.Z=function(e){var t=e.src,r=e.width,n=e.quality,i=n&&n>0?n:t.endsWith(".gif")?100:75;return t.startsWith("https://images.ctfassets.net")?"".concat(t,"?w=").concat(r,"&q=").concat(i):"/_next/image?url=".concat(encodeURIComponent(t),"&w=").concat(r,"&q=").concat(i)}},5375:function(e,t,r){"use strict";var n=r(5576),i=r(7294),a=r(5893);t.Z=function(e){var t=e.markdown;return(0,a.jsx)(n.ZP,{options:{wrapper:i.Fragment},children:t})}},2827:function(e,t,r){"use strict";var n=r(7294),i=r(5893);t.Z=function(e){var t,r,a,c,s,o=e.html,l=(0,n.useState)(!1),u=l[0],m=l[1],updateConsentStatus=function(){m("granted"===localStorage.getItem("youtube-consent"))};if((0,n.useEffect)(function(){return updateConsentStatus(),document.addEventListener("consent-status-changed",updateConsentStatus),function(){document.removeEventListener("consent-status-changed",updateConsentStatus)}},[]),u)return(0,i.jsx)("div",{className:"foundry--video__container",children:(0,i.jsx)("div",{className:"foundry--video",dangerouslySetInnerHTML:{__html:o.replaceAll("youtube.com","youtube-nocookie.com")}})});var p=null!==(t=null===(r=/\.com\/embed\/([a-zA-Z\d\-_]*)[?|"]/gm.exec(o))||void 0===r?void 0:r[1])&&void 0!==t?t:null,_=null!==(a=null===(c=/src="([^"]*)"/gm.exec(o))||void 0===c?void 0:null===(s=c[1])||void 0===s?void 0:s.replace("?","&").replace("/embed/","/watch?v="))&&void 0!==a?a:null;return p&&_?(0,i.jsx)("div",{className:"foundry--video__container",children:(0,i.jsxs)("figure",{className:"cmp-youtube-embed__figure",children:[(0,i.jsxs)("a",{href:_,rel:"noreferrer",className:"cmp-youtube-embed__image-link",title:"Watch the video on YouTube",children:[(0,i.jsx)("img",{src:"/images/youtube-thumbnails/".concat(p),alt:"",className:"cmp-youtube-embed__image"}),(0,i.jsxs)("svg",{className:"cmp-youtube-embed__play-icon",height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%",children:[(0,i.jsx)("path",{className:"ytp-large-play-button-bg",d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#f00"}),(0,i.jsx)("path",{d:"M 45,24 27,14 27,34",fill:"#fff"})]})]}),(0,i.jsxs)("figcaption",{className:"cmp-youtube-embed__figcaption",children:[(0,i.jsx)("p",{className:"util-margin-top-none",children:(0,i.jsxs)("em",{children:["YouTube embeds track user data for advertising purposes. You can"," ",(0,i.jsx)("a",{href:_,rel:"noreferrer",className:"cmp-youtube-embed__link",children:"watch the video on YouTube"})," ","if you prefer not to grant consent for YouTube embeds."]})}),(0,i.jsx)("button",{type:"button",className:"cmp-youtube-embed__button cmp-button cmp-button--small","data-content":"Allow YouTube Embeds",onClick:function(){localStorage.setItem("youtube-consent","granted");var e=new CustomEvent("consent-status-changed");document.dispatchEvent(e)},children:"Allow YouTube Embeds"})]})]})}):null}},3862:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return B},default:function(){return _pages_}});
1var n=r(9499),i=r(29),a=r(7794),c=r.n(a),s=r(9008),o=r.n(s),l=r(9332),u=r(814),m=r(6437),p=r(7155);function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var utilities_getFirstTextNodeValue=function getFirstTextNodeValue(e){if("text"===e.nodeType&&e.value)return e.value;if("text"!==e.nodeType){var t,r=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(e,t)}}(e))){r&&(e=r);var n=0,F=function(){};return{s:F,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:F}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}(e.content);try{for(r.s();!(t=r.n()).done;){var n=t.value;if("text"===n.nodeType&&n.value)return n.value;if("text"!==n.nodeType&&n.content&&getFirstTextNodeValue(n))return getFirstTextNodeValue(n)}}catch(e){r.e(e)}finally{r.f()}}return""}
1,_=r(5675),h=r.n(_),g=r(4184),j=r.n(g),f=r(744),b=r(5375),y=r(3490),x=r(9437),v=r(8994),O=r(5893);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var image_wrapper=function(e){var t=e.imageUrl,r=e.caption,i=e.alignment,a=e.altText,c=void 0===a?"":a,s=e.imageHeight,o=e.imageWidth,l=e.details,u=e.contentMaxWidth,m=e.css,p=void 0===m?"":m;if(!t)return null;var _=j()({"cmp-image-wrapper":!0,"cmp-image-wrapper__figure":!!r}),g=j()({"cmp-image-wrapper__image":!0,"cmp-image-wrapper__content-max-width":u});return(0,O.jsx)(f.Z,{condition:"Right"===i,wrapper:function(e){return(0,O.jsx)("div",{className:"cmp-image-wrapper__float-container","data-testid":"float-container",children:e})},children:(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(r?"figure":"div",{className:_,children:[s&&o?(0,O.jsx)(h(),{loader:x.Z,alt:c,src:t,height:s,width:o,className:g,style:(0,v.Z)(p)}):(0,O.jsx)("img",{alt:c,src:t,className:g,style:(0,v.Z)(p)}),r?(0,O.jsx)("figcaption",{className:"cmp-image-wrapper__caption",children:(0,O.jsx)(b.Z,{markdown:r})}):null]}),l?(0,O.jsx)(y.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},l)):null]})})};function image_wrapper_inline_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var image_wrapper_inline=function(e){var t=e.imageUrl,r=e.altText,i=void 0===r?"":r,a=e.imageHeight,c=e.imageWidth,s=e.css,o=void 0===s?"":s,l=e.details;return t?(0,O.jsxs)(O.Fragment,{children:[a&&c?(0,O.jsx)(h(),{loader:x.Z,alt:i,src:t,height:a,width:c,style:(0,v.Z)(o)}):(0,O.jsx)("img",{alt:i,src:t,style:(0,v.Z)(o)}),l?(0,O.jsx)(y.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?image_wrapper_inline_ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):image_wrapper_inline_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},l)):null]}):null},class_wrapper=function(e){var t,r=e.content,i=e.classList,a={renderNode:(t={},(0,n.Z)(t,m.BLOCKS.PARAGRAPH,function(e,t){return(0,O.jsx)("p",{className:"cmp-class-wrapper__item",children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_1,function(e,t){return(0,O.jsx)("h1",{className:"cmp-class-wrapper__item",children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_2,function(e,t){return(0,O.jsx)("h2",{className:"cmp-class-wrapper__item",children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_3,function(e,t){return(0,O.jsx)("h3",{className:"cmp-class-wrapper__item",children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_4,function(e,t){return(0,O.jsx)("h4",{className:"cmp-class-wrapper__item",children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_5,function(e,t){return(0,O.jsx)("h5",{className:"cmp-class-wrapper__item",children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_6,function(e,t){return(0,O.jsx)("h6",{className:"cmp-class-wrapper__item",children:t})}),(0,n.Z)(t,m.BLOCKS.UL_LIST,function(e,t){return(0,O.jsx)("ul",{className:"cmp-class-wrapper__item",children:t})}),(0,n.Z)(t,m.BLOCKS.OL_LIST,function(e,t){return(0,O.jsx)("ol",{className:"cmp-class-wrapper__item",children:t})}),(0,n.Z)(t,m.BLOCKS.LIST_ITEM,function(e,t){return(0,O.jsx)("li",{className:"cmp-class-wrapper__item",children:t})}),(0,n.Z)(t,m.BLOCKS.QUOTE,function(e,t){return(0,O.jsx)("blockquote",{className:"cmp-class-wrapper__item",children:t})}),t)};return(0,O.jsx)("div",{"data-testid":"classWrapper",className:"cmp-class-wrapper "+i,children:(0,O.jsx)(p.Z,{document:r,options:a})})},interview_question=function(e){var t,r=e.content,i={renderNode:(t={},(0,n.Z)(t,m.BLOCKS.PARAGRAPH,function(e,t){return(0,O.jsx)("p",{className:"cmp-interview-question__item",children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_1,function(e,t){return(0,O.jsx)("h1",{className:"cmp-interview-question__item",children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_2,function(e,t){return(0,O.jsx)("h2",{className:"cmp-interview-question__item",children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_3,function(e,t){return(0,O.jsx)("h3",{className:"cmp-interview-question__item",children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_4,function(e,t){return(0,O.jsx)("h4",{className:"cmp-interview-question__item",children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_5,function(e,t){return(0,O.jsx)("h5",{className:"cmp-interview-question__item",children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_6,function(e,t){return(0,O.jsx)("h6",{className:"cmp-interview-question__item",children:t})}),(0,n.Z)(t,m.BLOCKS.UL_LIST,function(e,t){return(0,O.jsx)("ul",{className:"cmp-interview-question__item",children:t})}),(0,n.Z)(t,m.BLOCKS.OL_LIST,function(e,t){return(0,O.jsx)("ol",{className:"cmp-interview-question__item",children:t})}),(0,n.Z)(t,m.BLOCKS.LIST_ITEM,function(e,t){return(0,O.jsx)("li",{className:"cmp-interview-question__item",children:t})}),(0,n.Z)(t,m.BLOCKS.QUOTE,function(e,t){return(0,O.jsx)("blockquote",{className:"cmp-interview-question__item",children:t})}),t)};return(0,O.jsx)("div",{"data-testid":"interviewQuestion",className:"cmp-interview-question cmp-text-4 util-margin-top-1xl util-margin-bottom-lg",children:(0,O.jsx)(p.Z,{document:r,options:i})})},w=r(8783),code_block=function(e){var t,r=e.code,n=w.Z.highlightAuto(r),i=n.value,a=null!==(t=n.language)&&void 0!==t?t:"";return(0,O.jsx)("pre",{children:(0,O.jsx)("code",{"data-testid":"codeblock",className:"hljs ".concat(a),dangerouslySetInnerHTML:{__html:i}})})},block_quote=function(e){var t=e.text,r=e.attribution,n=e.attributionDetail
1s,i=e.attributionLink,a=e.backgroundPattern;return(0,O.jsxs)("blockquote",{className:"cmp-blockquote ".concat(void 0!==a&&a?"cmp-blockquote--pattern":""),children:[(0,O.jsx)("div",{className:"cmp-blockquote__quote",children:(0,O.jsx)(p.Z,{document:t})}),r?(0,O.jsxs)("p",{className:"cmp-blockquote__attribution","data-testid":"quote-attribution",children:["â"," ",i?(0,O.jsx)("a",{href:i,children:r}):r,n&&", ".concat(n)]}):null]})},N=r(7294),callout=function(e){var t=e.calloutTitle,r=e.calloutDetails,n=e.attribution,i=e.attributionLink,a=e.headingLevel,c=e.largeText,s=e.backgroundPattern;return(0,O.jsx)("div",{className:"cmp-callout ".concat(s?"cmp-callout--pattern":""),"data-testid":"callout",children:(0,O.jsxs)("div",{className:"cmp-callout__container",children:[t&&N.createElement("h".concat(a),{className:"cmp-callout__title"},t),r&&(0,O.jsx)("p",{className:"cmp-callout__details ".concat(c?"cmp-callout__details--large":""),"data-testid":"callout-details",children:r}),n&&(0,O.jsx)("p",{className:"cmp-callout__attribution","data-testid":"callout-attribution",children:i?(0,O.jsx)("a",{href:i,children:n}):n})]})})},embedded_link=function(e){var t,r=e.inline,n=e.href,i=e.usesTheLink,a=e.ariaLabel,c=e.displayValue,s=e.displayImage,o=e.displayImageHeight,l=e.displayImageWidth;return e.isActive?(t=(0,O.jsx)("a",{href:n,className:i?"the-link":"util-default-link","aria-label":a,children:s?(0,O.jsx)(h(),{loader:x.Z,src:s,height:o,width:l,alt:c}):c}),r?(0,O.jsx)(O.Fragment,{children:t}):(0,O.jsx)("p",{children:t})):null},S=r(6759),D=r(1664),Z=r.n(D),promo=function(e){var t=e.icon,r=e.heading,i=e.subheading,a=e.date,c=e.location,s=e.body,o=e.link,l=e.classModifier,u=e.usesActiveTopics,_={renderNode:(0,n.Z)({},m.BLOCKS.PARAGRAPH,function(e,t){return(0,O.jsx)("p",{className:"cmp-promo__body",children:t})})};return(0,O.jsxs)("section",{className:"cmp-promo obj-promos__block ".concat(null!=l?l:""),children:[null!=t&&t.imageUrl?(0,O.jsxs)("div",{className:"util-display-flex util-align-end",children:[(0,O.jsx)(h(),{className:"cmp-promo__icon","aria-hidden":!0,src:t.imageUrl,width:t.imageWidth,height:t.imageHeight,alt:""}),(0,O.jsx)("h2",{className:"cmp-promo__heading",children:r})]}):(0,O.jsx)("h2",{className:"cmp-promo__heading",children:r}),i&&(0,O.jsx)("p",{className:"cmp-promo__sub-heading",children:i}),a&&(0,O.jsx)("p",{className:"cmp-promo__details",children:(0,O.jsx)(S.Z,{date:a})}),a&&c?(0,O.jsxs)(O.Fragment,{children:[" ",(0,O.jsx)("span",{className:"cmp-promo__pipe","aria-hidden":"true",children:"|"})," "]}):null,c&&(0,O.jsx)("p",{className:"cmp-promo__details",children:c}),s&&(0,O.jsx)(p.Z,{document:s,options:_}),u?o&&(0,O.jsx)(Z(),{className:"cmp-button","data-content":o.text,href:o.url,"aria-label":null==o?void 0:o.ariaLabel,children:o.text}):o&&(0,O.jsx)("p",{children:(0,O.jsx)(Z(),{className:o.usesTheLink?"the-link":"cmp-btn cmp-btn--border","aria-label":o.ariaLabel,href:o.url,"data-content":o.text,children:o.text})})]})},P=r(2827),embedded_media=function(e){var t=e.type,r=e.html,n="https://production-assets.codepen.io/assets/embed/ei.js",i="https://platform.twitter.com/widgets.js";return((0,N.useEffect)(function(){var e=Array.from(document.querySelectorAll("body > script")),addScript=function(e){var t=document.createElement("script");t.src=e,t.async=!0,document.body.appendChild(t)};"CodePen"!==t||e.find(function(e){return e.getAttribute("src")===n})||addScript(n),"Tweet"!==t||e.find(function(e){return e.getAttribute("src")===i})||addScript(i)},[t]),"Video"===t)?(0,O.jsx)(P.Z,{html:r}):(0,O.jsx)("div",{dangerouslySetInnerHTML:{__html:r}})};function table_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function table_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?table_ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):table_ownKeys(Object(r)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var table=function(e){var t,r=e.table,i=e.caption,a=e.useHtml,c=e.tableHtml,s="cmp-table-overflow",o={renderNode:(0,n.Z)({},m.BLOCKS.PARAGRAPH,function(e,t){return t})},l={renderNode:(t={},(0,n.Z)(t,m.BLOCKS.TABLE,function(e,t){var r,n=Array.isArray(t)&&(null==t?void 0:null===(r=t[0])||void 0===r?void 0:r.type)==="thead";return(0,O.jsxs)("table",{children:[i?(0,O.jsx)("caption",{children:i}):null,n?(0,O.jsxs)(O.Fragment,{children:[null==t?void 0:t[0],(0,O.jsx)("tbody",{children:(0,O.jsx)(p.Z,{document:{content:e.content.slice(1),data:e.data,nodeType:m.BLOCKS.DOCUMENT},options:o})})]}):(0,O.jsx)("tbody",{children:(0,O.jsx)(p.Z,{document:table_objectSpread(table_objectSpread({},e),{},{nodeType:m.BLOCKS.DOCUMENT}),options:o})})]})}),(0,n.Z)(t,m.BLOCKS.TABLE_ROW,function(e,t){var r;if(Array.isArray(t)&&(null==t?void 0:null===(r=t[0])||void 0===r?void 0:r.type)==="th")return(0,O.jsx)("thead",{children:(0,O.jsx)("tr",{children:(0,O.jsx)(p.Z,{document:table_objectSpread(table_objectSpread({},e),{},{nodeType:m.BLOCKS.DOCUMENT}),options:o})})})}),t)};return a&&c?(0,O.jsx)("div",{className:s,dangerouslySetInnerHTML:{__html:c},"data-testid":"html-table"}):(0,O.jsx)("div",{className:s,"data-testid":"rich-text-table",children:r?(0,O.jsx)(p.Z,{document:r,options:l}):null})};function image_grid_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var image_grid=function(e){var t=e.caption,r=e.images,i=e.stripedBorder;return r.length?(0,O.jsx)("div",{className:"cmp-image-grid__container ".concat(void 0!==i&&i?"cmp-image-grid__container--striped":""),children:(0,O.jsxs)("div",{className:"cmp-image-grid",children:[t?(0,O.jsx)("div",{className:"cmp-image-grid__caption",children:t}):null,(0,O.jsx)("div",{className:"cmp-image-grid__images",children:r.map(function(e,t){return(0,O.jsx)(image_wrapper,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?image_grid_ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):image_grid_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e),t)})})]})}):null},aside=function(e){var t=e.heading,r=e.headingLevel,n=e.body,i=e.attribution,a=e.attributionLink,c=e.largeText,s=e.backgroundPattern,o=void 0!==s&&s,l=e.secondaryAside,u=void 0!==l&&l;return(0,O.jsx)("aside",{className:"cmp-aside ".concat(void 0!==c&&c?"cmp-aside--large":""," ").concat(o?"cmp-aside--pattern":""," ").concat(u?"cmp-aside--secondary":""),children:(0,O.jsxs)("div",{className:"cmp-aside__container ".concat(u?"cmp-aside__container-secondary":""),children:[t&&N.createElement("h".concat(r),{className:u?"cmp-aside__title-secondary":"cmp-aside__title"},(0,O.jsx)(b.Z,{markdown:t})),(0,O.jsx)(p.Z,{document:n}),i&&(0,O.jsx)("p",{className:"cmp-aside__attribution ".concat(u?"cmp-aside__attribution-secondary":""),"data-testid":"aside-attribution",children:a?(0,O.jsx)("a",{href:a,children:i}):i})]})})},definition_list=function(e){var t=e.definitions;return(0,O.jsx)("dl",{"data-testid":"definition-list",children:t.map(function(e,t){return(0,O.jsxs)(N.Fragment,{children:[(0,O.jsx)("dt",{children:(0,O.jsx)(b.Z,{markdown:e.term})}),(0,O.jsx)("dd",{children:(0,O.jsx)(p.Z,{document:e.definition})})]},t)})})},resource_highlight=function(e){var t=e.description,r=e.header,i=e.image,a=e.link,c={renderNode:(0,n.Z)({},m.BLOCKS.PARAGRAPH,function(e,t){return(0,O.jsx)("p",{className:"cmp-post-summary__description cmp-post-summary__description--listing",children:t})})};return(0,O.jsx)("ul",{className:"cmp-listing__entries",children:(0,O.jsx)("li",{className:"cmp-listing__item",children:(0,O.jsxs)("article",{className:"cmp-post-summary cmp-post-summary--listing",children:[(0,O.jsx)(Z(),{className:"cmp-post-summary__image-container",href:a,"data-src":i.imageUrl,children:(0,O.jsx)("img",{className:"cmp-post-summary__image",alt:i.altText?i.altText:"",src:i.imageUrl})}),(0,O.jsxs)("div",{className:"cmp-post-summary__details",children:[(0,O.jsx)("header",{className:"cmp-post-summary__header",children:(0,O.jsx)("h2",{className:"cmp-post-summary__title cmp-post-summary__title--listing",children:(0,O.jsx)(Z(),{className:"cmp-post-summary__link",href:a,children:r})})}),(0,O.jsx)("div",{className:"cmp-post-summary__main",children:(0,O.jsx)(p.Z,{document:t,o
1ptions:c})})]})]})})})};function resource_highlight_block_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var resource_highlight_block=function(e){var t=e.resourceHighlights;return(0,O.jsxs)("section",{className:"cmp-listing__container","data-testid":"section",children:[(0,O.jsx)("div",{className:"cmp-listing__details"}),t.map(function(e,t){return(0,O.jsx)(resource_highlight,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?resource_highlight_block_ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):resource_highlight_block_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e),t)})]})},raw_html=function(e){var t,r=e.htmlDocument,n=e.placement,i=void 0===n?"block":n;return(0,N.createElement)("block"===i?"div":"span",{className:"cmp-raw-html",dangerouslySetInnerHTML:{__html:null==r?void 0:null===(t=r.content)||void 0===t?void 0:t.map(function(e){var t,r;return null==e?void 0:null===(t=e.content)||void 0===t?void 0:null===(r=t[0])||void 0===r?void 0:r.value}).join("")}})},k=r(8281),L=r(5186);function render_options_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function render_options_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?render_options_ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):render_options_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function getHeadingID(e){return utilities_getFirstTextNodeValue(e).trim().toLowerCase().replaceAll(" ","-")}var render_options=function(e){var t;return{renderNode:(t={},(0,n.Z)(t,m.BLOCKS.EMBEDDED_ENTRY,function(t){var r=null==e?void 0:e[t.data.target.sys.id];switch(null==r?void 0:r.typeName){case"Image":return(0,O.jsx)(image_wrapper,render_options_objectSpread({},r));case"AnimatedImage":return(0,O.jsx)(L.Z,render_options_objectSpread({},r));case"Details":return(0,O.jsx)(y.Z,render_options_objectSpread({},r));case"Promo":return(0,O.jsx)(promo,render_options_objectSpread({},r));case"EmailSignupFormCta":return(0,O.jsx)(k.Z,render_options_objectSpread({},r));case"ClassWrapper":return(0,O.jsx)(class_wrapper,render_options_objectSpread({},r));case"InterviewQuestion":return(0,O.jsx)(interview_question,render_options_objectSpread({},r));case"CodeBlock":return(0,O.jsx)(code_block,render_options_objectSpread({},r));case"EmbeddedLink":return(0,O.jsx)(embedded_link,render_options_objectSpread(render_options_objectSpread({},r),{},{inline:!1}));case"EmbeddedMedia":return(0,O.jsx)(embedded_media,render_options_objectSpread({},r));case"Table":return(0,O.jsx)(table,render_options_objectSpread({},r));case"ImageGrid":return(0,O.jsx)(image_grid,render_options_objectSpread({},r));case"Aside":return(0,O.jsx)(aside,render_options_objectSpread({},r));case"DefinitionList":return(0,O.jsx)(definition_list,render_options_objectSpread({},r));case"ResourceHighlightBlock":return(0,O.jsx)(resource_highlight_block,render_options_objectSpread({},r));case"BlockQuote":return(0,O.jsx)(block_quote,render_options_objectSpread({},r));case"Callout":return(0,O.jsx)(callout,render_options_objectSpread({},r));case"RawHtml":return(0,O.jsx)(raw_html,render_options_objectSpread(render_options_objectSpread({},r),{},{placement:"block"}));default:return(0,O.jsx)(O.Fragment,{})}}),(0,n.Z)(t,m.INLINES.EMBEDDED_ENTRY,function(t){var r=null==e?void 0:e[t.data.target.sys.id];switch(null==r?void 0:r.typeName){case"Image":return(0,O.jsx)(image_wrapper_inline,render_options_objectSpread({},r));case"EmbeddedLink":return(0,O.jsx)(embedded_link,render_options_objectSpread(render_options_objectSpread({},r),{},{inline:!0}));case"RawHtml":return(0,O.jsx)(raw_html,render_options_objectSpread(render_options_objectSpread({},r),{},{placement:"inline"}));default:return(0,O.jsx)(O.Fragment,{})}}),(0,n.Z)(t,m.BLOCKS.HEADING_1,function(e,t){return(0,O.jsx)("h1",{id:getHeadingID(e),children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_2,function(e,t){return(0,O.jsx)("h2",{id:getHeadingID(e),children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_3,function(e,t){return(0,O.jsx)("h3",{id:getHeadingID(e),children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_4,function(e,t){return(0,O.jsx)("h4",{id:getHeadingID(e),children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_5,function(e,t){return(0,O.jsx)("h5",{id:getHeadingID(e),children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_6,function(e,t){return(0,O.jsx)("h6",{id:getHeadingID(e),children:t})}),t)}},content_theme=function(e){var t,r=e.title,n=e.description,i=e.icon,a=e.link;return(0,O.jsx)("aside",{className:"cmp-theme-excerpt",children:(0,O.jsxs)(Z(),{href:a.url,className:"cmp-theme-excerpt__link",children:[(0,O.jsx)("div",{className:"cmp-theme-excerpt__icon",children:(0,O.jsx)("img",{src:i.imageUrl,alt:null!==(t=i.altText)&&void 0!==t?t:"",className:"util-margin-all-none"})}),(0,O.jsxs)("div",{className:"cmp-theme-excerpt__description-container",children:[(0,O.jsx)("h4",{className:"cmp-theme-excerpt__title",children:r}),(0,O.jsx)("p",{className:"cmp-theme-excerpt__description",children:(0,O.jsx)(b.Z,{markdown:n})})]})]})})},series_list=function(e){var t=e.seriesList;return null==t||t.length<=1?null:(0,O.jsxs)("aside",{className:"cmp-series-list",children:[(0,O.jsx)("h2",{children:"This Article Appears In"}),(0,O.jsx)("ul",{children:t.map(function(e){return null==e?null:(0,O.jsx)("li",{children:(0,O.jsx)("a",{href:e.seriesLink,children:e.buttonText})},e.series)})})]})};
1function article_content_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var article_content=function(e){var t=e.summary,r=e.content,i=e.embeddedEntries,a=e.contentTheme,c=e.ctaForm,s=e.seriesList,o={renderNode:(0,n.Z)({},m.BLOCKS.PARAGRAPH,function(e,t){return(0,O.jsx)("p",{className:"cmp-article-content__summary","data-testid":"article-summary",children:t})})},l=render_options(i);return(0,O.jsxs)("article",{className:"cmp-article-content",children:[(0,O.jsx)(p.Z,{document:t,options:o}),a&&(0,O.jsx)(content_theme,{title:a.title,description:a.description,icon:a.icon,link:a.link}),(0,O.jsx)(p.Z,{document:r,options:l}),(0,O.jsx)(series_list,{seriesList:s}),c&&(0,O.jsx)(k.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?article_content_ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):article_content_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},c))]})},C=r(3771),related_articles=function(e){var t=e.heading,r=e.relatedArticles;if(!(null!=r&&r.length))return null;var i={renderNode:(0,n.Z)({},m.BLOCKS.PARAGRAPH,function(e,t){return(0,O.jsx)("p",{className:"cmp-related-articles__summary","data-testid":"article-description",children:t})})};return(0,O.jsxs)("div",{className:"cmp-related-content__articles cmp-related-articles",children:[(0,O.jsx)("h3",{className:"cmp-related-articles__heading",children:t}),(0,O.jsx)("div",{className:"cmp-related-articles__grid",children:null==r?void 0:r.map(function(e){var t,r="/foundry/".concat(e.slug);return(0,O.jsxs)("article",{children:[null!==(t=e.featuredImage)&&void 0!==t&&t.imageUrl?(0,O.jsxs)("div",{className:"cmp-related-articles__image-wrapper",children:[(0,O.jsx)(C.Z,{featuredImage:e.featuredImage,imageWidth:656,imageClass:"cmp-related-articles__image"}),(0,O.jsx)(Z(),{href:r,tabIndex:-1,"aria-hidden":"true",className:"cmp-related-articles__image-link"})]}):(0,O.jsx)("div",{className:"cmp-related-articles__image-wrapper"}),(0,O.jsx)("h4",{className:"cmp-related-articles__article-title",children:e.title}),(0,O.jsx)(p.Z,{document:e.summary,options:i}),(0,O.jsxs)(Z(),{href:r,className:"cmp-related-articles__link the-link",children:["Read More",(0,O.jsxs)("span",{className:"util-visually-hidden",children:["(",e.title,")"]})]})]},e.id)})})]})},E=r(5100),T={renderNode:(0,n.Z)({},m.BLOCKS.PARAGRAPH,function(e,t){return(0,O.jsx)("p",{className:"cmp-topic-promo__body",children:t})})};function PromoContent(e){var t=e.subheading,r=e.body,n=e.children;return(0,O.jsxs)("div",{className:"cmp-topic-promo__content",children:[t&&(0,O.jsx)("h4",{className:"cmp-topic-promo__subheading",children:t}),r&&(0,O.jsx)(p.Z,{document:r,options:T}),n]})}var topic_promo=function(e){var t=e.heading,r=e.body,n=e.secondaryBody,i=e.subheading,a=e.secondarySubheading,c=e.link,s=e.secondaryLink;return(0,O.jsxs)("div",{className:"cmp-topic-promo",children:[(0,O.jsx)("h3",{className:"cmp-topic-promo__heading",children:t}),(0,O.jsx)(PromoContent,{subheading:i,body:r,children:c&&(0,O.jsx)("p",{children:(0,O.jsx)(Z(),{className:"cmp-button","aria-label":c.ariaLabel,href:c.url,"data-content":c.text,children:c.text})})}),(0,O.jsx)(PromoContent,{subheading:a,body:n,children:s&&(0,O.jsx)("p",{children:(0,O.jsx)(Z(),{className:"cmp-button","aria-label":s.ariaLabel,href:s.url,"data-content":s.text,children:s.text})})})]})},A=r(1640);function related_content_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var related_content=function(e){var t=e.relatedArticles,r=e.promo,i=e.tags;return(0,O.jsxs)("section",{"aria-labelledby":"article-related-content",className:"cmp-related-content",children:[(0,O.jsx)("h2",{id:"article-related-content",className:"util-visually-hidden",children:"Related Content"}),null!=i&&i.length?(0,O.jsx)("div",{className:"cmp-related-content__tags",children:(0,O.jsxs)("div",{children:[(0,O.jsx)("h3",{className:"cmp-related-content__eyebrow-heading",children:"See Everything In"}),(0,O.jsx)(E.Z,{tags:i,tagListClassModifier:"list"})]})}):null,(0,O.jsxs)("div",{className:"cmp-related-content__signup",children:[(0,O.jsx)("h2",{id:"signupFormLabel",className:"cmp-related-content__eyebrow-heading",children:"Get Email Updates"}),(0,O.jsx)(A.Z,{ariaLabeledBy:"signupFormLabel",ctaText:"Sign Up"}),(0,O.jsx)("p",{className:"cmp-related-content__signup-description",children:"Sign up to receive Sparkbox Newsletters in your inbox, which include a monthly recap of What's New on The Foundry."})]}),r&&(0,O.jsx)(topic_promo,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?related_content_ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):related_content_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},r)),(0,O.jsx)(related_articles,{heading:"Related Articles",relatedArticles:t})]})},foundry_article=function(e){var t,r=e.title,n=(e.slug,e.summary),i=e.publishedDate,a=e.authors,c=e.content,s=e.embeddedEntries,o=e.featuredImage,l=e.contentTheme,m=e.ctaForm,p=e.articleType,_=e.relatedArticles,h=e.tags,g=e.promo,j=e.contactCta,f=e.series,b=e.seriesList,y=e.topic;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(u.Z,{title:r,mailToURL:null!==(t=null==j?void 0:j.linkUrl)&&void 0!==t?t:"",publishedDate:i,authors:a,featuredImage:o,articleType:p,series:f,articleTopic:y}),(0,O.jsx)(article_content,{summary:n,content:c,embeddedEntries:s,contentTheme:l,ctaForm:m,seriesList:b}),(0,O.jsx)(related_content,{relatedArticles:_,tags:h,promo:g})]})},related_articles_related_articles=function(e){var t=e.heading,r=e.relatedArticles;if(!(null!=r&&r.length))return null;var i={renderNode:(0,n.Z)({},m.BLOCKS.PARAGRAPH,function(e,t){return(0,O.jsx)("p",{className:"legacy-foundry-related-articles__details","data-testid":"article-description",children:t})})};return(0,O.jsxs)("div",{className:"legacy-foundry-related-articles",children:[(0,O.jsx)("h2",{className:"legacy-foundry-related-articles__heading",children:t}),(0,O.jsx)("ul",{className:"legacy-foundry-related-articles__list",children:null==r?void 0:r.map(function(e){var t,r,n="/foundry/".concat(e.slug);return(0,O.jsxs)("li",{className:"legacy-foundry-related-articles__list-item",children:[(0,O.jsx)("h3",{className:"legacy-foundry-related-articles__article-title",children:(0,O.jsx)(Z(),{href:n,children:(0,O.jsx)("span",{children:e.title})})}),(0,O.jsx)("p",{className:"legacy-foundry-related-articles__details","data-testid":"article-authors",children:null!==(t=null===(r=e.authors)||void 0===r?void 0:r.map(function(e,t){return(0,O.jsxs)(N.Fragment,{children:[t>0?", ":"",(0,O.jsx)(Z(),{href:"/foundry/author/".concat(e.slugFragment),children:e.name})]},e.slugFragment)}))&&void 0!==t?t:null}),(0,O.jsx)(p.Z,{document:e.summary,options:i})]},e.id)})})]})};function image_wrapper_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var image_wrapper_image_wrapper=function(e){var t=e.imageUrl,r=e.caption,i=e.alignment,a=e.altText,c=void 0===a?"":a,s=e.imageHeight,o=e.imageWidth,l=e.details,u=e.css,m=void 0===u?"":u;if(!t)return null;var p=j()({"legacy-image":!0,"legacy-image-captioned":r&&""!==r,"legacy-image-right":"Right"===i});return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(f.Z,{condition:"Center"===i,wrapper:function(e){return(0,O.jsx)("div",{className:"legacy-image-center","data-testid":"image-wrapper",children:e})},children:(0,O.jsxs)("figure",{className:p,children:[s&&o?(0,O.jsx)(h(),{loader:x.Z,alt:c,src:t,height:s,width:o,style:(0,v.Z)(m)}):(0,O.jsx)("img",{alt:c,src:t,style:(0,v.Z)(m)}),r&&(0,O.jsx)("figcaption",{children:(0,O.jsx)(b.Z,{markdown:r})})]})}),l?(0,O.jsx)(y.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?image_wrapper_ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):image_wrapper_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},l)):null]})},blockquote_block_quote=function(e){var t=e.text,r=e.attribution,n=e.attributionDetails,i=e.attributionLink;return(0,O.jsxs)("blockquote",{children:[(0,O.jsx)(p.Z,{document:t}),r?(0,O.jsxs)("p",{style:{marginTop:"1rem",fontSize:"85%",fontFamily:"'Whitney SSm A', 'Whitney SSm B', 'Helvetica', 'Arial', sans-serif",fontStyle:"italic",fontWeight:400},"data-testid":"quote-attribution",children:["â ",i?(0,O.jsx)("a",{href:i,children:r}):r,n&&", ".concat(n)]}):null]})};function image_grid_image_grid_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var image_grid_image_grid=function(e){var t=e.images;return t?(0,O.jsx)("div",{className:"cmp-legacy-project-image cmp-legacy-project-image--half-width",children:t.map(function(e,t){return(0,O.jsx)(image_wrapper_image_wrapper,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?image_grid_image_grid_ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):image_grid_image_grid_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e),t)})}):null},aside_aside=function(e){var t=e.body,r=e.alignment,n=void 0===r?"Default":r,i=e.heading,a="Default"===n?"":"legacy-foundry-aside--".concat(n.toLowerCase());return(0,O.jsxs)("aside",{className:"legacy-foundry-aside ".concat(a),children:[i?(0,O.jsx)("h4",{children:(0,O.jsx)(b.Z,{markdown:i})}):null,(0,O.jsx)(p.Z,{document:t})]})};function animated_image_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var animated_image_animated_image=function(e){var t=e.animatedImageUrl,r=e.stillImageUrl,i=e.stillImageHeight,a=e.stillImageWidth,c=e.caption,s=e.alignment,o=e.altText,l=void 0===o?"":o,u=e.details,m=e.css,p=void 0===m?"":m,_=(0,N.useState)(!1),g=_[0],w=_[1];if((0,N.useEffect)(function(){w(function(){return matchMedia("(prefers-reduced-motion: no-preference)").matches})},[w]),!t||!r)return null;var S=j()({"legacy-image":!0,"legacy-image-animated":!0,"legacy-image-animated--centered":"Center"===s,"legacy-image-captioned":c&&""!==c,"legacy-image-right":"Right"===s});return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(f.Z,{condition:"Center"===s,wrapper:function(e){return(0,O.jsx)("div",{className:"legacy-image-center","data-testid":"image-wrapper",children:e})},children:(0,O.jsxs)("figure",{className:S,children:[(0,O.jsx)("div",{children:(0,O.jsx)("button",{type:"button",className:"cmp-button cmp-button--small util-margin-bottom-md","data-content":"Toggle Animation",onClick:function(){return w(!g)},"aria-pressed":g,children:"Toggle Animation"})}),(0,O.jsxs)("div",{className:"legacy-image-animated__picture-wrapper",children:[(0,O.jsx)("button",{type:"button",className:"legacy-image-animated__overlay-button",tabIndex:-1,"aria-hidden":"true",onClick:function(){return w(!g)}}),(0,O.jsxs)("picture",{children:[g?(0,O.jsx)("source",{srcSet:t}):null,i&&a?(0,O.jsx)(h(),{loader:x.Z,alt:l,src:r,height:i,width:a,style:(0,v.Z)(p)}):(0,O.jsx)("img",{alt:l,src:r,style:(0,v.Z)(p)})]})]}),c&&(0,O.jsx)("figcaption",{className:"legacy-image-animated__caption",children:(0,O.jsx)(b.Z,{markdown:c})})]})}),u?(0,O.jsx)(y.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?animated_image_ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):animated_image_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},u)):null]})};function article_content_render_options_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function article_content_render_options_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?article_content_render_options_ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):article_content_render_options_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function render_options_getHeadingID(e){return utilities_getFirstTextNodeValue(e).trim().toLowerCase().replaceAll(" ","-")}var article_content_render_options=function(e){var t;return{renderNode:(t={},(0,n.Z)(t,m.BLOCKS.EMBEDDED_ENTRY,function(t){var r=null==e?void 0:e[t.data.target.sys.id];switch(null==r?void 0:r.typeName){case"Image":return(0,O.jsx)(image_wrapper_image_wrapper,article_content_render_options_objectSpread({},r));
1case"AnimatedImage":return(0,O.jsx)(animated_image_animated_image,article_content_render_options_objectSpread({},r));case"Details":return(0,O.jsx)(y.Z,article_content_render_options_objectSpread({},r));case"Promo":return(0,O.jsx)(promo,article_content_render_options_objectSpread({},r));case"EmailSignupFormCta":return(0,O.jsx)(k.Z,article_content_render_options_objectSpread({},r));case"ClassWrapper":return(0,O.jsx)(class_wrapper,article_content_render_options_objectSpread({},r));case"InterviewQuestion":return(0,O.jsx)(interview_question,article_content_render_options_objectSpread({},r));case"CodeBlock":return(0,O.jsx)(code_block,article_content_render_options_objectSpread({},r));case"EmbeddedLink":return(0,O.jsx)(embedded_link,article_content_render_options_objectSpread(article_content_render_options_objectSpread({},r),{},{inline:!1}));case"EmbeddedMedia":return(0,O.jsx)(embedded_media,article_content_render_options_objectSpread({},r));case"Table":return(0,O.jsx)(table,article_content_render_options_objectSpread({},r));case"ImageGrid":return(0,O.jsx)(image_grid_image_grid,article_content_render_options_objectSpread({},r));case"Aside":return(0,O.jsx)(aside_aside,article_content_render_options_objectSpread({},r));case"DefinitionList":return(0,O.jsx)(definition_list,article_content_render_options_objectSpread({},r));case"ResourceHighlightBlock":return(0,O.jsx)(resource_highlight_block,article_content_render_options_objectSpread({},r));case"BlockQuote":return(0,O.jsx)(blockquote_block_quote,article_content_render_options_objectSpread({},r));case"RawHtml":return(0,O.jsx)(raw_html,article_content_render_options_objectSpread(article_content_render_options_objectSpread({},r),{},{placement:"block"}));default:return(0,O.jsx)(O.Fragment,{})}}),(0,n.Z)(t,m.INLINES.EMBEDDED_ENTRY,function(t){var r=null==e?void 0:e[t.data.target.sys.id];switch(null==r?void 0:r.typeName){case"Image":return(0,O.jsx)(image_wrapper_inline,article_content_render_options_objectSpread({},r));case"EmbeddedLink":return(0,O.jsx)(embedded_link,article_content_render_options_objectSpread(article_content_render_options_objectSpread({},r),{},{inline:!0}));case"RawHtml":return(0,O.jsx)(raw_html,article_content_render_options_objectSpread(article_content_render_options_objectSpread({},r),{},{placement:"inline"}));default:return(0,O.jsx)(O.Fragment,{})}}),(0,n.Z)(t,m.BLOCKS.HEADING_1,function(e,t){return(0,O.jsx)("h1",{id:render_options_getHeadingID(e),children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_2,function(e,t){return(0,O.jsx)("h2",{id:render_options_getHeadingID(e),children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_3,function(e,t){return(0,O.jsx)("h3",{id:render_options_getHeadingID(e),children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_4,function(e,t){return(0,O.jsx)("h4",{id:render_options_getHeadingID(e),children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_5,function(e,t){return(0,O.jsx)("h5",{id:render_options_getHeadingID(e),children:t})}),(0,n.Z)(t,m.BLOCKS.HEADING_6,function(e,t){return(0,O.jsx)("h6",{id:render_options_getHeadingID(e),children:t})}),t)}};function article_content_article_content_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var article_content_article_content=function(e){var t=e.content,r=e.embeddedEntries,i=e.relatedArticles,a=e.contentTheme,c=e.tags,s=(e.promo,e.ctaForm),o=article_content_render_options(r);return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)("article",{className:"obj-legacy-foundry-layout legacy-foundry-article--entry",children:[(0,O.jsxs)("div",{className:"obj-legacy-foundry-layout__article legacy-foundry-article--content js-legacy-foundry-article--content",children:[a&&(0,O.jsx)(content_theme,{title:a.title,description:a.description,icon:a.icon,link:a.link}),(0,O.jsx)(p.Z,{document:t,options:o}),s&&(0,O.jsx)(k.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?article_content_article_content_ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):article_c
1ontent_article_content_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},s))]}),(0,O.jsx)("div",{className:"obj-legacy-foundry-layout__aside",children:(0,O.jsxs)("section",{className:"legacy-foundry-sidebar",children:[(0,O.jsx)("h2",{className:"util-visually-hidden",children:"Related Content"}),(0,O.jsxs)("div",{className:"legacy-foundry-sidebar--container",children:[(0,O.jsxs)("div",{className:"legacy-foundry-sidebar--list legacy-foundry-sidebar--list__footer",children:[(0,O.jsx)("h2",{id:"sidebarNewsletterFormLabel",className:"legacy-foundry-sidebar--heading legacy-foundry-sidebar--heading__block",children:"Get Email Updates"}),(0,O.jsx)(A.Z,{ariaLabeledBy:"sidebarNewsletterFormLabel",formClasses:"cmp-email-signup--sidebar",ctaText:"Sign Up"})]}),null!=c&&c.length?(0,O.jsxs)("div",{className:"cmp-tags__sidebar",children:[(0,O.jsx)("h3",{className:"cmp-tags__sidebar-heading",children:"See Everything In"}),(0,O.jsx)(E.Z,{tags:c,tagListClassModifier:"list"})]}):null]})]})})]}),(0,O.jsx)(related_articles_related_articles,{heading:"More Like This",relatedArticles:i})]})},I=r(3162),article_detail_header_article_detail_header=function(e){var t=e.title,r=e.summary,i=e.publishedDate,a=e.authors,c=e.featuredImage,s={renderNode:(0,n.Z)({},m.BLOCKS.PARAGRAPH,function(e,t){return(0,O.jsx)("p",{className:"cmp-legacy-detail-header__description",children:t})})};return(0,O.jsx)("header",{className:"cmp-legacy-detail-header",children:(0,O.jsxs)("div",{className:"obj-layout obj-legacy-detail-header",children:[(0,O.jsxs)("div",{className:"cmp-legacy-detail-header__title-container",children:[(0,O.jsx)("h1",{className:"cmp-legacy-detail-header__title",children:t}),(0,O.jsx)(I.Z,{publishedDate:i,authors:a})]}),(0,O.jsx)("div",{className:"cmp-legacy-detail-header__description-container",children:(0,O.jsx)("div",{className:"cmp-legacy-detail-header__description",children:(0,O.jsx)(p.Z,{document:r,options:s})})}),c&&c.imageUrl?(0,O.jsx)("div",{className:"cmp-legacy-detail-header__image-container",children:(0,O.jsx)(C.Z,{featuredImage:c,imageClass:"cmp-legacy-detail-header__image",priority:!0})}):(0,O.jsx)("div",{className:"cmp-legacy-detail-header__no-image"})]})})},foundry_legacy_article=function(e){var t=e.id,r=e.slug,n=e.title,i=e.summary,a=e.tags,c=e.publishedDate,s=e.authors,o=e.content,l=e.embeddedEntries,u=e.featuredImage,m=e.relatedArticles,p=e.contentTheme,_=e.promo,h=e.ctaForm,g=e.articleType;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(article_detail_header_article_detail_header,{id:t,slug:r,title:n,summary:i,publishedDate:c,authors:s,featuredImage:u,tags:a,articleType:g}),(0,O.jsx)(article_content_article_content,{id:t,content:o,embeddedEntries:l,relatedArticles:m,tags:a,contentTheme:p,promo:_,ctaForm:h})]})},K=r(8764).lW;function _pages_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var B=!0,_pages_=function(e){var t,r=e.slug,a=e.seoTitle,s=e.seoDescription,u=e.featuredImage,m=e.isPreview,p=e.draftMode,_=e.articleType,h=(t=(0,i.Z)(c().mark(function _callee(e){var t,r,n;return c().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,(t=new Headers).set("Authorization","Basic "+K.from("sparkbox:sparkle").toString("base64")),i.next=5,fetch("https://preview--sparkbox-foundry.netlify.app/api/draft",{method:"POST",headers:t,body:JSON.stringify({slug:e})});case 5:return r=i.sent,i.next=8,r.json();case 8:return n=i.sent,i.abrupt("return",n);case 12:return i.prev=12,i.t0=i.catch(0),i.abrupt("return",i.t0);case 15:case"end":return i.stop()}},_callee,null,[[0,12]])})),function(e){return t.apply(this,arguments)});m&&!p&&h(r).then(function(e){console.log(e)});var g=(0,l.usePathname)(),j="Legacy"===_?foundry_legacy_article:foundry_article;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(o(),{children:[(0,O.jsx)("title",{children:a}),(0,O.jsx)("meta",{property:"og:title",content:a},"og:title"),(0,O.jsx)("meta",{name:"description",content:s},"description"),(0,O.jsx)("meta",{property:"og:description",content:s},"og:description"),(0,O.jsx)("meta",{property:"og:image",content:null==u?void 0:u.imageUrl},"og:image"),(0,O.jsx)("meta",{property:"og:url",content:"https://sparkbox.com".concat(g)},"og:url"),(0,O.jsx)("link",{rel:"canonical",href:"https://sparkbox.com".concat(g)},"canonical")]}),(0,O.jsx)(j,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?_pages_ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_pages_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e))]})}},2635:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/foundry/[...pages]",function(){return r(3862)}])}},function(e){e.O(0,[294,707,379,774,888,179],function(){return e(e.s=2635)}),_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.