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

//# sourceMappingURL=7670.714e8960.chunk.js.map