@wix/himalaya-cli 0.1741.0 → 0.1743.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 +162 -74
  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
+ }
@@ -35,6 +35,13 @@
35
35
  "key": "accountSettings.confirmPrivacyCta",
36
36
  "keyOrigin": "string-table"
37
37
  },
38
+ "h_060be00f4f26": {
39
+ "source": "All categories",
40
+ "kind": "atom.label",
41
+ "translation": "",
42
+ "key": "memberPrograms.filterAllCategories",
43
+ "keyOrigin": "string-table"
44
+ },
38
45
  "h_085f317f41a0": {
39
46
  "source": "Update the app to change your password.",
40
47
  "kind": "Text.text",
@@ -877,6 +884,12 @@
877
884
  "key": "agenda.onWaitlistLabel",
878
885
  "keyOrigin": "string-table"
879
886
  },
887
+ "h_66587a7a62a9": {
888
+ "source": "Follow",
889
+ "kind": "Button.title",
890
+ "translation": "",
891
+ "key": "member.followCta"
892
+ },
880
893
  "h_67300d0fed7c": {
881
894
  "source": "Clear search",
882
895
  "kind": "Button.title",
@@ -1219,6 +1232,13 @@
1219
1232
  "key": "subscriptionDetail.cancelNextPayment",
1220
1233
  "keyOrigin": "string-table"
1221
1234
  },
1235
+ "h_8de84cb21a15": {
1236
+ "source": "No members yet",
1237
+ "kind": "EmptyState.title",
1238
+ "translation": "",
1239
+ "key": "members.emptyTitle",
1240
+ "keyOrigin": "string-table"
1241
+ },
1222
1242
  "h_8e1db3b4fc0e": {
1223
1243
  "source": "Confirm unblock",
1224
1244
  "kind": "Button.title",
@@ -1275,6 +1295,12 @@
1275
1295
  "key": "address.backCta",
1276
1296
  "keyOrigin": "string-table"
1277
1297
  },
1298
+ "h_90eeb1008380": {
1299
+ "source": "Following",
1300
+ "kind": "Button.title",
1301
+ "translation": "",
1302
+ "key": "member.followingCta"
1303
+ },
1278
1304
  "h_92323a771155": {
1279
1305
  "source": "Post comment",
1280
1306
  "kind": "Button.title",
@@ -1323,6 +1349,13 @@
1323
1349
  "key": "shop.layoutLabel",
1324
1350
  "keyOrigin": "string-table"
1325
1351
  },
1352
+ "h_982d5244f7e9": {
1353
+ "source": "All programs",
1354
+ "kind": "atom.label",
1355
+ "translation": "",
1356
+ "key": "memberPrograms.filterAll",
1357
+ "keyOrigin": "string-table"
1358
+ },
1326
1359
  "h_9a88b3e90f67": {
1327
1360
  "source": "App & support",
1328
1361
  "kind": "Text.text",
@@ -2232,6 +2265,13 @@
2232
2265
  "key": "addresses.signInTitle",
2233
2266
  "keyOrigin": "string-table"
2234
2267
  },
2268
+ "h_e854ef4cb4a2": {
2269
+ "source": "Programs I joined",
2270
+ "kind": "atom.label",
2271
+ "translation": "",
2272
+ "key": "memberPrograms.filterJoined",
2273
+ "keyOrigin": "string-table"
2274
+ },
2235
2275
  "h_eaf5cc63958d": {
2236
2276
  "source": "Order details are unavailable for this account.",
2237
2277
  "kind": "ErrorState.body",
@@ -2425,6 +2465,11 @@
2425
2465
  "key": "tab.profile",
2426
2466
  "keyOrigin": "string-table"
2427
2467
  },
