PageSourceSearch

https://www.hbs.edu/_next/static/chunks/7414.7dbe2c9d71c2cedb.js

js hbs.edu collected 2026-09-24 07:34:25 UTC 4,897 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7414],{4077:()=>{},40015:()=>{},57414:(e,t,l)=>{"use strict";l.r(t),l.d(t,{ContentfulHeroStatement:()=>b});var a=l(6029);l(4077);var s=l(50212),n=l(75621),i=l(7969),r=l(30882);function d(e){let{label:t,text:l,credit:s,creditLink:i}=e;return(0,a.jsxs)("div",{className:"quote-card-content",children:[(0,a.jsx)("span",{className:"quote-card-content__overline",children:t}),(0,a.jsxs)("div",{className:"quote-card-content__text-mod",children:[(0,a.jsx)("blockquote",{children:(0,a.jsxs)("p",{className:"quote-card-content__text",children:["“",l,"”"]})}),(0,a.jsxs)("div",{className:"quote-card-content__credit-mod",children:[(0,a.jsx)("span",{className:"quote-card-content__credit",children:s}),(null==i?void 0:i.link)&&(0,a.jsx)(n.l,{isSmall:!0,className:"quote-card-content__credit-link",href:i.link,children:i.label})]})]})]})}l(40015);var c=l(55729);function o(e){let{ctaList:t,button:l,media:o,subhead:h,theme:u="white",title:m,isCard:_=!0,quote:b,align:v="full",mediaAlignment:x="left",HeadingLevel:f="h2",editAttributes:j}=e,k=(0,c.useRef)(null),N=!!(t&&l),p=(0,s.A)("hbs-hero-statement__card",N&&"hbs-hero-statement__card--cta",!N&&"hbs-hero-statement__card--text-only"),g=[!b&&l&&"button",!b&&t&&"linklist",b&&"quote",!N&&!b&&"text-only",(null==o?void 0:o.kaltura)&&"kaltura"].filter(Boolean).join("__"),y="cb__hero-statement__".concat(_?"card":"flat").concat(g&&"__".concat(g));return(0,a.jsx)("div",{className:"hbs-component--hero-statement hbs-global-align-".concat(v),"data-region":y,children:(0,a.jsxs)("div",{className:(0,s.A)(_?"hbs-hero-statement hbs-hero-statement--card":"hbs-hero-statement hbs-hero-statement--flat","hbs-hero-statement--image-".concat(x)),"data-theme":u,children:[(0,a.jsx)("div",{className:"hbs-hero-statement__content",children:(0,a.jsx)("div",{className:p,children:(0,a.jsx)("div",{className:"hbs-hero-statement__card-inner",children:b?(0,a.jsx)(d,{...b}):(0,a.jsxs)(a.Fragment,{children:[m&&(0,a.jsx)(f,{...null==j?void 0:j.title,className:"hbs-hero-statement__title",children:m}),h&&(0,a.jsx)("div",{...null==j?void 0:j.subhead,className:"hbs-hero-statement__subhead",children:h}),(null==o?void 0:o.kaltura)&&(0,a.jsx)("div",{className:"hbs-hero-statement__trigger-container",children:(0,a.jsx)("button",{type:"button",className:"hbs-hero-statement__modal-trigger",onClick:(null==o?void 0:o.kaltura)&&(()=>{k.current&&k.current.click()}),"aria-hidden":!0,tabIndex:-1,children:(0,a.jsxs)("div",{className:"hbs-hero-statement__kaltura-text",children:[(0,a.jsx)("span",{className:"hbs-hero-statement__kaltura-text-prompt",children:"Play"})," ",(null==o?void 0:o.kaltura.duration)&&(0,a.jsxs)("span",{className:"hbs-hero-statement__kaltura-duration",children:[(0,a.jsx)("span",{className:"hbs-global-visually-hidden",children:"Video duration:"}),null==o?void 0:o.kaltura.duration]})]})})}),(t||l)&&!(null==o?void 0:o.kaltura)&&(0,a.jsxs)("div",{className:"hbs-hero-statement__cta",children:[l&&(0,a.jsx)(n.l,{...l,type:"primary-button"}),t&&(0,a.jsx)(i.r,{...t})]})]})})})}),o&&(0,a.jsx)("div",{className:(0,s.A)("hbs-hero-statement__media",(null==o?void 0:o.kaltura)&&"hbs-hero-statement__media--kaltura"),children:(0,a.jsx)(r.Z,{ref:k,...o,aspectRatio:"3/2"})})]})})}var h=l(61277),u=l(85692),m=l(62793),_=l(30642);let b=(0,h.i)(e=>{var t,l,s,n;let{entry:i,options:r,createEditAttributes:d}=e,{getEntryUrl:c,getEntry:h,getEntries:b}=(0,_.U)(),v=null!=(s=null==r?void 0:r.headerAbove)&&s,x={title:i.fields.title,align:i.fields.alignment,theme:i.fields.theme,isCard:"card"===i.fields.style,HeadingLevel:v?"h3":"h2",subhead:(0,a.jsx)(u.Q,{document:i.fields.description}),mediaAlignment:i.fields.mediaAlignment,editAttributes:{title:d({entry:i,fieldId:"title"}),subhead:d({entry:i,fieldId:"description"})}},f=h(i.fields.button);if((null==f||null==(t=f.fields)?void 0:t.text)&&(x.button={children:null==f?void 0:f.fields.text,href:c(i.fields.button),"aria-label":f.fields.ariaLabel,editAttributes:d({entry:f,fieldId:"title"})}),!(null==f||null==(l=f.fields)?void 0:l.text)&&i.fields.links){let e={items:[]};null==(n=b(x.button?i.fields.links.slice(0,1):i.fields.links))||n.forEac
1h(t=>{var l,a,s;(null==t||null==(l=t.fields)?void 0:l.text)&&(null==(s=e.items)||s.push({href:c(t),children:null==(a=t.fields)?void 0:a.text,"aria-label":t.fields.ariaLabel,editAttributes:d({entry:t,fieldId:"title"})}))}),x.ctaList=e}let j=(0,m.N2)(i.fields.media);return j&&(j.kaltura&&(j.kaltura.withModal=!0),x.media=j),(0,a.jsx)(o,{...x})})},61277:(e,t,l)=>{"use strict";l.d(t,{i:()=>n});var a=l(6029),s=l(30642);function n(e){return t=>{let{entry:l,options:n}=t,{getEntry:i,createEditAttributes:r}=(0,s.U)(),d=i(l);return(null==d?void 0:d.fields)&&(null==d?void 0:d.metadata)&&(null==d?void 0:d.sys.id)?(0,a.jsx)(e,{entry:d,options:n,createEditAttributes:r}):null}}}}]);
2//# sourceMappingURL=7414.7dbe2c9d71c2cedb.js.map

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.