@mui/material 5.14.1 → 5.14.3

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.
Files changed (131) hide show
  1. package/Accordion/Accordion.d.ts +11 -6
  2. package/AccordionSummary/AccordionSummary.d.ts +9 -7
  3. package/AppBar/AppBar.d.ts +11 -6
  4. package/Autocomplete/Autocomplete.d.ts +20 -16
  5. package/Autocomplete/Autocomplete.js +19 -15
  6. package/Avatar/Avatar.d.ts +11 -6
  7. package/AvatarGroup/AvatarGroup.d.ts +1 -1
  8. package/Backdrop/Backdrop.d.ts +11 -6
  9. package/Badge/Badge.d.ts +11 -6
  10. package/BottomNavigation/BottomNavigation.d.ts +11 -6
  11. package/BottomNavigationAction/BottomNavigationAction.d.ts +9 -7
  12. package/Box/Box.d.ts +3 -3
  13. package/Breadcrumbs/Breadcrumbs.d.ts +11 -6
  14. package/Button/Button.d.ts +16 -14
  15. package/Button/Button.js +1 -1
  16. package/ButtonBase/ButtonBase.d.ts +17 -12
  17. package/ButtonGroup/ButtonGroup.d.ts +11 -6
  18. package/CHANGELOG.md +152 -1
  19. package/Card/Card.d.ts +11 -6
  20. package/CardActionArea/CardActionArea.d.ts +11 -6
  21. package/CardContent/CardContent.d.ts +11 -6
  22. package/CardMedia/CardMedia.d.ts +9 -7
  23. package/Chip/Chip.d.ts +11 -6
  24. package/Chip/Chip.js +0 -2
  25. package/Container/Container.d.ts +11 -6
  26. package/DialogContentText/DialogContentText.d.ts +9 -7
  27. package/DialogTitle/DialogTitle.d.ts +9 -7
  28. package/Divider/Divider.d.ts +11 -6
  29. package/Divider/Divider.js +6 -0
  30. package/Fab/Fab.d.ts +11 -6
  31. package/Fab/Fab.js +1 -1
  32. package/FormControl/FormControl.d.ts +11 -6
  33. package/FormHelperText/FormHelperText.d.ts +11 -6
  34. package/FormLabel/FormLabel.d.ts +14 -9
  35. package/Grid/Grid.d.ts +11 -6
  36. package/Icon/Icon.d.ts +11 -6
  37. package/IconButton/IconButton.d.ts +9 -7
  38. package/ImageList/ImageList.d.ts +11 -6
  39. package/ImageListItem/ImageListItem.d.ts +11 -6
  40. package/InputAdornment/InputAdornment.d.ts +11 -6
  41. package/InputLabel/InputLabel.d.ts +9 -7
  42. package/Link/Link.d.ts +11 -6
  43. package/List/List.d.ts +17 -10
  44. package/ListItem/ListItem.d.ts +9 -7
  45. package/ListItem/ListItem.js +1 -1
  46. package/ListItemButton/ListItemButton.d.ts +9 -7
  47. package/ListItemButton/ListItemButton.js +1 -1
  48. package/ListSubheader/ListSubheader.d.ts +11 -6
  49. package/Menu/Menu.d.ts +23 -2
  50. package/Menu/Menu.js +48 -10
  51. package/MenuItem/MenuItem.d.ts +11 -6
  52. package/MenuItem/MenuItem.js +1 -1
  53. package/MenuList/MenuList.d.ts +11 -6
  54. package/Modal/Modal.d.ts +11 -6
  55. package/OverridableComponent.d.ts +14 -21
  56. package/PaginationItem/PaginationItem.d.ts +12 -7
  57. package/Paper/Paper.d.ts +14 -9
  58. package/Paper/index.d.ts +1 -1
  59. package/README.md +1 -1
  60. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +11 -6
  61. package/Select/Select.d.ts +8 -8
  62. package/Select/Select.js +1 -1
  63. package/Select/SelectInput.d.ts +7 -7
  64. package/Skeleton/Skeleton.d.ts +11 -6
  65. package/Slider/Slider.d.ts +11 -6
  66. package/Stack/Stack.d.ts +11 -6
  67. package/Step/Step.d.ts +11 -6
  68. package/StepButton/StepButton.d.ts +11 -6
  69. package/Stepper/Stepper.d.ts +11 -6
  70. package/SvgIcon/SvgIcon.d.ts +11 -6
  71. package/Tab/Tab.d.ts +11 -6
  72. package/Table/Table.d.ts +11 -6
  73. package/TableBody/TableBody.d.ts +11 -6
  74. package/TableContainer/TableContainer.d.ts +11 -6
  75. package/TableFooter/TableFooter.d.ts +11 -6
  76. package/TableHead/TableHead.d.ts +11 -6
  77. package/TablePagination/TablePagination.d.ts +11 -6
  78. package/TableRow/TableRow.d.ts +11 -6
  79. package/TableSortLabel/TableSortLabel.d.ts +9 -7
  80. package/Tabs/Tabs.d.ts +11 -6
  81. package/Tabs/Tabs.js +39 -42
  82. package/ToggleButton/ToggleButton.d.ts +9 -7
  83. package/Toolbar/Toolbar.d.ts +11 -6
  84. package/Typography/Typography.d.ts +11 -6
  85. package/index.d.ts +9 -9
  86. package/index.js +1 -1
  87. package/legacy/Autocomplete/Autocomplete.js +19 -16
  88. package/legacy/Button/Button.js +1 -1
  89. package/legacy/Chip/Chip.js +0 -2
  90. package/legacy/Divider/Divider.js +6 -0
  91. package/legacy/Fab/Fab.js +1 -1
  92. package/legacy/ListItem/ListItem.js +1 -1
  93. package/legacy/ListItemButton/ListItemButton.js +1 -1
  94. package/legacy/Menu/Menu.js +49 -9
  95. package/legacy/MenuItem/MenuItem.js +1 -1
  96. package/legacy/Select/Select.js +1 -1
  97. package/legacy/Tabs/Tabs.js +48 -48
  98. package/legacy/index.js +1 -1
  99. package/modern/Autocomplete/Autocomplete.js +16 -12
  100. package/modern/Button/Button.js +1 -1
  101. package/modern/Chip/Chip.js +0 -2
  102. package/modern/Divider/Divider.js +6 -0
  103. package/modern/Fab/Fab.js +1 -1
  104. package/modern/ListItem/ListItem.js +1 -1
  105. package/modern/ListItemButton/ListItemButton.js +1 -1
  106. package/modern/Menu/Menu.js +47 -10
  107. package/modern/MenuItem/MenuItem.js +1 -1
  108. package/modern/Select/Select.js +1 -1
  109. package/modern/Tabs/Tabs.js +39 -42
  110. package/modern/index.js +1 -1
  111. package/node/Autocomplete/Autocomplete.js +19 -15
  112. package/node/Button/Button.js +1 -1
  113. package/node/Chip/Chip.js +0 -2
  114. package/node/Divider/Divider.js +6 -0
  115. package/node/Fab/Fab.js +1 -1
  116. package/node/ListItem/ListItem.js +1 -1
  117. package/node/ListItemButton/ListItemButton.js +1 -1
  118. package/node/Menu/Menu.js +47 -9
  119. package/node/MenuItem/MenuItem.js +1 -1
  120. package/node/Select/Select.js +1 -1
  121. package/node/Tabs/Tabs.js +39 -42
  122. package/node/index.js +1 -1
  123. package/package.json +6 -6
  124. package/styles/ThemeProvider.d.ts +3 -3
  125. package/styles/components.d.ts +1 -0
  126. package/styles/createTypography.d.ts +9 -10
  127. package/styles/overrides.d.ts +2 -0
  128. package/styles/props.d.ts +1 -1
  129. package/types/OverridableComponentAugmentation.d.ts +7 -7
  130. package/umd/material-ui.development.js +362 -324
  131. package/umd/material-ui.production.min.js +21 -21
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.1
2
+ * @mui/material v5.14.3
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -13,10 +13,7 @@
13
13
 
14
14
  'use client';
15
15
 
16
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
17
-
18
- function _interopNamespace(e) {
19
- if (e && e.__esModule) return e;
16
+ function _interopNamespaceDefault(e) {
20
17
  var n = Object.create(null);
21
18
  if (e) {
22
19
  Object.keys(e).forEach(function (k) {
@@ -29,14 +26,12 @@
29
26
  }
30
27
  });
31
28
  }
32
- n["default"] = e;
29
+ n.default = e;
33
30
  return Object.freeze(n);
34
31
  }
35
32
 
36
- var React__namespace = /*#__PURE__*/_interopNamespace(React);
37
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
38
- var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
39
- var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
33
+ var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
34
+ var ReactDOM__namespace = /*#__PURE__*/_interopNamespaceDefault(ReactDOM);
40
35
 
