@hhgtech/hhg-components 1.26.97 → 1.26.99

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 (282) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care/components/organisms/bookingSearchBar/index.d.ts +4 -1
  4. package/build/care/components/organisms/bookingSearchBar/locationResults/index.d.ts +2 -1
  5. package/build/care/components/organisms/bookingSearchBar/resultSection/index.d.ts +2 -1
  6. package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.d.ts +2 -1
  7. package/build/care/components/organisms/bookingSearchBar/searchResults/index.d.ts +3 -1
  8. package/build/care/interfaces/constants.d.ts +1 -0
  9. package/build/care.js +1 -1
  10. package/build/components.js +1 -1
  11. package/build/{constants-36c6c0be.js → constants-3e8f084a.js} +1 -1
  12. package/build/constants.js +1 -1
  13. package/build/{core-1e303e78.js → core-34fb6146.js} +1 -1
  14. package/build/{dataTransform-83a098d1.js → dataTransform-4338e067.js} +1 -1
  15. package/build/ecom.js +1 -1
  16. package/build/esm/babyGrowth.js +7 -7
  17. package/build/esm/cache.js +1 -1
  18. package/build/esm/care.js +1 -1
  19. package/build/esm/components.js +1 -1
  20. package/build/esm/{constants-ef3a145b.js → constants-27cba192.js} +1 -1
  21. package/build/esm/constants.js +1 -1
  22. package/build/esm/{core-bc5baf17.js → core-2cd83fcf.js} +1 -1
  23. package/build/esm/{dataTransform-4f398afe.js → dataTransform-e4a9b542.js} +1 -1
  24. package/build/esm/ecom.js +1 -1
  25. package/build/esm/{fixedBottomAdBlock-310b2af5.js → fixedBottomAdBlock-224aded2.js} +1 -1
  26. package/build/esm/footer.js +1 -1
  27. package/build/esm/gAssets.js +1 -1
  28. package/build/esm/getDynamicHealthTool-45fe96cc.js +1 -0
  29. package/build/esm/{getSocialList-9dfa3b6c.js → getSocialList-169bf092.js} +1 -1
  30. package/build/esm/hooks.js +1 -1
  31. package/build/esm/i18n.js +1 -1
  32. package/build/esm/{index-fae5b6de.js → index-17ad83ff.js} +1 -1
  33. package/build/esm/{index-0c6440ad.js → index-30841fd2.js} +1 -1
  34. package/build/esm/{index-2e27245d.js → index-3b1002a5.js} +1 -1
  35. package/build/esm/{index-c7b82737.js → index-5c393ccd.js} +1 -1
  36. package/build/esm/{index-6f1278fb.js → index-61c21d75.js} +1 -1
  37. package/build/esm/index-6a76808a.js +1 -0
  38. package/build/esm/{index-cf050678.js → index-6b3cb1d1.js} +1 -1
  39. package/build/esm/{index-fc2a58c5.js → index-6d831557.js} +1 -1
  40. package/build/esm/{index-a2efd838.js → index-75286845.js} +1 -1
  41. package/build/esm/{index-f28563e5.js → index-7cdfed40.js} +1 -1
  42. package/build/esm/{index-7d3d70ab.js → index-7d9231b8.js} +1 -1
  43. package/build/esm/index-874817fb.js +1 -0
  44. package/build/esm/{index-95939419.js → index-8c54241d.js} +2 -2
  45. package/build/esm/{index-54664f4b.js → index-9b35c1e2.js} +1 -1
  46. package/build/esm/{index-ac32f4c3.js → index-9eb5a595.js} +1 -1
  47. package/build/esm/{index-4f74f7cc.js → index-a0e107b8.js} +1 -1
  48. package/build/esm/{index-7b26d6dc.js → index-adb23fe4.js} +1 -1
  49. package/build/esm/{index-b3821e39.js → index-b2f7085b.js} +1 -1
  50. package/build/esm/{index-8a00add8.js → index-b3bc1ac3.js} +1 -1
  51. package/build/esm/{index-535536b3.js → index-f0d99afe.js} +1 -1
  52. package/build/esm/{index-c2348240.js → index-f25bd0c1.js} +1 -1
  53. package/build/esm/{index-550b808c.js → index-f3eb92a0.js} +1 -1
  54. package/build/esm/{index-c75d16b9.js → index-f43e7940.js} +1 -1
  55. package/build/esm/index.js +1 -1
  56. package/build/esm/{index.styled-ba484369.js → index.styled-0b57a531.js} +1 -1
  57. package/build/esm/{index.styled-6954fab0.js → index.styled-18eecc3d.js} +1 -1
  58. package/build/esm/{index.styled-45857efa.js → index.styled-6e19d918.js} +5 -5
  59. package/build/esm/{index.styled-3fa168fb.js → index.styled-bafc60a4.js} +1 -1
  60. package/build/esm/{index.styles-ab57c1ab.js → index.styles-ab8fd7ce.js} +1 -1
  61. package/build/esm/lead.js +1 -1
  62. package/build/esm/mantine.js +1 -1
  63. package/build/esm/misc.js +1 -1
  64. package/build/esm/navigation.js +1 -1
  65. package/build/esm/onboarding.js +1 -1
  66. package/build/esm/onboardingV2.js +5 -5
  67. package/build/esm/pwg.js +5 -5
  68. package/build/esm/{routing-213445f9.js → routing-3d42f6f7.js} +1 -1
  69. package/build/esm/{screenSizeContext-218ca999.js → screenSizeContext-a7634bcb.js} +3 -3
  70. package/build/esm/together.js +1 -1
  71. package/build/esm/translationsContext-ff99af91.js +1 -0
  72. package/build/esm/translationsProvider-c2dbe314.js +1 -0
  73. package/build/esm/types-264bc029.js +339 -0
  74. package/build/esm/{types-a5d2b7c7.js → types-55d48a09.js} +1 -1
  75. package/build/esm/types.js +1 -1
  76. package/build/esm/{useHealthToolCache-702e03b1.js → useHealthToolCache-78053d28.js} +1 -1
  77. package/build/esm/{useRafState-dc4b3fb3.js → useRafState-386cc1a7.js} +1 -1
  78. package/build/esm/useTranslations-69443821.js +1 -0
  79. package/build/esm/{utils-c871f505.js → utils-80ff55e4.js} +2 -2
  80. package/build/esm/vaccination.js +5 -5
  81. package/build/{fixedBottomAdBlock-2a4ac4ba.js → fixedBottomAdBlock-15405dde.js} +1 -1
  82. package/build/footer.js +1 -1
  83. package/build/gAssets.js +1 -1
  84. package/build/{getDynamicHealthTool-fc68f501.js → getDynamicHealthTool-97c6440b.js} +1 -1
  85. package/build/{getSocialList-92692bdb.js → getSocialList-26413e1c.js} +1 -1
  86. package/build/hooks.js +1 -1
  87. package/build/i18n.js +1 -1
  88. package/build/{index-209afefc.js → index-047c5ffe.js} +1 -1
  89. package/build/index-0946433d.js +1 -0
  90. package/build/{index-7c52b74a.js → index-10d36f7c.js} +1 -1
  91. package/build/{index-5cb154d2.js → index-266fd232.js} +1 -1
  92. package/build/{index-b3d7e244.js → index-2a1ee44e.js} +1 -1
  93. package/build/{index-49f07ee5.js → index-2c1aa63d.js} +1 -1
  94. package/build/{index-db0d147a.js → index-2fe615ea.js} +1 -1
  95. package/build/{index-8ae00943.js → index-364356fe.js} +1 -1
  96. package/build/{index-a5da2113.js → index-43c58915.js} +1 -1
  97. package/build/index-474ee0ab.js +1 -0
  98. package/build/{index-ff6a0016.js → index-50343eee.js} +1 -1
  99. package/build/{index-8df392c5.js → index-5f6346b1.js} +1 -1
  100. package/build/{index-01b06080.js → index-77934ff5.js} +1 -1
  101. package/build/{index-3afd27b8.js → index-7c36ad9a.js} +1 -1
  102. package/build/{index-ffc64e60.js → index-99ace782.js} +1 -1
  103. package/build/{index-f78144c2.js → index-a4c1331e.js} +1 -1
  104. package/build/{index-ef67595c.js → index-a6bfe2ef.js} +1 -1
  105. package/build/{index-dcde6684.js → index-a73a0a6d.js} +1 -1
  106. package/build/index-a87d8112.js +1 -0
  107. package/build/index-a8a82fb8.js +1 -0
  108. package/build/{index-c11d6985.js → index-c82c5446.js} +1 -1
  109. package/build/{index-303a9c19.js → index-d6c6275a.js} +1 -1
  110. package/build/{index-366e8606.js → index-ef575820.js} +1 -1
  111. package/build/index.js +1 -1
  112. package/build/{index.styled-01d3de97.js → index.styled-07b05a8d.js} +1 -1
  113. package/build/{index.styled-904929f0.js → index.styled-2739b543.js} +5 -5
  114. package/build/{index.styled-7d2f166d.js → index.styled-44af0d98.js} +1 -1
  115. package/build/{index.styled-20fd2c88.js → index.styled-89187ea1.js} +1 -1
  116. package/build/{index.styles-a01c7375.js → index.styles-696360de.js} +1 -1
  117. package/build/lead.js +1 -1
  118. package/build/mantine.js +1 -1
  119. package/build/misc.js +1 -1
  120. package/build/navigation.js +1 -1
  121. package/build/onboarding.js +1 -1
  122. package/build/onboardingV2.js +1 -1
  123. package/build/pwg.js +2 -2
  124. package/build/{routing-b6df010f.js → routing-89664f16.js} +1 -1
  125. package/build/screenSizeContext-6c57a958.js +81 -0
  126. package/build/together.js +1 -1
  127. package/build/translationsContext-03da8207.js +1 -0
  128. package/build/translationsProvider-3f48d082.js +1 -0
  129. package/build/{types-2f04ee64.js → types-1bbc78f7.js} +23 -20
  130. package/build/{types-ef31da39.js → types-8d31833d.js} +1 -1
  131. package/build/types.js +1 -1
  132. package/build/{useHealthToolCache-afe9b37b.js → useHealthToolCache-0b59d44e.js} +1 -1
  133. package/build/{useRafState-9b2fb8fa.js → useRafState-67c97f68.js} +1 -1
  134. package/build/useTranslations-b4294d27.js +1 -0
  135. package/build/{utils-5fc4ba49.js → utils-82d78d79.js} +4 -4
  136. package/build/vaccination.js +1 -1
  137. package/package.json +1 -1
  138. package/build/esm/getDynamicHealthTool-6a8e0125.js +0 -1
  139. package/build/esm/index-11ec746c.js +0 -1
  140. package/build/esm/index-b1f880fb.js +0 -1
  141. package/build/esm/translationsContext-0e0fb892.js +0 -1
  142. package/build/esm/translationsProvider-9d99ef3a.js +0 -1
  143. package/build/esm/types-a606aa72.js +0 -336
  144. package/build/esm/useTranslations-fb6bcaab.js +0 -1
  145. package/build/index-06ddc6f2.js +0 -1
  146. package/build/index-09104c39.js +0 -1
  147. package/build/index-60ab15ad.js +0 -1
  148. package/build/index-75480ffc.js +0 -1
  149. package/build/screenSizeContext-63a3d71e.js +0 -81
  150. package/build/translationsContext-c4c1d5ee.js +0 -1
  151. package/build/translationsProvider-ee2445a0.js +0 -1
  152. package/build/useTranslations-8998a8c0.js +0 -1
  153. /package/build/{BMI_BOYS.percentile.monthly-c3d48f9c.js → BMI_BOYS.percentile.monthly-40fe5e9d.js} +0 -0
  154. /package/build/{BMI_BOYS.percentile.weekly-a87efaf9.js → BMI_BOYS.percentile.weekly-1d9b9e3b.js} +0 -0
  155. /package/build/{BMI_BOYS.percentile.yearly-283589a9.js → BMI_BOYS.percentile.yearly-424439a5.js} +0 -0
  156. /package/build/{BMI_BOYS.zscore.monthly-444b7398.js → BMI_BOYS.zscore.monthly-23404682.js} +0 -0
  157. /package/build/{BMI_BOYS.zscore.weekly-a2c8b691.js → BMI_BOYS.zscore.weekly-6ca99f0b.js} +0 -0
  158. /package/build/{BMI_BOYS.zscore.yearly-7b9fadfb.js → BMI_BOYS.zscore.yearly-a751bf6e.js} +0 -0
  159. /package/build/{BMI_GIRLS.percentile.monthly-a30c663d.js → BMI_GIRLS.percentile.monthly-5f9558d5.js} +0 -0
  160. /package/build/{BMI_GIRLS.percentile.weekly-dbf4721d.js → BMI_GIRLS.percentile.weekly-fa0b9251.js} +0 -0
  161. /package/build/{BMI_GIRLS.percentile.yearly-20ac2ef3.js → BMI_GIRLS.percentile.yearly-b37290a2.js} +0 -0
  162. /package/build/{BMI_GIRLS.zscore.monthly-67b5a799.js → BMI_GIRLS.zscore.monthly-c776a288.js} +0 -0
  163. /package/build/{BMI_GIRLS.zscore.weekly-5c8ab349.js → BMI_GIRLS.zscore.weekly-c7bd075e.js} +0 -0
  164. /package/build/{BMI_GIRLS.zscore.yearly-189715ce.js → BMI_GIRLS.zscore.yearly-aa3539c3.js} +0 -0
  165. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-9202a1fd.js → HEAD CIRCUM_BOYS.percentile.monthly-23db2eeb.js} +0 -0
  166. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-7ef7961f.js → HEAD CIRCUM_BOYS.percentile.weekly-e3dbd297.js} +0 -0
  167. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-e7013a47.js → HEAD CIRCUM_BOYS.percentile.yearly-a7b5f9b2.js} +0 -0
  168. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-3641552f.js → HEAD CIRCUM_BOYS.zscore.monthly-5f8e28f3.js} +0 -0
  169. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-43abfafd.js → HEAD CIRCUM_BOYS.zscore.weekly-86108667.js} +0 -0
  170. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-6324871a.js → HEAD CIRCUM_BOYS.zscore.yearly-fd4640cd.js} +0 -0
  171. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-eb91315f.js → HEAD CIRCUM_GIRLS.percentile.monthly-9fbe00a4.js} +0 -0
  172. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-f4563bf5.js → HEAD CIRCUM_GIRLS.percentile.weekly-0741b5c3.js} +0 -0
  173. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-618fd1d4.js → HEAD CIRCUM_GIRLS.percentile.yearly-f1f383cf.js} +0 -0
  174. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-eddbfb1d.js → HEAD CIRCUM_GIRLS.zscore.monthly-2e78fc79.js} +0 -0
  175. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e39e457a.js → HEAD CIRCUM_GIRLS.zscore.weekly-d3fd1fbb.js} +0 -0
  176. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-0957616b.js → HEAD CIRCUM_GIRLS.zscore.yearly-d842f575.js} +0 -0
  177. /package/build/{HEIGHT_BOYS.percentile.monthly-a2d90925.js → HEIGHT_BOYS.percentile.monthly-474ea6e6.js} +0 -0
  178. /package/build/{HEIGHT_BOYS.percentile.weekly-3f187653.js → HEIGHT_BOYS.percentile.weekly-92b164e6.js} +0 -0
  179. /package/build/{HEIGHT_BOYS.percentile.yearly-f8d12fd8.js → HEIGHT_BOYS.percentile.yearly-27b44b59.js} +0 -0
  180. /package/build/{HEIGHT_BOYS.zscore.monthly-586be41a.js → HEIGHT_BOYS.zscore.monthly-67583d8a.js} +0 -0
  181. /package/build/{HEIGHT_BOYS.zscore.weekly-a15fccb5.js → HEIGHT_BOYS.zscore.weekly-0453f1ba.js} +0 -0
  182. /package/build/{HEIGHT_BOYS.zscore.yearly-73e21a20.js → HEIGHT_BOYS.zscore.yearly-8ac63c2d.js} +0 -0
  183. /package/build/{HEIGHT_GIRLS.percentile.monthly-3501b2af.js → HEIGHT_GIRLS.percentile.monthly-36155eed.js} +0 -0
  184. /package/build/{HEIGHT_GIRLS.percentile.weekly-ab47cb80.js → HEIGHT_GIRLS.percentile.weekly-6a0621b3.js} +0 -0
  185. /package/build/{HEIGHT_GIRLS.percentile.yearly-646b3701.js → HEIGHT_GIRLS.percentile.yearly-2611e564.js} +0 -0
  186. /package/build/{HEIGHT_GIRLS.zscore.monthly-cfe68316.js → HEIGHT_GIRLS.zscore.monthly-04539328.js} +0 -0
  187. /package/build/{HEIGHT_GIRLS.zscore.weekly-518cb4b2.js → HEIGHT_GIRLS.zscore.weekly-2b03a1be.js} +0 -0
  188. /package/build/{HEIGHT_GIRLS.zscore.yearly-8c0b7837.js → HEIGHT_GIRLS.zscore.yearly-8f14a3d1.js} +0 -0
  189. /package/build/{Onboarding-4fe56a35.js → Onboarding-51e879ec.js} +0 -0
  190. /package/build/{Visible-1a042563.js → Visible-5ae49a55.js} +0 -0
  191. /package/build/{WEIGHT_BOYS.percentile.monthly-df348fec.js → WEIGHT_BOYS.percentile.monthly-6333eeec.js} +0 -0
  192. /package/build/{WEIGHT_BOYS.percentile.weekly-d203ef3a.js → WEIGHT_BOYS.percentile.weekly-a3223ec1.js} +0 -0
  193. /package/build/{WEIGHT_BOYS.percentile.yearly-cbb25875.js → WEIGHT_BOYS.percentile.yearly-27ab69d5.js} +0 -0
  194. /package/build/{WEIGHT_BOYS.zscore.monthly-c83b9776.js → WEIGHT_BOYS.zscore.monthly-db723603.js} +0 -0
  195. /package/build/{WEIGHT_BOYS.zscore.weekly-d0622df3.js → WEIGHT_BOYS.zscore.weekly-6d61a9d2.js} +0 -0
  196. /package/build/{WEIGHT_BOYS.zscore.yearly-c217c96d.js → WEIGHT_BOYS.zscore.yearly-56442353.js} +0 -0
  197. /package/build/{WEIGHT_GIRLS.percentile.monthly-30aa6466.js → WEIGHT_GIRLS.percentile.monthly-9f7e3e6a.js} +0 -0
  198. /package/build/{WEIGHT_GIRLS.percentile.weekly-ea166fd4.js → WEIGHT_GIRLS.percentile.weekly-7129539a.js} +0 -0
  199. /package/build/{WEIGHT_GIRLS.percentile.yearly-0aa07a3f.js → WEIGHT_GIRLS.percentile.yearly-1f6cf35f.js} +0 -0
  200. /package/build/{WEIGHT_GIRLS.zscore.monthly-0a6733b3.js → WEIGHT_GIRLS.zscore.monthly-ebf556a7.js} +0 -0
  201. /package/build/{WEIGHT_GIRLS.zscore.weekly-9a2ada4c.js → WEIGHT_GIRLS.zscore.weekly-0eb448da.js} +0 -0
  202. /package/build/{WEIGHT_GIRLS.zscore.yearly-d4e9439b.js → WEIGHT_GIRLS.zscore.yearly-631cad1c.js} +0 -0
  203. /package/build/{cookieHelper-cec619f2.js → cookieHelper-86883198.js} +0 -0
  204. /package/build/{dataTransform-ac1c23f8.js → dataTransform-5ded385e.js} +0 -0
  205. /package/build/esm/{BMI_BOYS.percentile.monthly-c71348b5.js → BMI_BOYS.percentile.monthly-bf350e77.js} +0 -0
  206. /package/build/esm/{BMI_BOYS.percentile.weekly-345ec9f5.js → BMI_BOYS.percentile.weekly-8a3117cc.js} +0 -0
  207. /package/build/esm/{BMI_BOYS.percentile.yearly-598a8ba9.js → BMI_BOYS.percentile.yearly-ff30ca59.js} +0 -0
  208. /package/build/esm/{BMI_BOYS.zscore.monthly-8dbbc142.js → BMI_BOYS.zscore.monthly-fe8cf0c1.js} +0 -0
  209. /package/build/esm/{BMI_BOYS.zscore.weekly-4bc9b153.js → BMI_BOYS.zscore.weekly-af0dea68.js} +0 -0
  210. /package/build/esm/{BMI_BOYS.zscore.yearly-eb0bab99.js → BMI_BOYS.zscore.yearly-ed1d7115.js} +0 -0
  211. /package/build/esm/{BMI_GIRLS.percentile.monthly-34007375.js → BMI_GIRLS.percentile.monthly-b3149756.js} +0 -0
  212. /package/build/esm/{BMI_GIRLS.percentile.weekly-21d83d5f.js → BMI_GIRLS.percentile.weekly-466f8a2c.js} +0 -0
  213. /package/build/esm/{BMI_GIRLS.percentile.yearly-9778ce49.js → BMI_GIRLS.percentile.yearly-ea006a9b.js} +0 -0
  214. /package/build/esm/{BMI_GIRLS.zscore.monthly-76af7330.js → BMI_GIRLS.zscore.monthly-1f3a70ef.js} +0 -0
  215. /package/build/esm/{BMI_GIRLS.zscore.weekly-f4044e61.js → BMI_GIRLS.zscore.weekly-4e0cc157.js} +0 -0
  216. /package/build/esm/{BMI_GIRLS.zscore.yearly-22654a37.js → BMI_GIRLS.zscore.yearly-9e1525e8.js} +0 -0
  217. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-05b78b40.js → HEAD CIRCUM_BOYS.percentile.monthly-90f43f82.js} +0 -0
  218. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-e74d51c1.js → HEAD CIRCUM_BOYS.percentile.weekly-81c0761c.js} +0 -0
  219. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-cc0ef668.js → HEAD CIRCUM_BOYS.percentile.yearly-41a6a4ba.js} +0 -0
  220. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-4e4dac0d.js → HEAD CIRCUM_BOYS.zscore.monthly-847d0106.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8ef05477.js → HEAD CIRCUM_BOYS.zscore.weekly-efbbf4d1.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-2d23fa61.js → HEAD CIRCUM_BOYS.zscore.yearly-74536b5c.js} +0 -0
  223. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-6b46ab94.js → HEAD CIRCUM_GIRLS.percentile.monthly-9e2bca4f.js} +0 -0
  224. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-f170bfa5.js → HEAD CIRCUM_GIRLS.percentile.weekly-9b0523b3.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-402528ad.js → HEAD CIRCUM_GIRLS.percentile.yearly-055d6738.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-91318acc.js → HEAD CIRCUM_GIRLS.zscore.monthly-79fd403f.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-c4073299.js → HEAD CIRCUM_GIRLS.zscore.weekly-115559dc.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-add9ef01.js → HEAD CIRCUM_GIRLS.zscore.yearly-a46da89b.js} +0 -0
  229. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-56d63d74.js → HEIGHT_BOYS.percentile.monthly-a6a9939b.js} +0 -0
  230. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-9e52b917.js → HEIGHT_BOYS.percentile.weekly-aa8ef89e.js} +0 -0
  231. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-fd61eae5.js → HEIGHT_BOYS.percentile.yearly-c052423e.js} +0 -0
  232. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-42eee84a.js → HEIGHT_BOYS.zscore.monthly-f753d6fa.js} +0 -0
  233. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-da006f41.js → HEIGHT_BOYS.zscore.weekly-cacb2d3f.js} +0 -0
  234. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-88c1426b.js → HEIGHT_BOYS.zscore.yearly-4634e334.js} +0 -0
  235. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-1d22cf24.js → HEIGHT_GIRLS.percentile.monthly-02559525.js} +0 -0
  236. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-0dd996a2.js → HEIGHT_GIRLS.percentile.weekly-126deaaf.js} +0 -0
  237. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-122f7956.js → HEIGHT_GIRLS.percentile.yearly-dcf4183d.js} +0 -0
  238. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-b2401c62.js → HEIGHT_GIRLS.zscore.monthly-86a890fd.js} +0 -0
  239. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-a54bb4b3.js → HEIGHT_GIRLS.zscore.weekly-4fbb4e97.js} +0 -0
  240. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-6bf92087.js → HEIGHT_GIRLS.zscore.yearly-fff88192.js} +0 -0
  241. /package/build/esm/{Onboarding-2986e017.js → Onboarding-fc88de1b.js} +0 -0
  242. /package/build/esm/{Visible-03e0a5f5.js → Visible-e7beb801.js} +0 -0
  243. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-f648cbaf.js → WEIGHT_BOYS.percentile.monthly-9a602d76.js} +0 -0
  244. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-6958cd05.js → WEIGHT_BOYS.percentile.weekly-8a49a805.js} +0 -0
  245. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-9a498889.js → WEIGHT_BOYS.percentile.yearly-9fd477e7.js} +0 -0
  246. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-0d16b75e.js → WEIGHT_BOYS.zscore.monthly-4e68dd85.js} +0 -0
  247. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-04e635a5.js → WEIGHT_BOYS.zscore.weekly-2a509898.js} +0 -0
  248. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-d0979ab4.js → WEIGHT_BOYS.zscore.yearly-950a6066.js} +0 -0
  249. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-e7eefea3.js → WEIGHT_GIRLS.percentile.monthly-61d4fbc5.js} +0 -0
  250. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-ecc08448.js → WEIGHT_GIRLS.percentile.weekly-f4279573.js} +0 -0
  251. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-53ddfc5b.js → WEIGHT_GIRLS.percentile.yearly-70d3c381.js} +0 -0
  252. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-4968f278.js → WEIGHT_GIRLS.zscore.monthly-8ab2e19c.js} +0 -0
  253. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-ce47298f.js → WEIGHT_GIRLS.zscore.weekly-535c547d.js} +0 -0
  254. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-f6c697d9.js → WEIGHT_GIRLS.zscore.yearly-47c260da.js} +0 -0
  255. /package/build/esm/{cookieHelper-256c5200.js → cookieHelper-46eaf2a4.js} +0 -0
  256. /package/build/esm/{dataTransform-d4c06bd7.js → dataTransform-62a423c7.js} +0 -0
  257. /package/build/esm/{index-4c493ce3.js → index-830c3f5e.js} +0 -0
  258. /package/build/esm/{index-c8097d4a.js → index-98135e28.js} +0 -0
  259. /package/build/esm/{isProduction-4eba3271.js → isProduction-02eb7c34.js} +0 -0
  260. /package/build/esm/{localizeNumberFormat-95f3ceb8.js → localizeNumberFormat-2da6bea3.js} +0 -0
  261. /package/build/esm/{normalizeLink-669a578e.js → normalizeLink-1f420472.js} +0 -0
  262. /package/build/esm/{theme-1ad57274.js → theme-3ca4e6e8.js} +0 -0
  263. /package/build/esm/{tslib.es6-a88ffe20.js → tslib.es6-55814a4a.js} +0 -0
  264. /package/build/esm/{types-e360be16.js → types-43dd89da.js} +0 -0
  265. /package/build/esm/{useIsInit-1fb30092.js → useIsInit-709dc091.js} +0 -0
  266. /package/build/esm/{useOutsideClick-3b941078.js → useOutsideClick-de412634.js} +0 -0
  267. /package/build/esm/{useScrollbarSize-72c082b1.js → useScrollbarSize-fae95291.js} +0 -0
  268. /package/build/esm/{useUniqueId-463931d8.js → useUniqueId-df421f0f.js} +0 -0
  269. /package/build/esm/{utils-08762083.js → utils-cfd06bb0.js} +0 -0
  270. /package/build/{index-4376c8b8.js → index-c24ab0a8.js} +0 -0
  271. /package/build/{index-6775fbdf.js → index-cbd2b0f6.js} +0 -0
  272. /package/build/{isProduction-0a0274b8.js → isProduction-a1c599d9.js} +0 -0
  273. /package/build/{localizeNumberFormat-ec4f7358.js → localizeNumberFormat-ab5a3fbd.js} +0 -0
  274. /package/build/{normalizeLink-5f3a95e9.js → normalizeLink-5923a458.js} +0 -0
  275. /package/build/{theme-73b60f31.js → theme-49a1455d.js} +0 -0
  276. /package/build/{tslib.es6-fadbfca8.js → tslib.es6-f1344a6f.js} +0 -0
  277. /package/build/{types-b6be9a26.js → types-addc3582.js} +0 -0
  278. /package/build/{useIsInit-e8976250.js → useIsInit-4cf4b7c9.js} +0 -0
  279. /package/build/{useOutsideClick-d09fb4df.js → useOutsideClick-cf75e425.js} +0 -0
  280. /package/build/{useScrollbarSize-0766d6c3.js → useScrollbarSize-40564ae3.js} +0 -0
  281. /package/build/{useUniqueId-b2ee76dc.js → useUniqueId-3c136b22.js} +0 -0
  282. /package/build/{utils-ec5ceab4.js → utils-d49519a5.js} +0 -0
