@opfr/services 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -19,14 +19,14 @@ ta.index({ unbannedTimestamp: 1 });
19
19
  var Ka;
20
20
  const Je = ((Ka = Y) == null ? void 0 : Ka.Bans) || F("Bans", ta), Rr = async () => await Je.find({
21
21
  unbannedTimestamp: { $lte: /* @__PURE__ */ new Date(), $ne: null }
22
- }), lh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22
+ }), oh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23
23
  __proto__: null,
24
24
  getUnbanUsers: Rr
25
- }, Symbol.toStringTag, { value: "Module" })), oh = async (t) => await Je.create({
25
+ }, Symbol.toStringTag, { value: "Module" })), dh = async (t) => await Je.create({
26
26
  ...t
27
- }), dh = async (t) => await Je.findOne({ bannedUserId: t }), ch = async (t) => {
27
+ }), ch = async (t) => await Je.findOne({ bannedUserId: t }), uh = async (t) => {
28
28
  await Je.deleteOne({ bannedUserId: t });
29
- }, uh = (t) => Je.exists({ bannedUserId: t }), Yr = new S({
29
+ }, fh = (t) => Je.exists({ bannedUserId: t }), Yr = new S({
30
30
  betOwner: String,
31
31
  betId: Number,
32
32
  channelId: String,
@@ -49,10 +49,10 @@ const Je = ((Ka = Y) == null ? void 0 : Ka.Bans) || F("Bans", ta), Rr = async ()
49
49
  }
50
50
  });
51
51
  var es;
52
- const bs = ((es = Y) == null ? void 0 : es.Bets) || F("Bets", Yr), fh = async (t, a = {}) => {
52
+ const bs = ((es = Y) == null ? void 0 : es.Bets) || F("Bets", Yr), ph = async (t, a = {}) => {
53
53
  const s = await bs.findById(t, a);
54
54
  return s || null;
55
- }, ph = async (t) => await bs.create({
55
+ }, mh = async (t) => await bs.create({
56
56
  ...t
57
57
  }), ut = (t) => new Intl.NumberFormat("de-DE").format(t), vs = (t, a, s = Math.random) => Math.floor(s() * (a - t) + t), ft = (t, a, s = (n) => n) => t.filter((n) => !a.some((r) => s(r) === s(n))), Ms = (t, a) => [...new Set(t.map((s) => a(s)))], Fr = (t) => t.filter((a) => a != null);
58
58
  //! moment.js
@@ -2718,7 +2718,7 @@ const st = (t, a, s = !0) => (s ? t.getFullYear() === a.getFullYear() : !0) && t
2718
2718
  "userOrnamentsUpdate"
2719
2719
  ], hn = new $r.EventEmitter(), nt = (t, a, s) => {
2720
2720
  hn.emit(t, a, s);
2721
- }, mh = (t) => {
2721
+ }, hh = (t) => {
2722
2722
  for (const a of Ld)
2723
2723
  hn.on(a, (s, n) => {
2724
2724
  t(s, n);
@@ -6239,7 +6239,7 @@ const bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6239
6239
  send100Messages: Df,
6240
6240
  send200000Messages: $f,
6241
6241
  send25000Messages: Cf
6242
- }, Symbol.toStringTag, { value: "Module" })), hh = [
6242
+ }, Symbol.toStringTag, { value: "Module" })), yh = [
6243
6243
  ...Object.values(_n),
6244
6244
  ...Object.values(wn),
6245
6245
  ...Object.values(gn),
@@ -6335,7 +6335,7 @@ const rt = ((ts = Y) == null ? void 0 : ts.Crew) || F("Crew", Sa), Kf = (t, a) =
6335
6335
  ]))[0], ap = async () => rt.aggregate([
6336
6336
  { $sort: { "meta.xp.amount": -1 } },
6337
6337
  { $limit: 10 }
6338
- ]), yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6338
+ ]), gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6339
6339
  __proto__: null,
6340
6340
  calcXp: Kf,
6341
6341
  getCrewRank: tp,
@@ -6449,7 +6449,7 @@ const rt = ((ts = Y) == null ? void 0 : ts.Crew) || F("Crew", Sa), Kf = (t, a) =
6449
6449
  "quest.meta.maxVoiceMembers": a
6450
6450
  }
6451
6451
  });
6452
- }, gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6452
+ }, _h = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6453
6453
  __proto__: null,
6454
6454
  addBerry: np,
6455
6455
  addMember: op,
@@ -6463,10 +6463,10 @@ const rt = ((ts = Y) == null ? void 0 : ts.Crew) || F("Crew", Sa), Kf = (t, a) =
6463
6463
  setActualVoiceMembers: cp,
6464
6464
  setMaxVoiceMembers: up,
6465
6465
  unlockBadge: kn
6466
- }, Symbol.toStringTag, { value: "Module" })), _h = async (t, a = {}) => {
6466
+ }, Symbol.toStringTag, { value: "Module" })), wh = async (t, a = {}) => {
6467
6467
  const s = await rt.findById(t, a);
6468
6468
  return s || null;
6469
- }, wh = async (t, {
6469
+ }, bh = async (t, {
6470
6470
  name: a,
6471
6471
  description: s,
6472
6472
  channelId: n,
@@ -6489,14 +6489,14 @@ const rt = ((ts = Y) == null ? void 0 : ts.Crew) || F("Crew", Sa), Kf = (t, a) =
6489
6489
  });
6490
6490
  Sn.index({ receiverId: 1 });
6491
6491
  var as;
6492
- const Ua = ((as = Y) == null ? void 0 : as.Invitations) || F("Invitations", Sn), bh = async (t) => {
6492
+ const Ua = ((as = Y) == null ? void 0 : as.Invitations) || F("Invitations", Sn), vh = async (t) => {
6493
6493
  const a = await Ua.findOne({
6494
6494
  ...t
6495
6495
  });
6496
6496
  return a || null;
6497
- }, vh = async (t) => await Ua.create({
6497
+ }, Mh = async (t) => await Ua.create({
6498
6498
  ...t
6499
- }), Mh = async (t) => {
6499
+ }), xh = async (t) => {
6500
6500
  await Ua.deleteMany({
6501
6501
  ...t
6502
6502
  });
@@ -6604,7 +6604,7 @@ const Da = ((ss = Y) == null ? void 0 : ss.Settings) || F("Settings", Un), N = a
6604
6604
  await N(t, {
6605
6605
  $push: { "crew.crewChannelIds": { channelId: s, crewId: a } }
6606
6606
  });
6607
- }, xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6607
+ }, kh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6608
6608
  __proto__: null,
6609
6609
  addCrewChannelId: Dp,
6610
6610
  randomizeEditoPrice: gp,
@@ -6624,7 +6624,7 @@ const Da = ((ss = Y) == null ? void 0 : ss.Settings) || F("Settings", Un), N = a
6624
6624
  setSuggestionChannel: fp
6625
6625
  }, Symbol.toStringTag, { value: "Module" })), Op = async (t) => await Da.create({
6626
6626
  guildId: t
6627
- }), kh = async (t, a = {}) => {
6627
+ }), Sh = async (t, a = {}) => {
6628
6628
  const s = await Da.findOne({ guildId: t }, a);
6629
6629
  return s || Op(t);
6630
6630
  };
@@ -6811,7 +6811,7 @@ const Dn = (t, a) => {
6811
6811
  n && a.push(n);
6812
6812
  }
6813
6813
  return a;
6814
- }, Sh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6814
+ }, Uh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6815
6815
  __proto__: null,
6816
6816
  getShopItem: Dn,
6817
6817
  getShopItemList: Ip
@@ -6876,7 +6876,7 @@ const Oa = ((ns = Y) == null ? void 0 : ns.Shop) || F("Shop", On), Ep = async (t
6876
6876
  items: [...a]
6877
6877
  }
6878
6878
  });
6879
- }, Uh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6879
+ }, Dh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6880
6880
  __proto__: null,
6881
6881
  buyShopItem: Np,
6882
6882
  publish: Pp,
@@ -6884,7 +6884,7 @@ const Oa = ((ns = Y) == null ? void 0 : ns.Shop) || F("Shop", On), Ep = async (t
6884
6884
  updateShopStats: Ap
6885
6885
  }, Symbol.toStringTag, { value: "Module" })), Hp = (t) => Oa.create({
6886
6886
  shopType: t
6887
- }), Dh = async (t, a = {}) => {
6887
+ }), Oh = async (t, a = {}) => {
6888
6888
  const s = await jp({ shopType: t }, a);
6889
6889
  return s || await Hp(t);
6890
6890
  }, jp = (t, a = {}) => Oa.findOne(t, a), Ba = new S({
@@ -6921,15 +6921,15 @@ const it = ((rs = Y) == null ? void 0 : rs.UserCrew) || F("UserCrew", Ba), Qp =
6921
6921
  percent: a
6922
6922
  }
6923
6923
  });
6924
- }, Oh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6924
+ }, Ch = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6925
6925
  __proto__: null,
6926
6926
  updatePercent: Gp
