@m4l/styles 0.0.14 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,3743 +1,41 @@
1
- import { useTheme as S, alpha as e } from "@mui/material/styles";
2
- import M from "@mui/material/useMediaQuery";
3
- import { alpha as n } from "@mui/system";
4
- import { alpha as B } from "@mui/material";
5
- function $(o, r, a, i) {
6
- const u = S(), f = M(u.breakpoints.up(r)), b = M(u.breakpoints.down(r)), v = M(u.breakpoints.between(a, i)), L = M(u.breakpoints.only(r));
7
- if (o === "up")
8
- return f;
9
- if (o === "down")
10
- return b;
11
- if (o === "between")
12
- return v;
13
- if (o === "only")
14
- return L;
15
- }
16
- function g(o, r) {
17
- return `linear-gradient(to bottom, ${o}, ${r})`;
18
- }
19
- const t = {
20
- patronusBlue: {
21
- 10: "#CCE6FF",
22
- 20: "#88BCFF",
23
- 30: "#60A7FF",
24
- 40: "#3891FF",
25
- 50: "#0064FF",
26
- 60: "#0039D7",
27
- 70: "#001AA4",
28
- 80: "#00086A",
29
- 90: "#000033"
30
- },
31
- crayonBlue: {
32
- 10: "#A5C9FE",
33
- 20: "#88B7FC",
34
- 30: "#6AA4F9",
35
- 40: "#5494F3",
36
- 50: "#2774E6",
37
- 60: "#2367CC",
38
- 70: "#1F5AB3",
39
- 80: "#1A4D99",
40
- 90: "#113366"
41
- },
42
- middleYellow: {
43
- 10: "#FFFBCE",
44
- 20: "#FFF79C",
45
- 30: "#FFF46B",
46
- 40: "#FFF039",
47
- 50: "#FFEC08",
48
- 60: "#E5D400",
49
- 70: "#9E9200",
50
- 80: "#696100",
51
- 90: "#353100"
52
- },
53
- acidGreen: {
54
- 10: "#CDFFC2",
55
- 20: "#A8FF97",
56
- 30: "#83FF6B",
57
- 40: "#5EFF40",
58
- 50: "#39FF14",
59
- 60: "#47CC2D",
60
- 70: "#229E0A",
61
- 80: "#176E05",
62
- 90: "#0B3D00"
63
- },
64
- grassGreen: {
65
- 10: "#FDFFE6",
66
- 20: "#D0E4A3",
67
- 30: "#AFDA85",
68
- 40: "#87D06A",
69
- 50: "#4BB543",
70
- 60: "#438C2D",
71
- 70: "#3A631E",
72
- 80: "#2A3B11",
73
- 90: "#0F1206"
74
- },
75
- candyRed: {
76
- 10: "#FFD6D6",
77
- 20: "#EE9B9B",
78
- 30: "#EB7F7F",
79
- 40: "#E86463",
80
- 50: "#D73733",
81
- 60: "#AE1916",
82
- 70: "#850502",
83
- 80: "#5C0500",
84
- 90: "#330400"
85
- },
86
- turquiBlue: {
87
- 10: "#B5D9EA",
88
- 20: "#92BBCD",
89
- 30: "#709DB1 ",
90
- 40: "#4D7E94",
91
- 50: "#2A6077",
92
- 60: "#255569",
93
- 70: "#214A5A",
94
- 80: "#1C3E4C",
95
- 90: "#18333D"
96
- },
97
- blazeOrange: {
98
- 10: "#F8BE9F",
99
- 20: "#FAA777",
100
- 30: "#FC8F50",
101
- 40: "#FD7828",
102
- 50: "#FF6000",
103
- 60: "#DE5300",
104
- 70: "#BD4600",
105
- 80: "#9B3900",
106
- 90: "#6D2A00"
107
- },
108
- flameRed: {
109
- 10: "#F4BABA",
110
- 20: "#F59292",
111
- 30: "#F66A6A",
112
- 40: "#F64141",
113
- 50: "#F71919",
114
- 60: "#D31616",
115
- 70: "#AF1212",
116
- 80: "#8A0F0F",
117
- 90: "#660C0C"
118
- },
119
- coolGrey: {
120
- 10: "#BAC6CC",
121
- 20: "#A7B4B9",
122
- 30: "#94A1A6",
123
- 40: "#818F93",
124
- 50: "#6E7C80",
125
- 60: "#5C6A6C",
126
- 70: "#495859",
127
- 80: "#364546",
128
- 90: "#233333"
129
- },
130
- marbleLight: {
131
- 10: "#FEFFFF",
132
- 20: "#F9FBFB",
133
- 30: "#F4F7F7",
134
- 40: "#EFF3F4",
135
- 50: "#EAEFF0",
136
- 60: "#fff0",
137
- 70: "#fff0",
138
- 80: "#fff0",
139
- 90: "#fff0"
140
- },
141
- ashBlak: {
142
- 10: "#2F3737",
143
- 20: "#2A3232",
144
- 30: "#252C2C",
145
- 40: "#212727",
146
- 50: "#1C2121",
147
- 60: "#090A0A",
148
- 70: "#fff0",
149
- 80: "#fff0",
150
- 90: "#fff0"
151
- }
152
- }, D = {
153
- patronus: {
154
- 4: e(t.patronusBlue[50], 0.04),
155
- 12: e(t.patronusBlue[50], 0.12),
156
- 24: e(t.patronusBlue[50], 0.24),
157
- 36: e(t.patronusBlue[50], 0.36),
158
- 48: e(t.patronusBlue[50], 0.48),
159
- 60: e(t.patronusBlue[50], 0.6),
160
- 72: e(t.patronusBlue[50], 0.72)
161
- },
162
- turqui: {
163
- 4: e(t.turquiBlue[50], 0.04),
164
- 12: e(t.turquiBlue[50], 0.12),
165
- 24: e(t.turquiBlue[50], 0.24),
166
- 36: e(t.turquiBlue[50], 0.36),
167
- 48: e(t.turquiBlue[50], 0.48),
168
- 60: e(t.turquiBlue[50], 0.6),
169
- 72: e(t.turquiBlue[50], 0.72)
170
- },
171
- grass: {
172
- 4: e(t.grassGreen[50], 0.04),
173
- 12: e(t.grassGreen[50], 0.12),
174
- 24: e(t.grassGreen[50], 0.24),
175
- 36: e(t.grassGreen[50], 0.36),
176
- 48: e(t.grassGreen[50], 0.48),
177
- 60: e(t.grassGreen[50], 0.6),
178
- 72: e(t.grassGreen[50], 0.72)
179
- },
180
- candy: {
181
- 4: e(t.candyRed[50], 0.04),
182
- 12: e(t.candyRed[50], 0.12),
183
- 24: e(t.candyRed[50], 0.24),
184
- 36: e(t.candyRed[50], 0.36),
185
- 48: e(t.candyRed[50], 0.48),
186
- 60: e(t.candyRed[50], 0.6),
187
- 72: e(t.candyRed[50], 0.72)
188
- },
189
- blaze: {
190
- 4: e(t.blazeOrange[50], 0.04),
191
- 12: e(t.blazeOrange[50], 0.12),
192
- 24: e(t.blazeOrange[50], 0.24),
193
- 36: e(t.blazeOrange[50], 0.36),
194
- 48: e(t.blazeOrange[50], 0.48),
195
- 60: e(t.blazeOrange[50], 0.6),
196
- 72: e(t.blazeOrange[50], 0.72)
197
- },
198
- cool: {
199
- 4: e(t.coolGrey[70], 0.04),
200
- 12: e(t.coolGrey[70], 0.12),
201
- 24: e(t.coolGrey[70], 0.24),
202
- 36: e(t.coolGrey[70], 0.36),
203
- 48: e(t.coolGrey[70], 0.48),
204
- 60: e(t.coolGrey[70], 0.6),
205
- 72: e(t.coolGrey[70], 0.72)
206
- },
207
- marbel: {
208
- 4: e(t.marbleLight[10], 0.04),
209
- 12: e(t.marbleLight[10], 0.12),
210
- 24: e(t.marbleLight[10], 0.24),
211
- 36: e(t.marbleLight[10], 0.36),
212
- 48: e(t.marbleLight[10], 0.48),
213
- 60: e(t.marbleLight[10], 0.6),
214
- 72: e(t.marbleLight[10], 0.72)
215
- }
216
- }, C = {
217
- lighter: t.patronusBlue[70],
218
- light: t.patronusBlue[60],
219
- main: t.patronusBlue[50],
220
- dark: t.patronusBlue[40],
221
- darker: t.patronusBlue[20],
222
- contrastText: t.marbleLight[10]
223
- }, m = {
224
- lighter: "#fff0",
225
- light: "#fff0",
226
- main: "#fff0",
227
- dark: "#fff0",
228
- darker: "#fff0"
229
- }, h = {
230
- lighter: "#fff0",
231
- light: "#fff0",
232
- main: t.crayonBlue[50],
233
- dark: "#fff0",
234
- darker: "#fff0",
235
- opacity: e(t.crayonBlue[50], 0.08)
236
- }, F = {
237
- lighter: "#fff0",
238
- light: "#fff0",
239
- main: t.acidGreen[60],
240
- dark: "#fff0",
241
- darker: "#fff0",
242
- opacity: e(t.acidGreen[60], 0.08)
243
- }, I = {
244
- lighter: "#fff0",
245
- light: "#fff0",
246
- main: t.middleYellow[60],
247
- dark: "#fff0",
248
- darker: "#fff0",
249
- opacity: e(t.middleYellow[60], 0.08)
250
- }, w = {
251
- lighter: "#fff0",
252
- light: "#fff0",
253
- main: t.flameRed[40],
254
- dark: "#fff0",
255
- darker: "#fff0",
256
- opacity: e(t.flameRed[40], 0.08)
257
- }, y = {
258
- 0: "#FFFFFF",
259
- 100: "#F9FAFB",
260
- 200: "#F4F6F8",
261
- 300: "#DFE3E8",
262
- 400: "#C4CDD5",
263
- 500: "#919EAB",
264
- 600: "#637381",
265
- 700: "#454F5B",
266
- 800: "#212B36",
267
- 900: "#161C24",
268
- 5008: e("#919EAB", 0.08),
269
- 50012: e("#919EAB", 0.12),
270
- 50016: e("#919EAB", 0.16),
271
- 50024: e("#919EAB", 0.24),
272
- 50032: e("#919EAB", 0.32),
273
- 50048: e("#919EAB", 0.48),
274
- 50056: e("#919EAB", 0.56),
275
- 50080: e("#919EAB", 0.8)
276
- }, z = {
277
- primary: g(C.light, C.main),
278
- info: g(h.light, h.main),
279
- success: g(F.light, F.main),
280
- warning: g(I.light, I.main),
281
- error: g(w.light, w.main)
282
- }, H = {
283
- violet: ["#826AF9", "#9E86FF", "#D0AEFF", "#F7D2FF"],
284
- blue: ["#2D99FF", "#83CFFF", "#A5F3FF", "#CCFAFF"],
285
- green: ["#2CD9C5", "#60F1C8", "#A4F7CC", "#C0F2DC"],
286
- yellow: ["#FFE700", "#FFEF5A", "#FFF7AE", "#FFF3D6"],
287
- red: ["#FF6C40", "#FF8F6D", "#FFBD98", "#FFF2D4"]
288
- }, G = {
289
- normal: t.crayonBlue[50],
290
- hover: t.crayonBlue[70]
291
- }, E = {
292
- normal: t.acidGreen[60],
293
- hover: t.acidGreen[70]
294
- }, W = {
295
- normal: t.flameRed[40],
296
- hover: t.flameRed[60]
297
- }, P = {
298
- normal: t.flameRed[60],
299
- hover: t.flameRed[70]
300
- }, q = {
301
- default: e(t.coolGrey[50], 0.24),
302
- transition: e(t.coolGrey[50], 0.08)
303
- }, l = {
304
- info: { ...G },
305
- success: { ...E },
306
- error: { ...W },
307
- warning: { ...P },
308
- skeleton: { ...q }
309
- }, R = {
310
- common: { black: "#000", white: "#fff" },
311
- primary: { ...C },
312
- state: {
313
- ...l
314
- },
315
- patronus: { ...t },
316
- opacity: { ...D },
317
- secondary: { ...m, contrastText: "#fff" },
318
- info: { ...h, contrastText: "#fff" },
319
- success: { ...F, contrastText: y[800] },
320
- warning: { ...I, contrastText: y[800] },
321
- error: { ...w, contrastText: "#fff" },
322
- grey: y,
323
- gradients: z,
324
- chart: H,
325
- divider: y[50024],
326
- action: {
327
- hoverOpacity: 0.08,
328
- disabledOpacity: 0.48
329
- }
330
- }, s = {
331
- light: {
332
- ...R,
333
- mode: "light",
334
- text: {
335
- primary: t.ashBlak[10],
336
- secondary: t.coolGrey[40],
337
- disabled: t.coolGrey[10]
338
- },
339
- background: {
340
- paper: "#fff0",
341
- default: t.marbleLight[10],
342
- neutral: t.marbleLight[30],
343
- background: t.marbleLight[50]
344
- },
345
- grid: { sectionHeader: "#F6F7F9", divider: "#EDEFF2", rowHover: "#FAFBFC" }
346
- },
347
- dark: {
348
- ...R,
349
- mode: "dark",
350
- text: {
351
- primary: t.marbleLight[30],
352
- secondary: t.coolGrey[20],
353
- disabled: t.coolGrey[50]
354
- },
355
- background: {
356
- paper: "#fff0",
357
- default: t.ashBlak[10],
358
- neutral: t.ashBlak[30],
359
- background: t.ashBlak[50]
360
- },
361
- grid: { sectionHeader: "#29313A", divider: "#3E464F", rowHover: "#1F262F" }
362
- }
363
- }, x = [
364
- {
365
- name: "patronus",
366
- lighter: t.patronusBlue[70],
367
- light: t.patronusBlue[60],
368
- main: t.patronusBlue[50],
369
- dark: t.patronusBlue[40],
370
- darker: t.patronusBlue[20],
371
- contrastText: t.marbleLight[10]
372
- },
373
- {
374
- name: "turqui",
375
- lighter: t.turquiBlue[80],
376
- light: t.turquiBlue[60],
377
- main: t.turquiBlue[40],
378
- dark: t.turquiBlue[50],
379
- darker: t.turquiBlue[20],
380
- contrastText: t.marbleLight[10]
381
- },
382
- {
383
- name: "grass",
384
- lighter: t.grassGreen[80],
385
- light: t.grassGreen[50],
386
- main: t.grassGreen[60],
387
- dark: t.grassGreen[40],
388
- darker: t.grassGreen[20],
389
- contrastText: t.marbleLight[10]
390
- },
391
- {
392
- name: "candy",
393
- lighter: t.candyRed[70],
394
- light: t.candyRed[60],
395
- main: t.candyRed[50],
396
- dark: t.candyRed[40],
397
- darker: t.candyRed[30],
398
- contrastText: t.marbleLight[10]
399
- },
400
- {
401
- name: "blaze",
402
- lighter: t.blazeOrange[80],
403
- light: t.blazeOrange[50],
404
- main: t.blazeOrange[60],
405
- dark: t.blazeOrange[40],
406
- darker: t.blazeOrange[20],
407
- contrastText: t.marbleLight[10]
408
- }
409
- ], O = x[0], V = x[1], N = x[2], _ = x[3], j = x[4];
410
- function k(o) {
411
- try {
412
- return {
413
- patronus: O,
414
- turqui: V,
415
- grass: N,
416
- candy: _,
417
- blaze: j
418
- }[o];
419
- } catch {
420
- }
421
- return O;
422
- }
423
- const Y = (o, r) => {
424
- let a = {};
425
- switch (o) {
426
- case "patronus":
427
- a = {
428
- light: {
429
- active12: n(t?.patronusBlue[50], 0.12),
430
- active: t?.patronusBlue[50],
431
- focus: t?.patronusBlue[70],
432
- hover: t?.patronusBlue[60],
433
- default: n(t?.coolGrey[70], 0.04),
434
- ...l
435
- },
436
- dark: {
437
- active12: n(t?.patronusBlue[50], 0.12),
438
- active: t?.patronusBlue[50],
439
- focus: t?.patronusBlue[30],
440
- hover: t?.patronusBlue[40],
441
- default: n(t?.marbleLight[10], 0.04),
442
- ...l
443
- }
444
- };
445
- break;
446
- case "turqui":
447
- a = {
448
- light: {
449
- active12: n(t?.turquiBlue[50], 0.12),
450
- active: t?.turquiBlue[50],
451
- focus: t?.turquiBlue[70],
452
- hover: t?.turquiBlue[60],
453
- default: n(t?.coolGrey[70], 0.12),
454
- ...l
455
- },
456
- dark: {
457
- active12: n(t?.turquiBlue[50], 0.12),
458
- active: t?.turquiBlue[50],
459
- focus: t?.turquiBlue[30],
460
- hover: t?.turquiBlue[40],
461
- default: n(t?.marbleLight[10], 0.12),
462
- ...l
463
- }
464
- };
465
- break;
466
- case "grass":
467
- a = {
468
- light: {
469
- active12: n(t?.grassGreen[50], 0.12),
470
- active: t?.grassGreen[50],
471
- focus: t?.grassGreen[70],
472
- hover: t?.grassGreen[60],
473
- default: n(t?.coolGrey[70], 0.12),
474
- ...l
475
- },
476
- dark: {
477
- active12: n(t?.grassGreen[50], 0.12),
478
- active: t?.grassGreen[50],
479
- focus: t?.grassGreen[30],
480
- hover: t?.grassGreen[40],
481
- default: n(t?.marbleLight[10], 0.12),
482
- ...l
483
- }
484
- };
485
- break;
486
- case "candy":
487
- a = {
488
- light: {
489
- active12: n(t?.candyRed[50], 0.12),
490
- active: t?.candyRed[50],
491
- focus: t?.candyRed[70],
492
- hover: t?.candyRed[60],
493
- default: n(t?.coolGrey[70], 0.12),
494
- ...l
495
- },
496
- dark: {
497
- active12: n(t?.candyRed[50], 0.12),
498
- active: t?.candyRed[50],
499
- focus: t?.candyRed[30],
500
- hover: t?.candyRed[40],
501
- default: n(t?.marbleLight[10], 0.12),
502
- ...l
503
- }
504
- };
505
- break;
506
- case "blaze":
507
- a = {
508
- light: {
509
- active12: n(t?.blazeOrange[50], 0.12),
510
- active: t?.blazeOrange[50],
511
- focus: t?.blazeOrange[70],
512
- hover: t?.blazeOrange[60],
513
- default: n(t?.coolGrey[70], 0.12),
514
- ...l
515
- },
516
- dark: {
517
- active12: n(t?.blazeOrange[50], 0.12),
518
- active: t?.blazeOrange[50],
519
- focus: t?.blazeOrange[30],
520
- hover: t?.blazeOrange[40],
521
- default: n(t?.marbleLight[10], 0.12),
522
- ...l
523
- }
524
- };
525
- break;
526
- default:
527
- a = {
528
- light: {
529
- active12: n(t?.turquiBlue[50], 0.12),
530
- active: t?.turquiBlue[50],
531
- focus: t?.turquiBlue[70],
532
- hover: t?.turquiBlue[60],
533
- default: n(t?.coolGrey[70], 0.12),
534
- ...l
535
- },
536
- dark: {
537
- active12: n(t?.turquiBlue[50], 0.12),
538
- active: t?.turquiBlue[50],
539
- focus: t?.turquiBlue[30],
540
- hover: t?.turquiBlue[40],
541
- default: n(t?.marbleLight[10], 0.12),
542
- ...l
543
- }
544
- };
545
- break;
546
- }
547
- return r === "light" ? { ...a.light } : { ...a.dark };
548
- };
549
- function U(o) {
550
- return Math.round(parseFloat(o) * 16);
551
- }
552
- function d(o) {
553
- return `${o / 16}rem`;
554
- }
555
- function p({ sm: o, md: r, lg: a }) {
556
- return {
557
- "@media (min-width:0px)": {
558
- fontSize: `${o}px`
559
- },
560
- "@media (min-width:900px)": {
561
- fontSize: `${r}px`
562
- },
563
- "@media (min-width:1200px)": {
564
- fontSize: `${a}px`
565
- }
566
- };
567
- }
568
- function K() {
569
- return [...S().breakpoints.keys].reverse().reduce((a, i) => {
570
- const u = $("up", i);
571
- return !a && u ? i : a;
572
- }, null) || "xs";
573
- }
574
- function gt(o) {
575
- const r = S(), a = K(), i = r.breakpoints.up(a === "xl" ? "lg" : a), f = (o === "h1" || o === "h2" || o === "h3" || o === "h4" || o === "h5" || o === "h6") && r.typography[o][i] ? r.typography[o][i] : r.typography[o], b = U(f.fontSize), v = Number(r.typography[o].lineHeight) * b, { fontWeight: L, letterSpacing: T } = r.typography[o];
576
- return { fontSize: b, lineHeight: v, fontWeight: L, letterSpacing: T };
577
- }
578
- const Q = "Poppins, sans-serif", J = {
579
- fontFamily: Q,
580
- fontWeightRegular: 400,
581
- fontWeightMedium: 600,
582
- fontWeightBold: 700,
583
- h1: {
584
- fontWeight: 600,
585
- lineHeight: 1.5,
586
- ...p({ sm: 38, md: 40, lg: 40 })
587
- },
588
- h2: {
589
- fontWeight: 600,
590
- lineHeight: 1,
591
- ...p({ sm: 40, md: 44, lg: 48 })
592
- },
593
- h3: {
594
- fontWeight: 600,
595
- lineHeight: 1.5,
596
- ...p({ sm: 30, md: 32, lg: 32 })
597
- },
598
- h4: {
599
- fontWeight: 600,
600
- lineHeight: 1.5,
601
- ...p({ sm: 20, md: 24, lg: 24 })
602
- },
603
- h5: {
604
- fontWeight: 600,
605
- lineHeight: 1.5,
606
- ...p({ sm: 22, md: 24, lg: 24 })
607
- },
608
- h6: {
609
- fontWeight: 600,
610
- lineHeight: 28 / 18,
611
- ...p({ sm: 18, md: 18, lg: 18 })
612
- },
613
- subtitle: {
614
- fontWeight: 400,
615
- lineHeight: 1.5,
616
- ...p({ sm: 18, md: 16, lg: 16 })
617
- },
618
- subtitleDens: {
619
- fontWeight: 600,
620
- lineHeight: 1.5,
621
- ...p({ sm: 18, md: 16, lg: 16 })
622
- },
623
- paragraph: {
624
- fontWeight: 400,
625
- lineHeight: 1.429,
626
- ...p({ sm: 16, md: 14, lg: 14 })
627
- },
628
- paragraphDens: {
629
- fontWeight: 600,
630
- lineHeight: 1.429,
631
- ...p({ sm: 16, md: 14, lg: 14 })
632
- },
633
- subtitle1: {
634
- fontWeight: 600,
635
- lineHeight: 1.5,
636
- fontSize: d(14)
637
- },
638
- subtitle2: {
639
- fontWeight: 600,
640
- lineHeight: 1.5,
641
- fontSize: d(12)
642
- },
643
- body: {
644
- fontWeight: 400,
645
- lineHeight: 1.143,
646
- ...p({ sm: 14, md: 12, lg: 12 })
647
- },
648
- bodyDens: {
649
- fontWeight: 600,
650
- lineHeight: 1.143,
651
- ...p({ sm: 14, md: 12, lg: 12 })
652
- },
653
- body0: {
654
- lineHeight: 1.5,
655
- fontWeight: 400,
656
- fontSize: d(16)
657
- },
658
- body1: {
659
- lineHeight: 1.5,
660
- fontWeight: 400,
661
- fontSize: d(14)
662
- },
663
- body2: {
664
- lineHeight: 1.5,
665
- fontWeight: 400,
666
- fontSize: d(12)
667
- },
668
- caption: {
669
- lineHeight: 1.5,
670
- fontSize: d(11)
671
- },
672
- overline: {
673
- fontWeight: 700,
674
- lineHeight: 1.5,
675
- fontSize: d(12),
676
- textTransform: "uppercase"
677
- },
678
- button: {
679
- fontWeight: 700,
680
- lineHeight: 24 / 14,
681
- fontSize: d(14),
682
- textTransform: "capitalize"
683
- },
684
- action: {
685
- fontWeight: 500,
686
- lineHeight: 1.667,
687
- ...p({ sm: 14, md: 12, lg: 12 })
688
- }
689
- }, X = s.light.grey[500], Z = "#000000", A = (o) => {
690
- const r = e(o, 0.2), a = e(o, 0.14), i = e(o, 0.12);
691
- return [
692
- "none",
693
- `0px 2px 1px -1px ${r},0px 1px 1px 0px ${a},0px 1px 3px 0px ${i}`,
694
- `0px 3px 1px -2px ${r},0px 2px 2px 0px ${a},0px 1px 5px 0px ${i}`,
695
- `0px 3px 3px -2px ${r},0px 3px 4px 0px ${a},0px 1px 8px 0px ${i}`,
696
- `0px 2px 4px -1px ${r},0px 4px 5px 0px ${a},0px 1px 10px 0px ${i}`,
697
- `0px 3px 5px -1px ${r},0px 5px 8px 0px ${a},0px 1px 14px 0px ${i}`,
698
- `0px 3px 5px -1px ${r},0px 6px 10px 0px ${a},0px 1px 18px 0px ${i}`,
699
- `0px 4px 5px -2px ${r},0px 7px 10px 1px ${a},0px 2px 16px 1px ${i}`,
700
- `0px 5px 5px -3px ${r},0px 8px 10px 1px ${a},0px 3px 14px 2px ${i}`,
701
- `0px 5px 6px -3px ${r},0px 9px 12px 1px ${a},0px 3px 16px 2px ${i}`,
702
- `0px 6px 6px -3px ${r},0px 10px 14px 1px ${a},0px 4px 18px 3px ${i}`,
703
- `0px 6px 7px -4px ${r},0px 11px 15px 1px ${a},0px 4px 20px 3px ${i}`,
704
- `0px 7px 8px -4px ${r},0px 12px 17px 2px ${a},0px 5px 22px 4px ${i}`,
705
- `0px 7px 8px -4px ${r},0px 13px 19px 2px ${a},0px 5px 24px 4px ${i}`,
706
- `0px 7px 9px -4px ${r},0px 14px 21px 2px ${a},0px 5px 26px 4px ${i}`,
707
- `0px 8px 9px -5px ${r},0px 15px 22px 2px ${a},0px 6px 28px 5px ${i}`,
708
- `0px 8px 10px -5px ${r},0px 16px 24px 2px ${a},0px 6px 30px 5px ${i}`,
709
- `0px 8px 11px -5px ${r},0px 17px 26px 2px ${a},0px 6px 32px 5px ${i}`,
710
- `0px 9px 11px -5px ${r},0px 18px 28px 2px ${a},0px 7px 34px 6px ${i}`,
711
- `0px 9px 12px -6px ${r},0px 19px 29px 2px ${a},0px 7px 36px 6px ${i}`,
712
- `0px 10px 13px -6px ${r},0px 20px 31px 3px ${a},0px 8px 38px 7px ${i}`,
713
- `0px 10px 13px -6px ${r},0px 21px 33px 3px ${a},0px 8px 40px 7px ${i}`,
714
- `0px 10px 14px -6px ${r},0px 22px 35px 3px ${a},0px 8px 42px 7px ${i}`,
715
- `0px 11px 14px -7px ${r},0px 23px 36px 3px ${a},0px 9px 44px 8px ${i}`,
716
- `0px 11px 15px -7px ${r},0px 24px 38px 3px ${a},0px 9px 46px 8px ${i}`
717
- ];
718
- }, oo = (o) => {
719
- const r = {
720
- info: `0px 2px 8px 0px ${e(t.patronusBlue[50], 0.2)}`,
721
- secondary: `0px 2px 8px 0px ${e(s.light.secondary.main, 0.24)}`,
722
- success: `0px 2px 8px 0px ${e(t.acidGreen[50], 0.2)}`,
723
- warning: `0px 2px 8px 0px ${e(t.middleYellow[50], 0.2)}`,
724
- error: `0px 2px 8px 0px ${e(t.flameRed[50], 0.2)}`,
725
- card: `0 0 2px 0 ${e(s.light.grey[500], 0.2)}, 0 12px 24px -4px ${e(
726
- s.light.grey[500],
727
- 0.12
728
- )}`,
729
- dialog: `-40px 40px 80px -8px ${e(s.light.common.black, 0.24)}`,
730
- dropdown: `0 0 2px 0 ${e(s.light.grey[500], 0.24)}, -20px 20px 40px -4px ${e(
731
- s.light.grey[500],
732
- 0.24
733
- )}`
734
- };
735
- return o === "light" ? {
736
- z1: `0px 1px 2px ${e(t.coolGrey[70], 0.12)}`,
737
- z2: `0px 2px 2px 1px ${e(t.coolGrey[70], 0.12)}`,
738
- z3: `0px 4px 8px ${e(t.coolGrey[70], 0.16)}`,
739
- z4: `0px 8px 16px 1px ${e(t.coolGrey[70], 0.16)}`,
740
- ...r
741
- } : {
742
- z1: `0px 1px 2px ${e(t.ashBlak[50], 0.4)}`,
743
- z2: `0px 2px 2px 1px ${e(t.ashBlak[50], 0.4)}`,
744
- z3: `0px 4px 8px 1px ${e(t.ashBlak[60], 0.4)}`,
745
- z4: `0px 8px 16px 4px ${e(t.ashBlak[60], 0.4)}`,
746
- ...r
747
- };
748
- }, to = {
749
- light: A(X),
750
- dark: A(Z)
751
- }, xt = {
752
- typography: J,
753
- palette: {
754
- ...s.light,
755
- primary: k("patronus"),
756
- state: { ...Y("patronus", "light") },
757
- representative: k("patronus").darker
758
- },
759
- shape: { borderRadius: 8 },
760
- direction: "rtl",
761
- shadows: to.light,
762
- customShadows: {
763
- primary: `0 8px 16px 0 ${B(k("patronus").main, 0.2)}`,
764
- ...oo("dark")
765
- },
766
- stretch: !0,
767
- spacing: (o) => `${0.5 * o}rem`
768
- };
769
- function eo(o) {
770
- return {
771
- MuiAvatar: {
772
- styleOverrides: {
773
- colorDefault: {
774
- color: o.palette.text.secondary,
775
- backgroundColor: o.palette.grey[400]
776
- }
777
- }
778
- },
779
- MuiAvatarGroup: {
780
- styleOverrides: {
781
- avatar: {
782
- fontSize: 16,
783
- fontWeight: o.typography.fontWeightMedium,
784
- "&:first-of-type": {
785
- fontSize: 14,
786
- color: o.palette.primary.main,
787
- backgroundColor: o.palette.primary.lighter
788
- }
789
- }
790
- }
791
- }
792
- };
793
- }
794
- function ro(o) {
795
- return {
796
- MuiButton: {
797
- styleOverrides: {
798
- root: {
799
- textTransform: "capitalize",
800
- "&:hover": {
801
- boxShadow: "none"
802
- }
803
- },
804
- sizeLarge: {
805
- height: 48
806
- },
807
- containedInherit: {
808
- color: o.palette.grey[800],
809
- boxShadow: o.customShadows?.z1,
810
- "&:hover": {
811
- backgroundColor: o.palette.grey[400]
812
- }
813
- },
814
- containedPrimary: {
815
- boxShadow: o.customShadows?.z4
816
- },
817
- containedSecondary: {
818
- boxShadow: o.customShadows?.secondary
819
- },
820
- containedInfo: {
821
- boxShadow: o.customShadows?.info
822
- },
823
- containedSuccess: {
824
- boxShadow: o.customShadows?.success
825
- },
826
- containedWarning: {
827
- boxShadow: o.customShadows?.warning
828
- },
829
- containedError: {
830
- boxShadow: o.customShadows?.error
831
- },
832
- outlinedInherit: {
833
- border: `1px solid ${o.palette.grey[50032]}`,
834
- "&:hover": {
835
- backgroundColor: o.palette.action.hover
836
- }
837
- },
838
- textInherit: {
839
- "&:hover": {
840
- backgroundColor: o.palette.action.hover
841
- }
842
- }
843
- }
844
- }
845
- };
846
- }
847
- function ao(o) {
848
- return {
849
- MuiIconButton: {
850
- styleOverrides: {
851
- root: {
852
- "&.MuiIconButton-sizeSmall": {
853
- height: o.spacing(3),
854
- width: o.spacing(3),
855
- margin: 0,
856
- padding: 0,
857
- " > svg": {
858
- height: 20,
859
- width: 20
860
- },
861
- "& .MuiBox-root": {
862
- height: 20,
863
- width: 20
864
- }
865
- }
866
- }
867
- }
868
- }
869
- };
870
- }
871
- function io(o) {
872
- return console.log("test theme", o.palette), {
873
- MuiFab: {
874
- defaultProps: {
875
- color: "primary"
876
- },
877
- styleOverrides: {
878
- root: {
879
- boxShadow: o.customShadows?.z4,
880
- "&:hover": {
881
- boxShadow: "none",
882
- backgroundColor: o.palette.grey[400]
883
- }
884
- },
885
- primary: {
886
- boxShadow: o.customShadows?.primary,
887
- "&:hover": {
888
- backgroundColor: o.palette.primary.dark
889
- }
890
- },
891
- secondary: {
892
- boxShadow: o.customShadows?.secondary,
893
- "&:hover": {
894
- backgroundColor: o.palette.secondary.dark
895
- }
896
- },
897
- extended: {
898
- "& svg": {
899
- marginRight: o.spacing(1)
900
- }
901
- }
902
- }
903
- }
904
- };
905
- }
906
- function no(o) {
907
- return {
908
- MuiCard: {
909
- styleOverrides: {
910
- root: {
911
- position: "relative",
912
- boxShadow: o.customShadows?.card,
913
- borderRadius: Number(o.shape.borderRadius) * 2,
914
- zIndex: 0
915
- }
916
- }
917
- },
918
- MuiCardHeader: {
919
- defaultProps: {
920
- titleTypographyProps: { variant: "h6" },
921
- subheaderTypographyProps: { variant: "body2", marginTop: o.spacing(0.5) }
922
- },
923
- styleOverrides: {
924
- root: {
925
- padding: o.spacing(3, 3, 0)
926
- }
927
- }
928
- },
929
- MuiCardContent: {
930
- styleOverrides: {
931
- root: {
932
- padding: o.spacing(3)
933
- }
934
- }
935
- }
936
- };
937
- }
938
- function po(o) {
939
- return {
940
- MuiTabs: {
941
- styleOverrides: {
942
- root: {
943
- padding: 0,
944
- fontWeight: o.typography.fontWeightMedium,
945
- borderTopLeftRadius: o.shape.borderRadius,
946
- borderTopRightRadius: o.shape.borderRadius,
947
- "&.Mui-selected": {
948
- color: o.palette.text.primary
949
- },
950
- "&:not(:last-of-type)": {
951
- marginRight: o.spacing(5)
952
- },
953
- "@media (min-width: 600px)": {
954
- minWidth: 48
955
- },
956
- "& .MuiButtonBase-root": {
957
- ...o.typography.subtitle2
958
- }
959
- },
960
- labelIcon: {
961
- minHeight: 48,
962
- flexDirection: "row",
963
- "& > *:first-of-type": {
964
- marginBottom: 0,
965
- marginRight: o.spacing(1)
966
- }
967
- },
968
- wrapper: {
969
- flexDirection: "row",
970
- whiteSpace: "nowrap"
971
- },
972
- textColorInherit: {
973
- opacity: 1,
974
- color: o.palette.text.secondary
975
- }
976
- }
977
- },
978
- MuiTabPanel: {
979
- styleOverrides: {
980
- root: {
981
- padding: 0
982
- }
983
- }
984
- },
985
- MuiTabScrollButton: {
986
- styleOverrides: {
987
- root: {
988
- width: 48,
989
- borderRadius: "50%"
990
- }
991
- }
992
- }
993
- };
994
- }
995
- function lo(o) {
996
- return {
997
- MuiMenuItem: {
998
- styleOverrides: {
999
- root: {
1000
- "&.Mui-selected": {
1001
- backgroundColor: o.palette.action.selected,
1002
- "&:hover": {
1003
- backgroundColor: o.palette.action.hover
1004
- }
1005
- }
1006
- }
1007
- }
1008
- }
1009
- };
1010
- }
1011
- function so(o) {
1012
- return {
1013
- MuiLink: {
1014
- defaultProps: {
1015
- underline: "hover"
1016
- },
1017
- styleOverrides: {
1018
- root: {
1019
- "&.MuiLink-underlineHover": {
1020
- textDecorationColor: o.palette.primary.main
1021
- }
1022
- }
1023
- }
1024
- }
1025
- };
1026
- }
1027
- function uo(o) {
1028
- return {
1029
- MuiListItemIcon: {
1030
- styleOverrides: {
1031
- root: {
1032
- color: "inherit",
1033
- minWidth: "auto",
1034
- marginRight: o.spacing(2)
1035
- }
1036
- }
1037
- },
1038
- MuiListItemAvatar: {
1039
- styleOverrides: {
1040
- root: {
1041
- minWidth: "auto",
1042
- marginRight: o.spacing(2)
1043
- }
1044
- }
1045
- },
1046
- MuiListItemText: {
1047
- styleOverrides: {
1048
- root: {
1049
- marginTop: 0,
1050
- marginBottom: 0
1051
- },
1052
- multiline: {
1053
- marginTop: 0,
1054
- marginBottom: 0
1055
- }
1056
- }
1057
- }
1058
- };
1059
- }
1060
- function co(o) {
1061
- return {
1062
- MuiTableRow: {
1063
- styleOverrides: {
1064
- root: {
1065
- "&.Mui-selected": {
1066
- backgroundColor: o.palette.action.selected,
1067
- "&:hover": {
1068
- backgroundColor: o.palette.action.hover
1069
- }
1070
- }
1071
- }
1072
- }
1073
- },
1074
- MuiTableCell: {
1075
- styleOverrides: {
1076
- root: {
1077
- borderBottom: "none"
1078
- },
1079
- head: {
1080
- color: o.palette.text.secondary,
1081
- backgroundColor: o.palette.background.neutral,
1082
- "&:first-of-type": {
1083
- paddingLeft: o.spacing(3),
1084
- borderTopLeftRadius: o.shape.borderRadius,
1085
- borderBottomLeftRadius: o.shape.borderRadius,
1086
- boxShadow: `inset 8px 0 0 ${o.palette.background.paper}`
1087
- },
1088
- "&:last-of-type": {
1089
- paddingRight: o.spacing(3),
1090
- borderTopRightRadius: o.shape.borderRadius,
1091
- borderBottomRightRadius: o.shape.borderRadius,
1092
- boxShadow: `inset -8px 0 0 ${o.palette.background.paper}`
1093
- }
1094
- },
1095
- stickyHeader: {
1096
- backgroundColor: o.palette.background.paper,
1097
- backgroundImage: `linear-gradient(to bottom, ${o.palette.background.neutral} 0%, ${o.palette.background.neutral} 100%)`
1098
- },
1099
- body: {
1100
- "&:first-of-type": {
1101
- paddingLeft: o.spacing(3)
1102
- },
1103
- "&:last-of-type": {
1104
- paddingRight: o.spacing(3)
1105
- }
1106
- }
1107
- }
1108
- },
1109
- MuiTablePagination: {
1110
- styleOverrides: {
1111
- root: {
1112
- ...o.typography.caption
1113
- },
1114
- toolbar: {
1115
- "& .MuiInputBase-root": {
1116
- marginLeft: o.spacing(1),
1117
- marginRight: o.spacing(3),
1118
- ...o.typography.caption
1119
- },
1120
- "&.MuiToolbar-regular": {
1121
- minHeight: 40,
1122
- height: 40,
1123
- paddingRight: 0
1124
- },
1125
- "& .MuiTablePagination-displayedRows": {
1126
- ...o.typography.caption
1127
- }
1128
- },
1129
- selectLabel: {
1130
- ...o.typography.caption
1131
- },
1132
- select: {
1133
- paddingBottom: 4,
1134
- "&:focus": {
1135
- borderRadius: o.shape.borderRadius
1136
- }
1137
- },
1138
- selectIcon: {
1139
- width: 20,
1140
- height: 20
1141
- }
1142
- }
1143
- }
1144
- };
1145
- }
1146
- function go(o) {
1147
- return {
1148
- MuiBadge: {
1149
- styleOverrides: {
1150
- dot: {
1151
- width: 10,
1152
- height: 10,
1153
- borderRadius: "50%"
1154
- }
1155
- }
1156
- }
1157
- };
1158
- }
1159
- function xo(o) {
1160
- return {
1161
- MuiPaper: {
1162
- defaultProps: {
1163
- elevation: 0
1164
- },
1165
- variants: [
1166
- {
1167
- props: { variant: "outlined" },
1168
- style: { borderColor: o.palette.grey[50012] }
1169
- }
1170
- ],
1171
- styleOverrides: {
1172
- root: {
1173
- backgroundImage: "none",
1174
- backgroundColor: o.palette.background.default,
1175
- borderRadius: "2px",
1176
- "& .MuiStack-root .MuiMenuItem-root": {
1177
- color: o.palette.text.primary,
1178
- transition: "all .5s",
1179
- borderRadius: "4px",
1180
- ...o.typography.action
1181
- },
1182
- "& .MuiStack-root .MuiMenuItem-root:hover": {
1183
- color: o.palette.state?.hover,
1184
- transition: "all .5s",
1185
- backgroundColor: o.palette.state?.active12
1186
- },
1187
- "& .MuiStack-root .MuiMenuItem-root.Mui-selected": {
1188
- color: o.palette.state?.active,
1189
- transition: "all .5s",
1190
- backgroundColor: o.palette.state?.active12
1191
- },
1192
- "& .MuiStack-root .MuiMenuItem-root:focus": {
1193
- color: o.palette.state?.focus,
1194
- transition: "all .5s",
1195
- backgroundColor: o.palette.background.default,
1196
- boxShadow: `0 0 0 1px ${o.palette.state?.focus}`
1197
- },
1198
- "& .MuiAutocomplete-listbox .MuiAutocomplete-option": {
1199
- color: o.palette.text.primary,
1200
- transition: "all .5s",
1201
- borderRadius: "4px",
1202
- ...o.typography.action
1203
- },
1204
- "& .MuiAutocomplete-listbox .MuiAutocomplete-option:hover": {
1205
- color: o.palette.state?.hover,
1206
- transition: "all .5s",
1207
- backgroundColor: o.palette.state?.active12
1208
- },
1209
- "& .MuiAutocomplete-listbox .MuiAutocomplete-option.Mui-selected": {
1210
- color: o.palette.state?.active,
1211
- transition: "all .5s",
1212
- backgroundColor: o.palette.state?.active12
1213
- },
1214
- "& .MuiAutocomplete-listbox .MuiAutocomplete-option:active": {
1215
- color: o.palette.state?.focus,
1216
- transition: "all .5s",
1217
- backgroundColor: o.palette.background.default,
1218
- boxShadow: `0 0 0 1px ${o.palette.state?.focus}`
1219
- }
1220
- }
1221
- }
1222
- }
1223
- };
1224
- }
1225
- function bo(o) {
1226
- return {
1227
- MuiFormControl: {
1228
- styleOverrides: {
1229
- root: {}
1230
- }
1231
- },
1232
- MuiInputBase: {
1233
- styleOverrides: {
1234
- root: {
1235
- backgroundColor: o.palette.background.default,
1236
- ...o.typography.body2,
1237
- borderRadius: o.spacing(1),
1238
- "&.Mui-disabled": {
1239
- "& svg": { color: o.palette.text.disabled }
1240
- },
1241
- padding: "0px"
1242
- },
1243
- input: {
1244
- padding: "4px 8px",
1245
- "&::placeholder": {
1246
- opacity: 1,
1247
- color: o.palette.text.disabled
1248
- }
1249
- }
1250
- }
1251
- },
1252
- MuiInput: {
1253
- styleOverrides: {
1254
- underline: {
1255
- "&:before": {
1256
- borderBottomColor: o.palette.grey[50056]
1257
- }
1258
- }
1259
- }
1260
- },
1261
- MuiFilledInput: {
1262
- styleOverrides: {
1263
- root: {
1264
- backgroundColor: o.palette.grey[50012],
1265
- "&:hover": {
1266
- backgroundColor: o.palette.grey[50016]
1267
- },
1268
- "&.Mui-focused": {
1269
- backgroundColor: o.palette.action.focus
1270
- },
1271
- "&.Mui-disabled": {
1272
- backgroundColor: o.palette.action.disabledBackground
1273
- }
1274
- },
1275
- underline: {
1276
- "&:before": {
1277
- borderBottomColor: o.palette.grey[50056]
1278
- }
1279
- }
1280
- }
1281
- },
1282
- MuiOutlinedInput: {
1283
- styleOverrides: {
1284
- root: {
1285
- ...o.typography.body2,
1286
- color: o.palette.text.primary,
1287
- "& > input": {
1288
- padding: o.spacing(1.5, 1.5)
1289
- },
1290
- "& .MuiOutlinedInput-notchedOutline": {
1291
- borderColor: o.palette.grey[50032],
1292
- fontSize: "0.875rem"
1293
- },
1294
- "&.Mui-disabled": {
1295
- "& .MuiOutlinedInput-notchedOutline": {
1296
- borderColor: o.palette.action.disabledBackground
1297
- }
1298
- },
1299
- "& .MuiOutlinedInput-input:-webkit-autofill": {
1300
- WebkitBoxShadow: `0 0 0 1000px ${o.palette.background.autofill} inset`
1301
- }
1302
- }
1303
- }
1304
- }
1305
- };
1306
- }
1307
- function Mo(o) {
1308
- return {
1309
- MuiInputLabel: {
1310
- styleOverrides: {
1311
- shrink: {
1312
- transform: "translate(14px, -9px) scale(0.75)!important"
1313
- },
1314
- outlined: {
1315
- transform: "translate(14px, 12px) scale(1)",
1316
- fontSize: 12
1317
- }
1318
- }
1319
- }
1320
- };
1321
- }
1322
- function yo(o) {
1323
- return {
1324
- MuiRadio: {
1325
- styleOverrides: {
1326
- root: {
1327
- padding: o.spacing(1),
1328
- svg: {
1329
- fontSize: 24,
1330
- "&[font-size=small]": {
1331
- fontSize: 20
1332
- }
1333
- }
1334
- }
1335
- }
1336
- }
1337
- };
1338
- }
1339
- function fo(o) {
1340
- const r = o.palette.mode === "light";
1341
- return {
1342
- MuiDrawer: {
1343
- styleOverrides: {
1344
- root: {
1345
- "&.M4LSideBar-drawer": {
1346
- test: "root",
1347
- "& .MuiPaper-root": {
1348
- background: o.palette.background.neutral,
1349
- display: "flex",
1350
- flexDirection: "row"
1351
- }
1352
- }
1353
- },
1354
- modal: {
1355
- '&[role="presentation"]': {
1356
- "& .MuiDrawer-paperAnchorLeft": {
1357
- boxShadow: `8px 24px 24px 12px ${B(
1358
- o.palette.grey[900],
1359
- r ? 0.16 : 0.48
1360
- )}`
1361
- },
1362
- "& .MuiDrawer-paperAnchorRight": {
1363
- boxShadow: `-8px 24px 24px 12px ${B(
1364
- o.palette.grey[900],
1365
- r ? 0.16 : 0.48
1366
- )}`
1367
- }
1368
- }
1369
- }
1370
- }
1371
- }
1372
- };
1373
- }
1374
- function vo(o) {
1375
- return {
1376
- MuiDialog: {
1377
- styleOverrides: {
1378
- paper: {
1379
- boxShadow: o.customShadows?.dialog,
1380
- "&.MuiPaper-rounded": {
1381
- borderRadius: Number(o.shape.borderRadius) * 2
1382
- },
1383
- "&.MuiDialog-paperFullScreen": {
1384
- borderRadius: 0
1385
- },
1386
- "&.MuiDialog-paper .MuiDialogActions-root": {
1387
- padding: o.spacing(3)
1388
- },
1389
- "@media (max-width: 600px)": {
1390
- margin: o.spacing(2)
1391
- },
1392
- "@media (max-width: 663.95px)": {
1393
- "&.MuiDialog-paperWidthSm.MuiDialog-paperScrollBody": {
1394
- maxWidth: "100%"
1395
- }
1396
- }
1397
- },
1398
- paperFullWidth: {
1399
- width: "100%"
1400
- }
1401
- }
1402
- },
1403
- MuiDialogTitle: {
1404
- styleOverrides: {
1405
- root: {
1406
- padding: o.spacing(3, 3, 0)
1407
- }
1408
- }
1409
- },
1410
- MuiDialogContent: {
1411
- styleOverrides: {
1412
- root: {
1413
- borderTop: 0,
1414
- borderBottom: 0,
1415
- padding: o.spacing(3)
1416
- }
1417
- }
1418
- },
1419
- MuiDialogActions: {
1420
- styleOverrides: {
1421
- root: {
1422
- "& > :not(:first-of-type)": {
1423
- marginLeft: o.spacing(1.5)
1424
- }
1425
- }
1426
- }
1427
- }
1428
- };
1429
- }
1430
- function Lo(o) {
1431
- const r = o.palette.mode === "light";
1432
- return {
1433
- MuiSlider: {
1434
- defaultProps: {
1435
- size: "small"
1436
- },
1437
- styleOverrides: {
1438
- root: {
1439
- "&.Mui-disabled": {
1440
- color: o.palette.action.disabled
1441
- }
1442
- },
1443
- markLabel: {
1444
- fontSize: 13,
1445
- color: o.palette.text.disabled
1446
- },
1447
- valueLabel: {
1448
- borderRadius: 8,
1449
- backgroundColor: o.palette.grey[r ? 800 : 700]
1450
- }
1451
- }
1452
- }
1453
- };
1454
- }
1455
- function ko(o) {
1456
- const r = o.palette.mode === "light";
1457
- return {
1458
- MuiSwitch: {
1459
- styleOverrides: {
1460
- thumb: {
1461
- boxShadow: o.customShadows?.z1
1462
- },
1463
- track: {
1464
- opacity: 1,
1465
- backgroundColor: o.palette.grey[500]
1466
- },
1467
- switchBase: {
1468
- left: 0,
1469
- right: "auto",
1470
- "&:not(:.Mui-checked)": {
1471
- color: o.palette.grey[r ? 100 : 300]
1472
- },
1473
- "&.Mui-checked.Mui-disabled, &.Mui-disabled": {
1474
- color: o.palette.grey[r ? 400 : 600]
1475
- },
1476
- "&.Mui-disabled+.MuiSwitch-track": {
1477
- opacity: 1,
1478
- backgroundColor: `${o.palette.action.disabledBackground} !important`
1479
- }
1480
- }
1481
- }
1482
- }
1483
- };
1484
- }
1485
- function Bo(o) {
1486
- return {
1487
- MuiSvgIcon: {
1488
- styleOverrides: {
1489
- fontSizeSmall: {
1490
- width: 20,
1491
- height: 20,
1492
- fontSize: "inherit"
1493
- },
1494
- fontSizeLarge: {
1495
- width: 32,
1496
- height: 32,
1497
- fontSize: "inherit"
1498
- }
1499
- }
1500
- }
1501
- };
1502
- }
1503
- function Co(o) {
1504
- const r = o.palette.mode === "light";
1505
- return {
1506
- MuiTooltip: {
1507
- styleOverrides: {
1508
- tooltip: {
1509
- backgroundColor: o.palette.grey[r ? 800 : 700]
1510
- },
1511
- arrow: {
1512
- color: o.palette.grey[r ? 800 : 700]
1513
- }
1514
- }
1515
- }
1516
- };
1517
- }
1518
- function ho(o) {
1519
- return {
1520
- MuiPopover: {
1521
- styleOverrides: {
1522
- paper: {}
1523
- }
1524
- }
1525
- };
1526
- }
1527
- function Fo(o) {
1528
- return {
1529
- MuiStepConnector: {
1530
- styleOverrides: {
1531
- line: {
1532
- borderColor: o.palette.divider
1533
- }
1534
- }
1535
- }
1536
- };
1537
- }
1538
- function Io(o) {
1539
- return {
1540
- MuiDataGrid: {
1541
- styleOverrides: {
1542
- root: {
1543
- borderRadius: 0,
1544
- border: "1px solid transparent",
1545
- "& .MuiTablePagination-root": {
1546
- borderTop: 0
1547
- },
1548
- "& .MuiDataGrid-toolbarContainer": {
1549
- padding: o.spacing(2),
1550
- backgroundColor: o.palette.background.neutral,
1551
- "& .MuiButton-root": {
1552
- marginRight: o.spacing(1.5),
1553
- color: o.palette.text.primary,
1554
- "&:hover": {
1555
- backgroundColor: o.palette.action.hover
1556
- }
1557
- }
1558
- },
1559
- "& .MuiDataGrid-cell, .MuiDataGrid-columnsContainer": {
1560
- borderBottom: `1px solid ${o.palette.divider}`
1561
- },
1562
- "& .MuiDataGrid-columnSeparator": {
1563
- color: o.palette.divider
1564
- },
1565
- '& .MuiDataGrid-columnHeader[data-field="__check__"]': {
1566
- padding: 0
1567
- }
1568
- }
1569
- }
1570
- },
1571
- MuiGridMenu: {
1572
- styleOverrides: {
1573
- root: {
1574
- "& .MuiDataGrid-gridMenuList": {
1575
- boxShadow: o.customShadows?.z4,
1576
- borderRadius: o.shape.borderRadius
1577
- },
1578
- "& .MuiMenuItem-root": {
1579
- ...o.typography.body2
1580
- }
1581
- }
1582
- }
1583
- },
1584
- MuiGridFilterForm: {
1585
- styleOverrides: {
1586
- root: {
1587
- padding: o.spacing(1.5, 0),
1588
- "& .MuiFormControl-root": {
1589
- margin: o.spacing(0, 0.5)
1590
- },
1591
- "& .MuiInput-root": {
1592
- marginTop: o.spacing(3),
1593
- "&::before, &::after": {
1594
- display: "none"
1595
- },
1596
- "& .MuiNativeSelect-select, .MuiInput-input": {
1597
- ...o.typography.body2,
1598
- padding: o.spacing(0.75, 1),
1599
- borderRadius: o.shape.borderRadius,
1600
- backgroundColor: o.palette.background.neutral
1601
- },
1602
- "& .MuiSvgIcon-root": {
1603
- right: 4
1604
- }
1605
- }
1606
- }
1607
- }
1608
- },
1609
- MuiGridPanelFooter: {
1610
- styleOverrides: {
1611
- root: {
1612
- padding: o.spacing(2),
1613
- justifyContent: "flex-end",
1614
- "& .MuiButton-root": {
1615
- "&:first-of-type": {
1616
- marginRight: o.spacing(1.5),
1617
- color: o.palette.text.primary,
1618
- "&:hover": {
1619
- backgroundColor: o.palette.action.hover
1620
- }
1621
- },
1622
- "&:last-of-type": {
1623
- color: o.palette.common.white,
1624
- backgroundColor: o.palette.primary.main,
1625
- "&:hover": {
1626
- backgroundColor: o.palette.primary.dark
1627
- }
1628
- }
1629
- }
1630
- }
1631
- }
1632
- }
1633
- };
1634
- }
1635
- function wo(o) {
1636
- return {
1637
- MuiSkeleton: {
1638
- defaultProps: {
1639
- animation: "wave"
1640
- },
1641
- styleOverrides: {
1642
- root: {
1643
- backgroundColor: o.palette.divider
1644
- }
1645
- }
1646
- }
1647
- };
1648
- }
1649
- function So(o) {
1650
- const r = e(o.palette.grey[900], 0.48), a = e(o.palette.grey[900], 1);
1651
- return {
1652
- MuiBackdrop: {
1653
- styleOverrides: {
1654
- root: {
1655
- background: [
1656
- "rgb(22,28,36)",
1657
- `-moz-linear-gradient(75deg, ${r} 0%, ${a} 100%)`,
1658
- `-webkit-linear-gradient(75deg, ${r} 0%, ${a} 100%)`,
1659
- `linear-gradient(75deg, ${r} 0%, ${a} 100%)`
1660
- ],
1661
- "&.MuiBackdrop-invisible": {
1662
- background: "transparent"
1663
- }
1664
- }
1665
- }
1666
- }
1667
- };
1668
- }
1669
- function Ro(o) {
1670
- const r = o.palette.mode === "light";
1671
- return {
1672
- MuiLinearProgress: {
1673
- styleOverrides: {
1674
- root: {
1675
- borderRadius: 4,
1676
- overflow: "hidden"
1677
- },
1678
- bar: {
1679
- borderRadius: 4
1680
- },
1681
- colorPrimary: {
1682
- backgroundColor: o.palette.primary[r ? "lighter" : "darker"]
1683
- },
1684
- buffer: {
1685
- backgroundColor: "transparent"
1686
- }
1687
- }
1688
- }
1689
- };
1690
- }
1691
- function Oo(o) {
1692
- return {
1693
- MuiTimelineDot: {
1694
- styleOverrides: {
1695
- root: {
1696
- boxShadow: "none"
1697
- }
1698
- }
1699
- },
1700
- MuiTimelineConnector: {
1701
- styleOverrides: {
1702
- root: {
1703
- backgroundColor: o.palette.divider
1704
- }
1705
- }
1706
- }
1707
- };
1708
- }
1709
- function Ao(o) {
1710
- return {
1711
- MuiCheckbox: {
1712
- styleOverrides: {
1713
- root: {
1714
- padding: o.spacing(1),
1715
- oleee: "sss",
1716
- color: o.palette.action.active,
1717
- "& .Mui-checked": {
1718
- color: o.palette.primary.main
1719
- },
1720
- "&.Mui-checked.Mui-disabled, &.Mui-disabled": {
1721
- color: o.palette.action.disabled
1722
- }
1723
- }
1724
- }
1725
- }
1726
- };
1727
- }
1728
- function To(o) {
1729
- return {
1730
- MuiAccordion: {
1731
- styleOverrides: {
1732
- root: {
1733
- backgroundColor: o.palette.background.default,
1734
- width: "100%",
1735
- marginTop: "0px",
1736
- marginBottom: o.spacing(1.5),
1737
- "&.Mui-expanded": {
1738
- marginTop: "0px",
1739
- marginBottom: o.spacing(1.5)
1740
- },
1741
- border: "0px solid transparent",
1742
- "&.Mui-disabled": {
1743
- backgroundColor: "transparent"
1744
- },
1745
- "&::before": {
1746
- content: "none"
1747
- }
1748
- }
1749
- }
1750
- },
1751
- MuiAccordionDetails: {
1752
- styleOverrides: {
1753
- root: {
1754
- padding: `0px ${o.spacing(0)}`
1755
- }
1756
- }
1757
- },
1758
- MuiAccordionSummary: {
1759
- styleOverrides: {
1760
- root: {
1761
- borderRadius: o.spacing(0.5),
1762
- height: o.spacing(4.5),
1763
- minHeight: o.spacing(4.5),
1764
- backgroundColor: o.palette.background.header,
1765
- paddingLeft: o.spacing(2),
1766
- paddingRight: o.spacing(2),
1767
- marginBottom: "0px",
1768
- "&.Mui-expanded": {
1769
- height: o.spacing(4.5),
1770
- minHeight: o.spacing(4.5),
1771
- borderRadius: `${o.spacing(0.5)} ${o.spacing(0.5)} 0px 0px`
1772
- },
1773
- "&.Mui-disabled": {
1774
- opacity: 1,
1775
- color: o.palette.action.disabled,
1776
- "& .MuiTypography-root": {
1777
- color: "inherit"
1778
- }
1779
- }
1780
- },
1781
- expandIconWrapper: {
1782
- color: o.palette.action.active,
1783
- height: 20,
1784
- width: 20,
1785
- alignItems: "center",
1786
- justifyContent: "center",
1787
- "& > svg": {
1788
- height: 12,
1789
- width: 12
1790
- }
1791
- },
1792
- content: {
1793
- ...o.typography.subtitle2,
1794
- margin: "0px",
1795
- "&.Mui-expanded": {
1796
- margin: "0px"
1797
- }
1798
- }
1799
- }
1800
- }
1801
- };
1802
- }
1803
- function $o(o) {
1804
- return {
1805
- MuiTypography: {
1806
- defaultProps: {
1807
- variantMapping: {
1808
- subtitleDens: "span"
1809
- }
1810
- },
1811
- styleOverrides: {
1812
- paragraph: {
1813
- marginBottom: o.spacing(2)
1814
- },
1815
- gutterBottom: {
1816
- marginBottom: o.spacing(1)
1817
- }
1818
- }
1819
- }
1820
- };
1821
- }
1822
- function Do(o) {
1823
- return {
1824
- MuiPaginationItem: {
1825
- styleOverrides: {
1826
- root: {
1827
- "&.Mui-selected": {
1828
- fontWeight: o.typography.fontWeightBold
1829
- }
1830
- },
1831
- textPrimary: {
1832
- "&.Mui-selected": {
1833
- color: o.palette.primary.main,
1834
- backgroundColor: e(o.palette.primary.main, 0.08),
1835
- "&:hover, &.Mui-focusVisible": {
1836
- backgroundColor: `${e(
1837
- o.palette.primary.main,
1838
- 0.24
1839
- )} !important`
1840
- }
1841
- }
1842
- },
1843
- outlined: {
1844
- border: `1px solid ${o.palette.grey[50032]}`
1845
- },
1846
- outlinedPrimary: {
1847
- "&.Mui-selected": {
1848
- backgroundColor: e(o.palette.primary.main, 0.08),
1849
- border: `1px solid ${e(o.palette.primary.main, 0.24)}`
1850
- }
1851
- }
1852
- }
1853
- }
1854
- };
1855
- }
1856
- function mo(o) {
1857
- return {
1858
- MuiBreadcrumbs: {
1859
- styleOverrides: {
1860
- separator: {
1861
- marginLeft: o.spacing(2),
1862
- marginRight: o.spacing(2)
1863
- }
1864
- }
1865
- }
1866
- };
1867
- }
1868
- function zo(o) {
1869
- const r = (a) => ({
1870
- props: { variant: "contained", color: a },
1871
- style: { boxShadow: o.customShadows?.primary }
1872
- });
1873
- return {
1874
- MuiButtonGroup: {
1875
- variants: [
1876
- {
1877
- props: { variant: "contained", color: "inherit" },
1878
- style: { boxShadow: o.customShadows?.z4 }
1879
- },
1880
- r("primary"),
1881
- r("secondary"),
1882
- r("info"),
1883
- r("success"),
1884
- r("warning"),
1885
- r("error"),
1886
- {
1887
- props: { disabled: !0 },
1888
- style: {
1889
- boxShadow: "none",
1890
- "& .MuiButtonGroup-grouped.Mui-disabled": {
1891
- color: o.palette.action.disabled,
1892
- borderColor: `${o.palette.action.disabledBackground} !important`,
1893
- "&.MuiButton-contained": {
1894
- backgroundColor: o.palette.action.disabledBackground
1895
- }
1896
- }
1897
- }
1898
- }
1899
- ],
1900
- styleOverrides: {
1901
- root: {
1902
- "&:hover": {
1903
- boxShadow: "none"
1904
- }
1905
- }
1906
- }
1907
- }
1908
- };
1909
- }
1910
- function Ho(o) {
1911
- return {
1912
- MuiCssBaseline: {
1913
- styleOverrides: {
1914
- "*": {
1915
- margin: 0,
1916
- padding: 0,
1917
- boxSizing: "border-box"
1918
- },
1919
- html: {
1920
- width: "100%",
1921
- height: "100%",
1922
- WebkitOverflowScrolling: "touch"
1923
- },
1924
- body: {
1925
- width: "100%",
1926
- height: "100%"
1927
- },
1928
- "#root": {
1929
- width: "100%",
1930
- height: "100%"
1931
- },
1932
- input: {
1933
- "&[type=number]": {
1934
- MozAppearance: "textfield",
1935
- "&::-webkit-outer-spin-button": {
1936
- margin: 0,
1937
- WebkitAppearance: "none"
1938
- },
1939
- "&::-webkit-inner-spin-button": {
1940
- margin: 0,
1941
- WebkitAppearance: "none"
1942
- }
1943
- }
1944
- },
1945
- img: {
1946
- display: "block",
1947
- maxWidth: "100%"
1948
- }
1949
- }
1950
- }
1951
- };
1952
- }
1953
- function Go(o) {
1954
- return {
1955
- MuiAutocomplete: {
1956
- styleOverrides: {
1957
- root: {
1958
- "& .MuiInputBase-root": {
1959
- padding: "0 39px 0px 0"
1960
- }
1961
- },
1962
- paper: {
1963
- boxShadow: o.customShadows?.dropdown
1964
- },
1965
- listbox: {
1966
- padding: o.spacing(0, 1),
1967
- "& .MuiAutocomplete-option": {
1968
- padding: o.spacing(1),
1969
- margin: o.spacing(1, 0),
1970
- borderRadius: o.shape.borderRadius
1971
- }
1972
- }
1973
- }
1974
- }
1975
- };
1976
- }
1977
- const c = (o, r) => ({
1978
- props: { color: r },
1979
- style: {
1980
- "&:hover": {
1981
- borderColor: e(o.palette[r].main, 0.48),
1982
- backgroundColor: e(o.palette[r].main, o.palette.action.hoverOpacity)
1983
- },
1984
- "&.Mui-selected": {
1985
- borderColor: e(o.palette[r].main, 0.48)
1986
- }
1987
- }
1988
- });
1989
- function Eo(o) {
1990
- return {
1991
- MuiToggleButton: {
1992
- variants: [
1993
- {
1994
- props: { color: "standard" },
1995
- style: {
1996
- "&.Mui-selected": {
1997
- backgroundColor: o.palette.action.selected
1998
- }
1999
- }
2000
- },
2001
- c(o, "primary"),
2002
- c(o, "secondary"),
2003
- c(o, "info"),
2004
- c(o, "success"),
2005
- c(o, "warning"),
2006
- c(o, "error")
2007
- ]
2008
- },
2009
- MuiToggleButtonGroup: {
2010
- styleOverrides: {
2011
- root: {
2012
- borderRadius: o.shape.borderRadius,
2013
- backgroundColor: o.palette.background.paper,
2014
- border: `solid 1px ${o.palette.grey[50012]}`,
2015
- "& .MuiToggleButton-root": {
2016
- margin: 4,
2017
- borderColor: "transparent !important",
2018
- borderRadius: `${o.shape.borderRadius}px !important`
2019
- }
2020
- }
2021
- }
2022
- }
2023
- };
2024
- }
2025
- function Wo(o) {
2026
- return {
2027
- MuiFormControlLabel: {
2028
- styleOverrides: {
2029
- label: {
2030
- ...o.typography.body1
2031
- }
2032
- }
2033
- },
2034
- MuiFormHelperText: {
2035
- styleOverrides: {
2036
- root: {
2037
- marginTop: o.spacing(1)
2038
- }
2039
- }
2040
- },
2041
- MuiFormLabel: {
2042
- styleOverrides: {
2043
- root: {
2044
- color: o.palette.text.disabled
2045
- }
2046
- }
2047
- }
2048
- };
2049
- }
2050
- function Po(o) {
2051
- return {
2052
- MuiLoadingButton: {
2053
- styleOverrides: {
2054
- root: {
2055
- "&.MuiLoadingButton-root": {
2056
- ...o.typography.subtitle2,
2057
- "& .MuiCircularProgress-root": {
2058
- color: o.palette.primary.main
2059
- }
2060
- },
2061
- "&.MuiButton-text": {
2062
- "& .MuiLoadingButton-startIconPendingStart": {
2063
- marginLeft: 0
2064
- },
2065
- "& .MuiLoadingButton-endIconPendingEnd": {
2066
- marginRight: 0
2067
- }
2068
- }
2069
- }
2070
- }
2071
- }
2072
- };
2073
- }
2074
- const qo = (o) => ({
2075
- M4LBruceTest: {
2076
- styleOverrides: {}
2077
- }
2078
- }), Vo = (o) => ({
2079
- M4LDynamicFilter: {
2080
- styleOverrides: {
2081
- "&.M4LDynamicFilter-root": {
2082
- borderRadius: "4px",
2083
- background: o.palette.background.default,
2084
- boxShadow: o.customShadows.z2,
2085
- padding: "0px",
2086
- border: "none",
2087
- borderTop: "1px solid",
2088
- borderColor: o.palette.state.default,
2089
- overflow: "hidden",
2090
- "& .M4LDynamicFilter-containerFistRow": {
2091
- height: "32px",
2092
- width: "100%",
2093
- "& .M4LDynamicFilter-containerInputFilter": {
2094
- width: "100%",
2095
- alignItems: "center",
2096
- maxWidth: "100%"
2097
- }
2098
- },
2099
- "&.M4LDynamicFilter-isInvalid": {
2100
- borderColor: o.palette.state.error.normal
2101
- },
2102
- "& .M4LDynamicFilter-containerClearFilter": {
2103
- display: "flex",
2104
- flexDirection: "row",
2105
- gap: "4px",
2106
- backgroundColor: o.palette.background.neutral,
2107
- padding: "4px"
2108
- },
2109
- "& .M4LDynamicFilter-containerInputFilter": {
2110
- display: "flex",
2111
- flexDirection: "row",
2112
- gap: "8px",
2113
- padding: "4px",
2114
- backgroundColor: o.palette.background.neutral,
2115
- height: "100%",
2116
- maxWidth: "135px",
2117
- width: "100%",
2118
- alignItems: "center",
2119
- "& > input": {
2120
- border: "none",
2121
- background: "none",
2122
- ...o.typography.body,
2123
- color: o.palette.text.primary,
2124
- padding: "0px 4px",
2125
- width: "100%",
2126
- BorderRadius: "4px"
2127
- },
2128
- "& input:focus-visible": {
2129
- border: "none",
2130
- background: o.palette.state.active12,
2131
- BorderRadius: "4px",
2132
- outline: "none",
2133
- padding: "0px 4px"
2134
- }
2135
- },
2136
- "& .M4LDynamicFilter-wrapperApplyedFilters": {
2137
- borderLeft: "none",
2138
- height: "29px"
2139
- },
2140
- "& .M4LDynamicFilter-containerApplyedFilters": {
2141
- padding: "2px"
2142
- },
2143
- "& .M4LDynamicFilter-applyedFilter": {
2144
- borderRadius: "4px",
2145
- background: o.palette.state.default,
2146
- boxShadow: o.customShadows.z2,
2147
- color: o.palette.text.secondary,
2148
- ...o.typography.body,
2149
- border: "none",
2150
- borderTop: "1px solid",
2151
- borderColor: o.palette.state.default,
2152
- "& .css-5ca9fi": {
2153
- ...o.typography.body
2154
- },
2155
- "& .css-1wytxsy": {
2156
- ...o.typography.body
2157
- }
2158
- },
2159
- "& .M4LDynamicFilter-popoverFilterPaper": {
2160
- background: o.palette.background.default,
2161
- borderRadius: "6px",
2162
- minWidth: "200px",
2163
- boxShadow: o.customShadows.z3,
2164
- borderTop: "1px solid",
2165
- borderColor: o.palette.state.default,
2166
- padding: "0px!important",
2167
- "& .M4LPopover-arrowStyle": {
2168
- background: "none"
2169
- },
2170
- "& .m4l_FormProvider": {
2171
- gap: "0px",
2172
- "& .M4LDynamicFilter-popoverFilterHeader": {
2173
- background: o.palette.state.default,
2174
- display: "flex",
2175
- gap: "4px",
2176
- padding: "8px",
2177
- borderRadius: "4px",
2178
- boxShadow: o.customShadows.z2,
2179
- borderBottom: "0px",
2180
- borderTop: "2px solid",
2181
- borderColor: o.palette.state.default,
2182
- "& .MuiTypography-root": {
2183
- ...o.typography.bodyDens,
2184
- color: o.palette.text.primary
2185
- }
2186
- },
2187
- "& .M4LDynamicFilter-popoverContainerFields": {
2188
- padding: "0px 12px"
2189
- },
2190
- "& #WrapperStandarActions": {
2191
- display: "flex",
2192
- flexDirection: "row",
2193
- gap: "12px",
2194
- padding: "16px 8px 12px 0px",
2195
- ".M4LButton-root": {
2196
- width: "fit-content"
2197
- }
2198
- }
2199
- }
2200
- },
2201
- "& .M4LDynamicFilter-popoverMenuFields": {
2202
- borderTop: "1px solid",
2203
- borderColor: o.palette.state.default,
2204
- "& .M4LDynamicFilter-classespopoverLabelMemuItem": {
2205
- ...o.typography.body,
2206
- color: o.palette.text.secondary
2207
- },
2208
- "& .M4LDynamicFilter-popoverMenuFieldsItem:hover": {
2209
- ...o.typography.body,
2210
- color: o.palette.state.hover,
2211
- background: o.palette.state.default
2212
- }
2213
- }
2214
- }
2215
- }
2216
- }
2217
- }), No = (o) => ({
2218
- M4LRHFTextFieldPassword: {
2219
- styleOverrides: {
2220
- "&.M4LRHFTextFieldPassword-root": {
2221
- width: "100%"
2222
- }
2223
- }
2224
- }
2225
- }), _o = (o) => ({
2226
- M4LRHFTextField: {
2227
- styleOverrides: {
2228
- "&.M4LRHFTextField-root": {
2229
- display: "flex",
2230
- flexDirection: "column",
2231
- width: "100%",
2232
- gap: "4px",
2233
- "& .M4LRHFTextField-label": {
2234
- color: o.palette.text.secondary,
2235
- transition: "all .5s ease"
2236
- },
2237
- "& .MuiInputBase-root": {
2238
- padding: "0px",
2239
- "& .MuiInputBase-input": {
2240
- color: o.palette.text.secondary,
2241
- padding: "0px",
2242
- backgroundColor: "transparent",
2243
- ...o.typography.body
2244
- },
2245
- "& .MuiInputAdornment-root": {
2246
- margin: "0px",
2247
- padding: "0px"
2248
- },
2249
- "& .M4LIcon-icon": {
2250
- backgroundColor: o.palette.text.secondary,
2251
- transition: "all .3s ease"
2252
- },
2253
- "& .MuiOutlinedInput-notchedOutline": {
2254
- border: "1px solid",
2255
- padding: "4px",
2256
- borderColor: o.palette.divider,
2257
- borderRadius: "4px",
2258
- inset: "0px",
2259
- transition: "all .3s ease",
2260
- "& legend": {
2261
- display: "none"
2262
- }
2263
- }
2264
- },
2265
- "&:hover": {
2266
- "& .M4LRHFTextField-label": {
2267
- color: o.palette.state?.hover
2268
- },
2269
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
2270
- borderColor: o.palette.state?.hover,
2271
- boxShadow: `0px 1px 8px ${n(o.palette.primary.main, 0.32)}`
2272
- },
2273
- "& .MuiInputBase-input": {
2274
- color: o.palette.text.primary
2275
- },
2276
- "& .M4LIcon-icon": {
2277
- backgroundColor: o.palette.state?.hover
2278
- }
2279
- },
2280
- "&.M4LRHFTextField-isFocus": {
2281
- "& .M4LRHFTextField-label": {
2282
- color: o.palette.state?.active
2283
- },
2284
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
2285
- transition: "all .1s ease",
2286
- border: "2px solid",
2287
- borderColor: o.palette.state?.active,
2288
- boxShadow: `0px 1px 8px ${n(o.palette.primary.main, 0.32)}`
2289
- },
2290
- "& .MuiInputBase-input": {
2291
- color: o.palette.text.primary
2292
- },
2293
- "& .M4LIcon-icon": {
2294
- backgroundColor: o.palette.state?.active
2295
- }
2296
- },
2297
- "&.M4LRHFTextField-variantError": {
2298
- "& .M4LRHFTextField-label": {
2299
- color: o.palette.state?.error.normal
2300
- },
2301
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
2302
- border: "1px solid",
2303
- borderColor: o.palette.state?.error.normal
2304
- },
2305
- "& .MuiInputBase-input": {
2306
- color: o.palette.text.primary
2307
- },
2308
- "& .M4LIcon-icon": {
2309
- backgroundColor: o.palette.state?.error.normal
2310
- },
2311
- "&:hover": {
2312
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
2313
- boxShadow: o.customShadows?.error
2314
- }
2315
- },
2316
- "&.M4LRHFTextField-isFocus": {
2317
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
2318
- boxShadow: o.customShadows?.error
2319
- }
2320
- }
2321
- },
2322
- "&.M4LRHFTextField-isDisabled": {
2323
- "& .M4LRHFTextField-label": {
2324
- color: o.palette.text.disabled
2325
- },
2326
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
2327
- border: "1px solid",
2328
- borderColor: o.palette.text.disabled,
2329
- backgroundColor: o.palette.state?.default,
2330
- boxShadow: "none"
2331
- },
2332
- "& .MuiInputBase-input": {
2333
- color: o.palette.text.disabled
2334
- },
2335
- "& .M4LIcon-icon": {
2336
- backgroundColor: o.palette.text.disabled
2337
- }
2338
- },
2339
- "&.M4LRHFTextField-sizeSmall": {
2340
- "& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFTextField-skeleton": {
2341
- height: "24px",
2342
- padding: "0px 8px"
2343
- }
2344
- },
2345
- "&.M4LRHFTextField-sizeMedium": {
2346
- "& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFTextField-skeleton": {
2347
- height: "28px",
2348
- padding: "0px 8px"
2349
- }
2350
- }
2351
- }
2352
- }
2353
- }
2354
- }), jo = (o) => ({
2355
- M4LIcon: {
2356
- styleOverrides: {
2357
- ["&.M4LIcon-root"]: {
2358
- display: "flex",
2359
- justifyContent: "center",
2360
- alignItems: "center",
2361
- width: "fit-content",
2362
- transition: "transform 0.5s ease-in-out",
2363
- ".M4LIcon-icon": {
2364
- backgroundColor: o.palette.text.primary
2365
- },
2366
- ".M4LIcon-sizeExtraSmall": {
2367
- width: "12px",
2368
- height: "12px",
2369
- minWidth: "12px",
2370
- minHeight: "12px"
2371
- },
2372
- ".M4LIcon-sizeSmall": {
2373
- width: "16px",
2374
- height: "16px",
2375
- minWidth: "16px",
2376
- minHeight: "16px"
2377
- },
2378
- ".M4LIcon-sizeMedium": {
2379
- width: "20px",
2380
- height: "20px",
2381
- minWidth: "20px",
2382
- minHeight: "20px"
2383
- },
2384
- ".M4LIcon-sizeLarge": {
2385
- width: "28px",
2386
- height: "28px",
2387
- minWidth: "28px",
2388
- minHeight: "28px"
2389
- },
2390
- ".M4LIcon-sizeExtraLarge": {
2391
- width: "36px",
2392
- height: "36px",
2393
- minWidth: "36px",
2394
- minHeight: "36px"
2395
- },
2396
- ".M4LIcon-variantSkeleton": {
2397
- borderRadius: "4px",
2398
- backgroundColor: o.palette.state?.skeleton.default
2399
- }
2400
- }
2401
- }
2402
- }
2403
- }), Yo = (o) => ({
2404
- M4LIconButton: {
2405
- styleOverrides: {
2406
- ["&.M4LIconButton-root"]: {
2407
- position: "relative",
2408
- borderRadius: "4px",
2409
- display: "flex",
2410
- justifyContent: "center",
2411
- alignItems: "center",
2412
- transition: "all .5s ease",
2413
- "& .M4LIcon-root .M4LIcon-icon": {
2414
- transition: "all .5s ease",
2415
- backgroundColor: o.palette.text.secondary
2416
- },
2417
- "&::before": {
2418
- boxSizing: "content-box",
2419
- border: "1px solid",
2420
- borderColor: o.palette.state?.focus,
2421
- borderRadius: "3px",
2422
- position: "absolute",
2423
- transition: "all .5s ease"
2424
- },
2425
- ".M4LIconButton-sizeExtraSmall&::before": {
2426
- width: "22px",
2427
- height: "22px"
2428
- },
2429
- ".M4LIconButton-sizeSmall&::before": {
2430
- width: "26px",
2431
- height: "26px"
2432
- },
2433
- ".M4LIconButton-sizeMedium&::before": {
2434
- width: "30px",
2435
- height: "30px"
2436
- },
2437
- "&.M4LIconButton-sizeExtraSmall": {
2438
- width: "20px",
2439
- height: "20px"
2440
- },
2441
- "&.M4LIconButton-sizeSmall": {
2442
- width: "24px",
2443
- height: "24px"
2444
- },
2445
- "&.M4LIconButton-sizeMedium": {
2446
- width: "28px",
2447
- height: "28px"
2448
- },
2449
- "& .MuiIconButton-root": {
2450
- position: "static",
2451
- borderRadius: "4px",
2452
- padding: "0"
2453
- },
2454
- "&.M4LIconButton-variantPrimary:not(&.M4LIconButton-isDisabled)": {
2455
- backgroundColor: o.palette.state?.default,
2456
- "&:hover": {
2457
- backgroundColor: o.palette.state?.hover,
2458
- "& .M4LIcon-icon": {
2459
- backgroundColor: "#fff"
2460
- }
2461
- },
2462
- "&:active": {
2463
- backgroundColor: o.palette.state?.active,
2464
- transition: "background-color .5s ease",
2465
- "& .M4LIcon-icon": {
2466
- backgroundColor: "#fff"
2467
- }
2468
- },
2469
- "&.M4LIconButton-isFocus": {
2470
- backgroundColor: o.palette.state?.active,
2471
- "& .M4LIcon-icon": {
2472
- backgroundColor: o.palette.patronus?.marbleLight[10]
2473
- },
2474
- "&::before": {
2475
- content: "''"
2476
- }
2477
- }
2478
- },
2479
- "&.M4LIconButton-variantSecondary:not(&.M4LIconButton-isDisabled)": {
2480
- borderColor: o.palette.text.secondary,
2481
- "& .M4LIcon-icon": {
2482
- backgroundColor: o.palette.text.secondary
2483
- },
2484
- "&:hover": {
2485
- border: "1px solid",
2486
- borderColor: o.palette.state?.focus,
2487
- "& .M4LIcon-icon": {
2488
- backgroundColor: o.palette.state?.focus
2489
- }
2490
- },
2491
- "&:active": {
2492
- border: "1px solid",
2493
- borderColor: o.palette.state?.active,
2494
- "& .M4LIcon-icon": {
2495
- backgroundColor: o.palette.state?.active
2496
- }
2497
- },
2498
- "&.M4LIconButton-isFocus": {
2499
- border: "1px solid",
2500
- borderColor: o.palette.state?.active,
2501
- "& .M4LIcon-icon": {
2502
- backgroundColor: o.palette.state?.active
2503
- },
2504
- "&::before": {
2505
- content: "''"
2506
- }
2507
- }
2508
- },
2509
- "&.M4LIconButton-variantLine:not(&.M4LIconButton-isDisabled)": {
2510
- "&:hover": {
2511
- backgroundColor: o.palette.state?.active12,
2512
- "& .M4LIcon-icon": {
2513
- backgroundColor: o.palette.state?.focus
2514
- }
2515
- },
2516
- "&:active": {
2517
- backgroundColor: "transparent",
2518
- "& .M4LIcon-icon": {
2519
- backgroundColor: o.palette.state?.active
2520
- }
2521
- },
2522
- "&.M4LIconButton-isFocus": {
2523
- backgroundColor: "transparent",
2524
- border: "1px solid",
2525
- borderColor: o.palette.state?.focus,
2526
- "& .M4LIcon-icon": {
2527
- backgroundColor: o.palette.state?.active
2528
- }
2529
- }
2530
- },
2531
- "&.M4LIconButton-isDisabled": {
2532
- "& .M4LIcon-icon": {
2533
- backgroundColor: o.palette.text.disabled
2534
- }
2535
- },
2536
- "&.M4LIconButton-root .MuiSkeleton-root": {
2537
- borderRadius: "4px"
2538
- }
2539
- }
2540
- }
2541
- }
2542
- }), Uo = (o) => ({
2543
- M4LanguagePopover: {
2544
- styleOverrides: {
2545
- ["&.M4LanguagePopover-root"]: {}
2546
- }
2547
- }
2548
- }), Ko = (o) => ({
2549
- M4LImageButton: {
2550
- styleOverrides: {
2551
- ["&.M4LImageButton-root"]: {
2552
- test: "root",
2553
- ".MuiButtonBase-root": {
2554
- display: "flex",
2555
- padding: "4px",
2556
- borderRadius: "6px",
2557
- alignItems: "center",
2558
- justifyContent: "center"
2559
- },
2560
- ".M4LImage-root": {
2561
- display: "flex",
2562
- alignItems: "center",
2563
- justifyContent: "center",
2564
- objectFit: "cover",
2565
- width: "100%",
2566
- height: "100%"
2567
- },
2568
- ".M4LImage-lazyLoad": {
2569
- borderRadius: "4px",
2570
- width: "100%",
2571
- height: "100%",
2572
- display: "flex",
2573
- alignItems: "center",
2574
- justifyContent: "center"
2575
- },
2576
- ".M4LImage-img": {
2577
- borderRadius: "4px"
2578
- },
2579
- ".MuiButtonBase-root:hover": {
2580
- backgroundColor: o.palette.state?.active12
2581
- },
2582
- ".MuiButtonBase-root:focus": {
2583
- backgroundColor: o.palette.state?.active12,
2584
- border: "1px solid",
2585
- borderColor: o.palette.state?.focus
2586
- }
2587
- }
2588
- }
2589
- }
2590
- }), Qo = (o) => ({
2591
- M4LImage: {
2592
- styleOverrides: {
2593
- ["&.M4LImage-root"]: {
2594
- position: "relative",
2595
- display: "flex",
2596
- flexDirection: "column",
2597
- justifyContent: "center",
2598
- alignItems: "center",
2599
- "& .M4LImage-img": {
2600
- opacity: 0,
2601
- position: "absolute",
2602
- inset: "0",
2603
- objectFit: "contain"
2604
- },
2605
- "&.M4LImage-loaded .M4LImage-img": {
2606
- opacity: 1,
2607
- transition: "opacity .5s",
2608
- margin: "0 auto"
2609
- },
2610
- "& .M4LImage-skeletonImage, & .M4LImage-skeletonCircle": {
2611
- opacity: 1,
2612
- position: "absolute",
2613
- inset: 0
2614
- },
2615
- "&.M4LImage-loaded .M4LImage-skeletonImage, &.M4LImage-loaded .M4LImage-skeletonCircle": {
2616
- opacity: 0,
2617
- transition: "opacity .3s"
2618
- },
2619
- "& .M4LImage-lazyLoad": {
2620
- display: "flex",
2621
- justifyContent: "center",
2622
- alignItems: "center"
2623
- }
2624
- }
2625
- }
2626
- }
2627
- }), Jo = (o) => ({
2628
- M4LPopover: {
2629
- styleOverrides: {
2630
- "&.M4LDynamicFilter-popoverMenuFields": {
2631
- "& .M4LDynamicFilter-popoverMenuFieldsPaper": {
2632
- borderRadius: "6px",
2633
- background: o.palette.background.default,
2634
- padding: "4px",
2635
- boxShadow: o.customShadows.z3,
2636
- display: "flex",
2637
- flexDirection: "column",
2638
- gap: "4px"
2639
- },
2640
- "& .M4LDynamicFilter-popoverMenuFieldsItem": {
2641
- borderRadius: "4px",
2642
- padding: "2px 8px",
2643
- display: "flex",
2644
- flexDirection: "row",
2645
- gap: "4px"
2646
- }
2647
- },
2648
- ["&.M4LPopover-root"]: {
2649
- ".MuiPaper-root": {
2650
- background: o.palette.background.default,
2651
- borderRadius: "6px",
2652
- padding: "8px",
2653
- boxShadow: o.customShadows.z3
2654
- },
2655
- "& .M4LanguagePopover-containerItems": {
2656
- "& .M4LanguagePopover-labelItem": {
2657
- ...o.typography.body,
2658
- color: o.palette.text.secondary
2659
- },
2660
- "& .MuiButtonBase-root:hover": {
2661
- backgroundColor: o.palette.state?.active12
2662
- },
2663
- "& .MuiButtonBase-root.Mui-selected": {
2664
- backgroundColor: o.palette.state?.active12,
2665
- "& .M4LanguagePopover-labelItem": {
2666
- color: o.palette.state?.active
2667
- }
2668
- }
2669
- }
2670
- }
2671
- }
2672
- }
2673
- }), Xo = (o) => ({
2674
- M4LRHFCheckbox: {
2675
- styleOverrides: {
2676
- "&.M4LRHFCheckbox-root": {
2677
- display: "flex",
2678
- flexDirection: "column",
2679
- gap: o.spacing(0.5),
2680
- ".M4LRHFCheckbox-checkTypography": {
2681
- display: "flex",
2682
- gap: o.spacing(2),
2683
- [o.breakpoints.down("sm")]: {
2684
- gap: o.spacing(1),
2685
- ...o.typography.paragraph
2686
- }
2687
- },
2688
- "& .MuiTypography-root": {
2689
- color: o.palette.text.primary,
2690
- ...o.typography.body
2691
- },
2692
- ".M4LRHFCheckbox-small .MuiButtonBase-root": {
2693
- width: "20px",
2694
- height: "20px"
2695
- },
2696
- ".MuiCheckbox-root .MuiSvgIcon-fontSizeSmall": {
2697
- width: "16px",
2698
- height: "16px"
2699
- },
2700
- ".M4LRHFCheckbox-medium .MuiButtonBase-root": {
2701
- width: "24px",
2702
- height: "24px"
2703
- },
2704
- ".MuiCheckbox-root .MuiSvgIcon-fontSizeMedium": {
2705
- width: "20px",
2706
- height: "20px"
2707
- },
2708
- ".MuiButtonBase-root": {
2709
- borderRadius: "4px"
2710
- },
2711
- ".MuiButtonBase-root:hover": {
2712
- backgroundColor: o.palette.state?.active12
2713
- },
2714
- ".Mui-focusVisible": {
2715
- border: "1px solid",
2716
- borderColor: o.palette.state?.focus
2717
- },
2718
- ".MuiButtonBase-root:hover .MuiSvgIcon-root": {
2719
- fill: o.palette.state?.hover
2720
- },
2721
- ".M4LRHFCheckbox-checkTypography .MuiTypography-root": {
2722
- ...o.typography.body
2723
- },
2724
- ".M4LRHFCheckbox-stateDisabled .MuiSvgIcon-root": {
2725
- fill: o.palette.state?.default
2726
- },
2727
- ".M4LRHFCheckbox-stateDisabled .MuiTypography-root": {
2728
- color: o.palette.text.disabled
2729
- },
2730
- ".MuiButtonBase-root .Mui-focusVisible:focus-visible": {
2731
- outline: "#fff00"
2732
- }
2733
- }
2734
- }
2735
- }
2736
- }), Zo = (o) => ({
2737
- M4LErrorLabel: {
2738
- styleOverrides: {
2739
- ["&.M4LHelperText-root"]: {
2740
- "&.M4LHelperText-variantInfo .MuiTypography-root": {
2741
- color: o.palette.info.main
2742
- },
2743
- "&.M4LHelperText-variantSuccess .MuiTypography-root": {
2744
- color: o.palette.success.main
2745
- },
2746
- "&.M4LHelperText-variantWarning .MuiTypography-root": {
2747
- color: o.palette.warning.main
2748
- },
2749
- "&.M4LHelperText-variantError .MuiTypography-root": {
2750
- color: o.palette.error.main
2751
- }
2752
- }
2753
- }
2754
- }
2755
- }), ot = (o) => ({
2756
- M4LTypography: {
2757
- styleOverrides: {
2758
- ["&.M4LTypography-root"]: {
2759
- color: o.palette.text.primary,
2760
- display: "inline",
2761
- "& .MuiTypography-root": {
2762
- margin: "unset"
2763
- }
2764
- }
2765
- }
2766
- }
2767
- }), tt = (o) => ({
2768
- M4LButton: {
2769
- styleOverrides: {
2770
- "&.M4LButton-root": {
2771
- width: "100%",
2772
- display: "flex",
2773
- justifyContent: "center",
2774
- "& .M4LButton-skeleton ": {
2775
- height: "100%!important",
2776
- borderRadius: "4px"
2777
- },
2778
- "& .MuiButtonBase-root": {
2779
- display: "flex",
2780
- textTransform: "none",
2781
- gap: "8px",
2782
- transition: "all .5s ease",
2783
- borderRadius: "4px",
2784
- border: "1px solid transparent",
2785
- ...o.typography.action,
2786
- "& .M4LIcon-icon": {
2787
- transition: "all .5s ease"
2788
- },
2789
- "& .MuiButton-startIcon, & .MuiButton-endIcon": {
2790
- margin: "0px"
2791
- },
2792
- "&::before": {
2793
- inset: "0",
2794
- border: "1px solid",
2795
- borderColor: o.palette.state?.focus,
2796
- borderRadius: "4px",
2797
- transform: "scale(1.07, 1.36)",
2798
- position: "absolute",
2799
- boxSizing: "border-box"
2800
- }
2801
- },
2802
- "&.M4LButton-isDisabled": {
2803
- "& .MuiButtonBase-root": {
2804
- color: `${o.palette.text.disabled}!important`,
2805
- "& .M4LIcon-icon": {
2806
- backgroundColor: `${o.palette.text.disabled}!important`
2807
- }
2808
- },
2809
- "&.M4LButton-variantContained": {
2810
- "& .MuiButtonBase-root": {
2811
- color: o.palette.text.disabled,
2812
- "& .M4LIcon-icon": {
2813
- backgroundColor: o.palette.text.disabled
2814
- },
2815
- "&:hover": {
2816
- backgroundColor: o.palette.state?.default,
2817
- color: o.palette.text.disabled,
2818
- "& .M4LIcon-icon": {
2819
- backgroundColor: o.palette.text.disabled,
2820
- color: o.palette.text.disabled
2821
- }
2822
- },
2823
- "&:active": {
2824
- backgroundColor: o.palette.state?.active,
2825
- color: o.palette.text.primary,
2826
- "& .M4LIcon-icon": {
2827
- backgroundColor: o.palette.text.disabled,
2828
- color: o.palette.text.disabled
2829
- }
2830
- },
2831
- "&.Mui-focusVisible": {
2832
- backgroundColor: o.palette.state?.default,
2833
- color: o.palette.text.disabled,
2834
- "& .M4LIcon-icon": {
2835
- backgroundColor: o.palette.text.disabled,
2836
- color: o.palette.text.disabled
2837
- },
2838
- "&::before": {
2839
- content: "none"
2840
- }
2841
- }
2842
- }
2843
- }
2844
- },
2845
- "&.M4LButton-sizeSmall": {
2846
- height: "28px",
2847
- "& .MuiButtonBase-root": {
2848
- padding: "4px 12px"
2849
- },
2850
- "&.M4LButton-skeleton": {
2851
- height: "28px"
2852
- }
2853
- },
2854
- "&.M4LButton-sizeMedium": {
2855
- height: "38px",
2856
- "& .MuiButtonBase-root": {
2857
- padding: "8px 16px"
2858
- },
2859
- "&.M4LButton-skeleton": {
2860
- height: "38px"
2861
- }
2862
- },
2863
- "&.M4LButton-variantContained": {
2864
- "& .MuiButtonBase-root": {
2865
- backgroundColor: o.palette.state?.default,
2866
- color: o.palette.text.primary,
2867
- boxShadow: o.customShadows?.z2,
2868
- position: "relative",
2869
- "& .M4LIcon-icon": {
2870
- backgroundColor: o.palette.text.primary
2871
- },
2872
- "&:hover": {
2873
- backgroundColor: o.palette.state?.hover,
2874
- color: o.palette.patronus?.marbleLight[10],
2875
- "& .M4LIcon-icon": {
2876
- backgroundColor: o.palette.patronus?.marbleLight[10]
2877
- }
2878
- },
2879
- "&:active": {
2880
- backgroundColor: o.palette.state?.active,
2881
- color: o.palette.patronus?.marbleLight[10],
2882
- "& .M4LIcon-icon": {
2883
- backgroundColor: o.palette.patronus?.marbleLight[10]
2884
- }
2885
- },
2886
- "&.Mui-focusVisible": {
2887
- backgroundColor: o.palette.state?.active,
2888
- color: o.palette.patronus?.marbleLight[10],
2889
- "& .M4LIcon-icon": {
2890
- backgroundColor: o.palette.patronus?.marbleLight[10]
2891
- },
2892
- "&::before": {
2893
- content: "''"
2894
- }
2895
- }
2896
- }
2897
- },
2898
- "&.M4LButton-variantOutlined": {
2899
- "& .MuiButtonBase-root": {
2900
- border: "1px solid",
2901
- borderColor: o.palette.state.default,
2902
- color: o.palette.text.primary,
2903
- "& .M4LIcon-icon": {
2904
- backgroundColor: o.palette.text.secondary
2905
- },
2906
- "&:hover": {
2907
- borderColor: o.palette.state?.hover,
2908
- color: o.palette.state?.hover,
2909
- backgroundColor: o.palette.state?.active12,
2910
- "& .M4LIcon-icon": {
2911
- backgroundColor: o.palette.state?.hover
2912
- }
2913
- },
2914
- "&:active": {
2915
- borderColor: o.palette.state?.active,
2916
- color: o.palette.state?.active,
2917
- backgroundColor: "transparent",
2918
- "& .M4LIcon-icon": {
2919
- backgroundColor: o.palette.state?.active
2920
- }
2921
- },
2922
- "&.Mui-focusVisible": {
2923
- borderColor: o.palette.state?.active,
2924
- color: o.palette.state?.active,
2925
- backgroundColor: "transparent",
2926
- "& .M4LIcon-icon": {
2927
- backgroundColor: o.palette.state?.active
2928
- },
2929
- "&::before": {
2930
- content: "''"
2931
- }
2932
- }
2933
- }
2934
- },
2935
- "&.M4LButton-variantText": {
2936
- "& .MuiButtonBase-root": {
2937
- color: o.palette.text.secondary,
2938
- "& .M4LIcon-icon": {
2939
- backgroundColor: o.palette.text.secondary
2940
- },
2941
- "&:hover": {
2942
- backgroundColor: o.palette.state?.active12,
2943
- color: o.palette.state?.hover,
2944
- "& .M4LIcon-icon": {
2945
- backgroundColor: o.palette.state?.hover
2946
- }
2947
- },
2948
- "&:active": {
2949
- backgroundColor: "transparent",
2950
- color: o.palette.state?.active,
2951
- "& .M4LIcon-icon": {
2952
- backgroundColor: o.palette.state?.active
2953
- }
2954
- },
2955
- "&.Mui-focusVisible": {
2956
- backgroundColor: "transparent",
2957
- color: o.palette.state?.active,
2958
- "& .M4LIcon-icon": {
2959
- backgroundColor: o.palette.state?.active
2960
- },
2961
- "&:before": {
2962
- content: "''"
2963
- }
2964
- }
2965
- }
2966
- }
2967
- }
2968
- }
2969
- }
2970
- }), et = (o) => ({
2971
- M4LRHFAutocomplete: {
2972
- styleOverrides: {
2973
- "&.M4LRHFAutocomplete-root": {
2974
- display: "flex",
2975
- flexDirection: "column",
2976
- width: "100%",
2977
- gap: "4px",
2978
- "& .M4LRHFAutocomplete-label": {
2979
- color: o.palette.text.secondary,
2980
- transition: "all .3s ease"
2981
- },
2982
- "& .MuiAutocomplete-endAdornment": {
2983
- top: "unset"
2984
- },
2985
- "& .MuiInputBase-root": {
2986
- padding: "0px",
2987
- "& .MuiInputBase-input": {
2988
- color: o.palette.text.secondary,
2989
- padding: "4px",
2990
- backgroundColor: "transparent",
2991
- ...o.typography.body
2992
- },
2993
- "& .MuiInputAdornment-root": {
2994
- margin: "0px",
2995
- padding: "0px"
2996
- },
2997
- "& .M4LIcon-icon": {
2998
- backgroundColor: o.palette.text.secondary,
2999
- transition: "all .3s ease"
3000
- },
3001
- "& .MuiOutlinedInput-notchedOutline": {
3002
- border: "1px solid",
3003
- borderColor: o.palette.divider,
3004
- borderRadius: "4px",
3005
- inset: "0px",
3006
- transition: "all .3s ease",
3007
- "& legend": {
3008
- display: "none"
3009
- }
3010
- }
3011
- },
3012
- "&:hover": {
3013
- "& .M4LRHFAutocomplete-label": {
3014
- color: o.palette.state?.hover
3015
- },
3016
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
3017
- borderColor: o.palette.state?.hover,
3018
- boxShadow: `0px 1px 8px ${e(o.palette.primary.main, 0.32)}`
3019
- },
3020
- "& .MuiInputBase-input": {
3021
- color: o.palette.text.primary
3022
- },
3023
- "& .M4LIcon-icon": {
3024
- backgroundColor: o.palette.state?.hover
3025
- }
3026
- },
3027
- "&.M4LRHFAutocomplete-isFocus": {
3028
- "& .M4LRHFAutocomplete-label": {
3029
- color: o.palette.state?.active
3030
- },
3031
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
3032
- transition: "all .1s ease",
3033
- border: "2px solid",
3034
- borderColor: o.palette.state?.active,
3035
- boxShadow: `0px 1px 8px ${e(o.palette.primary.main, 0.32)}`
3036
- },
3037
- "& .MuiInputBase-input": {
3038
- color: o.palette.text.primary
3039
- },
3040
- "& .M4LIcon-icon": {
3041
- backgroundColor: o.palette.state?.active
3042
- }
3043
- },
3044
- "&.M4LRHFAutocomplete-variantError": {
3045
- "& .M4LRHFAutocomplete-label": {
3046
- color: o.palette.state?.error.normal
3047
- },
3048
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
3049
- border: "1px solid",
3050
- borderColor: o.palette.state?.error.normal
3051
- },
3052
- "& .MuiInputBase-input": {
3053
- color: o.palette.text.primary
3054
- },
3055
- "& .M4LIcon-icon": {
3056
- backgroundColor: o.palette.state?.error.normal
3057
- },
3058
- "&:hover": {
3059
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
3060
- boxShadow: o.customShadows?.error
3061
- }
3062
- },
3063
- "&.M4LRHFAutocomplete-isFocus": {
3064
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
3065
- boxShadow: o.customShadows?.error
3066
- }
3067
- }
3068
- },
3069
- "&.M4LRHFAutocomplete-isDisabled": {
3070
- "& .M4LRHFAutocomplete-label": {
3071
- color: o.palette.text.disabled
3072
- },
3073
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
3074
- border: "1px solid",
3075
- borderColor: o.palette.text.disabled,
3076
- backgroundColor: o.palette.state?.default,
3077
- boxShadow: "none"
3078
- },
3079
- "& .MuiInputBase-input": {
3080
- color: o.palette.text.disabled
3081
- },
3082
- "& .M4LIcon-icon": {
3083
- backgroundColor: o.palette.text.disabled
3084
- }
3085
- },
3086
- "&.M4LRHFAutocomplete-sizeSmall": {
3087
- "& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFAutocomplete-skeleton": {
3088
- height: "24px",
3089
- padding: "0px 8px"
3090
- }
3091
- },
3092
- "&.M4LRHFAutocomplete-sizeMedium": {
3093
- "& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFAutocomplete-skeleton": {
3094
- height: "28px",
3095
- padding: "0px 8px"
3096
- }
3097
- }
3098
- }
3099
- }
3100
- }
3101
- }), rt = (o) => ({
3102
- M4LRHFAutocompleteAsync: {
3103
- styleOverrides: {
3104
- "&.M4LRHFAutocompleteAsync-root": {
3105
- width: "100%",
3106
- padding: "4px"
3107
- }
3108
- }
3109
- }
3110
- }), at = (o) => ({
3111
- M4LoadingButton: {
3112
- styleOverrides: {
3113
- "&.M4LoadingButton-root": {
3114
- width: "100%",
3115
- display: "flex",
3116
- justifyContent: "center",
3117
- "& .MuiLoadingButton-loading": {
3118
- "& .MuiTypography-root": {
3119
- color: "transparent"
3120
- }
3121
- },
3122
- "& .MuiCircularProgress-root": {
3123
- color: o.palette.primary.main
3124
- },
3125
- "& .MuiTypography-root": {
3126
- color: o.palette.text.secondary,
3127
- transition: "all .5s ease"
3128
- },
3129
- "& .M4LoadingButton-skeleton ": {
3130
- height: "100%!important",
3131
- borderRadius: "4px"
3132
- },
3133
- "& .MuiButtonBase-root": {
3134
- display: "flex",
3135
- textTransform: "none",
3136
- gap: "8px",
3137
- transition: "all .5s ease",
3138
- borderRadius: "4px",
3139
- border: "1px solid transparent",
3140
- ...o.typography.action,
3141
- "& .M4LIcon-icon": {
3142
- transition: "all .5s ease"
3143
- },
3144
- "& .MuiButton-startIcon, & .MuiButton-endIcon": {
3145
- margin: "0px"
3146
- },
3147
- "&::before": {
3148
- inset: "0",
3149
- border: "1px solid",
3150
- borderColor: o.palette.state?.focus,
3151
- borderRadius: "4px",
3152
- transform: "scale(1.07, 1.36)",
3153
- position: "absolute",
3154
- boxSizing: "border-box"
3155
- }
3156
- },
3157
- "&.M4LoadingButton-isDisabled": {
3158
- "& .MuiButtonBase-root": {
3159
- color: `${o.palette.text.disabled}!important`,
3160
- "& .M4LIcon-icon": {
3161
- backgroundColor: `${o.palette.text.disabled}!important`
3162
- }
3163
- },
3164
- "&.M4LoadingButton-variantContained": {
3165
- "& .MuiButtonBase-root": {
3166
- color: o.palette.text.disabled,
3167
- "& .M4LIcon-icon": {
3168
- backgroundColor: o.palette.text.disabled
3169
- },
3170
- "&:hover": {
3171
- backgroundColor: o.palette.state?.default,
3172
- color: o.palette.text.disabled,
3173
- "& .M4LIcon-icon": {
3174
- backgroundColor: o.palette.text.disabled,
3175
- color: o.palette.text.disabled
3176
- }
3177
- },
3178
- "&:active": {
3179
- backgroundColor: o.palette.state?.default,
3180
- color: o.palette.text.disabled,
3181
- "& .M4LIcon-icon": {
3182
- backgroundColor: o.palette.text.disabled,
3183
- color: o.palette.text.disabled
3184
- }
3185
- },
3186
- "&.Mui-focusVisible": {
3187
- backgroundColor: o.palette.state?.default,
3188
- color: o.palette.text.disabled,
3189
- "& .M4LIcon-icon": {
3190
- backgroundColor: o.palette.text.disabled,
3191
- color: o.palette.text.disabled
3192
- },
3193
- "&::before": {
3194
- content: "none"
3195
- }
3196
- }
3197
- }
3198
- }
3199
- },
3200
- "&.M4LoadingButton-sizeSmall": {
3201
- height: "28px",
3202
- "& .MuiButtonBase-root": {
3203
- padding: "4px 12px"
3204
- },
3205
- "&.M4LoadingButton-skeleton": {
3206
- height: "28px"
3207
- }
3208
- },
3209
- "&.M4LoadingButton-sizeMedium": {
3210
- height: "38px",
3211
- "& .MuiButtonBase-root": {
3212
- padding: "8px 16px"
3213
- },
3214
- "&.M4LoadingButton-skeleton": {
3215
- height: "38px"
3216
- }
3217
- },
3218
- "&.M4LoadingButton-variantContained": {
3219
- "& .MuiButtonBase-root": {
3220
- backgroundColor: o.palette.state?.default,
3221
- color: o.palette.text.secondary,
3222
- boxShadow: o.customShadows?.z1,
3223
- position: "relative",
3224
- "& .M4LIcon-icon": {
3225
- backgroundColor: o.palette.text.secondary
3226
- },
3227
- "&:hover": {
3228
- backgroundColor: o.palette.state?.hover,
3229
- "& .M4LIcon-icon": {
3230
- backgroundColor: o.palette.patronus?.marbleLight[10]
3231
- },
3232
- "& .MuiTypography-root": {
3233
- color: o.palette.patronus?.marbleLight[10]
3234
- }
3235
- },
3236
- "&:active": {
3237
- backgroundColor: o.palette.state?.active,
3238
- color: o.palette.patronus?.marbleLight[10],
3239
- "& .M4LIcon-icon": {
3240
- backgroundColor: o.palette.patronus?.marbleLight[10]
3241
- }
3242
- },
3243
- "&.Mui-focusVisible": {
3244
- backgroundColor: o.palette.state?.active,
3245
- color: o.palette.patronus?.marbleLight[10],
3246
- "& .M4LIcon-icon": {
3247
- backgroundColor: o.palette.patronus?.marbleLight[10]
3248
- },
3249
- "&::before": {
3250
- content: "''"
3251
- }
3252
- }
3253
- }
3254
- },
3255
- "&.M4LoadingButton-variantOutlined": {
3256
- "& .MuiButtonBase-root": {
3257
- border: "1px solid",
3258
- borderColor: o.palette.text.secondary,
3259
- color: o.palette.text.secondary,
3260
- "& .M4LIcon-icon": {
3261
- backgroundColor: o.palette.text.secondary
3262
- },
3263
- "&:hover": {
3264
- borderColor: o.palette.state?.hover,
3265
- color: o.palette.state?.hover,
3266
- backgroundColor: o.palette.state?.active12,
3267
- "& .M4LIcon-icon": {
3268
- backgroundColor: o.palette.state?.hover
3269
- }
3270
- },
3271
- "&:active": {
3272
- borderColor: o.palette.state?.active,
3273
- color: o.palette.state?.active,
3274
- backgroundColor: "transparent",
3275
- "& .M4LIcon-icon": {
3276
- backgroundColor: o.palette.state?.active
3277
- }
3278
- },
3279
- "&.Mui-focusVisible": {
3280
- borderColor: o.palette.state?.active,
3281
- color: o.palette.state?.active,
3282
- backgroundColor: "transparent",
3283
- "& .M4LIcon-icon": {
3284
- backgroundColor: o.palette.state?.active
3285
- },
3286
- "&::before": {
3287
- content: "''"
3288
- }
3289
- }
3290
- }
3291
- },
3292
- "&.M4LoadingButton-variantText": {
3293
- "& .MuiButtonBase-root": {
3294
- color: o.palette.text.secondary,
3295
- "& .M4LIcon-icon": {
3296
- backgroundColor: o.palette.text.secondary
3297
- },
3298
- "&:hover": {
3299
- backgroundColor: o.palette.state?.active12,
3300
- color: o.palette.state?.hover,
3301
- "& .M4LIcon-icon": {
3302
- backgroundColor: o.palette.state?.hover
3303
- }
3304
- },
3305
- "&:active": {
3306
- backgroundColor: "transparent",
3307
- color: o.palette.state?.active,
3308
- "& .M4LIcon-icon": {
3309
- backgroundColor: o.palette.state?.active
3310
- }
3311
- },
3312
- "&.Mui-focusVisible": {
3313
- backgroundColor: "transparent",
3314
- color: o.palette.state?.active,
3315
- "& .M4LIcon-icon": {
3316
- backgroundColor: o.palette.state?.active
3317
- },
3318
- "&:before": {
3319
- content: "''"
3320
- }
3321
- }
3322
- }
3323
- }
3324
- }
3325
- }
3326
- }
3327
- }), it = (o) => ({
3328
- M4LNavLink: {
3329
- styleOverrides: {
3330
- ["&.M4LNavLink-root"]: {
3331
- "& .M4LTypography-root": {
3332
- color: o.palette.primary.main
3333
- },
3334
- "&: hover": {
3335
- "& .M4LTypography-root": {
3336
- color: o.palette.state?.hover,
3337
- textDecoration: "underline",
3338
- textDecorationColor: o.palette.state?.hover
3339
- }
3340
- },
3341
- "& > a": {
3342
- textDecoration: "none"
3343
- }
3344
- }
3345
- }
3346
- }
3347
- }), nt = (o) => ({
3348
- M4LSideBar: {
3349
- styleOverrides: {
3350
- "&.M4LSideBar-root": {
3351
- height: "100%",
3352
- width: "auto",
3353
- background: o.palette.background.neutral,
3354
- paddingLeft: "14px",
3355
- paddingBottom: "14px",
3356
- boxShadow: o.customShadows.z3,
3357
- [o.breakpoints.down("sm")]: {
3358
- width: "0px",
3359
- height: "0px",
3360
- padding: "0px"
3361
- },
3362
- "& .M4LSideBar-wrapperSideBar": {
3363
- height: "100%",
3364
- "& .M4LSideBar-containerSideBarLogo": {
3365
- marginRight: "14px",
3366
- "& .M4LSideBar-containerLogo": {
3367
- height: "128px",
3368
- display: "flex",
3369
- flexDirection: "column",
3370
- justifyContent: "center",
3371
- alignItems: "center",
3372
- fitContent: "100%",
3373
- boxSizing: "contentBox",
3374
- paddingTop: "24px",
3375
- paddingBottom: "28px",
3376
- gap: "12px",
3377
- "& .M4LTypography-root": {
3378
- display: "flex",
3379
- justifyContent: "center",
3380
- width: "100%",
3381
- "& .MuiTypography-root": {
3382
- with: "100%",
3383
- overflow: "hidden",
3384
- textOverflow: "ellipsis",
3385
- textWrap: "nowrap"
3386
- }
3387
- },
3388
- "& .M4LImage-root": {
3389
- position: "relative",
3390
- background: o.palette.background.default,
3391
- boxShadow: o.customShadows.z3,
3392
- padding: "6px",
3393
- borderRadius: "6px"
3394
- }
3395
- }
3396
- },
3397
- "& .M4LSideBar-contentGroups": {
3398
- overflow: "hidden",
3399
- flexGrow: "1",
3400
- display: "flex",
3401
- flexDirection: "column",
3402
- "& .M4LSideBar-contentGroupsLine": {
3403
- display: "flex",
3404
- height: "2px",
3405
- marginRight: "14px",
3406
- backgroundColor: o.palette.state.default
3407
- },
3408
- "& .M4LSideBar-wrapperGroup": {
3409
- height: "100%",
3410
- "& .M4LSideBar-wrapperGroupTitle": {
3411
- padding: "20px",
3412
- height: "60px",
3413
- "& .M4LTypography-root": {
3414
- display: "flex",
3415
- width: "100%",
3416
- "& .MuiTypography-root": {
3417
- with: "100%",
3418
- overflow: "hidden",
3419
- textOverflow: "ellipsis",
3420
- textWrap: "nowrap"
3421
- }
3422
- }
3423
- },
3424
- "& .M4LSideBar-itemListMainRoot": {
3425
- display: "flex",
3426
- borderRadius: "4px 0px 0px 4px",
3427
- justifyContent: "center",
3428
- flexDirection: "column",
3429
- gap: "8px",
3430
- "& .M4LSideBar-navItemMainRoot": {
3431
- backgroundColor: "transparent",
3432
- "&:hover": {
3433
- background: o.palette.state.default
3434
- }
3435
- },
3436
- "&.M4LSideBar-itemMainActive": {
3437
- "& .M4LSideBar-navItemMainRoot": {
3438
- background: o.palette.state.active12,
3439
- "&:hover": {
3440
- background: e(o.palette.state.active || "#fff", 0.18)
3441
- }
3442
- },
3443
- "& .M4LSideBar-navItemRootContent": {
3444
- "& .M4LSideBar-navItemRootContentIconTypo": {
3445
- "& .M4LIcon-icon": {
3446
- backgroundColor: o.palette.state.focus
3447
- },
3448
- "& .MuiTypography-root": {
3449
- color: o.palette.state.focus
3450
- },
3451
- "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
3452
- backgroundColor: o.palette.state.focus
3453
- }
3454
- },
3455
- "&::before": {
3456
- content: '""',
3457
- width: "5px",
3458
- top: "0px",
3459
- bottom: "0px",
3460
- right: "0px",
3461
- backgroundColor: o.palette.state.focus,
3462
- borderRadius: "4px 0px 0px 4px",
3463
- position: "absolute"
3464
- }
3465
- }
3466
- },
3467
- "& .M4LSideBar-navItemRootContent": {
3468
- display: "flex",
3469
- padding: "8px",
3470
- justifyContent: "center",
3471
- borderRadius: "4px 0px 0px 4px",
3472
- position: "relative",
3473
- "& .M4LSideBar-navItemRootContentIconTypo": {
3474
- display: "flex",
3475
- gap: "8px",
3476
- width: "100%",
3477
- "& .M4LIcon-icon": {
3478
- backgroundColor: o.palette.text.secondary
3479
- },
3480
- "& .MuiTypography-root": {
3481
- ...o.typography.paragraphDens,
3482
- color: o.palette.text.secondary
3483
- },
3484
- "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
3485
- backgroundColor: o.palette.text.secondary
3486
- }
3487
- }
3488
- },
3489
- "& .M4LSideBar-navListSubItemRoot": {
3490
- "& .M4LSideBar-navSubItemContentRoot ": {
3491
- "&.M4LSideBar-subItemCollapseActive": {
3492
- backgroundColor: o.palette.state.active12
3493
- },
3494
- "&.M4LSideBar-subItemActive": {
3495
- "& .M4LSideBar-navSubItemContentBullet": {
3496
- height: "14px",
3497
- borderRadius: "10px",
3498
- backgroundColor: o.palette.state.focus
3499
- }
3500
- },
3501
- "&:hover": {
3502
- background: o.palette.state.default
3503
- }
3504
- },
3505
- "& .M4LSideBar-navSubItemContentRoot": {
3506
- gap: "12px",
3507
- margin: "0px 0px 1px 0px",
3508
- padding: "16px",
3509
- "& .M4LSideBar-navSubItemContentBullet": {
3510
- minWidth: "5px",
3511
- minHeight: "5px",
3512
- borderRadius: "50%",
3513
- backgroundColor: o.palette.text.primary
3514
- },
3515
- "& .M4LTypography-root": {
3516
- display: "flex",
3517
- width: "100%",
3518
- "& .MuiTypography-root": {
3519
- ...o.typography.paragraph,
3520
- color: o.palette.text.secondary,
3521
- with: "100%",
3522
- overflow: "hidden",
3523
- textOverflow: "ellipsis",
3524
- textWrap: "nowrap"
3525
- }
3526
- }
3527
- }
3528
- },
3529
- "& .MuiCollapse-root": {
3530
- marginLeft: "28px"
3531
- }
3532
- }
3533
- },
3534
- "& .M4LIcon-root .M4LIcon-icon": {
3535
- backgroundColor: o.palette.text.disabled
3536
- }
3537
- },
3538
- "& .M4LSideBar-collapseButton": {
3539
- display: "flex",
3540
- paddingTop: "14px",
3541
- borderTop: "2px solid",
3542
- borderColor: o.palette.state.default,
3543
- justifyContent: "center",
3544
- marginRight: "14px",
3545
- gap: "15px",
3546
- "& .M4LSideBar-containerLogoButton": {
3547
- display: "flex",
3548
- gap: "14px",
3549
- "& .M4LSideBar-containerLogoButtonLogo": {
3550
- width: "120px",
3551
- height: "40px"
3552
- },
3553
- "& .M4LSideBar-containerLogoButtonIcon": {
3554
- display: "flex",
3555
- alignItems: "center"
3556
- }
3557
- }
3558
- }
3559
- },
3560
- "& .M4LSideBar-contentMobile": {
3561
- width: "100%",
3562
- display: "flex",
3563
- flexDirection: "column",
3564
- paddingLeft: "14px"
3565
- },
3566
- "& .M4LSideBar-contentDesktop": {
3567
- display: "flex"
3568
- }
3569
- }
3570
- }
3571
- }
3572
- }), pt = (o) => ({
3573
- M4LAreasAdmin: {
3574
- styleOverrides: {
3575
- "&.M4LAreasAdmin-root": {
3576
- width: "100%",
3577
- "& .M4LAreasAdmin-areaContainerChips": {
3578
- display: "flex",
3579
- overflow: "auto",
3580
- width: "100%",
3581
- "& .M4LAreasAdmin-areaChipRoot": {
3582
- "& .M4LAreasAdmin-areaChipTitle": {
3583
- textWrap: "nowrap"
3584
- }
3585
- }
3586
- }
3587
- }
3588
- }
3589
- }
3590
- }), lt = (o) => ({
3591
- M4LAreasViewer: {
3592
- styleOverrides: {
3593
- "&.M4LAreasViewer-root": {
3594
- test: "root",
3595
- background: o.palette.background.background,
3596
- "& .M4LAreasViewer-windowRoot": {
3597
- background: o.palette.background.neutral,
3598
- border: "none",
3599
- boxShadow: o.customShadows.z3,
3600
- borderRadius: "4px",
3601
- "& .M4LAreasViewer-windowHeader": {
3602
- background: o.palette.state.default,
3603
- padding: "8px",
3604
- height: "40px",
3605
- borderRadius: "4px",
3606
- boxShadow: o.customShadows.z2,
3607
- borderTop: "2px solid",
3608
- borderColor: o.palette.state.default,
3609
- "& .M4LTypography-root .MuiTypography-root": {
3610
- ...o.typography.paragraph,
3611
- color: o.palette.text.primary
3612
- }
3613
- },
3614
- "& .M4LAreasViewer-windowContent": {
3615
- margin: "8px",
3616
- background: o.palette.background.default,
3617
- borderRadius: "4px"
3618
- }
3619
- },
3620
- "& .M4LAreasViewer-windowPopupRoot": {
3621
- background: o.palette.state.default,
3622
- borderRadius: "4px",
3623
- border: "1px solid",
3624
- borderColor: o.palette.state.default,
3625
- backdropFilter: "blur(8px)",
3626
- "& .M4LAreasViewer-windowRoot": {
3627
- margin: "8px",
3628
- background: o.palette.background.default
3629
- },
3630
- "& .M4LAreasViewer-windowHeader": {
3631
- height: "28px",
3632
- padding: "0px 8px",
3633
- boxShadow: "none",
3634
- "& .M4LTypography-root .MuiTypography-root": {
3635
- ...o.typography.body,
3636
- color: o.palette.text.primary
3637
- }
3638
- }
3639
- }
3640
- }
3641
- }
3642
- }
3643
- });
3644
- function bt(o) {
3645
- return Object.assign(
3646
- io(o),
3647
- po(o),
3648
- no(o),
3649
- lo(o),
3650
- so(o),
3651
- bo(o),
3652
- Mo(),
3653
- yo(o),
3654
- go(),
3655
- uo(o),
3656
- co(o),
3657
- xo(o),
3658
- ko(o),
3659
- ro(o),
3660
- ao(o),
3661
- vo(o),
3662
- eo(o),
3663
- Lo(o),
3664
- fo(o),
3665
- Fo(o),
3666
- Co(o),
3667
- ho(),
3668
- Bo(),
3669
- Ao(o),
3670
- Io(o),
3671
- wo(o),
3672
- Oo(o),
3673
- So(o),
3674
- Ro(o),
3675
- To(o),
3676
- $o(o),
3677
- Do(o),
3678
- zo(o),
3679
- mo(o),
3680
- Ho(),
3681
- Go(o),
3682
- Wo(o),
3683
- Eo(o),
3684
- Po(o),
3685
- at(o),
3686
- qo(),
3687
- Vo(o),
3688
- _o(o),
3689
- No(),
3690
- et(o),
3691
- rt(),
3692
- jo(o),
3693
- Yo(o),
3694
- Uo(),
3695
- Ko(o),
3696
- it(o),
3697
- Qo(),
3698
- Jo(o),
3699
- Xo(o),
3700
- Zo(o),
3701
- ot(o),
3702
- tt(o),
3703
- nt(o),
3704
- pt(),
3705
- lt(o)
3706
- );
3707
- }
3708
- const Mt = {
3709
- values: {
3710
- xs: 0,
3711
- sm: 600,
3712
- md: 900,
3713
- lg: 1200,
3714
- xl: 1400
3715
- }
3716
- }, yt = {
3717
- mobile: 16,
3718
- desktop: 16
3719
- };
1
+ import { d as f } from "./theme/defaultThemeOptions.364b28b6.js";
2
+ import { c as l, s as g } from "./theme/shadows.b2f38616.js";
3
+ import { P as u, p as d } from "./theme/palette.4b477f9b.js";
4
+ import { t as S } from "./theme/typography.1db0276b.js";
5
+ import { f as C } from "./theme/overrides/index.19dec027.js";
6
+ import { u as R } from "./utils/useResponsive.2c45e8e0.js";
7
+ import { e as T, b, c as v, d as y, g as z, a as w, t as F } from "./utils/getColorPresets.f3113d85.js";
8
+ import { g as k } from "./utils/getColorState.456150fd.js";
9
+ import { g as A, p as B, a as L, r as N } from "./utils/getFontValue.88831637.js";
10
+ import { g as j, m as D } from "./config.5405b46b.js";
11
+ import "@mui/material/styles";
12
+ import "@mui/material/useMediaQuery";
13
+ import "@mui/system";
14
+ import "@mui/material";
15
+ import "./theme/overrides/MUIComponents/index.56660771.js";
16
+ import "./theme/overrides/M4LExtendedComponents/index.9ef37d1d.js";
17
+ import "./theme/overrides/M4LRHFComponents/index.5f690e33.js";
3720
18
  export {
3721
- t as PATRONUSCOLORS,
3722
- j as blaze,
3723
- _ as candy,
3724
- x as colorPresets,
3725
- oo as createCustomShadows,
3726
- O as defaultPreset,
3727
- xt as defaultThemeOptions,
3728
- bt as fnComponentsOverrides,
3729
- k as getColorPresets,
3730
- Y as getColorState,
3731
- gt as getFontValue,
3732
- yt as globalRemSize,
3733
- N as grass,
3734
- Mt as muiBreakpointsValues,
3735
- s as palette,
3736
- d as pxToRem,
3737
- U as remToPx,
3738
- p as responsiveFontSizes,
3739
- to as shadows,
3740
- V as turqui,
3741
- J as typography,
3742
- $ as useResponsive
19
+ u as PATRONUSCOLORS,
20
+ T as blaze,
21
+ b as candy,
22
+ v as colorPresets,
23
+ l as createCustomShadows,
24
+ y as defaultPreset,
25
+ f as defaultThemeOptions,
26
+ C as fnComponentsOverrides,
27
+ z as getColorPresets,
28
+ k as getColorState,
29
+ A as getFontValue,
30
+ j as globalRemSize,
31
+ w as grass,
32
+ D as muiBreakpointsValues,
33
+ d as palette,
34
+ B as pxToRem,
35
+ L as remToPx,
36
+ N as responsiveFontSizes,
37
+ g as shadows,
38
+ F as turqui,
39
+ S as typography,
40
+ R as useResponsive
3743
41
  };