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

//# sourceMappingURL=7670.4e34a90d.chunk.js.map