@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
+ }
@@ -28,6 +28,13 @@
28
28
  "key": "accountSettings.confirmPrivacyCta",
29
29
  "keyOrigin": "string-table"
30
30
  },
31
+ "h_060be00f4f26": {
32
+ "source": "All categories",
33
+ "kind": "atom.label",
34
+ "translation": "",
35
+ "key": "memberPrograms.filterAllCategories",
36
+ "keyOrigin": "string-table"
37
+ },
31
38
  "h_085f317f41a0": {
32
39
  "source": "Update the app to change your password.",
33
40
  "kind": "Text.text",
@@ -680,6 +687,12 @@
680
687
  "key": "menuItem.addToOrderCta",
681
688
  "keyOrigin": "string-table"
682
689
  },
690
+ "h_66587a7a62a9": {
691
+ "source": "Follow",
692
+ "kind": "Button.title",
693
+ "translation": "",
694
+ "key": "member.followCta"
695
+ },
683
696
  "h_67300d0fed7c": {
684
697
  "source": "Clear search",
685
698
  "kind": "Button.title",
@@ -904,6 +917,13 @@
904
917
  "key": "accountSettings.profileUrlUnavailable",
905
918
  "keyOrigin": "string-table"
906
919
  },
920
+ "h_8de84cb21a15": {
921
+ "source": "No members yet",
922
+ "kind": "EmptyState.title",
923
+ "translation": "",
924
+ "key": "members.emptyTitle",
925
+ "keyOrigin": "string-table"
926
+ },
907
927
  "h_8e1db3b4fc0e": {
908
928
  "source": "Confirm unblock",
909
929
  "kind": "Button.title",
@@ -939,6 +959,12 @@
939
959
  "key": "address.backCta",
940
960
  "keyOrigin": "string-table"
941
961
  },
962
+ "h_90eeb1008380": {
963
+ "source": "Following",
964
+ "kind": "Button.title",
965
+ "translation": "",
966
+ "key": "member.followingCta"
967
+ },
942
968
  "h_911527dc8914": {
943
969
  "source": "Loading dish...",
944
970
  "kind": "Text.text",
@@ -966,6 +992,13 @@
966
992
  "translation": "",
967
993
  "key": "tab.donations"
968
994
  },
995
+ "h_982d5244f7e9": {
996
+ "source": "All programs",
997
+ "kind": "atom.label",
998
+ "translation": "",
999
+ "key": "memberPrograms.filterAll",
1000
+ "keyOrigin": "string-table"
1001
+ },
969
1002
  "h_9a88b3e90f67": {
970
1003
  "source": "App & support",
971
1004
  "kind": "Text.text",
@@ -1597,6 +1630,13 @@
1597
1630
  "key": "addresses.signInTitle",
1598
1631
  "keyOrigin": "string-table"
1599
1632
  },
1633
+ "h_e854ef4cb4a2": {
1634
+ "source": "Programs I joined",
1635
+ "kind": "atom.label",
1636
+ "translation": "",
1637
+ "key": "memberPrograms.filterJoined",
1638
+ "keyOrigin": "string-table"
1639
+ },
1600
1640
  "h_ea865bdf74bc": {
1601
1641
  "source": "Switch to pickup",
1602
1642
  "kind": "Button.title",
@@ -1778,6 +1818,11 @@
1778
1818
  "key": "tab.profile",
1779
1819
  "keyOrigin": "string-table"
1780
1820
  },
1821
+ "w_b9bda18537fd": {
1822
+ "source": "Follow",
1823
+ "key": "loyalty.follow",
1824
+ "translation": ""
1825
+ },
1781
1826
  "h_03e89418ffdf": {
1782
1827
  "source": "Your Home",
1783
1828
  "kind": "Text.text",
@@ -1442,6 +1442,24 @@
1442
1442
  "translation": "Itinéraire",
1443
1443
  "origin": "machine"
1444
1444
  },
