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
9.7 KiB
1 line
9.7 KiB
11 months ago
|
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[50],{78262:function(e,t,r){r.d(t,{Z:function(){return M}});var a=r(63366),i=r(87462),o=r(67294),n=r(63961),l=r(94780),s=r(92996),p=r(98216),d=r(11994),c=r(16628),u=r(90629),m=r(71657),g=r(90948),b=r(1588),h=r(34867);function getDialogUtilityClass(e){return(0,h.Z)("MuiDialog",e)}let v=(0,b.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),f=o.createContext({});var y=r(84808),Z=r(2734),x=r(85893);let C=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],k=(0,g.ZP)(y.Z,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),useUtilityClasses=e=>{let{classes:t,scroll:r,maxWidth:a,fullWidth:i,fullScreen:o}=e,n={root:["root"],container:["container",`scroll${(0,p.Z)(r)}`],paper:["paper",`paperScroll${(0,p.Z)(r)}`,`paperWidth${(0,p.Z)(String(a))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return(0,l.Z)(n,getDialogUtilityClass,t)},$=(0,g.ZP)(d.Z,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),w=(0,g.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.container,t[`scroll${(0,p.Z)(r.scroll)}`]]}})(({ownerState:e})=>(0,i.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"}})),W=(0,g.ZP)(u.Z,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.paper,t[`scrollPaper${(0,p.Z)(r.scroll)}`],t[`paperWidth${(0,p.Z)(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>(0,i.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):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${v.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&"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%"}})),S=o.forwardRef(function(e,t){let r=(0,m.Z)({props:e,name:"MuiDialog"}),l=(0,Z.Z)(),p={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{"aria-describedby":d,"aria-labelledby":g,BackdropComponent:b,BackdropProps:h,children:v,className:y,disableEscapeKeyDown:S=!1,fullScreen:M=!1,fullWidth:P=!1,maxWidth:D="sm",onBackdropClick:R,onClose:B,open:I,PaperComponent:F=u.Z,PaperProps:O={},scroll:_="paper",TransitionComponent:N=c.Z,transitionDuration:U=p,TransitionProps:V}=r,j=(0,a.Z)(r,C),T=(0,i.Z)({},r,{disableEscapeKeyDown:S,fullScreen:M,fullWidth:P,maxWidth:D,scroll:_}),A=useUtilityClasses(T),E=o.useRef(),L=(0,s.Z)(g),H=o.useMemo(()=>({titleId:L}),[L]);return(0,x.jsx)($,(0,i.Z)({className:(0,n.Z)(A.root,y),closeAfterTransition:!0,components:{Backdrop:k},componentsProps:{back
|