1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[389],{60389:(l,e,n)=>{n.r(e),n.d(e,{default:()=>_});var a=n(67684),t=n(62701),o=n(20294),i=n(37876),s=n(58457),u=n(85993),r=n(81468),d=n(17956),c=n(22544),m=n(14e3),v=n(38160),g=n(99202),f=n(2650),p=n(36961),x=n(8149),h=n(20431),j=n(47229);let b=function(l){var e,n,o,b,N,y,C,w,V,_,k,I,T,E,L,B,A,P,M,R,S,O,D,F,G,K,H,J,U,z,q,W,Y,Q,X,Z,$,ll,le,ln=l.fields,la=l.isPrimary,lt=l.hasTags,lo=l.showReadMoreIcon,li=l.gtmParams,ls=l.innosightLogo,lu=l.defaultCardImage,lr=(0,s.M)().page,ld=(0,f.s9)().t,lc=(0,m.useRouter)(),lm=null==lr||null==(e=lr.mode)?void 0:e.isEditing,lv=null==ln||null==(n=ln.data)?void 0:n.item;if(!lv)return null;var lg=null==(o=lv.title)?void 0:o.jsonValue,lf=(null==lg?void 0:lg.value)!=null?String(lg.value):void 0,lp=null!=li?(0,a._)({},li,void 0!==lf&&{card_title:lf}):void 0,lx=(null==(y=lv.description)||null==(N=y.jsonValue)||null==(b=N.value)?void 0:b.trim())?lv.description.jsonValue:null==(C=lv.content)?void 0:C.jsonValue,lh=(0,u._)((null==lv||null==(w=lv.industries)?void 0:w.targetItems)||[]).concat((0,u._)((null==lv||null==(V=lv.expertise)?void 0:V.targetItems)||[]),(0,u._)((null==lv||null==(_=lv.technology)?void 0:_.targetItems)||[])).sort(function(l,e){var n,a,t,o,i,s;return((null==l||null==(t=l.title)||null==(a=t.jsonValue)||null==(n=a.value)?void 0:n.toString())||"").localeCompare((null==e||null==(s=e.title)||null==(i=s.jsonValue)||null==(o=i.value)?void 0:o.toString())||"")}).slice(0,3),lj="string"==typeof lv.url?lv.url:null==(k=lv.url)?void 0:k.href,lb=[null==lv||null==(L=lv.siteApplicable)||null==(E=L.jsonValue)||null==(T=E.fields)||null==(I=T.Title)?void 0:I.value,(null==lv||null==(A=lv.siteApplicable)||null==(B=A.jsonValue)?void 0:B.displayName)||(null==lv||null==(M=lv.siteApplicable)||null==(P=M.jsonValue)?void 0:P.name)].some(function(l){return"string"==typeof l&&l.trim().toLowerCase()===j.Ym.toLowerCase()}),lN=lt&&(lh.length>0||lm),ly=lb&&((null==ls||null==(R=ls.value)?void 0:R.src)||lm),lC=(0,g.Kk)(null==ln||null==(S=ln.data)?void 0:S.item).field,lw=!!(null==lC||null==(O=lC.value)?void 0:O.href)&&!lm,lV=!!lj&&"string"==typeof lj&&!lm,l_=(null==(G=lv.image)||null==(F=G.jsonValue)||null==(D=F.value)?void 0:D.src)||(null==lu||null==(H=lu.jsonValue)||null==(K=H.value)?void 0:K.src)||lm,lk=function(){lV&&lj&&"string"==typeof lj&&(lp&&(0,p.UA)(lp.eventType,lf,lj,lp.componentName,lp.pageCategory,void 0!==lf?{card_title:lf}:void 0),lc.push((0,h.q)(lj)))};return(0,i.jsxs)("div",(0,t._)((0,a._)({},lV&&{onClick:lk,onKeyDown:function(l){lV&&("Enter"===l.key||" "===l.key)&&(l.preventDefault(),lk())},tabIndex:0,role:"link","aria-label":lf?"".concat(lf," ").concat(ld("read_more")):ld("read_more")}),{className:(0,v.cn)("block mx-1",lV&&"cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",!la&&"hover:scale-[1.01] transition-transform duration-200"),children:[la&&l_&&(0,i.jsx)(i.Fragment,{children:lw?(0,i.jsx)(c.N,{field:lC,className:"block",editable:!1,onClick:function(){var l;return lp&&(0,p.UA)(lp.eventType,lf,null==lC||null==(l=lC.value)?void 0:l.href,lp.componentName,lp.pageCategory,void 0!==lf?{card_title:lf}:void 0)},children:(0,i.jsx)(r.at,{field:(null==(J=lv.image)?void 0:J.jsonValue)||(null==lu?void 0:lu.jsonValue),className:"object-cover w-full h-[245px] sm:h-[486px] lg:h-[450px] rounded-t-2xl",alt:String((null==lv||null==(q=lv.image)||null==(z=q.jsonValue)||null==(U=z.value)?void 0:U.alt)||(null==lu||null==(Y=lu.jsonValue)||null==(W=Y.value)?void 0:W.alt)||(null==lg?void 0:lg.value)||"Card Grid Item Image"),editable:!1})}):(0,i.jsx)(r.at,{field:(null==(Q=lv.image)?void 0:Q.jsonValue)||(null==lu?void 0:lu.jsonValue),className:"object-cover w-full h-[245px] sm:h-[486px] lg:h-[450px] rounded-t-2xl",alt:String((null==lv||null==($=lv.image)||null==(Z=$.jsonValue)||null==(X=Z.value)?void 0:X.alt)||(null==lu||null==(le=lu.jsonValue)||null==(ll=le.value)?void 0:ll.alt)||(null==lg?void 0:lg.value)||"Card Grid Item Image"),editable:!1})}),(0,i.jsxs)("div",{className:(0,v.cn)("flex flex-col gap-2 rounded-2xl bg-card p-6",{"rounded-t-none":la&&l_}),children:[(lN||ly)&&(0,i.jsxs)("div",{className:"flex max-sm:flex-col sm:items-center justify-between gap-2",children:[lN&&(lh.length>0?(0,i.jsx)("div",{className:"flex flex-wrap gap-x-1 text-muted-foreground min-w-0 flex-1 max-sm:order-2",children:lh.map(function(l,e){var n,a,t=null==l||null==(a=l.title)||null==(n=a.jsonValue)?void 0:n.value,o=null==l?void 0:l.url,s="".concat(t||"tag","-").concat(e);return t?(0,i.jsxs)("span",{className:"flex items-center gap-1",children:[o?(0,i.jsx)("a",{href:o,className:"hover:underline cursor-pointer text-sm uppercase typography b4-medium","aria-label":String(t),onClick:function(l){return l.stopPropagation()},children:t}):(0,i.jsx)("span",{className:"text-sm uppercase typography b4-medium",children:t}),e<lh.length-1&&(0,i.jsx)("span",{className:"text-sm typography b4-medium",children:"|"})]},s):null})}):lm&&(0,i.jsx)("div",{className:"text-muted-foreground p-2 border border-dashed text-center min-w-0 max-sm:order-2",children:ld("multilist_tags_n
1ot_found")})),ly&&(0,i.jsx)(r.at,{field:ls,width:102,height:22,className:"object-contain max-w-[102px] ml-auto pl-2",alt:"Innosight Logo",editable:!1})]}),(lg||lm)&&(0,i.jsx)(d.o,{field:lg,variant:"h4",className:"text-card-foreground line-clamp-2",editable:!1}),(lx||lm)&&(void 0!==lo&&lo?(0,i.jsxs)("div",{className:"flex items-end gap-x-1",children:[(0,i.jsx)(d.o,{field:lx,variant:"b3",fieldType:"richtext",className:"text-secondary-foreground line-clamp-3",editable:!1}),((null==lx?void 0:lx.value)||lm)&&(0,i.jsx)(x.A,{size:16,className:"min-w-4 text-secondary-foreground ml-auto"})]}):(0,i.jsx)(d.o,{field:lx,variant:"b3",fieldType:"richtext",className:"text-secondary-foreground line-clamp-3",editable:!1}))]})]}))};var N=n(53179),y=n(27046),C=n(14232),w=n(39774),V=n(93225);let _=function(l){var e,n,u,r,c,m,x,h,j,_,k,I=l.rendering,T=l.params,E=l.fields,L=l.page,B=E.data,A=null==B?void 0:B.item,P=null!=(k=null==B?void 0:B.defaultImages)?k:null==B?void 0:B.DefaultImages,M=(0,s.M)().page,R=(0,f.s9)().t,S=null==M||null==(e=M.mode)?void 0:e.isEditing,O=(null==L||null==(r=L.layout)||null==(u=r.sitecore)||null==(n=u.route)?void 0:n.templateName)||"",D=(null==A||null==(c=A.cardList)?void 0:c.targetItems)||[],F=null==P||null==(m=P.innosightLogoLightCardGridComponent)?void 0:m.jsonValue,G=null==P||null==(x=P.innosightLogoDarkCardGridComponent)?void 0:x.jsonValue,K=null==P?void 0:P.cardFallbackImage,H=(null==T?void 0:T.Theme)==="huron-dark"?F:G,J=(0,g.JW)(A),U=J.cTA1Fields,z=J.cTA2Fields,q=null==U?void 0:U.field,W=null==z?void 0:z.field,Y=function(l){return"string"==typeof l&&(0,V.H)(l)},Q=!!U&&(S||Y(null==q||null==(h=q.value)?void 0:h.href)),X=!!z&&(S||Y(null==W||null==(j=W.value)?void 0:j.href)),Z=Q||X,$={componentName:null==I?void 0:I.componentName,pageCategory:O,eventType:p.in.BUTTON_CLICK},ll={componentName:null==I?void 0:I.componentName,pageCategory:O,eventType:p.in.CARD_CLICK},le=(0,C.useMemo)(function(){var l=!!Number(null==T?void 0:T.EnableOuterBackground);return{componentBgClass:l?"bg-sidebar-accent":"bg-background",componentContentBgClass:l?"bg-background":void 0}},[null==T?void 0:T.EnableOuterBackground]),ln=le.componentBgClass,la=le.componentContentBgClass,lt=(0,y.A)({params:T,rendering:I,componentBgClass:ln,componentContentBgClass:la}),lo=lt.componentClass,li=lt.componentContentClass,ls=lt.containerClass,lu=function(l){var e,n,a,t,o,i,s;return!!((null==l||null==(n=l.title)||null==(e=n.jsonValue)?void 0:e.value)||(null==l||null==(t=l.description)||null==(a=t.jsonValue)?void 0:a.value)||(null==l||null==(s=l.image)||null==(i=s.jsonValue)||null==(o=i.value)?void 0:o.src))},lr=function(l){var e,n,a,t;return!!((null==l||null==(n=l.title)||null==(e=n.jsonValue)?void 0:e.value)||(null==l||null==(t=l.description)||null==(a=t.jsonValue)?void 0:a.value))},ld=function(l){return lu(l)||lr(l)},lc=D.filter(Boolean).filter(function(l){return S||ld(l)}).slice(0,10),lm=D.filter(function(l){return ld(l)}),lv=lc.slice(0,1).filter(function(l){return S||lu(l)}),lg=lc.slice(1).filter(function(l){return S||lr(l)}),lf=(0,C.useRef)(null),lp=(0,o._)((0,C.useState)(0),2),lx=lp[0],lh=lp[1];return((0,C.useEffect)(function(){var l=lf.current;if(!l||0===lv.length||0===lg.length)return void lh(0);var e=function(){lh(l.offsetHeight+48)};e();var n=new ResizeObserver(e);return n.observe(l),function(){return n.disconnect()}},[lv,lg]),S||0!==lm.length)?(0,i.jsx)("section",{className:lo,children:(0,i.jsxs)(w.A,{as:"div",className:(0,v.cn)(li,ls),children:[(0,i.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-end gap-4 sm:gap-10",children:[(0,i.jsx)(d.o,{field:null==A||null==(_=A.title)?void 0:_.jsonValue,variant:"display-sm",className:"text-foreground flex-1",headerTag:null==T?void 0:T.HeaderTag}),Z&&(0,i.jsxs)("div",{className:"flex flex-col sm:flex-row gap-6 shrink-0 max-sm:w-auto sm:ml-auto mb-0 mt-auto",children:[Q&&(0,i.jsx)(N.J,(0,t._)((0,a._)({alignLeftOnMobile:!0,className:"whitespace-nowrap min-w-max"},U),{gtmParams:$})),X&&(0,i.jsx)(N.J,(0,t._)((0,a._)({alignLeftOnMobile:!0,className:"whitespace-nowrap min-w-max"},z),{gtmParams:$}))]})]}),lc.length>0?(0,i.jsxs)("div",{className:"flex flex-col lg:flex-row gap-4 sm:gap-8 mt-6 sm:mt-8 lg:mt-10",children:[lv.length>0&&(0,i.jsx)("div",{className:"flex-1 hover:scale-[1.01] transition-transform duration-200",ref:lf,children:(0,i.jsx)(b,{fields:{data:{item:lv[0]}},isPrimary:!0,hasTags:!0,showReadMoreIcon:!0,gtmParams:ll,innosightLogo:H,defaultCardImage:K})}),lg.length>0&&(0,i.jsxs)("div",{className:"relative flex flex-col gap-4 sm:gap-8 flex-1 overflow-scroll no-scrollbar lg:-my-8 -mx-1",style:lv.length>0&&lx>0?{height:lx}:void 0,children:[(0,i.jsx)("div",{className:"max-lg:hidden sticky top-0 min-h-16 -mb-16",style:{background:"linear-gradient(0deg, rgba(55, 0, 34, 0) 0%, var(--base-background, #EBE9E4) 80%)"}}),lg.map(function(l,e){return(0,i.jsx)(b,{fields:{data:{item:l}},isPrimary:!1,hasTags:!0,showReadMoreIcon:!0,gtmParams:ll,innosightLogo:H,defaultCardImage:K},"tile-".concat(e))}),(0,i.jsx)("div",{className:"max-lg:hidden sticky bottom-0 min-h-16 -mt-20",style:{background:"linear-gradient(180deg, rgba(55, 0, 34, 0) 0%, var(--base-background, #EBE9E4) 80%)"}})]})]}):S&&(0,i.jsx)("div",{className:"text-muted-foreground p-4 border border-dashed text-center",children:R("multilist_cards_not_found")})]})}):null}}}]);
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.