1445
+ "h_060be00f4f26": {
1446
+ "key": "memberPrograms.filterAllCategories",
1447
+ "source": "All categories",
1448
+ "translation": "Toutes les catégories",
1449
+ "origin": "machine"
1450
+ },
1451
+ "h_982d5244f7e9": {
1452
+ "key": "memberPrograms.filterAll",
1453
+ "source": "All programs",
1454
+ "translation": "Tous les programmes",
1455
+ "origin": "machine"
1456
+ },
1457
+ "h_e854ef4cb4a2": {
1458
+ "key": "memberPrograms.filterJoined",
1459
+ "source": "Programs I joined",
1460
+ "translation": "Programmes rejoints",
1461
+ "origin": "machine"
1462
+ },
1445
1463
  "h_70f8bb9a8a53": {
1446
1464
  "key": "tab.home",
1447
1465
  "source": "Home",
@@ -1544,6 +1562,30 @@
1544
1562
  "translation": "Catégories de posts",
1545
1563
  "origin": "machine"
1546
1564
  },
1565
+ "h_66587a7a62a9": {
1566
+ "key": "member.followCta",
1567
+ "source": "Follow",
1568
+ "translation": "Suivre",
1569
+ "origin": "machine"
1570
+ },
1571
+ "h_90eeb1008380": {
1572
+ "key": "member.followingCta",
1573
+ "source": "Following",
1574
+ "translation": "Abonné",
1575
+ "origin": "one-app:wix-one-app-comments:ReactionsListReactionRowFollowing"
1576
+ },
1577
+ "h_8de84cb21a15": {
1578
+ "key": "members.emptyTitle",
1579
+ "source": "No members yet",
1580
+ "translation": "Aucun membre pour le moment",
1581
+ "origin": "machine"
1582
+ },
1583
+ "w_b9bda18537fd": {
1584
+ "key": "loyalty.follow",
1585
+ "source": "Follow",
1586
+ "translation": "Suivre",
1587
+ "origin": "machine"
1588
+ },
1547
1589
  "h_03e89418ffdf": {
1548
1590
  "source": "Your Home",
1549
1591
  "translation": "Votre accueil",
@@ -1989,6 +2031,11 @@
1989
2031
  "translation": "Titre de Z à A",
1990
2032
  "origin": "machine"
1991
2033
  },
2034
+ "h_10b28a8c1e44": {
2035
+ "source": "Full",
2036
+ "translation": "Complet",
2037
+ "origin": "machine"
2038
+ },
1992
2039
  "h_30eadaa56bf1": {
1993
2040
  "source": "Profile photo changes are not available in this session.",
1994
2041
  "translation": "Les changements de photo de profil ne sont pas disponibles dans cette session.",
@@ -2464,21 +2511,226 @@
2464
2511
  "translation": "Ce site n'accepte pas les paiements en ligne. Revenez en arrière ou contactez l'entreprise pour connaître les autres moyens de paiement.",
2465
2512
  "origin": "machine"
2466
2513
  },
