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 lines
9.6 KiB

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[586],{8262:function(e,r,n){n.d(r,{Z:function(){return P}});var i=n(3366),t=n(7462),o=n(7294),a=n(6010),s=n(7192),l=n(7579),c=n(8216),p=n(9964),d=n(6628),u=n(5113),m=n(3616),g=n(1496),x=n(8979);function h(e){return(0,x.Z)("MuiDialog",e)}var f=(0,n(6087).Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var S=(0,o.createContext)({}),w=n(7227),b=n(2734),$=n(5893);const v=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],W=(0,g.ZP)(w.Z,{name:"MuiDialog",slot:"Backdrop",overrides:(e,r)=>r.backdrop})({zIndex:-1}),k=(0,g.ZP)(p.Z,{name:"MuiDialog",slot:"Root",overridesResolver:(e,r)=>r.root})({"@media print":{position:"absolute !important"}}),Z=(0,g.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,r)=>{const{ownerState:n}=e;return[r.container,r[`scroll${(0,c.Z)(n.scroll)}`]]}})((({ownerState:e})=>(0,t.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"}}))),y=(0,g.ZP)(u.Z,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,r)=>{const{ownerState:n}=e;return[r.paper,r[`scrollPaper${(0,c.Z)(n.scroll)}`],r[`paperWidth${(0,c.Z)(String(n.maxWidth))}`],n.fullWidth&&r.paperFullWidth,n.fullScreen&&r.paperFullScreen]}})((({theme:e,ownerState:r})=>(0,t.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===r.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===r.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!r.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===r.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`${e.breakpoints.values.xs}${e.breakpoints.unit}`,[`&.${f.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},"xs"!==r.maxWidth&&{maxWidth:`${e.breakpoints.values[r.maxWidth]}${e.breakpoints.unit}`,[`&.${f.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[r.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},r.fullWidth&&{width:"calc(100% - 64px)"},r.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${f.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})));var P=o.forwardRef((function(e,r){const n=(0,m.Z)({props:e,name:"MuiDialog"}),p=(0,b.Z)(),g={enter:p.transitions.duration.enteringScreen,exit:p.transitions.duration.leavingScreen},{"aria-describedby":x,"aria-labelledby":f,BackdropComponent:w,BackdropProps:P,children:M,className:C,disableEscapeKeyDown:N=!1,fullScreen:B=!1,fullWidth:D=!1,maxWidth:z="sm",onBackdropClick:j,onClose:R,open:F,PaperComponent:T=u.Z,PaperProps:E={},scroll:G="paper",TransitionComponent:A=d.Z,transitionDuration:I=g,TransitionProps:K}=n,_=(0,i.Z)(n,v),L=(0,t.Z)({},n,{disableEscapeKeyDown:N,fullScreen:B,fullWidth:D,maxWidth:z,scroll:G}),X=(e=>{const{classes:r,scroll:n,maxWidth:i,fullWidth:t,fullScreen:o}=e,a={root:["root"],container:["container",`scroll${(0,c.Z)(n)}`],paper:["paper",`paperScroll${(0,c.Z)(n)}`,`paperWidth${(0,c.Z)(String(i))}`,t&&"paperFullWidth",o&&"paperFullScreen"]};return(0,s.Z)(a,h,r)})(L),Y=o.useRef(),H=(0,l.Z)(f),O=o.useMemo((()=>({titleId:H})),[H]);return(0,$.jsx)(k,(0,t.Z)({className:(0,a.Z)(X.root,C),BackdropProps:(0,t.Z)({transitionDuration:I,as:w},P),closeAfterTransition:!0,BackdropComponent:W,disableEscapeKeyDown:N,onClose:R,open:F,ref:r,onClick:e=>{Y.current&&(Y.current=null,j&&j(e),R&&R(e,"backdropClick"))},ownerState:L},_,{children:(0,$.jsx)(A,(0,t.Z)({appear:!0,in:F,timeout:I,role:"presentation"},K,{children:(0,$.jsx)(Z,{className:(0,a.Z)(X.container),onMouseDown:e=>{Y.current=e.target===e.currentTarget},ownerState:L,children:(0,$.jsx)(y,(0,t.Z)({as:T,elevation:24,role:"dialog","aria-describedby":x,"aria-labelledby":H},E,{className:(0,a.Z)(X.paper,E.className),ownerState:L,children:(0,$.jsx)(S.Provider,{value:O,children:M})}))})}))}))}))},6886:function(e,r,n){n.d(r,{ZP:function(){return v}});var i=n(3366),t=n(7462),o=n(7294),a=n(6010),s=n(5408),l=n(9707),c=n(7192),p=n(1496),d=n(3616);var u=o.createContext(),m=n(8979);function g(e){return(0,m.Z)("MuiGrid",e)}const x=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];var h=(0,n(6087).Z)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...x.map((e=>`grid-xs-${e}`)),...x.map((e=>`grid-sm-${e}`)),...x.map((e=>`grid-md-${e}`)),...x.map((e=>`grid-lg-${e}`)),...x.map((e=>`grid-xl-${e}`))]),f=n(5893);const S=["className","columns","columnSpacing","component","container","direction","item","lg","md","rowSpacing","sm","spacing","wrap","xl","xs","zeroMinWidth"];function w(e){const r=parseFloat(e);return`${r}${String(e).replace(String(r),"")||"px"}`}function b(e,r,n={}){if(!r||!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[n[`spacing-xs-${String(e)}`]||`spacing-xs-${String(e)}`];const{xs:i,sm:t,md:o,lg:a,xl:s}=e;return[Number(i)>0&&(n[`spacing-xs-${String(i)}`]||`spacing-xs-${String(i)}`),Number(t)>0&&(n[`spacing-sm-${String(t)}`]||`spacing-sm-${String(t)}`),Number(o)>0&&(n[`spacing-md-${String(o)}`]||`spacing-md-${String(o)}`),Number(a)>0&&(n[`spacing-lg-${String(a)}`]||`spacing-lg-${String(a)}`),Number(s)>0&&(n[`spacing-xl-${String(s)}`]||`spacing-xl-${String(s)}`)]}const $=(0,p.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,r)=>{const{container:n,direction:i,item:t,lg:o,md:a,sm:s,spacing:l,wrap:c,xl:p,xs:d,zeroMinWidth:u}=e.ownerState;return[r.root,n&&r.container,t&&r.item,u&&r.zeroMinWidth,...b(l,n,r),"row"!==i&&r[`direction-xs-${String(i)}`],"wrap"!==c&&r[`wrap-xs-${String(c)}`],!1!==d&&r[`grid-xs-${String(d)}`],!1!==s&&r[`grid-sm-${String(s)}`],!1!==a&&r[`grid-md-${String(a)}`],!1!==o&&r[`grid-lg-${String(o)}`],!1!==p&&r[`grid-xl-${String(p)}`]]}})((({ownerState:e})=>(0,t.Z)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:r}){const n=(0,s.P$)({values:r.direction,breakpoints:e.breakpoints.values});return(0,s.k9)({theme:e},n,(e=>{const r={flexDirection:e};return 0===e.indexOf("column")&&(r[`& > .${h.item}`]={maxWidth:"none"}),r}))}),(function({theme:e,ownerState:r}){const{container:n,rowSpacing:i}=r;let t={};if(n&&0!==i){const r=(0,s.P$)({values:i,breakpoints:e.breakpoints.values});t=(0,s.k9)({theme:e},r,(r=>{const n=e.spacing(r);return"0px"!==n?{marginTop:`-${w(n)}`,[`& > .${h.item}`]:{paddingTop:w(n)}}:{}}))}return t}),(function({theme:e,ownerState:r}){const{container:n,columnSpacing:i}=r;let t={};if(n&&0!==i){const r=(0,s.P$)({values:i,breakpoints:e.breakpoints.values});t=(0,s.k9)({theme:e},r,(r=>{const n=e.spacing(r);return"0px"!==n?{width:`calc(100% + ${w(n)})`,marginLeft:`-${w(n)}`,[`& > .${h.item}`]:{paddingLeft:w(n)}}:{}}))}return t}),(function({theme:e,ownerState:r}){let n;return e.breakpoints.keys.reduce(((i,o)=>{let a={};if(r[o]&&(n=r[o]),!n)return i;if(!0===n)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=(0,s.P$)({values:r.columns,breakpoints:e.breakpoints.values}),c="object"===typeof l?l[o]:l;if(void 0===c||null===c)return i;const p=Math.round(n/c*1e8)/1e6+"%";let d={};if(r.container&&r.item&&0!==r.columnSpacing){const n=e.spacing(r.columnSpacing);if("0px"!==n){const e=`calc(${p} + ${w(n)})`;d={flexBasis:e,maxWidth:e}}}a=(0,t.Z)({flexBasis:p,flexGrow:0,maxWidth:p},d)}return 0===e.breakpoints.values[o]?Object.assign(i,a):i[e.breakpoints.up(o)]=a,i}),{})}));var v=o.forwardRef((function(e,r){const n=(0,d.Z)({props:e,name:"MuiGrid"}),s=(0,l.Z)(n),{className:p,columns:m,columnSpacing:x,component:h="div",container:w=!1,direction:v="row",item:W=!1,lg:k=!1,md:Z=!1,rowSpacing:y,sm:P=!1,spacing:M=0,wrap:C="wrap",xl:N=!1,xs:B=!1,zeroMinWidth:D=!1}=s,z=(0,i.Z)(s,S),j=y||M,R=x||M,F=o.useContext(u),T=m||F||12,E=(0,t.Z)({},s,{columns:T,container:w,direction:v,item:W,lg:k,md:Z,sm:P,rowSpacing:j,columnSpacing:R,wrap:C,xl:N,xs:B,zeroMinWidth:D}),G=(e=>{const{classes:r,container:n,direction:i,item:t,lg:o,md:a,sm:s,spacing:l,wrap:p,xl:d,xs:u,zeroMinWidth:m}=e,x={root:["root",n&&"container",t&&"item",m&&"zeroMinWidth",...b(l,n),"row"!==i&&`direction-xs-${String(i)}`,"wrap"!==p&&`wrap-xs-${String(p)}`,!1!==u&&`grid-xs-${String(u)}`,!1!==s&&`grid-sm-${String(s)}`,!1!==a&&`grid-md-${String(a)}`,!1!==o&&`grid-lg-${String(o)}`,!1!==d&&`grid-xl-${String(d)}`]};return(0,c.Z)(x,g,r)})(E);return A=(0,f.jsx)($,(0,t.Z)({ownerState:E,className:(0,a.Z)(G.root,p),as:h,ref:r},z)),12!==T?(0,f.jsx)(u.Provider,{value:T,children:A}):A;var A}))},7579:function(e,r,n){var i;n.d(r,{Z:function(){return s}});var t=n(7294);let o=0;const a=(i||(i=n.t(t,2))).useId;function s(e){if(void 0!==a){const r=a();return null!=e?e:r}return function(e){const[r,n]=t.useState(e),i=e||r;return t.useEffect((()=>{null==r&&(o+=1,n(`mui-${o}`))}),[r]),i}(e)}}}]);