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

//# sourceMappingURL=7670.842d9f01.chunk.js.map