(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["components/pages/ServerAboutPage"],{2102:(e,s,n)=>{"use strict";n.r(s),n.d(s,{default:()=>c});var t=n(270),r=n(272),i=n.n(r),a=n(598),o=n.n(a);const l=({className:e=null,front:s,back:n})=>{const[r,i]=(0,t.useState)(!1);return(0,t.jsx)("div",{className:o()("flip-container",{flipped:r},e),children:(0,t.jsxs)("div",{className:"flipper",onDoubleClick:()=>i(!r),children:[(0,t.jsx)("div",{className:"front",children:s}),(0,t.jsx)("div",{className:"back",children:n})]})})};l.propTypes={className:i().string,front:i().any.isRequired,back:i().any.isRequired};const c=l},2101:(e,s,n)=>{"use strict";n.r(s),n.d(s,{default:()=>g});var t=n(270),r=n(579),i=n(271),a=n(89),o=n(2102),l=n(633),c=n(834),p=n.n(c),d=n(2103),x=n.n(d),j=n(2104),m=n.n(j),h=n(2105),u=n.n(h);const k=a.Locale.getTranslate("components.pages.ServerAbout"),g=()=>{const{data:{primaryKey:{pleskKeyId:e,editionName:s},server:{productVersion:{name:n,version:a,patch:c}},config:d}}=(0,r.useQuery)(p()),[j,h]=(0,t.useState)(-3);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.default,{className:"plesk-about",front:(0,t.jsxs)("figure",{className:"about-image",children:[(0,t.jsx)("img",{className:"about-image-logo",src:x(),alt:""}),j<-2||j>-1?(0,t.jsxs)("div",{className:"about-image__footprints",onClick:()=>h(-2),children:[(0,t.jsx)("span",{className:"footprint footprint--1"}),(0,t.jsx)("span",{className:"footprint footprint--2"}),(0,t.jsx)("span",{className:"footprint footprint--3"}),(0,t.jsx)("span",{className:"footprint footprint--4"})]}):j<0?(0,t.jsxs)(i.Popover,{visible:-1===j,target:(0,t.jsx)("img",{onClick:()=>h(-1),className:"vzhuh",src:u(),width:"150",alt:""}),placement:"right",title:(0,t.jsx)(k,{content:"darkThemePromoTitle"}),onClose:()=>h(-3),children:[(0,t.jsx)("p",{children:(0,t.jsx)(k,{content:"darkThemePromoDescription"})}),(0,t.jsx)(i.Button,{onClick:()=>h(0),children:(0,t.jsx)(k,{content:"darkThemePromoButton"})})]}):null]}),back:(0,t.jsx)("figure",{className:"about-image",children:(0,t.jsx)("img",{src:m(),alt:""})})}),(0,t.jsx)(i.Tour,{current:j,onClose:()=>h(-3),children:(0,t.jsx)(i.Spot,{selector:".top-theme-switcher > button.theme-switcher",popup:{size:"sm",placement:"bottom",buttons:[(0,t.jsx)(i.Button,{onClick:()=>h(-3),intent:"primary",children:(0,t.jsx)(k,{content:"darkThemeTourButton"})},"gotit")],children:(0,t.jsx)(k,{content:"darkThemeTourDescription"})}})}),(0,t.jsxs)("p",{children:[n," ",s,(0,t.jsx)("br",{}),(0,t.jsx)(k,{content:"panelVersion"})," ",a,c&&(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsx)(k,{content:"installedPatchVersion",params:{patch:c}})]})]}),(0,t.jsxs)("p",{children:[(0,t.jsx)(k,{content:"licenseKey"}),`: ${e} | `,(0,t.jsx)(l.default,{to:"/cp/license/",children:(0,t.jsx)(k,{content:"linkLicenseManagement"})})]}),(0,t.jsx)("p",{children:(0,t.jsx)(k,{content:"productDescription"})}),(0,t.jsxs)("ul",{children:[(0,t.jsx)("li",{children:(0,t.jsx)(k,{content:"visitSite",params:{link:(0,t.jsx)(i.Link,{href:d.product.siteUrl,target:"_blank",children:(0,t.jsx)(k,{content:"linkSite"})})}})}),(0,t.jsx)("li",{children:(0,t.jsx)(k,{content:"visitBlog",params:{link:(0,t.jsx)(i.Link,{href:d.product.blogUrl,target:"_blank",children:(0,t.jsx)(k,{content:"linkBlog"})})}})}),(0,t.jsxs)("li",{children:[(0,t.jsx)(k,{content:"followUs"}),": ",(0,t.jsx)(i.Link,{href:d.facebook.pleskPage,target:"_blank",children:"Facebook"})," | ",(0,t.jsx)(i.Link,{href:d.twitter.pleskPage,target:"_blank",children:"Twitter"})]}),(0,t.jsx)("li",{children:(0,t.jsx)(k,{content:"visitForum",params:{link:(0,t.jsx)(i.Link,{href:d.feedback.forumUrl,target:"_blank",children:(0,t.jsx)(k,{content:"linkForum"})})}})})]}),(0,t.jsx)("p",{children:(0,t.jsx)(k,{content:"copyright"})}),(0,t.jsx)("p",{children:(0,t.jsx)(k,{content:"readEula",params:{link:(0,t.jsx)(i.Link,{href:"/admin/index/eula",target:"_blank",children:(0,t.jsx)(k,{content:"linkEula"})})}})})]})}},2103:e=>{e.exports=Jsw.skinUrl+"/images/about-plesk.png?46482ea13d149737cb1a3623f8346fb6"},2105:e=>{e.exports=Jsw.skinUrl+"/images/magic-cat.svg?25712e4bca6141b00a680bed3d13e944"},2104:e=>{e.exports=Jsw.skinUrl+"/images/team.jpg?5ac949ac00535d82d90025c80bb48598"}}]);
//# sourceMappingURL=ServerAboutPage.js.map?4540b303420bc8cb9cc8