@hhgtech/hhg-components 1.29.402 → 1.29.403-beta-1

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 (529) hide show
  1. package/build/{InputDate-67ffe3ac.js → InputDate-a5e7e2a2.js} +3 -3
  2. package/build/{LastPeriod-470b5a3a.js → LastPeriod-fe271391.js} +1 -1
  3. package/build/{Locale-c6661f1a.js → Locale-ef189ed8.js} +1 -1
  4. package/build/{MobileBottomNavigationIcon-2e8b07fc.js → MobileBottomNavigationIcon-00aa86ee.js} +3 -3
  5. package/build/{Spinner-fb8508c3.js → Spinner-56d2b03c.js} +1 -1
  6. package/build/{WhatsApp-0550652f.js → WhatsApp-5cb4feea.js} +1 -1
  7. package/build/adapters.js +19 -19
  8. package/build/atoms.js +48 -48
  9. package/build/babyGrowth.js +83 -83
  10. package/build/cache.js +2 -2
  11. package/build/care.js +17 -17
  12. package/build/careBookingSearchBar.js +14 -14
  13. package/build/careBookingSearchBarV2.js +15 -15
  14. package/build/components/molecules/impressionTrackingWrapper/index.d.ts +9 -0
  15. package/build/components/navigationV2/components/molecules/navigationBar/index.d.ts +3 -1
  16. package/build/components/navigationV2/index.d.ts +13 -1
  17. package/build/components/organisms/navigationProfileButton/index.d.ts +2 -1
  18. package/build/components.js +97 -97
  19. package/build/{constants-ab799375.js → constants-4ecd7a18.js} +1 -1
  20. package/build/{constants-1de7952c.js → constants-6d5141c6.js} +1 -1
  21. package/build/constants.js +3 -3
  22. package/build/constantsDomainLocales.js +3 -3
  23. package/build/constantsRiskScreener.js +2 -2
  24. package/build/constantsSite.js +2 -2
  25. package/build/{core-ef14789d.js → core-400b062b.js} +1 -1
  26. package/build/{dataTransform-25557600.js → dataTransform-ba8b5a5f.js} +1 -1
  27. package/build/ecom.js +4 -4
  28. package/build/{editor-30a816d5.js → editor-ff4c96be.js} +11 -11
  29. package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
  30. package/build/embeddedHeathToolCards_babyPoop.js +19 -19
  31. package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
  32. package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
  33. package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
  34. package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  35. package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  36. package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
  37. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
  38. package/build/esm/{InputDate-93c5e459.js → InputDate-e74ebf81.js} +3 -3
  39. package/build/esm/{LastPeriod-b83426ec.js → LastPeriod-18bb986f.js} +1 -1
  40. package/build/esm/{Locale-d66f3a35.js → Locale-c1c68746.js} +1 -1
  41. package/build/esm/{MobileBottomNavigationIcon-9154c653.js → MobileBottomNavigationIcon-41483a6b.js} +3 -3
  42. package/build/esm/{Spinner-8d172e17.js → Spinner-f63e9863.js} +1 -1
  43. package/build/esm/{WhatsApp-6c807beb.js → WhatsApp-1acd5a49.js} +1 -1
  44. package/build/esm/adapters.js +19 -19
  45. package/build/esm/atoms.js +48 -48
  46. package/build/esm/babyGrowth.js +83 -83
  47. package/build/esm/cache.js +2 -2
  48. package/build/esm/care.js +17 -17
  49. package/build/esm/careBookingSearchBar.js +14 -14
  50. package/build/esm/careBookingSearchBarV2.js +15 -15
  51. package/build/esm/components/molecules/impressionTrackingWrapper/index.d.ts +9 -0
  52. package/build/esm/components/navigationV2/components/molecules/navigationBar/index.d.ts +3 -1
  53. package/build/esm/components/navigationV2/index.d.ts +13 -1
  54. package/build/esm/components/organisms/navigationProfileButton/index.d.ts +2 -1
  55. package/build/esm/components.js +97 -97
  56. package/build/esm/{constants-44a758f4.js → constants-c5026d2e.js} +1 -1
  57. package/build/esm/{constants-1ce79c4b.js → constants-c6734801.js} +1 -1
  58. package/build/esm/constants.js +3 -3
  59. package/build/esm/constantsDomainLocales.js +3 -3
  60. package/build/esm/constantsRiskScreener.js +2 -2
  61. package/build/esm/constantsSite.js +2 -2
  62. package/build/esm/{core-bb5eeda6.js → core-b95641f3.js} +1 -1
  63. package/build/esm/{dataTransform-a0af498d.js → dataTransform-45b0db14.js} +1 -1
  64. package/build/esm/ecom.js +4 -4
  65. package/build/esm/{editor-296581b7.js → editor-8f4905ab.js} +11 -11
  66. package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
  67. package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
  68. package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
  69. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
  70. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
  71. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  72. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  73. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
  74. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
  75. package/build/esm/footer.js +21 -21
  76. package/build/esm/gAssets.js +2 -2
  77. package/build/esm/{healthTools-e6af67e9.js → healthTools-33bbbe2c.js} +1 -1
  78. package/build/esm/healthToolsCardWrapper.js +18 -18
  79. package/build/esm/healthToolsForm.js +33 -33
  80. package/build/esm/hooks.js +13 -13
  81. package/build/esm/i18n/translationKeys.d.ts +1 -1
  82. package/build/esm/i18n-values/en-PH.js +7 -0
  83. package/build/esm/i18n-values/hi-IN.js +7 -0
  84. package/build/esm/i18n-values/id-ID.js +7 -0
  85. package/build/esm/i18n-values/km-KH.js +7 -0
  86. package/build/esm/i18n-values/ms-MY.js +7 -0
  87. package/build/esm/i18n-values/my-MM.js +7 -0
  88. package/build/esm/i18n-values/th-TH.js +7 -0
  89. package/build/esm/i18n-values/tl-PH.js +7 -0
  90. package/build/esm/i18n-values/vi-VN.js +7 -0
  91. package/build/esm/i18n-values/vi-VN_MB.js +7 -0
  92. package/build/esm/i18n-values/{zh-CN.js → zh-SG.js} +9 -2
  93. package/build/esm/i18n-values/zh-TW.js +7 -0
  94. package/build/esm/i18n.js +3 -2
  95. package/build/esm/i18nV2.js +2 -2
  96. package/build/esm/{index-0d2bab3b.js → index-017af8bf.js} +2 -2
  97. package/build/esm/{index-3ad5fa37.js → index-01b39292.js} +18 -18
  98. package/build/esm/{index-8490f612.js → index-061bce8d.js} +2 -2
  99. package/build/esm/{index-a670cbef.js → index-0e09521c.js} +6 -6
  100. package/build/esm/{index-fc644071.js → index-0e4eff19.js} +1 -1
  101. package/build/esm/{index-e8904085.js → index-11de8451.js} +3 -3
  102. package/build/esm/{index-878de0b3.js → index-13636d2f.js} +1 -1
  103. package/build/esm/{index-10a82486.js → index-1a031c4a.js} +21 -21
  104. package/build/esm/{index-44e575be.js → index-1c53f76b.js} +2 -2
  105. package/build/esm/{index-0e04697d.js → index-2217443c.js} +17 -17
  106. package/build/esm/{index-c26fffb5.js → index-2313b357.js} +13 -13
  107. package/build/esm/{index-06f14c1f.js → index-287d8002.js} +2 -2
  108. package/build/esm/{index-8c9bac8b.js → index-2acfb78d.js} +1 -1
  109. package/build/esm/{index-70a1642d.js → index-346891cf.js} +11 -11
  110. package/build/esm/{index-3b5ccfc0.js → index-3d9687c6.js} +1 -1
  111. package/build/esm/{index-a8aef664.js → index-3f4c3ee5.js} +2 -2
  112. package/build/esm/{index-ebabe771.js → index-419befea.js} +4 -4
  113. package/build/esm/{index-1f43c861.js → index-43ab1640.js} +5 -5
  114. package/build/esm/{index-50a6a5d1.js → index-466d8840.js} +1 -1
  115. package/build/esm/{index-f87618fa.js → index-47ab928b.js} +1 -1
  116. package/build/esm/{index-c96858e6.js → index-4b582d28.js} +2 -2
  117. package/build/esm/{index-8f1bdb43.js → index-4bdcbb97.js} +3 -3
  118. package/build/esm/{index-ee2df990.js → index-50234079.js} +5 -5
  119. package/build/esm/{index-5dc9c599.js → index-54fdca7b.js} +5 -5
  120. package/build/esm/{index-7b2adace.js → index-55ef56bf.js} +6 -6
  121. package/build/esm/{index-703b551a.js → index-5b474751.js} +2 -2
  122. package/build/esm/{index-be4cf09d.js → index-5c8012d0.js} +1 -1
  123. package/build/esm/{index-e9dc7648.js → index-603189f5.js} +18 -18
  124. package/build/esm/{index-a7c5c23f.js → index-61b250a9.js} +6 -6
  125. package/build/esm/{index-ae3f7020.js → index-63e75525.js} +25 -25
  126. package/build/esm/{index-03267752.js → index-6d161df1.js} +16 -16
  127. package/build/esm/{index-b276a790.js → index-6f9f3d81.js} +2 -2
  128. package/build/esm/{index-9e8f52d7.js → index-71130616.js} +13 -13
  129. package/build/esm/{index-7e63be44.js → index-713f462b.js} +13 -13
  130. package/build/esm/{index-3e0d83fd.js → index-79541a49.js} +2 -2
  131. package/build/esm/{index-90bd827d.js → index-7fe7c87f.js} +3 -3
  132. package/build/esm/{index-66848657.js → index-85f98734.js} +15 -15
  133. package/build/esm/{index-1c9e9b74.js → index-894b7cbf.js} +7 -7
  134. package/build/esm/{index-9d55c9d9.js → index-8cfa1f17.js} +48 -142
  135. package/build/esm/{index-a18a92c9.js → index-a68f573f.js} +4 -4
  136. package/build/esm/{index-282d718f.js → index-ab4d3598.js} +2 -2
  137. package/build/esm/{index-f21074eb.js → index-ab9e7f56.js} +17 -17
  138. package/build/esm/{index-0cad27be.js → index-adfbec9b.js} +1 -1
  139. package/build/esm/{index-092d00a3.js → index-b014e4be.js} +6 -6
  140. package/build/esm/{index-22c8bd62.js → index-b9b4cc00.js} +1 -1
  141. package/build/esm/{index-f8d01876.js → index-bb3f7850.js} +16 -16
  142. package/build/esm/{index-21f64a4d.js → index-bb7a255a.js} +22 -22
  143. package/build/esm/{index-25bf0d9d.js → index-bc02b583.js} +2 -2
  144. package/build/esm/{index-dc25a628.js → index-be0940a6.js} +17 -17
  145. package/build/esm/{index-571f47ff.js → index-c0e9a34e.js} +24 -24
  146. package/build/esm/{index-b4498fcc.js → index-c1218451.js} +3 -3
  147. package/build/esm/{index-b3d8b128.js → index-c641759d.js} +18 -18
  148. package/build/esm/{index-db00fff1.js → index-c85742b6.js} +31 -31
  149. package/build/esm/{index-193d45aa.js → index-ca2ff818.js} +114 -14
  150. package/build/esm/{index-0f74b8cb.js → index-d410ae13.js} +3 -3
  151. package/build/esm/{index-e0337e4f.js → index-d575a13e.js} +13 -13
  152. package/build/esm/{index-872110dc.js → index-d57b2214.js} +32 -32
  153. package/build/esm/{index-6635520d.js → index-d5ac4c46.js} +6 -6
  154. package/build/esm/{index-baddb2b4.js → index-df18fa57.js} +16 -16
  155. package/build/esm/{index-43f8236b.js → index-f0440113.js} +16 -16
  156. package/build/esm/{index-d0a137c8.js → index-f8fa6c34.js} +2 -2
  157. package/build/esm/{index-8aac2805.js → index-fa78e065.js} +2 -2
  158. package/build/esm/{index-0bd9d2a5.js → index-fd8b3acc.js} +7 -7
  159. package/build/esm/{index-f151c217.js → index-ff3db97a.js} +3 -3
  160. package/build/esm/{index-f16e6912.js → index-ff55d41d.js} +10 -10
  161. package/build/esm/index.js +118 -118
  162. package/build/esm/interfaces/constants/domainLocales.d.ts +2 -2
  163. package/build/esm/interfaces/types/Locale.d.ts +1 -1
  164. package/build/esm/interfaces/types/index.d.ts +1 -1
  165. package/build/esm/{labelSorting-e5d4543c.js → labelSorting-3bd7644d.js} +4 -4
  166. package/build/esm/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +15 -9
  167. package/build/esm/lead/layouts/inline.d.ts +5 -3
  168. package/build/esm/lead/layouts/lightbox/index.d.ts +2 -1
  169. package/build/esm/lead/services/index.d.ts +14 -0
  170. package/build/esm/lead.js +308 -128
  171. package/build/esm/{logoIcon-028913dd.js → logoIcon-dbd8a678.js} +2 -2
  172. package/build/esm/mantine.js +25 -25
  173. package/build/esm/misc.js +17 -17
  174. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  175. package/build/esm/miscGetSocialList.js +8 -8
  176. package/build/esm/miscScreenSizeContext.js +1 -1
  177. package/build/esm/mobileBottomNavigation.js +5 -5
  178. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  179. package/build/esm/molecules.js +74 -74
  180. package/build/esm/moleculesArticleCard.js +6 -6
  181. package/build/esm/moleculesArticleCardV2.js +16 -16
  182. package/build/esm/navigation.js +46 -46
  183. package/build/esm/navigationLogoutPopup.js +9 -9
  184. package/build/esm/navigationProfileButton.js +30 -23
  185. package/build/esm/onboardingV2.js +29 -29
  186. package/build/esm/organisms.js +50 -50
  187. package/build/esm/{post-e9fe15f8.js → post-ab86c20d.js} +2 -2
  188. package/build/esm/profileNavigation.js +19 -19
  189. package/build/esm/progressBar.js +1 -1
  190. package/build/esm/pwg.js +22 -22
  191. package/build/esm/ssoV2/api/featureFlag.d.ts +2 -1
  192. package/build/esm/ssoV2.js +52 -40
  193. package/build/esm/{store-2e2ab65a.js → store-85e47e5c.js} +3 -3
  194. package/build/esm/subot.js +36 -36
  195. package/build/esm/surveyOrPremiumBanner.js +33 -33
  196. package/build/esm/surveyQuestionCard.js +10 -10
  197. package/build/esm/{surveyThankyouCard-bb45e1bd.js → surveyThankyouCard-e3861d92.js} +5 -5
  198. package/build/esm/together.js +56 -56
  199. package/build/esm/togetherApiUtils.js +4 -4
  200. package/build/esm/togetherAtoms.js +30 -30
  201. package/build/esm/togetherComponentGlobalContext.js +4 -4
  202. package/build/esm/togetherMolecules.js +51 -51
  203. package/build/esm/togetherMoleculesCardAuthor.js +28 -28
  204. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  205. package/build/esm/togetherMoleculesProfileDetail.js +39 -39
  206. package/build/esm/togetherOrganisms.js +50 -50
  207. package/build/esm/togetherRichTextEditor.js +17 -17
  208. package/build/esm/togetherShareBox.js +10 -10
  209. package/build/esm/{translationsProvider-50360420.js → translationsProvider-009f77af.js} +3 -2
  210. package/build/esm/{treePopoverMenu-687d32a0.js → treePopoverMenu-2b7c8339.js} +19 -19
  211. package/build/esm/{types-c1130ac4.js → types-5c986edb.js} +2 -2
  212. package/build/esm/types.js +2 -2
  213. package/build/esm/{useCategory-4bf8de5d.js → useCategory-f6616052.js} +7 -7
  214. package/build/esm/{useHealthToolCache-2ba765ea.js → useHealthToolCache-62bd180f.js} +1 -1
  215. package/build/esm/{useMantineLocale-3cf49008.js → useMantineLocale-63358ae8.js} +8 -8
  216. package/build/esm/{usePlacesAutocomplete-ed12ac6b.js → usePlacesAutocomplete-b3481da8.js} +1 -1
  217. package/build/esm/{useScreenSize-a92a9419.js → useScreenSize-82a267dc.js} +2 -2
  218. package/build/esm/useTogetherAuthRequiredAction.js +10 -10
  219. package/build/esm/{utils-4efed82e.js → utils-1679190d.js} +2 -2
  220. package/build/esm/{utils-803e26a6.js → utils-3bba9334.js} +5 -5
  221. package/build/esm/{utils-c779dd3d.js → utils-8c70b95b.js} +2 -2
  222. package/build/esm/{utils-7d0b551e.js → utils-a917d74a.js} +3 -3
  223. package/build/esm/vaccination.js +21 -21
  224. package/build/footer.js +21 -21
  225. package/build/gAssets.js +2 -2
  226. package/build/{healthTools-e74db509.js → healthTools-0837b731.js} +1 -1
  227. package/build/healthToolsCardWrapper.js +18 -18
  228. package/build/healthToolsForm.js +33 -33
  229. package/build/hooks.js +13 -13
  230. package/build/i18n/translationKeys.d.ts +1 -1
  231. package/build/i18n-values/en-PH.js +7 -0
  232. package/build/i18n-values/hi-IN.js +7 -0
  233. package/build/i18n-values/id-ID.js +7 -0
  234. package/build/i18n-values/km-KH.js +7 -0
  235. package/build/i18n-values/ms-MY.js +7 -0
  236. package/build/i18n-values/my-MM.js +7 -0
  237. package/build/i18n-values/th-TH.js +7 -0
  238. package/build/i18n-values/tl-PH.js +7 -0
  239. package/build/i18n-values/vi-VN.js +7 -0
  240. package/build/i18n-values/vi-VN_MB.js +7 -0
  241. package/build/i18n-values/{zh-CN.js → zh-SG.js} +9 -2
  242. package/build/i18n-values/zh-TW.js +7 -0
  243. package/build/i18n.js +3 -2
  244. package/build/i18nV2.js +1 -1
  245. package/build/{index-d9d0233e.js → index-06c76944.js} +1 -1
  246. package/build/{index-c1f9826a.js → index-072e764b.js} +6 -6
  247. package/build/{index-2dcee304.js → index-07600719.js} +1 -1
  248. package/build/{index-bcb8a9f1.js → index-11f6ca91.js} +2 -2
  249. package/build/{index-050a270b.js → index-134130f7.js} +7 -7
  250. package/build/{index-b090eec3.js → index-1c5b2c3a.js} +2 -2
  251. package/build/{index-a2ac5bb2.js → index-1c798797.js} +16 -16
  252. package/build/{index-40e5c4aa.js → index-1ced4a14.js} +13 -13
  253. package/build/{index-71b569d9.js → index-1cedce27.js} +11 -11
  254. package/build/{index-d5adf67a.js → index-2114df3d.js} +2 -2
  255. package/build/{index-59c774a0.js → index-215e410a.js} +17 -17
  256. package/build/{index-dab28688.js → index-21c61ea4.js} +32 -32
  257. package/build/{index-e5314b10.js → index-2268c95f.js} +7 -7
  258. package/build/{index-2cee03ab.js → index-22c05761.js} +4 -4
  259. package/build/{index-ca77c680.js → index-286628aa.js} +1 -1
  260. package/build/{index-2c87c546.js → index-2d3b1b1f.js} +6 -6
  261. package/build/{index-3768e39f.js → index-2eeb4085.js} +1 -1
  262. package/build/{index-bd2f99d3.js → index-2f47c130.js} +2 -2
  263. package/build/{index-1f234442.js → index-2f85f81e.js} +2 -2
  264. package/build/{index-7a410af2.js → index-33aa939f.js} +2 -2
  265. package/build/{index-f0a0331f.js → index-3e820833.js} +3 -3
  266. package/build/{index-2aff761c.js → index-43801289.js} +6 -6
  267. package/build/{index-902998c7.js → index-49c51a50.js} +3 -3
  268. package/build/{index-5dd64df6.js → index-4ed699d3.js} +3 -3
  269. package/build/{index-75f70f79.js → index-55735b95.js} +13 -13
  270. package/build/{index-c41a2a48.js → index-5d0997a8.js} +2 -2
  271. package/build/{index-cb9f7cd1.js → index-64cda1d8.js} +16 -16
  272. package/build/{index-50c1bfbc.js → index-673b7e6c.js} +2 -2
  273. package/build/{index-e1eb1ae6.js → index-74b2f4e0.js} +18 -18
  274. package/build/{index-b81c269b.js → index-7bc970f9.js} +123 -20
  275. package/build/{index-689f4355.js → index-7e4ae0ee.js} +5 -5
  276. package/build/{index-8ec9f980.js → index-815629c3.js} +10 -10
  277. package/build/{index-6a1e186d.js → index-8d0b7180.js} +13 -13
  278. package/build/{index-47cfb19b.js → index-8fe240d2.js} +3 -3
  279. package/build/{index-c0b2ea34.js → index-9126ab41.js} +24 -24
  280. package/build/{index-746596a0.js → index-93f8b02b.js} +25 -25
  281. package/build/{index-8874551c.js → index-981f52d6.js} +143 -237
  282. package/build/{index-2ce4f4eb.js → index-a0da8432.js} +17 -17
  283. package/build/{index-6ade5916.js → index-a137c0ae.js} +1 -1
  284. package/build/{index-fe93dd8b.js → index-a23dadb0.js} +3 -3
  285. package/build/{index-ce149746.js → index-a539835a.js} +5 -5
  286. package/build/{index-3b0a2479.js → index-a53b3cc6.js} +16 -16
  287. package/build/{index-31b49abb.js → index-a726fd97.js} +2 -2
  288. package/build/{index-e32d8ee8.js → index-a9de2138.js} +6 -6
  289. package/build/{index-3406e829.js → index-adb06d0f.js} +1 -1
  290. package/build/{index-ba9bce1f.js → index-b69f9cf4.js} +3 -3
  291. package/build/{index-2076e957.js → index-b6a1f0aa.js} +13 -13
  292. package/build/{index-adb6c6d5.js → index-bb9b5863.js} +17 -17
  293. package/build/{index-79cf629b.js → index-bfa58a9e.js} +5 -5
  294. package/build/{index-5f6c750b.js → index-c05129ed.js} +2 -2
  295. package/build/{index-3d7e1dd3.js → index-c1ed95ee.js} +2 -2
  296. package/build/{index-24338ab8.js → index-c214f0bc.js} +1 -1
  297. package/build/{index-52f518fc.js → index-c698a26f.js} +18 -18
  298. package/build/{index-7b7d474a.js → index-ce2d5162.js} +16 -16
  299. package/build/{index-744a87f3.js → index-cf49fbe3.js} +22 -22
  300. package/build/{index-063f89e4.js → index-d1c20238.js} +31 -31
  301. package/build/{index-ebd567fe.js → index-d53ed0e1.js} +18 -18
  302. package/build/{index-f33829fe.js → index-d85a6f3e.js} +15 -15
  303. package/build/{index-a3c7205b.js → index-df96e37f.js} +21 -21
  304. package/build/{index-4534946a.js → index-e2c7980c.js} +1 -1
  305. package/build/{index-e6f5b01d.js → index-ed2fddc6.js} +6 -6
  306. package/build/{index-881c47f5.js → index-f25244d3.js} +2 -2
  307. package/build/{index-4f4ba0a8.js → index-f263cfb6.js} +1 -1
  308. package/build/{index-20f5cfe4.js → index-f9b543eb.js} +2 -2
  309. package/build/{index-4691b825.js → index-fd45212e.js} +4 -4
  310. package/build/index.js +118 -118
  311. package/build/interfaces/constants/domainLocales.d.ts +2 -2
  312. package/build/interfaces/types/Locale.d.ts +1 -1
  313. package/build/interfaces/types/index.d.ts +1 -1
  314. package/build/{labelSorting-7107d76b.js → labelSorting-2cd75e71.js} +4 -4
  315. package/build/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +15 -9
  316. package/build/lead/layouts/inline.d.ts +5 -3
  317. package/build/lead/layouts/lightbox/index.d.ts +2 -1
  318. package/build/lead/services/index.d.ts +14 -0
  319. package/build/lead.js +307 -127
  320. package/build/{logoIcon-05e7d336.js → logoIcon-0d9ca763.js} +2 -2
  321. package/build/mantine.js +22 -22
  322. package/build/misc.js +17 -17
  323. package/build/miscGetDynamicHealthTool.js +4 -4
  324. package/build/miscGetSocialList.js +8 -8
  325. package/build/miscScreenSizeContext.js +1 -1
  326. package/build/mobileBottomNavigation.js +5 -5
  327. package/build/mobileBottomNavigationIcon.js +5 -5
  328. package/build/molecules.js +74 -74
  329. package/build/moleculesArticleCard.js +6 -6
  330. package/build/moleculesArticleCardV2.js +16 -16
  331. package/build/navigation.js +46 -46
  332. package/build/navigationLogoutPopup.js +9 -9
  333. package/build/navigationProfileButton.js +30 -23
  334. package/build/onboardingV2.js +28 -28
  335. package/build/organisms.js +50 -50
  336. package/build/{post-1067b79d.js → post-6390f69c.js} +2 -2
  337. package/build/profileNavigation.js +19 -19
  338. package/build/progressBar.js +1 -1
  339. package/build/pwg.js +22 -22
  340. package/build/ssoV2/api/featureFlag.d.ts +2 -1
  341. package/build/ssoV2.js +50 -38
  342. package/build/{store-1f54641f.js → store-43a9c52b.js} +3 -3
  343. package/build/subot.js +35 -35
  344. package/build/surveyOrPremiumBanner.js +33 -33
  345. package/build/surveyQuestionCard.js +10 -10
  346. package/build/{surveyThankyouCard-c7976c91.js → surveyThankyouCard-08844088.js} +5 -5
  347. package/build/together.js +56 -56
  348. package/build/togetherApiUtils.js +4 -4
  349. package/build/togetherAtoms.js +30 -30
  350. package/build/togetherComponentGlobalContext.js +4 -4
  351. package/build/togetherMolecules.js +51 -51
  352. package/build/togetherMoleculesCardAuthor.js +28 -28
  353. package/build/togetherMoleculesPostImagePreview.js +11 -11
  354. package/build/togetherMoleculesProfileDetail.js +39 -39
  355. package/build/togetherOrganisms.js +50 -50
  356. package/build/togetherRichTextEditor.js +17 -17
  357. package/build/togetherShareBox.js +10 -10
  358. package/build/{translationsProvider-f5eb62fb.js → translationsProvider-e02dab82.js} +3 -2
  359. package/build/{treePopoverMenu-81dcc2fb.js → treePopoverMenu-d0866ea1.js} +19 -19
  360. package/build/{types-5b1915d0.js → types-33da7b11.js} +2 -2
  361. package/build/types.js +2 -2
  362. package/build/{useCategory-dbc7493b.js → useCategory-85326b94.js} +7 -7
  363. package/build/{useHealthToolCache-d04dee20.js → useHealthToolCache-58ca5955.js} +1 -1
  364. package/build/{useMantineLocale-99977b2c.js → useMantineLocale-900a5f15.js} +8 -8
  365. package/build/{usePlacesAutocomplete-a724c682.js → usePlacesAutocomplete-9851e33e.js} +1 -1
  366. package/build/{useScreenSize-024eee79.js → useScreenSize-67ba0401.js} +2 -2
  367. package/build/useTogetherAuthRequiredAction.js +10 -10
  368. package/build/{utils-24309a20.js → utils-0ae9d6be.js} +2 -2
  369. package/build/{utils-2ad45ccf.js → utils-37500956.js} +3 -3
  370. package/build/{utils-034228be.js → utils-5ebef175.js} +5 -5
  371. package/build/{utils-81f4dc9f.js → utils-ccb5622c.js} +2 -2
  372. package/build/vaccination.js +21 -21
  373. package/package.json +1 -1
  374. /package/build/{BMI_BOYS.percentile.monthly-0f0e8950.js → BMI_BOYS.percentile.monthly-d52e7c21.js} +0 -0
  375. /package/build/{BMI_BOYS.percentile.weekly-6ca5cfd8.js → BMI_BOYS.percentile.weekly-475898aa.js} +0 -0
  376. /package/build/{BMI_BOYS.percentile.yearly-d5dd265f.js → BMI_BOYS.percentile.yearly-baa93cae.js} +0 -0
  377. /package/build/{BMI_BOYS.zscore.monthly-af6471a6.js → BMI_BOYS.zscore.monthly-99524d7c.js} +0 -0
  378. /package/build/{BMI_BOYS.zscore.weekly-bd53fb96.js → BMI_BOYS.zscore.weekly-93482c03.js} +0 -0
  379. /package/build/{BMI_BOYS.zscore.yearly-6a8635e8.js → BMI_BOYS.zscore.yearly-c9196544.js} +0 -0
  380. /package/build/{BMI_GIRLS.percentile.monthly-b28425d2.js → BMI_GIRLS.percentile.monthly-141b420d.js} +0 -0
  381. /package/build/{BMI_GIRLS.percentile.weekly-36193f76.js → BMI_GIRLS.percentile.weekly-dc4835d3.js} +0 -0
  382. /package/build/{BMI_GIRLS.percentile.yearly-c37c6bb6.js → BMI_GIRLS.percentile.yearly-90202944.js} +0 -0
  383. /package/build/{BMI_GIRLS.zscore.monthly-e785f7fb.js → BMI_GIRLS.zscore.monthly-fb06b0a7.js} +0 -0
  384. /package/build/{BMI_GIRLS.zscore.weekly-988b1c9a.js → BMI_GIRLS.zscore.weekly-d15138d7.js} +0 -0
  385. /package/build/{BMI_GIRLS.zscore.yearly-04c202f8.js → BMI_GIRLS.zscore.yearly-0f8b9718.js} +0 -0
  386. /package/build/{ChevronDown-3676e93a.js → ChevronDown-5d95f3c8.js} +0 -0
  387. /package/build/{Close-43ee1c1b.js → Close-daf22856.js} +0 -0
  388. /package/build/{Google-d182206e.js → Google-a26f4eed.js} +0 -0
  389. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-03b27715.js → HEAD CIRCUM_BOYS.percentile.monthly-5437bd0c.js} +0 -0
  390. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-196467fc.js → HEAD CIRCUM_BOYS.percentile.weekly-a020ba30.js} +0 -0
  391. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-eaf66dde.js → HEAD CIRCUM_BOYS.percentile.yearly-d7bb90dd.js} +0 -0
  392. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-5ddad122.js → HEAD CIRCUM_BOYS.zscore.monthly-75421145.js} +0 -0
  393. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d86fb0f8.js → HEAD CIRCUM_BOYS.zscore.weekly-5751d48d.js} +0 -0
  394. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b6b3f27f.js → HEAD CIRCUM_BOYS.zscore.yearly-030144db.js} +0 -0
  395. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-2c4f561e.js → HEAD CIRCUM_GIRLS.percentile.monthly-e44d0557.js} +0 -0
  396. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-dd2ff4f7.js → HEAD CIRCUM_GIRLS.percentile.weekly-94257bb6.js} +0 -0
  397. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-1bd44bba.js → HEAD CIRCUM_GIRLS.percentile.yearly-9d207cc6.js} +0 -0
  398. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-4bda5db5.js → HEAD CIRCUM_GIRLS.zscore.monthly-9ea99455.js} +0 -0
  399. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-d22c28c4.js → HEAD CIRCUM_GIRLS.zscore.weekly-e2f9df38.js} +0 -0
  400. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-150114e8.js → HEAD CIRCUM_GIRLS.zscore.yearly-f737c6b6.js} +0 -0
  401. /package/build/{HEIGHT_BOYS.percentile.monthly-5b9bfc7d.js → HEIGHT_BOYS.percentile.monthly-c84a9ad9.js} +0 -0
  402. /package/build/{HEIGHT_BOYS.percentile.weekly-93d468ba.js → HEIGHT_BOYS.percentile.weekly-f1e5280b.js} +0 -0
  403. /package/build/{HEIGHT_BOYS.percentile.yearly-b1a7ed6f.js → HEIGHT_BOYS.percentile.yearly-fcdcc591.js} +0 -0
  404. /package/build/{HEIGHT_BOYS.zscore.monthly-8e05042a.js → HEIGHT_BOYS.zscore.monthly-519155ed.js} +0 -0
  405. /package/build/{HEIGHT_BOYS.zscore.weekly-5996389e.js → HEIGHT_BOYS.zscore.weekly-e63dadd4.js} +0 -0
  406. /package/build/{HEIGHT_BOYS.zscore.yearly-974dbf12.js → HEIGHT_BOYS.zscore.yearly-f41801f7.js} +0 -0
  407. /package/build/{HEIGHT_GIRLS.percentile.monthly-9ce96b3c.js → HEIGHT_GIRLS.percentile.monthly-36f00b2e.js} +0 -0
  408. /package/build/{HEIGHT_GIRLS.percentile.weekly-057f240f.js → HEIGHT_GIRLS.percentile.weekly-74df46ff.js} +0 -0
  409. /package/build/{HEIGHT_GIRLS.percentile.yearly-b1a82027.js → HEIGHT_GIRLS.percentile.yearly-e2b8d921.js} +0 -0
  410. /package/build/{HEIGHT_GIRLS.zscore.monthly-c258b871.js → HEIGHT_GIRLS.zscore.monthly-d5213f0a.js} +0 -0
  411. /package/build/{HEIGHT_GIRLS.zscore.weekly-e7c9b122.js → HEIGHT_GIRLS.zscore.weekly-bbe98469.js} +0 -0
  412. /package/build/{HEIGHT_GIRLS.zscore.yearly-54e927c1.js → HEIGHT_GIRLS.zscore.yearly-c6b7ee92.js} +0 -0
  413. /package/build/{Visible-95461448.js → Visible-2c519867.js} +0 -0
  414. /package/build/{WEIGHT_BOYS.percentile.monthly-b92e599b.js → WEIGHT_BOYS.percentile.monthly-815c2eea.js} +0 -0
  415. /package/build/{WEIGHT_BOYS.percentile.weekly-9483202e.js → WEIGHT_BOYS.percentile.weekly-8174f0dd.js} +0 -0
  416. /package/build/{WEIGHT_BOYS.percentile.yearly-e12a495f.js → WEIGHT_BOYS.percentile.yearly-bf9c2237.js} +0 -0
  417. /package/build/{WEIGHT_BOYS.zscore.monthly-07d3e811.js → WEIGHT_BOYS.zscore.monthly-278ca467.js} +0 -0
  418. /package/build/{WEIGHT_BOYS.zscore.weekly-9c41e1c2.js → WEIGHT_BOYS.zscore.weekly-5519637e.js} +0 -0
  419. /package/build/{WEIGHT_BOYS.zscore.yearly-b5a6b07e.js → WEIGHT_BOYS.zscore.yearly-4b823fe6.js} +0 -0
  420. /package/build/{WEIGHT_GIRLS.percentile.monthly-a625e91d.js → WEIGHT_GIRLS.percentile.monthly-30cab130.js} +0 -0
  421. /package/build/{WEIGHT_GIRLS.percentile.weekly-50d3d18c.js → WEIGHT_GIRLS.percentile.weekly-93fa1dcd.js} +0 -0
  422. /package/build/{WEIGHT_GIRLS.percentile.yearly-3dbcab37.js → WEIGHT_GIRLS.percentile.yearly-f9bb70cb.js} +0 -0
  423. /package/build/{WEIGHT_GIRLS.zscore.monthly-052de283.js → WEIGHT_GIRLS.zscore.monthly-a34bc77b.js} +0 -0
  424. /package/build/{WEIGHT_GIRLS.zscore.weekly-0304ddc7.js → WEIGHT_GIRLS.zscore.weekly-dfc18d73.js} +0 -0
  425. /package/build/{WEIGHT_GIRLS.zscore.yearly-8a4af2fc.js → WEIGHT_GIRLS.zscore.yearly-f3f4ae6f.js} +0 -0
  426. /package/build/{animation-4181334d.js → animation-8a6256ef.js} +0 -0
  427. /package/build/{constants-fde8e1b6.js → constants-b9863f51.js} +0 -0
  428. /package/build/{constants-67f1c1a7.js → constants-be98c567.js} +0 -0
  429. /package/build/{dataTransform-463ec7c6.js → dataTransform-3510ec18.js} +0 -0
  430. /package/build/esm/{BMI_BOYS.percentile.monthly-0f987438.js → BMI_BOYS.percentile.monthly-ddf4b769.js} +0 -0
  431. /package/build/esm/{BMI_BOYS.percentile.weekly-94619144.js → BMI_BOYS.percentile.weekly-fd78e151.js} +0 -0
  432. /package/build/esm/{BMI_BOYS.percentile.yearly-a3e6a596.js → BMI_BOYS.percentile.yearly-01ff7c34.js} +0 -0
  433. /package/build/esm/{BMI_BOYS.zscore.monthly-5a4de73f.js → BMI_BOYS.zscore.monthly-dd89fd90.js} +0 -0
  434. /package/build/esm/{BMI_BOYS.zscore.weekly-e0ccc680.js → BMI_BOYS.zscore.weekly-5313d526.js} +0 -0
  435. /package/build/esm/{BMI_BOYS.zscore.yearly-6259d48b.js → BMI_BOYS.zscore.yearly-2f994f16.js} +0 -0
  436. /package/build/esm/{BMI_GIRLS.percentile.monthly-c8a2f7b0.js → BMI_GIRLS.percentile.monthly-ae38f9bc.js} +0 -0
  437. /package/build/esm/{BMI_GIRLS.percentile.weekly-84020e17.js → BMI_GIRLS.percentile.weekly-07d09a20.js} +0 -0
  438. /package/build/esm/{BMI_GIRLS.percentile.yearly-b26bc2da.js → BMI_GIRLS.percentile.yearly-19a86264.js} +0 -0
  439. /package/build/esm/{BMI_GIRLS.zscore.monthly-1cca48d8.js → BMI_GIRLS.zscore.monthly-140c8068.js} +0 -0
  440. /package/build/esm/{BMI_GIRLS.zscore.weekly-2f948ef8.js → BMI_GIRLS.zscore.weekly-6e1c8f00.js} +0 -0
  441. /package/build/esm/{BMI_GIRLS.zscore.yearly-6951eb0c.js → BMI_GIRLS.zscore.yearly-66511b2a.js} +0 -0
  442. /package/build/esm/{ChevronDown-3ac1406c.js → ChevronDown-4a976df4.js} +0 -0
  443. /package/build/esm/{Close-17ff85ca.js → Close-ed01010d.js} +0 -0
  444. /package/build/esm/{Google-69447578.js → Google-e60b5ef7.js} +0 -0
  445. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-10c43e03.js → HEAD CIRCUM_BOYS.percentile.monthly-fd4e38bd.js} +0 -0
  446. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-6d265c6c.js → HEAD CIRCUM_BOYS.percentile.weekly-4c23857b.js} +0 -0
  447. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-651b7863.js → HEAD CIRCUM_BOYS.percentile.yearly-465a33e1.js} +0 -0
  448. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-24aebf5f.js → HEAD CIRCUM_BOYS.zscore.monthly-782e93d8.js} +0 -0
  449. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-85003772.js → HEAD CIRCUM_BOYS.zscore.weekly-65c18f33.js} +0 -0
  450. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5d799bf4.js → HEAD CIRCUM_BOYS.zscore.yearly-be98d174.js} +0 -0
  451. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-171262e7.js → HEAD CIRCUM_GIRLS.percentile.monthly-daca9a3f.js} +0 -0
  452. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-7b2f08bb.js → HEAD CIRCUM_GIRLS.percentile.weekly-1b432c75.js} +0 -0
  453. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-02ca680f.js → HEAD CIRCUM_GIRLS.percentile.yearly-f94af9d5.js} +0 -0
  454. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-78ba93e4.js → HEAD CIRCUM_GIRLS.zscore.monthly-bdf85c1d.js} +0 -0
  455. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-1b3d2e84.js → HEAD CIRCUM_GIRLS.zscore.weekly-329ac0af.js} +0 -0
  456. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-193adc49.js → HEAD CIRCUM_GIRLS.zscore.yearly-1104bb57.js} +0 -0
  457. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c64753ce.js → HEIGHT_BOYS.percentile.monthly-615c84c4.js} +0 -0
  458. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-6c28fe0a.js → HEIGHT_BOYS.percentile.weekly-81de7841.js} +0 -0
  459. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-eefdb67a.js → HEIGHT_BOYS.percentile.yearly-011ec02d.js} +0 -0
  460. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-dda9d0d0.js → HEIGHT_BOYS.zscore.monthly-5e0b5e95.js} +0 -0
  461. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-7f2ba8b0.js → HEIGHT_BOYS.zscore.weekly-74eef358.js} +0 -0
  462. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0ffa8881.js → HEIGHT_BOYS.zscore.yearly-a93832ba.js} +0 -0
  463. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e8291e32.js → HEIGHT_GIRLS.percentile.monthly-6fccbd4c.js} +0 -0
  464. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-9fbf10d2.js → HEIGHT_GIRLS.percentile.weekly-6f25fe30.js} +0 -0
  465. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-82649515.js → HEIGHT_GIRLS.percentile.yearly-709f07cb.js} +0 -0
  466. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-8c913348.js → HEIGHT_GIRLS.zscore.monthly-785a6392.js} +0 -0
  467. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-f40f4ea2.js → HEIGHT_GIRLS.zscore.weekly-df3f7336.js} +0 -0
  468. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-4490bfe0.js → HEIGHT_GIRLS.zscore.yearly-7ff13638.js} +0 -0
  469. /package/build/esm/{Visible-3205e4d9.js → Visible-296586f5.js} +0 -0
  470. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-ecd63c2a.js → WEIGHT_BOYS.percentile.monthly-6db5e928.js} +0 -0
  471. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7101cd47.js → WEIGHT_BOYS.percentile.weekly-ac3c88c1.js} +0 -0
  472. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-538c1f35.js → WEIGHT_BOYS.percentile.yearly-e6b5cbc8.js} +0 -0
  473. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-ef6d5e32.js → WEIGHT_BOYS.zscore.monthly-5159a293.js} +0 -0
  474. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-ae26b922.js → WEIGHT_BOYS.zscore.weekly-e80388e7.js} +0 -0
  475. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-8a3e3ad8.js → WEIGHT_BOYS.zscore.yearly-627406cc.js} +0 -0
  476. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-819eac3b.js → WEIGHT_GIRLS.percentile.monthly-73bc1949.js} +0 -0
  477. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-6e7f4f28.js → WEIGHT_GIRLS.percentile.weekly-b822e263.js} +0 -0
  478. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-9da1f5e7.js → WEIGHT_GIRLS.percentile.yearly-c240ad75.js} +0 -0
  479. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-c5fad87a.js → WEIGHT_GIRLS.zscore.monthly-8a2b79a8.js} +0 -0
  480. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-a2343c87.js → WEIGHT_GIRLS.zscore.weekly-7c23c98b.js} +0 -0
  481. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9df486d2.js → WEIGHT_GIRLS.zscore.yearly-bb2d6b5b.js} +0 -0
  482. /package/build/esm/{animation-d78bce40.js → animation-306385a2.js} +0 -0
  483. /package/build/esm/{constants-f0d695be.js → constants-25a749ca.js} +0 -0
  484. /package/build/esm/{constants-bf245cfc.js → constants-d39cd740.js} +0 -0
  485. /package/build/esm/{dataTransform-b06549ef.js → dataTransform-2086f0dd.js} +0 -0
  486. /package/build/esm/{index-e18e8904.js → index-06dec122.js} +0 -0
  487. /package/build/esm/{index-7a64cf8c.js → index-0d88f68b.js} +0 -0
  488. /package/build/esm/{index-23cfa29e.js → index-1564f3a0.js} +0 -0
  489. /package/build/esm/{index-86928e1c.js → index-3876fa92.js} +0 -0
  490. /package/build/esm/{index-f4fd0a19.js → index-4561631a.js} +0 -0
  491. /package/build/esm/{index-08e71721.js → index-6a9f8d45.js} +0 -0
  492. /package/build/esm/{index-a0256d40.js → index-7ba048ce.js} +0 -0
  493. /package/build/esm/{index-553a8acd.js → index-d22b56b0.js} +0 -0
  494. /package/build/esm/{index.styles-f9fed606.js → index.styles-f825f1af.js} +0 -0
  495. /package/build/esm/{localizeNumberFormat-6ed13ae9.js → localizeNumberFormat-0a6506ce.js} +0 -0
  496. /package/build/esm/{normalizeLink-d94e4b86.js → normalizeLink-5e1e2105.js} +0 -0
  497. /package/build/esm/{number-1af06f44.js → number-7c47f2d5.js} +0 -0
  498. /package/build/esm/{other-40404e5b.js → other-3bfec277.js} +0 -0
  499. /package/build/esm/{paths-a4786e69.js → paths-2f2e740b.js} +0 -0
  500. /package/build/esm/{translationsContext-c6c49512.js → translationsContext-dbda4f34.js} +0 -0
  501. /package/build/esm/{tslib.es6-c5c88a1a.js → tslib.es6-11a22860.js} +0 -0
  502. /package/build/esm/{types-81949c69.js → types-498281b7.js} +0 -0
  503. /package/build/esm/{useIsInit-30f5f78e.js → useIsInit-e1e602de.js} +0 -0
  504. /package/build/esm/{useOutsideClick-6787788b.js → useOutsideClick-df827206.js} +0 -0
  505. /package/build/esm/{useScrollbarSize-55e0077a.js → useScrollbarSize-b4e10c78.js} +0 -0
  506. /package/build/esm/{useUniqueId-f3059730.js → useUniqueId-287843bc.js} +0 -0
  507. /package/build/esm/{utils-08e14341.js → utils-de6517d5.js} +0 -0
  508. /package/build/{index-fc6206bb.js → index-17c1ec02.js} +0 -0
  509. /package/build/{index-3310c89c.js → index-5a0dd952.js} +0 -0
  510. /package/build/{index-e8f27a51.js → index-5cbdc80d.js} +0 -0
  511. /package/build/{index-fb29ea2e.js → index-66b6d34a.js} +0 -0
  512. /package/build/{index-69d6b55a.js → index-68b5de8a.js} +0 -0
  513. /package/build/{index-bfa52b7e.js → index-c81c5219.js} +0 -0
  514. /package/build/{index-6bf92899.js → index-d3825b64.js} +0 -0
  515. /package/build/{index-e147368a.js → index-d92766dd.js} +0 -0
  516. /package/build/{index.styles-ad0e2a1c.js → index.styles-9a34a787.js} +0 -0
  517. /package/build/{localizeNumberFormat-1e9ffba9.js → localizeNumberFormat-c85beb91.js} +0 -0
  518. /package/build/{normalizeLink-29ad1a48.js → normalizeLink-44add25f.js} +0 -0
  519. /package/build/{number-a1d1a3e8.js → number-b28b8ef5.js} +0 -0
  520. /package/build/{other-a24227cb.js → other-f300585d.js} +0 -0
  521. /package/build/{paths-ba427992.js → paths-0ea26e81.js} +0 -0
  522. /package/build/{translationsContext-88001140.js → translationsContext-2f1c80b1.js} +0 -0
  523. /package/build/{tslib.es6-2e1003f0.js → tslib.es6-79f9e81b.js} +0 -0
  524. /package/build/{types-a9fd2be7.js → types-4373b761.js} +0 -0
  525. /package/build/{useIsInit-aa8fcf21.js → useIsInit-2a3796a4.js} +0 -0
  526. /package/build/{useOutsideClick-d6024eed.js → useOutsideClick-70cb2e16.js} +0 -0
  527. /package/build/{useScrollbarSize-b0a1940c.js → useScrollbarSize-6ad52b00.js} +0 -0
  528. /package/build/{useUniqueId-5d011c4f.js → useUniqueId-b99682fe.js} +0 -0
  529. /package/build/{utils-72b35cc7.js → utils-bcebb378.js} +0 -0