6927
- }, Symbol.toStringTag, { value: "Module" })), qp = (t) => it.findOne({ user: t }), Ch = async (t, a, s, n) => await it.create({
6927
+ }, Symbol.toStringTag, { value: "Module" })), qp = (t) => it.findOne({ user: t }), Bh = async (t, a, s, n) => await it.create({
6928
6928
  user: t,
6929
6929
  crew: a,
6930
6930
  percent: n,
6931
6931
  permission: s
6932
- }), Bh = (t) => it.exists({ user: t }), Bn = new S({
6932
+ }), $h = (t) => it.exists({ user: t }), Bn = new S({
6933
6933
  user: {
6934
6934
  type: S.Types.ObjectId,
6935
6935
  required: !0,
@@ -6964,7 +6964,7 @@ const $a = ((is = Y) == null ? void 0 : is.UserDailyReport) || F("UserDailyRepor
6964
6964
  previousMessageSent: a.questMeta.messageSent
6965
6965
  }
6966
6966
  });
6967
- }, $h = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6967
+ }, Th = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6968
6968
  __proto__: null,
6969
6969
  updateDailyReport: Vp
6970
6970
  }, Symbol.toStringTag, { value: "Module" })), $n = new S({
@@ -7008,14 +7008,14 @@ const Yt = ((ls = Y) == null ? void 0 : ls.UserGames) || F("UserGames", $n), Ta
7008
7008
  "guess.tries": 1
7009
7009
  }
7010
7010
  });
7011
- }, Th = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7011
+ }, Rh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7012
7012
  __proto__: null,
7013
7013
  resetGuessGame: Xp,
7014
7014
  setGuessGame: zp,
7015
7015
  updateGuessGame: Zp
7016
7016
  }, Symbol.toStringTag, { value: "Module" })), Tn = async (t) => await Yt.create({
7017
7017
  user: t
7018
- }), Rh = async (t, a) => {
7018
+ }), Yh = async (t, a) => {
7019
7019
  const s = await Yt.findOne({ user: t }, a);
7020
7020
  return s || await Tn(t);
7021
7021
  }, Jp = (t, a) => {
@@ -7063,13 +7063,14 @@ const Yt = ((ls = Y) == null ? void 0 : ls.UserGames) || F("UserGames", $n), Ta
7063
7063
  }, t0 = (t, a) => Pd(a).reduce(
7064
7064
  (s, [n, r]) => s && (t.itemList.get(n) ?? 0) >= (r ?? 0),
7065
7065
  !0
7066
- ), Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7066
+ ), a0 = (t) => Object.fromEntries(t.itemList), Fh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7067
7067
  __proto__: null,
7068
+ getItemList: a0,
7068
7069
  getUserEquipmentsCharacteristics: Ra,
7069
7070
  hasEnoughItemsForRecipe: e0,
7070
7071
  hasInventoryRequirements: t0,
7071
7072
  maxCraftQuantity: Kp
7072
- }, Symbol.toStringTag, { value: "Module" })), a0 = async (t) => {
7073
+ }, Symbol.toStringTag, { value: "Module" })), s0 = async (t) => {
7073
7074
  var s;
7074
7075
  const a = [];
7075
7076
  for (const n of Object.values(_n)) {
@@ -7082,7 +7083,7 @@ const Yt = ((ls = Y) == null ? void 0 : ls.UserGames) || F("UserGames", $n), Ta
7082
7083
  }
7083
7084
  }
7084
7085
  a.length > 0 && nt("userMetaUpdate", t.user._id, a);
7085
- }, s0 = async (t) => {
7086
+ }, n0 = async (t) => {
7086
7087
  var s;
7087
7088
  const a = [];
7088
7089
  for (const n of Object.values(bn)) {
@@ -7176,7 +7177,7 @@ lt.index({ user: 1 });
7176
7177
  lt.index({ "xp.amount": -1 });
7177
7178
  lt.index({ berry: -1 });
7178
7179
  lt.post("findOneAndUpdate", async function(t) {
7179
- await a0(t);
7180
+ await s0(t);
7180
7181
  });
7181
7182
  var os;
7182
7183
  const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn = async (t) => await Oe.create({
@@ -7189,37 +7190,37 @@ const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn =
7189
7190
  a,
7190
7191
  Ur(t.characteristics[a]) + t.scrolls[a]
7191
7192
  ])
7192
- ), n0 = (t) => Date.now() - t.xp.lastMessageWithXp.getTime() > 60 * 1e3, Fa = (t) => {
7193
+ ), r0 = (t) => Date.now() - t.xp.lastMessageWithXp.getTime() > 60 * 1e3, Fa = (t) => {
7193
7194
  const { boost: a } = t.xp;
7194
7195
  return (a !== null && Date.now() < a.getTime() ? 0.2 : 0) + (t.premium ? 0.5 : 0) + t.buffs.xp.global.reduce(
7195
7196
  (s, { expireAt: n, startAt: r, multiplier: i }) => s + ((r ?? /* @__PURE__ */ new Date()) <= /* @__PURE__ */ new Date() && !He(n) ? i : 0),
7196
7197
  0
7197
7198
  );
7198
- }, r0 = (t) => {
7199
+ }, i0 = (t) => {
7199
7200
  const a = t.trim().length, s = 2;
7200
7201
  return a < 10 ? 10 * s : a > 300 ? 300 * s : a * s;
7201
- }, i0 = (t, a, s) => (a *= 1 + Fa(t), Math.ceil(a * s)), l0 = (t, a) => {
7202
+ }, l0 = (t, a, s) => (a *= 1 + Fa(t), Math.ceil(a * s)), o0 = (t, a) => {
7202
7203
  const s = Yn(t);
7203
7204
  return a <= 0 ? a : Math.ceil(a * (s || 1));
7204
- }, o0 = (t) => t.buffs.cooldown.work.reduce(
7205
+ }, d0 = (t) => t.buffs.cooldown.work.reduce(
7205
7206
  (a, { expireAt: s, startAt: n, multiplier: r }) => a + (/* @__PURE__ */ new Date() >= (n ?? /* @__PURE__ */ new Date()) && !He(s) ? r : 0),
7206
7207
  1
7207
- ), d0 = (t) => t.buffs.drop.work.reduce(
7208
+ ), c0 = (t) => t.buffs.drop.work.reduce(
7208
7209
  (a, { expireAt: s, startAt: n, multiplier: r }) => a + (/* @__PURE__ */ new Date() >= (n ?? /* @__PURE__ */ new Date()) && !He(s) ? r : 0),
7209
7210
  1
7210
- ), c0 = (t) => t.buffs.berry.work.reduce(
7211
+ ), u0 = (t) => t.buffs.berry.work.reduce(
7211
7212
  (a, { expireAt: s, startAt: n, multiplier: r }) => a + (/* @__PURE__ */ new Date() >= (n ?? /* @__PURE__ */ new Date()) && !He(s) ? r : 0),
7212
7213
  1
7213
7214
  ), Yn = (t) => t.buffs.berry.global.reduce(
7214
7215
  (a, { expireAt: s, startAt: n, multiplier: r }) => a + (/* @__PURE__ */ new Date() >= (n ?? /* @__PURE__ */ new Date()) && !He(s) ? r : 0),
7215
7216
  1
7216
- ), u0 = (t) => t.buffs.cooldown.casino.reduce(
7217
+ ), f0 = (t) => t.buffs.cooldown.casino.reduce(
7217
7218
  (a, { expireAt: s, startAt: n, multiplier: r }) => a + (/* @__PURE__ */ new Date() >= (n ?? /* @__PURE__ */ new Date()) && !He(s) ? r : 0),
7218
7219
  1
7219
7220
  ), ve = async (t, a, s) => {
7220
7221
  const n = a ?? await Ft(t, { buffs: -1, xp: -1 }), r = s ?? await Ea(t, { itemList: -1, equipmentList: -1 });
7221
7222
  return ((Ya(n).vitality ?? 0) + Ra(r).vitality) * Or + Cr;
7222
- }, f0 = async (t, a, s, n) => {
7223
+ }, p0 = async (t, a, s, n) => {
7223
7224
  const r = s ?? await Ft(t, { buffs: -1, xp: -1 }), i = n ?? await Ea(t, { itemList: -1, equipmentList: -1 }), l = Jt(
7224
7225
  Ya(r),
7225
7226
  Ra(i),
@@ -7229,7 +7230,7 @@ const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn =
7229
7230
  if (l[c] < (a[c] ?? 0))
7230
7231
  return !1;
7231
7232
  return !0;
7232
- }, p0 = async (t) => (await Oe.aggregate([
7233
+ }, m0 = async (t) => (await Oe.aggregate([
7233
7234
  {
7234
7235
  $setWindowFields: {
7235
7236
  sortBy: { "xp.amount": -1 },
@@ -7240,7 +7241,7 @@ const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn =
7240
7241
  },
7241
7242
  { $match: { _id: t } },
7242
7243
  { $project: { rank: 1 } }
7243
- ]))[0], m0 = async (t) => (await Oe.aggregate([
7244
+ ]))[0], h0 = async (t) => (await Oe.aggregate([
7244
7245
  {
7245
7246
  $setWindowFields: {
7246
7247
  sortBy: { berry: -1 },
@@ -7251,7 +7252,7 @@ const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn =
7251
7252
  },
7252
7253
  { $match: { _id: t } },
7253
7254
  { $project: { rank: 1 } }
7254
- ]))[0], h0 = (t) => {
7255
+ ]))[0], y0 = (t) => {
7255
7256
  const a = [
7256
7257
  ...t.buffs.xp.global,
7257
7258
  ...t.buffs.berry.global,
@@ -7264,25 +7265,25 @@ const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn =
7264
7265
  if (s < 0 && /* @__PURE__ */ new Date() < r && (n ?? /* @__PURE__ */ new Date()) <= /* @__PURE__ */ new Date())
7265
7266
  return !0;
7266
7267
  return !1;
7267
- }, Fh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7268
+ }, Ih = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7268
7269
  __proto__: null,
7269
- calcBerry: l0,
7270
+ calcBerry: o0,
7270
7271
  calcBerryGlobalBuff: Yn,
7271
- calcBerryWorkBuff: c0,
7272
- calcCooldownCasinoBuff: u0,
7273
- calcCooldownWorkBuff: o0,
7274
- calcDropWorkBuff: d0,
7275
- calcMessageXp: r0,
7276
- calcXp: i0,
7272
+ calcBerryWorkBuff: u0,
7273
+ calcCooldownCasinoBuff: f0,
7274
+ calcCooldownWorkBuff: d0,
7275
+ calcDropWorkBuff: c0,
7276
+ calcMessageXp: i0,
7277
+ calcXp: l0,
7277
7278
  calcXpBoost: Fa,
7278
- getBerryRank: m0,
7279
- getGlobalRank: p0,
7279
+ getBerryRank: h0,
7280
+ getGlobalRank: m0,
7280
7281
  getMaxHp: ve,
7281
7282
  getTotalCharacteristics: Ya,
7282
- hasCharacteristicRequirement: f0,
7283
- hasMalusBuff: h0,
7284
- isCooldownForXpPassed: n0
7285
- }, Symbol.toStringTag, { value: "Module" })), y0 = (t, a) => Oe.findOneAndUpdate({ user: t }, a, {
7283
+ hasCharacteristicRequirement: p0,
7284
+ hasMalusBuff: y0,
7285
+ isCooldownForXpPassed: r0
7286
+ }, Symbol.toStringTag, { value: "Module" })), g0 = (t, a) => Oe.findOneAndUpdate({ user: t }, a, {
7286
7287
  returnDocument: "after",
7287
7288
  upsert: !0
7288
7289
  }), P = async (t, a) => {
@@ -7290,11 +7291,11 @@ const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn =
7290
7291
  returnDocument: "after",
7291
7292
  upsert: !0
7292
7293
  });
