1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3342,5610],{2043:(e,t,a)=>{"use strict";a.d(t,{ie:()=>r,nk:()=>s});var l=a(911),n=a(13403),i=a(40980);function s(e,t){if((0,n.M)("modernProgram",e))if("expandable"===t)return function(e){var t,a,n,i,s;let r="To Be Confirmed";return{type:"Program",style:"expandable",id:(null==(t=e.display)?void 0:t.abbreviation)||e.id,url:e.url,title:e.title,description:e.description&&(0,l.Q)(e.description),topics:null==(a=e.topic)?void 0:a.map(e=>({title:e})),industry:null==(n=e.industry)?void 0:n.map(e=>({title:e})),format:e.format,sessions:null==(s=e.display)||null==(i=s.sessions)?void 0:i.map(e=>({displayDate:e.displayDate,startDate:e.startDate,endDate:e.endDate,overrideSessionDisplay:e.overrideSessionDisplay,dateLabel:void 0===e.startDate||void 0===e.endDate?r:void 0,format:e.format,status:void 0===e.startDate||void 0===e.endDate?"Check Back to Apply":e.status,fee:void 0===e.startDate||void 0===e.endDate?r:e.fee,eyebrowStatus:void 0===e.startDate||void 0===e.endDate?"Start Date to Be Confirmed":void 0}))}}(e);else{if("card"!==t)return r(e);var a,i,s,o;return{type:"Course",id:(null==(i=(a=e).display)?void 0:i.abbreviation)||a.id,title:a.title,description:a.description&&(0,l.Q)(a.description),link:a.url,sessions:null==(o=a.display)||null==(s=o.sessions)?void 0:s.map(e=>({startDate:e.startDate,endDate:e.endDate,format:e.format,fee:e.fee,overrideSessionDisplay:e.overrideSessionDisplay})),isExEd:!0}}}function r(e){var t,a,s,r,o,d,c,u,h,p;let f=e.description;(null==(t=e.highlight)?void 0:t.description)&&Array.isArray(null==(a=e.highlight)?void 0:a.description)&&(f=null==(c=e.highlight)?void 0:c.description[0]),(null==(s=e.highlight)?void 0:s.body)&&Array.isArray(null==(r=e.highlight)?void 0:r.body)&&(f=(0,i.Q)(null==(u=e.highlight)?void 0:u.body[0])),!f&&e.body&&(f=e.body.substring(0,500).trim());let m=f&&(0,l.Q)(f),v={type:(null==(o=e.subset)?void 0:o.includes("coursePages"))?"Course":"Program",title:e.title,link:e.url,tease:m||""},b="Program";return(null==(d=e.subset)?void 0:d.includes("coursePages"))&&(b="Course"),v.category={label:b},(0,n.M)("modern",e)&&(null==(p=e.display)||null==(h=p.thumbnail)?void 0:h.src)&&(v.image=e.display.thumbnail),v}},2578:()=>{},7286:(e,t,a)=>{"use strict";a.d(t,{aT:()=>n,vY:()=>i});var l=a(13403);function n(e,t){return(0,l.M)("legacy",e)?function(e,t){let a={type:"Book",description:e.HBSDescription};if(e.HBSTitle&&(e.HBSTitle.indexOf(":")>-1?(a.title=e.HBSTitle.substring(0,e.HBSTitle.indexOf(":")),a.subtitle=e.HBSTitle.substring(e.HBSTitle.indexOf(":")+1,e.HBSTitle.length)):a.title=e.HBSTitle),e.HBSLink&&(a.link=e.HBSLink),e.HBSPubDate&&(a.date=e.HBSPubDate),e.HBSByline){let t=e.HBSByline;t.startsWith("by ")&&(t=t.substring(3)),t.startsWith("By ")&&(t=t.substring(3)),t.startsWith("by: ")&&(t=t.substring(4)),t.startsWith("By: ")&&(t=t.substring(4)),t.startsWith("re ")&&(t=t.substring(3)),t.startsWith("Re ")&&(t=t.substring(3)),t.startsWith("re: ")&&(t=t.substring(4)),t.startsWith("Re: ")&&(t=t.substring(4)),a.authors=[{name:t}]}return e.HBSThumbnail&&(a.media={image:{src:e.HBSThumbnail,...t}}),a}(e,t):(0,l.M)("modern",e)?i(e,t):void 0}function i(e,t){let a={type:"Book",description:e.description};if(e.title&&(e.title.indexOf(":")>-1?(a.title=e.title.substring(0,e.title.indexOf(":")),a.subtitle=e.title.substring(e.title.indexOf(":")+1,e.title.length)):a.title=e.title),e.url&&(a.link=e.url),(0,l.M)("modern",e)){var n,i,s,r;if(a.authors=[],(null==(n=e.display)?void 0:n.date)&&(a.date=e.display.date),(null==(i=e.display)?void 0:i.byline)&&e.display.byline.forEach(e=>{if(e.label){var t;null==(t=a.authors)||t.push({name:e.label,link:e.link})}}),(null==(s=e.display)?void 0:s.byline)||!e.author||e.author.forEach(e=>{var t;null==(t=a.authors)||t.push({name:e})}),null==(r=e.display)?void 0:r.thumbnail){let l=""===e.display.thumbnail.alt||void 0===e.display.thumbnail.alt||null===e.display.thumbnail.alt?e.title:e.display.thumbnail.alt;a.media={image:{src:e.display.thumbnail.src,alt:l,...t}},e.display.thumbnail.teaseBackgroundColor&&(a.color=e.display.thumbnail.teaseBackgroun
1dColor)}}return a}},10607:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var l=a(63984),n=a(85351),i=a(72037);function s(e){return(0,n.A)(1,arguments),(!!function(e){return(0,n.A)(1,arguments),e instanceof Date||"object"===(0,l.A)(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)||"number"==typeof e)&&!isNaN(Number((0,i.A)(e)))}},13793:(e,t,a)=>{"use strict";a.d(t,{G:()=>r});var l=a(6029);a(89595);var n=a(50212),i=a(55729),s=a(28207);let r=(0,i.forwardRef)((e,t)=>{let{searchTerm:a="",handleSearch:r,handleKeydownSearch:o,handleMousedownSearch:d,onReset:c,hasDropdown:u=!1,placeholder:h,setShowDropdown:p,isSmall:f=!1,...m}=e,[v,b]=(0,i.useState)(a);return(0,i.useEffect)(()=>{b(a)},[a]),(0,l.jsxs)("div",{className:(0,n.A)("hbs-search-box",f&&"hbs-search-box--small"),children:[(0,l.jsx)("input",{...m,className:"hbs-search-box__input",type:"search",placeholder:h,value:v,"aria-label":h||"Search",onChange:function(e){e.currentTarget&&(b(e.currentTarget.value),u&&(null==r||r(e.currentTarget.value)))},onKeyDown:o,onReset:()=>{b(""),c&&c(),p&&p(!1)},ref:t}),(0,l.jsxs)("button",{className:"hbs-search-box__submit",type:"button",title:"Submit your search query.","aria-expanded":m["aria-expanded"],"aria-controls":m["aria-controls"],onClick:()=>{null==p||p(e=>!e)},onMouseDown:d,tabIndex:-1,children:[(0,l.jsx)("span",{className:"hbs-global-visually-hidden",children:"Search"}),(0,l.jsx)(s.I,{name:"search"})]})]})})},28062:(e,t,a)=>{"use strict";a.d(t,{Wv:()=>n,hl:()=>i,mv:()=>s});var l=a(13403);function n(e,t){if(e&&"object"==typeof e){let a={type:"Person",link:e.HBSLink,bio:e.HBSDescription};return e.HBSTitle&&(a.name=e.HBSTitle),e.HBSThumbnail&&(a.portrait={src:e.HBSThumbnail,...t}),a}}function i(e){if(e&&"object"==typeof e){let s={type:"Person",link:e.url};if(e.title&&(s.name=e.title),e.description&&(s.titles=[e.description]),(0,l.M)("modern",e)){var t,a,n,i;(null==(a=e.display)||null==(t=a.thumbnail)?void 0:t.src)&&(s.portrait={src:null==(i=e.display)?void 0:i.thumbnail.src,gravity:e.display.thumbnail.gravity,alt:e.display.thumbnail.alt,aspectRatio:e.display.thumbnail.aspectRatio}),s.shortBio=null==(n=e.display)?void 0:n.shortBio}return s}}function s(e){var t,a;if(e&&"object"==typeof e&&(null==(a=e.display)||null==(t=a.personTeases)?void 0:t.length)){let t=new Set,a=[];return e.display.personTeases.forEach(e=>{if(!t.has(e.name)){var l;t.add(e.name);let n={type:"Person",name:e.name,link:e.url,titles:Array.isArray(e.titles)?e.titles:[]};(null==(l=e.thumbnail)?void 0:l.src)&&(n.portrait={src:e.thumbnail.src}),a.push(n)}}),a.length>0?a:void 0}}},30780:(e,t,a)=>{"use strict";a.d(t,{d:()=>r});var l=a(6029);a(35146);var n=a(50212),i=a(30313),s=a(77841);function r(e){let{children:t,theme:a=i.du,spacing:r="both",header:o,className:d}=e,c=(0,n.A)("hbs-page-section","both"!==r&&"hbs-page-section--".concat(r),d);return(0,l.jsx)("section",{className:c,"data-theme":a,"data-region":"p__page-section",children:(0,l.jsx)("div",{className:"hbs-page-section__width",children:(0,l.jsxs)("div",{className:"hbs-page-section__content",children:[o&&(0,l.jsx)(s.X,{...o}),t]})})})}},32663:()=>{},35146:()=>{},35745:(e,t,a)=>{"use strict";a.d(t,{L:()=>f});var l=a(6029);a(90567),a(32663),a(46729);var n=a(96763),i=a(47812),s=a(16416),r=a(36324),o=a(55729),d=a(73318),c=a(11291),u=a(38622),h=a(28207);let p=e=>{let t=(0,i.qg)(e,"M/d/y",new Date);return(0,s.f)(t)?t:void 0};function f(e){let{selectedRange:t,handleDatePickerSubmit:a,label:i,startDate:f=(0,r.GP)(new Date,"M/d/y"),endDate:m=(0,r.GP)(new Date,"M/d/y")}=e,{isDesktop:v}=(0,u.d)(),[b,g]=(0,o.useState)(!1),[y,_]=(0,o.useState)(""),[x,j]=(0,o.useState)("");(0,o.useEffect)(()=>(v&&g(!0),()=>g(!1)),[v]);let S=e=>e&&(0,s.f)(e)?(0,r.GP)(e,"M/d/y"):"";(0,o.useEffect)(()=>{_(S(t.from)),j(S(t.to))},[t]);let w=e=>{let{name:t,value:a}=e.target;"from"===t?_(a):"to"===t&&j(a)},k=()=>{a({from:p(y),to:p(x)})},T=e=>{("Enter"===e.key||" "===e.key)&&k()};return(0,l.jsx)(d.bL,{className:"hbs-facets",open:b,onOpenChange:g,children:(0,l.jsxs)("fieldset",{children:[(0,l.jsxs)(d.l9,{className:"hbs-facets__accordion-header-button","data-testid":"search-date-toggle",children:[(0,l.jsx)("legend",{className:"hbs-facets__title",children:i||"Dates"}),(0,l.jsx)(h.I,{name:"caretDown",className:"hbs-facets__caret"})]}),(0,l.jsx)(d.Ke,{className:"hbs-facets__accordion-menu",children:(0,l.jsxs)(c.bL,{onOpenChange:e=>{e||k()},children:[(0,l.jsx)("div",{className:"hbs-facets__date-picker-wrapper",children:(0,l.jsx)(c.Mz,{asChild:!0,children:(0,l.jsxs)("div",{className:"hbs-facets__date-picker-inputs",children:[(0,l.jsx)("input",{type:"text",className:"hbs-facets__date-picker-input-field",placeholder:f,value:y,"aria-label":"Start date",name:"from",onChange:w,onKeyDown:T}),(0,l.jsx)("span",{className:"hbs-facets__date-picker-input-separator","aria-hidden":!0,
1children:"â"}),(0,l.jsx)("input",{type:"text",className:"hbs-facets__date-picker-input-field",placeholder:m,value:x,"aria-label":"End date",name:"to",onChange:w,onKeyDown:T}),(0,l.jsx)(c.l9,{"aria-label":"Open calendar",className:"hbs-facets__date-picker-calendar-button","data-testid":"date-picker-button",children:(0,l.jsx)(h.I,{name:"calendar",className:"hbs-facets__date-picker-calendar-icon"})})]})})}),(0,l.jsx)(c.ZL,{children:(0,l.jsx)(c.UC,{sideOffset:5,side:"bottom",align:"start",children:(0,l.jsx)("div",{children:(0,l.jsx)(n.hv,{mode:"range",weekStartsOn:1,showOutsideDays:!0,formatters:{formatWeekdayName:(e,t)=>(0,r.GP)(e,"EEEEE",t)},selected:{from:p(y),to:p(x)},onSelect:e=>{if(e){let{from:t,to:a}=e;_(S(t)),j(S(a))}},defaultMonth:p(y)||new Date})})})})]})})]})})}},37643:(e,t,a)=>{"use strict";function l(e){var t,a,l,n,i,s,r,o;let d={type:"Event",title:e.title,href:null==(t=e.display)?void 0:t.eventLink,dates:[],overline:null==(l=e.display)||null==(a=l.overline)?void 0:a.label,meta:[],featuredImage:void 0},[c,u]=null!=(o=null==(i=e.display)||null==(n=i.dateRange)?void 0:n.map(String))?o:[],h=null==c?void 0:c.split("T")[0],p=null==u?void 0:u.split("T")[0];return d.dates=c&&u?h===p?[c]:[c,u]:c?[c]:[],d.meta=null==(s=e.display)?void 0:s.eventMeta,(null==(r=e.display)?void 0:r.thumbnail)&&(d.featuredImage={src:e.display.thumbnail.src,alt:e.display.thumbnail.alt}),e.description&&(d.blurb=e.description),d}function n(e){var t,a;if(!e.HBSTitle||!e.HBSAlumniEventsStartDate&&!e.HBSStartDate)return console.warn("Legacy Event Tease Props - missing HBSTitle or start date"),{};let l={type:"Event",title:e.HBSTitle,href:e.HBSLink,dates:[],overline:e.HBSAlumniClubDesc||e.HBSEventTypeDesc,meta:[],featuredImage:void 0},n=e.HBSAlumniEventsStartDate||e.HBSStartDate,i=e.HBSAlumniEventsEndDate,s=[];(n||i)&&(l.dates=n&&i?n.split("T")[0]===i.split("T")[0]?[n]:[n,i]:n?[n]:[]),e.HBSDisplayDate&&(e.HBSDisplayDate.indexOf(":")>-1||e.HBSDisplayDate.indexOf(" AM ")>-1||e.HBSDisplayDate.indexOf(" PM ")>-1)&&s.push({title:"Times",info:e.HBSDisplayDate}),e.HBSLocation&&s.push({title:"Location",info:e.HBSLocation});for(let e=0;e<s.length;e+=2){null==(t=l.meta)||t.push(s.slice(e,e+2))}return e.HBSThumbnail&&(l.featuredImage={src:e.HBSThumbnail}),(e.HBSDescription||e.HBSBody)&&(l.blurb=(a=e.HBSDescription||e.HBSBody)?a.replace(/ /g," ").replace(/—/g,"â").replace(/–/g,"â").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"):a),l}function i(e){let t=new Date,[a,l]=e.split(":").map(e=>e.trim()),n=e.toLowerCase().includes("pm");if(a&&l){let e=parseInt(a);return t.setHours(n&&12!==e?e+12:e,parseInt(l)),t.toISOString()}return e}function s(e){var t,a,l,n,s,r,o;let d={event:{title:e.title,location:null!=(r=e.location)?r:"",date:"",href:null==(t=e.display)?void 0:t.eventLink,featuredImage:(null==(a=e.display)?void 0:a.thumbnail)?{src:e.display.thumbnail.src,alt:e.display.thumbnail.alt}:void 0}},[c,u]=null!=(o=null==(n=e.display)||null==(l=n.dateRange)?void 0:l.map(String))?o:[];d.event.date=c&&u?c===u?c:[c,u]:c||"";let h=function(e){if(e)for(let t of e){let e=t.find(e=>{var t;return(null==(t=e.title)?void 0:t.toLowerCase())==="times"});if(null==e?void 0:e.info)return function(e){let t=e.split(" - ");if(2===t.length)return t.map(i);if(1===t.length){var a;return i(null!=(a=t[0])?a:"")}return e}(e.info)}}(null==(s=e.display)?void 0:s.eventMeta);return d.event.time=h,d}a.d(t,{Tm:()=>s,nk:()=>l,u5:()=>n})},39827:()=>{},40663:()=>{},43154:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var l=a(6029),n=a(61277),i=a(51747),s=a(30780),r=a(77408),o=a(30642),d=a(6726);let c=(0,n.i)(e=>{var t,a;let n,{entry:c,options:u}=e,{getEntries:h}=(0,o.U)(),p=(0,d.l)(),f=[],m=(0,i.I)("knowledgeBaseArticlePage",c),v=(0,i.I)("archivePage",c),b=(0,i.I)("articlePage",c),g=(0,i.I)("detailPage",c),y=(0,i.I)("databasePage",c),_=(0,i.I)("datasetPage",c),x=(0,i.I)("articlePageSettings",c),j=(0,i.I)("issueLandingPageSettings",c),S=(0,i.I)("issueLandingPage",c),w=(0,i.I)("coursePage",c),k=(0,i.I)("podcastEpisodePage",c);
1n=m?h(c.fields.body):v?(null==u?void 0:u.key)?h(c.fields[u.key]):[]:b||g||y||_||x||S||j||w||k||(0,i.I)("eventDetailPage",c)?h(c.fields.preFooterContent):h(c.fields.blocks);let T=null==(t=p.session)?void 0:t.user.roles;if(null==T?void 0:T.length){let e=null==n?void 0:n.filter(e=>!!(0,i.I)("audienceBlocksWrapper",e)&&!!e.fields.permissions&&h(e.fields.permissions).some(e=>{var t;let a=e.fields.roleCode;return(null!=(t=null==a?void 0:a.split(","))?t:[]).some(e=>T.includes(e.trim()))}));(null==e?void 0:e.length)&&(n=h(null==(a=e[0])?void 0:a.fields.blocks)||[])}return null==n||n.forEach(e=>{if((0,i.I)("pageSectionTheme",e))f.push({theme:e.fields.theme,blocks:[]});else if(0===f.length)f.push({blocks:[e],theme:m?"white":void 0});else{var t;null==(t=f[f.length-1])||t.blocks.push(e)}}),(0,l.jsx)(l.Fragment,{children:f.map((e,t)=>{let{theme:a,blocks:n}=e;if(n.length<1)return null;let i=[],o=!1,d=!1;return n.forEach((e,t)=>{let a,n=d||o;"sideBySideSectionIntro"===e.sys.contentType.sys.id&&o?n=!0:"sideBySideSectionIntro"!==e.sys.contentType.sys.id||o||(n=!1),e.sys.contentType.sys.id.includes("teaseRow")&&o&&d&&(a="h4");let s=!0;if("formAssemblyEmbed"===e.sys.contentType.sys.id&&(null==u?void 0:u.hideFAEmbeds)===!0&&(s=!1,w?console.warn("Course Page ".concat(c.fields.title," has more than one Form Assembly Embed so the Embeds are currently hidden.")):console.warn("Page has more than one Form Assembly Embed so the Embeds are currently hidden.")),s){let s={headerAbove:n,resetHeaders:a};i.push((0,l.jsx)(r.b,{entry:e,options:s},t))}"sideBySideSectionIntro"===e.sys.contentType.sys.id?d=!0:"pageSectionHeader"===e.sys.contentType.sys.id&&(o=!0)}),(0,l.jsx)(s.d,{theme:a,children:i},t)})})})},44285:()=>{},44377:(e,t,a)=>{"use strict";a.d(t,{UC:()=>eo,B8:()=>es,bL:()=>ei,l9:()=>er});var l=a(55729),n=a.t(l,2),i=a(25269),s=a(99829),r=a(70140),o=a(40041),d=a(67913),c=a(19639),u=a(9613),h=a(57640),p=a(71979),f=a(35896),m=Object.defineProperty,v=(e,t)=>m(e,"name",{value:t,configurable:!0}),b=!1;function g(){let[e,t]=l.useState(b);return l.useEffect(()=>{b||(b=!0,t(!0))},[]),e}v(g,"useIsHydrated");var y=n[" useSyncExternalStore ".trim().toString()];function _(){return()=>{}}function x(){return y(_,()=>!0,()=>!1)}v(_,"subscribe"),v(x,"useIsHydratedModern");var j="function"==typeof y?x:g,S=a(6029),w=Object.defineProperty,k=(e,t)=>w(e,"name",{value:t,configurable:!0}),T="rovingFocusGroup.onEntryFocus",N={bubbles:!1,cancelable:!0},I="RovingFocusGroup",[L,C,A]=(0,r.N)(I),[E,D]=(0,s.A)(I,[A]),[P,B]=E(I),H=l.forwardRef(k(function(e,t){return(0,S.jsx)(L.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,S.jsx)(L.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,S.jsx)(M,{...e,ref:t})})})},"RovingFocusGroup")),M=l.forwardRef(k(function(e,t){let{__scopeRovingFocusGroup:a,orientation:n,loop:s=!1,dir:r,currentTabStopId:d,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:m,onEntryFocus:v,preventScrollOnEntryFocus:b=!1,...g}=e,y=l.useRef(null),_=(0,o.s)(t,y),x=(0,p.jH)(r),[j,w]=(0,h.i)({prop:d,defaultProp:f??null,onChange:m,caller:I}),[k,L]=l.useState(!1),A=(0,u.c)(v),E=C(a),D=l.useRef(!1),[B,H]=l.useState(0);return l.useEffect(()=>{let e=y.current;if(e)return e.addEventListener(T,A),()=>e.removeEventListener(T,A)},[A]),(0,S.jsx)(P,{scope:a,orientation:n,dir:x,loop:s,currentTabStopId:j,onItemFocus:l.useCallback(e=>w(e),[w]),onItemShiftTab:l.useCallback(()=>L(!0),[]),onFocusableItemAdd:l.useCallback(()=>H(e=>e+1),[]),onFocusableItemRemove:l.useCallback(()=>H(e=>e-1),[]),children:(0,S.jsx)(c.sG.div,{tabIndex:k||0===B?-1:0,"data-orientation":n,...g,ref:_,style:{outline:"none",...e.style},onMouseDown:(0,i.mK)(e.onMouseDown,()=>{D.current=!0}),onFocus:(0,i.mK)(e.onFocus,e=>{let t=!D.current;if(e.target===e.currentTarget&&t&&!k){let t=new CustomEvent(T,N);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=E().filter(e=>e.focusable);q([e.find(e=>e.active),e.find(e=>e.id===j),...e].filter(Boolean).map(e=>e.ref.current),b)}}D.current=!1}),onBlur:(0,i.mK)(e.onBlur,()=>L(!1))})})},"RovingFocusGroupImpl")),R=l.forwardRef(k(function(e,t){let{__scopeRovingFocusGroup:a,focusable:n=!0,active:s=!1,tabStopId:r,children:o,...u}=e,h=(0,d.B)(),p=r||h,m=B("RovingFocusGroupItem",a),v=m.currentTabStopId===p,b=C(a),{onFocusableItemAdd:g,onFocusableItemRemove:y,currentTabStopId:_}=m,x=j();return(0,f.N)(()=>
1{if(x&&n)return g(),()=>y()},[x,n,g,y]),l.useEffect(()=>{if(!x&&n)return g(),()=>y()},[x,n,g,y]),(0,S.jsx)(L.ItemSlot,{scope:a,id:p,focusable:n,active:s,children:(0,S.jsx)(c.sG.span,{tabIndex:v?0:-1,"data-orientation":m.orientation,...u,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{n?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.mK)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=U(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let a=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)a.reverse();else if("prev"===t||"next"===t){"prev"===t&&a.reverse();let l=a.indexOf(e.currentTarget);a=m.loop?K(a,l+1):a.slice(l+1)}setTimeout(()=>q(a))}}),children:"function"==typeof o?o({isCurrentTabStop:v,hasTabStop:null!=_}):o})})},"RovingFocusGroupItem")),O={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function F(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function U(e,t,a){let l=F(e.key,a);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(l))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(l)))return O[l]}function q(e,t=!1){let a=document.activeElement;for(let l of e)if(l===a||(l.focus({preventScroll:t}),document.activeElement!==a))return}function K(e,t){return e.map((a,l)=>e[(t+l)%e.length])}k(F,"getDirectionAwareKey"),k(U,"getFocusIntent"),k(q,"focusFirst"),k(K,"wrapArray");var z=a(78749),G=Object.defineProperty,Q=(e,t)=>G(e,"name",{value:t,configurable:!0}),W="Tabs",[V,J]=(0,s.A)(W,[D]),Z=D(),[X,Y]=V(W),$=l.forwardRef(Q(function(e,t){let{__scopeTabs:a,value:l,onValueChange:n,defaultValue:i,orientation:s="horizontal",dir:r,activationMode:o="automatic",...u}=e,f=(0,p.jH)(r),[m,v]=(0,h.i)({prop:l,onChange:n,defaultProp:i??"",caller:W});return(0,S.jsx)(X,{scope:a,baseId:(0,d.B)(),value:m,onValueChange:v,orientation:s,dir:f,activationMode:o,children:(0,S.jsx)(c.sG.div,{dir:f,"data-orientation":s,...u,ref:t})})},"Tabs")),ee=l.forwardRef(Q(function(e,t){let{__scopeTabs:a,loop:l=!0,...n}=e,i=Y("TabsList",a),s=Z(a);return(0,S.jsx)(H,{asChild:!0,...s,orientation:i.orientation,dir:i.dir,loop:l,children:(0,S.jsx)(c.sG.div,{role:"tablist","aria-orientation":i.orientation,...n,ref:t})})},"TabsList")),et=l.forwardRef(Q(function(e,t){let{__scopeTabs:a,value:l,disabled:n=!1,...s}=e,r=Y("TabsTrigger",a),o=Z(a),d=el(r.baseId,l),u=en(r.baseId,l),h=l===r.value;return(0,S.jsx)(R,{asChild:!0,...o,focusable:!n,active:h,children:(0,S.jsx)(c.sG.button,{type:"button",role:"tab","aria-selected":h,"aria-controls":u,"data-state":h?"active":"inactive","data-disabled":n?"":void 0,disabled:n,id:d,...s,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{n||0!==e.button||!1!==e.ctrlKey?e.preventDefault():r.onValueChange(l)}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{!n&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&r.onValueChange(l)}),onFocus:(0,i.mK)(e.onFocus,()=>{let e="manual"!==r.activationMode;h||n||!e||r.onValueChange(l)})})})},"TabsTrigger")),ea=l.forwardRef(Q(function(e,t){let{__scopeTabs:a,value:n,forceMount:i,children:s,...r}=e,o=Y("TabsContent",a),d=el(o.baseId,n),u=en(o.baseId,n),h=n===o.value,p=l.useRef(h);return l.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,S.jsx)(z.C,{present:i||h,children:({present:a})=>(0,S.jsx)(c.sG.div,{"data-state":h?"active":"inactive","data-orientation":o.orientation,role:"tabpanel","aria-labelledby":d,hidden:!a,id:u,tabIndex:0,...r,ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0},children:a&&s})})},"TabsContent"));function el(e,t){return`${e}-trigger-${t}`}function en(e,t){return`${e}-content-${t}`}Q(el,"makeTriggerId"),Q(en,"makeContentId");var ei=$,es=ee,er=et,eo=ea},46729:()=>{},47179:(e,t,a)=>{"use strict";a.d(t,{p:()=>s});var l=a(6029),n=a(5369),i=a(95544);function s(e){let{gtagId:t,title:a="Harvard Business School",description:s="Harvard Business Sc
1hool",siteName:r="Harvard Business School",canonicalUrl:o,type:d="website",image:c,twitterCard:u="summary",twitterCreator:h="@HarvardHBS",twitterSite:p="@HarvardHBS",metaOverride:f,children:m,openGraphDescription:v,noFollow:b,noIndex:g,convertId:y,pageLoadEventData:_,articleStructuredData:x,blogPageStructuredData:j,eventStructuredData:S,educationalOccupationalData:w,educationalOrganizationData:k,courseData:T,educationalProgramData:N,podcastData:I,breadcrumbStructuredData:L,faqPageStructuredData:C}=e,A=(0,n.qE)(e=>e.framework.Head),E=(0,i.L)(null==c?void 0:c.src),D={"og:title":a,"og:description":null!=v?v:s,"og:url":o,"og:type":d,"og:site_name":r,"og:image":E,"og:image:width":null==c?void 0:c.width,"og:image:height":null==c?void 0:c.height,"og:image:alt":null==c?void 0:c.alt,"twitter:title":a,"twitter:description":s,"twitter:card":u,"twitter:creator":h,"twitter:site":p,"twitter:image":E,"twitter:image:alt":null==c?void 0:c.alt,...f};return(0,l.jsxs)(A,{children:[(0,l.jsx)("link",{rel:"preconnect",href:"https://cloudinary.hbs.edu"}),g&&(0,l.jsx)("meta",{name:"robots",content:"noindex"},"robots-noindex"),b&&(0,l.jsx)("meta",{name:"robots",content:"nofollow"},"robots-nofollow"),(0,l.jsx)("title",{children:a}),s?(0,l.jsx)("meta",{name:"description",content:s}):null,Object.entries(D).map(e=>{let[t,a]=e;return a&&(0,l.jsx)("meta",{property:t,content:a},t)}),o&&(0,l.jsx)("link",{rel:"canonical",href:o}),y&&(0,l.jsx)("script",{src:"https://cdn-4.convertexperiments.com/v1/js/".concat(y,".js")}),L&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org",...L})}},"breadcrumb-structured-data"),C&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org",...C})}},"faq-page-structured-data"),j&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org",...j})}},"blog-structured-data"),x&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"Article",publisher:{"@type":"Organization",name:"Harvard Business School"},url:x.url,headline:x.headline,image:x.image,articleBody:x.articleBody,datePublished:x.datePublished,articleSection:x.articleSection,author:x.author})}},"article-structured-data"),S&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"Event",name:S.name,startDate:S.startDate,endDate:S.endDate,eventAttendanceMode:S.eventAttendanceMode,eventStatus:S.eventStatus,location:S.location,image:S.image,description:S.description,offers:S.offers,organizer:S.organizer})}},"event-structured-data"),w&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org",...w})}},"educational-structured-data"),k&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"EducationalOrganization",name:k.name,url:k.url,address:k.address,sameAs:k.sameAs,mainEntity:k.mainEntity})}},"organization-structured-data"),(null==k?void 0:k.breadcrumb)&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org",...k.breadcrumb})}},"organization-breadcrumb-structured-data"),T&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"Course","@id":T["@id"],name:T.name,description:T.description,provider:T.provider,teaches:T.teaches,audience:T.audience,hasCourseInstance:T.hasCourseInstance,offers:T.offers})}},"course-structured-data"),N&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"EducationalOccupationalProgram",...N})}},"educational-program-structured-data"),I&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"PodcastEpisode",name:I.name,url:I.url,description:I.description,partOfSeries:I.partOfSeries,datePublished:I.datePublished,contentUrl:I.contentUrl,publisher:I.publisher,image:I.image,inLanguage:I.inLanguage,associatedMedia:I.associatedMedia})}},"podcast-structured-data"),_&&(0,l.jsx)("script",{dangerouslySetInnerHTML:{__html:'\n window.dataLayer = window.dataLater|| [];\n window.dataLayer.push({ event: "page_load", event_data: '.concat(JSON.stringify(_)," });")}},"gtm-init"),t&&(0,l.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='
1+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat(t,"');\n ")}},"gtm-script"),m]})}},47387:(e,t,a)=>{"use strict";a.d(t,{NZ:()=>i,e6:()=>s});var l=a(6029);a(44285);var n=a(50212);function i(e){let{rows:t=1,width:a="16",gap:i="xs",size:s="sm",className:r}=e;return(0,l.jsx)("div",{className:(0,n.A)("shimmer-grid","shimmer-grid-gap--".concat(i),r),children:Array.from({length:t}).map((e,i)=>{let r=t>1&&i===t-1?Math.max(parseInt(a)-3,1).toString():a;return(0,l.jsx)("div",{className:(0,n.A)("shimmer shimmer-text","shimmer-text--size-".concat(s),"shimmer-text--width-".concat(r))},i)})})}function s(e){let{size:t="md",className:a}=e;return(0,l.jsx)("div",{className:(0,n.A)("shimmer shimmer-button","shimmer-button--".concat(t),a)})}},48741:(e,t,a)=>{"use strict";a.d(t,{r:()=>i});var l=a(6029);a(39827);var n=a(94075);function i(e){let{children:t,aside:a,pagination:i,searchPagination:s,rightRail:r}=e;return(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"hbs-archive-page-content__wrapper",children:(0,l.jsxs)("div",{className:"hbs-archive-page-content",children:[(0,l.jsx)("aside",{className:"hbs-archive-page-content__aside-wrapper",children:(0,l.jsx)("div",{className:"hbs-archive-page-content__aside",children:a})}),(0,l.jsx)("div",{className:"hbs-archive-page-content__main",children:(0,l.jsx)("section",{className:"hbs-archive-page-content__children",children:t})}),r&&(0,l.jsx)("aside",{className:"hbs-aside-wrapper hbs-aside-right",children:r})]})}),i&&(0,l.jsx)("div",{className:"hbs-archive-page-content__pagination",children:(0,l.jsx)(n.d,{...i})}),s&&(0,l.jsx)("div",{className:"hbs-archive-page-content__pagination",children:s})]})}},52506:(e,t,a)=>{"use strict";a.d(t,{X:()=>d});var l=a(46073),n=a(2043),i=a(7286),s=a(13403),r=a(28062),o=a(37643);function d(e,t,a,d,c,u){if(("modern"===t||"knowledge"===t||"classnotes"===t||"protected"===t)&&((0,s.M)("modern",e)||(0,s.M)("modern",e))){if("Article"===(a=a||e.contentType||"Article")||"Best Bet"===e.contentType||"Participant Story"===e.contentType||"knowledgeBaseArticlePage"===e.contentType||"Detail"===e.contentType||"Landing"===e.contentType||"Database"===e.contentType||"Dataset"===e.contentType||"Citation"===e.contentType||"Association Reference"===e.contentType||"Podcast"===e.contentType||"Club Page"===e.contentType||"IssueLanding"===e.contentType&&!c||"Profile"===a&&!c||"Book"===a||"Book Component"===a||"Course Materials"===a||"Featured Work"===a||"HBS Case Material"===a||"HBS Teaching and Training Material"===a||"Honors and Awards"===a||"Interactive Media"===a||"Non-HBS Case Material"===a||"Non-HBS Teaching and Training Material"===a||"Other"===a||"Presentation"===a||"Published Article"===a||"Research"===a||"Research Summary"===a||"Teaching Interest"===a||"Teaching Interests Summary"===a||"Teaching Materials"===a||"Unpublished Work"===a||"Working Paper"===a)return{name:"ArticleTease",props:(0,l.e9)(e,d,{...u})};if("Program"===a||"Course"===a)return{name:"ProgramTease",props:(0,n.ie)(e)};if("Video Citation"===e.contentType)return{name:"VideoTease",props:function(e){let t={type:"Video",title:e.title};if((0,s.M)("modern",e)){var a,l,n;(null==(a=e.display)?void 0:a.date)&&(t.date=e.display.date),(null==(n=e.display)||null==(l=n.video)?void 0:l.kalturaId)&&(t.caption=e.display.video.caption||e.display.video.kalturaCaption,t.media={kaltura:{entryId:e.display.video.kalturaId,title:e.title,withModal:!0,className:"hbs-video-tease__kaltura-video",hide:{caption:!1,focusables:!1},duration:e.display.video.duration},aspectRatio:"16/9"})}return t}(e)};if("Profile"===a)return{name:"PersonTease",props:(0,r.hl)(e)};if("Participant Story"===a)return{name:"ParticipantStoryTease",props:function(e){if(e&&"object"==typeof e){let u={type:"ParticipantStory",link:e.url};if((0,s.M)("modern",e)){var t,a,l,n,i,r,o,d,c;(null==(a=e.display)||null==(t=a.thumbnail)?void 0:t.src)?(u.image={src:null==(i=e.display)?void 0:i.thumbnail.src},(null==(r=e.display)?void 0:r.thumbnail.gravity)&&(u.image.gravity=null==(o=e.display)?void 0:o.thumbnail.gravity)):u.subtitle=e.title,(null==(l=e.display)?void 0:l.participantStoryName)&&(u.name=null==(d=e.display)?void 0:d.participantStoryName),(null==(n=e.display)?void 0:n.participantStoryRole)&&(u.role=null==(c=e.display)?void 0:c.participantStoryRole)}return u}}(e)};if("Event"===a||"Event"===e.contentType)return{name:"EventFeedTease",props:(0,o.nk)(e)};if("Alumni Magazine"===c)return{name:"BookTease",props:(0,i.vY)(e)}}if("legacy"===t&&(0,s.M)("legacy",e)){if("Article"===(a=a||"Article"))return{name:"ArticleTease",props:(0,l.sM)(e)};if("Book"===a)return{name:"BookTease",props:(0,i.aT)(e)}}if("protected"===t&&(0,s.M)("legacy",e)){if("Article"===(a=a||"Article"))return{name:"ArticleTease",props:(0,l.sM)(e)};if("Event"===a)return{name:"EventFeedTease",props:(0,o.u5)(e)}}if("alumniDirectory"===t&&(0,s.M)("modern",e))return{name:"PersonSearchResultTease",props:function(e){if(e&&"object"==typeof e){let d={type:"PersonSearchResult",link:e.url};if(e.title&&(d.name=e.title),e.description&&(d.title=[e.description]),(0,s.M)("modern",e)){var t,a,l,n,i,r,o;
1if((null==(a=e.display)||null==(t=a.thumbnail)?void 0:t.src)&&(d.portrait={src:null==(o=e.display)?void 0:o.thumbnail.src,gravity:e.display.thumbnail.gravity,alt:e.display.thumbnail.alt,aspectRatio:e.display.thumbnail.aspectRatio}),e.location&&(d.location=e.location),(null==(n=e.display)||null==(l=n.degreeClassYear)?void 0:l.length)===1&&(d.degree=e.display.degreeClassYear.toString()),(null==(r=e.display)||null==(i=r.bio)?void 0:i.toLowerCase())==="deceased"&&(d.deceased=!0),e.url&&(d.link=e.url),d.link&&d.link.toLowerCase().indexOf("/community/pages/view-profile.aspx?alumid=")>-1){let e=d.link.toLowerCase().split("alumid=")[1];d.link="/directory/view-profile?alumId=".concat(e)}}return d}}(e)};console.warn("createSearchTease > search tease not yet implemented:",e,t,a)}},59815:()=>{},61221:(e,t,a)=>{"use strict";a.d(t,{A:()=>n,e:()=>i});var l=a(55729);let n=(0,l.createContext)({searchQuery:"",setSearchQuery:()=>null,debouncedQuery:""}),i=e=>{let t=(0,l.useContext)(n),[a,i]=(0,l.useState)(t.searchQuery);return(0,l.useEffect)(()=>{a!==t.searchQuery&&(i(t.searchQuery),(null==e?void 0:e.onSearchQueryChange)&&(null==e||e.onSearchQueryChange()))},[a,t.searchQuery,e]),{...t,handleInputKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),t.setSearchQuery(e.currentTarget.value))},handleMouseDown:e=>{var a,l,n;let i=null==(a=e.currentTarget)?void 0:a.previousElementSibling;(null==(n=e.currentTarget)||null==(l=n.previousElementSibling)?void 0:l.classList.contains("hbs-search-box__input"))&&(e.preventDefault(),t.setSearchQuery(i.value))}}}},61277:(e,t,a)=>{"use strict";a.d(t,{i:()=>i});var l=a(6029),n=a(30642);function i(e){return t=>{let{entry:a,options:i}=t,{getEntry:s,createEditAttributes:r}=(0,n.U)(),o=s(a);return(null==o?void 0:o.fields)&&(null==o?void 0:o.metadata)&&(null==o?void 0:o.sys.id)?(0,l.jsx)(e,{entry:o,options:i,createEditAttributes:r}):null}}},63984:(e,t,a)=>{"use strict";function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}a.d(t,{A:()=>l})},64473:()=>{},64672:(e,t,a)=>{"use strict";a.r(t),a.d(t,{ContentfulArchivePage:()=>en});var l=a(6029),n=a(55729),i=a(52229),s=a(61277),r=a(51747),o=a(75136),d=a(30642),c=a(65474),u=a(78678),h=a(75922),p=a(74425),f=a(88882),m=a(95738),v=a(61221),b=a(6726),g=a(43154),y=a(16848),_=a(85692),x=a(25692),j=a(52506),S=a(13403),w=a(67191),k=a(98895);let T=(0,y.j)(e=>{var t,a,i,s,r;let{entry:o,createEditAttributes:c,options:u}=e,{getEntry:h}=(0,d.U)(),p=h((0,b.l)().site),f=(0,k.V)(p),m=null==u?void 0:u.tabTitle,g=(null==u?void 0:u.headerAbove)||!1,y=h(o.fields.contentSource),T="";(null==y?void 0:y.fields.query)&&(T+=y.fields.query);let N=null==y||null==(a=y.fields)||null==(t=a.sort)?void 0:t.join(","),{searchQuery:I,debouncedQuery:L}=(0,v.e)(),C=(null==y?void 0:y.fields.index)||"modern",A={index:C,query:L,filters:T,from:0,size:5,sort:N,options:(null==y||null==(i=y.fields.options)?void 0:i.includes("useBoostScore"))?["useBoostScore"]:void 0},{data:E,isLoading:D}=(0,x.SQ)(A),P=[];null==E||null==(s=E.hits)||s.forEach((e,t)=>{var a,i,s,r;if((0,S.M)("modern",e)&&"hollis"===C){let t="category"in e&&e.category&&"object"==typeof e.category&&"label"in e.category&&"string"==typeof(null==(a=e.category)?void 0:a.label)?e.category.label:void 0,n={title:e.title,titleLink:e.url,description:((null==t?void 0:t.includes("Article"))?[...e.author||[],e.description]:[...e.author||[],"date"in e&&"string"==typeof e.date?e.date:void 0]).filter(e=>!!e&&"string"==typeof e).map(e=>(0,l.jsx)("p",{children:e},e))};t&&(n.category=t),P.push(n)}else{let a=(0,j.X)(e,C,void 0,f);if((null==a?void 0:a.props)&&"title"in a.props&&("string"==typeof a.props.title||(0,n.isValidElement)(a.props.title))){let e={title:a.props.title,titleLink:"link"in a.props?a.props.link:void 0,description:"tease"in a.props?a.props.tease:void 0};if("overline"in a.props&&a.props.overline&&"string"!=typeof a.props.overline?e.category=a.props.overline.label:"category"in a.props&&a.props.category&&"string"!=typeof a.props.category&&"label"in a.props.category&&a.props.category.label&&(e.category=a.props.category.label,e.categoryLink=a.props.category.link),"ArticleTease"===a.name&&(null==(i=a.props)?void 0:i.downloadLink)&&(e.downloadLink=a.props.downloadLink,e.display=a.props.display),e.title){let l=a.props&&"title"in a.props&&a.props.title?null==(s=a.props)?void 0:s.title:void 0,n=a.props&&"link"in a.props&&a.props.link?null==(r=a.props)?void 0:r.link:void 0;e.dataLayer={event:"search_result_click",event_data:{search_term:I,search_result_title:null==l?void 0:l.toString(),search_result_url:n,search_result_position:t+1,search_result_page:1,search_result_tab:m,bento_box_category_clicked:o.fields.title}},P.push(e)}}}});let B={title:o.fields.title||"",subtitle:o.fields.description?(0,l.jsx)(_.Q,{document:o.fields.description,disableParagraphs:!0}):void 0,noResultsText:o.fields.noResultsText?(0,l.jsx)(_.Q,{document:o.fields.noResultsText,disableParagraphs:!0}):void 0,showEmpty:!L,bentoItems:P,results:(null==E?void 0:E.total)!==void 0?"".concat(E.total.toLocaleStr
1ing("en-US")," result").concat(1===E.total?"":"s"):void 0,isLoading:D,HeadingLevel:g?"h3":"h2",HeadingLevelItem:g?"h4":"h3",editAttributes:{title:c({entry:o,fieldId:"title"}),subtitle:c({entry:o,fieldId:"description"}),noResultsText:c({entry:o,fieldId:"noResultsText"}),viewAll:c({entry:o,fieldId:"ctaLabel"})}};if(o.fields.ctaLabel&&(B.viewAllText=o.fields.ctaLabel),"hollis"===C)B.viewAllLink="https://hollis.harvard.edu/primo-explore/search?query=any,contains,".concat(encodeURIComponent(L),"&tab=everything&search_scope=everything&vid=HVD2");else if(o.fields.ctaLink){let e=h(o.fields.ctaLink),t=(0,w.q)(null==e||null==(r=e.fields)?void 0:r.title),a=new URL(window.location.href);a.hash="#".concat(t),t&&Array.from(a.searchParams.keys()).forEach(e=>{e.startsWith(t)&&a.searchParams.delete(e)}),B.viewAllLink=a.toString().replace(a.origin,"")}return B}),N=(0,y.j)(e=>{var t;let{entry:a,options:l}=e,{getEntries:n}=(0,d.U)(),i=[],s=null==l?void 0:l.tabTitle,r=null==l?void 0:l.headerAbove;return null==(t=n(a.fields.columns))||t.forEach(e=>{let t=T(e,{tabTitle:s,headerAbove:r});t&&i.push(t)}),{bentoBoxColumns:i}});var I=a(74171),L=a(13793),C=a(95689),A=a(11767),E=a(6216),D=a(57347),P=a(35745),B=a(91159),H=a(42744),M=a(94605),R=a(65104),O=a(87161);a(40663),a(46729);var F=a(92769),U=a(73318),q=a(38622),K=a(28207),z=a(75621),G=a(50212);function Q(e){let{items:t=[],title:a,onFacetChanged:i}=e,s=(0,n.useMemo)(()=>[...t].sort(e=>!0===e.checked?-1:1),[t]),{isDesktop:r}=(0,q.d)(),o=(0,n.useId)(),[d,c]=(0,n.useState)(!1),[u,h]=(0,n.useState)(5),[p,f]=(0,n.useState)(""),[m,v]=(0,n.useState)(""),b=(0,n.useRef)(null),g=(0,n.useRef)(null),[y,_]=(0,n.use
1State)(s.slice(0,5)),x=new Set(s.map(e=>{var t,a;return null!=(a=null==(t=e.name)?void 0:t.charAt(0).toLowerCase())?a:""})),j=e=>{var t,a,l,n,i;f(null!=(n=null==(t=e.currentTarget.textContent)?void 0:t.toLowerCase())?n:""),v(null!=(i=null==(a=e.currentTarget.textContent)?void 0:a.toLowerCase())?i:""),null==(l=g.current)||l.focus()},S=e=>{if("Enter"===e.key||" "===e.key||"Spacebar"===e.key||"Space"===e.key){var t,a,l,n,i;f(null!=(n=null==(t=e.currentTarget.textContent)?void 0:t.toLowerCase())?n:""),v(null!=(i=null==(a=e.currentTarget.textContent)?void 0:a.toLowerCase())?i:""),null==(l=g.current)||l.focus()}};return((0,n.useEffect)(()=>(r&&c(!0),()=>c(!1)),[r]),(0,n.useEffect)(()=>{_(s.filter(e=>{var t,a,l;return(null!=(l=null==(a=e.value)||null==(t=a.charAt(0))?void 0:t.toLowerCase())?l:"")===p}).slice(0,u))},[p,u,s]),0===s.length)?null:(0,l.jsx)(U.bL,{className:"hbs-facets",open:d,onOpenChange:c,children:(0,l.jsxs)("fieldset",{children:[(0,l.jsxs)(U.l9,{className:"hbs-facets__accordion-header-button",children:[(0,l.jsx)("legend",{className:"hbs-facets__title",children:a}),(0,l.jsx)(K.I,{name:"caretDown",className:"hbs-facets__caret"})]}),(0,l.jsxs)(U.UC,{className:"hbs-facets__accordion-menu",children:[(0,l.jsx)("div",{className:"hbs-facets__alphabetical-picker-wrapper",children:["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"].map(e=>(0,l.jsx)("div",{className:(0,G.A)(x.has(e)?(0,G.A)(m===e?"hbs-facets__alphabetical-picker-letter active":"hbs-facets__alphabetical-picker-letter"):"hbs-facets__alphabetical-picker-no-letter"),tabIndex:0,role:"button",onClick:j,onKeyDown:S,id:e,children:(0,l.jsx)("strong",{children:e.toUpperCase()})},e))}),(0,l.jsxs)("div",{className:""===p?(0,G.A)("hbs-global-visually-hidden","hbs-facets__alphabetical-picker-items"):"hbs-facets__alphabetical-picker-items",children:[y.map((e,t)=>{var a,n,s;return(0,l.jsxs)("div",{className:(null!=(s=null==(n=e.value)||null==(a=n.charAt(0))?void 0:a.toLowerCase())?s:"")===p?"hbs-facets__item":(0,G.A)("hbs-global-visually-hidden","hbs-facets__item"),children:[(0,l.jsxs)(F.bL,{className:"hbs-facets__checkbox",id:"facet-".concat(t+1,"-").concat(o),checked:e.checked,onCheckedChange:t=>{i&&("boolean"==typeof t?i(e,t):"string"==typeof t&&"indeterminate"===t&&i(e,!1))},ref:0===t?g:null,children:[(0,l.jsx)(F.C1,{children:(0,l.jsx)(K.I,{name:"check",className:"hbs-facets__check-icon"})}),(0,l.jsxs)("span",{className:"hbs-global-visually-hidden",children:["Filter by ",e.name," ",e.number]})]}),(0,l.jsxs)("label",{"aria-hidden":"true",className:"hbs-facets__label",htmlFor:"facet-".concat(t+1,"-").concat(o),children:[e.name," ",e.number&&(0,l.jsx)("span",{className:"hbs-facets__number",children:e.number})]})]},e.value)}),(0,l.jsx)("div",{className:"hbs-facets__item",children:y.length<s.filter(e=>{var t,a,l;return(null!=(l=null==(a=e.value)||null==(t=a.charAt(0))?void 0:t.toLowerCase())?l:"")===p}).length&&(0,l.jsx)(z.l,{className:"hbs-facets__more-button",isSmall:!0,hideIcon:!0,onClick:()=>(()=>{var e,a;let l=null==(a=b.current)||null==(e=a.parentNode)?void 0:e.previousSibling;if(l){let e=l.querySelector("button");e&&e.focus()}h(t.length)})(),ref:b,"aria-label":"More ".concat(a),children:"More"})})]})]})]})})}a(19480);let W=()=>{let[e,t]=(0,n.useState)(()=>window.location.hash),a=(0,n.useCallback)(()=>{t(window.location.hash)},[]);(0,n.useEffect)(()=>(window.addEventListener("hashchange",a),()=>{window.removeEventListener("hashchange",a)}),[]);let l=(0,n.useCallback)(t=>{t!==e&&window&&(window.location.hash=t)},[e]);return[e,l]},V=(0,y.j)(e=>{var t,a,s,o,c,u,h,p,f,m,g;let{entry:y,options:_}=e,[w]=W(),T=(0,i.useSearchParams)(),{getEntry:N,getEntries:M}=(0,d.U)(),{pushDataLayer:F}=(0,H.v)(),U=(0,b.l)(),q=(0,i.useRouter)(),K=(0,i.usePathname)(),z=(0,n.useRef)(null),G=(null==_?void 0:_.headerAbove)||!1,V=(0,n.useCallback)(e=>(null==_?void 0:_.slug)?"".concat(_.slug,"-").concat(e):e,[null==_?void 0:_.slug]),[J,Z]=(0,n.useState)(parseInt(T.get(V("page"))||"1",10)),X=null==_||null==(t=_.slug)?void 0:t.replace(/[^A-Za-z0-9]/g,""),Y=(null==_?void 0:_.order)||0,$=N(y.fields.contentSource),ee=(null==$?void 0:$.fields.index)||"modern",et=N(y.fields.facetConfig),ea=M(null==et?void 0:et.fields.facets),el=ea.filter(e=>(0,r.I)("termFacet",e)),en=ea.filter(e=>
1(0,r.I)("alphabeticalFacet",e)),{dateRange:ei,handleDatePickerSubmit:es,getEsDateFilters:er}=(0,E.Fi)(V),{selectedOptions:eo,getSelectedOptionsESFilters:ed,resetSelectedOptions:ec}=(0,B.KZ)(),eu=[];el.forEach(e=>{e.fields.field&&eu.push(e.fields.field)});let[eh,ep]=(0,n.useState)((0,E._k)(T,[...el,...en],V)),[ef,em]=(0,n.useState)((0,E.nf)(T,y.fields.sortOptions||[])),ev=Object.values(eh).flat(),eb=(0,n.useRef)(),eg=ef.sort?ef.sort.join(","):null==$||null==(s=$.fields)||null==(a=s.sort)?void 0:a.join(","),ey=parseInt((null==$?void 0:$.fields.limit)||"10",10),e_=ey*(J-1),ex=()=>{var e;let t=null==$||null==(e=$.fields)?void 0:e.sort;em(()=>({sort:t||[]}))},ej="";if((null==$?void 0:$.fields.query)&&(ej+=$.fields.query),eh&&Object.keys(eh).length>0){for(let[e,t]of Object.entries(eh))if(t.length>0){ej.startsWith("(")&&ej.endsWith(")")||(ej="("+ej+")");let a=ej?" AND ":"";ej+="".concat(a).concat(e,':("').concat(t.join('" OR "'),'")')}}ej&&!ej.startsWith("(")&&(ej="(".concat(ej,")"));let eS=ed(ej);eS&&(ej?(ej.startsWith("(")||(ej="(".concat(ej,")")),ej+=eS):ej=eS);let ew=er(ej,ee);if(ew)ej+=ew;else if(null==ej?void 0:ej.includes("HBSSubset:AlumniEvents")){let e="AND HBSEndDate:[now/d TO *]";ej=-1===ej.indexOf(e)?"".concat(ej," ").concat(e):ej}let ek=Object.values(eo).filter(Boolean),eT=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];Z(e),t&&(()=>{if(!0!==window.matchMedia("(prefers-reduced-motion: reduce)").matches){var e;null==(e=z.current)||e.scrollIntoView()}})()},eN=()=>{1!==J&&eT(1,!1)},{searchQuery:eI,debouncedQuery:eL,setSearchQuery:eC}=(0,v.e)({onSearchQueryChange:()=>{eN()}}),eA=null==(c=U.session)||null==(o=c.user)?void 0:o.id,eE=[];(null==$||null==(u=$.fields.options)?void 0:u.includes("useBoostScore"))&&eE.push("useBoostScore"),eA&&eE.push("personId:".concat(eA));let eD={facets:eu,index:ee,query:eL,filters:ej||void 0,from:e_,size:e
1y,sort:eg,facetLimit:en.length>0?500:200,options:eE.length>0?eE:void 0},{data:eP,error:eB}=(0,x.SQ)(eD),eH=N(U.entry),eM=(null==eH?void 0:eH.fields)&&"template"in eH.fields?null==eH?void 0:eH.fields.template:void 0;(0,n.useEffect)(()=>{window.onpopstate=e=>{e.state&&history.go(0)}}),(0,n.useEffect)(()=>{(null==eB?void 0:eB.status)===403&&"classnotes"===ee&&"/access-denied"!==K&&(console.warn("User doesn't have access."),q.replace("/access-denied"))},[null==eB?void 0:eB.status,K,q,ee]),(0,n.useEffect)(()=>{let e=new URL(window.location.href);if(J>1?e.searchParams.set(V("page"),J.toString()):e.searchParams.delete(V("page")),Object.entries(eh).length>0)for(let[t,a]of Object.entries(eh))for(let l of(e.searchParams.delete(V(t)),a))e.searchParams.append(V(t),l);else el.forEach(t=>{let a=t.fields.field;a&&e.searchParams.delete(V(a))}),ea.forEach(t=>{if((0,r.I)("alphabeticalFacet",t)){let a=t.fields.field;a&&e.searchParams.delete(V(a))}});if(Object.entries(ef).length>0)for(let[t,a]of Object.entries(ef))for(let l of(e.searchParams.delete(V(t)),a))e.searchParams.append(V(t),l);!eL&&e.searchParams.get("q")&&e.searchParams.delete("q"),eb.current&&eb.current!==e.href&&(ea.length||J>1)&&window.history.pushState({},"",e),eb.current=e.href},[eh,ef,el,ea,J,V,eL]);let eR=(0,n.useRef)(eP);(0,n.useEffect)(()=>{let e=new URL(window.location.href);if(JSON.stringify(eR.current,null,2)!==JSON.stringify(eP,null,2)&&("#"+X===w||""===w&&0===Y)){var t,a;let l="",n="",i="",s=0;if(eh)for(let[e,t]of Object.entries(eh))t.length>0&&(s+=t.length,l+=""!==l?",".concat(e):e,n+=0!==n.length?",".concat(t.join(",")):t.join(","),i+=0!==i.length?",".concat(e,":").concat(t.join(",")):"".concat(e,":").concat(t.join(",")));let r=e.href.includes("search")?"search-primary":"search-secondary",o=null!=(a=null==eP||null==(t=eP.hits)?void 0:t.some(e=>{var t,a;return(0,S.M)("modern",e)&&null!=(a=null==(t=e.subset)?void 0:t.includes("bestBet"))&&a}))&&a;F({event:eP&&eP.total<1?"no_search_results":"search_results",event_data:{search_term:e.searchParams.get("q")||void 0,search_numresults:(null==eP?void 0:eP.total)||0,search_type:r,search_type_ahead:!1,search_result_page:!eP||eP.total<1?0:J,search_result_page_url:window.location.href.split("?")[0],search_result_tab:X,search_result_best_bet:o,facet_filter_category:l,facet_filter_value:n,facet_filter_full:i,facet_filter_depth:s,explore_search:e.href.includes("/knowledge/explore")}}),eR.current=eP}},[J,eP,eh,V,F,w,X]);let eO="",eF="",eU="";if(eh){for(let[e,t]of Object.entries(eh))if(t.length>0){eO=e,eF=t.join(","),eU="".concat(e,":").concat(t.join(",")),ej.startsWith("(")&&ej.endsWith(")")||(ej="("+ej+")");let a=ej?" AND ":"";ej+="".concat(a).concat(e,':("').concat(t.join('" OR "'),'")')}}let eq=[];if(null==eP?void 0:eP.total)for(let e of Array(Math.ceil(eP.total/ey)).keys()){let t=e+1,a=new URL(window.location.href);a.searchParams.set(V("page"),t.toString()),eq.push({number:t,link:a.toString(),isCurrent:t===J})}let eK=[],ez=[],eG=N(U.site),eQ=(0,k.V)(eG),eW={event:"search_result_click",event_data:{search_term:eI,search_result_page:J,search_result_tab:X,facet_filter_category:eO,facet_filter_value:eF,facet_filter_full:eU,explore_search:U.request.path.includes("/knowledge/"),explore_search_info_box_clicked:""}};function eV(){eC(""),ep({}),ex(),eN(),ec(),es({from:void 0,to:void 0})}null==eP||null==(h=eP.hits)||h.forEach((e,t)=>{let a;(0,S.M)("legacy",e)&&"AlumniEvents"===e.HBSDataSource&&(a="Event");let l=(0,j.X)(e,ee,a,eQ,eM,{pageProps:U});if(l){if(l.props){var n;let a=l.props&&"tease"in l.props&&l.props.tease?null==(n=l.props)?void 0:n.tease:void 0;a&&"string"==typeof a&&/^[^\w\s<]/.test(a)&&(a=a.replace(/^[^\w\s<]+/,"").trim()),a&&"tease"in l.props&&(l.props.tease=a),l.props.onClick=()=>{var a,n,i;let s=l.props&&"title"in l.props&&l.props.title?null==(a=l.props)?void 0:a.title:void 0,r=l.props&&"link"in l.props&&l.props.link?null==(n=l.props)?void 0:n.link:void 0,o=(0,S.M)("modern",e)&&(null==(i=e.subset)?void 0:i.includes("bestBet"))?null==s?void 0:s.toString():void 0;eW.event_data.search_result_title=null==s?void 0:s.toString(),eW.event_data.search_result_url=r,eW.event_data.search_result_position=t,eW.event_data.search_result_best_bet_clicked=o,F(eW)}}if("Person Profiles"===eM)eK.push(l);else if("Alumni Magazine"===eM)eK.push(l);else{if("ArticleTease"===l.name){let e=l.props;(null==e?void 0:e.byline)&&(e.byline.disableLinks=!0),(null==e?void 0:e.variant)==="profile"&&(e.variant="profile-search",e.image&&(e.image.as
1pectRatio="1/1")),e&&(e.showSource=!0)}ez.push(l)}}});(function(e){let t="(min-width: ".concat(e,"px)"),[a,l]=(0,n.useState)(window.matchMedia(t).matches);(0,n.useEffect)(()=>{function e(e){l(e.matches)}let a=window.matchMedia(t);return a.addEventListener("change",e),()=>{a.removeEventListener("change",e)}},[t])})(O.LO.DESKTOP_XL);let eJ=ef.sort,eZ=eJ?eJ[0]:void 0,eX=(null==$||null==(p=$.fields)?void 0:p.sort)?$.fields.sort[0]:void 0,eY=[];y.fields.sortOptions&&y.fields.sortOptions.length>0&&!eX&&eY.push({value:"reset",label:"Relevancy"}),y.fields.sortOptions&&eY.push(...y.fields.sortOptions.map(e=>({value:"classnotes"===ee||"legacy"===ee||"protected"===ee?E.b1[e]:E.Am[e],label:e})));let e$=y.fields.sortOptions&&y.fields.sortOptions.length>0?{options:eY,onChange:e=>{"reset"===e.target.value?ex():em(t=>{let a={...t};return a.sort=[e.target.value],a})},selectedOption:eZ||((null==$||null==(f=$.fields)?void 0:f.sort)?$.fields.sort[0]:void 0)}:void 0;return{aside:(0,l.jsxs)(l.Fragment,{children:[(null==et||null==(m=et.fields)?void 0:m.showSearchBox)&&(0,l.jsx)(L.G,{searchTerm:eI,handleSearch:e=>{eC(e),eN()},handleKeydownSearch:e=>{"Enter"===e.key&&(e.preventDefault(),eC(e.currentTarget.value),eN())},handleMousedownSearch:e=>{var t,a,l;let n=null==(t=e.currentTarget)?void 0:t.previousElementSibling;(null==(l=e.currentTarget)||null==(a=l.previousElementSibling)?void 0:a.classList.contains("hbs-search-box__input"))&&(e.preventDefault(),eC(n.value),eN())},placeholder:(null==et||null==(g=et.fields)?void 0:g.placeholder)||"",isSmall:!0}),null==ea?void 0:ea.map(e=>{var t,a,n,i,s,o,d,c,u,h;if((0,r.I)("termFacet",e)){let r=e.fields.field;if(!r)return null;let o=[];if(e.fields.vocabulary){let a=N(e.fields.vocabulary);if(null==a||null==(t=a.sys)?void 0:t.id){let{data:e}=(0,R.s)({url:"/api/search/hierarchy",params:{vocabulary:a.sys.id}});e&&(o=e.results)}}let d=[];if(o.length){let e=new Map;null==eP||null==(n=eP.facets)||null==(a=n[r])||a.forEach(t=>e.set(t.name,t));let t=new Map;o.forEach(a=>{var l,n,i;let s=e.get(a.title),o={id:a.id,value:a.title,name:a.title,checked:(null==(l=eh[r])?void 0:l.includes(a.title))||!1,number:null!=(i=null==s||null==(n=s.count)?void 0:n.toString())?i:void 0,broaderTerm:a.broaderTerm||null,items:[]};t.set(a.id,o)}),t.forEach(e=>{if(e.broaderTerm&&t.has(e.broaderTerm)&&e.number){let a=t.get(e.broaderTerm);e={...e,parent:a},a.items.push(e)}else e.number&&d.push(e)}),d=function e(t){return t.sort((e,t)=>e.name.localeCompare(t.name)).map(t=>({...t,children:t.items?e(t.items):[]}))}(d)}else null==eP||null==(s=eP.facets)||null==(i=s[r])||i.forEach(e=>{var t;d.push({name:e.name,value:e.name,checked:(null==(t=eh[r])?void 0:t.includes(e.name))||!1,number:e.count.toString()})});return(0,l.jsx)(I.c,{title:e.fields.label,items:d,onFacetChanged:(e,t)=>{ep(a=>{if(!e.value)return a;let l=new Set(a[r]||[]),n=new Set,i=new Set,s=e=>{var t;e.value&&n.add(e.value),null==(t=e.items)||t.forEach(s)};if(t){var o,d;(null==(o=e.parent)?void 0:o.value)&&n.add(e.parent.value),i.add(e.value),(null==(d=e.items)?void 0:d.length)&&e.items.forEach(s)}else n.add(e.value);let c=Array.from(new Set([...l].filter(e=>!n.has(e)).concat([...i])));return{...a,[r]:c}}),eN()}},r)}if((0,r.I)("datePickerFacet",e))return(0,l.jsx)(P.L,{selectedRange:ei,handleDatePickerSubmit:e=>{es(e),eN()},startDate:"mm/dd/yyyy",endDate:"mm/dd/yyyy",label:null!=(o=e.fields.label)?o:""},null!=(d=e.fields.label)?d:"date-picker");if((0,r.I)("alphabeticalFacet",e)){let t=e.fields.field;if(!t)return null;let a={...eD,facets:[t],from:void 0,sort:void 0,size:0,facetLimit:2500},n=(0,x.SQ)(a),i=[],s=eh[t]||[];s.forEach(e=>{var a,l,s,r;i.push({name:e,count:(null==(r=n.data)||null==(s=r.facets)||null==(l=s[t])||null==(a=l.find(t=>t.name===e))?void 0:a.count)||0})}),null==(h=n.data)||null==(u=h.facets)||null==(c=u[t])||c.forEach(e=>{s.includes(e.name)||i.push(e)});let r=i.concat(s.filter(e=>!i.some(t=>t.name===e)).map(e=>({name:e,count:0}))).sort((e,t)=>e.name.localeCompare(t.name)).map(e=>({name:e.name,value:e.name,checked:s.includes(e.name),number:e.count.toString()}));return(0,l.jsx)(Q,{title:e.fields.label,items:r,onFacetChanged:(e,a)=>{ep(l=>{let n={...l};return a&&e.value?n[t]=[...n[t]||[],e.value]:e.value&&(n[t]=(n[t]||[]).filter(t=>t!==e.value)),n}),eN()}},t)}return null})]}),children:(0,l.jsx)(l.Fragment,{children:"Person Profiles"===eM||"Alumni Magazine"===eM?(0,l.jsx)(D.t,{align:"wide",teaseStyle:"Alumni Magazine"===eM?"expanded":"full",teases:eK,wrap:"wrap",teasesPerRow:"Alumni Magazine"===eM?"3":"4",totalHits:null==eP?void 0:eP.total,error:null==eP?void 0:eP.error,searchInfo:(0,l.jsx)(C.I,{totalHits:null==eP?void 0:eP.total,searchQuery:eI,facetValues:ev.concat(ek),dateRange:ei,onClearAll:eV})}):(0,l.jsx)(A.z,{ref:z,align:"wide",teaseStyle:"full",totalHits:null==eP?void 0:eP.total,error:null==eP?void 0:eP.error,searchInfo:(0,l.jsx)(C.I,{totalHits:null==eP?void 0:eP.total,searchQuery:eI,facetValues:ev.concat(ek),dateRange:ei,onClearAll:eV}),sortByOptions:e$,items:ez,HeadingLevel:G?"h3":"h2",showEndOfResults:!!(eP&&(null==eP?void 0:eP.total)>1e4&&J*ey>=1e4)})}
1),pagination:{pages:eq,size:ey,onPageClick:e=>{eT(e.number)}},rightRail:!1}});a(2578);var J=a(17815),Z=a(47387);function X(e){let{title:t,subtitle:a,bentoItems:n,viewAllLink:i,viewAllText:s,results:r,noResultsText:o=(0,l.jsx)("p",{children:"Try adjusting your search terms to find what you are looking for."}),showEmpty:d,isLoading:c=!1,HeadingLevel:u="h2",HeadingLevelItem:h="h3",editAttributes:p}=e,{pushDataLayer:f}=(0,H.v)();if(c)return(0,l.jsxs)("div",{className:"hbs-bento-column","data-theme":"white",children:[(0,l.jsxs)("div",{className:"hbs-bento-column__header",children:[(0,l.jsx)(u,{className:"hbs-bento-column__title",children:t}),(0,l.jsx)("p",{className:"hbs-bento-column__description",children:a})]}),(0,l.jsx)("p",{className:"hbs-global-visually-hidden",children:"loading"}),(0,l.jsx)("ul",{className:"hbs-bento-items",children:[1,2,3,4,5].map((e,t)=>(0,l.jsx)("li",{className:"hbs-bento-item",children:(0,l.jsxs)("div",{className:"hbs-bento-item__content",children:[(0,l.jsx)(Z.NZ,{size:"lg",width:"10",className:"hbs-bento-item__content--category-shimmer"}),(0,l.jsx)(Z.NZ,{rows:3,size:"xs"})]})},t))}),(0,l.jsxs)("div",{className:"hbs-bento-footer",children:[(0,l.jsx)(Z.e6,{size:"md"}),(0,l.jsx)(Z.e6,{size:"sm"})]})]});let m=!!(i&&(null==n?void 0:n.length)),v=!!(r&&!d);return(0,l.jsxs)("div",{className:"hbs-bento-column",children:[(0,l.jsxs)("div",{className:"hbs-bento-column__header",children:[(0,l.jsx)(u,{...null==p?void 0:p.title,className:"hbs-bento-column__title",children:t}),(0,l.jsx)("p",{...null==p?void 0:p.subtitle,className:"hbs-bento-column__description",children:a})]}),(0,l.jsx)("ul",{className:"hbs-bento-items",children:(null==n?void 0:n.length)?n.map((e,t)=>{var a;let n;e.display&&(n=e.display);let i=e.description;if(i&&"string"==typeof i){let e=i.split(" ");e.length>18&&(i="".concat(e.splice(0,18).join(" "),"â¦"))}return(0,l.jsx)("li",{className:"hbs-bento-item",children:(0,l.jsxs)("div",{className:"hbs-bento-item__content",children:[(null==n||null==(a=n.caseCategory)?void 0:a.label)?(0,l.jsx)("span",{className:"hbs-bento-item__category",children:n.caseCategory.label}):e.category?(0,l.jsx)("span",{className:"hbs-bento-item__category",children:e.categoryLink?(0,l.jsx)(J.N,{href:e.categoryLink,className:"hbs-bento-item__category-link",onClick:()=>{var a,l,n;f({event:(null==(a=e.dataLayer)?void 0:a.event)||"search_result_click",event_data:(null==(l=e.dataLayer)?void 0:l.event_data)||{search_term:"",search_result_title:null==(n=e.title)?void 0:n.toString(),search_result_url:e.titleLink,search_result_position:t+1,search_result_page:1}})},children:e.category}):e.category}):null,(0,l.jsxs)(h,{className:"hbs-bento-item__title",children:[e.title&&"string"==typeof e.title&&(0,l.jsx)(J.N,{href:e.titleLink,className:"hbs-bento-item__title__link",dangerouslySetInnerHTML:{__html:e.title},onClick:()=>{var a,l,n;f({event:(null==(a=e.dataLayer)?void 0:a.event)||"search_result_click",event_data:(null==(l=e.dataLayer)?void 0:l.event_data)||{search_term:"",search_result_title:null==(n=e.title)?void 0:n.toString(),search_result_url:e.titleLink,search_result_position:t+1,search_result_page:1}})}}),e.title&&"string"!=typeof e.title&&(0,l.jsx)(J.N,{href:e.titleLink,className:"hbs-bento-item__title__link",onClick:()=>{var a,l,n;f({event:(null==(a=e.dataLayer)?void 0:a.event)||"search_result_click",event_data:(null==(l=e.dataLayer)?void 0:l.event_data)||{search_term:"",search_result_title:null==(n=e.title)?void 0:n.toString(),search_result_url:e.titleLink,search_result_position:t+1,search_result_page:1}})},children:e.title})]}),(null==n?void 0:n.caseHead)&&(0,l.jsx)("div",{className:"hbs-bento-item__description",children:n.caseHead}),(null==n?void 0:n.caseHead)||!i||"string"!=typeof i?(null==n?void 0:n.caseHead)||!i?null:(0,l.jsx)("div",{className:"hbs-bento-item__description",children:i}):(0,l.jsx)("div",{className:"hbs-bento-item__description",dangerouslySetInnerHTML:{__html:i}}),e.downloadLink&&(0,l.jsx)("div",{className:"hbs-bento-item__download",children:(0,l.jsx)(J.N,{className:"hbs-bento-item__download-link",href:e.downloadLink.link,onClick:()=>{var a,l,n,i,s,r,o,d,c;f({event:(null==(a=e.dataLayer)?void 0:a.event)||"search_result_click",event_data:{search_term:(null==(n=e.dataLayer)||null==(l=n.event_data)?void 0:l.search_term)||"",search_result_title:null==(i=e.downloadLink)?void 0:i.label,search_result_url:null==(s=e.downloadLink)?void 0:s.link,search_result_position:(null==(r=e.dataLayer)?void 0:r.event_data.search_result_position)||t+1,search_result_page:(null==(o=e.dataLayer)?void 0:o.event_data.search_result_page)||1,bento_box_category_clicked:null==(d=e.dataLayer)?void 0:d.event_data.bento_box_category_clicked,search_result_tab:null==(c=e.dataLayer)?void 0:c.event_data.search_result_tab}}
1)},children:e.downloadLink.label})})]})},t)}):(0,l.jsx)("li",{className:"hbs-bento-item",children:(0,l.jsx)("div",{className:"hbs-bento-item__content",children:(0,l.jsx)("div",{className:"hbs-bento-item__description hbs-bento-item__description--no-results",children:d?(0,l.jsxs)("span",{children:["Try searching for a specific term to view results from"," ",t,"."]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{children:"No results found."}),(0,l.jsx)("span",{...null==p?void 0:p.noResultsText,children:o})]})})})})}),m&&v?(0,l.jsxs)("div",{className:"hbs-bento-footer",children:[m&&(0,l.jsx)(z.l,{editAttributes:null==p?void 0:p.viewAll,href:i,type:"primary-button",isSmall:!0,children:null!=s?s:"View all"}),v&&(0,l.jsx)("p",{className:"hbs-bento-results",children:r})]}):null]})}function Y(e){let{bentoBoxColumns:t,noResultsText:a}=e;return(0,l.jsx)("div",{className:"hbs-bento-box",children:t.map((e,t)=>(0,l.jsx)(X,{noResultsText:a,...e},t))})}var $=a(48741);let ee=(0,y.j)(e=>{let{entry:t,options:a,createEditAttributes:n}=e,{getEntry:i}=(0,d.U)(),s=i(t.fields.content),r=null;if((e=>void 0!==e&&"columns"in e.fields)(s)){let e=N(s,{tabTitle:t.fields.title,headerAbove:!0});e&&(r=(0,l.jsx)(Y,{...e}))}else if((e=>void 0!==e&&"contentSource"in e.fields)(s)){let e=V(s,{slug:t.fields.title?"#"+t.fields.title.replace(/[^A-Za-z0-9]/g,""):void 0,headerAbove:!0,order:null==a?void 0:a.order});e&&(r=(0,l.jsx)($.r,{...e}))}return{tabLabel:t.fields.title||"",tabContent:r,editAttributes:{tabLabel:n({entry:t,fieldId:"title"})}}}),et=(0,y.j)(e=>{var t;let{entry:a}=e,{getEntries:l}=(0,d.U)(),n={ariaLabel:"Search content tabs",tabs:[]};return null==(t=l(a.fields.tabs))||t.forEach((e,t)=>{let a=ee(e,{order:t});a&&n.tabs.push(a)}),n}),ea=e=>void 0!==e&&"tabs"in e.fields,el=e=>{var t;let a,{entry:s}=e,{siteArchivePageSettings:m}=(0,b.l)(),{site:y,getEntry:_}=(0,d.U)(),{breadcrumbs:x}=(0,o.b)(),{pushDataLayer:j}=(0,H.v)(),S=(0,n.useRef)(!1),k=(0,i.useSearchParams)(),[T,I]=(0,n.useState)(k.get("q")||""),[L]=W(),C=(0,n.useRef)(),A=_(s.fields.body);if(ea(A)){let e=et(A);e&&(a=(0,l.jsx)(w.t,{...e}))}else if((e=>void 0!==e&&"columns"in e.fields)(A)){let e=N(A);e&&(a=(0,l.jsx)(Y,{...e}))}else{let e=V(A);e&&(a=(0,l.jsx)($.r,{...e}))}let{handleInputKeyDown:E,handleMouseDown:D}=(0,v.e)(),P=(0,p.h)(s.fields.topper);return(0,r.I)("searchTopper",_(s.fields.topper))&&(P.props={...P.props,query:T,onChange:e=>{e!==T&&I(e)},onKeyDown:E,onMouseDown:D}),(0,n.useEffect)(()=>{if(ea(A)){let e=!0,t=!1,l=!1,n=[],i=a.props.tabs;if(i.forEach((a,i)=>{var s,r,o;(null==a||null==(r=a.tabContent)||null==(s=r.props)?void 0:s.bentoBoxColumns)&&(t=!0,0===i&&(l=!0),null==(o=a.tabContent.props.bentoBoxColumns)||o.forEach(t=>{t.isLoading&&(e=!1)}),a.tabLabel&&n.push("#"+a.tabLabel.replace(/[^A-Za-z0-9]/g,"")))}),t&&e&&"string"==typeof L&&C.current!==L&&(n.includes(L)||""===L&&l)){let e=new URL(window.location.href),t=[],a=[],l=e.href.includes("search")?"search-primary":"search-secondary";i.forEach(e=>{var l;null==(l=e.tabContent.props.bentoBoxColumns)||l.forEach(e=>{if(!1===e.isLoading&&!t.includes(e.title)){var l,n;t.push(e.title),a.push((null==(n=e.results)||null==(l=n.split(" ")[0])?void 0:l.replaceAll(",",""))||"")}})}),j({event:"bento_box_search_results",event_data:{search_term:e.searchParams.get("q")||"",search_type:l,search_result_page_url:window.location.href.split("?")[0],bento_box_category:t.join(","),bento_box_numresults:a.join(",")}})}e!==S.current&&(S.current=e,"string"==typeof L&&C.current!==L&&(C.current=L))}},[A,j]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.n,{entry:s.fields.seo}),(0,l.jsx)(f.C,{theme:null==(t=_(m))?void 0:t.fields.colorThemeOverride,header:{name:"SiteHeader",props:(0,h.L)(y)},footer:(0,u.v)(null==y?void 0:y.fields.footer),topper:P,breadcrumbs:x,body:{topContent:(0,l.jsx)(g.A,{entry:s,options:{key:"topContent"}}),content:a,preFooterContent:(0,l.jsx)(g.A,{entry:s,options:{key:"preFooterContent"}})}})]})},en=(0,s.i)(e=>{let{entry:t}=e,a=(0,i.useSearchParams)(),[s,r]=(0,n.useState)(decodeURI(a.get("q")||"")),o=(0,m.d)(s,300),d=(0,n.useRef)();return(0,n.useEffect)(()=>{let e=new URL(window.location.href);o?e.searchParams.set("q",encodeURI(o)):e.searchParams.delete("q"),d.current&&d.current!==e.href&&window.history.pushState({},"",e),d.current=e.href},[o]),(0,l.jsx)(v.A.Provider,{value:{searchQuery:s,setSearchQuery:r,debouncedQuery:o},children:(0,l.jsx)(B.G6,{topper:t.fields.topper,children:(0,l.jsx)(el,{entry:t})})})})},65474:(e,t,a)=>{"use strict";a.d(t,{n:()=>p});var l=a(6029),n=a(47179),i=a(62793),s=a(30642),r=a(6726),o=a(49572),d=a(23185),c=a(51747),u=a(911);function h(e){return e&&"object"==typeof e&&Array.isArray(e.content)?(0,u.Q)((0,d.C)(e).replace(/\s\s+/g," ")):""}function p(e){var t,a,d,u,p,f,m;let{entry:v,...b}=e,{request:g,...y}=(0,r.l)(),{getEntry:_,site:x,isEditorMode:j,isPageLoaded:S}=(0,s.U)();v=_(v);let{title:w,description:k}=function(e){let{title:t,description:a}=e,{entry:l}=(0,r.l)(),{getEntry:n,site:i}=(0,s.U)(),o=n(l);if(!t||!a){if(null==o?void 0:o.fields){if("topper"in o.fields&&o.fields.topper&&"object"==typeof o.fields.topper){let e=n(o.fields.topper);e&&(!t&&"title"in e.fields&&"string"==typeof e.fields.title&&(t=e.fields.title),!a&&"subtitle"in e.fields&&e.fields.subtitle&&("string"==typeof e.fields.subtitle?a=e.fields.subtitle:"object"==typeof e.fields.subtitle&&(a=h(e.fields.subtitle))))}if(!t&&o.fields.title&&(t=o.fields.title),!t&&(0,c.I)("participantStory",o)&&o.fields.subTitle&&(t=o.fields.subTitle),!a||a.length<30)if((0,c.I)("profilePage",o)){if(o.fields.profile){let e=n(o.fields.profile);(0,c.I)("personWrapper",e)&&(e=n(e.fields.person)),(null==e?void 0:e.fields.bio)&&
1(a=h(e.fields.bio))}}else{let e=[];for(let t of("body"in o.fields&&Array.isArray(o.fields.body)&&(e=o.fields.body),"blocks"in o.fields&&Array.isArray(o.fields.blocks)&&(e=o.fields.blocks),e)){let e=n(t);if((0,c.I)("richText",e)&&e.fields.text){a=h(e.fields.text);break}if((0,c.I)("ctaBanner",e)&&e.fields.subtitle){a=h(e.fields.subtitle);break}if((0,c.I)("sectionIntroText",e)){if(e.fields.intro){a=h(e.fields.intro);break}else if(e.fields.bodyText){a=h(e.fields.bodyText);break}}if((0,c.I)("timelineEvent",e)){if(e.fields.title){a=h(e.fields.title);break}if(e.fields.description){a=h(e.fields.description);break}}}}}(null==i?void 0:i.fields.title)&&(t=t&&i.fields.title!==t?t+" | "+i.fields.title:i.fields.title+" | Harvard Business School")}return t||(t="Harvard Business School"),a||(a=t),{title:t,description:a=a.substring(0,160)}}({title:null!=(p=null!=(u=b.title)?u:null==v?void 0:v.fields.title)?p:"",description:null!=(m=null!=(f=b.description)?f:null==v?void 0:v.fields.description)?m:""}),T=_(null==v||null==(t=v.fields)?void 0:t.openGraphMedia),N=(0,i.N2)(T),I=null==v?void 0:v.fields.canonicalUrl;I||(I="https://".concat(g.host).concat(g.path));let L=o.e8.DEFAULT;(null==x?void 0:x.fields.domain)==="exed"&&(L=o.e8.EXED),(null==x?void 0:x.fields.domain)==="online"&&(L=o.e8.ONLINE),(null==x?void 0:x.fields.domain)==="my"&&(L=o.e8.MY);let C={...b.pageLoadEventData};(null==x?void 0:x.fields.slug)&&(C.profile_code="/"===x.fields.slug?x.fields.domain:x.fields.slug),(null==(d=y.session)||null==(a=d.user)?void 0:a.id)&&(C.pid=y.session.user.id),g.query.gtag&&(L="false"===g.query.gtag?void 0:g.query.gtag),(!S||j)&&(L=void 0);let A=(null==v?void 0:v.fields.searchIndexSetting)==="HBS Search only"||(null==v?void 0:v.fields.searchIndexSetting)==="Hidden";return(0,l.jsx)(n.p,{gtagId:L,title:w,description:k,canonicalUrl:I,openGraphDescription:null==v?void 0:v.fields.openGraphDescription,image:null==N?void 0:N.image,noIndex:A,noFollow:null==v?void 0:v.fields.noFollow,convertId:null==v?void 0:v.fields.convertId,...b,pageLoadEventData:C})}},67191:(e,t,a)=>{"use strict";a.d(t,{q:()=>r,t:()=>d});var l=a(6029),n=a(55729);a(64473);var i=a(44377),s=a(50212);let r=e=>e?e.replace(/[^A-Za-z0-9]/g,""):"";function o(e){window.history.pushState({},"","#".concat(e)),dispatchEvent(new CustomEvent("hashchange",{detail:e||""}))}function d(e){var t;let{tabs:a,ariaLabel:d,align:c,HeadingLevel:u="h2"}=e,h=(0,s.A)(c&&"hbs-global-align-".concat(c," hbs-component--tabs")),p=(0,n.useRef)([]),f=(0,n.useRef)(),m=()=>{let e=window.location.hash.replace("#",""),t=p.current.find(t=>t.dataset.hash===e);if(t){t.focus();let e=p.current.find(e=>"true"===e.getAttribute("aria-selected")),a=new CustomEvent("hashchange",{detail:t||(null==e?void 0:e.dataset.hash)});e&&f.current===(null==e?void 0:e.dataset.hash)||(f.current=(null==e?void 0:e.dataset.hash)||"",dispatchEvent(a))}};return(0,n.useEffect)(()=>(m(),window.addEventListener("hashchange",m),()=>window.removeEventListener("hashchange",m)),[]),(0,l.jsx)("div",{className:h,"data-region":"p__tabs",children:(0,l.jsx)("div",{className:"hbs-tabs",children:(0,l.jsxs)(i.bL,{className:"hbs-tabs__wrapper",defaultValue:r(null==(t=a[0])?void 0:t.tabLabel),onValueChange:o,children:[(0,l.jsx)(i.B8,{className:"hbs-tabs__trigger-list","aria-label":d||"Tabs",children:a.map((e,t)=>{var a;let s=r(null==e?void 0:e.tabLabel);return(0,n.createElement)(i.l9,{...null==(a=e.editAttributes)?void 0:a.tabLabel,key:t+s,value:s||"","data-hash":s,className:"hbs-tabs__tab-trigger",ref:e=>{e&&p.current.push(e)}},(0,l.jsx)(u,{className:"hbs-tabs__tab-header",children:e.tabLabel}))})}),a.map((e,t)=>(0,l.jsx)(i.UC,{value:r(null==e?void 0:e.tabLabel),className:(0,s.A)("hbs-tabs__tab-content",e.tabContentPadding&&"hbs-tabs__tab-content--padding"),children:e.tabContent},t))]})})})}},72037:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var l=a(63984),n=a(85351);function i(e){(0,n.A)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,l.A)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.
11 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}},73190:()=>{},74171:(e,t,a)=>{"use strict";a.d(t,{c:()=>c});var l=a(6029);a(46729);var n=a(55729),i=a(92769),s=a(73318),r=a(38622),o=a(75621),d=a(28207);function c(e){let{items:t=[],title:a,onFacetChanged:i,editAttributes:c}=e,{isDesktop:h}=(0,r.d)(),[p,f]=(0,n.useState)(!1),[m,v]=(0,n.useState)(!1),[b,g]=(0,n.useState)(5),y=(0,n.useRef)(null),[_,x]=(0,n.useState)(t.slice(0,b)),j=m?t:_;return((0,n.useEffect)(()=>(h&&f(!0),()=>f(!1)),[h]),(0,n.useEffect)(()=>{x(t.slice(0,b))},[t,b]),0===t.length)?null:(0,l.jsx)(s.bL,{className:"hbs-facets",open:p,onOpenChange:f,children:(0,l.jsxs)("fieldset",{children:[(0,l.jsxs)(s.l9,{className:"hbs-facets__accordion-header-button",children:[(0,l.jsx)("legend",{className:"hbs-facets__title",...null==c?void 0:c.fieldLabel,children:a}),(0,l.jsx)(d.I,{name:"caretDown",className:"hbs-facets__caret"})]}),(0,l.jsxs)(s.Ke,{className:"hbs-facets__accordion-menu",children:[(0,l.jsx)(u,{items:j,onFacetChanged:i,depth:1}),(0,l.jsx)("div",{className:"hbs-facets__item",children:(m&&t.length>5||_.length<t.length)&&(0,l.jsx)(o.l,{className:"hbs-facets__more-button",isSmall:!0,hideIcon:!0,onClick:()=>{t.length<=5||v(e=>{let a=!e;if(a){var l,n;g(t.length);let e=null==(n=y.current)||null==(l=n.parentNode)?void 0:l.previousSibling;if(e){let t=e.querySelector("button");t&&t.focus()}g(t.length)}else g(5);return a})},ref:y,"aria-label":"".concat(m?"Less":"More"," ").concat(a),children:m?"Less":"More"})})]})]})})}function u(e){let{items:t,depth:a,onFacetChanged:s}=e,r=(0,n.useId)();return(0,l.jsx)(l.Fragment,{children:t.map((e,t)=>(0,l.jsxs)("div",{className:"hbs-facets__item",children:[(0,l.jsxs)(i.bL,{className:"hbs-facets__checkbox",id:"facet-".concat(t+1,"-").concat(r),checked:e.checked,onCheckedChange:t=>{s&&("boolean"==typeof t?s(e,t):"string"==typeof t&&"indeterminate"===t&&s(e,!1))},children:[(0,l.jsx)(i.C1,{children:(0,l.jsx)(d.I,{name:"check",className:"hbs-facets__check-icon"})}),(0,l.jsxs)("span",{className:"hbs-global-visually-hidden",children:["Filter by ",e.name," ",e.number]})]}),(0,l.jsxs)("label",{"aria-hidden":"true",className:"hbs-facets__label",htmlFor:"facet-".concat(t+1,"-").concat(r),children:[e.name," ",e.number&&(0,l.jsxs)("span",{className:"hbs-facets__number",children:[e.number,e.items&&e.items.length>0&&a<3&&(0,l.jsx)(d.I,{name:"caretDown",className:"hbs-facets__caret"})]})]}),e.items&&e.items.length>0&&a<3&&(0,l.jsx)("div",{className:"hbs-facets__sub-menu",children:(0,l.jsx)(u,{items:e.items,onFacetChanged:s,depth:a+1})})]},e.value))})}},75136:(e,t,a)=>{"use strict";a.d(t,{b:()=>s});var l=a(51747),n=a(6726),i=a(30642);function s(){var e,t;let{map:a,request:s,currentPage:r,entry:o}=(0,n.l)(),{site:d,getEntry:c}=(0,i.U)(),u=s.domain,h=(null==d?void 0:d.fields.domain)==="my"?"internal":"external",p={breadcrumbs:[],rootLink:"internal"===h?"https://my.hbs.edu":"www"===u?"/":"https://www.hbs.edu",theme:void 0,siteType:h},f={menu:[]},m=[],v=c(o);if((0,l.I)("landingPage",v)){let t=c(null==v||null==(e=v.fields.blocks)?void 0:e[0]);(0,l.I)("pageSectionTheme",t)&&(p.theme=t.fields.theme)}else if((0,l.I)("archivePage",v)){let e=c(null==v||null==(t=v.fields.topContent)?void 0:t[0]);(0,l.I)("pageSectionTheme",e)&&(p.theme=e.fields.theme)}if(!d||!r||r.hidden)return{breadcrumbs:p,navigation:f};let b=e=>e.url.replace("".concat(u,".hbs.edu"),""),g=e=>{let t=b(e)||"/";if(!p.breadcrumbs.find(e=>e.link===t)&&(p.breadcrumbs.unshift({title:e.title,link:t,isCurrent:e.id===r.id}),e.parentPageId)){let t=a.find(t=>t.id===e.parentPageId);t&&g(t)}};g(r),"internal"===h&&(p.breadcrumbs=p.breadcrumbs.filter(e=>"/"!==e.link)),a.forEach(e=>{!e.hidden&&e.parentPageId&&e.parentPageId===r.id&&m.push({id:e.id,title:e.title,link:b(e)})});let y=a.find(e=>e.id===r.parentPageId),_=y?a.find(e=>e.id===(null==y?void 0:y.parentPageId)):null,x=[],j=(null==_?void 0:_.parentPageId)&&0===m.length;
1if(a.forEach(e=>{if(!e.hidden){if(j){if(y&&y.parentPageId===e.parentPageId)return void f.menu.push({id:e.id,title:e.title,link:b(e),isCurrent:!1});if(e.parentPageId===r.parentPageId)return void x.push({id:e.id,title:e.title,link:b(e),isCurrent:e.id===r.id})}!j&&e.parentPageId&&e.parentPageId===r.parentPageId&&f.menu.push({id:e.id,title:e.title,link:b(e),isCurrent:e.id===r.id})}}),y){let e=b(y)||"/";if("/"!==e&&e.startsWith("/")&&(e=e.substring(1)),e===d.fields.slug){if(0===m.length)return{breadcrumbs:p,navigation:{menu:[]}};f.heading={text:r.title},f.menu=m}else if(j&&y.parentPageId){let e=a.find(e=>e.id===y.parentPageId);e&&(f.heading={text:e.title,link:b(e)})}else f.heading={text:y.title,link:b(y)}}return f.menu.forEach(e=>{e.isCurrent&&m.length>0&&(e.submenu=m),j&&e.id===r.parentPageId&&(e.submenu=x)}),{breadcrumbs:p,navigation:f}}},77841:(e,t,a)=>{"use strict";a.d(t,{X:()=>r});var l=a(6029);a(59815);var n=a(50212),i=a(75621),s=a(62275);function r(e){let{title:t,subTitle:a,description:r,cta:o,editAttributes:d}=e,c=t&&t.length>50||a&&a.length>50,u=(0,n.A)("hbs-section-header__hgroup",c?"hbs-section-header__hgroup--long":""),h=r||o;return(0,l.jsx)("div",{className:"hbs-global-align-full hbs-component--section-header",children:(0,l.jsx)("div",{className:"hbs-section-header",children:(0,l.jsxs)("div",{className:"hbs-section-header-inner",children:[(0,l.jsxs)("div",{className:u,children:[t&&(0,l.jsx)("h2",{className:"hbs-section-header__title",id:(0,s.Y)(t),tabIndex:-1,...null==d?void 0:d.title,children:t}),a&&(0,l.jsx)("p",{className:"hbs-section-header__subtitle",...null==d?void 0:d.subTitle,children:a})]}),h&&(0,l.jsx)("div",{className:(0,n.A)("hbs-section-header__dek",!r&&"hbs-section-header__dek--no-desc"),children:(0,l.jsxs)("div",{...null==d?void 0:d.description,children:[r,o&&(0,l.jsx)(i.l,{...o,isSmall:!0})]})})]})})})}},85351:(e,t,a)=>{"use strict";function l(e,t){if(t.length<e)throw TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}a.d(t,{A:()=>l})},88882:(e,t,a)=>{"use strict";a.d(t,{C:()=>c});var l=a(6029),n=a(50212),i=a(31008),s=a(86223);a(73190);var r=a(55729),o=a(37062);function d(e){let{breadcrumbs:t,topper:a,topContent:n,preFooterContent:i,content:d,theme:c}=e,[u,h]=(0,r.useState)("");return(0,r.useEffect)(()=>{h((0,l.jsxs)("main",{id:"skipto-main",tabIndex:-1,children:[a&&(0,l.jsx)(o.I,{...a}),t&&(0,l.jsx)(s.B,{...t,theme:t.theme||c}),(0,l.jsx)("div",{className:"hbs-archive-page-body__extra-content",children:(0,l.jsx)("div",{className:"hbs-archive-page-body__extra-content-main",children:(0,l.jsx)("div",{className:"hbs-page-body hbs-archive-page-body__extra-content-inner",children:n})})}),(0,l.jsx)("div",{"data-theme":c,children:(0,l.jsx)("div",{className:"hbs-archive-page-body__content",children:(0,l.jsx)("div",{className:"hbs-archive-page-body__content-inner",children:d})})}),(0,l.jsx)("div",{className:"hbs-archive-page-body__extra-content",children:(0,l.jsx)("div",{className:"hbs-archive-page-body__extra-content-main",children:(0,l.jsx)("div",{className:"hbs-page-body hbs-archive-page-body__extra-content-inner",children:i})})})]}))},[a,t,n,c,d,i]),u}function c(e){let{body:t,breadcrumbs:a,footer:s,header:r,topper:o,theme:c}=e,u=(0,n.A)("hbs-page","hbs-archive-page",(null==o?void 0:o.name)&&"hbs-page--".concat(o.name));return(0,l.jsx)(i.Y,{className:u,footer:s,header:r,gtmPageEvent:{storyID:"archive-page-123",pubDate:"2022-10-24",storyType:"Archive"},children:t&&(0,l.jsx)(d,{breadcrumbs:a,topper:o,theme:c,...t})})}},89595:()=>{}}]); 2//# sourceMappingURL=3342.de956865b85e4287.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.