package/build/lead.js CHANGED
@@ -2,56 +2,56 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('./tslib.es6-2e1003f0.js');
5
+ var tslib_es6 = require('./tslib.es6-79f9e81b.js');
6
6
  var React = require('react');
7
7
  var core = require('@mantine/core');
8
8
  var debounce = require('lodash/debounce');
9
9
  var form = require('@mantine/form');
10
10
  var dayjs = require('dayjs');
11
- var index = require('./index-4691b825.js');
11
+ var index = require('./index-fd45212e.js');
12
12
  var miscCookieHelper = require('./miscCookieHelper.js');
13
- var index$1 = require('./index-2dcee304.js');
14
- var translationsContext = require('./translationsContext-88001140.js');
15
- var utils$1 = require('./utils-72b35cc7.js');
16
- var index$2 = require('./index-b090eec3.js');
17
- var index$3 = require('./index-71b569d9.js');
18
- var index$5 = require('./index-2c87c546.js');
19
- var index$4 = require('./index-6ade5916.js');
20
- require('./index.styles-ad0e2a1c.js');
13
+ var index$1 = require('./index-07600719.js');
14
+ var translationsContext = require('./translationsContext-2f1c80b1.js');
15
+ var utils$1 = require('./utils-bcebb378.js');
16
+ var index$2 = require('./index-1c5b2c3a.js');
17
+ var index$3 = require('./index-1cedce27.js');
18
+ var index$5 = require('./index-2d3b1b1f.js');
19
+ var index$4 = require('./index-a137c0ae.js');
20
+ require('./index.styles-9a34a787.js');
21
21
  var hooks = require('@mantine/hooks');
