@wix/himalaya-cli 0.1761.0 → 0.1763.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 (741) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +5 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +10 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/site-shell.d.ts +23 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +136 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +112 -0
  6. package/dist/browser-plane/assets.json +5 -5
  7. package/dist/browser-plane/preview-deferred/{7c3c05d452efd3f1e1e81b47dde7d9fa870c1e5217b00b253661a22b571fdbef.bin → a96903bb457796ee606fe986078d9629ba53b5ba4013bdb94e8afba3288284ed.bin} +1 -1
  8. package/dist/browser-plane/sw.js +7 -7
  9. package/dist/cli.mjs +51413 -50002
  10. package/dist/preview-assets.generated.bin +0 -0
  11. package/guides/base44-app-to-himi-app.md +56 -0
  12. package/guides/component-reference.json +1 -1
  13. package/guides/component-reference.md +10 -0
  14. package/guides/himi-json-output.md +35 -0
  15. package/guides/one-app-section-mappings.md +6 -6
  16. package/guides/one-app-to-himi-app.md +33 -4
  17. package/guides/push-cli-onboarding.md +25 -14
  18. package/guides/recipe-dynamic-list.md +4 -2
  19. package/guides/wix-business-context.md +1 -1
  20. package/package.json +2 -2
  21. package/templates/beauty-salon/l10n/ar.json +9 -420
  22. package/templates/beauty-salon/l10n/cs.json +9 -420
  23. package/templates/beauty-salon/l10n/da.json +9 -420
  24. package/templates/beauty-salon/l10n/de.json +9 -420
  25. package/templates/beauty-salon/l10n/el.json +9 -420
  26. package/templates/beauty-salon/l10n/en.json +8 -61
  27. package/templates/beauty-salon/l10n/es.json +9 -420
  28. package/templates/beauty-salon/l10n/fi.json +9 -420
  29. package/templates/beauty-salon/l10n/fr.json +9 -420
  30. package/templates/beauty-salon/l10n/he.json +9 -338
  31. package/templates/beauty-salon/l10n/hu.json +9 -420
  32. package/templates/beauty-salon/l10n/id.json +9 -420
  33. package/templates/beauty-salon/l10n/it.json +9 -420
  34. package/templates/beauty-salon/l10n/ja.json +9 -420
  35. package/templates/beauty-salon/l10n/ko.json +9 -420
  36. package/templates/beauty-salon/l10n/lt.json +9 -420
  37. package/templates/beauty-salon/l10n/nl.json +9 -420
  38. package/templates/beauty-salon/l10n/no.json +9 -420
  39. package/templates/beauty-salon/l10n/pl.json +9 -420
  40. package/templates/beauty-salon/l10n/pt.json +9 -420
  41. package/templates/beauty-salon/l10n/ru.json +9 -420
  42. package/templates/beauty-salon/l10n/sv.json +9 -420
  43. package/templates/beauty-salon/l10n/th.json +9 -420
  44. package/templates/beauty-salon/l10n/tr.json +9 -420
  45. package/templates/beauty-salon/l10n/uk.json +9 -420
  46. package/templates/beauty-salon/l10n/vi.json +9 -420
  47. package/templates/beauty-salon/l10n/zh.json +9 -420
  48. package/templates/branded-lite/l10n/ar.json +31 -5
  49. package/templates/branded-lite/l10n/cs.json +31 -5
  50. package/templates/branded-lite/l10n/da.json +31 -5
  51. package/templates/branded-lite/l10n/de.json +31 -5
  52. package/templates/branded-lite/l10n/el.json +31 -5
  53. package/templates/branded-lite/l10n/en.json +8 -6
  54. package/templates/branded-lite/l10n/es.json +31 -5
  55. package/templates/branded-lite/l10n/fi.json +31 -5
  56. package/templates/branded-lite/l10n/fr.json +31 -5
  57. package/templates/branded-lite/l10n/he.json +27 -4
  58. package/templates/branded-lite/l10n/hu.json +31 -5
  59. package/templates/branded-lite/l10n/id.json +31 -5
  60. package/templates/branded-lite/l10n/it.json +31 -5
  61. package/templates/branded-lite/l10n/ja.json +31 -5
  62. package/templates/branded-lite/l10n/ko.json +31 -5
  63. package/templates/branded-lite/l10n/lt.json +31 -5
  64. package/templates/branded-lite/l10n/nl.json +31 -5
  65. package/templates/branded-lite/l10n/no.json +31 -5
  66. package/templates/branded-lite/l10n/pl.json +31 -5
  67. package/templates/branded-lite/l10n/pt.json +31 -5
  68. package/templates/branded-lite/l10n/ru.json +31 -5
  69. package/templates/branded-lite/l10n/sv.json +31 -5
  70. package/templates/branded-lite/l10n/th.json +31 -5
  71. package/templates/branded-lite/l10n/tr.json +31 -5
  72. package/templates/branded-lite/l10n/uk.json +31 -5
  73. package/templates/branded-lite/l10n/vi.json +31 -5
  74. package/templates/branded-lite/l10n/zh.json +31 -5
  75. package/templates/branded-lite/recipes/blog-search.json +45 -0
  76. package/templates/{events-meetups/recipes/programs-participant-carousel.json → branded-lite/recipes/galleries-carousel.json} +39 -118
  77. package/templates/{gym-fitness/recipes/programs-participant-carousel.json → branded-lite/recipes/galleries-list.json} +43 -121
  78. package/templates/{community-club/recipes/events-inline-list.json → branded-lite/recipes/group-feed.json} +112 -89
  79. package/templates/{beauty-salon/recipes/programs-participant-carousel.json → branded-lite/recipes/groups-cards.json} +71 -93
  80. package/templates/{beauty-salon/recipes/groups-list.json → branded-lite/recipes/services-list.json} +33 -9
  81. package/templates/{community-club/recipes/groups-list.json → branded-lite/recipes/subscriptions-list.json} +124 -60
  82. package/templates/branded-lite/recipes/upcoming-bookings.json +350 -0
  83. package/templates/branded-lite/recipes/videos-carousel.json +248 -0
  84. package/templates/branded-lite/tier5-src/_shared/blog-list.ts +75 -21
  85. package/templates/branded-lite/tier5-src/_shared/galleries-section.ts +115 -0
  86. package/templates/branded-lite/tier5-src/_shared/group-feed-section.ts +137 -0
  87. package/templates/branded-lite/tier5-src/_shared/groups-section.ts +7 -3
  88. package/templates/branded-lite/tier5-src/_shared/my-subscriptions-section.ts +107 -0
  89. package/templates/branded-lite/tier5-src/_shared/plans-section.ts +11 -3
  90. package/templates/branded-lite/tier5-src/_shared/programs-section.ts +2 -0
  91. package/templates/branded-lite/tier5-src/_shared/services-section.ts +122 -0
  92. package/templates/branded-lite/tier5-src/_shared/upcoming-bookings-section.ts +102 -0
  93. package/templates/branded-lite/tier5-src/_shared/videos-section.ts +91 -0
  94. package/templates/brandy/README.md +21 -3
  95. package/templates/brandy/config.ts +131 -14
  96. package/templates/brandy/dev/index.ts +41 -5
  97. package/templates/brandy/dev/member-screens.ts +14412 -0
  98. package/templates/brandy/provisioning.member.example.json +25 -0
  99. package/templates/brandy/tier5-src/_shared/branded-lite-hosted.ts +280 -0
  100. package/templates/brandy/tier5-src/_shared/branded-load-state.ts +109 -0
  101. package/templates/brandy/tier5-src/_shared/chat-live.ts +242 -0
  102. package/templates/brandy/tier5-src/_shared/collection-contract.ts +228 -0
  103. package/templates/brandy/tier5-src/_shared/collection-query-legacy.ts +194 -0
  104. package/templates/brandy/tier5-src/_shared/collection-query.ts +252 -0
  105. package/templates/brandy/tier5-src/_shared/collection-service.ts +423 -0
  106. package/templates/brandy/tier5-src/_shared/engine-intl.ts +523 -0
  107. package/templates/brandy/tier5-src/_shared/himi-account.ts +194 -0
  108. package/templates/brandy/tier5-src/_shared/himi-store.ts +7 -0
  109. package/templates/brandy/tier5-src/_shared/himi-text.ts +24 -0
  110. package/templates/brandy/tier5-src/_shared/hosted-checkout.ts +70 -0
  111. package/templates/brandy/tier5-src/_shared/iap-worker.ts +127 -0
  112. package/templates/brandy/tier5-src/_shared/inbox-rooms.ts +68 -0
  113. package/templates/brandy/tier5-src/_shared/live-session.ts +172 -0
  114. package/templates/brandy/tier5-src/_shared/local-preferences.ts +38 -0
  115. package/templates/brandy/tier5-src/_shared/member-access.ts +63 -0
  116. package/templates/brandy/tier5-src/_shared/member-account-routes.ts +52 -0
  117. package/templates/brandy/tier5-src/_shared/member-orders.ts +8 -0
  118. package/templates/brandy/tier5-src/_shared/member-read.ts +82 -0
  119. package/templates/brandy/tier5-src/_shared/member-screen.ts +99 -0
  120. package/templates/brandy/tier5-src/_shared/notification-target.ts +141 -0
  121. package/templates/brandy/tier5-src/_shared/online-actions.ts +76 -0
  122. package/templates/brandy/tier5-src/_shared/owner-load-error.ts +348 -0
  123. package/templates/brandy/tier5-src/_shared/payment-setup.ts +6 -0
  124. package/templates/brandy/tier5-src/_shared/pricing-plan-display.ts +64 -0
  125. package/templates/brandy/tier5-src/_shared/rich-body.ts +78 -0
  126. package/templates/brandy/tier5-src/_shared/rich-content-link.ts +34 -0
  127. package/templates/brandy/tier5-src/_shared/sign-in-sheet.ts +18 -0
  128. package/templates/brandy/tier5-src/_shared/store-order-presentation.ts +56 -0
  129. package/templates/brandy/tier5-src/_shared/wix-bi.ts +85 -0
  130. package/templates/brandy/tier5-src/_shared/wix-member-links.ts +114 -0
  131. package/templates/brandy/tier5-src/himi-branded-lite-inbox/index.ts +92 -0
  132. package/templates/brandy/tier5-src/himi-branded-lite-notifications/index.ts +256 -0
  133. package/templates/brandy/tier5-src/himi-branded-lite-order/index.ts +477 -0
  134. package/templates/brandy/tier5-src/himi-branded-lite-orders/index.ts +327 -0
  135. package/templates/brandy/tier5-src/himi-store-account/index.ts +1007 -0
  136. package/templates/brandy/tier5-src/wix-spaces-chat-thread/index.ts +350 -0
  137. package/templates/brandy/tier5-src/wix-spaces-delete-account/index.ts +59 -0
  138. package/templates/brandy/tier5-src/wix-spaces-my-subscriptions/index.ts +89 -0
  139. package/templates/brandy/tier5-src/wix-spaces-subscription-detail/index.ts +139 -0
  140. package/templates/brandy/tokens.json +25 -0
  141. package/templates/community-club/l10n/ar.json +0 -412
  142. package/templates/community-club/l10n/cs.json +0 -412
  143. package/templates/community-club/l10n/da.json +0 -412
  144. package/templates/community-club/l10n/de.json +0 -412
  145. package/templates/community-club/l10n/el.json +0 -412
  146. package/templates/community-club/l10n/en.json +1 -46
  147. package/templates/community-club/l10n/es.json +0 -412
  148. package/templates/community-club/l10n/fi.json +0 -412
  149. package/templates/community-club/l10n/fr.json +0 -412
  150. package/templates/community-club/l10n/he.json +0 -331
  151. package/templates/community-club/l10n/hu.json +0 -412
  152. package/templates/community-club/l10n/id.json +0 -412
  153. package/templates/community-club/l10n/it.json +0 -412
  154. package/templates/community-club/l10n/ja.json +0 -412
  155. package/templates/community-club/l10n/ko.json +0 -412
  156. package/templates/community-club/l10n/lt.json +0 -412
  157. package/templates/community-club/l10n/nl.json +0 -412
  158. package/templates/community-club/l10n/no.json +0 -412
  159. package/templates/community-club/l10n/pl.json +0 -412
  160. package/templates/community-club/l10n/pt.json +0 -412
  161. package/templates/community-club/l10n/ru.json +0 -412
  162. package/templates/community-club/l10n/sv.json +0 -412
  163. package/templates/community-club/l10n/th.json +0 -412
  164. package/templates/community-club/l10n/tr.json +0 -412
  165. package/templates/community-club/l10n/uk.json +0 -412
  166. package/templates/community-club/l10n/vi.json +0 -412
  167. package/templates/community-club/l10n/zh.json +0 -412
  168. package/templates/events-meetups/l10n/ar.json +0 -412
  169. package/templates/events-meetups/l10n/cs.json +0 -412
  170. package/templates/events-meetups/l10n/da.json +0 -412
  171. package/templates/events-meetups/l10n/de.json +0 -412
  172. package/templates/events-meetups/l10n/el.json +0 -412
  173. package/templates/events-meetups/l10n/en.json +1 -46
  174. package/templates/events-meetups/l10n/es.json +0 -412
  175. package/templates/events-meetups/l10n/fi.json +0 -412
  176. package/templates/events-meetups/l10n/fr.json +0 -412
  177. package/templates/events-meetups/l10n/he.json +0 -331
  178. package/templates/events-meetups/l10n/hu.json +0 -412
  179. package/templates/events-meetups/l10n/id.json +0 -412
  180. package/templates/events-meetups/l10n/it.json +0 -412
  181. package/templates/events-meetups/l10n/ja.json +0 -412
  182. package/templates/events-meetups/l10n/ko.json +0 -412
  183. package/templates/events-meetups/l10n/lt.json +0 -412
  184. package/templates/events-meetups/l10n/nl.json +0 -412
  185. package/templates/events-meetups/l10n/no.json +0 -412
  186. package/templates/events-meetups/l10n/pl.json +0 -412
  187. package/templates/events-meetups/l10n/pt.json +0 -412
  188. package/templates/events-meetups/l10n/ru.json +0 -412
  189. package/templates/events-meetups/l10n/sv.json +0 -412
  190. package/templates/events-meetups/l10n/th.json +0 -412
  191. package/templates/events-meetups/l10n/tr.json +0 -412
  192. package/templates/events-meetups/l10n/uk.json +0 -412
  193. package/templates/events-meetups/l10n/vi.json +0 -412
  194. package/templates/events-meetups/l10n/zh.json +0 -412
  195. package/templates/gym-fitness/l10n/ar.json +9 -405
  196. package/templates/gym-fitness/l10n/cs.json +9 -405
  197. package/templates/gym-fitness/l10n/da.json +9 -405
  198. package/templates/gym-fitness/l10n/de.json +9 -405
  199. package/templates/gym-fitness/l10n/el.json +9 -405
  200. package/templates/gym-fitness/l10n/en.json +8 -51
  201. package/templates/gym-fitness/l10n/es.json +9 -405
  202. package/templates/gym-fitness/l10n/fi.json +9 -405
  203. package/templates/gym-fitness/l10n/fr.json +9 -405
  204. package/templates/gym-fitness/l10n/he.json +9 -326
  205. package/templates/gym-fitness/l10n/hu.json +9 -405
  206. package/templates/gym-fitness/l10n/id.json +9 -405
  207. package/templates/gym-fitness/l10n/it.json +9 -405
  208. package/templates/gym-fitness/l10n/ja.json +9 -405
  209. package/templates/gym-fitness/l10n/ko.json +9 -405
  210. package/templates/gym-fitness/l10n/lt.json +9 -405
  211. package/templates/gym-fitness/l10n/nl.json +9 -405
  212. package/templates/gym-fitness/l10n/no.json +9 -405
  213. package/templates/gym-fitness/l10n/pl.json +9 -405
  214. package/templates/gym-fitness/l10n/pt.json +9 -405
  215. package/templates/gym-fitness/l10n/ru.json +9 -405
  216. package/templates/gym-fitness/l10n/sv.json +9 -405
  217. package/templates/gym-fitness/l10n/th.json +9 -405
  218. package/templates/gym-fitness/l10n/tr.json +9 -405
  219. package/templates/gym-fitness/l10n/uk.json +9 -405
  220. package/templates/gym-fitness/l10n/vi.json +9 -405
  221. package/templates/gym-fitness/l10n/zh.json +9 -405
  222. package/templates/nonprofit-cause/l10n/ar.json +0 -387
  223. package/templates/nonprofit-cause/l10n/cs.json +0 -387
  224. package/templates/nonprofit-cause/l10n/da.json +0 -387
  225. package/templates/nonprofit-cause/l10n/de.json +0 -387
  226. package/templates/nonprofit-cause/l10n/el.json +0 -387
  227. package/templates/nonprofit-cause/l10n/en.json +1 -46
  228. package/templates/nonprofit-cause/l10n/es.json +0 -387
  229. package/templates/nonprofit-cause/l10n/fi.json +0 -387
  230. package/templates/nonprofit-cause/l10n/fr.json +0 -387
  231. package/templates/nonprofit-cause/l10n/he.json +0 -311
  232. package/templates/nonprofit-cause/l10n/hu.json +0 -387
  233. package/templates/nonprofit-cause/l10n/id.json +0 -387
  234. package/templates/nonprofit-cause/l10n/it.json +0 -387
  235. package/templates/nonprofit-cause/l10n/ja.json +0 -387
  236. package/templates/nonprofit-cause/l10n/ko.json +0 -387
  237. package/templates/nonprofit-cause/l10n/lt.json +0 -387
  238. package/templates/nonprofit-cause/l10n/nl.json +0 -387
  239. package/templates/nonprofit-cause/l10n/no.json +0 -387
  240. package/templates/nonprofit-cause/l10n/pl.json +0 -387
  241. package/templates/nonprofit-cause/l10n/pt.json +0 -387
  242. package/templates/nonprofit-cause/l10n/ru.json +0 -387
  243. package/templates/nonprofit-cause/l10n/sv.json +0 -387
  244. package/templates/nonprofit-cause/l10n/th.json +0 -387
  245. package/templates/nonprofit-cause/l10n/tr.json +0 -387
  246. package/templates/nonprofit-cause/l10n/uk.json +0 -387
  247. package/templates/nonprofit-cause/l10n/vi.json +0 -387
  248. package/templates/nonprofit-cause/l10n/zh.json +0 -387
  249. package/templates/podcast-creator/l10n/ar.json +0 -417
  250. package/templates/podcast-creator/l10n/cs.json +0 -417
  251. package/templates/podcast-creator/l10n/da.json +0 -417
  252. package/templates/podcast-creator/l10n/de.json +0 -417
  253. package/templates/podcast-creator/l10n/el.json +0 -417
  254. package/templates/podcast-creator/l10n/en.json +1 -46
  255. package/templates/podcast-creator/l10n/es.json +0 -417
  256. package/templates/podcast-creator/l10n/fi.json +0 -417
  257. package/templates/podcast-creator/l10n/fr.json +0 -417
  258. package/templates/podcast-creator/l10n/he.json +0 -335
  259. package/templates/podcast-creator/l10n/hu.json +0 -417
  260. package/templates/podcast-creator/l10n/id.json +0 -417
  261. package/templates/podcast-creator/l10n/it.json +0 -417
  262. package/templates/podcast-creator/l10n/ja.json +0 -417
  263. package/templates/podcast-creator/l10n/ko.json +0 -417
  264. package/templates/podcast-creator/l10n/lt.json +0 -417
  265. package/templates/podcast-creator/l10n/nl.json +0 -417
  266. package/templates/podcast-creator/l10n/no.json +0 -417
  267. package/templates/podcast-creator/l10n/pl.json +0 -417
  268. package/templates/podcast-creator/l10n/pt.json +0 -417
  269. package/templates/podcast-creator/l10n/ru.json +0 -417
  270. package/templates/podcast-creator/l10n/sv.json +0 -417
  271. package/templates/podcast-creator/l10n/th.json +0 -417
  272. package/templates/podcast-creator/l10n/tr.json +0 -417
  273. package/templates/podcast-creator/l10n/uk.json +0 -417
  274. package/templates/podcast-creator/l10n/vi.json +0 -417
  275. package/templates/podcast-creator/l10n/zh.json +0 -417
  276. package/templates/portfolio-creative/l10n/ar.json +0 -437
  277. package/templates/portfolio-creative/l10n/cs.json +0 -437
  278. package/templates/portfolio-creative/l10n/da.json +0 -437
  279. package/templates/portfolio-creative/l10n/de.json +0 -437
  280. package/templates/portfolio-creative/l10n/el.json +0 -437
  281. package/templates/portfolio-creative/l10n/en.json +1 -46
  282. package/templates/portfolio-creative/l10n/es.json +0 -437
  283. package/templates/portfolio-creative/l10n/fi.json +0 -437
  284. package/templates/portfolio-creative/l10n/fr.json +0 -437
  285. package/templates/portfolio-creative/l10n/he.json +0 -351
  286. package/templates/portfolio-creative/l10n/hu.json +0 -437
  287. package/templates/portfolio-creative/l10n/id.json +0 -437
  288. package/templates/portfolio-creative/l10n/it.json +0 -437
  289. package/templates/portfolio-creative/l10n/ja.json +0 -437
  290. package/templates/portfolio-creative/l10n/ko.json +0 -437
  291. package/templates/portfolio-creative/l10n/lt.json +0 -437
  292. package/templates/portfolio-creative/l10n/nl.json +0 -437
  293. package/templates/portfolio-creative/l10n/no.json +0 -437
  294. package/templates/portfolio-creative/l10n/pl.json +0 -437
  295. package/templates/portfolio-creative/l10n/pt.json +0 -437
  296. package/templates/portfolio-creative/l10n/ru.json +0 -437
  297. package/templates/portfolio-creative/l10n/sv.json +0 -437
  298. package/templates/portfolio-creative/l10n/th.json +0 -437
  299. package/templates/portfolio-creative/l10n/tr.json +0 -437
  300. package/templates/portfolio-creative/l10n/uk.json +0 -437
  301. package/templates/portfolio-creative/l10n/vi.json +0 -437
  302. package/templates/portfolio-creative/l10n/zh.json +0 -437
  303. package/templates/restaurant/l10n/ar.json +0 -447
  304. package/templates/restaurant/l10n/cs.json +0 -447
  305. package/templates/restaurant/l10n/da.json +0 -447
  306. package/templates/restaurant/l10n/de.json +0 -447
  307. package/templates/restaurant/l10n/el.json +0 -447
  308. package/templates/restaurant/l10n/en.json +1 -46
  309. package/templates/restaurant/l10n/es.json +0 -447
  310. package/templates/restaurant/l10n/fi.json +0 -447
  311. package/templates/restaurant/l10n/fr.json +0 -447
  312. package/templates/restaurant/l10n/he.json +0 -359
  313. package/templates/restaurant/l10n/hu.json +0 -447
  314. package/templates/restaurant/l10n/id.json +0 -447
  315. package/templates/restaurant/l10n/it.json +0 -447
  316. package/templates/restaurant/l10n/ja.json +0 -447
  317. package/templates/restaurant/l10n/ko.json +0 -447
  318. package/templates/restaurant/l10n/lt.json +0 -447
  319. package/templates/restaurant/l10n/nl.json +0 -447
  320. package/templates/restaurant/l10n/no.json +0 -447
  321. package/templates/restaurant/l10n/pl.json +0 -447
  322. package/templates/restaurant/l10n/pt.json +0 -447
  323. package/templates/restaurant/l10n/ru.json +0 -447
  324. package/templates/restaurant/l10n/sv.json +0 -447
  325. package/templates/restaurant/l10n/th.json +0 -447
  326. package/templates/restaurant/l10n/tr.json +0 -447
  327. package/templates/restaurant/l10n/uk.json +0 -447
  328. package/templates/restaurant/l10n/vi.json +0 -447
  329. package/templates/restaurant/l10n/zh.json +0 -447
  330. package/templates/retail-store/l10n/ar.json +0 -462
  331. package/templates/retail-store/l10n/cs.json +0 -462
  332. package/templates/retail-store/l10n/da.json +0 -462
  333. package/templates/retail-store/l10n/de.json +0 -462
  334. package/templates/retail-store/l10n/el.json +0 -462
  335. package/templates/retail-store/l10n/en.json +1 -61
  336. package/templates/retail-store/l10n/es.json +0 -462
  337. package/templates/retail-store/l10n/fi.json +0 -462
  338. package/templates/retail-store/l10n/fr.json +0 -462
  339. package/templates/retail-store/l10n/he.json +0 -371
  340. package/templates/retail-store/l10n/hu.json +0 -462
  341. package/templates/retail-store/l10n/id.json +0 -462
  342. package/templates/retail-store/l10n/it.json +0 -462
  343. package/templates/retail-store/l10n/ja.json +0 -462
  344. package/templates/retail-store/l10n/ko.json +0 -462
  345. package/templates/retail-store/l10n/lt.json +0 -462
  346. package/templates/retail-store/l10n/nl.json +0 -462
  347. package/templates/retail-store/l10n/no.json +0 -462
  348. package/templates/retail-store/l10n/pl.json +0 -462
  349. package/templates/retail-store/l10n/pt.json +0 -462
  350. package/templates/retail-store/l10n/ru.json +0 -462
  351. package/templates/retail-store/l10n/sv.json +0 -462
  352. package/templates/retail-store/l10n/th.json +0 -462
  353. package/templates/retail-store/l10n/tr.json +0 -462
  354. package/templates/retail-store/l10n/uk.json +0 -462
  355. package/templates/retail-store/l10n/vi.json +0 -462
  356. package/templates/retail-store/l10n/zh.json +0 -462
  357. package/templates/yoga-studio/l10n/ar.json +9 -197
  358. package/templates/yoga-studio/l10n/cs.json +9 -197
  359. package/templates/yoga-studio/l10n/da.json +9 -197
  360. package/templates/yoga-studio/l10n/de.json +9 -197
  361. package/templates/yoga-studio/l10n/el.json +9 -197
  362. package/templates/yoga-studio/l10n/en.json +8 -30
  363. package/templates/yoga-studio/l10n/es.json +9 -197
  364. package/templates/yoga-studio/l10n/fi.json +9 -197
  365. package/templates/yoga-studio/l10n/fr.json +9 -197
  366. package/templates/yoga-studio/l10n/he.json +9 -159
  367. package/templates/yoga-studio/l10n/hu.json +9 -197
  368. package/templates/yoga-studio/l10n/id.json +9 -197
  369. package/templates/yoga-studio/l10n/it.json +9 -197
  370. package/templates/yoga-studio/l10n/ja.json +9 -197
  371. package/templates/yoga-studio/l10n/ko.json +9 -197
  372. package/templates/yoga-studio/l10n/lt.json +9 -197
  373. package/templates/yoga-studio/l10n/nl.json +9 -197
  374. package/templates/yoga-studio/l10n/no.json +9 -197
  375. package/templates/yoga-studio/l10n/pl.json +9 -197
  376. package/templates/yoga-studio/l10n/pt.json +9 -197
  377. package/templates/yoga-studio/l10n/ru.json +9 -197
  378. package/templates/yoga-studio/l10n/sv.json +9 -197
  379. package/templates/yoga-studio/l10n/th.json +9 -197
  380. package/templates/yoga-studio/l10n/tr.json +9 -197
  381. package/templates/yoga-studio/l10n/uk.json +9 -197
  382. package/templates/yoga-studio/l10n/vi.json +9 -197
  383. package/templates/yoga-studio/l10n/zh.json +9 -197
  384. package/templates/beauty-salon/recipes/announcement-card.json +0 -72
  385. package/templates/beauty-salon/recipes/blog-hero.json +0 -95
  386. package/templates/beauty-salon/recipes/blog-list-thumb-start.json +0 -394
  387. package/templates/beauty-salon/recipes/blog-list.json +0 -394
  388. package/templates/beauty-salon/recipes/blog-see-all.json +0 -50
  389. package/templates/beauty-salon/recipes/events-inline-list.json +0 -228
  390. package/templates/beauty-salon/recipes/events-inline.json +0 -309
  391. package/templates/beauty-salon/recipes/faq-list.json +0 -503
  392. package/templates/beauty-salon/recipes/members-list.json +0 -445
  393. package/templates/beauty-salon/recipes/plans-card.json +0 -811
  394. package/templates/beauty-salon/recipes/products-carousel.json +0 -141
  395. package/templates/beauty-salon/recipes/products-grid.json +0 -143
  396. package/templates/beauty-salon/recipes/programs-card.json +0 -254
  397. package/templates/beauty-salon/recipes/programs-carousel.json +0 -234
  398. package/templates/beauty-salon/recipes/programs-filters.json +0 -94
  399. package/templates/beauty-salon/recipes/programs-see-all.json +0 -43
  400. package/templates/beauty-salon/recipes/section-error.json +0 -58
  401. package/templates/beauty-salon/tier5-src/_shared/announcement-section.ts +0 -122
  402. package/templates/beauty-salon/tier5-src/_shared/blog-list.ts +0 -207
  403. package/templates/beauty-salon/tier5-src/_shared/event-registration.ts +0 -86
  404. package/templates/beauty-salon/tier5-src/_shared/events-card.ts +0 -33
  405. package/templates/beauty-salon/tier5-src/_shared/events-inline-options.ts +0 -25
  406. package/templates/beauty-salon/tier5-src/_shared/events-inline.ts +0 -84
  407. package/templates/beauty-salon/tier5-src/_shared/faq-list.ts +0 -405
  408. package/templates/beauty-salon/tier5-src/_shared/groups-section.ts +0 -110
  409. package/templates/beauty-salon/tier5-src/_shared/member-activity.ts +0 -34
  410. package/templates/beauty-salon/tier5-src/_shared/member-row-extras.ts +0 -175
  411. package/templates/beauty-salon/tier5-src/_shared/members-directory-view.ts +0 -39
  412. package/templates/beauty-salon/tier5-src/_shared/members-directory.ts +0 -271
  413. package/templates/beauty-salon/tier5-src/_shared/plan-facts.ts +0 -87
  414. package/templates/beauty-salon/tier5-src/_shared/plans-section.ts +0 -106
  415. package/templates/beauty-salon/tier5-src/_shared/products-section.ts +0 -76
  416. package/templates/beauty-salon/tier5-src/_shared/program-fields.ts +0 -16
  417. package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +0 -740
  418. package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +0 -21
  419. package/templates/community-club/recipes/announcement-card.json +0 -72
  420. package/templates/community-club/recipes/blog-hero.json +0 -95
  421. package/templates/community-club/recipes/blog-list-thumb-start.json +0 -394
  422. package/templates/community-club/recipes/blog-list.json +0 -394
  423. package/templates/community-club/recipes/blog-see-all.json +0 -50
  424. package/templates/community-club/recipes/events-inline.json +0 -309
  425. package/templates/community-club/recipes/faq-list.json +0 -503
  426. package/templates/community-club/recipes/members-list.json +0 -445
  427. package/templates/community-club/recipes/plans-card.json +0 -811
  428. package/templates/community-club/recipes/products-carousel.json +0 -141
  429. package/templates/community-club/recipes/products-grid.json +0 -143
  430. package/templates/community-club/recipes/programs-card.json +0 -254
  431. package/templates/community-club/recipes/programs-carousel.json +0 -234
  432. package/templates/community-club/recipes/programs-filters.json +0 -94
  433. package/templates/community-club/recipes/programs-participant-carousel.json +0 -257
  434. package/templates/community-club/recipes/programs-see-all.json +0 -43
  435. package/templates/community-club/recipes/section-error.json +0 -58
  436. package/templates/community-club/tier5-src/_shared/announcement-section.ts +0 -122
  437. package/templates/community-club/tier5-src/_shared/blog-list.ts +0 -207
  438. package/templates/community-club/tier5-src/_shared/events-card.ts +0 -33
  439. package/templates/community-club/tier5-src/_shared/events-inline-options.ts +0 -25
  440. package/templates/community-club/tier5-src/_shared/events-inline.ts +0 -84
  441. package/templates/community-club/tier5-src/_shared/faq-list.ts +0 -405
  442. package/templates/community-club/tier5-src/_shared/groups-section.ts +0 -110
  443. package/templates/community-club/tier5-src/_shared/member-activity.ts +0 -34
  444. package/templates/community-club/tier5-src/_shared/member-row-extras.ts +0 -175
  445. package/templates/community-club/tier5-src/_shared/members-directory-view.ts +0 -39
  446. package/templates/community-club/tier5-src/_shared/members-directory.ts +0 -271
  447. package/templates/community-club/tier5-src/_shared/plan-facts.ts +0 -87
  448. package/templates/community-club/tier5-src/_shared/plans-section.ts +0 -106
  449. package/templates/community-club/tier5-src/_shared/products-section.ts +0 -76
  450. package/templates/community-club/tier5-src/_shared/program-fields.ts +0 -16
  451. package/templates/community-club/tier5-src/_shared/programs-section.ts +0 -740
  452. package/templates/community-club/tier5-src/_shared/relative-time.ts +0 -21
  453. package/templates/events-meetups/recipes/announcement-card.json +0 -72
  454. package/templates/events-meetups/recipes/blog-hero.json +0 -95
  455. package/templates/events-meetups/recipes/blog-list-thumb-start.json +0 -394
  456. package/templates/events-meetups/recipes/blog-list.json +0 -394
  457. package/templates/events-meetups/recipes/blog-see-all.json +0 -50
  458. package/templates/events-meetups/recipes/events-inline-list.json +0 -228
  459. package/templates/events-meetups/recipes/events-inline.json +0 -309
  460. package/templates/events-meetups/recipes/faq-list.json +0 -503
  461. package/templates/events-meetups/recipes/groups-list.json +0 -196
  462. package/templates/events-meetups/recipes/members-list.json +0 -445
  463. package/templates/events-meetups/recipes/plans-card.json +0 -811
  464. package/templates/events-meetups/recipes/products-carousel.json +0 -141
  465. package/templates/events-meetups/recipes/products-grid.json +0 -143
  466. package/templates/events-meetups/recipes/programs-card.json +0 -254
  467. package/templates/events-meetups/recipes/programs-carousel.json +0 -234
  468. package/templates/events-meetups/recipes/programs-filters.json +0 -94
  469. package/templates/events-meetups/recipes/programs-see-all.json +0 -43
  470. package/templates/events-meetups/recipes/section-error.json +0 -58
  471. package/templates/events-meetups/tier5-src/_shared/announcement-section.ts +0 -122
  472. package/templates/events-meetups/tier5-src/_shared/blog-list.ts +0 -207
  473. package/templates/events-meetups/tier5-src/_shared/detail-presence.ts +0 -51
  474. package/templates/events-meetups/tier5-src/_shared/events-card.ts +0 -33
  475. package/templates/events-meetups/tier5-src/_shared/events-inline-options.ts +0 -25
  476. package/templates/events-meetups/tier5-src/_shared/events-inline.ts +0 -84
  477. package/templates/events-meetups/tier5-src/_shared/faq-list.ts +0 -405
  478. package/templates/events-meetups/tier5-src/_shared/groups-section.ts +0 -110
  479. package/templates/events-meetups/tier5-src/_shared/member-activity.ts +0 -34
  480. package/templates/events-meetups/tier5-src/_shared/member-row-extras.ts +0 -175
  481. package/templates/events-meetups/tier5-src/_shared/members-directory-view.ts +0 -39
  482. package/templates/events-meetups/tier5-src/_shared/members-directory.ts +0 -271
  483. package/templates/events-meetups/tier5-src/_shared/plan-facts.ts +0 -87
  484. package/templates/events-meetups/tier5-src/_shared/plans-section.ts +0 -106
  485. package/templates/events-meetups/tier5-src/_shared/products-section.ts +0 -76
  486. package/templates/events-meetups/tier5-src/_shared/program-fields.ts +0 -16
  487. package/templates/events-meetups/tier5-src/_shared/programs-section.ts +0 -740
  488. package/templates/events-meetups/tier5-src/_shared/relative-time.ts +0 -21
  489. package/templates/gym-fitness/recipes/announcement-card.json +0 -72
  490. package/templates/gym-fitness/recipes/blog-hero.json +0 -95
  491. package/templates/gym-fitness/recipes/blog-list-thumb-start.json +0 -394
  492. package/templates/gym-fitness/recipes/blog-list.json +0 -394
  493. package/templates/gym-fitness/recipes/blog-see-all.json +0 -50
  494. package/templates/gym-fitness/recipes/events-inline-list.json +0 -228
  495. package/templates/gym-fitness/recipes/events-inline.json +0 -309
  496. package/templates/gym-fitness/recipes/faq-list.json +0 -503
  497. package/templates/gym-fitness/recipes/groups-list.json +0 -196
  498. package/templates/gym-fitness/recipes/members-list.json +0 -445
  499. package/templates/gym-fitness/recipes/plans-card.json +0 -811
  500. package/templates/gym-fitness/recipes/products-carousel.json +0 -141
  501. package/templates/gym-fitness/recipes/products-grid.json +0 -143
  502. package/templates/gym-fitness/recipes/programs-card.json +0 -254
  503. package/templates/gym-fitness/recipes/programs-carousel.json +0 -234
  504. package/templates/gym-fitness/recipes/programs-filters.json +0 -94
  505. package/templates/gym-fitness/recipes/programs-see-all.json +0 -43
  506. package/templates/gym-fitness/recipes/section-error.json +0 -58
  507. package/templates/gym-fitness/tier5-src/_shared/announcement-section.ts +0 -122
  508. package/templates/gym-fitness/tier5-src/_shared/blog-list.ts +0 -207
  509. package/templates/gym-fitness/tier5-src/_shared/events-card.ts +0 -33
  510. package/templates/gym-fitness/tier5-src/_shared/events-inline-options.ts +0 -25
  511. package/templates/gym-fitness/tier5-src/_shared/events-inline.ts +0 -84
  512. package/templates/gym-fitness/tier5-src/_shared/faq-list.ts +0 -405
  513. package/templates/gym-fitness/tier5-src/_shared/groups-section.ts +0 -110
  514. package/templates/gym-fitness/tier5-src/_shared/member-activity.ts +0 -34
  515. package/templates/gym-fitness/tier5-src/_shared/member-row-extras.ts +0 -175
  516. package/templates/gym-fitness/tier5-src/_shared/members-directory-view.ts +0 -39
  517. package/templates/gym-fitness/tier5-src/_shared/members-directory.ts +0 -271
  518. package/templates/gym-fitness/tier5-src/_shared/plan-facts.ts +0 -87
  519. package/templates/gym-fitness/tier5-src/_shared/plans-section.ts +0 -106
  520. package/templates/gym-fitness/tier5-src/_shared/products-section.ts +0 -76
  521. package/templates/gym-fitness/tier5-src/_shared/program-fields.ts +0 -16
  522. package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +0 -740
  523. package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +0 -21
  524. package/templates/nonprofit-cause/recipes/announcement-card.json +0 -72
  525. package/templates/nonprofit-cause/recipes/blog-hero.json +0 -95
  526. package/templates/nonprofit-cause/recipes/blog-list-thumb-start.json +0 -394
  527. package/templates/nonprofit-cause/recipes/blog-list.json +0 -394
  528. package/templates/nonprofit-cause/recipes/blog-see-all.json +0 -50
  529. package/templates/nonprofit-cause/recipes/events-inline-list.json +0 -228
  530. package/templates/nonprofit-cause/recipes/events-inline.json +0 -309
  531. package/templates/nonprofit-cause/recipes/faq-list.json +0 -503
  532. package/templates/nonprofit-cause/recipes/groups-list.json +0 -196
  533. package/templates/nonprofit-cause/recipes/members-list.json +0 -445
  534. package/templates/nonprofit-cause/recipes/plans-card.json +0 -811
  535. package/templates/nonprofit-cause/recipes/products-carousel.json +0 -141
  536. package/templates/nonprofit-cause/recipes/products-grid.json +0 -143
  537. package/templates/nonprofit-cause/recipes/programs-card.json +0 -254
  538. package/templates/nonprofit-cause/recipes/programs-carousel.json +0 -234
  539. package/templates/nonprofit-cause/recipes/programs-filters.json +0 -94
  540. package/templates/nonprofit-cause/recipes/programs-participant-carousel.json +0 -257
  541. package/templates/nonprofit-cause/recipes/programs-see-all.json +0 -43
  542. package/templates/nonprofit-cause/recipes/section-error.json +0 -58
  543. package/templates/nonprofit-cause/tier5-src/_shared/announcement-section.ts +0 -122
  544. package/templates/nonprofit-cause/tier5-src/_shared/blog-list.ts +0 -207
  545. package/templates/nonprofit-cause/tier5-src/_shared/events-card.ts +0 -33
  546. package/templates/nonprofit-cause/tier5-src/_shared/events-inline-options.ts +0 -25
  547. package/templates/nonprofit-cause/tier5-src/_shared/events-inline.ts +0 -84
  548. package/templates/nonprofit-cause/tier5-src/_shared/faq-list.ts +0 -405
  549. package/templates/nonprofit-cause/tier5-src/_shared/groups-section.ts +0 -110
  550. package/templates/nonprofit-cause/tier5-src/_shared/member-activity.ts +0 -34
  551. package/templates/nonprofit-cause/tier5-src/_shared/member-row-extras.ts +0 -175
  552. package/templates/nonprofit-cause/tier5-src/_shared/members-directory-view.ts +0 -39
  553. package/templates/nonprofit-cause/tier5-src/_shared/members-directory.ts +0 -271
  554. package/templates/nonprofit-cause/tier5-src/_shared/plan-facts.ts +0 -87
  555. package/templates/nonprofit-cause/tier5-src/_shared/plans-section.ts +0 -106
  556. package/templates/nonprofit-cause/tier5-src/_shared/products-section.ts +0 -76
  557. package/templates/nonprofit-cause/tier5-src/_shared/program-fields.ts +0 -16
  558. package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +0 -740
  559. package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +0 -21
  560. package/templates/podcast-creator/recipes/announcement-card.json +0 -72
  561. package/templates/podcast-creator/recipes/blog-hero.json +0 -95
  562. package/templates/podcast-creator/recipes/blog-list-thumb-start.json +0 -394
  563. package/templates/podcast-creator/recipes/blog-list.json +0 -394
  564. package/templates/podcast-creator/recipes/blog-see-all.json +0 -50
  565. package/templates/podcast-creator/recipes/events-inline-list.json +0 -228
  566. package/templates/podcast-creator/recipes/events-inline.json +0 -309
  567. package/templates/podcast-creator/recipes/faq-list.json +0 -503
  568. package/templates/podcast-creator/recipes/groups-list.json +0 -196
  569. package/templates/podcast-creator/recipes/members-list.json +0 -445
  570. package/templates/podcast-creator/recipes/plans-card.json +0 -811
  571. package/templates/podcast-creator/recipes/products-carousel.json +0 -141
  572. package/templates/podcast-creator/recipes/products-grid.json +0 -143
  573. package/templates/podcast-creator/recipes/programs-card.json +0 -254
  574. package/templates/podcast-creator/recipes/programs-carousel.json +0 -234
  575. package/templates/podcast-creator/recipes/programs-filters.json +0 -94
  576. package/templates/podcast-creator/recipes/programs-participant-carousel.json +0 -257
  577. package/templates/podcast-creator/recipes/programs-see-all.json +0 -43
  578. package/templates/podcast-creator/recipes/section-error.json +0 -58
  579. package/templates/podcast-creator/tier5-src/_shared/announcement-section.ts +0 -122
  580. package/templates/podcast-creator/tier5-src/_shared/blog-list.ts +0 -207
  581. package/templates/podcast-creator/tier5-src/_shared/events-card.ts +0 -33
  582. package/templates/podcast-creator/tier5-src/_shared/events-inline-options.ts +0 -25
  583. package/templates/podcast-creator/tier5-src/_shared/events-inline.ts +0 -84
  584. package/templates/podcast-creator/tier5-src/_shared/faq-list.ts +0 -405
  585. package/templates/podcast-creator/tier5-src/_shared/groups-section.ts +0 -110
  586. package/templates/podcast-creator/tier5-src/_shared/member-activity.ts +0 -34
  587. package/templates/podcast-creator/tier5-src/_shared/member-row-extras.ts +0 -175
  588. package/templates/podcast-creator/tier5-src/_shared/members-directory-view.ts +0 -39
  589. package/templates/podcast-creator/tier5-src/_shared/members-directory.ts +0 -271
  590. package/templates/podcast-creator/tier5-src/_shared/plan-facts.ts +0 -87
  591. package/templates/podcast-creator/tier5-src/_shared/plans-section.ts +0 -106
  592. package/templates/podcast-creator/tier5-src/_shared/products-section.ts +0 -76
  593. package/templates/podcast-creator/tier5-src/_shared/program-fields.ts +0 -16
  594. package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +0 -740
  595. package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +0 -21
  596. package/templates/portfolio-creative/recipes/announcement-card.json +0 -72
  597. package/templates/portfolio-creative/recipes/blog-hero.json +0 -95
  598. package/templates/portfolio-creative/recipes/blog-list-thumb-start.json +0 -394
  599. package/templates/portfolio-creative/recipes/blog-list.json +0 -394
  600. package/templates/portfolio-creative/recipes/blog-see-all.json +0 -50
  601. package/templates/portfolio-creative/recipes/events-inline-list.json +0 -228
  602. package/templates/portfolio-creative/recipes/events-inline.json +0 -309
  603. package/templates/portfolio-creative/recipes/faq-list.json +0 -503
  604. package/templates/portfolio-creative/recipes/groups-list.json +0 -196
  605. package/templates/portfolio-creative/recipes/members-list.json +0 -445
  606. package/templates/portfolio-creative/recipes/plans-card.json +0 -811
  607. package/templates/portfolio-creative/recipes/products-carousel.json +0 -141
  608. package/templates/portfolio-creative/recipes/products-grid.json +0 -143
  609. package/templates/portfolio-creative/recipes/programs-card.json +0 -254
  610. package/templates/portfolio-creative/recipes/programs-carousel.json +0 -234
  611. package/templates/portfolio-creative/recipes/programs-filters.json +0 -94
  612. package/templates/portfolio-creative/recipes/programs-participant-carousel.json +0 -257
  613. package/templates/portfolio-creative/recipes/programs-see-all.json +0 -43
  614. package/templates/portfolio-creative/recipes/section-error.json +0 -58
  615. package/templates/portfolio-creative/tier5-src/_shared/announcement-section.ts +0 -122
  616. package/templates/portfolio-creative/tier5-src/_shared/blog-list.ts +0 -207
  617. package/templates/portfolio-creative/tier5-src/_shared/events-card.ts +0 -33
  618. package/templates/portfolio-creative/tier5-src/_shared/events-inline-options.ts +0 -25
  619. package/templates/portfolio-creative/tier5-src/_shared/events-inline.ts +0 -84
  620. package/templates/portfolio-creative/tier5-src/_shared/faq-list.ts +0 -405
  621. package/templates/portfolio-creative/tier5-src/_shared/groups-section.ts +0 -110
  622. package/templates/portfolio-creative/tier5-src/_shared/member-activity.ts +0 -34
  623. package/templates/portfolio-creative/tier5-src/_shared/member-row-extras.ts +0 -175
  624. package/templates/portfolio-creative/tier5-src/_shared/members-directory-view.ts +0 -39
  625. package/templates/portfolio-creative/tier5-src/_shared/members-directory.ts +0 -271
  626. package/templates/portfolio-creative/tier5-src/_shared/plan-facts.ts +0 -87
  627. package/templates/portfolio-creative/tier5-src/_shared/plans-section.ts +0 -106
  628. package/templates/portfolio-creative/tier5-src/_shared/products-section.ts +0 -76
  629. package/templates/portfolio-creative/tier5-src/_shared/program-fields.ts +0 -16
  630. package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +0 -740
  631. package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +0 -21
  632. package/templates/restaurant/recipes/announcement-card.json +0 -72
  633. package/templates/restaurant/recipes/blog-hero.json +0 -95
  634. package/templates/restaurant/recipes/blog-list-thumb-start.json +0 -394
  635. package/templates/restaurant/recipes/blog-list.json +0 -394
  636. package/templates/restaurant/recipes/blog-see-all.json +0 -50
  637. package/templates/restaurant/recipes/events-inline-list.json +0 -228
  638. package/templates/restaurant/recipes/events-inline.json +0 -309
  639. package/templates/restaurant/recipes/faq-list.json +0 -503
  640. package/templates/restaurant/recipes/groups-list.json +0 -196
  641. package/templates/restaurant/recipes/members-list.json +0 -445
  642. package/templates/restaurant/recipes/plans-card.json +0 -811
  643. package/templates/restaurant/recipes/products-carousel.json +0 -141
  644. package/templates/restaurant/recipes/products-grid.json +0 -143
  645. package/templates/restaurant/recipes/programs-card.json +0 -254
  646. package/templates/restaurant/recipes/programs-carousel.json +0 -234
  647. package/templates/restaurant/recipes/programs-filters.json +0 -94
  648. package/templates/restaurant/recipes/programs-participant-carousel.json +0 -257
  649. package/templates/restaurant/recipes/programs-see-all.json +0 -43
  650. package/templates/restaurant/recipes/section-error.json +0 -58
  651. package/templates/restaurant/tier5-src/_shared/announcement-section.ts +0 -122
  652. package/templates/restaurant/tier5-src/_shared/blog-list.ts +0 -207
  653. package/templates/restaurant/tier5-src/_shared/events-card.ts +0 -33
  654. package/templates/restaurant/tier5-src/_shared/events-inline-options.ts +0 -25
  655. package/templates/restaurant/tier5-src/_shared/events-inline.ts +0 -84
  656. package/templates/restaurant/tier5-src/_shared/faq-list.ts +0 -405
  657. package/templates/restaurant/tier5-src/_shared/groups-section.ts +0 -110
  658. package/templates/restaurant/tier5-src/_shared/member-activity.ts +0 -34
  659. package/templates/restaurant/tier5-src/_shared/member-row-extras.ts +0 -175
  660. package/templates/restaurant/tier5-src/_shared/members-directory-view.ts +0 -39
  661. package/templates/restaurant/tier5-src/_shared/members-directory.ts +0 -271
  662. package/templates/restaurant/tier5-src/_shared/plan-facts.ts +0 -87
  663. package/templates/restaurant/tier5-src/_shared/plans-section.ts +0 -106
  664. package/templates/restaurant/tier5-src/_shared/products-section.ts +0 -76
  665. package/templates/restaurant/tier5-src/_shared/program-fields.ts +0 -16
  666. package/templates/restaurant/tier5-src/_shared/programs-section.ts +0 -740
  667. package/templates/restaurant/tier5-src/_shared/relative-time.ts +0 -21
  668. package/templates/retail-store/recipes/announcement-card.json +0 -72
  669. package/templates/retail-store/recipes/blog-hero.json +0 -95
  670. package/templates/retail-store/recipes/blog-list-thumb-start.json +0 -394
  671. package/templates/retail-store/recipes/blog-list.json +0 -394
  672. package/templates/retail-store/recipes/blog-see-all.json +0 -50
  673. package/templates/retail-store/recipes/events-inline-list.json +0 -228
  674. package/templates/retail-store/recipes/events-inline.json +0 -309
  675. package/templates/retail-store/recipes/faq-list.json +0 -503
  676. package/templates/retail-store/recipes/groups-list.json +0 -196
  677. package/templates/retail-store/recipes/members-list.json +0 -445
  678. package/templates/retail-store/recipes/plans-card.json +0 -811
  679. package/templates/retail-store/recipes/products-carousel.json +0 -141
  680. package/templates/retail-store/recipes/products-grid.json +0 -143
  681. package/templates/retail-store/recipes/programs-card.json +0 -254
  682. package/templates/retail-store/recipes/programs-carousel.json +0 -234
  683. package/templates/retail-store/recipes/programs-filters.json +0 -94
  684. package/templates/retail-store/recipes/programs-participant-carousel.json +0 -257
  685. package/templates/retail-store/recipes/programs-see-all.json +0 -43
  686. package/templates/retail-store/recipes/section-error.json +0 -58
  687. package/templates/retail-store/tier5-src/_shared/announcement-section.ts +0 -122
  688. package/templates/retail-store/tier5-src/_shared/blog-list.ts +0 -207
  689. package/templates/retail-store/tier5-src/_shared/event-registration.ts +0 -86
  690. package/templates/retail-store/tier5-src/_shared/events-card.ts +0 -33
  691. package/templates/retail-store/tier5-src/_shared/events-inline-options.ts +0 -25
  692. package/templates/retail-store/tier5-src/_shared/events-inline.ts +0 -84
  693. package/templates/retail-store/tier5-src/_shared/faq-list.ts +0 -405
  694. package/templates/retail-store/tier5-src/_shared/groups-section.ts +0 -110
  695. package/templates/retail-store/tier5-src/_shared/member-activity.ts +0 -34
  696. package/templates/retail-store/tier5-src/_shared/member-row-extras.ts +0 -175
  697. package/templates/retail-store/tier5-src/_shared/members-directory-view.ts +0 -39
  698. package/templates/retail-store/tier5-src/_shared/members-directory.ts +0 -271
  699. package/templates/retail-store/tier5-src/_shared/plan-facts.ts +0 -87
  700. package/templates/retail-store/tier5-src/_shared/plans-section.ts +0 -106
  701. package/templates/retail-store/tier5-src/_shared/products-section.ts +0 -76
  702. package/templates/retail-store/tier5-src/_shared/program-fields.ts +0 -16
  703. package/templates/retail-store/tier5-src/_shared/programs-section.ts +0 -740
  704. package/templates/retail-store/tier5-src/_shared/relative-time.ts +0 -21
  705. package/templates/yoga-studio/recipes/announcement-card.json +0 -72
  706. package/templates/yoga-studio/recipes/blog-hero.json +0 -95
  707. package/templates/yoga-studio/recipes/blog-list-thumb-start.json +0 -394
  708. package/templates/yoga-studio/recipes/blog-list.json +0 -394
  709. package/templates/yoga-studio/recipes/blog-see-all.json +0 -50
  710. package/templates/yoga-studio/recipes/events-inline-list.json +0 -228
  711. package/templates/yoga-studio/recipes/events-inline.json +0 -309
  712. package/templates/yoga-studio/recipes/faq-list.json +0 -503
  713. package/templates/yoga-studio/recipes/groups-list.json +0 -196
  714. package/templates/yoga-studio/recipes/members-list.json +0 -445
  715. package/templates/yoga-studio/recipes/plans-card.json +0 -811
  716. package/templates/yoga-studio/recipes/products-carousel.json +0 -141
  717. package/templates/yoga-studio/recipes/products-grid.json +0 -143
  718. package/templates/yoga-studio/recipes/programs-card.json +0 -254
  719. package/templates/yoga-studio/recipes/programs-carousel.json +0 -234
  720. package/templates/yoga-studio/recipes/programs-filters.json +0 -94
  721. package/templates/yoga-studio/recipes/programs-participant-carousel.json +0 -257
  722. package/templates/yoga-studio/recipes/programs-see-all.json +0 -43
  723. package/templates/yoga-studio/recipes/section-error.json +0 -58
  724. package/templates/yoga-studio/tier5-src/_shared/announcement-section.ts +0 -122
  725. package/templates/yoga-studio/tier5-src/_shared/blog-list.ts +0 -207
  726. package/templates/yoga-studio/tier5-src/_shared/events-card.ts +0 -33
  727. package/templates/yoga-studio/tier5-src/_shared/events-inline-options.ts +0 -25
  728. package/templates/yoga-studio/tier5-src/_shared/events-inline.ts +0 -84
  729. package/templates/yoga-studio/tier5-src/_shared/faq-list.ts +0 -405
  730. package/templates/yoga-studio/tier5-src/_shared/groups-section.ts +0 -110
  731. package/templates/yoga-studio/tier5-src/_shared/member-activity.ts +0 -34
  732. package/templates/yoga-studio/tier5-src/_shared/member-row-extras.ts +0 -175
  733. package/templates/yoga-studio/tier5-src/_shared/members-directory-view.ts +0 -39
  734. package/templates/yoga-studio/tier5-src/_shared/members-directory.ts +0 -271
  735. package/templates/yoga-studio/tier5-src/_shared/plan-facts.ts +0 -87
  736. package/templates/yoga-studio/tier5-src/_shared/plans-section.ts +0 -106
  737. package/templates/yoga-studio/tier5-src/_shared/products-section.ts +0 -76
  738. package/templates/yoga-studio/tier5-src/_shared/program-fields.ts +0 -16
  739. package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +0 -740
  740. package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +0 -21
  741. /package/templates/{community-club → brandy}/tier5-src/_shared/detail-presence.ts +0 -0