2514
+ "h_237dfa0a21c8": {
2515
+ "source": "Private",
2516
+ "translation": "Privé",
2517
+ "origin": "one-app:wix-owners-app-platform:manage.permissions.members-default-privacy-item.label.private"
2518
+ },
2519
+ "h_dc5eb704bbca": {
2520
+ "source": "Public",
2521
+ "translation": "Public",
2522
+ "origin": "one-app:wix-one-groups:GROUPS_PUBLIC_GROUP"
2523
+ },
2524
+ "h_f4e7a8740db0": {
2525
+ "source": "Secret",
2526
+ "translation": "Secret",
2527
+ "origin": "one-app:wix-one-groups:GROUPS_SECRET_GROUP"
2528
+ },
2529
+ "h_72c76f679ed6": {
2530
+ "source": "Programs are unavailable for this account. Sign in again.",
2531
+ "translation": "Les programmes ne sont pas disponibles pour ce compte. Connectez-vous à nouveau.",
2532
+ "origin": "machine"
2533
+ },
2534
+ "h_7a1810c306d5": {
2535
+ "source": "Program is full",
2536
+ "translation": "Le programme est complet",
2537
+ "origin": "machine"
2538
+ },
2539
+ "h_e0d73143de80": {
2540
+ "source": "Join",
2541
+ "translation": "Rejoindre",
2542
+ "origin": "one-app:wix-one-app-selections:SELECTION_LIST_JOIN_BUTTON"
2543
+ },
2544
+ "h_991e86bb50bb": {
2545
+ "source": "Join & pay",
2546
+ "translation": "Rejoindre et payer",
2547
+ "origin": "machine"
2548
+ },
2549
+ "h_f6b38cc22f99": {
2550
+ "source": "Complete payment",
2551
+ "translation": "Finaliser le paiement",
2552
+ "origin": "machine"
2553
+ },
2554
+ "h_d65ef673db63": {
2555
+ "source": "Request to join",
2556
+ "translation": "Envoyer une demande",
2557
+ "origin": "one-app:wix-one-groups:GROUPS_CARD_REQUEST_TO_JOIN_BUTTON"
2558
+ },
2559
+ "h_69bd4ef9fbd0": {
2560
+ "source": "View",
2561
+ "translation": "Voir",
2562
+ "origin": "one-app:wix-one-app-pma:pma-dashboard.next-up.run-now.success-toast.cta"
2563
+ },
2564
+ "h_c74e70d5934e": {
2565
+ "source": "No programs in this category yet.",
2566
+ "translation": "Aucun programme dans cette catégorie pour le moment.",
2567
+ "origin": "machine"
2568
+ },
2569
+ "h_6137bd93ab17": {
2570
+ "source": "You haven't joined a program yet.",
2571
+ "translation": "Vous n'avez pas encore rejoint de programme.",
2572
+ "origin": "machine"
2573
+ },
2574
+ "h_d022641abb9a": {
2575
+ "source": "No programs yet.",
2576
+ "translation": "Aucun programme pour le moment.",
2577
+ "origin": "machine"
2578
+ },
2579
+ "h_7b211d91c1e7": {
2580
+ "source": "Programs could not be loaded.",
2581
+ "translation": "Impossible de charger les programmes.",
2582
+ "origin": "machine"
2583
+ },
2467
2584
  "h_eee52995478b": {
2468
2585
  "source": "Signed in as {email}",
2469
2586
  "translation": "Connecté(e) en tant que {email}",
2470
2587
  "origin": "machine"
2471
2588
  },
2589
+ "h_a7cbd9e4e9e0": {
2590
+ "source": "Request approved · complete your payment",
2591
+ "translation": "Demande approuvée · finalisez votre paiement",
2592
+ "origin": "machine"
2593
+ },
2472
2594
  "h_1798b3ba42ee": {
2473
2595
  "source": "Completed",
2474
2596
  "translation": "Terminé",
2475
2597
  "origin": "one-app:mobile-apps-studio-platform:studio.projects-screen-completed-tag"
2476
2598
  },
2599
+ "h_41595401686e": {
2600
+ "source": "Finished with {pct}% progress",
2601
+ "translation": "Terminé avec {pct} % de progression",
2602
+ "origin": "machine"
2603
+ },
2604
+ "h_1f970ab92c5e": {
2605
+ "source": "You're invited to join",
2606
+ "translation": "Vous êtes invité(e) à rejoindre",
2607
+ "origin": "machine"
2608
+ },
2609
+ "h_f78f6cdaf644": {
2610
+ "source": "Join request sent",
2611
+ "translation": "Demande d'adhésion envoyée",
2612
+ "origin": "machine"
2613
+ },
2614
+ "h_da3f1cf556a4": {
2615
+ "source": "Your participation is paused",
2616
+ "translation": "Votre participation est suspendue",
2617
+ "origin": "machine"
2618
+ },
2619
+ "h_bcbda1740eab": {
2620
+ "source": "{count} participants",
2621
+ "translation": "{count} participants",
2622
+ "origin": "machine"
2623
+ },
2624
+ "h_e4033589c53d": {
2625
+ "source": "1 participant",
2626
+ "translation": "1 participant",
2627
+ "origin": "machine"
2628
+ },
2629
+ "h_d5d7e7952254": {
2630
+ "source": "Some prices could not be loaded.",
2631
+ "translation": "Impossible de charger certains prix.",
2632
+ "origin": "machine"
2633
+ },
2477
2634
  "h_9d68007b0763": {
2478
2635
  "source": "Program",
2479
2636
  "translation": "Programme",
2480
2637
  "origin": "machine"
2481
2638
  },
