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.4 KiB

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[780],{4825:function(r,n,e){var t=e(5893),o=e(7933),i=e(2992),l=e(7294),c=e(7169);function a(r,n,e){return n in r?Object.defineProperty(r,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[n]=e,r}function u(r){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},t=Object.keys(e);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e).filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})))),t.forEach((function(n){a(r,n,e[n])}))}return r}function s(r,n){if(null==r)return{};var e,t,o=function(r,n){if(null==r)return{};var e,t,o={},i=Object.keys(r);for(t=0;t<i.length;t++)e=i[t],n.indexOf(e)>=0||(o[e]=r[e]);return o}(r,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(t=0;t<i.length;t++)e=i[t],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(r,e)&&(o[e]=r[e])}return o}n.Z=function(r){var n=r.sx,e=s(r,["sx"]),f=(0,l.useMemo)((function(){return u(a({backgroundColor:c.s7,color:c.E5,textTransform:"none","&:hover":{backgroundColor:"".concat(c.s7,"F0")}},"&.".concat(o.Z.disabled),{backgroundColor:c.rr}),n)}),[n]);return(0,t.jsx)(i.Z,u({variant:"contained"},e,{sx:f}))}},8187:function(r,n,e){var t=e(5893),o=e(7294),i=e(7357),l=e(4799),c=e(6576),a=e(238),u=e(6195),s=e(5537),f=e(7169),d=e(7750);function p(r,n){(null==n||n>r.length)&&(n=r.length);for(var e=0,t=new Array(n);e<n;e++)t[e]=r[e];return t}function b(r,n,e){return n in r?Object.defineProperty(r,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[n]=e,r}function y(r){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},t=Object.keys(e);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e).filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})))),t.forEach((function(n){b(r,n,e[n])}))}return r}function m(r,n){if(null==r)return{};var e,t,o=function(r,n){if(null==r)return{};var e,t,o={},i=Object.keys(r);for(t=0;t<i.length;t++)e=i[t],n.indexOf(e)>=0||(o[e]=r[e]);return o}(r,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(t=0;t<i.length;t++)e=i[t],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(r,e)&&(o[e]=r[e])}return o}function v(r){return function(r){if(Array.isArray(r))return p(r)}(r)||function(r){if("undefined"!==typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(r)||function(r,n){if(!r)return;if("string"===typeof r)return p(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);"Object"===e&&r.constructor&&(e=r.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return p(r,n)}(r)||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 g="MessageBox",O={error:"".concat(g,"-error"),info:"".concat(g,"-info"),warning:"".concat(g,"-warning")},h={error:(0,t.jsx)(c.Z,{}),info:(0,t.jsx)(a.Z,{}),warning:(0,t.jsx)(u.Z,{})},j={isShowInitially:!0,isAllowClose:!1,onClose:void 0,onCloseAppend:void 0,text:void 0,type:"info"},w=function(r){var n=r.children,e=r.isAllowClose,c=void 0===e?j.isAllowClose:e,a=r.isShowInitially,u=void 0===a?j.isShowInitially:a,p=r.onClose,g=r.onCloseAppend,w=r.type,x=void 0===w?j.type:w,Z=r.text,P=m(r,["children","isAllowClose","isShowInitially","onClose","onCloseAppend","type","text"]),S=P.sx,A=(0,o.useState)(u),C=A[0],k=A[1],E=(0,o.useMemo)((function(){return c||void 0!==p||void 0!==g}),[c,p,g]),I=(0,o.useCallback)((function(r){return O[r]}),[]),M=(0,o.useCallback)((function(r){return void 0===h[r]?h.info:h[r]}),[]),D=(0,o.useCallback)((function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;return(0,t.jsx)(d.Ac,{inverted:"info"===r,children:e})}),[n]),R=(0,o.useMemo)((function(){var r;return y((b(r={alignItems:"center",borderRadius:f.n_,display:"flex",flexDirection:"row",padding:".3em .6em","& > *":{color:f.lD},"& > :first-child":{marginRight:".3em"},"& > :nth-child(2)":{flexGrow:1}},"&.".concat(O.error),{backgroundColor:f.hM}),b(r,"&.".concat(O.info),{backgroundColor:f.s7,"& > *":{color:"".concat(f.E5)}}),b(r,"&.".concat(O.warning),{backgroundColor:f.Wd}),r),S)}),[S]);return C?(0,t.jsxs)(i.Z,y({},P,{className:I(x),sx:R,children:[M(x),D(x,Z),E&&(0,t.jsx)(l.Z,{onClick:null!==p&&void 0!==p?p:function(){for(var r=arguments.length,n=new Array(r),e=0;e<r;e++)n[e]=arguments[e];var t;k(!1),null===g||void 0===g||(t=g).call.apply(t,[null].concat(v(n)))},children:(0,t.jsx)(s.Z,{sx:{fontSize:"1.25rem"}})})]})):(0,t.jsx)(t.Fragment,{})};w.defaultProps=j,n.Z=w},9:function(r,n,e){e.d(n,{Z:function(){return g}});var t=e(5893),o=e(2186),i=e(5697),l=e(4799),c=e(4656),a=e(7709),u=e(7294),s=e(7169),f=e(4188);function d(r,n){(null==n||n>r.length)&&(n=r.length);for(var e=0,t=new Array(n);e<n;e++)t[e]=r[e];return t}function p(r,n,e){return n in r?Object.defineProperty(r,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[n]=e,r}function b(r){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},t=Object.keys(e);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e).filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})))),t.forEach((function(n){p(r,n,e[n])}))}return r}function y(r,n){if(null==r)return{};var e,t,o=function(r,n){if(null==r)return{};var e,t,o={},i=Object.keys(r);for(t=0;t<i.length;t++)e=i[t],n.indexOf(e)>=0||(o[e]=r[e]);return o}(r,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(t=0;t<i.length;t++)e=i[t],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(r,e)&&(o[e]=r[e])}return o}function m(r){return function(r){if(Array.isArray(r))return d(r)}(r)||function(r){if("undefined"!==typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(r)||function(r,n){if(!r)return;if("string"===typeof r)return d(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);"Object"===e&&r.constructor&&(e=r.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return d(r,n)}(r)||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(r){var n=r.endAdornment,e=r.label,d=r.onPasswordVisibilityAppend,v=r.sx,g=r.inputProps,O=(void 0===g?{}:g).type,h=r.type,j=void 0===h?O:h,w=y(r.inputProps,["type"]),x=y(r,["endAdornment","label","onPasswordVisibilityAppend","sx","inputProps","type"]),Z=(0,u.useState)(j),P=Z[0],S=Z[1],A=(0,u.useMemo)((function(){var r=j===f.Z.password,n=P===f.Z.password;return(0,t.jsx)(t.Fragment,{children:r&&(0,t.jsx)(l.Z,{onClick:function(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];var o,i=n?f.Z.text:f.Z.password;S(i),null===d||void 0===d||(o=d).call.apply(o,[null,i].concat(m(e)))},children:n?(0,t.jsx)(o.Z,{}):(0,t.jsx)(i.Z,{})})})}),[j,d,P]),C=(0,u.useMemo)((function(){var r;return b((p(r={color:s.s7},"& .".concat(c.Z.notchedOutline),{borderColor:s.UZ}),p(r,"& .".concat(c.Z.input),{color:s.lD}),p(r,"&:hover",p({},"& .".concat(c.Z.notchedOutline),{borderColor:s.s7})),p(r,"&.".concat(c.Z.focused),p({color:s.lD},"& .".concat(c.Z.notchedOutline),{borderColor:s.s7,"& legend":{paddingRight:e?"1.2em":0}})),r),v)}),[e,v]),k=(0,u.useMemo)((function(){var r;if("object"===typeof n){var e=n,o=e.props.children,i=void 0===o?[]:o,l=y(e.props,["children"]);r=(0,u.cloneElement)(e,b({},l,{children:(0,t.jsxs)(t.Fragment,{children:[A,i]})}))}return r}),[A,n]);return(0,t.jsx)(a.Z,b({endAdornment:k,label:e,inputProps:b({type:P},w)},x,{sx:C}))};v.defaultProps={onPasswordVisibilityAppend:void 0};var g=v},192:function(r,n,e){e.d(n,{Z:function(){return p}});var t=e(5893),o=e(6400),i=e(2994),l=e(6727),c=e(76),a=e(7357),u=e(7169);function s(r,n,e){return n in r?Object.defineProperty(r,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[n]=e,r}function f(r){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},t=Object.keys(e);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e).filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})))),t.forEach((function(n){s(r,n,e[n])}))}return r}function d(r,n){if(null==r)return{};var e,t,o=function(r,n){if(null==r)return{};var e,t,o={},i=Object.keys(r);for(t=0;t<i.length;t++)e=i[t],n.indexOf(e)>=0||(o[e]=r[e]);return o}(r,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(t=0;t<i.length;t++)e=i[t],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(r,e)&&(o[e]=r[e])}return o}var p=function(r){var n,e=r.children,p=r.isNotifyRequired,b=r.sx,y=r.variant,m=void 0===y?"outlined":y,v=d(r,["children","isNotifyRequired","sx","variant"]),g=f((s(n={color:"".concat(u.s7,"9F")},"& .".concat(i.Z.root),{color:u.s7}),s(n,"&.".concat(l.Z.focused),{backgroundColor:u.s7,borderRadius:u.n_,color:u.E5,padding:".1em .6em"}),s(n,"&.".concat(l.Z.shrink," .").concat(i.Z.root),{display:"none"}),n),b);return(0,t.jsx)(c.Z,f({variant:m},v,{sx:g,children:(0,t.jsxs)(a.Z,{sx:{alignItems:"center",display:"flex",flexDirection:"row"},children:[p&&(0,t.jsx)(o.Z,{sx:{marginLeft:"-.2rem",marginRight:".4rem"}}),e]})}))}},4188:function(r,n){n.Z={number:"number",password:"password",text:"text"}}}]);