@wix/himalaya-cli 0.1741.0 → 0.1742.0

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.
Files changed (287) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +7 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/pricing-plans/src/index.d.ts +6 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +6 -0
  4. package/dist/cli.mjs +161 -73
  5. package/guides/getting-started.md +18 -7
  6. package/guides/himi-json-output.md +11 -0
  7. package/guides/himi-skill.md +18 -7
  8. package/guides/sdk-reference.json +11 -2
  9. package/guides/skill.md +24 -13
  10. package/package.json +2 -2
  11. package/templates/beauty-salon/l10n/en.json +55 -0
  12. package/templates/beauty-salon/l10n/fr.json +297 -0
  13. package/templates/beauty-salon/l10n/he.json +319 -0
  14. package/templates/beauty-salon/recipes/blog-list-thumb-start.json +364 -0
  15. package/templates/beauty-salon/recipes/blog-list.json +364 -0
  16. package/templates/beauty-salon/recipes/blog-see-all.json +50 -0
  17. package/templates/beauty-salon/recipes/events-inline-list.json +203 -0
  18. package/templates/beauty-salon/recipes/events-inline.json +284 -0
  19. package/templates/beauty-salon/recipes/members-list.json +445 -0
  20. package/templates/beauty-salon/recipes/plans-card.json +811 -0
  21. package/templates/beauty-salon/recipes/programs-card.json +254 -0
  22. package/templates/beauty-salon/recipes/programs-carousel.json +234 -0
  23. package/templates/beauty-salon/recipes/section-error.json +58 -0
  24. package/templates/beauty-salon/tier5-src/_shared/blog-list.ts +207 -0
  25. package/templates/beauty-salon/tier5-src/_shared/event-registration.ts +86 -0
  26. package/templates/beauty-salon/tier5-src/_shared/events-card.ts +33 -0
  27. package/templates/beauty-salon/tier5-src/_shared/events-inline-options.ts +25 -0
  28. package/templates/beauty-salon/tier5-src/_shared/events-inline.ts +82 -0
  29. package/templates/beauty-salon/tier5-src/_shared/member-activity.ts +34 -0
  30. package/templates/beauty-salon/tier5-src/_shared/member-row-extras.ts +167 -0
  31. package/templates/beauty-salon/tier5-src/_shared/members-directory-view.ts +39 -0
  32. package/templates/beauty-salon/tier5-src/_shared/members-directory.ts +267 -0
  33. package/templates/beauty-salon/tier5-src/_shared/plan-facts.ts +87 -0
  34. package/templates/beauty-salon/tier5-src/_shared/plans-section.ts +106 -0
  35. package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +728 -0
  36. package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +21 -0
  37. package/templates/branded-lite/l10n/fr.json +10 -0
  38. package/templates/branded-lite/l10n/he.json +88 -0
  39. package/templates/branded-lite/recipes/blog-list-thumb-start.json +364 -0
  40. package/templates/branded-lite/recipes/blog-list.json +364 -0
  41. package/templates/branded-lite/recipes/blog-see-all.json +50 -0
  42. package/templates/branded-lite/recipes/events-inline-list.json +203 -0
  43. package/templates/branded-lite/recipes/events-inline.json +284 -0
  44. package/templates/branded-lite/recipes/members-list.json +445 -0
  45. package/templates/branded-lite/recipes/plans-card.json +811 -0
  46. package/templates/branded-lite/recipes/programs-card.json +254 -0
  47. package/templates/branded-lite/recipes/programs-carousel.json +234 -0
  48. package/templates/branded-lite/recipes/section-error.json +58 -0
  49. package/templates/branded-lite/tier5-src/_shared/blog-list.ts +207 -0
  50. package/templates/branded-lite/tier5-src/_shared/events-card.ts +33 -0
  51. package/templates/branded-lite/tier5-src/_shared/events-inline-options.ts +25 -0
  52. package/templates/branded-lite/tier5-src/_shared/events-inline.ts +82 -0
  53. package/templates/branded-lite/tier5-src/_shared/member-row-extras.ts +1 -1
  54. package/templates/branded-lite/tier5-src/_shared/members-directory-view.ts +39 -0
  55. package/templates/branded-lite/tier5-src/_shared/members-directory.ts +267 -0
  56. package/templates/branded-lite/tier5-src/_shared/plan-facts.ts +87 -0
  57. package/templates/branded-lite/tier5-src/_shared/plans-section.ts +106 -0
  58. package/templates/branded-lite/tier5-src/_shared/programs-section.ts +728 -0
  59. package/templates/branded-lite/tier5-src/_shared/relative-time.ts +21 -0
  60. package/templates/community-club/l10n/en.json +45 -0
  61. package/templates/community-club/l10n/fr.json +292 -0
  62. package/templates/community-club/l10n/he.json +315 -0
  63. package/templates/community-club/recipes/blog-list-thumb-start.json +364 -0
  64. package/templates/community-club/recipes/blog-list.json +364 -0
  65. package/templates/community-club/recipes/blog-see-all.json +50 -0
  66. package/templates/community-club/recipes/events-inline-list.json +203 -0
  67. package/templates/community-club/recipes/events-inline.json +284 -0
  68. package/templates/community-club/recipes/members-list.json +445 -0
  69. package/templates/community-club/recipes/plans-card.json +811 -0
  70. package/templates/community-club/recipes/programs-card.json +254 -0
  71. package/templates/community-club/recipes/programs-carousel.json +234 -0
  72. package/templates/community-club/recipes/section-error.json +58 -0
  73. package/templates/community-club/tier5-src/_shared/blog-list.ts +207 -0
  74. package/templates/community-club/tier5-src/_shared/detail-presence.ts +51 -0
  75. package/templates/community-club/tier5-src/_shared/events-card.ts +33 -0
  76. package/templates/community-club/tier5-src/_shared/events-inline-options.ts +25 -0
  77. package/templates/community-club/tier5-src/_shared/events-inline.ts +82 -0
  78. package/templates/community-club/tier5-src/_shared/member-activity.ts +34 -0
  79. package/templates/community-club/tier5-src/_shared/member-row-extras.ts +167 -0
  80. package/templates/community-club/tier5-src/_shared/members-directory-view.ts +39 -0
  81. package/templates/community-club/tier5-src/_shared/members-directory.ts +267 -0
  82. package/templates/community-club/tier5-src/_shared/plan-facts.ts +87 -0
  83. package/templates/community-club/tier5-src/_shared/plans-section.ts +106 -0
  84. package/templates/community-club/tier5-src/_shared/programs-section.ts +728 -0
  85. package/templates/community-club/tier5-src/_shared/relative-time.ts +21 -0
  86. package/templates/events-meetups/l10n/en.json +45 -0
  87. package/templates/events-meetups/l10n/fr.json +292 -0
  88. package/templates/events-meetups/l10n/he.json +315 -0
  89. package/templates/events-meetups/recipes/blog-list-thumb-start.json +364 -0
  90. package/templates/events-meetups/recipes/blog-list.json +364 -0
  91. package/templates/events-meetups/recipes/blog-see-all.json +50 -0
  92. package/templates/events-meetups/recipes/events-inline-list.json +203 -0
  93. package/templates/events-meetups/recipes/events-inline.json +284 -0
  94. package/templates/events-meetups/recipes/members-list.json +445 -0
  95. package/templates/events-meetups/recipes/plans-card.json +811 -0
  96. package/templates/events-meetups/recipes/programs-card.json +254 -0
  97. package/templates/events-meetups/recipes/programs-carousel.json +234 -0
  98. package/templates/events-meetups/recipes/section-error.json +58 -0
  99. package/templates/events-meetups/tier5-src/_shared/blog-list.ts +207 -0
  100. package/templates/events-meetups/tier5-src/_shared/detail-presence.ts +51 -0
  101. package/templates/events-meetups/tier5-src/_shared/events-card.ts +33 -0
  102. package/templates/events-meetups/tier5-src/_shared/events-inline-options.ts +25 -0
  103. package/templates/events-meetups/tier5-src/_shared/events-inline.ts +82 -0
  104. package/templates/events-meetups/tier5-src/_shared/member-activity.ts +34 -0
  105. package/templates/events-meetups/tier5-src/_shared/member-row-extras.ts +167 -0
  106. package/templates/events-meetups/tier5-src/_shared/members-directory-view.ts +39 -0
  107. package/templates/events-meetups/tier5-src/_shared/members-directory.ts +267 -0
  108. package/templates/events-meetups/tier5-src/_shared/plan-facts.ts +87 -0
  109. package/templates/events-meetups/tier5-src/_shared/plans-section.ts +106 -0
  110. package/templates/events-meetups/tier5-src/_shared/programs-section.ts +728 -0
  111. package/templates/events-meetups/tier5-src/_shared/relative-time.ts +21 -0
  112. package/templates/gym-fitness/l10n/en.json +45 -0
  113. package/templates/gym-fitness/l10n/fr.json +282 -0
  114. package/templates/gym-fitness/l10n/he.json +307 -0
  115. package/templates/gym-fitness/recipes/blog-list-thumb-start.json +364 -0
  116. package/templates/gym-fitness/recipes/blog-list.json +364 -0
  117. package/templates/gym-fitness/recipes/blog-see-all.json +50 -0
  118. package/templates/gym-fitness/recipes/events-inline-list.json +203 -0
  119. package/templates/gym-fitness/recipes/events-inline.json +284 -0
  120. package/templates/gym-fitness/recipes/members-list.json +445 -0
  121. package/templates/gym-fitness/recipes/plans-card.json +811 -0
  122. package/templates/gym-fitness/recipes/programs-card.json +254 -0
  123. package/templates/gym-fitness/recipes/programs-carousel.json +234 -0
  124. package/templates/gym-fitness/recipes/section-error.json +58 -0
  125. package/templates/gym-fitness/tier5-src/_shared/blog-list.ts +207 -0
  126. package/templates/gym-fitness/tier5-src/_shared/events-card.ts +33 -0
  127. package/templates/gym-fitness/tier5-src/_shared/events-inline-options.ts +25 -0
  128. package/templates/gym-fitness/tier5-src/_shared/events-inline.ts +82 -0
  129. package/templates/gym-fitness/tier5-src/_shared/member-activity.ts +34 -0
  130. package/templates/gym-fitness/tier5-src/_shared/member-row-extras.ts +167 -0
  131. package/templates/gym-fitness/tier5-src/_shared/members-directory-view.ts +39 -0
  132. package/templates/gym-fitness/tier5-src/_shared/members-directory.ts +267 -0
  133. package/templates/gym-fitness/tier5-src/_shared/plan-facts.ts +87 -0
  134. package/templates/gym-fitness/tier5-src/_shared/plans-section.ts +106 -0
  135. package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +728 -0
  136. package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +21 -0
  137. package/templates/nonprofit-cause/l10n/en.json +45 -0
  138. package/templates/nonprofit-cause/l10n/fr.json +267 -0
  139. package/templates/nonprofit-cause/l10n/he.json +295 -0
  140. package/templates/nonprofit-cause/recipes/blog-list-thumb-start.json +364 -0
  141. package/templates/nonprofit-cause/recipes/blog-list.json +364 -0
  142. package/templates/nonprofit-cause/recipes/blog-see-all.json +50 -0
  143. package/templates/nonprofit-cause/recipes/events-inline-list.json +203 -0
  144. package/templates/nonprofit-cause/recipes/events-inline.json +284 -0
  145. package/templates/nonprofit-cause/recipes/members-list.json +445 -0
  146. package/templates/nonprofit-cause/recipes/plans-card.json +811 -0
  147. package/templates/nonprofit-cause/recipes/programs-card.json +254 -0
  148. package/templates/nonprofit-cause/recipes/programs-carousel.json +234 -0
  149. package/templates/nonprofit-cause/recipes/section-error.json +58 -0
  150. package/templates/nonprofit-cause/tier5-src/_shared/blog-list.ts +207 -0
  151. package/templates/nonprofit-cause/tier5-src/_shared/events-card.ts +33 -0
  152. package/templates/nonprofit-cause/tier5-src/_shared/events-inline-options.ts +25 -0
  153. package/templates/nonprofit-cause/tier5-src/_shared/events-inline.ts +82 -0
  154. package/templates/nonprofit-cause/tier5-src/_shared/member-activity.ts +34 -0
  155. package/templates/nonprofit-cause/tier5-src/_shared/member-row-extras.ts +167 -0
  156. package/templates/nonprofit-cause/tier5-src/_shared/members-directory-view.ts +39 -0
  157. package/templates/nonprofit-cause/tier5-src/_shared/members-directory.ts +267 -0
  158. package/templates/nonprofit-cause/tier5-src/_shared/plan-facts.ts +87 -0
  159. package/templates/nonprofit-cause/tier5-src/_shared/plans-section.ts +106 -0
  160. package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +728 -0
  161. package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +21 -0
  162. package/templates/podcast-creator/l10n/en.json +45 -0
  163. package/templates/podcast-creator/l10n/fr.json +287 -0
  164. package/templates/podcast-creator/l10n/he.json +311 -0
  165. package/templates/podcast-creator/recipes/blog-list-thumb-start.json +364 -0
  166. package/templates/podcast-creator/recipes/blog-list.json +364 -0
  167. package/templates/podcast-creator/recipes/blog-see-all.json +50 -0
  168. package/templates/podcast-creator/recipes/events-inline-list.json +203 -0
  169. package/templates/podcast-creator/recipes/events-inline.json +284 -0
  170. package/templates/podcast-creator/recipes/members-list.json +445 -0
  171. package/templates/podcast-creator/recipes/plans-card.json +811 -0
  172. package/templates/podcast-creator/recipes/programs-card.json +254 -0
  173. package/templates/podcast-creator/recipes/programs-carousel.json +234 -0
  174. package/templates/podcast-creator/recipes/section-error.json +58 -0
  175. package/templates/podcast-creator/tier5-src/_shared/blog-list.ts +207 -0
  176. package/templates/podcast-creator/tier5-src/_shared/events-card.ts +33 -0
  177. package/templates/podcast-creator/tier5-src/_shared/events-inline-options.ts +25 -0
  178. package/templates/podcast-creator/tier5-src/_shared/events-inline.ts +82 -0
  179. package/templates/podcast-creator/tier5-src/_shared/member-activity.ts +34 -0
  180. package/templates/podcast-creator/tier5-src/_shared/member-row-extras.ts +167 -0
  181. package/templates/podcast-creator/tier5-src/_shared/members-directory-view.ts +39 -0
  182. package/templates/podcast-creator/tier5-src/_shared/members-directory.ts +267 -0
  183. package/templates/podcast-creator/tier5-src/_shared/plan-facts.ts +87 -0
  184. package/templates/podcast-creator/tier5-src/_shared/plans-section.ts +106 -0
  185. package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +728 -0
  186. package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +21 -0
  187. package/templates/portfolio-creative/l10n/en.json +45 -0
  188. package/templates/portfolio-creative/l10n/fr.json +317 -0
  189. package/templates/portfolio-creative/l10n/he.json +335 -0
  190. package/templates/portfolio-creative/recipes/blog-list-thumb-start.json +364 -0
  191. package/templates/portfolio-creative/recipes/blog-list.json +364 -0
  192. package/templates/portfolio-creative/recipes/blog-see-all.json +50 -0
  193. package/templates/portfolio-creative/recipes/events-inline-list.json +203 -0
  194. package/templates/portfolio-creative/recipes/events-inline.json +284 -0
  195. package/templates/portfolio-creative/recipes/members-list.json +445 -0
  196. package/templates/portfolio-creative/recipes/plans-card.json +811 -0
  197. package/templates/portfolio-creative/recipes/programs-card.json +254 -0
  198. package/templates/portfolio-creative/recipes/programs-carousel.json +234 -0
  199. package/templates/portfolio-creative/recipes/section-error.json +58 -0
  200. package/templates/portfolio-creative/tier5-src/_shared/blog-list.ts +207 -0
  201. package/templates/portfolio-creative/tier5-src/_shared/events-card.ts +33 -0
  202. package/templates/portfolio-creative/tier5-src/_shared/events-inline-options.ts +25 -0
  203. package/templates/portfolio-creative/tier5-src/_shared/events-inline.ts +82 -0
  204. package/templates/portfolio-creative/tier5-src/_shared/member-activity.ts +34 -0
  205. package/templates/portfolio-creative/tier5-src/_shared/member-row-extras.ts +167 -0
  206. package/templates/portfolio-creative/tier5-src/_shared/members-directory-view.ts +39 -0
  207. package/templates/portfolio-creative/tier5-src/_shared/members-directory.ts +267 -0
  208. package/templates/portfolio-creative/tier5-src/_shared/plan-facts.ts +87 -0
  209. package/templates/portfolio-creative/tier5-src/_shared/plans-section.ts +106 -0
  210. package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +728 -0
  211. package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +21 -0
  212. package/templates/restaurant/l10n/en.json +45 -0
  213. package/templates/restaurant/l10n/fr.json +317 -0
  214. package/templates/restaurant/l10n/he.json +335 -0
  215. package/templates/restaurant/recipes/blog-list-thumb-start.json +364 -0
  216. package/templates/restaurant/recipes/blog-list.json +364 -0
  217. package/templates/restaurant/recipes/blog-see-all.json +50 -0
  218. package/templates/restaurant/recipes/events-inline-list.json +203 -0
  219. package/templates/restaurant/recipes/events-inline.json +284 -0
  220. package/templates/restaurant/recipes/members-list.json +445 -0
  221. package/templates/restaurant/recipes/plans-card.json +811 -0
  222. package/templates/restaurant/recipes/programs-card.json +254 -0
  223. package/templates/restaurant/recipes/programs-carousel.json +234 -0
  224. package/templates/restaurant/recipes/section-error.json +58 -0
  225. package/templates/restaurant/tier5-src/_shared/blog-list.ts +207 -0
  226. package/templates/restaurant/tier5-src/_shared/events-card.ts +33 -0
  227. package/templates/restaurant/tier5-src/_shared/events-inline-options.ts +25 -0
  228. package/templates/restaurant/tier5-src/_shared/events-inline.ts +82 -0
  229. package/templates/restaurant/tier5-src/_shared/member-activity.ts +34 -0
  230. package/templates/restaurant/tier5-src/_shared/member-row-extras.ts +167 -0
  231. package/templates/restaurant/tier5-src/_shared/members-directory-view.ts +39 -0
  232. package/templates/restaurant/tier5-src/_shared/members-directory.ts +267 -0
  233. package/templates/restaurant/tier5-src/_shared/plan-facts.ts +87 -0
  234. package/templates/restaurant/tier5-src/_shared/plans-section.ts +106 -0
  235. package/templates/restaurant/tier5-src/_shared/programs-section.ts +728 -0
  236. package/templates/restaurant/tier5-src/_shared/relative-time.ts +21 -0
  237. package/templates/retail-store/l10n/en.json +60 -0
  238. package/templates/retail-store/l10n/fr.json +342 -0
  239. package/templates/retail-store/l10n/he.json +355 -0
  240. package/templates/retail-store/recipes/blog-list-thumb-start.json +364 -0
  241. package/templates/retail-store/recipes/blog-list.json +364 -0
  242. package/templates/retail-store/recipes/blog-see-all.json +50 -0
  243. package/templates/retail-store/recipes/events-inline-list.json +203 -0
  244. package/templates/retail-store/recipes/events-inline.json +284 -0
  245. package/templates/retail-store/recipes/members-list.json +445 -0
  246. package/templates/retail-store/recipes/plans-card.json +811 -0
  247. package/templates/retail-store/recipes/programs-card.json +254 -0
  248. package/templates/retail-store/recipes/programs-carousel.json +234 -0
  249. package/templates/retail-store/recipes/section-error.json +58 -0
  250. package/templates/retail-store/tier5-src/_shared/blog-list.ts +207 -0
  251. package/templates/retail-store/tier5-src/_shared/event-registration.ts +86 -0
  252. package/templates/retail-store/tier5-src/_shared/events-card.ts +33 -0
  253. package/templates/retail-store/tier5-src/_shared/events-inline-options.ts +25 -0
  254. package/templates/retail-store/tier5-src/_shared/events-inline.ts +82 -0
  255. package/templates/retail-store/tier5-src/_shared/member-activity.ts +34 -0
  256. package/templates/retail-store/tier5-src/_shared/member-row-extras.ts +167 -0
  257. package/templates/retail-store/tier5-src/_shared/members-directory-view.ts +39 -0
  258. package/templates/retail-store/tier5-src/_shared/members-directory.ts +267 -0
  259. package/templates/retail-store/tier5-src/_shared/plan-facts.ts +87 -0
  260. package/templates/retail-store/tier5-src/_shared/plans-section.ts +106 -0
  261. package/templates/retail-store/tier5-src/_shared/programs-section.ts +728 -0
  262. package/templates/retail-store/tier5-src/_shared/relative-time.ts +21 -0
  263. package/templates/yoga-studio/l10n/en.json +24 -0
  264. package/templates/yoga-studio/l10n/fr.json +64 -0
  265. package/templates/yoga-studio/l10n/he.json +132 -0
  266. package/templates/yoga-studio/recipes/blog-list-thumb-start.json +364 -0
  267. package/templates/yoga-studio/recipes/blog-list.json +364 -0
  268. package/templates/yoga-studio/recipes/blog-see-all.json +50 -0
  269. package/templates/yoga-studio/recipes/events-inline-list.json +203 -0
  270. package/templates/yoga-studio/recipes/events-inline.json +284 -0
  271. package/templates/yoga-studio/recipes/members-list.json +445 -0
  272. package/templates/yoga-studio/recipes/plans-card.json +811 -0
  273. package/templates/yoga-studio/recipes/programs-card.json +254 -0
  274. package/templates/yoga-studio/recipes/programs-carousel.json +234 -0
  275. package/templates/yoga-studio/recipes/section-error.json +58 -0
  276. package/templates/yoga-studio/tier5-src/_shared/blog-list.ts +207 -0
  277. package/templates/yoga-studio/tier5-src/_shared/events-card.ts +33 -0
  278. package/templates/yoga-studio/tier5-src/_shared/events-inline-options.ts +25 -0
  279. package/templates/yoga-studio/tier5-src/_shared/events-inline.ts +82 -0
  280. package/templates/yoga-studio/tier5-src/_shared/member-activity.ts +34 -0
  281. package/templates/yoga-studio/tier5-src/_shared/member-row-extras.ts +167 -0
  282. package/templates/yoga-studio/tier5-src/_shared/members-directory-view.ts +39 -0
  283. package/templates/yoga-studio/tier5-src/_shared/members-directory.ts +267 -0
  284. package/templates/yoga-studio/tier5-src/_shared/plan-facts.ts +87 -0
  285. package/templates/yoga-studio/tier5-src/_shared/plans-section.ts +106 -0
  286. package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +728 -0
  287. package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +21 -0
