@hhgtech/hhg-components 1.29.314 → 1.29.316-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 (528) hide show
  1. package/README.md +2 -0
  2. package/build/{LastPeriod-96d035ea.js → LastPeriod-34b37df4.js} +1 -1
  3. package/build/{MobileBottomNavigationIcon-44ab1816.js → MobileBottomNavigationIcon-660aac0e.js} +3 -3
  4. package/build/{Spinner-05d3e47e.js → Spinner-ed1ca856.js} +1 -1
  5. package/build/{WhatsApp-f4b49cf0.js → WhatsApp-7306443c.js} +1 -1
  6. package/build/adapters.js +19 -19
  7. package/build/atoms.js +46 -46
  8. package/build/babyGrowth.js +83 -83
  9. package/build/cache.js +2 -2
  10. package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +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/atoms/drawer/helpers.d.ts +1 -1
  15. package/build/components/mantine/helpers.d.ts +1 -1
  16. package/build/components/molecules/mobileBottomNavigation/index.styled.d.ts +6 -1
  17. package/build/components/onboardingV2/frisoForm/index.d.ts +1 -1
  18. package/build/components/onboardingV2/index.d.ts +1 -1
  19. package/build/components.js +90 -90
  20. package/build/{constants-f0beb574.js → constants-6a8aa9db.js} +1 -1
  21. package/build/constants.js +3 -3
  22. package/build/constantsDomainLocales.js +1 -1
  23. package/build/constantsRiskScreener.js +2 -2
  24. package/build/constantsSite.js +2 -2
  25. package/build/{core-62ef0525.js → core-10afa7c3.js} +1 -1
  26. package/build/{dataTransform-ec76ce42.js → dataTransform-71d78436.js} +1 -1
  27. package/build/ecom.js +4 -4
  28. package/build/{editor-e15b74b1.js → editor-3a077c3f.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/{LastPeriod-5ba9f968.js → LastPeriod-f9f6d746.js} +1 -1
  39. package/build/esm/{MobileBottomNavigationIcon-5e6d1aff.js → MobileBottomNavigationIcon-2a320477.js} +3 -3
  40. package/build/esm/{Spinner-1c2e33b1.js → Spinner-6c57685d.js} +1 -1
  41. package/build/esm/{WhatsApp-ae699791.js → WhatsApp-35a5267f.js} +1 -1
  42. package/build/esm/adapters.js +19 -19
  43. package/build/esm/atoms.js +46 -46
  44. package/build/esm/babyGrowth.js +83 -83
  45. package/build/esm/cache.js +2 -2
  46. package/build/esm/care/components/organisms/bookingSearchBar/index.styled.d.ts +2 -2
  47. package/build/esm/care.js +17 -17
  48. package/build/esm/careBookingSearchBar.js +14 -14
  49. package/build/esm/careBookingSearchBarV2.js +15 -15
  50. package/build/esm/components/atoms/drawer/helpers.d.ts +1 -1
  51. package/build/esm/components/mantine/helpers.d.ts +1 -1
  52. package/build/esm/components/molecules/mobileBottomNavigation/index.styled.d.ts +6 -1
  53. package/build/esm/components/onboardingV2/frisoForm/index.d.ts +1 -1
  54. package/build/esm/components/onboardingV2/index.d.ts +1 -1
  55. package/build/esm/components.js +90 -90
  56. package/build/esm/{constants-627ab4f1.js → constants-54949b20.js} +1 -1
  57. package/build/esm/constants.js +3 -3
  58. package/build/esm/constantsDomainLocales.js +1 -1
  59. package/build/esm/constantsRiskScreener.js +2 -2
  60. package/build/esm/constantsSite.js +2 -2
  61. package/build/esm/{core-ed098e09.js → core-38f4ebeb.js} +1 -1
  62. package/build/esm/{dataTransform-5fc0cb4f.js → dataTransform-0994e016.js} +1 -1
  63. package/build/esm/ecom.js +4 -4
  64. package/build/esm/{editor-0ab409aa.js → editor-01d72a86.js} +11 -11
  65. package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
  66. package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
  67. package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
  68. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
  69. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
  70. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  71. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  72. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
  73. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
  74. package/build/esm/{fixedBottomAdBlock-138ad045.js → fixedBottomAdBlock-3332c2b3.js} +24 -24
  75. package/build/esm/footer.js +21 -21
  76. package/build/esm/gAssets.js +2 -2
  77. package/build/esm/healthToolsCardWrapper.js +18 -18
  78. package/build/esm/healthToolsForm.js +33 -33
  79. package/build/esm/hooks.js +13 -13
  80. package/build/esm/i18n/translationKeys.d.ts +1 -1
  81. package/build/esm/i18n-values/en-PH.js +5 -1
  82. package/build/esm/i18n-values/hi-IN.js +5 -1
  83. package/build/esm/i18n-values/id-ID.js +176 -172
  84. package/build/esm/i18n-values/km-KH.js +5 -1
  85. package/build/esm/i18n-values/ms-MY.js +317 -313
  86. package/build/esm/i18n-values/my-MM.js +4 -0
  87. package/build/esm/i18n-values/th-TH.js +4 -0
  88. package/build/esm/i18n-values/tl-PH.js +4 -0
  89. package/build/esm/i18n-values/vi-VN.js +4 -0
  90. package/build/esm/i18n-values/vi-VN_MB.js +4 -0
  91. package/build/esm/i18n-values/zh-TW.js +5 -1
  92. package/build/esm/i18n.js +2 -2
  93. package/build/esm/i18nV2.js +2 -2
  94. package/build/esm/{index-22c9f9d2.js → index-00e7bd3e.js} +20 -20
  95. package/build/esm/{index-34e3ec00.js → index-0294946a.js} +30 -30
  96. package/build/esm/{index-556e19f5.js → index-05bf45e0.js} +15 -15
  97. package/build/esm/{index-92690b64.js → index-0fb43e9b.js} +2 -2
  98. package/build/esm/{index-97dd563d.js → index-111af922.js} +2 -2
  99. package/build/esm/{index-aa368684.js → index-117d5f70.js} +13 -13
  100. package/build/esm/{index-5309a027.js → index-1aa3532c.js} +17 -17
  101. package/build/esm/{index-f9465750.js → index-23110d69.js} +18 -18
  102. package/build/esm/{index-ff6791bd.js → index-29bea549.js} +3 -3
  103. package/build/esm/{index-f19a5feb.js → index-3055fbac.js} +5 -5
  104. package/build/esm/{index-85443f92.js → index-329841f7.js} +16 -16
  105. package/build/esm/{index-3722621f.js → index-34193e01.js} +1 -1
  106. package/build/esm/{index-82a2a5ec.js → index-3447b6a5.js} +1 -1
  107. package/build/esm/{index-3f3eb2ed.js → index-3a460852.js} +6 -6
  108. package/build/esm/{index-399b2049.js → index-3cd9a616.js} +18 -18
  109. package/build/esm/{index-cc0a1401.js → index-3d39db18.js} +2 -2
  110. package/build/esm/{index-97f75a46.js → index-3da1e526.js} +7 -7
  111. package/build/esm/{index-d435f4ea.js → index-3fa2668a.js} +11 -11
  112. package/build/esm/{index-8f5a02ae.js → index-3fff3c61.js} +26 -26
  113. package/build/esm/{index-83404ebc.js → index-44304928.js} +6 -6
  114. package/build/esm/{index-18a0ee67.js → index-48653810.js} +3 -3
  115. package/build/esm/{index-707df44a.js → index-4c8db98b.js} +2 -2
  116. package/build/esm/{index-e605fca7.js → index-55e5aa45.js} +3 -3
  117. package/build/esm/index-5718b9b3.js +339 -0
  118. package/build/esm/{index-c8c9c307.js → index-65752d1d.js} +2 -2
  119. package/build/esm/{index-06c24c22.js → index-6bf3486b.js} +2 -2
  120. package/build/esm/{index-02475376.js → index-6e098fe0.js} +32 -32
  121. package/build/esm/{index-d7829e45.js → index-70f74611.js} +3 -3
  122. package/build/esm/{index-30d0c8f8.js → index-73fcb1c7.js} +2 -2
  123. package/build/esm/{index-cee25659.js → index-79e32585.js} +1 -1
  124. package/build/esm/{index-decec35e.js → index-7b1bab9c.js} +2 -2
  125. package/build/esm/{index-e3305c0e.js → index-81c02a2e.js} +2 -2
  126. package/build/esm/{index-7444415c.js → index-83684745.js} +3 -3
  127. package/build/esm/{index-c2bb89b7.js → index-8397b404.js} +13 -13
  128. package/build/esm/{index-87aee8b5.js → index-8783db08.js} +17 -17
  129. package/build/esm/{index-bebf1832.js → index-8bde7f0d.js} +13 -13
  130. package/build/esm/{index-d23b53b7.js → index-92290615.js} +10 -10
  131. package/build/esm/{index-a3374880.js → index-9280cd1f.js} +1 -1
  132. package/build/esm/{index-6b09b5d8.js → index-938fe883.js} +4 -4
  133. package/build/esm/{index-dbbff41e.js → index-973a68e1.js} +6 -6
  134. package/build/esm/{index-675f6c9d.js → index-9c1b0158.js} +16 -16
  135. package/build/esm/{index-3ff80109.js → index-9de34684.js} +24 -24
  136. package/build/esm/{index-b097cdfe.js → index-a1b499e7.js} +13 -13
  137. package/build/esm/{index-8003740d.js → index-a48c9aed.js} +1 -1
  138. package/build/esm/{index-9970bf85.js → index-a5f88e9b.js} +3 -3
  139. package/build/esm/{index-c88c5d8a.js → index-aec60fbf.js} +16 -16
  140. package/build/esm/{index-34b5da34.js → index-b6d62d7a.js} +5 -5
  141. package/build/esm/{index-8b290a11.js → index-c6ca8fb0.js} +2 -2
  142. package/build/esm/{index-fbd50a2f.js → index-c9d9d8ce.js} +7 -7
  143. package/build/esm/{index-e8a8cdac.js → index-cf913a17.js} +15 -15
  144. package/build/esm/{index-a9856e48.js → index-d9432e2e.js} +1 -1
  145. package/build/esm/{index-b53c9da5.js → index-e0ace45a.js} +16 -16
  146. package/build/esm/{index-52258cb2.js → index-e0f26deb.js} +2 -2
  147. package/build/esm/{index-8a7f4c45.js → index-e1f93ef2.js} +2 -2
  148. package/build/esm/{index-3313f6dd.js → index-ea7ea9e1.js} +1 -1
  149. package/build/esm/{index-e63d4ce0.js → index-ee106422.js} +21 -21
  150. package/build/esm/{index-4b6079c6.js → index-ef15fedd.js} +6 -6
  151. package/build/esm/{index-61912318.js → index-f9881ebe.js} +1 -1
  152. package/build/esm/{index-7a582de7.js → index-fc84913e.js} +17 -17
  153. package/build/esm/{index-ea40c29a.js → index-fefca0c1.js} +5 -2
  154. package/build/esm/{index-c5341908.js → index-ff72cb91.js} +3 -3
  155. package/build/esm/index.js +112 -112
  156. package/build/esm/interfaces/constants/index.d.ts +4 -1
  157. package/build/esm/{labelSorting-0822634f.js → labelSorting-5962606b.js} +4 -4
  158. package/build/esm/lead.js +24 -24
  159. package/build/esm/{logoIcon-19f0fa9a.js → logoIcon-eced2050.js} +2 -2
  160. package/build/esm/mantine.js +25 -25
  161. package/build/esm/misc/animation.d.ts +54 -9
  162. package/build/esm/misc.js +16 -16
  163. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  164. package/build/esm/miscGetSocialList.js +8 -8
  165. package/build/esm/miscScreenSizeContext.js +1 -1
  166. package/build/esm/mobileBottomNavigation.js +5 -5
  167. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  168. package/build/esm/molecules.js +69 -69
  169. package/build/esm/moleculesArticleCard.js +6 -6
  170. package/build/esm/moleculesArticleCardV2.js +16 -16
  171. package/build/esm/navigation.js +40 -40
  172. package/build/esm/navigationLogoutPopup.js +9 -9
  173. package/build/esm/navigationProfileButton.js +23 -23
  174. package/build/esm/onboardingV2.js +29 -29
  175. package/build/esm/organisms.js +44 -44
  176. package/build/esm/{post-a834a946.js → post-12a0d4e7.js} +2 -2
  177. package/build/esm/profileNavigation.js +19 -19
  178. package/build/esm/progressBar.js +1 -1
  179. package/build/esm/pwg.js +22 -22
  180. package/build/esm/ssoV2/api/index.d.ts +1 -0
  181. package/build/esm/ssoV2/api/paths.d.ts +7 -0
  182. package/build/esm/ssoV2/api/phoneUtils.d.ts +1 -1
  183. package/build/esm/ssoV2/api/whatsapp.d.ts +6 -0
  184. package/build/esm/ssoV2/screens/components/progressBar.d.ts +1 -0
  185. package/build/esm/ssoV2/screens/components/whatsapp.d.ts +5 -0
  186. package/build/esm/ssoV2/screens/otp.d.ts +1 -1
  187. package/build/esm/ssoV2/ssoStateManager/store.d.ts +7 -1
  188. package/build/esm/ssoV2/utils.d.ts +3 -0
  189. package/build/esm/ssoV2.js +382 -85
  190. package/build/esm/{store-df572983.js → store-108246fc.js} +110 -9
  191. package/build/esm/subot/utils/index.d.ts +1 -1
  192. package/build/esm/subot.js +137 -174
  193. package/build/esm/surveyOrPremiumBanner.js +31 -31
  194. package/build/esm/surveyQuestionCard.js +10 -10
  195. package/build/esm/{surveyThankyouCard-45947ac4.js → surveyThankyouCard-57b7d6b2.js} +5 -5
  196. package/build/esm/together.js +53 -53
  197. package/build/esm/togetherApiUtils.js +4 -4
  198. package/build/esm/togetherAtoms.js +30 -30
  199. package/build/esm/togetherComponentGlobalContext.js +4 -4
  200. package/build/esm/togetherMolecules.js +48 -48
  201. package/build/esm/togetherMoleculesCardAuthor.js +27 -27
  202. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  203. package/build/esm/togetherMoleculesProfileDetail.js +37 -37
  204. package/build/esm/togetherOrganisms.js +47 -47
  205. package/build/esm/togetherRichTextEditor.js +17 -17
  206. package/build/esm/togetherShareBox.js +10 -10
  207. package/build/esm/{treePopoverMenu-9a9b996c.js → treePopoverMenu-61e476ad.js} +19 -19
  208. package/build/esm/{types-1b866fe5.js → types-17cacc19.js} +2 -2
  209. package/build/esm/types.js +2 -2
  210. package/build/esm/{useCategory-fa14813a.js → useCategory-55f0baaf.js} +5 -5
  211. package/build/esm/{useHealthToolCache-ed0c15c9.js → useHealthToolCache-b3226603.js} +1 -1
  212. package/build/esm/{useMantineLocale-1e47550f.js → useMantineLocale-8c14491b.js} +6 -6
  213. package/build/esm/{usePlacesAutocomplete-d5d0f89b.js → usePlacesAutocomplete-66b0d809.js} +1 -1
  214. package/build/esm/{useScreenSize-67f11ba2.js → useScreenSize-0647731b.js} +2 -2
  215. package/build/esm/useTogetherAuthRequiredAction.js +9 -9
  216. package/build/esm/{utils-b0fd1496.js → utils-07d74e85.js} +3 -3
  217. package/build/esm/{utils-67c299fa.js → utils-7aed94bb.js} +2 -2
  218. package/build/esm/{utils-7b3bf602.js → utils-9ed76cdd.js} +2 -2
  219. package/build/esm/vaccination.js +21 -21
  220. package/build/{fixedBottomAdBlock-58abc89a.js → fixedBottomAdBlock-116de75c.js} +24 -24
  221. package/build/footer.js +21 -21
  222. package/build/gAssets.js +2 -2
  223. package/build/healthToolsCardWrapper.js +18 -18
  224. package/build/healthToolsForm.js +33 -33
  225. package/build/hooks.js +13 -13
  226. package/build/i18n/translationKeys.d.ts +1 -1
  227. package/build/i18n-values/en-PH.js +5 -1
  228. package/build/i18n-values/hi-IN.js +5 -1
  229. package/build/i18n-values/id-ID.js +176 -172
  230. package/build/i18n-values/km-KH.js +5 -1
  231. package/build/i18n-values/ms-MY.js +317 -313
  232. package/build/i18n-values/my-MM.js +4 -0
  233. package/build/i18n-values/th-TH.js +4 -0
  234. package/build/i18n-values/tl-PH.js +4 -0
  235. package/build/i18n-values/vi-VN.js +4 -0
  236. package/build/i18n-values/vi-VN_MB.js +4 -0
  237. package/build/i18n-values/zh-TW.js +5 -1
  238. package/build/i18n.js +1 -1
  239. package/build/i18nV2.js +1 -1
  240. package/build/index-01227484.js +341 -0
  241. package/build/{index-256ca4c3.js → index-0776c11d.js} +13 -13
  242. package/build/{index-bf955415.js → index-12120918.js} +16 -16
  243. package/build/{index-35e80044.js → index-14598628.js} +2 -2
  244. package/build/{index-1bc91cbc.js → index-1a23d98f.js} +2 -2
  245. package/build/{index-0328e732.js → index-2570ab00.js} +2 -2
  246. package/build/{index-9617e8c4.js → index-297debb8.js} +11 -11
  247. package/build/{index-ce4c7d5b.js → index-2e2a1367.js} +17 -17
  248. package/build/{index-aac7eabf.js → index-2f5f93b3.js} +1 -1
  249. package/build/{index-d8854afe.js → index-2fc75787.js} +3 -3
  250. package/build/{index-c08012f4.js → index-32ae88c3.js} +2 -2
  251. package/build/{index-02ec8ddb.js → index-3c59e84a.js} +21 -21
  252. package/build/{index-39f5e81a.js → index-3f4829a9.js} +32 -32
  253. package/build/{index-776fe39d.js → index-443adfdc.js} +6 -6
  254. package/build/{index-ae4a61f7.js → index-455ba5c6.js} +2 -2
  255. package/build/{index-0b56f2d4.js → index-45e44602.js} +5 -5
  256. package/build/{index-834f8e11.js → index-460ab1a7.js} +5 -5
  257. package/build/{index-6d0c3679.js → index-477ce830.js} +15 -15
  258. package/build/{index-2ba3de8b.js → index-49e3b0f2.js} +18 -18
  259. package/build/{index-4c61af6e.js → index-4dfd5905.js} +6 -6
  260. package/build/{index-ea4e5699.js → index-5a62e727.js} +3 -3
  261. package/build/{index-77402ef6.js → index-6f7f3279.js} +1 -1
  262. package/build/{index-8ab56cbe.js → index-7136c4ef.js} +15 -15
  263. package/build/{index-8deb4c68.js → index-717d3929.js} +13 -13
  264. package/build/{index-a96a5ab8.js → index-722cb11b.js} +1 -1
  265. package/build/{index-fed0ce5d.js → index-7f3f6477.js} +16 -16
  266. package/build/{index-eb264fec.js → index-7f978ff0.js} +13 -13
  267. package/build/{index-23eb11c1.js → index-84ca7330.js} +3 -3
  268. package/build/{index-1a77130a.js → index-85ced4b6.js} +2 -2
  269. package/build/{index-6ab07abf.js → index-86c988c4.js} +2 -2
  270. package/build/{index-e6b566be.js → index-8ad8f765.js} +16 -16
  271. package/build/{index-5adf07b5.js → index-8c6cdc73.js} +1 -1
  272. package/build/{index-73b42729.js → index-90e714d8.js} +7 -7
  273. package/build/{index-a67b3069.js → index-913a35c4.js} +6 -6
  274. package/build/{index-d7a2930d.js → index-95b1acc1.js} +17 -17
  275. package/build/{index-a6031343.js → index-994eb160.js} +13 -13
  276. package/build/{index-71980ca8.js → index-9a86bbef.js} +2 -2
  277. package/build/{index-44682ea9.js → index-a441e5b4.js} +20 -20
  278. package/build/{index-45caf015.js → index-a81f3165.js} +26 -26
  279. package/build/{index-87546110.js → index-abc5f635.js} +1 -1
  280. package/build/{index-f51fc3b3.js → index-af9fb8fd.js} +1 -1
  281. package/build/{index-5dc006c4.js → index-b1715e8e.js} +7 -7
  282. package/build/{index-78464881.js → index-b77c44aa.js} +2 -2
  283. package/build/{index-d4a2efc3.js → index-b95a650e.js} +4 -4
  284. package/build/{index-198f3a12.js → index-ba43efda.js} +3 -3
  285. package/build/{index-37c13bb7.js → index-c07a381d.js} +10 -10
  286. package/build/{index-0bb7ae28.js → index-caeacfe2.js} +16 -16
  287. package/build/{index-0b0c72cf.js → index-cd249e7e.js} +17 -17
  288. package/build/{index-01ce2cc3.js → index-cfd9a1b5.js} +1 -1
  289. package/build/{index-c3248d91.js → index-d42d4f4e.js} +3 -3
  290. package/build/{index-1c015809.js → index-d559eb88.js} +3 -3
  291. package/build/{index-79a9c18c.js → index-dac49bb2.js} +24 -24
  292. package/build/{index-306ea55e.js → index-daf5287e.js} +1 -1
  293. package/build/{index-765c72e1.js → index-dc87e4ea.js} +2 -2
  294. package/build/{index-3b963556.js → index-e07ccfd8.js} +2 -2
  295. package/build/{index-90af7330.js → index-e427d681.js} +6 -6
  296. package/build/{index-ecfb64da.js → index-e4d8ed0e.js} +30 -30
  297. package/build/{index-15651f24.js → index-e507746e.js} +18 -18
  298. package/build/{index-0031119b.js → index-e9cf7bec.js} +2 -2
  299. package/build/{index-0f952df2.js → index-f836d800.js} +5 -2
  300. package/build/{index-f54ad37a.js → index-fa164746.js} +3 -3
  301. package/build/index.js +112 -112
  302. package/build/interfaces/constants/index.d.ts +4 -1
  303. package/build/{labelSorting-4b1f268e.js → labelSorting-2d8cf48b.js} +4 -4
  304. package/build/lead.js +24 -24
  305. package/build/{logoIcon-ba1fe7c6.js → logoIcon-c4531a77.js} +2 -2
  306. package/build/mantine.js +22 -22
  307. package/build/misc/animation.d.ts +54 -9
  308. package/build/misc.js +16 -16
  309. package/build/miscGetDynamicHealthTool.js +4 -4
  310. package/build/miscGetSocialList.js +8 -8
  311. package/build/miscScreenSizeContext.js +1 -1
  312. package/build/mobileBottomNavigation.js +5 -5
  313. package/build/mobileBottomNavigationIcon.js +5 -5
  314. package/build/molecules.js +69 -69
  315. package/build/moleculesArticleCard.js +6 -6
  316. package/build/moleculesArticleCardV2.js +16 -16
  317. package/build/navigation.js +40 -40
  318. package/build/navigationLogoutPopup.js +9 -9
  319. package/build/navigationProfileButton.js +23 -23
  320. package/build/onboardingV2.js +28 -28
  321. package/build/organisms.js +44 -44
  322. package/build/{post-d0455b1e.js → post-03e1f319.js} +2 -2
  323. package/build/profileNavigation.js +19 -19
  324. package/build/progressBar.js +1 -1
  325. package/build/pwg.js +22 -22
  326. package/build/ssoV2/api/index.d.ts +1 -0
  327. package/build/ssoV2/api/paths.d.ts +7 -0
  328. package/build/ssoV2/api/phoneUtils.d.ts +1 -1
  329. package/build/ssoV2/api/whatsapp.d.ts +6 -0
  330. package/build/ssoV2/screens/components/progressBar.d.ts +1 -0
  331. package/build/ssoV2/screens/components/whatsapp.d.ts +5 -0
  332. package/build/ssoV2/screens/otp.d.ts +1 -1
  333. package/build/ssoV2/ssoStateManager/store.d.ts +7 -1
  334. package/build/ssoV2/utils.d.ts +3 -0
  335. package/build/ssoV2.js +394 -97
  336. package/build/{store-883fb05f.js → store-969f6ea3.js} +110 -8
  337. package/build/subot/utils/index.d.ts +1 -1
  338. package/build/subot.js +136 -173
  339. package/build/surveyOrPremiumBanner.js +31 -31
  340. package/build/surveyQuestionCard.js +10 -10
  341. package/build/{surveyThankyouCard-9558f555.js → surveyThankyouCard-020bc0d2.js} +5 -5
  342. package/build/together.js +53 -53
  343. package/build/togetherApiUtils.js +4 -4
  344. package/build/togetherAtoms.js +30 -30
  345. package/build/togetherComponentGlobalContext.js +4 -4
  346. package/build/togetherMolecules.js +48 -48
  347. package/build/togetherMoleculesCardAuthor.js +27 -27
  348. package/build/togetherMoleculesPostImagePreview.js +11 -11
  349. package/build/togetherMoleculesProfileDetail.js +37 -37
  350. package/build/togetherOrganisms.js +47 -47
  351. package/build/togetherRichTextEditor.js +17 -17
  352. package/build/togetherShareBox.js +10 -10
  353. package/build/{treePopoverMenu-7c836fd0.js → treePopoverMenu-ddabe3b7.js} +19 -19
  354. package/build/{types-d8df59d5.js → types-5babe4a6.js} +2 -2
  355. package/build/types.js +2 -2
  356. package/build/{useCategory-23ce7acb.js → useCategory-26406521.js} +5 -5
  357. package/build/{useHealthToolCache-c707ea28.js → useHealthToolCache-c5640115.js} +1 -1
  358. package/build/{useMantineLocale-3bd094ed.js → useMantineLocale-760cc21a.js} +6 -6
  359. package/build/{usePlacesAutocomplete-d3aa2fa1.js → usePlacesAutocomplete-4766c35f.js} +1 -1
  360. package/build/{useScreenSize-c58d4d8b.js → useScreenSize-e874c005.js} +2 -2
  361. package/build/useTogetherAuthRequiredAction.js +9 -9
  362. package/build/{utils-c9032a92.js → utils-66d65b47.js} +2 -2
  363. package/build/{utils-f3166e0b.js → utils-cef8d174.js} +2 -2
  364. package/build/{utils-7c406774.js → utils-fdba16fd.js} +3 -3
  365. package/build/vaccination.js +21 -21
  366. package/package.json +1 -1
  367. package/build/esm/index-a39f9023.js +0 -275
  368. package/build/index-5e8fdb3d.js +0 -277
  369. /package/build/{BMI_BOYS.percentile.monthly-b3718cc4.js → BMI_BOYS.percentile.monthly-5bd49f0a.js} +0 -0
  370. /package/build/{BMI_BOYS.percentile.weekly-12431026.js → BMI_BOYS.percentile.weekly-904749f5.js} +0 -0
  371. /package/build/{BMI_BOYS.percentile.yearly-a12c3424.js → BMI_BOYS.percentile.yearly-863654cc.js} +0 -0
  372. /package/build/{BMI_BOYS.zscore.monthly-5c0c0516.js → BMI_BOYS.zscore.monthly-3f4a054f.js} +0 -0
  373. /package/build/{BMI_BOYS.zscore.weekly-6ea17844.js → BMI_BOYS.zscore.weekly-8babd3f5.js} +0 -0
  374. /package/build/{BMI_BOYS.zscore.yearly-40deb6b9.js → BMI_BOYS.zscore.yearly-d3769682.js} +0 -0
  375. /package/build/{BMI_GIRLS.percentile.monthly-a778bc4b.js → BMI_GIRLS.percentile.monthly-6b203997.js} +0 -0
  376. /package/build/{BMI_GIRLS.percentile.weekly-3dd4edb6.js → BMI_GIRLS.percentile.weekly-aa5f6e22.js} +0 -0
  377. /package/build/{BMI_GIRLS.percentile.yearly-838ee9e4.js → BMI_GIRLS.percentile.yearly-afdb044e.js} +0 -0
  378. /package/build/{BMI_GIRLS.zscore.monthly-60d2b06d.js → BMI_GIRLS.zscore.monthly-d7a0803f.js} +0 -0
  379. /package/build/{BMI_GIRLS.zscore.weekly-5eb44f1a.js → BMI_GIRLS.zscore.weekly-77a13fc8.js} +0 -0
  380. /package/build/{BMI_GIRLS.zscore.yearly-3fe67711.js → BMI_GIRLS.zscore.yearly-5a432269.js} +0 -0
  381. /package/build/{ChevronDown-55c72683.js → ChevronDown-1b373ab2.js} +0 -0
  382. /package/build/{Close-d87e9430.js → Close-48ed4afc.js} +0 -0
  383. /package/build/{Google-f67439d7.js → Google-1f8e7fc4.js} +0 -0
  384. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-3f879926.js → HEAD CIRCUM_BOYS.percentile.monthly-f5d8c463.js} +0 -0
  385. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-4e2b6891.js → HEAD CIRCUM_BOYS.percentile.weekly-0c6f22f5.js} +0 -0
  386. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-0577c17f.js → HEAD CIRCUM_BOYS.percentile.yearly-126d9bff.js} +0 -0
  387. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-9f1d21e7.js → HEAD CIRCUM_BOYS.zscore.monthly-9e91f80b.js} +0 -0
  388. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2963821a.js → HEAD CIRCUM_BOYS.zscore.weekly-c1d0b5ca.js} +0 -0
  389. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-6404d010.js → HEAD CIRCUM_BOYS.zscore.yearly-7dc80574.js} +0 -0
  390. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d200de69.js → HEAD CIRCUM_GIRLS.percentile.monthly-59a39053.js} +0 -0
  391. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e31c66de.js → HEAD CIRCUM_GIRLS.percentile.weekly-369d4481.js} +0 -0
  392. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-e120abf7.js → HEAD CIRCUM_GIRLS.percentile.yearly-5797b0cb.js} +0 -0
  393. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-a4fe088c.js → HEAD CIRCUM_GIRLS.zscore.monthly-9956f623.js} +0 -0
  394. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-3f9436c6.js → HEAD CIRCUM_GIRLS.zscore.weekly-f214fc7a.js} +0 -0
  395. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-99e3d83c.js → HEAD CIRCUM_GIRLS.zscore.yearly-9fbed95e.js} +0 -0
  396. /package/build/{HEIGHT_BOYS.percentile.monthly-59fc0bff.js → HEIGHT_BOYS.percentile.monthly-01817e6f.js} +0 -0
  397. /package/build/{HEIGHT_BOYS.percentile.weekly-de13455e.js → HEIGHT_BOYS.percentile.weekly-81c07ccb.js} +0 -0
  398. /package/build/{HEIGHT_BOYS.percentile.yearly-1e7cb7bb.js → HEIGHT_BOYS.percentile.yearly-a7775f90.js} +0 -0
  399. /package/build/{HEIGHT_BOYS.zscore.monthly-1182dc5c.js → HEIGHT_BOYS.zscore.monthly-92a361cd.js} +0 -0
  400. /package/build/{HEIGHT_BOYS.zscore.weekly-122baf5e.js → HEIGHT_BOYS.zscore.weekly-bc10aa16.js} +0 -0
  401. /package/build/{HEIGHT_BOYS.zscore.yearly-0e6cbf52.js → HEIGHT_BOYS.zscore.yearly-63a11b12.js} +0 -0
  402. /package/build/{HEIGHT_GIRLS.percentile.monthly-65fe7320.js → HEIGHT_GIRLS.percentile.monthly-4095aa52.js} +0 -0
  403. /package/build/{HEIGHT_GIRLS.percentile.weekly-8a6b94a9.js → HEIGHT_GIRLS.percentile.weekly-bff3f26e.js} +0 -0
  404. /package/build/{HEIGHT_GIRLS.percentile.yearly-70e00a79.js → HEIGHT_GIRLS.percentile.yearly-4182ccbb.js} +0 -0
  405. /package/build/{HEIGHT_GIRLS.zscore.monthly-8e831b14.js → HEIGHT_GIRLS.zscore.monthly-95b09227.js} +0 -0
  406. /package/build/{HEIGHT_GIRLS.zscore.weekly-ea9ab513.js → HEIGHT_GIRLS.zscore.weekly-ebdc8227.js} +0 -0
  407. /package/build/{HEIGHT_GIRLS.zscore.yearly-5c86c3a7.js → HEIGHT_GIRLS.zscore.yearly-a61e6459.js} +0 -0
  408. /package/build/{Locale-f248f41d.js → Locale-23c60e4b.js} +0 -0
  409. /package/build/{Visible-4b2a2b95.js → Visible-947f7cb1.js} +0 -0
  410. /package/build/{WEIGHT_BOYS.percentile.monthly-fb5e831a.js → WEIGHT_BOYS.percentile.monthly-ac231776.js} +0 -0
  411. /package/build/{WEIGHT_BOYS.percentile.weekly-55a15bbd.js → WEIGHT_BOYS.percentile.weekly-28520fa2.js} +0 -0
  412. /package/build/{WEIGHT_BOYS.percentile.yearly-fa4e7c97.js → WEIGHT_BOYS.percentile.yearly-f4713060.js} +0 -0
  413. /package/build/{WEIGHT_BOYS.zscore.monthly-d08e0c07.js → WEIGHT_BOYS.zscore.monthly-8ace2871.js} +0 -0
  414. /package/build/{WEIGHT_BOYS.zscore.weekly-3f21e8c8.js → WEIGHT_BOYS.zscore.weekly-704c28d4.js} +0 -0
  415. /package/build/{WEIGHT_BOYS.zscore.yearly-d0d44791.js → WEIGHT_BOYS.zscore.yearly-baf8600a.js} +0 -0
  416. /package/build/{WEIGHT_GIRLS.percentile.monthly-067e965b.js → WEIGHT_GIRLS.percentile.monthly-29b043be.js} +0 -0
  417. /package/build/{WEIGHT_GIRLS.percentile.weekly-ff4fa52a.js → WEIGHT_GIRLS.percentile.weekly-20bb1650.js} +0 -0
  418. /package/build/{WEIGHT_GIRLS.percentile.yearly-4bae350e.js → WEIGHT_GIRLS.percentile.yearly-3553d504.js} +0 -0
  419. /package/build/{WEIGHT_GIRLS.zscore.monthly-ac63d6e0.js → WEIGHT_GIRLS.zscore.monthly-1d7b8216.js} +0 -0
  420. /package/build/{WEIGHT_GIRLS.zscore.weekly-0013ec85.js → WEIGHT_GIRLS.zscore.weekly-4d38c49a.js} +0 -0
  421. /package/build/{WEIGHT_GIRLS.zscore.yearly-57ee4458.js → WEIGHT_GIRLS.zscore.yearly-32d08ee6.js} +0 -0
  422. /package/build/{animation-6cff1d16.js → animation-1f51f7ab.js} +0 -0
  423. /package/build/{constants-39315e20.js → constants-0ad1f963.js} +0 -0
  424. /package/build/{constants-1e9d5a92.js → constants-9f00ed1f.js} +0 -0
  425. /package/build/{constants-0b3a7c49.js → constants-c0862d46.js} +0 -0
  426. /package/build/{dataTransform-420263bf.js → dataTransform-c1b3cc1e.js} +0 -0
  427. /package/build/{doctor-4d676eb4.js → doctor-72daf1dd.js} +0 -0
  428. /package/build/esm/{BMI_BOYS.percentile.monthly-f12c8670.js → BMI_BOYS.percentile.monthly-7c6cb315.js} +0 -0
  429. /package/build/esm/{BMI_BOYS.percentile.weekly-13a20417.js → BMI_BOYS.percentile.weekly-b413f3fb.js} +0 -0
  430. /package/build/esm/{BMI_BOYS.percentile.yearly-856338e5.js → BMI_BOYS.percentile.yearly-d10e44c5.js} +0 -0
  431. /package/build/esm/{BMI_BOYS.zscore.monthly-73f37504.js → BMI_BOYS.zscore.monthly-974c517a.js} +0 -0
  432. /package/build/esm/{BMI_BOYS.zscore.weekly-9163a7b5.js → BMI_BOYS.zscore.weekly-d92160f0.js} +0 -0
  433. /package/build/esm/{BMI_BOYS.zscore.yearly-7423985a.js → BMI_BOYS.zscore.yearly-bc4c01b8.js} +0 -0
  434. /package/build/esm/{BMI_GIRLS.percentile.monthly-923579c1.js → BMI_GIRLS.percentile.monthly-2dccd84e.js} +0 -0
  435. /package/build/esm/{BMI_GIRLS.percentile.weekly-b78e71b4.js → BMI_GIRLS.percentile.weekly-bd8424ca.js} +0 -0
  436. /package/build/esm/{BMI_GIRLS.percentile.yearly-953886a9.js → BMI_GIRLS.percentile.yearly-8491b035.js} +0 -0
  437. /package/build/esm/{BMI_GIRLS.zscore.monthly-ccfdf106.js → BMI_GIRLS.zscore.monthly-a316be0a.js} +0 -0
  438. /package/build/esm/{BMI_GIRLS.zscore.weekly-58e4e5b9.js → BMI_GIRLS.zscore.weekly-2bf93772.js} +0 -0
  439. /package/build/esm/{BMI_GIRLS.zscore.yearly-041fbeaf.js → BMI_GIRLS.zscore.yearly-e6e2c3b4.js} +0 -0
  440. /package/build/esm/{ChevronDown-4aa6be3c.js → ChevronDown-3afd3e7c.js} +0 -0
  441. /package/build/esm/{Close-d1075257.js → Close-2ab01961.js} +0 -0
  442. /package/build/esm/{Google-b9ed7182.js → Google-802375a6.js} +0 -0
  443. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a5d674f4.js → HEAD CIRCUM_BOYS.percentile.monthly-c95c007f.js} +0 -0
  444. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-0bb61240.js → HEAD CIRCUM_BOYS.percentile.weekly-c0fc7494.js} +0 -0
  445. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-28977654.js → HEAD CIRCUM_BOYS.percentile.yearly-aaa76a3f.js} +0 -0
  446. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-f0dede2e.js → HEAD CIRCUM_BOYS.zscore.monthly-26daeb04.js} +0 -0
  447. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-4fcff74e.js → HEAD CIRCUM_BOYS.zscore.weekly-4e6aa07a.js} +0 -0
  448. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-353b0be9.js → HEAD CIRCUM_BOYS.zscore.yearly-5661b5a5.js} +0 -0
  449. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-7e4f7425.js → HEAD CIRCUM_GIRLS.percentile.monthly-4cb70f50.js} +0 -0
  450. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1b793ace.js → HEAD CIRCUM_GIRLS.percentile.weekly-02945475.js} +0 -0
  451. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-3994b914.js → HEAD CIRCUM_GIRLS.percentile.yearly-4147a245.js} +0 -0
  452. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-c9e62183.js → HEAD CIRCUM_GIRLS.zscore.monthly-3b20a1f8.js} +0 -0
  453. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-4d7fb071.js → HEAD CIRCUM_GIRLS.zscore.weekly-17eb5783.js} +0 -0
  454. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-53f27ce3.js → HEAD CIRCUM_GIRLS.zscore.yearly-b2fcc0b5.js} +0 -0
  455. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-bda8fd3a.js → HEIGHT_BOYS.percentile.monthly-6a70378a.js} +0 -0
  456. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-c62f5761.js → HEIGHT_BOYS.percentile.weekly-98a9db1e.js} +0 -0
  457. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d853ade4.js → HEIGHT_BOYS.percentile.yearly-daf3b611.js} +0 -0
  458. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e29d8ae6.js → HEIGHT_BOYS.zscore.monthly-21fa6314.js} +0 -0
  459. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-cd0899d4.js → HEIGHT_BOYS.zscore.weekly-52b30371.js} +0 -0
  460. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0b054e58.js → HEIGHT_BOYS.zscore.yearly-5826cceb.js} +0 -0
  461. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-b382caa3.js → HEIGHT_GIRLS.percentile.monthly-a98a64be.js} +0 -0
  462. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-6c87f963.js → HEIGHT_GIRLS.percentile.weekly-a5b9abb7.js} +0 -0
  463. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-d74986fc.js → HEIGHT_GIRLS.percentile.yearly-5bff3637.js} +0 -0
  464. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-5c1891cf.js → HEIGHT_GIRLS.zscore.monthly-fab6b9ee.js} +0 -0
  465. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0a39cb26.js → HEIGHT_GIRLS.zscore.weekly-b61dda93.js} +0 -0
  466. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-6d1cc543.js → HEIGHT_GIRLS.zscore.yearly-1729368c.js} +0 -0
  467. /package/build/esm/{Locale-f1192a23.js → Locale-0dd490ba.js} +0 -0
  468. /package/build/esm/{Visible-3ddc1f9b.js → Visible-a6710587.js} +0 -0
  469. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-e3552f1c.js → WEIGHT_BOYS.percentile.monthly-92316290.js} +0 -0
  470. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-8b14689f.js → WEIGHT_BOYS.percentile.weekly-69a6c3c9.js} +0 -0
  471. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-ee518050.js → WEIGHT_BOYS.percentile.yearly-874d9029.js} +0 -0
  472. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-6c8bbd97.js → WEIGHT_BOYS.zscore.monthly-996ffdd6.js} +0 -0
  473. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-08a02eb1.js → WEIGHT_BOYS.zscore.weekly-bef4361d.js} +0 -0
  474. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-16dee54f.js → WEIGHT_BOYS.zscore.yearly-b9d3f4ea.js} +0 -0
  475. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-8eea2f44.js → WEIGHT_GIRLS.percentile.monthly-87423d71.js} +0 -0
  476. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-24bd3688.js → WEIGHT_GIRLS.percentile.weekly-56d2b840.js} +0 -0
  477. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-92a1afdd.js → WEIGHT_GIRLS.percentile.yearly-03550f91.js} +0 -0
  478. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-08015139.js → WEIGHT_GIRLS.zscore.monthly-81cbd726.js} +0 -0
  479. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-05773526.js → WEIGHT_GIRLS.zscore.weekly-bebca886.js} +0 -0
  480. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-cbaae940.js → WEIGHT_GIRLS.zscore.yearly-58c337e8.js} +0 -0
  481. /package/build/esm/{animation-7a495100.js → animation-ce923633.js} +0 -0
  482. /package/build/esm/{constants-1446a9b3.js → constants-21682daa.js} +0 -0
  483. /package/build/esm/{constants-239c783b.js → constants-4d9f1c87.js} +0 -0
  484. /package/build/esm/{constants-39b1c9ed.js → constants-e9ac5a30.js} +0 -0
  485. /package/build/esm/{dataTransform-bf8de7c2.js → dataTransform-c948230f.js} +0 -0
  486. /package/build/esm/{doctor-0ec6138d.js → doctor-2f400066.js} +0 -0
  487. /package/build/esm/{index-55a41f34.js → index-155c35c7.js} +0 -0
  488. /package/build/esm/{index-9439c76f.js → index-4528fe47.js} +0 -0
  489. /package/build/esm/{index-b2e51fc7.js → index-4add493f.js} +0 -0
  490. /package/build/esm/{index-5df5ba2f.js → index-7570094f.js} +0 -0
  491. /package/build/esm/{index-bdc31657.js → index-9e00a600.js} +0 -0
  492. /package/build/esm/{index-b3bfdd9f.js → index-a1d74ac3.js} +0 -0
  493. /package/build/esm/{index-325f8329.js → index-ab7326a4.js} +0 -0
  494. /package/build/esm/{index-5998b2d2.js → index-ff72f9ad.js} +0 -0
  495. /package/build/esm/{index.styles-39aa2689.js → index.styles-f13c39c3.js} +0 -0
  496. /package/build/esm/{localizeNumberFormat-b031b091.js → localizeNumberFormat-037d09d7.js} +0 -0
  497. /package/build/esm/{normalizeLink-55c272e1.js → normalizeLink-f41e32a2.js} +0 -0
  498. /package/build/esm/{other-a7fc4018.js → other-bd17927c.js} +0 -0
  499. /package/build/esm/{paths-1728404f.js → paths-d8ff4778.js} +0 -0
  500. /package/build/esm/{translationsContext-036b04c3.js → translationsContext-2ec06a37.js} +0 -0
  501. /package/build/esm/{tslib.es6-bf73d484.js → tslib.es6-6ef4b9f3.js} +0 -0
  502. /package/build/esm/{types-dcaca0e3.js → types-607cb7cc.js} +0 -0
  503. /package/build/esm/{useIsInit-37dde345.js → useIsInit-2f59cb1b.js} +0 -0
  504. /package/build/esm/{useOutsideClick-2167b295.js → useOutsideClick-0c3c3175.js} +0 -0
  505. /package/build/esm/{useScrollbarSize-d29fd0a5.js → useScrollbarSize-ceb870e7.js} +0 -0
  506. /package/build/esm/{useUniqueId-630997e4.js → useUniqueId-e12c81e8.js} +0 -0
  507. /package/build/esm/{utils-8ad3808a.js → utils-8903f328.js} +0 -0
  508. /package/build/{index-4e5def2d.js → index-1691d762.js} +0 -0
  509. /package/build/{index-7d30ede7.js → index-2aa154a0.js} +0 -0
  510. /package/build/{index-e974cc40.js → index-6f55e008.js} +0 -0
  511. /package/build/{index-c9a52d23.js → index-7f5562fc.js} +0 -0
  512. /package/build/{index-6bbe75fe.js → index-822d25d0.js} +0 -0
  513. /package/build/{index-cb370fd9.js → index-96761bcd.js} +0 -0
  514. /package/build/{index-469b7990.js → index-9be46480.js} +0 -0
  515. /package/build/{index-555cc281.js → index-ad94809f.js} +0 -0
  516. /package/build/{index.styles-803365c0.js → index.styles-08ca8b79.js} +0 -0
  517. /package/build/{localizeNumberFormat-f71b4754.js → localizeNumberFormat-1058ac58.js} +0 -0
  518. /package/build/{normalizeLink-a9a30bde.js → normalizeLink-14ecc0e7.js} +0 -0
  519. /package/build/{other-60a8441d.js → other-cbb37c7a.js} +0 -0
  520. /package/build/{paths-96fdfe4e.js → paths-be691266.js} +0 -0
  521. /package/build/{translationsContext-e2910904.js → translationsContext-614b0187.js} +0 -0
  522. /package/build/{tslib.es6-90ee5afd.js → tslib.es6-8590f3e8.js} +0 -0
  523. /package/build/{types-c539cef3.js → types-f9ab7b40.js} +0 -0
  524. /package/build/{useIsInit-396565d3.js → useIsInit-4b629ca5.js} +0 -0
  525. /package/build/{useOutsideClick-a1de0ee3.js → useOutsideClick-8ffa1de0.js} +0 -0
  526. /package/build/{useScrollbarSize-f76b78b9.js → useScrollbarSize-afee7d0c.js} +0 -0
  527. /package/build/{useUniqueId-4d1fc0c3.js → useUniqueId-dabdcbf0.js} +0 -0
  528. /package/build/{utils-f32738e2.js → utils-60b33bfe.js} +0 -0
