(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/service-sidebar"],{1206:(e,t,a)=>{"use strict";a.r(t);var s=a(153),l=a(260),n=a.n(l),r=a(154),i=a(143),c=a(847);const d=i.Locale.getTranslate("smb.controllers.service.index"),o=({version:e,resourceId:t})=>(0,s.createElement)(c.default,{title:(0,s.createElement)(d,{content:"updateBlockTitle"})},(0,s.createElement)("div",{className:"side-panel__item"},(0,s.createElement)(d,{content:"newVersionAvailable",params:{version:e}})),(0,s.createElement)("div",{className:"side-panel__item"},(0,s.createElement)(r.Action,{href:"/smb/app-update/index/resourceId/".concat(t)},(0,s.createElement)(d,{content:"updateMoreInfo"}))),(0,s.createElement)("div",{className:"side-panel__item"},(0,s.createElement)(r.Action,{onClick:()=>Smb.Views.Apps.startUpdate()},(0,s.createElement)(d,{content:"updateNow"}))));o.propTypes={version:n().string.isRequired,resourceId:n().string.isRequired},t.default=o},847:(e,t,a)=>{"use strict";a.r(t);var s=a(152),l=a.n(s),n=a(153),r=a(260),i=a.n(r),c=a(578),d=a.n(c),o=a(620),m=a(154);const p=({baseClassName:e,className:t,id:a,title:s,children:r,...i})=>{const[c,p]=(0,o.useLocalStorage)("".concat(a,"-hidden"));return(0,n.createElement)(m.Panel,l()({className:d()(e,t),id:a,title:s?(0,n.createElement)(m.Heading,{level:4},s):null,collapsible:!!a,collapsed:!!s&&"true"===c,onToggle:()=>p("true"===c?"false":"true")},i),r)};p.propTypes={id:i().string,title:i().any,children:i().any.isRequired,className:i().string,baseClassName:i().string},p.defaultProps={id:void 0,title:void 0,className:void 0,baseClassName:"side-panel"},t.default=p}}]);
//# sourceMappingURL=service-sidebar.js.map?ac5b647cb3f379164de8