@@ -0,0 +1,21 @@
1
+ // "2 hours ago" for a recent timestamp, the plain date once it is a week old (the One App blog list and cards).
2
+ // Pure and Intl-free: the absolute date comes from engine-intl, whose fallback never throws on the wrist engines.
3
+ import { copyParam, copyPlural } from "./himi-copy.js";
4
+ import { formatDateMedium } from "./engine-intl.js";
5
+
6
+ const MINUTE = 60_000;
7
+ const HOUR = 60 * MINUTE;
8
+ const DAY = 24 * HOUR;
9
+ const RELATIVE_DAYS = 7;
10
+
11
+ /** "" when `iso` is missing or not a date. A time in the future (a clock skew) reads as the date, never "-3 minutes ago". */
12
+ export function relativeTime(iso: string | undefined, now: number): string {
13
+ const at = iso ? Date.parse(iso) : NaN;
14
+ if (!Number.isFinite(at)) return "";
15
+ const age = now - at;
16
+ if (age < 0 || age >= RELATIVE_DAYS * DAY) return formatDateMedium(new Date(at));
17
+ if (age < MINUTE) return copyParam("relativeTime.justNow", "Just now");
18
+ if (age < HOUR) return copyPlural("relativeTime.minutesAgo", "{n, plural, one {# minute ago} other {# minutes ago}}", Math.floor(age / MINUTE));
19
+ if (age < DAY) return copyPlural("relativeTime.hoursAgo", "{n, plural, one {# hour ago} other {# hours ago}}", Math.floor(age / HOUR));
20
+ return copyPlural("relativeTime.daysAgo", "{n, plural, one {# day ago} other {# days ago}}", Math.floor(age / DAY));
21
+ }
@@ -696,6 +696,12 @@
696
696
  "key": "agenda.onWaitlistLabel",