package/build/subot.js CHANGED
@@ -3,74 +3,74 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var index$2 = require('./index-f51fc3b3.js');
7
- var tslib_es6 = require('./tslib.es6-90ee5afd.js');
8
- var index$3 = require('./index-0f952df2.js');
6
+ var index$2 = require('./index-af9fb8fd.js');
7
+ var tslib_es6 = require('./tslib.es6-8590f3e8.js');
8
+ var index$3 = require('./index-f836d800.js');
9
9
  var Cookies = require('js-cookie');
10
10
  var fd = require('fastdom');
11
11
  var fastdomPromised = require('fastdom/extensions/fastdom-promised');
12
- var togetherComponentGlobalContext = require('./utils-7c406774.js');
12
+ var togetherComponentGlobalContext = require('./utils-fdba16fd.js');
13
13
  var formatString = require('string-format');
14
- var index$1 = require('./index-f54ad37a.js');
14
+ var index$1 = require('./index-fa164746.js');
15
15
  var constantsDomainLocales = require('./constantsDomainLocales.js');
16
16
  var cn = require('classnames');
17
- var index$c = require('./index-c9a52d23.js');
18
- var index$b = require('./index-3b963556.js');
17
+ var index$c = require('./index-7f5562fc.js');
18
+ var index$b = require('./index-e07ccfd8.js');
19
19
  var framerMotion = require('framer-motion');
