import{H as e,Mt as t,Q as n,W as r,Z as i,d as a,jt as o,mt as s,pt as c,s as l,tt as u,yt as d}from"../chunks/BA99CCI5.js";import"../chunks/xihTtKlq.js";import"../chunks/DGo8yE5j.js";import{t as f}from"../chunks/CEQEwD8g.js";import{t as p}from"../chunks/DCohNkHF.js";import{t as m}from"../chunks/CZKMGon_2.js";var h=r(`<!> <!> <!>`,1);function g(r,g){t(g,!1);let _=l(g,`data`,8);a();var v=h(),y=c(v);{let e=d(()=>(i(_()),u(()=>`${_().mediaSettingsConfig.name} · Sonarr Media Settings`)));p(y,{get title(){return n(e)}})}var b=s(y,2);{let e=d(()=>(i(_()),u(()=>_().currentDatabase?.name))),t=d(()=>(i(_()),u(()=>[{label:_().currentDatabase.name,href:`/media-management/${_().currentDatabase.id}/media-settings`}])));m(b,{mode:`edit`,arrType:`sonarr`,get databaseName(){return n(e)},get canWriteToBase(){return i(_()),u(()=>_().canWriteToBase)},actionUrl:`?/update`,get initialData(){return i(_()),u(()=>_().mediaSettingsConfig)},get breadcrumbItems(){return n(t)},get breadcrumbCurrent(){return i(_()),u(()=>_().mediaSettingsConfig.name)}})}var x=s(b,2);f(x,{}),e(r,v),o()}export{g as component};