697
697
  "keyOrigin": "string-table"
698
698
  },
699
+ "h_66587a7a62a9": {
700
+ "source": "Follow",
701
+ "kind": "Button.title",
702
+ "translation": "",
703
+ "key": "member.followCta"
704
+ },
699
705
  "h_67300d0fed7c": {
700
706
  "source": "Clear search",
701
707
  "kind": "Button.title",
@@ -943,6 +949,13 @@
943
949
  "key": "subscriptionDetail.cancelNextPayment",
944
950
  "keyOrigin": "string-table"
945
951
  },
952
+ "h_8de84cb21a15": {
953
+ "source": "No members yet",
954
+ "kind": "EmptyState.title",
955
+ "translation": "",
956
+ "key": "members.emptyTitle",
957
+ "keyOrigin": "string-table"
958
+ },
946
959
  "h_8e1db3b4fc0e": {
947
960
  "source": "Confirm unblock",
948
961
  "kind": "Button.title",
@@ -978,6 +991,12 @@
978
991
  "key": "subscriptionDetail.confirmCancel",
979
992
  "keyOrigin": "string-table"
980
993
  },
994
+ "h_90eeb1008380": {
995
+ "source": "Following",
996
+ "kind": "Button.title",
997
+ "translation": "",
998
+ "key": "member.followingCta"
999
+ },
981
1000
  "h_92323a771155": {
982
1001
  "source": "Post comment",
983
1002
  "kind": "Button.title",
@@ -1856,6 +1875,11 @@
1856
1875
  "key": "tab.profile",
1857
1876
  "keyOrigin": "string-table"
1858
1877
  },
