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

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[242],{48802:function(e,t,o){var r=o(63366),n=o(87462),a=o(67294),l=o(59766),i=o(94780),s=o(58801),d=o(89262),u=o(59145),p=o(83881),c=o(85893);let m=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],v=e=>{let{classes:t,disableUnderline:o}=e,r=(0,i.Z)({root:["root",!o&&"underline"],input:["input"]},p._,t);return(0,n.Z)({},t,r)},b=(0,d.ZP)(s.Ej,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...(0,s.Gx)(e,t),!o.disableUnderline&&t.underline]}})(e=>{var t;let{theme:o,ownerState:r}=e,a="light"===o.palette.mode,l=a?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return(0,n.Z)({position:"relative",backgroundColor:o.vars?o.vars.palette.FilledInput.bg:l,borderTopLeftRadius:(o.vars||o).shape.borderRadius,borderTopRightRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create("background-color",{duration:o.transitions.duration.shorter,easing:o.transitions.easing.easeOut}),"&:hover":{backgroundColor:o.vars?o.vars.palette.FilledInput.hoverBg:a?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:o.vars?o.vars.palette.FilledInput.bg:l}},["&.".concat(p.Z.focused)]:{backgroundColor:o.vars?o.vars.palette.FilledInput.bg:l},["&.".concat(p.Z.disabled)]:{backgroundColor:o.vars?o.vars.palette.FilledInput.disabledBg:a?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},!r.disableUnderline&&{"&::after":{borderBottom:"2px solid ".concat(null==(t=(o.vars||o).palette[r.color||"primary"])?void 0:t.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:o.transitions.create("transform",{duration:o.transitions.duration.shorter,easing:o.transitions.easing.easeOut}),pointerEvents:"none"},["&.".concat(p.Z.focused,":after")]:{transform:"scaleX(1) translateX(0)"},["&.".concat(p.Z.error)]:{"&::before, &::after":{borderBottomColor:(o.vars||o).palette.error.main}},"&::before":{borderBottom:"1px solid ".concat(o.vars?"rgba(".concat(o.vars.palette.common.onBackgroundChannel," / ").concat(o.vars.opacity.inputUnderline,")"):a?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)"),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:o.transitions.create("border-bottom-color",{duration:o.transitions.duration.shorter}),pointerEvents:"none"},["&:hover:not(.".concat(p.Z.disabled,", .").concat(p.Z.error,"):before")]:{borderBottom:"1px solid ".concat((o.vars||o).palette.text.primary)},["&.".concat(p.Z.disabled,":before")]:{borderBottomStyle:"dotted"}},r.startAdornment&&{paddingLeft:12},r.endAdornment&&{paddingRight:12},r.multiline&&(0,n.Z)({padding:"25px 12px 8px"},"small"===r.size&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17},r.hiddenLabel&&"small"===r.size&&{paddingTop:8,paddingBottom:9}))}),f=(0,d.ZP)(s.rA,{name:"MuiFilledInput",slot:"Input",overridesResolver:s._o})(e=>{let{theme:t,ownerState:o}=e;return(0,n.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===o.size&&{paddingTop:21,paddingBottom:4},o.hiddenLabel&&{paddingTop:16,paddingBottom:17},o.startAdornment&&{paddingLeft:0},o.endAdornment&&{paddingRight:0},o.hiddenLabel&&"small"===o.size&&{paddingTop:8,paddingBottom:9},o.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})}),g=a.forwardRef(function(e,t){var o,a,i,d;let p=(0,u.Z)({props:e,name:"MuiFilledInput"}),{components:g={},compon