20
20
  var styled = require('@emotion/styled');
21
- var utils = require('./utils-f32738e2.js');
22
- var index$4 = require('./index-71980ca8.js');
21
+ var utils = require('./utils-60b33bfe.js');
22
+ var index$4 = require('./index-9a86bbef.js');
23
23
  var remarkable = require('remarkable');
24
24
  var other = require('@hhgtech/icons/other');
25
25
  var reactIntersectionObserver = require('react-intersection-observer');
26
26
  var core = require('@mantine/core');
27
- var index$5 = require('./index-6bbe75fe.js');
27
+ var index$5 = require('./index-822d25d0.js');
28
28
  var dayjs = require('dayjs');
29
29
  var isSameOrBefore = require('dayjs/plugin/isSameOrBefore');
30
- var constants = require('./constants-0b3a7c49.js');
30
+ var constants = require('./constants-c0862d46.js');
31
31
  var uuid = require('uuid');
32
- var index$6 = require('./index-765c72e1.js');
32
+ var index$6 = require('./index-dc87e4ea.js');
33
33
  var miscTheme = require('./miscTheme.js');
34
34
  var constantsIsProduction = require('./constantsIsProduction.js');
35
- var index$7 = require('./index-9617e8c4.js');
35
+ var index$7 = require('./index-297debb8.js');
36
36
  require('@mantine/dates');