1878
+ "w_b9bda18537fd": {
1879
+ "source": "Follow",
1880
+ "key": "loyalty.follow",
1881
+ "translation": ""
1882
+ },
1859
1883
  "h_03e89418ffdf": {
1860
1884
  "source": "Your Home",
1861
1885
  "kind": "Text.text",
@@ -1442,6 +1442,24 @@
1442
1442
  "translation": "Catégories de posts",
1443
1443
  "origin": "machine"
1444
1444
  },
1445
+ "h_66587a7a62a9": {
1446
+ "key": "member.followCta",
1447
+ "source": "Follow",
1448
+ "translation": "Suivre",
1449
+ "origin": "machine"
1450
+ },
1451
+ "h_90eeb1008380": {
1452
+ "key": "member.followingCta",
1453
+ "source": "Following",
1454
+ "translation": "Abonné",
1455
+ "origin": "one-app:wix-one-app-comments:ReactionsListReactionRowFollowing"
1456
+ },
1457
+ "h_8de84cb21a15": {
1458
+ "key": "members.emptyTitle",
1459
+ "source": "No members yet",
1460
+ "translation": "Aucun membre pour le moment",
1461
+ "origin": "machine"
1462
+ },
1445
1463
  "h_84837a216817": {
1446
1464
  "key": "program.cancelRequestCta",
1447
1465
  "source": "Cancel request",
@@ -1622,6 +1640,12 @@
1622
1640
  "translation": "Masquer les avantages de la formule",
1623
1641
  "origin": "machine"
1624
1642
  },
