@hhgtech/hhg-components 1.22.23-beta-1 → 1.22.24

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 (257) hide show
  1. package/build/{BMI_BOYS.percentile.monthly-7710bf7e.js → BMI_BOYS.percentile.monthly-e1af0e66.js} +0 -0
  2. package/build/{BMI_BOYS.percentile.weekly-65fc8f34.js → BMI_BOYS.percentile.weekly-75bff607.js} +0 -0
  3. package/build/{BMI_BOYS.percentile.yearly-a9092457.js → BMI_BOYS.percentile.yearly-a1a3d0ef.js} +0 -0
  4. package/build/{BMI_BOYS.zscore.monthly-790e83fa.js → BMI_BOYS.zscore.monthly-a175df2d.js} +0 -0
  5. package/build/{BMI_BOYS.zscore.weekly-0ae2dacf.js → BMI_BOYS.zscore.weekly-aba5d53b.js} +0 -0
  6. package/build/{BMI_BOYS.zscore.yearly-412208ab.js → BMI_BOYS.zscore.yearly-aafb7ce1.js} +0 -0
  7. package/build/{BMI_GIRLS.percentile.monthly-6958e16c.js → BMI_GIRLS.percentile.monthly-4c519db6.js} +0 -0
  8. package/build/{BMI_GIRLS.percentile.weekly-c699453c.js → BMI_GIRLS.percentile.weekly-aa3da5c1.js} +0 -0
  9. package/build/{BMI_GIRLS.percentile.yearly-5b4ad2bc.js → BMI_GIRLS.percentile.yearly-8561e48e.js} +0 -0
  10. package/build/{BMI_GIRLS.zscore.monthly-78fed4e1.js → BMI_GIRLS.zscore.monthly-849cbbe5.js} +0 -0
  11. package/build/{BMI_GIRLS.zscore.weekly-3fb4ca64.js → BMI_GIRLS.zscore.weekly-56e2c916.js} +0 -0
  12. package/build/{BMI_GIRLS.zscore.yearly-4da1e82a.js → BMI_GIRLS.zscore.yearly-eb9d49d1.js} +0 -0
  13. package/build/{HEAD CIRCUM_BOYS.percentile.monthly-52b83189.js → HEAD CIRCUM_BOYS.percentile.monthly-790479be.js} +0 -0
  14. package/build/{HEAD CIRCUM_BOYS.percentile.weekly-5599236f.js → HEAD CIRCUM_BOYS.percentile.weekly-923d3626.js} +0 -0
  15. package/build/{HEAD CIRCUM_BOYS.percentile.yearly-8a385338.js → HEAD CIRCUM_BOYS.percentile.yearly-b5aaa103.js} +0 -0
  16. package/build/{HEAD CIRCUM_BOYS.zscore.monthly-13e19166.js → HEAD CIRCUM_BOYS.zscore.monthly-bc73088f.js} +0 -0
  17. package/build/{HEAD CIRCUM_BOYS.zscore.weekly-b415d4da.js → HEAD CIRCUM_BOYS.zscore.weekly-f472daa8.js} +0 -0
  18. package/build/{HEAD CIRCUM_BOYS.zscore.yearly-4b6b15f9.js → HEAD CIRCUM_BOYS.zscore.yearly-d7a7b9df.js} +0 -0
  19. package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-23da0849.js → HEAD CIRCUM_GIRLS.percentile.monthly-24290dfb.js} +0 -0
  20. package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-99d8a91a.js → HEAD CIRCUM_GIRLS.percentile.weekly-0020f6e2.js} +0 -0
  21. package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-2ff9032a.js → HEAD CIRCUM_GIRLS.percentile.yearly-22dd615a.js} +0 -0
  22. package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-358a0f5d.js → HEAD CIRCUM_GIRLS.zscore.monthly-96a0f069.js} +0 -0
  23. package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e88948c8.js → HEAD CIRCUM_GIRLS.zscore.weekly-a0fa670d.js} +0 -0
  24. package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-98e35bfd.js → HEAD CIRCUM_GIRLS.zscore.yearly-02cf35f7.js} +0 -0
  25. package/build/{HEIGHT_BOYS.percentile.monthly-63fc22a5.js → HEIGHT_BOYS.percentile.monthly-e61c2896.js} +0 -0
  26. package/build/{HEIGHT_BOYS.percentile.weekly-0f72f842.js → HEIGHT_BOYS.percentile.weekly-71fb3532.js} +0 -0
  27. package/build/{HEIGHT_BOYS.percentile.yearly-3e3d2b8e.js → HEIGHT_BOYS.percentile.yearly-5156c057.js} +0 -0
  28. package/build/{HEIGHT_BOYS.zscore.monthly-3a09431b.js → HEIGHT_BOYS.zscore.monthly-910c2bd0.js} +0 -0
  29. package/build/{HEIGHT_BOYS.zscore.weekly-d5b43c51.js → HEIGHT_BOYS.zscore.weekly-70c18763.js} +0 -0
  30. package/build/{HEIGHT_BOYS.zscore.yearly-6c4c1303.js → HEIGHT_BOYS.zscore.yearly-bd97678c.js} +0 -0
  31. package/build/{HEIGHT_GIRLS.percentile.monthly-8cd0c651.js → HEIGHT_GIRLS.percentile.monthly-a7bf2e5d.js} +0 -0
  32. package/build/{HEIGHT_GIRLS.percentile.weekly-e6194b75.js → HEIGHT_GIRLS.percentile.weekly-b2628828.js} +0 -0
  33. package/build/{HEIGHT_GIRLS.percentile.yearly-facd57c6.js → HEIGHT_GIRLS.percentile.yearly-e00c3ffd.js} +0 -0
  34. package/build/{HEIGHT_GIRLS.zscore.monthly-6ed43edc.js → HEIGHT_GIRLS.zscore.monthly-3542327e.js} +0 -0
  35. package/build/{HEIGHT_GIRLS.zscore.weekly-1aa0131d.js → HEIGHT_GIRLS.zscore.weekly-7ed52595.js} +0 -0
  36. package/build/{HEIGHT_GIRLS.zscore.yearly-15380305.js → HEIGHT_GIRLS.zscore.yearly-4bbd497c.js} +0 -0
  37. package/build/{Locale-4f93f674.js → Locale-11b51016.js} +0 -0
  38. package/build/{WEIGHT_BOYS.percentile.monthly-e794b427.js → WEIGHT_BOYS.percentile.monthly-9966bfb1.js} +0 -0
  39. package/build/{WEIGHT_BOYS.percentile.weekly-5d953388.js → WEIGHT_BOYS.percentile.weekly-8b301e27.js} +0 -0
  40. package/build/{WEIGHT_BOYS.percentile.yearly-94f88ef3.js → WEIGHT_BOYS.percentile.yearly-c10eda77.js} +0 -0
  41. package/build/{WEIGHT_BOYS.zscore.monthly-dfcfde88.js → WEIGHT_BOYS.zscore.monthly-897fca0b.js} +0 -0
  42. package/build/{WEIGHT_BOYS.zscore.weekly-894e1ad4.js → WEIGHT_BOYS.zscore.weekly-0b1faf98.js} +0 -0
  43. package/build/{WEIGHT_BOYS.zscore.yearly-2ec54fe3.js → WEIGHT_BOYS.zscore.yearly-80018532.js} +0 -0
  44. package/build/{WEIGHT_GIRLS.percentile.monthly-316c1f2d.js → WEIGHT_GIRLS.percentile.monthly-822f3f97.js} +0 -0
  45. package/build/{WEIGHT_GIRLS.percentile.weekly-2f167112.js → WEIGHT_GIRLS.percentile.weekly-63c6a2a3.js} +0 -0
  46. package/build/{WEIGHT_GIRLS.percentile.yearly-21a07c8b.js → WEIGHT_GIRLS.percentile.yearly-8f44f763.js} +0 -0
  47. package/build/{WEIGHT_GIRLS.zscore.monthly-47b8924c.js → WEIGHT_GIRLS.zscore.monthly-86b583c7.js} +0 -0
  48. package/build/{WEIGHT_GIRLS.zscore.weekly-d36f2673.js → WEIGHT_GIRLS.zscore.weekly-29d8f232.js} +0 -0
  49. package/build/{WEIGHT_GIRLS.zscore.yearly-de8ab4da.js → WEIGHT_GIRLS.zscore.yearly-07eeb8b5.js} +0 -0
  50. package/build/babyGrowth.js +1 -1
  51. package/build/cache.js +1 -1
  52. package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
  53. package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
  54. package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
  55. package/build/care.js +1 -1
  56. package/build/components/atoms/heading/index.styled.d.ts +7 -0
  57. package/build/components/atoms/text/index.d.ts +2 -1
  58. package/build/components/atoms/text/index.styled.d.ts +1 -0
  59. package/build/components/mantine/spoiler/index.d.ts +2 -1
  60. package/build/components/molecules/articleCard/index.d.ts +2 -1
  61. package/build/components.js +1 -1
  62. package/build/{constants-e92c215c.js → constants-ca5ea110.js} +0 -0
  63. package/build/constants.js +1 -1
  64. package/build/{cookieHelper-4cd85be0.js → cookieHelper-3553173d.js} +0 -0
  65. package/build/core-27ea44f3.js +1 -0
  66. package/build/{dataTransform-77b837d9.js → dataTransform-a27830ef.js} +0 -0
  67. package/build/{defaultClassWrapper-d56b6c68.js → defaultClassWrapper-0eac7dff.js} +1 -1
  68. package/build/ecom.js +1 -1
  69. package/build/esm/{BMI_BOYS.percentile.monthly-2e696a37.js → BMI_BOYS.percentile.monthly-f524741d.js} +0 -0
  70. package/build/esm/{BMI_BOYS.percentile.weekly-0d2daf7b.js → BMI_BOYS.percentile.weekly-3e59e311.js} +0 -0
  71. package/build/esm/{BMI_BOYS.percentile.yearly-89b57ae3.js → BMI_BOYS.percentile.yearly-6d8de73b.js} +0 -0
  72. package/build/esm/{BMI_BOYS.zscore.monthly-1e213bce.js → BMI_BOYS.zscore.monthly-a1e3c494.js} +0 -0
  73. package/build/esm/{BMI_BOYS.zscore.weekly-922a3ce2.js → BMI_BOYS.zscore.weekly-71fe0115.js} +0 -0
  74. package/build/esm/{BMI_BOYS.zscore.yearly-1157db99.js → BMI_BOYS.zscore.yearly-09f20a36.js} +0 -0
  75. package/build/esm/{BMI_GIRLS.percentile.monthly-592c1276.js → BMI_GIRLS.percentile.monthly-001ea609.js} +0 -0
  76. package/build/esm/{BMI_GIRLS.percentile.weekly-bccdf666.js → BMI_GIRLS.percentile.weekly-e48d680c.js} +0 -0
  77. package/build/esm/{BMI_GIRLS.percentile.yearly-7ecfaa15.js → BMI_GIRLS.percentile.yearly-7df5fcbe.js} +0 -0
  78. package/build/esm/{BMI_GIRLS.zscore.monthly-f9a4b73b.js → BMI_GIRLS.zscore.monthly-5802a837.js} +0 -0
  79. package/build/esm/{BMI_GIRLS.zscore.weekly-aaf51a60.js → BMI_GIRLS.zscore.weekly-82f7aa14.js} +0 -0
  80. package/build/esm/{BMI_GIRLS.zscore.yearly-2a578b81.js → BMI_GIRLS.zscore.yearly-347ac14e.js} +0 -0
  81. package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-f51515a6.js → HEAD CIRCUM_BOYS.percentile.monthly-dbb676b7.js} +0 -0
  82. package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-3aa2ff9d.js → HEAD CIRCUM_BOYS.percentile.weekly-92a20a1c.js} +0 -0
  83. package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-75667fc5.js → HEAD CIRCUM_BOYS.percentile.yearly-284ffe85.js} +0 -0
  84. package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-47c95c9f.js → HEAD CIRCUM_BOYS.zscore.monthly-0518141a.js} +0 -0
  85. package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a24a7e23.js → HEAD CIRCUM_BOYS.zscore.weekly-58c98bc3.js} +0 -0
  86. package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-8d0d0fd8.js → HEAD CIRCUM_BOYS.zscore.yearly-0ab91f53.js} +0 -0
  87. package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-2ab00af9.js → HEAD CIRCUM_GIRLS.percentile.monthly-47ca419d.js} +0 -0
  88. package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-92cd9ba8.js → HEAD CIRCUM_GIRLS.percentile.weekly-0a80b339.js} +0 -0
  89. package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-14958f94.js → HEAD CIRCUM_GIRLS.percentile.yearly-2a9af33c.js} +0 -0
  90. package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-e539a6a6.js → HEAD CIRCUM_GIRLS.zscore.monthly-502454c8.js} +0 -0
  91. package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-a2d4add5.js → HEAD CIRCUM_GIRLS.zscore.weekly-81f96658.js} +0 -0
  92. package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-6e376a37.js → HEAD CIRCUM_GIRLS.zscore.yearly-d96c5d22.js} +0 -0
  93. package/build/esm/{HEIGHT_BOYS.percentile.monthly-57988671.js → HEIGHT_BOYS.percentile.monthly-46c82cfc.js} +0 -0
  94. package/build/esm/{HEIGHT_BOYS.percentile.weekly-399a32ed.js → HEIGHT_BOYS.percentile.weekly-452b6591.js} +0 -0
  95. package/build/esm/{HEIGHT_BOYS.percentile.yearly-7d2e4667.js → HEIGHT_BOYS.percentile.yearly-b69ee2b1.js} +0 -0
  96. package/build/esm/{HEIGHT_BOYS.zscore.monthly-fd1a40f6.js → HEIGHT_BOYS.zscore.monthly-9fd9d0b9.js} +0 -0
  97. package/build/esm/{HEIGHT_BOYS.zscore.weekly-9343538f.js → HEIGHT_BOYS.zscore.weekly-935edd5c.js} +0 -0
  98. package/build/esm/{HEIGHT_BOYS.zscore.yearly-131d9a7b.js → HEIGHT_BOYS.zscore.yearly-1feaa056.js} +0 -0
  99. package/build/esm/{HEIGHT_GIRLS.percentile.monthly-b9e6d848.js → HEIGHT_GIRLS.percentile.monthly-2954319e.js} +0 -0
  100. package/build/esm/{HEIGHT_GIRLS.percentile.weekly-b343a46f.js → HEIGHT_GIRLS.percentile.weekly-575d53c8.js} +0 -0
  101. package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8bd9e77c.js → HEIGHT_GIRLS.percentile.yearly-37b9afa9.js} +0 -0
  102. package/build/esm/{HEIGHT_GIRLS.zscore.monthly-6d6e1870.js → HEIGHT_GIRLS.zscore.monthly-eb51992f.js} +0 -0
  103. package/build/esm/{HEIGHT_GIRLS.zscore.weekly-30e8b6e0.js → HEIGHT_GIRLS.zscore.weekly-7292924a.js} +0 -0
  104. package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9c9cfe58.js → HEIGHT_GIRLS.zscore.yearly-60c98917.js} +0 -0
  105. package/build/esm/{Locale-dd73dff4.js → Locale-69030fff.js} +0 -0
  106. package/build/esm/{WEIGHT_BOYS.percentile.monthly-4dfe47c6.js → WEIGHT_BOYS.percentile.monthly-9e94fae6.js} +0 -0
  107. package/build/esm/{WEIGHT_BOYS.percentile.weekly-4fcbd29d.js → WEIGHT_BOYS.percentile.weekly-a43c4530.js} +0 -0
  108. package/build/esm/{WEIGHT_BOYS.percentile.yearly-c26fadba.js → WEIGHT_BOYS.percentile.yearly-23512fa8.js} +0 -0
  109. package/build/esm/{WEIGHT_BOYS.zscore.monthly-c0a368ef.js → WEIGHT_BOYS.zscore.monthly-c1471d63.js} +0 -0
  110. package/build/esm/{WEIGHT_BOYS.zscore.weekly-2377a180.js → WEIGHT_BOYS.zscore.weekly-7419ed62.js} +0 -0
  111. package/build/esm/{WEIGHT_BOYS.zscore.yearly-a1121a0e.js → WEIGHT_BOYS.zscore.yearly-c9e3c050.js} +0 -0
  112. package/build/esm/{WEIGHT_GIRLS.percentile.monthly-885672cd.js → WEIGHT_GIRLS.percentile.monthly-e5e8908b.js} +0 -0
  113. package/build/esm/{WEIGHT_GIRLS.percentile.weekly-af4dc603.js → WEIGHT_GIRLS.percentile.weekly-3942d908.js} +0 -0
  114. package/build/esm/{WEIGHT_GIRLS.percentile.yearly-78930bb8.js → WEIGHT_GIRLS.percentile.yearly-18fa4dc9.js} +0 -0
  115. package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9ff056b3.js → WEIGHT_GIRLS.zscore.monthly-9d865314.js} +0 -0
  116. package/build/esm/{WEIGHT_GIRLS.zscore.weekly-90c4ebdc.js → WEIGHT_GIRLS.zscore.weekly-c824c3a7.js} +0 -0
  117. package/build/esm/{WEIGHT_GIRLS.zscore.yearly-72954fb2.js → WEIGHT_GIRLS.zscore.yearly-0409e36d.js} +0 -0
  118. package/build/esm/babyGrowth.js +1 -1
  119. package/build/esm/cache.js +1 -1
  120. package/build/esm/care.js +1 -1
  121. package/build/esm/components.js +1 -1
  122. package/build/esm/{constants-a60ad144.js → constants-a0a981fa.js} +0 -0
  123. package/build/esm/constants.js +1 -1
  124. package/build/esm/{cookieHelper-ef9db121.js → cookieHelper-8c12973e.js} +0 -0
  125. package/build/esm/{core-e0b59a71.js → core-8c1d445f.js} +1 -1
  126. package/build/esm/{dataTransform-9043eced.js → dataTransform-28541f72.js} +0 -0
  127. package/build/esm/defaultClassWrapper-27a74473.js +1 -0
  128. package/build/esm/ecom.js +1 -1
  129. package/build/esm/footer.js +1 -1
  130. package/build/esm/gAssets.js +1 -1
  131. package/build/esm/{getDynamicHealthTool-c0ce5be2.js → getDynamicHealthTool-8e66f8a7.js} +1 -1
  132. package/build/esm/{getSocialList-a1642f17.js → getSocialList-6e11d024.js} +1 -1
  133. package/build/esm/hooks.js +1 -1
  134. package/build/esm/i18n.js +1 -1
  135. package/build/esm/index-06b0427f.js +1 -0
  136. package/build/esm/{index-c177c117.js → index-20a09f62.js} +1 -1
  137. package/build/esm/{index-d9060f74.js → index-5066858f.js} +1 -1
  138. package/build/esm/{index-f29fd5fe.js → index-550f04ea.js} +1 -1
  139. package/build/esm/{index-5c10973f.js → index-62c22dbe.js} +1 -1
  140. package/build/esm/{index-ec220313.js → index-6b0eef49.js} +1 -1
  141. package/build/esm/{index-8099bdd7.js → index-71a7683a.js} +1 -1
  142. package/build/esm/{index-6c974cb4.js → index-77b3fdc2.js} +1 -1
  143. package/build/esm/{index-6e83230f.js → index-a0d0d5fa.js} +1 -1
  144. package/build/esm/index-a0e2043c.js +1 -0
  145. package/build/esm/{index-b509b48c.js → index-a1a50ff8.js} +1 -1
  146. package/build/esm/{index-6940d93a.js → index-a8d73207.js} +1 -1
  147. package/build/esm/index-aca74507.js +1 -0
  148. package/build/esm/{index-aeb16c55.js → index-bbc3936f.js} +1 -1
  149. package/build/esm/{index-a52c8eea.js → index-bfb83ce8.js} +1 -1
  150. package/build/esm/{index-d26e1a93.js → index-c2f532a6.js} +1 -1
  151. package/build/esm/{index-59e397d5.js → index-d20231b7.js} +1 -1
  152. package/build/esm/{index-34c8a226.js → index-d37a2be4.js} +1 -1
  153. package/build/esm/index-e675632b.js +1 -0
  154. package/build/esm/index-f6682634.js +1 -0
  155. package/build/esm/index.js +1 -1
  156. package/build/esm/{index.styled-3215d940.js → index.styled-ed780131.js} +1 -1
  157. package/build/esm/{isProduction-c64058ab.js → isProduction-6fc0946c.js} +0 -0
  158. package/build/esm/{lazyLoad-fd57057d.js → lazyLoad-59e8ff6d.js} +0 -0
  159. package/build/esm/lead.js +1 -1
  160. package/build/esm/{localizeNumberFormat-d8803d28.js → localizeNumberFormat-ec8c08da.js} +0 -0
  161. package/build/esm/mantine.js +1 -1
  162. package/build/esm/misc.js +1 -1
  163. package/build/esm/navigation.js +1 -1
  164. package/build/esm/pwg.js +1 -1
  165. package/build/esm/routing-f5958830.js +1 -0
  166. package/build/esm/{screenSizeContext-dd6a9356.js → screenSizeContext-ff96a3d1.js} +1 -1
  167. package/build/esm/{theme-e755818a.js → theme-13d11d67.js} +0 -0
  168. package/build/esm/together.js +1 -1
  169. package/build/esm/{translationsContext-a9f4095d.js → translationsContext-e7808c8f.js} +0 -0
  170. package/build/esm/{translationsProvider-e99cddd1.js → translationsProvider-c27099c7.js} +1 -1
  171. package/build/esm/{tslib.es6-8d81858b.js → tslib.es6-2fa94e2c.js} +0 -0
  172. package/build/esm/types-6900037f.js +1 -0
  173. package/build/esm/{types-bd785123.js → types-f21fa40d.js} +1 -1
  174. package/build/esm/{types-8d2b9d20.js → types-f57c9932.js} +0 -0
  175. package/build/esm/types.js +1 -1
  176. package/build/esm/{useFbDataLayer-5de899c5.js → useFbDataLayer-f97c847d.js} +1 -1
  177. package/build/esm/useHealthToolCache-cfd4900b.js +1 -0
  178. package/build/esm/{useOutsideClick-bce0bebe.js → useOutsideClick-6004483a.js} +0 -0
  179. package/build/esm/{useScrollbarSize-142e9514.js → useScrollbarSize-99db33e1.js} +0 -0
  180. package/build/esm/{useTranslations-35f81159.js → useTranslations-b3eb31ef.js} +1 -1
  181. package/build/esm/{utils-a3eccc66.js → utils-40d4438f.js} +0 -0
  182. package/build/footer.js +1 -1
  183. package/build/gAssets.js +1 -1
  184. package/build/{getDynamicHealthTool-a53a4a27.js → getDynamicHealthTool-5794ef69.js} +1 -1
  185. package/build/{getSocialList-e1b4fd6d.js → getSocialList-7fd6363b.js} +1 -1
  186. package/build/hooks.js +1 -1
  187. package/build/i18n.js +1 -1
  188. package/build/{index-f1c3ae62.js → index-10ede9ab.js} +1 -1
  189. package/build/{index-fcaa2ed2.js → index-186b627d.js} +1 -1
  190. package/build/{index-459af007.js → index-2657dba3.js} +1 -1
  191. package/build/index-4338f5f7.js +1 -0
  192. package/build/{index-382f406a.js → index-4f2fe9a1.js} +1 -1
  193. package/build/{index-f7938c0f.js → index-57503957.js} +1 -1
  194. package/build/index-5830eec7.js +1 -0
  195. package/build/{index-927bf2de.js → index-6193a08c.js} +1 -1
  196. package/build/{index-fe4feb64.js → index-76dc603c.js} +1 -1
  197. package/build/{index-1d27876d.js → index-7d3b086d.js} +1 -1
  198. package/build/{index-d330177a.js → index-8ddc0bb9.js} +1 -1
  199. package/build/{index-9b1e47c1.js → index-9b944f11.js} +1 -1
  200. package/build/{index-8fe9ccb5.js → index-9f3366ff.js} +1 -1
  201. package/build/{index-c66bebf5.js → index-ad7a9909.js} +1 -1
  202. package/build/{index-2e849782.js → index-b63d6868.js} +1 -1
  203. package/build/index-bcf92e8b.js +1 -0
  204. package/build/{index-22cba26f.js → index-cbc786e1.js} +1 -1
  205. package/build/{index-a900aa3a.js → index-d632029d.js} +1 -1
  206. package/build/{index-5c80bfbd.js → index-f13a976e.js} +1 -1
  207. package/build/index-f50d4c63.js +1 -0
  208. package/build/index.js +1 -1
  209. package/build/{index.styled-b696d6e6.js → index.styled-5df734b4.js} +1 -1
  210. package/build/interfaces/constants/site.d.ts +1 -0
  211. package/build/{isProduction-5b39233d.js → isProduction-32e6a55a.js} +0 -0
  212. package/build/{lazyLoad-8803a3f4.js → lazyLoad-f5c59bb0.js} +0 -0
  213. package/build/lead.js +1 -1
  214. package/build/{localizeNumberFormat-41a877ee.js → localizeNumberFormat-155e5aec.js} +0 -0
  215. package/build/mantine.js +1 -1
  216. package/build/misc.js +1 -1
  217. package/build/navigation.js +1 -1
  218. package/build/pwg.js +1 -1
  219. package/build/routing-99cb7fb3.js +1 -0
  220. package/build/{screenSizeContext-311b9fbc.js → screenSizeContext-00584173.js} +1 -1
  221. package/build/{theme-ebb891e6.js → theme-b4bf0ca3.js} +0 -0
  222. package/build/together/components/atoms/cardReactions/index.styled.d.ts +1 -1
  223. package/build/together.js +1 -1
  224. package/build/{translationsContext-fcc59b03.js → translationsContext-9e231a88.js} +0 -0
  225. package/build/{translationsProvider-051d37ae.js → translationsProvider-e8f5d92d.js} +1 -1
  226. package/build/{tslib.es6-2f75f708.js → tslib.es6-e6f346c4.js} +0 -0
  227. package/build/{types-5b56db30.js → types-2b3bdf79.js} +0 -0
  228. package/build/{types-1947d2b5.js → types-3b6a052c.js} +1 -1
  229. package/build/types-78c6144e.js +1 -0
  230. package/build/types.js +1 -1
  231. package/build/{useFbDataLayer-6688c912.js → useFbDataLayer-dbcf5c0c.js} +1 -1
  232. package/build/useHealthToolCache-99b7a2a8.js +1 -0
  233. package/build/{useOutsideClick-fe2c614a.js → useOutsideClick-528bfd6c.js} +0 -0
  234. package/build/{useScrollbarSize-37732e88.js → useScrollbarSize-586f6706.js} +0 -0
  235. package/build/useTranslations-00120db0.js +1 -0
  236. package/build/{utils-24e577aa.js → utils-43f2c752.js} +0 -0
  237. package/package.json +9 -27
  238. package/build/core-a36ae6c7.js +0 -1
  239. package/build/esm/defaultClassWrapper-a26097d6.js +0 -1
  240. package/build/esm/index-0741fd00.js +0 -1
  241. package/build/esm/index-354ad393.js +0 -1
  242. package/build/esm/index-98048bd8.js +0 -1
  243. package/build/esm/index-b827cd72.js +0 -1
  244. package/build/esm/index-d69d4d15.js +0 -1
  245. package/build/esm/index.css +0 -2
  246. package/build/esm/routing-7cabc4cc.js +0 -1
  247. package/build/esm/types-c1ddeda2.js +0 -1
  248. package/build/esm/useHealthToolCache-37d84b36.js +0 -1
  249. package/build/index-35147012.js +0 -1
  250. package/build/index-92fff9b0.js +0 -1
  251. package/build/index-9ff56c77.js +0 -1
  252. package/build/index-b6ae861d.js +0 -1
  253. package/build/index.css +0 -2
  254. package/build/routing-789f2197.js +0 -1
  255. package/build/types-0b60b5a1.js +0 -1
  256. package/build/useHealthToolCache-522535b8.js +0 -1
  257. package/build/useTranslations-1d0992cc.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-e6f346c4.js"),t=require("react"),n=require("./constants-ca5ea110.js"),a=require("./index-5830eec7.js"),i=require("./cookieHelper-3553173d.js"),o=require("./useTranslations-00120db0.js"),r=require("lodash/debounce"),l=require("./index-9f3366ff.js"),s=require("styled-components"),c=require("./index-f50d4c63.js"),u=require("./theme-b4bf0ca3.js"),d=require("react-loading-skeleton"),p=require("./utils-43f2c752.js"),h=require("lodash/shuffle"),f=require("./useOutsideClick-528bfd6c.js"),g=require("string-format");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var C=m(t),v=m(r),x=m(s),b=m(d),y=m(h),_=m(g);var w,E,k,L,S,T,O,I,M,R,A,N,P=x.default.div(w||(w=e.__makeTemplateObject([""],[""]))),F=x.default.div(E||(E=e.__makeTemplateObject(["\n --searchbar-z-index: 305;\n &[data-is-modal='true'] {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n height: var(--mobile-care-searchbar-height, 100%);\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n background-color: white;\n z-index: var(--searchbar-z-index);\n }\n"],["\n --searchbar-z-index: 305;\n &[data-is-modal='true'] {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n height: var(--mobile-care-searchbar-height, 100%);\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n background-color: white;\n z-index: var(--searchbar-z-index);\n }\n"]))),z=x.default.section(k||(k=e.__makeTemplateObject([""],[""]))),j=x.default.input(L||(L=e.__makeTemplateObject(["\n position: fixed;\n left: -100%;\n top: -100%;\n"],["\n position: fixed;\n left: -100%;\n top: -100%;\n"]))),B=x.default(l.Input)(S||(S=e.__makeTemplateObject(["\n #booking-search-bar & {\n input {\n font-size: 16px;\n }\n }\n"],["\n #booking-search-bar & {\n input {\n font-size: 16px;\n }\n }\n"]))),D=s.createGlobalStyle(T||(T=e.__makeTemplateObject(["\n .care-popup-open {\n overflow: hidden;\n position: fixed;\n &::before {\n content: '';\n inset: 0;\n position: absolute;\n background-color: white;\n min-height: 100vh;\n min-width: 100vw;\n z-index: 2;\n }\n }\n"],["\n .care-popup-open {\n overflow: hidden;\n position: fixed;\n &::before {\n content: '';\n inset: 0;\n position: absolute;\n background-color: white;\n min-height: 100vh;\n min-width: 100vw;\n z-index: 2;\n }\n }\n"]))),H=function(e){var t=e.className,n=e.color;return C.default.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C.default.createElement("path",{d:"M18 6L6 18",stroke:n||"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),C.default.createElement("path",{d:"M6 6L18 18",stroke:n||"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},V=function(e){var t=e.className,n=e.color;return C.default.createElement("svg",{width:"14",height:"20",viewBox:"0 0 14 20",className:t},C.default.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:n||"currentColor"}))},K=function(e){var t=e.className,n=e.color;return C.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:t},C.default.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:n||"currentColor"}))},Z=function(e){var t=e.className,n=e.color;return C.default.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C.default.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:n||"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.default.createElement("path",{d:"M20 20L16 16",stroke:n||"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},G=function(e){var t=e.width,n=e.height;return C.default.createElement("svg",{width:t||30,height:n||30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C.default.createElement("circle",{cx:"15",cy:"15",r:"15",fill:"#F7F9FC"}))},U=x.default.li(O||(O=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 8px 16px;\n\n > :first-child {\n flex: 1;\n }\n\n > :nth-child(2) {\n flex: 6;\n }\n\n & + li::before {\n content: '';\n position: absolute;\n left: 18px;\n right: 18px;\n top: 0;\n height: 1px;\n background-color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 8px 16px;\n\n > :first-child {\n flex: 1;\n }\n\n > :nth-child(2) {\n flex: 6;\n }\n\n & + li::before {\n content: '';\n position: absolute;\n left: 18px;\n right: 18px;\n top: 0;\n height: 1px;\n background-color: ",";\n }\n"])),u.theme.colors.neutral100),q=x.default.div(I||(I=e.__makeTemplateObject(["\n display: flex;\n position: absolute;\n top: 48px;\n min-width: 100%;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n background-color: white;\n z-index: 30;\n\n "," {\n position: relative;\n top: 0;\n box-shadow: initial;\n }\n"],["\n display: flex;\n position: absolute;\n top: 48px;\n min-width: 100%;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n background-color: white;\n z-index: 30;\n\n "," {\n position: relative;\n top: 0;\n box-shadow: initial;\n }\n"])),p.MediaQueries.mbDown),Q=x.default.ul(M||(M=e.__makeTemplateObject(["\n width: 100%;\n max-height: 600px;\n overflow-y: auto;\n"],["\n width: 100%;\n max-height: 600px;\n overflow-y: auto;\n"]))),W=x.default(V)(R||(R=e.__makeTemplateObject(["\n width: 12px;\n height: 18px;\n"],["\n width: 12px;\n height: 18px;\n"]))),Y=x.default.li(A||(A=e.__makeTemplateObject(["\n position: relative;\n cursor: pointer;\n padding: 12px 18px;\n display: flex;\n align-items: center;\n gap: 14px;\n overflow: hidden;\n\n ","\n\n & + li::before {\n content: '';\n position: absolute;\n left: 18px;\n right: 18px;\n top: 0;\n height: 1px;\n background-color: ",";\n }\n\n &:not([data-is-denied='true']):hover {\n background-color: ",";\n }\n\n &:last-child:hover {\n border-bottom-right-radius: 6px;\n border-bottom-left-radius: 6px;\n }\n\n &:first-child:hover {\n border-top-right-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-is-denied='true'] {\n cursor: not-allowed;\n }\n"],["\n position: relative;\n cursor: pointer;\n padding: 12px 18px;\n display: flex;\n align-items: center;\n gap: 14px;\n overflow: hidden;\n\n ","\n\n & + li::before {\n content: '';\n position: absolute;\n left: 18px;\n right: 18px;\n top: 0;\n height: 1px;\n background-color: ",";\n }\n\n &:not([data-is-denied='true']):hover {\n background-color: ",";\n }\n\n &:last-child:hover {\n border-bottom-right-radius: 6px;\n border-bottom-left-radius: 6px;\n }\n\n &:first-child:hover {\n border-top-right-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-is-denied='true'] {\n cursor: not-allowed;\n }\n"])),(function(e){return e.isSelected&&"\n &::after {\n content: ".concat("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 ")}),u.theme.colors.neutral100,u.theme.colors.neutral50),J=x.default((function(t){var n=t.count,a=t.className;return C.default.createElement(C.default.Fragment,null,e.__spreadArray([],Array(n),!0).map((function(e,t){return C.default.createElement(U,{className:a,key:t},C.default.createElement(b.default,{count:1,height:32}),C.default.createElement(b.default,{count:1,height:24}))})))}))(N||(N=e.__makeTemplateObject(["\n &:first-child {\n padding-top: 18px;\n }\n"],["\n &:first-child {\n padding-top: 18px;\n }\n"]))),X=function(e){var t=e.cities,n=e.isLoading,a=e.onLocationClick,i=e.onCurrentLocationClick,r=e.geoLocationPermission,l=void 0===r?"unset":r,s=e.isLocationLoading,d=e.selectedLocation,p=o.useTranslations().t,h="denied"===l,f=function(){return C.default.createElement(Y,{role:"button",tabIndex:0,onClick:function(e){h||(e.nativeEvent.stopImmediatePropagation(),s||i())},"data-is-denied":h},h?C.default.createElement(c.Text,{color:"var(--gray600)",size:"md"},"x"):s?C.default.createElement(b.default,{height:20,width:20}):C.default.createElement(K,{color:u.theme.colors.primaryBase}),C.default.createElement("div",null,h?C.default.createElement(c.Text,{color:"var(--gray600)",size:"sm",style:{lineHeight:1.5}},p("booking.searchBar.grantLocation")):s?C.default.createElement(b.default,{height:20,style:{width:"calc(100% - 16px)"}}):C.default.createElement(c.Text,{size:"md"},p("booking.searchBar.useCurrentLocation"))))};return C.default.createElement(q,{"data-testid":"location-search-results"},C.default.createElement(Q,null,n?C.default.createElement(J,{count:5}):!t||t.length<1?C.default.createElement(C.default.Fragment,null,f(),C.default.createElement(Y,{"data-is-denied":"true"},C.default.createElement(c.Text,{size:"sm",color:"#ccc"},p("booking.searchBar.noResults")))):C.default.createElement(C.default.Fragment,null,f(),t.map((function(e){return C.default.createElement(Y,{key:e.id,onClick:function(t){t.nativeEvent.stopImmediatePropagation(),a&&a(e)},role:"button",tabIndex:0,"aria-label":"Select ".concat(e.name," as location"),isSelected:(null==d?void 0:d.id)===e.id},C.default.createElement(W,{color:u.theme.colors.neutral400}),C.default.createElement(c.Text,{size:"md"},e.name))})))))},$="TYPE_CHARACTER",ee="REMOVE_CHARACTER",te="REMOVE_ALL",ne="REMOVE_LAST_VISIBLE_NODE",ae="PAUSE_FOR",ie="CHANGE_DELETE_SPEED",oe="CHANGE_DELAY",re="PASTE_STRING",le=function(e,t){return Math.floor(Math.random()*(t-e+1))+e},se="TEXT_NODE",ce=function(){function t(t){var n=this;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=function(){return n.state.eventLoopPaused=!1,n.runEventLoop(),n},this.pause=function(){return n.state.eventLoopPaused=!0,n},this.stop=function(){return n.state.eventLoop&&(window.cancelAnimationFrame(n.state.eventLoop),n.state.eventLoop=null),n},this.pauseFor=function(e){return n.addEventToQueue(ae,{ms:e}),n},this.typeOutAllStrings=function(){return"string"==typeof n.options.strings?(n.typeString(n.options.strings).pauseFor(n.options.pauseFor),n):(n.options.strings.forEach((function(e){n.typeString(e).pauseFor(n.options.pauseFor).deleteAll(n.options.deleteSpeed)})),n)},this.typeString=function(e,t){if(void 0===t&&(t=null),e){var a=(n.options||{}).stringSplitter,i="function"==typeof a?a(e):e.split("");n.typeCharacters(i,t)}return n},this.pasteString=function(e,t){return void 0===t&&(t=null),e&&n.addEventToQueue(re,{character:e,node:t}),n},this.deleteAll=function(e){return void 0===e&&(e="natural"),n.addEventToQueue(te,{speed:e}),n},this.changeDeleteSpeed=function(e){if(!e)throw new Error("Must provide new delete speed");return n.addEventToQueue(ie,{speed:e}),n},this.changeDelay=function(e){if(!e)throw new Error("Must provide new delay");return n.addEventToQueue(oe,{delay:e}),n},this.deleteChars=function(e){if(!e)throw new Error("Must provide amount of characters to delete");for(var t=0;t<e;t++)n.addEventToQueue(ee);return n},this.typeCharacters=function(e,t){if(void 0===t&&(t=null),!e||!Array.isArray(e))throw new Error("Characters must be an array");return e.forEach((function(e){n.addEventToQueue($,{character:e,node:t})})),n},this.removeCharacters=function(e){if(!e||!Array.isArray(e))throw new Error("Characters must be an array");return e.forEach((function(){n.addEventToQueue(ee)})),n},this.addEventToQueue=function(e,t,a){return void 0===a&&(a=!1),n.addEventToStateProperty(e,t,a,"eventQueue")},this.addReverseCalledEvent=function(e,t,a){return void 0===a&&(a=!1),n.options.loop?n.addEventToStateProperty(e,t,a,"reverseCalledEvents"):n},this.addEventToStateProperty=function(t,a,i,o){void 0===i&&(i=!1);var r={eventName:t,eventArgs:a||{}};return n.state[o]=i?e.__spreadArray([r],n.state[o],!0):e.__spreadArray(e.__spreadArray([],n.state[o],!0),[r],!1),n},this.runEventLoop=function(){n.state.lastFrameTime||(n.state.lastFrameTime=Date.now());var t=Date.now(),a=t-n.state.lastFrameTime;if(!n.state.eventQueue.length){if(!n.options.loop)return;n.state.eventQueue=e.__spreadArray([],n.state.calledEvents,!0),n.state.calledEvents=[],n.options=e.__assign({},n.state.initialOptions)}if(n.state.eventLoop=window.requestAnimationFrame(n.runEventLoop),!n.state.eventLoopPaused){if(n.state.pauseUntil){if(t<n.state.pauseUntil)return;n.state.pauseUntil=null}var i=e.__spreadArray([],n.state.eventQueue,!0),o=i.shift();if(!(a<=(o.eventName===ne||o.eventName===ee?"natural"===n.options.deleteSpeed?le(40,80):n.options.deleteSpeed:"natural"===n.options.delay?le(120,160):n.options.delay))){var r=o.eventName,l=o.eventArgs;switch(r){case re:case $:var s=l.character,c=document.createTextNode(s),u=c;n.options.onCreateTextNode&&"function"==typeof n.options.onCreateTextNode&&(u=n.options.onCreateTextNode(s,c)),n.state.visibleNodes=e.__spreadArray(e.__spreadArray([],n.state.visibleNodes,!0),[{type:se,character:s,node:u}],!1);break;case ee:i.unshift({eventName:ne,eventArgs:{removingCharacterNode:!0}});break;case ae:var d=o.eventArgs.ms;n.state.pauseUntil=Date.now()+parseInt(d);break;case te:var p=n.state.visibleNodes,h=l.speed,f=[];h&&f.push({eventName:ie,eventArgs:{speed:h,temp:!0}});for(var g=0,m=p.length;g<m;g++)f.push({eventName:ne,eventArgs:{removingCharacterNode:!1}});h&&f.push({eventName:ie,eventArgs:{speed:n.options.deleteSpeed,temp:!0}}),i.unshift.apply(i,f);break;case ne:if(n.state.visibleNodes.length){var C=n.state.visibleNodes.pop(),v=C.node;s=C.character;n.options.onRemoveNode&&"function"==typeof n.options.onRemoveNode&&n.options.onRemoveNode({node:v,character:s}),v&&v.parentNode.removeChild(v)}break;case ie:n.options.deleteSpeed=o.eventArgs.speed;break;case oe:n.options.delay=o.eventArgs.delay}n.options.loop&&(o.eventName===ne||o.eventArgs&&o.eventArgs.temp||(n.state.calledEvents=e.__spreadArray(e.__spreadArray([],n.state.calledEvents,!0),[o],!1))),n.state.eventQueue=i,n.state.lastFrameTime=t}}},t&&(this.options=e.__assign(e.__assign({},this.options),t)),this.state.initialOptions=e.__assign({},this.options),this.init()}return t.prototype.init=function(){this.addEventToQueue(te,null,!0),!0===this.options.autoStart&&this.options.strings&&this.typeOutAllStrings().start()},t}();function ue(e){var n=e.inputRef,a=e.wrapperRef,i=e.disabled,r=o.useTranslations(),l=r.t,s=r.locale,c=t.useMemo((function(){if(i)return[];var e=["booking.searchBar.placeholder.hospital","booking.searchBar.placeholder.doctor"];return"zh-TW"!==s&&e.push("booking.searchBar.placeholder.specialty","booking.searchBar.placeholder.service"),y.default(e).map((function(e){return l(e)}))}),[l,s]);function u(e){var t=p();return t&&(t.placeholder=t.placeholder+e),null}function d(){var e=p();e&&(e.placeholder=e.placeholder.slice(0,-1))}function p(){return n&&n.current?n.current:a&&a.current&&a.current.querySelector("input")||null}t.useEffect((function(){if(!i){var e=p();e&&(e.placeholder="",new ce({strings:c,autoStart:!0,loop:!0,delay:32,deleteSpeed:32,pauseFor:1500,onCreateTextNode:u,onRemoveNode:d}))}}),[n,a])}var de,pe=x.default.div(de||(de=e.__makeTemplateObject(["\n user-select: none;\n input {\n pointer-events: none;\n background-color: white;\n }\n"],["\n user-select: none;\n input {\n pointer-events: none;\n background-color: white;\n }\n"])));function he(n){var a=n.focused,i=n.value,r=void 0===i?"":i,l=n.onClick,s=n.trackingAttributes,c=n.inputSearchPlaceholder,d=o.useTranslations().t,p=t.useRef(null);ue({wrapperRef:p,disabled:!!c});var h=t.useMemo((function(){return s?{"data-event-category":s.dataEventCategory,"data-event-action":s.dataEventAction,"data-event-label":s.dataEventLabel}:{}}),[s]);return C.default.createElement(pe,e.__assign({onClick:function(){return l&&l()},ref:p},h),C.default.createElement(B,{inputClassName:"location"===a?"focused":void 0,name:"booking-search-placeholder",displayIcon:C.default.createElement(Z,{color:u.theme.colors.gray400}),placeholder:d("booking.searchBar.searchInput.placeholder"),value:r,size:"md"}))}var fe,ge,me,Ce,ve,xe,be=x.default.header(fe||(fe=e.__makeTemplateObject(["\n display: flex;\n height: 64px;\n align-items: center;\n justify-content: space-between;\n margin: 0 auto;\n position: sticky;\n z-index: 99;\n background-color: white;\n top: 0;\n left: 0;\n"],["\n display: flex;\n height: 64px;\n align-items: center;\n justify-content: space-between;\n margin: 0 auto;\n position: sticky;\n z-index: 99;\n background-color: white;\n top: 0;\n left: 0;\n"]))),ye=x.default.div(ge||(ge=e.__makeTemplateObject(["\n display: inline-flex;\n flex: 1;\n justify-content: flex-end;\n cursor: pointer;\n text-decoration: underline;\n"],["\n display: inline-flex;\n flex: 1;\n justify-content: flex-end;\n cursor: pointer;\n text-decoration: underline;\n"]))),_e=x.default.div(me||(me=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-left: 16px;\n cursor: pointer;\n"],["\n display: flex;\n align-items: center;\n margin-left: 16px;\n cursor: pointer;\n"]))),we=x.default.div(Ce||(Ce=e.__makeTemplateObject(["\n width: 100%;\n margin-left: 24px;\n"],["\n width: 100%;\n margin-left: 24px;\n"]))),Ee=x.default(c.Text)(ve||(ve=e.__makeTemplateObject(["\n color: ",";\n text-align: start;\n"],["\n color: ",";\n text-align: start;\n"])),u.theme.colors.secondaryDark),ke=function(e){var t=e.className,n=e.onLeftClick,a=e.headingText,i=e.onRightClick,o=e.iconLeft,r=e.textRight;return C.default.createElement(be,{className:t},C.default.createElement(_e,{onClick:n},o||C.default.createElement(H,{color:u.theme.colors.gray800})),C.default.createElement(we,null,C.default.createElement(Ee,{size:"md",type:"bold"},a)),C.default.createElement(ye,{onClick:i},r&&C.default.createElement("p",null,r)))},Le={"en-PH":3,"tl-PH":2,"id-ID":3,"vi-VN":2,"zh-TW":0},Se={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"};function Te(t){var n=t.selectedLocation,a=t.searchLocationKeywords;return n&&a!==n.name?e.__assign(e.__assign({},t),{searchLocationKeywords:n.name}):t}function Oe(t,a){var i;switch(t.isDebug&&console.log("bookingSearchBar",{action:a,state:t}),a.type){case xe.NavigateTo:return e.__assign(e.__assign({},t),{navigateTo:a.payload,focused:"none",isMobileModalOpened:!1});case xe.ClickOutsideInputLocation:return t.isMobile||"location"!==t.focused?t:Te(e.__assign(e.__assign({},t),{focused:"none"}));case xe.ClickOutsideInputSearch:return t.isMobile||"search"!==t.focused?t:e.__assign(e.__assign({},t),{focused:"none"});case xe.FocusInputLocation:var o=e.__assign(e.__assign({},t),{focused:"location"});return(null===(i=t.selectedLocation)||void 0===i?void 0:i.id)===n.ID_OPTION_CURRENT_LOCATION&&(o.searchLocationKeywords=""),o;case xe.FocusInputSearch:var r=e.__assign(e.__assign({},t),{focused:"search"});return t.isMobile?Te(r):r;case xe.ChangeInputLocation:return e.__assign(e.__assign({},t),{searchLocationKeywords:a.payload});case xe.ChangeInputSearch:var l=a.payload;return e.__assign(e.__assign({},t),{searchKeywords:l,isLoadingSearchResults:l.trim().length>Le[t.locale]});case xe.SelectCurrentLocation:return e.__assign(e.__assign({},t),{focused:"none",selectedLocation:a.payload,searchLocationKeywords:a.payload.name});case xe.ClearInputLocation:return e.__assign(e.__assign({},t),{focused:"location",cities:t.initialCities,searchLocationKeywords:""});case xe.ClearInputSearch:return e.__assign(e.__assign({},t),{focused:"search",searchKeywords:""});case xe.SelectLocation:return e.__assign(e.__assign({},t),{focused:"none",selectedLocation:a.payload,searchLocationKeywords:a.payload.name});case xe.SelectSearchResult:return e.__assign(e.__assign({},t),{searchKeywords:a.payload.name,isMobileModalOpened:!1,focused:"none",navigateTo:a.payload.url});case xe.FetchCitiesStart:return e.__assign(e.__assign({},t),{isLoadingCities:!0});case xe.FetchCitiesFinish:return e.__assign(e.__assign({},t),{isLoadingCities:!1});case xe.FetchSearchResultsStart:return e.__assign(e.__assign({},t),{isLoadingSearchResults:!0});case xe.FetchSearchResultsFinish:return e.__assign(e.__assign({},t),{isLoadingSearchResults:!1});case xe.FetchSearchResultsComplete:var s=e.__assign(e.__assign({},t),{searchResults:a.payload});return 0===t.initialSearchResults.length&&(s.initialSearchResults=a.payload),s;case xe.FetchCitiesByGeoIpComplete:var c=a.payload.cities,u=a.payload.default;(c=c.filter((function(e){return e.id!==u.id}))).unshift(u),t.initialSelectedCity&&!c.find((function(e){return e.id===t.initialSelectedCity.id}))&&c.unshift(t.initialSelectedCity);var d=e.__assign(e.__assign({},t),{defaultCity:u,initialCities:c,cities:c});return"denied"!==t.geoLocationPermission||t.initialSelectedCity||(d.selectedLocation=u,d.searchLocationKeywords=u.name),d;case xe.FetchCitiesByKeywordComplete:return e.__assign(e.__assign({},t),{cities:a.payload});case xe.DisplayInitialCities:return e.__assign(e.__assign({},t),{cities:t.initialCities});case xe.DisplayInitialSearchResults:return e.__assign(e.__assign({},t),{searchResults:t.initialSearchResults,isLoadingSearchResults:!1});case xe.GrantGeoLocationPermission:return e.__assign(e.__assign({},t),{geoLocationPermission:"granted",geoLocationCoordinates:a.payload});case xe.DenyGeoLocationPermission:return e.__assign(e.__assign({},t),{geoLocationPermission:"denied",geoLocationCoordinates:null});case xe.OpenMobileModal:return e.__assign(e.__assign({},t),{isMobileModalOpened:!0});case xe.CloseMobileModal:return e.__assign(e.__assign({},t),{isMobileModalOpened:!1});case xe.UpdateInitialSearchValue:return e.__assign(e.__assign({},t),{searchKeywords:a.payload});case xe.SetInputSearchPlaceholder:return e.__assign(e.__assign({},t),{inputSearchPlaceholder:a.payload});default:return t}}!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"}(xe||(xe={}));var Ie,Me,Re,Ae,Ne,Pe,Fe,ze=function(){return C.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18"},C.default.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"}))},je=x.default.button(Ie||(Ie=e.__makeTemplateObject(["\n min-height: 100%;\n border-radius: 6px;\n background-color: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 11px;\n cursor: pointer;\n flex: 0.3;\n\n "," {\n --margin: 16px;\n min-height: 44px;\n margin: var(--margin);\n width: calc(100% - var(--margin) * 2);\n position: absolute;\n bottom: 0;\n }\n\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n\n &:focus-visible {\n outline: 1px solid black;\n }\n"],["\n min-height: 100%;\n border-radius: 6px;\n background-color: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 11px;\n cursor: pointer;\n flex: 0.3;\n\n "," {\n --margin: 16px;\n min-height: 44px;\n margin: var(--margin);\n width: calc(100% - var(--margin) * 2);\n position: absolute;\n bottom: 0;\n }\n\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n\n &:focus-visible {\n outline: 1px solid black;\n }\n"])),(function(e){return e.theme.colors.primaryBase}),p.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryHover}),(function(e){return e.theme.colors.primaryActive})),Be=x.default(c.Text)(Me||(Me=e.__makeTemplateObject(["\n font-weight: ",";\n"],["\n font-weight: ",";\n"])),(function(e){return e.theme.sizes.fwSemiBold})),De=function(e){var t=e.onClick,n=(0,o.useTranslations().t)("booking.searchBar.searchButton");return C.default.createElement(je,{onClick:t,title:n},C.default.createElement(ze,null),C.default.createElement(Be,{size:"s3",color:"white"},n))},He=x.default.div(Re||(Re=e.__makeTemplateObject(["\n display: flex;\n gap: 16px;\n "," {\n flex-direction: column;\n padding: 14px;\n background-color: ",";\n\n input {\n filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.06))\n drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n }\n\n input {\n background-color: white;\n }\n"],["\n display: flex;\n gap: 16px;\n "," {\n flex-direction: column;\n padding: 14px;\n background-color: ",";\n\n input {\n filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.06))\n drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n }\n\n input {\n background-color: white;\n }\n"])),p.MediaQueries.mbDown,u.theme.colors.blue50),Ve=x.default.div(Ae||(Ae=e.__makeTemplateObject(["\n position: relative;\n"],["\n position: relative;\n"]))),Ke=x.default(Ve)(Ne||(Ne=e.__makeTemplateObject(["\n flex: 1;\n"],["\n flex: 1;\n"]))),Ze=x.default(Ve)(Pe||(Pe=e.__makeTemplateObject(["\n flex: 2;\n"],["\n flex: 2;\n"]))),Ge=x.default((function(e){var t=e.className,n=e.color;return C.default.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C.default.createElement("rect",{x:"4",y:"4",width:"16",height:"16",rx:"8",fill:"white"}),C.default.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:n||"currentColor"}))}))(Fe||(Fe=e.__makeTemplateObject(["\n display: none;\n &.shown {\n display: block;\n }\n"],["\n display: none;\n &.shown {\n display: block;\n }\n"])));function Ue(e){var a=e.isMobile,i=e.state,r=e.dispatch,l=e.debouncedFetchCitiesByKeyword,s=e.debouncedFetchSearchResults,c=e.focusLocationInput,d=e.focusSearchInput,p=e.renderLocationResults,h=e.renderSearchResults,g=e.locationTrackingAttributes,m=e.trackingAttributes,v=e.onSearch,x=e.initalSearchValue,b=t.useRef(null),y=t.useRef(null),_=i.focused,w=i.searchLocationKeywords,E=i.geoLocationPermission,k=i.selectedLocation,L=i.searchKeywords,S=i.inputSearchPlaceholder,T=o.useTranslations().t;ue({wrapperRef:y,disabled:!!S}),f.useOutsideClick(b,(function(){r({type:xe.ClickOutsideInputLocation})})),f.useOutsideClick(y,(function(){r({type:xe.ClickOutsideInputSearch})}));var O=t.useMemo((function(){return"granted"===E&&(null==k?void 0:k.id)===n.ID_OPTION_CURRENT_LOCATION?u.theme.colors.primaryBase:u.theme.colors.gray400}),[E,k]),I=t.useCallback((function(e){r({type:xe.ChangeInputSearch,payload:e}),"function"!=typeof v&&(e.trim().length>Le[i.locale]||x?s(e.trim(),i):(s.cancel(),r({type:xe.DisplayInitialSearchResults})))}),[r,i]),M=t.useCallback((function(e){r({type:xe.ChangeInputLocation,payload:e}),e.trim().length>Le[i.locale]?l(e.trim()):(l.cancel(),r({type:xe.DisplayInitialCities}))}),[l,r]);return C.default.createElement(He,null,C.default.createElement(Ke,{ref:b},C.default.createElement(B,{inputClassName:"location"===_?"focused":void 0,placeholder:T("booking.searchBar.locationPlaceholder"),autoComplete:"off",name:"search-location",displayIcon:C.default.createElement(V,{className:"location-pin-icon",color:O}),actionIcon:C.default.createElement(Ge,{color:u.theme.colors.gray300,className:""!==w?"shown":""}),onActionClick:function(){r({type:xe.ClearInputLocation}),l.cancel(),c()},value:w,onChange:M,onFocus:function(){return r({type:xe.FocusInputLocation})},size:"md",trackingAttributes:g}),!a&&p()),C.default.createElement(Ze,{ref:y},C.default.createElement(B,{placeholder:S||T("booking.searchBar.searchInput.placeholder"),autoComplete:"off",name:"search-results",actionIcon:C.default.createElement(Ge,{color:u.theme.colors.gray300,className:""!==L?"shown":""}),onActionClick:function(){r({type:xe.ClearInputSearch}),s.cancel(),s("",i),d()},value:L,onChange:I,onFocus:function(){return r({type:xe.FocusInputSearch})},inputClassName:"search"===_?"focused":void 0,size:"md",trackingAttributes:m,onKeyPress:function(e){i.autoCompleteDisabled&&"Enter"===e.key&&v&&v({cityId:i.selectedLocation.id,keyword:L})},enterKeyHint:i.autoCompleteDisabled?"search":void 0}),!a&&h()),i.autoCompleteDisabled&&!i.isMobile&&C.default.createElement(De,{onClick:function(){v({cityId:i.selectedLocation.id,keyword:L})}}))}var qe,Qe,We,Ye,Je,Xe,$e,et,tt,nt,at,it,ot,rt,lt=x.default.li(qe||(qe=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: var(--rowGap);\n cursor: pointer;\n"],["\n display: flex;\n align-items: center;\n gap: var(--rowGap);\n cursor: pointer;\n"]))),st=x.default.div(Qe||(Qe=e.__makeTemplateObject(["\n --wrapper-size: var(--graphicSize);\n border-radius: calc(var(--wrapper-size) / 2);\n background-color: var(--neutral50);\n width: var(--wrapper-size);\n height: var(--wrapper-size);\n aspect-ratio: 1/1;\n overflow: hidden;\n\n ","\n\n img {\n width: var(--graphicSize);\n height: var(--graphicSize);\n ","\n }\n\n &:focus-visible {\n outline: 1px solid ",";\n }\n"],["\n --wrapper-size: var(--graphicSize);\n border-radius: calc(var(--wrapper-size) / 2);\n background-color: var(--neutral50);\n width: var(--wrapper-size);\n height: var(--wrapper-size);\n aspect-ratio: 1/1;\n overflow: hidden;\n\n ","\n\n img {\n width: var(--graphicSize);\n height: var(--graphicSize);\n ","\n }\n\n &:focus-visible {\n outline: 1px solid ",";\n }\n"])),(function(e){var t=e.type;return t&&"doctors"===t&&"\n border-radius: calc(var(--graphicSize) / 2);\n "}),(function(e){var t=e.type;return t&&"doctors"===t?"\n\n object-fit: cover; \n ":"\n object-fit: contain;\n "}),u.theme.colors.gray600),ct=x.default(c.Text)(We||(We=e.__makeTemplateObject(["\n line-height: 22px;\n letter-spacing: -0.2px;\n\n "," {\n &[data-size='p3'] {\n font-size: 14px;\n }\n }\n"],["\n line-height: 22px;\n letter-spacing: -0.2px;\n\n "," {\n &[data-size='p3'] {\n font-size: 14px;\n }\n }\n"])),p.MediaQueries.tdUp),ut=x.default.figure(Ye||(Ye=e.__makeTemplateObject(["\n max-width: var(--graphicSize);\n min-width: var(--graphicSize);\n"],["\n max-width: var(--graphicSize);\n min-width: var(--graphicSize);\n"]))),dt=x.default.svg(Je||(Je=e.__makeTemplateObject(["\n margin: 0 auto;\n display: block;\n"],["\n margin: 0 auto;\n display: block;\n"]))),pt=x.default.div(Xe||(Xe=e.__makeTemplateObject(["\n display: grid;\n place-items: center;\n"],["\n display: grid;\n place-items: center;\n"]))),ht={doctors:function(e){var t=e.width,n=e.height;return C.default.createElement("svg",{width:t||32,height:n||32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C.default.createElement("g",{clipPath:"url(#clip0_14712_400114)"},C.default.createElement("rect",{width:"32",height:"32",rx:"16",fill:"#E4E8EC"}),C.default.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"})),C.default.createElement("defs",null,C.default.createElement("clipPath",{id:"clip0_14712_400114"},C.default.createElement("rect",{width:"32",height:"32",rx:"16",fill:"white"}))))},services:function(e){var t=e.width,n=e.height;return C.default.createElement("svg",{width:t||30,height:n||30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C.default.createElement("circle",{cx:"15",cy:"15",r:"15",fill:"#F7F9FC"}),C.default.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"}))}},ft=function(e){var n=e.type,a=e.item,i=e.imageUrl,o=e.onClickItem,r=t.useMemo((function(){var e=ht[n]||G;return C.default.createElement(e,{width:32,height:"services"===n?32:24})}),[n]);return C.default.createElement(lt,{onClick:function(){return o&&o(a)},onKeyDown:function(e){"Enter"!==e.key&&"Space"!==e.key||o&&o(a)},tabIndex:0,role:"button"},C.default.createElement(ut,null,"hospitals"===n?C.default.createElement(dt,{width:"12",height:"16",viewBox:"0 0 12 16"},C.default.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"})):C.default.createElement(st,{type:n},i?C.default.createElement("img",{src:i,width:32,height:"services"===n?32:24}):r)),C.default.createElement(ct,{color:u.theme.colors.gray800,size:"p3"},a.name))},gt=function(){return C.default.createElement("svg",{width:"14",height:"18",viewBox:"0 0 14 18"},C.default.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"}))},mt=function(){return C.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18"},C.default.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"}))},Ct=function(){return C.default.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17"},C.default.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"}))},vt=function(){return C.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16"},C.default.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"}))},xt=x.default.header($e||($e=e.__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n padding: 12px 24px;\n background-color: ",";\n box-shadow: inset 0px 1px 0px #e4e8ec;\n"],["\n display: flex;\n justify-content: space-between;\n padding: 12px 24px;\n background-color: ",";\n box-shadow: inset 0px 1px 0px #e4e8ec;\n"])),u.theme.colors.neutral50),bt=x.default.div(et||(et=e.__makeTemplateObject(["\n display: grid;\n flex: 2;\n align-items: center;\n gap: 16px;\n grid-template-columns: 16px 1fr;\n"],["\n display: grid;\n flex: 2;\n align-items: center;\n gap: 16px;\n grid-template-columns: 16px 1fr;\n"]))),yt=x.default.p(tt||(tt=e.__makeTemplateObject(["\n color: ",";\n font-size: 14px;\n font-weight: ",";\n letter-spacing: -0.2px;\n line-height: 22px;\n"],["\n color: ",";\n font-size: 14px;\n font-weight: ",";\n letter-spacing: -0.2px;\n line-height: 22px;\n"])),u.theme.colors.neutral800,u.theme.sizes.fwSemiBold),_t=x.default.button(nt||(nt=e.__makeTemplateObject(["\n flex: 1;\n cursor: pointer;\n text-align: end;\n"],["\n flex: 1;\n cursor: pointer;\n text-align: end;\n"]))),wt=x.default.section(at||(at=e.__makeTemplateObject(["\n padding: 12px 16px;\n --rowGap: 16px;\n --graphicSize: 32px;\n\n "," {\n --rowGap: 8px;\n }\n"],["\n padding: 12px 16px;\n --rowGap: 16px;\n --graphicSize: 32px;\n\n "," {\n --rowGap: 8px;\n }\n"])),p.MediaQueries.tdUp),Et=x.default.ul(it||(it=e.__makeTemplateObject(["\n --gap: 16px;\n "," {\n --gap: 8px;\n }\n\n display: grid;\n overflow: hidden;\n gap: var(--gap);\n transition: max-height 0.8s ease-out;\n\n ","\n\n ","\n\n@media (prefers-reduced-motion) {\n transition: none;\n }\n\n "," {\n grid-template-columns: 1fr 1fr;\n } ;\n"],["\n --gap: 16px;\n "," {\n --gap: 8px;\n }\n\n display: grid;\n overflow: hidden;\n gap: var(--gap);\n transition: max-height 0.8s ease-out;\n\n ","\n\n ","\n\n@media (prefers-reduced-motion) {\n transition: none;\n }\n\n "," {\n grid-template-columns: 1fr 1fr;\n } ;\n"])),p.MediaQueries.tdUp,(function(e){return e.isMore&&"\n height: auto;\n max-height: 0;\n margin-top: var(--gap);\n "}),(function(e){return e.isShown&&"\n max-height: 600px;\n "}),p.MediaQueries.tdUp),kt=x.default(c.Text)(ot||(ot=e.__makeTemplateObject(["\n margin-top: 12px;\n margin-bottom: 8px;\n cursor: pointer;\n text-align: start;\n text-transform: capitalize;\n"],["\n margin-top: 12px;\n margin-bottom: 8px;\n cursor: pointer;\n text-align: start;\n text-transform: capitalize;\n"]))),Lt=function(e){var a=e.type,i=e.data,r=e.state,l=e.dispatch,s=e.itemsToShow,d=e.itemsToShowDesktop,p=e.isMobile,h=e.isLoading,f=e.keyword,g=t.useState(!1),m=g[0],v=g[1],x=o.useTranslations(),y=x.t,_=x.locale,w=r.selectedLocation,E=r.searchKeywords,k=t.useMemo((function(){return n.LOCALIZED_SLUGS[_]}),[_]),L=t.useMemo((function(){return{doctors:{name:y("booking.searchPopup.doctors"),icon:C.default.createElement(gt,null),slug:k.DOCTOR},services:{name:y("booking.searchPopup.services"),icon:C.default.createElement(mt,null),slug:k.SERVICE},hospitals:{name:y("booking.searchPopup.hospitals"),icon:C.default.createElement(Ct,null),slug:k.HOSPITAL},specialties:{name:y("booking.searchPopup.specialties"),icon:C.default.createElement(vt,null),slug:k.SPECIALTIES}}}),[a,k]),S=t.useMemo((function(){return L[a].slug}),[L]),T=p?s:d;function O(e){var t="";switch(a){case"specialties":t="/".concat(w.slug,"/").concat(L.doctors.slug,"/").concat(e.slug);break;case"services":t="/".concat(w.slug,"/").concat(S,"/").concat(e.slug);break;case"doctors":case"hospitals":t="/".concat(S,"/").concat(e.slug,"-").concat(e.id)}t&&l({type:xe.SelectSearchResult,payload:{name:e.name,url:t}})}function I(e){return C.default.createElement(ft,{key:e.id,item:e,type:a,imageUrl:e.logo||e.avatar||e.thumbnail,onClickItem:O})}return C.default.createElement("section",null,C.default.createElement(xt,null,C.default.createElement(bt,null,L[a].icon,C.default.createElement(yt,null,L[a].name)),f.trim().length<=Le[_]&&C.default.createElement(_t,{onClick:function(){var e="";switch(a){case"specialties":e="/".concat(S);break;case"services":case"doctors":case"hospitals":e="/".concat(w.slug,"/").concat(S)}e&&l({type:xe.NavigateTo,payload:e})}},C.default.createElement(c.Text,{size:"p3",color:u.theme.colors.primaryBase},y("booking.searchPopup.seeAll")))),(h||i&&i.length>0)&&C.default.createElement(wt,null,C.default.createElement(Et,null,h&&Array(2).fill(void 0).map((function(e,t){return C.default.createElement(lt,{key:a+"loading"+t},C.default.createElement(ut,null,C.default.createElement(pt,null,C.default.createElement(b.default,{height:14,width:"hospitals"===a?12:32,style:{maxWidth:"var(--graphicSize)",minHeight:"var(--graphicSize)"}}))),C.default.createElement(b.default,{width:120,height:24}))})),!h&&i&&i.length>0&&i.slice(0,T).map(I)),C.default.createElement(Et,{isShown:m,isMore:!0},i.slice(T,-1).map(I)),"specialties"===a&&T<i.length&&!h&&C.default.createElement("button",{onClick:function(){return v(!m)}},C.default.createElement(kt,{size:"p3",color:u.theme.colors.primaryBase},y(m?"booking.searchPopup.seeLessSpecialties":"booking.searchPopup.seeMoreSpecialties"))),"specialties"!==a&&T<i.length&&!h&&f.trim().length>Le[_]&&C.default.createElement("button",{onClick:function(){var e=L[a].slug,t="/".concat(w.slug,"/").concat(e,"?q=").concat(E);l({type:xe.NavigateTo,payload:t})}},C.default.createElement(kt,{size:"p3",color:u.theme.colors.primaryBase},y("booking.searchPopup.searchIn.".concat(a),{name:f})))),!h&&0===(null==i?void 0:i.length)&&C.default.createElement(wt,null,C.default.createElement(c.Text,{size:"sm",color:u.theme.colors.gray400},y("booking.searchBar.noResults"))))},St=x.default.section(rt||(rt=e.__makeTemplateObject(["\n background-color: white;\n border-radius: 4px;\n position: absolute;\n width: 100%;\n z-index: 30;\n\n "," {\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n"],["\n background-color: white;\n border-radius: 4px;\n position: absolute;\n width: 100%;\n z-index: 30;\n\n "," {\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n"])),p.MediaQueries.tdUp),Tt=function(e){var t=e.data,n=e.state,a=e.dispatch,i=e.isMobile,o=e.isLoading,r=e.keyword;return C.default.createElement(St,null,t&&t.map((function(e){return C.default.createElement(Lt,{type:e.type,state:n,dispatch:a,itemsToShow:2,itemsToShowDesktop:4,key:e.type,data:e.results,isMobile:i,isLoading:o,keyword:r})})))},Ot="api/lists/cities?keyword={keyword}&country_id={countryId}&site={domain}&_nopaging={noPaging}",It="api/v2/search/?site={domain}&type={searchType}&keyword={keyword}&city_id={city}&latitude={lat}&longitude={lng}",Mt="api/geobyip?site={domain}&latitude={lat}&longitude={lng}",Rt=function(t,n,i){return _.default(t,e.__assign(e.__assign({},n),{domain:a.domainLocales[i||"en-PH"]}))};var At;!function(e){e[e.SPECIALTY=1]="SPECIALTY",e[e.DOCTOR=2]="DOCTOR",e[e.CLINIC=3]="CLINIC",e[e.SERVICE=4]="SERVICE"}(At||(At={}));var Nt=Object.freeze({__proto__:null,get RedirectType(){return At}});exports.BookingSearchBar=function(r){var l=r.isMobile,s=r.careApiDomain,c=r.geoLocationPermission,u=r.geoLocationCoordinates,d=r.initialSelectedCity,p=r.initialSearchValue,h=void 0===p?"":p,f=r.careFrontDomain,g=void 0===f?"/care":f,m=r.isDebug,x=void 0!==m&&m,b=r.askForGeolocationPermission,y=void 0!==b&&b,_=r.gaTrackingSearchBar,w=r.gaTrackingLocationSearch,E=r.autoCompleteDisabled,k=void 0!==E&&E,L=r.inputSearchPlaceholder,S=void 0===L?"":L,T=r.routerPush,O=r.onGeoLocationPermissionChange,I=r.onSearch,M=r.onChangeLocation,R=o.useTranslations(),A=R.t,N=R.locale,B=t.useRef(null),H=t.useRef(null),V=t.useState(void 0),K=V[0],Z=V[1],G=function(){var e=t.useState((function(){if("undefined"==typeof window)return"unset";if(i.getCookie(a.USER_GEOLOCATION_COORDINATES_COOKIE))return"granted";var e=!location.protocol.includes("https")&&"localhost"!==location.hostname;return!navigator.geolocation||e?"denied":"unset"})),n=e[0],o=e[1],r=t.useState((function(){if("undefined"==typeof window)return null;var e=i.getCookie(a.USER_GEOLOCATION_COORDINATES_COOKIE);if(e)try{return JSON.parse(e)}catch(e){console.log(e)}return null})),l=r[0],s=r[1],c=t.useCallback((function(){navigator.geolocation&&navigator.geolocation.getCurrentPosition((function(e){var t={lat:"".concat(Math.round(1e7*e.coords.latitude)/1e7),lng:"".concat(Math.round(1e7*e.coords.longitude)/1e7)};i.setCookie(a.USER_GEOLOCATION_COORDINATES_COOKIE,JSON.stringify(t),{minutes:15}),s(t),o("granted")}),(function(){i.deleteCookie(a.USER_GEOLOCATION_COORDINATES_COOKIE),o("denied")}))}),[]);return t.useMemo((function(){return{geoLocationPermission:n,geoLocationCoordinates:l,requestGeoLocation:c}}),[n,l])}(),U=G.geoLocationPermission,q=G.geoLocationCoordinates,Q=G.requestGeoLocation,W=t.useReducer(Oe,Se,(function(t){return e.__assign(e.__assign({},t),{isDebug:x,isMobile:l,geoLocationPermission:c||U||"unset",geoLocationCoordinates:u||q||null,searchKeywords:h,initialSelectedCity:d||null,selectedLocation:d||t.selectedLocation||null,searchLocationKeywords:(null==d?void 0:d.name)||t.searchLocationKeywords,autoCompleteDisabled:k,inputSearchPlaceholder:S,locale:N})})),Y=W[0],J=W[1],$=Y.navigateTo,ee=Y.focused,te=Y.isLoadingCities,ne=Y.cities,ae=Y.searchKeywords,ie=Y.geoLocationPermission,oe=Y.selectedLocation,re=Y.initialSelectedCity,le=Y.defaultCity,se=Y.searchResults,ce=Y.isLoadingSearchResults,ue=Y.isMobileModalOpened,de=Y.inputSearchPlaceholder,pe=function(a){var i=a.dispatch,o=a.careApiDomain,r=a.locale,l=void 0===r?"vi-VN":r,s=t.useCallback((function(e,t){void 0===t&&(t={});var n="".concat(o).concat(e);return i({type:xe.FetchCitiesStart}),fetch(Rt(n,t,l),{method:"GET"}).then((function(e){return e.json()})).then((function(e){return 1===e._status&&e._data?null==e?void 0:e._data:(console.log("error loading cities",e),Promise.reject(e))})).finally((function(){return i({type:xe.FetchCitiesFinish})}))}),[l]),c=t.useCallback((function(t){var n=t.coordinates,a={};n&&(a={lat:n.lat,lng:n.lng});var o=[s(Mt,a)];return"zh-TW"===l&&o.push(s(Ot,{noPaging:1})),Promise.all(o).then((function(t){var n=t[0],a=t[1],o=e.__assign({},n);if(a){var r=o.cities.map((function(e){return e.id}));o.cities=o.cities.concat(a.cities.filter((function(e){return!r.includes(e.id)})))}i({type:xe.FetchCitiesByGeoIpComplete,payload:o})})).catch((function(e){return console.error("error loading cities by location",e)}))}),[l,o,i]);return{fetchCitiesByLocation:c,fetchCitiesByKeyword:t.useCallback((function(e){return s(Ot,{keyword:e}).then((function(e){i({type:xe.FetchCitiesByKeywordComplete,payload:e.cities})})).catch((function(e){return console.error("error loading cities by keyword",e)}))}),[l,o,i]),fetchSearchResults:t.useCallback((function(e,t){var a="".concat(o).concat(It);i({type:xe.FetchSearchResultsStart});var r=t.defaultCity,s=t.selectedLocation,c=t.geoLocationCoordinates,u="";if(s&&r){s.id===n.ID_OPTION_CURRENT_LOCATION?c||(u=r.id):u=s.id;var d=(null==c?void 0:c.lat)||"",p=(null==c?void 0:c.lng)||"";return fetch(Rt(a,{domain:o,searchType:"global",keyword:e.trim().length>Le[l]?e.trim():"",city:u===n.ID_OPTION_CURRENT_LOCATION?"":u,lat:d,lng:p},l),{method:"GET",headers:{accept:"version=2.0.0.0"}}).then((function(e){return e.json()})).then((function(e){return 1===e._status&&e._data?null==e?void 0:e._data:Promise.reject(e)})).then((function(e){return i({type:xe.FetchSearchResultsComplete,payload:e})})).catch((function(e){console.log("error loading search results",{url:a,error:e})})).finally((function(){return i({type:xe.FetchSearchResultsFinish})}))}i({type:xe.FetchSearchResultsFinish})}),[l,o,i])}}({dispatch:J,locale:N,careApiDomain:s}),fe=pe.fetchCitiesByLocation,ge=pe.fetchCitiesByKeyword,me=pe.fetchSearchResults,Ce=t.useMemo((function(){var e;return{id:n.ID_OPTION_CURRENT_LOCATION,name:A("booking.searchBar.currentLocation"),slug:null===(e=n.LOCALIZED_SLUGS[N])||void 0===e?void 0:e.CURRENT}}),[A,N]),ve=t.useMemo((function(){return v.default(ge,400)}),[ge]),be=t.useMemo((function(){return v.default(me,400)}),[me]);t.useEffect((function(){""!==h&&h!==Y.searchKeywords&&J({type:xe.UpdateInitialSearchValue,payload:h})}),[h]),t.useEffect((function(){y&&(null==oe?void 0:oe.id)===n.ID_OPTION_CURRENT_LOCATION&&"unset"===ie&&Q()}),[y,oe,ie]),t.useEffect((function(){c||ie===U||("granted"===U&&q?J({type:xe.GrantGeoLocationPermission,payload:q}):"denied"===U&&J({type:xe.DenyGeoLocationPermission}))}),[ie,U,q,c]),t.useEffect((function(){$&&(T?T($):window.location.href="".concat(g).concat($))}),[$]);var ye=t.useCallback((function(){J({type:xe.SelectCurrentLocation,payload:Ce})}),[A,J]);t.useEffect((function(){"denied"===ie||re||ye(),O&&O(ie,Y.geoLocationCoordinates),l&&"granted"===ie&&oe&&J({type:xe.FocusInputSearch}),fe({coordinates:Y.geoLocationCoordinates})}),[ie]),t.useEffect((function(){oe&&le&&me(Y.searchKeywords,Y)}),[oe,le]),t.useEffect((function(){S!==de&&J({type:xe.SetInputSearchPlaceholder,payload:S})}),[S,de]),t.useEffect((function(){ue?document.body.classList.add("care-popup-open"):document.body.classList.remove("care-popup-open")}),[ue]);var _e=t.useCallback((function(e){J({type:xe.SelectLocation,payload:e}),Te(),M&&M(e)}),[A,J]);function we(){l&&"granted"!==Y.geoLocationPermission?Q():(ye(),Te())}function Ee(){var e;B.current&&(null===(e=B.current.querySelector('input[name="search-location"]'))||void 0===e||e.focus())}function Te(){var e;B.current&&(null===(e=B.current.querySelector('input[name="search-results"]'))||void 0===e||e.focus())}function Ie(){J({type:xe.CloseMobileModal})}function Me(){return"location"!==ee?null:C.default.createElement(X,{isLoading:te,cities:ne,onLocationClick:_e,onCurrentLocationClick:we,isLocationLoading:te,geoLocationPermission:ie,selectedLocation:oe})}function Re(){return"search"!==ee?null:Y.autoCompleteDisabled?l?C.default.createElement(De,{onClick:function(){I({cityId:Y.selectedLocation.id,keyword:ae}),Ie()}}):null:C.default.createElement(Tt,{data:se,state:Y,dispatch:J,isMobile:!1,keyword:ae,isLoading:ce})}function Ae(){return C.default.createElement(Ue,{isMobile:l,state:Y,dispatch:J,debouncedFetchCitiesByKeyword:ve,debouncedFetchSearchResults:be,focusLocationInput:Ee,focusSearchInput:Te,renderLocationResults:Me,renderSearchResults:Re,trackingAttributes:_,locationTrackingAttributes:w,onSearch:I,initalSearchValue:h})}return t.useEffect((function(){if(window.visualViewport){var e=function(e){var t=e.target;Z(null==t?void 0:t.height)};return window.visualViewport.addEventListener("resize",e),function(){window.visualViewport.removeEventListener("resize",e)}}}),[Z]),l?C.default.createElement(C.default.Fragment,null,C.default.createElement(D,null),C.default.createElement(j,{ref:H}),C.default.createElement(F,{id:"booking-search-bar",ref:B,"data-is-modal":l&&ue,style:{"--mobile-care-searchbar-height":ue&&K?"".concat(K,"px"):"100%"}},ue?C.default.createElement(C.default.Fragment,null,C.default.createElement(z,null,C.default.createElement(ke,{headingText:A("booking.searchBar.searchButton"),onLeftClick:Ie}),Ae()),Me(),Re()):C.default.createElement(he,{onClick:function(){var t;return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return H.current&&H.current.focus(),J({type:xe.OpenMobileModal}),[4,Promise.resolve()];case 1:return e.sent(),B.current&&(null===(t=B.current.querySelector('input[name="search-location"]'))||void 0===t||t.focus()),[2]}}))}))},focused:ee,value:ae,trackingAttributes:_,inputSearchPlaceholder:S}))):C.default.createElement(P,{id:"booking-search-bar",ref:B},Ae())},exports.types=Nt;
