sass-template-common 0.13.1 → 0.13.2

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.
@@ -13147,36 +13147,36 @@ const rm = (e) => {
13147
13147
  )
13148
13148
  ] });
13149
13149
  }, En = async (e) => {
13150
- const { data: t, autorIcon: n, speculationPrerenderClass: a } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } = I(), o = () => t?.config?.showtime ? `${Pe(t.info?.date?.modified)}` : "", i = /* @__PURE__ */ g("div", { className: "sass-com-oc2-autorContent", children: [
13151
- Array.isArray(t?.authors) && Array.isArray(t?.authors[0]?.image?.sizes) && t?.authors[0]?.image && t?.authors[0]?.image?.sizes?.length > 0 ? /* @__PURE__ */ s(
13150
+ const { data: t, autorIcon: n, speculationPrerenderClass: a } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } = I(), o = Array.isArray(t?.authors) ? t.authors[0] : void 0, i = o?.image?.sizes?.[0]?.url ?? "", c = i ? await fe(i) : "", l = () => t?.config?.showtime ? `${Pe(t.info?.date?.modified)}` : "", d = /* @__PURE__ */ g("div", { className: "sass-com-oc2-autorContent", children: [
13151
+ c ? /* @__PURE__ */ s(
13152
13152
  "img",
13153
13153
  {
13154
13154
  fetchPriority: "low",
13155
13155
  loading: "lazy",
13156
13156
  className: "sass-com-oc2-image",
13157
- src: await fe(t?.authors[0]?.image?.sizes[0]?.url || ""),
13158
- alt: t?.authors[0]?.fullname
13157
+ src: c,
13158
+ alt: o?.fullname ?? ""
13159
13159
  }
13160
13160
  ) : /* @__PURE__ */ s("div", { className: "sass-com-oc2-contentIcon", children: n }),
13161
- /* @__PURE__ */ s("p", { className: "sass-com-oc2-autorName", children: Ye(t?.authors[0]?.fullname ?? "Redacción", 18) }),
13161
+ /* @__PURE__ */ s("p", { className: "sass-com-oc2-autorName", children: Ye(o?.fullname ?? "Redacción", 18) }),
13162
13162
  /* @__PURE__ */ s(
13163
13163
  "p",
13164
13164
  {
13165
13165
  className: "sass-com-oc2-time",
13166
13166
  ...t?.config?.showtime ? Ze(t.info?.date?.modified) : {},
13167
- children: o()
13167
+ children: l()
13168
13168
  }
13169
13169
  )
13170
13170
  ] });
13171
13171
  return /* @__PURE__ */ g("div", { className: "sass-com-oc2-content", children: [
13172
- t?.authors[0]?.internaluser ? /* @__PURE__ */ s(
13172
+ o?.internaluser ? /* @__PURE__ */ s(
13173
13173
  O,
13174
13174
  {
13175
13175
  block_subPublication: r?.autor,
13176
- href: t.authors[0]?.internaluser ? `/${e.paths.autor}/${t?.authors[0]?.name}` : "#",
13177
- children: i
13176
+ href: o.internaluser ? `/${e.paths.autor}/${o?.name}` : "#",
13177
+ children: d
13178
13178
  }
13179
- ) : i,
13179
+ ) : d,
13180
13180
  /* @__PURE__ */ g("div", { className: "sass-com-oc2-boxInformationContent", children: [
13181
13181
  /* @__PURE__ */ s(
13182
13182
  O,