2468
+ "w_b9bda18537fd": {
2469
+ "source": "Follow",
2470
+ "key": "loyalty.follow",
2471
+ "translation": ""
2472
+ },
2428
2473
  "h_03e89418ffdf": {
2429
2474
  "source": "Your Home",
2430
2475
  "kind": "Text.text",
@@ -1826,6 +1826,24 @@
1826
1826
  "translation": "Aucun cours à cet endroit dans les semaines à venir.",
1827
1827
  "origin": "machine"
1828
1828
  },
1829
+ "h_060be00f4f26": {
1830
+ "key": "memberPrograms.filterAllCategories",
1831
+ "source": "All categories",
1832
+ "translation": "Toutes les catégories",
1833
+ "origin": "machine"
1834
+ },
1835
+ "h_982d5244f7e9": {
1836
+ "key": "memberPrograms.filterAll",
1837
+ "source": "All programs",
1838
+ "translation": "Tous les programmes",
1839
+ "origin": "machine"
1840
+ },
1841
+ "h_e854ef4cb4a2": {
1842
+ "key": "memberPrograms.filterJoined",
1843
+ "source": "Programs I joined",
1844
+ "translation": "Programmes rejoints",
1845
+ "origin": "machine"
1846
+ },
1829
1847
  "h_65e5eeb2ae33": {
1830
1848
  "key": "product.adding",
1831
1849
  "source": "Adding to cart…",
@@ -1946,6 +1964,24 @@
1946
1964
  "translation": "Les taxes et les frais de livraison sont calculés lors du paiement.",
1947
1965
  "origin": "machine"
1948
1966
  },
1967
+ "h_66587a7a62a9": {
1968
+ "key": "member.followCta",
1969
+ "source": "Follow",
1970
+ "translation": "Suivre",
1971
+ "origin": "machine"
1972
+ },
1973
+ "h_90eeb1008380": {
1974
+ "key": "member.followingCta",
1975
+ "source": "Following",
1976
+ "translation": "Abonné",
1977
+ "origin": "one-app:wix-one-app-comments:ReactionsListReactionRowFollowing"
1978
+ },
1979
+ "h_8de84cb21a15": {
1980
+ "key": "members.emptyTitle",
1981
+ "source": "No members yet",
1982
+ "translation": "Aucun membre pour le moment",
1983
+ "origin": "machine"
1984
+ },
1949
1985
  "h_a689a999a5e6": {
1950
1986
  "key": "mySubscriptions.expired",
1951
1987
  "source": "Expired",
@@ -2108,6 +2144,12 @@
2108
2144
  "translation": "Masquer les avantages de la formule",
2109
2145
  "origin": "machine"
2110
2146
  },
2147
+ "w_b9bda18537fd": {
2148
+ "key": "loyalty.follow",
2149
+ "source": "Follow",
2150
+ "translation": "Suivre",
2151
+ "origin": "machine"
2152
+ },
2111
2153
  "h_03e89418ffdf": {
2112
2154
  "source": "Your Home",
2113
2155
  "translation": "Votre accueil",
@@ -3563,26 +3605,226 @@
3563
3605
  "translation": "Afficher tous les lieux",
3564
3606
  "origin": "machine"
3565
3607
  },
