@hhgtech/hhg-components 1.27.149 → 1.27.151

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 (284) hide show
  1. package/build/Visible-1eb4e195.js +1 -0
  2. package/build/babyGrowth.js +16 -16
  3. package/build/cache.js +1 -1
  4. package/build/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +1 -0
  5. package/build/care.js +1 -1
  6. package/build/components.js +1 -1
  7. package/build/{constants-6dfb8be7.js → constants-1df70bd9.js} +1 -1
  8. package/build/{constants-491e15cd.js → constants-cf12b24d.js} +1 -1
  9. package/build/constants.js +1 -1
  10. package/build/{core-e5c4299b.js → core-ab1c9374.js} +1 -1
  11. package/build/ecom.js +1 -1
  12. package/build/esm/Visible-225bf379.js +1 -0
  13. package/build/esm/babyGrowth.js +10 -10
  14. package/build/esm/cache.js +1 -1
  15. package/build/esm/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +1 -0
  16. package/build/esm/care.js +1 -1
  17. package/build/esm/components.js +1 -1
  18. package/build/esm/{constants-cc4a867d.js → constants-1d97c9d0.js} +1 -1
  19. package/build/esm/{constants-edcd7033.js → constants-a00c5c32.js} +2 -2
  20. package/build/esm/constants.js +1 -1
  21. package/build/esm/{core-7b117cb5.js → core-a6d61a15.js} +1 -1
  22. package/build/esm/ecom.js +1 -1
  23. package/build/esm/footer.js +1 -1
  24. package/build/esm/gAssets.js +1 -1
  25. package/build/esm/{getDynamicHealthTool-a300d895.js → getDynamicHealthTool-8b785e62.js} +1 -1
  26. package/build/esm/getSocialList-aef0825b.js +1 -0
  27. package/build/esm/hooks.js +1 -1
  28. package/build/esm/i18n.js +1 -1
  29. package/build/esm/i18nV2.js +1 -1
  30. package/build/esm/{index-31fe5bf1.js → index-0b79f414.js} +1 -1
  31. package/build/esm/index-119371ad.js +1 -0
  32. package/build/esm/{index-e5a07eac.js → index-3628242e.js} +3 -3
  33. package/build/esm/index-53425b35.js +1 -0
  34. package/build/esm/{index-a4cc5441.js → index-5c125b57.js} +1 -1
  35. package/build/esm/index-6ae79c93.js +1 -0
  36. package/build/esm/{index-844214e3.js → index-7775e743.js} +1 -1
  37. package/build/esm/index-84eb4466.js +118 -0
  38. package/build/esm/{index-506dacde.js → index-908a66b7.js} +1 -1
  39. package/build/esm/{index-d7562b2a.js → index-91894ba2.js} +6 -6
  40. package/build/esm/index-938f7174.js +1 -0
  41. package/build/esm/{index-ca6fea7b.js → index-a01a7c45.js} +6 -6
  42. package/build/esm/{index-90b78df5.js → index-a6a23aab.js} +1 -1
  43. package/build/esm/{index-c5c2a0de.js → index-b7fecda3.js} +148 -148
  44. package/build/esm/{index-ddfde00f.js → index-bfc4cd23.js} +1 -1
  45. package/build/esm/index-c6771134.js +1 -0
  46. package/build/esm/{index-d2006575.js → index-c8030820.js} +1 -1
  47. package/build/esm/index-d58d8283.js +1 -0
  48. package/build/esm/{index-9d185006.js → index-f6394d51.js} +1 -1
  49. package/build/esm/index.js +1 -1
  50. package/build/esm/{index.styled-71c1db47.js → index.styled-7cde4a76.js} +1 -1
  51. package/build/esm/{index.styled-2c4a2127.js → index.styled-e2cce41b.js} +3 -3
  52. package/build/esm/{index.styles-b5ae372a.js → index.styles-07c4595b.js} +1 -1
  53. package/build/esm/lead/layouts/lightbox/otpBlock.d.ts +8 -1
  54. package/build/esm/lead/services/index.d.ts +4 -2
  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/onboardingV2.js +7 -7
  60. package/build/esm/pwg.js +2 -2
  61. package/build/esm/{routing-ad8ac1fd.js → routing-f25a172c.js} +1 -1
  62. package/build/esm/together.js +1 -1
  63. package/build/esm/types-b410f0e1.js +760 -0
  64. package/build/esm/types-e77f2ab3.js +1 -0
  65. package/build/esm/types.js +1 -1
  66. package/build/esm/{useCategory-0d35fca4.js → useCategory-9901772f.js} +1 -1
  67. package/build/esm/useHealthToolCache-ac99b45d.js +1 -0
  68. package/build/esm/useRafState-5764c68f.js +1 -0
  69. package/build/esm/{useTranslations-0aad8646.js → useTranslations-aa1a2f83.js} +1 -1
  70. package/build/esm/{utils-04f26d5f.js → utils-a905ed12.js} +2 -2
  71. package/build/esm/{utils-b0014bd2.js → utils-d0a76b78.js} +1 -1
  72. package/build/esm/vaccination.js +12 -12
  73. package/build/footer.js +1 -1
  74. package/build/gAssets.js +1 -1
  75. package/build/getDynamicHealthTool-32bd31cd.js +1 -0
  76. package/build/getSocialList-417ea497.js +1 -0
  77. package/build/hooks.js +1 -1
  78. package/build/i18n.js +1 -1
  79. package/build/i18nV2.js +1 -1
  80. package/build/index-0338c0e6.js +1 -0
  81. package/build/{index-e4a11d4c.js → index-0fd17717.js} +17 -17
  82. package/build/{index-062e09b8.js → index-135187a3.js} +1 -1
  83. package/build/{index-6f054990.js → index-174225f3.js} +1 -1
  84. package/build/{index-a7f1db95.js → index-1ec6cd97.js} +1 -1
  85. package/build/index-31e10f3e.js +1 -0
  86. package/build/{index-292acf44.js → index-392f048f.js} +1 -1
  87. package/build/index-4c2dbb76.js +1 -0
  88. package/build/{index-d1e4d7e0.js → index-55ff86f0.js} +1 -1
  89. package/build/index-702ea73f.js +118 -0
  90. package/build/{index-1c1c97f9.js → index-7a3cb70f.js} +1 -1
  91. package/build/index-9a037ef4.js +1 -0
  92. package/build/index-a2305707.js +1 -0
  93. package/build/{index-5978e72d.js → index-bbddb9fd.js} +4 -4
  94. package/build/index-bc9b3721.js +50 -0
  95. package/build/{index-2777c5d1.js → index-cab894d1.js} +1 -1
  96. package/build/{index-63960bd9.js → index-df69cd39.js} +1 -1
  97. package/build/{index-08166ce2.js → index-e9cc669d.js} +1 -1
  98. package/build/{index-6443e622.js → index-fe6c57ff.js} +149 -149
  99. package/build/index.js +1 -1
  100. package/build/{index.styled-644f049d.js → index.styled-32f59fc8.js} +1 -1
  101. package/build/{index.styled-f34795a2.js → index.styled-96ec3c77.js} +3 -3
  102. package/build/{index.styles-c499b3ad.js → index.styles-fd7b432e.js} +1 -1
  103. package/build/lead/layouts/lightbox/otpBlock.d.ts +8 -1
  104. package/build/lead/services/index.d.ts +4 -2
  105. package/build/lead.js +1 -1
  106. package/build/mantine.js +1 -1
  107. package/build/misc.js +1 -1
  108. package/build/navigation.js +1 -1
  109. package/build/onboardingV2.js +5 -5
  110. package/build/pwg.js +3 -3
  111. package/build/{routing-b1ec3ae7.js → routing-73317db5.js} +1 -1
  112. package/build/together.js +1 -1
  113. package/build/types-94a0a3c5.js +760 -0
  114. package/build/types-b81c6229.js +1 -0
  115. package/build/types.js +1 -1
  116. package/build/{useCategory-db4bc8bc.js → useCategory-686bb64a.js} +1 -1
  117. package/build/{useHealthToolCache-d989b121.js → useHealthToolCache-99802971.js} +1 -1
  118. package/build/{useRafState-3204e8e2.js → useRafState-feca2364.js} +1 -1
  119. package/build/{useTranslations-8a52ad57.js → useTranslations-cd379f72.js} +1 -1
  120. package/build/{utils-6977aa36.js → utils-21c21741.js} +1 -1
  121. package/build/{utils-a07a9b93.js → utils-91af73b2.js} +1 -1
  122. package/build/vaccination.js +12 -12
  123. package/package.json +1 -1
  124. package/build/Visible-56f46979.js +0 -1
  125. package/build/esm/Visible-d3e29355.js +0 -1
  126. package/build/esm/getSocialList-f1583415.js +0 -1
  127. package/build/esm/index-358e090c.js +0 -1
  128. package/build/esm/index-3789d39a.js +0 -1
  129. package/build/esm/index-57507da7.js +0 -118
  130. package/build/esm/index-80f0960e.js +0 -1
  131. package/build/esm/index-aeac3896.js +0 -1
  132. package/build/esm/index-ea27ca0b.js +0 -1
  133. package/build/esm/index-f0fce1a2.js +0 -1
  134. package/build/esm/types-47a92abb.js +0 -1
  135. package/build/esm/types-944bbb6f.js +0 -760
  136. package/build/esm/useHealthToolCache-763a2074.js +0 -1
  137. package/build/esm/useRafState-5310956a.js +0 -1
  138. package/build/getDynamicHealthTool-bb87b637.js +0 -1
  139. package/build/getSocialList-f30f0c7b.js +0 -1
  140. package/build/index-2a04c45b.js +0 -1
  141. package/build/index-8531086e.js +0 -50
  142. package/build/index-9c778a8b.js +0 -118
  143. package/build/index-ae9a4b8e.js +0 -1
  144. package/build/index-c57b16c5.js +0 -1
  145. package/build/index-ec8a00c4.js +0 -1
  146. package/build/index-f55706b5.js +0 -1
  147. package/build/types-182a8d75.js +0 -1
  148. package/build/types-f189a85e.js +0 -760
  149. /package/build/{BMI_BOYS.percentile.monthly-7b9d2ce5.js → BMI_BOYS.percentile.monthly-80d1a02c.js} +0 -0
  150. /package/build/{BMI_BOYS.percentile.weekly-feb996ff.js → BMI_BOYS.percentile.weekly-2f805563.js} +0 -0
  151. /package/build/{BMI_BOYS.percentile.yearly-cd28cd62.js → BMI_BOYS.percentile.yearly-e3fbcae1.js} +0 -0
  152. /package/build/{BMI_BOYS.zscore.monthly-f3562e0f.js → BMI_BOYS.zscore.monthly-0008aa04.js} +0 -0
  153. /package/build/{BMI_BOYS.zscore.weekly-17ee0cdd.js → BMI_BOYS.zscore.weekly-5a5dfe57.js} +0 -0
  154. /package/build/{BMI_BOYS.zscore.yearly-d0969a15.js → BMI_BOYS.zscore.yearly-24c7745d.js} +0 -0
  155. /package/build/{BMI_GIRLS.percentile.monthly-9dd10c97.js → BMI_GIRLS.percentile.monthly-ebfee133.js} +0 -0
  156. /package/build/{BMI_GIRLS.percentile.weekly-9aa1e11a.js → BMI_GIRLS.percentile.weekly-c1e47fd4.js} +0 -0
  157. /package/build/{BMI_GIRLS.percentile.yearly-de8e7e87.js → BMI_GIRLS.percentile.yearly-f2ecdb1b.js} +0 -0
  158. /package/build/{BMI_GIRLS.zscore.monthly-775a08e4.js → BMI_GIRLS.zscore.monthly-75e957f7.js} +0 -0
  159. /package/build/{BMI_GIRLS.zscore.weekly-35341941.js → BMI_GIRLS.zscore.weekly-3a8c4985.js} +0 -0
  160. /package/build/{BMI_GIRLS.zscore.yearly-16452412.js → BMI_GIRLS.zscore.yearly-ac39d0a4.js} +0 -0
  161. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-77b13602.js → HEAD CIRCUM_BOYS.percentile.monthly-dbd3c05b.js} +0 -0
  162. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-7f69ec60.js → HEAD CIRCUM_BOYS.percentile.weekly-2aa17cdb.js} +0 -0
  163. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-b591eb0f.js → HEAD CIRCUM_BOYS.percentile.yearly-ba2bfdf9.js} +0 -0
  164. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-391a3bad.js → HEAD CIRCUM_BOYS.zscore.monthly-e23f057c.js} +0 -0
  165. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-16d7adc5.js → HEAD CIRCUM_BOYS.zscore.weekly-06baf8a4.js} +0 -0
  166. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-2c735a96.js → HEAD CIRCUM_BOYS.zscore.yearly-35a2e627.js} +0 -0
  167. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f14e9833.js → HEAD CIRCUM_GIRLS.percentile.monthly-eeb829a6.js} +0 -0
  168. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-235621b2.js → HEAD CIRCUM_GIRLS.percentile.weekly-0265b3b8.js} +0 -0
  169. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-58c9615b.js → HEAD CIRCUM_GIRLS.percentile.yearly-331b43b9.js} +0 -0
  170. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-1ab85111.js → HEAD CIRCUM_GIRLS.zscore.monthly-8cd4d8af.js} +0 -0
  171. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-fffcd512.js → HEAD CIRCUM_GIRLS.zscore.weekly-ecec25f1.js} +0 -0
  172. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-38bbe661.js → HEAD CIRCUM_GIRLS.zscore.yearly-b93fcf72.js} +0 -0
  173. /package/build/{HEIGHT_BOYS.percentile.monthly-254c42ab.js → HEIGHT_BOYS.percentile.monthly-276f5d49.js} +0 -0
  174. /package/build/{HEIGHT_BOYS.percentile.weekly-6d3b8e67.js → HEIGHT_BOYS.percentile.weekly-68d0574b.js} +0 -0
  175. /package/build/{HEIGHT_BOYS.percentile.yearly-0a08a30a.js → HEIGHT_BOYS.percentile.yearly-e596cf03.js} +0 -0
  176. /package/build/{HEIGHT_BOYS.zscore.monthly-74fb564a.js → HEIGHT_BOYS.zscore.monthly-90cdd650.js} +0 -0
  177. /package/build/{HEIGHT_BOYS.zscore.weekly-adb179ed.js → HEIGHT_BOYS.zscore.weekly-aa226e1d.js} +0 -0
  178. /package/build/{HEIGHT_BOYS.zscore.yearly-2f291ee6.js → HEIGHT_BOYS.zscore.yearly-1fb3aaec.js} +0 -0
  179. /package/build/{HEIGHT_GIRLS.percentile.monthly-febcc37c.js → HEIGHT_GIRLS.percentile.monthly-7a38c7c1.js} +0 -0
  180. /package/build/{HEIGHT_GIRLS.percentile.weekly-50f3bb8f.js → HEIGHT_GIRLS.percentile.weekly-093573b3.js} +0 -0
  181. /package/build/{HEIGHT_GIRLS.percentile.yearly-1e0c375b.js → HEIGHT_GIRLS.percentile.yearly-a2c5705b.js} +0 -0
  182. /package/build/{HEIGHT_GIRLS.zscore.monthly-b49ef24a.js → HEIGHT_GIRLS.zscore.monthly-6771e8b4.js} +0 -0
  183. /package/build/{HEIGHT_GIRLS.zscore.weekly-ce82e9b1.js → HEIGHT_GIRLS.zscore.weekly-31045490.js} +0 -0
  184. /package/build/{HEIGHT_GIRLS.zscore.yearly-e7120705.js → HEIGHT_GIRLS.zscore.yearly-a37cb9bc.js} +0 -0
  185. /package/build/{Onboarding-e7037fc9.js → Onboarding-b5f91fc8.js} +0 -0
  186. /package/build/{WEIGHT_BOYS.percentile.monthly-0943dc96.js → WEIGHT_BOYS.percentile.monthly-6e27bc15.js} +0 -0
  187. /package/build/{WEIGHT_BOYS.percentile.weekly-c28d2221.js → WEIGHT_BOYS.percentile.weekly-b4f2ff2f.js} +0 -0
  188. /package/build/{WEIGHT_BOYS.percentile.yearly-c5539f14.js → WEIGHT_BOYS.percentile.yearly-77321a9b.js} +0 -0
  189. /package/build/{WEIGHT_BOYS.zscore.monthly-856c1097.js → WEIGHT_BOYS.zscore.monthly-b1d8817a.js} +0 -0
  190. /package/build/{WEIGHT_BOYS.zscore.weekly-b73f3798.js → WEIGHT_BOYS.zscore.weekly-3b89ec33.js} +0 -0
  191. /package/build/{WEIGHT_BOYS.zscore.yearly-b98383d7.js → WEIGHT_BOYS.zscore.yearly-c5e9173e.js} +0 -0
  192. /package/build/{WEIGHT_GIRLS.percentile.monthly-e6487bb4.js → WEIGHT_GIRLS.percentile.monthly-aa282625.js} +0 -0
  193. /package/build/{WEIGHT_GIRLS.percentile.weekly-d055c2ce.js → WEIGHT_GIRLS.percentile.weekly-4767da3a.js} +0 -0
  194. /package/build/{WEIGHT_GIRLS.percentile.yearly-c6e0d431.js → WEIGHT_GIRLS.percentile.yearly-94c66b58.js} +0 -0
  195. /package/build/{WEIGHT_GIRLS.zscore.monthly-62bc65f0.js → WEIGHT_GIRLS.zscore.monthly-71c39c49.js} +0 -0
  196. /package/build/{WEIGHT_GIRLS.zscore.weekly-4a3fea2c.js → WEIGHT_GIRLS.zscore.weekly-c15a9b64.js} +0 -0
  197. /package/build/{WEIGHT_GIRLS.zscore.yearly-d311cb3b.js → WEIGHT_GIRLS.zscore.yearly-ecb6267a.js} +0 -0
  198. /package/build/{cookieHelper-e8ad3929.js → cookieHelper-7fb0c928.js} +0 -0
  199. /package/build/{dataTransform-19f842e7.js → dataTransform-5581b9cc.js} +0 -0
  200. /package/build/esm/{BMI_BOYS.percentile.monthly-e24f3e17.js → BMI_BOYS.percentile.monthly-3b8973da.js} +0 -0
  201. /package/build/esm/{BMI_BOYS.percentile.weekly-e7b49d0d.js → BMI_BOYS.percentile.weekly-e779b9a9.js} +0 -0
  202. /package/build/esm/{BMI_BOYS.percentile.yearly-c87e3532.js → BMI_BOYS.percentile.yearly-2a45fed5.js} +0 -0
  203. /package/build/esm/{BMI_BOYS.zscore.monthly-a41a88af.js → BMI_BOYS.zscore.monthly-695df334.js} +0 -0
  204. /package/build/esm/{BMI_BOYS.zscore.weekly-dd48242d.js → BMI_BOYS.zscore.weekly-7ecfdcfe.js} +0 -0
  205. /package/build/esm/{BMI_BOYS.zscore.yearly-874ee5ae.js → BMI_BOYS.zscore.yearly-376ca183.js} +0 -0
  206. /package/build/esm/{BMI_GIRLS.percentile.monthly-658e8c09.js → BMI_GIRLS.percentile.monthly-b01c42eb.js} +0 -0
  207. /package/build/esm/{BMI_GIRLS.percentile.weekly-42ac5bab.js → BMI_GIRLS.percentile.weekly-ba92361c.js} +0 -0
  208. /package/build/esm/{BMI_GIRLS.percentile.yearly-cf19df27.js → BMI_GIRLS.percentile.yearly-802b30d7.js} +0 -0
  209. /package/build/esm/{BMI_GIRLS.zscore.monthly-6f5c79a8.js → BMI_GIRLS.zscore.monthly-825e9e2b.js} +0 -0
  210. /package/build/esm/{BMI_GIRLS.zscore.weekly-097c5e98.js → BMI_GIRLS.zscore.weekly-6e4eaefa.js} +0 -0
  211. /package/build/esm/{BMI_GIRLS.zscore.yearly-406d4091.js → BMI_GIRLS.zscore.yearly-cca52445.js} +0 -0
  212. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-001af982.js → HEAD CIRCUM_BOYS.percentile.monthly-6bcc0610.js} +0 -0
  213. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-d231f18f.js → HEAD CIRCUM_BOYS.percentile.weekly-d99174dc.js} +0 -0
  214. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-f79436dd.js → HEAD CIRCUM_BOYS.percentile.yearly-b9724074.js} +0 -0
  215. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-a8d4237d.js → HEAD CIRCUM_BOYS.zscore.monthly-cb6f6bca.js} +0 -0
  216. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8ba11ed1.js → HEAD CIRCUM_BOYS.zscore.weekly-86f78ea9.js} +0 -0
  217. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-664211c1.js → HEAD CIRCUM_BOYS.zscore.yearly-3992b6a4.js} +0 -0
  218. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-57301375.js → HEAD CIRCUM_GIRLS.percentile.monthly-f34d541e.js} +0 -0
  219. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-43fb9259.js → HEAD CIRCUM_GIRLS.percentile.weekly-bcfb0bc5.js} +0 -0
  220. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-4b9ab339.js → HEAD CIRCUM_GIRLS.percentile.yearly-af696b33.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-bea2fa73.js → HEAD CIRCUM_GIRLS.zscore.monthly-5dfbe7d3.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-47ae868e.js → HEAD CIRCUM_GIRLS.zscore.weekly-aae831aa.js} +0 -0
  223. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-99477f91.js → HEAD CIRCUM_GIRLS.zscore.yearly-f962027d.js} +0 -0
  224. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-003cfa69.js → HEIGHT_BOYS.percentile.monthly-6ecd311f.js} +0 -0
  225. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e89dbc60.js → HEIGHT_BOYS.percentile.weekly-be156d1f.js} +0 -0
  226. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-7af4e00d.js → HEIGHT_BOYS.percentile.yearly-6a330294.js} +0 -0
  227. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-d1798172.js → HEIGHT_BOYS.zscore.monthly-39b79cc2.js} +0 -0
  228. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-7d8e9339.js → HEIGHT_BOYS.zscore.weekly-00937d51.js} +0 -0
  229. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-f46f8e03.js → HEIGHT_BOYS.zscore.yearly-d5786a2c.js} +0 -0
  230. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-2bd6485f.js → HEIGHT_GIRLS.percentile.monthly-455dedb0.js} +0 -0
  231. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-9182ee83.js → HEIGHT_GIRLS.percentile.weekly-b0caaedb.js} +0 -0
  232. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-145ee97e.js → HEIGHT_GIRLS.percentile.yearly-1e5d7864.js} +0 -0
  233. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c6354f26.js → HEIGHT_GIRLS.zscore.monthly-f38caffc.js} +0 -0
  234. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-c94ea18c.js → HEIGHT_GIRLS.zscore.weekly-4bd92edc.js} +0 -0
  235. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-22b44e51.js → HEIGHT_GIRLS.zscore.yearly-0cb9311c.js} +0 -0
  236. /package/build/esm/{Onboarding-5c56d39f.js → Onboarding-51285f06.js} +0 -0
  237. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-385435c2.js → WEIGHT_BOYS.percentile.monthly-c7d592a0.js} +0 -0
  238. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c06a6b83.js → WEIGHT_BOYS.percentile.weekly-75096a09.js} +0 -0
  239. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-0e79cc9f.js → WEIGHT_BOYS.percentile.yearly-357b6bc3.js} +0 -0
  240. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-51d145e6.js → WEIGHT_BOYS.zscore.monthly-0be7e821.js} +0 -0
  241. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-3965f18f.js → WEIGHT_BOYS.zscore.weekly-dbc09f9b.js} +0 -0
  242. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-b08a74c6.js → WEIGHT_BOYS.zscore.yearly-ef6e5887.js} +0 -0
  243. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-8ac55fda.js → WEIGHT_GIRLS.percentile.monthly-665b5cc1.js} +0 -0
  244. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-9bc91f44.js → WEIGHT_GIRLS.percentile.weekly-c1cb36e9.js} +0 -0
  245. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-ecb5cde2.js → WEIGHT_GIRLS.percentile.yearly-36bd3857.js} +0 -0
  246. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-80a4e0d7.js → WEIGHT_GIRLS.zscore.monthly-02897f8a.js} +0 -0
  247. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-a18dc8b0.js → WEIGHT_GIRLS.zscore.weekly-c12aceb4.js} +0 -0
  248. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-76896f9d.js → WEIGHT_GIRLS.zscore.yearly-6c9f7d60.js} +0 -0
  249. /package/build/esm/{cookieHelper-5d03fef9.js → cookieHelper-1ebcb91d.js} +0 -0
  250. /package/build/esm/{dataTransform-3b2c6957.js → dataTransform-3e644274.js} +0 -0
  251. /package/build/esm/{index-68affaab.js → index-3d77cd63.js} +0 -0
  252. /package/build/esm/{index-adfb4bde.js → index-94ebea17.js} +0 -0
  253. /package/build/esm/{index-b640931f.js → index-c4b465ec.js} +0 -0
  254. /package/build/esm/{index-3eee043c.js → index-f5e015dd.js} +0 -0
  255. /package/build/esm/{isProduction-2a8cfb5e.js → isProduction-40086a7e.js} +0 -0
  256. /package/build/esm/{localizeNumberFormat-f90f0f14.js → localizeNumberFormat-aca997e5.js} +0 -0
  257. /package/build/esm/{normalizeLink-fd6e1bf9.js → normalizeLink-01c5fbc0.js} +0 -0
  258. /package/build/esm/{number-fe8dfeb3.js → number-8a087681.js} +0 -0
  259. /package/build/esm/{paths-7ffabe14.js → paths-30ebcd68.js} +0 -0
  260. /package/build/esm/{screenSizeContext-66b4bc89.js → screenSizeContext-e352a6d4.js} +0 -0
  261. /package/build/esm/{theme-f6ca5da7.js → theme-cd8299b8.js} +0 -0
  262. /package/build/esm/{translationsContext-ccf94e35.js → translationsContext-37be3000.js} +0 -0
  263. /package/build/esm/{tslib.es6-a1f56f89.js → tslib.es6-cda9ee48.js} +0 -0
  264. /package/build/esm/{types-723e315f.js → types-487260d7.js} +0 -0
  265. /package/build/esm/{useIsInit-60903be6.js → useIsInit-6230b6b9.js} +0 -0
  266. /package/build/esm/{useOutsideClick-0a120b7f.js → useOutsideClick-6eefeb55.js} +0 -0
  267. /package/build/esm/{useScrollbarSize-ad91602d.js → useScrollbarSize-fa0857ac.js} +0 -0
  268. /package/build/{index-8cfe8626.js → index-90732bda.js} +0 -0
  269. /package/build/{index-d5d0bd50.js → index-e4fc22ae.js} +0 -0
  270. /package/build/{index-b8b7780e.js → index-ea40ded8.js} +0 -0
  271. /package/build/{index-0ea4fe52.js → index-f030cbab.js} +0 -0
  272. /package/build/{isProduction-e8a45b23.js → isProduction-e9b1fe88.js} +0 -0
  273. /package/build/{localizeNumberFormat-ed383118.js → localizeNumberFormat-4d4b8743.js} +0 -0
  274. /package/build/{normalizeLink-84e9fbaf.js → normalizeLink-d6c94501.js} +0 -0
  275. /package/build/{number-c51b653b.js → number-7e26445f.js} +0 -0
  276. /package/build/{paths-661638e7.js → paths-8bc691ac.js} +0 -0
  277. /package/build/{screenSizeContext-a0797042.js → screenSizeContext-f181471c.js} +0 -0
  278. /package/build/{theme-ad84e0cb.js → theme-c438247a.js} +0 -0
  279. /package/build/{translationsContext-890caf5a.js → translationsContext-f7600e03.js} +0 -0
  280. /package/build/{tslib.es6-793ef4f7.js → tslib.es6-777ed51e.js} +0 -0
  281. /package/build/{types-03e17b2b.js → types-ce6a0295.js} +0 -0
  282. /package/build/{useIsInit-8049beeb.js → useIsInit-4f14f3cc.js} +0 -0
  283. /package/build/{useOutsideClick-ea9be911.js → useOutsideClick-b40c63e5.js} +0 -0
  284. /package/build/{useScrollbarSize-79ee4312.js → useScrollbarSize-65191707.js} +0 -0
@@ -1,4 +1,4 @@
1
- import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,memo as o,useCallback as l,useImperativeHandle as s,forwardRef as c,createContext as d,useContext as m}from"react";import{T as p,I as h}from"./index-80f0960e.js";import{f as u,g,h as b,i as f,j as v,k as y,l as x,m as w,n as E,o as k,p as C,q as S,r as N,s as B,t as T,u as D,v as I,w as _,x as z,H as A,T as L,y as P,Z as $,P as M,z as O,A as j,B as F,C as H,E as R,d as U,F as V,I as W,J as G}from"./index.styles-b5ae372a.js";import{i as q,M as Z}from"./screenSizeContext-66b4bc89.js";import{T as Y}from"./index-3789d39a.js";import{b as X,u as K}from"./useTranslations-0aad8646.js";import"lodash/debounce";import{i as J}from"./isProduction-2a8cfb5e.js";import{d as Q,L as ee,F as te,Q as ae,R as ne,a as ie,G as re}from"./index-ddfde00f.js";import"./useCategory-0d35fca4.js";import{CommonGAssets as oe}from"./gAssets.js";import{t as le}from"./theme-f6ca5da7.js";import{_ as se,a as ce}from"./tslib.es6-a1f56f89.js";import{Box as de,Radio as me,Flex as pe,rem as he,Card as ue,Group as ge,createStyles as be,getStylesRef as fe,useMantineTheme as ve,Container as ye,Stack as xe,UnstyledButton as we,AspectRatio as Ee,ScrollArea as ke,Chip as Ce,Badge as Se,MultiSelect as Ne,Stepper as Be}from"@mantine/core";import Te from"innertext";import{u as De,A as Ie,a as _e,b as ze,c as Ae,d as Le,B as Pe,e as $e,I as Me,f as Oe,g as je,t as Fe}from"./index-57507da7.js";import"@mantine/dates";import{G as He,L as Re}from"./Onboarding-5c56d39f.js";import Ue from"dayjs";import Ve,{keyframes as We,css as Ge}from"styled-components";import"./translationsContext-ccf94e35.js";import"string-format";import{useViewportSize as qe}from"@mantine/hooks";import{i as Ze}from"./index-d7562b2a.js";import Ye from"lodash/throttle";import{L as Xe}from"./index-9d185006.js";import{B as Ke}from"./index-f0fce1a2.js";import{I as Je}from"./index-a4cc5441.js";import{format as Qe,addDays as et,isBefore as tt,startOfMonth as at,addMonths as nt,subMonths as it,getDaysInMonth as rt,isToday as ot,isSameDay as lt,isWithinInterval as st,isAfter as ct,isPast as dt}from"date-fns";import"./utils-04f26d5f.js";import"./index.styled-71c1db47.js";import"./index-b640931f.js";import{L as mt}from"./constants-edcd7033.js";import{D as pt}from"./types-723e315f.js";import{S as ht}from"./index-358e090c.js";import{M as ut}from"./index-90b78df5.js";import{b as gt}from"./index.styled-2c4a2127.js";import{C as bt}from"./index-adfb4bde.js";import{useForm as ft,Controller as vt}from"react-hook-form";import{u as yt}from"./useHealthToolCache-763a2074.js";import{yupResolver as xt}from"@hookform/resolvers/yup";import{B as wt,D as Et}from"./index-ca6fea7b.js";import{f as kt}from"./index-844214e3.js";import Ct from"react-day-picker/DayPickerInput";import{a as St}from"./useOutsideClick-0a120b7f.js";import Nt from"date-fns/locale/en-US";import Bt from"date-fns/locale/id";import Tt from"date-fns/locale/vi";import Dt from"date-fns/locale/zh-TW";import{g as It}from"./getSocialList-f1583415.js";import{v4 as _t}from"uuid";import{g as zt,a as At}from"./routing-ad8ac1fd.js";import{useForm as Lt,isNotEmpty as Pt}from"@mantine/form";import{M as $t}from"./index-506dacde.js";import Mt from"js-cookie";import Ot from"lodash/flatten";import"react-contenteditable";import"react-dom";import jt from"lodash/uniqBy";var Ft="CHw-fZZ",Ht="_03U6VRS",Rt="EO828Vv";const Ut=({style:t,onClose:a,text:n,type:i,contentIcon:r,closeIcon:o,className:l,description:s})=>e.createElement("div",{className:`${Ft} ${l||""}`,style:t,"data-alert-type":i},e.createElement("div",{className:Ht},e.createElement("div",{className:"icon-title"},r,e.createElement(p,{weight:"bold",size:"label1"},n)),e.createElement(p,{weight:"regular",size:"p3"},s)),e.createElement("div",{className:Rt,onClick:a},o)),Vt=({amount:t,type:a,size:n="medium",color:i="primary",icon:r,className:o})=>e.createElement(u,{"data-notification-type":a,"data-notification-size":n,"data-notification-color":i,"data-has-icon":!!r||void 0,notificationType:a,notificationSize:n,notificationColor:i,hasIcon:!!r,className:o},e.createElement("div",null,t&&e.createElement("span",null,t)," ",r&&e.createElement("div",null,r))),Wt=({style:t,children:a,className:n,size:i="lg",type:r="bold",upperCase:o,as:l="h4",color:s})=>e.createElement(g,{style:Object.assign({color:s},t),className:n,"data-size":i,"data-type":r,"data-uppercase":o,as:l},a),Gt=({className:n,value:i,options:r,onUploadSelected:o,id:l,placeholderIcon:s,placeholder:c,style:d})=>{const[m,p]=t(!1),h=()=>p(!m),u=a(r.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+l+"-"+t.value,key:"uploader-dropdown-input-"+l+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),o(e.target.files)}})))),g=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),e.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),e.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),w=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"download"),e.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),E=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"}));return e.createElement(b,{className:n,"data-dropdown-open":!!m,id:l,"data-has-icons":!0,style:d,onBlur:()=>p(!1),tabIndex:0},e.createElement(f,{onClick:h},s||g," ",e.createElement("span",null,i&&i.value?i.label:c)),m&&e.createElement(v,{onClick:h,"data-has-icons":!0},r.map((t=>e.createElement(y,{key:`${l}-${t.value}`,"data-selected":i&&i.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+l+"-"+t.value,void(null===(n=document.querySelector(a))||void 0===n||n.click())):void((e=t.url)&&window.open(e,"_blank"));var e,a,n}},e.createElement(x,null,t.icon||"download"===t.type?w:E),t.label)))),e.createElement(e.Fragment,null,u.current))},qt=({className:t,columns:a,columnsDesktop:n,gridTemplateColumns:i,gridTemplateColumnsDesktop:r,gap:o,children:l,justifyChildren:s,style:c,alignItems:d})=>e.createElement(w,{className:t,style:c,theme:{columns:a,columnsDesktop:n,gap:o,justifyChildren:s,gridTemplateColumns:i,gridTemplateColumnsDesktop:r,alignItems:d}},l),Zt=({pagesAmount:a,activePage:n,handlePageChange:o,handleClick:l,href:s,queryPageName:c="page"})=>{const d=[...Array(a)].map(((e,t)=>t+1)),[m,p]=t(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return i((()=>{n<=4?p(d.slice(0,5)):n>=d.length-3?p(d.slice(d.length-5,d.length)):p(d.slice(n-2,n+1))}),[n]),e.createElement(r,null,n>4&&e.createElement(r,null,e.createElement(C,{onClick:()=>o(1)},s?e.createElement("a",{href:s,onClick:l},1):1),e.createElement(C,null,"...")),m.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===n||void 0,onClick:()=>o(t)},s?e.createElement("a",{href:q(s,t,c),onClick:l},t):t))),n<d.length-3&&e.createElement(r,null,e.createElement(C,null,"..."),e.createElement(C,{onClick:()=>o(d.length)},s?e.createElement("a",{href:q(s,d.length,c),onClick:l},d.length):d.length)))},Yt=({className:a,pagesAmount:r,currentPage:o,onChange:l,onClick:s,style:c,href:d,queryPageName:m="page"})=>{const p=[...Array(r)].map(((e,t)=>t+1)),[h,u]=t(o),g=n((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),b=r-1,f=e=>{e<=r&&e>0&&(u(e),l(e))},v=e=>{s&&s(e)};return i((()=>{u(o)}),[o]),e.createElement(E,{className:a,style:c},e.createElement(k,{className:"prev-page",onClick:()=>f(h-1),"data-last-page":1===h||void 0},g?e.createElement("a",{href:q(g,h,m),onClick:v},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),p.length>8?e.createElement(Zt,{pagesAmount:r,activePage:h,handlePageChange:f,handleClick:v,href:g,queryPageName:m}):p.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===h||void 0,onClick:()=>f(t)},g?e.createElement("a",{href:q(g,t,m),onClick:v},t):t))),e.createElement(k,{className:"next-page",onClick:()=>f(h+1),"data-last-page":h===b+1||void 0},g?e.createElement("a",{href:q(g,h,m),onClick:v},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},Xt=({type:t,size:a="small",label:n,name:i,checked:r,value:o,className:l,isDisabled:s=!1,onChange:c,dataEventCategory:d,dataEventAction:m,dataEventLabel:p})=>{const h=!!m&&!!d&&!!p?{"data-event-category":d,"data-event-action":m,"data-event-label":p}:{};return e.createElement(S,{"data-disabled":s,className:l,"data-type":t,"data-size":a},e.createElement("label",Object.assign({style:{display:"flex",alignItems:"center"},"data-checked":r},h),e.createElement("input",Object.assign({type:"radio",checked:r,name:i,value:o,onChange:()=>c(o)},h)),n))},Kt=({type:t,children:a,style:n,isInline:i,isSquared:r=!1,className:o,isLight:l,hasMorePadding:s,isLink:c,isSelected:d,textProps:m={size:"sm"}})=>{const p=m.color?{"--text-props-color":m.color}:{};return e.createElement(N,{"data-is-squared":r||void 0,"data-tag-type":t,"data-is-light":l||void 0,"data-has-more-padding":s||void 0,"data-is-inline":i||void 0,style:Object.assign(Object.assign({},n),p),className:o,"data-is-selected":d||void 0,"data-is-link":c||void 0,tagType:t,isInline:i,tagHasMorePadding:s,tagIsLight:l,tagIsSquared:r,tagIsALink:c},e.createElement(Y,Object.assign({},m),a))},Jt=({className:t,id:a,onChange:n,checked:i,style:r,label:o})=>e.createElement(B,{className:t,style:r},e.createElement("input",{type:"checkbox",id:a,onChange:n,checked:i}),e.createElement("label",{htmlFor:a},e.createElement(T,null),o&&e.createElement(D,null,o))),Qt=({label:t,name:a,checked:n,className:i,isDisabled:r,onChange:o,value:l,isRectangle:s,inputDataTestId:c,siteType:d})=>e.createElement(I,{className:i,"data-disabled":r||void 0,"data-is-rectangle":s||void 0,"data-label-text":t,"data-theme":d},e.createElement("input",{type:"checkbox",checked:n,name:a,onChange:()=>o(l,!n),disabled:r,value:l,id:`${a}-${l}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${l}`},t)),ea=t=>e.createElement("svg",Object.assign({},t,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),ta=t=>e.createElement("svg",Object.assign({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),aa=t=>{const a=X();return e.createElement("svg",Object.assign({},t,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:`url(#${a})`},e.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},na=({gap:a=2,size:n=24,star:i,totalStars:r=5,onSelect:o,hideEmptyStars:l,style:s,className:c})=>{const d=Math.floor(i),m=i-d>=.5?1:0,[p,h]=t(null),u=p||d,g=p?0:m;return e.createElement(_,{"data-selectable":!!o,style:Object.assign({"--gap":a,"--star-size":n},s),className:c},Array.from({length:l?d+m:r}).map(((t,a)=>{const n=()=>!!o&&h(a+1),i=()=>!!o&&h(null);return a+1<=u?e.createElement(ta,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i}):a+1===u+g?e.createElement(aa,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i}):e.createElement(ea,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i})})))},ia=r=>{var{label:o,availableValue:l,styles:s,isBaby:c,genderValue:d={male:"male",female:"female"}}=r,m=se(r,["label","availableValue","styles","isBaby","genderValue"]);const{t:h}=K(),{classes:u,cx:g}=z(void 0,{name:"GenderOptionControl",styles:s}),[b,f]=t(),v=a(null),y=n((()=>[{value:d.male,label:h(c?"gender.boy":"gender.male"),icon:oe.getAssetPath(c?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:d.female,label:h(c?"gender.girl":"gender.female"),icon:oe.getAssetPath(c?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return i((()=>{f(l)}),[l]),e.createElement(de,{ref:v,className:u.root},e.createElement(me.Group,Object.assign({className:"radio-group",label:e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},o||h(c?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},m,{classNames:{error:u.groupErr}}),e.createElement(pe,{className:g(u.wrapper)},y.map((t=>e.createElement(me,Object.assign({className:"gender-item",classNames:{root:u.itemRoot,labelWrapper:u.itemLabelWrapper,label:u.itemLabel,inner:u.itemInner},key:t.value,value:t.value},b&&t.value!==b&&{disabled:!0},{label:e.createElement(pe,{gap:he(8),align:"center",justify:"center",sx:{zIndex:0}},e.createElement("img",{src:t.icon,className:"gender-image",alt:"female",loading:"lazy"}),e.createElement(p,{size:"p3"},t.label))})))))))};var ra="tliWyii";const oa=({className:t,theme:a,hideText:n})=>{const{t:i}=K();return e.createElement("div",{className:`${ra} ${t}`},e.createElement(h.Spinner,{isMarryBaby:"marryBaby"===a}),!n&&i("loading"))};var la="PiqKaXk",sa="HgbW6-m",ca="_6lkfLYy",da="j7c-onH";const ma=({avatarImg:t,authorName:a,authorLink:n,uploadTime:i,size:r})=>e.createElement("div",{className:da},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":r},t),e.createElement("div",{className:"poster","data-is-disabled-url":!n},e.createElement(p,{size:"lg"===r?"p3":"p4"},e.createElement("a",{href:n},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,i))))),pa=({isMobile:t,avatarImg:a,name:n,link:i,size:r="lg",specialty:o})=>e.createElement("div",{className:da},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":r},a),e.createElement("div",{className:"expert","data-is-disabled-url":!i},t?e.createElement("a",{href:i},"lg"===r?e.createElement(e.Fragment,null,e.createElement(A,{tag:"h6",className:"expert__name",color:le.colors.gray600},n),e.createElement(p,{color:le.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement(A,{tag:"h6",className:"expert__name",color:le.colors.gray600},n))):e.createElement("a",{href:i},"lg"===r?e.createElement(e.Fragment,null,e.createElement(A,{tag:"h6",className:"expert__name",color:le.colors.gray600},n),e.createElement(p,{color:le.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement("h6",{color:le.colors.gray600,className:`${la} expert__name`},n),e.createElement(p,{color:le.colors.gray500,size:"p4",className:"specialty"},o)))))),ha=o((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),ua=o((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),ga=o((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),ba=({articleLink:t,authorLink:a,authorName:n,avatarImg:i,banner:r,categoryLink:o,categoryName:l,className:s,dataEventActionForBanner:c,dataEventActionForBookmark:d,dataEventActionForCategory:m,dataEventActionForTitle:h,dataEventCategoryForBanner:u,dataEventCategoryForBookmark:g,dataEventCategoryForCategory:b,dataEventCategoryForTitle:f,dataEventLabelForBanner:v,dataEventLabelForBookmark:y,dataEventLabelForCategory:x,dataEventLabelForTitle:w,direction:E="horizontal",hasAffiliate:k,isBookmark:C=!1,isBookmarkDisplayed:S=!0,isMobile:N=!0,onBookmark:B,onClickCategoryName:T,section:D="normal",size:I="md",specialty:_,style:z,styleBanner:L,styleLabel:P,styleTitle:$,text:M,title:O,type:j="author",uploadTime:F,articleLinkTarget:H,isPremium:R})=>{const U=e=>{e.stopPropagation(),null==B||B()},V="lg"===I&&"expert"===j?"h4":"lg"===I&&"home"===D?N?"h4":"h3":"lg"===I?"h4":"h5",W="lg"===I?"p3":"p4",G=N||"home"!==D||"lg"!==I||"author"!==j?"c2":"c1";return e.createElement("article",{className:`${ca} ${s||""}`,"data-size":I,style:z,"data-direction":E,"data-is-expert":"expert"===j||void 0},e.createElement("div",{className:"banner",style:L},e.createElement("a",{className:sa,"data-event-category":u,"data-event-action":c,"data-event-label":v,href:t||"#",target:H},r),R&&e.createElement("img",{loading:"lazy",className:"premium",src:oe.getAssetPath("premium-crown.svg")}),k&&e.createElement(ha,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(p,{style:P,className:"label",size:G,weight:"caption"},e.createElement("a",{className:sa,"data-event-category":b,"data-event-action":m,"data-event-label":x,href:o||"#",onClick:T},l),S&&e.createElement("a",{className:"bookmark",onClick:U},C?e.createElement(ua,{dataEventCategoryForBookmark:g,dataEventActionForBookmark:d,dataEventLabelForBookmark:y}):e.createElement(ga,{dataEventCategoryForBookmark:g,dataEventActionForBookmark:d,dataEventLabelForBookmark:y}))),e.createElement(A,{tag:V,style:$,className:"title",as:"lg"===I?"h2":"h3"},e.createElement("a",{className:sa,"data-event-category":f,"data-event-action":h,"data-event-label":w,href:t||"#",target:H},O)),M&&e.createElement("a",{href:t||"#",target:H},e.createElement(p,{size:W,className:"text"},M))),e.createElement("div",{className:"footer"},"author"===j?e.createElement(ma,{size:I,avatarImg:i,authorName:n,authorLink:a,uploadTime:F,handleClick:U,isBookmarked:C,dataEventCategoryForBookmark:g,dataEventActionForBookmark:d,dataEventLabelForBookmark:y}):e.createElement(pa,{size:I,isMobile:N,avatarImg:i,specialty:_,name:n,link:a,handleClick:U,isBookmarked:C,dataEventCategoryForBookmark:g,dataEventActionForBookmark:d,dataEventLabelForBookmark:y}))))},fa=t=>{var a,n,i,{article:r,author:o,authorAvatar:l,badge:s="",hideDescription:c=!1,isBookmarked:d=!1,onBookmark:m,time:h,tracking:u}=t,g=se(t,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:b}=De();return console.log({article:r}),e.createElement(ue,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},g),e.createElement(ue.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},e.createElement("img",{src:(b?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{width:"100%"},loading:"lazy"})),e.createElement(ue.Section,null,e.createElement(ge,{position:"apart",mt:16,mb:4},e.createElement(Ie,{href:(null===(a=null==r?void 0:r.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==r?void 0:r.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(de,{sx:{cursor:"pointer"},role:"button",onClick:m},d?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},r.postTitle||r.postName||""),!c&&e.createElement(p,{size:"p2",mb:16,lineClamp:3,className:"pointer"},Te(r.excerpt||r.description||(null===(i=r.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),e.createElement(pe,{gap:12,align:"center"},e.createElement(_e,{size:32,src:l,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:s,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},o," • ",h))))};var va=be(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const ya=648/440,xa=1.5,wa=t=>{var a,i,r,{article:o,author:l,authorAvatar:s,badge:c="",bannerImageWrapProps:d,hideDescription:m=!1,isBookmarked:h=!1,onBookmark:u,time:g,tracking:b,classNames:f,styles:v,unstyled:y,className:x}=t,w=se(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:E}=De(),{classes:k,cx:C}=va({},{name:"ArticleCard",classNames:f,styles:v,unstyled:y}),S=n((()=>m?xa:ya),[m]);return e.createElement(ue,Object.assign({className:C(k.root,x),padding:"lg",radius:0},w),e.createElement(ue.Section,{className:C(k.image,"pointer")},e.createElement(ze,Object.assign({ratio:S},d),e.createElement("img",{src:(E?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{objectFit:"cover"}}))),e.createElement(ue.Section,null,e.createElement(ge,{position:"apart",mt:16,mb:4},e.createElement(Ie,{className:k.category,href:(null===(a=null==o?void 0:o.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(i=null==o?void 0:o.primaryCategory)||void 0===i?void 0:i.displayName)),e.createElement(de,{sx:{cursor:"pointer"},role:"button",onClick:u},h?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},null==b?void 0:b.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},null==b?void 0:b.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{className:C(k.title,"pointer"),size:m?"s2":"s1",mb:8,weight:"semiBold"},o.postTitle||o.postName||""),!m&&e.createElement(p,{className:C(k.description,"pointer"),size:"p2",mb:16,lineClamp:3},Te(o.excerpt||o.description||(null===(r=o.postContent)||void 0===r?void 0:r.split("\r\n")[0])||"")),e.createElement(pe,{className:k.author,gap:12,align:"center"},e.createElement(_e,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},l," • ",g))))},Ea=t=>{var{variant:a="vertical"}=t,n=se(t,["variant"]);return"horizontal"===a?e.createElement(fa,Object.assign({},n)):e.createElement(wa,Object.assign({},n))},ka=Ve.a`
1
+ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,memo as o,useCallback as l,useImperativeHandle as s,forwardRef as c,createContext as d,useContext as m}from"react";import{T as p,I as h}from"./index-938f7174.js";import{f as u,g,h as b,i as f,j as v,k as y,l as x,m as w,n as E,o as k,p as C,q as S,r as N,s as B,t as T,u as D,v as I,w as z,x as _,H as A,T as L,y as P,Z as $,P as M,z as O,A as j,B as F,C as H,E as R,d as U,F as V,I as W,J as G}from"./index.styles-07c4595b.js";import{i as q,M as Z}from"./screenSizeContext-e352a6d4.js";import{T as Y}from"./index-c6771134.js";import{b as X,u as K}from"./useTranslations-aa1a2f83.js";import"lodash/debounce";import{i as J}from"./isProduction-40086a7e.js";import{d as Q,L as ee,F as te,Q as ae,R as ne,a as ie,G as re}from"./index-bfc4cd23.js";import"./useCategory-9901772f.js";import{CommonGAssets as oe}from"./gAssets.js";import{t as le}from"./theme-cd8299b8.js";import{_ as se,a as ce}from"./tslib.es6-cda9ee48.js";import{Box as de,Radio as me,Flex as pe,rem as he,Card as ue,Group as ge,createStyles as be,getStylesRef as fe,useMantineTheme as ve,Container as ye,Stack as xe,UnstyledButton as we,AspectRatio as Ee,ScrollArea as ke,Chip as Ce,Badge as Se,MultiSelect as Ne,Stepper as Be}from"@mantine/core";import Te from"innertext";import{u as De,A as Ie,a as ze,b as _e,c as Ae,d as Le,B as Pe,e as $e,I as Me,f as Oe,g as je,t as Fe}from"./index-84eb4466.js";import"@mantine/dates";import{G as He,L as Re}from"./Onboarding-51285f06.js";import Ue from"dayjs";import Ve,{keyframes as We,css as Ge}from"styled-components";import"./translationsContext-37be3000.js";import"string-format";import{useViewportSize as qe}from"@mantine/hooks";import{i as Ze}from"./index-91894ba2.js";import Ye from"lodash/throttle";import{L as Xe}from"./index-f6394d51.js";import{B as Ke}from"./index-d58d8283.js";import{I as Je}from"./index-5c125b57.js";import{format as Qe,addDays as et,isBefore as tt,startOfMonth as at,addMonths as nt,subMonths as it,getDaysInMonth as rt,isToday as ot,isSameDay as lt,isWithinInterval as st,isAfter as ct,isPast as dt}from"date-fns";import"./utils-a905ed12.js";import"./index.styled-7cde4a76.js";import"./index-c4b465ec.js";import{L as mt}from"./constants-a00c5c32.js";import{D as pt}from"./types-487260d7.js";import{S as ht}from"./index-6ae79c93.js";import{M as ut}from"./index-a6a23aab.js";import{b as gt}from"./index.styled-e2cce41b.js";import{C as bt}from"./index-94ebea17.js";import{useForm as ft,Controller as vt}from"react-hook-form";import{u as yt}from"./useHealthToolCache-ac99b45d.js";import{yupResolver as xt}from"@hookform/resolvers/yup";import{B as wt,D as Et}from"./index-a01a7c45.js";import{f as kt}from"./index-7775e743.js";import Ct from"react-day-picker/DayPickerInput";import{a as St}from"./useOutsideClick-6eefeb55.js";import Nt from"date-fns/locale/en-US";import Bt from"date-fns/locale/id";import Tt from"date-fns/locale/vi";import Dt from"date-fns/locale/zh-TW";import{g as It}from"./getSocialList-aef0825b.js";import{v4 as zt}from"uuid";import{g as _t,a as At}from"./routing-f25a172c.js";import{useForm as Lt,isNotEmpty as Pt}from"@mantine/form";import{M as $t}from"./index-908a66b7.js";import Mt from"js-cookie";import Ot from"lodash/flatten";import"react-contenteditable";import"react-dom";import jt from"lodash/uniqBy";var Ft="CHw-fZZ",Ht="_03U6VRS",Rt="EO828Vv";const Ut=({style:t,onClose:a,text:n,type:i,contentIcon:r,closeIcon:o,className:l,description:s})=>e.createElement("div",{className:`${Ft} ${l||""}`,style:t,"data-alert-type":i},e.createElement("div",{className:Ht},e.createElement("div",{className:"icon-title"},r,e.createElement(p,{weight:"bold",size:"label1"},n)),e.createElement(p,{weight:"regular",size:"p3"},s)),e.createElement("div",{className:Rt,onClick:a},o)),Vt=({amount:t,type:a,size:n="medium",color:i="primary",icon:r,className:o})=>e.createElement(u,{"data-notification-type":a,"data-notification-size":n,"data-notification-color":i,"data-has-icon":!!r||void 0,notificationType:a,notificationSize:n,notificationColor:i,hasIcon:!!r,className:o},e.createElement("div",null,t&&e.createElement("span",null,t)," ",r&&e.createElement("div",null,r))),Wt=({style:t,children:a,className:n,size:i="lg",type:r="bold",upperCase:o,as:l="h4",color:s})=>e.createElement(g,{style:Object.assign({color:s},t),className:n,"data-size":i,"data-type":r,"data-uppercase":o,as:l},a),Gt=()=>e.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),qt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),Zt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"download"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),Yt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"upload"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"})),Xt=({className:n,value:i,options:r,onUploadSelected:o,id:l,placeholderIcon:s,placeholder:c,style:d})=>{const[m,p]=t(!1),h=()=>p(!m),u=a(r.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+l+"-"+t.value,key:"uploader-dropdown-input-"+l+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),o(e.target.files)}}))));return e.createElement(b,{className:n,"data-dropdown-open":!!m,id:l,"data-has-icons":!0,style:d,onBlur:()=>p(!1),tabIndex:0},e.createElement(Gt,null),e.createElement(f,{onClick:h},s||e.createElement(qt,null)," ",e.createElement("span",null,i&&i.value?i.label:c)),m&&e.createElement(v,{onClick:h,"data-has-icons":!0},r.map((t=>e.createElement(y,{key:`${l}-${t.value}`,"data-selected":i&&i.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+l+"-"+t.value,void(null===(n=document.querySelector(a))||void 0===n||n.click())):void((e=t.url)&&window.open(e,"_blank"));var e,a,n}},e.createElement(x,null,t.icon||"download"===t.type?e.createElement(Zt,null):e.createElement(Yt,null)),t.label)))),e.createElement(e.Fragment,null,u.current))},Kt=({className:t,columns:a,columnsDesktop:n,gridTemplateColumns:i,gridTemplateColumnsDesktop:r,gap:o,children:l,justifyChildren:s,style:c,alignItems:d})=>e.createElement(w,{className:t,style:c,theme:{columns:a,columnsDesktop:n,gap:o,justifyChildren:s,gridTemplateColumns:i,gridTemplateColumnsDesktop:r,alignItems:d}},l),Jt=({pagesAmount:a,activePage:n,handlePageChange:o,handleClick:l,href:s,queryPageName:c="page"})=>{const d=[...Array(a)].map(((e,t)=>t+1)),[m,p]=t(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return i((()=>{n<=4?p(d.slice(0,5)):n>=d.length-3?p(d.slice(d.length-5,d.length)):p(d.slice(n-2,n+1))}),[n]),e.createElement(r,null,n>4&&e.createElement(r,null,e.createElement(C,{onClick:()=>o(1)},s?e.createElement("a",{href:s,onClick:l},1):1),e.createElement(C,null,"...")),m.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===n||void 0,onClick:()=>o(t)},s?e.createElement("a",{href:q(s,t,c),onClick:l},t):t))),n<d.length-3&&e.createElement(r,null,e.createElement(C,null,"..."),e.createElement(C,{onClick:()=>o(d.length)},s?e.createElement("a",{href:q(s,d.length,c),onClick:l},d.length):d.length)))},Qt=({className:a,pagesAmount:r,currentPage:o,onChange:l,onClick:s,style:c,href:d,queryPageName:m="page"})=>{const p=[...Array(r)].map(((e,t)=>t+1)),[h,u]=t(o),g=n((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),b=r-1,f=e=>{e<=r&&e>0&&(u(e),l(e))},v=e=>{s&&s(e)};return i((()=>{u(o)}),[o]),e.createElement(E,{className:a,style:c},e.createElement(k,{className:"prev-page",onClick:()=>f(h-1),"data-last-page":1===h||void 0},g?e.createElement("a",{href:q(g,h,m),onClick:v},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),p.length>8?e.createElement(Jt,{pagesAmount:r,activePage:h,handlePageChange:f,handleClick:v,href:g,queryPageName:m}):p.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===h||void 0,onClick:()=>f(t)},g?e.createElement("a",{href:q(g,t,m),onClick:v},t):t))),e.createElement(k,{className:"next-page",onClick:()=>f(h+1),"data-last-page":h===b+1||void 0},g?e.createElement("a",{href:q(g,h,m),onClick:v},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},ea=({type:t,size:a="small",label:n,name:i,checked:r,value:o,className:l,isDisabled:s=!1,onChange:c,dataEventCategory:d,dataEventAction:m,dataEventLabel:p})=>{const h=!!m&&!!d&&!!p?{"data-event-category":d,"data-event-action":m,"data-event-label":p}:{};return e.createElement(S,{"data-disabled":s,className:l,"data-type":t,"data-size":a},e.createElement("label",Object.assign({style:{display:"flex",alignItems:"center"},"data-checked":r},h),e.createElement("input",Object.assign({type:"radio",checked:r,name:i,value:o,onChange:()=>c(o)},h)),n))},ta=({type:t,children:a,style:n,isInline:i,isSquared:r=!1,className:o,isLight:l,hasMorePadding:s,isLink:c,isSelected:d,textProps:m={size:"sm"}})=>{const p=m.color?{"--text-props-color":m.color}:{};return e.createElement(N,{"data-is-squared":r||void 0,"data-tag-type":t,"data-is-light":l||void 0,"data-has-more-padding":s||void 0,"data-is-inline":i||void 0,style:Object.assign(Object.assign({},n),p),className:o,"data-is-selected":d||void 0,"data-is-link":c||void 0,tagType:t,isInline:i,tagHasMorePadding:s,tagIsLight:l,tagIsSquared:r,tagIsALink:c},e.createElement(Y,Object.assign({},m),a))},aa=({className:t,id:a,onChange:n,checked:i,style:r,label:o})=>e.createElement(B,{className:t,style:r},e.createElement("input",{type:"checkbox",id:a,onChange:n,checked:i}),e.createElement("label",{htmlFor:a},e.createElement(T,null),o&&e.createElement(D,null,o))),na=({label:t,name:a,checked:n,className:i,isDisabled:r,onChange:o,value:l,isRectangle:s,inputDataTestId:c,siteType:d})=>e.createElement(I,{className:i,"data-disabled":r||void 0,"data-is-rectangle":s||void 0,"data-label-text":t,"data-theme":d},e.createElement("input",{type:"checkbox",checked:n,name:a,onChange:()=>o(l,!n),disabled:r,value:l,id:`${a}-${l}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${l}`},t)),ia=t=>e.createElement("svg",Object.assign({},t,{viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),ra=t=>e.createElement("svg",Object.assign({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),oa=t=>{const a=X();return e.createElement("svg",Object.assign({},t,{viewBox:"0 0 24 24",fill:"none"}),e.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:`url(#${a})`},e.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},la=({gap:a=2,size:n=24,star:i,totalStars:r=5,onSelect:o,hideEmptyStars:l,style:s,className:c})=>{const d=Math.floor(i),m=i-d>=.5?1:0,[p,h]=t(null),u=p||d,g=p?0:m;return e.createElement(z,{"data-selectable":!!o,style:Object.assign({"--gap":a,"--star-size":n},s),className:c},Array.from({length:l?d+m:r}).map(((t,a)=>{const n=()=>!!o&&h(a+1),i=()=>!!o&&h(null);return a+1<=u?e.createElement(ra,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i}):a+1===u+g?e.createElement(oa,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i}):e.createElement(ia,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i})})))},sa=r=>{var{label:o,availableValue:l,styles:s,isBaby:c,genderValue:d={male:"male",female:"female"}}=r,m=se(r,["label","availableValue","styles","isBaby","genderValue"]);const{t:h}=K(),{classes:u,cx:g}=_(void 0,{name:"GenderOptionControl",styles:s}),[b,f]=t(),v=a(null),y=n((()=>[{value:d.male,label:h(c?"gender.boy":"gender.male"),icon:oe.getAssetPath(c?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:d.female,label:h(c?"gender.girl":"gender.female"),icon:oe.getAssetPath(c?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return i((()=>{f(l)}),[l]),e.createElement(de,{ref:v,className:u.root},e.createElement(me.Group,Object.assign({className:"radio-group",label:e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},o||h(c?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},m,{classNames:{error:u.groupErr}}),e.createElement(pe,{className:g(u.wrapper)},y.map((t=>e.createElement(me,Object.assign({className:"gender-item",classNames:{root:u.itemRoot,labelWrapper:u.itemLabelWrapper,label:u.itemLabel,inner:u.itemInner},key:t.value,value:t.value},b&&t.value!==b&&{disabled:!0},{label:e.createElement(pe,{gap:he(8),align:"center",justify:"center",sx:{zIndex:0}},e.createElement("img",{src:t.icon,className:"gender-image",alt:"female",loading:"lazy"}),e.createElement(p,{size:"p3"},t.label))})))))))};var ca="tliWyii";const da=({className:t,theme:a,hideText:n})=>{const{t:i}=K();return e.createElement("div",{className:`${ca} ${t}`},e.createElement(h.Spinner,{isMarryBaby:"marryBaby"===a}),!n&&i("loading"))};var ma="PiqKaXk",pa="HgbW6-m",ha="_6lkfLYy",ua="j7c-onH";const ga=({avatarImg:t,authorName:a,authorLink:n,uploadTime:i,size:r})=>e.createElement("div",{className:ua},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":r},t),e.createElement("div",{className:"poster","data-is-disabled-url":!n},e.createElement(p,{size:"lg"===r?"p3":"p4"},e.createElement("a",{href:n},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,i))))),ba=({isMobile:t,avatarImg:a,name:n,link:i,size:r="lg",specialty:o})=>e.createElement("div",{className:ua},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":r},a),e.createElement("div",{className:"expert","data-is-disabled-url":!i},t?e.createElement("a",{href:i},"lg"===r?e.createElement(e.Fragment,null,e.createElement(A,{tag:"h6",className:"expert__name",color:le.colors.gray600},n),e.createElement(p,{color:le.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement(A,{tag:"h6",className:"expert__name",color:le.colors.gray600},n))):e.createElement("a",{href:i},"lg"===r?e.createElement(e.Fragment,null,e.createElement(A,{tag:"h6",className:"expert__name",color:le.colors.gray600},n),e.createElement(p,{color:le.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement("h6",{color:le.colors.gray600,className:`${ma} expert__name`},n),e.createElement(p,{color:le.colors.gray500,size:"p4",className:"specialty"},o)))))),fa=o((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),va=o((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),ya=o((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),xa=({articleLink:t,authorLink:a,authorName:n,avatarImg:i,banner:r,categoryLink:o,categoryName:l,className:s,dataEventActionForBanner:c,dataEventActionForBookmark:d,dataEventActionForCategory:m,dataEventActionForTitle:h,dataEventCategoryForBanner:u,dataEventCategoryForBookmark:g,dataEventCategoryForCategory:b,dataEventCategoryForTitle:f,dataEventLabelForBanner:v,dataEventLabelForBookmark:y,dataEventLabelForCategory:x,dataEventLabelForTitle:w,direction:E="horizontal",hasAffiliate:k,isBookmark:C=!1,isBookmarkDisplayed:S=!0,isMobile:N=!0,onBookmark:B,onClickCategoryName:T,section:D="normal",size:I="md",specialty:z,style:_,styleBanner:L,styleLabel:P,styleTitle:$,text:M,title:O,type:j="author",uploadTime:F,articleLinkTarget:H,isPremium:R})=>{const U=e=>{e.stopPropagation(),null==B||B()},V="lg"===I&&"expert"===j?"h4":"lg"===I&&"home"===D?N?"h4":"h3":"lg"===I?"h4":"h5",W="lg"===I?"p3":"p4",G=N||"home"!==D||"lg"!==I||"author"!==j?"c2":"c1";return e.createElement("article",{className:`${ha} ${s||""}`,"data-size":I,style:_,"data-direction":E,"data-is-expert":"expert"===j||void 0},e.createElement("div",{className:"banner",style:L},e.createElement("a",{className:pa,"data-event-category":u,"data-event-action":c,"data-event-label":v,href:t||"#",target:H},r),R&&e.createElement("img",{loading:"lazy",className:"premium",src:oe.getAssetPath("premium-crown.svg")}),k&&e.createElement(fa,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(p,{style:P,className:"label",size:G,weight:"caption"},e.createElement("a",{className:pa,"data-event-category":b,"data-event-action":m,"data-event-label":x,href:o||"#",onClick:T},l),S&&e.createElement("a",{className:"bookmark",onClick:U},C?e.createElement(va,{dataEventCategoryForBookmark:g,dataEventActionForBookmark:d,dataEventLabelForBookmark:y}):e.createElement(ya,{dataEventCategoryForBookmark:g,dataEventActionForBookmark:d,dataEventLabelForBookmark:y}))),e.createElement(A,{tag:V,style:$,className:"title",as:"lg"===I?"h2":"h3"},e.createElement("a",{className:pa,"data-event-category":f,"data-event-action":h,"data-event-label":w,href:t||"#",target:H},O)),M&&e.createElement("a",{href:t||"#",target:H},e.createElement(p,{size:W,className:"text"},M))),e.createElement("div",{className:"footer"},"author"===j?e.createElement(ga,{size:I,avatarImg:i,authorName:n,authorLink:a,uploadTime:F,handleClick:U,isBookmarked:C,dataEventCategoryForBookmark:g,dataEventActionForBookmark:d,dataEventLabelForBookmark:y}):e.createElement(ba,{size:I,isMobile:N,avatarImg:i,specialty:z,name:n,link:a,handleClick:U,isBookmarked:C,dataEventCategoryForBookmark:g,dataEventActionForBookmark:d,dataEventLabelForBookmark:y}))))},wa=t=>{var a,n,i,{article:r,author:o,authorAvatar:l,badge:s="",hideDescription:c=!1,isBookmarked:d=!1,onBookmark:m,time:h,tracking:u}=t,g=se(t,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:b}=De();return console.log({article:r}),e.createElement(ue,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},g),e.createElement(ue.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},e.createElement("img",{src:(b?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{width:"100%"},loading:"lazy"})),e.createElement(ue.Section,null,e.createElement(ge,{position:"apart",mt:16,mb:4},e.createElement(Ie,{href:(null===(a=null==r?void 0:r.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==r?void 0:r.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(de,{sx:{cursor:"pointer"},role:"button",onClick:m},d?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},r.postTitle||r.postName||""),!c&&e.createElement(p,{size:"p2",mb:16,lineClamp:3,className:"pointer"},Te(r.excerpt||r.description||(null===(i=r.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),e.createElement(pe,{gap:12,align:"center"},e.createElement(ze,{size:32,src:l,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:s,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},o," • ",h))))};var Ea=be(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const ka=648/440,Ca=1.5,Sa=t=>{var a,i,r,{article:o,author:l,authorAvatar:s,badge:c="",bannerImageWrapProps:d,hideDescription:m=!1,isBookmarked:h=!1,onBookmark:u,time:g,tracking:b,classNames:f,styles:v,unstyled:y,className:x}=t,w=se(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:E}=De(),{classes:k,cx:C}=Ea({},{name:"ArticleCard",classNames:f,styles:v,unstyled:y}),S=n((()=>m?Ca:ka),[m]);return e.createElement(ue,Object.assign({className:C(k.root,x),padding:"lg",radius:0},w),e.createElement(ue.Section,{className:C(k.image,"pointer")},e.createElement(_e,Object.assign({ratio:S},d),e.createElement("img",{src:(E?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{objectFit:"cover"}}))),e.createElement(ue.Section,null,e.createElement(ge,{position:"apart",mt:16,mb:4},e.createElement(Ie,{className:k.category,href:(null===(a=null==o?void 0:o.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(i=null==o?void 0:o.primaryCategory)||void 0===i?void 0:i.displayName)),e.createElement(de,{sx:{cursor:"pointer"},role:"button",onClick:u},h?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{className:C(k.title,"pointer"),size:m?"s2":"s1",mb:8,weight:"semiBold"},o.postTitle||o.postName||""),!m&&e.createElement(p,{className:C(k.description,"pointer"),size:"p2",mb:16,lineClamp:3},Te(o.excerpt||o.description||(null===(r=o.postContent)||void 0===r?void 0:r.split("\r\n")[0])||"")),e.createElement(pe,{className:k.author,gap:12,align:"center"},e.createElement(ze,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},l," • ",g))))},Na=t=>{var{variant:a="vertical"}=t,n=se(t,["variant"]);return"horizontal"===a?e.createElement(wa,Object.assign({},n)):e.createElement(Sa,Object.assign({},n))},Ba=Ve.a`
2
2
  display: flex;
3
3
  height: 125px;
4
4
 
@@ -32,7 +32,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
32
32
  * {
33
33
  pointer-events: none;
34
34
  }
35
- `,Ca=t=>{var{category:a,imgBanner:n,label:i,className:r,style:o,href:l="",dataEventCategory:s,dataEventAction:c,dataEventLabel:d}=t,m=se(t,["category","imgBanner","label","className","style","href","dataEventCategory","dataEventAction","dataEventLabel"]);const h=(null==a?void 0:a.customizedUrl)||(null==a?void 0:a.permalink)||l||"";return e.createElement(ka,Object.assign({"data-event-category":s,"data-event-action":c,"data-event-label":d,className:r,style:o,href:h},(null==a?void 0:a.customizedUrl)&&!Ze(a.customizedUrl)&&{target:"_blank"},{onClick:e=>{""===h&&e.preventDefault()}},m),e.createElement("div",{className:"banner"},n),e.createElement("div",{className:"content"},e.createElement(p,{className:"category_name",size:"sm",weight:"bold"},(null==a?void 0:a.displayName)||i||"")))},Sa=Ve.div`
35
+ `,Ta=t=>{var{category:a,imgBanner:n,label:i,className:r,style:o,href:l="",dataEventCategory:s,dataEventAction:c,dataEventLabel:d}=t,m=se(t,["category","imgBanner","label","className","style","href","dataEventCategory","dataEventAction","dataEventLabel"]);const h=(null==a?void 0:a.customizedUrl)||(null==a?void 0:a.permalink)||l||"";return e.createElement(Ba,Object.assign({"data-event-category":s,"data-event-action":c,"data-event-label":d,className:r,style:o,href:h},(null==a?void 0:a.customizedUrl)&&!Ze(a.customizedUrl)&&{target:"_blank"},{onClick:e=>{""===h&&e.preventDefault()}},m),e.createElement("div",{className:"banner"},n),e.createElement("div",{className:"content"},e.createElement(p,{className:"category_name",size:"sm",weight:"bold"},(null==a?void 0:a.displayName)||i||"")))},Da=Ve.div`
36
36
  display: flex;
37
37
 
38
38
  &[data-type='vertical'] {
@@ -56,7 +56,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
56
56
  }
57
57
  }
58
58
  }
59
- `,Na=({name:t,values:a=[],onChanges:n,options:i=[],className:r,type:o="vertical",isDisabled:l,isRectangle:s})=>{const c=(e,t)=>{const i=a.slice();if(t)i.push(e);else{const t=i.findIndex((t=>t===e));i.splice(t,1)}n&&n(i)};return e.createElement(Sa,{className:r,"data-type":o,"data-is-rectangle":s||void 0},i.map(((n,i)=>e.createElement(Qt,{label:n.label,name:t,key:`${i}-${n.value}`,checked:a.includes(n.value),value:n.value,isDisabled:l||n.disabled,onChange:!l&&c,isRectangle:s}))))},Ba={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},Ta=Ve.div`
59
+ `,Ia=({name:t,values:a=[],onChanges:n,options:i=[],className:r,type:o="vertical",isDisabled:l,isRectangle:s})=>{const c=(e,t)=>{const i=a.slice();if(t)i.push(e);else{const t=i.findIndex((t=>t===e));i.splice(t,1)}n&&n(i)};return e.createElement(Da,{className:r,"data-type":o,"data-is-rectangle":s||void 0},i.map(((n,i)=>e.createElement(na,{label:n.label,name:t,key:`${i}-${n.value}`,checked:a.includes(n.value),value:n.value,isDisabled:l||n.disabled,onChange:!l&&c,isRectangle:s}))))},za={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},_a=Ve.div`
60
60
  .pickerContainer {
61
61
  position: relative;
62
62
  padding-top: 0;
@@ -413,7 +413,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
413
413
  background: white;
414
414
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
415
415
  }
416
- `,Da=Ve.form`
416
+ `,Aa=Ve.form`
417
417
  display: flex;
418
418
  width: 100%;
419
419
 
@@ -430,7 +430,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
430
430
  background: ${e=>e.theme.colors.neutral100};
431
431
  border-radius: ${e=>e.theme.borderRadius};
432
432
  }
433
- `,Ia=({alignRight:n=!0,placeholder:r,displayDateFormat:o,onChange:l,customInput:s,pickedDate:c,className:d,isStatic:m,disabledDays:p,modifiers:h,UnHideOnClickOutside:u,initialMonth:g,locale:b="en-PH"})=>{const f=a(!1),v=Qe,[y,x]=t(g||new Date),w=a(null),E=a(null),k=Ba[b],C=e=>{u||w.current&&w.current.contains(e.target)||E.current&&E.current.hideDayPicker()},S=(new Date).getFullYear(),N=new Date(S-150,0),B=new Date(S+1,0),T=({date:t,onChange:a,monthLabels:n})=>{const i=[];for(let e=B.getFullYear();e>=N.getFullYear();e-=1)i.push(e);const r=function(e){const{year:t,month:n}=e.target.form;a(new Date(t.value,n.value))};return e.createElement("div",{className:"DayPicker-Caption"},e.createElement(Da,null,e.createElement("select",{name:"month",onChange:r,value:t.getMonth()},n.map(((t,a)=>e.createElement("option",{key:t,value:a},t)))),e.createElement("select",{name:"year",onChange:r,value:t.getFullYear()},i.map((t=>e.createElement("option",{key:t,value:t},t))))))};return i((()=>(document.addEventListener("mousedown",C,{passive:!0}),()=>{document.removeEventListener("mousedown",C,!1)})),[]),e.createElement(Ta,{className:d,"data-align-right":n,ref:w,"data-is-static":m||void 0},e.createElement(Ct,{ref:E,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:s&&e.forwardRef(((t,a)=>e.createElement(s,Object.assign({},t)))),onDayPickerHide:()=>{f.current=!1},onDayPickerShow:()=>{f.current=!0},dayPickerProps:{month:y,className:"picker",selectedDays:c,canChangeMonth:!0,enableOutsideDaysClick:!m,firstDayOfWeek:1,captionElement:({date:t,localeUtils:a})=>{const n=null==a?void 0:a.getMonths();return e.createElement(T,{date:t,monthLabels:k||n,onChange:x})},disabledDays:p||void 0,modifiers:h},format:o||"yyyy-MM-dd",formatDate:(e,t)=>v(e,t),hideOnDayClick:!m,placeholder:r||"",onDayChange:e=>{var t;t=e,E.current&&!m&&E.current.hideDayPicker(),l&&l(t)},showOverlay:m}))},_a=Ve.div`
433
+ `,La=({alignRight:n=!0,placeholder:r,displayDateFormat:o,onChange:l,customInput:s,pickedDate:c,className:d,isStatic:m,disabledDays:p,modifiers:h,UnHideOnClickOutside:u,initialMonth:g,locale:b="en-PH"})=>{const f=a(!1),v=Qe,[y,x]=t(g||new Date),w=a(null),E=a(null),k=za[b],C=e=>{u||w.current&&w.current.contains(e.target)||E.current&&E.current.hideDayPicker()},S=(new Date).getFullYear(),N=new Date(S-150,0),B=new Date(S+1,0),T=({date:t,onChange:a,monthLabels:n})=>{const i=[];for(let e=B.getFullYear();e>=N.getFullYear();e-=1)i.push(e);const r=function(e){const{year:t,month:n}=e.target.form;a(new Date(t.value,n.value))};return e.createElement("div",{className:"DayPicker-Caption"},e.createElement(Aa,null,e.createElement("select",{name:"month",onChange:r,value:t.getMonth()},n.map(((t,a)=>e.createElement("option",{key:t,value:a},t)))),e.createElement("select",{name:"year",onChange:r,value:t.getFullYear()},i.map((t=>e.createElement("option",{key:t,value:t},t))))))};return i((()=>(document.addEventListener("mousedown",C,{passive:!0}),()=>{document.removeEventListener("mousedown",C,!1)})),[]),e.createElement(_a,{className:d,"data-align-right":n,ref:w,"data-is-static":m||void 0},e.createElement(Ct,{ref:E,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:s&&e.forwardRef(((t,a)=>e.createElement(s,Object.assign({},t)))),onDayPickerHide:()=>{f.current=!1},onDayPickerShow:()=>{f.current=!0},dayPickerProps:{month:y,className:"picker",selectedDays:c,canChangeMonth:!0,enableOutsideDaysClick:!m,firstDayOfWeek:1,captionElement:({date:t,localeUtils:a})=>{const n=null==a?void 0:a.getMonths();return e.createElement(T,{date:t,monthLabels:k||n,onChange:x})},disabledDays:p||void 0,modifiers:h},format:o||"yyyy-MM-dd",formatDate:(e,t)=>v(e,t),hideOnDayClick:!m,placeholder:r||"",onDayChange:e=>{var t;t=e,E.current&&!m&&E.current.hideDayPicker(),l&&l(t)},showOverlay:m}))},Pa=Ve.div`
434
434
  display: flex;
435
435
  align-items: center;
436
436
  --font-weight-lg: ${e=>e.theme.sizes.fwBold};
@@ -472,7 +472,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
472
472
  font-weight: var(----font-weight-sm);
473
473
  }
474
474
  }
475
- `,za=({size:t,iconPosition:a,className:n,children:i,icon:r})=>e.createElement(_a,{className:n,"data-size":t,"data-icon-position":a},"left"===a&&r,i,"right"===a&&r),Aa=Ve.div`
475
+ `,$a=({size:t,iconPosition:a,className:n,children:i,icon:r})=>e.createElement(Pa,{className:n,"data-size":t,"data-icon-position":a},"left"===a&&r,i,"right"===a&&r),Ma=Ve.div`
476
476
  position: relative;
477
477
  width: 100%;
478
478
 
@@ -483,7 +483,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
483
483
  outline: none;
484
484
  }
485
485
  }
486
- `,La=Ve.div`
486
+ `,Oa=Ve.div`
487
487
  position: absolute;
488
488
  top: 19px;
489
489
  width: 24px;
@@ -506,7 +506,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
506
506
  color: ${e=>e.theme.colors.white};
507
507
  border: none;
508
508
  }
509
- `,Pa=Ve.div`
509
+ `,ja=Ve.div`
510
510
  display: flex;
511
511
  width: 100%;
512
512
  height: 36px;
@@ -524,13 +524,13 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
524
524
  border: 1px solid ${e=>e.theme.colors.gray200};
525
525
  height: 0px;
526
526
  }
527
- `,$a=Ve.div`
527
+ `,Fa=Ve.div`
528
528
  width: 100%;
529
529
  height: 5px;
530
530
  align-self: center;
531
531
  border-radius: 4px;
532
532
  background-color: ${e=>e.theme.colors.gray200};
533
- `,Ma=Ve.div`
533
+ `,Ha=Ve.div`
534
534
  position: absolute;
535
535
  top: 32px;
536
536
  min-width: 100px;
@@ -542,10 +542,10 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
542
542
  &[data-step-passed='true'] {
543
543
  color: ${e=>e.theme.colors.gray800};
544
544
  }
545
- `,Oa=Ve.div`
545
+ `,Ra=Ve.div`
546
546
  display: flex;
547
547
  align-items: center;
548
- `,ja=Ve.div`
548
+ `,Ua=Ve.div`
549
549
  display: flex;
550
550
  align-items: center;
551
551
  font-size: ${e=>e.theme.sizes.fsCaption2};
@@ -566,7 +566,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
566
566
  &[data-selected='true'] {
567
567
  color: ${e=>e.theme.colors.primaryBase};
568
568
  }
569
- `,Fa=Ve.div`
569
+ `,Va=Ve.div`
570
570
  position: absolute;
571
571
  left: 0;
572
572
  top: 19px;
@@ -579,7 +579,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
579
579
 
580
580
  padding: 8px;
581
581
  background-color: ${e=>e.theme.colors.white};
582
- `,Ha=Ve.div`
582
+ `,Wa=Ve.div`
583
583
  min-width: 24px;
584
584
  height: 24px;
585
585
  border: 2px solid ${e=>e.theme.colors.white};
@@ -599,7 +599,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
599
599
  background-color: ${e=>e.theme.colors.primaryBase};
600
600
  color: ${e=>e.theme.colors.white};
601
601
  }
602
- `,Ra=Ve.div`
602
+ `,Ga=Ve.div`
603
603
  display: flex;
604
604
  align-items: center;
605
605
  justify-content: center;
@@ -613,7 +613,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
613
613
  stroke: ${e=>e.theme.colors.gray500};
614
614
  }
615
615
  }
616
- `,Ua=Ve.div`
616
+ `,qa=Ve.div`
617
617
  color: ${e=>e.theme.colors.gray400};
618
618
  font-size: ${e=>e.theme.sizes.fsCaption2};
619
619
  font-weight: ${e=>e.theme.sizes.fwBold};
@@ -623,13 +623,13 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
623
623
  &[data-step-passed='true'] {
624
624
  color: ${e=>e.theme.colors.gray800};
625
625
  }
626
- `,Va=Ve.div`
626
+ `,Za=Ve.div`
627
627
  position: absolute;
628
628
  top: 32px;
629
629
  font-weight: ${e=>e.theme.sizes.fwRegular};
630
630
  color: ${e=>e.theme.colors.gray400};
631
631
  padding-right: 16px;
632
- `,Wa=({type:a,numberOfStep:n,activeStep:r,labelPrefix:o,detailSteps:s,className:c,onChange:d})=>{const[m,p]=t(0),h=t=>{var{trackClassName:a}=t,n=se(t,["trackClassName"]);return e.createElement(Pa,Object.assign({},n,{className:a}),e.createElement($a,null))},u=e.createElement(Aa,{className:c+" progress-bar"},e.createElement(h,null),e.createElement((({trackLength:t,activeStep:a,labelPrefix:i="Step",onChange:r})=>e.createElement(e.Fragment,null,Array.from({length:n},((e,t)=>t)).map(((o,l)=>e.createElement(La,{"data-is-active":l===a,"data-label":l,style:{left:l*t/(n-1)},onClick:()=>{r&&r(l)},key:l},l+1,e.createElement(Ma,{"data-step-passed":l<=a},i+" "+(l+1))))))),{trackLength:m,activeStep:r,labelPrefix:o,onChange:d})),g=e.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},e.createElement("title",null,"chevron-right"),e.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),b=e.createElement(Oa,null,s&&Array.from({length:s.length},((e,t)=>t)).map(((t,a)=>{var n;return e.createElement(ja,{key:a,"data-selected":a===r,onClick:()=>{d&&d(a)}},null===(n=s[a])||void 0===n?void 0:n.text," ",a<s.length-1&&g)}))),f=e.createElement(Aa,{className:c+" progress-bar"},e.createElement((({detailSteps:t,activeStep:a,onChange:n})=>e.createElement(e.Fragment,null,Array.from({length:t.length},((e,t)=>t)).map(((i,r)=>e.createElement(Fa,{key:r,style:{left:100/t.length*r+"%",width:100/t.length+"%"},onClick:()=>{n&&n(r)}},t[r].icon?e.createElement(Ra,{onClick:()=>{n&&n(r)}},t[r].icon):e.createElement(Ha,{"data-is-active":r===a,"data-label":i,onClick:()=>{n&&n(r)},key:r},r+1),e.createElement(Ua,{"data-step-passed":r<a+1},t[r].text,e.createElement(Va,null,t[r].description)),r<t.length-1&&e.createElement(h,{"data-step-passed":r<a,trackClassName:"progress-track","data-track-type":"detail"})))))),{activeStep:r,detailSteps:s,onChange:d})),v=l(Ye((()=>{const e=document.querySelector(".progress-bar");e&&p(e.offsetWidth)}),1e3),[]);return i((()=>{const e=document.querySelector(".progress-bar");return p(null==e?void 0:e.offsetWidth),window.addEventListener("resize",v,{passive:!0}),()=>{window.removeEventListener("resize",v)}}),[]),"step-track"===a&&u||"breadcrumb"===a&&b||"detail-track"===a&&f},Ga=Ve.div`
632
+ `,Ya=({type:a,numberOfStep:n,activeStep:r,labelPrefix:o,detailSteps:s,className:c,onChange:d})=>{const[m,p]=t(0),h=t=>{var{trackClassName:a}=t,n=se(t,["trackClassName"]);return e.createElement(ja,Object.assign({},n,{className:a}),e.createElement(Fa,null))},u=e.createElement(Ma,{className:c+" progress-bar"},e.createElement(h,null),e.createElement((({trackLength:t,activeStep:a,labelPrefix:i="Step",onChange:r})=>e.createElement(e.Fragment,null,Array.from({length:n},((e,t)=>t)).map(((o,l)=>e.createElement(Oa,{"data-is-active":l===a,"data-label":l,style:{left:l*t/(n-1)},onClick:()=>{r&&r(l)},key:l},l+1,e.createElement(Ha,{"data-step-passed":l<=a},i+" "+(l+1))))))),{trackLength:m,activeStep:r,labelPrefix:o,onChange:d})),g=e.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 5.5 9.5"},e.createElement("title",null,"chevron-right"),e.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),b=e.createElement(Ra,null,s&&Array.from({length:s.length},((e,t)=>t)).map(((t,a)=>{var n;return e.createElement(Ua,{key:a,"data-selected":a===r,onClick:()=>{d&&d(a)}},null===(n=s[a])||void 0===n?void 0:n.text," ",a<s.length-1&&g)}))),f=e.createElement(Ma,{className:c+" progress-bar"},e.createElement((({detailSteps:t,activeStep:a,onChange:n})=>e.createElement(e.Fragment,null,Array.from({length:t.length},((e,t)=>t)).map(((i,r)=>e.createElement(Va,{key:r,style:{left:100/t.length*r+"%",width:100/t.length+"%"},onClick:()=>{n&&n(r)}},t[r].icon?e.createElement(Ga,{onClick:()=>{n&&n(r)}},t[r].icon):e.createElement(Wa,{"data-is-active":r===a,"data-label":i,onClick:()=>{n&&n(r)},key:r},r+1),e.createElement(qa,{"data-step-passed":r<a+1},t[r].text,e.createElement(Za,null,t[r].description)),r<t.length-1&&e.createElement(h,{"data-step-passed":r<a,trackClassName:"progress-track","data-track-type":"detail"})))))),{activeStep:r,detailSteps:s,onChange:d})),v=l(Ye((()=>{const e=document.querySelector(".progress-bar");e&&p(e.offsetWidth)}),1e3),[]);return i((()=>{const e=document.querySelector(".progress-bar");return p(null==e?void 0:e.offsetWidth),window.addEventListener("resize",v,{passive:!0}),()=>{window.removeEventListener("resize",v)}}),[]),"step-track"===a&&u||"breadcrumb"===a&&b||"detail-track"===a&&f},Xa=Ve.div`
633
633
  display: flex;
634
634
 
635
635
  &[data-direction='vertical'] {
@@ -701,7 +701,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
701
701
  }
702
702
  }
703
703
  }
704
- `,qa=e.forwardRef((({id:a,value:n,options:i,className:o,type:l="circle",isDisabled:c,size:d="small",direction:m="vertical",group:p="group1",onChange:h,dataEventCategory:u,dataEventAction:g,dataEventLabel:b},f)=>{const[v,y]=t(n);s(f,(()=>({reset(){y(n)}})));const x=e=>{y(e),h&&h(e)};return e.createElement(Ga,{className:o,"data-direction":m,"data-group":p},i.map((t=>{const n=v===t.value;return e.createElement(r,{key:`${a}-${t.value}`},e.createElement(Xt,{type:l,size:d,label:t.label,name:a,checked:n,value:t.value,isDisabled:c,onChange:!c&&x,dataEventCategory:u,dataEventAction:g,dataEventLabel:b}),n&&t.renderActivated&&t.renderActivated())})))})),Za=Ve.div`
704
+ `,Ka=e.forwardRef((({id:a,value:n,options:i,className:o,type:l="circle",isDisabled:c,size:d="small",direction:m="vertical",group:p="group1",onChange:h,dataEventCategory:u,dataEventAction:g,dataEventLabel:b},f)=>{const[v,y]=t(n);s(f,(()=>({reset(){y(n)}})));const x=e=>{y(e),h&&h(e)};return e.createElement(Xa,{className:o,"data-direction":m,"data-group":p},i.map((t=>{const n=v===t.value;return e.createElement(r,{key:`${a}-${t.value}`},e.createElement(ea,{type:l,size:d,label:t.label,name:a,checked:n,value:t.value,isDisabled:c,onChange:!c&&x,dataEventCategory:u,dataEventAction:g,dataEventLabel:b}),n&&t.renderActivated&&t.renderActivated())})))})),Ja=Ve.div`
705
705
  --menu-width: 240px;
706
706
  --menu-spacing: 28px 16px;
707
707
  width: var(--menu-width);
@@ -714,7 +714,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
714
714
  --menu-width: 64px;
715
715
  --menu-spacing: 28px 8px;
716
716
  }
717
- `,Ya=Ve.div`
717
+ `,Qa=Ve.div`
718
718
  display: flex;
719
719
  align-items: baseline;
720
720
  justify-content: space-between;
@@ -722,12 +722,12 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
722
722
  svg {
723
723
  transition: 0.4s ease-in-out;
724
724
  }
725
- `,Xa=Ve.div`
725
+ `,en=Ve.div`
726
726
  cursor: pointer;
727
727
  &[data-is-collapsed] {
728
728
  transform: rotate(180deg);
729
729
  }
730
- `,Ka=Ve.figure`
730
+ `,tn=Ve.figure`
731
731
  display: flex;
732
732
 
733
733
  > img,
@@ -745,7 +745,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
745
745
  margin-top: 2px;
746
746
  }
747
747
  }
748
- `,Ja=({name:t,description:a,image:n,isDescriptionHidden:i})=>e.createElement(Ka,null,n,!i&&e.createElement("figcaption",null,e.createElement(p,{size:"p4",weight:"bold"},t),e.createElement(p,{size:"p4"},a))),Qa=Ve.div`
748
+ `,an=({name:t,description:a,image:n,isDescriptionHidden:i})=>e.createElement(tn,null,n,!i&&e.createElement("figcaption",null,e.createElement(p,{size:"p4",weight:"bold"},t),e.createElement(p,{size:"p4"},a))),nn=Ve.div`
749
749
  display: flex;
750
750
  align-items: center;
751
751
  margin-top: 24px;
@@ -761,7 +761,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
761
761
  max-height: 2rem;
762
762
  }
763
763
  }
764
- `,en=Ve.div`
764
+ `,rn=Ve.div`
765
765
  display: flex;
766
766
  align-items: center;
767
767
  padding: 9px 21px;
@@ -785,7 +785,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
785
785
  margin-right: -14px;
786
786
  margin-left: -14px;
787
787
  }
788
- `;var tn=Object.freeze({__proto__:null,SideMenu:({isCollapsed:t,className:a,style:n,children:i})=>e.createElement(Za,{style:n,className:a,"data-is-collapsed":t||void 0},i),SideHeader:({isCollapsed:t,defaultLogo:a,onBackClick:n,customIcon:i})=>e.createElement(Ya,null,e.createElement(Xe,{type:t?"logomark":a||"hellocare",customSize:{width:t?"24px":"77px",height:"24px"}}),e.createElement(Xa,{"data-is-collapsed":t||void 0,onClick:n},i||e.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 20 20",width:"20px",height:"20px"},e.createElement("path",{d:"M10 .75A9.25 9.25 0 1019.25 10 9.25 9.25 0 0010 .75z",fill:"none",stroke:"#d2d6dc",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),e.createElement("path",{d:"M11.44 6.53L8 10l3.48 3.47",fill:"none",stroke:"#737373",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})))),UserInfo:({isCollapsed:t,userName:a,role:n,avatar:i})=>e.createElement(Qa,{"data-is-collapsed":t||void 0},e.createElement(Ja,{image:i,name:a,description:n,isDescriptionHidden:t})),MenuLink:({icon:t,isActive:a,children:n,isCollapsed:i,activeIcon:r,onLinkClick:o,textSize:l="base",textType:s="bold",textColorActive:c="#fff",textColor:d="#595959"})=>e.createElement(en,{"data-is-link-active":a||void 0,onClick:o,"data-is-link-collapsed":i||void 0},a&&r?r:t,!i&&e.createElement(p,{size:l,weight:s,color:a?c:d},n))});const an=Ve.div`
788
+ `;var on=Object.freeze({__proto__:null,SideMenu:({isCollapsed:t,className:a,style:n,children:i})=>e.createElement(Ja,{style:n,className:a,"data-is-collapsed":t||void 0},i),SideHeader:({isCollapsed:t,defaultLogo:a,onBackClick:n,customIcon:i})=>e.createElement(Qa,null,e.createElement(Xe,{type:t?"logomark":a||"hellocare",customSize:{width:t?"24px":"77px",height:"24px"}}),e.createElement(en,{"data-is-collapsed":t||void 0,onClick:n},i||e.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 20 20",width:"20px",height:"20px"},e.createElement("path",{d:"M10 .75A9.25 9.25 0 1019.25 10 9.25 9.25 0 0010 .75z",fill:"none",stroke:"#d2d6dc",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),e.createElement("path",{d:"M11.44 6.53L8 10l3.48 3.47",fill:"none",stroke:"#737373",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})))),UserInfo:({isCollapsed:t,userName:a,role:n,avatar:i})=>e.createElement(nn,{"data-is-collapsed":t||void 0},e.createElement(an,{image:i,name:a,description:n,isDescriptionHidden:t})),MenuLink:({icon:t,isActive:a,children:n,isCollapsed:i,activeIcon:r,onLinkClick:o,textSize:l="base",textType:s="bold",textColorActive:c="#fff",textColor:d="#595959"})=>e.createElement(rn,{"data-is-link-active":a||void 0,onClick:o,"data-is-link-collapsed":i||void 0},a&&r?r:t,!i&&e.createElement(p,{size:l,weight:s,color:a?c:d},n))});const ln=Ve.div`
789
789
  position: relative;
790
790
  width: 100%;
791
791
  > .container {
@@ -920,22 +920,22 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
920
920
  max-width: 100%;
921
921
  }
922
922
  }
923
- `,nn=({status:t})=>"inActive"===t?e.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})):"active"===t?e.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"6",cy:"6",r:"4",fill:"#2D87F3"}),e.createElement("circle",{cx:"6",cy:"6",r:"5.5",stroke:"#2D87F3"})):"done"===t?e.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12Z",fill:"#00B16A"}),e.createElement("path",{d:"M8.76061 4.20029L4.80061 7.80029L3.00061 6.16392",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})):e.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})),rn=({row:n=2,column:r=3,isDotsShown:o=!0,isImageGalleryShown:l=!1,mode:s="infinity",type:c="separated",distanceOverlappedLeft:d={amount:0,unit:"pixel"},children:m,className:p,isProgressShown:h=!1,statusChildren:u,isArrowShown:g=!1,classNameLeftArrow:b,classNameRightArrow:f,dataEventCategory:v,dataEventAction:y,dataEventLabel:x,onChangePage:w,page:E,customPageWidth:k,scheme:C="hellosites",arrowType:S="Discover"})=>{const N="number"==typeof E,[B,T]=t(N?E:0),D=[];e.Children.map(m,((t,a)=>{a%(n*r)==0&&D.push([]),D[D.length-1].push(e.cloneElement(t))}));const I=a(),_=a(0),z=e=>{if(!I.current)return;const{clientWidth:t}=I.current,a=k||t,n="intertwined"===c?"percentage"===d.unit?e*a+d.amount/100*a*e:e*a+d.amount*a*e:e*a;I.current.scrollTo({top:0,left:n,behavior:"smooth"}),_.current=e,T(e),w&&w(e)};i((()=>{"number"==typeof E&&(e=>{if(!I.current)return;const{clientWidth:t}=I.current,a=k||t,n="intertwined"===c?"percentage"===d.unit?e*a+d.amount/100*a*e:e*a+d.amount*a*e:e*a;I.current.scrollTo({top:0,left:n,behavior:"smooth"}),_.current=e,T(e)})(E)}),[E]);const A=e=>{if(!I.current)return;const{clientWidth:t}=I.current,a=k||t;let n;n=0===B?0:B*a,"forward"===e&&(n===a*(D.length-1)?(T(D.length-1),n=a*(D.length-1),w&&w(D.length-1)):(T(B+1),n+=a,w&&w(B+1)),I.current.scrollTo({top:0,left:n,behavior:"smooth"})),"back"===e&&(0===n?(T(0),w&&w(0),n=0):(T(B-1),w&&w(B-1),n-=a),I.current.scrollTo({top:0,left:n,behavior:"smooth"}))},L=Ye((()=>{if("infinity"===s){if(!I.current)return;const{clientWidth:e,scrollLeft:t}=I.current,a=k||e,n=Math.floor(t/a);T(n),w&&w(n)}}),400);return i((()=>{if("snapped"===s){let e,t,a,n,i,r,o=!1;const l=I.current,s=(r,s)=>{o=!0,a=!1,n=!1,e=r-l.offsetLeft,t=s-l.offsetTop,i=l.scrollLeft},m=e=>{s(e.pageX,e.pageY)},p=e=>{s(e.touches[0].pageX,e.touches[0].pageY)},h=()=>{if(o=!1,a=!1,n=!1,!I.current)return;const{clientWidth:e}=I.current,t=k||e,i="ltr"===r?0!==_.current?_.current-1:_.current:"rtl"===r&&_.current<D.length-1?_.current+1:_.current,l="intertwined"===c?"percentage"===d.unit?i*t+d.amount/100*t*i:i*t+d.amount*t*i:i*t;I.current.scrollTo({top:0,left:l,behavior:"smooth"}),r="none",_.current!==i&&(_.current=i,T(i),w&&w(i))},u=(s,c)=>{if(!o)return;const d=s-l.offsetLeft,m=c-l.offsetTop,p=d-e,h=m-t;a||n||!(h>20||h<-20)||(a=!0),!a&&(p>20||p<-20)&&(n=!0,l.scrollLeft=i-p,p>0&&(r="ltr"),p<0&&(r="rtl"),0===p&&(r="none"))},g=e=>{n&&e.preventDefault(),u(e.pageX,e.pageY)},b=e=>{n&&e.preventDefault(),u(e.touches[0].pageX,e.touches[0].pageY)};return null==l||l.addEventListener("mousedown",m,{passive:!0}),null==l||l.addEventListener("touchstart",p,{passive:!0}),window.addEventListener("mouseup",h,{passive:!0}),window.addEventListener("touchend",h,{passive:!0}),null==l||l.addEventListener("mousemove",g,{passive:!0}),null==l||l.addEventListener("touchmove",b,{passive:!0}),()=>{null==l||l.removeEventListener("mousedown",m),null==l||l.removeEventListener("touchstart",p),window.removeEventListener("mouseup",h),window.removeEventListener("touchend",h),null==l||l.removeEventListener("mousemove",g),null==l||l.removeEventListener("touchmove",b)}}}),[]),e.createElement(an,{className:p,"data-row":n,onScroll:L},g&&B>0&&e.createElement("div",{className:`${b} arrow-left`,onClick:()=>A("back"),"data-event-category":v,"data-event-action":y,"data-event-label":x},"Care"===S?e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},e.createElement("g",{filter:"url(#filter0_dd_12599_34420)"},e.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3V3C31.8368 3 39.0002 10.1634 39.0002 19V19C39.0002 27.8366 31.8368 35 23.0002 35V35C14.1637 35 7.00024 27.8366 7.00024 19V19Z",fill:"white"}),e.createElement("path",{d:"M20.9293 19L24.7503 15.179C25.1643 14.765 25.1643 14.093 24.7503 13.679C24.3363 13.265 23.6643 13.265 23.2503 13.679L18.6363 18.293C18.2453 18.684 18.2453 19.317 18.6363 19.707L23.2503 24.321C23.6643 24.735 24.3363 24.735 24.7503 24.321C25.1643 23.907 25.1643 23.235 24.7503 22.821L20.9293 19Z",fill:"#595959"}),e.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_dd_12599_34420",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-2",dy:"2"}),e.createElement("feGaussianBlur",{stdDeviation:"2.5"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12599_34420"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-1",dy:"1"}),e.createElement("feGaussianBlur",{stdDeviation:"1"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),e.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12599_34420",result:"effect2_dropShadow_12599_34420"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12599_34420",result:"shape"})))):e.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===C?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M15.9997 11.1109L11.1108 15.9998L15.9997 20.8887",stroke:"hellosites"===C?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M20.8886 15.999L11.1108 15.999",stroke:"hellosites"===C?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),e.createElement("div",{ref:I,className:"container",style:{overflowX:"snapped"===s||g?"hidden":"scroll"}},D.map(((t,a)=>{let i=0;for(let e=0;e<a;e++)i+=D[e].length;return e.createElement("div",{key:a,className:"section",style:{marginLeft:"intertwined"===c&&0!==a?d.amount+""+("percentage"===d.unit?"%":"px"):"0px"}},1===n&&h&&e.createElement("div",{className:"progress-bar",style:{gridTemplateColumns:`repeat(${r}, 1fr)`}},t.map(((n,r)=>{const o=i+r,l=u.find((e=>e.index===o));return e.createElement("div",{className:"items-progress",key:r},0===r&&0===a?e.createElement("div",{className:"line",style:{visibility:"hidden"}}):e.createElement("div",{className:"line"}),e.createElement("div",{className:"icon-status"},e.createElement(nn,{status:null==l?void 0:l.status})),a===D.length-1&&r===t.length-1?e.createElement("div",{className:"line",style:{visibility:"hidden"}}):e.createElement("div",{className:"line"}))}))),e.createElement("div",{className:"grid-layout","data-index":a,style:{gridTemplateColumns:`repeat(${r}, 1fr)`,gridTemplateRows:`repeat(${n}, 1fr)`}},t.map(((t,a)=>e.createElement(e.Fragment,{key:a},e.createElement("div",{className:"item-grid",key:a},t))))))}))),g&&B<D.length-1&&e.createElement("div",{className:`${f} arrow-right`,onClick:()=>A("forward"),"data-event-category":v,"data-event-action":y,"data-event-label":x}," ","Care"===S?e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},e.createElement("g",{filter:"url(#filter0_dd_12597_34423)"},e.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3C31.8368 3 39.0002 10.1634 39.0002 19C39.0002 27.8366 31.8368 35 23.0002 35C14.1637 35 7.00024 27.8366 7.00024 19Z",fill:"white"}),e.createElement("path",{d:"M24.0712 19L20.2502 15.179C19.8362 14.765 19.8362 14.093 20.2502 13.679C20.6642 13.265 21.3362 13.265 21.7502 13.679L26.3642 18.293C26.7552 18.684 26.7552 19.317 26.3642 19.707L21.7502 24.321C21.3362 24.735 20.6642 24.735 20.2502 24.321C19.8362 23.907 19.8362 23.235 20.2502 22.821L24.0712 19Z",fill:"#595959"}),e.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_dd_12597_34423",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-2",dy:"2"}),e.createElement("feGaussianBlur",{stdDeviation:"2.5"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12597_34423"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-1",dy:"1"}),e.createElement("feGaussianBlur",{stdDeviation:"1"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),e.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12597_34423",result:"effect2_dropShadow_12597_34423"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12597_34423",result:"shape"})))):e.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===C?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M15.9998 20.8891L20.8887 16.0002L15.9998 11.1113",stroke:"hellosites"===C?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M11.1109 16L20.8887 16",stroke:"hellosites"===C?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o&&e.createElement("ul",{className:"bullet-nav"},D.map(((t,a)=>e.createElement("li",{key:a,className:"bullet-nav__item "},e.createElement("p",{onClick:()=>z(a),className:`bullet-nav__link scroll ${B==a?"active":null}`,"data-scheme":C}))))),l&&e.createElement("div",{className:"image-gallery-wrapper","data-test":D.length},D.slice(0,3).map(((t,a)=>e.createElement("div",{className:`image-block ${B==a?"active":null}`,key:a,onClick:()=>z(a),"data-scheme":C},t)))))},on=Ve.div`
923
+ `,sn=({status:t})=>"inActive"===t?e.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none"},e.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})):"active"===t?e.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},e.createElement("circle",{cx:"6",cy:"6",r:"4",fill:"#2D87F3"}),e.createElement("circle",{cx:"6",cy:"6",r:"5.5",stroke:"#2D87F3"})):"done"===t?e.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},e.createElement("path",{d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12Z",fill:"#00B16A"}),e.createElement("path",{d:"M8.76061 4.20029L4.80061 7.80029L3.00061 6.16392",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})):e.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none"},e.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})),cn=({row:n=2,column:r=3,isDotsShown:o=!0,isImageGalleryShown:l=!1,mode:s="infinity",type:c="separated",distanceOverlappedLeft:d={amount:0,unit:"pixel"},children:m,className:p,isProgressShown:h=!1,statusChildren:u,isArrowShown:g=!1,classNameLeftArrow:b,classNameRightArrow:f,dataEventCategory:v,dataEventAction:y,dataEventLabel:x,onChangePage:w,page:E,customPageWidth:k,scheme:C="hellosites",arrowType:S="Discover"})=>{const N="number"==typeof E,[B,T]=t(N?E:0),D=[];e.Children.map(m,((t,a)=>{a%(n*r)==0&&D.push([]),D[D.length-1].push(e.cloneElement(t))}));const I=a(),z=a(0),_=e=>{if(!I.current)return;const{clientWidth:t}=I.current,a=k||t,n="intertwined"===c?"percentage"===d.unit?e*a+d.amount/100*a*e:e*a+d.amount*a*e:e*a;I.current.scrollTo({top:0,left:n,behavior:"smooth"}),z.current=e,T(e),w&&w(e)};i((()=>{"number"==typeof E&&(e=>{if(!I.current)return;const{clientWidth:t}=I.current,a=k||t,n="intertwined"===c?"percentage"===d.unit?e*a+d.amount/100*a*e:e*a+d.amount*a*e:e*a;I.current.scrollTo({top:0,left:n,behavior:"smooth"}),z.current=e,T(e)})(E)}),[E]);const A=e=>{if(!I.current)return;const{clientWidth:t}=I.current,a=k||t;let n;n=0===B?0:B*a,"forward"===e&&(n===a*(D.length-1)?(T(D.length-1),n=a*(D.length-1),w&&w(D.length-1)):(T(B+1),n+=a,w&&w(B+1)),I.current.scrollTo({top:0,left:n,behavior:"smooth"})),"back"===e&&(0===n?(T(0),w&&w(0),n=0):(T(B-1),w&&w(B-1),n-=a),I.current.scrollTo({top:0,left:n,behavior:"smooth"}))},L=Ye((()=>{if("infinity"===s){if(!I.current)return;const{clientWidth:e,scrollLeft:t}=I.current,a=k||e,n=Math.floor(t/a);T(n),w&&w(n)}}),400);return i((()=>{if("snapped"===s){let e,t,a,n,i,r,o=!1;const l=I.current,s=(r,s)=>{o=!0,a=!1,n=!1,e=r-l.offsetLeft,t=s-l.offsetTop,i=l.scrollLeft},m=e=>{s(e.pageX,e.pageY)},p=e=>{s(e.touches[0].pageX,e.touches[0].pageY)},h=()=>{if(o=!1,a=!1,n=!1,!I.current)return;const{clientWidth:e}=I.current,t=k||e,i="ltr"===r?0!==z.current?z.current-1:z.current:"rtl"===r&&z.current<D.length-1?z.current+1:z.current,l="intertwined"===c?"percentage"===d.unit?i*t+d.amount/100*t*i:i*t+d.amount*t*i:i*t;I.current.scrollTo({top:0,left:l,behavior:"smooth"}),r="none",z.current!==i&&(z.current=i,T(i),w&&w(i))},u=(s,c)=>{if(!o)return;const d=s-l.offsetLeft,m=c-l.offsetTop,p=d-e,h=m-t;a||n||!(h>20||h<-20)||(a=!0),!a&&(p>20||p<-20)&&(n=!0,l.scrollLeft=i-p,p>0&&(r="ltr"),p<0&&(r="rtl"),0===p&&(r="none"))},g=e=>{n&&e.preventDefault(),u(e.pageX,e.pageY)},b=e=>{n&&e.preventDefault(),u(e.touches[0].pageX,e.touches[0].pageY)};return null==l||l.addEventListener("mousedown",m,{passive:!0}),null==l||l.addEventListener("touchstart",p,{passive:!0}),window.addEventListener("mouseup",h,{passive:!0}),window.addEventListener("touchend",h,{passive:!0}),null==l||l.addEventListener("mousemove",g,{passive:!0}),null==l||l.addEventListener("touchmove",b,{passive:!0}),()=>{null==l||l.removeEventListener("mousedown",m),null==l||l.removeEventListener("touchstart",p),window.removeEventListener("mouseup",h),window.removeEventListener("touchend",h),null==l||l.removeEventListener("mousemove",g),null==l||l.removeEventListener("touchmove",b)}}}),[]),e.createElement(ln,{className:p,"data-row":n,onScroll:L},g&&B>0&&e.createElement("div",{className:`${b} arrow-left`,onClick:()=>A("back"),"data-event-category":v,"data-event-action":y,"data-event-label":x},"Care"===S?e.createElement("svg",{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},e.createElement("g",{filter:"url(#filter0_dd_12599_34420)"},e.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3V3C31.8368 3 39.0002 10.1634 39.0002 19V19C39.0002 27.8366 31.8368 35 23.0002 35V35C14.1637 35 7.00024 27.8366 7.00024 19V19Z",fill:"white"}),e.createElement("path",{d:"M20.9293 19L24.7503 15.179C25.1643 14.765 25.1643 14.093 24.7503 13.679C24.3363 13.265 23.6643 13.265 23.2503 13.679L18.6363 18.293C18.2453 18.684 18.2453 19.317 18.6363 19.707L23.2503 24.321C23.6643 24.735 24.3363 24.735 24.7503 24.321C25.1643 23.907 25.1643 23.235 24.7503 22.821L20.9293 19Z",fill:"#595959"}),e.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_dd_12599_34420",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-2",dy:"2"}),e.createElement("feGaussianBlur",{stdDeviation:"2.5"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12599_34420"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-1",dy:"1"}),e.createElement("feGaussianBlur",{stdDeviation:"1"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),e.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12599_34420",result:"effect2_dropShadow_12599_34420"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12599_34420",result:"shape"})))):e.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},e.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===C?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M15.9997 11.1109L11.1108 15.9998L15.9997 20.8887",stroke:"hellosites"===C?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M20.8886 15.999L11.1108 15.999",stroke:"hellosites"===C?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),e.createElement("div",{ref:I,className:"container",style:{overflowX:"snapped"===s||g?"hidden":"scroll"}},D.map(((t,a)=>{let i=0;for(let e=0;e<a;e++)i+=D[e].length;return e.createElement("div",{key:a,className:"section",style:{marginLeft:"intertwined"===c&&0!==a?d.amount+""+("percentage"===d.unit?"%":"px"):"0px"}},1===n&&h&&e.createElement("div",{className:"progress-bar",style:{gridTemplateColumns:`repeat(${r}, 1fr)`}},t.map(((n,r)=>{const o=i+r,l=u.find((e=>e.index===o));return e.createElement("div",{className:"items-progress",key:r},0===r&&0===a?e.createElement("div",{className:"line",style:{visibility:"hidden"}}):e.createElement("div",{className:"line"}),e.createElement("div",{className:"icon-status"},e.createElement(sn,{status:null==l?void 0:l.status})),a===D.length-1&&r===t.length-1?e.createElement("div",{className:"line",style:{visibility:"hidden"}}):e.createElement("div",{className:"line"}))}))),e.createElement("div",{className:"grid-layout","data-index":a,style:{gridTemplateColumns:`repeat(${r}, 1fr)`,gridTemplateRows:`repeat(${n}, 1fr)`}},t.map(((t,a)=>e.createElement(e.Fragment,{key:a},e.createElement("div",{className:"item-grid",key:a},t))))))}))),g&&B<D.length-1&&e.createElement("div",{className:`${f} arrow-right`,onClick:()=>A("forward"),"data-event-category":v,"data-event-action":y,"data-event-label":x}," ","Care"===S?e.createElement("svg",{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},e.createElement("g",{filter:"url(#filter0_dd_12597_34423)"},e.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3C31.8368 3 39.0002 10.1634 39.0002 19C39.0002 27.8366 31.8368 35 23.0002 35C14.1637 35 7.00024 27.8366 7.00024 19Z",fill:"white"}),e.createElement("path",{d:"M24.0712 19L20.2502 15.179C19.8362 14.765 19.8362 14.093 20.2502 13.679C20.6642 13.265 21.3362 13.265 21.7502 13.679L26.3642 18.293C26.7552 18.684 26.7552 19.317 26.3642 19.707L21.7502 24.321C21.3362 24.735 20.6642 24.735 20.2502 24.321C19.8362 23.907 19.8362 23.235 20.2502 22.821L24.0712 19Z",fill:"#595959"}),e.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_dd_12597_34423",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-2",dy:"2"}),e.createElement("feGaussianBlur",{stdDeviation:"2.5"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12597_34423"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-1",dy:"1"}),e.createElement("feGaussianBlur",{stdDeviation:"1"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),e.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12597_34423",result:"effect2_dropShadow_12597_34423"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12597_34423",result:"shape"})))):e.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},e.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===C?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M15.9998 20.8891L20.8887 16.0002L15.9998 11.1113",stroke:"hellosites"===C?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M11.1109 16L20.8887 16",stroke:"hellosites"===C?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o&&e.createElement("ul",{className:"bullet-nav"},D.map(((t,a)=>e.createElement("li",{key:a,className:"bullet-nav__item "},e.createElement("p",{onClick:()=>_(a),className:`bullet-nav__link scroll ${B==a?"active":null}`,"data-scheme":C}))))),l&&e.createElement("div",{className:"image-gallery-wrapper","data-test":D.length},D.slice(0,3).map(((t,a)=>e.createElement("div",{className:`image-block ${B==a?"active":null}`,key:a,onClick:()=>_(a),"data-scheme":C},t)))))},dn=Ve.div`
924
924
  border-radius: ${e=>e.theme.borderRadius};
925
925
  ${e=>e["data-is-in-card"]&&`\n padding: 12px; \n background-color: ${e["data-card-color"]};`}
926
- `,ln=Ve.div`
926
+ `,mn=Ve.div`
927
927
  width: 13px;
928
928
  height: 13px;
929
929
  margin-right: 10px;
930
930
  background-color: ${e=>e["data-color"]};
931
931
  border-radius: 50%;
932
- `,sn=Ve.div`
932
+ `,pn=Ve.div`
933
933
  display: flex;
934
934
  align-items: center;
935
935
  color: ${e=>e.theme.colors.gray800};
936
936
  font-size: ${e=>e.theme.sizes.fsParagraph4};
937
937
  font-weight: ${e=>e.theme.sizes.fwRegular};
938
- `,cn=Ve.div`
938
+ `,hn=Ve.div`
939
939
  display: flex;
940
940
  align-items: center;
941
941
  margin-top: 4px;
@@ -954,12 +954,12 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
954
954
  font-size: ${e=>e.theme.sizes.fsParagraph4};
955
955
  font-weight: ${e=>e.theme.sizes.fwBold};
956
956
  }
957
- `,dn=({type:t,description:a,value:n,withIcon:i,isInACard:r,cardColor:o,className:l})=>e.createElement(on,{className:l,"data-size":t,"data-is-in-card":"big"===t&&r,"data-card-color":o},e.createElement(sn,null,"small"===t&&e.createElement(ln,{"data-color":o}),a),e.createElement(cn,{"data-size":t},"small"!==t&&i,n)),mn=Ve.table`
957
+ `,un=({type:t,description:a,value:n,withIcon:i,isInACard:r,cardColor:o,className:l})=>e.createElement(dn,{className:l,"data-size":t,"data-is-in-card":"big"===t&&r,"data-card-color":o},e.createElement(pn,null,"small"===t&&e.createElement(mn,{"data-color":o}),a),e.createElement(hn,{"data-size":t},"small"!==t&&i,n)),gn=Ve.table`
958
958
  --horizontal-spacing: ${e=>e.theme.horizontalPadding||"19px"};
959
959
  --vertical-spacing: ${e=>e.theme.verticalPadding||"26px"};
960
960
  width: 100%;
961
961
  position: relative;
962
- `,pn=Ve.td`
962
+ `,bn=Ve.td`
963
963
  padding: var(--vertical-spacing) var(--horizontal-spacing);
964
964
  vertical-align: middle;
965
965
 
@@ -972,13 +972,13 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
972
972
  &[data-text-align='center'] {
973
973
  text-align: center;
974
974
  }
975
- `,hn=Ve.tr`
975
+ `,fn=Ve.tr`
976
976
  border-bottom: 1px solid ${e=>e.theme.colors.gray100};
977
977
 
978
978
  &[data-is-active='true'] {
979
979
  background-color: ${e=>e.theme.colors.gray200};
980
980
  }
981
- `,un=({children:t,className:a,style:n,isActive:i,onRowClicked:r,rowId:o})=>e.createElement(hn,{className:a,"data-is-active":i,style:n,onClick:()=>{r&&r(o)}},t),gn=Ve.thead`
981
+ `,vn=({children:t,className:a,style:n,isActive:i,onRowClicked:r,rowId:o})=>e.createElement(fn,{className:a,"data-is-active":i,style:n,onClick:()=>{r&&r(o)}},t),yn=Ve.thead`
982
982
  th {
983
983
  padding: var(--vertical-spacing) var(--horizontal-spacing);
984
984
  text-align: left;
@@ -995,7 +995,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
995
995
  ${e=>e.theme.colors.gray200};
996
996
  }
997
997
  }
998
- `,bn=Ve.tbody`
998
+ `,xn=Ve.tbody`
999
999
  position: relative;
1000
1000
  &[data-is-striped] {
1001
1001
  > tr:nth-child(odd) {
@@ -1007,7 +1007,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1007
1007
  background-color: ${e=>e.theme.colors.neutral100};
1008
1008
  }
1009
1009
  }
1010
- `;var fn=Object.freeze({__proto__:null,Table:({children:t,className:a,style:n,horizontalPadding:i,verticalPadding:r})=>e.createElement(mn,{className:a,style:n,theme:{horizontalPadding:i,verticalPadding:r}},t),Cell:({children:t,className:a,style:n,textAlign:i,isTableHead:r})=>e.createElement(pn,{className:a,style:n,"data-text-align":i||"left",as:r?"th":"td"},t),Head:({isSticky:t,children:a,className:n,style:i})=>e.createElement(gn,{className:n,"data-is-sticky":t||void 0,style:i},e.createElement(un,null,a)),Row:un,Body:({children:t,className:a,style:n,isHoverable:i,isStriped:r})=>e.createElement(bn,{className:a,style:n,"data-is-striped":r||void 0,"data-is-hoverable":i||void 0},t)}),vn=be((e=>{const t=fe("itemLabel");return{root:{display:"inline-flex",maxWidth:"100%",borderBottom:`1px solid ${e.colors.neutral[1]}`,"-webkit-overflow-scrolling":"touch",overflowX:"auto",overflowY:"hidden","-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"},columnGap:e.spacing.lg},item:{display:"flex",alignItems:"center",paddingBottom:"4px","&:hover":{cursor:"pointer"},"&.active":{color:e.fn.primaryColor(),borderBottom:`3px solid ${e.fn.primaryColor()}`,bottom:"-1px",position:"relative",[`& .${t}`]:{}},"&[data-event-category] > *":{pointerEvents:"none"}},itemInner:{display:"flex",alignItems:"center"},label:{ref:t},icon:{marginRight:e.spacing.xs}}}));const yn=({style:a,initialTab:n,tabContent:r,onChange:o,className:l,dataEventCategory:s,dataEventAction:c,dataEventLabel:d,id:m,styles:h})=>{const{classes:u,cx:g,theme:b}=vn(void 0,{name:"Tabs",styles:h}),[f,v]=t(n||0);return i((()=>{v(n)}),[n]),e.createElement("ul",{style:a,className:g(u.root,l),role:"tablist",id:m},r.map(((t,a)=>e.createElement("li",{className:`${u.item} ${f===a?"active":""} ${t.className}`,"aria-selected":f===a,role:"tab",onClick:()=>{v(a),o&&o(a)},onKeyDown:e=>{"Enter"===e.key&&(v(a),o&&o(a))},key:a,"data-event-category":t.dataEventCategory||s,"data-event-action":t.dataEventAction||c,"data-event-label":t.dataEventLabel||d,tabIndex:0,"data-testid":t.dataTestid},e.createElement("div",{className:u.itemInner},t.icon&&e.createElement("div",{className:u.icon},t.icon),e.createElement(p,{className:u.label,size:t.textSize||"sm",weight:t.textType||"bold",color:f===a?b.fn.primaryColor():t.textColor||b.colors.gray[4],dataEventCategory:t.dataEventCategory,dataEventAction:t.dataEventAction,dataEventLabel:t.dataEventLabel},t.name))))))},xn=Ve.div`
1010
+ `;var wn=Object.freeze({__proto__:null,Table:({children:t,className:a,style:n,horizontalPadding:i,verticalPadding:r})=>e.createElement(gn,{className:a,style:n,theme:{horizontalPadding:i,verticalPadding:r}},t),Cell:({children:t,className:a,style:n,textAlign:i,isTableHead:r})=>e.createElement(bn,{className:a,style:n,"data-text-align":i||"left",as:r?"th":"td"},t),Head:({isSticky:t,children:a,className:n,style:i})=>e.createElement(yn,{className:n,"data-is-sticky":t||void 0,style:i},e.createElement(vn,null,a)),Row:vn,Body:({children:t,className:a,style:n,isHoverable:i,isStriped:r})=>e.createElement(xn,{className:a,style:n,"data-is-striped":r||void 0,"data-is-hoverable":i||void 0},t)}),En=be((e=>{const t=fe("itemLabel");return{root:{display:"inline-flex",maxWidth:"100%",borderBottom:`1px solid ${e.colors.neutral[1]}`,"-webkit-overflow-scrolling":"touch",overflowX:"auto",overflowY:"hidden","-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"},columnGap:e.spacing.lg},item:{display:"flex",alignItems:"center",paddingBottom:"4px","&:hover":{cursor:"pointer"},"&.active":{color:e.fn.primaryColor(),borderBottom:`3px solid ${e.fn.primaryColor()}`,bottom:"-1px",position:"relative",[`& .${t}`]:{}},"&[data-event-category] > *":{pointerEvents:"none"}},itemInner:{display:"flex",alignItems:"center"},label:{ref:t},icon:{marginRight:e.spacing.xs}}}));const kn=({style:a,initialTab:n,tabContent:r,onChange:o,className:l,dataEventCategory:s,dataEventAction:c,dataEventLabel:d,id:m,styles:h})=>{const{classes:u,cx:g,theme:b}=En(void 0,{name:"Tabs",styles:h}),[f,v]=t(n||0);return i((()=>{v(n)}),[n]),e.createElement("ul",{style:a,className:g(u.root,l),role:"tablist",id:m},r.map(((t,a)=>e.createElement("li",{className:`${u.item} ${f===a?"active":""} ${t.className}`,"aria-selected":f===a,role:"tab",onClick:()=>{v(a),o&&o(a)},onKeyDown:e=>{"Enter"===e.key&&(v(a),o&&o(a))},key:a,"data-event-category":t.dataEventCategory||s,"data-event-action":t.dataEventAction||c,"data-event-label":t.dataEventLabel||d,tabIndex:0,"data-testid":t.dataTestid},e.createElement("div",{className:u.itemInner},t.icon&&e.createElement("div",{className:u.icon},t.icon),e.createElement(p,{className:u.label,size:t.textSize||"sm",weight:t.textType||"bold",color:f===a?b.fn.primaryColor():t.textColor||b.colors.gray[4],dataEventCategory:t.dataEventCategory,dataEventAction:t.dataEventAction,dataEventLabel:t.dataEventLabel},t.name))))))},Cn=Ve.div`
1011
1011
  padding: 1rem;
1012
1012
  background: ${e=>e.theme.colors.neutral100};
1013
1013
  .survey-inner-wrapper {
@@ -1084,7 +1084,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1084
1084
  }
1085
1085
  }
1086
1086
  }
1087
- `,wn=Ve(S)`
1087
+ `,Sn=Ve(S)`
1088
1088
  &[data-type='circle'] {
1089
1089
  padding: 16px 20px;
1090
1090
  border: 0.5px solid transparent;
@@ -1136,7 +1136,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1136
1136
  }
1137
1137
  }
1138
1138
  }
1139
- `,En=Ve.div`
1139
+ `,Nn=Ve.div`
1140
1140
  position: relative;
1141
1141
  width: 100%;
1142
1142
  padding-top: min(400px, 100%);
@@ -1166,7 +1166,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1166
1166
  }
1167
1167
  }
1168
1168
  }
1169
- `,kn=Ve.div`
1169
+ `,Bn=Ve.div`
1170
1170
  .survey-question-text-wrapper {
1171
1171
  margin-bottom: 24px;
1172
1172
  .survey-question-title {
@@ -1216,7 +1216,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1216
1216
  }
1217
1217
  }
1218
1218
  }
1219
- `,Cn=({size:t="small",label:a,name:n,checked:i,value:r,className:o,isDisabled:l=!1,onChange:s,hasImage:c,inputType:d,image:m})=>e.createElement(wn,{"data-disabled":l,className:o,"data-type":"circle","data-size":t,"data-checked":i,onClick:()=>{s(r)},"data-has-image":c},c&&e.createElement("div",{className:"choice-image-wrapper"},m&&e.createElement("img",{src:m,loading:"lazy"})),e.createElement("label",{onClick:e=>{e.preventDefault()},htmlFor:`${n}-${r}`},a),e.createElement("input",{type:d,checked:i,name:n,id:`${n}-${r}`,value:r,readOnly:!0})),Sn=({question:a,description:n,onOptionsChange:r,onTextOptionsChange:o,style:l,className:s})=>{const{type:c,title:d,subtitle:m,image:h,textOptions:u,options:g,name:b,is_multi_select:f}=a,v=!!(null==g?void 0:g.some((e=>e.image))),[y,x]=t([]),[w,E]=t((()=>(null==u?void 0:u.slice())||[]));return i((()=>{r&&r(y.slice())}),[!!r,y]),i((()=>{o&&o(w)}),[!!o,w]),e.createElement(kn,{className:s,style:l},e.createElement("div",{className:"survey-question-text-wrapper"},d&&e.createElement(A,{"data-nosubtitle":!m,className:"survey-question-title",tag:"h4"},d),m&&e.createElement(p,{className:"survey-question-subtitle",size:"p2"},m),n&&e.createElement(p,{className:"survey-question-description",size:"p2"},n)),h&&e.createElement("img",{src:h,className:"survey-question-image",loading:"lazy"}),e.createElement("div",{className:"survey-question-answer-wrapper"},"radio"===c&&e.createElement("div",{"data-has-image":v,className:"survey-question-options-wrapper"},g.map((t=>{var a;return e.createElement(Cn,{inputType:"radio",label:t.label,name:b,key:`${b}-${t.value}`,checked:(null===(a=y[0])||void 0===a?void 0:a.value)===t.value,value:t.value,onChange:e=>{x([g.find((t=>t.value===e))])},className:"survey-question-option-item",image:t.image,hasImage:v})}))),"checkbox"===c&&e.createElement("div",{"data-has-image":v,className:"survey-question-options-wrapper"},g.map((t=>e.createElement(Cn,{inputType:"checkbox",label:t.label,name:b,key:`${b}-${t.value}`,checked:!!y.find((e=>e.value===t.value)),value:t.value,onChange:()=>{const e=y.findIndex((e=>e.value===t.value));x(e>=0?t=>(t.splice(e,1),t.slice()):f?e=>e.concat(t).slice():[t])},className:"survey-question-option-item survey-option-radio",image:t.image,hasImage:v})))),"textbox"===c&&w.map(((t,a)=>t.isTextArea?e.createElement(L,{key:a,placeholder:t.placeholder,height:"150px",value:t.value,onChange:e=>E((t=>(t[a].value=e,t.slice())))}):e.createElement(Je,{key:a,value:t.value,name:t.name,size:"md",className:"survey-contact-input",label:t.label,placeholder:t.placeholder,onChange:e=>{E((t=>(t[a].value=e,t.slice())))},type:t.type})))))};var Nn;!function(e){e[e.UNLIMITED=0]="UNLIMITED",e[e.EXACT_NUMBER=1]="EXACT_NUMBER",e[e.RANGE=2]="RANGE"}(Nn||(Nn={}));const Bn=({className:n,headerText:i,style:r,question:o,termAndPolicyText:l,prevText:s,nextText:c,isContactForm:d,isDisableNext:m,isDisablePrev:h,onPrevClick:u,onNextClick:g,isSubmitButton:b,isButtonCenter:f,progress:v,descriptionText:y})=>{var x,w,E;const[k,C]=t([]),{is_multi_select:S,multi_select_option:N,from:B,to:T}=o,D=null==o?void 0:o.type,I="checkbox"===D&&(null===(x=o.options)||void 0===x?void 0:x.length)&&(!k||0===k.length||S&&N===Nn.RANGE&&(k.length<B||k.length>T)||S&&N===Nn.EXACT_NUMBER&&k.length!==B)||"radio"===D&&(null===(w=o.options)||void 0===w?void 0:w.length)&&(!k||0===k.length)||"textbox"===D&&(null===(E=o.textOptions)||void 0===E?void 0:E.length)&&(k.length<o.textOptions.length||k.some((e=>!e.value))),_="number"==typeof v?v>1?1:v<0?0:Number(v.toFixed(2)):-1,z=a(null),A=()=>"textbox"!==D||z.current.reportValidity();return e.createElement(xn,{className:n,style:r},e.createElement("div",{className:"survey-inner-wrapper"},i&&e.createElement("div",{className:"survey-header"},e.createElement(p,{className:"survey-header-text",size:"c2"},i)),e.createElement("form",{ref:z,onSubmit:e=>e.preventDefault()},e.createElement(Sn,{question:o,description:y,onOptionsChange:e=>{C(e)},onTextOptionsChange:e=>{C(e)}})),d&&c&&e.createElement(Ke,{className:"survey-contact-submit",size:"lg",isDisabled:m||I,onClick:()=>A()&&g&&g(k)},c),l&&e.createElement("div",{className:"term-policy-container"},l),"number"==typeof v&&e.createElement("div",{className:"survey-progress-wrapper"},e.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${_})`}})),(s||c)&&e.createElement("div",{"data-center":f,className:"survey-button-wrapper"},s&&e.createElement(Ke,{className:"survey-prev-button",size:"lg",color:h?"primary":"secondary",isDisabled:h,icon:e.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:h?"#fff":"#2D87F3"})),onClick:u},s),!d&&c&&e.createElement(Ke,{onClick:()=>A()&&g&&g(k),className:"survey-next-button",size:"lg",isDisabled:m||I},c," ",b?void 0:e.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))},Tn=({thankyou:t,thankyouSubtitle:a,className:n,style:i})=>e.createElement(xn,{className:n,style:i},e.createElement("div",{className:"survey-inner-wrapper"},e.createElement(En,null,e.createElement("div",{className:"survey-thankyou-wrapper-inner"},e.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},e.createElement("path",{d:"M61.5 122c33.137 0 60-26.863 60-60S94.637 2 61.5 2s-60 26.863-60 60 26.863 60 60 60Z",fill:le.colors.primary50}),e.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),e.createElement("path",{d:"M82.905 72.666H101.5L87.597 40H35.403L21.5 72.666h18.595V91H83.08l-.174-18.334Z",fill:"#2C74DF"}),e.createElement("path",{d:"M74.4 15H39.863a5.364 5.364 0 0 0-5.363 5.363v52.214a5.364 5.364 0 0 0 5.363 5.363h43.273a5.364 5.364 0 0 0 5.363-5.363V21a6 6 0 0 0-6-6H74.4Z",fill:"#fff"}),e.createElement("path",{d:"M88.853 80.108H34.147a4.055 4.055 0 0 1-4.087-4.074v-10.65c0-2.27 1.81-4.074 4.087-4.074h54.706a4.055 4.055 0 0 1 4.087 4.074v10.65c0 2.27-1.81 4.074-4.087 4.074Z",fill:"#E4E8EC"}),e.createElement("path",{d:"M90.838 85.451H32.162a4.055 4.055 0 0 1-4.087-4.074v-10.65c0-2.27 1.81-4.074 4.087-4.074H90.78a4.055 4.055 0 0 1 4.087 4.074v10.65c.058 2.27-1.81 4.074-4.029 4.074Z",fill:"#fff"}),e.createElement("path",{d:"M103.748 75.492v30.263c0 1.92-1.576 3.492-3.503 3.492H23.003c-1.927 0-3.503-1.572-3.503-3.492V75.492c0-1.92 1.576-3.492 3.503-3.492h19.384c1.926 0 3.503 1.571 3.503 3.492v5.354c0 .35.233.582.584.582h30.3c.351 0 .585-.233.585-.582v-5.354c0-1.92 1.576-3.492 3.503-3.492h19.383c1.927 0 3.503 1.571 3.503 3.492Z",fill:"#45A4FF"}),e.createElement("path",{stroke:"#2C74DF",d:"M51.954 91.377v3.084c0 1.63 1.285 2.91 2.92 2.91h12.844c1.635 0 2.92-1.28 2.92-2.91v-3.084"}),e.createElement("path",{d:"M120.5 38.025c-2-.246-3.25 1.352-2.375 3.195l.25.737c.75 1.844-.375 3.441-2.375 3.195l-.75-.123c-2-.245-3.25 1.352-2.375 3.195l.375.738c.75 1.843-.375 3.44-2.375 3.195l-.75-.123c-1.5-.123-2.625.737-2.625 1.966",stroke:"#FE921D"}),e.createElement("path",{d:"M1.533 62c-.269 1.413 1.142 2.337 2.82 1.848l.672-.218c1.678-.543 3.089.38 2.82 1.848l-.134.544c-.269 1.413 1.141 2.337 2.82 1.848l.671-.218c1.68-.543 3.09.38 2.82 1.848l-.134.543c-.201 1.087.538 1.848 1.612 1.957M118 92a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM82 3.187l1.188 4.348 4.347-1.188L86.347 2 82 3.187Z",stroke:"#00B16A"}),e.createElement("path",{stroke:"#FE921D",d:"M17 28a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),e.createElement("path",{d:"M61.5 26.667c-7.364 0-13.333 5.97-13.333 13.333 0 7.364 5.969 13.333 13.333 13.333S74.833 47.364 74.833 40 68.864 26.667 61.5 26.667Zm7.61 10.276-9.334 9.333a1.33 1.33 0 0 1-1.885 0l-4-4a1.332 1.332 0 1 1 1.885-1.885l3.057 3.057 8.391-8.39a1.332 1.332 0 1 1 1.885 1.885Z",fill:"#00CB8A"})),t&&e.createElement(A,{className:"survey-thankyou-title",tag:"h3"},t),a&&e.createElement(p,{className:"survey-thankyou-subtitle",size:"p3"},a))))),Dn=200,In=Ve.div``,_n=Ve.div`
1219
+ `,Tn=({size:t="small",label:a,name:n,checked:i,value:r,className:o,isDisabled:l=!1,onChange:s,hasImage:c,inputType:d,image:m})=>e.createElement(Sn,{"data-disabled":l,className:o,"data-type":"circle","data-size":t,"data-checked":i,onClick:()=>{s(r)},"data-has-image":c},c&&e.createElement("div",{className:"choice-image-wrapper"},m&&e.createElement("img",{src:m,loading:"lazy"})),e.createElement("label",{onClick:e=>{e.preventDefault()},htmlFor:`${n}-${r}`},a),e.createElement("input",{type:d,checked:i,name:n,id:`${n}-${r}`,value:r,readOnly:!0})),Dn=({question:a,description:n,onOptionsChange:r,onTextOptionsChange:o,style:l,className:s})=>{const{type:c,title:d,subtitle:m,image:h,textOptions:u,options:g,name:b,is_multi_select:f}=a,v=!!(null==g?void 0:g.some((e=>e.image))),[y,x]=t([]),[w,E]=t((()=>(null==u?void 0:u.slice())||[]));return i((()=>{r&&r(y.slice())}),[!!r,y]),i((()=>{o&&o(w)}),[!!o,w]),e.createElement(Bn,{className:s,style:l},e.createElement("div",{className:"survey-question-text-wrapper"},d&&e.createElement(A,{"data-nosubtitle":!m,className:"survey-question-title",tag:"h4"},d),m&&e.createElement(p,{className:"survey-question-subtitle",size:"p2"},m),n&&e.createElement(p,{className:"survey-question-description",size:"p2"},n)),h&&e.createElement("img",{src:h,className:"survey-question-image",loading:"lazy"}),e.createElement("div",{className:"survey-question-answer-wrapper"},"radio"===c&&e.createElement("div",{"data-has-image":v,className:"survey-question-options-wrapper"},g.map((t=>{var a;return e.createElement(Tn,{inputType:"radio",label:t.label,name:b,key:`${b}-${t.value}`,checked:(null===(a=y[0])||void 0===a?void 0:a.value)===t.value,value:t.value,onChange:e=>{x([g.find((t=>t.value===e))])},className:"survey-question-option-item",image:t.image,hasImage:v})}))),"checkbox"===c&&e.createElement("div",{"data-has-image":v,className:"survey-question-options-wrapper"},g.map((t=>e.createElement(Tn,{inputType:"checkbox",label:t.label,name:b,key:`${b}-${t.value}`,checked:!!y.find((e=>e.value===t.value)),value:t.value,onChange:()=>{const e=y.findIndex((e=>e.value===t.value));x(e>=0?t=>(t.splice(e,1),t.slice()):f?e=>e.concat(t).slice():[t])},className:"survey-question-option-item survey-option-radio",image:t.image,hasImage:v})))),"textbox"===c&&w.map(((t,a)=>t.isTextArea?e.createElement(L,{key:a,placeholder:t.placeholder,height:"150px",value:t.value,onChange:e=>E((t=>(t[a].value=e,t.slice())))}):e.createElement(Je,{key:a,value:t.value,name:t.name,size:"md",className:"survey-contact-input",label:t.label,placeholder:t.placeholder,onChange:e=>{E((t=>(t[a].value=e,t.slice())))},type:t.type})))))};var In;!function(e){e[e.UNLIMITED=0]="UNLIMITED",e[e.EXACT_NUMBER=1]="EXACT_NUMBER",e[e.RANGE=2]="RANGE"}(In||(In={}));const zn=({className:n,headerText:i,style:r,question:o,termAndPolicyText:l,prevText:s,nextText:c,isContactForm:d,isDisableNext:m,isDisablePrev:h,onPrevClick:u,onNextClick:g,isSubmitButton:b,isButtonCenter:f,progress:v,descriptionText:y})=>{var x,w,E;const[k,C]=t([]),{is_multi_select:S,multi_select_option:N,from:B,to:T}=o,D=null==o?void 0:o.type,I="checkbox"===D&&(null===(x=o.options)||void 0===x?void 0:x.length)&&(!k||0===k.length||S&&N===In.RANGE&&(k.length<B||k.length>T)||S&&N===In.EXACT_NUMBER&&k.length!==B)||"radio"===D&&(null===(w=o.options)||void 0===w?void 0:w.length)&&(!k||0===k.length)||"textbox"===D&&(null===(E=o.textOptions)||void 0===E?void 0:E.length)&&(k.length<o.textOptions.length||k.some((e=>!e.value))),z="number"==typeof v?v>1?1:v<0?0:Number(v.toFixed(2)):-1,_=a(null),A=()=>"textbox"!==D||_.current.reportValidity();return e.createElement(Cn,{className:n,style:r},e.createElement("div",{className:"survey-inner-wrapper"},i&&e.createElement("div",{className:"survey-header"},e.createElement(p,{className:"survey-header-text",size:"c2"},i)),e.createElement("form",{ref:_,onSubmit:e=>e.preventDefault()},e.createElement(Dn,{question:o,description:y,onOptionsChange:e=>{C(e)},onTextOptionsChange:e=>{C(e)}})),d&&c&&e.createElement(Ke,{className:"survey-contact-submit",size:"lg",isDisabled:m||I,onClick:()=>A()&&g&&g(k)},c),l&&e.createElement("div",{className:"term-policy-container"},l),"number"==typeof v&&e.createElement("div",{className:"survey-progress-wrapper"},e.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${z})`}})),(s||c)&&e.createElement("div",{"data-center":f,className:"survey-button-wrapper"},s&&e.createElement(Ke,{className:"survey-prev-button",size:"lg",color:h?"primary":"secondary",isDisabled:h,icon:e.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},e.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:h?"#fff":"#2D87F3"})),onClick:u},s),!d&&c&&e.createElement(Ke,{onClick:()=>A()&&g&&g(k),className:"survey-next-button",size:"lg",isDisabled:m||I},c," ",b?void 0:e.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},e.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))},_n=({thankyou:t,thankyouSubtitle:a,className:n,style:i})=>e.createElement(Cn,{className:n,style:i},e.createElement("div",{className:"survey-inner-wrapper"},e.createElement(Nn,null,e.createElement("div",{className:"survey-thankyou-wrapper-inner"},e.createElement("svg",{viewBox:"0 0 122 122",fill:"none",className:"survey-thankyou-icon"},e.createElement("path",{d:"M61.5 122c33.137 0 60-26.863 60-60S94.637 2 61.5 2s-60 26.863-60 60 26.863 60 60 60Z",fill:le.colors.primary50}),e.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),e.createElement("path",{d:"M82.905 72.666H101.5L87.597 40H35.403L21.5 72.666h18.595V91H83.08l-.174-18.334Z",fill:"#2C74DF"}),e.createElement("path",{d:"M74.4 15H39.863a5.364 5.364 0 0 0-5.363 5.363v52.214a5.364 5.364 0 0 0 5.363 5.363h43.273a5.364 5.364 0 0 0 5.363-5.363V21a6 6 0 0 0-6-6H74.4Z",fill:"#fff"}),e.createElement("path",{d:"M88.853 80.108H34.147a4.055 4.055 0 0 1-4.087-4.074v-10.65c0-2.27 1.81-4.074 4.087-4.074h54.706a4.055 4.055 0 0 1 4.087 4.074v10.65c0 2.27-1.81 4.074-4.087 4.074Z",fill:"#E4E8EC"}),e.createElement("path",{d:"M90.838 85.451H32.162a4.055 4.055 0 0 1-4.087-4.074v-10.65c0-2.27 1.81-4.074 4.087-4.074H90.78a4.055 4.055 0 0 1 4.087 4.074v10.65c.058 2.27-1.81 4.074-4.029 4.074Z",fill:"#fff"}),e.createElement("path",{d:"M103.748 75.492v30.263c0 1.92-1.576 3.492-3.503 3.492H23.003c-1.927 0-3.503-1.572-3.503-3.492V75.492c0-1.92 1.576-3.492 3.503-3.492h19.384c1.926 0 3.503 1.571 3.503 3.492v5.354c0 .35.233.582.584.582h30.3c.351 0 .585-.233.585-.582v-5.354c0-1.92 1.576-3.492 3.503-3.492h19.383c1.927 0 3.503 1.571 3.503 3.492Z",fill:"#45A4FF"}),e.createElement("path",{stroke:"#2C74DF",d:"M51.954 91.377v3.084c0 1.63 1.285 2.91 2.92 2.91h12.844c1.635 0 2.92-1.28 2.92-2.91v-3.084"}),e.createElement("path",{d:"M120.5 38.025c-2-.246-3.25 1.352-2.375 3.195l.25.737c.75 1.844-.375 3.441-2.375 3.195l-.75-.123c-2-.245-3.25 1.352-2.375 3.195l.375.738c.75 1.843-.375 3.44-2.375 3.195l-.75-.123c-1.5-.123-2.625.737-2.625 1.966",stroke:"#FE921D"}),e.createElement("path",{d:"M1.533 62c-.269 1.413 1.142 2.337 2.82 1.848l.672-.218c1.678-.543 3.089.38 2.82 1.848l-.134.544c-.269 1.413 1.141 2.337 2.82 1.848l.671-.218c1.68-.543 3.09.38 2.82 1.848l-.134.543c-.201 1.087.538 1.848 1.612 1.957M118 92a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM82 3.187l1.188 4.348 4.347-1.188L86.347 2 82 3.187Z",stroke:"#00B16A"}),e.createElement("path",{stroke:"#FE921D",d:"M17 28a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),e.createElement("path",{d:"M61.5 26.667c-7.364 0-13.333 5.97-13.333 13.333 0 7.364 5.969 13.333 13.333 13.333S74.833 47.364 74.833 40 68.864 26.667 61.5 26.667Zm7.61 10.276-9.334 9.333a1.33 1.33 0 0 1-1.885 0l-4-4a1.332 1.332 0 1 1 1.885-1.885l3.057 3.057 8.391-8.39a1.332 1.332 0 1 1 1.885 1.885Z",fill:"#00CB8A"})),t&&e.createElement(A,{className:"survey-thankyou-title",tag:"h3"},t),a&&e.createElement(p,{className:"survey-thankyou-subtitle",size:"p3"},a))))),An=200,Ln=Ve.div``,Pn=Ve.div`
1220
1220
  width: 100vw;
1221
1221
  height: 100vh;
1222
1222
  position: fixed;
@@ -1224,14 +1224,14 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1224
1224
  right: 0;
1225
1225
  background-color: ${e=>{var t,a;return e.theme.colors.white||(null===(a=null===(t=e.theme.colors)||void 0===t?void 0:t.palette)||void 0===a?void 0:a.white)}};
1226
1226
  opacity: 0.83;
1227
- transition: display ${Dn}ms linear;
1227
+ transition: display ${An}ms linear;
1228
1228
 
1229
1229
  [data-floatmenu-open='true'] & {
1230
- animation: showBackgroundPanel ${Dn}ms linear 0s normal forwards;
1230
+ animation: showBackgroundPanel ${An}ms linear 0s normal forwards;
1231
1231
  }
1232
1232
 
1233
1233
  [data-floatmenu-open='false'] & {
1234
- animation: hideBackgroundPanel ${Dn}ms linear 0s normal forwards;
1234
+ animation: hideBackgroundPanel ${An}ms linear 0s normal forwards;
1235
1235
  }
1236
1236
 
1237
1237
  @keyframes showBackgroundPanel {
@@ -1260,15 +1260,15 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1260
1260
  height: 0;
1261
1261
  }
1262
1262
  }
1263
- `,zn=Ve.div`
1263
+ `,$n=Ve.div`
1264
1264
  position: fixed;
1265
1265
  right: 16px;
1266
1266
  bottom: 40px;
1267
- `,An=Ve.div`
1267
+ `,Mn=Ve.div`
1268
1268
  display: flex;
1269
1269
  flex-direction: column;
1270
1270
  gap: 16px;
1271
- transition: all ${Dn}ms ease-in-out;
1271
+ transition: all ${An}ms ease-in-out;
1272
1272
  position: fixed;
1273
1273
  bottom: 112px;
1274
1274
  right: 16px;
@@ -1287,7 +1287,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1287
1287
  bottom: 46px;
1288
1288
  right: 36px;
1289
1289
  }
1290
- `,Ln=Ve.div`
1290
+ `,On=Ve.div`
1291
1291
  border-radius: 50%;
1292
1292
  width: 56px;
1293
1293
  height: 56px;
@@ -1335,12 +1335,12 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1335
1335
 
1336
1336
  [data-floatmenu-open='true'] &:before,
1337
1337
  [data-floatmenu-open='true'] &:after {
1338
- animation: toX ${Dn}ms linear 0s normal forwards;
1338
+ animation: toX ${An}ms linear 0s normal forwards;
1339
1339
  }
1340
1340
 
1341
1341
  [data-floatmenu-open='false'] &:before,
1342
1342
  [data-floatmenu-open='false'] &:after {
1343
- animation: toPlus ${Dn}ms linear 0s normal forwards;
1343
+ animation: toPlus ${An}ms linear 0s normal forwards;
1344
1344
  }
1345
1345
 
1346
1346
  @keyframes toX {
@@ -1376,7 +1376,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1376
1376
  transform: translate(-50%, -50%) rotateZ(0deg);
1377
1377
  }
1378
1378
  }
1379
- `,Pn=Ve.div`
1379
+ `,jn=Ve.div`
1380
1380
  display: flex;
1381
1381
  gap: 8px;
1382
1382
  align-items: center;
@@ -1400,11 +1400,11 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1400
1400
  }
1401
1401
  // slide
1402
1402
  [data-animation-type='slide'] & {
1403
- transition: all ${Dn}ms ease-in;
1403
+ transition: all ${An}ms ease-in;
1404
1404
  }
1405
1405
 
1406
1406
  [data-animation-type='slide'][data-floatmenu-open='true'] & {
1407
- animation: showItem ${Dn}ms;
1407
+ animation: showItem ${An}ms;
1408
1408
  }
1409
1409
  [data-animation-type='slide'][data-floatmenu-open='false'] & {
1410
1410
  bottom: -64px !important;
@@ -1442,12 +1442,12 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1442
1442
  opacity: 0;
1443
1443
  }
1444
1444
  }
1445
- `,$n=Ve.div`
1445
+ `,Fn=Ve.div`
1446
1446
  font-size: 14px;
1447
1447
 
1448
1448
  // zoom
1449
1449
  [data-animation-type='zoom'] & {
1450
- transition: transform ${Dn}ms ease-in-out;
1450
+ transition: transform ${An}ms ease-in-out;
1451
1451
  transform-origin: 100% 0;
1452
1452
  }
1453
1453
 
@@ -1461,7 +1461,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1461
1461
 
1462
1462
  // slide
1463
1463
  [data-animation-type='slide'] & {
1464
- transition: opacity ${Dn}ms;
1464
+ transition: opacity ${An}ms;
1465
1465
  }
1466
1466
  [data-animation-type='slide'][data-floatmenu-open='true'] & {
1467
1467
  opacity: 1;
@@ -1469,7 +1469,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1469
1469
  [data-animation-type='slide'][data-floatmenu-open='false'] & {
1470
1470
  opacity: 0;
1471
1471
  }
1472
- `,Mn=Ve.div`
1472
+ `,Hn=Ve.div`
1473
1473
  border-radius: 50%;
1474
1474
  box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
1475
1475
  width: 48px;
@@ -1481,7 +1481,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1481
1481
 
1482
1482
  // zoom
1483
1483
  [data-animation-type='zoom'] & {
1484
- transition: transform ${Dn}ms ease-in-out;
1484
+ transition: transform ${An}ms ease-in-out;
1485
1485
  }
1486
1486
 
1487
1487
  [data-animation-type='zoom'][data-floatmenu-open='true'] & {
@@ -1497,7 +1497,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1497
1497
  height: 24px;
1498
1498
  object-fit: contain;
1499
1499
  }
1500
- `,On=({items:a,className:n,style:r,backgroundPanelStyle:o,isOpen:l,onOpen:s,onClose:c,disableBackdropClick:d,siteType:m="hb",animationType:p="zoom",zIndex:h=300})=>{const[u,g]=t(!!l);i((()=>{g(!!l)}),[l]);const b=()=>{g(!1),c&&c()};return e.createElement(In,{style:r,className:n,"data-floatmenu-open":u,"data-site-type":m,"data-animation-type":p},e.createElement(_n,{className:"float-button-group__panel",style:Object.assign({zIndex:h},o),onClick:d?void 0:b}),e.createElement(zn,{className:"float-button-group___content",style:{zIndex:h}},e.createElement(An,null,a.map(((t,n)=>e.createElement(Pn,{className:`float-item-button-${n}`,style:Object.assign(Object.assign({},"zoom"===p&&{bottom:64*(a.length-1-n),transitionDelay:Dn/a.length*(u?a.length-1-n:n)+"ms"}),"slide"===p&&{bottom:64*(a.length-1-n),transitionDelay:Dn/a.length*(u?n:a.length-1-n)+"ms"}),key:n,onClick:()=>{t.onClick(),t.keepMenuOnClick||g(!1)}},e.createElement($n,{style:Object.assign({},"zoom"===p&&{transitionDelay:Dn/a.length*(u?a.length-1-n:n)+"ms"})},t.label),e.createElement(Mn,{className:"float-item-button__icon-wrapper",style:Object.assign({},("zoom"===p||"slide"===p)&&{transitionDelay:Dn/a.length*(u?a.length-1-n:n)+"ms"})},t.icon))))),e.createElement(Ln,{onClick:u?b:()=>{g(!0),s&&s()}})))},jn=Ve.div`
1500
+ `,Rn=({items:a,className:n,style:r,backgroundPanelStyle:o,isOpen:l,onOpen:s,onClose:c,disableBackdropClick:d,siteType:m="hb",animationType:p="zoom",zIndex:h=300})=>{const[u,g]=t(!!l);i((()=>{g(!!l)}),[l]);const b=()=>{g(!1),c&&c()};return e.createElement(Ln,{style:r,className:n,"data-floatmenu-open":u,"data-site-type":m,"data-animation-type":p},e.createElement(Pn,{className:"float-button-group__panel",style:Object.assign({zIndex:h},o),onClick:d?void 0:b}),e.createElement($n,{className:"float-button-group___content",style:{zIndex:h}},e.createElement(Mn,null,a.map(((t,n)=>e.createElement(jn,{className:`float-item-button-${n}`,style:Object.assign(Object.assign({},"zoom"===p&&{bottom:64*(a.length-1-n),transitionDelay:An/a.length*(u?a.length-1-n:n)+"ms"}),"slide"===p&&{bottom:64*(a.length-1-n),transitionDelay:An/a.length*(u?n:a.length-1-n)+"ms"}),key:n,onClick:()=>{t.onClick(),t.keepMenuOnClick||g(!1)}},e.createElement(Fn,{style:Object.assign({},"zoom"===p&&{transitionDelay:An/a.length*(u?a.length-1-n:n)+"ms"})},t.label),e.createElement(Hn,{className:"float-item-button__icon-wrapper",style:Object.assign({},("zoom"===p||"slide"===p)&&{transitionDelay:An/a.length*(u?a.length-1-n:n)+"ms"})},t.icon))))),e.createElement(On,{onClick:u?b:()=>{g(!0),s&&s()}})))},Un=Ve.div`
1501
1501
  padding: 16px;
1502
1502
  width: 375px;
1503
1503
  word-wrap: break-word;
@@ -1527,7 +1527,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1527
1527
  right: unset;
1528
1528
  }
1529
1529
  }
1530
- `,Fn=Ve.p`
1530
+ `,Vn=Ve.p`
1531
1531
  position: relative;
1532
1532
  padding-left: 24px;
1533
1533
  color: ${e=>e.theme.colors.white};
@@ -1546,7 +1546,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1546
1546
  content: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.00001 1.33331C4.32001 1.33331 1.33334 4.31998 1.33334 7.99998C1.33334 11.68 4.32001 14.6666 8.00001 14.6666C11.68 14.6666 14.6667 11.68 14.6667 7.99998C14.6667 4.31998 11.68 1.33331 8.00001 1.33331ZM8.00001 11.3333C7.63334 11.3333 7.33334 11.0333 7.33334 10.6666V7.99998C7.33334 7.63331 7.63334 7.33331 8.00001 7.33331C8.36668 7.33331 8.66668 7.63331 8.66668 7.99998V10.6666C8.66668 11.0333 8.36668 11.3333 8.00001 11.3333ZM7.33334 5.99998H8.66668V4.66665H7.33334V5.99998Z' fill='white'/%3e%3c/svg%3e");
1547
1547
  }
1548
1548
  }
1549
- `,Hn=Ve.p`
1549
+ `,Wn=Ve.p`
1550
1550
  margin-top: 2px;
1551
1551
  color: ${e=>e.theme.colors.white};
1552
1552
  font-size: 12px;
@@ -1557,12 +1557,12 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1557
1557
  text-decoration: none;
1558
1558
  text-decoration-line: underline;
1559
1559
  }
1560
- `,Rn=Ve.div`
1560
+ `,Gn=Ve.div`
1561
1561
  display: flex;
1562
1562
  align-items: center;
1563
1563
  margin-top: 8px;
1564
1564
  gap: 16px;
1565
- `,Un=Ve.div`
1565
+ `,qn=Ve.div`
1566
1566
  padding: 7px 28px;
1567
1567
  background: ${e=>e.theme.colors.white};
1568
1568
  border-radius: ${e=>e.theme.borderRadius};
@@ -1571,14 +1571,14 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1571
1571
  font-size: 12px;
1572
1572
  font-weight: 600;
1573
1573
  line-height: 18px;
1574
- `,Vn=Ve.a`
1574
+ `,Zn=Ve.a`
1575
1575
  color: ${e=>e.theme.colors.white};
1576
1576
  font-size: 12px;
1577
1577
  font-weight: 600;
1578
1578
  line-height: 22px;
1579
1579
  text-decoration: none;
1580
1580
  text-decoration-line: underline;
1581
- `,Wn=({className:t,policiesUrl:a,onAcceptClick:n,translations:i={acceptButton:"Accept",policiesButton:"Our Policies"},title:r="",description:o="",theme:l="helloSites",isOpen:s=!0,useDefaultPosition:c=!0,trackingAttributes:d})=>e.createElement(jn,{className:t,"data-theme":l,"data-is-open":s,"data-default-position":c},e.createElement(Fn,{"data-has-content":!!r},r),e.createElement(Hn,{dangerouslySetInnerHTML:{__html:o}}),e.createElement(Rn,null,e.createElement(Un,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:n,"data-event-category":null==d?void 0:d.dataEventCategory,"data-event-action":null==d?void 0:d.dataEventAction,"data-event-label":null==d?void 0:d.dataEventLabel},i.acceptButton),e.createElement(Vn,{href:a},i.policiesButton))),Gn=We`
1581
+ `,Yn=({className:t,policiesUrl:a,onAcceptClick:n,translations:i={acceptButton:"Accept",policiesButton:"Our Policies"},title:r="",description:o="",theme:l="helloSites",isOpen:s=!0,useDefaultPosition:c=!0,trackingAttributes:d})=>e.createElement(Un,{className:t,"data-theme":l,"data-is-open":s,"data-default-position":c},e.createElement(Vn,{"data-has-content":!!r},r),e.createElement(Wn,{dangerouslySetInnerHTML:{__html:o}}),e.createElement(Gn,null,e.createElement(qn,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:n,"data-event-category":null==d?void 0:d.dataEventCategory,"data-event-action":null==d?void 0:d.dataEventAction,"data-event-label":null==d?void 0:d.dataEventLabel},i.acceptButton),e.createElement(Zn,{href:a},i.policiesButton))),Xn=We`
1582
1582
  from {
1583
1583
  transform: translateY(100%);
1584
1584
  visibility: visible;
@@ -1587,7 +1587,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1587
1587
  to {
1588
1588
  transform: translateY(0);
1589
1589
  }
1590
- `,qn=We`
1590
+ `,Kn=We`
1591
1591
  from {
1592
1592
  transform: translate(0, 0);
1593
1593
  }
@@ -1596,7 +1596,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1596
1596
  visibility: hidden;
1597
1597
  transform: translate(0, 100%);
1598
1598
  }
1599
- `,Zn=Ve.div`
1599
+ `,Jn=Ve.div`
1600
1600
  cursor: pointer;
1601
1601
  display: flex;
1602
1602
  flex-direction: column;
@@ -1669,7 +1669,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1669
1669
  &[data-is-disabled='true'] {
1670
1670
  opacity: 0.2;
1671
1671
  }
1672
- `,Yn=Ve.div`
1672
+ `,Qn=Ve.div`
1673
1673
  z-index: 100;
1674
1674
  position: fixed;
1675
1675
  bottom: 0;
@@ -1695,11 +1695,11 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1695
1695
  text-decoration: none;
1696
1696
  }
1697
1697
  &[data-is-collapsed='true'] {
1698
- animation: ${qn} 500ms ease-in-out forwards;
1698
+ animation: ${Kn} 500ms ease-in-out forwards;
1699
1699
  }
1700
1700
 
1701
1701
  &[data-is-collapsed='false'] {
1702
- animation: ${Gn} 500ms ease-in-out forwards;
1702
+ animation: ${Xn} 500ms ease-in-out forwards;
1703
1703
  }
1704
1704
  &[data-template='health-tool'] {
1705
1705
  height: 44px;
@@ -1710,7 +1710,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1710
1710
  flex: 0;
1711
1711
  }
1712
1712
  }
1713
- `,Xn=Ve.span`
1713
+ `,ei=Ve.span`
1714
1714
  position: absolute;
1715
1715
  left: 100%;
1716
1716
  transform: translate(-10px, calc(-50% + 3px));
@@ -1739,7 +1739,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1739
1739
  a {
1740
1740
  text-decoration: none;
1741
1741
  }
1742
- `;const Kn=t=>{var{badgeAmount:a,disabled:n=!1,hasBadge:i=!1,icon:r,isActive:o=!1,isSpecial:l=!1,label:s}=t,c=se(t,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return e.createElement(Zn,Object.assign({"data-is-special":l,"data-is-active":o,"data-is-disabled":n},c),e.createElement("div",{className:"mobile-navigation-icon","data-no-label":!Boolean(s)},i&&e.createElement(Xn,{"data-no-label":!Boolean(s)},e.createElement(p,{size:"s5",weight:"semiBold",color:l?le.colors.primaryBase:le.colors.white},a)),r),s&&e.createElement("span",{className:"mobile-navigation-label"},s))},Jn=t=>{var{children:a,on:n="",isCollapsed:i=!1,template:r="homepage"}=t,o=se(t,["children","on","isCollapsed","template"]);return e.createElement(Yn,Object.assign({on:n,"data-is-collapsed":i,"data-template":r},o),a)};Jn.Icon=Kn;var Qn={SAME:0,CAMELCASE:1,possibleStandardNames:{accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}};function ei(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==a)return;var n,i,r=[],o=!0,l=!1;try{for(a=a.call(e);!(o=(n=a.next()).done)&&(r.push(n.value),!t||r.length!==t);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==a.return||a.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ti(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return ti(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ti(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function ai(e,t,a,n,i,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=o}var ni={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){ni[e]=new ai(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=ei(e,2),a=t[0],n=t[1];ni[a]=new ai(a,1,!1,n,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ni[e]=new ai(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ni[e]=new ai(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){ni[e]=new ai(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ni[e]=new ai(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){ni[e]=new ai(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){ni[e]=new ai(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){ni[e]=new ai(e,5,!1,e.toLowerCase(),null,!1,!1)}));var ii=/[\-\:]([a-z])/g,ri=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(ii,ri);ni[t]=new ai(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(ii,ri);ni[t]=new ai(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(ii,ri);ni[t]=new ai(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){ni[e]=new ai(e,1,!1,e.toLowerCase(),null,!1,!1)}));ni.xlinkHref=new ai("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){ni[e]=new ai(e,1,!1,e.toLowerCase(),null,!0,!0)}));var oi=Qn.CAMELCASE,li=Qn.SAME,si=Qn.possibleStandardNames,ci=function(e){return ni.hasOwnProperty(e)?ni[e]:null},di=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),mi=Object.keys(si).reduce((function(e,t){var a=si[t];return a===li?e[t]=t:a===oi?e[t.toLowerCase()]=t:e[t]=a,e}),{}),pi=Object.defineProperty({BOOLEAN:3,BOOLEANISH_STRING:2,NUMERIC:5,OVERLOADED_BOOLEAN:4,POSITIVE_NUMERIC:6,RESERVED:0,STRING:1,getPropertyInfo:ci,isCustomAttribute:di,possibleStandardNames:mi},"__esModule",{value:!0}),hi=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,ui=/\n/g,gi=/^\s*/,bi=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,fi=/^:\s*/,vi=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,yi=/^[;\s]*/,xi=/^\s+|\s+$/g,wi="";function Ei(e){return e?e.replace(xi,wi):wi}var ki=function(e,t){var a,n=null;if(!e||"string"!=typeof e)return n;for(var i,r,o=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var a=1,n=1;function i(e){var t=e.match(ui);t&&(a+=t.length);var i=e.lastIndexOf("\n");n=~i?e.length-i:n+e.length}function r(){var e={line:a,column:n};return function(t){return t.position=new o(e),c(),t}}function o(e){this.start=e,this.end={line:a,column:n},this.source=t.source}function l(i){var r=new Error(t.source+":"+a+":"+n+": "+i);if(r.reason=i,r.filename=t.source,r.line=a,r.column=n,r.source=e,!t.silent)throw r}function s(t){var a=t.exec(e);if(a){var n=a[0];return i(n),e=e.slice(n.length),a}}function c(){s(gi)}function d(e){var t;for(e=e||[];t=m();)!1!==t&&e.push(t);return e}function m(){var t=r();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var a=2;wi!=e.charAt(a)&&("*"!=e.charAt(a)||"/"!=e.charAt(a+1));)++a;if(a+=2,wi===e.charAt(a-1))return l("End of comment missing");var o=e.slice(2,a-2);return n+=2,i(o),e=e.slice(a),n+=2,t({type:"comment",comment:o})}}function p(){var e=r(),t=s(bi);if(t){if(m(),!s(fi))return l("property missing ':'");var a=s(vi),n=e({type:"declaration",property:Ei(t[0].replace(hi,wi)),value:a?Ei(a[0].replace(hi,wi)):wi});return s(yi),n}}return o.prototype.content=e,c(),function(){var e,t=[];for(d(t);e=p();)!1!==e&&(t.push(e),d(t));return t}()}(e),l="function"==typeof t,s=0,c=o.length;s<c;s++)i=(a=o[s]).property,r=a.value,l?t(i,r,a):r&&(n||(n={}),n[i]=r);return n},Ci=Ae((function(e,t){t.__esModule=!0,t.camelCase=void 0;var a=/^--[a-zA-Z0-9-]+$/,n=/-([a-z])/g,i=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||i.test(e)||a.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,s):e.replace(r,s)).replace(n,l))}})),Si=Ae((function(e,t){var a=Le&&Le.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var n=a(ki);t.default=function(e,t){var a={};return e&&"string"==typeof e?((0,n.default)(e,(function(e,n){e&&n&&(a[(0,Ci.camelCase)(e,t)]=n)})),a):a}})),Ni=Si.default;var Bi={reactCompat:!0};var Ti=e.version.split(".")[0]>=16,Di=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var Ii={PRESERVE_CUSTOM_ATTRIBUTES:Ti,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var a,n,i="function"==typeof t,r={},o={};for(a in e)n=e[a],i&&(r=t(a,n))&&2===r.length?o[r[0]]=r[1]:"string"==typeof n&&(o[n]=a);return o},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=Ni(e,Bi)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!Di.has(e.name)},elementsWithNoTextChildren:Di},_i=function(e){var t,a,n,i,r,o={},l=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(n=e[t],pi.isCustomAttribute(t))o[t]=n;else if(i=zi(a=t.toLowerCase()))switch(r=pi.getPropertyInfo(i),"checked"!==i&&"value"!==i||l||(i=zi("default"+a)),o[i]=n,r&&r.type){case pi.BOOLEAN:o[i]=!0;break;case pi.OVERLOADED_BOOLEAN:""===n&&(o[i]=!0)}else Ii.PRESERVE_CUSTOM_ATTRIBUTES&&(o[t]=n);return Ii.setStyleProp(e.style,o),o};function zi(e){return pi.possibleStandardNames[e]}var Ai=Ii.setStyleProp,Li=Ii.canTextBeChildOfNode;function Pi(e){return Ii.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&Ii.isCustomComponent(e.name,e.attribs)}var $i=function t(a,n){for(var i,r,o,l,s,c=(n=n||{}).library||e,d=c.cloneElement,m=c.createElement,p=c.isValidElement,h=[],u="function"==typeof n.replace,g=n.trim,b=0,f=a.length;b<f;b++)if(i=a[b],u&&p(o=n.replace(i)))f>1&&(o=d(o,{key:o.key||b})),h.push(o);else if("text"!==i.type){switch(l=i.attribs,Pi(i)?Ai(l.style,l):l&&(l=_i(l)),s=null,i.type){case"script":case"style":i.children[0]&&(l.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?l.defaultValue=i.children[0].data:i.children&&i.children.length&&(s=t(i.children,n));break;default:continue}f>1&&(l.key=b),h.push(m(i.name,l,s))}else{if((r=!i.data.trim().length)&&i.parent&&!Li(i.parent))continue;if(g&&r)continue;h.push(i.data)}return 1===h.length?h[0]:h},Mi=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Oi=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};var ji=function(e){var t;return e>=55296&&e<=57343||e>1114111?"�":Oi(null!==(t=Mi.get(e))&&void 0!==t?t:e)},Fi=Object.defineProperty({default:ji},"__esModule",{value:!0}),Hi=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204]),Ri=Object.defineProperty({default:Hi},"__esModule",{value:!0}),Ui=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34]),Vi=Ri,Wi=Object.defineProperty({default:Ui},"__esModule",{value:!0}),Gi=Fi,qi=Ae((function(e,t){var a=Le&&Le.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var n=a(Vi);t.htmlDecodeTree=n.default;var i=a(Wi);t.xmlDecodeTree=i.default;var r,o=a(Gi);function l(e){return function(t,a){for(var n="",i=0,l=0;(l=t.indexOf("&",l))>=0;)if(n+=t.slice(i,l),i=l,l+=1,35!==t.charCodeAt(l)){for(var c=null,d=1,m=0,p=e[m];l<t.length&&!((m=s(e,p,m+1,t.charCodeAt(l)))<0);l++,d++)(p=e[m])&r.HAS_VALUE&&(a&&59!==t.charCodeAt(l)?m+=1:(c=p&r.MULTI_BYTE?String.fromCharCode(e[++m],e[++m]):String.fromCharCode(e[++m]),d=0));null!=c&&(n+=c,i=l-d+1)}else{var h=l+1,u=10,g=t.charCodeAt(h);for(120==(32|g)&&(u=16,l+=1,h+=1);(g=t.charCodeAt(++l))>=48&&g<=57||16===u&&(32|g)>=97&&(32|g)<=102;);if(h!==l){var b=t.substring(h,l),f=parseInt(b,u);if(59===t.charCodeAt(l))l+=1;else if(a)continue;n+=o.default(f),i=l}}return n+t.slice(i)}}function s(e,a,n,i){if(a<=128)return i===a?n:-1;var o=(a&r.BRANCH_LENGTH)>>8;if(0===o)return-1;if(1===o)return i===e[n]?n+1:-1;var l=a&r.JUMP_TABLE;if(l){var s=i-t.JUMP_OFFSET_BASE-l;return s<0||s>o?-1:e[n+s]-1}for(var c=n,d=c+o-1;c<=d;){var m=c+d>>>1,p=e[m];if(p<i)c=m+1;else{if(!(p>i))return e[m+o];d=m-1}}return-1}!function(e){e[e.HAS_VALUE=32768]="HAS_VALUE",e[e.BRANCH_LENGTH=32512]="BRANCH_LENGTH",e[e.MULTI_BYTE=128]="MULTI_BYTE",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(r=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47,t.determineBranch=s;var c=l(n.default),d=l(i.default);t.decodeHTML=function(e){return c(e,!1)},t.decodeHTMLStrict=function(e){return c(e,!0)},t.decodeXML=function(e){return d(e,!0)}})),Zi=qi,Yi=(Le&&Le.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(Gi);function Xi(e){return 32===e||10===e||9===e||12===e||13===e}function Ki(e){return 47===e||62===e||Xi(e)}function Ji(e){return e>=48&&e<=57}var Qi={Cdata:new Uint16Array([67,68,65,84,65,91]),CdataEnd:new Uint16Array([93,93,62]),CommentEnd:new Uint16Array([45,45,62]),ScriptEnd:new Uint16Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint16Array([60,47,115,116,121,108,101]),TitleEnd:new Uint16Array([60,47,116,105,116,108,101])},er=function(){function e(e,t){var a=e.xmlMode,n=void 0!==a&&a,i=e.decodeEntities,r=void 0===i||i;this.cbs=t,this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.isSpecial=!1,this.running=!0,this.ended=!1,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.trieResult=null,this.entityExcess=0,this.xmlMode=n,this.decodeEntities=r,this.entityTrie=n?Zi.xmlDecodeTree:Zi.htmlDecodeTree}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.currentSequence=void 0,this.running=!0,this.ended=!1},e.prototype.write=function(e){if(this.ended)return this.cbs.onerror(Error(".write() after done!"));this.buffer+=e,this.parse()},e.prototype.end=function(e){if(this.ended)return this.cbs.onerror(Error(".end() after done!"));e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteSectionStart=function(){return this.sectionStart+this.bufferOffset},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){60===e||!this.decodeEntities&&this.fastForwardTo(60)?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&38===e&&(this._state=25)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?Ki(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this._state=3,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||Xi(e)){var t=this._index-this.currentSequence.length;if(this.sectionStart<t){var a=this._index;this._index=t,this.cbs.ontext(this.getSection()),this._index=a}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===Qi.TitleEnd?this.decodeEntities&&38===e&&(this._state=25):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)},e.prototype.stateCDATASequence=function(e){e===Qi.Cdata[this.sequenceIndex]?++this.sequenceIndex===Qi.Cdata.length&&(this._state=21,this.currentSequence=Qi.CdataEnd,this.sequenceIndex=0,this.sectionStart=this._index+1):(this.sequenceIndex=0,this._state=16,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this._index<this.buffer.length;)if(this.buffer.charCodeAt(this._index)===e)return!0;return this._index=this.buffer.length-1,!1},e.prototype.stateInCommentLike=function(e){if(e===this.currentSequence[this.sequenceIndex]){if(++this.sequenceIndex===this.currentSequence.length){var t=this.buffer.slice(this.sectionStart,this._index-2);this.currentSequence===Qi.CdataEnd?this.cbs.oncdata(t):this.cbs.oncomment(t),this.sequenceIndex=0,this.sectionStart=this._index+1,this._state=1}}else 0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!Ki(e):function(e){return e>=97&&e<=122||e>=65&&e<=90}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this._state=23},e.prototype.stateBeforeTagName=function(e){if(33===e)this._state=15,this.sectionStart=this._index+1;else if(63===e)this._state=17,this.sectionStart=this._index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this._index,this.xmlMode||t!==Qi.TitleEnd[2]?this._state=this.xmlMode||t!==Qi.ScriptEnd[2]?3:22:this.startSpecial(Qi.TitleEnd,3)}else 47===e?this._state=5:(this._state=1,this.stateText(e))},e.prototype.stateInTagName=function(e){Ki(e)&&(this.cbs.onopentagname(this.getSection()),this.sectionStart=-1,this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){Xi(e)||(62===e?this._state=1:(this._state=this.isTagStartChar(e)?6:20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(62===e||Xi(e))&&(this.cbs.onclosetag(this.getSection()),this.sectionStart=-1,this._state=7,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(62===e||this.fastForwardTo(62))&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){62===e?(this.cbs.onopentagend(),this.isSpecial?(this._state=24,this.sequenceIndex=0):this._state=1,this.baseState=this._state,this.sectionStart=this._index+1):47===e?this._state=4:Xi(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){62===e?(this.cbs.onselfclosingtag(),this._state=1,this.baseState=1,this.sectionStart=this._index+1,this.isSpecial=!1):Xi(e)||(this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(61===e||Ki(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){61===e?this._state=11:47===e||62===e?(this.cbs.onattribend(void 0),this._state=8,this.stateBeforeAttributeName(e)):Xi(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){34===e?(this._state=12,this.sectionStart=this._index+1):39===e?(this._state=13,this.sectionStart=this._index+1):Xi(e)||(this.sectionStart=this._index,this._state=14,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(String.fromCharCode(t)),this._state=8):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,34)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,39)},e.prototype.stateInAttributeValueNoQuotes=function(e){Xi(e)||62===e?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(null),this._state=8,this.stateBeforeAttributeName(e)):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateBeforeDeclaration=function(e){91===e?(this._state=19,this.sequenceIndex=0):this._state=45===e?18:16},e.prototype.stateInDeclaration=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){45===e?(this._state=21,this.currentSequence=Qi.CommentEnd,this.sequenceIndex=2,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInSpecialComment=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===Qi.ScriptEnd[3]?this.startSpecial(Qi.ScriptEnd,4):t===Qi.StyleEnd[3]?this.startSpecial(Qi.StyleEnd,4):(this._state=3,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,35===e?this._state=26:38===e||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.trieResult=null,this._state=27,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,Zi.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this._index--;if(this.trieCurrent=this.entityTrie[this.trieIndex],this.trieCurrent&Zi.BinTrieFlags.HAS_VALUE)if(this.allowLegacyEntity()||59===e){var t=this._index-this.entityExcess+1;t>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,t)),this.trieResult=this.trieCurrent&Zi.BinTrieFlags.MULTI_BYTE?String.fromCharCode(this.entityTrie[++this.trieIndex],this.entityTrie[++this.trieIndex]):String.fromCharCode(this.entityTrie[++this.trieIndex]),this.entityExcess=0,this.sectionStart=this._index+1}else this.trieIndex+=1},e.prototype.emitNamedEntity=function(){this.trieResult&&this.emitPartial(this.trieResult),this._state=this.baseState},e.prototype.stateBeforeNumericEntity=function(e){120==(32|e)?(this.entityExcess++,this._state=29):(this._state=28,this.stateInNumericEntity(e))},e.prototype.decodeNumericEntity=function(e,t){var a=this._index-this.entityExcess-1,n=a+2+(e>>4);if(n!==this._index){a>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,a));var i=this.buffer.substring(n,this._index),r=parseInt(i,e);this.emitPartial((0,Yi.default)(r)),this.sectionStart=this._index+Number(t)}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){59===e?this.decodeNumericEntity(10,!0):Ji(e)?this.entityExcess++:(this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):this._state=this.baseState,this._index--)},e.prototype.stateInHexEntity=function(e){59===e?this.decodeNumericEntity(16,!0):(e<97||e>102)&&(e<65||e>70)&&!Ji(e)?(this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):this._state=this.baseState,this._index--):this.entityExcess++},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(1===this.baseState||24===this.baseState)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this._index&&(1===this._state||24===this._state&&0===this.sequenceIndex)&&(this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.sectionStart=this._index);var e=this.sectionStart<0?this._index:this.sectionStart;this.buffer=e===this.buffer.length?"":this.buffer.substr(e),this._index-=e,this.bufferOffset+=e,this.sectionStart>0&&(this.sectionStart=0)},e.prototype.shouldContinue=function(){return this._index<this.buffer.length&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this._index);1===this._state?this.stateText(e):23===this._state?this.stateSpecialStartSequence(e):24===this._state?this.stateInSpecialTag(e):19===this._state?this.stateCDATASequence(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):21===this._state?this.stateInCommentLike(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):22===this._state?this.stateBeforeSpecialS(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):18===this._state?this.stateBeforeComment(e):17===this._state?this.stateInProcessingInstruction(e):27===this._state?this.stateInNamedEntity(e):25===this._state?this.stateBeforeEntity(e):29===this._state?this.stateInHexEntity(e):28===this._state?this.stateInNumericEntity(e):this.stateBeforeNumericEntity(e),this._index++}this.cleanup()},e.prototype.finish=function(){27===this._state&&this.emitNamedEntity(),this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);21===this._state?this.currentSequence===Qi.CdataEnd?this.cbs.oncdata(e):this.cbs.oncomment(e):28===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):29===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):3===this._state||8===this._state||11===this._state||10===this._state||9===this._state||13===this._state||12===this._state||14===this._state||6===this._state||this.cbs.ontext(e)},e.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},e.prototype.emitPartial=function(e){1!==this.baseState&&24!==this.baseState?this.cbs.onattribdata(e):this.cbs.ontext(e)},e}(),tr=Object.defineProperty({default:er},"__esModule",{value:!0}),ar=Ae((function(e,t){var a=Le&&Le.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var n=a(tr),i=new Set(["input","option","optgroup","select","button","datalist","textarea"]),r=new Set(["p"]),o=new Set(["thead","tbody"]),l=new Set(["dd","dt"]),s=new Set(["rt","rp"]),c=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",r],["h1",r],["h2",r],["h3",r],["h4",r],["h5",r],["h6",r],["select",i],["input",i],["output",i],["button",i],["datalist",i],["textarea",i],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",l],["dt",l],["address",r],["article",r],["aside",r],["blockquote",r],["details",r],["div",r],["dl",r],["fieldset",r],["figcaption",r],["figure",r],["footer",r],["form",r],["header",r],["hr",r],["main",r],["nav",r],["ol",r],["pre",r],["section",r],["table",r],["ul",r],["rt",s],["rp",s],["tbody",o],["tfoot",o]]),d=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),m=new Set(["math","svg"]),p=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),h=/\s|\//,u=function(){function e(e,t){var a,i,r,o,l;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(a=t.lowerCaseTags)&&void 0!==a?a:!t.xmlMode,this.lowerCaseAttributeNames=null!==(i=t.lowerCaseAttributeNames)&&void 0!==i?i:!t.xmlMode,this.tokenizer=new(null!==(r=t.Tokenizer)&&void 0!==r?r:n.default)(this.options,this),null===(l=(o=this.cbs).onparserinit)||void 0===l||l.call(o,this)}return e.prototype.ontext=function(e){var t,a,n=this.tokenizer.getAbsoluteIndex();this.endIndex=n-1,null===(a=(t=this.cbs).ontext)||void 0===a||a.call(t,e),this.startIndex=n},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&d.has(e)},e.prototype.onopentagname=function(e){this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),this.emitOpenTag(e)},e.prototype.emitOpenTag=function(e){var t,a,n,i;this.openTagStart=this.startIndex,this.tagname=e;var r=!this.options.xmlMode&&c.get(e);if(r)for(;this.stack.length>0&&r.has(this.stack[this.stack.length-1]);){var o=this.stack.pop();null===(a=(t=this.cbs).onclosetag)||void 0===a||a.call(t,o,!0)}this.isVoidElement(e)||(this.stack.push(e),m.has(e)?this.foreignContext.push(!0):p.has(e)&&this.foreignContext.push(!1)),null===(i=(n=this.cbs).onopentagname)||void 0===i||i.call(n,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,a;this.startIndex=this.openTagStart,this.endIndex=this.tokenizer.getAbsoluteIndex(),this.attribs&&(null===(a=(t=this.cbs).onopentag)||void 0===a||a.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(){this.endOpenTag(!1),this.startIndex=this.endIndex+1},e.prototype.onclosetag=function(e){var t,a,n,i,r,o;if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),(m.has(e)||p.has(e))&&this.foreignContext.pop(),this.isVoidElement(e))this.options.xmlMode||"br"!==e||(null===(a=(t=this.cbs).onopentagname)||void 0===a||a.call(t,e),null===(i=(n=this.cbs).onopentag)||void 0===i||i.call(n,e,{},!0),null===(o=(r=this.cbs).onclosetag)||void 0===o||o.call(r,e,!1));else{var l=this.stack.lastIndexOf(e);if(-1!==l)if(this.cbs.onclosetag)for(var s=this.stack.length-l;s--;)this.cbs.onclosetag(this.stack.pop(),0!==s);else this.stack.length=l;else this.options.xmlMode||"p"!==e||(this.emitOpenTag(e),this.closeCurrentTag(!0))}this.startIndex=this.endIndex+1},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=this.endIndex+1):this.onopentagend()},e.prototype.closeCurrentTag=function(e){var t,a,n=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===n&&(null===(a=(t=this.cbs).onclosetag)||void 0===a||a.call(t,n,!e),this.stack.pop())},e.prototype.onattribname=function(e){this.startIndex=this.tokenizer.getAbsoluteSectionStart(),this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,a;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(a=(t=this.cbs).onattribute)||void 0===a||a.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(h),a=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(a=a.toLowerCase()),a},e.prototype.ondeclaration=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}this.startIndex=this.endIndex+1},e.prototype.onprocessinginstruction=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}this.startIndex=this.endIndex+1},e.prototype.oncomment=function(e){var t,a,n,i;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(a=(t=this.cbs).oncomment)||void 0===a||a.call(t,e),null===(i=(n=this.cbs).oncommentend)||void 0===i||i.call(n),this.startIndex=this.endIndex+1},e.prototype.oncdata=function(e){var t,a,n,i,r,o,l,s,c,d;this.endIndex=this.tokenizer.getAbsoluteIndex(),this.options.xmlMode||this.options.recognizeCDATA?(null===(a=(t=this.cbs).oncdatastart)||void 0===a||a.call(t),null===(i=(n=this.cbs).ontext)||void 0===i||i.call(n,e),null===(o=(r=this.cbs).oncdataend)||void 0===o||o.call(r)):(null===(s=(l=this.cbs).oncomment)||void 0===s||s.call(l,"[CDATA["+e+"]]"),null===(d=(c=this.cbs).oncommentend)||void 0===d||d.call(c)),this.startIndex=this.endIndex+1},e.prototype.onerror=function(e){var t,a;null===(a=(t=this.cbs).onerror)||void 0===a||a.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var a=this.stack.length;a>0;this.cbs.onclosetag(this.stack[--a],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,a,n;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],this.startIndex=0,this.endIndex=0,null===(n=(a=this.cbs).onparserinit)||void 0===n||n.call(a,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=u})),nr=Ae((function(e,t){var a;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(a=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===a.Tag||e.type===a.Script||e.type===a.Style},t.Root=a.Root,t.Text=a.Text,t.Directive=a.Directive,t.Comment=a.Comment,t.Script=a.Script,t.Style=a.Style,t.Tag=a.Tag,t.CDATA=a.CDATA,t.Doctype=a.Doctype})),ir=Ae((function(e,t){var a,n=Le&&Le.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=Le&&Le.__assign||function(){return i=Object.assign||function(e){for(var t,a=1,n=arguments.length;a<n;a++)for(var i in t=arguments[a])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var r=new Map([[nr.ElementType.Tag,1],[nr.ElementType.Script,1],[nr.ElementType.Style,1],[nr.ElementType.Directive,1],[nr.ElementType.Text,3],[nr.ElementType.CDATA,4],[nr.ElementType.Comment,8],[nr.ElementType.Root,9]]),o=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=r.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),x(this,e)},e}();t.Node=o;var l=function(e){function t(t,a){var n=e.call(this,t)||this;return n.data=a,n}return n(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(o);t.DataNode=l;var s=function(e){function t(t){return e.call(this,nr.ElementType.Text,t)||this}return n(t,e),t}(l);t.Text=s;var c=function(e){function t(t){return e.call(this,nr.ElementType.Comment,t)||this}return n(t,e),t}(l);t.Comment=c;var d=function(e){function t(t,a){var n=e.call(this,nr.ElementType.Directive,a)||this;return n.name=t,n}return n(t,e),t}(l);t.ProcessingInstruction=d;var m=function(e){function t(t,a){var n=e.call(this,t)||this;return n.children=a,n}return n(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(o);t.NodeWithChildren=m;var p=function(e){function t(t){return e.call(this,nr.ElementType.Root,t)||this}return n(t,e),t}(m);t.Document=p;var h=function(e){function t(t,a,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?nr.ElementType.Script:"style"===t?nr.ElementType.Style:nr.ElementType.Tag);var r=e.call(this,i,n)||this;return r.name=t,r.attribs=a,r}return n(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var a,n;return{name:t,value:e.attribs[t],namespace:null===(a=e["x-attribsNamespace"])||void 0===a?void 0:a[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(m);function u(e){return(0,nr.isTag)(e)}function g(e){return e.type===nr.ElementType.CDATA}function b(e){return e.type===nr.ElementType.Text}function f(e){return e.type===nr.ElementType.Comment}function v(e){return e.type===nr.ElementType.Directive}function y(e){return e.type===nr.ElementType.Root}function x(e,t){var a;if(void 0===t&&(t=!1),b(e))a=new s(e.data);else if(f(e))a=new c(e.data);else if(u(e)){var n=t?w(e.children):[],r=new h(e.name,i({},e.attribs),n);n.forEach((function(e){return e.parent=r})),null!=e.namespace&&(r.namespace=e.namespace),e["x-attribsNamespace"]&&(r["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(r["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),a=r}else if(g(e)){n=t?w(e.children):[];var o=new m(nr.ElementType.CDATA,n);n.forEach((function(e){return e.parent=o})),a=o}else if(y(e)){n=t?w(e.children):[];var l=new p(n);n.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),a=l}else{if(!v(e))throw new Error("Not implemented yet: ".concat(e.type));var x=new d(e.name,e.data);null!=e["x-name"]&&(x["x-name"]=e["x-name"],x["x-publicId"]=e["x-publicId"],x["x-systemId"]=e["x-systemId"]),a=x}return a.startIndex=e.startIndex,a.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(a.sourceCodeLocation=e.sourceCodeLocation),a}function w(e){for(var t=e.map((function(e){return x(e,!0)})),a=1;a<t.length;a++)t[a].prev=t[a-1],t[a-1].next=t[a];return t}t.Element=h,t.isTag=u,t.isCDATA=g,t.isText=b,t.isComment=f,t.isDirective=v,t.isDocument=y,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=x})),rr=ir,or=Ae((function(e,t){var a=Le&&Le.__createBinding||(Object.create?function(e,t,a,n){void 0===n&&(n=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,n,i)}:function(e,t,a,n){void 0===n&&(n=a),e[n]=t[a]}),n=Le&&Le.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0,n(rr,t);var i=/\s+/g,r={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},o=function(){function e(e,t,a){this.dom=[],this.root=new rr.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(a=t,t=r),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:r,this.elementCB=null!=a?a:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new rr.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var a=this.options.xmlMode?nr.ElementType.Tag:void 0,n=new rr.Element(e,t,void 0,a);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,a=this.lastNode;if(a&&a.type===nr.ElementType.Text)t?a.data=(a.data+e).replace(i," "):a.data+=e,this.options.withEndIndices&&(a.endIndex=this.parser.endIndex);else{t&&(e=e.replace(i," "));var n=new rr.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===nr.ElementType.Comment)this.lastNode.data+=e;else{var t=new rr.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new rr.Text(""),t=new rr.NodeWithChildren(nr.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var a=new rr.ProcessingInstruction(e,t);this.addNode(a)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],a=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),a&&(e.prev=a,a.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=o,t.default=o}));var lr=function(e){for(var t=0,a=e.length;t<a;t++){e[t].parent=null}return e},sr=or,cr=ar.Parser,dr=sr.DomHandler,mr=lr;var pr=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string.");if(""===e)return[];var a=new dr(void 0,t);return new cr(a,t).end(e),mr(a.dom)};pr="function"==typeof pr.default?pr.default:pr;var hr={lowerCaseAttributeNames:!1};function ur(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:$i(pr(e,(t=t||{}).htmlparser2||hr),t)}ur.domToReact=$i,ur.htmlToDOM=pr,ur.attributesToProps=_i,ur.Element=sr.Element;var gr=ur,br=ur;gr.default=br,gr.domToReact,gr.htmlToDOM,gr.attributesToProps,gr.Element;const fr=({SEOData:t={},locale:a="vi-VN",routerPathname:i,routerQuery:r,nextHead:o,siteType:l,seoCustom:s,userId:c,forcedCanonicalUrl:d})=>{var m,p,h,u,g,b,f,v,y,x,w,E;const{totalPages:k,currentPage:C,SEOTitle:S="",SEODescription:N="",SEOImage:B,seoType:T,SEOImageWidth:D,SEOImageHeight:I,customMetaData:_=[],isIndexable:z=!0,hasNoCanonical:A=!1}=t,L=z&&J?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",{NEXT_PUBLIC_BASE_API_URL:P}=process.env;let $=t.canonicalUrl||i;Object.keys(r).forEach((e=>{const t=r[e];t&&Array.isArray(t)&&($=$.replace(`[...${e}]`,t.join("/")))}));const M=a||"en-PH",O="helloSites"===l?Q[M]:"www.marrybaby.vn",j=$.endsWith("/")?"":"/",F=n((()=>{var n,i,r,o,l,s,c;let d="";if(t.apiMetaData&&"string"==typeof t.apiMetaData){const m=null===(n=t.apiMetaData)||void 0===n?void 0:n.match(/<title.*?>(.*)<\/title>/),p=` - Page ${C} of ${k}`,h=C&&1!==C&&m?t.apiMetaData.replace(m[0],m[0].includes("-")?m[0].replace("-",p+" - "):`<title>${m[1].concat(p)}</title>`).replace(`<link rel="canonical" href="https://${O}${$}${j}" />`,`<link rel="canonical" href="https://${O}${$}${j}?page=${C}" />`):t.apiMetaData;if(d=gr(h,{trim:!0}),!d.find((e=>{var t,a;return"og:image"===(null===(t=e.props)||void 0===t?void 0:t.property)||"og:image:secure_url"===(null===(a=e.props)||void 0===a?void 0:a.property)}))){const n=`https://${O}/images/${a}.png`;d=[...d,e.createElement("meta",{key:"og:image",property:"og:image",content:(null===(i=t.openGraph)||void 0===i?void 0:i.image)||B||n||""}),e.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(r=t.openGraph)||void 0===r?void 0:r.image)||B||n}),e.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=t.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(l=t.openGraph)||void 0===l?void 0:l.imageWidth)||D&&String(D)||"1200"}),e.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(s=t.openGraph)||void 0===s?void 0:s.imageHeight)&&String(null===(c=t.openGraph)||void 0===c?void 0:c.imageHeight)||I&&String(I)||"630"})]}}return d}),[t.apiMetaData,t.openGraph,B,I,D,C,$,k,a,O]),H=`https://${O}/images/${a}.png`;return e.createElement(o,null,e.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===l&&e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===a?e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===a||"ms-MY"===a?e.createElement(e.Fragment,null):e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),e.createElement("link",{rel:"preconnect",href:P}),e.createElement("meta",{charSet:"UTF-8"}),e.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),e.createElement("meta",{name:"google",content:"notranslate"}),e.createElement("meta",{name:"robots",content:L}),e.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),_.map(((t,a)=>e.createElement("meta",Object.assign({key:a},t)))),e.createElement("meta",{name:"theme-color",content:"helloSites"===l?"#2c87f3":"#e85388"}),e.createElement("meta",{name:"page_type",content:"Home"}),e.createElement("meta",{name:"page_platform",content:"WEB"}),e.createElement("meta",{name:"page_language",content:M}),e.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),!F&&e.createElement(e.Fragment,null,"helloSites"===l?e.createElement("title",null,s?S:S+" - "+(null===(m=ee[a])||void 0===m?void 0:m.SITE_NAME)):e.createElement("title",null,S),!A&&e.createElement("link",{rel:"canonical",href:`https://${O}${$}`}),e.createElement("meta",{name:"description",content:N||(null===(p=t.openGraph)||void 0===p?void 0:p.description)}),t.schemaData&&e.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:t.schemaData}}),e.createElement("meta",{property:"og:locale",content:a}),e.createElement("meta",{property:"og:type",content:T||"website"}),e.createElement("meta",{property:"og:title",content:(null===(h=t.openGraph)||void 0===h?void 0:h.title)||S}),e.createElement("meta",{property:"og:description",content:(null===(u=t.openGraph)||void 0===u?void 0:u.description)||N}),e.createElement("meta",{property:"og:url",content:`https://${O}${$}`}),e.createElement("meta",{property:"og:site_name",content:`https://${O}`}),e.createElement("meta",{property:"og:image",content:(null===(g=t.openGraph)||void 0===g?void 0:g.image)||B||H||""}),e.createElement("meta",{property:"og:image:secure_url",content:(null===(b=t.openGraph)||void 0===b?void 0:b.image)||B||H}),e.createElement("meta",{property:"og:image:width",content:(null===(f=t.openGraph)||void 0===f?void 0:f.imageWidth)&&String(null===(v=t.openGraph)||void 0===v?void 0:v.imageWidth)||D&&String(D)||"1200"}),e.createElement("meta",{property:"og:image:height",content:(null===(y=t.openGraph)||void 0===y?void 0:y.imageHeight)&&String(null===(x=t.openGraph)||void 0===x?void 0:x.imageHeight)||I&&String(I)||"630"}),e.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),e.createElement("meta",{name:"twitter:title",content:(null===(w=t.twitter)||void 0===w?void 0:w.title)||S}),e.createElement("meta",{name:"twitter:description",content:N}),e.createElement("meta",{name:"twitter:image",content:(null===(E=t.twitter)||void 0===E?void 0:E.image)||B})),("helloSites"===l?te[M]||[]:te.marryBaby).map(((t,a)=>"link"===t.type?e.createElement("link",{key:`favicon-${a}`,rel:t.rel,href:t.href,sizes:t.sizes}):"meta"===t.type?e.createElement("meta",{key:a,name:t.name,content:t.content}):null)),Array.isArray(F)&&d?F.filter((e=>"canonical"!==e.props.name&&"canonical"!==e.props.rel)):F,d&&e.createElement("link",{rel:"canonical",href:d}),!t.hasNoAmp&&"vi-VN"!==a&&e.createElement("link",{rel:"amphtml",href:`https://${O}${$}${j}?amp=1`}),c&&"undefined"!=typeof window?e.createElement("script",{dangerouslySetInnerHTML:{__html:`window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '${c}'});`}}):null)};Ve.div`
1742
+ `;const ti=t=>{var{badgeAmount:a,disabled:n=!1,hasBadge:i=!1,icon:r,isActive:o=!1,isSpecial:l=!1,label:s}=t,c=se(t,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return e.createElement(Jn,Object.assign({"data-is-special":l,"data-is-active":o,"data-is-disabled":n},c),e.createElement("div",{className:"mobile-navigation-icon","data-no-label":!Boolean(s)},i&&e.createElement(ei,{"data-no-label":!Boolean(s)},e.createElement(p,{size:"s5",weight:"semiBold",color:l?le.colors.primaryBase:le.colors.white},a)),r),s&&e.createElement("span",{className:"mobile-navigation-label"},s))},ai=t=>{var{children:a,on:n="",isCollapsed:i=!1,template:r="homepage"}=t,o=se(t,["children","on","isCollapsed","template"]);return e.createElement(Qn,Object.assign({on:n,"data-is-collapsed":i,"data-template":r},o),a)};ai.Icon=ti;var ni={SAME:0,CAMELCASE:1,possibleStandardNames:{accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}};function ii(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==a)return;var n,i,r=[],o=!0,l=!1;try{for(a=a.call(e);!(o=(n=a.next()).done)&&(r.push(n.value),!t||r.length!==t);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==a.return||a.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ri(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return ri(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ri(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function oi(e,t,a,n,i,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=o}var li={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){li[e]=new oi(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=ii(e,2),a=t[0],n=t[1];li[a]=new oi(a,1,!1,n,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){li[e]=new oi(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){li[e]=new oi(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){li[e]=new oi(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){li[e]=new oi(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){li[e]=new oi(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){li[e]=new oi(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){li[e]=new oi(e,5,!1,e.toLowerCase(),null,!1,!1)}));var si=/[\-\:]([a-z])/g,ci=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(si,ci);li[t]=new oi(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(si,ci);li[t]=new oi(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(si,ci);li[t]=new oi(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){li[e]=new oi(e,1,!1,e.toLowerCase(),null,!1,!1)}));li.xlinkHref=new oi("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){li[e]=new oi(e,1,!1,e.toLowerCase(),null,!0,!0)}));var di=ni.CAMELCASE,mi=ni.SAME,pi=ni.possibleStandardNames,hi=function(e){return li.hasOwnProperty(e)?li[e]:null},ui=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),gi=Object.keys(pi).reduce((function(e,t){var a=pi[t];return a===mi?e[t]=t:a===di?e[t.toLowerCase()]=t:e[t]=a,e}),{}),bi=Object.defineProperty({BOOLEAN:3,BOOLEANISH_STRING:2,NUMERIC:5,OVERLOADED_BOOLEAN:4,POSITIVE_NUMERIC:6,RESERVED:0,STRING:1,getPropertyInfo:hi,isCustomAttribute:ui,possibleStandardNames:gi},"__esModule",{value:!0}),fi=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,vi=/\n/g,yi=/^\s*/,xi=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,wi=/^:\s*/,Ei=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ki=/^[;\s]*/,Ci=/^\s+|\s+$/g,Si="";function Ni(e){return e?e.replace(Ci,Si):Si}var Bi=function(e,t){var a,n=null;if(!e||"string"!=typeof e)return n;for(var i,r,o=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var a=1,n=1;function i(e){var t=e.match(vi);t&&(a+=t.length);var i=e.lastIndexOf("\n");n=~i?e.length-i:n+e.length}function r(){var e={line:a,column:n};return function(t){return t.position=new o(e),c(),t}}function o(e){this.start=e,this.end={line:a,column:n},this.source=t.source}function l(i){var r=new Error(t.source+":"+a+":"+n+": "+i);if(r.reason=i,r.filename=t.source,r.line=a,r.column=n,r.source=e,!t.silent)throw r}function s(t){var a=t.exec(e);if(a){var n=a[0];return i(n),e=e.slice(n.length),a}}function c(){s(yi)}function d(e){var t;for(e=e||[];t=m();)!1!==t&&e.push(t);return e}function m(){var t=r();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var a=2;Si!=e.charAt(a)&&("*"!=e.charAt(a)||"/"!=e.charAt(a+1));)++a;if(a+=2,Si===e.charAt(a-1))return l("End of comment missing");var o=e.slice(2,a-2);return n+=2,i(o),e=e.slice(a),n+=2,t({type:"comment",comment:o})}}function p(){var e=r(),t=s(xi);if(t){if(m(),!s(wi))return l("property missing ':'");var a=s(Ei),n=e({type:"declaration",property:Ni(t[0].replace(fi,Si)),value:a?Ni(a[0].replace(fi,Si)):Si});return s(ki),n}}return o.prototype.content=e,c(),function(){var e,t=[];for(d(t);e=p();)!1!==e&&(t.push(e),d(t));return t}()}(e),l="function"==typeof t,s=0,c=o.length;s<c;s++)i=(a=o[s]).property,r=a.value,l?t(i,r,a):r&&(n||(n={}),n[i]=r);return n},Ti=Ae((function(e,t){t.__esModule=!0,t.camelCase=void 0;var a=/^--[a-zA-Z0-9-]+$/,n=/-([a-z])/g,i=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||i.test(e)||a.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,s):e.replace(r,s)).replace(n,l))}})),Di=Ae((function(e,t){var a=Le&&Le.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var n=a(Bi);t.default=function(e,t){var a={};return e&&"string"==typeof e?((0,n.default)(e,(function(e,n){e&&n&&(a[(0,Ti.camelCase)(e,t)]=n)})),a):a}})),Ii=Di.default;var zi={reactCompat:!0};var _i=e.version.split(".")[0]>=16,Ai=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var Li={PRESERVE_CUSTOM_ATTRIBUTES:_i,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var a,n,i="function"==typeof t,r={},o={};for(a in e)n=e[a],i&&(r=t(a,n))&&2===r.length?o[r[0]]=r[1]:"string"==typeof n&&(o[n]=a);return o},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=Ii(e,zi)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!Ai.has(e.name)},elementsWithNoTextChildren:Ai},Pi=function(e){var t,a,n,i,r,o={},l=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(n=e[t],bi.isCustomAttribute(t))o[t]=n;else if(i=$i(a=t.toLowerCase()))switch(r=bi.getPropertyInfo(i),"checked"!==i&&"value"!==i||l||(i=$i("default"+a)),o[i]=n,r&&r.type){case bi.BOOLEAN:o[i]=!0;break;case bi.OVERLOADED_BOOLEAN:""===n&&(o[i]=!0)}else Li.PRESERVE_CUSTOM_ATTRIBUTES&&(o[t]=n);return Li.setStyleProp(e.style,o),o};function $i(e){return bi.possibleStandardNames[e]}var Mi=Li.setStyleProp,Oi=Li.canTextBeChildOfNode;function ji(e){return Li.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&Li.isCustomComponent(e.name,e.attribs)}var Fi=function t(a,n){for(var i,r,o,l,s,c=(n=n||{}).library||e,d=c.cloneElement,m=c.createElement,p=c.isValidElement,h=[],u="function"==typeof n.replace,g=n.trim,b=0,f=a.length;b<f;b++)if(i=a[b],u&&p(o=n.replace(i)))f>1&&(o=d(o,{key:o.key||b})),h.push(o);else if("text"!==i.type){switch(l=i.attribs,ji(i)?Mi(l.style,l):l&&(l=Pi(l)),s=null,i.type){case"script":case"style":i.children[0]&&(l.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?l.defaultValue=i.children[0].data:i.children&&i.children.length&&(s=t(i.children,n));break;default:continue}f>1&&(l.key=b),h.push(m(i.name,l,s))}else{if((r=!i.data.trim().length)&&i.parent&&!Oi(i.parent))continue;if(g&&r)continue;h.push(i.data)}return 1===h.length?h[0]:h},Hi=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ri=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};var Ui=function(e){var t;return e>=55296&&e<=57343||e>1114111?"�":Ri(null!==(t=Hi.get(e))&&void 0!==t?t:e)},Vi=Object.defineProperty({default:Ui},"__esModule",{value:!0}),Wi=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204]),Gi=Object.defineProperty({default:Wi},"__esModule",{value:!0}),qi=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34]),Zi=Gi,Yi=Object.defineProperty({default:qi},"__esModule",{value:!0}),Xi=Vi,Ki=Ae((function(e,t){var a=Le&&Le.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var n=a(Zi);t.htmlDecodeTree=n.default;var i=a(Yi);t.xmlDecodeTree=i.default;var r,o=a(Xi);function l(e){return function(t,a){for(var n="",i=0,l=0;(l=t.indexOf("&",l))>=0;)if(n+=t.slice(i,l),i=l,l+=1,35!==t.charCodeAt(l)){for(var c=null,d=1,m=0,p=e[m];l<t.length&&!((m=s(e,p,m+1,t.charCodeAt(l)))<0);l++,d++)(p=e[m])&r.HAS_VALUE&&(a&&59!==t.charCodeAt(l)?m+=1:(c=p&r.MULTI_BYTE?String.fromCharCode(e[++m],e[++m]):String.fromCharCode(e[++m]),d=0));null!=c&&(n+=c,i=l-d+1)}else{var h=l+1,u=10,g=t.charCodeAt(h);for(120==(32|g)&&(u=16,l+=1,h+=1);(g=t.charCodeAt(++l))>=48&&g<=57||16===u&&(32|g)>=97&&(32|g)<=102;);if(h!==l){var b=t.substring(h,l),f=parseInt(b,u);if(59===t.charCodeAt(l))l+=1;else if(a)continue;n+=o.default(f),i=l}}return n+t.slice(i)}}function s(e,a,n,i){if(a<=128)return i===a?n:-1;var o=(a&r.BRANCH_LENGTH)>>8;if(0===o)return-1;if(1===o)return i===e[n]?n+1:-1;var l=a&r.JUMP_TABLE;if(l){var s=i-t.JUMP_OFFSET_BASE-l;return s<0||s>o?-1:e[n+s]-1}for(var c=n,d=c+o-1;c<=d;){var m=c+d>>>1,p=e[m];if(p<i)c=m+1;else{if(!(p>i))return e[m+o];d=m-1}}return-1}!function(e){e[e.HAS_VALUE=32768]="HAS_VALUE",e[e.BRANCH_LENGTH=32512]="BRANCH_LENGTH",e[e.MULTI_BYTE=128]="MULTI_BYTE",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(r=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47,t.determineBranch=s;var c=l(n.default),d=l(i.default);t.decodeHTML=function(e){return c(e,!1)},t.decodeHTMLStrict=function(e){return c(e,!0)},t.decodeXML=function(e){return d(e,!0)}})),Ji=Ki,Qi=(Le&&Le.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(Xi);function er(e){return 32===e||10===e||9===e||12===e||13===e}function tr(e){return 47===e||62===e||er(e)}function ar(e){return e>=48&&e<=57}var nr={Cdata:new Uint16Array([67,68,65,84,65,91]),CdataEnd:new Uint16Array([93,93,62]),CommentEnd:new Uint16Array([45,45,62]),ScriptEnd:new Uint16Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint16Array([60,47,115,116,121,108,101]),TitleEnd:new Uint16Array([60,47,116,105,116,108,101])},ir=function(){function e(e,t){var a=e.xmlMode,n=void 0!==a&&a,i=e.decodeEntities,r=void 0===i||i;this.cbs=t,this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.isSpecial=!1,this.running=!0,this.ended=!1,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.trieResult=null,this.entityExcess=0,this.xmlMode=n,this.decodeEntities=r,this.entityTrie=n?Ji.xmlDecodeTree:Ji.htmlDecodeTree}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.currentSequence=void 0,this.running=!0,this.ended=!1},e.prototype.write=function(e){if(this.ended)return this.cbs.onerror(Error(".write() after done!"));this.buffer+=e,this.parse()},e.prototype.end=function(e){if(this.ended)return this.cbs.onerror(Error(".end() after done!"));e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteSectionStart=function(){return this.sectionStart+this.bufferOffset},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){60===e||!this.decodeEntities&&this.fastForwardTo(60)?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&38===e&&(this._state=25)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?tr(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this._state=3,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||er(e)){var t=this._index-this.currentSequence.length;if(this.sectionStart<t){var a=this._index;this._index=t,this.cbs.ontext(this.getSection()),this._index=a}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===nr.TitleEnd?this.decodeEntities&&38===e&&(this._state=25):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)},e.prototype.stateCDATASequence=function(e){e===nr.Cdata[this.sequenceIndex]?++this.sequenceIndex===nr.Cdata.length&&(this._state=21,this.currentSequence=nr.CdataEnd,this.sequenceIndex=0,this.sectionStart=this._index+1):(this.sequenceIndex=0,this._state=16,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this._index<this.buffer.length;)if(this.buffer.charCodeAt(this._index)===e)return!0;return this._index=this.buffer.length-1,!1},e.prototype.stateInCommentLike=function(e){if(e===this.currentSequence[this.sequenceIndex]){if(++this.sequenceIndex===this.currentSequence.length){var t=this.buffer.slice(this.sectionStart,this._index-2);this.currentSequence===nr.CdataEnd?this.cbs.oncdata(t):this.cbs.oncomment(t),this.sequenceIndex=0,this.sectionStart=this._index+1,this._state=1}}else 0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!tr(e):function(e){return e>=97&&e<=122||e>=65&&e<=90}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this._state=23},e.prototype.stateBeforeTagName=function(e){if(33===e)this._state=15,this.sectionStart=this._index+1;else if(63===e)this._state=17,this.sectionStart=this._index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this._index,this.xmlMode||t!==nr.TitleEnd[2]?this._state=this.xmlMode||t!==nr.ScriptEnd[2]?3:22:this.startSpecial(nr.TitleEnd,3)}else 47===e?this._state=5:(this._state=1,this.stateText(e))},e.prototype.stateInTagName=function(e){tr(e)&&(this.cbs.onopentagname(this.getSection()),this.sectionStart=-1,this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){er(e)||(62===e?this._state=1:(this._state=this.isTagStartChar(e)?6:20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(62===e||er(e))&&(this.cbs.onclosetag(this.getSection()),this.sectionStart=-1,this._state=7,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(62===e||this.fastForwardTo(62))&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){62===e?(this.cbs.onopentagend(),this.isSpecial?(this._state=24,this.sequenceIndex=0):this._state=1,this.baseState=this._state,this.sectionStart=this._index+1):47===e?this._state=4:er(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){62===e?(this.cbs.onselfclosingtag(),this._state=1,this.baseState=1,this.sectionStart=this._index+1,this.isSpecial=!1):er(e)||(this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(61===e||tr(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){61===e?this._state=11:47===e||62===e?(this.cbs.onattribend(void 0),this._state=8,this.stateBeforeAttributeName(e)):er(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){34===e?(this._state=12,this.sectionStart=this._index+1):39===e?(this._state=13,this.sectionStart=this._index+1):er(e)||(this.sectionStart=this._index,this._state=14,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(String.fromCharCode(t)),this._state=8):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,34)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,39)},e.prototype.stateInAttributeValueNoQuotes=function(e){er(e)||62===e?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(null),this._state=8,this.stateBeforeAttributeName(e)):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateBeforeDeclaration=function(e){91===e?(this._state=19,this.sequenceIndex=0):this._state=45===e?18:16},e.prototype.stateInDeclaration=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){45===e?(this._state=21,this.currentSequence=nr.CommentEnd,this.sequenceIndex=2,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInSpecialComment=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===nr.ScriptEnd[3]?this.startSpecial(nr.ScriptEnd,4):t===nr.StyleEnd[3]?this.startSpecial(nr.StyleEnd,4):(this._state=3,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,35===e?this._state=26:38===e||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.trieResult=null,this._state=27,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,Ji.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this._index--;if(this.trieCurrent=this.entityTrie[this.trieIndex],this.trieCurrent&Ji.BinTrieFlags.HAS_VALUE)if(this.allowLegacyEntity()||59===e){var t=this._index-this.entityExcess+1;t>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,t)),this.trieResult=this.trieCurrent&Ji.BinTrieFlags.MULTI_BYTE?String.fromCharCode(this.entityTrie[++this.trieIndex],this.entityTrie[++this.trieIndex]):String.fromCharCode(this.entityTrie[++this.trieIndex]),this.entityExcess=0,this.sectionStart=this._index+1}else this.trieIndex+=1},e.prototype.emitNamedEntity=function(){this.trieResult&&this.emitPartial(this.trieResult),this._state=this.baseState},e.prototype.stateBeforeNumericEntity=function(e){120==(32|e)?(this.entityExcess++,this._state=29):(this._state=28,this.stateInNumericEntity(e))},e.prototype.decodeNumericEntity=function(e,t){var a=this._index-this.entityExcess-1,n=a+2+(e>>4);if(n!==this._index){a>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,a));var i=this.buffer.substring(n,this._index),r=parseInt(i,e);this.emitPartial((0,Qi.default)(r)),this.sectionStart=this._index+Number(t)}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){59===e?this.decodeNumericEntity(10,!0):ar(e)?this.entityExcess++:(this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):this._state=this.baseState,this._index--)},e.prototype.stateInHexEntity=function(e){59===e?this.decodeNumericEntity(16,!0):(e<97||e>102)&&(e<65||e>70)&&!ar(e)?(this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):this._state=this.baseState,this._index--):this.entityExcess++},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(1===this.baseState||24===this.baseState)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this._index&&(1===this._state||24===this._state&&0===this.sequenceIndex)&&(this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.sectionStart=this._index);var e=this.sectionStart<0?this._index:this.sectionStart;this.buffer=e===this.buffer.length?"":this.buffer.substr(e),this._index-=e,this.bufferOffset+=e,this.sectionStart>0&&(this.sectionStart=0)},e.prototype.shouldContinue=function(){return this._index<this.buffer.length&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this._index);1===this._state?this.stateText(e):23===this._state?this.stateSpecialStartSequence(e):24===this._state?this.stateInSpecialTag(e):19===this._state?this.stateCDATASequence(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):21===this._state?this.stateInCommentLike(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):22===this._state?this.stateBeforeSpecialS(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):18===this._state?this.stateBeforeComment(e):17===this._state?this.stateInProcessingInstruction(e):27===this._state?this.stateInNamedEntity(e):25===this._state?this.stateBeforeEntity(e):29===this._state?this.stateInHexEntity(e):28===this._state?this.stateInNumericEntity(e):this.stateBeforeNumericEntity(e),this._index++}this.cleanup()},e.prototype.finish=function(){27===this._state&&this.emitNamedEntity(),this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);21===this._state?this.currentSequence===nr.CdataEnd?this.cbs.oncdata(e):this.cbs.oncomment(e):28===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):29===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):3===this._state||8===this._state||11===this._state||10===this._state||9===this._state||13===this._state||12===this._state||14===this._state||6===this._state||this.cbs.ontext(e)},e.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},e.prototype.emitPartial=function(e){1!==this.baseState&&24!==this.baseState?this.cbs.onattribdata(e):this.cbs.ontext(e)},e}(),rr=Object.defineProperty({default:ir},"__esModule",{value:!0}),or=Ae((function(e,t){var a=Le&&Le.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var n=a(rr),i=new Set(["input","option","optgroup","select","button","datalist","textarea"]),r=new Set(["p"]),o=new Set(["thead","tbody"]),l=new Set(["dd","dt"]),s=new Set(["rt","rp"]),c=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",r],["h1",r],["h2",r],["h3",r],["h4",r],["h5",r],["h6",r],["select",i],["input",i],["output",i],["button",i],["datalist",i],["textarea",i],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",l],["dt",l],["address",r],["article",r],["aside",r],["blockquote",r],["details",r],["div",r],["dl",r],["fieldset",r],["figcaption",r],["figure",r],["footer",r],["form",r],["header",r],["hr",r],["main",r],["nav",r],["ol",r],["pre",r],["section",r],["table",r],["ul",r],["rt",s],["rp",s],["tbody",o],["tfoot",o]]),d=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),m=new Set(["math","svg"]),p=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),h=/\s|\//,u=function(){function e(e,t){var a,i,r,o,l;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(a=t.lowerCaseTags)&&void 0!==a?a:!t.xmlMode,this.lowerCaseAttributeNames=null!==(i=t.lowerCaseAttributeNames)&&void 0!==i?i:!t.xmlMode,this.tokenizer=new(null!==(r=t.Tokenizer)&&void 0!==r?r:n.default)(this.options,this),null===(l=(o=this.cbs).onparserinit)||void 0===l||l.call(o,this)}return e.prototype.ontext=function(e){var t,a,n=this.tokenizer.getAbsoluteIndex();this.endIndex=n-1,null===(a=(t=this.cbs).ontext)||void 0===a||a.call(t,e),this.startIndex=n},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&d.has(e)},e.prototype.onopentagname=function(e){this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),this.emitOpenTag(e)},e.prototype.emitOpenTag=function(e){var t,a,n,i;this.openTagStart=this.startIndex,this.tagname=e;var r=!this.options.xmlMode&&c.get(e);if(r)for(;this.stack.length>0&&r.has(this.stack[this.stack.length-1]);){var o=this.stack.pop();null===(a=(t=this.cbs).onclosetag)||void 0===a||a.call(t,o,!0)}this.isVoidElement(e)||(this.stack.push(e),m.has(e)?this.foreignContext.push(!0):p.has(e)&&this.foreignContext.push(!1)),null===(i=(n=this.cbs).onopentagname)||void 0===i||i.call(n,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,a;this.startIndex=this.openTagStart,this.endIndex=this.tokenizer.getAbsoluteIndex(),this.attribs&&(null===(a=(t=this.cbs).onopentag)||void 0===a||a.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(){this.endOpenTag(!1),this.startIndex=this.endIndex+1},e.prototype.onclosetag=function(e){var t,a,n,i,r,o;if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),(m.has(e)||p.has(e))&&this.foreignContext.pop(),this.isVoidElement(e))this.options.xmlMode||"br"!==e||(null===(a=(t=this.cbs).onopentagname)||void 0===a||a.call(t,e),null===(i=(n=this.cbs).onopentag)||void 0===i||i.call(n,e,{},!0),null===(o=(r=this.cbs).onclosetag)||void 0===o||o.call(r,e,!1));else{var l=this.stack.lastIndexOf(e);if(-1!==l)if(this.cbs.onclosetag)for(var s=this.stack.length-l;s--;)this.cbs.onclosetag(this.stack.pop(),0!==s);else this.stack.length=l;else this.options.xmlMode||"p"!==e||(this.emitOpenTag(e),this.closeCurrentTag(!0))}this.startIndex=this.endIndex+1},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=this.endIndex+1):this.onopentagend()},e.prototype.closeCurrentTag=function(e){var t,a,n=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===n&&(null===(a=(t=this.cbs).onclosetag)||void 0===a||a.call(t,n,!e),this.stack.pop())},e.prototype.onattribname=function(e){this.startIndex=this.tokenizer.getAbsoluteSectionStart(),this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,a;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(a=(t=this.cbs).onattribute)||void 0===a||a.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(h),a=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(a=a.toLowerCase()),a},e.prototype.ondeclaration=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}this.startIndex=this.endIndex+1},e.prototype.onprocessinginstruction=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}this.startIndex=this.endIndex+1},e.prototype.oncomment=function(e){var t,a,n,i;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(a=(t=this.cbs).oncomment)||void 0===a||a.call(t,e),null===(i=(n=this.cbs).oncommentend)||void 0===i||i.call(n),this.startIndex=this.endIndex+1},e.prototype.oncdata=function(e){var t,a,n,i,r,o,l,s,c,d;this.endIndex=this.tokenizer.getAbsoluteIndex(),this.options.xmlMode||this.options.recognizeCDATA?(null===(a=(t=this.cbs).oncdatastart)||void 0===a||a.call(t),null===(i=(n=this.cbs).ontext)||void 0===i||i.call(n,e),null===(o=(r=this.cbs).oncdataend)||void 0===o||o.call(r)):(null===(s=(l=this.cbs).oncomment)||void 0===s||s.call(l,"[CDATA["+e+"]]"),null===(d=(c=this.cbs).oncommentend)||void 0===d||d.call(c)),this.startIndex=this.endIndex+1},e.prototype.onerror=function(e){var t,a;null===(a=(t=this.cbs).onerror)||void 0===a||a.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var a=this.stack.length;a>0;this.cbs.onclosetag(this.stack[--a],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,a,n;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],this.startIndex=0,this.endIndex=0,null===(n=(a=this.cbs).onparserinit)||void 0===n||n.call(a,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=u})),lr=Ae((function(e,t){var a;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(a=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===a.Tag||e.type===a.Script||e.type===a.Style},t.Root=a.Root,t.Text=a.Text,t.Directive=a.Directive,t.Comment=a.Comment,t.Script=a.Script,t.Style=a.Style,t.Tag=a.Tag,t.CDATA=a.CDATA,t.Doctype=a.Doctype})),sr=Ae((function(e,t){var a,n=Le&&Le.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=Le&&Le.__assign||function(){return i=Object.assign||function(e){for(var t,a=1,n=arguments.length;a<n;a++)for(var i in t=arguments[a])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var r=new Map([[lr.ElementType.Tag,1],[lr.ElementType.Script,1],[lr.ElementType.Style,1],[lr.ElementType.Directive,1],[lr.ElementType.Text,3],[lr.ElementType.CDATA,4],[lr.ElementType.Comment,8],[lr.ElementType.Root,9]]),o=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=r.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),x(this,e)},e}();t.Node=o;var l=function(e){function t(t,a){var n=e.call(this,t)||this;return n.data=a,n}return n(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(o);t.DataNode=l;var s=function(e){function t(t){return e.call(this,lr.ElementType.Text,t)||this}return n(t,e),t}(l);t.Text=s;var c=function(e){function t(t){return e.call(this,lr.ElementType.Comment,t)||this}return n(t,e),t}(l);t.Comment=c;var d=function(e){function t(t,a){var n=e.call(this,lr.ElementType.Directive,a)||this;return n.name=t,n}return n(t,e),t}(l);t.ProcessingInstruction=d;var m=function(e){function t(t,a){var n=e.call(this,t)||this;return n.children=a,n}return n(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(o);t.NodeWithChildren=m;var p=function(e){function t(t){return e.call(this,lr.ElementType.Root,t)||this}return n(t,e),t}(m);t.Document=p;var h=function(e){function t(t,a,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?lr.ElementType.Script:"style"===t?lr.ElementType.Style:lr.ElementType.Tag);var r=e.call(this,i,n)||this;return r.name=t,r.attribs=a,r}return n(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var a,n;return{name:t,value:e.attribs[t],namespace:null===(a=e["x-attribsNamespace"])||void 0===a?void 0:a[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(m);function u(e){return(0,lr.isTag)(e)}function g(e){return e.type===lr.ElementType.CDATA}function b(e){return e.type===lr.ElementType.Text}function f(e){return e.type===lr.ElementType.Comment}function v(e){return e.type===lr.ElementType.Directive}function y(e){return e.type===lr.ElementType.Root}function x(e,t){var a;if(void 0===t&&(t=!1),b(e))a=new s(e.data);else if(f(e))a=new c(e.data);else if(u(e)){var n=t?w(e.children):[],r=new h(e.name,i({},e.attribs),n);n.forEach((function(e){return e.parent=r})),null!=e.namespace&&(r.namespace=e.namespace),e["x-attribsNamespace"]&&(r["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(r["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),a=r}else if(g(e)){n=t?w(e.children):[];var o=new m(lr.ElementType.CDATA,n);n.forEach((function(e){return e.parent=o})),a=o}else if(y(e)){n=t?w(e.children):[];var l=new p(n);n.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),a=l}else{if(!v(e))throw new Error("Not implemented yet: ".concat(e.type));var x=new d(e.name,e.data);null!=e["x-name"]&&(x["x-name"]=e["x-name"],x["x-publicId"]=e["x-publicId"],x["x-systemId"]=e["x-systemId"]),a=x}return a.startIndex=e.startIndex,a.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(a.sourceCodeLocation=e.sourceCodeLocation),a}function w(e){for(var t=e.map((function(e){return x(e,!0)})),a=1;a<t.length;a++)t[a].prev=t[a-1],t[a-1].next=t[a];return t}t.Element=h,t.isTag=u,t.isCDATA=g,t.isText=b,t.isComment=f,t.isDirective=v,t.isDocument=y,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=x})),cr=sr,dr=Ae((function(e,t){var a=Le&&Le.__createBinding||(Object.create?function(e,t,a,n){void 0===n&&(n=a);var i=Object.getOwnPropertyDescriptor(t,a);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,n,i)}:function(e,t,a,n){void 0===n&&(n=a),e[n]=t[a]}),n=Le&&Le.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0,n(cr,t);var i=/\s+/g,r={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},o=function(){function e(e,t,a){this.dom=[],this.root=new cr.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(a=t,t=r),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:r,this.elementCB=null!=a?a:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new cr.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var a=this.options.xmlMode?lr.ElementType.Tag:void 0,n=new cr.Element(e,t,void 0,a);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,a=this.lastNode;if(a&&a.type===lr.ElementType.Text)t?a.data=(a.data+e).replace(i," "):a.data+=e,this.options.withEndIndices&&(a.endIndex=this.parser.endIndex);else{t&&(e=e.replace(i," "));var n=new cr.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===lr.ElementType.Comment)this.lastNode.data+=e;else{var t=new cr.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new cr.Text(""),t=new cr.NodeWithChildren(lr.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var a=new cr.ProcessingInstruction(e,t);this.addNode(a)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],a=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),a&&(e.prev=a,a.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=o,t.default=o}));var mr=function(e){for(var t=0,a=e.length;t<a;t++){e[t].parent=null}return e},pr=dr,hr=or.Parser,ur=pr.DomHandler,gr=mr;var br=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string.");if(""===e)return[];var a=new ur(void 0,t);return new hr(a,t).end(e),gr(a.dom)};br="function"==typeof br.default?br.default:br;var fr={lowerCaseAttributeNames:!1};function vr(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:Fi(br(e,(t=t||{}).htmlparser2||fr),t)}vr.domToReact=Fi,vr.htmlToDOM=br,vr.attributesToProps=Pi,vr.Element=pr.Element;var yr=vr,xr=vr;yr.default=xr,yr.domToReact,yr.htmlToDOM,yr.attributesToProps,yr.Element;const wr=({SEOData:t={},locale:a="vi-VN",routerPathname:i,routerQuery:r,nextHead:o,siteType:l,seoCustom:s,userId:c,forcedCanonicalUrl:d})=>{var m,p,h,u,g,b,f,v,y,x,w,E;const{totalPages:k,currentPage:C,SEOTitle:S="",SEODescription:N="",SEOImage:B,seoType:T,SEOImageWidth:D,SEOImageHeight:I,customMetaData:z=[],isIndexable:_=!0,hasNoCanonical:A=!1}=t,L=_&&J?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",{NEXT_PUBLIC_BASE_API_URL:P}=process.env;let $=t.canonicalUrl||i;Object.keys(r).forEach((e=>{const t=r[e];t&&Array.isArray(t)&&($=$.replace(`[...${e}]`,t.join("/")))}));const M=a||"en-PH",O="helloSites"===l?Q[M]:"www.marrybaby.vn",j=$.endsWith("/")?"":"/",F=n((()=>{var n,i,r,o,l,s,c;let d="";if(t.apiMetaData&&"string"==typeof t.apiMetaData){const m=null===(n=t.apiMetaData)||void 0===n?void 0:n.match(/<title.*?>(.*)<\/title>/),p=` - Page ${C} of ${k}`,h=C&&1!==C&&m?t.apiMetaData.replace(m[0],m[0].includes("-")?m[0].replace("-",p+" - "):`<title>${m[1].concat(p)}</title>`).replace(`<link rel="canonical" href="https://${O}${$}${j}" />`,`<link rel="canonical" href="https://${O}${$}${j}?page=${C}" />`):t.apiMetaData;if(d=yr(h,{trim:!0}),!d.find((e=>{var t,a;return"og:image"===(null===(t=e.props)||void 0===t?void 0:t.property)||"og:image:secure_url"===(null===(a=e.props)||void 0===a?void 0:a.property)}))){const n=`https://${O}/images/${a}.png`;d=[...d,e.createElement("meta",{key:"og:image",property:"og:image",content:(null===(i=t.openGraph)||void 0===i?void 0:i.image)||B||n||""}),e.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(r=t.openGraph)||void 0===r?void 0:r.image)||B||n}),e.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=t.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(l=t.openGraph)||void 0===l?void 0:l.imageWidth)||D&&String(D)||"1200"}),e.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(s=t.openGraph)||void 0===s?void 0:s.imageHeight)&&String(null===(c=t.openGraph)||void 0===c?void 0:c.imageHeight)||I&&String(I)||"630"})]}}return d}),[t.apiMetaData,t.openGraph,B,I,D,C,$,k,a,O]),H=`https://${O}/images/${a}.png`;return e.createElement(o,null,e.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===l&&e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===a?e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===a||"ms-MY"===a?e.createElement(e.Fragment,null):e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),e.createElement("link",{rel:"preconnect",href:P}),e.createElement("meta",{charSet:"UTF-8"}),e.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),e.createElement("meta",{name:"google",content:"notranslate"}),e.createElement("meta",{name:"robots",content:L}),e.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),z.map(((t,a)=>e.createElement("meta",Object.assign({key:a},t)))),e.createElement("meta",{name:"theme-color",content:"helloSites"===l?"#2c87f3":"#e85388"}),e.createElement("meta",{name:"page_type",content:"Home"}),e.createElement("meta",{name:"page_platform",content:"WEB"}),e.createElement("meta",{name:"page_language",content:M}),e.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),!F&&e.createElement(e.Fragment,null,"helloSites"===l?e.createElement("title",null,s?S:S+" - "+(null===(m=ee[a])||void 0===m?void 0:m.SITE_NAME)):e.createElement("title",null,S),!A&&e.createElement("link",{rel:"canonical",href:`https://${O}${$}`}),e.createElement("meta",{name:"description",content:N||(null===(p=t.openGraph)||void 0===p?void 0:p.description)}),t.schemaData&&e.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:t.schemaData}}),e.createElement("meta",{property:"og:locale",content:a}),e.createElement("meta",{property:"og:type",content:T||"website"}),e.createElement("meta",{property:"og:title",content:(null===(h=t.openGraph)||void 0===h?void 0:h.title)||S}),e.createElement("meta",{property:"og:description",content:(null===(u=t.openGraph)||void 0===u?void 0:u.description)||N}),e.createElement("meta",{property:"og:url",content:`https://${O}${$}`}),e.createElement("meta",{property:"og:site_name",content:`https://${O}`}),e.createElement("meta",{property:"og:image",content:(null===(g=t.openGraph)||void 0===g?void 0:g.image)||B||H||""}),e.createElement("meta",{property:"og:image:secure_url",content:(null===(b=t.openGraph)||void 0===b?void 0:b.image)||B||H}),e.createElement("meta",{property:"og:image:width",content:(null===(f=t.openGraph)||void 0===f?void 0:f.imageWidth)&&String(null===(v=t.openGraph)||void 0===v?void 0:v.imageWidth)||D&&String(D)||"1200"}),e.createElement("meta",{property:"og:image:height",content:(null===(y=t.openGraph)||void 0===y?void 0:y.imageHeight)&&String(null===(x=t.openGraph)||void 0===x?void 0:x.imageHeight)||I&&String(I)||"630"}),e.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),e.createElement("meta",{name:"twitter:title",content:(null===(w=t.twitter)||void 0===w?void 0:w.title)||S}),e.createElement("meta",{name:"twitter:description",content:N}),e.createElement("meta",{name:"twitter:image",content:(null===(E=t.twitter)||void 0===E?void 0:E.image)||B})),("helloSites"===l?te[M]||[]:te.marryBaby).map(((t,a)=>"link"===t.type?e.createElement("link",{key:`favicon-${a}`,rel:t.rel,href:t.href,sizes:t.sizes}):"meta"===t.type?e.createElement("meta",{key:a,name:t.name,content:t.content}):null)),Array.isArray(F)&&d?F.filter((e=>"canonical"!==e.props.name&&"canonical"!==e.props.rel)):F,d&&e.createElement("link",{rel:"canonical",href:d}),!t.hasNoAmp&&"vi-VN"!==a&&e.createElement("link",{rel:"amphtml",href:`https://${O}${$}${j}?amp=1`}),c&&"undefined"!=typeof window?e.createElement("script",{dangerouslySetInnerHTML:{__html:`window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '${c}'});`}}):null)};Ve.div`
1743
1743
  margin-top: 13px;
1744
1744
  &[data-is-mobile='false'] {
1745
1745
  display: flex;
@@ -1780,7 +1780,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1780
1780
  height: 14px;
1781
1781
  }
1782
1782
  }
1783
- `;const vr="hhgcomp-toolbanner-iconcontainer";P(Ve.div`
1783
+ `;const Er="hhgcomp-toolbanner-iconcontainer";P(Ve.div`
1784
1784
  position: absolute;
1785
1785
  z-index: 0;
1786
1786
  right: 0;
@@ -1798,7 +1798,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1798
1798
  ${Z.mbDown} {
1799
1799
  width: 70px;
1800
1800
  }
1801
- `,vr),Ve.div`
1801
+ `,Er),Ve.div`
1802
1802
  position: relative;
1803
1803
  z-index: 1;
1804
1804
  max-width: 100%;
@@ -1809,9 +1809,9 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1809
1809
  max-width: calc(100% - 120px);
1810
1810
  }
1811
1811
  }
1812
- `;const yr="hhgcomp-toolbanner-inner";P(Ve.div`
1812
+ `;const kr="hhgcomp-toolbanner-inner";P(Ve.div`
1813
1813
  position: relative;
1814
- `,yr);const xr="hhgcomp-toolbanner-wrapper",wr=P(Ve.div`
1814
+ `,kr);const Cr="hhgcomp-toolbanner-wrapper",Sr=P(Ve.div`
1815
1815
  position: relative;
1816
1816
  width: 100%;
1817
1817
  height: 100%;
@@ -1827,7 +1827,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1827
1827
  border-top-right-radius: 16px;
1828
1828
  }
1829
1829
  }
1830
- `,xr),Er=Ve.div`
1830
+ `,Cr),Nr=Ve.div`
1831
1831
  width: 100%;
1832
1832
  ${Z.mbDown} {
1833
1833
  padding-bottom: 24px;
@@ -1849,14 +1849,14 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1849
1849
 
1850
1850
  ${Z.tdDown} {
1851
1851
  height: auto;
1852
- .${xr} {
1853
- .${yr} {
1852
+ .${Cr} {
1853
+ .${kr} {
1854
1854
  display: flex;
1855
1855
  align-items: center;
1856
1856
  ${Z.mbDown} {
1857
1857
  justify-content: space-between;
1858
1858
  }
1859
- .${vr} {
1859
+ .${Er} {
1860
1860
  position: relative;
1861
1861
  right: -50px;
1862
1862
  bottom: -20px;
@@ -1873,7 +1873,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1873
1873
  }
1874
1874
  }
1875
1875
  }
1876
- `,kr=Ve.div`
1876
+ `,Br=Ve.div`
1877
1877
  display: flex;
1878
1878
  flex-direction: row;
1879
1879
  align-items: center;
@@ -1884,7 +1884,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1884
1884
  ${Z.mbDown} {
1885
1885
  padding: 16px 0;
1886
1886
  }
1887
- `,Cr=Ve.div`
1887
+ `,Tr=Ve.div`
1888
1888
  background: #ffffff;
1889
1889
  border-radius: 16px;
1890
1890
  width: 48px;
@@ -1899,14 +1899,14 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1899
1899
  max-height: 24px;
1900
1900
  transform: translate(-50%, -50%);
1901
1901
  }
1902
- `,Sr=Ve.div`
1902
+ `,Dr=Ve.div`
1903
1903
  display: flex;
1904
1904
  align-items: flex-start;
1905
1905
  flex-direction: column;
1906
1906
  justify-content: space-between;
1907
1907
  gap: 0;
1908
1908
  width: 100%;
1909
- `,Nr=Ve.div`
1909
+ `,Ir=Ve.div`
1910
1910
  display: flex;
1911
1911
  align-items: flex-start;
1912
1912
  font-weight: 400;
@@ -1931,7 +1931,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1931
1931
  height: 14px;
1932
1932
  }
1933
1933
  }
1934
- `,Br=({className:t,heading:a,color:n="blue",isMobile:i,bannerUrl:r,bannerUrlLarge:o,bannerColor:l,medicalReview:s={link:"#",reviewer:"",date:""},icon:c,style:d,siteType:m,isEmbeded:h})=>{var u,g;const{t:b}=K(),f=ve(),v=i?r:o||r,y={pink:[8,6]},x=f.colors[n]||f.colors.blue,w=(null==s?void 0:s.reviewer)?e.createElement(p,{size:"label2",color:"#fff",as:"div",className:"embedded-review",sx:{a:{textUnderlineOffset:"2px",color:"#fff",textDecoration:"underline"}}},e.createElement("div",{dangerouslySetInnerHTML:{__html:b("toolPage.toolReviewer",{expert_name:`<a href="${s.link}">${s.reviewer.trim()}</a>`,date:s.date})}})):null;return e.createElement(Er,{"data-is-mobile":i,style:d,"data-site":m},e.createElement(wr,{className:t,"data-banner-url":v,"data-is-mobile":i,"data-site":m,"data-banner-color":l,"data-is-embedded":h,bgColor:`linear-gradient(71deg, ${null==x?void 0:x[(null===(u=y[n])||void 0===u?void 0:u[0])||7]} -4.07%, ${null==x?void 0:x[(null===(g=y[n])||void 0===g?void 0:g[1])||4]} 90.13%)}`},"marryBaby"===m&&h?e.createElement(kr,null,e.createElement(Cr,null,c),e.createElement(Sr,null,e.createElement(A,{color:"white",tag:"h5",as:"h2"},a),s&&e.createElement(Nr,{"data-is-mobile":i},w))):e.createElement(pe,{gap:he(24),align:"center",justify:"space-between",sx:{padding:`${he(13)} ${he(20)}`,gap:he(24)}},e.createElement(de,null,e.createElement(A,{tag:"h5",as:"h2",color:"#fff"},a),s&&e.createElement(p,{size:"n1",as:"div"},w)),e.createElement(pe,{justify:"center",align:"center",sx:e=>{var t,a;return{width:he(64),height:he(64),borderRadius:"50%",background:(null===(a=null===(t=e.colors)||void 0===t?void 0:t[n])||void 0===a?void 0:a[0])||e.colors.blue[0],flexShrink:0,img:{maxWidth:he(48),maxHeight:he(48)},[e.fn.smallerThan("sm")]:{width:he(56),height:he(56),img:{maxWidth:he(40),maxHeight:he(40)}}}}},c))))},Tr=Ve(gt)`
1934
+ `,zr=({className:t,heading:a,color:n="blue",isMobile:i,bannerUrl:r,bannerUrlLarge:o,bannerColor:l,medicalReview:s={link:"#",reviewer:"",date:""},icon:c,style:d,siteType:m,isEmbeded:h})=>{var u,g;const{t:b}=K(),f=ve(),v=i?r:o||r,y={pink:[8,6]},x=f.colors[n]||f.colors.blue,w=(null==s?void 0:s.reviewer)?e.createElement(p,{size:"label2",color:"#fff",as:"div",className:"embedded-review",sx:{a:{textUnderlineOffset:"2px",color:"#fff",textDecoration:"underline"}}},e.createElement("div",{dangerouslySetInnerHTML:{__html:b("toolPage.toolReviewer",{expert_name:`<a href="${s.link}">${s.reviewer.trim()}</a>`,date:s.date})}})):null;return e.createElement(Nr,{"data-is-mobile":i,style:d,"data-site":m},e.createElement(Sr,{className:t,"data-banner-url":v,"data-is-mobile":i,"data-site":m,"data-banner-color":l,"data-is-embedded":h,bgColor:`linear-gradient(71deg, ${null==x?void 0:x[(null===(u=y[n])||void 0===u?void 0:u[0])||7]} -4.07%, ${null==x?void 0:x[(null===(g=y[n])||void 0===g?void 0:g[1])||4]} 90.13%)}`},"marryBaby"===m&&h?e.createElement(Br,null,e.createElement(Tr,null,c),e.createElement(Dr,null,e.createElement(A,{color:"white",tag:"h5",as:"h2"},a),s&&e.createElement(Ir,{"data-is-mobile":i},w))):e.createElement(pe,{gap:he(24),align:"center",justify:"space-between",sx:{padding:`${he(13)} ${he(20)}`,gap:he(24)}},e.createElement(de,null,e.createElement(A,{tag:"h5",as:"h2",color:"#fff"},a),s&&e.createElement(p,{size:"n1",as:"div"},w)),e.createElement(pe,{justify:"center",align:"center",sx:e=>{var t,a;return{width:he(64),height:he(64),borderRadius:"50%",background:(null===(a=null===(t=e.colors)||void 0===t?void 0:t[n])||void 0===a?void 0:a[0])||e.colors.blue[0],flexShrink:0,img:{maxWidth:he(48),maxHeight:he(48)},[e.fn.smallerThan("sm")]:{width:he(56),height:he(56),img:{maxWidth:he(40),maxHeight:he(40)}}}}},c))))},_r=Ve(gt)`
1935
1935
  border-color: ${e=>e.theme.mbColors.lightGray};
1936
1936
  background-color: ${e=>e.theme.colors.white};
1937
1937
  border-radius: 16px;
@@ -1973,7 +1973,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
1973
1973
  & .displayIcon {
1974
1974
  pointer-events: none;
1975
1975
  }
1976
- `;const Dr=Ve(Je)`
1976
+ `;const Ar=Ve(Je)`
1977
1977
  & label {
1978
1978
  position: absolute;
1979
1979
  z-index: 1;
@@ -2050,9 +2050,9 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2050
2050
  padding-right: 46px;
2051
2051
  }
2052
2052
  }
2053
- `,Ir=Ve.div`
2053
+ `,Lr=Ve.div`
2054
2054
  width: 100%;
2055
- `,_r=Ve.div`
2055
+ `,Pr=Ve.div`
2056
2056
  #due-date-dropdown {
2057
2057
  z-index: 9;
2058
2058
  width: 100%;
@@ -2078,7 +2078,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2078
2078
  display: flex;
2079
2079
  width: 100%;
2080
2080
  justify-content: space-between;
2081
- `,zr=Ve(Ir)`
2081
+ `,$r=Ve(Lr)`
2082
2082
  .due-date-input {
2083
2083
  width: 100%;
2084
2084
  min-width: unset;
@@ -2118,14 +2118,14 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2118
2118
  line-height: 16px;
2119
2119
  text-align: right;
2120
2120
  }
2121
- `;var Ar;Ve(Ve.img`
2121
+ `;var Mr;Ve(Ve.img`
2122
2122
  img& {
2123
2123
  width: 16px;
2124
2124
  height: 16px;
2125
2125
  }
2126
2126
  `)`
2127
2127
  margin-right: 4px;
2128
- `,function(e){e[e.lastPeriod=0]="lastPeriod",e[e.conception=1]="conception",e[e.IVF=2]="IVF"}(Ar||(Ar={}));const Lr="yyyy-MM-dd",Pr=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,$r=({locale:a,onClick:n,siteType:i,pageUrl:r})=>{const{t:o}=K(),[l,s]=t(new Date);return e.createElement(e.Fragment,null,e.createElement(zr,{className:"input-form","data-is-side":!0},"marryBaby"===i?e.createElement(Dr,{label:o("dueDatePage.conceptionDate"),name:"date",size:"md",value:Pr(l),CustomInput:e.createElement(Ia,{onChange:e=>{s(e)},placeholder:"dd/mm/yyyy",pickedDate:l,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:t=>e.createElement(Je,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:l&&Ue(l).format(O)}))}),actionIcon:e.createElement(h.CalendarMB,{size:32})}):e.createElement(Je,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600,style:{marginBottom:"9px",flex:"1"}},o("dueDatePage.conceptionDate")),value:Pr(l),name:"date",size:"md",className:"due-date-input",CustomInput:e.createElement(Ia,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:Pr(l)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:l,displayDateFormat:pt,onChange:e=>{s(e)},placeholder:"placeholder"})})),e.createElement(Pe,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===i?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,onClick:()=>{n((e=>{const t=new Date(e);return t.setDate(t.getDate()+265),{startDate:e,dueDate:t,otherInfo:{method:Ar.conception+1,conception_date:Qe(e,Lr),first_day:null,cycle_length_days:null,ivf_transfer_date:null,days_transfer:null}}})(l),`${ae.type}=1&sd=${Qe(l,Lr)}&${ae.additional}= `)},role:"button"},o("dueDatePage.lastPeriod.calculate")))},Mr=({locale:a,onClick:n,siteType:i,pageUrl:r})=>{const{t:o}=K(),[l,s]=t(new Date),[c,d]=t("3");return e.createElement(e.Fragment,null,e.createElement(zr,{className:"input-form","data-is-side":!0},"marryBaby"===i?e.createElement(Dr,{label:o("dueDatePage.ivf.transferDate"),name:"date",size:"md",value:Pr(l),CustomInput:e.createElement(Ia,{onChange:e=>{s(e)},placeholder:"dd/mm/yyyy",pickedDate:l,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:t=>e.createElement(Je,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:l&&Ue(l).format(O)}))}),actionIcon:e.createElement(h.CalendarMB,{size:32})}):e.createElement(Je,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray700,style:{marginBottom:"9px",flex:"1"}},o("dueDatePage.ivf.transferDate")),value:Pr(l),name:"date",size:"md",className:"due-date-input",CustomInput:e.createElement(Ia,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:Pr(l)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:l,displayDateFormat:pt,onChange:e=>{s(e)},placeholder:"placeholder"})})),e.createElement("div",{style:{width:"100%"}},e.createElement(qa,{id:"radio-transfer-date",type:"circle",direction:"vertical",size:"small",group:"group1",value:c,onChange:e=>d(e),options:[{value:"3",label:o("dueDatePage.ivf.transferDateRadio",{number:3})},{value:"5",label:o("dueDatePage.ivf.transferDateRadio",{number:5})}]})),e.createElement(Pe,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===i?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,onClick:()=>{n(((e,t)=>{const a=new Date(e);return a.setDate(a.getDate()+265-t),{startDate:e,dueDate:a,otherInfo:{method:Ar.IVF+1,ivf_transfer_date:Qe(e,Lr),days_transfer:t,conception_date:null,first_day:null,cycle_length_days:null}}})(l,Number(c)),`${ae.type}=2&${ae.startDate}=${Qe(l,Lr)}&${ae.additional}=${c}`)},role:"button"},o("dueDatePage.lastPeriod.calculate")))},Or=({locale:a,onClick:n,siteType:i,pageUrl:r})=>{const{t:o}=K(),[l,s]=t(28),[c,d]=t(new Date);return e.createElement(e.Fragment,null,e.createElement(zr,{className:"input-form","data-is-side":!0},"marryBaby"===i?e.createElement(Dr,{label:o("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:Pr(c),CustomInput:e.createElement(Ia,{onChange:e=>{d(e)},placeholder:"dd/mm/yyyy",pickedDate:c,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:t=>e.createElement(Je,Object.assign({name:"birthday",size:"md"},t,{value:c&&Ue(c).format(O)}))}),actionIcon:e.createElement(h.CalendarMB,{size:32})}):e.createElement(Je,{className:"input-section due-date-input",label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600,style:{marginBottom:"9px",flex:"1"}},o("dueDatePage.lastPeriod.lastPeriodLabel")),value:Pr(c),name:"date",size:"md",CustomInput:e.createElement(Ia,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:Pr(c)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:c,displayDateFormat:pt,onChange:e=>{d(e)},placeholder:"placeholder"})})),e.createElement("div",{className:"slider-due-date","data-theme":"marryBaby"===i?"marryBaby":""},"marryBaby"===i?e.createElement(ut,{type:"bodytext-3",color:le.mbColors.midGray},o("dueDatePage.lastPeriod.periodLengthLabel")):e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600,style:{marginBottom:"0.5rem"}},o("dueDatePage.lastPeriod.periodLengthLabel")),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===i&&e.createElement(p,{size:"s3",weight:"semiBold",color:le.colors.gray600},l),e.createElement(ht,{containerStyle:{flex:1},min:20,max:40,step:1,labelAlwaysOn:"marryBaby"!==i,withControl:"marryBaby"!==i,onChange:s,value:l,label:"marryBaby"!==i?void 0:null}))),e.createElement(Pe,{dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===i?"secondary":"primary",onClick:()=>n(((e,t)=>{const a=t-21+272,n=new Date(e);return n.setDate(n.getDate()+a),{startDate:e,dueDate:n,otherInfo:{method:Ar.lastPeriod+1,first_day:Qe(e,Lr),cycle_length_days:t,conception_date:null,ivf_transfer_date:null,days_transfer:null}}})(c,l),`${ae.type}=0&${ae.startDate}=${Qe(c,Lr)}&${ae.additional}=${l}`),role:"button"},o("dueDatePage.lastPeriod.calculate")))};Ve.div`
2128
+ `,function(e){e[e.lastPeriod=0]="lastPeriod",e[e.conception=1]="conception",e[e.IVF=2]="IVF"}(Mr||(Mr={}));const Or="yyyy-MM-dd",jr=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,Fr=({locale:a,onClick:n,siteType:i,pageUrl:r})=>{const{t:o}=K(),[l,s]=t(new Date);return e.createElement(e.Fragment,null,e.createElement($r,{className:"input-form","data-is-side":!0},"marryBaby"===i?e.createElement(Ar,{label:o("dueDatePage.conceptionDate"),name:"date",size:"md",value:jr(l),CustomInput:e.createElement(La,{onChange:e=>{s(e)},placeholder:"dd/mm/yyyy",pickedDate:l,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:t=>e.createElement(Je,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:l&&Ue(l).format(O)}))}),actionIcon:e.createElement(h.CalendarMB,{size:32})}):e.createElement(Je,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600,style:{marginBottom:"9px",flex:"1"}},o("dueDatePage.conceptionDate")),value:jr(l),name:"date",size:"md",className:"due-date-input",CustomInput:e.createElement(La,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:jr(l)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:l,displayDateFormat:pt,onChange:e=>{s(e)},placeholder:"placeholder"})})),e.createElement(Pe,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===i?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,onClick:()=>{n((e=>{const t=new Date(e);return t.setDate(t.getDate()+265),{startDate:e,dueDate:t,otherInfo:{method:Mr.conception+1,conception_date:Qe(e,Or),first_day:null,cycle_length_days:null,ivf_transfer_date:null,days_transfer:null}}})(l),`${ae.type}=1&sd=${Qe(l,Or)}&${ae.additional}= `)},role:"button"},o("dueDatePage.lastPeriod.calculate")))},Hr=({locale:a,onClick:n,siteType:i,pageUrl:r})=>{const{t:o}=K(),[l,s]=t(new Date),[c,d]=t("3");return e.createElement(e.Fragment,null,e.createElement($r,{className:"input-form","data-is-side":!0},"marryBaby"===i?e.createElement(Ar,{label:o("dueDatePage.ivf.transferDate"),name:"date",size:"md",value:jr(l),CustomInput:e.createElement(La,{onChange:e=>{s(e)},placeholder:"dd/mm/yyyy",pickedDate:l,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:t=>e.createElement(Je,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:l&&Ue(l).format(O)}))}),actionIcon:e.createElement(h.CalendarMB,{size:32})}):e.createElement(Je,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray700,style:{marginBottom:"9px",flex:"1"}},o("dueDatePage.ivf.transferDate")),value:jr(l),name:"date",size:"md",className:"due-date-input",CustomInput:e.createElement(La,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:jr(l)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:l,displayDateFormat:pt,onChange:e=>{s(e)},placeholder:"placeholder"})})),e.createElement("div",{style:{width:"100%"}},e.createElement(Ka,{id:"radio-transfer-date",type:"circle",direction:"vertical",size:"small",group:"group1",value:c,onChange:e=>d(e),options:[{value:"3",label:o("dueDatePage.ivf.transferDateRadio",{number:3})},{value:"5",label:o("dueDatePage.ivf.transferDateRadio",{number:5})}]})),e.createElement(Pe,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===i?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,onClick:()=>{n(((e,t)=>{const a=new Date(e);return a.setDate(a.getDate()+265-t),{startDate:e,dueDate:a,otherInfo:{method:Mr.IVF+1,ivf_transfer_date:Qe(e,Or),days_transfer:t,conception_date:null,first_day:null,cycle_length_days:null}}})(l,Number(c)),`${ae.type}=2&${ae.startDate}=${Qe(l,Or)}&${ae.additional}=${c}`)},role:"button"},o("dueDatePage.lastPeriod.calculate")))},Rr=({locale:a,onClick:n,siteType:i,pageUrl:r})=>{const{t:o}=K(),[l,s]=t(28),[c,d]=t(new Date);return e.createElement(e.Fragment,null,e.createElement($r,{className:"input-form","data-is-side":!0},"marryBaby"===i?e.createElement(Ar,{label:o("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:jr(c),CustomInput:e.createElement(La,{onChange:e=>{d(e)},placeholder:"dd/mm/yyyy",pickedDate:c,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:t=>e.createElement(Je,Object.assign({name:"birthday",size:"md"},t,{value:c&&Ue(c).format(O)}))}),actionIcon:e.createElement(h.CalendarMB,{size:32})}):e.createElement(Je,{className:"input-section due-date-input",label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600,style:{marginBottom:"9px",flex:"1"}},o("dueDatePage.lastPeriod.lastPeriodLabel")),value:jr(c),name:"date",size:"md",CustomInput:e.createElement(La,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:jr(c)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:c,displayDateFormat:pt,onChange:e=>{d(e)},placeholder:"placeholder"})})),e.createElement("div",{className:"slider-due-date","data-theme":"marryBaby"===i?"marryBaby":""},"marryBaby"===i?e.createElement(ut,{type:"bodytext-3",color:le.mbColors.midGray},o("dueDatePage.lastPeriod.periodLengthLabel")):e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600,style:{marginBottom:"0.5rem"}},o("dueDatePage.lastPeriod.periodLengthLabel")),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===i&&e.createElement(p,{size:"s3",weight:"semiBold",color:le.colors.gray600},l),e.createElement(ht,{containerStyle:{flex:1},min:20,max:40,step:1,labelAlwaysOn:"marryBaby"!==i,withControl:"marryBaby"!==i,onChange:s,value:l,label:"marryBaby"!==i?void 0:null}))),e.createElement(Pe,{dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===i?"secondary":"primary",onClick:()=>n(((e,t)=>{const a=t-21+272,n=new Date(e);return n.setDate(n.getDate()+a),{startDate:e,dueDate:n,otherInfo:{method:Mr.lastPeriod+1,first_day:Qe(e,Or),cycle_length_days:t,conception_date:null,ivf_transfer_date:null,days_transfer:null}}})(c,l),`${ae.type}=0&${ae.startDate}=${Qe(c,Or)}&${ae.additional}=${l}`),role:"button"},o("dueDatePage.lastPeriod.calculate")))};Ve.div`
2129
2129
  padding: 0;
2130
2130
  background-color: white;
2131
2131
  `,Ve.div`
@@ -2135,7 +2135,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2135
2135
  width: 100%;
2136
2136
  padding: 24px;
2137
2137
  }
2138
- `;const jr=Ve.div`
2138
+ `;const Ur=Ve.div`
2139
2139
  &[data-is-side='true'] {
2140
2140
  width: 100%;
2141
2141
  margin-bottom: 0;
@@ -2165,7 +2165,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2165
2165
  }
2166
2166
  }
2167
2167
  }
2168
- `,Fr=Ve.div`
2168
+ `,Vr=Ve.div`
2169
2169
  margin-bottom: 20px;
2170
2170
  width: 100%;
2171
2171
 
@@ -2177,7 +2177,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2177
2177
  width: calc(50% - 8px);
2178
2178
  }
2179
2179
  }
2180
- `,Hr=Ve.div`
2180
+ `,Wr=Ve.div`
2181
2181
  width: 100%;
2182
2182
  display: flex;
2183
2183
  justify-content: center;
@@ -2333,7 +2333,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2333
2333
  margin-bottom: 9px;
2334
2334
  }
2335
2335
  }
2336
- `;const Rr=Ve.div`
2336
+ `;const Gr=Ve.div`
2337
2337
  width: 100%;
2338
2338
  display: flex;
2339
2339
  flex-wrap: wrap;
@@ -2349,7 +2349,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2349
2349
  width: 100%;
2350
2350
  }
2351
2351
  }
2352
- `,Ur=Ve.div`
2352
+ `,qr=Ve.div`
2353
2353
  position: relative;
2354
2354
  width: calc(50% - 8px);
2355
2355
 
@@ -2376,7 +2376,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2376
2376
  overflow-y: scroll;
2377
2377
  }
2378
2378
  }
2379
- `,Vr=Ve.div`
2379
+ `,Zr=Ve.div`
2380
2380
  margin-bottom: 24px;
2381
2381
  width: 100%;
2382
2382
 
@@ -2426,7 +2426,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2426
2426
  padding-top: 8px;
2427
2427
  padding-bottom: 16px;
2428
2428
  }
2429
- `,Wr=({onSubmitDueDate:a,locale:i,isSide:r,siteType:o})=>{const{t:l}=K(),[s,c]=t(Ar.lastPeriod),d=[{value:Ar.lastPeriod,label:l("dueDatePage.lastPeriod")},{value:Ar.conception,label:l("dueDatePage.conceptionDate")},{value:Ar.IVF,label:l("dueDatePage.ivf")}],m=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(Rr,null,e.createElement(Ir,{className:"input-form input-section","data-is-side":!0},"marryBaby"===o?e.createElement(Tr,{groupedWithLabel:l("dueDatePage.calculationMethod"),options:d,placeholder:l("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:d[s],onChange:e=>{c(e.value)}}):e.createElement(e.Fragment,null,e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600,style:{marginBottom:"9px",flex:"1"}},l("dueDatePage.calculationMethod")),e.createElement(_r,{"data-is-side":r},e.createElement(gt,{options:d,placeholder:l("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"md",value:d[s],onChange:e=>{c(e.value)}})))),s===Ar.lastPeriod?e.createElement(Or,{locale:i,onClick:a,isSide:r,siteType:o,pageUrl:m}):null,s===Ar.conception?e.createElement($r,{locale:i,onClick:a,isSide:r,siteType:o,pageUrl:m}):null,s===Ar.IVF?e.createElement(Mr,{locale:i,onClick:a,isSide:r,siteType:o,pageUrl:m}):null)},Gr="hhgcomp-embedtoolcard-content",qr=P(Ve.form`
2429
+ `,Yr=({onSubmitDueDate:a,locale:i,isSide:r,siteType:o})=>{const{t:l}=K(),[s,c]=t(Mr.lastPeriod),d=[{value:Mr.lastPeriod,label:l("dueDatePage.lastPeriod")},{value:Mr.conception,label:l("dueDatePage.conceptionDate")},{value:Mr.IVF,label:l("dueDatePage.ivf")}],m=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(Gr,null,e.createElement(Lr,{className:"input-form input-section","data-is-side":!0},"marryBaby"===o?e.createElement(_r,{groupedWithLabel:l("dueDatePage.calculationMethod"),options:d,placeholder:l("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:d[s],onChange:e=>{c(e.value)}}):e.createElement(e.Fragment,null,e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600,style:{marginBottom:"9px",flex:"1"}},l("dueDatePage.calculationMethod")),e.createElement(Pr,{"data-is-side":r},e.createElement(gt,{options:d,placeholder:l("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"md",value:d[s],onChange:e=>{c(e.value)}})))),s===Mr.lastPeriod?e.createElement(Rr,{locale:i,onClick:a,isSide:r,siteType:o,pageUrl:m}):null,s===Mr.conception?e.createElement(Fr,{locale:i,onClick:a,isSide:r,siteType:o,pageUrl:m}):null,s===Mr.IVF?e.createElement(Hr,{locale:i,onClick:a,isSide:r,siteType:o,pageUrl:m}):null)},Xr="hhgcomp-embedtoolcard-content",Kr=P(Ve.form`
2430
2430
  margin: auto;
2431
2431
  ${Z.mbUp} {
2432
2432
  width: 100%;
@@ -2513,7 +2513,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2513
2513
  }
2514
2514
  }
2515
2515
  }
2516
- `,Gr),Zr=Ve.div`
2516
+ `,Xr),Jr=Ve.div`
2517
2517
  padding: 0;
2518
2518
  background-color: white;
2519
2519
  border: 1px solid #e4e8ec;
@@ -2524,7 +2524,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2524
2524
  border-radius: 16px;
2525
2525
  }
2526
2526
  .due-date-cal {
2527
- .${Gr} {
2527
+ .${Xr} {
2528
2528
  ${Z.mbUp} {
2529
2529
  padding: 24px;
2530
2530
  }
@@ -2665,20 +2665,20 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2665
2665
  background-size: contain;
2666
2666
  content: '';
2667
2667
  }
2668
- `,Yr=Ve(qa)`
2668
+ `,Qr=Ve(Ka)`
2669
2669
  &[data-direction='horizontal'] div[data-type='circle'] {
2670
2670
  margin-right: 8px;
2671
2671
  }
2672
2672
  label {
2673
2673
  font-size: 14px;
2674
2674
  }
2675
- `,Xr=({isMobile:t,locale:a,onSubmitDueDate:n,dueDatePageInfo:i,expertUrl:r,isSide:o,siteType:l})=>{var s;const{t:c}=K();return e.createElement(Zr,{"data-is-side":o,"data-site":l},e.createElement(Br,{isSide:o,siteType:l,bannerColor:"marryBaby"===l&&le.mbColors.mint,isEmbeded:!0,color:"pink",icon:e.createElement("img",{alt:"health-tool-icon",src:(null==i?void 0:i.featured_image)||oe.getAssetPath("health-tools/due-date-icon.svg"),loading:"lazy"}),heading:c("healthTools.dueDateCalculator"),medicalReview:{link:r,reviewer:null===(s=null==i?void 0:i.reviewed_by)||void 0===s?void 0:s.display_name,date:null==i?void 0:i.reviewed_date},isMobile:t}),e.createElement(qr,{onSubmit:e=>e.preventDefault(),className:"due-date-cal","data-is-side":o},e.createElement(Wr,{siteType:l,locale:a,onSubmitDueDate:n,isSide:o})))},Kr=Ve(Pe)`
2675
+ `,eo=({isMobile:t,locale:a,onSubmitDueDate:n,dueDatePageInfo:i,expertUrl:r,isSide:o,siteType:l})=>{var s;const{t:c}=K();return e.createElement(Jr,{"data-is-side":o,"data-site":l},e.createElement(zr,{isSide:o,siteType:l,bannerColor:"marryBaby"===l&&le.mbColors.mint,isEmbeded:!0,color:"pink",icon:e.createElement("img",{alt:"health-tool-icon",src:(null==i?void 0:i.featured_image)||oe.getAssetPath("health-tools/due-date-icon.svg"),loading:"lazy"}),heading:c("healthTools.dueDateCalculator"),medicalReview:{link:r,reviewer:null===(s=null==i?void 0:i.reviewed_by)||void 0===s?void 0:s.display_name,date:null==i?void 0:i.reviewed_date},isMobile:t}),e.createElement(Kr,{onSubmit:e=>e.preventDefault(),className:"due-date-cal","data-is-side":o},e.createElement(Yr,{siteType:l,locale:a,onSubmitDueDate:n,isSide:o})))},to=Ve(Pe)`
2676
2676
  margin: 0 auto 24px;
2677
2677
  ${Z.mbUp} {
2678
2678
  max-width: 200px;
2679
2679
  margin: 24px auto;
2680
2680
  }
2681
- `,Jr=Ve(M)`
2681
+ `,ao=Ve(M)`
2682
2682
  &.bmi--input {
2683
2683
  + .bmi--input {
2684
2684
  margin-top: 24px;
@@ -2738,9 +2738,9 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2738
2738
  }
2739
2739
  }
2740
2740
  }
2741
- `,Qr=Ve.div`
2741
+ `,no=Ve.div`
2742
2742
  width: 100%;
2743
- `,eo=Ve.div`
2743
+ `,io=Ve.div`
2744
2744
  margin-bottom: 1rem;
2745
2745
  display: flex;
2746
2746
  flex-direction: column;
@@ -2776,7 +2776,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2776
2776
  overflow-y: scroll;
2777
2777
  }
2778
2778
  }
2779
- `;const to=Ve.div`
2779
+ `;const ro=Ve.div`
2780
2780
  ${Z.mbUp} {
2781
2781
  display: flex;
2782
2782
  width: 100%;
@@ -2799,10 +2799,10 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2799
2799
  flex-direction: column;
2800
2800
  gap: 0px;
2801
2801
  }
2802
- `;function ao({weight:e,height:t}){const a=t/100,n=e;return Math.round(n/(a*a)*10)/10}const no=({value:a,onChange:r,onSubmit:o,disabled:l,bmiGenerated:s,bmiUnit:c,locale:d,isSide:m})=>{var h,u,g,b;const[f,v]=t(!1),{control:y,handleSubmit:x,setValue:w,watch:E}=ft(),k=E(),{t:C}=K(),{gender:S=!1,age:N=!1,height:B=!1,weight:T=!1,objective:D=!0}=l||{},{getHealthToolLink:I}=yt(d),_=n((()=>I(j.OVULATION)),[I]),z=n((()=>[{value:"lose-weight",label:C("bmi.objective.loseWeight")},{value:"maintain-weight",label:C("bmi.objective.maintainWeight")},{value:"gain-weight",label:C("bmi.objective.gainWeight")}]),[]),A=()=>{v(!0)};return i((()=>{Object.keys(a||{}).forEach((e=>{w(e,null==a?void 0:a[e],{shouldTouch:!1,shouldDirty:!1,shouldValidate:!1})}))}),[a]),i((()=>{r&&r(k)}),[k]),e.createElement(Qr,null,e.createElement("form",{onSubmit:x((e=>ce(void 0,void 0,void 0,(function*(){const t=c.heightConvert(e.height),a=c.weightConvert(e.weight),n={gender:e.gender,age:e.age,height:t,weight:a,bmi:ao({height:t,weight:a})};D||(n.objective=e.objective),A(),o&&o(n)}))),A)},!S&&e.createElement(eo,{"data-is-side":m},e.createElement(vt,{name:"gender",control:y,defaultValue:"male",render:({field:{onChange:t}})=>e.createElement(ia,{defaultValue:"male",onChange:e=>t(e),styles:e=>({root:!m&&{[e.fn.largerThan("sm")]:{width:"calc((100% - 24px) * 2/3 + 12px)"}},wrapper:{[e.fn.largerThan("sm")]:{gap:he(12)}}})})})),e.createElement(to,{"data-is-side":m},!N&&e.createElement(eo,null,e.createElement(vt,{name:"age",control:y,rules:null===(h=s.age)||void 0===h?void 0:h.rule,render:({field:{name:t,value:a,onChange:n},fieldState:{error:i}})=>e.createElement($e.Number,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},C("bmi.ageInput")," ",e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray300,as:"span"},C("bmi.ageInput.desc"))),placeholder:C("healthtool.placeholder.age"),name:t,value:a,onChange:n,error:f?null==i?void 0:i.message:"",min:0})})),!B&&e.createElement(eo,null,e.createElement(vt,{name:"height",control:y,rules:null===(u=s.height)||void 0===u?void 0:u.rule,render:({field:{name:t,value:a,onChange:n},fieldState:{error:i}})=>e.createElement($e.Number,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},C("bmi.heightInput")," ",e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray300,as:"span"},C("bmi.heightInput.desc"))),placeholder:C("pwg.placeholder.height"),name:t,value:a,onChange:n,error:f?null==i?void 0:i.message:"",min:0})})),!T&&e.createElement(eo,null,e.createElement(vt,{name:"weight",control:y,rules:null===(g=s.weight)||void 0===g?void 0:g.rule,render:({field:{name:t,value:a,onChange:n},fieldState:{error:i}})=>e.createElement($e.Number,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},C("bmi.weightInput")," ",e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray300,as:"span"},C("bmi.weightInput.desc"))),placeholder:C("pwg.placeholder.weight"),name:t,value:a,onChange:n,error:f?null==i?void 0:i.message:"",precision:1,min:0})})),!D&&e.createElement(eo,null,e.createElement(vt,{name:"objective",control:y,defaultValue:"lose-weight",rules:null===(b=s.objective)||void 0===b?void 0:b.rule,render:({field:{name:t,value:a,onChange:n},fieldState:{error:i}})=>e.createElement(Jr,{size:"md",name:t,label:s.objective.label,CustomInput:e.createElement(qa,{id:"bmi-objective",className:"bmi-objective",type:"circle",direction:"vertical",size:"small",group:"group1",options:z,value:a,onChange:n}),errorMessage:f?null==i?void 0:i.message:"",className:"bmi--input bmi--input-objective"})}))),e.createElement("div",{style:{display:"flex"}},e.createElement(Kr,{size:"lg",fullWidth:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMI",dataEventLabel:`https://${Q[d]}/${_}`,type:"submit"},C("bmi.submit")))))},io=({isMobile:t,onSubmit:a,bmiContent:n,isSide:i,bmiGenerated:r,bmiUnit:o,bmiLink:l,locale:s})=>{var c,d,m;const{t:p}=K();return e.createElement(Zr,{"data-is-side":i},e.createElement(Br,{isSide:i,icon:e.createElement("img",{alt:"health-tool-icon",src:(null==n?void 0:n.featured_image)||oe.getAssetPath("health-tools/bmi.svg"),loading:"lazy"}),heading:p("bmi.heading"),medicalReview:{link:null===(c=null==n?void 0:n.reviewBy)||void 0===c?void 0:c.link,reviewer:null===(d=null==n?void 0:n.reviewBy)||void 0===d?void 0:d.reviewer,date:null===(m=null==n?void 0:n.reviewBy)||void 0===m?void 0:m.date},isMobile:t}),e.createElement(bt,null,e.createElement(qr,{as:"div","data-is-side":i},l&&e.createElement(no,{onSubmit:a,bmiGenerated:r,locale:s,bmiUnit:o,isSide:i}))))};Ve.img`
2802
+ `;function oo({weight:e,height:t}){const a=t/100,n=e;return Math.round(n/(a*a)*10)/10}const lo=({value:a,onChange:r,onSubmit:o,disabled:l,bmiGenerated:s,bmiUnit:c,locale:d,isSide:m})=>{var h,u,g,b;const[f,v]=t(!1),{control:y,handleSubmit:x,setValue:w,watch:E}=ft(),k=E(),{t:C}=K(),{gender:S=!1,age:N=!1,height:B=!1,weight:T=!1,objective:D=!0}=l||{},{getHealthToolLink:I}=yt(d),z=n((()=>I(j.OVULATION)),[I]),_=n((()=>[{value:"lose-weight",label:C("bmi.objective.loseWeight")},{value:"maintain-weight",label:C("bmi.objective.maintainWeight")},{value:"gain-weight",label:C("bmi.objective.gainWeight")}]),[]),A=()=>{v(!0)};return i((()=>{Object.keys(a||{}).forEach((e=>{w(e,null==a?void 0:a[e],{shouldTouch:!1,shouldDirty:!1,shouldValidate:!1})}))}),[a]),i((()=>{r&&r(k)}),[k]),e.createElement(no,null,e.createElement("form",{onSubmit:x((e=>ce(void 0,void 0,void 0,(function*(){const t=c.heightConvert(e.height),a=c.weightConvert(e.weight),n={gender:e.gender,age:e.age,height:t,weight:a,bmi:oo({height:t,weight:a})};D||(n.objective=e.objective),A(),o&&o(n)}))),A)},!S&&e.createElement(io,{"data-is-side":m},e.createElement(vt,{name:"gender",control:y,defaultValue:"male",render:({field:{onChange:t}})=>e.createElement(sa,{defaultValue:"male",onChange:e=>t(e),styles:e=>({root:!m&&{[e.fn.largerThan("sm")]:{width:"calc((100% - 24px) * 2/3 + 12px)"}},wrapper:{[e.fn.largerThan("sm")]:{gap:he(12)}}})})})),e.createElement(ro,{"data-is-side":m},!N&&e.createElement(io,null,e.createElement(vt,{name:"age",control:y,rules:null===(h=s.age)||void 0===h?void 0:h.rule,render:({field:{name:t,value:a,onChange:n},fieldState:{error:i}})=>e.createElement($e.Number,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},C("bmi.ageInput")," ",e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray300,as:"span"},C("bmi.ageInput.desc"))),placeholder:C("healthtool.placeholder.age"),name:t,value:a,onChange:n,error:f?null==i?void 0:i.message:"",min:0})})),!B&&e.createElement(io,null,e.createElement(vt,{name:"height",control:y,rules:null===(u=s.height)||void 0===u?void 0:u.rule,render:({field:{name:t,value:a,onChange:n},fieldState:{error:i}})=>e.createElement($e.Number,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},C("bmi.heightInput")," ",e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray300,as:"span"},C("bmi.heightInput.desc"))),placeholder:C("pwg.placeholder.height"),name:t,value:a,onChange:n,error:f?null==i?void 0:i.message:"",min:0})})),!T&&e.createElement(io,null,e.createElement(vt,{name:"weight",control:y,rules:null===(g=s.weight)||void 0===g?void 0:g.rule,render:({field:{name:t,value:a,onChange:n},fieldState:{error:i}})=>e.createElement($e.Number,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},C("bmi.weightInput")," ",e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray300,as:"span"},C("bmi.weightInput.desc"))),placeholder:C("pwg.placeholder.weight"),name:t,value:a,onChange:n,error:f?null==i?void 0:i.message:"",precision:1,min:0})})),!D&&e.createElement(io,null,e.createElement(vt,{name:"objective",control:y,defaultValue:"lose-weight",rules:null===(b=s.objective)||void 0===b?void 0:b.rule,render:({field:{name:t,value:a,onChange:n},fieldState:{error:i}})=>e.createElement(ao,{size:"md",name:t,label:s.objective.label,CustomInput:e.createElement(Ka,{id:"bmi-objective",className:"bmi-objective",type:"circle",direction:"vertical",size:"small",group:"group1",options:_,value:a,onChange:n}),errorMessage:f?null==i?void 0:i.message:"",className:"bmi--input bmi--input-objective"})}))),e.createElement("div",{style:{display:"flex"}},e.createElement(to,{size:"lg",fullWidth:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMI",dataEventLabel:`https://${Q[d]}/${z}`,type:"submit"},C("bmi.submit")))))},so=({isMobile:t,onSubmit:a,bmiContent:n,isSide:i,bmiGenerated:r,bmiUnit:o,bmiLink:l,locale:s})=>{var c,d,m;const{t:p}=K();return e.createElement(Jr,{"data-is-side":i},e.createElement(zr,{isSide:i,icon:e.createElement("img",{alt:"health-tool-icon",src:(null==n?void 0:n.featured_image)||oe.getAssetPath("health-tools/bmi.svg"),loading:"lazy"}),heading:p("bmi.heading"),medicalReview:{link:null===(c=null==n?void 0:n.reviewBy)||void 0===c?void 0:c.link,reviewer:null===(d=null==n?void 0:n.reviewBy)||void 0===d?void 0:d.reviewer,date:null===(m=null==n?void 0:n.reviewBy)||void 0===m?void 0:m.date},isMobile:t}),e.createElement(bt,null,e.createElement(Kr,{as:"div","data-is-side":i},l&&e.createElement(lo,{onSubmit:a,bmiGenerated:r,locale:s,bmiUnit:o,isSide:i}))))};Ve.img`
2803
2803
  width: 24px;
2804
2804
  height: 24px;
2805
- `;const ro=Ve.div`
2805
+ `;const co=Ve.div`
2806
2806
  position: relative;
2807
2807
  border: 1px solid ${e=>e.theme.colors.gray200};
2808
2808
  background-position: right 16px center;
@@ -2869,7 +2869,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2869
2869
  box-shadow: 0 0 2px 2px
2870
2870
  ${e=>e.theme.colors.primary200};
2871
2871
  }
2872
- `,oo=Ve.div`
2872
+ `,mo=Ve.div`
2873
2873
  cursor: pointer;
2874
2874
  &[data-dropdown-open] {
2875
2875
  padding: 11px 15px 11px 15px;
@@ -2878,7 +2878,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2878
2878
  box-shadow: 0 0 2px 2px
2879
2879
  ${e=>e.theme.colors.primary200};
2880
2880
  }
2881
- `,lo=Ve.ul`
2881
+ `,po=Ve.ul`
2882
2882
  position: absolute;
2883
2883
  z-index: 100;
2884
2884
  top: 100%;
@@ -2900,7 +2900,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2900
2900
  box-shadow: none;
2901
2901
  filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));
2902
2902
  }
2903
- `,so=Ve.li`
2903
+ `,ho=Ve.li`
2904
2904
  display: flex;
2905
2905
  width: 100%;
2906
2906
  align-items: center;
@@ -2921,11 +2921,11 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2921
2921
  pointer-events: none;
2922
2922
  }
2923
2923
  }
2924
- `,co=Ve.div`
2924
+ `,uo=Ve.div`
2925
2925
  width: 24px;
2926
2926
  height: 24px;
2927
2927
  flex-shrink: 0;
2928
- `,mo=Ve(M)`
2928
+ `,go=Ve(M)`
2929
2929
  input[data-icon='true'] {
2930
2930
  padding-right: 36px;
2931
2931
  padding-left: 48px;
@@ -2937,18 +2937,18 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2937
2937
  height: 24px;
2938
2938
  }
2939
2939
  }
2940
- `,po=Ve.div`
2940
+ `,bo=Ve.div`
2941
2941
  padding-block: 40px;
2942
2942
 
2943
2943
  &[data-theme='marryBaby'] {
2944
2944
  padding-block: 0;
2945
2945
  padding-top: 12px;
2946
2946
  }
2947
- `,ho=Ve.form`
2947
+ `,fo=Ve.form`
2948
2948
  display: flex;
2949
2949
  flex-direction: column;
2950
2950
  gap: 16px;
2951
- `,uo=Ve.div`
2951
+ `,vo=Ve.div`
2952
2952
  display: flex;
2953
2953
  flex-direction: column;
2954
2954
  gap: 6px;
@@ -2957,11 +2957,11 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2957
2957
  .error-input input {
2958
2958
  border: 1px solid ${e=>e.theme.colors.red700};
2959
2959
  }
2960
- `,go=Ve(mt)`
2960
+ `,yo=Ve(mt)`
2961
2961
  display: inline-flex;
2962
2962
  padding-bottom: 6px;
2963
2963
  gap: 4px;
2964
- `,bo=Ve.div`
2964
+ `,xo=Ve.div`
2965
2965
  display: flex;
2966
2966
  width: 100%;
2967
2967
  align-items: center;
@@ -2995,11 +2995,11 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
2995
2995
  }
2996
2996
  }
2997
2997
  }
2998
- `,Ve((i=>{var{className:r,style:o,id:l,placeholder:s,placeholderIcon:c,onChange:d,value:m,options:p,dropdownLabelTrackingAttributes:h,disabled:u,onSearchChange:g,useSearchFilter:b=!0,onFocus:f,hasIcons:v=!0,keepSearch:y=!1}=i,x=se(i,["className","style","id","placeholder","placeholderIcon","onChange","value","options","dropdownLabelTrackingAttributes","disabled","onSearchChange","useSearchFilter","onFocus","hasIcons","keepSearch"]);const[w,E]=t(""),[k,C]=t(!1),S=a(null);const N=n((()=>w&&b?((e,t)=>{const a=`${t}`.toLowerCase();return e.filter((e=>`${e.value}`.toLowerCase().includes(a)||`${e.label}`.toLowerCase().includes(a)))})(p,w):m?p.filter((e=>e.value!==m.value)):p),[w,p,m]);return e.createElement(ro,Object.assign({className:r,"data-dropdown-open":k||void 0,id:l,"data-has-icons":!0,"data-is-open":k,ref:S,onBlur:function(e){(!e.relatedTarget||"id"in e.relatedTarget&&e.relatedTarget.id!==l)&&C(!1)},style:o,tabIndex:0},x),e.createElement(oo,Object.assign({onClick:e=>{var t,a;"true"===(null===(a=null===(t=e.target)||void 0===t?void 0:t.getAttribute)||void 0===a?void 0:a.call(t,"data-is-open"))&&(E(""),d(null,""),null==g||g("")),!u&&C(!0)},"data-is-open":k},h),e.createElement(mo,Object.assign({"data-icon":v,name:"dropdown-input",displayIcon:c,size:"md",onChange:e=>{d(null,e),E(e),null==g||g(w)},placeholder:s,value:m&&m.value?`${m.label}`:w,isDisabled:u,onFocus:()=>{null==f||f()},onBlur:()=>{!y&&setTimeout((()=>{E("")}),300)}},h))),k&&N.length>0&&e.createElement(lo,{onClick:e=>{var t,a;"true"===(null===(a=null===(t=e.target)||void 0===t?void 0:t.getAttribute)||void 0===a?void 0:a.call(t,"data-is-open"))&&(E(""),d(null,"")),!u&&C(!k)},className:"dropdown-option","data-has-icons":v},N.map((t=>e.createElement(so,{key:`${l}-${t.value}`,"data-selected":m&&m.value===t.value||void 0,onClick:()=>{!t.disabled&&!u&&(null==d||d(t,t.value))},"data-disabled":!!t.disabled&&t.disabled},t.icon&&e.createElement(co,{className:"option-icon"},t.icon),e.createElement("div",{className:"dropdown-label"},t.label))))))}))`
2998
+ `,Ve((i=>{var{className:r,style:o,id:l,placeholder:s,placeholderIcon:c,onChange:d,value:m,options:p,dropdownLabelTrackingAttributes:h,disabled:u,onSearchChange:g,useSearchFilter:b=!0,onFocus:f,hasIcons:v=!0,keepSearch:y=!1}=i,x=se(i,["className","style","id","placeholder","placeholderIcon","onChange","value","options","dropdownLabelTrackingAttributes","disabled","onSearchChange","useSearchFilter","onFocus","hasIcons","keepSearch"]);const[w,E]=t(""),[k,C]=t(!1),S=a(null);const N=n((()=>w&&b?((e,t)=>{const a=`${t}`.toLowerCase();return e.filter((e=>`${e.value}`.toLowerCase().includes(a)||`${e.label}`.toLowerCase().includes(a)))})(p,w):m?p.filter((e=>e.value!==m.value)):p),[w,p,m]);return e.createElement(co,Object.assign({className:r,"data-dropdown-open":k||void 0,id:l,"data-has-icons":!0,"data-is-open":k,ref:S,onBlur:function(e){(!e.relatedTarget||"id"in e.relatedTarget&&e.relatedTarget.id!==l)&&C(!1)},style:o,tabIndex:0},x),e.createElement(mo,Object.assign({onClick:e=>{var t,a;"true"===(null===(a=null===(t=e.target)||void 0===t?void 0:t.getAttribute)||void 0===a?void 0:a.call(t,"data-is-open"))&&(E(""),d(null,""),null==g||g("")),!u&&C(!0)},"data-is-open":k},h),e.createElement(go,Object.assign({"data-icon":v,name:"dropdown-input",displayIcon:c,size:"md",onChange:e=>{d(null,e),E(e),null==g||g(w)},placeholder:s,value:m&&m.value?`${m.label}`:w,isDisabled:u,onFocus:()=>{null==f||f()},onBlur:()=>{!y&&setTimeout((()=>{E("")}),300)}},h))),k&&N.length>0&&e.createElement(po,{onClick:e=>{var t,a;"true"===(null===(a=null===(t=e.target)||void 0===t?void 0:t.getAttribute)||void 0===a?void 0:a.call(t,"data-is-open"))&&(E(""),d(null,"")),!u&&C(!k)},className:"dropdown-option","data-has-icons":v},N.map((t=>e.createElement(ho,{key:`${l}-${t.value}`,"data-selected":m&&m.value===t.value||void 0,onClick:()=>{!t.disabled&&!u&&(null==d||d(t,t.value))},"data-disabled":!!t.disabled&&t.disabled},t.icon&&e.createElement(uo,{className:"option-icon"},t.icon),e.createElement("div",{className:"dropdown-label"},t.label))))))}))`
2999
2999
  .option-icon {
3000
3000
  height: initial;
3001
3001
  }
3002
- `;const fo=(e=0,t=0)=>{try{if(e&&t){const a=Number(t)/Math.pow(Number(e)/100,2);return Number(((e,t=2)=>Intl.NumberFormat(void 0,{maximumFractionDigits:t}).format(e))(a))}return 0}catch(e){}return 0},vo=Ve.div`
3002
+ `;const wo=(e=0,t=0)=>{try{if(e&&t){const a=Number(t)/Math.pow(Number(e)/100,2);return Number(((e,t=2)=>Intl.NumberFormat(void 0,{maximumFractionDigits:t}).format(e))(a))}return 0}catch(e){}return 0},Eo=Ve.div`
3003
3003
  padding: 36px;
3004
3004
  padding-top: 0;
3005
3005
  background-color: white;
@@ -3016,9 +3016,9 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3016
3016
  padding: 16px;
3017
3017
  }
3018
3018
  }
3019
- `,yo=Ve((({onSubmit:t,onError:a,schema:r,siteType:o})=>{const{t:l}=K(),s="mb"===ve().other.template,{control:c,setValue:d,watch:m,handleSubmit:u,formState:{isSubmitted:g}}=ft({resolver:xt(r),mode:"onSubmit",defaultValues:{name:"",gender:He.Boy,measurementDate:new Date}}),b=m("weight"),f=m("height"),v=m("head"),y=n((()=>g&&!b&&!f&&!v),[g,b,f,v]);i((()=>{const e=fo(f,b);d("bmi",String(e)||"0")}),[b,f]);const x=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(e.Fragment,null,e.createElement(po,{"data-theme":o},e.createElement(ho,{onSubmit:u(t,a)},e.createElement(vt,{control:c,name:"gender",render:({field:{onChange:t,value:a}})=>e.createElement(wt,{onChange:t,value:a,siteType:o})}),"marryBaby"===o?e.createElement(e.Fragment,null,e.createElement(vt,{control:c,name:"birthday",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(uo,null,e.createElement(Dr,{label:l("babyGrowth.input.birthday"),name:"birthday",size:"md",value:String(a),CustomInput:e.createElement(Ia,{onChange:t,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:i=>e.createElement(Je,Object.assign({onChange:t,className:(null==n?void 0:n.message)?"error-input":"",name:"birthday",size:"md"},i,{value:a&&Ue(a).format(O)}))}),actionIcon:e.createElement(h.CalendarMB,{size:32})}))}),e.createElement(bo,null,e.createElement(vt,{control:c,name:"height",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(uo,null,e.createElement(Dr,{label:`${l("babyGrowth.height")} ${l("babyGrowth.cm")}`,name:"height",size:"md",value:String(a),CustomInput:e.createElement(Je,{className:y||(null==n?void 0:n.message)?"error-input":"",name:"height",size:"md",placeholder:"Nhập thông tin",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),e.createElement(vt,{control:c,name:"weight",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(uo,null,e.createElement(Dr,{label:`${l("babyGrowth.weight")} ${l("babyGrowth.kg")}`,name:"weight",size:"md",value:String(a),CustomInput:e.createElement(Je,{className:y||(null==n?void 0:n.message)?"error-input":"",name:"weight",size:"md",placeholder:"Nhập thông tin",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))})),e.createElement(bo,null,e.createElement(vt,{control:c,name:"head",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(uo,null,e.createElement(Dr,{label:`${l("babyGrowth.headCircumference")} ${l("babyGrowth.cm")}`,name:"head",size:"md",value:String(a),CustomInput:e.createElement(Je,{className:y||(null==n?void 0:n.message)?"error-input":"",name:"head",size:"md",value:String(a),onChange:t,type:"number",placeholder:"Nhập thông tin",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),e.createElement(vt,{control:c,name:"bmi",render:({field:{value:t}})=>e.createElement(uo,null,e.createElement(Dr,{label:`${l("babyGrowth.input.bmi")} ${l("babyGrowth.kg.m2")}`,name:"date",size:"md",value:String(t),CustomInput:e.createElement(Je,{name:"bmi",size:"md",type:"number",value:String(t),isDisabled:!0,style:{color:"#9495A0"}})}))})),e.createElement(vt,{control:c,name:"measurementDate",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(uo,null,e.createElement(Dr,{label:l("babyGrowth.input.measurementDate"),name:"date",size:"md",value:Pr(a),CustomInput:e.createElement(Ia,{placeholder:a&&Ue(a).format(O),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:t,disabledDays:{after:new Date},customInput:i=>e.createElement(Je,Object.assign({className:(null==n?void 0:n.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&Ue(a).format(O),onChange:t},i,{value:a&&Ue(a).format(O)}))}),actionIcon:e.createElement(h.CalendarMB,{size:32})}))}),e.createElement(Pe,{size:"lg",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":x},l("babyGrowth.input.submit"))):e.createElement(e.Fragment,null,e.createElement(vt,{control:c,name:"birthday",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(uo,null,e.createElement(go,{size:"label1",htmlFor:"birthday"},e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.birthday"))),e.createElement(Ia,{onChange:t,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:i=>e.createElement(Je,Object.assign({onChange:t,className:(null==n?void 0:n.message)?"error-input":"",name:"birthday",size:"md",actionIcon:e.createElement(h.Calendar,null)},i,{value:a&&Ue(a).format(O)}))}))}),e.createElement(bo,null,e.createElement(vt,{control:c,name:"height",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(uo,null,e.createElement(go,{size:"label1",htmlFor:"height"},e.createElement(p,{size:"s4",weight:"semiBold"},l("babyGrowth.height")),e.createElement(p,{as:"span",size:"n1",color:le.colors.gray400},l("babyGrowth.cm"))),e.createElement(Je,{className:y||(null==n?void 0:n.message)?"error-input":"",name:"height",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),e.createElement(vt,{control:c,name:"weight",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(uo,null,e.createElement(go,{size:"label1",htmlFor:"weight"},e.createElement(p,{size:"s4",weight:"semiBold"},l("babyGrowth.weight")),e.createElement(p,{as:"span",size:"n1",color:le.colors.gray400},l("babyGrowth.kg"))),e.createElement(Je,{className:y||(null==n?void 0:n.message)?"error-input":"",name:"weight",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))})),e.createElement(bo,null,e.createElement(vt,{control:c,name:"head",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(uo,null,e.createElement(go,{size:"label1",htmlFor:"head"},e.createElement(p,{size:"s4",weight:"semiBold"},l("babyGrowth.headCircumference")),e.createElement(p,{as:"span",size:"n1",color:le.colors.gray400},l("babyGrowth.cm"))),e.createElement(Je,{className:y||(null==n?void 0:n.message)?"error-input":"",name:"head",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),e.createElement(vt,{control:c,name:"bmi",render:({field:{value:t}})=>e.createElement(uo,null,e.createElement(go,{size:"label1",htmlFor:"bmi"},e.createElement(p,{size:"s4",weight:"semiBold"},l("babyGrowth.input.bmi")),e.createElement(p,{as:"span",size:"n1",color:le.colors.gray400},l("babyGrowth.kg.m2"))),e.createElement(Je,{name:"bmi",size:"md",type:"number",value:String(t),isDisabled:!0}))})),e.createElement(vt,{control:c,name:"measurementDate",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(uo,null,e.createElement(go,{size:"label1",htmlFor:"measurementDate"},e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.measurementDate"))),e.createElement(Ia,{placeholder:a&&Ue(a).format(O),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:t,disabledDays:{after:new Date},customInput:i=>e.createElement(Je,Object.assign({className:(null==n?void 0:n.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&Ue(a).format(O),onChange:t,actionIcon:e.createElement(h.Calendar,null)},i,{value:a&&Ue(a).format(O)}))}))}),e.createElement(Pe,{size:"lg",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":x},l("babyGrowth.input.submit"))))))}))`
3019
+ `,ko=Ve((({onSubmit:t,onError:a,schema:r,siteType:o})=>{const{t:l}=K(),s="mb"===ve().other.template,{control:c,setValue:d,watch:m,handleSubmit:u,formState:{isSubmitted:g}}=ft({resolver:xt(r),mode:"onSubmit",defaultValues:{name:"",gender:He.Boy,measurementDate:new Date}}),b=m("weight"),f=m("height"),v=m("head"),y=n((()=>g&&!b&&!f&&!v),[g,b,f,v]);i((()=>{const e=wo(f,b);d("bmi",String(e)||"0")}),[b,f]);const x=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(e.Fragment,null,e.createElement(bo,{"data-theme":o},e.createElement(fo,{onSubmit:u(t,a)},e.createElement(vt,{control:c,name:"gender",render:({field:{onChange:t,value:a}})=>e.createElement(wt,{onChange:t,value:a,siteType:o})}),"marryBaby"===o?e.createElement(e.Fragment,null,e.createElement(vt,{control:c,name:"birthday",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(vo,null,e.createElement(Ar,{label:l("babyGrowth.input.birthday"),name:"birthday",size:"md",value:String(a),CustomInput:e.createElement(La,{onChange:t,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:i=>e.createElement(Je,Object.assign({onChange:t,className:(null==n?void 0:n.message)?"error-input":"",name:"birthday",size:"md"},i,{value:a&&Ue(a).format(O)}))}),actionIcon:e.createElement(h.CalendarMB,{size:32})}))}),e.createElement(xo,null,e.createElement(vt,{control:c,name:"height",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(vo,null,e.createElement(Ar,{label:`${l("babyGrowth.height")} ${l("babyGrowth.cm")}`,name:"height",size:"md",value:String(a),CustomInput:e.createElement(Je,{className:y||(null==n?void 0:n.message)?"error-input":"",name:"height",size:"md",placeholder:"Nhập thông tin",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),e.createElement(vt,{control:c,name:"weight",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(vo,null,e.createElement(Ar,{label:`${l("babyGrowth.weight")} ${l("babyGrowth.kg")}`,name:"weight",size:"md",value:String(a),CustomInput:e.createElement(Je,{className:y||(null==n?void 0:n.message)?"error-input":"",name:"weight",size:"md",placeholder:"Nhập thông tin",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))})),e.createElement(xo,null,e.createElement(vt,{control:c,name:"head",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(vo,null,e.createElement(Ar,{label:`${l("babyGrowth.headCircumference")} ${l("babyGrowth.cm")}`,name:"head",size:"md",value:String(a),CustomInput:e.createElement(Je,{className:y||(null==n?void 0:n.message)?"error-input":"",name:"head",size:"md",value:String(a),onChange:t,type:"number",placeholder:"Nhập thông tin",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),e.createElement(vt,{control:c,name:"bmi",render:({field:{value:t}})=>e.createElement(vo,null,e.createElement(Ar,{label:`${l("babyGrowth.input.bmi")} ${l("babyGrowth.kg.m2")}`,name:"date",size:"md",value:String(t),CustomInput:e.createElement(Je,{name:"bmi",size:"md",type:"number",value:String(t),isDisabled:!0,style:{color:"#9495A0"}})}))})),e.createElement(vt,{control:c,name:"measurementDate",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(vo,null,e.createElement(Ar,{label:l("babyGrowth.input.measurementDate"),name:"date",size:"md",value:jr(a),CustomInput:e.createElement(La,{placeholder:a&&Ue(a).format(O),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:t,disabledDays:{after:new Date},customInput:i=>e.createElement(Je,Object.assign({className:(null==n?void 0:n.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&Ue(a).format(O),onChange:t},i,{value:a&&Ue(a).format(O)}))}),actionIcon:e.createElement(h.CalendarMB,{size:32})}))}),e.createElement(Pe,{size:"lg",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":x},l("babyGrowth.input.submit"))):e.createElement(e.Fragment,null,e.createElement(vt,{control:c,name:"birthday",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(vo,null,e.createElement(yo,{size:"label1",htmlFor:"birthday"},e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.birthday"))),e.createElement(La,{onChange:t,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:i=>e.createElement(Je,Object.assign({onChange:t,className:(null==n?void 0:n.message)?"error-input":"",name:"birthday",size:"md",actionIcon:e.createElement(h.Calendar,null)},i,{value:a&&Ue(a).format(O)}))}))}),e.createElement(xo,null,e.createElement(vt,{control:c,name:"height",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(vo,null,e.createElement(yo,{size:"label1",htmlFor:"height"},e.createElement(p,{size:"s4",weight:"semiBold"},l("babyGrowth.height")),e.createElement(p,{as:"span",size:"n1",color:le.colors.gray400},l("babyGrowth.cm"))),e.createElement(Je,{className:y||(null==n?void 0:n.message)?"error-input":"",name:"height",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),e.createElement(vt,{control:c,name:"weight",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(vo,null,e.createElement(yo,{size:"label1",htmlFor:"weight"},e.createElement(p,{size:"s4",weight:"semiBold"},l("babyGrowth.weight")),e.createElement(p,{as:"span",size:"n1",color:le.colors.gray400},l("babyGrowth.kg"))),e.createElement(Je,{className:y||(null==n?void 0:n.message)?"error-input":"",name:"weight",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))})),e.createElement(xo,null,e.createElement(vt,{control:c,name:"head",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(vo,null,e.createElement(yo,{size:"label1",htmlFor:"head"},e.createElement(p,{size:"s4",weight:"semiBold"},l("babyGrowth.headCircumference")),e.createElement(p,{as:"span",size:"n1",color:le.colors.gray400},l("babyGrowth.cm"))),e.createElement(Je,{className:y||(null==n?void 0:n.message)?"error-input":"",name:"head",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),e.createElement(vt,{control:c,name:"bmi",render:({field:{value:t}})=>e.createElement(vo,null,e.createElement(yo,{size:"label1",htmlFor:"bmi"},e.createElement(p,{size:"s4",weight:"semiBold"},l("babyGrowth.input.bmi")),e.createElement(p,{as:"span",size:"n1",color:le.colors.gray400},l("babyGrowth.kg.m2"))),e.createElement(Je,{name:"bmi",size:"md",type:"number",value:String(t),isDisabled:!0}))})),e.createElement(vt,{control:c,name:"measurementDate",render:({field:{onChange:t,value:a},fieldState:{error:n}})=>e.createElement(vo,null,e.createElement(yo,{size:"label1",htmlFor:"measurementDate"},e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.measurementDate"))),e.createElement(La,{placeholder:a&&Ue(a).format(O),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:t,disabledDays:{after:new Date},customInput:i=>e.createElement(Je,Object.assign({className:(null==n?void 0:n.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&Ue(a).format(O),onChange:t,actionIcon:e.createElement(h.Calendar,null)},i,{value:a&&Ue(a).format(O)}))}))}),e.createElement(Pe,{size:"lg",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":x},l("babyGrowth.input.submit"))))))}))`
3020
3020
  padding-block: 0;
3021
- `;Ve(Br)`
3021
+ `;Ve(zr)`
3022
3022
  padding-inline: 20px;
3023
3023
 
3024
3024
  img.embedded-icon {
@@ -3040,7 +3040,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3040
3040
  max-width: 200px;
3041
3041
  }
3042
3042
  }
3043
- `;const xo=({isMobile:t,className:a,onSubmit:n,onError:i,schema:r,babyGrowthContent:o,siteType:l})=>{var s,c,d;return e.createElement(Zr,{"babyGrowthContent-is-mobile":t,"data-site":l},e.createElement(Br,{siteType:l,bannerUrl:oe.getAssetPath("embedToolBannerBlue.svg"),bannerUrlLarge:oe.getAssetPath("embedToolBannerBlue.svg"),bannerColor:"marryBaby"===l&&le.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{className:"embedded-icon",alt:"health-tool-icon",src:(null==o?void 0:o.featuredImage)||oe.getAssetPath("health-tools/toolsIconBabyGrowth.svg"),loading:"lazy"}),heading:(null==o?void 0:o.title)||"",medicalReview:{link:null===(s=null==o?void 0:o.reviewBy)||void 0===s?void 0:s.link,reviewer:null===(c=null==o?void 0:o.reviewBy)||void 0===c?void 0:c.reviewer.trim(),date:null===(d=null==o?void 0:o.reviewBy)||void 0===d?void 0:d.date},isMobile:t}),e.createElement(vo,{"data-theme":l},e.createElement(yo,{siteType:l,schema:r,className:a,onSubmit:n,onError:i})))};var wo=be(((e,t)=>{const{isMarryBaby:a,isSide:n,direction:i}=t;return{root:Object.assign(Object.assign(Object.assign(Object.assign({position:"relative",display:"flex"},"auto"===i?{flexDirection:"row"}:{flexDirection:"column"===i?"column-reverse":"row"}),{gap:"8px",padding:"16px",borderRadius:a?"16px":"8px"}),!a&&{backgroundImage:`url(${oe.getAssetPath("bgPattern/baby-poop.svg")})`,backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center"}),{backgroundColor:a?e.colors.toneGreen.toString():e.colors[e.primaryColor][0],[e.fn.smallerThan("sm")]:Object.assign({},"auto"===i?{flexDirection:"column-reverse"}:{}),[e.fn.smallerThan("md")]:{borderRadius:a?"12px":"8px"},[e.fn.largerThan("md")]:{padding:"32px",gap:"20px"}}),inner:{display:"flex",gap:"16px",flexDirection:"column",flex:1},content:{display:"flex",flexDirection:"column",gap:"16px"},reviewText:{display:"flex",gap:"4px",a:{color:e.colors.gray[6],fontWeight:"bold","&:not(:hover)":{textDecoration:"none"}}},reviewTextIcon:{flexShrink:0,width:"16px",height:"16px",[e.fn.largerThan("sm")]:{marginTop:"2px"}},thumbnail:Object.assign(Object.assign({img:{objectFit:"contain",objectPosition:"bottom",width:"100%",height:"100%"}},"column"===i?{width:"80%",alignSelf:"center"}:"row"===i?{width:"40%"}:{}),{[e.fn.smallerThan("sm")]:Object.assign({},"auto"===i?{width:"80%",alignSelf:"center"}:{}),[e.fn.largerThan("sm")]:Object.assign({},"auto"===i?{width:"40%"}:{})}),action:{display:"flex",justifyContent:a?"center":"flex-start"},btn:{minWidth:a?"auto":"143px",width:n||a?"100%":"auto",[e.fn.smallerThan("md")]:{width:"100%"}},sponsorLogo:Object.assign(Object.assign({position:"absolute",top:0,height:40,objectFit:"contain",objectPosition:"top"},"column"===i?{left:"16px",height:40}:"row"===i?{height:50,right:"40px"}:{left:"16px",height:40}),{[e.fn.largerThan("sm")]:Object.assign({},"auto"===i?{height:50,right:"40px",left:"unset"}:{})})}}));const Eo=({babyPoopPage:t,onClickFindOut:a,currentUrl:n,isSide:i,direction:r="auto",sponsorLogo:o})=>{const{t:l}=K(),s="mb"===ve().other.template,{classes:c}=wo({isMarryBaby:s,isSide:i,direction:r},{name:"BabyPoopEmbed"}),{reviewedBy:d,reviewedDate:m}=t||{};return e.createElement("div",{className:c.root},e.createElement("div",{className:c.inner},e.createElement(A,{tag:"h3",as:"h2",color:!s&&"#284A75"},t.title),e.createElement("div",{className:c.content,"data-is-side":i},e.createElement(p,{size:"p3",className:"description"},t.description),!!d&&e.createElement("div",{className:c.reviewText},e.createElement("img",{src:oe.getAssetPath("reviewerCheck.svg"),alt:"check",className:c.reviewTextIcon,loading:"lazy"}),e.createElement(p,{size:"p4",color:le.colors.gray600},l("categoryPage.info.reviewed")," ",e.createElement("a",{href:d.profile_url},d.display_name)," ",l("categoryPage.onDate",{date:m||""}))),e.createElement("div",{className:c.action},e.createElement(Pe,{className:c.btn,size:s?"lg":"md",variant:s?"secondary":"primary",onClick:a,dataEventCategory:"Health Tool",dataEventAction:"Baby Stool Inquiry",dataEventLabel:n,style:{visibility:Boolean(a)?"visible":"hidden"}},l("babyPoop.findOut"))))),e.createElement("div",{className:c.thumbnail},e.createElement("img",{src:s?oe.getAssetPath("baby-poop.svg"):null==t?void 0:t.featuredImage,alt:t.title,loading:"lazy"})),o&&e.createElement("img",{loading:"lazy",src:o,alt:"sponsor",className:c.sponsorLogo}))},ko=Ve.div`
3043
+ `;const Co=({isMobile:t,className:a,onSubmit:n,onError:i,schema:r,babyGrowthContent:o,siteType:l})=>{var s,c,d;return e.createElement(Jr,{"babyGrowthContent-is-mobile":t,"data-site":l},e.createElement(zr,{siteType:l,bannerUrl:oe.getAssetPath("embedToolBannerBlue.svg"),bannerUrlLarge:oe.getAssetPath("embedToolBannerBlue.svg"),bannerColor:"marryBaby"===l&&le.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{className:"embedded-icon",alt:"health-tool-icon",src:(null==o?void 0:o.featuredImage)||oe.getAssetPath("health-tools/toolsIconBabyGrowth.svg"),loading:"lazy"}),heading:(null==o?void 0:o.title)||"",medicalReview:{link:null===(s=null==o?void 0:o.reviewBy)||void 0===s?void 0:s.link,reviewer:null===(c=null==o?void 0:o.reviewBy)||void 0===c?void 0:c.reviewer.trim(),date:null===(d=null==o?void 0:o.reviewBy)||void 0===d?void 0:d.date},isMobile:t}),e.createElement(Eo,{"data-theme":l},e.createElement(ko,{siteType:l,schema:r,className:a,onSubmit:n,onError:i})))};var So=be(((e,t)=>{const{isMarryBaby:a,isSide:n,direction:i}=t;return{root:Object.assign(Object.assign(Object.assign(Object.assign({position:"relative",display:"flex"},"auto"===i?{flexDirection:"row"}:{flexDirection:"column"===i?"column-reverse":"row"}),{gap:"8px",padding:"16px",borderRadius:a?"16px":"8px"}),!a&&{backgroundImage:`url(${oe.getAssetPath("bgPattern/baby-poop.svg")})`,backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center"}),{backgroundColor:a?e.colors.toneGreen.toString():e.colors[e.primaryColor][0],[e.fn.smallerThan("sm")]:Object.assign({},"auto"===i?{flexDirection:"column-reverse"}:{}),[e.fn.smallerThan("md")]:{borderRadius:a?"12px":"8px"},[e.fn.largerThan("md")]:{padding:"32px",gap:"20px"}}),inner:{display:"flex",gap:"16px",flexDirection:"column",flex:1},content:{display:"flex",flexDirection:"column",gap:"16px"},reviewText:{display:"flex",gap:"4px",a:{color:e.colors.gray[6],fontWeight:"bold","&:not(:hover)":{textDecoration:"none"}}},reviewTextIcon:{flexShrink:0,width:"16px",height:"16px",[e.fn.largerThan("sm")]:{marginTop:"2px"}},thumbnail:Object.assign(Object.assign({img:{objectFit:"contain",objectPosition:"bottom",width:"100%",height:"100%"}},"column"===i?{width:"80%",alignSelf:"center"}:"row"===i?{width:"40%"}:{}),{[e.fn.smallerThan("sm")]:Object.assign({},"auto"===i?{width:"80%",alignSelf:"center"}:{}),[e.fn.largerThan("sm")]:Object.assign({},"auto"===i?{width:"40%"}:{})}),action:{display:"flex",justifyContent:a?"center":"flex-start"},btn:{minWidth:a?"auto":"143px",width:n||a?"100%":"auto",[e.fn.smallerThan("md")]:{width:"100%"}},sponsorLogo:Object.assign(Object.assign({position:"absolute",top:0,height:40,objectFit:"contain",objectPosition:"top"},"column"===i?{left:"16px",height:40}:"row"===i?{height:50,right:"40px"}:{left:"16px",height:40}),{[e.fn.largerThan("sm")]:Object.assign({},"auto"===i?{height:50,right:"40px",left:"unset"}:{})})}}));const No=({babyPoopPage:t,onClickFindOut:a,currentUrl:n,isSide:i,direction:r="auto",sponsorLogo:o})=>{const{t:l}=K(),s="mb"===ve().other.template,{classes:c}=So({isMarryBaby:s,isSide:i,direction:r},{name:"BabyPoopEmbed"}),{reviewedBy:d,reviewedDate:m}=t||{};return e.createElement("div",{className:c.root},e.createElement("div",{className:c.inner},e.createElement(A,{tag:"h3",as:"h2",color:!s&&"#284A75"},t.title),e.createElement("div",{className:c.content,"data-is-side":i},e.createElement(p,{size:"p3",className:"description"},t.description),!!d&&e.createElement("div",{className:c.reviewText},e.createElement("img",{src:oe.getAssetPath("reviewerCheck.svg"),alt:"check",className:c.reviewTextIcon,loading:"lazy"}),e.createElement(p,{size:"p4",color:le.colors.gray600},l("categoryPage.info.reviewed")," ",e.createElement("a",{href:d.profile_url},d.display_name)," ",l("categoryPage.onDate",{date:m||""}))),e.createElement("div",{className:c.action},e.createElement(Pe,{className:c.btn,size:s?"lg":"md",variant:s?"secondary":"primary",onClick:a,dataEventCategory:"Health Tool",dataEventAction:"Baby Stool Inquiry",dataEventLabel:n,style:{visibility:Boolean(a)?"visible":"hidden"}},l("babyPoop.findOut"))))),e.createElement("div",{className:c.thumbnail},e.createElement("img",{src:s?oe.getAssetPath("baby-poop.svg"):null==t?void 0:t.featuredImage,alt:t.title,loading:"lazy"})),o&&e.createElement("img",{loading:"lazy",src:o,alt:"sponsor",className:c.sponsorLogo}))},Bo=Ve.div`
3044
3044
  display: flex;
3045
3045
  width: 100%;
3046
3046
 
@@ -3051,7 +3051,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3051
3051
  &[data-direction='horizontal'] {
3052
3052
  flex-wrap: wrap;
3053
3053
  }
3054
- `,Co=Ve.div`
3054
+ `,To=Ve.div`
3055
3055
  display: flex;
3056
3056
 
3057
3057
  padding: 8px;
@@ -3097,7 +3097,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3097
3097
  height: 36px;
3098
3098
  object-fit: contain;
3099
3099
  }
3100
- `,So=({value:a,options:n,className:i,direction:r="horizontal",onChange:o,isDisabled:l})=>{const[s,c]=t(a);return e.createElement(ko,{className:i,"data-direction":r},n.map(((t,n)=>e.createElement(Co,{"data-selected":(a||s)===t.value,"data-disabled":l,key:`health-tool${n}`,onClick:()=>{var e;e=t.value,l||(c(e),o&&o(e))}},e.createElement("div",null,e.createElement("img",{src:(a||s)===t.value?t.imageActive:t.image,className:"gender-image",alt:"",loading:"lazy"}),t.label&&e.createElement(p,{weight:"bold",className:"radio-group-item-heading",size:"label1"},t.label))))))},No=Ve(Pe)`
3100
+ `,Do=({value:a,options:n,className:i,direction:r="horizontal",onChange:o,isDisabled:l})=>{const[s,c]=t(a);return e.createElement(Bo,{className:i,"data-direction":r},n.map(((t,n)=>e.createElement(To,{"data-selected":(a||s)===t.value,"data-disabled":l,key:`health-tool${n}`,onClick:()=>{var e;e=t.value,l||(c(e),o&&o(e))}},e.createElement("div",null,e.createElement("img",{src:(a||s)===t.value?t.imageActive:t.image,className:"gender-image",alt:"",loading:"lazy"}),t.label&&e.createElement(p,{weight:"bold",className:"radio-group-item-heading",size:"label1"},t.label))))))},Io=Ve(Pe)`
3101
3101
  margin: 0 auto 24px;
3102
3102
  width: 100%;
3103
3103
  ${Z.mbUp} {
@@ -3201,7 +3201,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3201
3201
  }
3202
3202
  }
3203
3203
  }
3204
- `;const Bo=Ve.div``,To=Ve.div`
3204
+ `;const zo=Ve.div``,_o=Ve.div`
3205
3205
  display: flex;
3206
3206
  flex-direction: column;
3207
3207
  gap: 16px;
@@ -3223,7 +3223,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3223
3223
  font-size: 12px;
3224
3224
  }
3225
3225
  }
3226
- `,Do=Ve.div`
3226
+ `,Ao=Ve.div`
3227
3227
  ${Z.mbUp} {
3228
3228
  display: flex;
3229
3229
  width: 100%;
@@ -3249,7 +3249,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3249
3249
  gap: 0px;
3250
3250
  }
3251
3251
  }
3252
- `,Io=({info:a,className:n,style:r,onChange:o,errorMessage:l={},locale:s})=>{const{t:c}=K(),[d,m]=t(new Date),[h,u]=t({age:!1,rate:!1});return i((()=>{u({age:!1,rate:!1})}),[l]),e.createElement(Bo,{style:r,className:n},e.createElement(Je,{className:"input-section due-date-input",label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600,style:{marginBottom:"9px",flex:"1"}},c("targetHeartRate.ageInput")),value:Pr(d),name:"date",size:"md",CustomInput:e.createElement(Ia,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:Pr(d)})),disabledDays:{after:new Date(et(new Date,0))},locale:s,pickedDate:d,displayDateFormat:"dd/MM/yyyy",onChange:e=>{(e=>{m(e),u((e=>Object.assign(Object.assign({},e),{age:!0})));const t=Object.assign(Object.assign({},a),{age:Qe(new Date(e),Lr)});o&&o(t)})(e)},placeholder:"placeholder"}),errorMessage:h.age?"":l.age}))},_o=({isSide:a,locale:r,thrContent:o,isMobile:l,info:s,inputErrorMessage:c,onFormChange:d,onSubmit:m})=>{var h,u,g;const{t:b}=K(),{getHealthToolLink:f}=yt(r),v=n((()=>f(j.THR)),[f]),[y,x]=t(!1),[w,E]=t("low_intensity"),[k,C]=t("male"),[S,N]=t(60),[B,T]=t({idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40}),D=[{idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40},{idAge:1,minAge:18,maxAge:25,rangeMale:49,rangeFemale:54},{idAge:2,minAge:25,maxAge:35,rangeMale:49,rangeFemale:54},{idAge:3,minAge:35,maxAge:45,rangeMale:50,rangeFemale:54},{idAge:4,minAge:45,maxAge:55,rangeMale:50,rangeFemale:54},{idAge:5,minAge:55,maxAge:65,rangeMale:51,rangeFemale:54},{idAge:6,minAge:65,maxAge:120,rangeMale:50,rangeFemale:54}],I=[{value:"low_intensity",label:b("targetHeartRate.lowIntensity.title"),image:oe.getAssetPath("/low.svg"),imageActive:oe.getAssetPath("/low-active.svg"),content:b("targetHeartRate.lowIntensity.note")},{value:"moderate_intensity",label:b("targetHeartRate.moderateIntensity.title"),image:oe.getAssetPath("/moderate.svg"),imageActive:oe.getAssetPath("/moderate-active.svg"),content:b("targetHeartRate.moderateIntensity.note")},{value:"aerobic_zone",label:b("targetHeartRate.aerobicZone.title"),image:oe.getAssetPath("/aerobic.svg"),imageActive:oe.getAssetPath("/aerobic-active.svg"),content:b("targetHeartRate.aerobicZone.note")},{value:"vigorous_intensity",label:b("targetHeartRate.vigorousIntensity.title"),image:oe.getAssetPath("/vigorous.svg"),imageActive:oe.getAssetPath("/vigorous-active.svg"),content:b("targetHeartRate.vigorousIntensity.note")},{value:"maximum_intensity",label:b("targetHeartRate.maximumIntensity.title"),image:oe.getAssetPath("/maximum.svg"),imageActive:oe.getAssetPath("/maximum-active.svg"),content:b("targetHeartRate.maximumIntensity.note")}];return i((()=>{const e=((new Date).getTime()-new Date(null==s?void 0:s.age).getTime())/1e3;x(e>=567648e3);const t=D.find((t=>e>=365*t.minAge*24*60*60&&e<365*t.maxAge*24*60*60))||D[0];T(t),N(60)}),[null==s?void 0:s.age]),e.createElement(Zr,{"data-is-side":a},e.createElement(Br,{isSide:a,icon:e.createElement("img",{alt:"health-tool-icon",src:(null==o?void 0:o.featured_image)||oe.getAssetPath("health-tools/target-heart-rate-icon.svg"),loading:"lazy"}),heading:b("targetHearRate.heading"),medicalReview:(null===(h=null==o?void 0:o.reviewedBy)||void 0===h?void 0:h.display_name)?{link:kt(null==o?void 0:o.reviewedBy),reviewer:null===(u=null==o?void 0:o.reviewedBy)||void 0===u?void 0:u.display_name,date:null==o?void 0:o.reviewedDate}:void 0,isMobile:l}),e.createElement(bt,null,e.createElement(qr,{className:"heart-rate-cal",onSubmit:e=>e.preventDefault(),"data-is-side":a},e.createElement(Do,{"data-is-side":a},e.createElement(To,null,e.createElement(ia,{defaultValue:"male",onChange:e=>{C(e),N(60)},styles:e=>({root:!a&&{[e.fn.largerThan("sm")]:{width:"calc((100% - 24px) * 2/3 + 12px)"}},wrapper:{[e.fn.largerThan("sm")]:{gap:he(12)}}})}))),e.createElement(Do,null,e.createElement(Io,{info:s,locale:r,errorMessage:c,onChange:d})),e.createElement("div",{className:"slider-heart-rate"},e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},b("targetHeartRate.heartRateInput")),e.createElement("div",{className:"slider-outer-wrapper"},e.createElement(ht,{containerStyle:{flex:1},min:"male"===k?B.rangeMale:B.rangeFemale,max:200,step:1,value:S,withControl:!0,onChange:N}))),y&&e.createElement(To,null,e.createElement(Vr,null,e.createElement(p,{size:"s4",style:{display:"inline-block",fontWeight:"bold",color:le.colors.gray600,marginBottom:"9px"}},b("targetHeartRate.selectActive")),e.createElement("div",{className:"card"},e.createElement(So,{options:I.map((e=>({value:e.value,label:e.label,image:e.image,imageActive:e.imageActive}))),value:w,onChange:e=>{E(e)},className:"gender-selector"})),w&&e.createElement("div",{className:"note"},e.createElement("img",{style:{height:"16px",width:"16px"},src:oe.getAssetPath("/infoIcon.svg"),alt:"",loading:"lazy"}),e.createElement(p,{size:"s4",color:"#595959"},null===(g=I[I.findIndex((e=>e.value==w))||0])||void 0===g?void 0:g.content)),!w&&e.createElement("span",{style:{color:"#e64728"}},c.intensity)))),e.createElement("div",{style:{display:"flex"}},e.createElement(No,{size:"lg",onClick:()=>{m(k,w,[S])},dataEventCategory:"Health Tool",dataEventAction:"THR",dataEventLabel:`https://${Q[r]}/${v}`},b("bmi.submit")))))},zo=Ve(Pe)`
3252
+ `,Lo=({info:a,className:n,style:r,onChange:o,errorMessage:l={},locale:s})=>{const{t:c}=K(),[d,m]=t(new Date),[h,u]=t({age:!1,rate:!1});return i((()=>{u({age:!1,rate:!1})}),[l]),e.createElement(zo,{style:r,className:n},e.createElement(Je,{className:"input-section due-date-input",label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600,style:{marginBottom:"9px",flex:"1"}},c("targetHeartRate.ageInput")),value:jr(d),name:"date",size:"md",CustomInput:e.createElement(La,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:jr(d)})),disabledDays:{after:new Date(et(new Date,0))},locale:s,pickedDate:d,displayDateFormat:"dd/MM/yyyy",onChange:e=>{(e=>{m(e),u((e=>Object.assign(Object.assign({},e),{age:!0})));const t=Object.assign(Object.assign({},a),{age:Qe(new Date(e),Or)});o&&o(t)})(e)},placeholder:"placeholder"}),errorMessage:h.age?"":l.age}))},Po=({isSide:a,locale:r,thrContent:o,isMobile:l,info:s,inputErrorMessage:c,onFormChange:d,onSubmit:m})=>{var h,u,g;const{t:b}=K(),{getHealthToolLink:f}=yt(r),v=n((()=>f(j.THR)),[f]),[y,x]=t(!1),[w,E]=t("low_intensity"),[k,C]=t("male"),[S,N]=t(60),[B,T]=t({idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40}),D=[{idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40},{idAge:1,minAge:18,maxAge:25,rangeMale:49,rangeFemale:54},{idAge:2,minAge:25,maxAge:35,rangeMale:49,rangeFemale:54},{idAge:3,minAge:35,maxAge:45,rangeMale:50,rangeFemale:54},{idAge:4,minAge:45,maxAge:55,rangeMale:50,rangeFemale:54},{idAge:5,minAge:55,maxAge:65,rangeMale:51,rangeFemale:54},{idAge:6,minAge:65,maxAge:120,rangeMale:50,rangeFemale:54}],I=[{value:"low_intensity",label:b("targetHeartRate.lowIntensity.title"),image:oe.getAssetPath("/low.svg"),imageActive:oe.getAssetPath("/low-active.svg"),content:b("targetHeartRate.lowIntensity.note")},{value:"moderate_intensity",label:b("targetHeartRate.moderateIntensity.title"),image:oe.getAssetPath("/moderate.svg"),imageActive:oe.getAssetPath("/moderate-active.svg"),content:b("targetHeartRate.moderateIntensity.note")},{value:"aerobic_zone",label:b("targetHeartRate.aerobicZone.title"),image:oe.getAssetPath("/aerobic.svg"),imageActive:oe.getAssetPath("/aerobic-active.svg"),content:b("targetHeartRate.aerobicZone.note")},{value:"vigorous_intensity",label:b("targetHeartRate.vigorousIntensity.title"),image:oe.getAssetPath("/vigorous.svg"),imageActive:oe.getAssetPath("/vigorous-active.svg"),content:b("targetHeartRate.vigorousIntensity.note")},{value:"maximum_intensity",label:b("targetHeartRate.maximumIntensity.title"),image:oe.getAssetPath("/maximum.svg"),imageActive:oe.getAssetPath("/maximum-active.svg"),content:b("targetHeartRate.maximumIntensity.note")}];return i((()=>{const e=((new Date).getTime()-new Date(null==s?void 0:s.age).getTime())/1e3;x(e>=567648e3);const t=D.find((t=>e>=365*t.minAge*24*60*60&&e<365*t.maxAge*24*60*60))||D[0];T(t),N(60)}),[null==s?void 0:s.age]),e.createElement(Jr,{"data-is-side":a},e.createElement(zr,{isSide:a,icon:e.createElement("img",{alt:"health-tool-icon",src:(null==o?void 0:o.featured_image)||oe.getAssetPath("health-tools/target-heart-rate-icon.svg"),loading:"lazy"}),heading:b("targetHearRate.heading"),medicalReview:(null===(h=null==o?void 0:o.reviewedBy)||void 0===h?void 0:h.display_name)?{link:kt(null==o?void 0:o.reviewedBy),reviewer:null===(u=null==o?void 0:o.reviewedBy)||void 0===u?void 0:u.display_name,date:null==o?void 0:o.reviewedDate}:void 0,isMobile:l}),e.createElement(bt,null,e.createElement(Kr,{className:"heart-rate-cal",onSubmit:e=>e.preventDefault(),"data-is-side":a},e.createElement(Ao,{"data-is-side":a},e.createElement(_o,null,e.createElement(sa,{defaultValue:"male",onChange:e=>{C(e),N(60)},styles:e=>({root:!a&&{[e.fn.largerThan("sm")]:{width:"calc((100% - 24px) * 2/3 + 12px)"}},wrapper:{[e.fn.largerThan("sm")]:{gap:he(12)}}})}))),e.createElement(Ao,null,e.createElement(Lo,{info:s,locale:r,errorMessage:c,onChange:d})),e.createElement("div",{className:"slider-heart-rate"},e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},b("targetHeartRate.heartRateInput")),e.createElement("div",{className:"slider-outer-wrapper"},e.createElement(ht,{containerStyle:{flex:1},min:"male"===k?B.rangeMale:B.rangeFemale,max:200,step:1,value:S,withControl:!0,onChange:N}))),y&&e.createElement(_o,null,e.createElement(Zr,null,e.createElement(p,{size:"s4",style:{display:"inline-block",fontWeight:"bold",color:le.colors.gray600,marginBottom:"9px"}},b("targetHeartRate.selectActive")),e.createElement("div",{className:"card"},e.createElement(Do,{options:I.map((e=>({value:e.value,label:e.label,image:e.image,imageActive:e.imageActive}))),value:w,onChange:e=>{E(e)},className:"gender-selector"})),w&&e.createElement("div",{className:"note"},e.createElement("img",{style:{height:"16px",width:"16px"},src:oe.getAssetPath("/infoIcon.svg"),alt:"",loading:"lazy"}),e.createElement(p,{size:"s4",color:"#595959"},null===(g=I[I.findIndex((e=>e.value==w))||0])||void 0===g?void 0:g.content)),!w&&e.createElement("span",{style:{color:"#e64728"}},c.intensity)))),e.createElement("div",{style:{display:"flex"}},e.createElement(Io,{size:"lg",onClick:()=>{m(k,w,[S])},dataEventCategory:"Health Tool",dataEventAction:"THR",dataEventLabel:`https://${Q[r]}/${v}`},b("bmi.submit")))))},$o=Ve(Pe)`
3253
3253
  margin: 0 auto 24px;
3254
3254
  ${Z.mbUp} {
3255
3255
  max-width: 200px;
@@ -3315,7 +3315,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3315
3315
  }
3316
3316
  }
3317
3317
  }
3318
- `;const Ao=Ve.div``,Lo=Ve.div`
3318
+ `;const Mo=Ve.div``,Oo=Ve.div`
3319
3319
  margin-bottom: 1rem;
3320
3320
  display: flex;
3321
3321
  flex-direction: column;
@@ -3342,7 +3342,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3342
3342
  font-size: 12px;
3343
3343
  }
3344
3344
  }
3345
- `,Po=Ve.div`
3345
+ `,jo=Ve.div`
3346
3346
  ${Z.mbUp} {
3347
3347
  display: flex;
3348
3348
  width: 100%;
@@ -3365,11 +3365,11 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3365
3365
  flex-direction: column;
3366
3366
  gap: 0px;
3367
3367
  }
3368
- `,$o=({info:a,className:r,style:o,onChange:l,errorMessage:s={},locale:c,onClick:d,isSide:m})=>{const{t:h}=K(),[u,g]=t({age:!1,height:!1,weight:!1}),{getHealthToolLink:b}=yt(c),f=n((()=>b(j.OVULATION)),[b]),[v,y]=t("male"),x=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},w=e=>{var t,n;n=e=>{g((e=>Object.assign(Object.assign({},e),{age:!0})));const t=Object.assign(Object.assign({},a),{age:e});l&&l(t)},""!==(t=e)&&(isNaN(t)||isNaN(parseFloat(t))||t.includes("."))||n(t)};return i((()=>{l&&l(Object.assign(Object.assign({},a),{objective:"lose-fat",activeLevel:"sedentary"}))}),[]),i((()=>{g({age:!1,height:!1,weight:!1})}),[s]),e.createElement(Ao,{style:o,className:r},e.createElement(Lo,{"data-is-side":m},e.createElement(ia,{defaultValue:"male",onChange:e=>y(e),styles:e=>({root:!m&&{[e.fn.largerThan("sm")]:{width:"calc((100% - 24px) * 2/3 + 12px)"}},wrapper:{[e.fn.largerThan("sm")]:{gap:he(12)}}})})),e.createElement(Po,{"data-is-side":m},e.createElement(Lo,null,e.createElement($e.Number,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},h("bmi.ageInput")," ",e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray300,as:"span"},h("bmi.ageInput.desc"))),placeholder:h("healthtool.placeholder.age"),value:Number(a.age),onChange:e=>w(String(e)),error:u.age?"":s.age,min:0})),e.createElement(Lo,null,e.createElement($e.Number,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},h("bmi.heightInput")," ",e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray300,as:"span"},h("bmi.heightInput.desc"))),placeholder:h("pwg.placeholder.height"),value:Number(a.height),onChange:e=>{return t=String(e),void x(t,(e=>{g((e=>Object.assign(Object.assign({},e),{height:!0})));const t=Object.assign(Object.assign({},a),{height:e});l&&l(t)}));var t},error:u.height?"":s.height,min:0})),e.createElement(Lo,null,e.createElement($e.Number,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},h("bmi.weightInput")," ",e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray300,as:"span"},h("bmi.weightInput.desc"))),placeholder:h("pwg.placeholder.weight"),value:Number(a.weight),onChange:e=>{return t=String(e),g((e=>Object.assign(Object.assign({},e),{weight:!0}))),void x(t,(e=>{const t=Object.assign(Object.assign({},a),{weight:e});l&&l(t)}));var t},error:u.weight?"":s.weight,min:0,precision:1}))),e.createElement("div",{style:{display:"flex"}},e.createElement(zo,{size:"lg",fullWidth:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMR",dataEventLabel:`https://${Q[c]}/${f}`,onClick:()=>{d(v)}},h("bmi.submit"))))},Mo=({isSide:t,locale:a,bmrContent:n,isMobile:i,info:r,inputErrorMessage:o,onFormChange:l,onSubmit:s})=>{var c,d,m;const{t:p}=K();return e.createElement(Zr,{"data-is-side":t},e.createElement(Br,{isSide:t,icon:e.createElement("img",{alt:"health-tool-icon",src:(null==n?void 0:n.featured_image)||oe.getAssetPath("health-tools/bmr.svg"),loading:"lazy"}),heading:p("bmr.heading"),medicalReview:{link:null===(c=null==n?void 0:n.reviewBy)||void 0===c?void 0:c.link,reviewer:null===(d=null==n?void 0:n.reviewBy)||void 0===d?void 0:d.reviewer,date:null===(m=null==n?void 0:n.reviewBy)||void 0===m?void 0:m.date},isMobile:i}),e.createElement(bt,null,e.createElement(qr,{onSubmit:e=>e.preventDefault(),"data-is-side":t},e.createElement(Fr,null,e.createElement($o,{info:r,locale:a,errorMessage:o,onChange:l,onClick:s,isSide:t})))))},Oo=({locale:a,onSubmit:i,isSide:r,siteType:o})=>{const{t:l}=K(),[s,c]=t(new Date),[d,m]=t(28),[u,g]=t(7),b={cycle:d,periodDateStart:s,periodLength:u},f=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(e.Fragment,null,e.createElement(zr,{className:"input-form input-section","data-is-side":!0},"marryBaby"===o?e.createElement(Dr,{label:l("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:Pr(s),CustomInput:e.createElement(Ia,{onChange:e=>{c(e)},placeholder:"dd/mm/yyyy",pickedDate:s,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:et(new Date,-45),after:new Date},customInput:t=>e.createElement(Je,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:s&&Ue(s).format(O)}))}),actionIcon:e.createElement(h.CalendarMB,{size:32})}):e.createElement(Je,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("dueDatePage.lastPeriod.lastPeriodLabel")),value:Pr(s),size:"md",name:"date",className:"due-date-input",CustomInput:e.createElement(Ia,{customInput:t=>e.createElement("input",Object.assign({},t,{type:"date",className:"due-date-input",value:Pr(s)})),locale:a,pickedDate:s,displayDateFormat:pt,onChange:e=>{c(e)},disabledDays:{before:et(new Date,-45),after:new Date},placeholder:"Chọn ngày"})})),e.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===o?"marryBaby":"","data-is-side":r},"marryBaby"===o?e.createElement(ut,{type:"bodytext-3",color:le.mbColors.midGray},l("ovulationPage.cycleLength")):e.createElement(p,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.cycleLength")+" ",e.createElement(p,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===o&&e.createElement(p,{size:"s3",weight:"semiBold",color:le.colors.gray600},d),e.createElement(ht,{containerStyle:{flex:1},min:21,max:45,step:1,value:d,onChange:m,labelAlwaysOn:"marryBaby"!==o,withControl:"marryBaby"!==o,label:"marryBaby"!==o?void 0:null}))),e.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===o?"marryBaby":"","data-is-side":r},"marryBaby"===o?e.createElement(ut,{type:"bodytext-3",color:le.mbColors.midGray},l("ovulationPage.periodDuration")):e.createElement(p,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.periodDuration")+" ",e.createElement(p,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===o&&e.createElement(p,{size:"s3",weight:"semiBold",color:le.colors.gray600},u),e.createElement(ht,{containerStyle:{flex:1},min:1,max:15,step:1,value:u,onChange:g,labelAlwaysOn:"marryBaby"!==o,withControl:"marryBaby"!==o,label:"marryBaby"!==o?void 0:null}))),e.createElement("div",{style:{width:"100%",display:"flex"}},e.createElement(Pe,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===o?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:f,onClick:()=>{localStorage.setItem("ovulationInfo",JSON.stringify(b)),i&&i({startDate:s,cycle:d,periodLength:u})},role:"button"},l("dueDatePage.lastPeriod.calculate"))))};var jo;!function(e){e[e.trackPeriod=0]="trackPeriod",e[e.conceive=1]="conceive",e[e.avoidPregnancy=2]="avoidPregnancy"}(jo||(jo={}));const Fo=({locale:a,onSubmitOvulation:n,isSide:i,siteType:r})=>{const{t:o}=K(),[l,s]=t(jo.trackPeriod),c=[{label:o("ovulationPage.trackPeriod"),value:jo.trackPeriod},{label:o("ovulationPage.conceive"),value:jo.conceive},{label:o("ovulationPage.avoidPregnancy"),value:jo.avoidPregnancy}];return e.createElement(Rr,null,e.createElement(Ir,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?e.createElement(Tr,{groupedWithLabel:o("dueDatePage.calculationMethod"),options:c,placeholder:o("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:c[l],onChange:e=>{s(e.value)}}):e.createElement(e.Fragment,null,e.createElement(p,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},o("ovulationPage.objectives")),e.createElement(_r,{"data-is-side":i},e.createElement(gt,{options:c,placeholder:o("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:c[l],onChange:e=>{s(e.value)}})))),e.createElement(Oo,{siteType:r,locale:a,onSubmit:({startDate:e,cycle:t,periodLength:a})=>{n&&n({method:l,periodDateStart:e,cycle:t,periodLength:a})},isSide:i}))},Ho=({onSubmitOvulation:t,locale:a,ovulationPageInfo:n,expertUrl:i,isSide:r=!1,siteType:o,isMobile:l})=>{var s;const{t:c}=K();return e.createElement(Zr,{"data-is-side":r,"data-site":o},e.createElement(Br,{isSide:r,bannerUrl:oe.getAssetPath("embedToolBannerPink.svg"),siteType:o,bannerColor:"marryBaby"===o&&le.mbColors.mint,isEmbeded:!0,color:"pink",icon:e.createElement("img",{alt:"health-tool-icon",src:(null==n?void 0:n.featured_image)||oe.getAssetPath("health-tools/ovulation-icon.svg"),loading:"lazy"}),heading:c("healthTools.ovulationCalculator"),medicalReview:{link:i,reviewer:null===(s=null==n?void 0:n.reviewed_by)||void 0===s?void 0:s.display_name,date:null==n?void 0:n.reviewed_date},isMobile:l}),e.createElement(qr,{onSubmit:e=>e.preventDefault(),className:"ovulation-cal","data-is-side":r},e.createElement(Fo,{siteType:o,locale:a,onSubmitOvulation:t,isSide:r})))},Ro=({siteType:n,info:r,onChange:o,errorMessage:l={}})=>{const{t:s}=K(),[c,d]=t({weightBefore:!1,height:!1,weight:!1}),[m,p]=t(0),h=a(null);i((()=>{var e;p(null===(e=h.current)||void 0===e?void 0:e.clientHeight)}));const u=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},g=e=>{u(e,(e=>{d((e=>Object.assign(Object.assign({},e),{weightBefore:!0})));const t=Object.assign(Object.assign({},r),{weightBefore:e});o&&o(t)}))},b=e=>{u(e,(e=>{d((e=>Object.assign(Object.assign({},e),{height:!0})));const t=Object.assign(Object.assign({},r),{height:e});o&&o(t)}))},f=e=>{u(e,(e=>{d((e=>Object.assign(Object.assign({},e),{weight:!0})));const t=Object.assign(Object.assign({},r),{weight:e});o&&o(t)}))};return i((()=>{o&&o(Object.assign({},r))}),[]),i((()=>{d({weightBefore:!1,height:!1,weight:!1})}),[l]),"marryBaby"===n?e.createElement(e.Fragment,null,e.createElement("div",{className:"input-form-pwg input-section"},e.createElement(Dr,{label:s("pregnancyWeightGain.heightInput"),name:"pwg-height",size:"md",value:null==r?void 0:r.height,CustomInput:e.createElement(Je,{className:(null==c?void 0:c.height)?"":"error-input",name:"pwg-height",size:"md",placeholder:"Nhập thông tin",value:null==r?void 0:r.height,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==c?void 0:c.height)?"":null==l?void 0:l.height,showErrorMessage:!1,onChange:b})})),e.createElement("div",{className:"input-form-pwg input-section"},e.createElement(Dr,{label:s("pregnancyWeightGain.weightBeforeInput"),name:"pwg-weightBefore",size:"md",value:null==r?void 0:r.weightBefore,CustomInput:e.createElement(Je,{className:(null==c?void 0:c.weightBefore)?"":"error-input",name:"pwg-weightBefore",size:"md",placeholder:"Nhập thông tin",value:null==r?void 0:r.weightBefore,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==c?void 0:c.weightBefore)?"":null==l?void 0:l.height,showErrorMessage:!1,onChange:g})})),e.createElement("div",{className:"input-form-pwg input-section"},e.createElement(Dr,{label:s("pregnancyWeightGain.weightInput"),name:"pwg-weight",size:"md",value:null==r?void 0:r.weight,CustomInput:e.createElement(Je,{className:(null==c?void 0:c.weight)?"":"error-input",name:"pwg-weight",size:"md",placeholder:"Nhập thông tin",value:null==r?void 0:r.weight,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==c?void 0:c.weight)?"":null==l?void 0:l.weight,showErrorMessage:!1,onChange:f})}))):e.createElement(e.Fragment,null,e.createElement("div",{className:"input-form-pwg"},e.createElement(M,{placeholder:s("pwg.placeholder.height"),className:"input-section",label:e.createElement("span",{style:{color:le.colors.gray600,fontWeight:"bold",marginBottom:"9px"},className:"label-text"},s("pregnancyWeightGain.heightInput")," ",e.createElement("span",{style:{color:`${le.colors.gray300}`}},s("bmi.heightInput.desc"))),errorMessage:c.height?"":null==l?void 0:l.height,size:"sm",isNumerousKeyboard:!0,name:"pwg-height",value:null==r?void 0:r.height,onChange:b})),e.createElement("div",{className:"input-form-pwg"},e.createElement(M,{placeholder:s("pwg.placeholder.weight"),className:"input-section",label:e.createElement("span",{style:{color:le.colors.gray600,fontWeight:"bold",marginBottom:"9px"},ref:h,className:"label-text"},s("pregnancyWeightGain.weightBeforeInput")," ",e.createElement("span",{style:{color:`${le.colors.gray300}`}},s("pregnancyWeightGain.weightInput.desc"))),errorMessage:c.weightBefore?"":null==l?void 0:l.weightBefore,size:"sm",isNumerousKeyboard:!0,name:"pwg-weightBefore",onChange:g,value:null==r?void 0:r.weightBefore})),e.createElement("div",{className:"input-form-pwg"},e.createElement(M,{placeholder:s("pwg.placeholder.weight"),className:"input-section",label:e.createElement("span",{style:{color:le.colors.gray600,fontWeight:"bold",marginBottom:"9px",minHeight:m},className:"label-text"},s("pregnancyWeightGain.weightInput")," ",e.createElement("span",{style:{color:`${le.colors.gray300}`}},s("pregnancyWeightGain.weightInput.desc"))),errorMessage:c.weight?"":null==l?void 0:l.weight,size:"sm",isNumerousKeyboard:!0,name:"pwg-weight",value:null==r?void 0:r.weight,onChange:f})))},Uo=({locale:a,onClick:i,inputErrorMessage:r,pwgContent:o,onFormChange:l,info:s,isMobile:c,isSide:d=!1,siteType:m})=>{var h;const{t:u}=K(),[g,b]=t("notwins"),[f,v]=t({label:"1",value:1}),y=n((()=>[...Array(40)].map(((e,t)=>({label:`${t+1}`,value:`${t+1}`})))),[]),{getHealthToolLink:x}=yt(a),w=n((()=>x(j.PWG)),[x]);return e.createElement(Zr,{"data-is-side":d,"data-site":m},e.createElement(Br,{siteType:m,bannerColor:"marryBaby"===m&&le.mbColors.mint,isEmbeded:!0,color:"pink",icon:e.createElement("img",{alt:"health-tool-icon",src:(null==o?void 0:o.featuredImage)||oe.getAssetPath("health-tools/pwg-icon.svg"),loading:"lazy"}),heading:u("pregnancyWeightGain.heading"),medicalReview:{link:kt(null==o?void 0:o.reviewedBy),reviewer:null===(h=null==o?void 0:o.reviewedBy)||void 0===h?void 0:h.display_name,date:null==o?void 0:o.reviewedDate},isMobile:c,isSide:d}),e.createElement(bt,null,e.createElement(qr,{onSubmit:e=>e.preventDefault(),className:"pwg-view-mobile","data-is-side":d},"marryBaby"!==m&&e.createElement(jr,{className:"hide-asking-mobile","data-is-side":d},e.createElement(p,{size:"s4",weight:"semiBold",style:{display:"block",color:le.colors.gray600},className:"label"},u("pregnancyWeightGain.havingTwins")),e.createElement(Yr,{options:[{value:"twins",label:u("switchBtn.yes")},{value:"notwins",label:u("switchBtn.no")}],value:g,onChange:e=>b(e),className:"gender-selector",id:"twins-check",type:"circle",direction:"horizontal",size:"small",group:"group1"})),e.createElement(Rr,null,e.createElement(Ur,{className:"input-section input-form-pwg","data-is-side":d},"marryBaby"===m?e.createElement(Tr,{groupedWithLabel:u("pregnancyWeightGain.weekInput"),options:y,placeholder:"28 days",id:"due-date-dropdown",size:"lg",value:f,onChange:e=>v({label:e.label,value:e.value})}):e.createElement(e.Fragment,null,e.createElement(p,{size:"s4",weight:"semiBold",style:{display:"inline-block",marginBottom:"9px",color:le.colors.gray600}},u("pregnancyWeightGain.weekInput")),e.createElement(gt,{options:y,placeholder:String(f.label),id:"weight-gain-dropdown",size:"md",value:f,onChange:e=>v({label:e.label,value:e.value})}))),e.createElement(Ro,{siteType:m,info:s,errorMessage:r,onChange:l})),"marryBaby"!==m&&e.createElement(jr,{className:"hide-asking-desk","data-is-side":d},e.createElement(p,{size:"s4",weight:"semiBold",style:{display:"block",color:le.colors.gray600},className:"label"},u("pregnancyWeightGain.havingTwins")),e.createElement(Yr,{options:[{value:"twins",label:u("switchBtn.yes")},{value:"notwins",label:u("switchBtn.no")}],value:g,onChange:e=>b(e),className:"gender-selector",id:"twins-check-mobile",type:"circle",direction:"horizontal",size:"small",group:"group1"})),"marryBaby"===m&&e.createElement(Qt,{name:"twins",label:u("pregnancyWeightGain.havingTwins"),checked:"twins"===g,siteType:"marryBaby",onChange:()=>{b("twins"===g?"notwins":"twins")},value:"twins"}),e.createElement(Hr,{"data-is-side":d,"data-site":m},e.createElement(Pe,{dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${Q["marryBaby"===m?"vi-VN_MB":a]}/${w}`,className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===m?"secondary":"primary",onClick:()=>i(g,f.value),role:"button"},u("dueDatePage.lastPeriod.calculate"))))))},Vo=Ve.div`
3368
+ `,Fo=({info:a,className:r,style:o,onChange:l,errorMessage:s={},locale:c,onClick:d,isSide:m})=>{const{t:h}=K(),[u,g]=t({age:!1,height:!1,weight:!1}),{getHealthToolLink:b}=yt(c),f=n((()=>b(j.OVULATION)),[b]),[v,y]=t("male"),x=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},w=e=>{var t,n;n=e=>{g((e=>Object.assign(Object.assign({},e),{age:!0})));const t=Object.assign(Object.assign({},a),{age:e});l&&l(t)},""!==(t=e)&&(isNaN(t)||isNaN(parseFloat(t))||t.includes("."))||n(t)};return i((()=>{l&&l(Object.assign(Object.assign({},a),{objective:"lose-fat",activeLevel:"sedentary"}))}),[]),i((()=>{g({age:!1,height:!1,weight:!1})}),[s]),e.createElement(Mo,{style:o,className:r},e.createElement(Oo,{"data-is-side":m},e.createElement(sa,{defaultValue:"male",onChange:e=>y(e),styles:e=>({root:!m&&{[e.fn.largerThan("sm")]:{width:"calc((100% - 24px) * 2/3 + 12px)"}},wrapper:{[e.fn.largerThan("sm")]:{gap:he(12)}}})})),e.createElement(jo,{"data-is-side":m},e.createElement(Oo,null,e.createElement($e.Number,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},h("bmi.ageInput")," ",e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray300,as:"span"},h("bmi.ageInput.desc"))),placeholder:h("healthtool.placeholder.age"),value:Number(a.age),onChange:e=>w(String(e)),error:u.age?"":s.age,min:0})),e.createElement(Oo,null,e.createElement($e.Number,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},h("bmi.heightInput")," ",e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray300,as:"span"},h("bmi.heightInput.desc"))),placeholder:h("pwg.placeholder.height"),value:Number(a.height),onChange:e=>{return t=String(e),void x(t,(e=>{g((e=>Object.assign(Object.assign({},e),{height:!0})));const t=Object.assign(Object.assign({},a),{height:e});l&&l(t)}));var t},error:u.height?"":s.height,min:0})),e.createElement(Oo,null,e.createElement($e.Number,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray600},h("bmi.weightInput")," ",e.createElement(p,{size:"s4",weight:"semiBold",color:le.colors.gray300,as:"span"},h("bmi.weightInput.desc"))),placeholder:h("pwg.placeholder.weight"),value:Number(a.weight),onChange:e=>{return t=String(e),g((e=>Object.assign(Object.assign({},e),{weight:!0}))),void x(t,(e=>{const t=Object.assign(Object.assign({},a),{weight:e});l&&l(t)}));var t},error:u.weight?"":s.weight,min:0,precision:1}))),e.createElement("div",{style:{display:"flex"}},e.createElement($o,{size:"lg",fullWidth:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMR",dataEventLabel:`https://${Q[c]}/${f}`,onClick:()=>{d(v)}},h("bmi.submit"))))},Ho=({isSide:t,locale:a,bmrContent:n,isMobile:i,info:r,inputErrorMessage:o,onFormChange:l,onSubmit:s})=>{var c,d,m;const{t:p}=K();return e.createElement(Jr,{"data-is-side":t},e.createElement(zr,{isSide:t,icon:e.createElement("img",{alt:"health-tool-icon",src:(null==n?void 0:n.featured_image)||oe.getAssetPath("health-tools/bmr.svg"),loading:"lazy"}),heading:p("bmr.heading"),medicalReview:{link:null===(c=null==n?void 0:n.reviewBy)||void 0===c?void 0:c.link,reviewer:null===(d=null==n?void 0:n.reviewBy)||void 0===d?void 0:d.reviewer,date:null===(m=null==n?void 0:n.reviewBy)||void 0===m?void 0:m.date},isMobile:i}),e.createElement(bt,null,e.createElement(Kr,{onSubmit:e=>e.preventDefault(),"data-is-side":t},e.createElement(Vr,null,e.createElement(Fo,{info:r,locale:a,errorMessage:o,onChange:l,onClick:s,isSide:t})))))},Ro=({locale:a,onSubmit:i,isSide:r,siteType:o})=>{const{t:l}=K(),[s,c]=t(new Date),[d,m]=t(28),[u,g]=t(7),b={cycle:d,periodDateStart:s,periodLength:u},f=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(e.Fragment,null,e.createElement($r,{className:"input-form input-section","data-is-side":!0},"marryBaby"===o?e.createElement(Ar,{label:l("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:jr(s),CustomInput:e.createElement(La,{onChange:e=>{c(e)},placeholder:"dd/mm/yyyy",pickedDate:s,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:et(new Date,-45),after:new Date},customInput:t=>e.createElement(Je,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:s&&Ue(s).format(O)}))}),actionIcon:e.createElement(h.CalendarMB,{size:32})}):e.createElement(Je,{label:e.createElement(p,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("dueDatePage.lastPeriod.lastPeriodLabel")),value:jr(s),size:"md",name:"date",className:"due-date-input",CustomInput:e.createElement(La,{customInput:t=>e.createElement("input",Object.assign({},t,{type:"date",className:"due-date-input",value:jr(s)})),locale:a,pickedDate:s,displayDateFormat:pt,onChange:e=>{c(e)},disabledDays:{before:et(new Date,-45),after:new Date},placeholder:"Chọn ngày"})})),e.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===o?"marryBaby":"","data-is-side":r},"marryBaby"===o?e.createElement(ut,{type:"bodytext-3",color:le.mbColors.midGray},l("ovulationPage.cycleLength")):e.createElement(p,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.cycleLength")+" ",e.createElement(p,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===o&&e.createElement(p,{size:"s3",weight:"semiBold",color:le.colors.gray600},d),e.createElement(ht,{containerStyle:{flex:1},min:21,max:45,step:1,value:d,onChange:m,labelAlwaysOn:"marryBaby"!==o,withControl:"marryBaby"!==o,label:"marryBaby"!==o?void 0:null}))),e.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===o?"marryBaby":"","data-is-side":r},"marryBaby"===o?e.createElement(ut,{type:"bodytext-3",color:le.mbColors.midGray},l("ovulationPage.periodDuration")):e.createElement(p,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.periodDuration")+" ",e.createElement(p,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===o&&e.createElement(p,{size:"s3",weight:"semiBold",color:le.colors.gray600},u),e.createElement(ht,{containerStyle:{flex:1},min:1,max:15,step:1,value:u,onChange:g,labelAlwaysOn:"marryBaby"!==o,withControl:"marryBaby"!==o,label:"marryBaby"!==o?void 0:null}))),e.createElement("div",{style:{width:"100%",display:"flex"}},e.createElement(Pe,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===o?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:f,onClick:()=>{localStorage.setItem("ovulationInfo",JSON.stringify(b)),i&&i({startDate:s,cycle:d,periodLength:u})},role:"button"},l("dueDatePage.lastPeriod.calculate"))))};var Uo;!function(e){e[e.trackPeriod=0]="trackPeriod",e[e.conceive=1]="conceive",e[e.avoidPregnancy=2]="avoidPregnancy"}(Uo||(Uo={}));const Vo=({locale:a,onSubmitOvulation:n,isSide:i,siteType:r})=>{const{t:o}=K(),[l,s]=t(Uo.trackPeriod),c=[{label:o("ovulationPage.trackPeriod"),value:Uo.trackPeriod},{label:o("ovulationPage.conceive"),value:Uo.conceive},{label:o("ovulationPage.avoidPregnancy"),value:Uo.avoidPregnancy}];return e.createElement(Gr,null,e.createElement(Lr,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?e.createElement(_r,{groupedWithLabel:o("dueDatePage.calculationMethod"),options:c,placeholder:o("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:c[l],onChange:e=>{s(e.value)}}):e.createElement(e.Fragment,null,e.createElement(p,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},o("ovulationPage.objectives")),e.createElement(Pr,{"data-is-side":i},e.createElement(gt,{options:c,placeholder:o("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:c[l],onChange:e=>{s(e.value)}})))),e.createElement(Ro,{siteType:r,locale:a,onSubmit:({startDate:e,cycle:t,periodLength:a})=>{n&&n({method:l,periodDateStart:e,cycle:t,periodLength:a})},isSide:i}))},Wo=({onSubmitOvulation:t,locale:a,ovulationPageInfo:n,expertUrl:i,isSide:r=!1,siteType:o,isMobile:l})=>{var s;const{t:c}=K();return e.createElement(Jr,{"data-is-side":r,"data-site":o},e.createElement(zr,{isSide:r,bannerUrl:oe.getAssetPath("embedToolBannerPink.svg"),siteType:o,bannerColor:"marryBaby"===o&&le.mbColors.mint,isEmbeded:!0,color:"pink",icon:e.createElement("img",{alt:"health-tool-icon",src:(null==n?void 0:n.featured_image)||oe.getAssetPath("health-tools/ovulation-icon.svg"),loading:"lazy"}),heading:c("healthTools.ovulationCalculator"),medicalReview:{link:i,reviewer:null===(s=null==n?void 0:n.reviewed_by)||void 0===s?void 0:s.display_name,date:null==n?void 0:n.reviewed_date},isMobile:l}),e.createElement(Kr,{onSubmit:e=>e.preventDefault(),className:"ovulation-cal","data-is-side":r},e.createElement(Vo,{siteType:o,locale:a,onSubmitOvulation:t,isSide:r})))},Go=({siteType:n,info:r,onChange:o,errorMessage:l={}})=>{const{t:s}=K(),[c,d]=t({weightBefore:!1,height:!1,weight:!1}),[m,p]=t(0),h=a(null);i((()=>{var e;p(null===(e=h.current)||void 0===e?void 0:e.clientHeight)}));const u=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},g=e=>{u(e,(e=>{d((e=>Object.assign(Object.assign({},e),{weightBefore:!0})));const t=Object.assign(Object.assign({},r),{weightBefore:e});o&&o(t)}))},b=e=>{u(e,(e=>{d((e=>Object.assign(Object.assign({},e),{height:!0})));const t=Object.assign(Object.assign({},r),{height:e});o&&o(t)}))},f=e=>{u(e,(e=>{d((e=>Object.assign(Object.assign({},e),{weight:!0})));const t=Object.assign(Object.assign({},r),{weight:e});o&&o(t)}))};return i((()=>{o&&o(Object.assign({},r))}),[]),i((()=>{d({weightBefore:!1,height:!1,weight:!1})}),[l]),"marryBaby"===n?e.createElement(e.Fragment,null,e.createElement("div",{className:"input-form-pwg input-section"},e.createElement(Ar,{label:s("pregnancyWeightGain.heightInput"),name:"pwg-height",size:"md",value:null==r?void 0:r.height,CustomInput:e.createElement(Je,{className:(null==c?void 0:c.height)?"":"error-input",name:"pwg-height",size:"md",placeholder:"Nhập thông tin",value:null==r?void 0:r.height,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==c?void 0:c.height)?"":null==l?void 0:l.height,showErrorMessage:!1,onChange:b})})),e.createElement("div",{className:"input-form-pwg input-section"},e.createElement(Ar,{label:s("pregnancyWeightGain.weightBeforeInput"),name:"pwg-weightBefore",size:"md",value:null==r?void 0:r.weightBefore,CustomInput:e.createElement(Je,{className:(null==c?void 0:c.weightBefore)?"":"error-input",name:"pwg-weightBefore",size:"md",placeholder:"Nhập thông tin",value:null==r?void 0:r.weightBefore,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==c?void 0:c.weightBefore)?"":null==l?void 0:l.height,showErrorMessage:!1,onChange:g})})),e.createElement("div",{className:"input-form-pwg input-section"},e.createElement(Ar,{label:s("pregnancyWeightGain.weightInput"),name:"pwg-weight",size:"md",value:null==r?void 0:r.weight,CustomInput:e.createElement(Je,{className:(null==c?void 0:c.weight)?"":"error-input",name:"pwg-weight",size:"md",placeholder:"Nhập thông tin",value:null==r?void 0:r.weight,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==c?void 0:c.weight)?"":null==l?void 0:l.weight,showErrorMessage:!1,onChange:f})}))):e.createElement(e.Fragment,null,e.createElement("div",{className:"input-form-pwg"},e.createElement(M,{placeholder:s("pwg.placeholder.height"),className:"input-section",label:e.createElement("span",{style:{color:le.colors.gray600,fontWeight:"bold",marginBottom:"9px"},className:"label-text"},s("pregnancyWeightGain.heightInput")," ",e.createElement("span",{style:{color:`${le.colors.gray300}`}},s("bmi.heightInput.desc"))),errorMessage:c.height?"":null==l?void 0:l.height,size:"sm",isNumerousKeyboard:!0,name:"pwg-height",value:null==r?void 0:r.height,onChange:b})),e.createElement("div",{className:"input-form-pwg"},e.createElement(M,{placeholder:s("pwg.placeholder.weight"),className:"input-section",label:e.createElement("span",{style:{color:le.colors.gray600,fontWeight:"bold",marginBottom:"9px"},ref:h,className:"label-text"},s("pregnancyWeightGain.weightBeforeInput")," ",e.createElement("span",{style:{color:`${le.colors.gray300}`}},s("pregnancyWeightGain.weightInput.desc"))),errorMessage:c.weightBefore?"":null==l?void 0:l.weightBefore,size:"sm",isNumerousKeyboard:!0,name:"pwg-weightBefore",onChange:g,value:null==r?void 0:r.weightBefore})),e.createElement("div",{className:"input-form-pwg"},e.createElement(M,{placeholder:s("pwg.placeholder.weight"),className:"input-section",label:e.createElement("span",{style:{color:le.colors.gray600,fontWeight:"bold",marginBottom:"9px",minHeight:m},className:"label-text"},s("pregnancyWeightGain.weightInput")," ",e.createElement("span",{style:{color:`${le.colors.gray300}`}},s("pregnancyWeightGain.weightInput.desc"))),errorMessage:c.weight?"":null==l?void 0:l.weight,size:"sm",isNumerousKeyboard:!0,name:"pwg-weight",value:null==r?void 0:r.weight,onChange:f})))},qo=({locale:a,onClick:i,inputErrorMessage:r,pwgContent:o,onFormChange:l,info:s,isMobile:c,isSide:d=!1,siteType:m})=>{var h;const{t:u}=K(),[g,b]=t("notwins"),[f,v]=t({label:"1",value:1}),y=n((()=>[...Array(40)].map(((e,t)=>({label:`${t+1}`,value:`${t+1}`})))),[]),{getHealthToolLink:x}=yt(a),w=n((()=>x(j.PWG)),[x]);return e.createElement(Jr,{"data-is-side":d,"data-site":m},e.createElement(zr,{siteType:m,bannerColor:"marryBaby"===m&&le.mbColors.mint,isEmbeded:!0,color:"pink",icon:e.createElement("img",{alt:"health-tool-icon",src:(null==o?void 0:o.featuredImage)||oe.getAssetPath("health-tools/pwg-icon.svg"),loading:"lazy"}),heading:u("pregnancyWeightGain.heading"),medicalReview:{link:kt(null==o?void 0:o.reviewedBy),reviewer:null===(h=null==o?void 0:o.reviewedBy)||void 0===h?void 0:h.display_name,date:null==o?void 0:o.reviewedDate},isMobile:c,isSide:d}),e.createElement(bt,null,e.createElement(Kr,{onSubmit:e=>e.preventDefault(),className:"pwg-view-mobile","data-is-side":d},"marryBaby"!==m&&e.createElement(Ur,{className:"hide-asking-mobile","data-is-side":d},e.createElement(p,{size:"s4",weight:"semiBold",style:{display:"block",color:le.colors.gray600},className:"label"},u("pregnancyWeightGain.havingTwins")),e.createElement(Qr,{options:[{value:"twins",label:u("switchBtn.yes")},{value:"notwins",label:u("switchBtn.no")}],value:g,onChange:e=>b(e),className:"gender-selector",id:"twins-check",type:"circle",direction:"horizontal",size:"small",group:"group1"})),e.createElement(Gr,null,e.createElement(qr,{className:"input-section input-form-pwg","data-is-side":d},"marryBaby"===m?e.createElement(_r,{groupedWithLabel:u("pregnancyWeightGain.weekInput"),options:y,placeholder:"28 days",id:"due-date-dropdown",size:"lg",value:f,onChange:e=>v({label:e.label,value:e.value})}):e.createElement(e.Fragment,null,e.createElement(p,{size:"s4",weight:"semiBold",style:{display:"inline-block",marginBottom:"9px",color:le.colors.gray600}},u("pregnancyWeightGain.weekInput")),e.createElement(gt,{options:y,placeholder:String(f.label),id:"weight-gain-dropdown",size:"md",value:f,onChange:e=>v({label:e.label,value:e.value})}))),e.createElement(Go,{siteType:m,info:s,errorMessage:r,onChange:l})),"marryBaby"!==m&&e.createElement(Ur,{className:"hide-asking-desk","data-is-side":d},e.createElement(p,{size:"s4",weight:"semiBold",style:{display:"block",color:le.colors.gray600},className:"label"},u("pregnancyWeightGain.havingTwins")),e.createElement(Qr,{options:[{value:"twins",label:u("switchBtn.yes")},{value:"notwins",label:u("switchBtn.no")}],value:g,onChange:e=>b(e),className:"gender-selector",id:"twins-check-mobile",type:"circle",direction:"horizontal",size:"small",group:"group1"})),"marryBaby"===m&&e.createElement(na,{name:"twins",label:u("pregnancyWeightGain.havingTwins"),checked:"twins"===g,siteType:"marryBaby",onChange:()=>{b("twins"===g?"notwins":"twins")},value:"twins"}),e.createElement(Wr,{"data-is-side":d,"data-site":m},e.createElement(Pe,{dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${Q["marryBaby"===m?"vi-VN_MB":a]}/${w}`,className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===m?"secondary":"primary",onClick:()=>i(g,f.value),role:"button"},u("dueDatePage.lastPeriod.calculate"))))))},Zo=Ve.div`
3369
3369
  flex: 1;
3370
- `,Wo=Ve.div`
3370
+ `,Yo=Ve.div`
3371
3371
  padding: 0 10px;
3372
- `,Go=Ve.div`
3372
+ `,Xo=Ve.div`
3373
3373
  display: flex;
3374
3374
  height: 80px;
3375
3375
  align-items: center;
@@ -3384,11 +3384,11 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3384
3384
  ${Z.mbDown} {
3385
3385
  height: 70px;
3386
3386
  }
3387
- `,qo=Ve.div`
3387
+ `,Ko=Ve.div`
3388
3388
  display: grid;
3389
3389
  grid-template-columns: repeat(7, 1fr);
3390
3390
  row-gap: 2px;
3391
- `,Zo=Ve(qo)`
3391
+ `,Jo=Ve(Ko)`
3392
3392
  margin-bottom: 8px;
3393
3393
  `;Ve.div`
3394
3394
  height: 40px;
@@ -3396,14 +3396,14 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3396
3396
  display: flex;
3397
3397
  align-items: center;
3398
3398
  justify-content: center;
3399
- `;const Yo=Ve.div`
3399
+ `;const Qo=Ve.div`
3400
3400
  font-size: 14px;
3401
3401
  display: flex;
3402
3402
  justify-content: center;
3403
3403
  align-items: center;
3404
3404
  color: 1px solid ${e=>e.theme.colors.gray800};
3405
3405
  font-weight: 300;
3406
- `,Xo=Ve.div`
3406
+ `,el=Ve.div`
3407
3407
  width: 18px;
3408
3408
  position: relative;
3409
3409
  &::before {
@@ -3415,11 +3415,11 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3415
3415
  right: 50%;
3416
3416
  background: ${e=>e.theme.colors.neutral100};
3417
3417
  }
3418
- `,Ko=Ve.div`
3418
+ `,tl=Ve.div`
3419
3419
  margin: 0 auto;
3420
- `,Jo=Ve.div`
3420
+ `,al=Ve.div`
3421
3421
  position: relative;
3422
- `,Qo=Ve(qo)``,el=Ve.div`
3422
+ `,nl=Ve(Ko)``,il=Ve.div`
3423
3423
  position: relative;
3424
3424
  display: flex;
3425
3425
  justify-content: center;
@@ -3459,7 +3459,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3459
3459
  right: 50%;
3460
3460
  }
3461
3461
  }
3462
- `,tl=Ve.div`
3462
+ `,rl=Ve.div`
3463
3463
  position: relative;
3464
3464
  font-weight: 600;
3465
3465
  ${Z.mbDown} {
@@ -3496,7 +3496,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3496
3496
  border-radius: 32px;
3497
3497
  border: 1px solid ${e=>e.theme.colors.primaryBase};
3498
3498
  }
3499
- `;const al={"en-PH":Nt,"vi-VN":Tt,"zh-TW":Dt,"id-ID":Bt};function nl(a){const{value:i={from:null,to:null}}=a,[r,o]=t(null),{isMobile:l}=De(),[s,c]=t((()=>i)),[d,m]=t((()=>{var e;return at(null!==(e=i.from)&&void 0!==e?e:new Date)})),p=n((()=>nt(d,1)),[d]);const h=Object.assign(Object.assign({},a),{goToNextMonth:function(){m((e=>nt(e,1)))},goToPreviousMonth:function(){m((e=>it(e,1)))},range:s,setRange:c,hoverDay:r,setHoverDay:o});return e.createElement(e.Fragment,null,e.createElement(il,Object.assign({},h,{date:d})),!l&&e.createElement(Xo,null),!l&&e.createElement(il,Object.assign({},h,{date:p})))}function il({date:t,range:a,setRange:r,onChange:o,goToPreviousMonth:l,goToNextMonth:s,minDate:c,maxDate:d,close:m=(()=>{}),autoClose:p=!1,hoverDay:h,setHoverDay:u}){const{locale:g}=K(),b=n((()=>{var e;return null!==(e=al[g])&&void 0!==e?e:al["en-PH"]}),[g]),f=n((()=>Qe(t,"MMMM",{locale:b})),[t,b]),v=n((()=>b?[1,2,3,4,5,6,0].map((e=>b.localize.day(e,{width:"narrow"}))):[]),[b]);function y(t,n){if(null===t)return e.createElement(el,{key:`idx-${n}`,"data-empty":"true"});const i=t.getDate(),o=ot(t),l=!!a.from&&lt(a.from,t),s=!!a.to&&lt(a.to,t),g=l||s;let b=!1;null!==h&&a.from&&tt(a.from,h)&&!a.to?b=st(t,{start:a.from,end:h}):a.from&&a.to&&(b=st(t,{start:a.from,end:a.to}));let f=!1;return c&&d?f=!st(t,{start:c,end:d}):c?f=tt(t,c):d&&(f=ct(t,d)),e.createElement(el,{key:i,"data-is-today":o,"data-is-past":!o&&dt(t),"data-is-selected":g,"data-is-disabled":f,"data-in-range":b,"data-is-from":l,"data-is-to":s,onMouseEnter:()=>{u(t)},onMouseLeave:()=>u(null),onClick:()=>{f||r((e=>(p&&a.from&&!a.to&&m(),function(e,t){return t.from||t.to?t.from&&t.to?{from:e,to:null}:t.from?tt(e,t.from)?Object.assign(Object.assign({},t),{from:e}):Object.assign(Object.assign({},t),{to:e}):t:Object.assign(Object.assign({},t),{from:e})}(t,e))))}},e.createElement(tl,{onClick:()=>{}},e.createElement("p",null,i)))}return i((()=>{a.from&&a.to&&o(a)}),[a]),e.createElement(Vo,{className:"calendar-wrapper"},e.createElement(Go,null,e.createElement(Ke,{onClick:l,size:"md",color:"ghost",icon:e.createElement("img",{src:oe.getAssetPath("calendarArrowLeft.svg"),loading:"lazy"})}),e.createElement("div",{className:"calendar-month"},f,e.createElement("strong",null,Qe(t,"yyyy"))),e.createElement(Ke,{onClick:s,size:"md",color:"ghost",icon:e.createElement("img",{src:oe.getAssetPath("calendarArrowRight.svg"),loading:"lazy"})})),e.createElement(Wo,null,e.createElement("div",null,e.createElement(Zo,null,v.map(((t,a)=>e.createElement(Yo,{key:`${t}-${a}`},t))))),e.createElement("div",null,function(){const n=t.getFullYear(),i=t.getMonth(),r=rt(t),o=[];for(let e=1;e<=r;e++)o.push(new Date(n,i,e));const l=o[0]?o[0].getDay():0;if(1!==l){const e=0===l?6:l-1;for(let t=0;t<e;t++)o.unshift(null)}return e.createElement(Jo,{key:`month-${i}`,"data-month-index":i,"data-has-range":Boolean(a.from&&a.to)},e.createElement(Ko,null,e.createElement(Qo,null,o.map(y))))}())))}const rl=Ve.div`
3499
+ `;const ol={"en-PH":Nt,"vi-VN":Tt,"zh-TW":Dt,"id-ID":Bt};function ll(a){const{value:i={from:null,to:null}}=a,[r,o]=t(null),{isMobile:l}=De(),[s,c]=t((()=>i)),[d,m]=t((()=>{var e;return at(null!==(e=i.from)&&void 0!==e?e:new Date)})),p=n((()=>nt(d,1)),[d]);const h=Object.assign(Object.assign({},a),{goToNextMonth:function(){m((e=>nt(e,1)))},goToPreviousMonth:function(){m((e=>it(e,1)))},range:s,setRange:c,hoverDay:r,setHoverDay:o});return e.createElement(e.Fragment,null,e.createElement(sl,Object.assign({},h,{date:d})),!l&&e.createElement(el,null),!l&&e.createElement(sl,Object.assign({},h,{date:p})))}function sl({date:t,range:a,setRange:r,onChange:o,goToPreviousMonth:l,goToNextMonth:s,minDate:c,maxDate:d,close:m=(()=>{}),autoClose:p=!1,hoverDay:h,setHoverDay:u}){const{locale:g}=K(),b=n((()=>{var e;return null!==(e=ol[g])&&void 0!==e?e:ol["en-PH"]}),[g]),f=n((()=>Qe(t,"MMMM",{locale:b})),[t,b]),v=n((()=>b?[1,2,3,4,5,6,0].map((e=>b.localize.day(e,{width:"narrow"}))):[]),[b]);function y(t,n){if(null===t)return e.createElement(il,{key:`idx-${n}`,"data-empty":"true"});const i=t.getDate(),o=ot(t),l=!!a.from&&lt(a.from,t),s=!!a.to&&lt(a.to,t),g=l||s;let b=!1;null!==h&&a.from&&tt(a.from,h)&&!a.to?b=st(t,{start:a.from,end:h}):a.from&&a.to&&(b=st(t,{start:a.from,end:a.to}));let f=!1;return c&&d?f=!st(t,{start:c,end:d}):c?f=tt(t,c):d&&(f=ct(t,d)),e.createElement(il,{key:i,"data-is-today":o,"data-is-past":!o&&dt(t),"data-is-selected":g,"data-is-disabled":f,"data-in-range":b,"data-is-from":l,"data-is-to":s,onMouseEnter:()=>{u(t)},onMouseLeave:()=>u(null),onClick:()=>{f||r((e=>(p&&a.from&&!a.to&&m(),function(e,t){return t.from||t.to?t.from&&t.to?{from:e,to:null}:t.from?tt(e,t.from)?Object.assign(Object.assign({},t),{from:e}):Object.assign(Object.assign({},t),{to:e}):t:Object.assign(Object.assign({},t),{from:e})}(t,e))))}},e.createElement(rl,{onClick:()=>{}},e.createElement("p",null,i)))}return i((()=>{a.from&&a.to&&o(a)}),[a]),e.createElement(Zo,{className:"calendar-wrapper"},e.createElement(Xo,null,e.createElement(Ke,{onClick:l,size:"md",color:"ghost",icon:e.createElement("img",{src:oe.getAssetPath("calendarArrowLeft.svg"),loading:"lazy"})}),e.createElement("div",{className:"calendar-month"},f,e.createElement("strong",null,Qe(t,"yyyy"))),e.createElement(Ke,{onClick:s,size:"md",color:"ghost",icon:e.createElement("img",{src:oe.getAssetPath("calendarArrowRight.svg"),loading:"lazy"})})),e.createElement(Yo,null,e.createElement("div",null,e.createElement(Jo,null,v.map(((t,a)=>e.createElement(Qo,{key:`${t}-${a}`},t))))),e.createElement("div",null,function(){const n=t.getFullYear(),i=t.getMonth(),r=rt(t),o=[];for(let e=1;e<=r;e++)o.push(new Date(n,i,e));const l=o[0]?o[0].getDay():0;if(1!==l){const e=0===l?6:l-1;for(let t=0;t<e;t++)o.unshift(null)}return e.createElement(al,{key:`month-${i}`,"data-month-index":i,"data-has-range":Boolean(a.from&&a.to)},e.createElement(tl,null,e.createElement(nl,null,o.map(y))))}())))}const cl=Ve.div`
3500
3500
  display: block;
3501
3501
  position: relative;
3502
3502
  width: 270px;
@@ -3507,7 +3507,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3507
3507
  ${Z.mbDown} {
3508
3508
  width: 100%;
3509
3509
  }
3510
- `,ol=Ve.div`
3510
+ `,dl=Ve.div`
3511
3511
  display: flex;
3512
3512
  position: absolute;
3513
3513
  top: 46px;
@@ -3526,7 +3526,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3526
3526
  ${Z.mbDown} {
3527
3527
  width: 100%;
3528
3528
  }
3529
- `;function ll({inputSize:i="md",name:r="date-range-picker",value:o,minDate:l,maxDate:s,onChange:c,className:d,autoClose:m=!1}){o||(o={from:null,to:null});const[p,h]=t(!1);function u(){h(!1)}const g=a(null);function b(e){c&&c(e)}function f(e){return Qe(e,"dd/MM/yyyy")}St(g,(()=>{u()}));const v=n((()=>o.from&&o.to?lt(o.from,o.to)?f(o.from):`${f(o.from)} - ${f(o.to)}`:""),[o.from,o.to]);return e.createElement(rl,{className:[d,p&&"focused"].filter(Boolean).join(" "),ref:g},e.createElement("label",{htmlFor:r},e.createElement(M,{size:i,value:v,name:r,actionIcon:e.createElement("img",{src:oe.getAssetPath("calendar.svg"),loading:"lazy"}),onFocus:()=>h(!0)})),p?e.createElement(ol,{onMouseDown:e=>{e.stopPropagation()}},e.createElement(nl,{value:o,onChange:b,minDate:l,maxDate:s,close:u,autoClose:m})):null)}var sl="WUqzfRb",cl="MnVGtSY",dl="NclbhXQ";const ml=({LinkComponent:t,page:a,isLast:n,onChangePage:i})=>{const{label:r,value:o,isDropdown:l,dropdownItems:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:m}=a;return l?e.createElement(gt,{options:s,placeholder:"...",id:"",placeholderIcon:null,onChange:i,className:"collapsed-breadcrumb"}):e.createElement("div",{className:dl,title:"string"!=typeof r?o:r,"data-last":n},t&&e.createElement(t,{"data-event-category":c,"data-event-action":d,"data-event-label":m,href:o||"#"},r))},pl=({className:t,pages:a,size:i,LinkComponent:o="a",onChangePage:l,separator:s})=>{const c=n((()=>a.map(((e,t)=>a.length>4?t>1&&t<a.length-2?null:1===t?Object.assign(Object.assign({},e),{isDropdown:1===t,dropdownItems:a.slice(1,a.length-2)}):e:e)).filter(Boolean)),[a]);return e.createElement("div",{"data-size":i,className:`${sl} ${t||""}`},c.map(((t,a)=>{const n=a+1===c.length;return e.createElement(r,{key:a},e.createElement(ml,{LinkComponent:o,page:t,isLast:n,onChangePage:l}),!n&&(t.separator||s||e.createElement("div",{className:cl,"data-size":i})))})))},hl=Ve.div`
3529
+ `;function ml({inputSize:i="md",name:r="date-range-picker",value:o,minDate:l,maxDate:s,onChange:c,className:d,autoClose:m=!1}){o||(o={from:null,to:null});const[p,h]=t(!1);function u(){h(!1)}const g=a(null);function b(e){c&&c(e)}function f(e){return Qe(e,"dd/MM/yyyy")}St(g,(()=>{u()}));const v=n((()=>o.from&&o.to?lt(o.from,o.to)?f(o.from):`${f(o.from)} - ${f(o.to)}`:""),[o.from,o.to]);return e.createElement(cl,{className:[d,p&&"focused"].filter(Boolean).join(" "),ref:g},e.createElement("label",{htmlFor:r},e.createElement(M,{size:i,value:v,name:r,actionIcon:e.createElement("img",{src:oe.getAssetPath("calendar.svg"),loading:"lazy"}),onFocus:()=>h(!0)})),p?e.createElement(dl,{onMouseDown:e=>{e.stopPropagation()}},e.createElement(ll,{value:o,onChange:b,minDate:l,maxDate:s,close:u,autoClose:m})):null)}var pl="WUqzfRb",hl="MnVGtSY",ul="NclbhXQ";const gl=({LinkComponent:t,page:a,isLast:n,onChangePage:i})=>{const{label:r,value:o,isDropdown:l,dropdownItems:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:m}=a;return l?e.createElement(gt,{options:s,placeholder:"...",id:"",placeholderIcon:null,onChange:i,className:"collapsed-breadcrumb"}):e.createElement("div",{className:ul,title:"string"!=typeof r?o:r,"data-last":n},t&&e.createElement(t,{"data-event-category":c,"data-event-action":d,"data-event-label":m,href:o||"#"},r))},bl=({className:t,pages:a,size:i,LinkComponent:o="a",onChangePage:l,separator:s})=>{const c=n((()=>a.map(((e,t)=>a.length>4?t>1&&t<a.length-2?null:1===t?Object.assign(Object.assign({},e),{isDropdown:1===t,dropdownItems:a.slice(1,a.length-2)}):e:e)).filter(Boolean)),[a]);return e.createElement("div",{"data-size":i,className:`${pl} ${t||""}`},c.map(((t,a)=>{const n=a+1===c.length;return e.createElement(r,{key:a},e.createElement(gl,{LinkComponent:o,page:t,isLast:n,onChangePage:l}),!n&&(t.separator||s||e.createElement("div",{className:hl,"data-size":i})))})))},fl=Ve.div`
3530
3530
  display: flex;
3531
3531
  gap: 20px;
3532
3532
  width: 100%;
@@ -3557,7 +3557,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3557
3557
  }
3558
3558
  }
3559
3559
  }
3560
- `,ul=()=>e.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.86364 10.6666H5.22727C4.86912 10.6666 4.51448 10.5977 4.18359 10.4637C3.8527 10.3296 3.55205 10.1332 3.2988 9.8856C2.78734 9.3855 2.5 8.70722 2.5 7.99998C2.5 7.29274 2.78734 6.61446 3.2988 6.11436C3.81026 5.61426 4.50396 5.33331 5.22727 5.33331H6.86364M9.78374 5.33331H11.7727C12.1309 5.33331 12.4855 5.40229 12.8164 5.5363C13.1473 5.67031 13.4479 5.86674 13.7012 6.11436C13.9545 6.36198 14.1553 6.65596 14.2924 6.97949C14.4295 7.30303 14.5 7.64979 14.5 7.99998C14.5 8.35017 14.4295 8.69693 14.2924 9.02047C14.1553 9.344 13.9545 9.63798 13.7012 9.8856C13.4479 10.1332 13.1473 10.3296 12.8164 10.4637C12.4855 10.5977 12.1309 10.6666 11.7727 10.6666H9.78374",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6.5 8H10.5",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"})),gl=({url:t,onCopied:a,locale:i,siteType:r})=>{const{t:o}=K(),l=It(t||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(i))),s=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(hl,null,e.createElement(p,{size:"p3",color:le.colors.gray800},o("shareContainer.title")),e.createElement("div",{className:"icon-group"},l.map(((t,a)=>e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer","data-event-category":"Health Tool","data-event-action":`Social Share - ${t.name}`,"data-event-label":s},t.icon))),e.createElement(Ke,{theme:r,size:"sm",type:"button",color:"tertiary",className:"share",style:{},icon:e.createElement(ul,null),onClick:()=>ce(void 0,void 0,void 0,(function*(){var e;yield null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(t),null==a||a()})),"data-event-category":"Health Tool","data-event-action":"Copy Link","data-event-label":s})))},bl=Ve(Et)`
3560
+ `,vl=()=>e.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"},e.createElement("path",{d:"M6.86364 10.6666H5.22727C4.86912 10.6666 4.51448 10.5977 4.18359 10.4637C3.8527 10.3296 3.55205 10.1332 3.2988 9.8856C2.78734 9.3855 2.5 8.70722 2.5 7.99998C2.5 7.29274 2.78734 6.61446 3.2988 6.11436C3.81026 5.61426 4.50396 5.33331 5.22727 5.33331H6.86364M9.78374 5.33331H11.7727C12.1309 5.33331 12.4855 5.40229 12.8164 5.5363C13.1473 5.67031 13.4479 5.86674 13.7012 6.11436C13.9545 6.36198 14.1553 6.65596 14.2924 6.97949C14.4295 7.30303 14.5 7.64979 14.5 7.99998C14.5 8.35017 14.4295 8.69693 14.2924 9.02047C14.1553 9.344 13.9545 9.63798 13.7012 9.8856C13.4479 10.1332 13.1473 10.3296 12.8164 10.4637C12.4855 10.5977 12.1309 10.6666 11.7727 10.6666H9.78374",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6.5 8H10.5",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"})),yl=({url:t,onCopied:a,locale:i,siteType:r})=>{const{t:o}=K(),l=It(t||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(i))),s=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(fl,null,e.createElement(p,{size:"p3",color:le.colors.gray800},o("shareContainer.title")),e.createElement("div",{className:"icon-group"},l.map(((t,a)=>e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer","data-event-category":"Health Tool","data-event-action":`Social Share - ${t.name}`,"data-event-label":s},t.icon))),e.createElement(Ke,{theme:r,size:"sm",type:"button",color:"tertiary",className:"share",style:{},icon:e.createElement(vl,null),onClick:()=>ce(void 0,void 0,void 0,(function*(){var e;yield null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(t),null==a||a()})),"data-event-category":"Health Tool","data-event-action":"Copy Link","data-event-label":s})))},xl=Ve(Et)`
3561
3561
  padding-bottom: 24px;
3562
3562
  .share-container {
3563
3563
  display: flex;
@@ -3591,7 +3591,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3591
3591
  height: 32px;
3592
3592
  }
3593
3593
  }
3594
- `,fl=()=>e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"copy"},e.createElement("path",{d:"M4 2.5C3.17125 2.5 2.5 3.17125 2.5 4V13.75C2.5 14.164 2.836 14.5 3.25 14.5C3.664 14.5 4 14.164 4 13.75V4H13.75C14.164 4 14.5 3.664 14.5 3.25C14.5 2.836 14.164 2.5 13.75 2.5H4ZM7 5.5C6.17125 5.5 5.5 6.17125 5.5 7V16C5.5 16.8287 6.17125 17.5 7 17.5H16C16.8287 17.5 17.5 16.8287 17.5 16V7C17.5 6.17125 16.8287 5.5 16 5.5H7ZM7 7H16V16H7V7Z",fill:"#595959"})),vl=t=>{var{open:a,title:n,onClose:r,onCopied:o,onShared:s,url:c,locale:d}=t,m=se(t,["open","title","onClose","onCopied","onShared","url","locale"]);const{t:h}=K(),u=l((()=>ce(void 0,void 0,void 0,(function*(){var e;yield null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(c),null==o||o()}))),[c,o]),g=It(c||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(d)));return i((()=>{a&&navigator.share&&navigator.share({title:null!=n?n:"Read This Post",url:c}).then((()=>{null==s||s()})).catch((()=>{null==r||r()}))}),[c,n,s,a]),"undefined"!=typeof navigator&&navigator.share?null:e.createElement(bl,Object.assign({title:h("share.title"),onClose:r,open:a,placement:"bottom"},m),e.createElement("div",{className:"share-container"},e.createElement("div",{className:"icon-container"},e.createElement(p,{weight:"semiBold",size:"s3",color:le.colors.gray600},h("share.title")),e.createElement("div",{className:"icon-group"},g.map(((t,a)=>e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer"},t.icon))))),e.createElement("div",{className:"link-container"},e.createElement(p,{weight:"semiBold",size:"s3",color:le.colors.gray600},h("share.copyLink")),e.createElement("div",{className:"input-group"},e.createElement(Je,{name:"link",size:"md",value:c,isDisabled:!0}),e.createElement(Ke,{size:"md",type:"button",color:"tertiary",icon:e.createElement(fl,null),onClick:u})))))},yl=Ve.div`
3594
+ `,wl=()=>e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:"copy"},e.createElement("path",{d:"M4 2.5C3.17125 2.5 2.5 3.17125 2.5 4V13.75C2.5 14.164 2.836 14.5 3.25 14.5C3.664 14.5 4 14.164 4 13.75V4H13.75C14.164 4 14.5 3.664 14.5 3.25C14.5 2.836 14.164 2.5 13.75 2.5H4ZM7 5.5C6.17125 5.5 5.5 6.17125 5.5 7V16C5.5 16.8287 6.17125 17.5 7 17.5H16C16.8287 17.5 17.5 16.8287 17.5 16V7C17.5 6.17125 16.8287 5.5 16 5.5H7ZM7 7H16V16H7V7Z",fill:"#595959"})),El=t=>{var{open:a,title:n,onClose:r,onCopied:o,onShared:s,url:c,locale:d}=t,m=se(t,["open","title","onClose","onCopied","onShared","url","locale"]);const{t:h}=K(),u=l((()=>ce(void 0,void 0,void 0,(function*(){var e;yield null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(c),null==o||o()}))),[c,o]),g=It(c||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(d)));return i((()=>{a&&navigator.share&&navigator.share({title:null!=n?n:"Read This Post",url:c}).then((()=>{null==s||s()})).catch((()=>{null==r||r()}))}),[c,n,s,a]),"undefined"!=typeof navigator&&navigator.share?null:e.createElement(xl,Object.assign({title:h("share.title"),onClose:r,open:a,placement:"bottom"},m),e.createElement("div",{className:"share-container"},e.createElement("div",{className:"icon-container"},e.createElement(p,{weight:"semiBold",size:"s3",color:le.colors.gray600},h("share.title")),e.createElement("div",{className:"icon-group"},g.map(((t,a)=>e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer"},t.icon))))),e.createElement("div",{className:"link-container"},e.createElement(p,{weight:"semiBold",size:"s3",color:le.colors.gray600},h("share.copyLink")),e.createElement("div",{className:"input-group"},e.createElement(Je,{name:"link",size:"md",value:c,isDisabled:!0}),e.createElement(Ke,{size:"md",type:"button",color:"tertiary",icon:e.createElement(wl,null),onClick:u})))))},kl=Ve.div`
3595
3595
  position: fixed;
3596
3596
  z-index: 48;
3597
3597
  bottom: 0;
@@ -3624,7 +3624,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3624
3624
  opacity: 1;
3625
3625
  pointer-events: auto;
3626
3626
  }
3627
- `,xl=Ve.div`
3627
+ `,Cl=Ve.div`
3628
3628
  display: flex;
3629
3629
  justify-content: center;
3630
3630
  align-items: center;
@@ -3646,7 +3646,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3646
3646
  background: none;
3647
3647
  border: none;
3648
3648
  }
3649
- `,wl=Ve.div`
3649
+ `,Sl=Ve.div`
3650
3650
  /* background: ${e=>{var t;return null===(t=e.theme)||void 0===t?void 0:t.colors.neutral50}}; */
3651
3651
  width: 100%;
3652
3652
  padding: 0 5px 1.5px;
@@ -3670,7 +3670,7 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3670
3670
  color: ${e=>{var t;return null===(t=e.theme)||void 0===t?void 0:t.colors.gray400}};
3671
3671
  font-weight: 400;
3672
3672
  }
3673
- `,El=Ve.div`
3673
+ `,Nl=Ve.div`
3674
3674
  background-color: white;
3675
3675
  background-image: url(${oe.getAssetPath("close-blue.svg")});
3676
3676
  background-repeat: no-repeat;
@@ -3682,4 +3682,4 @@ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as r,me
3682
3682
  top: 1px;
3683
3683
  right: 1px;
3684
3684
  cursor: pointer;
3685
- `,kl={},Cl=e=>{if(kl[e]){window.googletag=window.googletag||{cmd:[]};const{googletag:t}=window;t.cmd.push((function(){t.destroySlots([kl[e]]),delete kl[e]}))}},Sl=["TopBanner","MidBanner1","MidBanner2","EndBanner","Sticky"],Nl=o(c((function({className:n,adUnitPath:r,size:o,divId:l,pos:s,sizeMapping:c,contentId:d,isHidden:m,hideIfHasSubot:p,isSticky:h,refreshInterval:u,customTargetings:g,style:b,adDefaultSize:f,noWrapper:v,showCloseBtn:y,onCloseAd:x,headerBottom:w,wrapperProps:E,locale:k,isMarryBaby:C},S){const N=u||(k===Re.Vietnam&&s.some((e=>Sl.includes(e)))?30:void 0),{t:B}=K(),T=a(null),D=a(null),I=a(N);I.current=N;const[_,z]=t(!1),A=()=>{I.current&&(null!==D.current&&clearInterval(D.current),D.current=window.setInterval((()=>{window.googletag=window.googletag||{cmd:[]};const{googletag:e}=window;e.cmd.push((function(){kl[l]&&e.pubads().refresh([kl[l]])}))}),1e3*I.current))};if(i((()=>()=>{Cl(l),D.current&&clearInterval(D.current)}),[]),i((()=>{A()}),[N]),i((()=>{m||(({contentId:e,adUnitPath:t,size:a,divId:n,pos:i,sizeMapping:r,hideIfHasSubot:o,customTargetings:l,onSuccess:s})=>{if(!n||!document.getElementById(n))return console.error("divId is required");Cl(n),window.googletag=window.googletag||{cmd:[]};const{googletag:c}=window;c.cmd.push((function(){const d=document.querySelector('meta[name="content_id"]'),m="string"==typeof e?e:null==d?void 0:d.content,p=c.defineSlot(t,a,n);if(p){try{l&&Object.keys(l).forEach((e=>{e&&(null==p||p.setTargeting(e,l[e]))}))}catch(e){console.error(e)}kl[n]=p,p.setTargeting("Pos",i),p.addService(c.pubads()),m&&p.setTargeting("Content_ID",m),r&&p.defineSizeMapping(r),o&&document.getElementById("subot--container")&&p.setTargeting("chatbot",!0),c.display(n),null==s||s()}}))})({contentId:d,adUnitPath:r,size:o,divId:l,pos:s,sizeMapping:c,hideIfHasSubot:p,customTargetings:g,onSuccess:A})}),[m]),_)return null;const L=e.createElement("div",{style:{position:"relative",width:"fit-content",height:"fit-content",overflow:"hidden",maxWidth:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},e.createElement("div",{ref:S,id:l}),y&&e.createElement(El,{onClick:()=>{null==x||x(),z(!0)}}));if(h)return L;const P=f?f[0]:o?Array.isArray(o[0])?o[0][0]:o[0]:void 0,$=f?f[1]:o?Array.isArray(o[0])?o[0][1]:o[1]:void 0;return e.createElement(de,Object.assign({},E,{className:n}),e.createElement(xl,{ref:T,className:n,style:b,"data-no-wrapper":!!v,"data-header-bottom":!!w},v?L:e.createElement(e.Fragment,null,e.createElement(wl,{"data-header-bottom":!!w},e.createElement("img",{src:C?oe.getAssetPath("adsIcon-mb.svg"):oe.getAssetPath("adsIcon.svg"),alt:"",loading:"lazy"}),e.createElement("span",null,B("adBanner.title"))),e.createElement("div",{style:{minWidth:P||"100%",minHeight:$||"100%",position:"relative"}},L))))})),((e,t)=>e.adUnitPath===t.adUnitPath&&e.divId===t.divId&&e.className===t.className)),Bl=({className:n,adUnitPath:r,divId:o,isMobile:l,contentId:s,customTargetings:c,locale:d,isMarryBaby:m})=>{const[p,h]=t(!0),[u,g]=t(!1),[b,f]=t(!0),v=a(null),y=a(_t()),x=a(null),w=a(),E=a();return i((()=>{const e=()=>{E.current&&clearTimeout(E.current),E.current=setTimeout((()=>{var t;document.getElementById("subot--container")?h(!0):(h(!1),(null===(t=v.current)||void 0===t?void 0:t.clientHeight)?f(!1):f(!0)),e()}),4e3)};return e(),()=>{w.current&&clearTimeout(w.current),E.current&&clearTimeout(E.current)}}),[]),p||u?null:e.createElement(yl,{key:l?"mobile":"desktop",ref:x,className:n,"data-visible":!b},r&&e.createElement(Nl,{wrapperProps:{m:0},ref:v,adUnitPath:r,size:l?[[320,50],[320,100]]:[728,90],divId:(o||"div-gpt-ad-sticky")+(l?"-mobile":"")+s+String(y.current),pos:["Sticky"],contentId:s,hideIfHasSubot:l,customTargetings:c,adDefaultSize:l?[320,50]:[728,90],showCloseBtn:!0,onCloseAd:()=>g(!0),refreshInterval:60,locale:d,isMarryBaby:m}))},Tl=[{title:"Health News & Current Affairs",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:oe.getAssetPath("newsletter-prefer/newsletter-health.svg"),checked:!1,id:1},{title:"Educational Medical Hello Bacsi Content",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:oe.getAssetPath("newsletter-prefer/newsletter-education.svg"),checked:!1,id:2},{title:"Hello Health Community Feed",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:oe.getAssetPath("newsletter-prefer/newsletter-community.svg"),checked:!1,id:3}];var Dl;!function(e){e.DUE_DATE="due-date-calculator",e.BMI="bmi",e.BMR="bmr",e.OVULATION="ovulation",e.IFRAME="IFRAME",e.PWG="pregnancy-weight-gain",e.THR="heart-rate",e.BABY_VACCINE="vaccination-tool",e.BABY_GROWTH="baby-growth-tracking",e.BABY_POOP="baby-poop-checking"}(Dl||(Dl={}));const Il={DUE_DATE:Dl.DUE_DATE,BMI:Dl.BMI,BMR:Dl.BMR,OVULATION:Dl.OVULATION,IFRAME:Dl.IFRAME,PWG:Dl.PWG,THR:Dl.THR,BABY_VACCINE:Dl.BABY_VACCINE,BABY_GROWTH:Dl.BABY_GROWTH,BABY_POOP:Dl.BABY_POOP},_l={[Il.DUE_DATE]:oe.getAssetPath("health-tools/due-date-icon.svg")};var zl,Al,Ll,Pl;!function(e){e.Pregnant="pregnant",e.Parenting="parenting"}(zl||(zl={})),function(e){e.Option="option"}(Al||(Al={})),function(e){e.Button="button",e.Checkbox="checkbox"}(Ll||(Ll={})),function(e){e.ShowTool="showTool",e.ShowPremiumModal="showPremiumModal",e.ShowOptionBanner="showOptionBanner",e.Hide="hide"}(Pl||(Pl={}));const $l={pregnancy:zl.Pregnant,parenting:zl.Parenting},Ml={[zl.Pregnant]:"pregnant",[zl.Parenting]:"parent"},Ol=e=>({[Il.DUE_DATE]:{heading:e("pnBanner.dueDateTool.heading"),description:e("pnBanner.dueDateTool.desc"),btnLabel:e("pnBanner.caclNow"),value:Il.DUE_DATE,dataEventAction:"Try our Due Date Calculator Click"},[Il.BABY_VACCINE]:{heading:e("pnBanner.vaccination.heading"),description:e("pnBanner.vaccination.desc"),btnLabel:e("pnBanner.caclNow"),value:Il.BABY_VACCINE,dataEventAction:"Try our Baby Vaccine Scheduler Click"},[Il.BABY_GROWTH]:{heading:"Baby Growth",description:e("pnBanner.vaccination.desc"),btnLabel:e("pnBanner.caclNow"),value:Il.BABY_GROWTH},[ne.HPV]:{heading:e("pnBanner.hpv.heading"),description:e("pnBanner.hpv.desc"),thumbnail:{desktop:oe.getAssetPath("newsletter/banner-option-hpv-desktop.png"),mobile:oe.getAssetPath("newsletter/banner-option-hpv-mobile.png")},isRiskScreener:!0,btnLabel:e("pnBanner.checkNow"),value:ne.HPV,hideDescOnMobile:!0,dataEventAction:"Keep safe from HPV virus Click"}}),jl=d({}),Fl=t=>{var a=se(t,[]);const{locale:n}=K(),{type:i,isMobile:r,currentUrl:o,isMarketing:l,isLoggedIn:s,setShouldAcquisitionModalOpen:c}=m(jl);return e.createElement(ye,Object.assign({mih:{base:144,md:160},fluid:!0,p:0,sx:{borderRadius:4,cursor:"pointer"},onClick:()=>ce(void 0,void 0,void 0,(function*(){const e=l?zt(n)+"/dang-ky-nhan-tin/":`${window.location.href}?source=acquisition`;s?null==c||c():window.location.href=`${At(n)}/?returnUrl=${encodeURIComponent(e)}`})),"data-event-category":"Newsletter","data-event-action":"Banner Click","data-event-label":o,className:"pointer-event-child-none"},a),e.createElement(Me,{src:l?oe.getAssetPath(`newsletter/${r?"Mobile":"Desktop"}_Marketing.png`):oe.getAssetPath(`newsletter/${r?"Mobile":"Desktop"}_${i}.png`),style:{maxWidth:"100%"},alt:"newsletter banner"}))},Hl="api/v1/categories?site={website_url}",Rl="api/v1/subscription?site={website_url}",Ul="api/v1/categories?site={website_url}";var Vl=be((e=>({root:{},wrapper:{[e.fn.smallerThan("sm")]:{width:"70%"}},button:{[e.fn.smallerThan("sm")]:{height:"auto",minHeight:he(32),padding:`${he(6)} ${he(16)}`,textAlign:"center",width:"100%"}},buttonLabel:{whiteSpace:"normal"}})));const Wl=({heading:t,description:a,thumbnail:n={desktop:"",mobile:""},hideDescOnMobile:i,children:r})=>{const{isMobile:o,minHeight:l}=m(jl);return e.createElement(de,{sx:()=>({borderRadius:he(8),background:"linear-gradient(180deg, #FAFDFF 0%, #E3F2FF 100%)"})},e.createElement(de,{sx:e=>({minHeight:he(l),borderRadius:"inherit",background:`url(${o?n.mobile:n.desktop})`,backgroundPosition:"center right",backgroundRepeat:"no-repeat",backgroundSize:"contain",padding:`${he(24)} ${he(16)}`,display:"flex",flexDirection:"column",justifyContent:"center",[e.fn.largerThan("sm")]:{padding:`${he(22)} ${he(32)}`}})},e.createElement(xe,{spacing:he(16)},e.createElement(xe,{spacing:he(4),sx:e=>({maxWidth:"60%",[e.fn.largerThan("sm")]:{maxWidth:"70%"}})},t&&e.createElement(A,{tag:"h4"},t),!(i&&o)&&a&&e.createElement(p,{size:"p4"},a)),e.createElement(de,null,r))))},Gl=t=>{const{styleType:a=Ll.Button,items:i=[],buttonProps:r,styles:o,submitBtnTracking:s}=t,{classes:c}=Vl(void 0,{name:"PremiumBannerWithOptions",styles:o}),{t:d,locale:p}=K(),{surveyType:u,articleId:g,handleClickOption:b,hasPremiumBanner:f,source:v,isMobile:y,setShowPNModal:x}=m(jl),w=n((()=>f?i:i.filter((e=>!Boolean(e.isPNBtn))).filter(Boolean)),[i]),{getHealthToolLink:E}=yt(p),k=Lt({initialValues:{bannerOptions:[]}}),C=e=>ce(void 0,void 0,void 0,(function*(){return yield F(H(R.HEALTH_TOOL.CREATE,{_locale:p,type:Ml[u]}),"POST",{headers:{"Content-Type":"application/json"},data:{value:e,article:g,source:v}})})),S=l((()=>e.createElement(pe,{gap:he(8),className:c.wrapper},w.map(((t,a)=>e.createElement(de,{key:String(a),component:t.isLink?"a":"div",href:t.isRiskScreener?`https://${Q[p]}/bot/${ie[p][t.activeTool]}/`:t.isLink?E(t.activeTool):void 0},e.createElement(Pe,Object.assign({className:c.button,classNames:{label:c.buttonLabel},size:"sm"},t.tracking,r,{onClick:()=>{t.isLink||(t.isPNBtn&&x(!0),C(t.value),b(t.value))}}),t.label)))))),[w,k]),N=l((()=>e.createElement(pe,null,e.createElement(pe,{align:"center",gap:he(24),sx:e=>({background:"white",borderRadius:he(8),padding:he(4),[e.fn.largerThan("sm")]:{paddingLeft:he(16)}})},e.createElement(Oe.Group,Object.assign({},k.getInputProps("bannerOptions",{type:"checkbox"})),e.createElement(pe,{gap:he(16)},w.map(((t,a)=>e.createElement(Oe,{key:String(a),value:t.value,label:t.label,styles:{label:{cursor:"pointer"}}}))))),e.createElement(Pe,Object.assign({size:"sm"},s,r,{disabled:0===k.getInputProps("bannerOptions").value.length,leftIcon:y?e.createElement(h.ArrowRightTail,{size:18,useCurrentColor:!0}):void 0,onClick:()=>{const e=k.getInputProps("bannerOptions").value;C(e.join("|")),b(e.join("|"))},styles:e=>({root:{[e.fn.smallerThan("sm")]:{width:he(38),minWidth:"auto",padding:0}}})}),!y&&d("pnBanner.submit"))))),[w,k]);return e.createElement(Wl,Object.assign({},t),a===Ll.Button?S():a===Ll.Checkbox?N():null)},ql=t=>{var a,i;const{t:r}=K(),{heading:o,description:l,thumbnail:s,btnLabel:c,value:d,isRiskScreener:h,hideDescOnMobile:u,dataEventAction:g}=t,{locale:b}=K(),{isMobile:f}=m(jl),{getHealthToolLink:v,allTools:y}=yt(b),x=h?"mainBanner":"toolBanner",w=n((()=>{const t=h?`https://${J?"":"discover."}${Q[b]}/bot/${ie[b][d]}`:v(d);return e.createElement("a",{href:t},e.createElement(Pe,{size:"sm","data-event-category":"Focused Audience","data-event-action":g,"data-event-label":t},c||r("pnBanner.caclNow")))}),[y]);return"mainBanner"===x?e.createElement(Wl,Object.assign({},Object.assign(Object.assign({},t),{thumbnail:t.thumbnail})),w):e.createElement(pe,{gap:he(7),align:"center",justify:"space-between",sx:e=>({borderRadius:he(8),background:e.colors.blue[0],minHeight:he(180),padding:`${he(24)} ${he(16)}`,[e.fn.largerThan("sm")]:{padding:`${he(34)} ${he(32)}`}})},e.createElement(xe,{spacing:he(12)},e.createElement(xe,{spacing:he(4)},o&&e.createElement(A,{tag:"h4"},o),!(f&&u)&&l&&e.createElement(p,{size:"p4"},l)),e.createElement(pe,{gap:he(8),sx:{button:{minWidth:he(120)}}},w)),e.createElement(pe,{align:"center",justify:"center",sx:e=>({width:he(96),height:he(96),borderRadius:"50%",background:"white",flexShrink:0,[e.fn.largerThan("sm")]:{width:he(112),height:he(112)},img:{maxWidth:he(64),[e.fn.largerThan("sm")]:{maxWidth:he(73)}}})},e.createElement("img",{alt:"health-tool-icon",src:s||(null===(i=null===(a=y.filter((e=>e.template===d)))||void 0===a?void 0:a[0])||void 0===i?void 0:i.icon)||_l[d]||"",loading:"lazy"})))},Zl=()=>{var t,a,n;const{t:i}=K(),{state:r,Outside:o}=m(jl);return(null==r?void 0:r.action)===Pl.ShowTool?e.createElement(o,null,Ol(i)[null===(t=null==r?void 0:r.props)||void 0===t?void 0:t.value]?e.createElement(ql,Object.assign({},Ol(i)[null===(a=null==r?void 0:r.props)||void 0===a?void 0:a.value],{value:null===(n=null==r?void 0:r.props)||void 0===n?void 0:n.value})):null):(null==r?void 0:r.action)===Pl.ShowOptionBanner?e.createElement(o,null,e.createElement(Gl,Object.assign({},null==r?void 0:r.props))):null},Yl=a=>{var{isMobile:n,children:i,desktopBanner:r=oe.getAssetPath("friso/onboarding-banner.jpg"),mobileBanner:o=oe.getAssetPath("friso/onboarding-banner-mobile.jpg"),modalRatio:l={width:937,height:536},mobileBannerRatio:s={width:750,height:480},desktopBannerRatio:c={width:420,height:536},closeProps:d}=a,m=se(a,["isMobile","children","desktopBanner","mobileBanner","modalRatio","mobileBannerRatio","desktopBannerRatio","closeProps"]);const{width:p,height:u}=qe(),g=(u<=667?190:265)+p*s.height/s.width+74,[b,f]=t(!1);return e.createElement($t,Object.assign({styles:e=>({content:{flex:"auto",background:"transparent",[e.fn.smallerThan("sm")]:{maxHeight:"100%",height:"100%",position:"relative",borderRadius:0},[e.fn.largerThan("sm")]:{maxWidth:he(l.width),width:"100%",height:"100%",maxHeight:he(l.height),boxShadow:"none"}},body:{padding:0,width:"100%",height:"100%",[e.fn.largerThan("sm")]:{display:"flex",alignItems:"center"}},inner:{padding:0,[e.fn.smallerThan("sm")]:{display:"flex",alignItems:"flex-end"}}})},m),n?e.createElement(de,{sx:{position:"relative",height:"100%"},onTouchStart:()=>f(!0)},e.createElement(de,{className:"mobile-template",sx:{position:"absolute",height:100*(b?1:g/u)+"%",left:0,bottom:0,right:0,transition:"height 0.4s ease"}},e.createElement(de,{sx:{height:"100%",backgroundColor:"white",borderTopLeftRadius:b?0:he(12),borderTopRightRadius:b?0:he(12)}},e.createElement(de,{sx:{height:"calc(100% - 74px)",background:`url(${o})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"top center",overflowY:"auto",borderRadius:"inherit"}},e.createElement(we,Object.assign({leftIcon:e.createElement(h.Close,null),sx:{position:"absolute",right:0,top:0,zIndex:1,padding:he(10)}},d,{onClick:()=>null==m?void 0:m.onClose()})),e.createElement(Ee,{ratio:(null==s?void 0:s.width)/(null==s?void 0:s.height),w:"100%"}),e.createElement(de,{sx:{padding:`${he(28)} ${he(16)} ${he(16)}`,background:"white"}},i))))):e.createElement(Ee,{className:"desktop-template",ratio:l.width/l.height,w:"100%",sx:{position:"relative","& > div":{justifyContent:"flex-end"}}},e.createElement(de,{sx:{width:"100%",height:"100%",justifyContent:"flex-end",alignItems:"stretch",borderRadius:he(8),background:"white",boxShadow:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 2.25rem 1.75rem -0.4375rem, rgba(0, 0, 0, 0.04) 0 1.0625rem 1.0625rem -0.4375rem"}},e.createElement("img",{alt:"",src:r,loading:"lazy",style:{borderTopLeftRadius:he(8),borderBottomLeftRadius:he(8),height:"100%",display:"block"}}),e.createElement(de,{sx:{position:"relative",height:"100%",width:(l.width-c.width)/l.width*100+"%"}},e.createElement(Pe,Object.assign({unstyled:!0,leftIcon:e.createElement(h.Close,null)},d,{onClick:()=>null==m?void 0:m.onClose(),sx:{position:"absolute",right:0,top:"10px"}})),e.createElement(de,{className:"side-banner-modal-container",sx:{height:"100%",padding:`${he(40)} ${he(24)} 0`}},i)))))},Xl="user/subscription",Kl=d({}),Jl=t=>{var{value:a,name:n}=t,i=se(t,["value","name"]);return e.createElement(je,Object.assign({value:a,withIcon:!0},i,{buttonProps:{styles:()=>({leftIcon:{marginRight:he(6)},root:{paddingLeft:he(10),paddingRight:he(10)}})}}),n)},Ql=({topicsGroup:a,onTopicChange:n,isBlock:r=!1,selectedTopics:o=[],inputProps:l,labelProps:s,maxSelect:c=5,hasScroll:d,readonly:h})=>{const{action:{pushNotifications:u}}=m(U),g=Ot(a.map((e=>e.topics||[]))),{t:b}=K(),[f,v]=t([]);i((()=>{v(o)}),[o.length]),i((()=>{null==n||n(f)}),[f]);const y=e=>{e.length>5?u({type:"danger",title:b("pnTopicSection.maxSelectError.title",{maxSelect:c}),message:b("pnTopicSection.maxSelectError.desc")}):!h&&v((()=>g.filter((t=>e.some((e=>t.catId===e))))))};return e.createElement(xe,{spacing:12},a.map(((t,a)=>e.createElement(xe,{key:String(a),spacing:12},t.label&&e.createElement(p,Object.assign({size:"s5",color:"gray.4",weight:"semiBold"},s),t.label),d?e.createElement(ke,{w:"100%",offsetScrollbars:!0,scrollbarSize:4,p:16,m:-16,styles:{viewport:{margin:-16,padding:16}}},e.createElement(de,{w:800},e.createElement(Ce.Group,Object.assign({value:f.map((e=>e.catId)),multiple:!0},l,{onChange:y}),e.createElement(pe,{gap:8,wrap:"wrap"},t.topics.map((a=>e.createElement(Jl,Object.assign({key:a.catId,value:a.catId,name:a.localName,isBlock:r},t.tracking)))))))):e.createElement(Ce.Group,Object.assign({value:f.map((e=>e.catId)),multiple:!0},l,{onChange:y}),e.createElement(pe,{gap:8,wrap:"wrap"},t.topics.map((a=>a.catId?e.createElement(Jl,Object.assign({key:a.catId,value:a.catId,name:a.localName,isBlock:r},t.tracking)):e.isValidElement(a.component)?a.component:null))))))))},es=t=>{var{heading:a,children:n,stickyActions:i}=t,r=se(t,["heading","children","stickyActions"]);const{isMobile:o}=m(Kl),l=e.createElement(xe,{spacing:he(24),sx:{height:"100%"}},e.createElement(A,{tag:"h4",style:{textAlign:"center"}},a),e.createElement(de,null,n));return e.createElement(de,{sx:e=>({[e.fn.largerThan("sm")]:{position:"relative",height:"100%"}})},o?l:e.createElement(ke,Object.assign({className:"layout-body",h:i?"calc(100% - 90px)":"100%"},r),l),i&&e.createElement(pe,{gap:he(8),sx:e=>({position:"absolute",left:0,right:0,bottom:0,padding:he(16),button:{flexGrow:1},justifyContent:"center",[e.fn.largerThan("sm")]:{padding:`${he(24)} 0`}})},i))},ts=()=>{const{t:a,locale:r}=K(),{data:{userInfo:o},action:{pushNotifications:l}}=m(U),s=null==o?void 0:o.id,{currentUrl:c,isMobile:d,pnSuggestCategory:u=[],nextStep:g,formValues:b,setFormValues:f,onSubmit:v,submitLoading:y,selectCategory:x,setCategoryLibs:w,setSelectCategory:E,maxSelectCategory:k}=m(Kl),C=u.map((e=>e.catId)),S=Lt({validate:{name:Pt(a("healthToolPNModal.mainForm.requireName"))},initialValues:Object.assign(Object.assign({},b),{fitnessTopics:C})}),[N,B]=t([]),[T,D]=t([]);i((()=>{ce(void 0,void 0,void 0,(function*(){var e;try{const t=yield F(V(Ul,{_locale:r}),"get"),a=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.subscription)||[]).filter((e=>!C.includes(e.catId)));B(u),D(a),w([...u,...a])}catch(e){console.log(e)}}))}),[]),i((()=>{s&&S.setFieldValue("name",(null==o?void 0:o.name)||"")}),[s]);const I=()=>{""!==S.getInputProps("name").value?(f(S.getTransformedValues()),g()):S.validateField("name")},_=n((()=>e.createElement(Pe,{variant:"tertiary",dataEventCategory:"Newsletter",dataEventAction:"More Category Click",dataEventLabel:c,leftIcon:e.createElement(h.Plus,{size:16,color:"#262626",useCurrentColor:!0}),onClick:I,styles:e=>({root:{borderRadius:he(6),padding:"2px 15px",height:he(40)},label:{fontSize:he(14),fontWeight:400,[e.fn.smallerThan("sm")]:{fontSize:he(12),lineHeight:he(16),height:he(40)}},leftIcon:{marginRight:"5px"}})},e.createElement(p,{size:d?"p3":"p4"},a("home.seeMore")))),[S]);return i((()=>{S.setFieldValue("fitnessTopics",x.map((e=>e.catId)))}),[x]),e.createElement("form",{style:{height:"100%"},onSubmit:S.onSubmit((e=>{if(0===x.length)return l({type:"danger",title:a("newsletter.error.minTitle"),message:a("newsletter.error.minCotennt")}),!1;f(e),null==v||v(e.name)}))},e.createElement(es,{heading:a("healthToolPNModal.heading"),stickyActions:e.createElement(e.Fragment,null,e.createElement(Pe,{fullWidth:!0,type:"submit",dataEventCategory:"Newsletter",dataEventAction:"Register Click",dataEventLabel:c,loading:y,sx:{maxWidth:he(240)}},a("healthToolPNModal.register")))},e.createElement(xe,{spacing:he(16)},e.createElement($e,Object.assign({label:a("newsletter.welcome.description")},S.getInputProps("name"))),e.createElement(Ql,{topicsGroup:[...0===u.length&&0===T.length?[{topics:[{component:_}]}]:[],...u.length>0?[{label:a("healthToolPNModal.mainForm.tailorTopicsHeading"),topics:[...u,...0===T.length?[{component:_}]:[]]}]:[],...T.length>0?[{label:a("healthToolPNModal.findMore.chooseFav"),topics:[...T,...T.length>0?[{component:_}]:[]]}]:[]],selectedTopics:[...N],labelProps:{size:d?"p3":"p4",color:"gray.6"},onTopicChange:E,maxSelect:k}))))},as=c((function(t,a){var{label:n}=t,i=se(t,["label"]);return e.createElement("div",Object.assign({ref:a},i),e.createElement(ge,{noWrap:!0},e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72615 14.8099 11.1702 14.2653 12.3086 13.3547L15.2376 16.2837C15.5264 16.5725 15.9946 16.5725 16.2833 16.2837C16.5721 15.9949 16.5721 15.5267 16.2833 15.238L13.3544 12.3091C14.2652 11.1705 14.8099 9.72634 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"#8C8C8C"})),e.createElement(p,{size:"p3"},n)))})),ns=c((function(t,a){var{label:n}=t,i=se(t,["label"]);return e.createElement("div",Object.assign({ref:a},i),e.createElement(p,{size:"p3"},n))})),is=({history:t,onDelete:a})=>e.createElement(pe,{wrap:"wrap",gap:8},jt(t,"catId").map((t=>e.createElement(Se,{key:t.catId,rightSection:e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:()=>null==a?void 0:a(t)},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 9C1.5 4.8525 4.8525 1.5 9 1.5C13.1475 1.5 16.5 4.8525 16.5 9C16.5 13.1475 13.1475 16.5 9 16.5C4.8525 16.5 1.5 13.1475 1.5 9ZM11.1677 12.2248C11.4602 12.5173 11.9327 12.5173 12.2252 12.2248C12.5101 11.9323 12.5101 11.4523 12.2252 11.1673L10.0577 8.99979L12.2252 6.83229C12.5177 6.53979 12.5177 6.0673 12.2252 5.7748C11.9327 5.4823 11.4602 5.4823 11.1677 5.7748L9.00015 7.9423L6.83265 5.7748C6.54015 5.4823 6.06765 5.4823 5.77515 5.7748C5.63471 5.91492 5.55579 6.10516 5.55579 6.30354C5.55579 6.50193 5.63471 6.69217 5.77515 6.83229L7.94265 8.99979L5.77515 11.1673C5.63471 11.3074 5.55579 11.4977 5.55579 11.696C5.55579 11.8944 5.63471 12.0847 5.77515 12.2248C6.06765 12.5173 6.54015 12.5173 6.83265 12.2248L9.00015 10.0573L11.1677 12.2248Z",fill:"#8C8C8C"})),styles:{root:{height:32,background:"#ffffff",padding:"5px 12px",border:`1px solid ${Fe.neutral[4]}`,borderRadius:32,textTransform:"unset"},rightSection:{height:18,cursor:"pointer"}}},e.createElement(p,{size:"p4"},t.localName))))),rs=({topics:a,onTopicChange:n,isBlock:r=!1,selectedTopics:o,labelProps:l,maxSelect:s=5})=>{const{action:{pushNotifications:c}}=m(U),[d,h]=t([]),{t:u}=K();i((()=>{h(o)}),[o.length]),i((()=>{n(d)}),[d]);return a&&0!==a.length?e.createElement(xe,{spacing:12,px:16,mx:-16},e.createElement(p,Object.assign({size:"s5",color:"gray.4",weight:"semiBold"},l),u("pnTopicSection.recentView")),e.createElement(Ce.Group,{value:d.map((e=>e.catId)),onChange:e=>{r&&d.length<e.length?c({type:"danger",title:u("pnTopicSection.maxSelectError.title",{maxSelect:s}),message:u("pnTopicSection.maxSelectError.desc")}):h((()=>a.filter((t=>e.some((e=>t.catId===e))))))},multiple:!0},e.createElement(pe,{gap:8,wrap:"wrap"},a.map(((t,a)=>e.createElement(Jl,{key:a,value:t.catId,name:t.localName,isBlock:r})))))):null},os=t=>{var{topic:a,active:n,onClick:i}=t,r=se(t,["topic","active","onClick"]);return e.createElement(de,Object.assign({sx:e=>({position:"relative",cursor:"pointer",padding:2,borderRadius:8,boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04)",minHeight:he(130),[e.fn.largerThan("sm")]:{minHeight:he(138)}}),onClick:()=>i(a,n)},r),n&&e.createElement(de,{id:"test",sx:{position:"absolute",top:2,right:2,width:20,height:20,zIndex:1}},e.createElement("svg",{id:"test",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66699 9.99984C1.66699 5.39984 5.40033 1.6665 10.0003 1.6665C14.6003 1.6665 18.3337 5.39984 18.3337 9.99984C18.3337 14.5998 14.6003 18.3332 10.0003 18.3332C5.40033 18.3332 1.66699 14.5998 1.66699 9.99984ZM4.75066 10.5827L7.74232 13.5744C8.06732 13.8994 8.60066 13.8994 8.91732 13.5744L15.2423 7.2494C15.5673 6.9244 15.5673 6.3994 15.2423 6.0744C14.9173 5.7494 14.3923 5.7494 14.0673 6.0744L8.33399 11.8077L5.92566 9.40773C5.60066 9.08273 5.07566 9.08273 4.75066 9.40773C4.59461 9.56342 4.50692 9.7748 4.50692 9.99523C4.50692 10.2157 4.59461 10.427 4.75066 10.5827Z",fill:"#2D87F3"}),e.createElement("path",{d:"M7.74224 13.5772L4.75057 10.5856C4.59453 10.4299 4.50684 10.2185 4.50684 9.99808C4.50684 9.77765 4.59453 9.56627 4.75057 9.41058C5.07557 9.08558 5.60057 9.08558 5.92557 9.41058L8.33391 11.8106L14.0672 6.07725C14.3922 5.75225 14.9172 5.75225 15.2422 6.07725C15.5672 6.40225 15.5672 6.92725 15.2422 7.25225L8.91724 13.5772C8.60057 13.9022 8.06724 13.9022 7.74224 13.5772Z",fill:"white"}))),e.createElement(de,{sx:{borderRadius:"8px"}},e.createElement(ze,{ratio:1.5,mb:10,sx:e=>({background:e.colors.neutral[0]})},e.createElement(de,null,e.createElement("img",{src:a.guid||"",alt:"cat",loading:"lazy",style:{maxHeight:"63px"}})))),e.createElement(p,{size:"p4",ta:"center",px:6,sx:{display:"-webkit-box","-webkit-line-clamp":"2","-webkit-box-orient":"vertical",overflow:"hidden"}},a.localName||""))},ls=({topics:n,selectedTopics:r=[],onTopicChange:o,isBlock:l=!1,labelProps:s,pushNotifications:c,maxSelect:d=5})=>{const{t:m}=K(),[h,u]=t([]),g=(e,t)=>{if(t)u((t=>t.filter((t=>t.catId!==e.catId))));else{if(l)return void c({type:"danger",title:m("pnTopicSection.maxSelectError.title",{maxSelect:d}),message:m("pnTopicSection.maxSelectError.desc")});u((t=>[...t,e]))}};i((()=>{u(r)}),[r.length]),i((()=>{o(h)}),[h]);const[b,f]=t(!1),[v,y]=t(0),[x,w]=t(0),E=a(null),k=()=>{f(!1)};return e.createElement(xe,{spacing:10},e.createElement(pe,{justify:"space-between",align:"center",w:"100%"},e.createElement(p,Object.assign({size:"s5",color:"gray.4",weight:"semiBold",span:!0},s),m("pnTopicSection.trending"))),e.createElement(de,null,e.createElement(ke,{type:"always",w:"100%",offsetScrollbars:!0,scrollbarSize:4,px:4,viewportRef:E,viewportProps:{onMouseDown:e=>{e.preventDefault(),E.current&&(f(!0),y(e.pageX-E.current.offsetLeft),w(E.current.scrollLeft))},onMouseUp:k,onMouseLeave:k,onMouseMove:e=>{if(e.preventDefault(),!b||!E.current)return;const t=2*(e.pageX-E.current.offsetLeft-v);E.current.scrollLeft=x-t}},styles:{viewport:{paddingBottom:16}}},e.createElement(de,{w:{base:112*n.length+8*(n.length-1)+10}},e.createElement(pe,{gap:8},n.map(((t,a)=>e.createElement(os,{key:a,topic:t,onClick:g,active:h.some((e=>e.catId===t.catId)),w:{base:112}}))))))))},ss=r=>{var{isLoggedIn:o,maxSelect:l=5,values:s=[],labelProps:c,onChange:d}=r,h=se(r,["isLoggedIn","maxSelect","values","labelProps","onChange"]);const{action:{pushNotifications:u}}=m(U),[g,b]=t(""),{t:f,locale:v}=K(),y=a(null),[x,w]=t([]),[E,k]=t([]),[C,S]=t([]),[N,B]=t([]),[T,D]=t(null),[I,_]=t([]);i((()=>{ce(void 0,void 0,void 0,(function*(){var e,t;const a=yield F(V(Hl,{_locale:v}),"get"),n=(null===(e=null==a?void 0:a.data)||void 0===e?void 0:e.interested)||[],i=(null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.trending)||[],r=jt([...n,...i],"catId").map((e=>Object.assign(Object.assign({},e),{value:e.catId||"",label:e.localName||""})));if(_(r||[]),D((null==a?void 0:a.data)||null),s.length>0){const e=n.filter((e=>s.includes(e.catId))).map((e=>Object.assign(Object.assign({},e),{template:"interested"}))),t=i.filter((e=>s.includes(e.catId))).map((e=>Object.assign(Object.assign({},e),{template:"trending"})));B(e),k(t)}}))}),[o]);const z=n((()=>jt([...x,...E,...N,...C],"catId")),[x,E,N,C]),[A,L]=t(!1);i((()=>{z.length>=l?L(!0):L(!1),null==d||d(z)}),[z]);return e.createElement(xe,Object.assign({spacing:he(16)},h),e.createElement(xe,{spacing:he(8)},e.createElement(p,{size:"p3"},f("pnTopicSection.maxSelectError.detail",{max:l,maxTopic:z.length})),e.createElement(Ne,{ref:y,maxSelectedValues:3,styles:{wrapper:{overflow:"initial !important"},separator:{padding:16},separatorLabel:{fontWeight:600,fontSize:12,lineHeight:"18px",textTransform:"uppercase",color:Fe.gray[4],"&::after":{display:"none"}},searchInput:{fontSize:"inherit"},input:{paddingRight:16}},nothingFound:e.createElement(p,{size:"s4",color:"gray.6"},f("pnTopicSection.notFound")),itemComponent:""===g?as:ns,size:"lg",placeholder:f("pnTopicSection.plsEnterFavTopics"),data:I,onSearchChange:b,searchValue:g,icon:e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9682 19.7465 14.8936 19.0205 16.4115 17.8063L20.3168 21.7116C20.7018 22.0966 21.3261 22.0966 21.7111 21.7116C22.0961 21.3266 22.0961 20.7023 21.7111 20.3173L17.8059 16.4121C19.0203 14.894 19.7465 12.9684 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#595959"})),rightSection:e.createElement(e.Fragment,null),zIndex:500,searchable:!0,withinPortal:!0,onChange:e=>{return t=e,ce(void 0,void 0,void 0,(function*(){var e;const a={trending:k,recently:S,interested:B,default:w};let n="default";if(A)u({type:"danger",title:f("pnTopicSection.maxSelectError.title",{maxSelect:l}),message:f("pnTopicSection.maxSelectError.desc")});else{const i=[{key:"trending",array:null==T?void 0:T.trending},{key:"recently",array:null==T?void 0:T.recently},{key:"interested",array:null==T?void 0:T.interested}].find((e=>{var a;return null===(a=e.array)||void 0===a?void 0:a.some((e=>e.catId===t[0]))}));n=(null==i?void 0:i.key)||"default",a[n]((e=>[...e,...I.filter((e=>t.some((t=>e.catId===t))))].map((e=>Object.assign(Object.assign({},e),{template:n}))))),null===(e=y.current)||void 0===e||e.blur()}return null}));var t},value:[]}),z&&z.length>0&&e.createElement(is,{history:z,onDelete:e=>{const t={trending:k,recently:S,interested:B,default:w};(t[e.template]||t.default)((t=>{const a=[...t],n=a.findIndex((t=>t.catId===e.catId));return a.splice(n,1),a}))}})),e.createElement(de,{sx:e=>({position:"relative",height:he(175),[e.fn.largerThan("sm")]:{height:he(190)}})},e.createElement(de,{sx:{position:"absolute",top:0,right:0,left:0}},e.createElement(ls,{topics:((null==T?void 0:T.trending)||[]).map((e=>Object.assign(Object.assign({},e),{template:"trending"}))),selectedTopics:E,onTopicChange:k,isBlock:A,labelProps:c}))),e.createElement(rs,{topics:((null==T?void 0:T.recently)||[]).map((e=>Object.assign(Object.assign({},e),{template:"recently"}))),selectedTopics:C,onTopicChange:S,isBlock:A,labelProps:c}),e.createElement(Ql,{labelProps:c,topicsGroup:[{label:f("pnTopicSection.ppAlsoInterested"),topics:((null==T?void 0:T.interested)||[]).map((e=>Object.assign(Object.assign({},e),{template:"interested"})))}],selectedTopics:N,onTopicChange:B,isBlock:A}))},cs=()=>{const{t:t}=K(),{action:{pushNotifications:a}}=m(U),{prevStep:n,formValues:i,submitLoading:r,onSubmit:o,selectCategory:l,maxSelectCategory:s,setSelectCategory:c,currentUrl:d,isLoggedIn:p}=m(Kl);return e.createElement(es,{heading:t("newsletter.topic.title"),type:"always",styles:{root:{paddingRight:he(25)}},stickyActions:e.createElement(e.Fragment,null,e.createElement(Pe,{fullWidth:!0,variant:"secondary",dataEventCategory:"Newsletter",dataEventAction:"Back Click",dataEventLabel:d,onClick:n},t("healthToolPNModal.back")),e.createElement(Pe,{fullWidth:!0,type:"submit",dataEventCategory:"Newsletter",dataEventAction:"Next Click",dataEventLabel:d,onClick:()=>{if(0===l.length)return a({type:"danger",title:t("newsletter.error.minTitle"),message:t("newsletter.error.minCotennt")}),!1;null==o||o(i.name)},loading:r},t("healthToolPNModal.next")))},e.createElement(ss,{isLoggedIn:p,maxSelect:s,values:i.fitnessTopics,onChange:c,labelProps:{size:"s5",sx:{textTransform:"uppercase"}}}))},ds=()=>{const{t:t}=K(),{close:a,selectCategory:n,onRegisterSuccess:r,currentUrl:o,finishLabelOnResult:l,disclaimerText:s}=m(Kl);return i((()=>()=>{setTimeout((()=>{null==r||r()}),400)}),[]),e.createElement(es,{heading:t("healthToolPNModal.heading"),stickyActions:e.createElement(Pe,{fullWidth:!0,sx:{maxWidth:he(300)},dataEventCategory:"Newsletter",dataEventAction:"Continue Reading Click",dataEventLabel:o,onClick:()=>{a()}},l||t("healthToolPNModal.finish"))},e.createElement(xe,null,e.createElement(pe,{gap:he(8),sx:e=>({background:e.colors.green[0],border:`1px solid ${e.colors.green[1]}`,borderRadius:he(8),padding:he(8)})},e.createElement(de,null,e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M9.99984 18.3334C14.6022 18.3334 18.3332 14.6025 18.3332 10.0001C18.3332 5.39771 14.6022 1.66675 9.99984 1.66675C5.39746 1.66675 1.6665 5.39771 1.6665 10.0001C1.6665 14.6025 5.39746 18.3334 9.99984 18.3334Z",fill:"#00B16A"}),e.createElement("path",{d:"M9.58558 12.6674C9.22944 12.668 8.87668 12.5983 8.54752 12.4623C8.21835 12.3264 7.91925 12.1268 7.66732 11.8751L6.68587 10.8931C6.55607 10.7587 6.48424 10.5787 6.48587 10.3919C6.48749 10.2051 6.56243 10.0263 6.69455 9.89422C6.82667 9.7621 7.00539 9.68716 7.19222 9.68554C7.37906 9.68391 7.55906 9.75574 7.69345 9.88554L8.67491 10.8675C8.79344 10.986 8.93415 11.08 9.08902 11.1442C9.24389 11.2083 9.40987 11.2413 9.5775 11.2413C9.74513 11.2413 9.91111 11.2083 10.066 11.1442C10.2208 11.08 10.3616 10.986 10.4801 10.8675L16.7033 5.24335C16.8443 5.12184 17.0272 5.06032 17.213 5.07195C17.3987 5.08358 17.5726 5.16744 17.6973 5.30558C17.8221 5.44373 17.8878 5.6252 17.8805 5.81118C17.8731 5.99717 17.7933 6.17291 17.6581 6.30081L11.4592 11.8998C11.2128 12.1448 10.9205 12.3387 10.5989 12.4705C10.2774 12.6022 9.93304 12.6692 9.58558 12.6674Z",fill:"white"}))),e.createElement(p,{size:"p3"},s||t("pnModal.disclaimer"))),e.createElement(A,{tag:"h5"},t("healthToolPNModal.yourPre")),n.length>0&&e.createElement(Ql,{topicsGroup:[{label:"",topics:n}],selectedTopics:n,readonly:!0})))},ms=({isMobile:a,isLoggedIn:n,pnSuggestCategory:r=[],acquisitionInfo:o,currentUrl:s,opened:c,close:d,finishLabelOnResult:p,onRegisterSuccess:h,disclaimerText:u})=>{const{t:g,locale:b}=K(),{action:{pushNotifications:f}}=m(U),v=oe.getAssetPath("premiumNewsletter/side-banner-desktop.jpg"),y=oe.getAssetPath("premiumNewsletter/side-banner-mobile.jpg"),[x,w]=t([]),[E,k]=t([]),[C,S]=t(0),[N,B]=t({name:"",fitnessTopics:[]}),[T,D]=t(!1),I=()=>S(2),_=l((e=>ce(void 0,void 0,void 0,(function*(){try{D(!0),yield F(V(Rl,{website_url:W(b)}),"post",{headers:{"Content-Type":"application/json"},method:"POST",data:{ga_client_id:Mt.get(re),client_ip:window.clientIP||"",user_info:Object.assign(Object.assign({},o.userInfo),{name:e||N.name,type_subscription:1}),domain:Q[b||Re.Vietnam],category:E,perferred:o.preferredTopics.map((({id:e})=>({id:e})))}}),D(!1),yield F(G(Xl),"post",{headers:{"Content-Type":"application/json"},method:"PUT",data:{subscription:1}}),I()}catch(e){console.log({err:e}),D(!1),f({title:g("notification.comment.somethingWrong"),message:"",type:"danger"})}}))),[N,E]);return i((()=>{[v,y].forEach((e=>{(new Image).src=e}))}),[]),e.createElement(Kl.Provider,{value:{currentUrl:s,isMobile:a,isLoggedIn:n,opened:c,close:d,pnSuggestCategory:r,nextStep:()=>S((e=>e<3?e+1:e)),prevStep:()=>S((e=>e>0?e-1:e)),lastStep:I,categoryLibs:x,setCategoryLibs:w,selectCategory:E,setSelectCategory:k,formValues:N,setFormValues:B,maxSelectCategory:5,submitLoading:T,onSubmit:_,onRegisterSuccess:h,finishLabelOnResult:p,disclaimerText:u}},e.createElement(Yl,{isMobile:a,desktopBanner:oe.getAssetPath("premiumNewsletter/side-banner-desktop.jpg"),mobileBanner:oe.getAssetPath("premiumNewsletter/side-banner-mobile.jpg"),modalRatio:{width:960,height:588},desktopBannerRatio:{width:384,height:588},opened:c,onClose:d,zIndex:305,closeProps:{dataEventCategory:"Newsletter",dataEventAction:"Close Click",dataEventLabel:s}},e.createElement(Be,{active:C,onStepClick:S,styles:{root:{height:"100%"},content:{padding:0,height:"100%",width:"100%"},steps:{display:"none"}}},e.createElement(Be.Step,null,e.createElement(ts,null)),e.createElement(Be.Step,null,e.createElement(cs,null)),e.createElement(Be.Step,null,e.createElement(ds,null)))))},ps=()=>{const{locale:n}=K(),{isMobile:r,isLoggedIn:o,currentUrl:l,acquisitionInfo:s,categoryIds:c,state:d,setState:p,settings:h,submitHandler:u,subcribeHealthStatus:g,showPNModal:b,setShowPNModal:f,setIsBack:v}=m(jl),[y,x]=t([]),[w,E]=t(b);i((()=>{ce(void 0,void 0,void 0,(function*(){var e,t;const a=yield F(V(Hl,{_locale:n}),"get"),i=[...(null===(e=null==a?void 0:a.data)||void 0===e?void 0:e.interested)||[],...(null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.trending)||[]];x(i.filter((e=>c.includes(Number(e.catId)))))}))}),[]);const k=a([]);return i((()=>{const e=(null==g?void 0:g.value)||"",t=e.split("|").filter(Boolean);let a=e;k.current.push(g),t.length>1&&(null!==k.current[0]&&v(!0),Object.keys(u).map((e=>{const n=e.split("|");if(t.length===n.length){let i=0;t.map((e=>{n.includes(String(e))&&(i+=1)})),i===t.length&&(a=e)}})));const n=t.length>0?u[a]:h;p(n)}),[g]),i((()=>{E(b)}),[b]),(null==d?void 0:d.action)!==Pl.Hide?e.createElement(e.Fragment,null,e.createElement(Zl,Object.assign({},h.props)),e.createElement(ms,{acquisitionInfo:s,isMobile:r,isLoggedIn:o,currentUrl:l,pnSuggestCategory:y,opened:w,close:()=>{var e;E(!1),f(!1),setTimeout((()=>{var e;(null===(e=d.actionParams)||void 0===e?void 0:e.hideBannerWhenClose)&&p({action:Pl.Hide})}),400),(null===(e=d.actionParams)||void 0===e?void 0:e.hideBannerWhenClose)&&p({action:Pl.Hide})},onRegisterSuccess:()=>E(!1)})):null},hs=({type:a,articleId:r=0,categoryIds:o=[],isMarketing:l,isSurveyType:s,hasPremiumBanner:c,currentUrl:d,isMobile:p,subcribeHealthStatus:h,setShouldAcquisitionModalOpen:u,onValueChange:g,source:b="discover",Wrapper:f})=>{const{t:v}=K(),{data:{userInfo:y}}=m(U),x=Boolean(null==y?void 0:y.id),[w,E]=t(null),[k,C]=t(),[S,N]=t(""),[B,T]=t(!1),[D,I]=t(!1),_=n((()=>$l[a]),[]),z=((e,t)=>({[zl.Pregnant]:{action:Pl.ShowOptionBanner,props:{heading:e("pnBanner.pregnancy.heading"),description:e("pnBanner.pregnancy.desc"),styleType:Ll.Button,thumbnail:{desktop:oe.getAssetPath("newsletter/banner-option-pregnancy-desktop.png"),mobile:oe.getAssetPath("newsletter/banner-option-pregnancy-mobile.png")},buttonProps:{variant:"white",styles:e=>({minWidth:he(80),[e.fn.largerThan("sm")]:{minWidth:he(120)}})},items:[{label:e("switchBtn.yes"),value:"yes",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Are you navigating the world of pregnancy - Yes Click",dataEventLabel:t}},{label:e("switchBtn.no"),value:"no",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Are you navigating the world of pregnancy - No Click",dataEventLabel:t}}]},submitHandler:{yes:{action:Pl.ShowTool,props:{value:Il.DUE_DATE}},no:{action:Pl.ShowPremiumModal}}},[zl.Parenting]:{action:Pl.ShowOptionBanner,props:{heading:e("pnBanner.parenting.heading"),description:e("pnBanner.parenting.desc"),thumbnail:{desktop:oe.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:oe.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,styleType:Ll.Checkbox,items:[{label:e("pnBanner.toddlers"),value:"todders"},{label:e("pnBanner.teenager"),value:"teenager"}],submitBtnTracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the age range of your kids Click",dataEventLabel:t}},submitHandler:{todders:{action:Pl.ShowTool,props:{value:Il.BABY_VACCINE}},teenager:{action:Pl.ShowOptionBanner,props:{styleType:Ll.Button,heading:e("pnBanner.teenager.heading"),description:e("pnBanner.parenting.desc"),thumbnail:{desktop:oe.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:oe.getAssetPath("newsletter/banner-option-parenting-mobile.png")},buttonProps:{variant:"white"},items:[{label:e("childCard.boy"),value:"teenager.boy",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the gender of your kids - Boy Click",dataEventLabel:t}},{label:e("childCard.girl"),value:"teenager.girl",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the gender of your kids - Girl Click",dataEventLabel:t}}]}},"teenager.boy":{action:Pl.ShowPremiumModal},"teenager.girl":{action:Pl.ShowTool,activeTool:ne.HPV,props:{value:ne.HPV}},"todders|teenager":{action:Pl.ShowOptionBanner,props:{styleType:Ll.Button,heading:e("pnBanner.both.heading"),description:e("pnBanner.both.desc"),thumbnail:{desktop:oe.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:oe.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,buttonProps:{variant:"secondary"},styles:e=>({wrapper:{[e.fn.smallerThan("sm")]:{flexDirection:"column"}},button:{background:e.colors.blue[0]}}),items:[{label:e("pnBanner.vaccine.btnLabel"),activeTool:Il.BABY_VACCINE,isLink:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Baby Vaccine Click",dataEventLabel:t}},{label:e("pnBanner.pn.btnLabel"),value:"todders|teenager.showPN",isPNBtn:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Premium Newsletter Click",dataEventLabel:t}}]}},"todders|teenager.showPN":{action:Pl.ShowOptionBanner,props:{styleType:Ll.Button,heading:e("pnBanner.both.heading"),description:e("pnBanner.both.desc"),thumbnail:{desktop:oe.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:oe.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,buttonProps:{variant:"secondary"},styles:e=>({wrapper:{[e.fn.smallerThan("sm")]:{flexDirection:"column"}},button:{background:e.colors.blue[0]}}),items:[{label:e("pnBanner.vaccine.btnLabel"),activeTool:Il.BABY_VACCINE,isLink:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Baby Vaccine Click",dataEventLabel:t}}]}}}}}))(v,d)[_],A=null==z?void 0:z.submitHandler,L=f||de,P=()=>c&&1!==(null==y?void 0:y.subscription)?e.createElement(Fl,null):null;return i((()=>{x&&E({userInfo:y,preferredTopics:Tl,healthTopics:[]})}),[x]),e.createElement(jl.Provider,{value:{settings:z,submitHandler:A,type:a,surveyType:_,value:S,setValue:N,isMobile:p,isLoggedIn:x,isMarketing:l,hasPremiumBanner:c,currentUrl:d,acquisitionInfo:w,categoryIds:o,subcribeHealthStatus:h,articleId:r,onValueChange:g,state:k,setState:C,handleClickOption:e=>{const t=(e=>{let t="";const a=e.split("|");return 1===a.length?e:(Object.keys(A).map((e=>{const n=e.split("|");if(a.length===n.length){let i=0;a.map((e=>{n.includes(String(e))&&(i+=1)})),i===a.length&&(t=e)}})),t)})(e);if(t){const a=A[t];a.action===Pl.ShowPremiumModal?c?(T(!0),C(Object.assign(Object.assign({},k),{actionParams:{hideBannerWhenClose:a.action===Pl.ShowPremiumModal}}))):(C({action:Pl.Hide}),null==g||g(e)):(C(a),null==g||g(e))}},showPNModal:B,setShowPNModal:T,source:b,Outside:L,isBack:D,setIsBack:I,minHeight:180,setShouldAcquisitionModalOpen:u}},void 0!==h?x?s&&z?(()=>{const t=A[(null==h?void 0:h.value)||""];return(null==t?void 0:t.action)===Pl.ShowPremiumModal?P():e.createElement(ps,null)})():P():c?e.createElement(Fl,null):null:null)};export{Ut as A,Vt as B,Qt as C,Ia as D,_o as E,Gt as F,qt as G,Mo as H,za as I,Uo as J,ll as K,oa as L,Jn as M,pl as N,Ho as O,Yt as P,gl as Q,Xt as R,rn as S,Kt as T,vl as U,Nl as V,Bl as W,hs as X,$l as Y,Ml as Z,Wt as a,Jt as b,na as c,ia as d,ba as e,Ea as f,Ca as g,Na as h,Wa as i,qa as j,tn as k,dn as l,fn as m,yn as n,Ja as o,Bn as p,Tn as q,On as r,Wn as s,Kn as t,fr as u,Br as v,Xr as w,io as x,xo as y,Eo as z};
3685
+ `,Bl={},Tl=e=>{if(Bl[e]){window.googletag=window.googletag||{cmd:[]};const{googletag:t}=window;t.cmd.push((function(){t.destroySlots([Bl[e]]),delete Bl[e]}))}},Dl=["TopBanner","MidBanner1","MidBanner2","EndBanner","Sticky"],Il=o(c((function({className:n,adUnitPath:r,size:o,divId:l,pos:s,sizeMapping:c,contentId:d,isHidden:m,hideIfHasSubot:p,isSticky:h,refreshInterval:u,customTargetings:g,style:b,adDefaultSize:f,noWrapper:v,showCloseBtn:y,onCloseAd:x,headerBottom:w,wrapperProps:E,locale:k,isMarryBaby:C},S){const N=u||(k===Re.Vietnam&&s.some((e=>Dl.includes(e)))?30:void 0),{t:B}=K(),T=a(null),D=a(null),I=a(N);I.current=N;const[z,_]=t(!1),A=()=>{I.current&&(null!==D.current&&clearInterval(D.current),D.current=window.setInterval((()=>{window.googletag=window.googletag||{cmd:[]};const{googletag:e}=window;e.cmd.push((function(){Bl[l]&&e.pubads().refresh([Bl[l]])}))}),1e3*I.current))};if(i((()=>()=>{Tl(l),D.current&&clearInterval(D.current)}),[]),i((()=>{A()}),[N]),i((()=>{m||(({contentId:e,adUnitPath:t,size:a,divId:n,pos:i,sizeMapping:r,hideIfHasSubot:o,customTargetings:l,onSuccess:s})=>{if(!n||!document.getElementById(n))return console.error("divId is required");Tl(n),window.googletag=window.googletag||{cmd:[]};const{googletag:c}=window;c.cmd.push((function(){const d=document.querySelector('meta[name="content_id"]'),m="string"==typeof e?e:null==d?void 0:d.content,p=c.defineSlot(t,a,n);if(p){try{l&&Object.keys(l).forEach((e=>{e&&(null==p||p.setTargeting(e,l[e]))}))}catch(e){console.error(e)}Bl[n]=p,p.setTargeting("Pos",i),p.addService(c.pubads()),m&&p.setTargeting("Content_ID",m),r&&p.defineSizeMapping(r),o&&document.getElementById("subot--container")&&p.setTargeting("chatbot",!0),c.display(n),null==s||s()}}))})({contentId:d,adUnitPath:r,size:o,divId:l,pos:s,sizeMapping:c,hideIfHasSubot:p,customTargetings:g,onSuccess:A})}),[m]),z)return null;const L=e.createElement("div",{style:{position:"relative",width:"fit-content",height:"fit-content",overflow:"hidden",maxWidth:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},e.createElement("div",{ref:S,id:l}),y&&e.createElement(Nl,{onClick:()=>{null==x||x(),_(!0)}}));if(h)return L;const P=f?f[0]:o?Array.isArray(o[0])?o[0][0]:o[0]:void 0,$=f?f[1]:o?Array.isArray(o[0])?o[0][1]:o[1]:void 0;return e.createElement(de,Object.assign({},E,{className:n}),e.createElement(Cl,{ref:T,className:n,style:b,"data-no-wrapper":!!v,"data-header-bottom":!!w},v?L:e.createElement(e.Fragment,null,e.createElement(Sl,{"data-header-bottom":!!w},e.createElement("img",{src:C?oe.getAssetPath("adsIcon-mb.svg"):oe.getAssetPath("adsIcon.svg"),alt:"",loading:"lazy"}),e.createElement("span",null,B("adBanner.title"))),e.createElement("div",{style:{minWidth:P||"100%",minHeight:$||"100%",position:"relative"}},L))))})),((e,t)=>e.adUnitPath===t.adUnitPath&&e.divId===t.divId&&e.className===t.className)),zl=({className:n,adUnitPath:r,divId:o,isMobile:l,contentId:s,customTargetings:c,locale:d,isMarryBaby:m})=>{const[p,h]=t(!0),[u,g]=t(!1),[b,f]=t(!0),v=a(null),y=a(zt()),x=a(null),w=a(),E=a();return i((()=>{const e=()=>{E.current&&clearTimeout(E.current),E.current=setTimeout((()=>{var t;document.getElementById("subot--container")?h(!0):(h(!1),(null===(t=v.current)||void 0===t?void 0:t.clientHeight)?f(!1):f(!0)),e()}),4e3)};return e(),()=>{w.current&&clearTimeout(w.current),E.current&&clearTimeout(E.current)}}),[]),p||u?null:e.createElement(kl,{key:l?"mobile":"desktop",ref:x,className:n,"data-visible":!b},r&&e.createElement(Il,{wrapperProps:{m:0},ref:v,adUnitPath:r,size:l?[[320,50],[320,100]]:[728,90],divId:(o||"div-gpt-ad-sticky")+(l?"-mobile":"")+s+String(y.current),pos:["Sticky"],contentId:s,hideIfHasSubot:l,customTargetings:c,adDefaultSize:l?[320,50]:[728,90],showCloseBtn:!0,onCloseAd:()=>g(!0),refreshInterval:60,locale:d,isMarryBaby:m}))},_l=[{title:"Health News & Current Affairs",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:oe.getAssetPath("newsletter-prefer/newsletter-health.svg"),checked:!1,id:1},{title:"Educational Medical Hello Bacsi Content",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:oe.getAssetPath("newsletter-prefer/newsletter-education.svg"),checked:!1,id:2},{title:"Hello Health Community Feed",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:oe.getAssetPath("newsletter-prefer/newsletter-community.svg"),checked:!1,id:3}];var Al;!function(e){e.DUE_DATE="due-date-calculator",e.BMI="bmi",e.BMR="bmr",e.OVULATION="ovulation",e.IFRAME="IFRAME",e.PWG="pregnancy-weight-gain",e.THR="heart-rate",e.BABY_VACCINE="vaccination-tool",e.BABY_GROWTH="baby-growth-tracking",e.BABY_POOP="baby-poop-checking"}(Al||(Al={}));const Ll={DUE_DATE:Al.DUE_DATE,BMI:Al.BMI,BMR:Al.BMR,OVULATION:Al.OVULATION,IFRAME:Al.IFRAME,PWG:Al.PWG,THR:Al.THR,BABY_VACCINE:Al.BABY_VACCINE,BABY_GROWTH:Al.BABY_GROWTH,BABY_POOP:Al.BABY_POOP},Pl={[Ll.DUE_DATE]:oe.getAssetPath("health-tools/due-date-icon.svg")};var $l,Ml,Ol,jl;!function(e){e.Pregnant="pregnant",e.Parenting="parenting"}($l||($l={})),function(e){e.Option="option"}(Ml||(Ml={})),function(e){e.Button="button",e.Checkbox="checkbox"}(Ol||(Ol={})),function(e){e.ShowTool="showTool",e.ShowPremiumModal="showPremiumModal",e.ShowOptionBanner="showOptionBanner",e.Hide="hide"}(jl||(jl={}));const Fl={pregnancy:$l.Pregnant,parenting:$l.Parenting},Hl={[$l.Pregnant]:"pregnant",[$l.Parenting]:"parent"},Rl=e=>({[Ll.DUE_DATE]:{heading:e("pnBanner.dueDateTool.heading"),description:e("pnBanner.dueDateTool.desc"),btnLabel:e("pnBanner.caclNow"),value:Ll.DUE_DATE,dataEventAction:"Try our Due Date Calculator Click"},[Ll.BABY_VACCINE]:{heading:e("pnBanner.vaccination.heading"),description:e("pnBanner.vaccination.desc"),btnLabel:e("pnBanner.caclNow"),value:Ll.BABY_VACCINE,dataEventAction:"Try our Baby Vaccine Scheduler Click"},[Ll.BABY_GROWTH]:{heading:"Baby Growth",description:e("pnBanner.vaccination.desc"),btnLabel:e("pnBanner.caclNow"),value:Ll.BABY_GROWTH},[ne.HPV]:{heading:e("pnBanner.hpv.heading"),description:e("pnBanner.hpv.desc"),thumbnail:{desktop:oe.getAssetPath("newsletter/banner-option-hpv-desktop.png"),mobile:oe.getAssetPath("newsletter/banner-option-hpv-mobile.png")},isRiskScreener:!0,btnLabel:e("pnBanner.checkNow"),value:ne.HPV,hideDescOnMobile:!0,dataEventAction:"Keep safe from HPV virus Click"}}),Ul=d({}),Vl=t=>{var a=se(t,[]);const{locale:n}=K(),{type:i,isMobile:r,currentUrl:o,isMarketing:l,isLoggedIn:s,setShouldAcquisitionModalOpen:c}=m(Ul);return e.createElement(ye,Object.assign({mih:{base:144,md:160},fluid:!0,p:0,sx:{borderRadius:4,cursor:"pointer"},onClick:()=>ce(void 0,void 0,void 0,(function*(){const e=l?_t(n)+"/dang-ky-nhan-tin/":`${window.location.href}?source=acquisition`;s?null==c||c():window.location.href=`${At(n)}/?returnUrl=${encodeURIComponent(e)}`})),"data-event-category":"Newsletter","data-event-action":"Banner Click","data-event-label":o,className:"pointer-event-child-none"},a),e.createElement(Me,{src:l?oe.getAssetPath(`newsletter/${r?"Mobile":"Desktop"}_Marketing.png`):oe.getAssetPath(`newsletter/${r?"Mobile":"Desktop"}_${i}.png`),style:{maxWidth:"100%"},alt:"newsletter banner"}))},Wl="api/v1/categories?site={website_url}",Gl="api/v1/subscription?site={website_url}",ql="api/v1/categories?site={website_url}";var Zl=be((e=>({root:{},wrapper:{[e.fn.smallerThan("sm")]:{width:"70%"}},button:{[e.fn.smallerThan("sm")]:{height:"auto",minHeight:he(32),padding:`${he(6)} ${he(16)}`,textAlign:"center",width:"100%"}},buttonLabel:{whiteSpace:"normal"}})));const Yl=({heading:t,description:a,thumbnail:n={desktop:"",mobile:""},hideDescOnMobile:i,children:r})=>{const{isMobile:o,minHeight:l}=m(Ul);return e.createElement(de,{sx:()=>({borderRadius:he(8),background:"linear-gradient(180deg, #FAFDFF 0%, #E3F2FF 100%)"})},e.createElement(de,{sx:e=>({minHeight:he(l),borderRadius:"inherit",background:`url(${o?n.mobile:n.desktop})`,backgroundPosition:"center right",backgroundRepeat:"no-repeat",backgroundSize:"contain",padding:`${he(24)} ${he(16)}`,display:"flex",flexDirection:"column",justifyContent:"center",[e.fn.largerThan("sm")]:{padding:`${he(22)} ${he(32)}`}})},e.createElement(xe,{spacing:he(16)},e.createElement(xe,{spacing:he(4),sx:e=>({maxWidth:"60%",[e.fn.largerThan("sm")]:{maxWidth:"70%"}})},t&&e.createElement(A,{tag:"h4"},t),!(i&&o)&&a&&e.createElement(p,{size:"p4"},a)),e.createElement(de,null,r))))},Xl=t=>{const{styleType:a=Ol.Button,items:i=[],buttonProps:r,styles:o,submitBtnTracking:s}=t,{classes:c}=Zl(void 0,{name:"PremiumBannerWithOptions",styles:o}),{t:d,locale:p}=K(),{surveyType:u,articleId:g,handleClickOption:b,hasPremiumBanner:f,source:v,isMobile:y,setShowPNModal:x}=m(Ul),w=n((()=>f?i:i.filter((e=>!Boolean(e.isPNBtn))).filter(Boolean)),[i]),{getHealthToolLink:E}=yt(p),k=Lt({initialValues:{bannerOptions:[]}}),C=e=>ce(void 0,void 0,void 0,(function*(){return yield F(H(R.HEALTH_TOOL.CREATE,{_locale:p,type:Hl[u]}),"POST",{headers:{"Content-Type":"application/json"},data:{value:e,article:g,source:v}})})),S=l((()=>e.createElement(pe,{gap:he(8),className:c.wrapper},w.map(((t,a)=>e.createElement(de,{key:String(a),component:t.isLink?"a":"div",href:t.isRiskScreener?`https://${Q[p]}/bot/${ie[p][t.activeTool]}/`:t.isLink?E(t.activeTool):void 0},e.createElement(Pe,Object.assign({className:c.button,classNames:{label:c.buttonLabel},size:"sm"},t.tracking,r,{onClick:()=>{t.isLink||(t.isPNBtn&&x(!0),C(t.value),b(t.value))}}),t.label)))))),[w,k]),N=l((()=>e.createElement(pe,null,e.createElement(pe,{align:"center",gap:he(24),sx:e=>({background:"white",borderRadius:he(8),padding:he(4),[e.fn.largerThan("sm")]:{paddingLeft:he(16)}})},e.createElement(Oe.Group,Object.assign({},k.getInputProps("bannerOptions",{type:"checkbox"})),e.createElement(pe,{gap:he(16)},w.map(((t,a)=>e.createElement(Oe,{key:String(a),value:t.value,label:t.label,styles:{label:{cursor:"pointer"}}}))))),e.createElement(Pe,Object.assign({size:"sm"},s,r,{disabled:0===k.getInputProps("bannerOptions").value.length,leftIcon:y?e.createElement(h.ArrowRightTail,{size:18,useCurrentColor:!0}):void 0,onClick:()=>{const e=k.getInputProps("bannerOptions").value;C(e.join("|")),b(e.join("|"))},styles:e=>({root:{[e.fn.smallerThan("sm")]:{width:he(38),minWidth:"auto",padding:0}}})}),!y&&d("pnBanner.submit"))))),[w,k]);return e.createElement(Yl,Object.assign({},t),a===Ol.Button?S():a===Ol.Checkbox?N():null)},Kl=t=>{var a,i;const{t:r}=K(),{heading:o,description:l,thumbnail:s,btnLabel:c,value:d,isRiskScreener:h,hideDescOnMobile:u,dataEventAction:g}=t,{locale:b}=K(),{isMobile:f}=m(Ul),{getHealthToolLink:v,allTools:y}=yt(b),x=h?"mainBanner":"toolBanner",w=n((()=>{const t=h?`https://${J?"":"discover."}${Q[b]}/bot/${ie[b][d]}`:v(d);return e.createElement("a",{href:t},e.createElement(Pe,{size:"sm","data-event-category":"Focused Audience","data-event-action":g,"data-event-label":t},c||r("pnBanner.caclNow")))}),[y]);return"mainBanner"===x?e.createElement(Yl,Object.assign({},Object.assign(Object.assign({},t),{thumbnail:t.thumbnail})),w):e.createElement(pe,{gap:he(7),align:"center",justify:"space-between",sx:e=>({borderRadius:he(8),background:e.colors.blue[0],minHeight:he(180),padding:`${he(24)} ${he(16)}`,[e.fn.largerThan("sm")]:{padding:`${he(34)} ${he(32)}`}})},e.createElement(xe,{spacing:he(12)},e.createElement(xe,{spacing:he(4)},o&&e.createElement(A,{tag:"h4"},o),!(f&&u)&&l&&e.createElement(p,{size:"p4"},l)),e.createElement(pe,{gap:he(8),sx:{button:{minWidth:he(120)}}},w)),e.createElement(pe,{align:"center",justify:"center",sx:e=>({width:he(96),height:he(96),borderRadius:"50%",background:"white",flexShrink:0,[e.fn.largerThan("sm")]:{width:he(112),height:he(112)},img:{maxWidth:he(64),[e.fn.largerThan("sm")]:{maxWidth:he(73)}}})},e.createElement("img",{alt:"health-tool-icon",src:s||(null===(i=null===(a=y.filter((e=>e.template===d)))||void 0===a?void 0:a[0])||void 0===i?void 0:i.icon)||Pl[d]||"",loading:"lazy"})))},Jl=()=>{var t,a,n;const{t:i}=K(),{state:r,Outside:o}=m(Ul);return(null==r?void 0:r.action)===jl.ShowTool?e.createElement(o,null,Rl(i)[null===(t=null==r?void 0:r.props)||void 0===t?void 0:t.value]?e.createElement(Kl,Object.assign({},Rl(i)[null===(a=null==r?void 0:r.props)||void 0===a?void 0:a.value],{value:null===(n=null==r?void 0:r.props)||void 0===n?void 0:n.value})):null):(null==r?void 0:r.action)===jl.ShowOptionBanner?e.createElement(o,null,e.createElement(Xl,Object.assign({},null==r?void 0:r.props))):null},Ql=a=>{var{isMobile:n,children:i,desktopBanner:r=oe.getAssetPath("friso/onboarding-banner.jpg"),mobileBanner:o=oe.getAssetPath("friso/onboarding-banner-mobile.jpg"),modalRatio:l={width:937,height:536},mobileBannerRatio:s={width:750,height:480},desktopBannerRatio:c={width:420,height:536},closeProps:d}=a,m=se(a,["isMobile","children","desktopBanner","mobileBanner","modalRatio","mobileBannerRatio","desktopBannerRatio","closeProps"]);const{width:p,height:u}=qe(),g=(u<=667?190:265)+p*s.height/s.width+74,[b,f]=t(!1);return e.createElement($t,Object.assign({styles:e=>({content:{flex:"auto",background:"transparent",[e.fn.smallerThan("sm")]:{maxHeight:"100%",height:"100%",position:"relative",borderRadius:0},[e.fn.largerThan("sm")]:{maxWidth:he(l.width),width:"100%",height:"100%",maxHeight:he(l.height),boxShadow:"none"}},body:{padding:0,width:"100%",height:"100%",[e.fn.largerThan("sm")]:{display:"flex",alignItems:"center"}},inner:{padding:0,[e.fn.smallerThan("sm")]:{display:"flex",alignItems:"flex-end"}}})},m),n?e.createElement(de,{sx:{position:"relative",height:"100%"},onTouchStart:()=>f(!0)},e.createElement(de,{className:"mobile-template",sx:{position:"absolute",height:100*(b?1:g/u)+"%",left:0,bottom:0,right:0,transition:"height 0.4s ease"}},e.createElement(de,{sx:{height:"100%",backgroundColor:"white",borderTopLeftRadius:b?0:he(12),borderTopRightRadius:b?0:he(12)}},e.createElement(de,{sx:{height:"calc(100% - 74px)",background:`url(${o})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"top center",overflowY:"auto",borderRadius:"inherit"}},e.createElement(we,Object.assign({leftIcon:e.createElement(h.Close,null),sx:{position:"absolute",right:0,top:0,zIndex:1,padding:he(10)}},d,{onClick:()=>null==m?void 0:m.onClose()})),e.createElement(Ee,{ratio:(null==s?void 0:s.width)/(null==s?void 0:s.height),w:"100%"}),e.createElement(de,{sx:{padding:`${he(28)} ${he(16)} ${he(16)}`,background:"white"}},i))))):e.createElement(Ee,{className:"desktop-template",ratio:l.width/l.height,w:"100%",sx:{position:"relative","& > div":{justifyContent:"flex-end"}}},e.createElement(de,{sx:{width:"100%",height:"100%",justifyContent:"flex-end",alignItems:"stretch",borderRadius:he(8),background:"white",boxShadow:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 2.25rem 1.75rem -0.4375rem, rgba(0, 0, 0, 0.04) 0 1.0625rem 1.0625rem -0.4375rem"}},e.createElement("img",{alt:"",src:r,loading:"lazy",style:{borderTopLeftRadius:he(8),borderBottomLeftRadius:he(8),height:"100%",display:"block"}}),e.createElement(de,{sx:{position:"relative",height:"100%",width:(l.width-c.width)/l.width*100+"%"}},e.createElement(Pe,Object.assign({unstyled:!0,leftIcon:e.createElement(h.Close,null)},d,{onClick:()=>null==m?void 0:m.onClose(),sx:{position:"absolute",right:0,top:"10px"}})),e.createElement(de,{className:"side-banner-modal-container",sx:{height:"100%",padding:`${he(40)} ${he(24)} 0`}},i)))))},es="user/subscription",ts=d({}),as=t=>{var{value:a,name:n}=t,i=se(t,["value","name"]);return e.createElement(je,Object.assign({value:a,withIcon:!0},i,{buttonProps:{styles:()=>({leftIcon:{marginRight:he(6)},root:{paddingLeft:he(10),paddingRight:he(10)}})}}),n)},ns=({topicsGroup:a,onTopicChange:n,isBlock:r=!1,selectedTopics:o=[],inputProps:l,labelProps:s,maxSelect:c=5,hasScroll:d,readonly:h})=>{const{action:{pushNotifications:u}}=m(U),g=Ot(a.map((e=>e.topics||[]))),{t:b}=K(),[f,v]=t([]);i((()=>{v(o)}),[o.length]),i((()=>{null==n||n(f)}),[f]);const y=e=>{e.length>5?u({type:"danger",title:b("pnTopicSection.maxSelectError.title",{maxSelect:c}),message:b("pnTopicSection.maxSelectError.desc")}):!h&&v((()=>g.filter((t=>e.some((e=>t.catId===e))))))};return e.createElement(xe,{spacing:12},a.map(((t,a)=>e.createElement(xe,{key:String(a),spacing:12},t.label&&e.createElement(p,Object.assign({size:"s5",color:"gray.4",weight:"semiBold"},s),t.label),d?e.createElement(ke,{w:"100%",offsetScrollbars:!0,scrollbarSize:4,p:16,m:-16,styles:{viewport:{margin:-16,padding:16}}},e.createElement(de,{w:800},e.createElement(Ce.Group,Object.assign({value:f.map((e=>e.catId)),multiple:!0},l,{onChange:y}),e.createElement(pe,{gap:8,wrap:"wrap"},t.topics.map((a=>e.createElement(as,Object.assign({key:a.catId,value:a.catId,name:a.localName,isBlock:r},t.tracking)))))))):e.createElement(Ce.Group,Object.assign({value:f.map((e=>e.catId)),multiple:!0},l,{onChange:y}),e.createElement(pe,{gap:8,wrap:"wrap"},t.topics.map((a=>a.catId?e.createElement(as,Object.assign({key:a.catId,value:a.catId,name:a.localName,isBlock:r},t.tracking)):e.isValidElement(a.component)?a.component:null))))))))},is=t=>{var{heading:a,children:n,stickyActions:i}=t,r=se(t,["heading","children","stickyActions"]);const{isMobile:o}=m(ts),l=e.createElement(xe,{spacing:he(24),sx:{height:"100%"}},e.createElement(A,{tag:"h4",style:{textAlign:"center"}},a),e.createElement(de,null,n));return e.createElement(de,{sx:e=>({[e.fn.largerThan("sm")]:{position:"relative",height:"100%"}})},o?l:e.createElement(ke,Object.assign({className:"layout-body",h:i?"calc(100% - 90px)":"100%"},r),l),i&&e.createElement(pe,{gap:he(8),sx:e=>({position:"absolute",left:0,right:0,bottom:0,padding:he(16),button:{flexGrow:1},justifyContent:"center",[e.fn.largerThan("sm")]:{padding:`${he(24)} 0`}})},i))},rs=()=>{const{t:a,locale:r}=K(),{data:{userInfo:o},action:{pushNotifications:l}}=m(U),s=null==o?void 0:o.id,{currentUrl:c,isMobile:d,pnSuggestCategory:u=[],nextStep:g,formValues:b,setFormValues:f,onSubmit:v,submitLoading:y,selectCategory:x,setCategoryLibs:w,setSelectCategory:E,maxSelectCategory:k}=m(ts),C=u.map((e=>e.catId)),S=Lt({validate:{name:Pt(a("healthToolPNModal.mainForm.requireName"))},initialValues:Object.assign(Object.assign({},b),{fitnessTopics:C})}),[N,B]=t([]),[T,D]=t([]);i((()=>{ce(void 0,void 0,void 0,(function*(){var e;try{const t=yield F(V(ql,{_locale:r}),"get"),a=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.subscription)||[]).filter((e=>!C.includes(e.catId)));B(u),D(a),w([...u,...a])}catch(e){console.log(e)}}))}),[]),i((()=>{s&&S.setFieldValue("name",(null==o?void 0:o.name)||"")}),[s]);const I=()=>{""!==S.getInputProps("name").value?(f(S.getTransformedValues()),g()):S.validateField("name")},z=n((()=>e.createElement(Pe,{variant:"tertiary",dataEventCategory:"Newsletter",dataEventAction:"More Category Click",dataEventLabel:c,leftIcon:e.createElement(h.Plus,{size:16,color:"#262626",useCurrentColor:!0}),onClick:I,styles:e=>({root:{borderRadius:he(6),padding:"2px 15px",height:he(40)},label:{fontSize:he(14),fontWeight:400,[e.fn.smallerThan("sm")]:{fontSize:he(12),lineHeight:he(16),height:he(40)}},leftIcon:{marginRight:"5px"}})},e.createElement(p,{size:d?"p3":"p4"},a("home.seeMore")))),[S]);return i((()=>{S.setFieldValue("fitnessTopics",x.map((e=>e.catId)))}),[x]),e.createElement("form",{style:{height:"100%"},onSubmit:S.onSubmit((e=>{if(0===x.length)return l({type:"danger",title:a("newsletter.error.minTitle"),message:a("newsletter.error.minCotennt")}),!1;f(e),null==v||v(e.name)}))},e.createElement(is,{heading:a("healthToolPNModal.heading"),stickyActions:e.createElement(e.Fragment,null,e.createElement(Pe,{fullWidth:!0,type:"submit",dataEventCategory:"Newsletter",dataEventAction:"Register Click",dataEventLabel:c,loading:y,sx:{maxWidth:he(240)}},a("healthToolPNModal.register")))},e.createElement(xe,{spacing:he(16)},e.createElement($e,Object.assign({label:a("newsletter.welcome.description")},S.getInputProps("name"))),e.createElement(ns,{topicsGroup:[...0===u.length&&0===T.length?[{topics:[{component:z}]}]:[],...u.length>0?[{label:a("healthToolPNModal.mainForm.tailorTopicsHeading"),topics:[...u,...0===T.length?[{component:z}]:[]]}]:[],...T.length>0?[{label:a("healthToolPNModal.findMore.chooseFav"),topics:[...T,...T.length>0?[{component:z}]:[]]}]:[]],selectedTopics:[...N],labelProps:{size:d?"p3":"p4",color:"gray.6"},onTopicChange:E,maxSelect:k}))))},os=c((function(t,a){var{label:n}=t,i=se(t,["label"]);return e.createElement("div",Object.assign({ref:a},i),e.createElement(ge,{noWrap:!0},e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72615 14.8099 11.1702 14.2653 12.3086 13.3547L15.2376 16.2837C15.5264 16.5725 15.9946 16.5725 16.2833 16.2837C16.5721 15.9949 16.5721 15.5267 16.2833 15.238L13.3544 12.3091C14.2652 11.1705 14.8099 9.72634 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"#8C8C8C"})),e.createElement(p,{size:"p3"},n)))})),ls=c((function(t,a){var{label:n}=t,i=se(t,["label"]);return e.createElement("div",Object.assign({ref:a},i),e.createElement(p,{size:"p3"},n))})),ss=({history:t,onDelete:a})=>e.createElement(pe,{wrap:"wrap",gap:8},jt(t,"catId").map((t=>e.createElement(Se,{key:t.catId,rightSection:e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",onClick:()=>null==a?void 0:a(t)},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 9C1.5 4.8525 4.8525 1.5 9 1.5C13.1475 1.5 16.5 4.8525 16.5 9C16.5 13.1475 13.1475 16.5 9 16.5C4.8525 16.5 1.5 13.1475 1.5 9ZM11.1677 12.2248C11.4602 12.5173 11.9327 12.5173 12.2252 12.2248C12.5101 11.9323 12.5101 11.4523 12.2252 11.1673L10.0577 8.99979L12.2252 6.83229C12.5177 6.53979 12.5177 6.0673 12.2252 5.7748C11.9327 5.4823 11.4602 5.4823 11.1677 5.7748L9.00015 7.9423L6.83265 5.7748C6.54015 5.4823 6.06765 5.4823 5.77515 5.7748C5.63471 5.91492 5.55579 6.10516 5.55579 6.30354C5.55579 6.50193 5.63471 6.69217 5.77515 6.83229L7.94265 8.99979L5.77515 11.1673C5.63471 11.3074 5.55579 11.4977 5.55579 11.696C5.55579 11.8944 5.63471 12.0847 5.77515 12.2248C6.06765 12.5173 6.54015 12.5173 6.83265 12.2248L9.00015 10.0573L11.1677 12.2248Z",fill:"#8C8C8C"})),styles:{root:{height:32,background:"#ffffff",padding:"5px 12px",border:`1px solid ${Fe.neutral[4]}`,borderRadius:32,textTransform:"unset"},rightSection:{height:18,cursor:"pointer"}}},e.createElement(p,{size:"p4"},t.localName))))),cs=({topics:a,onTopicChange:n,isBlock:r=!1,selectedTopics:o,labelProps:l,maxSelect:s=5})=>{const{action:{pushNotifications:c}}=m(U),[d,h]=t([]),{t:u}=K();i((()=>{h(o)}),[o.length]),i((()=>{n(d)}),[d]);return a&&0!==a.length?e.createElement(xe,{spacing:12,px:16,mx:-16},e.createElement(p,Object.assign({size:"s5",color:"gray.4",weight:"semiBold"},l),u("pnTopicSection.recentView")),e.createElement(Ce.Group,{value:d.map((e=>e.catId)),onChange:e=>{r&&d.length<e.length?c({type:"danger",title:u("pnTopicSection.maxSelectError.title",{maxSelect:s}),message:u("pnTopicSection.maxSelectError.desc")}):h((()=>a.filter((t=>e.some((e=>t.catId===e))))))},multiple:!0},e.createElement(pe,{gap:8,wrap:"wrap"},a.map(((t,a)=>e.createElement(as,{key:a,value:t.catId,name:t.localName,isBlock:r})))))):null},ds=t=>{var{topic:a,active:n,onClick:i}=t,r=se(t,["topic","active","onClick"]);return e.createElement(de,Object.assign({sx:e=>({position:"relative",cursor:"pointer",padding:2,borderRadius:8,boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04)",minHeight:he(130),[e.fn.largerThan("sm")]:{minHeight:he(138)}}),onClick:()=>i(a,n)},r),n&&e.createElement(de,{id:"test",sx:{position:"absolute",top:2,right:2,width:20,height:20,zIndex:1}},e.createElement("svg",{id:"test",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66699 9.99984C1.66699 5.39984 5.40033 1.6665 10.0003 1.6665C14.6003 1.6665 18.3337 5.39984 18.3337 9.99984C18.3337 14.5998 14.6003 18.3332 10.0003 18.3332C5.40033 18.3332 1.66699 14.5998 1.66699 9.99984ZM4.75066 10.5827L7.74232 13.5744C8.06732 13.8994 8.60066 13.8994 8.91732 13.5744L15.2423 7.2494C15.5673 6.9244 15.5673 6.3994 15.2423 6.0744C14.9173 5.7494 14.3923 5.7494 14.0673 6.0744L8.33399 11.8077L5.92566 9.40773C5.60066 9.08273 5.07566 9.08273 4.75066 9.40773C4.59461 9.56342 4.50692 9.7748 4.50692 9.99523C4.50692 10.2157 4.59461 10.427 4.75066 10.5827Z",fill:"#2D87F3"}),e.createElement("path",{d:"M7.74224 13.5772L4.75057 10.5856C4.59453 10.4299 4.50684 10.2185 4.50684 9.99808C4.50684 9.77765 4.59453 9.56627 4.75057 9.41058C5.07557 9.08558 5.60057 9.08558 5.92557 9.41058L8.33391 11.8106L14.0672 6.07725C14.3922 5.75225 14.9172 5.75225 15.2422 6.07725C15.5672 6.40225 15.5672 6.92725 15.2422 7.25225L8.91724 13.5772C8.60057 13.9022 8.06724 13.9022 7.74224 13.5772Z",fill:"white"}))),e.createElement(de,{sx:{borderRadius:"8px"}},e.createElement(_e,{ratio:1.5,mb:10,sx:e=>({background:e.colors.neutral[0]})},e.createElement(de,null,e.createElement("img",{src:a.guid||"",alt:"cat",loading:"lazy",style:{maxHeight:"63px"}})))),e.createElement(p,{size:"p4",ta:"center",px:6,sx:{display:"-webkit-box","-webkit-line-clamp":"2","-webkit-box-orient":"vertical",overflow:"hidden"}},a.localName||""))},ms=({topics:n,selectedTopics:r=[],onTopicChange:o,isBlock:l=!1,labelProps:s,pushNotifications:c,maxSelect:d=5})=>{const{t:m}=K(),[h,u]=t([]),g=(e,t)=>{if(t)u((t=>t.filter((t=>t.catId!==e.catId))));else{if(l)return void c({type:"danger",title:m("pnTopicSection.maxSelectError.title",{maxSelect:d}),message:m("pnTopicSection.maxSelectError.desc")});u((t=>[...t,e]))}};i((()=>{u(r)}),[r.length]),i((()=>{o(h)}),[h]);const[b,f]=t(!1),[v,y]=t(0),[x,w]=t(0),E=a(null),k=()=>{f(!1)};return e.createElement(xe,{spacing:10},e.createElement(pe,{justify:"space-between",align:"center",w:"100%"},e.createElement(p,Object.assign({size:"s5",color:"gray.4",weight:"semiBold",span:!0},s),m("pnTopicSection.trending"))),e.createElement(de,null,e.createElement(ke,{type:"always",w:"100%",offsetScrollbars:!0,scrollbarSize:4,px:4,viewportRef:E,viewportProps:{onMouseDown:e=>{e.preventDefault(),E.current&&(f(!0),y(e.pageX-E.current.offsetLeft),w(E.current.scrollLeft))},onMouseUp:k,onMouseLeave:k,onMouseMove:e=>{if(e.preventDefault(),!b||!E.current)return;const t=2*(e.pageX-E.current.offsetLeft-v);E.current.scrollLeft=x-t}},styles:{viewport:{paddingBottom:16}}},e.createElement(de,{w:{base:112*n.length+8*(n.length-1)+10}},e.createElement(pe,{gap:8},n.map(((t,a)=>e.createElement(ds,{key:a,topic:t,onClick:g,active:h.some((e=>e.catId===t.catId)),w:{base:112}}))))))))},ps=r=>{var{isLoggedIn:o,maxSelect:l=5,values:s=[],labelProps:c,onChange:d}=r,h=se(r,["isLoggedIn","maxSelect","values","labelProps","onChange"]);const{action:{pushNotifications:u}}=m(U),[g,b]=t(""),{t:f,locale:v}=K(),y=a(null),[x,w]=t([]),[E,k]=t([]),[C,S]=t([]),[N,B]=t([]),[T,D]=t(null),[I,z]=t([]);i((()=>{ce(void 0,void 0,void 0,(function*(){var e,t;const a=yield F(V(Wl,{_locale:v}),"get"),n=(null===(e=null==a?void 0:a.data)||void 0===e?void 0:e.interested)||[],i=(null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.trending)||[],r=jt([...n,...i],"catId").map((e=>Object.assign(Object.assign({},e),{value:e.catId||"",label:e.localName||""})));if(z(r||[]),D((null==a?void 0:a.data)||null),s.length>0){const e=n.filter((e=>s.includes(e.catId))).map((e=>Object.assign(Object.assign({},e),{template:"interested"}))),t=i.filter((e=>s.includes(e.catId))).map((e=>Object.assign(Object.assign({},e),{template:"trending"})));B(e),k(t)}}))}),[o]);const _=n((()=>jt([...x,...E,...N,...C],"catId")),[x,E,N,C]),[A,L]=t(!1);i((()=>{_.length>=l?L(!0):L(!1),null==d||d(_)}),[_]);return e.createElement(xe,Object.assign({spacing:he(16)},h),e.createElement(xe,{spacing:he(8)},e.createElement(p,{size:"p3"},f("pnTopicSection.maxSelectError.detail",{max:l,maxTopic:_.length})),e.createElement(Ne,{ref:y,maxSelectedValues:3,styles:{wrapper:{overflow:"initial !important"},separator:{padding:16},separatorLabel:{fontWeight:600,fontSize:12,lineHeight:"18px",textTransform:"uppercase",color:Fe.gray[4],"&::after":{display:"none"}},searchInput:{fontSize:"inherit"},input:{paddingRight:16}},nothingFound:e.createElement(p,{size:"s4",color:"gray.6"},f("pnTopicSection.notFound")),itemComponent:""===g?os:ls,size:"lg",placeholder:f("pnTopicSection.plsEnterFavTopics"),data:I,onSearchChange:b,searchValue:g,icon:e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9682 19.7465 14.8936 19.0205 16.4115 17.8063L20.3168 21.7116C20.7018 22.0966 21.3261 22.0966 21.7111 21.7116C22.0961 21.3266 22.0961 20.7023 21.7111 20.3173L17.8059 16.4121C19.0203 14.894 19.7465 12.9684 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#595959"})),rightSection:e.createElement(e.Fragment,null),zIndex:500,searchable:!0,withinPortal:!0,onChange:e=>{return t=e,ce(void 0,void 0,void 0,(function*(){var e;const a={trending:k,recently:S,interested:B,default:w};let n="default";if(A)u({type:"danger",title:f("pnTopicSection.maxSelectError.title",{maxSelect:l}),message:f("pnTopicSection.maxSelectError.desc")});else{const i=[{key:"trending",array:null==T?void 0:T.trending},{key:"recently",array:null==T?void 0:T.recently},{key:"interested",array:null==T?void 0:T.interested}].find((e=>{var a;return null===(a=e.array)||void 0===a?void 0:a.some((e=>e.catId===t[0]))}));n=(null==i?void 0:i.key)||"default",a[n]((e=>[...e,...I.filter((e=>t.some((t=>e.catId===t))))].map((e=>Object.assign(Object.assign({},e),{template:n}))))),null===(e=y.current)||void 0===e||e.blur()}return null}));var t},value:[]}),_&&_.length>0&&e.createElement(ss,{history:_,onDelete:e=>{const t={trending:k,recently:S,interested:B,default:w};(t[e.template]||t.default)((t=>{const a=[...t],n=a.findIndex((t=>t.catId===e.catId));return a.splice(n,1),a}))}})),e.createElement(de,{sx:e=>({position:"relative",height:he(175),[e.fn.largerThan("sm")]:{height:he(190)}})},e.createElement(de,{sx:{position:"absolute",top:0,right:0,left:0}},e.createElement(ms,{topics:((null==T?void 0:T.trending)||[]).map((e=>Object.assign(Object.assign({},e),{template:"trending"}))),selectedTopics:E,onTopicChange:k,isBlock:A,labelProps:c}))),e.createElement(cs,{topics:((null==T?void 0:T.recently)||[]).map((e=>Object.assign(Object.assign({},e),{template:"recently"}))),selectedTopics:C,onTopicChange:S,isBlock:A,labelProps:c}),e.createElement(ns,{labelProps:c,topicsGroup:[{label:f("pnTopicSection.ppAlsoInterested"),topics:((null==T?void 0:T.interested)||[]).map((e=>Object.assign(Object.assign({},e),{template:"interested"})))}],selectedTopics:N,onTopicChange:B,isBlock:A}))},hs=()=>{const{t:t}=K(),{action:{pushNotifications:a}}=m(U),{prevStep:n,formValues:i,submitLoading:r,onSubmit:o,selectCategory:l,maxSelectCategory:s,setSelectCategory:c,currentUrl:d,isLoggedIn:p}=m(ts);return e.createElement(is,{heading:t("newsletter.topic.title"),type:"always",styles:{root:{paddingRight:he(25)}},stickyActions:e.createElement(e.Fragment,null,e.createElement(Pe,{fullWidth:!0,variant:"secondary",dataEventCategory:"Newsletter",dataEventAction:"Back Click",dataEventLabel:d,onClick:n},t("healthToolPNModal.back")),e.createElement(Pe,{fullWidth:!0,type:"submit",dataEventCategory:"Newsletter",dataEventAction:"Next Click",dataEventLabel:d,onClick:()=>{if(0===l.length)return a({type:"danger",title:t("newsletter.error.minTitle"),message:t("newsletter.error.minCotennt")}),!1;null==o||o(i.name)},loading:r},t("healthToolPNModal.next")))},e.createElement(ps,{isLoggedIn:p,maxSelect:s,values:i.fitnessTopics,onChange:c,labelProps:{size:"s5",sx:{textTransform:"uppercase"}}}))},us=()=>{const{t:t}=K(),{close:a,selectCategory:n,onRegisterSuccess:r,currentUrl:o,finishLabelOnResult:l,disclaimerText:s}=m(ts);return i((()=>()=>{setTimeout((()=>{null==r||r()}),400)}),[]),e.createElement(is,{heading:t("healthToolPNModal.heading"),stickyActions:e.createElement(Pe,{fullWidth:!0,sx:{maxWidth:he(300)},dataEventCategory:"Newsletter",dataEventAction:"Continue Reading Click",dataEventLabel:o,onClick:()=>{a()}},l||t("healthToolPNModal.finish"))},e.createElement(xe,null,e.createElement(pe,{gap:he(8),sx:e=>({background:e.colors.green[0],border:`1px solid ${e.colors.green[1]}`,borderRadius:he(8),padding:he(8)})},e.createElement(de,null,e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e.createElement("path",{d:"M9.99984 18.3334C14.6022 18.3334 18.3332 14.6025 18.3332 10.0001C18.3332 5.39771 14.6022 1.66675 9.99984 1.66675C5.39746 1.66675 1.6665 5.39771 1.6665 10.0001C1.6665 14.6025 5.39746 18.3334 9.99984 18.3334Z",fill:"#00B16A"}),e.createElement("path",{d:"M9.58558 12.6674C9.22944 12.668 8.87668 12.5983 8.54752 12.4623C8.21835 12.3264 7.91925 12.1268 7.66732 11.8751L6.68587 10.8931C6.55607 10.7587 6.48424 10.5787 6.48587 10.3919C6.48749 10.2051 6.56243 10.0263 6.69455 9.89422C6.82667 9.7621 7.00539 9.68716 7.19222 9.68554C7.37906 9.68391 7.55906 9.75574 7.69345 9.88554L8.67491 10.8675C8.79344 10.986 8.93415 11.08 9.08902 11.1442C9.24389 11.2083 9.40987 11.2413 9.5775 11.2413C9.74513 11.2413 9.91111 11.2083 10.066 11.1442C10.2208 11.08 10.3616 10.986 10.4801 10.8675L16.7033 5.24335C16.8443 5.12184 17.0272 5.06032 17.213 5.07195C17.3987 5.08358 17.5726 5.16744 17.6973 5.30558C17.8221 5.44373 17.8878 5.6252 17.8805 5.81118C17.8731 5.99717 17.7933 6.17291 17.6581 6.30081L11.4592 11.8998C11.2128 12.1448 10.9205 12.3387 10.5989 12.4705C10.2774 12.6022 9.93304 12.6692 9.58558 12.6674Z",fill:"white"}))),e.createElement(p,{size:"p3"},s||t("pnModal.disclaimer"))),e.createElement(A,{tag:"h5"},t("healthToolPNModal.yourPre")),n.length>0&&e.createElement(ns,{topicsGroup:[{label:"",topics:n}],selectedTopics:n,readonly:!0})))},gs=({isMobile:a,isLoggedIn:n,pnSuggestCategory:r=[],acquisitionInfo:o,currentUrl:s,opened:c,close:d,finishLabelOnResult:p,onRegisterSuccess:h,disclaimerText:u})=>{const{t:g,locale:b}=K(),{action:{pushNotifications:f}}=m(U),v=oe.getAssetPath("premiumNewsletter/side-banner-desktop.jpg"),y=oe.getAssetPath("premiumNewsletter/side-banner-mobile.jpg"),[x,w]=t([]),[E,k]=t([]),[C,S]=t(0),[N,B]=t({name:"",fitnessTopics:[]}),[T,D]=t(!1),I=()=>S(2),z=l((e=>ce(void 0,void 0,void 0,(function*(){try{D(!0),yield F(V(Gl,{website_url:W(b)}),"post",{headers:{"Content-Type":"application/json"},method:"POST",data:{ga_client_id:Mt.get(re),client_ip:window.clientIP||"",user_info:Object.assign(Object.assign({},o.userInfo),{name:e||N.name,type_subscription:1}),domain:Q[b||Re.Vietnam],category:E,perferred:o.preferredTopics.map((({id:e})=>({id:e})))}}),D(!1),yield F(G(es),"post",{headers:{"Content-Type":"application/json"},method:"PUT",data:{subscription:1}}),I()}catch(e){console.log({err:e}),D(!1),f({title:g("notification.comment.somethingWrong"),message:"",type:"danger"})}}))),[N,E]);return i((()=>{[v,y].forEach((e=>{(new Image).src=e}))}),[]),e.createElement(ts.Provider,{value:{currentUrl:s,isMobile:a,isLoggedIn:n,opened:c,close:d,pnSuggestCategory:r,nextStep:()=>S((e=>e<3?e+1:e)),prevStep:()=>S((e=>e>0?e-1:e)),lastStep:I,categoryLibs:x,setCategoryLibs:w,selectCategory:E,setSelectCategory:k,formValues:N,setFormValues:B,maxSelectCategory:5,submitLoading:T,onSubmit:z,onRegisterSuccess:h,finishLabelOnResult:p,disclaimerText:u}},e.createElement(Ql,{isMobile:a,desktopBanner:oe.getAssetPath("premiumNewsletter/side-banner-desktop.jpg"),mobileBanner:oe.getAssetPath("premiumNewsletter/side-banner-mobile.jpg"),modalRatio:{width:960,height:588},desktopBannerRatio:{width:384,height:588},opened:c,onClose:d,zIndex:305,closeProps:{dataEventCategory:"Newsletter",dataEventAction:"Close Click",dataEventLabel:s}},e.createElement(Be,{active:C,onStepClick:S,styles:{root:{height:"100%"},content:{padding:0,height:"100%",width:"100%"},steps:{display:"none"}}},e.createElement(Be.Step,null,e.createElement(rs,null)),e.createElement(Be.Step,null,e.createElement(hs,null)),e.createElement(Be.Step,null,e.createElement(us,null)))))},bs=()=>{const{locale:n}=K(),{isMobile:r,isLoggedIn:o,currentUrl:l,acquisitionInfo:s,categoryIds:c,state:d,setState:p,settings:h,submitHandler:u,subcribeHealthStatus:g,showPNModal:b,setShowPNModal:f,setIsBack:v}=m(Ul),[y,x]=t([]),[w,E]=t(b);i((()=>{ce(void 0,void 0,void 0,(function*(){var e,t;const a=yield F(V(Wl,{_locale:n}),"get"),i=[...(null===(e=null==a?void 0:a.data)||void 0===e?void 0:e.interested)||[],...(null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.trending)||[]];x(i.filter((e=>c.includes(Number(e.catId)))))}))}),[]);const k=a([]);return i((()=>{const e=(null==g?void 0:g.value)||"",t=e.split("|").filter(Boolean);let a=e;k.current.push(g),t.length>1&&(null!==k.current[0]&&v(!0),Object.keys(u).map((e=>{const n=e.split("|");if(t.length===n.length){let i=0;t.map((e=>{n.includes(String(e))&&(i+=1)})),i===t.length&&(a=e)}})));const n=t.length>0?u[a]:h;p(n)}),[g]),i((()=>{E(b)}),[b]),(null==d?void 0:d.action)!==jl.Hide?e.createElement(e.Fragment,null,e.createElement(Jl,Object.assign({},h.props)),e.createElement(gs,{acquisitionInfo:s,isMobile:r,isLoggedIn:o,currentUrl:l,pnSuggestCategory:y,opened:w,close:()=>{var e;E(!1),f(!1),setTimeout((()=>{var e;(null===(e=d.actionParams)||void 0===e?void 0:e.hideBannerWhenClose)&&p({action:jl.Hide})}),400),(null===(e=d.actionParams)||void 0===e?void 0:e.hideBannerWhenClose)&&p({action:jl.Hide})},onRegisterSuccess:()=>E(!1)})):null},fs=({type:a,articleId:r=0,categoryIds:o=[],isMarketing:l,isSurveyType:s,hasPremiumBanner:c,currentUrl:d,isMobile:p,subcribeHealthStatus:h,setShouldAcquisitionModalOpen:u,onValueChange:g,source:b="discover",Wrapper:f})=>{const{t:v}=K(),{data:{userInfo:y}}=m(U),x=Boolean(null==y?void 0:y.id),[w,E]=t(null),[k,C]=t(),[S,N]=t(""),[B,T]=t(!1),[D,I]=t(!1),z=n((()=>Fl[a]),[]),_=((e,t)=>({[$l.Pregnant]:{action:jl.ShowOptionBanner,props:{heading:e("pnBanner.pregnancy.heading"),description:e("pnBanner.pregnancy.desc"),styleType:Ol.Button,thumbnail:{desktop:oe.getAssetPath("newsletter/banner-option-pregnancy-desktop.png"),mobile:oe.getAssetPath("newsletter/banner-option-pregnancy-mobile.png")},buttonProps:{variant:"white",styles:e=>({minWidth:he(80),[e.fn.largerThan("sm")]:{minWidth:he(120)}})},items:[{label:e("switchBtn.yes"),value:"yes",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Are you navigating the world of pregnancy - Yes Click",dataEventLabel:t}},{label:e("switchBtn.no"),value:"no",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Are you navigating the world of pregnancy - No Click",dataEventLabel:t}}]},submitHandler:{yes:{action:jl.ShowTool,props:{value:Ll.DUE_DATE}},no:{action:jl.ShowPremiumModal}}},[$l.Parenting]:{action:jl.ShowOptionBanner,props:{heading:e("pnBanner.parenting.heading"),description:e("pnBanner.parenting.desc"),thumbnail:{desktop:oe.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:oe.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,styleType:Ol.Checkbox,items:[{label:e("pnBanner.toddlers"),value:"todders"},{label:e("pnBanner.teenager"),value:"teenager"}],submitBtnTracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the age range of your kids Click",dataEventLabel:t}},submitHandler:{todders:{action:jl.ShowTool,props:{value:Ll.BABY_VACCINE}},teenager:{action:jl.ShowOptionBanner,props:{styleType:Ol.Button,heading:e("pnBanner.teenager.heading"),description:e("pnBanner.parenting.desc"),thumbnail:{desktop:oe.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:oe.getAssetPath("newsletter/banner-option-parenting-mobile.png")},buttonProps:{variant:"white"},items:[{label:e("childCard.boy"),value:"teenager.boy",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the gender of your kids - Boy Click",dataEventLabel:t}},{label:e("childCard.girl"),value:"teenager.girl",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the gender of your kids - Girl Click",dataEventLabel:t}}]}},"teenager.boy":{action:jl.ShowPremiumModal},"teenager.girl":{action:jl.ShowTool,activeTool:ne.HPV,props:{value:ne.HPV}},"todders|teenager":{action:jl.ShowOptionBanner,props:{styleType:Ol.Button,heading:e("pnBanner.both.heading"),description:e("pnBanner.both.desc"),thumbnail:{desktop:oe.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:oe.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,buttonProps:{variant:"secondary"},styles:e=>({wrapper:{[e.fn.smallerThan("sm")]:{flexDirection:"column"}},button:{background:e.colors.blue[0]}}),items:[{label:e("pnBanner.vaccine.btnLabel"),activeTool:Ll.BABY_VACCINE,isLink:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Baby Vaccine Click",dataEventLabel:t}},{label:e("pnBanner.pn.btnLabel"),value:"todders|teenager.showPN",isPNBtn:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Premium Newsletter Click",dataEventLabel:t}}]}},"todders|teenager.showPN":{action:jl.ShowOptionBanner,props:{styleType:Ol.Button,heading:e("pnBanner.both.heading"),description:e("pnBanner.both.desc"),thumbnail:{desktop:oe.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:oe.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,buttonProps:{variant:"secondary"},styles:e=>({wrapper:{[e.fn.smallerThan("sm")]:{flexDirection:"column"}},button:{background:e.colors.blue[0]}}),items:[{label:e("pnBanner.vaccine.btnLabel"),activeTool:Ll.BABY_VACCINE,isLink:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Baby Vaccine Click",dataEventLabel:t}}]}}}}}))(v,d)[z],A=null==_?void 0:_.submitHandler,L=f||de,P=()=>c&&1!==(null==y?void 0:y.subscription)?e.createElement(Vl,null):null;return i((()=>{x&&E({userInfo:y,preferredTopics:_l,healthTopics:[]})}),[x]),e.createElement(Ul.Provider,{value:{settings:_,submitHandler:A,type:a,surveyType:z,value:S,setValue:N,isMobile:p,isLoggedIn:x,isMarketing:l,hasPremiumBanner:c,currentUrl:d,acquisitionInfo:w,categoryIds:o,subcribeHealthStatus:h,articleId:r,onValueChange:g,state:k,setState:C,handleClickOption:e=>{const t=(e=>{let t="";const a=e.split("|");return 1===a.length?e:(Object.keys(A).map((e=>{const n=e.split("|");if(a.length===n.length){let i=0;a.map((e=>{n.includes(String(e))&&(i+=1)})),i===a.length&&(t=e)}})),t)})(e);if(t){const a=A[t];a.action===jl.ShowPremiumModal?c?(T(!0),C(Object.assign(Object.assign({},k),{actionParams:{hideBannerWhenClose:a.action===jl.ShowPremiumModal}}))):(C({action:jl.Hide}),null==g||g(e)):(C(a),null==g||g(e))}},showPNModal:B,setShowPNModal:T,source:b,Outside:L,isBack:D,setIsBack:I,minHeight:180,setShouldAcquisitionModalOpen:u}},void 0!==h?x?s&&_?(()=>{const t=A[(null==h?void 0:h.value)||""];return(null==t?void 0:t.action)===jl.ShowPremiumModal?P():e.createElement(bs,null)})():P():c?e.createElement(Vl,null):null:null)};export{Ut as A,Vt as B,na as C,La as D,Po as E,Xt as F,Kt as G,Ho as H,$a as I,qo as J,ml as K,da as L,ai as M,bl as N,Wo as O,Qt as P,yl as Q,ea as R,cn as S,ta as T,El as U,Il as V,zl as W,fs as X,Fl as Y,Hl as Z,Wt as a,aa as b,la as c,sa as d,xa as e,Na as f,Ta as g,Ia as h,Ya as i,Ka as j,on as k,un as l,wn as m,kn as n,an as o,zn as p,_n as q,Rn as r,Yn as s,ti as t,wr as u,zr as v,eo as w,so as x,Co as y,No as z};