1643
+ "w_b9bda18537fd": {
1644
+ "key": "loyalty.follow",
1645
+ "source": "Follow",
1646
+ "translation": "Suivre",
1647
+ "origin": "machine"
1648
+ },
1625
1649
  "h_03e89418ffdf": {
1626
1650
  "source": "Your Home",
1627
1651
  "translation": "Votre accueil",
@@ -3217,11 +3241,46 @@
3217
3241
  "translation": "{n, plural, one {# vue} other {# vues}}",
3218
3242
  "origin": "machine"
3219
3243
  },
3244
+ "h_009ff11c38aa": {
3245
+ "source": "Active {amount}d ago",
3246
+ "translation": "Actif il y a {amount} j",
3247
+ "origin": "machine"
3248
+ },
3249
+ "h_5dd42e3b6336": {
3250
+ "source": "Active {amount}m ago",
3251
+ "translation": "Actif il y a {amount} min",
3252
+ "origin": "machine"
3253
+ },
3254
+ "h_7ee707b2943a": {
3255
+ "source": "Active now",
3256
+ "translation": "Actif maintenant",
3257
+ "origin": "machine"
3258
+ },
3259
+ "h_b47e504b255d": {
3260
+ "source": "Active {amount}h ago",
3261
+ "translation": "Actif il y a {amount} h",
3262
+ "origin": "machine"
3263
+ },
3264
+ "h_bfc3c2d84424": {
3265
+ "source": "Last seen {date}",
3266
+ "translation": "Dernière connexion {date}",
3267
+ "origin": "machine"
3268
+ },
3220
3269
  "h_972017cb7471": {
3221
3270
  "source": "1 member",
3222
3271
  "translation": "1 membre",
3223
3272
  "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:CLUB_SCREEN_HEADER_SINGLE_MEMBER"
3224
3273
  },
