"use strict";(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/smb/dns-zone/external-dns"],{974:(e,s,t)=>{t.r(s),t.d(s,{default:()=>c});var i=t(241),r=t.n(i),n=t(240),l=t(90),a=t(775),o=t(239);const d=({items:e})=>e&&e.length>1?(0,o.jsx)(n.Tabs,{active:e.findIndex((({containerCls:e})=>"active"===e))+1,children:e.map((({title:e,href:s},t)=>(0,o.jsx)(n.Tab,{title:e,component:a.default,to:(0,l.prepareUrl)(s)},t)))}):null;d.propTypes={items:r().arrayOf(r().shape({title:r().string.isRequired,href:r().string.isRequired,containerCls:r().string}))},d.defaultProps={items:void 0};const c=d},1752:(e,s,t)=>{t.r(s),t.d(s,{default:()=>f});var i=t(974),r=t(745),n=t(240),l=t(90),a=t(241),o=t.n(a),d=t(732),c=t(239);const u=l.Locale.getSection("smb.controllers.dns-zone.external-dns"),p=({tabs:e,modules:s})=>{const t=(0,d.useNavigate)();return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.default,{items:e}),(0,c.jsx)(n.Paragraph,{children:u.lmsg("hint")}),(0,c.jsx)(n.ItemList,{minColumnWidth:280,gap:"md",children:s.map((({id:e,title:s,isConfigured:i,iconUrl:r,href:a})=>(0,c.jsx)(n.Item,{icon:(0,c.jsx)(n.Icon,{src:r}),title:s,description:i?u.lmsg("configured"):u.lmsg("notConfigured"),onClick:()=>t((0,l.prepareUrl)(a))},e)))})]})};p.propTypes={tabs:i.default.propTypes.items.isRequired,modules:o().arrayOf(o().shape({id:o().string,title:o().string,isConfigured:o().bool,iconUrl:o().string,href:o().string})).isRequired};const f=(0,r.withPageLayout)(p)},1751:(e,s,t)=>{t.r(s),t.d(s,{default:()=>i.default});var i=t(1752)}}]);
//# sourceMappingURL=external-dns.js.map?d1c5d085476f98229b0b