37
- require('./useMantineLocale-3bd094ed.js');
38
- require('./index.styles-803365c0.js');
39
- require('./translationsContext-e2910904.js');
37
+ require('./useMantineLocale-760cc21a.js');
38
+ require('./index.styles-08ca8b79.js');
39
+ require('./translationsContext-614b0187.js');
40
40
  require('@mantine/hooks');
41
- require('./other-60a8441d.js');
42
- require('./index-1c015809.js');
41
+ require('./other-cbb37c7a.js');
42
+ require('./index-d559eb88.js');
43
43
  var isEmpty = require('lodash/isEmpty');
44
44
  var reactHookForm = require('react-hook-form');
45
45
  var PhoneInputBase = require('react-phone-number-input');
46
46
  var api = require('@react-google-maps/api');
47
- var usePlacesAutocomplete = require('./usePlacesAutocomplete-d3aa2fa1.js');
47
+ var usePlacesAutocomplete = require('./usePlacesAutocomplete-4766c35f.js');
48
48
  var miscDefaultClassWrapper = require('./miscDefaultClassWrapper.js');
49
- var Locale = require('./Locale-f248f41d.js');
50
- var index$9 = require('./index-e974cc40.js');
51
- var index$a = require('./index-7d30ede7.js');
52
- var index$8 = require('./index-6ab07abf.js');
53
- var store = require('./store-883fb05f.js');
49
+ var Locale = require('./Locale-23c60e4b.js');
50
+ var index$9 = require('./index-6f55e008.js');
51
+ var index$a = require('./index-2aa154a0.js');
52
+ var index$8 = require('./index-86c988c4.js');
53
+ var store = require('./store-969f6ea3.js');
54
54
  require('date-fns/locale');
