@wix/himalaya-cli 0.1945.0 → 0.1946.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 (115) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/motion.mjs +1 -0
  2. package/dist/browser-plane/assets.json +5 -5
  3. package/dist/browser-plane/preview-deferred/{e113c7cdcf8f56ad861b2564505fab2a1975c7a995f92d2f999f9c4ce1a09a40.bin → 9521361aa5be10b9a96b96c0ea2f7e157e728874b20de5200879cbd735eefb38.bin} +1 -1
  4. package/dist/browser-plane/sw.js +9 -9
  5. package/dist/cli.mjs +363 -268
  6. package/dist/preview-assets.generated.bin +0 -0
  7. package/guides/himi-json-output.md +7 -0
  8. package/package.json +2 -2
  9. package/templates/bare-fashion/tier5-src/_shared/engine-intl.ts +65 -0
  10. package/templates/beauty-salon/dev/index.ts +1 -0
  11. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +65 -0
  12. package/templates/beauty-salon/tier5-src/_shared/weekly-goal.ts +28 -12
  13. package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +7 -2
  14. package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +8 -8
  15. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +65 -0
  16. package/templates/branded-lite/dev/index.ts +4 -2
  17. package/templates/branded-lite/l10n/ar.json +5 -5
  18. package/templates/branded-lite/l10n/cs.json +5 -5
  19. package/templates/branded-lite/l10n/da.json +5 -5
  20. package/templates/branded-lite/l10n/de.json +5 -5
  21. package/templates/branded-lite/l10n/el.json +5 -5
  22. package/templates/branded-lite/l10n/es.json +5 -5
  23. package/templates/branded-lite/l10n/fi.json +5 -5
  24. package/templates/branded-lite/l10n/fr.json +5 -5
  25. package/templates/branded-lite/l10n/he.json +4 -4
  26. package/templates/branded-lite/l10n/hu.json +5 -5
  27. package/templates/branded-lite/l10n/id.json +5 -5
  28. package/templates/branded-lite/l10n/it.json +5 -5
  29. package/templates/branded-lite/l10n/ja.json +5 -5
  30. package/templates/branded-lite/l10n/ko.json +5 -5
  31. package/templates/branded-lite/l10n/lt.json +5 -5
  32. package/templates/branded-lite/l10n/nl.json +5 -5
  33. package/templates/branded-lite/l10n/no.json +5 -5
  34. package/templates/branded-lite/l10n/pl.json +5 -5
  35. package/templates/branded-lite/l10n/pt.json +5 -5
  36. package/templates/branded-lite/l10n/ru.json +5 -5
  37. package/templates/branded-lite/l10n/sv.json +5 -5
  38. package/templates/branded-lite/l10n/th.json +5 -5
  39. package/templates/branded-lite/l10n/tr.json +5 -5
  40. package/templates/branded-lite/l10n/uk.json +5 -5
  41. package/templates/branded-lite/l10n/vi.json +5 -5
  42. package/templates/branded-lite/l10n/zh.json +5 -5
  43. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +65 -0
  44. package/templates/branded-lite/tier5-src/_shared/performance-tracker-section.ts +24 -16
  45. package/templates/branded-lite/tier5-src/_shared/performance-tracker-weeks.ts +27 -20
  46. package/templates/branded-lite/tier5-src/_shared/weekly-goal.ts +28 -12
  47. package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +7 -2
  48. package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +8 -8
  49. package/templates/brandy/tier5-src/_shared/engine-intl.ts +65 -0
  50. package/templates/community-club/dev/index.ts +1 -0
  51. package/templates/community-club/tier5-src/_shared/engine-intl.ts +65 -0
  52. package/templates/community-club/tier5-src/_shared/weekly-goal.ts +28 -12
  53. package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +8 -8
  54. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +65 -0
  55. package/templates/conference/tier5-src/_shared/engine-intl.ts +65 -0
  56. package/templates/events-meetups/dev/index.ts +1 -0
  57. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +65 -0
  58. package/templates/events-meetups/tier5-src/_shared/weekly-goal.ts +28 -12
  59. package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +8 -8
  60. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +65 -0
  61. package/templates/fitness-gym/tier5-src/_shared/engine-intl.ts +65 -0
  62. package/templates/fitness-gym/tier5-src/_shared/weekly-goal.ts +28 -12
  63. package/templates/fitness-gym/tier5-src/himi-booking-bookings/index.ts +7 -2
  64. package/templates/fitness-gym/tier5-src/himi-fitcoach-home/index.ts +3 -2
  65. package/templates/gym-fitness/dev/index.ts +3 -1
  66. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +65 -0
  67. package/templates/gym-fitness/tier5-src/_shared/weekly-goal.ts +28 -12
  68. package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +7 -2
  69. package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +8 -8
  70. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +65 -0
  71. package/templates/medical-services/tier5-src/_shared/engine-intl.ts +65 -0
  72. package/templates/medical-services/tier5-src/_shared/weekly-goal.ts +28 -12
  73. package/templates/medical-services/tier5-src/himi-booking-bookings/index.ts +7 -2
  74. package/templates/nonprofit-cause/dev/index.ts +1 -0
  75. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +65 -0
  76. package/templates/nonprofit-cause/tier5-src/_shared/weekly-goal.ts +28 -12
  77. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +8 -8
  78. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +65 -0
  79. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +65 -0
  80. package/templates/personal-fitness-trainer/tier5-src/_shared/engine-intl.ts +65 -0
  81. package/templates/personal-fitness-trainer/tier5-src/_shared/weekly-goal.ts +28 -12
  82. package/templates/personal-fitness-trainer/tier5-src/himi-booking-bookings/index.ts +7 -2
  83. package/templates/podcast-creator/dev/index.ts +1 -0
  84. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +65 -0
  85. package/templates/podcast-creator/tier5-src/_shared/weekly-goal.ts +28 -12
  86. package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +8 -8
  87. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +65 -0
  88. package/templates/portfolio-creative/dev/index.ts +1 -0
  89. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +65 -0
  90. package/templates/portfolio-creative/tier5-src/_shared/weekly-goal.ts +28 -12
  91. package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +8 -8
  92. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +65 -0
  93. package/templates/professional-services/tier5-src/_shared/engine-intl.ts +65 -0
  94. package/templates/professional-services/tier5-src/_shared/weekly-goal.ts +28 -12
  95. package/templates/professional-services/tier5-src/himi-booking-bookings/index.ts +7 -2
  96. package/templates/restaurant/dev/index.ts +1 -0
  97. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +65 -0
  98. package/templates/restaurant/tier5-src/_shared/weekly-goal.ts +28 -12
  99. package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +8 -8
  100. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +65 -0
  101. package/templates/retail-store/dev/index.ts +1 -0
  102. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +65 -0
  103. package/templates/retail-store/tier5-src/_shared/weekly-goal.ts +28 -12
  104. package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +8 -8
  105. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +65 -0
  106. package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +65 -0
  107. package/templates/salon-spa/tier5-src/_shared/weekly-goal.ts +28 -12
  108. package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +7 -2
  109. package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +65 -0
  110. package/templates/yoga-studio/dev/index.ts +3 -1
  111. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +65 -0
  112. package/templates/yoga-studio/tier5-src/_shared/weekly-goal.ts +28 -12
  113. package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +7 -2
  114. package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +8 -8
  115. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +65 -0
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, one {# julkaisu} other {# julkaisua}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Istuntoja yhteensä",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Takaisin gallerioihin",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, one {Viikko, jolloin saavutin tavoitteeni} other {Viikkoa, joina saavutin tavoitteeni}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, one {Istunto, johon osallistuin yhteensä} other {Istuntoa, joihin osallistuin yhteensä}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "Lähetimme nollauslinkin osoitteeseen {email}. Tarkista saapuneet viestit.",
@@ -9622,6 +9622,11 @@
9622
9622
  "translation": "{n, plural, one {# article} other {# articles}}",
9623
9623
  "origin": "machine"
9624
9624
  },
