@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
+ }
@@ -42,6 +42,13 @@
42
42
  "key": "portfolioProject.backCta",
43
43
  "keyOrigin": "string-table"
44
44
  },
45
+ "h_060be00f4f26": {
46
+ "source": "All categories",
47
+ "kind": "atom.label",
48
+ "translation": "",
49
+ "key": "memberPrograms.filterAllCategories",
50
+ "keyOrigin": "string-table"
51
+ },
45
52
  "h_085f317f41a0": {
46
53
  "source": "Update the app to change your password.",
47
54
  "kind": "Text.text",
@@ -717,6 +724,12 @@
717
724
  "key": "product.adding",
718
725
  "translation": ""
719
726
  },
727
+ "h_66587a7a62a9": {
728
+ "source": "Follow",
729
+ "kind": "Button.title",
730
+ "translation": "",
731
+ "key": "member.followCta"
732
+ },
720
733
  "h_67300d0fed7c": {
721
734
  "source": "Clear search",
722
735
  "kind": "Button.title",
@@ -941,6 +954,13 @@
941
954
  "key": "accountSettings.profileUrlUnavailable",
942
955
  "keyOrigin": "string-table"
943
956
  },
957
+ "h_8de84cb21a15": {
958
+ "source": "No members yet",
959
+ "kind": "EmptyState.title",
960
+ "translation": "",
961
+ "key": "members.emptyTitle",
962
+ "keyOrigin": "string-table"
963
+ },
944
964
  "h_8e1db3b4fc0e": {
945
965
  "source": "Confirm unblock",
946
966
  "kind": "Button.title",
@@ -983,6 +1003,12 @@
983
1003
  "key": "address.backCta",
984
1004
  "keyOrigin": "string-table"
985
1005
  },
1006
+ "h_90eeb1008380": {
1007
+ "source": "Following",
1008
+ "kind": "Button.title",
1009
+ "translation": "",
1010
+ "key": "member.followingCta"
1011
+ },
986
1012
  "h_92323a771155": {
987
1013
  "source": "Post comment",
988
1014
  "kind": "Button.title",
@@ -1017,6 +1043,13 @@
1017
1043
  "key": "shop.layoutLabel",
1018
1044
  "keyOrigin": "string-table"
1019
1045
  },
1046
+ "h_982d5244f7e9": {
1047
+ "source": "All programs",
1048
+ "kind": "atom.label",
1049
+ "translation": "",
1050
+ "key": "memberPrograms.filterAll",
1051
+ "keyOrigin": "string-table"
1052
+ },
1020
1053
  "h_9a88b3e90f67": {
1021
1054
  "source": "App & support",
1022
1055
  "kind": "Text.text",
@@ -1753,6 +1786,13 @@
1753
1786
  "key": "addresses.signInTitle",
1754
1787
  "keyOrigin": "string-table"
1755
1788
  },
1789
+ "h_e854ef4cb4a2": {
1790
+ "source": "Programs I joined",
1791
+ "kind": "atom.label",
1792
+ "translation": "",
1793
+ "key": "memberPrograms.filterJoined",
1794
+ "keyOrigin": "string-table"
1795
+ },
1756
1796
  "h_eaf5cc63958d": {
1757
1797
  "source": "Order details are unavailable for this account.",
1758
1798
  "kind": "ErrorState.body",
@@ -1925,6 +1965,11 @@
1925
1965
  "key": "tab.profile",
1926
1966
  "keyOrigin": "string-table"
1927
1967
  },
1968
+ "w_b9bda18537fd": {
1969
+ "source": "Follow",
1970
+ "key": "loyalty.follow",
1971
+ "translation": ""
1972
+ },
1928
1973
  "h_03e89418ffdf": {
1929
1974
  "source": "Your Home",
1930
1975
  "kind": "Text.text",
@@ -1556,6 +1556,24 @@
1556
1556
  "translation": "Itinéraire",
1557
1557
  "origin": "machine"
1558
1558
  },