22
- require('./useMantineLocale-99977b2c.js');
23
- var index$9 = require('./index-4f4ba0a8.js');
24
- require('./index-fb29ea2e.js');
25
- var index$7 = require('./index-689f4355.js');
26
- require('./other-a24227cb.js');
27
- require('./index-5dd64df6.js');
28
- var utils = require('./utils-81f4dc9f.js');
22
+ require('./useMantineLocale-900a5f15.js');
23
+ var index$9 = require('./index-f263cfb6.js');
24
+ require('./index-66b6d34a.js');
25
+ var index$7 = require('./index-7e4ae0ee.js');
26
+ require('./other-f300585d.js');
27
+ require('./index-4ed699d3.js');
28
+ var utils = require('./utils-ccb5622c.js');
29
29
  var dates = require('@mantine/dates');
30
- var usePlacesAutocomplete = require('./usePlacesAutocomplete-a724c682.js');
31
- var index$6 = require('./index-3d7e1dd3.js');
32
- var translationsProvider = require('./translationsProvider-f5eb62fb.js');
33
- var Locale = require('./Locale-c6661f1a.js');
30
+ var usePlacesAutocomplete = require('./usePlacesAutocomplete-9851e33e.js');
31
+ var index$6 = require('./index-c1ed95ee.js');
32
+ var translationsProvider = require('./translationsProvider-e02dab82.js');
33
+ var Locale = require('./Locale-ef189ed8.js');
34
34
  var uuid = require('uuid');