55
55
  require('./constantsSite.js');
56
56
  require('./constantsRiskScreener.js');
57
- require('./index-5e8fdb3d.js');
57
+ require('./index-01227484.js');
58
58
  require('./miscCookieHelper.js');
59
59
  require('slugify');
60
60
  require('./togetherApiPaths.js');
61
- require('./index-d8854afe.js');
62
- require('./WhatsApp-f4b49cf0.js');
63
- require('./Spinner-05d3e47e.js');
64
- require('./index-01ce2cc3.js');
65
- require('./useScreenSize-c58d4d8b.js');
61
+ require('./index-2fc75787.js');
62
+ require('./WhatsApp-7306443c.js');
63
+ require('./Spinner-ed1ca856.js');
64
+ require('./index-cfd9a1b5.js');
65
+ require('./useScreenSize-e874c005.js');
66
66
  require('@mantine/carousel');
67
- require('./useUniqueId-4d1fc0c3.js');
67
+ require('./useUniqueId-dabdcbf0.js');
68
68
  require('@hhgtech/icons/core');
69
69
  require('@mantine/notifications');
70
70
  require('date-fns');
71
71
  require('react-day-picker/DayPickerInput');
72
72
  require('zustand');
73
- require('./normalizeLink-a9a30bde.js');
73
+ require('./normalizeLink-14ecc0e7.js');
74
74
 