7293
- }, g0 = async (t) => {
7294
+ }, _0 = async (t) => {
7294
7295
  await P(t, {
7295
7296
  $set: { "xp.lastMessageWithXp": /* @__PURE__ */ new Date() }
7296
7297
  });
7297
- }, _0 = async (t, a) => {
7298
+ }, w0 = async (t, a) => {
7298
7299
  await P(t, { $inc: { "xp.amount": a } });
7299
7300
  }, Fn = async (t, a) => {
7300
7301
  await P(t, [
@@ -7306,12 +7307,12 @@ const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn =
7306
7307
  }
7307
7308
  }
7308
7309
  ]);
7309
- }, w0 = async (t, a) => {
7310
- await P(t, { $set: { premium: a } });
7311
7310
  }, b0 = async (t, a) => {
7311
+ await P(t, { $set: { premium: a } });
7312
+ }, v0 = async (t, a) => {
7312
7313
  const {
7313
7314
  xp: { boost: s }
7314
- } = await y0(t, [
7315
+ } = await g0(t, [
7315
7316
  {
7316
7317
  $set: {
7317
7318
  "xp.boost": {
@@ -7327,7 +7328,7 @@ const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn =
7327
7328
  }
7328
7329
  ]);
7329
7330
  return s;
7330
- }, v0 = async (t, a, s, n, r, i) => {
7331
+ }, M0 = async (t, a, s, n, r, i) => {
7331
7332
  await P(t, [
7332
7333
  {
7333
7334
  $set: {
@@ -7421,7 +7422,7 @@ const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn =
7421
7422
  }
7422
7423
  }
7423
7424
  ]);
7424
- }, M0 = async (t, a, {
7425
+ }, x0 = async (t, a, {
7425
7426
  userMeta: s,
7426
7427
  userInventory: n
7427
7428
  }) => {
@@ -7429,7 +7430,7 @@ const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn =
7429
7430
  await P(t, {
7430
7431
  $set: { hp: r.hp + Math.floor(Math.min(a, c)) }
7431
7432
  });
7432
- }, x0 = async (t, a) => {
7433
+ }, k0 = async (t, a) => {
7433
7434
  await P(t, [
7434
7435
  {
7435
7436
  $set: { hp: { $max: [{ $add: ["$hp", -a] }, 0] } }
@@ -7451,21 +7452,21 @@ const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn =
7451
7452
  }
7452
7453
  }
7453
7454
  ]);
7454
- }, k0 = async (t, a) => {
7455
+ }, S0 = async (t, a) => {
7455
7456
  const s = await ve(t), n = Object.fromEntries(
7456
7457
  Object.entries(a).filter(([, r]) => r !== 0).map(([r, i]) => [`characteristics.${r}`, i])
7457
7458
  );
7458
7459
  await P(t, {
7459
7460
  $inc: n
7460
7461
  }), je(t, s);
7461
- }, S0 = async (t, a) => {
7462
+ }, U0 = async (t, a) => {
7462
7463
  const s = await ve(t), n = Object.fromEntries(
7463
7464
  Object.entries(a).filter(([, r]) => r !== 0).map(([r, i]) => [`scrolls.${r}`, i])
7464
7465
  );
7465
7466
  await P(t, {
7466
7467
  $inc: n
7467
7468
  }), je(t, s);
7468
- }, U0 = async (t, a, s) => {
7469
+ }, D0 = async (t, a, s) => {
7469
7470
  const n = await ve(t, s), r = {
7470
7471
  vitality: 0,
7471
7472
  strength: 0,
@@ -7490,34 +7491,34 @@ const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn =
7490
7491
  berry: -1e8
7491
7492
  }
7492
7493
  }), je(t, n);
7493
- }, D0 = async (t) => {
7494
+ }, O0 = async (t) => {
7494
7495
  await P(t, { $set: { "xp.voice.minutesInVoiceToday": 0 } });
7495
- }, O0 = async (t, a) => {
7496
+ }, C0 = async (t, a) => {
7496
7497
  await P(t, {
7497
7498
  $inc: { "xp.voice.minutesInVoiceToday": a }
7498
7499
  });
7499
- }, C0 = async (t, a) => {
7500
+ }, B0 = async (t, a) => {
7500
7501
  await P(t, {
7501
7502
  $set: { "xp.voice.lastConnection": a }
7502
7503
  });
7503
- }, Ih = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7504
+ }, Eh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7504
7505
  __proto__: null,
7505
7506
  addBerry: Fn,
7506
- addCharacteristics: k0,
7507
- addMinutesInVoiceToday: O0,
7508
- addScrollCharacteristic: S0,
7509
- addXp: _0,
7510
- gainHp: M0,
7511
- loseHp: x0,
7512
- resetCharacteristics: U0,
7513
- resetMinutesInVoiceToday: D0,
7514
- updateBoost: b0,
7515
- updateBuff: v0,
7507
+ addCharacteristics: S0,
7508
+ addMinutesInVoiceToday: C0,
7509
+ addScrollCharacteristic: U0,
7510
+ addXp: w0,
7511
+ gainHp: x0,
7512
+ loseHp: k0,
7513
+ resetCharacteristics: D0,
7514
+ resetMinutesInVoiceToday: O0,
7515
+ updateBoost: v0,
7516
+ updateBuff: M0,
7516
7517
  updateHp: je,
7517
- updateLastMessageTime: g0,
7518
- updateLastVoiceConnection: C0,
7519
- updatePremium: w0
7520
- }, Symbol.toStringTag, { value: "Module" })), B0 = async (t) => {
7518
+ updateLastMessageTime: _0,
7519
+ updateLastVoiceConnection: B0,
7520
+ updatePremium: b0
7521
+ }, Symbol.toStringTag, { value: "Module" })), $0 = async (t) => {
7521
7522
  var s;
7522
7523
  const a = [];
7523
7524
  for (const n of Object.values(gn)) {
@@ -7548,7 +7549,7 @@ const Oe = ((os = Y) == null ? void 0 : os.UserMeta) || F("UserMeta", lt), Rn =
7548
7549
  );
7549
7550
  Ia.index({ user: 1 });
7550
7551
  Ia.post("findOneAndUpdate", async function(t) {
7551
- await B0(t);
7552
+ await $0(t);
7552
7553
  });
7553
7554
  var ds;
7554
7555
  const It = ((ds = Y) == null ? void 0 : ds.UserInventory) || F("UserInventory", Ia), Me = async (t, a) => {
@@ -7557,7 +7558,7 @@ const It = ((ds = Y) == null ? void 0 : ds.UserInventory) || F("UserInventory",
7557
7558
  });
7558
7559
  }, Ce = async (t, a, s) => {
7559
7560
  await Me(t, { $inc: { [`itemList.${a}`]: s } });
7560
- }, $0 = async (t, a) => {
7561
+ }, T0 = async (t, a) => {
7561
7562
  await Me(t, {
7562
7563
  $inc: Object.fromEntries(
7563
7564
  Object.entries(a).filter(([, s]) => s > 0).map(([s, n]) => [`itemList.${s}`, n])
@@ -7573,48 +7574,48 @@ const It = ((ds = Y) == null ? void 0 : ds.UserInventory) || F("UserInventory",
7573
7574
  }
7574
7575
  }
7575
7576
  ]);
7576
- }, T0 = async (t, a) => {
7577
+ }, R0 = async (t, a) => {
7577
7578
  await Me(t, { $set: { [`itemList.${a}`]: 0 } });
7578
7579
  }, En = async (t, a) => {
7579
7580
  await Me(t, { $push: { equipmentList: { $each: a } } });
7580
- }, R0 = async (t, a, s) => {
7581
+ }, Y0 = async (t, a, s) => {
7581
7582
  const n = await ve(t);
7582
7583
  await Me(t, {
7583
7584
  $set: {
7584
7585
  [`equippedItems.${a}`]: s
7585
7586
  }
7586
7587
  }), await je(t, n);
7587
- }, Y0 = async (t, a) => {
7588
+ }, F0 = async (t, a) => {
7588
7589
  const s = await ve(t);
7589
7590
  await Me(t, {
7590
7591
  $set: {
7591
7592
  [`equippedItems.${a}`]: null
7592
7593
  }
7593
7594
  }), await je(t, s);
7594
- }, F0 = async (t, a, s, n, r) => {
7595
+ }, I0 = async (t, a, s, n, r) => {
7595
7596
  for (const { itemId: c, size: h } of a)
7596
7597
  await In(t, c, h * n);
7597
7598
  const { itemId: i, size: l } = s;
7598
7599
  _s(i) ? await En(t, [{ id: i, seed: r }]) : await Ce(t, i, l * n);
7599
- }, I0 = async (t, a) => {
7600
+ }, E0 = async (t, a) => {
7600
7601
  await Me(t, { $addToSet: { recipes: a } });
7601
- }, Eh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7602
+ }, Ah = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7602
7603
  __proto__: null,
