breviarium 0.2.39 → 0.2.41

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.
@@ -4589,22 +4589,18 @@ function eu(o) {
4589
4589
  }
4590
4590
  var k = /* @__PURE__ */ ((o) => (o.GREEN = "GREEN", o.GREEN_C = "#70b26f", o.PURPLE = "PURPLE", o.PURPLE_C = "#794498", o.WHITE = "WHITE", o.WHITE_C = "#bdbdbd66", o.ROSE = "ROSE", o.ROSE_C = "#ff81f5", o.BLUE = "BLUE", o.BLUE_C = "#00bafe", o.RED = "RED", o.RED_C = "#ff5654", o))(k || {}), Bn = /* @__PURE__ */ ((o) => (o.FIRSTLECTURE = "FIRSTLECTURE", o.PSALM = "PSALM", o.SECONDLECTURE = "SECONDLECTURE", o.GOSPEL = "GOSPEL", o))(Bn || {});
4591
4591
  function au(o) {
4592
- const a = o[0];
4593
- console.log("mapper_evangelium prev", a);
4594
- const s = [];
4595
- a == null || a.lecturas.forEach((n) => {
4596
- n.type == Bn.GOSPEL && s.push({
4597
- ref: b("lecturas_referencia", n.ref),
4598
- texto: b("lecturas_texto", n.texto),
4599
- type: n.type
4592
+ const a = o[0], s = [];
4593
+ return a == null || a.lecturas.forEach((r) => {
4594
+ r.type == Bn.GOSPEL && s.push({
4595
+ ref: b("lecturas_referencia", r.ref),
4596
+ texto: b("lecturas_texto", r.texto),
4597
+ type: r.type
4600
4598
  });
4601
- });
4602
- const r = {
4599
+ }), {
4603
4600
  id: a.id,
4604
4601
  cycle: a.cycle,
4605
4602
  evangelium_lectiones: s
4606
4603
  };
4607
- return console.log("mapper_evangelium post", r), r;
4608
4604
  }
4609
4605
  class ou {
4610
4606
  constructor() {
@@ -4737,7 +4733,7 @@ class iu {
4737
4733
  }
4738
4734
  async getLiturgyInformation(a) {
4739
4735
  const s = await re(a);
4740
- return a ? {
4736
+ return s ? {
4741
4737
  psaltery_week: s == null ? void 0 : s.cycles.psalterWeek,
4742
4738
  cycle: s == null ? void 0 : s.cycles.sundayCycle,
4743
4739
  color: s == null ? void 0 : s.colors[0],