35
+ var constantsDomainLocales = require('./constantsDomainLocales.js');
35
36
  var PhoneInputBase = require('react-phone-number-input');
36
37
  var styled = require('@emotion/styled');
37
38
  var miscTheme = require('./miscTheme.js');
38
39
  var react = require('@emotion/react');
39
- var togetherComponentGlobalContext = require('./utils-2ad45ccf.js');
40
- var index$8 = require('./index-6bf92899.js');
41
- var useScreenSize = require('./useScreenSize-024eee79.js');
40
+ var togetherComponentGlobalContext = require('./utils-37500956.js');
41
+ var index$8 = require('./index-d3825b64.js');
42
+ var useScreenSize = require('./useScreenSize-67ba0401.js');
42
43
  var framerMotion = require('framer-motion');
43
44
  var ReactDOM = require('react-dom');
44
- var index$a = require('./index-bcb8a9f1.js');
45
- var InputDate = require('./InputDate-67ffe3ac.js');
46
- var index$b = require('./index-c41a2a48.js');
47
- var Close = require('./Close-43ee1c1b.js');
45
+ var index$a = require('./index-11f6ca91.js');
46
+ var InputDate = require('./InputDate-a5e7e2a2.js');
47
+ var index$b = require('./index-5d0997a8.js');
48
+ var Close = require('./Close-daf22856.js');
48
49
  require('./constantsIsProduction.js');
