@mxenabled/connect-widget 2.0.0 → 2.1.0

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/index.es.js CHANGED
@@ -5468,7 +5468,7 @@ const _every = /*@__PURE__*/getDefaultExportFromCjs(every_1);
5468
5468
 
5469
5469
  var propTypes$4 = {exports: {}};
5470
5470
 
5471
- var reactIs$4 = {exports: {}};
5471
+ var reactIs$5 = {exports: {}};
5472
5472
 
5473
5473
  var reactIs_production_min$3 = {};
5474
5474
 
@@ -5576,13 +5576,13 @@ function requireReactIs_production_min$3 () {
5576
5576
  return reactIs_production_min$3;
5577
5577
  }
5578
5578
 
5579
- var reactIs_development$3 = {};
5579
+ var reactIs_development$4 = {};
5580
5580
 
5581
- var hasRequiredReactIs_development$3;
5581
+ var hasRequiredReactIs_development$4;
5582
5582
 
5583
- function requireReactIs_development$3 () {
5584
- if (hasRequiredReactIs_development$3) return reactIs_development$3;
5585
- hasRequiredReactIs_development$3 = 1;
5583
+ function requireReactIs_development$4 () {
5584
+ if (hasRequiredReactIs_development$4) return reactIs_development$4;
5585
+ hasRequiredReactIs_development$4 = 1;
5586
5586
  /** @license React v16.13.1
5587
5587
  * react-is.development.js
5588
5588
  *
@@ -5708,50 +5708,50 @@ function requireReactIs_development$3 () {
5708
5708
  function isSuspense(object) {
5709
5709
  return typeOf(object) === REACT_SUSPENSE_TYPE;
5710
5710
  }
5711
- reactIs_development$3.AsyncMode = AsyncMode;
5712
- reactIs_development$3.ConcurrentMode = ConcurrentMode;
5713
- reactIs_development$3.ContextConsumer = ContextConsumer;
5714
- reactIs_development$3.ContextProvider = ContextProvider;
5715
- reactIs_development$3.Element = Element;
5716
- reactIs_development$3.ForwardRef = ForwardRef;
5717
- reactIs_development$3.Fragment = Fragment;
5718
- reactIs_development$3.Lazy = Lazy;
5719
- reactIs_development$3.Memo = Memo;
5720
- reactIs_development$3.Portal = Portal;
5721
- reactIs_development$3.Profiler = Profiler;
5722
- reactIs_development$3.StrictMode = StrictMode;
5723
- reactIs_development$3.Suspense = Suspense;
5724
- reactIs_development$3.isAsyncMode = isAsyncMode;
5725
- reactIs_development$3.isConcurrentMode = isConcurrentMode;
5726
- reactIs_development$3.isContextConsumer = isContextConsumer;
5727
- reactIs_development$3.isContextProvider = isContextProvider;
5728
- reactIs_development$3.isElement = isElement;
5729
- reactIs_development$3.isForwardRef = isForwardRef;
5730
- reactIs_development$3.isFragment = isFragment;
5731
- reactIs_development$3.isLazy = isLazy;
5732
- reactIs_development$3.isMemo = isMemo;
5733
- reactIs_development$3.isPortal = isPortal;
5734
- reactIs_development$3.isProfiler = isProfiler;
5735
- reactIs_development$3.isStrictMode = isStrictMode;
5736
- reactIs_development$3.isSuspense = isSuspense;
5737
- reactIs_development$3.isValidElementType = isValidElementType;
5738
- reactIs_development$3.typeOf = typeOf;
5711
+ reactIs_development$4.AsyncMode = AsyncMode;
5712
+ reactIs_development$4.ConcurrentMode = ConcurrentMode;
5713
+ reactIs_development$4.ContextConsumer = ContextConsumer;
5714
+ reactIs_development$4.ContextProvider = ContextProvider;
5715
+ reactIs_development$4.Element = Element;
5716
+ reactIs_development$4.ForwardRef = ForwardRef;
5717
+ reactIs_development$4.Fragment = Fragment;
5718
+ reactIs_development$4.Lazy = Lazy;
5719
+ reactIs_development$4.Memo = Memo;
5720
+ reactIs_development$4.Portal = Portal;
5721
+ reactIs_development$4.Profiler = Profiler;
5722
+ reactIs_development$4.StrictMode = StrictMode;
5723
+ reactIs_development$4.Suspense = Suspense;
5724
+ reactIs_development$4.isAsyncMode = isAsyncMode;
5725
+ reactIs_development$4.isConcurrentMode = isConcurrentMode;
5726
+ reactIs_development$4.isContextConsumer = isContextConsumer;
5727
+ reactIs_development$4.isContextProvider = isContextProvider;
5728
+ reactIs_development$4.isElement = isElement;
5729
+ reactIs_development$4.isForwardRef = isForwardRef;
5730
+ reactIs_development$4.isFragment = isFragment;
5731
+ reactIs_development$4.isLazy = isLazy;
5732
+ reactIs_development$4.isMemo = isMemo;
5733
+ reactIs_development$4.isPortal = isPortal;
5734
+ reactIs_development$4.isProfiler = isProfiler;
5735
+ reactIs_development$4.isStrictMode = isStrictMode;
5736
+ reactIs_development$4.isSuspense = isSuspense;
5737
+ reactIs_development$4.isValidElementType = isValidElementType;
5738
+ reactIs_development$4.typeOf = typeOf;
5739
5739
  })();
5740
5740
  }
5741
- return reactIs_development$3;
5741
+ return reactIs_development$4;
5742
5742
  }
5743
5743
 
5744
5744
  var hasRequiredReactIs;
5745
5745
 
5746
5746
  function requireReactIs () {
5747
- if (hasRequiredReactIs) return reactIs$4.exports;
5747
+ if (hasRequiredReactIs) return reactIs$5.exports;
5748
5748
  hasRequiredReactIs = 1;
5749
5749
  if (process.env.NODE_ENV === "production") {
5750
- reactIs$4.exports = requireReactIs_production_min$3();
5750
+ reactIs$5.exports = requireReactIs_production_min$3();
5751
5751
  } else {
5752
- reactIs$4.exports = requireReactIs_development$3();
5752
+ reactIs$5.exports = requireReactIs_development$4();
5753
5753
  }
5754
- return reactIs$4.exports;
5754
+ return reactIs$5.exports;
5755
5755
  }
5756
5756
 
5757
5757
  var objectAssign;
@@ -15174,7 +15174,7 @@ var createCache = function createCache2(options) {
15174
15174
  return cache;
15175
15175
  };
15176
15176
 
15177
- var reactIs$3 = {exports: {}};
15177
+ var reactIs$4 = {exports: {}};
15178
15178
 
15179
15179
  var reactIs_production_min$2 = {};
15180
15180
 
@@ -15282,13 +15282,13 @@ function requireReactIs_production_min$2 () {
15282
15282
  return reactIs_production_min$2;
15283
15283
  }
15284
15284
 
15285
- var reactIs_development$2 = {};
15285
+ var reactIs_development$3 = {};
15286
15286
 
15287
- var hasRequiredReactIs_development$2;
15287
+ var hasRequiredReactIs_development$3;
15288
15288
 
15289
- function requireReactIs_development$2 () {
15290
- if (hasRequiredReactIs_development$2) return reactIs_development$2;
15291
- hasRequiredReactIs_development$2 = 1;
15289
+ function requireReactIs_development$3 () {
15290
+ if (hasRequiredReactIs_development$3) return reactIs_development$3;
15291
+ hasRequiredReactIs_development$3 = 1;
15292
15292
  /** @license React v16.13.1
15293
15293
  * react-is.development.js
15294
15294
  *
@@ -15414,48 +15414,48 @@ function requireReactIs_development$2 () {
15414
15414
  function isSuspense(object) {
15415
15415
  return typeOf(object) === REACT_SUSPENSE_TYPE;
15416
15416
  }
15417
- reactIs_development$2.AsyncMode = AsyncMode;
15418
- reactIs_development$2.ConcurrentMode = ConcurrentMode;
15419
- reactIs_development$2.ContextConsumer = ContextConsumer;
15420
- reactIs_development$2.ContextProvider = ContextProvider;
15421
- reactIs_development$2.Element = Element;
15422
- reactIs_development$2.ForwardRef = ForwardRef;
15423
- reactIs_development$2.Fragment = Fragment;
15424
- reactIs_development$2.Lazy = Lazy;
15425
- reactIs_development$2.Memo = Memo;
15426
- reactIs_development$2.Portal = Portal;
15427
- reactIs_development$2.Profiler = Profiler;
15428
- reactIs_development$2.StrictMode = StrictMode;
15429
- reactIs_development$2.Suspense = Suspense;
15430
- reactIs_development$2.isAsyncMode = isAsyncMode;
15431
- reactIs_development$2.isConcurrentMode = isConcurrentMode;
15432
- reactIs_development$2.isContextConsumer = isContextConsumer;
15433
- reactIs_development$2.isContextProvider = isContextProvider;
15434
- reactIs_development$2.isElement = isElement;
15435
- reactIs_development$2.isForwardRef = isForwardRef;
15436
- reactIs_development$2.isFragment = isFragment;
15437
- reactIs_development$2.isLazy = isLazy;
15438
- reactIs_development$2.isMemo = isMemo;
15439
- reactIs_development$2.isPortal = isPortal;
15440
- reactIs_development$2.isProfiler = isProfiler;
15441
- reactIs_development$2.isStrictMode = isStrictMode;
15442
- reactIs_development$2.isSuspense = isSuspense;
15443
- reactIs_development$2.isValidElementType = isValidElementType;
15444
- reactIs_development$2.typeOf = typeOf;
15417
+ reactIs_development$3.AsyncMode = AsyncMode;
15418
+ reactIs_development$3.ConcurrentMode = ConcurrentMode;
15419
+ reactIs_development$3.ContextConsumer = ContextConsumer;
15420
+ reactIs_development$3.ContextProvider = ContextProvider;
15421
+ reactIs_development$3.Element = Element;
15422
+ reactIs_development$3.ForwardRef = ForwardRef;
15423
+ reactIs_development$3.Fragment = Fragment;
15424
+ reactIs_development$3.Lazy = Lazy;
15425
+ reactIs_development$3.Memo = Memo;
15426
+ reactIs_development$3.Portal = Portal;
15427
+ reactIs_development$3.Profiler = Profiler;
15428
+ reactIs_development$3.StrictMode = StrictMode;
15429
+ reactIs_development$3.Suspense = Suspense;
15430
+ reactIs_development$3.isAsyncMode = isAsyncMode;
15431
+ reactIs_development$3.isConcurrentMode = isConcurrentMode;
15432
+ reactIs_development$3.isContextConsumer = isContextConsumer;
15433
+ reactIs_development$3.isContextProvider = isContextProvider;
15434
+ reactIs_development$3.isElement = isElement;
15435
+ reactIs_development$3.isForwardRef = isForwardRef;
15436
+ reactIs_development$3.isFragment = isFragment;
15437
+ reactIs_development$3.isLazy = isLazy;
15438
+ reactIs_development$3.isMemo = isMemo;
15439
+ reactIs_development$3.isPortal = isPortal;
15440
+ reactIs_development$3.isProfiler = isProfiler;
15441
+ reactIs_development$3.isStrictMode = isStrictMode;
15442
+ reactIs_development$3.isSuspense = isSuspense;
15443
+ reactIs_development$3.isValidElementType = isValidElementType;
15444
+ reactIs_development$3.typeOf = typeOf;
15445
15445
  })();
15446
15446
  }
15447
- return reactIs_development$2;
15447
+ return reactIs_development$3;
15448
15448
  }
15449
15449
 
15450
15450
  if (process.env.NODE_ENV === "production") {
15451
- reactIs$3.exports = requireReactIs_production_min$2();
15451
+ reactIs$4.exports = requireReactIs_production_min$2();
15452
15452
  } else {
15453
- reactIs$3.exports = requireReactIs_development$2();
15453
+ reactIs$4.exports = requireReactIs_development$3();
15454
15454
  }
15455
15455
 
15456
- var reactIsExports$2 = reactIs$3.exports;
15456
+ var reactIsExports$3 = reactIs$4.exports;
15457
15457
 
15458
- var reactIs$2 = reactIsExports$2;
15458
+ var reactIs$3 = reactIsExports$3;
15459
15459
  var FORWARD_REF_STATICS = {
15460
15460
  "$$typeof": true,
15461
15461
  render: true,
@@ -15472,8 +15472,8 @@ var MEMO_STATICS = {
15472
15472
  type: true
15473
15473
  };
15474
15474
  var TYPE_STATICS = {};
15475
- TYPE_STATICS[reactIs$2.ForwardRef] = FORWARD_REF_STATICS;
15476
- TYPE_STATICS[reactIs$2.Memo] = MEMO_STATICS;
15475
+ TYPE_STATICS[reactIs$3.ForwardRef] = FORWARD_REF_STATICS;
15476
+ TYPE_STATICS[reactIs$3.Memo] = MEMO_STATICS;
15477
15477
 
15478
15478
  var isBrowser = true;
15479
15479
  function getRegisteredStyles(registered, registeredStyles, classNames) {
@@ -16222,28 +16222,56 @@ tags.forEach(function(tagName) {
16222
16222
  newStyled[tagName] = newStyled(tagName);
16223
16223
  });
16224
16224
 
16225
- let cache;
16226
- if (typeof document === "object") {
16227
- cache = createCache({
16225
+ function getCache(injectFirst, enableCssLayer) {
16226
+ const emotionCache = createCache({
16228
16227
  key: "css",
16229
- prepend: true
16228
+ prepend: injectFirst
16230
16229
  });
16230
+ if (enableCssLayer) {
16231
+ const prevInsert = emotionCache.insert;
16232
+ emotionCache.insert = (...args) => {
16233
+ if (!args[1].styles.match(/^@layer\s+[^{]*$/)) {
16234
+ args[1].styles = `@layer mui {${args[1].styles}}`;
16235
+ }
16236
+ return prevInsert(...args);
16237
+ };
16238
+ }
16239
+ return emotionCache;
16231
16240
  }
16241
+ const cacheMap = /* @__PURE__ */ new Map();
16232
16242
  function StyledEngineProvider(props) {
16233
16243
  const {
16234
16244
  injectFirst,
16245
+ enableCssLayer,
16235
16246
  children
16236
16247
  } = props;
16237
- return injectFirst && cache ? /* @__PURE__ */ jsxRuntimeExports.jsx(CacheProvider, {
16238
- value: cache,
16239
- children
16240
- }) : children;
16248
+ const cache = React$1.useMemo(() => {
16249
+ const cacheKey = `${injectFirst}-${enableCssLayer}`;
16250
+ if (typeof document === "object" && cacheMap.has(cacheKey)) {
16251
+ return cacheMap.get(cacheKey);
16252
+ }
16253
+ const fresh = getCache(injectFirst, enableCssLayer);
16254
+ cacheMap.set(cacheKey, fresh);
16255
+ return fresh;
16256
+ }, [injectFirst, enableCssLayer]);
16257
+ if (injectFirst || enableCssLayer) {
16258
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(CacheProvider, {
16259
+ value: cache,
16260
+ children
16261
+ });
16262
+ }
16263
+ return children;
16241
16264
  }
16242
16265
  process.env.NODE_ENV !== "production" ? StyledEngineProvider.propTypes = {
16243
16266
  /**
16244
16267
  * Your component tree.
16245
16268
  */
16246
16269
  children: PropTypes$1.node,
16270
+ /**
16271
+ * If true, MUI styles are wrapped in CSS `@layer mui` rule.
16272
+ * It helps to override MUI styles when using CSS Modules, Tailwind CSS, plain CSS, or any other styling solution.
16273
+ */
16274
+ enableCssLayer: PropTypes$1.bool,
16247
16275
  /**
16248
16276
  * By default, the styles are injected last in the <head> element of the page.
16249
16277
  * As a result, they gain more specificity than any other style sheet.
@@ -16290,6 +16318,11 @@ const internal_processStyles = (tag, processor) => {
16290
16318
  tag.__emotion_styles = processor(tag.__emotion_styles);
16291
16319
  }
16292
16320
  };
16321
+ const wrapper$1 = [];
16322
+ function internal_serializeStyles$1(styles) {
16323
+ wrapper$1[0] = styles;
16324
+ return serializeStyles(wrapper$1);
16325
+ }
16293
16326
 
16294
16327
  const styledEngine = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
16295
16328
  __proto__: null,
@@ -16299,6 +16332,7 @@ const styledEngine = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProper
16299
16332
  css,
16300
16333
  default: styled$4,
16301
16334
  internal_processStyles,
16335
+ internal_serializeStyles: internal_serializeStyles$1,
16302
16336
  keyframes
16303
16337
  }, Symbol.toStringTag, { value: 'Module' }));
16304
16338
 
@@ -16320,7 +16354,7 @@ function isPlainObject$2(item) {
16320
16354
  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
16321
16355
  }
16322
16356
  function deepClone$1(source) {
16323
- if (!isPlainObject$2(source)) {
16357
+ if (/* @__PURE__ */ React$1.isValidElement(source) || !isPlainObject$2(source)) {
16324
16358
  return source;
16325
16359
  }
16326
16360
  const output = {};
@@ -16335,7 +16369,9 @@ function deepmerge$2(target, source, options = {
16335
16369
  const output = options.clone ? _extends$1({}, target) : target;
16336
16370
  if (isPlainObject$2(target) && isPlainObject$2(source)) {
16337
16371
  Object.keys(source).forEach((key) => {
16338
- if (isPlainObject$2(source[key]) && // Avoid prototype pollution
16372
+ if (/* @__PURE__ */ React$1.isValidElement(source[key])) {
16373
+ output[key] = source[key];
16374
+ } else if (isPlainObject$2(source[key]) && // Avoid prototype pollution
16339
16375
  Object.prototype.hasOwnProperty.call(target, key) && isPlainObject$2(target[key])) {
16340
16376
  output[key] = deepmerge$2(target[key], source[key], options);
16341
16377
  } else if (options.clone) {
@@ -17308,7 +17344,8 @@ function unstable_createStyleFunctionSx$1() {
17308
17344
  var _theme$unstable_sxCon;
17309
17345
  const {
17310
17346
  sx,
17311
- theme = {}
17347
+ theme = {},
17348
+ nested
17312
17349
  } = props || {};
17313
17350
  if (!sx) {
17314
17351
  return null;
@@ -17342,7 +17379,8 @@ function unstable_createStyleFunctionSx$1() {
17342
17379
  if (objectsHaveSameKeys$1(breakpointsValues, value)) {
17343
17380
  css[styleKey] = styleFunctionSx2({
17344
17381
  sx: value,
17345
- theme
17382
+ theme,
17383
+ nested: true
17346
17384
  });
17347
17385
  } else {
17348
17386
  css = merge$1(css, breakpointsValues);
@@ -17353,6 +17391,11 @@ function unstable_createStyleFunctionSx$1() {
17353
17391
  }
17354
17392
  }
17355
17393
  });
17394
+ if (!nested && theme.modularCssLayers) {
17395
+ return {
17396
+ "@layer sx": removeUnusedBreakpoints$1(breakpointsKeys, css)
17397
+ };
17398
+ }
17356
17399
  return removeUnusedBreakpoints$1(breakpointsKeys, css);
17357
17400
  }
17358
17401
  return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
@@ -17429,13 +17472,36 @@ function useTheme$5(defaultTheme = systemDefaultTheme$3) {
17429
17472
  return useTheme$6(defaultTheme);
17430
17473
  }
17431
17474
 
17475
+ function wrapGlobalLayer(styles) {
17476
+ const serialized = internal_serializeStyles$1(styles);
17477
+ if (styles !== serialized && serialized.styles) {
17478
+ if (!serialized.styles.match(/^@layer\s+[^{]*$/)) {
17479
+ serialized.styles = `@layer global{${serialized.styles}}`;
17480
+ }
17481
+ return serialized;
17482
+ }
17483
+ return styles;
17484
+ }
17432
17485
  function GlobalStyles$4({
17433
17486
  styles,
17434
17487
  themeId,
17435
17488
  defaultTheme = {}
17436
17489
  }) {
17437
17490
  const upperTheme = useTheme$5(defaultTheme);
17438
- const globalStyles = typeof styles === "function" ? styles(themeId ? upperTheme[themeId] || upperTheme : upperTheme) : styles;
17491
+ const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;
17492
+ let globalStyles = typeof styles === "function" ? styles(resolvedTheme) : styles;
17493
+ if (resolvedTheme.modularCssLayers) {
17494
+ if (Array.isArray(globalStyles)) {
17495
+ globalStyles = globalStyles.map((styleArg) => {
17496
+ if (typeof styleArg === "function") {
17497
+ return wrapGlobalLayer(styleArg(resolvedTheme));
17498
+ }
17499
+ return wrapGlobalLayer(styleArg);
17500
+ });
17501
+ } else {
17502
+ globalStyles = wrapGlobalLayer(globalStyles);
17503
+ }
17504
+ }
17439
17505
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GlobalStyles$5, {
17440
17506
  styles: globalStyles
17441
17507
  });
@@ -17557,317 +17623,225 @@ function generateUtilityClasses$1(componentName, slots, globalStatePrefix = "Mui
17557
17623
  return result;
17558
17624
  }
17559
17625
 
17560
- var reactIs$1 = {exports: {}};
17626
+ var reactIs$2 = {exports: {}};
17561
17627
 
17562
- var reactIs_production_min$1 = {};
17628
+ var reactIs_production = {};
17563
17629
 
17564
- var hasRequiredReactIs_production_min$1;
17630
+ var hasRequiredReactIs_production;
17565
17631
 
17566
- function requireReactIs_production_min$1 () {
17567
- if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
17568
- hasRequiredReactIs_production_min$1 = 1;
17632
+ function requireReactIs_production () {
17633
+ if (hasRequiredReactIs_production) return reactIs_production;
17634
+ hasRequiredReactIs_production = 1;
17569
17635
  /**
17570
17636
  * @license React
17571
- * react-is.production.min.js
17637
+ * react-is.production.js
17572
17638
  *
17573
- * Copyright (c) Facebook, Inc. and its affiliates.
17639
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
17574
17640
  *
17575
17641
  * This source code is licensed under the MIT license found in the
17576
17642
  * LICENSE file in the root directory of this source tree.
17577
17643
  */
17578
- var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u;
17579
- u = Symbol.for("react.module.reference");
17580
- function v(a) {
17581
- if ("object" === typeof a && null !== a) {
17582
- var r = a.$$typeof;
17583
- switch (r) {
17584
- case b:
17585
- switch (a = a.type, a) {
17586
- case d:
17587
- case f:
17588
- case e:
17589
- case m:
17590
- case n:
17591
- return a;
17644
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
17645
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
17646
+ function typeOf(object) {
17647
+ if ("object" === typeof object && null !== object) {
17648
+ var $$typeof = object.$$typeof;
17649
+ switch ($$typeof) {
17650
+ case REACT_ELEMENT_TYPE:
17651
+ switch (object = object.type, object) {
17652
+ case REACT_FRAGMENT_TYPE:
17653
+ case REACT_PROFILER_TYPE:
17654
+ case REACT_STRICT_MODE_TYPE:
17655
+ case REACT_SUSPENSE_TYPE:
17656
+ case REACT_SUSPENSE_LIST_TYPE:
17657
+ case REACT_VIEW_TRANSITION_TYPE:
17658
+ return object;
17592
17659
  default:
17593
- switch (a = a && a.$$typeof, a) {
17594
- case k:
17595
- case h:
17596
- case l:
17597
- case q:
17598
- case p:
17599
- case g:
17600
- return a;
17660
+ switch (object = object && object.$$typeof, object) {
17661
+ case REACT_CONTEXT_TYPE:
17662
+ case REACT_FORWARD_REF_TYPE:
17663
+ case REACT_LAZY_TYPE:
17664
+ case REACT_MEMO_TYPE:
17665
+ return object;
17666
+ case REACT_CONSUMER_TYPE:
17667
+ return object;
17601
17668
  default:
17602
- return r;
17669
+ return $$typeof;
17603
17670
  }
17604
17671
  }
17605
- case c:
17606
- return r;
17672
+ case REACT_PORTAL_TYPE:
17673
+ return $$typeof;
17607
17674
  }
17608
17675
  }
17609
17676
  }
17610
- reactIs_production_min$1.ContextConsumer = h;
17611
- reactIs_production_min$1.ContextProvider = g;
17612
- reactIs_production_min$1.Element = b;
17613
- reactIs_production_min$1.ForwardRef = l;
17614
- reactIs_production_min$1.Fragment = d;
17615
- reactIs_production_min$1.Lazy = q;
17616
- reactIs_production_min$1.Memo = p;
17617
- reactIs_production_min$1.Portal = c;
17618
- reactIs_production_min$1.Profiler = f;
17619
- reactIs_production_min$1.StrictMode = e;
17620
- reactIs_production_min$1.Suspense = m;
17621
- reactIs_production_min$1.SuspenseList = n;
17622
- reactIs_production_min$1.isAsyncMode = function() {
17623
- return false;
17677
+ reactIs_production.ContextConsumer = REACT_CONSUMER_TYPE;
17678
+ reactIs_production.ContextProvider = REACT_CONTEXT_TYPE;
17679
+ reactIs_production.Element = REACT_ELEMENT_TYPE;
17680
+ reactIs_production.ForwardRef = REACT_FORWARD_REF_TYPE;
17681
+ reactIs_production.Fragment = REACT_FRAGMENT_TYPE;
17682
+ reactIs_production.Lazy = REACT_LAZY_TYPE;
17683
+ reactIs_production.Memo = REACT_MEMO_TYPE;
17684
+ reactIs_production.Portal = REACT_PORTAL_TYPE;
17685
+ reactIs_production.Profiler = REACT_PROFILER_TYPE;
17686
+ reactIs_production.StrictMode = REACT_STRICT_MODE_TYPE;
17687
+ reactIs_production.Suspense = REACT_SUSPENSE_TYPE;
17688
+ reactIs_production.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
17689
+ reactIs_production.isContextConsumer = function(object) {
17690
+ return typeOf(object) === REACT_CONSUMER_TYPE;
17624
17691
  };
17625
- reactIs_production_min$1.isConcurrentMode = function() {
17626
- return false;
17692
+ reactIs_production.isContextProvider = function(object) {
17693
+ return typeOf(object) === REACT_CONTEXT_TYPE;
17627
17694
  };
17628
- reactIs_production_min$1.isContextConsumer = function(a) {
17629
- return v(a) === h;
17695
+ reactIs_production.isElement = function(object) {
17696
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
17630
17697
  };
17631
- reactIs_production_min$1.isContextProvider = function(a) {
17632
- return v(a) === g;
17698
+ reactIs_production.isForwardRef = function(object) {
17699
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
17633
17700
  };
17634
- reactIs_production_min$1.isElement = function(a) {
17635
- return "object" === typeof a && null !== a && a.$$typeof === b;
17701
+ reactIs_production.isFragment = function(object) {
17702
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
17636
17703
  };
17637
- reactIs_production_min$1.isForwardRef = function(a) {
17638
- return v(a) === l;
17704
+ reactIs_production.isLazy = function(object) {
17705
+ return typeOf(object) === REACT_LAZY_TYPE;
17639
17706
  };
17640
- reactIs_production_min$1.isFragment = function(a) {
17641
- return v(a) === d;
17707
+ reactIs_production.isMemo = function(object) {
17708
+ return typeOf(object) === REACT_MEMO_TYPE;
17642
17709
  };
17643
- reactIs_production_min$1.isLazy = function(a) {
17644
- return v(a) === q;
17710
+ reactIs_production.isPortal = function(object) {
17711
+ return typeOf(object) === REACT_PORTAL_TYPE;
17645
17712
  };
17646
- reactIs_production_min$1.isMemo = function(a) {
17647
- return v(a) === p;
17713
+ reactIs_production.isProfiler = function(object) {
17714
+ return typeOf(object) === REACT_PROFILER_TYPE;
17648
17715
  };
17649
- reactIs_production_min$1.isPortal = function(a) {
17650
- return v(a) === c;
17716
+ reactIs_production.isStrictMode = function(object) {
17717
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
17651
17718
  };
17652
- reactIs_production_min$1.isProfiler = function(a) {
17653
- return v(a) === f;
17719
+ reactIs_production.isSuspense = function(object) {
17720
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
17654
17721
  };
17655
- reactIs_production_min$1.isStrictMode = function(a) {
17656
- return v(a) === e;
17657
- };
17658
- reactIs_production_min$1.isSuspense = function(a) {
17659
- return v(a) === m;
17660
- };
17661
- reactIs_production_min$1.isSuspenseList = function(a) {
17662
- return v(a) === n;
17722
+ reactIs_production.isSuspenseList = function(object) {
17723
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
17663
17724
  };
17664
- reactIs_production_min$1.isValidElementType = function(a) {
17665
- return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? true : false;
17725
+ reactIs_production.isValidElementType = function(type) {
17726
+ return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
17666
17727
  };
17667
- reactIs_production_min$1.typeOf = v;
17668
- return reactIs_production_min$1;
17728
+ reactIs_production.typeOf = typeOf;
17729
+ return reactIs_production;
17669
17730
  }
17670
17731
 
17671
- var reactIs_development$1 = {};
17732
+ var reactIs_development$2 = {};
17672
17733
 
17673
- var hasRequiredReactIs_development$1;
17734
+ var hasRequiredReactIs_development$2;
17674
17735
 
17675
- function requireReactIs_development$1 () {
17676
- if (hasRequiredReactIs_development$1) return reactIs_development$1;
17677
- hasRequiredReactIs_development$1 = 1;
17736
+ function requireReactIs_development$2 () {
17737
+ if (hasRequiredReactIs_development$2) return reactIs_development$2;
17738
+ hasRequiredReactIs_development$2 = 1;
17678
17739
  /**
17679
17740
  * @license React
17680
17741
  * react-is.development.js
17681
17742
  *
17682
- * Copyright (c) Facebook, Inc. and its affiliates.
17743
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
17683
17744
  *
17684
17745
  * This source code is licensed under the MIT license found in the
17685
17746
  * LICENSE file in the root directory of this source tree.
17686
17747
  */
17687
- if (process.env.NODE_ENV !== "production") {
17688
- (function() {
17689
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
17690
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
17691
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
17692
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
17693
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
17694
- var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
17695
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
17696
- var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context");
17697
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
17698
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
17699
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
17700
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
17701
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
17702
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
17703
- var enableScopeAPI = false;
17704
- var enableCacheElement = false;
17705
- var enableTransitionTracing = false;
17706
- var enableLegacyHidden = false;
17707
- var enableDebugTracing = false;
17708
- var REACT_MODULE_REFERENCE;
17709
- {
17710
- REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
17711
- }
17712
- function isValidElementType(type) {
17713
- if (typeof type === "string" || typeof type === "function") {
17714
- return true;
17715
- }
17716
- if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
17717
- return true;
17718
- }
17719
- if (typeof type === "object" && type !== null) {
17720
- if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
17721
- // types supported by any Flight configuration anywhere since
17722
- // we don't know which Flight build this will end up being used
17723
- // with.
17724
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
17725
- return true;
17726
- }
17727
- }
17728
- return false;
17729
- }
17730
- function typeOf(object) {
17731
- if (typeof object === "object" && object !== null) {
17732
- var $$typeof = object.$$typeof;
17733
- switch ($$typeof) {
17734
- case REACT_ELEMENT_TYPE:
17735
- var type = object.type;
17736
- switch (type) {
17737
- case REACT_FRAGMENT_TYPE:
17738
- case REACT_PROFILER_TYPE:
17739
- case REACT_STRICT_MODE_TYPE:
17740
- case REACT_SUSPENSE_TYPE:
17741
- case REACT_SUSPENSE_LIST_TYPE:
17742
- return type;
17743
- default:
17744
- var $$typeofType = type && type.$$typeof;
17745
- switch ($$typeofType) {
17746
- case REACT_SERVER_CONTEXT_TYPE:
17747
- case REACT_CONTEXT_TYPE:
17748
- case REACT_FORWARD_REF_TYPE:
17749
- case REACT_LAZY_TYPE:
17750
- case REACT_MEMO_TYPE:
17751
- case REACT_PROVIDER_TYPE:
17752
- return $$typeofType;
17753
- default:
17754
- return $$typeof;
17755
- }
17756
- }
17757
- case REACT_PORTAL_TYPE:
17758
- return $$typeof;
17759
- }
17760
- }
17761
- return void 0;
17762
- }
17763
- var ContextConsumer = REACT_CONTEXT_TYPE;
17764
- var ContextProvider = REACT_PROVIDER_TYPE;
17765
- var Element = REACT_ELEMENT_TYPE;
17766
- var ForwardRef = REACT_FORWARD_REF_TYPE;
17767
- var Fragment = REACT_FRAGMENT_TYPE;
17768
- var Lazy = REACT_LAZY_TYPE;
17769
- var Memo = REACT_MEMO_TYPE;
17770
- var Portal = REACT_PORTAL_TYPE;
17771
- var Profiler = REACT_PROFILER_TYPE;
17772
- var StrictMode = REACT_STRICT_MODE_TYPE;
17773
- var Suspense = REACT_SUSPENSE_TYPE;
17774
- var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
17775
- var hasWarnedAboutDeprecatedIsAsyncMode = false;
17776
- var hasWarnedAboutDeprecatedIsConcurrentMode = false;
17777
- function isAsyncMode(object) {
17778
- {
17779
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
17780
- hasWarnedAboutDeprecatedIsAsyncMode = true;
17781
- console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");
17782
- }
17783
- }
17784
- return false;
17785
- }
17786
- function isConcurrentMode(object) {
17787
- {
17788
- if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
17789
- hasWarnedAboutDeprecatedIsConcurrentMode = true;
17790
- console["warn"]("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");
17791
- }
17748
+ "production" !== process.env.NODE_ENV && function() {
17749
+ function typeOf(object) {
17750
+ if ("object" === typeof object && null !== object) {
17751
+ var $$typeof = object.$$typeof;
17752
+ switch ($$typeof) {
17753
+ case REACT_ELEMENT_TYPE:
17754
+ switch (object = object.type, object) {
17755
+ case REACT_FRAGMENT_TYPE:
17756
+ case REACT_PROFILER_TYPE:
17757
+ case REACT_STRICT_MODE_TYPE:
17758
+ case REACT_SUSPENSE_TYPE:
17759
+ case REACT_SUSPENSE_LIST_TYPE:
17760
+ case REACT_VIEW_TRANSITION_TYPE:
17761
+ return object;
17762
+ default:
17763
+ switch (object = object && object.$$typeof, object) {
17764
+ case REACT_CONTEXT_TYPE:
17765
+ case REACT_FORWARD_REF_TYPE:
17766
+ case REACT_LAZY_TYPE:
17767
+ case REACT_MEMO_TYPE:
17768
+ return object;
17769
+ case REACT_CONSUMER_TYPE:
17770
+ return object;
17771
+ default:
17772
+ return $$typeof;
17773
+ }
17774
+ }
17775
+ case REACT_PORTAL_TYPE:
17776
+ return $$typeof;
17792
17777
  }
17793
- return false;
17794
17778
  }
17795
- function isContextConsumer(object) {
17796
- return typeOf(object) === REACT_CONTEXT_TYPE;
17797
- }
17798
- function isContextProvider(object) {
17799
- return typeOf(object) === REACT_PROVIDER_TYPE;
17800
- }
17801
- function isElement(object) {
17802
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
17803
- }
17804
- function isForwardRef(object) {
17805
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
17806
- }
17807
- function isFragment(object) {
17808
- return typeOf(object) === REACT_FRAGMENT_TYPE;
17809
- }
17810
- function isLazy(object) {
17811
- return typeOf(object) === REACT_LAZY_TYPE;
17812
- }
17813
- function isMemo(object) {
17814
- return typeOf(object) === REACT_MEMO_TYPE;
17815
- }
17816
- function isPortal(object) {
17817
- return typeOf(object) === REACT_PORTAL_TYPE;
17818
- }
17819
- function isProfiler(object) {
17820
- return typeOf(object) === REACT_PROFILER_TYPE;
17821
- }
17822
- function isStrictMode(object) {
17823
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
17824
- }
17825
- function isSuspense(object) {
17826
- return typeOf(object) === REACT_SUSPENSE_TYPE;
17827
- }
17828
- function isSuspenseList(object) {
17829
- return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
17830
- }
17831
- reactIs_development$1.ContextConsumer = ContextConsumer;
17832
- reactIs_development$1.ContextProvider = ContextProvider;
17833
- reactIs_development$1.Element = Element;
17834
- reactIs_development$1.ForwardRef = ForwardRef;
17835
- reactIs_development$1.Fragment = Fragment;
17836
- reactIs_development$1.Lazy = Lazy;
17837
- reactIs_development$1.Memo = Memo;
17838
- reactIs_development$1.Portal = Portal;
17839
- reactIs_development$1.Profiler = Profiler;
17840
- reactIs_development$1.StrictMode = StrictMode;
17841
- reactIs_development$1.Suspense = Suspense;
17842
- reactIs_development$1.SuspenseList = SuspenseList;
17843
- reactIs_development$1.isAsyncMode = isAsyncMode;
17844
- reactIs_development$1.isConcurrentMode = isConcurrentMode;
17845
- reactIs_development$1.isContextConsumer = isContextConsumer;
17846
- reactIs_development$1.isContextProvider = isContextProvider;
17847
- reactIs_development$1.isElement = isElement;
17848
- reactIs_development$1.isForwardRef = isForwardRef;
17849
- reactIs_development$1.isFragment = isFragment;
17850
- reactIs_development$1.isLazy = isLazy;
17851
- reactIs_development$1.isMemo = isMemo;
17852
- reactIs_development$1.isPortal = isPortal;
17853
- reactIs_development$1.isProfiler = isProfiler;
17854
- reactIs_development$1.isStrictMode = isStrictMode;
17855
- reactIs_development$1.isSuspense = isSuspense;
17856
- reactIs_development$1.isSuspenseList = isSuspenseList;
17857
- reactIs_development$1.isValidElementType = isValidElementType;
17858
- reactIs_development$1.typeOf = typeOf;
17859
- })();
17860
- }
17861
- return reactIs_development$1;
17779
+ }
17780
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
17781
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
17782
+ reactIs_development$2.ContextConsumer = REACT_CONSUMER_TYPE;
17783
+ reactIs_development$2.ContextProvider = REACT_CONTEXT_TYPE;
17784
+ reactIs_development$2.Element = REACT_ELEMENT_TYPE;
17785
+ reactIs_development$2.ForwardRef = REACT_FORWARD_REF_TYPE;
17786
+ reactIs_development$2.Fragment = REACT_FRAGMENT_TYPE;
17787
+ reactIs_development$2.Lazy = REACT_LAZY_TYPE;
17788
+ reactIs_development$2.Memo = REACT_MEMO_TYPE;
17789
+ reactIs_development$2.Portal = REACT_PORTAL_TYPE;
17790
+ reactIs_development$2.Profiler = REACT_PROFILER_TYPE;
17791
+ reactIs_development$2.StrictMode = REACT_STRICT_MODE_TYPE;
17792
+ reactIs_development$2.Suspense = REACT_SUSPENSE_TYPE;
17793
+ reactIs_development$2.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
17794
+ reactIs_development$2.isContextConsumer = function(object) {
17795
+ return typeOf(object) === REACT_CONSUMER_TYPE;
17796
+ };
17797
+ reactIs_development$2.isContextProvider = function(object) {
17798
+ return typeOf(object) === REACT_CONTEXT_TYPE;
17799
+ };
17800
+ reactIs_development$2.isElement = function(object) {
17801
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
17802
+ };
17803
+ reactIs_development$2.isForwardRef = function(object) {
17804
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
17805
+ };
17806
+ reactIs_development$2.isFragment = function(object) {
17807
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
17808
+ };
17809
+ reactIs_development$2.isLazy = function(object) {
17810
+ return typeOf(object) === REACT_LAZY_TYPE;
17811
+ };
17812
+ reactIs_development$2.isMemo = function(object) {
17813
+ return typeOf(object) === REACT_MEMO_TYPE;
17814
+ };
17815
+ reactIs_development$2.isPortal = function(object) {
17816
+ return typeOf(object) === REACT_PORTAL_TYPE;
17817
+ };
17818
+ reactIs_development$2.isProfiler = function(object) {
17819
+ return typeOf(object) === REACT_PROFILER_TYPE;
17820
+ };
17821
+ reactIs_development$2.isStrictMode = function(object) {
17822
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
17823
+ };
17824
+ reactIs_development$2.isSuspense = function(object) {
17825
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
17826
+ };
17827
+ reactIs_development$2.isSuspenseList = function(object) {
17828
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
17829
+ };
17830
+ reactIs_development$2.isValidElementType = function(type) {
17831
+ return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
17832
+ };
17833
+ reactIs_development$2.typeOf = typeOf;
17834
+ }();
17835
+ return reactIs_development$2;
17862
17836
  }
17863
17837
 
17864
17838
  if (process.env.NODE_ENV === "production") {
17865
- reactIs$1.exports = requireReactIs_production_min$1();
17839
+ reactIs$2.exports = requireReactIs_production();
17866
17840
  } else {
17867
- reactIs$1.exports = requireReactIs_development$1();
17841
+ reactIs$2.exports = requireReactIs_development$2();
17868
17842
  }
17869
17843
 
17870
- var reactIsExports$1 = reactIs$1.exports;
17844
+ var reactIsExports$2 = reactIs$2.exports;
17871
17845
 
17872
17846
  const fnNameMatchRegex = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
17873
17847
  function getFunctionName(fn) {
@@ -17894,9 +17868,9 @@ function getDisplayName$2(Component) {
17894
17868
  }
17895
17869
  if (typeof Component === "object") {
17896
17870
  switch (Component.$$typeof) {
17897
- case reactIsExports$1.ForwardRef:
17871
+ case reactIsExports$2.ForwardRef:
17898
17872
  return getWrappedName$1(Component, Component.render, "ForwardRef");
17899
- case reactIsExports$1.Memo:
17873
+ case reactIsExports$2.Memo:
17900
17874
  return getWrappedName$1(Component, Component.type, "memo");
17901
17875
  default:
17902
17876
  return void 0;
@@ -18666,6 +18640,12 @@ function isStringTag$1(tag) {
18666
18640
  function shouldForwardProp$1(prop) {
18667
18641
  return prop !== "ownerState" && prop !== "theme" && prop !== "sx" && prop !== "as";
18668
18642
  }
18643
+ function shallowLayer(serialized, layerName) {
18644
+ if (layerName && serialized && typeof serialized === "object" && serialized.styles && !serialized.styles.startsWith("@layer")) {
18645
+ serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;
18646
+ }
18647
+ return serialized;
18648
+ }
18669
18649
  const systemDefaultTheme$2 = createStyled$2.systemDefaultTheme = (0, _createTheme.default)();
18670
18650
  const lowercaseFirstLetter$1 = (string) => {
18671
18651
  if (!string) {
@@ -18686,7 +18666,7 @@ function defaultOverridesResolver$1(slot) {
18686
18666
  }
18687
18667
  return (props, styles) => styles[slot];
18688
18668
  }
18689
- function processStyleArg(callableStyle, _ref) {
18669
+ function processStyleArg(callableStyle, _ref, layerName) {
18690
18670
  let {
18691
18671
  ownerState
18692
18672
  } = _ref, props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded$z);
@@ -18696,7 +18676,7 @@ function processStyleArg(callableStyle, _ref) {
18696
18676
  if (Array.isArray(resolvedStylesArg)) {
18697
18677
  return resolvedStylesArg.flatMap((resolvedStyle) => processStyleArg(resolvedStyle, (0, _extends2.default)({
18698
18678
  ownerState
18699
- }, props)));
18679
+ }, props), layerName));
18700
18680
  }
18701
18681
  if (!!resolvedStylesArg && typeof resolvedStylesArg === "object" && Array.isArray(resolvedStylesArg.variants)) {
18702
18682
  const {
@@ -18720,14 +18700,15 @@ function processStyleArg(callableStyle, _ref) {
18720
18700
  if (!Array.isArray(result)) {
18721
18701
  result = [result];
18722
18702
  }
18723
- result.push(typeof variant.style === "function" ? variant.style((0, _extends2.default)({
18703
+ const variantStyle = typeof variant.style === "function" ? variant.style((0, _extends2.default)({
18724
18704
  ownerState
18725
- }, props, ownerState)) : variant.style);
18705
+ }, props, ownerState)) : variant.style;
18706
+ result.push(layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(variantStyle), layerName) : variantStyle);
18726
18707
  }
18727
18708
  });
18728
18709
  return result;
18729
18710
  }
18730
- return resolvedStylesArg;
18711
+ return layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(resolvedStylesArg), layerName) : resolvedStylesArg;
18731
18712
  }
18732
18713
  function createStyled$1(input = {}) {
18733
18714
  const {
@@ -18756,6 +18737,7 @@ function createStyled$1(input = {}) {
18756
18737
  // For more details: https://github.com/mui/material-ui/pull/37908
18757
18738
  overridesResolver = defaultOverridesResolver$1(lowercaseFirstLetter$1(componentSlot))
18758
18739
  } = inputOptions, options = (0, _objectWithoutPropertiesLoose2.default)(inputOptions, _excluded3$1);
18740
+ const layerName = componentName && componentName.startsWith("Mui") || !!componentSlot ? "components" : "custom";
18759
18741
  const skipVariantsResolver = inputSkipVariantsResolver !== void 0 ? inputSkipVariantsResolver : (
18760
18742
  // TODO v6: remove `Root` in the next major release
18761
18743
  // For more details: https://github.com/mui/material-ui/pull/37908
@@ -18782,13 +18764,16 @@ function createStyled$1(input = {}) {
18782
18764
  }, options));
18783
18765
  const transformStyleArg = (stylesArg) => {
18784
18766
  if (typeof stylesArg === "function" && stylesArg.__emotion_real !== stylesArg || (0, _deepmerge.isPlainObject)(stylesArg)) {
18785
- return (props) => processStyleArg(stylesArg, (0, _extends2.default)({}, props, {
18786
- theme: resolveTheme({
18767
+ return (props) => {
18768
+ const theme = resolveTheme({
18787
18769
  theme: props.theme,
18788
18770
  defaultTheme,
18789
18771
  themeId
18790
- })
18791
- }));
18772
+ });
18773
+ return processStyleArg(stylesArg, (0, _extends2.default)({}, props, {
18774
+ theme
18775
+ }), theme.modularCssLayers ? layerName : void 0);
18776
+ };
18792
18777
  }
18793
18778
  return stylesArg;
18794
18779
  };
@@ -18809,7 +18794,7 @@ function createStyled$1(input = {}) {
18809
18794
  Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {
18810
18795
  resolvedStyleOverrides[slotKey] = processStyleArg(slotStyle, (0, _extends2.default)({}, props, {
18811
18796
  theme
18812
- }));
18797
+ }), theme.modularCssLayers ? "theme" : void 0);
18813
18798
  });
18814
18799
  return overridesResolver(props, resolvedStyleOverrides);
18815
18800
  });
@@ -18826,7 +18811,7 @@ function createStyled$1(input = {}) {
18826
18811
  variants: themeVariants
18827
18812
  }, (0, _extends2.default)({}, props, {
18828
18813
  theme
18829
- }));
18814
+ }), theme.modularCssLayers ? "theme" : void 0);
18830
18815
  });
18831
18816
  }
18832
18817
  if (!skipSx) {
@@ -19794,7 +19779,7 @@ function getIconUtilityClass$1(slot) {
19794
19779
  generateUtilityClasses$1("MuiIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
19795
19780
 
19796
19781
  const _excluded$u = ["baseClassName", "className", "color", "component", "fontSize"];
19797
- const useUtilityClasses$Z = (ownerState) => {
19782
+ const useUtilityClasses$_ = (ownerState) => {
19798
19783
  const {
19799
19784
  color,
19800
19785
  fontSize,
@@ -19866,7 +19851,7 @@ const Icon$1 = /* @__PURE__ */ React$1.forwardRef(function Icon2(inProps, ref) {
19866
19851
  component: Component,
19867
19852
  fontSize
19868
19853
  });
19869
- const classes = useUtilityClasses$Z(ownerState);
19854
+ const classes = useUtilityClasses$_(ownerState);
19870
19855
  return /* @__PURE__ */ jsxRuntimeExports.jsx(IconRoot$1, _extends$1({
19871
19856
  as: Component,
19872
19857
  className: clsx(
@@ -21390,6 +21375,318 @@ function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui")
21390
21375
  return result;
21391
21376
  }
21392
21377
 
21378
+ var reactIs$1 = {exports: {}};
21379
+
21380
+ var reactIs_production_min$1 = {};
21381
+
21382
+ var hasRequiredReactIs_production_min$1;
21383
+
21384
+ function requireReactIs_production_min$1 () {
21385
+ if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
21386
+ hasRequiredReactIs_production_min$1 = 1;
21387
+ /**
21388
+ * @license React
21389
+ * react-is.production.min.js
21390
+ *
21391
+ * Copyright (c) Facebook, Inc. and its affiliates.
21392
+ *
21393
+ * This source code is licensed under the MIT license found in the
21394
+ * LICENSE file in the root directory of this source tree.
21395
+ */
21396
+ var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u;
21397
+ u = Symbol.for("react.module.reference");
21398
+ function v(a) {
21399
+ if ("object" === typeof a && null !== a) {
21400
+ var r = a.$$typeof;
21401
+ switch (r) {
21402
+ case b:
21403
+ switch (a = a.type, a) {
21404
+ case d:
21405
+ case f:
21406
+ case e:
21407
+ case m:
21408
+ case n:
21409
+ return a;
21410
+ default:
21411
+ switch (a = a && a.$$typeof, a) {
21412
+ case k:
21413
+ case h:
21414
+ case l:
21415
+ case q:
21416
+ case p:
21417
+ case g:
21418
+ return a;
21419
+ default:
21420
+ return r;
21421
+ }
21422
+ }
21423
+ case c:
21424
+ return r;
21425
+ }
21426
+ }
21427
+ }
21428
+ reactIs_production_min$1.ContextConsumer = h;
21429
+ reactIs_production_min$1.ContextProvider = g;
21430
+ reactIs_production_min$1.Element = b;
21431
+ reactIs_production_min$1.ForwardRef = l;
21432
+ reactIs_production_min$1.Fragment = d;
21433
+ reactIs_production_min$1.Lazy = q;
21434
+ reactIs_production_min$1.Memo = p;
21435
+ reactIs_production_min$1.Portal = c;
21436
+ reactIs_production_min$1.Profiler = f;
21437
+ reactIs_production_min$1.StrictMode = e;
21438
+ reactIs_production_min$1.Suspense = m;
21439
+ reactIs_production_min$1.SuspenseList = n;
21440
+ reactIs_production_min$1.isAsyncMode = function() {
21441
+ return false;
21442
+ };
21443
+ reactIs_production_min$1.isConcurrentMode = function() {
21444
+ return false;
21445
+ };
21446
+ reactIs_production_min$1.isContextConsumer = function(a) {
21447
+ return v(a) === h;
21448
+ };
21449
+ reactIs_production_min$1.isContextProvider = function(a) {
21450
+ return v(a) === g;
21451
+ };
21452
+ reactIs_production_min$1.isElement = function(a) {
21453
+ return "object" === typeof a && null !== a && a.$$typeof === b;
21454
+ };
21455
+ reactIs_production_min$1.isForwardRef = function(a) {
21456
+ return v(a) === l;
21457
+ };
21458
+ reactIs_production_min$1.isFragment = function(a) {
21459
+ return v(a) === d;
21460
+ };
21461
+ reactIs_production_min$1.isLazy = function(a) {
21462
+ return v(a) === q;
21463
+ };
21464
+ reactIs_production_min$1.isMemo = function(a) {
21465
+ return v(a) === p;
21466
+ };
21467
+ reactIs_production_min$1.isPortal = function(a) {
21468
+ return v(a) === c;
21469
+ };
21470
+ reactIs_production_min$1.isProfiler = function(a) {
21471
+ return v(a) === f;
21472
+ };
21473
+ reactIs_production_min$1.isStrictMode = function(a) {
21474
+ return v(a) === e;
21475
+ };
21476
+ reactIs_production_min$1.isSuspense = function(a) {
21477
+ return v(a) === m;
21478
+ };
21479
+ reactIs_production_min$1.isSuspenseList = function(a) {
21480
+ return v(a) === n;
21481
+ };
21482
+ reactIs_production_min$1.isValidElementType = function(a) {
21483
+ return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? true : false;
21484
+ };
21485
+ reactIs_production_min$1.typeOf = v;
21486
+ return reactIs_production_min$1;
21487
+ }
21488
+
21489
+ var reactIs_development$1 = {};
21490
+
21491
+ var hasRequiredReactIs_development$1;
21492
+
21493
+ function requireReactIs_development$1 () {
21494
+ if (hasRequiredReactIs_development$1) return reactIs_development$1;
21495
+ hasRequiredReactIs_development$1 = 1;
21496
+ /**
21497
+ * @license React
21498
+ * react-is.development.js
21499
+ *
21500
+ * Copyright (c) Facebook, Inc. and its affiliates.
21501
+ *
21502
+ * This source code is licensed under the MIT license found in the
21503
+ * LICENSE file in the root directory of this source tree.
21504
+ */
21505
+ if (process.env.NODE_ENV !== "production") {
21506
+ (function() {
21507
+ var REACT_ELEMENT_TYPE = Symbol.for("react.element");
21508
+ var REACT_PORTAL_TYPE = Symbol.for("react.portal");
21509
+ var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
21510
+ var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
21511
+ var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
21512
+ var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
21513
+ var REACT_CONTEXT_TYPE = Symbol.for("react.context");
21514
+ var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context");
21515
+ var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
21516
+ var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
21517
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
21518
+ var REACT_MEMO_TYPE = Symbol.for("react.memo");
21519
+ var REACT_LAZY_TYPE = Symbol.for("react.lazy");
21520
+ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
21521
+ var enableScopeAPI = false;
21522
+ var enableCacheElement = false;
21523
+ var enableTransitionTracing = false;
21524
+ var enableLegacyHidden = false;
21525
+ var enableDebugTracing = false;
21526
+ var REACT_MODULE_REFERENCE;
21527
+ {
21528
+ REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
21529
+ }
21530
+ function isValidElementType(type) {
21531
+ if (typeof type === "string" || typeof type === "function") {
21532
+ return true;
21533
+ }
21534
+ if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
21535
+ return true;
21536
+ }
21537
+ if (typeof type === "object" && type !== null) {
21538
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
21539
+ // types supported by any Flight configuration anywhere since
21540
+ // we don't know which Flight build this will end up being used
21541
+ // with.
21542
+ type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
21543
+ return true;
21544
+ }
21545
+ }
21546
+ return false;
21547
+ }
21548
+ function typeOf(object) {
21549
+ if (typeof object === "object" && object !== null) {
21550
+ var $$typeof = object.$$typeof;
21551
+ switch ($$typeof) {
21552
+ case REACT_ELEMENT_TYPE:
21553
+ var type = object.type;
21554
+ switch (type) {
21555
+ case REACT_FRAGMENT_TYPE:
21556
+ case REACT_PROFILER_TYPE:
21557
+ case REACT_STRICT_MODE_TYPE:
21558
+ case REACT_SUSPENSE_TYPE:
21559
+ case REACT_SUSPENSE_LIST_TYPE:
21560
+ return type;
21561
+ default:
21562
+ var $$typeofType = type && type.$$typeof;
21563
+ switch ($$typeofType) {
21564
+ case REACT_SERVER_CONTEXT_TYPE:
21565
+ case REACT_CONTEXT_TYPE:
21566
+ case REACT_FORWARD_REF_TYPE:
21567
+ case REACT_LAZY_TYPE:
21568
+ case REACT_MEMO_TYPE:
21569
+ case REACT_PROVIDER_TYPE:
21570
+ return $$typeofType;
21571
+ default:
21572
+ return $$typeof;
21573
+ }
21574
+ }
21575
+ case REACT_PORTAL_TYPE:
21576
+ return $$typeof;
21577
+ }
21578
+ }
21579
+ return void 0;
21580
+ }
21581
+ var ContextConsumer = REACT_CONTEXT_TYPE;
21582
+ var ContextProvider = REACT_PROVIDER_TYPE;
21583
+ var Element = REACT_ELEMENT_TYPE;
21584
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
21585
+ var Fragment = REACT_FRAGMENT_TYPE;
21586
+ var Lazy = REACT_LAZY_TYPE;
21587
+ var Memo = REACT_MEMO_TYPE;
21588
+ var Portal = REACT_PORTAL_TYPE;
21589
+ var Profiler = REACT_PROFILER_TYPE;
21590
+ var StrictMode = REACT_STRICT_MODE_TYPE;
21591
+ var Suspense = REACT_SUSPENSE_TYPE;
21592
+ var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
21593
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
21594
+ var hasWarnedAboutDeprecatedIsConcurrentMode = false;
21595
+ function isAsyncMode(object) {
21596
+ {
21597
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
21598
+ hasWarnedAboutDeprecatedIsAsyncMode = true;
21599
+ console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");
21600
+ }
21601
+ }
21602
+ return false;
21603
+ }
21604
+ function isConcurrentMode(object) {
21605
+ {
21606
+ if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
21607
+ hasWarnedAboutDeprecatedIsConcurrentMode = true;
21608
+ console["warn"]("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");
21609
+ }
21610
+ }
21611
+ return false;
21612
+ }
21613
+ function isContextConsumer(object) {
21614
+ return typeOf(object) === REACT_CONTEXT_TYPE;
21615
+ }
21616
+ function isContextProvider(object) {
21617
+ return typeOf(object) === REACT_PROVIDER_TYPE;
21618
+ }
21619
+ function isElement(object) {
21620
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
21621
+ }
21622
+ function isForwardRef(object) {
21623
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
21624
+ }
21625
+ function isFragment(object) {
21626
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
21627
+ }
21628
+ function isLazy(object) {
21629
+ return typeOf(object) === REACT_LAZY_TYPE;
21630
+ }
21631
+ function isMemo(object) {
21632
+ return typeOf(object) === REACT_MEMO_TYPE;
21633
+ }
21634
+ function isPortal(object) {
21635
+ return typeOf(object) === REACT_PORTAL_TYPE;
21636
+ }
21637
+ function isProfiler(object) {
21638
+ return typeOf(object) === REACT_PROFILER_TYPE;
21639
+ }
21640
+ function isStrictMode(object) {
21641
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
21642
+ }
21643
+ function isSuspense(object) {
21644
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
21645
+ }
21646
+ function isSuspenseList(object) {
21647
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
21648
+ }
21649
+ reactIs_development$1.ContextConsumer = ContextConsumer;
21650
+ reactIs_development$1.ContextProvider = ContextProvider;
21651
+ reactIs_development$1.Element = Element;
21652
+ reactIs_development$1.ForwardRef = ForwardRef;
21653
+ reactIs_development$1.Fragment = Fragment;
21654
+ reactIs_development$1.Lazy = Lazy;
21655
+ reactIs_development$1.Memo = Memo;
21656
+ reactIs_development$1.Portal = Portal;
21657
+ reactIs_development$1.Profiler = Profiler;
21658
+ reactIs_development$1.StrictMode = StrictMode;
21659
+ reactIs_development$1.Suspense = Suspense;
21660
+ reactIs_development$1.SuspenseList = SuspenseList;
21661
+ reactIs_development$1.isAsyncMode = isAsyncMode;
21662
+ reactIs_development$1.isConcurrentMode = isConcurrentMode;
21663
+ reactIs_development$1.isContextConsumer = isContextConsumer;
21664
+ reactIs_development$1.isContextProvider = isContextProvider;
21665
+ reactIs_development$1.isElement = isElement;
21666
+ reactIs_development$1.isForwardRef = isForwardRef;
21667
+ reactIs_development$1.isFragment = isFragment;
21668
+ reactIs_development$1.isLazy = isLazy;
21669
+ reactIs_development$1.isMemo = isMemo;
21670
+ reactIs_development$1.isPortal = isPortal;
21671
+ reactIs_development$1.isProfiler = isProfiler;
21672
+ reactIs_development$1.isStrictMode = isStrictMode;
21673
+ reactIs_development$1.isSuspense = isSuspense;
21674
+ reactIs_development$1.isSuspenseList = isSuspenseList;
21675
+ reactIs_development$1.isValidElementType = isValidElementType;
21676
+ reactIs_development$1.typeOf = typeOf;
21677
+ })();
21678
+ }
21679
+ return reactIs_development$1;
21680
+ }
21681
+
21682
+ if (process.env.NODE_ENV === "production") {
21683
+ reactIs$1.exports = requireReactIs_production_min$1();
21684
+ } else {
21685
+ reactIs$1.exports = requireReactIs_development$1();
21686
+ }
21687
+
21688
+ var reactIsExports$1 = reactIs$1.exports;
21689
+
21393
21690
  function getFunctionComponentName(Component, fallback = "") {
21394
21691
  return Component.displayName || Component.name || fallback;
21395
21692
  }
@@ -22115,6 +22412,17 @@ function useId(idOverride) {
22115
22412
  return useGlobalId(idOverride);
22116
22413
  }
22117
22414
 
22415
+ function unsupportedProp(props, propName, componentName, location, propFullName) {
22416
+ if (process.env.NODE_ENV === "production") {
22417
+ return null;
22418
+ }
22419
+ const propFullNameSafe = propFullName || propName;
22420
+ if (typeof props[propName] !== "undefined") {
22421
+ return new Error(`The prop \`${propFullNameSafe}\` is not supported. Please remove it.`);
22422
+ }
22423
+ return null;
22424
+ }
22425
+
22118
22426
  function useControlled({
22119
22427
  controlled,
22120
22428
  default: defaultProp,
@@ -25112,7 +25420,7 @@ const v6Colors$1 = {
25112
25420
  textDisabled: true
25113
25421
  };
25114
25422
  const extendSxProp = internal_createExtendSxProp();
25115
- const useUtilityClasses$Y = (ownerState) => {
25423
+ const useUtilityClasses$Z = (ownerState) => {
25116
25424
  const {
25117
25425
  align,
25118
25426
  gutterBottom,
@@ -25252,7 +25560,7 @@ const Typography$1 = /* @__PURE__ */ React$1.forwardRef(function Typography2(inP
25252
25560
  variantMapping
25253
25561
  };
25254
25562
  const Component = component || (paragraph ? "p" : variantMapping[variant] || defaultVariantMapping$1[variant]) || "span";
25255
- const classes = useUtilityClasses$Y(ownerState);
25563
+ const classes = useUtilityClasses$Z(ownerState);
25256
25564
  return /* @__PURE__ */ jsxRuntimeExports.jsx(TypographyRoot$1, {
25257
25565
  as: Component,
25258
25566
  ref,
@@ -26467,7 +26775,7 @@ function getButtonBaseUtilityClass$1(slot) {
26467
26775
  }
26468
26776
  const buttonBaseClasses$1 = generateUtilityClasses("MuiButtonBase", ["root", "disabled", "focusVisible"]);
26469
26777
 
26470
- const useUtilityClasses$X = (ownerState) => {
26778
+ const useUtilityClasses$Y = (ownerState) => {
26471
26779
  const {
26472
26780
  disabled,
26473
26781
  focusVisible,
@@ -26696,7 +27004,7 @@ const ButtonBase$1 = /* @__PURE__ */ React$1.forwardRef(function ButtonBase2(inP
26696
27004
  tabIndex,
26697
27005
  focusVisible
26698
27006
  };
26699
- const classes = useUtilityClasses$X(ownerState);
27007
+ const classes = useUtilityClasses$Y(ownerState);
26700
27008
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(ButtonBaseRoot$1, {
26701
27009
  as: ComponentProp,
26702
27010
  className: clsx(classes.root, className),
@@ -26890,7 +27198,7 @@ function getIconButtonUtilityClass(slot) {
26890
27198
  }
26891
27199
  const iconButtonClasses = generateUtilityClasses("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]);
26892
27200
 
26893
- const useUtilityClasses$W = (ownerState) => {
27201
+ const useUtilityClasses$X = (ownerState) => {
26894
27202
  const {
26895
27203
  classes,
26896
27204
  disabled,
@@ -27036,7 +27344,7 @@ const IconButton$1 = /* @__PURE__ */ React$1.forwardRef(function IconButton2(inP
27036
27344
  disableFocusRipple,
27037
27345
  size
27038
27346
  };
27039
- const classes = useUtilityClasses$W(ownerState);
27347
+ const classes = useUtilityClasses$X(ownerState);
27040
27348
  return /* @__PURE__ */ jsxRuntimeExports.jsx(IconButtonRoot, {
27041
27349
  className: clsx(classes.root, className),
27042
27350
  centerRipple: true,
@@ -27121,7 +27429,7 @@ function getSvgIconUtilityClass$1(slot) {
27121
27429
  }
27122
27430
  generateUtilityClasses("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
27123
27431
 
27124
- const useUtilityClasses$V = (ownerState) => {
27432
+ const useUtilityClasses$W = (ownerState) => {
27125
27433
  const {
27126
27434
  color,
27127
27435
  fontSize,
@@ -27260,7 +27568,7 @@ const SvgIcon$1 = /* @__PURE__ */ React$1.forwardRef(function SvgIcon2(inProps,
27260
27568
  if (!inheritViewBox) {
27261
27569
  more.viewBox = viewBox;
27262
27570
  }
27263
- const classes = useUtilityClasses$V(ownerState);
27571
+ const classes = useUtilityClasses$W(ownerState);
27264
27572
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(SvgIconRoot$1, {
27265
27573
  as: component,
27266
27574
  className: clsx(classes.root, className),
@@ -27380,7 +27688,7 @@ function getListUtilityClass$1(slot) {
27380
27688
  }
27381
27689
  generateUtilityClasses("MuiList", ["root", "padding", "dense", "subheader"]);
27382
27690
 
27383
- const useUtilityClasses$U = (ownerState) => {
27691
+ const useUtilityClasses$V = (ownerState) => {
27384
27692
  const {
27385
27693
  classes,
27386
27694
  disablePadding,
@@ -27446,7 +27754,7 @@ const List$1 = /* @__PURE__ */ React$1.forwardRef(function List2(inProps, ref) {
27446
27754
  dense,
27447
27755
  disablePadding
27448
27756
  };
27449
- const classes = useUtilityClasses$U(ownerState);
27757
+ const classes = useUtilityClasses$V(ownerState);
27450
27758
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ListContext$1.Provider, {
27451
27759
  value: context,
27452
27760
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs(ListRoot$1, {
@@ -27990,7 +28298,7 @@ const inputOverridesResolver$1 = (props, styles) => {
27990
28298
  } = props;
27991
28299
  return [styles.input, ownerState.size === "small" && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === "search" && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];
27992
28300
  };
27993
- const useUtilityClasses$T = (ownerState) => {
28301
+ const useUtilityClasses$U = (ownerState) => {
27994
28302
  const {
27995
28303
  classes,
27996
28304
  color,
@@ -28394,7 +28702,7 @@ const InputBase$1 = /* @__PURE__ */ React$1.forwardRef(function InputBase2(inPro
28394
28702
  startAdornment,
28395
28703
  type
28396
28704
  };
28397
- const classes = useUtilityClasses$T(ownerState);
28705
+ const classes = useUtilityClasses$U(ownerState);
28398
28706
  const Root = slots.root || components.Root || InputBaseRoot$1;
28399
28707
  const rootProps = slotProps.root || componentsProps.root || {};
28400
28708
  const Input = slots.input || components.Input || InputBaseInput;
@@ -28695,7 +29003,7 @@ const inputClasses$1 = {
28695
29003
  ...generateUtilityClasses("MuiInput", ["root", "underline", "input"])
28696
29004
  };
28697
29005
 
28698
- const useUtilityClasses$S = (ownerState) => {
29006
+ const useUtilityClasses$T = (ownerState) => {
28699
29007
  const {
28700
29008
  classes,
28701
29009
  disableUnderline
@@ -28828,7 +29136,7 @@ const Input$1 = /* @__PURE__ */ React$1.forwardRef(function Input2(inProps, ref)
28828
29136
  type = "text",
28829
29137
  ...other
28830
29138
  } = props;
28831
- const classes = useUtilityClasses$S(props);
29139
+ const classes = useUtilityClasses$T(props);
28832
29140
  const ownerState = {
28833
29141
  disableUnderline
28834
29142
  };
@@ -29052,7 +29360,7 @@ const filledInputClasses$1 = {
29052
29360
  ...generateUtilityClasses("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
29053
29361
  };
29054
29362
 
29055
- const useUtilityClasses$R = (ownerState) => {
29363
+ const useUtilityClasses$S = (ownerState) => {
29056
29364
  const {
29057
29365
  classes,
29058
29366
  disableUnderline,
@@ -29331,7 +29639,7 @@ const FilledInput$1 = /* @__PURE__ */ React$1.forwardRef(function FilledInput2(i
29331
29639
  multiline,
29332
29640
  type
29333
29641
  };
29334
- const classes = useUtilityClasses$R(props);
29642
+ const classes = useUtilityClasses$S(props);
29335
29643
  const filledInputComponentsProps = {
29336
29644
  root: {
29337
29645
  ownerState
@@ -29706,7 +30014,7 @@ const outlinedInputClasses$1 = {
29706
30014
  ...generateUtilityClasses("MuiOutlinedInput", ["root", "notchedOutline", "input"])
29707
30015
  };
29708
30016
 
29709
- const useUtilityClasses$Q = (ownerState) => {
30017
+ const useUtilityClasses$R = (ownerState) => {
29710
30018
  const {
29711
30019
  classes
29712
30020
  } = ownerState;
@@ -29885,7 +30193,7 @@ const OutlinedInput$1 = /* @__PURE__ */ React$1.forwardRef(function OutlinedInpu
29885
30193
  type = "text",
29886
30194
  ...other
29887
30195
  } = props;
29888
- const classes = useUtilityClasses$Q(props);
30196
+ const classes = useUtilityClasses$R(props);
29889
30197
  const muiFormControl = useFormControl$1();
29890
30198
  const fcs = formControlState$1({
29891
30199
  props,
@@ -30106,7 +30414,7 @@ function getFormLabelUtilityClasses$1(slot) {
30106
30414
  }
30107
30415
  const formLabelClasses$1 = generateUtilityClasses("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]);
30108
30416
 
30109
- const useUtilityClasses$P = (ownerState) => {
30417
+ const useUtilityClasses$Q = (ownerState) => {
30110
30418
  const {
30111
30419
  classes,
30112
30420
  color,
@@ -30207,7 +30515,7 @@ const FormLabel$1 = /* @__PURE__ */ React$1.forwardRef(function FormLabel2(inPro
30207
30515
  focused: fcs.focused,
30208
30516
  required: fcs.required
30209
30517
  };
30210
- const classes = useUtilityClasses$P(ownerState);
30518
+ const classes = useUtilityClasses$Q(ownerState);
30211
30519
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(FormLabelRoot$1, {
30212
30520
  as: component,
30213
30521
  ownerState,
@@ -30281,7 +30589,7 @@ function getInputLabelUtilityClasses$1(slot) {
30281
30589
  }
30282
30590
  generateUtilityClasses("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]);
30283
30591
 
30284
- const useUtilityClasses$O = (ownerState) => {
30592
+ const useUtilityClasses$P = (ownerState) => {
30285
30593
  const {
30286
30594
  classes,
30287
30595
  formControl,
@@ -30470,7 +30778,7 @@ const InputLabel$1 = /* @__PURE__ */ React$1.forwardRef(function InputLabel2(inP
30470
30778
  required: fcs.required,
30471
30779
  focused: fcs.focused
30472
30780
  };
30473
- const classes = useUtilityClasses$O(ownerState);
30781
+ const classes = useUtilityClasses$P(ownerState);
30474
30782
  return /* @__PURE__ */ jsxRuntimeExports.jsx(InputLabelRoot$1, {
30475
30783
  "data-shrink": shrink,
30476
30784
  ref,
@@ -30553,7 +30861,7 @@ function getFormControlUtilityClasses$1(slot) {
30553
30861
  }
30554
30862
  generateUtilityClasses("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
30555
30863
 
30556
- const useUtilityClasses$N = (ownerState) => {
30864
+ const useUtilityClasses$O = (ownerState) => {
30557
30865
  const {
30558
30866
  classes,
30559
30867
  margin,
@@ -30646,7 +30954,7 @@ const FormControl$1 = /* @__PURE__ */ React$1.forwardRef(function FormControl2(i
30646
30954
  size,
30647
30955
  variant
30648
30956
  };
30649
- const classes = useUtilityClasses$N(ownerState);
30957
+ const classes = useUtilityClasses$O(ownerState);
30650
30958
  const [adornedStart, setAdornedStart] = React$1.useState(() => {
30651
30959
  let initialAdornedStart = false;
30652
30960
  if (children) {
@@ -30822,7 +31130,7 @@ function getFormHelperTextUtilityClasses$1(slot) {
30822
31130
  const formHelperTextClasses$1 = generateUtilityClasses("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
30823
31131
 
30824
31132
  var _span$5;
30825
- const useUtilityClasses$M = (ownerState) => {
31133
+ const useUtilityClasses$N = (ownerState) => {
30826
31134
  const {
30827
31135
  classes,
30828
31136
  contained,
@@ -30917,7 +31225,7 @@ const FormHelperText$1 = /* @__PURE__ */ React$1.forwardRef(function FormHelperT
30917
31225
  required: fcs.required
30918
31226
  };
30919
31227
  delete ownerState.ownerState;
30920
- const classes = useUtilityClasses$M(ownerState);
31228
+ const classes = useUtilityClasses$N(ownerState);
30921
31229
  return /* @__PURE__ */ jsxRuntimeExports.jsx(FormHelperTextRoot$1, {
30922
31230
  as: component,
30923
31231
  className: clsx(classes.root, className),
@@ -32012,7 +32320,7 @@ const removeOwnerState = (props) => {
32012
32320
  } = props;
32013
32321
  return rest;
32014
32322
  };
32015
- const useUtilityClasses$L = (ownerState) => {
32323
+ const useUtilityClasses$M = (ownerState) => {
32016
32324
  const {
32017
32325
  classes,
32018
32326
  invisible
@@ -32075,7 +32383,7 @@ const Backdrop$1 = /* @__PURE__ */ React$1.forwardRef(function Backdrop2(inProps
32075
32383
  component,
32076
32384
  invisible
32077
32385
  };
32078
- const classes = useUtilityClasses$L(ownerState);
32386
+ const classes = useUtilityClasses$M(ownerState);
32079
32387
  const backwardCompatibleSlots = {
32080
32388
  transition: TransitionComponentProp,
32081
32389
  root: components.Root,
@@ -32373,7 +32681,7 @@ function getModalUtilityClass$1(slot) {
32373
32681
  }
32374
32682
  generateUtilityClasses("MuiModal", ["root", "hidden", "backdrop"]);
32375
32683
 
32376
- const useUtilityClasses$K = (ownerState) => {
32684
+ const useUtilityClasses$L = (ownerState) => {
32377
32685
  const {
32378
32686
  open,
32379
32687
  exited,
@@ -32484,7 +32792,7 @@ const Modal$1 = /* @__PURE__ */ React$1.forwardRef(function Modal2(inProps, ref)
32484
32792
  ...propsWithDefaults,
32485
32793
  exited
32486
32794
  };
32487
- const classes = useUtilityClasses$K(ownerState);
32795
+ const classes = useUtilityClasses$L(ownerState);
32488
32796
  const childProps = {};
32489
32797
  if (children.props.tabIndex === void 0) {
32490
32798
  childProps.tabIndex = "-1";
@@ -32749,7 +33057,7 @@ function getPaperUtilityClass$1(slot) {
32749
33057
  }
32750
33058
  generateUtilityClasses("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
32751
33059
 
32752
- const useUtilityClasses$J = (ownerState) => {
33060
+ const useUtilityClasses$K = (ownerState) => {
32753
33061
  const {
32754
33062
  square,
32755
33063
  elevation,
@@ -32821,7 +33129,7 @@ const Paper$1 = /* @__PURE__ */ React$1.forwardRef(function Paper2(inProps, ref)
32821
33129
  square,
32822
33130
  variant
32823
33131
  };
32824
- const classes = useUtilityClasses$J(ownerState);
33132
+ const classes = useUtilityClasses$K(ownerState);
32825
33133
  if (process.env.NODE_ENV !== "production") {
32826
33134
  if (theme.shadows[elevation] === void 0) {
32827
33135
  console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${elevation}]\` is defined.`].join("\n"));
@@ -32937,7 +33245,7 @@ function getTransformOriginValue$1(transformOrigin) {
32937
33245
  function resolveAnchorEl$1(anchorEl) {
32938
33246
  return typeof anchorEl === "function" ? anchorEl() : anchorEl;
32939
33247
  }
32940
- const useUtilityClasses$I = (ownerState) => {
33248
+ const useUtilityClasses$J = (ownerState) => {
32941
33249
  const {
32942
33250
  classes
32943
33251
  } = ownerState;
@@ -33019,7 +33327,7 @@ const Popover$1 = /* @__PURE__ */ React$1.forwardRef(function Popover2(inProps,
33019
33327
  transitionDuration: transitionDurationProp,
33020
33328
  TransitionProps
33021
33329
  };
33022
- const classes = useUtilityClasses$I(ownerState);
33330
+ const classes = useUtilityClasses$J(ownerState);
33023
33331
  const getAnchorOffset = React$1.useCallback(() => {
33024
33332
  if (anchorReference === "anchorPosition") {
33025
33333
  if (process.env.NODE_ENV !== "production") {
@@ -33429,7 +33737,7 @@ const LTR_ORIGIN$1 = {
33429
33737
  vertical: "top",
33430
33738
  horizontal: "left"
33431
33739
  };
33432
- const useUtilityClasses$H = (ownerState) => {
33740
+ const useUtilityClasses$I = (ownerState) => {
33433
33741
  const {
33434
33742
  classes
33435
33743
  } = ownerState;
@@ -33503,7 +33811,7 @@ const Menu$1 = /* @__PURE__ */ React$1.forwardRef(function Menu2(inProps, ref) {
33503
33811
  TransitionProps,
33504
33812
  variant
33505
33813
  };
33506
- const classes = useUtilityClasses$H(ownerState);
33814
+ const classes = useUtilityClasses$I(ownerState);
33507
33815
  const autoFocusItem = autoFocus && !disableAutoFocusItem && open;
33508
33816
  const menuListActionsRef = React$1.useRef(null);
33509
33817
  const handleEntering = (element, isAppearing) => {
@@ -33702,7 +34010,7 @@ function getNativeSelectUtilityClasses$1(slot) {
33702
34010
  }
33703
34011
  const nativeSelectClasses$1 = generateUtilityClasses("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
33704
34012
 
33705
- const useUtilityClasses$G = (ownerState) => {
34013
+ const useUtilityClasses$H = (ownerState) => {
33706
34014
  const {
33707
34015
  classes,
33708
34016
  variant,
@@ -33857,7 +34165,7 @@ const NativeSelectInput$1 = /* @__PURE__ */ React$1.forwardRef(function NativeSe
33857
34165
  variant,
33858
34166
  error
33859
34167
  };
33860
- const classes = useUtilityClasses$G(ownerState);
34168
+ const classes = useUtilityClasses$H(ownerState);
33861
34169
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(React$1.Fragment, {
33862
34170
  children: [/* @__PURE__ */ jsxRuntimeExports.jsx(NativeSelectSelect$1, {
33863
34171
  ownerState,
@@ -34002,7 +34310,7 @@ function areEqualValues$1(a, b) {
34002
34310
  function isEmpty$3(display) {
34003
34311
  return display == null || typeof display === "string" && !display.trim();
34004
34312
  }
34005
- const useUtilityClasses$F = (ownerState) => {
34313
+ const useUtilityClasses$G = (ownerState) => {
34006
34314
  const {
34007
34315
  classes,
34008
34316
  variant,
@@ -34320,7 +34628,7 @@ const SelectInput$1 = /* @__PURE__ */ React$1.forwardRef(function SelectInput2(p
34320
34628
  open,
34321
34629
  error
34322
34630
  };
34323
- const classes = useUtilityClasses$F(ownerState);
34631
+ const classes = useUtilityClasses$G(ownerState);
34324
34632
  const paperProps = {
34325
34633
  ...MenuProps.PaperProps,
34326
34634
  ...MenuProps.slotProps?.paper
@@ -34556,7 +34864,7 @@ const ArrowDropDownIcon$1 = createSvgIcon$1(/* @__PURE__ */ jsxRuntimeExports.js
34556
34864
  d: "M7 10l5 5 5-5z"
34557
34865
  }), "ArrowDropDown");
34558
34866
 
34559
- const useUtilityClasses$E = (ownerState) => {
34867
+ const useUtilityClasses$F = (ownerState) => {
34560
34868
  const {
34561
34869
  classes
34562
34870
  } = ownerState;
@@ -34613,7 +34921,7 @@ const Select$2 = /* @__PURE__ */ React$1.forwardRef(function Select2(inProps, re
34613
34921
  variant,
34614
34922
  classes: classesProp
34615
34923
  };
34616
- const classes = useUtilityClasses$E(ownerState);
34924
+ const classes = useUtilityClasses$F(ownerState);
34617
34925
  const {
34618
34926
  root,
34619
34927
  ...restOfClasses
@@ -34837,7 +35145,7 @@ const variantComponent$1 = {
34837
35145
  filled: FilledInput$1,
34838
35146
  outlined: OutlinedInput$1
34839
35147
  };
34840
- const useUtilityClasses$D = (ownerState) => {
35148
+ const useUtilityClasses$E = (ownerState) => {
34841
35149
  const {
34842
35150
  classes
34843
35151
  } = ownerState;
@@ -34905,7 +35213,7 @@ const TextField$1 = /* @__PURE__ */ React$1.forwardRef(function TextField2(inPro
34905
35213
  select,
34906
35214
  variant
34907
35215
  };
34908
- const classes = useUtilityClasses$D(ownerState);
35216
+ const classes = useUtilityClasses$E(ownerState);
34909
35217
  if (process.env.NODE_ENV !== "production") {
34910
35218
  if (select && !children) {
34911
35219
  console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
@@ -35235,7 +35543,7 @@ const overridesResolver$1 = (props, styles) => {
35235
35543
  } = props;
35236
35544
  return [styles.root, styles[`position${capitalize(ownerState.position)}`], ownerState.disablePointerEvents === true && styles.disablePointerEvents, styles[ownerState.variant]];
35237
35545
  };
35238
- const useUtilityClasses$C = (ownerState) => {
35546
+ const useUtilityClasses$D = (ownerState) => {
35239
35547
  const {
35240
35548
  classes,
35241
35549
  disablePointerEvents,
@@ -35328,7 +35636,7 @@ const InputAdornment = /* @__PURE__ */ React$1.forwardRef(function InputAdornmen
35328
35636
  position,
35329
35637
  variant
35330
35638
  };
35331
- const classes = useUtilityClasses$C(ownerState);
35639
+ const classes = useUtilityClasses$D(ownerState);
35332
35640
  return /* @__PURE__ */ jsxRuntimeExports.jsx(FormControlContext$1.Provider, {
35333
35641
  value: null,
35334
35642
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(InputAdornmentRoot, {
@@ -35416,7 +35724,7 @@ if (process.env.NODE_ENV !== "production") {
35416
35724
  ButtonGroupButtonContext$1.displayName = "ButtonGroupButtonContext";
35417
35725
  }
35418
35726
 
35419
- const useUtilityClasses$B = (ownerState) => {
35727
+ const useUtilityClasses$C = (ownerState) => {
35420
35728
  const {
35421
35729
  color,
35422
35730
  disableElevation,
@@ -35745,7 +36053,7 @@ const Button$2 = /* @__PURE__ */ React$1.forwardRef(function Button2(inProps, re
35745
36053
  type,
35746
36054
  variant
35747
36055
  };
35748
- const classes = useUtilityClasses$B(ownerState);
36056
+ const classes = useUtilityClasses$C(ownerState);
35749
36057
  const startIcon = startIconProp && /* @__PURE__ */ jsxRuntimeExports.jsx(ButtonStartIcon$1, {
35750
36058
  className: classes.startIcon,
35751
36059
  ownerState,
@@ -35878,7 +36186,7 @@ function getListItemSecondaryActionClassesUtilityClass(slot) {
35878
36186
  }
35879
36187
  generateUtilityClasses("MuiListItemSecondaryAction", ["root", "disableGutters"]);
35880
36188
 
35881
- const useUtilityClasses$A = (ownerState) => {
36189
+ const useUtilityClasses$B = (ownerState) => {
35882
36190
  const {
35883
36191
  disableGutters,
35884
36192
  classes
@@ -35925,7 +36233,7 @@ const ListItemSecondaryAction = /* @__PURE__ */ React$1.forwardRef(function List
35925
36233
  ...props,
35926
36234
  disableGutters: context.disableGutters
35927
36235
  };
35928
- const classes = useUtilityClasses$A(ownerState);
36236
+ const classes = useUtilityClasses$B(ownerState);
35929
36237
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemSecondaryActionRoot, {
35930
36238
  className: clsx(classes.root, className),
35931
36239
  ownerState,
@@ -35963,7 +36271,7 @@ const overridesResolver = (props, styles) => {
35963
36271
  } = props;
35964
36272
  return [styles.root, ownerState.dense && styles.dense, ownerState.alignItems === "flex-start" && styles.alignItemsFlexStart, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters, !ownerState.disablePadding && styles.padding, ownerState.hasSecondaryAction && styles.secondaryAction];
35965
36273
  };
35966
- const useUtilityClasses$z = (ownerState) => {
36274
+ const useUtilityClasses$A = (ownerState) => {
35967
36275
  const {
35968
36276
  alignItems,
35969
36277
  classes,
@@ -36130,7 +36438,7 @@ const ListItem = /* @__PURE__ */ React$1.forwardRef(function ListItem2(inProps,
36130
36438
  divider,
36131
36439
  hasSecondaryAction
36132
36440
  };
36133
- const classes = useUtilityClasses$z(ownerState);
36441
+ const classes = useUtilityClasses$A(ownerState);
36134
36442
  const handleRef = useForkRef(listItemRef, ref);
36135
36443
  const Root = slots.root || components.Root || ListItemRoot;
36136
36444
  const rootProps = slotProps.root || componentsProps.root || {};
@@ -36311,6 +36619,563 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes = {
36311
36619
  sx: PropTypes$1.oneOfType([PropTypes$1.arrayOf(PropTypes$1.oneOfType([PropTypes$1.func, PropTypes$1.object, PropTypes$1.bool])), PropTypes$1.func, PropTypes$1.object])
36312
36620
  } : void 0;
36313
36621
 
36622
+ const CancelIcon = createSvgIcon$1(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
36623
+ d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
36624
+ }), "Cancel");
36625
+
36626
+ function getChipUtilityClass(slot) {
36627
+ return generateUtilityClass("MuiChip", slot);
36628
+ }
36629
+ const chipClasses = generateUtilityClasses("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]);
36630
+
36631
+ const useUtilityClasses$z = (ownerState) => {
36632
+ const {
36633
+ classes,
36634
+ disabled,
36635
+ size,
36636
+ color,
36637
+ iconColor,
36638
+ onDelete,
36639
+ clickable,
36640
+ variant
36641
+ } = ownerState;
36642
+ const slots = {
36643
+ root: ["root", variant, disabled && "disabled", `size${capitalize(size)}`, `color${capitalize(color)}`, clickable && "clickable", clickable && `clickableColor${capitalize(color)}`, onDelete && "deletable", onDelete && `deletableColor${capitalize(color)}`, `${variant}${capitalize(color)}`],
36644
+ label: ["label", `label${capitalize(size)}`],
36645
+ avatar: ["avatar", `avatar${capitalize(size)}`, `avatarColor${capitalize(color)}`],
36646
+ icon: ["icon", `icon${capitalize(size)}`, `iconColor${capitalize(iconColor)}`],
36647
+ deleteIcon: ["deleteIcon", `deleteIcon${capitalize(size)}`, `deleteIconColor${capitalize(color)}`, `deleteIcon${capitalize(variant)}Color${capitalize(color)}`]
36648
+ };
36649
+ return composeClasses(slots, getChipUtilityClass, classes);
36650
+ };
36651
+ const ChipRoot = styled("div", {
36652
+ name: "MuiChip",
36653
+ slot: "Root",
36654
+ overridesResolver: (props, styles) => {
36655
+ const {
36656
+ ownerState
36657
+ } = props;
36658
+ const {
36659
+ color,
36660
+ iconColor,
36661
+ clickable,
36662
+ onDelete,
36663
+ size,
36664
+ variant
36665
+ } = ownerState;
36666
+ return [{
36667
+ [`& .${chipClasses.avatar}`]: styles.avatar
36668
+ }, {
36669
+ [`& .${chipClasses.avatar}`]: styles[`avatar${capitalize(size)}`]
36670
+ }, {
36671
+ [`& .${chipClasses.avatar}`]: styles[`avatarColor${capitalize(color)}`]
36672
+ }, {
36673
+ [`& .${chipClasses.icon}`]: styles.icon
36674
+ }, {
36675
+ [`& .${chipClasses.icon}`]: styles[`icon${capitalize(size)}`]
36676
+ }, {
36677
+ [`& .${chipClasses.icon}`]: styles[`iconColor${capitalize(iconColor)}`]
36678
+ }, {
36679
+ [`& .${chipClasses.deleteIcon}`]: styles.deleteIcon
36680
+ }, {
36681
+ [`& .${chipClasses.deleteIcon}`]: styles[`deleteIcon${capitalize(size)}`]
36682
+ }, {
36683
+ [`& .${chipClasses.deleteIcon}`]: styles[`deleteIconColor${capitalize(color)}`]
36684
+ }, {
36685
+ [`& .${chipClasses.deleteIcon}`]: styles[`deleteIcon${capitalize(variant)}Color${capitalize(color)}`]
36686
+ }, styles.root, styles[`size${capitalize(size)}`], styles[`color${capitalize(color)}`], clickable && styles.clickable, clickable && color !== "default" && styles[`clickableColor${capitalize(color)})`], onDelete && styles.deletable, onDelete && color !== "default" && styles[`deletableColor${capitalize(color)}`], styles[variant], styles[`${variant}${capitalize(color)}`]];
36687
+ }
36688
+ })(memoTheme(({
36689
+ theme
36690
+ }) => {
36691
+ const textColor = theme.palette.mode === "light" ? theme.palette.grey[700] : theme.palette.grey[300];
36692
+ return {
36693
+ maxWidth: "100%",
36694
+ fontFamily: theme.typography.fontFamily,
36695
+ fontSize: theme.typography.pxToRem(13),
36696
+ display: "inline-flex",
36697
+ alignItems: "center",
36698
+ justifyContent: "center",
36699
+ height: 32,
36700
+ color: (theme.vars || theme).palette.text.primary,
36701
+ backgroundColor: (theme.vars || theme).palette.action.selected,
36702
+ borderRadius: 32 / 2,
36703
+ whiteSpace: "nowrap",
36704
+ transition: theme.transitions.create(["background-color", "box-shadow"]),
36705
+ // reset cursor explicitly in case ButtonBase is used
36706
+ cursor: "unset",
36707
+ // We disable the focus ring for mouse, touch and keyboard users.
36708
+ outline: 0,
36709
+ textDecoration: "none",
36710
+ border: 0,
36711
+ // Remove `button` border
36712
+ padding: 0,
36713
+ // Remove `button` padding
36714
+ verticalAlign: "middle",
36715
+ boxSizing: "border-box",
36716
+ [`&.${chipClasses.disabled}`]: {
36717
+ opacity: (theme.vars || theme).palette.action.disabledOpacity,
36718
+ pointerEvents: "none"
36719
+ },
36720
+ [`& .${chipClasses.avatar}`]: {
36721
+ marginLeft: 5,
36722
+ marginRight: -6,
36723
+ width: 24,
36724
+ height: 24,
36725
+ color: theme.vars ? theme.vars.palette.Chip.defaultAvatarColor : textColor,
36726
+ fontSize: theme.typography.pxToRem(12)
36727
+ },
36728
+ [`& .${chipClasses.avatarColorPrimary}`]: {
36729
+ color: (theme.vars || theme).palette.primary.contrastText,
36730
+ backgroundColor: (theme.vars || theme).palette.primary.dark
36731
+ },
36732
+ [`& .${chipClasses.avatarColorSecondary}`]: {
36733
+ color: (theme.vars || theme).palette.secondary.contrastText,
36734
+ backgroundColor: (theme.vars || theme).palette.secondary.dark
36735
+ },
36736
+ [`& .${chipClasses.avatarSmall}`]: {
36737
+ marginLeft: 4,
36738
+ marginRight: -4,
36739
+ width: 18,
36740
+ height: 18,
36741
+ fontSize: theme.typography.pxToRem(10)
36742
+ },
36743
+ [`& .${chipClasses.icon}`]: {
36744
+ marginLeft: 5,
36745
+ marginRight: -6
36746
+ },
36747
+ [`& .${chipClasses.deleteIcon}`]: {
36748
+ WebkitTapHighlightColor: "transparent",
36749
+ color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.26)` : alpha(theme.palette.text.primary, 0.26),
36750
+ fontSize: 22,
36751
+ cursor: "pointer",
36752
+ margin: "0 5px 0 -6px",
36753
+ "&:hover": {
36754
+ color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.4)` : alpha(theme.palette.text.primary, 0.4)
36755
+ }
36756
+ },
36757
+ variants: [{
36758
+ props: {
36759
+ size: "small"
36760
+ },
36761
+ style: {
36762
+ height: 24,
36763
+ [`& .${chipClasses.icon}`]: {
36764
+ fontSize: 18,
36765
+ marginLeft: 4,
36766
+ marginRight: -4
36767
+ },
36768
+ [`& .${chipClasses.deleteIcon}`]: {
36769
+ fontSize: 16,
36770
+ marginRight: 4,
36771
+ marginLeft: -4
36772
+ }
36773
+ }
36774
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(["contrastText"])).map(([color]) => {
36775
+ return {
36776
+ props: {
36777
+ color
36778
+ },
36779
+ style: {
36780
+ backgroundColor: (theme.vars || theme).palette[color].main,
36781
+ color: (theme.vars || theme).palette[color].contrastText,
36782
+ [`& .${chipClasses.deleteIcon}`]: {
36783
+ color: theme.vars ? `rgba(${theme.vars.palette[color].contrastTextChannel} / 0.7)` : alpha(theme.palette[color].contrastText, 0.7),
36784
+ "&:hover, &:active": {
36785
+ color: (theme.vars || theme).palette[color].contrastText
36786
+ }
36787
+ }
36788
+ }
36789
+ };
36790
+ }), {
36791
+ props: (props) => props.iconColor === props.color,
36792
+ style: {
36793
+ [`& .${chipClasses.icon}`]: {
36794
+ color: theme.vars ? theme.vars.palette.Chip.defaultIconColor : textColor
36795
+ }
36796
+ }
36797
+ }, {
36798
+ props: (props) => props.iconColor === props.color && props.color !== "default",
36799
+ style: {
36800
+ [`& .${chipClasses.icon}`]: {
36801
+ color: "inherit"
36802
+ }
36803
+ }
36804
+ }, {
36805
+ props: {
36806
+ onDelete: true
36807
+ },
36808
+ style: {
36809
+ [`&.${chipClasses.focusVisible}`]: {
36810
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
36811
+ }
36812
+ }
36813
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(["dark"])).map(([color]) => {
36814
+ return {
36815
+ props: {
36816
+ color,
36817
+ onDelete: true
36818
+ },
36819
+ style: {
36820
+ [`&.${chipClasses.focusVisible}`]: {
36821
+ background: (theme.vars || theme).palette[color].dark
36822
+ }
36823
+ }
36824
+ };
36825
+ }), {
36826
+ props: {
36827
+ clickable: true
36828
+ },
36829
+ style: {
36830
+ userSelect: "none",
36831
+ WebkitTapHighlightColor: "transparent",
36832
+ cursor: "pointer",
36833
+ "&:hover": {
36834
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity)
36835
+ },
36836
+ [`&.${chipClasses.focusVisible}`]: {
36837
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
36838
+ },
36839
+ "&:active": {
36840
+ boxShadow: (theme.vars || theme).shadows[1]
36841
+ }
36842
+ }
36843
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(["dark"])).map(([color]) => ({
36844
+ props: {
36845
+ color,
36846
+ clickable: true
36847
+ },
36848
+ style: {
36849
+ [`&:hover, &.${chipClasses.focusVisible}`]: {
36850
+ backgroundColor: (theme.vars || theme).palette[color].dark
36851
+ }
36852
+ }
36853
+ })), {
36854
+ props: {
36855
+ variant: "outlined"
36856
+ },
36857
+ style: {
36858
+ backgroundColor: "transparent",
36859
+ border: theme.vars ? `1px solid ${theme.vars.palette.Chip.defaultBorder}` : `1px solid ${theme.palette.mode === "light" ? theme.palette.grey[400] : theme.palette.grey[700]}`,
36860
+ [`&.${chipClasses.clickable}:hover`]: {
36861
+ backgroundColor: (theme.vars || theme).palette.action.hover
36862
+ },
36863
+ [`&.${chipClasses.focusVisible}`]: {
36864
+ backgroundColor: (theme.vars || theme).palette.action.focus
36865
+ },
36866
+ [`& .${chipClasses.avatar}`]: {
36867
+ marginLeft: 4
36868
+ },
36869
+ [`& .${chipClasses.avatarSmall}`]: {
36870
+ marginLeft: 2
36871
+ },
36872
+ [`& .${chipClasses.icon}`]: {
36873
+ marginLeft: 4
36874
+ },
36875
+ [`& .${chipClasses.iconSmall}`]: {
36876
+ marginLeft: 2
36877
+ },
36878
+ [`& .${chipClasses.deleteIcon}`]: {
36879
+ marginRight: 5
36880
+ },
36881
+ [`& .${chipClasses.deleteIconSmall}`]: {
36882
+ marginRight: 3
36883
+ }
36884
+ }
36885
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
36886
+ props: {
36887
+ variant: "outlined",
36888
+ color
36889
+ },
36890
+ style: {
36891
+ color: (theme.vars || theme).palette[color].main,
36892
+ border: `1px solid ${theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / 0.7)` : alpha(theme.palette[color].main, 0.7)}`,
36893
+ [`&.${chipClasses.clickable}:hover`]: {
36894
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[color].main, theme.palette.action.hoverOpacity)
36895
+ },
36896
+ [`&.${chipClasses.focusVisible}`]: {
36897
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / ${theme.vars.palette.action.focusOpacity})` : alpha(theme.palette[color].main, theme.palette.action.focusOpacity)
36898
+ },
36899
+ [`& .${chipClasses.deleteIcon}`]: {
36900
+ color: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / 0.7)` : alpha(theme.palette[color].main, 0.7),
36901
+ "&:hover, &:active": {
36902
+ color: (theme.vars || theme).palette[color].main
36903
+ }
36904
+ }
36905
+ }
36906
+ }))]
36907
+ };
36908
+ }));
36909
+ const ChipLabel = styled("span", {
36910
+ name: "MuiChip",
36911
+ slot: "Label",
36912
+ overridesResolver: (props, styles) => {
36913
+ const {
36914
+ ownerState
36915
+ } = props;
36916
+ const {
36917
+ size
36918
+ } = ownerState;
36919
+ return [styles.label, styles[`label${capitalize(size)}`]];
36920
+ }
36921
+ })({
36922
+ overflow: "hidden",
36923
+ textOverflow: "ellipsis",
36924
+ paddingLeft: 12,
36925
+ paddingRight: 12,
36926
+ whiteSpace: "nowrap",
36927
+ variants: [{
36928
+ props: {
36929
+ variant: "outlined"
36930
+ },
36931
+ style: {
36932
+ paddingLeft: 11,
36933
+ paddingRight: 11
36934
+ }
36935
+ }, {
36936
+ props: {
36937
+ size: "small"
36938
+ },
36939
+ style: {
36940
+ paddingLeft: 8,
36941
+ paddingRight: 8
36942
+ }
36943
+ }, {
36944
+ props: {
36945
+ size: "small",
36946
+ variant: "outlined"
36947
+ },
36948
+ style: {
36949
+ paddingLeft: 7,
36950
+ paddingRight: 7
36951
+ }
36952
+ }]
36953
+ });
36954
+ function isDeleteKeyboardEvent(keyboardEvent) {
36955
+ return keyboardEvent.key === "Backspace" || keyboardEvent.key === "Delete";
36956
+ }
36957
+ const Chip = /* @__PURE__ */ React$1.forwardRef(function Chip2(inProps, ref) {
36958
+ const props = useDefaultProps({
36959
+ props: inProps,
36960
+ name: "MuiChip"
36961
+ });
36962
+ const {
36963
+ avatar: avatarProp,
36964
+ className,
36965
+ clickable: clickableProp,
36966
+ color = "default",
36967
+ component: ComponentProp,
36968
+ deleteIcon: deleteIconProp,
36969
+ disabled = false,
36970
+ icon: iconProp,
36971
+ label,
36972
+ onClick,
36973
+ onDelete,
36974
+ onKeyDown,
36975
+ onKeyUp,
36976
+ size = "medium",
36977
+ variant = "filled",
36978
+ tabIndex,
36979
+ skipFocusWhenDisabled = false,
36980
+ // TODO v6: Rename to `focusableWhenDisabled`.
36981
+ ...other
36982
+ } = props;
36983
+ const chipRef = React$1.useRef(null);
36984
+ const handleRef = useForkRef(chipRef, ref);
36985
+ const handleDeleteIconClick = (event) => {
36986
+ event.stopPropagation();
36987
+ if (onDelete) {
36988
+ onDelete(event);
36989
+ }
36990
+ };
36991
+ const handleKeyDown = (event) => {
36992
+ if (event.currentTarget === event.target && isDeleteKeyboardEvent(event)) {
36993
+ event.preventDefault();
36994
+ }
36995
+ if (onKeyDown) {
36996
+ onKeyDown(event);
36997
+ }
36998
+ };
36999
+ const handleKeyUp = (event) => {
37000
+ if (event.currentTarget === event.target) {
37001
+ if (onDelete && isDeleteKeyboardEvent(event)) {
37002
+ onDelete(event);
37003
+ }
37004
+ }
37005
+ if (onKeyUp) {
37006
+ onKeyUp(event);
37007
+ }
37008
+ };
37009
+ const clickable = clickableProp !== false && onClick ? true : clickableProp;
37010
+ const component = clickable || onDelete ? ButtonBase$1 : ComponentProp || "div";
37011
+ const ownerState = {
37012
+ ...props,
37013
+ component,
37014
+ disabled,
37015
+ size,
37016
+ color,
37017
+ iconColor: /* @__PURE__ */ React$1.isValidElement(iconProp) ? iconProp.props.color || color : color,
37018
+ onDelete: !!onDelete,
37019
+ clickable,
37020
+ variant
37021
+ };
37022
+ const classes = useUtilityClasses$z(ownerState);
37023
+ const moreProps = component === ButtonBase$1 ? {
37024
+ component: ComponentProp || "div",
37025
+ focusVisibleClassName: classes.focusVisible,
37026
+ ...onDelete && {
37027
+ disableRipple: true
37028
+ }
37029
+ } : {};
37030
+ let deleteIcon = null;
37031
+ if (onDelete) {
37032
+ deleteIcon = deleteIconProp && /* @__PURE__ */ React$1.isValidElement(deleteIconProp) ? /* @__PURE__ */ React$1.cloneElement(deleteIconProp, {
37033
+ className: clsx(deleteIconProp.props.className, classes.deleteIcon),
37034
+ onClick: handleDeleteIconClick
37035
+ }) : /* @__PURE__ */ jsxRuntimeExports.jsx(CancelIcon, {
37036
+ className: clsx(classes.deleteIcon),
37037
+ onClick: handleDeleteIconClick
37038
+ });
37039
+ }
37040
+ let avatar = null;
37041
+ if (avatarProp && /* @__PURE__ */ React$1.isValidElement(avatarProp)) {
37042
+ avatar = /* @__PURE__ */ React$1.cloneElement(avatarProp, {
37043
+ className: clsx(classes.avatar, avatarProp.props.className)
37044
+ });
37045
+ }
37046
+ let icon = null;
37047
+ if (iconProp && /* @__PURE__ */ React$1.isValidElement(iconProp)) {
37048
+ icon = /* @__PURE__ */ React$1.cloneElement(iconProp, {
37049
+ className: clsx(classes.icon, iconProp.props.className)
37050
+ });
37051
+ }
37052
+ if (process.env.NODE_ENV !== "production") {
37053
+ if (avatar && icon) {
37054
+ console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one.");
37055
+ }
37056
+ }
37057
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(ChipRoot, {
37058
+ as: component,
37059
+ className: clsx(classes.root, className),
37060
+ disabled: clickable && disabled ? true : void 0,
37061
+ onClick,
37062
+ onKeyDown: handleKeyDown,
37063
+ onKeyUp: handleKeyUp,
37064
+ ref: handleRef,
37065
+ tabIndex: skipFocusWhenDisabled && disabled ? -1 : tabIndex,
37066
+ ownerState,
37067
+ ...moreProps,
37068
+ ...other,
37069
+ children: [avatar || icon, /* @__PURE__ */ jsxRuntimeExports.jsx(ChipLabel, {
37070
+ className: clsx(classes.label),
37071
+ ownerState,
37072
+ children: label
37073
+ }), deleteIcon]
37074
+ });
37075
+ });
37076
+ process.env.NODE_ENV !== "production" ? Chip.propTypes = {
37077
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
37078
+ // │ These PropTypes are generated from the TypeScript type definitions. │
37079
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
37080
+ // └─────────────────────────────────────────────────────────────────────┘
37081
+ /**
37082
+ * The Avatar element to display.
37083
+ */
37084
+ avatar: PropTypes$1.element,
37085
+ /**
37086
+ * This prop isn't supported.
37087
+ * Use the `component` prop if you need to change the children structure.
37088
+ */
37089
+ children: unsupportedProp,
37090
+ /**
37091
+ * Override or extend the styles applied to the component.
37092
+ */
37093
+ classes: PropTypes$1.object,
37094
+ /**
37095
+ * @ignore
37096
+ */
37097
+ className: PropTypes$1.string,
37098
+ /**
37099
+ * If `true`, the chip will appear clickable, and will raise when pressed,
37100
+ * even if the onClick prop is not defined.
37101
+ * If `false`, the chip will not appear clickable, even if onClick prop is defined.
37102
+ * This can be used, for example,
37103
+ * along with the component prop to indicate an anchor Chip is clickable.
37104
+ * Note: this controls the UI and does not affect the onClick event.
37105
+ */
37106
+ clickable: PropTypes$1.bool,
37107
+ /**
37108
+ * The color of the component.
37109
+ * It supports both default and custom theme colors, which can be added as shown in the
37110
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
37111
+ * @default 'default'
37112
+ */
37113
+ color: PropTypes$1.oneOfType([PropTypes$1.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), PropTypes$1.string]),
37114
+ /**
37115
+ * The component used for the root node.
37116
+ * Either a string to use a HTML element or a component.
37117
+ */
37118
+ component: PropTypes$1.elementType,
37119
+ /**
37120
+ * Override the default delete icon element. Shown only if `onDelete` is set.
37121
+ */
37122
+ deleteIcon: PropTypes$1.element,
37123
+ /**
37124
+ * If `true`, the component is disabled.
37125
+ * @default false
37126
+ */
37127
+ disabled: PropTypes$1.bool,
37128
+ /**
37129
+ * Icon element.
37130
+ */
37131
+ icon: PropTypes$1.element,
37132
+ /**
37133
+ * The content of the component.
37134
+ */
37135
+ label: PropTypes$1.node,
37136
+ /**
37137
+ * @ignore
37138
+ */
37139
+ onClick: PropTypes$1.func,
37140
+ /**
37141
+ * Callback fired when the delete icon is clicked.
37142
+ * If set, the delete icon will be shown.
37143
+ */
37144
+ onDelete: PropTypes$1.func,
37145
+ /**
37146
+ * @ignore
37147
+ */
37148
+ onKeyDown: PropTypes$1.func,
37149
+ /**
37150
+ * @ignore
37151
+ */
37152
+ onKeyUp: PropTypes$1.func,
37153
+ /**
37154
+ * The size of the component.
37155
+ * @default 'medium'
37156
+ */
37157
+ size: PropTypes$1.oneOfType([PropTypes$1.oneOf(["medium", "small"]), PropTypes$1.string]),
37158
+ /**
37159
+ * If `true`, allows the disabled chip to escape focus.
37160
+ * If `false`, allows the disabled chip to receive focus.
37161
+ * @default false
37162
+ */
37163
+ skipFocusWhenDisabled: PropTypes$1.bool,
37164
+ /**
37165
+ * The system prop that allows defining system overrides as well as additional CSS styles.
37166
+ */
37167
+ sx: PropTypes$1.oneOfType([PropTypes$1.arrayOf(PropTypes$1.oneOfType([PropTypes$1.func, PropTypes$1.object, PropTypes$1.bool])), PropTypes$1.func, PropTypes$1.object]),
37168
+ /**
37169
+ * @ignore
37170
+ */
37171
+ tabIndex: PropTypes$1.number,
37172
+ /**
37173
+ * The variant to use.
37174
+ * @default 'filled'
37175
+ */
37176
+ variant: PropTypes$1.oneOfType([PropTypes$1.oneOf(["filled", "outlined"]), PropTypes$1.string])
37177
+ } : void 0;
37178
+
36314
37179
  function getDialogContentUtilityClass(slot) {
36315
37180
  return generateUtilityClass("MuiDialogContent", slot);
36316
37181
  }
@@ -62806,7 +63671,7 @@ const PopularInstitutionsList = (props) => {
62806
63671
  InstituionGrid,
62807
63672
  {
62808
63673
  handleSelectInstitution,
62809
- institutions,
63674
+ institutions: institutions.filter((institution) => !institution.is_disabled_by_client),
62810
63675
  posthogEvent: AnalyticEvents.SELECT_POPULAR_INSTITUTION
62811
63676
  }
62812
63677
  ) }),
@@ -62910,13 +63775,13 @@ const InstitutionTile = (props) => {
62910
63775
  const { institution, selectInstitution, size } = props;
62911
63776
  const tokens = useTokens();
62912
63777
  const styles = getStyles$1j(tokens);
62913
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
63778
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
62914
63779
  Button$2,
62915
63780
  {
62916
63781
  "aria-label": __("Add account with %1", institution.name),
62917
63782
  className: "institutionButton ",
62918
63783
  "data-test": `${institution.name.replace(/\s+/g, "-")}-row`,
62919
- endIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, { color: tokens.TextColor.Default, height: 16, width: 16 }),
63784
+ endIcon: !institution.is_disabled_by_client && /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, { color: tokens.TextColor.Default, height: 16, width: 16 }),
62920
63785
  fullWidth: true,
62921
63786
  onClick: selectInstitution,
62922
63787
  startIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -62957,10 +63822,13 @@ const InstitutionTile = (props) => {
62957
63822
  visibility: "visible"
62958
63823
  }
62959
63824
  },
62960
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: styles.textColumn, children: [
62961
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.name, children: institution.name }),
62962
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.url, children: formatUrl(institution.url) })
62963
- ] })
63825
+ children: [
63826
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: styles.textColumn, children: [
63827
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.name, children: institution.name }),
63828
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.url, children: formatUrl(institution.url) })
63829
+ ] }),
63830
+ institution.is_disabled_by_client && /* @__PURE__ */ jsxRuntimeExports.jsx(Chip, { color: "secondary", label: __("DISABLED"), size: "small", sx: styles.chip })
63831
+ ]
62964
63832
  }
62965
63833
  );
62966
63834
  };
@@ -63016,6 +63884,12 @@ const getStyles$1j = (tokens) => {
63016
63884
  textOverflow: "ellipsis",
63017
63885
  overflow: "hidden",
63018
63886
  whiteSpace: "nowrap"
63887
+ },
63888
+ chip: {
63889
+ padding: `${tokens.Spacing.XTiny}px 0`,
63890
+ background: "#ECECEC",
63891
+ color: "#494949",
63892
+ height: tokens.Spacing.Medium
63019
63893
  }
63020
63894
  };
63021
63895
  };
@@ -81144,6 +82018,13 @@ const connectThemeOverrides = (palette) => ({
81144
82018
  fontFamily: "MaterialSymbolsRounded"
81145
82019
  }
81146
82020
  }
82021
+ },
82022
+ MuiChip: {
82023
+ styleOverrides: {
82024
+ label: {
82025
+ fontWeight: 700
82026
+ }
82027
+ }
81147
82028
  }
81148
82029
  }
81149
82030
  });