react-modern-audio-player 0.0.1 → 0.0.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.es.js CHANGED
@@ -1,75 +1,25 @@
1
1
  import './index.css';
2
- var __defProp = Object.defineProperty;
3
- var __defProps = Object.defineProperties;
4
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
5
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
8
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
- var __spreadValues = (a, b) => {
10
- for (var prop in b || (b = {}))
11
- if (__hasOwnProp.call(b, prop))
12
- __defNormalProp(a, prop, b[prop]);
13
- if (__getOwnPropSymbols)
14
- for (var prop of __getOwnPropSymbols(b)) {
15
- if (__propIsEnum.call(b, prop))
16
- __defNormalProp(a, prop, b[prop]);
17
- }
18
- return a;
19
- };
20
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
- var __objRest = (source, exclude) => {
22
- var target = {};
23
- for (var prop in source)
24
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
25
- target[prop] = source[prop];
26
- if (source != null && __getOwnPropSymbols)
27
- for (var prop of __getOwnPropSymbols(source)) {
28
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
29
- target[prop] = source[prop];
30
- }
31
- return target;
32
- };
33
2
  import $d7FTw$react, { useContext, useState, useLayoutEffect, useMemo, useEffect, useCallback, useRef, useImperativeHandle, createContext, useReducer, forwardRef, cloneElement } from "react";
34
3
  import $k7QOs$reactdom from "react-dom";
35
4
  import styled, { createGlobalStyle, keyframes, css } from "styled-components";
36
5
  var main$6 = "";
