"use strict";(self.webpackChunkname=self.webpackChunkname||[]).push([[5552],{27036:(e,t,r)=>{var a=r(64836);t.Z=void 0;var n=a(r(64938)),o=r(85893),i=(0,n.default)((0,o.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");t.Z=i},28350:(e,t,r)=>{var a=r(64836);t.Z=void 0;var n=a(r(64938)),o=r(85893),i=(0,n.default)((0,o.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"}),"SmsFailed");t.Z=i},66489:(e,t,r)=>{r.d(t,{Z:()=>C});var a=r(63366),n=r(87462),o=r(81672),i=r(86010),s=r(94780),l=r(70917),c=r(98216),m=r(71657),u=r(90948),d=r(22346),f=r(85893);const v=["className","color","disableShrink","size","style","thickness","value","variant"];let g,p,h,Z,b=e=>e;const y=(0,l.F4)(g||(g=b`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`)),S=(0,l.F4)(p||(p=b`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -125px;
  }
`)),R=(0,u.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${(0,c.Z)(r.color)}`]]}})((({ownerState:e,theme:t})=>(0,n.Z)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&(0,l.iv)(h||(h=b`
      animation: ${0} 1.4s linear infinite;
    `),y))),k=(0,u.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),x=(0,u.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${(0,c.Z)(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,n.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,l.iv)(Z||(Z=b`
      animation: ${0} 1.4s ease-in-out infinite;
    `),S))),C=o.forwardRef((function(e,t){const r=(0,m.Z)({props:e,name:"MuiCircularProgress"}),{className:o,color:l="primary",disableShrink:u=!1,size:g=40,style:p,thickness:h=3.6,value:Z=0,variant:b="indeterminate"}=r,y=(0,a.Z)(r,v),S=(0,n.Z)({},r,{color:l,disableShrink:u,size:g,thickness:h,value:Z,variant:b}),C=(e=>{const{classes:t,variant:r,color:a,disableShrink:n}=e,o={root:["root",r,`color${(0,c.Z)(a)}`],svg:["svg"],circle:["circle",`circle${(0,c.Z)(r)}`,n&&"circleDisableShrink"]};return(0,s.Z)(o,d.C,t)})(S),w={},E={},P={};if("determinate"===b){const e=2*Math.PI*((44-h)/2);w.strokeDasharray=e.toFixed(3),P["aria-valuenow"]=Math.round(Z),w.strokeDashoffset=`${((100-Z)/100*e).toFixed(3)}px`,E.transform="rotate(-90deg)"}return(0,f.jsx)(R,(0,n.Z)({className:(0,i.Z)(C.root,o),style:(0,n.Z)({width:g,height:g},E,p),ownerState:S,ref:t,role:"progressbar"},P,y,{children:(0,f.jsx)(k,{className:C.svg,ownerState:S,viewBox:"22 22 44 44",children:(0,f.jsx)(x,{className:C.circle,style:w,ownerState:S,cx:44,cy:44,r:(44-h)/2,fill:"none",strokeWidth:h})})}))}))},22346:(e,t,r)=>{r.d(t,{C:()=>o,Z:()=>i});var a=r(1588),n=r(34867);function o(e){return(0,n.Z)("MuiCircularProgress",e)}const i=(0,a.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"])},23510:(e,t,r)=>{r.d(t,{Z:()=>i});var a=r(33206),n=r(66489),o=(0,a.ZL)()((function(){return{alignCenter:{alignItems:"center",display:"grid",height:"100%",justifyContent:"center",width:"100%"}}}));const i=function(e){var t,r,a,i=e.loading,s=e.children,l=e.loadingIndicatorSize,c=void 0===l?void 0:l,m=e.alignCenter,u=void 0===m||m,d=e.className,f=e.loadingContainerClassname,v=o(),g=v.classes,p=v.cx;return i?React.createElement("div",{className:p((t={},r=g.alignCenter,a=u,r in t?Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[r]=a,t),f)},React.createElement(n.Z,{className:d,size:c})):s}},59395:(e,t,r)=>{r.d(t,{K8:()=>l,Tq:()=>i,jF:()=>c,sc:()=>s});var a=r(80620);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){n(e,t,r[t])}))}return e}var i=(0,a.atom)(null),s=(0,a.atom)(null,(function(e,t,r){t(i,o({},e(i),r))})),l=(0,a.atom)(null),c=(0,a.atom)(null,(function(e,t,r){t(l,o({},e(l),r))}))},5552:(e,t,r)=>{r.r(t),r.d(t,{default:()=>l});var a=r(80620),n=r(63397),o=r(59395),i=r(72824),s=r(62586);const l=function(){var e=(0,n.useTranslation)().t,t=(0,a.useAtomValue)(o.Tq);return React.createElement(i.Z,{error:null,formTitle:e(s.TE),statusCreating:(null==t?void 0:t.submitStatus)?t.submitStatus:null,statusGenerating:null})}},62586:(e,t,r)=>{r.d(t,{$m:()=>i,BD:()=>y,Bs:()=>d,EI:()=>C,GM:()=>p,H0:()=>P,HT:()=>m,Ib:()=>h,Ke:()=>z,LI:()=>S,Mf:()=>f,P6:()=>s,R4:()=>Z,TE:()=>T,TY:()=>D,Ti:()=>N,V:()=>g,Xe:()=>b,_L:()=>x,_y:()=>k,bh:()=>j,i2:()=>o,i9:()=>u,jN:()=>E,l3:()=>l,lZ:()=>v,nR:()=>w,no:()=>a,tT:()=>R,u0:()=>n,uA:()=>c});var a="Export generation timeout",n="Add advanced server configuration",o="Create new Poller",i="Select a Poller",s="Select Pending Poller IP",l="Do not check SSL certificate validation",c="Creating Export Task",m="Generating Export Files",u="Add a Centreon Poller",d="Add a Centreon Remote Server",f="Server Configuration",v="Choose a server type",g="Create new Remote Server",p="Select a Remote Server",h="Select Pending Remote Links",Z="Server Name",b="Server IP address",y="Database username",S="Database password",R="Centreon Central IP address, as seen by this server",k="Centreon Web Folder on Remote",x="Attach poller to a master remote server",C="Attach poller to additional remote servers",w="Select pollers to be attached to this new Remote Server",E="Advanced: reverse Centreon Broker communication flow",P="Do not use configured proxy to connect to this server",T="Finalizing Setup",D="Next",j="Previous",N="Apply",z="Required"},72824:(e,t,r)=>{r.d(t,{Z:()=>g});var a=r(79895),n=r(63397),o=r(21987),i=r(23972),s=r(16651),l=r(42588),c=r(14723),m=r(27036),u=r(28350),d=r(23510),f=r(97163),v=r(62586);function g(e){var t=e.formTitle,r=e.statusCreating,g=e.statusGenerating,p=e.error,h=(0,f.w)({statusCreating:r,statusGenerating:g}),Z=(0,n.useTranslation)().t,b=(0,a.kKJ)(r)||(0,a.kKJ)(g),y=((0,a.fS0)(r,!1)||(0,a.fS0)(g,!1))&&p;return React.createElement(o.Z,null,React.createElement("div",null,React.createElement("div",{className:h.formHeading},React.createElement(i.Z,{variant:"h6"},t)),React.createElement("p",{className:h.formText},React.createElement(d.Z,{alignCenter:!0,loading:b},React.createElement("span",{className:h.statusCreating},(0,a.ffD)((0,a.kKJ)(r))?React.createElement(i.Z,{variant:"body2"},React.createElement(c.Z,{color:r?"success":"error",icon:r?React.createElement(m.Z,null):React.createElement(u.Z,null),label:Z(v.uA),style:{width:"100%"}})):"..."))),React.createElement("p",{className:h.formText},React.createElement(d.Z,{alignCenter:!0,loading:b},React.createElement("span",{className:h.statusGenerating},(0,a.ffD)((0,a.kKJ)(g))?React.createElement(i.Z,{variant:"body2"},React.createElement(c.Z,{color:g?"success":"error",icon:g?React.createElement(m.Z,null):React.createElement(u.Z,null),label:Z(v.HT),style:{width:"100%"}})):"..."))),y&&React.createElement(s.ZP,{item:!0},React.createElement(l.Z,{severity:"error"},React.createElement(i.Z,null,p)))))}},97163:(e,t,r)=>{r.d(t,{w:()=>i,y:()=>o});var a=r(16779),n=r(47036),o=(0,a.Z)((function(e){return{form:{display:"flex",flexDirection:"column",rowGap:e.spacing(2),width:"100%"},formButton:{columnGap:e.spacing(1),display:"flex",flexDirection:"row",justifyContent:"flex-end",marginTop:e.spacing(1.875)},formHeading:{marginBottom:e.spacing(.625)},formItem:{paddingBottom:e.spacing(1.875)},formText:{color:"#242f3a",fontFamily:"Roboto Regular",fontSize:e.spacing(1.5),margin:"20px 0"},wizardRadio:{columnGap:e.spacing(2),display:"flex",justifyContent:"center",marginBottom:e.spacing(3)}}})),i=(0,a.Z)((function(e){return{formButton:{columnGap:e.spacing(1),display:"flex",flexDirection:"row",justifyContent:"flex-end",marginTop:e.spacing(1.875)},formHeading:{marginBottom:e.spacing(.625)},formText:{color:n.Z[500],fontFamily:"Roboto Regular",fontSize:e.spacing(1.5),margin:"20px 0"},statusCreating:function(e){return{color:e.statusCreating?"#acd174":"#d0021b"}},statusGenerating:function(e){return{color:e.statusGenerating?"#acd174":"#d0021b"}}}}))}}]);