(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/smb/email-address/index"],{778:(e,t,n)=>{"use strict";n.r(t);var a=n(153),i=n(260),r=n.n(i),s=n(154),l=n(143),c=n(582);const m=({items:e})=>(0,a.createElement)(s.Tabs,{active:e.findIndex((({containerCls:e})=>"active"===e))+1},e.map((({title:e,href:t},n)=>(0,a.createElement)(s.Tab,{key:n,title:e,component:c.default,to:(0,l.prepareUrl)(t)}))));m.propTypes={items:r().arrayOf(r().shape({title:r().string.isRequired,href:r().string.isRequired,containerCls:r().string})).isRequired},t.default=m},953:(e,t,n)=>{"use strict";n.r(t);var a=n(153),i=n(260),r=n.n(i),s=n(608),l=n(154),c=n(143),m=n(778);const o=c.Locale.getTranslate("smb.controllers.email-address.index"),d=({tabs:e,webmailUrl:t,mailId:i,mailName:r})=>(0,a.createElement)(a.Fragment,null,(0,a.createElement)(m.default,{items:e}),(0,a.createElement)(l.Paragraph,null,(0,a.createElement)(o,{content:"buttonsAreaDescription"})),(0,a.createElement)(l.ItemList,{minColumnWidth:280,gap:"md"},t?(0,a.createElement)(l.Item,{component:"a",icon:(0,a.createElement)(l.Icon,{src:n(954)}),title:(0,a.createElement)(o,{content:"buttonWebmail"}),description:(0,a.createElement)(o,{content:"hintWebmail"}),href:t,target:"_blank"}):null,(0,a.createElement)(l.Item,{component:"a",icon:(0,a.createElement)(l.Icon,{src:n(884)}),title:(0,a.createElement)(o,{content:"buttonEmailAddressSettings"}),description:(0,a.createElement)(o,{content:"hintEmailAddressSettings"}),href:`/smb/email-address/edit/id/${i}/`}),(0,a.createElement)(l.Item,{icon:(0,a.createElement)(l.Icon,{src:n(883)}),title:(0,a.createElement)(o,{content:"buttonConfigureMailApplication"}),description:(0,a.createElement)(o,{content:"hintConfigureMailApplication"}),onClick:()=>{Plesk.require("app/email-address/configure-client",(e=>{e({mailName:r,mailId:i,getConfigurationUrl:"/smb/email-address/configuration"})}))}})));d.propTypes={tabs:r().array,webmailUrl:r().string.isRequired,mailId:r().string.isRequired,mailName:r().string.isRequired},d.defaultProps={tabs:[]},t.default=(0,s.withPageLayout)(d)},952:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a.default});var a=n(953)},883:e=>{e.exports=Jsw.skinUrl+"/icons/32/plesk/manage.png?9fce3fccefdab269fb4a897f91509b5d"},884:e=>{e.exports=Jsw.skinUrl+"/icons/32/plesk/preferences.png?3e21b876f5b895bcb4c400b77821ca53"},954:e=>{e.exports=Jsw.skinUrl+"/icons/32/plesk/web-mail.png?95c60e9a85dec6cabd3a404f9cb02f14"}}]);
//# sourceMappingURL=index.js.map?af6cb5c11410c006c33b