import{d as y,aE as k,W as i,e as o,bG as b,c as m,f as l,a as _,g as f,o as T,h as t,i as c,cx as d,cy as g}from"./index-BOEdKJ1D.js";import{u as v}from"./usePageTitle-BkurcLK2.js";const w=y({__name:"BlocksCatalogView",setup(B){const s=k(),a=i("blockTypeSlug"),n=o(()=>a.value?[a.value]:null),u=b(s.blockTypes.getBlockTypeBySlug,n),e=o(()=>u.response),p=o(()=>e.value?`Block Type: ${e.value.name}`:null);return v(p),(C,S)=>{const r=f("p-layout-default");return e.value?(T(),m(r,{key:0,class:"blocks-catalog-view"},{header:l(()=>[t(c(d),{"block-type":e.value},null,8,["block-type"])]),default:l(()=>[t(c(g),{"block-type":e.value},null,8,["block-type"])]),_:1})):_("",!0)}}});export{w as default};
//# sourceMappingURL=BlocksCatalogView-B5veA7-g.js.map
