import{H as e,It as t,Mt as n,Q as r,W as i,Z as a,d as o,ft as s,jt as c,mt as l,pt as u,s as d,tt as f,yt as p}from"../chunks/BA99CCI5.js";import{a as m}from"../chunks/DP37y6wO.js";import"../chunks/xihTtKlq.js";import"../chunks/DGo8yE5j.js";import"../chunks/BymfG72d2.js";import{t as h}from"../chunks/CEQEwD8g.js";import{t as g}from"../chunks/DCohNkHF.js";import{t as _}from"../chunks/BW8V51c72.js";var v=i(`<!> <div class="p-8"><!></div> <!>`,1);function y(i,y){n(y,!1);let b=d(y,`data`,8),x={name:``,tags:[],description:``,language:null};function S(){m(`/quality-profiles/${b().currentDatabase.id}`)}o();var C=v(),w=u(C);{let e=p(()=>(a(b()),f(()=>`${b().currentDatabase.name} · Quality Profile · New`)));g(w,{get title(){return r(e)}})}var T=l(w,2),E=s(T);_(E,{mode:`create`,get canWriteToBase(){return a(b()),f(()=>b().canWriteToBase)},get initialData(){return x},get availableLanguages(){return a(b()),f(()=>b().availableLanguages)},onCancel:S}),t(T);var D=l(T,2);h(D,{}),e(i,C),c()}export{y as component};