3274
+ "h_95fa98b5f4ee": {
3275
+ "source": "Active {n}h ago",
3276
+ "translation": "Actif il y a {n} h",
3277
+ "origin": "machine"
3278
+ },
3279
+ "h_71609106e1eb": {
3280
+ "source": "Active {n}m ago",
3281
+ "translation": "Actif il y a {n} min",
3282
+ "origin": "machine"
3283
+ },
3225
3284
  "h_19b27b0fd751": {
3226
3285
  "source": "You’re offline — nothing was saved. Try again when you reconnect.",
3227
3286
  "translation": "Vous êtes hors ligne : rien n’a été enregistré. Réessayez une fois reconnecté.",
@@ -3852,6 +3911,11 @@
3852
3911
  "translation": "A partagé une actualité.",
3853
3912
  "origin": "machine"
3854
3913
  },
3914
+ "h_b993b0c53719": {
3915
+ "source": "No results",
3916
+ "translation": "Aucun résultat",
3917
+ "origin": "one-app:wix-one-app-loyalty:SELECT_COUPON_PICKER_MODAL_SEARCH_NO_RESULTS_TITLE"
3918
+ },
3855
3919
  "h_171a0606f7c7": {
3856
3920
  "source": "Group",
3857
3921
  "translation": "Groupe",
@@ -1215,6 +1215,21 @@
1215
1215
  "key": "blog.categoriesLabel",
1216
1216
  "translation": "קטגוריות פוסטים"
1217
1217
  },