1559
+ "h_060be00f4f26": {
1560
+ "key": "memberPrograms.filterAllCategories",
1561
+ "source": "All categories",
1562
+ "translation": "Toutes les catégories",
1563
+ "origin": "machine"
1564
+ },
1565
+ "h_982d5244f7e9": {
1566
+ "key": "memberPrograms.filterAll",
1567
+ "source": "All programs",
1568
+ "translation": "Tous les programmes",
1569
+ "origin": "machine"
1570
+ },
1571
+ "h_e854ef4cb4a2": {
1572
+ "key": "memberPrograms.filterJoined",
1573
+ "source": "Programs I joined",
1574
+ "translation": "Programmes rejoints",
1575
+ "origin": "machine"
1576
+ },
1559
1577
  "h_65e5eeb2ae33": {
1560
1578
  "key": "product.adding",
1561
1579
  "source": "Adding to cart…",
@@ -1676,6 +1694,30 @@
1676
1694
  "translation": "Les taxes et les frais de livraison sont calculés lors du paiement.",
1677
1695
  "origin": "machine"
1678
1696
  },
1697
+ "h_66587a7a62a9": {
1698
+ "key": "member.followCta",
1699
+ "source": "Follow",
1700
+ "translation": "Suivre",
1701
+ "origin": "machine"
1702
+ },
1703
+ "h_90eeb1008380": {
1704
+ "key": "member.followingCta",
1705
+ "source": "Following",
1706
+ "translation": "Abonné",
1707
+ "origin": "one-app:wix-one-app-comments:ReactionsListReactionRowFollowing"
1708
+ },
1709
+ "h_8de84cb21a15": {
1710
+ "key": "members.emptyTitle",
1711
+ "source": "No members yet",
1712
+ "translation": "Aucun membre pour le moment",
1713
+ "origin": "machine"
1714
+ },
1715
+ "w_b9bda18537fd": {
1716
+ "key": "loyalty.follow",
1717
+ "source": "Follow",
1718
+ "translation": "Suivre",
1719
+ "origin": "machine"
1720
+ },
1679
1721
  "h_03e89418ffdf": {
1680
1722
  "source": "Your Home",
1681
1723
  "translation": "Votre accueil",
@@ -2201,6 +2243,11 @@
2201
2243
  "translation": "Mon panier",
2202
2244
  "origin": "one-app:wix-one-app-ecom-platform:STORE_FRONT_CART_TITLE"
2203
2245
  },
2246
+ "h_10b28a8c1e44": {
2247
+ "source": "Full",
2248
+ "translation": "Complet",
2249
+ "origin": "machine"
2250
+ },
2204
2251
  "h_30eadaa56bf1": {
2205
2252
  "source": "Profile photo changes are not available in this session.",
2206
2253
  "translation": "Les changements de photo de profil ne sont pas disponibles dans cette session.",
@@ -2781,21 +2828,226 @@
2781
2828
  "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.",
2782
2829
  "origin": "machine"
2783
2830
  },
