import{d as k,ao as i,j as t,u as o,c as m,w as l,m as y,r as b,o as _,a as s,br as f,bs as T}from"./index-4d9fe32c-718dc5d9.js";import{u as d,v as g}from"./vue-compositions-55710141.js";import{u as v}from"./usePageTitle-e8e2e29d.js";const V=k({__name:"BlocksCatalogView",setup(B){const c=i(),a=d("blockTypeSlug"),n=t(()=>a.value?[a.value]:null),r=g(c.blockTypes.getBlockTypeBySlug,n),e=t(()=>r.response),u=t(()=>e.value?`Block Type: ${e.value.name}`:null);return v(u),(C,S)=>{const p=b("p-layout-default");return o(e)?(_(),m(p,{key:0,class:"blocks-catalog-view"},{header:l(()=>[s(o(f),{"block-type":o(e)},null,8,["block-type"])]),default:l(()=>[s(o(T),{"block-type":o(e)},null,8,["block-type"])]),_:1})):y("",!0)}}});export{V as default};