3608
+ "h_237dfa0a21c8": {
3609
+ "source": "Private",
3610
+ "translation": "Privé",
3611
+ "origin": "one-app:wix-owners-app-platform:manage.permissions.members-default-privacy-item.label.private"
3612
+ },
3613
+ "h_dc5eb704bbca": {
3614
+ "source": "Public",
3615
+ "translation": "Public",
3616
+ "origin": "one-app:wix-one-groups:GROUPS_PUBLIC_GROUP"
3617
+ },
3618
+ "h_f4e7a8740db0": {
3619
+ "source": "Secret",
3620
+ "translation": "Secret",
3621
+ "origin": "one-app:wix-one-groups:GROUPS_SECRET_GROUP"
3622
+ },
3623
+ "h_72c76f679ed6": {
3624
+ "source": "Programs are unavailable for this account. Sign in again.",
3625
+ "translation": "Les programmes ne sont pas disponibles pour ce compte. Connectez-vous à nouveau.",
3626
+ "origin": "machine"
3627
+ },
3628
+ "h_7a1810c306d5": {
3629
+ "source": "Program is full",
3630
+ "translation": "Le programme est complet",
3631
+ "origin": "machine"
3632
+ },
3633
+ "h_e0d73143de80": {
3634
+ "source": "Join",
3635
+ "translation": "Rejoindre",
3636
+ "origin": "one-app:wix-one-app-selections:SELECTION_LIST_JOIN_BUTTON"
3637
+ },
3638
+ "h_991e86bb50bb": {
3639
+ "source": "Join & pay",
3640
+ "translation": "Rejoindre et payer",
3641
+ "origin": "machine"
3642
+ },
3643
+ "h_f6b38cc22f99": {
3644
+ "source": "Complete payment",
3645
+ "translation": "Finaliser le paiement",
3646
+ "origin": "machine"
3647
+ },
3648
+ "h_d65ef673db63": {
3649
+ "source": "Request to join",
3650
+ "translation": "Envoyer une demande",
3651
+ "origin": "one-app:wix-one-groups:GROUPS_CARD_REQUEST_TO_JOIN_BUTTON"
3652
+ },
3653
+ "h_69bd4ef9fbd0": {
3654
+ "source": "View",
3655
+ "translation": "Voir",
3656
+ "origin": "one-app:wix-one-app-pma:pma-dashboard.next-up.run-now.success-toast.cta"
3657
+ },
3658
+ "h_c74e70d5934e": {
3659
+ "source": "No programs in this category yet.",
3660
+ "translation": "Aucun programme dans cette catégorie pour le moment.",
3661
+ "origin": "machine"
3662
+ },
3663
+ "h_6137bd93ab17": {
3664
+ "source": "You haven't joined a program yet.",
3665
+ "translation": "Vous n'avez pas encore rejoint de programme.",
3666
+ "origin": "machine"
3667
+ },
3668
+ "h_d022641abb9a": {
3669
+ "source": "No programs yet.",
3670
+ "translation": "Aucun programme pour le moment.",
3671
+ "origin": "machine"
3672
+ },
3673
+ "h_7b211d91c1e7": {
3674
+ "source": "Programs could not be loaded.",
3675
+ "translation": "Impossible de charger les programmes.",
3676
+ "origin": "machine"
3677
+ },
3566
3678
  "h_eee52995478b": {
3567
3679
  "source": "Signed in as {email}",
3568
3680
  "translation": "Connecté(e) en tant que {email}",
3569
3681
  "origin": "machine"
3570
3682
  },
3683
+ "h_a7cbd9e4e9e0": {
3684
+ "source": "Request approved · complete your payment",
3685
+ "translation": "Demande approuvée · finalisez votre paiement",
3686
+ "origin": "machine"
3687
+ },
3571
3688
  "h_1798b3ba42ee": {
3572
3689
  "source": "Completed",
3573
3690
  "translation": "Terminé",
3574
3691
  "origin": "one-app:mobile-apps-studio-platform:studio.projects-screen-completed-tag"
3575
3692
  },
3693
+ "h_41595401686e": {
3694
+ "source": "Finished with {pct}% progress",
3695
+ "translation": "Terminé avec {pct} % de progression",
3696
+ "origin": "machine"
3697
+ },
3698
+ "h_1f970ab92c5e": {
3699
+ "source": "You're invited to join",
3700
+ "translation": "Vous êtes invité(e) à rejoindre",
3701
+ "origin": "machine"
3702
+ },
3703
+ "h_f78f6cdaf644": {
3704
+ "source": "Join request sent",
3705
+ "translation": "Demande d'adhésion envoyée",
3706
+ "origin": "machine"
3707
+ },
3708
+ "h_da3f1cf556a4": {
3709
+ "source": "Your participation is paused",
3710
+ "translation": "Votre participation est suspendue",
3711
+ "origin": "machine"
3712
+ },
3576
3713
  "h_bcbda1740eab": {
3577
3714
  "source": "{count} participants",
3578
3715
  "translation": "{count} participants",
3579
3716
  "origin": "machine"
3580
3717
  },
