"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),r=t(79692),m=t(86136),x=t(49378),g=t(62774),d=t(7089),f=t(98864),h=t(76079);const v=(0,r.Z)({item:{display:"flex"},flexContainer:{flexWrap:"wrap"},itemText:{width:"100%",wordBreak:"break-all",marginBottom:"1rem"}},{name:"CatalogSearchResultListItem"});function u(s){var a,n;const l=s.result,i=s.highlight,c=v();return l?(0,e.jsxs)("div",{className:c.item,children:[s.icon&&(0,e.jsx)(m.Z,{children:typeof s.icon=="function"?s.icon(l):s.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=i)===null||a===void 0)&&a.fields.title?(0,e.jsx)(h.F,{text:i.fields.title,preTag:i.preTag,postTag:i.postTag}):l.title}),secondary:!((n=i)===null||n===void 0)&&n.fields.text?(0,e.jsx)(h.F,{text:i.fields.text,preTag:i.preTag,postTag:i.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.dce585cd.chunk.js.map