7603
7604
  addEquipments: En,
7604
7605
  addInventoryItem: Ce,
7605
- addInventoryItems: $0,
7606
- craftItem: F0,
7607
- equip: R0,
7608
- removeAllItemInventory: T0,
7606
+ addInventoryItems: T0,
7607
+ craftItem: I0,
7608
+ equip: Y0,
7609
+ removeAllItemInventory: R0,
7609
7610
  removeInventoryItem: In,
7610
- unequip: Y0,
7611
- unlockRecipe: I0
7611
+ unequip: F0,
7612
+ unlockRecipe: E0
7612
7613
  }, Symbol.toStringTag, { value: "Module" })), An = async (t) => await It.create({
7613
7614
  user: t
7614
7615
  }), Ea = async (t, a = {}) => {
7615
7616
  const s = await It.findOne({ user: t }, a);
7616
7617
  return s || await An(t);
7617
- }, E0 = async (t) => {
7618
+ }, A0 = async (t) => {
7618
7619
  var s;
7619
7620
  const a = [];
7620
7621
  for (const n of Object.values(wn)) {
@@ -7642,28 +7643,28 @@ const It = ((ds = Y) == null ? void 0 : ds.UserInventory) || F("UserInventory",
7642
7643
  });
7643
7644
  Aa.index({ user: 1 });
7644
7645
  Aa.post("findOneAndUpdate", async function(t) {
7645
- await E0(t);
7646
+ await A0(t);
7646
7647
  });
7647
7648
  var cs;
7648
7649
  const Et = ((cs = Y) == null ? void 0 : cs.UserOrnaments) || F("UserOrnaments", Aa), se = async (t, a) => {
7649
7650
  await Et.updateOne({ user: t }, a, { upsert: !0 });
7650
7651
  }, Na = async (t, a) => {
7651
7652
  await se(t, { $addToSet: { unlockedTitles: a } });
7652
- }, A0 = async (t, a) => {
7653
+ }, N0 = async (t, a) => {
7653
7654
  await se(t, {
7654
7655
  $addToSet: { unlockedTitles: { $each: a } }
7655
7656
  });
7656
- }, N0 = async (t, a) => {
7657
+ }, P0 = async (t, a) => {
7657
7658
  await se(t, { $set: { selectedTitle: a } });
7658
7659
  }, Nn = async (t, a) => {
7659
7660
  await se(t, {
7660
7661
  $addToSet: { unlockedBackgrounds: a }
7661
7662
  });
7662
- }, P0 = async (t, a) => {
7663
+ }, L0 = async (t, a) => {
7663
7664
  await se(t, {
7664
7665
  $addToSet: { unlockedBackgrounds: { $each: a } }
7665
7666
  });
7666
- }, L0 = async (t, a) => {
7667
+ }, H0 = async (t, a) => {
7667
7668
  await se(t, {
7668
7669
  $set: { selectedBackground: a }
7669
7670
  });
@@ -7689,20 +7690,20 @@ const Et = ((cs = Y) == null ? void 0 : cs.UserOrnaments) || F("UserOrnaments",
7689
7690
  await se(t, {
7690
7691
  $addToSet: { unlockedProfileAssets: a }
7691
7692
  });
7692
- }, Ah = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7693
+ }, Nh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7693
7694
  __proto__: null,
7694
- selectBackground: L0,
7695
- selectTitle: N0,
7695
+ selectBackground: H0,
7696
+ selectTitle: P0,
7696
7697
  unlockBackground: Nn,
7697
- unlockBackgrounds: P0,
7698
+ unlockBackgrounds: L0,
7698
7699
  unlockBadge: Pn,
7699
7700
  unlockFactionBadge: Ln,
7700
7701
  unlockProfileAsset: Hn,
7701
7702
  unlockTitle: Na,
7702
- unlockTitles: A0
7703
+ unlockTitles: N0
7703
7704
  }, Symbol.toStringTag, { value: "Module" })), jn = async (t) => await Et.create({
7704
7705
  user: t
7705
- }), Nh = async (t, a) => {
7706
+ }), Ph = async (t, a) => {
7706
7707
  const s = await Et.findOne({ user: t }, a);
7707
7708
  return s || await jn(t);
7708
7709
  }, Qn = (t, a) => t.completed.includes(a), Gn = (t, a) => {
@@ -7716,7 +7717,7 @@ const Et = ((cs = Y) == null ? void 0 : cs.UserOrnaments) || F("UserOrnaments",
7716
7717
  return Tr.find(
7717
7718
  (n) => n.strength === s && n.faction === a
7718
7719
  );
7719
- }, Ph = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7720
+ }, Lh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7720
7721
  __proto__: null,
7721
7722
  getFactionTitle: Wn,
7722
7723
  getFactionTitleStrength: qn,
@@ -7756,7 +7757,7 @@ const At = ((us = Y) == null ? void 0 : us.UserQuest) || F("UserQuest", Vn), Ze
7756
7757
  }) : await Ze(t, {
7757
7758
  $set: { lastFullComplete: /* @__PURE__ */ new Date(), streak: 1 }
7758
7759
  });
7759
- }, Lh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7760
+ }, Hh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7760
7761
  __proto__: null,
7761
7762
  completeDailyQuest: Xn,
7762
7763
  completeQuest: zn,
@@ -7837,7 +7838,7 @@ const At = ((us = Y) == null ? void 0 : us.UserQuest) || F("UserQuest", Vn), Ze
7837
7838
  });
7838
7839
  Ha.index({ user: 1 });
7839
7840
  Ha.post("findOneAndUpdate", async function(t) {
7840
- await s0(t);
7841
+ await n0(t);
7841
7842
  });
7842
7843
  var fs;
7843
7844
  const Ue = ((fs = Y) == null ? void 0 : fs.UserQuestMeta) || F("UserQuestMeta", Ha), k = async (t, a) => {
@@ -7845,15 +7846,15 @@ const Ue = ((fs = Y) == null ? void 0 : fs.UserQuestMeta) || F("UserQuestMeta",
7845
7846
  upsert: !0,
7846
7847
  returnDocument: "after"
7847
7848
  });
