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