@hhgtech/hhg-components 1.29.405 → 1.29.407-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 (495) hide show
  1. package/build/{InputDate-926c7a26.js → InputDate-4dffce63.js} +3 -3
  2. package/build/{LastPeriod-2c6a248a.js → LastPeriod-740882ee.js} +1 -1
  3. package/build/{MobileBottomNavigationIcon-cb2c6d45.js → MobileBottomNavigationIcon-25f2f6e6.js} +3 -3
  4. package/build/{Spinner-54ccb044.js → Spinner-5ec49888.js} +1 -1
  5. package/build/{WhatsApp-b4917e75.js → WhatsApp-30b60676.js} +1 -1
  6. package/build/adapters.js +19 -19
  7. package/build/atoms.js +48 -48
  8. package/build/babyGrowth.js +83 -83
  9. package/build/cache.js +2 -2
  10. package/build/care.js +17 -17
  11. package/build/careBookingSearchBar.js +14 -14
  12. package/build/careBookingSearchBarV2.js +15 -15
  13. package/build/components/molecules/impressionTrackingWrapper/index.d.ts +9 -0
  14. package/build/components.js +97 -97
  15. package/build/{constants-60697265.js → constants-c02ceb69.js} +1 -1
  16. package/build/constants.js +3 -3
  17. package/build/constantsDomainLocales.js +1 -1
  18. package/build/constantsRiskScreener.js +2 -2
  19. package/build/constantsSite.js +2 -2
  20. package/build/{core-290248c4.js → core-f481838d.js} +1 -1
  21. package/build/{dataTransform-bee6ab22.js → dataTransform-63011806.js} +1 -1
  22. package/build/ecom.js +4 -4
  23. package/build/{editor-9b73a9f7.js → editor-5e0d67bf.js} +11 -11
  24. package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
  25. package/build/embeddedHeathToolCards_babyPoop.js +19 -19
  26. package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
  27. package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
  28. package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
  29. package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  30. package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  31. package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
  32. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
  33. package/build/esm/{InputDate-4ab03ef5.js → InputDate-9b1a4f17.js} +3 -3
  34. package/build/esm/{LastPeriod-6fa2c177.js → LastPeriod-576ad038.js} +1 -1
  35. package/build/esm/{MobileBottomNavigationIcon-17b4d024.js → MobileBottomNavigationIcon-76c468a5.js} +3 -3
  36. package/build/esm/{Spinner-2de4053c.js → Spinner-7c25d326.js} +1 -1
  37. package/build/esm/{WhatsApp-aea301c2.js → WhatsApp-65e7919a.js} +1 -1
  38. package/build/esm/adapters.js +19 -19
  39. package/build/esm/atoms.js +48 -48
  40. package/build/esm/babyGrowth.js +83 -83
  41. package/build/esm/cache.js +2 -2
  42. package/build/esm/care.js +17 -17
  43. package/build/esm/careBookingSearchBar.js +14 -14
  44. package/build/esm/careBookingSearchBarV2.js +15 -15
  45. package/build/esm/components/molecules/impressionTrackingWrapper/index.d.ts +9 -0
  46. package/build/esm/components.js +97 -97
  47. package/build/esm/{constants-32069fe5.js → constants-3ea66179.js} +1 -1
  48. package/build/esm/constants.js +3 -3
  49. package/build/esm/constantsDomainLocales.js +1 -1
  50. package/build/esm/constantsRiskScreener.js +2 -2
  51. package/build/esm/constantsSite.js +2 -2
  52. package/build/esm/{core-ef5d28da.js → core-e20eded4.js} +1 -1
  53. package/build/esm/{dataTransform-c3236da3.js → dataTransform-c24be13e.js} +1 -1
  54. package/build/esm/ecom.js +4 -4
  55. package/build/esm/{editor-f1bcba79.js → editor-30c684fa.js} +11 -11
  56. package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
  57. package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
  58. package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
  59. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
  60. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
  61. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  62. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  63. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
  64. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
  65. package/build/esm/footer.js +21 -21
  66. package/build/esm/gAssets.js +2 -2
  67. package/build/esm/{healthTools-92f1412d.js → healthTools-8b678da9.js} +1 -1
  68. package/build/esm/healthToolsCardWrapper.js +18 -18
  69. package/build/esm/healthToolsForm.js +33 -33
  70. package/build/esm/hooks.js +13 -13
  71. package/build/esm/i18n-values/id-ID.js +1 -1
  72. package/build/esm/i18n-values/ms-MY.js +1 -1
  73. package/build/esm/i18n.js +2 -2
  74. package/build/esm/i18nV2.js +2 -2
  75. package/build/esm/{index-4817b6fb.js → index-01cd18a9.js} +1 -1
  76. package/build/esm/{index-1e5324cc.js → index-031a7c4c.js} +2 -2
  77. package/build/esm/{index-b8c58518.js → index-0e6915c5.js} +2 -2
  78. package/build/esm/{index-1f23a42d.js → index-148087e8.js} +6 -6
  79. package/build/esm/{index-5f342fe5.js → index-1764f0ce.js} +1 -1
  80. package/build/esm/{index-5fc3cc59.js → index-18a922bf.js} +2 -2
  81. package/build/esm/{index-2b0ae2b6.js → index-1d6ea3f5.js} +2 -2
  82. package/build/esm/{index-903b4042.js → index-1e57ec38.js} +13 -13
  83. package/build/esm/{index-4541764a.js → index-28caa5f7.js} +7 -7
  84. package/build/esm/{index-553fa3bf.js → index-2b57ed65.js} +2 -2
  85. package/build/esm/{index-1d4236f6.js → index-2f542af7.js} +4 -4
  86. package/build/esm/{index-f8a0c44a.js → index-32459b5c.js} +6 -6
  87. package/build/esm/{index-95970813.js → index-32c57f34.js} +17 -17
  88. package/build/esm/{index-51203f5c.js → index-3703d47e.js} +2 -2
  89. package/build/esm/{index-7fe6d273.js → index-39247481.js} +1 -1
  90. package/build/esm/{index-7a70ac70.js → index-39e589eb.js} +16 -16
  91. package/build/esm/{index-bc24b8a9.js → index-3a335d82.js} +1 -1
  92. package/build/esm/{index-2b3a4a7e.js → index-3ae3a9de.js} +3 -3
  93. package/build/esm/{index-9a5acaef.js → index-3c36aefc.js} +16 -16
  94. package/build/esm/{index-6a0f58a2.js → index-3e01d805.js} +3 -3
  95. package/build/esm/{index-52583e9e.js → index-3f30aea7.js} +3 -3
  96. package/build/esm/{index-177b719c.js → index-49d1f753.js} +3 -3
  97. package/build/esm/{index-8f702423.js → index-54c92982.js} +3 -3
  98. package/build/esm/{index-25d860e1.js → index-5a46c4db.js} +22 -22
  99. package/build/esm/{index-7f202a12.js → index-5ac2b7e3.js} +1 -1
  100. package/build/esm/{index-5233bef3.js → index-5d0bcb5f.js} +16 -16
  101. package/build/esm/{index-c35193c7.js → index-609ecbd9.js} +1 -1
  102. package/build/esm/{index-e3c889fc.js → index-691b3c1a.js} +13 -13
  103. package/build/esm/{index-7f0fb92c.js → index-71310e76.js} +1 -1
  104. package/build/esm/{index-18e42349.js → index-74d90ae7.js} +21 -21
  105. package/build/esm/{index-c57832ef.js → index-764f82fd.js} +13 -13
  106. package/build/esm/{index-b39ea3e4.js → index-76f9ed24.js} +18 -18
  107. package/build/esm/{index-cc8507de.js → index-7cfc5837.js} +2 -2
  108. package/build/esm/{index-27938ee5.js → index-7e44db69.js} +32 -32
  109. package/build/esm/{index-ef1dc9b1.js → index-7fd86ab5.js} +10 -10
  110. package/build/esm/{index-3814b903.js → index-85766625.js} +2 -2
  111. package/build/esm/{index-2489691e.js → index-8b3720e2.js} +3 -3
  112. package/build/esm/{index-92babb26.js → index-8d37e482.js} +2 -2
  113. package/build/esm/{index-8c558e96.js → index-90c04fa9.js} +2 -2
  114. package/build/esm/{index-0f575835.js → index-990fbc21.js} +6 -6
  115. package/build/esm/{index-62ab1e02.js → index-9ccfc9ec.js} +25 -25
  116. package/build/esm/{index-2ac3e592.js → index-9f910143.js} +11 -11
  117. package/build/esm/{index-bb371c10.js → index-a98c740c.js} +17 -17
  118. package/build/esm/{index-87f1d493.js → index-aacfdec7.js} +6 -6
  119. package/build/esm/{index-7a833f64.js → index-b7b7629d.js} +24 -24
  120. package/build/esm/{index-78b4e90b.js → index-b9f01e1a.js} +30 -30
  121. package/build/esm/{index-3970f28a.js → index-c622b6f0.js} +16 -16
  122. package/build/esm/{index-040c30d3.js → index-c8b79312.js} +5 -5
  123. package/build/esm/{index-caee75db.js → index-caa52d50.js} +7 -7
  124. package/build/esm/{index-0eee03a5.js → index-d0547035.js} +15 -15
  125. package/build/esm/{index-6443a126.js → index-d4f33e65.js} +1 -1
  126. package/build/esm/{index-9128c48a.js → index-d6245c27.js} +2 -2
  127. package/build/esm/{index-3bb092d2.js → index-d6cc7c9f.js} +17 -17
  128. package/build/esm/{index-9dc7408f.js → index-d810776f.js} +1 -1
  129. package/build/esm/{index-e9014616.js → index-d916ce5a.js} +11 -11
  130. package/build/esm/{index-942e7604.js → index-dabd1bfc.js} +13 -13
  131. package/build/esm/{index-592e52aa.js → index-de601b59.js} +6 -6
  132. package/build/esm/{index-6a38412d.js → index-de615c57.js} +2 -2
  133. package/build/esm/{index-14391ebe.js → index-e384f5f1.js} +5 -5
  134. package/build/esm/{index-c40a5354.js → index-e62941d8.js} +4 -4
  135. package/build/esm/{index-1801b6ac.js → index-e8282da2.js} +31 -31
  136. package/build/esm/{index-2d2f032d.js → index-eada8cec.js} +2 -2
  137. package/build/esm/{index-dfd1bbe2.js → index-f025cabc.js} +2 -2
  138. package/build/esm/{index-1653034a.js → index-f928c61d.js} +17 -17
  139. package/build/esm/{index-215a5937.js → index-f94a7f96.js} +18 -18
  140. package/build/esm/index.js +118 -118
  141. package/build/esm/{labelSorting-14c473b5.js → labelSorting-d7513b1b.js} +4 -4
  142. package/build/esm/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +15 -9
  143. package/build/esm/lead/layouts/inline.d.ts +5 -3
  144. package/build/esm/lead/layouts/lightbox/index.d.ts +2 -1
  145. package/build/esm/lead/services/index.d.ts +14 -0
  146. package/build/esm/lead.js +342 -200
  147. package/build/esm/{logoIcon-fa695a3d.js → logoIcon-7fdfa704.js} +2 -2
  148. package/build/esm/mantine.js +25 -25
  149. package/build/esm/misc.js +17 -17
  150. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  151. package/build/esm/miscGetSocialList.js +8 -8
  152. package/build/esm/miscScreenSizeContext.js +1 -1
  153. package/build/esm/mobileBottomNavigation.js +5 -5
  154. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  155. package/build/esm/molecules.js +74 -74
  156. package/build/esm/moleculesArticleCard.js +6 -6
  157. package/build/esm/moleculesArticleCardV2.js +16 -16
  158. package/build/esm/navigation.js +46 -46
  159. package/build/esm/navigationLogoutPopup.js +9 -9
  160. package/build/esm/navigationProfileButton.js +26 -26
  161. package/build/esm/onboardingV2.js +29 -29
  162. package/build/esm/organisms.js +50 -50
  163. package/build/esm/{post-7d90605b.js → post-0775fcc2.js} +2 -2
  164. package/build/esm/profileNavigation.js +19 -19
  165. package/build/esm/progressBar.js +1 -1
  166. package/build/esm/pwg.js +22 -22
  167. package/build/esm/ssoV2/api/featureFlag.d.ts +2 -1
  168. package/build/esm/ssoV2.js +52 -40
  169. package/build/esm/{store-61732839.js → store-9c88b3bf.js} +3 -3
  170. package/build/esm/subot.js +36 -36
  171. package/build/esm/surveyOrPremiumBanner.js +33 -33
  172. package/build/esm/surveyQuestionCard.js +10 -10
  173. package/build/esm/{surveyThankyouCard-9eef1a4b.js → surveyThankyouCard-2278d513.js} +5 -5
  174. package/build/esm/together.js +56 -56
  175. package/build/esm/togetherApiUtils.js +4 -4
  176. package/build/esm/togetherAtoms.js +30 -30
  177. package/build/esm/togetherComponentGlobalContext.js +4 -4
  178. package/build/esm/togetherMolecules.js +51 -51
  179. package/build/esm/togetherMoleculesCardAuthor.js +28 -28
  180. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  181. package/build/esm/togetherMoleculesProfileDetail.js +39 -39
  182. package/build/esm/togetherOrganisms.js +50 -50
  183. package/build/esm/togetherRichTextEditor.js +17 -17
  184. package/build/esm/togetherShareBox.js +10 -10
  185. package/build/esm/{translationsProvider-20266cbb.js → translationsProvider-c99a9f14.js} +1 -1
  186. package/build/esm/{treePopoverMenu-7901d856.js → treePopoverMenu-c9104334.js} +19 -19
  187. package/build/esm/{types-e1ee79c6.js → types-1f358b9c.js} +2 -2
  188. package/build/esm/types.js +2 -2
  189. package/build/esm/{useCategory-3d87bc53.js → useCategory-fff01251.js} +5 -5
  190. package/build/esm/{useHealthToolCache-7f1c8e27.js → useHealthToolCache-bb72aa42.js} +1 -1
  191. package/build/esm/{useMantineLocale-255491dc.js → useMantineLocale-cf9ef2cd.js} +6 -6
  192. package/build/esm/{usePlacesAutocomplete-46dd7177.js → usePlacesAutocomplete-9a493eb4.js} +1 -1
  193. package/build/esm/{useScreenSize-1fc99ffb.js → useScreenSize-d80a35eb.js} +2 -2
  194. package/build/esm/useTogetherAuthRequiredAction.js +10 -10
  195. package/build/esm/{utils-3134b1b6.js → utils-5852e212.js} +5 -5
  196. package/build/esm/{utils-fab23c47.js → utils-c6cd3f21.js} +2 -2
  197. package/build/esm/{utils-451862e4.js → utils-d80ef102.js} +2 -2
  198. package/build/esm/{utils-867c0cbb.js → utils-de1b8290.js} +3 -3
  199. package/build/esm/vaccination.js +21 -21
  200. package/build/footer.js +21 -21
  201. package/build/gAssets.js +2 -2
  202. package/build/{healthTools-c995fc11.js → healthTools-a50f9994.js} +1 -1
  203. package/build/healthToolsCardWrapper.js +18 -18
  204. package/build/healthToolsForm.js +33 -33
  205. package/build/hooks.js +13 -13
  206. package/build/i18n-values/id-ID.js +1 -1
  207. package/build/i18n-values/ms-MY.js +1 -1
  208. package/build/i18n.js +2 -2
  209. package/build/i18nV2.js +1 -1
  210. package/build/{index-2baa2bb1.js → index-0131b4bd.js} +1 -1
  211. package/build/{index-84cbd016.js → index-022441e1.js} +1 -1
  212. package/build/{index-f89a8ed4.js → index-0d080f21.js} +22 -22
  213. package/build/{index-3ba6f818.js → index-0e8420b3.js} +30 -30
  214. package/build/{index-d9767fd2.js → index-11794dcd.js} +2 -2
  215. package/build/{index-72aed9e3.js → index-1b08c13d.js} +6 -6
  216. package/build/{index-3cbb460f.js → index-23d69ddf.js} +2 -2
  217. package/build/{index-72481e92.js → index-2be78b9b.js} +16 -16
  218. package/build/{index-0ce3466b.js → index-2c97797f.js} +3 -3
  219. package/build/{index-1481d67f.js → index-2ebe299c.js} +2 -2
  220. package/build/{index-be48e256.js → index-2f662a09.js} +18 -18
  221. package/build/{index-3eebb693.js → index-2fd2668e.js} +2 -2
  222. package/build/{index-40aaeaf5.js → index-311e17aa.js} +13 -13
  223. package/build/{index-86a6f833.js → index-37a21bc5.js} +4 -4
  224. package/build/{index-be817e96.js → index-39f12ce5.js} +15 -15
  225. package/build/{index-d2be824e.js → index-3aa66c1c.js} +2 -2
  226. package/build/{index-5a504e3b.js → index-3f44722c.js} +1 -1
  227. package/build/{index-4dfa0e22.js → index-4c364aa6.js} +3 -3
  228. package/build/{index-f84293ae.js → index-4d21e7a4.js} +11 -11
  229. package/build/{index-fff4ad3e.js → index-4e1604fc.js} +25 -25
  230. package/build/{index-8764cbee.js → index-52dfa1b1.js} +1 -1
  231. package/build/{index-6780d887.js → index-52e6aeec.js} +6 -6
  232. package/build/{index-9a3cdb91.js → index-615eb3d0.js} +1 -1
  233. package/build/{index-092a91d9.js → index-65bb73f8.js} +3 -3
  234. package/build/{index-e92cfefa.js → index-69887da9.js} +13 -13
  235. package/build/{index-3651c3b3.js → index-6d049ab8.js} +17 -17
  236. package/build/{index-8fb2ab05.js → index-779de2a7.js} +7 -7
  237. package/build/{index-2bd79615.js → index-85feb827.js} +24 -24
  238. package/build/{index-6e49bbff.js → index-87e6e2d3.js} +2 -2
  239. package/build/{index-04c41314.js → index-89b61af0.js} +7 -7
  240. package/build/{index-c55f22c1.js → index-91a56ef7.js} +1 -1
  241. package/build/{index-ba13c196.js → index-971ee8b5.js} +2 -2
  242. package/build/{index-4ab6cdf6.js → index-99dd9e37.js} +2 -2
  243. package/build/{index-3b3f34cd.js → index-9e24ab8f.js} +11 -11
  244. package/build/{index-8c82b438.js → index-a15f1dfa.js} +2 -2
  245. package/build/{index-d5b26cc7.js → index-a1d3da71.js} +13 -13
  246. package/build/{index-dc2e7f29.js → index-a61ea5cb.js} +17 -17
  247. package/build/{index-b0429dab.js → index-aae4fd42.js} +2 -2
  248. package/build/{index-f788c425.js → index-aed89ddf.js} +2 -2
  249. package/build/{index-f062abe5.js → index-af47e718.js} +1 -1
  250. package/build/{index-b84440f7.js → index-afd82e6d.js} +16 -16
  251. package/build/{index-2ae4fa54.js → index-b07436a5.js} +32 -32
  252. package/build/{index-2f404f54.js → index-b38e1226.js} +3 -3
  253. package/build/{index-36e5d4e8.js → index-b9fd9139.js} +16 -16
  254. package/build/{index-04ce842a.js → index-bb799f44.js} +31 -31
  255. package/build/{index-ad8e30b9.js → index-bd561cd5.js} +16 -16
  256. package/build/{index-42b21267.js → index-bdbf4a5a.js} +3 -3
  257. package/build/{index-554495c4.js → index-c0b9c678.js} +17 -17
  258. package/build/{index-45ca7463.js → index-c38a9f8e.js} +6 -6
  259. package/build/{index-20e138b3.js → index-c85a498d.js} +6 -6
  260. package/build/{index-0dc28efe.js → index-d064c78b.js} +1 -1
  261. package/build/{index-87a0a84d.js → index-d5199a61.js} +13 -13
  262. package/build/{index-348bd5ea.js → index-db002e38.js} +6 -6
  263. package/build/{index-aa09c75d.js → index-de801fe5.js} +21 -21
  264. package/build/{index-5eb6495e.js → index-e1975e76.js} +2 -2
  265. package/build/{index-f21bae47.js → index-e2b474d6.js} +2 -2
  266. package/build/{index-1d42d9bf.js → index-e355bf41.js} +18 -18
  267. package/build/{index-28228122.js → index-e404781f.js} +1 -1
  268. package/build/{index-b3038deb.js → index-e7bfe936.js} +4 -4
  269. package/build/{index-e15c03da.js → index-f377b5ce.js} +2 -2
  270. package/build/{index-53311e38.js → index-fbfad7b0.js} +5 -5
  271. package/build/{index-b721f5c0.js → index-fcfb8a23.js} +17 -17
  272. package/build/{index-46a44671.js → index-fe4f2ea4.js} +3 -3
  273. package/build/{index-dbe0b6cf.js → index-fe7fbf40.js} +10 -10
  274. package/build/{index-1ce51920.js → index-fffeac23.js} +5 -5
  275. package/build/index.js +118 -118
  276. package/build/{labelSorting-5c6b0bca.js → labelSorting-924491e0.js} +4 -4
  277. package/build/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +15 -9
  278. package/build/lead/layouts/inline.d.ts +5 -3
  279. package/build/lead/layouts/lightbox/index.d.ts +2 -1
  280. package/build/lead/services/index.d.ts +14 -0
  281. package/build/lead.js +341 -199
  282. package/build/{logoIcon-7d83fee2.js → logoIcon-7ff27b45.js} +2 -2
  283. package/build/mantine.js +22 -22
  284. package/build/misc.js +17 -17
  285. package/build/miscGetDynamicHealthTool.js +4 -4
  286. package/build/miscGetSocialList.js +8 -8
  287. package/build/miscScreenSizeContext.js +1 -1
  288. package/build/mobileBottomNavigation.js +5 -5
  289. package/build/mobileBottomNavigationIcon.js +5 -5
  290. package/build/molecules.js +74 -74
  291. package/build/moleculesArticleCard.js +6 -6
  292. package/build/moleculesArticleCardV2.js +16 -16
  293. package/build/navigation.js +46 -46
  294. package/build/navigationLogoutPopup.js +9 -9
  295. package/build/navigationProfileButton.js +26 -26
  296. package/build/onboardingV2.js +28 -28
  297. package/build/organisms.js +50 -50
  298. package/build/{post-88df517f.js → post-baa2564a.js} +2 -2
  299. package/build/profileNavigation.js +19 -19
  300. package/build/progressBar.js +1 -1
  301. package/build/pwg.js +22 -22
  302. package/build/ssoV2/api/featureFlag.d.ts +2 -1
  303. package/build/ssoV2.js +50 -38
  304. package/build/{store-f7b33d38.js → store-a3d8854b.js} +3 -3
  305. package/build/subot.js +35 -35
  306. package/build/surveyOrPremiumBanner.js +33 -33
  307. package/build/surveyQuestionCard.js +10 -10
  308. package/build/{surveyThankyouCard-91561af7.js → surveyThankyouCard-1a7ca5fc.js} +5 -5
  309. package/build/together.js +56 -56
  310. package/build/togetherApiUtils.js +4 -4
  311. package/build/togetherAtoms.js +30 -30
  312. package/build/togetherComponentGlobalContext.js +4 -4
  313. package/build/togetherMolecules.js +51 -51
  314. package/build/togetherMoleculesCardAuthor.js +28 -28
  315. package/build/togetherMoleculesPostImagePreview.js +11 -11
  316. package/build/togetherMoleculesProfileDetail.js +39 -39
  317. package/build/togetherOrganisms.js +50 -50
  318. package/build/togetherRichTextEditor.js +17 -17
  319. package/build/togetherShareBox.js +10 -10
  320. package/build/{translationsProvider-8d5df267.js → translationsProvider-c4a4a94b.js} +1 -1
  321. package/build/{treePopoverMenu-5d5967ad.js → treePopoverMenu-16375305.js} +19 -19
  322. package/build/{types-24fd04de.js → types-633fb4b2.js} +2 -2
  323. package/build/types.js +2 -2
  324. package/build/{useCategory-9d817d57.js → useCategory-5e76a07d.js} +5 -5
  325. package/build/{useHealthToolCache-ac1d2cea.js → useHealthToolCache-d2c5f4fd.js} +1 -1
  326. package/build/{useMantineLocale-1e970fcb.js → useMantineLocale-bde62872.js} +6 -6
  327. package/build/{usePlacesAutocomplete-c1e3dcb7.js → usePlacesAutocomplete-31cab0ec.js} +1 -1
  328. package/build/{useScreenSize-c1c8bf0b.js → useScreenSize-0f0ff7e3.js} +2 -2
  329. package/build/useTogetherAuthRequiredAction.js +10 -10
  330. package/build/{utils-c73477d9.js → utils-29b91bba.js} +2 -2
  331. package/build/{utils-e657f8d9.js → utils-51ebb680.js} +3 -3
  332. package/build/{utils-c738e51e.js → utils-938e2937.js} +5 -5
  333. package/build/{utils-cf5d5be2.js → utils-d1adff64.js} +2 -2
  334. package/build/vaccination.js +21 -21
  335. package/package.json +1 -1
  336. /package/build/{BMI_BOYS.percentile.monthly-d26f3e66.js → BMI_BOYS.percentile.monthly-3d029f08.js} +0 -0
  337. /package/build/{BMI_BOYS.percentile.weekly-41d497d6.js → BMI_BOYS.percentile.weekly-29f2d84b.js} +0 -0
  338. /package/build/{BMI_BOYS.percentile.yearly-47c04f08.js → BMI_BOYS.percentile.yearly-68583804.js} +0 -0
  339. /package/build/{BMI_BOYS.zscore.monthly-c243a228.js → BMI_BOYS.zscore.monthly-f9ac61cf.js} +0 -0
  340. /package/build/{BMI_BOYS.zscore.weekly-e73c7c93.js → BMI_BOYS.zscore.weekly-2a0578a8.js} +0 -0
  341. /package/build/{BMI_BOYS.zscore.yearly-2d709837.js → BMI_BOYS.zscore.yearly-505483c3.js} +0 -0
  342. /package/build/{BMI_GIRLS.percentile.monthly-a185799a.js → BMI_GIRLS.percentile.monthly-205dd972.js} +0 -0
  343. /package/build/{BMI_GIRLS.percentile.weekly-14dc7dde.js → BMI_GIRLS.percentile.weekly-4a1d081d.js} +0 -0
  344. /package/build/{BMI_GIRLS.percentile.yearly-91c8ff95.js → BMI_GIRLS.percentile.yearly-4a3b3229.js} +0 -0
  345. /package/build/{BMI_GIRLS.zscore.monthly-5c6f097e.js → BMI_GIRLS.zscore.monthly-abfc0901.js} +0 -0
  346. /package/build/{BMI_GIRLS.zscore.weekly-0b9314f5.js → BMI_GIRLS.zscore.weekly-24ba5575.js} +0 -0
  347. /package/build/{BMI_GIRLS.zscore.yearly-e4bbdbd9.js → BMI_GIRLS.zscore.yearly-f5631242.js} +0 -0
  348. /package/build/{ChevronDown-401a85c7.js → ChevronDown-c4916965.js} +0 -0
  349. /package/build/{Close-20277205.js → Close-272bf37e.js} +0 -0
  350. /package/build/{Google-402454c3.js → Google-33f10993.js} +0 -0
  351. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-b79eb7de.js → HEAD CIRCUM_BOYS.percentile.monthly-f73f5149.js} +0 -0
  352. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-38b7f8f7.js → HEAD CIRCUM_BOYS.percentile.weekly-4681dd9c.js} +0 -0
  353. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-c8da0e53.js → HEAD CIRCUM_BOYS.percentile.yearly-30530a49.js} +0 -0
  354. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-63d313ce.js → HEAD CIRCUM_BOYS.zscore.monthly-ef0b610a.js} +0 -0
  355. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3623fb54.js → HEAD CIRCUM_BOYS.zscore.weekly-6028067e.js} +0 -0
  356. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-85c5a541.js → HEAD CIRCUM_BOYS.zscore.yearly-847a701c.js} +0 -0
  357. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f5e3ff78.js → HEAD CIRCUM_GIRLS.percentile.monthly-52fa4096.js} +0 -0
  358. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-2c9bd4d3.js → HEAD CIRCUM_GIRLS.percentile.weekly-bdf5db0c.js} +0 -0
  359. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-e8197a16.js → HEAD CIRCUM_GIRLS.percentile.yearly-b199edfc.js} +0 -0
  360. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-aaab18f8.js → HEAD CIRCUM_GIRLS.zscore.monthly-9299705e.js} +0 -0
  361. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-dbd4115b.js → HEAD CIRCUM_GIRLS.zscore.weekly-a1743c71.js} +0 -0
  362. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-5fe975ce.js → HEAD CIRCUM_GIRLS.zscore.yearly-301bb073.js} +0 -0
  363. /package/build/{HEIGHT_BOYS.percentile.monthly-dd41b0ac.js → HEIGHT_BOYS.percentile.monthly-eada4583.js} +0 -0
  364. /package/build/{HEIGHT_BOYS.percentile.weekly-eafba6e0.js → HEIGHT_BOYS.percentile.weekly-bca42c7a.js} +0 -0
  365. /package/build/{HEIGHT_BOYS.percentile.yearly-4d2dc2e8.js → HEIGHT_BOYS.percentile.yearly-52381b02.js} +0 -0
  366. /package/build/{HEIGHT_BOYS.zscore.monthly-1374e396.js → HEIGHT_BOYS.zscore.monthly-8067de13.js} +0 -0
  367. /package/build/{HEIGHT_BOYS.zscore.weekly-e74df470.js → HEIGHT_BOYS.zscore.weekly-f004399f.js} +0 -0
  368. /package/build/{HEIGHT_BOYS.zscore.yearly-56b58cbd.js → HEIGHT_BOYS.zscore.yearly-ca39b78a.js} +0 -0
  369. /package/build/{HEIGHT_GIRLS.percentile.monthly-32fc9f2f.js → HEIGHT_GIRLS.percentile.monthly-e5cbf9c7.js} +0 -0
  370. /package/build/{HEIGHT_GIRLS.percentile.weekly-8953368e.js → HEIGHT_GIRLS.percentile.weekly-ae65fb3d.js} +0 -0
  371. /package/build/{HEIGHT_GIRLS.percentile.yearly-b4b78baa.js → HEIGHT_GIRLS.percentile.yearly-0632ad69.js} +0 -0
  372. /package/build/{HEIGHT_GIRLS.zscore.monthly-f00d7160.js → HEIGHT_GIRLS.zscore.monthly-2e6ced3a.js} +0 -0
  373. /package/build/{HEIGHT_GIRLS.zscore.weekly-3fabe52d.js → HEIGHT_GIRLS.zscore.weekly-359f070a.js} +0 -0
  374. /package/build/{HEIGHT_GIRLS.zscore.yearly-cb9b0d99.js → HEIGHT_GIRLS.zscore.yearly-0dea441d.js} +0 -0
  375. /package/build/{Locale-bd7a10ae.js → Locale-9bb2fb2f.js} +0 -0
  376. /package/build/{Visible-a39968f4.js → Visible-3045737c.js} +0 -0
  377. /package/build/{WEIGHT_BOYS.percentile.monthly-6aa97aa0.js → WEIGHT_BOYS.percentile.monthly-f54d24e1.js} +0 -0
  378. /package/build/{WEIGHT_BOYS.percentile.weekly-435f9dfb.js → WEIGHT_BOYS.percentile.weekly-a7f3cce6.js} +0 -0
  379. /package/build/{WEIGHT_BOYS.percentile.yearly-808bace0.js → WEIGHT_BOYS.percentile.yearly-7da13f49.js} +0 -0
  380. /package/build/{WEIGHT_BOYS.zscore.monthly-e4c2c184.js → WEIGHT_BOYS.zscore.monthly-a0c03623.js} +0 -0
  381. /package/build/{WEIGHT_BOYS.zscore.weekly-450c0d37.js → WEIGHT_BOYS.zscore.weekly-165cfd42.js} +0 -0
  382. /package/build/{WEIGHT_BOYS.zscore.yearly-67638d07.js → WEIGHT_BOYS.zscore.yearly-21abe9ad.js} +0 -0
  383. /package/build/{WEIGHT_GIRLS.percentile.monthly-22808439.js → WEIGHT_GIRLS.percentile.monthly-bf7551db.js} +0 -0
  384. /package/build/{WEIGHT_GIRLS.percentile.weekly-a6762119.js → WEIGHT_GIRLS.percentile.weekly-6631b8c0.js} +0 -0
  385. /package/build/{WEIGHT_GIRLS.percentile.yearly-8ba04579.js → WEIGHT_GIRLS.percentile.yearly-9eab0afc.js} +0 -0
  386. /package/build/{WEIGHT_GIRLS.zscore.monthly-4b3ff237.js → WEIGHT_GIRLS.zscore.monthly-76a19cbd.js} +0 -0
  387. /package/build/{WEIGHT_GIRLS.zscore.weekly-49912fc4.js → WEIGHT_GIRLS.zscore.weekly-b1a5824e.js} +0 -0
  388. /package/build/{WEIGHT_GIRLS.zscore.yearly-f8b1bce8.js → WEIGHT_GIRLS.zscore.yearly-9dbefe10.js} +0 -0
  389. /package/build/{animation-627e40e1.js → animation-8222ea76.js} +0 -0
  390. /package/build/{constants-ff097b2f.js → constants-02e70393.js} +0 -0
  391. /package/build/{constants-2614d9f4.js → constants-bada0bfc.js} +0 -0
  392. /package/build/{constants-87c22ac6.js → constants-c87e6cac.js} +0 -0
  393. /package/build/{dataTransform-9ca67190.js → dataTransform-528a6f85.js} +0 -0
  394. /package/build/esm/{BMI_BOYS.percentile.monthly-80c44e26.js → BMI_BOYS.percentile.monthly-f7e5ad68.js} +0 -0
  395. /package/build/esm/{BMI_BOYS.percentile.weekly-51caaacf.js → BMI_BOYS.percentile.weekly-ea72fad9.js} +0 -0
  396. /package/build/esm/{BMI_BOYS.percentile.yearly-ecf87a4d.js → BMI_BOYS.percentile.yearly-2a1f80df.js} +0 -0
  397. /package/build/esm/{BMI_BOYS.zscore.monthly-a86cac6b.js → BMI_BOYS.zscore.monthly-d001abe1.js} +0 -0
  398. /package/build/esm/{BMI_BOYS.zscore.weekly-72a975e2.js → BMI_BOYS.zscore.weekly-10b11be2.js} +0 -0
  399. /package/build/esm/{BMI_BOYS.zscore.yearly-573813de.js → BMI_BOYS.zscore.yearly-98c091c1.js} +0 -0
  400. /package/build/esm/{BMI_GIRLS.percentile.monthly-801ff224.js → BMI_GIRLS.percentile.monthly-542a4326.js} +0 -0
  401. /package/build/esm/{BMI_GIRLS.percentile.weekly-b792850f.js → BMI_GIRLS.percentile.weekly-c30817c9.js} +0 -0
  402. /package/build/esm/{BMI_GIRLS.percentile.yearly-a8d4f8c9.js → BMI_GIRLS.percentile.yearly-b0f88c14.js} +0 -0
  403. /package/build/esm/{BMI_GIRLS.zscore.monthly-244db734.js → BMI_GIRLS.zscore.monthly-41b5cd09.js} +0 -0
  404. /package/build/esm/{BMI_GIRLS.zscore.weekly-e10b0bdd.js → BMI_GIRLS.zscore.weekly-d05ffd16.js} +0 -0
  405. /package/build/esm/{BMI_GIRLS.zscore.yearly-936fd8d6.js → BMI_GIRLS.zscore.yearly-367f3823.js} +0 -0
  406. /package/build/esm/{ChevronDown-4874306c.js → ChevronDown-58c4c246.js} +0 -0
  407. /package/build/esm/{Close-33a553b5.js → Close-b34f8c4b.js} +0 -0
  408. /package/build/esm/{Google-09e397e8.js → Google-b0c61cc7.js} +0 -0
  409. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-11f46383.js → HEAD CIRCUM_BOYS.percentile.monthly-258964ce.js} +0 -0
  410. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c8231bdc.js → HEAD CIRCUM_BOYS.percentile.weekly-1b73d47e.js} +0 -0
  411. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-a46cf76a.js → HEAD CIRCUM_BOYS.percentile.yearly-97d6b741.js} +0 -0
  412. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-c3196aa1.js → HEAD CIRCUM_BOYS.zscore.monthly-ef35f1c2.js} +0 -0
  413. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8dab52bf.js → HEAD CIRCUM_BOYS.zscore.weekly-65af66bf.js} +0 -0
  414. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b8f42563.js → HEAD CIRCUM_BOYS.zscore.yearly-e1ade5d7.js} +0 -0
  415. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-0a9f78c2.js → HEAD CIRCUM_GIRLS.percentile.monthly-0695a429.js} +0 -0
  416. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bc6e1a9f.js → HEAD CIRCUM_GIRLS.percentile.weekly-3e97cced.js} +0 -0
  417. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-e47fd635.js → HEAD CIRCUM_GIRLS.percentile.yearly-e6006652.js} +0 -0
  418. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-1a150f28.js → HEAD CIRCUM_GIRLS.zscore.monthly-f9cddb70.js} +0 -0
  419. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e511b4c9.js → HEAD CIRCUM_GIRLS.zscore.weekly-241b31e9.js} +0 -0
  420. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b45b85c9.js → HEAD CIRCUM_GIRLS.zscore.yearly-6755fded.js} +0 -0
  421. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-48c1f044.js → HEIGHT_BOYS.percentile.monthly-73cfc64a.js} +0 -0
  422. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-ea858eeb.js → HEIGHT_BOYS.percentile.weekly-76edaab1.js} +0 -0
  423. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d93c26db.js → HEIGHT_BOYS.percentile.yearly-163687fb.js} +0 -0
  424. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-089b682a.js → HEIGHT_BOYS.zscore.monthly-3e8791b6.js} +0 -0
  425. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-e6add158.js → HEIGHT_BOYS.zscore.weekly-696b69a8.js} +0 -0
  426. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-fb222952.js → HEIGHT_BOYS.zscore.yearly-a516d58a.js} +0 -0
  427. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-b254bd16.js → HEIGHT_GIRLS.percentile.monthly-02062252.js} +0 -0
  428. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f5ac8cfe.js → HEIGHT_GIRLS.percentile.weekly-c1affaa0.js} +0 -0
  429. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-d57277e5.js → HEIGHT_GIRLS.percentile.yearly-e2fa462d.js} +0 -0
  430. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-bd15ac10.js → HEIGHT_GIRLS.zscore.monthly-636cadfd.js} +0 -0
  431. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b30da4a4.js → HEIGHT_GIRLS.zscore.weekly-492507fc.js} +0 -0
  432. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-49ddcabf.js → HEIGHT_GIRLS.zscore.yearly-748c95eb.js} +0 -0
  433. /package/build/esm/{Locale-195d354b.js → Locale-08991360.js} +0 -0
  434. /package/build/esm/{Visible-82268433.js → Visible-1b5bc00f.js} +0 -0
  435. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-2896f774.js → WEIGHT_BOYS.percentile.monthly-480fe88d.js} +0 -0
  436. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-a27e0725.js → WEIGHT_BOYS.percentile.weekly-c2951ed1.js} +0 -0
  437. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-3cf0bd05.js → WEIGHT_BOYS.percentile.yearly-07b42ac4.js} +0 -0
  438. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-1b22ac16.js → WEIGHT_BOYS.zscore.monthly-764a2a2b.js} +0 -0
  439. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-4827e847.js → WEIGHT_BOYS.zscore.weekly-fd17d551.js} +0 -0
  440. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-0105e7d6.js → WEIGHT_BOYS.zscore.yearly-61f33e93.js} +0 -0
  441. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-824eee53.js → WEIGHT_GIRLS.percentile.monthly-421f1b03.js} +0 -0
  442. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-c092dfcb.js → WEIGHT_GIRLS.percentile.weekly-dbb118f4.js} +0 -0
  443. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f54bdf64.js → WEIGHT_GIRLS.percentile.yearly-63dabec6.js} +0 -0
  444. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-e9b5d068.js → WEIGHT_GIRLS.zscore.monthly-9d19efe4.js} +0 -0
  445. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f3ff3cf7.js → WEIGHT_GIRLS.zscore.weekly-63bad63c.js} +0 -0
  446. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-c47918d6.js → WEIGHT_GIRLS.zscore.yearly-1fe81de3.js} +0 -0
  447. /package/build/esm/{animation-1e759e01.js → animation-9101b804.js} +0 -0
  448. /package/build/esm/{constants-dfd4fec2.js → constants-660a984e.js} +0 -0
  449. /package/build/esm/{constants-787d1047.js → constants-7cccca31.js} +0 -0
  450. /package/build/esm/{constants-b91a6387.js → constants-ce0dd631.js} +0 -0
  451. /package/build/esm/{dataTransform-24704549.js → dataTransform-5773b013.js} +0 -0
  452. /package/build/esm/{index-fae47190.js → index-198578c8.js} +0 -0
  453. /package/build/esm/{index-5881649f.js → index-50ea224e.js} +0 -0
  454. /package/build/esm/{index-f26595dd.js → index-6eb969d6.js} +0 -0
  455. /package/build/esm/{index-bde09734.js → index-87bf3dce.js} +0 -0
  456. /package/build/esm/{index-f7c78a98.js → index-98c3f3eb.js} +0 -0
  457. /package/build/esm/{index-e767a5ce.js → index-d07cc929.js} +0 -0
  458. /package/build/esm/{index-107190c6.js → index-d66ab88e.js} +0 -0
  459. /package/build/esm/{index-1a1b91b9.js → index-db6cae09.js} +0 -0
  460. /package/build/esm/{index.styles-4cdbea78.js → index.styles-6a12d627.js} +0 -0
  461. /package/build/esm/{localizeNumberFormat-ca7b01c6.js → localizeNumberFormat-2fd0fd54.js} +0 -0
  462. /package/build/esm/{normalizeLink-16f982aa.js → normalizeLink-519d8555.js} +0 -0
  463. /package/build/esm/{number-8bcabfaf.js → number-fafd87ca.js} +0 -0
  464. /package/build/esm/{other-02f43079.js → other-7d1d67f0.js} +0 -0
  465. /package/build/esm/{paths-86ff00ad.js → paths-5a7e1603.js} +0 -0
  466. /package/build/esm/{translationsContext-b2dc340c.js → translationsContext-5e26c458.js} +0 -0
  467. /package/build/esm/{tslib.es6-61a5e155.js → tslib.es6-f29498df.js} +0 -0
  468. /package/build/esm/{types-8c1739a1.js → types-468e73fb.js} +0 -0
  469. /package/build/esm/{useIsInit-572bb275.js → useIsInit-18292fa9.js} +0 -0
  470. /package/build/esm/{useOutsideClick-3da10969.js → useOutsideClick-450734ab.js} +0 -0
  471. /package/build/esm/{useScrollbarSize-dcafed17.js → useScrollbarSize-71467a48.js} +0 -0
  472. /package/build/esm/{useUniqueId-2e1f61a7.js → useUniqueId-f6f89767.js} +0 -0
  473. /package/build/esm/{utils-6fe70468.js → utils-e5a0e2cc.js} +0 -0
  474. /package/build/{index-7c86d056.js → index-432bab1f.js} +0 -0
  475. /package/build/{index-993665ec.js → index-49208c2d.js} +0 -0
  476. /package/build/{index-c6a7dd24.js → index-64eff3d9.js} +0 -0
  477. /package/build/{index-d589d7c3.js → index-82a24d15.js} +0 -0
  478. /package/build/{index-7fd91055.js → index-956a0ddf.js} +0 -0
  479. /package/build/{index-27f3b644.js → index-dbcbb1ee.js} +0 -0
  480. /package/build/{index-0f53ccd0.js → index-dd883248.js} +0 -0
  481. /package/build/{index-423fcd07.js → index-e90d08c3.js} +0 -0
  482. /package/build/{index.styles-6a861840.js → index.styles-f5ca1d8f.js} +0 -0
  483. /package/build/{localizeNumberFormat-54e706f5.js → localizeNumberFormat-33cfe92d.js} +0 -0
  484. /package/build/{normalizeLink-881a333f.js → normalizeLink-e19a8951.js} +0 -0
  485. /package/build/{number-4f82eab1.js → number-e2fcf9a0.js} +0 -0
  486. /package/build/{other-be45c1fc.js → other-738abc87.js} +0 -0
  487. /package/build/{paths-2f37bbaf.js → paths-81315bde.js} +0 -0
  488. /package/build/{translationsContext-6dc487d0.js → translationsContext-f32717b5.js} +0 -0
  489. /package/build/{tslib.es6-e7c9ab79.js → tslib.es6-3152cc92.js} +0 -0
  490. /package/build/{types-167beb92.js → types-48391099.js} +0 -0
  491. /package/build/{useIsInit-f8cc3bdc.js → useIsInit-e454cbe8.js} +0 -0
  492. /package/build/{useOutsideClick-e33b7ee7.js → useOutsideClick-ded5783d.js} +0 -0
  493. /package/build/{useScrollbarSize-18803479.js → useScrollbarSize-ec75adbf.js} +0 -0
  494. /package/build/{useUniqueId-a27907fa.js → useUniqueId-f6102b6d.js} +0 -0
  495. /package/build/{utils-085bd563.js → utils-c49470cc.js} +0 -0
