fansunited-management-components 1.29.0-RC3 → 1.30.0-RC1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var C0 = Object.defineProperty, x0 = Object.defineProperties;
2
2
  var w0 = Object.getOwnPropertyDescriptors;
3
3
  var Jo = Object.getOwnPropertySymbols, I0 = Object.getPrototypeOf, md = Object.prototype.hasOwnProperty, vd = Object.prototype.propertyIsEnumerable, S0 = Reflect.get;
4
- var zr = Math.pow, ll = (e, t, n) => t in e ? C0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, F = (e, t) => {
4
+ var zr = Math.pow, ll = (e, t, n) => t in e ? C0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, N = (e, t) => {
5
5
  for (var n in t || (t = {}))
6
6
  md.call(t, n) && ll(e, n, t[n]);
7
7
  if (Jo)
@@ -18,7 +18,7 @@ var Xo = (e) => typeof e == "symbol" ? e : e + "", Xe = (e, t) => {
18
18
  t.indexOf(r) < 0 && vd.call(e, r) && (n[r] = e[r]);
19
19
  return n;
20
20
  };
21
- var ie = (e, t, n) => ll(e, typeof t != "symbol" ? t + "" : t, n);
21
+ var re = (e, t, n) => ll(e, typeof t != "symbol" ? t + "" : t, n);
22
22
  var xr = (e, t, n) => S0(I0(e), n, t);
23
23
  var E = (e, t, n) => new Promise((r, i) => {
24
24
  var o = (s) => {
@@ -1296,7 +1296,7 @@ function Ad(e, t) {
1296
1296
  };
1297
1297
  return pl.set(t, o), o;
1298
1298
  }
1299
- Ay((e) => J(F({}, e), {
1299
+ Ay((e) => J(N({}, e), {
1300
1300
  get: (t, n, r) => Ad(t, n) || e.get(t, n, r),
1301
1301
  has: (t, n) => !!Ad(t, n) || e.has(t, n)
1302
1302
  }));
@@ -2585,7 +2585,7 @@ function nu(e, ...t) {
2585
2585
  }
2586
2586
  return ng.create(e, ...t);
2587
2587
  }
2588
- function re(e, t, ...n) {
2588
+ function ie(e, t, ...n) {
2589
2589
  if (!e)
2590
2590
  throw nu(t, ...n);
2591
2591
  }
@@ -3114,7 +3114,7 @@ function no(e) {
3114
3114
  function YC(e, t = !1) {
3115
3115
  return E(this, null, function* () {
3116
3116
  const n = Le(e), r = yield n.getIdToken(t), i = ss(r);
3117
- re(
3117
+ ie(
3118
3118
  i && i.exp && i.auth_time && i.iat,
3119
3119
  n.auth,
3120
3120
  "internal-error"
@@ -3148,15 +3148,15 @@ function ss(e) {
3148
3148
  }
3149
3149
  function Md(e) {
3150
3150
  const t = ss(e);
3151
- return re(
3151
+ return ie(
3152
3152
  t,
3153
3153
  "internal-error"
3154
3154
  /* AuthErrorCode.INTERNAL_ERROR */
3155
- ), re(
3155
+ ), ie(
3156
3156
  typeof t.exp != "undefined",
3157
3157
  "internal-error"
3158
3158
  /* AuthErrorCode.INTERNAL_ERROR */
3159
- ), re(
3159
+ ), ie(
3160
3160
  typeof t.iat != "undefined",
3161
3161
  "internal-error"
3162
3162
  /* AuthErrorCode.INTERNAL_ERROR */
@@ -3309,7 +3309,7 @@ function mo(e) {
3309
3309
  return E(this, null, function* () {
3310
3310
  var t;
3311
3311
  const n = e.auth, r = yield e.getIdToken(), i = yield Kn(e, ag(n, { idToken: r }));
3312
- re(
3312
+ ie(
3313
3313
  i == null ? void 0 : i.users.length,
3314
3314
  n,
3315
3315
  "internal-error"
@@ -3422,15 +3422,15 @@ class ni {
3422
3422
  return !this.expirationTime || Date.now() > this.expirationTime - 3e4;
3423
3423
  }
3424
3424
  updateFromServerResponse(t) {
3425
- re(
3425
+ ie(
3426
3426
  t.idToken,
3427
3427
  "internal-error"
3428
3428
  /* AuthErrorCode.INTERNAL_ERROR */
3429
- ), re(
3429
+ ), ie(
3430
3430
  typeof t.idToken != "undefined",
3431
3431
  "internal-error"
3432
3432
  /* AuthErrorCode.INTERNAL_ERROR */
3433
- ), re(
3433
+ ), ie(
3434
3434
  typeof t.refreshToken != "undefined",
3435
3435
  "internal-error"
3436
3436
  /* AuthErrorCode.INTERNAL_ERROR */
@@ -3439,7 +3439,7 @@ class ni {
3439
3439
  this.updateTokensAndExpiration(t.idToken, t.refreshToken, n);
3440
3440
  }
3441
3441
  updateFromIdToken(t) {
3442
- re(
3442
+ ie(
3443
3443
  t.length !== 0,
3444
3444
  "internal-error"
3445
3445
  /* AuthErrorCode.INTERNAL_ERROR */
@@ -3449,7 +3449,7 @@ class ni {
3449
3449
  }
3450
3450
  getToken(t, n = !1) {
3451
3451
  return E(this, null, function* () {
3452
- return !n && this.accessToken && !this.isExpired ? this.accessToken : (re(
3452
+ return !n && this.accessToken && !this.isExpired ? this.accessToken : (ie(
3453
3453
  this.refreshToken,
3454
3454
  t,
3455
3455
  "user-token-expired"
@@ -3471,11 +3471,11 @@ class ni {
3471
3471
  }
3472
3472
  static fromJSON(t, n) {
3473
3473
  const { refreshToken: r, accessToken: i, expirationTime: o } = n, a = new ni();
3474
- return r && (re(typeof r == "string", "internal-error", {
3474
+ return r && (ie(typeof r == "string", "internal-error", {
3475
3475
  appName: t
3476
- }), a.refreshToken = r), i && (re(typeof i == "string", "internal-error", {
3476
+ }), a.refreshToken = r), i && (ie(typeof i == "string", "internal-error", {
3477
3477
  appName: t
3478
- }), a.accessToken = i), o && (re(typeof o == "number", "internal-error", {
3478
+ }), a.accessToken = i), o && (ie(typeof o == "number", "internal-error", {
3479
3479
  appName: t
3480
3480
  }), a.expirationTime = o), a;
3481
3481
  }
@@ -3513,7 +3513,7 @@ class ni {
3513
3513
  * limitations under the License.
3514
3514
  */
3515
3515
  function rr(e, t) {
3516
- re(typeof e == "string" || typeof e == "undefined", "internal-error", { appName: t });
3516
+ ie(typeof e == "string" || typeof e == "undefined", "internal-error", { appName: t });
3517
3517
  }
3518
3518
  class Nn {
3519
3519
  constructor(t) {
@@ -3523,7 +3523,7 @@ class Nn {
3523
3523
  getIdToken(t) {
3524
3524
  return E(this, null, function* () {
3525
3525
  const n = yield Kn(this, this.stsTokenManager.getToken(this.auth, t));
3526
- return re(
3526
+ return ie(
3527
3527
  n,
3528
3528
  this.auth,
3529
3529
  "internal-error"
@@ -3538,7 +3538,7 @@ class Nn {
3538
3538
  return qC(this);
3539
3539
  }
3540
3540
  _assign(t) {
3541
- this !== t && (re(
3541
+ this !== t && (ie(
3542
3542
  this.uid === t.uid,
3543
3543
  this.auth,
3544
3544
  "internal-error"
@@ -3550,7 +3550,7 @@ class Nn {
3550
3550
  return n.metadata._copy(this.metadata), n;
3551
3551
  }
3552
3552
  _onReload(t) {
3553
- re(
3553
+ ie(
3554
3554
  !this.reloadListener,
3555
3555
  this.auth,
3556
3556
  "internal-error"
@@ -3607,24 +3607,24 @@ class Nn {
3607
3607
  static _fromJSON(t, n) {
3608
3608
  var r, i, o, a, l, s, c, d;
3609
3609
  const f = (r = n.displayName) !== null && r !== void 0 ? r : void 0, h = (i = n.email) !== null && i !== void 0 ? i : void 0, p = (o = n.phoneNumber) !== null && o !== void 0 ? o : void 0, m = (a = n.photoURL) !== null && a !== void 0 ? a : void 0, g = (l = n.tenantId) !== null && l !== void 0 ? l : void 0, v = (s = n._redirectEventId) !== null && s !== void 0 ? s : void 0, w = (c = n.createdAt) !== null && c !== void 0 ? c : void 0, x = (d = n.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: y, emailVerified: C, isAnonymous: b, providerData: S, stsTokenManager: A } = n;
3610
- re(
3610
+ ie(
3611
3611
  y && A,
3612
3612
  t,
3613
3613
  "internal-error"
3614
3614
  /* AuthErrorCode.INTERNAL_ERROR */
3615
3615
  );
3616
3616
  const _ = ni.fromJSON(this.name, A);
3617
- re(
3617
+ ie(
3618
3618
  typeof y == "string",
3619
3619
  t,
3620
3620
  "internal-error"
3621
3621
  /* AuthErrorCode.INTERNAL_ERROR */
3622
- ), rr(f, t.name), rr(h, t.name), re(
3622
+ ), rr(f, t.name), rr(h, t.name), ie(
3623
3623
  typeof C == "boolean",
3624
3624
  t,
3625
3625
  "internal-error"
3626
3626
  /* AuthErrorCode.INTERNAL_ERROR */
3627
- ), re(
3627
+ ), ie(
3628
3628
  typeof b == "boolean",
3629
3629
  t,
3630
3630
  "internal-error"
@@ -3672,7 +3672,7 @@ class Nn {
3672
3672
  static _fromGetAccountInfoResponse(t, n, r) {
3673
3673
  return E(this, null, function* () {
3674
3674
  const i = n.users[0];
3675
- re(
3675
+ ie(
3676
3676
  i.localId !== void 0,
3677
3677
  "internal-error"
3678
3678
  /* AuthErrorCode.INTERNAL_ERROR */
@@ -4227,7 +4227,7 @@ class sx {
4227
4227
  }
4228
4228
  return i ? this.reloadAndSetCurrentUserOrClear(i) : this.directlySetCurrentUser(null);
4229
4229
  }
4230
- return re(
4230
+ return ie(
4231
4231
  this._popupRedirectResolver,
4232
4232
  this,
4233
4233
  "argument-error"
@@ -4270,7 +4270,7 @@ class sx {
4270
4270
  if (it(this.app))
4271
4271
  return Promise.reject(Et(this));
4272
4272
  const n = t ? Le(t) : null;
4273
- return n && re(
4273
+ return n && ie(
4274
4274
  n.auth.config.apiKey === this.config.apiKey,
4275
4275
  this,
4276
4276
  "invalid-user-token"
@@ -4281,7 +4281,7 @@ class sx {
4281
4281
  _updateCurrentUser(t, n = !1) {
4282
4282
  return E(this, null, function* () {
4283
4283
  if (!this._deleted)
4284
- return t && re(
4284
+ return t && ie(
4285
4285
  this.tenantId === t.tenantId,
4286
4286
  this,
4287
4287
  "tenant-id-mismatch"
@@ -4385,7 +4385,7 @@ class sx {
4385
4385
  return E(this, null, function* () {
4386
4386
  if (!this.redirectPersistenceManager) {
4387
4387
  const n = t && tn(t) || this._popupRedirectResolver;
4388
- re(
4388
+ ie(
4389
4389
  n,
4390
4390
  this,
4391
4391
  "argument-error"
@@ -4447,7 +4447,7 @@ class sx {
4447
4447
  const o = typeof n == "function" ? n : n.next.bind(n);
4448
4448
  let a = !1;
4449
4449
  const l = this._isInitialized ? Promise.resolve() : this._initializationPromise;
4450
- if (re(
4450
+ if (ie(
4451
4451
  l,
4452
4452
  this,
4453
4453
  "internal-error"
@@ -4480,7 +4480,7 @@ class sx {
4480
4480
  return this.operations = this.operations.then(t, t), this.operations;
4481
4481
  }
4482
4482
  get assertedPersistence() {
4483
- return re(
4483
+ return ie(
4484
4484
  this.persistenceManager,
4485
4485
  this,
4486
4486
  "internal-error"
@@ -4533,7 +4533,7 @@ class jd {
4533
4533
  this.auth = t, this.observer = null, this.addObserver = zp((n) => this.observer = n);
4534
4534
  }
4535
4535
  get next() {
4536
- return re(
4536
+ return ie(
4537
4537
  this.observer,
4538
4538
  this.auth,
4539
4539
  "internal-error"
@@ -4748,12 +4748,12 @@ function mx(e, t) {
4748
4748
  }
4749
4749
  function au(e, t, n) {
4750
4750
  const r = at(e);
4751
- re(
4751
+ ie(
4752
4752
  r._canInitEmulator,
4753
4753
  r,
4754
4754
  "emulator-config-failed"
4755
4755
  /* AuthErrorCode.EMULATOR_CONFIG_FAILED */
4756
- ), re(
4756
+ ), ie(
4757
4757
  /^https?:\/\//.test(t),
4758
4758
  r,
4759
4759
  "invalid-emulator-scheme"
@@ -5339,7 +5339,7 @@ class cs {
5339
5339
  constructor(t) {
5340
5340
  var n, r, i, o, a, l;
5341
5341
  const s = Zr(Qi(t)), c = (n = s.apiKey) !== null && n !== void 0 ? n : null, d = (r = s.oobCode) !== null && r !== void 0 ? r : null, f = Lx((i = s.mode) !== null && i !== void 0 ? i : null);
5342
- re(
5342
+ ie(
5343
5343
  c && d && f,
5344
5344
  "argument-error"
5345
5345
  /* AuthErrorCode.ARGUMENT_ERROR */
@@ -5428,7 +5428,7 @@ class Cr {
5428
5428
  */
5429
5429
  static credentialWithLink(t, n) {
5430
5430
  const r = cs.parseLink(n);
5431
- return re(
5431
+ return ie(
5432
5432
  r,
5433
5433
  "argument-error"
5434
5434
  /* AuthErrorCode.ARGUMENT_ERROR */
@@ -5533,7 +5533,7 @@ class ii extends Oi {
5533
5533
  */
5534
5534
  static credentialFromJSON(t) {
5535
5535
  const n = typeof t == "string" ? JSON.parse(t) : t;
5536
- return re(
5536
+ return ie(
5537
5537
  "providerId" in n && "signInMethod" in n,
5538
5538
  "argument-error"
5539
5539
  /* AuthErrorCode.ARGUMENT_ERROR */
@@ -5565,7 +5565,7 @@ class ii extends Oi {
5565
5565
  }
5566
5566
  /** An internal credential method that accepts more permissive options */
5567
5567
  _credential(t) {
5568
- return re(
5568
+ return ie(
5569
5569
  t.idToken || t.accessToken,
5570
5570
  "argument-error"
5571
5571
  /* AuthErrorCode.ARGUMENT_ERROR */
@@ -5914,7 +5914,7 @@ class Da extends tr {
5914
5914
  * @param providerId - SAML provider ID.
5915
5915
  */
5916
5916
  constructor(t) {
5917
- re(
5917
+ ie(
5918
5918
  t.startsWith(Bx),
5919
5919
  "argument-error"
5920
5920
  /* AuthErrorCode.ARGUMENT_ERROR */
@@ -5954,7 +5954,7 @@ class Da extends tr {
5954
5954
  */
5955
5955
  static credentialFromJSON(t) {
5956
5956
  const n = Ci.fromJSON(t);
5957
- return re(
5957
+ return ie(
5958
5958
  n,
5959
5959
  "argument-error"
5960
5960
  /* AuthErrorCode.ARGUMENT_ERROR */
@@ -6243,7 +6243,7 @@ function us(e, t, n) {
6243
6243
  return E(this, null, function* () {
6244
6244
  yield mo(t);
6245
6245
  const r = wg(t.providerData), i = e === !1 ? "provider-already-linked" : "no-such-provider";
6246
- re(r.has(n) === e, t.auth, i);
6246
+ ie(r.has(n) === e, t.auth, i);
6247
6247
  });
6248
6248
  }
6249
6249
  /**
@@ -6270,21 +6270,21 @@ function Ig(e, t, n = !1) {
6270
6270
  const i = "reauthenticate";
6271
6271
  try {
6272
6272
  const o = yield Kn(e, xg(r, i, t, e), n);
6273
- re(
6273
+ ie(
6274
6274
  o.idToken,
6275
6275
  r,
6276
6276
  "internal-error"
6277
6277
  /* AuthErrorCode.INTERNAL_ERROR */
6278
6278
  );
6279
6279
  const a = ss(o.idToken);
6280
- re(
6280
+ ie(
6281
6281
  a,
6282
6282
  r,
6283
6283
  "internal-error"
6284
6284
  /* AuthErrorCode.INTERNAL_ERROR */
6285
6285
  );
6286
6286
  const { sub: l } = a;
6287
- return re(
6287
+ return ie(
6288
6288
  e.uid === l,
6289
6289
  r,
6290
6290
  "user-mismatch"
@@ -6449,22 +6449,22 @@ class cu extends Lo {
6449
6449
  */
6450
6450
  function fs(e, t, n) {
6451
6451
  var r;
6452
- re(
6452
+ ie(
6453
6453
  ((r = n.url) === null || r === void 0 ? void 0 : r.length) > 0,
6454
6454
  e,
6455
6455
  "invalid-continue-uri"
6456
6456
  /* AuthErrorCode.INVALID_CONTINUE_URI */
6457
- ), re(
6457
+ ), ie(
6458
6458
  typeof n.dynamicLinkDomain == "undefined" || n.dynamicLinkDomain.length > 0,
6459
6459
  e,
6460
6460
  "invalid-dynamic-link-domain"
6461
6461
  /* AuthErrorCode.INVALID_DYNAMIC_LINK_DOMAIN */
6462
- ), t.continueUrl = n.url, t.dynamicLinkDomain = n.dynamicLinkDomain, t.canHandleCodeInApp = n.handleCodeInApp, n.iOS && (re(
6462
+ ), t.continueUrl = n.url, t.dynamicLinkDomain = n.dynamicLinkDomain, t.canHandleCodeInApp = n.handleCodeInApp, n.iOS && (ie(
6463
6463
  n.iOS.bundleId.length > 0,
6464
6464
  e,
6465
6465
  "missing-ios-bundle-id"
6466
6466
  /* AuthErrorCode.MISSING_IOS_BUNDLE_ID */
6467
- ), t.iOSBundleId = n.iOS.bundleId), n.android && (re(
6467
+ ), t.iOSBundleId = n.iOS.bundleId), n.android && (ie(
6468
6468
  n.android.packageName.length > 0,
6469
6469
  e,
6470
6470
  "missing-android-pkg-name"
@@ -6522,7 +6522,7 @@ function Wx(e, t) {
6522
6522
  function Eg(e, t) {
6523
6523
  return E(this, null, function* () {
6524
6524
  const n = Le(e), r = yield yg(n, { oobCode: t }), i = r.requestType;
6525
- switch (re(
6525
+ switch (ie(
6526
6526
  i,
6527
6527
  n,
6528
6528
  "internal-error"
@@ -6531,7 +6531,7 @@ function Eg(e, t) {
6531
6531
  case "EMAIL_SIGNIN":
6532
6532
  break;
6533
6533
  case "VERIFY_AND_CHANGE_EMAIL":
6534
- re(
6534
+ ie(
6535
6535
  r.newEmail,
6536
6536
  n,
6537
6537
  "internal-error"
@@ -6539,14 +6539,14 @@ function Eg(e, t) {
6539
6539
  );
6540
6540
  break;
6541
6541
  case "REVERT_SECOND_FACTOR_ADDITION":
6542
- re(
6542
+ ie(
6543
6543
  r.mfaInfo,
6544
6544
  n,
6545
6545
  "internal-error"
6546
6546
  /* AuthErrorCode.INTERNAL_ERROR */
6547
6547
  );
6548
6548
  default:
6549
- re(
6549
+ ie(
6550
6550
  r.email,
6551
6551
  n,
6552
6552
  "internal-error"
@@ -6616,7 +6616,7 @@ function Qx(e, t, n) {
6616
6616
  /* RecaptchaClientType.WEB */
6617
6617
  };
6618
6618
  function o(a, l) {
6619
- re(
6619
+ ie(
6620
6620
  l.handleCodeInApp,
6621
6621
  r,
6622
6622
  "argument-error"
@@ -6635,7 +6635,7 @@ function Jx(e, t, n) {
6635
6635
  if (it(e.app))
6636
6636
  return Promise.reject(Et(e));
6637
6637
  const r = Le(e), i = Cr.credentialWithLink(t, n || go());
6638
- return re(
6638
+ return ie(
6639
6639
  i._tenantId === (r.tenantId || null),
6640
6640
  r,
6641
6641
  "tenant-id-mismatch"
@@ -6946,7 +6946,7 @@ class du {
6946
6946
  /** @internal */
6947
6947
  static _fromError(t, n) {
6948
6948
  const r = at(t), i = n.customData._serverResponse, o = (i.mfaInfo || []).map((l) => Lo._fromServerResponse(r, l));
6949
- re(
6949
+ ie(
6950
6950
  i.mfaPendingCredential,
6951
6951
  r,
6952
6952
  "internal-error"
@@ -6962,7 +6962,7 @@ class du {
6962
6962
  const d = yield fn._fromIdTokenResponse(r, n.operationType, c);
6963
6963
  return yield r._updateCurrentUser(d.user), d;
6964
6964
  case "reauthenticate":
6965
- return re(
6965
+ return ie(
6966
6966
  n.user,
6967
6967
  r,
6968
6968
  "internal-error"
@@ -6987,12 +6987,12 @@ class du {
6987
6987
  function pw(e, t) {
6988
6988
  var n;
6989
6989
  const r = Le(e), i = t;
6990
- return re(
6990
+ return ie(
6991
6991
  t.customData.operationType,
6992
6992
  r,
6993
6993
  "argument-error"
6994
6994
  /* AuthErrorCode.ARGUMENT_ERROR */
6995
- ), re(
6995
+ ), ie(
6996
6996
  (n = i.customData._serverResponse) === null || n === void 0 ? void 0 : n.mfaPendingCredential,
6997
6997
  r,
6998
6998
  "argument-error"
@@ -7872,7 +7872,7 @@ class jw {
7872
7872
  this.execute();
7873
7873
  };
7874
7874
  const i = typeof t == "string" ? document.getElementById(t) : t;
7875
- re(i, "argument-error", { appName: n }), this.container = i, this.isVisible = this.params.size !== "invisible", this.isVisible ? this.execute() : this.container.addEventListener("click", this.clickHandler);
7875
+ ie(i, "argument-error", { appName: n }), this.container = i, this.isVisible = this.params.size !== "invisible", this.isVisible ? this.execute() : this.container.addEventListener("click", this.clickHandler);
7876
7876
  }
7877
7877
  getResponse() {
7878
7878
  return this.checkIfDeleted(), this.responseToken;
@@ -7933,7 +7933,7 @@ class Fw {
7933
7933
  this.hostLanguage = "", this.counter = 0, this.librarySeparatelyLoaded = !!(!((t = pt().grecaptcha) === null || t === void 0) && t.render);
7934
7934
  }
7935
7935
  load(t, n = "") {
7936
- return re(
7936
+ return ie(
7937
7937
  zw(n),
7938
7938
  t,
7939
7939
  "argument-error"
@@ -8038,14 +8038,14 @@ let Hw = class {
8038
8038
  * 'invisible'.
8039
8039
  */
8040
8040
  constructor(t, n, r = Object.assign({}, Uw)) {
8041
- this.parameters = r, this.type = Lg, this.destroyed = !1, this.widgetId = null, this.tokenChangeListeners = /* @__PURE__ */ new Set(), this.renderPromise = null, this.recaptcha = null, this.auth = at(t), this.isInvisible = this.parameters.size === "invisible", re(
8041
+ this.parameters = r, this.type = Lg, this.destroyed = !1, this.widgetId = null, this.tokenChangeListeners = /* @__PURE__ */ new Set(), this.renderPromise = null, this.recaptcha = null, this.auth = at(t), this.isInvisible = this.parameters.size === "invisible", ie(
8042
8042
  typeof document != "undefined",
8043
8043
  this.auth,
8044
8044
  "operation-not-supported-in-this-environment"
8045
8045
  /* AuthErrorCode.OPERATION_NOT_SUPPORTED */
8046
8046
  );
8047
8047
  const i = typeof n == "string" ? document.getElementById(n) : n;
8048
- re(
8048
+ ie(
8049
8049
  i,
8050
8050
  this.auth,
8051
8051
  "argument-error"
@@ -8097,17 +8097,17 @@ let Hw = class {
8097
8097
  });
8098
8098
  }
8099
8099
  validateStartingState() {
8100
- re(
8100
+ ie(
8101
8101
  !this.parameters.sitekey,
8102
8102
  this.auth,
8103
8103
  "argument-error"
8104
8104
  /* AuthErrorCode.ARGUMENT_ERROR */
8105
- ), re(
8105
+ ), ie(
8106
8106
  this.isInvisible || !this.container.hasChildNodes(),
8107
8107
  this.auth,
8108
8108
  "argument-error"
8109
8109
  /* AuthErrorCode.ARGUMENT_ERROR */
8110
- ), re(
8110
+ ), ie(
8111
8111
  typeof document != "undefined",
8112
8112
  this.auth,
8113
8113
  "operation-not-supported-in-this-environment"
@@ -8125,7 +8125,7 @@ let Hw = class {
8125
8125
  };
8126
8126
  }
8127
8127
  assertNotDestroyed() {
8128
- re(
8128
+ ie(
8129
8129
  !this.destroyed,
8130
8130
  this.auth,
8131
8131
  "internal-error"
@@ -8147,14 +8147,14 @@ let Hw = class {
8147
8147
  }
8148
8148
  init() {
8149
8149
  return E(this, null, function* () {
8150
- re(
8150
+ ie(
8151
8151
  ru() && !hu(),
8152
8152
  this.auth,
8153
8153
  "internal-error"
8154
8154
  /* AuthErrorCode.INTERNAL_ERROR */
8155
8155
  ), yield Ww(), this.recaptcha = yield this._recaptchaLoader.load(this.auth, this.auth.languageCode || void 0);
8156
8156
  const t = yield UC(this.auth);
8157
- re(
8157
+ ie(
8158
8158
  t,
8159
8159
  this.auth,
8160
8160
  "internal-error"
@@ -8163,7 +8163,7 @@ let Hw = class {
8163
8163
  });
8164
8164
  }
8165
8165
  getAssertedRecaptcha() {
8166
- return re(
8166
+ return ie(
8167
8167
  this.recaptcha,
8168
8168
  this.auth,
8169
8169
  "internal-error"
@@ -8243,12 +8243,12 @@ function ms(e, t, n) {
8243
8243
  var r;
8244
8244
  const i = yield n.verify();
8245
8245
  try {
8246
- re(
8246
+ ie(
8247
8247
  typeof i == "string",
8248
8248
  e,
8249
8249
  "argument-error"
8250
8250
  /* AuthErrorCode.ARGUMENT_ERROR */
8251
- ), re(
8251
+ ), ie(
8252
8252
  n.type === Lg,
8253
8253
  e,
8254
8254
  "argument-error"
@@ -8260,7 +8260,7 @@ function ms(e, t, n) {
8260
8260
  } : o = t, "session" in o) {
8261
8261
  const a = o.session;
8262
8262
  if ("phoneNumber" in o)
8263
- return re(
8263
+ return ie(
8264
8264
  a.type === "enroll",
8265
8265
  e,
8266
8266
  "internal-error"
@@ -8273,14 +8273,14 @@ function ms(e, t, n) {
8273
8273
  }
8274
8274
  })).phoneSessionInfo.sessionInfo;
8275
8275
  {
8276
- re(
8276
+ ie(
8277
8277
  a.type === "signin",
8278
8278
  e,
8279
8279
  "internal-error"
8280
8280
  /* AuthErrorCode.INTERNAL_ERROR */
8281
8281
  );
8282
8282
  const l = ((r = o.multiFactorHint) === null || r === void 0 ? void 0 : r.uid) || o.multiFactorUid;
8283
- return re(
8283
+ return ie(
8284
8284
  l,
8285
8285
  e,
8286
8286
  "missing-multi-factor-info"
@@ -8470,7 +8470,7 @@ Dr.PHONE_SIGN_IN_METHOD = "phone";
8470
8470
  * limitations under the License.
8471
8471
  */
8472
8472
  function Br(e, t) {
8473
- return t ? tn(t) : (re(
8473
+ return t ? tn(t) : (ie(
8474
8474
  e._popupRedirectResolver,
8475
8475
  e,
8476
8476
  "argument-error"
@@ -8528,7 +8528,7 @@ function qw(e) {
8528
8528
  }
8529
8529
  function Jw(e) {
8530
8530
  const { auth: t, user: n } = e;
8531
- return re(
8531
+ return ie(
8532
8532
  n,
8533
8533
  t,
8534
8534
  "internal-error"
@@ -8538,7 +8538,7 @@ function Jw(e) {
8538
8538
  function Xw(e) {
8539
8539
  return E(this, null, function* () {
8540
8540
  const { auth: t, user: n } = e;
8541
- return re(
8541
+ return ie(
8542
8542
  n,
8543
8543
  t,
8544
8544
  "internal-error"
@@ -8691,7 +8691,7 @@ class Fn extends $g {
8691
8691
  executeNotNull() {
8692
8692
  return E(this, null, function* () {
8693
8693
  const t = yield this.execute();
8694
- return re(
8694
+ return ie(
8695
8695
  t,
8696
8696
  this.auth,
8697
8697
  "internal-error"
@@ -9173,7 +9173,7 @@ const wI = new Do(5e3, 15e3), II = "__/auth/iframe", SI = "emulator/auth/iframe"
9173
9173
  ]);
9174
9174
  function EI(e) {
9175
9175
  const t = e.config;
9176
- re(
9176
+ ie(
9177
9177
  t.authDomain,
9178
9178
  e,
9179
9179
  "auth-domain-config-required"
@@ -9191,7 +9191,7 @@ function EI(e) {
9191
9191
  function _I(e) {
9192
9192
  return E(this, null, function* () {
9193
9193
  const t = yield xI(e), n = pt().gapi;
9194
- return re(
9194
+ return ie(
9195
9195
  n,
9196
9196
  e,
9197
9197
  "internal-error"
@@ -9271,7 +9271,7 @@ function MI(e, t, n, r = PI, i = DI) {
9271
9271
  if (tx(c) && l !== "_self")
9272
9272
  return LI(t || "", l), new Wd(null);
9273
9273
  const f = window.open(t || "", l, d);
9274
- re(
9274
+ ie(
9275
9275
  f,
9276
9276
  e,
9277
9277
  "popup-blocked"
@@ -9308,12 +9308,12 @@ function LI(e, t) {
9308
9308
  const $I = "__/auth/handler", jI = "emulator/auth/handler", BI = encodeURIComponent("fac");
9309
9309
  function ac(e, t, n, r, i, o) {
9310
9310
  return E(this, null, function* () {
9311
- re(
9311
+ ie(
9312
9312
  e.config.authDomain,
9313
9313
  e,
9314
9314
  "auth-domain-config-required"
9315
9315
  /* AuthErrorCode.MISSING_AUTH_DOMAIN */
9316
- ), re(
9316
+ ), ie(
9317
9317
  e.config.apiKey,
9318
9318
  e,
9319
9319
  "invalid-api-key"
@@ -9400,7 +9400,7 @@ class FI {
9400
9400
  initAndGetManager(t) {
9401
9401
  return E(this, null, function* () {
9402
9402
  const n = yield _I(t), r = new Fg(t);
9403
- return n.register("authEvent", (i) => (re(
9403
+ return n.register("authEvent", (i) => (ie(
9404
9404
  i == null ? void 0 : i.authEvent,
9405
9405
  t,
9406
9406
  "invalid-auth-event"
@@ -9535,7 +9535,7 @@ class VI {
9535
9535
  n && (this.internalListeners.delete(t), n(), this.updateProactiveRefresh());
9536
9536
  }
9537
9537
  assertAuthConfigured() {
9538
- re(
9538
+ ie(
9539
9539
  this.auth._initializationPromise,
9540
9540
  "dependent-sdk-initialized-before-auth"
9541
9541
  /* AuthErrorCode.DEPENDENT_SDK_INIT_BEFORE_AUTH */
@@ -9582,7 +9582,7 @@ function HI(e) {
9582
9582
  "auth",
9583
9583
  (t, { options: n }) => {
9584
9584
  const r = t.getProvider("app").getImmediate(), i = t.getProvider("heartbeat"), o = t.getProvider("app-check-internal"), { apiKey: a, authDomain: l } = r.options;
9585
- re(a && !a.includes(":"), "invalid-api-key", { appName: r.name });
9585
+ ie(a && !a.includes(":"), "invalid-api-key", { appName: r.name });
9586
9586
  const s = {
9587
9587
  apiKey: a,
9588
9588
  authDomain: l,
@@ -9803,15 +9803,15 @@ function eS(e, t, n) {
9803
9803
  function tS(e) {
9804
9804
  var t, n, r, i, o, a, l, s, c, d;
9805
9805
  const f = Rr();
9806
- re(typeof ((t = f == null ? void 0 : f.universalLinks) === null || t === void 0 ? void 0 : t.subscribe) == "function", e, "invalid-cordova-configuration", {
9806
+ ie(typeof ((t = f == null ? void 0 : f.universalLinks) === null || t === void 0 ? void 0 : t.subscribe) == "function", e, "invalid-cordova-configuration", {
9807
9807
  missingPlugin: "cordova-universal-links-plugin-fix"
9808
- }), re(typeof ((n = f == null ? void 0 : f.BuildInfo) === null || n === void 0 ? void 0 : n.packageName) != "undefined", e, "invalid-cordova-configuration", {
9808
+ }), ie(typeof ((n = f == null ? void 0 : f.BuildInfo) === null || n === void 0 ? void 0 : n.packageName) != "undefined", e, "invalid-cordova-configuration", {
9809
9809
  missingPlugin: "cordova-plugin-buildInfo"
9810
- }), re(typeof ((o = (i = (r = f == null ? void 0 : f.cordova) === null || r === void 0 ? void 0 : r.plugins) === null || i === void 0 ? void 0 : i.browsertab) === null || o === void 0 ? void 0 : o.openUrl) == "function", e, "invalid-cordova-configuration", {
9810
+ }), ie(typeof ((o = (i = (r = f == null ? void 0 : f.cordova) === null || r === void 0 ? void 0 : r.plugins) === null || i === void 0 ? void 0 : i.browsertab) === null || o === void 0 ? void 0 : o.openUrl) == "function", e, "invalid-cordova-configuration", {
9811
9811
  missingPlugin: "cordova-plugin-browsertab"
9812
- }), re(typeof ((s = (l = (a = f == null ? void 0 : f.cordova) === null || a === void 0 ? void 0 : a.plugins) === null || l === void 0 ? void 0 : l.browsertab) === null || s === void 0 ? void 0 : s.isAvailable) == "function", e, "invalid-cordova-configuration", {
9812
+ }), ie(typeof ((s = (l = (a = f == null ? void 0 : f.cordova) === null || a === void 0 ? void 0 : a.plugins) === null || l === void 0 ? void 0 : l.browsertab) === null || s === void 0 ? void 0 : s.isAvailable) == "function", e, "invalid-cordova-configuration", {
9813
9813
  missingPlugin: "cordova-plugin-browsertab"
9814
- }), re(typeof ((d = (c = f == null ? void 0 : f.cordova) === null || c === void 0 ? void 0 : c.InAppBrowser) === null || d === void 0 ? void 0 : d.open) == "function", e, "invalid-cordova-configuration", {
9814
+ }), ie(typeof ((d = (c = f == null ? void 0 : f.cordova) === null || c === void 0 ? void 0 : c.InAppBrowser) === null || d === void 0 ? void 0 : d.open) == "function", e, "invalid-cordova-configuration", {
9815
9815
  missingPlugin: "cordova-plugin-inappbrowser"
9816
9816
  });
9817
9817
  }
@@ -10159,7 +10159,7 @@ const Xt = {
10159
10159
  LOCAL: "local",
10160
10160
  NONE: "none",
10161
10161
  SESSION: "session"
10162
- }, Vi = re, Kg = "persistence";
10162
+ }, Vi = ie, Kg = "persistence";
10163
10163
  function TS(e, t) {
10164
10164
  if (Vi(
10165
10165
  Object.values(Xt).includes(t),
@@ -10247,7 +10247,7 @@ function Qg() {
10247
10247
  * See the License for the specific language governing permissions and
10248
10248
  * limitations under the License.
10249
10249
  */
10250
- const _S = re;
10250
+ const _S = ie;
10251
10251
  class cr {
10252
10252
  constructor() {
10253
10253
  this.browserResolver = tn(Ug), this.cordovaResolver = tn(pS), this.underlyingResolver = null, this._redirectPersistence = gr, this._completeRedirectFn = vs, this._overrideRedirectResult = vu;
@@ -10579,7 +10579,7 @@ zn.USER_MAP = /* @__PURE__ */ new WeakMap();
10579
10579
  * See the License for the specific language governing permissions and
10580
10580
  * limitations under the License.
10581
10581
  */
10582
- const Ui = re;
10582
+ const Ui = ie;
10583
10583
  class dc {
10584
10584
  constructor(t, n) {
10585
10585
  if (this.app = t, n.isInitialized()) {
@@ -10841,7 +10841,7 @@ Cu.PROVIDER_ID = Dr.PROVIDER_ID;
10841
10841
  * See the License for the specific language governing permissions and
10842
10842
  * limitations under the License.
10843
10843
  */
10844
- const MS = re;
10844
+ const MS = ie;
10845
10845
  class LS {
10846
10846
  constructor(t, n, r = lr.app()) {
10847
10847
  var i;
@@ -10944,23 +10944,23 @@ const Bo = (e) => {
10944
10944
  }, BS = (e) => e === "dev" ? "http://localhost:8070/v1" : e === "staging" ? "https://client.fansunitedstagingapi.com/v1" : e === "watg" ? "https://client.watg.fansunitedapi.com/v1" : e === "yolo" ? "https://client.yolo.fansunitedapi.com/v1" : "https://client.fansunitedapi.com/v1";
10945
10945
  class NS {
10946
10946
  constructor(t, n) {
10947
- ie(this, "apiKey", "");
10948
- ie(this, "clientId", "");
10949
- ie(this, "environment", "");
10950
- ie(this, "mainQueryParams", { key: "", client_id: "" });
10951
- ie(this, "headers", { "Content-Type": "application/json" });
10952
- ie(this, "clientApiBaseUrl", "");
10953
- ie(this, "sportal365ImagesSearchURL", "https://content.api.sportal365.com/v2/images/search?");
10954
- ie(this, "sportal365Config", null);
10955
- ie(this, "generateSignedInUrl", (t) => E(this, null, function* () {
10947
+ re(this, "apiKey", "");
10948
+ re(this, "clientId", "");
10949
+ re(this, "environment", "");
10950
+ re(this, "mainQueryParams", { key: "", client_id: "" });
10951
+ re(this, "headers", { "Content-Type": "application/json" });
10952
+ re(this, "clientApiBaseUrl", "");
10953
+ re(this, "sportal365ImagesSearchURL", "https://content.api.sportal365.com/v2/images/search?");
10954
+ re(this, "sportal365Config", null);
10955
+ re(this, "generateSignedInUrl", (t) => E(this, null, function* () {
10956
10956
  const n = `/clients/${this.clientId}/generate-signed-url?`, r = { key: this.apiKey }, i = yield this.getToken();
10957
10957
  return yield fetch(this.clientApiBaseUrl + n + new URLSearchParams(r), {
10958
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
10958
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
10959
10959
  method: "POST",
10960
10960
  body: JSON.stringify(t)
10961
10961
  });
10962
10962
  }));
10963
- ie(this, "storeInBucket", (t, n, r) => E(this, null, function* () {
10963
+ re(this, "storeInBucket", (t, n, r) => E(this, null, function* () {
10964
10964
  const i = yield fetch(t, {
10965
10965
  headers: r,
10966
10966
  method: "PUT",
@@ -10971,352 +10971,375 @@ class NS {
10971
10971
  const o = yield i.text();
10972
10972
  this.throwErrorFromXmlResponse(o);
10973
10973
  }));
10974
- ie(this, "fetchImagesFromSportal365", (t, n, r) => E(this, null, function* () {
10974
+ re(this, "fetchImagesFromSportal365", (t, n, r) => E(this, null, function* () {
10975
10975
  if (this.sportal365Config) {
10976
10976
  const i = { Project: this.sportal365Config.project, Authorization: this.sportal365Config.authorization };
10977
10977
  let o = { query: t, page: r.toString() };
10978
- return n && (n.from && (o = J(F({}, o), { from: n.from })), n.to && (o = J(F({}, o), { to: n.to }))), yield fetch(this.sportal365ImagesSearchURL + new URLSearchParams(o), { headers: i });
10978
+ return n && (n.from && (o = J(N({}, o), { from: n.from })), n.to && (o = J(N({}, o), { to: n.to }))), yield fetch(this.sportal365ImagesSearchURL + new URLSearchParams(o), { headers: i });
10979
10979
  }
10980
10980
  }));
10981
- ie(this, "getSchedulersByEntityId", (t) => E(this, null, function* () {
10981
+ re(this, "getSchedulersByEntityId", (t) => E(this, null, function* () {
10982
10982
  const n = `/clients/${this.clientId}/scheduler/tasks?`, r = { key: this.apiKey, limit: "50", entity_id: t }, i = yield this.getToken();
10983
10983
  return yield fetch(this.clientApiBaseUrl + n + new URLSearchParams(r), {
10984
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i })
10984
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i })
10985
10985
  });
10986
10986
  }));
10987
- ie(this, "setSchedulers", (t, n, r) => E(this, null, function* () {
10987
+ re(this, "setSchedulers", (t, n, r) => E(this, null, function* () {
10988
10988
  let i = "", o = "";
10989
10989
  n === "CREATE" ? (i = `/clients/${this.clientId}/scheduler/tasks?`, o = "POST") : (i = `/clients/${this.clientId}/scheduler/tasks/${r}?`, o = "PUT");
10990
10990
  const a = { key: this.apiKey }, l = yield this.getToken();
10991
10991
  return yield fetch(this.clientApiBaseUrl + i + new URLSearchParams(a), {
10992
- headers: J(F({}, this.headers), { Authorization: "Bearer " + l }),
10992
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + l }),
10993
10993
  body: JSON.stringify(t),
10994
10994
  method: o
10995
10995
  });
10996
10996
  }));
10997
- ie(this, "deleteScheduledTask", (t) => E(this, null, function* () {
10997
+ re(this, "deleteScheduledTask", (t) => E(this, null, function* () {
10998
10998
  const n = `/clients/${this.clientId}/scheduler/tasks/${t}?`, r = { key: this.apiKey }, i = yield this.getToken();
10999
10999
  return yield fetch(this.clientApiBaseUrl + n + new URLSearchParams(r), {
11000
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11000
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11001
11001
  method: "DELETE"
11002
11002
  });
11003
11003
  }));
11004
- ie(this, "constructAssetsUrl", (t) => this.environment === "dev" ? `https://storage.googleapis.com/client_images_cms_fans-united-dev/${this.clientId}/${t}` : this.environment === "staging" ? `https://storage.googleapis.com/client_images_cms_fans-united-stage/${this.clientId}/${t}` : `https://uploads.fansunitedassets.com/${this.clientId}/${t}`);
11005
- ie(this, "throwErrorFromXmlResponse", (t) => {
11004
+ re(this, "constructAssetsUrl", (t) => this.environment === "dev" ? `https://storage.googleapis.com/client_images_cms_fans-united-dev/${this.clientId}/${t}` : this.environment === "staging" ? `https://storage.googleapis.com/client_images_cms_fans-united-stage/${this.clientId}/${t}` : `https://uploads.fansunitedassets.com/${this.clientId}/${t}`);
11005
+ re(this, "throwErrorFromXmlResponse", (t) => {
11006
11006
  const n = new window.DOMParser().parseFromString(t, "text/xml"), r = n.getElementsByTagName("Message") && n.getElementsByTagName("Code").length > 0 ? n.getElementsByTagName("Message")[0].textContent : "", i = n.getElementsByTagName("Details") && n.getElementsByTagName("Code").length > 0 ? n.getElementsByTagName("Details")[0].textContent : "";
11007
11007
  throw new Error(r + " " + i);
11008
11008
  });
11009
- ie(this, "getToken", () => E(this, null, function* () {
11009
+ re(this, "getToken", () => E(this, null, function* () {
11010
11010
  const t = Bo(this.environment).currentUser;
11011
11011
  return t ? yield t.getIdToken() : "";
11012
11012
  }));
11013
11013
  this.apiKey = t.apiKey, this.clientId = t.clientId, this.environment = t.environment, this.mainQueryParams = { key: t.apiKey, client_id: t.clientId }, this.sportal365Config = n, this.clientApiBaseUrl = BS(this.environment);
11014
11014
  }
11015
11015
  }
11016
- const FS = (e) => e === "dev" ? "http://localhost:8060/v1" : e === "staging" ? "https://loyalty.fansunitedstagingapi.com/v1" : e === "watg" ? "https://loyalty.watg.fansunitedapi.com/v1" : e === "yolo" ? "https://loyalty.yolo.fansunitedapi.com/v1" : "https://loyalty.fansunitedapi.com/v1", zS = (e) => e === "dev" ? "http://localhost:8040/v1" : e === "staging" ? "https://prediction.fansunitedstagingapi.com/v1" : e === "watg" ? "https://prediction.watg.fansunitedapi.com/v1" : e === "yolo" ? "https://prediction.yolo.fansunitedapi.com/v1" : "https://prediction.fansunitedapi.com/v1", VS = (e) => e === "dev" ? "http://localhost:9040/v1" : e === "staging" ? "https://mini-games.fansunitedstagingapi.com/v1" : e === "watg" ? "https://mini-games.watg.fansunitedapi.com/v1" : e === "yolo" ? "https://mini-games.yolo.fansunitedapi.com/v1" : "https://mini-games.fansunitedapi.com/v1", US = (e) => e === "dev" ? "http://localhost:8020/v1" : e === "staging" ? "https://reporting.fansunitedstagingapi.com/v1" : e === "watg" ? "https://reporting.watg.fansunitedapi.com/v1" : e === "yolo" ? "https://reporting.yolo.fansunitedapi.com/v1" : "https://reporting.fansunitedapi.com/v1", HS = (e) => e === "dev" ? "http://localhost:9030/v1" : e === "staging" ? "https://voting.fansunitedstagingapi.com/v1" : e === "watg" ? "https://voting.watg.fansunitedapi.com/v1" : e === "yolo" ? "https://voting.yolo.fansunitedapi.com/v1" : "https://voting.fansunitedapi.com/v1", WS = (e) => e === "staging" ? "https://custom-games-resolver-131809830171.europe-west1.run.app/v1/custom/bracket/resolve?" : e === "watg" ? "https://custom-games-resolver-1045682138584.southamerica-east1.run.app/v1/custom/bracket/resolve?" : e === "yolo" ? "https://custom-games-resolver-1054597592566.europe-west1.run.app/v1/custom/bracket/resolve?" : "https://custom-games-resolver-150199313674.europe-west1.run.app/v1/custom/bracket/resolve?", GS = (e) => e === "dev" ? "http://localhost:8010/v1" : e === "staging" ? "https://profile.fansunitedstagingapi.com/v1" : e === "watg" ? "https://profile.watg.fansunitedapi.com/v1" : e === "yolo" ? "https://profile.yolo.fansunitedapi.com/v1" : "https://profile.fansunitedapi.com/v1";
11016
+ const FS = (e) => e === "dev" ? "http://localhost:8060/v1" : e === "staging" ? "https://loyalty.fansunitedstagingapi.com/v1" : e === "watg" ? "https://loyalty.watg.fansunitedapi.com/v1" : e === "yolo" ? "https://loyalty.yolo.fansunitedapi.com/v1" : "https://loyalty.fansunitedapi.com/v1", zS = (e) => e === "dev" ? "http://localhost:8040/v1" : e === "staging" ? "https://prediction.fansunitedstagingapi.com/v1" : e === "watg" ? "https://prediction.watg.fansunitedapi.com/v1" : e === "yolo" ? "https://prediction.yolo.fansunitedapi.com/v1" : "https://prediction.fansunitedapi.com/v1", VS = (e) => e === "dev" ? "http://localhost:9040/v1" : e === "staging" ? "https://mini-games.fansunitedstagingapi.com/v1" : e === "watg" ? "https://mini-games.watg.fansunitedapi.com/v1" : e === "yolo" ? "https://mini-games.yolo.fansunitedapi.com/v1" : "https://mini-games.fansunitedapi.com/v1", US = (e) => e === "dev" ? "http://localhost:8020/v1" : e === "staging" ? "https://reporting.fansunitedstagingapi.com/v1" : e === "watg" ? "https://reporting.watg.fansunitedapi.com/v1" : e === "yolo" ? "https://reporting.yolo.fansunitedapi.com/v1" : "https://reporting.fansunitedapi.com/v1", HS = (e) => e === "dev" ? "http://localhost:9030/v1" : e === "staging" ? "https://voting.fansunitedstagingapi.com/v1" : e === "watg" ? "https://voting.watg.fansunitedapi.com/v1" : e === "yolo" ? "https://voting.yolo.fansunitedapi.com/v1" : "https://voting.fansunitedapi.com/v1", WS = (e) => e === "staging" ? "https://custom-games-resolver-131809830171.europe-west1.run.app/v1" : e === "watg" ? "https://custom-games-resolver-1045682138584.southamerica-east1.run.app/v1" : e === "yolo" ? "https://custom-games-resolver-1054597592566.europe-west1.run.app/v1" : "https://custom-games-resolver-150199313674.europe-west1.run.app/v1", GS = (e) => e === "dev" ? "http://localhost:8010/v1" : e === "staging" ? "https://profile.fansunitedstagingapi.com/v1" : e === "watg" ? "https://profile.watg.fansunitedapi.com/v1" : e === "yolo" ? "https://profile.yolo.fansunitedapi.com/v1" : "https://profile.fansunitedapi.com/v1";
11017
11017
  class YS extends NS {
11018
11018
  constructor(n, r) {
11019
11019
  super(n, r);
11020
- ie(this, "loyaltyBaseUrl", "");
11021
- ie(this, "predictionBaseUrl", "");
11022
- ie(this, "miniGamesApiBaseUrl", "");
11023
- ie(this, "reportingApiBaseUrl", "");
11024
- ie(this, "votingApiBaseUrl", "");
11025
- ie(this, "profileApiBaseUrl", "");
11026
- ie(this, "customResolverUrl", "");
11027
- ie(this, "getClientById", () => E(this, null, function* () {
11020
+ re(this, "loyaltyBaseUrl", "");
11021
+ re(this, "predictionBaseUrl", "");
11022
+ re(this, "miniGamesApiBaseUrl", "");
11023
+ re(this, "reportingApiBaseUrl", "");
11024
+ re(this, "votingApiBaseUrl", "");
11025
+ re(this, "profileApiBaseUrl", "");
11026
+ re(this, "customResolverUrl", "");
11027
+ re(this, "getClientById", () => E(this, null, function* () {
11028
11028
  const n = `/clients/${this.clientId}?`, r = { key: this.apiKey }, i = yield this.getToken();
11029
11029
  return yield fetch(this.clientApiBaseUrl + n + new URLSearchParams(r), {
11030
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i })
11030
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i })
11031
11031
  });
11032
11032
  }));
11033
- ie(this, "createTemplate", (n) => E(this, null, function* () {
11033
+ re(this, "createTemplate", (n) => E(this, null, function* () {
11034
11034
  const r = "/leaderboard/templates?", i = yield this.getToken();
11035
11035
  return yield fetch(this.loyaltyBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11036
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11036
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11037
11037
  method: "POST",
11038
11038
  body: JSON.stringify(n)
11039
11039
  });
11040
11040
  }));
11041
- ie(this, "editTemplate", (n, r) => E(this, null, function* () {
11041
+ re(this, "editTemplate", (n, r) => E(this, null, function* () {
11042
11042
  const i = `/leaderboard/templates/${n}?`, o = yield this.getToken();
11043
11043
  return yield fetch(this.loyaltyBaseUrl + i + new URLSearchParams(this.mainQueryParams), {
11044
- headers: J(F({}, this.headers), { Authorization: "Bearer " + o }),
11044
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o }),
11045
11045
  method: "PUT",
11046
11046
  body: JSON.stringify(r)
11047
11047
  });
11048
11048
  }));
11049
- ie(this, "deleteTemplate", (n) => E(this, null, function* () {
11049
+ re(this, "deleteTemplate", (n) => E(this, null, function* () {
11050
11050
  const r = `/leaderboard/templates/${n}?`, i = yield this.getToken();
11051
11051
  return yield fetch(this.loyaltyBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11052
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11052
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11053
11053
  method: "DELETE"
11054
11054
  });
11055
11055
  }));
11056
- ie(this, "setWinners", (n) => E(this, null, function* () {
11056
+ re(this, "setWinners", (n) => E(this, null, function* () {
11057
11057
  const r = "/winners?", i = yield this.getToken();
11058
11058
  return yield fetch(this.predictionBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11059
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11059
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11060
11060
  method: "POST",
11061
11061
  body: JSON.stringify(n)
11062
11062
  });
11063
11063
  }));
11064
- ie(this, "exportDetailedLeaderboard", (n, r) => E(this, null, function* () {
11064
+ re(this, "exportDetailedLeaderboard", (n, r) => E(this, null, function* () {
11065
11065
  const i = `/leaderboard/${n}/detailed?`, o = yield this.getToken();
11066
- return yield fetch(this.loyaltyBaseUrl + i + new URLSearchParams(J(F({}, this.mainQueryParams), { limit: r.toString() })), {
11067
- headers: J(F({}, this.headers), { Authorization: "Bearer " + o })
11066
+ return yield fetch(this.loyaltyBaseUrl + i + new URLSearchParams(J(N({}, this.mainQueryParams), { limit: r.toString() })), {
11067
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o })
11068
11068
  });
11069
11069
  }));
11070
- ie(this, "exportDetailedGameLeaderboard", (n, r) => E(this, null, function* () {
11070
+ re(this, "exportDetailedGameLeaderboard", (n, r) => E(this, null, function* () {
11071
11071
  const i = `/leaderboard/games/${n}/detailed?`, o = yield this.getToken();
11072
- return yield fetch(this.loyaltyBaseUrl + i + new URLSearchParams(J(F({}, this.mainQueryParams), { limit: r.toString() })), {
11073
- headers: J(F({}, this.headers), { Authorization: "Bearer " + o })
11072
+ return yield fetch(this.loyaltyBaseUrl + i + new URLSearchParams(J(N({}, this.mainQueryParams), { limit: r.toString() })), {
11073
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o })
11074
11074
  });
11075
11075
  }));
11076
- ie(this, "createGame", (n) => E(this, null, function* () {
11076
+ re(this, "createGame", (n) => E(this, null, function* () {
11077
11077
  const r = "/games?", i = yield this.getToken();
11078
11078
  return yield fetch(this.predictionBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11079
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11079
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11080
11080
  method: "POST",
11081
11081
  body: JSON.stringify(n)
11082
11082
  });
11083
11083
  }));
11084
- ie(this, "editGame", (n, r) => E(this, null, function* () {
11084
+ re(this, "editGame", (n, r) => E(this, null, function* () {
11085
11085
  const i = `/games/${n}?`, o = yield this.getToken();
11086
11086
  return yield fetch(this.predictionBaseUrl + i + new URLSearchParams(this.mainQueryParams), {
11087
- headers: J(F({}, this.headers), { Authorization: "Bearer " + o }),
11087
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o }),
11088
11088
  method: "PATCH",
11089
11089
  body: JSON.stringify(r)
11090
11090
  });
11091
11091
  }));
11092
- ie(this, "getClassicQuizFeature", () => E(this, null, function* () {
11092
+ re(this, "getClassicQuizFeature", () => E(this, null, function* () {
11093
11093
  const n = `/clients/${this.clientId}/features/classic_quiz?`, r = { key: this.apiKey };
11094
11094
  return yield fetch(this.clientApiBaseUrl + n + new URLSearchParams(r));
11095
11095
  }));
11096
- ie(this, "getEitherOrFeature", () => E(this, null, function* () {
11096
+ re(this, "getEitherOrFeature", () => E(this, null, function* () {
11097
11097
  const n = `/clients/${this.clientId}/features/either_or?`, r = { key: this.apiKey };
11098
11098
  return yield fetch(this.clientApiBaseUrl + n + new URLSearchParams(r));
11099
11099
  }));
11100
- ie(this, "getPollFeature", () => E(this, null, function* () {
11100
+ re(this, "getPollFeature", () => E(this, null, function* () {
11101
11101
  const n = `/clients/${this.clientId}/features/poll?`, r = { key: this.apiKey };
11102
11102
  return yield fetch(this.clientApiBaseUrl + n + new URLSearchParams(r));
11103
11103
  }));
11104
- ie(this, "createClassicQuiz", (n) => E(this, null, function* () {
11104
+ re(this, "createClassicQuiz", (n) => E(this, null, function* () {
11105
11105
  const r = "/classic-quizzes?", i = yield this.getToken();
11106
11106
  return yield fetch(this.miniGamesApiBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11107
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11107
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11108
11108
  method: "POST",
11109
11109
  body: JSON.stringify(n)
11110
11110
  });
11111
11111
  }));
11112
- ie(this, "updateClassicQuiz", (n, r) => E(this, null, function* () {
11112
+ re(this, "updateClassicQuiz", (n, r) => E(this, null, function* () {
11113
11113
  const i = `/classic-quizzes/${n}?`, o = yield this.getToken();
11114
11114
  return yield fetch(this.miniGamesApiBaseUrl + i + new URLSearchParams(this.mainQueryParams), {
11115
- headers: J(F({}, this.headers), { Authorization: "Bearer " + o }),
11115
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o }),
11116
11116
  method: "PUT",
11117
11117
  body: JSON.stringify(r)
11118
11118
  });
11119
11119
  }));
11120
- ie(this, "getClassicQuizById", (n) => E(this, null, function* () {
11120
+ re(this, "getClassicQuizById", (n) => E(this, null, function* () {
11121
11121
  const r = `/classic-quizzes/${n}/staff?`, i = yield this.getToken();
11122
11122
  return yield fetch(this.miniGamesApiBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11123
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i })
11123
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i })
11124
11124
  });
11125
11125
  }));
11126
- ie(this, "deleteClassicQuiz", (n) => E(this, null, function* () {
11126
+ re(this, "deleteClassicQuiz", (n) => E(this, null, function* () {
11127
11127
  const r = `/classic-quizzes/${n}?`, i = yield this.getToken();
11128
11128
  return yield fetch(this.miniGamesApiBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11129
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11129
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11130
11130
  method: "DELETE"
11131
11131
  });
11132
11132
  }));
11133
- ie(this, "calculateQuestionsReport", (n) => E(this, null, function* () {
11133
+ re(this, "calculateQuestionsReport", (n) => E(this, null, function* () {
11134
11134
  const r = `/classic-quizzes/${n}/questions-report?`, i = yield this.getToken();
11135
11135
  return yield fetch(this.miniGamesApiBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11136
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11136
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11137
11137
  method: "POST"
11138
11138
  });
11139
11139
  }));
11140
- ie(this, "exportUsers", (n) => E(this, null, function* () {
11140
+ re(this, "exportUsers", (n) => E(this, null, function* () {
11141
11141
  const r = "/exports/users?", i = yield this.getToken();
11142
11142
  return yield fetch(this.reportingApiBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11143
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11143
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11144
11144
  method: "POST",
11145
11145
  body: JSON.stringify(n)
11146
11146
  });
11147
11147
  }));
11148
- ie(this, "getClassicQuizParticipations", (n, r, i, o) => E(this, null, function* () {
11149
- const a = "/classic-quizzes/participations?", l = J(F({}, this.mainQueryParams), {
11148
+ re(this, "getClassicQuizParticipations", (n, r, i, o) => E(this, null, function* () {
11149
+ const a = "/classic-quizzes/participations?", l = J(N({}, this.mainQueryParams), {
11150
11150
  classic_quiz_ids: n,
11151
11151
  from_date: r,
11152
11152
  to_date: i,
11153
11153
  group_by: o
11154
11154
  }), s = yield this.getToken();
11155
11155
  return yield fetch(this.reportingApiBaseUrl + a + new URLSearchParams(l), {
11156
- headers: J(F({}, this.headers), { Authorization: "Bearer " + s })
11156
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + s })
11157
11157
  });
11158
11158
  }));
11159
- ie(this, "getEntityParticipations", (n, r, i) => E(this, null, function* () {
11160
- const o = `/participations/${n}/breakdown?`, a = J(F({}, this.mainQueryParams), {
11159
+ re(this, "getEntityParticipations", (n, r, i) => E(this, null, function* () {
11160
+ const o = `/participations/${n}/breakdown?`, a = J(N({}, this.mainQueryParams), {
11161
11161
  from_date: r,
11162
11162
  to_date: i
11163
11163
  }), l = yield this.getToken();
11164
11164
  return yield fetch(this.reportingApiBaseUrl + o + new URLSearchParams(a), {
11165
- headers: J(F({}, this.headers), { Authorization: "Bearer " + l })
11165
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + l })
11166
11166
  });
11167
11167
  }));
11168
- ie(this, "createPoll", (n) => E(this, null, function* () {
11168
+ re(this, "createPoll", (n) => E(this, null, function* () {
11169
11169
  const r = "/polls?", i = yield this.getToken();
11170
11170
  return yield fetch(this.votingApiBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11171
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11171
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11172
11172
  method: "POST",
11173
11173
  body: JSON.stringify(n)
11174
11174
  });
11175
11175
  }));
11176
- ie(this, "updatePoll", (n, r) => E(this, null, function* () {
11176
+ re(this, "updatePoll", (n, r) => E(this, null, function* () {
11177
11177
  const i = `/polls/${n}?`, o = yield this.getToken();
11178
11178
  return yield fetch(this.votingApiBaseUrl + i + new URLSearchParams(this.mainQueryParams), {
11179
- headers: J(F({}, this.headers), { Authorization: "Bearer " + o }),
11179
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o }),
11180
11180
  method: "PUT",
11181
11181
  body: JSON.stringify(r)
11182
11182
  });
11183
11183
  }));
11184
- ie(this, "deletePoll", (n) => E(this, null, function* () {
11184
+ re(this, "deletePoll", (n) => E(this, null, function* () {
11185
11185
  const r = `/polls/${n}?`, i = yield this.getToken();
11186
11186
  return yield fetch(this.votingApiBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11187
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11187
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11188
11188
  method: "DELETE"
11189
11189
  });
11190
11190
  }));
11191
- ie(this, "getEitherOrById", (n) => E(this, null, function* () {
11191
+ re(this, "getEitherOrById", (n) => E(this, null, function* () {
11192
11192
  const r = `/either-or/${n}/staff?`, i = yield this.getToken();
11193
11193
  return yield fetch(this.miniGamesApiBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11194
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i })
11194
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i })
11195
11195
  });
11196
11196
  }));
11197
- ie(this, "createEitherOr", (n) => E(this, null, function* () {
11197
+ re(this, "createEitherOr", (n) => E(this, null, function* () {
11198
11198
  const r = "/either-or?", i = yield this.getToken();
11199
11199
  return yield fetch(this.miniGamesApiBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11200
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11200
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11201
11201
  method: "POST",
11202
11202
  body: JSON.stringify(n)
11203
11203
  });
11204
11204
  }));
11205
- ie(this, "updateEitherOr", (n, r) => E(this, null, function* () {
11205
+ re(this, "updateEitherOr", (n, r) => E(this, null, function* () {
11206
11206
  const i = `/either-or/${n}?`, o = yield this.getToken();
11207
11207
  return yield fetch(this.miniGamesApiBaseUrl + i + new URLSearchParams(this.mainQueryParams), {
11208
- headers: J(F({}, this.headers), { Authorization: "Bearer " + o }),
11208
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o }),
11209
11209
  method: "PUT",
11210
11210
  body: JSON.stringify(r)
11211
11211
  });
11212
11212
  }));
11213
- ie(this, "deleteEitherOr", (n) => E(this, null, function* () {
11213
+ re(this, "deleteEitherOr", (n) => E(this, null, function* () {
11214
11214
  const r = `/either-or/${n}?`, i = yield this.getToken();
11215
11215
  return yield fetch(this.miniGamesApiBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11216
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11216
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11217
11217
  method: "DELETE"
11218
11218
  });
11219
11219
  }));
11220
- ie(this, "getLists", (n, r, i = "DESC") => E(this, null, function* () {
11220
+ re(this, "getLists", (n, r, i = "DESC") => E(this, null, function* () {
11221
11221
  const o = `/clients/${this.clientId}/lists?`, a = { key: this.apiKey, limit: n.toString(), sort_order: i };
11222
11222
  r && (a.start_after = r);
11223
11223
  const l = yield this.getToken();
11224
11224
  return yield fetch(this.clientApiBaseUrl + o + new URLSearchParams(a), {
11225
- headers: J(F({}, this.headers), { Authorization: "Bearer " + l })
11225
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + l })
11226
11226
  });
11227
11227
  }));
11228
- ie(this, "getListById", (n) => E(this, null, function* () {
11228
+ re(this, "getListById", (n) => E(this, null, function* () {
11229
11229
  const r = `/clients/${this.clientId}/lists/${n}?`, i = { key: this.apiKey }, o = yield this.getToken();
11230
11230
  return yield fetch(this.clientApiBaseUrl + r + new URLSearchParams(i), {
11231
- headers: J(F({}, this.headers), { Authorization: "Bearer " + o })
11231
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o })
11232
11232
  });
11233
11233
  }));
11234
- ie(this, "getListContent", (n, r, i = "DESC", o) => E(this, null, function* () {
11234
+ re(this, "getListContent", (n, r, i = "DESC", o) => E(this, null, function* () {
11235
11235
  const a = `/clients/${this.clientId}/lists/${n}/content?`, l = { key: this.apiKey, limit: r.toString(), sort_order: i };
11236
11236
  o && (l.page = o.toString());
11237
11237
  const s = yield this.getToken();
11238
11238
  return yield fetch(this.clientApiBaseUrl + a + new URLSearchParams(l), {
11239
- headers: J(F({}, this.headers), { Authorization: "Bearer " + s })
11239
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + s })
11240
11240
  });
11241
11241
  }));
11242
- ie(this, "createList", (n) => E(this, null, function* () {
11242
+ re(this, "createList", (n) => E(this, null, function* () {
11243
11243
  const r = `/clients/${this.clientId}/lists/?`, i = { key: this.apiKey }, o = yield this.getToken();
11244
11244
  return yield fetch(this.clientApiBaseUrl + r + new URLSearchParams(i), {
11245
- headers: J(F({}, this.headers), { Authorization: "Bearer " + o }),
11245
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o }),
11246
11246
  method: "POST",
11247
11247
  body: JSON.stringify(n)
11248
11248
  });
11249
11249
  }));
11250
- ie(this, "updateList", (n, r) => E(this, null, function* () {
11250
+ re(this, "updateList", (n, r) => E(this, null, function* () {
11251
11251
  const i = `/clients/${this.clientId}/lists/${n}?`, o = { key: this.apiKey }, a = yield this.getToken();
11252
11252
  return yield fetch(this.clientApiBaseUrl + i + new URLSearchParams(o), {
11253
- headers: J(F({}, this.headers), { Authorization: "Bearer " + a }),
11253
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + a }),
11254
11254
  method: "PUT",
11255
11255
  body: JSON.stringify(r)
11256
11256
  });
11257
11257
  }));
11258
- ie(this, "deleteList", (n) => E(this, null, function* () {
11258
+ re(this, "deleteList", (n) => E(this, null, function* () {
11259
11259
  const r = `/clients/${this.clientId}/lists/${n}?`, i = { key: this.apiKey }, o = yield this.getToken();
11260
11260
  return yield fetch(this.clientApiBaseUrl + r + new URLSearchParams(i), {
11261
- headers: J(F({}, this.headers), { Authorization: "Bearer " + o }),
11261
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o }),
11262
11262
  method: "DELETE"
11263
11263
  });
11264
11264
  }));
11265
- ie(this, "getLanguageConfig", () => E(this, null, function* () {
11265
+ re(this, "getLanguageConfig", () => E(this, null, function* () {
11266
11266
  const n = `/clients/${this.clientId}/config/language?`, r = { key: this.apiKey }, i = yield this.getToken();
11267
11267
  return yield fetch(this.clientApiBaseUrl + n + new URLSearchParams(r), {
11268
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i })
11268
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i })
11269
11269
  });
11270
11270
  }));
11271
- ie(this, "updateLanguageConfig", (n) => E(this, null, function* () {
11271
+ re(this, "updateLanguageConfig", (n) => E(this, null, function* () {
11272
11272
  const r = `/clients/${this.clientId}/config/language?`, i = { key: this.apiKey }, o = yield this.getToken();
11273
11273
  return yield fetch(this.clientApiBaseUrl + r + new URLSearchParams(i), {
11274
- headers: J(F({}, this.headers), { Authorization: "Bearer " + o }),
11274
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o }),
11275
11275
  method: "PUT",
11276
11276
  body: JSON.stringify(n)
11277
11277
  });
11278
11278
  }));
11279
- ie(this, "createBracketGame", (n) => E(this, null, function* () {
11279
+ re(this, "createBracketGame", (n) => E(this, null, function* () {
11280
11280
  const r = "/custom/bracket?", i = yield this.getToken();
11281
11281
  return yield fetch(this.predictionBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11282
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11282
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11283
11283
  method: "POST",
11284
11284
  body: JSON.stringify(n)
11285
11285
  });
11286
11286
  }));
11287
- ie(this, "updateBracketGame", (n, r) => E(this, null, function* () {
11287
+ re(this, "updateBracketGame", (n, r) => E(this, null, function* () {
11288
11288
  const i = `/custom/bracket/${n}?`, o = yield this.getToken();
11289
11289
  return yield fetch(this.predictionBaseUrl + i + new URLSearchParams(this.mainQueryParams), {
11290
- headers: J(F({}, this.headers), { Authorization: "Bearer " + o }),
11290
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o }),
11291
11291
  method: "PUT",
11292
11292
  body: JSON.stringify(r)
11293
11293
  });
11294
11294
  }));
11295
- ie(this, "resolvePredictions", (n) => E(this, null, function* () {
11296
- const i = yield this.getToken();
11297
- return yield fetch(this.customResolverUrl + new URLSearchParams({ client_id: this.clientId, game_id: n }), {
11298
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i }),
11295
+ re(this, "resolvePredictions", (n) => E(this, null, function* () {
11296
+ const r = "/custom/bracket/resolve?", o = yield this.getToken();
11297
+ return yield fetch(this.customResolverUrl + r + new URLSearchParams({ client_id: this.clientId, game_id: n }), {
11298
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o }),
11299
11299
  signal: AbortSignal.timeout(6e5)
11300
11300
  });
11301
11301
  }));
11302
- ie(this, "exportLeadsPerEntity", (n) => E(this, null, function* () {
11303
- const r = "/leads/export?", i = J(F({}, this.mainQueryParams), { content_id: n }), o = yield this.getToken();
11302
+ re(this, "exportLeadsPerEntity", (n) => E(this, null, function* () {
11303
+ const r = "/leads/export?", i = J(N({}, this.mainQueryParams), { content_id: n }), o = yield this.getToken();
11304
11304
  return yield fetch(this.profileApiBaseUrl + r + new URLSearchParams(i), {
11305
- headers: J(F({}, this.headers), { Authorization: "Bearer " + o })
11305
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o })
11306
11306
  });
11307
11307
  }));
11308
- ie(this, "getLeadStatistics", (n) => E(this, null, function* () {
11308
+ re(this, "getLeadStatistics", (n) => E(this, null, function* () {
11309
11309
  const r = "/leads/statistics?", i = yield this.getToken();
11310
11310
  let o = null;
11311
- return n ? o = new URLSearchParams(F(F({}, this.mainQueryParams), n)) : o = new URLSearchParams(this.mainQueryParams), yield fetch(this.profileApiBaseUrl + r + o, {
11312
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i })
11311
+ return n ? o = new URLSearchParams(N(N({}, this.mainQueryParams), n)) : o = new URLSearchParams(this.mainQueryParams), yield fetch(this.profileApiBaseUrl + r + o, {
11312
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i })
11313
11313
  });
11314
11314
  }));
11315
- ie(this, "exportLeads", (n) => E(this, null, function* () {
11315
+ re(this, "exportLeads", (n) => E(this, null, function* () {
11316
11316
  const r = "/leads/export?", i = yield this.getToken();
11317
11317
  let o = null;
11318
- return n ? o = new URLSearchParams(F(F({}, this.mainQueryParams), n)) : o = new URLSearchParams(this.mainQueryParams), yield fetch(this.profileApiBaseUrl + r + o, {
11319
- headers: J(F({}, this.headers), { Authorization: "Bearer " + i })
11318
+ return n ? o = new URLSearchParams(N(N({}, this.mainQueryParams), n)) : o = new URLSearchParams(this.mainQueryParams), yield fetch(this.profileApiBaseUrl + r + o, {
11319
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i })
11320
+ });
11321
+ }));
11322
+ re(this, "createStandingGame", (n) => E(this, null, function* () {
11323
+ const r = "/custom/standing?", i = yield this.getToken();
11324
+ return yield fetch(this.predictionBaseUrl + r + new URLSearchParams(this.mainQueryParams), {
11325
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + i }),
11326
+ method: "POST",
11327
+ body: JSON.stringify(n)
11328
+ });
11329
+ }));
11330
+ re(this, "updateStandingGame", (n, r) => E(this, null, function* () {
11331
+ const i = `/custom/standing/${n}?`, o = yield this.getToken();
11332
+ return yield fetch(this.predictionBaseUrl + i + new URLSearchParams(this.mainQueryParams), {
11333
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o }),
11334
+ method: "PUT",
11335
+ body: JSON.stringify(r)
11336
+ });
11337
+ }));
11338
+ re(this, "resolveStandingPredictions", (n) => E(this, null, function* () {
11339
+ const r = "/custom/standing/resolve?", o = yield this.getToken();
11340
+ return yield fetch(this.customResolverUrl + r + new URLSearchParams({ client_id: this.clientId, game_id: n }), {
11341
+ headers: J(N({}, this.headers), { Authorization: "Bearer " + o }),
11342
+ signal: AbortSignal.timeout(6e5)
11320
11343
  });
11321
11344
  }));
11322
11345
  this.loyaltyBaseUrl = FS(n.environment), this.predictionBaseUrl = zS(n.environment), this.miniGamesApiBaseUrl = VS(n.environment), this.reportingApiBaseUrl = US(n.environment), this.votingApiBaseUrl = HS(n.environment), this.profileApiBaseUrl = GS(n.environment), this.customResolverUrl = WS(n.environment);
@@ -12375,7 +12398,7 @@ function GA(e) {
12375
12398
  type: At.blur,
12376
12399
  event: q
12377
12400
  }));
12378
- }, N = (oe = {}) => {
12401
+ }, F = (oe = {}) => {
12379
12402
  const q = Hn(oe);
12380
12403
  return P({}, oe, {
12381
12404
  "aria-activedescendant": i === "activeDescendant" && z != null ? l(z) : void 0,
@@ -12401,7 +12424,7 @@ function GA(e) {
12401
12424
  }), {
12402
12425
  contextValue: ae,
12403
12426
  dispatch: M,
12404
- getRootProps: N,
12427
+ getRootProps: F,
12405
12428
  rootRef: _,
12406
12429
  state: L
12407
12430
  };
@@ -12703,7 +12726,7 @@ function s1(e, t) {
12703
12726
  y = !1;
12704
12727
  }
12705
12728
  try {
12706
- n = new IntersectionObserver(C, J(F({}, x), {
12729
+ n = new IntersectionObserver(C, J(N({}, x), {
12707
12730
  // Handle <iframe>s
12708
12731
  root: i.ownerDocument
12709
12732
  }));
@@ -14769,7 +14792,7 @@ function UT(e) {
14769
14792
  Object.entries(O.colorSchemes).forEach(([q, se]) => {
14770
14793
  j(q, se.palette);
14771
14794
  });
14772
- const N = {
14795
+ const F = {
14773
14796
  prefix: h,
14774
14797
  shouldSkipGeneratingVar: w
14775
14798
  }, {
@@ -14780,7 +14803,7 @@ function UT(e) {
14780
14803
  P({
14781
14804
  colorSchemes: Z
14782
14805
  }, D),
14783
- N
14806
+ F
14784
14807
  );
14785
14808
  O.vars = ee, O.generateCssVars = ae, O.unstable_sxConfig = P({}, jT, void 0), O.unstable_sx = function(se) {
14786
14809
  return js({
@@ -16452,7 +16475,7 @@ function Bm(e) {
16452
16475
  function rn(e, t, n = {
16453
16476
  clone: !0
16454
16477
  }) {
16455
- const r = n.clone ? F({}, e) : e;
16478
+ const r = n.clone ? N({}, e) : e;
16456
16479
  return Bn(e) && Bn(t) && Object.keys(t).forEach((i) => {
16457
16480
  /* @__PURE__ */ V.isValidElement(t[i]) || om.isValidElementType(t[i]) ? r[i] = t[i] : Bn(t[i]) && // Avoid prototype pollution
16458
16481
  Object.prototype.hasOwnProperty.call(e, i) && Bn(e[i]) ? r[i] = rn(e[i], t[i], n) : n.clone ? r[i] = Bn(t[i]) ? Bm(t[i]) : t[i] : r[i] = t[i];
@@ -16468,12 +16491,12 @@ function wi(e) {
16468
16491
  return e.charAt(0).toUpperCase() + e.slice(1);
16469
16492
  }
16470
16493
  function gc(e, t) {
16471
- const n = F({}, t);
16494
+ const n = N({}, t);
16472
16495
  for (const r in e)
16473
16496
  if (Object.prototype.hasOwnProperty.call(e, r)) {
16474
16497
  const i = r;
16475
16498
  if (i === "components" || i === "slots")
16476
- n[i] = F(F({}, e[i]), n[i]);
16499
+ n[i] = N(N({}, e[i]), n[i]);
16477
16500
  else if (i === "componentsProps" || i === "slotProps") {
16478
16501
  const o = e[i], a = t[i];
16479
16502
  if (!a)
@@ -16481,7 +16504,7 @@ function gc(e, t) {
16481
16504
  else if (!o)
16482
16505
  n[i] = a;
16483
16506
  else {
16484
- n[i] = F({}, a);
16507
+ n[i] = N({}, a);
16485
16508
  for (const l in o)
16486
16509
  if (Object.prototype.hasOwnProperty.call(o, l)) {
16487
16510
  const s = l;
@@ -16562,7 +16585,7 @@ function o_(e, t) {
16562
16585
  return n.length ? n.reduce((r, i) => {
16563
16586
  const o = t[i];
16564
16587
  return delete r[i], r[i] = o, r;
16565
- }, F({}, t)) : t;
16588
+ }, N({}, t)) : t;
16566
16589
  }
16567
16590
  function a_(e, t) {
16568
16591
  return t === "@" || t.startsWith("@") && (e.some((n) => t.startsWith(`@${n}`)) || !!t.match(/^@\d/));
@@ -16583,7 +16606,7 @@ function l_(e) {
16583
16606
  };
16584
16607
  }
16585
16608
  const r = {}, i = (o) => (n(r, o), r);
16586
- return n(i), J(F({}, e), {
16609
+ return n(i), J(N({}, e), {
16587
16610
  containerQueries: i
16588
16611
  });
16589
16612
  }
@@ -17479,7 +17502,7 @@ const sk = (e) => {
17479
17502
  key: n,
17480
17503
  val: e[n]
17481
17504
  })) || [];
17482
- return t.sort((n, r) => n.val - r.val), t.reduce((n, r) => J(F({}, n), {
17505
+ return t.sort((n, r) => n.val - r.val), t.reduce((n, r) => J(N({}, n), {
17483
17506
  [r.key]: r.val
17484
17507
  }), {});
17485
17508
  };
@@ -17523,7 +17546,7 @@ function lk(e) {
17523
17546
  const m = a.indexOf(p);
17524
17547
  return m === 0 ? l(a[1]) : m === a.length - 1 ? s(a[m]) : c(p, a[a.indexOf(p) + 1]).replace("@media", "@media not all and");
17525
17548
  }
17526
- return F({
17549
+ return N({
17527
17550
  keys: a,
17528
17551
  values: o,
17529
17552
  up: l,
@@ -17578,13 +17601,13 @@ function Um(e = {}, ...t) {
17578
17601
  direction: "ltr",
17579
17602
  components: {},
17580
17603
  // Inject component definitions.
17581
- palette: F({
17604
+ palette: N({
17582
17605
  mode: "light"
17583
17606
  }, r),
17584
17607
  spacing: s,
17585
- shape: F(F({}, ck), o)
17608
+ shape: N(N({}, ck), o)
17586
17609
  }, a);
17587
- return c = l_(c), c.applyStyles = uk, c = t.reduce((f, h) => rn(f, h), c), c.unstable_sxConfig = F(F({}, Gs), a == null ? void 0 : a.unstable_sxConfig), c.unstable_sx = function(h) {
17610
+ return c = l_(c), c.applyStyles = uk, c = t.reduce((f, h) => rn(f, h), c), c.unstable_sxConfig = N(N({}, Gs), a == null ? void 0 : a.unstable_sxConfig), c.unstable_sx = function(h) {
17588
17611
  return Ii({
17589
17612
  sx: h,
17590
17613
  theme: this
@@ -17641,7 +17664,7 @@ function Wm(e, t, n = []) {
17641
17664
  e: for (let o = 0; o < t.length; o += 1) {
17642
17665
  const a = t[o];
17643
17666
  if (typeof a.props == "function") {
17644
- if (r != null || (r = J(F(F({}, e), e.ownerState), {
17667
+ if (r != null || (r = J(N(N({}, e), e.ownerState), {
17645
17668
  ownerState: e.ownerState
17646
17669
  })), !a.props(r))
17647
17670
  continue;
@@ -17649,7 +17672,7 @@ function Wm(e, t, n = []) {
17649
17672
  for (const l in a.props)
17650
17673
  if (e[l] !== a.props[l] && ((i = e.ownerState) == null ? void 0 : i[l]) !== a.props[l])
17651
17674
  continue e;
17652
- typeof a.style == "function" ? (r != null || (r = J(F(F({}, e), e.ownerState), {
17675
+ typeof a.style == "function" ? (r != null || (r = J(N(N({}, e), e.ownerState), {
17653
17676
  ownerState: e.ownerState
17654
17677
  })), n.push(a.style(r))) : n.push(a.style);
17655
17678
  }
@@ -17688,7 +17711,7 @@ function pk(e = {}) {
17688
17711
  ), v = h || !1;
17689
17712
  let w = El;
17690
17713
  d === "Root" || d === "root" ? w = r : d ? w = i : vk(l) && (w = void 0);
17691
- const x = ok(l, F({
17714
+ const x = ok(l, N({
17692
17715
  shouldForwardProp: w,
17693
17716
  label: gk()
17694
17717
  }, m)), y = (S) => {
@@ -18012,7 +18035,7 @@ function Dk(e, t = {}) {
18012
18035
  return {
18013
18036
  vars: h,
18014
18037
  generateThemeVars: () => {
18015
- let b = F({}, c);
18038
+ let b = N({}, c);
18016
18039
  return Object.entries(p).forEach(([, {
18017
18040
  vars: S
18018
18041
  }]) => {
@@ -18024,10 +18047,10 @@ function Dk(e, t = {}) {
18024
18047
  const b = [], S = e.defaultColorScheme || "light";
18025
18048
  function A(U, W) {
18026
18049
  Object.keys(W).length && b.push(typeof U == "string" ? {
18027
- [U]: F({}, W)
18050
+ [U]: N({}, W)
18028
18051
  } : U);
18029
18052
  }
18030
- A(n(void 0, F({}, d)), d);
18053
+ A(n(void 0, N({}, d)), d);
18031
18054
  const H = p, {
18032
18055
  [S]: _
18033
18056
  } = H, k = Xe(H, [
@@ -18036,19 +18059,19 @@ function Dk(e, t = {}) {
18036
18059
  if (_) {
18037
18060
  const {
18038
18061
  css: U
18039
- } = _, W = (I = (B = o[S]) == null ? void 0 : B.palette) == null ? void 0 : I.mode, $ = F(!r && W ? {
18062
+ } = _, W = (I = (B = o[S]) == null ? void 0 : B.palette) == null ? void 0 : I.mode, $ = N(!r && W ? {
18040
18063
  colorScheme: W
18041
18064
  } : {}, U);
18042
- A(n(S, F({}, $)), $);
18065
+ A(n(S, N({}, $)), $);
18043
18066
  }
18044
18067
  return Object.entries(k).forEach(([U, {
18045
18068
  css: W
18046
18069
  }]) => {
18047
18070
  var M, z;
18048
- const $ = (z = (M = o[U]) == null ? void 0 : M.palette) == null ? void 0 : z.mode, L = F(!r && $ ? {
18071
+ const $ = (z = (M = o[U]) == null ? void 0 : M.palette) == null ? void 0 : z.mode, L = N(!r && $ ? {
18049
18072
  colorScheme: $
18050
18073
  } : {}, W);
18051
- A(n(U, F({}, L)), L);
18074
+ A(n(U, N({}, L)), L);
18052
18075
  }), b;
18053
18076
  }
18054
18077
  };
@@ -18328,16 +18351,16 @@ function ed(e) {
18328
18351
  lightShade: y = 300,
18329
18352
  darkShade: C = 700
18330
18353
  }) => {
18331
- if (v = F({}, v), !v.main && v[x] && (v.main = v[x]), !v.hasOwnProperty("main"))
18354
+ if (v = N({}, v), !v.main && v[x] && (v.main = v[x]), !v.hasOwnProperty("main"))
18332
18355
  throw new Error(Lr(11, w ? ` (${w})` : "", x));
18333
18356
  if (typeof v.main != "string")
18334
18357
  throw new Error(Lr(12, w ? ` (${w})` : "", JSON.stringify(v.main)));
18335
18358
  return Pf(v, "light", y, r), Pf(v, "dark", C, r), v.contrastText || (v.contrastText = f(v.main)), v;
18336
18359
  };
18337
18360
  let p;
18338
- return t === "light" ? p = Ym() : t === "dark" && (p = Km()), rn(F({
18361
+ return t === "light" ? p = Ym() : t === "dark" && (p = Km()), rn(N({
18339
18362
  // A collection of common colors.
18340
- common: F({}, yo),
18363
+ common: N({}, yo),
18341
18364
  // prevent mutable object.
18342
18365
  // The palette mode, can be light or dark.
18343
18366
  mode: t,
@@ -18397,7 +18420,7 @@ function zk(e) {
18397
18420
  }), t;
18398
18421
  }
18399
18422
  function Vk(e, t) {
18400
- return F({
18423
+ return N({
18401
18424
  toolbar: {
18402
18425
  minHeight: 56,
18403
18426
  [e.up("xs")]: {
@@ -18443,7 +18466,7 @@ function Hk(e, t) {
18443
18466
  // Apply the CSS properties to all the variants.
18444
18467
  "allVariants",
18445
18468
  "pxToRem"
18446
- ]), h = r / 14, p = d || ((w) => `${w / s * h}rem`), m = (w, x, y, C, b) => F(F(F({
18469
+ ]), h = r / 14, p = d || ((w) => `${w / s * h}rem`), m = (w, x, y, C, b) => N(N(N({
18447
18470
  fontFamily: n,
18448
18471
  fontWeight: w,
18449
18472
  fontSize: p(x),
@@ -18474,7 +18497,7 @@ function Hk(e, t) {
18474
18497
  letterSpacing: "inherit"
18475
18498
  }
18476
18499
  };
18477
- return rn(F({
18500
+ return rn(N({
18478
18501
  htmlFontSize: s,
18479
18502
  pxToRem: p,
18480
18503
  fontFamily: n,
@@ -18525,8 +18548,8 @@ function Jk(e) {
18525
18548
  return Math.min(Math.round((4 + 15 * zr(t, 0.25) + t / 5) * 10), 3e3);
18526
18549
  }
18527
18550
  function Xk(e) {
18528
- const t = F(F({}, Qk), e.easing), n = F(F({}, qk), e.duration);
18529
- return J(F({
18551
+ const t = N(N({}, Qk), e.easing), n = N(N({}, qk), e.duration);
18552
+ return J(N({
18530
18553
  getAutoHeightDuration: Jk,
18531
18554
  create: (i = ["all"], o = {}) => {
18532
18555
  const d = o, {
@@ -18559,12 +18582,12 @@ function eP(e) {
18559
18582
  return Bn(e) || typeof e == "undefined" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
18560
18583
  }
18561
18584
  function Qm(e = {}) {
18562
- const t = F({}, e);
18585
+ const t = N({}, e);
18563
18586
  function n(r) {
18564
18587
  const i = Object.entries(r);
18565
18588
  for (let o = 0; o < i.length; o++) {
18566
18589
  const [a, l] = i[o];
18567
- !eP(l) || a.startsWith("unstable_") ? delete r[a] : Bn(l) && (r[a] = F({}, l), n(r[a]));
18590
+ !eP(l) || a.startsWith("unstable_") ? delete r[a] : Bn(l) && (r[a] = N({}, l), n(r[a]));
18568
18591
  }
18569
18592
  }
18570
18593
  return n(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
@@ -18604,9 +18627,9 @@ function vc(e = {}, ...t) {
18604
18627
  shadows: Kk.slice(),
18605
18628
  typography: Hk(d, l),
18606
18629
  transitions: Xk(a),
18607
- zIndex: F({}, Zk)
18630
+ zIndex: N({}, Zk)
18608
18631
  });
18609
- return h = rn(h, c), h = t.reduce((m, g) => rn(m, g), h), h.unstable_sxConfig = F(F({}, Gs), c == null ? void 0 : c.unstable_sxConfig), h.unstable_sx = function(g) {
18632
+ return h = rn(h, c), h = t.reduce((m, g) => rn(m, g), h), h.unstable_sxConfig = N(N({}, Gs), c == null ? void 0 : c.unstable_sxConfig), h.unstable_sx = function(g) {
18610
18633
  return Ii({
18611
18634
  sx: g,
18612
18635
  theme: this
@@ -18647,9 +18670,9 @@ function rP(e) {
18647
18670
  "opacity",
18648
18671
  "overlays"
18649
18672
  ]), o = ed(t);
18650
- return F({
18673
+ return N({
18651
18674
  palette: o,
18652
- opacity: F(F({}, qm(o.mode)), n),
18675
+ opacity: N(N({}, qm(o.mode)), n),
18653
18676
  overlays: r || Jm(o.mode)
18654
18677
  }, i);
18655
18678
  }
@@ -18675,7 +18698,7 @@ const oP = (e) => [...[...Array(25)].map((t, n) => `--${e ? `${e}-` : ""}overlay
18675
18698
  [o.replace("%s", t)]: a,
18676
18699
  [`${r}, ${o.replace("%s", t)}`]: n
18677
18700
  } : {
18678
- [r]: F(F({}, n), a)
18701
+ [r]: N(N({}, n), a)
18679
18702
  };
18680
18703
  }
18681
18704
  if (o && o !== "media")
@@ -18722,15 +18745,15 @@ function kl(e, t, n, r) {
18722
18745
  t = t === !0 ? {} : t;
18723
18746
  const i = r === "dark" ? "dark" : "light";
18724
18747
  if (!n) {
18725
- e[r] = rP(J(F({}, t), {
18726
- palette: F({
18748
+ e[r] = rP(J(N({}, t), {
18749
+ palette: N({
18727
18750
  mode: i
18728
18751
  }, t == null ? void 0 : t.palette)
18729
18752
  }));
18730
18753
  return;
18731
18754
  }
18732
- const l = vc(J(F({}, n), {
18733
- palette: F({
18755
+ const l = vc(J(N({}, n), {
18756
+ palette: N({
18734
18757
  mode: i
18735
18758
  }, t == null ? void 0 : t.palette)
18736
18759
  })), {
@@ -18738,9 +18761,9 @@ function kl(e, t, n, r) {
18738
18761
  } = l, a = Xe(l, [
18739
18762
  "palette"
18740
18763
  ]);
18741
- return e[r] = J(F({}, t), {
18764
+ return e[r] = J(N({}, t), {
18742
18765
  palette: o,
18743
- opacity: F(F({}, qm(i)), t == null ? void 0 : t.opacity),
18766
+ opacity: N(N({}, qm(i)), t == null ? void 0 : t.opacity),
18744
18767
  overlays: (t == null ? void 0 : t.overlays) || Jm(i)
18745
18768
  }), a;
18746
18769
  }
@@ -18771,13 +18794,13 @@ function uP(e = {}, ...t) {
18771
18794
  Xo(f),
18772
18795
  "light",
18773
18796
  "dark"
18774
- ]), w = F({}, v);
18797
+ ]), w = N({}, v);
18775
18798
  let x = p;
18776
18799
  if ((f === "dark" && !("dark" in n) || f === "light" && !("light" in n)) && (x = !0), !x)
18777
18800
  throw new Error(Lr(21, f));
18778
18801
  const y = kl(w, x, c, f);
18779
18802
  m && !w.light && kl(w, m, void 0, "light"), g && !w.dark && kl(w, g, void 0, "dark");
18780
- let C = J(F({
18803
+ let C = J(N({
18781
18804
  defaultColorScheme: f
18782
18805
  }, y), {
18783
18806
  cssVarPrefix: o,
@@ -18785,7 +18808,7 @@ function uP(e = {}, ...t) {
18785
18808
  rootSelector: s,
18786
18809
  getCssVar: h,
18787
18810
  colorSchemes: w,
18788
- font: F(F({}, zk(y.typography)), y.font),
18811
+ font: N(N({}, zk(y.typography)), y.font),
18789
18812
  spacing: lP(c.spacing)
18790
18813
  });
18791
18814
  Object.keys(C.colorSchemes).forEach((B) => {
@@ -18822,7 +18845,7 @@ function uP(e = {}, ...t) {
18822
18845
  C[B] = I;
18823
18846
  }), C.generateThemeVars = A, C.generateStyleSheets = _, C.generateSpacing = function() {
18824
18847
  return Vm(c.spacing, Qu(this));
18825
- }, C.getColorSchemeSelector = Rk(l), C.spacing = C.generateSpacing(), C.shouldSkipGeneratingVar = a, C.unstable_sxConfig = F(F({}, Gs), c == null ? void 0 : c.unstable_sxConfig), C.unstable_sx = function(I) {
18848
+ }, C.getColorSchemeSelector = Rk(l), C.spacing = C.generateSpacing(), C.shouldSkipGeneratingVar = a, C.unstable_sxConfig = N(N({}, Gs), c == null ? void 0 : c.unstable_sxConfig), C.unstable_sx = function(I) {
18826
18849
  return Ii({
18827
18850
  sx: I,
18828
18851
  theme: this
@@ -18830,8 +18853,8 @@ function uP(e = {}, ...t) {
18830
18853
  }, C.toRuntimeSource = Qm, C;
18831
18854
  }
18832
18855
  function Mf(e, t, n) {
18833
- e.colorSchemes && n && (e.colorSchemes[t] = J(F({}, n !== !0 && n), {
18834
- palette: ed(J(F({}, n === !0 ? {} : n.palette), {
18856
+ e.colorSchemes && n && (e.colorSchemes[t] = J(N({}, n !== !0 && n), {
18857
+ palette: ed(J(N({}, n === !0 ? {} : n.palette), {
18835
18858
  mode: t
18836
18859
  }))
18837
18860
  // cast type to skip module augmentation test
@@ -18850,8 +18873,8 @@ function dP(e = {}, ...t) {
18850
18873
  "cssVariables",
18851
18874
  "colorSchemes",
18852
18875
  "defaultColorScheme"
18853
- ]), l = o || "light", s = i == null ? void 0 : i[l], c = F(F({}, i), n ? {
18854
- [l]: J(F({}, typeof s != "boolean" && s), {
18876
+ ]), l = o || "light", s = i == null ? void 0 : i[l], c = N(N({}, i), n ? {
18877
+ [l]: J(N({}, typeof s != "boolean" && s), {
18855
18878
  palette: n
18856
18879
  })
18857
18880
  } : void 0);
@@ -18862,16 +18885,16 @@ function dP(e = {}, ...t) {
18862
18885
  "palette" in e || c[l] && (c[l] !== !0 ? f = c[l].palette : l === "dark" && (f = {
18863
18886
  mode: "dark"
18864
18887
  }));
18865
- const h = vc(J(F({}, e), {
18888
+ const h = vc(J(N({}, e), {
18866
18889
  palette: f
18867
18890
  }), ...t);
18868
- return h.defaultColorScheme = l, h.colorSchemes = c, h.palette.mode === "light" && (h.colorSchemes.light = J(F({}, c.light !== !0 && c.light), {
18891
+ return h.defaultColorScheme = l, h.colorSchemes = c, h.palette.mode === "light" && (h.colorSchemes.light = J(N({}, c.light !== !0 && c.light), {
18869
18892
  palette: h.palette
18870
- }), Mf(h, "dark", c.dark)), h.palette.mode === "dark" && (h.colorSchemes.dark = J(F({}, c.dark !== !0 && c.dark), {
18893
+ }), Mf(h, "dark", c.dark)), h.palette.mode === "dark" && (h.colorSchemes.dark = J(N({}, c.dark !== !0 && c.dark), {
18871
18894
  palette: h.palette
18872
18895
  }), Mf(h, "light", c.light)), h;
18873
18896
  }
18874
- return !n && !("light" in c) && l === "light" && (c.light = !0), uP(F(J(F({}, a), {
18897
+ return !n && !("light" in c) && l === "light" && (c.light = !0), uP(N(J(N({}, a), {
18875
18898
  colorSchemes: c,
18876
18899
  defaultColorScheme: l
18877
18900
  }), typeof r != "boolean" && r), ...t);
@@ -19026,7 +19049,7 @@ const CP = (e) => {
19026
19049
  "inheritViewBox",
19027
19050
  "titleAccess",
19028
19051
  "viewBox"
19029
- ]), m = /* @__PURE__ */ V.isValidElement(i) && i.type === "svg", g = J(F({}, r), {
19052
+ ]), m = /* @__PURE__ */ V.isValidElement(i) && i.type === "svg", g = J(N({}, r), {
19030
19053
  color: a,
19031
19054
  component: l,
19032
19055
  fontSize: s,
@@ -19037,7 +19060,7 @@ const CP = (e) => {
19037
19060
  }), v = {};
19038
19061
  d || (v.viewBox = h);
19039
19062
  const w = CP(g);
19040
- return /* @__PURE__ */ u.jsxs(xP, J(F(F(F({
19063
+ return /* @__PURE__ */ u.jsxs(xP, J(N(N(N({
19041
19064
  as: l,
19042
19065
  className: Qn(w.root, o),
19043
19066
  focusable: "false",
@@ -19055,7 +19078,7 @@ const CP = (e) => {
19055
19078
  bc.muiName = "SvgIcon";
19056
19079
  function Qe(e, t) {
19057
19080
  function n(r, i) {
19058
- return /* @__PURE__ */ u.jsx(bc, J(F({
19081
+ return /* @__PURE__ */ u.jsx(bc, J(N({
19059
19082
  "data-testid": `${t}Icon`,
19060
19083
  ref: i
19061
19084
  }, r), {
@@ -19700,7 +19723,7 @@ const RP = (e) => (t) => {
19700
19723
  internalForwardedProps: f,
19701
19724
  externalForwardedProps: Y,
19702
19725
  ownerState: M
19703
- })), [N, ee] = Ee("startDecorator", {
19726
+ })), [F, ee] = Ee("startDecorator", {
19704
19727
  className: z.startDecorator,
19705
19728
  elementType: VP,
19706
19729
  externalForwardedProps: Y,
@@ -19712,7 +19735,7 @@ const RP = (e) => (t) => {
19712
19735
  ownerState: M
19713
19736
  });
19714
19737
  return /* @__PURE__ */ u.jsxs(Z, P({}, D, {
19715
- children: [_ && /* @__PURE__ */ u.jsx(N, P({}, ee, {
19738
+ children: [_ && /* @__PURE__ */ u.jsx(F, P({}, ee, {
19716
19739
  children: _
19717
19740
  })), /* @__PURE__ */ u.jsx(O, P({}, j)), k && /* @__PURE__ */ u.jsx(ae, P({}, oe, {
19718
19741
  children: k
@@ -20206,7 +20229,7 @@ const tD = ct("MuiButton", ["root", "colorPrimary", "colorNeutral", "colorDanger
20206
20229
  onClick: Y,
20207
20230
  "aria-pressed": Z
20208
20231
  }
20209
- }), [N, ee] = Ee("startDecorator", {
20232
+ }), [F, ee] = Ee("startDecorator", {
20210
20233
  className: z.startDecorator,
20211
20234
  elementType: iD,
20212
20235
  externalForwardedProps: D,
@@ -20223,7 +20246,7 @@ const tD = ct("MuiButton", ["root", "colorPrimary", "colorNeutral", "colorDanger
20223
20246
  ownerState: M
20224
20247
  });
20225
20248
  return /* @__PURE__ */ u.jsxs(O, P({}, j, {
20226
- children: [(f || p && m === "start") && /* @__PURE__ */ u.jsx(N, P({}, ee, {
20249
+ children: [(f || p && m === "start") && /* @__PURE__ */ u.jsx(F, P({}, ee, {
20227
20250
  children: p && m === "start" ? L : f
20228
20251
  })), o, p && m === "center" && /* @__PURE__ */ u.jsx(q, P({}, se, {
20229
20252
  children: L
@@ -20767,8 +20790,8 @@ function rd() {
20767
20790
  var x = v + w, y = g[x];
20768
20791
  g[x] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360;
20769
20792
  }
20770
- var C = this._hash.words, b = g[v + 0], S = g[v + 1], A = g[v + 2], _ = g[v + 3], k = g[v + 4], H = g[v + 5], B = g[v + 6], I = g[v + 7], U = g[v + 8], W = g[v + 9], $ = g[v + 10], L = g[v + 11], M = g[v + 12], z = g[v + 13], Y = g[v + 14], Z = g[v + 15], D = C[0], O = C[1], j = C[2], N = C[3];
20771
- D = f(D, O, j, N, b, 7, c[0]), N = f(N, D, O, j, S, 12, c[1]), j = f(j, N, D, O, A, 17, c[2]), O = f(O, j, N, D, _, 22, c[3]), D = f(D, O, j, N, k, 7, c[4]), N = f(N, D, O, j, H, 12, c[5]), j = f(j, N, D, O, B, 17, c[6]), O = f(O, j, N, D, I, 22, c[7]), D = f(D, O, j, N, U, 7, c[8]), N = f(N, D, O, j, W, 12, c[9]), j = f(j, N, D, O, $, 17, c[10]), O = f(O, j, N, D, L, 22, c[11]), D = f(D, O, j, N, M, 7, c[12]), N = f(N, D, O, j, z, 12, c[13]), j = f(j, N, D, O, Y, 17, c[14]), O = f(O, j, N, D, Z, 22, c[15]), D = h(D, O, j, N, S, 5, c[16]), N = h(N, D, O, j, B, 9, c[17]), j = h(j, N, D, O, L, 14, c[18]), O = h(O, j, N, D, b, 20, c[19]), D = h(D, O, j, N, H, 5, c[20]), N = h(N, D, O, j, $, 9, c[21]), j = h(j, N, D, O, Z, 14, c[22]), O = h(O, j, N, D, k, 20, c[23]), D = h(D, O, j, N, W, 5, c[24]), N = h(N, D, O, j, Y, 9, c[25]), j = h(j, N, D, O, _, 14, c[26]), O = h(O, j, N, D, U, 20, c[27]), D = h(D, O, j, N, z, 5, c[28]), N = h(N, D, O, j, A, 9, c[29]), j = h(j, N, D, O, I, 14, c[30]), O = h(O, j, N, D, M, 20, c[31]), D = p(D, O, j, N, H, 4, c[32]), N = p(N, D, O, j, U, 11, c[33]), j = p(j, N, D, O, L, 16, c[34]), O = p(O, j, N, D, Y, 23, c[35]), D = p(D, O, j, N, S, 4, c[36]), N = p(N, D, O, j, k, 11, c[37]), j = p(j, N, D, O, I, 16, c[38]), O = p(O, j, N, D, $, 23, c[39]), D = p(D, O, j, N, z, 4, c[40]), N = p(N, D, O, j, b, 11, c[41]), j = p(j, N, D, O, _, 16, c[42]), O = p(O, j, N, D, B, 23, c[43]), D = p(D, O, j, N, W, 4, c[44]), N = p(N, D, O, j, M, 11, c[45]), j = p(j, N, D, O, Z, 16, c[46]), O = p(O, j, N, D, A, 23, c[47]), D = m(D, O, j, N, b, 6, c[48]), N = m(N, D, O, j, I, 10, c[49]), j = m(j, N, D, O, Y, 15, c[50]), O = m(O, j, N, D, H, 21, c[51]), D = m(D, O, j, N, M, 6, c[52]), N = m(N, D, O, j, _, 10, c[53]), j = m(j, N, D, O, $, 15, c[54]), O = m(O, j, N, D, S, 21, c[55]), D = m(D, O, j, N, U, 6, c[56]), N = m(N, D, O, j, Z, 10, c[57]), j = m(j, N, D, O, B, 15, c[58]), O = m(O, j, N, D, z, 21, c[59]), D = m(D, O, j, N, k, 6, c[60]), N = m(N, D, O, j, L, 10, c[61]), j = m(j, N, D, O, A, 15, c[62]), O = m(O, j, N, D, W, 21, c[63]), C[0] = C[0] + D | 0, C[1] = C[1] + O | 0, C[2] = C[2] + j | 0, C[3] = C[3] + N | 0;
20793
+ var C = this._hash.words, b = g[v + 0], S = g[v + 1], A = g[v + 2], _ = g[v + 3], k = g[v + 4], H = g[v + 5], B = g[v + 6], I = g[v + 7], U = g[v + 8], W = g[v + 9], $ = g[v + 10], L = g[v + 11], M = g[v + 12], z = g[v + 13], Y = g[v + 14], Z = g[v + 15], D = C[0], O = C[1], j = C[2], F = C[3];
20794
+ D = f(D, O, j, F, b, 7, c[0]), F = f(F, D, O, j, S, 12, c[1]), j = f(j, F, D, O, A, 17, c[2]), O = f(O, j, F, D, _, 22, c[3]), D = f(D, O, j, F, k, 7, c[4]), F = f(F, D, O, j, H, 12, c[5]), j = f(j, F, D, O, B, 17, c[6]), O = f(O, j, F, D, I, 22, c[7]), D = f(D, O, j, F, U, 7, c[8]), F = f(F, D, O, j, W, 12, c[9]), j = f(j, F, D, O, $, 17, c[10]), O = f(O, j, F, D, L, 22, c[11]), D = f(D, O, j, F, M, 7, c[12]), F = f(F, D, O, j, z, 12, c[13]), j = f(j, F, D, O, Y, 17, c[14]), O = f(O, j, F, D, Z, 22, c[15]), D = h(D, O, j, F, S, 5, c[16]), F = h(F, D, O, j, B, 9, c[17]), j = h(j, F, D, O, L, 14, c[18]), O = h(O, j, F, D, b, 20, c[19]), D = h(D, O, j, F, H, 5, c[20]), F = h(F, D, O, j, $, 9, c[21]), j = h(j, F, D, O, Z, 14, c[22]), O = h(O, j, F, D, k, 20, c[23]), D = h(D, O, j, F, W, 5, c[24]), F = h(F, D, O, j, Y, 9, c[25]), j = h(j, F, D, O, _, 14, c[26]), O = h(O, j, F, D, U, 20, c[27]), D = h(D, O, j, F, z, 5, c[28]), F = h(F, D, O, j, A, 9, c[29]), j = h(j, F, D, O, I, 14, c[30]), O = h(O, j, F, D, M, 20, c[31]), D = p(D, O, j, F, H, 4, c[32]), F = p(F, D, O, j, U, 11, c[33]), j = p(j, F, D, O, L, 16, c[34]), O = p(O, j, F, D, Y, 23, c[35]), D = p(D, O, j, F, S, 4, c[36]), F = p(F, D, O, j, k, 11, c[37]), j = p(j, F, D, O, I, 16, c[38]), O = p(O, j, F, D, $, 23, c[39]), D = p(D, O, j, F, z, 4, c[40]), F = p(F, D, O, j, b, 11, c[41]), j = p(j, F, D, O, _, 16, c[42]), O = p(O, j, F, D, B, 23, c[43]), D = p(D, O, j, F, W, 4, c[44]), F = p(F, D, O, j, M, 11, c[45]), j = p(j, F, D, O, Z, 16, c[46]), O = p(O, j, F, D, A, 23, c[47]), D = m(D, O, j, F, b, 6, c[48]), F = m(F, D, O, j, I, 10, c[49]), j = m(j, F, D, O, Y, 15, c[50]), O = m(O, j, F, D, H, 21, c[51]), D = m(D, O, j, F, M, 6, c[52]), F = m(F, D, O, j, _, 10, c[53]), j = m(j, F, D, O, $, 15, c[54]), O = m(O, j, F, D, S, 21, c[55]), D = m(D, O, j, F, U, 6, c[56]), F = m(F, D, O, j, Z, 10, c[57]), j = m(j, F, D, O, B, 15, c[58]), O = m(O, j, F, D, z, 21, c[59]), D = m(D, O, j, F, k, 6, c[60]), F = m(F, D, O, j, L, 10, c[61]), j = m(j, F, D, O, A, 15, c[62]), O = m(O, j, F, D, W, 21, c[63]), C[0] = C[0] + D | 0, C[1] = C[1] + O | 0, C[2] = C[2] + j | 0, C[3] = C[3] + F | 0;
20772
20795
  },
20773
20796
  _doFinalize: function() {
20774
20797
  var g = this._data, v = g.words, w = this._nDataBytes * 8, x = g.sigBytes * 8;
@@ -20907,7 +20930,7 @@ var gD = sv.exports;
20907
20930
  const mD = /* @__PURE__ */ Ln(gD);
20908
20931
  class lv {
20909
20932
  constructor() {
20910
- ie(this, "readFileAndHash", (t) => new Promise((n, r) => {
20933
+ re(this, "readFileAndHash", (t) => new Promise((n, r) => {
20911
20934
  const i = new FileReader();
20912
20935
  i.onload = (o) => {
20913
20936
  const a = o.target.result, l = Nf.create(new Uint8Array(a)), c = Bf(l).toString(mD);
@@ -20916,7 +20939,7 @@ class lv {
20916
20939
  r(o);
20917
20940
  }, i.readAsArrayBuffer(t);
20918
20941
  }));
20919
- ie(this, "generateHashFileName", (t) => new Promise((n, r) => {
20942
+ re(this, "generateHashFileName", (t) => new Promise((n, r) => {
20920
20943
  const i = new FileReader();
20921
20944
  i.onload = (o) => {
20922
20945
  const a = o.target.result, l = Nf.create(new Uint8Array(a)), s = Bf(l).toString();
@@ -21110,7 +21133,7 @@ const cv = ({ title: e, open: t, imageSrc: n, toggleModal: r }) => /* @__PURE__
21110
21133
  const y = () => c(!s), C = () => f((k) => k - 1), b = () => f((k) => k + 1), S = () => E(void 0, null, function* () {
21111
21134
  if (h) {
21112
21135
  o(!0);
21113
- const k = m ? F({}, m) : null, H = yield x.fetchImagesFromSportal365(h, k, d);
21136
+ const k = m ? N({}, m) : null, H = yield x.fetchImagesFromSportal365(h, k, d);
21114
21137
  if (H) {
21115
21138
  const B = yield H.json();
21116
21139
  H.ok ? (w(B.data), f(B.meta.pagination.current_page)) : (console.error(B), y());
@@ -21121,7 +21144,7 @@ const cv = ({ title: e, open: t, imageSrc: n, toggleModal: r }) => /* @__PURE__
21121
21144
  }), A = () => E(void 0, null, function* () {
21122
21145
  if (h) {
21123
21146
  l(!0), w([]);
21124
- const k = m && m.from && m.to ? F({}, m) : null, H = yield x.fetchImagesFromSportal365(h, k, d);
21147
+ const k = m && m.from && m.to ? N({}, m) : null, H = yield x.fetchImagesFromSportal365(h, k, d);
21125
21148
  if (H) {
21126
21149
  const B = yield H.json();
21127
21150
  H.ok ? (w(B.data), f(B.meta.pagination.current_page)) : (console.error(B), y());
@@ -21129,7 +21152,7 @@ const cv = ({ title: e, open: t, imageSrc: n, toggleModal: r }) => /* @__PURE__
21129
21152
  l(!1);
21130
21153
  }
21131
21154
  }), _ = (k, H) => {
21132
- g((B) => B ? J(F({}, B), { [H]: k }) : { [H]: k });
21155
+ g((B) => B ? J(N({}, B), { [H]: k }) : { [H]: k });
21133
21156
  };
21134
21157
  return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
21135
21158
  /* @__PURE__ */ u.jsxs(fe, { sx: { marginBottom: "10px" }, children: [
@@ -22061,9 +22084,9 @@ const xv = ({ labels: e, open: t, imageSrc: n, resetDefaultImageUrl: r, toggleMo
22061
22084
  base64_sum: Z
22062
22085
  }, j = yield A == null ? void 0 : A.https.generateSignedInUrl(O);
22063
22086
  if (j != null && j.ok) {
22064
- const N = yield j.json(), ee = { "Content-Type": z.type, "Content-MD5": Z };
22087
+ const F = yield j.json(), ee = { "Content-Type": z.type, "Content-MD5": Z };
22065
22088
  try {
22066
- const ae = new File([z], D, { type: z.type }), oe = yield A == null ? void 0 : A.https.storeInBucket(N.data.signed_url, ae, ee);
22089
+ const ae = new File([z], D, { type: z.type }), oe = yield A == null ? void 0 : A.https.storeInBucket(F.data.signed_url, ae, ee);
22067
22090
  r(oe || ""), x(oe), k("upload_success");
22068
22091
  } catch (ae) {
22069
22092
  console.error("There was a problem with uploading the file: ", ae), k("upload_failed");
@@ -22086,9 +22109,9 @@ const xv = ({ labels: e, open: t, imageSrc: n, resetDefaultImageUrl: r, toggleMo
22086
22109
  base64_sum: Y
22087
22110
  }, O = yield A == null ? void 0 : A.https.generateSignedInUrl(D);
22088
22111
  if (O != null && O.ok) {
22089
- const j = yield O.json(), N = { "Content-Type": M.type, "Content-MD5": Y };
22112
+ const j = yield O.json(), F = { "Content-Type": M.type, "Content-MD5": Y };
22090
22113
  try {
22091
- const ee = new File([M], Z, { type: M.type }), ae = yield A == null ? void 0 : A.https.storeInBucket(j.data.signed_url, ee, N);
22114
+ const ee = new File([M], Z, { type: M.type }), ae = yield A == null ? void 0 : A.https.storeInBucket(j.data.signed_url, ee, F);
22092
22115
  r(ae || ""), k("upload_success");
22093
22116
  } catch (ee) {
22094
22117
  console.error("There was a problem with uploading the file: ", ee), k("upload_failed");
@@ -22821,7 +22844,7 @@ function lR(e, t) {
22821
22844
  config: $t($t({}, di), gt.defaultConfig),
22822
22845
  l10n: Io
22823
22846
  };
22824
- n.parseDate = Ec({ config: n.config, l10n: n.l10n }), n._handlers = [], n.pluginElements = [], n.loadedPlugins = [], n._bind = g, n._setHoursFromDate = h, n._positionCalendar = Ce, n.changeMonth = D, n.changeYear = oe, n.clear = O, n.close = j, n.onMouseOver = _e, n._createElement = Be, n.createDay = S, n.destroy = N, n.isEnabled = q, n.jumpToDate = x, n.updateValue = vn, n.open = kt, n.redraw = Oe, n.set = Vt, n.setDate = Qt, n.toggle = al;
22847
+ n.parseDate = Ec({ config: n.config, l10n: n.l10n }), n._handlers = [], n.pluginElements = [], n.loadedPlugins = [], n._bind = g, n._setHoursFromDate = h, n._positionCalendar = Ce, n.changeMonth = D, n.changeYear = oe, n.clear = O, n.close = j, n.onMouseOver = _e, n._createElement = Be, n.createDay = S, n.destroy = F, n.isEnabled = q, n.jumpToDate = x, n.updateValue = vn, n.open = kt, n.redraw = Oe, n.set = Vt, n.setDate = Qt, n.toggle = al;
22825
22848
  function r() {
22826
22849
  n.utils = {
22827
22850
  getDaysInMonth: function(T, R) {
@@ -23146,7 +23169,7 @@ function lR(e, t) {
23146
23169
  function j() {
23147
23170
  n.isOpen = !1, n.isMobile || (n.calendarContainer !== void 0 && n.calendarContainer.classList.remove("open"), n._input !== void 0 && n._input.classList.remove("active")), Ve("onClose");
23148
23171
  }
23149
- function N() {
23172
+ function F() {
23150
23173
  n.config !== void 0 && Ve("onDestroy");
23151
23174
  for (var T = n._handlers.length; T--; )
23152
23175
  n._handlers[T].remove();
@@ -23768,10 +23791,10 @@ const cR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23768
23791
  var O = a();
23769
23792
  if (O && O.has(D))
23770
23793
  return O.get(D);
23771
- var j = {}, N = Object.defineProperty && Object.getOwnPropertyDescriptor;
23794
+ var j = {}, F = Object.defineProperty && Object.getOwnPropertyDescriptor;
23772
23795
  for (var ee in D)
23773
23796
  if (Object.prototype.hasOwnProperty.call(D, ee)) {
23774
- var ae = N ? Object.getOwnPropertyDescriptor(D, ee) : null;
23797
+ var ae = F ? Object.getOwnPropertyDescriptor(D, ee) : null;
23775
23798
  ae && (ae.get || ae.set) ? Object.defineProperty(j, ee, ae) : j[ee] = D[ee];
23776
23799
  }
23777
23800
  return j.default = D, O && O.set(D, j), j;
@@ -23799,54 +23822,54 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23799
23822
  }
23800
23823
  function p(D, O) {
23801
23824
  (O == null || O > D.length) && (O = D.length);
23802
- for (var j = 0, N = new Array(O); j < O; j++)
23803
- N[j] = D[j];
23804
- return N;
23825
+ for (var j = 0, F = new Array(O); j < O; j++)
23826
+ F[j] = D[j];
23827
+ return F;
23805
23828
  }
23806
23829
  function m() {
23807
23830
  return m = Object.assign || function(D) {
23808
23831
  for (var O = 1; O < arguments.length; O++) {
23809
23832
  var j = arguments[O];
23810
- for (var N in j)
23811
- Object.prototype.hasOwnProperty.call(j, N) && (D[N] = j[N]);
23833
+ for (var F in j)
23834
+ Object.prototype.hasOwnProperty.call(j, F) && (D[F] = j[F]);
23812
23835
  }
23813
23836
  return D;
23814
23837
  }, m.apply(this, arguments);
23815
23838
  }
23816
23839
  function g(D, O) {
23817
23840
  if (D == null) return {};
23818
- var j = v(D, O), N, ee;
23841
+ var j = v(D, O), F, ee;
23819
23842
  if (Object.getOwnPropertySymbols) {
23820
23843
  var ae = Object.getOwnPropertySymbols(D);
23821
23844
  for (ee = 0; ee < ae.length; ee++)
23822
- N = ae[ee], !(O.indexOf(N) >= 0) && Object.prototype.propertyIsEnumerable.call(D, N) && (j[N] = D[N]);
23845
+ F = ae[ee], !(O.indexOf(F) >= 0) && Object.prototype.propertyIsEnumerable.call(D, F) && (j[F] = D[F]);
23823
23846
  }
23824
23847
  return j;
23825
23848
  }
23826
23849
  function v(D, O) {
23827
23850
  if (D == null) return {};
23828
- var j = {}, N = Object.keys(D), ee, ae;
23829
- for (ae = 0; ae < N.length; ae++)
23830
- ee = N[ae], !(O.indexOf(ee) >= 0) && (j[ee] = D[ee]);
23851
+ var j = {}, F = Object.keys(D), ee, ae;
23852
+ for (ae = 0; ae < F.length; ae++)
23853
+ ee = F[ae], !(O.indexOf(ee) >= 0) && (j[ee] = D[ee]);
23831
23854
  return j;
23832
23855
  }
23833
23856
  function w(D, O) {
23834
23857
  var j = Object.keys(D);
23835
23858
  if (Object.getOwnPropertySymbols) {
23836
- var N = Object.getOwnPropertySymbols(D);
23837
- O && (N = N.filter(function(ee) {
23859
+ var F = Object.getOwnPropertySymbols(D);
23860
+ O && (F = F.filter(function(ee) {
23838
23861
  return Object.getOwnPropertyDescriptor(D, ee).enumerable;
23839
- })), j.push.apply(j, N);
23862
+ })), j.push.apply(j, F);
23840
23863
  }
23841
23864
  return j;
23842
23865
  }
23843
23866
  function x(D) {
23844
23867
  for (var O = 1; O < arguments.length; O++) {
23845
23868
  var j = arguments[O] != null ? arguments[O] : {};
23846
- O % 2 ? w(Object(j), !0).forEach(function(N) {
23847
- U(D, N, j[N]);
23848
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(D, Object.getOwnPropertyDescriptors(j)) : w(Object(j)).forEach(function(N) {
23849
- Object.defineProperty(D, N, Object.getOwnPropertyDescriptor(j, N));
23869
+ O % 2 ? w(Object(j), !0).forEach(function(F) {
23870
+ U(D, F, j[F]);
23871
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(D, Object.getOwnPropertyDescriptors(j)) : w(Object(j)).forEach(function(F) {
23872
+ Object.defineProperty(D, F, Object.getOwnPropertyDescriptor(j, F));
23850
23873
  });
23851
23874
  }
23852
23875
  return D;
@@ -23857,8 +23880,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23857
23880
  }
23858
23881
  function C(D, O) {
23859
23882
  for (var j = 0; j < O.length; j++) {
23860
- var N = O[j];
23861
- N.enumerable = N.enumerable || !1, N.configurable = !0, "value" in N && (N.writable = !0), Object.defineProperty(D, N.key, N);
23883
+ var F = O[j];
23884
+ F.enumerable = F.enumerable || !1, F.configurable = !0, "value" in F && (F.writable = !0), Object.defineProperty(D, F.key, F);
23862
23885
  }
23863
23886
  }
23864
23887
  function b(D, O, j) {
@@ -23870,19 +23893,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23870
23893
  D.prototype = Object.create(O && O.prototype, { constructor: { value: D, writable: !0, configurable: !0 } }), O && A(D, O);
23871
23894
  }
23872
23895
  function A(D, O) {
23873
- return A = Object.setPrototypeOf || function(N, ee) {
23874
- return N.__proto__ = ee, N;
23896
+ return A = Object.setPrototypeOf || function(F, ee) {
23897
+ return F.__proto__ = ee, F;
23875
23898
  }, A(D, O);
23876
23899
  }
23877
23900
  function _(D) {
23878
23901
  var O = B();
23879
23902
  return function() {
23880
- var N = I(D), ee;
23903
+ var F = I(D), ee;
23881
23904
  if (O) {
23882
23905
  var ae = I(this).constructor;
23883
- ee = Reflect.construct(N, arguments, ae);
23906
+ ee = Reflect.construct(F, arguments, ae);
23884
23907
  } else
23885
- ee = N.apply(this, arguments);
23908
+ ee = F.apply(this, arguments);
23886
23909
  return k(this, ee);
23887
23910
  };
23888
23911
  }
@@ -23916,25 +23939,25 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23916
23939
  S(j, D);
23917
23940
  var O = _(j);
23918
23941
  function j() {
23919
- var N;
23942
+ var F;
23920
23943
  y(this, j);
23921
23944
  for (var ee = arguments.length, ae = new Array(ee), oe = 0; oe < ee; oe++)
23922
23945
  ae[oe] = arguments[oe];
23923
- return N = O.call.apply(O, [this].concat(ae)), U(H(N), "createFlatpickrInstance", function() {
23946
+ return F = O.call.apply(O, [this].concat(ae)), U(H(F), "createFlatpickrInstance", function() {
23924
23947
  var q = x({
23925
23948
  onClose: function() {
23926
- N.node.blur && N.node.blur();
23949
+ F.node.blur && F.node.blur();
23927
23950
  }
23928
- }, N.props.options);
23929
- q = Y(q, N.props), N.flatpickr = (0, i.default)(N.node, q), N.props.hasOwnProperty("value") && N.flatpickr.setDate(N.props.value, !1);
23930
- var se = N.props.onCreate;
23931
- se && se(N.flatpickr);
23932
- }), U(H(N), "destroyFlatpickrInstance", function() {
23933
- var q = N.props.onDestroy;
23934
- q && q(N.flatpickr), N.flatpickr.destroy(), N.flatpickr = null;
23935
- }), U(H(N), "handleNodeChange", function(q) {
23936
- N.node = q, N.flatpickr && (N.destroyFlatpickrInstance(), N.createFlatpickrInstance());
23937
- }), N;
23951
+ }, F.props.options);
23952
+ q = Y(q, F.props), F.flatpickr = (0, i.default)(F.node, q), F.props.hasOwnProperty("value") && F.flatpickr.setDate(F.props.value, !1);
23953
+ var se = F.props.onCreate;
23954
+ se && se(F.flatpickr);
23955
+ }), U(H(F), "destroyFlatpickrInstance", function() {
23956
+ var q = F.props.onDestroy;
23957
+ q && q(F.flatpickr), F.flatpickr.destroy(), F.flatpickr = null;
23958
+ }), U(H(F), "handleNodeChange", function(q) {
23959
+ F.node = q, F.flatpickr && (F.destroyFlatpickrInstance(), F.createFlatpickrInstance());
23960
+ }), F;
23938
23961
  }
23939
23962
  return b(j, [{
23940
23963
  key: "componentDidUpdate",
@@ -24001,12 +24024,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
24001
24024
  });
24002
24025
  function Y(D, O) {
24003
24026
  var j = x({}, D);
24004
- return W.forEach(function(N) {
24005
- if (O.hasOwnProperty(N)) {
24027
+ return W.forEach(function(F) {
24028
+ if (O.hasOwnProperty(F)) {
24006
24029
  var ee;
24007
- j[N] && !Array.isArray(j[N]) ? j[N] = [j[N]] : j[N] || (j[N] = []);
24008
- var ae = Array.isArray(O[N]) ? O[N] : [O[N]];
24009
- (ee = j[N]).push.apply(ee, s(ae));
24030
+ j[F] && !Array.isArray(j[F]) ? j[F] = [j[F]] : j[F] || (j[F] = []);
24031
+ var ae = Array.isArray(O[F]) ? O[F] : [O[F]];
24032
+ (ee = j[F]).push.apply(ee, s(ae));
24010
24033
  }
24011
24034
  }), j;
24012
24035
  }
@@ -24109,15 +24132,15 @@ var _v = { exports: {} };
24109
24132
  return Y ? pe : pe.endOf(c);
24110
24133
  }, O = function(se, te) {
24111
24134
  return B.w(z.toDate()[se].apply(z.toDate("s"), (Y ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(te)), z);
24112
- }, j = this.$W, N = this.$M, ee = this.$D, ae = "set" + (this.$u ? "UTC" : "");
24135
+ }, j = this.$W, F = this.$M, ee = this.$D, ae = "set" + (this.$u ? "UTC" : "");
24113
24136
  switch (Z) {
24114
24137
  case p:
24115
24138
  return Y ? D(1, 0) : D(31, 11);
24116
24139
  case f:
24117
- return Y ? D(1, N) : D(0, N + 1);
24140
+ return Y ? D(1, F) : D(0, F + 1);
24118
24141
  case d:
24119
24142
  var oe = this.$locale().weekStart || 0, q = (j < oe ? j + 7 : j) - oe;
24120
- return D(Y ? ee - q : ee + (6 - q), N);
24143
+ return D(Y ? ee - q : ee + (6 - q), F);
24121
24144
  case c:
24122
24145
  case m:
24123
24146
  return O(ae + "Hours", 0);
@@ -24146,9 +24169,9 @@ var _v = { exports: {} };
24146
24169
  }, $.add = function(L, M) {
24147
24170
  var z, Y = this;
24148
24171
  L = Number(L);
24149
- var Z = B.p(M), D = function(N) {
24172
+ var Z = B.p(M), D = function(F) {
24150
24173
  var ee = H(Y);
24151
- return B.w(ee.date(ee.date() + Math.round(N * L)), Y);
24174
+ return B.w(ee.date(ee.date() + Math.round(F * L)), Y);
24152
24175
  };
24153
24176
  if (Z === f) return this.set(f, this.$M + L);
24154
24177
  if (Z === p) return this.set(p, this.$y + L);
@@ -24161,7 +24184,7 @@ var _v = { exports: {} };
24161
24184
  }, $.format = function(L) {
24162
24185
  var M = this, z = this.$locale();
24163
24186
  if (!this.isValid()) return z.invalidDate || g;
24164
- var Y = L || "YYYY-MM-DDTHH:mm:ssZ", Z = B.z(this), D = this.$H, O = this.$m, j = this.$M, N = z.weekdays, ee = z.months, ae = z.meridiem, oe = function(te, pe, _e, qe) {
24187
+ var Y = L || "YYYY-MM-DDTHH:mm:ssZ", Z = B.z(this), D = this.$H, O = this.$m, j = this.$M, F = z.weekdays, ee = z.months, ae = z.meridiem, oe = function(te, pe, _e, qe) {
24165
24188
  return te && (te[pe] || te(M, Y)) || _e[pe].slice(0, qe);
24166
24189
  }, q = function(te) {
24167
24190
  return B.s(D % 12 || 12, te, "0");
@@ -24191,11 +24214,11 @@ var _v = { exports: {} };
24191
24214
  case "d":
24192
24215
  return String(M.$W);
24193
24216
  case "dd":
24194
- return oe(z.weekdaysMin, M.$W, N, 2);
24217
+ return oe(z.weekdaysMin, M.$W, F, 2);
24195
24218
  case "ddd":
24196
- return oe(z.weekdaysShort, M.$W, N, 3);
24219
+ return oe(z.weekdaysShort, M.$W, F, 3);
24197
24220
  case "dddd":
24198
- return N[M.$W];
24221
+ return F[M.$W];
24199
24222
  case "H":
24200
24223
  return String(D);
24201
24224
  case "HH":
@@ -24227,7 +24250,7 @@ var _v = { exports: {} };
24227
24250
  }, $.utcOffset = function() {
24228
24251
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
24229
24252
  }, $.diff = function(L, M, z) {
24230
- var Y, Z = this, D = B.p(M), O = H(L), j = (O.utcOffset() - this.utcOffset()) * r, N = this - O, ee = function() {
24253
+ var Y, Z = this, D = B.p(M), O = H(L), j = (O.utcOffset() - this.utcOffset()) * r, F = this - O, ee = function() {
24231
24254
  return B.m(Z, O);
24232
24255
  };
24233
24256
  switch (D) {
@@ -24241,22 +24264,22 @@ var _v = { exports: {} };
24241
24264
  Y = ee() / 3;
24242
24265
  break;
24243
24266
  case d:
24244
- Y = (N - j) / 6048e5;
24267
+ Y = (F - j) / 6048e5;
24245
24268
  break;
24246
24269
  case c:
24247
- Y = (N - j) / 864e5;
24270
+ Y = (F - j) / 864e5;
24248
24271
  break;
24249
24272
  case s:
24250
- Y = N / i;
24273
+ Y = F / i;
24251
24274
  break;
24252
24275
  case l:
24253
- Y = N / r;
24276
+ Y = F / r;
24254
24277
  break;
24255
24278
  case a:
24256
- Y = N / n;
24279
+ Y = F / n;
24257
24280
  break;
24258
24281
  default:
24259
- Y = N;
24282
+ Y = F;
24260
24283
  }
24261
24284
  return z ? Y : B.a(Y);
24262
24285
  }, $.daysInMonth = function() {
@@ -25765,7 +25788,7 @@ var uM = {
25765
25788
  if (n && _.onChange) {
25766
25789
  var L = n.option, M = n.options, z = n.removedValue, Y = n.removedValues, Z = n.value, D = function(q) {
25767
25790
  return Array.isArray(q) ? null : q;
25768
- }, O = z || L || D(Z), j = O ? h(O) : "", N = M || Y || void 0, ee = N ? N.map(h) : [], ae = me({
25791
+ }, O = z || L || D(Z), j = O ? h(O) : "", F = M || Y || void 0, ee = F ? F.map(h) : [], ae = me({
25769
25792
  // multiSelected items are usually items that have already been selected
25770
25793
  // or set by the user as a default value so we assume they are not disabled
25771
25794
  isDisabled: O && g(O, l),
@@ -27195,12 +27218,12 @@ var tb = function(t) {
27195
27218
  value: function() {
27196
27219
  var i = this, o = this.getComponents(), a = o.Group, l = o.GroupHeading, s = o.Menu, c = o.MenuList, d = o.MenuPortal, f = o.LoadingMessage, h = o.NoOptionsMessage, p = o.Option, m = this.commonProps, g = this.state.focusedOption, v = this.props, w = v.captureMenuScroll, x = v.inputValue, y = v.isLoading, C = v.loadingMessage, b = v.minMenuHeight, S = v.maxMenuHeight, A = v.menuIsOpen, _ = v.menuPlacement, k = v.menuPosition, H = v.menuPortalTarget, B = v.menuShouldBlockScroll, I = v.menuShouldScrollIntoView, U = v.noOptionsMessage, W = v.onMenuScrollToTop, $ = v.onMenuScrollToBottom;
27197
27220
  if (!A) return null;
27198
- var L = function(j, N) {
27221
+ var L = function(j, F) {
27199
27222
  var ee = j.type, ae = j.data, oe = j.isDisabled, q = j.isSelected, se = j.label, te = j.value, pe = g === ae, _e = oe ? void 0 : function() {
27200
27223
  return i.onOptionHover(ae);
27201
27224
  }, qe = oe ? void 0 : function() {
27202
27225
  return i.selectOption(ae);
27203
- }, kt = "".concat(i.getElementId("option"), "-").concat(N), ut = {
27226
+ }, kt = "".concat(i.getElementId("option"), "-").concat(F), ut = {
27204
27227
  id: kt,
27205
27228
  onClick: qe,
27206
27229
  onMouseMove: _e,
@@ -27226,11 +27249,11 @@ var tb = function(t) {
27226
27249
  if (this.hasOptions())
27227
27250
  M = this.getCategorizedOptions().map(function(O) {
27228
27251
  if (O.type === "group") {
27229
- var j = O.data, N = O.options, ee = O.index, ae = "".concat(i.getElementId("group"), "-").concat(ee), oe = "".concat(ae, "-heading");
27252
+ var j = O.data, F = O.options, ee = O.index, ae = "".concat(i.getElementId("group"), "-").concat(ee), oe = "".concat(ae, "-heading");
27230
27253
  return /* @__PURE__ */ V.createElement(a, P({}, m, {
27231
27254
  key: ae,
27232
27255
  data: j,
27233
- options: N,
27256
+ options: F,
27234
27257
  Heading: l,
27235
27258
  headingProps: {
27236
27259
  id: oe,
@@ -27263,7 +27286,7 @@ var tb = function(t) {
27263
27286
  menuPosition: k,
27264
27287
  menuShouldScrollIntoView: I
27265
27288
  }, D = /* @__PURE__ */ V.createElement(XR, P({}, m, Z), function(O) {
27266
- var j = O.ref, N = O.placerProps, ee = N.placement, ae = N.maxHeight;
27289
+ var j = O.ref, F = O.placerProps, ee = F.placement, ae = F.maxHeight;
27267
27290
  return /* @__PURE__ */ V.createElement(s, P({}, m, Z, {
27268
27291
  innerRef: j,
27269
27292
  innerProps: {
@@ -27500,7 +27523,7 @@ var JM = /* @__PURE__ */ cp(function(e, t) {
27500
27523
  }, r));
27501
27524
  }), rb = JM;
27502
27525
  const XM = {
27503
- control: (e, t) => J(F({}, e), {
27526
+ control: (e, t) => J(N({}, e), {
27504
27527
  minHeight: "36px",
27505
27528
  borderColor: t.isFocused ? "#0b6bcb" : "#ced4da",
27506
27529
  boxShadow: t.isFocused ? "0 0 0 0px 1px 2px 0px rgba(25, 118, 210, 0.25)" : "none",
@@ -27511,36 +27534,36 @@ const XM = {
27511
27534
  // Keep border color on hover
27512
27535
  }
27513
27536
  }),
27514
- valueContainer: (e) => J(F({}, e), {
27537
+ valueContainer: (e) => J(N({}, e), {
27515
27538
  minHeight: "36px",
27516
27539
  marginTop: "0px"
27517
27540
  }),
27518
- indicatorsContainer: (e) => J(F({}, e), {
27541
+ indicatorsContainer: (e) => J(N({}, e), {
27519
27542
  minHeight: "36px"
27520
27543
  }),
27521
- menu: (e) => J(F({}, e), {
27544
+ menu: (e) => J(N({}, e), {
27522
27545
  position: "relative"
27523
27546
  }),
27524
- clearIndicator: (e) => J(F({}, e), {
27547
+ clearIndicator: (e) => J(N({}, e), {
27525
27548
  "&:hover": { backGroundColor: "gray" },
27526
27549
  cursor: "pointer"
27527
27550
  }),
27528
- input: (e) => J(F({}, e), {
27551
+ input: (e) => J(N({}, e), {
27529
27552
  "input:focus": {
27530
27553
  boxShadow: "none"
27531
27554
  // remove on focus blue box shadow
27532
27555
  }
27533
27556
  }),
27534
- placeholder: (e) => J(F({}, e), {
27557
+ placeholder: (e) => J(N({}, e), {
27535
27558
  color: "rgba(0, 0, 0, 0.54)",
27536
27559
  fontSize: "14px"
27537
27560
  }),
27538
- multiValue: (e) => J(F({}, e), {
27561
+ multiValue: (e) => J(N({}, e), {
27539
27562
  backgroundColor: "#e0f3ff",
27540
27563
  borderRadius: "4px",
27541
27564
  fontSize: "14px"
27542
27565
  }),
27543
- multiValueLabel: (e) => J(F({}, e), {
27566
+ multiValueLabel: (e) => J(N({}, e), {
27544
27567
  color: "#333"
27545
27568
  })
27546
27569
  }, ZM = (e) => e.map((t) => ({ label: t, value: t })), eL = (e) => {
@@ -27788,7 +27811,7 @@ const XM = {
27788
27811
  }
27789
27812
  )
27790
27813
  ] });
27791
- }, tL = ["cover", "mobile"], nL = (e) => (/* @__PURE__ */ new Map()).set("main", e.mainImage).set("cover", e.coverImage).set("mobile", e.mobileImage), rL = (e) => e ? F({}, e) : {
27814
+ }, tL = ["cover", "mobile"], nL = (e) => (/* @__PURE__ */ new Map()).set("main", e.mainImage).set("cover", e.coverImage).set("mobile", e.mobileImage), rL = (e) => e ? N({}, e) : {
27792
27815
  main: "",
27793
27816
  mobile: "",
27794
27817
  cover: ""
@@ -28518,7 +28541,7 @@ const pi = ct("MuiCheckbox", ["root", "checkbox", "action", "input", "label", "c
28518
28541
  onFocus: A,
28519
28542
  onFocusVisible: _
28520
28543
  }, {
28521
- getInputProps: N,
28544
+ getInputProps: F,
28522
28545
  checked: ee,
28523
28546
  disabled: ae,
28524
28547
  focusVisible: oe
@@ -28567,7 +28590,7 @@ const pi = ct("MuiCheckbox", ["root", "checkbox", "action", "input", "label", "c
28567
28590
  className: Rt.input,
28568
28591
  elementType: jL,
28569
28592
  externalForwardedProps: ue,
28570
- getSlotProps: N,
28593
+ getSlotProps: F,
28571
28594
  ownerState: ut
28572
28595
  }), [Vt, Bt] = Ee("label", {
28573
28596
  additionalProps: {
@@ -28941,13 +28964,13 @@ const pi = ct("MuiCheckbox", ["root", "checkbox", "action", "input", "label", "c
28941
28964
  };
28942
28965
  class ZL {
28943
28966
  constructor() {
28944
- ie(this, "name", "");
28945
- ie(this, "scheduled_task_config", {
28967
+ re(this, "name", "");
28968
+ re(this, "scheduled_task_config", {
28946
28969
  entity_id: "",
28947
28970
  entity_type: "",
28948
28971
  change: { status: "" }
28949
28972
  });
28950
- ie(this, "trigger", { trigger_type: "DATETIME", date: "" });
28973
+ re(this, "trigger", { trigger_type: "DATETIME", date: "" });
28951
28974
  }
28952
28975
  }
28953
28976
  const e2 = Qe(/* @__PURE__ */ u.jsx("path", {
@@ -29283,8 +29306,8 @@ const i2 = ["children", "action", "component", "color", "disabled", "variant", "
29283
29306
  instanceSize: t.size
29284
29307
  }), W = o2(U), $ = (O) => {
29285
29308
  var j;
29286
- let N = i.onClick;
29287
- if (typeof g.root == "function" ? N = g.root(U).onClick : g.root && (N = g.root.onClick), (j = N) == null || j(O), x) {
29309
+ let F = i.onClick;
29310
+ if (typeof g.root == "function" ? F = g.root(U).onClick : g.root && (F = g.root.onClick), (j = F) == null || j(O), x) {
29288
29311
  var ee;
29289
29312
  (ee = x.onClick) == null || ee.call(x, O, i.value);
29290
29313
  }
@@ -29336,7 +29359,7 @@ const ab = Qe(/* @__PURE__ */ u.jsx("path", {
29336
29359
  /* @__PURE__ */ u.jsx(Ke, { required: r, color: "primary", children: e }),
29337
29360
  /* @__PURE__ */ u.jsx(
29338
29361
  un,
29339
- J(F({
29362
+ J(N({
29340
29363
  slotProps: { button: { sx: { whiteSpace: "nowrap" } } },
29341
29364
  sx: {
29342
29365
  "--ListItemDecorator-size": "44px",
@@ -29574,7 +29597,7 @@ const Mi = /* @__PURE__ */ Ln(s$), On = ({ option: e }) => /* @__PURE__ */ u.jsx
29574
29597
  getOptionKey: (b) => b.id,
29575
29598
  value: o,
29576
29599
  renderTags: C,
29577
- renderOption: (b, S) => /* @__PURE__ */ u.jsx(Ei, J(F({}, b), { children: /* @__PURE__ */ u.jsx(On, { option: S }) }))
29600
+ renderOption: (b, S) => /* @__PURE__ */ u.jsx(Ei, J(N({}, b), { children: /* @__PURE__ */ u.jsx(On, { option: S }) }))
29578
29601
  }
29579
29602
  ) }),
29580
29603
  /* @__PURE__ */ u.jsx(bt, { showToast: p, message: e.searchCompetitionsErrorMessage, color: "danger", hideToast: v })
@@ -29663,7 +29686,7 @@ const Mi = /* @__PURE__ */ Ln(s$), On = ({ option: e }) => /* @__PURE__ */ u.jsx
29663
29686
  getOptionKey: (C) => C.id,
29664
29687
  value: i,
29665
29688
  renderTags: y,
29666
- renderOption: (C, b) => /* @__PURE__ */ u.jsx(Ei, J(F({}, C), { children: /* @__PURE__ */ u.jsx(On, { option: b }) }))
29689
+ renderOption: (C, b) => /* @__PURE__ */ u.jsx(Ei, J(N({}, C), { children: /* @__PURE__ */ u.jsx(On, { option: b }) }))
29667
29690
  }
29668
29691
  ) }),
29669
29692
  /* @__PURE__ */ u.jsx(bt, { showToast: h, message: e.searchCompetitionsErrorMessage, color: "danger", hideToast: g })
@@ -29753,7 +29776,7 @@ const Mi = /* @__PURE__ */ Ln(s$), On = ({ option: e }) => /* @__PURE__ */ u.jsx
29753
29776
  renderTags: x,
29754
29777
  renderOption: (y, C) => {
29755
29778
  var b;
29756
- return /* @__PURE__ */ u.jsx(Ei, J(F({}, y), { children: /* @__PURE__ */ u.jsxs(fe, { display: "flex", alignItems: "center", mr: 1, children: [
29779
+ return /* @__PURE__ */ u.jsx(Ei, J(N({}, y), { children: /* @__PURE__ */ u.jsxs(fe, { display: "flex", alignItems: "center", mr: 1, children: [
29757
29780
  /* @__PURE__ */ u.jsx(yn, { sx: { width: "1.5rem", height: " 1.5rem", mr: 0.5, borderRadius: "0.75rem" }, src: (b = C.avatar) != null ? b : Ct.avatar }),
29758
29781
  /* @__PURE__ */ u.jsx(xe, { children: C.label })
29759
29782
  ] }) }));
@@ -29846,7 +29869,7 @@ const Mi = /* @__PURE__ */ Ln(s$), On = ({ option: e }) => /* @__PURE__ */ u.jsx
29846
29869
  getOptionKey: (C) => C.id,
29847
29870
  value: i,
29848
29871
  renderTags: y,
29849
- renderOption: (C, b) => /* @__PURE__ */ u.jsx(Ei, J(F({}, C), { children: /* @__PURE__ */ u.jsx(On, { option: b }) }))
29872
+ renderOption: (C, b) => /* @__PURE__ */ u.jsx(Ei, J(N({}, C), { children: /* @__PURE__ */ u.jsx(On, { option: b }) }))
29850
29873
  }
29851
29874
  ) }),
29852
29875
  /* @__PURE__ */ u.jsx(bt, { showToast: h, message: e.searchTeamsErrorMessage, color: "danger", hideToast: g })
@@ -29889,7 +29912,7 @@ const Mi = /* @__PURE__ */ Ln(s$), On = ({ option: e }) => /* @__PURE__ */ u.jsx
29889
29912
  children: e
29890
29913
  }
29891
29914
  ), h$ = {
29892
- control: (e, t) => J(F({}, e), {
29915
+ control: (e, t) => J(N({}, e), {
29893
29916
  minHeight: "36px",
29894
29917
  borderColor: t.isFocused ? "#0b6bcb" : "#ced4da",
29895
29918
  boxShadow: t.isFocused ? "0 0 0 0px 1px 2px 0px rgba(25, 118, 210, 0.25)" : "none",
@@ -29899,36 +29922,36 @@ const Mi = /* @__PURE__ */ Ln(s$), On = ({ option: e }) => /* @__PURE__ */ u.jsx
29899
29922
  // Keep border color on hover
29900
29923
  }
29901
29924
  }),
29902
- valueContainer: (e) => J(F({}, e), {
29925
+ valueContainer: (e) => J(N({}, e), {
29903
29926
  minHeight: "36px",
29904
29927
  marginTop: "0px"
29905
29928
  }),
29906
- indicatorsContainer: (e) => J(F({}, e), {
29929
+ indicatorsContainer: (e) => J(N({}, e), {
29907
29930
  minHeight: "36px"
29908
29931
  }),
29909
- menu: (e) => J(F({}, e), {
29932
+ menu: (e) => J(N({}, e), {
29910
29933
  position: "relative"
29911
29934
  }),
29912
- clearIndicator: (e) => J(F({}, e), {
29935
+ clearIndicator: (e) => J(N({}, e), {
29913
29936
  "&:hover": { backGroundColor: "gray" },
29914
29937
  cursor: "pointer"
29915
29938
  }),
29916
- input: (e) => J(F({}, e), {
29939
+ input: (e) => J(N({}, e), {
29917
29940
  "input:focus": {
29918
29941
  boxShadow: "none"
29919
29942
  // remove on focus blue box shadow
29920
29943
  }
29921
29944
  }),
29922
- placeholder: (e) => J(F({}, e), {
29945
+ placeholder: (e) => J(N({}, e), {
29923
29946
  color: "rgba(0, 0, 0, 0.54)",
29924
29947
  fontSize: "14px"
29925
29948
  }),
29926
- multiValue: (e) => J(F({}, e), {
29949
+ multiValue: (e) => J(N({}, e), {
29927
29950
  backgroundColor: "#e0f3ff",
29928
29951
  borderRadius: "4px",
29929
29952
  fontSize: "13px"
29930
29953
  }),
29931
- multiValueLabel: (e) => J(F({}, e), {
29954
+ multiValueLabel: (e) => J(N({}, e), {
29932
29955
  color: "#333"
29933
29956
  })
29934
29957
  }, p$ = (e) => e.map((t) => ({ label: t, value: t })), db = (e) => {
@@ -29981,10 +30004,10 @@ const Mi = /* @__PURE__ */ Ln(s$), On = ({ option: e }) => /* @__PURE__ */ u.jsx
29981
30004
  }), "ArrowBackIos");
29982
30005
  class fb {
29983
30006
  constructor() {
29984
- ie(this, "contestId", "");
29985
- ie(this, "contestType", "");
29986
- ie(this, "description", "");
29987
- ie(this, "userList", []);
30007
+ re(this, "contestId", "");
30008
+ re(this, "contestType", "");
30009
+ re(this, "description", "");
30010
+ re(this, "userList", []);
29988
30011
  }
29989
30012
  }
29990
30013
  const m$ = (e, t, n) => {
@@ -30015,10 +30038,10 @@ const m$ = (e, t, n) => {
30015
30038
  };
30016
30039
  class v$ {
30017
30040
  constructor() {
30018
- ie(this, "position", "");
30019
- ie(this, "profileId", "");
30020
- ie(this, "note", "");
30021
- ie(this, "tags", []);
30041
+ re(this, "position", "");
30042
+ re(this, "profileId", "");
30043
+ re(this, "note", "");
30044
+ re(this, "tags", []);
30022
30045
  }
30023
30046
  }
30024
30047
  function b$(e, t) {
@@ -30288,27 +30311,27 @@ var $j = Lj, jj = $j, Bj = jj(function(e, t, n) {
30288
30311
  const Fj = /* @__PURE__ */ Ln(Nj);
30289
30312
  class zj {
30290
30313
  constructor() {
30291
- ie(this, "id", "");
30292
- ie(this, "value", "");
30293
- ie(this, "label", "");
30314
+ re(this, "id", "");
30315
+ re(this, "value", "");
30316
+ re(this, "label", "");
30294
30317
  }
30295
30318
  }
30296
30319
  class Vj extends zj {
30297
30320
  constructor() {
30298
30321
  super(...arguments);
30299
- ie(this, "logo", "");
30300
- ie(this, "countryFlag", "");
30301
- ie(this, "countryName", "");
30322
+ re(this, "logo", "");
30323
+ re(this, "countryFlag", "");
30324
+ re(this, "countryName", "");
30302
30325
  }
30303
30326
  }
30304
30327
  class _b extends Vj {
30305
30328
  constructor() {
30306
30329
  super(...arguments);
30307
- ie(this, "group", "");
30330
+ re(this, "group", "");
30308
30331
  }
30309
30332
  }
30310
30333
  const Uj = (e, t) => t || e || "-------------", jc = (e, t) => Array.isArray(e) ? e.map((n) => jc(n)) : e != null && e.constructor === Object ? Object.keys(e).reduce(
30311
- (n, r) => J(F({}, n), {
30334
+ (n, r) => J(N({}, n), {
30312
30335
  [Fj(r)]: jc(e[r])
30313
30336
  }),
30314
30337
  {}
@@ -30398,7 +30421,7 @@ const Uj = (e, t) => t || e || "-------------", jc = (e, t) => Array.isArray(e)
30398
30421
  }, Yj = (e) => {
30399
30422
  const t = (i, o, a) => {
30400
30423
  if (e.winners.find((d) => d.profileId === i)) {
30401
- const d = e.winners.map((f) => f.profileId === i ? J(F({}, f), { [o]: a }) : f);
30424
+ const d = e.winners.map((f) => f.profileId === i ? J(N({}, f), { [o]: a }) : f);
30402
30425
  r(d);
30403
30426
  return;
30404
30427
  }
@@ -30410,7 +30433,7 @@ const Uj = (e, t) => t || e || "-------------", jc = (e, t) => Array.isArray(e)
30410
30433
  const o = e.winners.filter((a) => a.profileId !== i);
30411
30434
  r(o);
30412
30435
  }, r = (i) => {
30413
- e.setWinnersRequestBody((o) => J(F({}, o), { userList: i }));
30436
+ e.setWinnersRequestBody((o) => J(N({}, o), { userList: i }));
30414
30437
  };
30415
30438
  return e.leaderboard ? /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
30416
30439
  /* @__PURE__ */ u.jsx(xe, { level: "h4", children: e.labels.configureWinners }),
@@ -30476,14 +30499,14 @@ const Uj = (e, t) => t || e || "-------------", jc = (e, t) => Array.isArray(e)
30476
30499
  };
30477
30500
  class Qj {
30478
30501
  constructor() {
30479
- ie(this, "isValid", !0);
30480
- ie(this, "message", "");
30481
- ie(this, "validate", (t, n, r) => (this.validateField(t, n), this.validateWinnerIds(t, r), this));
30482
- ie(this, "validateField", (t, n) => {
30502
+ re(this, "isValid", !0);
30503
+ re(this, "message", "");
30504
+ re(this, "validate", (t, n, r) => (this.validateField(t, n), this.validateWinnerIds(t, r), this));
30505
+ re(this, "validateField", (t, n) => {
30483
30506
  const r = t.every((i) => i.position && i.profileId);
30484
30507
  r || (this.isValid = r, this.message = n);
30485
30508
  });
30486
- ie(this, "validateWinnerIds", (t, n) => {
30509
+ re(this, "validateWinnerIds", (t, n) => {
30487
30510
  const r = t.map((o) => o.profileId), i = new Set(r);
30488
30511
  r.length !== i.size && (this.isValid = !1, this.message = n);
30489
30512
  });
@@ -30654,7 +30677,7 @@ const qj = (e) => {
30654
30677
  be(() => (s(o), () => s.cancel()), [o, s]);
30655
30678
  const c = (h, p) => {
30656
30679
  const m = p.map((g) => g.id);
30657
- e.setOptions(p), e.handleResetData(), e.setFilters((g) => J(F({}, g), {
30680
+ e.setOptions(p), e.handleResetData(), e.setFilters((g) => J(N({}, g), {
30658
30681
  entityIds: m
30659
30682
  }));
30660
30683
  }, d = (h, p) => h.map((m, g) => /* @__PURE__ */ u.jsx(
@@ -30702,7 +30725,7 @@ const qj = (e) => {
30702
30725
  groupBy: (h) => h.group + "s",
30703
30726
  value: (f = e.options) != null ? f : [],
30704
30727
  renderTags: d,
30705
- renderOption: (h, p) => /* @__PURE__ */ u.jsx(Ei, J(F({}, h), { children: /* @__PURE__ */ u.jsx(On, { option: p }) }))
30728
+ renderOption: (h, p) => /* @__PURE__ */ u.jsx(Ei, J(N({}, h), { children: /* @__PURE__ */ u.jsx(On, { option: p }) }))
30706
30729
  }
30707
30730
  )
30708
30731
  ] });
@@ -30994,7 +31017,7 @@ function vB(e) {
30994
31017
  }, j = function(ue, he, Ce) {
30995
31018
  var ke = x(he), Je = hB(he, _, ue, Ce, ke, y, C);
30996
31019
  return Je = Uh(he, Je, ke), Je;
30997
- }, N = function(ue) {
31020
+ }, F = function(ue) {
30998
31021
  var he = ue.formattedValue;
30999
31022
  he === void 0 && (he = "");
31000
31023
  var Ce = ue.input, ke = ue.source, Je = ue.event, Oe = ue.numAsString, De;
@@ -31025,7 +31048,7 @@ function vB(e) {
31025
31048
  var Dt = he.target, Vt = Yl(Dt), Bt = j(ue, _, Vt);
31026
31049
  return Dt.value = _, D(Dt, Bt, _), !1;
31027
31050
  }
31028
- return N({
31051
+ return F({
31029
31052
  formattedValue: Pt,
31030
31053
  numAsString: De,
31031
31054
  inputValue: ue,
@@ -31237,7 +31260,7 @@ function SB(e) {
31237
31260
  }, W = function(L) {
31238
31261
  return L === v ? !0 : To(L);
31239
31262
  }, $ = function(L) {
31240
- var M = L.currentValue, z = L.lastValue, Y = L.formattedValue, Z = L.currentValueIndex, D = L.formattedValueIndex, O = M[Z], j = Y[D], N = Lb(z, M), ee = N.to, ae = function(oe) {
31263
+ var M = L.currentValue, z = L.lastValue, Y = L.formattedValue, Z = L.currentValueIndex, D = L.formattedValueIndex, O = M[Z], j = Y[D], F = Lb(z, M), ee = F.to, ae = function(oe) {
31241
31264
  return y(oe).indexOf(".") + c.length;
31242
31265
  };
31243
31266
  return f === 0 && s && l && M[ee.start] === v && ae(M) < Z && ae(Y) > D ? !1 : Z >= ee.start && Z < ee.end && w && w.includes(O) && j === v ? !0 : O === j;
@@ -31265,7 +31288,7 @@ const TB = V.forwardRef(function(t, n) {
31265
31288
  const a = t, { onChange: r, isAllowed: i } = a, o = Xe(a, ["onChange", "isAllowed"]);
31266
31289
  return /* @__PURE__ */ u.jsx(
31267
31290
  AB,
31268
- J(F({}, o), {
31291
+ J(N({}, o), {
31269
31292
  getInputRef: n,
31270
31293
  onValueChange: (l) => {
31271
31294
  r({
@@ -31402,7 +31425,7 @@ const TB = V.forwardRef(function(t, n) {
31402
31425
  groupBy: (v) => v.group + "s",
31403
31426
  value: t != null ? t : [],
31404
31427
  renderTags: g,
31405
- renderOption: (v, w) => /* @__PURE__ */ u.jsx(Ei, J(F({}, v), { children: /* @__PURE__ */ u.jsx(On, { option: w }) }))
31428
+ renderOption: (v, w) => /* @__PURE__ */ u.jsx(Ei, J(N({}, v), { children: /* @__PURE__ */ u.jsx(On, { option: w }) }))
31406
31429
  }
31407
31430
  ),
31408
31431
  /* @__PURE__ */ u.jsx(bt, { showToast: c, message: e.labels.getFootballEntitiesErrorMessage, color: "danger", hideToast: h })
@@ -31480,7 +31503,7 @@ const TB = V.forwardRef(function(t, n) {
31480
31503
  }
31481
31504
  ) }, `context-campaign-${s}`)) })
31482
31505
  ] }) });
31483
- }, LB = (e) => e ? F({}, e) : {
31506
+ }, LB = (e) => e ? N({}, e) : {
31484
31507
  main: "",
31485
31508
  mobile: ""
31486
31509
  }, $B = (e) => {
@@ -31531,7 +31554,7 @@ const TB = V.forwardRef(function(t, n) {
31531
31554
  /* @__PURE__ */ u.jsx(Ke, { children: n.authRequirement }),
31532
31555
  /* @__PURE__ */ u.jsx(
31533
31556
  un,
31534
- J(F({
31557
+ J(N({
31535
31558
  value: e,
31536
31559
  size: "sm",
31537
31560
  slotProps: { button: { sx: { whiteSpace: "nowrap" } } },
@@ -31674,7 +31697,7 @@ function Bb(e) {
31674
31697
  d != null && (o[s] = d + e * c);
31675
31698
  }
31676
31699
  return o;
31677
- }, F({}, t));
31700
+ }, N({}, t));
31678
31701
  };
31679
31702
  }
31680
31703
  const mi = /* @__PURE__ */ Bb(1), _o = /* @__PURE__ */ Bb(-1);
@@ -32096,7 +32119,7 @@ const oN = (e) => {
32096
32119
  return i.sort(nN);
32097
32120
  };
32098
32121
  function aN(e, t, n) {
32099
- return J(F({}, e), {
32122
+ return J(N({}, e), {
32100
32123
  scaleX: t && n ? t.width / n.width : 1,
32101
32124
  scaleY: t && n ? t.height / n.height : 1
32102
32125
  });
@@ -32111,12 +32134,12 @@ function sN(e) {
32111
32134
  return function(n) {
32112
32135
  for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
32113
32136
  i[o - 1] = arguments[o];
32114
- return i.reduce((a, l) => J(F({}, a), {
32137
+ return i.reduce((a, l) => J(N({}, a), {
32115
32138
  top: a.top + e * l.y,
32116
32139
  bottom: a.bottom + e * l.y,
32117
32140
  left: a.left + e * l.x,
32118
32141
  right: a.right + e * l.x
32119
- }), F({}, n));
32142
+ }), N({}, n));
32120
32143
  };
32121
32144
  }
32122
32145
  const lN = /* @__PURE__ */ sN(1);
@@ -32369,7 +32392,7 @@ class ud {
32369
32392
  constructor(t, n) {
32370
32393
  this.rect = void 0, this.width = void 0, this.height = void 0, this.top = void 0, this.bottom = void 0, this.right = void 0, this.left = void 0;
32371
32394
  const r = nl(n), i = Kb(r);
32372
- this.rect = F({}, t), this.width = t.width, this.height = t.height;
32395
+ this.rect = N({}, t), this.width = t.width, this.height = t.height;
32373
32396
  for (const [o, a, l] of yN)
32374
32397
  for (const s of a)
32375
32398
  Object.defineProperty(this, s, {
@@ -32432,19 +32455,19 @@ const qb = {
32432
32455
  } = t;
32433
32456
  switch (e.code) {
32434
32457
  case Re.Right:
32435
- return J(F({}, n), {
32458
+ return J(N({}, n), {
32436
32459
  x: n.x + 25
32437
32460
  });
32438
32461
  case Re.Left:
32439
- return J(F({}, n), {
32462
+ return J(N({}, n), {
32440
32463
  x: n.x - 25
32441
32464
  });
32442
32465
  case Re.Down:
32443
- return J(F({}, n), {
32466
+ return J(N({}, n), {
32444
32467
  y: n.y + 25
32445
32468
  });
32446
32469
  case Re.Up:
32447
- return J(F({}, n), {
32470
+ return J(N({}, n), {
32448
32471
  y: n.y - 25
32449
32472
  });
32450
32473
  }
@@ -33262,7 +33285,7 @@ function VN(e) {
33262
33285
  if (Ho(d)) {
33263
33286
  r((f) => {
33264
33287
  const h = t(d);
33265
- return f ? J(F({}, f), {
33288
+ return f ? J(N({}, f), {
33266
33289
  width: h.width,
33267
33290
  height: h.height
33268
33291
  }) : h;
@@ -33382,15 +33405,15 @@ function GN() {
33382
33405
  function YN(e, t) {
33383
33406
  switch (t.type) {
33384
33407
  case yt.DragStart:
33385
- return J(F({}, e), {
33386
- draggable: J(F({}, e.draggable), {
33408
+ return J(N({}, e), {
33409
+ draggable: J(N({}, e.draggable), {
33387
33410
  initialCoordinates: t.initialCoordinates,
33388
33411
  active: t.active
33389
33412
  })
33390
33413
  });
33391
33414
  case yt.DragMove:
33392
- return e.draggable.active == null ? e : J(F({}, e), {
33393
- draggable: J(F({}, e.draggable), {
33415
+ return e.draggable.active == null ? e : J(N({}, e), {
33416
+ draggable: J(N({}, e.draggable), {
33394
33417
  translate: {
33395
33418
  x: t.coordinates.x - e.draggable.initialCoordinates.x,
33396
33419
  y: t.coordinates.y - e.draggable.initialCoordinates.y
@@ -33399,8 +33422,8 @@ function YN(e, t) {
33399
33422
  });
33400
33423
  case yt.DragEnd:
33401
33424
  case yt.DragCancel:
33402
- return J(F({}, e), {
33403
- draggable: J(F({}, e.draggable), {
33425
+ return J(N({}, e), {
33426
+ draggable: J(N({}, e.draggable), {
33404
33427
  active: null,
33405
33428
  initialCoordinates: {
33406
33429
  x: 0,
@@ -33418,8 +33441,8 @@ function YN(e, t) {
33418
33441
  } = t, {
33419
33442
  id: r
33420
33443
  } = n, i = new fo(e.droppable.containers);
33421
- return i.set(r, n), J(F({}, e), {
33422
- droppable: J(F({}, e.droppable), {
33444
+ return i.set(r, n), J(N({}, e), {
33445
+ droppable: J(N({}, e.droppable), {
33423
33446
  containers: i
33424
33447
  })
33425
33448
  });
@@ -33433,10 +33456,10 @@ function YN(e, t) {
33433
33456
  if (!o || r !== o.key)
33434
33457
  return e;
33435
33458
  const a = new fo(e.droppable.containers);
33436
- return a.set(n, J(F({}, o), {
33459
+ return a.set(n, J(N({}, o), {
33437
33460
  disabled: i
33438
- })), J(F({}, e), {
33439
- droppable: J(F({}, e.droppable), {
33461
+ })), J(N({}, e), {
33462
+ droppable: J(N({}, e.droppable), {
33440
33463
  containers: a
33441
33464
  })
33442
33465
  });
@@ -33449,8 +33472,8 @@ function YN(e, t) {
33449
33472
  if (!i || r !== i.key)
33450
33473
  return e;
33451
33474
  const o = new fo(e.droppable.containers);
33452
- return o.delete(n), J(F({}, e), {
33453
- droppable: J(F({}, e.droppable), {
33475
+ return o.delete(n), J(N({}, e), {
33476
+ droppable: J(N({}, e.droppable), {
33454
33477
  containers: o
33455
33478
  })
33456
33479
  });
@@ -33501,16 +33524,16 @@ function t0(e, t) {
33501
33524
  } = i, r = Xe(i, [
33502
33525
  "transform"
33503
33526
  ]);
33504
- return e != null && e.length ? e.reduce((o, a) => a(F({
33527
+ return e != null && e.length ? e.reduce((o, a) => a(N({
33505
33528
  transform: o
33506
33529
  }, r)), n) : n;
33507
33530
  }
33508
33531
  function QN(e) {
33509
33532
  return Ae(
33510
33533
  () => ({
33511
- draggable: F(F({}, Ia.draggable), e == null ? void 0 : e.draggable),
33512
- droppable: F(F({}, Ia.droppable), e == null ? void 0 : e.droppable),
33513
- dragOverlay: F(F({}, Ia.dragOverlay), e == null ? void 0 : e.dragOverlay)
33534
+ draggable: N(N({}, Ia.draggable), e == null ? void 0 : e.draggable),
33535
+ droppable: N(N({}, Ia.droppable), e == null ? void 0 : e.droppable),
33536
+ dragOverlay: N(N({}, Ia.dragOverlay), e == null ? void 0 : e.dragOverlay)
33514
33537
  }),
33515
33538
  // eslint-disable-next-line react-hooks/exhaustive-deps
33516
33539
  [e == null ? void 0 : e.draggable, e == null ? void 0 : e.droppable, e == null ? void 0 : e.dragOverlay]
@@ -33550,7 +33573,7 @@ function qN(e) {
33550
33573
  }
33551
33574
  }, [t, a, l, r, n]);
33552
33575
  }
33553
- const il = /* @__PURE__ */ Mn(J(F({}, wn), {
33576
+ const il = /* @__PURE__ */ Mn(J(N({}, wn), {
33554
33577
  scaleX: 1,
33555
33578
  scaleY: 1
33556
33579
  }));
@@ -33601,7 +33624,7 @@ const JN = /* @__PURE__ */ T0(function(t) {
33601
33624
  } : null;
33602
33625
  }, [A, B]), W = Te(null), [$, L] = K(null), [M, z] = K(null), Y = Eo(m, Object.values(m)), Z = Go("DndDescribedBy", a), D = Ae(() => H.getEnabled(), [H]), O = QN(h), {
33603
33626
  droppableRects: j,
33604
- measureDroppableContainers: N,
33627
+ measureDroppableContainers: F,
33605
33628
  measuringScheduled: ee
33606
33629
  } = RN(D, {
33607
33630
  dragging: S,
@@ -33885,7 +33908,7 @@ const JN = /* @__PURE__ */ T0(function(t) {
33885
33908
  initial: Rt,
33886
33909
  translated: Qt
33887
33910
  };
33888
- }, [U, ae, nr, Qt, _, ut, Rt, j, H, Sn, ke, Bt]), EN(J(F({}, q), {
33911
+ }, [U, ae, nr, Qt, _, ut, Rt, j, H, Sn, ke, Bt]), EN(J(N({}, q), {
33889
33912
  delta: k,
33890
33913
  draggingRect: Qt,
33891
33914
  pointerCoordinates: De,
@@ -33904,13 +33927,13 @@ const JN = /* @__PURE__ */ T0(function(t) {
33904
33927
  droppableContainers: H,
33905
33928
  droppableRects: j,
33906
33929
  over: Sn,
33907
- measureDroppableContainers: N,
33930
+ measureDroppableContainers: F,
33908
33931
  scrollableAncestors: ke,
33909
33932
  scrollableAncestorRects: Je,
33910
33933
  measuringConfiguration: O,
33911
33934
  measuringScheduled: ee,
33912
33935
  windowRect: Ce
33913
- }), [U, ae, te, M, nr, pe, kt, _, H, j, Sn, N, ke, Je, O, ee, Ce]), Fi = Ae(() => ({
33936
+ }), [U, ae, te, M, nr, pe, kt, _, H, j, Sn, F, ke, Je, O, ee, Ce]), Fi = Ae(() => ({
33914
33937
  activatorEvent: M,
33915
33938
  activators: Qo,
33916
33939
  active: U,
@@ -33921,8 +33944,8 @@ const JN = /* @__PURE__ */ T0(function(t) {
33921
33944
  dispatch: w,
33922
33945
  draggableNodes: _,
33923
33946
  over: Sn,
33924
- measureDroppableContainers: N
33925
- }), [M, Qo, U, te, w, Z, _, Sn, N]);
33947
+ measureDroppableContainers: F
33948
+ }), [M, Qo, U, te, w, Z, _, Sn, F]);
33926
33949
  return Me.createElement(Nb.Provider, {
33927
33950
  value: y
33928
33951
  }, Me.createElement(Yo.Provider, {
@@ -33933,12 +33956,12 @@ const JN = /* @__PURE__ */ T0(function(t) {
33933
33956
  value: al
33934
33957
  }, c)), Me.createElement(KN, {
33935
33958
  disabled: (l == null ? void 0 : l.restoreFocus) === !1
33936
- })), Me.createElement(JB, J(F({}, l), {
33959
+ })), Me.createElement(JB, J(N({}, l), {
33937
33960
  hiddenTextDescribedById: Z
33938
33961
  })));
33939
33962
  function vn() {
33940
33963
  const St = ($ == null ? void 0 : $.autoScrollEnabled) === !1, T = typeof s == "object" ? s.enabled === !1 : s === !1, R = S && !St && !T;
33941
- return typeof s == "object" ? J(F({}, s), {
33964
+ return typeof s == "object" ? J(N({}, s), {
33942
33965
  enabled: R
33943
33966
  }) : {
33944
33967
  enabled: R
@@ -34025,7 +34048,7 @@ function rF(e) {
34025
34048
  disabled: m,
34026
34049
  updateMeasurementsFor: g,
34027
34050
  timeout: v
34028
- } = F(F({}, nF), i), w = Eo(g != null ? g : r), x = je(
34051
+ } = N(N({}, nF), i), w = Eo(g != null ? g : r), x = je(
34029
34052
  () => {
34030
34053
  if (!f.current) {
34031
34054
  f.current = !0;
@@ -34133,10 +34156,10 @@ const sF = {
34133
34156
  } = e;
34134
34157
  if (!l)
34135
34158
  return null;
34136
- const f = i ? c : J(F({}, c), {
34159
+ const f = i ? c : J(N({}, c), {
34137
34160
  scaleX: 1,
34138
34161
  scaleY: 1
34139
- }), h = F(J(F({}, sF), {
34162
+ }), h = N(J(N({}, sF), {
34140
34163
  width: l.width,
34141
34164
  height: l.height,
34142
34165
  top: l.top,
@@ -34243,7 +34266,7 @@ function hF(e) {
34243
34266
  easing: n,
34244
34267
  sideEffects: r,
34245
34268
  keyframes: i
34246
- } = F(F({}, dF), e);
34269
+ } = N(N({}, dF), e);
34247
34270
  return (o) => {
34248
34271
  let x = o, {
34249
34272
  active: a,
@@ -34262,10 +34285,10 @@ function hF(e) {
34262
34285
  }, f = {
34263
34286
  scaleX: s.scaleX !== 1 ? a.rect.width * s.scaleX / l.rect.width : 1,
34264
34287
  scaleY: s.scaleY !== 1 ? a.rect.height * s.scaleY / l.rect.height : 1
34265
- }, h = F({
34288
+ }, h = N({
34266
34289
  x: s.x - d.x,
34267
34290
  y: s.y - d.y
34268
- }, f), p = i(J(F({}, c), {
34291
+ }, f), p = i(J(N({}, c), {
34269
34292
  active: a,
34270
34293
  dragOverlay: l,
34271
34294
  transform: {
@@ -34275,7 +34298,7 @@ function hF(e) {
34275
34298
  })), [m] = p, g = p[p.length - 1];
34276
34299
  if (JSON.stringify(m) === JSON.stringify(g))
34277
34300
  return;
34278
- const v = r == null ? void 0 : r(F({
34301
+ const v = r == null ? void 0 : r(N({
34279
34302
  active: a,
34280
34303
  dragOverlay: l
34281
34304
  }, c)), w = l.node.animate(p, {
@@ -34352,7 +34375,7 @@ const gF = /* @__PURE__ */ Me.memo((e) => {
34352
34375
  className: s,
34353
34376
  transition: o,
34354
34377
  rect: k,
34355
- style: F({
34378
+ style: N({
34356
34379
  zIndex: c
34357
34380
  }, i),
34358
34381
  transform: _
@@ -34535,7 +34558,7 @@ function TF(e) {
34535
34558
  overIndex: v,
34536
34559
  useDragOverlay: w,
34537
34560
  strategy: x
34538
- } = Kt(a0), y = EF(r, p), C = d.indexOf(a), b = Ae(() => F({
34561
+ } = Kt(a0), y = EF(r, p), C = d.indexOf(a), b = Ae(() => N({
34539
34562
  sortable: {
34540
34563
  containerId: f,
34541
34564
  index: C,
@@ -34550,7 +34573,7 @@ function TF(e) {
34550
34573
  id: a,
34551
34574
  data: b,
34552
34575
  disabled: y.droppable,
34553
- resizeObserverConfig: F({
34576
+ resizeObserverConfig: N({
34554
34577
  updateMeasurementsFor: S
34555
34578
  }, s)
34556
34579
  }), {
@@ -34567,9 +34590,9 @@ function TF(e) {
34567
34590
  } = eF({
34568
34591
  id: a,
34569
34592
  data: b,
34570
- attributes: F(F({}, SF), n),
34593
+ attributes: N(N({}, SF), n),
34571
34594
  disabled: y.draggable
34572
- }), D = BB(H, $), O = !!B, j = O && !m && da(h) && da(v), N = !w && M, ee = N && j ? Z : null, ae = l != null ? l : x, oe = j ? ee != null ? ee : ae({
34595
+ }), D = BB(H, $), O = !!B, j = O && !m && da(h) && da(v), F = !w && M, ee = F && j ? Z : null, ae = l != null ? l : x, oe = j ? ee != null ? ee : ae({
34573
34596
  rects: g,
34574
34597
  activeNodeRect: U,
34575
34598
  activeIndex: h,
@@ -34647,8 +34670,8 @@ function TF(e) {
34647
34670
  pe && te.current.newIndex === C
34648
34671
  )
34649
34672
  return IF;
34650
- if (!(N && !tl(I) || !c) && (O || _e))
34651
- return br.Transition.toString(J(F({}, c), {
34673
+ if (!(F && !tl(I) || !c) && (O || _e))
34674
+ return br.Transition.toString(J(N({}, c), {
34652
34675
  property: s0
34653
34676
  }));
34654
34677
  }
@@ -34748,7 +34771,7 @@ const DF = Qe(/* @__PURE__ */ u.jsx("path", {
34748
34771
  const { attributes: e, listeners: t, ref: n } = Kt(c0);
34749
34772
  return /* @__PURE__ */ u.jsx(
34750
34773
  ze,
34751
- J(F(F({
34774
+ J(N(N({
34752
34775
  sx: {
34753
34776
  backgroundColor: "transparent",
34754
34777
  color: "#919eab",