package/build/types.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Locale-4f93f674.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Locale-11b51016.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}});
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-2f75f708.js"),t=require("react"),n=require("./cookieHelper-4cd85be0.js");function r(e){var t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((function(e){return Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}))}exports.useFbDataLayer=function(i){t.useEffect((function(){return(null==i?void 0:i.id)&&e.__awaiter(void 0,void 0,void 0,(function(){var t,a,o,u,c,l,s,f,d,p,g,_;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,fetch("https://api.ipify.org").then((function(e){return e.text()}))];case 1:return(t=e.sent())?[3,3]:[4,fetch("https://icanhazip.com").then((function(e){return e.text()}))];case 2:t=e.sent(),e.label=3;case 3:return[4,Promise.all([i.email?r(i.email):null,i.phone?r(i.phone):null,i.birthday?i.birthday.split("-").join(""):null,i.gender?"m":"f",i.city_name?r(i.city_name).then((function(e){return e.replace(/\s/g,"")})):null,i.name?r(i.name):null])];case 4:return a=e.sent(),o=a[0],u=a[1],c=a[2],l=a[3],s=a[4],f=a[5],d={fbc:n.getCookie("_fbc")||"",fbp:n.getCookie("_fbp")||"",client_ip_address:(null==t?void 0:t.replace("\n",""))||"",client_user_agent:navigator.userAgent||""},p={user_id:i.id,client_ip_address:(null==t?void 0:t.replace("\n",""))||"",client_user_agent:navigator.userAgent||""},f&&(p.fn=f),o&&(d.em=o,p.em=o),u&&(d.ph=u,p.ph=u),c&&(d.db=c,p.db=c),l&&(d.ge=l,p.ge=l),s&&(d.ct=s,p.ct=s),null===(_=null===(g=window.localStorage)||void 0===g?void 0:g.setItem)||void 0===_||_.call(g,"fbDataLayer_userInfo",JSON.stringify(p)),[2]}}))})),function(){}}),[i])};
1
+ "use strict";var e=require("./tslib.es6-e6f346c4.js"),t=require("react"),n=require("./cookieHelper-3553173d.js");function r(e){var t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((function(e){return Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}))}exports.useFbDataLayer=function(i){t.useEffect((function(){return(null==i?void 0:i.id)&&e.__awaiter(void 0,void 0,void 0,(function(){var t,a,o,u,c,l,s,d,f,p,g,_;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,fetch("https://api.ipify.org").then((function(e){return e.text()}))];case 1:return(t=e.sent())?[3,3]:[4,fetch("https://icanhazip.com").then((function(e){return e.text()}))];case 2:t=e.sent(),e.label=3;case 3:return[4,Promise.all([i.email?r(i.email):null,i.phone?r(i.phone):null,i.birthday?i.birthday.split("-").join(""):null,i.gender?"m":"f",i.city_name?r(i.city_name).then((function(e){return e.replace(/\s/g,"")})):null,i.name?r(i.name):null])];case 4:return a=e.sent(),o=a[0],u=a[1],c=a[2],l=a[3],s=a[4],d=a[5],f={fbc:n.getCookie("_fbc")||"",fbp:n.getCookie("_fbp")||"",client_ip_address:(null==t?void 0:t.replace("\n",""))||"",client_user_agent:navigator.userAgent||""},p={user_id:i.id,client_ip_address:(null==t?void 0:t.replace("\n",""))||"",client_user_agent:navigator.userAgent||""},d&&(p.fn=d),o&&(f.em=o,p.em=o),u&&(f.ph=u,p.ph=u),c&&(f.db=c,p.db=c),l&&(f.ge=l,p.ge=l),s&&(f.ct=s,p.ct=s),null===(_=null===(g=window.localStorage)||void 0===g?void 0:g.setItem)||void 0===_||_.call(g,"fbDataLayer_userInfo",JSON.stringify(p)),[2]}}))})),function(){}}),[i])};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-e6f346c4.js"),t=require("react"),r=require("./getDynamicHealthTool-5794ef69.js");exports.useHealthToolsCache=function(a){var i=t.useState([]),n=i[0],o=i[1];t.useEffect((function(){e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,r.getDynamicHealthToolWithCache(a)];case 1:return t=e.sent(),o(t),[2]}}))}))}),[r.getDynamicHealthToolWithCache,a]);var l=t.useCallback((function(e){var t;return(null===(t=n.find((function(t){return t.template===e})))||void 0===t?void 0:t.link)||""}),[n]);return{allTools:n,getHealthToolLink:l}};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react"),t=require("./translationsContext-9e231a88.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(require("string-format"));exports.useTranslations=function(){var a=e.useContext(t.TranslationsContext)||{locale:"en-PH"},r=a.values,o=a.locale;return e.useMemo((function(){return{t:function(e,a){return r?r[e]?a?n.default(r[e]||e,a):r[e]||e:(console.warn("[useTranslations] Missing translation for key ".concat(e," and locale ").concat(o)),a?n.default(t.defaultTranslations[e]||e,a):t.defaultTranslations[e]||e):(console.error("[useTranslations] t method called before translation values are loaded"),e)},locale:o}}),[r,o])};
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hhgtech/hhg-components",
3
- "version": "1.22.23-beta-1",
3
+ "version": "1.22.24",
4
4
  "main": "build/index.js",
5
5
  "module": "build/esm/index.js",
6
6
  "files": [
@@ -88,17 +88,14 @@
88
88
  "@rollup/plugin-image": "^2.1.1",
89
89
  "@rollup/plugin-json": "^4.1.0",
90
90
  "@rollup/plugin-node-resolve": "^11.0.0",
91
- "@storybook/addon-actions": "^6.5.16",
92
- "@storybook/addon-docs": "6.5.16",
93
- "@storybook/addon-essentials": "^6.5.16",
94
- "@storybook/addon-links": "^6.5.16",
95
- "@storybook/addon-viewport": "^6.5.16",
96
- "@storybook/builder-webpack5": "^6.5.16",
97
- "@storybook/manager-webpack5": "^6.5.16",
98
- "@storybook/react": "^6.5.16",
99
- "@storybook/storybook-deployer": "^2.8.16",
91
+ "@storybook/addon-actions": "^6.1.11",
92
+ "@storybook/addon-docs": "6.4.19",
93
+ "@storybook/addon-essentials": "^6.1.21",
94
+ "@storybook/addon-links": "^6.0.28",
95
+ "@storybook/addon-viewport": "^6.4.22",
96
+ "@storybook/react": "^6.3.8",
97
+ "@storybook/storybook-deployer": "^2.8.7",
100
98
  "@svgr/rollup": "5.5.0",
101
- "@testing-library/dom": "^8.20.0",
102
99
  "@testing-library/jest-dom": "^5.11.6",
103
100
  "@testing-library/react": "^11.2.2",
104
101
  "@testing-library/user-event": "^14.1.1",
@@ -111,12 +108,10 @@
111
108
  "@types/styled-components": "5.1.9",
112
109
  "@typescript-eslint/eslint-plugin": "^4.11.0",
113
110
  "@typescript-eslint/parser": "^4.11.0",
114
- "autoprefixer": "^10.4.13",
115
111
  "axios": "^1.3.2",
116
112
  "babel-loader": "^8.2.2",
117
113
  "babel-preset-react-app": "^10.0.0",
118
114
  "chalk": "^4.1.2",
119
- "cssnano": "^5.1.15",
120
115
  "cz-conventional-changelog": "^3.3.0",
121
116
  "date-fns": "^2.16.1",
122
117
  "eslint": "^7.16.0",
@@ -124,7 +119,6 @@
124
119
  "eslint-plugin-import": "^2.22.1",
125
120
  "eslint-plugin-prettier": "^3.1.4",
126
121
  "eslint-plugin-react": "^7.21.5",
127
- "eslint-plugin-storybook": "^0.6.10",
128
122
  "fetch-mock": "^9.11.0",
129
123
  "figlet": "^1.5.0",
130
124
  "html-react-parser": "^1.2.7",
@@ -137,7 +131,6 @@
137
131
  "ora": "^6.1.2",
138
132
  "plop": "^3.1.1",
139
133
  "postcss": "^8.4.14",
140
- "postcss-import": "^15.1.0",
141
134
  "prettier": "^2.6.2",
142
135
  "pretty-quick": "^3.1.0",
143
136
  "react": "^17.0.1",
@@ -149,11 +142,9 @@
149
142
  "rollup": "^2.34.2",
150
143
  "rollup-plugin-copy": "^3.3.0",
151
144
  "rollup-plugin-peer-deps-external": "^2.2.4",
152
- "rollup-plugin-postcss": "^4.0.2",
145
+ "rollup-plugin-postcss": "^4.0.0",
153
146
  "rollup-plugin-terser": "^7.0.2",
154
147
  "rollup-plugin-typescript2": "^0.29.0",
155
- "sass": "^1.58.1",
156
- "sass-loader": "^13.2.0",
157
148
  "styled-components": "5.3.6",
158
149
  "stylelint": "^13.7.2",
159
150
  "stylelint-config-idiomatic-order": "^8.1.0",
@@ -163,7 +154,6 @@
163
154
  "ts-jest": "^26.4.4",
164
155
  "tslib": "^2.3.1",
165
156
  "typescript": "^4.4.3",
166
- "webpack": "^5.75.0",
167
157
  "xlsx": "^0.18.5"
168
158
  },
169
159
  "dependencies": {
@@ -177,7 +167,6 @@
177
167
  "@mantine/next": "^5.8.4",
178
168
  "browser-image-compression": "^2.0.0",
179
169
  "dayjs": "1.11.6",
180
- "embla-carousel": "^7.0.9",
181
170
  "embla-carousel-react": "7.0.5",
182
171
  "embla-carousel-wheel-gestures": "^3.0.0",
183
172
  "innertext": "^1.0.3",
@@ -243,10 +232,6 @@
243
232
  "import": "./build/esm/index.js",
244
233
  "require": "./build/index.js"
245
234
  },
246
- "./style.css": {
247
- "import": "./build/index.css",
248
- "require": "./build/index.css"
249
- },
250
235
  "./*": {
251
236
  "import": "./build/esm/*.js",
252
237
  "require": "./build/*.js"
@@ -256,8 +241,5 @@
256
241
  "commitizen": {
257
242
  "path": "./node_modules/cz-conventional-changelog"
258
243
  }
259
- },
260
- "resolutions": {
261
- "@storybook/react/webpack": "^5"
262
244
  }
263
245
  }