9625
+ "h_970730811681": {
9626
+ "source": "All-time sessions",
9627
+ "translation": "Séances au total",
9628
+ "origin": "machine"
9629
+ },
9625
9630
  "h_1e9b74b4dda5": {
9626
9631
  "source": "Show all ({count})",
9627
9632
  "translation": "Tout afficher ({count})",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, one {Semaine d'objectif atteint} other {Semaines d'objectif atteint}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, one {Séance suivie au total} other {Séances suivies au total}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "Nous avons envoyé un lien de réinitialisation à {email}. Consultez votre boîte de réception.",
@@ -7878,6 +7878,10 @@
7878
7878
  "source": "{n, plural, one {# post} other {# posts}}",
7879
7879
  "translation": "{n, plural, one {פוסט אחד} other {# פוסטים}}"
7880
7880
  },
7881
+ "h_970730811681": {
7882
+ "source": "All-time sessions",
7883
+ "translation": "סך כל המפגשים"
7884
+ },
7881
7885
  "h_1e9b74b4dda5": {
7882
7886
  "source": "Show all ({count})",
7883
7887
  "translation": "הצגת הכול ({count})"
@@ -8142,10 +8146,6 @@
8142
8146
  "source": "{n, plural, one {Week of meeting my goal} other {Weeks of meeting my goal}}",
8143
8147
  "translation": "{n, plural, one {שבוע של עמידה ביעד שלי} other {שבועות של עמידה ביעד שלי}}"
8144
8148
  },
