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
12 KiB

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[459],{6886:function(n,r,e){"use strict";e.d(r,{ZP:function(){return y}});var t=e(3366),i=e(7462),o=e(7294),a=e(6010),s=e(5408),u=e(9707),l=e(7192),c=e(1496),p=e(3616);var d=o.createContext(),m=e(8979);function f(n){return(0,m.Z)("MuiGrid",n)}const g=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];var h=(0,e(6087).Z)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((n=>`spacing-xs-${n}`)),...["column-reverse","column","row-reverse","row"].map((n=>`direction-xs-${n}`)),...["nowrap","wrap-reverse","wrap"].map((n=>`wrap-xs-${n}`)),...g.map((n=>`grid-xs-${n}`)),...g.map((n=>`grid-sm-${n}`)),...g.map((n=>`grid-md-${n}`)),...g.map((n=>`grid-lg-${n}`)),...g.map((n=>`grid-xl-${n}`))]),x=e(5893);const b=["className","columns","columnSpacing","component","container","direction","item","lg","md","rowSpacing","sm","spacing","wrap","xl","xs","zeroMinWidth"];function v(n){const r=parseFloat(n);return`${r}${String(n).replace(String(r),"")||"px"}`}function w(n,r,e={}){if(!r||!n||n<=0)return[];if("string"===typeof n&&!Number.isNaN(Number(n))||"number"===typeof n)return[e[`spacing-xs-${String(n)}`]||`spacing-xs-${String(n)}`];const{xs:t,sm:i,md:o,lg:a,xl:s}=n;return[Number(t)>0&&(e[`spacing-xs-${String(t)}`]||`spacing-xs-${String(t)}`),Number(i)>0&&(e[`spacing-sm-${String(i)}`]||`spacing-sm-${String(i)}`),Number(o)>0&&(e[`spacing-md-${String(o)}`]||`spacing-md-${String(o)}`),Number(a)>0&&(e[`spacing-lg-${String(a)}`]||`spacing-lg-${String(a)}`),Number(s)>0&&(e[`spacing-xl-${String(s)}`]||`spacing-xl-${String(s)}`)]}const S=(0,c.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(n,r)=>{const{container:e,direction:t,item:i,lg:o,md:a,sm:s,spacing:u,wrap:l,xl:c,xs:p,zeroMinWidth:d}=n.ownerState;return[r.root,e&&r.container,i&&r.item,d&&r.zeroMinWidth,...w(u,e,r),"row"!==t&&r[`direction-xs-${String(t)}`],"wrap"!==l&&r[`wrap-xs-${String(l)}`],!1!==p&&r[`grid-xs-${String(p)}`],!1!==s&&r[`grid-sm-${String(s)}`],!1!==a&&r[`grid-md-${String(a)}`],!1!==o&&r[`grid-lg-${String(o)}`],!1!==c&&r[`grid-xl-${String(c)}`]]}})((({ownerState:n})=>(0,i.Z)({boxSizing:"border-box"},n.container&&{display:"flex",flexWrap:"wrap",width:"100%"},n.item&&{margin:0},n.zeroMinWidth&&{minWidth:0},"wrap"!==n.wrap&&{flexWrap:n.wrap})),(function({theme:n,ownerState:r}){const e=(0,s.P$)({values:r.direction,breakpoints:n.breakpoints.values});return(0,s.k9)({theme:n},e,(n=>{const r={flexDirection:n};return 0===n.indexOf("column")&&(r[`& > .${h.item}`]={maxWidth:"none"}),r}))}),(function({theme:n,ownerState:r}){const{container:e,rowSpacing:t}=r;let i={};if(e&&0!==t){const r=(0,s.P$)({values:t,breakpoints:n.breakpoints.values});i=(0,s.k9)({theme:n},r,(r=>{const e=n.spacing(r);return"0px"!==e?{marginTop:`-${v(e)}`,[`& > .${h.item}`]:{paddingTop:v(e)}}:{}}))}return i}),(function({theme:n,ownerState:r}){const{container:e,columnSpacing:t}=r;let i={};if(e&&0!==t){const r=(0,s.P$)({values:t,breakpoints:n.breakpoints.values});i=(0,s.k9)({theme:n},r,(r=>{const e=n.spacing(r);return"0px"!==e?{width:`calc(100% + ${v(e)})`,marginLeft:`-${v(e)}`,[`& > .${h.item}`]:{paddingLeft:v(e)}}:{}}))}return i}),(function({theme:n,ownerState:r}){let e;return n.breakpoints.keys.reduce(((t,o)=>{let a={};if(r[o]&&(e=r[o]),!e)return t;if(!0===e)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===e)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const u=(0,s.P$)({values:r.columns,breakpoints:n.breakpoints.values}),l="object"===typeof u?u[o]:u;if(void 0===l||null===l)return t;const c=Math.round(e/l*1e8)/1e6+"%";let p={};if(r.container&&r.item&&0!==r.columnSpacing){const e=n.spacing(r.columnSpacing);if("0px"!==e){const n=`calc(${c} + ${v(e)})`;p={flexBasis:n,maxWidth:n}}}a=(0,i.Z)({flexBasis:c,flexGrow:0,maxWidth:c},p)}return 0===n.breakpoints.values[o]?Object.assign(t,a):t[n.breakpoints.up(o)]=a,t}),{})}));var y=o.forwardRef((function(n,r){const e=(0,p.Z)({props:n,name:"MuiGrid"}),s=(0,u.Z)(e),{className:c,columns:m,columnSpacing:g,component:h="div",container:v=!1,direction:y="row",i