@@ -1 +0,0 @@
1
- "use strict";var t=require("./tslib.es6-2f75f708.js"),e=require("./isProduction-5b39233d.js"),r={},a=function(t){if("undefined"!=typeof window){var a=void 0;try{a=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return a||{}}return r[t]},i=function(t,a){try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):r[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=function(e,r,n,o){return void 0===o&&(o=9e5),t.__awaiter(void 0,void 0,void 0,(function(){var c,s;return t.__generator(this,(function(t){switch(t.label){case 0:return(c=a(e))&&c.data&&c.time&&Date.now()-c.time<o?[2,c.data]:[3,1];case 1:return r?[4,r()]:[3,3];case 2:return s=t.sent(),n&&!n(s)||i(e,s),[2,s];case 3:return[2,null]}}))}))},exports.setCachedItem=i;
@@ -1 +0,0 @@
1
- import{c as a,_ as r}from"./tslib.es6-8d81858b.js";import e,{forwardRef as t}from"react";var c=function(c,s){return t((function(t,n){var o=t.className,m=a(t,["className"]);return e.createElement(c,r({ref:n,className:"".concat(s," ").concat(o||"")},m))}))};export{c as g};
@@ -1 +0,0 @@
1
- import{c as a,_ as e}from"./tslib.es6-8d81858b.js";import t from"react";var r="style-module_text__wIj6f",o=function(o){var s=o.size,c=void 0===s?"base":s,d=o.type,l=void 0===d?"regular":d,n=o.className,i=o.style,p=o.children,v=o.color,m=o.dataEventCategory,y=o.dataEventAction,E=o.dataEventLabel,b=o.as,u=void 0===b?"p":b,w=o.wordWrap,f=o.isUppercase,g=a(o,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]),_=u;return t.createElement(_,e({"data-size":c,"data-type":l,style:e(e({},i),v?{"--custom-color":v}:void 0),className:"".concat(r," ").concat(n||""),"data-event-category":m,"data-event-action":y,"data-event-label":E,"data-word-wrap":w,"data-is-uppercase":f},g),p)};export{o as T};
@@ -1 +0,0 @@
1
- import{L as o}from"./Locale-dd73dff4.js";import{i as e}from"./isProduction-c64058ab.js";var l,i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH"},HELLO_DOCTOR:{lng:o.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH"},HELLO_DOCTOR_FIL:{lng:o.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH"},HELLO_KRUPET:{lng:o.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH"},HELLO_SWASTHYA:{lng:o.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN"},HELLO_SEHAT:{lng:o.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID"},HELLO_SAYARWON:{lng:o.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM"},HELLO_DOKTOR:{lng:o.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY"},HELLO_KHUNMOR:{lng:o.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH"},HELLO_YISHI:{lng:o.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW"},HELLO_BACSI:{lng:o.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN"},MARRY_BABY:{lng:o.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN"}},a="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},s={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},E={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},c="user",h=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],I=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],T=["vi-VN","id-ID"],O={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(l||(l={}));var p=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:a,domainLocales:t,LOCALE_SPECS:s,STATIC_PAGES:E,UP_BASEPATH:c,TOGETHER_LOCALES:h,CARE_LOCALES:I,CARE_BOOKING_LOCALES:T,FAVICONS:O,get QUERY_HEALTH_TOOL(){return l},siteHost:i,siteOptions:n,isProduction:e});export{I as C,O as F,s as L,l as Q,E as S,h as T,c as U,T as a,a as b,n as c,t as d,p as i,i as s};