@hhgtech/hhg-components 1.25.6 → 1.25.7

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 (281) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components.js +1 -1
  5. package/build/constants.js +1 -1
  6. package/build/core-c97a18ed.js +1 -0
  7. package/build/{dataTransform-7195a02a.js → dataTransform-15e2bc18.js} +1 -1
  8. package/build/ecom/index.d.ts +5 -0
  9. package/build/ecom.js +1 -0
  10. package/build/esm/babyGrowth.js +2 -2
  11. package/build/esm/cache.js +1 -1
  12. package/build/esm/care.js +1 -1
  13. package/build/esm/components.js +1 -1
  14. package/build/esm/constants.js +1 -1
  15. package/build/esm/{core-f875473d.js → core-32afeb43.js} +1 -1
  16. package/build/esm/{dataTransform-f228745c.js → dataTransform-5995c4ee.js} +1 -1
  17. package/build/esm/ecom.js +1 -0
  18. package/build/esm/footer.js +1 -1
  19. package/build/esm/gAssets.js +1 -1
  20. package/build/esm/{getDynamicHealthTool-939b6fac.js → getDynamicHealthTool-6d7dd77f.js} +1 -1
  21. package/build/esm/{getSocialList-590c1573.js → getSocialList-60902781.js} +1 -1
  22. package/build/esm/hooks.js +1 -1
  23. package/build/esm/i18n.js +1 -1
  24. package/build/esm/{index-7335adc6.js → index-0651fd9c.js} +1 -1
  25. package/build/esm/{index-740fa844.js → index-085b8cff.js} +1 -1
  26. package/build/esm/{index-e50cee7a.js → index-1b36f4f9.js} +3 -3
  27. package/build/esm/index-1dc65855.js +1 -0
  28. package/build/esm/{index-d8498285.js → index-460e872e.js} +6 -6
  29. package/build/esm/{index-a83e72f1.js → index-4db42d6b.js} +1 -1
  30. package/build/esm/{index-6d79814f.js → index-5ead092f.js} +1 -1
  31. package/build/esm/index-666e6bc6.js +1 -0
  32. package/build/esm/{index-22c1abb6.js → index-74f2df29.js} +1 -1
  33. package/build/esm/{index-2d36767c.js → index-776971e3.js} +1 -1
  34. package/build/esm/{index-d080ca74.js → index-7da78d8f.js} +1 -1
  35. package/build/esm/{index-774e1f1f.js → index-81b3c1d6.js} +1 -1
  36. package/build/esm/{index-cf32b5ea.js → index-8b0e4acf.js} +1 -1
  37. package/build/esm/{index-decfd81c.js → index-8bc71b9d.js} +1 -1
  38. package/build/esm/{index-964b9e06.js → index-90ba9be8.js} +1 -1
  39. package/build/esm/{index-74be7938.js → index-910e5537.js} +1 -1
  40. package/build/esm/index-9180fa5c.js +1 -0
  41. package/build/esm/{index-be200a7d.js → index-95cf8aae.js} +1 -1
  42. package/build/esm/{index-9131c258.js → index-a31d730b.js} +1 -1
  43. package/build/esm/{index-0827f302.js → index-a64aadba.js} +1 -1
  44. package/build/esm/index-c9bbca67.js +1 -0
  45. package/build/esm/{index-2929a547.js → index-f504265e.js} +1 -1
  46. package/build/esm/{index-4535b95b.js → index-fa563105.js} +1 -1
  47. package/build/esm/index.js +1 -1
  48. package/build/esm/{index.styled-93a757b5.js → index.styled-223112df.js} +1 -1
  49. package/build/esm/{index.styled-4ca178bd.js → index.styled-5743d2fc.js} +1 -1
  50. package/build/esm/{index.styled-da69e399.js → index.styled-5d50141d.js} +1 -1
  51. package/build/esm/{index.styled-8e4c0cff.js → index.styled-8b6037e1.js} +162 -162
  52. package/build/esm/{index.styled-588eb0f9.js → index.styled-8f91961a.js} +3 -3
  53. package/build/esm/{index.styled-eccf4bf2.js → index.styled-bff34f51.js} +1 -1
  54. package/build/esm/{index.styled-79240aaa.js → index.styled-d77f18ca.js} +7 -7
  55. package/build/esm/lead.js +1 -1
  56. package/build/esm/mantine.js +1 -1
  57. package/build/esm/misc.js +1 -1
  58. package/build/esm/navigation.js +1 -1
  59. package/build/esm/onboarding.js +1 -1
  60. package/build/esm/pwg.js +3 -3
  61. package/build/esm/routing-3641a500.js +1 -0
  62. package/build/esm/{screenSizeContext-3cc136bf.js → screenSizeContext-891e0213.js} +4 -4
  63. package/build/esm/together.js +1 -1
  64. package/build/esm/{translationsProvider-093bd93e.js → translationsProvider-ca419d2d.js} +1 -1
  65. package/build/esm/{types-9bf84359.js → types-1030e23e.js} +21 -21
  66. package/build/esm/types-d05d2a44.js +1 -0
  67. package/build/esm/{types-0ceb60f7.js → types-f832d05c.js} +1 -1
  68. package/build/esm/types.js +1 -1
  69. package/build/esm/useHealthToolCache-d3c55c1d.js +1 -0
  70. package/build/esm/{useRafState-09c4688b.js → useRafState-b8a620e9.js} +1 -1
  71. package/build/esm/{useScreenSize-a82188c8.js → useScreenSize-6663b643.js} +1 -1
  72. package/build/esm/{useTranslations-dfa6d559.js → useTranslations-3a7456bd.js} +1 -1
  73. package/build/esm/vaccination.js +1 -1
  74. package/build/footer.js +1 -1
  75. package/build/gAssets.js +1 -1
  76. package/build/{getDynamicHealthTool-9413fd5f.js → getDynamicHealthTool-4388efa8.js} +1 -1
  77. package/build/{getSocialList-99a9c468.js → getSocialList-f5953efd.js} +1 -1
  78. package/build/hooks.js +1 -1
  79. package/build/i18n.js +1 -1
  80. package/build/index-0b6930ac.js +1 -0
  81. package/build/{index-1417d52c.js → index-17ad9e9d.js} +1 -1
  82. package/build/{index-cb35b153.js → index-284d87cc.js} +1 -1
  83. package/build/{index-d0084e4d.js → index-296b5a19.js} +1 -1
  84. package/build/{index-e4ca758a.js → index-2f0cba1f.js} +1 -1
  85. package/build/{index-bf66977c.js → index-30208cd8.js} +1 -1
  86. package/build/{index-4f63f353.js → index-309023ee.js} +1 -1
  87. package/build/{index-56c5f858.js → index-356a698a.js} +1 -1
  88. package/build/{index-a3314893.js → index-36b78061.js} +1 -1
  89. package/build/{index-adb10805.js → index-436fec8f.js} +1 -1
  90. package/build/{index-3f9de968.js → index-581374e3.js} +1 -1
  91. package/build/{index-a0aa49ae.js → index-5baf313f.js} +1 -1
  92. package/build/{index-5616ad8b.js → index-6cca9f0e.js} +1 -1
  93. package/build/{index-6ec05037.js → index-75d8992c.js} +1 -1
  94. package/build/{index-9cc03f84.js → index-8b568815.js} +1 -1
  95. package/build/{index-6f9a2f4d.js → index-ae776774.js} +1 -1
  96. package/build/{index-18490ccc.js → index-af09649f.js} +1 -1
  97. package/build/{index-b5abbafe.js → index-b367b40b.js} +1 -1
  98. package/build/{index-eefa7e12.js → index-c06fbdd5.js} +1 -1
  99. package/build/index-cfa5e879.js +1 -0
  100. package/build/{index-45936b83.js → index-d1530182.js} +1 -1
  101. package/build/{index-cb0552eb.js → index-dae92624.js} +1 -1
  102. package/build/{index-0501fc35.js → index-db0faef6.js} +1 -1
  103. package/build/index.js +1 -1
  104. package/build/{index.styled-64b540d3.js → index.styled-43bd0e08.js} +1 -1
  105. package/build/{index.styled-3d1cf231.js → index.styled-67eec498.js} +1 -1
  106. package/build/{index.styled-f5fb2413.js → index.styled-ab720e4f.js} +1 -1
  107. package/build/{index.styled-3f461272.js → index.styled-ade1db6b.js} +1 -1
  108. package/build/index.styled-b09ae2ba.js +50 -0
  109. package/build/{index.styled-8cd7dfc4.js → index.styled-d12b4631.js} +1 -1
  110. package/build/{index.styled-cf3337c1.js → index.styled-e04c5a0e.js} +192 -192
  111. package/build/lead.js +1 -1
  112. package/build/mantine.js +1 -1
  113. package/build/misc.js +1 -1
  114. package/build/navigation.js +1 -1
  115. package/build/onboarding.js +1 -1
  116. package/build/pwg.js +1 -1
  117. package/build/{routing-5a43b80b.js → routing-0c7ab093.js} +1 -1
  118. package/build/{screenSizeContext-8b1c7b07.js → screenSizeContext-ccd4fe23.js} +10 -10
  119. package/build/together.js +1 -1
  120. package/build/{translationsProvider-c5addb67.js → translationsProvider-22f1005b.js} +1 -1
  121. package/build/types-6eee8c09.js +1 -0
  122. package/build/{types-13016e4a.js → types-7921f3e9.js} +1 -1
  123. package/build/{types-ea323dce.js → types-f18bc7ea.js} +1 -1
  124. package/build/types.js +1 -1
  125. package/build/useHealthToolCache-06f35177.js +1 -0
  126. package/build/{useRafState-58f70c5f.js → useRafState-4e55bbc7.js} +1 -1
  127. package/build/{useScreenSize-4965d910.js → useScreenSize-a8bf8caa.js} +1 -1
  128. package/build/useTranslations-fb00349b.js +1 -0
  129. package/build/vaccination.js +4 -4
  130. package/package.json +1 -1
  131. package/build/core-291142df.js +0 -1
  132. package/build/ecom_temp_excluded/index.d.ts +0 -5
  133. package/build/esm/index-0425eb1d.js +0 -1
  134. package/build/esm/index-96ec9820.js +0 -1
  135. package/build/esm/index-9bcc869e.js +0 -1
  136. package/build/esm/index-a99d240c.js +0 -1
  137. package/build/esm/routing-7957593c.js +0 -1
  138. package/build/esm/useHealthToolCache-8565dd08.js +0 -1
  139. package/build/index-63f73c36.js +0 -1
  140. package/build/index-af96f572.js +0 -1
  141. package/build/index.styled-b6f970c1.js +0 -50
  142. package/build/useHealthToolCache-ea17fa33.js +0 -1
  143. package/build/useTranslations-b1b206d7.js +0 -1
  144. /package/build/{BMI_BOYS.percentile.monthly-6d838d75.js → BMI_BOYS.percentile.monthly-5af104e9.js} +0 -0
  145. /package/build/{BMI_BOYS.percentile.weekly-6f43b353.js → BMI_BOYS.percentile.weekly-eb8e99ad.js} +0 -0
  146. /package/build/{BMI_BOYS.percentile.yearly-606dc8af.js → BMI_BOYS.percentile.yearly-703c6529.js} +0 -0
  147. /package/build/{BMI_BOYS.zscore.monthly-1a47c5cd.js → BMI_BOYS.zscore.monthly-225237c8.js} +0 -0
  148. /package/build/{BMI_BOYS.zscore.weekly-45e41d20.js → BMI_BOYS.zscore.weekly-a913e51f.js} +0 -0
  149. /package/build/{BMI_BOYS.zscore.yearly-74cdfd89.js → BMI_BOYS.zscore.yearly-8b74e236.js} +0 -0
  150. /package/build/{BMI_GIRLS.percentile.monthly-d6680ab1.js → BMI_GIRLS.percentile.monthly-102081ca.js} +0 -0
  151. /package/build/{BMI_GIRLS.percentile.weekly-a41b1bf0.js → BMI_GIRLS.percentile.weekly-ce8cf341.js} +0 -0
  152. /package/build/{BMI_GIRLS.percentile.yearly-5fd2dda3.js → BMI_GIRLS.percentile.yearly-9ad5a781.js} +0 -0
  153. /package/build/{BMI_GIRLS.zscore.monthly-fbb09b78.js → BMI_GIRLS.zscore.monthly-a734c482.js} +0 -0
  154. /package/build/{BMI_GIRLS.zscore.weekly-1b2043d5.js → BMI_GIRLS.zscore.weekly-78a4ca54.js} +0 -0
  155. /package/build/{BMI_GIRLS.zscore.yearly-8e5168f0.js → BMI_GIRLS.zscore.yearly-4075391d.js} +0 -0
  156. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-c2fb50b2.js → HEAD CIRCUM_BOYS.percentile.monthly-1f9452d7.js} +0 -0
  157. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-c4b224ea.js → HEAD CIRCUM_BOYS.percentile.weekly-5ee26278.js} +0 -0
  158. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-6b77beef.js → HEAD CIRCUM_BOYS.percentile.yearly-fcf9b85f.js} +0 -0
  159. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-3105817d.js → HEAD CIRCUM_BOYS.zscore.monthly-f6328f61.js} +0 -0
  160. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-11dd9584.js → HEAD CIRCUM_BOYS.zscore.weekly-1219f693.js} +0 -0
  161. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d48dd044.js → HEAD CIRCUM_BOYS.zscore.yearly-f6c5b722.js} +0 -0
  162. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-b3052bd6.js → HEAD CIRCUM_GIRLS.percentile.monthly-7c07eb97.js} +0 -0
  163. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-3b75bec9.js → HEAD CIRCUM_GIRLS.percentile.weekly-1d3a78ee.js} +0 -0
  164. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-e3504581.js → HEAD CIRCUM_GIRLS.percentile.yearly-1ae65763.js} +0 -0
  165. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-85aa28e4.js → HEAD CIRCUM_GIRLS.zscore.monthly-dfec2194.js} +0 -0
  166. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-41c24966.js → HEAD CIRCUM_GIRLS.zscore.weekly-cbe7bc79.js} +0 -0
  167. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-413c3452.js → HEAD CIRCUM_GIRLS.zscore.yearly-c44c3541.js} +0 -0
  168. /package/build/{HEIGHT_BOYS.percentile.monthly-91006938.js → HEIGHT_BOYS.percentile.monthly-1e403573.js} +0 -0
  169. /package/build/{HEIGHT_BOYS.percentile.weekly-f0d5ca31.js → HEIGHT_BOYS.percentile.weekly-ed0c9368.js} +0 -0
  170. /package/build/{HEIGHT_BOYS.percentile.yearly-a0b81d93.js → HEIGHT_BOYS.percentile.yearly-05434c6f.js} +0 -0
  171. /package/build/{HEIGHT_BOYS.zscore.monthly-66b7f1fc.js → HEIGHT_BOYS.zscore.monthly-e882bf7d.js} +0 -0
  172. /package/build/{HEIGHT_BOYS.zscore.weekly-e8f6bf08.js → HEIGHT_BOYS.zscore.weekly-d57a88dd.js} +0 -0
  173. /package/build/{HEIGHT_BOYS.zscore.yearly-3d9f36a7.js → HEIGHT_BOYS.zscore.yearly-1d5bc6d1.js} +0 -0
  174. /package/build/{HEIGHT_GIRLS.percentile.monthly-da1e3bea.js → HEIGHT_GIRLS.percentile.monthly-0b65bd7f.js} +0 -0
  175. /package/build/{HEIGHT_GIRLS.percentile.weekly-4a6e9366.js → HEIGHT_GIRLS.percentile.weekly-a4fd093a.js} +0 -0
  176. /package/build/{HEIGHT_GIRLS.percentile.yearly-817527f5.js → HEIGHT_GIRLS.percentile.yearly-ef17bec1.js} +0 -0
  177. /package/build/{HEIGHT_GIRLS.zscore.monthly-fd1774ec.js → HEIGHT_GIRLS.zscore.monthly-24e99d95.js} +0 -0
  178. /package/build/{HEIGHT_GIRLS.zscore.weekly-eb66001e.js → HEIGHT_GIRLS.zscore.weekly-1867e0d5.js} +0 -0
  179. /package/build/{HEIGHT_GIRLS.zscore.yearly-1fc54b31.js → HEIGHT_GIRLS.zscore.yearly-6afbfc0d.js} +0 -0
  180. /package/build/{Onboarding-a3e0406a.js → Onboarding-7d3bca9c.js} +0 -0
  181. /package/build/{Visible-575a4356.js → Visible-cf3a4d21.js} +0 -0
  182. /package/build/{WEIGHT_BOYS.percentile.monthly-603a66dc.js → WEIGHT_BOYS.percentile.monthly-258288a1.js} +0 -0
  183. /package/build/{WEIGHT_BOYS.percentile.weekly-4fd89c8a.js → WEIGHT_BOYS.percentile.weekly-f03d4e02.js} +0 -0
  184. /package/build/{WEIGHT_BOYS.percentile.yearly-2d67ad87.js → WEIGHT_BOYS.percentile.yearly-6287571d.js} +0 -0
  185. /package/build/{WEIGHT_BOYS.zscore.monthly-88da52a8.js → WEIGHT_BOYS.zscore.monthly-d9b34cb1.js} +0 -0
  186. /package/build/{WEIGHT_BOYS.zscore.weekly-9a7d4f09.js → WEIGHT_BOYS.zscore.weekly-2b54403b.js} +0 -0
  187. /package/build/{WEIGHT_BOYS.zscore.yearly-8e5e8ecb.js → WEIGHT_BOYS.zscore.yearly-c42437ba.js} +0 -0
  188. /package/build/{WEIGHT_GIRLS.percentile.monthly-ebeec34b.js → WEIGHT_GIRLS.percentile.monthly-874fe784.js} +0 -0
  189. /package/build/{WEIGHT_GIRLS.percentile.weekly-5cabcac7.js → WEIGHT_GIRLS.percentile.weekly-df227481.js} +0 -0
  190. /package/build/{WEIGHT_GIRLS.percentile.yearly-26ee184d.js → WEIGHT_GIRLS.percentile.yearly-7264d166.js} +0 -0
  191. /package/build/{WEIGHT_GIRLS.zscore.monthly-315cdc46.js → WEIGHT_GIRLS.zscore.monthly-cde92b6e.js} +0 -0
  192. /package/build/{WEIGHT_GIRLS.zscore.weekly-83d78af0.js → WEIGHT_GIRLS.zscore.weekly-4c13b6b1.js} +0 -0
  193. /package/build/{WEIGHT_GIRLS.zscore.yearly-81a40337.js → WEIGHT_GIRLS.zscore.yearly-ea4ed511.js} +0 -0
  194. /package/build/{constants-f3a1bee9.js → constants-1b71621a.js} +0 -0
  195. /package/build/{cookieHelper-ed2cc235.js → cookieHelper-86869137.js} +0 -0
  196. /package/build/{dataTransform-7d01aacc.js → dataTransform-a374d2ca.js} +0 -0
  197. /package/build/{ecom_temp_excluded → ecom}/dataFormatter/index.d.ts +0 -0
  198. /package/build/{ecom_temp_excluded → ecom}/dataFormatter/lib/apiTypes.d.ts +0 -0
  199. /package/build/{ecom_temp_excluded → ecom}/dataFormatter/lib/dataTypes.d.ts +0 -0
  200. /package/build/{ecom_temp_excluded → ecom}/dataFormatter/lib/utils.d.ts +0 -0
  201. /package/build/{ecom_temp_excluded → ecom}/interfaces/constants.d.ts +0 -0
  202. /package/build/{ecom_temp_excluded → ecom}/interfaces/types.d.ts +0 -0
  203. /package/build/esm/{BMI_BOYS.percentile.monthly-8d91de2b.js → BMI_BOYS.percentile.monthly-17562422.js} +0 -0
  204. /package/build/esm/{BMI_BOYS.percentile.weekly-d0961bcf.js → BMI_BOYS.percentile.weekly-db30ceb9.js} +0 -0
  205. /package/build/esm/{BMI_BOYS.percentile.yearly-7208223d.js → BMI_BOYS.percentile.yearly-a7186d77.js} +0 -0
  206. /package/build/esm/{BMI_BOYS.zscore.monthly-d09903ff.js → BMI_BOYS.zscore.monthly-3c5e28d3.js} +0 -0
  207. /package/build/esm/{BMI_BOYS.zscore.weekly-c32b949d.js → BMI_BOYS.zscore.weekly-e213365d.js} +0 -0
  208. /package/build/esm/{BMI_BOYS.zscore.yearly-d3816086.js → BMI_BOYS.zscore.yearly-9561f15a.js} +0 -0
  209. /package/build/esm/{BMI_GIRLS.percentile.monthly-2c4a01f4.js → BMI_GIRLS.percentile.monthly-8dd10f71.js} +0 -0
  210. /package/build/esm/{BMI_GIRLS.percentile.weekly-2e387d85.js → BMI_GIRLS.percentile.weekly-c9f4d47f.js} +0 -0
  211. /package/build/esm/{BMI_GIRLS.percentile.yearly-9a74e655.js → BMI_GIRLS.percentile.yearly-5627f7de.js} +0 -0
  212. /package/build/esm/{BMI_GIRLS.zscore.monthly-cad8bbdd.js → BMI_GIRLS.zscore.monthly-6ca32e52.js} +0 -0
  213. /package/build/esm/{BMI_GIRLS.zscore.weekly-ce874c3d.js → BMI_GIRLS.zscore.weekly-75a420d9.js} +0 -0
  214. /package/build/esm/{BMI_GIRLS.zscore.yearly-7bef6807.js → BMI_GIRLS.zscore.yearly-e8982b51.js} +0 -0
  215. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-6b78df47.js → HEAD CIRCUM_BOYS.percentile.monthly-4558bfaa.js} +0 -0
  216. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-1cd946b3.js → HEAD CIRCUM_BOYS.percentile.weekly-5abd1f88.js} +0 -0
  217. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-f009bffd.js → HEAD CIRCUM_BOYS.percentile.yearly-5a735e0d.js} +0 -0
  218. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-c2d90bc9.js → HEAD CIRCUM_BOYS.zscore.monthly-a7037381.js} +0 -0
  219. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-288f9c5e.js → HEAD CIRCUM_BOYS.zscore.weekly-87b7da1e.js} +0 -0
  220. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-fdf62c26.js → HEAD CIRCUM_BOYS.zscore.yearly-e5d1d2c4.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c89f23be.js → HEAD CIRCUM_GIRLS.percentile.monthly-41cd45c5.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-239f4346.js → HEAD CIRCUM_GIRLS.percentile.weekly-6daf5a3c.js} +0 -0
  223. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-0fdf7b0f.js → HEAD CIRCUM_GIRLS.percentile.yearly-e41ec19f.js} +0 -0
  224. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-bb9b3fb8.js → HEAD CIRCUM_GIRLS.zscore.monthly-9015b491.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2374f963.js → HEAD CIRCUM_GIRLS.zscore.weekly-c02c2c01.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-14e5af93.js → HEAD CIRCUM_GIRLS.zscore.yearly-dffa08c6.js} +0 -0
  227. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-d61e2f06.js → HEIGHT_BOYS.percentile.monthly-0ebcf8af.js} +0 -0
  228. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-0ba254eb.js → HEIGHT_BOYS.percentile.weekly-f8340d97.js} +0 -0
  229. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-72fedf00.js → HEIGHT_BOYS.percentile.yearly-d49af8b2.js} +0 -0
  230. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-6a815451.js → HEIGHT_BOYS.zscore.monthly-5e393c10.js} +0 -0
  231. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-003baec6.js → HEIGHT_BOYS.zscore.weekly-fdeeba2f.js} +0 -0
  232. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-3db10c47.js → HEIGHT_BOYS.zscore.yearly-fd0baac6.js} +0 -0
  233. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-14be988e.js → HEIGHT_GIRLS.percentile.monthly-5bceee07.js} +0 -0
  234. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-9e922e34.js → HEIGHT_GIRLS.percentile.weekly-434b746d.js} +0 -0
  235. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-d23cd66a.js → HEIGHT_GIRLS.percentile.yearly-7e808b00.js} +0 -0
  236. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-02aa7b9f.js → HEIGHT_GIRLS.zscore.monthly-1a57931e.js} +0 -0
  237. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-2e3ec6f4.js → HEIGHT_GIRLS.zscore.weekly-e5b42e75.js} +0 -0
  238. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-51068ac4.js → HEIGHT_GIRLS.zscore.yearly-7d7f6ada.js} +0 -0
  239. /package/build/esm/{Onboarding-90c9bcd0.js → Onboarding-7bd6ad3d.js} +0 -0
  240. /package/build/esm/{Visible-94178a5b.js → Visible-9f453ff0.js} +0 -0
  241. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-86182abb.js → WEIGHT_BOYS.percentile.monthly-4b0e5246.js} +0 -0
  242. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-90ec7729.js → WEIGHT_BOYS.percentile.weekly-cbcd3318.js} +0 -0
  243. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-44cbb1bb.js → WEIGHT_BOYS.percentile.yearly-453ca107.js} +0 -0
  244. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-dbdd2122.js → WEIGHT_BOYS.zscore.monthly-02f78c91.js} +0 -0
  245. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-dc66ea95.js → WEIGHT_BOYS.zscore.weekly-956387f8.js} +0 -0
  246. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-337ced9d.js → WEIGHT_BOYS.zscore.yearly-01b8c4d3.js} +0 -0
  247. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-814e43b7.js → WEIGHT_GIRLS.percentile.monthly-ef7ac289.js} +0 -0
  248. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-04a496f2.js → WEIGHT_GIRLS.percentile.weekly-58e7c536.js} +0 -0
  249. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-016f3276.js → WEIGHT_GIRLS.percentile.yearly-37d1e085.js} +0 -0
  250. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-18f31d8b.js → WEIGHT_GIRLS.zscore.monthly-639a0707.js} +0 -0
  251. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-976d95d4.js → WEIGHT_GIRLS.zscore.weekly-82da39dc.js} +0 -0
  252. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-b404f9af.js → WEIGHT_GIRLS.zscore.yearly-d5fc0fcf.js} +0 -0
  253. /package/build/esm/{constants-5eb2aace.js → constants-c3d3621a.js} +0 -0
  254. /package/build/esm/{cookieHelper-37e74fb1.js → cookieHelper-e8856ac5.js} +0 -0
  255. /package/build/esm/{dataTransform-47e82203.js → dataTransform-df18bc10.js} +0 -0
  256. /package/build/esm/{index-abb17554.js → index-7eeb5e89.js} +0 -0
  257. /package/build/esm/{index-ac931761.js → index-ea6a184a.js} +0 -0
  258. /package/build/esm/{isProduction-9e53b59b.js → isProduction-a8f182ef.js} +0 -0
  259. /package/build/esm/{localizeNumberFormat-fda8486b.js → localizeNumberFormat-ba020dcd.js} +0 -0
  260. /package/build/esm/{normalizeLink-6dd5fc1d.js → normalizeLink-d6518ab9.js} +0 -0
  261. /package/build/esm/{theme-dd640e4d.js → theme-990c1bef.js} +0 -0
  262. /package/build/esm/{translationsContext-3780708a.js → translationsContext-5f6c4455.js} +0 -0
  263. /package/build/esm/{tslib.es6-c201bfb4.js → tslib.es6-3ea48f35.js} +0 -0
  264. /package/build/esm/{useIsInit-70007f2a.js → useIsInit-a3cbe156.js} +0 -0
  265. /package/build/esm/{useOutsideClick-ded290c0.js → useOutsideClick-06449dce.js} +0 -0
  266. /package/build/esm/{useScrollbarSize-5b88dab4.js → useScrollbarSize-1af62d61.js} +0 -0
  267. /package/build/esm/{useUniqueId-4660a2e1.js → useUniqueId-88f6658d.js} +0 -0
  268. /package/build/esm/{utils-d6c6cbd8.js → utils-07aabb8b.js} +0 -0
  269. /package/build/{index-7782c227.js → index-5c97c1d1.js} +0 -0
  270. /package/build/{index-5d34bbed.js → index-5e422dc5.js} +0 -0
  271. /package/build/{isProduction-3194f48f.js → isProduction-9ab5c38d.js} +0 -0
  272. /package/build/{localizeNumberFormat-e0fccb7d.js → localizeNumberFormat-ff73fcbd.js} +0 -0
  273. /package/build/{normalizeLink-b2f7390c.js → normalizeLink-6f8d9650.js} +0 -0
  274. /package/build/{theme-3be93360.js → theme-99c6dfc6.js} +0 -0
  275. /package/build/{translationsContext-f02cb075.js → translationsContext-09a34795.js} +0 -0
  276. /package/build/{tslib.es6-8d899bf7.js → tslib.es6-370a795d.js} +0 -0
  277. /package/build/{useIsInit-f29fa0a7.js → useIsInit-5f7aebd5.js} +0 -0
  278. /package/build/{useOutsideClick-3ad2fd4a.js → useOutsideClick-6d60763f.js} +0 -0
  279. /package/build/{useScrollbarSize-7b181615.js → useScrollbarSize-3e0b93d4.js} +0 -0
  280. /package/build/{useUniqueId-e488badf.js → useUniqueId-2c96f35f.js} +0 -0
  281. /package/build/{utils-7237256b.js → utils-b108444e.js} +0 -0