7848
- }, H0 = async (t) => {
7849
- await k(t, { $inc: { work: 1 } });
7850
7849
  }, j0 = async (t) => {
7851
- await k(t, { $set: { hadMoreThanZeroBerry: !0 } });
7850
+ await k(t, { $inc: { work: 1 } });
7852
7851
  }, Q0 = async (t) => {
7853
- await k(t, { $set: { sevenQuitteOuDouble: !0 } });
7852
+ await k(t, { $set: { hadMoreThanZeroBerry: !0 } });
7854
7853
  }, G0 = async (t) => {
7854
+ await k(t, { $set: { sevenQuitteOuDouble: !0 } });
7855
+ }, q0 = async (t) => {
7855
7856
  await k(t, { $inc: { black_jack: 1 } });
7856
- }, q0 = async (t, a, s) => {
7857
+ }, W0 = async (t, a, s) => {
7857
7858
  await k(t, {
7858
7859
  $push: {
7859
7860
  lastGames: {
@@ -7863,9 +7864,9 @@ const Ue = ((fs = Y) == null ? void 0 : fs.UserQuestMeta) || F("UserQuestMeta",
7863
7864
  }
7864
7865
  }
7865
7866
  });
7866
- }, W0 = async (t) => {
7867
- await k(t, { $inc: { draw: 1 } });
7868
7867
  }, V0 = async (t) => {
7868
+ await k(t, { $inc: { draw: 1 } });
7869
+ }, z0 = async (t) => {
7869
7870
  const a = /* @__PURE__ */ new Date();
7870
7871
  a.setDate(a.getDate() - 1), a.setHours(0, 0, 0, 0);
7871
7872
  const s = /* @__PURE__ */ new Date();
@@ -7889,9 +7890,9 @@ const Ue = ((fs = Y) == null ? void 0 : fs.UserQuestMeta) || F("UserQuestMeta",
7889
7890
  $set: { "bet666.last": /* @__PURE__ */ new Date(), "bet666.amount": 1 }
7890
7891
  }
7891
7892
  );
7892
- }, z0 = async (t, a) => {
7893
- await k(t, { $inc: { totalBet: a } });
7894
7893
  }, X0 = async (t, a) => {
7894
+ await k(t, { $inc: { totalBet: a } });
7895
+ }, Z0 = async (t, a) => {
7895
7896
  await k(t, [
7896
7897
  {
7897
7898
  $set: {
@@ -7912,51 +7913,51 @@ const Ue = ((fs = Y) == null ? void 0 : fs.UserQuestMeta) || F("UserQuestMeta",
7912
7913
  totalSpentInShop: a
7913
7914
  }
7914
7915
  });
7915
- }, Z0 = async (t, a, s) => {
7916
+ }, J0 = async (t, a, s) => {
7916
7917
  !_s(s) && Sr(gs(s)) && await k(t, {
7917
7918
  $inc: { "crafts.cookedMeal": a }
7918
7919
  }), await k(t, {
7919
7920
  $inc: { "crafts.total": a }
7920
7921
  });
7921
- }, J0 = async (t) => {
7922
- await k(t, { $set: { reportedSomeone: !0 } });
7923
7922
  }, K0 = async (t) => {
7924
- await k(t, { $inc: { randomMessage: 1 } });
7923
+ await k(t, { $set: { reportedSomeone: !0 } });
7925
7924
  }, em = async (t) => {
7926
- await k(t, { $inc: { botPing: 1 } });
7925
+ await k(t, { $inc: { randomMessage: 1 } });
7927
7926
  }, tm = async (t) => {
7928
- await k(t, { $inc: { guessInOne: 1 } });
7927
+ await k(t, { $inc: { botPing: 1 } });
7929
7928
  }, am = async (t) => {
7930
- await k(t, { $set: { hasCelebrateBirthday: !0 } });
7929
+ await k(t, { $inc: { guessInOne: 1 } });
7931
7930
  }, sm = async (t) => {
7932
- await k(t, { $inc: { double_six: 1 } });
7931
+ await k(t, { $set: { hasCelebrateBirthday: !0 } });
7933
7932
  }, nm = async (t) => {
7933
+ await k(t, { $inc: { double_six: 1 } });
7934
+ }, rm = async (t) => {
7934
7935
  await k(t, { $inc: { drawDoubleSix: 1 } });
7935
- }, rm = async (t, a) => {
7936
- a ? await k(t, { $set: { timeAt10Percent: 0 } }) : await k(t, { $inc: { timeAt10Percent: 1 } });
7937
7936
  }, im = async (t, a) => {
7937
+ a ? await k(t, { $set: { timeAt10Percent: 0 } }) : await k(t, { $inc: { timeAt10Percent: 1 } });
7938
+ }, lm = async (t, a) => {
7938
7939
  a ? await k(t, { $set: { timeAt90Percent: 0 } }) : await k(t, { $inc: { timeAt90Percent: 1 } });
7939
- }, lm = async (t) => {
7940
- await k(t, { $set: { tagEveryone: !0 } });
7941
7940
  }, om = async (t) => {
7942
- await k(t, { $set: { betMin: !0 } });
7941
+ await k(t, { $set: { tagEveryone: !0 } });
7943
7942
  }, dm = async (t) => {
7944
- await k(t, { $set: { loseEverything: !0 } });
7943
+ await k(t, { $set: { betMin: !0 } });
7945
7944
  }, cm = async (t) => {
7946
- await k(t, { $set: { bet10M: !0 } });
7945
+ await k(t, { $set: { loseEverything: !0 } });
7947
7946
  }, um = async (t) => {
7948
- await k(t, { $set: { winBet10M: !0 } });
7947
+ await k(t, { $set: { bet10M: !0 } });
7949
7948
  }, fm = async (t) => {
7949
+ await k(t, { $set: { winBet10M: !0 } });
7950
+ }, pm = async (t) => {
7950
7951
  await k(t, { $set: { lose10M: !0 } });
7951
- }, pm = async (t, a) => {
7952
+ }, mm = async (t, a) => {
7952
7953
  await k(t, {
7953
7954
  $addToSet: { writeDifferentChat: a }
7954
7955
  });
7955
- }, mm = async (t) => {
7956
+ }, hm = async (t) => {
7956
7957
  await k(t, {
7957
7958
  $inc: { messageSent: 1 }
7958
7959
  });
7959
- }, hm = async (t) => {
7960
+ }, ym = async (t) => {
7960
7961
  const a = /* @__PURE__ */ new Date();
7961
7962
  a.setDate(a.getDate() - 1), a.setHours(0, 0, 0, 0);
7962
7963
  const s = /* @__PURE__ */ new Date();
@@ -7983,47 +7984,47 @@ const Ue = ((fs = Y) == null ? void 0 : fs.UserQuestMeta) || F("UserQuestMeta",
7983
7984
  $set: { "edito.lastTimeRead": /* @__PURE__ */ new Date(), "edito.readToday": 1 }
7984
7985
  }
7985
7986
  );
7986
- }, ym = async (t, a) => {
7987
+ }, gm = async (t, a) => {
7987
7988
  await k(t, { $inc: { totalMinutesInVoice: a } });
7988
- }, Hh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7989
+ }, jh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7989
7990
  __proto__: null,
7990
- addTotalMinutesInVoice: ym,
7991
- addWrittenTextChannel: pm,
7992
- bet666: V0,
7993
- botPingIncrement: em,
7994
- drawDoubleSix: nm,
7995
- drawIncrement: W0,
7996
- hadMoreThanZeroBerry: j0,
7997
- hasBet10M: cm,
7998
- hasBetMin: om,
7999
- hasCelebrateBirthday: am,
8000
- hasGuessInOne: tm,
8001
- hasLose10M: fm,
8002
- hasLoseEverything: dm,
8003
- hasReportedSomeone: J0,
8004
- hasSevenQod: Q0,
8005
- hasTagEveryone: lm,
8006
- hasWinBet10M: um,
8007
- incrementMessageSend: mm,
8008
- randomMessageIncrement: K0,
8009
- readEdito: hm,
8010
- updateCrafts: Z0,
8011
- updateCrew10Percent: rm,
8012
- updateCrew90Percent: im,
8013
- updateLastGames: q0,
8014
- updateRps: X0,
8015
- updateTotalBet: z0,
7991
+ addTotalMinutesInVoice: gm,
7992
+ addWrittenTextChannel: mm,
7993
+ bet666: z0,
7994
+ botPingIncrement: tm,
7995
+ drawDoubleSix: rm,
7996
+ drawIncrement: V0,
7997
+ hadMoreThanZeroBerry: Q0,
7998
+ hasBet10M: um,
7999
+ hasBetMin: dm,
8000
+ hasCelebrateBirthday: sm,
8001
+ hasGuessInOne: am,
8002
+ hasLose10M: pm,
8003
+ hasLoseEverything: cm,
8004
+ hasReportedSomeone: K0,
8005
+ hasSevenQod: G0,
8006
+ hasTagEveryone: om,
8007
+ hasWinBet10M: fm,
8008
+ incrementMessageSend: hm,
8009
+ randomMessageIncrement: em,
8010
+ readEdito: ym,
8011
+ updateCrafts: J0,
8012
+ updateCrew10Percent: im,
8013
+ updateCrew90Percent: lm,
8014
+ updateLastGames: W0,
8015
+ updateRps: Z0,
8016
+ updateTotalBet: X0,
8016
8017
  updateTotalSpentInShop: er,
8017
- winBlackjack: G0,
8018
- winDoubleSix: sm,
8019
- workIncrement: H0
8020
- }, Symbol.toStringTag, { value: "Module" })), gm = (t, a) => {
8018
+ winBlackjack: q0,
8019
+ winDoubleSix: nm,
8020
+ workIncrement: j0
8021
+ }, Symbol.toStringTag, { value: "Module" })), _m = (t, a) => {
8021
8022
  var s;
8022
8023
  return (s = t.unlocked) == null ? void 0 : s[a];
8023
- }, _m = (t, a, s) => a in t.obtainedRewards ? t.obtainedRewards[a].includes(s) : !1, jh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8024
+ }, wm = (t, a, s) => a in t.obtainedRewards ? t.obtainedRewards[a].includes(s) : !1, Qh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8024
8025
  __proto__: null,