3718
+ "h_e4033589c53d": {
3719
+ "source": "1 participant",
3720
+ "translation": "1 participant",
3721
+ "origin": "machine"
3722
+ },
3723
+ "h_d5d7e7952254": {
3724
+ "source": "Some prices could not be loaded.",
3725
+ "translation": "Impossible de charger certains prix.",
3726
+ "origin": "machine"
3727
+ },
3581
3728
  "h_9d68007b0763": {
3582
3729
  "source": "Program",
3583
3730
  "translation": "Programme",
3584
3731
  "origin": "machine"
3585
3732
  },
3733
+ "h_6e14af706cf3": {
3734
+ "source": "{pct}% complete",
3735
+ "translation": "{pct} % terminé",
3736
+ "origin": "machine"
3737
+ },
3738
+ "h_f3117aeda9f6": {
3739
+ "source": "Sign in to see the programs you joined.",
3740
+ "translation": "Connectez-vous pour voir les programmes que vous avez rejoints.",
3741
+ "origin": "machine"
3742
+ },
3743
+ "h_d1e51f92e970": {
3744
+ "source": "Request approved",
3745
+ "translation": "Demande approuvée",
3746
+ "origin": "machine"
3747
+ },
3748
+ "h_e887512cff1a": {
3749
+ "source": "Program complete",
3750
+ "translation": "Programme terminé",
3751
+ "origin": "machine"
3752
+ },
3753
+ "h_ba5bf80d6b73": {
3754
+ "source": "Program ended",
3755
+ "translation": "Programme clos",
3756
+ "origin": "machine"
3757
+ },
3758
+ "h_53469df1c48f": {
3759
+ "source": "Invited",
3760
+ "translation": "Invité(e)",
3761
+ "origin": "machine"
3762
+ },
3763
+ "h_43a1c6266f88": {
3764
+ "source": "Joined",
3765
+ "translation": "Rejoint",
3766
+ "origin": "machine"
3767
+ },
3768
+ "h_1c5c8843fc67": {
3769
+ "source": "Pending request",
3770
+ "translation": "Demande en attente",
3771
+ "origin": "one-app:wix-one-app-crm-contacts:CONTACTS_CONTACT_CARD_SCREEN_STATUS_BADGE.PENDING"
3772
+ },
3773
+ "h_dbf11c902c73": {
3774
+ "source": "Participation suspended",
3775
+ "translation": "Participation suspendue",
3776
+ "origin": "machine"
3777
+ },
3778
+ "h_a766dc843e39": {
3779
+ "source": "{count} programs",
3780
+ "translation": "{count} programmes",
3781
+ "origin": "machine"
3782
+ },
3783
+ "h_f4ba5662aa26": {
3784
+ "source": "1 program",
3785
+ "translation": "1 programme",
3786
+ "origin": "machine"
3787
+ },
3788
+ "h_35b342462f45": {
3789
+ "source": "{days} days · self-paced",
3790
+ "translation": "{days} jours · à votre rythme",
3791
+ "origin": "machine"
3792
+ },
3793
+ "h_1e6b8544be0c": {
3794
+ "source": "{days} days",
3795
+ "translation": "{days} jours",
3796
+ "origin": "machine"
3797
+ },
3798
+ "h_3a6ae6bd2c8e": {
3799
+ "source": "Ended {date}",
3800
+ "translation": "Terminé le {date}",
3801
+ "origin": "machine"
3802
+ },
3803
+ "h_2cba6916a049": {
3804
+ "source": "Starts {date} · {days} days",
3805
+ "translation": "Début le {date} · {days} jours",
3806
+ "origin": "machine"
3807
+ },
3808
+ "h_382539860ab8": {
3809
+ "source": "Self-paced",
3810
+ "translation": "À votre rythme",
3811
+ "origin": "machine"
3812
+ },
3813
+ "h_5b134f145490": {
3814
+ "source": "Started {date} · day {day}",
3815
+ "translation": "Commencé le {date} · jour {day}",
3816
+ "origin": "machine"
3817
+ },
3818
+ "h_5e676b67cfea": {
3819
+ "source": "Started {date} · day {day} of {days}",
3820
+ "translation": "Commencé le {date} · jour {day} sur {days}",
3821
+ "origin": "machine"
3822
+ },
3823
+ "h_2ec039e2464d": {
3824
+ "source": "Starts {date}",
3825
+ "translation": "Début le {date}",
3826
+ "origin": "machine"
3827
+ },
3586
3828
  "h_797a4917230e": {
3587
3829
  "source": "All locations",
3588
3830
  "translation": "Tous les lieux",
@@ -3743,11 +3985,46 @@
3743
3985
  "translation": "{n, plural, one {# vue} other {# vues}}",
3744
3986
  "origin": "machine"
3745
3987
  },