1218
+ "h_66587a7a62a9": {
1219
+ "source": "Follow",
1220
+ "translation": "עקוב",
1221
+ "key": "member.followCta"
1222
+ },
1223
+ "h_90eeb1008380": {
1224
+ "source": "Following",
1225
+ "translation": "במעקב",
1226
+ "key": "member.followingCta"
1227
+ },
1228
+ "h_8de84cb21a15": {
1229
+ "source": "No members yet",
1230
+ "key": "members.emptyTitle",
1231
+ "translation": "אין עדיין חברים"
1232
+ },
1218
1233
  "h_84837a216817": {
1219
1234
  "source": "Cancel request",
1220
1235
  "key": "program.cancelRequestCta",
@@ -1365,6 +1380,11 @@
1365
1380
  "key": "plans.hideBenefits",
1366
1381
  "translation": "הסתרת הטבות התוכנית"
1367
1382
  },
1383
+ "w_b9bda18537fd": {
1384
+ "source": "Follow",
1385
+ "key": "loyalty.follow",
1386
+ "translation": "מעקב"
1387
+ },
1368
1388
  "h_03e89418ffdf": {
1369
1389
  "source": "Your Home",
1370
1390
  "translation": "הבית שלך"
@@ -2642,10 +2662,38 @@
2642
2662
  "source": "{n, plural, one {# view} other {# views}}",
2643
2663
  "translation": "{n, plural, one {צפייה אחת} other {# צפיות}}"
2644
2664
  },
2665
+ "h_009ff11c38aa": {
2666
+ "source": "Active {amount}d ago",
2667
+ "translation": "פעילות לפני {amount} ימים"
2668
+ },
2669
+ "h_5dd42e3b6336": {
2670
+ "source": "Active {amount}m ago",
2671
+ "translation": "פעילות לפני {amount} דקות"
2672
+ },
2673
+ "h_7ee707b2943a": {
2674
+ "source": "Active now",
2675
+ "translation": "פעילות עכשיו"
2676
+ },
2677
+ "h_b47e504b255d": {
2678
+ "source": "Active {amount}h ago",
2679
+ "translation": "פעילות לפני {amount} שעות"
2680
+ },
2681
+ "h_bfc3c2d84424": {
2682
+ "source": "Last seen {date}",
2683
+ "translation": "נראה לאחרונה {date}"
2684
+ },
2645
2685
  "h_972017cb7471": {
2646
2686
  "source": "1 member",
2647
2687
  "translation": "חבר אחד"
2648
2688
  },
2689
+ "h_95fa98b5f4ee": {
2690
+ "source": "Active {n}h ago",
2691
+ "translation": "פעיל/ה לפני {n} שע׳"
2692
+ },
2693
+ "h_71609106e1eb": {
2694
+ "source": "Active {n}m ago",
2695
+ "translation": "פעיל/ה לפני {n} דק׳"
2696
+ },
2649
2697
  "h_19b27b0fd751": {
2650
2698
  "source": "You’re offline — nothing was saved. Try again when you reconnect.",
2651
2699
  "translation": "אין חיבור — דבר לא נשמר. נסו שוב כשהחיבור יחזור."
@@ -3150,6 +3198,10 @@
3150
3198
  "source": "Shared an update.",
3151
3199
  "translation": "שיתף/ה עדכון."
3152
3200
  },