2831
+ "h_237dfa0a21c8": {
2832
+ "source": "Private",
2833
+ "translation": "Privé",
2834
+ "origin": "one-app:wix-owners-app-platform:manage.permissions.members-default-privacy-item.label.private"
2835
+ },
2836
+ "h_dc5eb704bbca": {
2837
+ "source": "Public",
2838
+ "translation": "Public",
2839
+ "origin": "one-app:wix-one-groups:GROUPS_PUBLIC_GROUP"
2840
+ },
2841
+ "h_f4e7a8740db0": {
2842
+ "source": "Secret",
2843
+ "translation": "Secret",
2844
+ "origin": "one-app:wix-one-groups:GROUPS_SECRET_GROUP"
2845
+ },
2846
+ "h_72c76f679ed6": {
2847
+ "source": "Programs are unavailable for this account. Sign in again.",
2848
+ "translation": "Les programmes ne sont pas disponibles pour ce compte. Connectez-vous à nouveau.",
2849
+ "origin": "machine"
2850
+ },
2851
+ "h_7a1810c306d5": {
2852
+ "source": "Program is full",
2853
+ "translation": "Le programme est complet",
2854
+ "origin": "machine"
2855
+ },
2856
+ "h_e0d73143de80": {
2857
+ "source": "Join",
2858
+ "translation": "Rejoindre",
2859
+ "origin": "one-app:wix-one-app-selections:SELECTION_LIST_JOIN_BUTTON"
2860
+ },
2861
+ "h_991e86bb50bb": {
2862
+ "source": "Join & pay",
2863
+ "translation": "Rejoindre et payer",
2864
+ "origin": "machine"
2865
+ },
2866
+ "h_f6b38cc22f99": {
2867
+ "source": "Complete payment",
2868
+ "translation": "Finaliser le paiement",
2869
+ "origin": "machine"
2870
+ },
2871
+ "h_d65ef673db63": {
2872
+ "source": "Request to join",
2873
+ "translation": "Envoyer une demande",
2874
+ "origin": "one-app:wix-one-groups:GROUPS_CARD_REQUEST_TO_JOIN_BUTTON"
2875
+ },
2876
+ "h_69bd4ef9fbd0": {
2877
+ "source": "View",
2878
+ "translation": "Voir",
2879
+ "origin": "one-app:wix-one-app-pma:pma-dashboard.next-up.run-now.success-toast.cta"
2880
+ },
2881
+ "h_c74e70d5934e": {
2882
+ "source": "No programs in this category yet.",
2883
+ "translation": "Aucun programme dans cette catégorie pour le moment.",
2884
+ "origin": "machine"
2885
+ },
2886
+ "h_6137bd93ab17": {
2887
+ "source": "You haven't joined a program yet.",
2888
+ "translation": "Vous n'avez pas encore rejoint de programme.",
2889
+ "origin": "machine"
2890
+ },
2891
+ "h_d022641abb9a": {
2892
+ "source": "No programs yet.",
2893
+ "translation": "Aucun programme pour le moment.",
2894
+ "origin": "machine"
2895
+ },
2896
+ "h_7b211d91c1e7": {
2897
+ "source": "Programs could not be loaded.",
2898
+ "translation": "Impossible de charger les programmes.",
2899
+ "origin": "machine"
2900
+ },
2784
2901
  "h_eee52995478b": {
2785
2902
  "source": "Signed in as {email}",
2786
2903
  "translation": "Connecté(e) en tant que {email}",
2787
2904
  "origin": "machine"
2788
2905
  },
2906
+ "h_a7cbd9e4e9e0": {
2907
+ "source": "Request approved · complete your payment",
2908
+ "translation": "Demande approuvée · finalisez votre paiement",
2909
+ "origin": "machine"
2910
+ },
2789
2911
  "h_1798b3ba42ee": {
2790
2912
  "source": "Completed",
2791
2913
  "translation": "Terminé",
2792
2914
  "origin": "one-app:mobile-apps-studio-platform:studio.projects-screen-completed-tag"
2793
2915
  },
2916
+ "h_41595401686e": {
2917
+ "source": "Finished with {pct}% progress",
2918
+ "translation": "Terminé avec {pct} % de progression",
2919
+ "origin": "machine"
2920
+ },
2921
+ "h_1f970ab92c5e": {
2922
+ "source": "You're invited to join",
2923
+ "translation": "Vous êtes invité(e) à rejoindre",
2924
+ "origin": "machine"
2925
+ },
2926
+ "h_f78f6cdaf644": {
2927
+ "source": "Join request sent",
2928
+ "translation": "Demande d'adhésion envoyée",
2929
+ "origin": "machine"
2930
+ },
2931
+ "h_da3f1cf556a4": {
2932
+ "source": "Your participation is paused",
2933
+ "translation": "Votre participation est suspendue",
2934
+ "origin": "machine"
2935
+ },
2936
+ "h_bcbda1740eab": {
2937
+ "source": "{count} participants",
2938
+ "translation": "{count} participants",
2939
+ "origin": "machine"
2940
+ },
2941
+ "h_e4033589c53d": {
2942
+ "source": "1 participant",
2943
+ "translation": "1 participant",
2944
+ "origin": "machine"
2945
+ },
2946
+ "h_d5d7e7952254": {
2947
+ "source": "Some prices could not be loaded.",
2948
+ "translation": "Impossible de charger certains prix.",
2949
+ "origin": "machine"
2950
+ },
2794
2951
  "h_9d68007b0763": {
2795
2952
  "source": "Program",
2796
2953
  "translation": "Programme",
2797
2954
  "origin": "machine"
2798
2955
  },