75
75
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
76
76
 
@@ -1555,7 +1555,7 @@ const excludeNodeList = [
1555
1555
  // return false
1556
1556
  // }
1557
1557
  const Container$u = () => {
1558
- var _a, _b, _c, _d, _e;
1558
+ var _a, _b, _c;
1559
1559
  const { formatMessage: f, action: { pushNotifications }, } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
1560
1560
  const currentUrl = useCurrentUrl();
1561
1561
  const { listNodes, activeId, isShowFooter, onNext, onPrev, params, onStartOver, loading, } = React.useContext(SubotInlineContext);
@@ -1566,15 +1566,16 @@ const Container$u = () => {
1566
1566
  const actionNextChoice = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.find((act) => act.type === index$2.NodeActionType.USER_CHOICE_NEXT);
1567
1567
  const actionPollSubmit = (_b = node === null || node === void 0 ? void 0 : node.actions) === null || _b === void 0 ? void 0 : _b.find(({ type }) => type == index$2.NodeActionType.POLL_BUTTON);
1568
1568
  const actionMultipleSubmit = (_c = node === null || node === void 0 ? void 0 : node.actions) === null || _c === void 0 ? void 0 : _c.find(({ type }) => type == index$2.NodeActionType.ACTION_MULTIPLE_BUTTON);
1569
- const selectedWithOtherInput = ((_e = (_d = node === null || node === void 0 ? void 0 : node.actions) === null || _d === void 0 ? void 0 : _d.find(({ id }) => id === value.action_id)) === null || _e === void 0 ? void 0 : _e.type) ===
1570
- index$2.NodeActionType.USER_CHOICE_TEXT_BY_INPUT;
1569
+ // const selectedWithOtherInput =
1570
+ // node?.actions?.find(({ id }) => id === value.action_id)?.type ===
1571
+ // NodeActionType.USER_CHOICE_TEXT_BY_INPUT
1571
1572
  const handleNextChoice = () => {
1572
1573
  const nextValue = {
1573
1574
  node_id: node.id,
1574
1575
  action_id: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.id,
1575
1576
  action_value: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.key,
1576
1577
  };
1577
- onNext(Object.assign(Object.assign(Object.assign({}, params), nextValue), node === null || node === void 0 ? void 0 : node._message));
1578
+ onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), nextValue));
1578
1579
  };
1579
1580
  const handlePollSubmit = () => {
1580
1581
  var _a;
@@ -1619,15 +1620,15 @@ const Container$u = () => {
1619
1620
  });
1620
1621
  }
1621
1622
  else {
1622
- onNext(Object.assign(Object.assign(Object.assign({}, params), value), node === null || node === void 0 ? void 0 : node._message));
1623
+ onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), value));
1623
1624
  }
1624
1625
  };
1625
1626
  if (!isShowFooter)
1626
1627
  return null;
1627
1628
  const found = listNodes.find((nodeItem) => nodeItem.id == activeId);
1628
1629
  const isDisabled = disabledNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '') ||
1629
- disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '') ||
1630
- selectedWithOtherInput;
1630
+ disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '');
1631
+ // selectedWithOtherInput
1631
1632
  const isDisplayAction = !excludeNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '');
1632
1633
  return (React__default["default"].createElement(StyledWrap$p, { "data-show-action": isDisplayAction },
1633
1634
  React__default["default"].createElement("button", { onClick: onStartOver, "data-event-category": "Service Connection", "data-event-action": "Risk Screening Start Over", "data-event-label": currentUrl, "data-bot-id": params.bot_id, className: "si-footer-start-over", disabled: Boolean((botItem === null || botItem === void 0 ? void 0 : botItem.subot_field_type) && activeId == (listNodes === null || listNodes === void 0 ? void 0 : listNodes[1].id)) },
@@ -5433,21 +5434,9 @@ const stylesTextarea = {
5433
5434
  boxShadow: '0px 0px 0px 2px var(--subot-inline-primary-color-300) !important',
5434
5435
  },
5435
5436
  },
5436
- };
5437
- const stylesButtonSubmitOther = {
5438
- root: {
5439
- ':not(:disabled)': {
5440
- backgroundColor: 'var(--subot-inline-primary-color) !important',
5441
- '&:hover': {
5442
- backgroundColor: 'var(--subot-inline-primary-color-hover) !important',
5443
- },
5444
- },
5445
- },
5446
5437
  };
5447
5438
 
5448
5439
  const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) => {
5449
- const timeoutId = React.useRef(null);
5450
- const { formatMessage: f } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
5451
5440
  const currentUrl = useCurrentUrl();
5452
5441
  const inputRef = React.useRef(null);
5453
5442
  const [otherText, setOtherText] = React.useState('');
@@ -5455,14 +5444,6 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
5455
5444
  const isActionPollWithOther = (action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
5456
5445
  const isActionSelectWithOther = (action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
5457
5446
  isActionPollWithOther;
5458
- const actionSubmitted = isActionPollWithOther
5459
- ? {
5460
- key: action === null || action === void 0 ? void 0 : action.key,
5461
- control: index$2.ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type],
5462
- value: '',
5463
- action_id: action === null || action === void 0 ? void 0 : action.id,
5464
- }
5465
- : action;
5466
5447
  React.useEffect(() => {
5467
5448
  var _a, _b;
5468
5449
  if (active) {
@@ -5470,45 +5451,24 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
5470
5451
  (_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.focus();
5471
5452
  }
5472
5453
  }, [active, formSubmitMeta]);
5473
- const handleClickWithFormMeta = () => {
5474
- if (otherText) {
5475
- onChange &&
5476
- onChange(actionSubmitted, [
5477
- {
5478
- key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
5479
- control: 'text',
5480
- value: otherText,
5481
- },
5482
- ]);
5483
- }
5484
- };
5485
5454
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5486
5455
  const onChangeTextArea = (evt) => {
5487
5456
  setOtherText(evt.target.value);
5488
- if (isActionPollWithOther) {
5489
- timeoutId.current && clearTimeout(timeoutId.current);
5490
- timeoutId.current = setTimeout(() => {
5491
- onChange &&
5492
- onChange(actionSubmitted, [
5493
- {
5494
- key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
5495
- control: 'text',
5496
- value: evt.target.value,
5497
- },
5498
- ]);
5499
- }, 300);
5500
- }
5457
+ onChange === null || onChange === void 0 ? void 0 : onChange(action, [
5458
+ {
5459
+ key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
5460
+ control: 'text',
5461
+ value: evt.target.value,
5462
+ action_id: action === null || action === void 0 ? void 0 : action.id,
5463
+ },
5464
+ ]);
5501
5465
  };
5502
5466
  return (React__default["default"].createElement(React__default["default"].Fragment, null,
5503
- React__default["default"].createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange && onChange(actionSubmitted), "data-event-category": "Service Connection", "data-event-action": "Risk Screening Answer Click", "data-event-label": currentUrl, "data-bot-id": params.bot_id },
5467
+ React__default["default"].createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange === null || onChange === void 0 ? void 0 : onChange(action), "data-event-category": "Service Connection", "data-event-action": "Risk Screening Answer Click", "data-event-label": currentUrl, "data-bot-id": params.bot_id },
5504
5468
  React__default["default"].createElement(StyledRadioIcon, { active: !!active }, htmlType === 'checkbox' && (React__default["default"].createElement(Checkbox, { className: "icon-checkbox", viewBox: "0 0 22 22" }))),
5505
5469
  React__default["default"].createElement("div", { className: "label" }, action === null || action === void 0 ? void 0 : action.label)),
5506
5470
  isActionSelectWithOther && active && (React__default["default"].createElement(core.Box, { px: "2px", style: { textAlign: 'right' } },
5507
- React__default["default"].createElement(core.Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 }),
5508
- !isActionPollWithOther && (React__default["default"].createElement(index$4.Button, { size: "sm", mt: "5px", styles: stylesButtonSubmitOther, disabled: !otherText, onClick: handleClickWithFormMeta }, f({
5509
- id: 'feedback.submit',
5510
- defaultMessage: 'Submit',
5511
- })))))));
5471
+ React__default["default"].createElement(core.Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 })))));
5512
5472
  };
