Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
24 KiB

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[182],{8262:function(e,t,n){n.d(t,{Z:function(){return R}});var o=n(3366),r=n(7462),i=n(7294),a=n(6010),l=n(7192),s=n(7579),d=n(8216),p=n(9964),u=n(6628),c=n(5113),m=n(3616),b=n(1496),f=n(8979);function h(e){return(0,f.Z)("MuiDialog",e)}var v=(0,n(6087).Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var g=(0,i.createContext)({}),Z=n(7227),x=n(2734),y=n(5893);const S=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],w=(0,b.ZP)(Z.Z,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),C=(0,b.ZP)(p.Z,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),P=(0,b.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${(0,d.Z)(n.scroll)}`]]}})((({ownerState:e})=>(0,r.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}))),k=(0,b.ZP)(c.Z,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${(0,d.Z)(n.scroll)}`],t[`paperWidth${(0,d.Z)(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((({theme:e,ownerState:t})=>(0,r.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===t.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===t.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===t.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`${e.breakpoints.values.xs}${e.breakpoints.unit}`,[`&.${v.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},"xs"!==t.maxWidth&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${v.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${v.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})));var R=i.forwardRef((function(e,t){const n=(0,m.Z)({props:e,name:"MuiDialog"}),p=(0,x.Z)(),b={enter:p.transitions.duration.enteringScreen,exit:p.transitions.duration.leavingScreen},{"aria-describedby":f,"aria-labelledby":v,BackdropComponent:Z,BackdropProps:R,children:W,className:$,disableEscapeKeyDown:I=!1,fullScreen:M=!1,fullWidth:B=!1,maxWidth:O="sm",onBackdropClick:F,onClose:E,open:N,PaperComponent:D=c.Z,PaperProps:j={},scroll:A="paper",TransitionComponent:T=u.Z,transitionDuration:L=b,TransitionProps:V}=n,z=(0,o.Z)(n,S),U=(0,r.Z)({},n,{disableEscapeKeyDown:I,fullScreen:M,fullWidth:B,maxWidth:O,scroll:A}),K=(e=>{const{classes:t,scroll:n,maxWidth:o,fullWidth:r,fullScreen:i}=e,a={root:["root"],container:["container",`scroll${(0,d.Z)(n)}`],paper:["paper",`paperScroll${(0,d.Z)(n)}`,`paperWidth${(0,d.Z)(String(o))}`,r&&"paperFullWidth",i&&"paperFullScreen"]};return(0,l.Z)(a,h,t)})(U),G=i.useRef(),X=(0,s.Z)(v),H=i.useMemo((()=>({titleId:X})),[X]);return(0,y.jsx)(C,(0,r.Z)({className:(0,a.Z)(K.root,$),BackdropProps:(0,r.Z)({transitionDuration:L,as:Z},R),closeAfterTransition:!0,BackdropComponent:w,disableEscapeKeyDown:I,onClose:E,open:N,ref:t,onClick:e=>{G.curre