8025
- alreadyObtainedRaidReward: _m,
8026
- hasUnlockedRaid: gm
8026
+ alreadyObtainedRaidReward: wm,
8027
+ hasUnlockedRaid: _m
8027
8028
  }, Symbol.toStringTag, { value: "Module" })), tr = new S(
8028
8029
  {
8029
8030
  user: {
@@ -8056,9 +8057,9 @@ const Nt = ((ps = Y) == null ? void 0 : ps.UserRaid) || F("UserRaid", tr), Be =
8056
8057
  await Nt.updateOne({ user: t }, a, {
8057
8058
  upsert: !0
8058
8059
  });
8059
- }, wm = async (t, a) => {
8060
- await Be(t, { $set: { [`unlocked.${a}`]: !0 } });
8061
8060
  }, bm = async (t, a) => {
8061
+ await Be(t, { $set: { [`unlocked.${a}`]: !0 } });
8062
+ }, vm = async (t, a) => {
8062
8063
  await Be(t, [
8063
8064
  {
8064
8065
  $set: {
@@ -8077,7 +8078,7 @@ const Nt = ((ps = Y) == null ? void 0 : ps.UserRaid) || F("UserRaid", tr), Be =
8077
8078
  }
8078
8079
  }
8079
8080
  ]);
8080
- }, vm = async (t, a, s, n) => {
8081
+ }, Mm = async (t, a, s, n) => {
8081
8082
  const r = Date.now();
8082
8083
  return await Be(t, {
8083
8084
  $set: {
@@ -8094,55 +8095,55 @@ const Nt = ((ps = Y) == null ? void 0 : ps.UserRaid) || F("UserRaid", tr), Be =
8094
8095
  }
8095
8096
  }
8096
8097
  }), r;
8097
- }, Mm = async (t) => {
8098
+ }, xm = async (t) => {
8098
8099
  await Be(t, {
8099
8100
  $set: {
8100
8101
  currentRaid: void 0
8101
8102
  }
8102
8103
  });
8103
- }, xm = async (t) => {
8104
+ }, km = async (t) => {
8104
8105
  await Be(t, {
8105
8106
  $set: {
8106
8107
  "currentRaid.progression": []
8107
8108
  }
8108
8109
  });
8109
- }, km = async (t, a) => {
8110
+ }, Sm = async (t, a) => {
8110
8111
  await Be(t, {
8111
8112
  $push: {
8112
8113
  "currentRaid.progression": a
8113
8114
  }
8114
8115
  });
8115
- }, Sm = async (t, a, s) => {
8116
+ }, Um = async (t, a, s) => {
8116
8117
  await Be(t, {
8117
8118
  $push: {
8118
8119
  [`obtainedRewards.${a}`]: s
8119
8120
  }
8120
8121
  });
8121
- }, Qh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8122
+ }, Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8122
8123
  __proto__: null,
8123
- claimReward: Sm,
8124
- progressRaid: km,
8125
- reduceRaidCooldown: bm,
8126
- resetRaid: Mm,
8127
- resetRaidProgression: xm,
8128
- startRaid: vm,
8129
- unlockRaid: wm
8124
+ claimReward: Um,
8125
+ progressRaid: Sm,
8126
+ reduceRaidCooldown: vm,
8127
+ resetRaid: xm,
8128
+ resetRaidProgression: km,
8129
+ startRaid: Mm,
8130
+ unlockRaid: bm
8130
8131
  }, Symbol.toStringTag, { value: "Module" })), ar = async (t) => await Nt.create({
8131
8132
  user: t
8132
- }), Gh = async (t) => {
8133
+ }), qh = async (t) => {
8133
8134
  const a = await Nt.findOne({ user: t });
8134
8135
  return a || await ar(t);
8135
- }, Um = (t, a, s) => {
8136
+ }, Dm = (t, a, s) => {
8136
8137
  const n = ws()[a], r = t.limit ? t.limit[a] : void 0;
8137
8138
  return t.lastShopId !== s ? !1 : !!(n && r && r >= n);
8138
- }, Dm = (t, a, s, n) => {
8139
+ }, Om = (t, a, s, n) => {
8139
8140
  var l;
8140
8141
  const r = ws()[a], i = (l = t.limit) == null ? void 0 : l[a];
8141
8142
  return r ? t.lastShopId !== s ? r : i ? r - i : Math.min(r, n) : n;
8142
- }, qh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8143
+ }, Wh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8143
8144
  __proto__: null,
8144
- getShopItemRest: Dm,
8145
- isShopBuyLimitReached: Um
8145
+ getShopItemRest: Om,
8146
+ isShopBuyLimitReached: Dm
8146
8147
  }, Symbol.toStringTag, { value: "Module" })), sr = new S(
8147
8148
  {
8148
8149
  user: {
@@ -8158,12 +8159,12 @@ const Nt = ((ps = Y) == null ? void 0 : ps.UserRaid) || F("UserRaid", tr), Be =
8158
8159
  );
8159
8160
  sr.index({ user: 1 });
8160
8161
  var ms;
8161
- const ja = ((ms = Y) == null ? void 0 : ms.UserShop) || F("UserShop", sr), Om = async (t, a) => {
8162
+ const ja = ((ms = Y) == null ? void 0 : ms.UserShop) || F("UserShop", sr), Cm = async (t, a) => {
8162
8163
  await ja.updateOne({ user: t }, a, {
8163
8164
  upsert: !0
8164
8165
  });
8165
- }, Cm = async (t, a, s, n) => {
8166
- await Om(t, [
8166
+ }, Bm = async (t, a, s, n) => {
8167
+ await Cm(t, [
8167
8168
  {
8168
8169
  $set: {
8169
8170
  [`limit.${a}`]: {
@@ -8178,9 +8179,9 @@ const ja = ((ms = Y) == null ? void 0 : ms.UserShop) || F("UserShop", sr), Om =
8178
8179
  }
8179
8180
  }
8180
8181
  ]);
8181
- }, Wh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8182
+ }, Vh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8182
8183
  __proto__: null,
8183
- increaseShopBuyLimit: Cm
8184
+ increaseShopBuyLimit: Bm
8184
8185
  }, Symbol.toStringTag, { value: "Module" })), ie = {
8185
8186
  localField: "_id",
8186
8187
  foreignField: "user",
@@ -8228,12 +8229,12 @@ q.post("deleteOne", async function() {
8228
8229
  await It.deleteOne({ user: t }), await Yt.deleteOne({ user: t }), await Et.deleteOne({ user: t }), await Nt.deleteOne({ user: t }), await it.deleteOne({ user: t }), await $a.deleteOne({ user: t }), await ja.deleteOne({ user: t }), await Oe.deleteOne({ user: t }), await At.deleteOne({ user: t }), await Ue.deleteOne({ user: t });
8229
8230
  });
8230
8231
  var hs;
8231
- const X = ((hs = Y) == null ? void 0 : hs.User) || F("User", q), Bm = (t) => X.create({
8232
+ const X = ((hs = Y) == null ? void 0 : hs.User) || F("User", q), $m = (t) => X.create({
8232
8233
  userId: t
8233
8234
  }), nr = async (t, a = {}) => {
8234
- const s = await $m({ userId: t }, a);
8235
- return s || await Bm(t);
8236
- }, $m = (t, a = {}) => X.findOne(t, a), Tm = () => X.aggregate([
8235
+ const s = await Tm({ userId: t }, a);
8236
+ return s || await $m(t);
8237
+ }, Tm = (t, a = {}) => X.findOne(t, a), Rm = () => X.aggregate([
8237
8238
  {
8238
8239
  $match: {
8239
8240
  birthday: { $ne: null }
@@ -8290,7 +8291,7 @@ const X = ((hs = Y) == null ? void 0 : hs.User) || F("User", q), Bm = (t) => X.c
8290
8291
  nextBirthday: 1
8291
8292
  }
8292
8293
  }
8293
- ]), Rm = async (t) => await nr(t, { birthday: 1 }), Ym = async (t, a) => (await X.aggregate([
8294
+ ]), Ym = async (t) => await nr(t, { birthday: 1 }), Fm = async (t, a) => (await X.aggregate([
8294
8295
  {
8295
8296
  $lookup: {
8296
8297
  from: "usermetas",
@@ -8313,7 +8314,7 @@ const X = ((hs = Y) == null ? void 0 : hs.User) || F("User", q), Bm = (t) => X.c
8313
8314
  rank: 1
8314
8315
  }
8315
8316
  }
8316
- ]))[0], Fm = async (t) => X.aggregate([
8317
+ ]))[0], Im = async (t) => X.aggregate([
8317
8318
  { $match: { faction: t } },
8318
8319
  {
8319
8320
  $lookup: {
@@ -8333,7 +8334,7 @@ const X = ((hs = Y) == null ? void 0 : hs.User) || F("User", q), Bm = (t) => X.c
8333
8334
  "meta.xp.amount": 1
8334
8335
  }
8335
8336
  }
8336
- ]), Im = async () => X.aggregate([
8337
+ ]), Em = async () => X.aggregate([
8337
8338
  {
8338
8339
  $lookup: {
8339
8340
  from: "usermetas",
@@ -8352,7 +8353,7 @@ const X = ((hs = Y) == null ? void 0 : hs.User) || F("User", q), Bm = (t) => X.c
8352
8353
  "meta.xp.amount": 1
8353
8354
  }
8354
8355
  }
8355
- ]), Em = async () => X.aggregate([
8356
+ ]), Am = async () => X.aggregate([
8356
8357
  {
8357
8358
  $lookup: {
8358
8359
  from: "usermetas",
@@ -8371,7 +8372,7 @@ const X = ((hs = Y) == null ? void 0 : hs.User) || F("User", q), Bm = (t) => X.c
8371
8372
  "meta.berry": 1
8372
8373
  }
8373
8374
  }
8374
- ]), Am = async () => X.aggregate([
8375
+ ]), Nm = async () => X.aggregate([
8375
8376
  {
8376
8377
  $lookup: {
8377
8378
  from: "userquests",
@@ -8395,7 +8396,7 @@ const X = ((hs = Y) == null ? void 0 : hs.User) || F("User", q), Bm = (t) => X.c
8395
8396
  "quest.completed": 1
8396
8397
  }
8397
8398
  }
8398
- ]), Nm = (t) => {
8399
+ ]), Pm = (t) => {
8399
8400
  const { berry: a, xp: s } = t.meta, { voice: n, amount: r } = s, { unlockedBadges: i, unlockedBackgrounds: l, unlockedTitles: c } = t.ornaments, {
8400
8401
  previousOrnament: h,
8401
8402
  previousCompletedQuest: g,
@@ -8416,7 +8417,7 @@ const X = ((hs = Y) == null ? void 0 : hs.User) || F("User", q), Bm = (t) => X.c
8416
8417
  h.unlockedBackgrounds
8417
8418
  )
8418
8419
  };
8419
- }, Pm = () => X.aggregate([
8420
+ }, Lm = () => X.aggregate([
8420
8421
  { $match: { birthday: { $ne: null } } },
8421
8422
  {
8422
8423
  $addFields: {
@@ -8440,7 +8441,7 @@ const X = ((hs = Y) == null ? void 0 : hs.User) || F("User", q), Bm = (t) => X.c
8440
8441
  }
8441
8442
  }
8442
8443
  }
8443
- ]), Lm = async () => X.aggregate([
8444
+ ]), Hm = async () => X.aggregate([
8444
8445
  { $match: { "settings.sendDailyReport": { $eq: !0 } } },
8445
8446
  {
8446
8447
  $lookup: {
@@ -8468,64 +8469,64 @@ const X = ((hs = Y) == null ? void 0 : hs.User) || F("User", q), Bm = (t) => X.c
8468
8469
  }
8469
8470
  }
8470
8471
  }
8471
- ]), Vh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8472
+ ]), zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8472
8473
  __proto__: null,
8473
- getAllDailyReport: Lm,
8474
- getBerryRanking: Em,
8475
- getDailyReport: Nm,
8476
- getFactionRank: Ym,
8477
- getFactionRanking: Fm,
8478
- getGlobalRanking: Im,
8479
- getNextBirthdays: Tm,
8480
- getSuccessRanking: Am,
8481
- getTodayAllBirthday: Pm,
8482
- getUserBirthday: Rm
8474
+ getAllDailyReport: Hm,
8475
+ getBerryRanking: Am,
8476
+ getDailyReport: Pm,
8477
+ getFactionRank: Fm,
8478
+ getFactionRanking: Im,
8479
+ getGlobalRanking: Em,
8480
+ getNextBirthdays: Rm,
8481
+ getSuccessRanking: Nm,
8482
+ getTodayAllBirthday: Lm,
8483
+ getUserBirthday: Ym
8483
8484
  }, Symbol.toStringTag, { value: "Module" })), $e = async (t, a, s = !1) => {
8484
8485
  await X.updateOne(t, a, { upsert: s });
8485
8486
  }, rr = async (t, a) => {
8486
8487
  await $e({ _id: t }, { $set: { canChooseFaction: a } });
8487
8488
  }, ir = async (t, a) => {
8488
8489
  await $e({ _id: t }, { $set: { canChangeFaction: a } });
8489
- }, Hm = async (t, a) => {
8490
+ }, jm = async (t, a) => {
8490
8491
  await $e({ userId: t }, { $set: { birthday: a } });
8491
- }, jm = async (t) => {
8492
+ }, Qm = async (t) => {
8492
8493
  await $e({ userId: t }, { $set: { birthday: null } });
8493
- }, Qm = async (t, a) => {
8494
+ }, Gm = async (t, a) => {
8494
8495
  await $e(
8495
8496
  { userId: t },
8496
8497
  { $set: { "settings.sendDailyQuest": a } }
8497
8498
  );
8498
- }, Gm = async (t, a) => {
8499
+ }, qm = async (t, a) => {
8499
8500
  await $e(
8500
8501
  { userId: t },
8501
8502
  { $set: { "settings.sendDailyReport": a } }
8502
8503
  );
8503
- }, qm = async (t, a) => {
8504
+ }, Wm = async (t, a) => {
8504
8505
  await $e(
8505
8506
  { _id: t },
8506
8507
  { $set: { "settings.sort.inventory": a } }
8507
8508
  );
8508
- }, zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8509
+ }, Xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8509
8510
  __proto__: null,