8145
- "h_0d27866cd8c7": {
8146
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
8147
- "translation": "{n, plural, one {מפגש שהשתתפתי בו בסך הכול} other {מפגשים שהשתתפתי בהם בסך הכול}}"
8148
- },
8149
8149
  "h_b488b5ca6950": {
8150
8150
  "source": "No upcoming events",
8151
8151
  "translation": "אין אירועים קרובים"
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, one {# bejegyzés} other {# bejegyzés}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Összes alkalom",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Vissza a galériákhoz",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, other {Hét, amikor elértem a célom}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, other {Alkalom, amelyen részt vettem, összesen}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "Visszaállítási linket küldtünk ide: {email}. Nézd meg a beérkezett üzeneteidet.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, other {# kiriman}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Total sesi",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Kembali ke Galeri",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, other {Minggu mencapai target saya}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, other {Sesi yang dihadiri secara total}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "Kami telah mengirim tautan reset ke {email}. Periksa kotak masuk Anda.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, one {# articolo} other {# articoli}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Sessioni totali",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Torna alle gallerie",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, one {Settimana di obiettivo raggiunto} other {Settimane di obiettivo raggiunto}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, one {Sessione frequentata in totale} other {Sessioni frequentate in totale}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "Abbiamo inviato un link di reimpostazione a {email}. Controlla la tua casella di posta.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, other {#件の投稿}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "累計セッション",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "ギャラリーに戻る",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, other {目標を達成した週}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, other {参加したセッションの合計}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "{email} にリセットリンクを送信しました。受信トレイを確認してください。",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, other {게시물 #개}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "누적 세션",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "갤러리로 돌아가기",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, other {목표를 달성한 주}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, other {총 참석한 세션}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "{email}(으)로 재설정 링크를 보냈어요. 받은편지함을 확인하세요.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, one {# įrašas} few {# įrašai} many {# įrašo} other {# įrašų}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Iš viso seansų",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Grįžti į galerijas",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, one {Savaitė, kai pasiekiau tikslą} few {Savaitės, kai pasiekiau tikslą} other {Savaičių, kai pasiekiau tikslą}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, one {Aplankytas seansas iš viso} few {Aplankyti seansai iš viso} other {Aplankytų seansų iš viso}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "Atkūrimo nuorodą išsiuntėme adresu {email}. Patikrinkite gautuosius.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, one {# bericht} other {# berichten}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Totaal aantal sessies",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Terug naar galerieën",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, one {Week waarin ik mijn doel haalde} other {Weken waarin ik mijn doel haalde}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, one {Sessie bijgewoond in totaal} other {Sessies bijgewoond in totaal}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "We hebben een resetlink naar {email} gestuurd. Controleer je inbox.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, one {# innlegg} other {# innlegg}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Økter totalt",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Tilbake til gallerier",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, one {Uke der jeg nådde målet mitt} other {Uker der jeg nådde målet mitt}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, one {Økt deltatt på totalt} other {Økter deltatt på totalt}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "Vi har sendt en lenke for tilbakestilling til {email}. Sjekk innboksen din.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, one {# wpis} few {# wpisy} many {# wpisów} other {# wpisu}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Sesje łącznie",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Wróć do galerii",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, one {Tydzień spełnienia celu} few {Tygodnie spełnienia celu} many {Tygodni spełnienia celu} other {Tygodnia spełnienia celu}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, one {Odbyta sesja łącznie} few {Odbyte sesje łącznie} many {Odbytych sesji łącznie} other {Odbytych sesji łącznie}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "Wysłaliśmy link do resetowania hasła na adres {email}. Sprawdź skrzynkę odbiorczą.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, one {# publicação} other {# publicações}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Sessões no total",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Voltar às galerias",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, one {Semana cumprindo minha meta} other {Semanas cumprindo minha meta}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, one {Sessão frequentada no total} other {Sessões frequentadas no total}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "Enviamos um link de redefinição para {email}. Verifique sua caixa de entrada.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, one {# публикация} few {# публикации} many {# публикаций} other {# публикации}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Всего занятий",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Назад к галереям",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, one {Неделя выполнения моей цели} few {Недели выполнения моей цели} many {Недель выполнения моей цели} other {Недели выполнения моей цели}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, one {Посещённое занятие всего} few {Посещённых занятия всего} many {Посещённых занятий всего} other {Посещённых занятия всего}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "Мы отправили ссылку для сброса на {email}. Проверьте входящие.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, one {# inlägg} other {# inlägg}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Pass totalt",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Tillbaka till gallerier",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, one {Vecka då jag nådde mitt mål} other {Veckor då jag nådde mitt mål}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, one {Pass bevistat totalt} other {Pass bevistade totalt}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "Vi har skickat en återställningslänk till {email}. Kolla din inkorg.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, other {# โพสต์}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "เซสชันทั้งหมด",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "กลับไปที่แกลเลอรี",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, other {สัปดาห์ที่บรรลุเป้าหมายของฉัน}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, other {เซสชันที่เข้าร่วมทั้งหมด}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "เราส่งลิงก์รีเซ็ตไปที่ {email} แล้ว ตรวจสอบกล่องจดหมายของคุณ",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, one {# yazı} other {# yazı}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Toplam seans",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Galerilere dön",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, one {Hedefime ulaştığım hafta} other {Hedefime ulaştığım hafta}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, one {Toplamda katıldığım seans} other {Toplamda katıldığım seans}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "{email} adresine bir sıfırlama bağlantısı gönderdik. Gelen kutunuzu kontrol edin.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, one {# публікація} few {# публікації} many {# публікацій} other {# публікації}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Усього сеансів",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Назад до галерей",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, one {Тиждень виконання моєї мети} few {Тижні виконання моєї мети} many {Тижнів виконання моєї мети} other {Тижня виконання моєї мети}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, one {Відвіданий сеанс загалом} few {Відвідані сеанси загалом} many {Відвіданих сеансів загалом} other {Відвіданого сеансу загалом}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "Ми надіслали посилання для скидання на {email}. Перевірте вхідні.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, other {# bài viết}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "Tổng số buổi",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "Quay lại thư viện",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, other {Tuần đạt mục tiêu của tôi}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, other {Tổng số buổi đã tham gia}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "Chúng tôi đã gửi liên kết đặt lại đến {email}. Hãy kiểm tra hộp thư của bạn.",
@@ -9642,6 +9642,11 @@
9642
9642
  "translation": "{n, plural, other {# 篇文章}}",
9643
9643
  "origin": "machine"
9644
9644
  },
9645
+ "h_970730811681": {
9646
+ "source": "All-time sessions",
9647
+ "translation": "累計堂數",
9648
+ "origin": "machine"
9649
+ },
9645
9650
  "h_f69bc32d3fe3": {
9646
9651
  "source": "Back to Galleries",
9647
9652
  "translation": "返回图库",
@@ -9947,11 +9952,6 @@
9947
9952
  "translation": "{n, plural, other {達成目標的週數}}",
9948
9953
  "origin": "machine"
9949
9954
  },
9950
- "h_0d27866cd8c7": {
9951
- "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
9952
- "translation": "{n, plural, other {累計出席的課堂}}",
9953
- "origin": "machine"
9954
- },
9955
9955
  "h_617d49f47351": {
9956
9956
  "source": "We sent a reset link to {email}. Check your inbox.",
9957
9957
  "translation": "我們已將重設連結寄到 {email}。請查看收件匣。",
@@ -27,6 +27,21 @@ export function hasIntl(): boolean {
27
27
  return typeof Intl !== "undefined";
28
28
  }
29
29
 
30
+ /** ECMA-402's first day of the week for `locale` (1 = Monday … 7 = Sunday), or undefined where this engine has no
31
+ * `Intl.Locale` week info (QuickJS has no `Intl`; older JSC / V8 / Hermes have no week info). Callers keep a CLDR table for
32
+ * that case, so every engine starts the same week (`weekly-goal.ts` `firstWeekdayOf`). */
33
+ export function intlFirstDayOfWeek(locale: string): number | undefined {
34
+ try {
35
+ // The guard form `worker-globals:check` reads as guarded: the `Intl` use sits inside the `typeof` test's block.
36
+ if (typeof Intl !== "undefined" && typeof Intl.Locale === "function") {
37
+ const loc = new Intl.Locale(locale) as Intl.Locale & { getWeekInfo?: () => { firstDay?: number }; weekInfo?: { firstDay?: number } };
38
+ const firstDay = (typeof loc.getWeekInfo === "function" ? loc.getWeekInfo() : loc.weekInfo)?.firstDay;
39
+ if (typeof firstDay === "number" && Number.isInteger(firstDay) && firstDay >= 1 && firstDay <= 7) return firstDay;
40
+ }
41
+ } catch { /* a malformed tag */ }
42
+ return undefined;
43
+ }
44
+
30
45
  /** The device's IANA time zone, or "UTC" where this engine has no ECMA-402 or no zone data. */
31
46
  export function deviceTimeZone(): string {
32
47
  try {
@@ -536,3 +551,53 @@ export function formatTimeZoneLabel(date: Date, timeZone: string, locale = "en")
536
551
  }
537
552
  return "";
538
553
  }
554
+
555
+ // ── The first day of the week ──────────────────────────────────────────────────────────────────────────────────────────────
556
+ // 0 = Sunday … 6 = Saturday, for the app language: the one rule every weekly count and every week a screen shows uses
557
+ // (`weekly-goal.ts`, the performance tracker, the Agenda's descriptor, the one-app generator). CLDR week data: Sunday for "en" /
558
+ // "en-US", Monday for "en-GB" or "de", Saturday for "ar-EG". ECMA-402 week info where the engine has it (`intlFirstDayOfWeek`),
559
+ // a CLDR table where it has not, so iOS, Android, web and a build host agree. It lives here rather than in its own file because
560
+ // every generated template already ships this module, and the public catalog's manifest lists each template file.
561
+
562
+ /** 0 = Sunday … 6 = Saturday, as `Date.prototype.getDay`. */
563
+ export type Weekday = 0 | 1 | 2 | 3 | 4 | 5 | 6;
564
+ export const MONDAY: Weekday = 1;
565
+
566
+ // CLDR `weekData.firstDay` (supplemental data), by region: every region not listed starts on Monday.
567
+ const SUNDAY_REGIONS = new Set("AG AS BD BR BS BT BW BZ CA CN CO DM DO ET GT GU HK HN ID IL IN JM JP KE KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PT PY SA SG SV TH TT TW UM US VE VI WS YE ZA ZW".split(" "));
568
+ const SATURDAY_REGIONS = new Set("AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY".split(" "));
569
+ const FRIDAY_REGIONS = new Set(["MV"]);
570
+ // The region CLDR's likely subtags give a bare language, for the languages whose region does not start on Monday.
571
+ const LIKELY_REGION: Record<string, string> = {
572
+ en: "US", he: "IL", iw: "IL", ar: "EG", pt: "BR", ja: "JP", zh: "CN", ko: "KR", hi: "IN", bn: "BD", th: "TH", id: "ID",
573
+ fa: "IR", ur: "PK", my: "MM", km: "KH", lo: "LA", ne: "NP", am: "ET", mr: "IN", ta: "IN", te: "IN", gu: "IN", kn: "IN",
574
+ ml: "IN", pa: "IN", fil: "PH", tl: "PH", zu: "ZA", dz: "BT", dv: "MV", ps: "AF",
575
+ };
576
+
577
+ /** The region of a language tag ("en-GB" → "GB", "zh-Hant-TW" → "TW"), else its language's likely region, else "". */
578
+ function regionOf(locale: string): string {
579
+ const parts = locale.split(/[-_]/);
580
+ const region = parts.slice(1).find((p) => /^(?:[A-Za-z]{2}|\d{3})$/.test(p));
581
+ if (region) return region.toUpperCase();
582
+ // A script with no region: Traditional Chinese is Taiwan's.
583
+ if (parts[0]?.toLowerCase() === "zh" && parts.some((p) => p.toLowerCase() === "hant")) return "TW";
584
+ return LIKELY_REGION[(parts[0] ?? "").toLowerCase()] ?? "";
585
+ }
586
+
587
+ /** The first day of the week for `locale` (the app language by default). */
588
+ export function firstWeekdayOf(locale: string = appLocale()): Weekday {
589
+ // ECMA-402 numbers the days 1 = Monday … 7 = Sunday. A malformed tag or an engine without week info: the CLDR table below.
590
+ const firstDay = intlFirstDayOfWeek(locale);
591
+ if (firstDay !== undefined) return (firstDay % 7) as Weekday;
592
+ const region = regionOf(locale);
593
+ if (SUNDAY_REGIONS.has(region)) return 0;
594
+ if (SATURDAY_REGIONS.has(region)) return 6;
595
+ if (FRIDAY_REGIONS.has(region)) return 5;
596
+ return MONDAY;
597
+ }
598
+
599
+ /** A screen's `firstWeekday` param (0..6, or its text) when it pins one, else the app language's first day. */
600
+ export function resolveFirstWeekday(raw?: unknown, locale: string = appLocale()): Weekday {
601
+ const n = typeof raw === "number" ? raw : typeof raw === "string" && raw.trim() !== "" ? Number(raw) : NaN;
602
+ return Number.isInteger(n) && n >= 0 && n <= 6 ? (n as Weekday) : firstWeekdayOf(locale);
603
+ }