import{c as t}from"./CVq-Ik9t.js";async function o(e){const s=e?{modular:"true"}:void 0;return t.get("/blueprints/pages",s)}function c(e){const s=[],r=u=>{if(u)for(const n of u){if(r(n.fields),n.type!=="datetime"&&n.type!=="date"||n.toggleable)continue;const i=n.default;i!=null&&i!==""||typeof n.name=="string"&&n.name.startsWith("header.")&&s.push(n.name.slice(7))}};return r(e.fields),s}async function g(e){return t.get(`/blueprints/pages/${e}`)}async function p(e){return t.get(`/blueprints/plugins/${e}`)}async function l(e){return t.get(`/blueprints/themes/${e}`)}async function f(e){return t.get(`/blueprints/config/${e}`)}async function y(){return t.get("/blueprints/users")}async function d(){return t.get("/blueprints/groups")}async function m(){return t.get("/blueprints/config/accounts")}async function b(){return t.get("/blueprints/users/permissions")}export{o as a,p as b,l as c,m as d,c as e,d as f,g,b as h,f as i,y as j};
