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