2956
+ "h_6e14af706cf3": {
2957
+ "source": "{pct}% complete",
2958
+ "translation": "{pct} % terminé",
2959
+ "origin": "machine"
2960
+ },
2961
+ "h_f3117aeda9f6": {
2962
+ "source": "Sign in to see the programs you joined.",
2963
+ "translation": "Connectez-vous pour voir les programmes que vous avez rejoints.",
2964
+ "origin": "machine"
2965
+ },
2966
+ "h_d1e51f92e970": {
2967
+ "source": "Request approved",
2968
+ "translation": "Demande approuvée",
2969
+ "origin": "machine"
2970
+ },
2971
+ "h_e887512cff1a": {
2972
+ "source": "Program complete",
2973
+ "translation": "Programme terminé",
2974
+ "origin": "machine"
2975
+ },
2976
+ "h_ba5bf80d6b73": {
2977
+ "source": "Program ended",
2978
+ "translation": "Programme clos",
2979
+ "origin": "machine"
2980
+ },
2981
+ "h_53469df1c48f": {
2982
+ "source": "Invited",
2983
+ "translation": "Invité(e)",
2984
+ "origin": "machine"
2985
+ },
2986
+ "h_43a1c6266f88": {
2987
+ "source": "Joined",
2988
+ "translation": "Rejoint",
2989
+ "origin": "machine"
2990
+ },
2991
+ "h_1c5c8843fc67": {
2992
+ "source": "Pending request",
2993
+ "translation": "Demande en attente",
2994
+ "origin": "one-app:wix-one-app-crm-contacts:CONTACTS_CONTACT_CARD_SCREEN_STATUS_BADGE.PENDING"
2995
+ },
2996
+ "h_dbf11c902c73": {
2997
+ "source": "Participation suspended",
2998
+ "translation": "Participation suspendue",
2999
+ "origin": "machine"
3000
+ },
3001
+ "h_a766dc843e39": {
3002
+ "source": "{count} programs",
3003
+ "translation": "{count} programmes",
3004
+ "origin": "machine"
3005
+ },
3006
+ "h_f4ba5662aa26": {
3007
+ "source": "1 program",
3008
+ "translation": "1 programme",
3009
+ "origin": "machine"
3010
+ },
3011
+ "h_35b342462f45": {
3012
+ "source": "{days} days · self-paced",
3013
+ "translation": "{days} jours · à votre rythme",
3014
+ "origin": "machine"
3015
+ },
3016
+ "h_1e6b8544be0c": {
3017
+ "source": "{days} days",
3018
+ "translation": "{days} jours",
3019
+ "origin": "machine"
3020
+ },
3021
+ "h_3a6ae6bd2c8e": {
3022
+ "source": "Ended {date}",
3023
+ "translation": "Terminé le {date}",
3024
+ "origin": "machine"
3025
+ },
3026
+ "h_2cba6916a049": {
3027
+ "source": "Starts {date} · {days} days",
3028
+ "translation": "Début le {date} · {days} jours",
3029
+ "origin": "machine"
3030
+ },
3031
+ "h_382539860ab8": {
3032
+ "source": "Self-paced",
3033
+ "translation": "À votre rythme",
3034
+ "origin": "machine"
3035
+ },
3036
+ "h_5b134f145490": {
3037
+ "source": "Started {date} · day {day}",
3038
+ "translation": "Commencé le {date} · jour {day}",
3039
+ "origin": "machine"
3040
+ },
3041
+ "h_5e676b67cfea": {
3042
+ "source": "Started {date} · day {day} of {days}",
3043
+ "translation": "Commencé le {date} · jour {day} sur {days}",
3044
+ "origin": "machine"
3045
+ },
3046
+ "h_2ec039e2464d": {
3047
+ "source": "Starts {date}",
3048
+ "translation": "Début le {date}",
3049
+ "origin": "machine"
3050
+ },
2799
3051
  "h_27a09196ad70": {
2800
3052
  "source": "Select a {option}",
2801
3053
  "translation": "Sélectionnez : {option}",
@@ -2946,11 +3198,46 @@
2946
3198
  "translation": "{n, plural, one {# vue} other {# vues}}",
2947
3199
  "origin": "machine"
2948
3200
  },