5513
5473
  Container$a.displayName = 'SubotInlineActionTextChoice';
5514
5474
 
@@ -5668,34 +5628,49 @@ const Container$5 = ({ node, indexNumber }) => {
5668
5628
  }
5669
5629
  return [];
5670
5630
  }, [value, value === null || value === void 0 ? void 0 : value.selected_actions]);
5671
- const handleOnChange = (action) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
5672
- if (!action) {
5673
- return;
5674
- }
5675
- const _value = Object.assign(Object.assign({}, value), { action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key });
5676
- if (!_value.selected_actions) {
5677
- const tmp = {};
5678
- tmp[action.id] = action === null || action === void 0 ? void 0 : action.key;
5679
- setValue(Object.assign(Object.assign({}, _value), { selected_actions: Object.assign({}, tmp) }));
5680
- return;
5681
- }
5682
- if (!_value.selected_actions[action.id]) {
5683
- _value.selected_actions[action.id] = action === null || action === void 0 ? void 0 : action.key;
5684
- onChange && onChange(_value);
5685
- setValue(_value);
5686
- return;
5687
- }
5688
- if (_value.selected_actions[action.id]) {
5689
- delete _value.selected_actions[action.id];
5690
- onChange && onChange(_value);
5691
- setValue(_value);
5692
- return;
5631
+ const handleOnChange = (action, formSubmitMeta) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
5632
+ var _b, _c;
5633
+ if (action) {
5634
+ const _value = JSON.parse(JSON.stringify(Object.assign(Object.assign({}, value), { action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, selected_actions: Object.assign({}, value === null || value === void 0 ? void 0 : value.selected_actions) })));
5635
+ if ((action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
5636
+ (action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
5637
+ const isExistedPoll = (_value === null || _value === void 0 ? void 0 : _value.selected_actions) && action.id in _value.selected_actions;
5638
+ if (isExistedPoll) {
5639
+ if (formSubmitMeta) {
5640
+ _value.form_submit_meta = formSubmitMeta;
5641
+ }
5642
+ else {
5643
+ delete _value.form_submit_meta;
5644
+ (_b = _value.selected_actions) === null || _b === void 0 ? true : delete _b[action.id];
5645
+ }
5646
+ }
5647
+ else {
5648
+ if (action === null || action === void 0 ? void 0 : action.id) {
5649
+ _value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
5650
+ }
5651
+ }
5652
+ setValue(_value);
5653
+ onChange === null || onChange === void 0 ? void 0 : onChange(_value);
5654
+ return;
5655
+ }
5656
+ if (!((_c = _value.selected_actions) === null || _c === void 0 ? void 0 : _c[action.id])) {
5657
+ _value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
5658
+ onChange && onChange(_value);
5659
+ setValue(_value);
5660
+ return;
5661
+ }
5662
+ if (_value.selected_actions[action.id]) {
5663
+ delete _value.selected_actions[action.id];
5664
+ onChange && onChange(_value);
5665
+ setValue(_value);
5666
+ return;
5667
+ }
5693
5668
  }
5694
5669
  });
5695
5670
  const actionsRemoveMultipleBtn = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.filter((a) => a.type !== index$2.NodeActionType.ACTION_MULTIPLE_BUTTON);
5696
5671
  return (React__default["default"].createElement(StyledWrap$3, { id: "si-node-text" },
5697
5672
  React__default["default"].createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
5698
- React__default["default"].createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange })));
5673
+ React__default["default"].createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
5699
5674
  };
5700
5675
  Container$5.displayName = 'SubotInlineNodeMultipleContainer';
5701
5676
 
@@ -5739,8 +5714,7 @@ const StyledWrap$2 = styled__default["default"].div `
5739
5714
  `;
5740
5715
 