49
- require('./normalizeLink-29ad1a48.js');
50
- require('./constantsDomainLocales.js');
50
+ require('./normalizeLink-44add25f.js');
51
51
  require('@hhgtech/icons/other');
52
52
  require('@mantine/carousel');
53
53
  require('classnames');
54
- require('./useUniqueId-5d011c4f.js');
54
+ require('./useUniqueId-b99682fe.js');
55
55
  require('./constantsSite.js');
56
56
  require('@hhgtech/icons/core');
57
57
  require('@mantine/notifications');
@@ -67,12 +67,13 @@ require('./i18n-values/th-TH.js');
67
67
  require('./i18n-values/tl-PH.js');
68
68
  require('./i18n-values/vi-VN.js');
69
69
  require('./i18n-values/vi-VN_MB.js');
70
+ require('./i18n-values/zh-SG.js');
70
71
  require('./i18n-values/zh-TW.js');
71
- require('./index-69d6b55a.js');
72
+ require('./index-68b5de8a.js');
72
73
  require('slugify');
73
74
  require('string-format');
74
75
  require('./togetherApiPaths.js');
75
- require('./constants-fde8e1b6.js');
76
+ require('./constants-b9863f51.js');
76
77
  require('vaul');
77
78
 
78
79
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -187,11 +188,6 @@ const LEAD_TIMEZONE_DATA = {
187
188
  9: 'Asia/Manila', // Philippines / Filipinos Site
188
189
  };
189
190
 
190
- const LEADGEN_ACTIONS = {
191
- SHOW: 'SHOW',
192
- SCROLL: 'SCROLL',
193
- TIME: 'TIME',
194
- };
195
191
  var LEADGEN_LAYOUT;
196
192
  (function (LEADGEN_LAYOUT) {
197
193
  LEADGEN_LAYOUT["LightBoxA"] = "LightBoxA";
@@ -590,6 +586,13 @@ const campaignPostImpression = ({ code, action, title_article, ga_client_id, coo
590
586
  },
591
587
  });
592
588
  };
