@hhgtech/hhg-components 1.28.20 → 1.28.22
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.
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/{constants-d549bc2a.js → constants-a58058df.js} +1 -1
- package/build/{constants-11a8ea11.js → constants-fc006ac7.js} +1 -1
- package/build/constants.js +1 -1
- package/build/core-cd2c8618.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +8 -8
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-cd30a2ef.js → constants-27004e00.js} +2 -2
- package/build/esm/{constants-0080a43c.js → constants-9fb40a16.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-195d1c63.js → core-840ab80b.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-5a4ef938.js → getDynamicHealthTool-223693d9.js} +1 -1
- package/build/esm/{getSocialList-af3a248b.js → getSocialList-faff643c.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-f1588f5b.js → index-0c8e02fe.js} +1 -1
- package/build/esm/{index-f9e1b776.js → index-1544c950.js} +1 -1
- package/build/esm/{index-e720efb7.js → index-189110e3.js} +1 -1
- package/build/esm/{index-3d3428c5.js → index-2df6f063.js} +1 -1
- package/build/esm/{index-cb79819c.js → index-3590ace9.js} +1 -1
- package/build/esm/{index-2c2cad0f.js → index-45ccfa83.js} +1 -1
- package/build/esm/{index-b0a8909d.js → index-631a0653.js} +6 -6
- package/build/esm/{index-9a001123.js → index-6c4d5409.js} +1 -1
- package/build/esm/{index-d383d324.js → index-71cce804.js} +1 -1
- package/build/esm/{index-6d45683b.js → index-7ddebb37.js} +1 -1
- package/build/esm/index-88dd5ac1.js +1 -0
- package/build/esm/{index-6bdc378c.js → index-ce22b3b6.js} +2 -2
- package/build/esm/{index-c76b3f54.js → index-d1155f84.js} +1 -1
- package/build/esm/index-d3fa30fc.js +1 -0
- package/build/esm/{index-b11b8202.js → index-dab239b5.js} +4 -4
- package/build/esm/{index-1a53fa06.js → index-e2470261.js} +1 -1
- package/build/esm/{index-faedded8.js → index-e6f18bd6.js} +1 -1
- package/build/esm/{index-fc9f2e23.js → index-f6066f6e.js} +1 -1
- package/build/esm/{index-a031b23a.js → index-f7985048.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-b4ecc267.js → index.styled-42d7d883.js} +1 -1
- package/build/esm/{index.styled-c1cf9add.js → index.styled-88839824.js} +1 -1
- package/build/esm/{index.styles-de1b2c0a.js → index.styles-d0bb1e03.js} +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboardingV2.js +9 -9
- package/build/esm/pwg.js +1 -1
- package/build/esm/{routing-8c059442.js → routing-e07218b4.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-f78f69cd.js → types-04146982.js} +2 -2
- package/build/esm/{types-49648e81.js → types-858772c3.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-06b1ac21.js → useCategory-8ca1a4e9.js} +1 -1
- package/build/esm/useHealthToolCache-6d26332c.js +1 -0
- package/build/esm/{useRafState-16cc2d40.js → useRafState-e6d4886b.js} +1 -1
- package/build/esm/{useTranslations-ac75c3b5.js → useTranslations-5eee897f.js} +1 -1
- package/build/esm/{utils-6d392ba9.js → utils-5f14f492.js} +1 -1
- package/build/esm/{utils-0a3162ba.js → utils-ee3c1d92.js} +1 -1
- package/build/esm/vaccination.js +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-68c838ab.js +1 -0
- package/build/{getSocialList-8f36380b.js → getSocialList-d9c58635.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-71f81ed0.js → index-0fcca4fb.js} +2 -2
- package/build/{index-7c502568.js → index-11a4804c.js} +1 -1
- package/build/{index-a7093aa9.js → index-20bcddf8.js} +1 -1
- package/build/{index-1bfac17a.js → index-25ab108c.js} +1 -1
- package/build/index-5ad97c99.js +1 -0
- package/build/{index-67c1d9de.js → index-5dd1d4d2.js} +1 -1
- package/build/{index-39f13000.js → index-5df8e48c.js} +3 -3
- package/build/{index-1f3e1c8a.js → index-5e7d2833.js} +3 -3
- package/build/index-8e2adb6e.js +1 -0
- package/build/{index-673d33f3.js → index-a3e0d4da.js} +1 -1
- package/build/{index-2d99fba2.js → index-a7b26336.js} +1 -1
- package/build/{index-ecea0cc8.js → index-ac41e629.js} +1 -1
- package/build/{index-6fc42243.js → index-be672ee0.js} +1 -1
- package/build/{index-b1c6a59a.js → index-bf2a9704.js} +1 -1
- package/build/{index-d5a7d94b.js → index-c1ac8c8e.js} +1 -1
- package/build/{index-e5135864.js → index-c9318869.js} +1 -1
- package/build/{index-4228a061.js → index-d001b205.js} +1 -1
- package/build/index-d09f268e.js +1 -0
- package/build/{index-b2edbbab.js → index-e0e30fa5.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-2234083c.js → index.styled-bf57e3f5.js} +1 -1
- package/build/{index.styled-dad14c2f.js → index.styled-c772d91a.js} +1 -1
- package/build/{index.styles-9fa8d243.js → index.styles-c181cbd7.js} +5 -5
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-fa168f80.js → routing-bfbc957e.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-373205e2.js → types-cda69406.js} +2 -2
- package/build/{types-b9baa990.js → types-e1279ec1.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-e875e5ef.js → useCategory-3227fe9f.js} +1 -1
- package/build/{useHealthToolCache-ba802007.js → useHealthToolCache-4fcb8362.js} +1 -1
- package/build/{useRafState-2d6941de.js → useRafState-c0aff4b6.js} +1 -1
- package/build/{useTranslations-eca47011.js → useTranslations-838e0450.js} +1 -1
- package/build/{utils-a7a2a02e.js → utils-fde4413a.js} +2 -2
- package/build/utils-ffaba4fa.js +1 -0
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/core-488315ac.js +0 -1
- package/build/esm/index-a4d06ec2.js +0 -1
- package/build/esm/index-e52ff23b.js +0 -1
- package/build/esm/useHealthToolCache-b8f3e0c0.js +0 -1
- package/build/getDynamicHealthTool-18d92dbf.js +0 -1
- package/build/index-c1bb081f.js +0 -1
- package/build/index-cdd5cea4.js +0 -1
- package/build/index-f3bd2d2b.js +0 -1
- package/build/utils-547c3928.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-03f073a0.js → BMI_BOYS.percentile.monthly-96148bfe.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-feb7247f.js → BMI_BOYS.percentile.weekly-64f1bab8.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-252394df.js → BMI_BOYS.percentile.yearly-1da25eb1.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-0c0d19f4.js → BMI_BOYS.zscore.monthly-74fdfe9c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-adc6b49a.js → BMI_BOYS.zscore.weekly-91b18364.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-7563dac6.js → BMI_BOYS.zscore.yearly-e026f32d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-71460c6d.js → BMI_GIRLS.percentile.monthly-b56bf71a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-70dfe2e0.js → BMI_GIRLS.percentile.weekly-bc10109b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-22316c6d.js → BMI_GIRLS.percentile.yearly-7a6cc381.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a6784a6a.js → BMI_GIRLS.zscore.monthly-8b6c0057.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-e21d239b.js → BMI_GIRLS.zscore.weekly-4d661e44.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-76861a07.js → BMI_GIRLS.zscore.yearly-9f010c5b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-0797e495.js → HEAD CIRCUM_BOYS.percentile.monthly-9cd3e480.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-fea33635.js → HEAD CIRCUM_BOYS.percentile.weekly-6824d1ba.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-1dfa3535.js → HEAD CIRCUM_BOYS.percentile.yearly-df1fef27.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-7be89576.js → HEAD CIRCUM_BOYS.zscore.monthly-7f696bc5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-12fb62f3.js → HEAD CIRCUM_BOYS.zscore.weekly-233be92c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d5fd8c74.js → HEAD CIRCUM_BOYS.zscore.yearly-f9fdfc32.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-50436709.js → HEAD CIRCUM_GIRLS.percentile.monthly-346b817a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-9b0fc1a5.js → HEAD CIRCUM_GIRLS.percentile.weekly-b57442c0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-4af99b47.js → HEAD CIRCUM_GIRLS.percentile.yearly-4a4aa94b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e925f1cc.js → HEAD CIRCUM_GIRLS.zscore.monthly-6ce37fff.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-f7bab5df.js → HEAD CIRCUM_GIRLS.zscore.weekly-3b5c8ced.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-9769764d.js → HEAD CIRCUM_GIRLS.zscore.yearly-d4e85a20.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-dc989d09.js → HEIGHT_BOYS.percentile.monthly-56ac170c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-b855097f.js → HEIGHT_BOYS.percentile.weekly-d4cd7a24.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-04277bc2.js → HEIGHT_BOYS.percentile.yearly-54c59e01.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-e4cab1c9.js → HEIGHT_BOYS.zscore.monthly-fd97186a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-07108f7a.js → HEIGHT_BOYS.zscore.weekly-04b5ec76.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-6e1ac886.js → HEIGHT_BOYS.zscore.yearly-aa471b4c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-69b6f855.js → HEIGHT_GIRLS.percentile.monthly-ba164abd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-fef3d3f0.js → HEIGHT_GIRLS.percentile.weekly-5470787f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-3496d908.js → HEIGHT_GIRLS.percentile.yearly-b150c223.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-eaf852f5.js → HEIGHT_GIRLS.zscore.monthly-3c6d8076.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-6cf025bb.js → HEIGHT_GIRLS.zscore.weekly-feae71d1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-3168bc4a.js → HEIGHT_GIRLS.zscore.yearly-6247aab0.js} +0 -0
- /package/build/{Onboarding-bb42c695.js → Onboarding-8183db2a.js} +0 -0
- /package/build/{Visible-1d62c6ec.js → Visible-a93fccda.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2421af67.js → WEIGHT_BOYS.percentile.monthly-febba2e1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-0bbc000a.js → WEIGHT_BOYS.percentile.weekly-11e12732.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-0c63fd23.js → WEIGHT_BOYS.percentile.yearly-ad063d36.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-e97f27d9.js → WEIGHT_BOYS.zscore.monthly-83fab5a5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-0c946f7e.js → WEIGHT_BOYS.zscore.weekly-b9d1324a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-0f0c8f12.js → WEIGHT_BOYS.zscore.yearly-ce1cf589.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-5e144548.js → WEIGHT_GIRLS.percentile.monthly-9cddc118.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-34912d4d.js → WEIGHT_GIRLS.percentile.weekly-c09c1906.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-7a79bf18.js → WEIGHT_GIRLS.percentile.yearly-50a8ce57.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-08afd8ea.js → WEIGHT_GIRLS.zscore.monthly-d3d49969.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-95b1f1a9.js → WEIGHT_GIRLS.zscore.weekly-6c081cd2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-d8c551fe.js → WEIGHT_GIRLS.zscore.yearly-5c52b15b.js} +0 -0
- /package/build/{cookieHelper-fc7ed935.js → cookieHelper-a6b97d90.js} +0 -0
- /package/build/{dataTransform-1d461d05.js → dataTransform-a4d4c1b0.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a4ddeb58.js → BMI_BOYS.percentile.monthly-90307381.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-dc43ee4b.js → BMI_BOYS.percentile.weekly-46d57501.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-48303233.js → BMI_BOYS.percentile.yearly-16d1e199.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-079055ec.js → BMI_BOYS.zscore.monthly-2ef690d3.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-0128dea5.js → BMI_BOYS.zscore.weekly-4ecba791.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-2242a802.js → BMI_BOYS.zscore.yearly-199ac940.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-efecf947.js → BMI_GIRLS.percentile.monthly-da510f93.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-399676ad.js → BMI_GIRLS.percentile.weekly-39f68895.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-761031e4.js → BMI_GIRLS.percentile.yearly-6bf00a8d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-e6c69a0d.js → BMI_GIRLS.zscore.monthly-1907baa9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-47ab3dd4.js → BMI_GIRLS.zscore.weekly-43228168.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-43ef2c8b.js → BMI_GIRLS.zscore.yearly-d3e00018.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-d489433b.js → HEAD CIRCUM_BOYS.percentile.monthly-a33f2acc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-ff0283b9.js → HEAD CIRCUM_BOYS.percentile.weekly-2a8b05c8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-996cc9da.js → HEAD CIRCUM_BOYS.percentile.yearly-aa25970c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-7861c8c3.js → HEAD CIRCUM_BOYS.zscore.monthly-1dfefb19.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-e232b292.js → HEAD CIRCUM_BOYS.zscore.weekly-23a756a4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-66290bdb.js → HEAD CIRCUM_BOYS.zscore.yearly-abb82528.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-333ca9f0.js → HEAD CIRCUM_GIRLS.percentile.monthly-8d29afce.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-6538b6aa.js → HEAD CIRCUM_GIRLS.percentile.weekly-d088b3d9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-2b17e98b.js → HEAD CIRCUM_GIRLS.percentile.yearly-2bfa1b9d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-cd0e93ab.js → HEAD CIRCUM_GIRLS.zscore.monthly-bffe5582.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-b386b4d4.js → HEAD CIRCUM_GIRLS.zscore.weekly-a6477dbf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-5f961ae3.js → HEAD CIRCUM_GIRLS.zscore.yearly-4b16228d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-cdcebb2e.js → HEIGHT_BOYS.percentile.monthly-dcc56215.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-0f06d78a.js → HEIGHT_BOYS.percentile.weekly-746f9f5f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-85cbc91d.js → HEIGHT_BOYS.percentile.yearly-61101352.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-4d52aa89.js → HEIGHT_BOYS.zscore.monthly-af541b00.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-596a5bec.js → HEIGHT_BOYS.zscore.weekly-83f908c3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-bf2b0fcd.js → HEIGHT_BOYS.zscore.yearly-f1c33ecd.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-9b277d27.js → HEIGHT_GIRLS.percentile.monthly-ae4fe175.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-a83765dc.js → HEIGHT_GIRLS.percentile.weekly-0bdfa7f2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-69ff6d3f.js → HEIGHT_GIRLS.percentile.yearly-630c67ac.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-271c9646.js → HEIGHT_GIRLS.zscore.monthly-e5be28b3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-a2971a90.js → HEIGHT_GIRLS.zscore.weekly-a5fd6934.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-76d0f3e3.js → HEIGHT_GIRLS.zscore.yearly-15be82af.js} +0 -0
- /package/build/esm/{Onboarding-68d1528c.js → Onboarding-c4c73809.js} +0 -0
- /package/build/esm/{Visible-1216891b.js → Visible-a9d70fee.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b63caaeb.js → WEIGHT_BOYS.percentile.monthly-682b522e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-8b0468be.js → WEIGHT_BOYS.percentile.weekly-316f7e6f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-25e6ed3e.js → WEIGHT_BOYS.percentile.yearly-1745e62e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-48e573b1.js → WEIGHT_BOYS.zscore.monthly-333c0829.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-0617172a.js → WEIGHT_BOYS.zscore.weekly-354b49e7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-49394533.js → WEIGHT_BOYS.zscore.yearly-926c20df.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-6644c39e.js → WEIGHT_GIRLS.percentile.monthly-3688887b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-0fb28e80.js → WEIGHT_GIRLS.percentile.weekly-7438a8e0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-04742478.js → WEIGHT_GIRLS.percentile.yearly-03443cdc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-2352277a.js → WEIGHT_GIRLS.zscore.monthly-d43cd306.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-624aac3b.js → WEIGHT_GIRLS.zscore.weekly-82c94e23.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-3afc6b20.js → WEIGHT_GIRLS.zscore.yearly-0d972eaa.js} +0 -0
- /package/build/esm/{cookieHelper-d4751a4b.js → cookieHelper-e8bc8745.js} +0 -0
- /package/build/esm/{dataTransform-7d03a95f.js → dataTransform-13a940e6.js} +0 -0
- /package/build/esm/{index-4fa2b97e.js → index-0f40266a.js} +0 -0
- /package/build/esm/{index-1323444f.js → index-1022850c.js} +0 -0
- /package/build/esm/{index-b7d26e74.js → index-af869181.js} +0 -0
- /package/build/esm/{isProduction-664c937a.js → isProduction-abad368e.js} +0 -0
- /package/build/esm/{localizeNumberFormat-a822256d.js → localizeNumberFormat-7317ce83.js} +0 -0
- /package/build/esm/{normalizeLink-2753e3e1.js → normalizeLink-bdd913b5.js} +0 -0
- /package/build/esm/{number-713a46cb.js → number-d63081a4.js} +0 -0
- /package/build/esm/{paths-33ad00d9.js → paths-cd6362b0.js} +0 -0
- /package/build/esm/{screenSizeContext-7554eeca.js → screenSizeContext-6250deff.js} +0 -0
- /package/build/esm/{theme-4e8e8b15.js → theme-b742a282.js} +0 -0
- /package/build/esm/{translationsContext-c0070e3d.js → translationsContext-8a8e6199.js} +0 -0
- /package/build/esm/{tslib.es6-049ed08d.js → tslib.es6-e88b4ce3.js} +0 -0
- /package/build/esm/{types-4b3d239f.js → types-c068166d.js} +0 -0
- /package/build/esm/{useIsInit-ef15c1d5.js → useIsInit-76e26578.js} +0 -0
- /package/build/esm/{useOutsideClick-16362daf.js → useOutsideClick-f7dbc152.js} +0 -0
- /package/build/esm/{useScrollbarSize-919731c7.js → useScrollbarSize-97c781c0.js} +0 -0
- /package/build/{index-cc40dbe3.js → index-0a58af1c.js} +0 -0
- /package/build/{index-1d04480f.js → index-66a8ec44.js} +0 -0
- /package/build/{index-57457176.js → index-d43c1ecb.js} +0 -0
- /package/build/{isProduction-830789bd.js → isProduction-80fbe7d1.js} +0 -0
- /package/build/{localizeNumberFormat-44032c9f.js → localizeNumberFormat-ed7a991c.js} +0 -0
- /package/build/{normalizeLink-4dc37aff.js → normalizeLink-58a3de31.js} +0 -0
- /package/build/{number-7d2a3705.js → number-e106e56a.js} +0 -0
- /package/build/{paths-147650ff.js → paths-919284be.js} +0 -0
- /package/build/{screenSizeContext-a8d24de9.js → screenSizeContext-12b5f9c1.js} +0 -0
- /package/build/{theme-375fb870.js → theme-ffd03ae2.js} +0 -0
- /package/build/{translationsContext-1a83f57b.js → translationsContext-58fe2efa.js} +0 -0
- /package/build/{tslib.es6-75ace7ba.js → tslib.es6-f42d0024.js} +0 -0
- /package/build/{types-b8f11f2c.js → types-0b03b0f3.js} +0 -0
- /package/build/{useIsInit-239c1042.js → useIsInit-3dcba450.js} +0 -0
- /package/build/{useOutsideClick-cca08d82.js → useOutsideClick-a31510e0.js} +0 -0
- /package/build/{useScrollbarSize-7c7138dc.js → useScrollbarSize-61d1478e.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-e88b4ce3.js";import a,{useMemo as t}from"react";import{useMantineTheme as s}from"@mantine/core";import{S as o,L as n,b as r,d as l,e as i}from"./constants-27004e00.js";const c=c=>{var{name:m,value:d,errorMessage:p,isNumerousKeyboard:u=!1,showErrorMessage:b=!0,actionIcon:y,displayIcon:C,onActionClick:v,label:g,className:h,onChange:E,isDisabled:N,CustomInput:I,size:f,style:k,autoComplete:A="off",type:K="text",inputClassName:M,trackingAttributes:z,enterKeyHint:L}=c,j=e(c,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const w=s(),H=t((()=>z?{"data-event-category":z.dataEventCategory,"data-event-action":z.dataEventAction,"data-event-label":z.dataEventLabel}:{}),[z]);return a.createElement(o,{"data-size":f,className:h,"data-has-action-icon":!!y||void 0,"data-has-display-icon":!!C||void 0,"data-has-error":p&&p.length>0||void 0,color:w.fn.primaryColor(),shadowColor:w.colors[w.primaryColor][0],style:k},g&&a.createElement(n,{size:"label2",htmlFor:m,className:"inputLabel"},g),a.createElement("div",{style:{position:"relative"}},I||a.createElement("input",Object.assign({id:m,name:m,onChange:e=>E&&E(e.target.value),type:K,"aria-label":K,value:d,disabled:N,autoComplete:A,inputMode:u||"number"===K?"numeric":K,pattern:u?"[0-9]*":".*",className:M,enterKeyHint:L},H,j)),C&&a.createElement(r,{className:"displayIcon"},C),y&&a.createElement(l,{className:"actionIcon",onClick:v},y)),p&&p.length>0&&b&&a.createElement(i,{className:"errorLabel"},p))};export{c as I};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t}from"./tslib.es6-e88b4ce3.js";import e from"react";import"./index-ce22b3b6.js";import"@mantine/core";import"@mantine/dates";import"./index-1544c950.js";import"./Onboarding-c4c73809.js";import"./gAssets.js";import{T as i}from"./index-71cce804.js";import"dayjs";import"./screenSizeContext-6250deff.js";import"styled-components";import"./theme-b742a282.js";import"./isProduction-abad368e.js";import"./translationsContext-8a8e6199.js";import"string-format";import"@mantine/hooks";const o=o=>{var{size:r="base",type:s="regular"}=o,m=t(o,["size","type"]);return e.createElement(i,Object.assign({size:r,weight:"caption"===s?"bold":s},m))};export{o as T};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-e88b4ce3.js";import*as l from"react";import n,{useState as a,useMemo as r,forwardRef as i,useEffect as o,Component as c,useCallback as s,createContext as d,useContext as h,useRef as m,useImperativeHandle as p}from"react";import{Radio as u,useMantineTheme as g,Autocomplete as f,Image as b,ActionIcon as E,Select as C,createStyles as v,AspectRatio as L,em as y,Box as w,Breadcrumbs as x,Button as k,Textarea as j,Accordion as O,Indicator as M,Avatar as S,FileInput as H,createEmotionCache as B,NumberInput as Z,PasswordInput as R,TextInput as V,Input as A,Checkbox as I,Slider as z,Flex as P,rem as F,Tabs as T,ScrollArea as D,Popover as N,Chip as $}from"@mantine/core";import{useUncontrolled as W,useDebouncedValue as U,useViewportSize as _,useResizeObserver as G,useDisclosure as K,useClickOutside as q}from"@mantine/hooks";import{t as Y}from"./theme-b742a282.js";import{CommonGAssets as Q}from"./gAssets.js";import J from"dayjs";import{L as X}from"./Onboarding-c4c73809.js";import{B as ee,M as te}from"./screenSizeContext-6250deff.js";import le from"styled-components";import{Carousel as ne}from"@mantine/carousel";import{T as ae,O as re,I as ie}from"./index-71cce804.js";import{I as oe,s as ce}from"./index-1544c950.js";import"./isProduction-abad368e.js";import se from"classnames";import{b as de}from"./useTranslations-5eee897f.js";const he=t=>{var{alt:l,backupSrc:r,src:i,placeholderSrc:o,style:c,ref:s}=t,d=e(t,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[h,m]=a(!1);return n.createElement(me,Object.assign({loading:"lazy",alt:l,onError:()=>!h&&m(!0),src:h?r||i:i||r,style:Object.assign(Object.assign({},o?{backgroundImage:`url(${o})`}:{}),c),"data-has-placeholder":!!o,ref:s},d))},me=le.img`
|
|
2
2
|
&[data-has-placeholder='true'] {
|
|
3
3
|
background-position: center;
|
|
4
4
|
background-repeat: no-repeat;
|
|
5
5
|
background-size: cover;
|
|
6
6
|
}
|
|
7
|
-
`,pe=e=>n.createElement(he,Object.assign({alt:"round cambodia flag",src:Q.getAssetPath("flags/cambodiaRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),ue=e=>n.createElement(he,Object.assign({alt:"square cambodia flag",src:Q.getAssetPath("flags/cambodiaSquare.png")},e)),ge=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),n.createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),n.createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),n.createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),n.createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),n.createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),n.createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),n.createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),n.createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),n.createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),n.createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),n.createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),n.createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),n.createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),n.createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),n.createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),n.createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),n.createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),n.createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),n.createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),n.createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),n.createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),n.createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),n.createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),n.createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),n.createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),n.createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"}))),fe=e=>n.createElement("svg",Object.assign({viewBox:"0 0 26 26",fill:"none"},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},n.createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),n.createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),n.createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),n.createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),n.createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),n.createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),n.createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),n.createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),n.createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),n.createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"}))),be=e=>n.createElement(he,Object.assign({alt:"round india flag",src:Q.getAssetPath("flags/indiaRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),Ee=e=>n.createElement(he,Object.assign({alt:"square indian flag",src:Q.getAssetPath("flags/indiaSquare.png")},e)),Ce=t=>{var l=e(t,[]);const a=de();return n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none"},l),n.createElement("mask",{id:a,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("g",{mask:`url(#${a})`},n.createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),n.createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},ve=t=>{var l=e(t,[]);const a=de();return n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},l),n.createElement("g",{clipPath:`url(#${a})`},n.createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),n.createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),n.createElement("defs",null,n.createElement("clipPath",{id:a},n.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},Le=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),n.createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"}))),ye=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),n.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),n.createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{width:"24",height:"0.777454",fill:"white"}),n.createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"})),we=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),n.createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),n.createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"}))),xe=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),n.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),n.createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),n.createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"})),ke=e=>n.createElement(he,Object.assign({alt:"round philippines flag",src:Q.getAssetPath("flags/philippineRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),je=e=>n.createElement(he,Object.assign({alt:"square philippines flag",src:Q.getAssetPath("flags/philippineSquare.png")},e)),Oe=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),n.createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),n.createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),n.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),n.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),n.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),n.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),n.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),n.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),n.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),n.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),n.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),n.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),n.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),n.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),n.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"})))),Me=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),n.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),n.createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),n.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),n.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),n.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),n.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),n.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),n.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),n.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),n.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),n.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),n.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),n.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),n.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),n.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"})),Se=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),n.createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"}))),He=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 17",fill:"none"},e),n.createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),n.createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"})),Be=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),n.createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"}))),Ze=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),n.createElement("g",null,n.createElement("clipPath",null,n.createElement("rect",{width:"24",height:"16",fill:"white"})),n.createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),n.createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})));var Re="pfaLGRK";const Ve=({country:e,language:t,rounded:l,height:a,width:r,isTesting:i,className:o})=>{let c,s;switch(t){case"en":c=n.createElement(fe,null),s=n.createElement(ge,null);break;case"vi":c=n.createElement(Ze,null),s=n.createElement(Be,null);break;case"id":c=n.createElement(ve,{isTesting:i}),s=n.createElement(Ce,{isTesting:i});break;case"th":c=n.createElement(He,null),s=n.createElement(Se,null);break;case"km":c=n.createElement(ue,null),s=n.createElement(pe,null);break;case"ms":c=n.createElement(ye,null),s=n.createElement(Le,null);break;case"my":c=n.createElement(xe,null),s=n.createElement(we,null);break;case"tl":c=n.createElement(je,null),s=n.createElement(ke,null);break;case"hi":c=n.createElement(Ee,null),s=n.createElement(be,null);break;case"zh":c=n.createElement(Me,null),s=n.createElement(Oe,null)}if(!c&&!s)switch(e){case"VN":c=n.createElement(Ze,null),s=n.createElement(Be,null);break;case"ID":c=n.createElement(ve,{isTesting:i}),s=n.createElement(Ce,{isTesting:i});break;case"TH":c=n.createElement(He,null),s=n.createElement(Se,null);break;case"KH":c=n.createElement(ue,null),s=n.createElement(pe,null);break;case"MY":c=n.createElement(ye,null),s=n.createElement(Le,null);break;case"MM":c=n.createElement(xe,null),s=n.createElement(we,null);break;case"PH":c=n.createElement(je,null),s=n.createElement(ke,null);break;case"IN":c=n.createElement(Ee,null),s=n.createElement(be,null);break;case"TW":c=n.createElement(Me,null),s=n.createElement(Oe,null)}return n.createElement("div",{className:`${Re} ${o||""}`,style:{"--width":r||20,"--height":a||20}},l?s:c)},Ae=t=>{var{styles:l,color:a="blue"}=t,i=e(t,["styles","color"]);const o=g(),c=r((()=>{var e,t;return((null==a?void 0:a.includes("."))?null===(e=o.colors[a.split(".")[0]])||void 0===e?void 0:e[a.split(".")[1]]:null===(t=o.colors[a])||void 0===t?void 0:t[o.primaryShade||6])||o.colors.blue[6]}),[a]);return n.createElement(u,Object.assign({styles:Object.assign({radio:{"&:hover":{border:`1px solid ${c}`}},icon:{color:`${c}`}},l),color:a},i))};Ae.Group=u.Group;const Ie=t=>{var{size:l,color:a}=t,r=e(t,["size","color"]);return n.createElement("svg",Object.assign({width:l,height:l,viewBox:"0 0 20 20",fill:"none"},r),n.createElement("path",{d:"M9.9998 10.8567 6.943 7.7999C6.6118 7.4687 6.0742 7.4687 5.743 7.7999 5.4118 8.1311 5.4118 8.6687 5.743 8.9999L9.4342 12.6911C9.747 13.0039 10.2534 13.0039 10.5654 12.6911L14.2566 8.9999C14.5878 8.6687 14.5878 8.1311 14.2566 7.7999 13.9254 7.4687 13.3878 7.4687 13.0566 7.7999L9.9998 10.8567Z",fill:a}))};Ie.defaultProps={size:24,color:Y.colors.gray600};const ze=i(((t,l)=>{var{keepSearch:a=!1}=t,r=e(t,["keepSearch"]);return a?n.createElement(Pe,Object.assign({},r,{ref:l})):n.createElement(Fe,Object.assign({},r,{ref:l}))})),Pe=i(((t,l)=>{var{value:a,defaultValue:r,onChange:i,clearable:o}=t,c=e(t,["value","defaultValue","onChange","clearable"]);const[s,d]=W({value:a,defaultValue:r,onChange:i});return n.createElement(f,Object.assign({ref:l,rightSection:n.createElement(b,{src:Q.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onChange:e=>d(e),value:s},c,o&&(null==s?void 0:s.length)>0?{rightSection:n.createElement(E,{onClick:()=>{d("")},sx:{cursor:"pointer"}},n.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))})),Fe=i(((t,l)=>{var{searchValue:a,onSearchChange:r}=t,i=e(t,["searchValue","onSearchChange"]);const[o,c]=W({defaultValue:"",value:a,onChange:r});return n.createElement(C,Object.assign({ref:l,rightSection:n.createElement(Ie,{style:{pointerEvents:"none"},size:18}),size:"md",maxDropdownHeight:300,onSearchChange:e=>c(e),searchValue:o},i,i.clearable&&(null==o?void 0:o.length)>0?{rightSection:n.createElement(E,{onClick:()=>{c("")},sx:{cursor:"pointer"}},n.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))})),Te={[X.Vietnam]:"vi",[X.Cambodia]:"km",[X.India]:"hi",[X.Indonesia]:"id",[X.Malaysia]:"ms",[X.Thailand]:"th",[X.Taiwan]:"zh-tw",[X.PhilippinesTagalog]:"tl-ph",[X.PhilippinesEnglish]:"en",[X.Myanmar]:"my"},De={[X.Vietnam]:()=>import("dayjs/locale/vi.js"),[X.Cambodia]:()=>import("dayjs/locale/km.js"),[X.India]:()=>import("dayjs/locale/hi.js"),[X.Indonesia]:()=>import("dayjs/locale/id.js"),[X.Malaysia]:()=>import("dayjs/locale/ms.js"),[X.Thailand]:()=>import("dayjs/locale/th.js"),[X.Taiwan]:()=>import("dayjs/locale/zh-tw.js"),[X.PhilippinesTagalog]:()=>import("dayjs/locale/tl-ph.js"),[X.PhilippinesEnglish]:()=>import("dayjs/locale/en.js"),[X.Myanmar]:()=>import("dayjs/locale/my.js")},Ne=e=>{const[l,n]=a(!1);return o((()=>{t(void 0,void 0,void 0,(function*(){var t;n(!1),yield null===(t=De[e])||void 0===t?void 0:t.call(De),J.locale(Te[e]),n(!0)}))}),[e]),{isLoaded:l}},$e=()=>"undefined"!=typeof window&&window.innerWidth<ee.BREAK_POINT_MOBILE,We=()=>"undefined"!=typeof window&&window.innerWidth>=ee.BREAK_POINT_MOBILE&&window.innerWidth<ee.BREAK_POINT_PC,Ue=()=>{const[e,t]=a($e()),[l,n]=a(We());return o((()=>{const e=()=>{t($e()),n(We())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:e,isLargeMobile:l}};class _e extends c{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||n.createElement(n.Fragment,null):this.props.children}}const Ge=t=>{var{slidesToShow:l=1,children:a}=t,r=e(t,["slidesToShow","children"]);return(Array.isArray(a)?a.length:1)?n.createElement(_e,null,n.createElement(ne,Object.assign({slideSize:String(Math.floor(1/l*1e4)/100)+"%",containScroll:"trimSnaps"},r),a)):null};Ge.Slide=ne.Slide;const Ke=le(Ge)`
|
|
7
|
+
`,pe=e=>n.createElement(he,Object.assign({alt:"round cambodia flag",src:Q.getAssetPath("flags/cambodiaRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),ue=e=>n.createElement(he,Object.assign({alt:"square cambodia flag",src:Q.getAssetPath("flags/cambodiaSquare.png")},e)),ge=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),n.createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),n.createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),n.createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),n.createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),n.createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),n.createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),n.createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),n.createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),n.createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),n.createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),n.createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),n.createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),n.createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),n.createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),n.createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),n.createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),n.createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),n.createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),n.createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),n.createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),n.createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),n.createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),n.createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),n.createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),n.createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),n.createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"}))),fe=e=>n.createElement("svg",Object.assign({viewBox:"0 0 26 26",fill:"none"},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},n.createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),n.createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),n.createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),n.createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),n.createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),n.createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),n.createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),n.createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),n.createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),n.createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"}))),be=e=>n.createElement(he,Object.assign({alt:"round india flag",src:Q.getAssetPath("flags/indiaRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),Ee=e=>n.createElement(he,Object.assign({alt:"square indian flag",src:Q.getAssetPath("flags/indiaSquare.png")},e)),Ce=t=>{var l=e(t,[]);const a=de();return n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none"},l),n.createElement("mask",{id:a,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("g",{mask:`url(#${a})`},n.createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),n.createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},ve=t=>{var l=e(t,[]);const a=de();return n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},l),n.createElement("g",{clipPath:`url(#${a})`},n.createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),n.createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),n.createElement("defs",null,n.createElement("clipPath",{id:a},n.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},Le=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),n.createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"}))),ye=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),n.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),n.createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{width:"24",height:"0.777454",fill:"white"}),n.createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"})),we=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),n.createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),n.createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"}))),xe=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),n.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),n.createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),n.createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"})),ke=e=>n.createElement(he,Object.assign({alt:"round philippines flag",src:Q.getAssetPath("flags/philippineRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),je=e=>n.createElement(he,Object.assign({alt:"square philippines flag",src:Q.getAssetPath("flags/philippineSquare.png")},e)),Oe=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),n.createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),n.createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),n.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),n.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),n.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),n.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),n.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),n.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),n.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),n.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),n.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),n.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),n.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),n.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),n.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"})))),Me=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),n.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),n.createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),n.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),n.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),n.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),n.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),n.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),n.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),n.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),n.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),n.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),n.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),n.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),n.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),n.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"})),Se=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),n.createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"}))),He=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 17",fill:"none"},e),n.createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),n.createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"})),Be=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),n.createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"}))),Ze=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),n.createElement("g",null,n.createElement("clipPath",null,n.createElement("rect",{width:"24",height:"16",fill:"white"})),n.createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),n.createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})));var Re="pfaLGRK";const Ve=({country:e,language:t,rounded:l,height:a,width:r,isTesting:i,className:o})=>{let c,s;switch(t){case"en":c=n.createElement(fe,null),s=n.createElement(ge,null);break;case"vi":c=n.createElement(Ze,null),s=n.createElement(Be,null);break;case"id":c=n.createElement(ve,{isTesting:i}),s=n.createElement(Ce,{isTesting:i});break;case"th":c=n.createElement(He,null),s=n.createElement(Se,null);break;case"km":c=n.createElement(ue,null),s=n.createElement(pe,null);break;case"ms":c=n.createElement(ye,null),s=n.createElement(Le,null);break;case"my":c=n.createElement(xe,null),s=n.createElement(we,null);break;case"tl":c=n.createElement(je,null),s=n.createElement(ke,null);break;case"hi":c=n.createElement(Ee,null),s=n.createElement(be,null);break;case"zh":c=n.createElement(Me,null),s=n.createElement(Oe,null)}if(!c&&!s)switch(e){case"VN":c=n.createElement(Ze,null),s=n.createElement(Be,null);break;case"ID":c=n.createElement(ve,{isTesting:i}),s=n.createElement(Ce,{isTesting:i});break;case"TH":c=n.createElement(He,null),s=n.createElement(Se,null);break;case"KH":c=n.createElement(ue,null),s=n.createElement(pe,null);break;case"MY":c=n.createElement(ye,null),s=n.createElement(Le,null);break;case"MM":c=n.createElement(xe,null),s=n.createElement(we,null);break;case"PH":c=n.createElement(je,null),s=n.createElement(ke,null);break;case"IN":c=n.createElement(Ee,null),s=n.createElement(be,null);break;case"TW":c=n.createElement(Me,null),s=n.createElement(Oe,null)}return n.createElement("div",{className:`${Re} ${o||""}`,style:{"--width":r||20,"--height":a||20}},l?s:c)},Ae=t=>{var{styles:l,color:a="blue"}=t,i=e(t,["styles","color"]);const o=g(),c=r((()=>{var e,t;return((null==a?void 0:a.includes("."))?null===(e=o.colors[a.split(".")[0]])||void 0===e?void 0:e[a.split(".")[1]]:null===(t=o.colors[a])||void 0===t?void 0:t[o.primaryShade||6])||o.colors.blue[6]}),[a]);return n.createElement(u,Object.assign({styles:Object.assign({radio:{"&:hover":{border:`1px solid ${c}`}},icon:{color:`${c}`}},l),color:a},i))};Ae.Group=u.Group;const Ie=t=>{var{size:l,color:a}=t,r=e(t,["size","color"]);return n.createElement("svg",Object.assign({width:l,height:l,viewBox:"0 0 20 20",fill:"none"},r),n.createElement("path",{d:"M9.9998 10.8567 6.943 7.7999C6.6118 7.4687 6.0742 7.4687 5.743 7.7999 5.4118 8.1311 5.4118 8.6687 5.743 8.9999L9.4342 12.6911C9.747 13.0039 10.2534 13.0039 10.5654 12.6911L14.2566 8.9999C14.5878 8.6687 14.5878 8.1311 14.2566 7.7999 13.9254 7.4687 13.3878 7.4687 13.0566 7.7999L9.9998 10.8567Z",fill:a}))};Ie.defaultProps={size:24,color:Y.colors.gray600};const ze=i(((t,l)=>{var{keepSearch:a=!1}=t,r=e(t,["keepSearch"]);return a?n.createElement(Pe,Object.assign({},r,{ref:l})):n.createElement(Fe,Object.assign({},r,{ref:l}))})),Pe=i(((t,l)=>{var{value:a,defaultValue:r,onChange:i,clearable:o}=t,c=e(t,["value","defaultValue","onChange","clearable"]);const[s,d]=W({value:a,defaultValue:r,onChange:i});return n.createElement(f,Object.assign({ref:l,rightSection:n.createElement(b,{src:Q.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onChange:e=>d(e),value:s},c,o&&(null==s?void 0:s.length)>0?{rightSection:n.createElement(E,{onClick:()=>{d("")},sx:{cursor:"pointer"}},n.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))})),Fe=i(((t,l)=>{var{searchValue:a,onSearchChange:r}=t,i=e(t,["searchValue","onSearchChange"]);const[o,c]=W({defaultValue:"",value:a,onChange:r});return n.createElement(C,Object.assign({ref:l,rightSection:n.createElement(Ie,{size:18}),rightSectionProps:{style:{pointerEvents:"none"}},size:"md",maxDropdownHeight:300,onSearchChange:e=>c(e),searchValue:o},i,i.clearable&&(null==o?void 0:o.length)>0?{rightSection:n.createElement(E,{onClick:()=>{c("")},sx:{cursor:"pointer"}},n.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))})),Te={[X.Vietnam]:"vi",[X.Cambodia]:"km",[X.India]:"hi",[X.Indonesia]:"id",[X.Malaysia]:"ms",[X.Thailand]:"th",[X.Taiwan]:"zh-tw",[X.PhilippinesTagalog]:"tl-ph",[X.PhilippinesEnglish]:"en",[X.Myanmar]:"my"},De={[X.Vietnam]:()=>import("dayjs/locale/vi.js"),[X.Cambodia]:()=>import("dayjs/locale/km.js"),[X.India]:()=>import("dayjs/locale/hi.js"),[X.Indonesia]:()=>import("dayjs/locale/id.js"),[X.Malaysia]:()=>import("dayjs/locale/ms.js"),[X.Thailand]:()=>import("dayjs/locale/th.js"),[X.Taiwan]:()=>import("dayjs/locale/zh-tw.js"),[X.PhilippinesTagalog]:()=>import("dayjs/locale/tl-ph.js"),[X.PhilippinesEnglish]:()=>import("dayjs/locale/en.js"),[X.Myanmar]:()=>import("dayjs/locale/my.js")},Ne=e=>{const[l,n]=a(!1);return o((()=>{t(void 0,void 0,void 0,(function*(){var t;n(!1),yield null===(t=De[e])||void 0===t?void 0:t.call(De),J.locale(Te[e]),n(!0)}))}),[e]),{isLoaded:l}},$e=()=>"undefined"!=typeof window&&window.innerWidth<ee.BREAK_POINT_MOBILE,We=()=>"undefined"!=typeof window&&window.innerWidth>=ee.BREAK_POINT_MOBILE&&window.innerWidth<ee.BREAK_POINT_PC,Ue=()=>{const[e,t]=a($e()),[l,n]=a(We());return o((()=>{const e=()=>{t($e()),n(We())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:e,isLargeMobile:l}};class _e extends c{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||n.createElement(n.Fragment,null):this.props.children}}const Ge=t=>{var{slidesToShow:l=1,children:a}=t,r=e(t,["slidesToShow","children"]);return(Array.isArray(a)?a.length:1)?n.createElement(_e,null,n.createElement(ne,Object.assign({slideSize:String(Math.floor(1/l*1e4)/100)+"%",containScroll:"trimSnaps"},r),a)):null};Ge.Slide=ne.Slide;const Ke=le(Ge)`
|
|
8
8
|
cursor: grab;
|
|
9
9
|
width: 100%;
|
|
10
10
|
.mantine-Carousel-control {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as a}from"./tslib.es6-
|
|
1
|
+
import{_ as a}from"./tslib.es6-e88b4ce3.js";import t from"react";var e="P03rcnV",d="LsvykAk",o="S2kaD9B",c="fAwTdkg",i="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";const l=l=>{var{size:C,color:m="primary",theme:u="helloSites",isDisabled:h,isBlock:p,title:P,className:g,onClick:k,icon:v,iconPosition:E="left",children:b,isLoading:y=!1,loadingText:N,dataEventCategory:f,dataEventAction:L,dataEventLabel:B,dataProductChannel:w,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:z,dataProductCategory:D,dataProductPosition:S,type:j}=l,F=a(l,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":f,"data-event-action":L,"data-event-label":B,"data-product-channel":w,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":z,"data-product-category":D,"data-product-position":S},G=t.createElement("span",{className:d},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),t.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("mask",{id:"path-1-inside-1",fill:"white"},t.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),t.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),W=(v||y)&&t.createElement("span",{className:r},y?G:v," ");return t.createElement("button",Object.assign({},M,{className:`${i} ${g||""}`,"data-size":C,"data-color":m,"data-block":p,"data-has-icon":!!v||void 0,"data-theme":u,disabled:h,onClick:a=>{!y&&!h&&k&&k(a)},title:P,"data-is-loading":y,type:j},F),t.createElement("span",{className:c},"left"===E&&W,b&&t.createElement("span",{className:o},y&&N||b),"right"===E&&W))};export{l as B};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as o}from"./tslib.es6-e88b4ce3.js";import t from"react";import{Indicator as e}from"@mantine/core";import"dayjs";import"./screenSizeContext-6250deff.js";import"styled-components";import{t as s}from"./theme-b742a282.js";import"./index-1544c950.js";import"./isProduction-abad368e.js";import"./Onboarding-c4c73809.js";import"./gAssets.js";const r=r=>{var{styles:i,color:n=s.colors.red700}=r,a=o(r,["styles","color"]);return t.createElement(e,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:n},a))};export{r as I};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-e88b4ce3.js";import t,{useMemo as n,useState as a,useEffect as o}from"react";import{L as l}from"./Onboarding-c4c73809.js";import{CommonGAssets as r}from"./gAssets.js";import{t as i}from"./theme-b742a282.js";import c from"styled-components";import{I as s,g as d}from"./index-ce22b3b6.js";import{T as p}from"./index-88dd5ac1.js";const m=c.div`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
width: ${e=>e.size}px;
|
|
@@ -36,9 +36,9 @@ import{_ as e}from"./tslib.es6-049ed08d.js";import t,{useMemo as n,useState as a
|
|
|
36
36
|
& > * {
|
|
37
37
|
pointer-events: none;
|
|
38
38
|
}
|
|
39
|
-
`,
|
|
39
|
+
`,b=[l.Myanmar,l.Taiwan],h=c((a=>{var{icon:o,name:l,className:c,locale:d="en-PH",dataEventCategory:h,dataEventAction:v,dataEventLabel:u,onSelect:x}=a,k=e(a,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const C=n((()=>null==c?void 0:c.includes("selected-week-pill")),[c]);return t.createElement(g,Object.assign({onClick:x,className:c?"week-pill".concat(" non-pointer-event-child ",c):"week-pill non-pointer-event-child","data-event-category":h,"data-event-action":v,"data-event-label":u},k),t.createElement(m,{size:64,iconSize:40,backgroundColor:i.colors.white},t.createElement(s,{src:o||r.getAssetPath("week_default.png"),alt:`week ${l}`})),C?t.createElement(p,Object.assign({type:"semiBold",size:"n1",color:i.colors.gray800},b.includes(d)&&{style:{fontSize:"10px"}}),l):t.createElement(p,Object.assign({size:"n1",color:i.colors.gray600},b.includes(d)&&{style:{fontSize:"10px"}}),l))}))`
|
|
40
40
|
box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
|
|
41
|
-
`,
|
|
41
|
+
`,v=c(d.Slide)`
|
|
42
42
|
cursor: pointer;
|
|
43
43
|
> div * {
|
|
44
44
|
pointer-events: none;
|
|
@@ -47,4 +47,4 @@ import{_ as e}from"./tslib.es6-049ed08d.js";import t,{useMemo as n,useState as a
|
|
|
47
47
|
.centerred-pill-wrapper {
|
|
48
48
|
padding: 16px 0;
|
|
49
49
|
}
|
|
50
|
-
`,x=n=>{var{data:r,isMobile:i,onSlideChange:c,pillProps:s,locale:d=l.Vietnam,blurFromIndex:p,blurLength:m}=n,g=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const
|
|
50
|
+
`,x=n=>{var{data:r,isMobile:i,onSlideChange:c,pillProps:s,locale:d=l.Vietnam,blurFromIndex:p,blurLength:m}=n,g=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const b={withControls:!i,slideGap:16,blurFromCenter:!0,blurFromIndex:p||(i?2:4),blurLength:m||(i?1:3),onSlideChange:c},[x,C]=a("");return o((()=>{C(window.location.href)}),[]),t.createElement(u,Object.assign({},b,g,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(k,{currentUrl:x}),nextControlIcon:t.createElement(k,{currentUrl:x,isRight:!0})}),(e=>r.map(((n,a)=>t.createElement(v,Object.assign({key:a,onClick:c,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x}},s),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(h,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":x,locale:d,name:n.name,icon:n.icon,className:a===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))},k=({isRight:e,currentUrl:n})=>t.createElement("svg",{viewBox:"0 0 15 15",fill:"none",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":n,className:"pointer-event-child-none"},t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));export{x as P};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{useContext as i,useState as t,useEffect as o}from"react";import{M as n}from"./screenSizeContext-
|
|
1
|
+
import e,{useContext as i,useState as t,useEffect as o}from"react";import{M as n}from"./screenSizeContext-6250deff.js";import l from"styled-components";import{_ as a}from"./tslib.es6-e88b4ce3.js";import{b as r}from"./index.styles-d0bb1e03.js";const d=l.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-e88b4ce3.js";import t from"react";import{Image as r}from"@mantine/core";import{DatePickerInput as o}from"@mantine/dates";import{I as s}from"./index-1544c950.js";import{L as i}from"./Onboarding-c4c73809.js";import{CommonGAssets as a}from"./gAssets.js";import{M as n}from"./index-ce22b3b6.js";const l=l=>{var m,{value:c,fullWidth:d=!0}=l,p=e(l,["value","fullWidth"]);return t.createElement(o,Object.assign({locale:n[process.env.UNIFY_LOCALE||i.Vietnam],valueFormat:null===(m=s[process.env.UNIFY_LOCALE||i.Vietnam])||void 0===m?void 0:m.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:t.createElement(r,{src:a.getAssetPath(p.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},p,{className:`input-control ${(null==p?void 0:p.className)||""}`}))};export{l as D};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-e88b4ce3.js";import t from"react";import{Modal as s,CloseButton as l}from"@mantine/core";import{CommonGAssets as o}from"./gAssets.js";import{j as a}from"./index-ce22b3b6.js";import{T as n}from"./index-71cce804.js";const r=r=>{var{title:i,styles:m}=r,c=e(r,["title","styles"]);const{classes:d}=a(void 0,{name:"Modal",styles:m});return t.createElement(t.Fragment,null,t.createElement(s,Object.assign({centered:!0,classNames:d},c,{withCloseButton:!1,title:c.withCloseButton&&t.createElement(t.Fragment,null,t.createElement(n,{size:"s2",weight:"semiBold",as:"span"},i),t.createElement(l,Object.assign({},c.closeButtonProps,{onClick:()=>{var e;return null===(e=c.onClose)||void 0===e?void 0:e.call(c)},sx:{":focus":{outline:0}}}),t.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:o.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};export{r as M};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as l,memo as r,useCallback as o,useImperativeHandle as s,forwardRef as c,createContext as d,useContext as m}from"react";import{T as p,I as g}from"./index-d383d324.js";import{e as h,f as u,g as b,h as v,i as y,j as f,k as x,l as w,m as E,n as k,o as C,p as B,q as N,r as D,s as $,t as z,u as L,v as P,H as S,T,w as M,Z as I,P as j,x as A,y as O,z as _,A as F,B as H,b as R,C as W,E as U,F as V}from"./index.styles-de1b2c0a.js";import{i as G,M as Z}from"./screenSizeContext-7554eeca.js";import{R as q,u as Y,A as X,a as K,b as J,B as Q,c as ee,I as te,d as ae,e as ne,t as ie}from"./index-6bdc378c.js";import{T as le}from"./index-a4d06ec2.js";import{b as re,u as oe}from"./useTranslations-ac75c3b5.js";import"lodash/debounce";import{i as se}from"./isProduction-664c937a.js";import{d as ce,L as de,F as me,Q as pe,R as ge,a as he,G as ue}from"./index-f9e1b776.js";import"./useCategory-06b1ac21.js";import{CommonGAssets as be}from"./gAssets.js";import{t as ve}from"./theme-4e8e8b15.js";import{_ as ye,a as fe}from"./tslib.es6-049ed08d.js";import{Box as xe,Radio as we,Flex as Ee,rem as ke,Card as Ce,Group as Be,createStyles as Ne,Stack as De,getStylesRef as $e,useMantineTheme as ze,Container as Le,UnstyledButton as Pe,AspectRatio as Se,ScrollArea as Te,Chip as Me,Badge as Ie,MultiSelect as je,Stepper as Ae}from"@mantine/core";import Oe from"innertext";import"@mantine/dates";import{G as _e,L as Fe}from"./Onboarding-68d1528c.js";import He from"dayjs";import Re,{keyframes as We,css as Ue}from"styled-components";import"./translationsContext-c0070e3d.js";import"string-format";import{useViewportSize as Ve}from"@mantine/hooks";import{i as Ge}from"./index-e720efb7.js";import Ze from"lodash/throttle";import{L as qe}from"./index-2c2cad0f.js";import{B as Ye}from"./index-c76b3f54.js";import{I as Xe}from"./index-6d45683b.js";import Ke from"html-react-parser";import{format as Je,addDays as Qe,isBefore as et,startOfMonth as tt,addMonths as at,subMonths as nt,getDaysInMonth as it,isToday as lt,isSameDay as rt,isWithinInterval as ot,isAfter as st,isPast as ct}from"date-fns";import"./utils-6d392ba9.js";import"./index.styled-b4ecc267.js";import"./index-1323444f.js";import{L as dt}from"./constants-cd30a2ef.js";import{D as mt}from"./types-4b3d239f.js";import{S as pt}from"./index-9a001123.js";import{M as gt}from"./index-f1588f5b.js";import{b as ht}from"./index.styled-c1cf9add.js";import{C as ut}from"./index-b7d26e74.js";import{useForm as bt,Controller as vt}from"react-hook-form";import{u as yt}from"./useHealthToolCache-b8f3e0c0.js";import{yupResolver as ft}from"@hookform/resolvers/yup";import{B as xt,D as wt}from"./index-b0a8909d.js";import{f as Et}from"./index-1a53fa06.js";import kt from"react-day-picker/DayPickerInput";import{a as Ct}from"./useOutsideClick-16362daf.js";import Bt from"date-fns/locale/en-US";import Nt from"date-fns/locale/id";import Dt from"date-fns/locale/vi";import $t from"date-fns/locale/zh-TW";import{g as zt}from"./getSocialList-af3a248b.js";import{v4 as Lt}from"uuid";import{g as Pt,a as St}from"./routing-8c059442.js";import{useForm as Tt,isNotEmpty as Mt}from"@mantine/form";import{M as It}from"./index-fc9f2e23.js";import jt from"js-cookie";import At from"lodash/flatten";import"react-contenteditable";import"react-dom";import Ot from"lodash/uniqBy";var _t="CHw-fZZ",Ft="_03U6VRS",Ht="EO828Vv";const Rt=({style:t,onClose:a,text:n,type:i,contentIcon:l,closeIcon:r,className:o,description:s})=>e.createElement("div",{className:`${_t} ${o||""}`,style:t,"data-alert-type":i},e.createElement("div",{className:Ft},e.createElement("div",{className:"icon-title"},l,e.createElement(p,{weight:"bold",size:"label1"},n)),e.createElement(p,{weight:"regular",size:"p3"},s)),e.createElement("div",{className:Ht,onClick:a},r)),Wt=({amount:t,type:a,size:n="medium",color:i="primary",icon:l,className:r})=>e.createElement(h,{"data-notification-type":a,"data-notification-size":n,"data-notification-color":i,"data-has-icon":!!l||void 0,notificationType:a,notificationSize:n,notificationColor:i,hasIcon:!!l,className:r},e.createElement("div",null,t&&e.createElement("span",null,t)," ",l&&e.createElement("div",null,l))),Ut=({style:t,children:a,className:n,size:i="lg",type:l="bold",upperCase:r,as:o="h4",color:s})=>e.createElement(u,{style:Object.assign({color:s},t),className:n,"data-size":i,"data-type":l,"data-uppercase":r,as:o},a),Vt=()=>e.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),Gt=()=>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)"})),qt=()=>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)"})),Yt=({className:n,value:i,options:l,onUploadSelected:r,id:o,placeholderIcon:s,placeholder:c,style:d})=>{const[m,p]=t(!1),g=()=>p(!m),h=a(l.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+o+"-"+t.value,key:"uploader-dropdown-input-"+o+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),r(e.target.files)}}))));return e.createElement(b,{className:n,"data-dropdown-open":!!m,id:o,"data-has-icons":!0,style:d,onBlur:()=>p(!1),tabIndex:0},e.createElement(Vt,null),e.createElement(v,{onClick:g},s||e.createElement(Gt,null)," ",e.createElement("span",null,i&&i.value?i.label:c)),m&&e.createElement(y,{onClick:g,"data-has-icons":!0},l.map((t=>e.createElement(f,{key:`${o}-${t.value}`,"data-selected":i&&i.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+o+"-"+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(qt,null)),t.label)))),e.createElement(e.Fragment,null,h.current))},Xt=({className:t,columns:a,columnsDesktop:n,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,gap:r,children:o,justifyChildren:s,style:c,alignItems:d})=>e.createElement(w,{className:t,style:c,theme:{columns:a,columnsDesktop:n,gap:r,justifyChildren:s,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,alignItems:d}},o),Kt=({pagesAmount:a,activePage:n,handlePageChange:r,handleClick:o,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(l,null,n>4&&e.createElement(l,null,e.createElement(C,{onClick:()=>r(1)},s?e.createElement("a",{href:s,onClick:o},1):1),e.createElement(C,null,"...")),m.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===n||void 0,onClick:()=>r(t)},s?e.createElement("a",{href:G(s,t,c),onClick:o},t):t))),n<d.length-3&&e.createElement(l,null,e.createElement(C,null,"..."),e.createElement(C,{onClick:()=>r(d.length)},s?e.createElement("a",{href:G(s,d.length,c),onClick:o},d.length):d.length)))},Jt=({className:a,pagesAmount:l,currentPage:r,onChange:o,onClick:s,style:c,href:d,queryPageName:m="page"})=>{const p=[...Array(l)].map(((e,t)=>t+1)),[g,h]=t(r),u=n((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),b=l-1,v=e=>{e<=l&&e>0&&(h(e),o(e))},y=e=>{s&&s(e)};return i((()=>{h(r)}),[r]),e.createElement(E,{className:a,style:c},e.createElement(k,{className:"prev-page",onClick:()=>v(g-1),"data-last-page":1===g||void 0},u?e.createElement("a",{href:G(u,g,m),onClick:y},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(Kt,{pagesAmount:l,activePage:g,handlePageChange:v,handleClick:y,href:u,queryPageName:m}):p.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===g||void 0,onClick:()=>v(t)},u?e.createElement("a",{href:G(u,t,m),onClick:y},t):t))),e.createElement(k,{className:"next-page",onClick:()=>v(g+1),"data-last-page":g===b+1||void 0},u?e.createElement("a",{href:G(u,g,m),onClick:y},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"}))))},Qt=({size:t="small",label:a,name:n,checked:i,value:l,className:r,isDisabled:o=!1,onChange:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:m})=>{const p=!!d&&!!c&&!!m?{"data-event-category":c,"data-event-action":d,"data-event-label":m}:{};return e.createElement(q,Object.assign({size:"small"===t?"md":"lg",label:a,name:n,checked:i,value:l,className:r,disabled:o,onChange:e=>null==s?void 0:s(e.target.value)},p))},ea=({type:t,children:a,style:n,isInline:i,isSquared:l=!1,className:r,isLight:o,hasMorePadding:s,isLink:c,isSelected:d,textProps:m={size:"sm"}})=>{const p=m.color?{"--text-props-color":m.color}:{};return e.createElement(B,{"data-is-squared":l||void 0,"data-tag-type":t,"data-is-light":o||void 0,"data-has-more-padding":s||void 0,"data-is-inline":i||void 0,style:Object.assign(Object.assign({},n),p),className:r,"data-is-selected":d||void 0,"data-is-link":c||void 0,tagType:t,isInline:i,tagHasMorePadding:s,tagIsLight:o,tagIsSquared:l,tagIsALink:c},e.createElement(le,Object.assign({},m),a))},ta=({className:t,id:a,onChange:n,checked:i,style:l,label:r})=>e.createElement(N,{className:t,style:l},e.createElement("input",{type:"checkbox",id:a,onChange:n,checked:i}),e.createElement("label",{htmlFor:a},e.createElement(D,null),r&&e.createElement($,null,r))),aa=({label:t,name:a,checked:n,className:i,isDisabled:l,onChange:r,value:o,isRectangle:s,inputDataTestId:c,siteType:d})=>e.createElement(z,{className:i,"data-disabled":l||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:()=>r(o,!n),disabled:l,value:o,id:`${a}-${o}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${o}`},t)),na=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"})),ia=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"})),la=t=>{const a=re();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"})))},ra=({gap:a=2,size:n=24,star:i,totalStars:l=5,onSelect:r,hideEmptyStars:o,style:s,className:c})=>{const d=Math.floor(i),m=i-d>=.5?1:0,[p,g]=t(null),h=p||d,u=p?0:m;return e.createElement(L,{"data-selectable":!!r,style:Object.assign({"--gap":a,"--star-size":n},s),className:c},Array.from({length:o?d+m:l}).map(((t,a)=>{const n=()=>!!r&&g(a+1),i=()=>!!r&&g(null);return a+1<=h?e.createElement(ia,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i}):a+1===h+u?e.createElement(la,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i}):e.createElement(na,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i})})))},oa=l=>{var{label:r,availableValue:o,styles:s,isBaby:c,genderValue:d={male:"male",female:"female"}}=l,m=ye(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=oe(),{classes:h,cx:u}=P(void 0,{name:"GenderOptionControl",styles:s}),[b,v]=t(),y=a(null),f=n((()=>[{value:d.male,label:g(c?"gender.boy":"gender.male"),icon:be.getAssetPath(c?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:d.female,label:g(c?"gender.girl":"gender.female"),icon:be.getAssetPath(c?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return i((()=>{v(o)}),[o]),e.createElement(xe,{ref:y,className:h.root},e.createElement(we.Group,Object.assign({className:"radio-group",label:e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},r||g(c?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},m,{classNames:{error:h.groupErr}}),e.createElement(Ee,{className:u(h.wrapper)},f.map((t=>e.createElement(we,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:t.value,value:t.value},b&&t.value!==b&&{disabled:!0},{label:e.createElement(Ee,{gap:ke(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 sa="tliWyii";const ca=({className:t,theme:a,hideText:n})=>{const{t:i}=oe();return e.createElement("div",{className:`${sa} ${t}`},e.createElement(g.Spinner,{isMarryBaby:"marryBaby"===a}),!n&&i("loading"))};var da="PiqKaXk",ma="HgbW6-m",pa="_6lkfLYy",ga="j7c-onH";const ha=({avatarImg:t,authorName:a,authorLink:n,uploadTime:i,size:l})=>e.createElement("div",{className:ga},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":l},t),e.createElement("div",{className:"poster","data-is-disabled-url":!n},e.createElement(p,{size:"lg"===l?"p3":"p4"},e.createElement("a",{href:n},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,i))))),ua=({isMobile:t,avatarImg:a,name:n,link:i,size:l="lg",specialty:r})=>e.createElement("div",{className:ga},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":l},a),e.createElement("div",{className:"expert","data-is-disabled-url":!i},t?e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n),e.createElement(p,{color:ve.colors.gray500,size:"p3",className:"specialty"},r)):e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n))):e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n),e.createElement(p,{color:ve.colors.gray500,size:"p3",className:"specialty"},r)):e.createElement(e.Fragment,null,e.createElement("h6",{color:ve.colors.gray600,className:`${da} expert__name`},n),e.createElement(p,{color:ve.colors.gray500,size:"p4",className:"specialty"},r)))))),ba=r((()=>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=r((({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=r((({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"})))),fa=({articleLink:t,authorLink:a,authorName:n,avatarImg:i,banner:l,categoryLink:r,categoryName:o,className:s,dataEventActionForBanner:c,dataEventActionForBookmark:d,dataEventActionForCategory:m,dataEventActionForTitle:g,dataEventCategoryForBanner:h,dataEventCategoryForBookmark:u,dataEventCategoryForCategory:b,dataEventCategoryForTitle:v,dataEventLabelForBanner:y,dataEventLabelForBookmark:f,dataEventLabelForCategory:x,dataEventLabelForTitle:w,direction:E="horizontal",hasAffiliate:k,isBookmark:C=!1,isBookmarkDisplayed:B=!0,isMobile:N=!0,onBookmark:D,onClickCategoryName:$,section:z="normal",size:L="md",specialty:P,style:T,styleBanner:M,styleLabel:I,styleTitle:j,text:A,title:O,type:_="author",uploadTime:F,articleLinkTarget:H,isPremium:R})=>{const W=e=>{e.stopPropagation(),null==D||D()},U="lg"===L&&"expert"===_?"h4":"lg"===L&&"home"===z?N?"h4":"h3":"lg"===L?"h4":"h5",V="lg"===L?"p3":"p4",G=N||"home"!==z||"lg"!==L||"author"!==_?"c2":"c1";return e.createElement("article",{className:`${pa} ${s||""}`,"data-size":L,style:T,"data-direction":E,"data-is-expert":"expert"===_||void 0},e.createElement("div",{className:"banner",style:M},e.createElement("a",{className:ma,"data-event-category":h,"data-event-action":c,"data-event-label":y,href:t||"#",target:H},l),R&&e.createElement("img",{loading:"lazy",className:"premium",src:be.getAssetPath("premium-crown.svg")}),k&&e.createElement(ba,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(p,{style:I,className:"label",size:G,weight:"caption"},e.createElement("a",{className:ma,"data-event-category":b,"data-event-action":m,"data-event-label":x,href:r||"#",onClick:$},o),B&&e.createElement("a",{className:"bookmark",onClick:W},C?e.createElement(va,{dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ya,{dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))),e.createElement(S,{tag:U,style:j,className:"title",as:"lg"===L?"h2":"h3"},e.createElement("a",{className:ma,"data-event-category":v,"data-event-action":g,"data-event-label":w,href:t||"#",target:H},O)),A&&e.createElement("a",{href:t||"#",target:H},e.createElement(p,{size:V,className:"text"},A))),e.createElement("div",{className:"footer"},"author"===_?e.createElement(ha,{size:L,avatarImg:i,authorName:n,authorLink:a,uploadTime:F,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ua,{size:L,isMobile:N,avatarImg:i,specialty:P,name:n,link:a,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))))},xa=t=>{var a,n,i,{article:l,author:r,authorAvatar:o,badge:s="",hideDescription:c=!1,isBookmarked:d=!1,onBookmark:m,time:g,tracking:h}=t,u=ye(t,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:b}=Y();return console.log({article:l}),e.createElement(Ce,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},u),e.createElement(Ce.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},e.createElement("img",{src:(b?l.featureImageMobile:l.featureImage)||l.featureImage,alt:l.postName,style:{width:"100%"},loading:"lazy"})),e.createElement(Ce.Section,null,e.createElement(Be,{position:"apart",mt:16,mb:4},e.createElement(X,{href:(null===(a=null==l?void 0:l.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==l?void 0:l.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(xe,{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==h?void 0:h.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==h?void 0:h.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"},l.postTitle||l.postName||""),!c&&e.createElement(p,{size:"p2",mb:16,lineClamp:3,className:"pointer"},Oe(l.excerpt||l.description||(null===(i=l.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),e.createElement(Ee,{gap:12,align:"center"},e.createElement(K,{size:32,src:o,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"},r," • ",g))))};var wa=Ne(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Ea=648/440,ka=1.5,Ca=t=>{var a,i,l,{article:r,author:o,authorAvatar:s,badge:c="",bannerImageWrapProps:d,hideDescription:m=!1,isBookmarked:g=!1,onBookmark:h,time:u,tracking:b,classNames:v,styles:y,unstyled:f,className:x}=t,w=ye(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:E}=Y(),{classes:k,cx:C}=wa({},{name:"ArticleCard",classNames:v,styles:y,unstyled:f}),B=n((()=>m?ka:Ea),[m]);return e.createElement(Ce,Object.assign({className:C(k.root,x),padding:"lg",radius:0},w),e.createElement(Ce.Section,{className:C(k.image,"pointer")},e.createElement(J,Object.assign({ratio:B},d),e.createElement("img",{src:(E?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{objectFit:"cover"}}))),e.createElement(Ce.Section,null,e.createElement(Be,{position:"apart",mt:16,mb:4},e.createElement(X,{className:k.category,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===(i=null==r?void 0:r.primaryCategory)||void 0===i?void 0:i.displayName)),e.createElement(xe,{sx:{cursor:"pointer"},role:"button",onClick:h},g?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"},r.postTitle||r.postName||""),!m&&e.createElement(p,{className:C(k.description,"pointer"),size:"p2",mb:16,lineClamp:3},Oe(r.excerpt||r.description||(null===(l=r.postContent)||void 0===l?void 0:l.split("\r\n")[0])||"")),e.createElement(Ee,{className:k.author,gap:12,align:"center"},e.createElement(K,{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"},o," • ",u))))},Ba=t=>{var{variant:a="vertical"}=t,n=ye(t,["variant"]);return"horizontal"===a?e.createElement(xa,Object.assign({},n)):e.createElement(Ca,Object.assign({},n))},Na=Re.a`
|
|
1
|
+
import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as l,memo as r,useCallback as o,useImperativeHandle as s,forwardRef as c,createContext as d,useContext as m}from"react";import{T as p,I as g}from"./index-71cce804.js";import{e as h,f as u,g as b,h as v,i as y,j as f,k as x,l as w,m as E,n as k,o as C,p as B,q as N,r as D,s as $,t as z,u as L,v as P,H as S,T,w as M,Z as I,P as j,x as A,y as O,z as _,A as F,B as H,b as R,C as W,E as U,F as V}from"./index.styles-d0bb1e03.js";import{i as G,M as Z}from"./screenSizeContext-6250deff.js";import{R as q,u as Y,A as X,a as K,b as J,B as Q,c as ee,I as te,d as ae,e as ne,t as ie}from"./index-ce22b3b6.js";import{T as le}from"./index-88dd5ac1.js";import{b as re,u as oe}from"./useTranslations-5eee897f.js";import"lodash/debounce";import{i as se}from"./isProduction-abad368e.js";import{d as ce,L as de,F as me,Q as pe,R as ge,a as he,G as ue}from"./index-1544c950.js";import"./useCategory-8ca1a4e9.js";import{CommonGAssets as be}from"./gAssets.js";import{t as ve}from"./theme-b742a282.js";import{_ as ye,a as fe}from"./tslib.es6-e88b4ce3.js";import{Box as xe,Radio as we,Flex as Ee,rem as ke,Card as Ce,Group as Be,createStyles as Ne,Stack as De,getStylesRef as $e,useMantineTheme as ze,Container as Le,UnstyledButton as Pe,AspectRatio as Se,ScrollArea as Te,Chip as Me,Badge as Ie,MultiSelect as je,Stepper as Ae}from"@mantine/core";import Oe from"innertext";import"@mantine/dates";import{G as _e,L as Fe}from"./Onboarding-c4c73809.js";import He from"dayjs";import Re,{keyframes as We,css as Ue}from"styled-components";import"./translationsContext-8a8e6199.js";import"string-format";import{useViewportSize as Ve}from"@mantine/hooks";import{i as Ge}from"./index-189110e3.js";import Ze from"lodash/throttle";import{L as qe}from"./index-45ccfa83.js";import{B as Ye}from"./index-d1155f84.js";import{I as Xe}from"./index-7ddebb37.js";import Ke from"html-react-parser";import{format as Je,addDays as Qe,isBefore as et,startOfMonth as tt,addMonths as at,subMonths as nt,getDaysInMonth as it,isToday as lt,isSameDay as rt,isWithinInterval as ot,isAfter as st,isPast as ct}from"date-fns";import"./utils-5f14f492.js";import"./index.styled-42d7d883.js";import"./index-1022850c.js";import{L as dt}from"./constants-27004e00.js";import{D as mt}from"./types-c068166d.js";import{S as pt}from"./index-6c4d5409.js";import{M as gt}from"./index-0c8e02fe.js";import{b as ht}from"./index.styled-88839824.js";import{C as ut}from"./index-af869181.js";import{useForm as bt,Controller as vt}from"react-hook-form";import{u as yt}from"./useHealthToolCache-6d26332c.js";import{yupResolver as ft}from"@hookform/resolvers/yup";import{B as xt,D as wt}from"./index-631a0653.js";import{f as Et}from"./index-e2470261.js";import kt from"react-day-picker/DayPickerInput";import{a as Ct}from"./useOutsideClick-f7dbc152.js";import Bt from"date-fns/locale/en-US";import Nt from"date-fns/locale/id";import Dt from"date-fns/locale/vi";import $t from"date-fns/locale/zh-TW";import{g as zt}from"./getSocialList-faff643c.js";import{v4 as Lt}from"uuid";import{g as Pt,a as St}from"./routing-e07218b4.js";import{useForm as Tt,isNotEmpty as Mt}from"@mantine/form";import{M as It}from"./index-f6066f6e.js";import jt from"js-cookie";import At from"lodash/flatten";import"react-contenteditable";import"react-dom";import Ot from"lodash/uniqBy";var _t="CHw-fZZ",Ft="_03U6VRS",Ht="EO828Vv";const Rt=({style:t,onClose:a,text:n,type:i,contentIcon:l,closeIcon:r,className:o,description:s})=>e.createElement("div",{className:`${_t} ${o||""}`,style:t,"data-alert-type":i},e.createElement("div",{className:Ft},e.createElement("div",{className:"icon-title"},l,e.createElement(p,{weight:"bold",size:"label1"},n)),e.createElement(p,{weight:"regular",size:"p3"},s)),e.createElement("div",{className:Ht,onClick:a},r)),Wt=({amount:t,type:a,size:n="medium",color:i="primary",icon:l,className:r})=>e.createElement(h,{"data-notification-type":a,"data-notification-size":n,"data-notification-color":i,"data-has-icon":!!l||void 0,notificationType:a,notificationSize:n,notificationColor:i,hasIcon:!!l,className:r},e.createElement("div",null,t&&e.createElement("span",null,t)," ",l&&e.createElement("div",null,l))),Ut=({style:t,children:a,className:n,size:i="lg",type:l="bold",upperCase:r,as:o="h4",color:s})=>e.createElement(u,{style:Object.assign({color:s},t),className:n,"data-size":i,"data-type":l,"data-uppercase":r,as:o},a),Vt=()=>e.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),Gt=()=>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)"})),qt=()=>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)"})),Yt=({className:n,value:i,options:l,onUploadSelected:r,id:o,placeholderIcon:s,placeholder:c,style:d})=>{const[m,p]=t(!1),g=()=>p(!m),h=a(l.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+o+"-"+t.value,key:"uploader-dropdown-input-"+o+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),r(e.target.files)}}))));return e.createElement(b,{className:n,"data-dropdown-open":!!m,id:o,"data-has-icons":!0,style:d,onBlur:()=>p(!1),tabIndex:0},e.createElement(Vt,null),e.createElement(v,{onClick:g},s||e.createElement(Gt,null)," ",e.createElement("span",null,i&&i.value?i.label:c)),m&&e.createElement(y,{onClick:g,"data-has-icons":!0},l.map((t=>e.createElement(f,{key:`${o}-${t.value}`,"data-selected":i&&i.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+o+"-"+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(qt,null)),t.label)))),e.createElement(e.Fragment,null,h.current))},Xt=({className:t,columns:a,columnsDesktop:n,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,gap:r,children:o,justifyChildren:s,style:c,alignItems:d})=>e.createElement(w,{className:t,style:c,theme:{columns:a,columnsDesktop:n,gap:r,justifyChildren:s,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,alignItems:d}},o),Kt=({pagesAmount:a,activePage:n,handlePageChange:r,handleClick:o,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(l,null,n>4&&e.createElement(l,null,e.createElement(C,{onClick:()=>r(1)},s?e.createElement("a",{href:s,onClick:o},1):1),e.createElement(C,null,"...")),m.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===n||void 0,onClick:()=>r(t)},s?e.createElement("a",{href:G(s,t,c),onClick:o},t):t))),n<d.length-3&&e.createElement(l,null,e.createElement(C,null,"..."),e.createElement(C,{onClick:()=>r(d.length)},s?e.createElement("a",{href:G(s,d.length,c),onClick:o},d.length):d.length)))},Jt=({className:a,pagesAmount:l,currentPage:r,onChange:o,onClick:s,style:c,href:d,queryPageName:m="page"})=>{const p=[...Array(l)].map(((e,t)=>t+1)),[g,h]=t(r),u=n((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),b=l-1,v=e=>{e<=l&&e>0&&(h(e),o(e))},y=e=>{s&&s(e)};return i((()=>{h(r)}),[r]),e.createElement(E,{className:a,style:c},e.createElement(k,{className:"prev-page",onClick:()=>v(g-1),"data-last-page":1===g||void 0},u?e.createElement("a",{href:G(u,g,m),onClick:y},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(Kt,{pagesAmount:l,activePage:g,handlePageChange:v,handleClick:y,href:u,queryPageName:m}):p.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===g||void 0,onClick:()=>v(t)},u?e.createElement("a",{href:G(u,t,m),onClick:y},t):t))),e.createElement(k,{className:"next-page",onClick:()=>v(g+1),"data-last-page":g===b+1||void 0},u?e.createElement("a",{href:G(u,g,m),onClick:y},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"}))))},Qt=({size:t="small",label:a,name:n,checked:i,value:l,className:r,isDisabled:o=!1,onChange:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:m})=>{const p=!!d&&!!c&&!!m?{"data-event-category":c,"data-event-action":d,"data-event-label":m}:{};return e.createElement(q,Object.assign({size:"small"===t?"md":"lg",label:a,name:n,checked:i,value:l,className:r,disabled:o,onChange:e=>null==s?void 0:s(e.target.value)},p))},ea=({type:t,children:a,style:n,isInline:i,isSquared:l=!1,className:r,isLight:o,hasMorePadding:s,isLink:c,isSelected:d,textProps:m={size:"sm"}})=>{const p=m.color?{"--text-props-color":m.color}:{};return e.createElement(B,{"data-is-squared":l||void 0,"data-tag-type":t,"data-is-light":o||void 0,"data-has-more-padding":s||void 0,"data-is-inline":i||void 0,style:Object.assign(Object.assign({},n),p),className:r,"data-is-selected":d||void 0,"data-is-link":c||void 0,tagType:t,isInline:i,tagHasMorePadding:s,tagIsLight:o,tagIsSquared:l,tagIsALink:c},e.createElement(le,Object.assign({},m),a))},ta=({className:t,id:a,onChange:n,checked:i,style:l,label:r})=>e.createElement(N,{className:t,style:l},e.createElement("input",{type:"checkbox",id:a,onChange:n,checked:i}),e.createElement("label",{htmlFor:a},e.createElement(D,null),r&&e.createElement($,null,r))),aa=({label:t,name:a,checked:n,className:i,isDisabled:l,onChange:r,value:o,isRectangle:s,inputDataTestId:c,siteType:d})=>e.createElement(z,{className:i,"data-disabled":l||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:()=>r(o,!n),disabled:l,value:o,id:`${a}-${o}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${o}`},t)),na=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"})),ia=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"})),la=t=>{const a=re();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"})))},ra=({gap:a=2,size:n=24,star:i,totalStars:l=5,onSelect:r,hideEmptyStars:o,style:s,className:c})=>{const d=Math.floor(i),m=i-d>=.5?1:0,[p,g]=t(null),h=p||d,u=p?0:m;return e.createElement(L,{"data-selectable":!!r,style:Object.assign({"--gap":a,"--star-size":n},s),className:c},Array.from({length:o?d+m:l}).map(((t,a)=>{const n=()=>!!r&&g(a+1),i=()=>!!r&&g(null);return a+1<=h?e.createElement(ia,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i}):a+1===h+u?e.createElement(la,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i}):e.createElement(na,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i})})))},oa=l=>{var{label:r,availableValue:o,styles:s,isBaby:c,genderValue:d={male:"male",female:"female"}}=l,m=ye(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=oe(),{classes:h,cx:u}=P(void 0,{name:"GenderOptionControl",styles:s}),[b,v]=t(),y=a(null),f=n((()=>[{value:d.male,label:g(c?"gender.boy":"gender.male"),icon:be.getAssetPath(c?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:d.female,label:g(c?"gender.girl":"gender.female"),icon:be.getAssetPath(c?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return i((()=>{v(o)}),[o]),e.createElement(xe,{ref:y,className:h.root},e.createElement(we.Group,Object.assign({className:"radio-group",label:e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},r||g(c?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},m,{classNames:{error:h.groupErr}}),e.createElement(Ee,{className:u(h.wrapper)},f.map((t=>e.createElement(we,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:t.value,value:t.value},b&&t.value!==b&&{disabled:!0},{label:e.createElement(Ee,{gap:ke(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 sa="tliWyii";const ca=({className:t,theme:a,hideText:n})=>{const{t:i}=oe();return e.createElement("div",{className:`${sa} ${t}`},e.createElement(g.Spinner,{isMarryBaby:"marryBaby"===a}),!n&&i("loading"))};var da="PiqKaXk",ma="HgbW6-m",pa="_6lkfLYy",ga="j7c-onH";const ha=({avatarImg:t,authorName:a,authorLink:n,uploadTime:i,size:l})=>e.createElement("div",{className:ga},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":l},t),e.createElement("div",{className:"poster","data-is-disabled-url":!n},e.createElement(p,{size:"lg"===l?"p3":"p4"},e.createElement("a",{href:n},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,i))))),ua=({isMobile:t,avatarImg:a,name:n,link:i,size:l="lg",specialty:r})=>e.createElement("div",{className:ga},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":l},a),e.createElement("div",{className:"expert","data-is-disabled-url":!i},t?e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n),e.createElement(p,{color:ve.colors.gray500,size:"p3",className:"specialty"},r)):e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n))):e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n),e.createElement(p,{color:ve.colors.gray500,size:"p3",className:"specialty"},r)):e.createElement(e.Fragment,null,e.createElement("h6",{color:ve.colors.gray600,className:`${da} expert__name`},n),e.createElement(p,{color:ve.colors.gray500,size:"p4",className:"specialty"},r)))))),ba=r((()=>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=r((({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=r((({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"})))),fa=({articleLink:t,authorLink:a,authorName:n,avatarImg:i,banner:l,categoryLink:r,categoryName:o,className:s,dataEventActionForBanner:c,dataEventActionForBookmark:d,dataEventActionForCategory:m,dataEventActionForTitle:g,dataEventCategoryForBanner:h,dataEventCategoryForBookmark:u,dataEventCategoryForCategory:b,dataEventCategoryForTitle:v,dataEventLabelForBanner:y,dataEventLabelForBookmark:f,dataEventLabelForCategory:x,dataEventLabelForTitle:w,direction:E="horizontal",hasAffiliate:k,isBookmark:C=!1,isBookmarkDisplayed:B=!0,isMobile:N=!0,onBookmark:D,onClickCategoryName:$,section:z="normal",size:L="md",specialty:P,style:T,styleBanner:M,styleLabel:I,styleTitle:j,text:A,title:O,type:_="author",uploadTime:F,articleLinkTarget:H,isPremium:R})=>{const W=e=>{e.stopPropagation(),null==D||D()},U="lg"===L&&"expert"===_?"h4":"lg"===L&&"home"===z?N?"h4":"h3":"lg"===L?"h4":"h5",V="lg"===L?"p3":"p4",G=N||"home"!==z||"lg"!==L||"author"!==_?"c2":"c1";return e.createElement("article",{className:`${pa} ${s||""}`,"data-size":L,style:T,"data-direction":E,"data-is-expert":"expert"===_||void 0},e.createElement("div",{className:"banner",style:M},e.createElement("a",{className:ma,"data-event-category":h,"data-event-action":c,"data-event-label":y,href:t||"#",target:H},l),R&&e.createElement("img",{loading:"lazy",className:"premium",src:be.getAssetPath("premium-crown.svg")}),k&&e.createElement(ba,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(p,{style:I,className:"label",size:G,weight:"caption"},e.createElement("a",{className:ma,"data-event-category":b,"data-event-action":m,"data-event-label":x,href:r||"#",onClick:$},o),B&&e.createElement("a",{className:"bookmark",onClick:W},C?e.createElement(va,{dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ya,{dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))),e.createElement(S,{tag:U,style:j,className:"title",as:"lg"===L?"h2":"h3"},e.createElement("a",{className:ma,"data-event-category":v,"data-event-action":g,"data-event-label":w,href:t||"#",target:H},O)),A&&e.createElement("a",{href:t||"#",target:H},e.createElement(p,{size:V,className:"text"},A))),e.createElement("div",{className:"footer"},"author"===_?e.createElement(ha,{size:L,avatarImg:i,authorName:n,authorLink:a,uploadTime:F,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ua,{size:L,isMobile:N,avatarImg:i,specialty:P,name:n,link:a,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))))},xa=t=>{var a,n,i,{article:l,author:r,authorAvatar:o,badge:s="",hideDescription:c=!1,isBookmarked:d=!1,onBookmark:m,time:g,tracking:h}=t,u=ye(t,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:b}=Y();return console.log({article:l}),e.createElement(Ce,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},u),e.createElement(Ce.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},e.createElement("img",{src:(b?l.featureImageMobile:l.featureImage)||l.featureImage,alt:l.postName,style:{width:"100%"},loading:"lazy"})),e.createElement(Ce.Section,null,e.createElement(Be,{position:"apart",mt:16,mb:4},e.createElement(X,{href:(null===(a=null==l?void 0:l.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==l?void 0:l.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(xe,{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==h?void 0:h.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==h?void 0:h.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"},l.postTitle||l.postName||""),!c&&e.createElement(p,{size:"p2",mb:16,lineClamp:3,className:"pointer"},Oe(l.excerpt||l.description||(null===(i=l.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),e.createElement(Ee,{gap:12,align:"center"},e.createElement(K,{size:32,src:o,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"},r," • ",g))))};var wa=Ne(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Ea=648/440,ka=1.5,Ca=t=>{var a,i,l,{article:r,author:o,authorAvatar:s,badge:c="",bannerImageWrapProps:d,hideDescription:m=!1,isBookmarked:g=!1,onBookmark:h,time:u,tracking:b,classNames:v,styles:y,unstyled:f,className:x}=t,w=ye(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:E}=Y(),{classes:k,cx:C}=wa({},{name:"ArticleCard",classNames:v,styles:y,unstyled:f}),B=n((()=>m?ka:Ea),[m]);return e.createElement(Ce,Object.assign({className:C(k.root,x),padding:"lg",radius:0},w),e.createElement(Ce.Section,{className:C(k.image,"pointer")},e.createElement(J,Object.assign({ratio:B},d),e.createElement("img",{src:(E?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{objectFit:"cover"}}))),e.createElement(Ce.Section,null,e.createElement(Be,{position:"apart",mt:16,mb:4},e.createElement(X,{className:k.category,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===(i=null==r?void 0:r.primaryCategory)||void 0===i?void 0:i.displayName)),e.createElement(xe,{sx:{cursor:"pointer"},role:"button",onClick:h},g?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"},r.postTitle||r.postName||""),!m&&e.createElement(p,{className:C(k.description,"pointer"),size:"p2",mb:16,lineClamp:3},Oe(r.excerpt||r.description||(null===(l=r.postContent)||void 0===l?void 0:l.split("\r\n")[0])||"")),e.createElement(Ee,{className:k.author,gap:12,align:"center"},e.createElement(K,{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"},o," • ",u))))},Ba=t=>{var{variant:a="vertical"}=t,n=ye(t,["variant"]);return"horizontal"===a?e.createElement(xa,Object.assign({},n)):e.createElement(Ca,Object.assign({},n))},Na=Re.a`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 125px;
|
|
4
4
|
|