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

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[284],{1363:function(e,r,n){var t=n(5893),o=n(8187);function i(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function l(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){i(e,r,n[r])}))}return e}function u(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}r.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.sx,n=e.text,i=u(e,["sx","text"]);return(0,t.jsx)(t.Fragment,{children:n&&(0,t.jsx)(o.Z,l({},i,{sx:l({marginTop:".4em"},r),text:n}))})}},9:function(e,r,n){n.d(r,{Z:function(){return g}});var t=n(5893),o=n(2186),i=n(5697),l=n(4799),u=n(4656),c=n(7709),a=n(7294),s=n(7169),f=n(4188);function p(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function d(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function b(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){d(e,r,n[r])}))}return e}function y(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function m(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"===typeof e)return p(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,r)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var v=function(e){var r=e.endAdornment,n=e.label,p=e.onPasswordVisibilityAppend,v=e.sx,g=e.inputProps,O=(void 0===g?{}:g).type,h=e.type,j=void 0===h?O:h,x=y(e.inputProps,["type"]),P=y(e,["endAdornment","label","onPasswordVisibilityAppend","sx","inputProps","type"]),w=(0,a.useState)(j),Z=w[0],S=w[1],A=(0,a.useMemo)((function(){var e=j===f.Z.password,r=Z===f.Z.password;return(0,t.jsx)(t.Fragment,{children:e&&(0,t.jsx)(l.Z,{onClick:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var o,i=r?f.Z.text:f.Z.password;S(i),null===p||void 0===p||(o=p).call.apply(o,[null,i].concat(m(n)))},children:r?(0,t.jsx)(o.Z,{}):(0,t.jsx)(i.Z,{})})})}),[j,p,Z]),k=(0,a.useMemo)((function(){var e;return b((d(e={color:s.s7},"& .".concat(u.Z.notchedOutline),{borderColor:s.UZ}),d(e,"& .".concat(u.Z.input),{color:s.lD}),d(e,"&:hover",d({},"& .".concat(u.Z.notchedOutline),{borderColor:s.s7})),d(e,"&.".concat(u.Z.focused),d({color:s.lD},"& .".concat(u.Z.notchedOutline),{borderColor:s.s7,"& legend":{paddingRight:n?"1.2em":0}})),e),v)}),[n,v]),C=(0,a.useMemo)((function(){var e;if("object"===typeof r){var n=r,o=n.props.children,i=void 0===o?[]:o,l=y(n.props,["children"]);e=(0,a.clone