@vitessce/biomarker-select 3.8.9 → 3.8.13

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 (2) hide show
  1. package/dist/index.js +1245 -1245
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -8938,10 +8938,17 @@ const { tss } = createTss({
8938
8938
  "usePlugin": useMuiThemeStyleOverridesPlugin
8939
8939
  });
8940
8940
  const useStyles$3 = tss.create({});
8941
- function chainPropTypes(propType1, propType2) {
8942
- return function validate(...args) {
8943
- return propType1(...args) || propType2(...args);
8944
- };
8941
+ function createChainedFunction$1(...funcs) {
8942
+ return funcs.reduce((acc, func) => {
8943
+ if (func == null) {
8944
+ return acc;
8945
+ }
8946
+ return function chainedFunction(...args) {
8947
+ acc.apply(this, args);
8948
+ func.apply(this, args);
8949
+ };
8950
+ }, () => {
8951
+ });
8945
8952
  }
8946
8953
  function GlobalStyles(props) {
8947
8954
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GlobalStyles$1, {
@@ -8994,6 +9001,495 @@ const memoTheme = unstable_memoTheme;
8994
9001
  function useDefaultProps(params) {
8995
9002
  return useDefaultProps$1(params);
8996
9003
  }
9004
+ function getSvgIconUtilityClass(slot) {
9005
+ return generateUtilityClass("MuiSvgIcon", slot);
9006
+ }
9007
+ generateUtilityClasses("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
9008
+ const useUtilityClasses$1y = (ownerState) => {
9009
+ const {
9010
+ color: color2,
9011
+ fontSize,
9012
+ classes: classes2
9013
+ } = ownerState;
9014
+ const slots = {
9015
+ root: ["root", color2 !== "inherit" && `color${capitalize(color2)}`, `fontSize${capitalize(fontSize)}`]
9016
+ };
9017
+ return composeClasses(slots, getSvgIconUtilityClass, classes2);
9018
+ };
9019
+ const SvgIconRoot = styled("svg", {
9020
+ name: "MuiSvgIcon",
9021
+ slot: "Root",
9022
+ overridesResolver: (props, styles2) => {
9023
+ const {
9024
+ ownerState
9025
+ } = props;
9026
+ return [styles2.root, ownerState.color !== "inherit" && styles2[`color${capitalize(ownerState.color)}`], styles2[`fontSize${capitalize(ownerState.fontSize)}`]];
9027
+ }
9028
+ })(memoTheme(({
9029
+ theme
9030
+ }) => {
9031
+ var _a2, _b2, _c2, _d2, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
9032
+ return {
9033
+ userSelect: "none",
9034
+ width: "1em",
9035
+ height: "1em",
9036
+ display: "inline-block",
9037
+ flexShrink: 0,
9038
+ transition: (_d2 = (_a2 = theme.transitions) == null ? void 0 : _a2.create) == null ? void 0 : _d2.call(_a2, "fill", {
9039
+ duration: (_c2 = (_b2 = (theme.vars ?? theme).transitions) == null ? void 0 : _b2.duration) == null ? void 0 : _c2.shorter
9040
+ }),
9041
+ variants: [
9042
+ {
9043
+ props: (props) => !props.hasSvgAsChild,
9044
+ style: {
9045
+ // the <svg> will define the property that has `currentColor`
9046
+ // for example heroicons uses fill="none" and stroke="currentColor"
9047
+ fill: "currentColor"
9048
+ }
9049
+ },
9050
+ {
9051
+ props: {
9052
+ fontSize: "inherit"
9053
+ },
9054
+ style: {
9055
+ fontSize: "inherit"
9056
+ }
9057
+ },
9058
+ {
9059
+ props: {
9060
+ fontSize: "small"
9061
+ },
9062
+ style: {
9063
+ fontSize: ((_f = (_e = theme.typography) == null ? void 0 : _e.pxToRem) == null ? void 0 : _f.call(_e, 20)) || "1.25rem"
9064
+ }
9065
+ },
9066
+ {
9067
+ props: {
9068
+ fontSize: "medium"
9069
+ },
9070
+ style: {
9071
+ fontSize: ((_h = (_g = theme.typography) == null ? void 0 : _g.pxToRem) == null ? void 0 : _h.call(_g, 24)) || "1.5rem"
9072
+ }
9073
+ },
9074
+ {
9075
+ props: {
9076
+ fontSize: "large"
9077
+ },
9078
+ style: {
9079
+ fontSize: ((_j = (_i = theme.typography) == null ? void 0 : _i.pxToRem) == null ? void 0 : _j.call(_i, 35)) || "2.1875rem"
9080
+ }
9081
+ },
9082
+ // TODO v5 deprecate color prop, v6 remove for sx
9083
+ ...Object.entries((theme.vars ?? theme).palette).filter(([, value]) => value && value.main).map(([color2]) => {
9084
+ var _a3, _b3;
9085
+ return {
9086
+ props: {
9087
+ color: color2
9088
+ },
9089
+ style: {
9090
+ color: (_b3 = (_a3 = (theme.vars ?? theme).palette) == null ? void 0 : _a3[color2]) == null ? void 0 : _b3.main
9091
+ }
9092
+ };
9093
+ }),
9094
+ {
9095
+ props: {
9096
+ color: "action"
9097
+ },
9098
+ style: {
9099
+ color: (_l = (_k = (theme.vars ?? theme).palette) == null ? void 0 : _k.action) == null ? void 0 : _l.active
9100
+ }
9101
+ },
9102
+ {
9103
+ props: {
9104
+ color: "disabled"
9105
+ },
9106
+ style: {
9107
+ color: (_n = (_m = (theme.vars ?? theme).palette) == null ? void 0 : _m.action) == null ? void 0 : _n.disabled
9108
+ }
9109
+ },
9110
+ {
9111
+ props: {
9112
+ color: "inherit"
9113
+ },
9114
+ style: {
9115
+ color: void 0
9116
+ }
9117
+ }
9118
+ ]
9119
+ };
9120
+ }));
9121
+ const SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(inProps, ref) {
9122
+ const props = useDefaultProps({
9123
+ props: inProps,
9124
+ name: "MuiSvgIcon"
9125
+ });
9126
+ const {
9127
+ children,
9128
+ className,
9129
+ color: color2 = "inherit",
9130
+ component = "svg",
9131
+ fontSize = "medium",
9132
+ htmlColor,
9133
+ inheritViewBox = false,
9134
+ titleAccess,
9135
+ viewBox = "0 0 24 24",
9136
+ ...other
9137
+ } = props;
9138
+ const hasSvgAsChild = /* @__PURE__ */ React.isValidElement(children) && children.type === "svg";
9139
+ const ownerState = {
9140
+ ...props,
9141
+ color: color2,
9142
+ component,
9143
+ fontSize,
9144
+ instanceFontSize: inProps.fontSize,
9145
+ inheritViewBox,
9146
+ viewBox,
9147
+ hasSvgAsChild
9148
+ };
9149
+ const more = {};
9150
+ if (!inheritViewBox) {
9151
+ more.viewBox = viewBox;
9152
+ }
9153
+ const classes2 = useUtilityClasses$1y(ownerState);
9154
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(SvgIconRoot, {
9155
+ as: component,
9156
+ className: clsx$1(classes2.root, className),
9157
+ focusable: "false",
9158
+ color: htmlColor,
9159
+ "aria-hidden": titleAccess ? void 0 : true,
9160
+ role: titleAccess ? "img" : void 0,
9161
+ ref,
9162
+ ...more,
9163
+ ...other,
9164
+ ...hasSvgAsChild && children.props,
9165
+ ownerState,
9166
+ children: [hasSvgAsChild ? children.props.children : children, titleAccess ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", {
9167
+ children: titleAccess
9168
+ }) : null]
9169
+ });
9170
+ });
9171
+ SvgIcon.propTypes = {
9172
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
9173
+ // │ These PropTypes are generated from the TypeScript type definitions. │
9174
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
9175
+ // └─────────────────────────────────────────────────────────────────────┘
9176
+ /**
9177
+ * Node passed into the SVG element.
9178
+ */
9179
+ children: PropTypes.node,
9180
+ /**
9181
+ * Override or extend the styles applied to the component.
9182
+ */
9183
+ classes: PropTypes.object,
9184
+ /**
9185
+ * @ignore
9186
+ */
9187
+ className: PropTypes.string,
9188
+ /**
9189
+ * The color of the component.
9190
+ * It supports both default and custom theme colors, which can be added as shown in the
9191
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
9192
+ * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
9193
+ * @default 'inherit'
9194
+ */
9195
+ color: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), PropTypes.string]),
9196
+ /**
9197
+ * The component used for the root node.
9198
+ * Either a string to use a HTML element or a component.
9199
+ */
9200
+ component: PropTypes.elementType,
9201
+ /**
9202
+ * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
9203
+ * @default 'medium'
9204
+ */
9205
+ fontSize: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "large", "medium", "small"]), PropTypes.string]),
9206
+ /**
9207
+ * Applies a color attribute to the SVG element.
9208
+ */
9209
+ htmlColor: PropTypes.string,
9210
+ /**
9211
+ * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
9212
+ * prop will be ignored.
9213
+ * Useful when you want to reference a custom `component` and have `SvgIcon` pass that
9214
+ * `component`'s viewBox to the root node.
9215
+ * @default false
9216
+ */
9217
+ inheritViewBox: PropTypes.bool,
9218
+ /**
9219
+ * The shape-rendering attribute. The behavior of the different options is described on the
9220
+ * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
9221
+ * If you are having issues with blurry icons you should investigate this prop.
9222
+ */
9223
+ shapeRendering: PropTypes.string,
9224
+ /**
9225
+ * The system prop that allows defining system overrides as well as additional CSS styles.
9226
+ */
9227
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
9228
+ /**
9229
+ * Provides a human-readable title for the element that contains it.
9230
+ * https://www.w3.org/TR/SVG-access/#Equivalent
9231
+ */
9232
+ titleAccess: PropTypes.string,
9233
+ /**
9234
+ * Allows you to redefine what the coordinates without units mean inside an SVG element.
9235
+ * For example, if the SVG element is 500 (width) by 200 (height),
9236
+ * and you pass viewBox="0 0 50 20",
9237
+ * this means that the coordinates inside the SVG will go from the top left corner (0,0)
9238
+ * to bottom right (50,20) and each unit will be worth 10px.
9239
+ * @default '0 0 24 24'
9240
+ */
9241
+ viewBox: PropTypes.string
9242
+ };
9243
+ SvgIcon.muiName = "SvgIcon";
9244
+ function createSvgIcon(path, displayName) {
9245
+ function Component(props, ref) {
9246
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(SvgIcon, {
9247
+ "data-testid": `${displayName}Icon`,
9248
+ ref,
9249
+ ...props,
9250
+ children: path
9251
+ });
9252
+ }
9253
+ {
9254
+ Component.displayName = `${displayName}Icon`;
9255
+ }
9256
+ Component.muiName = SvgIcon.muiName;
9257
+ return /* @__PURE__ */ React.memo(/* @__PURE__ */ React.forwardRef(Component));
9258
+ }
9259
+ function debounce$2(func, wait = 166) {
9260
+ let timeout2;
9261
+ function debounced(...args) {
9262
+ const later = () => {
9263
+ func.apply(this, args);
9264
+ };
9265
+ clearTimeout(timeout2);
9266
+ timeout2 = setTimeout(later, wait);
9267
+ }
9268
+ debounced.clear = () => {
9269
+ clearTimeout(timeout2);
9270
+ };
9271
+ return debounced;
9272
+ }
9273
+ function ownerDocument(node2) {
9274
+ return node2 && node2.ownerDocument || document;
9275
+ }
9276
+ function ownerWindow(node2) {
9277
+ const doc = ownerDocument(node2);
9278
+ return doc.defaultView || window;
9279
+ }
9280
+ function requirePropFactory(componentNameInError, Component) {
9281
+ const prevPropTypes = Component ? {
9282
+ ...Component.propTypes
9283
+ } : null;
9284
+ const requireProp = (requiredProp) => (props, propName, componentName, location, propFullName, ...args) => {
9285
+ const propFullNameSafe = propFullName || propName;
9286
+ const defaultTypeChecker = prevPropTypes == null ? void 0 : prevPropTypes[propFullNameSafe];
9287
+ if (defaultTypeChecker) {
9288
+ const typeCheckerResult = defaultTypeChecker(props, propName, componentName, location, propFullName, ...args);
9289
+ if (typeCheckerResult) {
9290
+ return typeCheckerResult;
9291
+ }
9292
+ }
9293
+ if (typeof props[propName] !== "undefined" && !props[requiredProp]) {
9294
+ return new Error(`The prop \`${propFullNameSafe}\` of \`${componentNameInError}\` can only be used together with the \`${requiredProp}\` prop.`);
9295
+ }
9296
+ return null;
9297
+ };
9298
+ return requireProp;
9299
+ }
9300
+ function setRef$1(ref, value) {
9301
+ if (typeof ref === "function") {
9302
+ ref(value);
9303
+ } else if (ref) {
9304
+ ref.current = value;
9305
+ }
9306
+ }
9307
+ let globalId$1 = 0;
9308
+ function useGlobalId(idOverride) {
9309
+ const [defaultId, setDefaultId] = React.useState(idOverride);
9310
+ const id = idOverride || defaultId;
9311
+ React.useEffect(() => {
9312
+ if (defaultId == null) {
9313
+ globalId$1 += 1;
9314
+ setDefaultId(`mui-${globalId$1}`);
9315
+ }
9316
+ }, [defaultId]);
9317
+ return id;
9318
+ }
9319
+ const safeReact = {
9320
+ ...React
9321
+ };
9322
+ const maybeReactUseId = safeReact.useId;
9323
+ function useId(idOverride) {
9324
+ if (maybeReactUseId !== void 0) {
9325
+ const reactId = maybeReactUseId();
9326
+ return idOverride ?? reactId;
9327
+ }
9328
+ return useGlobalId(idOverride);
9329
+ }
9330
+ function unsupportedProp(props, propName, componentName, location, propFullName) {
9331
+ const propFullNameSafe = propFullName || propName;
9332
+ if (typeof props[propName] !== "undefined") {
9333
+ return new Error(`The prop \`${propFullNameSafe}\` is not supported. Please remove it.`);
9334
+ }
9335
+ return null;
9336
+ }
9337
+ function useControlled(props) {
9338
+ const {
9339
+ controlled,
9340
+ default: defaultProp,
9341
+ name,
9342
+ state = "value"
9343
+ } = props;
9344
+ const {
9345
+ current: isControlled
9346
+ } = React.useRef(controlled !== void 0);
9347
+ const [valueState, setValue] = React.useState(defaultProp);
9348
+ const value = isControlled ? controlled : valueState;
9349
+ {
9350
+ React.useEffect(() => {
9351
+ if (isControlled !== (controlled !== void 0)) {
9352
+ console.error([`MUI: A component is changing the ${isControlled ? "" : "un"}controlled ${state} state of ${name} to be ${isControlled ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${name} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join("\n"));
9353
+ }
9354
+ }, [state, name, controlled]);
9355
+ const {
9356
+ current: defaultValue
9357
+ } = React.useRef(defaultProp);
9358
+ React.useEffect(() => {
9359
+ if (!isControlled && !Object.is(defaultValue, defaultProp)) {
9360
+ console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. To suppress this warning opt to use a controlled ${name}.`].join("\n"));
9361
+ }
9362
+ }, [JSON.stringify(defaultProp)]);
9363
+ }
9364
+ const setValueIfUncontrolled = React.useCallback((newValue) => {
9365
+ if (!isControlled) {
9366
+ setValue(newValue);
9367
+ }
9368
+ }, []);
9369
+ return [value, setValueIfUncontrolled];
9370
+ }
9371
+ function useEventCallback(fn2) {
9372
+ const ref = React.useRef(fn2);
9373
+ useEnhancedEffect$1(() => {
9374
+ ref.current = fn2;
9375
+ });
9376
+ return React.useRef((...args) => (
9377
+ // @ts-expect-error hide `this`
9378
+ (0, ref.current)(...args)
9379
+ )).current;
9380
+ }
9381
+ function useForkRef$1(...refs) {
9382
+ const cleanupRef = React.useRef(void 0);
9383
+ const refEffect = React.useCallback((instance) => {
9384
+ const cleanups = refs.map((ref) => {
9385
+ if (ref == null) {
9386
+ return null;
9387
+ }
9388
+ if (typeof ref === "function") {
9389
+ const refCallback = ref;
9390
+ const refCleanup = refCallback(instance);
9391
+ return typeof refCleanup === "function" ? refCleanup : () => {
9392
+ refCallback(null);
9393
+ };
9394
+ }
9395
+ ref.current = instance;
9396
+ return () => {
9397
+ ref.current = null;
9398
+ };
9399
+ });
9400
+ return () => {
9401
+ cleanups.forEach((refCleanup) => refCleanup == null ? void 0 : refCleanup());
9402
+ };
9403
+ }, refs);
9404
+ return React.useMemo(() => {
9405
+ if (refs.every((ref) => ref == null)) {
9406
+ return null;
9407
+ }
9408
+ return (value) => {
9409
+ if (cleanupRef.current) {
9410
+ cleanupRef.current();
9411
+ cleanupRef.current = void 0;
9412
+ }
9413
+ if (value != null) {
9414
+ cleanupRef.current = refEffect(value);
9415
+ }
9416
+ };
9417
+ }, refs);
9418
+ }
9419
+ function isEventHandler(key, value) {
9420
+ const thirdCharCode = key.charCodeAt(2);
9421
+ return key[0] === "o" && key[1] === "n" && thirdCharCode >= 65 && thirdCharCode <= 90 && typeof value === "function";
9422
+ }
9423
+ function mergeSlotProps$1(externalSlotProps, defaultSlotProps) {
9424
+ if (!externalSlotProps) {
9425
+ return defaultSlotProps;
9426
+ }
9427
+ function extractHandlers(externalSlotPropsValue, defaultSlotPropsValue) {
9428
+ const handlers2 = {};
9429
+ Object.keys(defaultSlotPropsValue).forEach((key) => {
9430
+ if (isEventHandler(key, defaultSlotPropsValue[key]) && typeof externalSlotPropsValue[key] === "function") {
9431
+ handlers2[key] = (...args) => {
9432
+ externalSlotPropsValue[key](...args);
9433
+ defaultSlotPropsValue[key](...args);
9434
+ };
9435
+ }
9436
+ });
9437
+ return handlers2;
9438
+ }
9439
+ if (typeof externalSlotProps === "function" || typeof defaultSlotProps === "function") {
9440
+ return (ownerState) => {
9441
+ const defaultSlotPropsValue = typeof defaultSlotProps === "function" ? defaultSlotProps(ownerState) : defaultSlotProps;
9442
+ const externalSlotPropsValue = typeof externalSlotProps === "function" ? externalSlotProps({
9443
+ ...ownerState,
9444
+ ...defaultSlotPropsValue
9445
+ }) : externalSlotProps;
9446
+ const className2 = clsx$1(ownerState == null ? void 0 : ownerState.className, defaultSlotPropsValue == null ? void 0 : defaultSlotPropsValue.className, externalSlotPropsValue == null ? void 0 : externalSlotPropsValue.className);
9447
+ const handlers2 = extractHandlers(externalSlotPropsValue, defaultSlotPropsValue);
9448
+ return {
9449
+ ...defaultSlotPropsValue,
9450
+ ...externalSlotPropsValue,
9451
+ ...handlers2,
9452
+ ...!!className2 && {
9453
+ className: className2
9454
+ },
9455
+ ...(defaultSlotPropsValue == null ? void 0 : defaultSlotPropsValue.style) && (externalSlotPropsValue == null ? void 0 : externalSlotPropsValue.style) && {
9456
+ style: {
9457
+ ...defaultSlotPropsValue.style,
9458
+ ...externalSlotPropsValue.style
9459
+ }
9460
+ },
9461
+ ...(defaultSlotPropsValue == null ? void 0 : defaultSlotPropsValue.sx) && (externalSlotPropsValue == null ? void 0 : externalSlotPropsValue.sx) && {
9462
+ sx: [...Array.isArray(defaultSlotPropsValue.sx) ? defaultSlotPropsValue.sx : [defaultSlotPropsValue.sx], ...Array.isArray(externalSlotPropsValue.sx) ? externalSlotPropsValue.sx : [externalSlotPropsValue.sx]]
9463
+ }
9464
+ };
9465
+ };
9466
+ }
9467
+ const typedDefaultSlotProps = defaultSlotProps;
9468
+ const handlers = extractHandlers(externalSlotProps, typedDefaultSlotProps);
9469
+ const className = clsx$1(typedDefaultSlotProps == null ? void 0 : typedDefaultSlotProps.className, externalSlotProps == null ? void 0 : externalSlotProps.className);
9470
+ return {
9471
+ ...defaultSlotProps,
9472
+ ...externalSlotProps,
9473
+ ...handlers,
9474
+ ...!!className && {
9475
+ className
9476
+ },
9477
+ ...(typedDefaultSlotProps == null ? void 0 : typedDefaultSlotProps.style) && (externalSlotProps == null ? void 0 : externalSlotProps.style) && {
9478
+ style: {
9479
+ ...typedDefaultSlotProps.style,
9480
+ ...externalSlotProps.style
9481
+ }
9482
+ },
9483
+ ...(typedDefaultSlotProps == null ? void 0 : typedDefaultSlotProps.sx) && (externalSlotProps == null ? void 0 : externalSlotProps.sx) && {
9484
+ sx: [...Array.isArray(typedDefaultSlotProps.sx) ? typedDefaultSlotProps.sx : [typedDefaultSlotProps.sx], ...Array.isArray(externalSlotProps.sx) ? externalSlotProps.sx : [externalSlotProps.sx]]
9485
+ }
9486
+ };
9487
+ }
9488
+ function chainPropTypes(propType1, propType2) {
9489
+ return function validate(...args) {
9490
+ return propType1(...args) || propType2(...args);
9491
+ };
9492
+ }
8997
9493
  function _extends$2() {
8998
9494
  return _extends$2 = Object.assign ? Object.assign.bind() : function(n) {
8999
9495
  for (var e = 1; e < arguments.length; e++) {
@@ -9778,502 +10274,6 @@ function getTransitionProps(props, options) {
9778
10274
  delay: style2.transitionDelay
9779
10275
  };
9780
10276
  }
9781
- function createChainedFunction$1(...funcs) {
9782
- return funcs.reduce((acc, func) => {
9783
- if (func == null) {
9784
- return acc;
9785
- }
9786
- return function chainedFunction(...args) {
9787
- acc.apply(this, args);
9788
- func.apply(this, args);
9789
- };
9790
- }, () => {
9791
- });
9792
- }
9793
- function getSvgIconUtilityClass(slot) {
9794
- return generateUtilityClass("MuiSvgIcon", slot);
9795
- }
9796
- generateUtilityClasses("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
9797
- const useUtilityClasses$1y = (ownerState) => {
9798
- const {
9799
- color: color2,
9800
- fontSize,
9801
- classes: classes2
9802
- } = ownerState;
9803
- const slots = {
9804
- root: ["root", color2 !== "inherit" && `color${capitalize(color2)}`, `fontSize${capitalize(fontSize)}`]
9805
- };
9806
- return composeClasses(slots, getSvgIconUtilityClass, classes2);
9807
- };
9808
- const SvgIconRoot = styled("svg", {
9809
- name: "MuiSvgIcon",
9810
- slot: "Root",
9811
- overridesResolver: (props, styles2) => {
9812
- const {
9813
- ownerState
9814
- } = props;
9815
- return [styles2.root, ownerState.color !== "inherit" && styles2[`color${capitalize(ownerState.color)}`], styles2[`fontSize${capitalize(ownerState.fontSize)}`]];
9816
- }
9817
- })(memoTheme(({
9818
- theme
9819
- }) => {
9820
- var _a2, _b2, _c2, _d2, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
9821
- return {
9822
- userSelect: "none",
9823
- width: "1em",
9824
- height: "1em",
9825
- display: "inline-block",
9826
- flexShrink: 0,
9827
- transition: (_d2 = (_a2 = theme.transitions) == null ? void 0 : _a2.create) == null ? void 0 : _d2.call(_a2, "fill", {
9828
- duration: (_c2 = (_b2 = (theme.vars ?? theme).transitions) == null ? void 0 : _b2.duration) == null ? void 0 : _c2.shorter
9829
- }),
9830
- variants: [
9831
- {
9832
- props: (props) => !props.hasSvgAsChild,
9833
- style: {
9834
- // the <svg> will define the property that has `currentColor`
9835
- // for example heroicons uses fill="none" and stroke="currentColor"
9836
- fill: "currentColor"
9837
- }
9838
- },
9839
- {
9840
- props: {
9841
- fontSize: "inherit"
9842
- },
9843
- style: {
9844
- fontSize: "inherit"
9845
- }
9846
- },
9847
- {
9848
- props: {
9849
- fontSize: "small"
9850
- },
9851
- style: {
9852
- fontSize: ((_f = (_e = theme.typography) == null ? void 0 : _e.pxToRem) == null ? void 0 : _f.call(_e, 20)) || "1.25rem"
9853
- }
9854
- },
9855
- {
9856
- props: {
9857
- fontSize: "medium"
9858
- },
9859
- style: {
9860
- fontSize: ((_h = (_g = theme.typography) == null ? void 0 : _g.pxToRem) == null ? void 0 : _h.call(_g, 24)) || "1.5rem"
9861
- }
9862
- },
9863
- {
9864
- props: {
9865
- fontSize: "large"
9866
- },
9867
- style: {
9868
- fontSize: ((_j = (_i = theme.typography) == null ? void 0 : _i.pxToRem) == null ? void 0 : _j.call(_i, 35)) || "2.1875rem"
9869
- }
9870
- },
9871
- // TODO v5 deprecate color prop, v6 remove for sx
9872
- ...Object.entries((theme.vars ?? theme).palette).filter(([, value]) => value && value.main).map(([color2]) => {
9873
- var _a3, _b3;
9874
- return {
9875
- props: {
9876
- color: color2
9877
- },
9878
- style: {
9879
- color: (_b3 = (_a3 = (theme.vars ?? theme).palette) == null ? void 0 : _a3[color2]) == null ? void 0 : _b3.main
9880
- }
9881
- };
9882
- }),
9883
- {
9884
- props: {
9885
- color: "action"
9886
- },
9887
- style: {
9888
- color: (_l = (_k = (theme.vars ?? theme).palette) == null ? void 0 : _k.action) == null ? void 0 : _l.active
9889
- }
9890
- },
9891
- {
9892
- props: {
9893
- color: "disabled"
9894
- },
9895
- style: {
9896
- color: (_n = (_m = (theme.vars ?? theme).palette) == null ? void 0 : _m.action) == null ? void 0 : _n.disabled
9897
- }
9898
- },
9899
- {
9900
- props: {
9901
- color: "inherit"
9902
- },
9903
- style: {
9904
- color: void 0
9905
- }
9906
- }
9907
- ]
9908
- };
9909
- }));
9910
- const SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(inProps, ref) {
9911
- const props = useDefaultProps({
9912
- props: inProps,
9913
- name: "MuiSvgIcon"
9914
- });
9915
- const {
9916
- children,
9917
- className,
9918
- color: color2 = "inherit",
9919
- component = "svg",
9920
- fontSize = "medium",
9921
- htmlColor,
9922
- inheritViewBox = false,
9923
- titleAccess,
9924
- viewBox = "0 0 24 24",
9925
- ...other
9926
- } = props;
9927
- const hasSvgAsChild = /* @__PURE__ */ React.isValidElement(children) && children.type === "svg";
9928
- const ownerState = {
9929
- ...props,
9930
- color: color2,
9931
- component,
9932
- fontSize,
9933
- instanceFontSize: inProps.fontSize,
9934
- inheritViewBox,
9935
- viewBox,
9936
- hasSvgAsChild
9937
- };
9938
- const more = {};
9939
- if (!inheritViewBox) {
9940
- more.viewBox = viewBox;
9941
- }
9942
- const classes2 = useUtilityClasses$1y(ownerState);
9943
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(SvgIconRoot, {
9944
- as: component,
9945
- className: clsx$1(classes2.root, className),
9946
- focusable: "false",
9947
- color: htmlColor,
9948
- "aria-hidden": titleAccess ? void 0 : true,
9949
- role: titleAccess ? "img" : void 0,
9950
- ref,
9951
- ...more,
9952
- ...other,
9953
- ...hasSvgAsChild && children.props,
9954
- ownerState,
9955
- children: [hasSvgAsChild ? children.props.children : children, titleAccess ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", {
9956
- children: titleAccess
9957
- }) : null]
9958
- });
9959
- });
9960
- SvgIcon.propTypes = {
9961
- // ┌────────────────────────────── Warning ──────────────────────────────┐
9962
- // │ These PropTypes are generated from the TypeScript type definitions. │
9963
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
9964
- // └─────────────────────────────────────────────────────────────────────┘
9965
- /**
9966
- * Node passed into the SVG element.
9967
- */
9968
- children: PropTypes.node,
9969
- /**
9970
- * Override or extend the styles applied to the component.
9971
- */
9972
- classes: PropTypes.object,
9973
- /**
9974
- * @ignore
9975
- */
9976
- className: PropTypes.string,
9977
- /**
9978
- * The color of the component.
9979
- * It supports both default and custom theme colors, which can be added as shown in the
9980
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
9981
- * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
9982
- * @default 'inherit'
9983
- */
9984
- color: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), PropTypes.string]),
9985
- /**
9986
- * The component used for the root node.
9987
- * Either a string to use a HTML element or a component.
9988
- */
9989
- component: PropTypes.elementType,
9990
- /**
9991
- * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
9992
- * @default 'medium'
9993
- */
9994
- fontSize: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "large", "medium", "small"]), PropTypes.string]),
9995
- /**
9996
- * Applies a color attribute to the SVG element.
9997
- */
9998
- htmlColor: PropTypes.string,
9999
- /**
10000
- * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
10001
- * prop will be ignored.
10002
- * Useful when you want to reference a custom `component` and have `SvgIcon` pass that
10003
- * `component`'s viewBox to the root node.
10004
- * @default false
10005
- */
10006
- inheritViewBox: PropTypes.bool,
10007
- /**
10008
- * The shape-rendering attribute. The behavior of the different options is described on the
10009
- * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
10010
- * If you are having issues with blurry icons you should investigate this prop.
10011
- */
10012
- shapeRendering: PropTypes.string,
10013
- /**
10014
- * The system prop that allows defining system overrides as well as additional CSS styles.
10015
- */
10016
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
10017
- /**
10018
- * Provides a human-readable title for the element that contains it.
10019
- * https://www.w3.org/TR/SVG-access/#Equivalent
10020
- */
10021
- titleAccess: PropTypes.string,
10022
- /**
10023
- * Allows you to redefine what the coordinates without units mean inside an SVG element.
10024
- * For example, if the SVG element is 500 (width) by 200 (height),
10025
- * and you pass viewBox="0 0 50 20",
10026
- * this means that the coordinates inside the SVG will go from the top left corner (0,0)
10027
- * to bottom right (50,20) and each unit will be worth 10px.
10028
- * @default '0 0 24 24'
10029
- */
10030
- viewBox: PropTypes.string
10031
- };
10032
- SvgIcon.muiName = "SvgIcon";
10033
- function createSvgIcon(path, displayName) {
10034
- function Component(props, ref) {
10035
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SvgIcon, {
10036
- "data-testid": `${displayName}Icon`,
10037
- ref,
10038
- ...props,
10039
- children: path
10040
- });
10041
- }
10042
- {
10043
- Component.displayName = `${displayName}Icon`;
10044
- }
10045
- Component.muiName = SvgIcon.muiName;
10046
- return /* @__PURE__ */ React.memo(/* @__PURE__ */ React.forwardRef(Component));
10047
- }
10048
- function debounce$2(func, wait = 166) {
10049
- let timeout2;
10050
- function debounced(...args) {
10051
- const later = () => {
10052
- func.apply(this, args);
10053
- };
10054
- clearTimeout(timeout2);
10055
- timeout2 = setTimeout(later, wait);
10056
- }
10057
- debounced.clear = () => {
10058
- clearTimeout(timeout2);
10059
- };
10060
- return debounced;
10061
- }
10062
- function ownerDocument(node2) {
10063
- return node2 && node2.ownerDocument || document;
10064
- }
10065
- function ownerWindow(node2) {
10066
- const doc = ownerDocument(node2);
10067
- return doc.defaultView || window;
10068
- }
10069
- function requirePropFactory(componentNameInError, Component) {
10070
- const prevPropTypes = Component ? {
10071
- ...Component.propTypes
10072
- } : null;
10073
- const requireProp = (requiredProp) => (props, propName, componentName, location, propFullName, ...args) => {
10074
- const propFullNameSafe = propFullName || propName;
10075
- const defaultTypeChecker = prevPropTypes == null ? void 0 : prevPropTypes[propFullNameSafe];
10076
- if (defaultTypeChecker) {
10077
- const typeCheckerResult = defaultTypeChecker(props, propName, componentName, location, propFullName, ...args);
10078
- if (typeCheckerResult) {
10079
- return typeCheckerResult;
10080
- }
10081
- }
10082
- if (typeof props[propName] !== "undefined" && !props[requiredProp]) {
10083
- return new Error(`The prop \`${propFullNameSafe}\` of \`${componentNameInError}\` can only be used together with the \`${requiredProp}\` prop.`);
10084
- }
10085
- return null;
10086
- };
10087
- return requireProp;
10088
- }
10089
- function setRef$1(ref, value) {
10090
- if (typeof ref === "function") {
10091
- ref(value);
10092
- } else if (ref) {
10093
- ref.current = value;
10094
- }
10095
- }
10096
- let globalId$1 = 0;
10097
- function useGlobalId(idOverride) {
10098
- const [defaultId, setDefaultId] = React.useState(idOverride);
10099
- const id = idOverride || defaultId;
10100
- React.useEffect(() => {
10101
- if (defaultId == null) {
10102
- globalId$1 += 1;
10103
- setDefaultId(`mui-${globalId$1}`);
10104
- }
10105
- }, [defaultId]);
10106
- return id;
10107
- }
10108
- const safeReact = {
10109
- ...React
10110
- };
10111
- const maybeReactUseId = safeReact.useId;
10112
- function useId(idOverride) {
10113
- if (maybeReactUseId !== void 0) {
10114
- const reactId = maybeReactUseId();
10115
- return idOverride ?? reactId;
10116
- }
10117
- return useGlobalId(idOverride);
10118
- }
10119
- function unsupportedProp(props, propName, componentName, location, propFullName) {
10120
- const propFullNameSafe = propFullName || propName;
10121
- if (typeof props[propName] !== "undefined") {
10122
- return new Error(`The prop \`${propFullNameSafe}\` is not supported. Please remove it.`);
10123
- }
10124
- return null;
10125
- }
10126
- function useControlled(props) {
10127
- const {
10128
- controlled,
10129
- default: defaultProp,
10130
- name,
10131
- state = "value"
10132
- } = props;
10133
- const {
10134
- current: isControlled
10135
- } = React.useRef(controlled !== void 0);
10136
- const [valueState, setValue] = React.useState(defaultProp);
10137
- const value = isControlled ? controlled : valueState;
10138
- {
10139
- React.useEffect(() => {
10140
- if (isControlled !== (controlled !== void 0)) {
10141
- console.error([`MUI: A component is changing the ${isControlled ? "" : "un"}controlled ${state} state of ${name} to be ${isControlled ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${name} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join("\n"));
10142
- }
10143
- }, [state, name, controlled]);
10144
- const {
10145
- current: defaultValue
10146
- } = React.useRef(defaultProp);
10147
- React.useEffect(() => {
10148
- if (!isControlled && !Object.is(defaultValue, defaultProp)) {
10149
- console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. To suppress this warning opt to use a controlled ${name}.`].join("\n"));
10150
- }
10151
- }, [JSON.stringify(defaultProp)]);
10152
- }
10153
- const setValueIfUncontrolled = React.useCallback((newValue) => {
10154
- if (!isControlled) {
10155
- setValue(newValue);
10156
- }
10157
- }, []);
10158
- return [value, setValueIfUncontrolled];
10159
- }
10160
- function useEventCallback(fn2) {
10161
- const ref = React.useRef(fn2);
10162
- useEnhancedEffect$1(() => {
10163
- ref.current = fn2;
10164
- });
10165
- return React.useRef((...args) => (
10166
- // @ts-expect-error hide `this`
10167
- (0, ref.current)(...args)
10168
- )).current;
10169
- }
10170
- function useForkRef$1(...refs) {
10171
- const cleanupRef = React.useRef(void 0);
10172
- const refEffect = React.useCallback((instance) => {
10173
- const cleanups = refs.map((ref) => {
10174
- if (ref == null) {
10175
- return null;
10176
- }
10177
- if (typeof ref === "function") {
10178
- const refCallback = ref;
10179
- const refCleanup = refCallback(instance);
10180
- return typeof refCleanup === "function" ? refCleanup : () => {
10181
- refCallback(null);
10182
- };
10183
- }
10184
- ref.current = instance;
10185
- return () => {
10186
- ref.current = null;
10187
- };
10188
- });
10189
- return () => {
10190
- cleanups.forEach((refCleanup) => refCleanup == null ? void 0 : refCleanup());
10191
- };
10192
- }, refs);
10193
- return React.useMemo(() => {
10194
- if (refs.every((ref) => ref == null)) {
10195
- return null;
10196
- }
10197
- return (value) => {
10198
- if (cleanupRef.current) {
10199
- cleanupRef.current();
10200
- cleanupRef.current = void 0;
10201
- }
10202
- if (value != null) {
10203
- cleanupRef.current = refEffect(value);
10204
- }
10205
- };
10206
- }, refs);
10207
- }
10208
- function isEventHandler(key, value) {
10209
- const thirdCharCode = key.charCodeAt(2);
10210
- return key[0] === "o" && key[1] === "n" && thirdCharCode >= 65 && thirdCharCode <= 90 && typeof value === "function";
10211
- }
10212
- function mergeSlotProps$1(externalSlotProps, defaultSlotProps) {
10213
- if (!externalSlotProps) {
10214
- return defaultSlotProps;
10215
- }
10216
- function extractHandlers(externalSlotPropsValue, defaultSlotPropsValue) {
10217
- const handlers2 = {};
10218
- Object.keys(defaultSlotPropsValue).forEach((key) => {
10219
- if (isEventHandler(key, defaultSlotPropsValue[key]) && typeof externalSlotPropsValue[key] === "function") {
10220
- handlers2[key] = (...args) => {
10221
- externalSlotPropsValue[key](...args);
10222
- defaultSlotPropsValue[key](...args);
10223
- };
10224
- }
10225
- });
10226
- return handlers2;
10227
- }
10228
- if (typeof externalSlotProps === "function" || typeof defaultSlotProps === "function") {
10229
- return (ownerState) => {
10230
- const defaultSlotPropsValue = typeof defaultSlotProps === "function" ? defaultSlotProps(ownerState) : defaultSlotProps;
10231
- const externalSlotPropsValue = typeof externalSlotProps === "function" ? externalSlotProps({
10232
- ...ownerState,
10233
- ...defaultSlotPropsValue
10234
- }) : externalSlotProps;
10235
- const className2 = clsx$1(ownerState == null ? void 0 : ownerState.className, defaultSlotPropsValue == null ? void 0 : defaultSlotPropsValue.className, externalSlotPropsValue == null ? void 0 : externalSlotPropsValue.className);
10236
- const handlers2 = extractHandlers(externalSlotPropsValue, defaultSlotPropsValue);
10237
- return {
10238
- ...defaultSlotPropsValue,
10239
- ...externalSlotPropsValue,
10240
- ...handlers2,
10241
- ...!!className2 && {
10242
- className: className2
10243
- },
10244
- ...(defaultSlotPropsValue == null ? void 0 : defaultSlotPropsValue.style) && (externalSlotPropsValue == null ? void 0 : externalSlotPropsValue.style) && {
10245
- style: {
10246
- ...defaultSlotPropsValue.style,
10247
- ...externalSlotPropsValue.style
10248
- }
10249
- },
10250
- ...(defaultSlotPropsValue == null ? void 0 : defaultSlotPropsValue.sx) && (externalSlotPropsValue == null ? void 0 : externalSlotPropsValue.sx) && {
10251
- sx: [...Array.isArray(defaultSlotPropsValue.sx) ? defaultSlotPropsValue.sx : [defaultSlotPropsValue.sx], ...Array.isArray(externalSlotPropsValue.sx) ? externalSlotPropsValue.sx : [externalSlotPropsValue.sx]]
10252
- }
10253
- };
10254
- };
10255
- }
10256
- const typedDefaultSlotProps = defaultSlotProps;
10257
- const handlers = extractHandlers(externalSlotProps, typedDefaultSlotProps);
10258
- const className = clsx$1(typedDefaultSlotProps == null ? void 0 : typedDefaultSlotProps.className, externalSlotProps == null ? void 0 : externalSlotProps.className);
10259
- return {
10260
- ...defaultSlotProps,
10261
- ...externalSlotProps,
10262
- ...handlers,
10263
- ...!!className && {
10264
- className
10265
- },
10266
- ...(typedDefaultSlotProps == null ? void 0 : typedDefaultSlotProps.style) && (externalSlotProps == null ? void 0 : externalSlotProps.style) && {
10267
- style: {
10268
- ...typedDefaultSlotProps.style,
10269
- ...externalSlotProps.style
10270
- }
10271
- },
10272
- ...(typedDefaultSlotProps == null ? void 0 : typedDefaultSlotProps.sx) && (externalSlotProps == null ? void 0 : externalSlotProps.sx) && {
10273
- sx: [...Array.isArray(typedDefaultSlotProps.sx) ? typedDefaultSlotProps.sx : [typedDefaultSlotProps.sx], ...Array.isArray(externalSlotProps.sx) ? externalSlotProps.sx : [externalSlotProps.sx]]
10274
- }
10275
- };
10276
- }
10277
10277
  function getCollapseUtilityClass(slot) {
10278
10278
  return generateUtilityClass("MuiCollapse", slot);
10279
10279
  }
