PageSourceSearch

https://2024berkshirepartnerscxosummit-706-morphic.netlify.app/8242-f512f22cd31f7a4005ca.js

js 2024berkshirepartnerscxosummit-706-morphic.netlify.app collected 2026-10-03 10:24:57 UTC 6,391 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgatsby_template=self.webpackChunkgatsby_template||[]).push([[8242],{48242:function(e,t,n){n.r(t),n.d(t,{default:function(){return k},renderIcon:function(){return A}});var i=n(63696),o=n(40531),a=n(13179),l=n(42769),r=n(52208),c=n(39757),s=n(99465),d=n(6297),u=n(9636),m=n(62688),g=n.n(m),p=n(44611),h=n(9459),x=n(30884);const v=(0,o.default)(r.A).withConfig({componentId:"sc-19ua545-0"})(["transition:opacity 0.3s cubic-bezier(0.17,0.67,0.58,0.84);&:hover{opacity:",";}"],e=>e.active?1:.7),b=e=>{let{idx:t,title:n,icon:o,align:a="left",card:l,iconLocation:r,iconSize:c,paragraphRichText:d,image:m,active:g,onClick:b,onMouseEnter:f,button:w,showTitle:A,columnsDesktop:E,columnsMobile:y,...C}=e;const I=(a||"left").trim(),k="center"===I,j="right"===I,_="left"===r,O=_?null:k?"center":j?"flex-end":null;return i.createElement(v,Object.assign({height:"100%"},C,l,{active:g,boxShadow:g?null==l?void 0:l.boxShadow:"none",onClick:b,onMouseEnter:f,style:{cursor:b||f?"pointer":"default",zIndex:g?101:100}}),i.createElement(s.A,{px:null!=l&&l.useCard?4:0,py:null!=l&&l.useCard?5:0,alignItems:O,flexDirection:_?"row":"column"},o&&i.createElement(p.A,Object.assign({flexShrink:0},o,{mr:_?4:0,mb:_?0:4,width:c?`${c}px`:2,height:c?`${c}px`:2})),i.createElement(s.A,{flexDirection:{_:"two"===y?"row":"column",lg:"two"===E?"row":"column"},style:{columnGap:"32px"}},A&&i.createElement(u.hE,{flex:1,textAlign:k?"center":j?"right":null,variant:"h3",mb:{_:"two"===y?null:3,lg:"two"===E?null:3}},n),i.createElement(s.A,{flexDirection:"column",flex:1},(null==d?void 0:d.content)&&i.createElement(h.A,Object.assign({textAlign:k?"center":j?"right":null},d)),w&&i.createElement(x.A,Object.assign({"aria-label":"Button in interactive info card"},w))))))};var f=b;b.strapiProps={title:g().string.isRequired,paragraph:g().string,icon:g().shape(p.A.strapiProps),paragraphRichText:g().object};var w=n(87796);const A=e=>{var t;let{iconAttribute:n,iconStyles:o}=e;if(n=null===(t=n)||void 0===t?void 0:t.image,!n)return null;const a=null==o?void 0:o.iconSize;return n&&i.createElement(p.A,Object.assign({flexShrink:0},n,{mb:4,width:"height"===(null==o?void 0:o.iconFit)?"auto":"width"===(null==o?void 0:o.iconFit)||a?`${a}px`:2,height:"width"===(null==o?void 0:o.iconFit)?"auto":"height"===(null==o?void 0:o.iconFit)||a?`${a}px`:2,maxWidth:"width"===(null==o?void 0:o.iconFit)||"square"===(null==o?void 0:o.iconFit)?`${a}px`:"auto",maxHeight:"height"===(null==o?void 0:o.iconFit)||"square"===(null==o?void 0:o.iconFit)?`${a}px`:"auto"}))},E=(0,o.default)(d.A).withConfig({componentId:"sc-13p0o2y-0"})(["transition:opacity 0.3s cubic-bezier(0.17,0.67,0.58,0.84),transform 0.3s cubic-bezier(0.17,0.67,0.58,0.84);"]),y=(0,o.default)(u.hE).withConfig({componentId:"sc-13p0o2y-1"})(["&:hover{opacity:0.7;cursor:pointer;}"]),C=(0,o.default)(a.A).withConfig({componentId:"sc-13p0o2y-2"})(["&.gatsby-image-wrapper,&.gatsby-image-wrapper-constrained{& div{max-width:100% !important;}}"]),I=e=>{let{cardTitleLocation:t,interactiveInfoCards:n,changeOnHover:o,activeIndex:a,setActiveIndex:l,textAlign:r,...c}=e;return n.map((e,s)=>{const d="center"===r,u="right"===r,m=s===n.length-1?0:{_:4,xs:6,md:7};return i.createElement(y,Object.assign({key:s,variant:"h3",pb:{_:0,sm:5,lg:7},mb:{_:5,sm:0},margin:d?{_:"0px auto",sm:"0px"}:"0px",pr:d||u?0:m,pl:!d&&u?m:0,onClick:o||"tabs"!==t?void 0:()=>l(s),onMouseEnter:o&&"tabs"===t?()=>l(s):void 0,textDecoration:s===a?"underline":"none",style:{textUnderlinePosition:"under"}},c),e.title)})};var k=e=>{var t;let{section:n,sectionTitle:o,interactiveInfoCards:a,card:r,cardsAlign:u="left",iconLocation:m="top",imageLocation:g,interactiveInfoCardsImageLocation:p,imageAlign:h,interactiveInfoCardsImageAlign:x,iconSize:v,changeOnHover:b,cardTitleLocation:y="onCard",mediaRatio:k,interactiveInfoCardsMediaRatio:j,columnsDesktop:_,columnsMobile:O,iconAttribute:S,iconStyles:D,spacing:z=24}=e;null===y&&(y="onCard");const{0:F,1:L}=(0,i.useState)(0),M=g||p,T=h||x,$="tabs"===y&&null===(null==a||null===(t=a[F])||void 0===t?void 0:t.image),H=null===k?50:k||j;return i.createElement(c.A,n,o&&i.createElement(l.A,null,i.createElement(s.A,{flexDirection:"column",alignItems:(R=null==o?void 0:o.align,"right"===R?"end":"center"===R?"center":"start")},A({iconAttribute:S,iconStyles:D}),i.createElement(w.A,Object.assign({},o,{mb:6,maxWidth:42})))),i.createElement(d.A,{display:"flex",flexDirection:"row",justifyContent:(e=>"right"===e?"flex-end":"center"===e?{_:"space-between",xs:"center"}:"flex-start")(null==o?void 0:o.align),flexWrap:"wrap"},"tabs"===y&&i.createElement(I,{cardTitleLocation:y,interactiveInfoCards:a,changeOnHover:b,activeIndex:F,setActiveIndex:L,textAlign:null==o?void 0:o.align})),i.createElement(s.A,{justifyContent:"space-between",width:"100%",flexDirection:{_:"column",lg:"right"===M?"row-reverse":"row"},alignItems:"tabs"===y&&"center"===T?"center":"tabs"===y&&"bottom"===T?"end":"tabs"===y&&"top"===T?"start":"stretch",style:{gap:"32px"}},!$&&i.createElement(d.A,{width:{_:"100%",lg:"50%"},flex:H/100,mb:{_:6,lg:0},position:"relative",minHeight:0},null==a?void 0:a.map((e,t)=>i.createElement(E,{key:t,display:"flex",flexDirection:"column",justifyContent:"top"===T?"start":"center"===T?"center":"bottom"===T?"flex-end":"space-between",width:"100%",opacity:t===F?1:0,height:t===F?"100%":"
10px",transform:t===F?"translateX(0)":"translateX(100%)"},i.createElement(C,Object.assign({imageFieldId:`${n.sectionId}.interactiveInfoCards[${t}].image`},e.image))))),i.createElement(d.A,{width:{_:"100%",lg:$?"100%":"45%"},flex:$?1:(100-H)/100},i.createElement(d.A,{display:"flex",width:"100%",flexDirection:"column",alignItems:{_:"center"===u?"center":"right"===u?"end":"start"}},"tabs"===y&&i.createElement(f,Object.assign({key:"active-card",mx:"center"===u?"auto":0,width:"100%",iconLocation:m,iconSize:v,align:u},a[F],{showTitle:"tabs"!==y,idx:F,active:!0,onClick:b||"onCard"!==y?void 0:()=>L(F),onMouseEnter:b&&"onCard"===y?()=>L(F):void 0,card:r})),"onCard"===y&&a.map((e,t)=>i.createElement(f,Object.assign({key:t,mx:"center"===u?"auto":0,mb:t===a.length-1?0:`${z}px`,width:"100%",iconLocation:m,iconSize:v,align:u},e,{showTitle:"tabs"!==y,idx:t,active:F===t,onClick:b||"onCard"!==y?void 0:()=>L(t),onMouseEnter:b&&"onCard"===y?()=>L(t):void 0,card:r,columnsDesktop:_,columnsMobile:O})))))));var R}}}]);
2//# sourceMappingURL=8242-f512f22cd31f7a4005ca.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.