@@ -0,0 +1,523 @@
1
+ // ECMA-402 is NOT part of the Tier-5 floor. Measured across the engines we actually ship
2
+ // (engine-parity runners, #1367):
3
+ //
4
+ // engine typeof Intl
5
+ // V8 (web, Android WebView) object
6
+ // JSC (iOS, macOS) object
7
+ // QuickJS-ng (watchOS, Wear OS) **undefined**
8
+ //
9
+ // The wrist engine has no ECMA-402 at all — `grep -c Intl quickjs.c` → 0, and its maintainer
10
+ // ruled ICU out as too large (quickjs-ng#467). RFC 0051's per-surface projection does NOT subset
11
+ // destinations: a watch keeps every screen the phone has and only REMAPS which one an entry
12
+ // opens. So any screen in a watch/Wear-enabled app can execute on QuickJS, and a bare `Intl.*`
13
+ // there is a `ReferenceError`.
14
+ //
15
+ // That is not hypothetical. `himi-branded-lite-order.formatDate` called `new Intl.DateTimeFormat`
16
+ // unguarded and with no try/catch, which KILLS the screen on the wrist rather than degrading it.
17
+ // `himi-events-detail` had the softer version — a guarded `Intl.NumberFormat` whose catch left a
18
+ // ticket price rendering "25" where the phone shows "$25", i.e. a price that reads as a quantity.
19
+ //
20
+ // These helpers are the sanctioned way to format across the whole fleet: real ECMA-402 where it
21
+ // exists, a deterministic en-US-shaped fallback where it does not, and never a throw.
22
+
23
+ import { appLocale } from "./app-locale.js";
24
+
25
+ /** Is ECMA-402 actually present in THIS engine? Cheap, and safe in a realm without `Intl`. */
26
+ export function hasIntl(): boolean {
27
+ return typeof Intl !== "undefined";
28
+ }
29
+
30
+ const MONTHS_SHORT = [
31
+ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
32
+ ] as const;
33
+
34
+ function pad2(n: number): string {
35
+ return n < 10 ? `0${n}` : `${n}`;
36
+ }
37
+
38
+ /** `h:mm AM/PM`, matching what `timeStyle: "short"` renders for en-US. */
39
+ function clock12(d: Date): string {
40
+ const h = d.getHours();
41
+ const suffix = h < 12 ? "AM" : "PM";
42
+ const hour = h % 12 === 0 ? 12 : h % 12;
43
+ return `${hour}:${pad2(d.getMinutes())} ${suffix}`;
44
+ }
45
+
46
+ const WEEKDAYS_SHORT = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"] as const;
47
+
48
+ const MONTHS_LONG = [
49
+ "January", "February", "March", "April", "May", "June",
50
+ "July", "August", "September", "October", "November", "December",
51
+ ] as const;
52
+
53
+ /**
54
+ * A DateTimeFormat for `timeZone` when one is given and this engine knows it. An unknown or
55
+ * malformed IANA id is a RangeError in ECMA-402; these helpers never throw, so it degrades to
56
+ * the device zone rather than killing the screen. Without Intl there is no zone database at all,
57
+ * and the fallbacks below render in the device zone for the same reason.
58
+ *
59
+ * Formatters are memoised per (locale, zone, options): a management page formats several dates
60
+ * per row, and building a DateTimeFormat (or throwing on a bad zone) each time is not free on
61
+ * JSC or QuickJS. Only call it where `hasIntl()` holds — every caller does.
62
+ */
63
+ const FORMATTERS = new Map<string, Intl.DateTimeFormat>();
64
+ function dateFormat(locale: string, options: Intl.DateTimeFormatOptions, timeZone?: string): Intl.DateTimeFormat {
65
+ const key = `${locale}|${timeZone ?? ""}|${JSON.stringify(options)}`;
66
+ let formatter = FORMATTERS.get(key);
67
+ if (!formatter) {
68
+ if (hasIntl()) {
69
+ if (timeZone) {
70
+ try {
71
+ formatter = new Intl.DateTimeFormat(locale, { ...options, timeZone });
72
+ } catch {
73
+ /* unknown zone: device zone below, remembered under this key */
74
+ }
75
+ }
76
+ formatter ??= new Intl.DateTimeFormat(locale, options);
77
+ FORMATTERS.set(key, formatter);
78
+ }
79
+ }
80
+ return formatter as Intl.DateTimeFormat;
81
+ }
82
+
83
+ // The four shapes below are not invented — they are the option bags this corpus actually uses,
84
+ // counted across every bundle: "Jan 5, 2026" (33 sites), "Jan 5" (11), "Mon, Jan 5, 3:07 PM" (8)
85
+ // and "Jan 5, 3:07 PM" (4). Naming them means a conversion is a one-line swap rather than a
86
+ // judgement call about which fallback is close enough, and every one is diffed against real
87
+ // ECMA-402 in engine-intl-fallback.test.ts.
88
+
89
+ /** `{ month: "short", day: "numeric", year: "numeric" }` — "Jan 5, 2026". */
90
+ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: string): string {
91
+ if (hasIntl()) {
92
+ return dateFormat(locale, { month: "short", day: "numeric", year: "numeric" }, timeZone).format(date);
93
+ }
94
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
+ }
96
+
97
+ /** `{ month: "short", year: "numeric" }` — "Jul 2026", without parsing a localized day.
98
+ * Like the other date helpers, an engine without Intl keeps the documented en-US fallback. */
99
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
100
+ if (hasIntl()) return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
102
+ }
103
+
104
+ /** `{ month: "short", day: "numeric" }` — "Jan 5". */
105
+ export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
106
+ if (hasIntl()) {
107
+ return dateFormat(locale, { month: "short", day: "numeric" }, timeZone).format(date);
108
+ }
109
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}`;
110
+ }
111
+
112
+ /** `{ month: "long", day: "numeric" }` — "January 5". */
113
+ export function formatMonthDayLong(date: Date, locale = appLocale(), timeZone?: string): string {
114
+ if (hasIntl()) {
115
+ return dateFormat(locale, { month: "long", day: "numeric" }, timeZone).format(date);
116
+ }
117
+ return `${MONTHS_LONG[date.getMonth()]} ${date.getDate()}`;
118
+ }
119
+
120
+ const WEEKDAYS_LONG = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] as const;
121
+
122
+ /** `{ weekday: "short", month: "short", day: "numeric" }` — "Mon, Jan 5". */
123
+ export function formatWeekdayMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
124
+ if (hasIntl()) {
125
+ return dateFormat(locale, { weekday: "short", month: "short", day: "numeric" }, timeZone).format(date);
126
+ }
127
+ return `${WEEKDAYS_SHORT[date.getDay()]}, ${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}`;
128
+ }
129
+
130
+ /** `{ weekday: "long", month: "long", day: "numeric" }` — "Monday, January 5". */
131
+ export function formatWeekdayMonthDayLong(date: Date, locale = appLocale(), timeZone?: string): string {
132
+ if (hasIntl()) {
133
+ return dateFormat(locale, { weekday: "long", month: "long", day: "numeric" }, timeZone).format(date);
134
+ }
135
+ return `${WEEKDAYS_LONG[date.getDay()]}, ${MONTHS_LONG[date.getMonth()]} ${date.getDate()}`;
136
+ }
137
+
138
+ /** `{ weekday: "short", month: "short", day: "numeric", hour: "numeric", minute: "2-digit" }`
139
+ * — "Mon, Jan 5, 3:07 PM". */
140
+ export function formatWeekdayDateTime(date: Date, locale = appLocale(), timeZone?: string): string {
141
+ if (hasIntl()) {
142
+ return dateFormat(locale, {
143
+ weekday: "short", month: "short", day: "numeric", hour: "numeric", minute: "2-digit",
144
+ }, timeZone).format(date);
145
+ }
146
+ return `${WEEKDAYS_SHORT[date.getDay()]}, ${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${clock12(date)}`;
147
+ }
148
+
149
+ /** `{ month: "short", day: "numeric", hour: "numeric", minute: "2-digit" }` — "Jan 5, 3:07 PM". */
150
+ export function formatMonthDayTime(date: Date, locale = appLocale(), timeZone?: string): string {
151
+ if (hasIntl()) {
152
+ return dateFormat(locale, {
153
+ month: "short", day: "numeric", hour: "numeric", minute: "2-digit",
154
+ }, timeZone).format(date);
155
+ }
156
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${clock12(date)}`;
157
+ }
158
+
159
+ /**
160
+ * `dateStyle: "medium", timeStyle: "short"` — "Jan 5, 2026, 3:07 PM".
161
+ * Falls back to the same SHAPE (not a different one) so a screen does not visibly change
162
+ * character between a phone and a watch.
163
+ */
164
+ export function formatDateTimeMedium(date: Date, locale = appLocale()): string {
165
+ if (hasIntl()) {
166
+ return new Intl.DateTimeFormat(locale, { dateStyle: "medium", timeStyle: "short" }).format(date);
167
+ }
168
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}, ${clock12(date)}`;
169
+ }
170
+
171
+ /**
172
+ * Currency, e.g. "$25.00". The fallback covers the symbol-prefix currencies these apps actually
173
+ * use and degrades to "CODE amount" for anything else — deliberately NOT a bare number, because
174
+ * that is the exact defect this exists to prevent (a price rendering as a quantity).
175
+ */
176
+ const CURRENCY_SYMBOL: Record<string, string> = {
177
+ USD: "$", EUR: "€", GBP: "£", ILS: "₪", JPY: "¥", CAD: "CA$", AUD: "A$",
178
+ };
179
+
180
+ /**
181
+ * ISO 4217 minor units, for the currencies that are NOT the default 2.
182
+ *
183
+ * Without this the fallback rendered every non-JPY currency with 2 decimals while Intl used the
184
+ * currency's natural precision — so a Bahraini price was "BHD 25.00" on the wrist and
185
+ * "BHD 25.000" on the phone. Formatting money differently per engine is the exact defect this
186
+ * helper exists to prevent, so the table is part of the contract, not a nicety.
187
+ */
188
+ const CURRENCY_DIGITS: Record<string, number> = {
189
+ // Zero-decimal
190
+ BIF: 0, CLP: 0, DJF: 0, GNF: 0, ISK: 0, JPY: 0, KMF: 0, KRW: 0, PYG: 0, RWF: 0,
191
+ UGX: 0, UYI: 0, VND: 0, VUV: 0, XAF: 0, XOF: 0, XPF: 0,
192
+ // Three-decimal
193
+ BHD: 3, IQD: 3, JOD: 3, KWD: 3, LYD: 3, OMR: 3, TND: 3,
194
+ // Four-decimal
195
+ CLF: 4, UYW: 4,
196
+ };
197
+
198
+ export function formatCurrency(
199
+ amount: number,
200
+ currency = "USD",
201
+ locale = appLocale(),
202
+ /** Omit for the currency's natural digits. Pass 0 to render a whole amount as "$25" rather
203
+ * than "$25.00" — Intl clamps the minimum down to match, so max<min does not throw here. */
204
+ maximumFractionDigits?: number,
205
+ ): string {
206
+ if (!Number.isFinite(amount)) return "";
207
+ if (hasIntl()) {
208
+ // The Intl branch CAN throw: `new Intl.NumberFormat(…, { currency })` raises a RangeError for
209
+ // any code that is not three letters ("US", "12", ""), and a currency arriving from payload
210
+ // data is exactly where that happens. This helper replaced call sites that had their own
211
+ // try/catch (himi-events-detail's tierPrice returned the raw amount), so without this the
212
+ // refactor would have REMOVED a safety net and turned a degraded price into a dead service on
213
+ // web, iOS and Android alike — worse than the wrist bug it was written to fix.
214
+ //
215
+ // Falling through to the fallback rather than rethrowing also degrades better than the code
216
+ // it replaced: that returned a bare number, this still carries the currency code.
217
+ try {
218
+ return new Intl.NumberFormat(locale, {
219
+ style: "currency",
220
+ currency,
221
+ ...(maximumFractionDigits != null ? { maximumFractionDigits } : {}),
222
+ }).format(amount);
223
+ } catch { /* malformed currency — use the engine-independent path below */ }
224
+ }
225
+ // A blank/whitespace currency would otherwise produce " 25.00" — a bare number, which is the
226
+ // very defect this helper exists to prevent. Fall back to the documented default rather than
227
+ // emitting an unlabelled amount. (Found by the "never a bare number" assertion, not by reading.)
228
+ const code = (currency || "").trim().toUpperCase() || "USD";
229
+ const symbol = CURRENCY_SYMBOL[code];
230
+ // The sign goes OUTSIDE the symbol: ECMA-402 renders -42.5 USD as "-$42.50", not "$-42.50".
231
+ // Caught by diffing this fallback against Intl rather than by reading it.
232
+ const sign = amount < 0 ? "-" : "";
233
+ const abs = Math.abs(amount);
234
+ const digits = maximumFractionDigits ?? CURRENCY_DIGITS[code] ?? 2;
235
+ const raw = abs.toFixed(digits);
236
+ // Same trap as formatNumber: `toFixed` goes EXPONENTIAL at >=1e21, and groupThousands would
237
+ // then comma up the exponent ("1e,+21"). No real price is that large, but emitting garbage is
238
+ // never the right answer to an unexpected input.
239
+ const fixed = raw.includes("e") || raw.includes("E") ? String(abs) : groupThousands(raw);
240
+ return symbol ? `${sign}${symbol}${fixed}` : `${sign}${code} ${fixed}`;
241
+ }
242
+
243
+ /** "1234567.89" → "1,234,567.89". `toLocaleString` cannot be used: on QuickJS it silently
244
+ * returns the UNGROUPED string rather than throwing, which is why the wrist showed "1234.5"
245
+ * where every other engine showed "1,234.5". */
246
+ function groupThousands(fixed: string): string {
247
+ const [whole, frac] = fixed.split(".");
248
+ const sign = whole.startsWith("-") ? "-" : "";
249
+ const digits = sign ? whole.slice(1) : whole;
250
+ let out = "";
251
+ for (let i = 0; i < digits.length; i++) {
252
+ if (i > 0 && (digits.length - i) % 3 === 0) out += ",";
253
+ out += digits[i];
254
+ }
255
+ return frac ? `${sign}${out}.${frac}` : `${sign}${out}`;
256
+ }
257
+
258
+ /**
259
+ * Plain grouped number, e.g. "1,234.5".
260
+ *
261
+ * Two things the first cut of this got wrong, both found by diffing against Intl over values
262
+ * chosen to be AWKWARD rather than tidy:
263
+ *
264
+ * • `Intl.NumberFormat` defaults to `maximumFractionDigits: 3`. Feeding it `2/3` gives
265
+ * "0.667"; a fallback built on `String(value)` gave "0.6666666666666666".
266
+ * • `String(value)` is EXPONENTIAL outside ~1e21 / 1e-7, and the grouping loop below happily
267
+ * inserted commas into the exponent — `1e21` came out as "1e,+21" and `1e-7` as "1,e-7".
268
+ * Garbage, and silently so, because nothing in the corpus's tidy test numbers reached it.
269
+ */
270
+ export function formatNumber(value: number, locale = appLocale()): string {
271
+ if (!Number.isFinite(value)) return "";
272
+ if (hasIntl()) return new Intl.NumberFormat(locale).format(value);
273
+ // `toFixed` itself returns exponential notation at >=1e21, so anything that big keeps the
274
+ // plain JS form rather than being mangled. Intl would expand it in full; a number that large
275
+ // is not a price or a count, and an honest "1e+21" beats a wrong "1e,+21".
276
+ const fixed = value.toFixed(3);
277
+ if (fixed.includes("e") || fixed.includes("E")) return String(value);
278
+ // Trailing zeros go, so an integer stays "1,000" instead of "1,000.000".
279
+ const trimmed = fixed.includes(".") ? fixed.replace(/0+$/, "").replace(/\.$/, "") : fixed;
280
+ return groupThousands(trimmed);
281
+ }
282
+
283
+ /** Strip combining marks so "Ändern" folds to "andern". `String.prototype.normalize` is
284
+ * ECMA-262, NOT ECMA-402 — which is exactly why it is usable here: it exists on the engine that
285
+ * has no `Intl`. The range is the Unicode combining-diacritical block, written as an explicit
286
+ * range rather than a `\p{M}` property escape so no engine needs RegExp property support. */
287
+ function foldDiacritics(s: string): string {
288
+ try {
289
+ return s.normalize("NFD").replace(/[̀-ͯ]/g, "");
290
+ } catch {
291
+ return s; // no normalize (should not happen) — degrade to the un-folded form
292
+ }
293
+ }
294
+
295
+ /**
296
+ * Locale-aware string ordering for SORTS.
297
+ *
298
+ * `localeCompare` is the trap here, because it does not throw where ECMA-402 is missing — it
299
+ * silently falls back to codepoint order. Measured on the engines we ship, that is not a subtle
300
+ * difference: for a realistic product list the wrist produced
301
+ *
302
+ * Banana, Zoë, andern, apple, cherry, Ändern, Über, éclair ← raw codepoint (QuickJS-ng)
303
+ * andern, Ändern, apple, Banana, cherry, éclair, Über, Zoë ← ICU (V8/JSC)
304
+ *
305
+ * i.e. a list that looks shuffled rather than sorted, with no error anywhere to explain it.
306
+ *
307
+ * The phone path is UNCHANGED — it is still `Intl.Collator`, so nothing about existing ordering
308
+ * moves. Only the engine that lacked ECMA-402 changes, and it changes from codepoint order to a
309
+ * case-folded, diacritic-folded comparison that agreed with ICU on 576/576 pairs of the probe
310
+ * corpus (accents included). This is deliberately NOT "pick one algorithm for every engine":
311
+ * that framing would have traded a wrist bug for a phone regression, and it is unnecessary.
312
+ */
313
+ export function compareText(a: string, b: string, locale = "en"): number {
314
+ if (hasIntl()) return new Intl.Collator(locale).compare(a, b);
315
+ const fa = foldDiacritics(a.toLowerCase());
316
+ const fb = foldDiacritics(b.toLowerCase());
317
+ if (fa < fb) return -1;
318
+ if (fa > fb) return 1;
319
+ // Same letters ignoring case and accents — fall back through the finer distinctions so the
320
+ // order is TOTAL (a comparator that returns 0 for distinct strings makes a sort unstable).
321
+ const ca = a.toLowerCase(), cb = b.toLowerCase();
322
+ if (ca < cb) return -1;
323
+ if (ca > cb) return 1;
324
+ if (a === b) return 0;
325
+ // en-US collation puts lowercase before uppercase for the same letter, which is the OPPOSITE
326
+ // of codepoint order — hence the inversion rather than a plain comparison.
327
+ return a > b ? -1 : 1;
328
+ }
329
+
330
+ /**
331
+ * Ordering for machine timestamps (ISO-8601, RFC-3339) and other fixed-format ASCII keys.
332
+ *
333
+ * Exists to keep `localeCompare` away from them. Sorting `"2026-01-05T15:07:00Z"` through a
334
+ * COLLATOR is the wrong tool — collation carries locale rules a timestamp has no use for, and on
335
+ * an engine without ECMA-402 it silently becomes codepoint order anyway. Measured: for ISO
336
+ * strings, plain comparison and `localeCompare` agree on 36/36 pairs, so this is a no-op on
337
+ * every engine AND removes the engine-variance question entirely.
338
+ */
339
+ export function compareIso(a: string, b: string): number {
340
+ return a < b ? -1 : a > b ? 1 : 0;
341
+ }
342
+
343
+ const MONTH_INDEX: Record<string, number> = {
344
+ jan: 0, feb: 1, mar: 2, apr: 3, may: 4, jun: 5,
345
+ jul: 6, aug: 7, sep: 8, oct: 9, nov: 10, dec: 11,
346
+ };
347
+
348
+ /**
349
+ * Epoch-ms for a date string that may be ISO-8601 **or** RFC-822/2822 ("Sun, 02 Aug 2026"), the
350
+ * shape RSS feeds use. `NaN` when it is neither.
351
+ *
352
+ * Hand-parsed rather than handed to `Date.parse` because `Date.parse` is only SPECIFIED for the
353
+ * ISO format — everything else is implementation-defined, which is precisely the kind of
354
+ * per-engine variance this module exists to remove.
355
+ */
356
+ export function parseDateish(value: string): number {
357
+ if (!value) return NaN;
358
+ // ISO / RFC-3339 — `Date` parses this by spec on every engine.
359
+ if (/^\d{4}-\d{2}-\d{2}/.test(value)) return new Date(value).getTime();
360
+ // RFC-822/2822: "[Ddd, ]DD Mon YYYY[ HH:MM[:SS]]"
361
+ const m = value.match(/(\d{1,2})\s+([A-Za-z]{3})[a-z]*\s+(\d{4})(?:\s+(\d{2}):(\d{2})(?::(\d{2}))?)?/);
362
+ if (!m) return NaN;
363
+ const month = MONTH_INDEX[m[2].toLowerCase()];
364
+ if (month === undefined) return NaN;
365
+ return Date.UTC(Number(m[3]), month, Number(m[1]), Number(m[4] ?? 0), Number(m[5] ?? 0), Number(m[6] ?? 0));
366
+ }
367
+
368
+ /**
369
+ * Chronological ordering for date strings — ASCENDING (oldest first); negate for newest-first.
370
+ *
371
+ * This exists because comparing RFC-822 dates as STRINGS sorts by weekday name. Measured on the
372
+ * podcast corpus, a "latest episodes" list built that way rendered
373
+ *
374
+ * Wed, 01 Jan 2025 ← shown FIRST
375
+ * Tue, 21 Jul 2026
376
+ * …
377
+ * Fri, 15 Aug 2026 ← the newest episode, shown LAST
378
+ *
379
+ * and it was wrong on EVERY engine, not just the one missing ECMA-402 — a plain product bug that
380
+ * the engine work happened to surface. Unparseable values sort last rather than throwing, so one
381
+ * malformed feed entry cannot take the screen down.
382
+ */
383
+ export function compareDate(a: string, b: string): number {
384
+ const ta = parseDateish(a);
385
+ const tb = parseDateish(b);
386
+ const aBad = Number.isNaN(ta);
387
+ const bBad = Number.isNaN(tb);
388
+ if (aBad && bBad) return compareIso(a, b); // both unparseable — arbitrary but TOTAL
389
+ if (aBad) return 1;
390
+ if (bBad) return -1;
391
+ return ta - tb;
392
+ }
393
+
394
+ /**
395
+ * Newest-first, which is what every call site here actually wants.
396
+ *
397
+ * A separate function rather than asking callers to write `-compareDate(a, b)`, because negating
398
+ * also flips the unparseable-values-last rule to unparseable-values-FIRST — a malformed feed entry
399
+ * would head the "latest episodes" list. My own test caught that on the negation idiom, which is
400
+ * exactly the footgun worth deleting rather than documenting.
401
+ */
402
+ export function compareDateDesc(a: string, b: string): number {
403
+ const ta = parseDateish(a);
404
+ const tb = parseDateish(b);
405
+ const aBad = Number.isNaN(ta);
406
+ const bBad = Number.isNaN(tb);
407
+ if (aBad && bBad) return compareIso(a, b);
408
+ if (aBad) return 1; // unparseable stays LAST in this direction too
409
+ if (bBad) return -1;
410
+ return tb - ta;
411
+ }
412
+
413
+ // --- [branded-lite-qa] #3079: one pattern per fact ---------------------------------------
414
+ //
415
+ // Before these existed, four screens formatted the same money four ways — Shop "69.00 ₪" (Wix's
416
+ // pre-formatted string), Services "₪70" (0 decimals), Menu "₪32.00", Plans "$24" — and two
417
+ // screens formatted the same clock two ways (Events "9:00 PM-11:00 PM", Reserve "20:00").
418
+ // Customers read that as sloppiness, and a whole "₪70" beside "₪69.50" reads as a different
419
+ // kind of number. So: one money pattern, one clock, one range.
420
+
421
+ // Money uses `formatCurrency(amount, currency)` — English unless the app pins another language, see app-locale — the currency's NATURAL decimals
422
+ // ("₪70.00", "¥500") — for Shop, Menu and every other price. The one exception is a Bookings
423
+ // SERVICE price (`_shared/wix-service-price.ts`): it drops the cents of a whole amount ("₪70",
424
+ // "₪69.50"), the format the redesigned service screen and services list were approved with. It
425
+ // must read the same on every screen that shows a service (the list, the service screen, the
426
+ // time screen, Home, the agenda); do not put those back on natural decimals one screen at a time.
427
+
428
+ const KNOWN_SYMBOLS = new Set(Object.values(CURRENCY_SYMBOL));
429
+
430
+ /** Wix hands some prices over PRE-formatted in the site's regional style — "69.00 ₪" with the
431
+ * symbol trailing, often wrapped in bidi marks. Reorder those to the house pattern ("₪69.00") so
432
+ * they match every price we format ourselves. Only an en-shaped number ("69.00", "1,234.50") with
433
+ * a known trailing symbol is reordered: a comma-decimal or space-grouped string ("69,00 €",
434
+ * "1 234,56 €") is kept as Wix wrote it, because half-converting it would be worse. Anything else
435
+ * ("Market price") is returned trimmed. The store SDK's product price applies the same rule. */
436
+ export function normalizeFormattedPrice(formatted: string): string {
437
+ const raw = (formatted || "").replace(/[‎‏]/g, "").trim();
438
+ const m = /^(-?)(\d{1,3}(?:,\d{3})*(?:\.\d+)?|\d+(?:\.\d+)?)[\s  ]*(\S+)$/.exec(raw);
439
+ if (!m || !KNOWN_SYMBOLS.has(m[3])) return raw;
440
+ return `${m[1]}${m[3]}${m[2]}`;
441
+ }
442
+
443
+ function clockParts(d: Date, locale: string, timeZone?: string): { time: string; meridiem: string } {
444
+ const full = hasIntl()
445
+ ? dateFormat(locale, { hour: "numeric", minute: "2-digit", hour12: true }, timeZone).format(d)
446
+ : clock12(d);
447
+ // ICU puts a narrow no-break space before the meridiem; normalize so callers can split on it.
448
+ const clean = full.replace(/[  ]/g, " ");
449
+ const m = /^(.*?)\s*([AP]\.?\s?M\.?)$/i.exec(clean);
450
+ return m ? { time: m[1], meridiem: m[2] } : { time: clean, meridiem: "" };
451
+ }
452
+
453
+ /** "8:00 PM" — the one clock every customer screen uses (12-hour, en-US shape). */
454
+ export function formatClock(date: Date, locale = appLocale(), timeZone?: string): string {
455
+ const { time, meridiem } = clockParts(date, locale, timeZone);
456
+ return meridiem ? `${time} ${meridiem}` : time;
457
+ }
458
+
459
+ /** "10:00 – 11:15 AM" when both ends share the meridiem, "11:30 AM – 12:45 PM" otherwise. The meridiem is whatever the
460
+ * locale writes (`AM`, `p. m.`), so it is compared as a whole, never as the last word of the text. */
461
+ export function formatClockRange(start: Date, end: Date, locale = appLocale(), timeZone?: string): string {
462
+ const a = clockParts(start, locale, timeZone), b = clockParts(end, locale, timeZone);
463
+ if (a.meridiem && a.meridiem === b.meridiem) return `${a.time} – ${b.time} ${b.meridiem}`;
464
+ return `${formatClock(start, locale, timeZone)} – ${formatClock(end, locale, timeZone)}`;
465
+ }
466
+
467
+ /** Is this ISO instant before `now`? A missing or unparseable value is NOT past — "no expiry"
468
+ * must never classify an offer as expired. */
469
+ export function isPastDate(iso: string | undefined | null, now: number = Date.now()): boolean {
470
+ if (!iso) return false;
471
+ const t = Date.parse(iso);
472
+ return !Number.isNaN(t) && t < now;
473
+ }
474
+
475
+ /** The calendar day `date` falls on in `timeZone` (device zone when absent, unknown, or when
476
+ * the engine has no Intl), as `YYYY-MM-DD`. For "is this today / this year" comparisons. */
477
+ export function calendarDay(date: Date, timeZone?: string): string {
478
+ if (hasIntl()) {
479
+ const parts = dateFormat("en-CA", { year: "numeric", month: "2-digit", day: "2-digit" }, timeZone).formatToParts(date);
480
+ const get = (type: string) => parts.find((p) => p.type === type)?.value ?? "";
481
+ return `${get("year")}-${get("month")}-${get("day")}`;
482
+ }
483
+ return `${date.getFullYear()}-${pad2(date.getMonth() + 1)}-${pad2(date.getDate())}`;
484
+ }
485
+
486
+ /**
487
+ * [timeZone]'s offset from UTC in ms at instant [at] (Asia/Jerusalem in winter: 7_200_000), or NaN
488
+ * where it cannot be known — no ECMA-402 (the wrist engines) or a zone this engine does not know.
489
+ * Callers fall back to the device zone on NaN, as the formatters above do.
490
+ */
491
+ export function zoneOffsetAt(at: number, timeZone: string): number {
492
+ if (hasIntl() && Number.isFinite(at)) {
493
+ try {
494
+ const parts = new Intl.DateTimeFormat("en-US", {
495
+ timeZone, hourCycle: "h23", year: "numeric", month: "2-digit", day: "2-digit",
496
+ hour: "2-digit", minute: "2-digit", second: "2-digit",
497
+ }).formatToParts(new Date(at));
498
+ const n = (type: string) => Number(parts.find((p) => p.type === type)?.value);
499
+ return Date.UTC(n("year"), n("month") - 1, n("day"), n("hour") % 24, n("minute"), n("second")) - at;
500
+ } catch {
501
+ /* a zone this engine does not know: NaN below */
502
+ }
503
+ }
504
+ return NaN;
505
+ }
506
+
507
+ /** Long zone label plus its short offset, e.g. "Israel Standard Time (GMT+2)". An engine
508
+ * without ECMA-402 has no zone database, so callers omit the supplementary label there. */
509
+ export function formatTimeZoneLabel(date: Date, timeZone: string, locale = "en"): string {
510
+ if (hasIntl()) {
511
+ if (!timeZone) return "";
512
+ try {
513
+ const parts = new Intl.DateTimeFormat(locale, { timeZone, timeZoneName: "long" }).formatToParts(date);
514
+ const name = parts.find((part) => part.type === "timeZoneName")?.value || timeZone;
515
+ const offset = new Intl.DateTimeFormat(locale, { timeZone, timeZoneName: "shortOffset" })
516
+ .formatToParts(date).find((part) => part.type === "timeZoneName")?.value;
517
+ return offset ? `${name} (${offset.replace(/:00$/, "")})` : name;
518
+ } catch {
519
+ return timeZone;
520
+ }
521
+ }
522
+ return "";
523
+ }