pdf-factory 0.8.21 → 0.8.22

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.
@@ -1045,7 +1045,7 @@ function it(e) {
1045
1045
  }).sort((e, t) => e.name.localeCompare(t.name));
1046
1046
  }
1047
1047
  function at(e) {
1048
- for (let t of [e.rankings, e.ratings]) if (!(!t || typeof t != "object")) for (let e of Object.values(t)) {
1048
+ for (let t of [e.rankings, e.ratings]) if (t && typeof t == "object") for (let e of Object.values(t)) {
1049
1049
  let t = e?.[0]?.scaleValue;
1050
1050
  if (t != null && t !== "") return String(t);
1051
1051
  }
@@ -3011,7 +3011,7 @@ function pr(e) {
3011
3011
  }
3012
3012
  function mr(e) {
3013
3013
  let t = e.header;
3014
- if (!(!t || t.layout === "none")) return {
3014
+ if (t && t.layout !== "none") return {
3015
3015
  tournamentName: t.tournamentName ?? "",
3016
3016
  subtitle: t.subtitle,
3017
3017
  startDate: t.startDate,