"use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[7670],{27670:function(v,n,e){e.r(n),e.d(n,{CatalogSearchResultListItem:function(){return g}});var l=e(52322),u=e(2784),d=e(79692),r=e(86136),m=e(49378),h=e(95544),c=e(7089),x=e(53974),o=e(15096);const f=(0,d.Z)({item:{display:"flex"},flexContainer:{flexWrap:"wrap"},itemText:{width:"100%",wordBreak:"break-all",marginBottom:"1rem"}},{name:"CatalogSearchResultListItem"});function g(a){const s=a.result,t=a.highlight,i=f();return s?(0,l.jsxs)("div",{className:i.item,children:[a.icon&&(0,l.jsx)(r.Z,{children:typeof a.icon=="function"?a.icon(s):a.icon}),(0,l.jsxs)("div",{className:i.flexContainer,children:[(0,l.jsx)(m.Z,{className:i.itemText,primaryTypographyProps:{variant:"h6"},primary:(0,l.jsx)(x.rU,{noTrack:!0,to:s.location,children:t!=null&&t.fields.title?(0,l.jsx)(o.FA,{text:t.fields.title,preTag:t.preTag,postTag:t.postTag}):s.title}),secondary:t!=null&&t.fields.text?(0,l.jsx)(o.FA,{text:t.fields.text,preTag:t.preTag,postTag:t.postTag}):s.text}),(0,l.jsxs)(h.Z,{children:[s.kind&&(0,l.jsx)(c.Z,{label:`Kind: ${s.kind}`,size:"small"}),s.lifecycle&&(0,l.jsx)(c.Z,{label:`Lifecycle: ${s.lifecycle}`,size:"small"})]})]})]}):null}}}]);})();

//# sourceMappingURL=7670.f17f89be.chunk.js.map