@telicent-oss/ds 0.15.1 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ds.umd.cjs CHANGED
@@ -2327,8 +2327,8 @@ var __privateWrapper = (obj, member, setter, getter) => ({
2327
2327
  newProps[typePropName] = type;
2328
2328
  return newProps;
2329
2329
  };
2330
- var Insertion$1 = function Insertion2(_ref3) {
2331
- var cache2 = _ref3.cache, serialized = _ref3.serialized, isStringTag2 = _ref3.isStringTag;
2330
+ var Insertion$1 = function Insertion2(_ref2) {
2331
+ var cache2 = _ref2.cache, serialized = _ref2.serialized, isStringTag2 = _ref2.isStringTag;
2332
2332
  registerStyles(cache2, serialized, isStringTag2);
2333
2333
  useInsertionEffectAlwaysWithSyncFallback(function() {
2334
2334
  return insertStyles(cache2, serialized, isStringTag2);
@@ -6967,8 +6967,8 @@ var __privateWrapper = (obj, member, setter, getter) => ({
6967
6967
  }
6968
6968
  if (DOCUMENT && typeof DOCUMENT.querySelector === "function") {
6969
6969
  const attrs = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-auto-a11y", "autoA11y"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
6970
- attrs.forEach((_ref3) => {
6971
- let [attr, key] = _ref3;
6970
+ attrs.forEach((_ref2) => {
6971
+ let [attr, key] = _ref2;
6972
6972
  const val = coerce(getAttrConfig(attr));
6973
6973
  if (val !== void 0 && val !== null) {
6974
6974
  initial[key] = val;
@@ -7093,12 +7093,12 @@ var __privateWrapper = (obj, member, setter, getter) => ({
7093
7093
  function transformIsMeaningful(transform) {
7094
7094
  return transform.size !== meaninglessTransform.size || transform.x !== meaninglessTransform.x || transform.y !== meaninglessTransform.y || transform.rotate !== meaninglessTransform.rotate || transform.flipX || transform.flipY;
7095
7095
  }
7096
- function transformForSvg(_ref3) {
7096
+ function transformForSvg(_ref2) {
7097
7097
  let {
7098
7098
  transform,
7099
7099
  containerWidth,
7100
7100
  iconWidth
7101
- } = _ref3;
7101
+ } = _ref2;
7102
7102
  const outer = {
7103
7103
  transform: "translate(".concat(containerWidth / 2, " 256)")
7104
7104
  };
@@ -7117,13 +7117,13 @@ var __privateWrapper = (obj, member, setter, getter) => ({
7117
7117
  path
7118
7118
  };
7119
7119
  }
7120
- function transformForCss(_ref22) {
7120
+ function transformForCss(_ref2) {
7121
7121
  let {
7122
7122
  transform,
7123
7123
  width: width2 = UNITS_IN_GRID,
7124
7124
  height: height2 = UNITS_IN_GRID,
7125
7125
  startCentered = false
7126
- } = _ref22;
7126
+ } = _ref2;
7127
7127
  let val = "";
7128
7128
  if (startCentered && IS_IE) {
7129
7129
  val += "translate(".concat(transform.x / d$2 - width2 / 2, "em, ").concat(transform.y / d$2 - height2 / 2, "em) ");
@@ -7624,10 +7624,10 @@ var __privateWrapper = (obj, member, setter, getter) => ({
7624
7624
  let _hooks = {};
7625
7625
  const providers = {};
7626
7626
  const defaultProviderKeys = Object.keys(providers);
7627
- function registerPlugins(nextPlugins, _ref3) {
7627
+ function registerPlugins(nextPlugins, _ref2) {
7628
7628
  let {
7629
7629
  mixoutsTo: obj
7630
- } = _ref3;
7630
+ } = _ref2;
7631
7631
  _plugins = nextPlugins;
7632
7632
  _hooks = {};
7633
7633
  Object.keys(providers).forEach((k) => {
@@ -7810,7 +7810,7 @@ var __privateWrapper = (obj, member, setter, getter) => ({
7810
7810
  });
7811
7811
  return val;
7812
7812
  }
7813
- function asIcon(_ref3) {
7813
+ function asIcon(_ref2) {
7814
7814
  let {
7815
7815
  children: children2,
7816
7816
  main: main2,
@@ -7818,7 +7818,7 @@ var __privateWrapper = (obj, member, setter, getter) => ({
7818
7818
  attributes,
7819
7819
  styles: styles2,
7820
7820
  transform
7821
- } = _ref3;
7821
+ } = _ref2;
7822
7822
  if (transformIsMeaningful(transform) && main2.found && !mask.found) {
7823
7823
  const {
7824
7824
  width: width2,
@@ -7838,14 +7838,14 @@ var __privateWrapper = (obj, member, setter, getter) => ({
7838
7838
  children: children2
7839
7839
  }];
7840
7840
  }
7841
- function asSymbol(_ref3) {
7841
+ function asSymbol(_ref2) {
7842
7842
  let {
7843
7843
  prefix: prefix2,
7844
7844
  iconName,
7845
7845
  children: children2,
7846
7846
  attributes,
7847
7847
  symbol
7848
- } = _ref3;
7848
+ } = _ref2;
7849
7849
  const id2 = symbol === true ? "".concat(prefix2, "-").concat(config$2.cssPrefix, "-").concat(iconName) : symbol;
7850
7850
  return [{
7851
7851
  tag: "svg",
@@ -8603,8 +8603,8 @@ var __privateWrapper = (obj, member, setter, getter) => ({
8603
8603
  width: 512,
8604
8604
  height: 512,
8605
8605
  icon: {}
8606
- })]).then((_ref3) => {
8607
- let [main2, mask2] = _ref3;
8606
+ })]).then((_ref2) => {
8607
+ let [main2, mask2] = _ref2;
8608
8608
  resolve([node2, makeInlineSvgAbstract({
8609
8609
  icons: {
8610
8610
  main: main2,
@@ -8623,14 +8623,14 @@ var __privateWrapper = (obj, member, setter, getter) => ({
8623
8623
  }).catch(reject);
8624
8624
  });
8625
8625
  };
8626
- providers$$1.generateAbstractIcon = function(_ref22) {
8626
+ providers$$1.generateAbstractIcon = function(_ref2) {
8627
8627
  let {
8628
8628
  children: children2,
8629
8629
  attributes,
8630
8630
  main: main2,
8631
8631
  transform,
8632
8632
  styles: styles2
8633
- } = _ref22;
8633
+ } = _ref2;
8634
8634
  const styleString = joinStyles(styles2);
8635
8635
  if (styleString.length > 0) {
8636
8636
  attributes["style"] = styleString;
@@ -9038,13 +9038,13 @@ var __privateWrapper = (obj, member, setter, getter) => ({
9038
9038
  };
9039
9039
  },
9040
9040
  provides(providers2) {
9041
- providers2.generateAbstractTransformGrouping = function(_ref3) {
9041
+ providers2.generateAbstractTransformGrouping = function(_ref2) {
9042
9042
  let {
9043
9043
  main: main2,
9044
9044
  transform,
9045
9045
  containerWidth,
9046
9046
  iconWidth
9047
- } = _ref3;
9047
+ } = _ref2;
9048
9048
  const outer = {
9049
9049
  transform: "translate(".concat(containerWidth / 2, " 256)")
9050
9050
  };
@@ -9114,7 +9114,7 @@ var __privateWrapper = (obj, member, setter, getter) => ({
9114
9114
  };
9115
9115
  },
9116
9116
  provides(providers2) {
9117
- providers2.generateAbstractMask = function(_ref3) {
9117
+ providers2.generateAbstractMask = function(_ref2) {
9118
9118
  let {
9119
9119
  children: children2,
9120
9120
  attributes,
@@ -9122,7 +9122,7 @@ var __privateWrapper = (obj, member, setter, getter) => ({
9122
9122
  mask,
9123
9123
  maskId: explicitMaskId,
9124
9124
  transform
9125
- } = _ref3;
9125
+ } = _ref2;
9126
9126
  const {
9127
9127
  width: mainWidth,
9128
9128
  icon: mainPath
@@ -10875,8 +10875,8 @@ var __privateWrapper = (obj, member, setter, getter) => ({
10875
10875
  }
10876
10876
  return shouldForwardProp2;
10877
10877
  };
10878
- var Insertion = function Insertion2(_ref3) {
10879
- var cache2 = _ref3.cache, serialized = _ref3.serialized, isStringTag2 = _ref3.isStringTag;
10878
+ var Insertion = function Insertion2(_ref2) {
10879
+ var cache2 = _ref2.cache, serialized = _ref2.serialized, isStringTag2 = _ref2.isStringTag;
10880
10880
  registerStyles(cache2, serialized, isStringTag2);
10881
10881
  useInsertionEffectAlwaysWithSyncFallback(function() {
10882
10882
  return insertStyles(cache2, serialized, isStringTag2);
@@ -12781,10 +12781,10 @@ var __privateWrapper = (obj, member, setter, getter) => ({
12781
12781
  }
12782
12782
  return (props, styles2) => styles2[slot];
12783
12783
  }
12784
- function processStyleArg$1(callableStyle, _ref3) {
12784
+ function processStyleArg$1(callableStyle, _ref2) {
12785
12785
  let {
12786
12786
  ownerState
12787
- } = _ref3, props = _objectWithoutPropertiesLoose(_ref3, _excluded$1o);
12787
+ } = _ref2, props = _objectWithoutPropertiesLoose(_ref2, _excluded$1o);
12788
12788
  const resolvedStylesArg = typeof callableStyle === "function" ? callableStyle(_extends({
12789
12789
  ownerState
12790
12790
  }, props)) : callableStyle;
@@ -13791,10 +13791,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13791
13791
  }
13792
13792
  const _excluded$1m = ["value"];
13793
13793
  const RtlContext = /* @__PURE__ */ React__namespace.createContext();
13794
- function RtlProvider(_ref3) {
13794
+ function RtlProvider(_ref2) {
13795
13795
  let {
13796
13796
  value
13797
- } = _ref3, props = _objectWithoutPropertiesLoose(_ref3, _excluded$1m);
13797
+ } = _ref2, props = _objectWithoutPropertiesLoose(_ref2, _excluded$1m);
13798
13798
  return /* @__PURE__ */ jsxRuntimeExports.jsx(RtlContext.Provider, _extends({
13799
13799
  value: value != null ? value : true
13800
13800
  }, props));
@@ -14354,7 +14354,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14354
14354
  };
14355
14355
  const GridRoot2 = createStyledComponent(generateGridColumnsStyles, generateGridColumnSpacingStyles, generateGridRowSpacingStyles, generateGridSizeStyles, generateGridDirectionStyles, generateGridStyles, generateGridOffsetStyles);
14356
14356
  const Grid3 = /* @__PURE__ */ React__namespace.forwardRef(function Grid4(inProps, ref) {
14357
- var _inProps$columns, _inProps$spacing, _ref3, _inProps$rowSpacing, _ref22, _inProps$columnSpacin, _ref32, _disableEqualOverflow;
14357
+ var _inProps$columns, _inProps$spacing, _ref2, _inProps$rowSpacing, _ref22, _inProps$columnSpacin, _ref3, _disableEqualOverflow;
14358
14358
  const theme = useTheme$3();
14359
14359
  const themeProps = useThemeProps2(inProps);
14360
14360
  const props = extendSxProp(themeProps);
@@ -14391,7 +14391,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14391
14391
  });
14392
14392
  const columns = (_inProps$columns = inProps.columns) != null ? _inProps$columns : level ? void 0 : columnsProp;
14393
14393
  const spacing = (_inProps$spacing = inProps.spacing) != null ? _inProps$spacing : level ? void 0 : spacingProp;
14394
- const rowSpacing = (_ref3 = (_inProps$rowSpacing = inProps.rowSpacing) != null ? _inProps$rowSpacing : inProps.spacing) != null ? _ref3 : level ? void 0 : rowSpacingProp;
14394
+ const rowSpacing = (_ref2 = (_inProps$rowSpacing = inProps.rowSpacing) != null ? _inProps$rowSpacing : inProps.spacing) != null ? _ref2 : level ? void 0 : rowSpacingProp;
14395
14395
  const columnSpacing = (_ref22 = (_inProps$columnSpacin = inProps.columnSpacing) != null ? _inProps$columnSpacin : inProps.spacing) != null ? _ref22 : level ? void 0 : columnSpacingProp;
14396
14396
  const ownerState = _extends({}, props, {
14397
14397
  level,
@@ -14404,7 +14404,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14404
14404
  columnSpacing,
14405
14405
  gridSize,
14406
14406
  gridOffset,
14407
- disableEqualOverflow: (_ref32 = (_disableEqualOverflow = disableEqualOverflow) != null ? _disableEqualOverflow : overflow) != null ? _ref32 : false,
14407
+ disableEqualOverflow: (_ref3 = (_disableEqualOverflow = disableEqualOverflow) != null ? _disableEqualOverflow : overflow) != null ? _ref3 : false,
14408
14408
  // use context value if exists.
14409
14409
  parentDisableEqualOverflow: overflow
14410
14410
  // for nested grid
@@ -15192,7 +15192,7 @@ const theme2 = createTheme({ palette: {
15192
15192
  };
15193
15193
  const defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif';
15194
15194
  function createTypography(palette, typography2) {
15195
- const _ref3 = typeof typography2 === "function" ? typography2(palette) : typography2, {
15195
+ const _ref2 = typeof typography2 === "function" ? typography2(palette) : typography2, {
15196
15196
  fontFamily = defaultFontFamily,
15197
15197
  // The default font size of the Material Specification.
15198
15198
  fontSize = 14,
@@ -15207,7 +15207,7 @@ const theme2 = createTheme({ palette: {
15207
15207
  // Apply the CSS properties to all the variants.
15208
15208
  allVariants,
15209
15209
  pxToRem: pxToRem2
15210
- } = _ref3, other = _objectWithoutPropertiesLoose(_ref3, _excluded$1h);
15210
+ } = _ref2, other = _objectWithoutPropertiesLoose(_ref2, _excluded$1h);
15211
15211
  if (process.env.NODE_ENV !== "production") {
15212
15212
  if (typeof fontSize !== "number") {
15213
15213
  console.error("MUI: `fontSize` is required to be a number.");
@@ -15536,10 +15536,10 @@ Please use another name.` : formatMuiErrorMessage$1(18));
15536
15536
  }
15537
15537
  return (props, styles2) => styles2[slot];
15538
15538
  }
15539
- function processStyleArg(callableStyle, _ref3) {
15539
+ function processStyleArg(callableStyle, _ref2) {
15540
15540
  let {
15541
15541
  ownerState
15542
- } = _ref3, props = (0, _objectWithoutPropertiesLoose2.default)(_ref3, _excluded$1e);
15542
+ } = _ref2, props = (0, _objectWithoutPropertiesLoose2.default)(_ref2, _excluded$1e);
15543
15543
  const resolvedStylesArg = typeof callableStyle === "function" ? callableStyle((0, _extends2.default)({
15544
15544
  ownerState
15545
15545
  }, props)) : callableStyle;
@@ -15720,10 +15720,10 @@ Please use another name.` : formatMuiErrorMessage$1(18));
15720
15720
  rootShouldForwardProp
15721
15721
  });
15722
15722
  const _excluded$1d = ["theme"];
15723
- function ThemeProvider(_ref3) {
15723
+ function ThemeProvider(_ref2) {
15724
15724
  let {
15725
15725
  theme: themeInput
15726
- } = _ref3, props = _objectWithoutPropertiesLoose(_ref3, _excluded$1d);
15726
+ } = _ref2, props = _objectWithoutPropertiesLoose(_ref2, _excluded$1d);
15727
15727
  const scopedTheme = themeInput[THEME_ID];
15728
15728
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider$1, _extends({}, props, {
15729
15729
  themeId: scopedTheme ? THEME_ID : void 0,
@@ -16022,8 +16022,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
16022
16022
  _this.nextCallback = null;
16023
16023
  return _this;
16024
16024
  }
16025
- Transition2.getDerivedStateFromProps = function getDerivedStateFromProps(_ref3, prevState) {
16026
- var nextIn = _ref3.in;
16025
+ Transition2.getDerivedStateFromProps = function getDerivedStateFromProps(_ref2, prevState) {
16026
+ var nextIn = _ref2.in;
16027
16027
  if (nextIn && prevState.status === UNMOUNTED) {
16028
16028
  return {
16029
16029
  status: EXITED
@@ -16094,7 +16094,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
16094
16094
  var _this2 = this;
16095
16095
  var enter = this.props.enter;
16096
16096
  var appearing = this.context ? this.context.isMounting : mounting;
16097
- var _ref22 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing], maybeNode = _ref22[0], maybeAppearing = _ref22[1];
16097
+ var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing], maybeNode = _ref2[0], maybeAppearing = _ref2[1];
16098
16098
  var timeouts = this.getTimeouts();
16099
16099
  var enterTimeout = appearing ? timeouts.appear : timeouts.enter;
16100
16100
  if (!mounting && !enter || config$1.disabled) {
@@ -16544,8 +16544,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
16544
16544
  _proto.componentWillUnmount = function componentWillUnmount() {
16545
16545
  this.mounted = false;
16546
16546
  };
16547
- TransitionGroup2.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref3) {
16548
- var prevChildMapping = _ref3.children, handleExited = _ref3.handleExited, firstRender = _ref3.firstRender;
16547
+ TransitionGroup2.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref2) {
16548
+ var prevChildMapping = _ref2.children, handleExited = _ref2.handleExited, firstRender = _ref2.firstRender;
16549
16549
  return {
16550
16550
  children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),
16551
16551
  firstRender: false
@@ -19488,12 +19488,12 @@ Please use another name.` : formatMuiErrorMessage$1(18));
19488
19488
  var read = "read";
19489
19489
  var afterRead = "afterRead";
19490
19490
  var beforeMain = "beforeMain";
19491
- var main$2 = "main";
19491
+ var main$3 = "main";
19492
19492
  var afterMain = "afterMain";
19493
19493
  var beforeWrite = "beforeWrite";
19494
19494
  var write = "write";
19495
19495
  var afterWrite = "afterWrite";
19496
- var modifierPhases = [beforeRead, read, afterRead, beforeMain, main$2, afterMain, beforeWrite, write, afterWrite];
19496
+ var modifierPhases = [beforeRead, read, afterRead, beforeMain, main$3, afterMain, beforeWrite, write, afterWrite];
19497
19497
  function getNodeName(element) {
19498
19498
  return element ? (element.nodeName || "").toLowerCase() : null;
19499
19499
  }
@@ -19522,8 +19522,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
19522
19522
  var OwnElement = getWindow(node2).ShadowRoot;
19523
19523
  return node2 instanceof OwnElement || node2 instanceof ShadowRoot;
19524
19524
  }
19525
- function applyStyles(_ref3) {
19526
- var state = _ref3.state;
19525
+ function applyStyles(_ref2) {
19526
+ var state = _ref2.state;
19527
19527
  Object.keys(state.elements).forEach(function(name) {
19528
19528
  var style2 = state.styles[name] || {};
19529
19529
  var attributes = state.attributes[name] || {};
@@ -19542,8 +19542,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
19542
19542
  });
19543
19543
  });
19544
19544
  }
19545
- function effect$2(_ref22) {
19546
- var state = _ref22.state;
19545
+ function effect$2(_ref2) {
19546
+ var state = _ref2.state;
19547
19547
  var initialStyles = {
19548
19548
  popper: {
19549
19549
  position: state.options.strategy,
@@ -19620,7 +19620,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
19620
19620
  scaleX = element.offsetWidth > 0 ? round$1(clientRect.width) / element.offsetWidth || 1 : 1;
19621
19621
  scaleY = element.offsetHeight > 0 ? round$1(clientRect.height) / element.offsetHeight || 1 : 1;
19622
19622
  }
19623
- var _ref3 = isElement(element) ? getWindow(element) : window, visualViewport = _ref3.visualViewport;
19623
+ var _ref2 = isElement(element) ? getWindow(element) : window, visualViewport = _ref2.visualViewport;
19624
19624
  var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
19625
19625
  var x2 = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
19626
19626
  var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
@@ -19770,9 +19770,9 @@ Please use another name.` : formatMuiErrorMessage$1(18));
19770
19770
  })) : padding2;
19771
19771
  return mergePaddingObject(typeof padding2 !== "number" ? padding2 : expandToHashMap(padding2, basePlacements));
19772
19772
  };
19773
- function arrow(_ref3) {
19773
+ function arrow(_ref2) {
19774
19774
  var _state$modifiersData$;
19775
- var state = _ref3.state, name = _ref3.name, options = _ref3.options;
19775
+ var state = _ref2.state, name = _ref2.name, options = _ref2.options;
19776
19776
  var arrowElement = state.elements.arrow;
19777
19777
  var popperOffsets2 = state.modifiersData.popperOffsets;
19778
19778
  var basePlacement = getBasePlacement(state.placement);
@@ -19798,8 +19798,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
19798
19798
  var axisProp = axis;
19799
19799
  state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset2, _state$modifiersData$.centerOffset = offset2 - center, _state$modifiersData$);
19800
19800
  }
19801
- function effect$1(_ref22) {
19802
- var state = _ref22.state, options = _ref22.options;
19801
+ function effect$1(_ref2) {
19802
+ var state = _ref2.state, options = _ref2.options;
19803
19803
  var _options$element = options.element, arrowElement = _options$element === void 0 ? "[data-popper-arrow]" : _options$element;
19804
19804
  if (arrowElement == null) {
19805
19805
  return;
@@ -19833,17 +19833,17 @@ Please use another name.` : formatMuiErrorMessage$1(18));
19833
19833
  bottom: "auto",
19834
19834
  left: "auto"
19835
19835
  };
19836
- function roundOffsetsByDPR(_ref3, win) {
19837
- var x2 = _ref3.x, y = _ref3.y;
19836
+ function roundOffsetsByDPR(_ref2, win) {
19837
+ var x2 = _ref2.x, y = _ref2.y;
19838
19838
  var dpr = win.devicePixelRatio || 1;
19839
19839
  return {
19840
19840
  x: round$1(x2 * dpr) / dpr || 0,
19841
19841
  y: round$1(y * dpr) / dpr || 0
19842
19842
  };
19843
19843
  }
19844
- function mapToStyles(_ref22) {
19844
+ function mapToStyles(_ref2) {
19845
19845
  var _Object$assign2;
19846
- var popper2 = _ref22.popper, popperRect = _ref22.popperRect, placement = _ref22.placement, variation = _ref22.variation, offsets = _ref22.offsets, position2 = _ref22.position, gpuAcceleration = _ref22.gpuAcceleration, adaptive = _ref22.adaptive, roundOffsets = _ref22.roundOffsets, isFixed = _ref22.isFixed;
19846
+ var popper2 = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position2 = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets, isFixed = _ref2.isFixed;
19847
19847
  var _offsets$x = offsets.x, x2 = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y = _offsets$y === void 0 ? 0 : _offsets$y;
19848
19848
  var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
19849
19849
  x: x2,
@@ -19949,8 +19949,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
19949
19949
  var passive = {
19950
19950
  passive: true
19951
19951
  };
19952
- function effect(_ref3) {
19953
- var state = _ref3.state, instance = _ref3.instance, options = _ref3.options;
19952
+ function effect(_ref2) {
19953
+ var state = _ref2.state, instance = _ref2.instance, options = _ref2.options;
19954
19954
  var _options$scroll = options.scroll, scroll = _options$scroll === void 0 ? true : _options$scroll, _options$resize = options.resize, resize = _options$resize === void 0 ? true : _options$resize;
19955
19955
  var window2 = getWindow(state.elements.popper);
19956
19956
  var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
@@ -20137,8 +20137,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
20137
20137
  clippingRect.y = clippingRect.top;
20138
20138
  return clippingRect;
20139
20139
  }
20140
- function computeOffsets(_ref3) {
20141
- var reference2 = _ref3.reference, element = _ref3.element, placement = _ref3.placement;
20140
+ function computeOffsets(_ref2) {
20141
+ var reference2 = _ref2.reference, element = _ref2.element, placement = _ref2.placement;
20142
20142
  var basePlacement = placement ? getBasePlacement(placement) : null;
20143
20143
  var variation = placement ? getVariation(placement) : null;
20144
20144
  var commonX = reference2.x + reference2.width / 2 - element.width / 2;
@@ -20259,8 +20259,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
20259
20259
  var oppositePlacement = getOppositePlacement(placement);
20260
20260
  return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
20261
20261
  }
20262
- function flip(_ref3) {
20263
- var state = _ref3.state, options = _ref3.options, name = _ref3.name;
20262
+ function flip(_ref2) {
20263
+ var state = _ref2.state, options = _ref2.options, name = _ref2.name;
20264
20264
  if (state.modifiersData[name]._skip) {
20265
20265
  return;
20266
20266
  }
@@ -20374,8 +20374,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
20374
20374
  return overflow[side] >= 0;
20375
20375
  });
20376
20376
  }
20377
- function hide(_ref3) {
20378
- var state = _ref3.state, name = _ref3.name;
20377
+ function hide(_ref2) {
20378
+ var state = _ref2.state, name = _ref2.name;
20379
20379
  var referenceRect = state.rects.reference;
20380
20380
  var popperRect = state.rects.popper;
20381
20381
  var preventedOffsets = state.modifiersData.preventOverflow;
@@ -20410,9 +20410,9 @@ Please use another name.` : formatMuiErrorMessage$1(18));
20410
20410
  function distanceAndSkiddingToXY(placement, rects, offset2) {
20411
20411
  var basePlacement = getBasePlacement(placement);
20412
20412
  var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;
20413
- var _ref3 = typeof offset2 === "function" ? offset2(Object.assign({}, rects, {
20413
+ var _ref2 = typeof offset2 === "function" ? offset2(Object.assign({}, rects, {
20414
20414
  placement
20415
- })) : offset2, skidding = _ref3[0], distance = _ref3[1];
20415
+ })) : offset2, skidding = _ref2[0], distance = _ref2[1];
20416
20416
  skidding = skidding || 0;
20417
20417
  distance = (distance || 0) * invertDistance;
20418
20418
  return [left, right].indexOf(basePlacement) >= 0 ? {
@@ -20423,8 +20423,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
20423
20423
  y: distance
20424
20424
  };
20425
20425
  }
20426
- function offset(_ref22) {
20427
- var state = _ref22.state, options = _ref22.options, name = _ref22.name;
20426
+ function offset(_ref2) {
20427
+ var state = _ref2.state, options = _ref2.options, name = _ref2.name;
20428
20428
  var _options$offset = options.offset, offset2 = _options$offset === void 0 ? [0, 0] : _options$offset;
20429
20429
  var data = placements.reduce(function(acc, placement) {
20430
20430
  acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset2);
@@ -20444,8 +20444,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
20444
20444
  requires: ["popperOffsets"],
20445
20445
  fn: offset
20446
20446
  };
20447
- function popperOffsets(_ref3) {
20448
- var state = _ref3.state, name = _ref3.name;
20447
+ function popperOffsets(_ref2) {
20448
+ var state = _ref2.state, name = _ref2.name;
20449
20449
  state.modifiersData[name] = computeOffsets({
20450
20450
  reference: state.rects.reference,
20451
20451
  element: state.rects.popper,
@@ -20462,8 +20462,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
20462
20462
  function getAltAxis(axis) {
20463
20463
  return axis === "x" ? "y" : "x";
20464
20464
  }
20465
- function preventOverflow(_ref3) {
20466
- var state = _ref3.state, options = _ref3.options, name = _ref3.name;
20465
+ function preventOverflow(_ref2) {
20466
+ var state = _ref2.state, options = _ref2.options, name = _ref2.name;
20467
20467
  var _options$mainAxis = options.mainAxis, checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, _options$altAxis = options.altAxis, checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis, boundary = options.boundary, rootBoundary = options.rootBoundary, altBoundary = options.altBoundary, padding2 = options.padding, _options$tether = options.tether, tether = _options$tether === void 0 ? true : _options$tether, _options$tetherOffset = options.tetherOffset, tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
20468
20468
  var overflow = detectOverflow(state, {
20469
20469
  boundary,
@@ -20784,8 +20784,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
20784
20784
  }
20785
20785
  });
20786
20786
  function runModifierEffects() {
20787
- state.orderedModifiers.forEach(function(_ref3) {
20788
- var name = _ref3.name, _ref$options = _ref3.options, options2 = _ref$options === void 0 ? {} : _ref$options, effect2 = _ref3.effect;
20787
+ state.orderedModifiers.forEach(function(_ref2) {
20788
+ var name = _ref2.name, _ref$options = _ref2.options, options2 = _ref$options === void 0 ? {} : _ref$options, effect2 = _ref2.effect;
20789
20789
  if (typeof effect2 === "function") {
20790
20790
  var cleanupFn = effect2({
20791
20791
  state,
@@ -24518,7 +24518,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
24518
24518
  backgroundColor: "transparent"
24519
24519
  }));
24520
24520
  const Backdrop = /* @__PURE__ */ React__namespace.forwardRef(function Backdrop2(inProps, ref) {
24521
- var _slotProps$root, _ref3, _slots$root;
24521
+ var _slotProps$root, _ref2, _slots$root;
24522
24522
  const props = useDefaultProps({
24523
24523
  props: inProps,
24524
24524
  name: "MuiBackdrop"
@@ -24549,7 +24549,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
24549
24549
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(BackdropRoot, _extends({
24550
24550
  "aria-hidden": true
24551
24551
  }, rootSlotProps, {
24552
- as: (_ref3 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref3 : component,
24552
+ as: (_ref2 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref2 : component,
24553
24553
  className: clsx$1(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
24554
24554
  ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
24555
24555
  classes,
@@ -27084,7 +27084,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
27084
27084
  zIndex: -1
27085
27085
  });
27086
27086
  const Modal$1 = /* @__PURE__ */ React__namespace.forwardRef(function Modal2(inProps, ref) {
27087
- var _ref3, _slots$root, _ref22, _slots$backdrop, _slotProps$root, _slotProps$backdrop;
27087
+ var _ref2, _slots$root, _ref22, _slots$backdrop, _slotProps$root, _slotProps$backdrop;
27088
27088
  const props = useDefaultProps({
27089
27089
  name: "MuiModal",
27090
27090
  props: inProps
@@ -27151,7 +27151,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
27151
27151
  childProps.onEnter = onEnter;
27152
27152
  childProps.onExited = onExited;
27153
27153
  }
27154
- const RootSlot = (_ref3 = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref3 : ModalRoot;
27154
+ const RootSlot = (_ref2 = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref2 : ModalRoot;
27155
27155
  const BackdropSlot = (_ref22 = (_slots$backdrop = slots == null ? void 0 : slots.backdrop) != null ? _slots$backdrop : components.Backdrop) != null ? _ref22 : BackdropComponent;
27156
27156
  const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
27157
27157
  const backdropSlotProps = (_slotProps$backdrop = slotProps == null ? void 0 : slotProps.backdrop) != null ? _slotProps$backdrop : componentsProps.backdrop;
@@ -28418,7 +28418,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
28418
28418
  paddingRight: 0
28419
28419
  }));
28420
28420
  const FilledInput = /* @__PURE__ */ React__namespace.forwardRef(function FilledInput2(inProps, ref) {
28421
- var _ref3, _slots$root, _ref22, _slots$input;
28421
+ var _ref2, _slots$root, _ref22, _slots$input;
28422
28422
  const props = useDefaultProps({
28423
28423
  props: inProps,
28424
28424
  name: "MuiFilledInput"
@@ -28450,7 +28450,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
28450
28450
  }
28451
28451
  };
28452
28452
  const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge$1(filledInputComponentsProps, slotProps != null ? slotProps : componentsPropsProp) : filledInputComponentsProps;
28453
- const RootSlot = (_ref3 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref3 : FilledInputRoot;
28453
+ const RootSlot = (_ref2 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref2 : FilledInputRoot;
28454
28454
  const InputSlot = (_ref22 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref22 : FilledInputInput;
28455
28455
  return /* @__PURE__ */ jsxRuntimeExports.jsx(InputBase, _extends({
28456
28456
  slots: {
@@ -29039,7 +29039,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
29039
29039
  }
29040
29040
  }));
29041
29041
  const FormControlLabel = /* @__PURE__ */ React__namespace.forwardRef(function FormControlLabel2(inProps, ref) {
29042
- var _ref3, _slotProps$typography;
29042
+ var _ref2, _slotProps$typography;
29043
29043
  const props = useDefaultProps({
29044
29044
  props: inProps,
29045
29045
  name: "MuiFormControlLabel"
@@ -29056,7 +29056,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
29056
29056
  slotProps = {}
29057
29057
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$F);
29058
29058
  const muiFormControl = useFormControl();
29059
- const disabled2 = (_ref3 = disabledProp != null ? disabledProp : control.props.disabled) != null ? _ref3 : muiFormControl == null ? void 0 : muiFormControl.disabled;
29059
+ const disabled2 = (_ref2 = disabledProp != null ? disabledProp : control.props.disabled) != null ? _ref2 : muiFormControl == null ? void 0 : muiFormControl.disabled;
29060
29060
  const required = requiredProp != null ? requiredProp : control.props.required;
29061
29061
  const controlProps = {
29062
29062
  disabled: disabled2,
@@ -30376,7 +30376,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
30376
30376
  overridesResolver: inputOverridesResolver
30377
30377
  })({});
30378
30378
  const Input = /* @__PURE__ */ React__namespace.forwardRef(function Input2(inProps, ref) {
30379
- var _ref3, _slots$root, _ref22, _slots$input;
30379
+ var _ref2, _slots$root, _ref22, _slots$input;
30380
30380
  const props = useDefaultProps({
30381
30381
  props: inProps,
30382
30382
  name: "MuiInput"
@@ -30402,7 +30402,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
30402
30402
  }
30403
30403
  };
30404
30404
  const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge$1(slotProps != null ? slotProps : componentsPropsProp, inputComponentsProps) : inputComponentsProps;
30405
- const RootSlot = (_ref3 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref3 : InputRoot;
30405
+ const RootSlot = (_ref2 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref2 : InputRoot;
30406
30406
  const InputSlot = (_ref22 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref22 : InputInput;
30407
30407
  return /* @__PURE__ */ jsxRuntimeExports.jsx(InputBase, _extends({
30408
30408
  slots: {
@@ -34000,7 +34000,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
34000
34000
  paddingRight: 0
34001
34001
  }));
34002
34002
  const OutlinedInput = /* @__PURE__ */ React__namespace.forwardRef(function OutlinedInput2(inProps, ref) {
34003
- var _ref3, _slots$root, _ref22, _slots$input, _React$Fragment;
34003
+ var _ref2, _slots$root, _ref22, _slots$input, _React$Fragment;
34004
34004
  const props = useDefaultProps({
34005
34005
  props: inProps,
34006
34006
  name: "MuiOutlinedInput"
@@ -34034,7 +34034,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
34034
34034
  size: fcs.size,
34035
34035
  type
34036
34036
  });
34037
- const RootSlot = (_ref3 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref3 : OutlinedInputRoot;
34037
+ const RootSlot = (_ref2 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref2 : OutlinedInputRoot;
34038
34038
  const InputSlot = (_ref22 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref22 : OutlinedInputInput;
34039
34039
  return /* @__PURE__ */ jsxRuntimeExports.jsx(InputBase, _extends({
34040
34040
  slots: {
@@ -35494,7 +35494,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
35494
35494
  };
35495
35495
  }
35496
35496
  const Tooltip = /* @__PURE__ */ React__namespace.forwardRef(function Tooltip2(inProps, ref) {
35497
- var _ref3, _slots$popper, _ref22, _ref32, _slots$transition, _ref4, _slots$tooltip, _ref5, _slots$arrow, _slotProps$popper, _ref6, _slotProps$popper2, _slotProps$transition, _slotProps$tooltip, _ref7, _slotProps$tooltip2, _slotProps$arrow, _ref8, _slotProps$arrow2;
35497
+ var _ref2, _slots$popper, _ref22, _ref3, _slots$transition, _ref4, _slots$tooltip, _ref5, _slots$arrow, _slotProps$popper, _ref6, _slotProps$popper2, _slotProps$transition, _slotProps$tooltip, _ref7, _slotProps$tooltip2, _slotProps$arrow, _ref8, _slotProps$arrow2;
35498
35498
  const props = useDefaultProps({
35499
35499
  props: inProps,
35500
35500
  name: "MuiTooltip"
@@ -35776,8 +35776,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
35776
35776
  touch: ignoreNonTouchEvents.current
35777
35777
  });
35778
35778
  const classes = useUtilityClasses$e(ownerState);
35779
- const PopperComponent = (_ref3 = (_slots$popper = slots.popper) != null ? _slots$popper : components.Popper) != null ? _ref3 : TooltipPopper;
35780
- const TransitionComponent = (_ref22 = (_ref32 = (_slots$transition = slots.transition) != null ? _slots$transition : components.Transition) != null ? _ref32 : TransitionComponentProp) != null ? _ref22 : Grow;
35779
+ const PopperComponent = (_ref2 = (_slots$popper = slots.popper) != null ? _slots$popper : components.Popper) != null ? _ref2 : TooltipPopper;
35780
+ const TransitionComponent = (_ref22 = (_ref3 = (_slots$transition = slots.transition) != null ? _slots$transition : components.Transition) != null ? _ref3 : TransitionComponentProp) != null ? _ref22 : Grow;
35781
35781
  const TooltipComponent = (_ref4 = (_slots$tooltip = slots.tooltip) != null ? _slots$tooltip : components.Tooltip) != null ? _ref4 : TooltipTooltip;
35782
35782
  const ArrowComponent = (_ref5 = (_slots$arrow = slots.arrow) != null ? _slots$arrow : components.Arrow) != null ? _ref5 : TooltipArrow;
35783
35783
  const popperProps = appendOwnerState$1(PopperComponent, _extends({}, PopperProps, (_slotProps$popper = slotProps.popper) != null ? _slotProps$popper : componentsProps.popper, {
@@ -38822,7 +38822,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
38822
38822
  children: children2,
38823
38823
  ...props
38824
38824
  }) => /* @__PURE__ */ jsx$1(MenuItem, { ...props, children: children2 });
38825
- const AppSwitch$1 = ({
38825
+ const AppSwitch = ({
38826
38826
  apps,
38827
38827
  isLeftAligned,
38828
38828
  ...otherProps
@@ -38897,10 +38897,10 @@ Please use another name.` : formatMuiErrorMessage$1(18));
38897
38897
  beta,
38898
38898
  userProfile = null
38899
38899
  }) => /* @__PURE__ */ jsxs(TeliHeader, { className: "teli-standard-layout-header", children: [
38900
- /* @__PURE__ */ jsx$1("div", { className: "start-adornments", children: userProfile && /* @__PURE__ */ jsx$1(AppSwitch$1, { apps, isLeftAligned: true }) }),
38900
+ /* @__PURE__ */ jsx$1("div", { className: "start-adornments", children: userProfile && /* @__PURE__ */ jsx$1(AppSwitch, { apps, isLeftAligned: true }) }),
38901
38901
  /* @__PURE__ */ jsx$1(TeliBrand, { appName, beta }),
38902
38902
  /* @__PURE__ */ jsxs("div", { className: "end-adornments", children: [
38903
- !userProfile && /* @__PURE__ */ jsx$1(AppSwitch$1, { apps }),
38903
+ !userProfile && /* @__PURE__ */ jsx$1(AppSwitch, { apps }),
38904
38904
  userProfile
38905
38905
  ] })
38906
38906
  ] });
@@ -39691,8 +39691,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
39691
39691
  function flagEnabled(config2, flag) {
39692
39692
  if (featureFlags2.future.includes(flag)) {
39693
39693
  var _config_future;
39694
- var _config_future_flag, _ref3;
39695
- return config2.future === "all" || ((_ref3 = (_config_future_flag = config2 === null || config2 === void 0 ? void 0 : (_config_future = config2.future) === null || _config_future === void 0 ? void 0 : _config_future[flag]) !== null && _config_future_flag !== void 0 ? _config_future_flag : defaults2[flag]) !== null && _ref3 !== void 0 ? _ref3 : false);
39694
+ var _config_future_flag, _ref2;
39695
+ return config2.future === "all" || ((_ref2 = (_config_future_flag = config2 === null || config2 === void 0 ? void 0 : (_config_future = config2.future) === null || _config_future === void 0 ? void 0 : _config_future[flag]) !== null && _config_future_flag !== void 0 ? _config_future_flag : defaults2[flag]) !== null && _ref2 !== void 0 ? _ref2 : false);
39696
39696
  }
39697
39697
  if (featureFlags2.experimental.includes(flag)) {
39698
39698
  var _config_experimental;
@@ -54973,114 +54973,25 @@ Please use another name.` : formatMuiErrorMessage$1(18));
54973
54973
  /* @__PURE__ */ jsx$1("path", { d: "M129.958 4.72116V2.92553H134.189V4.96003C134.189 6.87593 134.189 8.51177 131.476 8.51177V8.91208H140.016V12.5841H134.069V23.0004C134.069 24.9954 134.228 25.315 136.225 25.315H139.617V28.8667H134.867C131.434 28.8667 129.958 27.4697 129.958 23.918V12.5841H125.209V8.91208C130.197 8.91208 129.958 7.31577 129.958 4.72116Z" })
54974
54974
  ] }) });
54975
54975
  };
54976
- const Text = ({
54977
- variant = "body1",
54978
- ...textProps
54979
- }) => /* @__PURE__ */ jsx$1(Typography, { component: "p", variant, ...textProps });
54980
- const H1 = ({
54981
- variant = "h1",
54982
- ...headingProps
54983
- }) => /* @__PURE__ */ jsx$1(Typography, { component: "h1", variant, ...headingProps });
54984
- const H2 = ({
54985
- variant = "h2",
54986
- ...headingProps
54987
- }) => /* @__PURE__ */ jsx$1(Typography, { component: "h2", variant, ...headingProps });
54988
- const H3 = ({
54989
- variant = "h3",
54990
- ...headingProps
54991
- }) => /* @__PURE__ */ jsx$1(Typography, { component: "h3", variant, ...headingProps });
54992
- const H4 = ({
54993
- variant = "h4",
54994
- ...headingProps
54995
- }) => /* @__PURE__ */ jsx$1(Typography, { component: "h4", variant, ...headingProps });
54996
- const H5 = ({
54997
- variant = "h5",
54998
- ...headingProps
54999
- }) => /* @__PURE__ */ jsx$1(Typography, { component: "h5", variant, ...headingProps });
55000
- const H6 = ({
55001
- variant = "h6",
55002
- ...headingProps
55003
- }) => /* @__PURE__ */ jsx$1(Typography, { component: "h6", variant, ...headingProps });
55004
- const IconButton = React$2.forwardRef((props, ref) => /* @__PURE__ */ jsx$1(IconButton$1, { ref, ...props }));
55005
- const FlexBox = (props) => /* @__PURE__ */ jsx$1(Stack, { ...props, children: props.children });
55006
- function _EMOTION_STRINGIFIED_CSS_ERROR__$1() {
55007
- return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
55008
- }
55009
- const AppSwitchLibrarySchema = z.object({
55010
- id: z.string(),
55011
- name: z.string(),
55012
- url: z.string(),
55013
- icon: z.string()
55014
- });
55015
- var _ref$1 = process.env.NODE_ENV === "production" ? {
55016
- name: "1ud7tr0",
55017
- styles: "display:flex;flex-direction:column;align-items:center;row-gap:4px;width:100%"
55018
- } : {
55019
- name: "eehrjg-AppSwitch",
55020
- styles: "display:flex;flex-direction:column;align-items:center;row-gap:4px;width:100%;label:AppSwitch;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdGNoLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE4RWdCIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdGNoLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB6b2QgZnJvbSBcInpvZFwiO1xuaW1wb3J0IE1VSU1lbnUgZnJvbSBcIkBtdWkvbWF0ZXJpYWwvTWVudVwiO1xuaW1wb3J0IE1VSU1l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YXAoXG4gICAgICAgICAgICAgIChpc3N1ZSkgPT4ge1xuICAgICAgICAgICAgICAgIHJldHVybiBgJHtpc3N1ZS5wYXRoLnRvU3RyaW5nKCkucmVwbGFjZShcIixcIiwgXCIgPiBcIil9OiAke2lzc3VlLm1lc3NhZ2V9YDtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIGNvbnN0IGVycm9yTXNnID0gZm9ybWF0dGVkRXJyb3JzLmpvaW4oXCJcXG5cIik7XG4gICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICA8RmxleEJveCBrZXk9e2Vycm9yTXNnfSByb2xlPVwibWVudWl0ZW1cIj5cbiAgICAgICAgICAgICAgICA8VGV4dD5cbiAgICAgICAgICAgICAgICAgIE1pc2NvbmZpZ3VyYXRpb24gZXJyb3I6IEFwcCBTd2l0Y2ggbGlicmFyeXtcIiBcIn1cbiAgICAgICAgICAgICAgICAgIHthcHA/LmlkID8gYGZvciBpZCAke2FwcC5pZH1gIDogYGF0IGluZGV4ICR7aW5kZXh9YH1cbiAgICAgICAgICAgICAgICA8L1RleHQ+XG4gICAgICAgICAgICAgICAgPFRleHQ+e2Vycm9yTXNnfTwvVGV4dD5cbiAgICAgICAgICAgICAgPC9GbGV4Qm94PlxuICAgICAgICAgICAgKTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgPE1VSU1lbnVJdGVtIGtleT17YXBwLmlkfSBvbkNsaWNrPXtoYW5kbGVDbG9zZX0+XG4gICAgICAgICAgICAgIDxhXG4gICAgICAgICAgICAgICAgaHJlZj17YXBwLnVybH1cbiAgICAgICAgICAgICAgICBjc3M9e3tcbiAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IFwiZmxleFwiLFxuICAgICAgICAgICAgICAgICAgZmxleERpcmVjdGlvbjogXCJjb2x1bW5cIixcbiAgICAgICAgICAgICAgICAgIGFsaWduSXRlbXM6IFwiY2VudGVyXCIsXG4gICAgICAgICAgICAgICAgICByb3dHYXA6IDQsXG4gICAgICAgICAgICAgICAgICB3aWR0aDogXCIxMDAlXCJcbiAgICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPGltZ1xuICAgICAgICAgICAgICAgICAgc3JjPXthcHAuaWNvbn1cbiAgICAgICAgICAgICAgICAgIGFsdD17YCR7YXBwLm5hbWV9IGljb25gfVxuICAgICAgICAgICAgICAgICAgY3NzPXt7IHdpZHRoOiAyNSwgaGVpZ2h0OiAyNSB9fVxuICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAge2FwcC5uYW1lfVxuICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICA8L01VSU1lbnVJdGVtPlxuICAgICAgICAgICk7XG4gICAgICAgIH0pfVxuICAgICAgPC9NVUlNZW51PlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgQXBwU3dpdGNoO1xuIl19 */",
55021
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
55022
- };
55023
- var _ref2 = process.env.NODE_ENV === "production" ? {
55024
- name: "1k1rh22",
55025
- styles: "width:25px;height:25px"
55026
- } : {
55027
- name: "9qz4wy-AppSwitch",
55028
- styles: "width:25px;height:25px;label:AppSwitch;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdGNoLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF5RmtCIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQX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aWJyYXJ5U2NoZW1hLnNhZmVQYXJzZShhcHApO1xuXG4gICAgICAgICAgaWYgKCF2YWxpZGF0ZUFwcHNTY2hlbWEuc3VjY2Vzcykge1xuICAgICAgICAgICAgY29uc3QgZm9ybWF0dGVkRXJyb3JzID0gdmFsaWRhdGVBcHBzU2NoZW1hLmVycm9yLmlzc3Vlcy5tYXAoXG4gICAgICAgICAgICAgIChpc3N1ZSkgPT4ge1xuICAgICAgICAgICAgICAgIHJldHVybiBgJHtpc3N1ZS5wYXRoLnRvU3RyaW5nKCkucmVwbGFjZShcIixcIiwgXCIgPiBcIil9OiAke2lzc3VlLm1lc3NhZ2V9YDtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIGNvbnN0IGVycm9yTXNnID0gZm9ybWF0dGVkRXJyb3JzLmpvaW4oXCJcXG5cIik7XG4gICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICA8RmxleEJveCBrZXk9e2Vycm9yTXNnfSByb2xlPVwibWVudWl0ZW1cIj5cbiAgICAgICAgICAgICAgICA8VGV4dD5cbiAgICAgICAgICAgICAgICAgIE1pc2NvbmZpZ3VyYXRpb24gZXJyb3I6IEFwcCBTd2l0Y2ggbGlicmFyeXtcIiBcIn1cbiAgICAgICAgICAgICAgICAgIHthcHA/LmlkID8gYGZvciBpZCAke2FwcC5pZH1gIDogYGF0IGluZGV4ICR7aW5kZXh9YH1cbiAgICAgICAgICAgICAgICA8L1RleHQ+XG4gICAgICAgICAgICAgICAgPFRleHQ+e2Vycm9yTXNnfTwvVGV4dD5cbiAgICAgICAgICAgICAgPC9GbGV4Qm94PlxuICAgICAgICAgICAgKTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgPE1VSU1lbnVJdGVtIGtleT17YXBwLmlkfSBvbkNsaWNrPXtoYW5kbGVDbG9zZX0+XG4gICAgICAgICAgICAgIDxhXG4gICAgICAgICAgICAgICAgaHJlZj17YXBwLnVybH1cbiAgICAgICAgICAgICAgICBjc3M9e3tcbiAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IFwiZmxleFwiLFxuICAgICAgICAgICAgICAgICAgZmxleERpcmVjdGlvbjogXCJjb2x1bW5cIixcbiAgICAgICAgICAgICAgICAgIGFsaWduSXRlbXM6IFwiY2VudGVyXCIsXG4gICAgICAgICAgICAgICAgICByb3dHYXA6IDQsXG4gICAgICAgICAgICAgICAgICB3aWR0aDogXCIxMDAlXCJcbiAgICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPGltZ1xuICAgICAgICAgICAgICAgICAgc3JjPXthcHAuaWNvbn1cbiAgICAgICAgICAgICAgICAgIGFsdD17YCR7YXBwLm5hbWV9IGljb25gfVxuICAgICAgICAgICAgICAgICAgY3NzPXt7IHdpZHRoOiAyNSwgaGVpZ2h0OiAyNSB9fVxuICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAge2FwcC5uYW1lfVxuICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICA8L01VSU1lbnVJdGVtPlxuICAgICAgICAgICk7XG4gICAgICAgIH0pfVxuICAgICAgPC9NVUlNZW51PlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgQXBwU3dpdGNoO1xuIl19 */",
55029
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
55030
- };
55031
- const AppSwitch = ({
55032
- apps
55033
- }) => {
55034
- const [anchorEl, setAnchorEl] = React$2.useState(null);
55035
- const open = Boolean(anchorEl);
55036
- const handleClick = (event) => {
55037
- setAnchorEl(event.currentTarget);
55038
- };
55039
- const handleClose = () => {
55040
- setAnchorEl(null);
55041
- };
55042
- return /* @__PURE__ */ jsxs("div", { children: [
55043
- /* @__PURE__ */ jsx$1(IconButton, { "aria-label": "app-switch", "aria-controls": open ? "app-switch-menu" : void 0, "aria-haspopup": "true", "aria-expanded": open ? "true" : void 0, onClick: handleClick, color: "primary", children: /* @__PURE__ */ jsx$1(GridIcon, {}) }),
55044
- /* @__PURE__ */ jsx$1(Menu, { id: "app-switch-menu", anchorEl, open, onClose: handleClose, MenuListProps: {
55045
- "aria-labelledby": "app-switch-button"
55046
- }, children: apps.map((app, index) => {
55047
- const validateAppsSchema = AppSwitchLibrarySchema.safeParse(app);
55048
- if (!validateAppsSchema.success) {
55049
- const formattedErrors = validateAppsSchema.error.issues.map((issue) => {
55050
- return `${issue.path.toString().replace(",", " > ")}: ${issue.message}`;
55051
- });
55052
- const errorMsg = formattedErrors.join("\n");
55053
- return /* @__PURE__ */ jsxs(FlexBox, { role: "menuitem", children: [
55054
- /* @__PURE__ */ jsxs(Text, { children: [
55055
- "Misconfiguration error: App Switch library",
55056
- " ",
55057
- (app == null ? void 0 : app.id) ? `for id ${app.id}` : `at index ${index}`
55058
- ] }),
55059
- /* @__PURE__ */ jsx$1(Text, { children: errorMsg })
55060
- ] }, errorMsg);
55061
- }
55062
- return /* @__PURE__ */ jsx$1(MenuItem, { onClick: handleClose, children: /* @__PURE__ */ jsxs("a", { href: app.url, css: _ref$1, children: [
55063
- /* @__PURE__ */ jsx$1("img", { src: app.icon, alt: `${app.name} icon`, css: _ref2 }),
55064
- app.name
55065
- ] }) }, app.id);
55066
- }) })
55067
- ] });
55068
- };
55069
54976
  const AppBar = ({
55070
54977
  appName,
55071
54978
  beta = false,
55072
54979
  position: position2 = "relative",
55073
- apps = [],
55074
- userProfile
54980
+ startChild,
54981
+ endChild,
54982
+ version
55075
54983
  }) => {
55076
54984
  const theme = useExtendedTheme();
55077
- return /* @__PURE__ */ jsxs(AppBar$1, { color: "inherit", position: position2, children: [
55078
- (apps == null ? void 0 : apps.length) >= 1 && /* @__PURE__ */ jsx$1(Box, { id: "app-switch-container", sx: {
54985
+ return /* @__PURE__ */ jsxs(AppBar$1, { color: "inherit", position: position2, enableColorOnDark: true, sx: {
54986
+ borderRadius: 0,
54987
+ backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "#ffffff"
54988
+ }, elevation: 0, children: [
54989
+ startChild && /* @__PURE__ */ jsx$1(Box, { id: "app-switch-container", sx: {
55079
54990
  position: "absolute",
55080
54991
  top: "50%",
55081
54992
  left: 16,
55082
54993
  transform: "translate(0, -50%)"
55083
- }, children: /* @__PURE__ */ jsx$1(AppSwitch, { apps }) }),
54994
+ }, children: startChild }),
55084
54995
  /* @__PURE__ */ jsxs(Stack, { direction: "row", spacing: 2, alignItems: "center", sx: {
55085
54996
  position: "absolute",
55086
54997
  top: "50%",
@@ -55093,17 +55004,16 @@ Please use another name.` : formatMuiErrorMessage$1(18));
55093
55004
  fontFamily: "Figtree",
55094
55005
  fontSize: 40
55095
55006
  }, children: appName }),
55096
- beta && /* @__PURE__ */ jsx$1(Box, { position: "absolute", right: -28, bottom: 2, fontSize: 8, paddingInline: 0.5, sx: {
55097
- backgroundColor: theme.palette.primary.main,
55098
- color: theme.palette.primary.contrastText
55099
- }, children: "BETA" })
55007
+ version && /* @__PURE__ */ jsx$1(Box, { position: "absolute", right: -33, bottom: 5, fontSize: 12, paddingInline: 0.5, sx: {
55008
+ color: theme.palette.secondary.contrastText
55009
+ }, children: version })
55100
55010
  ] }),
55101
- userProfile && /* @__PURE__ */ jsx$1(Stack, { sx: {
55011
+ endChild && /* @__PURE__ */ jsx$1(Stack, { sx: {
55102
55012
  position: "absolute",
55103
55013
  top: "50%",
55104
55014
  right: 16,
55105
55015
  transform: "translate(0, -50%)"
55106
- }, children: userProfile })
55016
+ }, children: endChild })
55107
55017
  ] });
55108
55018
  };
55109
55019
  const AppChrome = ({
@@ -55121,6 +55031,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
55121
55031
  ] });
55122
55032
  };
55123
55033
  const Container = (containerProps) => /* @__PURE__ */ jsx$1(Container$1, { ...containerProps });
55034
+ const FlexBox = (props) => /* @__PURE__ */ jsx$1(Stack, { ...props, children: props.children });
55124
55035
  const TelicentMark = ({
55125
55036
  width: width2 = 24,
55126
55037
  height: height2 = 24,
@@ -55215,11 +55126,48 @@ Please use another name.` : formatMuiErrorMessage$1(18));
55215
55126
  color: color2 === "primary" ? theme.palette.primary.main : "inherit"
55216
55127
  }, process.env.NODE_ENV === "production" ? "" : ";label:SearchIcon;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9Gb250QXdlc29tZUljb25zL1NlYXJjaEljb24udHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCTSIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay90ZWxpY2VudC1kcy90ZWxpY2VudC1kcy9zcmMvdjEvY29tcG9uZW50cy9kYXRhLWRpc3BsYXkvRm9udEF3ZXNvbWVJY29ucy9TZWFyY2hJY29uLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7XG4gIEZvbnRBd2Vzb21lSWNvbixcbiAgRm9udEF3ZXNvbWVJY29uUHJvcHMsXG59IGZyb20gXCJAZm9ydGF3ZXNvbWUvcmVhY3QtZm9udGF3ZXNvbWVcIjtcbmltcG9ydCB7IGZhTWFnbmlmeWluZ0dsYXNzIH0gZnJvbSBcIkBmb3J0YXdlc29tZS9mcmVlLXNvbGlkLXN2Zy1pY29uc1wiO1xuaW1wb3J0IHsgdXNlVGhlbWUgfSBmcm9tIFwiQG11aS9tYXRlcmlhbC9zdHlsZXNcIjtcblxudHlwZSBTZWFyY2hJY29uUHJvcHMgPSBPbWl0PEZvbnRBd2Vzb21lSWNvblByb3BzLCBcImljb25cIj4gJiB7XG4gIGNvbG9yPzogXCJwcmltYXJ5XCIgfCBcImluaGVyaXRcIjtcbn07XG5cbmNvbnN0IFNlYXJjaEljb246IFJlYWN0LkZDPFNlYXJjaEljb25Qcm9wcz4gPSAoeyBjb2xvciwgLi4uZmFJY29uUHJvcHMgfSkgPT4ge1xuICBjb25zdCB0aGVtZSA9IHVzZVRoZW1lKCk7XG5cbiAgcmV0dXJuIChcbiAgICA8Rm9udEF3ZXNvbWVJY29uXG4gICAgICBpY29uPXtmYU1hZ25pZnlpbmdHbGFzc31cbiAgICAgIGNzcz17e1xuICAgICAgICBjb2xvcjogY29sb3IgPT09IFwicHJpbWFyeVwiID8gdGhlbWUucGFsZXR0ZS5wcmltYXJ5Lm1haW4gOiBcImluaGVyaXRcIixcbiAgICAgIH19XG4gICAgICB7Li4uZmFJY29uUHJvcHN9XG4gICAgLz5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IFNlYXJjaEljb247XG4iXX0= */"), ...faIconProps });
55217
55128
  };
55129
+ const Text = ({
55130
+ variant = "body1",
55131
+ ...textProps
55132
+ }) => /* @__PURE__ */ jsx$1(Typography, { component: "p", variant, ...textProps });
55133
+ const H1 = ({
55134
+ variant = "h1",
55135
+ ...headingProps
55136
+ }) => /* @__PURE__ */ jsx$1(Typography, { component: "h1", variant, ...headingProps });
55137
+ const H2 = ({
55138
+ variant = "h2",
55139
+ ...headingProps
55140
+ }) => /* @__PURE__ */ jsx$1(Typography, { component: "h2", variant, ...headingProps });
55141
+ const H3 = ({
55142
+ variant = "h3",
55143
+ ...headingProps
55144
+ }) => /* @__PURE__ */ jsx$1(Typography, { component: "h3", variant, ...headingProps });
55145
+ const H4 = ({
55146
+ variant = "h4",
55147
+ ...headingProps
55148
+ }) => /* @__PURE__ */ jsx$1(Typography, { component: "h4", variant, ...headingProps });
55149
+ const H5 = ({
55150
+ variant = "h5",
55151
+ ...headingProps
55152
+ }) => /* @__PURE__ */ jsx$1(Typography, { component: "h5", variant, ...headingProps });
55153
+ const H6 = ({
55154
+ variant = "h6",
55155
+ ...headingProps
55156
+ }) => /* @__PURE__ */ jsx$1(Typography, { component: "h6", variant, ...headingProps });
55218
55157
  const List = (listProps) => /* @__PURE__ */ jsx$1(List$1, { ...listProps });
55219
55158
  const ListItem = (listItemProps) => /* @__PURE__ */ jsx$1(ListItem$1, { ...listItemProps });
55220
55159
  const ListItemButton = (listItemButtonProps) => /* @__PURE__ */ jsx$1(ListItemButton$1, { ...listItemButtonProps });
55221
55160
  const ListItemIcon = (listItemIconProps) => /* @__PURE__ */ jsx$1(ListItemIcon$1, { ...listItemIconProps });
55222
55161
  const ListItemText = (props) => /* @__PURE__ */ jsx$1(ListItemText$1, { ...props });
55162
+ const IconButton = React$2.forwardRef((props, ref) => /* @__PURE__ */ jsx$1(IconButton$1, { ref, ...props }));
55163
+ const AppSwitchLibrarySchema = z.object({
55164
+ id: z.string(),
55165
+ name: z.string(),
55166
+ url: z.string(),
55167
+ icon: z.string()
55168
+ });
55169
+ process.env.NODE_ENV === "production" ? {} : {};
55170
+ process.env.NODE_ENV === "production" ? {} : {};
55223
55171
  const Chip = ({
55224
55172
  variant = "filled",
55225
55173
  ...chipProps
@@ -56769,7 +56717,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
56769
56717
  };
56770
56718
  };
56771
56719
  const _excluded$2 = ["slots", "slotProps", "apiRef"];
56772
- const extractPluginParamsFromProps = (_ref3) => {
56720
+ const extractPluginParamsFromProps = (_ref2) => {
56773
56721
  let {
56774
56722
  props: {
56775
56723
  slots,
@@ -56778,7 +56726,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
56778
56726
  },
56779
56727
  plugins: plugins2,
56780
56728
  rootRef
56781
- } = _ref3, props = _objectWithoutPropertiesLoose(_ref3.props, _excluded$2);
56729
+ } = _ref2, props = _objectWithoutPropertiesLoose(_ref2.props, _excluded$2);
56782
56730
  const paramsLookup = {};
56783
56731
  plugins2.forEach((plugin) => {
56784
56732
  Object.assign(paramsLookup, plugin.params);
@@ -58120,11 +58068,11 @@ Please use another name.` : formatMuiErrorMessage$1(18));
58120
58068
  const translation = getTranslation(controlPos, positionOffset, "");
58121
58069
  return translation;
58122
58070
  }
58123
- function getTranslation(_ref3, positionOffset, unitSuffix) {
58071
+ function getTranslation(_ref2, positionOffset, unitSuffix) {
58124
58072
  let {
58125
58073
  x: x2,
58126
58074
  y
58127
- } = _ref3;
58075
+ } = _ref2;
58128
58076
  let translation = "translate(".concat(x2).concat(unitSuffix, ",").concat(y).concat(unitSuffix, ")");
58129
58077
  if (positionOffset) {
58130
58078
  const defaultX = "".concat(typeof positionOffset.x === "string" ? positionOffset.x : positionOffset.x + unitSuffix);
@@ -58804,10 +58752,10 @@ Please use another name.` : formatMuiErrorMessage$1(18));
58804
58752
  class Draggable2 extends React2.Component {
58805
58753
  // React 16.3+
58806
58754
  // Arity (props, state)
58807
- static getDerivedStateFromProps(_ref3, _ref22) {
58755
+ static getDerivedStateFromProps(_ref2, _ref22) {
58808
58756
  let {
58809
58757
  position: position2
58810
- } = _ref3;
58758
+ } = _ref2;
58811
58759
  let {
58812
58760
  prevPropsPosition
58813
58761
  } = _ref22;
@@ -60664,8 +60612,17 @@ Please use another name.` : formatMuiErrorMessage$1(18));
60664
60612
  500: "#2F44CA",
60665
60613
  600: "#2636A2"
60666
60614
  };
60667
- const main$1 = "#F56AAA";
60615
+ const main$2 = "#F56AAA";
60668
60616
  const DOCUMENT_PINK = {
60617
+ 50: alpha$1(main$2, 0.1),
60618
+ 100: alpha$1(main$2, 0.2),
60619
+ 200: alpha$1(main$2, 0.3),
60620
+ 400: alpha$1(main$2, 0.5),
60621
+ 500: main$2,
60622
+ 600: alpha$1(main$2, 0.7)
60623
+ };
60624
+ const main$1 = "#F2A64B";
60625
+ const GRAPH_ORANGE = {
60669
60626
  50: alpha$1(main$1, 0.1),
60670
60627
  100: alpha$1(main$1, 0.2),
60671
60628
  200: alpha$1(main$1, 0.3),
@@ -60673,8 +60630,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
60673
60630
  500: main$1,
60674
60631
  600: alpha$1(main$1, 0.7)
60675
60632
  };
60676
- const main = "#F2A64B";
60677
- const GRAPH_ORANGE = {
60633
+ const main = "#20BCFA";
60634
+ const ADMIN_BLUE = {
60678
60635
  50: alpha$1(main, 0.1),
60679
60636
  100: alpha$1(main, 0.2),
60680
60637
  200: alpha$1(main, 0.3),
@@ -60682,7 +60639,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
60682
60639
  500: main,
60683
60640
  600: alpha$1(main, 0.7)
60684
60641
  };
60685
- const UIThemeSchema = z.enum(["light", "dark", "DataNavy", "DocumentPink", "GraphOrange"]);
60642
+ const UIThemeSchema = z.enum(["light", "dark", "DataNavy", "DocumentPink", "GraphOrange", "AdminBlue"]);
60686
60643
  const lightMain = common.white;
60687
60644
  const THEME_COLORS = {
60688
60645
  DataNavy: {
@@ -60703,7 +60660,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
60703
60660
  // TODO fix dark theme
60704
60661
  light: alpha$1(lightMain, 0.5),
60705
60662
  dark: alpha$1(lightMain, 0.9),
60706
- contrastText: common.black
60663
+ contrastText: common.white
60707
60664
  },
60708
60665
  DocumentPink: {
60709
60666
  ...DOCUMENT_PINK,
@@ -60718,6 +60675,13 @@ Please use another name.` : formatMuiErrorMessage$1(18));
60718
60675
  light: GRAPH_ORANGE[400],
60719
60676
  dark: GRAPH_ORANGE[600],
60720
60677
  contrastText: common.black
60678
+ },
60679
+ AdminBlue: {
60680
+ ...ADMIN_BLUE,
60681
+ main: ADMIN_BLUE[500],
60682
+ light: ADMIN_BLUE[400],
60683
+ dark: ADMIN_BLUE[600],
60684
+ contrastText: common.black
60721
60685
  }
60722
60686
  };
60723
60687
  const AVATAR_OVERRIDES = {
@@ -60917,7 +60881,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
60917
60881
  MuiAppBar: {
60918
60882
  styleOverrides: {
60919
60883
  root: {
60920
- height: 70
60884
+ height: 64
60921
60885
  }
60922
60886
  }
60923
60887
  },
@@ -61078,7 +61042,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
61078
61042
  };
61079
61043
  exports2.AppBar = AppBar;
61080
61044
  exports2.AppChrome = AppChrome;
61081
- exports2.AppSwitch = AppSwitch$1;
61045
+ exports2.AppSwitch = AppSwitch;
61082
61046
  exports2.AppSwitchLibrarySchema = AppSwitchLibrarySchema;
61083
61047
  exports2.BinIcon = BinIcon;
61084
61048
  exports2.Button = Button;