8510
8511
  canChangeFaction: ir,
8511
8512
  canChooseFaction: rr,
8512
- removeBirthday: jm,
8513
- setBirthday: Hm,
8514
- updateInventorySort: qm,
8515
- updateSendDailyQuest: Qm,
8516
- updateSendDailyReport: Gm
8517
- }, Symbol.toStringTag, { value: "Module" })), Xh = async (t) => {
8513
+ removeBirthday: Qm,
8514
+ setBirthday: jm,
8515
+ updateInventorySort: Wm,
8516
+ updateSendDailyQuest: Gm,
8517
+ updateSendDailyReport: qm
8518
+ }, Symbol.toStringTag, { value: "Module" })), Zh = async (t) => {
8518
8519
  await X.deleteOne({ userId: t });
8519
- }, Wm = async (t) => await $a.create({
8520
+ }, Vm = async (t) => await $a.create({
8520
8521
  user: t
8521
- }), Vm = async (t) => await Ue.create({
8522
+ }), zm = async (t) => await Ue.create({
8522
8523
  user: t
8523
- }), zm = async (t) => await ja.create({
8524
+ }), Xm = async (t) => await ja.create({
8524
8525
  user: t
8525
8526
  }), Ja = (t, a) => {
8526
8527
  switch (t) {
8527
8528
  case "dailyReport":
8528
- return Wm(a);
8529
+ return Vm(a);
8529
8530
  case "games":
8530
8531
  return Tn(a);
8531
8532
  case "inventory":
@@ -8539,11 +8540,11 @@ const X = ((hs = Y) == null ? void 0 : hs.User) || F("User", q), Bm = (t) => X.c
8539
8540
  case "quest":
8540
8541
  return Jn(a);
8541
8542
  case "questMeta":
8542
- return Vm(a);
8543
- case "shop":
8544
8543
  return zm(a);
8544
+ case "shop":
8545
+ return Xm(a);
8545
8546
  }
8546
- }, Zh = async (t, a, s) => {
8547
+ }, Jh = async (t, a, s) => {
8547
8548
  if (Array.isArray(a)) {
8548
8549
  const n = await t.populate(a);
8549
8550
  for (const r of a)
@@ -8570,15 +8571,15 @@ const X = ((hs = Y) == null ? void 0 : hs.User) || F("User", q), Bm = (t) => X.c
8570
8571
  });
8571
8572
  lr.index({ warnedUserId: 1 });
8572
8573
  var ys;
8573
- const ot = ((ys = Y) == null ? void 0 : ys.Warns) || F("Warns", lr), Xm = async (t) => await ot.find({ warnedUserId: t }), Zm = async (t) => await ot.countDocuments({ warnedUserId: t }), Jh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8574
+ const ot = ((ys = Y) == null ? void 0 : ys.Warns) || F("Warns", lr), Zm = async (t) => await ot.find({ warnedUserId: t }), Jm = async (t) => await ot.countDocuments({ warnedUserId: t }), Kh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8574
8575
  __proto__: null,
8575
- getUserWarnCount: Zm,
8576
- getUserWarns: Xm
8577
- }, Symbol.toStringTag, { value: "Module" })), Kh = async (t) => await ot.findOne({ warnedUserId: t }), ey = async (t) => await ot.create({
8576
+ getUserWarnCount: Jm,
8577
+ getUserWarns: Zm
8578
+ }, Symbol.toStringTag, { value: "Module" })), ey = async (t) => await ot.findOne({ warnedUserId: t }), ty = async (t) => await ot.create({
8578
8579
  ...t
8579
- }), ty = async (t) => await ot.findByIdAndDelete(t), ay = (t) => {
8580
+ }), ay = async (t) => await ot.findByIdAndDelete(t), sy = (t) => {
8580
8581
  pr(t);
8581
- }, sy = async (t, a, s, { berry: n, xp: r }) => {
8582
+ }, ny = async (t, a, s, { berry: n, xp: r }) => {
8582
8583
  const i = await Kn(a).then(
8583
8584
  (T) => T.populate("user", "faction")
8584
8585
  ), l = La(i), c = Wn(
@@ -8620,7 +8621,7 @@ const ot = ((ys = Y) == null ? void 0 : ys.Warns) || F("Warns", lr), Xm = async
8620
8621
  ).setFont("poppins_bold", 35).setColor((D == null ? void 0 : D.rank.color) ?? "white").draw(!!D).next(
8621
8622
  (T, E) => le(T.Text((c == null ? void 0 : c.name) ?? ""), E)
8622
8623
  ).setColor((c == null ? void 0 : c.rank.color) ?? "white").draw(g && !!c), await s.encode("webp");
8623
- }, ny = 10, ry = 1e7, iy = 100, ly = [
8624
+ }, ry = 10, iy = 1e7, ly = 100, oy = [
8624
8625
  "berry",
8625
8626
  "success_COMMON",
8626
8627
  "success_RARE",
@@ -8628,7 +8629,7 @@ const ot = ((ys = Y) == null ? void 0 : ys.Warns) || F("Warns", lr), Xm = async
8628
8629
  "success_LEGENDARY",
8629
8630
  "success_MYTHIC",
8630
8631
  "xp"
8631
- ], Jm = {
8632
+ ], Km = {
8632
8633
  background: "<:background:1178465681809887334>",
8633
8634
  title: "<:title:1178465688915038208>",
8634
8635
  chest_1: "<:lootbox1:1186689926167810088>",
@@ -8729,7 +8730,7 @@ const ot = ((ys = Y) == null ? void 0 : ys.Warns) || F("Warns", lr), Xm = async
8729
8730
  essence_water: "<:essence_water:1269073154333081701>",
8730
8731
  essence_wind: "<:essence_wind:1269073156241625088>",
8731
8732
  empty_scroll: "<:empty_scroll:1269074077327298653>"
8732
- }, Km = {
8733
+ }, eh = {
8733
8734
  d1: "<:d1:1159542168738873455>",
8734
8735
  d2: "<:d2:1159542071049334814>",
8735
8736
  d3: "<:d3:1159542073914032191>",
@@ -8851,29 +8852,29 @@ const ot = ((ys = Y) == null ? void 0 : ys.Warns) || F("Warns", lr), Xm = async
8851
8852
  equipment_adventurer_helmet: "<:Casque_cuir:1256965718432550953>",
8852
8853
  equipment_adventurer_weapon: "<:Dague_cuir:1256965714141515837>",
8853
8854
  equipment_adventurer_belt: "<:Ceinture_cuir:1256965593333108838>",
8854
- items: Jm
8855
- }, oy = (t, a) => {
8855
+ items: Km
8856
+ }, dy = (t, a) => {
8856
8857
  const s = t.badge, n = t.isFactionBadge;
8857
- return s ? ea(s) ? s.emojis[s.isProgressive.findIndex((r) => r === t.rank.id)] : s.emojis : n ? Km.factions[`b_${a}_${t.rank.id}`] : "";
8858
- }, dy = (t) => {
8858
+ return s ? ea(s) ? s.emojis[s.isProgressive.findIndex((r) => r === t.rank.id)] : s.emojis : n ? eh.factions[`b_${a}_${t.rank.id}`] : "";
8859
+ }, cy = (t) => {
8859
8860
  const [a, s] = t.split("_"), n = Object.values(p).find((r) => r.id === a);
8860
8861
  if (n)
8861
8862
  return ea(n) ? n.emojis[n.isProgressive.findIndex((r) => r === s)] : n.emojis;
8862
8863
  };
