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

//# sourceMappingURL=7670.5e26cab8.chunk.js.map