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