package/build/esm/lead.js CHANGED
@@ -1,53 +1,53 @@
1
- import { _ as __rest, a as __awaiter } from './tslib.es6-61a5e155.js';
1
+ import { _ as __rest, a as __awaiter } from './tslib.es6-f29498df.js';
2
2
  import React__default, { createContext, useMemo, useEffect, useRef, useState, useContext, useCallback, forwardRef, useImperativeHandle, memo, useLayoutEffect } from 'react';
3
3
  import { createStyles, Box, Button as Button$1, Input as Input$1, Autocomplete, clsx, Checkbox as Checkbox$1, Radio as Radio$1, Select as Select$1, TextInput, NumberInput as NumberInput$1, Portal, Transition, Overlay } from '@mantine/core';
4
4
  import debounce from 'lodash/debounce';
5
5
  import { createFormContext, useForm } from '@mantine/form';
6
6
  import dayjs from 'dayjs';
7
- import { B as BEARER_TOKEN_COOKIE } from './index-c40a5354.js';
7
+ import { B as BEARER_TOKEN_COOKIE } from './index-e62941d8.js';
8
8
  import { getCookie, setCookie } from './miscCookieHelper.js';
9
- import { u as useTranslations } from './index-4817b6fb.js';
10
- import { T as TranslationsContext } from './translationsContext-b2dc340c.js';
11
- import { M as MediaQueries, b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-6fe70468.js';
12
- import { T as Text } from './index-51203f5c.js';
13
- import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput, O as OTP } from './index-e9014616.js';
14
- import { D as DatePicker } from './index-0f575835.js';
15
- import { B as Button } from './index-7f0fb92c.js';
16
- import './index.styles-4cdbea78.js';
17
- import { useClickOutside } from '@mantine/hooks';
18
- import './useMantineLocale-255491dc.js';
19
- import { C as COMMON_DATE_TRANSLATE_KEY } from './index-bc24b8a9.js';
20
- import './index-f26595dd.js';
21
- import { Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-92babb26.js';
22
- import './other-02f43079.js';
23
- import './index-6a0f58a2.js';
24
- import { M as MAPPED_LOCALE } from './utils-fab23c47.js';
9
+ import { u as useTranslations } from './index-01cd18a9.js';
10
+ import { T as TranslationsContext } from './translationsContext-5e26c458.js';
11
+ import { M as MediaQueries, b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-e5a0e2cc.js';
12
+ import { T as Text } from './index-3703d47e.js';
13
+ import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput, O as OTP } from './index-d916ce5a.js';
14
+ import { D as DatePicker } from './index-990fbc21.js';
15
+ import { B as Button } from './index-71310e76.js';
16
+ import './index.styles-6a12d627.js';
17
+ import { useIntersection, useClickOutside } from '@mantine/hooks';
18
+ import './useMantineLocale-cf9ef2cd.js';
19
+ import { C as COMMON_DATE_TRANSLATE_KEY } from './index-3a335d82.js';
20
+ import './index-6eb969d6.js';
21
+ import { L as LOCALE_SPECS, Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-8d37e482.js';
22
+ import './other-7d1d67f0.js';
23
+ import './index-3e01d805.js';
24
+ import { M as MAPPED_LOCALE } from './utils-c6cd3f21.js';
25
25
  import { DateInput } from '@mantine/dates';
26
- import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-46dd7177.js';
27
- import { H as Heading$1 } from './index-6a38412d.js';
28
- import { t as translationsMap$1 } from './translationsProvider-20266cbb.js';
29
- import { L as LOCALE } from './Locale-195d354b.js';
26
+ import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-9a493eb4.js';
27
+ import { H as Heading$1 } from './index-de615c57.js';
28
+ import { t as translationsMap$1 } from './translationsProvider-c99a9f14.js';
29
+ import { L as LOCALE } from './Locale-08991360.js';
30
30
  import { v1 } from 'uuid';
31
+ import { domainLocales } from './constantsDomainLocales.js';
31
32
  import { parsePhoneNumber } from 'react-phone-number-input';
32
33
  import styled from '@emotion/styled';
33
34
  import { theme } from './miscTheme.js';
34
35
  import { css } from '@emotion/react';
35
- import { T as TogetherComponentGlobalContext } from './utils-867c0cbb.js';
36
- import { i as isVideo } from './index-1a1b91b9.js';
37
- import { u as useScreenSize } from './useScreenSize-1fc99ffb.js';
36
+ import { T as TogetherComponentGlobalContext } from './utils-de1b8290.js';
37
+ import { i as isVideo } from './index-db6cae09.js';
38
+ import { u as useScreenSize } from './useScreenSize-d80a35eb.js';
38
39
  import { motion } from 'framer-motion';
39
40
  import { createPortal } from 'react-dom';
40
- import { B as Button$2 } from './index-cc8507de.js';
41
- import { I as InputDate } from './InputDate-4ab03ef5.js';
42
- import { D as DrawerComponent } from './index-2d2f032d.js';
43
- import { C as Close } from './Close-33a553b5.js';
41
+ import { B as Button$2 } from './index-7cfc5837.js';
42
+ import { I as InputDate } from './InputDate-9b1a4f17.js';
43
+ import { D as DrawerComponent } from './index-eada8cec.js';
44
+ import { C as Close } from './Close-b34f8c4b.js';
44
45
  import './constantsIsProduction.js';
45
- import './normalizeLink-16f982aa.js';
46
- import './constantsDomainLocales.js';
46
+ import './normalizeLink-519d8555.js';
47
47
  import '@hhgtech/icons/other';
48
48
  import '@mantine/carousel';
49
49
  import 'classnames';
50
- import './useUniqueId-2e1f61a7.js';
50
+ import './useUniqueId-f6f89767.js';
51
51
  import './constantsSite.js';
52
52
  import '@hhgtech/icons/core';
53
53
  import '@mantine/notifications';
@@ -65,11 +65,11 @@ import './i18n-values/vi-VN.js';
65
65
  import './i18n-values/vi-VN_MB.js';
66
66
  import './i18n-values/zh-SG.js';
67
67
  import './i18n-values/zh-TW.js';
68
- import './index-fae47190.js';
68
+ import './index-198578c8.js';
69
69
  import 'slugify';
70
70
  import 'string-format';
71
71
  import './togetherApiPaths.js';
72
- import './constants-b91a6387.js';
72
+ import './constants-ce0dd631.js';
73
73
  import 'vaul';
74
74
 
75
75
  const LeadGenComponentContext = createContext({});
@@ -159,11 +159,6 @@ const LEAD_TIMEZONE_DATA = {
159
159
  9: 'Asia/Manila', // Philippines / Filipinos Site
160
160
  };
161
161
 
162
- const LEADGEN_ACTIONS = {
163
- SHOW: 'SHOW',
164
- SCROLL: 'SCROLL',
165
- TIME: 'TIME',
166
- };
167
162
  var LEADGEN_LAYOUT;
168
163
  (function (LEADGEN_LAYOUT) {
169
164
  LEADGEN_LAYOUT["LightBoxA"] = "LightBoxA";
@@ -562,6 +557,13 @@ const campaignPostImpression = ({ code, action, title_article, ga_client_id, coo
562
557
  },
563
558
  });
564
559
  };
560
+ const trackingSubscription = (data) => {
561
+ return leadApi.call({
562
+ url: `api/collection/tracking-subscription`,
563
+ method: METHOD.POST,
564
+ data,
565
+ });
566
+ };
565
567
  const Service = {
566
568
  campaignGetById,
567
569
  getCampaignByCode,
@@ -569,6 +571,7 @@ const Service = {
569
571
  postSubscriptionBoxLead,
570
572
  postUserInfoFromLeadGen,
571
573
  campaignPostImpression,
574
+ trackingSubscription,
572
575
  validateEmailOrPhoneOnSubot,
573
576
  validateEmailOrPhoneOnLeadGen,
574
577
  validatePhoneNumberOnLeadGen,
@@ -1983,27 +1986,30 @@ const LeadGenContext = createContext({
1983
1986
  LeadLog('** LeadGen SubmitSubscriptionBox : ', value);
1984
1987
  return Promise.reject(value);
1985
1988
  },
1986
- impression(value) {
1989
+ impression(type) {
1987
1990
  /** Init for FAKING function */
1988
- LeadLog('** LeadGen Impression : ', value);
1989
- return Promise.reject(value);
1991
+ LeadLog('** LeadGen Impression : ', type);
1992
+ return Promise.reject();
1990
1993
  },
1991
1994
  /** For Subscription Box */
1992
1995
  subscriptionIcon: '',
1993
1996
  subscriptionTitle: '',
1997
+ subscriptionPhoneType: '',
1994
1998
  });
1995
1999
  const LeadGenContextProvider = (props) => {
1996
- const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children } = props, restProps = __rest(props, ["campaign_code", "apiSsoUrl", "apiLeadUrl", "apiSubotUrl", "locale", "forceCampaign", "extraValues", "articleId", "categoryId", "siteDomain", "children"]);
2000
+ const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children, userInfo } = props, restProps = __rest(props, ["campaign_code", "apiSsoUrl", "apiLeadUrl", "apiSubotUrl", "locale", "forceCampaign", "extraValues", "articleId", "categoryId", "siteDomain", "children", "userInfo"]);
2001
+ const { t } = useTranslations();
1997
2002
  const [forceCampaign, setForceCampaign] = useState(forceCampaignProps);
1998
2003
  const [subscriptionInfo, setSubscriptionInfo] = useState({
1999
2004
  subscriptionIcon: '',
2000
2005
  subscriptionTitle: '',
2001
2006
  subscriptionType: 'TypeA',
2007
+ subscriptionPhoneType: '',
2002
2008
  });
2003
2009
  const locale = useMemo(() => {
2004
2010
  return localeProps || LOCALE['PhilippinesEnglish'];
2005
2011
  }, [localeProps]);
2006
- const { url, campaign_id, campaign_code, cookie_id, ga_client_id, category_id, article_id, article_title, } = useMemo(() => ({
2012
+ const { url, campaign_id, cookie_id, ga_client_id, category_id, article_id, article_title, category_name, } = useMemo(() => ({
2007
2013
  url: location.href.toLowerCase() || '',
2008
2014
  cookie_id: getCookie('hhg-id') || null,
2009
2015
  ga_client_id: getCookie('_ga'),
@@ -2012,27 +2018,33 @@ const LeadGenContextProvider = (props) => {
2012
2018
  category_id: categoryId,
2013
2019
  article_id: articleId,
2014
2020
  article_title: (extraValues === null || extraValues === void 0 ? void 0 : extraValues.article_title) || document.title || '',
2021
+ category_name: (extraValues === null || extraValues === void 0 ? void 0 : extraValues.category_name) || '',
2015
2022
  }), [
2016
2023
  campaignCodeProps,
2017
2024
  articleId,
2018
2025
  categoryId,
2019
2026
  forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id,
2020
2027
  extraValues === null || extraValues === void 0 ? void 0 : extraValues.article_title,
2028
+ extraValues === null || extraValues === void 0 ? void 0 : extraValues.category_name,
2021
2029
  ]);
2022
- const fetchCampaign = useCallback((campaign_code) => {
2023
- Service.getCampaignByCode(campaign_code).then((res) => {
2024
- const { _data } = res || {};
2025
- const { campaigns } = _data || {};
2026
- LeadLog('** LeadGen Campaign : ', campaigns);
2027
- setForceCampaign(formatCampaignDetail(campaigns));
2028
- });
2029
- }, [campaignCodeProps]);
2030
+ // const fetchCampaign = useCallback(
2031
+ // (campaign_code: string) => {
2032
+ // Service.getCampaignByCode(campaign_code).then((res) => {
2033
+ // const { _data } = res || {}
2034
+ // const { campaigns } = _data || {}
2035
+ // LeadLog('** LeadGen Campaign : ', campaigns)
2036
+ // setForceCampaign(formatCampaignDetail(campaigns))
2037
+ // })
2038
+ // },
2039
+ // [campaignCodeProps],
2040
+ // )
2030
2041
  // TODO : Update form for LeadGen
2031
2042
  const submit = useCallback((data) => {
2032
2043
  return Service.postSubscriptionBoxLead({ data });
2033
2044
  }, []);
2034
2045
  const submitSubscriptionBox = useCallback((value) => {
2035
- const data = Object.assign(Object.assign(Object.assign(Object.assign({}, value), { campaign_id,
2046
+ const data = Object.assign(Object.assign(Object.assign(Object.assign({}, value), {
2047
+ // campaign_id,
2036
2048
  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,
2037
2049
  category_id,
2038
2050
  article_title });
@@ -2048,33 +2060,36 @@ const LeadGenContextProvider = (props) => {
2048
2060
  cookie_id,
2049
2061
  ga_client_id,
2050
2062
  ]);
2051
- const impression = useCallback((value) => {
2063
+ const impression = useCallback((type) => {
2064
+ const gaCookie = getCookie('_ga') || null;
2052
2065
  const impression = {
2053
- url: (value === null || value === void 0 ? void 0 : value.url) || url,
2054
- action: (value === null || value === void 0 ? void 0 : value.action) || LEADGEN_ACTIONS.SCROLL,
2055
- code: (value === null || value === void 0 ? void 0 : value.code) || campaign_code,
2056
- title_article: (value === null || value === void 0 ? void 0 : value.title_article) || article_title,
2057
- cookie_id: (value === null || value === void 0 ? void 0 : value.cookie_id) || cookie_id,
2058
- ga_client_id: (value === null || value === void 0 ? void 0 : value.ga_client_id) || ga_client_id,
2059
- referrer: value === null || value === void 0 ? void 0 : value.referrer,
2060
- extra: Object.assign(Object.assign(Object.assign({}, value === null || value === void 0 ? void 0 : value.extra), { cookie_id,
2061
- article_id, subscription_title: subscriptionInfo.subscriptionTitle, subscription_type: subscriptionInfo.subscriptionType }), extraValues),
2066
+ subscription_title: subscriptionInfo.subscriptionTitle,
2067
+ name: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.name) || '',
2068
+ area_code: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.area_code) || '',
2069
+ phone_number: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone) || '',
2070
+ site_domain: domainLocales[locale],
2071
+ url: location.href.toLowerCase(),
2072
+ cookie_id: getCookie('hhg-id'),
2073
+ ga_client_id: gaCookie,
2074
+ article_title,
2075
+ article_id,
2076
+ category_id,
2077
+ category_name,
2078
+ type,
2062
2079
  };
2063
- if (!impression.extra.subscription_title) {
2064
- delete impression.extra.subscription_title;
2065
- }
2066
- return Service.campaignPostImpression(impression);
2080
+ return Service.trackingSubscription(impression);
2067
2081
  }, [
2068
- extraValues,
2069
2082
  campaign_id,
2070
2083
  url,
2071
- campaign_code,
2072
2084
  article_title,
2073
2085
  cookie_id,
2074
2086
  ga_client_id,
2087
+ categoryId,
2075
2088
  article_id,
2076
2089
  subscriptionInfo.subscriptionTitle,
2077
- subscriptionInfo.subscriptionType,
2090
+ userInfo === null || userInfo === void 0 ? void 0 : userInfo.name,
2091
+ userInfo === null || userInfo === void 0 ? void 0 : userInfo.area_code,
2092
+ userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone,
2078
2093
  ]);
2079
2094
  useEffect(() => {
2080
2095
  if (forceCampaignProps) {
@@ -2089,21 +2104,138 @@ const LeadGenContextProvider = (props) => {
2089
2104
  slug: location === null || location === void 0 ? void 0 : location.pathname,
2090
2105
  }).then((res) => {
2091
2106
  const { _data } = res || {};
2092
- const { item, campaign_code } = _data || {};
2107
+ const { item, campaign_code, btn_type = 'zalo' } = _data || {};
2093
2108
  const { icon, content } = item || {};
2094
2109
  LeadLog('** LeadGen SubscriptionBox campaign_code : ', campaign_code);
2095
2110
  LeadLog('** LeadGen SubscriptionBox subscription_icon : ', icon);
2096
2111
  LeadLog('** LeadGen SubscriptionBox subscription_title : ', content);
2097
- setSubscriptionInfo((prev) => (Object.assign(Object.assign({}, prev), { subscriptionIcon: icon, subscriptionTitle: content })));
2098
- if (campaign_code) {
2099
- fetchCampaign(campaign_code);
2100
- }
2112
+ setSubscriptionInfo((prev) => (Object.assign(Object.assign({}, prev), { subscriptionIcon: icon, subscriptionTitle: content, subscriptionPhoneType: btn_type })));
2113
+ setForceCampaign(formatCampaignDetail({
2114
+ id: 6993,
2115
+ name: '',
2116
+ code: '49qvztwzzlfvmk6',
2117
+ site: {
2118
+ id: LOCALE_SPECS[locale].SITE_ID || 1,
2119
+ name: domainLocales[locale],
2120
+ },
2121
+ thank_you_image: 'https://cdn-lead.hellohealthgroup.com/2025/05/1747009374_68213f5e5fa5a9.58533462.png',
2122
+ extra_fields: {
2123
+ actionBlocks: `{"submitBlock":{"data":{"value":"${t('subscriptionBox.ctaBtn')}"}},"linkButtonBlock":{"data":{"value":"Join now","url":"","newtab":true}}}`,
2124
+ currentLayout: 'LightBoxB',
2125
+ imageBlocks: '{"imageMobile":{"data":{"url":"","newtab":true}},"imageDesktop":{"data":{"url":"","newtab":true}},"imageBackground":{"data":{}},"imageOverlayMobile":{"data":{}},"imageOverlayDesktop":{"data":{}},"imageThankYou":{"data":{}}}',
2126
+ 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')}"}}]`,
2127
+ 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"}}]`,
2128
+ textBlocks: '{"titleBlock":{"data":{"value":"VN - Campaign SUBSCRIPTION BOX "}},"subtitleBlock":{"data":{"value":"Sample description"}}}',
2129
+ },
2130
+ total_lead: 0,
2131
+ total_submit: 0,
2132
+ total_click: 0,
2133
+ started_at: null,
2134
+ ended_at: null,
2135
+ created_at: '2025-04-08 04:54:32',
2136
+ updated_at: '2025-05-12 00:22:54',
2137
+ site_logo: 'https://hhg-common.hellobacsi.com/common/logo/hellobacsi.png',
2138
+ custom_logo: null,
2139
+ status: 1,
2140
+ formatted_status: 1,
2141
+ creator: 'admin@hellohealthgroup.com',
2142
+ total_impression: 4237940,
2143
+ conversion_rate: 0,
2144
+ total_visitor: 0,
2145
+ total_habit_exit: 0,
2146
+ total_intentional_exit: 0,
2147
+ trigger_type: 'on_landing',
2148
+ targets: [
2149
+ {
2150
+ is_import: 0,
2151
+ option: 'start_with',
2152
+ sub_target: [],
2153
+ target: 'https://hellobacsi.com/sample',
2154
+ type: 1,
2155
+ },
2156
+ ],
2157
+ forms: [
2158
+ {
2159
+ control: 'TextBlock',
2160
+ default: null,
2161
+ name: 'TextBlock',
2162
+ options: [],
2163
+ required: 1,
2164
+ },
2165
+ {
2166
+ control: 'PhoneBlock',
2167
+ default: null,
2168
+ name: 'PhoneBlock',
2169
+ options: [],
2170
+ required: 1,
2171
+ requiredMessage: t('subscriptionBox.phoneRequire'),
2172
+ },
2173
+ ],
2174
+ rules: [
2175
+ {
2176
+ rule: 'campaign_popup_exit',
2177
+ value: '7',
2178
+ },
2179
+ {
2180
+ rule: 'site_popup_exit',
2181
+ value: '7',
2182
+ },
2183
+ {
2184
+ rule: 'show_again_after_submit',
2185
+ value: '0',
2186
+ },
2187
+ {
2188
+ rule: 'show_again_after_exit',
2189
+ value: '0',
2190
+ },
2191
+ {
2192
+ rule: 'appearance_time',
2193
+ value: {
2194
+ endTime: null,
2195
+ startTime: null,
2196
+ },
2197
+ },
2198
+ {
2199
+ rule: 'exclude_sponsored',
2200
+ value: '1',
2201
+ },
2202
+ {
2203
+ rule: 'exclude_sponsored_list',
2204
+ value: [],
2205
+ },
2206
+ {
2207
+ rule: 'days_to_show_again',
2208
+ value: '7',
2209
+ },
2210
+ {
2211
+ rule: 'time',
2212
+ value: '3',
2213
+ },
2214
+ ],
2215
+ is_scheduled: true,
2216
+ last_step: null,
2217
+ kpis: {
2218
+ lead: 500,
2219
+ },
2220
+ forever: 1,
2221
+ is_target_import: 0,
2222
+ is_expired: 0,
2223
+ score: 6,
2224
+ price: 2.5,
2225
+ type: 0,
2226
+ is_testing_running: 0,
2227
+ campaign_group_id: 0,
2228
+ bot_id: [],
2229
+ }));
2230
+ // if (campaign_code) {
2231
+ // fetchCampaign(campaign_code)
2232
+ // }
2101
2233
  });
2102
2234
  return;
2103
2235
  }
2104
- if (campaignCodeProps) {
2105
- fetchCampaign(campaignCodeProps);
2106
- }
2236
+ // if (campaignCodeProps) {
2237
+ // fetchCampaign(campaignCodeProps)
2238
+ // }
2107
2239
  }, [forceCampaignProps, campaignCodeProps, categoryId]);
2108
2240
  useEffect(() => {
2109
2241
  leadStore.apiSsoUrl = apiSsoUrl;
@@ -2113,7 +2245,7 @@ const LeadGenContextProvider = (props) => {
2113
2245
  if (!forceCampaign || !(forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id)) {
2114
2246
  return null;
2115
2247
  }
2116
- return (React__default.createElement(LeadGenContext.Provider, { value: Object.assign(Object.assign(Object.assign({}, restProps), subscriptionInfo), { campaign_code: campaignCodeProps, apiSsoUrl,
2248
+ return (React__default.createElement(LeadGenContext.Provider, { value: Object.assign(Object.assign(Object.assign({}, restProps), subscriptionInfo), { userInfo, campaign_code: campaignCodeProps, apiSsoUrl,
2117
2249
  apiLeadUrl,
2118
2250
  apiSubotUrl, locale: localeProps, extraValues,
2119
2251
  articleId,
@@ -2128,6 +2260,39 @@ const useLeadGenContext = () => {
2128
2260
  return Object.assign(Object.assign({}, context), { apiSsoUrl: context.apiSsoUrl || leadStore.apiSsoUrl, apiLeadUrl: context.apiLeadUrl || leadStore.apiLeadUrl, apiSubotUrl: context.apiSubotUrl || leadStore.apiSubotUrl });
2129
2261
  };
2130
2262
 
2263
+ const ImpressionTrackingWrapper = ({ children, stayDuration = 3, onImpression, dependency = '', }) => {
2264
+ const { ref, entry } = useIntersection({
2265
+ threshold: 1,
2266
+ });
2267
+ const [tracked, setTracked] = useState(false);
2268
+ useEffect(() => {
2269
+ let timer = null;
2270
+ let count = 1;
2271
+ if ((entry === null || entry === void 0 ? void 0 : entry.isIntersecting) && !tracked) {
2272
+ timer = setInterval(() => {
2273
+ console.log('Impression count: ', count);
2274
+ if (count >= stayDuration) {
2275
+ setTracked(true);
2276
+ }
2277
+ else {
2278
+ count += 1;
2279
+ }
2280
+ }, 1000);
2281
+ }
2282
+ return () => clearInterval(timer);
2283
+ }, [entry === null || entry === void 0 ? void 0 : entry.isIntersecting, tracked]);
2284
+ useEffect(() => {
2285
+ if (tracked) {
2286
+ onImpression();
2287
+ console.log('Impression call API');
2288
+ }
2289
+ }, [tracked]);
2290
+ useEffect(() => {
2291
+ setTracked(false);
2292
+ }, [dependency]);
2293
+ return (React__default.createElement(Box, { "data-impression": true, ref: ref }, children));
2294
+ };
2295
+
2131
2296
  // eslint-disable-next-line @typescript-eslint/no-var-requires
2132
2297
  const customParseFormat = require('dayjs/plugin/customParseFormat');
2133
2298
  dayjs.extend(customParseFormat);
@@ -2164,7 +2329,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
2164
2329
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2165
2330
  block) => {
2166
2331
  return (value) => {
2167
- var _a;
2332
+ var _a, _b;
2168
2333
  const isBLockRequired = (_a = block === null || block === void 0 ? void 0 : block.data) === null || _a === void 0 ? void 0 : _a.required;
2169
2334
  if (!formRef.current.isTouched(name))
2170
2335
  return;
@@ -2172,7 +2337,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
2172
2337
  typeof value === 'undefined' ||
2173
2338
  (Array.isArray(value) && value.length === 0)) {
2174
2339
  return isBLockRequired
2175
- ? t('validator.required')
2340
+ ? ((_b = block === null || block === void 0 ? void 0 : block.data) === null || _b === void 0 ? void 0 : _b.requiredMessage) || t('validator.required')
2176
2341
  : cb === null || cb === void 0 ? void 0 : cb(value);
2177
2342
  }
2178
2343
  return cb === null || cb === void 0 ? void 0 : cb(value);
@@ -2421,12 +2586,25 @@ const StyledLeadGenSubscriptionBox = styled.div `
2421
2586
  border: 1px solid ${theme.colors.neutral100};
2422
2587
  background: linear-gradient(
2423
2588
  180.71deg,
2424
- #7bc2ff -18.54%,
2425
- #e3f2ff 17.12%,
2426
- #ffffff 99.25%
2589
+ rgba(44, 183, 66, 0.8) -18.54%,
2590
+ rgba(44, 183, 66, 0.1) 17.12%,
2591
+ rgba(44, 183, 66, 0) 99.25%
2427
2592
  );
2428
2593
  border-radius: 12px;
2429
2594
  margin-inline: auto;
2595
+ &[data-phone-type='zalo'] {
2596
+ background: linear-gradient(
2597
+ 180.71deg,
2598
+ #7bc2ff -18.54%,
2599
+ #e3f2ff 17.12%,
2600
+ #ffffff 99.25%
2601
+ );
2602
+ }
2603
+ &[data-phone-type]:not([data-phone-type='zalo']) {
2604
+ .leadgen-btn {
2605
+ background-color: #2cb742 !important;
2606
+ }
2607
+ }
2430
2608
  .leadgen-form_inputs {
2431
2609
  .leadgen-form_input {
2432
2610
  width: 100%;
@@ -3102,10 +3280,9 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3102
3280
  const { image, extra_fields, id: campaign_id, bot_id: campaign_subot_id = [], ThankYouBlock, } = forceCampaign || {};
3103
3281
  const { textBlocks, listBlockAdded, actionBlocks } = extra_fields || {};
3104
3282
  const { submitBlock } = actionBlocks || {};
3105
- const { apiLeadUrl, subscriptionIcon, subscriptionTitle, submitSubscriptionBox, impression, onFinish, } = useLeadGenContext();
3283
+ const { apiLeadUrl, subscriptionIcon, subscriptionTitle, subscriptionPhoneType, submitSubscriptionBox, onFinish, impression, } = useLeadGenContext();
3106
3284
  const { t } = useTranslations();
3107
3285
  const { action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
3108
- const refContainer = useRef(null);
3109
3286
  const [loading, setLoading] = useState(false);
3110
3287
  const [showThankyou, setShowThankyou] = useState(false);
3111
3288
  const validatingEmailRef = useRef(false);
@@ -3125,17 +3302,6 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3125
3302
  t('leadgen.message.title.default');
3126
3303
  }, [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]);
3127
3304
  const { image: thankyouImage, title: thankyouTitle, description: thankyouDescription, button: thankyouButton, } = ThankYouBlock || {};
3128
- const intersectionObserverCallback = useCallback((entries) => {
3129
- entries.forEach((entry) => {
3130
- const { isIntersecting, target } = entry;
3131
- if (!showThankyou &&
3132
- isIntersecting &&
3133
- target === refContainer.current) {
3134
- impression();
3135
- }
3136
- });
3137
- }, [impression, showThankyou]);
3138
- const IObserver = new IntersectionObserver(intersectionObserverCallback);
3139
3305
  const middlewareOnSubmit = useCallback((values) => __awaiter(void 0, void 0, void 0, function* () {
3140
3306
  const newValues = {
3141
3307
  subscription_title,
@@ -3172,7 +3338,11 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3172
3338
  setLoading(true);
3173
3339
  try {
3174
3340
  const reqValues = Object.assign(Object.assign({}, newValues), ssoValues);
3175
- const { _data } = (yield submitSubscriptionBox(reqValues)) || {};
3341
+ const [res] = yield Promise.all([
3342
+ submitSubscriptionBox(reqValues),
3343
+ impression('submit_form'),
3344
+ ]);
3345
+ const { _data } = res || {};
3176
3346
  const { model } = _data || {};
3177
3347
  if (model && (model === null || model === void 0 ? void 0 : model.id)) {
3178
3348
  setShowThankyou(true);
@@ -3216,16 +3386,8 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3216
3386
  userInfo === null || userInfo === void 0 ? void 0 : userInfo.uid,
3217
3387
  userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone,
3218
3388
  ]);
3219
- useEffect(() => {
3220
- if (refContainer.current) {
3221
- IObserver.observe(refContainer.current);
3222
- }
3223
- return () => {
3224
- IObserver.disconnect();
3225
- };
3226
- }, [categoryId]);
3227
- return (React__default.createElement("div", { ref: refContainer },
3228
- React__default.createElement(StyledLeadGenSubscriptionBox, { "data-type": "subscription_box_A" },
3389
+ return (React__default.createElement(ImpressionTrackingWrapper, { dependency: categoryId, onImpression: () => impression('impression') },
3390
+ React__default.createElement(StyledLeadGenSubscriptionBox, { "data-phone-type": subscriptionPhoneType, "data-type": "subscription_box_A" },
3229
3391
  showThankyou && (React__default.createElement(LeadGenThankYou, { image: Object.assign(Object.assign({}, thankyouImage), { src: thankyouImage.src || `${apiLeadUrl}admin/img/thanksyou.png` }), title: thankyouTitle, description: thankyouDescription, button: thankyouButton })),
3230
3392
  !showThankyou && (React__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 })))));
3231
3393
  };
@@ -3240,8 +3402,12 @@ const Container = () => {
3240
3402
  return (React__default.createElement(LeadGenSubscriptionBox$1, { locale: locale, siteId: siteId, siteDomain: siteDomain, userInfo: userInfo, forceCampaign: forceCampaign, campaign_code: campaign_code }));
3241
3403
  };
3242
3404
  Container.displayName = 'LeadGenSubscriptionBox';
3405
+ const ALLOW_LOCALE = [LOCALE.Vietnam, LOCALE.Malaysia, LOCALE.Indonesia];
3243
3406
  const LeadGenSubscriptionBoxContainer = (props) => {
3244
- const { apiUrl, apiSubotUrl } = props;
3407
+ const { apiUrl, apiSubotUrl, locale } = props;
3408
+ if (!ALLOW_LOCALE.includes(locale)) {
3409
+ return null;
3410
+ }
3245
3411
  return (React__default.createElement(LeadGenContextProvider, Object.assign({}, props, { apiLeadUrl: apiUrl, apiSubotUrl: apiSubotUrl }),
3246
3412
  React__default.createElement(Container, null)));
3247
3413
  };
@@ -3368,6 +3534,35 @@ const FloatingLayout = ({ popupId, url, title, urlText, titleAlign, subtitle, su
3368
3534
  React__default.createElement(CloseButton, { onClose: onClose, containerClassName: "close-button-top-right" }))))));
3369
3535
  };
3370
3536
 
3537
+ const useViewportDimensions = () => {
3538
+ const dimensionsRef = useRef({ width: 0, height: 0 });
3539
+ const [dimensions, setDimensions] = useState(() => ({
3540
+ width: window.screen.availWidth,
3541
+ height: window.screen.availHeight,
3542
+ }));
3543
+ useEffect(() => {
3544
+ var _a;
3545
+ function visualViewport(e) {
3546
+ if (dimensionsRef.current.width === e.target.width &&
3547
+ dimensionsRef.current.height === e.target.height) {
3548
+ return;
3549
+ }
3550
+ const newDimensions = {
3551
+ width: e.target.width,
3552
+ height: e.target.height,
3553
+ };
3554
+ dimensionsRef.current = newDimensions;
3555
+ setDimensions(newDimensions);
3556
+ }
3557
+ (_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.addEventListener('resize', visualViewport);
3558
+ return () => {
3559
+ var _a;
3560
+ (_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.removeEventListener('resize', visualViewport);
3561
+ };
3562
+ }, []);
3563
+ return useMemo(() => (Object.assign({}, dimensions)), [dimensions.height, dimensions.width]);
3564
+ };
3565
+
3371
3566
  function isMac() {
3372
3567
  return testPlatform(/^Mac/);
3373
3568
  }
@@ -3643,35 +3838,6 @@ function isInput(target) {
3643
3838
  (target instanceof HTMLElement && target.isContentEditable));
3644
3839
  }
3645
3840
 
3646
- const useViewportDimensions = () => {
3647
- const dimensionsRef = useRef({ width: 0, height: 0 });
3648
- const [dimensions, setDimensions] = useState(() => ({
3649
- width: window.screen.availWidth,
3650
- height: window.screen.availHeight,
3651
- }));
3652
- useEffect(() => {
3653
- var _a;
3654
- function visualViewport(e) {
3655
- if (dimensionsRef.current.width === e.target.width &&
3656
- dimensionsRef.current.height === e.target.height) {
3657
- return;
3658
- }
3659
- const newDimensions = {
3660
- width: e.target.width,
3661
- height: e.target.height,
3662
- };
3663
- dimensionsRef.current = newDimensions;
3664
- setDimensions(newDimensions);
3665
- }
3666
- (_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.addEventListener('resize', visualViewport);
3667
- return () => {
3668
- var _a;
3669
- (_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.removeEventListener('resize', visualViewport);
3670
- };
3671
- }, []);
3672
- return useMemo(() => (Object.assign({}, dimensions)), [dimensions.height, dimensions.width]);
3673
- };
3674
-
3675
3841
  const StyledLeadGenLightBoxBFooter = styled.div `
3676
3842
  padding-top: calc(var(--spacing-y, 20px) * 8 / 20);
3677
3843
  padding-inline: var(--spacing-x, 20px);
@@ -3872,7 +4038,8 @@ const ThankyouPopup = ({ title, titleAlign, subtitle, subtitleAlign, link, linkN
3872
4038
  React__default.createElement(Button, { className: `lead-modal__btn ${LEAD_CLASS}`, color: primaryColor }, linkText)))))));
3873
4039
  };
3874
4040
 
3875
- const InlineLayout = ({ content, inlinePosition, }) => {
4041
+ const InlineLayout = ({ action, content, inlinePosition, campaignCode, }) => {
4042
+ const { apiUrl } = useContext(LeadGenContext$1);
3876
4043
  const target = useMemo(() => {
3877
4044
  if (!inlinePosition)
3878
4045
  return null;
@@ -3979,7 +4146,22 @@ const InlineLayout = ({ content, inlinePosition, }) => {
3979
4146
  }, [inlinePosition]);
3980
4147
  if (!inlinePosition || !target)
3981
4148
  return null;
3982
- return createPortal(content, target);
4149
+ return createPortal(React__default.createElement(ImpressionTrackingWrapper, { onImpression: () => __awaiter(void 0, void 0, void 0, function* () {
4150
+ const gaCookie = getCookie('_ga') || null;
4151
+ fetch(`${apiUrl}api/campaign/${campaignCode}/impression`, {
4152
+ method: 'POST',
4153
+ headers: {
4154
+ 'Content-Type': 'application/json',
4155
+ },
4156
+ body: JSON.stringify({
4157
+ action,
4158
+ url: location.href.toLowerCase(),
4159
+ title_article: document.title,
4160
+ cookie_id: getCookie('hhg-id'),
4161
+ ga_client_id: gaCookie,
4162
+ }),
4163
+ });
4164
+ }) }, content), target);
3983
4165
  };
3984
4166
 
3985
4167
  const SideBarLayout = ({ content }) => {
@@ -4746,7 +4928,7 @@ const LEADGEN_SHOW_HEADER = [
4746
4928
  ];
4747
4929
  // const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39', 'u0adw7hw8kw7t89']
4748
4930
  const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39'];
4749
- 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, }) => {
4931
+ 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, }) => {
4750
4932
  var _a, _b;
4751
4933
  const { primaryColor } = useContext(LeadGenContext$1);
4752
4934
  const { isMobile } = useScreenSize();
@@ -4771,7 +4953,7 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
4771
4953
  }
4772
4954
  };
4773
4955
  const { height } = useViewportDimensions();
4774
- usePreventScroll();
4956
+ // usePreventScroll()
4775
4957
  const formActiveTime = useRef(0);
4776
4958
  const textBlocks = JSON.parse(extraFields.textBlocks);
4777
4959
  const listBlockAdded = JSON.parse(extraFields.listBlockAdded);
@@ -4858,47 +5040,8 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
4858
5040
  return false;
4859
5041
  }, [...listBlockAddedRequired.map((k) => form.values[k])]);
4860
5042
  const onFocus = (e) => {
4861
- e.preventDefault();
4862
- function scrollIntoView() {
4863
- const $Input = e.target;
4864
- const $TextField = $Input.closest('.leadgen-form_field');
4865
- const scrollIntoView = {
4866
- block: 'center',
4867
- behavior: 'auto',
4868
- };
4869
- if ($TextField.classList.contains('DropdownBlock')) {
4870
- scrollIntoView.block = 'start';
4871
- const tfOffsetTop = ($TextField === null || $TextField === void 0 ? void 0 : $TextField.offsetTop) || 0;
4872
- const tfHeight = $TextField.clientHeight;
4873
- const $ScrollableElement = getParentScroll($TextField);
4874
- if ($ScrollableElement) {
4875
- // https://hhgdev.atlassian.net/browse/EL-682
4876
- const scrollHeight = $ScrollableElement.scrollHeight;
4877
- if (scrollHeight - (tfOffsetTop + tfHeight) < 192) {
4878
- scrollIntoView.block = 'end';
4879
- }
4880
- }
4881
- }
4882
- if (isMobile) {
4883
- window.scrollTo(0, 0);
4884
- }
4885
- $TextField.scrollIntoView(scrollIntoView);
4886
- }
4887
- let time = 0;
4888
- function requestFrame(timestamp) {
4889
- if (time === 0) {
4890
- time = timestamp;
4891
- }
4892
- if (timestamp - time <= 250) {
4893
- requestAnimationFrame(requestFrame);
4894
- }
4895
- else {
4896
- scrollIntoView();
4897
- }
4898
- }
4899
- if (isMobile) {
4900
- requestAnimationFrame(requestFrame);
4901
- }
5043
+ // EL-926 Temporary turn off handling focus form on mobile to fix scrolling bug on lightbox A
5044
+ return false;
4902
5045
  };
4903
5046
  const middlewareOnSubmit = (e) => {
4904
5047
  e.preventDefault();
@@ -5081,7 +5224,7 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
5081
5224
  return React__default.createElement(SideBarLayout, { content: PopupContainer });
5082
5225
  }
5083
5226
  else if (isInline) {
5084
- return (React__default.createElement(InlineLayout, { content: PopupContainer, inlinePosition: extraFields.popupInlinePosition }));
5227
+ return (React__default.createElement(InlineLayout, { action: action, content: PopupContainer, campaignCode: campaignCode, inlinePosition: extraFields.popupInlinePosition }));
5085
5228
  }
5086
5229
  return null;
5087
5230
  };
@@ -5179,19 +5322,20 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
5179
5322
  const { apiUrl, siteDomain } = useContext(LeadGenContext$1);
5180
5323
  useEffect(() => {
5181
5324
  const gaCookie = getCookie('_ga') || null;
5182
- fetch(`${apiUrl}api/campaign/${code}/impression`, {
5183
- method: 'POST',
5184
- headers: {
5185
- 'Content-Type': 'application/json',
5186
- },
5187
- body: JSON.stringify({
5188
- action,
5189
- url: location.href.toLowerCase(),
5190
- title_article: document.title,
5191
- cookie_id: getCookie('hhg-id'),
5192
- ga_client_id: gaCookie,
5193
- }),
5194
- });
5325
+ !currentLayout.includes('Inline') &&
5326
+ fetch(`${apiUrl}api/campaign/${code}/impression`, {
5327
+ method: 'POST',
5328
+ headers: {
5329
+ 'Content-Type': 'application/json',
5330
+ },
5331
+ body: JSON.stringify({
5332
+ action,
5333
+ url: location.href.toLowerCase(),
5334
+ title_article: document.title,
5335
+ cookie_id: getCookie('hhg-id'),
5336
+ ga_client_id: gaCookie,
5337
+ }),
5338
+ });
5195
5339
  }, []);
5196
5340
  const { extra_fields, image, image_desktop, code, image_background, image_overlay_mobile, image_overlay_desktop, } = campaign || {};
5197
5341
  const { currentLayout } = extra_fields;
@@ -5293,7 +5437,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
5293
5437
  currentLayout == 'Fullscreen' ||
5294
5438
  currentLayout == 'Sidebar' ||
5295
5439
  currentLayout == 'Slider') {
5296
- return (React__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 }));
5440
+ return (React__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 }));
5297
5441
  }
5298
5442
  else if (currentLayout.includes('Skin')) {
5299
5443
  return (React__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 }));
@@ -5684,8 +5828,6 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, primaryColor
5684
5828
  leadStartTimeRef.current = Date.now();
5685
5829
  }
5686
5830
  }, [showCampaign]);
5687
- if (!currentLayout.includes('Inline'))
5688
- return null;
5689
5831
  return (React__default.createElement(LeadGenContext$1.Provider, { value: {
5690
5832
  primaryColor,
5691
5833
  apiUrl,