589
+ const trackingSubscription = (data) => {
590
+ return leadApi.call({
591
+ url: `api/collection/tracking-subscription`,
592
+ method: METHOD.POST,
593
+ data,
594
+ });
595
+ };
593
596
  const Service = {
594
597
  campaignGetById,
595
598
  getCampaignByCode,
@@ -597,6 +600,7 @@ const Service = {
597
600
  postSubscriptionBoxLead,
598
601
  postUserInfoFromLeadGen,
599
602
  campaignPostImpression,
603
+ trackingSubscription,
600
604
  validateEmailOrPhoneOnSubot,
601
605
  validateEmailOrPhoneOnLeadGen,
602
606
  validatePhoneNumberOnLeadGen,
@@ -1630,7 +1634,7 @@ const translationsMap = {
1630
1634
  'my-MM': myMM,
1631
1635
  'km-KH': kmKH,
1632
1636
  'zh-TW': zhTW,
1633
- 'zh-CN': zhTW,
1637
+ 'zh-SG': zhTW,
1634
1638
  'th-TH': thTH,
1635
1639
  'tl-PH': enPH,
1636
1640
  };
@@ -2011,27 +2015,30 @@ const LeadGenContext = React.createContext({
2011
2015
  LeadLog('** LeadGen SubmitSubscriptionBox : ', value);
2012
2016
  return Promise.reject(value);
2013
2017
  },
2014
- impression(value) {
2018
+ impression(type) {
2015
2019
  /** Init for FAKING function */
2016
- LeadLog('** LeadGen Impression : ', value);
2017
- return Promise.reject(value);
2020
+ LeadLog('** LeadGen Impression : ', type);
2021
+ return Promise.reject();
2018
2022
  },
2019
2023
  /** For Subscription Box */
2020
2024
  subscriptionIcon: '',
2021
2025
  subscriptionTitle: '',
2026
+ subscriptionPhoneType: '',
2022
2027
  });
2023
2028
  const LeadGenContextProvider = (props) => {
2024
- const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children } = props, restProps = tslib_es6.__rest(props, ["campaign_code", "apiSsoUrl", "apiLeadUrl", "apiSubotUrl", "locale", "forceCampaign", "extraValues", "articleId", "categoryId", "siteDomain", "children"]);
2029
+ const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children, userInfo } = props, restProps = tslib_es6.__rest(props, ["campaign_code", "apiSsoUrl", "apiLeadUrl", "apiSubotUrl", "locale", "forceCampaign", "extraValues", "articleId", "categoryId", "siteDomain", "children", "userInfo"]);
2030
+ const { t } = index$1.useTranslations();
2025
2031
  const [forceCampaign, setForceCampaign] = React.useState(forceCampaignProps);
2026
2032
  const [subscriptionInfo, setSubscriptionInfo] = React.useState({
2027
2033
  subscriptionIcon: '',
2028
2034
  subscriptionTitle: '',
2029
2035
  subscriptionType: 'TypeA',
2036
+ subscriptionPhoneType: '',
2030
2037
  });
2031
2038
  const locale = React.useMemo(() => {
2032
2039
  return localeProps || Locale.LOCALE['PhilippinesEnglish'];
2033
2040
  }, [localeProps]);
2034
- const { url, campaign_id, campaign_code, cookie_id, ga_client_id, category_id, article_id, article_title, } = React.useMemo(() => ({
2041
+ const { url, campaign_id, cookie_id, ga_client_id, category_id, article_id, article_title, category_name, } = React.useMemo(() => ({
2035
2042
  url: location.href.toLowerCase() || '',
2036
2043
  cookie_id: miscCookieHelper.getCookie('hhg-id') || null,
2037
2044
  ga_client_id: miscCookieHelper.getCookie('_ga'),
@@ -2040,27 +2047,33 @@ const LeadGenContextProvider = (props) => {
2040
2047
  category_id: categoryId,
2041
2048
  article_id: articleId,
2042
2049
  article_title: (extraValues === null || extraValues === void 0 ? void 0 : extraValues.article_title) || document.title || '',
2050
+ category_name: (extraValues === null || extraValues === void 0 ? void 0 : extraValues.category_name) || '',
2043
2051
  }), [
2044
2052
  campaignCodeProps,
2045
2053
  articleId,
2046
2054
  categoryId,
2047
2055
  forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id,
2048
2056
  extraValues === null || extraValues === void 0 ? void 0 : extraValues.article_title,
2057
+ extraValues === null || extraValues === void 0 ? void 0 : extraValues.category_name,
2049
2058
  ]);
2050
- const fetchCampaign = React.useCallback((campaign_code) => {
2051
- Service.getCampaignByCode(campaign_code).then((res) => {
2052
- const { _data } = res || {};
2053
- const { campaigns } = _data || {};
2054
- LeadLog('** LeadGen Campaign : ', campaigns);
2055
- setForceCampaign(formatCampaignDetail(campaigns));
2056
- });
2057
- }, [campaignCodeProps]);
2059
+ // const fetchCampaign = useCallback(
2060
+ // (campaign_code: string) => {
2061
+ // Service.getCampaignByCode(campaign_code).then((res) => {
2062
+ // const { _data } = res || {}
2063
+ // const { campaigns } = _data || {}
2064
+ // LeadLog('** LeadGen Campaign : ', campaigns)
2065
+ // setForceCampaign(formatCampaignDetail(campaigns))
2066
+ // })
2067
+ // },
2068
+ // [campaignCodeProps],
2069
+ // )
2058
2070
  // TODO : Update form for LeadGen
2059
2071
  const submit = React.useCallback((data) => {
2060
2072
  return Service.postSubscriptionBoxLead({ data });
2061
2073
  }, []);
2062
2074
  const submitSubscriptionBox = React.useCallback((value) => {
2063
- const data = Object.assign(Object.assign(Object.assign(Object.assign({}, value), { campaign_id,
2075
+ const data = Object.assign(Object.assign(Object.assign(Object.assign({}, value), {
2076
+ // campaign_id,
2064
2077
  site_domain, url: (value === null || value === void 0 ? void 0 : value.url) || url, cookie_id, ga_client_id: (value === null || value === void 0 ? void 0 : value.ga_client_id) || ga_client_id }), extraValues), { article_id,
2065
2078
  category_id,
2066
2079
  article_title });
@@ -2076,33 +2089,36 @@ const LeadGenContextProvider = (props) => {
2076
2089
  cookie_id,
2077
2090
  ga_client_id,
2078
2091
  ]);
2079
- const impression = React.useCallback((value) => {
2092
+ const impression = React.useCallback((type) => {
2093
+ const gaCookie = miscCookieHelper.getCookie('_ga') || null;
2080
2094
  const impression = {
2081
- url: (value === null || value === void 0 ? void 0 : value.url) || url,
2082
- action: (value === null || value === void 0 ? void 0 : value.action) || LEADGEN_ACTIONS.SCROLL,
2083
- code: (value === null || value === void 0 ? void 0 : value.code) || campaign_code,
2084
- title_article: (value === null || value === void 0 ? void 0 : value.title_article) || article_title,
2085
- cookie_id: (value === null || value === void 0 ? void 0 : value.cookie_id) || cookie_id,
2086
- ga_client_id: (value === null || value === void 0 ? void 0 : value.ga_client_id) || ga_client_id,
2087
- referrer: value === null || value === void 0 ? void 0 : value.referrer,
2088
- extra: Object.assign(Object.assign(Object.assign({}, value === null || value === void 0 ? void 0 : value.extra), { cookie_id,
2089
- article_id, subscription_title: subscriptionInfo.subscriptionTitle, subscription_type: subscriptionInfo.subscriptionType }), extraValues),
2095
+ subscription_title: subscriptionInfo.subscriptionTitle,
2096
+ name: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.name) || '',
2097
+ area_code: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.area_code) || '',
2098
+ phone_number: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone) || '',
2099
+ site_domain: constantsDomainLocales.domainLocales[locale],
2100
+ url: location.href.toLowerCase(),
2101
+ cookie_id: miscCookieHelper.getCookie('hhg-id'),
2102
+ ga_client_id: gaCookie,
2103
+ article_title,
2104
+ article_id,
2105
+ category_id,
2106
+ category_name,
2107
+ type,
2090
2108
  };
2091
- if (!impression.extra.subscription_title) {
2092
- delete impression.extra.subscription_title;
2093
- }
2094
- return Service.campaignPostImpression(impression);
2109
+ return Service.trackingSubscription(impression);
2095
2110
  }, [
2096
- extraValues,
2097
2111
  campaign_id,
2098
2112
  url,
2099
- campaign_code,
2100
2113
  article_title,
2101
2114
  cookie_id,
2102
2115
  ga_client_id,
2116
+ categoryId,
2103
2117
  article_id,
2104
2118
  subscriptionInfo.subscriptionTitle,
2105
- subscriptionInfo.subscriptionType,
2119
+ userInfo === null || userInfo === void 0 ? void 0 : userInfo.name,
2120
+ userInfo === null || userInfo === void 0 ? void 0 : userInfo.area_code,
2121
+ userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone,
2106
2122
  ]);
2107
2123
  React.useEffect(() => {
2108
2124
  if (forceCampaignProps) {
@@ -2117,21 +2133,138 @@ const LeadGenContextProvider = (props) => {
2117
2133
  slug: location === null || location === void 0 ? void 0 : location.pathname,
2118
2134
  }).then((res) => {
2119
2135
  const { _data } = res || {};
2120
- const { item, campaign_code } = _data || {};
2136
+ const { item, campaign_code, btn_type = 'zalo' } = _data || {};
2121
2137
  const { icon, content } = item || {};
2122
2138
  LeadLog('** LeadGen SubscriptionBox campaign_code : ', campaign_code);
2123
2139
  LeadLog('** LeadGen SubscriptionBox subscription_icon : ', icon);
2124
2140
  LeadLog('** LeadGen SubscriptionBox subscription_title : ', content);
2125
- setSubscriptionInfo((prev) => (Object.assign(Object.assign({}, prev), { subscriptionIcon: icon, subscriptionTitle: content })));
2126
- if (campaign_code) {
2127
- fetchCampaign(campaign_code);
2128
- }
2141
+ setSubscriptionInfo((prev) => (Object.assign(Object.assign({}, prev), { subscriptionIcon: icon, subscriptionTitle: content, subscriptionPhoneType: btn_type })));
2142
+ setForceCampaign(formatCampaignDetail({
2143
+ id: 6993,
2144
+ name: '',
2145
+ code: '49qvztwzzlfvmk6',
2146
+ site: {
2147
+ id: index$7.LOCALE_SPECS[locale].SITE_ID || 1,
2148
+ name: constantsDomainLocales.domainLocales[locale],
2149
+ },
2150
+ thank_you_image: 'https://cdn-lead.hellohealthgroup.com/2025/05/1747009374_68213f5e5fa5a9.58533462.png',
2151
+ extra_fields: {
2152
+ actionBlocks: `{"submitBlock":{"data":{"value":"${t('subscriptionBox.ctaBtn')}"}},"linkButtonBlock":{"data":{"value":"Join now","url":"","newtab":true}}}`,
2153
+ currentLayout: 'LightBoxB',
2154
+ imageBlocks: '{"imageMobile":{"data":{"url":"","newtab":true}},"imageDesktop":{"data":{"url":"","newtab":true}},"imageBackground":{"data":{}},"imageOverlayMobile":{"data":{}},"imageOverlayDesktop":{"data":{}},"imageThankYou":{"data":{}}}',
2155
+ listBlockAdded: `[{"name":"TextBlock","id":"c9be7202-05af-4d62-94bb-0001f8ad50de","data":{"placeholder":"${t('subscriptionBox.name')}","value":"name","required":true, "requiredMessage": "${t('subscriptionBox.nameRequire')}"}},{"name":"PhoneBlock","id":1744087889773,"data":{"value":"phone","required":true,"requiredMessage": "${t('subscriptionBox.phoneRequire')}","placeholder":"${t('subscriptionBox.phone')}"}}]`,
2156
+ listBlockThankyou: `[{"name":"TitleBlock","id":"c74d5525-b7ae-4714-b5f1-552f50160ac1","data":{"value":"${t('subscriptionBox.thankyouTitle')}","align":"center"}},{"name":"SubtitleBlock","id":"f9a6ac63-b532-41d4-9c2e-3f3e71124e05","data":{"value":"${t('subscriptionBox.thankyou')}","align":"center"}}]`,
2157
+ textBlocks: '{"titleBlock":{"data":{"value":"VN - Campaign SUBSCRIPTION BOX "}},"subtitleBlock":{"data":{"value":"Sample description"}}}',
2158
+ },
2159
+ total_lead: 0,
2160
+ total_submit: 0,
2161
+ total_click: 0,
2162
+ started_at: null,
2163
+ ended_at: null,
2164
+ created_at: '2025-04-08 04:54:32',
2165
+ updated_at: '2025-05-12 00:22:54',
2166
+ site_logo: 'https://hhg-common.hellobacsi.com/common/logo/hellobacsi.png',
2167
+ custom_logo: null,
2168
+ status: 1,
2169
+ formatted_status: 1,
2170
+ creator: 'admin@hellohealthgroup.com',
2171
+ total_impression: 4237940,
2172
+ conversion_rate: 0,
2173
+ total_visitor: 0,
2174
+ total_habit_exit: 0,
2175
+ total_intentional_exit: 0,
2176
+ trigger_type: 'on_landing',
2177
+ targets: [
2178
+ {
2179
+ is_import: 0,
2180
+ option: 'start_with',
2181
+ sub_target: [],
2182
+ target: 'https://hellobacsi.com/sample',
2183
+ type: 1,
2184
+ },
2185
+ ],
2186
+ forms: [
2187
+ {
2188
+ control: 'TextBlock',
2189
+ default: null,
2190
+ name: 'TextBlock',
2191
+ options: [],
2192
+ required: 1,
2193
+ },
2194
+ {
2195
+ control: 'PhoneBlock',
2196
+ default: null,
2197
+ name: 'PhoneBlock',
2198
+ options: [],
2199
+ required: 1,
2200
+ requiredMessage: t('subscriptionBox.phoneRequire'),
2201
+ },
2202
+ ],
2203
+ rules: [
2204
+ {
2205
+ rule: 'campaign_popup_exit',
2206
+ value: '7',
2207
+ },
2208
+ {
2209
+ rule: 'site_popup_exit',
2210
+ value: '7',
2211
+ },
2212
+ {
2213
+ rule: 'show_again_after_submit',
2214
+ value: '0',
2215
+ },
2216
+ {
2217
+ rule: 'show_again_after_exit',
2218
+ value: '0',
2219
+ },
2220
+ {
2221
+ rule: 'appearance_time',
2222
+ value: {
2223
+ endTime: null,
2224
+ startTime: null,
2225
+ },
2226
+ },
2227
+ {
2228
+ rule: 'exclude_sponsored',
2229
+ value: '1',
2230
+ },
2231
+ {
2232
+ rule: 'exclude_sponsored_list',
2233
+ value: [],
2234
+ },
2235
+ {
2236
+ rule: 'days_to_show_again',
2237
+ value: '7',
2238
+ },
2239
+ {
2240
+ rule: 'time',
2241
+ value: '3',
2242
+ },
2243
+ ],
2244
+ is_scheduled: true,
2245
+ last_step: null,
2246
+ kpis: {
2247
+ lead: 500,
2248
+ },
2249
+ forever: 1,
2250
+ is_target_import: 0,
2251
+ is_expired: 0,
2252
+ score: 6,
2253
+ price: 2.5,
2254
+ type: 0,
2255
+ is_testing_running: 0,
2256
+ campaign_group_id: 0,
2257
+ bot_id: [],
2258
+ }));
2259
+ // if (campaign_code) {
2260
+ // fetchCampaign(campaign_code)
2261
+ // }
2129
2262
  });
2130
2263
  return;
2131
2264
  }
2132
- if (campaignCodeProps) {
2133
- fetchCampaign(campaignCodeProps);
2134
- }
2265
+ // if (campaignCodeProps) {
2266
+ // fetchCampaign(campaignCodeProps)
2267
+ // }
2135
2268
  }, [forceCampaignProps, campaignCodeProps, categoryId]);
2136
2269
  React.useEffect(() => {
2137
2270
  leadStore.apiSsoUrl = apiSsoUrl;
@@ -2141,7 +2274,7 @@ const LeadGenContextProvider = (props) => {
2141
2274
  if (!forceCampaign || !(forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id)) {
2142
2275
  return null;
2143
2276
  }
2144
- return (React__default["default"].createElement(LeadGenContext.Provider, { value: Object.assign(Object.assign(Object.assign({}, restProps), subscriptionInfo), { campaign_code: campaignCodeProps, apiSsoUrl,
2277
+ return (React__default["default"].createElement(LeadGenContext.Provider, { value: Object.assign(Object.assign(Object.assign({}, restProps), subscriptionInfo), { userInfo, campaign_code: campaignCodeProps, apiSsoUrl,
2145
2278
  apiLeadUrl,
2146
2279
  apiSubotUrl, locale: localeProps, extraValues,
2147
2280
  articleId,
@@ -2156,6 +2289,35 @@ const useLeadGenContext = () => {
2156
2289
  return Object.assign(Object.assign({}, context), { apiSsoUrl: context.apiSsoUrl || leadStore.apiSsoUrl, apiLeadUrl: context.apiLeadUrl || leadStore.apiLeadUrl, apiSubotUrl: context.apiSubotUrl || leadStore.apiSubotUrl });
2157
2290
  };
2158
2291
 
2292
+ const ImpressionTrackingWrapper = ({ children, stayDuration = 1, onImpression, dependency = '', }) => {
2293
+ const { ref, entry } = hooks.useIntersection({
2294
+ threshold: 1,
2295
+ });
2296
+ const [tracked, setTracked] = React.useState(false);
2297
+ React.useEffect(() => {
2298
+ let timer = null;
2299
+ let count = 0;
2300
+ if ((entry === null || entry === void 0 ? void 0 : entry.isIntersecting) && !tracked) {
2301
+ timer = setInterval(() => {
2302
+ if (count > stayDuration) {
2303
+ setTracked(true);
2304
+ }
2305
+ else {
2306
+ count += 1;
2307
+ }
2308
+ }, stayDuration * 1000);
2309
+ }
2310
+ return () => clearInterval(timer);
2311
+ }, [entry === null || entry === void 0 ? void 0 : entry.isIntersecting, tracked]);
2312
+ React.useEffect(() => {
2313
+ tracked && onImpression();
2314
+ }, [tracked]);
2315
+ React.useEffect(() => {
2316
+ setTracked(false);
2317
+ }, [dependency]);
2318
+ return (React__default["default"].createElement(core.Box, { "data-impression": true, ref: ref }, children));
2319
+ };
2320
+
2159
2321
  // eslint-disable-next-line @typescript-eslint/no-var-requires
2160
2322
  const customParseFormat = require('dayjs/plugin/customParseFormat');
2161
2323
  dayjs__default["default"].extend(customParseFormat);
@@ -2192,7 +2354,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
2192
2354
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2193
2355
  block) => {
2194
2356
  return (value) => {
2195
- var _a;
2357
+ var _a, _b;
2196
2358
  const isBLockRequired = (_a = block === null || block === void 0 ? void 0 : block.data) === null || _a === void 0 ? void 0 : _a.required;
2197
2359
  if (!formRef.current.isTouched(name))
2198
2360
  return;
@@ -2200,7 +2362,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
2200
2362
  typeof value === 'undefined' ||
2201
2363
  (Array.isArray(value) && value.length === 0)) {
2202
2364
  return isBLockRequired
2203
- ? t('validator.required')
2365
+ ? ((_b = block === null || block === void 0 ? void 0 : block.data) === null || _b === void 0 ? void 0 : _b.requiredMessage) || t('validator.required')
2204
2366
  : cb === null || cb === void 0 ? void 0 : cb(value);
2205
2367
  }
2206
2368
  return cb === null || cb === void 0 ? void 0 : cb(value);
@@ -2449,12 +2611,25 @@ const StyledLeadGenSubscriptionBox = styled__default["default"].div `
2449
2611
  border: 1px solid ${miscTheme.theme.colors.neutral100};
2450
2612
  background: linear-gradient(
2451
2613
  180.71deg,
2452
- #7bc2ff -18.54%,
2453
- #e3f2ff 17.12%,
2454
- #ffffff 99.25%
2614
+ rgba(44, 183, 66, 0.8) -18.54%,
2615
+ rgba(44, 183, 66, 0.1) 17.12%,
2616
+ rgba(44, 183, 66, 0) 99.25%
2455
2617
  );
2456
2618
  border-radius: 12px;
2457
2619
  margin-inline: auto;
2620
+ &[data-phone-type='zalo'] {
2621
+ background: linear-gradient(
2622
+ 180.71deg,
2623
+ #7bc2ff -18.54%,
2624
+ #e3f2ff 17.12%,
2625
+ #ffffff 99.25%
2626
+ );
2627
+ }
2628
+ &[data-phone-type]:not([data-phone-type='zalo']) {
2629
+ .leadgen-btn {
2630
+ background-color: #2cb742 !important;
2631
+ }
2632
+ }
2458
2633
  .leadgen-form_inputs {
2459
2634
  .leadgen-form_input {
2460
2635
  width: 100%;
@@ -3130,10 +3305,9 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3130
3305
  const { image, extra_fields, id: campaign_id, bot_id: campaign_subot_id = [], ThankYouBlock, } = forceCampaign || {};
3131
3306
  const { textBlocks, listBlockAdded, actionBlocks } = extra_fields || {};
3132
3307
  const { submitBlock } = actionBlocks || {};
3133
- const { apiLeadUrl, subscriptionIcon, subscriptionTitle, submitSubscriptionBox, impression, onFinish, } = useLeadGenContext();
3308
+ const { apiLeadUrl, subscriptionIcon, subscriptionTitle, subscriptionPhoneType, submitSubscriptionBox, onFinish, impression, } = useLeadGenContext();
3134
3309
  const { t } = index$1.useTranslations();
3135
3310
  const { action: { pushNotifications }, } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
3136
- const refContainer = React.useRef(null);
3137
3311
  const [loading, setLoading] = React.useState(false);
3138
3312
  const [showThankyou, setShowThankyou] = React.useState(false);
3139
3313
  const validatingEmailRef = React.useRef(false);
@@ -3153,17 +3327,6 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3153
3327
  t('leadgen.message.title.default');
3154
3328
  }, [subscriptionTitle, (_b = (_a = textBlocks === null || textBlocks === void 0 ? void 0 : textBlocks.titleBlock) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.value]);
3155
3329
  const { image: thankyouImage, title: thankyouTitle, description: thankyouDescription, button: thankyouButton, } = ThankYouBlock || {};
3156
- const intersectionObserverCallback = React.useCallback((entries) => {
3157
- entries.forEach((entry) => {
3158
- const { isIntersecting, target } = entry;
3159
- if (!showThankyou &&
3160
- isIntersecting &&
3161
- target === refContainer.current) {
3162
- impression();
3163
- }
3164
- });
3165
- }, [impression, showThankyou]);
3166
- const IObserver = new IntersectionObserver(intersectionObserverCallback);
3167
3330
  const middlewareOnSubmit = React.useCallback((values) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
3168
3331
  const newValues = {
3169
3332
  subscription_title,
@@ -3200,7 +3363,11 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3200
3363
  setLoading(true);
3201
3364
  try {
3202
3365
  const reqValues = Object.assign(Object.assign({}, newValues), ssoValues);
3203
- const { _data } = (yield submitSubscriptionBox(reqValues)) || {};
3366
+ const [res] = yield Promise.all([
3367
+ submitSubscriptionBox(reqValues),
3368
+ impression('submit_form'),
3369
+ ]);
3370
+ const { _data } = res || {};
3204
3371
  const { model } = _data || {};
3205
3372
  if (model && (model === null || model === void 0 ? void 0 : model.id)) {
3206
3373
  setShowThankyou(true);
@@ -3244,16 +3411,8 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3244
3411
  userInfo === null || userInfo === void 0 ? void 0 : userInfo.uid,
3245
3412
  userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone,
3246
3413
  ]);
3247
- React.useEffect(() => {
3248
- if (refContainer.current) {
3249
- IObserver.observe(refContainer.current);
3250
- }
3251
- return () => {
3252
- IObserver.disconnect();
3253
- };
3254
- }, [categoryId]);
3255
- return (React__default["default"].createElement("div", { ref: refContainer },
3256
- React__default["default"].createElement(StyledLeadGenSubscriptionBox, { "data-type": "subscription_box_A" },
3414
+ return (React__default["default"].createElement(ImpressionTrackingWrapper, { dependency: categoryId, onImpression: () => impression('impression') },
3415
+ React__default["default"].createElement(StyledLeadGenSubscriptionBox, { "data-phone-type": subscriptionPhoneType, "data-type": "subscription_box_A" },
3257
3416
  showThankyou && (React__default["default"].createElement(LeadGenThankYou, { image: Object.assign(Object.assign({}, thankyouImage), { src: thankyouImage.src || `${apiLeadUrl}admin/img/thanksyou.png` }), title: thankyouTitle, description: thankyouDescription, button: thankyouButton })),
3258
3417
  !showThankyou && (React__default["default"].createElement(LeadGenSubscriptionBoxA, { loading: loading, image: subscriptionIcon || image, title: subscription_title, submitText: (_c = submitBlock === null || submitBlock === void 0 ? void 0 : submitBlock.data) === null || _c === void 0 ? void 0 : _c.value, blocks: listBlockAdded, locale: locale, form: form, rules: validateObj, onFinish: middlewareOnSubmit })))));
3259
3418
  };
@@ -3268,8 +3427,12 @@ const Container = () => {
3268
3427
  return (React__default["default"].createElement(LeadGenSubscriptionBox$1, { locale: locale, siteId: siteId, siteDomain: siteDomain, userInfo: userInfo, forceCampaign: forceCampaign, campaign_code: campaign_code }));
3269
3428
  };
3270
3429
  Container.displayName = 'LeadGenSubscriptionBox';
3430
+ const ALLOW_LOCALE = [Locale.LOCALE.Vietnam, Locale.LOCALE.Malaysia, Locale.LOCALE.Indonesia];
3271
3431
  const LeadGenSubscriptionBoxContainer = (props) => {
3272
- const { apiUrl, apiSubotUrl } = props;
3432
+ const { apiUrl, apiSubotUrl, locale } = props;
3433
+ if (!ALLOW_LOCALE.includes(locale)) {
3434
+ return null;
3435
+ }
3273
3436
  return (React__default["default"].createElement(LeadGenContextProvider, Object.assign({}, props, { apiLeadUrl: apiUrl, apiSubotUrl: apiSubotUrl }),
3274
3437
  React__default["default"].createElement(Container, null)));
3275
3438
  };
@@ -3900,7 +4063,8 @@ const ThankyouPopup = ({ title, titleAlign, subtitle, subtitleAlign, link, linkN
3900
4063
  React__default["default"].createElement(index$4.Button, { className: `lead-modal__btn ${LEAD_CLASS}`, color: primaryColor }, linkText)))))));
3901
4064
  };
3902
4065
 
3903
- const InlineLayout = ({ content, inlinePosition, }) => {
4066
+ const InlineLayout = ({ action, content, inlinePosition, campaignCode, }) => {
4067
+ const { apiUrl } = React.useContext(LeadGenContext$1);
3904
4068
  const target = React.useMemo(() => {
3905
4069
  if (!inlinePosition)
3906
4070
  return null;
@@ -4007,7 +4171,22 @@ const InlineLayout = ({ content, inlinePosition, }) => {
4007
4171
  }, [inlinePosition]);
4008
4172
  if (!inlinePosition || !target)
4009
4173
  return null;
4010
- return ReactDOM.createPortal(content, target);
4174
+ return ReactDOM.createPortal(React__default["default"].createElement(ImpressionTrackingWrapper, { onImpression: () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
4175
+ const gaCookie = miscCookieHelper.getCookie('_ga') || null;
4176
+ fetch(`${apiUrl}api/campaign/${campaignCode}/impression`, {
4177
+ method: 'POST',
4178
+ headers: {
4179
+ 'Content-Type': 'application/json',
4180
+ },
4181
+ body: JSON.stringify({
4182
+ action,
4183
+ url: location.href.toLowerCase(),
4184
+ title_article: document.title,
4185
+ cookie_id: miscCookieHelper.getCookie('hhg-id'),
4186
+ ga_client_id: gaCookie,
4187
+ }),
4188
+ });
4189
+ }) }, content), target);
4011
4190
  };
4012
4191
 
4013
4192
  const SideBarLayout = ({ content }) => {
@@ -4774,7 +4953,7 @@ const LEADGEN_SHOW_HEADER = [
4774
4953
  ];
4775
4954
  // const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39', 'u0adw7hw8kw7t89']
4776
4955
  const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39'];
4777
- const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, onUnmount, showThankyou, campaignId, campaignCode, campaign_subot_id, locale, showEmpty, setShowEmpty, userInfo, }) => {
4956
+ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, onUnmount, showThankyou, campaignId, campaignCode, campaign_subot_id, locale, showEmpty, setShowEmpty, userInfo, action, }) => {
4778
4957
  var _a, _b;
4779
4958
  const { primaryColor } = React.useContext(LeadGenContext$1);
4780
4959
  const { isMobile } = useScreenSize.useScreenSize();
@@ -5109,7 +5288,7 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
5109
5288
  return React__default["default"].createElement(SideBarLayout, { content: PopupContainer });
5110
5289
  }
5111
5290
  else if (isInline) {
5112
- return (React__default["default"].createElement(InlineLayout, { content: PopupContainer, inlinePosition: extraFields.popupInlinePosition }));
5291
+ return (React__default["default"].createElement(InlineLayout, { action: action, content: PopupContainer, campaignCode: campaignCode, inlinePosition: extraFields.popupInlinePosition }));
5113
5292
  }
5114
5293
  return null;
5115
5294
  };
@@ -5207,19 +5386,20 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
5207
5386
  const { apiUrl, siteDomain } = React.useContext(LeadGenContext$1);
5208
5387
  React.useEffect(() => {
5209
5388
  const gaCookie = miscCookieHelper.getCookie('_ga') || null;
5210
- fetch(`${apiUrl}api/campaign/${code}/impression`, {
5211
- method: 'POST',
5212
- headers: {
5213
- 'Content-Type': 'application/json',
5214
- },
5215
- body: JSON.stringify({
5216
- action,
5217
- url: location.href.toLowerCase(),
5218
- title_article: document.title,
5219
- cookie_id: miscCookieHelper.getCookie('hhg-id'),
5220
- ga_client_id: gaCookie,
5221
- }),
5222
- });
5389
+ !currentLayout.includes('Inline') &&
5390
+ fetch(`${apiUrl}api/campaign/${code}/impression`, {
5391
+ method: 'POST',
5392
+ headers: {
5393
+ 'Content-Type': 'application/json',
5394
+ },
5395
+ body: JSON.stringify({
5396
+ action,
5397
+ url: location.href.toLowerCase(),
5398
+ title_article: document.title,
5399
+ cookie_id: miscCookieHelper.getCookie('hhg-id'),
5400
+ ga_client_id: gaCookie,
5401
+ }),
5402
+ });
5223
5403
  }, []);
5224
5404
  const { extra_fields, image, image_desktop, code, image_background, image_overlay_mobile, image_overlay_desktop, } = campaign || {};
5225
5405
  const { currentLayout } = extra_fields;
@@ -5321,7 +5501,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
5321
5501
  currentLayout == 'Fullscreen' ||
5322
5502
  currentLayout == 'Sidebar' ||
5323
5503
  currentLayout == 'Slider') {
5324
- return (React__default["default"].createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, onUnmount: onUnmount, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (params) => onSubmit(params, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaignCode: campaign.code, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo }));
5504
+ return (React__default["default"].createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, onUnmount: onUnmount, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (params) => onSubmit(params, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaignCode: campaign.code, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo, action: action }));
5325
5505
  }
5326
5506
  else if (currentLayout.includes('Skin')) {
5327
5507
  return (React__default["default"].createElement(SkinLayout, { popupId: popupIdRef.current, link: actionBlocks.linkButtonBlock.data.url, linkNewTab: !!actionBlocks.linkButtonBlock.data.newtab, linkText: actionBlocks.linkButtonBlock.data.value, onClose: onClose, onOtherSubmit: onOtherSubmit, imageMobile: image, imageDesktop: image_desktop, currentLayout: currentLayout }));