41
36
  const common = {
42
37
  black: '#000',
@@ -388,26 +383,26 @@
388
383
 
389
384
  var index = /*#__PURE__*/Object.freeze({
390
385
  __proto__: null,
386
+ amber: amber$1,
387
+ blue: blue$1,
388
+ blueGrey: blueGrey$1,
389
+ brown: brown$1,
391
390
  common: common$1,
392
- red: red$1,
393
- pink: pink$1,
394
- purple: purple$1,
391
+ cyan: cyan$1,
392
+ deepOrange: deepOrange$1,
395
393
  deepPurple: deepPurple$1,
394
+ green: green$1,
395
+ grey: grey$1,
396
396
  indigo: indigo$1,
397
- blue: blue$1,
398
397
  lightBlue: lightBlue$1,
399
- cyan: cyan$1,
400
- teal: teal$1,
401
- green: green$1,
402
398
  lightGreen: lightGreen$1,
403
399
  lime: lime$1,
404
- yellow: yellow$1,
405
- amber: amber$1,
406
400
  orange: orange$1,
407
- deepOrange: deepOrange$1,
408
- brown: brown$1,
409
- grey: grey$1,
410
- blueGrey: blueGrey$1
401
+ pink: pink$1,
402
+ purple: purple$1,
403
+ red: red$1,
404
+ teal: teal$1,
405
+ yellow: yellow$1
411
406
  });
412
407
 
413
408
  var global$1 = (typeof global !== "undefined" ? global :
@@ -704,6 +699,7 @@
704
699
  (c) Sindre Sorhus
705
700
  @license MIT
706
701
  */
702
+
707
703
  /* eslint-disable no-unused-vars */
708
704
  var getOwnPropertySymbols = Object.getOwnPropertySymbols;
709
705
  var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
@@ -795,20 +791,17 @@
795
791
  * LICENSE file in the root directory of this source tree.
796
792
  */
797
793
 
798
- var ReactPropTypesSecret$2 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
799
-
800
- var ReactPropTypesSecret_1 = ReactPropTypesSecret$2;
801
794
 
802
- var has$2 = Function.call.bind(Object.prototype.hasOwnProperty);
795
+ var ReactPropTypesSecret$1 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
803
796
 
804
- var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
797
+ var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
805
798
 
806
- var has$1 = has$2;
799
+ var has$1 = Function.call.bind(Object.prototype.hasOwnProperty);
807
800
 
808
801
  var printWarning$1 = function() {};
809
802
 
810
803
  {
811
- var ReactPropTypesSecret = ReactPropTypesSecret$1;
804
+ var ReactPropTypesSecret = ReactPropTypesSecret_1;
812
805
  var loggedTypeFailures = {};
813
806
  var has = has$1;
814
807
 
@@ -837,7 +830,7 @@
837
830
  * @param {?Function} getStack Returns the component stack.
838
831
  * @private
839
832
  */
840
- function checkPropTypes$1(typeSpecs, values, location, componentName, getStack) {
833
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
841
834
  {
842
835
  for (var typeSpecName in typeSpecs) {
843
836
  if (has(typeSpecs, typeSpecName)) {
@@ -892,15 +885,13 @@
892
885
  *
893
886
  * @private
894
887
  */
895
- checkPropTypes$1.resetWarningCache = function() {
888
+ checkPropTypes.resetWarningCache = function() {
896
889
  {
897
890
  loggedTypeFailures = {};
898
891
  }
899
892
  };
900
893
 
901
- var checkPropTypes_1 = checkPropTypes$1;
902
-
903
- var checkPropTypes = checkPropTypes_1;
894
+ var checkPropTypes_1 = checkPropTypes;
904
895
 
905
896
  var printWarning = function() {};
906
897
 
@@ -1065,7 +1056,7 @@
1065
1056
  componentName = componentName || ANONYMOUS;
1066
1057
  propFullName = propFullName || propName;
1067
1058
 
1068
- if (secret !== ReactPropTypesSecret$1) {
1059
+ if (secret !== ReactPropTypesSecret_1) {
1069
1060
  if (throwOnDirectAccess) {
1070
1061
  // New behavior only for users of `prop-types` package
1071
1062
  var err = new Error(
@@ -1149,7 +1140,7 @@
1149
1140
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
1150
1141
  }
1151
1142
  for (var i = 0; i < propValue.length; i++) {
1152
- var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret$1);
1143
+ var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret_1);
1153
1144
  if (error instanceof Error) {
1154
1145
  return error;
1155
1146
  }
@@ -1242,7 +1233,7 @@
1242
1233
  }
1243
1234
  for (var key in propValue) {
1244
1235
  if (has$1(propValue, key)) {
1245
- var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
1236
+ var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
1246
1237
  if (error instanceof Error) {
1247
1238
  return error;
1248
1239
  }
@@ -1274,7 +1265,7 @@
1274
1265
  var expectedTypes = [];
1275
1266
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
1276
1267
  var checker = arrayOfTypeCheckers[i];
1277
- var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1);
1268
+ var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret_1);
1278
1269
  if (checkerResult == null) {
1279
1270
  return null;
1280
1271
  }
@@ -1317,7 +1308,7 @@
1317
1308
  if (typeof checker !== 'function') {
1318
1309
  return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1319
1310
  }
1320
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
1311
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
1321
1312
  if (error) {
1322
1313
  return error;
1323
1314
  }
@@ -1348,7 +1339,7 @@
1348
1339
  '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
1349
1340
  );
1350
1341
  }
1351
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
1342
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
1352
1343
  if (error) {
1353
1344
  return error;
1354
1345
  }
@@ -1490,15 +1481,13 @@
1490
1481
  return propValue.constructor.name;
1491
1482
  }
1492
1483
 
1493
- ReactPropTypes.checkPropTypes = checkPropTypes;
1494
- ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
1484
+ ReactPropTypes.checkPropTypes = checkPropTypes_1;
1485
+ ReactPropTypes.resetWarningCache = checkPropTypes_1.resetWarningCache;
1495
1486
  ReactPropTypes.PropTypes = ReactPropTypes;
1496
1487
 
1497
1488
  return ReactPropTypes;
1498
1489
  };
1499
1490
 
1500
- var require$$1 = factoryWithTypeCheckers;
1501
-
1502
1491
  var propTypes = createCommonjsModule(function (module) {
1503
1492
  /**
1504
1493
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -1513,7 +1502,7 @@
1513
1502
  // By explicitly using `prop-types` you are opting into new development behavior.
1514
1503
  // http://fb.me/prop-types-in-prod
1515
1504
  var throwOnDirectAccess = true;
1516
- module.exports = require$$1(ReactIs.isElement, throwOnDirectAccess);
1505
+ module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
1517
1506
  }
1518
1507
  });
1519
1508
 
@@ -2756,7 +2745,7 @@
2756
2745
  return StyleSheet;
2757
2746
  }();
2758
2747
 
2759
- var e="-ms-";var r$1="-moz-";var a="-webkit-";var n="comm";var c="rule";var s="decl";var i="@import";var h="@keyframes";var $="@layer";var g=Math.abs;var k=String.fromCharCode;var m=Object.assign;function x(e,r){return O(e,0)^45?(((r<<2^O(e,0))<<2^O(e,1))<<2^O(e,2))<<2^O(e,3):0}function y(e){return e.trim()}function j(e,r){return (e=r.exec(e))?e[0]:e}function z(e,r,a){return e.replace(r,a)}function C(e,r){return e.indexOf(r)}function O(e,r){return e.charCodeAt(r)|0}function A(e,r,a){return e.slice(r,a)}function M(e){return e.length}function S(e){return e.length}function q(e,r){return r.push(e),e}function B(e,r){return e.map(r).join("")}var D=1;var E=1;var F=0;var G=0;var H=0;var I="";function J(e,r,a,n,c,s,t){return {value:e,root:r,parent:a,type:n,props:c,children:s,line:D,column:E,length:t,return:""}}function K(e,r){return m(J("",null,null,"",null,null,0),e,{length:-e.length},r)}function L(){return H}function N(){H=G>0?O(I,--G):0;if(E--,H===10)E=1,D--;return H}function P(){H=G<F?O(I,G++):0;if(E++,H===10)E=1,D++;return H}function Q(){return O(I,G)}function R(){return G}function T(e,r){return A(I,e,r)}function U(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function V(e){return D=E=1,F=M(I=e),G=0,[]}function W(e){return I="",e}function X(e){return y(T(G-1,re(e===91?e+2:e===40?e+1:e)))}function Z(e){while(H=Q())if(H<33)P();else break;return U(e)>2||U(H)>3?"":" "}function ee(e,r){while(--r&&P())if(H<48||H>102||H>57&&H<65||H>70&&H<97)break;return T(e,R()+(r<6&&Q()==32&&P()==32))}function re(e){while(P())switch(H){case e:return G;case 34:case 39:if(e!==34&&e!==39)re(H);break;case 40:if(e===41)re(e);break;case 92:P();break}return G}function ae(e,r){while(P())if(e+H===47+10)break;else if(e+H===42+42&&Q()===47)break;return "/*"+T(r,G-1)+"*"+k(e===47?e:P())}function ne(e){while(!U(Q()))P();return T(e,G)}function ce(e){return W(se("",null,null,null,[""],e=V(e),0,[0],e))}function se(e,r,a,n,c,s,t,u,i){var f=0;var o=0;var l=t;var v=0;var p=0;var h=0;var b=1;var w=1;var d=1;var $=0;var g="";var m=c;var x=s;var y=n;var j=g;while(w)switch(h=$,$=P()){case 40:if(h!=108&&O(j,l-1)==58){if(C(j+=z(X($),"&","&\f"),"&\f")!=-1)d=-1;break}case 34:case 39:case 91:j+=X($);break;case 9:case 10:case 13:case 32:j+=Z(h);break;case 92:j+=ee(R()-1,7);continue;case 47:switch(Q()){case 42:case 47:q(ue(ae(P(),R()),r,a),i);break;default:j+="/";}break;case 123*b:u[f++]=M(j)*d;case 125*b:case 59:case 0:switch($){case 0:case 125:w=0;case 59+o:if(d==-1)j=z(j,/\f/g,"");if(p>0&&M(j)-l)q(p>32?ie(j+";",n,a,l-1):ie(z(j," ","")+";",n,a,l-2),i);break;case 59:j+=";";default:q(y=te(j,r,a,f,o,c,u,g,m=[],x=[],l),s);if($===123)if(o===0)se(j,r,y,y,m,s,l,u,x);else switch(v===99&&O(j,3)===110?100:v){case 100:case 108:case 109:case 115:se(e,y,y,n&&q(te(e,y,y,0,0,c,u,g,c,m=[],l),x),c,x,l,u,n?m:x);break;default:se(j,y,y,y,[""],x,0,u,x);}}f=o=p=0,b=d=1,g=j="",l=t;break;case 58:l=1+M(j),p=h;default:if(b<1)if($==123)--b;else if($==125&&b++==0&&N()==125)continue;switch(j+=k($),$*b){case 38:d=o>0?1:(j+="\f",-1);break;case 44:u[f++]=(M(j)-1)*d,d=1;break;case 64:if(Q()===45)j+=X(P());v=Q(),o=l=M(g=j+=ne(R())),$++;break;case 45:if(h===45&&M(j)==2)b=0;}}return s}function te(e,r,a,n,s,t,u,i,f,o,l){var v=s-1;var p=s===0?t:[""];var h=S(p);for(var b=0,w=0,d=0;b<n;++b)for(var $=0,k=A(e,v+1,v=g(w=u[b])),m=e;$<h;++$)if(m=y(w>0?p[$]+" "+k:z(k,/&\f/g,p[$])))f[d++]=m;return J(e,r,a,s===0?c:i,f,o,l)}function ue(e,r,a){return J(e,r,a,n,k(L()),A(e,2,-2),0)}function ie(e,r,a,n){return J(e,r,a,s,A(e,0,n),A(e,n+1,-1),n)}function oe(e,r){var a="";var n=S(e);for(var c=0;c<n;c++)a+=r(e[c],c,e,r)||"";return a}function le(e,r,a,t){switch(e.type){case $:if(e.children.length)break;case i:case s:return e.return=e.return||e.value;case n:return "";case h:return e.return=e.value+"{"+oe(e.children,t)+"}";case c:e.value=e.props.join(",");}return M(a=oe(e.children,t))?e.return=e.value+"{"+a+"}":""}function ve(e){var r=S(e);return function(a,n,c,s){var t="";for(var u=0;u<r;u++)t+=e[u](a,n,c,s)||"";return t}}
2748
+ var e="-ms-";var r$3="-moz-";var a="-webkit-";var n="comm";var c="rule";var s="decl";var i="@import";var h="@keyframes";var $="@layer";var g=Math.abs;var k=String.fromCharCode;var m=Object.assign;function x(e,r){return O(e,0)^45?(((r<<2^O(e,0))<<2^O(e,1))<<2^O(e,2))<<2^O(e,3):0}function y(e){return e.trim()}function j(e,r){return (e=r.exec(e))?e[0]:e}function z(e,r,a){return e.replace(r,a)}function C(e,r){return e.indexOf(r)}function O(e,r){return e.charCodeAt(r)|0}function A(e,r,a){return e.slice(r,a)}function M(e){return e.length}function S(e){return e.length}function q(e,r){return r.push(e),e}function B(e,r){return e.map(r).join("")}var D=1;var E=1;var F=0;var G=0;var H=0;var I="";function J(e,r,a,n,c,s,t){return {value:e,root:r,parent:a,type:n,props:c,children:s,line:D,column:E,length:t,return:""}}function K(e,r){return m(J("",null,null,"",null,null,0),e,{length:-e.length},r)}function L(){return H}function N(){H=G>0?O(I,--G):0;if(E--,H===10)E=1,D--;return H}function P(){H=G<F?O(I,G++):0;if(E++,H===10)E=1,D++;return H}function Q(){return O(I,G)}function R(){return G}function T(e,r){return A(I,e,r)}function U(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function V(e){return D=E=1,F=M(I=e),G=0,[]}function W(e){return I="",e}function X(e){return y(T(G-1,re(e===91?e+2:e===40?e+1:e)))}function Z(e){while(H=Q())if(H<33)P();else break;return U(e)>2||U(H)>3?"":" "}function ee(e,r){while(--r&&P())if(H<48||H>102||H>57&&H<65||H>70&&H<97)break;return T(e,R()+(r<6&&Q()==32&&P()==32))}function re(e){while(P())switch(H){case e:return G;case 34:case 39:if(e!==34&&e!==39)re(H);break;case 40:if(e===41)re(e);break;case 92:P();break}return G}function ae(e,r){while(P())if(e+H===47+10)break;else if(e+H===42+42&&Q()===47)break;return "/*"+T(r,G-1)+"*"+k(e===47?e:P())}function ne(e){while(!U(Q()))P();return T(e,G)}function ce(e){return W(se("",null,null,null,[""],e=V(e),0,[0],e))}function se(e,r,a,n,c,s,t,u,i){var f=0;var o=0;var l=t;var v=0;var p=0;var h=0;var b=1;var w=1;var d=1;var $=0;var g="";var m=c;var x=s;var y=n;var j=g;while(w)switch(h=$,$=P()){case 40:if(h!=108&&O(j,l-1)==58){if(C(j+=z(X($),"&","&\f"),"&\f")!=-1)d=-1;break}case 34:case 39:case 91:j+=X($);break;case 9:case 10:case 13:case 32:j+=Z(h);break;case 92:j+=ee(R()-1,7);continue;case 47:switch(Q()){case 42:case 47:q(ue(ae(P(),R()),r,a),i);break;default:j+="/";}break;case 123*b:u[f++]=M(j)*d;case 125*b:case 59:case 0:switch($){case 0:case 125:w=0;case 59+o:if(d==-1)j=z(j,/\f/g,"");if(p>0&&M(j)-l)q(p>32?ie(j+";",n,a,l-1):ie(z(j," ","")+";",n,a,l-2),i);break;case 59:j+=";";default:q(y=te(j,r,a,f,o,c,u,g,m=[],x=[],l),s);if($===123)if(o===0)se(j,r,y,y,m,s,l,u,x);else switch(v===99&&O(j,3)===110?100:v){case 100:case 108:case 109:case 115:se(e,y,y,n&&q(te(e,y,y,0,0,c,u,g,c,m=[],l),x),c,x,l,u,n?m:x);break;default:se(j,y,y,y,[""],x,0,u,x);}}f=o=p=0,b=d=1,g=j="",l=t;break;case 58:l=1+M(j),p=h;default:if(b<1)if($==123)--b;else if($==125&&b++==0&&N()==125)continue;switch(j+=k($),$*b){case 38:d=o>0?1:(j+="\f",-1);break;case 44:u[f++]=(M(j)-1)*d,d=1;break;case 64:if(Q()===45)j+=X(P());v=Q(),o=l=M(g=j+=ne(R())),$++;break;case 45:if(h===45&&M(j)==2)b=0;}}return s}function te(e,r,a,n,s,t,u,i,f,o,l){var v=s-1;var p=s===0?t:[""];var h=S(p);for(var b=0,w=0,d=0;b<n;++b)for(var $=0,k=A(e,v+1,v=g(w=u[b])),m=e;$<h;++$)if(m=y(w>0?p[$]+" "+k:z(k,/&\f/g,p[$])))f[d++]=m;return J(e,r,a,s===0?c:i,f,o,l)}function ue(e,r,a){return J(e,r,a,n,k(L()),A(e,2,-2),0)}function ie(e,r,a,n){return J(e,r,a,s,A(e,0,n),A(e,n+1,-1),n)}function oe(e,r){var a="";var n=S(e);for(var c=0;c<n;c++)a+=r(e[c],c,e,r)||"";return a}function le(e,r,a,t){switch(e.type){case $:if(e.children.length)break;case i:case s:return e.return=e.return||e.value;case n:return "";case h:return e.return=e.value+"{"+oe(e.children,t)+"}";case c:e.value=e.props.join(",");}return M(a=oe(e.children,t))?e.return=e.value+"{"+a+"}":""}function ve(e){var r=S(e);return function(a,n,c,s){var t="";for(var u=0;u<r;u++)t+=e[u](a,n,c,s)||"";return t}}
2760
2749
 
2761
2750
  var weakMemoize = function weakMemoize(func) {
2762
2751
  // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
@@ -3051,7 +3040,7 @@
3051
3040
  case 4810:
3052
3041
  case 6968:
3053
3042
  case 2756:
3054
- return a + value + r$1 + value + e + value + value;
3043
+ return a + value + r$3 + value + e + value + value;
3055
3044
  // flex, flex-direction
3056
3045
 
3057
3046
  case 6828:
@@ -3132,7 +3121,7 @@
3132
3121
  // (f)ill-available, (f)it-content
3133
3122
 
3134
3123
  case 102:
3135
- return z(value, /(.+:)(.+)-([^]+)/, '$1' + a + '$2-$3' + '$1' + r$1 + (O(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
3124
+ return z(value, /(.+:)(.+)-([^]+)/, '$1' + a + '$2-$3' + '$1' + r$3 + (O(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
3136
3125
  // (s)tretch
3137
3126
 
3138
3127
  case 115:
@@ -3199,7 +3188,7 @@
3199
3188
  case ':read-only':
3200
3189
  case ':read-write':
3201
3190
  return oe([K(element, {
3202
- props: [z(value, /:(read-\w+)/, ':' + r$1 + '$1')]
3191
+ props: [z(value, /:(read-\w+)/, ':' + r$3 + '$1')]
3203
3192
  })], callback);
3204
3193
  // :placeholder
3205
3194
 
@@ -3207,7 +3196,7 @@
3207
3196
  return oe([K(element, {
3208
3197
  props: [z(value, /:(plac\w+)/, ':' + a + 'input-$1')]
3209
3198
  }), K(element, {
3210
- props: [z(value, /:(plac\w+)/, ':' + r$1 + '$1')]
3199
+ props: [z(value, /:(plac\w+)/, ':' + r$3 + '$1')]
3211
3200
  }), K(element, {
3212
3201
  props: [z(value, /:(plac\w+)/, e + 'input-$1')]
3213
3202
  })], callback);
@@ -4892,14 +4881,14 @@
4892
4881
  newStyled[tagName] = newStyled(tagName);
4893
4882
  });
4894
4883
 
4895
- React__default["default"].__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
4884
+ React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
4896
4885
 
4897
4886
  var reactJsxRuntime_development = createCommonjsModule(function (module, exports) {
4898
4887
 
4899
4888
  {
4900
4889
  (function() {
4901
4890
 
4902
- var React = React__default["default"];
4891
+ var React$1 = React;
4903
4892
 
4904
4893
  // ATTENTION
4905
4894
  // When adding new symbols to this file,
@@ -4934,7 +4923,7 @@
4934
4923
  return null;
4935
4924
  }
4936
4925
 
4937
- var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
4926
+ var ReactSharedInternals = React$1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
4938
4927
 
4939
4928
  function error(format) {
4940
4929
  {
@@ -7523,7 +7512,7 @@
7523
7512
  });
7524
7513
  }
7525
7514
 
7526
- function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
7515
+ function r$2(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r$2(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx$2(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r$2(e))&&(n&&(n+=" "),n+=t);return n}
7527
7516
 
7528
7517
  const _excluded$2m = ["className", "component"];
7529
7518
  function createBox(options = {}) {
@@ -7547,7 +7536,7 @@
7547
7536
  return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
7548
7537
  as: component,
7549
7538
  ref: ref,
7550
- className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
7539
+ className: clsx$2(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
7551
7540
  theme: themeId ? theme[themeId] || theme : theme
7552
7541
  }, other));
7553
7542
  });
@@ -9212,7 +9201,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9212
9201
  // @ts-ignore module augmentation fails if custom breakpoints are used
9213
9202
  ,
9214
9203
  ownerState: ownerState,
9215
- className: clsx(classes.root, className),
9204
+ className: clsx$2(classes.root, className),
9216
9205
  ref: ref
9217
9206
  }, other))
9218
9207
  );
@@ -9598,7 +9587,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9598
9587
  ref: ref,
9599
9588
  as: component,
9600
9589
  ownerState: ownerState,
9601
- className: clsx(classes.root, className)
9590
+ className: clsx$2(classes.root, className)
9602
9591
  }, other, {
9603
9592
  children: React__namespace.Children.map(children, child => {
9604
9593
  if ( /*#__PURE__*/React__namespace.isValidElement(child) && isMuiElement(child, ['Grid'])) {
@@ -9741,8 +9730,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9741
9730
  };
9742
9731
  }
9743
9732
  return {
9733
+ // The useFlexGap={false} implement relies on each child to give up control of the margin.
9734
+ // We need to reset the margin to avoid double spacing.
9735
+ '& > :not(style):not(style)': {
9736
+ margin: 0
9737
+ },
9744
9738
  '& > :not(style) ~ :not(style)': {
9745
- margin: 0,
9746
9739
  [`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)
9747
9740
  }
9748
9741
  };
@@ -9791,7 +9784,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9791
9784
  as: component,
9792
9785
  ownerState: ownerState,
9793
9786
  ref: ref,
9794
- className: clsx(classes.root, className)
9787
+ className: clsx$2(classes.root, className)
9795
9788
  }, other, {
9796
9789
  children: divider ? joinChildren(children, divider) : children
9797
9790
  }));
@@ -11097,6 +11090,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
11097
11090
  throw new Error(`MUI: The \`experimental_sx\` has been moved to \`theme.unstable_sx\`.For more details, see https://github.com/mui/material-ui/pull/35150.` );
11098
11091
  }
11099
11092
 
11093
+ function r$1(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r$1(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx$1(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r$1(e))&&(n&&(n+=" "),n+=t);return n}
11094
+
11100
11095
  /**
11101
11096
  * Determines if a given element is a DOM element name (i.e. not a React component).
11102
11097
  */
@@ -11183,6 +11178,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
11183
11178
  return componentProps;
11184
11179
  }
11185
11180
 
11181
+ function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
11182
+
11186
11183
  /**
11187
11184
  * Removes event handlers from the given object.
11188
11185
  * A field is considered an event handler if it is a function with a name beginning with `on`.
@@ -16798,7 +16795,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16798
16795
  const classes = useUtilityClasses$1M(ownerState);
16799
16796
  return /*#__PURE__*/jsxRuntime_2(SvgIconRoot, _extends({
16800
16797
  as: component,
16801
- className: clsx(classes.root, className),
16798
+ className: clsx$1(classes.root, className),
16802
16799
  focusable: "false",
16803
16800
  color: htmlColor,
16804
16801
  "aria-hidden": titleAccess ? undefined : true,
@@ -16951,7 +16948,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16951
16948
  exitActive: PropTypes.string
16952
16949
  })]) ;
16953
16950
 
16954
- var TransitionGroupContext = React__default["default"].createContext(null);
16951
+ var TransitionGroupContext = React.createContext(null);
16955
16952
 
16956
16953
  var forceReflow = function forceReflow(node) {
16957
16954
  return node.scrollTop;
@@ -17177,7 +17174,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17177
17174
 
17178
17175
  if (nextStatus === ENTERING) {
17179
17176
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
17180
- var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM__default["default"].findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749
17177
+ var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749
17181
17178
  // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.
17182
17179
  // To make the animation happen, we have to separate each rendering and avoid being processed as batched.
17183
17180
 
@@ -17201,7 +17198,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17201
17198
  var enter = this.props.enter;
17202
17199
  var appearing = this.context ? this.context.isMounting : mounting;
17203
17200
 
17204
- var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM__default["default"].findDOMNode(this), appearing],
17201
+ var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],
17205
17202
  maybeNode = _ref2[0],
17206
17203
  maybeAppearing = _ref2[1];
17207
17204
 
@@ -17239,7 +17236,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17239
17236
 
17240
17237
  var exit = this.props.exit;
17241
17238
  var timeouts = this.getTimeouts();
17242
- var maybeNode = this.props.nodeRef ? undefined : ReactDOM__default["default"].findDOMNode(this); // no exit animation skip right to EXITED
17239
+ var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED
17243
17240
 
17244
17241
  if (!exit || config.disabled) {
17245
17242
  this.safeSetState({
@@ -17303,7 +17300,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17303
17300
 
17304
17301
  _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {
17305
17302
  this.setNextCallback(handler);
17306
- var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM__default["default"].findDOMNode(this);
17303
+ var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);
17307
17304
  var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;
17308
17305
 
17309
17306
  if (!node || doesNotHaveTimeoutOrListener) {
@@ -17353,14 +17350,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17353
17350
  return (
17354
17351
  /*#__PURE__*/
17355
17352
  // allows for nested Transitions
17356
- React__default["default"].createElement(TransitionGroupContext.Provider, {
17353
+ React.createElement(TransitionGroupContext.Provider, {
17357
17354
  value: null
17358
- }, typeof children === 'function' ? children(status, childProps) : React__default["default"].cloneElement(React__default["default"].Children.only(children), childProps))
17355
+ }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))
17359
17356
  );
17360
17357
  };
17361
17358
 
17362
17359
  return Transition;
17363
- }(React__default["default"].Component);
17360
+ }(React.Component);
17364
17361
 
17365
17362
  Transition.contextType = TransitionGroupContext;
17366
17363
  Transition.propTypes = {
@@ -17828,18 +17825,18 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17828
17825
  delete props.exit;
17829
17826
 
17830
17827
  if (Component === null) {
17831
- return /*#__PURE__*/React__default["default"].createElement(TransitionGroupContext.Provider, {
17828
+ return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {
17832
17829
  value: contextValue
17833
17830
  }, children);
17834
17831
  }
17835
17832
 
17836
- return /*#__PURE__*/React__default["default"].createElement(TransitionGroupContext.Provider, {
17833
+ return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {
17837
17834
  value: contextValue
17838
- }, /*#__PURE__*/React__default["default"].createElement(Component, props, children));
17835
+ }, /*#__PURE__*/React.createElement(Component, props, children));
17839
17836
  };
17840
17837
 
17841
17838
  return TransitionGroup;
17842
- }(React__default["default"].Component);
17839
+ }(React.Component);
17843
17840
 
17844
17841
  TransitionGroup.propTypes = {
17845
17842
  /**
@@ -18158,7 +18155,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18158
18155
  }, other, {
18159
18156
  children: (state, childProps) => /*#__PURE__*/jsxRuntime_1(CollapseRoot, _extends({
18160
18157
  as: component,
18161
- className: clsx(classes.root, className, {
18158
+ className: clsx$1(classes.root, className, {
18162
18159
  'entered': classes.entered,
18163
18160
  'exited': !inProp && collapsedSize === '0px' && classes.hidden
18164
18161
  }[state]),
@@ -18364,7 +18361,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18364
18361
  return /*#__PURE__*/jsxRuntime_1(PaperRoot, _extends({
18365
18362
  as: component,
18366
18363
  ownerState: ownerState,
18367
- className: clsx(classes.root, className),
18364
+ className: clsx$1(classes.root, className),
18368
18365
  ref: ref
18369
18366
  }, other));
18370
18367
  });
@@ -18579,7 +18576,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18579
18576
  });
18580
18577
  const classes = useUtilityClasses$1J(ownerState);
18581
18578
  return /*#__PURE__*/jsxRuntime_2(AccordionRoot, _extends({
18582
- className: clsx(classes.root, className),
18579
+ className: clsx$1(classes.root, className),
18583
18580
  ref: ref,
18584
18581
  ownerState: ownerState,
18585
18582
  square: square
@@ -18730,7 +18727,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18730
18727
  });
18731
18728
  const classes = useUtilityClasses$1I(ownerState);
18732
18729
  return /*#__PURE__*/jsxRuntime_1(AccordionActionsRoot, _extends({
18733
- className: clsx(classes.root, className),
18730
+ className: clsx$1(classes.root, className),
18734
18731
  ref: ref,
18735
18732
  ownerState: ownerState
18736
18733
  }, other));
@@ -18801,7 +18798,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18801
18798
  const ownerState = props;
18802
18799
  const classes = useUtilityClasses$1H(ownerState);
18803
18800
  return /*#__PURE__*/jsxRuntime_1(AccordionDetailsRoot, _extends({
18804
- className: clsx(classes.root, className),
18801
+ className: clsx$1(classes.root, className),
18805
18802
  ref: ref,
18806
18803
  ownerState: ownerState
18807
18804
  }, other));
@@ -18843,14 +18840,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18843
18840
  timeout
18844
18841
  } = props;
18845
18842
  const [leaving, setLeaving] = React__namespace.useState(false);
18846
- const rippleClassName = clsx(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);
18843
+ const rippleClassName = clsx$1(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);
18847
18844
  const rippleStyles = {
18848
18845
  width: rippleSize,
18849
18846
  height: rippleSize,
18850
18847
  top: -(rippleSize / 2) + rippleY,
18851
18848
  left: -(rippleSize / 2) + rippleX
18852
18849
  };
18853
- const childClassName = clsx(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);
18850
+ const childClassName = clsx$1(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);
18854
18851
  if (!inProp && !leaving) {
18855
18852
  setLeaving(true);
18856
18853
  }
@@ -19081,12 +19078,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19081
19078
  } = params;
19082
19079
  setRipples(oldRipples => [...oldRipples, /*#__PURE__*/jsxRuntime_1(TouchRippleRipple, {
19083
19080
  classes: {
19084
- ripple: clsx(classes.ripple, touchRippleClasses$1.ripple),
19085
- rippleVisible: clsx(classes.rippleVisible, touchRippleClasses$1.rippleVisible),
19086
- ripplePulsate: clsx(classes.ripplePulsate, touchRippleClasses$1.ripplePulsate),
19087
- child: clsx(classes.child, touchRippleClasses$1.child),
19088
- childLeaving: clsx(classes.childLeaving, touchRippleClasses$1.childLeaving),
19089
- childPulsate: clsx(classes.childPulsate, touchRippleClasses$1.childPulsate)
19081
+ ripple: clsx$1(classes.ripple, touchRippleClasses$1.ripple),
19082
+ rippleVisible: clsx$1(classes.rippleVisible, touchRippleClasses$1.rippleVisible),
19083
+ ripplePulsate: clsx$1(classes.ripplePulsate, touchRippleClasses$1.ripplePulsate),
19084
+ child: clsx$1(classes.child, touchRippleClasses$1.child),
19085
+ childLeaving: clsx$1(classes.childLeaving, touchRippleClasses$1.childLeaving),
19086
+ childPulsate: clsx$1(classes.childPulsate, touchRippleClasses$1.childPulsate)
19090
19087
  },
19091
19088
  timeout: DURATION,
19092
19089
  pulsate: pulsate,
@@ -19213,7 +19210,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19213
19210
  stop
19214
19211
  }), [pulsate, start, stop]);
19215
19212
  return /*#__PURE__*/jsxRuntime_1(TouchRippleRoot, _extends({
19216
- className: clsx(touchRippleClasses$1.root, classes.root, className),
19213
+ className: clsx$1(touchRippleClasses$1.root, classes.root, className),
19217
19214
  ref: container
19218
19215
  }, other, {
19219
19216
  children: /*#__PURE__*/jsxRuntime_1(TransitionGroup$1, {
@@ -19519,7 +19516,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19519
19516
  const classes = useUtilityClasses$1G(ownerState);
19520
19517
  return /*#__PURE__*/jsxRuntime_2(ButtonBaseRoot, _extends({
19521
19518
  as: ComponentProp,
19522
- className: clsx(classes.root, className),
19519
+ className: clsx$1(classes.root, className),
19523
19520
  ownerState: ownerState,
19524
19521
  onBlur: handleBlur,
19525
19522
  onClick: onClick,
@@ -19835,8 +19832,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19835
19832
  disabled: disabled,
19836
19833
  component: "div",
19837
19834
  "aria-expanded": expanded,
19838
- className: clsx(classes.root, className),
19839
- focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
19835
+ className: clsx$1(classes.root, className),
19836
+ focusVisibleClassName: clsx$1(classes.focusVisible, focusVisibleClassName),
19840
19837
  onClick: handleChange,
19841
19838
  ref: ref,
19842
19839
  ownerState: ownerState
@@ -20016,7 +20013,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20016
20013
  });
20017
20014
  const classes = useUtilityClasses$1E(ownerState);
20018
20015
  return /*#__PURE__*/jsxRuntime_1(IconButtonRoot, _extends({
20019
- className: clsx(classes.root, className),
20016
+ className: clsx$1(classes.root, className),
20020
20017
  centerRipple: true,
20021
20018
  focusRipple: !disableFocusRipple,
20022
20019
  disabled: disabled,
@@ -20260,7 +20257,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20260
20257
  role: role,
20261
20258
  elevation: 0,
20262
20259
  ownerState: ownerState,
20263
- className: clsx(classes.root, className),
20260
+ className: clsx$1(classes.root, className),
20264
20261
  ref: ref
20265
20262
  }, other, {
20266
20263
  children: [icon !== false ? /*#__PURE__*/jsxRuntime_1(AlertIcon, {
@@ -20528,7 +20525,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20528
20525
  as: Component,
20529
20526
  ref: ref,
20530
20527
  ownerState: ownerState,
20531
- className: clsx(classes.root, className)
20528
+ className: clsx$1(classes.root, className)
20532
20529
  }, other));
20533
20530
  });
20534
20531
  Typography.propTypes /* remove-proptypes */ = {
@@ -20652,7 +20649,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20652
20649
  component: "div",
20653
20650
  ownerState: ownerState,
20654
20651
  ref: ref,
20655
- className: clsx(classes.root, className)
20652
+ className: clsx$1(classes.root, className)
20656
20653
  }, other));
20657
20654
  });
20658
20655
  AlertTitle.propTypes /* remove-proptypes */ = {
@@ -20803,7 +20800,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20803
20800
  component: "header",
20804
20801
  ownerState: ownerState,
20805
20802
  elevation: 4,
20806
- className: clsx(classes.root, className, position === 'fixed' && 'mui-fixed'),
20803
+ className: clsx$1(classes.root, className, position === 'fixed' && 'mui-fixed'),
20807
20804
  ref: ref
20808
20805
  }, other));
20809
20806
  });
@@ -21123,7 +21120,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21123
21120
  const classes = useUtilityClasses$1z(ownerState);
21124
21121
  return /*#__PURE__*/jsxRuntime_1(ListSubheaderRoot, _extends({
21125
21122
  as: component,
21126
- className: clsx(classes.root, className),
21123
+ className: clsx$1(classes.root, className),
21127
21124
  ref: ref,
21128
21125
  ownerState: ownerState
21129
21126
  }, other));
@@ -21264,8 +21261,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21264
21261
  borderRadius: 32 / 2,
21265
21262
  whiteSpace: 'nowrap',
21266
21263
  transition: theme.transitions.create(['background-color', 'box-shadow']),
21267
- // label will inherit this from root, then `clickable` class overrides this for both
21268
- cursor: 'default',
21269
21264
  // We disable the focus ring for mouse, touch and keyboard users.
21270
21265
  outline: 0,
21271
21266
  textDecoration: 'none',
@@ -21524,23 +21519,23 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21524
21519
  let deleteIcon = null;
21525
21520
  if (onDelete) {
21526
21521
  deleteIcon = deleteIconProp && /*#__PURE__*/React__namespace.isValidElement(deleteIconProp) ? /*#__PURE__*/React__namespace.cloneElement(deleteIconProp, {
21527
- className: clsx(deleteIconProp.props.className, classes.deleteIcon),
21522
+ className: clsx$1(deleteIconProp.props.className, classes.deleteIcon),
21528
21523
  onClick: handleDeleteIconClick
21529
21524
  }) : /*#__PURE__*/jsxRuntime_1(CancelIcon, {
21530
- className: clsx(classes.deleteIcon),
21525
+ className: clsx$1(classes.deleteIcon),
21531
21526
  onClick: handleDeleteIconClick
21532
21527
  });
21533
21528
  }
21534
21529
  let avatar = null;
21535
21530
  if (avatarProp && /*#__PURE__*/React__namespace.isValidElement(avatarProp)) {
21536
21531
  avatar = /*#__PURE__*/React__namespace.cloneElement(avatarProp, {
21537
- className: clsx(classes.avatar, avatarProp.props.className)
21532
+ className: clsx$1(classes.avatar, avatarProp.props.className)
21538
21533
  });
21539
21534
  }
21540
21535
  let icon = null;
21541
21536
  if (iconProp && /*#__PURE__*/React__namespace.isValidElement(iconProp)) {
21542
21537
  icon = /*#__PURE__*/React__namespace.cloneElement(iconProp, {
21543
- className: clsx(classes.icon, iconProp.props.className)
21538
+ className: clsx$1(classes.icon, iconProp.props.className)
21544
21539
  });
21545
21540
  }
21546
21541
  {
@@ -21550,7 +21545,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21550
21545
  }
21551
21546
  return /*#__PURE__*/jsxRuntime_2(ChipRoot, _extends({
21552
21547
  as: component,
21553
- className: clsx(classes.root, className),
21548
+ className: clsx$1(classes.root, className),
21554
21549
  disabled: clickable && disabled ? true : undefined,
21555
21550
  onClick: onClick,
21556
21551
  onKeyDown: handleKeyDown,
@@ -21560,7 +21555,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21560
21555
  ownerState: ownerState
21561
21556
  }, moreProps, other, {
21562
21557
  children: [avatar || icon, /*#__PURE__*/jsxRuntime_1(ChipLabel, {
21563
- className: clsx(classes.label),
21558
+ className: clsx$1(classes.label),
21564
21559
  ownerState: ownerState,
21565
21560
  children: label
21566
21561
  }), deleteIcon]
@@ -22170,7 +22165,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22170
22165
  ref: ref,
22171
22166
  onClick: handleClick
22172
22167
  }, other, {
22173
- className: clsx(classes.root, rootProps.className, className, readOnly && 'MuiInputBase-readOnly'),
22168
+ className: clsx$1(classes.root, rootProps.className, className, readOnly && 'MuiInputBase-readOnly'),
22174
22169
  children: [startAdornment, /*#__PURE__*/jsxRuntime_1(FormControlContext$1.Provider, {
22175
22170
  value: null,
22176
22171
  children: /*#__PURE__*/jsxRuntime_1(Input, _extends({
@@ -22197,7 +22192,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22197
22192
  ownerState: _extends({}, ownerState, inputProps.ownerState)
22198
22193
  }, {
22199
22194
  ref: handleInputRef,
22200
- className: clsx(classes.input, inputProps.className, readOnly && 'MuiInputBase-readOnly'),
22195
+ className: clsx$1(classes.input, inputProps.className, readOnly && 'MuiInputBase-readOnly'),
22201
22196
  onBlur: handleBlur,
22202
22197
  onChange: handleChange,
22203
22198
  onFocus: handleFocus
@@ -22814,6 +22809,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22814
22809
  props: inProps,
22815
22810
  name: 'MuiAutocomplete'
22816
22811
  });
22812
+
22817
22813
  /* eslint-disable @typescript-eslint/no-unused-vars */
22818
22814
  const {
22819
22815
  autoComplete = false,
@@ -22842,10 +22838,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22842
22838
  freeSolo = false,
22843
22839
  fullWidth = false,
22844
22840
  getLimitTagsText = more => `+${more}`,
22845
- getOptionLabel = option => {
22846
- var _option$label;
22847
- return (_option$label = option.label) != null ? _option$label : option;
22848
- },
22841
+ getOptionLabel: getOptionLabelProp,
22849
22842
  groupBy,
22850
22843
  handleHomeEndKeys = !props.freeSolo,
22851
22844
  includeInputInList = false,
@@ -22910,6 +22903,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22910
22903
  } = _getListboxProps,
22911
22904
  otherListboxProps = _objectWithoutPropertiesLoose(_getListboxProps, _excluded2$9);
22912
22905
  const combinedListboxRef = useForkRef(listboxRef, externalListboxRef);
22906
+ const defaultGetOptionLabel = option => {
22907
+ var _option$label;
22908
+ return (_option$label = option.label) != null ? _option$label : option;
22909
+ };
22910
+ const getOptionLabel = getOptionLabelProp || defaultGetOptionLabel;
22913
22911
 
22914
22912
  // If you modify this, make sure to keep the `AutocompleteOwnerState` type in sync.
22915
22913
  const ownerState = _extends({}, props, {
@@ -22917,6 +22915,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22917
22915
  expanded,
22918
22916
  focused,
22919
22917
  fullWidth,
22918
+ getOptionLabel,
22920
22919
  hasClearIcon,
22921
22920
  hasPopupIcon,
22922
22921
  inputFocused: focusedTag === -1,
@@ -22988,7 +22987,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22988
22987
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
22989
22988
  children: [/*#__PURE__*/jsxRuntime_1(AutocompleteRoot, _extends({
22990
22989
  ref: ref,
22991
- className: clsx(classes.root, className),
22990
+ className: clsx$1(classes.root, className),
22992
22991
  ownerState: ownerState
22993
22992
  }, getRootProps(other), {
22994
22993
  children: renderInput({
@@ -23015,7 +23014,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23015
23014
  title: clearText,
23016
23015
  ownerState: ownerState
23017
23016
  }, clearIndicatorSlotProps, {
23018
- className: clsx(classes.clearIndicator, clearIndicatorSlotProps == null ? void 0 : clearIndicatorSlotProps.className),
23017
+ className: clsx$1(classes.clearIndicator, clearIndicatorSlotProps == null ? void 0 : clearIndicatorSlotProps.className),
23019
23018
  children: clearIcon
23020
23019
  })) : null, hasPopupIcon ? /*#__PURE__*/jsxRuntime_1(AutocompletePopupIndicator, _extends({}, getPopupIndicatorProps(), {
23021
23020
  disabled: disabled,
@@ -23023,7 +23022,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23023
23022
  title: popupOpen ? closeText : openText,
23024
23023
  ownerState: ownerState
23025
23024
  }, popupIndicatorSlotProps, {
23026
- className: clsx(classes.popupIndicator, popupIndicatorSlotProps == null ? void 0 : popupIndicatorSlotProps.className),
23025
+ className: clsx$1(classes.popupIndicator, popupIndicatorSlotProps == null ? void 0 : popupIndicatorSlotProps.className),
23027
23026
  children: popupIcon
23028
23027
  })) : null]
23029
23028
  })
@@ -23045,12 +23044,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23045
23044
  anchorEl: anchorEl,
23046
23045
  open: popupOpen
23047
23046
  }, popperSlotProps, {
23048
- className: clsx(classes.popper, popperSlotProps == null ? void 0 : popperSlotProps.className),
23047
+ className: clsx$1(classes.popper, popperSlotProps == null ? void 0 : popperSlotProps.className),
23049
23048
  children: /*#__PURE__*/jsxRuntime_2(AutocompletePaper, _extends({
23050
23049
  ownerState: ownerState,
23051
23050
  as: PaperComponent
23052
23051
  }, paperSlotProps, {
23053
- className: clsx(classes.paper, paperSlotProps == null ? void 0 : paperSlotProps.className),
23052
+ className: clsx$1(classes.paper, paperSlotProps == null ? void 0 : paperSlotProps.className),
23054
23053
  children: [loading && groupedOptions.length === 0 ? /*#__PURE__*/jsxRuntime_1(AutocompleteLoading, {
23055
23054
  className: classes.loading,
23056
23055
  ownerState: ownerState,
@@ -23220,9 +23219,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23220
23219
  * A function that determines the filtered options to be rendered on search.
23221
23220
  *
23222
23221
  * @default createFilterOptions()
23223
- * @param {T[]} options The options to render.
23222
+ * @param {Value[]} options The options to render.
23224
23223
  * @param {object} state The state of the component.
23225
- * @returns {T[]}
23224
+ * @returns {Value[]}
23226
23225
  */
23227
23226
  filterOptions: PropTypes.func,
23228
23227
  /**
@@ -23256,7 +23255,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23256
23255
  /**
23257
23256
  * Used to determine the disabled state for a given option.
23258
23257
  *
23259
- * @param {T} option The option to test.
23258
+ * @param {Value} option The option to test.
23260
23259
  * @returns {boolean}
23261
23260
  */
23262
23261
  getOptionDisabled: PropTypes.func,
@@ -23266,7 +23265,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23266
23265
  *
23267
23266
  * If used in free solo mode, it must accept both the type of the options and a string.
23268
23267
  *
23269
- * @param {T} option
23268
+ * @param {Value} option
23270
23269
  * @returns {string}
23271
23270
  * @default (option) => option.label ?? option
23272
23271
  */
@@ -23275,7 +23274,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23275
23274
  * If provided, the options will be grouped under the returned string.
23276
23275
  * The groupBy value is also used as the text for group headings when `renderGroup` is not provided.
23277
23276
  *
23278
- * @param {T} options The options to group.
23277
+ * @param {Value} options The options to group.
23279
23278
  * @returns {string}
23280
23279
  */
23281
23280
  groupBy: PropTypes.func,
@@ -23304,8 +23303,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23304
23303
  * Uses strict equality by default.
23305
23304
  * ⚠️ Both arguments need to be handled, an option can only match with one value.
23306
23305
  *
23307
- * @param {T} option The option to test.
23308
- * @param {T} value The value to test against.
23306
+ * @param {Value} option The option to test.
23307
+ * @param {Value} value The value to test against.
23309
23308
  * @returns {boolean}
23310
23309
  */
23311
23310
  isOptionEqualToValue: PropTypes.func,
@@ -23353,7 +23352,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23353
23352
  * Callback fired when the value changes.
23354
23353
  *
23355
23354
  * @param {React.SyntheticEvent} event The event source of the callback.
23356
- * @param {T|T[]} value The new value of the component.
23355
+ * @param {Value|Value[]} value The new value of the component.
23357
23356
  * @param {string} reason One of "createOption", "selectOption", "removeOption", "blur" or "clear".
23358
23357
  * @param {string} [details]
23359
23358
  */
@@ -23370,7 +23369,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23370
23369
  * Callback fired when the highlight option changes.
23371
23370
  *
23372
23371
  * @param {React.SyntheticEvent} event The event source of the callback.
23373
- * @param {T} option The highlighted option.
23372
+ * @param {Value} option The highlighted option.
23374
23373
  * @param {string} reason Can be: `"keyboard"`, `"auto"`, `"mouse"`, `"touch"`.
23375
23374
  */
23376
23375
  onHighlightChange: PropTypes.func,
@@ -23447,7 +23446,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23447
23446
  * Render the option, use `getOptionLabel` by default.
23448
23447
  *
23449
23448
  * @param {object} props The props to apply on the li element.
23450
- * @param {T} option The option to render.
23449
+ * @param {Value} option The option to render.
23451
23450
  * @param {object} state The state of each option.
23452
23451
  * @param {object} ownerState The state of the Autocomplete component.
23453
23452
  * @returns {ReactNode}
@@ -23456,7 +23455,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23456
23455
  /**
23457
23456
  * Render the selected value.
23458
23457
  *
23459
- * @param {T[]} value The `value` provided to the component.
23458
+ * @param {Value[]} value The `value` provided to the component.
23460
23459
  * @param {function} getTagProps A tag props getter.
23461
23460
  * @param {object} ownerState The state of the Autocomplete component.
23462
23461
  * @returns {ReactNode}
@@ -23678,7 +23677,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23678
23677
  return /*#__PURE__*/jsxRuntime_1(AvatarRoot, _extends({
23679
23678
  as: component,
23680
23679
  ownerState: ownerState,
23681
- className: clsx(classes.root, className),
23680
+ className: clsx$1(classes.root, className),
23682
23681
  ref: ref
23683
23682
  }, other, {
23684
23683
  children: children
@@ -23843,21 +23842,21 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23843
23842
  return /*#__PURE__*/jsxRuntime_2(AvatarGroupRoot, _extends({
23844
23843
  as: component,
23845
23844
  ownerState: ownerState,
23846
- className: clsx(classes.root, className),
23845
+ className: clsx$1(classes.root, className),
23847
23846
  ref: ref
23848
23847
  }, other, {
23849
23848
  children: [extraAvatars ? /*#__PURE__*/jsxRuntime_2(AvatarGroupAvatar, _extends({
23850
23849
  ownerState: ownerState,
23851
23850
  variant: variant
23852
23851
  }, additionalAvatarSlotProps, {
23853
- className: clsx(classes.avatar, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.className),
23852
+ className: clsx$1(classes.avatar, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.className),
23854
23853
  style: _extends({
23855
23854
  marginLeft
23856
23855
  }, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.style),
23857
23856
  children: ["+", extraAvatars]
23858
23857
  })) : null, children.slice(0, maxAvatars).reverse().map((child, index) => {
23859
23858
  return /*#__PURE__*/React__namespace.cloneElement(child, {
23860
- className: clsx(child.props.className, classes.avatar),
23859
+ className: clsx$1(child.props.className, classes.avatar),
23861
23860
  style: _extends({
23862
23861
  // Consistent with "&:last-child" styling for the default spacing,
23863
23862
  // we do not apply custom marginLeft spacing on the last child
@@ -24214,7 +24213,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24214
24213
  "aria-hidden": true
24215
24214
  }, rootSlotProps, {
24216
24215
  as: (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : component,
24217
- className: clsx(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
24216
+ className: clsx$1(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
24218
24217
  ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
24219
24218
  classes: classes,
24220
24219
  ref: ref,
@@ -24550,13 +24549,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24550
24549
  as: component
24551
24550
  },
24552
24551
  ownerState,
24553
- className: clsx(rootSlotProps == null ? void 0 : rootSlotProps.className, classes.root, className)
24552
+ className: clsx$1(rootSlotProps == null ? void 0 : rootSlotProps.className, classes.root, className)
24554
24553
  });
24555
24554
  const badgeProps = useSlotProps({
24556
24555
  elementType: BadgeSlot,
24557
24556
  externalSlotProps: badgeSlotProps,
24558
24557
  ownerState,
24559
- className: clsx(classes.badge, badgeSlotProps == null ? void 0 : badgeSlotProps.className)
24558
+ className: clsx$1(classes.badge, badgeSlotProps == null ? void 0 : badgeSlotProps.className)
24560
24559
  });
24561
24560
  return /*#__PURE__*/jsxRuntime_2(RootSlot, _extends({}, rootProps, {
24562
24561
  children: [children, /*#__PURE__*/jsxRuntime_1(BadgeSlot, _extends({}, badgeProps, {
@@ -24731,7 +24730,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24731
24730
  const classes = useUtilityClasses$1r(ownerState);
24732
24731
  return /*#__PURE__*/jsxRuntime_1(BottomNavigationRoot, _extends({
24733
24732
  as: component,
24734
- className: clsx(classes.root, className),
24733
+ className: clsx$1(classes.root, className),
24735
24734
  ref: ref,
24736
24735
  ownerState: ownerState
24737
24736
  }, other, {
@@ -24900,7 +24899,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24900
24899
  };
24901
24900
  return /*#__PURE__*/jsxRuntime_2(BottomNavigationActionRoot, _extends({
24902
24901
  ref: ref,
24903
- className: clsx(classes.root, className),
24902
+ className: clsx$1(classes.root, className),
24904
24903
  focusRipple: true,
24905
24904
  onClick: handleChange,
24906
24905
  ownerState: ownerState
@@ -25222,7 +25221,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25222
25221
  ref: ref,
25223
25222
  component: component,
25224
25223
  color: "text.secondary",
25225
- className: clsx(classes.root, className),
25224
+ className: clsx$1(classes.root, className),
25226
25225
  ownerState: ownerState
25227
25226
  }, other, {
25228
25227
  children: /*#__PURE__*/jsxRuntime_1(BreadcrumbsOl, {
@@ -25572,11 +25571,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25572
25571
  });
25573
25572
  return /*#__PURE__*/jsxRuntime_2(ButtonRoot, _extends({
25574
25573
  ownerState: ownerState,
25575
- className: clsx(contextProps.className, classes.root, className),
25574
+ className: clsx$1(contextProps.className, classes.root, className),
25576
25575
  component: component,
25577
25576
  disabled: disabled,
25578
25577
  focusRipple: !disableFocusRipple,
25579
- focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
25578
+ focusVisibleClassName: clsx$1(classes.focusVisible, focusVisibleClassName),
25580
25579
  ref: ref,
25581
25580
  type: type
25582
25581
  }, other, {
@@ -25612,7 +25611,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25612
25611
  * The component used for the root node.
25613
25612
  * Either a string to use a HTML element or a component.
25614
25613
  */
25615
- component: PropTypes /* @typescript-to-proptypes-ignore */.elementType,
25614
+ component: PropTypes.elementType,
25616
25615
  /**
25617
25616
  * If `true`, the component is disabled.
25618
25617
  * @default false
@@ -25846,7 +25845,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25846
25845
  return /*#__PURE__*/jsxRuntime_1(ButtonGroupRoot, _extends({
25847
25846
  as: component,
25848
25847
  role: "group",
25849
- className: clsx(classes.root, className),
25848
+ className: clsx$1(classes.root, className),
25850
25849
  ref: ref,
25851
25850
  ownerState: ownerState
25852
25851
  }, other, {
@@ -25973,7 +25972,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25973
25972
  });
25974
25973
  const classes = useUtilityClasses$1m(ownerState);
25975
25974
  return /*#__PURE__*/jsxRuntime_1(CardRoot, _extends({
25976
- className: clsx(classes.root, className),
25975
+ className: clsx$1(classes.root, className),
25977
25976
  elevation: raised ? 8 : undefined,
25978
25977
  ref: ref,
25979
25978
  ownerState: ownerState
@@ -26087,8 +26086,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26087
26086
  const ownerState = props;
26088
26087
  const classes = useUtilityClasses$1l(ownerState);
26089
26088
  return /*#__PURE__*/jsxRuntime_2(CardActionAreaRoot, _extends({
26090
- className: clsx(classes.root, className),
26091
- focusVisibleClassName: clsx(focusVisibleClassName, classes.focusVisible),
26089
+ className: clsx$1(classes.root, className),
26090
+ focusVisibleClassName: clsx$1(focusVisibleClassName, classes.focusVisible),
26092
26091
  ref: ref,
26093
26092
  ownerState: ownerState
26094
26093
  }, other, {
@@ -26178,7 +26177,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26178
26177
  });
26179
26178
  const classes = useUtilityClasses$1k(ownerState);
26180
26179
  return /*#__PURE__*/jsxRuntime_1(CardActionsRoot, _extends({
26181
- className: clsx(classes.root, className),
26180
+ className: clsx$1(classes.root, className),
26182
26181
  ownerState: ownerState,
26183
26182
  ref: ref
26184
26183
  }, other));
@@ -26256,7 +26255,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26256
26255
  const classes = useUtilityClasses$1j(ownerState);
26257
26256
  return /*#__PURE__*/jsxRuntime_1(CardContentRoot, _extends({
26258
26257
  as: component,
26259
- className: clsx(classes.root, className),
26258
+ className: clsx$1(classes.root, className),
26260
26259
  ownerState: ownerState,
26261
26260
  ref: ref
26262
26261
  }, other));
@@ -26396,7 +26395,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26396
26395
  }));
26397
26396
  }
26398
26397
  return /*#__PURE__*/jsxRuntime_2(CardHeaderRoot, _extends({
26399
- className: clsx(classes.root, className),
26398
+ className: clsx$1(classes.root, className),
26400
26399
  as: component,
26401
26400
  ref: ref,
26402
26401
  ownerState: ownerState
@@ -26550,7 +26549,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26550
26549
  });
26551
26550
  const classes = useUtilityClasses$1h(ownerState);
26552
26551
  return /*#__PURE__*/jsxRuntime_1(CardMediaRoot, _extends({
26553
- className: clsx(classes.root, className),
26552
+ className: clsx$1(classes.root, className),
26554
26553
  as: component,
26555
26554
  role: !isMediaComponent && image ? 'img' : undefined,
26556
26555
  ref: ref,
@@ -26732,7 +26731,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26732
26731
  const classes = useUtilityClasses$1g(ownerState);
26733
26732
  return /*#__PURE__*/jsxRuntime_2(SwitchBaseRoot, _extends({
26734
26733
  component: "span",
26735
- className: clsx(classes.root, className),
26734
+ className: clsx$1(classes.root, className),
26736
26735
  centerRipple: true,
26737
26736
  focusRipple: !disableFocusRipple,
26738
26737
  disabled: disabled,
@@ -26975,7 +26974,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26975
26974
  }),
26976
26975
  ownerState: ownerState,
26977
26976
  ref: ref,
26978
- className: clsx(classes.root, className)
26977
+ className: clsx$1(classes.root, className)
26979
26978
  }, other, {
26980
26979
  classes: classes
26981
26980
  }));
@@ -27235,7 +27234,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27235
27234
  rootStyle.transform = 'rotate(-90deg)';
27236
27235
  }
27237
27236
  return /*#__PURE__*/jsxRuntime_1(CircularProgressRoot, _extends({
27238
- className: clsx(classes.root, className),
27237
+ className: clsx$1(classes.root, className),
27239
27238
  style: _extends({
27240
27239
  width: size,
27241
27240
  height: size
@@ -27635,10 +27634,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27635
27634
  as: component,
27636
27635
  theme
27637
27636
  }, {
27638
- className: clsx(className, rootSlotProps == null ? void 0 : rootSlotProps.className, classes == null ? void 0 : classes.root, !ownerState.open && ownerState.exited && (classes == null ? void 0 : classes.hidden))
27637
+ className: clsx$1(className, rootSlotProps == null ? void 0 : rootSlotProps.className, classes == null ? void 0 : classes.root, !ownerState.open && ownerState.exited && (classes == null ? void 0 : classes.hidden))
27639
27638
  }),
27640
27639
  backdrop: () => _extends({}, BackdropProps, resolveComponentProps(backdropSlotProps, ownerState), {
27641
- className: clsx(backdropSlotProps == null ? void 0 : backdropSlotProps.className, BackdropProps == null ? void 0 : BackdropProps.className, classes == null ? void 0 : classes.backdrop)
27640
+ className: clsx$1(backdropSlotProps == null ? void 0 : backdropSlotProps.className, BackdropProps == null ? void 0 : BackdropProps.className, classes == null ? void 0 : classes.backdrop)
27642
27641
  })
27643
27642
  },
27644
27643
  onTransitionEnter: () => setExited(false),
@@ -28037,7 +28036,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28037
28036
  };
28038
28037
  }, [ariaLabelledby]);
28039
28038
  return /*#__PURE__*/jsxRuntime_1(DialogRoot, _extends({
28040
- className: clsx(classes.root, className),
28039
+ className: clsx$1(classes.root, className),
28041
28040
  closeAfterTransition: true,
28042
28041
  components: {
28043
28042
  Backdrop: DialogBackdrop
@@ -28062,7 +28061,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28062
28061
  role: "presentation"
28063
28062
  }, TransitionProps, {
28064
28063
  children: /*#__PURE__*/jsxRuntime_1(DialogContainer, {
28065
- className: clsx(classes.container),
28064
+ className: clsx$1(classes.container),
28066
28065
  onMouseDown: handleMouseDown,
28067
28066
  ownerState: ownerState,
28068
28067
  children: /*#__PURE__*/jsxRuntime_1(DialogPaper, _extends({
@@ -28072,7 +28071,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28072
28071
  "aria-describedby": ariaDescribedby,
28073
28072
  "aria-labelledby": ariaLabelledby
28074
28073
  }, PaperProps, {
28075
- className: clsx(classes.paper, PaperProps.className),
28074
+ className: clsx$1(classes.paper, PaperProps.className),
28076
28075
  ownerState: ownerState,
28077
28076
  children: /*#__PURE__*/jsxRuntime_1(DialogContext$1.Provider, {
28078
28077
  value: dialogContextValue,
@@ -28267,7 +28266,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28267
28266
  });
28268
28267
  const classes = useUtilityClasses$1c(ownerState);
28269
28268
  return /*#__PURE__*/jsxRuntime_1(DialogActionsRoot, _extends({
28270
- className: clsx(classes.root, className),
28269
+ className: clsx$1(classes.root, className),
28271
28270
  ownerState: ownerState,
28272
28271
  ref: ref
28273
28272
  }, other));
@@ -28366,7 +28365,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28366
28365
  });
28367
28366
  const classes = useUtilityClasses$1b(ownerState);
28368
28367
  return /*#__PURE__*/jsxRuntime_1(DialogContentRoot, _extends({
28369
- className: clsx(classes.root, className),
28368
+ className: clsx$1(classes.root, className),
28370
28369
  ownerState: ownerState,
28371
28370
  ref: ref
28372
28371
  }, other));
@@ -28439,7 +28438,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28439
28438
  color: "text.secondary",
28440
28439
  ref: ref,
28441
28440
  ownerState: ownerState,
28442
- className: clsx(classes.root, className)
28441
+ className: clsx$1(classes.root, className)
28443
28442
  }, props, {
28444
28443
  classes: classes
28445
28444
  }));
@@ -28503,7 +28502,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28503
28502
  } = React__namespace.useContext(DialogContext$1);
28504
28503
  return /*#__PURE__*/jsxRuntime_1(DialogTitleRoot, _extends({
28505
28504
  component: "h2",
28506
- className: clsx(classes.root, className),
28505
+ className: clsx$1(classes.root, className),
28507
28506
  ownerState: ownerState,
28508
28507
  ref: ref,
28509
28508
  variant: "h6",
@@ -28700,7 +28699,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28700
28699
  const classes = useUtilityClasses$18(ownerState);
28701
28700
  return /*#__PURE__*/jsxRuntime_1(DividerRoot, _extends({
28702
28701
  as: component,
28703
- className: clsx(classes.root, className),
28702
+ className: clsx$1(classes.root, className),
28704
28703
  role: role,
28705
28704
  ref: ref,
28706
28705
  ownerState: ownerState
@@ -28712,6 +28711,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28712
28711
  }) : null
28713
28712
  }));
28714
28713
  });
28714
+
28715
+ /**
28716
+ * The following flag is used to ensure that this component isn't tabbable i.e.
28717
+ * does not get highlight/focus inside of MUI List.
28718
+ */
28719
+ Divider.muiSkipListHighlight = true;
28715
28720
  Divider.propTypes /* remove-proptypes */ = {
28716
28721
  // ----------------------------- Warning --------------------------------
28717
28722
  // | These PropTypes are generated from the TypeScript type definitions |
@@ -29257,13 +29262,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29257
29262
  elevation: variant === 'temporary' ? elevation : 0,
29258
29263
  square: true
29259
29264
  }, PaperProps, {
29260
- className: clsx(classes.paper, PaperProps.className),
29265
+ className: clsx$1(classes.paper, PaperProps.className),
29261
29266
  ownerState: ownerState,
29262
29267
  children: children
29263
29268
  }));
29264
29269
  if (variant === 'permanent') {
29265
29270
  return /*#__PURE__*/jsxRuntime_1(DrawerDockedRoot, _extends({
29266
- className: clsx(classes.root, classes.docked, className),
29271
+ className: clsx$1(classes.root, classes.docked, className),
29267
29272
  ownerState: ownerState,
29268
29273
  ref: ref
29269
29274
  }, other, {
@@ -29280,7 +29285,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29280
29285
  }));
29281
29286
  if (variant === 'persistent') {
29282
29287
  return /*#__PURE__*/jsxRuntime_1(DrawerDockedRoot, _extends({
29283
- className: clsx(classes.root, classes.docked, className),
29288
+ className: clsx$1(classes.root, classes.docked, className),
29284
29289
  ownerState: ownerState,
29285
29290
  ref: ref
29286
29291
  }, other, {
@@ -29293,7 +29298,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29293
29298
  BackdropProps: _extends({}, BackdropProps, BackdropPropsProp, {
29294
29299
  transitionDuration
29295
29300
  }),
29296
- className: clsx(classes.root, classes.modal, className),
29301
+ className: clsx$1(classes.root, classes.modal, className),
29297
29302
  open: open,
29298
29303
  ownerState: ownerState,
29299
29304
  onClose: onClose,
@@ -29529,11 +29534,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29529
29534
  });
29530
29535
  const classes = useUtilityClasses$16(ownerState);
29531
29536
  return /*#__PURE__*/jsxRuntime_1(FabRoot, _extends({
29532
- className: clsx(classes.root, className),
29537
+ className: clsx$1(classes.root, className),
29533
29538
  component: component,
29534
29539
  disabled: disabled,
29535
29540
  focusRipple: !disableFocusRipple,
29536
- focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
29541
+ focusVisibleClassName: clsx$1(classes.focusVisible, focusVisibleClassName),
29537
29542
  ownerState: ownerState,
29538
29543
  ref: ref
29539
29544
  }, other, {
@@ -29569,7 +29574,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29569
29574
  * The component used for the root node.
29570
29575
  * Either a string to use a HTML element or a component.
29571
29576
  */
29572
- component: PropTypes /* @typescript-to-proptypes-ignore */.elementType,
29577
+ component: PropTypes.elementType,
29573
29578
  /**
29574
29579
  * If `true`, the component is disabled.
29575
29580
  * @default false
@@ -30217,7 +30222,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30217
30222
  children: /*#__PURE__*/jsxRuntime_1(FormControlRoot, _extends({
30218
30223
  as: component,
30219
30224
  ownerState: ownerState,
30220
- className: clsx(classes.root, className),
30225
+ className: clsx$1(classes.root, className),
30221
30226
  ref: ref
30222
30227
  }, other, {
30223
30228
  children: children
@@ -30497,12 +30502,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30497
30502
  label = /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
30498
30503
  component: "span"
30499
30504
  }, typographySlotProps, {
30500
- className: clsx(classes.label, typographySlotProps == null ? void 0 : typographySlotProps.className),
30505
+ className: clsx$1(classes.label, typographySlotProps == null ? void 0 : typographySlotProps.className),
30501
30506
  children: label
30502
30507
  }));
30503
30508
  }
30504
30509
  return /*#__PURE__*/jsxRuntime_2(FormControlLabelRoot, _extends({
30505
- className: clsx(classes.root, className),
30510
+ className: clsx$1(classes.root, className),
30506
30511
  ownerState: ownerState,
30507
30512
  ref: ref
30508
30513
  }, other, {
@@ -30664,7 +30669,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30664
30669
  });
30665
30670
  const classes = useUtilityClasses$12(ownerState);
30666
30671
  return /*#__PURE__*/jsxRuntime_1(FormGroupRoot, _extends({
30667
- className: clsx(classes.root, className),
30672
+ className: clsx$1(classes.root, className),
30668
30673
  ownerState: ownerState,
30669
30674
  ref: ref
30670
30675
  }, other));
@@ -30786,7 +30791,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30786
30791
  return /*#__PURE__*/jsxRuntime_1(FormHelperTextRoot, _extends({
30787
30792
  as: component,
30788
30793
  ownerState: ownerState,
30789
- className: clsx(classes.root, className),
30794
+ className: clsx$1(classes.root, className),
30790
30795
  ref: ref
30791
30796
  }, other, {
30792
30797
  children: children === ' ' ? // notranslate needed while Google Translate will not fix zero-width space issue
@@ -30947,7 +30952,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30947
30952
  return /*#__PURE__*/jsxRuntime_2(FormLabelRoot, _extends({
30948
30953
  as: component,
30949
30954
  ownerState: ownerState,
30950
- className: clsx(classes.root, className),
30955
+ className: clsx$1(classes.root, className),
30951
30956
  ref: ref
30952
30957
  }, other, {
30953
30958
  children: [children, fcs.required && /*#__PURE__*/jsxRuntime_2(AsteriskComponent, {
@@ -31433,7 +31438,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31433
31438
  value: columns,
31434
31439
  children: /*#__PURE__*/jsxRuntime_1(GridRoot, _extends({
31435
31440
  ownerState: ownerState,
31436
- className: clsx(classes.root, className),
31441
+ className: clsx$1(classes.root, className),
31437
31442
  as: component,
31438
31443
  ref: ref
31439
31444
  }, otherFiltered))
@@ -32315,7 +32320,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32315
32320
  });
32316
32321
  const classes = useUtilityClasses$_(ownerState);
32317
32322
  return /*#__PURE__*/jsxRuntime_1(HiddenCssRoot, {
32318
- className: clsx(classes.root, className),
32323
+ className: clsx$1(classes.root, className),
32319
32324
  ownerState: ownerState,
32320
32325
  children: children
32321
32326
  });
@@ -32589,7 +32594,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32589
32594
  const classes = useUtilityClasses$Z(ownerState);
32590
32595
  return /*#__PURE__*/jsxRuntime_1(IconRoot, _extends({
32591
32596
  as: Component,
32592
- className: clsx(baseClassName,
32597
+ className: clsx$1(baseClassName,
32593
32598
  // Prevent the translation of the text content.
32594
32599
  // The font relies on the exact text content to render the icon.
32595
32600
  'notranslate', classes.root, className),
@@ -32741,7 +32746,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32741
32746
  const classes = useUtilityClasses$Y(ownerState);
32742
32747
  return /*#__PURE__*/jsxRuntime_1(ImageListRoot, _extends({
32743
32748
  as: component,
32744
- className: clsx(classes.root, classes[variant], className),
32749
+ className: clsx$1(classes.root, classes[variant], className),
32745
32750
  ref: ref,
32746
32751
  style: style,
32747
32752
  ownerState: ownerState
@@ -32898,7 +32903,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32898
32903
  const classes = useUtilityClasses$X(ownerState);
32899
32904
  return /*#__PURE__*/jsxRuntime_1(ImageListItemRoot, _extends({
32900
32905
  as: component,
32901
- className: clsx(classes.root, classes[variant], className),
32906
+ className: clsx$1(classes.root, classes[variant], className),
32902
32907
  ref: ref,
32903
32908
  style: _extends({
32904
32909
  height,
@@ -32919,7 +32924,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32919
32924
  }
32920
32925
  if (child.type === 'img' || isMuiElement(child, ['Image'])) {
32921
32926
  return /*#__PURE__*/React__namespace.cloneElement(child, {
32922
- className: clsx(classes.img, child.props.className)
32927
+ className: clsx$1(classes.img, child.props.className)
32923
32928
  });
32924
32929
  }
32925
32930
  return child;
@@ -33117,7 +33122,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33117
33122
  const classes = useUtilityClasses$W(ownerState);
33118
33123
  return /*#__PURE__*/jsxRuntime_2(ImageListItemBarRoot, _extends({
33119
33124
  ownerState: ownerState,
33120
- className: clsx(classes.root, className),
33125
+ className: clsx$1(classes.root, className),
33121
33126
  ref: ref
33122
33127
  }, other, {
33123
33128
  children: [/*#__PURE__*/jsxRuntime_2(ImageListItemBarTitleWrap, {
@@ -33612,7 +33617,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33612
33617
  children: /*#__PURE__*/jsxRuntime_1(InputAdornmentRoot, _extends({
33613
33618
  as: component,
33614
33619
  ownerState: ownerState,
33615
- className: clsx(classes.root, className),
33620
+ className: clsx$1(classes.root, className),
33616
33621
  ref: ref
33617
33622
  }, other, {
33618
33623
  children: typeof children === 'string' && !disableTypography ? /*#__PURE__*/jsxRuntime_1(Typography$1, {
@@ -33809,7 +33814,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33809
33814
  "data-shrink": shrink,
33810
33815
  ownerState: ownerState,
33811
33816
  ref: ref,
33812
- className: clsx(classes.root, className)
33817
+ className: clsx$1(classes.root, className)
33813
33818
  }, other, {
33814
33819
  classes: classes
33815
33820
  }));
@@ -34161,7 +34166,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34161
34166
  }
34162
34167
  }
34163
34168
  return /*#__PURE__*/jsxRuntime_2(LinearProgressRoot, _extends({
34164
- className: clsx(classes.root, className),
34169
+ className: clsx$1(classes.root, className),
34165
34170
  ownerState: ownerState,
34166
34171
  role: "progressbar"
34167
34172
  }, rootProps, {
@@ -34380,7 +34385,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34380
34385
  const classes = useUtilityClasses$R(ownerState);
34381
34386
  return /*#__PURE__*/jsxRuntime_1(LinkRoot, _extends({
34382
34387
  color: color,
34383
- className: clsx(classes.root, className),
34388
+ className: clsx$1(classes.root, className),
34384
34389
  classes: TypographyClasses,
34385
34390
  component: component,
34386
34391
  onBlur: handleBlur,
@@ -34526,7 +34531,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34526
34531
  value: context,
34527
34532
  children: /*#__PURE__*/jsxRuntime_2(ListRoot, _extends({
34528
34533
  as: component,
34529
- className: clsx(classes.root, className),
34534
+ className: clsx$1(classes.root, className),
34530
34535
  ref: ref,
34531
34536
  ownerState: ownerState
34532
34537
  }, other, {
@@ -34727,9 +34732,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34727
34732
  // `ButtonBase` processes `href` or `to` if `component` is set to 'button'
34728
34733
  ,
34729
34734
  component: (other.href || other.to) && component === 'div' ? 'button' : component,
34730
- focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
34735
+ focusVisibleClassName: clsx$1(classes.focusVisible, focusVisibleClassName),
34731
34736
  ownerState: ownerState,
34732
- className: clsx(classes.root, className)
34737
+ className: clsx$1(classes.root, className)
34733
34738
  }, other, {
34734
34739
  classes: classes,
34735
34740
  children: children
@@ -34769,7 +34774,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34769
34774
  * The component used for the root node.
34770
34775
  * Either a string to use a HTML element or a component.
34771
34776
  */
34772
- component: PropTypes /* @typescript-to-proptypes-ignore */.elementType,
34777
+ component: PropTypes.elementType,
34773
34778
  /**
34774
34779
  * If `true`, compact vertical padding designed for keyboard and mouse input is used.
34775
34780
  * The prop defaults to the value inherited from the parent List component.
@@ -34871,7 +34876,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34871
34876
  });
34872
34877
  const classes = useUtilityClasses$O(ownerState);
34873
34878
  return /*#__PURE__*/jsxRuntime_1(ListItemSecondaryActionRoot, _extends({
34874
- className: clsx(classes.root, className),
34879
+ className: clsx$1(classes.root, className),
34875
34880
  ownerState: ownerState,
34876
34881
  ref: ref
34877
34882
  }, other));
@@ -35082,13 +35087,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35082
35087
  const Root = slots.root || components.Root || ListItemRoot;
35083
35088
  const rootProps = slotProps.root || componentsProps.root || {};
35084
35089
  const componentProps = _extends({
35085
- className: clsx(classes.root, rootProps.className, className),
35090
+ className: clsx$1(classes.root, rootProps.className, className),
35086
35091
  disabled
35087
35092
  }, other);
35088
35093
  let Component = componentProp || 'li';
35089
35094
  if (button) {
35090
35095
  componentProps.component = componentProp || 'div';
35091
- componentProps.focusVisibleClassName = clsx(listItemClasses$1.focusVisible, focusVisibleClassName);
35096
+ componentProps.focusVisibleClassName = clsx$1(listItemClasses$1.focusVisible, focusVisibleClassName);
35092
35097
  Component = ButtonBase$1;
35093
35098
  }
35094
35099
 
@@ -35109,7 +35114,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35109
35114
  value: childContext,
35110
35115
  children: /*#__PURE__*/jsxRuntime_2(ListItemContainer, _extends({
35111
35116
  as: ContainerComponent,
35112
- className: clsx(classes.container, ContainerClassName),
35117
+ className: clsx$1(classes.container, ContainerClassName),
35113
35118
  ref: handleRef,
35114
35119
  ownerState: ownerState
35115
35120
  }, ContainerProps, {
@@ -35195,7 +35200,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35195
35200
  * The component used for the root node.
35196
35201
  * Either a string to use a HTML element or a component.
35197
35202
  */
35198
- component: PropTypes /* @typescript-to-proptypes-ignore */.elementType,
35203
+ component: PropTypes.elementType,
35199
35204
  /**
35200
35205
  * The components used for each slot inside.
35201
35206
  *
@@ -35353,7 +35358,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35353
35358
  });
35354
35359
  const classes = useUtilityClasses$M(ownerState);
35355
35360
  return /*#__PURE__*/jsxRuntime_1(ListItemAvatarRoot, _extends({
35356
- className: clsx(classes.root, className),
35361
+ className: clsx$1(classes.root, className),
35357
35362
  ownerState: ownerState,
35358
35363
  ref: ref
35359
35364
  }, other));
@@ -35438,7 +35443,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35438
35443
  });
35439
35444
  const classes = useUtilityClasses$L(ownerState);
35440
35445
  return /*#__PURE__*/jsxRuntime_1(ListItemIconRoot, _extends({
35441
- className: clsx(classes.root, className),
35446
+ className: clsx$1(classes.root, className),
35442
35447
  ownerState: ownerState,
35443
35448
  ref: ref
35444
35449
  }, other));
@@ -35566,7 +35571,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35566
35571
  }));
35567
35572
  }
35568
35573
  return /*#__PURE__*/jsxRuntime_2(ListItemTextRoot, _extends({
35569
- className: clsx(classes.root, className),
35574
+ className: clsx$1(classes.root, className),
35570
35575
  ownerState: ownerState,
35571
35576
  ref: ref
35572
35577
  }, other, {
@@ -36191,7 +36196,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36191
36196
  ref: handlePaperRef
36192
36197
  },
36193
36198
  ownerState,
36194
- className: clsx(classes.paper, externalPaperSlotProps == null ? void 0 : externalPaperSlotProps.className)
36199
+ className: clsx$1(classes.paper, externalPaperSlotProps == null ? void 0 : externalPaperSlotProps.className)
36195
36200
  });
36196
36201
  const _useSlotProps = useSlotProps({
36197
36202
  elementType: RootSlot,
@@ -36208,7 +36213,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36208
36213
  open
36209
36214
  },
36210
36215
  ownerState,
36211
- className: clsx(classes.root, className)
36216
+ className: clsx$1(classes.root, className)
36212
36217
  }),
36213
36218
  {
36214
36219
  slotProps: rootSlotPropsProp
@@ -36410,7 +36415,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36410
36415
  var menuClasses$1 = menuClasses;
36411
36416
 
36412
36417
  const _excluded$R = ["onEntering"],
36413
- _excluded2$5 = ["autoFocus", "children", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"];
36418
+ _excluded2$5 = ["autoFocus", "children", "className", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant", "slots", "slotProps"];
36414
36419
  const RTL_ORIGIN = {
36415
36420
  vertical: 'top',
36416
36421
  horizontal: 'right'
@@ -36457,6 +36462,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36457
36462
  outline: 0
36458
36463
  });
36459
36464
  const Menu = /*#__PURE__*/React__namespace.forwardRef(function Menu(inProps, ref) {
36465
+ var _slots$paper, _slotProps$paper;
36460
36466
  const props = useThemeProps({
36461
36467
  props: inProps,
36462
36468
  name: 'MuiMenu'
@@ -36464,6 +36470,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36464
36470
  const {
36465
36471
  autoFocus = true,
36466
36472
  children,
36473
+ className,
36467
36474
  disableAutoFocusItem = false,
36468
36475
  MenuListProps = {},
36469
36476
  onClose,
@@ -36474,7 +36481,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36474
36481
  TransitionProps: {
36475
36482
  onEntering
36476
36483
  } = {},
36477
- variant = 'selectedMenu'
36484
+ variant = 'selectedMenu',
36485
+ slots = {},
36486
+ slotProps = {}
36478
36487
  } = props,
36479
36488
  TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$R),
36480
36489
  other = _objectWithoutPropertiesLoose(props, _excluded2$5);
@@ -36536,6 +36545,20 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36536
36545
  }
36537
36546
  }
36538
36547
  });
36548
+ const PaperSlot = (_slots$paper = slots.paper) != null ? _slots$paper : MenuPaper;
36549
+ const paperExternalSlotProps = (_slotProps$paper = slotProps.paper) != null ? _slotProps$paper : PaperProps;
36550
+ const rootSlotProps = useSlotProps({
36551
+ elementType: slots.root,
36552
+ externalSlotProps: slotProps.root,
36553
+ ownerState,
36554
+ className: [classes.root, className]
36555
+ });
36556
+ const paperSlotProps = useSlotProps({
36557
+ elementType: PaperSlot,
36558
+ externalSlotProps: paperExternalSlotProps,
36559
+ ownerState,
36560
+ className: classes.paper
36561
+ });
36539
36562
  return /*#__PURE__*/jsxRuntime_1(MenuRoot, _extends({
36540
36563
  onClose: onClose,
36541
36564
  anchorOrigin: {
@@ -36544,16 +36567,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36544
36567
  },
36545
36568
  transformOrigin: isRtl ? RTL_ORIGIN : LTR_ORIGIN,
36546
36569
  slots: {
36547
- paper: MenuPaper
36570
+ paper: PaperSlot,
36571
+ root: slots.root
36548
36572
  },
36549
36573
  slotProps: {
36550
- paper: _extends({}, PaperProps, {
36551
- classes: _extends({}, PaperProps.classes, {
36552
- root: classes.paper
36553
- })
36554
- })
36574
+ root: rootSlotProps,
36575
+ paper: paperSlotProps
36555
36576
  },
36556
- className: classes.root,
36557
36577
  open: open,
36558
36578
  ref: ref,
36559
36579
  transitionDuration: transitionDuration,
@@ -36570,7 +36590,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36570
36590
  autoFocusItem: autoFocusItem,
36571
36591
  variant: variant
36572
36592
  }, MenuListProps, {
36573
- className: clsx(classes.list, MenuListProps.className),
36593
+ className: clsx$1(classes.list, MenuListProps.className),
36574
36594
  children: children
36575
36595
  }))
36576
36596
  }));
@@ -36601,6 +36621,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36601
36621
  * Override or extend the styles applied to the component.
36602
36622
  */
36603
36623
  classes: PropTypes.object,
36624
+ /**
36625
+ * @ignore
36626
+ */
36627
+ className: PropTypes.string,
36604
36628
  /**
36605
36629
  * When opening the menu will not focus the active item but the `[role="menu"]`
36606
36630
  * unless `autoFocus` is also set to `false`. Not using the default means not
@@ -36633,6 +36657,25 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36633
36657
  * `classes` prop applied to the [`Popover`](/material-ui/api/popover/) element.
36634
36658
  */
36635
36659
  PopoverClasses: PropTypes.object,
36660
+ /**
36661
+ * The extra props for the slot components.
36662
+ * You can override the existing props or add new ones.
36663
+ *
36664
+ * @default {}
36665
+ */
36666
+ slotProps: PropTypes.shape({
36667
+ paper: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
36668
+ root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
36669
+ }),
36670
+ /**
36671
+ * The components used for each slot inside.
36672
+ *
36673
+ * @default {}
36674
+ */
36675
+ slots: PropTypes.shape({
36676
+ paper: PropTypes.elementType,
36677
+ root: PropTypes.elementType
36678
+ }),
36636
36679
  /**
36637
36680
  * The system prop that allows defining system overrides as well as additional CSS styles.
36638
36681
  */
@@ -36822,8 +36865,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36822
36865
  role: role,
36823
36866
  tabIndex: tabIndex,
36824
36867
  component: component,
36825
- focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
36826
- className: clsx(classes.root, className)
36868
+ focusVisibleClassName: clsx$1(classes.focusVisible, focusVisibleClassName),
36869
+ className: clsx$1(classes.root, className)
36827
36870
  }, other, {
36828
36871
  ownerState: ownerState,
36829
36872
  classes: classes
@@ -36857,7 +36900,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36857
36900
  * The component used for the root node.
36858
36901
  * Either a string to use a HTML element or a component.
36859
36902
  */
36860
- component: PropTypes /* @typescript-to-proptypes-ignore */.elementType,
36903
+ component: PropTypes.elementType,
36861
36904
  /**
36862
36905
  * If `true`, compact vertical padding designed for keyboard and mouse input is used.
36863
36906
  * The prop defaults to the value inherited from the parent Menu component.
@@ -37038,7 +37081,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37038
37081
  return /*#__PURE__*/jsxRuntime_2(MobileStepperRoot, _extends({
37039
37082
  square: true,
37040
37083
  elevation: 0,
37041
- className: clsx(classes.root, className),
37084
+ className: clsx$1(classes.root, className),
37042
37085
  ref: ref,
37043
37086
  ownerState: ownerState
37044
37087
  }, other, {
@@ -37048,7 +37091,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37048
37091
  ownerState: ownerState,
37049
37092
  className: classes.dots,
37050
37093
  children: [...new Array(steps)].map((_, index) => /*#__PURE__*/jsxRuntime_1(MobileStepperDot, {
37051
- className: clsx(classes.dot, index === activeStep && classes.dotActive),
37094
+ className: clsx$1(classes.dot, index === activeStep && classes.dotActive),
37052
37095
  ownerState: ownerState,
37053
37096
  dotActive: index === activeStep
37054
37097
  }, index))
@@ -37257,7 +37300,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37257
37300
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
37258
37301
  children: [/*#__PURE__*/jsxRuntime_1(NativeSelectSelect, _extends({
37259
37302
  ownerState: ownerState,
37260
- className: clsx(classes.select, className),
37303
+ className: clsx$1(classes.select, className),
37261
37304
  disabled: disabled,
37262
37305
  ref: inputRef || ref
37263
37306
  }, other)), props.multiple ? null : /*#__PURE__*/jsxRuntime_1(NativeSelectIcon, {
@@ -37379,7 +37422,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37379
37422
  }, inputProps, input ? input.props.inputProps : {}),
37380
37423
  ref
37381
37424
  }, other, {
37382
- className: clsx(classes.root, input.props.className, className)
37425
+ className: clsx$1(classes.root, input.props.className, className)
37383
37426
  }))
37384
37427
  });
37385
37428
  });
@@ -38269,14 +38312,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38269
38312
  return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/jsxRuntime_1(PaginationItemEllipsis, {
38270
38313
  ref: ref,
38271
38314
  ownerState: ownerState,
38272
- className: clsx(classes.root, className),
38315
+ className: clsx$1(classes.root, className),
38273
38316
  children: "\u2026"
38274
38317
  }) : /*#__PURE__*/jsxRuntime_2(PaginationItemPage, _extends({
38275
38318
  ref: ref,
38276
38319
  ownerState: ownerState,
38277
38320
  component: component,
38278
38321
  disabled: disabled,
38279
- className: clsx(classes.root, className)
38322
+ className: clsx$1(classes.root, className)
38280
38323
  }, other, {
38281
38324
  children: [type === 'page' && page, Icon ? /*#__PURE__*/jsxRuntime_1(PaginationItemPageIcon, {
38282
38325
  as: Icon,
@@ -38471,7 +38514,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38471
38514
  const classes = useUtilityClasses$B(ownerState);
38472
38515
  return /*#__PURE__*/jsxRuntime_1(PaginationRoot, _extends({
38473
38516
  "aria-label": "pagination navigation",
38474
- className: clsx(classes.root, className),
38517
+ className: clsx$1(classes.root, className),
38475
38518
  ownerState: ownerState,
38476
38519
  ref: ref
38477
38520
  }, other, {
@@ -38809,7 +38852,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38809
38852
  checked: checked,
38810
38853
  onChange: onChange,
38811
38854
  ref: ref,
38812
- className: clsx(classes.root, className)
38855
+ className: clsx$1(classes.root, className)
38813
38856
  }, other));
38814
38857
  });
38815
38858
  Radio.propTypes /* remove-proptypes */ = {
@@ -39183,7 +39226,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39183
39226
  const container = /*#__PURE__*/jsxRuntime_1(RatingIcon, {
39184
39227
  as: IconContainerComponent,
39185
39228
  value: itemValue,
39186
- className: clsx(classes.icon, isFilled ? classes.iconFilled : classes.iconEmpty, isHovered && classes.iconHover, isFocused && classes.iconFocus, isActive && classes.iconActive),
39229
+ className: clsx$1(classes.icon, isFilled ? classes.iconFilled : classes.iconEmpty, isHovered && classes.iconHover, isFocused && classes.iconFocus, isActive && classes.iconActive),
39187
39230
  ownerState: _extends({}, ownerState, {
39188
39231
  iconEmpty: !isFilled,
39189
39232
  iconFilled: isFilled,
@@ -39430,7 +39473,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39430
39473
  ref: handleRef,
39431
39474
  onMouseMove: handleMouseMove,
39432
39475
  onMouseLeave: handleMouseLeave,
39433
- className: clsx(classes.root, className, readOnly && 'MuiRating-readOnly'),
39476
+ className: clsx$1(classes.root, className, readOnly && 'MuiRating-readOnly'),
39434
39477
  ownerState: ownerState,
39435
39478
  role: readOnly ? 'img' : null,
39436
39479
  "aria-label": readOnly ? getLabelText(value) : null
@@ -39461,7 +39504,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39461
39504
  if (precision < 1) {
39462
39505
  const items = Array.from(new Array(1 / precision));
39463
39506
  return /*#__PURE__*/jsxRuntime_1(RatingDecimal, {
39464
- className: clsx(classes.decimal, isActive && classes.iconActive),
39507
+ className: clsx$1(classes.decimal, isActive && classes.iconActive),
39465
39508
  ownerState: ownerState,
39466
39509
  iconActive: isActive,
39467
39510
  children: items.map(($, indexDecimal) => {
@@ -39486,7 +39529,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39486
39529
  itemValue: itemValue
39487
39530
  }), itemValue);
39488
39531
  }), !readOnly && !disabled && /*#__PURE__*/jsxRuntime_2(RatingLabel, {
39489
- className: clsx(classes.label, classes.labelEmptyValue),
39532
+ className: clsx$1(classes.label, classes.labelEmptyValue),
39490
39533
  ownerState: ownerState,
39491
39534
  children: [/*#__PURE__*/jsxRuntime_1("input", {
39492
39535
  className: classes.visuallyHidden,
@@ -39688,7 +39731,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39688
39731
  const classes = useUtilityClasses$y(ownerState);
39689
39732
  return /*#__PURE__*/jsxRuntime_1(ScopedCssBaselineRoot, _extends({
39690
39733
  as: component,
39691
- className: clsx(classes.root, className),
39734
+ className: clsx$1(classes.root, className),
39692
39735
  ref: ref,
39693
39736
  ownerState: ownerState
39694
39737
  }, other));
@@ -40163,7 +40206,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40163
40206
  onFocus: onFocus
40164
40207
  }, SelectDisplayProps, {
40165
40208
  ownerState: ownerState,
40166
- className: clsx(SelectDisplayProps.className, classes.select, className)
40209
+ className: clsx$1(SelectDisplayProps.className, classes.select, className)
40167
40210
  // The id is required for proper a11y
40168
40211
  ,
40169
40212
  id: buttonId,
@@ -40469,7 +40512,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40469
40512
  notched: true
40470
40513
  } : {}, {
40471
40514
  ref: inputComponentRef,
40472
- className: clsx(InputComponent.props.className, className)
40515
+ className: clsx$1(InputComponent.props.className, className)
40473
40516
  }, !input && {
40474
40517
  variant
40475
40518
  }, other))
@@ -40567,7 +40610,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40567
40610
  /**
40568
40611
  * Callback fired when a menu item is selected.
40569
40612
  *
40570
- * @param {SelectChangeEvent<T>} event The event source of the callback.
40613
+ * @param {SelectChangeEvent<Value>} event The event source of the callback.
40571
40614
  * You can pull out the new value by accessing `event.target.value` (any).
40572
40615
  * **Warning**: This is a generic event, not a change event, unless the change event is caused by browser autofill.
40573
40616
  * @param {object} [child] The react element that was selected when `native` is `false` (default).
@@ -40777,7 +40820,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40777
40820
  return /*#__PURE__*/jsxRuntime_1(SkeletonRoot, _extends({
40778
40821
  as: component,
40779
40822
  ref: ref,
40780
- className: clsx(classes.root, className),
40823
+ className: clsx$1(classes.root, className),
40781
40824
  ownerState: ownerState
40782
40825
  }, other, {
40783
40826
  style: _extends({
@@ -40856,7 +40899,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40856
40899
  open
40857
40900
  } = props;
40858
40901
  const utilityClasses = {
40859
- offset: clsx(open && sliderClasses$1.valueLabelOpen),
40902
+ offset: clsx$1(open && sliderClasses$1.valueLabelOpen),
40860
40903
  circle: sliderClasses$1.valueLabelCircle,
40861
40904
  label: sliderClasses$1.valueLabelLabel
40862
40905
  };
@@ -40877,10 +40920,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40877
40920
  return null;
40878
40921
  }
40879
40922
  return /*#__PURE__*/React__namespace.cloneElement(children, {
40880
- className: clsx(children.props.className)
40923
+ className: clsx$1(children.props.className)
40881
40924
  }, /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
40882
40925
  children: [children.props.children, /*#__PURE__*/jsxRuntime_1("span", {
40883
- className: clsx(classes.offset, className),
40926
+ className: clsx$1(classes.offset, className),
40884
40927
  "aria-hidden": true,
40885
40928
  children: /*#__PURE__*/jsxRuntime_1("span", {
40886
40929
  className: classes.circle,
@@ -41483,7 +41526,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
41483
41526
  markActive
41484
41527
  }, {
41485
41528
  style: _extends({}, style, markProps.style),
41486
- className: clsx(markProps.className, markActive && classes.markActive)
41529
+ className: clsx$1(markProps.className, markActive && classes.markActive)
41487
41530
  })), mark.label != null ? /*#__PURE__*/jsxRuntime_1(MarkLabelSlot, _extends({
41488
41531
  "aria-hidden": true,
41489
41532
  "data-index": index
@@ -41491,7 +41534,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
41491
41534
  markLabelActive: markActive
41492
41535
  }, {
41493
41536
  style: _extends({}, style, markLabelProps.style),
41494
- className: clsx(classes.markLabel, markLabelProps.className, markActive && classes.markLabelActive),
41537
+ className: clsx$1(classes.markLabel, markLabelProps.className, markActive && classes.markLabelActive),
41495
41538
  children: mark.label
41496
41539
  })) : null]
41497
41540
  }, index);
@@ -41513,7 +41556,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
41513
41556
  children: /*#__PURE__*/jsxRuntime_1(ThumbSlot, _extends({
41514
41557
  "data-index": index
41515
41558
  }, thumbProps, {
41516
- className: clsx(classes.thumb, thumbProps.className, active === index && classes.active, focusedThumbIndex === index && classes.focusVisible),
41559
+ className: clsx$1(classes.thumb, thumbProps.className, active === index && classes.active, focusedThumbIndex === index && classes.focusVisible),
41517
41560
  style: _extends({}, style, getThumbStyle(index), thumbProps.style),
41518
41561
  children: /*#__PURE__*/jsxRuntime_1(InputSlot, _extends({
41519
41562
  "data-index": index,
@@ -41883,7 +41926,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
41883
41926
  role: role,
41884
41927
  square: true,
41885
41928
  elevation: 6,
41886
- className: clsx(classes.root, className),
41929
+ className: clsx$1(classes.root, className),
41887
41930
  ownerState: ownerState,
41888
41931
  ref: ref
41889
41932
  }, other, {
@@ -42760,7 +42803,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
42760
42803
  });
42761
42804
  });
42762
42805
  return /*#__PURE__*/jsxRuntime_2(SpeedDialRoot, _extends({
42763
- className: clsx(classes.root, className),
42806
+ className: clsx$1(classes.root, className),
42764
42807
  ref: ref,
42765
42808
  role: "presentation",
42766
42809
  onKeyDown: handleKeyDown,
@@ -42783,7 +42826,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
42783
42826
  "aria-controls": `${id}-actions`
42784
42827
  }, FabProps, {
42785
42828
  onClick: handleClick,
42786
- className: clsx(classes.fab, FabProps.className),
42829
+ className: clsx$1(classes.fab, FabProps.className),
42787
42830
  ref: handleFabRef,
42788
42831
  ownerState: ownerState,
42789
42832
  children: /*#__PURE__*/React__namespace.isValidElement(icon) && isMuiElement(icon, ['SpeedDialIcon']) ? /*#__PURE__*/React__namespace.cloneElement(icon, {
@@ -42794,7 +42837,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
42794
42837
  id: `${id}-actions`,
42795
42838
  role: "menu",
42796
42839
  "aria-orientation": getOrientation(direction),
42797
- className: clsx(classes.actions, !open && classes.actionsClosed),
42840
+ className: clsx$1(classes.actions, !open && classes.actionsClosed),
42798
42841
  ownerState: ownerState,
42799
42842
  children: children
42800
42843
  })]
@@ -43364,7 +43407,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
43364
43407
  nameOrDescProps['aria-labelledby'] = open && !titleIsString ? id : null;
43365
43408
  }
43366
43409
  const childrenProps = _extends({}, nameOrDescProps, other, children.props, {
43367
- className: clsx(other.className, children.props.className),
43410
+ className: clsx$1(other.className, children.props.className),
43368
43411
  onTouchStart: detectTouchStart,
43369
43412
  ref: handleRef
43370
43413
  }, followCursor ? {
@@ -43437,14 +43480,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
43437
43480
  const TooltipComponent = (_ref4 = (_slots$tooltip = slots.tooltip) != null ? _slots$tooltip : components.Tooltip) != null ? _ref4 : TooltipTooltip;
43438
43481
  const ArrowComponent = (_ref5 = (_slots$arrow = slots.arrow) != null ? _slots$arrow : components.Arrow) != null ? _ref5 : TooltipArrow;
43439
43482
  const popperProps = appendOwnerState(PopperComponent, _extends({}, PopperProps, (_slotProps$popper = slotProps.popper) != null ? _slotProps$popper : componentsProps.popper, {
43440
- className: clsx(classes.popper, PopperProps == null ? void 0 : PopperProps.className, (_ref6 = (_slotProps$popper2 = slotProps.popper) != null ? _slotProps$popper2 : componentsProps.popper) == null ? void 0 : _ref6.className)
43483
+ className: clsx$1(classes.popper, PopperProps == null ? void 0 : PopperProps.className, (_ref6 = (_slotProps$popper2 = slotProps.popper) != null ? _slotProps$popper2 : componentsProps.popper) == null ? void 0 : _ref6.className)
43441
43484
  }), ownerState);
43442
43485
  const transitionProps = appendOwnerState(TransitionComponent, _extends({}, TransitionProps, (_slotProps$transition = slotProps.transition) != null ? _slotProps$transition : componentsProps.transition), ownerState);
43443
43486
  const tooltipProps = appendOwnerState(TooltipComponent, _extends({}, (_slotProps$tooltip = slotProps.tooltip) != null ? _slotProps$tooltip : componentsProps.tooltip, {
43444
- className: clsx(classes.tooltip, (_ref7 = (_slotProps$tooltip2 = slotProps.tooltip) != null ? _slotProps$tooltip2 : componentsProps.tooltip) == null ? void 0 : _ref7.className)
43487
+ className: clsx$1(classes.tooltip, (_ref7 = (_slotProps$tooltip2 = slotProps.tooltip) != null ? _slotProps$tooltip2 : componentsProps.tooltip) == null ? void 0 : _ref7.className)
43445
43488
  }), ownerState);
43446
43489
  const tooltipArrowProps = appendOwnerState(ArrowComponent, _extends({}, (_slotProps$arrow = slotProps.arrow) != null ? _slotProps$arrow : componentsProps.arrow, {
43447
- className: clsx(classes.arrow, (_ref8 = (_slotProps$arrow2 = slotProps.arrow) != null ? _slotProps$arrow2 : componentsProps.arrow) == null ? void 0 : _ref8.className)
43490
+ className: clsx$1(classes.arrow, (_ref8 = (_slotProps$arrow2 = slotProps.arrow) != null ? _slotProps$arrow2 : componentsProps.arrow) == null ? void 0 : _ref8.className)
43448
43491
  }), ownerState);
43449
43492
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
43450
43493
  children: [/*#__PURE__*/React__namespace.cloneElement(children, childrenProps), /*#__PURE__*/jsxRuntime_1(PopperComponent, _extends({
@@ -43807,7 +43850,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
43807
43850
  };
43808
43851
  const fab = /*#__PURE__*/jsxRuntime_1(SpeedDialActionFab, _extends({
43809
43852
  size: "small",
43810
- className: clsx(classes.fab, className),
43853
+ className: clsx$1(classes.fab, className),
43811
43854
  tabIndex: -1,
43812
43855
  role: "menuitem",
43813
43856
  ownerState: ownerState
@@ -44001,7 +44044,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44001
44044
  return icon;
44002
44045
  }
44003
44046
  return /*#__PURE__*/jsxRuntime_2(SpeedDialIconRoot, _extends({
44004
- className: clsx(classes.root, className),
44047
+ className: clsx$1(classes.root, className),
44005
44048
  ref: ref,
44006
44049
  ownerState: ownerState
44007
44050
  }, other, {
@@ -44168,7 +44211,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44168
44211
  const classes = useUtilityClasses$n(ownerState);
44169
44212
  const newChildren = /*#__PURE__*/jsxRuntime_2(StepRoot, _extends({
44170
44213
  as: component,
44171
- className: clsx(classes.root, className),
44214
+ className: clsx$1(classes.root, className),
44172
44215
  ref: ref,
44173
44216
  ownerState: ownerState
44174
44217
  }, other, {
@@ -44320,7 +44363,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44320
44363
  });
44321
44364
  const classes = useUtilityClasses$m(ownerState);
44322
44365
  if (typeof icon === 'number' || typeof icon === 'string') {
44323
- const className = clsx(classNameProp, classes.root);
44366
+ const className = clsx$1(classNameProp, classes.root);
44324
44367
  if (error) {
44325
44368
  return /*#__PURE__*/jsxRuntime_1(StepIconRoot, _extends({
44326
44369
  as: Warning,
@@ -44543,7 +44586,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44543
44586
  const classes = useUtilityClasses$l(ownerState);
44544
44587
  const labelSlotProps = (_slotProps$label = slotProps.label) != null ? _slotProps$label : componentsProps.label;
44545
44588
  return /*#__PURE__*/jsxRuntime_2(StepLabelRoot, _extends({
44546
- className: clsx(classes.root, className),
44589
+ className: clsx$1(classes.root, className),
44547
44590
  ref: ref,
44548
44591
  ownerState: ownerState
44549
44592
  }, other, {
@@ -44562,7 +44605,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44562
44605
  children: [children ? /*#__PURE__*/jsxRuntime_1(StepLabelLabel, _extends({
44563
44606
  ownerState: ownerState
44564
44607
  }, labelSlotProps, {
44565
- className: clsx(classes.label, labelSlotProps == null ? void 0 : labelSlotProps.className),
44608
+ className: clsx$1(classes.label, labelSlotProps == null ? void 0 : labelSlotProps.className),
44566
44609
  children: children
44567
44610
  })) : null, optional]
44568
44611
  })]
@@ -44709,7 +44752,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44709
44752
  TouchRippleProps: {
44710
44753
  className: classes.touchRipple
44711
44754
  },
44712
- className: clsx(classes.root, className),
44755
+ className: clsx$1(classes.root, className),
44713
44756
  ref: ref,
44714
44757
  ownerState: ownerState,
44715
44758
  "aria-current": active ? 'step' : undefined
@@ -44845,7 +44888,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44845
44888
  });
44846
44889
  const classes = useUtilityClasses$j(ownerState);
44847
44890
  return /*#__PURE__*/jsxRuntime_1(StepConnectorRoot, _extends({
44848
- className: clsx(classes.root, className),
44891
+ className: clsx$1(classes.root, className),
44849
44892
  ref: ref,
44850
44893
  ownerState: ownerState
44851
44894
  }, other, {
@@ -44955,7 +44998,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44955
44998
  transitionDuration = undefined;
44956
44999
  }
44957
45000
  return /*#__PURE__*/jsxRuntime_1(StepContentRoot, _extends({
44958
- className: clsx(classes.root, className),
45001
+ className: clsx$1(classes.root, className),
44959
45002
  ref: ref,
44960
45003
  ownerState: ownerState
44961
45004
  }, other, {
@@ -45099,7 +45142,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45099
45142
  children: /*#__PURE__*/jsxRuntime_1(StepperRoot, _extends({
45100
45143
  as: component,
45101
45144
  ownerState: ownerState,
45102
- className: clsx(classes.root, className),
45145
+ className: clsx$1(classes.root, className),
45103
45146
  ref: ref
45104
45147
  }, other, {
45105
45148
  children: steps
@@ -45200,7 +45243,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45200
45243
  other = _objectWithoutPropertiesLoose(props, _excluded$l);
45201
45244
  const ownerState = props;
45202
45245
  return /*#__PURE__*/jsxRuntime_1(SwipeAreaRoot, _extends({
45203
- className: clsx('PrivateSwipeArea-root', classes.root, classes[`anchor${capitalize(anchor)}`], className),
45246
+ className: clsx$1('PrivateSwipeArea-root', classes.root, classes[`anchor${capitalize(anchor)}`], className),
45204
45247
  ref: ref,
45205
45248
  style: _extends({
45206
45249
  [isHorizontal(anchor) ? 'width' : 'height']: width
@@ -46005,7 +46048,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
46005
46048
  ownerState: ownerState
46006
46049
  });
46007
46050
  return /*#__PURE__*/jsxRuntime_2(SwitchRoot, {
46008
- className: clsx(classes.root, className),
46051
+ className: clsx$1(classes.root, className),
46009
46052
  sx: sx,
46010
46053
  ownerState: ownerState,
46011
46054
  children: [/*#__PURE__*/jsxRuntime_1(SwitchSwitchBase, _extends({
@@ -46259,7 +46302,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
46259
46302
  });
46260
46303
  const classes = useUtilityClasses$f(ownerState);
46261
46304
  const icon = iconProp && label && /*#__PURE__*/React__namespace.isValidElement(iconProp) ? /*#__PURE__*/React__namespace.cloneElement(iconProp, {
46262
- className: clsx(classes.iconWrapper, iconProp.props.className)
46305
+ className: clsx$1(classes.iconWrapper, iconProp.props.className)
46263
46306
  }) : iconProp;
46264
46307
  const handleClick = event => {
46265
46308
  if (!selected && onChange) {
@@ -46279,7 +46322,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
46279
46322
  };
46280
46323
  return /*#__PURE__*/jsxRuntime_2(TabRoot, _extends({
46281
46324
  focusRipple: !disableFocusRipple,
46282
- className: clsx(classes.root, className),
46325
+ className: clsx$1(classes.root, className),
46283
46326
  ref: ref,
46284
46327
  role: "tab",
46285
46328
  "aria-selected": selected,
@@ -46458,7 +46501,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
46458
46501
  as: component,
46459
46502
  role: component === defaultComponent$4 ? null : 'table',
46460
46503
  ref: ref,
46461
- className: clsx(classes.root, className),
46504
+ className: clsx$1(classes.root, className),
46462
46505
  ownerState: ownerState
46463
46506
  }, other))
46464
46507
  });
@@ -46562,7 +46605,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
46562
46605
  return /*#__PURE__*/jsxRuntime_1(Tablelvl2Context$1.Provider, {
46563
46606
  value: tablelvl2$2,
46564
46607
  children: /*#__PURE__*/jsxRuntime_1(TableBodyRoot, _extends({
46565
- className: clsx(classes.root, className),
46608
+ className: clsx$1(classes.root, className),
46566
46609
  as: component,
46567
46610
  ref: ref,
46568
46611
  role: component === defaultComponent$3 ? null : 'rowgroup',
@@ -46738,7 +46781,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
46738
46781
  return /*#__PURE__*/jsxRuntime_1(TableCellRoot, _extends({
46739
46782
  as: component,
46740
46783
  ref: ref,
46741
- className: clsx(classes.root, className),
46784
+ className: clsx$1(classes.root, className),
46742
46785
  "aria-sort": ariaSort,
46743
46786
  scope: scope,
46744
46787
  ownerState: ownerState
@@ -46845,7 +46888,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
46845
46888
  return /*#__PURE__*/jsxRuntime_1(TableContainerRoot, _extends({
46846
46889
  ref: ref,
46847
46890
  as: component,
46848
- className: clsx(classes.root, className),
46891
+ className: clsx$1(classes.root, className),
46849
46892
  ownerState: ownerState
46850
46893
  }, other));
46851
46894
  });
@@ -46923,7 +46966,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
46923
46966
  value: tablelvl2$1,
46924
46967
  children: /*#__PURE__*/jsxRuntime_1(TableFooterRoot, _extends({
46925
46968
  as: component,
46926
- className: clsx(classes.root, className),
46969
+ className: clsx$1(classes.root, className),
46927
46970
  ref: ref,
46928
46971
  role: component === defaultComponent$2 ? null : 'rowgroup',
46929
46972
  ownerState: ownerState
@@ -47004,7 +47047,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47004
47047
  value: tablelvl2,
47005
47048
  children: /*#__PURE__*/jsxRuntime_1(TableHeadRoot, _extends({
47006
47049
  as: component,
47007
- className: clsx(classes.root, className),
47050
+ className: clsx$1(classes.root, className),
47008
47051
  ref: ref,
47009
47052
  role: component === defaultComponent$1 ? null : 'rowgroup',
47010
47053
  ownerState: ownerState
@@ -47107,7 +47150,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47107
47150
  const classes = useUtilityClasses$8(ownerState);
47108
47151
  return /*#__PURE__*/jsxRuntime_1(ToolbarRoot, _extends({
47109
47152
  as: component,
47110
- className: clsx(classes.root, className),
47153
+ className: clsx$1(classes.root, className),
47111
47154
  ref: ref,
47112
47155
  ownerState: ownerState
47113
47156
  }, other));
@@ -47447,7 +47490,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47447
47490
  ref: ref,
47448
47491
  as: component,
47449
47492
  ownerState: ownerState,
47450
- className: clsx(classes.root, className)
47493
+ className: clsx$1(classes.root, className)
47451
47494
  }, other, {
47452
47495
  children: /*#__PURE__*/jsxRuntime_2(TablePaginationToolbar, {
47453
47496
  className: classes.toolbar,
@@ -47469,10 +47512,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47469
47512
  }, SelectProps, {
47470
47513
  classes: _extends({}, SelectProps.classes, {
47471
47514
  // TODO v5 remove `classes.input`
47472
- root: clsx(classes.input, classes.selectRoot, (SelectProps.classes || {}).root),
47473
- select: clsx(classes.select, (SelectProps.classes || {}).select),
47515
+ root: clsx$1(classes.input, classes.selectRoot, (SelectProps.classes || {}).root),
47516
+ select: clsx$1(classes.select, (SelectProps.classes || {}).select),
47474
47517
  // TODO v5 remove `selectIcon`
47475
- icon: clsx(classes.selectIcon, (SelectProps.classes || {}).icon)
47518
+ icon: clsx$1(classes.selectIcon, (SelectProps.classes || {}).icon)
47476
47519
  }),
47477
47520
  children: rowsPerPageOptions.map(rowsPerPageOption => /*#__PURE__*/React.createElement(MenuItemComponent, _extends({}, !isHostComponent(MenuItemComponent) && {
47478
47521
  ownerState
@@ -47720,7 +47763,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47720
47763
  return /*#__PURE__*/jsxRuntime_1(TableRowRoot, _extends({
47721
47764
  as: component,
47722
47765
  ref: ref,
47723
- className: clsx(classes.root, className),
47766
+ className: clsx$1(classes.root, className),
47724
47767
  role: component === defaultComponent ? null : 'row',
47725
47768
  ownerState: ownerState
47726
47769
  }, other));
@@ -47873,7 +47916,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47873
47916
  });
47874
47917
  const classes = useUtilityClasses$5(ownerState);
47875
47918
  return /*#__PURE__*/jsxRuntime_2(TableSortLabelRoot, _extends({
47876
- className: clsx(classes.root, className),
47919
+ className: clsx$1(classes.root, className),
47877
47920
  component: "span",
47878
47921
  disableRipple: true,
47879
47922
  ownerState: ownerState,
@@ -47881,7 +47924,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47881
47924
  }, other, {
47882
47925
  children: [children, hideSortIcon && !active ? null : /*#__PURE__*/jsxRuntime_1(TableSortLabelIcon, {
47883
47926
  as: IconComponent,
47884
- className: clsx(classes.icon),
47927
+ className: clsx$1(classes.icon),
47885
47928
  ownerState: ownerState
47886
47929
  })]
47887
47930
  }));
@@ -48104,7 +48147,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48104
48147
  });
48105
48148
  return /*#__PURE__*/jsxRuntime_1(TabScrollButtonRoot, _extends({
48106
48149
  component: "div",
48107
- className: clsx(classes.root, className),
48150
+ className: clsx$1(classes.root, className),
48108
48151
  ref: ref,
48109
48152
  role: null,
48110
48153
  ownerState: ownerState,
@@ -48431,10 +48474,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48431
48474
  }
48432
48475
  const [mounted, setMounted] = React__namespace.useState(false);
48433
48476
  const [indicatorStyle, setIndicatorStyle] = React__namespace.useState(defaultIndicatorStyle);
48434
- const [displayScroll, setDisplayScroll] = React__namespace.useState({
48435
- start: false,
48436
- end: false
48437
- });
48477
+ const [displayStartScroll, setDisplayStartScroll] = React__namespace.useState(false);
48478
+ const [displayEndScroll, setDisplayEndScroll] = React__namespace.useState(false);
48479
+ const [updateScrollObserver, setUpdateScrollObserver] = React__namespace.useState(false);
48438
48480
  const [scrollerStyle, setScrollerStyle] = React__namespace.useState({
48439
48481
  overflow: 'hidden',
48440
48482
  scrollbarWidth: 0
@@ -48583,9 +48625,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48583
48625
  const conditionalElements = {};
48584
48626
  conditionalElements.scrollbarSizeListener = scrollable ? /*#__PURE__*/jsxRuntime_1(TabsScrollbarSize, {
48585
48627
  onChange: handleScrollbarSizeChange,
48586
- className: clsx(classes.scrollableX, classes.hideScrollbar)
48628
+ className: clsx$1(classes.scrollableX, classes.hideScrollbar)
48587
48629
  }) : null;
48588
- const scrollButtonsActive = displayScroll.start || displayScroll.end;
48630
+ const scrollButtonsActive = displayStartScroll || displayEndScroll;
48589
48631
  const showScrollButtons = scrollable && (scrollButtons === 'auto' && scrollButtonsActive || scrollButtons === true);
48590
48632
  conditionalElements.scrollButtonStart = showScrollButtons ? /*#__PURE__*/jsxRuntime_1(ScrollButtonComponent, _extends({
48591
48633
  slots: {
@@ -48597,9 +48639,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48597
48639
  orientation: orientation,
48598
48640
  direction: isRtl ? 'right' : 'left',
48599
48641
  onClick: handleStartScrollClick,
48600
- disabled: !displayScroll.start
48642
+ disabled: !displayStartScroll
48601
48643
  }, TabScrollButtonProps, {
48602
- className: clsx(classes.scrollButtons, TabScrollButtonProps.className)
48644
+ className: clsx$1(classes.scrollButtons, TabScrollButtonProps.className)
48603
48645
  })) : null;
48604
48646
  conditionalElements.scrollButtonEnd = showScrollButtons ? /*#__PURE__*/jsxRuntime_1(ScrollButtonComponent, _extends({
48605
48647
  slots: {
@@ -48611,9 +48653,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48611
48653
  orientation: orientation,
48612
48654
  direction: isRtl ? 'left' : 'right',
48613
48655
  onClick: handleEndScrollClick,
48614
- disabled: !displayScroll.end
48656
+ disabled: !displayEndScroll
48615
48657
  }, TabScrollButtonProps, {
48616
- className: clsx(classes.scrollButtons, TabScrollButtonProps.className)
48658
+ className: clsx$1(classes.scrollButtons, TabScrollButtonProps.className)
48617
48659
  })) : null;
48618
48660
  return conditionalElements;
48619
48661
  };
@@ -48641,30 +48683,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48641
48683
  });
48642
48684
  const updateScrollButtonState = useEventCallback(() => {
48643
48685
  if (scrollable && scrollButtons !== false) {
48644
- const {
48645
- scrollTop,
48646
- scrollHeight,
48647
- clientHeight,
48648
- scrollWidth,
48649
- clientWidth
48650
- } = tabsRef.current;
48651
- let showStartScroll;
48652
- let showEndScroll;
48653
- if (vertical) {
48654
- showStartScroll = scrollTop > 1;
48655
- showEndScroll = scrollTop < scrollHeight - clientHeight - 1;
48656
- } else {
48657
- const scrollLeft = getNormalizedScrollLeft(tabsRef.current, theme.direction);
48658
- // use 1 for the potential rounding error with browser zooms.
48659
- showStartScroll = isRtl ? scrollLeft < scrollWidth - clientWidth - 1 : scrollLeft > 1;
48660
- showEndScroll = !isRtl ? scrollLeft < scrollWidth - clientWidth - 1 : scrollLeft > 1;
48661
- }
48662
- if (showStartScroll !== displayScroll.start || showEndScroll !== displayScroll.end) {
48663
- setDisplayScroll({
48664
- start: showStartScroll,
48665
- end: showEndScroll
48666
- });
48667
- }
48686
+ setUpdateScrollObserver(!updateScrollObserver);
48668
48687
  }
48669
48688
  });
48670
48689
  React__namespace.useEffect(() => {
@@ -48677,7 +48696,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48677
48696
  // replaced by Suspense with a fallback, once React is updated to version 18
48678
48697
  if (tabsRef.current) {
48679
48698
  updateIndicatorState();
48680
- updateScrollButtonState();
48681
48699
  }
48682
48700
  });
48683
48701
  const win = ownerWindow(tabsRef.current);
@@ -48696,21 +48714,44 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48696
48714
  resizeObserver.disconnect();
48697
48715
  }
48698
48716
  };
48699
- }, [updateIndicatorState, updateScrollButtonState]);
48700
- const handleTabsScroll = React__namespace.useMemo(() => debounce$1(() => {
48701
- updateScrollButtonState();
48702
- }), [updateScrollButtonState]);
48717
+ }, [updateIndicatorState]);
48718
+
48719
+ /**
48720
+ * Toggle visibility of start and end scroll buttons
48721
+ * Using IntersectionObserver on first and last Tabs.
48722
+ */
48703
48723
  React__namespace.useEffect(() => {
48704
- return () => {
48705
- handleTabsScroll.clear();
48706
- };
48707
- }, [handleTabsScroll]);
48724
+ const tabListChildren = Array.from(tabListRef.current.children);
48725
+ const length = tabListChildren.length;
48726
+ if (typeof IntersectionObserver !== 'undefined' && length > 0 && scrollable && scrollButtons !== false) {
48727
+ const firstTab = tabListChildren[0];
48728
+ const lastTab = tabListChildren[length - 1];
48729
+ const observerOptions = {
48730
+ root: tabsRef.current,
48731
+ threshold: 0.99
48732
+ };
48733
+ const handleScrollButtonStart = entries => {
48734
+ setDisplayStartScroll(!entries[0].isIntersecting);
48735
+ };
48736
+ const firstObserver = new IntersectionObserver(handleScrollButtonStart, observerOptions);
48737
+ firstObserver.observe(firstTab);
48738
+ const handleScrollButtonEnd = entries => {
48739
+ setDisplayEndScroll(!entries[0].isIntersecting);
48740
+ };
48741
+ const lastObserver = new IntersectionObserver(handleScrollButtonEnd, observerOptions);
48742
+ lastObserver.observe(lastTab);
48743
+ return () => {
48744
+ firstObserver.disconnect();
48745
+ lastObserver.disconnect();
48746
+ };
48747
+ }
48748
+ return undefined;
48749
+ }, [scrollable, scrollButtons, updateScrollObserver, childrenProp == null ? void 0 : childrenProp.length]);
48708
48750
  React__namespace.useEffect(() => {
48709
48751
  setMounted(true);
48710
48752
  }, []);
48711
48753
  React__namespace.useEffect(() => {
48712
48754
  updateIndicatorState();
48713
- updateScrollButtonState();
48714
48755
  });
48715
48756
  React__namespace.useEffect(() => {
48716
48757
  // Don't animate on the first render.
@@ -48721,7 +48762,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48721
48762
  updateScrollButtons: updateScrollButtonState
48722
48763
  }), [updateIndicatorState, updateScrollButtonState]);
48723
48764
  const indicator = /*#__PURE__*/jsxRuntime_1(TabsIndicator, _extends({}, TabIndicatorProps, {
48724
- className: clsx(classes.indicator, TabIndicatorProps.className),
48765
+ className: clsx$1(classes.indicator, TabIndicatorProps.className),
48725
48766
  ownerState: ownerState,
48726
48767
  style: _extends({}, indicatorStyle, TabIndicatorProps.style)
48727
48768
  }));
@@ -48789,7 +48830,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48789
48830
  };
48790
48831
  const conditionalElements = getConditionalElements();
48791
48832
  return /*#__PURE__*/jsxRuntime_2(TabsRoot, _extends({
48792
- className: clsx(classes.root, className),
48833
+ className: clsx$1(classes.root, className),
48793
48834
  ownerState: ownerState,
48794
48835
  ref: ref,
48795
48836
  as: component
@@ -48802,7 +48843,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48802
48843
  [vertical ? `margin${isRtl ? 'Left' : 'Right'}` : 'marginBottom']: visibleScrollbar ? undefined : -scrollerStyle.scrollbarWidth
48803
48844
  },
48804
48845
  ref: tabsRef,
48805
- onScroll: handleTabsScroll,
48806
48846
  children: [/*#__PURE__*/jsxRuntime_1(FlexContainer, {
48807
48847
  "aria-label": ariaLabel,
48808
48848
  "aria-labelledby": ariaLabelledBy,
@@ -49126,7 +49166,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49126
49166
  inputProps: inputProps
49127
49167
  }, InputMore, InputProps));
49128
49168
  return /*#__PURE__*/jsxRuntime_2(TextFieldRoot, _extends({
49129
- className: clsx(classes.root, className),
49169
+ className: clsx$1(classes.root, className),
49130
49170
  disabled: disabled,
49131
49171
  error: error,
49132
49172
  fullWidth: fullWidth,
@@ -49453,7 +49493,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49453
49493
  }
49454
49494
  };
49455
49495
  return /*#__PURE__*/jsxRuntime_1(ToggleButtonRoot, _extends({
49456
- className: clsx(classes.root, className),
49496
+ className: clsx$1(classes.root, className),
49457
49497
  disabled: disabled,
49458
49498
  focusRipple: !disableFocusRipple,
49459
49499
  ref: ref,
@@ -49684,7 +49724,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49684
49724
  };
49685
49725
  return /*#__PURE__*/jsxRuntime_1(ToggleButtonGroupRoot, _extends({
49686
49726
  role: "group",
49687
- className: clsx(classes.root, className),
49727
+ className: clsx$1(classes.root, className),
49688
49728
  ref: ref,
49689
49729
  ownerState: ownerState
49690
49730
  }, other, {
@@ -49698,7 +49738,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49698
49738
  }
49699
49739
  }
49700
49740
  return /*#__PURE__*/React__namespace.cloneElement(child, {
49701
- className: clsx(classes.grouped, child.props.className),
49741
+ className: clsx$1(classes.grouped, child.props.className),
49702
49742
  onChange: exclusive ? handleExclusiveChange : handleChange,
49703
49743
  selected: child.props.selected === undefined ? isValueSelected(child.props.value, value) : child.props.selected,
49704
49744
  size: child.props.size || size,
@@ -50276,6 +50316,4 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
50276
50316
  exports.withStyles = withStyles;
50277
50317
  exports.withTheme = withTheme;
50278
50318
 
50279
- Object.defineProperty(exports, '__esModule', { value: true });
50280
-
50281
50319
  }));