2639
+ "h_6e14af706cf3": {
2640
+ "source": "{pct}% complete",
2641
+ "translation": "{pct} % terminé",
2642
+ "origin": "machine"
2643
+ },
2644
+ "h_f3117aeda9f6": {
2645
+ "source": "Sign in to see the programs you joined.",
2646
+ "translation": "Connectez-vous pour voir les programmes que vous avez rejoints.",
2647
+ "origin": "machine"
2648
+ },
2649
+ "h_d1e51f92e970": {
2650
+ "source": "Request approved",
2651
+ "translation": "Demande approuvée",
2652
+ "origin": "machine"
2653
+ },
2654
+ "h_e887512cff1a": {
2655
+ "source": "Program complete",
2656
+ "translation": "Programme terminé",
2657
+ "origin": "machine"
2658
+ },
2659
+ "h_ba5bf80d6b73": {
2660
+ "source": "Program ended",
2661
+ "translation": "Programme clos",
2662
+ "origin": "machine"
2663
+ },
2664
+ "h_53469df1c48f": {
2665
+ "source": "Invited",
2666
+ "translation": "Invité(e)",
2667
+ "origin": "machine"
2668
+ },
2669
+ "h_43a1c6266f88": {
2670
+ "source": "Joined",
2671
+ "translation": "Rejoint",
2672
+ "origin": "machine"
2673
+ },
2674
+ "h_1c5c8843fc67": {
2675
+ "source": "Pending request",
2676
+ "translation": "Demande en attente",
2677
+ "origin": "one-app:wix-one-app-crm-contacts:CONTACTS_CONTACT_CARD_SCREEN_STATUS_BADGE.PENDING"
2678
+ },
2679
+ "h_dbf11c902c73": {
2680
+ "source": "Participation suspended",
2681
+ "translation": "Participation suspendue",
2682
+ "origin": "machine"
2683
+ },
2684
+ "h_a766dc843e39": {
2685
+ "source": "{count} programs",
2686
+ "translation": "{count} programmes",
2687
+ "origin": "machine"
2688
+ },
2689
+ "h_f4ba5662aa26": {
2690
+ "source": "1 program",
2691
+ "translation": "1 programme",
2692
+ "origin": "machine"
2693
+ },
2694
+ "h_35b342462f45": {
2695
+ "source": "{days} days · self-paced",
2696
+ "translation": "{days} jours · à votre rythme",
2697
+ "origin": "machine"
2698
+ },
2699
+ "h_1e6b8544be0c": {
2700
+ "source": "{days} days",
2701
+ "translation": "{days} jours",
2702
+ "origin": "machine"
2703
+ },
2704
+ "h_3a6ae6bd2c8e": {
2705
+ "source": "Ended {date}",
2706
+ "translation": "Terminé le {date}",
2707
+ "origin": "machine"
2708
+ },
2709
+ "h_2cba6916a049": {
2710
+ "source": "Starts {date} · {days} days",
2711
+ "translation": "Début le {date} · {days} jours",
2712
+ "origin": "machine"
2713
+ },
2714
+ "h_382539860ab8": {
2715
+ "source": "Self-paced",
2716
+ "translation": "À votre rythme",
2717
+ "origin": "machine"
2718
+ },
2719
+ "h_5b134f145490": {
2720
+ "source": "Started {date} · day {day}",
2721
+ "translation": "Commencé le {date} · jour {day}",
2722
+ "origin": "machine"
2723
+ },
2724
+ "h_5e676b67cfea": {
2725
+ "source": "Started {date} · day {day} of {days}",
2726
+ "translation": "Commencé le {date} · jour {day} sur {days}",
2727
+ "origin": "machine"
2728
+ },
2729
+ "h_2ec039e2464d": {
2730
+ "source": "Starts {date}",
2731
+ "translation": "Début le {date}",
2732
+ "origin": "machine"
2733
+ },
2482
2734
  "h_563ae24ab1fc": {
2483
2735
  "source": "{n, plural, one {# member} other {# members}}",
2484
2736
  "translation": "{n, plural, one {# membre} other {# membres}}",
@@ -2619,11 +2871,46 @@
2619
2871
  "translation": "{n, plural, one {# vue} other {# vues}}",
2620
2872
  "origin": "machine"
2621
2873
  },