@@ -0,0 +1 @@
1
+ import{t as e}from"./theme-990c1bef.js";import"./index-a64aadba.js";import{i as o}from"./isProduction-a8f182ef.js";export{t as Types}from"./types-d05d2a44.js";import"./Onboarding-7bd6ad3d.js";var l=Object.freeze({__proto__:null}),i=Object.freeze({__proto__:null});const a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,n="undefined"==typeof window,s=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",r=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",c=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,u=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",d={"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"},m=a?"http://localhost:3001":o?`https://${d[s]}`:`https://discover.${d[s]}`,p=o?`https://wp.${d[s]}/`:`https://staging.${d[s]}/`,_=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:`https://together.${d[s]}/`,h=`${m}/community`,E=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";var I;!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(I||(I={}));const v={"vi-VN":{HOME:()=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]}),CATEGORY:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop${e}`}}]},{"@type":"BrandDetail",url:`https://hellobacsi.com/shop${e}`,numberOfItems:o,itemListElement:null!=t?t:{}}]}),PRODUCT_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop/san-pham/${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop/san-pham/${e}`}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}};var T=Object.freeze({__proto__:null,isDevelopment:a,IS_SSR:n,locale:s,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:r,GOOGLE_ADMIN_LOCATION_KEY:c,GOOGLE_CLIENT_ID:u,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:d,DISCOVER_URL_FE:m,DISCOVER_URL_BE:p,TOGETHER_URL_BE:_,TOGETHER_URL_FE:h,SSO_URL:E,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return I},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},LOCALE_SPECS:{"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"},"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"},"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"},"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"},"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"},"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"},"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"},"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"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},STATIC_PAGES:{"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/"},"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/"},"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/"},"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/"},"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/"},"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"},"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/"},"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/"},"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/"}},FAVICONS:{"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"}]},LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_CARE_LOCALES:["vi-VN","id-ID","en-PH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:v});function g(e){return null!=e}const O={formatAutoCompleteAddress:e=>e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null,formatPrice:(e,o)=>{const t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:e=>({text:(null==e?void 0:e.name)||""}),formatHelpfulUrl:e=>({name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}),formatCategory:function(o,t,l){var i,a,n;const s=l?l+"/"+o.slug:o.slug,r=(null===(a=null===(i=null==o?void 0:o.children)||void 0===i?void 0:i.map)||void 0===a?void 0:a.call(i,(e=>O.formatCategory(e,o.id,s))))||[];return{id:null==o?void 0:o.id,name:(null==o?void 0:o.name)||"",logo:(null==o?void 0:o.logo)||"",slug:(null==o?void 0:o.slug)||"",fullSlug:s||"",children:r,backgroundColor:o.color||e.colors.teal50,parentId:t||0,products:(null===(n=o.products)||void 0===n?void 0:n.map(O.formatProduct))||[]}},formatFooterInfo:e=>{var o,t,l,i,a,n,s,r,c,u,d,m,p,_,h,E,I,v,T;const g=(null===(l=null===(t=null===(o=null==e?void 0:e.branch)||void 0===o?void 0:o.branch)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({flag:e.flag||"",name:e.name||"",url:e.url||""}))))||[],O=(null===(n=null===(a=null===(i=null==e?void 0:e.general)||void 0===i?void 0:i.verified)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>({image:e.image||"",url:e.url||""}))))||[],A=(null===(r=null===(s=null==e?void 0:e.menu)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,(e=>{var o,t;return{menu_title:e.menu_title,items:null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({title:e.title,url:e.url})))}})))||[],b=(null===(d=null===(u=null===(c=null==e?void 0:e.social)||void 0===c?void 0:c.socials)||void 0===u?void 0:u.map)||void 0===d?void 0:d.call(u,(e=>({icon:e.icon||"",name:e.name||"",url:e.url||""}))))||[];return{branch:{title:(null===(m=null==e?void 0:e.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==e?void 0:e.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==e?void 0:e.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(v=null===(I=null==e?void 0:e.general)||void 0===I?void 0:I.copyright)&&void 0!==v?v:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:b}}},formatNavigation:function(e){var o,t,l,i,a,n;return{hotSearchKeywords:(null===(t=null===(o=null==e?void 0:e.hot_search_keywords)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatHotSearchKeyword))||[],helpfulUrls:(null===(i=null===(l=null==e?void 0:e.helpful_urls)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatHelpfulUrl))||[],categories:(null===(n=null===(a=null==e?void 0:e.categories)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>O.formatCategory(e))))||[],footer:O.formatFooterInfo(null==e?void 0:e.footer),storeId:(null==e?void 0:e.store_id)||0,customerId:(null==e?void 0:e.customer_id)||0,cartItemsQty:"number"==typeof(null==e?void 0:e.cart_items_qty)?e.cart_items_qty:null}},formatPriceInfo:e=>e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null,formatProduct:function(e){var o,t,l,i;if(!e)return null;const a={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&O.formatPriceInfo(e.price)||a,thumbnail:e.thumbnail||"",name:e.name||"",averageRating:Number((e.average_rating||0).toFixed(2)),reviewsCount:e.reviews_count||0,tag:e.tag||null,sku:e.sku||"",slug:e.slug||"",images:e.images||[],tags:e.tags||[],unit:e.unit||"",brand:e.brand?{name:e.brand.name||"",image:e.brand.image||"",slug:e.brand.slug||"",productsCount:e.brand.products_count||0}:null,description:e.description||"",productPromotions:(null===(t=null===(o=e.product_promotions)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProductPromotion).filter(g))||[],categories:(null===(i=null===(l=e.categories)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,(e=>O.formatCategory(e))).filter(g))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:e=>e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null,formatBlogPost:e=>{var o,t;return e?{title:e.title||"",image:e.image||"",link:e.link||"",postData:e.post_data?{reviewed:e.post_data.reviewed?{author:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(e.post_data.reviewed.is_author)}:null,categories:e.post_data.categories?null===(t=(o=e.post_data.categories).map)||void 0===t?void 0:t.call(o,(e=>({termId:e.term_id||0,name:e.name||"",permalink:e.permalink||"",textColor:e.text_color||""}))):[],postDate:e.post_data.post_date||"",postModified:e.post_data.post_modified||"",modifiedTime:e.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:e=>e?{id:e.ID||0,userId:e.user_id||0,formerRole:e.former_role||"",role:e.role||"",slug:e.slug||"",displayName:e.display_name||"",description:e.description||"",profileUrl:e.profile_url||"",avatar:e.avatar||"",avatarThumbnail:e.avatar_thumbnail||"",turnOffProfile:Boolean(e.turn_off_profile)}:null,formatBrand:function(e){var o,t,l,i;return e?{id:e.id||0,image:e.image||"",position:e.position||"",isPopular:e.is_popular||!1,summary:e.summary||"",name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatHomePage:e=>{var o,t,l,i,a,n,s,r,c,u,d,m,p,_,h,E,I,v,T,A;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,O.formatBrand).filter(g):[],hotDeals:e.hot_deals?null===(i=(l=e.hot_deals).map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g):[],newProducts:e.new_products?null===(n=(a=e.new_products).map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g):[],slideBanners:e.slide_banners?null===(r=(s=e.slide_banners).map)||void 0===r?void 0:r.call(s,O.formatBanner).filter(g):[],subBanners:e.sub_banners?null===(u=(c=e.sub_banners).map)||void 0===u?void 0:u.call(c,O.formatBanner).filter(g):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,O.formatBanner).filter(g):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,O.formatBlogPost).filter(g):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(e=>O.formatCategory(e))).filter(g):[],suggestProducts:e.suggest_products?null===(v=(I=e.suggest_products).map)||void 0===v?void 0:v.call(I,(e=>O.formatCategory(e))).filter(g):[],promotions:e.promotions?null===(A=(T=e.promotions).map)||void 0===A?void 0:A.call(T,(e=>O.formatPromotion(e))).filter(g):[]}:null},formatCategoryPage:function(e){var o,t,l,i;return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatBrandPage:function(e){return e?O.formatBrand(e):null},formatPagination:e=>e?{current:e.current||0,first:e.first||0,itemsPerPage:e.items_per_page||0,last:e.last||0,next:e.next||0,prev:e.prev||0,totalItems:e.total_items||0}:null,formatProductDetailPage:function(e){var o,t,l,i,a,n,s,r;return e?Object.assign(Object.assign({},O.formatProduct(e)),{relatedProducts:(null===(t=null===(o=e.related_products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProduct).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[],viewedProducts:(null===(n=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g))||[],promotions:(null===(r=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,O.formatPromotion).filter(g))||[]}):null},formatProductReview:e=>{var o,t;return e?{reviewId:e.review_id||"",createdAt:e.created_at||"",title:e.title||"",detail:e.detail||"",nickname:e.nick_name||"",avatar:e.avatar||"",ratingVotes:(null===(t=null===(o=e.rating_votes)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}))))||[],images:e.images||[]}:null},formatProductPromotion:e=>e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null,formatPromotion:e=>e?{id:e.id||0,name:e.name||"",slug:e.slug||"",thumbnail:e.thumbnail||"",expiredDate:e.expired_date||"",banners:e.banners||[],points:0,description:e.description||"",metaTitle:e.meta_title||"",metaKeywords:e.meta_keywords||"",metaDescription:e.meta_description||""}:null,formatCustomAttributes:(e,o)=>{var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((e=>e.attribute_code===o)))||void 0===t?void 0:t.value)||""},formatAddress:e=>{var o,t,l,i;return e?{id:e.id||0,fullName:e.firstname||"",telephone:e.telephone||"",province:{value:null===(o=e.region)||void 0===o?void 0:o.region_id,label:null===(t=e.region)||void 0===t?void 0:t.region}||null,district:{value:O.formatCustomAttributes(e.custom_attributes,"district_id"),label:O.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:O.formatCustomAttributes(e.custom_attributes,"ward_id"),label:O.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(l=null==e?void 0:e.street)||void 0===l?void 0:l.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(i=null==e?void 0:e.extension_attributes)||void 0===i?void 0:i.full_address)||""}:null},formatProvince:e=>(null==e?void 0:e.available_regions)?e.available_regions.map((e=>({value:e.id||"",label:e.name||""}))):[],formatDistrict:e=>(null==e?void 0:e.districts)?e.districts.map((e=>({value:e.id||"",label:e.name||""}))):[],formatCommune:e=>(null==e?void 0:e.communes)?e.communes.map((e=>({value:e.id||"",label:e.name||""}))):[],formatOrder:e=>{var o,t;return e?{orderNumber:(null==e?void 0:e.order_number)||"",shippingData:(null==e?void 0:e.shipping_data)?{shippingMethod:e.shipping_data.shipping_method||"",shippingDescription:e.shipping_data.shipping_description||"",shippingAddress:e.shipping_data.shipping_address?{fullName:e.shipping_data.shipping_address.firstname||"",fullAddress:e.shipping_data.shipping_address.full_address||"",telephone:e.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==e?void 0:e.ordered_date)||"",status:(null==e?void 0:e.status)||null,totals:(null==e?void 0:e.totals)?{subtotal:e.totals.subtotal||0,shippingAmount:e.totals.shipping_amount||0,discountAmount:e.totals.discount_amount||0,grandTotal:e.totals.grand_total||0}:null,products:(null===(t=null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({sku:e.sku||"",name:e.name||"",price:e.price||0,rowTotal:e.row_total||0,image:e.image||"",qty:e.qty||0}))))||[],paymentMethod:(null==e?void 0:e.payment_method)||""}:null},formatStatistic:e=>{var o,t,l,i,a;return e?{pending:Number(null===(o=null==e?void 0:e.find((e=>"pending"===e.status)))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((e=>"processing"===e.status)))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(l=null==e?void 0:e.find((e=>"delivering"===e.status)))||void 0===l?void 0:l.amount)||0,complete:Number(null===(i=null==e?void 0:e.find((e=>"complete"===e.status)))||void 0===i?void 0:i.amount)||0,canceled:Number(null===(a=null==e?void 0:e.find((e=>"canceled"===e.status)))||void 0===a?void 0:a.amount)||0}:{}},formatCartItem:e=>{var o,t,l,i,a,n,s,r;return e?{itemId:e.item_id||0,sku:e.sku||"",qty:e.qty||0,name:e.name||"",price:e.price||0,basePrice:(null===(o=e.extension_attributes)||void 0===o?void 0:o.base_price)||0,productType:e.product_type||"",quoteId:e.quote_id||"",thumbnail:(null===(t=e.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(l=e.extension_attributes)||void 0===l?void 0:l.row_total)||0,promotions:(null===(n=null===(a=null===(i=e.extension_attributes)||void 0===i?void 0:i.promotions)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProductPromotion))||[],isInStock:(null===(s=e.extension_attributes)||void 0===s?void 0:s.is_in_stock)||!1,urlProduct:(null===(r=e.extension_attributes)||void 0===r?void 0:r.url_key)||""}:null},formatCartAddress:e=>{var o;return e?{customerAddressId:(null==e?void 0:e.customer_address_id)||0,id:e.id||0,region:e.region||"",regionId:e.region_id||0,regionCode:e.region_code||"",countryId:e.country_id||"",street:e.street||[],postcode:e.postcode||"",city:e.city||"",firstname:e.firstname||"",lastname:e.lastname||"",customerId:e.customer_id||0,email:e.email||"",telephone:e.telephone||"",sameAsBilling:e.same_as_billing||0,saveInAddressBook:e.save_in_address_book||0,fullAddress:(null===(o=e.extension_attributes)||void 0===o?void 0:o.full_address)||""}:null},formatEstimatedShipping:e=>e?{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",carrierTitle:e.carrier_title||"",methodTitle:e.method_title||"",amount:e.amount||0,baseAmount:e.base_amount||0,available:e.available||!1,errorMessage:e.error_message||"",priceExclTax:e.price_excl_tax||0,priceInclTax:e.price_incl_tax||0}:null,formatCartLoggedInCustomer:e=>{var o,t,l;return e?{email:e.email||"",firstname:e.firstname||"",lastname:e.lastname||"",id:e.id||0,groupId:e.group_id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",createdIn:e.created_in||"",storeId:e.store_id||0,websiteId:e.website_id||0,addresses:(null===(t=null===(o=e.addresses)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(l=e.extension_attributes)||void 0===l?void 0:l.is_subscribed)||!1}:null},formatCart:e=>{var o,t,l,i,a,n,s,r,c,u,d,m,p,_;return e?{id:e.id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",isActive:e.is_active||!1,isVirtual:e.is_virtual||!1,items:(null===(l=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartItem))||void 0===l?void 0:l.sort(((e,o)=>Number(null==o?void 0:o.isInStock)-Number(null==e?void 0:e.isInStock))))||[],itemsCount:e.items_count||0,itemsQty:e.items_qty||0,customer:e.customer?O.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?O.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(i=e.currency)||void 0===i?void 0:i.global_currency_code)||"",baseCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.base_currency_code)||"",storeCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.store_currency_code)||"",quoteCurrencyCode:(null===(s=e.currency)||void 0===s?void 0:s.quote_currency_code)||"",storeToBaseRate:(null===(r=e.currency)||void 0===r?void 0:r.store_to_base_rate)||0,storeToQuoteRate:(null===(c=e.currency)||void 0===c?void 0:c.store_to_quote_rate)||0,baseToGlobalRate:(null===(u=e.currency)||void 0===u?void 0:u.base_to_global_rate)||0,baseToQuoteRate:(null===(d=e.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:e.customer_is_guest||!1,customerNoteNotify:e.customer_note_notify||!1,customerTaxClassId:e.customer_tax_class_id||0,storeId:e.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=e.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(e=>{var o,t,l;return{shipping:{address:e.shipping.address?O.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(l=(t=e.items).map)||void 0===l?void 0:l.call(t,O.formatCartItem))||[]}}))}:null},formatCartTotal:e=>{var o,t,l;return e?{grandTotal:e.grand_total||0,baseGrandTotal:e.base_grand_total||0,subtotal:e.subtotal||0,baseSubtotal:e.base_subtotal||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,subtotalWithDiscount:e.subtotal_with_discount||0,baseSubtotalWithDiscount:e.base_subtotal_with_discount||0,shippingAmount:e.shipping_amount||0,baseShippingAmount:e.base_shipping_amount||0,shippingDiscountAmount:e.shipping_discount_amount||0,baseShippingDiscountAmount:e.base_shipping_discount_amount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,shippingTaxAmount:e.shipping_tax_amount||0,baseShippingTaxAmount:e.base_shipping_tax_amount||0,subtotalInclTax:e.subtotal_incl_tax||0,shippingInclTax:e.shipping_incl_tax||0,baseShippingInclTax:e.base_shipping_incl_tax||0,baseCurrencyCode:e.base_currency_code||"",quoteCurrencyCode:e.quote_currency_code||"",itemsQty:e.items_qty||0,coupon:{couponCode:e.coupon_code||"",couponDescription:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.coupon_description_text)||""},items:(null===(l=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({itemId:e.item_id||0,price:e.price||0,basePrice:e.base_price||0,qty:e.qty||0,rowTotal:e.row_total||0,baseRowTotal:e.base_row_total||0,rowTotalWithDiscount:e.row_total_with_discount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,taxPercent:e.tax_percent||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,discountPercent:e.discount_percent||0,priceInclTax:e.price_incl_tax||0,basePriceInclTax:e.base_price_incl_tax||0,rowTotalInclTax:e.row_total_incl_tax||0,baseRowTotalInclTax:e.base_row_total_incl_tax||0,options:e.options||"",weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,weeeTaxApplied:e.weee_tax_applied||0,name:e.name||""}))))||[],totalSegments:e.total_segments||[]}:null},formatPaymentMethod:e=>e?null==e?void 0:e.map((e=>({code:(null==e?void 0:e.payment_code)||"",title:(null==e?void 0:e.payment_title)||"",thumbnail:(null==e?void 0:e.payment_thumbnail)||""}))):null,formatPaymentInformation:e=>{var o;return e?{paymentMethods:O.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:O.formatCartTotal(e.totals)}:null},formatOrderConfirmation:e=>e?{isSuccess:e.is_success||!1,orderInfo:O.formatOrder(e.order_info)}:null,formatCoupons:e=>{var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((e=>({code:(null==e?void 0:e.code)||"",name:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",description:(null==e?void 0:e.expired_date)||""}))):null},formatShippings:e=>e?e.map((e=>{var o;return{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",title:e.carrier_title||"",description:e.method_title||"",price:(null==e?void 0:e.base_amount)||0,thumbnail:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.thumbnail)||""}})):[]};var A=Object.freeze({__proto__:null,dataFormatter:O});export{l as ApiTypes,T as Constants,A as DataFormatter,i as DataTypes};
@@ -1 +1 @@
1
- import e from"react";import{B as t}from"./index-be200a7d.js";import{C as a}from"./index-4535b95b.js";import{T as l}from"./index-a99d240c.js";import{d as n}from"./index-0827f302.js";import{t as o}from"./theme-dd640e4d.js";import{u as i}from"./useTranslations-dfa6d559.js";import{L as r}from"./index-2929a547.js";import{M as c}from"./index-9131c258.js";import"./tslib.es6-c201bfb4.js";import"./utils-d6c6cbd8.js";import"styled-components";import"./gAssets.js";import"./isProduction-9e53b59b.js";import"./Onboarding-90c9bcd0.js";import"./translationsContext-3780708a.js";import"string-format";import"./index.styled-93a757b5.js";var s="Lj0qoTD",m="OO-qFWT";const d=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:m,"data-is-mobile":a},e.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o})),v=({className:r,type:c="main",footerInfo:m,isMobile:v,locale:u})=>{var E,g,y,p,b,N,f,h,k,F,$,z,j,C,T,x,M,L,w,A,_,H,B,I,G,S,D,q;const{t:O}=i(),J=null==m?void 0:m.menu,K=(null===(g=null===(E=null==m?void 0:m.general)||void 0===E?void 0:E.verified)||void 0===g?void 0:g.filter(Boolean))||[];return e.createElement("footer",{className:`${s} ${r||""}`,style:"mini"===c?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":c},"main"===c?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==m?void 0:m.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===u})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(l,{size:"p1",type:"bold"},null===(p=null==m?void 0:m.general)||void 0===p?void 0:p.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(b=null==m?void 0:m.social)||void 0===b?void 0:b.title),e.createElement("div",{className:"icons"},null===(f=null===(N=null==m?void 0:m.social)||void 0===N?void 0:N.socials)||void 0===f?void 0:f.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,J&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(k=null===(h=J[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(F=J[1])||void 0===F?void 0:F.menu_title),null===(z=null===($=J[1])||void 0===$?void 0:$.items)||void 0===z?void 0:z.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[u]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(j=J[2])||void 0===j?void 0:j.menu_title),null===(T=null===(C=J[2])||void 0===C?void 0:C.items)||void 0===T?void 0:T.map(((t,a)=>t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(x=null==m?void 0:m.branch)||void 0===x?void 0:x.title),e.createElement("div",{className:"flags"},null===(L=null===(M=null==m?void 0:m.branch)||void 0===M?void 0:M.branch)||void 0===L?void 0:L.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(d,{url:t.flag,isMobile:v,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url})))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},K.length?K.map(((t,a)=>e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"})))):null),e.createElement(l,{size:"xs",type:"regular",className:"copyright-content"},null===(w=null==m?void 0:m.general)||void 0===w?void 0:w.copyright)),"vi-VN"===u&&e.createElement(l,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):e.createElement(e.Fragment,null,(null==m?void 0:m.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==m?void 0:m.menu[1])||void 0===A?void 0:A.menu_title),null===(H=null===(_=null==m?void 0:m.menu[1])||void 0===_?void 0:_.items)||void 0===H?void 0:H.map((t=>e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":`https://${n[u]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`},e.createElement(l,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[u]}${t.url}`,size:"sm",type:"regular",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==m?void 0:m.menu[2])||void 0===B?void 0:B.menu_title),null===(G=null===(I=null==m?void 0:m.menu[2])||void 0===I?void 0:I.items)||void 0===G?void 0:G.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(l,{size:"sm",type:"regular",style:{color:o.colors.gray800},dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==c&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(S=null==m?void 0:m.social)||void 0===S?void 0:S.title),e.createElement("div",{className:"icons"},null===(q=null===(D=null==m?void 0:m.social)||void 0===D?void 0:D.socials)||void 0===q?void 0:q.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var u="B6-KmWK",E="GS-7mbG",g="qc5bEb3",y="CQGVeuT",p="_6JMoel-",b="_8eUT8Jr",N="cjDwoLi";const f=({logoType:t="marryBaby",footerMenu:l,background:n})=>{var i;if(!l)return null;const{general:s,menu:m,socials:d}=l;return e.createElement("footer",{className:u,style:{backgroundColor:n||"none"}},e.createElement("div",{className:N},e.createElement(a,null,e.createElement("div",{className:E},null==m?void 0:m.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:g,key:`mbf${l}`},e.createElement(c,{className:"title",type:"subtitle-1",color:o.mbColors.pink},t),null==a?void 0:a.map((({title:t,url:a},l)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${a}`,className:"link",href:a,key:`footer-links-${l}`},e.createElement("div",{className:y,key:`mbitem${l}`},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:p},e.createElement(r,{className:"logo",type:t}),e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},null==s?void 0:s.content)),e.createElement("div",{className:"social-link"},null==d?void 0:d.map((({icon:t,name:a,url:l},n)=>e.createElement("a",{key:`social${n}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${a}`,"data-content-label":a,href:l},e.createElement("img",{loading:"lazy",src:t,alt:a}))))))),e.createElement("div",{className:b},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-3",color:o.colors.white},null==s?void 0:s.copyright),e.createElement("div",{className:"verify"},null===(i=null==s?void 0:s.verified)||void 0===i?void 0:i.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a})))))))))},h=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(v,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement(f,{footerMenu:n,background:i});export{h as Footer};
1
+ import e from"react";import{B as t}from"./index-95cf8aae.js";import{C as a}from"./index-fa563105.js";import{T as l}from"./index-9180fa5c.js";import{d as n}from"./index-a64aadba.js";import{t as o}from"./theme-990c1bef.js";import{u as i}from"./useTranslations-3a7456bd.js";import{L as r}from"./index-f504265e.js";import{M as c}from"./index-a31d730b.js";import"./tslib.es6-3ea48f35.js";import"./utils-07aabb8b.js";import"styled-components";import"./gAssets.js";import"./isProduction-a8f182ef.js";import"./Onboarding-7bd6ad3d.js";import"./translationsContext-5f6c4455.js";import"string-format";import"./index.styled-223112df.js";var s="Lj0qoTD",m="OO-qFWT";const d=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:m,"data-is-mobile":a},e.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o})),v=({className:r,type:c="main",footerInfo:m,isMobile:v,locale:u})=>{var E,g,y,p,b,N,f,h,k,F,$,z,j,C,T,x,M,L,w,A,_,H,B,I,G,S,D,q;const{t:O}=i(),J=null==m?void 0:m.menu,K=(null===(g=null===(E=null==m?void 0:m.general)||void 0===E?void 0:E.verified)||void 0===g?void 0:g.filter(Boolean))||[];return e.createElement("footer",{className:`${s} ${r||""}`,style:"mini"===c?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":c},"main"===c?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==m?void 0:m.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===u})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(l,{size:"p1",type:"bold"},null===(p=null==m?void 0:m.general)||void 0===p?void 0:p.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(b=null==m?void 0:m.social)||void 0===b?void 0:b.title),e.createElement("div",{className:"icons"},null===(f=null===(N=null==m?void 0:m.social)||void 0===N?void 0:N.socials)||void 0===f?void 0:f.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,J&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(k=null===(h=J[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(F=J[1])||void 0===F?void 0:F.menu_title),null===(z=null===($=J[1])||void 0===$?void 0:$.items)||void 0===z?void 0:z.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[u]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(j=J[2])||void 0===j?void 0:j.menu_title),null===(T=null===(C=J[2])||void 0===C?void 0:C.items)||void 0===T?void 0:T.map(((t,a)=>t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(x=null==m?void 0:m.branch)||void 0===x?void 0:x.title),e.createElement("div",{className:"flags"},null===(L=null===(M=null==m?void 0:m.branch)||void 0===M?void 0:M.branch)||void 0===L?void 0:L.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(d,{url:t.flag,isMobile:v,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url})))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},K.length?K.map(((t,a)=>e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"})))):null),e.createElement(l,{size:"xs",type:"regular",className:"copyright-content"},null===(w=null==m?void 0:m.general)||void 0===w?void 0:w.copyright)),"vi-VN"===u&&e.createElement(l,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):e.createElement(e.Fragment,null,(null==m?void 0:m.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==m?void 0:m.menu[1])||void 0===A?void 0:A.menu_title),null===(H=null===(_=null==m?void 0:m.menu[1])||void 0===_?void 0:_.items)||void 0===H?void 0:H.map((t=>e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":`https://${n[u]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`},e.createElement(l,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[u]}${t.url}`,size:"sm",type:"regular",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==m?void 0:m.menu[2])||void 0===B?void 0:B.menu_title),null===(G=null===(I=null==m?void 0:m.menu[2])||void 0===I?void 0:I.items)||void 0===G?void 0:G.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(l,{size:"sm",type:"regular",style:{color:o.colors.gray800},dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==c&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(S=null==m?void 0:m.social)||void 0===S?void 0:S.title),e.createElement("div",{className:"icons"},null===(q=null===(D=null==m?void 0:m.social)||void 0===D?void 0:D.socials)||void 0===q?void 0:q.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var u="B6-KmWK",E="GS-7mbG",g="qc5bEb3",y="CQGVeuT",p="_6JMoel-",b="_8eUT8Jr",N="cjDwoLi";const f=({logoType:t="marryBaby",footerMenu:l,background:n})=>{var i;if(!l)return null;const{general:s,menu:m,socials:d}=l;return e.createElement("footer",{className:u,style:{backgroundColor:n||"none"}},e.createElement("div",{className:N},e.createElement(a,null,e.createElement("div",{className:E},null==m?void 0:m.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:g,key:`mbf${l}`},e.createElement(c,{className:"title",type:"subtitle-1",color:o.mbColors.pink},t),null==a?void 0:a.map((({title:t,url:a},l)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${a}`,className:"link",href:a,key:`footer-links-${l}`},e.createElement("div",{className:y,key:`mbitem${l}`},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:p},e.createElement(r,{className:"logo",type:t}),e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},null==s?void 0:s.content)),e.createElement("div",{className:"social-link"},null==d?void 0:d.map((({icon:t,name:a,url:l},n)=>e.createElement("a",{key:`social${n}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${a}`,"data-content-label":a,href:l},e.createElement("img",{loading:"lazy",src:t,alt:a}))))))),e.createElement("div",{className:b},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-3",color:o.colors.white},null==s?void 0:s.copyright),e.createElement("div",{className:"verify"},null===(i=null==s?void 0:s.verified)||void 0===i?void 0:i.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a})))))))))},h=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(v,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement(f,{footerMenu:n,background:i});export{h as Footer};
@@ -1 +1 @@
1
- import{d as s}from"./index-0827f302.js";import{i as e}from"./isProduction-9e53b59b.js";import"./Onboarding-90c9bcd0.js";const t="hellosehat.com";class o{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(s,t,o)=>{const i="https://hhg-common."+[t||this.getBaseDomain(),o||this.subPath,s].join("/");return e||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:e}=window.location,o=e.split("."),i=s[Object.keys(s).find((t=>e.includes(s[t])))];return o.includes("localhost")||o.includes("hellohealthgroup")||o.every((s=>{return e=s,!isNaN(parseFloat(e))&&isFinite(e);var e}))||!i?t:i}return t}}const i=new o;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=s[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]);export{i as CommonGAssets,o as GAssets};
1
+ import{d as s}from"./index-a64aadba.js";import{i as e}from"./isProduction-a8f182ef.js";import"./Onboarding-7bd6ad3d.js";const t="hellosehat.com";class o{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(s,t,o)=>{const i="https://hhg-common."+[t||this.getBaseDomain(),o||this.subPath,s].join("/");return e||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:e}=window.location,o=e.split("."),i=s[Object.keys(s).find((t=>e.includes(s[t])))];return o.includes("localhost")||o.includes("hellohealthgroup")||o.every((s=>{return e=s,!isNaN(parseFloat(e))&&isFinite(e);var e}))||!i?t:i}return t}}const i=new o;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=s[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]);export{i as CommonGAssets,o as GAssets};
@@ -1 +1 @@
1
- import{a as t}from"./tslib.es6-c201bfb4.js";import{g as i}from"./core-f875473d.js";import{n as o}from"./normalizeLink-6dd5fc1d.js";import{c as l}from"./routing-7957593c.js";const e=(t,i)=>{var o,l;if(!t)return{};const e="tl-PH"===i?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(o=t.link)||void 0===o?void 0:o.startsWith("http"))?t.link:`${e}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${e}/`,"/")),subtitle:t.subtitle,title:t.title}},n=i=>t(void 0,void 0,void 0,(function*(){var t,n;try{let d;d="undefined"!=typeof window?window.fetch:yield require("node-fetch");const r="tl-PH"===i?"lang=fil":"";let s=[];try{const a=yield d(o(`${l(i)}/wp-json/api/healthtools?ismenu=0${r?"&"+r:""}`)).then((t=>t.json()));s=(null===(n=null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>e(t,i))))||[]}catch(t){}return s}catch(t){console.error(t)}})),d=o=>t(void 0,void 0,void 0,(function*(){return(yield i("all-health-tools",(()=>n(o||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));export{d as a,e as f,n as g};
1
+ import{a as t}from"./tslib.es6-3ea48f35.js";import{g as i}from"./core-32afeb43.js";import{n as o}from"./normalizeLink-d6518ab9.js";import{c as l}from"./routing-3641a500.js";const e=(t,i)=>{var o,l;if(!t)return{};const e="tl-PH"===i?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(o=t.link)||void 0===o?void 0:o.startsWith("http"))?t.link:`${e}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${e}/`,"/")),subtitle:t.subtitle,title:t.title}},n=i=>t(void 0,void 0,void 0,(function*(){var t,n;try{let a;a="undefined"!=typeof window?window.fetch:yield require("node-fetch");const r="tl-PH"===i?"lang=fil":"";let s=[];try{const d=yield a(o(`${l(i)}/wp-json/api/healthtools?ismenu=0${r?"&"+r:""}`)).then((t=>t.json()));s=(null===(n=null===(t=null==d?void 0:d.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>e(t,i))))||[]}catch(t){}return s}catch(t){console.error(t)}})),a=o=>t(void 0,void 0,void 0,(function*(){return(yield i("all-health-tools",(()=>n(o||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));export{a,e as f,n as g};
@@ -1 +1 @@
1
- import e from"react";import{L as t}from"./Onboarding-90c9bcd0.js";import{CommonGAssets as C}from"./gAssets.js";const l=l=>[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${l}`},{icon:e.createElement("img",{src:C.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${l}`,allowedLocales:[t.Vietnam]},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${l}`},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_687_88944)"},e.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),e.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),e.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#36F46C"}),e.createElement("stop",{offset:"1",stopColor:"#03D749"})),e.createElement("clipPath",{id:"clip0_687_88944"},e.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${l}`},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${l}`},{icon:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},e.createElement("g",{id:"surface1"},e.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),e.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),e.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),e.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${l}`,allowedLocales:[t.Taiwan]}];export{l as g};
1
+ import e from"react";import{L as t}from"./Onboarding-7bd6ad3d.js";import{CommonGAssets as C}from"./gAssets.js";const l=l=>[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${l}`},{icon:e.createElement("img",{src:C.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${l}`,allowedLocales:[t.Vietnam]},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${l}`},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_687_88944)"},e.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),e.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),e.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#36F46C"}),e.createElement("stop",{offset:"1",stopColor:"#03D749"})),e.createElement("clipPath",{id:"clip0_687_88944"},e.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${l}`},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${l}`},{icon:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},e.createElement("g",{id:"surface1"},e.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),e.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),e.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),e.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${l}`,allowedLocales:[t.Taiwan]}];export{l as g};
@@ -1 +1 @@
1
- export{u as useTranslations}from"./useTranslations-dfa6d559.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-5b88dab4.js";export{u as useFbDataLayer,a as usePrevious,b as useRafState}from"./useRafState-09c4688b.js";export{u as useHealthToolsCache}from"./useHealthToolCache-8565dd08.js";export{u as useIsInit}from"./useIsInit-70007f2a.js";export{i as initSharedOutSideClickListener,a as useOutsideClick,u as useSharedOutsideClick}from"./useOutsideClick-ded290c0.js";export{u as useInitialMount,a as useUniqueId}from"./useUniqueId-4660a2e1.js";import"react";import"./translationsContext-3780708a.js";import"string-format";import"lodash/debounce";import"./tslib.es6-c201bfb4.js";import"./cookieHelper-37e74fb1.js";import"./getDynamicHealthTool-939b6fac.js";import"./core-f875473d.js";import"./isProduction-9e53b59b.js";import"./normalizeLink-6dd5fc1d.js";import"./routing-7957593c.js";import"./index-0827f302.js";import"./Onboarding-90c9bcd0.js";
1
+ export{u as useTranslations}from"./useTranslations-3a7456bd.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-1af62d61.js";export{u as useFbDataLayer,a as usePrevious,b as useRafState}from"./useRafState-b8a620e9.js";export{u as useHealthToolsCache}from"./useHealthToolCache-d3c55c1d.js";export{u as useIsInit}from"./useIsInit-a3cbe156.js";export{i as initSharedOutSideClickListener,a as useOutsideClick,u as useSharedOutsideClick}from"./useOutsideClick-06449dce.js";export{u as useInitialMount,a as useUniqueId}from"./useUniqueId-88f6658d.js";import"react";import"./translationsContext-5f6c4455.js";import"string-format";import"lodash/debounce";import"./tslib.es6-3ea48f35.js";import"./cookieHelper-e8856ac5.js";import"./getDynamicHealthTool-6d7dd77f.js";import"./core-32afeb43.js";import"./isProduction-a8f182ef.js";import"./normalizeLink-d6518ab9.js";import"./routing-3641a500.js";import"./index-a64aadba.js";import"./Onboarding-7bd6ad3d.js";
package/build/esm/i18n.js CHANGED
@@ -1 +1 @@
1
- export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-093bd93e.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-3780708a.js";import"react";
1
+ export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-ca419d2d.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-5f6c4455.js";import"react";
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-c201bfb4.js";import t,{useState as a,useEffect as l}from"react";import{L as n}from"./Onboarding-90c9bcd0.js";import{S as r,a as o,b as i}from"./index.styled-588eb0f9.js";const c=c=>{var{data:d,isMobile:m,onSlideChange:g,pillProps:b,locale:p=n.Vietnam,blurFromIndex:h,blurLength:C}=c,v=e(c,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const u={withControls:!m,slideGap:16,blurFromCenter:!0,blurFromIndex:h||(m?2:4),blurLength:C||(m?1:3),onSlideChange:g},[f,w]=a("");return l((()=>{w(window.location.href)}),[]),t.createElement(r,Object.assign({},u,v,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(s,{currentUrl:f}),nextControlIcon:t.createElement(s,{currentUrl:f,isRight:!0})}),(e=>d.map(((a,l)=>t.createElement(o,Object.assign({key:l,onClick:g,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":f,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":f}},b),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(i,{locale:p,name:a.name,icon:a.icon,className:l===e?"selected-week-pill":""})))))))},s=({isRight:e,currentUrl:a})=>t.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":a},t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));export{c as P};
1
+ import{_ as e}from"./tslib.es6-3ea48f35.js";import t,{useState as a,useEffect as l}from"react";import{L as n}from"./Onboarding-7bd6ad3d.js";import{S as r,a as o,b as i}from"./index.styled-8f91961a.js";const c=c=>{var{data:d,isMobile:m,onSlideChange:g,pillProps:p,locale:h=n.Vietnam,blurFromIndex:b,blurLength:C}=c,v=e(c,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const u={withControls:!m,slideGap:16,blurFromCenter:!0,blurFromIndex:b||(m?2:4),blurLength:C||(m?1:3),onSlideChange:g},[f,w]=a("");return l((()=>{w(window.location.href)}),[]),t.createElement(r,Object.assign({},u,v,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(s,{currentUrl:f}),nextControlIcon:t.createElement(s,{currentUrl:f,isRight:!0})}),(e=>d.map(((a,l)=>t.createElement(o,Object.assign({key:l,onClick:g,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":f,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":f}},p),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(i,{locale:h,name:a.name,icon:a.icon,className:l===e?"selected-week-pill":""})))))))},s=({isRight:e,currentUrl:a})=>t.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":a},t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));export{c as P};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-c201bfb4.js";import l,{createContext as r,useContext as n,useRef as t,useState as i,useEffect as o}from"react";import{Carousel as c}from"@mantine/carousel";import{useResizeObserver as d}from"@mantine/hooks";const s=c.Slide,a=r({}),u=(e,l)=>e>=l?e-l:e,p=r=>{var{children:n,blurFromCenter:s,blurFromIndex:p,blurLength:h=3,maxBlurOpacity:m=.5,onSlideChange:x,selectSlideWhenClick:v}=r,b=e(r,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const[g,S]=d(),f=t(null),[y,C]=i(0),k=()=>{var e,l,r;const n=null===(e=null==f?void 0:f.current)||void 0===e?void 0:e.selectedScrollSnap();C(n);const t=(null===(l=null==f?void 0:f.current)||void 0===l?void 0:l.slideNodes())||[],i=t.length,o=(null===(r=null==f?void 0:f.current)||void 0===r?void 0:r.slidesInView()).length,c=Math.floor(o/2),d=s?p+h-1:c,a=n+d,x=a===i?0:a>i?a-i:a,v=n-d,b=v<0?i+v:v>0?n-d:0,g=Array(2*d+1).fill("").map(((e,l)=>u(b+l,i)));t.map(((e,l)=>{if(l===n?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==g.indexOf(l)){const n=m/h;for(let o=0;o<h;o++){if(l===u(b+o,i)||l===(t=i,(r=x-o)<0?t+r:r)){e.style.opacity=String((o+1)*n);break}e.style.opacity="1"}}else e.style.opacity="0";var r,t}))},O={getEmblaApi:e=>{f.current=e},onSlideChange:e=>{k(),null==x||x(e)}};return o((()=>{(null==f?void 0:f.current)&&k()}),[S]),l.createElement(a.Provider,{value:{slider:null==f?void 0:f.current,centerSlide:y,selectSlideWhenClick:v}},l.createElement(c,Object.assign({ref:g,slideSize:"auto",containScroll:"trimSnaps"},O,b,{loop:!0}),"function"==typeof n?n(y):n))};p.Slide=r=>{var{children:c,onClick:d,innerSlideProps:u}=r,p=e(r,["children","onClick","innerSlideProps"]);const{slider:h,selectSlideWhenClick:m}=n(a),x=t(),v=t(""),[b,g]=i(0);o((()=>{v.current=String(Math.round(1e4*Math.random()))}),[]),o((()=>{const e=(null==h?void 0:h.slideNodes())||[];g(e.findIndex((e=>e.dataset.key===v.current)))}),[h]);const S={ref:x,"data-key":v.current,"data-index":b,styles:()=>({control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}})};return l.createElement(s,Object.assign({},S,p),l.createElement("div",Object.assign({onClick:()=>{m&&(null==h||h.scrollTo(b)),null==d||d(b)}},u),c))};export{p as C};
1
+ import{_ as e}from"./tslib.es6-3ea48f35.js";import l,{createContext as r,useContext as n,useRef as t,useState as i,useEffect as o}from"react";import{Carousel as c}from"@mantine/carousel";import{useResizeObserver as d}from"@mantine/hooks";const s=c.Slide,a=r({}),u=(e,l)=>e>=l?e-l:e,p=r=>{var{children:n,blurFromCenter:s,blurFromIndex:p,blurLength:h=3,maxBlurOpacity:m=.5,onSlideChange:x,selectSlideWhenClick:v}=r,g=e(r,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const[S,b]=d(),f=t(null),[y,C]=i(0),k=()=>{var e,l,r;const n=null===(e=null==f?void 0:f.current)||void 0===e?void 0:e.selectedScrollSnap();C(n);const t=(null===(l=null==f?void 0:f.current)||void 0===l?void 0:l.slideNodes())||[],i=t.length,o=(null===(r=null==f?void 0:f.current)||void 0===r?void 0:r.slidesInView()).length,c=Math.floor(o/2),d=s?p+h-1:c,a=n+d,x=a===i?0:a>i?a-i:a,v=n-d,g=v<0?i+v:v>0?n-d:0,S=Array(2*d+1).fill("").map(((e,l)=>u(g+l,i)));t.map(((e,l)=>{if(l===n?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==S.indexOf(l)){const n=m/h;for(let o=0;o<h;o++){if(l===u(g+o,i)||l===(t=i,(r=x-o)<0?t+r:r)){e.style.opacity=String((o+1)*n);break}e.style.opacity="1"}}else e.style.opacity="0";var r,t}))},O={getEmblaApi:e=>{f.current=e},onSlideChange:e=>{k(),null==x||x(e)}};return o((()=>{(null==f?void 0:f.current)&&k()}),[b]),l.createElement(a.Provider,{value:{slider:null==f?void 0:f.current,centerSlide:y,selectSlideWhenClick:v}},l.createElement(c,Object.assign({ref:S,slideSize:"auto",containScroll:"trimSnaps"},O,g,{loop:!0}),"function"==typeof n?n(y):n))};p.Slide=r=>{var{children:c,onClick:d,innerSlideProps:u}=r,p=e(r,["children","onClick","innerSlideProps"]);const{slider:h,selectSlideWhenClick:m}=n(a),x=t(),v=t(""),[g,S]=i(0);o((()=>{v.current=String(Math.round(1e4*Math.random()))}),[]),o((()=>{const e=(null==h?void 0:h.slideNodes())||[];S(e.findIndex((e=>e.dataset.key===v.current)))}),[h]);const b={ref:x,"data-key":v.current,"data-index":g,styles:()=>({control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}})};return l.createElement(s,Object.assign({},b,p),l.createElement("div",Object.assign({onClick:()=>{m&&(null==h||h.scrollTo(g)),null==d||d(g)}},u),c))};export{p as C};
@@ -1,4 +1,4 @@
1
- import*as e from"react";import t,{useState as a,useEffect as n,forwardRef as l,Component as r,useRef as i,useCallback as c,useImperativeHandle as o}from"react";import{Image as s,Text as m,Textarea as h,Modal as d,Accordion as p,Indicator as g,Avatar as v,createEmotionCache as f,FileInput as u,NumberInput as z,PasswordInput as E,TextInput as b,Input as w,Checkbox as x,Slider as y,Radio as M,Flex as H}from"@mantine/core";import{CommonGAssets as j}from"./gAssets.js";import{DatePicker as k,DateRangePicker as C}from"@mantine/dates";import S,{css as O}from"styled-components";import P from"dayjs";import"./screenSizeContext-3cc136bf.js";import{t as $}from"./theme-dd640e4d.js";import{s as I}from"./index-0827f302.js";import{M as L}from"./utils-d6c6cbd8.js";import"./isProduction-9e53b59b.js";import{L as A}from"./Onboarding-90c9bcd0.js";import{_ as N,a as D}from"./tslib.es6-c201bfb4.js";import{useDebouncedValue as B}from"@mantine/hooks";import{Carousel as T}from"@mantine/carousel";const V=S(k)`
1
+ import*as e from"react";import t,{useState as a,useEffect as n,forwardRef as l,Component as r,useRef as i,useCallback as o,useImperativeHandle as c}from"react";import{Image as s,Text as m,Textarea as h,Modal as d,Accordion as p,Indicator as g,Avatar as v,createEmotionCache as f,FileInput as u,NumberInput as z,PasswordInput as E,TextInput as b,Input as w,Checkbox as x,Slider as y,Radio as M,Flex as H}from"@mantine/core";import{CommonGAssets as j}from"./gAssets.js";import{DatePicker as k,DateRangePicker as C}from"@mantine/dates";import S,{css as O}from"styled-components";import P from"dayjs";import"./screenSizeContext-891e0213.js";import{t as $}from"./theme-990c1bef.js";import{s as I}from"./index-a64aadba.js";import{M as L}from"./utils-07aabb8b.js";import"./isProduction-a8f182ef.js";import{L as A}from"./Onboarding-7bd6ad3d.js";import{_ as N,a as D}from"./tslib.es6-3ea48f35.js";import{useDebouncedValue as B}from"@mantine/hooks";import{Carousel as T}from"@mantine/carousel";const V=S(k)`
2
2
  position: relative;