8863
- class cy extends mr.ObjectId {
8864
+ class uy extends mr.ObjectId {
8864
8865
  }
8865
8866
  export {
8866
- hh as ALL_QUESTS,
8867
- ry as BET_MAX_VALUE,
8868
- ny as BET_MIN_VALUE,
8867
+ yh as ALL_QUESTS,
8868
+ iy as BET_MAX_VALUE,
8869
+ ry as BET_MIN_VALUE,
8869
8870
  Cp as BackgroundShopItem,
8870
8871
  Bp as BoostXpShopItem,
8871
8872
  $p as ChestShopItem,
8872
8873
  Tp as CraftShopItem,
8873
8874
  yn as CrewQuests,
8874
- iy as EDITO_READ,
8875
- cy as ObjectId,
8876
- ly as QUEST_ASSET_IMAGES,
8875
+ ly as EDITO_READ,
8876
+ uy as ObjectId,
8877
+ oy as QUEST_ASSET_IMAGES,
8877
8878
  d as Quest,
8878
8879
  Rp as RepairShopItem,
8879
8880
  Yp as StoreShopItem,
@@ -8882,83 +8883,83 @@ export {
8882
8883
  _n as UserMetaQuests,
8883
8884
  wn as UserOrnamentsQuests,
8884
8885
  bn as UserQuestMetaQuests,
8885
- uh as banExists,
8886
- lh as banGetters,
8886
+ fh as banExists,
8887
+ oh as banGetters,
8887
8888
  Je as banModel,
8888
8889
  bs as betModel,
8889
- ay as connectToServices,
8890
- oh as createBan,
8891
- ph as createBet,
8892
- wh as createCrew,
8893
- vh as createInvitations,
8890
+ sy as connectToServices,
8891
+ dh as createBan,
8892
+ mh as createBet,
8893
+ bh as createCrew,
8894
+ Mh as createInvitations,
8894
8895
  Op as createSettings,
8895
- Ch as createUserCrew,
8896
- ey as createWarn,
8897
- yh as crewGetters,
8896
+ Bh as createUserCrew,
8897
+ ty as createWarn,
8898
+ gh as crewGetters,
8898
8899
  rt as crewModel,
8899
- gh as crewUpdates,
8900
- ch as deleteBan,
8901
- Mh as deleteInvitations,
8902
- Xh as deleteUserById,
8903
- ty as deleteWarn,
8900
+ _h as crewUpdates,
8901
+ uh as deleteBan,
8902
+ xh as deleteInvitations,
8903
+ Zh as deleteUserById,
8904
+ ay as deleteWarn,
8904
8905
  nt as emitQuestEvent,
8905
- Kh as finWarnById,
8906
- dh as findBan,
8907
- fh as findBetById,
8908
- _h as findCrewById,
8909
- bh as findInvitations,
8910
- kh as findSettingsByGuildId,
8906
+ ey as finWarnById,
8907
+ ch as findBan,
8908
+ ph as findBetById,
8909
+ wh as findCrewById,
8910
+ vh as findInvitations,
8911
+ Sh as findSettingsByGuildId,
8911
8912
  jp as findShop,
8912
- Dh as findShopByType,
8913
- $m as findUser,
8913
+ Oh as findShopByType,
8914
+ Tm as findUser,
8914
8915
  nr as findUserById,
8915
8916
  qp as findUserCrew,
8916
- Rh as findUserGames,
8917
+ Yh as findUserGames,
8917
8918
  Ea as findUserInventory,
8918
8919
  Ft as findUserMeta,
8919
- Nh as findUserOrnaments,
8920
+ Ph as findUserOrnaments,
8920
8921
  Kn as findUserQuest,
8921
- Gh as findUserRaid,
8922
- dy as getBadgeEmojisFromId,
8923
- oy as getQuestBadgeEmojis,
8922
+ qh as findUserRaid,
8923
+ cy as getBadgeEmojisFromId,
8924
+ dy as getQuestBadgeEmojis,
8924
8925
  Ua as invitationsModel,
8925
- mh as onQuestEvent,
8926
- Zh as populateUser,
8927
- sy as questCanvas,
8926
+ hh as onQuestEvent,
8927
+ Jh as populateUser,
8928
+ ny as questCanvas,
8928
8929
  Da as settingsModel,
8929
- xh as settingsUpdates,
8930
- Sh as shopGetters,
8930
+ kh as settingsUpdates,
8931
+ Uh as shopGetters,
8931
8932
  Oa as shopModel,
8932
- Uh as shopUpdates,
8933
- Bh as userCrewExists,
8933
+ Dh as shopUpdates,
8934
+ $h as userCrewExists,
8934
8935
  it as userCrewModel,
8935
- Oh as userCrewUpdates,
8936
+ Ch as userCrewUpdates,
8936
8937
  $a as userDailyReportModel,
8937
- $h as userDailyReportUpdates,
8938
+ Th as userDailyReportUpdates,
8938
8939
  Yt as userGamesModel,
8939
- Th as userGamesUpdates,
8940
- Vh as userGetters,
8941
- Yh as userInventoryGetters,
8940
+ Rh as userGamesUpdates,
8941
+ zh as userGetters,
8942
+ Fh as userInventoryGetters,
8942
8943
  It as userInventoryModel,
8943
- Eh as userInventoryUpdates,
8944
- Fh as userMetaGetters,
8944
+ Ah as userInventoryUpdates,
8945
+ Ih as userMetaGetters,
8945
8946
  Oe as userMetaModel,
8946
- Ih as userMetaUpdates,
8947
+ Eh as userMetaUpdates,
8947
8948
  X as userModel,
8948
8949
  Et as userOrnamentsModel,
8949
- Ah as userOrnamentsUpdates,
8950
- Ph as userQuestGetters,
8950
+ Nh as userOrnamentsUpdates,
8951
+ Lh as userQuestGetters,
8951
8952
  Ue as userQuestMetaModel,
8952
- Hh as userQuestMetaUpdates,
8953
+ jh as userQuestMetaUpdates,
8953
8954
  At as userQuestModel,
8954
- Lh as userQuestUpdates,
8955
- jh as userRaidGetters,
8955
+ Hh as userQuestUpdates,
8956
+ Qh as userRaidGetters,
8956
8957
  Nt as userRaidModel,
8957
- Qh as userRaidUpdates,
8958
- qh as userShopGetters,
8958
+ Gh as userRaidUpdates,
8959
+ Wh as userShopGetters,
8959
8960
  ja as userShopModel,
8960
- Wh as userShopUpdates,
8961
- zh as userUpdates,
8962
- Jh as warnGetters,
8961
+ Vh as userShopUpdates,
8962
+ Xh as userUpdates,
8963
+ Kh as warnGetters,
8963
8964
  ot as warnModel
8964
8965
  };