@dcrackel/hematournamentui 1.0.539 → 1.0.541

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.
@@ -39690,18 +39690,18 @@ function _q(t, e, n, r, o, i) {
39690
39690
  ])
39691
39691
  ]);
39692
39692
  }
39693
- const $q = /* @__PURE__ */ oe(Vq, [["render", _q]]), eY = {
39693
+ const $q = /* @__PURE__ */ oe(Vq, [["render", _q]]), e2 = {
39694
39694
  name: "PersonManagementSkeleton"
39695
- }, tY = { class: "flex" }, nY = /* @__PURE__ */ As('<div class="rounded-lg p-9 bg-neutral w-full animate-pulse"><div class="w-full flex flex-row justify-center mb-4"><div class="h-8 bg-dropdownSelect rounded w-20"></div></div><div class="w-full flex-row justify-center mb-4 flex drop-shadow"><div class="w-32 h-32 border-2 border-dashed rounded-full bg-dropdownSelect"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-32 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-28 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-20 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="border-b border-dropdownSelect mt-6"><div class="h-6 bg-dropdownSelect rounded w-36 mb-2"></div></div><div class="my-4 w-full"><div class="h-16 bg-dropdownSelect rounded w-full mb-4"></div><div class="h-8 bg-dropdownSelect rounded w-1/2 mb-2"></div><div class="h-8 bg-dropdownSelect rounded w-1/2"></div></div><div class="flex flex-row justify-end mt-8"><div class="h-10 bg-dropdownSelect rounded w-full"></div></div></div>', 1), rY = [
39696
- nY
39695
+ }, t2 = { class: "flex" }, n2 = /* @__PURE__ */ As('<div class="rounded-lg p-9 bg-neutral w-full animate-pulse"><div class="w-full flex flex-row justify-center mb-4"><div class="h-8 bg-dropdownSelect rounded w-20"></div></div><div class="w-full flex-row justify-center mb-4 flex drop-shadow"><div class="w-32 h-32 border-2 border-dashed rounded-full bg-dropdownSelect"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-32 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-28 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-20 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="border-b border-dropdownSelect mt-6"><div class="h-6 bg-dropdownSelect rounded w-36 mb-2"></div></div><div class="my-4 w-full"><div class="h-16 bg-dropdownSelect rounded w-full mb-4"></div><div class="h-8 bg-dropdownSelect rounded w-1/2 mb-2"></div><div class="h-8 bg-dropdownSelect rounded w-1/2"></div></div><div class="flex flex-row justify-end mt-8"><div class="h-10 bg-dropdownSelect rounded w-full"></div></div></div>', 1), r2 = [
39696
+ n2
39697
39697
  ];
39698
- function oY(t, e, n, r, o, i) {
39699
- return C(), I("section", tY, rY);
39698
+ function o2(t, e, n, r, o, i) {
39699
+ return C(), I("section", t2, r2);
39700
39700
  }
39701
- const iY = /* @__PURE__ */ oe(eY, [["render", oY]]), sY = {
39701
+ const i2 = /* @__PURE__ */ oe(e2, [["render", o2]]), s2 = {
39702
39702
  name: "PersonManagement",
39703
39703
  components: {
39704
- PersonManagementSkeleton: iY,
39704
+ PersonManagementSkeleton: i2,
39705
39705
  PeopleColumn: $q,
39706
39706
  FindOrAddPerson: PA,
39707
39707
  BaseInput: _t,
@@ -39851,28 +39851,28 @@ const iY = /* @__PURE__ */ oe(eY, [["render", oY]]), sY = {
39851
39851
  this.$emit("delete:person", this.person);
39852
39852
  }
39853
39853
  }
39854
- }, AY = { key: 0 }, aY = {
39854
+ }, A2 = { key: 0 }, a2 = {
39855
39855
  key: 1,
39856
39856
  class: "flex"
39857
- }, lY = { key: 0 }, cY = { class: "rounded-lg p-9 bg-neutral w-full" }, uY = { class: "w-full flex flex-row justify-center mb-4" }, dY = { class: "w-full flex-row justify-center mb-4 flex drop-shadow" }, gY = { class: "flex flex-col mb-4" }, hY = { class: "flex flex-col mb-4" }, pY = { class: "flex flex-col mb-4" }, fY = { class: "flex flex-col mb-4" }, CY = { class: "flex flex-col mb-4" }, mY = { class: "border-b border-dropdownSelect mt-6" }, IY = { class: "my-4 w-full" }, BY = {
39857
+ }, l2 = { key: 0 }, c2 = { class: "rounded-lg p-9 bg-neutral w-full" }, u2 = { class: "w-full flex flex-row justify-center mb-4" }, d2 = { class: "w-full flex-row justify-center mb-4 flex drop-shadow" }, g2 = { class: "flex flex-col mb-4" }, h2 = { class: "flex flex-col mb-4" }, p2 = { class: "flex flex-col mb-4" }, f2 = { class: "flex flex-col mb-4" }, C2 = { class: "flex flex-col mb-4" }, m2 = { class: "border-b border-dropdownSelect mt-6" }, I2 = { class: "my-4 w-full" }, B2 = {
39858
39858
  key: 0,
39859
39859
  class: "mt-8"
39860
- }, EY = { class: "flex flex-col mb-4 mt-4" }, QY = { class: "flex flex-row justify-end mt-8" };
39861
- function vY(t, e, n, r, o, i) {
39860
+ }, E2 = { class: "flex flex-col mb-4 mt-4" }, Q2 = { class: "flex flex-row justify-end mt-8" };
39861
+ function v2(t, e, n, r, o, i) {
39862
39862
  const A = w("PersonManagementSkeleton"), a = w("PeopleColumn"), l = w("BaseText"), c = w("ImageCropper"), u = w("TitledInput"), d = w("DropDownMenu"), g = w("Toggle"), f = w("BaseButton");
39863
39863
  return C(), I(ae, null, [
39864
- n.loading ? (C(), I("section", AY, [
39864
+ n.loading ? (C(), I("section", A2, [
39865
39865
  h(A)
39866
39866
  ])) : b("", !0),
39867
- n.loading ? b("", !0) : (C(), I("section", aY, [
39868
- n.userLevel === "Admin" ? (C(), I("div", lY, [
39867
+ n.loading ? b("", !0) : (C(), I("section", a2, [
39868
+ n.userLevel === "Admin" ? (C(), I("div", l2, [
39869
39869
  h(a, {
39870
39870
  persons: n.people,
39871
39871
  "onUpdate:selectedFencer": i.handlePersonClick
39872
39872
  }, null, 8, ["persons", "onUpdate:selectedFencer"])
39873
39873
  ])) : b("", !0),
39874
- p("div", cY, [
39875
- p("div", uY, [
39874
+ p("div", c2, [
39875
+ p("div", u2, [
39876
39876
  h(l, {
39877
39877
  color: "primaryHighlight",
39878
39878
  size: "2xl",
@@ -39880,7 +39880,7 @@ function vY(t, e, n, r, o, i) {
39880
39880
  weight: "normal"
39881
39881
  })
39882
39882
  ]),
39883
- p("div", dY, [
39883
+ p("div", d2, [
39884
39884
  h(c, {
39885
39885
  urlToImage: i.getImageURL,
39886
39886
  uploadImageName: n.uploadImageName,
@@ -39898,7 +39898,7 @@ function vY(t, e, n, r, o, i) {
39898
39898
  "onUpdate:url": i.handleProfilePicUpdate
39899
39899
  }, null, 8, ["urlToImage", "uploadImageName", "uploadServer", "imageServer", "customClass", "onUpdate:url"])
39900
39900
  ]),
39901
- p("div", gY, [
39901
+ p("div", g2, [
39902
39902
  h(u, {
39903
39903
  inputValue: o.person.DisplayName,
39904
39904
  placeholder: "Enter Display Name",
@@ -39906,7 +39906,7 @@ function vY(t, e, n, r, o, i) {
39906
39906
  "onUpdate:value": i.updateDisplayName
39907
39907
  }, null, 8, ["inputValue", "onUpdate:value"])
39908
39908
  ]),
39909
- p("div", hY, [
39909
+ p("div", h2, [
39910
39910
  h(u, {
39911
39911
  inputValue: i.getLegalName,
39912
39912
  placeholder: "Enter Your Legal Name",
@@ -39914,7 +39914,7 @@ function vY(t, e, n, r, o, i) {
39914
39914
  "onUpdate:value": i.updateLegalName
39915
39915
  }, null, 8, ["inputValue", "onUpdate:value"])
39916
39916
  ]),
39917
- p("div", pY, [
39917
+ p("div", p2, [
39918
39918
  h(l, {
39919
39919
  text: "Club Name",
39920
39920
  size: "sm",
@@ -39930,7 +39930,7 @@ function vY(t, e, n, r, o, i) {
39930
39930
  dropDownWidth: "w-full"
39931
39931
  }, null, 8, ["label", "items", "selectedItem", "onUpdate:selectedItem"])
39932
39932
  ]),
39933
- p("div", fY, [
39933
+ p("div", f2, [
39934
39934
  h(l, {
39935
39935
  text: "Preferred Pronouns",
39936
39936
  size: "sm",
@@ -39946,7 +39946,7 @@ function vY(t, e, n, r, o, i) {
39946
39946
  dropDownWidth: "w-full"
39947
39947
  }, null, 8, ["label", "items", "selectedItem", "onUpdate:selectedItem"])
39948
39948
  ]),
39949
- p("div", CY, [
39949
+ p("div", C2, [
39950
39950
  h(u, {
39951
39951
  inputValue: i.getEmail ? i.getEmail : "",
39952
39952
  placeholder: "Enter Your Email",
@@ -39954,7 +39954,7 @@ function vY(t, e, n, r, o, i) {
39954
39954
  "onUpdate:value": i.handleEmailUpdate
39955
39955
  }, null, 8, ["inputValue", "onUpdate:value"])
39956
39956
  ]),
39957
- p("div", mY, [
39957
+ p("div", m2, [
39958
39958
  h(l, {
39959
39959
  color: "quinary",
39960
39960
  size: "sm",
@@ -39963,7 +39963,7 @@ function vY(t, e, n, r, o, i) {
39963
39963
  "data-testid": "text-registration"
39964
39964
  })
39965
39965
  ]),
39966
- p("div", IY, [
39966
+ p("div", I2, [
39967
39967
  h(l, {
39968
39968
  color: "quinary",
39969
39969
  size: "sm",
@@ -39985,14 +39985,14 @@ function vY(t, e, n, r, o, i) {
39985
39985
  "onUpdate:checked": i.changeShareData
39986
39986
  }, null, 8, ["onUpdate:checked"])
39987
39987
  ]),
39988
- n.userLevel === "Admin" ? (C(), I("div", BY, [
39988
+ n.userLevel === "Admin" ? (C(), I("div", B2, [
39989
39989
  h(u, {
39990
39990
  inputValue: i.getHemaRatingsId ? i.getHemaRatingsId : "",
39991
39991
  placeholder: "HEMA Rating ID",
39992
39992
  title: "HEMA Rating ID",
39993
39993
  "onUpdate:value": i.handleHemaRatingId
39994
39994
  }, null, 8, ["inputValue", "onUpdate:value"]),
39995
- p("div", EY, [
39995
+ p("div", E2, [
39996
39996
  h(l, {
39997
39997
  text: "Preferred Pronouns",
39998
39998
  size: "sm",
@@ -40009,7 +40009,7 @@ function vY(t, e, n, r, o, i) {
40009
40009
  }, null, 8, ["label", "items", "selectedItem", "onUpdate:selectedItem"])
40010
40010
  ])
40011
40011
  ])) : b("", !0),
40012
- p("div", QY, [
40012
+ p("div", Q2, [
40013
40013
  n.userLevel === "Admin" ? (C(), ne(f, {
40014
40014
  key: 0,
40015
40015
  class: "mr-8",
@@ -40032,7 +40032,7 @@ function vY(t, e, n, r, o, i) {
40032
40032
  ]))
40033
40033
  ], 64);
40034
40034
  }
40035
- const b8 = /* @__PURE__ */ oe(sY, [["render", vY]]), wY = {
40035
+ const b8 = /* @__PURE__ */ oe(s2, [["render", v2]]), w2 = {
40036
40036
  name: "ClubCard",
40037
40037
  components: { BaseIcon: qe, BaseText: Be },
40038
40038
  props: {
@@ -40053,18 +40053,18 @@ const b8 = /* @__PURE__ */ oe(sY, [["render", vY]]), wY = {
40053
40053
  this.$emit("update:click");
40054
40054
  }
40055
40055
  }
40056
- }, yY = { class: "w-9 h-9 rounded-md overflow-hidden" }, bY = {
40056
+ }, y2 = { class: "w-9 h-9 rounded-md overflow-hidden" }, b2 = {
40057
40057
  key: 0,
40058
40058
  class: "w-14 h-14 bg-dropdownSelect flex items-center justify-center"
40059
- }, xY = ["src"], DY = { class: "flex-1 ml-4" }, SY = { class: "flex" };
40060
- function kY(t, e, n, r, o, i) {
40059
+ }, x2 = ["src"], D2 = { class: "flex-1 ml-4" }, S2 = { class: "flex" };
40060
+ function k2(t, e, n, r, o, i) {
40061
40061
  const A = w("BaseText");
40062
40062
  return C(), I("section", {
40063
40063
  class: "bg-poolSetup flex items-center p-2 shadow rounded-lg",
40064
40064
  onClick: e[0] || (e[0] = (...a) => i.handleClick && i.handleClick(...a))
40065
40065
  }, [
40066
- p("div", yY, [
40067
- n.clubImage ? b("", !0) : (C(), I("div", bY, [
40066
+ p("div", y2, [
40067
+ n.clubImage ? b("", !0) : (C(), I("div", b2, [
40068
40068
  h(A, {
40069
40069
  text: "",
40070
40070
  size: "sm",
@@ -40076,10 +40076,10 @@ function kY(t, e, n, r, o, i) {
40076
40076
  src: n.clubImage,
40077
40077
  alt: "Fencer Portrait",
40078
40078
  class: "w-full h-full object-cover"
40079
- }, null, 8, xY)
40079
+ }, null, 8, x2)
40080
40080
  ]),
40081
- p("div", DY, [
40082
- p("p", SY, [
40081
+ p("div", D2, [
40082
+ p("p", S2, [
40083
40083
  h(A, {
40084
40084
  text: n.clubName,
40085
40085
  size: "sm",
@@ -40090,10 +40090,10 @@ function kY(t, e, n, r, o, i) {
40090
40090
  ])
40091
40091
  ]);
40092
40092
  }
40093
- const MY = /* @__PURE__ */ oe(wY, [["render", kY]]), OY = {
40093
+ const M2 = /* @__PURE__ */ oe(w2, [["render", k2]]), O2 = {
40094
40094
  name: "PeopleColumn",
40095
40095
  components: {
40096
- ClubCard: MY,
40096
+ ClubCard: M2,
40097
40097
  PoolFencerCard: cc,
40098
40098
  BaseText: Be,
40099
40099
  BaseInput: _t,
@@ -40126,11 +40126,11 @@ const MY = /* @__PURE__ */ oe(wY, [["render", kY]]), OY = {
40126
40126
  this.$emit("update:selectedClub", t);
40127
40127
  }
40128
40128
  }
40129
- }, TY = { class: "w-96 p-4" }, RY = { class: "mb-4 px-4" }, PY = { class: "overflow-y-auto h-[800px]" };
40130
- function zY(t, e, n, r, o, i) {
40129
+ }, T2 = { class: "w-96 p-4" }, R2 = { class: "mb-4 px-4" }, P2 = { class: "overflow-y-auto h-[800px]" };
40130
+ function z2(t, e, n, r, o, i) {
40131
40131
  const A = w("TitledInput"), a = w("ClubCard");
40132
- return C(), I("div", TY, [
40133
- p("div", RY, [
40132
+ return C(), I("div", T2, [
40133
+ p("div", R2, [
40134
40134
  h(A, {
40135
40135
  inputValue: o.searchTerm,
40136
40136
  placeholder: "Enter Name to Search",
@@ -40138,7 +40138,7 @@ function zY(t, e, n, r, o, i) {
40138
40138
  "onUpdate:value": i.updateDisplayName
40139
40139
  }, null, 8, ["inputValue", "onUpdate:value"])
40140
40140
  ]),
40141
- p("div", PY, [
40141
+ p("div", P2, [
40142
40142
  p("ul", null, [
40143
40143
  (C(!0), I(ae, null, Qe(i.filteredClubs, (l) => (C(), I("li", {
40144
40144
  key: l.ClubId,
@@ -40155,20 +40155,20 @@ function zY(t, e, n, r, o, i) {
40155
40155
  ])
40156
40156
  ]);
40157
40157
  }
40158
- const LY = /* @__PURE__ */ oe(OY, [["render", zY]]), FY = {
40158
+ const L2 = /* @__PURE__ */ oe(O2, [["render", z2]]), F2 = {
40159
40159
  name: "ClubManagementSkeleton"
40160
- }, NY = { class: "flex" }, HY = /* @__PURE__ */ As('<div class="rounded-lg p-9 bg-neutral w-full animate-pulse"><div class="w-full flex flex-row justify-center mb-4"><div class="h-8 bg-dropdownSelect rounded w-1/4"></div></div><div class="w-full flex-row justify-center mb-4 flex drop-shadow"><div class="w-32 h-32 border-2 border-dashed rounded-full bg-dropdownSelect"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-28 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-64 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-row justify-end mt-8"><div class="h-10 bg-dropdownSelect rounded w-full"></div></div></div>', 1), qY = [
40161
- HY
40160
+ }, N2 = { class: "flex" }, H2 = /* @__PURE__ */ As('<div class="rounded-lg p-9 bg-neutral w-full animate-pulse"><div class="w-full flex flex-row justify-center mb-4"><div class="h-8 bg-dropdownSelect rounded w-1/4"></div></div><div class="w-full flex-row justify-center mb-4 flex drop-shadow"><div class="w-32 h-32 border-2 border-dashed rounded-full bg-dropdownSelect"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-28 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-64 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-row justify-end mt-8"><div class="h-10 bg-dropdownSelect rounded w-full"></div></div></div>', 1), q2 = [
40161
+ H2
40162
40162
  ];
40163
- function YY(t, e, n, r, o, i) {
40164
- return C(), I("section", NY, qY);
40163
+ function Y2(t, e, n, r, o, i) {
40164
+ return C(), I("section", N2, q2);
40165
40165
  }
40166
- const jY = /* @__PURE__ */ oe(FY, [["render", YY]]), KY = {
40166
+ const j2 = /* @__PURE__ */ oe(F2, [["render", Y2]]), K2 = {
40167
40167
  name: "ClubManagement",
40168
40168
  emits: ["submit:club", "addNewAddress", "delete:club", "update:selectedClub"],
40169
40169
  components: {
40170
- ClubManagementSkeleton: jY,
40171
- ClubColumn: LY,
40170
+ ClubManagementSkeleton: j2,
40171
+ ClubColumn: L2,
40172
40172
  BaseText: Be,
40173
40173
  ImageCropper: gs,
40174
40174
  TitledInput: xn,
@@ -40274,25 +40274,25 @@ const jY = /* @__PURE__ */ oe(FY, [["render", YY]]), KY = {
40274
40274
  this.$emit("delete:club", this.club);
40275
40275
  }
40276
40276
  }
40277
- }, UY = { key: 0 }, GY = {
40277
+ }, U2 = { key: 0 }, G2 = {
40278
40278
  key: 1,
40279
40279
  class: "flex"
40280
- }, JY = { key: 0 }, VY = { class: "rounded-lg p-9 bg-neutral w-full" }, WY = { class: "w-full flex flex-row justify-center mb-4" }, XY = { class: "w-full flex-row justify-center mb-4 flex drop-shadow" }, ZY = { class: "flex flex-col mb-4" }, _Y = { class: "flex flex-col mb-4" }, $Y = { class: "flex flex-col mb-4" }, e2 = { class: "flex flex-col mb-4" }, t2 = { class: "flex flex-row justify-end mt-8" };
40281
- function n2(t, e, n, r, o, i) {
40280
+ }, J2 = { key: 0 }, V2 = { class: "rounded-lg p-9 bg-neutral w-full" }, W2 = { class: "w-full flex flex-row justify-center mb-4" }, X2 = { class: "w-full flex-row justify-center mb-4 flex drop-shadow" }, Z2 = { class: "flex flex-col mb-4" }, _2 = { class: "flex flex-col mb-4" }, $2 = { class: "flex flex-col mb-4" }, eY = { class: "flex flex-col mb-4" }, tY = { class: "flex flex-row justify-end mt-8" };
40281
+ function nY(t, e, n, r, o, i) {
40282
40282
  const A = w("ClubManagementSkeleton"), a = w("ClubColumn"), l = w("BaseText"), c = w("ImageCropper"), u = w("TitledInput"), d = w("TextBoxEditor"), g = w("FindLocation"), f = w("BaseButton");
40283
40283
  return C(), I(ae, null, [
40284
- n.loading ? (C(), I("section", UY, [
40284
+ n.loading ? (C(), I("section", U2, [
40285
40285
  h(A)
40286
40286
  ])) : b("", !0),
40287
- n.loading ? b("", !0) : (C(), I("section", GY, [
40288
- n.userLevel === "Admin" ? (C(), I("div", JY, [
40287
+ n.loading ? b("", !0) : (C(), I("section", G2, [
40288
+ n.userLevel === "Admin" ? (C(), I("div", J2, [
40289
40289
  h(a, {
40290
40290
  clubs: n.clubs,
40291
40291
  "onUpdate:selectedClub": i.handleClubClick
40292
40292
  }, null, 8, ["clubs", "onUpdate:selectedClub"])
40293
40293
  ])) : b("", !0),
40294
- p("div", VY, [
40295
- p("div", WY, [
40294
+ p("div", V2, [
40295
+ p("div", W2, [
40296
40296
  h(l, {
40297
40297
  color: "primaryHighlight",
40298
40298
  size: "2xl",
@@ -40300,7 +40300,7 @@ function n2(t, e, n, r, o, i) {
40300
40300
  weight: "normal"
40301
40301
  })
40302
40302
  ]),
40303
- p("div", XY, [
40303
+ p("div", X2, [
40304
40304
  h(c, {
40305
40305
  urlToImage: i.getImageURL,
40306
40306
  uploadImageName: n.uploadImageName,
@@ -40318,7 +40318,7 @@ function n2(t, e, n, r, o, i) {
40318
40318
  "onUpdate:url": i.handleProfilePicUpdate
40319
40319
  }, null, 8, ["urlToImage", "uploadImageName", "uploadServer", "imageServer", "customClass", "onUpdate:url"])
40320
40320
  ]),
40321
- p("div", ZY, [
40321
+ p("div", Z2, [
40322
40322
  h(u, {
40323
40323
  inputValue: o.club.Name,
40324
40324
  placeholder: "Enter Club Name",
@@ -40326,7 +40326,7 @@ function n2(t, e, n, r, o, i) {
40326
40326
  "onUpdate:value": i.updateName
40327
40327
  }, null, 8, ["inputValue", "onUpdate:value"])
40328
40328
  ]),
40329
- p("div", _Y, [
40329
+ p("div", _2, [
40330
40330
  h(u, {
40331
40331
  inputValue: o.club.ShortName,
40332
40332
  placeholder: "Enter Short Name",
@@ -40334,7 +40334,7 @@ function n2(t, e, n, r, o, i) {
40334
40334
  "onUpdate:value": i.updateShortName
40335
40335
  }, null, 8, ["inputValue", "onUpdate:value"])
40336
40336
  ]),
40337
- p("div", $Y, [
40337
+ p("div", $2, [
40338
40338
  h(l, {
40339
40339
  color: "primaryHighlight",
40340
40340
  size: "sm",
@@ -40348,7 +40348,7 @@ function n2(t, e, n, r, o, i) {
40348
40348
  "onUpdate:editorContent": i.handleEditorUpdate
40349
40349
  }, null, 8, ["initialContent", "onUpdate:editorContent"])
40350
40350
  ]),
40351
- p("div", e2, [
40351
+ p("div", eY, [
40352
40352
  h(l, {
40353
40353
  text: "Address",
40354
40354
  size: "sm",
@@ -40363,7 +40363,7 @@ function n2(t, e, n, r, o, i) {
40363
40363
  onUpdateLocation: i.handleAddressUpdate
40364
40364
  }, null, 8, ["locations", "placeholder", "onUpdate:addNewAddress", "onUpdateLocation"])
40365
40365
  ]),
40366
- p("div", t2, [
40366
+ p("div", tY, [
40367
40367
  n.userLevel === "Admin" ? (C(), ne(f, {
40368
40368
  key: 0,
40369
40369
  class: "mr-8",
@@ -40386,7 +40386,7 @@ function n2(t, e, n, r, o, i) {
40386
40386
  ]))
40387
40387
  ], 64);
40388
40388
  }
40389
- const x8 = /* @__PURE__ */ oe(KY, [["render", n2]]), r2 = {
40389
+ const x8 = /* @__PURE__ */ oe(K2, [["render", nY]]), rY = {
40390
40390
  name: "TournamentAssignments",
40391
40391
  components: { BaseIcon: qe, BaseText: Be, BaseButton: He },
40392
40392
  props: {
@@ -40505,20 +40505,20 @@ const x8 = /* @__PURE__ */ oe(KY, [["render", n2]]), r2 = {
40505
40505
  this.$emit("refreshAssignments");
40506
40506
  }
40507
40507
  }
40508
- }, o2 = { class: "w-full md:p-4" }, i2 = { class: "w-full flex justify-between" }, s2 = { class: "flex" }, A2 = {
40508
+ }, oY = { class: "w-full md:p-4" }, iY = { class: "w-full flex justify-between" }, sY = { class: "flex" }, AY = {
40509
40509
  key: 0,
40510
40510
  class: "text-center mt-10"
40511
- }, a2 = { key: 1 }, l2 = { class: "flex mr-4 md:mr-0" }, c2 = { class: "hidden md:flex w-14 h-20 flex-col pt-5" }, u2 = ["src"], d2 = { class: "w-full flex flex-col h-14 justify-end md:ml-2" }, g2 = { class: "w-full flex ml-2 justify-between border-b" }, h2 = { class: "md:ml-14 md:-mt-2 w-full mt-2" }, p2 = { class: "flex-grow flex justify-between items-center bg-poolSetup px-4 py-2 rounded-lg" }, f2 = { class: "flex items-center space-x-4" }, C2 = { class: "hidden md:flex" }, m2 = { class: "w-12 md:flex bg-poolSetup ml-2 px-4 py-2 rounded-lg" }, I2 = {
40511
+ }, aY = { key: 1 }, lY = { class: "flex mr-4 md:mr-0" }, cY = { class: "hidden md:flex w-14 h-20 flex-col pt-5" }, uY = ["src"], dY = { class: "w-full flex flex-col h-14 justify-end md:ml-2" }, gY = { class: "w-full flex ml-2 justify-between border-b" }, hY = { class: "md:ml-14 md:-mt-2 w-full mt-2" }, pY = { class: "flex-grow flex justify-between items-center bg-poolSetup px-4 py-2 rounded-lg" }, fY = { class: "flex items-center space-x-4" }, CY = { class: "hidden md:flex" }, mY = { class: "w-12 md:flex bg-poolSetup ml-2 px-4 py-2 rounded-lg" }, IY = {
40512
40512
  key: 0,
40513
40513
  class: "w-12 ml-1"
40514
- }, B2 = {
40514
+ }, BY = {
40515
40515
  key: 1,
40516
40516
  class: "w-12 ml-1"
40517
40517
  };
40518
- function E2(t, e, n, r, o, i) {
40518
+ function EY(t, e, n, r, o, i) {
40519
40519
  const A = w("BaseText"), a = w("BaseButton"), l = w("BaseIcon");
40520
- return C(), I("div", o2, [
40521
- p("div", i2, [
40520
+ return C(), I("div", oY, [
40521
+ p("div", iY, [
40522
40522
  h(A, {
40523
40523
  text: "Assignments",
40524
40524
  color: "primary",
@@ -40527,7 +40527,7 @@ function E2(t, e, n, r, o, i) {
40527
40527
  weight: "bold",
40528
40528
  class: "pt-2"
40529
40529
  }),
40530
- p("div", s2, [
40530
+ p("div", sY, [
40531
40531
  h(a, {
40532
40532
  iconName: "fa-arrow-rotate-right",
40533
40533
  iconLeft: !0,
@@ -40554,7 +40554,7 @@ function E2(t, e, n, r, o, i) {
40554
40554
  }, null, 8, ["selected"])
40555
40555
  ])
40556
40556
  ]),
40557
- i.filteredAssignments.length === 0 ? (C(), I("div", A2, [
40557
+ i.filteredAssignments.length === 0 ? (C(), I("div", AY, [
40558
40558
  h(A, {
40559
40559
  text: "No Current Assignments",
40560
40560
  color: "secondary",
@@ -40562,21 +40562,21 @@ function E2(t, e, n, r, o, i) {
40562
40562
  weight: "normal"
40563
40563
  })
40564
40564
  ])) : b("", !0),
40565
- i.filteredAssignments.length > 0 ? (C(), I("section", a2, [
40565
+ i.filteredAssignments.length > 0 ? (C(), I("section", aY, [
40566
40566
  (C(!0), I(ae, null, Qe(i.filteredAssignments, (c) => (C(), I("div", {
40567
40567
  key: c.TournamentId,
40568
40568
  class: "mb-6"
40569
40569
  }, [
40570
- p("div", l2, [
40571
- p("div", c2, [
40570
+ p("div", lY, [
40571
+ p("div", cY, [
40572
40572
  p("img", {
40573
40573
  src: i.getTournamentArtworkURL(c),
40574
40574
  alt: "Tournament Artwork",
40575
40575
  class: "w-14 h-14 rounded-lg object-cover"
40576
- }, null, 8, u2)
40576
+ }, null, 8, uY)
40577
40577
  ]),
40578
- p("div", d2, [
40579
- p("div", g2, [
40578
+ p("div", dY, [
40579
+ p("div", gY, [
40580
40580
  h(A, {
40581
40581
  text: c.Name,
40582
40582
  color: "primary",
@@ -40593,13 +40593,13 @@ function E2(t, e, n, r, o, i) {
40593
40593
  ])
40594
40594
  ])
40595
40595
  ]),
40596
- p("div", h2, [
40596
+ p("div", hY, [
40597
40597
  (C(!0), I(ae, null, Qe(c.Events, (u) => (C(), I("section", {
40598
40598
  key: u.EventId,
40599
40599
  class: "md:pl-4 mb-2 flex md:w-11/12"
40600
40600
  }, [
40601
- p("div", p2, [
40602
- p("div", f2, [
40601
+ p("div", pY, [
40602
+ p("div", fY, [
40603
40603
  h(l, {
40604
40604
  iconName: i.getRoleIcon(u),
40605
40605
  iconStyle: i.getIconStyle(u),
@@ -40614,7 +40614,7 @@ function E2(t, e, n, r, o, i) {
40614
40614
  class: "text-xs md:text-sm"
40615
40615
  }, null, 8, ["text"])
40616
40616
  ]),
40617
- p("span", C2, [
40617
+ p("span", CY, [
40618
40618
  h(A, {
40619
40619
  text: i.formatEventDate(u.Date, u.StartTime),
40620
40620
  color: "primary",
@@ -40624,7 +40624,7 @@ function E2(t, e, n, r, o, i) {
40624
40624
  }, null, 8, ["text"])
40625
40625
  ])
40626
40626
  ]),
40627
- p("div", m2, [
40627
+ p("div", mY, [
40628
40628
  h(l, {
40629
40629
  iconName: i.getStatusIcon(u),
40630
40630
  size: "md",
@@ -40632,7 +40632,7 @@ function E2(t, e, n, r, o, i) {
40632
40632
  class: ee(i.getIconClass(u))
40633
40633
  }, null, 8, ["iconName", "class"])
40634
40634
  ]),
40635
- i.shouldShowButton(u) && o.showCurrent ? (C(), I("div", I2, [
40635
+ i.shouldShowButton(u) && o.showCurrent ? (C(), I("div", IY, [
40636
40636
  i.shouldShowButton(u) ? (C(), ne(a, {
40637
40637
  key: 0,
40638
40638
  iconName: "fa-right-from-line",
@@ -40644,14 +40644,14 @@ function E2(t, e, n, r, o, i) {
40644
40644
  class: "h-10 w-10 pr-4"
40645
40645
  }, null, 8, ["onButtonClick"])) : b("", !0)
40646
40646
  ])) : b("", !0),
40647
- !i.shouldShowButton(u) && o.showCurrent ? (C(), I("span", B2)) : b("", !0)
40647
+ !i.shouldShowButton(u) && o.showCurrent ? (C(), I("span", BY)) : b("", !0)
40648
40648
  ]))), 128))
40649
40649
  ])
40650
40650
  ]))), 128))
40651
40651
  ])) : b("", !0)
40652
40652
  ]);
40653
40653
  }
40654
- const D8 = /* @__PURE__ */ oe(r2, [["render", E2]]), Q2 = {
40654
+ const D8 = /* @__PURE__ */ oe(rY, [["render", EY]]), QY = {
40655
40655
  name: "PenaltyFencerCard",
40656
40656
  components: { BaseButton: He, BaseIcon: qe, BaseText: Be },
40657
40657
  emits: ["handleConfirmRemoval", "penalty:removal"],
@@ -40712,29 +40712,29 @@ const D8 = /* @__PURE__ */ oe(r2, [["render", E2]]), Q2 = {
40712
40712
  t.PersonId = this.personPenalties.PersonId, this.$emit("penalty:removal", t);
40713
40713
  }
40714
40714
  }
40715
- }, v2 = { class: "hidden md:block mr-4" }, w2 = {
40715
+ }, vY = { class: "hidden md:block mr-4" }, wY = {
40716
40716
  key: 0,
40717
40717
  class: "w-9 h-9 rounded-xl bg-dropdownSelect flex items-center justify-center"
40718
- }, y2 = ["src"], b2 = { class: "flex flex-col w-1/2 md:w-4/12 justify-start" }, x2 = { class: "flex flex-row ml-auto space-x-4" }, D2 = {
40718
+ }, yY = ["src"], bY = { class: "flex flex-col w-1/2 md:w-4/12 justify-start" }, xY = { class: "flex flex-row ml-auto space-x-4" }, DY = {
40719
40719
  key: 0,
40720
40720
  class: "flex items-center"
40721
- }, S2 = {
40721
+ }, SY = {
40722
40722
  key: 1,
40723
40723
  class: "flex items-center"
40724
- }, k2 = {
40724
+ }, kY = {
40725
40725
  key: 2,
40726
40726
  class: "flex items-center ml-2"
40727
- }, M2 = {
40727
+ }, MY = {
40728
40728
  key: 3,
40729
40729
  class: "flex items-center ml-2"
40730
- }, O2 = { class: "ml-4" }, T2 = {
40730
+ }, OY = { class: "ml-4" }, TY = {
40731
40731
  key: 0,
40732
40732
  class: "border-t border-dropdownSelect md:p-3"
40733
- }, R2 = { class: "flex flex-row justify-between" }, P2 = { class: "flex flex-row" }, z2 = { class: "flex flex-row" }, L2 = { class: "flex flex-col md:flex-row justify-between my-1" }, F2 = { class: "flex flex-row" }, N2 = { class: "flex flex-row" }, H2 = {
40733
+ }, RY = { class: "flex flex-row justify-between" }, PY = { class: "flex flex-row" }, zY = { class: "flex flex-row" }, LY = { class: "flex flex-col md:flex-row justify-between my-1" }, FY = { class: "flex flex-row" }, NY = { class: "flex flex-row" }, HY = {
40734
40734
  key: 0,
40735
40735
  class: "md:-mt-5 mx-auto"
40736
40736
  };
40737
- function q2(t, e, n, r, o, i) {
40737
+ function qY(t, e, n, r, o, i) {
40738
40738
  const A = w("BaseText"), a = w("BaseIcon"), l = w("BaseButton");
40739
40739
  return C(), I(ae, null, [
40740
40740
  n.personPenalties ? (C(), I("div", {
@@ -40742,8 +40742,8 @@ function q2(t, e, n, r, o, i) {
40742
40742
  class: "flex items-center border-b border-dropdownSelect bg-white hover:border-bright px-4 py-4",
40743
40743
  onClick: e[0] || (e[0] = (...c) => i.toggleDetails && i.toggleDetails(...c))
40744
40744
  }, [
40745
- p("div", v2, [
40746
- i.portraitURL ? b("", !0) : (C(), I("div", w2, [
40745
+ p("div", vY, [
40746
+ i.portraitURL ? b("", !0) : (C(), I("div", wY, [
40747
40747
  h(A, {
40748
40748
  text: "",
40749
40749
  size: "sm",
@@ -40756,9 +40756,9 @@ function q2(t, e, n, r, o, i) {
40756
40756
  src: i.portraitURL,
40757
40757
  alt: "Portrait",
40758
40758
  class: "w-9 h-9 rounded-xl"
40759
- }, null, 8, y2)) : b("", !0)
40759
+ }, null, 8, yY)) : b("", !0)
40760
40760
  ]),
40761
- p("div", b2, [
40761
+ p("div", bY, [
40762
40762
  h(A, {
40763
40763
  text: n.personPenalties.DisplayName,
40764
40764
  size: "md",
@@ -40767,8 +40767,8 @@ function q2(t, e, n, r, o, i) {
40767
40767
  class: "text-sm md:text-lg"
40768
40768
  }, null, 8, ["text"])
40769
40769
  ]),
40770
- p("div", x2, [
40771
- i.yellowCardCount > 0 ? (C(), I("div", D2, [
40770
+ p("div", xY, [
40771
+ i.yellowCardCount > 0 ? (C(), I("div", DY, [
40772
40772
  h(a, {
40773
40773
  "icon-name": "fa-square",
40774
40774
  size: "lg",
@@ -40782,7 +40782,7 @@ function q2(t, e, n, r, o, i) {
40782
40782
  class: "ml-2"
40783
40783
  }, null, 8, ["text"])
40784
40784
  ])) : b("", !0),
40785
- i.redCardCount > 0 ? (C(), I("div", S2, [
40785
+ i.redCardCount > 0 ? (C(), I("div", SY, [
40786
40786
  h(a, {
40787
40787
  "icon-name": "fa-square",
40788
40788
  size: "lg",
@@ -40796,14 +40796,14 @@ function q2(t, e, n, r, o, i) {
40796
40796
  class: "ml-2"
40797
40797
  }, null, 8, ["text"])
40798
40798
  ])) : b("", !0),
40799
- i.blackCardCount > 0 ? (C(), I("div", k2, [
40799
+ i.blackCardCount > 0 ? (C(), I("div", kY, [
40800
40800
  h(a, {
40801
40801
  "icon-name": "fa-square",
40802
40802
  size: "lg",
40803
40803
  color: "black"
40804
40804
  })
40805
40805
  ])) : b("", !0),
40806
- i.medicalCount > 0 ? (C(), I("div", M2, [
40806
+ i.medicalCount > 0 ? (C(), I("div", MY, [
40807
40807
  h(a, {
40808
40808
  "icon-name": "fa-plus-circle",
40809
40809
  size: "lg",
@@ -40811,7 +40811,7 @@ function q2(t, e, n, r, o, i) {
40811
40811
  })
40812
40812
  ])) : b("", !0)
40813
40813
  ]),
40814
- p("button", O2, [
40814
+ p("button", OY, [
40815
40815
  h(a, {
40816
40816
  "icon-name": "fa-chevron-down",
40817
40817
  size: "lg",
@@ -40822,13 +40822,13 @@ function q2(t, e, n, r, o, i) {
40822
40822
  ])) : b("", !0),
40823
40823
  h(cn, { name: "fade-in-down" }, {
40824
40824
  default: Oe(() => [
40825
- o.localShowDetails ? (C(), I("div", T2, [
40825
+ o.localShowDetails ? (C(), I("div", TY, [
40826
40826
  (C(!0), I(ae, null, Qe(n.personPenalties.Penalties, (c) => (C(), I("div", {
40827
40827
  key: c.BoutId,
40828
40828
  class: "flex flex-col p-2 border-b my-2"
40829
40829
  }, [
40830
- p("div", R2, [
40831
- p("div", P2, [
40830
+ p("div", RY, [
40831
+ p("div", PY, [
40832
40832
  h(a, {
40833
40833
  "icon-name": o.penaltyIcons[c.PenaltyType],
40834
40834
  size: "md",
@@ -40842,7 +40842,7 @@ function q2(t, e, n, r, o, i) {
40842
40842
  class: "-mt-0.5 ml-2 text-sm md:text-md"
40843
40843
  }, null, 8, ["text"])
40844
40844
  ]),
40845
- p("div", z2, [
40845
+ p("div", zY, [
40846
40846
  h(A, {
40847
40847
  text: n.eventName,
40848
40848
  size: "sm",
@@ -40866,8 +40866,8 @@ function q2(t, e, n, r, o, i) {
40866
40866
  }, null, 8, ["text"])
40867
40867
  ])
40868
40868
  ]),
40869
- p("div", L2, [
40870
- p("div", F2, [
40869
+ p("div", LY, [
40870
+ p("div", FY, [
40871
40871
  h(A, {
40872
40872
  text: "Notes:",
40873
40873
  size: "sm",
@@ -40884,7 +40884,7 @@ function q2(t, e, n, r, o, i) {
40884
40884
  class: "ml-2"
40885
40885
  }, null, 8, ["text"])) : b("", !0)
40886
40886
  ]),
40887
- p("div", N2, [
40887
+ p("div", NY, [
40888
40888
  h(A, {
40889
40889
  text: "Issued By:",
40890
40890
  size: "sm",
@@ -40901,7 +40901,7 @@ function q2(t, e, n, r, o, i) {
40901
40901
  }, null, 8, ["text"])
40902
40902
  ])
40903
40903
  ]),
40904
- c.PenaltyType === "Black" ? (C(), I("div", H2, [
40904
+ c.PenaltyType === "Black" && !c.Confirmed ? (C(), I("div", HY, [
40905
40905
  h(l, {
40906
40906
  label: "Confirm Removal of Fencer",
40907
40907
  size: "sm",
@@ -40917,7 +40917,7 @@ function q2(t, e, n, r, o, i) {
40917
40917
  })
40918
40918
  ], 64);
40919
40919
  }
40920
- const Y2 = /* @__PURE__ */ oe(Q2, [["render", q2], ["__scopeId", "data-v-ff6d7c65"]]), j2 = {
40920
+ const YY = /* @__PURE__ */ oe(QY, [["render", qY], ["__scopeId", "data-v-ce4912da"]]), jY = {
40921
40921
  name: "PenaltySummary",
40922
40922
  components: { BaseText: Be, EventStatusBox: gi },
40923
40923
  props: {
@@ -40968,12 +40968,12 @@ const Y2 = /* @__PURE__ */ oe(Q2, [["render", q2], ["__scopeId", "data-v-ff6d7c6
40968
40968
  return !isNaN(t) && t !== null && t !== void 0;
40969
40969
  }
40970
40970
  }
40971
- }, K2 = { class: "flex flex-col md:flex-row md:bg-poolSetup py-1 px-2 md:px-4 md:rounded-xl justify-between md:shadow md:border border-dropdownSelect" }, U2 = { class: "hidden md:flex flex-col pt-2" }, G2 = { class: "flex flex-row space-x-4 items-center" };
40972
- function J2(t, e, n, r, o, i) {
40971
+ }, KY = { class: "flex flex-col md:flex-row md:bg-poolSetup py-1 px-2 md:px-4 md:rounded-xl justify-between md:shadow md:border border-dropdownSelect" }, UY = { class: "hidden md:flex flex-col pt-2" }, GY = { class: "flex flex-row space-x-4 items-center" };
40972
+ function JY(t, e, n, r, o, i) {
40973
40973
  var l;
40974
40974
  const A = w("BaseText"), a = w("EventStatusBox");
40975
- return C(), I("div", K2, [
40976
- p("section", U2, [
40975
+ return C(), I("div", KY, [
40976
+ p("section", UY, [
40977
40977
  h(A, {
40978
40978
  text: ((l = n.event) == null ? void 0 : l.EventName) || "Unknown Event",
40979
40979
  size: "",
@@ -40982,7 +40982,7 @@ function J2(t, e, n, r, o, i) {
40982
40982
  class: "text-sm md:text-lg"
40983
40983
  }, null, 8, ["text"])
40984
40984
  ]),
40985
- p("section", G2, [
40985
+ p("section", GY, [
40986
40986
  h(a, {
40987
40987
  "status-count": i.safeYellowCards,
40988
40988
  "status-label": "Yellow",
@@ -41006,13 +41006,14 @@ function J2(t, e, n, r, o, i) {
41006
41006
  ])
41007
41007
  ]);
41008
41008
  }
41009
- const V2 = /* @__PURE__ */ oe(j2, [["render", J2]]), W2 = {
41010
- components: { PenaltySummary: V2, BaseText: Be, EditEventsTopMenu: Cn, PenaltyFencerCard: Y2 },
41009
+ const VY = /* @__PURE__ */ oe(jY, [["render", JY]]), WY = {
41010
+ components: { PenaltySummary: VY, BaseText: Be, EditEventsTopMenu: Cn, PenaltyFencerCard: YY },
41011
41011
  emits: ["tab:menu-click", "penalty:removal"],
41012
41012
  props: {
41013
41013
  event: {
41014
41014
  type: Object,
41015
- required: !0
41015
+ required: !0,
41016
+ default: () => ({})
41016
41017
  },
41017
41018
  penalties: {
41018
41019
  type: Array,
@@ -41026,11 +41027,15 @@ const V2 = /* @__PURE__ */ oe(j2, [["render", J2]]), W2 = {
41026
41027
  data() {
41027
41028
  return {
41028
41029
  emptyDesertIcon: Vt,
41030
+ windowWidth: window.innerWidth,
41029
41031
  detailsVisible: {},
41030
41032
  tabs: ir
41031
41033
  };
41032
41034
  },
41033
41035
  computed: {
41036
+ isMobile() {
41037
+ return this.windowWidth <= 748;
41038
+ },
41034
41039
  totalYellowCards() {
41035
41040
  return Array.isArray(this.penalties) ? this.penalties.reduce((t, e) => t + (Array.isArray(e == null ? void 0 : e.Penalties) ? e.Penalties.filter((n) => (n == null ? void 0 : n.PenaltyType) === "Yellow").length : 0), 0) : 0;
41036
41041
  },
@@ -41052,19 +41057,19 @@ const V2 = /* @__PURE__ */ oe(j2, [["render", J2]]), W2 = {
41052
41057
  console.log(t), this.$emit("penalty:removal", t);
41053
41058
  }
41054
41059
  }
41055
- }, X2 = /* @__PURE__ */ p("div", { class: "md:p-4" }, null, -1), Z2 = {
41060
+ }, XY = /* @__PURE__ */ p("div", { class: "md:p-4" }, null, -1), ZY = {
41056
41061
  key: 0,
41057
41062
  class: "mb-10"
41058
- }, _2 = {
41063
+ }, _Y = {
41059
41064
  key: 1,
41060
41065
  class: "mb-10"
41061
- }, $2 = ["src"], e8 = { class: "flex justify-center" };
41066
+ }, $Y = ["src"], e8 = { class: "flex justify-center" };
41062
41067
  function t8(t, e, n, r, o, i) {
41063
41068
  const A = w("EditEventsTopMenu"), a = w("PenaltySummary"), l = w("PenaltyFencerCard"), c = w("BaseText");
41064
41069
  return C(), I("section", null, [
41065
41070
  h(A, {
41066
41071
  currentTab: "Penalties",
41067
- tabs: o.tabs(n.role, t.isMobile),
41072
+ tabs: o.tabs(n.role, i.isMobile),
41068
41073
  onTabMenuClick: i.handleTabMenuClick
41069
41074
  }, null, 8, ["tabs", "onTabMenuClick"]),
41070
41075
  h(a, {
@@ -41074,8 +41079,8 @@ function t8(t, e, n, r, o, i) {
41074
41079
  blackCards: i.totalBlackCards,
41075
41080
  medicalCalls: i.totalMedicalCalls
41076
41081
  }, null, 8, ["event", "yellowCards", "redCards", "blackCards", "medicalCalls"]),
41077
- X2,
41078
- n.penalties.length > 0 ? (C(), I("div", Z2, [
41082
+ XY,
41083
+ n.penalties.length > 0 ? (C(), I("div", ZY, [
41079
41084
  (C(!0), I(ae, null, Qe(n.penalties, (u, d) => (C(), I("div", { key: d }, [
41080
41085
  h(l, {
41081
41086
  eventName: "This is a event",
@@ -41084,12 +41089,12 @@ function t8(t, e, n, r, o, i) {
41084
41089
  }, null, 8, ["personPenalties", "onPenalty:removal"])
41085
41090
  ]))), 128))
41086
41091
  ])) : b("", !0),
41087
- !Array.isArray(n.penalties) || n.penalties.length === 0 ? (C(), I("div", _2, [
41092
+ !Array.isArray(n.penalties) || n.penalties.length === 0 ? (C(), I("div", _Y, [
41088
41093
  p("img", {
41089
41094
  alt: "Small desert scene with wind blowing.",
41090
41095
  class: "w-60 mt-8 mx-auto",
41091
41096
  src: o.emptyDesertIcon
41092
- }, null, 8, $2),
41097
+ }, null, 8, $Y),
41093
41098
  p("div", e8, [
41094
41099
  h(c, {
41095
41100
  color: "primaryHighlight",
@@ -41102,7 +41107,7 @@ function t8(t, e, n, r, o, i) {
41102
41107
  ])) : b("", !0)
41103
41108
  ]);
41104
41109
  }
41105
- const S8 = /* @__PURE__ */ oe(W2, [["render", t8]]);
41110
+ const S8 = /* @__PURE__ */ oe(WY, [["render", t8]]);
41106
41111
  export {
41107
41112
  l8 as AddTournamentPageOne,
41108
41113
  c8 as AddTournamentPageTwo,