@udixio/ui-react 1.6.0 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -34,28 +34,28 @@ const xe = ve({
34
34
  font: ["font"]
35
35
  }
36
36
  }
37
- }), f = (...e) => xe(me(e)), Ce = (...e) => xe(me(e));
37
+ }), d = (...e) => xe(me(e)), Ce = (...e) => xe(me(e));
38
38
  function Me(e) {
39
39
  return e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
40
40
  }
41
41
  const Be = (e) => {
42
42
  const t = {};
43
- e.classNameList.forEach((l) => {
43
+ e.classNameList.forEach((o) => {
44
44
  var n;
45
- if (l)
46
- if (typeof l == "string")
47
- (t[n = e.default] ?? (t[n] = [])).push(l);
45
+ if (o)
46
+ if (typeof o == "string")
47
+ (t[n = e.default] ?? (t[n] = [])).push(o);
48
48
  else {
49
- const a = l(e.states);
49
+ const a = o(e.states);
50
50
  Object.entries(a).map((i) => {
51
- const [c, d] = i;
52
- (t[c] ?? (t[c] = [])).push(d);
51
+ const [s, f] = i;
52
+ (t[s] ?? (t[s] = [])).push(f);
53
53
  });
54
54
  }
55
55
  });
56
56
  const r = t;
57
- return Object.entries(t).map((l) => {
58
- let [n, a] = l;
57
+ return Object.entries(t).map((o) => {
58
+ let [n, a] = o;
59
59
  a = a.reverse(), n == e.default && a.unshift("relative"), a.unshift(Me(n)), r[n] = Ce(...a);
60
60
  }), r;
61
61
  }, _ = (e, t) => (r) => Be({
@@ -68,36 +68,36 @@ const Be = (e) => {
68
68
  variant: e,
69
69
  disableTextMargins: t,
70
70
  disabled: r,
71
- iconPosition: l,
71
+ iconPosition: o,
72
72
  icon: n,
73
73
  isActive: a,
74
74
  loading: i,
75
- shape: c,
76
- onToggle: d,
77
- size: o,
78
- allowShapeTransformation: m
75
+ shape: s,
76
+ onToggle: f,
77
+ size: l,
78
+ allowShapeTransformation: p
79
79
  }) => ({
80
- button: f(
80
+ button: d(
81
81
  " relative cursor-pointer group outline-none inline-block flex justify-center items-center ",
82
- o === "xSmall" && "text-label-large px-3 py-1.5 gap-1",
83
- o === "small" && "text-label-large px-4 py-2.5 gap-2",
84
- o === "medium" && "text-title-medium px-6 py-4 gap-2",
85
- o === "large" && "text-headline-small px-12 py-8 gap-3",
86
- o === "xLarge" && "text-headline-large px-16 py-12 gap-4",
87
- c === "rounded" && {
88
- "rounded-[30px]": o === "xSmall" || o == "small",
89
- "rounded-[40px]": o === "medium",
90
- "rounded-[70px]": o === "large" || o == "xLarge"
82
+ l === "xSmall" && "text-label-large px-3 py-1.5 gap-1",
83
+ l === "small" && "text-label-large px-4 py-2.5 gap-2",
84
+ l === "medium" && "text-title-medium px-6 py-4 gap-2",
85
+ l === "large" && "text-headline-small px-12 py-8 gap-3",
86
+ l === "xLarge" && "text-headline-large px-16 py-12 gap-4",
87
+ s === "rounded" && {
88
+ "rounded-[30px]": l === "xSmall" || l == "small",
89
+ "rounded-[40px]": l === "medium",
90
+ "rounded-[70px]": l === "large" || l == "xLarge"
91
91
  },
92
- (c === "squared" || m && a) && {
93
- "rounded-[12px]": o === "xSmall" || o == "small",
94
- "rounded-[16px]": o === "medium",
95
- "rounded-[28px]": o === "large" || o == "xLarge"
92
+ (s === "squared" || p && a) && {
93
+ "rounded-[12px]": l === "xSmall" || l == "small",
94
+ "rounded-[16px]": l === "medium",
95
+ "rounded-[28px]": l === "large" || l == "xLarge"
96
96
  },
97
- m && !r && {
98
- "active:rounded-[12px]": o === "xSmall" || o == "small",
99
- "active:rounded-[16px]": o === "medium",
100
- "active:rounded-[28px]": o === "large" || o == "xLarge"
97
+ p && !r && {
98
+ "active:rounded-[12px]": l === "xSmall" || l == "small",
99
+ "active:rounded-[16px]": l === "medium",
100
+ "active:rounded-[28px]": l === "large" || l == "xLarge"
101
101
  },
102
102
  e === "elevated" && {
103
103
  "shadow-1 hover:shadow-2": !r,
@@ -107,8 +107,8 @@ const Be = (e) => {
107
107
  },
108
108
  e === "filled" && {
109
109
  "hover:shadow-1": !r,
110
- "bg-surface-container text-on-surface-variant": !r && !a && d,
111
- "bg-primary text-on-primary": !r && (a && d || !d),
110
+ "bg-surface-container text-on-surface-variant": !r && !a && f,
111
+ "bg-primary text-on-primary": !r && (a && f || !f),
112
112
  "text-on-surface/[38%]": r
113
113
  },
114
114
  e === "tonal" && {
@@ -132,11 +132,11 @@ const Be = (e) => {
132
132
  "text-on-surface/[0.38]": r
133
133
  },
134
134
  t && [
135
- o === "xSmall" && "-mx-3 ",
136
- o === "small" && "-mx-4 ",
137
- o === "medium" && "-mx-6 ",
138
- o === "large" && "-mx-12",
139
- o === "xLarge" && "-mx-16 "
135
+ l === "xSmall" && "-mx-3 ",
136
+ l === "small" && "-mx-4 ",
137
+ l === "medium" && "-mx-6 ",
138
+ l === "large" && "-mx-12",
139
+ l === "xLarge" && "-mx-16 "
140
140
  // size === 'small' && ' -my-2.5',
141
141
  // size === 'medium' && ' -my-4',
142
142
  // size === 'large' && '-my-8',
@@ -145,10 +145,10 @@ const Be = (e) => {
145
145
  ],
146
146
  r && "cursor-default"
147
147
  ),
148
- touchTarget: f(
148
+ touchTarget: d(
149
149
  "absolute -translate-x-1/2 -translate-y-1/2 left-1/2 top-1/2 h-12 w-full"
150
150
  ),
151
- stateLayer: f(
151
+ stateLayer: d(
152
152
  "min-h-full min-w-full absolute top-0 left-0 overflow-hidden",
153
153
  e === "elevated" && {
154
154
  "bg-on-surface/[0.12]": r,
@@ -156,23 +156,23 @@ const Be = (e) => {
156
156
  },
157
157
  e === "filled" && {
158
158
  "bg-on-surface/[0.12]": r,
159
- "group-state-on-primary": !r && !d,
160
- "group-state-on-surface-variant": !r && d
159
+ "group-state-on-primary": !r && !f,
160
+ "group-state-on-surface-variant": !r && f
161
161
  },
162
- c === "rounded" && {
163
- "rounded-[30px]": o === "xSmall" || o == "small",
164
- "rounded-[40px]": o === "medium",
165
- "rounded-[70px]": o === "large" || o == "xLarge"
162
+ s === "rounded" && {
163
+ "rounded-[30px]": l === "xSmall" || l == "small",
164
+ "rounded-[40px]": l === "medium",
165
+ "rounded-[70px]": l === "large" || l == "xLarge"
166
166
  },
167
- (c === "squared" || m && a) && {
168
- "rounded-[12px]": o === "xSmall" || o == "small",
169
- "rounded-[16px]": o === "medium",
170
- "rounded-[28px]": o === "large" || o == "xLarge"
167
+ (s === "squared" || p && a) && {
168
+ "rounded-[12px]": l === "xSmall" || l == "small",
169
+ "rounded-[16px]": l === "medium",
170
+ "rounded-[28px]": l === "large" || l == "xLarge"
171
171
  },
172
- m && !r && {
173
- "group-active:rounded-[12px]": o === "xSmall" || o == "small",
174
- "group-active:rounded-[16px]": o === "medium",
175
- "group-active:rounded-[28px]": o === "large" || o == "xLarge"
172
+ p && !r && {
173
+ "group-active:rounded-[12px]": l === "xSmall" || l == "small",
174
+ "group-active:rounded-[16px]": l === "medium",
175
+ "group-active:rounded-[28px]": l === "large" || l == "xLarge"
176
176
  },
177
177
  e === "tonal" && {
178
178
  "bg-on-surface/[0.12]": r,
@@ -185,26 +185,26 @@ const Be = (e) => {
185
185
  "group-state-primary": !r
186
186
  }
187
187
  ),
188
- label: f({ invisible: i }),
189
- icon: f(
188
+ label: d({ invisible: i }),
189
+ icon: d(
190
190
  { invisible: i },
191
- o === "xSmall" && "size-5",
192
- o === "small" && "size-5",
193
- o === "medium" && "size-6",
194
- o === "large" && "size-8",
195
- o === "xLarge" && "size-10"
191
+ l === "xSmall" && "size-5",
192
+ l === "small" && "size-5",
193
+ l === "medium" && "size-6",
194
+ l === "large" && "size-8",
195
+ l === "xLarge" && "size-10"
196
196
  )
197
197
  })
198
198
  ), Pe = _(
199
199
  "card",
200
200
  ({ variant: e, isInteractive: t }) => ({
201
- card: f(
201
+ card: d(
202
202
  "card group/card rounded-xl overflow-hidden z-10",
203
203
  e === "outlined" && "bg-surface border border-outline-variant",
204
204
  e === "elevated" && "bg-surface-container-low shadow-1",
205
205
  e === "filled" && "bg-surface-container-highest"
206
206
  ),
207
- stateLayer: f([
207
+ stateLayer: d([
208
208
  "w-full top-0 left-0 h-full absolute -z-10",
209
209
  {
210
210
  " group-hover/card:hover-state-on-surface group-focus-visible/card:focus-state-on-surface": t
@@ -214,20 +214,20 @@ const Be = (e) => {
214
214
  ), We = _(
215
215
  "carouselItem",
216
216
  () => ({
217
- carouselItem: f("rounded-[28px] overflow-hidden flex-none")
217
+ carouselItem: d("rounded-[28px] overflow-hidden flex-none")
218
218
  })
219
219
  ), De = _(
220
220
  "carousel",
221
221
  () => ({
222
- carousel: f(["w-full h-[400px]"]),
223
- track: f(
222
+ carousel: d(["w-full h-[400px]"]),
223
+ track: d(
224
224
  "grid grid-flow-col h-full transition-transform ease-out w-fit"
225
225
  )
226
226
  })
227
227
  ), Ve = _(
228
228
  "divider",
229
229
  ({ orientation: e }) => ({
230
- divider: f(
230
+ divider: d(
231
231
  "border-outline-variant ",
232
232
  {
233
233
  "h-fit w-full border-t": e === "horizontal"
@@ -240,7 +240,7 @@ const Be = (e) => {
240
240
  ), je = _(
241
241
  "fab",
242
242
  ({ size: e, variant: t, isExtended: r }) => ({
243
- fab: f(
243
+ fab: d(
244
244
  "flex shadow-3 hover:shadow-4 group overflow-hidden outline-none items-center cursor-pointer",
245
245
  {
246
246
  "rounded-[12px]": e == "small" && !r,
@@ -257,14 +257,14 @@ const Be = (e) => {
257
257
  t === "secondary" && "bg-secondary-container",
258
258
  t === "tertiary" && "bg-tertiary-container"
259
259
  ),
260
- stateLayer: f(
260
+ stateLayer: d(
261
261
  "absolute w-full h-full overflow-hidden left-1/2 top-1/2 transform -translate-y-1/2 -translate-x-1/2",
262
262
  t === "surface" && "group-hover:hover-state-primary group-focus:focus-state-primary",
263
263
  t === "primary" && "group-hover:hover-state-on-primary-container group-focus-visible:focus-state-on-primary-container",
264
264
  t === "secondary" && "group-hover:hover-state-on-secondary-container group-focus-visible:focus-state-on-secondary-container",
265
265
  t === "tertiary" && "group-hover:hover-state-on-tertiary-container group-focus-visible:focus-state-on-tertiary-container"
266
266
  ),
267
- icon: f(
267
+ icon: d(
268
268
  {
269
269
  "size-6": e == "small" || e == "medium" || r,
270
270
  "size-9": e == "large" && !r
@@ -274,7 +274,7 @@ const Be = (e) => {
274
274
  t === "secondary" && "text-on-secondary-container",
275
275
  t === "tertiary" && "text-on-tertiary-container"
276
276
  ),
277
- label: f(
277
+ label: d(
278
278
  "text-title-medium text-nowrap",
279
279
  t === "surface" && "text-primary",
280
280
  t === "primary" && "text-on-primary-container",
@@ -288,98 +288,98 @@ const Be = (e) => {
288
288
  variant: e,
289
289
  disabled: t,
290
290
  onToggle: r,
291
- isActive: l,
291
+ isActive: o,
292
292
  size: n,
293
293
  width: a,
294
294
  shape: i,
295
- allowShapeTransformation: c
295
+ allowShapeTransformation: s
296
296
  }) => ({
297
- iconButton: f(
297
+ iconButton: d(
298
298
  "rounded-full relative flex transition-all duration-300",
299
299
  "group cursor-pointer",
300
300
  {
301
301
  "cursor-default": t
302
302
  },
303
- (i === "rounded" || i === "squared" && r && !t && l && c) && {
303
+ (i === "rounded" || i === "squared" && r && !t && o && s) && {
304
304
  "rounded-[30px]": n === "xSmall" || n == "small",
305
305
  "rounded-[40px]": n === "medium",
306
306
  "rounded-[70px]": n === "large" || n == "xLarge"
307
307
  },
308
- (i === "squared" || i === "rounded" && r && !t && l && c) && {
308
+ (i === "squared" || i === "rounded" && r && !t && o && s) && {
309
309
  "rounded-[12px]": n === "xSmall" || n == "small",
310
310
  "rounded-[16px]": n === "medium",
311
311
  "rounded-[28px]": n === "large" || n == "xLarge"
312
312
  },
313
- c && !t && {
313
+ s && !t && {
314
314
  "group-active:rounded-[12px]": n === "xSmall" || n == "small",
315
315
  "group-active:rounded-[16px]": n === "medium",
316
316
  "group-active:rounded-[28px]": n === "large" || n == "xLarge"
317
317
  },
318
318
  e === "filled" && [
319
319
  !t && {
320
- "bg-surface-container": !l && !!r,
321
- "bg-primary": l || !r
320
+ "bg-surface-container": !o && !!r,
321
+ "bg-primary": o || !r
322
322
  },
323
323
  !!t && "bg-on-surface/[0.12]"
324
324
  ],
325
325
  e === "tonal" && [
326
326
  !t && {
327
- "bg-surface-container": !l && !!r,
328
- "bg-secondary-container": l || !r
327
+ "bg-surface-container": !o && !!r,
328
+ "bg-secondary-container": o || !r
329
329
  },
330
330
  !!t && "bg-on-surface/[0.12]"
331
331
  ],
332
332
  e === "outlined" && [
333
333
  !t && {
334
- "border border-outline": !l,
335
- "border border-transparent bg-inverse-surface": l
334
+ "border border-outline": !o,
335
+ "border border-transparent bg-inverse-surface": o
336
336
  },
337
337
  !!t && {
338
- "border border-on-surface/[0.12]": !l,
339
- "border border-transparent bg-on-surface/[0.12]": l
338
+ "border border-on-surface/[0.12]": !o,
339
+ "border border-transparent bg-on-surface/[0.12]": o
340
340
  }
341
341
  ]
342
342
  ),
343
- touchTarget: f(
343
+ touchTarget: d(
344
344
  "absolute -translate-x-1/2 -translate-y-1/2 left-1/2 top-1/2 h-12 w-full"
345
345
  ),
346
- stateLayer: f(
346
+ stateLayer: d(
347
347
  "absolute top-0 left-0 h-full w-full overflow-hidden",
348
- (i === "rounded" || i === "squared" && r && !t && l && c) && {
348
+ (i === "rounded" || i === "squared" && r && !t && o && s) && {
349
349
  "rounded-[30px]": n === "xSmall" || n == "small",
350
350
  "rounded-[40px]": n === "medium",
351
351
  "rounded-[70px]": n === "large" || n == "xLarge"
352
352
  },
353
- (i === "squared" || i === "rounded" && r && !t && l && c) && {
353
+ (i === "squared" || i === "rounded" && r && !t && o && s) && {
354
354
  "rounded-[12px]": n === "xSmall" || n == "small",
355
355
  "rounded-[16px]": n === "medium",
356
356
  "rounded-[28px]": n === "large" || n == "xLarge"
357
357
  },
358
- c && !t && {
358
+ s && !t && {
359
359
  "group-active:rounded-[12px]": n === "xSmall" || n == "small",
360
360
  "group-active:rounded-[16px]": n === "medium",
361
361
  "group-active:rounded-[28px]": n === "large" || n == "xLarge"
362
362
  },
363
363
  !t && [
364
364
  e === "standard" && {
365
- "state-on-surface-variant": !l,
366
- "state-primary": l
365
+ "state-on-surface-variant": !o,
366
+ "state-primary": o
367
367
  },
368
368
  e === "filled" && {
369
- "state-primary": !l && !!r,
370
- "state-inverse-on-surface": l || !r
369
+ "state-primary": !o && !!r,
370
+ "state-inverse-on-surface": o || !r
371
371
  },
372
372
  e === "tonal" && {
373
- "state-on-surface-variant": !l && !!r,
374
- "state-on-secondary-container": l || !r
373
+ "state-on-surface-variant": !o && !!r,
374
+ "state-on-secondary-container": o || !r
375
375
  },
376
376
  e === "outlined" && {
377
- "state-on-surface-variant": !l,
378
- "state-on-primary": l
377
+ "state-on-surface-variant": !o,
378
+ "state-on-primary": o
379
379
  }
380
380
  ]
381
381
  ),
382
- icon: f(
382
+ icon: d(
383
383
  " transition-all duration-300",
384
384
  { "size-5 p-1.5": n === "xSmall" },
385
385
  { "size-6 p-2": n === "small" },
@@ -402,20 +402,20 @@ const Be = (e) => {
402
402
  ],
403
403
  !t && [
404
404
  e === "standard" && {
405
- "text-on-surface-variant": !l,
406
- "text-primary": l
405
+ "text-on-surface-variant": !o,
406
+ "text-primary": o
407
407
  },
408
408
  e === "filled" && {
409
- "text-primary": !l && !!r,
410
- "text-on-primary": l || !r
409
+ "text-primary": !o && !!r,
410
+ "text-on-primary": o || !r
411
411
  },
412
412
  e === "tonal" && {
413
- "text-on-surface-variant": !l && !!r,
414
- "text-on-secondary-container": l || !r
413
+ "text-on-surface-variant": !o && !!r,
414
+ "text-on-secondary-container": o || !r
415
415
  },
416
416
  e === "outlined" && {
417
- "text-on-surface-variant": !l,
418
- "text-inverse-on-surface": l
417
+ "text-on-surface-variant": !o,
418
+ "text-inverse-on-surface": o
419
419
  }
420
420
  ],
421
421
  !!t && "text-on-surface/[0.38]"
@@ -424,14 +424,14 @@ const Be = (e) => {
424
424
  ), Fe = _(
425
425
  "progressIndicator",
426
426
  ({ variant: e, isVisible: t }) => ({
427
- progressIndicator: f(
427
+ progressIndicator: d(
428
428
  (e === "linear-determinate" || e == "linear-indeterminate") && "flex w-full h-1"
429
429
  ),
430
- track: f("h-full rounded-full bg-primary rounded-l-full", {
430
+ track: d("h-full rounded-full bg-primary rounded-l-full", {
431
431
  "max-h-0": !t,
432
432
  "max-h-full": t
433
433
  }),
434
- activeIndicator: f(
434
+ activeIndicator: d(
435
435
  {
436
436
  "max-h-0": !t,
437
437
  "max-h-full": t
@@ -445,7 +445,7 @@ const Be = (e) => {
445
445
  }
446
446
  ]
447
447
  ),
448
- stop: f(
448
+ stop: d(
449
449
  "absolute top-1/2 -translate-y-1/2 right-0 bg-primary rounded-full size-1",
450
450
  {
451
451
  "max-h-0": !t,
@@ -456,11 +456,11 @@ const Be = (e) => {
456
456
  ), Xe = _(
457
457
  "slideSheet",
458
458
  ({ variant: e, position: t }) => ({
459
- slideSheet: f(
459
+ slideSheet: d(
460
460
  "bg-surface flex justify-between max-w-xs z-10",
461
461
  {
462
462
  "flex-row-reverse": t == "right",
463
- "h-screen": e == "standard"
463
+ "h-full": e == "standard"
464
464
  },
465
465
  e == "modal" && [
466
466
  "rounded-2xl fixed top-0 m-[1rem] h-[calc(100dvh-2rem)]",
@@ -470,53 +470,53 @@ const Be = (e) => {
470
470
  }
471
471
  ]
472
472
  ),
473
- container: f("w-full overflow-hidden", {}),
474
- content: f("w-fit "),
475
- header: f("p-4 flex items-center gap-2"),
476
- title: f("text-on-surface-variant text-title-large"),
477
- closeButton: f("ml-auto"),
478
- divider: f({ hidden: e == "modal" }),
479
- overlay: f(
473
+ container: d("w-full overflow-hidden", {}),
474
+ content: d("w-fit "),
475
+ header: d("p-4 flex items-center gap-2"),
476
+ title: d("text-on-surface-variant text-title-large"),
477
+ closeButton: d("ml-auto"),
478
+ divider: d({ hidden: e == "modal" }),
479
+ overlay: d(
480
480
  "bg-[black]/[0.32] fixed top-0 left-0 w-screen h-screen"
481
481
  )
482
482
  })
483
483
  ), He = _(
484
484
  "slider",
485
485
  ({ isChanging: e }) => ({
486
- slider: f([
486
+ slider: d([
487
487
  "relative w-full h-11 flex items-center rounded gap-x-1.5 cursor-pointer"
488
488
  ]),
489
- activeTrack: f([
489
+ activeTrack: d([
490
490
  "h-4 relative transition-all duration-100 bg-primary overflow-hidden rounded-l-full "
491
491
  ]),
492
- inactiveTrack: f([
492
+ inactiveTrack: d([
493
493
  "h-4 relative transition-all duration-100 bg-primary-container rounded-r-full overflow-hidden"
494
494
  ]),
495
- handle: f([
495
+ handle: d([
496
496
  "transform transition-all duration-100 bg-primary h-full rounded-full ",
497
497
  { "w-0.5": e, "w-1": !e }
498
498
  ]),
499
- valueIndicator: f([
499
+ valueIndicator: d([
500
500
  "absolute select-none bg-inverse-surface text-inverse-on-surface py-3 px-4 text-label-large rounded-full bottom-[calc(100%+4px)] transform left-1/2 -translate-x-1/2"
501
501
  ]),
502
- dot: f([
502
+ dot: d([
503
503
  "h-1 w-1 absolute transform -translate-y-1/2 -translate-x-1/2 top-1/2 rounded-full"
504
504
  ])
505
505
  })
506
506
  ), Oe = _(
507
507
  "snackbar",
508
508
  () => ({
509
- snackbar: f(" rounded bg-inverse-surface "),
510
- container: f(
509
+ snackbar: d(" rounded bg-inverse-surface "),
510
+ container: d(
511
511
  "pl-4 pr-2 max-w-full py-1 flex items-center flex-wrap"
512
512
  ),
513
- supportingText: f("text-body-medium text-inverse-on-surface "),
514
- icon: f(" ml-auto mr-0 text-inverse-on-surface block dark")
513
+ supportingText: d("text-body-medium text-inverse-on-surface "),
514
+ icon: d(" ml-auto mr-0 text-inverse-on-surface block dark")
515
515
  })
516
516
  ), qe = _(
517
517
  "switch",
518
518
  ({ isSelected: e, disabled: t, inactiveIcon: r }) => ({
519
- switch: f(
519
+ switch: d(
520
520
  "group w-[52px] h-[32px] outline-none rounded-full border-2 flex items-center",
521
521
  { "bg-on-surface/[0.12] border-transparent": t },
522
522
  !t && [
@@ -527,12 +527,12 @@ const Be = (e) => {
527
527
  // { 'justify-start': !isSelected },
528
528
  // { 'justify-end': isSelected },
529
529
  ),
530
- handleContainer: f(
530
+ handleContainer: d(
531
531
  "flex items-center justify-center absolute",
532
532
  { "left-[14px]": !e },
533
533
  { "right-[14px]": e }
534
534
  ),
535
- handle: f(
535
+ handle: d(
536
536
  "transition-all duration-100 z-10 rounded-full flex items-center justify-center",
537
537
  { "w-[16px] h-[16px]": !e && !r },
538
538
  { "w-[24px] h-[24px]": !(!e && !r) },
@@ -543,11 +543,11 @@ const Be = (e) => {
543
543
  ],
544
544
  { "bg-surface": t }
545
545
  ),
546
- handleStateLayer: f(
546
+ handleStateLayer: d(
547
547
  "w-[40px] h-[40px] -z-10 rounded-full absolute",
548
548
  { "group-state-primary": !t }
549
549
  ),
550
- icon: f(
550
+ icon: d(
551
551
  "w-[16px] h-[16px]",
552
552
  !t && [
553
553
  { "text-on-primary-container": e },
@@ -558,67 +558,67 @@ const Be = (e) => {
558
558
  })
559
559
  ), _e = _(
560
560
  "tab",
561
- ({ isSelected: e, icon: t, label: r, variant: l }) => ({
562
- tab: f(
561
+ ({ isSelected: e, icon: t, label: r, variant: o }) => ({
562
+ tab: d(
563
563
  "bg-surface flex-1 group outline-none flex px-4 justify-center items-center cursor-pointer",
564
564
  { "z-10": e },
565
- !!(t && r) && l === "primary" && "h-16",
566
- !(t && r && l === "primary") && "h-12"
565
+ !!(t && r) && o === "primary" && "h-16",
566
+ !(t && r && o === "primary") && "h-12"
567
567
  ),
568
- stateLayer: f(
568
+ stateLayer: d(
569
569
  "absolute w-full h-full overflow-hidden left-1/2 top-1/2 transform -translate-y-1/2 -translate-x-1/2",
570
- l === "primary" && {
570
+ o === "primary" && {
571
571
  "group-hover:hover-state-on-surface group-focus-visible:focus-state-on-surface": !e,
572
572
  "group-hover:hover-state-primary group-focus-visible:focus-state-primary": e
573
573
  },
574
- l === "secondary" && "group-hover:hover-state-on-surface group-focus-visible:focus-state-on-surface"
574
+ o === "secondary" && "group-hover:hover-state-on-surface group-focus-visible:focus-state-on-surface"
575
575
  ),
576
- content: f(
576
+ content: d(
577
577
  "flex gap-0.5 h-full justify-center",
578
578
  {
579
- relative: l == "primary"
579
+ relative: o == "primary"
580
580
  },
581
581
  {
582
582
  "": !!(r && !t)
583
583
  },
584
- l === "primary" && "flex-col items-center",
585
- l === "secondary" && {
584
+ o === "primary" && "flex-col items-center",
585
+ o === "secondary" && {
586
586
  "flex-col items-center": !(r && t),
587
587
  "flex-row items-center gap-2": !!(r && t)
588
588
  }
589
589
  ),
590
- icon: f(
590
+ icon: d(
591
591
  "h-6 w-6 p-0.5 !box-border",
592
- l === "primary" && {
592
+ o === "primary" && {
593
593
  "text-on-surface-variant": !e,
594
594
  "text-primary": e
595
595
  },
596
- l === "secondary" && {
596
+ o === "secondary" && {
597
597
  "text-on-surface-variant": !e,
598
598
  "text-on-surface": e
599
599
  }
600
600
  ),
601
- label: f(
601
+ label: d(
602
602
  "text-title-small text-nowrap",
603
- l === "primary" && {
603
+ o === "primary" && {
604
604
  "text-on-surface-variant": !e,
605
605
  "text-primary": e
606
606
  },
607
- l === "secondary" && {
607
+ o === "secondary" && {
608
608
  "text-on-surface-variant": !e,
609
609
  "text-on-surface": e
610
610
  }
611
611
  ),
612
- underline: f(
612
+ underline: d(
613
613
  "bg-primary absolute w-full left-0 bottom-0",
614
- l === "primary" && "h-[3px] rounded-t",
615
- l === "secondary" && "h-0.5"
614
+ o === "primary" && "h-[3px] rounded-t",
615
+ o === "secondary" && "h-0.5"
616
616
  )
617
617
  })
618
618
  ), Ke = _(
619
619
  "tabs",
620
620
  ({ scrollable: e }) => ({
621
- tabs: f(
621
+ tabs: d(
622
622
  "border-b border-surface-container-highest",
623
623
  "flex relative ",
624
624
  { "overflow-x-auto": e }
@@ -630,99 +630,99 @@ const Be = (e) => {
630
630
  disabled: e,
631
631
  leadingIcon: t,
632
632
  trailingIcon: r,
633
- variant: l,
633
+ variant: o,
634
634
  errorText: n,
635
635
  isFocused: a,
636
636
  value: i,
637
- suffix: c,
638
- textLine: d
637
+ suffix: s,
638
+ textLine: f
639
639
  }) => ({
640
- textField: f({
640
+ textField: d({
641
641
  "opacity-[.38]": e
642
642
  }),
643
- content: f(
643
+ content: d(
644
644
  "group transition-border duration-200 relative flex items-center ",
645
- { "h-14": d == "singleLine" },
645
+ { "h-14": f == "singleLine" },
646
646
  {
647
- "border-on-surface-variant": !(n != null && n.length) && !a && l == "filled",
648
- "border-outline": !(n != null && n.length) && !a && l == "outlined",
647
+ "border-on-surface-variant": !(n != null && n.length) && !a && o == "filled",
648
+ "border-outline": !(n != null && n.length) && !a && o == "outlined",
649
649
  "border-primary": !(n != null && n.length) && a,
650
650
  "border-error": !!(n != null && n.length)
651
651
  },
652
652
  { "bg-on-surface/[0.04]": e },
653
- l == "filled" && [
653
+ o == "filled" && [
654
654
  "rounded-t overflow-hidden border-b",
655
655
  { "bg-surface-container-highest": !e }
656
656
  ],
657
- l == "outlined" && [
657
+ o == "outlined" && [
658
658
  "border rounded box-border",
659
659
  {
660
660
  "border-[3px]": a
661
661
  }
662
662
  ]
663
663
  ),
664
- stateLayer: f(
664
+ stateLayer: d(
665
665
  "absolute -z-10 w-full h-full top-0 left-0",
666
666
  {
667
- hidden: l == "outlined"
667
+ hidden: o == "outlined"
668
668
  },
669
669
  {
670
670
  "group-state-on-surface": !e,
671
671
  "focus-state-on-surface": a
672
672
  }
673
673
  ),
674
- label: f(
674
+ label: d(
675
675
  "inline-flex outline-none whitespace-nowrap",
676
676
  { "text-on-surface-variant": !e && !(n != null && n.length) },
677
677
  { "text-on-surface": e },
678
678
  { "text-error": !!(n != null && n.length) },
679
679
  { "text-primary": !(n != null && n.length) && a }
680
680
  ),
681
- input: f(
681
+ input: d(
682
682
  "w-full resize-none px-4 text-body-large bg-[inherit] outline-none autofill:transition-colors autofill:duration-[5000000ms]",
683
683
  {
684
684
  " text-on-surface placeholder:text-on-surface-variant": !e,
685
685
  "placeholder:text-on-surface text-on-surface": e
686
686
  },
687
687
  {
688
- "pr-0": !!c
688
+ "pr-0": !!s
689
689
  },
690
- l == "filled" && " pb-2 pt-6",
691
- l == "outlined" && "py-4 relative z-10"
690
+ o == "filled" && " pb-2 pt-6",
691
+ o == "outlined" && "py-4 relative z-10"
692
692
  ),
693
- activeIndicator: f(
693
+ activeIndicator: d(
694
694
  "absolute w-0 inset-x-0 border-rounded mx-auto bottom-0",
695
- l == "filled" && [
695
+ o == "filled" && [
696
696
  "h-[2px] transition-all duration-300",
697
697
  { "bg-primary": !(n != null && n.length) },
698
698
  { "bg-error": !!(n != null && n.length) },
699
699
  { "!w-full": a }
700
700
  ]
701
701
  ),
702
- supportingText: f(
702
+ supportingText: d(
703
703
  " text-body-small px-4 pt-1",
704
704
  { "text-on-surface-variant": !e && !(n != null && n.length) },
705
705
  { "text-on-surface": e },
706
706
  { "!w-full": a },
707
707
  { "text-error": !!(n != null && n.length) }
708
708
  ),
709
- leadingIcon: f([
709
+ leadingIcon: d([
710
710
  "h-12 ml-3 flex items-center justify-center",
711
711
  { "cursor-text": !Y.isValidElement(t) }
712
712
  ]),
713
- trailingIcon: f("h-12 w-12 flex items-center justify-center", {
713
+ trailingIcon: d("h-12 w-12 flex items-center justify-center", {
714
714
  "cursor-text": !Y.isValidElement(r)
715
715
  }),
716
- suffix: f(
716
+ suffix: d(
717
717
  "text-on-surface-variant pl-0 pr-4",
718
- l == "filled" && " pb-2 pt-6",
719
- l == "outlined" && "py-4 relative z-10"
718
+ o == "filled" && " pb-2 pt-6",
719
+ o == "outlined" && "py-4 relative z-10"
720
720
  )
721
721
  })
722
722
  ), Ye = _(
723
723
  "toolTip",
724
724
  ({ position: e, variant: t }) => ({
725
- toolTip: f(
725
+ toolTip: d(
726
726
  " pointer-events-auto w-max z-10 absolute m-1 w-max-content max-w-[312px]",
727
727
  {
728
728
  "bottom-full left-1/2 -translate-x-1/2": e == "top",
@@ -735,51 +735,51 @@ const Be = (e) => {
735
735
  "top-full left-full": e == "bottom-right"
736
736
  }
737
737
  ),
738
- container: f(
738
+ container: d(
739
739
  "pb-2",
740
740
  t == "rich" && "bg-surface-container rounded-2xl text-on-surface-container px-4 pt-3 shadow-2",
741
741
  t == "plain" && "bg-inverse-surface rounded text-inverse-on-surface px-2 py-1"
742
742
  ),
743
- actions: f(
743
+ actions: d(
744
744
  "flex gap-10 px-1 mt-2",
745
745
  t == "plain" && "hidden"
746
746
  ),
747
- subHead: f(
747
+ subHead: d(
748
748
  "text-title-small mb-1",
749
749
  t == "plain" && "hidden"
750
750
  ),
751
- supportingText: f("")
751
+ supportingText: d("")
752
752
  })
753
753
  ), Q = ({ icon: e, colors: t = [], className: r }) => {
754
754
  if (typeof e == "string") {
755
- let o = e;
756
- return t[0] && (o = o.replace(
755
+ let l = e;
756
+ return t[0] && (l = l.replace(
757
757
  /<svg([^>]*)>/,
758
758
  `<svg$1 fill="${t[0]}" color="${t[0]}">`
759
- ), o = o.replace(
759
+ ), l = l.replace(
760
760
  /<path([^>]*?)>/g,
761
761
  '<path$1 fill="currentColor">'
762
762
  )), /* @__PURE__ */ u(
763
763
  "div",
764
764
  {
765
- className: f(
765
+ className: d(
766
766
  "size-5 box-content inline-flex fill-current",
767
767
  r
768
768
  ),
769
769
  style: { color: t[0] || "inherit" },
770
- dangerouslySetInnerHTML: { __html: o }
770
+ dangerouslySetInnerHTML: { __html: l }
771
771
  }
772
772
  );
773
773
  }
774
774
  if (e && typeof e == "object" && "src" in e) {
775
- const o = e;
775
+ const l = e;
776
776
  return /* @__PURE__ */ u(
777
777
  "img",
778
778
  {
779
- src: o.src,
780
- width: o.width,
781
- height: o.height,
782
- className: f("size-5 box-content", r),
779
+ src: l.src,
780
+ width: l.width,
781
+ height: l.height,
782
+ className: d("size-5 box-content", r),
783
783
  style: {
784
784
  filter: t[0] ? "brightness(0) saturate(100%) invert(1)" : void 0
785
785
  },
@@ -788,18 +788,18 @@ const Be = (e) => {
788
788
  }
789
789
  );
790
790
  }
791
- const l = e;
792
- if (!(l != null && l.prefix))
791
+ const o = e;
792
+ if (!(o != null && o.prefix))
793
793
  throw new Error(`Invalid icon type: ${typeof e}`);
794
- const { icon: n } = l, [a, i, , , c] = n || [], d = (o) => {
795
- switch (o.length) {
794
+ const { icon: n } = o, [a, i, , , s] = n || [], f = (l) => {
795
+ switch (l.length) {
796
796
  case 2:
797
797
  return {
798
- "--fa-primary-color": o[0] || "inherit",
799
- "--fa-secondary-color": o[1] || "inherit"
798
+ "--fa-primary-color": l[0] || "inherit",
799
+ "--fa-secondary-color": l[1] || "inherit"
800
800
  };
801
801
  case 1:
802
- return { color: o[0] };
802
+ return { color: l[0] };
803
803
  default:
804
804
  return {};
805
805
  }
@@ -807,56 +807,56 @@ const Be = (e) => {
807
807
  return /* @__PURE__ */ u(
808
808
  "svg",
809
809
  {
810
- className: f("size-5 box-content", r),
811
- style: { ...d(t) },
810
+ className: d("size-5 box-content", r),
811
+ style: { ...f(t) },
812
812
  xmlns: "http://www.w3.org/2000/svg",
813
813
  viewBox: `0 0 ${a} ${i}`,
814
814
  role: "img",
815
815
  "aria-hidden": "true",
816
- children: typeof c == "string" ? /* @__PURE__ */ u("path", { className: "fill-current", d: c }) : c.map((o, m) => /* @__PURE__ */ u("path", { d: o }, m))
816
+ children: typeof s == "string" ? /* @__PURE__ */ u("path", { className: "fill-current", d: s }) : s.map((l, p) => /* @__PURE__ */ u("path", { d: l }, p))
817
817
  }
818
818
  );
819
819
  }, Ze = ({
820
820
  variant: e = "linear-determinate",
821
821
  value: t = 0,
822
822
  transitionDuration: r = 1e3,
823
- className: l,
823
+ className: o,
824
824
  ...n
825
825
  }) => {
826
- const [a, i] = R(t), [c] = R(1.5);
826
+ const [a, i] = R(t), [s] = R(1.5);
827
827
  $(() => {
828
828
  t > 100 && (t = 100), t < 0 && (t = 0), i(t);
829
829
  }, [t]);
830
- const [d, o] = R(!0), m = () => d ? c : c * 0.5;
830
+ const [f, l] = R(!0), p = () => f ? s : s * 0.5;
831
831
  $(() => {
832
832
  if ((e === "circular-indeterminate" || e === "linear-indeterminate") && a !== 100) {
833
833
  const v = setInterval(() => {
834
- i(d ? 10 : 90), o(!d);
835
- }, m() * 1e3);
834
+ i(f ? 10 : 90), l(!f);
835
+ }, p() * 1e3);
836
836
  return () => clearInterval(v);
837
837
  }
838
- }, [e, d, a]);
839
- const [h, s] = R(!1);
838
+ }, [e, f, a]);
839
+ const [m, c] = R(!1);
840
840
  $(() => {
841
841
  if (a >= 100) {
842
842
  const v = setTimeout(() => {
843
- s(!1);
843
+ c(!1);
844
844
  }, r);
845
845
  return () => {
846
846
  clearTimeout(v);
847
847
  };
848
848
  } else
849
- s(!0);
849
+ c(!0);
850
850
  }, [a, r]);
851
- const y = Fe({
852
- className: l,
851
+ const h = Fe({
852
+ className: o,
853
853
  variant: e,
854
854
  value: t,
855
855
  transitionDuration: r,
856
- isVisible: h
856
+ isVisible: m
857
857
  });
858
858
  return /* @__PURE__ */ D(te, { children: [
859
- (e === "linear-determinate" || e == "linear-indeterminate") && /* @__PURE__ */ D("div", { className: y.progressIndicator, ...n, children: [
859
+ (e === "linear-determinate" || e == "linear-indeterminate") && /* @__PURE__ */ D("div", { className: h.progressIndicator, ...n, children: [
860
860
  /* @__PURE__ */ u(
861
861
  "div",
862
862
  {
@@ -864,7 +864,7 @@ const Be = (e) => {
864
864
  width: `${a}%`,
865
865
  transition: `width ${r}ms ease-in-out ${a == 100 ? ", max-height 200ms 0.5s ease-in-out" : ""}`
866
866
  },
867
- className: y.track
867
+ className: h.track
868
868
  }
869
869
  ),
870
870
  /* @__PURE__ */ u(
@@ -874,7 +874,7 @@ const Be = (e) => {
874
874
  marginLeft: a != 100 ? "6px" : "0px",
875
875
  transition: `width ${r}ms ease-in-out ${a == 100 ? `, max-height 200ms 0.5s ease-in-out, margin-left ${r}ms ${r / 1.5}ms` : ""}`
876
876
  },
877
- className: y.activeIndicator
877
+ className: h.activeIndicator
878
878
  }
879
879
  ),
880
880
  /* @__PURE__ */ u(
@@ -884,7 +884,7 @@ const Be = (e) => {
884
884
  width: "4 px",
885
885
  transition: `width ${r}ms ease-in-out, max-height 200ms 0.5s ease-in-out`
886
886
  },
887
- className: y.stop
887
+ className: h.stop
888
888
  }
889
889
  )
890
890
  ] }),
@@ -898,43 +898,43 @@ const Be = (e) => {
898
898
  animate: { rotate: 270 },
899
899
  transition: {
900
900
  repeat: 1 / 0,
901
- duration: m(),
901
+ duration: p(),
902
902
  ease: "linear"
903
903
  },
904
- className: y.progressIndicator,
904
+ className: h.progressIndicator,
905
905
  ...n,
906
906
  children: /* @__PURE__ */ u(
907
907
  U.circle,
908
908
  {
909
909
  cx: "50%",
910
910
  cy: "50%",
911
- r: h ? "calc(50% - 2px)" : "50%",
911
+ r: m ? "calc(50% - 2px)" : "50%",
912
912
  style: {
913
913
  strokeLinecap: "round"
914
914
  },
915
915
  initial: "hidden",
916
916
  animate: "visible",
917
- className: y.activeIndicator,
917
+ className: h.activeIndicator,
918
918
  variants: {
919
919
  hidden: {
920
- pathLength: d ? 10 / 100 : 90 / 100
920
+ pathLength: f ? 10 / 100 : 90 / 100
921
921
  },
922
922
  visible: {
923
- pathLength: d ? 90 / 100 : 10 / 100
923
+ pathLength: f ? 90 / 100 : 10 / 100
924
924
  }
925
925
  },
926
926
  transition: {
927
927
  pathLength: {
928
928
  type: "tween",
929
929
  ease: "linear",
930
- duration: m(),
930
+ duration: p(),
931
931
  bounce: 0
932
932
  }
933
933
  }
934
934
  }
935
935
  )
936
936
  },
937
- d + ""
937
+ f + ""
938
938
  )
939
939
  ] });
940
940
  }, ne = ({
@@ -958,36 +958,36 @@ const Be = (e) => {
958
958
  borderRadius: { duration: 0.3, delay: 0.3 }
959
959
  }
960
960
  }
961
- }, [l, n] = R(!0), [a, i] = R(!1), [c, d] = R({ x: 0, y: 0 });
961
+ }, [o, n] = R(!0), [a, i] = R(!1), [s, f] = R({ x: 0, y: 0 });
962
962
  $(() => {
963
963
  a && (n(!0), n(!1));
964
964
  }, [a]), $(() => {
965
- const s = t == null ? void 0 : t.current;
966
- if (s)
967
- return s.addEventListener("mousedown", o), s.addEventListener("mouseup", h), s.addEventListener("mouseleave", m), () => {
968
- s.removeEventListener("mousedown", o), s.removeEventListener("mouseup", h), s.removeEventListener("mouseleave", m);
965
+ const c = t == null ? void 0 : t.current;
966
+ if (c)
967
+ return c.addEventListener("mousedown", l), c.addEventListener("mouseup", m), c.addEventListener("mouseleave", p), () => {
968
+ c.removeEventListener("mousedown", l), c.removeEventListener("mouseup", m), c.removeEventListener("mouseleave", p);
969
969
  };
970
970
  }, [t]);
971
- const o = (s) => {
972
- const y = t == null ? void 0 : t.current, v = y.getBoundingClientRect();
973
- i(!0), d({
974
- x: (s.clientX - v.left) / y.clientWidth * 100,
975
- y: (s.clientY - v.top) / y.clientHeight * 100
971
+ const l = (c) => {
972
+ const h = t == null ? void 0 : t.current, v = h.getBoundingClientRect();
973
+ i(!0), f({
974
+ x: (c.clientX - v.left) / h.clientWidth * 100,
975
+ y: (c.clientY - v.top) / h.clientHeight * 100
976
976
  });
977
- }, m = (s) => {
977
+ }, p = (c) => {
978
978
  i(!1);
979
- }, h = (s) => {
979
+ }, m = (c) => {
980
980
  i(!1);
981
981
  };
982
- return /* @__PURE__ */ u(A, { mode: "wait", children: (a || !a && !l) && /* @__PURE__ */ u(
982
+ return /* @__PURE__ */ u(A, { mode: "wait", children: (a || !a && !o) && /* @__PURE__ */ u(
983
983
  U.div,
984
984
  {
985
985
  style: {
986
986
  position: "absolute",
987
987
  width: "100%",
988
988
  height: "100%",
989
- top: c.y + "%",
990
- left: c.x + "%",
989
+ top: s.y + "%",
990
+ left: s.x + "%",
991
991
  background: `color-mix(in srgb, var(--color-${e}) 12%, transparent)`,
992
992
  pointerEvents: "none"
993
993
  },
@@ -1002,7 +1002,7 @@ const Be = (e) => {
1002
1002
  }, Je = _(
1003
1003
  "customScroll",
1004
1004
  ({ orientation: e, draggable: t, isDragging: r }) => ({
1005
- customScroll: f(
1005
+ customScroll: d(
1006
1006
  "flex h-full w-full",
1007
1007
  t && [
1008
1008
  "[&::-webkit-scrollbar-track]:rounded-full",
@@ -1022,7 +1022,7 @@ const Be = (e) => {
1022
1022
  "cursor-grabbing": t && r
1023
1023
  }
1024
1024
  ),
1025
- track: f("overflow-hidden flex-none sticky", {
1025
+ track: d("overflow-hidden flex-none sticky", {
1026
1026
  "left-0 h-full": e === "horizontal",
1027
1027
  "top-0 w-full": e === "vertical"
1028
1028
  })
@@ -1031,59 +1031,59 @@ const Be = (e) => {
1031
1031
  children: e,
1032
1032
  orientation: t = "vertical",
1033
1033
  scrollSize: r,
1034
- onScroll: l,
1034
+ onScroll: o,
1035
1035
  className: n,
1036
1036
  draggable: a = !1,
1037
1037
  throttleDuration: i = 75
1038
1038
  }) => {
1039
1039
  var W, F;
1040
- const c = j(null), d = j(null), [o, m] = R({
1040
+ const s = j(null), f = j(null), [l, p] = R({
1041
1041
  width: null,
1042
1042
  height: null
1043
1043
  });
1044
1044
  $(() => {
1045
- if (!c.current) return;
1045
+ if (!s.current) return;
1046
1046
  const S = new ResizeObserver((X) => {
1047
1047
  for (const H of X)
1048
- H.target === c.current && m({
1048
+ H.target === s.current && p({
1049
1049
  width: H.contentRect.width,
1050
1050
  height: H.contentRect.height
1051
1051
  // On observe aussi la hauteur maintenant
1052
1052
  });
1053
1053
  });
1054
- return S.observe(c.current), () => {
1054
+ return S.observe(s.current), () => {
1055
1055
  S.disconnect();
1056
1056
  };
1057
- }, [c]);
1058
- const h = j(null), s = j(null), y = () => {
1059
- const S = d.current;
1057
+ }, [s]);
1058
+ const m = j(null), c = j(null), h = () => {
1059
+ const S = f.current;
1060
1060
  return S ? {
1061
1061
  width: r ?? S.scrollWidth,
1062
1062
  height: r ?? S.scrollHeight
1063
1063
  } : null;
1064
1064
  }, v = () => {
1065
- const S = c.current;
1065
+ const S = s.current;
1066
1066
  return S ? {
1067
1067
  width: S.clientWidth,
1068
1068
  height: S.clientHeight
1069
1069
  // Correction ici pour retourner la bonne hauteur
1070
1070
  } : null;
1071
- }, { scrollYProgress: L, scrollXProgress: N } = Ie({
1072
- container: c
1071
+ }, { scrollYProgress: b, scrollXProgress: L } = Ie({
1072
+ container: s
1073
1073
  }), I = j(null);
1074
1074
  I.current || (I.current = Ee(
1075
1075
  i,
1076
1076
  (S, X) => {
1077
- !s.current || !h.current || l && (t === "horizontal" && X === "x" && l({
1077
+ !c.current || !m.current || o && (t === "horizontal" && X === "x" && o({
1078
1078
  scrollProgress: S,
1079
- scroll: S * h.current.width,
1080
- scrollTotal: h.current.width,
1081
- scrollVisible: s.current.width
1082
- }), t === "vertical" && X === "y" && l({
1079
+ scroll: S * m.current.width,
1080
+ scrollTotal: m.current.width,
1081
+ scrollVisible: c.current.width
1082
+ }), t === "vertical" && X === "y" && o({
1083
1083
  scrollProgress: S,
1084
- scroll: S * h.current.height,
1085
- scrollTotal: h.current.height,
1086
- scrollVisible: s.current.height
1084
+ scroll: S * m.current.height,
1085
+ scrollTotal: m.current.height,
1086
+ scrollVisible: c.current.height
1087
1087
  }));
1088
1088
  }
1089
1089
  ));
@@ -1091,38 +1091,38 @@ const Be = (e) => {
1091
1091
  I.current && I.current(S, X);
1092
1092
  };
1093
1093
  $(() => {
1094
- o.width && w(N.get(), "x"), o.height && w(L.get(), "y");
1095
- }, [o]), se(N, "change", (S) => {
1094
+ l.width && w(L.get(), "x"), l.height && w(b.get(), "y");
1095
+ }, [l]), se(L, "change", (S) => {
1096
1096
  w(S, "x");
1097
- }), se(L, "change", (S) => {
1097
+ }), se(b, "change", (S) => {
1098
1098
  w(S, "y");
1099
1099
  });
1100
- const [B, b] = R(!1);
1100
+ const [B, N] = R(!1);
1101
1101
  pe(() => {
1102
- B || !s.current || !h.current || !l || (l({
1102
+ B || !c.current || !m.current || !o || (o({
1103
1103
  scrollProgress: 0,
1104
1104
  scroll: 0,
1105
- scrollTotal: t == "vertical" ? h.current.height : h.current.width,
1106
- scrollVisible: t == "vertical" ? s.current.height : s.current.width
1107
- }), b(!0));
1108
- }, [s, h, l]), h.current = y(), s.current = v();
1105
+ scrollTotal: t == "vertical" ? m.current.height : m.current.width,
1106
+ scrollVisible: t == "vertical" ? c.current.height : c.current.width
1107
+ }), N(!0));
1108
+ }, [c, m, o]), m.current = h(), c.current = v();
1109
1109
  const [E, C] = R(!1), V = Je({
1110
1110
  isDragging: E,
1111
1111
  children: e,
1112
1112
  className: n,
1113
- onScroll: l,
1113
+ onScroll: o,
1114
1114
  orientation: t,
1115
1115
  scrollSize: r,
1116
1116
  draggable: a,
1117
1117
  throttleDuration: i
1118
- }), [P, k] = R(0), [p, M] = R(0), O = (S) => {
1118
+ }), [P, k] = R(0), [y, M] = R(0), O = (S) => {
1119
1119
  if (!a) return;
1120
- const X = c.current;
1120
+ const X = s.current;
1121
1121
  if (!X || P == null) return;
1122
1122
  const J = (S.pageX - X.offsetLeft - P) * 1.5;
1123
- X.scrollLeft = p - J;
1123
+ X.scrollLeft = y - J;
1124
1124
  }, K = (S) => {
1125
- const X = c.current;
1125
+ const X = s.current;
1126
1126
  X && (C(!0), k(S.pageX - X.offsetLeft), M(X.scrollLeft));
1127
1127
  }, Z = (S) => {
1128
1128
  E && (S.preventDefault(), O(S));
@@ -1139,7 +1139,7 @@ const Be = (e) => {
1139
1139
  "div",
1140
1140
  {
1141
1141
  className: V.customScroll,
1142
- ref: c,
1142
+ ref: s,
1143
1143
  onMouseDown: K,
1144
1144
  onMouseMove: Z,
1145
1145
  onMouseUp: q,
@@ -1154,28 +1154,28 @@ const Be = (e) => {
1154
1154
  /* @__PURE__ */ u(
1155
1155
  "div",
1156
1156
  {
1157
- ref: d,
1158
- style: t === "vertical" ? { height: ((W = s == null ? void 0 : s.current) == null ? void 0 : W.height) ?? "100%" } : { width: ((F = s == null ? void 0 : s.current) == null ? void 0 : F.width) ?? "100%" },
1157
+ ref: f,
1158
+ style: t === "vertical" ? { height: ((W = c == null ? void 0 : c.current) == null ? void 0 : W.height) ?? "100%" } : { width: ((F = c == null ? void 0 : c.current) == null ? void 0 : F.width) ?? "100%" },
1159
1159
  className: V.track,
1160
1160
  children: e
1161
1161
  }
1162
1162
  ),
1163
- s.current && h.current && /* @__PURE__ */ D(te, { children: [
1164
- t === "vertical" && h.current.height > s.current.height && /* @__PURE__ */ u(
1163
+ c.current && m.current && /* @__PURE__ */ D(te, { children: [
1164
+ t === "vertical" && m.current.height > c.current.height && /* @__PURE__ */ u(
1165
1165
  U.div,
1166
1166
  {
1167
1167
  className: "flex-none",
1168
1168
  style: {
1169
- height: h.current.height - s.current.height
1169
+ height: m.current.height - c.current.height
1170
1170
  }
1171
1171
  }
1172
1172
  ),
1173
- t === "horizontal" && h.current.width > s.current.width && /* @__PURE__ */ u(
1173
+ t === "horizontal" && m.current.width > c.current.width && /* @__PURE__ */ u(
1174
1174
  U.div,
1175
1175
  {
1176
1176
  className: "flex-none",
1177
1177
  style: {
1178
- width: h.current.width - s.current.width
1178
+ width: m.current.width - c.current.width
1179
1179
  }
1180
1180
  }
1181
1181
  )
@@ -1187,42 +1187,42 @@ const Be = (e) => {
1187
1187
  children: e,
1188
1188
  transition: t = ".5s",
1189
1189
  orientation: r = "vertical",
1190
- throttleDuration: l = 25,
1190
+ throttleDuration: o = 25,
1191
1191
  ...n
1192
1192
  }) => {
1193
- const [a, i] = R(null), c = he((a == null ? void 0 : a.scrollProgress) ?? 0), d = oe(
1194
- c,
1193
+ const [a, i] = R(null), s = he((a == null ? void 0 : a.scrollProgress) ?? 0), f = oe(
1194
+ s,
1195
1195
  [0, 1],
1196
1196
  [0, 1 - ((a == null ? void 0 : a.scrollVisible) ?? 0) / ((a == null ? void 0 : a.scrollTotal) ?? 0)]
1197
- ), o = oe(
1198
- d,
1199
- (s) => `${-s * 100}%`
1200
- ), m = (s) => {
1201
- c.set(s.scrollProgress), s.scrollTotal > 0 && i(s);
1202
- }, h = j(null);
1203
- return se(o, "change", (s) => {
1204
- const y = performance.now();
1205
- if (h.current !== null) {
1206
- const v = y - h.current;
1197
+ ), l = oe(
1198
+ f,
1199
+ (c) => `${-c * 100}%`
1200
+ ), p = (c) => {
1201
+ s.set(c.scrollProgress), c.scrollTotal > 0 && i(c);
1202
+ }, m = j(null);
1203
+ return se(l, "change", (c) => {
1204
+ const h = performance.now();
1205
+ if (m.current !== null) {
1206
+ const v = h - m.current;
1207
1207
  console.log(`Delta temps : ${v} ms`);
1208
1208
  }
1209
- h.current = y, console.log(s);
1209
+ m.current = h, console.log(c);
1210
1210
  }), /* @__PURE__ */ u(
1211
1211
  ge,
1212
1212
  {
1213
- onScroll: m,
1214
- throttleDuration: l,
1213
+ onScroll: p,
1214
+ throttleDuration: o,
1215
1215
  ...n,
1216
1216
  children: /* @__PURE__ */ u(
1217
1217
  U.div,
1218
1218
  {
1219
- className: f("transition-transform ease-out", {
1219
+ className: d("transition-transform ease-out", {
1220
1220
  "w-fit h-full": r === "horizontal",
1221
1221
  "h-fit w-full": r === "vertical"
1222
1222
  }),
1223
1223
  style: {
1224
1224
  transitionDuration: t,
1225
- ...r == "vertical" ? { y: o } : { x: o }
1225
+ ...r == "vertical" ? { y: l } : { x: l }
1226
1226
  },
1227
1227
  children: e
1228
1228
  }
@@ -1233,16 +1233,16 @@ const Be = (e) => {
1233
1233
  targetRef: e,
1234
1234
  children: t
1235
1235
  }) => {
1236
- const [r, l] = R(null), n = j(null), a = () => {
1236
+ const [r, o] = R(null), n = j(null), a = () => {
1237
1237
  const i = e.current;
1238
1238
  if (!i) return;
1239
- const c = i.getBoundingClientRect();
1240
- l({
1239
+ const s = i.getBoundingClientRect();
1240
+ o({
1241
1241
  position: "fixed",
1242
- top: c.top,
1243
- left: c.left,
1244
- width: c.width,
1245
- height: c.height,
1242
+ top: s.top,
1243
+ left: s.left,
1244
+ width: s.width,
1245
+ height: s.height,
1246
1246
  pointerEvents: "none",
1247
1247
  // si le wrapper ne doit pas capter les events
1248
1248
  zIndex: 999
@@ -1253,8 +1253,8 @@ const Be = (e) => {
1253
1253
  const i = e.current;
1254
1254
  if (i)
1255
1255
  return a(), window.addEventListener("scroll", a, !0), window.addEventListener("resize", a), n.current = new ResizeObserver(a), n.current.observe(i), () => {
1256
- var c;
1257
- window.removeEventListener("scroll", a, !0), window.removeEventListener("resize", a), (c = n.current) == null || c.disconnect();
1256
+ var s;
1257
+ window.removeEventListener("scroll", a, !0), window.removeEventListener("resize", a), (s = n.current) == null || s.disconnect();
1258
1258
  };
1259
1259
  }, [e]), r ? ye(/* @__PURE__ */ u("div", { style: r, children: t }), document.body) : null;
1260
1260
  };
@@ -1267,57 +1267,57 @@ const It = ({
1267
1267
  // Délai par défaut de 300ms
1268
1268
  onLoad: r
1269
1269
  }) => {
1270
- const [l, n] = R(null), a = j(null), i = j(e.sourceColor), c = j(!0);
1270
+ const [o, n] = R(null), a = j(null), i = j(e.sourceColor), s = j(!0);
1271
1271
  $(() => {
1272
- if (c.current) {
1273
- c.current = !1, i.current = e.sourceColor, d(e.sourceColor);
1272
+ if (s.current) {
1273
+ s.current = !1, i.current = e.sourceColor, f(e.sourceColor);
1274
1274
  return;
1275
1275
  }
1276
1276
  if (e.sourceColor !== i.current)
1277
1277
  return a.current && clearTimeout(a.current), a.current = setTimeout(async () => {
1278
- i.current = e.sourceColor, await d(e.sourceColor), a.current = null;
1278
+ i.current = e.sourceColor, await f(e.sourceColor), a.current = null;
1279
1279
  }, t), () => {
1280
1280
  a.current && (clearTimeout(a.current), a.current = null);
1281
1281
  };
1282
1282
  }, [e.sourceColor, t]);
1283
- const d = async (o) => {
1284
- if (!Ae(o))
1283
+ const f = async (l) => {
1284
+ if (!Ae(l))
1285
1285
  throw new Error("Invalid hex color");
1286
1286
  try {
1287
- const m = await ke({
1287
+ const p = await ke({
1288
1288
  ...e,
1289
- sourceColor: o
1289
+ sourceColor: l
1290
1290
  });
1291
- r == null || r(m);
1292
- const h = m.plugins.getPlugin(Se).getInstance().outputCss;
1293
- h && n(h);
1294
- } catch (m) {
1291
+ r == null || r(p);
1292
+ const m = p.plugins.getPlugin(Se).getInstance().outputCss;
1293
+ m && n(m);
1294
+ } catch (p) {
1295
1295
  throw new Error(
1296
- m instanceof Error ? m.message : "Theme loading failed"
1296
+ p instanceof Error ? p.message : "Theme loading failed"
1297
1297
  );
1298
1298
  }
1299
1299
  };
1300
1300
  return $(() => () => {
1301
1301
  a.current && clearTimeout(a.current);
1302
- }, []), l ? /* @__PURE__ */ u("style", { dangerouslySetInnerHTML: { __html: l } }) : null;
1302
+ }, []), o ? /* @__PURE__ */ u("style", { dangerouslySetInnerHTML: { __html: o } }) : null;
1303
1303
  }, ze = ({
1304
1304
  variant: e = "filled",
1305
1305
  disabled: t = !1,
1306
1306
  icon: r,
1307
- href: l,
1307
+ href: o,
1308
1308
  label: n,
1309
1309
  disableTextMargins: a,
1310
1310
  className: i,
1311
- iconPosition: c = "left",
1312
- loading: d = !1,
1313
- shape: o = "rounded",
1314
- onClick: m,
1315
- onToggle: h,
1316
- activated: s,
1317
- ref: y,
1311
+ iconPosition: s = "left",
1312
+ loading: f = !1,
1313
+ shape: l = "rounded",
1314
+ onClick: p,
1315
+ onToggle: m,
1316
+ activated: c,
1317
+ ref: h,
1318
1318
  size: v = "medium",
1319
- allowShapeTransformation: L = !0,
1320
- transition: N,
1319
+ allowShapeTransformation: b = !0,
1320
+ transition: L,
1321
1321
  children: I,
1322
1322
  ...w
1323
1323
  }) => {
@@ -1325,66 +1325,66 @@ const It = ({
1325
1325
  throw new Error(
1326
1326
  "Button component requires either a label prop or children content"
1327
1327
  );
1328
- const B = l ? "a" : "button", b = j(null), E = y || b, [C, V] = Y.useState(s);
1328
+ const B = o ? "a" : "button", N = j(null), E = h || N, [C, V] = Y.useState(c);
1329
1329
  $(() => {
1330
- V(s);
1331
- }, [s]), N = { duration: 0.3, ...N };
1330
+ V(c);
1331
+ }, [c]), L = { duration: 0.3, ...L };
1332
1332
  let P;
1333
- h ? h && (P = (M) => {
1333
+ m ? m && (P = (M) => {
1334
1334
  t && M.preventDefault();
1335
1335
  const O = !C;
1336
- V(O), h(O);
1336
+ V(O), m(O);
1337
1337
  }) : P = (M) => {
1338
- t && M.preventDefault(), m && m(M);
1338
+ t && M.preventDefault(), p && p(M);
1339
1339
  };
1340
1340
  const k = $e({
1341
- allowShapeTransformation: L,
1341
+ allowShapeTransformation: b,
1342
1342
  size: v,
1343
1343
  disableTextMargins: a,
1344
- shape: o,
1345
- href: l,
1344
+ shape: l,
1345
+ href: o,
1346
1346
  disabled: t,
1347
1347
  icon: r,
1348
- iconPosition: c,
1349
- loading: d,
1348
+ iconPosition: s,
1349
+ loading: f,
1350
1350
  variant: e,
1351
- transition: N,
1351
+ transition: L,
1352
1352
  className: i,
1353
1353
  isActive: C ?? !1,
1354
- onToggle: h,
1354
+ onToggle: m,
1355
1355
  activated: C,
1356
1356
  label: n,
1357
1357
  children: n
1358
- }), p = r ? /* @__PURE__ */ u(Q, { icon: r, className: k.icon }) : /* @__PURE__ */ u(te, {});
1358
+ }), y = r ? /* @__PURE__ */ u(Q, { icon: r, className: k.icon }) : /* @__PURE__ */ u(te, {});
1359
1359
  return /* @__PURE__ */ D(
1360
1360
  B,
1361
1361
  {
1362
1362
  ref: E,
1363
- href: l,
1363
+ href: o,
1364
1364
  className: k.button,
1365
1365
  ...w,
1366
1366
  onClick: P,
1367
1367
  disabled: t,
1368
- "aria-pressed": h ? C : void 0,
1369
- style: { transition: N.duration + "s" },
1368
+ "aria-pressed": m ? C : void 0,
1369
+ style: { transition: L.duration + "s" },
1370
1370
  children: [
1371
1371
  /* @__PURE__ */ u("div", { className: k.touchTarget }),
1372
1372
  /* @__PURE__ */ u(
1373
1373
  "div",
1374
1374
  {
1375
1375
  className: k.stateLayer,
1376
- style: { transition: N.duration + "s" },
1376
+ style: { transition: L.duration + "s" },
1377
1377
  children: !t && /* @__PURE__ */ u(
1378
1378
  ne,
1379
1379
  {
1380
- colorName: e === "filled" && h && "on-surface-variant" || e === "filled" && !h && "on-primary" || e === "elevated" && "primary" || e === "tonal" && "on-secondary-container" || e === "outlined" && "primary" || e === "text" && "primary" || "",
1380
+ colorName: e === "filled" && m && "on-surface-variant" || e === "filled" && !m && "on-primary" || e === "elevated" && "primary" || e === "tonal" && "on-secondary-container" || e === "outlined" && "primary" || e === "text" && "primary" || "",
1381
1381
  triggerRef: E
1382
1382
  }
1383
1383
  )
1384
1384
  }
1385
1385
  ),
1386
- c === "left" && p,
1387
- d && /* @__PURE__ */ u(
1386
+ s === "left" && y,
1387
+ f && /* @__PURE__ */ u(
1388
1388
  "div",
1389
1389
  {
1390
1390
  className: "!absolute left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2",
@@ -1393,7 +1393,7 @@ const It = ({
1393
1393
  {
1394
1394
  className: () => ({
1395
1395
  progressIndicator: "h-6 w-6",
1396
- activeIndicator: f(
1396
+ activeIndicator: d(
1397
1397
  {
1398
1398
  "!stroke-primary": e === "elevated" && !t,
1399
1399
  "!stroke-on-surface/[38%]": e === "elevated" && t
@@ -1422,7 +1422,7 @@ const It = ({
1422
1422
  }
1423
1423
  ),
1424
1424
  /* @__PURE__ */ u("span", { className: k.label, children: n }),
1425
- c === "right" && p
1425
+ s === "right" && y
1426
1426
  ]
1427
1427
  }
1428
1428
  );
@@ -1430,42 +1430,42 @@ const It = ({
1430
1430
  variant: e = "outlined",
1431
1431
  className: t,
1432
1432
  children: r,
1433
- isInteractive: l = !1,
1433
+ isInteractive: o = !1,
1434
1434
  ref: n,
1435
1435
  ...a
1436
1436
  }) => {
1437
- const i = Pe({ className: t, isInteractive: l, variant: e, children: r }), c = j(null), d = n || c;
1438
- return /* @__PURE__ */ D("div", { ...a, ref: d, className: i.card, children: [
1439
- /* @__PURE__ */ u("div", { className: i.stateLayer, children: l && /* @__PURE__ */ u(ne, { colorName: "on-surface", triggerRef: d }) }),
1437
+ const i = Pe({ className: t, isInteractive: o, variant: e, children: r }), s = j(null), f = n || s;
1438
+ return /* @__PURE__ */ D("div", { ...a, ref: f, className: i.card, children: [
1439
+ /* @__PURE__ */ u("div", { className: i.stateLayer, children: o && /* @__PURE__ */ u(ne, { colorName: "on-surface", triggerRef: f }) }),
1440
1440
  r
1441
1441
  ] });
1442
1442
  }, Te = (e, t, r = [0, 1]) => {
1443
- const [l, n] = t, [a, i] = r, d = (Math.max(l, Math.min(e, n)) - l) / (n - l);
1444
- return a + d * (i - a);
1443
+ const [o, n] = t, [a, i] = r, f = (Math.max(o, Math.min(e, n)) - o) / (n - o);
1444
+ return a + f * (i - a);
1445
1445
  }, et = ({
1446
1446
  className: e,
1447
1447
  children: t,
1448
1448
  width: r = 1,
1449
- index: l = 0,
1449
+ index: o = 0,
1450
1450
  ref: n,
1451
1451
  ...a
1452
1452
  }) => {
1453
- const i = j(null), c = n || i, d = We({
1453
+ const i = j(null), s = n || i, f = We({
1454
1454
  className: e,
1455
- index: l,
1455
+ index: o,
1456
1456
  width: r,
1457
1457
  children: t
1458
1458
  });
1459
1459
  return /* @__PURE__ */ u(
1460
1460
  U.div,
1461
1461
  {
1462
- ref: c,
1462
+ ref: s,
1463
1463
  animate: { width: r + "px" },
1464
1464
  transition: {
1465
1465
  duration: 0.5,
1466
1466
  ease: "linear"
1467
1467
  },
1468
- className: d.carouselItem,
1468
+ className: f.carouselItem,
1469
1469
  ...a,
1470
1470
  children: t
1471
1471
  }
@@ -1474,31 +1474,31 @@ const It = ({
1474
1474
  variant: e = "hero",
1475
1475
  className: t,
1476
1476
  children: r,
1477
- ref: l,
1477
+ ref: o,
1478
1478
  marginPourcent: n = 0,
1479
1479
  inputRange: a = [0.21, 0.65],
1480
1480
  outputRange: i = [42, 300],
1481
- gap: c = 8,
1482
- onChange: d,
1483
- scrollSensitivity: o = 1.25,
1484
- ...m
1481
+ gap: s = 8,
1482
+ onChange: f,
1483
+ scrollSensitivity: l = 1.25,
1484
+ ...p
1485
1485
  }) => {
1486
1486
  var q, z;
1487
- const h = j(null), s = l || h, y = De({
1487
+ const m = j(null), c = o || m, h = De({
1488
1488
  className: t,
1489
1489
  children: r,
1490
1490
  variant: e,
1491
1491
  inputRange: a,
1492
1492
  outputRange: i,
1493
1493
  marginPourcent: n,
1494
- onChange: d,
1495
- gap: c,
1496
- scrollSensitivity: o
1494
+ onChange: f,
1495
+ gap: s,
1496
+ scrollSensitivity: l
1497
1497
  }), v = Y.Children.toArray(r).filter(
1498
1498
  (g) => Y.isValidElement(g) && g.type === et
1499
- ), L = j(null), [N, I] = R([]), [w, B] = R(null), b = () => {
1499
+ ), b = j(null), [L, I] = R([]), [w, B] = R(null), N = () => {
1500
1500
  var X;
1501
- if (!L.current || !s.current || !w) return [];
1501
+ if (!b.current || !c.current || !w) return [];
1502
1502
  const { scrollVisible: g, scrollProgress: x } = w;
1503
1503
  function W(H, J) {
1504
1504
  return H.map(
@@ -1506,12 +1506,12 @@ const It = ({
1506
1506
  );
1507
1507
  }
1508
1508
  let F = v.map((H, J) => {
1509
- if (!E[J].current || !L.current) return 0;
1509
+ if (!E[J].current || !b.current) return 0;
1510
1510
  let re = J / (v.length - 1);
1511
1511
  return re > 1 && (re = 1), re < 0 && (re = 0), re;
1512
1512
  });
1513
1513
  F = W(F, x);
1514
- let S = ((((X = s.current) == null ? void 0 : X.clientWidth) ?? g) - (i[0] + c)) / (i[1] + c);
1514
+ let S = ((((X = c.current) == null ? void 0 : X.clientWidth) ?? g) - (i[0] + s)) / (i[1] + s);
1515
1515
  return F.map((H, J) => ({ value: Math.abs(H), originalIndex: J })).sort((H, J) => H.value - J.value).forEach((H, J) => {
1516
1516
  J === 0 && V(H.originalIndex);
1517
1517
  let T = Te(S, [0, 1], [0, i[1]]);
@@ -1519,42 +1519,42 @@ const It = ({
1519
1519
  }), F;
1520
1520
  }, E = j([]).current, [C, V] = R(0);
1521
1521
  $(() => {
1522
- d && d(C);
1522
+ f && f(C);
1523
1523
  }, [C]), E.length !== v.length && v.forEach((g, x) => {
1524
1524
  E[x] || (E[x] = Y.createRef());
1525
1525
  });
1526
1526
  const P = v.map((g, x) => Y.cloneElement(
1527
1527
  g,
1528
1528
  {
1529
- width: N[x],
1529
+ width: L[x],
1530
1530
  ref: E[x],
1531
1531
  key: x,
1532
1532
  index: x
1533
1533
  }
1534
- )), k = he((w == null ? void 0 : w.scrollProgress) ?? 0), p = oe(
1534
+ )), k = he((w == null ? void 0 : w.scrollProgress) ?? 0), y = oe(
1535
1535
  k,
1536
1536
  [0, 1],
1537
1537
  [
1538
1538
  0,
1539
- 1 - (((q = s.current) == null ? void 0 : q.clientWidth) ?? 0) / (((z = L == null ? void 0 : L.current) == null ? void 0 : z.clientWidth) ?? 0)
1539
+ 1 - (((q = c.current) == null ? void 0 : q.clientWidth) ?? 0) / (((z = b == null ? void 0 : b.current) == null ? void 0 : z.clientWidth) ?? 0)
1540
1540
  ]
1541
1541
  ), M = oe(
1542
- p,
1542
+ y,
1543
1543
  (g) => `${-g * 100}%`
1544
1544
  ), O = (g) => {
1545
1545
  g.scrollTotal > 0 && B(g);
1546
1546
  };
1547
1547
  $(() => {
1548
- const g = b();
1548
+ const g = N();
1549
1549
  I(g);
1550
1550
  }, [w]);
1551
1551
  const [K, Z] = R(0);
1552
1552
  return pe(() => {
1553
1553
  let g = i[1];
1554
1554
  w && g > w.scrollVisible && (g = w.scrollVisible);
1555
- const x = (g + c) * P.length / o;
1555
+ const x = (g + s) * P.length / l;
1556
1556
  Z(x);
1557
- }, [s, E, w]), /* @__PURE__ */ u("div", { className: y.carousel, ref: s, ...m, children: /* @__PURE__ */ u(
1557
+ }, [c, E, w]), /* @__PURE__ */ u("div", { className: h.carousel, ref: c, ...p, children: /* @__PURE__ */ u(
1558
1558
  ge,
1559
1559
  {
1560
1560
  draggable: !0,
@@ -1564,12 +1564,12 @@ const It = ({
1564
1564
  children: /* @__PURE__ */ u(
1565
1565
  U.div,
1566
1566
  {
1567
- className: y.track,
1568
- ref: L,
1567
+ className: h.track,
1568
+ ref: b,
1569
1569
  style: {
1570
1570
  transitionDuration: "0.5s",
1571
1571
  transitionTimingFunction: "ease-out",
1572
- gap: `${c}px`,
1572
+ gap: `${s}px`,
1573
1573
  x: M
1574
1574
  },
1575
1575
  children: P
@@ -1582,8 +1582,8 @@ const It = ({
1582
1582
  className: t,
1583
1583
  ...r
1584
1584
  }) => {
1585
- const l = Ve({ orientation: e, className: t });
1586
- return /* @__PURE__ */ u("hr", { className: l.divider, ...r });
1585
+ const o = Ve({ orientation: e, className: t });
1586
+ return /* @__PURE__ */ u("hr", { className: o.divider, ...r });
1587
1587
  }, G = [];
1588
1588
  for (let e = 0; e < 256; ++e)
1589
1589
  G.push((e + 256).toString(16).slice(1));
@@ -1606,82 +1606,82 @@ function ce(e, t, r) {
1606
1606
  if (de.randomUUID && !e)
1607
1607
  return de.randomUUID();
1608
1608
  e = e || {};
1609
- const l = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? lt();
1610
- if (l.length < 16)
1609
+ const o = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? lt();
1610
+ if (o.length < 16)
1611
1611
  throw new Error("Random bytes length must be >= 16");
1612
- return l[6] = l[6] & 15 | 64, l[8] = l[8] & 63 | 128, rt(l);
1612
+ return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, rt(o);
1613
1613
  }
1614
1614
  const we = ({
1615
1615
  variant: e = "plain",
1616
1616
  buttons: t,
1617
1617
  className: r,
1618
- children: l,
1618
+ children: o,
1619
1619
  title: n,
1620
1620
  text: a,
1621
1621
  position: i,
1622
- targetRef: c,
1623
- ref: d,
1624
- trigger: o = ["hover", "focus"],
1625
- ...m
1622
+ targetRef: s,
1623
+ ref: f,
1624
+ trigger: l = ["hover", "focus"],
1625
+ ...p
1626
1626
  }) => {
1627
- if (!l && !c)
1627
+ if (!o && !s)
1628
1628
  throw new Error("ToolTip must have a child or a targetRef");
1629
- Array.isArray(o) || (o = [o]), t && !Array.isArray(t) && (t = [t]);
1630
- const h = j(null), s = c || h, [y, v] = R(null), [L] = R(ce()), [N, I] = R(!1), w = j(null);
1629
+ Array.isArray(l) || (l = [l]), t && !Array.isArray(t) && (t = [t]);
1630
+ const m = j(null), c = s || m, [h, v] = R(null), [b] = R(ce()), [L, I] = R(!1), w = j(null);
1631
1631
  $(() => {
1632
- const p = (M) => {
1632
+ const y = (M) => {
1633
1633
  v(M.detail);
1634
1634
  };
1635
- return document.addEventListener("tooltip-update", p), () => {
1635
+ return document.addEventListener("tooltip-update", y), () => {
1636
1636
  document.removeEventListener(
1637
1637
  "tooltip-update",
1638
- p
1638
+ y
1639
1639
  );
1640
1640
  };
1641
1641
  }, []), $(() => {
1642
- w.current && clearTimeout(w.current), y ? I(y === L) : w.current = setTimeout(() => {
1642
+ w.current && clearTimeout(w.current), h ? I(h === b) : w.current = setTimeout(() => {
1643
1643
  I(!1);
1644
1644
  }, 1200);
1645
- }, [y, L]);
1645
+ }, [h, b]);
1646
1646
  const B = () => {
1647
- if (o.includes("hover")) {
1648
- const p = new CustomEvent("tooltip-update", { detail: L });
1649
- document.dispatchEvent(p);
1647
+ if (l.includes("hover")) {
1648
+ const y = new CustomEvent("tooltip-update", { detail: b });
1649
+ document.dispatchEvent(y);
1650
1650
  }
1651
- }, b = () => {
1652
- if (o.includes("hover")) {
1653
- const p = new CustomEvent("tooltip-update", { detail: null });
1654
- document.dispatchEvent(p);
1651
+ }, N = () => {
1652
+ if (l.includes("hover")) {
1653
+ const y = new CustomEvent("tooltip-update", { detail: null });
1654
+ document.dispatchEvent(y);
1655
1655
  }
1656
1656
  }, E = () => {
1657
- if (o.includes("click")) {
1658
- const p = new CustomEvent("tooltip-update", {
1659
- detail: N ? null : L
1657
+ if (l.includes("click")) {
1658
+ const y = new CustomEvent("tooltip-update", {
1659
+ detail: L ? null : b
1660
1660
  });
1661
- document.dispatchEvent(p);
1661
+ document.dispatchEvent(y);
1662
1662
  }
1663
1663
  }, C = () => {
1664
- if (o.includes("focus")) {
1665
- const p = new CustomEvent("tooltip-update", { detail: L });
1666
- document.dispatchEvent(p);
1664
+ if (l.includes("focus")) {
1665
+ const y = new CustomEvent("tooltip-update", { detail: b });
1666
+ document.dispatchEvent(y);
1667
1667
  }
1668
1668
  }, V = () => {
1669
- if (o.includes("focus")) {
1670
- const p = new CustomEvent("tooltip-update", { detail: null });
1671
- document.dispatchEvent(p);
1669
+ if (l.includes("focus")) {
1670
+ const y = new CustomEvent("tooltip-update", { detail: null });
1671
+ document.dispatchEvent(y);
1672
1672
  }
1673
1673
  };
1674
1674
  $(() => {
1675
- if (s != null && s.current) {
1676
- const p = s.current;
1677
- return p.addEventListener("mouseenter", B), p.addEventListener("mouseleave", b), p.addEventListener("click", E), p.addEventListener("focus", C), p.addEventListener("blur", V), () => {
1678
- p.removeEventListener("mouseenter", B), p.removeEventListener("mouseleave", b), p.removeEventListener("click", E), p.removeEventListener("focus", C), p.removeEventListener("blur", V);
1675
+ if (c != null && c.current) {
1676
+ const y = c.current;
1677
+ return y.addEventListener("mouseenter", B), y.addEventListener("mouseleave", N), y.addEventListener("click", E), y.addEventListener("focus", C), y.addEventListener("blur", V), () => {
1678
+ y.removeEventListener("mouseenter", B), y.removeEventListener("mouseleave", N), y.removeEventListener("click", E), y.removeEventListener("focus", C), y.removeEventListener("blur", V);
1679
1679
  };
1680
1680
  }
1681
- }, [s, o, L, N]);
1682
- const P = !c && ee(l) ? le(l, { ref: h }) : l;
1683
- if (!i && typeof window < "u" && s != null && s.current && !i) {
1684
- const p = s.current.getBoundingClientRect(), M = window.innerWidth, O = window.innerHeight, K = p.left / M, Z = p.top / O;
1681
+ }, [c, l, b, L]);
1682
+ const P = !s && ee(o) ? le(o, { ref: m }) : o;
1683
+ if (!i && typeof window < "u" && c != null && c.current && !i) {
1684
+ const y = c.current.getBoundingClientRect(), M = window.innerWidth, O = window.innerHeight, K = y.left / M, Z = y.top / O;
1685
1685
  e === "plain" ? K < 1 / 3 ? i = "right" : K > 2 / 3 ? i = "left" : i = Z > 0.5 ? "top" : "bottom" : K < 1 / 2 && Z < 1 / 2 ? i = "bottom-right" : K > 1 / 2 && Z < 1 / 2 ? i = "bottom-left" : K > 1 / 2 && Z > 1 / 2 ? i = "top-left" : K < 1 / 2 && Z > 1 / 2 && (i = "top-right");
1686
1686
  }
1687
1687
  const k = Ye({
@@ -1691,23 +1691,23 @@ const we = ({
1691
1691
  title: n,
1692
1692
  text: a,
1693
1693
  position: i,
1694
- trigger: o,
1695
- targetRef: c,
1696
- children: l
1694
+ trigger: l,
1695
+ targetRef: s,
1696
+ children: o
1697
1697
  });
1698
1698
  return /* @__PURE__ */ D(te, { children: [
1699
1699
  P,
1700
- /* @__PURE__ */ u(A, { children: N && /* @__PURE__ */ u(Qe, { targetRef: s, children: /* @__PURE__ */ u(
1700
+ /* @__PURE__ */ u(A, { children: L && /* @__PURE__ */ u(Qe, { targetRef: c, children: /* @__PURE__ */ u(
1701
1701
  U.div,
1702
1702
  {
1703
- initial: { opacity: y ? 1 : 0 },
1703
+ initial: { opacity: h ? 1 : 0 },
1704
1704
  animate: { opacity: 1 },
1705
- transition: { duration: y ? 0 : 0.3 },
1706
- exit: { opacity: y ? 1 : 0 },
1705
+ transition: { duration: h ? 0 : 0.3 },
1706
+ exit: { opacity: h ? 1 : 0 },
1707
1707
  className: k.toolTip,
1708
- ...m,
1708
+ ...p,
1709
1709
  onMouseEnter: B,
1710
- onMouseLeave: b,
1710
+ onMouseLeave: N,
1711
1711
  children: /* @__PURE__ */ D(
1712
1712
  U.div,
1713
1713
  {
@@ -1721,12 +1721,12 @@ const we = ({
1721
1721
  children: [
1722
1722
  n && /* @__PURE__ */ u("div", { className: k.subHead, children: n }),
1723
1723
  /* @__PURE__ */ u("div", { className: k.supportingText, children: a }),
1724
- t && /* @__PURE__ */ u("div", { className: k.actions, children: Array.isArray(t) && t.map((p, M) => /* @__PURE__ */ u(
1724
+ t && /* @__PURE__ */ u("div", { className: k.actions, children: Array.isArray(t) && t.map((y, M) => /* @__PURE__ */ u(
1725
1725
  ze,
1726
1726
  {
1727
1727
  size: "small",
1728
1728
  variant: "text",
1729
- ...p
1729
+ ...y
1730
1730
  },
1731
1731
  M
1732
1732
  )) })
@@ -1740,42 +1740,42 @@ const we = ({
1740
1740
  className: e,
1741
1741
  label: t,
1742
1742
  variant: r = "primary",
1743
- size: l = "medium",
1743
+ size: o = "medium",
1744
1744
  href: n,
1745
1745
  type: a,
1746
1746
  icon: i,
1747
- isExtended: c = !1,
1748
- ref: d,
1749
- transition: o,
1750
- children: m,
1751
- ...h
1747
+ isExtended: s = !1,
1748
+ ref: f,
1749
+ transition: l,
1750
+ children: p,
1751
+ ...m
1752
1752
  }) => {
1753
- if (m && (t = m), !t)
1753
+ if (p && (t = p), !t)
1754
1754
  throw new Error(
1755
1755
  "FAB component requires either a label prop or children content"
1756
1756
  );
1757
- const s = n ? "a" : "button", y = je({
1757
+ const c = n ? "a" : "button", h = je({
1758
1758
  href: n,
1759
1759
  icon: i,
1760
- isExtended: c,
1760
+ isExtended: s,
1761
1761
  label: t,
1762
- size: l,
1762
+ size: o,
1763
1763
  variant: r,
1764
1764
  className: e,
1765
- transition: o,
1765
+ transition: l,
1766
1766
  children: t
1767
1767
  });
1768
- o = { duration: 0.3, ...o };
1769
- const v = j(null), L = d || v, N = {
1768
+ l = { duration: 0.3, ...l };
1769
+ const v = j(null), b = f || v, L = {
1770
1770
  visible: {
1771
1771
  width: "auto",
1772
1772
  marginLeft: 12,
1773
1773
  opacity: 1,
1774
1774
  transition: {
1775
- ...o,
1775
+ ...l,
1776
1776
  opacity: {
1777
- duration: o.duration / 2,
1778
- delay: o.duration - o.duration / 2
1777
+ duration: l.duration / 2,
1778
+ delay: l.duration - l.duration / 2
1779
1779
  }
1780
1780
  }
1781
1781
  },
@@ -1784,52 +1784,52 @@ const we = ({
1784
1784
  marginLeft: 0,
1785
1785
  opacity: 0,
1786
1786
  transition: {
1787
- ...o,
1787
+ ...l,
1788
1788
  marginLeft: {
1789
- duration: o.duration / 2,
1790
- delay: o.duration - o.duration / 2
1789
+ duration: l.duration / 2,
1790
+ delay: l.duration - l.duration / 2
1791
1791
  }
1792
1792
  }
1793
1793
  }
1794
1794
  };
1795
1795
  return /* @__PURE__ */ D(
1796
- s,
1796
+ c,
1797
1797
  {
1798
- ...h,
1799
- ref: L,
1798
+ ...m,
1799
+ ref: b,
1800
1800
  href: n,
1801
- "aria-label": c ? void 0 : t,
1802
- className: y.fab,
1801
+ "aria-label": s ? void 0 : t,
1802
+ className: h.fab,
1803
1803
  children: [
1804
1804
  /* @__PURE__ */ u(
1805
1805
  we,
1806
1806
  {
1807
- trigger: c ? null : void 0,
1807
+ trigger: s ? null : void 0,
1808
1808
  text: t,
1809
- targetRef: L
1809
+ targetRef: b
1810
1810
  }
1811
1811
  ),
1812
- /* @__PURE__ */ u("span", { className: y.stateLayer, children: /* @__PURE__ */ u(
1812
+ /* @__PURE__ */ u("span", { className: h.stateLayer, children: /* @__PURE__ */ u(
1813
1813
  ne,
1814
1814
  {
1815
- colorName: f({
1815
+ colorName: d({
1816
1816
  primary: r == "surface",
1817
1817
  "on-primary-container": r == "primary",
1818
1818
  "on-secondary-container": r == "secondary",
1819
1819
  "on-tertiary-container": r == "tertiary"
1820
1820
  }),
1821
- triggerRef: L
1821
+ triggerRef: b
1822
1822
  }
1823
1823
  ) }),
1824
- /* @__PURE__ */ u(Q, { icon: i, className: y.icon }),
1825
- /* @__PURE__ */ u(A, { children: c && /* @__PURE__ */ u(
1824
+ /* @__PURE__ */ u(Q, { icon: i, className: h.icon }),
1825
+ /* @__PURE__ */ u(A, { children: s && /* @__PURE__ */ u(
1826
1826
  U.span,
1827
1827
  {
1828
- variants: N,
1828
+ variants: L,
1829
1829
  initial: "hidden",
1830
1830
  animate: "visible",
1831
1831
  exit: "hidden",
1832
- className: y.label,
1832
+ className: h.label,
1833
1833
  children: t
1834
1834
  }
1835
1835
  ) })
@@ -1840,20 +1840,20 @@ const we = ({
1840
1840
  variant: e = "standard",
1841
1841
  href: t,
1842
1842
  disabled: r = !1,
1843
- type: l = "button",
1843
+ type: o = "button",
1844
1844
  title: n,
1845
1845
  label: a,
1846
1846
  onToggle: i,
1847
- activated: c = !1,
1848
- onClick: d,
1849
- icon: o,
1850
- size: m = "medium",
1851
- iconSelected: h,
1852
- className: s,
1853
- ref: y,
1847
+ activated: s = !1,
1848
+ onClick: f,
1849
+ icon: l,
1850
+ size: p = "medium",
1851
+ iconSelected: m,
1852
+ className: c,
1853
+ ref: h,
1854
1854
  width: v = "default",
1855
- shape: L = "rounded",
1856
- allowShapeTransformation: N = !0,
1855
+ shape: b = "rounded",
1856
+ allowShapeTransformation: L = !0,
1857
1857
  transition: I,
1858
1858
  children: w,
1859
1859
  ...B
@@ -1863,34 +1863,34 @@ const we = ({
1863
1863
  "IconButton component requires either a label prop or children content to provide an accessible aria-label"
1864
1864
  );
1865
1865
  n || (n = a);
1866
- const [b, E] = Y.useState(c);
1866
+ const [N, E] = Y.useState(s);
1867
1867
  let C;
1868
1868
  i ? i && (C = (M) => {
1869
- r && M.preventDefault(), E(!b), i(!!b);
1870
- }, o = b && h || o) : C = (M) => {
1871
- r && M.preventDefault(), d && d(M);
1869
+ r && M.preventDefault(), E(!N), i(!!N);
1870
+ }, l = N && m || l) : C = (M) => {
1871
+ r && M.preventDefault(), f && f(M);
1872
1872
  }, $(() => {
1873
- E(c);
1874
- }, [c]);
1873
+ E(s);
1874
+ }, [s]);
1875
1875
  const V = t ? "a" : "button", P = Ue({
1876
1876
  transition: I,
1877
- shape: L,
1878
- allowShapeTransformation: N,
1877
+ shape: b,
1878
+ allowShapeTransformation: L,
1879
1879
  width: v,
1880
1880
  href: t,
1881
- activated: b,
1881
+ activated: N,
1882
1882
  label: a,
1883
- iconSelected: h,
1884
- isActive: b,
1883
+ iconSelected: m,
1884
+ isActive: N,
1885
1885
  onToggle: i,
1886
1886
  disabled: r,
1887
- icon: o,
1887
+ icon: l,
1888
1888
  variant: e,
1889
- className: s,
1890
- size: m,
1889
+ className: c,
1890
+ size: p,
1891
1891
  children: a,
1892
1892
  ...B
1893
- }), k = j(null), p = y || k;
1893
+ }), k = j(null), y = h || k;
1894
1894
  return I = { duration: 0.3, ...I }, /* @__PURE__ */ D(
1895
1895
  V,
1896
1896
  {
@@ -1902,12 +1902,12 @@ const we = ({
1902
1902
  ...B,
1903
1903
  title: void 0,
1904
1904
  onClick: C,
1905
- ref: p,
1905
+ ref: y,
1906
1906
  children: [
1907
1907
  /* @__PURE__ */ u(
1908
1908
  we,
1909
1909
  {
1910
- targetRef: p,
1910
+ targetRef: y,
1911
1911
  trigger: r ? null : void 0,
1912
1912
  text: n
1913
1913
  }
@@ -1921,30 +1921,30 @@ const we = ({
1921
1921
  children: !r && /* @__PURE__ */ u(
1922
1922
  ne,
1923
1923
  {
1924
- colorName: f(
1924
+ colorName: d(
1925
1925
  e === "standard" && {
1926
- "on-surface-variant": !b,
1927
- primary: b
1926
+ "on-surface-variant": !N,
1927
+ primary: N
1928
1928
  },
1929
1929
  e === "filled" && {
1930
- primary: !b && !!i,
1931
- "inverse-on-surface": b || !i
1930
+ primary: !N && !!i,
1931
+ "inverse-on-surface": N || !i
1932
1932
  },
1933
1933
  e === "tonal" && {
1934
- "on-surface-variant": !b && !!i,
1935
- "on-secondary-container": b || !i
1934
+ "on-surface-variant": !N && !!i,
1935
+ "on-secondary-container": N || !i
1936
1936
  },
1937
1937
  e === "outlined" && {
1938
- "on-surface-variant": !b,
1939
- "on-primary": b
1938
+ "on-surface-variant": !N,
1939
+ "on-primary": N
1940
1940
  }
1941
1941
  ),
1942
- triggerRef: p
1942
+ triggerRef: y
1943
1943
  }
1944
1944
  )
1945
1945
  }
1946
1946
  ),
1947
- o && /* @__PURE__ */ u(Q, { icon: o, className: P.icon })
1947
+ l && /* @__PURE__ */ u(Q, { icon: l, className: P.icon })
1948
1948
  ]
1949
1949
  }
1950
1950
  );
@@ -1952,11 +1952,11 @@ const we = ({
1952
1952
  className: e,
1953
1953
  valueFormatter: t,
1954
1954
  step: r = 10,
1955
- name: l,
1955
+ name: o,
1956
1956
  value: n = 0,
1957
1957
  min: a = 0,
1958
1958
  max: i = 100,
1959
- marks: c = [
1959
+ marks: s = [
1960
1960
  {
1961
1961
  value: 0,
1962
1962
  label: "0"
@@ -1966,35 +1966,35 @@ const we = ({
1966
1966
  label: "100"
1967
1967
  }
1968
1968
  ],
1969
- ref: d,
1970
- onChange: o,
1971
- ...m
1969
+ ref: f,
1970
+ onChange: l,
1971
+ ...p
1972
1972
  }) => {
1973
- const h = (g) => {
1974
- const x = y(), W = s();
1973
+ const m = (g) => {
1974
+ const x = h(), W = c();
1975
1975
  return g === 1 / 0 ? 100 : g === -1 / 0 ? 0 : (g - x) / (W - x) * 100;
1976
- }, s = (g = !1) => g ? i : i == 1 / 0 ? c[(c == null ? void 0 : c.length) - 1].value : i, y = (g = !1) => g ? a : a == -1 / 0 ? c[0].value : a, v = (g) => {
1977
- const x = y(!1);
1978
- return (s(!1) - x) * g / 100 + x;
1979
- }, [L, N] = R(!1), I = j(null), w = d || I, [B, b] = R(n), [E, C] = R(h(n)), [V, P] = R(!1), k = (g) => {
1980
- P(!0), N(!0), O(g);
1981
- }, p = () => {
1982
- P(!1), N(!1);
1976
+ }, c = (g = !1) => g ? i : i == 1 / 0 ? s[(s == null ? void 0 : s.length) - 1].value : i, h = (g = !1) => g ? a : a == -1 / 0 ? s[0].value : a, v = (g) => {
1977
+ const x = h(!1);
1978
+ return (c(!1) - x) * g / 100 + x;
1979
+ }, [b, L] = R(!1), I = j(null), w = f || I, [B, N] = R(n), [E, C] = R(m(n)), [V, P] = R(!1), k = (g) => {
1980
+ P(!0), L(!0), O(g);
1981
+ }, y = () => {
1982
+ P(!1), L(!1);
1983
1983
  };
1984
- $(() => (V ? (window.addEventListener("mouseup", p), window.addEventListener("mousemove", O), window.addEventListener("touchend", p), window.addEventListener("touchmove", O)) : (window.removeEventListener("mouseup", p), window.removeEventListener("mousemove", O), window.removeEventListener("touchend", p), window.removeEventListener("touchmove", O)), () => {
1985
- window.removeEventListener("mouseup", p), window.removeEventListener("mousemove", O), window.removeEventListener("touchend", p), window.removeEventListener("touchmove", O);
1984
+ $(() => (V ? (window.addEventListener("mouseup", y), window.addEventListener("mousemove", O), window.addEventListener("touchend", y), window.addEventListener("touchmove", O)) : (window.removeEventListener("mouseup", y), window.removeEventListener("mousemove", O), window.removeEventListener("touchend", y), window.removeEventListener("touchmove", O)), () => {
1985
+ window.removeEventListener("mouseup", y), window.removeEventListener("mousemove", O), window.removeEventListener("touchend", y), window.removeEventListener("touchmove", O);
1986
1986
  }), [V]);
1987
1987
  const M = He({
1988
1988
  className: e,
1989
- isChanging: L,
1990
- marks: c,
1989
+ isChanging: b,
1990
+ marks: s,
1991
1991
  max: i,
1992
1992
  min: a,
1993
- name: l,
1993
+ name: o,
1994
1994
  step: r,
1995
1995
  value: B,
1996
1996
  valueFormatter: t,
1997
- onChange: o
1997
+ onChange: l
1998
1998
  }), O = (g) => {
1999
1999
  const x = w == null ? void 0 : w.current;
2000
2000
  if (x) {
@@ -2007,30 +2007,30 @@ const we = ({
2007
2007
  }) => {
2008
2008
  if (g) {
2009
2009
  if (g >= 100) {
2010
- b(s(!0)), C(100);
2010
+ N(c(!0)), C(100);
2011
2011
  return;
2012
2012
  }
2013
2013
  if (g <= 0) {
2014
- b(y(!0)), C(0);
2014
+ N(h(!0)), C(0);
2015
2015
  return;
2016
2016
  }
2017
- x = v(g), x == y() && (x = y(!0)), x == s() && (x = s(!0));
2017
+ x = v(g), x == h() && (x = h(!0)), x == c() && (x = c(!0));
2018
2018
  } else if (x != null) {
2019
- if (x >= s()) {
2020
- b(s(!0)), C(100);
2019
+ if (x >= c()) {
2020
+ N(c(!0)), C(100);
2021
2021
  return;
2022
2022
  }
2023
- if (x <= y()) {
2024
- b(y(!0)), C(0);
2023
+ if (x <= h()) {
2024
+ N(h(!0)), C(0);
2025
2025
  return;
2026
2026
  }
2027
- g = h(x);
2027
+ g = m(x);
2028
2028
  } else
2029
2029
  return;
2030
- r != null ? x = Math.round((x - y()) / r) * r + y() : c && (x = c.reduce((W, F, S) => {
2031
- let X = F.value === 1 / 0 ? s() : F.value === -1 / 0 ? y() : F.value, H = W.value === 1 / 0 ? s() : W.value === -1 / 0 ? y() : W.value;
2030
+ r != null ? x = Math.round((x - h()) / r) * r + h() : s && (x = s.reduce((W, F, S) => {
2031
+ let X = F.value === 1 / 0 ? c() : F.value === -1 / 0 ? h() : F.value, H = W.value === 1 / 0 ? c() : W.value === -1 / 0 ? h() : W.value;
2032
2032
  return X = Math.abs(X - x), H = Math.abs(H - x), X < H ? F : W;
2033
- }).value), x >= s() && (x = s(!0)), x <= y() && (x = y(!0)), g = h(x), b(x), C(g), o && o(x);
2033
+ }).value), x >= c() && (x = c(!0)), x <= h() && (x = h(!0)), g = m(x), N(x), C(g), l && l(x);
2034
2034
  }, [Z, q] = R(0);
2035
2035
  return $(() => {
2036
2036
  const g = () => {
@@ -2048,16 +2048,16 @@ const we = ({
2048
2048
  case "ArrowRight":
2049
2049
  if (r)
2050
2050
  K({ value: B + r });
2051
- else if (c) {
2052
- const x = c.find((W) => W.value > B);
2051
+ else if (s) {
2052
+ const x = s.find((W) => W.value > B);
2053
2053
  x && K({ value: x.value });
2054
2054
  }
2055
2055
  break;
2056
2056
  case "ArrowLeft":
2057
2057
  if (r)
2058
2058
  K({ value: B - r });
2059
- else if (c) {
2060
- const x = c.slice(0).reverse().find((W, F, S) => B === 1 / 0 ? F === 1 : W.value < B);
2059
+ else if (s) {
2060
+ const x = s.slice(0).reverse().find((W, F, S) => B === 1 / 0 ? F === 1 : W.value < B);
2061
2061
  x && K({ value: x.value });
2062
2062
  }
2063
2063
  break;
@@ -2066,8 +2066,8 @@ const we = ({
2066
2066
  }
2067
2067
  },
2068
2068
  role: "slider",
2069
- "aria-valuemin": y(!0),
2070
- "aria-valuemax": s(!0),
2069
+ "aria-valuemin": h(!0),
2070
+ "aria-valuemax": c(!0),
2071
2071
  "aria-valuenow": B,
2072
2072
  "aria-valuetext": B.toString(),
2073
2073
  className: M.slider,
@@ -2076,9 +2076,9 @@ const we = ({
2076
2076
  ref: w,
2077
2077
  onTouchStart: k,
2078
2078
  onDragStart: (g) => g.preventDefault(),
2079
- ...m,
2079
+ ...p,
2080
2080
  children: [
2081
- /* @__PURE__ */ u("input", { type: "hidden", name: l, value: B }),
2081
+ /* @__PURE__ */ u("input", { type: "hidden", name: o, value: B }),
2082
2082
  /* @__PURE__ */ u(
2083
2083
  "div",
2084
2084
  {
@@ -2086,7 +2086,7 @@ const we = ({
2086
2086
  style: { flex: E / 100 }
2087
2087
  }
2088
2088
  ),
2089
- /* @__PURE__ */ u("div", { className: M.handle, children: /* @__PURE__ */ u(A, { children: L && /* @__PURE__ */ u(
2089
+ /* @__PURE__ */ u("div", { className: M.handle, children: /* @__PURE__ */ u(A, { children: b && /* @__PURE__ */ u(
2090
2090
  U.div,
2091
2091
  {
2092
2092
  className: M.valueIndicator,
@@ -2117,18 +2117,18 @@ const we = ({
2117
2117
  "div",
2118
2118
  {
2119
2119
  className: "w-[calc(100%-12px)] h-full absolute -translate-x-1/2 transform left-1/2",
2120
- children: c && c.map((g, x) => {
2120
+ children: s && s.map((g, x) => {
2121
2121
  let W = null;
2122
- const F = (L ? 9 : 10) / Z * 100, S = h(g.value);
2122
+ const F = (b ? 9 : 10) / Z * 100, S = m(g.value);
2123
2123
  return S <= E - F ? W = !0 : S >= E + F && (W = !1), /* @__PURE__ */ u(
2124
2124
  "div",
2125
2125
  {
2126
- className: f(M.dot, {
2126
+ className: d(M.dot, {
2127
2127
  "bg-primary-container": W != null && W,
2128
2128
  "bg-primary": W != null && !W
2129
2129
  }),
2130
2130
  style: {
2131
- left: `${h(g.value)}%`
2131
+ left: `${m(g.value)}%`
2132
2132
  }
2133
2133
  },
2134
2134
  x
@@ -2162,108 +2162,110 @@ const Rt = ({
2162
2162
  variant: e = "standard",
2163
2163
  className: t,
2164
2164
  children: r,
2165
- title: l,
2165
+ title: o,
2166
2166
  position: n = "right",
2167
2167
  extended: a,
2168
- onExtendedChange: i,
2169
- closeIcon: c = ue,
2170
- transition: d,
2171
- ...o
2168
+ divider: i,
2169
+ onExtendedChange: s,
2170
+ closeIcon: f = ue,
2171
+ transition: l,
2172
+ ...p
2172
2173
  }) => {
2173
- d = { duration: 0.3, ...d };
2174
- const [m, h] = R(a ?? !0), s = Xe({
2175
- transition: d,
2176
- title: l,
2174
+ l = { duration: 0.3, ...l };
2175
+ const [m, c] = R(a ?? !0), h = Xe({
2176
+ transition: l,
2177
+ title: o,
2177
2178
  position: n,
2178
- closeIcon: c,
2179
+ closeIcon: f,
2179
2180
  className: t,
2180
2181
  children: r,
2181
- onExtendedChange: i,
2182
+ onExtendedChange: s,
2183
+ divider: i,
2182
2184
  isExtended: m,
2183
2185
  extended: m,
2184
2186
  variant: e
2185
2187
  });
2186
2188
  $(() => {
2187
- i == null || i(m ?? !1);
2189
+ s == null || s(m ?? !1);
2188
2190
  }, [m]), $(() => {
2189
- a != null && h(a);
2191
+ a != null && c(a);
2190
2192
  }, [a]);
2191
- const y = {
2193
+ const v = {
2192
2194
  close: {
2193
2195
  width: 0
2194
2196
  },
2195
2197
  open: {
2196
2198
  width: "auto"
2197
2199
  }
2198
- }, v = () => /* @__PURE__ */ D(te, { children: [
2200
+ }, b = () => /* @__PURE__ */ D(te, { children: [
2199
2201
  /* @__PURE__ */ u(A, { children: e == "modal" && m && /* @__PURE__ */ u(
2200
2202
  U.div,
2201
2203
  {
2202
2204
  initial: { opacity: 0 },
2203
2205
  animate: { opacity: 1 },
2204
2206
  exit: { opacity: 0 },
2205
- transition: d,
2206
- onClick: () => h(!1),
2207
- className: s.overlay
2207
+ transition: l,
2208
+ onClick: () => c(!1),
2209
+ className: h.overlay
2208
2210
  }
2209
2211
  ) }),
2210
2212
  /* @__PURE__ */ u(A, { children: m && /* @__PURE__ */ D(
2211
2213
  "div",
2212
2214
  {
2213
- ...o,
2214
- className: s.slideSheet,
2215
- style: { transition: d.duration + "s" },
2215
+ ...p,
2216
+ className: h.slideSheet,
2217
+ style: { transition: l.duration + "s" },
2216
2218
  children: [
2217
2219
  /* @__PURE__ */ D(
2218
2220
  U.div,
2219
2221
  {
2220
- variants: y,
2222
+ variants: v,
2221
2223
  initial: a === !1 ? "open" : "close",
2222
2224
  animate: "open",
2223
2225
  exit: "close",
2224
- className: s.container,
2226
+ className: h.container,
2225
2227
  children: [
2226
- /* @__PURE__ */ D("div", { className: s.header, children: [
2227
- l && /* @__PURE__ */ u("p", { className: s.title, children: l }),
2228
+ /* @__PURE__ */ D("div", { className: h.header, children: [
2229
+ o && /* @__PURE__ */ u("p", { className: h.title, children: o }),
2228
2230
  /* @__PURE__ */ u(
2229
2231
  ie,
2230
2232
  {
2231
2233
  size: "small",
2232
2234
  label: "close",
2233
- icon: c,
2234
- onClick: () => h(!1),
2235
- className: s.closeButton
2235
+ icon: f,
2236
+ onClick: () => c(!1),
2237
+ className: h.closeButton
2236
2238
  }
2237
2239
  )
2238
2240
  ] }),
2239
2241
  /* @__PURE__ */ u(
2240
2242
  "div",
2241
2243
  {
2242
- className: s.content,
2243
- style: { transition: d.duration + "s" },
2244
+ className: h.content,
2245
+ style: { transition: l.duration + "s" },
2244
2246
  children: r
2245
2247
  }
2246
2248
  )
2247
2249
  ]
2248
2250
  }
2249
2251
  ),
2250
- /* @__PURE__ */ u(tt, { className: s.divider, orientation: "vertical" })
2252
+ (i == null && e == "standard" ? !0 : i) && /* @__PURE__ */ u(tt, { className: h.divider, orientation: "vertical" })
2251
2253
  ]
2252
2254
  }
2253
2255
  ) })
2254
2256
  ] });
2255
- return e == "modal" ? ye(v(), document.body) : v();
2257
+ return e == "modal" ? ye(b(), document.body) : b();
2256
2258
  }, Ct = ({
2257
2259
  message: e,
2258
2260
  className: t,
2259
2261
  duration: r,
2260
- closeIcon: l = ue,
2262
+ closeIcon: o = ue,
2261
2263
  onClose: n,
2262
2264
  ...a
2263
2265
  }) => {
2264
- const [i, c] = R(!0), d = Oe({
2266
+ const [i, s] = R(!0), f = Oe({
2265
2267
  className: t,
2266
- closeIcon: l,
2268
+ closeIcon: o,
2267
2269
  duration: r,
2268
2270
  isVisible: i,
2269
2271
  onClose: n,
@@ -2271,11 +2273,11 @@ const Rt = ({
2271
2273
  });
2272
2274
  $(() => {
2273
2275
  r && setTimeout(() => {
2274
- o();
2276
+ l();
2275
2277
  }, r);
2276
2278
  }, [r]);
2277
- const o = () => {
2278
- c(!1), n == null || n();
2279
+ const l = () => {
2280
+ s(!1), n == null || n();
2279
2281
  };
2280
2282
  return /* @__PURE__ */ u(A, { children: i && /* @__PURE__ */ u(
2281
2283
  U.div,
@@ -2284,16 +2286,16 @@ const Rt = ({
2284
2286
  animate: { height: "auto" },
2285
2287
  exit: { height: 0 },
2286
2288
  transition: { duration: 0.1 },
2287
- className: d.snackbar,
2289
+ className: f.snackbar,
2288
2290
  ...a,
2289
- children: /* @__PURE__ */ D("div", { className: d.container, children: [
2290
- /* @__PURE__ */ u("p", { className: d.supportingText, children: e }),
2291
+ children: /* @__PURE__ */ D("div", { className: f.container, children: [
2292
+ /* @__PURE__ */ u("p", { className: f.supportingText, children: e }),
2291
2293
  /* @__PURE__ */ u(
2292
2294
  ie,
2293
2295
  {
2294
- onClick: () => o(),
2295
- className: d.icon,
2296
- icon: l,
2296
+ onClick: () => l(),
2297
+ className: f.icon,
2298
+ icon: o,
2297
2299
  label: "close the snackbar"
2298
2300
  }
2299
2301
  )
@@ -2304,62 +2306,62 @@ const Rt = ({
2304
2306
  selected: e = !1,
2305
2307
  className: t,
2306
2308
  activeIcon: r,
2307
- disabled: l = !1,
2309
+ disabled: o = !1,
2308
2310
  inactiveIcon: n,
2309
2311
  onChange: a,
2310
2312
  onClick: i,
2311
- onKeyDown: c,
2312
- ref: d,
2313
- ...o
2313
+ onKeyDown: s,
2314
+ ref: f,
2315
+ ...l
2314
2316
  }) => {
2315
- const [m, h] = R(e), s = (w) => {
2316
- l || (v(), i && i(w));
2317
- }, y = (w) => {
2318
- l || ((w.key === " " || w.key === "Enter") && (w.preventDefault(), v()), c && c(w));
2317
+ const [p, m] = R(e), c = (w) => {
2318
+ o || (v(), i && i(w));
2319
+ }, h = (w) => {
2320
+ o || ((w.key === " " || w.key === "Enter") && (w.preventDefault(), v()), s && s(w));
2319
2321
  }, v = () => {
2320
- h(!m), a == null || a(!m);
2321
- }, L = qe({
2322
+ m(!p), a == null || a(!p);
2323
+ }, b = qe({
2322
2324
  className: t,
2323
- isSelected: m,
2325
+ isSelected: p,
2324
2326
  activeIcon: r,
2325
2327
  inactiveIcon: n,
2326
- disabled: l,
2327
- selected: m,
2328
+ disabled: o,
2329
+ selected: p,
2328
2330
  onChange: a
2329
- }), N = j(null), I = d || N;
2331
+ }), L = j(null), I = f || L;
2330
2332
  return /* @__PURE__ */ D(
2331
2333
  U.div,
2332
2334
  {
2333
2335
  role: "switch",
2334
- "aria-checked": m,
2335
- tabIndex: l ? -1 : 0,
2336
- onKeyDown: y,
2337
- onClick: s,
2336
+ "aria-checked": p,
2337
+ tabIndex: o ? -1 : 0,
2338
+ onKeyDown: h,
2339
+ onClick: c,
2338
2340
  ref: I,
2339
- className: L.switch,
2340
- ...o,
2341
+ className: b.switch,
2342
+ ...l,
2341
2343
  children: [
2342
- /* @__PURE__ */ u("input", { type: "hidden", value: m ? "1" : "0" }),
2344
+ /* @__PURE__ */ u("input", { type: "hidden", value: p ? "1" : "0" }),
2343
2345
  /* @__PURE__ */ D(
2344
2346
  U.div,
2345
2347
  {
2346
2348
  layout: !0,
2347
- style: { translate: m ? "50%" : "-50%" },
2349
+ style: { translate: p ? "50%" : "-50%" },
2348
2350
  transition: {
2349
2351
  type: "spring",
2350
2352
  stiffness: 700,
2351
2353
  damping: 30
2352
2354
  },
2353
- className: L.handleContainer,
2355
+ className: b.handleContainer,
2354
2356
  children: [
2355
- /* @__PURE__ */ u("div", { className: L.handle, children: (m ? r : n) && /* @__PURE__ */ u(
2357
+ /* @__PURE__ */ u("div", { className: b.handle, children: (p ? r : n) && /* @__PURE__ */ u(
2356
2358
  Q,
2357
2359
  {
2358
- className: L.icon,
2359
- icon: m ? r : n
2360
+ className: b.icon,
2361
+ icon: p ? r : n
2360
2362
  }
2361
2363
  ) }),
2362
- /* @__PURE__ */ u("div", { className: L.handleStateLayer })
2364
+ /* @__PURE__ */ u("div", { className: b.handleStateLayer })
2363
2365
  ]
2364
2366
  }
2365
2367
  )
@@ -2370,45 +2372,45 @@ const Rt = ({
2370
2372
  className: e,
2371
2373
  onClick: t,
2372
2374
  label: r,
2373
- variant: l = "primary",
2375
+ variant: o = "primary",
2374
2376
  href: n,
2375
2377
  icon: a,
2376
2378
  selectedTab: i,
2377
- setSelectedTab: c,
2378
- tabsId: d,
2379
- index: o,
2380
- onTabSelected: m,
2381
- scrollable: h = !1,
2382
- selected: s = !1,
2383
- ref: y,
2379
+ setSelectedTab: s,
2380
+ tabsId: f,
2381
+ index: l,
2382
+ onTabSelected: p,
2383
+ scrollable: m = !1,
2384
+ selected: c = !1,
2385
+ ref: h,
2384
2386
  ...v
2385
2387
  }) => {
2386
- const L = j(null), N = y || L, [I, w] = R(s);
2388
+ const b = j(null), L = h || b, [I, w] = R(c);
2387
2389
  $(() => {
2388
- s && i == null ? w(!0) : w(i == o && o != null);
2390
+ c && i == null ? w(!0) : w(i == l && l != null);
2389
2391
  }, [i]), $(() => {
2390
- i == o && m && m({
2391
- ref: N,
2392
- index: o || 0,
2392
+ i == l && p && p({
2393
+ ref: L,
2394
+ index: l || 0,
2393
2395
  label: r,
2394
2396
  icon: a
2395
2397
  });
2396
2398
  }, [i]);
2397
- const B = n ? "a" : "button", b = (C) => {
2398
- c && c(o ?? null), t && t(C);
2399
+ const B = n ? "a" : "button", N = (C) => {
2400
+ s && s(l ?? null), t && t(C);
2399
2401
  }, E = _e({
2400
2402
  className: e,
2401
- onTabSelected: m,
2402
- scrollable: h,
2403
+ onTabSelected: p,
2404
+ scrollable: m,
2403
2405
  selectedTab: i,
2404
- index: o,
2405
- tabsId: d,
2406
+ index: l,
2407
+ tabsId: f,
2406
2408
  selected: I,
2407
- variant: l,
2409
+ variant: o,
2408
2410
  icon: a,
2409
2411
  label: r,
2410
2412
  isSelected: I,
2411
- setSelectedTab: c,
2413
+ setSelectedTab: s,
2412
2414
  href: n
2413
2415
  });
2414
2416
  return /* @__PURE__ */ D(
@@ -2417,17 +2419,17 @@ const Rt = ({
2417
2419
  ...v,
2418
2420
  role: "tab",
2419
2421
  "aria-selected": I,
2420
- ref: N,
2422
+ ref: L,
2421
2423
  href: n,
2422
2424
  className: E.tab,
2423
- onClick: b,
2425
+ onClick: N,
2424
2426
  ...v,
2425
2427
  children: [
2426
2428
  /* @__PURE__ */ u("span", { className: E.stateLayer, children: /* @__PURE__ */ u(
2427
2429
  ne,
2428
2430
  {
2429
- colorName: l === "primary" && I ? "primary" : "on-surface",
2430
- triggerRef: N
2431
+ colorName: o === "primary" && I ? "primary" : "on-surface",
2432
+ triggerRef: L
2431
2433
  }
2432
2434
  ) }),
2433
2435
  /* @__PURE__ */ D("span", { className: E.content, children: [
@@ -2436,7 +2438,7 @@ const Rt = ({
2436
2438
  I && /* @__PURE__ */ u(
2437
2439
  U.span,
2438
2440
  {
2439
- layoutId: `underline-${d}`,
2441
+ layoutId: `underline-${f}`,
2440
2442
  className: E.underline,
2441
2443
  transition: { duration: 0.3 }
2442
2444
  }
@@ -2449,79 +2451,79 @@ const Rt = ({
2449
2451
  variant: e = "primary",
2450
2452
  onTabSelected: t,
2451
2453
  children: r,
2452
- className: l,
2454
+ className: o,
2453
2455
  selectedTab: n,
2454
2456
  setSelectedTab: a,
2455
2457
  scrollable: i = !1
2456
2458
  }) => {
2457
- const [c, d] = R(
2459
+ const [s, f] = R(
2458
2460
  null
2459
2461
  );
2460
- let o;
2461
- n == 0 || n != null ? o = n : o = c;
2462
- const m = a || d, h = Y.Children.toArray(r).filter(
2463
- (N) => Y.isValidElement(N) && N.type === ct
2464
- ), s = Y.useRef(null), y = (N) => {
2465
- if (t == null || t(N), i) {
2466
- const I = s.current, w = N.ref.current;
2462
+ let l;
2463
+ n == 0 || n != null ? l = n : l = s;
2464
+ const p = a || f, m = Y.Children.toArray(r).filter(
2465
+ (L) => Y.isValidElement(L) && L.type === ct
2466
+ ), c = Y.useRef(null), h = (L) => {
2467
+ if (t == null || t(L), i) {
2468
+ const I = c.current, w = L.ref.current;
2467
2469
  if (I && w) {
2468
2470
  const B = w.offsetLeft + w.offsetWidth / 2 - I.offsetWidth / 2;
2469
2471
  I.scrollTo({ left: B, behavior: "smooth" });
2470
2472
  }
2471
2473
  }
2472
- }, v = be(() => ce(), []), L = Ke({
2474
+ }, v = be(() => ce(), []), b = Ke({
2473
2475
  children: r,
2474
2476
  onTabSelected: t,
2475
2477
  scrollable: i,
2476
- selectedTab: o,
2477
- setSelectedTab: m,
2478
- className: l,
2478
+ selectedTab: l,
2479
+ setSelectedTab: p,
2480
+ className: o,
2479
2481
  variant: e
2480
2482
  });
2481
- return /* @__PURE__ */ u("div", { ref: s, role: "tablist", className: L.tabs, children: h.map((N, I) => Y.cloneElement(N, {
2483
+ return /* @__PURE__ */ u("div", { ref: c, role: "tablist", className: b.tabs, children: m.map((L, I) => Y.cloneElement(L, {
2482
2484
  key: I,
2483
2485
  index: I,
2484
2486
  variant: e,
2485
- selectedTab: o,
2486
- setSelectedTab: m,
2487
+ selectedTab: l,
2488
+ setSelectedTab: p,
2487
2489
  tabsId: v,
2488
- onTabSelected: y,
2490
+ onTabSelected: h,
2489
2491
  scrollable: i
2490
2492
  })) });
2491
2493
  }, $t = ({
2492
2494
  variant: e = "filled",
2493
2495
  disabled: t = !1,
2494
2496
  errorText: r,
2495
- placeholder: l,
2497
+ placeholder: o,
2496
2498
  suffix: n,
2497
2499
  name: a,
2498
2500
  label: i,
2499
- className: c,
2500
- supportingText: d,
2501
- trailingIcon: o,
2502
- leadingIcon: m,
2503
- type: h = "text",
2504
- textLine: s = "singleLine",
2505
- autoComplete: y = "on",
2501
+ className: s,
2502
+ supportingText: f,
2503
+ trailingIcon: l,
2504
+ leadingIcon: p,
2505
+ type: m = "text",
2506
+ textLine: c = "singleLine",
2507
+ autoComplete: h = "on",
2506
2508
  onChange: v,
2507
- value: L,
2508
- showSupportingText: N = !1,
2509
+ value: b,
2510
+ showSupportingText: L = !1,
2509
2511
  ...I
2510
2512
  }) => {
2511
- const [w, B] = R(L ?? ""), [b, E] = R(!1), [C, V] = R(!1), [P, k] = R(
2512
- N
2513
+ const [w, B] = R(b ?? ""), [N, E] = R(!1), [C, V] = R(!1), [P, k] = R(
2514
+ L
2513
2515
  );
2514
2516
  $(() => {
2515
- B(L ?? "");
2516
- }, [L]), $(() => {
2517
+ B(b ?? "");
2518
+ }, [b]), $(() => {
2517
2519
  r != null && r.length ? V(!0) : V(!1);
2518
2520
  }, [r]), $(() => {
2519
- N ? k(N) : d != null && d.length ? k(!0) : k(!1);
2520
- }, [P, d]), $(() => {
2521
- b && V(!1);
2522
- }, [b]);
2523
- const p = Y.useRef(null), M = () => {
2524
- p.current && !b && p.current.focus();
2521
+ L ? k(L) : f != null && f.length ? k(!0) : k(!1);
2522
+ }, [P, f]), $(() => {
2523
+ N && V(!1);
2524
+ }, [N]);
2525
+ const y = Y.useRef(null), M = () => {
2526
+ y.current && !N && y.current.focus();
2525
2527
  }, O = () => {
2526
2528
  E(!0);
2527
2529
  }, K = (W) => {
@@ -2531,27 +2533,27 @@ const Rt = ({
2531
2533
  E(!1);
2532
2534
  }, q = Ge({
2533
2535
  showSupportingText: P,
2534
- isFocused: b,
2536
+ isFocused: N,
2535
2537
  showErrorIcon: C,
2536
2538
  disabled: t,
2537
2539
  name: a,
2538
2540
  label: i,
2539
- autoComplete: y,
2540
- className: c,
2541
+ autoComplete: h,
2542
+ className: s,
2541
2543
  onChange: v,
2542
- placeholder: l,
2543
- supportingText: d,
2544
- type: h,
2545
- leadingIcon: m,
2546
- trailingIcon: o,
2544
+ placeholder: o,
2545
+ supportingText: f,
2546
+ type: m,
2547
+ leadingIcon: p,
2548
+ trailingIcon: l,
2547
2549
  variant: e,
2548
2550
  errorText: r,
2549
2551
  value: w,
2550
2552
  suffix: n,
2551
- textLine: s
2553
+ textLine: c
2552
2554
  }), [z] = R(ce());
2553
2555
  let g, x;
2554
- switch (s) {
2556
+ switch (c) {
2555
2557
  case "multiLine":
2556
2558
  x = Re, g = {};
2557
2559
  break;
@@ -2560,14 +2562,14 @@ const Rt = ({
2560
2562
  break;
2561
2563
  case "singleLine":
2562
2564
  default:
2563
- x = "input", g = { type: h };
2565
+ x = "input", g = { type: m };
2564
2566
  break;
2565
2567
  }
2566
2568
  return /* @__PURE__ */ D("div", { className: q.textField, ...I, children: [
2567
2569
  /* @__PURE__ */ D("fieldset", { onClick: M, className: q.content, children: [
2568
2570
  /* @__PURE__ */ u("div", { className: q.stateLayer }),
2569
- m && /* @__PURE__ */ u("div", { className: q.leadingIcon, children: Y.isValidElement(m) ? m : /* @__PURE__ */ u(Q, { className: "w-5 h-5", icon: m }) }),
2570
- !(!b && !w.length || e == "filled") && /* @__PURE__ */ u(
2571
+ p && /* @__PURE__ */ u("div", { className: q.leadingIcon, children: Y.isValidElement(p) ? p : /* @__PURE__ */ u(Q, { className: "w-5 h-5", icon: p }) }),
2572
+ !(!N && !w.length || e == "filled") && /* @__PURE__ */ u(
2571
2573
  U.legend,
2572
2574
  {
2573
2575
  variants: {
@@ -2575,7 +2577,7 @@ const Rt = ({
2575
2577
  visible: { width: "auto", padding: "0 8px" }
2576
2578
  },
2577
2579
  initial: "hidden",
2578
- animate: !b && !w.length ? "hidden" : "visible",
2580
+ animate: !N && !w.length ? "hidden" : "visible",
2579
2581
  className: "max-w-full ml-2 px-2 text-body-small h-0",
2580
2582
  transition: { duration: 0.2 },
2581
2583
  children: /* @__PURE__ */ u("span", { className: "transform inline-flex -translate-y-1/2", children: /* @__PURE__ */ u(
@@ -2590,15 +2592,15 @@ const Rt = ({
2590
2592
  }
2591
2593
  ),
2592
2594
  /* @__PURE__ */ D("div", { className: "flex-1 relative", children: [
2593
- (!b && !w.length || e == "filled") && /* @__PURE__ */ u(
2595
+ (!N && !w.length || e == "filled") && /* @__PURE__ */ u(
2594
2596
  U.label,
2595
2597
  {
2596
2598
  htmlFor: a,
2597
- className: f(
2599
+ className: d(
2598
2600
  "absolute left-4 transition-all duration-300",
2599
2601
  {
2600
- "text-body-small top-2": e == "filled" && !(!b && !w.length),
2601
- "text-body-large top-1/2 transform -translate-y-1/2": !(e == "filled" && !(!b && !w.length))
2602
+ "text-body-small top-2": e == "filled" && !(!N && !w.length),
2603
+ "text-body-large top-1/2 transform -translate-y-1/2": !(e == "filled" && !(!N && !w.length))
2602
2604
  }
2603
2605
  ),
2604
2606
  transition: { duration: 0.3 },
@@ -2616,17 +2618,17 @@ const Rt = ({
2616
2618
  /* @__PURE__ */ u(
2617
2619
  x,
2618
2620
  {
2619
- ref: p,
2621
+ ref: y,
2620
2622
  value: w,
2621
2623
  onChange: K,
2622
2624
  className: q.input,
2623
2625
  id: a,
2624
2626
  name: a,
2625
- placeholder: b ? l ?? void 0 : "",
2627
+ placeholder: N ? o ?? void 0 : "",
2626
2628
  onFocus: O,
2627
2629
  onBlur: Z,
2628
2630
  disabled: t,
2629
- autoComplete: y,
2631
+ autoComplete: h,
2630
2632
  "aria-invalid": !!(r != null && r.length),
2631
2633
  "aria-label": i,
2632
2634
  ...g
@@ -2635,23 +2637,23 @@ const Rt = ({
2635
2637
  ] }),
2636
2638
  /* @__PURE__ */ u("div", { className: q.activeIndicator }),
2637
2639
  !C && /* @__PURE__ */ D(te, { children: [
2638
- o && /* @__PURE__ */ u(
2640
+ l && /* @__PURE__ */ u(
2639
2641
  "div",
2640
2642
  {
2641
2643
  onClick: (W) => {
2642
2644
  W.stopPropagation();
2643
2645
  },
2644
2646
  className: q.trailingIcon,
2645
- children: Y.isValidElement(o) ? o : /* @__PURE__ */ u(Q, { className: "h-5", icon: o })
2647
+ children: Y.isValidElement(l) ? l : /* @__PURE__ */ u(Q, { className: "h-5", icon: l })
2646
2648
  }
2647
2649
  ),
2648
- !o && n && /* @__PURE__ */ u("span", { className: q.suffix, children: n })
2650
+ !l && n && /* @__PURE__ */ u("span", { className: q.suffix, children: n })
2649
2651
  ] }),
2650
2652
  C && /* @__PURE__ */ u(
2651
2653
  "div",
2652
2654
  {
2653
- className: f(q.trailingIcon, {
2654
- " absolute right-0": !o
2655
+ className: d(q.trailingIcon, {
2656
+ " absolute right-0": !l
2655
2657
  }),
2656
2658
  children: /* @__PURE__ */ u(
2657
2659
  Q,
@@ -2663,103 +2665,103 @@ const Rt = ({
2663
2665
  }
2664
2666
  )
2665
2667
  ] }),
2666
- P && /* @__PURE__ */ u("p", { className: q.supportingText, children: r != null && r.length ? r : d != null && d.length ? d : " " })
2668
+ P && /* @__PURE__ */ u("p", { className: q.supportingText, children: r != null && r.length ? r : f != null && f.length ? f : " " })
2667
2669
  ] });
2668
2670
  }, it = _(
2669
2671
  "navigationRailItem",
2670
- ({ isSelected: e, icon: t, label: r, variant: l }) => ({
2671
- navigationRailItem: f(
2672
+ ({ isSelected: e, icon: t, label: r, variant: o }) => ({
2673
+ navigationRailItem: d(
2672
2674
  " group flex flex-col pt-1 pb-1.5 cursor-pointer",
2673
2675
  {
2674
2676
  "text-on-surface-variant": !e,
2675
2677
  "text-on-secondary-container": e,
2676
- "gap-2 h-[68px]": l == "vertical",
2677
- "gap-0 h-[66px]": l == "horizontal"
2678
+ "gap-2 h-[68px]": o == "vertical",
2679
+ "gap-0 h-[66px]": o == "horizontal"
2678
2680
  }
2679
2681
  ),
2680
- container: f(
2682
+ container: d(
2681
2683
  " w-fit flex justify-center relative rounded-full items-center mx-5",
2682
2684
  {
2683
2685
  "bg-secondary-container overflow-hidden": e,
2684
- "gap-2 ": l == "horizontal",
2685
- "gap-0 ": l == "vertical",
2686
+ "gap-2 ": o == "horizontal",
2687
+ "gap-0 ": o == "vertical",
2686
2688
  "p-4": !r
2687
2689
  },
2688
2690
  r && [
2689
2691
  "px-4",
2690
2692
  {
2691
- "py-1 ": l == "vertical",
2692
- "py-4 ": l == "horizontal"
2693
+ "py-1 ": o == "vertical",
2694
+ "py-4 ": o == "horizontal"
2693
2695
  }
2694
2696
  ]
2695
2697
  ),
2696
- stateLayer: f(
2698
+ stateLayer: d(
2697
2699
  " absolute w-full rounded-full h-full left-0 top-0 ",
2698
2700
  {
2699
2701
  "group-state-on-surface": !e,
2700
2702
  "group-state-on-secondary-container": e
2701
2703
  }
2702
2704
  ),
2703
- icon: f("size-6 flex"),
2704
- label: f("w-fit mx-auto text-nowrap", {
2705
- "text-label-large ": l == "horizontal",
2706
- "text-label-medium": l == "vertical"
2705
+ icon: d("size-6 flex"),
2706
+ label: d("w-fit mx-auto text-nowrap", {
2707
+ "text-label-large ": o == "horizontal",
2708
+ "text-label-medium": o == "vertical"
2707
2709
  })
2708
2710
  })
2709
2711
  ), ut = ({ label: e }) => /* @__PURE__ */ u("div", { className: " h-9 flex items-center mx-9 mt-3", children: /* @__PURE__ */ u("p", { className: "text-label-large text-on-surface-variant", children: e }) }), dt = ({
2710
2712
  className: e,
2711
2713
  onClick: t,
2712
2714
  label: r,
2713
- variant: l = "vertical",
2715
+ variant: o = "vertical",
2714
2716
  href: n,
2715
2717
  icon: a,
2716
2718
  selectedItem: i,
2717
- setSelectedItem: c,
2718
- index: d,
2719
- onItemSelected: o,
2720
- selected: m = !1,
2721
- ref: h,
2722
- transition: s,
2723
- isExtended: y,
2719
+ setSelectedItem: s,
2720
+ index: f,
2721
+ onItemSelected: l,
2722
+ selected: p = !1,
2723
+ ref: m,
2724
+ transition: c,
2725
+ isExtended: h,
2724
2726
  iconSelected: v,
2725
- style: L,
2726
- extendedOnly: N,
2727
+ style: b,
2728
+ extendedOnly: L,
2727
2729
  children: I,
2728
2730
  ...w
2729
2731
  }) => {
2730
2732
  I && (r = I);
2731
- const B = j(null), b = h || B, [E, C] = R(m);
2733
+ const B = j(null), N = m || B, [E, C] = R(p);
2732
2734
  $(() => {
2733
- m && i == null ? C(!0) : C(i == d && d != null);
2735
+ p && i == null ? C(!0) : C(i == f && f != null);
2734
2736
  }, [i]), $(() => {
2735
- i == d && o && o({
2736
- ref: b,
2737
- index: d || 0,
2737
+ i == f && l && l({
2738
+ ref: N,
2739
+ index: f || 0,
2738
2740
  label: r,
2739
2741
  icon: a
2740
2742
  });
2741
2743
  }, [i]);
2742
- const V = n ? "a" : "button", P = (p) => {
2743
- c && c(d ?? null), t && t(p);
2744
+ const V = n ? "a" : "button", P = (y) => {
2745
+ s && s(f ?? null), t && t(y);
2744
2746
  }, k = it({
2745
- isExtended: y,
2746
- extendedOnly: N,
2747
+ isExtended: h,
2748
+ extendedOnly: L,
2747
2749
  className: e,
2748
- onItemSelected: o,
2750
+ onItemSelected: l,
2749
2751
  selectedItem: i,
2750
- index: d,
2751
- transition: s,
2752
+ index: f,
2753
+ transition: c,
2752
2754
  selected: E,
2753
- variant: l,
2755
+ variant: o,
2754
2756
  icon: a,
2755
2757
  label: r,
2756
2758
  isSelected: E,
2757
- setSelectedItem: c,
2759
+ setSelectedItem: s,
2758
2760
  href: n,
2759
2761
  children: r,
2760
2762
  iconSelected: v
2761
2763
  });
2762
- return s = { duration: 0.3, ...s }, N && !y ? null : (
2764
+ return c = { duration: 0.3, ...c }, L && !h ? null : (
2763
2765
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2764
2766
  // @ts-expect-error
2765
2767
  /* @__PURE__ */ D(
@@ -2768,19 +2770,19 @@ const Rt = ({
2768
2770
  ...w,
2769
2771
  role: "tab",
2770
2772
  "aria-selected": E,
2771
- ref: b,
2773
+ ref: N,
2772
2774
  href: n,
2773
2775
  className: k.navigationRailItem,
2774
2776
  onClick: P,
2775
- style: { transition: s.duration + "s", ...L },
2777
+ style: { transition: c.duration + "s", ...b },
2776
2778
  children: [
2777
2779
  /* @__PURE__ */ D(
2778
2780
  U.div,
2779
2781
  {
2780
2782
  style: {
2781
- transition: l == "horizontal" ? s.duration + `s, gap ${s.duration / 2}s ${s.duration - s.duration / 2}s` : s.duration + `s, gap ${s.duration / 3}s ${s.duration - s.duration / 3}s`
2783
+ transition: o == "horizontal" ? c.duration + `s, gap ${c.duration / 2}s ${c.duration - c.duration / 2}s` : c.duration + `s, gap ${c.duration / 3}s ${c.duration - c.duration / 3}s`
2782
2784
  },
2783
- transition: s,
2785
+ transition: c,
2784
2786
  className: k.container,
2785
2787
  children: [
2786
2788
  /* @__PURE__ */ u(U.div, { layout: !0, className: k.stateLayer }),
@@ -2791,30 +2793,30 @@ const Rt = ({
2791
2793
  className: k.icon
2792
2794
  }
2793
2795
  ),
2794
- /* @__PURE__ */ u(A, { children: l == "horizontal" && (() => {
2795
- const p = {
2796
+ /* @__PURE__ */ u(A, { children: o == "horizontal" && (() => {
2797
+ const y = {
2796
2798
  width: 0,
2797
2799
  opacity: 0,
2798
2800
  transition: {
2799
- ...s
2801
+ ...c
2800
2802
  }
2801
2803
  }, M = {
2802
2804
  width: "auto",
2803
2805
  opacity: 1,
2804
2806
  transition: {
2805
- ...s,
2807
+ ...c,
2806
2808
  opacity: {
2807
- duration: s.duration / 2,
2808
- delay: s.duration - s.duration / 2
2809
+ duration: c.duration / 2,
2810
+ delay: c.duration - c.duration / 2
2809
2811
  }
2810
2812
  }
2811
2813
  };
2812
2814
  return /* @__PURE__ */ u(
2813
2815
  U.span,
2814
2816
  {
2815
- initial: p,
2817
+ initial: y,
2816
2818
  animate: M,
2817
- exit: p,
2819
+ exit: y,
2818
2820
  className: k.label,
2819
2821
  children: r
2820
2822
  }
@@ -2823,12 +2825,12 @@ const Rt = ({
2823
2825
  ]
2824
2826
  }
2825
2827
  ),
2826
- /* @__PURE__ */ u(A, { children: l == "vertical" && (() => {
2827
- const p = {
2828
+ /* @__PURE__ */ u(A, { children: o == "vertical" && (() => {
2829
+ const y = {
2828
2830
  height: 0,
2829
2831
  opacity: 0,
2830
2832
  transition: {
2831
- ...s,
2833
+ ...c,
2832
2834
  opacity: {
2833
2835
  duration: 0
2834
2836
  }
@@ -2837,10 +2839,10 @@ const Rt = ({
2837
2839
  height: "auto",
2838
2840
  opacity: 1,
2839
2841
  transition: {
2840
- ...s,
2842
+ ...c,
2841
2843
  opacity: {
2842
- duration: s.duration / 3,
2843
- delay: s.duration - s.duration / 3
2844
+ duration: c.duration / 3,
2845
+ delay: c.duration - c.duration / 3
2844
2846
  }
2845
2847
  }
2846
2848
  };
@@ -2849,9 +2851,9 @@ const Rt = ({
2849
2851
  {
2850
2852
  initial: M,
2851
2853
  animate: M,
2852
- exit: p,
2854
+ exit: y,
2853
2855
  className: k.label,
2854
- transition: s,
2856
+ transition: c,
2855
2857
  children: r
2856
2858
  }
2857
2859
  );
@@ -2863,15 +2865,15 @@ const Rt = ({
2863
2865
  }, ft = _(
2864
2866
  "navigationRail",
2865
2867
  ({ isExtended: e, alignment: t }) => ({
2866
- navigationRail: f("flex flex-col left-0 h-full top-0 pt-11", {
2868
+ navigationRail: d("flex flex-col left-0 h-full top-0 pt-11", {
2867
2869
  "w-fit max-w-24": !e,
2868
2870
  "w-fit min-w-[220px] max-w-[360px]": e,
2869
2871
  "justify-between": t == "middle",
2870
2872
  "justify-start": t == "top"
2871
2873
  }),
2872
- header: f("flex flex-col gap-1 items-start"),
2874
+ header: d("flex flex-col gap-1 items-start"),
2873
2875
  menuIcon: "mx-5",
2874
- segments: f(" flex flex-col overflow-auto min-w-full mt-10", {
2876
+ segments: d(" flex flex-col overflow-auto min-w-full mt-10", {
2875
2877
  "w-full": !e,
2876
2878
  "w-fit items-start": e
2877
2879
  })
@@ -2880,11 +2882,11 @@ const Rt = ({
2880
2882
  variant: e = "standard",
2881
2883
  onItemSelected: t,
2882
2884
  children: r,
2883
- className: l,
2885
+ className: o,
2884
2886
  selectedItem: n,
2885
2887
  extended: a,
2886
2888
  alignment: i = "top",
2887
- menu: c = {
2889
+ menu: s = {
2888
2890
  closed: {
2889
2891
  icon: st,
2890
2892
  label: "Open menu"
@@ -2894,47 +2896,47 @@ const Rt = ({
2894
2896
  label: "Close menu"
2895
2897
  }
2896
2898
  },
2897
- style: d,
2898
- onExtendedChange: o,
2899
- transition: m,
2900
- setSelectedItem: h
2899
+ style: f,
2900
+ onExtendedChange: l,
2901
+ transition: p,
2902
+ setSelectedItem: m
2901
2903
  }) => {
2902
- const [s, y] = R(null), [v, L] = R(a);
2903
- let N;
2904
- n == 0 || n != null ? N = n : N = s;
2905
- const I = h || y, w = j(null), B = (k) => {
2904
+ const [c, h] = R(null), [v, b] = R(a);
2905
+ let L;
2906
+ n == 0 || n != null ? L = n : L = c;
2907
+ const I = m || h, w = j(null), B = (k) => {
2906
2908
  t == null || t(k);
2907
2909
  };
2908
- function b(k) {
2909
- const p = [];
2910
+ function N(k) {
2911
+ const y = [];
2910
2912
  return Ne.forEach(k, (M) => {
2911
- ee(M) && M.type === Le ? p.push(...b(M.props.children)) : p.push(M);
2912
- }), p;
2913
+ ee(M) && M.type === Le ? y.push(...N(M.props.children)) : y.push(M);
2914
+ }), y;
2913
2915
  }
2914
- const E = b(r), C = E.filter(
2916
+ const E = N(r), C = E.filter(
2915
2917
  (k) => ee(k) && k.type === fe
2916
2918
  ), V = ft({
2917
2919
  children: r,
2918
2920
  onItemSelected: t,
2919
- selectedItem: N,
2921
+ selectedItem: L,
2920
2922
  setSelectedItem: I,
2921
- className: l,
2923
+ className: o,
2922
2924
  variant: e,
2923
2925
  extended: v,
2924
2926
  isExtended: v,
2925
2927
  alignment: i,
2926
- menu: c,
2927
- transition: m,
2928
- onExtendedChange: o
2928
+ menu: s,
2929
+ transition: p,
2930
+ onExtendedChange: l
2929
2931
  });
2930
- m = { duration: 0.3, ...m };
2932
+ p = { duration: 0.3, ...p };
2931
2933
  const P = j(!1);
2932
2934
  return P.current = !1, $(() => {
2933
- o == null || o(v ?? !1);
2935
+ l == null || l(v ?? !1);
2934
2936
  }, [v]), /* @__PURE__ */ D(
2935
2937
  "div",
2936
2938
  {
2937
- style: { transition: m.duration + "s", ...d },
2939
+ style: { transition: p.duration + "s", ...f },
2938
2940
  ref: w,
2939
2941
  className: V.navigationRail,
2940
2942
  children: [
@@ -2942,35 +2944,35 @@ const Rt = ({
2942
2944
  /* @__PURE__ */ u(
2943
2945
  ie,
2944
2946
  {
2945
- onClick: () => L(!v),
2946
- label: v ? c == null ? void 0 : c.opened.label : c == null ? void 0 : c.closed.label,
2947
+ onClick: () => b(!v),
2948
+ label: v ? s == null ? void 0 : s.opened.label : s == null ? void 0 : s.closed.label,
2947
2949
  className: V.menuIcon,
2948
- icon: v ? c.opened.icon : c == null ? void 0 : c.closed.icon
2950
+ icon: v ? s.opened.icon : s == null ? void 0 : s.closed.icon
2949
2951
  }
2950
2952
  ),
2951
2953
  C.length > 0 && le(C[0], {
2952
- transition: m,
2954
+ transition: p,
2953
2955
  isExtended: v,
2954
2956
  className: "!shadow-none mx-5 " + C[0].props.className
2955
2957
  })
2956
2958
  ] }),
2957
2959
  /* @__PURE__ */ u("div", { className: V.segments, children: (() => {
2958
2960
  let k = 0;
2959
- return E.map((p) => ee(p) && p.type === dt ? le(
2960
- p,
2961
+ return E.map((y) => ee(y) && y.type === dt ? le(
2962
+ y,
2961
2963
  {
2962
2964
  key: k,
2963
2965
  index: k++,
2964
2966
  // Utilise et incrémente le compteur dédié
2965
2967
  variant: v ? "horizontal" : "vertical",
2966
- selectedItem: N,
2968
+ selectedItem: L,
2967
2969
  setSelectedItem: I,
2968
2970
  onItemSelected: B,
2969
- transition: m,
2971
+ transition: p,
2970
2972
  extendedOnly: P.current,
2971
2973
  isExtended: v
2972
2974
  }
2973
- ) : ee(p) && p.type === fe ? null : ee(p) && p.type === ut ? (P.current = !0, v ? le(p, {}) : null) : p);
2975
+ ) : ee(y) && y.type === fe ? null : ee(y) && y.type === ut ? (P.current = !0, v ? le(y, {}) : null) : y);
2974
2976
  })() }),
2975
2977
  /* @__PURE__ */ u("div", { className: "flex-1 max-h-[160px]" })
2976
2978
  ]
@@ -2992,7 +2994,7 @@ export {
2992
2994
  ut as NavigationRailSection,
2993
2995
  Ze as ProgressIndicator,
2994
2996
  ne as RippleEffect,
2995
- Rt as SlideSheet,
2997
+ Rt as SideSheet,
2996
2998
  St as Slider,
2997
2999
  Lt as SmoothScroll,
2998
3000
  Ct as Snackbar,
@@ -3007,7 +3009,7 @@ export {
3007
3009
  Pe as cardStyle,
3008
3010
  We as carouselItemStyle,
3009
3011
  De as carouselStyle,
3010
- f as classNames,
3012
+ d as classNames,
3011
3013
  Ce as classnames,
3012
3014
  Je as customScrollStyle,
3013
3015
  _ as defaultClassNames,
@@ -3017,7 +3019,7 @@ export {
3017
3019
  Ue as iconButtonStyle,
3018
3020
  Te as normalize,
3019
3021
  Fe as progressIndicatorStyle,
3020
- Xe as slideSheetStyle,
3022
+ Xe as sideSheetStyle,
3021
3023
  He as sliderStyle,
3022
3024
  Oe as snackbarStyle,
3023
3025
  qe as switchStyle,