3201
+ "h_b993b0c53719": {
3202
+ "source": "No results",
3203
+ "translation": "אין תוצאות"
3204
+ },
3153
3205
  "h_171a0606f7c7": {
3154
3206
  "source": "Group",
3155
3207
  "translation": "קבוצה"
@@ -3689,6 +3741,86 @@
3689
3741
  "h_760205a2fb62": {
3690
3742
  "source": "One-time payment",
3691
3743
  "translation": "תשלום חד-פעמי"
3744
+ },
3745
+ "h_14ed0860418c": {
3746
+ "source": "No Time Limit",
3747
+ "translation": "ללא הגבלת זמן"
3748
+ },
3749
+ "h_e830e1381ba6": {
3750
+ "source": "{n, plural, one {# minute ago} other {# minutes ago}}",
3751
+ "translation": "{n, plural, one {לפני דקה} other {לפני # דקות}}"
3752
+ },
3753
+ "h_a7ccfb719652": {
3754
+ "source": "{n, plural, one {# hour ago} other {# hours ago}}",
3755
+ "translation": "{n, plural, one {לפני שעה} other {לפני # שעות}}"
3756
+ },
3757
+ "h_5e4247c32900": {
3758
+ "source": "{n, plural, one {# day ago} other {# days ago}}",
3759
+ "translation": "{n, plural, one {לפני יום} other {לפני # ימים}}"
3760
+ },
3761
+ "h_51d1d606ee9b": {
3762
+ "source": "Members couldn't be loaded.",
3763
+ "translation": "לא ניתן היה לטעון את החברים."
3764
+ },
3765
+ "h_8f615630c7a8": {
3766
+ "source": "Search {count} members",
3767
+ "translation": "חיפוש בין {count} חברים"
3768
+ },
3769
+ "h_bbeb7a9f223c": {
3770
+ "source": "Sign in to follow members.",
3771
+ "translation": "יש להתחבר כדי לעקוב אחרי חברים."
3772
+ },
3773
+ "h_4e520e13547e": {
3774
+ "source": "Couldn't update. Try again.",
3775
+ "translation": "העדכון נכשל. נסו שוב."
3776
+ },
3777
+ "h_1b1e1de382f6": {
3778
+ "source": "You can cancel this plan yourself.",
3779
+ "translation": "אפשר לבטל את התוכנית בעצמכם."
3780
+ },
3781
+ "h_af9f9729838a": {
3782
+ "source": "Limit: {n} per member.",
3783
+ "translation": "מגבלה: {n} לכל חבר."
3784
+ },
3785
+ "h_03df3dddc156": {
3786
+ "source": "You can choose a later start date.",
3787
+ "translation": "אפשר לבחור תאריך התחלה מאוחר יותר."
3788
+ },
3789
+ "h_cb7c8c83bd90": {
3790
+ "source": "No upcoming events.",
3791
+ "translation": "אין אירועים קרובים."
3792
+ },
3793
+ "h_e84d8431b504": {
3794
+ "source": "{n, plural, one {for # day} other {for # days}}",
3795
+ "translation": "{n, plural, one {ליום אחד} other {ל-# ימים}}"
3796
+ },
3797
+ "h_6c3b1b0caef6": {
3798
+ "source": "{n, plural, one {per day} other {every # days}}",
3799
+ "translation": "{n, plural, one {ליום} other {כל # ימים}}"
3800
+ },
3801
+ "h_0e9096b5e692": {
3802
+ "source": "{n, plural, one {for # week} other {for # weeks}}",
3803
+ "translation": "{n, plural, one {לשבוע אחד} other {ל-# שבועות}}"
3804
+ },
3805
+ "h_318d1043dc09": {
3806
+ "source": "{n, plural, one {per week} other {every # weeks}}",
3807
+ "translation": "{n, plural, one {לשבוע} other {כל # שבועות}}"
3808
+ },
3809
+ "h_f01e3692c61a": {
3810
+ "source": "{n, plural, one {for # month} other {for # months}}",
3811
+ "translation": "{n, plural, one {לחודש אחד} other {ל-# חודשים}}"
3812
+ },
3813
+ "h_c8b9ca77129d": {
3814
+ "source": "{n, plural, one {per month} other {every # months}}",
3815
+ "translation": "{n, plural, one {לחודש} other {כל # חודשים}}"
3816
+ },
3817
+ "h_bddf6b6e5d29": {
3818
+ "source": "{n, plural, one {for # year} other {for # years}}",
3819
+ "translation": "{n, plural, one {לשנה אחת} other {ל-# שנים}}"
3820
+ },
3821
+ "h_55db55f1bd29": {
3822
+ "source": "{n, plural, one {per year} other {every # years}}",
3823
+ "translation": "{n, plural, one {לשנה} other {כל # שנים}}"
3692
3824
  }
3693
3825
  }
3694
3826
  }