(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/service-sidebar"],{1134:(e,t,a)=>{"use strict";a.r(t);var s=a(154),l=a(261),n=a.n(l),r=a(155),i=a(144),c=a(799);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},799:(e,t,a)=>{"use strict";a.r(t);var s=a(153),l=a.n(s),n=a(154),r=a(261),i=a.n(r),c=a(578),d=a.n(c),o=a(613),m=a(155);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?a715af1dca22ac6d7362