@@ -22506,6 +22506,437 @@ InputLabel.propTypes = {
22506
22506
  */
22507
22507
  variant: PropTypes.oneOf(["filled", "outlined", "standard"])
22508
22508
  };
22509
+ function getLinearProgressUtilityClass(slot) {
22510
+ return generateUtilityClass("MuiLinearProgress", slot);
22511
+ }
22512
+ generateUtilityClasses("MuiLinearProgress", ["root", "colorPrimary", "colorSecondary", "determinate", "indeterminate", "buffer", "query", "dashed", "dashedColorPrimary", "dashedColorSecondary", "bar", "bar1", "bar2", "barColorPrimary", "barColorSecondary", "bar1Indeterminate", "bar1Determinate", "bar1Buffer", "bar2Indeterminate", "bar2Buffer"]);
22513
+ const TRANSITION_DURATION = 4;
22514
+ const indeterminate1Keyframe = keyframes`
22515
+ 0% {
22516
+ left: -35%;
22517
+ right: 100%;
22518
+ }
22519
+
22520
+ 60% {
22521
+ left: 100%;
22522
+ right: -90%;
22523
+ }
22524
+
22525
+ 100% {
22526
+ left: 100%;
22527
+ right: -90%;
22528
+ }
22529
+ `;
22530
+ const indeterminate1Animation = typeof indeterminate1Keyframe !== "string" ? css`
22531
+ animation: ${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
22532
+ ` : null;
22533
+ const indeterminate2Keyframe = keyframes`
22534
+ 0% {
22535
+ left: -200%;
22536
+ right: 100%;
22537
+ }
22538
+
22539
+ 60% {
22540
+ left: 107%;
22541
+ right: -8%;
22542
+ }
22543
+
22544
+ 100% {
22545
+ left: 107%;
22546
+ right: -8%;
22547
+ }
22548
+ `;
22549
+ const indeterminate2Animation = typeof indeterminate2Keyframe !== "string" ? css`
22550
+ animation: ${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
22551
+ ` : null;
22552
+ const bufferKeyframe = keyframes`
22553
+ 0% {
22554
+ opacity: 1;
22555
+ background-position: 0 -23px;
22556
+ }
22557
+
22558
+ 60% {
22559
+ opacity: 0;
22560
+ background-position: 0 -23px;
22561
+ }
22562
+
22563
+ 100% {
22564
+ opacity: 1;
22565
+ background-position: -200px -23px;
22566
+ }
22567
+ `;
22568
+ const bufferAnimation = typeof bufferKeyframe !== "string" ? css`
22569
+ animation: ${bufferKeyframe} 3s infinite linear;
22570
+ ` : null;
22571
+ const useUtilityClasses$19 = (ownerState) => {
22572
+ const {
22573
+ classes: classes2,
22574
+ variant,
22575
+ color: color2
22576
+ } = ownerState;
22577
+ const slots = {
22578
+ root: ["root", `color${capitalize(color2)}`, variant],
22579
+ dashed: ["dashed", `dashedColor${capitalize(color2)}`],
22580
+ bar1: ["bar", "bar1", `barColor${capitalize(color2)}`, (variant === "indeterminate" || variant === "query") && "bar1Indeterminate", variant === "determinate" && "bar1Determinate", variant === "buffer" && "bar1Buffer"],
22581
+ bar2: ["bar", "bar2", variant !== "buffer" && `barColor${capitalize(color2)}`, variant === "buffer" && `color${capitalize(color2)}`, (variant === "indeterminate" || variant === "query") && "bar2Indeterminate", variant === "buffer" && "bar2Buffer"]
22582
+ };
22583
+ return composeClasses(slots, getLinearProgressUtilityClass, classes2);
22584
+ };
22585
+ const getColorShade = (theme, color2) => {
22586
+ if (theme.vars) {
22587
+ return theme.vars.palette.LinearProgress[`${color2}Bg`];
22588
+ }
22589
+ return theme.palette.mode === "light" ? lighten(theme.palette[color2].main, 0.62) : darken(theme.palette[color2].main, 0.5);
22590
+ };
22591
+ const LinearProgressRoot = styled("span", {
22592
+ name: "MuiLinearProgress",
22593
+ slot: "Root",
22594
+ overridesResolver: (props, styles2) => {
22595
+ const {
22596
+ ownerState
22597
+ } = props;
22598
+ return [styles2.root, styles2[`color${capitalize(ownerState.color)}`], styles2[ownerState.variant]];
22599
+ }
22600
+ })(memoTheme(({
22601
+ theme
22602
+ }) => ({
22603
+ position: "relative",
22604
+ overflow: "hidden",
22605
+ display: "block",
22606
+ height: 4,
22607
+ // Fix Safari's bug during composition of different paint.
22608
+ zIndex: 0,
22609
+ "@media print": {
22610
+ colorAdjust: "exact"
22611
+ },
22612
+ variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
22613
+ props: {
22614
+ color: color2
22615
+ },
22616
+ style: {
22617
+ backgroundColor: getColorShade(theme, color2)
22618
+ }
22619
+ })), {
22620
+ props: ({
22621
+ ownerState
22622
+ }) => ownerState.color === "inherit" && ownerState.variant !== "buffer",
22623
+ style: {
22624
+ "&::before": {
22625
+ content: '""',
22626
+ position: "absolute",
22627
+ left: 0,
22628
+ top: 0,
22629
+ right: 0,
22630
+ bottom: 0,
22631
+ backgroundColor: "currentColor",
22632
+ opacity: 0.3
22633
+ }
22634
+ }
22635
+ }, {
22636
+ props: {
22637
+ variant: "buffer"
22638
+ },
22639
+ style: {
22640
+ backgroundColor: "transparent"
22641
+ }
22642
+ }, {
22643
+ props: {
22644
+ variant: "query"
22645
+ },
22646
+ style: {
22647
+ transform: "rotate(180deg)"
22648
+ }
22649
+ }]
22650
+ })));
22651
+ const LinearProgressDashed = styled("span", {
22652
+ name: "MuiLinearProgress",
22653
+ slot: "Dashed",
22654
+ overridesResolver: (props, styles2) => {
22655
+ const {
22656
+ ownerState
22657
+ } = props;
22658
+ return [styles2.dashed, styles2[`dashedColor${capitalize(ownerState.color)}`]];
22659
+ }
22660
+ })(memoTheme(({
22661
+ theme
22662
+ }) => ({
22663
+ position: "absolute",
22664
+ marginTop: 0,
22665
+ height: "100%",
22666
+ width: "100%",
22667
+ backgroundSize: "10px 10px",
22668
+ backgroundPosition: "0 -23px",
22669
+ variants: [{
22670
+ props: {
22671
+ color: "inherit"
22672
+ },
22673
+ style: {
22674
+ opacity: 0.3,
22675
+ backgroundImage: `radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)`
22676
+ }
22677
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => {
22678
+ const backgroundColor2 = getColorShade(theme, color2);
22679
+ return {
22680
+ props: {
22681
+ color: color2
22682
+ },
22683
+ style: {
22684
+ backgroundImage: `radial-gradient(${backgroundColor2} 0%, ${backgroundColor2} 16%, transparent 42%)`
22685
+ }
22686
+ };
22687
+ })]
22688
+ })), bufferAnimation || {
22689
+ // At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
22690
+ animation: `${bufferKeyframe} 3s infinite linear`
22691
+ });
22692
+ const LinearProgressBar1 = styled("span", {
22693
+ name: "MuiLinearProgress",
22694
+ slot: "Bar1",
22695
+ overridesResolver: (props, styles2) => {
22696
+ const {
22697
+ ownerState
22698
+ } = props;
22699
+ return [styles2.bar, styles2.bar1, styles2[`barColor${capitalize(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar1Indeterminate, ownerState.variant === "determinate" && styles2.bar1Determinate, ownerState.variant === "buffer" && styles2.bar1Buffer];
22700
+ }
22701
+ })(memoTheme(({
22702
+ theme
22703
+ }) => ({
22704
+ width: "100%",
22705
+ position: "absolute",
22706
+ left: 0,
22707
+ bottom: 0,
22708
+ top: 0,
22709
+ transition: "transform 0.2s linear",
22710
+ transformOrigin: "left",
22711
+ variants: [{
22712
+ props: {
22713
+ color: "inherit"
22714
+ },
22715
+ style: {
22716
+ backgroundColor: "currentColor"
22717
+ }
22718
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
22719
+ props: {
22720
+ color: color2
22721
+ },
22722
+ style: {
22723
+ backgroundColor: (theme.vars || theme).palette[color2].main
22724
+ }
22725
+ })), {
22726
+ props: {
22727
+ variant: "determinate"
22728
+ },
22729
+ style: {
22730
+ transition: `transform .${TRANSITION_DURATION}s linear`
22731
+ }
22732
+ }, {
22733
+ props: {
22734
+ variant: "buffer"
22735
+ },
22736
+ style: {
22737
+ zIndex: 1,
22738
+ transition: `transform .${TRANSITION_DURATION}s linear`
22739
+ }
22740
+ }, {
22741
+ props: ({
22742
+ ownerState
22743
+ }) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
22744
+ style: {
22745
+ width: "auto"
22746
+ }
22747
+ }, {
22748
+ props: ({
22749
+ ownerState
22750
+ }) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
22751
+ style: indeterminate1Animation || {
22752
+ animation: `${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`
22753
+ }
22754
+ }]
22755
+ })));
22756
+ const LinearProgressBar2 = styled("span", {
22757
+ name: "MuiLinearProgress",
22758
+ slot: "Bar2",
22759
+ overridesResolver: (props, styles2) => {
22760
+ const {
22761
+ ownerState
22762
+ } = props;
22763
+ return [styles2.bar, styles2.bar2, styles2[`barColor${capitalize(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar2Indeterminate, ownerState.variant === "buffer" && styles2.bar2Buffer];
22764
+ }
22765
+ })(memoTheme(({
22766
+ theme
22767
+ }) => ({
22768
+ width: "100%",
22769
+ position: "absolute",
22770
+ left: 0,
22771
+ bottom: 0,
22772
+ top: 0,
22773
+ transition: "transform 0.2s linear",
22774
+ transformOrigin: "left",
22775
+ variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
22776
+ props: {
22777
+ color: color2
22778
+ },
22779
+ style: {
22780
+ "--LinearProgressBar2-barColor": (theme.vars || theme).palette[color2].main
22781
+ }
22782
+ })), {
22783
+ props: ({
22784
+ ownerState
22785
+ }) => ownerState.variant !== "buffer" && ownerState.color !== "inherit",
22786
+ style: {
22787
+ backgroundColor: "var(--LinearProgressBar2-barColor, currentColor)"
22788
+ }
22789
+ }, {
22790
+ props: ({
22791
+ ownerState
22792
+ }) => ownerState.variant !== "buffer" && ownerState.color === "inherit",
22793
+ style: {
22794
+ backgroundColor: "currentColor"
22795
+ }
22796
+ }, {
22797
+ props: {
22798
+ color: "inherit"
22799
+ },
22800
+ style: {
22801
+ opacity: 0.3
22802
+ }
22803
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
22804
+ props: {
22805
+ color: color2,
22806
+ variant: "buffer"
22807
+ },
22808
+ style: {
22809
+ backgroundColor: getColorShade(theme, color2),
22810
+ transition: `transform .${TRANSITION_DURATION}s linear`
22811
+ }
22812
+ })), {
22813
+ props: ({
22814
+ ownerState
22815
+ }) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
22816
+ style: {
22817
+ width: "auto"
22818
+ }
22819
+ }, {
22820
+ props: ({
22821
+ ownerState
22822
+ }) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
22823
+ style: indeterminate2Animation || {
22824
+ animation: `${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`
22825
+ }
22826
+ }]
22827
+ })));
22828
+ const LinearProgress = /* @__PURE__ */ React.forwardRef(function LinearProgress2(inProps, ref) {
22829
+ const props = useDefaultProps({
22830
+ props: inProps,
22831
+ name: "MuiLinearProgress"
22832
+ });
22833
+ const {
22834
+ className,
22835
+ color: color2 = "primary",
22836
+ value,
22837
+ valueBuffer,
22838
+ variant = "indeterminate",
22839
+ ...other
22840
+ } = props;
22841
+ const ownerState = {
22842
+ ...props,
22843
+ color: color2,
22844
+ variant
22845
+ };
22846
+ const classes2 = useUtilityClasses$19(ownerState);
22847
+ const isRtl = useRtl();
22848
+ const rootProps = {};
22849
+ const inlineStyles = {
22850
+ bar1: {},
22851
+ bar2: {}
22852
+ };
22853
+ if (variant === "determinate" || variant === "buffer") {
22854
+ if (value !== void 0) {
22855
+ rootProps["aria-valuenow"] = Math.round(value);
22856
+ rootProps["aria-valuemin"] = 0;
22857
+ rootProps["aria-valuemax"] = 100;
22858
+ let transform = value - 100;
22859
+ if (isRtl) {
22860
+ transform = -transform;
22861
+ }
22862
+ inlineStyles.bar1.transform = `translateX(${transform}%)`;
22863
+ } else {
22864
+ console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");
22865
+ }
22866
+ }
22867
+ if (variant === "buffer") {
22868
+ if (valueBuffer !== void 0) {
22869
+ let transform = (valueBuffer || 0) - 100;
22870
+ if (isRtl) {
22871
+ transform = -transform;
22872
+ }
22873
+ inlineStyles.bar2.transform = `translateX(${transform}%)`;
22874
+ } else {
22875
+ console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");
22876
+ }
22877
+ }
22878
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(LinearProgressRoot, {
22879
+ className: clsx$1(classes2.root, className),
22880
+ ownerState,
22881
+ role: "progressbar",
22882
+ ...rootProps,
22883
+ ref,
22884
+ ...other,
22885
+ children: [variant === "buffer" ? /* @__PURE__ */ jsxRuntimeExports.jsx(LinearProgressDashed, {
22886
+ className: classes2.dashed,
22887
+ ownerState
22888
+ }) : null, /* @__PURE__ */ jsxRuntimeExports.jsx(LinearProgressBar1, {
22889
+ className: classes2.bar1,
22890
+ ownerState,
22891
+ style: inlineStyles.bar1
22892
+ }), variant === "determinate" ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(LinearProgressBar2, {
22893
+ className: classes2.bar2,
22894
+ ownerState,
22895
+ style: inlineStyles.bar2
22896
+ })]
22897
+ });
22898
+ });
22899
+ LinearProgress.propTypes = {
22900
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
22901
+ // │ These PropTypes are generated from the TypeScript type definitions. │
22902
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
22903
+ // └─────────────────────────────────────────────────────────────────────┘
22904
+ /**
22905
+ * Override or extend the styles applied to the component.
22906
+ */
22907
+ classes: PropTypes.object,
22908
+ /**
22909
+ * @ignore
22910
+ */
22911
+ className: PropTypes.string,
22912
+ /**
22913
+ * The color of the component.
22914
+ * It supports both default and custom theme colors, which can be added as shown in the
22915
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
22916
+ * @default 'primary'
22917
+ */
22918
+ color: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "primary", "secondary"]), PropTypes.string]),
22919
+ /**
22920
+ * The system prop that allows defining system overrides as well as additional CSS styles.
22921
+ */
22922
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
22923
+ /**
22924
+ * The value of the progress indicator for the determinate and buffer variants.
22925
+ * Value between 0 and 100.
22926
+ */
22927
+ value: PropTypes.number,
22928
+ /**
22929
+ * The value for the buffer variant.
22930
+ * Value between 0 and 100.
22931
+ */
22932
+ valueBuffer: PropTypes.number,
22933
+ /**
22934
+ * The variant to use.
22935
+ * Use indeterminate or query when there is no progress value.
22936
+ * @default 'indeterminate'
22937
+ */
22938
+ variant: PropTypes.oneOf(["buffer", "determinate", "indeterminate", "query"])
22939
+ };
22509
22940
  const ListContext = /* @__PURE__ */ React.createContext({});
