@wix/blog 1.0.713 → 1.0.714

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.
@@ -4817,12 +4817,18 @@ var zd = (e6, t2, n2 = false, r2) => {
4817
4817
  return { ...Rd(a2, t2), toggleLike: ee2, liveLikes: C2 };
4818
4818
  };
4819
4819
  var Bd = () => {
4820
+ let e6;
4820
4821
  try {
4821
- let { locale: e6, language: t2 } = (0, import_services_manager_react.useService)(xo);
4822
- return e6 || t2;
4822
+ let { multilingualEnabled: t3, currentLocale: n3 } = (0, import_services_manager_react.useService)(Ha);
4823
+ t3 && n3 && !n3.primaryLocale && (e6 = n3.regionalFormat);
4824
+ } catch {
4825
+ }
4826
+ let t2, n2;
4827
+ try {
4828
+ ({ locale: t2, language: n2 } = (0, import_services_manager_react.useService)(xo));
4823
4829
  } catch {
4824
- return;
4825
4830
  }
4831
+ return e6 || t2 || n2;
4826
4832
  };
4827
4833
  var Vd = (e6, t2, n2) => typeof e6 != `number` || !Number.isFinite(e6) || e6 < 0 ? `` : new Intl.NumberFormat(n2, t2 === `compact` ? { notation: `compact`, maximumFractionDigits: 1 } : void 0).format(e6);
4828
4834
  var Q = { timeToRead: `post.time-to-read`, viewCount: `post.view-count`, commentCount: `post.comment-count`, likeCount: `post.like-count`, noPostsTitle: `post-list.empty-state.title`, noPostsDescription: `post-list.empty-state.description`, noRelatedPostsTitle: `related-posts.empty-state.title`, noRelatedPostsDescription: `related-posts.empty-state.description`, canvasPostTitle: `canvas.post-title`, canvasAuthorName: `canvas.author-name`, canvasExcerpt: `canvas.excerpt`, canvasContent: `canvas.content`, canvasCategory: `canvas.category`, canvasCategoryNumbered: `canvas.category-numbered`, canvasTagNumbered: `canvas.tag-numbered`, canvasCoverAlt: `cover-media.placeholder-alt`, canvasAuthorPhotoAlt: `canvas.author-photo-alt` };