5741
5716
  const Container$4 = ({ node, indexNumber }) => {
5742
- var _a;
5743
- const { params, setIsShowFooter } = React.useContext(SubotInlineContext);
5717
+ const { onChange, setIsShowFooter } = React.useContext(SubotInlineContext);
5744
5718
  const { value, setValue } = React.useContext(NodeContext);
5745
5719
  const descriptionNode = useDescriptionPollNode({ node });
5746
5720
  React.useMemo(() => {
@@ -5757,48 +5731,41 @@ const Container$4 = ({ node, indexNumber }) => {
5757
5731
  return null;
5758
5732
  }, [node === null || node === void 0 ? void 0 : node.actions]);
5759
5733
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5760
- const handleOnChange = (formValue, formSubmitMetaWithOther) => {
5761
- if (formValue) {
5762
- const { is_multi_select } = node;
5763
- const _message = Object.assign(Object.assign(Object.assign({}, params), value), { node_id: node.id, action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, form_submit_meta: (value === null || value === void 0 ? void 0 : value.form_submit_meta)
5764
- ? [...value === null || value === void 0 ? void 0 : value.form_submit_meta]
5765
- : [] });
5766
- let tmpFormSubmitMeta = [];
5767
- const currentSubmitMeta = [
5768
- ..._message === null || _message === void 0 ? void 0 : _message.form_submit_meta,
5769
- ];
5770
- if (!formSubmitMetaWithOther) {
5771
- const formUpdateIndex = currentSubmitMeta.findIndex(({ action_id }) => action_id === formValue.action_id);
5772
- /**
5773
- * The current logic when onChange is called will remove/add this poll action in the submit meta
5774
- * But IF the onChange is called due to the input text other, this action will be not removed from the previous list
5775
- */
5776
- if (formUpdateIndex !== -1) {
5777
- tmpFormSubmitMeta = [
5778
- ...currentSubmitMeta.slice(0, formUpdateIndex),
5779
- ...currentSubmitMeta.slice(formUpdateIndex + 1),
5780
- ];
5781
- }
5782
- else {
5783
- if (!is_multi_select) {
5784
- tmpFormSubmitMeta = [Object.assign({}, formValue)];
5785
- }
5786
- else {
5787
- tmpFormSubmitMeta = [...currentSubmitMeta];
5788
- tmpFormSubmitMeta.push(formValue);
5789
- }
5790
- }
5734
+ const handleOnChange = (action, formSubmitMeta) => {
5735
+ var _a, _b, _c, _d, _e, _f, _g;
5736
+ const newValue = JSON.parse(JSON.stringify(Object.assign(Object.assign({}, value), { node_id: node.id, action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, form_submit_meta: [...((value === null || value === void 0 ? void 0 : value.form_submit_meta) || [])] })));
5737
+ if ((action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
5738
+ (action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
5739
+ const isExistedPoll = (_a = newValue.form_submit_meta) === null || _a === void 0 ? void 0 : _a.some(({ action_id }) => action_id === action.id);
5740
+ if (isExistedPoll) {
5741
+ newValue.form_submit_meta =
5742
+ typeof formSubmitMeta === 'undefined'
5743
+ ? (_b = newValue.form_submit_meta) === null || _b === void 0 ? void 0 : _b.filter(({ action_id }) => action_id !== action.id)
5744
+ : (_c = newValue.form_submit_meta) === null || _c === void 0 ? void 0 : _c.filter(({ action_id }) => action_id !== action.id).concat(formSubmitMeta);
5791
5745
  }
5792
5746
  else {
5793
- tmpFormSubmitMeta = currentSubmitMeta;
5747
+ newValue.form_submit_meta = (_d = newValue.form_submit_meta) === null || _d === void 0 ? void 0 : _d.concat([
5748
+ {
5749
+ key: action === null || action === void 0 ? void 0 : action.key,
5750
+ control: index$2.ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type] || 'text',
5751
+ value: '',
5752
+ action_id: action === null || action === void 0 ? void 0 : action.id,
5753
+ },
5754
+ ]);
5794
5755
  }
5795
- _message.form_submit_meta = [...tmpFormSubmitMeta]
5796
- .filter((item) => formSubmitMetaWithOther
5797
- ? item.key !== KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD
5798
- : true)
5799
- .concat(formSubmitMetaWithOther || []);
5800
- setValue(_message);
5756
+ setValue(newValue);
5757
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
5758
+ return;
5759
+ }
5760
+ const isPoll = (_e = newValue.form_submit_meta) === null || _e === void 0 ? void 0 : _e.some(({ action_id }) => action_id === (action === null || action === void 0 ? void 0 : action.action_id));
5761
+ if (isPoll) {
5762
+ newValue.form_submit_meta = (_f = newValue.form_submit_meta) === null || _f === void 0 ? void 0 : _f.filter(({ action_id }) => action_id !== (action === null || action === void 0 ? void 0 : action.action_id));
5801
5763
  }
5764
+ else {
5765
+ newValue.form_submit_meta = (_g = newValue.form_submit_meta) === null || _g === void 0 ? void 0 : _g.concat([action]);
5766
+ }
5767
+ setValue(newValue);
5768
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
5802
5769
  };
5803
5770
  const activeActions = React.useMemo(() => {
5804
5771
  if (value === null || value === void 0 ? void 0 : value.form_submit_meta) {
@@ -5806,10 +5773,14 @@ const Container$4 = ({ node, indexNumber }) => {
5806
5773
  }
5807
5774
  return [];
5808
5775
  }, [value, value === null || value === void 0 ? void 0 : value.form_submit_meta]);
5776
+ React.useEffect(() => {
5777
+ console.log('adfsafsdf');
5778
+ setValue(node === null || node === void 0 ? void 0 : node._message);
5779
+ }, []);
5809
5780
  return (React__default["default"].createElement(StyledWrap$2, null,
5810
5781
  React__default["default"].createElement(Container$h, { intents: node.intents || [], indexNumber: indexNumber }),
5811
5782
  React__default["default"].createElement("p", { className: "si-poll-description" }, descriptionNode),
5812
- React__default["default"].createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: (_a = node._message) === null || _a === void 0 ? void 0 : _a.form_submit_meta })));
5783
+ React__default["default"].createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
5813
5784
  };
5814
5785
  Container$4.displayName = 'SubotinlineNodePoll';
5815
5786
 
@@ -5880,7 +5851,6 @@ const StyledWrap = styled__default["default"].div `
5880
5851
  `;
5881
5852
 
5882
5853
  const Container$2 = ({ node, indexNumber }) => {
5883
- var _a;
5884
5854
  const { params, onSubmit, setIsShowFooter, listNodes, activeId, setLoading, onChange, } = React.useContext(SubotInlineContext);
5885
5855
  const { value, setValue } = React.useContext(NodeContext);
5886
5856
  React.useMemo(() => {
@@ -5900,7 +5870,7 @@ const Container$2 = ({ node, indexNumber }) => {
5900
5870
  const res = yield subotInlineMessage(newParams);
5901
5871
  setLoading(false);
5902
5872
  if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
5903
- const _b = res === null || res === void 0 ? void 0 : res._data, { node } = _b, restData = tslib_es6.__rest(_b, ["node"]);
5873
+ const _a = res === null || res === void 0 ? void 0 : res._data, { node } = _a, restData = tslib_es6.__rest(_a, ["node"]);
5904
5874
  const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
5905
5875
  onSubmit(nextNode, newParams);
5906
5876
  }
@@ -5908,28 +5878,21 @@ const Container$2 = ({ node, indexNumber }) => {
5908
5878
  const handleOnChange = (action, formSubmitMeta) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
5909
5879
  if (!action)
5910
5880
  return;
5911
- const isActionSelectWithOther = action.type === index$2.NodeActionType.USER_CHOICE_TEXT_BY_INPUT;
5912
- setValue(Object.assign(Object.assign({}, value), { action_id: action === null || action === void 0 ? void 0 : action.id, action_value: action === null || action === void 0 ? void 0 : action.key }));
5913
- if (!isActionSelectWithOther) {
5914
- handleOnChangeNormal(action);
5881
+ const actionWithOther = (action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
5882
+ (action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
5883
+ const newValue = Object.assign(Object.assign({}, value), { action_id: action === null || action === void 0 ? void 0 : action.id, action_value: action === null || action === void 0 ? void 0 : action.key, form_submit_meta: formSubmitMeta });
5884
+ if (actionWithOther) {
5885
+ setValue(newValue);
5886
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
5915
5887
  return;
5916
5888
  }
5917
- if (formSubmitMeta) {
5918
- const newParams = Object.assign(Object.assign(Object.assign(Object.assign({}, params), value), { node_id: node.id, action_id: action === null || action === void 0 ? void 0 : action.id, action_value: action === null || action === void 0 ? void 0 : action.key, form_submit_meta: formSubmitMeta }), getCurrentTotalDynamicScore(listNodes, activeId, action.id));
5919
- onChange(newParams);
5920
- setLoading(true);
5921
- const res = yield subotInlineMessage(newParams);
5922
- setLoading(false);
5923
- if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
5924
- const _c = res === null || res === void 0 ? void 0 : res._data, { node } = _c, restData = tslib_es6.__rest(_c, ["node"]);
5925
- const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
5926
- onSubmit(nextNode, newParams);
5927
- }
5928
- }
5889
+ delete newValue.form_submit_meta;
5890
+ setValue(newValue);
5891
+ handleOnChangeNormal(action);
5929
5892
  });
5930
5893
  return (React__default["default"].createElement(StyledWrap, { id: "si-node-text" },
5931
5894
  React__default["default"].createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
5932
- React__default["default"].createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: (_a = node === null || node === void 0 ? void 0 : node._message) === null || _a === void 0 ? void 0 : _a.form_submit_meta })));
5895
+ React__default["default"].createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
5933
5896
  };
5934
5897
  Container$2.displayName = 'SubotInlineNodeTextContainer';
5935
5898
 
@@ -4,62 +4,62 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('react');
6
6
  require('@mantine/core');
7
- var surveyOrPremiumBanner = require('./index-79a9c18c.js');
8
- require('./utils-7c406774.js');
9
- require('./index-01ce2cc3.js');
10
- require('./index-6bbe75fe.js');
7
+ var surveyOrPremiumBanner = require('./index-dac49bb2.js');
8
+ require('./utils-fdba16fd.js');
9
+ require('./index-cfd9a1b5.js');
10
+ require('./index-822d25d0.js');
11
11
  require('./constantsDomainLocales.js');
12
- require('./Locale-f248f41d.js');
12
+ require('./Locale-23c60e4b.js');
13
13
  require('./constantsIsProduction.js');
14
- require('./index-0f952df2.js');
14
+ require('./index-f836d800.js');
15
15
  require('date-fns/locale');
16
- require('./index-f51fc3b3.js');
16
+ require('./index-af9fb8fd.js');
17
17
  require('./constantsSite.js');
18
18
  require('./constantsRiskScreener.js');
19
- require('./tslib.es6-90ee5afd.js');
20
- require('./store-883fb05f.js');
19
+ require('./tslib.es6-8590f3e8.js');
20
+ require('./store-969f6ea3.js');
21
21
  require('zustand');
22
- require('./normalizeLink-a9a30bde.js');
22
+ require('./normalizeLink-14ecc0e7.js');
23
23
  require('./miscCookieHelper.js');
24
- require('./useScreenSize-c58d4d8b.js');
24
+ require('./useScreenSize-e874c005.js');
25
25
  require('@emotion/styled');
26
- require('./utils-f32738e2.js');
26
+ require('./utils-60b33bfe.js');
27
27
  require('@mantine/form');
28
- require('./index-9617e8c4.js');
28
+ require('./index-297debb8.js');
29
29
  require('@hhgtech/icons/other');
30
30
  require('@mantine/hooks');
31
31
  require('@mantine/carousel');
32
- require('./index-765c72e1.js');
33
- require('./other-60a8441d.js');
32
+ require('./index-dc87e4ea.js');
33
+ require('./other-cbb37c7a.js');
34
34
  require('./miscTheme.js');
35
- require('./useMantineLocale-3bd094ed.js');
35
+ require('./useMantineLocale-760cc21a.js');
36
36
  require('@mantine/notifications');
37
37
  require('dayjs');
38
- require('./index-71980ca8.js');
38
+ require('./index-9a86bbef.js');
39
39
  require('classnames');
40
- require('./useUniqueId-4d1fc0c3.js');
40
+ require('./useUniqueId-dabdcbf0.js');
41
41
  require('@hhgtech/icons/core');
42
42
  require('@mantine/dates');
43
- require('./index.styles-803365c0.js');
44
- require('./index-1c015809.js');
43
+ require('./index.styles-08ca8b79.js');
44
+ require('./index-d559eb88.js');
45
45
  require('./togetherApiPaths.js');
46
- require('./translationsContext-e2910904.js');
47
- require('./index-ae4a61f7.js');
48
- require('./useHealthToolCache-c707ea28.js');
46
+ require('./translationsContext-614b0187.js');
47
+ require('./index-455ba5c6.js');
48
+ require('./useHealthToolCache-c5640115.js');
49
49
  require('./miscGetDynamicHealthTool.js');
50
- require('./core-62ef0525.js');
51
- require('./index-d8854afe.js');
52
- require('./WhatsApp-f4b49cf0.js');
53
- require('./Spinner-05d3e47e.js');
54
- require('./index-469b7990.js');
55
- require('./index-78464881.js');
50
+ require('./core-10afa7c3.js');
51
+ require('./index-2fc75787.js');
52
+ require('./WhatsApp-7306443c.js');
53
+ require('./Spinner-ed1ca856.js');
54
+ require('./index-9be46480.js');
55
+ require('./index-b77c44aa.js');
56
56
  require('js-cookie');
57
57
  require('lodash/flatten');
58
58
  require('lodash/uniqBy');
59
- require('./index-5e8fdb3d.js');
59
+ require('./index-01227484.js');
60
60
  require('slugify');
61
61
  require('string-format');
62
- require('./constants-0b3a7c49.js');
62
+ require('./constants-c0862d46.js');
63
63
 
64
64
 
65
65
 
@@ -2,20 +2,20 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var surveyThankyouCard = require('./surveyThankyouCard-9558f555.js');
5
+ var surveyThankyouCard = require('./surveyThankyouCard-020bc0d2.js');
6
6
  require('react');
7
- require('./index-6ab07abf.js');
8
- require('./tslib.es6-90ee5afd.js');
9
- require('./index-71980ca8.js');
7
+ require('./index-86c988c4.js');
8
+ require('./tslib.es6-8590f3e8.js');
9
+ require('./index-9a86bbef.js');
10
10
  require('@mantine/core');
11
- require('./index-765c72e1.js');
12
- require('./other-60a8441d.js');
13
- require('./index-ae4a61f7.js');
14
- require('./index-0328e732.js');
11
+ require('./index-dc87e4ea.js');
12
+ require('./other-cbb37c7a.js');
13
+ require('./index-455ba5c6.js');
14
+ require('./index-2570ab00.js');
15
15
  require('@emotion/styled');
16
16
  require('./miscTheme.js');
17
- require('./utils-f32738e2.js');
18
- require('./index-a96a5ab8.js');
17
+ require('./utils-60b33bfe.js');
18
+ require('./index-722cb11b.js');
19
19
 
20
20
 
21
21
 
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var index$4 = require('./index-6ab07abf.js');
5
- var index$1 = require('./index-765c72e1.js');
6
- var index = require('./index-ae4a61f7.js');
7
- var index$3 = require('./index-0328e732.js');
8
- var index$2 = require('./index-a96a5ab8.js');
4
+ var index$4 = require('./index-86c988c4.js');
5
+ var index$1 = require('./index-dc87e4ea.js');
6
+ var index = require('./index-455ba5c6.js');
7
+ var index$3 = require('./index-2570ab00.js');
8
+ var index$2 = require('./index-722cb11b.js');
9
9
  var styled = require('@emotion/styled');
10
10
  var miscTheme = require('./miscTheme.js');
11
11