3201
+ "h_009ff11c38aa": {
3202
+ "source": "Active {amount}d ago",
3203
+ "translation": "Actif il y a {amount} j",
3204
+ "origin": "machine"
3205
+ },
3206
+ "h_5dd42e3b6336": {
3207
+ "source": "Active {amount}m ago",
3208
+ "translation": "Actif il y a {amount} min",
3209
+ "origin": "machine"
3210
+ },
3211
+ "h_7ee707b2943a": {
3212
+ "source": "Active now",
3213
+ "translation": "Actif maintenant",
3214
+ "origin": "machine"
3215
+ },
3216
+ "h_b47e504b255d": {
3217
+ "source": "Active {amount}h ago",
3218
+ "translation": "Actif il y a {amount} h",
3219
+ "origin": "machine"
3220
+ },
3221
+ "h_bfc3c2d84424": {
3222
+ "source": "Last seen {date}",
3223
+ "translation": "Dernière connexion {date}",
3224
+ "origin": "machine"
3225
+ },
2949
3226
  "h_972017cb7471": {
2950
3227
  "source": "1 member",
2951
3228
  "translation": "1 membre",
2952
3229
  "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:CLUB_SCREEN_HEADER_SINGLE_MEMBER"
2953
3230
  },
3231
+ "h_95fa98b5f4ee": {
3232
+ "source": "Active {n}h ago",
3233
+ "translation": "Actif il y a {n} h",
3234
+ "origin": "machine"
3235
+ },
3236
+ "h_71609106e1eb": {
3237
+ "source": "Active {n}m ago",
3238
+ "translation": "Actif il y a {n} min",
3239
+ "origin": "machine"
3240
+ },
2954
3241
  "h_19b27b0fd751": {
2955
3242
  "source": "You’re offline — nothing was saved. Try again when you reconnect.",
2956
3243
  "translation": "Vous êtes hors ligne : rien n’a été enregistré. Réessayez une fois reconnecté.",
@@ -3306,6 +3593,11 @@
3306
3593
  "translation": "A partagé une actualité.",
3307
3594
  "origin": "machine"
3308
3595
  },
3596
+ "h_b993b0c53719": {
3597
+ "source": "No results",
3598
+ "translation": "Aucun résultat",
3599
+ "origin": "one-app:wix-one-app-loyalty:SELECT_COUPON_PICKER_MODAL_SEARCH_NO_RESULTS_TITLE"
3600
+ },
3309
3601
  "h_171a0606f7c7": {
3310
3602
  "source": "Group",
3311
3603
  "translation": "Groupe",
@@ -3481,6 +3773,26 @@
3481
3773
  "translation": "Impossible d'ouvrir la page des commandes du site. Visitez le site pour voir vos commandes.",
3482
3774
  "origin": "machine"
3483
3775
  },
3776
+ "h_e1a31b3e461a": {
3777
+ "source": "recurring",
3778
+ "translation": "récurrent",
3779
+ "origin": "machine"
3780
+ },
3781
+ "h_73d01435c074": {
3782
+ "source": "one-time",
3783
+ "translation": "paiement unique",
3784
+ "origin": "machine"
3785
+ },
3786
+ "h_ae2f98a099fe": {
3787
+ "source": "Plan",
3788
+ "translation": "Formule",
3789
+ "origin": "one-app:wix-one-app-ecom-platform:merchant.orderPage.orderSummary.paidWithPlan"
3790
+ },
3791
+ "h_9bc2c5b3f52e": {
3792
+ "source": "Popular",
3793
+ "translation": "POPULAIRES",
3794
+ "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:CATALOG_SEARCH_RECOMMENDED_TITLE"
3795
+ },
3484
3796
  "h_8055252fc327": {
3485
3797
  "source": "Processing your purchase…",
3486
3798
  "translation": "Traitement de votre achat…",
@@ -3856,6 +4168,11 @@
3856
4168
  "translation": "jour",
3857
4169
  "origin": "one-app:wix-one-app-ecom-platform:merchant.checkout.pricingPlans.frequency"
3858
4170
  },
4171
+ "h_c0ee32d825d6": {
4172
+ "source": "week",
4173
+ "translation": "semaine",
4174
+ "origin": "one-app:wix-one-app-ecom-platform:merchant.checkout.pricingPlans.frequency.weekSingular"
4175
+ },
3859
4176
  "h_021710fa7866": {
3860
4177
  "source": "month",
3861
4178
  "translation": "mois",