(this.webpackJsonpst_mui_dialog=this.webpackJsonpst_mui_dialog||[]).push([[0],{73:function(e,t,n){e.exports=n(83)},83:function(e,t,n){"use strict";n.r(t);var a=n(2),r=n.n(a),i=n(29),o=n.n(i),l=n(8),c=n(34),s=n(36),u=n(129),f=n(126),d=n(133),g=n(131),b=n(132),_=n(117),m=n(130),p=n(63),E=n.n(p),O=n(125),h=n(123),x=n(124),v=n(122),w=["children","onClose","sx"];function y(e){var t=e.children,n=e.onClose,a=e.sx,i=Object(c.a)(e,w);return r.a.createElement(_.a,Object.assign({sx:a},i),t,n?r.a.createElement(m.a,{"aria-label":"close",onClick:n,sx:{position:"absolute",right:8,top:8,color:function(e){return e.palette.grey[500]}}},r.a.createElement(E.a,null)):null)}var j=r.a.forwardRef((function(e,t){return r.a.createElement(v.a,Object.assign({ref:t},e))})),C=r.a.forwardRef((function(e,t){return r.a.createElement(h.a,Object.assign({ref:t},e))})),F=r.a.forwardRef((function(e,t){return r.a.createElement(x.a,Object.assign({ref:t},e))})),S=r.a.forwardRef((function(e,t){return r.a.createElement(O.a,Object.assign({direction:"down",ref:t},e))})),J=r.a.forwardRef((function(e,t){return r.a.createElement(O.a,Object.assign({direction:"up",ref:t},e))})),N=r.a.forwardRef((function(e,t){return r.a.createElement(O.a,Object.assign({direction:"left",ref:t},e))})),R=r.a.forwardRef((function(e,t){return r.a.createElement(O.a,Object.assign({direction:"right",ref:t},e))})),k=Object(s.b)((function(e){var t=r.a.useState(!1),n=Object(l.a)(t,2),i=n[0],o=n[1],c=e.args,_=c.title,m=c.content,p=c.abortlabel,E=c.agreelabel,O=c.height,h=c.fullscreen,x=c.styling_dialog,v=c.button_txt,w=c.button_open_type,k=c.divider,H=c.styling_open_button,V=c.styling_agree_button,W=c.styling_abort_button,z=c.width_dialog,B=c.adapt_width_dialog,I=c.styling_dialog_content,M=c.styling_dialog_title,T=c.styling_dialog_content_text,q=c.transition_mode,A=c.slide_direction,D=c.button_abort_type,G=c.button_agree_type,K=c.on_agree,L=c.on_abort,P=c.on_close,Q=c.on_open,U=JSON.parse(x),X=JSON.parse(H),Y=JSON.parse(V),Z=JSON.parse(W),$=JSON.parse(I),ee=JSON.parse(M),te=JSON.parse(T);if(K)var ne=Function(K);else ne=Function();if(L)var ae=Function(L);else ae=Function();if(P)var re=Function(P);else re=Function();if(Q)var ie=Function(Q);else ie=Function();var oe=function(){o(!1),re()};Object(a.useEffect)((function(){i?s.a.setFrameHeight(O):s.a.setFrameHeight()}),[i]);var le=j;if("zoom"==q)le=j;else if("fade"==q)le=C;else if("grow"==q)le=F;else if("slide"==q)if("down"==A)le=S;else if("up"==A)le=J;else if("left"==A)le=N;else if("right"==A)le=R;return r.a.createElement("div",null,r.a.createElement(u.a,{color:w,variant:"outlined",onClick:function(){o(!0),ie()},sx:X},v),r.a.createElement(f.a,{fullScreen:h,open:i,onClose:oe,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",sx:U,maxWidth:z,fullWidth:B,TransitionComponent:le},r.a.createElement(y,{id:"alert-dialog-title",onClose:oe,sx:ee},_),r.a.createElement(g.a,{dividers:k,sx:$},r.a.createElement(b.a,{id:"alert-dialog-description",sx:te},m)),r.a.createElement(d.a,null,r.a.createElement(u.a,{onClick:function(){oe(),s.a.setComponentValue(!1),ae()},sx:Z,color:D},p),r.a.createElement(u.a,{onClick:function(){oe(),s.a.setComponentValue(!0),ne()},sx:Y,autoFocus:!0,color:G},E))))}));o.a.render(r.a.createElement(r.a.StrictMode,null,r.a.createElement(k,null)),document.getElementById("root"))}},[[73,1,2]]]);
//# sourceMappingURL=main.00ade12e.chunk.js.map