3
3
  ${e=>e.fullWidth&&O`
4
4
  .mantine-DatePicker-dropdown {
@@ -90,7 +90,7 @@ import*as e from"react";import t,{useState as a,useEffect as n,forwardRef as l,C
90
90
  .mantine-Accordion-content {
91
91
  white-space: pre-wrap;
92
92
  }
93
- `,_=e=>{var{children:a}=e,n=N(e,["children"]);return t.createElement(K,Object.assign({chevron:t.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},n),a)};_.Control=p.Control,_.Item=p.Item,_.Panel=p.Panel;const q=j.getAssetPath("avatar.jpg"),Q=e=>{var{withIndicator:a=!1,indicatorConfig:n=null,size:l=56,children:r,styles:i}=e,c=N(e,["withIndicator","indicatorConfig","size","children","styles"]);const o=()=>t.createElement(v,Object.assign({size:l,radius:"xl"},c,{imageProps:Object.assign({loading:"lazy"},c.imageProps)}),r||t.createElement("img",{loading:"lazy",src:q,width:l}));return a?t.createElement(g,Object.assign({inline:!0,position:"bottom-end",offset:9},n,{styles:Object.assign({indicator:{backgroundColor:t.isValidElement(n.label)&&"transparent",zIndex:1}},i)}),o()):o()},J=300,ee=f({key:"mantine",prepend:!1}),te=e=>{var{value:l,onChange:r}=e,i=N(e,["value","onChange"]);const[c,o]=a(l),[s]=B(c,300);return n((()=>{null==r||r(s)}),[s]),n((()=>{o(l)}),[l]),t.createElement(z,Object.assign({size:"md",stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:o,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:c},i))},ae=j.getAssetPath("EyeVisible.svg"),ne=j.getAssetPath("EyeHidden.svg"),le=l(((e,a)=>{const{size:n="md",visibilityToggleIcon:l}=e,r=N(e,["size","visibilityToggleIcon"]),i=l||(({reveal:e,size:a})=>e?t.createElement("img",{src:ae,width:a}):t.createElement("img",{src:ne,width:a}));return t.createElement(E,Object.assign({ref:a,size:n,visibilityToggleIcon:i},r,{className:`input-control ${(null==r?void 0:r.className)||""}`}))})),re=l(((e,l)=>{var{value:r,onChange:i,onChangeRaw:c}=e,o=N(e,["value","onChange","onChangeRaw"]);const[s,m]=a(r||""),[h]=B(s,300);return n((()=>{null==i||i(h)}),[h]),n((()=>{m(r)}),[r]),t.createElement(b,Object.assign({ref:l,size:"md",onChange:e=>{null==c||c(e),m(e.currentTarget.value)},value:s},o,{className:`input-control ${(null==o?void 0:o.className)||""}`}))}));re.File=e=>t.createElement(u,Object.assign({size:"md"},e)),re.Password=le,re.Number=te,re.Wrapper=w.Wrapper;class ie extends r{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||t.createElement(t.Fragment,null):this.props.children}}const ce=e=>{var{slidesToShow:a=1,children:n}=e,l=N(e,["slidesToShow","children"]);return(Array.isArray(n)?n.length:1)?t.createElement(ie,null,t.createElement(T,Object.assign({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},l),n)):null};ce.Slide=T.Slide;const oe=e=>t.createElement(x,Object.assign({},e));oe.Group=x.Group;const se=S(y)`
93
+ `,_=e=>{var{children:a}=e,n=N(e,["children"]);return t.createElement(K,Object.assign({chevron:t.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},n),a)};_.Control=p.Control,_.Item=p.Item,_.Panel=p.Panel;const q=j.getAssetPath("avatar.jpg"),Q=e=>{var{withIndicator:a=!1,indicatorConfig:n=null,size:l=56,children:r,styles:i}=e,o=N(e,["withIndicator","indicatorConfig","size","children","styles"]);const c=()=>t.createElement(v,Object.assign({size:l,radius:"xl"},o,{imageProps:Object.assign({loading:"lazy"},o.imageProps)}),r||t.createElement("img",{loading:"lazy",src:q,width:l}));return a?t.createElement(g,Object.assign({inline:!0,position:"bottom-end",offset:9},n,{styles:Object.assign({indicator:{backgroundColor:t.isValidElement(n.label)&&"transparent",zIndex:1}},i)}),c()):c()},J=300,ee=f({key:"mantine",prepend:!1}),te=e=>{var{value:l,onChange:r}=e,i=N(e,["value","onChange"]);const[o,c]=a(l),[s]=B(o,300);return n((()=>{null==r||r(s)}),[s]),n((()=>{c(l)}),[l]),t.createElement(z,Object.assign({size:"md",stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:c,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:o},i))},ae=j.getAssetPath("EyeVisible.svg"),ne=j.getAssetPath("EyeHidden.svg"),le=l(((e,a)=>{const{size:n="md",visibilityToggleIcon:l}=e,r=N(e,["size","visibilityToggleIcon"]),i=l||(({reveal:e,size:a})=>e?t.createElement("img",{src:ae,width:a}):t.createElement("img",{src:ne,width:a}));return t.createElement(E,Object.assign({ref:a,size:n,visibilityToggleIcon:i},r,{className:`input-control ${(null==r?void 0:r.className)||""}`}))})),re=l(((e,l)=>{var{value:r,onChange:i,onChangeRaw:o}=e,c=N(e,["value","onChange","onChangeRaw"]);const[s,m]=a(r||""),[h]=B(s,300);return n((()=>{null==i||i(h)}),[h]),n((()=>{m(r)}),[r]),t.createElement(b,Object.assign({ref:l,size:"md",onChange:e=>{null==o||o(e),m(e.currentTarget.value)},value:s},c,{className:`input-control ${(null==c?void 0:c.className)||""}`}))}));re.File=e=>t.createElement(u,Object.assign({size:"md"},e)),re.Password=le,re.Number=te,re.Wrapper=w.Wrapper;class ie extends r{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||t.createElement(t.Fragment,null):this.props.children}}const oe=e=>{var{slidesToShow:a=1,children:n}=e,l=N(e,["slidesToShow","children"]);return(Array.isArray(n)?n.length:1)?t.createElement(ie,null,t.createElement(T,Object.assign({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},l),n)):null};oe.Slide=T.Slide;const ce=e=>t.createElement(x,Object.assign({},e));ce.Group=x.Group;const se=S(y)`
94
94
  ${e=>{const t=e.color||e.theme.colors.primaryBase;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
95
95
  [data-theme='marryBaby'] & {
96
96
  ${e=>{const t=e.color||e.theme.mbColors.pink;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
@@ -125,4 +125,4 @@ import*as e from"react";import t,{useState as a,useEffect as n,forwardRef as l,C
125
125
  Copyright (c) 2018 Jed Watson.
126
126
  Licensed under the MIT License (MIT), see
127
127
  http://jedwatson.github.io/classnames
128
- */}var xe=we((function(e){!function(){var t={}.hasOwnProperty;function a(){for(var e=[],n=0;n<arguments.length;n++){var l=arguments[n];if(l){var r=typeof l;if("string"===r||"number"===r)e.push(l);else if(Array.isArray(l)){if(l.length){var i=a.apply(null,l);i&&e.push(i)}}else if("object"===r){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){e.push(l.toString());continue}for(var c in l)t.call(l,c)&&l[c]&&e.push(c)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):window.classNames=a}()}));function ye(e,t=6){const a=new Array(t).fill("");if(e){const t=e.toString().split("");a.map(((e,n)=>{t[n]&&(a[n]=t[n]||"")}))}return a}function Me(e){return e.join("")}var He="_2iQs0sk",je="Ia6IojY";const ke=l(((e,a)=>{const{maxLength:n=1,placeholder:l,className:r}=e,i=N(e,["maxLength","placeholder","className"]);return t.createElement("input",Object.assign({maxLength:n,className:xe(je,"otpInput",r),placeholder:l,type:"number"},i,{ref:a}))})),Ce=l(((e,l)=>{const{valueLength:r=6,type:s="number",value:m,defaultValue:h,onChange:d,onBlur:p}=e,g=i(new Array(r).fill(null)),[v,f]=a(h||m),[u,z]=a(-1),[E,b]=a((()=>ye(v,r))),w=c((()=>{if(-1===u)return;const e=g.current[u];if(e){e.value="";const t=E;t[u]="",b(t),f((()=>Me(t))),null==d||d(Me(t))}}),[u,d,E]),x=c((()=>{if(0===u)return;const e=g.current[u];e&&e.blur();const t=g.current[u-1];t&&t.focus()}),[u]),y=c((()=>{if(u===r-1)return;const e=g.current[u];e&&e.blur();const t=g.current[u+1];t&&t.focus()}),[u,r]),M=c((e=>{const t=e.target,a=t.value.toString().slice(0,1),n=g.current.findIndex((e=>e===t));if(-1!==n){const e=E;e[n]=a,b(e),f((()=>Me(e))),null==d||d(Me(e))}y()}),[y,d,E]),j=c((e=>{const t=e.target,a=g.current.findIndex((e=>e===t));"number"===s?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==a&&z(a)}),[]),k=c((e=>{const t=ye(e.clipboardData.getData("text/plain"),r),a=Me(t);b(t),f(a),null==d||d(a)}),[d,s,r]),C=c((e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),w(),x()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),w()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),x()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),y()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[w,y,x]);return o(l,(()=>g.current[0]),[]),n((()=>{b((()=>ye(m,r))),f(m)}),[r,m]),t.createElement(H,{justify:"center",columnGap:8,className:xe(He,"otpContainer")},E.map(((e,a)=>t.createElement(ke,{ref:e=>{g.current[a]=e},key:""+a,value:e,type:s,onChange:M,onFocus:j,onKeyDown:C,onPaste:k,onBlur:p}))))})),Se=t=>e.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"})),Oe=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-kh",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),e.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),e.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},e.createElement("g",{strokeLinejoin:"bevel"},e.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),e.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),e.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),e.createElement("path",{d:"M169 647.6h3.6v16.5H169zm49 0h3.6v16.5H218zm-78 0h3.5v16.5H140zm7 0h3.5v16.5H147zm7.5 0h3.5v16.5h-3.5zm7.5 0h3.5v16.5H162zm62.8 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6z"}),e.createElement("path",{strokeLinejoin:"miter",d:"M94.5 669.5a9.3 9.3 0 0 0 4.4-5.3H292a9.3 9.3 0 0 0 4.4 5.3z"})),e.createElement("path",{d:"M193 556.8s-.1-4.1 2.3-4.2c2.3 0 2.2 4.2 2.2 4.2zm-12.5 54.5v-5.5c0-2.8-2.8-3-2.8-5 0 0-.4-3 .4-4.4 1.1 4 3 3.3 3 1.6 0-1.4-1-2.8-3.3-6.3-.8-1.1-.3-4.6.7-5.9.4 3 .9 4.5 2.2 4.5.8 0 1.4-.5 1.4-2 0-2-1.3-3-2-4.8a5 5 0 0 1 1.1-5.3c.5 3 .4 4.2 1.7 4.2 2.7-.9 0-4.8-.6-5.8-.6-1.1 1-3.4 1-3.4.8 2.7 1 2.9 2 2.6 1.2-.3 1-2-.4-3.4-.9-1-.8-2.3.2-3.3 1 1.9 2.2 1.8 2.3.6l-.8-4.4H204l-.9 4.3c-.2 1.2 1.4 1.5 2.4-.5 1 1 1.1 2.4.2 3.3-1.4 1.4-1.6 3.1-.4 3.4 1 .3 1.2 0 2-2.6 0 0 1.5 1.5 1 3.4-.6 1-3.3 5-.6 5.8 1.3 0 1.2-1.2 1.7-4.2a5 5 0 0 1 1 5.3c-.6 1.8-2 2.8-2 4.8 0 1.5.7 2 1.5 2 1.3 0 1.8-1.4 2.2-4.5 1 1.3 1.5 4.8.7 6-2.3 3.4-3.4 4.8-3.4 6.2 0 1.7 2 2.4 3-1.6.9 1.4.5 4.4.5 4.4 0 2-2.7 2.2-2.8 5v5.5zm7.2-46-.4-3.1h15.9l-.4 3.1zm1-3.2-.2-2.5H202l-.3 2.5zm2.3-2.6-.3-2.6h9l-.1 2.6zm33 110c-2-.7-5-2.9-5-5v-24.3l2.6-3.4H169l2.5 3.4v24.3c0 2.1-2 4.3-4 5z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),e.createElement("path",{d:"M168 609.2v27.6h54v-27.6a4.2 4.2 0 0 0-2.6 2.8v11.8h-48.7V612s-.6-2-2.8-2.8z"}),e.createElement("path",{d:"M214.6 669.5c-1.8-.7-5.6-2.9-5.6-5v-27.2c.4-1.5 2.4-2.4 3.7-3.4H177c1.7 1 3.6 1.7 4.3 3.4v27.2c0 2.1-3 4.3-4.8 5z"}),e.createElement("path",{d:"M219.4 634.2v-19.6h-4.9v-1.9h-38.8v2h-5v19.5zM207 669.5c-1.8-.7-4.3-2.9-4.3-5v-23.2l1.4-2.1h-17.7l1.5 2v23.3c0 2.1-2.6 4.3-4.3 5z"}),e.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M204.4 632.5c0-2 5.8-2.1 8.8-3.8h-36c3 1.7 8.7 1.8 8.7 3.8l1.2 3.9 15 .6z"}),e.createElement("path",{d:"M211.4 611.3c0-4.9.2-6.7 1.7-6.7V620c-3.7 1.4-6.3 6-6.3 6h-23.2s-2.6-4.6-6.3-6v-15.5c1.8 0 1.8 2 1.8 6.7zm1.7-2c0-5.6 4.9-6.2 4.9-6.2v5c-1.9-.1-2.8 1.6-2.8 4 0 2.5 1.5 2.5 1.5 2.5v14.2h-3.6z"}),e.createElement("path",{d:"M177.3 609.3c0-5.6-4.9-6.2-4.9-6.2v5c1.9-.1 2.8 1.6 2.8 4 0 2.5-1.5 2.5-1.5 2.5v14.2h3.6z"}),e.createElement("g",{fill:"none",strokeWidth:.8},e.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),e.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),e.createElement("path",{d:"M184 614.2c3 3.6 2.6 9.7 2.6 13.3H204c0-3.6-.4-9.7 2.6-13.3zm9.7-41-2.4-1.3v-3.5c1 .3 2 .4 2.2 2 .3-2.3 1-2.1 1.9-3 1 .9 1.5.7 1.9 3 0-1.6 1.2-1.7 2.1-2v3.5l-2.3 1.2z"}),e.createElement("path",{d:"m193.5 578.9-4-2.8V573c1.5.3 3 .5 3.2 2.2.4-2.5 1.3-3.7 2.7-4.7 1.3 1 2.2 2.2 2.7 4.7.1-1.7 1.7-1.9 3-2.2v3.2l-3.9 2.7z"}),e.createElement("path",{d:"m193.2 587.8-4.5-4v-4.7c1.6.4 3.4.6 3.6 3.1.5-3.5 1.5-5.4 3-6.8 1.6 1.4 2.6 3.3 3.2 6.8.2-2.5 2-2.7 3.6-3.1v4.7l-4.6 4zm8.4 5.3-4 5.7h-4.7l-4.1-5.7zm-15.2 9.5c2 1.1 2.8 3.4 3 7.6H201c.2-4.2 1-6.5 3-7.6z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M204.2 593v-5.6a5.2 5.2 0 0 0-3.8 3.3c0-2-2.5-6.3-5.2-8.5-2.7 2.4-5.3 6.4-5.2 8.4-.5-1.5-1.8-2.7-3.8-3.2v5.7z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M205 602.6V597c-2.1.6-3.5 1.7-4.1 3.3 0-2-2.7-6.3-5.7-8.5-3 2.5-5.8 6.4-5.7 8.5-.5-1.5-2-2.7-4.1-3.3v5.7z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M207.4 614.3v-6.6a9.6 9.6 0 0 0-5.1 3.8c0-3.5-4-9-7.1-10.7-3.2 1.8-7.1 7.4-7.1 10.7a9.7 9.7 0 0 0-5.2-3.8v6.6z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M206 629v-6.8c-2.4.9-3 3.1-3.8 4.7.3-6.9-3.8-14.2-7-16.1-3.2 1.9-7.4 9.4-7 16-.8-1.4-1.5-3.7-3.8-4.6v6.7z"}),e.createElement("path",{d:"M204.4 639.2v-6.8c-2.5.6-2.6 1.5-3.4 3 .3-4.1-2.6-8.8-5.8-10.6-3.2 1.8-6 6.5-5.8 10.6-.8-1.5-.9-2.4-3.4-3v6.8z"}),e.createElement("g",{id:"a"},e.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),e.createElement("path",{d:"M99 664.3v-20.5c-.7-2.6-3-5-4.6-5.4v-19.2c2.5 0 3.7 3.2 3.7 3.2l4.3 18.9v22.9z"}),e.createElement("path",{d:"M96.3 669.5c1.7-.7 4.2-2.9 4.2-5v-25.6l-1.2-2H143l-1.7 2v25.6a6 6 0 0 0 3.4 5z"}),e.createElement("path",{d:"M135.8 669.5c-1.7-.7-4.2-2.9-4.2-5v-24.3l3.6-3.4h-29.6l3.6 3.4v24.3c0 2.1-2.5 4.3-4.2 5z"}),e.createElement("path",{d:"M131.7 669.5c-1.7-.7-4.3-2.9-4.3-5v-22l2.4-3.3H111l2.4 3.3v22c0 2.1-2.5 4.3-4.3 5z"}),e.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M103.7 647.6h3.6v16.5h-3.6zm30.8 0h3.5v16.5h-3.6zm-33.9-27.8h4.4v17h-4.4zm0-3.2h4.3v3.2h-4.3zm35.6 6.9h6.1v13h-6.1z"}),e.createElement("path",{d:"M104.9 636.6v-29c1.2 0 1.4 4.3 4.2 4.3 1.5 0 1.4-1.8.5-3.2-.7-1.3-1.6-3-.4-6.3.9 2.5 3.1 3.3 2.7 1.8-.7-2.7-2.8-3.2-1.2-7.3.5 3.4 2.7 3.3 2.2 1.3-.6-2.3-1.9-3.3-.3-6.5.9 3.7 2 3.5 2 1.2 0-3.4 0-7 4.2-8.3 0 0 .3-3 1.9-3 1.5 0 1.8 3 1.8 3 4.3 1.3 4.2 5 4.2 8.3 0 2.3 1.1 2.5 2-1.2 1.6 3.2.3 4.2-.3 6.5-.5 2 1.7 2.1 2.2-1.3 1.6 4.1-.5 4.6-1.2 7.3-.4 1.5 1.8.7 2.7-1.8 1.2 3.3.3 5-.4 6.3-.8 1.4-1 3.2.5 3.2 2.8 0 3-4.2 4.2-4.2v28.9zM98 614.7v22.1h2.5v-22.1c-.9-.5-1.7-.5-2.5 0z"}),e.createElement("path",{d:"M98.2 629c3.1 1.6 6.2 3.5 7 7.8h-7zm43.2-6.6v14.4h2v-14.4c-.6-.3-1.5-.4-2 0z"}),e.createElement("path",{d:"M143.4 629c-3.1 1.5-6.2 3.3-7 7.7h7zm-20.6-33.7 1.8-1.5v-2c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-1v2l1.8 1.6z"}),e.createElement("path",{d:"m123.8 600.2.8-1.9v-2.5c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-.9v2.5l.8 1.9z"}),e.createElement("path",{d:"m124 606.8 2.6-3.3v-3.2c-1 0-1.5.5-2.2 1.6-.7-2.3-2-2.7-3.8-3.8-1.9 1-3.2 1.5-3.8 3.7-.8-1.1-1.3-1.4-2.3-1.5v3.2l2.7 3.3z"}),e.createElement("path",{d:"M124.7 613.3s3.2-2.7 3.3-4.2v-3.5c-1.2.1-2.3.4-3.2 1.9-.8-2.9-2-3.7-4.2-5-2.3 1.3-3.5 2.1-4.2 5-1-1.5-2-1.8-3.3-2v3.6a15 15 0 0 0 3.3 4.2z"}),e.createElement("path",{d:"M126 625.3s4.4-4.7 4.5-6.6v-5.4c-1.6.2-3.2 1.3-4.4 3.6-1-4.5-2.6-7.6-5.5-9.8-3 2.2-4.6 5.3-5.6 9.8-1.2-2.3-2.7-3.4-4.3-3.6v5.4c.3 1.9 4.4 6.6 4.4 6.6z"}),e.createElement("path",{d:"M126 632.4s3.7-3.7 4.5-5.3v-5.4c-1.6.2-3.2 1.3-4.4 3.5a14 14 0 0 0-5.5-9.2c-3 2.2-4.6 4.7-5.6 9.2-1.2-2.2-2.7-3.3-4.3-3.5v5.4c1 1.6 4.4 5.3 4.4 5.3z"}),e.createElement("path",{d:"M127.5 636.6c-1-4.7-2-8.2-7.1-11.7-5.2 3.5-6.1 7-7.2 11.7z"}),e.createElement("path",{d:"M130.2 639.2v-6.8c-2.4 1-4.5 2.3-5.3 3.8-.8-3.8-2.5-5.4-4.6-7.7-2.1 2.3-3.5 4-4.4 7.7-.8-1.5-2.9-2.9-5.2-3.8v6.8z"})),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),e.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),e.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),e.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),e.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),e.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),e.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),e.createElement("path",{fill:"none",d:"M99 664.2h193M115.8 713h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m65.8 37.5h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m66.2 37.5h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2"}))),Pe=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-in",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),e.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),e.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),e.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},e.createElement("circle",{r:20,fill:"#008"}),e.createElement("circle",{r:17.5,fill:"#fff"}),e.createElement("circle",{r:3.5,fill:"#008"}),e.createElement("g",{id:"d"},e.createElement("g",{id:"c"},e.createElement("g",{id:"b"},e.createElement("g",{id:"a",fill:"#008"},e.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),e.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),e.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),e.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),e.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),e.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"}))),$e=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},e.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),e.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"}))),Ie=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),e.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),e.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),e.createElement("path",{fill:"#fc0",d:"m207.5 73.8 6 40.7 23-34-12.4 39.2 35.5-20.8-28.1 30 41-3.2-38.3 14.8 38.3 14.8-41-3.2 28.1 30-35.5-20.8 12.3 39.3-23-34.1-6 40.7-5.9-40.7-23 34 12.4-39.2-35.5 20.8 28-30-41 3.2 38.4-14.8-38.3-14.8 41 3.2-28.1-30 35.5 20.8-12.4-39.3 23 34.1zm-33.3 1.7a71.1 71.1 0 1 0 0 130 80 80 0 1 1 0-130z"}),e.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"})),Le=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-mm",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),e.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),e.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),e.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},e.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"}))),Ae=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),e.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),e.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),e.createElement("path",{fill:"#fcd116",d:"M26.7 42.4 41 55l16.6-9.2-7.4 17.5 14 13-19-1.6-8.1 17.2-4.3-18.5L14 71l16.3-10zm323.8 172.3.4 19 18 6.3-18 6.2-.4 19-11.5-15.1-18.2 5.5 10.8-15.6-10.8-15.6 18.2 5.5zM37.2 388.1l8 17.2 19-1.6-13.9 13 7.4 17.5-16.6-9.1-14.4 12.4 3.6-18.7L14 409l18.9-2.4zm114.2-249-6.2 6.2 3.1 47-3 .3-5.7-42.9-5.1 5 7.6 38.4a47.5 47.5 0 0 0-17.2 7.1l-21.7-32.4H96l26.4 34.3a48 48 0 0 0-2.4 2l-31.1-35.5h-8.8v8.8l35.4 31-2 2.5-34.3-26.3v7.1l32.5 21.7c-3.4 5.2-5.9 11-7.1 17.2L66.3 223l-5.1 5 42.9 5.7c-.2 1-.3 2.1-.3 3.1l-47-3-6.2 6.2 6.2 6.2 47-3.1.3 3.1-42.9 5.7 5 5 38.4-7.6a47.5 47.5 0 0 0 7.1 17.2l-32.5 21.7v7.2l34.3-26.3a48 48 0 0 0 2 2.4l-35.4 31v8.8H89l31-35.4 2.5 2L96 312.2h7.2l21.7-32.5c5.1 3.4 11 5.9 17.2 7.1l-7.6 38.4 5 5 5.7-42.9c1 .2 2 .3 3.1.3l-3 47 6.1 6.2 6.3-6.2-3.1-47 3-.3 5.7 43 5.1-5.1-7.6-38.4a47.5 47.5 0 0 0 17.2-7.1l21.7 32.5h7.2l-26.4-34.3a48 48 0 0 0 2.4-2l31.1 35.4h8.8v-8.8l-35.4-31 2-2.4 34.3 26.3v-7.2l-32.5-21.7c3.4-5.1 5.9-11 7.1-17.2l38.3 7.6 5.1-5-42.9-5.7c.2-1 .3-2 .3-3.1l47 3 6.2-6.1-6.2-6.2-47 3-.3-3 42.9-5.7-5-5-38.4 7.5a47.5 47.5 0 0 0-7.1-17.2l32.5-21.7v-7.1l-34.3 26.3a48 48 0 0 0-2-2.4l35.4-31v-8.9H214l-31 35.5a48 48 0 0 0-2.5-2l26.4-34.3h-7.2L178 200.2c-5.1-3.4-11-5.9-17.2-7.1l7.6-38.3-5-5-5.7 42.8-3.1-.3 3-47z"})),Ne=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("clipPath",{id:"a"},e.createElement("path",{d:"M0 0h640v480H0z"})),e.createElement("g",{clipPath:"url(#a)"},e.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),e.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),e.createElement("g",{fill:"#fff"},e.createElement("path",{d:"m154 126.9-2.5 9.6 9.4 2.6-1.8-7.1zm46.9 5.1-1.8 7.1 9.4-2.6-2.5-9.6zm-41.8-24-5.1 5.1 1.9 6.9z"}),e.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),e.createElement("path",{d:"m154 113.1-6.9 6.9 6.9 6.9 1.9-6.9zm14 27.8 5.1 5.1 6.9-1.9zm18.9 5.1 9.6 2.5 2.6-9.4-7.1 1.8z"}),e.createElement("path",{d:"m192 140.9 7.1-1.8 1.8-7.1zm-31.1-1.8 2.6 9.4 9.6-2.5-5.1-5.1zm19.1 5 6.9 1.9 5.1-5.1z"}),e.createElement("path",{d:"m173.1 146 6.9 6.9 6.9-6.9-6.9-1.9zm-12.2-45.1-9.4 2.6 2.5 9.6 5.1-5.1zm-1.8 31.1 1.8 7.1 7.1 1.8zm45-12 1.9-6.9-5.1-5.1z"}),e.createElement("path",{d:"m168 99.1-7.1 1.8-1.8 7.1zm32.9 8.9-1.8-7.1-7.1-1.8zm5.1 18.9 6.9-6.9-6.9-6.9-1.9 6.9z"}),e.createElement("path",{d:"m200.9 108-8.9-8.9-12-3.2-12 3.2-8.9 8.9-3.2 12 3.2 12 8.9 8.9 12 3.2 12-3.2 8.9-8.9 3.2-12z"}),e.createElement("path",{d:"m200.9 132 5.1-5.1-1.9-6.9zm5.1-18.9 2.5-9.6-9.4-2.6 1.8 7.1zm-6.9-12.2-2.6-9.4-9.6 2.5 5.1 5.1zm-26-6.9-9.6-2.5-2.6 9.4 7.1-1.8zm6.9 1.9-6.9-1.9-5.1 5.1z"}),e.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),e.createElement("path",{d:"m192 99.1-5.1-5.1-6.9 1.9zM173.1 146l-9.6 2.5 4.5 16.6 12-12.2zm-5.1 19.1 12 44.9 12-44.9-12-12.2zm-7.1-26-9.4-2.6-4.4 16.4 16.4-4.4z"}),e.createElement("path",{d:"m147.1 152.9-12 45.1 32.9-32.9-4.5-16.6zm-12-20.9L102 165.1l45.1-12.2 4.4-16.4z"}),e.createElement("path",{d:"m154 126.9-6.9-6.9-12 12 16.4 4.5zm0-13.8-2.5-9.6-16.4 4.5 12 12z"}),e.createElement("path",{d:"M135.1 108 90 120l45.1 12 12-12zm90 24-16.6 4.5 4.4 16.4 45.1 12.2z"}),e.createElement("path",{d:"m199.1 139.1-2.6 9.4 16.4 4.4-4.4-16.4zm-12.2 6.9-6.9 6.9 12 12.2 4.5-16.6zm19.1-19.1 2.5 9.6 16.6-4.5-12.2-12z"}),e.createElement("path",{d:"m192 165.1 33.1 32.9-12.2-45.1-16.4-4.4zm7.1-64.2 9.4 2.6 4.4-16.4-16.4 4.4z"}),e.createElement("path",{d:"M225.1 108 258 75.1l-45.1 12-4.4 16.4zm-12.2-20.9L225.1 42 192 75.1l4.5 16.4zm12.2 44.9 44.9-12-44.9-12-12.2 12z"}),e.createElement("path",{d:"m206 113.1 6.9 6.9 12.2-12-16.6-4.5zm-38-38L135.1 42l12 45.1 16.4 4.4z"}),e.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),e.createElement("path",{d:"m147.1 87.1-45.1-12 33.1 32.9 16.4-4.5zm39.8 6.9 9.6-2.5-4.5-16.4-12 12z"}),e.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),e.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),e.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),e.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"}))),De=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("g",{fillRule:"evenodd"},e.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),e.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),e.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"}))),Be=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("defs",null,e.createElement("clipPath",{id:"a"},e.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),e.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},e.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),e.createElement("path",{fill:"#ff0",d:"M349.6 381 260 314.3l-89 67.3L204 272l-89-67.7 110.1-1 34.2-109.4L294 203l110.1.1-88.5 68.4 33.9 109.6z"}))),Te=Object.values(I).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),Ve={PH:Ae,KH:Oe,ID:Pe,IN:$e,MM:Le,MY:Ie,TH:De,TW:Ne,VN:Be};var We={phoneInput:"i-9Ibox",error:"YDWHh9b"};const Re=l(((e,l)=>{const{isError:r,defaultCountry:i,countries:c=Te,countryCallingCodeEditable:o=!1,defaultValue:s,value:m,onChange:h,className:d}=e,p=N(e,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),[g,v]=a(s||m),[f,u]=a(null);return n((()=>{v(m)}),[m]),n((()=>{D(void 0,void 0,void 0,(function*(){const e=yield import("react-phone-number-input");u(e)}))}),[]),f?t.createElement(f.default,Object.assign({ref:l,value:g,onChange:e=>{v(e),null==h||h(e)},countries:c,defaultCountry:i,countryCallingCodeEditable:o,className:xe(We.phoneInput,{isError:r,[We.error]:r},d),flagUrl:void 0,flagComponent:e=>{const{country:a,countryName:n,flagUrl:l}=e,r=N(e,["country","countryName","flagUrl"]),i=Ve[a],c=a?`(+${f.getCountryCallingCode(a)})`:"";return i?t.createElement(t.Fragment,null,t.createElement(i,Object.assign({title:n},r)),t.createElement("span",{className:xe(We.callingCode,"PhoneInputCountryIconCallingCode")},c)):t.createElement(t.Fragment,null)},countrySelectProps:{arrowComponent:()=>t.createElement("div",{className:xe(We.arrowSelect,"PhoneInputArrowContainer")},t.createElement(Se,null))}},p)):null}));export{U as A,Se as C,J as D,Ee as G,Pe as I,Ie as M,te as N,Ce as O,Ae as P,he as R,me as S,Ne as T,Be as V,Oe as a,$e as b,Le as c,De as d,re as e,we as f,be as g,se as h,Z as i,R as j,G as k,Re as l,Y as m,X as n,de as o,ze as p,_ as q,Q as r,ce as s,oe as t,ge as u,ee as v,F as w};
128
+ */}var xe=we((function(e){!function(){var t={}.hasOwnProperty;function a(){for(var e=[],n=0;n<arguments.length;n++){var l=arguments[n];if(l){var r=typeof l;if("string"===r||"number"===r)e.push(l);else if(Array.isArray(l)){if(l.length){var i=a.apply(null,l);i&&e.push(i)}}else if("object"===r){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){e.push(l.toString());continue}for(var o in l)t.call(l,o)&&l[o]&&e.push(o)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):window.classNames=a}()}));function ye(e,t=6){const a=new Array(t).fill("");if(e){const t=e.toString().split("");a.map(((e,n)=>{t[n]&&(a[n]=t[n]||"")}))}return a}function Me(e){return e.join("")}var He="_2iQs0sk",je="Ia6IojY";const ke=l(((e,a)=>{const{maxLength:n=1,placeholder:l,className:r}=e,i=N(e,["maxLength","placeholder","className"]);return t.createElement("input",Object.assign({maxLength:n,className:xe(je,"otpInput",r),placeholder:l,type:"number"},i,{ref:a}))})),Ce=l(((e,l)=>{const{valueLength:r=6,type:s="number",value:m,defaultValue:h,onChange:d,onBlur:p}=e,g=i(new Array(r).fill(null)),[v,f]=a(h||m),[u,z]=a(-1),[E,b]=a((()=>ye(v,r))),w=o((()=>{if(-1===u)return;const e=g.current[u];if(e){e.value="";const t=E;t[u]="",b(t),f((()=>Me(t))),null==d||d(Me(t))}}),[u,d,E]),x=o((()=>{if(0===u)return;const e=g.current[u];e&&e.blur();const t=g.current[u-1];t&&t.focus()}),[u]),y=o((()=>{if(u===r-1)return;const e=g.current[u];e&&e.blur();const t=g.current[u+1];t&&t.focus()}),[u,r]),M=o((e=>{const t=e.target,a=t.value.toString().slice(0,1),n=g.current.findIndex((e=>e===t));if(-1!==n){const e=E;e[n]=a,b(e),f((()=>Me(e))),null==d||d(Me(e))}y()}),[y,d,E]),j=o((e=>{const t=e.target,a=g.current.findIndex((e=>e===t));"number"===s?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==a&&z(a)}),[]),k=o((e=>{const t=ye(e.clipboardData.getData("text/plain"),r),a=Me(t);b(t),f(a),null==d||d(a)}),[d,s,r]),C=o((e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),w(),x()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),w()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),x()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),y()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[w,y,x]);return c(l,(()=>g.current[0]),[]),n((()=>{b((()=>ye(m,r))),f(m)}),[r,m]),t.createElement(H,{justify:"center",columnGap:8,className:xe(He,"otpContainer")},E.map(((e,a)=>t.createElement(ke,{ref:e=>{g.current[a]=e},key:""+a,value:e,type:s,onChange:M,onFocus:j,onKeyDown:C,onPaste:k,onBlur:p}))))})),Se=t=>e.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"})),Oe=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-kh",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),e.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),e.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},e.createElement("g",{strokeLinejoin:"bevel"},e.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),e.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),e.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),e.createElement("path",{d:"M169 647.6h3.6v16.5H169zm49 0h3.6v16.5H218zm-78 0h3.5v16.5H140zm7 0h3.5v16.5H147zm7.5 0h3.5v16.5h-3.5zm7.5 0h3.5v16.5H162zm62.8 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6z"}),e.createElement("path",{strokeLinejoin:"miter",d:"M94.5 669.5a9.3 9.3 0 0 0 4.4-5.3H292a9.3 9.3 0 0 0 4.4 5.3z"})),e.createElement("path",{d:"M193 556.8s-.1-4.1 2.3-4.2c2.3 0 2.2 4.2 2.2 4.2zm-12.5 54.5v-5.5c0-2.8-2.8-3-2.8-5 0 0-.4-3 .4-4.4 1.1 4 3 3.3 3 1.6 0-1.4-1-2.8-3.3-6.3-.8-1.1-.3-4.6.7-5.9.4 3 .9 4.5 2.2 4.5.8 0 1.4-.5 1.4-2 0-2-1.3-3-2-4.8a5 5 0 0 1 1.1-5.3c.5 3 .4 4.2 1.7 4.2 2.7-.9 0-4.8-.6-5.8-.6-1.1 1-3.4 1-3.4.8 2.7 1 2.9 2 2.6 1.2-.3 1-2-.4-3.4-.9-1-.8-2.3.2-3.3 1 1.9 2.2 1.8 2.3.6l-.8-4.4H204l-.9 4.3c-.2 1.2 1.4 1.5 2.4-.5 1 1 1.1 2.4.2 3.3-1.4 1.4-1.6 3.1-.4 3.4 1 .3 1.2 0 2-2.6 0 0 1.5 1.5 1 3.4-.6 1-3.3 5-.6 5.8 1.3 0 1.2-1.2 1.7-4.2a5 5 0 0 1 1 5.3c-.6 1.8-2 2.8-2 4.8 0 1.5.7 2 1.5 2 1.3 0 1.8-1.4 2.2-4.5 1 1.3 1.5 4.8.7 6-2.3 3.4-3.4 4.8-3.4 6.2 0 1.7 2 2.4 3-1.6.9 1.4.5 4.4.5 4.4 0 2-2.7 2.2-2.8 5v5.5zm7.2-46-.4-3.1h15.9l-.4 3.1zm1-3.2-.2-2.5H202l-.3 2.5zm2.3-2.6-.3-2.6h9l-.1 2.6zm33 110c-2-.7-5-2.9-5-5v-24.3l2.6-3.4H169l2.5 3.4v24.3c0 2.1-2 4.3-4 5z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),e.createElement("path",{d:"M168 609.2v27.6h54v-27.6a4.2 4.2 0 0 0-2.6 2.8v11.8h-48.7V612s-.6-2-2.8-2.8z"}),e.createElement("path",{d:"M214.6 669.5c-1.8-.7-5.6-2.9-5.6-5v-27.2c.4-1.5 2.4-2.4 3.7-3.4H177c1.7 1 3.6 1.7 4.3 3.4v27.2c0 2.1-3 4.3-4.8 5z"}),e.createElement("path",{d:"M219.4 634.2v-19.6h-4.9v-1.9h-38.8v2h-5v19.5zM207 669.5c-1.8-.7-4.3-2.9-4.3-5v-23.2l1.4-2.1h-17.7l1.5 2v23.3c0 2.1-2.6 4.3-4.3 5z"}),e.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M204.4 632.5c0-2 5.8-2.1 8.8-3.8h-36c3 1.7 8.7 1.8 8.7 3.8l1.2 3.9 15 .6z"}),e.createElement("path",{d:"M211.4 611.3c0-4.9.2-6.7 1.7-6.7V620c-3.7 1.4-6.3 6-6.3 6h-23.2s-2.6-4.6-6.3-6v-15.5c1.8 0 1.8 2 1.8 6.7zm1.7-2c0-5.6 4.9-6.2 4.9-6.2v5c-1.9-.1-2.8 1.6-2.8 4 0 2.5 1.5 2.5 1.5 2.5v14.2h-3.6z"}),e.createElement("path",{d:"M177.3 609.3c0-5.6-4.9-6.2-4.9-6.2v5c1.9-.1 2.8 1.6 2.8 4 0 2.5-1.5 2.5-1.5 2.5v14.2h3.6z"}),e.createElement("g",{fill:"none",strokeWidth:.8},e.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),e.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),e.createElement("path",{d:"M184 614.2c3 3.6 2.6 9.7 2.6 13.3H204c0-3.6-.4-9.7 2.6-13.3zm9.7-41-2.4-1.3v-3.5c1 .3 2 .4 2.2 2 .3-2.3 1-2.1 1.9-3 1 .9 1.5.7 1.9 3 0-1.6 1.2-1.7 2.1-2v3.5l-2.3 1.2z"}),e.createElement("path",{d:"m193.5 578.9-4-2.8V573c1.5.3 3 .5 3.2 2.2.4-2.5 1.3-3.7 2.7-4.7 1.3 1 2.2 2.2 2.7 4.7.1-1.7 1.7-1.9 3-2.2v3.2l-3.9 2.7z"}),e.createElement("path",{d:"m193.2 587.8-4.5-4v-4.7c1.6.4 3.4.6 3.6 3.1.5-3.5 1.5-5.4 3-6.8 1.6 1.4 2.6 3.3 3.2 6.8.2-2.5 2-2.7 3.6-3.1v4.7l-4.6 4zm8.4 5.3-4 5.7h-4.7l-4.1-5.7zm-15.2 9.5c2 1.1 2.8 3.4 3 7.6H201c.2-4.2 1-6.5 3-7.6z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M204.2 593v-5.6a5.2 5.2 0 0 0-3.8 3.3c0-2-2.5-6.3-5.2-8.5-2.7 2.4-5.3 6.4-5.2 8.4-.5-1.5-1.8-2.7-3.8-3.2v5.7z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M205 602.6V597c-2.1.6-3.5 1.7-4.1 3.3 0-2-2.7-6.3-5.7-8.5-3 2.5-5.8 6.4-5.7 8.5-.5-1.5-2-2.7-4.1-3.3v5.7z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M207.4 614.3v-6.6a9.6 9.6 0 0 0-5.1 3.8c0-3.5-4-9-7.1-10.7-3.2 1.8-7.1 7.4-7.1 10.7a9.7 9.7 0 0 0-5.2-3.8v6.6z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M206 629v-6.8c-2.4.9-3 3.1-3.8 4.7.3-6.9-3.8-14.2-7-16.1-3.2 1.9-7.4 9.4-7 16-.8-1.4-1.5-3.7-3.8-4.6v6.7z"}),e.createElement("path",{d:"M204.4 639.2v-6.8c-2.5.6-2.6 1.5-3.4 3 .3-4.1-2.6-8.8-5.8-10.6-3.2 1.8-6 6.5-5.8 10.6-.8-1.5-.9-2.4-3.4-3v6.8z"}),e.createElement("g",{id:"a"},e.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),e.createElement("path",{d:"M99 664.3v-20.5c-.7-2.6-3-5-4.6-5.4v-19.2c2.5 0 3.7 3.2 3.7 3.2l4.3 18.9v22.9z"}),e.createElement("path",{d:"M96.3 669.5c1.7-.7 4.2-2.9 4.2-5v-25.6l-1.2-2H143l-1.7 2v25.6a6 6 0 0 0 3.4 5z"}),e.createElement("path",{d:"M135.8 669.5c-1.7-.7-4.2-2.9-4.2-5v-24.3l3.6-3.4h-29.6l3.6 3.4v24.3c0 2.1-2.5 4.3-4.2 5z"}),e.createElement("path",{d:"M131.7 669.5c-1.7-.7-4.3-2.9-4.3-5v-22l2.4-3.3H111l2.4 3.3v22c0 2.1-2.5 4.3-4.3 5z"}),e.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M103.7 647.6h3.6v16.5h-3.6zm30.8 0h3.5v16.5h-3.6zm-33.9-27.8h4.4v17h-4.4zm0-3.2h4.3v3.2h-4.3zm35.6 6.9h6.1v13h-6.1z"}),e.createElement("path",{d:"M104.9 636.6v-29c1.2 0 1.4 4.3 4.2 4.3 1.5 0 1.4-1.8.5-3.2-.7-1.3-1.6-3-.4-6.3.9 2.5 3.1 3.3 2.7 1.8-.7-2.7-2.8-3.2-1.2-7.3.5 3.4 2.7 3.3 2.2 1.3-.6-2.3-1.9-3.3-.3-6.5.9 3.7 2 3.5 2 1.2 0-3.4 0-7 4.2-8.3 0 0 .3-3 1.9-3 1.5 0 1.8 3 1.8 3 4.3 1.3 4.2 5 4.2 8.3 0 2.3 1.1 2.5 2-1.2 1.6 3.2.3 4.2-.3 6.5-.5 2 1.7 2.1 2.2-1.3 1.6 4.1-.5 4.6-1.2 7.3-.4 1.5 1.8.7 2.7-1.8 1.2 3.3.3 5-.4 6.3-.8 1.4-1 3.2.5 3.2 2.8 0 3-4.2 4.2-4.2v28.9zM98 614.7v22.1h2.5v-22.1c-.9-.5-1.7-.5-2.5 0z"}),e.createElement("path",{d:"M98.2 629c3.1 1.6 6.2 3.5 7 7.8h-7zm43.2-6.6v14.4h2v-14.4c-.6-.3-1.5-.4-2 0z"}),e.createElement("path",{d:"M143.4 629c-3.1 1.5-6.2 3.3-7 7.7h7zm-20.6-33.7 1.8-1.5v-2c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-1v2l1.8 1.6z"}),e.createElement("path",{d:"m123.8 600.2.8-1.9v-2.5c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-.9v2.5l.8 1.9z"}),e.createElement("path",{d:"m124 606.8 2.6-3.3v-3.2c-1 0-1.5.5-2.2 1.6-.7-2.3-2-2.7-3.8-3.8-1.9 1-3.2 1.5-3.8 3.7-.8-1.1-1.3-1.4-2.3-1.5v3.2l2.7 3.3z"}),e.createElement("path",{d:"M124.7 613.3s3.2-2.7 3.3-4.2v-3.5c-1.2.1-2.3.4-3.2 1.9-.8-2.9-2-3.7-4.2-5-2.3 1.3-3.5 2.1-4.2 5-1-1.5-2-1.8-3.3-2v3.6a15 15 0 0 0 3.3 4.2z"}),e.createElement("path",{d:"M126 625.3s4.4-4.7 4.5-6.6v-5.4c-1.6.2-3.2 1.3-4.4 3.6-1-4.5-2.6-7.6-5.5-9.8-3 2.2-4.6 5.3-5.6 9.8-1.2-2.3-2.7-3.4-4.3-3.6v5.4c.3 1.9 4.4 6.6 4.4 6.6z"}),e.createElement("path",{d:"M126 632.4s3.7-3.7 4.5-5.3v-5.4c-1.6.2-3.2 1.3-4.4 3.5a14 14 0 0 0-5.5-9.2c-3 2.2-4.6 4.7-5.6 9.2-1.2-2.2-2.7-3.3-4.3-3.5v5.4c1 1.6 4.4 5.3 4.4 5.3z"}),e.createElement("path",{d:"M127.5 636.6c-1-4.7-2-8.2-7.1-11.7-5.2 3.5-6.1 7-7.2 11.7z"}),e.createElement("path",{d:"M130.2 639.2v-6.8c-2.4 1-4.5 2.3-5.3 3.8-.8-3.8-2.5-5.4-4.6-7.7-2.1 2.3-3.5 4-4.4 7.7-.8-1.5-2.9-2.9-5.2-3.8v6.8z"})),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),e.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),e.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),e.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),e.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),e.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),e.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),e.createElement("path",{fill:"none",d:"M99 664.2h193M115.8 713h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m65.8 37.5h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m66.2 37.5h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2"}))),Pe=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-in",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),e.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),e.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),e.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},e.createElement("circle",{r:20,fill:"#008"}),e.createElement("circle",{r:17.5,fill:"#fff"}),e.createElement("circle",{r:3.5,fill:"#008"}),e.createElement("g",{id:"d"},e.createElement("g",{id:"c"},e.createElement("g",{id:"b"},e.createElement("g",{id:"a",fill:"#008"},e.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),e.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),e.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),e.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),e.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),e.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"}))),$e=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},e.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),e.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"}))),Ie=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),e.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),e.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),e.createElement("path",{fill:"#fc0",d:"m207.5 73.8 6 40.7 23-34-12.4 39.2 35.5-20.8-28.1 30 41-3.2-38.3 14.8 38.3 14.8-41-3.2 28.1 30-35.5-20.8 12.3 39.3-23-34.1-6 40.7-5.9-40.7-23 34 12.4-39.2-35.5 20.8 28-30-41 3.2 38.4-14.8-38.3-14.8 41 3.2-28.1-30 35.5 20.8-12.4-39.3 23 34.1zm-33.3 1.7a71.1 71.1 0 1 0 0 130 80 80 0 1 1 0-130z"}),e.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"})),Le=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-mm",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),e.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),e.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),e.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},e.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"}))),Ae=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),e.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),e.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),e.createElement("path",{fill:"#fcd116",d:"M26.7 42.4 41 55l16.6-9.2-7.4 17.5 14 13-19-1.6-8.1 17.2-4.3-18.5L14 71l16.3-10zm323.8 172.3.4 19 18 6.3-18 6.2-.4 19-11.5-15.1-18.2 5.5 10.8-15.6-10.8-15.6 18.2 5.5zM37.2 388.1l8 17.2 19-1.6-13.9 13 7.4 17.5-16.6-9.1-14.4 12.4 3.6-18.7L14 409l18.9-2.4zm114.2-249-6.2 6.2 3.1 47-3 .3-5.7-42.9-5.1 5 7.6 38.4a47.5 47.5 0 0 0-17.2 7.1l-21.7-32.4H96l26.4 34.3a48 48 0 0 0-2.4 2l-31.1-35.5h-8.8v8.8l35.4 31-2 2.5-34.3-26.3v7.1l32.5 21.7c-3.4 5.2-5.9 11-7.1 17.2L66.3 223l-5.1 5 42.9 5.7c-.2 1-.3 2.1-.3 3.1l-47-3-6.2 6.2 6.2 6.2 47-3.1.3 3.1-42.9 5.7 5 5 38.4-7.6a47.5 47.5 0 0 0 7.1 17.2l-32.5 21.7v7.2l34.3-26.3a48 48 0 0 0 2 2.4l-35.4 31v8.8H89l31-35.4 2.5 2L96 312.2h7.2l21.7-32.5c5.1 3.4 11 5.9 17.2 7.1l-7.6 38.4 5 5 5.7-42.9c1 .2 2 .3 3.1.3l-3 47 6.1 6.2 6.3-6.2-3.1-47 3-.3 5.7 43 5.1-5.1-7.6-38.4a47.5 47.5 0 0 0 17.2-7.1l21.7 32.5h7.2l-26.4-34.3a48 48 0 0 0 2.4-2l31.1 35.4h8.8v-8.8l-35.4-31 2-2.4 34.3 26.3v-7.2l-32.5-21.7c3.4-5.1 5.9-11 7.1-17.2l38.3 7.6 5.1-5-42.9-5.7c.2-1 .3-2 .3-3.1l47 3 6.2-6.1-6.2-6.2-47 3-.3-3 42.9-5.7-5-5-38.4 7.5a47.5 47.5 0 0 0-7.1-17.2l32.5-21.7v-7.1l-34.3 26.3a48 48 0 0 0-2-2.4l35.4-31v-8.9H214l-31 35.5a48 48 0 0 0-2.5-2l26.4-34.3h-7.2L178 200.2c-5.1-3.4-11-5.9-17.2-7.1l7.6-38.3-5-5-5.7 42.8-3.1-.3 3-47z"})),Ne=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("clipPath",{id:"a"},e.createElement("path",{d:"M0 0h640v480H0z"})),e.createElement("g",{clipPath:"url(#a)"},e.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),e.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),e.createElement("g",{fill:"#fff"},e.createElement("path",{d:"m154 126.9-2.5 9.6 9.4 2.6-1.8-7.1zm46.9 5.1-1.8 7.1 9.4-2.6-2.5-9.6zm-41.8-24-5.1 5.1 1.9 6.9z"}),e.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),e.createElement("path",{d:"m154 113.1-6.9 6.9 6.9 6.9 1.9-6.9zm14 27.8 5.1 5.1 6.9-1.9zm18.9 5.1 9.6 2.5 2.6-9.4-7.1 1.8z"}),e.createElement("path",{d:"m192 140.9 7.1-1.8 1.8-7.1zm-31.1-1.8 2.6 9.4 9.6-2.5-5.1-5.1zm19.1 5 6.9 1.9 5.1-5.1z"}),e.createElement("path",{d:"m173.1 146 6.9 6.9 6.9-6.9-6.9-1.9zm-12.2-45.1-9.4 2.6 2.5 9.6 5.1-5.1zm-1.8 31.1 1.8 7.1 7.1 1.8zm45-12 1.9-6.9-5.1-5.1z"}),e.createElement("path",{d:"m168 99.1-7.1 1.8-1.8 7.1zm32.9 8.9-1.8-7.1-7.1-1.8zm5.1 18.9 6.9-6.9-6.9-6.9-1.9 6.9z"}),e.createElement("path",{d:"m200.9 108-8.9-8.9-12-3.2-12 3.2-8.9 8.9-3.2 12 3.2 12 8.9 8.9 12 3.2 12-3.2 8.9-8.9 3.2-12z"}),e.createElement("path",{d:"m200.9 132 5.1-5.1-1.9-6.9zm5.1-18.9 2.5-9.6-9.4-2.6 1.8 7.1zm-6.9-12.2-2.6-9.4-9.6 2.5 5.1 5.1zm-26-6.9-9.6-2.5-2.6 9.4 7.1-1.8zm6.9 1.9-6.9-1.9-5.1 5.1z"}),e.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),e.createElement("path",{d:"m192 99.1-5.1-5.1-6.9 1.9zM173.1 146l-9.6 2.5 4.5 16.6 12-12.2zm-5.1 19.1 12 44.9 12-44.9-12-12.2zm-7.1-26-9.4-2.6-4.4 16.4 16.4-4.4z"}),e.createElement("path",{d:"m147.1 152.9-12 45.1 32.9-32.9-4.5-16.6zm-12-20.9L102 165.1l45.1-12.2 4.4-16.4z"}),e.createElement("path",{d:"m154 126.9-6.9-6.9-12 12 16.4 4.5zm0-13.8-2.5-9.6-16.4 4.5 12 12z"}),e.createElement("path",{d:"M135.1 108 90 120l45.1 12 12-12zm90 24-16.6 4.5 4.4 16.4 45.1 12.2z"}),e.createElement("path",{d:"m199.1 139.1-2.6 9.4 16.4 4.4-4.4-16.4zm-12.2 6.9-6.9 6.9 12 12.2 4.5-16.6zm19.1-19.1 2.5 9.6 16.6-4.5-12.2-12z"}),e.createElement("path",{d:"m192 165.1 33.1 32.9-12.2-45.1-16.4-4.4zm7.1-64.2 9.4 2.6 4.4-16.4-16.4 4.4z"}),e.createElement("path",{d:"M225.1 108 258 75.1l-45.1 12-4.4 16.4zm-12.2-20.9L225.1 42 192 75.1l4.5 16.4zm12.2 44.9 44.9-12-44.9-12-12.2 12z"}),e.createElement("path",{d:"m206 113.1 6.9 6.9 12.2-12-16.6-4.5zm-38-38L135.1 42l12 45.1 16.4 4.4z"}),e.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),e.createElement("path",{d:"m147.1 87.1-45.1-12 33.1 32.9 16.4-4.5zm39.8 6.9 9.6-2.5-4.5-16.4-12 12z"}),e.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),e.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),e.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),e.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"}))),De=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("g",{fillRule:"evenodd"},e.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),e.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),e.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"}))),Be=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("defs",null,e.createElement("clipPath",{id:"a"},e.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),e.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},e.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),e.createElement("path",{fill:"#ff0",d:"M349.6 381 260 314.3l-89 67.3L204 272l-89-67.7 110.1-1 34.2-109.4L294 203l110.1.1-88.5 68.4 33.9 109.6z"}))),Te=Object.values(I).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),Ve={PH:Ae,KH:Oe,ID:Pe,IN:$e,MM:Le,MY:Ie,TH:De,TW:Ne,VN:Be};var We={phoneInput:"i-9Ibox",error:"YDWHh9b"};const Re=l(((e,l)=>{const{isError:r,defaultCountry:i,countries:o=Te,countryCallingCodeEditable:c=!1,defaultValue:s,value:m,onChange:h,className:d}=e,p=N(e,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),[g,v]=a(s||m),[f,u]=a(null);return n((()=>{v(m)}),[m]),n((()=>{D(void 0,void 0,void 0,(function*(){const e=yield import("react-phone-number-input");u(e)}))}),[]),f?t.createElement(f.default,Object.assign({ref:l,value:g,onChange:e=>{v(e),null==h||h(e)},countries:o,defaultCountry:i,countryCallingCodeEditable:c,className:xe(We.phoneInput,{isError:r,[We.error]:r},d),flagUrl:void 0,flagComponent:e=>{const{country:a,countryName:n,flagUrl:l}=e,r=N(e,["country","countryName","flagUrl"]),i=Ve[a],o=a?`(+${f.getCountryCallingCode(a)})`:"";return i?t.createElement(t.Fragment,null,t.createElement(i,Object.assign({title:n},r)),t.createElement("span",{className:xe(We.callingCode,"PhoneInputCountryIconCallingCode")},o)):t.createElement(t.Fragment,null)},countrySelectProps:{arrowComponent:()=>t.createElement("div",{className:xe(We.arrowSelect,"PhoneInputArrowContainer")},t.createElement(Se,null))}},p)):null}));export{U as A,Se as C,J as D,Ee as G,Pe as I,Ie as M,te as N,Ce as O,Ae as P,he as R,me as S,Ne as T,Be as V,Oe as a,$e as b,Le as c,De as d,re as e,we as f,be as g,se as h,Z as i,R as j,G as k,Re as l,Y as m,X as n,de as o,ze as p,_ as q,Q as r,oe as s,ce as t,ge as u,ee as v,F as w};