"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[5223],{56028:function(e,n,s){var t=s(29439),i=s(1413),l=s(72791),o=s(60364),a=s(13400),r=s(55646),c=s(5574),d=s(65661),u=s(39157),h=s(11135),f=s(25787),p=s(23814),m=s(25469),x=s(29823),g=s(28057),j=s(87995),w=s(80184);n.Z=(0,f.Z)((function(e){return(0,h.Z)((0,i.Z)((0,i.Z)({},p.Qw),{},{content:{padding:25,paddingBottom:0},customDialogSize:{width:"100%",maxWidth:765}},p.sN))}))((function(e){var n=e.onClose,s=e.modalOpen,h=e.title,f=e.children,p=e.classes,Z=e.wideLimit,k=void 0===Z||Z,y=e.noContentPadding,C=e.titleIcon,v=void 0===C?null:C,b=(0,m.TL)(),B=(0,l.useState)(!1),N=(0,t.Z)(B,2),M=N[0],I=N[1],S=(0,o.v9)((function(e){return e.system.modalSnackBar}));(0,l.useEffect)((function(){b((0,j.MK)(""))}),[b]),(0,l.useEffect)((function(){if(S){if(""===S.message)return void I(!1);"error"!==S.type&&I(!0)}}),[S]);var z=k?{classes:{paper:p.customDialogSize}}:{maxWidth:"lg",fullWidth:!0},E="";return S&&(E=S.detailedErrorMsg,(""===S.detailedErrorMsg||S.detailedErrorMsg.length<5)&&(E=S.message)),(0,w.jsxs)(c.Z,(0,i.Z)((0,i.Z)({open:s,classes:p},z),{},{scroll:"paper",onClose:function(e,s){"backdropClick"!==s&&n()},className:p.root,children:[(0,w.jsxs)(d.Z,{className:p.title,children:[(0,w.jsxs)("div",{className:p.titleText,children:[v," ",h]}),(0,w.jsx)("div",{className:p.closeContainer,children:(0,w.jsx)(a.Z,{"aria-label":"close",id:"close",className:p.closeButton,onClick:n,disableRipple:!0,size:"small",children:(0,w.jsx)(x.Z,{})})})]}),(0,w.jsx)(g.Z,{isModal:!0}),(0,w.jsx)(r.Z,{open:M,className:p.snackBarModal,onClose:function(){I(!1),b((0,j.MK)(""))},message:E,ContentProps:{className:"".concat(p.snackBar," ").concat(S&&"error"===S.type?p.errorSnackBar:"")},autoHideDuration:S&&"error"===S.type?1e4:5e3}),(0,w.jsx)(u.Z,{className:y?"":p.content,children:f})]}))}))},75223:function(e,n,s){s.r(n);s(72791);var t=s(56028),i=s(64554),l=s(75952),o=s(38734),a=s(83303),r=s(88824),c=s(80184);n.default=function(e){var n=e.isOpen,s=e.onClose;return(0,c.jsx)(t.Z,{modalOpen:n,title:"License",onClose:function(){s()},children:(0,c.jsxs)(i.Z,{sx:{display:"flex",flexFlow:"column","& .link-text":{color:"#2781B0",fontSize:"12px",fontWeight:600}},children:[(0,c.jsx)(i.Z,{sx:{display:"flex",alignItems:"center",marginBottom:"40px",justifyContent:"center","& .min-icon":{fill:"blue",width:"188px",height:"62px"}},children:(0,c.jsx)(o.BKr,{})}),(0,c.jsxs)(i.Z,{sx:{marginBottom:"27px"},children:["By using this software, you acknowledge that MinIO software is licensed under the ",(0,c.jsx)(r.Z,{}),", for which, the full text can be found here:"," ",(0,c.jsx)("a",{href:"https://www.gnu.org/licenses/agpl-3.0.html",rel:"noreferrer noopener",className:"link-text",children:"https://www.gnu.org/licenses/agpl-3.0.html."})]}),(0,c.jsxs)(i.Z,{sx:{paddingBottom:"23px"},children:["Please review the terms carefully and ensure you are in compliance with the obligations of the license. If you are not able to satisfy the license obligations, we offer a commercial license which is available here:"," ",(0,c.jsx)("a",{href:"https://min.io/signup?ref=con",rel:"noreferrer noopener",className:"link-text",children:"https://min.io/signup."})]}),(0,c.jsx)(i.Z,{sx:{marginTop:"19px",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,c.jsx)(l.z,{id:"confirm",type:"button",variant:"callAction",onClick:function(){(0,a.NI)(),s()},label:"Acknowledge"})})]})})}}}]);
//# sourceMappingURL=5223.6b25d26b.chunk.js.map