"use strict";(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/smb/my-service/index"],{1784:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i.default});var i=s(1785)},1785:(t,e,s)=>{s.r(e),s.d(e,{default:()=>p});var i=s(667),n=s.n(i),l=s(90),o=s(674),a=s(712),r=s(1786),c=s(295);const m=l.Locale.getTranslate("smb.controllers.my-service.index"),d=({services:t})=>(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("p",{children:(0,c.jsx)(m,{content:"buttonsAreaDescription"})}),(0,c.jsx)(a.default,{children:()=>new l.ListContainer({cls:"tools-list",itemClass:"tools-item",items:t.map(({title:t,icon:e,links:s})=>({componentType:r.default,image:e,items:s,title:t}))})})]});d.propTypes={services:n().array.isRequired};const p=(0,o.withPageLayout)(d)},1786:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(90);class n extends i.Container{_initConfiguration(t){super._initConfiguration(t),this._contentAreaId=`${this._id}-tools-list`,this._image=this._getConfigParam("image",""),this._title=this._getConfigParam("title","")}_initComponentElement(){this._componentElement=new Element("div",{class:"tool-block"}),this._componentElement.innerHTML=`<span class="tool-icon"><img src="${this._image}"/></span><span class="tool-name">${this._title}</span><ul id="${this._id}-tools-list" class="tool-info"></ul>`}}const l=n}}]);
//# sourceMappingURL=index.js.map?dafe2d66f6d4b5d89c99