2874
+ "h_009ff11c38aa": {
2875
+ "source": "Active {amount}d ago",
2876
+ "translation": "Actif il y a {amount} j",
2877
+ "origin": "machine"
2878
+ },
2879
+ "h_5dd42e3b6336": {
2880
+ "source": "Active {amount}m ago",
2881
+ "translation": "Actif il y a {amount} min",
2882
+ "origin": "machine"
2883
+ },
2884
+ "h_7ee707b2943a": {
2885
+ "source": "Active now",
2886
+ "translation": "Actif maintenant",
2887
+ "origin": "machine"
2888
+ },
2889
+ "h_b47e504b255d": {
2890
+ "source": "Active {amount}h ago",
2891
+ "translation": "Actif il y a {amount} h",
2892
+ "origin": "machine"
2893
+ },
2894
+ "h_bfc3c2d84424": {
2895
+ "source": "Last seen {date}",
2896
+ "translation": "Dernière connexion {date}",
2897
+ "origin": "machine"
2898
+ },
2622
2899
  "h_972017cb7471": {
2623
2900
  "source": "1 member",
2624
2901
  "translation": "1 membre",
2625
2902
  "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:CLUB_SCREEN_HEADER_SINGLE_MEMBER"
2626
2903
  },
2904
+ "h_95fa98b5f4ee": {
2905
+ "source": "Active {n}h ago",
2906
+ "translation": "Actif il y a {n} h",
2907
+ "origin": "machine"
2908
+ },
2909
+ "h_71609106e1eb": {
2910
+ "source": "Active {n}m ago",
2911
+ "translation": "Actif il y a {n} min",
2912
+ "origin": "machine"
2913
+ },
2627
2914
  "h_19b27b0fd751": {
2628
2915
  "source": "You’re offline — nothing was saved. Try again when you reconnect.",
2629
2916
  "translation": "Vous êtes hors ligne : rien n’a été enregistré. Réessayez une fois reconnecté.",
@@ -2834,6 +3121,11 @@
2834
3121
  "translation": "A partagé une actualité.",
2835
3122
  "origin": "machine"
2836
3123
  },
3124
+ "h_b993b0c53719": {
3125
+ "source": "No results",
3126
+ "translation": "Aucun résultat",
3127
+ "origin": "one-app:wix-one-app-loyalty:SELECT_COUPON_PICKER_MODAL_SEARCH_NO_RESULTS_TITLE"
3128
+ },
2837
3129
  "h_171a0606f7c7": {
2838
3130
  "source": "Group",
2839
3131
  "translation": "Groupe",
@@ -3019,6 +3311,26 @@
3019
3311
  "translation": "Commande n° {number}",
3020
3312
  "origin": "machine"
3021
3313
  },
3314
+ "h_e1a31b3e461a": {
3315
+ "source": "recurring",
3316
+ "translation": "récurrent",
3317
+ "origin": "machine"
3318
+ },
3319
+ "h_73d01435c074": {
3320
+ "source": "one-time",
3321
+ "translation": "paiement unique",
3322
+ "origin": "machine"
3323
+ },
3324
+ "h_ae2f98a099fe": {
3325
+ "source": "Plan",
3326
+ "translation": "Formule",
3327
+ "origin": "one-app:wix-one-app-ecom-platform:merchant.orderPage.orderSummary.paidWithPlan"
3328
+ },
3329
+ "h_9bc2c5b3f52e": {
3330
+ "source": "Popular",
3331
+ "translation": "POPULAIRES",
3332
+ "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:CATALOG_SEARCH_RECOMMENDED_TITLE"
3333
+ },
3022
3334
  "h_8055252fc327": {
3023
3335
  "source": "Processing your purchase…",
3024
3336
  "translation": "Traitement de votre achat…",
@@ -3504,6 +3816,11 @@
3504
3816
  "translation": "jour",
3505
3817
  "origin": "one-app:wix-one-app-ecom-platform:merchant.checkout.pricingPlans.frequency"
3506
3818
  },
3819
+ "h_c0ee32d825d6": {
3820
+ "source": "week",
3821
+ "translation": "semaine",
3822
+ "origin": "one-app:wix-one-app-ecom-platform:merchant.checkout.pricingPlans.frequency.weekSingular"
3823
+ },
3507
3824
  "h_021710fa7866": {
3508
3825
  "source": "month",
3509
3826
  "translation": "mois",