22510
22941
  {
22511
22942
  ListContext.displayName = "ListContext";
@@ -22514,7 +22945,7 @@ function getListUtilityClass(slot) {
22514
22945
  return generateUtilityClass("MuiList", slot);
22515
22946
  }
22516
22947
  generateUtilityClasses("MuiList", ["root", "padding", "dense", "subheader"]);
22517
- const useUtilityClasses$19 = (ownerState) => {
22948
+ const useUtilityClasses$18 = (ownerState) => {
22518
22949
  const {
22519
22950
  classes: classes2,
22520
22951
  disablePadding,
@@ -22580,7 +23011,7 @@ const List = /* @__PURE__ */ React.forwardRef(function List2(inProps, ref) {
22580
23011
  dense,
22581
23012
  disablePadding
22582
23013
  };
22583
- const classes2 = useUtilityClasses$19(ownerState);
23014
+ const classes2 = useUtilityClasses$18(ownerState);
22584
23015
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ListContext.Provider, {
22585
23016
  value: context,
22586
23017
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs(ListRoot, {
@@ -22640,7 +23071,7 @@ function getListItemTextUtilityClass(slot) {
22640
23071
  return generateUtilityClass("MuiListItemText", slot);
22641
23072
  }
22642
23073
  const listItemTextClasses = generateUtilityClasses("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
22643
- const useUtilityClasses$18 = (ownerState) => {
23074
+ const useUtilityClasses$17 = (ownerState) => {
22644
23075
  const {
22645
23076
  classes: classes2,
22646
23077
  inset,
@@ -22727,7 +23158,7 @@ const ListItemText = /* @__PURE__ */ React.forwardRef(function ListItemText2(inP
22727
23158
  secondary: !!secondary,
22728
23159
  dense
22729
23160
  };
22730
- const classes2 = useUtilityClasses$18(ownerState);
23161
+ const classes2 = useUtilityClasses$17(ownerState);
22731
23162
  const externalForwardedProps = {
22732
23163
  slots,
22733
23164
  slotProps: {
@@ -23104,7 +23535,7 @@ function getDividerUtilityClass(slot) {
23104
23535
  return generateUtilityClass("MuiDivider", slot);
23105
23536
  }
23106
23537
  const dividerClasses = generateUtilityClasses("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
23107
- const useUtilityClasses$17 = (ownerState) => {
23538
+ const useUtilityClasses$16 = (ownerState) => {
23108
23539
  const {
23109
23540
  absolute,
23110
23541
  children,
@@ -23318,7 +23749,7 @@ const Divider$1 = /* @__PURE__ */ React.forwardRef(function Divider2(inProps, re
23318
23749
  textAlign,
23319
23750
  variant
23320
23751
  };
23321
- const classes2 = useUtilityClasses$17(ownerState);
23752
+ const classes2 = useUtilityClasses$16(ownerState);
23322
23753
  return /* @__PURE__ */ jsxRuntimeExports.jsx(DividerRoot, {
23323
23754
  as: component,
23324
23755
  className: clsx$1(classes2.root, className),
@@ -23404,7 +23835,7 @@ function getListItemIconUtilityClass(slot) {
23404
23835
  return generateUtilityClass("MuiListItemIcon", slot);
23405
23836
  }
23406
23837
  const listItemIconClasses = generateUtilityClasses("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
23407
- const useUtilityClasses$16 = (ownerState) => {
23838
+ const useUtilityClasses$15 = (ownerState) => {
23408
23839
  const {
23409
23840
  alignItems,
23410
23841
  classes: classes2
@@ -23453,7 +23884,7 @@ const ListItemIcon = /* @__PURE__ */ React.forwardRef(function ListItemIcon2(inP
23453
23884
  ...props,
23454
23885
  alignItems: context.alignItems
23455
23886
  };
23456
- const classes2 = useUtilityClasses$16(ownerState);
23887
+ const classes2 = useUtilityClasses$15(ownerState);
23457
23888
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIconRoot, {
23458
23889
  className: clsx$1(classes2.root, className),
23459
23890
  ownerState,
@@ -23494,7 +23925,7 @@ const overridesResolver$1 = (props, styles2) => {
23494
23925
  } = props;
23495
23926
  return [styles2.root, ownerState.dense && styles2.dense, ownerState.divider && styles2.divider, !ownerState.disableGutters && styles2.gutters];
23496
23927
  };
23497
- const useUtilityClasses$15 = (ownerState) => {
23928
+ const useUtilityClasses$14 = (ownerState) => {
23498
23929
  const {
23499
23930
  disabled,
23500
23931
  dense,
@@ -23654,7 +24085,7 @@ const MenuItem = /* @__PURE__ */ React.forwardRef(function MenuItem2(inProps, re
23654
24085
  divider,
23655
24086
  disableGutters
23656
24087
  };
23657
- const classes2 = useUtilityClasses$15(props);
24088
+ const classes2 = useUtilityClasses$14(props);
23658
24089
  const handleRef = useForkRef$1(menuItemRef, ref);
23659
24090
  let tabIndex;
23660
24091
  if (!props.disabled) {
@@ -23754,7 +24185,7 @@ function getNativeSelectUtilityClasses(slot) {
23754
24185
  return generateUtilityClass("MuiNativeSelect", slot);
23755
24186
  }
23756
24187
  const nativeSelectClasses = generateUtilityClasses("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
23757
- const useUtilityClasses$14 = (ownerState) => {
24188
+ const useUtilityClasses$13 = (ownerState) => {
23758
24189
  const {
23759
24190
  classes: classes2,
23760
24191
  variant,
@@ -23909,7 +24340,7 @@ const NativeSelectInput = /* @__PURE__ */ React.forwardRef(function NativeSelect
23909
24340
  variant,
23910
24341
  error
23911
24342
  };
23912
- const classes2 = useUtilityClasses$14(ownerState);
24343
+ const classes2 = useUtilityClasses$13(ownerState);
23913
24344
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(React.Fragment, {
23914
24345
  children: [/* @__PURE__ */ jsxRuntimeExports.jsx(NativeSelectSelect, {
23915
24346
  ownerState,
@@ -23979,7 +24410,7 @@ NativeSelectInput.propTypes = {
23979
24410
  */
23980
24411
  variant: PropTypes.oneOf(["standard", "outlined", "filled"])
23981
24412
  };
23982
- const useUtilityClasses$13 = (ownerState) => {
24413
+ const useUtilityClasses$12 = (ownerState) => {
23983
24414
  const {
23984
24415
  classes: classes2,
23985
24416
  disableUnderline
@@ -24112,7 +24543,7 @@ const Input = /* @__PURE__ */ React.forwardRef(function Input2(inProps, ref) {
24112
24543
  type = "text",
24113
24544
  ...other
24114
24545
  } = props;
24115
- const classes2 = useUtilityClasses$13(props);
24546
+ const classes2 = useUtilityClasses$12(props);
24116
24547
  const ownerState = {
24117
24548
  disableUnderline
24118
24549
  };
@@ -24325,7 +24756,7 @@ Input.propTypes = {
24325
24756
  value: PropTypes.any
24326
24757
  };
24327
24758
  Input.muiName = "Input";
24328
- const useUtilityClasses$12 = (ownerState) => {
24759
+ const useUtilityClasses$11 = (ownerState) => {
24329
24760
  const {
24330
24761
  classes: classes2
24331
24762
  } = ownerState;
@@ -24360,7 +24791,7 @@ const NativeSelect = /* @__PURE__ */ React.forwardRef(function NativeSelect2(inP
24360
24791
  ...props,
24361
24792
  classes: classesProp
24362
24793
  };
24363
- const classes2 = useUtilityClasses$12(ownerState);
24794
+ const classes2 = useUtilityClasses$11(ownerState);
24364
24795
  const {
24365
24796
  root: root2,
24366
24797
  ...otherClasses
@@ -24529,7 +24960,7 @@ function getRadioUtilityClass(slot) {
24529
24960
  return generateUtilityClass("MuiRadio", slot);
24530
24961
  }
24531
24962
  const radioClasses = generateUtilityClasses("MuiRadio", ["root", "checked", "disabled", "colorPrimary", "colorSecondary", "sizeSmall"]);
24532
- const useUtilityClasses$11 = (ownerState) => {
24963
+ const useUtilityClasses$10 = (ownerState) => {
24533
24964
  const {
24534
24965
  classes: classes2,
24535
24966
  color: color2,
@@ -24653,7 +25084,7 @@ const Radio = /* @__PURE__ */ React.forwardRef(function Radio2(inProps, ref) {
24653
25084
  color: color2,
24654
25085
  size: size2
24655
25086
  };
24656
- const classes2 = useUtilityClasses$11(ownerState);
25087
+ const classes2 = useUtilityClasses$10(ownerState);
24657
25088
  const radioGroup = useRadioGroup();
24658
25089
  let checked = checkedProp;
24659
25090
  const onChange = createChainedFunction$1(onChangeProp, radioGroup && radioGroup.onChange);
@@ -24818,7 +25249,7 @@ function getRadioGroupUtilityClass(slot) {
24818
25249
  return generateUtilityClass("MuiRadioGroup", slot);
24819
25250
  }
24820
25251
  generateUtilityClasses("MuiRadioGroup", ["root", "row", "error"]);
24821
- const useUtilityClasses$10 = (props) => {
25252
+ const useUtilityClasses$$ = (props) => {
24822
25253
  const {
24823
25254
  classes: classes2,
24824
25255
  row,
@@ -24843,7 +25274,7 @@ const RadioGroup = /* @__PURE__ */ React.forwardRef(function RadioGroup2(props,
24843
25274
  ...other
24844
25275
  } = props;
24845
25276
  const rootRef = React.useRef(null);
24846
- const classes2 = useUtilityClasses$10(props);
25277
+ const classes2 = useUtilityClasses$$(props);
24847
25278
  const [value, setValueState] = useControlled({
24848
25279
  controlled: valueProp,
24849
25280
  default: defaultValue,
@@ -25605,7 +26036,7 @@ function getBackdropUtilityClass(slot) {
25605
26036
  return generateUtilityClass("MuiBackdrop", slot);
25606
26037
  }
25607
26038
  generateUtilityClasses("MuiBackdrop", ["root", "invisible"]);
25608
- const useUtilityClasses$$ = (ownerState) => {
26039
+ const useUtilityClasses$_ = (ownerState) => {
25609
26040
  const {
25610
26041
  classes: classes2,
25611
26042
  invisible
@@ -25668,7 +26099,7 @@ const Backdrop = /* @__PURE__ */ React.forwardRef(function Backdrop2(inProps, re
25668
26099
  component,
25669
26100
  invisible
25670
26101
  };
25671
- const classes2 = useUtilityClasses$$(ownerState);
26102
+ const classes2 = useUtilityClasses$_(ownerState);
25672
26103
  const backwardCompatibleSlots = {
25673
26104
  transition: TransitionComponentProp,
25674
26105
  root: components.Root,
@@ -25967,7 +26398,7 @@ function getModalUtilityClass(slot) {
25967
26398
  return generateUtilityClass("MuiModal", slot);
25968
26399
  }
25969
26400
  generateUtilityClasses("MuiModal", ["root", "hidden", "backdrop"]);
25970
- const useUtilityClasses$_ = (ownerState) => {
26401
+ const useUtilityClasses$Z = (ownerState) => {
25971
26402
  const {
25972
26403
  open,
25973
26404
  exited,
@@ -26074,7 +26505,7 @@ const Modal = /* @__PURE__ */ React.forwardRef(function Modal2(inProps, ref) {
26074
26505
  ...propsWithDefaults,
26075
26506
  exited
26076
26507
  };
26077
- const classes2 = useUtilityClasses$_(ownerState);
26508
+ const classes2 = useUtilityClasses$Z(ownerState);
26078
26509
  const childProps = {};
26079
26510
  if (children.props.tabIndex === void 0) {
26080
26511
  childProps.tabIndex = "-1";
@@ -26354,7 +26785,7 @@ function getTransformOriginValue(transformOrigin2) {
26354
26785
  function resolveAnchorEl(anchorEl) {
26355
26786
  return typeof anchorEl === "function" ? anchorEl() : anchorEl;
26356
26787
  }
26357
- const useUtilityClasses$Z = (ownerState) => {
26788
+ const useUtilityClasses$Y = (ownerState) => {
26358
26789
  const {
26359
26790
  classes: classes2
26360
26791
  } = ownerState;
@@ -26432,7 +26863,7 @@ const Popover = /* @__PURE__ */ React.forwardRef(function Popover2(inProps, ref)
26432
26863
  transitionDuration: transitionDurationProp,
26433
26864
  TransitionProps
26434
26865
  };
26435
- const classes2 = useUtilityClasses$Z(ownerState);
26866
+ const classes2 = useUtilityClasses$Y(ownerState);
26436
26867
  const getAnchorOffset = React.useCallback(() => {
26437
26868
  if (anchorReference === "anchorPosition") {
26438
26869
  {
@@ -26871,7 +27302,7 @@ const LTR_ORIGIN = {
26871
27302
  vertical: "top",
26872
27303
  horizontal: "left"
26873
27304
  };
26874
- const useUtilityClasses$Y = (ownerState) => {
27305
+ const useUtilityClasses$X = (ownerState) => {
26875
27306
  const {
26876
27307
  classes: classes2
26877
27308
  } = ownerState;
@@ -26942,7 +27373,7 @@ const Menu = /* @__PURE__ */ React.forwardRef(function Menu2(inProps, ref) {
26942
27373
  TransitionProps,
26943
27374
  variant
26944
27375
  };
26945
- const classes2 = useUtilityClasses$Y(ownerState);
27376
+ const classes2 = useUtilityClasses$X(ownerState);
26946
27377
  const autoFocusItem = autoFocus && !disableAutoFocusItem && open;
26947
27378
  const menuListActionsRef = React.useRef(null);
26948
27379
  const handleEntering = (element, isAppearing) => {
@@ -27247,7 +27678,7 @@ function areEqualValues(a, b) {
27247
27678
  function isEmpty(display) {
27248
27679
  return display == null || typeof display === "string" && !display.trim();
27249
27680
  }
27250
- const useUtilityClasses$X = (ownerState) => {
27681
+ const useUtilityClasses$W = (ownerState) => {
27251
27682
  const {
27252
27683
  classes: classes2,
27253
27684
  variant,
@@ -27567,7 +27998,7 @@ const SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props
27567
27998
  open,
27568
27999
  error
27569
28000
  };
27570
- const classes2 = useUtilityClasses$X(ownerState);
28001
+ const classes2 = useUtilityClasses$W(ownerState);
27571
28002
  const paperProps = {
27572
28003
  ...MenuProps.PaperProps,
27573
28004
  ...(_a2 = MenuProps.slotProps) == null ? void 0 : _a2.paper
@@ -27806,7 +28237,7 @@ SelectInput.propTypes = {
27806
28237
  */
27807
28238
  variant: PropTypes.oneOf(["standard", "outlined", "filled"])
27808
28239
  };
27809
- const useUtilityClasses$W = (ownerState) => {
28240
+ const useUtilityClasses$V = (ownerState) => {
27810
28241
  const {
27811
28242
  classes: classes2,
27812
28243
  disableUnderline,
@@ -28088,7 +28519,7 @@ const FilledInput = /* @__PURE__ */ React.forwardRef(function FilledInput2(inPro
28088
28519
  multiline,
28089
28520
  type
28090
28521
  };
28091
- const classes2 = useUtilityClasses$W(props);
28522
+ const classes2 = useUtilityClasses$V(props);
28092
28523
  const filledInputComponentsProps = {
28093
28524
  root: {
28094
28525
  ownerState
@@ -28452,7 +28883,7 @@ NotchedOutline.propTypes = {
28452
28883
  */
28453
28884
  style: PropTypes.object
28454
28885
  };
28455
- const useUtilityClasses$V = (ownerState) => {
28886
+ const useUtilityClasses$U = (ownerState) => {
28456
28887
  const {
28457
28888
  classes: classes2
28458
28889
  } = ownerState;
@@ -28630,7 +29061,7 @@ const OutlinedInput = /* @__PURE__ */ React.forwardRef(function OutlinedInput2(i
28630
29061
  type = "text",
28631
29062
  ...other
28632
29063
  } = props;
28633
- const classes2 = useUtilityClasses$V(props);
29064
+ const classes2 = useUtilityClasses$U(props);
28634
29065
  const muiFormControl = useFormControl();
28635
29066
  const fcs = formControlState({
28636
29067
  props,
@@ -28862,7 +29293,7 @@ OutlinedInput.propTypes = {
28862
29293
  value: PropTypes.any
28863
29294
  };
28864
29295
  OutlinedInput.muiName = "Input";
28865
- const useUtilityClasses$U = (ownerState) => {
29296
+ const useUtilityClasses$T = (ownerState) => {
28866
29297
  const {
28867
29298
  classes: classes2
28868
29299
  } = ownerState;
@@ -28925,7 +29356,7 @@ const Select = /* @__PURE__ */ React.forwardRef(function Select2(inProps, ref) {
28925
29356
  variant,
28926
29357
  classes: classesProp
28927
29358
  };
28928
- const classes2 = useUtilityClasses$U(ownerState);
29359
+ const classes2 = useUtilityClasses$T(ownerState);
28929
29360
  const {
28930
29361
  root: root2,
28931
29362
  ...restOfClasses
@@ -29150,7 +29581,7 @@ function getStepUtilityClass(slot) {
29150
29581
  return generateUtilityClass("MuiStep", slot);
29151
29582
  }
29152
29583
  generateUtilityClasses("MuiStep", ["root", "horizontal", "vertical", "alternativeLabel", "completed"]);
29153
- const useUtilityClasses$T = (ownerState) => {
29584
+ const useUtilityClasses$S = (ownerState) => {
29154
29585
  const {
29155
29586
  classes: classes2,
29156
29587
  orientation,
@@ -29241,7 +29672,7 @@ const Step = /* @__PURE__ */ React.forwardRef(function Step2(inProps, ref) {
29241
29672
  expanded,
29242
29673
  component
29243
29674
  };
29244
- const classes2 = useUtilityClasses$T(ownerState);
29675
+ const classes2 = useUtilityClasses$S(ownerState);
29245
29676
  const newChildren = /* @__PURE__ */ jsxRuntimeExports.jsxs(StepRoot, {
29246
29677
  as: component,
29247
29678
  className: clsx$1(classes2.root, className),
@@ -29323,7 +29754,7 @@ function getStepIconUtilityClass(slot) {
29323
29754
  }
29324
29755
  const stepIconClasses = generateUtilityClasses("MuiStepIcon", ["root", "active", "completed", "error", "text"]);
29325
29756
  var _circle;
29326
- const useUtilityClasses$S = (ownerState) => {
29757
+ const useUtilityClasses$R = (ownerState) => {
29327
29758
  const {
29328
29759
  classes: classes2,
29329
29760
  active,
@@ -29386,7 +29817,7 @@ const StepIcon = /* @__PURE__ */ React.forwardRef(function StepIcon2(inProps, re
29386
29817
  completed,
29387
29818
  error
29388
29819
  };
29389
- const classes2 = useUtilityClasses$S(ownerState);
29820
+ const classes2 = useUtilityClasses$R(ownerState);
29390
29821
  if (typeof icon === "number" || typeof icon === "string") {
29391
29822
  const className = clsx$1(classNameProp, classes2.root);
29392
29823
  if (error) {
@@ -29470,7 +29901,7 @@ function getStepLabelUtilityClass(slot) {
29470
29901
  return generateUtilityClass("MuiStepLabel", slot);
29471
29902
  }
29472
29903
  const stepLabelClasses = generateUtilityClasses("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active", "completed", "error", "disabled", "iconContainer", "alternativeLabel", "labelContainer"]);
29473
- const useUtilityClasses$R = (ownerState) => {
29904
+ const useUtilityClasses$Q = (ownerState) => {
29474
29905
  const {
29475
29906
  classes: classes2,
29476
29907
  orientation,
@@ -29607,7 +30038,7 @@ const StepLabel = /* @__PURE__ */ React.forwardRef(function StepLabel2(inProps,
29607
30038
  error,
29608
30039
  orientation
29609
30040
  };
29610
- const classes2 = useUtilityClasses$R(ownerState);
30041
+ const classes2 = useUtilityClasses$Q(ownerState);
29611
30042
  const externalForwardedProps = {
29612
30043
  slots,
29613
30044
  slotProps: {
@@ -29739,7 +30170,7 @@ function getStepConnectorUtilityClass(slot) {
29739
30170
  return generateUtilityClass("MuiStepConnector", slot);
29740
30171
  }
29741
30172
  generateUtilityClasses("MuiStepConnector", ["root", "horizontal", "vertical", "alternativeLabel", "active", "completed", "disabled", "line", "lineHorizontal", "lineVertical"]);
29742
- const useUtilityClasses$Q = (ownerState) => {
30173
+ const useUtilityClasses$P = (ownerState) => {
29743
30174
  const {
29744
30175
  classes: classes2,
29745
30176
  orientation,
@@ -29847,7 +30278,7 @@ const StepConnector = /* @__PURE__ */ React.forwardRef(function StepConnector2(i
29847
30278
  completed,
29848
30279
  disabled
29849
30280
  };
29850
- const classes2 = useUtilityClasses$Q(ownerState);
30281
+ const classes2 = useUtilityClasses$P(ownerState);
29851
30282
  return /* @__PURE__ */ jsxRuntimeExports.jsx(StepConnectorRoot, {
29852
30283
  className: clsx$1(classes2.root, className),
29853
30284
  ref,
@@ -29877,7 +30308,7 @@ StepConnector.propTypes = {
29877
30308
  */
29878
30309
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
29879
30310
  };
29880
- const useUtilityClasses$P = (ownerState) => {
30311
+ const useUtilityClasses$O = (ownerState) => {
29881
30312
  const {
29882
30313
  orientation,
29883
30314
  nonLinear,
@@ -29948,7 +30379,7 @@ const Stepper = /* @__PURE__ */ React.forwardRef(function Stepper2(inProps, ref)
29948
30379
  orientation,
29949
30380
  component
29950
30381
  };
29951
- const classes2 = useUtilityClasses$P(ownerState);
30382
+ const classes2 = useUtilityClasses$O(ownerState);
29952
30383
  const childrenArray = React.Children.toArray(children).filter(Boolean);
29953
30384
  const steps2 = childrenArray.map((step, index) => {
29954
30385
  return /* @__PURE__ */ React.cloneElement(step, {
@@ -30034,7 +30465,7 @@ function getSwitchUtilityClass(slot) {
30034
30465
  return generateUtilityClass("MuiSwitch", slot);
30035
30466
  }
30036
30467
  const switchClasses = generateUtilityClasses("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium", "checked", "disabled", "input", "thumb", "track"]);
30037
- const useUtilityClasses$O = (ownerState) => {
30468
+ const useUtilityClasses$N = (ownerState) => {
30038
30469
  const {
30039
30470
  classes: classes2,
30040
30471
  edge,
@@ -30238,7 +30669,7 @@ const Switch = /* @__PURE__ */ React.forwardRef(function Switch2(inProps, ref) {
30238
30669
  edge,
30239
30670
  size: size2
30240
30671
  };
30241
- const classes2 = useUtilityClasses$O(ownerState);
30672
+ const classes2 = useUtilityClasses$N(ownerState);
30242
30673
  const externalForwardedProps = {
30243
30674
  slots,
30244
30675
  slotProps
@@ -30431,7 +30862,7 @@ function getTableCellUtilityClass(slot) {
30431
30862
  return generateUtilityClass("MuiTableCell", slot);
30432
30863
  }
30433
30864
  const tableCellClasses = generateUtilityClasses("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "sizeMedium", "paddingCheckbox", "paddingNone", "alignLeft", "alignCenter", "alignRight", "alignJustify", "stickyHeader"]);
30434
- const useUtilityClasses$N = (ownerState) => {
30865
+ const useUtilityClasses$M = (ownerState) => {
30435
30866
  const {
30436
30867
  classes: classes2,
30437
30868
  variant,
@@ -30605,7 +31036,7 @@ const TableCell = /* @__PURE__ */ React.forwardRef(function TableCell2(inProps,
30605
31036
  stickyHeader: variant === "head" && table && table.stickyHeader,
30606
31037
  variant
30607
31038
  };
30608
- const classes2 = useUtilityClasses$N(ownerState);
31039
+ const classes2 = useUtilityClasses$M(ownerState);
30609
31040
  let ariaSort = null;
30610
31041
  if (sortDirection) {
30611
31042
  ariaSort = sortDirection === "asc" ? "ascending" : "descending";
@@ -30693,7 +31124,7 @@ const variantComponent = {
30693
31124
  filled: FilledInput,
30694
31125
  outlined: OutlinedInput
30695
31126
  };
30696
- const useUtilityClasses$M = (ownerState) => {
31127
+ const useUtilityClasses$L = (ownerState) => {
30697
31128
  const {
30698
31129
  classes: classes2
30699
31130
  } = ownerState;
@@ -30760,7 +31191,7 @@ const TextField = /* @__PURE__ */ React.forwardRef(function TextField2(inProps,
30760
31191
  select,
30761
31192
  variant
30762
31193
  };
30763
- const classes2 = useUtilityClasses$M(ownerState);
31194
+ const classes2 = useUtilityClasses$L(ownerState);
30764
31195
  {
30765
31196
  if (select && !children) {
30766
31197
  console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
@@ -31096,7 +31527,7 @@ const tooltipClasses = generateUtilityClasses("MuiTooltip", ["popper", "popperIn
31096
31527
  function round(value) {
31097
31528
  return Math.round(value * 1e5) / 1e5;
31098
31529
  }
31099
- const useUtilityClasses$L = (ownerState) => {
31530
+ const useUtilityClasses$K = (ownerState) => {
31100
31531
  const {
31101
31532
  classes: classes2,
31102
31533
  disableInteractive,
@@ -31659,7 +32090,7 @@ const Tooltip = /* @__PURE__ */ React.forwardRef(function Tooltip2(inProps, ref)
31659
32090
  modifiers: tooltipModifiers
31660
32091
  };
31661
32092
  }, [arrowRef, PopperProps.popperOptions, resolvedPopperProps == null ? void 0 : resolvedPopperProps.popperOptions]);
31662
- const classes2 = useUtilityClasses$L(ownerState);
32093
+ const classes2 = useUtilityClasses$K(ownerState);
31663
32094
  const resolvedTransitionProps = typeof slotProps.transition === "function" ? slotProps.transition(ownerState) : slotProps.transition;
31664
32095
  const externalForwardedProps = {
31665
32096
  slots: {
@@ -31931,6 +32362,183 @@ Tooltip.propTypes = {
31931
32362
  */
31932
32363
  TransitionProps: PropTypes.object
31933
32364
  };
32365
+ function getInputAdornmentUtilityClass(slot) {
32366
+ return generateUtilityClass("MuiInputAdornment", slot);
32367
+ }
32368
+ const inputAdornmentClasses = generateUtilityClasses("MuiInputAdornment", ["root", "filled", "standard", "outlined", "positionStart", "positionEnd", "disablePointerEvents", "hiddenLabel", "sizeSmall"]);
32369
+ var _span;
32370
+ const overridesResolver = (props, styles2) => {
32371
+ const {
32372
+ ownerState
32373
+ } = props;
32374
+ return [styles2.root, styles2[`position${capitalize(ownerState.position)}`], ownerState.disablePointerEvents === true && styles2.disablePointerEvents, styles2[ownerState.variant]];
32375
+ };
32376
+ const useUtilityClasses$J = (ownerState) => {
32377
+ const {
32378
+ classes: classes2,
32379
+ disablePointerEvents,
32380
+ hiddenLabel,
32381
+ position: position2,
32382
+ size: size2,
32383
+ variant
32384
+ } = ownerState;
32385
+ const slots = {
32386
+ root: ["root", disablePointerEvents && "disablePointerEvents", position2 && `position${capitalize(position2)}`, variant, hiddenLabel && "hiddenLabel", size2 && `size${capitalize(size2)}`]
32387
+ };
32388
+ return composeClasses(slots, getInputAdornmentUtilityClass, classes2);
32389
+ };
32390
+ const InputAdornmentRoot = styled("div", {
32391
+ name: "MuiInputAdornment",
32392
+ slot: "Root",
32393
+ overridesResolver
32394
+ })(memoTheme(({
32395
+ theme
32396
+ }) => ({
32397
+ display: "flex",
32398
+ maxHeight: "2em",
32399
+ alignItems: "center",
32400
+ whiteSpace: "nowrap",
32401
+ color: (theme.vars || theme).palette.action.active,
32402
+ variants: [{
32403
+ props: {
32404
+ variant: "filled"
32405
+ },
32406
+ style: {
32407
+ [`&.${inputAdornmentClasses.positionStart}&:not(.${inputAdornmentClasses.hiddenLabel})`]: {
32408
+ marginTop: 16
32409
+ }
32410
+ }
32411
+ }, {
32412
+ props: {
32413
+ position: "start"
32414
+ },
32415
+ style: {
32416
+ marginRight: 8
32417
+ }
32418
+ }, {
32419
+ props: {
32420
+ position: "end"
32421
+ },
32422
+ style: {
32423
+ marginLeft: 8
32424
+ }
32425
+ }, {
32426
+ props: {
32427
+ disablePointerEvents: true
32428
+ },
32429
+ style: {
32430
+ pointerEvents: "none"
32431
+ }
32432
+ }]
32433
+ })));
32434
+ const InputAdornment$1 = /* @__PURE__ */ React.forwardRef(function InputAdornment2(inProps, ref) {
32435
+ const props = useDefaultProps({
32436
+ props: inProps,
32437
+ name: "MuiInputAdornment"
32438
+ });
32439
+ const {
32440
+ children,
32441
+ className,
32442
+ component = "div",
32443
+ disablePointerEvents = false,
32444
+ disableTypography = false,
32445
+ position: position2,
32446
+ variant: variantProp,
32447
+ ...other
32448
+ } = props;
32449
+ const muiFormControl = useFormControl() || {};
32450
+ let variant = variantProp;
32451
+ if (variantProp && muiFormControl.variant) {
32452
+ {
32453
+ if (variantProp === muiFormControl.variant) {
32454
+ console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one.");
32455
+ }
32456
+ }
32457
+ }
32458
+ if (muiFormControl && !variant) {
32459
+ variant = muiFormControl.variant;
32460
+ }
32461
+ const ownerState = {
32462
+ ...props,
32463
+ hiddenLabel: muiFormControl.hiddenLabel,
32464
+ size: muiFormControl.size,
32465
+ disablePointerEvents,
32466
+ position: position2,
32467
+ variant
32468
+ };
32469
+ const classes2 = useUtilityClasses$J(ownerState);
32470
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(FormControlContext.Provider, {
32471
+ value: null,
32472
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(InputAdornmentRoot, {
32473
+ as: component,
32474
+ ownerState,
32475
+ className: clsx$1(classes2.root, className),
32476
+ ref,
32477
+ ...other,
32478
+ children: typeof children === "string" && !disableTypography ? /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, {
32479
+ color: "textSecondary",
32480
+ children
32481
+ }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(React.Fragment, {
32482
+ children: [position2 === "start" ? (
32483
+ /* notranslate needed while Google Translate will not fix zero-width space issue */
32484
+ _span || (_span = /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
32485
+ className: "notranslate",
32486
+ "aria-hidden": true,
32487
+ children: "​"
32488
+ }))
32489
+ ) : null, children]
32490
+ })
32491
+ })
32492
+ });
32493
+ });
32494
+ InputAdornment$1.propTypes = {
32495
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
32496
+ // │ These PropTypes are generated from the TypeScript type definitions. │
32497
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
32498
+ // └─────────────────────────────────────────────────────────────────────┘
32499
+ /**
32500
+ * The content of the component, normally an `IconButton` or string.
32501
+ */
32502
+ children: PropTypes.node,
32503
+ /**
32504
+ * Override or extend the styles applied to the component.
32505
+ */
32506
+ classes: PropTypes.object,
32507
+ /**
32508
+ * @ignore
32509
+ */
32510
+ className: PropTypes.string,
32511
+ /**
32512
+ * The component used for the root node.
32513
+ * Either a string to use a HTML element or a component.
32514
+ */
32515
+ component: PropTypes.elementType,
32516
+ /**
32517
+ * Disable pointer events on the root.
32518
+ * This allows for the content of the adornment to focus the `input` on click.
32519
+ * @default false
32520
+ */
32521
+ disablePointerEvents: PropTypes.bool,
32522
+ /**
32523
+ * If children is a string then disable wrapping in a Typography component.
32524
+ * @default false
32525
+ */
32526
+ disableTypography: PropTypes.bool,
32527
+ /**
32528
+ * The position this adornment should appear relative to the `Input`.
32529
+ */
32530
+ position: PropTypes.oneOf(["end", "start"]).isRequired,
32531
+ /**
32532
+ * The system prop that allows defining system overrides as well as additional CSS styles.
32533
+ */
32534
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
32535
+ /**
32536
+ * The variant to use.
32537
+ * Note: If you are using the `TextField` component or the `FormControl` component
32538
+ * you do not have to set this manually.
32539
+ */
32540
+ variant: PropTypes.oneOf(["filled", "outlined", "standard"])
32541
+ };
31934
32542
  const AddIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
31935
32543
  d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
31936
32544
  }), "Add");
@@ -33280,7 +33888,7 @@ function wrap(input) {
33280
33888
  return result;
33281
33889
  }
33282
33890
  const _excluded$X = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "hasFocus", "isValidating", "debounceMs", "isProcessingProps", "onValueChange", "slotProps"];
33283
- const useUtilityClasses$K = (ownerState) => {
33891
+ const useUtilityClasses$I = (ownerState) => {
33284
33892
  const {
33285
33893
  classes: classes2
33286
33894
  } = ownerState;
@@ -33316,7 +33924,7 @@ const GridEditInputCell = forwardRef((props, ref) => {
33316
33924
  const apiRef = useGridApiContext();
33317
33925
  const inputRef = React.useRef(null);
33318
33926
  const [valueState, setValueState] = React.useState(value);
33319
- const classes2 = useUtilityClasses$K(rootProps);
33927
+ const classes2 = useUtilityClasses$I(rootProps);
33320
33928
  const handleChange = React.useCallback(async (event) => {
33321
33929
  const newValue = event.target.value;
33322
33930
  if (onValueChange) {
@@ -34483,7 +35091,7 @@ function variablesToString(variables) {
34483
35091
  return output;
34484
35092
  }
34485
35093
  const _excluded$V = ["open", "target", "onClose", "children", "position", "className", "onExited"];
34486
- const useUtilityClasses$J = (ownerState) => {
35094
+ const useUtilityClasses$H = (ownerState) => {
34487
35095
  const {
34488
35096
  classes: classes2
34489
35097
  } = ownerState;
@@ -34514,7 +35122,7 @@ function GridMenu(props) {
34514
35122
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$V);
34515
35123
  const apiRef = useGridApiContext();
34516
35124
  const rootProps = useGridRootProps();
34517
- const classes2 = useUtilityClasses$J(rootProps);
35125
+ const classes2 = useUtilityClasses$H(rootProps);
34518
35126
  const variablesClass = useCSSVariablesClass();
34519
35127
  const savedFocusRef = React.useRef(null);
34520
35128
  useEnhancedEffect$1(() => {
@@ -35084,7 +35692,7 @@ let PinnedColumnPosition = /* @__PURE__ */ function(PinnedColumnPosition2) {
35084
35692
  return PinnedColumnPosition2;
35085
35693
  }({});
35086
35694
  const _excluded$T = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "hasFocus", "tabIndex", "hideDescendantCount"];
35087
- const useUtilityClasses$I = (ownerState) => {
35695
+ const useUtilityClasses$G = (ownerState) => {
35088
35696
  const {
35089
35697
  classes: classes2
35090
35698
  } = ownerState;
@@ -35103,7 +35711,7 @@ function GridBooleanCellRaw(props) {
35103
35711
  const ownerState = {
35104
35712
  classes: rootProps.classes
35105
35713
  };
35106
- const classes2 = useUtilityClasses$I(ownerState);
35714
+ const classes2 = useUtilityClasses$G(ownerState);
35107
35715
  const maxDepth = useGridSelector(apiRef, gridRowMaximumTreeDepthSelector);
35108
35716
  const isServerSideRowGroupingRow = (
35109
35717
  // @ts-expect-error - Access tree data prop
@@ -35194,7 +35802,7 @@ const renderBooleanCell = (params) => {
35194
35802
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GridBooleanCell, _extends$2({}, params));
35195
35803
  };
35196
35804
  const _excluded$S = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "className", "hasFocus", "isValidating", "isProcessingProps", "error", "onValueChange"];
35197
- const useUtilityClasses$H = (ownerState) => {
35805
+ const useUtilityClasses$F = (ownerState) => {
35198
35806
  const {
35199
35807
  classes: classes2
35200
35808
  } = ownerState;
@@ -35221,7 +35829,7 @@ function GridEditBooleanCell(props) {
35221
35829
  const ownerState = {
35222
35830
  classes: rootProps.classes
35223
35831
  };
35224
- const classes2 = useUtilityClasses$H(ownerState);
35832
+ const classes2 = useUtilityClasses$F(ownerState);
35225
35833
  const handleChange = React.useCallback(async (event) => {
35226
35834
  const newValue = event.target.checked;
35227
35835
  if (onValueChange) {
@@ -35779,7 +36387,7 @@ const findRowsToDeselect = (apiRef, tree, deselectedRow, autoSelectDescendants,
35779
36387
  }
35780
36388
  };
35781
36389
  const _excluded$Q = ["field", "id", "formattedValue", "row", "rowNode", "colDef", "isEditable", "cellMode", "hasFocus", "tabIndex", "api"];
35782
- const useUtilityClasses$G = (ownerState) => {
36390
+ const useUtilityClasses$E = (ownerState) => {
35783
36391
  const {
35784
36392
  classes: classes2
35785
36393
  } = ownerState;
@@ -35801,7 +36409,7 @@ const GridCellCheckboxForwardRef = forwardRef(function GridCellCheckboxRenderer2
35801
36409
  const ownerState = {
35802
36410
  classes: rootProps.classes
35803
36411
  };
35804
- const classes2 = useUtilityClasses$G(ownerState);
36412
+ const classes2 = useUtilityClasses$E(ownerState);
35805
36413
  const handleChange = (event) => {
35806
36414
  const params = {
35807
36415
  value: event.target.checked,
@@ -36038,7 +36646,7 @@ const gridVisibleRowsSelector = createSelectorMemoized(gridPaginationEnabledClie
36038
36646
  };
36039
36647
  });
36040
36648
  const _excluded$P = ["field", "colDef"];
36041
- const useUtilityClasses$F = (ownerState) => {
36649
+ const useUtilityClasses$D = (ownerState) => {
36042
36650
  const {
36043
36651
  classes: classes2
36044
36652
  } = ownerState;
@@ -36056,7 +36664,7 @@ const GridHeaderCheckbox = forwardRef(function GridHeaderCheckbox2(props, ref) {
36056
36664
  const ownerState = {
36057
36665
  classes: rootProps.classes
36058
36666
  };
36059
- const classes2 = useUtilityClasses$F(ownerState);
36667
+ const classes2 = useUtilityClasses$D(ownerState);
36060
36668
  const tabIndexState = useGridSelector(apiRef, gridTabIndexColumnHeaderSelector);
36061
36669
  const selection = useGridSelector(apiRef, gridRowSelectionStateSelector);
36062
36670
  const visibleRowIds = useGridSelector(apiRef, gridExpandedSortedRowIdsSelector);
@@ -36433,7 +37041,7 @@ const _excluded$N = ["id", "value", "formattedValue", "api", "field", "row", "ro
36433
37041
  const StyledInputBase = styled(NotRendered)({
36434
37042
  fontSize: "inherit"
36435
37043
  });
36436
- const useUtilityClasses$E = (ownerState) => {
37044
+ const useUtilityClasses$C = (ownerState) => {
36437
37045
  const {
36438
37046
  classes: classes2
36439
37047
  } = ownerState;
@@ -36482,7 +37090,7 @@ function GridEditDateCell(props) {
36482
37090
  const ownerState = {
36483
37091
  classes: rootProps.classes
36484
37092
  };
36485
- const classes2 = useUtilityClasses$E(ownerState);
37093
+ const classes2 = useUtilityClasses$C(ownerState);
36486
37094
  const parseValueToDate = React.useCallback((value) => {
36487
37095
  if (value === "") {
36488
37096
  return null;
@@ -37645,7 +38253,7 @@ function getTotalHeaderHeight(apiRef, props) {
37645
38253
  }
37646
38254
  const CLIFF = 1;
37647
38255
  const SLOP = 1.5;
37648
- const useUtilityClasses$D = (ownerState) => {
38256
+ const useUtilityClasses$B = (ownerState) => {
37649
38257
  const {
37650
38258
  scrollDirection,
37651
38259
  classes: classes2
@@ -37722,7 +38330,7 @@ function GridScrollAreaContent(props) {
37722
38330
  const ownerState = _extends$2({}, rootProps, {
37723
38331
  scrollDirection
37724
38332
  });
37725
- const classes2 = useUtilityClasses$D(ownerState);
38333
+ const classes2 = useUtilityClasses$B(ownerState);
37726
38334
  const totalHeaderHeight = getTotalHeaderHeight(apiRef, rootProps);
37727
38335
  const headerHeight = Math.floor(rootProps.columnHeaderHeight * densityFactor);
37728
38336
  const style2 = {
@@ -38700,7 +39308,7 @@ const GridOverlayWrapperInner = styled$1("div", {
38700
39308
  shouldForwardProp: (prop) => prop !== "overlayType" && prop !== "loadingOverlayVariant",
38701
39309
  overridesResolver: (props, styles2) => styles2.overlayWrapperInner
38702
39310
  })({});
38703
- const useUtilityClasses$C = (ownerState) => {
39311
+ const useUtilityClasses$A = (ownerState) => {
38704
39312
  const {
38705
39313
  classes: classes2
38706
39314
  } = ownerState;
@@ -38718,7 +39326,7 @@ function GridOverlayWrapper(props) {
38718
39326
  if (height2 === 0) {
38719
39327
  height2 = minimalContentHeight;
38720
39328
  }
38721
- const classes2 = useUtilityClasses$C(_extends$2({}, props, {
39329
+ const classes2 = useUtilityClasses$A(_extends$2({}, props, {
38722
39330
  classes: rootProps.classes
38723
39331
  }));
38724
39332
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GridOverlayWrapperRoot, _extends$2({
@@ -38871,7 +39479,7 @@ const GridMainContainer = forwardRef((props, ref) => {
38871
39479
  }), props.children]
38872
39480
  }));
38873
39481
  });
38874
- const useUtilityClasses$B = () => {
39482
+ const useUtilityClasses$z = () => {
38875
39483
  const slots = {
38876
39484
  root: ["topContainer"]
38877
39485
  };
@@ -38883,13 +39491,13 @@ const Element$2 = styled$1("div")({
38883
39491
  top: 0
38884
39492
  });
38885
39493
  function GridTopContainer(props) {
38886
- const classes2 = useUtilityClasses$B();
39494
+ const classes2 = useUtilityClasses$z();
38887
39495
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Element$2, _extends$2({}, props, {
38888
39496
  className: clsx$1(classes2.root, gridClasses["container--top"]),
38889
39497
  role: "presentation"
38890
39498
  }));
38891
39499
  }
38892
- const useUtilityClasses$A = (props, overflowedContent) => {
39500
+ const useUtilityClasses$y = (props, overflowedContent) => {
38893
39501
  const {
38894
39502
  classes: classes2
38895
39503
  } = props;
@@ -38912,7 +39520,7 @@ const GridVirtualScrollerContent = forwardRef(function GridVirtualScrollerConten
38912
39520
  var _a2;
38913
39521
  const rootProps = useGridRootProps();
38914
39522
  const overflowedContent = !rootProps.autoHeight && ((_a2 = props.style) == null ? void 0 : _a2.minHeight) === "auto";
38915
- const classes2 = useUtilityClasses$A(rootProps, overflowedContent);
39523
+ const classes2 = useUtilityClasses$y(rootProps, overflowedContent);
38916
39524
  const ownerState = {
38917
39525
  classes: rootProps.classes,
38918
39526
  overflowedContent
@@ -38988,7 +39596,7 @@ function GridVirtualScrollerFiller({
38988
39596
  }
38989
39597
  const Memoized$2 = fastMemo(GridVirtualScrollerFiller);
38990
39598
  const _excluded$J = ["className"];
38991
- const useUtilityClasses$z = (ownerState) => {
39599
+ const useUtilityClasses$x = (ownerState) => {
38992
39600
  const {
38993
39601
  classes: classes2
38994
39602
  } = ownerState;
@@ -39013,7 +39621,7 @@ const GridVirtualScrollerRenderZone = forwardRef(function GridVirtualScrollerRen
39013
39621
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$J);
39014
39622
  const apiRef = useGridApiContext();
39015
39623
  const rootProps = useGridRootProps();
39016
- const classes2 = useUtilityClasses$z(rootProps);
39624
+ const classes2 = useUtilityClasses$x(rootProps);
39017
39625
  const offsetTop = useGridSelector(apiRef, () => {
39018
39626
  const renderContext = gridRenderContextSelector(apiRef);
39019
39627
  const rowsMeta = gridRowsMetaSelector(apiRef);
@@ -39109,7 +39717,7 @@ class GridGetRowsError extends Error {
39109
39717
  this.cause = options.cause;
39110
39718
  }
39111
39719
  }
39112
- const useUtilityClasses$y = (ownerState, position2) => {
39720
+ const useUtilityClasses$w = (ownerState, position2) => {
39113
39721
  const {
39114
39722
  classes: classes2
39115
39723
  } = ownerState;
@@ -39164,7 +39772,7 @@ const GridVirtualScrollbar = forwardRef(function GridVirtualScrollbar2(props, re
39164
39772
  const lastPosition = React.useRef(0);
39165
39773
  const scrollbarRef = React.useRef(null);
39166
39774
  const contentRef = React.useRef(null);
39167
- const classes2 = useUtilityClasses$y(rootProps, props.position);
39775
+ const classes2 = useUtilityClasses$w(rootProps, props.position);
39168
39776
  const dimensions = useGridSelector(apiRef, gridDimensionsSelector);
39169
39777
  const propertyDimension = props.position === "vertical" ? "height" : "width";
39170
39778
  const propertyScroll = props.position === "vertical" ? "scrollTop" : "scrollLeft";
@@ -39241,7 +39849,7 @@ const GridVirtualScrollbar = forwardRef(function GridVirtualScrollbar2(props, re
39241
39849
  })
39242
39850
  });
39243
39851
  });
39244
- const useUtilityClasses$x = (ownerState) => {
39852
+ const useUtilityClasses$v = (ownerState) => {
39245
39853
  const {
39246
39854
  classes: classes2,
39247
39855
  hasScrollX,
@@ -39300,7 +39908,7 @@ function GridVirtualScroller(props) {
39300
39908
  hasScrollX,
39301
39909
  hasPinnedRight
39302
39910
  }, overlaysProps);
39303
- const classes2 = useUtilityClasses$x(ownerState);
39911
+ const classes2 = useUtilityClasses$v(ownerState);
39304
39912
  const virtualScroller = useGridVirtualScroller();
39305
39913
  const {
39306
39914
  getContainerProps,
@@ -39445,7 +40053,7 @@ const _excluded$I = ["column", "row", "rowId", "rowNode", "align", "children", "
39445
40053
  [PinnedColumnPosition.NONE]: void 0,
39446
40054
  [PinnedColumnPosition.VIRTUAL]: void 0
39447
40055
  });
39448
- const useUtilityClasses$w = (ownerState) => {
40056
+ const useUtilityClasses$u = (ownerState) => {
39449
40057
  const {
39450
40058
  align,
39451
40059
  showLeftBorder,
@@ -39559,7 +40167,7 @@ const GridCell = forwardRef(function GridCell2(props, ref) {
39559
40167
  isSelected,
39560
40168
  isSelectionMode
39561
40169
  };
39562
- const classes2 = useUtilityClasses$w(ownerState);
40170
+ const classes2 = useUtilityClasses$u(ownerState);
39563
40171
  const publishMouseUp = React.useCallback((eventName) => (event) => {
39564
40172
  const params = apiRef.current.getCellParams(rowId, field || "");
39565
40173
  apiRef.current.publishEvent(eventName, params, event);
@@ -39726,7 +40334,7 @@ const CONTENT_WIDTH_RANGE_BY_TYPE = {
39726
40334
  dateTime: [60, 80],
39727
40335
  singleSelect: [40, 80]
39728
40336
  };
39729
- const useUtilityClasses$v = (ownerState) => {
40337
+ const useUtilityClasses$t = (ownerState) => {
39730
40338
  const {
39731
40339
  align,
39732
40340
  classes: classes2,
@@ -39755,7 +40363,7 @@ function GridSkeletonCell(props) {
39755
40363
  align,
39756
40364
  empty
39757
40365
  };
39758
- const classes2 = useUtilityClasses$v(ownerState);
40366
+ const classes2 = useUtilityClasses$t(ownerState);
39759
40367
  const skeletonProps = React.useMemo(() => {
39760
40368
  const isCircularContent = type === "boolean" || type === "actions";
39761
40369
  if (isCircularContent) {
@@ -40803,7 +41411,7 @@ function GridHeader() {
40803
41411
  });
40804
41412
  }
40805
41413
  const _excluded$G = ["className", "children"];
40806
- const useUtilityClasses$u = (ownerState, density) => {
41414
+ const useUtilityClasses$s = (ownerState, density) => {
40807
41415
  const {
40808
41416
  autoHeight,
40809
41417
  classes: classes2,
@@ -40831,7 +41439,7 @@ const GridRoot = forwardRef(function GridRoot2(props, ref) {
40831
41439
  }, [apiRef]);
40832
41440
  const handleRef = useForkRef$1(rootElementRef, ref, rootMountCallback);
40833
41441
  const ownerState = rootProps;
40834
- const classes2 = useUtilityClasses$u(ownerState, density);
41442
+ const classes2 = useUtilityClasses$s(ownerState, density);
40835
41443
  const cssVariables = useCSSVariablesContext();
40836
41444
  const isSSR2 = useIsSSR();
40837
41445
  if (isSSR2) {
@@ -40859,7 +41467,7 @@ GridRoot.propTypes = {
40859
41467
  };
40860
41468
  const MemoizedGridRoot = fastMemo(GridRoot);
40861
41469
  const _excluded$F = ["className"];
40862
- const useUtilityClasses$t = (ownerState) => {
41470
+ const useUtilityClasses$r = (ownerState) => {
40863
41471
  const {
40864
41472
  classes: classes2
40865
41473
  } = ownerState;
@@ -40884,7 +41492,7 @@ const GridFooterContainer = forwardRef(function GridFooterContainer2(props, ref)
40884
41492
  className
40885
41493
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$F);
40886
41494
  const rootProps = useGridRootProps();
40887
- const classes2 = useUtilityClasses$t(rootProps);
41495
+ const classes2 = useUtilityClasses$r(rootProps);
40888
41496
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GridFooterContainerRoot, _extends$2({
40889
41497
  className: clsx$1(classes2.root, className),
40890
41498
  ownerState: rootProps
@@ -40900,7 +41508,7 @@ GridFooterContainer.propTypes = {
40900
41508
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
40901
41509
  };
40902
41510
  const _excluded$E = ["className"];
40903
- const useUtilityClasses$s = (ownerState) => {
41511
+ const useUtilityClasses$q = (ownerState) => {
40904
41512
  const {
40905
41513
  classes: classes2
40906
41514
  } = ownerState;
@@ -40928,7 +41536,7 @@ const GridOverlay = forwardRef(function GridOverlay2(props, ref) {
40928
41536
  className
40929
41537
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$E);
40930
41538
  const rootProps = useGridRootProps();
40931
- const classes2 = useUtilityClasses$s(rootProps);
41539
+ const classes2 = useUtilityClasses$q(rootProps);
40932
41540
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GridOverlayRoot, _extends$2({
40933
41541
  className: clsx$1(classes2.root, className),
40934
41542
  ownerState: rootProps
@@ -40976,7 +41584,7 @@ function useToolbarContext() {
40976
41584
  return context;
40977
41585
  }
40978
41586
  const _excluded$D = ["render", "className"];
40979
- const useUtilityClasses$r = (ownerState) => {
41587
+ const useUtilityClasses$p = (ownerState) => {
40980
41588
  const {
40981
41589
  classes: classes2
40982
41590
  } = ownerState;
@@ -41005,7 +41613,7 @@ const Toolbar$1 = forwardRef(function Toolbar2(props, ref) {
41005
41613
  className
41006
41614
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$D);
41007
41615
  const rootProps = useGridRootProps();
41008
- const classes2 = useUtilityClasses$r(rootProps);
41616
+ const classes2 = useUtilityClasses$p(rootProps);
41009
41617
  const [focusableItemId, setFocusableItemId] = React.useState(null);
41010
41618
  const [items, setItems] = React.useState([]);
41011
41619
  const registerItem = React.useCallback((id, itemRef) => {
@@ -41204,7 +41812,7 @@ ToolbarButton.propTypes = {
41204
41812
  title: PropTypes.string,
41205
41813
  touchRippleRef: PropTypes.any
41206
41814
  };
41207
- const useUtilityClasses$q = (ownerState) => {
41815
+ const useUtilityClasses$o = (ownerState) => {
41208
41816
  const {
41209
41817
  classes: classes2,
41210
41818
  open
@@ -41229,7 +41837,7 @@ const ColumnHeaderMenuIcon = /* @__PURE__ */ React.memo((props) => {
41229
41837
  const ownerState = _extends$2({}, props, {
41230
41838
  classes: rootProps.classes
41231
41839
  });
41232
- const classes2 = useUtilityClasses$q(ownerState);
41840
+ const classes2 = useUtilityClasses$o(ownerState);
41233
41841
  const handleMenuIconClick = React.useCallback((event) => {
41234
41842
  event.preventDefault();
41235
41843
  event.stopPropagation();
@@ -41507,7 +42115,7 @@ function parseCellColIndex(col) {
41507
42115
  return Number(ariaColIndex) - 1;
41508
42116
  }
41509
42117
  const _excluded$B = ["className", "aria-label"];
41510
- const useUtilityClasses$p = (ownerState) => {
42118
+ const useUtilityClasses$n = (ownerState) => {
41511
42119
  const {
41512
42120
  classes: classes2
41513
42121
  } = ownerState;
@@ -41532,7 +42140,7 @@ const ColumnHeaderInnerTitle = forwardRef(function ColumnHeaderInnerTitle2(props
41532
42140
  className
41533
42141
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$B);
41534
42142
  const rootProps = useGridRootProps();
41535
- const classes2 = useUtilityClasses$p(rootProps);
42143
+ const classes2 = useUtilityClasses$n(rootProps);
41536
42144
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GridColumnHeaderTitleRoot, _extends$2({
41537
42145
  className: clsx$1(classes2.root, className),
41538
42146
  ownerState: rootProps
@@ -41584,7 +42192,7 @@ var GridColumnHeaderSeparatorSides = /* @__PURE__ */ function(GridColumnHeaderSe
41584
42192
  GridColumnHeaderSeparatorSides2["Right"] = "right";
41585
42193
  return GridColumnHeaderSeparatorSides2;
41586
42194
  }(GridColumnHeaderSeparatorSides || {});
41587
- const useUtilityClasses$o = (ownerState) => {
42195
+ const useUtilityClasses$m = (ownerState) => {
41588
42196
  const {
41589
42197
  resizable,
41590
42198
  resizing,
@@ -41607,7 +42215,7 @@ function GridColumnHeaderSeparatorRaw(props) {
41607
42215
  side,
41608
42216
  classes: rootProps.classes
41609
42217
  });
41610
- const classes2 = useUtilityClasses$o(ownerState);
42218
+ const classes2 = useUtilityClasses$m(ownerState);
41611
42219
  const stopClick = React.useCallback((event) => {
41612
42220
  event.preventDefault();
41613
42221
  event.stopPropagation();
@@ -41719,7 +42327,7 @@ const GridGenericColumnHeaderItem = forwardRef(function GridGenericColumnHeaderI
41719
42327
  }, columnHeaderSeparatorProps)), columnMenu]
41720
42328
  }));
41721
42329
  });
41722
- const useUtilityClasses$n = (ownerState) => {
42330
+ const useUtilityClasses$l = (ownerState) => {
41723
42331
  const {
41724
42332
  colDef,
41725
42333
  classes: classes2,
@@ -41801,7 +42409,7 @@ function GridColumnHeaderItem(props) {
41801
42409
  showRightBorder,
41802
42410
  showLeftBorder
41803
42411
  });
41804
- const classes2 = useUtilityClasses$n(ownerState);
42412
+ const classes2 = useUtilityClasses$l(ownerState);
41805
42413
  const publish = React.useCallback((eventName) => (event) => {
41806
42414
  if (isEventTargetInPortal(event)) {
41807
42415
  return;
@@ -41948,7 +42556,7 @@ GridColumnHeaderItem.propTypes = {
41948
42556
  };
41949
42557
  const Memoized = fastMemo(GridColumnHeaderItem);
41950
42558
  const _excluded$y = ["className"];
41951
- const useUtilityClasses$m = (ownerState) => {
42559
+ const useUtilityClasses$k = (ownerState) => {
41952
42560
  const {
41953
42561
  classes: classes2
41954
42562
  } = ownerState;
@@ -41971,7 +42579,7 @@ const GridIconButtonContainer = forwardRef(function GridIconButtonContainer2(pro
41971
42579
  className
41972
42580
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$y);
41973
42581
  const rootProps = useGridRootProps();
41974
- const classes2 = useUtilityClasses$m(rootProps);
42582
+ const classes2 = useUtilityClasses$k(rootProps);
41975
42583
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GridIconButtonContainerRoot, _extends$2({
41976
42584
  className: clsx$1(classes2.root, className),
41977
42585
  ownerState: rootProps
@@ -41980,7 +42588,7 @@ const GridIconButtonContainer = forwardRef(function GridIconButtonContainer2(pro
41980
42588
  }));
41981
42589
  });
41982
42590
  const _excluded$x = ["direction", "index", "sortingOrder", "disabled"];
41983
- const useUtilityClasses$l = (ownerState) => {
42591
+ const useUtilityClasses$j = (ownerState) => {
41984
42592
  const {
41985
42593
  classes: classes2
41986
42594
  } = ownerState;
@@ -42018,7 +42626,7 @@ function GridColumnHeaderSortIconRaw(props) {
42018
42626
  const ownerState = _extends$2({}, props, {
42019
42627
  classes: rootProps.classes
42020
42628
  });
42021
- const classes2 = useUtilityClasses$l(ownerState);
42629
+ const classes2 = useUtilityClasses$j(ownerState);
42022
42630
  const iconElement = getIcon(rootProps.slots, direction, classes2.icon, sortingOrder);
42023
42631
  if (!iconElement) {
42024
42632
  return null;
@@ -42053,7 +42661,7 @@ GridColumnHeaderSortIconRaw.propTypes = {
42053
42661
  index: PropTypes.number,
42054
42662
  sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(["asc", "desc"])).isRequired
42055
42663
  };
42056
- const useUtilityClasses$k = (ownerState) => {
42664
+ const useUtilityClasses$i = (ownerState) => {
42057
42665
  const {
42058
42666
  classes: classes2
42059
42667
  } = ownerState;
@@ -42089,7 +42697,7 @@ function GridColumnHeaderFilterIconButton(props) {
42089
42697
  const ownerState = _extends$2({}, props, {
42090
42698
  classes: rootProps.classes
42091
42699
  });
42092
- const classes2 = useUtilityClasses$k(ownerState);
42700
+ const classes2 = useUtilityClasses$i(ownerState);
42093
42701
  const labelId = useId();
42094
42702
  const isOpen = useGridSelector(apiRef, gridPreferencePanelSelectorWithLabel, labelId);
42095
42703
  const panelId = useId();
@@ -42622,7 +43230,7 @@ GridColumnMenu.propTypes = {
42622
43230
  slots: PropTypes.object
42623
43231
  };
42624
43232
  const _excluded$t = ["className"];
42625
- const useUtilityClasses$j = (ownerState) => {
43233
+ const useUtilityClasses$h = (ownerState) => {
42626
43234
  const {
42627
43235
  classes: classes2
42628
43236
  } = ownerState;
@@ -42647,7 +43255,7 @@ const GridPanelWrapper = forwardRef(function GridPanelWrapper2(props, ref) {
42647
43255
  className
42648
43256
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$t);
42649
43257
  const rootProps = useGridRootProps();
42650
- const classes2 = useUtilityClasses$j(rootProps);
43258
+ const classes2 = useUtilityClasses$h(rootProps);
42651
43259
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GridPanelWrapperRoot, _extends$2({
42652
43260
  tabIndex: -1,
42653
43261
  className: clsx$1(classes2.root, className),
@@ -42756,7 +43364,7 @@ GridPanel.propTypes = {
42756
43364
  target: PropTypes.any
42757
43365
  };
42758
43366
  const _excluded$r = ["className"];
42759
- const useUtilityClasses$i = (ownerState) => {
43367
+ const useUtilityClasses$g = (ownerState) => {
42760
43368
  const {
42761
43369
  classes: classes2
42762
43370
  } = ownerState;
@@ -42782,7 +43390,7 @@ function GridPanelContent(props) {
42782
43390
  className
42783
43391
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$r);
42784
43392
  const rootProps = useGridRootProps();
42785
- const classes2 = useUtilityClasses$i(rootProps);
43393
+ const classes2 = useUtilityClasses$g(rootProps);
42786
43394
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GridPanelContentRoot, _extends$2({
42787
43395
  className: clsx$1(classes2.root, className),
42788
43396
  ownerState: rootProps
@@ -42796,7 +43404,7 @@ GridPanelContent.propTypes = {
42796
43404
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
42797
43405
  };
42798
43406
  const _excluded$q = ["className"];
42799
- const useUtilityClasses$h = (ownerState) => {
43407
+ const useUtilityClasses$f = (ownerState) => {
42800
43408
  const {
42801
43409
  classes: classes2
42802
43410
  } = ownerState;
@@ -42820,7 +43428,7 @@ function GridPanelFooter(props) {
42820
43428
  className
42821
43429
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$q);
42822
43430
  const rootProps = useGridRootProps();
42823
- const classes2 = useUtilityClasses$h(rootProps);
43431
+ const classes2 = useUtilityClasses$f(rootProps);
42824
43432
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GridPanelFooterRoot, _extends$2({
42825
43433
  className: clsx$1(classes2.root, className),
42826
43434
  ownerState: rootProps
@@ -42834,7 +43442,7 @@ GridPanelFooter.propTypes = {
42834
43442
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
42835
43443
  };
42836
43444
  const _excluded$p = ["item", "hasMultipleFilters", "deleteFilter", "applyFilterChanges", "showMultiFilterOperators", "disableMultiFilterOperator", "applyMultiFilterOperatorChanges", "focusElementRef", "logicOperators", "columnsSort", "filterColumns", "deleteIconProps", "logicOperatorInputProps", "operatorInputProps", "columnInputProps", "valueInputProps", "readOnly", "children"], _excluded2$6 = ["InputComponentProps"];
42837
- const useUtilityClasses$g = (ownerState) => {
43445
+ const useUtilityClasses$e = (ownerState) => {
42838
43446
  const {
42839
43447
  classes: classes2
42840
43448
  } = ownerState;
@@ -42937,7 +43545,7 @@ const GridFilterForm = forwardRef(function GridFilterForm2(props, ref) {
42937
43545
  const operatorSelectId = useId();
42938
43546
  const operatorSelectLabelId = useId();
42939
43547
  const rootProps = useGridRootProps();
42940
- const classes2 = useUtilityClasses$g(rootProps);
43548
+ const classes2 = useUtilityClasses$e(rootProps);
42941
43549
  const valueRef = React.useRef(null);
42942
43550
  const filterSelectorRef = React.useRef(null);
42943
43551
  const multiFilterOperator = filterModel.logicOperator ?? GridLogicOperator.And;
@@ -43567,7 +44175,7 @@ function GridShadowScrollArea(props) {
43567
44175
  children
43568
44176
  }));
43569
44177
  }
43570
- const useUtilityClasses$f = (ownerState) => {
44178
+ const useUtilityClasses$d = (ownerState) => {
43571
44179
  const {
43572
44180
  classes: classes2
43573
44181
  } = ownerState;
@@ -43590,7 +44198,7 @@ function GridColumnsManagement(props) {
43590
44198
  const columnVisibilityModel = useGridSelector(apiRef, gridColumnVisibilityModelSelector);
43591
44199
  const rootProps = useGridRootProps();
43592
44200
  const [searchValue, setSearchValue] = React.useState("");
43593
- const classes2 = useUtilityClasses$f(rootProps);
44201
+ const classes2 = useUtilityClasses$d(rootProps);
43594
44202
  const {
43595
44203
  sort,
43596
44204
  searchPredicate = defaultSearchPredicate,
@@ -44504,7 +45112,7 @@ QuickFilterTrigger.propTypes = {
44504
45112
  touchRippleRef: PropTypes.any
44505
45113
  };
44506
45114
  const _excluded$h = ["quickFilterParser", "quickFilterFormatter", "debounceMs", "className", "slotProps"], _excluded2$4 = ["ref", "slotProps"];
44507
- const useUtilityClasses$e = (ownerState) => {
45115
+ const useUtilityClasses$c = (ownerState) => {
44508
45116
  const {
44509
45117
  classes: classes2
44510
45118
  } = ownerState;
@@ -44557,7 +45165,7 @@ function GridToolbarQuickFilter(props) {
44557
45165
  classes: rootProps.classes,
44558
45166
  expanded: false
44559
45167
  };
44560
- const classes2 = useUtilityClasses$e(ownerState);
45168
+ const classes2 = useUtilityClasses$c(ownerState);
44561
45169
  const {
44562
45170
  quickFilterParser,
44563
45171
  quickFilterFormatter,
@@ -44932,7 +45540,7 @@ ExportPrint.propTypes = {
44932
45540
  touchRippleRef: PropTypes.any
44933
45541
  };
44934
45542
  const _excluded$c = ["className"], _excluded2$3 = ["className"];
44935
- const useUtilityClasses$d = (ownerState) => {
45543
+ const useUtilityClasses$b = (ownerState) => {
44936
45544
  const {
44937
45545
  classes: classes2
44938
45546
  } = ownerState;
@@ -44964,7 +45572,7 @@ const Label = styled$1("span", {
44964
45572
  function GridToolbarDivider(props) {
44965
45573
  const other = _objectWithoutPropertiesLoose(props, _excluded$c);
44966
45574
  const rootProps = useGridRootProps();
44967
- const classes2 = useUtilityClasses$d(rootProps);
45575
+ const classes2 = useUtilityClasses$b(rootProps);
44968
45576
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Divider, _extends$2({
44969
45577
  as: rootProps.slots.baseDivider,
44970
45578
  orientation: "vertical",
@@ -44982,7 +45590,7 @@ GridToolbarDivider.propTypes = {
44982
45590
  function GridToolbarLabel(props) {
44983
45591
  const other = _objectWithoutPropertiesLoose(props, _excluded2$3);
44984
45592
  const rootProps = useGridRootProps();
44985
- const classes2 = useUtilityClasses$d(rootProps);
45593
+ const classes2 = useUtilityClasses$b(rootProps);
44986
45594
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Label, _extends$2({
44987
45595
  className: classes2.label
44988
45596
  }, other));
@@ -45102,7 +45710,7 @@ GridToolbar.propTypes = {
45102
45710
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
45103
45711
  };
45104
45712
  const _excluded$b = ["className", "selectedRowCount"];
45105
- const useUtilityClasses$c = (ownerState) => {
45713
+ const useUtilityClasses$a = (ownerState) => {
45106
45714
  const {
45107
45715
  classes: classes2
45108
45716
  } = ownerState;
@@ -45135,7 +45743,7 @@ const GridSelectedRowCount = forwardRef(function GridSelectedRowCount2(props, re
45135
45743
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$b);
45136
45744
  const apiRef = useGridApiContext();
45137
45745
  const ownerState = useGridRootProps();
45138
- const classes2 = useUtilityClasses$c(ownerState);
45746
+ const classes2 = useUtilityClasses$a(ownerState);
45139
45747
  const rowSelectedText = apiRef.current.getLocaleText("footerRowSelected")(selectedRowCount);
45140
45748
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GridSelectedRowCountRoot, _extends$2({
45141
45749
  className: clsx$1(classes2.root, className),
@@ -45245,7 +45853,7 @@ const SkeletonOverlay = styled$1("div", {
45245
45853
  overflow: "clip"
45246
45854
  // y axis is hidden while the x axis is allowed to overflow
45247
45855
  });
45248
- const useUtilityClasses$b = (ownerState) => {
45856
+ const useUtilityClasses$9 = (ownerState) => {
45249
45857
  const {
45250
45858
  classes: classes2
45251
45859
  } = ownerState;
@@ -45261,7 +45869,7 @@ const GridSkeletonLoadingOverlayInner = forwardRef(function GridSkeletonLoadingO
45261
45869
  slots
45262
45870
  } = rootProps;
45263
45871
  const isRtl = useRtl();
45264
- const classes2 = useUtilityClasses$b({
45872
+ const classes2 = useUtilityClasses$9({
45265
45873
  classes: rootProps.classes
45266
45874
  });
45267
45875
  const ref = React.useRef(null);
@@ -45572,7 +46180,7 @@ GridPagination.propTypes = {
45572
46180
  component: PropTypes.elementType
45573
46181
  };
45574
46182
  const _excluded$8 = ["className", "rowCount", "visibleRowCount"];
45575
- const useUtilityClasses$a = (ownerState) => {
46183
+ const useUtilityClasses$8 = (ownerState) => {
45576
46184
  const {
45577
46185
  classes: classes2
45578
46186
  } = ownerState;
@@ -45598,7 +46206,7 @@ const GridRowCount = forwardRef(function GridRowCount2(props, ref) {
45598
46206
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$8);
45599
46207
  const apiRef = useGridApiContext();
45600
46208
  const ownerState = useGridRootProps();
45601
- const classes2 = useUtilityClasses$a(ownerState);
46209
+ const classes2 = useUtilityClasses$8(ownerState);
45602
46210
  if (rowCount === 0) {
45603
46211
  return null;
45604
46212
  }
@@ -51441,7 +52049,7 @@ const useGridRowSelection = (apiRef, props) => {
51441
52049
  }
51442
52050
  }, []);
51443
52051
  };
51444
- const useUtilityClasses$9 = (ownerState) => {
52052
+ const useUtilityClasses$7 = (ownerState) => {
51445
52053
  const {
51446
52054
  classes: classes2
51447
52055
  } = ownerState;
@@ -51457,7 +52065,7 @@ const useGridRowSelectionPreProcessors = (apiRef, props) => {
51457
52065
  const ownerState = {
51458
52066
  classes: props.classes
51459
52067
  };
51460
- const classes2 = useUtilityClasses$9(ownerState);
52068
+ const classes2 = useUtilityClasses$7(ownerState);
51461
52069
  const updateSelectionColumn = React.useCallback((columnsState) => {
51462
52070
  const selectionColumn = _extends$2({}, GRID_CHECKBOX_SELECTION_COL_DEF, {
51463
52071
  cellClassName: classes2.cellCheckbox,
@@ -53771,7 +54379,7 @@ const useDataGridComponent = (inputApiRef, props) => {
53771
54379
  useGridDataSource(apiRef, props);
53772
54380
  return apiRef;
53773
54381
  };
53774
- const useUtilityClasses$8 = (ownerState) => {
54382
+ const useUtilityClasses$6 = (ownerState) => {
53775
54383
  const {
53776
54384
  classes: classes2,
53777
54385
  headerAlign,
@@ -53841,7 +54449,7 @@ function GridColumnGroupHeader(props) {
53841
54449
  const label = headerName ?? groupId;
53842
54450
  const id = useId();
53843
54451
  const elementId = groupId === null ? `empty-group-cell-${id}` : groupId;
53844
- const classes2 = useUtilityClasses$8(ownerState);
54452
+ const classes2 = useUtilityClasses$6(ownerState);
53845
54453
  React.useLayoutEffect(() => {
53846
54454
  if (hasFocus) {
53847
54455
  const focusableElement = headerCellRef.current.querySelector('[tabindex="0"]');
@@ -54183,7 +54791,7 @@ const useGridColumnHeaders = (props) => {
54183
54791
  };
54184
54792
  };
54185
54793
  const _excluded$3 = ["className"];
54186
- const useUtilityClasses$7 = (ownerState) => {
54794
+ const useUtilityClasses$5 = (ownerState) => {
54187
54795
  const {
54188
54796
  classes: classes2
54189
54797
  } = ownerState;
@@ -54207,7 +54815,7 @@ const GridBaseColumnHeaders = forwardRef(function GridColumnHeaders(props, ref)
54207
54815
  className
54208
54816
  } = props, other = _objectWithoutPropertiesLoose(props, _excluded$3);
54209
54817
  const rootProps = useGridRootProps();
54210
- const classes2 = useUtilityClasses$7(rootProps);
54818
+ const classes2 = useUtilityClasses$5(rootProps);
54211
54819
  return /* @__PURE__ */ jsxRuntimeExports.jsx(GridColumnHeadersRoot, _extends$2({
54212
54820
  className: clsx$1(classes2.root, className),
54213
54821
  ownerState: rootProps
@@ -54364,7 +54972,7 @@ const badgeClasses = generateUtilityClasses("MuiBadge", [
54364
54972
  ]);
54365
54973
  const RADIUS_STANDARD = 10;
54366
54974
  const RADIUS_DOT = 4;
54367
- const useUtilityClasses$6 = (ownerState) => {
54975
+ const useUtilityClasses$4 = (ownerState) => {
54368
54976
  const {
54369
54977
  color: color2,
54370
54978
  anchorOrigin,
@@ -54626,7 +55234,7 @@ const Badge = /* @__PURE__ */ React.forwardRef(function Badge2(inProps, ref) {
54626
55234
  overlap,
54627
55235
  variant
54628
55236
  };
54629
- const classes2 = useUtilityClasses$6(ownerState);
55237
+ const classes2 = useUtilityClasses$4(ownerState);
54630
55238
  const externalForwardedProps = {
54631
55239
  slots: {
54632
55240
  root: (slots == null ? void 0 : slots.root) ?? components.Root,
@@ -54777,614 +55385,6 @@ Badge.propTypes = {
54777
55385
  */
54778
55386
  variant: PropTypes.oneOfType([PropTypes.oneOf(["dot", "standard"]), PropTypes.string])
54779
55387
  };
54780
- function getLinearProgressUtilityClass(slot) {
54781
- return generateUtilityClass("MuiLinearProgress", slot);
54782
- }
54783
- generateUtilityClasses("MuiLinearProgress", ["root", "colorPrimary", "colorSecondary", "determinate", "indeterminate", "buffer", "query", "dashed", "dashedColorPrimary", "dashedColorSecondary", "bar", "bar1", "bar2", "barColorPrimary", "barColorSecondary", "bar1Indeterminate", "bar1Determinate", "bar1Buffer", "bar2Indeterminate", "bar2Buffer"]);
54784
- const TRANSITION_DURATION = 4;
54785
- const indeterminate1Keyframe = keyframes`
54786
- 0% {
54787
- left: -35%;
54788
- right: 100%;
54789
- }
54790
-
54791
- 60% {
54792
- left: 100%;
54793
- right: -90%;
54794
- }
54795
-
54796
- 100% {
54797
- left: 100%;
54798
- right: -90%;
54799
- }
54800
- `;
54801
- const indeterminate1Animation = typeof indeterminate1Keyframe !== "string" ? css`
54802
- animation: ${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
54803
- ` : null;
54804
- const indeterminate2Keyframe = keyframes`
54805
- 0% {
54806
- left: -200%;
54807
- right: 100%;
54808
- }
54809
-
54810
- 60% {
54811
- left: 107%;
54812
- right: -8%;
54813
- }
54814
-
54815
- 100% {
54816
- left: 107%;
54817
- right: -8%;
54818
- }
54819
- `;
54820
- const indeterminate2Animation = typeof indeterminate2Keyframe !== "string" ? css`
54821
- animation: ${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
54822
- ` : null;
54823
- const bufferKeyframe = keyframes`
54824
- 0% {
54825
- opacity: 1;
54826
- background-position: 0 -23px;
54827
- }
54828
-
54829
- 60% {
54830
- opacity: 0;
54831
- background-position: 0 -23px;
54832
- }
54833
-
54834
- 100% {
54835
- opacity: 1;
54836
- background-position: -200px -23px;
54837
- }
54838
- `;
54839
- const bufferAnimation = typeof bufferKeyframe !== "string" ? css`
54840
- animation: ${bufferKeyframe} 3s infinite linear;
54841
- ` : null;
54842
- const useUtilityClasses$5 = (ownerState) => {
54843
- const {
54844
- classes: classes2,
54845
- variant,
54846
- color: color2
54847
- } = ownerState;
54848
- const slots = {
54849
- root: ["root", `color${capitalize(color2)}`, variant],
54850
- dashed: ["dashed", `dashedColor${capitalize(color2)}`],
54851
- bar1: ["bar", "bar1", `barColor${capitalize(color2)}`, (variant === "indeterminate" || variant === "query") && "bar1Indeterminate", variant === "determinate" && "bar1Determinate", variant === "buffer" && "bar1Buffer"],
54852
- bar2: ["bar", "bar2", variant !== "buffer" && `barColor${capitalize(color2)}`, variant === "buffer" && `color${capitalize(color2)}`, (variant === "indeterminate" || variant === "query") && "bar2Indeterminate", variant === "buffer" && "bar2Buffer"]
54853
- };
54854
- return composeClasses(slots, getLinearProgressUtilityClass, classes2);
54855
- };
54856
- const getColorShade = (theme, color2) => {
54857
- if (theme.vars) {
54858
- return theme.vars.palette.LinearProgress[`${color2}Bg`];
54859
- }
54860
- return theme.palette.mode === "light" ? lighten(theme.palette[color2].main, 0.62) : darken(theme.palette[color2].main, 0.5);
54861
- };
54862
- const LinearProgressRoot = styled("span", {
54863
- name: "MuiLinearProgress",
54864
- slot: "Root",
54865
- overridesResolver: (props, styles2) => {
54866
- const {
54867
- ownerState
54868
- } = props;
54869
- return [styles2.root, styles2[`color${capitalize(ownerState.color)}`], styles2[ownerState.variant]];
54870
- }
54871
- })(memoTheme(({
54872
- theme
54873
- }) => ({
54874
- position: "relative",
54875
- overflow: "hidden",
54876
- display: "block",
54877
- height: 4,
54878
- // Fix Safari's bug during composition of different paint.
54879
- zIndex: 0,
54880
- "@media print": {
54881
- colorAdjust: "exact"
54882
- },
54883
- variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
54884
- props: {
54885
- color: color2
54886
- },
54887
- style: {
54888
- backgroundColor: getColorShade(theme, color2)
54889
- }
54890
- })), {
54891
- props: ({
54892
- ownerState
54893
- }) => ownerState.color === "inherit" && ownerState.variant !== "buffer",
54894
- style: {
54895
- "&::before": {
54896
- content: '""',
54897
- position: "absolute",
54898
- left: 0,
54899
- top: 0,
54900
- right: 0,
54901
- bottom: 0,
54902
- backgroundColor: "currentColor",
54903
- opacity: 0.3
54904
- }
54905
- }
54906
- }, {
54907
- props: {
54908
- variant: "buffer"
54909
- },
54910
- style: {
54911
- backgroundColor: "transparent"
54912
- }
54913
- }, {
54914
- props: {
54915
- variant: "query"
54916
- },
54917
- style: {
54918
- transform: "rotate(180deg)"
54919
- }
54920
- }]
54921
- })));
54922
- const LinearProgressDashed = styled("span", {
54923
- name: "MuiLinearProgress",
54924
- slot: "Dashed",
54925
- overridesResolver: (props, styles2) => {
54926
- const {
54927
- ownerState
54928
- } = props;
54929
- return [styles2.dashed, styles2[`dashedColor${capitalize(ownerState.color)}`]];
54930
- }
54931
- })(memoTheme(({
54932
- theme
54933
- }) => ({
54934
- position: "absolute",
54935
- marginTop: 0,
54936
- height: "100%",
54937
- width: "100%",
54938
- backgroundSize: "10px 10px",
54939
- backgroundPosition: "0 -23px",
54940
- variants: [{
54941
- props: {
54942
- color: "inherit"
54943
- },
54944
- style: {
54945
- opacity: 0.3,
54946
- backgroundImage: `radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)`
54947
- }
54948
- }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => {
54949
- const backgroundColor2 = getColorShade(theme, color2);
54950
- return {
54951
- props: {
54952
- color: color2
54953
- },
54954
- style: {
54955
- backgroundImage: `radial-gradient(${backgroundColor2} 0%, ${backgroundColor2} 16%, transparent 42%)`
54956
- }
54957
- };
54958
- })]
54959
- })), bufferAnimation || {
54960
- // At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
54961
- animation: `${bufferKeyframe} 3s infinite linear`
54962
- });
54963
- const LinearProgressBar1 = styled("span", {
54964
- name: "MuiLinearProgress",
54965
- slot: "Bar1",
54966
- overridesResolver: (props, styles2) => {
54967
- const {
54968
- ownerState
54969
- } = props;
54970
- return [styles2.bar, styles2.bar1, styles2[`barColor${capitalize(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar1Indeterminate, ownerState.variant === "determinate" && styles2.bar1Determinate, ownerState.variant === "buffer" && styles2.bar1Buffer];
54971
- }
54972
- })(memoTheme(({
54973
- theme
54974
- }) => ({
54975
- width: "100%",
54976
- position: "absolute",
54977
- left: 0,
54978
- bottom: 0,
54979
- top: 0,
54980
- transition: "transform 0.2s linear",
54981
- transformOrigin: "left",
54982
- variants: [{
54983
- props: {
54984
- color: "inherit"
54985
- },
54986
- style: {
54987
- backgroundColor: "currentColor"
54988
- }
54989
- }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
54990
- props: {
54991
- color: color2
54992
- },
54993
- style: {
54994
- backgroundColor: (theme.vars || theme).palette[color2].main
54995
- }
54996
- })), {
54997
- props: {
54998
- variant: "determinate"
54999
- },
55000
- style: {
55001
- transition: `transform .${TRANSITION_DURATION}s linear`
55002
- }
55003
- }, {
55004
- props: {
55005
- variant: "buffer"
55006
- },
55007
- style: {
55008
- zIndex: 1,
55009
- transition: `transform .${TRANSITION_DURATION}s linear`
55010
- }
55011
- }, {
55012
- props: ({
55013
- ownerState
55014
- }) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
55015
- style: {
55016
- width: "auto"
55017
- }
55018
- }, {
55019
- props: ({
55020
- ownerState
55021
- }) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
55022
- style: indeterminate1Animation || {
55023
- animation: `${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`
55024
- }
55025
- }]
55026
- })));
55027
- const LinearProgressBar2 = styled("span", {
55028
- name: "MuiLinearProgress",
55029
- slot: "Bar2",
55030
- overridesResolver: (props, styles2) => {
55031
- const {
55032
- ownerState
55033
- } = props;
55034
- return [styles2.bar, styles2.bar2, styles2[`barColor${capitalize(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar2Indeterminate, ownerState.variant === "buffer" && styles2.bar2Buffer];
55035
- }
55036
- })(memoTheme(({
55037
- theme
55038
- }) => ({
55039
- width: "100%",
55040
- position: "absolute",
55041
- left: 0,
55042
- bottom: 0,
55043
- top: 0,
55044
- transition: "transform 0.2s linear",
55045
- transformOrigin: "left",
55046
- variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
55047
- props: {
55048
- color: color2
55049
- },
55050
- style: {
55051
- "--LinearProgressBar2-barColor": (theme.vars || theme).palette[color2].main
55052
- }
55053
- })), {
55054
- props: ({
55055
- ownerState
55056
- }) => ownerState.variant !== "buffer" && ownerState.color !== "inherit",
55057
- style: {
55058
- backgroundColor: "var(--LinearProgressBar2-barColor, currentColor)"
55059
- }
55060
- }, {
55061
- props: ({
55062
- ownerState
55063
- }) => ownerState.variant !== "buffer" && ownerState.color === "inherit",
55064
- style: {
55065
- backgroundColor: "currentColor"
55066
- }
55067
- }, {
55068
- props: {
55069
- color: "inherit"
55070
- },
55071
- style: {
55072
- opacity: 0.3
55073
- }
55074
- }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
55075
- props: {
55076
- color: color2,
55077
- variant: "buffer"
55078
- },
55079
- style: {
55080
- backgroundColor: getColorShade(theme, color2),
55081
- transition: `transform .${TRANSITION_DURATION}s linear`
55082
- }
55083
- })), {
55084
- props: ({
55085
- ownerState
55086
- }) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
55087
- style: {
55088
- width: "auto"
55089
- }
55090
- }, {
55091
- props: ({
55092
- ownerState
55093
- }) => ownerState.variant === "indeterminate" || ownerState.variant === "query",
55094
- style: indeterminate2Animation || {
55095
- animation: `${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`
55096
- }
55097
- }]
55098
- })));
55099
- const LinearProgress = /* @__PURE__ */ React.forwardRef(function LinearProgress2(inProps, ref) {
55100
- const props = useDefaultProps({
55101
- props: inProps,
55102
- name: "MuiLinearProgress"
55103
- });
55104
- const {
55105
- className,
55106
- color: color2 = "primary",
55107
- value,
55108
- valueBuffer,
55109
- variant = "indeterminate",
55110
- ...other
55111
- } = props;
55112
- const ownerState = {
55113
- ...props,
55114
- color: color2,
55115
- variant
55116
- };
55117
- const classes2 = useUtilityClasses$5(ownerState);
55118
- const isRtl = useRtl();
55119
- const rootProps = {};
55120
- const inlineStyles = {
55121
- bar1: {},
55122
- bar2: {}
55123
- };
55124
- if (variant === "determinate" || variant === "buffer") {
55125
- if (value !== void 0) {
55126
- rootProps["aria-valuenow"] = Math.round(value);
55127
- rootProps["aria-valuemin"] = 0;
55128
- rootProps["aria-valuemax"] = 100;
55129
- let transform = value - 100;
55130
- if (isRtl) {
55131
- transform = -transform;
55132
- }
55133
- inlineStyles.bar1.transform = `translateX(${transform}%)`;
55134
- } else {
55135
- console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");
55136
- }
55137
- }
55138
- if (variant === "buffer") {
55139
- if (valueBuffer !== void 0) {
55140
- let transform = (valueBuffer || 0) - 100;
55141
- if (isRtl) {
55142
- transform = -transform;
55143
- }
55144
- inlineStyles.bar2.transform = `translateX(${transform}%)`;
55145
- } else {
55146
- console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");
55147
- }
55148
- }
55149
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(LinearProgressRoot, {
55150
- className: clsx$1(classes2.root, className),
55151
- ownerState,
55152
- role: "progressbar",
55153
- ...rootProps,
55154
- ref,
55155
- ...other,
55156
- children: [variant === "buffer" ? /* @__PURE__ */ jsxRuntimeExports.jsx(LinearProgressDashed, {
55157
- className: classes2.dashed,
55158
- ownerState
55159
- }) : null, /* @__PURE__ */ jsxRuntimeExports.jsx(LinearProgressBar1, {
55160
- className: classes2.bar1,
55161
- ownerState,
55162
- style: inlineStyles.bar1
55163
- }), variant === "determinate" ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(LinearProgressBar2, {
55164
- className: classes2.bar2,
55165
- ownerState,
55166
- style: inlineStyles.bar2
55167
- })]
55168
- });
55169
- });
55170
- LinearProgress.propTypes = {
55171
- // ┌────────────────────────────── Warning ──────────────────────────────┐
55172
- // │ These PropTypes are generated from the TypeScript type definitions. │
55173
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
55174
- // └─────────────────────────────────────────────────────────────────────┘
55175
- /**
55176
- * Override or extend the styles applied to the component.
55177
- */
55178
- classes: PropTypes.object,
55179
- /**
55180
- * @ignore
55181
- */
55182
- className: PropTypes.string,
55183
- /**
55184
- * The color of the component.
55185
- * It supports both default and custom theme colors, which can be added as shown in the
55186
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
55187
- * @default 'primary'
55188
- */
55189
- color: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "primary", "secondary"]), PropTypes.string]),
55190
- /**
55191
- * The system prop that allows defining system overrides as well as additional CSS styles.
55192
- */
55193
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
55194
- /**
55195
- * The value of the progress indicator for the determinate and buffer variants.
55196
- * Value between 0 and 100.
55197
- */
55198
- value: PropTypes.number,
55199
- /**
55200
- * The value for the buffer variant.
55201
- * Value between 0 and 100.
55202
- */
55203
- valueBuffer: PropTypes.number,
55204
- /**
55205
- * The variant to use.
55206
- * Use indeterminate or query when there is no progress value.
55207
- * @default 'indeterminate'
55208
- */
55209
- variant: PropTypes.oneOf(["buffer", "determinate", "indeterminate", "query"])
55210
- };
55211
- function getInputAdornmentUtilityClass(slot) {
55212
- return generateUtilityClass("MuiInputAdornment", slot);
55213
- }
55214
- const inputAdornmentClasses = generateUtilityClasses("MuiInputAdornment", ["root", "filled", "standard", "outlined", "positionStart", "positionEnd", "disablePointerEvents", "hiddenLabel", "sizeSmall"]);
55215
- var _span;
55216
- const overridesResolver = (props, styles2) => {
55217
- const {
55218
- ownerState
55219
- } = props;
55220
- return [styles2.root, styles2[`position${capitalize(ownerState.position)}`], ownerState.disablePointerEvents === true && styles2.disablePointerEvents, styles2[ownerState.variant]];
55221
- };
55222
- const useUtilityClasses$4 = (ownerState) => {
55223
- const {
55224
- classes: classes2,
55225
- disablePointerEvents,
55226
- hiddenLabel,
55227
- position: position2,
55228
- size: size2,
55229
- variant
55230
- } = ownerState;
55231
- const slots = {
55232
- root: ["root", disablePointerEvents && "disablePointerEvents", position2 && `position${capitalize(position2)}`, variant, hiddenLabel && "hiddenLabel", size2 && `size${capitalize(size2)}`]
55233
- };
55234
- return composeClasses(slots, getInputAdornmentUtilityClass, classes2);
55235
- };
55236
- const InputAdornmentRoot = styled("div", {
55237
- name: "MuiInputAdornment",
55238
- slot: "Root",
55239
- overridesResolver
55240
- })(memoTheme(({
55241
- theme
55242
- }) => ({
55243
- display: "flex",
55244
- maxHeight: "2em",
55245
- alignItems: "center",
55246
- whiteSpace: "nowrap",
55247
- color: (theme.vars || theme).palette.action.active,
55248
- variants: [{
55249
- props: {
55250
- variant: "filled"
55251
- },
55252
- style: {
55253
- [`&.${inputAdornmentClasses.positionStart}&:not(.${inputAdornmentClasses.hiddenLabel})`]: {
55254
- marginTop: 16
55255
- }
55256
- }
55257
- }, {
55258
- props: {
55259
- position: "start"
55260
- },
55261
- style: {
55262
- marginRight: 8
55263
- }
55264
- }, {
55265
- props: {
55266
- position: "end"
55267
- },
55268
- style: {
55269
- marginLeft: 8
55270
- }
55271
- }, {
55272
- props: {
55273
- disablePointerEvents: true
55274
- },
55275
- style: {
55276
- pointerEvents: "none"
55277
- }
55278
- }]
55279
- })));
55280
- const InputAdornment$1 = /* @__PURE__ */ React.forwardRef(function InputAdornment2(inProps, ref) {
55281
- const props = useDefaultProps({
55282
- props: inProps,
55283
- name: "MuiInputAdornment"
55284
- });
55285
- const {
55286
- children,
55287
- className,
55288
- component = "div",
55289
- disablePointerEvents = false,
55290
- disableTypography = false,
55291
- position: position2,
55292
- variant: variantProp,
55293
- ...other
55294
- } = props;
55295
- const muiFormControl = useFormControl() || {};
55296
- let variant = variantProp;
55297
- if (variantProp && muiFormControl.variant) {
55298
- {
55299
- if (variantProp === muiFormControl.variant) {
55300
- console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one.");
55301
- }
55302
- }
55303
- }
55304
- if (muiFormControl && !variant) {
55305
- variant = muiFormControl.variant;
55306
- }
55307
- const ownerState = {
55308
- ...props,
55309
- hiddenLabel: muiFormControl.hiddenLabel,
55310
- size: muiFormControl.size,
55311
- disablePointerEvents,
55312
- position: position2,
55313
- variant
55314
- };
55315
- const classes2 = useUtilityClasses$4(ownerState);
55316
- return /* @__PURE__ */ jsxRuntimeExports.jsx(FormControlContext.Provider, {
55317
- value: null,
55318
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(InputAdornmentRoot, {
55319
- as: component,
55320
- ownerState,
55321
- className: clsx$1(classes2.root, className),
55322
- ref,
55323
- ...other,
55324
- children: typeof children === "string" && !disableTypography ? /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, {
55325
- color: "textSecondary",
55326
- children
55327
- }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(React.Fragment, {
55328
- children: [position2 === "start" ? (
55329
- /* notranslate needed while Google Translate will not fix zero-width space issue */
55330
- _span || (_span = /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
55331
- className: "notranslate",
55332
- "aria-hidden": true,
55333
- children: "​"
55334
- }))
55335
- ) : null, children]
55336
- })
55337
- })
55338
- });
55339
- });
55340
- InputAdornment$1.propTypes = {
55341
- // ┌────────────────────────────── Warning ──────────────────────────────┐
55342
- // │ These PropTypes are generated from the TypeScript type definitions. │
55343
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
55344
- // └─────────────────────────────────────────────────────────────────────┘
55345
- /**
55346
- * The content of the component, normally an `IconButton` or string.
55347
- */
55348
- children: PropTypes.node,
55349
- /**
55350
- * Override or extend the styles applied to the component.
55351
- */
55352
- classes: PropTypes.object,
55353
- /**
55354
- * @ignore
55355
- */
55356
- className: PropTypes.string,
55357
- /**
55358
- * The component used for the root node.
55359
- * Either a string to use a HTML element or a component.
55360
- */
55361
- component: PropTypes.elementType,
55362
- /**
55363
- * Disable pointer events on the root.
55364
- * This allows for the content of the adornment to focus the `input` on click.
55365
- * @default false
55366
- */
55367
- disablePointerEvents: PropTypes.bool,
55368
- /**
55369
- * If children is a string then disable wrapping in a Typography component.
55370
- * @default false
55371
- */
55372
- disableTypography: PropTypes.bool,
55373
- /**
55374
- * The position this adornment should appear relative to the `Input`.
55375
- */
55376
- position: PropTypes.oneOf(["end", "start"]).isRequired,
55377
- /**
55378
- * The system prop that allows defining system overrides as well as additional CSS styles.
55379
- */
55380
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
55381
- /**
55382
- * The variant to use.
55383
- * Note: If you are using the `TextField` component or the `FormControl` component
55384
- * you do not have to set this manually.
55385
- */
55386
- variant: PropTypes.oneOf(["filled", "outlined", "standard"])
55387
- };
55388
55388
  function getToolbarUtilityClass(slot) {
55389
55389
  return generateUtilityClass("MuiToolbar", slot);
55390
55390
  }