37
- function toVal(mix) {
38
- var k2, y, str = "";
39
- if (typeof mix === "string" || typeof mix === "number") {
40
- str += mix;
41
- } else if (typeof mix === "object") {
42
- if (Array.isArray(mix)) {
43
- for (k2 = 0; k2 < mix.length; k2++) {
44
- if (mix[k2]) {
45
- if (y = toVal(mix[k2])) {
46
- str && (str += " ");
47
- str += y;
48
- }
49
- }
50
- }
51
- } else {
52
- for (k2 in mix) {
53
- if (mix[k2]) {
54
- str && (str += " ");
55
- str += k2;
56
- }
57
- }
58
- }
59
- }
60
- return str;
6
+ function r(e) {
7
+ var t, f2, n2 = "";
8
+ if ("string" == typeof e || "number" == typeof e)
9
+ n2 += e;
10
+ else if ("object" == typeof e)
11
+ if (Array.isArray(e))
12
+ for (t = 0; t < e.length; t++)
13
+ e[t] && (f2 = r(e[t])) && (n2 && (n2 += " "), n2 += f2);
14
+ else
15
+ for (t in e)
16
+ e[t] && (n2 && (n2 += " "), n2 += t);
17
+ return n2;
61
18
  }
62
19
  function clsx() {
63
- var i = 0, tmp, x, str = "";
64
- while (i < arguments.length) {
65
- if (tmp = arguments[i++]) {
66
- if (x = toVal(tmp)) {
67
- str && (str += " ");
68
- str += x;
69
- }
70
- }
71
- }
72
- return str;
20
+ for (var e, t, f2 = 0, n2 = ""; f2 < arguments.length; )
21
+ (e = arguments[f2++]) && (t = r(e)) && (n2 && (n2 += " "), n2 += t);
22
+ return n2;
73
23
  }
74
24
  function $parcel$export$n(e, n2, v, s) {
75
25
  Object.defineProperty(e, n2, { get: v, set: s, enumerable: true, configurable: true });
@@ -3271,7 +3221,9 @@ class $d6fd23bc337660df$export$64839e615120df17 {
3271
3221
  return string;
3272
3222
  }
3273
3223
  constructor(messages, defaultLocale = "en-US") {
3274
- this.messages = __spreadValues({}, messages);
3224
+ this.messages = {
3225
+ ...messages
3226
+ };
3275
3227
  this.defaultLocale = defaultLocale;
3276
3228
  }
3277
3229
  }
@@ -3341,7 +3293,8 @@ class $fb18d541ea1ad717$export$ad991b66133851cf {
3341
3293
  let startParts = this.formatter.formatToParts(start);
3342
3294
  let endParts = this.formatter.formatToParts(end);
3343
3295
  return [
3344
- ...startParts.map((p2) => __spreadProps(__spreadValues({}, p2), {
3296
+ ...startParts.map((p2) => ({
3297
+ ...p2,
3345
3298
  source: "startRange"
3346
3299
  })),
3347
3300
  {
@@ -3349,7 +3302,8 @@ class $fb18d541ea1ad717$export$ad991b66133851cf {
3349
3302
  value: " \u2013 ",
3350
3303
  source: "shared"
3351
3304
  },
3352
- ...endParts.map((p2) => __spreadProps(__spreadValues({}, p2), {
3305
+ ...endParts.map((p2) => ({
3306
+ ...p2,
3353
3307
  source: "endRange"
3354
3308
  }))
3355
3309
  ];
@@ -3379,7 +3333,9 @@ const $fb18d541ea1ad717$var$hour12Preferences = {
3379
3333
  };
3380
3334
  function $fb18d541ea1ad717$var$getCachedDateFormatter(locale, options = {}) {
3381
3335
  if (typeof options.hour12 === "boolean" && $fb18d541ea1ad717$var$hasBuggyHour12Behavior()) {
3382
- options = __spreadValues({}, options);
3336
+ options = {
3337
+ ...options
3338
+ };
3383
3339
  let pref = $fb18d541ea1ad717$var$hour12Preferences[String(options.hour12)][locale.split("-")[0]];
3384
3340
  let defaultHourCycle = options.hour12 ? "h12" : "h23";
3385
3341
  options.hourCycle = pref !== null && pref !== void 0 ? pref : defaultHourCycle;
@@ -3415,9 +3371,10 @@ function $fb18d541ea1ad717$var$getResolvedHourCycle(locale, options) {
3415
3371
  return void 0;
3416
3372
  locale = locale.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, "");
3417
3373
  locale += (locale.includes("-u-") ? "" : "-u") + "-nu-latn";
3418
- let formatter = $fb18d541ea1ad717$var$getCachedDateFormatter(locale, __spreadProps(__spreadValues({}, options), {
3374
+ let formatter = $fb18d541ea1ad717$var$getCachedDateFormatter(locale, {
3375
+ ...options,
3419
3376
  timeZone: void 0
3420
- }));
3377
+ });
3421
3378
  let min = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 0)).find((p2) => p2.type === "hour").value, 10);
3422
3379
  let max = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 23)).find((p2) => p2.type === "hour").value, 10);
3423
3380
  if (min === 0 && max === 23)
@@ -3489,7 +3446,8 @@ class $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 {
3489
3446
  let startParts = this.numberFormatter.formatToParts(start);
3490
3447
  let endParts = this.numberFormatter.formatToParts(end);
3491
3448
  return [
3492
- ...startParts.map((p2) => __spreadProps(__spreadValues({}, p2), {
3449
+ ...startParts.map((p2) => ({
3450
+ ...p2,
3493
3451
  source: "startRange"
3494
3452
  })),
3495
3453
  {
@@ -3497,7 +3455,8 @@ class $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 {
3497
3455
  value: " \u2013 ",
3498
3456
  source: "shared"
3499
3457
  },
3500
- ...endParts.map((p2) => __spreadProps(__spreadValues({}, p2), {
3458
+ ...endParts.map((p2) => ({
3459
+ ...p2,
3501
3460
  source: "endRange"
3502
3461
  }))
3503
3462
  ];
@@ -3505,15 +3464,17 @@ class $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 {
3505
3464
  resolvedOptions() {
3506
3465
  let options = this.numberFormatter.resolvedOptions();
3507
3466
  if (!$488c6ddbf4ef74c2$var$supportsSignDisplay && this.options.signDisplay != null)
3508
- options = __spreadProps(__spreadValues({}, options), {
3467
+ options = {
3468
+ ...options,
3509
3469
  signDisplay: this.options.signDisplay
3510
- });
3470
+ };
3511
3471
  if (!$488c6ddbf4ef74c2$var$supportsUnit && this.options.style === "unit")
3512
- options = __spreadProps(__spreadValues({}, options), {
3472
+ options = {
3473
+ ...options,
3513
3474
  style: "unit",
3514
3475
  unit: this.options.unit,
3515
3476
  unitDisplay: this.options.unitDisplay
3516
- });
3477
+ };
3517
3478
  return options;
3518
3479
  }
3519
3480
  constructor(locale, options = {}) {
@@ -3532,9 +3493,10 @@ function $488c6ddbf4ef74c2$var$getCachedNumberFormatter(locale, options = {}) {
3532
3493
  throw new Error('unit option must be provided with style: "unit"');
3533
3494
  if (!((ref = $488c6ddbf4ef74c2$var$UNITS[unit]) === null || ref === void 0 ? void 0 : ref[unitDisplay]))
3534
3495
  throw new Error(`Unsupported unit ${unit} with unitDisplay = ${unitDisplay}`);
3535
- options = __spreadProps(__spreadValues({}, options), {
3496
+ options = {
3497
+ ...options,
3536
3498
  style: "decimal"
3537
- });
3499
+ };
3538
3500
  }
3539
3501
  let cacheKey = locale + (options ? Object.entries(options).sort((a, b) => a[0] < b[0] ? -1 : 1).join() : "");
3540
3502
  if ($488c6ddbf4ef74c2$var$formatterCache.has(cacheKey))
@@ -3751,9 +3713,10 @@ function $325a3faab7a68acd$export$a16aca283550c30d(options) {
3751
3713
  var $bb77f239b46e8c72$exports = {};
3752
3714
  $parcel$export$l($bb77f239b46e8c72$exports, "useFilter", () => $bb77f239b46e8c72$export$3274cf84b703fff);
3753
3715
  function $bb77f239b46e8c72$export$3274cf84b703fff(options) {
3754
- let collator = $325a3faab7a68acd$export$a16aca283550c30d(__spreadValues({
3755
- usage: "search"
3756
- }, options));
3716
+ let collator = $325a3faab7a68acd$export$a16aca283550c30d({
3717
+ usage: "search",
3718
+ ...options
3719
+ });
3757
3720
  return {
3758
3721
  startsWith(string, substring) {
3759
3722
  if (substring.length === 0)
@@ -3888,9 +3851,9 @@ function $bdb11010cef70236$export$f680877a34711e37(defaultId) {
3888
3851
  }, []);
3889
3852
  $bdb11010cef70236$var$idsUpdaterMap.set(res, updateValue);
3890
3853
  $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
3891
- let r = res;
3854
+ let r2 = res;
3892
3855
  return () => {
3893
- $bdb11010cef70236$var$idsUpdaterMap.delete(r);
3856
+ $bdb11010cef70236$var$idsUpdaterMap.delete(r2);
3894
3857
  };
3895
3858
  }, [
3896
3859
  res
@@ -3950,7 +3913,9 @@ function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {
3950
3913
  var $3ef42575df84b30b$exports = {};
3951
3914
  $parcel$export$j($3ef42575df84b30b$exports, "mergeProps", () => $3ef42575df84b30b$export$9d1611c77c2fe928);
3952
3915
  function $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {
3953
- let result = __spreadValues({}, args[0]);
3916
+ let result = {
3917
+ ...args[0]
3918
+ };
3954
3919
  for (let i = 1; i < args.length; i++) {
3955
3920
  let props = args[i];
3956
3921
  for (let key in props) {
@@ -4687,12 +4652,13 @@ function $98e5a8ae0e6415af$export$a5795cc979dfae80(ref) {
4687
4652
  };
4688
4653
  }
4689
4654
  function $98e5a8ae0e6415af$export$79d69eee6ae4b329(domRef, focusableRef = domRef) {
4690
- return __spreadProps(__spreadValues({}, $98e5a8ae0e6415af$export$a5795cc979dfae80(domRef)), {
4655
+ return {
4656
+ ...$98e5a8ae0e6415af$export$a5795cc979dfae80(domRef),
4691
4657
  focus() {
4692
4658
  if (focusableRef.current)
4693
4659
  focusableRef.current.focus();
4694
4660
  }
4695
- });
4661
+ };
4696
4662
  }
4697
4663
  function $98e5a8ae0e6415af$export$c2c55ef9111cafd8(ref) {
4698
4664
  let domRef = useRef(null);
@@ -4936,7 +4902,8 @@ const $380ed8f3903c3931$export$fe9c6e915565b4e8 = {
4936
4902
  $380ed8f3903c3931$export$46b6c81d11d2c30a
4937
4903
  ]
4938
4904
  };
4939
- const $380ed8f3903c3931$export$e0705d1a55f297c = __spreadProps(__spreadValues({}, $380ed8f3903c3931$export$fe9c6e915565b4e8), {
4905
+ const $380ed8f3903c3931$export$e0705d1a55f297c = {
4906
+ ...$380ed8f3903c3931$export$fe9c6e915565b4e8,
4940
4907
  backgroundColor: [
4941
4908
  "backgroundColor",
4942
4909
  $380ed8f3903c3931$var$backgroundColorValue
@@ -5107,7 +5074,7 @@ const $380ed8f3903c3931$export$e0705d1a55f297c = __spreadProps(__spreadValues({}
5107
5074
  "overflow",
5108
5075
  $380ed8f3903c3931$export$46b6c81d11d2c30a
5109
5076
  ]
5110
- });
5077
+ };
5111
5078
  const $380ed8f3903c3931$var$borderStyleProps = {
5112
5079
  borderWidth: "borderStyle",
5113
5080
  borderLeftWidth: "borderLeftStyle",
@@ -5187,14 +5154,17 @@ function $380ed8f3903c3931$export$f3c39bb9534218d0(props, handlers, direction, m
5187
5154
  return style2;
5188
5155
  }
5189
5156
  function $380ed8f3903c3931$export$b8e6fb9d2dff3f41(props, handlers = $380ed8f3903c3931$export$fe9c6e915565b4e8, options = {}) {
5190
- let _a2 = props, { UNSAFE_className, UNSAFE_style } = _a2, otherProps = __objRest(_a2, ["UNSAFE_className", "UNSAFE_style"]);
5157
+ let { UNSAFE_className, UNSAFE_style, ...otherProps } = props;
5191
5158
  let breakpointProvider = $1051245f87c5981d$export$199d6754bdf4e1e3();
5192
5159
  let { direction } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
5193
5160
  let { matchedBreakpoints = (breakpointProvider === null || breakpointProvider === void 0 ? void 0 : breakpointProvider.matchedBreakpoints) || [
5194
5161
  "base"
5195
5162
  ] } = options;
5196
5163
  let styles = $380ed8f3903c3931$export$f3c39bb9534218d0(props, handlers, direction, matchedBreakpoints);
5197
- let style2 = __spreadValues(__spreadValues({}, UNSAFE_style), styles);
5164
+ let style2 = {
5165
+ ...UNSAFE_style,
5166
+ ...styles
5167
+ };
5198
5168
  if (otherProps.className)
5199
5169
  console.warn("The className prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_className if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes.");
5200
5170
  if (otherProps.style)
@@ -5247,7 +5217,8 @@ function $59d09bcc83651bf9$export$365cf34cda9978e2(cssModule) {
5247
5217
  function $59d09bcc83651bf9$export$8107b24b91795686(props) {
5248
5218
  let parentSlots = useContext($59d09bcc83651bf9$var$SlotContext) || {};
5249
5219
  let { slots = {}, children } = props;
5250
- let value = useMemo(() => Object.keys(parentSlots).concat(Object.keys(slots)).reduce((o, p2) => __spreadProps(__spreadValues({}, o), {
5220
+ let value = useMemo(() => Object.keys(parentSlots).concat(Object.keys(slots)).reduce((o, p2) => ({
5221
+ ...o,
5251
5222
  [p2]: $3ef42575df84b30b$export$9d1611c77c2fe928(parentSlots[p2] || {}, slots[p2] || {})
5252
5223
  }), {}), [
5253
5224
  parentSlots,
@@ -5258,7 +5229,7 @@ function $59d09bcc83651bf9$export$8107b24b91795686(props) {
5258
5229
  }, children);
5259
5230
  }
5260
5231
  function $59d09bcc83651bf9$export$ceb145244332b7a2(props) {
5261
- let _a2 = props, { children } = _a2, otherProps = __objRest(_a2, ["children"]);
5232
+ let { children, ...otherProps } = props;
5262
5233
  let content = children;
5263
5234
  if ($d7FTw$react.Children.toArray(children).length <= 1) {
5264
5235
  if (typeof children === "function")
@@ -5582,7 +5553,7 @@ $ae1eeba8b9eafd08$export$5165eccb35aaadb5.displayName = "PressResponderContext";
5582
5553
  function $f6c31cce2adf654f$var$usePressResponderContext(props) {
5583
5554
  let context = useContext($ae1eeba8b9eafd08$export$5165eccb35aaadb5);
5584
5555
  if (context) {
5585
- let _a2 = context, { register } = _a2, contextProps = __objRest(_a2, ["register"]);
5556
+ let { register, ...contextProps } = context;
5586
5557
  props = $3ef42575df84b30b$export$9d1611c77c2fe928(contextProps, props);
5587
5558
  register();
5588
5559
  }
@@ -5590,7 +5561,7 @@ function $f6c31cce2adf654f$var$usePressResponderContext(props) {
5590
5561
  return props;
5591
5562
  }
5592
5563
  function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
5593
- let _a2 = $f6c31cce2adf654f$var$usePressResponderContext(props), {
5564
+ let {
5594
5565
  onPress: onPress1,
5595
5566
  onPressChange: onPressChange1,
5596
5567
  onPressStart: onPressStart1,
@@ -5601,20 +5572,9 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
5601
5572
  preventFocusOnPress,
5602
5573
  shouldCancelOnPointerExit,
5603
5574
  allowTextSelectionOnPress,
5604
- ref: _
5605
- } = _a2, domProps = __objRest(_a2, [
5606
- "onPress",
5607
- "onPressChange",
5608
- "onPressStart",
5609
- "onPressEnd",
5610
- "onPressUp",
5611
- "isDisabled",
5612
- "isPressed",
5613
- "preventFocusOnPress",
5614
- "shouldCancelOnPointerExit",
5615
- "allowTextSelectionOnPress",
5616
- "ref"
5617
- ]);
5575
+ ref: _,
5576
+ ...domProps
5577
+ } = $f6c31cce2adf654f$var$usePressResponderContext(props);
5618
5578
  let propsRef = useRef(null);
5619
5579
  propsRef.current = {
5620
5580
  onPress: onPress1,
@@ -6073,32 +6033,33 @@ function $f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(target) {
6073
6033
  function $f6c31cce2adf654f$var$isVirtualPointerEvent(event) {
6074
6034
  return event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === "mouse";
6075
6035
  }
6076
- const $3b117e43dc0ca95d$export$27c701ed9e449e99 = /* @__PURE__ */ $d7FTw$react.forwardRef((_a2, ref) => {
6077
- var _b = _a2, { children } = _b, props = __objRest(_b, ["children"]);
6036
+ const $3b117e43dc0ca95d$export$27c701ed9e449e99 = /* @__PURE__ */ $d7FTw$react.forwardRef(({ children, ...props }, ref) => {
6078
6037
  let newRef = useRef();
6079
6038
  ref = ref !== null && ref !== void 0 ? ref : newRef;
6080
- let { pressProps } = $f6c31cce2adf654f$export$45712eceda6fad21(__spreadProps(__spreadValues({}, props), {
6039
+ let { pressProps } = $f6c31cce2adf654f$export$45712eceda6fad21({
6040
+ ...props,
6081
6041
  ref
6082
- }));
6042
+ });
6083
6043
  let child = $d7FTw$react.Children.only(children);
6084
- return /* @__PURE__ */ $d7FTw$react.cloneElement(child, __spreadValues({
6085
- ref
6086
- }, $3ef42575df84b30b$export$9d1611c77c2fe928(child.props, pressProps)));
6044
+ return /* @__PURE__ */ $d7FTw$react.cloneElement(child, {
6045
+ ref,
6046
+ ...$3ef42575df84b30b$export$9d1611c77c2fe928(child.props, pressProps)
6047
+ });
6087
6048
  });
6088
6049
  var $f1ab8c75478c6f73$exports = {};
6089
6050
  $parcel$export$h($f1ab8c75478c6f73$exports, "PressResponder", () => $f1ab8c75478c6f73$export$3351871ee4b288b8);
6090
- const $f1ab8c75478c6f73$export$3351871ee4b288b8 = /* @__PURE__ */ $d7FTw$react.forwardRef((_c, ref) => {
6091
- var _d = _c, { children } = _d, props = __objRest(_d, ["children"]);
6051
+ const $f1ab8c75478c6f73$export$3351871ee4b288b8 = /* @__PURE__ */ $d7FTw$react.forwardRef(({ children, ...props }, ref) => {
6092
6052
  let isRegistered = useRef(false);
6093
6053
  let prevContext = useContext($ae1eeba8b9eafd08$export$5165eccb35aaadb5);
6094
- let context = $3ef42575df84b30b$export$9d1611c77c2fe928(prevContext || {}, __spreadProps(__spreadValues({}, props), {
6054
+ let context = $3ef42575df84b30b$export$9d1611c77c2fe928(prevContext || {}, {
6055
+ ...props,
6095
6056
  ref: ref || (prevContext === null || prevContext === void 0 ? void 0 : prevContext.ref),
6096
6057
  register() {
6097
6058
  isRegistered.current = true;
6098
6059
  if (prevContext)
6099
6060
  prevContext.register();
6100
6061
  }
6101
- }));
6062
+ });
6102
6063
  $e7801be82b4b2a53$export$4debdb1a3f0fa79e(prevContext, ref);
6103
6064
  useEffect(() => {
6104
6065
  if (!isRegistered.current)
@@ -6548,7 +6509,8 @@ function $93925083ecbb358c$export$48d1ea6320830260(handler) {
6548
6509
  return;
6549
6510
  let shouldStopPropagation = true;
6550
6511
  return (e) => {
6551
- let event = __spreadProps(__spreadValues({}, e), {
6512
+ let event = {
6513
+ ...e,
6552
6514
  preventDefault() {
6553
6515
  e.preventDefault();
6554
6516
  },
@@ -6561,7 +6523,7 @@ function $93925083ecbb358c$export$48d1ea6320830260(handler) {
6561
6523
  continuePropagation() {
6562
6524
  shouldStopPropagation = false;
6563
6525
  }
6564
- });
6526
+ };
6565
6527
  handler(event);
6566
6528
  if (shouldStopPropagation)
6567
6529
  e.stopPropagation();
@@ -6813,17 +6775,19 @@ function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
6813
6775
  onPressStart(e1) {
6814
6776
  if (e1.pointerType === "mouse" || e1.pointerType === "touch") {
6815
6777
  if (onLongPressStart)
6816
- onLongPressStart(__spreadProps(__spreadValues({}, e1), {
6778
+ onLongPressStart({
6779
+ ...e1,
6817
6780
  type: "longpressstart"
6818
- }));
6781
+ });
6819
6782
  timeRef.current = setTimeout(() => {
6820
6783
  e1.target.dispatchEvent(new PointerEvent("pointercancel", {
6821
6784
  bubbles: true
6822
6785
  }));
6823
6786
  if (onLongPress)
6824
- onLongPress(__spreadProps(__spreadValues({}, e1), {
6787
+ onLongPress({
6788
+ ...e1,
6825
6789
  type: "longpress"
6826
- }));
6790
+ });
6827
6791
  timeRef.current = null;
6828
6792
  }, threshold);
6829
6793
  if (e1.pointerType === "touch") {
@@ -6847,9 +6811,10 @@ function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
6847
6811
  if (timeRef.current)
6848
6812
  clearTimeout(timeRef.current);
6849
6813
  if (onLongPressEnd && (e.pointerType === "mouse" || e.pointerType === "touch"))
6850
- onLongPressEnd(__spreadProps(__spreadValues({}, e), {
6814
+ onLongPressEnd({
6815
+ ...e,
6851
6816
  type: "longpressend"
6852
- }));
6817
+ });
6853
6818
  }
6854
6819
  });
6855
6820
  let descriptionProps = $ef06256079686ba0$export$f8aeda7b10753fa1(onLongPress && !isDisabled ? accessibilityDescription : null);
@@ -6886,20 +6851,24 @@ function $5c3e21d68f1c4674$export$a966af930f325cab(props = {}) {
6886
6851
  if (isFocused)
6887
6852
  return style2;
6888
6853
  else if (style2)
6889
- return __spreadValues(__spreadValues({}, $5c3e21d68f1c4674$var$styles), style2);
6854
+ return {
6855
+ ...$5c3e21d68f1c4674$var$styles,
6856
+ ...style2
6857
+ };
6890
6858
  else
6891
6859
  return $5c3e21d68f1c4674$var$styles;
6892
6860
  }, [
6893
6861
  isFocused
6894
6862
  ]);
6895
6863
  return {
6896
- visuallyHiddenProps: __spreadProps(__spreadValues({}, focusProps), {
6864
+ visuallyHiddenProps: {
6865
+ ...focusProps,
6897
6866
  style: combinedStyles
6898
- })
6867
+ }
6899
6868
  };
6900
6869
  }
6901
6870
  function $5c3e21d68f1c4674$export$439d29a4e110a164(props) {
6902
- let _a2 = props, { children, elementType: Element2 = "div", isFocusable, style: style2 } = _a2, otherProps = __objRest(_a2, ["children", "elementType", "isFocusable", "style"]);
6871
+ let { children, elementType: Element2 = "div", isFocusable, style: style2, ...otherProps } = props;
6903
6872
  let { visuallyHiddenProps } = $5c3e21d68f1c4674$export$a966af930f325cab(props);
6904
6873
  return /* @__PURE__ */ $d7FTw$react.createElement(Element2, $3ef42575df84b30b$export$9d1611c77c2fe928(otherProps, visuallyHiddenProps), children);
6905
6874
  }
@@ -7190,12 +7159,12 @@ function $2a41e45df1593e64$export$d39e1813b3bdd0e1(props) {
7190
7159
  });
7191
7160
  return {
7192
7161
  overlayProps: {
7193
- style: __spreadProps(__spreadValues({
7162
+ style: {
7194
7163
  position: "absolute",
7195
- zIndex: 1e5
7196
- }, position2.position), {
7164
+ zIndex: 1e5,
7165
+ ...position2.position,
7197
7166
  maxHeight: position2.maxHeight
7198
- })
7167
+ }
7199
7168
  },
7200
7169
  placement: position2.placement,
7201
7170
  arrowProps: {
@@ -7284,9 +7253,10 @@ function $a11501f3d1d39e6c$export$ea8f71083e90600f(props, ref) {
7284
7253
  e.preventDefault();
7285
7254
  };
7286
7255
  return {
7287
- overlayProps: __spreadValues({
7288
- onKeyDown
7289
- }, focusWithinProps),
7256
+ overlayProps: {
7257
+ onKeyDown,
7258
+ ...focusWithinProps
7259
+ },
7290
7260
  underlayProps: {
7291
7261
  onPointerDown: onPointerDownUnderlay
7292
7262
  }
@@ -7493,15 +7463,17 @@ function $f57aed4a881a3485$export$d9aaed4c3ece1bc0() {
7493
7463
  }
7494
7464
  function $f57aed4a881a3485$var$OverlayContainerDOM(props) {
7495
7465
  let { modalProviderProps } = $f57aed4a881a3485$export$d9aaed4c3ece1bc0();
7496
- return /* @__PURE__ */ $d7FTw$react.createElement("div", __spreadValues(__spreadValues({
7497
- "data-overlay-container": true
7498
- }, props), modalProviderProps));
7466
+ return /* @__PURE__ */ $d7FTw$react.createElement("div", {
7467
+ "data-overlay-container": true,
7468
+ ...props,
7469
+ ...modalProviderProps
7470
+ });
7499
7471
  }
7500
7472
  function $f57aed4a881a3485$export$bf688221f59024e5(props) {
7501
7473
  return /* @__PURE__ */ $d7FTw$react.createElement($f57aed4a881a3485$export$178405afcd8c5eb, null, /* @__PURE__ */ $d7FTw$react.createElement($f57aed4a881a3485$var$OverlayContainerDOM, props));
7502
7474
  }
7503
7475
  function $f57aed4a881a3485$export$b47c3594eab58386(props) {
7504
- let _a2 = props, { portalContainer = document.body } = _a2, rest = __objRest(_a2, ["portalContainer"]);
7476
+ let { portalContainer = document.body, ...rest } = props;
7505
7477
  $d7FTw$react.useEffect(() => {
7506
7478
  if (portalContainer.closest("[data-overlay-container]"))
7507
7479
  throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.");
@@ -7642,17 +7614,18 @@ $61fe14465afefc5e$exports = {
7642
7614
  "zh-TW": $2b2734393847c884$exports
7643
7615
  };
7644
7616
  function $86ea4cb521eb2e37$export$2317d149ed6f78c4(props) {
7645
- let _a2 = props, { onDismiss } = _a2, otherProps = __objRest(_a2, ["onDismiss"]);
7617
+ let { onDismiss, ...otherProps } = props;
7646
7618
  let formatMessage = $321bc95feeb923dd$export$ec23bf898b1eed85(/* @__PURE__ */ $parcel$interopDefault$7($61fe14465afefc5e$exports));
7647
7619
  let labels = $313b98861ee5dd6c$export$d6875122194c7b44(otherProps, formatMessage("dismiss"));
7648
7620
  let onClick = () => {
7649
7621
  if (onDismiss)
7650
7622
  onDismiss();
7651
7623
  };
7652
- return /* @__PURE__ */ $d7FTw$react.createElement($5c3e21d68f1c4674$export$439d29a4e110a164, null, /* @__PURE__ */ $d7FTw$react.createElement("button", __spreadProps(__spreadValues({}, labels), {
7624
+ return /* @__PURE__ */ $d7FTw$react.createElement($5c3e21d68f1c4674$export$439d29a4e110a164, null, /* @__PURE__ */ $d7FTw$react.createElement("button", {
7625
+ ...labels,
7653
7626
  tabIndex: -1,
7654
7627
  onClick
7655
- })));
7628
+ }));
7656
7629
  }
7657
7630
  var $5e3802645cc19319$exports = {};
7658
7631
  $parcel$export$f($5e3802645cc19319$exports, "ariaHideOutside", () => $5e3802645cc19319$export$1c3ebcada18427bf);
@@ -7789,7 +7762,7 @@ function $7167f8da3cce35e4$var$Provider(props, ref) {
7789
7762
  let autoScale = $d8453c5ae7fac713$export$a8d2043b2d807f4d(theme);
7790
7763
  let { locale: prevLocale } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
7791
7764
  let usePrevColorScheme = !!theme[prevColorScheme];
7792
- let _a2 = props, { colorScheme = usePrevColorScheme ? prevColorScheme : autoColorScheme, scale = prevContext ? prevContext.scale : autoScale, locale = prevContext ? prevLocale : null, breakpoints = prevContext ? prevBreakpoints : $7167f8da3cce35e4$var$DEFAULT_BREAKPOINTS, children, isQuiet, isEmphasized, isDisabled, isRequired, isReadOnly, validationState } = _a2, otherProps = __objRest(_a2, ["colorScheme", "scale", "locale", "breakpoints", "children", "isQuiet", "isEmphasized", "isDisabled", "isRequired", "isReadOnly", "validationState"]);
7765
+ let { colorScheme = usePrevColorScheme ? prevColorScheme : autoColorScheme, scale = prevContext ? prevContext.scale : autoScale, locale = prevContext ? prevLocale : null, breakpoints = prevContext ? prevBreakpoints : $7167f8da3cce35e4$var$DEFAULT_BREAKPOINTS, children, isQuiet, isEmphasized, isDisabled, isRequired, isReadOnly, validationState, ...otherProps } = props;
7793
7766
  let currentProps = {
7794
7767
  version: $7b22e09dddddd7da$exports.version,
7795
7768
  theme,
@@ -7813,12 +7786,14 @@ function $7167f8da3cce35e4$var$Provider(props, ref) {
7813
7786
  matchedBreakpoints
7814
7787
  });
7815
7788
  if (!prevContext || props.locale || theme !== prevContext.theme || colorScheme !== prevContext.colorScheme || scale !== prevContext.scale || Object.keys(domProps).length > 0 || otherProps.UNSAFE_className || Object.keys(styleProps.style).length > 0)
7816
- contents = /* @__PURE__ */ $d7FTw$react.createElement($7167f8da3cce35e4$var$ProviderWrapper, __spreadProps(__spreadValues({}, props), {
7817
- UNSAFE_style: __spreadValues({
7818
- isolation: !prevContext ? "isolate" : void 0
7819
- }, styleProps.style),
7789
+ contents = /* @__PURE__ */ $d7FTw$react.createElement($7167f8da3cce35e4$var$ProviderWrapper, {
7790
+ ...props,
7791
+ UNSAFE_style: {
7792
+ isolation: !prevContext ? "isolate" : void 0,
7793
+ ...styleProps.style
7794
+ },
7820
7795
  ref
7821
- }), contents);
7796
+ }, contents);
7822
7797
  return /* @__PURE__ */ $d7FTw$react.createElement($7167f8da3cce35e4$var$Context.Provider, {
7823
7798
  value: context
7824
7799
  }, /* @__PURE__ */ $d7FTw$react.createElement($18f2051aff69b9bf$export$a54013f0d02a8f82, {
@@ -7829,7 +7804,7 @@ function $7167f8da3cce35e4$var$Provider(props, ref) {
7829
7804
  }
7830
7805
  let $7167f8da3cce35e4$export$2881499e37b75b9a = /* @__PURE__ */ $d7FTw$react.forwardRef($7167f8da3cce35e4$var$Provider);
7831
7806
  const $7167f8da3cce35e4$var$ProviderWrapper = /* @__PURE__ */ $d7FTw$react.forwardRef(function ProviderWrapper(props, ref) {
7832
- let _a2 = props, { children } = _a2, otherProps = __objRest(_a2, ["children"]);
7807
+ let { children, ...otherProps } = props;
7833
7808
  let { locale, direction } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
7834
7809
  let { theme, colorScheme, scale } = $7167f8da3cce35e4$export$693cdb10cec23617();
7835
7810
  let { modalProviderProps } = $f57aed4a881a3485$export$d9aaed4c3ece1bc0();
@@ -7844,9 +7819,10 @@ const $7167f8da3cce35e4$var$ProviderWrapper = /* @__PURE__ */ $d7FTw$react.forwa
7844
7819
  [scaleKey]: $fd933927dbac1f15$export$46d604dce8bf8724
7845
7820
  });
7846
7821
  var _colorScheme, ref1;
7847
- let style2 = __spreadProps(__spreadValues({}, styleProps.style), {
7822
+ let style2 = {
7823
+ ...styleProps.style,
7848
7824
  colorScheme: (ref1 = (_colorScheme = props.colorScheme) !== null && _colorScheme !== void 0 ? _colorScheme : colorScheme) !== null && ref1 !== void 0 ? ref1 : Object.keys(theme).filter((k2) => k2 === "light" || k2 === "dark").join(" ")
7849
- });
7825
+ };
7850
7826
  let hasWarned = useRef(false);
7851
7827
  useEffect(() => {
7852
7828
  if (direction && domRef.current) {
@@ -7862,13 +7838,16 @@ const $7167f8da3cce35e4$var$ProviderWrapper = /* @__PURE__ */ $d7FTw$react.forwa
7862
7838
  domRef,
7863
7839
  hasWarned
7864
7840
  ]);
7865
- return /* @__PURE__ */ $d7FTw$react.createElement("div", __spreadProps(__spreadValues(__spreadValues(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps)), styleProps), modalProviderProps), {
7841
+ return /* @__PURE__ */ $d7FTw$react.createElement("div", {
7842
+ ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps),
7843
+ ...styleProps,
7844
+ ...modalProviderProps,
7866
7845
  className,
7867
7846
  style: style2,
7868
7847
  lang: locale,
7869
7848
  dir: direction,
7870
7849
  ref: domRef
7871
- }), children);
7850
+ }, children);
7872
7851
  });
7873
7852
  function $7167f8da3cce35e4$export$693cdb10cec23617() {
7874
7853
  return useContext($7167f8da3cce35e4$var$Context);
@@ -7991,14 +7970,14 @@ var reactJsxRuntime_production_min = {};
7991
7970
  var f = $d7FTw$react, k = Symbol.for("react.element"), l = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: true, ref: true, __self: true, __source: true };
7992
7971
  function q(c, a, g) {
7993
7972
  var b, d = {}, e = null, h = null;
7994
- g !== void 0 && (e = "" + g);
7995
- a.key !== void 0 && (e = "" + a.key);
7996
- a.ref !== void 0 && (h = a.ref);
7973
+ void 0 !== g && (e = "" + g);
7974
+ void 0 !== a.key && (e = "" + a.key);
7975
+ void 0 !== a.ref && (h = a.ref);
7997
7976
  for (b in a)
7998
7977
  m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
7999
7978
  if (c && c.defaultProps)
8000
7979
  for (b in a = c.defaultProps, a)
8001
- d[b] === void 0 && (d[b] = a[b]);
7980
+ void 0 === d[b] && (d[b] = a[b]);
8002
7981
  return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
8003
7982
  }
8004
7983
  reactJsxRuntime_production_min.Fragment = l;
@@ -8055,14 +8034,15 @@ const SpectrumProvider = ({
8055
8034
  setPlacementState(placementValidation());
8056
8035
  }
8057
8036
  }, [contextPlayerPlacement]);
8058
- return /* @__PURE__ */ jsx($7167f8da3cce35e4$export$2881499e37b75b9a, __spreadProps(__spreadValues(__spreadValues({
8037
+ return /* @__PURE__ */ jsx($7167f8da3cce35e4$export$2881499e37b75b9a, {
8059
8038
  theme: $bf24a13e98395dd3$export$bca14c5b3b88a9c9,
8060
8039
  width: "100%",
8061
8040
  position: contextPlayerPlacement && "fixed",
8062
- UNSAFE_className: "rs-audio-player-provider"
8063
- }, placementState), rootContainerProps), {
8041
+ UNSAFE_className: "rs-audio-player-provider",
8042
+ ...placementState,
8043
+ ...rootContainerProps,
8064
8044
  children
8065
- }));
8045
+ });
8066
8046
  };
8067
8047
  const audioPlayerDispatchContext = createContext(null);
8068
8048
  const getTimeWithPadStart = (time) => {
@@ -8103,9 +8083,10 @@ const audioPlayerReducer = (state, action) => {
8103
8083
  switch (action.type) {
8104
8084
  case "NEXT_AUDIO": {
8105
8085
  if (state.curAudioState.repeatType === "NONE" && state.curIdx + 1 === state.playList.length) {
8106
- return __spreadProps(__spreadValues({}, state), {
8107
- curAudioState: __spreadProps(__spreadValues({}, state.curAudioState), { isPlaying: false })
8108
- });
8086
+ return {
8087
+ ...state,
8088
+ curAudioState: { ...state.curAudioState, isPlaying: false }
8089
+ };
8109
8090
  }
8110
8091
  if (state.curAudioState.repeatType === "SHUFFLE") {
8111
8092
  let nextIdx = 0;
@@ -8115,16 +8096,18 @@ const audioPlayerReducer = (state, action) => {
8115
8096
  while (nextIdx === state.curIdx) {
8116
8097
  getShuffledPlayIdx();
8117
8098
  }
8118
- return __spreadProps(__spreadValues({}, state), {
8099
+ return {
8100
+ ...state,
8119
8101
  curPlayId: state.playList[nextIdx].id,
8120
8102
  curIdx: nextIdx
8121
- });
8103
+ };
8122
8104
  }
8123
8105
  const infiniteLoopNextIdx = (state.curIdx + 1) % state.playList.length;
8124
- return __spreadProps(__spreadValues({}, state), {
8106
+ return {
8107
+ ...state,
8125
8108
  curIdx: infiniteLoopNextIdx,
8126
8109
  curPlayId: state.playList[infiniteLoopNextIdx].id
8127
- });
8110
+ };
8128
8111
  }
8129
8112
  case "PREV_AUDIO": {
8130
8113
  if (((_a2 = state.elementRefs) == null ? void 0 : _a2.audioEl) && ((_b = state.elementRefs) == null ? void 0 : _b.audioEl.currentTime) > 1 || ((_c = state.elementRefs) == null ? void 0 : _c.waveformInst) && ((_d = state.elementRefs) == null ? void 0 : _d.waveformInst.getCurrentTime()) > 1 || state.curAudioState.repeatType === "NONE" && state.curIdx === 0) {
@@ -8133,16 +8116,18 @@ const audioPlayerReducer = (state, action) => {
8133
8116
  }
8134
8117
  if (state.curAudioState.repeatType === "SHUFFLE") {
8135
8118
  const shuffledPlayIdx = Math.round(Math.random() * (state.playList.length - 1));
8136
- return __spreadProps(__spreadValues({}, state), {
8119
+ return {
8120
+ ...state,
8137
8121
  curPlayId: state.playList[shuffledPlayIdx].id,
8138
8122
  curIdx: shuffledPlayIdx
8139
- });
8123
+ };
8140
8124
  }
8141
8125
  const infiniteLoopPrevIdx = (state.curIdx - 1 + state.playList.length) % state.playList.length;
8142
- return __spreadProps(__spreadValues({}, state), {
8126
+ return {
8127
+ ...state,
8143
8128
  curPlayId: state.playList[infiniteLoopPrevIdx].id,
8144
8129
  curIdx: infiniteLoopPrevIdx
8145
- });
8130
+ };
8146
8131
  }
8147
8132
  case "UPDATE_PLAY_LIST": {
8148
8133
  const curPlayListItem = action.playList.find((item) => item.id === state.curPlayId);
@@ -8150,74 +8135,92 @@ const audioPlayerReducer = (state, action) => {
8150
8135
  console.error("UPDATE_PLAY_LIST ERROR - curPlayId is not found on playList");
8151
8136
  return state;
8152
8137
  }
8153
- return __spreadProps(__spreadValues({}, state), {
8138
+ return {
8139
+ ...state,
8154
8140
  playList: action.playList,
8155
8141
  curIdx: curPlayListItem.index
8156
- });
8142
+ };
8157
8143
  }
8158
8144
  case "SET_VOLUME":
8159
- return __spreadProps(__spreadValues({}, state), {
8160
- curAudioState: __spreadProps(__spreadValues({}, state.curAudioState), {
8145
+ return {
8146
+ ...state,
8147
+ curAudioState: {
8148
+ ...state.curAudioState,
8161
8149
  volume: action.volume
8162
- })
8163
- });
8150
+ }
8151
+ };
8164
8152
  case "SET_INITIAL_AUDIO_STATE":
8165
- return __spreadProps(__spreadValues({}, state), {
8166
- curAudioState: __spreadValues(__spreadValues({}, state.curAudioState), action.audioInitialState),
8153
+ return {
8154
+ ...state,
8155
+ curAudioState: { ...state.curAudioState, ...action.audioInitialState },
8167
8156
  curPlayId: action.audioInitialState.curPlayId
8168
- });
8157
+ };
8169
8158
  case "SET_PlAY_STATE":
8170
8159
  if (action.state !== void 0) {
8171
- return __spreadProps(__spreadValues({}, state), {
8172
- curAudioState: __spreadProps(__spreadValues({}, state.curAudioState), {
8160
+ return {
8161
+ ...state,
8162
+ curAudioState: {
8163
+ ...state.curAudioState,
8173
8164
  isPlaying: action.state
8174
- })
8175
- });
8165
+ }
8166
+ };
8176
8167
  }
8177
- return __spreadProps(__spreadValues({}, state), {
8178
- curAudioState: __spreadProps(__spreadValues({}, state.curAudioState), {
8168
+ return {
8169
+ ...state,
8170
+ curAudioState: {
8171
+ ...state.curAudioState,
8179
8172
  isPlaying: !state.curAudioState.isPlaying
8180
- })
8181
- });
8173
+ }
8174
+ };
8182
8175
  case "SET_CURRENT_INDEX":
8183
- return __spreadProps(__spreadValues({}, state), {
8176
+ return {
8177
+ ...state,
8184
8178
  curPlayId: action.currentAudioId,
8185
8179
  curIdx: action.currentIndex
8186
- });
8180
+ };
8187
8181
  case "SET_REPEAT_TYPE":
8188
- return __spreadProps(__spreadValues({}, state), {
8189
- curAudioState: __spreadProps(__spreadValues({}, state.curAudioState), {
8182
+ return {
8183
+ ...state,
8184
+ curAudioState: {
8185
+ ...state.curAudioState,
8190
8186
  repeatType: action.repeatType
8191
- })
8192
- });
8187
+ }
8188
+ };
8193
8189
  case "SET_PLACEMENTS":
8194
- return __spreadProps(__spreadValues({}, state), {
8190
+ return {
8191
+ ...state,
8195
8192
  playerPlacement: action.playerPlacement || state.playerPlacement,
8196
8193
  playListPlacement: action.playListPlacement || state.playListPlacement,
8197
8194
  interfacePlacement: action.interfacePlacement
8198
- });
8195
+ };
8199
8196
  case "SET_MUTED":
8200
- return __spreadProps(__spreadValues({}, state), {
8201
- curAudioState: __spreadProps(__spreadValues({}, state.curAudioState), {
8197
+ return {
8198
+ ...state,
8199
+ curAudioState: {
8200
+ ...state.curAudioState,
8202
8201
  muted: action.muted
8203
- })
8204
- });
8202
+ }
8203
+ };
8205
8204
  case "SET_ACTIVE_UI":
8206
- return __spreadProps(__spreadValues({}, state), {
8207
- activeUI: __spreadValues({}, action.activeUI)
8208
- });
8205
+ return {
8206
+ ...state,
8207
+ activeUI: { ...action.activeUI }
8208
+ };
8209
8209
  case "SET_ELEMENT_REFS":
8210
- return __spreadProps(__spreadValues({}, state), {
8211
- elementRefs: __spreadValues(__spreadValues({}, state.elementRefs), action.elementRefs)
8212
- });
8210
+ return {
8211
+ ...state,
8212
+ elementRefs: { ...state.elementRefs, ...action.elementRefs }
8213
+ };
8213
8214
  case "SET_CUSTOM_ICONS":
8214
- return __spreadProps(__spreadValues({}, state), {
8215
- customIcons: __spreadValues(__spreadValues({}, state.customIcons), action.customIcons)
8216
- });
8215
+ return {
8216
+ ...state,
8217
+ customIcons: { ...state.customIcons, ...action.customIcons }
8218
+ };
8217
8219
  case "SET_COVER_IMGS_CSS":
8218
- return __spreadProps(__spreadValues({}, state), {
8219
- coverImgsCss: __spreadValues(__spreadValues({}, state.coverImgsCss), action.coverImgsCss)
8220
- });
8220
+ return {
8221
+ ...state,
8222
+ coverImgsCss: { ...state.coverImgsCss, ...action.coverImgsCss }
8223
+ };
8221
8224
  default:
8222
8225
  throw new Error("Unhandled action");
8223
8226
  }
@@ -8397,48 +8400,56 @@ var $b9606c0c41d55371$exports = {};
8397
8400
  $parcel$export$c($b9606c0c41d55371$exports, "View", () => $b9606c0c41d55371$export$27a5bd065ad55220);
8398
8401
  function $b9606c0c41d55371$var$View(props, ref) {
8399
8402
  props = $59d09bcc83651bf9$export$1e5c9e6e4e15efe3(props);
8400
- let _a2 = props, { elementType: ElementType = "div", children } = _a2, otherProps = __objRest(_a2, ["elementType", "children"]);
8403
+ let { elementType: ElementType = "div", children, ...otherProps } = props;
8401
8404
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(props, $380ed8f3903c3931$export$e0705d1a55f297c);
8402
8405
  let domRef = $98e5a8ae0e6415af$export$c2c55ef9111cafd8(ref);
8403
- return /* @__PURE__ */ $d7FTw$react.createElement(ElementType, __spreadProps(__spreadValues(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps)), styleProps), {
8406
+ return /* @__PURE__ */ $d7FTw$react.createElement(ElementType, {
8407
+ ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps),
8408
+ ...styleProps,
8404
8409
  ref: domRef
8405
- }), /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$ceb145244332b7a2, null, children));
8410
+ }, /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$ceb145244332b7a2, null, children));
8406
8411
  }
8407
8412
  const $b9606c0c41d55371$export$27a5bd065ad55220 = /* @__PURE__ */ forwardRef($b9606c0c41d55371$var$View);
8408
8413
  var $0a7c18a2ef74b280$exports = {};
8409
8414
  $parcel$export$c($0a7c18a2ef74b280$exports, "Content", () => $0a7c18a2ef74b280$export$7c6e2c02157bb7d2);
8410
8415
  function $0a7c18a2ef74b280$var$Content(props, ref) {
8411
8416
  props = $59d09bcc83651bf9$export$1e5c9e6e4e15efe3(props, "content");
8412
- let _a2 = props, { children } = _a2, otherProps = __objRest(_a2, ["children"]);
8417
+ let { children, ...otherProps } = props;
8413
8418
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(otherProps);
8414
8419
  let domRef = $98e5a8ae0e6415af$export$c2c55ef9111cafd8(ref);
8415
- return /* @__PURE__ */ $d7FTw$react.createElement("section", __spreadProps(__spreadValues(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps)), styleProps), {
8420
+ return /* @__PURE__ */ $d7FTw$react.createElement("section", {
8421
+ ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps),
8422
+ ...styleProps,
8416
8423
  ref: domRef
8417
- }), /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$ceb145244332b7a2, null, children));
8424
+ }, /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$ceb145244332b7a2, null, children));
8418
8425
  }
8419
8426
  const $0a7c18a2ef74b280$export$7c6e2c02157bb7d2 = /* @__PURE__ */ forwardRef($0a7c18a2ef74b280$var$Content);
8420
8427
  var $8d68cc89c1f9278e$exports = {};
8421
8428
  $parcel$export$c($8d68cc89c1f9278e$exports, "Footer", () => $8d68cc89c1f9278e$export$a06f1c675e846f6f);
8422
8429
  function $8d68cc89c1f9278e$var$Footer(props, ref) {
8423
8430
  props = $59d09bcc83651bf9$export$1e5c9e6e4e15efe3(props, "footer");
8424
- let _a2 = props, { children } = _a2, otherProps = __objRest(_a2, ["children"]);
8431
+ let { children, ...otherProps } = props;
8425
8432
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(otherProps);
8426
8433
  let domRef = $98e5a8ae0e6415af$export$c2c55ef9111cafd8(ref);
8427
- return /* @__PURE__ */ $d7FTw$react.createElement("footer", __spreadProps(__spreadValues(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps)), styleProps), {
8434
+ return /* @__PURE__ */ $d7FTw$react.createElement("footer", {
8435
+ ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps),
8436
+ ...styleProps,
8428
8437
  ref: domRef
8429
- }), /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$ceb145244332b7a2, null, children));
8438
+ }, /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$ceb145244332b7a2, null, children));
8430
8439
  }
8431
8440
  const $8d68cc89c1f9278e$export$a06f1c675e846f6f = /* @__PURE__ */ forwardRef($8d68cc89c1f9278e$var$Footer);
8432
8441
  var $aedcc4886d2a392a$exports = {};
8433
8442
  $parcel$export$c($aedcc4886d2a392a$exports, "Header", () => $aedcc4886d2a392a$export$8b251419efc915eb);
8434
8443
  function $aedcc4886d2a392a$var$Header(props, ref) {
8435
8444
  props = $59d09bcc83651bf9$export$1e5c9e6e4e15efe3(props, "header");
8436
- let _a2 = props, { children } = _a2, otherProps = __objRest(_a2, ["children"]);
8445
+ let { children, ...otherProps } = props;
8437
8446
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(otherProps);
8438
8447
  let domRef = $98e5a8ae0e6415af$export$c2c55ef9111cafd8(ref);
8439
- return /* @__PURE__ */ $d7FTw$react.createElement("header", __spreadProps(__spreadValues(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps)), styleProps), {
8448
+ return /* @__PURE__ */ $d7FTw$react.createElement("header", {
8449
+ ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps),
8450
+ ...styleProps,
8440
8451
  ref: domRef
8441
- }), /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$ceb145244332b7a2, null, children));
8452
+ }, /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$ceb145244332b7a2, null, children));
8442
8453
  }
8443
8454
  const $aedcc4886d2a392a$export$8b251419efc915eb = /* @__PURE__ */ forwardRef($aedcc4886d2a392a$var$Header);
8444
8455
  const useBasicAudio = () => {
@@ -8527,17 +8538,20 @@ const Basic = () => {
8527
8538
  }
8528
8539
  });
8529
8540
  }, [audioRef.current, audioPlayerDispatch]);
8530
- return /* @__PURE__ */ jsx("audio", __spreadValues(__spreadValues({
8541
+ return /* @__PURE__ */ jsx("audio", {
8531
8542
  id: "rs-audio-player-audio",
8532
8543
  autoPlay: curAudioState.isPlaying,
8533
8544
  ref: audioRef,
8534
- src: curPlayedAudioData.src
8535
- }, useAudioEventProps), audioNativeStates));
8545
+ src: curPlayedAudioData.src,
8546
+ ...useAudioEventProps,
8547
+ ...audioNativeStates
8548
+ });
8536
8549
  };
8537
8550
  const useVariableColor = (variableColors) => {
8538
8551
  const colorsRef = useRef();
8539
8552
  useLayoutEffect(() => {
8540
- const parsedColors = Object.entries(variableColors).reduce((acc, [key, varName]) => __spreadProps(__spreadValues({}, acc), {
8553
+ const parsedColors = Object.entries(variableColors).reduce((acc, [key, varName]) => ({
8554
+ ...acc,
8541
8555
  [key]: window.getComputedStyle(document.getElementsByClassName("rs-audio-player-provider")[0]).getPropertyValue(`${varName}`)
8542
8556
  }), {});
8543
8557
  colorsRef.current = parsedColors;
@@ -8781,10 +8795,10 @@ var wavesurfer = { exports: {} };
8781
8795
  "./src/drawer.js": (module3, exports2, __webpack_require__2) => {
8782
8796
  function _typeof(obj) {
8783
8797
  "@babel/helpers - typeof";
8784
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(obj2) {
8798
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
8785
8799
  return typeof obj2;
8786
8800
  } : function(obj2) {
8787
- return obj2 && typeof Symbol == "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
8801
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
8788
8802
  }, _typeof(obj);
8789
8803
  }
8790
8804
  Object.defineProperty(exports2, "__esModule", {
@@ -9164,10 +9178,10 @@ var wavesurfer = { exports: {} };
9164
9178
  "./src/drawer.multicanvas.js": (module3, exports2, __webpack_require__2) => {
9165
9179
  function _typeof(obj) {
9166
9180
  "@babel/helpers - typeof";
9167
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(obj2) {
9181
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
9168
9182
  return typeof obj2;
9169
9183
  } : function(obj2) {
9170
- return obj2 && typeof Symbol == "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
9184
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
9171
9185
  }, _typeof(obj);
9172
9186
  }
9173
9187
  Object.defineProperty(exports2, "__esModule", {
@@ -9645,10 +9659,10 @@ var wavesurfer = { exports: {} };
9645
9659
  "./src/mediaelement-webaudio.js": (module3, exports2, __webpack_require__2) => {
9646
9660
  function _typeof(obj) {
9647
9661
  "@babel/helpers - typeof";
9648
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(obj2) {
9662
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
9649
9663
  return typeof obj2;
9650
9664
  } : function(obj2) {
9651
- return obj2 && typeof Symbol == "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
9665
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
9652
9666
  }, _typeof(obj);
9653
9667
  }
9654
9668
  Object.defineProperty(exports2, "__esModule", {
@@ -9824,10 +9838,10 @@ var wavesurfer = { exports: {} };
9824
9838
  "./src/mediaelement.js": (module3, exports2, __webpack_require__2) => {
9825
9839
  function _typeof(obj) {
9826
9840
  "@babel/helpers - typeof";
9827
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(obj2) {
9841
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
9828
9842
  return typeof obj2;
9829
9843
  } : function(obj2) {
9830
- return obj2 && typeof Symbol == "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
9844
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
9831
9845
  }, _typeof(obj);
9832
9846
  }
9833
9847
  Object.defineProperty(exports2, "__esModule", {
@@ -10972,10 +10986,10 @@ var wavesurfer = { exports: {} };
10972
10986
  "./src/wavesurfer.js": (module3, exports2, __webpack_require__2) => {
10973
10987
  function _typeof(obj) {
10974
10988
  "@babel/helpers - typeof";
10975
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(obj2) {
10989
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
10976
10990
  return typeof obj2;
10977
10991
  } : function(obj2) {
10978
- return obj2 && typeof Symbol == "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
10992
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
10979
10993
  }, _typeof(obj);
10980
10994
  }
10981
10995
  Object.defineProperty(exports2, "__esModule", {
@@ -11195,7 +11209,7 @@ var wavesurfer = { exports: {} };
11195
11209
  _defineProperty(_assertThisInitialized(_this), "util", util);
11196
11210
  _this.params = Object.assign({}, _this.defaultParams, params);
11197
11211
  _this.params.splitChannelsOptions = Object.assign({}, _this.defaultParams.splitChannelsOptions, params.splitChannelsOptions);
11198
- _this.container = typeof params.container == "string" ? document.querySelector(_this.params.container) : _this.params.container;
11212
+ _this.container = "string" == typeof params.container ? document.querySelector(_this.params.container) : _this.params.container;
11199
11213
  if (!_this.container) {
11200
11214
  throw new Error("Container element not found");
11201
11215
  }
@@ -12019,10 +12033,10 @@ var wavesurfer = { exports: {} };
12019
12033
  "./src/webaudio.js": (module3, exports2, __webpack_require__2) => {
12020
12034
  function _typeof(obj) {
12021
12035
  "@babel/helpers - typeof";
12022
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(obj2) {
12036
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
12023
12037
  return typeof obj2;
12024
12038
  } : function(obj2) {
12025
- return obj2 && typeof Symbol == "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
12039
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
12026
12040
  }, _typeof(obj);
12027
12041
  }
12028
12042
  Object.defineProperty(exports2, "__esModule", {
@@ -12668,7 +12682,7 @@ var wavesurfer = { exports: {} };
12668
12682
  "./node_modules/debounce/index.js": (module3) => {
12669
12683
  function debounce(func, wait, immediate) {
12670
12684
  var timeout, args, context, timestamp, result;
12671
- if (wait == null)
12685
+ if (null == wait)
12672
12686
  wait = 100;
12673
12687
  function later() {
12674
12688
  var last = Date.now() - timestamp;
@@ -13307,14 +13321,11 @@ const DrawerContainer = styled.div`
13307
13321
  }
13308
13322
  `}
13309
13323
  `;
13310
- const DrawerContent = (_e) => {
13311
- var _f = _e, {
13312
- children,
13313
- isWithAnimation = true
13314
- } = _f, drawerContentProps = __objRest(_f, [
13315
- "children",
13316
- "isWithAnimation"
13317
- ]);
13324
+ const DrawerContent = ({
13325
+ children,
13326
+ isWithAnimation = true,
13327
+ ...drawerContentProps
13328
+ }) => {
13318
13329
  const {
13319
13330
  isOpen,
13320
13331
  setIsOpen
@@ -13329,12 +13340,14 @@ const DrawerContent = (_e) => {
13329
13340
  clearTime: 300,
13330
13341
  onExited,
13331
13342
  onEntered,
13332
- children: /* @__PURE__ */ jsx(DrawerContentContainer, __spreadProps(__spreadValues({}, drawerContentProps), {
13343
+ children: /* @__PURE__ */ jsx(DrawerContentContainer, {
13344
+ ...drawerContentProps,
13333
13345
  children
13334
- }))
13335
- }) : /* @__PURE__ */ jsx(DrawerContentContainer, __spreadProps(__spreadValues({}, drawerContentProps), {
13346
+ })
13347
+ }) : /* @__PURE__ */ jsx(DrawerContentContainer, {
13348
+ ...drawerContentProps,
13336
13349
  children
13337
- }));
13350
+ });
13338
13351
  };
13339
13352
  const DrawerContentContainer = styled.div`
13340
13353
  ${({
@@ -13393,7 +13406,8 @@ $parcel$export$b($994c48bfb00b620b$exports, "repeat", () => $994c48bfb00b620b$ex
13393
13406
  $parcel$export$b($994c48bfb00b620b$exports, "minmax", () => $994c48bfb00b620b$export$9c1b655deaca4988);
13394
13407
  $parcel$export$b($994c48bfb00b620b$exports, "fitContent", () => $994c48bfb00b620b$export$2f0b47b0911ce698);
13395
13408
  $parcel$export$b($994c48bfb00b620b$exports, "Grid", () => $994c48bfb00b620b$export$ef2184bd89960b14);
13396
- const $994c48bfb00b620b$var$gridStyleProps = __spreadProps(__spreadValues({}, $380ed8f3903c3931$export$fe9c6e915565b4e8), {
13409
+ const $994c48bfb00b620b$var$gridStyleProps = {
13410
+ ...$380ed8f3903c3931$export$fe9c6e915565b4e8,
13397
13411
  autoFlow: [
13398
13412
  "gridAutoFlow",
13399
13413
  $380ed8f3903c3931$export$46b6c81d11d2c30a
@@ -13446,15 +13460,17 @@ const $994c48bfb00b620b$var$gridStyleProps = __spreadProps(__spreadValues({}, $3
13446
13460
  "alignContent",
13447
13461
  $380ed8f3903c3931$export$46b6c81d11d2c30a
13448
13462
  ]
13449
- });
13463
+ };
13450
13464
  function $994c48bfb00b620b$var$Grid(props, ref) {
13451
- let _a2 = props, { children } = _a2, otherProps = __objRest(_a2, ["children"]);
13465
+ let { children, ...otherProps } = props;
13452
13466
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(otherProps, $994c48bfb00b620b$var$gridStyleProps);
13453
13467
  styleProps.style.display = "grid";
13454
13468
  let domRef = $98e5a8ae0e6415af$export$c2c55ef9111cafd8(ref);
13455
- return /* @__PURE__ */ $d7FTw$react.createElement("div", __spreadProps(__spreadValues(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps)), styleProps), {
13469
+ return /* @__PURE__ */ $d7FTw$react.createElement("div", {
13470
+ ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps),
13471
+ ...styleProps,
13456
13472
  ref: domRef
13457
- }), children);
13473
+ }, children);
13458
13474
  }
13459
13475
  function $994c48bfb00b620b$export$76d90c956114f2c2(count, $994c48bfb00b620b$export$76d90c956114f2c22) {
13460
13476
  return `repeat(${count}, ${$994c48bfb00b620b$var$gridTemplateValue($994c48bfb00b620b$export$76d90c956114f2c22)})`;
@@ -13514,7 +13530,7 @@ const $884c64d19340d345$var$flexStyleProps = {
13514
13530
  ]
13515
13531
  };
13516
13532
  function $884c64d19340d345$var$Flex(props, ref) {
13517
- let _a2 = props, { children } = _a2, otherProps = __objRest(_a2, ["children"]);
13533
+ let { children, ...otherProps } = props;
13518
13534
  let breakpointProvider = $1051245f87c5981d$export$199d6754bdf4e1e3();
13519
13535
  let matchedBreakpoints = (breakpointProvider === null || breakpointProvider === void 0 ? void 0 : breakpointProvider.matchedBreakpoints) || [
13520
13536
  "base"
@@ -13524,31 +13540,38 @@ function $884c64d19340d345$var$Flex(props, ref) {
13524
13540
  let domRef = $98e5a8ae0e6415af$export$c2c55ef9111cafd8(ref);
13525
13541
  let isSSR = $704cf1d3b684cc5c$export$535bd6ca7f90a273();
13526
13542
  if ((props.gap || props.rowGap || props.columnGap) && (isSSR || !$884c64d19340d345$var$isFlexGapSupported())) {
13527
- let style3 = __spreadProps(__spreadValues({}, flexStyle.style), {
13543
+ let style3 = {
13544
+ ...flexStyle.style,
13528
13545
  "--column-gap": props.columnGap != null ? $380ed8f3903c3931$export$f348bec194f2e6b5(props.columnGap, matchedBreakpoints) : void 0,
13529
13546
  "--row-gap": props.rowGap != null ? $380ed8f3903c3931$export$f348bec194f2e6b5(props.rowGap, matchedBreakpoints) : void 0,
13530
13547
  "--gap": props.gap != null ? $380ed8f3903c3931$export$f348bec194f2e6b5(props.gap, matchedBreakpoints) : void 0
13531
- });
13532
- return /* @__PURE__ */ $d7FTw$react.createElement("div", __spreadProps(__spreadValues(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps)), styleProps), {
13548
+ };
13549
+ return /* @__PURE__ */ $d7FTw$react.createElement("div", {
13550
+ ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps),
13551
+ ...styleProps,
13533
13552
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault$4($01dd1839b5376a46$exports), "flex-container", styleProps.className),
13534
13553
  ref: domRef
13535
- }), /* @__PURE__ */ $d7FTw$react.createElement("div", {
13554
+ }, /* @__PURE__ */ $d7FTw$react.createElement("div", {
13536
13555
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault$4($01dd1839b5376a46$exports), "flex", "flex-gap"),
13537
13556
  style: style3
13538
13557
  }, children));
13539
13558
  }
13540
- let style2 = __spreadValues(__spreadValues({}, styleProps.style), flexStyle.style);
13559
+ let style2 = {
13560
+ ...styleProps.style,
13561
+ ...flexStyle.style
13562
+ };
13541
13563
  if (props.gap != null)
13542
13564
  style2.gap = $380ed8f3903c3931$export$f348bec194f2e6b5(props.gap, matchedBreakpoints);
13543
13565
  if (props.columnGap != null)
13544
13566
  style2.columnGap = $380ed8f3903c3931$export$f348bec194f2e6b5(props.columnGap, matchedBreakpoints);
13545
13567
  if (props.rowGap != null)
13546
13568
  style2.rowGap = $380ed8f3903c3931$export$f348bec194f2e6b5(props.rowGap, matchedBreakpoints);
13547
- return /* @__PURE__ */ $d7FTw$react.createElement("div", __spreadProps(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps)), {
13569
+ return /* @__PURE__ */ $d7FTw$react.createElement("div", {
13570
+ ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps),
13548
13571
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault$4($01dd1839b5376a46$exports), "flex", styleProps.className),
13549
13572
  style: style2,
13550
13573
  ref: domRef
13551
- }), children);
13574
+ }, children);
13552
13575
  }
13553
13576
  function $884c64d19340d345$var$flexAlignValue(value) {
13554
13577
  if (value === "start")
@@ -13628,7 +13651,7 @@ const useSortableListItem = ({
13628
13651
  ...curListData.slice(0, index),
13629
13652
  draggedItem,
13630
13653
  ...curListData.slice(index, curListData.length)
13631
- ]).map((item, idx) => __spreadProps(__spreadValues({}, item), { index: idx }));
13654
+ ]).map((item, idx) => ({ ...item, index: idx }));
13632
13655
  onDropCb && onDropCb(e, newListData);
13633
13656
  },
13634
13657
  onClick: (e) => {
@@ -13638,20 +13661,19 @@ const useSortableListItem = ({
13638
13661
  };
13639
13662
  };
13640
13663
  const SortableListItem = (props) => {
13641
- const _a2 = props, {
13642
- children
13643
- } = _a2, useListItemProps = __objRest(_a2, [
13644
- "children"
13645
- ]);
13664
+ const {
13665
+ children,
13666
+ ...useListItemProps
13667
+ } = props;
13646
13668
  const eventProps = useSortableListItem(useListItemProps);
13647
- return /* @__PURE__ */ jsx(SortableListItemContainer, __spreadProps(__spreadValues({
13648
- className: "list-item-root-container"
13649
- }, eventProps), {
13669
+ return /* @__PURE__ */ jsx(SortableListItemContainer, {
13670
+ className: "list-item-root-container",
13671
+ ...eventProps,
13650
13672
  children: /* @__PURE__ */ jsx($884c64d19340d345$export$f51f4c4ede09e011, {
13651
13673
  alignItems: "center",
13652
13674
  children
13653
13675
  })
13654
- }));
13676
+ });
13655
13677
  };
13656
13678
  const SortableListItemContainer = styled.li`
13657
13679
  border: 2px solid transparent;
@@ -13835,36 +13857,34 @@ const PlayList = ({
13835
13857
  } = usePlayList({
13836
13858
  setIsOpen
13837
13859
  });
13838
- const _a2 = sortableItemEventProps, {
13860
+ const {
13839
13861
  onClick: onClickItem,
13840
- onDragStart: onDragStartItem
13841
- } = _a2, otherSortableItemEventProps = __objRest(_a2, [
13842
- "onClick",
13843
- "onDragStart"
13844
- ]);
13845
- return playList.length !== 0 ? $k7QOs$reactdom.createPortal(/* @__PURE__ */ jsx(CssTransition, __spreadProps(__spreadValues({
13862
+ onDragStart: onDragStartItem,
13863
+ ...otherSortableItemEventProps
13864
+ } = sortableItemEventProps;
13865
+ return playList.length !== 0 ? $k7QOs$reactdom.createPortal(/* @__PURE__ */ jsx(CssTransition, {
13846
13866
  visible: isOpen,
13847
13867
  name: "playlist-content",
13848
13868
  enterTime: 20,
13849
13869
  leaveTime: 20,
13850
- clearTime: 300
13851
- }, cssTransitionEventProps), {
13870
+ clearTime: 300,
13871
+ ...cssTransitionEventProps,
13852
13872
  children: /* @__PURE__ */ jsx(PlayListContainer, {
13853
13873
  className: "play-list-container",
13854
13874
  children: /* @__PURE__ */ jsx(SortableList, {
13855
- children: playList.map((data, index) => /* @__PURE__ */ jsx(SortableList.Item, __spreadProps(__spreadValues({
13875
+ children: playList.map((data, index) => /* @__PURE__ */ jsx(SortableList.Item, {
13856
13876
  index,
13857
13877
  listData: playList,
13858
13878
  onClick: () => onClickItem(index),
13859
- onDragStart: () => onDragStartItem(index)
13860
- }, otherSortableItemEventProps), {
13879
+ onDragStart: () => onDragStartItem(index),
13880
+ ...otherSortableItemEventProps,
13861
13881
  children: /* @__PURE__ */ jsx(PlayListItem, {
13862
13882
  data
13863
13883
  })
13864
- }), `sortable-item-${index}`))
13884
+ }, `sortable-item-${index}`))
13865
13885
  })
13866
13886
  })
13867
- })), document.querySelector(".sortable-play-list")) : /* @__PURE__ */ jsx(Fragment, {});
13887
+ }), document.querySelector(".sortable-play-list")) : /* @__PURE__ */ jsx(Fragment, {});
13868
13888
  };
13869
13889
  const PlayListContainer = styled.div`
13870
13890
  height: 20vh;
@@ -13956,9 +13976,9 @@ const BarProgress = () => {
13956
13976
  });
13957
13977
  }
13958
13978
  }, [progressHandleRef, progressBarRef, progressValueRef, audioPlayerDispatch]);
13959
- return /* @__PURE__ */ jsxs(BarProgressWrapper, __spreadProps(__spreadValues({
13960
- className: "bar-progress-wrapper"
13961
- }, eventProps), {
13979
+ return /* @__PURE__ */ jsxs(BarProgressWrapper, {
13980
+ className: "bar-progress-wrapper",
13981
+ ...eventProps,
13962
13982
  children: [/* @__PURE__ */ jsx("div", {
13963
13983
  className: "rs-player-progress-bar",
13964
13984
  ref: progressBarRef,
@@ -13970,7 +13990,7 @@ const BarProgress = () => {
13970
13990
  className: "rs-player-progress-handle",
13971
13991
  ref: progressHandleRef
13972
13992
  })]
13973
- }));
13993
+ });
13974
13994
  };
13975
13995
  const BarProgressWrapper = styled.div`
13976
13996
  display: flex;
@@ -14051,13 +14071,13 @@ const Progress = () => {
14051
14071
  };
14052
14072
  const Grid = $994c48bfb00b620b$export$ef2184bd89960b14;
14053
14073
  const GridItem = forwardRef((viewProps, ref) => {
14054
- return /* @__PURE__ */ jsx($b9606c0c41d55371$export$27a5bd065ad55220, __spreadProps(__spreadValues({
14074
+ return /* @__PURE__ */ jsx($b9606c0c41d55371$export$27a5bd065ad55220, {
14055
14075
  justifySelf: "center",
14056
14076
  padding: "0 5px",
14057
- ref
14058
- }, viewProps), {
14077
+ ref,
14078
+ ...viewProps,
14059
14079
  children: viewProps.children
14060
- }));
14080
+ });
14061
14081
  });
14062
14082
  GridItem.displayName = "GridItem";
14063
14083
  Grid.Item = GridItem;
@@ -14292,15 +14312,16 @@ $6edfbdaffbc9baf9$export$12b8600bcd969018 = "spectrum-UIIcon-TripleGripper_368b3
14292
14312
  function $6bfb67578ee6effd$var$iconColorValue(value) {
14293
14313
  return `var(--spectrum-semantic-${value}-color-icon)`;
14294
14314
  }
14295
- const $6bfb67578ee6effd$var$iconStyleProps = __spreadProps(__spreadValues({}, $380ed8f3903c3931$export$fe9c6e915565b4e8), {
14315
+ const $6bfb67578ee6effd$var$iconStyleProps = {
14316
+ ...$380ed8f3903c3931$export$fe9c6e915565b4e8,
14296
14317
  color: [
14297
14318
  "color",
14298
14319
  $6bfb67578ee6effd$var$iconColorValue
14299
14320
  ]
14300
- });
14321
+ };
14301
14322
  function $6bfb67578ee6effd$export$f04a61298a47a40f(props) {
14302
14323
  props = $59d09bcc83651bf9$export$1e5c9e6e4e15efe3(props, "icon");
14303
- let _a2 = props, { children, size, "aria-label": ariaLabel, "aria-hidden": ariaHidden } = _a2, otherProps = __objRest(_a2, ["children", "size", "aria-label", "aria-hidden"]);
14324
+ let { children, size, "aria-label": ariaLabel, "aria-hidden": ariaHidden, ...otherProps } = props;
14304
14325
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(otherProps, $6bfb67578ee6effd$var$iconStyleProps);
14305
14326
  let provider = $7167f8da3cce35e4$export$693cdb10cec23617();
14306
14327
  let scale = "M";
@@ -14309,19 +14330,21 @@ function $6bfb67578ee6effd$export$f04a61298a47a40f(props) {
14309
14330
  if (!ariaHidden)
14310
14331
  ariaHidden = void 0;
14311
14332
  let iconSize = size ? size : scale;
14312
- return /* @__PURE__ */ $d7FTw$react.cloneElement(children, __spreadProps(__spreadValues(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps)), styleProps), {
14333
+ return /* @__PURE__ */ $d7FTw$react.cloneElement(children, {
14334
+ ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps),
14335
+ ...styleProps,
14313
14336
  focusable: "false",
14314
14337
  "aria-label": ariaLabel,
14315
14338
  "aria-hidden": ariaLabel ? ariaHidden || void 0 : true,
14316
14339
  role: "img",
14317
14340
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault$3($6edfbdaffbc9baf9$exports), children.props.className, "spectrum-Icon", `spectrum-Icon--size${iconSize}`, styleProps.className)
14318
- }));
14341
+ });
14319
14342
  }
14320
14343
  var $9ba43a63383852e3$exports = {};
14321
14344
  $parcel$export$a($9ba43a63383852e3$exports, "UIIcon", () => $9ba43a63383852e3$export$906cc5990ff10700);
14322
14345
  function $9ba43a63383852e3$export$906cc5990ff10700(props) {
14323
14346
  props = $59d09bcc83651bf9$export$1e5c9e6e4e15efe3(props, "icon");
14324
- let _a2 = props, { children, "aria-label": ariaLabel, "aria-hidden": ariaHidden } = _a2, otherProps = __objRest(_a2, ["children", "aria-label", "aria-hidden"]);
14347
+ let { children, "aria-label": ariaLabel, "aria-hidden": ariaHidden, ...otherProps } = props;
14325
14348
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(otherProps);
14326
14349
  let provider = $7167f8da3cce35e4$export$693cdb10cec23617();
14327
14350
  let scale = "M";
@@ -14329,7 +14352,9 @@ function $9ba43a63383852e3$export$906cc5990ff10700(props) {
14329
14352
  scale = provider.scale === "large" ? "L" : "M";
14330
14353
  if (!ariaHidden)
14331
14354
  ariaHidden = void 0;
14332
- return /* @__PURE__ */ $d7FTw$react.cloneElement(children, __spreadProps(__spreadValues(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps)), styleProps), {
14355
+ return /* @__PURE__ */ $d7FTw$react.cloneElement(children, {
14356
+ ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps),
14357
+ ...styleProps,
14333
14358
  scale,
14334
14359
  focusable: "false",
14335
14360
  "aria-label": ariaLabel,
@@ -14338,7 +14363,7 @@ function $9ba43a63383852e3$export$906cc5990ff10700(props) {
14338
14363
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault$3($6edfbdaffbc9baf9$exports), children.props.className, "spectrum-Icon", {
14339
14364
  [`spectrum-UIIcon-${children.type["displayName"]}`]: children.type["displayName"]
14340
14365
  }, styleProps.className)
14341
- }));
14366
+ });
14342
14367
  }
14343
14368
  var module = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14344
14369
  __proto__: null,
@@ -15002,12 +15027,13 @@ function $907718708eab68af$export$1a38b4ad7f578e1d(props) {
15002
15027
  let { children, focusClass, focusRingClass } = props;
15003
15028
  let { isFocused, isFocusVisible, focusProps } = $f7dceffc5ad7768b$export$4e328f61c538687f(props);
15004
15029
  let child = $d7FTw$react.Children.only(children);
15005
- return /* @__PURE__ */ $d7FTw$react.cloneElement(child, $3ef42575df84b30b$export$9d1611c77c2fe928(child.props, __spreadProps(__spreadValues({}, focusProps), {
15030
+ return /* @__PURE__ */ $d7FTw$react.cloneElement(child, $3ef42575df84b30b$export$9d1611c77c2fe928(child.props, {
15031
+ ...focusProps,
15006
15032
  className: clsx({
15007
15033
  [focusClass || ""]: isFocused,
15008
15034
  [focusRingClass || ""]: isFocusVisible
15009
15035
  })
15010
- })));
15036
+ }));
15011
15037
  }
15012
15038
  var $e6afbd83fe6ebbd2$exports = {};
15013
15039
  $parcel$export$9($e6afbd83fe6ebbd2$exports, "FocusableProvider", () => $e6afbd83fe6ebbd2$export$13f3202a3e5ddd5);
@@ -15016,14 +15042,15 @@ let $e6afbd83fe6ebbd2$var$FocusableContext = /* @__PURE__ */ $d7FTw$react.create
15016
15042
  function $e6afbd83fe6ebbd2$var$useFocusableContext(ref) {
15017
15043
  let context = useContext($e6afbd83fe6ebbd2$var$FocusableContext) || {};
15018
15044
  $e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref);
15019
- let _a2 = context, { ref: _ } = _a2, otherProps = __objRest(_a2, ["ref"]);
15045
+ let { ref: _, ...otherProps } = context;
15020
15046
  return otherProps;
15021
15047
  }
15022
15048
  function $e6afbd83fe6ebbd2$var$FocusableProvider(props, ref) {
15023
- let _a2 = props, { children } = _a2, otherProps = __objRest(_a2, ["children"]);
15024
- let context = __spreadProps(__spreadValues({}, otherProps), {
15049
+ let { children, ...otherProps } = props;
15050
+ let context = {
15051
+ ...otherProps,
15025
15052
  ref
15026
- });
15053
+ };
15027
15054
  return /* @__PURE__ */ $d7FTw$react.createElement($e6afbd83fe6ebbd2$var$FocusableContext.Provider, {
15028
15055
  value: context
15029
15056
  }, children);
@@ -15044,9 +15071,10 @@ function $e6afbd83fe6ebbd2$export$4c014de7c8940b4c(props, domRef) {
15044
15071
  domRef
15045
15072
  ]);
15046
15073
  return {
15047
- focusableProps: $3ef42575df84b30b$export$9d1611c77c2fe928(__spreadProps(__spreadValues({}, interactions), {
15074
+ focusableProps: $3ef42575df84b30b$export$9d1611c77c2fe928({
15075
+ ...interactions,
15048
15076
  tabIndex: props.excludeFromTabOrder && !props.isDisabled ? -1 : void 0
15049
- }), interactionProps)
15077
+ }, interactionProps)
15050
15078
  };
15051
15079
  }
15052
15080
  function $parcel$export$8(e, n2, v, s) {
@@ -15151,9 +15179,10 @@ function $4e1b34546679e357$export$a6da6c504e4bba8b(props, state, ref) {
15151
15179
  onBlur
15152
15180
  }, ref);
15153
15181
  return {
15154
- triggerProps: __spreadValues({
15155
- "aria-describedby": state.isOpen ? tooltipId : void 0
15156
- }, $3ef42575df84b30b$export$9d1611c77c2fe928(focusableProps, hoverProps, pressProps)),
15182
+ triggerProps: {
15183
+ "aria-describedby": state.isOpen ? tooltipId : void 0,
15184
+ ...$3ef42575df84b30b$export$9d1611c77c2fe928(focusableProps, hoverProps, pressProps)
15185
+ },
15157
15186
  tooltipProps: {
15158
15187
  id: tooltipId
15159
15188
  }
@@ -15612,12 +15641,13 @@ const $bc765a7a041310da$var$OPEN_STATES = {
15612
15641
  entered: true
15613
15642
  };
15614
15643
  function $bc765a7a041310da$export$b847a40ee92eff38(props) {
15615
- return /* @__PURE__ */ $d7FTw$react.createElement(default_1, __spreadValues({
15644
+ return /* @__PURE__ */ $d7FTw$react.createElement(default_1, {
15616
15645
  timeout: {
15617
15646
  enter: 0,
15618
15647
  exit: 350
15619
- }
15620
- }, props), (state) => $d7FTw$react.Children.map(props.children, (child) => child && /* @__PURE__ */ $d7FTw$react.cloneElement(child, {
15648
+ },
15649
+ ...props
15650
+ }, (state) => $d7FTw$react.Children.map(props.children, (child) => child && /* @__PURE__ */ $d7FTw$react.cloneElement(child, {
15621
15651
  isOpen: !!$bc765a7a041310da$var$OPEN_STATES[state]
15622
15652
  })));
15623
15653
  }
@@ -15728,10 +15758,11 @@ let $17b503f7de08fecc$var$arrowPlacement = {
15728
15758
  bottom: "bottom"
15729
15759
  };
15730
15760
  function $17b503f7de08fecc$var$Popover(props, ref) {
15731
- let _a2 = props, { children, placement, arrowProps, onClose, shouldCloseOnBlur, hideArrow, isKeyboardDismissDisabled, isNonModal, isDismissable = true } = _a2, otherProps = __objRest(_a2, ["children", "placement", "arrowProps", "onClose", "shouldCloseOnBlur", "hideArrow", "isKeyboardDismissDisabled", "isNonModal", "isDismissable"]);
15761
+ let { children, placement, arrowProps, onClose, shouldCloseOnBlur, hideArrow, isKeyboardDismissDisabled, isNonModal, isDismissable = true, ...otherProps } = props;
15732
15762
  let domRef = $98e5a8ae0e6415af$export$c2c55ef9111cafd8(ref);
15733
15763
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(props);
15734
- return /* @__PURE__ */ $d7FTw$react.createElement($70305dc5fb729c3b$export$c6fdb837b070b4ff, otherProps, /* @__PURE__ */ $d7FTw$react.createElement($17b503f7de08fecc$var$PopoverWrapper, __spreadProps(__spreadValues({}, styleProps), {
15764
+ return /* @__PURE__ */ $d7FTw$react.createElement($70305dc5fb729c3b$export$c6fdb837b070b4ff, otherProps, /* @__PURE__ */ $d7FTw$react.createElement($17b503f7de08fecc$var$PopoverWrapper, {
15765
+ ...styleProps,
15735
15766
  ref: domRef,
15736
15767
  placement,
15737
15768
  arrowProps,
@@ -15741,17 +15772,19 @@ function $17b503f7de08fecc$var$Popover(props, ref) {
15741
15772
  hideArrow,
15742
15773
  isNonModal,
15743
15774
  isDismissable
15744
- }), children));
15775
+ }, children));
15745
15776
  }
15746
15777
  const $17b503f7de08fecc$var$PopoverWrapper = /* @__PURE__ */ forwardRef((props, ref) => {
15747
- let _a2 = props, { children, placement = "bottom", arrowProps, isOpen, hideArrow, shouldCloseOnBlur, isKeyboardDismissDisabled, isNonModal, isDismissable } = _a2, otherProps = __objRest(_a2, ["children", "placement", "arrowProps", "isOpen", "hideArrow", "shouldCloseOnBlur", "isKeyboardDismissDisabled", "isNonModal", "isDismissable"]);
15748
- let { overlayProps } = $a11501f3d1d39e6c$export$ea8f71083e90600f(__spreadProps(__spreadValues({}, props), {
15778
+ let { children, placement = "bottom", arrowProps, isOpen, hideArrow, shouldCloseOnBlur, isKeyboardDismissDisabled, isNonModal, isDismissable, ...otherProps } = props;
15779
+ let { overlayProps } = $a11501f3d1d39e6c$export$ea8f71083e90600f({
15780
+ ...props,
15749
15781
  isDismissable: isDismissable && isOpen
15750
- }), ref);
15782
+ }, ref);
15751
15783
  let { modalProps } = $f57aed4a881a3485$export$33ffd74ebf07f060({
15752
15784
  isDisabled: isNonModal
15753
15785
  });
15754
- return /* @__PURE__ */ $d7FTw$react.createElement("div", __spreadProps(__spreadValues({}, $3ef42575df84b30b$export$9d1611c77c2fe928(otherProps, overlayProps, modalProps)), {
15786
+ return /* @__PURE__ */ $d7FTw$react.createElement("div", {
15787
+ ...$3ef42575df84b30b$export$9d1611c77c2fe928(otherProps, overlayProps, modalProps),
15755
15788
  ref,
15756
15789
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault$2($645594d913f34a2a$exports), "spectrum-Popover", `spectrum-Popover--${placement}`, {
15757
15790
  "spectrum-Popover--withTip": !hideArrow,
@@ -15759,7 +15792,7 @@ const $17b503f7de08fecc$var$PopoverWrapper = /* @__PURE__ */ forwardRef((props,
15759
15792
  }, $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault$2($853e19557ad8790f$exports), "spectrum-Popover", "react-spectrum-Popover"), otherProps.className),
15760
15793
  role: "presentation",
15761
15794
  "data-testid": "popover"
15762
- }), children, hideArrow ? null : /* @__PURE__ */ $d7FTw$react.createElement($17b503f7de08fecc$var$Arrow, {
15795
+ }, children, hideArrow ? null : /* @__PURE__ */ $d7FTw$react.createElement($17b503f7de08fecc$var$Arrow, {
15763
15796
  arrowProps,
15764
15797
  direction: $17b503f7de08fecc$var$arrowPlacement[placement]
15765
15798
  }));
@@ -15814,14 +15847,15 @@ function $17b503f7de08fecc$var$Arrow(props) {
15814
15847
  secondaryEnd
15815
15848
  ];
15816
15849
  let arrowProps = props.arrowProps;
15817
- return /* @__PURE__ */ $d7FTw$react.createElement("svg", __spreadValues({
15850
+ return /* @__PURE__ */ $d7FTw$react.createElement("svg", {
15818
15851
  xmlns: "http://www.w3.org/svg/2000",
15819
15852
  width: Math.ceil(landscape ? secondary : primary),
15820
15853
  height: Math.ceil(landscape ? primary : secondary),
15821
15854
  style: props.style,
15822
15855
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault$2($645594d913f34a2a$exports), "spectrum-Popover-tip"),
15823
- ref
15824
- }, arrowProps), /* @__PURE__ */ $d7FTw$react.createElement("path", {
15856
+ ref,
15857
+ ...arrowProps
15858
+ }, /* @__PURE__ */ $d7FTw$react.createElement("path", {
15825
15859
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault$2($645594d913f34a2a$exports), "spectrum-Popover-tip-triangle"),
15826
15860
  d: pathData.join(" ")
15827
15861
  }));
@@ -15863,23 +15897,24 @@ function $76a452f4e3df11be$export$f360afc887607b02({ isOpen }) {
15863
15897
  });
15864
15898
  }
15865
15899
  function $842084dfa182af65$var$Modal(props, ref) {
15866
- let _a2 = props, { children, onClose, type } = _a2, otherProps = __objRest(_a2, ["children", "onClose", "type"]);
15900
+ let { children, onClose, type, ...otherProps } = props;
15867
15901
  let domRef = $98e5a8ae0e6415af$export$c2c55ef9111cafd8(ref);
15868
15902
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(props);
15869
15903
  let { overlayProps, underlayProps } = $a11501f3d1d39e6c$export$ea8f71083e90600f(props, domRef);
15870
- return /* @__PURE__ */ $d7FTw$react.createElement($70305dc5fb729c3b$export$c6fdb837b070b4ff, otherProps, /* @__PURE__ */ $d7FTw$react.createElement($76a452f4e3df11be$export$f360afc887607b02, underlayProps), /* @__PURE__ */ $d7FTw$react.createElement($842084dfa182af65$var$ModalWrapper, __spreadProps(__spreadValues({}, styleProps), {
15904
+ return /* @__PURE__ */ $d7FTw$react.createElement($70305dc5fb729c3b$export$c6fdb837b070b4ff, otherProps, /* @__PURE__ */ $d7FTw$react.createElement($76a452f4e3df11be$export$f360afc887607b02, underlayProps), /* @__PURE__ */ $d7FTw$react.createElement($842084dfa182af65$var$ModalWrapper, {
15905
+ ...styleProps,
15871
15906
  onClose,
15872
15907
  type,
15873
15908
  ref: domRef,
15874
15909
  overlayProps
15875
- }), children));
15910
+ }, children));
15876
15911
  }
15877
15912
  let $842084dfa182af65$var$typeMap = {
15878
15913
  fullscreen: "fullscreen",
15879
15914
  fullscreenTakeover: "fullscreenTakeover"
15880
15915
  };
15881
15916
  let $842084dfa182af65$var$ModalWrapper = /* @__PURE__ */ forwardRef(function(props, ref) {
15882
- let _a2 = props, { children, isOpen, type, overlayProps } = _a2, otherProps = __objRest(_a2, ["children", "isOpen", "type", "overlayProps"]);
15917
+ let { children, isOpen, type, overlayProps, ...otherProps } = props;
15883
15918
  let typeVariant = $842084dfa182af65$var$typeMap[type];
15884
15919
  $49c51c25361d4cd2$export$ee0f7cc6afcd1c18();
15885
15920
  let { modalProps } = $f57aed4a881a3485$export$33ffd74ebf07f060();
@@ -15896,11 +15931,12 @@ let $842084dfa182af65$var$ModalWrapper = /* @__PURE__ */ forwardRef(function(pro
15896
15931
  return /* @__PURE__ */ $d7FTw$react.createElement("div", {
15897
15932
  className: wrapperClassName,
15898
15933
  style: style2
15899
- }, /* @__PURE__ */ $d7FTw$react.createElement("div", __spreadProps(__spreadValues({}, $3ef42575df84b30b$export$9d1611c77c2fe928(otherProps, overlayProps, modalProps)), {
15934
+ }, /* @__PURE__ */ $d7FTw$react.createElement("div", {
15935
+ ...$3ef42575df84b30b$export$9d1611c77c2fe928(otherProps, overlayProps, modalProps),
15900
15936
  ref,
15901
15937
  className: modalClassName,
15902
15938
  "data-testid": "modal"
15903
- }), children));
15939
+ }, children));
15904
15940
  });
15905
15941
  let $842084dfa182af65$export$2b77a92f1a5ad772 = /* @__PURE__ */ forwardRef($842084dfa182af65$var$Modal);
15906
15942
  var $1afc87f3d16a5a1c$exports = {};
@@ -15919,22 +15955,24 @@ $930b2f4095bb11d1$export$a9781837241c946d = "is-open_23bf66";
15919
15955
  $930b2f4095bb11d1$export$641b9b70c23dce66 = "spectrum-Tray-wrapper_23bf66";
15920
15956
  $930b2f4095bb11d1$export$79bfb05e59a300b = "spectrum-Tray--fixedHeight_23bf66";
15921
15957
  function $1afc87f3d16a5a1c$var$Tray(props, ref) {
15922
- let _a2 = props, { children, onClose, isFixedHeight, isNonModal } = _a2, otherProps = __objRest(_a2, ["children", "onClose", "isFixedHeight", "isNonModal"]);
15958
+ let { children, onClose, isFixedHeight, isNonModal, ...otherProps } = props;
15923
15959
  let domRef = $98e5a8ae0e6415af$export$c2c55ef9111cafd8(ref);
15924
15960
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(props);
15925
- let { overlayProps, underlayProps } = $a11501f3d1d39e6c$export$ea8f71083e90600f(__spreadProps(__spreadValues({}, props), {
15961
+ let { overlayProps, underlayProps } = $a11501f3d1d39e6c$export$ea8f71083e90600f({
15962
+ ...props,
15926
15963
  isDismissable: true
15927
- }), domRef);
15928
- return /* @__PURE__ */ $d7FTw$react.createElement($70305dc5fb729c3b$export$c6fdb837b070b4ff, otherProps, /* @__PURE__ */ $d7FTw$react.createElement($76a452f4e3df11be$export$f360afc887607b02, underlayProps), /* @__PURE__ */ $d7FTw$react.createElement($1afc87f3d16a5a1c$var$TrayWrapper, __spreadProps(__spreadValues({}, styleProps), {
15964
+ }, domRef);
15965
+ return /* @__PURE__ */ $d7FTw$react.createElement($70305dc5fb729c3b$export$c6fdb837b070b4ff, otherProps, /* @__PURE__ */ $d7FTw$react.createElement($76a452f4e3df11be$export$f360afc887607b02, underlayProps), /* @__PURE__ */ $d7FTw$react.createElement($1afc87f3d16a5a1c$var$TrayWrapper, {
15966
+ ...styleProps,
15929
15967
  onClose,
15930
15968
  ref: domRef,
15931
15969
  overlayProps,
15932
15970
  isFixedHeight,
15933
15971
  isNonModal
15934
- }), children));
15972
+ }, children));
15935
15973
  }
15936
15974
  let $1afc87f3d16a5a1c$var$TrayWrapper = /* @__PURE__ */ forwardRef(function(props, ref) {
15937
- let _a2 = props, { children, isOpen, isFixedHeight, isNonModal, overlayProps } = _a2, otherProps = __objRest(_a2, ["children", "isOpen", "isFixedHeight", "isNonModal", "overlayProps"]);
15975
+ let { children, isOpen, isFixedHeight, isNonModal, overlayProps, ...otherProps } = props;
15938
15976
  $49c51c25361d4cd2$export$ee0f7cc6afcd1c18();
15939
15977
  let { modalProps } = $f57aed4a881a3485$export$33ffd74ebf07f060({
15940
15978
  isDisabled: isNonModal
@@ -15952,11 +15990,13 @@ let $1afc87f3d16a5a1c$var$TrayWrapper = /* @__PURE__ */ forwardRef(function(prop
15952
15990
  return /* @__PURE__ */ $d7FTw$react.createElement("div", {
15953
15991
  className: wrapperClassName,
15954
15992
  style: wrapperStyle
15955
- }, /* @__PURE__ */ $d7FTw$react.createElement("div", __spreadProps(__spreadValues(__spreadValues({}, domProps), modalProps), {
15993
+ }, /* @__PURE__ */ $d7FTw$react.createElement("div", {
15994
+ ...domProps,
15995
+ ...modalProps,
15956
15996
  className,
15957
15997
  ref,
15958
15998
  "data-testid": "tray"
15959
- }), children));
15999
+ }, children));
15960
16000
  });
15961
16001
  let $1afc87f3d16a5a1c$export$4589ed81930b555c = /* @__PURE__ */ forwardRef($1afc87f3d16a5a1c$var$Tray);
15962
16002
  function $parcel$export$6(e, n2, v, s) {
@@ -16150,28 +16190,31 @@ let $dc9e2a6f9971fb04$var$iconMap = {
16150
16190
  negative: _default$5
16151
16191
  };
16152
16192
  function $dc9e2a6f9971fb04$var$Tooltip(props, ref) {
16153
- let _a2 = useContext($b8c00169fae46ac7$export$39ae08fa83328b12), { ref: overlayRef, arrowProps, state } = _a2, tooltipProviderProps = __objRest(_a2, ["ref", "arrowProps", "state"]);
16193
+ let { ref: overlayRef, arrowProps, state, ...tooltipProviderProps } = useContext($b8c00169fae46ac7$export$39ae08fa83328b12);
16154
16194
  let defaultRef = useRef();
16155
16195
  overlayRef = overlayRef || defaultRef;
16156
16196
  props = $3ef42575df84b30b$export$9d1611c77c2fe928(props, tooltipProviderProps);
16157
- let _b = props, { variant = "neutral", placement = "top", isOpen, showIcon } = _b, otherProps = __objRest(_b, ["variant", "placement", "isOpen", "showIcon"]);
16197
+ let { variant = "neutral", placement = "top", isOpen, showIcon, ...otherProps } = props;
16158
16198
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(otherProps);
16159
16199
  let { tooltipProps } = $326e436e94273fe1$export$1c4b08e0eca38426(props, state);
16160
16200
  useImperativeHandle(ref, () => $98e5a8ae0e6415af$export$a5795cc979dfae80(overlayRef));
16161
16201
  let Icon2 = $dc9e2a6f9971fb04$var$iconMap[variant];
16162
- return /* @__PURE__ */ $d7FTw$react.createElement("div", __spreadProps(__spreadValues(__spreadValues({}, styleProps), tooltipProps), {
16202
+ return /* @__PURE__ */ $d7FTw$react.createElement("div", {
16203
+ ...styleProps,
16204
+ ...tooltipProps,
16163
16205
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault$1($1e9110aec8886b85$exports), "spectrum-Tooltip", `spectrum-Tooltip--${variant}`, `spectrum-Tooltip--${placement}`, {
16164
16206
  "is-open": isOpen
16165
16207
  }, styleProps.className),
16166
16208
  ref: overlayRef
16167
- }), showIcon && variant !== "neutral" && /* @__PURE__ */ $d7FTw$react.createElement(Icon2, {
16209
+ }, showIcon && variant !== "neutral" && /* @__PURE__ */ $d7FTw$react.createElement(Icon2, {
16168
16210
  UNSAFE_className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault$1($1e9110aec8886b85$exports), "spectrum-Tooltip-typeIcon"),
16169
16211
  "aria-hidden": true
16170
16212
  }), props.children && /* @__PURE__ */ $d7FTw$react.createElement("span", {
16171
16213
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault$1($1e9110aec8886b85$exports), "spectrum-Tooltip-label")
16172
- }, props.children), /* @__PURE__ */ $d7FTw$react.createElement("span", __spreadProps(__spreadValues({}, arrowProps), {
16214
+ }, props.children), /* @__PURE__ */ $d7FTw$react.createElement("span", {
16215
+ ...arrowProps,
16173
16216
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault$1($1e9110aec8886b85$exports), "spectrum-Tooltip-tip")
16174
- })));
16217
+ }));
16175
16218
  }
16176
16219
  let $dc9e2a6f9971fb04$export$28c660c63b792dea = /* @__PURE__ */ $d7FTw$react.forwardRef($dc9e2a6f9971fb04$var$Tooltip);
16177
16220
  var $019364e6919ef1db$exports = {};
@@ -16196,16 +16239,18 @@ function $019364e6919ef1db$var$TooltipTrigger(props) {
16196
16239
  crossOffset,
16197
16240
  isOpen: state.isOpen
16198
16241
  });
16199
- return /* @__PURE__ */ $d7FTw$react.createElement($e6afbd83fe6ebbd2$export$13f3202a3e5ddd5, __spreadProps(__spreadValues({}, triggerProps), {
16242
+ return /* @__PURE__ */ $d7FTw$react.createElement($e6afbd83fe6ebbd2$export$13f3202a3e5ddd5, {
16243
+ ...triggerProps,
16200
16244
  ref: tooltipTriggerRef
16201
- }), trigger, /* @__PURE__ */ $d7FTw$react.createElement($b8c00169fae46ac7$export$39ae08fa83328b12.Provider, {
16202
- value: __spreadValues({
16245
+ }, trigger, /* @__PURE__ */ $d7FTw$react.createElement($b8c00169fae46ac7$export$39ae08fa83328b12.Provider, {
16246
+ value: {
16203
16247
  state,
16204
16248
  placement,
16205
16249
  ref: overlayRef,
16206
16250
  UNSAFE_style: overlayProps.style,
16207
- arrowProps
16208
- }, tooltipProps)
16251
+ arrowProps,
16252
+ ...tooltipProps
16253
+ }
16209
16254
  }, /* @__PURE__ */ $d7FTw$react.createElement($70305dc5fb729c3b$export$c6fdb837b070b4ff, {
16210
16255
  isOpen: state.isOpen
16211
16256
  }, tooltip)));
@@ -16219,9 +16264,10 @@ $019364e6919ef1db$var$TooltipTrigger.getCollectionNode = function* (props) {
16219
16264
  let [trigger, tooltip] = childArray;
16220
16265
  yield {
16221
16266
  element: trigger,
16222
- wrapper: (element) => /* @__PURE__ */ $d7FTw$react.createElement($019364e6919ef1db$var$TooltipTrigger, __spreadValues({
16223
- key: element.key
16224
- }, props), element, tooltip)
16267
+ wrapper: (element) => /* @__PURE__ */ $d7FTw$react.createElement($019364e6919ef1db$var$TooltipTrigger, {
16268
+ key: element.key,
16269
+ ...props
16270
+ }, element, tooltip)
16225
16271
  };
16226
16272
  };
16227
16273
  let $019364e6919ef1db$export$8c610744efcf8a1d = $019364e6919ef1db$var$TooltipTrigger;
@@ -16248,7 +16294,9 @@ const Trigger = forwardRef((_, ref) => {
16248
16294
  };
16249
16295
  if (curAudioState.muted)
16250
16296
  return /* @__PURE__ */ jsx(Icon, {
16251
- render: /* @__PURE__ */ jsx(TbVolume3, __spreadValues({}, volumeOpt)),
16297
+ render: /* @__PURE__ */ jsx(TbVolume3, {
16298
+ ...volumeOpt
16299
+ }),
16252
16300
  customIcon: customIcons == null ? void 0 : customIcons.volumeMuted
16253
16301
  });
16254
16302
  const volumeState = (value) => {
@@ -16262,17 +16310,23 @@ const Trigger = forwardRef((_, ref) => {
16262
16310
  switch (volumeState(curAudioState.volume)) {
16263
16311
  case "mute":
16264
16312
  return /* @__PURE__ */ jsx(Icon, {
16265
- render: /* @__PURE__ */ jsx(TbVolume3, __spreadValues({}, volumeOpt)),
16313
+ render: /* @__PURE__ */ jsx(TbVolume3, {
16314
+ ...volumeOpt
16315
+ }),
16266
16316
  customIcon: customIcons == null ? void 0 : customIcons.volumeMuted
16267
16317
  });
16268
16318
  case "low":
16269
16319
  return /* @__PURE__ */ jsx(Icon, {
16270
- render: /* @__PURE__ */ jsx(TbVolume2, __spreadValues({}, volumeOpt)),
16320
+ render: /* @__PURE__ */ jsx(TbVolume2, {
16321
+ ...volumeOpt
16322
+ }),
16271
16323
  customIcon: customIcons == null ? void 0 : customIcons.volumeHalf
16272
16324
  });
16273
16325
  case "high":
16274
16326
  return /* @__PURE__ */ jsx(Icon, {
16275
- render: /* @__PURE__ */ jsx(TbVolume, __spreadValues({}, volumeOpt)),
16327
+ render: /* @__PURE__ */ jsx(TbVolume, {
16328
+ ...volumeOpt
16329
+ }),
16276
16330
  customIcon: customIcons == null ? void 0 : customIcons.volumeFull
16277
16331
  });
16278
16332
  default:
@@ -16295,38 +16349,44 @@ var $cd449e8defa988f0$exports = {};
16295
16349
  $parcel$export$3($cd449e8defa988f0$exports, "Text", () => $cd449e8defa988f0$export$5f1af8db9871e1d6);
16296
16350
  function $cd449e8defa988f0$var$Text(props, ref) {
16297
16351
  props = $59d09bcc83651bf9$export$1e5c9e6e4e15efe3(props, "text");
16298
- let _a2 = props, { children } = _a2, otherProps = __objRest(_a2, ["children"]);
16352
+ let { children, ...otherProps } = props;
16299
16353
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(otherProps);
16300
16354
  let domRef = $98e5a8ae0e6415af$export$c2c55ef9111cafd8(ref);
16301
- return /* @__PURE__ */ $d7FTw$react.createElement("span", __spreadProps(__spreadValues(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps)), styleProps), {
16355
+ return /* @__PURE__ */ $d7FTw$react.createElement("span", {
16356
+ ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps),
16357
+ ...styleProps,
16302
16358
  ref: domRef
16303
- }), children);
16359
+ }, children);
16304
16360
  }
16305
16361
  const $cd449e8defa988f0$export$5f1af8db9871e1d6 = /* @__PURE__ */ forwardRef($cd449e8defa988f0$var$Text);
16306
16362
  var $c382fceb69609a50$exports = {};
16307
16363
  $parcel$export$3($c382fceb69609a50$exports, "Heading", () => $c382fceb69609a50$export$a8a3e93435678ff9);
16308
16364
  function $c382fceb69609a50$var$Heading(props, ref) {
16309
16365
  props = $59d09bcc83651bf9$export$1e5c9e6e4e15efe3(props, "heading");
16310
- let _a2 = props, { children, level = 3 } = _a2, otherProps = __objRest(_a2, ["children", "level"]);
16366
+ let { children, level = 3, ...otherProps } = props;
16311
16367
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(otherProps);
16312
16368
  let domRef = $98e5a8ae0e6415af$export$c2c55ef9111cafd8(ref);
16313
16369
  let HeadingTag = `h${level}`;
16314
- return /* @__PURE__ */ $d7FTw$react.createElement(HeadingTag, __spreadProps(__spreadValues(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps)), styleProps), {
16370
+ return /* @__PURE__ */ $d7FTw$react.createElement(HeadingTag, {
16371
+ ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps),
16372
+ ...styleProps,
16315
16373
  ref: domRef
16316
- }), children);
16374
+ }, children);
16317
16375
  }
16318
16376
  const $c382fceb69609a50$export$a8a3e93435678ff9 = /* @__PURE__ */ forwardRef($c382fceb69609a50$var$Heading);
16319
16377
  var $a42b6b1607b36926$exports = {};
16320
16378
  $parcel$export$3($a42b6b1607b36926$exports, "Keyboard", () => $a42b6b1607b36926$export$16e4d70cc375e707);
16321
16379
  function $a42b6b1607b36926$var$Keyboard(props, ref) {
16322
16380
  props = $59d09bcc83651bf9$export$1e5c9e6e4e15efe3(props, "keyboard");
16323
- let _a2 = props, { children } = _a2, otherProps = __objRest(_a2, ["children"]);
16381
+ let { children, ...otherProps } = props;
16324
16382
  let { styleProps } = $380ed8f3903c3931$export$b8e6fb9d2dff3f41(otherProps);
16325
16383
  let domRef = $98e5a8ae0e6415af$export$c2c55ef9111cafd8(ref);
16326
- return /* @__PURE__ */ $d7FTw$react.createElement("kbd", __spreadProps(__spreadValues(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps)), styleProps), {
16384
+ return /* @__PURE__ */ $d7FTw$react.createElement("kbd", {
16385
+ ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps),
16386
+ ...styleProps,
16327
16387
  dir: "ltr",
16328
16388
  ref: domRef
16329
- }), children);
16389
+ }, children);
16330
16390
  }
16331
16391
  const $a42b6b1607b36926$export$16e4d70cc375e707 = /* @__PURE__ */ forwardRef($a42b6b1607b36926$var$Keyboard);
16332
16392
  function $parcel$export$2(e, n2, v, s) {
@@ -16402,9 +16462,10 @@ var $55f54f7887471b58$exports = {};
16402
16462
  $parcel$export$2($55f54f7887471b58$exports, "useToggleButton", () => $55f54f7887471b58$export$51e84d46ca0bc451);
16403
16463
  function $55f54f7887471b58$export$51e84d46ca0bc451(props, state, ref) {
16404
16464
  const { isSelected } = state;
16405
- const { isPressed, buttonProps } = $701a24aa0da5b062$export$ea18c227d4417cc3(__spreadProps(__spreadValues({}, props), {
16465
+ const { isPressed, buttonProps } = $701a24aa0da5b062$export$ea18c227d4417cc3({
16466
+ ...props,
16406
16467
  onPress: $ff5963eb1fccf552$export$e08e3b67e392101e(state.toggle, props.onPress)
16407
- }), ref);
16468
+ }, ref);
16408
16469
  return {
16409
16470
  isPressed,
16410
16471
  buttonProps: $3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, {
@@ -16695,7 +16756,7 @@ let $b865a6f0049e2d66$var$VARIANT_MAPPING = {
16695
16756
  function $b865a6f0049e2d66$var$Button(props, ref) {
16696
16757
  props = $7167f8da3cce35e4$export$521c373ccc32c300(props);
16697
16758
  props = $59d09bcc83651bf9$export$1e5c9e6e4e15efe3(props, "button");
16698
- let _a2 = props, { elementType: ElementType = "button", children, variant, isQuiet, isDisabled, autoFocus } = _a2, otherProps = __objRest(_a2, ["elementType", "children", "variant", "isQuiet", "isDisabled", "autoFocus"]);
16759
+ let { elementType: ElementType = "button", children, variant, isQuiet, isDisabled, autoFocus, ...otherProps } = props;
16699
16760
  let domRef = $98e5a8ae0e6415af$export$96a734597687c040(ref);
16700
16761
  let { buttonProps, isPressed } = $701a24aa0da5b062$export$ea18c227d4417cc3(props, domRef);
16701
16762
  let { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456({
@@ -16708,7 +16769,9 @@ function $b865a6f0049e2d66$var$Button(props, ref) {
16708
16769
  return /* @__PURE__ */ $d7FTw$react.createElement($907718708eab68af$export$1a38b4ad7f578e1d, {
16709
16770
  focusRingClass: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "focus-ring"),
16710
16771
  autoFocus
16711
- }, /* @__PURE__ */ $d7FTw$react.createElement(ElementType, __spreadProps(__spreadValues(__spreadValues({}, styleProps), $3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, hoverProps)), {
16772
+ }, /* @__PURE__ */ $d7FTw$react.createElement(ElementType, {
16773
+ ...styleProps,
16774
+ ...$3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, hoverProps),
16712
16775
  ref: domRef,
16713
16776
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "spectrum-Button", `spectrum-Button--${buttonVariant}`, {
16714
16777
  "spectrum-Button--quiet": isQuiet,
@@ -16716,7 +16779,7 @@ function $b865a6f0049e2d66$var$Button(props, ref) {
16716
16779
  "is-active": isPressed,
16717
16780
  "is-hovered": isHovered
16718
16781
  }, styleProps.className)
16719
- }), /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$8107b24b91795686, {
16782
+ }, /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$8107b24b91795686, {
16720
16783
  slots: {
16721
16784
  icon: {
16722
16785
  size: "S",
@@ -16734,7 +16797,7 @@ $parcel$export($042ad0b3a4a55b33$exports, "ActionButton", () => $042ad0b3a4a55b3
16734
16797
  function $042ad0b3a4a55b33$var$ActionButton(props, ref) {
16735
16798
  props = $7167f8da3cce35e4$export$521c373ccc32c300(props);
16736
16799
  props = $59d09bcc83651bf9$export$1e5c9e6e4e15efe3(props, "actionButton");
16737
- let _a2 = props, { isQuiet, isDisabled, staticColor, children, autoFocus, holdAffordance } = _a2, otherProps = __objRest(_a2, ["isQuiet", "isDisabled", "staticColor", "children", "autoFocus", "holdAffordance"]);
16800
+ let { isQuiet, isDisabled, staticColor, children, autoFocus, holdAffordance, ...otherProps } = props;
16738
16801
  let domRef = $98e5a8ae0e6415af$export$96a734597687c040(ref);
16739
16802
  let { buttonProps, isPressed } = $701a24aa0da5b062$export$ea18c227d4417cc3(props, domRef);
16740
16803
  let { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456({
@@ -16745,7 +16808,9 @@ function $042ad0b3a4a55b33$var$ActionButton(props, ref) {
16745
16808
  return /* @__PURE__ */ $d7FTw$react.createElement($907718708eab68af$export$1a38b4ad7f578e1d, {
16746
16809
  focusRingClass: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "focus-ring"),
16747
16810
  autoFocus
16748
- }, /* @__PURE__ */ $d7FTw$react.createElement("button", __spreadProps(__spreadValues(__spreadValues({}, styleProps), $3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, hoverProps)), {
16811
+ }, /* @__PURE__ */ $d7FTw$react.createElement("button", {
16812
+ ...styleProps,
16813
+ ...$3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, hoverProps),
16749
16814
  ref: domRef,
16750
16815
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "spectrum-ActionButton", {
16751
16816
  "spectrum-ActionButton--quiet": isQuiet,
@@ -16756,7 +16821,7 @@ function $042ad0b3a4a55b33$var$ActionButton(props, ref) {
16756
16821
  "is-disabled": isDisabled,
16757
16822
  "is-hovered": isHovered
16758
16823
  }, styleProps.className)
16759
- }), holdAffordance && /* @__PURE__ */ $d7FTw$react.createElement(_default$1, {
16824
+ }, holdAffordance && /* @__PURE__ */ $d7FTw$react.createElement(_default$1, {
16760
16825
  UNSAFE_className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "spectrum-ActionButton-hold")
16761
16826
  }), /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$8107b24b91795686, {
16762
16827
  slots: {
@@ -16775,7 +16840,7 @@ var $b43bd559b476d0c4$exports = {};
16775
16840
  $parcel$export($b43bd559b476d0c4$exports, "FieldButton", () => $b43bd559b476d0c4$export$47dc48f595b075da);
16776
16841
  function $b43bd559b476d0c4$var$FieldButton(props, ref) {
16777
16842
  props = $59d09bcc83651bf9$export$1e5c9e6e4e15efe3(props, "button");
16778
- let _a2 = props, { isQuiet, isDisabled, validationState, children, autoFocus, isActive, focusRingClass } = _a2, otherProps = __objRest(_a2, ["isQuiet", "isDisabled", "validationState", "children", "autoFocus", "isActive", "focusRingClass"]);
16843
+ let { isQuiet, isDisabled, validationState, children, autoFocus, isActive, focusRingClass, ...otherProps } = props;
16779
16844
  let domRef = $98e5a8ae0e6415af$export$96a734597687c040(ref);
16780
16845
  let { buttonProps, isPressed } = $701a24aa0da5b062$export$ea18c227d4417cc3(props, domRef);
16781
16846
  let { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456({
@@ -16785,7 +16850,8 @@ function $b43bd559b476d0c4$var$FieldButton(props, ref) {
16785
16850
  return /* @__PURE__ */ $d7FTw$react.createElement($907718708eab68af$export$1a38b4ad7f578e1d, {
16786
16851
  focusRingClass: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "focus-ring", focusRingClass),
16787
16852
  autoFocus
16788
- }, /* @__PURE__ */ $d7FTw$react.createElement("button", __spreadProps(__spreadValues({}, $3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, hoverProps)), {
16853
+ }, /* @__PURE__ */ $d7FTw$react.createElement("button", {
16854
+ ...$3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, hoverProps),
16789
16855
  ref: domRef,
16790
16856
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "spectrum-FieldButton", {
16791
16857
  "spectrum-FieldButton--quiet": isQuiet,
@@ -16794,7 +16860,7 @@ function $b43bd559b476d0c4$var$FieldButton(props, ref) {
16794
16860
  "spectrum-FieldButton--invalid": validationState === "invalid",
16795
16861
  "is-hovered": isHovered
16796
16862
  }, styleProps.className)
16797
- }), /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$8107b24b91795686, {
16863
+ }, /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$8107b24b91795686, {
16798
16864
  slots: {
16799
16865
  icon: {
16800
16866
  size: "S",
@@ -16808,7 +16874,7 @@ var $45108e3c482ee88b$exports = {};
16808
16874
  $parcel$export($45108e3c482ee88b$exports, "LogicButton", () => $45108e3c482ee88b$export$9b0b80fed00ba8b1);
16809
16875
  function $45108e3c482ee88b$var$LogicButton(props, ref) {
16810
16876
  props = $7167f8da3cce35e4$export$521c373ccc32c300(props);
16811
- let _a2 = props, { variant, children, isDisabled, autoFocus } = _a2, otherProps = __objRest(_a2, ["variant", "children", "isDisabled", "autoFocus"]);
16877
+ let { variant, children, isDisabled, autoFocus, ...otherProps } = props;
16812
16878
  let domRef = $98e5a8ae0e6415af$export$96a734597687c040(ref);
16813
16879
  let { buttonProps, isPressed } = $701a24aa0da5b062$export$ea18c227d4417cc3(props, domRef);
16814
16880
  let { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456({
@@ -16818,7 +16884,9 @@ function $45108e3c482ee88b$var$LogicButton(props, ref) {
16818
16884
  return /* @__PURE__ */ $d7FTw$react.createElement($907718708eab68af$export$1a38b4ad7f578e1d, {
16819
16885
  focusRingClass: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "focus-ring"),
16820
16886
  autoFocus
16821
- }, /* @__PURE__ */ $d7FTw$react.createElement("button", __spreadProps(__spreadValues(__spreadValues({}, styleProps), $3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, hoverProps)), {
16887
+ }, /* @__PURE__ */ $d7FTw$react.createElement("button", {
16888
+ ...styleProps,
16889
+ ...$3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, hoverProps),
16822
16890
  ref: domRef,
16823
16891
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "spectrum-LogicButton", {
16824
16892
  [`spectrum-LogicButton--${variant}`]: variant,
@@ -16826,7 +16894,7 @@ function $45108e3c482ee88b$var$LogicButton(props, ref) {
16826
16894
  "is-active": isPressed,
16827
16895
  "is-hovered": isHovered
16828
16896
  }, styleProps.className)
16829
- }), /* @__PURE__ */ $d7FTw$react.createElement("span", {
16897
+ }, /* @__PURE__ */ $d7FTw$react.createElement("span", {
16830
16898
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "spectrum-Button-label")
16831
16899
  }, children)));
16832
16900
  }
@@ -16834,13 +16902,14 @@ let $45108e3c482ee88b$export$9b0b80fed00ba8b1 = /* @__PURE__ */ $d7FTw$react.for
16834
16902
  var $dd24e555a16de2ae$exports = {};
16835
16903
  $parcel$export($dd24e555a16de2ae$exports, "ClearButton", () => $dd24e555a16de2ae$export$13ec83e50bf04290);
16836
16904
  function $dd24e555a16de2ae$var$ClearButton(props, ref) {
16837
- let _a2 = props, { children = /* @__PURE__ */ $d7FTw$react.createElement(_default, {
16905
+ let { children = /* @__PURE__ */ $d7FTw$react.createElement(_default, {
16838
16906
  UNSAFE_className: (/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports))["spectrum-Icon"]
16839
- }), focusClassName, variant, autoFocus, isDisabled, preventFocus, elementType = preventFocus ? "div" : "button" } = _a2, otherProps = __objRest(_a2, ["children", "focusClassName", "variant", "autoFocus", "isDisabled", "preventFocus", "elementType"]);
16907
+ }), focusClassName, variant, autoFocus, isDisabled, preventFocus, elementType = preventFocus ? "div" : "button", ...otherProps } = props;
16840
16908
  let domRef = $98e5a8ae0e6415af$export$96a734597687c040(ref);
16841
- let { buttonProps, isPressed } = $701a24aa0da5b062$export$ea18c227d4417cc3(__spreadProps(__spreadValues({}, props), {
16909
+ let { buttonProps, isPressed } = $701a24aa0da5b062$export$ea18c227d4417cc3({
16910
+ ...props,
16842
16911
  elementType
16843
- }), domRef);
16912
+ }, domRef);
16844
16913
  let { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456({
16845
16914
  isDisabled
16846
16915
  });
@@ -16851,7 +16920,9 @@ function $dd24e555a16de2ae$var$ClearButton(props, ref) {
16851
16920
  return /* @__PURE__ */ $d7FTw$react.createElement($907718708eab68af$export$1a38b4ad7f578e1d, {
16852
16921
  focusRingClass: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "focus-ring", focusClassName),
16853
16922
  autoFocus
16854
- }, /* @__PURE__ */ $d7FTw$react.createElement(ElementType, __spreadProps(__spreadValues(__spreadValues({}, styleProps), $3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, hoverProps)), {
16923
+ }, /* @__PURE__ */ $d7FTw$react.createElement(ElementType, {
16924
+ ...styleProps,
16925
+ ...$3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, hoverProps),
16855
16926
  ref: domRef,
16856
16927
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "spectrum-ClearButton", {
16857
16928
  [`spectrum-ClearButton--${variant}`]: variant,
@@ -16859,14 +16930,14 @@ function $dd24e555a16de2ae$var$ClearButton(props, ref) {
16859
16930
  "is-active": isPressed,
16860
16931
  "is-hovered": isHovered
16861
16932
  }, styleProps.className)
16862
- }), children));
16933
+ }, children));
16863
16934
  }
16864
16935
  let $dd24e555a16de2ae$export$13ec83e50bf04290 = /* @__PURE__ */ $d7FTw$react.forwardRef($dd24e555a16de2ae$var$ClearButton);
16865
16936
  var $3979c7c23b0bd270$exports = {};
16866
16937
  $parcel$export($3979c7c23b0bd270$exports, "ToggleButton", () => $3979c7c23b0bd270$export$d2b052e7b4be1756);
16867
16938
  function $3979c7c23b0bd270$var$ToggleButton(props, ref) {
16868
16939
  props = $7167f8da3cce35e4$export$521c373ccc32c300(props);
16869
- let _a2 = props, { isQuiet, isDisabled, isEmphasized, staticColor, children, autoFocus } = _a2, otherProps = __objRest(_a2, ["isQuiet", "isDisabled", "isEmphasized", "staticColor", "children", "autoFocus"]);
16940
+ let { isQuiet, isDisabled, isEmphasized, staticColor, children, autoFocus, ...otherProps } = props;
16870
16941
  let domRef = $98e5a8ae0e6415af$export$96a734597687c040(ref);
16871
16942
  let state = $3017fa7ffdddec74$export$8042c6c013fd5226(props);
16872
16943
  let { buttonProps, isPressed } = $55f54f7887471b58$export$51e84d46ca0bc451(props, state, domRef);
@@ -16878,7 +16949,9 @@ function $3979c7c23b0bd270$var$ToggleButton(props, ref) {
16878
16949
  return /* @__PURE__ */ $d7FTw$react.createElement($907718708eab68af$export$1a38b4ad7f578e1d, {
16879
16950
  focusRingClass: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "focus-ring"),
16880
16951
  autoFocus
16881
- }, /* @__PURE__ */ $d7FTw$react.createElement("button", __spreadProps(__spreadValues(__spreadValues({}, styleProps), $3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, hoverProps)), {
16952
+ }, /* @__PURE__ */ $d7FTw$react.createElement("button", {
16953
+ ...styleProps,
16954
+ ...$3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, hoverProps),
16882
16955
  ref: domRef,
16883
16956
  className: $fd933927dbac1f15$export$ce4ab0c55987d1ff(/* @__PURE__ */ $parcel$interopDefault($086e93d2352a4536$exports), "spectrum-ActionButton", {
16884
16957
  "spectrum-ActionButton--quiet": isQuiet,
@@ -16891,7 +16964,7 @@ function $3979c7c23b0bd270$var$ToggleButton(props, ref) {
16891
16964
  "is-hovered": isHovered,
16892
16965
  "is-selected": state.isSelected
16893
16966
  }, styleProps.className)
16894
- }), /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$8107b24b91795686, {
16967
+ }, /* @__PURE__ */ $d7FTw$react.createElement($59d09bcc83651bf9$export$8107b24b91795686, {
16895
16968
  slots: {
16896
16969
  icon: {
16897
16970
  size: "S",
@@ -17500,16 +17573,16 @@ const AudioPlayer = ({
17500
17573
  children: [/* @__PURE__ */ jsx(Audio, {}), /* @__PURE__ */ jsx(Interface, {})]
17501
17574
  });
17502
17575
  };
17503
- const AudioPlayerWithProvider = (_g) => {
17504
- var _h = _g, {
17505
- rootContainerProps
17506
- } = _h, audioPlayProps = __objRest(_h, [
17507
- "rootContainerProps"
17508
- ]);
17576
+ const AudioPlayerWithProvider = ({
17577
+ rootContainerProps,
17578
+ ...audioPlayProps
17579
+ }) => {
17509
17580
  return /* @__PURE__ */ jsx(AudioPlayerProvider, {
17510
17581
  children: /* @__PURE__ */ jsxs(SpectrumProvider, {
17511
17582
  rootContainerProps,
17512
- children: [/* @__PURE__ */ jsx(GlobalStyle, {}), /* @__PURE__ */ jsx(AudioPlayer, __spreadValues({}, audioPlayProps))]
17583
+ children: [/* @__PURE__ */ jsx(GlobalStyle, {}), /* @__PURE__ */ jsx(AudioPlayer, {
17584
+ ...audioPlayProps
17585
+ })]
17513
17586
  })
17514
17587
  });
17515
17588
  };