3988
+ "h_009ff11c38aa": {
3989
+ "source": "Active {amount}d ago",
3990
+ "translation": "Actif il y a {amount} j",
3991
+ "origin": "machine"
3992
+ },
3993
+ "h_5dd42e3b6336": {
3994
+ "source": "Active {amount}m ago",
3995
+ "translation": "Actif il y a {amount} min",
3996
+ "origin": "machine"
3997
+ },
3998
+ "h_7ee707b2943a": {
3999
+ "source": "Active now",
4000
+ "translation": "Actif maintenant",
4001
+ "origin": "machine"
4002
+ },
4003
+ "h_b47e504b255d": {
4004
+ "source": "Active {amount}h ago",
4005
+ "translation": "Actif il y a {amount} h",
4006
+ "origin": "machine"
4007
+ },
4008
+ "h_bfc3c2d84424": {
4009
+ "source": "Last seen {date}",
4010
+ "translation": "Dernière connexion {date}",
4011
+ "origin": "machine"
4012
+ },
3746
4013
  "h_972017cb7471": {
3747
4014
  "source": "1 member",
3748
4015
  "translation": "1 membre",
3749
4016
  "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:CLUB_SCREEN_HEADER_SINGLE_MEMBER"
3750
4017
  },
4018
+ "h_95fa98b5f4ee": {
4019
+ "source": "Active {n}h ago",
4020
+ "translation": "Actif il y a {n} h",
4021
+ "origin": "machine"
4022
+ },
4023
+ "h_71609106e1eb": {
4024
+ "source": "Active {n}m ago",
4025
+ "translation": "Actif il y a {n} min",
4026
+ "origin": "machine"
4027
+ },
3751
4028
  "h_19b27b0fd751": {
3752
4029
  "source": "You’re offline — nothing was saved. Try again when you reconnect.",
3753
4030
  "translation": "Vous êtes hors ligne : rien n’a été enregistré. Réessayez une fois reconnecté.",
@@ -4583,6 +4860,11 @@
4583
4860
  "translation": "A partagé une actualité.",
4584
4861
  "origin": "machine"
4585
4862
  },
4863
+ "h_b993b0c53719": {
4864
+ "source": "No results",
4865
+ "translation": "Aucun résultat",
4866
+ "origin": "one-app:wix-one-app-loyalty:SELECT_COUPON_PICKER_MODAL_SEARCH_NO_RESULTS_TITLE"
4867
+ },
4586
4868
  "h_171a0606f7c7": {
4587
4869
  "source": "Group",
4588
4870
  "translation": "Groupe",