"use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[8951],{78951:function(j,r,t){t.r(r),t.d(r,{CatalogEntityPage:function(){return E}});var o=t(52322),v=t(2784),a=t(10289),e=t(43297),n=t(25248),y=t(77446);const m=()=>{const{kind:c,namespace:i,name:s}=(0,n.Oi)(e.wi),d=(0,a.s0)(),l=(0,n.h_)(n.VE),u=(0,n.h_)(e.Ah),{value:h,error:f,loading:g,retry:p}=(0,y.Z)(()=>u.getEntityByRef({kind:c,namespace:i,name:s}),[u,c,i,s]);return(0,v.useEffect)(()=>{s||(l.post(new Error("No name provided!")),d("/"))},[l,d,f,g,h,s]),{entity:h,loading:g,error:f,refresh:p}};function E(){return(0,o.jsx)(e.h$,{...m(),children:(0,o.jsx)(a.j3,{})})}}}]);})();

//# sourceMappingURL=8951.231b58d9.chunk.js.map