import{p as l,m,s as i,h as p,l as c,r as f}from"./entry.e097670d.js";import{i as u}from"./utils.c307b373.js";const g=l({emits:["failed","created"],setup(h,{emit:t}){const o=e=>{c({path:`/admin/clients/${e.id}`})},r=e=>{t("failed",e)},s=m(),{realmManagement:n,realmManagementId:a}=i(s),d=f("ScopeForm");return()=>(u(n.value)||a.value,p(d,{onCreated:o,onFailed:r,realmId:a}))}});export{g as default};
