import{j as t,L as i,bO as e}from"./vendor-BKmmeuxg.js";import{B as o}from"./button-BpNwv2aE.js";import{D as m}from"./layout-DkwBWm5d.js";import s from"./certificate-builder-form-LA7jfGg7.js";import"./index-WW_1X1qx.js";import"./utils-DxSsnXxD.js";import"./sidebar-BYcYxQeZ.js";import"./separator-_3LZ_wAA.js";import"./sheet-DSvHVmaW.js";import"./tooltip-BsX7Z6vz.js";import"./main-_V386djS.js";import"./index-D9-QKOod.js";import"./appearance-D2z3xcjR.js";import"./dropdown-menu-DO-po5c1.js";import"./app-BytVvUs_.js";/* empty css */import"./language-BFZ7KItL.js";import"./notification-CYMPYbAP.js";import"./popover-B4kBsMuI.js";import"./scroll-area-C8HGru-R.js";import"./app-logo-CmnEIwal.js";import"./accordion-CNBvFN43.js";import"./route-B4ZMN77y.js";import"./avatar-j28afJTV.js";import"./use-lang-YfV87_zl.js";import"./input-error-LaPr_4wd.js";import"./card-D9_SJYq6.js";import"./input-DM0goJrn.js";import"./label-HmIcv5Yx.js";import"./select-CD9o3HN1.js";import"./textarea-CyndvowL.js";import"./certificate-preview-vee_nlMq.js";const p=({template:r})=>t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsxs("h2",{className:"text-2xl font-bold",children:[r?"Edit":"Create"," Certificate Template"]}),t.jsx("p",{className:"text-muted-foreground",children:"Customize your certificate design and content"})]}),t.jsx(i,{href:route("certificate.templates.index"),children:t.jsxs(o,{children:[t.jsx(e,{className:"mr-2 h-4 w-4"}),"Back"]})})]}),t.jsx(s,{template:r})]});p.layout=r=>t.jsx(m,{children:r});export{p as default};