@@ -1,336 +0,0 @@
1
- import{a as e}from"./tslib.es6-a88ffe20.js";import t,{useState as i,useCallback as o,useMemo as a,useEffect as n,useRef as s,useReducer as r}from"react";import{I as c,L as l}from"./constants-ef3a145b.js";import{b as d,d as h}from"./index-8a00add8.js";import{g as u,s as p,d as g}from"./cookieHelper-256c5200.js";import{u as m}from"./useTranslations-fb6bcaab.js";import C from"lodash/debounce";import{I as f}from"./index-a2efd838.js";import y,{createGlobalStyle as b}from"styled-components";import{T as v}from"./index-0c6440ad.js";import{t as w}from"./theme-1ad57274.js";import E from"react-loading-skeleton";import{M as L}from"./utils-08762083.js";import x from"lodash/shuffle";import{a as S}from"./useOutsideClick-3b941078.js";import k from"string-format";const O=y.div``,j=y.div`
2
- --searchbar-z-index: 305;
3
- &[data-is-modal='true'] {
4
- position: fixed;
5
- left: 0;
6
- right: 0;
7
- top: 0;
8
- height: var(--mobile-care-searchbar-height, 100%);
9
- overflow-y: auto;
10
- -webkit-overflow-scrolling: touch;
11
- background-color: white;
12
- z-index: var(--searchbar-z-index);
13
- }
14
- `,M=y.section``,I=y.input`
15
- position: fixed;
16
- left: -100%;
17
- top: -100%;
18
- `,R=y(f)`
19
- #booking-search-bar & {
20
- input {
21
- font-size: 16px;
22
- }
23
- }
24
- `,P=b`
25
- .care-popup-open {
26
- overflow: hidden;
27
- position: fixed;
28
- &::before {
29
- content: '';
30
- inset: 0;
31
- position: absolute;
32
- background-color: white;
33
- min-height: 100vh;
34
- min-width: 100vw;
35
- z-index: 2;
36
- }
37
- }
38
- `,F=({className:e,color:i})=>t.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M18 6L6 18",stroke:i||"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M6 6L18 18",stroke:i||"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),A=({className:e,color:i})=>t.createElement("svg",{width:"14",height:"20",viewBox:"0 0 14 20",className:e},t.createElement("path",{d:"M7 0C3.134 0 0 3.134 0 7C0 10.966 4.404 16.82 6.226 19.071C6.626 19.565 7.374 19.565 7.774 19.071C9.596 16.82 14 10.966 14 7C14 3.134 10.866 0 7 0ZM7 9.5C5.619 9.5 4.5 8.381 4.5 7C4.5 5.619 5.619 4.5 7 4.5C8.381 4.5 9.5 5.619 9.5 7C9.5 8.381 8.381 9.5 7 9.5Z",fill:i||"currentColor"})),T=({className:e,color:i})=>t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:e},t.createElement("path",{d:"M9.99967 6.66658C8.15801 6.66658 6.66634 8.15825 6.66634 9.99992C6.66634 11.8416 8.15801 13.3333 9.99967 13.3333C11.8413 13.3333 13.333 11.8416 13.333 9.99992C13.333 8.15825 11.8413 6.66658 9.99967 6.66658ZM17.4497 9.16658C17.0663 5.69158 14.308 2.93325 10.833 2.54992V1.66659C10.833 1.20825 10.458 0.833252 9.99967 0.833252C9.54134 0.833252 9.16634 1.20825 9.16634 1.66659V2.54992C5.69134 2.93325 2.93301 5.69158 2.54967 9.16658H1.66634C1.20801 9.16658 0.833008 9.54158 0.833008 9.99992C0.833008 10.4583 1.20801 10.8333 1.66634 10.8333H2.54967C2.93301 14.3083 5.69134 17.0666 9.16634 17.4499V18.3333C9.16634 18.7916 9.54134 19.1666 9.99967 19.1666C10.458 19.1666 10.833 18.7916 10.833 18.3333V17.4499C14.308 17.0666 17.0663 14.3083 17.4497 10.8333H18.333C18.7913 10.8333 19.1663 10.4583 19.1663 9.99992C19.1663 9.54158 18.7913 9.16658 18.333 9.16658H17.4497ZM9.99967 15.8333C6.77467 15.8333 4.16634 13.2249 4.16634 9.99992C4.16634 6.77492 6.77467 4.16658 9.99967 4.16658C13.2247 4.16658 15.833 6.77492 15.833 9.99992C15.833 13.2249 13.2247 15.8333 9.99967 15.8333Z",fill:i||"currentColor"})),N=({className:e,color:i})=>t.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18Z",stroke:i||"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M20 20L16 16",stroke:i||"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),B=({width:e,height:i})=>t.createElement("svg",{width:e||30,height:i||30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("circle",{cx:"15",cy:"15",r:"15",fill:"#F7F9FC"})),H=y.li`
39
- display: flex;
40
- align-items: center;
41
- gap: 12px;
42
- padding: 8px 16px;
43
-
44
- > :first-child {
45
- flex: 1;
46
- }
47
-
48
- > :nth-child(2) {
49
- flex: 6;
50
- }
51
-
52
- & + li::before {
53
- content: '';
54
- position: absolute;
55
- left: 18px;
56
- right: 18px;
57
- top: 0;
58
- height: 1px;
59
- background-color: ${w.colors.neutral100};
60
- }
61
- `,V=y.div`
62
- display: flex;
63
- position: absolute;
64
- top: 48px;
65
- min-width: 100%;
66
- box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
67
- 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
68
- 0px 0px 1px rgba(0, 0, 0, 0.04);
69
- border-radius: ${e=>e.theme.borderRadius};
70
- background-color: white;
71
- z-index: 30;
72
-
73
- ${L.mbDown} {
74
- position: relative;
75
- top: 0;
76
- box-shadow: initial;
77
- }
78
- `,$=y.ul`
79
- width: 100%;
80
- max-height: 600px;
81
- overflow-y: auto;
82
- `,z=y(A)`
83
- width: 12px;
84
- height: 18px;
85
- `,D=y.li`
86
- position: relative;
87
- cursor: pointer;
88
- padding: 12px 18px;
89
- display: flex;
90
- align-items: center;
91
- gap: 14px;
92
- overflow: hidden;
93
-
94
- ${({isSelected:e})=>e&&"\n &::after {\n content: url(\"data:image/svg+xml,%3Csvg width='19' height='14' viewBox='0 0 19 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.9803 0.990669C16.7205 0.99841 16.4739 1.10699 16.2928 1.2934L5.99984 11.5864L2.70687 8.2934C2.61473 8.19743 2.50436 8.12081 2.38223 8.06802C2.2601 8.01524 2.12867 7.98735 1.99563 7.986C1.86259 7.98464 1.73061 8.00985 1.60743 8.06014C1.48426 8.11043 1.37235 8.18479 1.27827 8.27887C1.1842 8.37295 1.10983 8.48485 1.05954 8.60803C1.00926 8.73121 0.98405 8.86318 0.985403 8.99622C0.986757 9.12926 1.01464 9.26069 1.06743 9.38282C1.12021 9.50495 1.19684 9.61532 1.29281 9.70747L5.29281 13.7075C5.48035 13.8949 5.73467 14.0002 5.99984 14.0002C6.26501 14.0002 6.51933 13.8949 6.70687 13.7075L17.7069 2.70747C17.8514 2.567 17.9501 2.38616 17.99 2.18864C18.03 1.99112 18.0093 1.78614 17.9308 1.60055C17.8523 1.41497 17.7195 1.25744 17.5499 1.14861C17.3803 1.03978 17.1817 0.984729 16.9803 0.990669Z' fill='%232685F1'/%3E%3C/svg%3E%0A\");\n top: 50%;\n right: 18px;\n position: absolute;\n transform: translateY(-50%);\n }\n "}
95
-
96
- & + li::before {
97
- content: '';
98
- position: absolute;
99
- left: 18px;
100
- right: 18px;
101
- top: 0;
102
- height: 1px;
103
- background-color: ${w.colors.neutral100};
104
- }
105
-
106
- &:not([data-is-denied='true']):hover {
107
- background-color: ${w.colors.neutral50};
108
- }
109
-
110
- &:last-child:hover {
111
- border-bottom-right-radius: 6px;
112
- border-bottom-left-radius: 6px;
113
- }
114
-
115
- &:first-child:hover {
116
- border-top-right-radius: 6px;
117
- border-top-left-radius: 6px;
118
- }
119
-
120
- &[data-is-denied='true'] {
121
- cursor: not-allowed;
122
- }
123
- `,K=y((({count:e,className:i})=>t.createElement(t.Fragment,null,[...Array(e)].map(((e,o)=>t.createElement(H,{className:i,key:o},t.createElement(E,{count:1,height:32}),t.createElement(E,{count:1,height:24})))))))`
124
- &:first-child {
125
- padding-top: 18px;
126
- }
127
- `,Z=({cities:e,isLoading:i,onLocationClick:o,onCurrentLocationClick:a,geoLocationPermission:n="unset",isLocationLoading:s,selectedLocation:r})=>{const{t:c}=m(),l="denied"===n,d=()=>t.createElement(D,{role:"button",tabIndex:0,onClick:e=>{l||(e.nativeEvent.stopImmediatePropagation(),s||a())},"data-is-denied":l},l?t.createElement(v,{color:"var(--gray600)",size:"md"},"x"):s?t.createElement(E,{height:20,width:20}):t.createElement(T,{color:w.colors.primaryBase}),t.createElement("div",null,l?t.createElement(v,{color:"var(--gray600)",size:"sm",style:{lineHeight:1.5}},c("booking.searchBar.grantLocation")):s?t.createElement(E,{height:20,style:{width:"calc(100% - 16px)"}}):t.createElement(v,{size:"md"},c("booking.searchBar.useCurrentLocation"))));return t.createElement(V,{"data-testid":"location-search-results"},t.createElement($,null,i?t.createElement(K,{count:5}):!e||e.length<1?t.createElement(t.Fragment,null,d(),t.createElement(D,{"data-is-denied":"true"},t.createElement(v,{size:"sm",color:"#ccc"},c("booking.searchBar.noResults")))):t.createElement(t.Fragment,null,d(),e.map((e=>t.createElement(D,{key:e.id,onClick:t=>{t.nativeEvent.stopImmediatePropagation(),o&&o(e)},role:"button",tabIndex:0,"aria-label":`Select ${e.name} as location`,isSelected:(null==r?void 0:r.id)===e.id},t.createElement(z,{color:w.colors.neutral400}),t.createElement(v,{size:"md"},e.name)))))))},_="TYPE_CHARACTER",G="REMOVE_CHARACTER",U="REMOVE_ALL",Q="REMOVE_LAST_VISIBLE_NODE",q="PAUSE_FOR",W="CHANGE_DELETE_SPEED",Y="CHANGE_DELAY",J="PASTE_STRING",X=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,ee="TEXT_NODE";class te{constructor(e){this.state={lastFrameTime:null,pauseUntil:null,eventQueue:[],eventLoop:null,eventLoopPaused:!1,reverseCalledEvents:[],calledEvents:[],visibleNodes:[],initialOptions:null},this.options={strings:null,delay:"natural",pauseFor:1500,deleteSpeed:"natural",loop:!1,autoStart:!1,stringSplitter:null,onCreateTextNode:null,onRemoveNode:null},this.start=()=>(this.state.eventLoopPaused=!1,this.runEventLoop(),this),this.pause=()=>(this.state.eventLoopPaused=!0,this),this.stop=()=>(this.state.eventLoop&&(window.cancelAnimationFrame(this.state.eventLoop),this.state.eventLoop=null),this),this.pauseFor=e=>(this.addEventToQueue(q,{ms:e}),this),this.typeOutAllStrings=()=>"string"==typeof this.options.strings?(this.typeString(this.options.strings).pauseFor(this.options.pauseFor),this):(this.options.strings.forEach((e=>{this.typeString(e).pauseFor(this.options.pauseFor).deleteAll(this.options.deleteSpeed)})),this),this.typeString=(e,t=null)=>{if(e){const{stringSplitter:i}=this.options||{},o="function"==typeof i?i(e):e.split("");this.typeCharacters(o,t)}return this},this.pasteString=(e,t=null)=>(e&&this.addEventToQueue(J,{character:e,node:t}),this),this.deleteAll=(e="natural")=>(this.addEventToQueue(U,{speed:e}),this),this.changeDeleteSpeed=e=>{if(!e)throw new Error("Must provide new delete speed");return this.addEventToQueue(W,{speed:e}),this},this.changeDelay=e=>{if(!e)throw new Error("Must provide new delay");return this.addEventToQueue(Y,{delay:e}),this},this.deleteChars=e=>{if(!e)throw new Error("Must provide amount of characters to delete");for(let t=0;t<e;t++)this.addEventToQueue(G);return this},this.typeCharacters=(e,t=null)=>{if(!e||!Array.isArray(e))throw new Error("Characters must be an array");return e.forEach((e=>{this.addEventToQueue(_,{character:e,node:t})})),this},this.removeCharacters=e=>{if(!e||!Array.isArray(e))throw new Error("Characters must be an array");return e.forEach((()=>{this.addEventToQueue(G)})),this},this.addEventToQueue=(e,t,i=!1)=>this.addEventToStateProperty(e,t,i,"eventQueue"),this.addReverseCalledEvent=(e,t,i=!1)=>{const{loop:o}=this.options;return o?this.addEventToStateProperty(e,t,i,"reverseCalledEvents"):this},this.addEventToStateProperty=(e,t,i=!1,o)=>{const a={eventName:e,eventArgs:t||{}};return this.state[o]=i?[a,...this.state[o]]:[...this.state[o],a],this},this.runEventLoop=()=>{this.state.lastFrameTime||(this.state.lastFrameTime=Date.now());const e=Date.now(),t=e-this.state.lastFrameTime;if(!this.state.eventQueue.length){if(!this.options.loop)return;this.state.eventQueue=[...this.state.calledEvents],this.state.calledEvents=[],this.options=Object.assign({},this.state.initialOptions)}if(this.state.eventLoop=window.requestAnimationFrame(this.runEventLoop),this.state.eventLoopPaused)return;if(this.state.pauseUntil){if(e<this.state.pauseUntil)return;this.state.pauseUntil=null}const i=[...this.state.eventQueue],o=i.shift();let a=0;if(a=o.eventName===Q||o.eventName===G?"natural"===this.options.deleteSpeed?X(40,80):this.options.deleteSpeed:"natural"===this.options.delay?X(120,160):this.options.delay,t<=a)return;const{eventName:n,eventArgs:s}=o;switch(n){case J:case _:{const{character:e}=s,t=document.createTextNode(e);let i=t;this.options.onCreateTextNode&&"function"==typeof this.options.onCreateTextNode&&(i=this.options.onCreateTextNode(e,t)),this.state.visibleNodes=[...this.state.visibleNodes,{type:ee,character:e,node:i}];break}case G:i.unshift({eventName:Q,eventArgs:{removingCharacterNode:!0}});break;case q:{const{ms:e}=o.eventArgs;this.state.pauseUntil=Date.now()+parseInt(e);break}case U:{const{visibleNodes:e}=this.state,{speed:t}=s,o=[];t&&o.push({eventName:W,eventArgs:{speed:t,temp:!0}});for(let t=0,i=e.length;t<i;t++)o.push({eventName:Q,eventArgs:{removingCharacterNode:!1}});t&&o.push({eventName:W,eventArgs:{speed:this.options.deleteSpeed,temp:!0}}),i.unshift(...o);break}case Q:if(this.state.visibleNodes.length){const{node:e,character:t}=this.state.visibleNodes.pop();this.options.onRemoveNode&&"function"==typeof this.options.onRemoveNode&&this.options.onRemoveNode({node:e,character:t}),e&&e.parentNode.removeChild(e)}break;case W:this.options.deleteSpeed=o.eventArgs.speed;break;case Y:this.options.delay=o.eventArgs.delay}this.options.loop&&(o.eventName===Q||o.eventArgs&&o.eventArgs.temp||(this.state.calledEvents=[...this.state.calledEvents,o])),this.state.eventQueue=i,this.state.lastFrameTime=e},e&&(this.options=Object.assign(Object.assign({},this.options),e)),this.state.initialOptions=Object.assign({},this.options),this.init()}init(){this.addEventToQueue(U,null,!0),!0===this.options.autoStart&&this.options.strings&&this.typeOutAllStrings().start()}}function ie({inputRef:e,wrapperRef:t,disabled:i}){const{t:o,locale:s}=m(),r=a((()=>{if(i)return[];const e=["booking.searchBar.placeholder.hospital","booking.searchBar.placeholder.doctor"];return"zh-TW"!==s&&e.push("booking.searchBar.placeholder.specialty","booking.searchBar.placeholder.service"),x(e).map((e=>o(e)))}),[o,s]);function c(e){const t=d();return t&&(t.placeholder=t.placeholder+e),null}function l(){const e=d();e&&(e.placeholder=e.placeholder.slice(0,-1))}function d(){return e&&e.current?e.current:t&&t.current&&t.current.querySelector("input")||null}n((()=>{if(i)return;const e=d();e&&(e.placeholder="",new te({strings:r,autoStart:!0,loop:!0,delay:32,deleteSpeed:32,pauseFor:1500,onCreateTextNode:c,onRemoveNode:l}))}),[e,t])}const oe=y.div`
128
- user-select: none;
129
- input {
130
- pointer-events: none;
131
- background-color: white;
132
- }
133
- `;function ae({focused:e,value:i="",onClick:o,trackingAttributes:n,inputSearchPlaceholder:r}){const{t:c}=m(),l=s(null);ie({wrapperRef:l,disabled:!!r});const d=a((()=>n?{"data-event-category":n.dataEventCategory,"data-event-action":n.dataEventAction,"data-event-label":n.dataEventLabel}:{}),[n]);return t.createElement(oe,Object.assign({onClick:()=>o&&o(),ref:l},d),t.createElement(R,{inputClassName:"location"===e?"focused":void 0,name:"booking-search-placeholder",displayIcon:t.createElement(N,{color:w.colors.gray400}),placeholder:c("booking.searchBar.searchInput.placeholder"),value:i,size:"md"}))}const ne=y.header`
134
- display: flex;
135
- height: 64px;
136
- align-items: center;
137
- justify-content: space-between;
138
- margin: 0 auto;
139
- position: sticky;
140
- z-index: 99;
141
- background-color: white;
142
- top: 0;
143
- left: 0;
144
- `,se=y.div`
145
- display: inline-flex;
146
- flex: 1;
147
- justify-content: flex-end;
148
- cursor: pointer;
149
- text-decoration: underline;
150
- `,re=y.div`
151
- display: flex;
152
- align-items: center;
153
- margin-left: 16px;
154
- cursor: pointer;
155
- `,ce=y.div`
156
- width: 100%;
157
- margin-left: 24px;
158
- `,le=y(v)`
159
- color: ${w.colors.secondaryDark};
160
- text-align: start;
161
- `,de=({className:e,onLeftClick:i,headingText:o,onRightClick:a,iconLeft:n,textRight:s})=>t.createElement(ne,{className:e},t.createElement(re,{onClick:i},n||t.createElement(F,{color:w.colors.gray800})),t.createElement(ce,null,t.createElement(le,{size:"md",type:"bold"},o)),t.createElement(se,{onClick:a},s&&t.createElement("p",null,s))),he={"en-PH":3,"tl-PH":2,"id-ID":3,"vi-VN":2,"zh-TW":0},ue={isMobile:!1,isDebug:!1,navigateTo:null,geoLocationPermission:"unset",geoLocationCoordinates:null,focused:"none",searchLocationKeywords:"",searchKeywords:"",selectedLocation:null,defaultCity:null,initialCities:[],cities:[],searchResults:[],initialSearchResults:[],isLoadingCities:!1,isLoadingSearchResults:!1,isMobileModalOpened:!1,initialSelectedCity:null,autoCompleteDisabled:!1,inputSearchPlaceholder:"",locale:"vi-VN"};var pe;function ge(e){const{selectedLocation:t,searchLocationKeywords:i}=e;return t&&i!==t.name?Object.assign(Object.assign({},e),{searchLocationKeywords:t.name}):e}function me(e,t){var i;switch(e.isDebug&&console.log("bookingSearchBar",{action:t,state:e}),t.type){case pe.NavigateTo:return Object.assign(Object.assign({},e),{navigateTo:t.payload,focused:"none",isMobileModalOpened:!1});case pe.ClickOutsideInputLocation:return e.isMobile||"location"!==e.focused?e:ge(Object.assign(Object.assign({},e),{focused:"none"}));case pe.ClickOutsideInputSearch:return e.isMobile||"search"!==e.focused?e:Object.assign(Object.assign({},e),{focused:"none"});case pe.FocusInputLocation:{const t=Object.assign(Object.assign({},e),{focused:"location"});return(null===(i=e.selectedLocation)||void 0===i?void 0:i.id)===c&&(t.searchLocationKeywords=""),t}case pe.FocusInputSearch:const o=Object.assign(Object.assign({},e),{focused:"search"});return e.isMobile?ge(o):o;case pe.ChangeInputLocation:return Object.assign(Object.assign({},e),{searchLocationKeywords:t.payload});case pe.ChangeInputSearch:{const i=t.payload;return Object.assign(Object.assign({},e),{searchKeywords:i,isLoadingSearchResults:i.trim().length>he[e.locale]})}case pe.SelectCurrentLocation:return Object.assign(Object.assign({},e),{focused:"none",selectedLocation:t.payload,searchLocationKeywords:t.payload.name});case pe.ClearInputLocation:return Object.assign(Object.assign({},e),{focused:"location",cities:e.initialCities,searchLocationKeywords:""});case pe.ClearInputSearch:return Object.assign(Object.assign({},e),{focused:"search",searchKeywords:""});case pe.SelectLocation:return Object.assign(Object.assign({},e),{focused:"none",selectedLocation:t.payload,searchLocationKeywords:t.payload.name});case pe.SelectSearchResult:return Object.assign(Object.assign({},e),{searchKeywords:t.payload.name,isMobileModalOpened:!1,focused:"none",navigateTo:t.payload.url});case pe.FetchCitiesStart:return Object.assign(Object.assign({},e),{isLoadingCities:!0});case pe.FetchCitiesFinish:return Object.assign(Object.assign({},e),{isLoadingCities:!1});case pe.FetchSearchResultsStart:return Object.assign(Object.assign({},e),{isLoadingSearchResults:!0});case pe.FetchSearchResultsFinish:return Object.assign(Object.assign({},e),{isLoadingSearchResults:!1});case pe.FetchSearchResultsComplete:{const i=Object.assign(Object.assign({},e),{searchResults:t.payload});return 0===e.initialSearchResults.length&&(i.initialSearchResults=t.payload),i}case pe.FetchCitiesByGeoIpComplete:{let{cities:i}=t.payload;const{default:o}=t.payload;i=i.filter((e=>e.id!==o.id)),i.unshift(o),e.initialSelectedCity&&!i.find((t=>t.id===e.initialSelectedCity.id))&&i.unshift(e.initialSelectedCity);const a=Object.assign(Object.assign({},e),{defaultCity:o,initialCities:i,cities:i});return"denied"!==e.geoLocationPermission||e.initialSelectedCity||(a.selectedLocation=o,a.searchLocationKeywords=o.name),a}case pe.FetchCitiesByKeywordComplete:return Object.assign(Object.assign({},e),{cities:t.payload});case pe.DisplayInitialCities:return Object.assign(Object.assign({},e),{cities:e.initialCities});case pe.DisplayInitialSearchResults:return Object.assign(Object.assign({},e),{searchResults:e.initialSearchResults,isLoadingSearchResults:!1});case pe.GrantGeoLocationPermission:return Object.assign(Object.assign({},e),{geoLocationPermission:"granted",geoLocationCoordinates:t.payload});case pe.DenyGeoLocationPermission:return Object.assign(Object.assign({},e),{geoLocationPermission:"denied",geoLocationCoordinates:null});case pe.OpenMobileModal:return Object.assign(Object.assign({},e),{isMobileModalOpened:!0});case pe.CloseMobileModal:return Object.assign(Object.assign({},e),{isMobileModalOpened:!1});case pe.UpdateInitialSearchValue:return Object.assign(Object.assign({},e),{searchKeywords:t.payload});case pe.SetInputSearchPlaceholder:return Object.assign(Object.assign({},e),{inputSearchPlaceholder:t.payload});default:return e}}!function(e){e.NavigateTo="navigate to url",e.ClickOutsideInputLocation="click outside input location",e.ClickOutsideInputSearch="click outside input search",e.SelectCurrentLocation="select current location",e.FocusInputLocation="focus input location",e.FocusInputSearch="focus input search",e.ChangeInputLocation="change input location",e.ChangeInputSearch="change input search",e.ClearInputLocation="clear input location",e.ClearInputSearch="clear input search",e.SelectLocation="select location",e.FetchCitiesStart="fetch cities start",e.FetchCitiesFinish="fetch cities finish",e.FetchSearchResultsStart="fetch search results start",e.FetchSearchResultsComplete="fetch search results complete",e.FetchSearchResultsFinish="fetch search results finish",e.FetchCitiesByGeoIpComplete="fetch cities by geo IP finish",e.FetchCitiesByKeywordComplete="fetch cities by keyword finish",e.DisplayInitialCities="display initial cities",e.DisplayInitialSearchResults="display initial search results",e.GrantGeoLocationPermission="grant geolocation permission",e.DenyGeoLocationPermission="deny geolocation permission",e.OpenMobileModal="open mobile modal",e.CloseMobileModal="close mobile modal",e.UpdateInitialSearchValue="update initial search value",e.SelectSearchResult="select search result",e.SetInputSearchPlaceholder="set input search placeholder"}(pe||(pe={}));const Ce=y.div`
162
- display: flex;
163
- gap: 16px;
164
- ${L.mbDown} {
165
- flex-direction: column;
166
- padding: 14px;
167
- background-color: ${w.colors.primary50};
168
-
169
- input {
170
- filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04))
171
- drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.06))
172
- drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));
173
- }
174
- }
175
-
176
- input {
177
- background-color: white;
178
- }
179
- `,fe=y.div`
180
- position: relative;
181
- `,ye=y(fe)`
182
- flex: 1;
183
- `,be=y(fe)`
184
- flex: 2;
185
- `,ve=y((({className:e,color:i})=>t.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("rect",{x:"4",y:"4",width:"16",height:"16",rx:"8",fill:"white"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM8.29289 8.29289C8.68342 7.90237 9.31658 7.90237 9.70711 8.29289L12 10.5858L14.2929 8.29289C14.6834 7.90237 15.3166 7.90237 15.7071 8.29289C16.0976 8.68342 16.0976 9.31658 15.7071 9.70711L13.4142 12L15.7071 14.2929C16.0976 14.6834 16.0976 15.3166 15.7071 15.7071C15.3166 16.0976 14.6834 16.0976 14.2929 15.7071L12 13.4142L9.70711 15.7071C9.31658 16.0976 8.68342 16.0976 8.29289 15.7071C7.90237 15.3166 7.90237 14.6834 8.29289 14.2929L10.5858 12L8.29289 9.70711C7.90237 9.31658 7.90237 8.68342 8.29289 8.29289Z",fill:i||"currentColor"}))))`
186
- display: none;
187
- &.shown {
188
- display: block;
189
- }
190
- `,we=()=>t.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72624 14.8099 11.1704 14.2653 12.3089 13.3546L15.2377 16.2834C15.5265 16.5722 15.9947 16.5722 16.2834 16.2834C16.5722 15.9947 16.5722 15.5265 16.2834 15.2377L13.3546 12.3089C14.2653 11.1704 14.8099 9.72624 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"white"})),Ee=y.button`
191
- min-height: 100%;
192
- border-radius: 6px;
193
- background-color: ${({theme:e})=>e.colors.primaryBase};
194
- display: flex;
195
- justify-content: center;
196
- align-items: center;
197
- gap: 11px;
198
- cursor: pointer;
199
- flex: 0.3;
200
-
201
- ${L.mbDown} {
202
- --margin: 16px;
203
- min-height: 44px;
204
- margin: var(--margin);
205
- width: calc(100% - var(--margin) * 2);
206
- position: absolute;
207
- bottom: 0;
208
- }
209
-
210
- &:hover {
211
- background-color: ${({theme:e})=>e.colors.primaryHover};
212
- }
213
-
214
- &:active {
215
- background-color: ${({theme:e})=>e.colors.primaryActive};
216
- }
217
-
218
- &:focus-visible {
219
- outline: 1px solid black;
220
- }
221
- `,Le=y(v)`
222
- font-weight: ${({theme:e})=>e.sizes.fwSemiBold};
223
- `,xe=({onClick:e})=>{const{t:i}=m(),o=i("booking.searchBar.searchButton");return t.createElement(Ee,{onClick:e,title:o},t.createElement(we,null),t.createElement(Le,{size:"s3",color:"white"},o))};function Se({isMobile:e,state:i,dispatch:n,debouncedFetchCitiesByKeyword:r,debouncedFetchSearchResults:l,focusLocationInput:d,focusSearchInput:h,renderLocationResults:u,renderSearchResults:p,locationTrackingAttributes:g,trackingAttributes:C,onSearch:f,initalSearchValue:y}){const b=s(null),v=s(null),{focused:E,searchLocationKeywords:L,geoLocationPermission:x,selectedLocation:k,searchKeywords:O,inputSearchPlaceholder:j}=i,{t:M}=m();ie({wrapperRef:v,disabled:!!j}),S(b,(()=>{n({type:pe.ClickOutsideInputLocation})})),S(v,(()=>{n({type:pe.ClickOutsideInputSearch})}));const I=a((()=>"granted"===x&&(null==k?void 0:k.id)===c?w.colors.primaryBase:w.colors.gray400),[x,k]),P=o((function(e){n({type:pe.ChangeInputSearch,payload:e}),"function"!=typeof f&&(e.trim().length>he[i.locale]||y?l(e.trim(),i):(l.cancel(),n({type:pe.DisplayInitialSearchResults})))}),[n,i]),F=o((function(e){n({type:pe.ChangeInputLocation,payload:e}),e.trim().length>he[i.locale]?r(e.trim()):(r.cancel(),n({type:pe.DisplayInitialCities}))}),[r,n]);return t.createElement(Ce,null,t.createElement(ye,{ref:b},t.createElement(R,{inputClassName:"location"===E?"focused":void 0,placeholder:M("booking.searchBar.locationPlaceholder"),autoComplete:"off",name:"search-location",displayIcon:t.createElement(A,{className:"location-pin-icon",color:I}),actionIcon:t.createElement(ve,{color:w.colors.gray300,className:""!==L?"shown":""}),onActionClick:function(){n({type:pe.ClearInputLocation}),r.cancel(),d()},value:L,onChange:F,onFocus:()=>n({type:pe.FocusInputLocation}),size:"md",trackingAttributes:g}),!e&&u()),t.createElement(be,{ref:v},t.createElement(R,{placeholder:j||M("booking.searchBar.searchInput.placeholder"),autoComplete:"off",name:"search-results",actionIcon:t.createElement(ve,{color:w.colors.gray300,className:""!==O?"shown":""}),onActionClick:function(){n({type:pe.ClearInputSearch}),l.cancel(),l("",i),h()},value:O,onChange:P,onFocus:()=>n({type:pe.FocusInputSearch}),inputClassName:"search"===E?"focused":void 0,size:"md",trackingAttributes:C,onKeyPress:e=>{i.autoCompleteDisabled&&"Enter"===e.key&&f&&f({cityId:i.selectedLocation.id,keyword:O})},enterKeyHint:i.autoCompleteDisabled?"search":void 0}),!e&&p()),i.autoCompleteDisabled&&!i.isMobile&&t.createElement(xe,{onClick:()=>{f({cityId:i.selectedLocation.id,keyword:O})}}))}const ke=()=>t.createElement("svg",{width:"14",height:"18",viewBox:"0 0 14 18"},t.createElement("path",{d:"M7.00004 0.666992C5.29757 0.666992 3.64067 0.813476 2.52087 1.03158C1.73311 1.18457 1.16671 1.86816 1.16671 2.6722V4.83366C1.16671 5.29264 1.54106 5.66699 2.00004 5.66699H12C12.459 5.66699 12.8334 5.29264 12.8334 4.83366V2.69824C12.8334 1.89421 12.267 1.21061 11.4792 1.05762C10.3562 0.839518 8.69275 0.666992 7.00004 0.666992ZM6.16671 1.50033H7.83337V2.33366H8.66671V4.00033H7.83337V4.83366H6.16671V4.00033H5.33337V2.33366H6.16671V1.50033ZM1.42712 6.50033C1.3197 6.89421 1.24158 7.32389 1.19275 7.77637C1.14718 8.18001 1.05603 9.25423 1.06254 9.36491C0.603556 9.72624 0.333374 10.2861 0.333374 10.9014C0.333374 11.8356 0.977906 12.6364 1.84379 12.8285C2.74548 15.0192 4.55212 17.3337 7.00004 17.3337C9.44796 17.3337 11.2546 14.9964 12.1563 12.8024C13.0222 12.6136 13.6667 11.8356 13.6667 10.9014C13.6667 10.2861 13.3965 9.72624 12.9375 9.36491C12.9441 9.25423 12.8562 8.16048 12.8073 7.75033C12.7552 7.30436 12.6804 6.89095 12.573 6.50033H5.35942C6.52804 8.20606 9.27543 7.18717 11.0365 7.62012C11.5736 8.79199 11.1667 10.4326 11.1667 10.4326L11.8177 10.641C11.9121 10.6702 12 10.7549 12 10.9014C12 11.0576 11.8861 11.1943 11.6875 11.1878L11.0105 11.0837L10.7761 11.7347C9.96554 14.0492 8.4128 15.667 7.00004 15.667C5.58728 15.667 4.03455 14.0492 3.224 11.7347L2.96358 11.0837L2.26046 11.1878C2.11723 11.1878 2.00004 11.0576 2.00004 10.9014C2.00004 10.7549 2.08793 10.6702 2.18233 10.641L2.83337 10.4326C2.73246 10.5531 2.4102 8.7041 2.83337 8.03678C3.59184 7.5127 4.2266 7.87728 5.12504 6.50033H1.42712ZM5.17712 9.05241C4.57166 9.05241 4.08337 9.55371 4.08337 10.1722C4.08337 10.7907 4.57166 11.292 5.17712 11.292C5.78259 11.292 6.27087 10.7907 6.27087 10.1722C6.27087 9.55371 5.78259 9.05241 5.17712 9.05241ZM8.82296 9.05241C8.21749 9.05241 7.72921 9.55371 7.72921 10.1722C7.72921 10.7907 8.21749 11.292 8.82296 11.292C9.42843 11.292 9.91671 10.7907 9.91671 10.1722C9.91671 9.55371 9.42843 9.05241 8.82296 9.05241Z",fill:"#9AA2AC"})),Oe=()=>t.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18"},t.createElement("path",{d:"M8.99996 0.666992C6.27535 0.666992 3.85348 1.97884 2.33329 4.00033H4.59892C5.80009 2.94564 7.36259 2.33366 8.99996 2.33366C10.6373 2.33366 12.1998 2.94564 13.401 4.00033H15.6666C14.1464 1.97884 11.7246 0.666992 8.99996 0.666992ZM1.78642 4.83366C1.07678 7.04069 0.666626 9.59928 0.666626 12.3337C0.666626 14.085 0.826131 15.7679 1.13538 17.3337H16.8645C17.1738 15.7679 17.3333 14.085 17.3333 12.3337C17.3333 9.59928 16.9231 7.04069 16.2135 4.83366H1.78642ZM8.99996 7.33366C11.3014 7.33366 13.1666 9.19889 13.1666 11.5003C13.1666 13.8018 11.3014 15.667 8.99996 15.667C6.69853 15.667 4.83329 13.8018 4.83329 11.5003C4.83329 9.19889 6.69853 7.33366 8.99996 7.33366ZM8.16663 9.00033V10.667H6.49996V12.3337H8.16663V14.0003H9.83329V12.3337H11.5V10.667H9.83329V9.00033H8.16663Z",fill:"#9AA2AC"})),je=()=>t.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17"},t.createElement("path",{d:"M8 0.666992L0.5 5.63533V14.8337C0.5 15.7545 1.24583 16.5003 2.16667 16.5003H13.8333C14.7542 16.5003 15.5 15.7545 15.5 14.8337V5.63533L8 0.666992ZM11.3333 10.667H8.83333V13.167H7.16667V10.667H4.66667V9.00033H7.16667V6.50033H8.83333V9.00033H11.3333V10.667Z",fill:"#9AA2AC"})),Me=()=>t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16"},t.createElement("path",{d:"M3.83333 0.5C2.94928 0.5 2.10143 0.851189 1.47631 1.47631C0.851189 2.10143 0.5 2.94928 0.5 3.83333C0.5 4.71739 0.851189 5.56523 1.47631 6.19036C2.10143 6.81548 2.94928 7.16667 3.83333 7.16667C4.71739 7.16667 5.56523 6.81548 6.19036 6.19036C6.81548 5.56523 7.16667 4.71739 7.16667 3.83333C7.16667 2.94928 6.81548 2.10143 6.19036 1.47631C5.56523 0.851189 4.71739 0.5 3.83333 0.5V0.5ZM10.5 0.5C9.57917 0.5 8.83333 1.24583 8.83333 2.16667V5.5C8.83333 6.42083 9.57917 7.16667 10.5 7.16667H13.8333C14.7542 7.16667 15.5 6.42083 15.5 5.5V2.16667C15.5 1.24583 14.7542 0.5 13.8333 0.5H10.5ZM3.83333 8.83333C2.94928 8.83333 2.10143 9.18452 1.47631 9.80964C0.851189 10.4348 0.5 11.2826 0.5 12.1667C0.5 13.0507 0.851189 13.8986 1.47631 14.5237C2.10143 15.1488 2.94928 15.5 3.83333 15.5C4.71739 15.5 5.56523 15.1488 6.19036 14.5237C6.81548 13.8986 7.16667 13.0507 7.16667 12.1667C7.16667 11.2826 6.81548 10.4348 6.19036 9.80964C5.56523 9.18452 4.71739 8.83333 3.83333 8.83333V8.83333ZM12.1667 8.83333C11.2826 8.83333 10.4348 9.18452 9.80964 9.80964C9.18452 10.4348 8.83333 11.2826 8.83333 12.1667C8.83333 13.0507 9.18452 13.8986 9.80964 14.5237C10.4348 15.1488 11.2826 15.5 12.1667 15.5C13.0507 15.5 13.8986 15.1488 14.5237 14.5237C15.1488 13.8986 15.5 13.0507 15.5 12.1667C15.5 11.2826 15.1488 10.4348 14.5237 9.80964C13.8986 9.18452 13.0507 8.83333 12.1667 8.83333V8.83333Z",fill:"#9AA2AC"})),Ie=y.header`
224
- display: flex;
225
- justify-content: space-between;
226
- padding: 12px 24px;
227
- background-color: ${w.colors.neutral50};
228
- box-shadow: inset 0px 1px 0px #e4e8ec;
229
- `,Re=y.div`
230
- display: grid;
231
- flex: 2;
232
- align-items: center;
233
- gap: 16px;
234
- grid-template-columns: 16px 1fr;
235
- `,Pe=y.p`
236
- color: ${w.colors.neutral800};
237
- font-size: 14px;
238
- font-weight: ${w.sizes.fwSemiBold};
239
- letter-spacing: -0.2px;
240
- line-height: 22px;
241
- `,Fe=y.button`
242
- flex: 1;
243
- cursor: pointer;
244
- text-align: end;
245
- `,Ae=y.section`
246
- padding: 12px 16px;
247
- --rowGap: 16px;
248
- --graphicSize: 32px;
249
-
250
- ${L.tdUp} {
251
- --rowGap: 8px;
252
- }
253
- `,Te=y.ul`
254
- --gap: 16px;
255
- ${L.tdUp} {
256
- --gap: 8px;
257
- }
258
-
259
- display: grid;
260
- overflow: hidden;
261
- gap: var(--gap);
262
- transition: max-height 0.8s ease-out;
263
-
264
- ${({isMore:e})=>e&&"\n height: auto;\n max-height: 0;\n margin-top: var(--gap);\n "}
265
-
266
- ${({isShown:e})=>e&&"\n max-height: 600px;\n "}
267
-
268
- @media (prefers-reduced-motion) {
269
- transition: none;
270
- }
271
-
272
- ${L.tdUp} {
273
- grid-template-columns: 1fr 1fr;
274
- } ;
275
- `,Ne=y(v)`
276
- margin-top: 12px;
277
- margin-bottom: 8px;
278
- cursor: pointer;
279
- text-align: start;
280
- text-transform: capitalize;
281
- `,Be=y.li`
282
- display: flex;
283
- align-items: center;
284
- gap: var(--rowGap);
285
- cursor: pointer;
286
- `,He=y.div`
287
- --wrapper-size: var(--graphicSize);
288
- border-radius: calc(var(--wrapper-size) / 2);
289
- background-color: var(--neutral50);
290
- width: var(--wrapper-size);
291
- height: var(--wrapper-size);
292
- aspect-ratio: 1/1;
293
- overflow: hidden;
294
-
295
- ${({type:e})=>e&&"doctors"===e&&"\n border-radius: calc(var(--graphicSize) / 2);\n "}
296
-
297
- img {
298
- width: var(--graphicSize);
299
- height: var(--graphicSize);
300
- ${({type:e})=>e&&"doctors"===e?"\n\n object-fit: cover; \n ":"\n object-fit: contain;\n "}
301
- }
302
-
303
- &:focus-visible {
304
- outline: 1px solid ${w.colors.gray600};
305
- }
306
- `,Ve=y(v)`
307
- line-height: 22px;
308
- letter-spacing: -0.2px;
309
-
310
- ${L.tdUp} {
311
- &[data-size='p3'] {
312
- font-size: 14px;
313
- }
314
- }
315
- `,$e=y.figure`
316
- max-width: var(--graphicSize);
317
- min-width: var(--graphicSize);
318
- `,ze=y.svg`
319
- margin: 0 auto;
320
- display: block;
321
- `,De=y.div`
322
- display: grid;
323
- place-items: center;
324
- `,Ke={doctors:({width:e,height:i})=>t.createElement("svg",{width:e||32,height:i||32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("g",{clipPath:"url(#clip0_14712_400114)"},t.createElement("rect",{width:"32",height:"32",rx:"16",fill:"#E4E8EC"}),t.createElement("path",{d:"M22.065 9.58305C22.1108 9.80952 22.1431 10.0396 22.1614 10.2722C22.3769 13.0522 22.5858 16.1276 22.5727 17.618C22.5306 20.5688 19.708 21.1325 19.4564 21.1769L19.4495 21.5357L19.5228 23.9014C20.8688 23.9341 22.203 24.1759 23.4772 24.6196C24.5264 24.9739 25.4827 25.5591 26.2757 26.332C27.0688 27.105 27.6783 28.0461 28.0594 29.0858L31.9886 39.2068C31.91 39.3048 30.6939 39.6356 29.4888 39.944C30.1695 42.3315 30.4582 44.8142 30.3432 47.2953C30.2991 48.2666 30.1816 49.264 29.7245 50.1211C29.4508 50.6342 29.0319 51.0912 28.5296 51.3753C28.5099 51.4347 28.4864 51.4928 28.4593 51.5495C28.4293 51.6146 28.3908 51.6756 28.3448 51.7307C28.3293 51.7772 28.3232 51.8406 28.3162 51.9135C28.3004 52.0779 28.2799 52.2909 28.1362 52.4685C28.001 52.6373 27.8519 52.7945 27.6905 52.9386C27.6905 52.9386 27.092 52.9667 26.4133 52.9845L26.458 58.4088H5.7492L6.30965 52.9523L5.66093 53.1637C5.07664 53.3528 4.45628 53.4028 3.84925 53.3099C3.24222 53.2169 2.66526 52.9835 2.1643 52.6283C1.61489 52.2388 1.17445 51.715 0.884966 51.1068C0.595484 50.4987 0.46662 49.8266 0.510669 49.1545L0.644528 47.1369L1.41503 38.3366L1.81323 38.4135L-0.914307 37.8437L-0.402886 36.5663C-0.407359 36.5645 -0.411803 36.5627 -0.416214 36.5608C-0.410804 36.56 -0.40538 36.5594 -0.399946 36.5589L2.05995 30.4146C3.00034 28.0825 4.7421 26.1624 6.97187 24.9999C8.56171 24.176 10.3028 23.6861 12.0882 23.5597L11.788 16.5865C11.1882 16.6507 10.0095 16.5266 9.96087 14.954C9.91229 13.3824 11.0457 13.3171 11.6507 13.3961L11.6445 13.2523C11.5785 12.8433 11.5088 12.439 11.4577 12.2132C11.3782 11.8628 11.2611 11.4953 11.1419 11.1207C10.8794 10.2967 10.6061 9.43855 10.697 8.65293C10.697 8.65293 10.6909 8.00438 11.4565 7.24044C11.3707 6.86644 11.3686 6.47786 11.4507 6.10258C11.5366 5.70965 11.7125 5.34199 11.9645 5.02848C12.2165 4.71497 12.5377 4.46414 12.9029 4.29569C13.2682 4.12725 13.6675 4.04577 14.0696 4.05766C14.2277 4.06393 14.3849 4.08493 14.5418 4.10589C14.7932 4.13945 15.0439 4.17294 15.2971 4.14581C15.7708 4.09409 16.177 3.83884 16.5862 3.58167C16.8357 3.42492 17.0863 3.26745 17.354 3.15494C17.9119 2.93744 18.5266 2.91281 19.1002 3.08497C19.6738 3.25713 20.1733 3.61619 20.5192 4.105C20.5943 4.21716 20.6621 4.33678 20.7298 4.45631C20.9035 4.76299 21.077 5.06915 21.373 5.24769C21.5927 5.38236 21.8482 5.42658 22.1057 5.47114C22.2633 5.49842 22.4216 5.52582 22.5728 5.57417C23.0267 5.71015 23.3999 6.0411 23.6319 6.45436C23.6327 6.40753 23.6317 6.36062 23.629 6.31374C23.6502 6.3657 23.6623 6.42092 23.6649 6.47698C23.6661 6.49165 23.667 6.50632 23.6677 6.521C23.8246 6.82609 23.9058 7.17114 23.8885 7.51347C23.8544 7.93447 23.7053 8.33801 23.4574 8.68001C23.2096 9.02201 22.8725 9.28933 22.483 9.45278C22.3469 9.50712 22.2071 9.55061 22.065 9.58305Z",fill:"white"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_14712_400114"},t.createElement("rect",{width:"32",height:"32",rx:"16",fill:"white"})))),services:({width:e,height:i})=>t.createElement("svg",{width:e||30,height:i||30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("circle",{cx:"15",cy:"15",r:"15",fill:"#F7F9FC"}),t.createElement("path",{d:"M14.9998 6.66663C12.2752 6.66663 9.85335 7.97848 8.33317 9.99996H10.5988C11.8 8.94527 13.3625 8.33329 14.9998 8.33329C16.6372 8.33329 18.1997 8.94527 19.4009 9.99996H21.6665C20.1463 7.97848 17.7244 6.66663 14.9998 6.66663ZM7.7863 10.8333C7.07666 13.0403 6.6665 15.5989 6.6665 18.3333C6.6665 20.0846 6.82601 21.7675 7.13525 23.3333H22.8644C23.1737 21.7675 23.3332 20.0846 23.3332 18.3333C23.3332 15.5989 22.923 13.0403 22.2134 10.8333H7.7863ZM14.9998 13.3333C17.3013 13.3333 19.1665 15.1985 19.1665 17.5C19.1665 19.8014 17.3013 21.6666 14.9998 21.6666C12.6984 21.6666 10.8332 19.8014 10.8332 17.5C10.8332 15.1985 12.6984 13.3333 14.9998 13.3333ZM14.1665 15V16.6666H12.4998V18.3333H14.1665V20H15.8332V18.3333H17.4998V16.6666H15.8332V15H14.1665Z",fill:"#BFC5CC"}))},Ze=({type:e,item:i,imageUrl:o,onClickItem:n})=>{const s=a((()=>{const i=Ke[e]||B;return t.createElement(i,{width:32,height:"services"===e?32:24})}),[e]);return t.createElement(Be,{onClick:()=>n&&n(i),onKeyDown:e=>{"Enter"!==e.key&&"Space"!==e.key||n&&n(i)},tabIndex:0,role:"button"},t.createElement($e,null,"hospitals"===e?t.createElement(ze,{width:"12",height:"16",viewBox:"0 0 12 16"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.75 5.94873C0.75 3.04623 3.0975 0.69873 6 0.69873C8.9025 0.69873 11.25 3.04623 11.25 5.94873C11.25 9.07623 7.935 13.3887 6.5775 15.0312C6.2775 15.3912 5.73 15.3912 5.43 15.0312C4.065 13.3887 0.75 9.07623 0.75 5.94873ZM4.125 5.94873C4.125 6.98373 4.965 7.82373 6 7.82373C7.035 7.82373 7.875 6.98373 7.875 5.94873C7.875 4.91373 7.035 4.07373 6 4.07373C4.965 4.07373 4.125 4.91373 4.125 5.94873Z",fill:"#9AA2AC"})):t.createElement(He,{type:e},o?t.createElement("img",{src:o,width:32,height:"services"===e?32:24}):s)),t.createElement(Ve,{color:w.colors.gray800,size:"p3"},i.name))},_e=({type:e,data:o,state:n,dispatch:s,itemsToShow:r,itemsToShowDesktop:c,isMobile:d,isLoading:h,keyword:u})=>{const[p,g]=i(!1),{t:C,locale:f}=m(),{selectedLocation:y,searchKeywords:b}=n,L=a((()=>l[f]),[f]),x=a((()=>({doctors:{name:C("booking.searchPopup.doctors"),icon:t.createElement(ke,null),slug:L.DOCTOR},services:{name:C("booking.searchPopup.services"),icon:t.createElement(Oe,null),slug:L.SERVICE},hospitals:{name:C("booking.searchPopup.hospitals"),icon:t.createElement(je,null),slug:L.HOSPITAL},specialties:{name:C("booking.searchPopup.specialties"),icon:t.createElement(Me,null),slug:L.SPECIALTIES}})),[e,L]),S=a((()=>x[e].slug),[x]),k=d?r:c;function O(t){let i="";switch(e){case"specialties":i=`/${y.slug}/${x.doctors.slug}/${t.slug}`;break;case"services":i=`/${y.slug}/${S}/${t.slug}`;break;case"doctors":case"hospitals":i=`/${S}/${t.slug}-${t.id}`}i&&s({type:pe.SelectSearchResult,payload:{name:t.name,url:i}})}function j(i){return t.createElement(Ze,{key:i.id,item:i,type:e,imageUrl:i.logo||i.avatar||i.thumbnail,onClickItem:O})}return t.createElement("section",null,t.createElement(Ie,null,t.createElement(Re,null,x[e].icon,t.createElement(Pe,null,x[e].name)),u.trim().length<=he[f]&&t.createElement(Fe,{onClick:function(){let t="";switch(e){case"specialties":t=`/${S}`;break;case"services":case"doctors":case"hospitals":t=`/${y.slug}/${S}`}t&&s({type:pe.NavigateTo,payload:t})}},t.createElement(v,{size:"p3",color:w.colors.primaryBase},C("booking.searchPopup.seeAll")))),(h||o&&o.length>0)&&t.createElement(Ae,null,t.createElement(Te,null,h&&Array(2).fill(void 0).map(((i,o)=>t.createElement(Be,{key:e+"loading"+o},t.createElement($e,null,t.createElement(De,null,t.createElement(E,{height:14,width:"hospitals"===e?12:32,style:{maxWidth:"var(--graphicSize)",minHeight:"var(--graphicSize)"}}))),t.createElement(E,{width:120,height:24})))),!h&&o&&o.length>0&&o.slice(0,k).map(j)),t.createElement(Te,{isShown:p,isMore:!0},o.slice(k,-1).map(j)),"specialties"===e&&k<o.length&&!h&&t.createElement("button",{onClick:()=>g(!p)},t.createElement(Ne,{size:"p3",color:w.colors.primaryBase},C(p?"booking.searchPopup.seeLessSpecialties":"booking.searchPopup.seeMoreSpecialties"))),"specialties"!==e&&k<o.length&&!h&&u.trim().length>he[f]&&t.createElement("button",{onClick:function(){const{slug:t}=x[e],i=`/${y.slug}/${t}?q=${b}`;s({type:pe.NavigateTo,payload:i})}},t.createElement(Ne,{size:"p3",color:w.colors.primaryBase},C(`booking.searchPopup.searchIn.${e}`,{name:u})))),!h&&0===(null==o?void 0:o.length)&&t.createElement(Ae,null,t.createElement(v,{size:"sm",color:w.colors.gray400},C("booking.searchBar.noResults"))))},Ge=y.section`
325
- background-color: white;
326
- border-radius: 4px;
327
- position: absolute;
328
- width: 100%;
329
- z-index: 30;
330
-
331
- ${L.tdUp} {
332
- box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
333
- 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
334
- 0px 0px 1px rgba(0, 0, 0, 0.04);
335
- }
336
- `,Ue=({data:e,state:i,dispatch:o,isMobile:a,isLoading:n,keyword:s})=>t.createElement(Ge,null,e&&e.map((e=>t.createElement(_e,{type:e.type,state:i,dispatch:o,itemsToShow:2,itemsToShowDesktop:4,key:e.type,data:e.results,isMobile:a,isLoading:n,keyword:s})))),Qe="api/lists/cities?keyword={keyword}&country_id={countryId}&site={domain}&_nopaging={noPaging}",qe="api/v2/search/?site={domain}&type={searchType}&keyword={keyword}&city_id={city}&latitude={lat}&longitude={lng}",We="api/geobyip?site={domain}&latitude={lat}&longitude={lng}",Ye=(e,t,i)=>k(e,Object.assign(Object.assign({},t),{domain:h[i||"en-PH"]}));const Je=({isMobile:h,careApiDomain:f,geoLocationPermission:y,geoLocationCoordinates:b,initialSelectedCity:v,initialSearchValue:w="",careFrontDomain:E="/care",isDebug:L=!1,askForGeolocationPermission:x=!1,gaTrackingSearchBar:S,gaTrackingLocationSearch:k,autoCompleteDisabled:R=!1,inputSearchPlaceholder:F="",routerPush:A,onGeoLocationPermissionChange:T,onSearch:N,onChangeLocation:B})=>{const{t:H,locale:V}=m(),$=s(null),z=s(null),[D,K]=i(void 0),{geoLocationPermission:_,geoLocationCoordinates:G,requestGeoLocation:U}=function(){const[e,t]=i((()=>{if("undefined"==typeof window)return"unset";if(u(d))return"granted";const e=!location.protocol.includes("https")&&"localhost"!==location.hostname;return!navigator.geolocation||e?"denied":"unset"})),[n,s]=i((()=>{if("undefined"==typeof window)return null;const e=u(d);if(e)try{return JSON.parse(e)}catch(e){console.log(e)}return null})),r=o((function(){navigator.geolocation&&navigator.geolocation.getCurrentPosition((e=>{const i={lat:""+Math.round(1e7*e.coords.latitude)/1e7,lng:""+Math.round(1e7*e.coords.longitude)/1e7};p(d,JSON.stringify(i),{minutes:15}),s(i),t("granted")}),(()=>{g(d),t("denied")}))}),[]);return a((()=>({geoLocationPermission:e,geoLocationCoordinates:n,requestGeoLocation:r})),[e,n])}(),[Q,q]=r(me,ue,(e=>Object.assign(Object.assign({},e),{isDebug:L,isMobile:h,geoLocationPermission:y||_||"unset",geoLocationCoordinates:b||G||null,searchKeywords:w,initialSelectedCity:v||null,selectedLocation:v||e.selectedLocation||null,searchLocationKeywords:(null==v?void 0:v.name)||e.searchLocationKeywords,autoCompleteDisabled:R,inputSearchPlaceholder:F,locale:V}))),{navigateTo:W,focused:Y,isLoadingCities:J,cities:X,searchKeywords:ee,geoLocationPermission:te,selectedLocation:ie,initialSelectedCity:oe,defaultCity:ne,searchResults:se,isLoadingSearchResults:re,isMobileModalOpened:ce,inputSearchPlaceholder:le}=Q,{fetchCitiesByLocation:ge,fetchCitiesByKeyword:Ce,fetchSearchResults:fe}=function({dispatch:e,careApiDomain:t,locale:i="vi-VN"}){const a=o((function(o,a={}){const n=`${t}${o}`;return e({type:pe.FetchCitiesStart}),fetch(Ye(n,a,i),{method:"GET"}).then((e=>e.json())).then((e=>1===e._status&&e._data?null==e?void 0:e._data:(console.log("error loading cities",e),Promise.reject(e)))).finally((()=>e({type:pe.FetchCitiesFinish})))}),[i]);return{fetchCitiesByLocation:o((function({coordinates:t}){let o={};t&&(o={lat:t.lat,lng:t.lng});const n=[a(We,o)];return"zh-TW"===i&&n.push(a(Qe,{noPaging:1})),Promise.all(n).then((([t,i])=>{const o=Object.assign({},t);if(i){const e=o.cities.map((e=>e.id));o.cities=o.cities.concat(i.cities.filter((t=>!e.includes(t.id))))}e({type:pe.FetchCitiesByGeoIpComplete,payload:o})})).catch((e=>console.error("error loading cities by location",e)))}),[i,t,e]),fetchCitiesByKeyword:o((function(t){return a(Qe,{keyword:t}).then((t=>{e({type:pe.FetchCitiesByKeywordComplete,payload:t.cities})})).catch((e=>console.error("error loading cities by keyword",e)))}),[i,t,e]),fetchSearchResults:o((function(o,a){const n=`${t}${qe}`;e({type:pe.FetchSearchResultsStart});const{defaultCity:s,selectedLocation:r,geoLocationCoordinates:l}=a;let d="";if(!r||!s)return void e({type:pe.FetchSearchResultsFinish});r.id===c?l||(d=s.id):d=r.id;const h=(null==l?void 0:l.lat)||"",u=(null==l?void 0:l.lng)||"";return fetch(Ye(n,{domain:t,searchType:"global",keyword:o.trim().length>he[i]?o.trim():"",city:d===c?"":d,lat:h,lng:u},i),{method:"GET",headers:{accept:"version=2.0.0.0"}}).then((e=>e.json())).then((e=>1===e._status&&e._data?null==e?void 0:e._data:Promise.reject(e))).then((t=>e({type:pe.FetchSearchResultsComplete,payload:t}))).catch((e=>{console.log("error loading search results",{url:n,error:e})})).finally((()=>e({type:pe.FetchSearchResultsFinish})))}),[i,t,e])}}({dispatch:q,locale:V,careApiDomain:f}),ye=a((()=>{var e;return{id:c,name:H("booking.searchBar.currentLocation"),slug:null===(e=l[V])||void 0===e?void 0:e.CURRENT}}),[H,V]),be=a((()=>C(Ce,400)),[Ce]),ve=a((()=>C(fe,400)),[fe]);n((()=>{""!==w&&w!==Q.searchKeywords&&q({type:pe.UpdateInitialSearchValue,payload:w})}),[w]),n((()=>{x&&(null==ie?void 0:ie.id)===c&&"unset"===te&&U()}),[x,ie,te]),n((()=>{y||te===_||("granted"===_&&G?q({type:pe.GrantGeoLocationPermission,payload:G}):"denied"===_&&q({type:pe.DenyGeoLocationPermission}))}),[te,_,G,y]),n((()=>{W&&(A?A(W):window.location.href=`${E}${W}`)}),[W]);const we=o((function(){q({type:pe.SelectCurrentLocation,payload:ye})}),[H,q]);n((()=>{"denied"===te||oe||we(),T&&T(te,Q.geoLocationCoordinates),h&&"granted"===te&&ie&&q({type:pe.FocusInputSearch}),ge({coordinates:Q.geoLocationCoordinates})}),[te]),n((()=>{ie&&ne&&fe(Q.searchKeywords,Q)}),[ie,ne]),n((()=>{F!==le&&q({type:pe.SetInputSearchPlaceholder,payload:F})}),[F,le]),n((()=>{ce?document.body.classList.add("care-popup-open"):document.body.classList.remove("care-popup-open")}),[ce]);const Ee=o((function(e){q({type:pe.SelectLocation,payload:e}),Oe(),B&&B(e)}),[H,q]);function Le(){h&&"granted"!==Q.geoLocationPermission?U():(we(),Oe())}function ke(){var e;$.current&&(null===(e=$.current.querySelector('input[name="search-location"]'))||void 0===e||e.focus())}function Oe(){var e;$.current&&(null===(e=$.current.querySelector('input[name="search-results"]'))||void 0===e||e.focus())}function je(){q({type:pe.CloseMobileModal})}function Me(){return"location"!==Y?null:t.createElement(Z,{isLoading:J,cities:X,onLocationClick:Ee,onCurrentLocationClick:Le,isLocationLoading:J,geoLocationPermission:te,selectedLocation:ie})}function Ie(){return"search"!==Y?null:Q.autoCompleteDisabled?h?t.createElement(xe,{onClick:()=>{N({cityId:Q.selectedLocation.id,keyword:ee}),je()}}):null:t.createElement(Ue,{data:se,state:Q,dispatch:q,isMobile:!1,keyword:ee,isLoading:re})}function Re(){return t.createElement(Se,{isMobile:h,state:Q,dispatch:q,debouncedFetchCitiesByKeyword:be,debouncedFetchSearchResults:ve,focusLocationInput:ke,focusSearchInput:Oe,renderLocationResults:Me,renderSearchResults:Ie,trackingAttributes:S,locationTrackingAttributes:k,onSearch:N,initalSearchValue:w})}return n((()=>{if(window.visualViewport){const e=e=>{const t=e.target;K(null==t?void 0:t.height)};return window.visualViewport.addEventListener("resize",e,{passive:!0}),()=>{window.visualViewport.removeEventListener("resize",e)}}}),[K]),h?t.createElement(t.Fragment,null,t.createElement(P,null),t.createElement(I,{ref:z}),t.createElement(j,{id:"booking-search-bar",ref:$,"data-is-modal":h&&ce,style:{"--mobile-care-searchbar-height":ce&&D?`${D}px`:"100%"}},ce?t.createElement(t.Fragment,null,t.createElement(M,null,t.createElement(de,{headingText:H("booking.searchBar.searchButton"),onLeftClick:je}),Re()),Me(),Ie()):t.createElement(ae,{onClick:function(){var t;return e(this,void 0,void 0,(function*(){z.current&&z.current.focus(),q({type:pe.OpenMobileModal}),yield Promise.resolve(),$.current&&(null===(t=$.current.querySelector('input[name="search-location"]'))||void 0===t||t.focus())}))},focused:Y,value:ee,trackingAttributes:S,inputSearchPlaceholder:F}))):t.createElement(O,{id:"booking-search-bar",ref:$},Re())};var Xe;!function(e){e[e.SPECIALTY=1]="SPECIALTY",e[e.DOCTOR=2]="DOCTOR",e[e.CLINIC=3]="CLINIC",e[e.SERVICE=4]="SERVICE"}(Xe||(Xe={}));var et=Object.freeze({__proto__:null,get RedirectType(){return Xe}});export{Je as B,et as t};
@@ -1 +0,0 @@
1
- import{useContext as o,useMemo as a}from"react";import{T as e,d as r}from"./translationsContext-0e0fb892.js";import t from"string-format";function n(){const{values:n,locale:s}=o(e)||{locale:"en-PH"};return a((()=>({t:(o,a)=>n?n[o]?a?t(n[o]||o,a):n[o]||o:(console.warn(`[useTranslations] Missing translation for key ${o} and locale ${s}`),a?t(r[o]||o,a):r[o]||o):(console.error("[useTranslations] t method called before translation values are loaded"),o),locale:s})),[n,s])}export{n as u};
@@ -1 +0,0 @@
1
- "use strict";var e=require("./tslib.es6-fadbfca8.js"),t=require("react"),s=require("@mantine/core"),r=require("./index-09104c39.js");require("@mantine/dates");var a=require("./index-366e8606.js"),i=require("./Onboarding-4fe56a35.js");require("./gAssets.js");var n=require("./index-b3d7e244.js");require("./index.styles-a01c7375.js"),require("dayjs"),require("./screenSizeContext-63a3d71e.js"),require("styled-components"),require("./theme-73b60f31.js"),require("./utils-ec5ceab4.js"),require("./isProduction-0a0274b8.js");var c=require("./useTranslations-8998a8c0.js");require("./index-49f07ee5.js"),require("@mantine/hooks"),require("lodash/debounce");var d=require("./utils-5fc4ba49.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);const u={provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},p=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},v=()=>{const[s,r]=t.useReducer(p,u),{provinces:n,districts:c,wards:l,selectedProvince:o,selectedDistrict:v,selectedWard:b}=s,[E,j]=t.useState();t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,s,n;try{const c=yield fetch((n=process.env.UNIFY_LOCALE||i.LOCALE.Vietnam,`${a.CDN_ADDRESS}/cities-data-${d.MAPPED_LOCALE[n]}.json`)).then((e=>e.json()));j(c);const{list:l}=c,o=Object.keys(l),u=Object.keys((null===(e=l[o[0]])||void 0===e?void 0:e.list)||{}),p=Object.keys((null===(s=null===(t=l[o[0]])||void 0===t?void 0:t[u[0]])||void 0===s?void 0:s.list)||{});r({type:"SET_DATA",payload:{provinces:o,districts:u,wards:p}})}catch(e){console.error("Error fetching address data:",e)}}))}),[process.env.UNIFY_LOCALE]);return{provinces:n,districts:c,wards:l,selectedProvince:o,selectedDistrict:v,selectedWard:b,handleProvinceChange:e=>{var t;const s=Object.keys((null===(t=E.list[e])||void 0===t?void 0:t.list)||{});r({type:"SET_DISTRICTS",payload:s}),r({type:"SET_WARDS",payload:[]}),r({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,s;const a=Object.keys((null===(s=null===(t=E.list[o])||void 0===t?void 0:t.list[e])||void 0===s?void 0:s.list)||{});r({type:"SET_WARDS",payload:a}),r({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{r({type:"SELECT_WARD",payload:e})}}};exports.AddressInput=a=>{var{error:i}=a,d=e.__rest(a,["error"]);const{t:l}=c.useTranslations(),{provinces:u,districts:p,wards:b,selectedProvince:E,selectedDistrict:j,selectedWard:h,handleProvinceChange:y,handleDistrictChange:g,handleWardChange:S}=v(),[C,f]=t.useState("");return t.useEffect((()=>{E&&j&&h&&C?d.onChange({selectedProvince:E,selectedDistrict:j,selectedWard:h,extraInfo:C}):d.onChange(null)}),[E,j,h,C]),o.default.createElement(n.Input.Wrapper,Object.assign({withAsterisk:!0},d),o.default.createElement(s.Stack,null,o.default.createElement(r.Select,{placeholder:l("onboarding.similac.input.city"),data:u.sort(),searchable:!0,onChange:y,value:E}),o.default.createElement(r.Select,{placeholder:l("onboarding.similac.input.district"),data:p.sort(),searchable:!0,onChange:g,value:j,disabled:!E}),o.default.createElement(r.Select,{placeholder:l("onboarding.similac.input.ward"),searchable:!0,data:b.sort(),value:h,onChange:S,disabled:!E||!j}),o.default.createElement(n.Input,{placeholder:l("onboarding.similac.input.no"),disabled:!E||!j||!h,value:C,onChange:f,style:{marginBottom:0}})),o.default.createElement(s.Input.Error,{size:"md"},i))};
@@ -1 +0,0 @@
1
- "use strict";var e=require("./tslib.es6-fadbfca8.js"),t=require("react"),r=require("@mantine/core"),s=require("./gAssets.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(t);exports.Select=t=>{var{keepSearch:a=!1}=t,c=e.__rest(t,["keepSearch"]);return a?n.default.createElement(r.Autocomplete,Object.assign({rightSection:n.default.createElement(r.Image,{src:s.CommonGAssets.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300},c)):n.default.createElement(r.Select,Object.assign({rightSection:n.default.createElement(r.Image,{src:s.CommonGAssets.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300},c))};
@@ -1 +0,0 @@
1
- "use strict";var e=require("./tslib.es6-fadbfca8.js"),r=require("react"),t=require("@mantine/core");require("dayjs"),require("./screenSizeContext-63a3d71e.js"),require("styled-components");var s=require("./theme-73b60f31.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index-366e8606.js"),require("./utils-ec5ceab4.js"),require("./isProduction-0a0274b8.js"),require("./Onboarding-4fe56a35.js"),require("./gAssets.js");var n=i(r);exports.Indicator=r=>{var{styles:i,color:o=s.theme.colors.red700}=r,a=e.__rest(r,["styles","color"]);return n.default.createElement(t.Indicator,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:o},a))};
@@ -1 +0,0 @@
1
- "use strict";var e=require("react"),r=require("./index.styles-a01c7375.js"),a=require("./tslib.es6-fadbfca8.js"),t=require("./useTranslations-8998a8c0.js"),s=require("./index-b3d7e244.js"),n=require("@mantine/core");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=l(e);const u={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"};var o="Dudns9-";exports.AuthorBadge=e=>{var{siteType:s,role:n,title:l,styles:o,className:d}=e,i=a.__rest(e,["siteType","role","title","styles","className"]);const{t:m}=t.useTranslations(),f=n?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((r=>r===e)))(n):"",{classes:v,cx:y}=r.useStyles(void 0,{name:"AuthorBadge",styles:o});return f&&u[f]?c.default.createElement("div",Object.assign({className:y(v.root,d),"data-label-type":f,"data-is-marrybaby":"marryBaby"===s},i),l||m(u[f])):null},exports.BtnChoice=({value:r,choices:a,onChange:t})=>{const[n,l]=e.useState(r);return e.useEffect((()=>{l(r)}),[r]),c.default.createElement("div",{className:o},a.map(((e,r)=>c.default.createElement(s.Button,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===n?"primary":"tertiary",key:r,onClick:()=>{l(e.value),null==t||t(e.value)}},e.label||""))))},exports.Divider=({type:e="solid",className:a,style:t})=>c.default.createElement(r.StyledDivider,{style:t,className:a,"data-diver-type":e,dividerType:e}),exports.ImageWithHandler=r=>{var{fallbackSrc:t}=r,s=a.__rest(r,["fallbackSrc"]);const{other:l}=n.useMantineTheme(),u=e.useRef(null),o=t||l.defaultImage,d=s.src||o||"",i=e.useRef(!1);e.useEffect((()=>{d!==o&&u.current&&(u.current.src=d)}),[]),e.useEffect((()=>{i.current=!1}),[d]);return c.default.createElement("img",Object.assign({ref:u},s,{src:d,onError:e=>{var r;i.current||(e.currentTarget.src=o||"",i.current=!0),null===(r=s.onError)||void 0===r||r.call(s,e)}}))};
@@ -1,81 +0,0 @@
1
- "use strict";var e=require("styled-components"),t=require("react"),r=require("lodash/throttle"),s=require("./utils-ec5ceab4.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=i(t),o=i(r);const a=e.keyframes`
2
- from {
3
- transform: translate3d(0, 100%, 0);
4
- visibility: visible;
5
- }
6
-
7
- to {
8
- transform: translate3d(0, 0, 0);
9
- }
10
- `,d=e.keyframes`
11
- from {
12
- transform: translate3d(0, -100%, 0);
13
- visibility: visible;
14
- }
15
-
16
- to {
17
- transform: translate3d(0, 0, 0);
18
- }
19
- `,l=e.keyframes`
20
- from {
21
- transform: translate3d(-100%, 0, 0);
22
- visibility: visible;
23
- }
24
-
25
- to {
26
- transform: translate3d(0, 0, 0);
27
- }
28
- `,f=e.keyframes`
29
- from {
30
- transform: translate3d(100%, 0, 0);
31
- visibility: visible;
32
- }
33
-
34
- to {
35
- transform: translate3d(0, 0, 0);
36
- }
37
- `,m=e.keyframes`
38
- from {
39
- transform: translate3d(0, 0, 0);
40
- }
41
-
42
- to {
43
- visibility: hidden;
44
- transform: translate3d(0, 100%, 0);
45
- }
46
- `,p=e.keyframes`
47
- from {
48
- transform: translate3d(0, 0, 0);
49
- }
50
-
51
- to {
52
- visibility: hidden;
53
- transform: translate3d(-100%, 0, 0);
54
- }
55
- `,u=e.keyframes`
56
- from {
57
- transform: translate3d(0, 0, 0);
58
- }
59
-
60
- to {
61
- visibility: hidden;
62
- transform: translate3d(100%, 0, 0);
63
- }
64
- `,c=e.keyframes`
65
- from {
66
- transform: translate3d(0, 0, 0);
67
- }
68
-
69
- to {
70
- visibility: hidden;
71
- transform: translate3d(0, -100%, 0);
72
- }
73
- `,y=e.keyframes`
74
- from {
75
- opacity: 0;
76
- }
77
-
78
- to {
79
- opacity: 1;
80
- }
81
- `,B=t.createContext({isInit:!0}),v=e=>{const t=(e=>"number"==typeof e?e:"undefined"!=typeof window&&window.innerWidth||0)(e);return{smallMobile:t<s.Breakpoints.BREAK_POINT_SMALL_MOBILE,mobile:t>=s.Breakpoints.BREAK_POINT_SMALL_MOBILE&&t<s.Breakpoints.BREAK_POINT_MOBILE,tablet:t>=s.Breakpoints.BREAK_POINT_MOBILE&&t<s.Breakpoints.BREAK_POINT_TABLET,pc:t>=s.Breakpoints.BREAK_POINT_TABLET&&t<s.Breakpoints.BREAK_POINT_PC,xl:t>=s.Breakpoints.BREAK_POINT_PC}};exports.ScreenSizeContext=B,exports.ScreenSizeContextProvider=({children:e})=>{const[r,s]=t.useState((()=>({isInit:!0})));t.useEffect((()=>{const e=o.default((()=>{s({width:window.innerWidth,height:window.innerHeight,isInit:!1})}),200);return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]);const i=t.useMemo((()=>v(r.width)),[r.width]);return n.default.createElement(B.Provider,{value:Object.assign(Object.assign({},r),{sizeGroups:i})},e)},exports.fadeIn=y,exports.getWindowSizeGroups=v,exports.slideInDown=d,exports.slideInLeft=l,exports.slideInRight=f,exports.slideInUp=a,exports.slideOutDown=m,exports.slideOutLeft=p,exports.slideOutRight=u,exports.slideOutUp=c;
@@ -1 +0,0 @@
1
- "use strict";var e={"actionPopover.delete":"Delete","actionPopover.deleteNotification":"Delete this notification","actionPopover.edit":"Edit","actionPopover.inviteShareCommunity":"Invite / Share community","actionPopover.joinCommunity":"Join Community","actionPopover.leaveCommunit":"Leave Community","actionPopover.leaveCommunity":"Leave Community","actionPopover.leaveCommunity.accept":"Leave","actionPopover.leaveCommunity.cancel":"Cancel","actionPopover.leaveCommunity.description":"Are you sure you want to leave this community?","actionPopover.leaveCommunity.title":"Leave Community","actionPopover.report":"Report","actionPopover.turnOffNotification":"Turn off notification","actionPopover.turnOffNotificationAbout":"Turn off notification about {label}","actionPopover.turnOnNotification":"Turn on notification","adBanner.title":"advertisement","admin.comments":"Comments","admin.communities":"Communities","admin.community":"Community","article.shareOn":"Share on","articleAuthor.title.expert":"Expertly reviewed by","articleAuthor.title.fact-check":"Fact-checked by","articleAuthor.title.medical":"Medically reviewed by","articleAuthor.title.written-by":"Written by","articlePage.articleReviewerBy":"Medically reviewed by {name}","articlePage.readMore":"Read More","articlePage.showLess":"Show less","babyGrowth.alert.bmi":"There is no BMI measurements to display for {name} in WHO data range of 0 to 5 years. Use <a>BMI calculator tool</a> above 5 year old","babyGrowth.alert.head":"There is no head circumference measurements to display for {name} in WHO data range of 0 to 5 years","babyGrowth.alert.weight":"There is no Weight measurements to display for {name} in WHO data range of 0 to 10 years ","babyGrowth.chartTitle":"WHO - {name} Growth Chart","babyGrowth.chartTitle.noName":"Your child's growth chart","babyGrowth.cm":"(cm)","babyGrowth.drawer.addMeasurement":"Add a Measurement","babyGrowth.drawer.createBaby":"Create a baby profile","babyGrowth.drawer.switchProfile":"Switch profile","babyGrowth.emptyName":"your baby","babyGrowth.error.atLeastOneOf":"Must have at least one of these fields: Weight, Height, Head Circumference (Head).","babyGrowth.error.birthdayRequired":"Birthday is required","babyGrowth.error.invalidAge":"The measurements exceed the age.","babyGrowth.error.invalidMeasurementDate":"Measurement day is not valid.","babyGrowth.error.invalidValue":"Please input a valid value","babyGrowth.error.measurementDateLowerThanBirthday":"The date entered is before your child's birthday.","babyGrowth.error.outOfRange":"The measurements exceed the WHO's data range.","babyGrowth.error.title":"Invalid data","babyGrowth.head":"Head","babyGrowth.headCircumference":"Head Circumference","babyGrowth.height":"Height","babyGrowth.input.babyName":"Child’s name","babyGrowth.input.birthday":"Baby's birthday","babyGrowth.input.bmi":"Body Mass","babyGrowth.input.bodyMass":"Body Mass","babyGrowth.input.checkSubmit":"Track your child's growth","babyGrowth.input.measurementDate":"Measurement Date","babyGrowth.input.submit":"Track your child's growth","babyGrowth.kg":"(kg)","babyGrowth.kg.m2":"(kg/m2)","babyGrowth.monthly":"Monthly","babyGrowth.nickname":"Nickname","babyGrowth.optional":"(optional)","babyGrowth.pageTitle":"Your child's growth results","babyGrowth.percentiles":"Percentiles","babyGrowth.placeholder.babyName":"Add child's name","babyGrowth.popup.heading":"Baby's Profile","babyGrowth.reCalculate":"Recalculate","babyGrowth.record":"Records","babyGrowth.save":"View Growth Tracker","babyGrowth.save.loggedIn":"See Baby's Growth Tracker","babyGrowth.weekly":"Weekly","babyGrowth.weight":"Weight","babyGrowth.xLabel":"Age ({recurrence})","babyGrowth.yearly":"Yearly","babyPoop.findOut":"Find out","babyPoopTool.name":"Baby Poop","babyVaccine.banner.readmore":"Read more","babyVaccine.immunization.vaccineName":"Vaccine Name","babyVaccine.immunization.warning":"The immunization static is easy to read and parent friendly as it is similar to your baby vaccination timelines","babyVaccine.popup.button":"Create a new profile","babyVaccine.popup.button.submit":"Save","babyVaccine.popup.checkbox.suggestedDate":"Pick a injected date or keep the suggested below.","babyVaccine.popup.confirm.close":"Change Date","babyVaccine.popup.confirm.description":"Your baby has injected this vaccine on {date}","babyVaccine.popup.confirm.ok":"Confirm","babyVaccine.popup.confirm.title":"Vaccination date","babyVaccine.popup.input.suggestedDate":"I don't remember/Set as suggested date","babyVaccine.popup.label.doses":"Doses","babyVaccine.popup.tab.benefits":"Benefits","babyVaccine.popup.tab.contraindication":"Contraindication","babyVaccine.popup.tab.detail":"Details","babyVaccine.popup.tab.schedule":"Tracking","babyVaccine.popup.title":"Vaccine Information","babyVaccine.status.all":"All","babyVaccine.status.missed":"Missed","babyVaccine.status.next":"Next","babyVaccine.status.upcoming":"Upcoming","babyVaccine.status.vaccinated":"Vaccinated","babyVaccine.timeline.antigen":"Antigen:","babyVaccine.timeline.atBirth":"at Birth","babyVaccine.timeline.total":"Total: {number} Dose(s)","babyVaccine.timeline.totalNext":"Next {number} Dose(s)","babyVaccine.timeline.totalPast":"Past {number} Dose(s)","babyVaccine.vaccineCard.injected":"Injected","babyVaccine.vaccineCard.markAsInjected":"Mark as injected","babyVaccine.vaccineInfo.dose":"Dose: {ordinal}/{total}","babyVaccine.vaccineInfo.injectedDate":"Injected Date: {date}","babyVaccine.vaccineInfo.mandatory":"Mandatory","babyVaccine.vaccineInfo.optional":"Optional","babyVaccine.vaccineInfo.suggested":"Suggested Date: {date}","babyVaccineTool.selectGender":"What is your child's gender?","bmi.ageInput":"How old are you?","bmi.ageInput.desc":"(years)","bmi.ageInput.error":"Please put in a valid age","bmi.heading":"BMI Calculator","bmi.heightInput":"How tall are you?","bmi.heightInput.desc":"(cm)","bmi.heightInput.error":"Please put in a valid height","bmi.objective":"Objectives","bmi.objective.gainWeight":"Build muscle ","bmi.objective.loseWeight":"Lose fat","bmi.objective.maintainWeight":"Maintain weight","bmi.result.healthy":"Healthy","bmi.result.overweight":"Overweight","bmi.result.underweight":"Underweight","bmi.selectGender":"What is your gender?","bmi.submit":"Calculate","bmi.weightInput":"How much do you weigh?","bmi.weightInput.desc":"(kg)","bmi.weightInput.error":"Please put in a valid weight","bmr.heading":"BMR Calculator","booking.searchBar.currentLocation":"Current location","booking.searchBar.grantLocation":"Please grant location permission to search by current location","booking.searchBar.locationPlaceholder":"Enter city","booking.searchBar.noResults":"No Results","booking.searchBar.placeholder.doctor":"Search by doctor name","booking.searchBar.placeholder.hospital":"Search by hospital name","booking.searchBar.placeholder.service":"Search by service","booking.searchBar.placeholder.specialty":"Search by specialty","booking.searchBar.searchButton":"Search","booking.searchBar.searchInput.placeholder":"Search by Specialty or Clinic...","booking.searchBar.useCurrentLocation":"Use my current location","booking.searchPopup.doctors":"Doctors","booking.searchPopup.hospitals":"Hospitals & Clinics","booking.searchPopup.searchIn.doctors":'Search "{name}" in Doctors',"booking.searchPopup.searchIn.hospitals":'Search "{name}" in Hospitals',"booking.searchPopup.searchIn.services":'See "{name}" in Services',"booking.searchPopup.searchIn.specialties":'Search "{name}" in Specialties',"booking.searchPopup.seeAll":"See All","booking.searchPopup.seeLessSpecialties":"See less specialties","booking.searchPopup.seeMoreSpecialties":"See more specialties","booking.searchPopup.services":"Services","booking.searchPopup.specialties":"Specialties","bottomBar.share":"Share","cardAuthor.admin":"Admin","cardAuthor.ambassador":"Ambassador","cardAuthor.expert":"Expert","cardAuthor.guide":"Guide","cardAuthor.influencer":"Influencer","cardAuthor.localAdmin":"Local Admin","cardAuthor.moderator":"Moderator","cardAuthor.sponsor":"Sponsor","cardPost.anonymous":"Anonymous","cardReactions.comment":"Comment","cardReactions.repliesCount":"{count} replies","cardReactions.reply":"Reply","cardReply.disclaimer":"<strong>Disclaimer:</strong> The content is furnished relying on authenticated information sources.","cardReply.endorse":"Endorse","cardReply.opposePopup.content":"Can you please provide the reasons for refuting this answer?","cardReply.opposePopup.submit":"Submit","cardReply.pppose":"Refute","cardReply.recommentCategories.heading":"Related content","cardReply.source":"Sources","cardReply.verifyBy":"Medically reviewed by {name}","careBooking.bookAnAppointment":"Book an appoinment","categoryPage.info.reviewed":"Medically reviewed by","categoryPage.onDate":"on {date}",character:"Characters","childCard.age.months":"{month} months","childCard.age.oneMonth":"1 month","childCard.age.oneWeek":"1 week","childCard.age.oneYear":"1 year","childCard.age.oneYearMonth":"1 year {month} months","childCard.age.oneYearOneMonth":"1 year 1 month","childCard.age.week":"{weeks} weeks","childCard.age.yearMonth":"{year} years {month} months","childCard.age.yearNoMonth":"{year} years","childCard.age.yearOneMonth":"{year} years 1 month","childCard.boy":"Boy","childCard.girl":"Girl","childCard.menu.add":"Add a child profile","childCard.menu.edit":"Edit {name}’s profile","childCard.menu.remove":"Remove {name}’s profile","childCard.menu.switch":"Switch child's profile","childCard.noName":"Child's Name","choicePopover.ambassadorPosts":"Ambassador posts","choicePopover.expertPosts":"Expert posts","choicePopover.lastestPost":"Latest posts","choicePopover.latest":"Latest","choicePopover.newest":"Newest","choicePopover.oldest":"Oldest","choicePopover.popular":"Popular","choicePopover.popularPost":"Popular posts","choicePopover.sort":"Sort","chooseBaby.button":"View your Child Growth Chart","chooseBaby.new":"or Add new child profile","chooseBaby.placeholder":"Please give child's name","chooseBaby.title":"Choose Child's Profile","comment.count":"{count} comments","comment.seeMoreComments":"See {count} more comments","comment.seeMoreReplies":"See {count} more replies","commentPopup.warning.newPost":"Your question will be public","common.profileNavigator.newsletterSubscription":"Newsletter Subscription","community.choose":"Choose a community","community.notification.joined":"You joined {name} community","community.notification.left":"You left {name} community",copied:"Copied",copy:"Copy","createPost.askDoctor":"Ask Doctor","createPost.askDoctorChoice.no":"No","createPost.askDoctorChoice.yes":"Yes","createPost.message.askDoctorRequire":"Would you like to ask a question to our doctor?","createPost.popup.description":"Description","createPost.popup.guideSelectMonthTopics":"Choose topics about your baby's birth month","createPost.popup.guideSelectTopics":"Choose topics, where to post your articles","createPost.popup.primary":"Tap to select/ unselect topics","createPost.popup.selectMonthTopicBtn":"Select","createPost.popup.specialCharErr":"The title you entered is invalid. Titles must contain letters.\n","createPost.popup.submit":"Post","createPost.popup.success":"New Post Created","createPost.popup.warning":"Select a community to see your following topics","createPost.popup.warningImage":"Maximum 20 images allow, please remove some item below","createPost.popup.wordCount":"{count}/{max} words","createPost.postAnonymous":"Post Anonymously","createPost.title":"Title","createPost.urlText":"Text","dueDatePage.calculationMethod":"Calculation Method","dueDatePage.conceptionDate":"Conception Date","dueDatePage.daysText":"{number} days","dueDatePage.ivf":"IVF","dueDatePage.ivf.transferDate":"IVF Transfer Date","dueDatePage.ivf.transferDateRadio":"{number}-Day Transfer","dueDatePage.lastPeriod":"Last Period","dueDatePage.lastPeriod.calculate":"Calculate","dueDatePage.lastPeriod.lastPeriodLabel":"The first day of your last period","dueDatePage.lastPeriod.periodLengthLabel":"Cycle Length","expert.content.description":"Expert's Profile","expert.content.experiences":"Experiences","footer.signUp":"Sign Up Now","gender.female":"Female","gender.male":"Male","healthTools.dueDateCalculator":"Due Date Calculator","healthTools.ovulationCalculator":"Ovulation Calculator","healthtool.placeholder.age":"Your age","home.menu.category.view":"View {category}","home.navigator.menu.care.noDatas.cta":"Book a Doctor","home.navigator.menu.care.noDatas.description":"HelloCare helps patients to find the right medical doctors and service treatment for their needs, in their vicinity.","home.navigator.menu.care.noDatas.title":"Make an appointment with doctors easily","home.navigator.menu.category.noDatas.cta":"Discover now","home.navigator.menu.category.noDatas.description":"Hello Doctor wants to be your most trusted ally to make more informed decisions and to live healthier and happier lives.","home.navigator.menu.category.noDatas.title":"Welcome to Hello Doctor","home.navigator.menu.healthTools.noDatas.cta":"Discover more","home.navigator.menu.healthTools.noDatas.description":"These easy-to-use health assessment tools will help you gauge vital parts of your overall health and wellness.","home.navigator.menu.healthTools.noDatas.title":"Health Tools","home.navigator.menu.spotlightHospitals":"Popular Hospitals","home.navigator.menu.spotlightTools":"Favorite Tools","home.navigator.menu.spotlights":"All In Focus","home.navigator.menu.spotlights.seeAll":"See All In Focus","home.navigator.menu.together.noPosts.cta":"Join Our Communities","home.navigator.menu.together.noPosts.description":"Community is a safe space where you can connect with other members, comment on topics you care about, and receive trusted advice from medical experts on the health issues that matter most.","home.navigator.menu.together.noPosts.title":"Welcome to Community","home.navigator.menu.trendingPosts":"Highlight Posts","home.navigator.menu.trendingPosts.seeMore":"See more","home.navigator.menuItem.allCategories":"See All Categories","home.navigator.menuItem.allCommunities":"See all communities","home.navigator.menuItem.allCommunitiesheadingTitle":"Find your communities","home.navigator.menuItem.allHealthTools":"See All Health Tools","home.navigator.menuItem.allSpecialties":"All specialties","home.navigator.menuItem.allSpotlight":"See All In Focus","home.navigator.menuItem.discover":"Discover","home.navigator.menuItem.healthCategories":"Health Categories","home.navigator.menuItem.healthTools":"Health Tools","home.navigator.menuItem.healthToolsList":"Health Tools","home.navigator.menuItem.helloCare":"Book a Doctor","home.navigator.menuItem.helloEcom":"eShop","home.navigator.menuItem.helloTogether":"Communities","home.navigator.menuItem.language":"Language","home.navigator.menuItem.new":"new","home.navigator.menuItem.specialties":"Specialties","home.navigator.menuItem.spotlights":"All In Focus","home.search":"Search {site}","home.seeAll":"See All","home.seeAllCategories":"See All Topics","home.seeExpert":"View Full Expert's Profile","home.seeHospital":"View Full Hospital's Profile","home.seeMore":"See More","home.seeMoreExperts":"See More Experts","hospital.content.description":"Hospital Details","inputComment.replyTo":"Reply to {name}",insert:"Insert","label.latestPost":"Latest Post","label.pinnedPost":"Pinned Post",loading:"loading","login.booking":"Booking with doctor","logout.popup.ask.mb":"Logout of Marry Baby","logout.popup.ask1":"Log Out of Hello Doctor?","logout.popup.ask2":"Are you sure you want to log out?","logout.popup.button.cancel":"Cancel","logout.popup.button.logout":"Log Out","menu.care.searchBySpecialties":"Search by specialty","morePopover.report":"Report","morePopover.report.description":"Help us understand what’s happening with this post. How would you describe it?","morePopover.report.falseNews":"False news","morePopover.report.offensive":"Offensive","morePopover.report.other":"Other","morePopover.report.prohibited":"Prohibited content","morePopover.report.scam":"Misleading or scam","morePopover.report.sex":"Sexually inappropriate","morePopover.report.spam":"Spam","morePopover.report.title":"Report this post","morePopover.report.violence":"Violence","morePopover.reportSubmit.description":"We won’t tell them who reported it. Please check these details:","morePopover.reportSubmit.title":"Submit report?","morePopover.savePost":"Save post","morePopover.share":"Share","morePopover.shareOn":"Share on","morePopover.turnOffNotifications":"Turn off notifications","morePopover.turnOnNotifications":"Turn on notifications","morePopover.unsavePost":"Remove Saved post","navigation.loginJoin":"Log in","navigation.search.input.placeholder":"Search","notification.comment.blocked.message":"This comment contains banned words or phrases and won’t be published","notification.comment.blocked.title":"Blocked comment","notification.comment.premod":"Your comment needs to be reviewed.","notification.comment.rejected":"Your comment contain words that are not allowed.","notification.comment.reportFailed":"Failed!","notification.comment.reportSuccess":"You have successfully reported a comment.","notification.comment.somethingWrong":"Something went wrong.","notification.comment.suspect.message":"This comment contains suspected words or phrases and won’t be published","notification.comment.suspect.title":"Pending comment","notification.comment.systemWithheld":"Your comment needs to be reviewed.","notification.failure":"Something wrong. Try again later!","notification.limitUrlDomain":"Cannot post link outside of Hello Health Group.","notification.post.blocked.message":"This post contains banned words or phrases and won’t be published","notification.post.blocked.title":"Blocked post","notification.post.delete":"Post Deleted","notification.post.suspect.message":"This post contains suspected words or phrases, and is placed for moderator review","notification.post.suspect.title":"Pending post","notification.success":"Success","notification.suspend.message":"Your account has been suspended for violating our terms of service","notification.urlWrongFormat":"Incorrect URL format","onboarding.button.continue":"Continue","onboarding.button.skip":"Skip","onboarding.errorMessage.invalidEmail":"Invalid email","onboarding.errorMessage.minLength":"Please fill at least {length} characters","onboarding.errorMessage.passNotMatch":"Passwords must match","onboarding.errorMessage.passWithPattern":"Password must include upper and lowercase letters","onboarding.errorMessage.requiredConfirmPassword":"Please fill your confirm password","onboarding.errorMessage.requiredEmail":"Please fill your email","onboarding.errorMessage.requiredName":"Please fill your name","onboarding.errorMessage.requiredPassword":"Please fill your password","onboarding.formEmail.description":"Continue with your email to continue with {site} communities","onboarding.formEmail.genderFemale":"Female","onboarding.formEmail.genderMale":"Male","onboarding.formEmail.heading":"Let us get to know you better.","onboarding.formEmail.yourBirthday":"Your birthday","onboarding.formEmail.yourEmail":"Your email","onboarding.formEmail.yourName":"Your name","onboarding.label.fullName":"Full name","onboarding.otpForm.description":"We have sent a One-Time Password (OTP) to your phone number {phone}","onboarding.otpForm.descriptionEmail":"We have sent a One-Time Password (OTP) to your email {email}","onboarding.otpForm.error":"Please fill a valid OTP","onboarding.otpForm.heading":"Enter Your OTP","onboarding.otpForm.notReceiveOTP":"Didn’t receive an OTP code?","onboarding.otpForm.resendCode":"Resend Code {seconds}s","onboarding.similac.address.error":"Your address is required","onboarding.similac.input.address":"Your address","onboarding.similac.input.city":"Please select your city/province","onboarding.similac.input.district":"Please select your district/town","onboarding.similac.input.no":"Please enter your street name, building, house no.","onboarding.similac.input.phone":"Your phone number","onboarding.similac.input.ward":"Please select your ward/village","onboarding.similac.term.error":"This field is required","onboarding.updatePassword.confirmPassword":"Confirm Password","onboarding.updatePassword.description":"Make sure it's a 8 characters or more","onboarding.updatePassword.heading":"Almost there! You’ll need a password","onboarding.updatePassword.password":"Password","onboarding.updatePasswordResult.description":"You can now login to your Hellobacsi account with the new password.","onboarding.updatePasswordResult.heading":"Password setup successful","onboarding.updatePhone.description":"We will send a One-Time Password (OTP) to your phone number","onboarding.updatePhone.error":"Please fill a valid phone number","onboarding.updatePhone.heading":"Your phone number","onboarding.welcomeScreen.content":"An open and welcoming environment where you can share, connect, and exchange support with other members to seek healthier and happier lives.","onboarding.welcomeScreen.heading":"Welcome to Hello Bacsi Community",orCopyLink:"Or copy link","ovulationPage.avoidPregnancy":"Avoid pregnancy","ovulationPage.conceive":"Trying to conceive","ovulationPage.cycleLength":"Cycle Length","ovulationPage.dayUnit":"(days)","ovulationPage.objectives":"Objectives","ovulationPage.periodDuration":"Period Duration","ovulationPage.trackPeriod":"Track period cycle","placeholder.enterTitleHere":"Enter title here","placeholder.enterUrlHere":"Enter URL here","placeholder.enterUrlTextHere":"Enter URL Text here","placeholder.newCmt":"Write a comment","placeholder.newPost":"Start a new post","popup.allTopics":"All Topics","popup.createPost.confirmCloseDescription":"If you discard now, you’ll lose this post","popup.createPost.confirmCloseTitle":"Are you sure?","popup.deleteComment.description":"Delete your comment cannot be undone","popup.deleteComment.title":"Delete comment?","popup.deletePost.accept":"Delete","popup.deletePost.cancel":"Cancel","popup.deletePost.description":"Delete your post cannot be undone","popup.deletePost.title":"Delete post?","popup.discardPost":"Discard post","popup.discardPostEdit":"Discard changes","popup.editPost":"Edit post","popup.keepEditing":"Keep editing","popup.startANewPost":"Start a new post","post.commentCount":"{count} comments","post.likesCount":"{count} likes","post.seeMore":"See more","post.shareCount":"{count} shares","pregnancy.week":"Week","pregnancyTool.description":"Your Baby is as big as a <fruitName></fruitName>","pregnancyTool.title":"Your weeks of pregnancy","pregnancyTool.weightSuggested":"Weight suggested","pregnancyWeightGain.havingTwins":"Having twins?","pregnancyWeightGain.heading":"Pregnancy Weight Gain","pregnancyWeightGain.heightInput":"Height","pregnancyWeightGain.weekInput":"Weeks of pregnant","pregnancyWeightGain.weightBeforeInput":"Weight before pregnancy","pregnancyWeightGain.weightInput":"Current Weight","pregnancyWeightGain.weightInput.desc":" (kg)","previewPhotos.title":"{name}'s Post","profilePanel.anserwing.viewFull":"View full answers","profilePanel.awards":"Awards & Accreditations","profilePanel.createPost":"Create post","profilePanel.education":"Education","profilePanel.emptyCareMess.content":"It looks like there are currently no questions for the doctor at this time. Thank you for being a part of our community.","profilePanel.emptyPostMess.content":"{name} has not been engaged in any activities lately.","profilePanel.experience":"Experiences","profilePanel.joined":"Joined","profilePanel.modal.heading":"Profile","profilePanel.publishcation":"Publishcations","profilePanel.publishedArticles":"Pulished article on Hello Bacsi","profilePanel.question":"Question","profilePanel.questionNotClear":"Question isn't clear","profilePanel.skipQuestion.content":"We will remove this question from your list","profilePanel.skipQuestion.heading":"Skip this question","profilePanel.socialLinks":"Social Links","profilePanel.tabs.care":"Care","profilePanel.tabs.expertAnswer":"Expert Answering","profilePanel.tabs.highlight":"Credentials & Highlights","profilePanel.tabs.posts":"Posts","profilePanel.tabs.relevantArticles":"Relevant Articles","pwg.placeholder.height":"Your height","pwg.placeholder.weight":"Your weight","sensitiveMask.blur":"Blur","sensitiveMask.contentWarningDescription":"Warning: The following picture may be disturbing to some viewers. Viewer discretion is advised","sensitiveMask.contentWarningMessage":"These images may be disturbing...","sensitiveMask.unblur":"Show","share.copyLink":"Or copy link","share.letsJoinCommunity":"Let's join {name} community!","share.letsJoinTopic":"Let's join {name} topic!","share.linkCopied":"Link Copied","share.linkShared":"Link Shared Successfully","share.title":"Share","shareContainer.title":"Share the results",submit:"Submit","switchBtn.no":"No","switchBtn.yes":"Yes","tab.about":"About","tab.discussion":"Discussions","tab.topic":"Topics","tagTopic.moreTopics":"{number} more topics","targetHearRate.heading":"Target Heart Rate Calculator","targetHeartRate.aerobicZone.note":"Aerobic Zone (moderate exercise/sports 3-5 days/week)","targetHeartRate.aerobicZone.title":"Aerobic Zone","targetHeartRate.ageInput":"What is your date of birth?","targetHeartRate.ageInput.desc":" (years)","targetHeartRate.ageInput.error":"Please enter your actual age","targetHeartRate.heartRateInput":"Your resting heart rate?","targetHeartRate.heartRateInput.desc":" (bpm)","targetHeartRate.heartRateInput.error":"Please enter your actual resting heart rate","targetHeartRate.lowIntensity.note":"Low intensity (little or no exercise)","targetHeartRate.lowIntensity.title":"Low intensity","targetHeartRate.maximumIntensity.note":"Maximum Intensity (very hard exercise/sports or x2 training)","targetHeartRate.maximumIntensity.title":"Maximum Intensity ","targetHeartRate.moderateIntensity.note":"Moderate intensity (exercise/ sports 1-3 days/week)","targetHeartRate.moderateIntensity.title":"Moderate intensity ","targetHeartRate.optional":"(optional)","targetHeartRate.selectActive":"How active are you on daily basic?","targetHeartRate.vigorousIntensity.note":"Vigorous Intensity (hard exercise/ sports 6-7 days/week)","targetHeartRate.vigorousIntensity.title":"Vigorous Intensity","tool.askChecking":"I’m checking for other","tool.selectPerson":"Are you checking for?","tool.selectPerson.other":"Other","tool.selectPerson.yourSelf":"Your self","toolPage.toolReviewer":"Medically Reviewed by {expert_name} on {date}","tools.heading.on":"on","userProfile.nav.card.eCom":"E-commerce","userProfile.nav.card.myBooking":"My Booking","userProfile.nav.card.myCommunity":"My Community","userProfile.nav.card.myFamily":"Family Profiles","userProfile.nav.card.myHealth":"My Health","userProfile.nav.card.mySaved":"Saved","userProfile.nav.header.count.comments":"Comments","userProfile.nav.header.count.posts":"Posts","userProfile.nav.header.count.tools":"Tools","userProfile.nav.header.points":"Points","userProfile.nav.header.viewProfile":"View My Profile","userProfile.nav.menu.accountSettings":"Account Settings","userProfile.nav.menu.disableAccount":"Disable Account","userProfile.nav.menu.help":"Help","userProfile.nav.menu.logout":"Log out","userProfile.nav.menu.password":"Password","userProfile.userRank.ambassador":"Ambassador","userProfile.userRank.doctor":"Doctor","userProfile.userRank.expert":"Expert","userProfile.userRank.influencer":"Influencer","userProfile.userRank.member":"Member","verifyBotAnswer.confirmEndorse.accept":"Yes, endorse","verifyBotAnswer.confirmEndorse.cancel":"No, cancel","verifyBotAnswer.confirmEndorse.description":"Thank you for endorsing the answer","verifyBotAnswer.confirmEndorse.heading":"Endorse this answer"};const o=require("react").createContext(null);exports.TranslationsContext=o,exports.defaultTranslations=e;