@hhgtech/hhg-components 1.28.37 → 1.28.38
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-e54aa389.js → constants-0eb4f047.js} +1 -1
- package/build/{constants-8ef08ff5.js → constants-e96d2ece.js} +1 -1
- package/build/constants.js +1 -1
- package/build/core-f30f38c5.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +4 -4
- 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-6cfaa1ef.js → constants-7a2d44f4.js} +1 -1
- package/build/esm/{constants-2b76d121.js → constants-cbcd6af7.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-18ff4cb5.js → core-1c7188da.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-f719e4f6.js +1 -0
- package/build/esm/{getSocialList-5330dbd2.js → getSocialList-4d86a377.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-5fdbf5bc.js → index-1227ef15.js} +7 -7
- package/build/esm/{index-6127f94b.js → index-1676eb32.js} +1 -1
- package/build/esm/{index-fa625a55.js → index-25b27cff.js} +1 -1
- package/build/esm/{index-03141739.js → index-26f68f27.js} +1 -1
- package/build/esm/{index-8f2fcc98.js → index-28177e93.js} +1 -1
- package/build/esm/{index-74cef015.js → index-2b6f0e9b.js} +1 -1
- package/build/esm/{index-9991cfb3.js → index-2ee4ddec.js} +1 -1
- package/build/esm/{index-2be76d22.js → index-49ab2d83.js} +1 -1
- package/build/esm/index-5f34ea8a.js +1 -0
- package/build/esm/{index-60f16dee.js → index-7417738a.js} +1 -1
- package/build/esm/{index-6e2dd27b.js → index-7ddb3e77.js} +1 -1
- package/build/esm/{index-064bc751.js → index-94995128.js} +1 -1
- package/build/esm/{index-a2e81576.js → index-a614f12d.js} +5 -5
- package/build/esm/index-bbae56e5.js +1 -0
- package/build/esm/{index-2b4575ac.js → index-bc1920d1.js} +1 -1
- package/build/esm/{index-79f41857.js → index-c4d44ed0.js} +1 -1
- package/build/esm/{index-7684a5b9.js → index-cbaab3e0.js} +1 -1
- package/build/esm/{index-12a2d8bc.js → index-cfd43bbb.js} +1 -1
- package/build/esm/{index-162b9bde.js → index-d91c2820.js} +1 -1
- package/build/esm/{index-c9737971.js → index-df0dbf87.js} +1 -1
- package/build/esm/index-f54e2089.js +1 -0
- package/build/esm/index-fe57f91c.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-a25d7261.js → index.styled-5549d042.js} +80 -77
- package/build/esm/{index.styled-17af4657.js → index.styled-809c420f.js} +1 -1
- package/build/esm/{index.styled-46a99590.js → index.styled-849c8b68.js} +1 -1
- package/build/esm/{index.styled-36cb24ce.js → index.styled-a1700ed6.js} +4 -4
- package/build/esm/{index.styles-671382bc.js → index.styles-851aa23f.js} +8 -8
- 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-ec23ed74.js → routing-dcac8c4a.js} +1 -1
- package/build/esm/subot.js +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-232e79d1.js → types-4d587a02.js} +1 -1
- package/build/esm/{types-e1669387.js → types-9c294f18.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-00053487.js → useCategory-6467a3ef.js} +1 -1
- package/build/esm/useHealthToolCache-4cd752c9.js +1 -0
- package/build/esm/{usePlacesAutocomplete-07f0fc32.js → usePlacesAutocomplete-93927f9d.js} +1 -1
- package/build/esm/{useRafState-9968ee17.js → useRafState-0b7669dc.js} +1 -1
- package/build/esm/{useTranslations-d963b37f.js → useTranslations-8227803c.js} +1 -1
- package/build/esm/{utils-892d8a65.js → utils-3eb45b5f.js} +1 -1
- package/build/esm/{utils-98561d5e.js → utils-8385cea7.js} +1 -1
- package/build/esm/vaccination.js +11 -11
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-3e19f19a.js +1 -0
- package/build/{getSocialList-9e58358a.js → getSocialList-2847146f.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-a788941c.js → index-08523191.js} +1 -1
- package/build/index-0998a0c5.js +1 -0
- package/build/{index-6a76dedf.js → index-0a4cd502.js} +1 -1
- package/build/{index-d9c91a7a.js → index-0dbf23c5.js} +1 -1
- package/build/{index-2241f0a7.js → index-2a616e4f.js} +1 -1
- package/build/index-312d78b1.js +1 -0
- package/build/{index-b9003514.js → index-4be41dcc.js} +1 -1
- package/build/index-4e52a123.js +1 -0
- package/build/{index-8e766956.js → index-5e282599.js} +1 -1
- package/build/{index-1763366b.js → index-7181ed37.js} +1 -1
- package/build/{index-24584ae5.js → index-76c9722b.js} +1 -1
- package/build/{index-fe748c3b.js → index-92424f07.js} +1 -1
- package/build/{index-7c3ea642.js → index-945b8c4c.js} +1 -1
- package/build/{index-824143ee.js → index-9fec47c3.js} +1 -1
- package/build/{index-f8a63825.js → index-a904d87a.js} +1 -1
- package/build/{index-6b89bd1e.js → index-afe36924.js} +1 -1
- package/build/{index-5a341117.js → index-ba31e380.js} +1 -1
- package/build/{index-63e33ff2.js → index-bc1f2b16.js} +1 -1
- package/build/{index-3f6899fe.js → index-d4b1c83b.js} +1 -1
- package/build/{index-df9365fe.js → index-d8488002.js} +1 -1
- package/build/{index-db727a39.js → index-d98b3e21.js} +1 -1
- package/build/{index-8e8894d5.js → index-ea3f6695.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-380d6e0a.js → index.styled-c5cb65ad.js} +1 -1
- package/build/{index.styled-77b9479f.js → index.styled-d8b60af8.js} +5 -2
- package/build/{index.styled-40cb1c5c.js → index.styled-da6c6ef9.js} +1 -1
- package/build/index.styled-deecd39d.js +50 -0
- package/build/{index.styles-3f14873c.js → index.styles-746e11d9.js} +1 -1
- 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 +3 -3
- package/build/{routing-f6c590ab.js → routing-8c678608.js} +1 -1
- package/build/subot.js +1 -1
- package/build/together.js +1 -1
- package/build/{types-72e39367.js → types-2d664253.js} +1 -1
- package/build/{types-2439f02e.js → types-bdfb37b7.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-b165202c.js → useCategory-aeae2526.js} +1 -1
- package/build/{useHealthToolCache-b15142cb.js → useHealthToolCache-1413dbb9.js} +1 -1
- package/build/{usePlacesAutocomplete-966d009c.js → usePlacesAutocomplete-bb0a56d5.js} +1 -1
- package/build/{useRafState-af69ad6c.js → useRafState-394344d9.js} +1 -1
- package/build/{useTranslations-95cf8449.js → useTranslations-3192cbaa.js} +1 -1
- package/build/{utils-6754d753.js → utils-4ff4a11e.js} +1 -1
- package/build/utils-9c32f3d8.js +1 -0
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/core-ba7d65c8.js +0 -1
- package/build/esm/getDynamicHealthTool-7989183b.js +0 -1
- package/build/esm/index-752b7c3f.js +0 -1
- package/build/esm/index-778d5fb2.js +0 -1
- package/build/esm/index-84c08ad9.js +0 -1
- package/build/esm/index-956cdde0.js +0 -1
- package/build/esm/useHealthToolCache-cfa13b2f.js +0 -1
- package/build/getDynamicHealthTool-a7d75452.js +0 -1
- package/build/index-01f4346e.js +0 -1
- package/build/index-7adb6ca5.js +0 -1
- package/build/index-c782489f.js +0 -1
- package/build/index.styled-3570c720.js +0 -50
- package/build/utils-167797c2.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-19f4ed11.js → BMI_BOYS.percentile.monthly-ee317165.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-988c28e7.js → BMI_BOYS.percentile.weekly-2754d70e.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-2ce0172a.js → BMI_BOYS.percentile.yearly-d64ff0fa.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-0319a3ca.js → BMI_BOYS.zscore.monthly-ece74312.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-6af17a54.js → BMI_BOYS.zscore.weekly-59010a17.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-51a52dc7.js → BMI_BOYS.zscore.yearly-efd9fe72.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-49e8d16b.js → BMI_GIRLS.percentile.monthly-9c51d010.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-6852a685.js → BMI_GIRLS.percentile.weekly-a3121691.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-e769c49a.js → BMI_GIRLS.percentile.yearly-72022570.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-82c5d7a1.js → BMI_GIRLS.zscore.monthly-55498100.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-1f4764fb.js → BMI_GIRLS.zscore.weekly-f7dd48eb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-cac12266.js → BMI_GIRLS.zscore.yearly-8ff943ee.js} +0 -0
- /package/build/{ChevronDown-5b4ef88d.js → ChevronDown-9be6d6cd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-00707b2f.js → HEAD CIRCUM_BOYS.percentile.monthly-34f38f90.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-36272a6b.js → HEAD CIRCUM_BOYS.percentile.weekly-13f3abc2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-8ffd2a1b.js → HEAD CIRCUM_BOYS.percentile.yearly-6804832f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-b9037d32.js → HEAD CIRCUM_BOYS.zscore.monthly-a872324b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-acf9cc31.js → HEAD CIRCUM_BOYS.zscore.weekly-57c10b57.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-50079d83.js → HEAD CIRCUM_BOYS.zscore.yearly-b73839a6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-211234b7.js → HEAD CIRCUM_GIRLS.percentile.monthly-02355979.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-b6a1780b.js → HEAD CIRCUM_GIRLS.percentile.weekly-7fedc4ae.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-2ac79afc.js → HEAD CIRCUM_GIRLS.percentile.yearly-4d81fd7c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-39639744.js → HEAD CIRCUM_GIRLS.zscore.monthly-f942710e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-8ebb9191.js → HEAD CIRCUM_GIRLS.zscore.weekly-5102c9e2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-0a728371.js → HEAD CIRCUM_GIRLS.zscore.yearly-c9e55e1e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-a04a5707.js → HEIGHT_BOYS.percentile.monthly-10915109.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-601c6385.js → HEIGHT_BOYS.percentile.weekly-c6bbb406.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-ee7cc294.js → HEIGHT_BOYS.percentile.yearly-c8557b26.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-390392ac.js → HEIGHT_BOYS.zscore.monthly-91d6cfe2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-d0be59ca.js → HEIGHT_BOYS.zscore.weekly-7c9aad22.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-67fe48eb.js → HEIGHT_BOYS.zscore.yearly-c6ec9313.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-32fbf6d6.js → HEIGHT_GIRLS.percentile.monthly-ac83c673.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-378c22e7.js → HEIGHT_GIRLS.percentile.weekly-22b9914c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-f8a775da.js → HEIGHT_GIRLS.percentile.yearly-91cd2b20.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-eba9d82b.js → HEIGHT_GIRLS.zscore.monthly-77145c2e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-649d1e6a.js → HEIGHT_GIRLS.zscore.weekly-5b300da0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-d7566aef.js → HEIGHT_GIRLS.zscore.yearly-d8185530.js} +0 -0
- /package/build/{Subot-781f30c5.js → Subot-15363a5e.js} +0 -0
- /package/build/{Visible-0d367263.js → Visible-8bca4dc4.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-cdd83d2c.js → WEIGHT_BOYS.percentile.monthly-389c8cbe.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-08b2cc25.js → WEIGHT_BOYS.percentile.weekly-aea431df.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-78bd0332.js → WEIGHT_BOYS.percentile.yearly-5c262cc0.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-bd9c59c4.js → WEIGHT_BOYS.zscore.monthly-8e4e3ea5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-71bf2560.js → WEIGHT_BOYS.zscore.weekly-d5c5c226.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-80a65ace.js → WEIGHT_BOYS.zscore.yearly-5fc1133a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-e602fb9f.js → WEIGHT_GIRLS.percentile.monthly-b77d2fee.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-8ec40671.js → WEIGHT_GIRLS.percentile.weekly-411150c3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-6c13450f.js → WEIGHT_GIRLS.percentile.yearly-a7a5c54d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-f2dff34a.js → WEIGHT_GIRLS.zscore.monthly-2e63bc04.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-a7c88fa4.js → WEIGHT_GIRLS.zscore.weekly-81b87224.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-4c55b4b9.js → WEIGHT_GIRLS.zscore.yearly-aab31466.js} +0 -0
- /package/build/{cookieHelper-cb2c780d.js → cookieHelper-d9b9e1ab.js} +0 -0
- /package/build/{dataTransform-aa76f31c.js → dataTransform-49edb2d2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-05d05da5.js → BMI_BOYS.percentile.monthly-13f9815a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-b1aa1512.js → BMI_BOYS.percentile.weekly-cc598801.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-9a9ca29b.js → BMI_BOYS.percentile.yearly-a57120a4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-ab8c5087.js → BMI_BOYS.zscore.monthly-94993fac.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-9c26d743.js → BMI_BOYS.zscore.weekly-3da29ddd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-0c8e88bf.js → BMI_BOYS.zscore.yearly-8494fbe3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-09da7135.js → BMI_GIRLS.percentile.monthly-2e01a489.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-04cd0f7f.js → BMI_GIRLS.percentile.weekly-85ff69b3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-b96e6cdd.js → BMI_GIRLS.percentile.yearly-1136139a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-e301d83d.js → BMI_GIRLS.zscore.monthly-b9903b14.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-23ab6a7b.js → BMI_GIRLS.zscore.weekly-1abf9031.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-576720ea.js → BMI_GIRLS.zscore.yearly-c552bd82.js} +0 -0
- /package/build/esm/{ChevronDown-70559b47.js → ChevronDown-a5c6a4ba.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-81d95d86.js → HEAD CIRCUM_BOYS.percentile.monthly-a61150d3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-12162f09.js → HEAD CIRCUM_BOYS.percentile.weekly-acba2e21.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-45cd1c23.js → HEAD CIRCUM_BOYS.percentile.yearly-7956b24f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-47835e82.js → HEAD CIRCUM_BOYS.zscore.monthly-f8fb53e2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-026aced6.js → HEAD CIRCUM_BOYS.zscore.weekly-3f38c72e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-01c4d654.js → HEAD CIRCUM_BOYS.zscore.yearly-8a1f0fec.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-3bac7be1.js → HEAD CIRCUM_GIRLS.percentile.monthly-264f2b35.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-d0a20741.js → HEAD CIRCUM_GIRLS.percentile.weekly-17e32531.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-dc919555.js → HEAD CIRCUM_GIRLS.percentile.yearly-62c5863d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-47bf7a3c.js → HEAD CIRCUM_GIRLS.zscore.monthly-29646d5d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-a8e45e75.js → HEAD CIRCUM_GIRLS.zscore.weekly-bf0a63c8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-bf546ba6.js → HEAD CIRCUM_GIRLS.zscore.yearly-990d8bec.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-6ba59424.js → HEIGHT_BOYS.percentile.monthly-e91e4c8f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-29b8fe64.js → HEIGHT_BOYS.percentile.weekly-ce92e4b6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f135b8e2.js → HEIGHT_BOYS.percentile.yearly-96e63e41.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-49e9680a.js → HEIGHT_BOYS.zscore.monthly-e4ee5c4d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-f9a65efa.js → HEIGHT_BOYS.zscore.weekly-efc73a78.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-8b5ad6d2.js → HEIGHT_BOYS.zscore.yearly-6d5d8acf.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e5b38079.js → HEIGHT_GIRLS.percentile.monthly-a28d627f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f3670276.js → HEIGHT_GIRLS.percentile.weekly-407c31e9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-4c02f1bb.js → HEIGHT_GIRLS.percentile.yearly-493b237c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-640e5e55.js → HEIGHT_GIRLS.zscore.monthly-0cd5f1bf.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-4eead516.js → HEIGHT_GIRLS.zscore.weekly-5ce99b65.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-6ebee51c.js → HEIGHT_GIRLS.zscore.yearly-feb7a8a9.js} +0 -0
- /package/build/esm/{Subot-2c9e4c09.js → Subot-ffa5da10.js} +0 -0
- /package/build/esm/{Visible-280d16e3.js → Visible-aff40cec.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-430dc3b2.js → WEIGHT_BOYS.percentile.monthly-4005bbe2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-b937aeb9.js → WEIGHT_BOYS.percentile.weekly-25e3600f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-cbf833e8.js → WEIGHT_BOYS.percentile.yearly-f9976de9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-dd6b0e64.js → WEIGHT_BOYS.zscore.monthly-97d67fee.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-786a8d18.js → WEIGHT_BOYS.zscore.weekly-4596feff.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-acfb2c76.js → WEIGHT_BOYS.zscore.yearly-594171a5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-1e4153b0.js → WEIGHT_GIRLS.percentile.monthly-3db2ac29.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f69a3ddb.js → WEIGHT_GIRLS.percentile.weekly-5849d8f3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-a42cb1fc.js → WEIGHT_GIRLS.percentile.yearly-60d4df5e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-c8062203.js → WEIGHT_GIRLS.zscore.monthly-f4f4ead8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-c4c6e1e6.js → WEIGHT_GIRLS.zscore.weekly-0073622b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-35f750e9.js → WEIGHT_GIRLS.zscore.yearly-0731b97b.js} +0 -0
- /package/build/esm/{cookieHelper-02a646ef.js → cookieHelper-2ed6abbe.js} +0 -0
- /package/build/esm/{dataTransform-3970f88b.js → dataTransform-0410c3cb.js} +0 -0
- /package/build/esm/{index-d74e3f4d.js → index-11a1ea09.js} +0 -0
- /package/build/esm/{index-2d5104c5.js → index-ef576562.js} +0 -0
- /package/build/esm/{index-4daeba4d.js → index-faa39253.js} +0 -0
- /package/build/esm/{isProduction-2e0a8f23.js → isProduction-946621da.js} +0 -0
- /package/build/esm/{localizeNumberFormat-d7e41005.js → localizeNumberFormat-07ccec8c.js} +0 -0
- /package/build/esm/{normalizeLink-78014c07.js → normalizeLink-dd2353e4.js} +0 -0
- /package/build/esm/{number-33fd0b74.js → number-fea9f42a.js} +0 -0
- /package/build/esm/{paths-64d19041.js → paths-8a005d9e.js} +0 -0
- /package/build/esm/{screenSizeContext-18a2ae59.js → screenSizeContext-95341a4d.js} +0 -0
- /package/build/esm/{theme-2bdea2f5.js → theme-3dd1c475.js} +0 -0
- /package/build/esm/{translationsContext-63b5cfff.js → translationsContext-90ae4ba2.js} +0 -0
- /package/build/esm/{tslib.es6-70854b37.js → tslib.es6-b4725f4c.js} +0 -0
- /package/build/esm/{types-4c039872.js → types-b5bca28a.js} +0 -0
- /package/build/esm/{useIsInit-28ed39fb.js → useIsInit-746ce944.js} +0 -0
- /package/build/esm/{useOutsideClick-0fb1f5b8.js → useOutsideClick-2bb908c3.js} +0 -0
- /package/build/esm/{useScrollbarSize-622c2c1a.js → useScrollbarSize-6c1fe72b.js} +0 -0
- /package/build/{index-36f0d549.js → index-a06c4004.js} +0 -0
- /package/build/{index-869fff15.js → index-c202f9a9.js} +0 -0
- /package/build/{index-f0a00b26.js → index-c32d7b7c.js} +0 -0
- /package/build/{isProduction-d688052c.js → isProduction-d85b1374.js} +0 -0
- /package/build/{localizeNumberFormat-c01aadd7.js → localizeNumberFormat-cf0e3c1e.js} +0 -0
- /package/build/{normalizeLink-b47d5761.js → normalizeLink-38cda638.js} +0 -0
- /package/build/{number-7e0491b4.js → number-3305c80b.js} +0 -0
- /package/build/{paths-b90c2d13.js → paths-68c64e28.js} +0 -0
- /package/build/{screenSizeContext-41fd163e.js → screenSizeContext-124189a5.js} +0 -0
- /package/build/{theme-5779230b.js → theme-1d844ad5.js} +0 -0
- /package/build/{translationsContext-149822d4.js → translationsContext-10bda5c7.js} +0 -0
- /package/build/{tslib.es6-afbb99a9.js → tslib.es6-f2a6b38d.js} +0 -0
- /package/build/{types-3377b03d.js → types-35fc8e69.js} +0 -0
- /package/build/{useIsInit-2ed8cbec.js → useIsInit-d85b0fed.js} +0 -0
- /package/build/{useOutsideClick-e2fd0c7a.js → useOutsideClick-677500c0.js} +0 -0
- /package/build/{useScrollbarSize-4279aad3.js → useScrollbarSize-d233500c.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{useContext as i,useState as t}from"react";import{M as o}from"./screenSizeContext-
|
|
1
|
+
import e,{useContext as i,useState as t}from"react";import{M as o}from"./screenSizeContext-95341a4d.js";import"dayjs";import l from"styled-components";import{t as n}from"./theme-3dd1c475.js";import"./index-49ab2d83.js";import"./isProduction-946621da.js";import"./Subot-ffa5da10.js";import"./gAssets.js";import{_ as a}from"./tslib.es6-b4725f4c.js";import{b as r}from"./index.styles-851aa23f.js";const d=l.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-b4725f4c.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 E,ActionIcon as b,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-3dd1c475.js";import{CommonGAssets as Q}from"./gAssets.js";import J from"dayjs";import{L as X}from"./Subot-ffa5da10.js";import{B as ee,M as te}from"./screenSizeContext-95341a4d.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-7417738a.js";import{I as oe,s as ce}from"./index-49ab2d83.js";import"./isProduction-946621da.js";import se from"classnames";import{b as de}from"./useTranslations-8227803c.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=24,color:a=Y.colors.gray600}=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}))},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)`
|
|
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"}))),Ee=e=>n.createElement(he,Object.assign({alt:"round india flag",src:Q.getAssetPath("flags/indiaRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),be=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(be,null),s=n.createElement(Ee,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(be,null),s=n.createElement(Ee,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=24,color:a=Y.colors.gray600}=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}))},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(E,{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(b,{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(b,{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 {
|
|
@@ -40,7 +40,7 @@ import{_ as e,a as t}from"./tslib.es6-70854b37.js";import*as l from"react";impor
|
|
|
40
40
|
.mantine-Carousel-container {
|
|
41
41
|
align-items: center;
|
|
42
42
|
}
|
|
43
|
-
`;var qe=v(((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?e.colors.hb[6]:e.fn.primaryColor()),"&[data-event-category] > *":{pointerEvents:"none"}}})));const Ye=t=>{var{color:l,styles:a,className:r}=t,i=e(t,["color","styles","className"]);const{classes:o,cx:c}=qe({color:l},{name:"Anchor",styles:a});return n.createElement(ae,Object.assign({as:"a",className:c(o.root,r)},i))},Qe=t=>{var{children:l}=t,a=e(t,["children"]);return n.createElement(Ye,Object.assign({size:"p4",color:"gray.8"},a),l)},Je=e=>n.createElement(L,Object.assign({sx:{borderRadius:4,overflow:"hidden","> img":{objectFit:"contain"}}},e)),Xe={Button:{defaultProps:{variant:"primary",size:"md"}}},et=[{size:"40px",lineHeight:"52px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"42px",letterSpacing:"-1px"},{size:"26px",lineHeight:"36px",letterSpacing:"-0.8px"},{size:"22px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"18px",lineHeight:"28px",letterSpacing:"-0.2px"},{size:"16px",lineHeight:"24px",letterSpacing:0}],tt=[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}],lt=(e=!1)=>Object.fromEntries((e?tt:et).map(((e,t)=>[`h${t+1}`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))),nt={Title:{styles:{root:Object.assign(Object.assign({fontWeight:re.fontWeight.bold},lt()),{[`&${te.mbDown}`]:Object.assign({},lt(!0))})}}},at="100ms",rt=e=>{var t;return{InputWrapper:{styles:{label:{display:"inline-flex",gap:4,marginBottom:"0.25rem",fontWeight:600,fontSize:"14px",lineHeight:"22px",color:Y.colors.gray600},description:{fontWeight:400,fontSize:"12px",lineHeight:"18px",color:Y.colors.gray600,marginBottom:"0.25rem"},error:{marginTop:"0.25rem"}}},NumberInput:{defaultProps:{decimalSeparator:null===(t=oe[e])||void 0===t?void 0:t.separator}},Input:{styles:(e,t,{size:l})=>({input:{border:`1px solid ${Y.colors.gray200}`,transition:`all ${at} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign({},(()=>{switch(l){case"lg":return{height:48,fontSize:16,minHeight:"unset",lineHeight:"24px"};case"md":return{height:40,fontSize:14,lineHeight:"22px",minHeight:"unset"};case"sm":return{height:32,fontSize:14,lineHeight:"22px",minHeight:"unset"}}})()),"&:hover":{border:`1px solid ${e.primaryColor}`},"&:focus":{boxShadow:`0px 0px 0px 2px ${e.colors[e.primaryColor][2]}`}},'&[data-invalid="true"]':{border:`1px solid ${Y.colors.red600}`,color:"#000"}})}}},it={Radio:{defaultProps:{size:"sm",color:"blue.6"},styles:{radio:{backgroundColor:"transparent","&:checked":{backgroundColor:"transparent"}}}}},ot={hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626","#1a1a1a"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c","#545E6C"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#fec7dc","#fec7dc","#fec2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#E92D74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffcb37","#ffc326","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]},ct=(e,t="hb")=>({defaultRadius:"hb"===t?4:16,cursorType:"pointer",colors:Object.assign(Object.assign(Object.assign({},ot),Y.colors),{toneYellow:"#fff9eb",toneGreen:"#f2fcf7",toneBlue:"#e0e9fb",tonePink:"#ffeaf1"}),primaryColor:t,primaryShade:6,fontFamily:(e===X.Cambodia?"Battambang":e===X.Thailand?"Noto Sans Thai":"Inter")+", -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",breakpoints:{xs:y(ee.BREAK_POINT_SMALL_MOBILE),sm:y(ee.BREAK_POINT_MOBILE),md:y(ee.BREAK_POINT_TABLET),lg:y(ee.BREAK_POINT_PC),xl:y(ee.BREAK_POINT_LGPC)},components:Object.assign(Object.assign(Object.assign(Object.assign({},rt(e)),it),Xe),nt),other:{template:t,defaultImage:Q.getAssetPath("mb"===t?"default-image-mb.jpg":"default-image.jpg")}}),st=t=>{var l,{children:r,showHomeIcon:i=!0,homeIconHref:c="/"}=t,d=e(t,["children","showHomeIcon","homeIconHref"]);const h=g(),m="mb"===(null===(l=null==h?void 0:h.other)||void 0===l?void 0:l.template),[p,u]=a(null),{isMobile:f}=Ue(),[,b]=a(!0),E=s((()=>{b(!1)}),[]),C=s((()=>{setTimeout((()=>{b(!0)}),1e3)}),[]);return o((()=>(p&&(p.on("scroll",E),p.on("pointerUp",C)),()=>{p&&(p.off("scroll",E),p.on("pointerUp",C))})),[p,E,C]),n.createElement(Ke,Object.assign({align:"center",slideGap:"xs",dragFree:!0,draggable:f,slideSize:"0",getEmblaApi:u,controlsOffset:-52,previousControlIcon:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},n.createElement("path",{d:"M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z",fill:"#595959"})),nextControlIcon:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},n.createElement("path",{d:"M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z",fill:"#595959"}))},d),i&&n.createElement(Ge.Slide,{style:{borderRight:`1px solid ${ot.neutral[1]}`}},n.createElement(Qe,{href:c,target:"_blank",className:"pointer-event-child-none"},n.createElement(w,{sx:Object.assign({},!m&&{borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center"}),bg:!m&&ot.neutral[0],p:m?0:6},n.createElement(Je,{ratio:1,w:18},m?n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1183 3.67722C12.8727 2.70772 11.1281 2.708 9.88187 3.67718L14.1183 3.67722ZM14.1183 3.67722L19.718 8.03283C20.5589 8.68632 21.05 9.69173 21.05 10.7562V17.6002C21.05 19.5057 19.5055 21.0502 17.6 21.0502H6.40016C4.49466 21.0502 2.9502 19.5057 2.9502 17.6002V10.7562C2.9502 9.69163 3.44113 8.68632 4.28216 8.03283L9.88187 3.67718M10.6799 4.70339L5.08006 9.05916C4.55657 9.46592 4.2502 10.0923 4.2502 10.7562V17.6002C4.2502 18.7878 5.21263 19.7502 6.40016 19.7502H17.6C18.7875 19.7502 19.75 18.7878 19.75 17.6002V10.7562C19.75 10.0923 19.4438 9.46612 18.9204 9.05936L13.3202 4.70335C12.5443 4.09941 11.4571 4.09905 10.6799 4.70339Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2373 13.1626C12.5546 12.4794 11.4466 12.4791 10.7629 13.1628C10.0793 13.8464 10.0793 14.9538 10.7629 15.6374C11.4465 16.321 12.5539 16.321 13.2375 15.6374C13.9211 14.9538 13.9211 13.8464 13.2375 13.1628L13.2373 13.1626ZM14.1567 12.2436C12.9661 11.0521 11.0348 11.0525 9.84366 12.2436C8.65237 13.4348 8.65237 15.3653 9.84366 16.5566C11.0349 17.7479 12.9654 17.7479 14.1567 16.5566C15.348 15.3653 15.348 13.4348 14.1567 12.2436Z",fill:"#3E3F58"})):n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z",fill:"#595959"})))))),n.createElement(Ge.Slide,null),n.createElement(Ge.Slide,null,n.createElement(x,{styles:{separator:{marginInline:4}},separator:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},n.createElement("path",{d:"M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z",fill:"#8C8C8C"}))},r)))};st.Item=Qe;var dt=v(((e,t)=>{var l,n,a,r,i,o;const{other:c}=e,{template:s}=c,{size:d,variant:h,skipHover:m,isError:p,color:u,children:g}=t,f=u||e.primaryColor,b=f.startsWith("#"),E=b?e.fn.lighten(u,.9):(null===(n=null===(l=e.colors)||void 0===l?void 0:l[f])||void 0===n?void 0:n[0])||"",C=b?f:null===(r=null===(a=e.colors)||void 0===a?void 0:a[f])||void 0===r?void 0:r[e.fn.primaryShade()],v=b?e.fn.darken(u,.05):null===(o=null===(i=e.colors)||void 0===i?void 0:i[f])||void 0===o?void 0:o[e.fn.primaryShade()+1];return{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({transition:`all ${at} ease-in-out`,"&[data-event-category] > *":{pointerEvents:"none"},"&:focus":{outline:"none"}},!g&&{paddingLeft:"10px",paddingRight:"10px",".mantine-Button-icon":{margin:0}}),(()=>{switch(d){case"xl":return{height:56,fontWeight:600,fontSize:"mb"===s?"14px":"16px",lineHeight:"24px"};case"lg":return{height:48,fontWeight:600,fontSize:"mb"===s?"14px":"16px",lineHeight:"24px"};case"md":return{height:40,fontWeight:600,fontSize:"14px",lineHeight:"22px"};case"sm":return{height:32,fontWeight:600,fontSize:"mb"===s?"12px":"14px",lineHeight:"22px",paddingLeft:"16px",paddingRight:"16px"};case"xs":return{height:24,fontWeight:600,fontSize:"12px",lineHeight:"18px",paddingLeft:"8px",paddingRight:"8px"}}})()),(()=>{switch(h){case"primary":return Object.assign({color:e.white,backgroundColor:C},!m&&{"&:hover":{backgroundColor:v}});case"secondary":return Object.assign({color:C,backgroundColor:"transparent",border:`1px solid ${C}`},!m&&{"&:hover":{backgroundColor:E,border:`1px solid ${C}`}});case"tertiary":return{color:e.colors.gray[8],backgroundColor:e.white,border:`1px solid ${e.colors.neutral[2]}`,"&:hover":Object.assign({},m?{backgroundColor:e.white,border:`1px solid ${e.colors.neutral[2]}`}:{backgroundColor:e.colors.neutral[0],border:`1px solid ${e.colors.neutral[0]}`})};case"light":return{color:C,backgroundColor:E,border:"1px solid transparent","&:hover":Object.assign({},m?{backgroundColor:E,border:"1px solid transparent"}:{backgroundColor:e.white,border:`1px solid ${E}`})};case"ghost":return Object.assign({color:C,backgroundColor:"transparent",border:"1px solid transparent"},!m&&{"&:hover":{backgroundColor:E,border:"1px solid transparent"}})}})()),{"&[data-disabled]":{backgroundColor:e.colors.gray[1],color:e.colors.gray[4]}}),p?Object.assign({color:e.colors.red[6],backgroundColor:e.white,border:`1px solid ${e.colors.red[6]}`},!m&&{"&:hover":{backgroundColor:e.colors.red[0],border:`1px solid ${e.colors.red[6]}`}}):{})}}));const ht={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline",white:"white"};const mt=t=>{var l,a;const r=g(),i=Object.assign(Object.assign({},null===(a=null===(l=r.components)||void 0===l?void 0:l.Button)||void 0===a?void 0:a.defaultProps),function(e){const t={};return Object.keys(e).filter((t=>void 0!==e[t])).forEach((l=>t[l]=e[l])),t}(t)),{variant:o,size:c,color:s,skipHover:d,className:h,dataEventCategory:m,dataEventAction:p,dataEventLabel:u,children:f}=i,b=e(i,["variant","size","color","skipHover","className","dataEventCategory","dataEventAction","dataEventLabel","children"]),E="error"===o,{classes:C,cx:v}=dt({variant:o,size:c,color:s,skipHover:d,isError:E,children:f});return n.createElement(k,Object.assign({className:v(h,o),classNames:{root:C.root},variant:ht[o],"data-variant":o,"data-event-category":m,"data-event-action":p,"data-event-label":u},b),f)},pt=le(j)`
|
|
43
|
+
`;var qe=v(((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?e.colors.hb[6]:e.fn.primaryColor()),"&[data-event-category] > *":{pointerEvents:"none"}}})));const Ye=t=>{var{color:l,styles:a,className:r}=t,i=e(t,["color","styles","className"]);const{classes:o,cx:c}=qe({color:l},{name:"Anchor",styles:a});return n.createElement(ae,Object.assign({as:"a",className:c(o.root,r)},i))},Qe=t=>{var{children:l}=t,a=e(t,["children"]);return n.createElement(Ye,Object.assign({size:"p4",color:"gray.8"},a),l)},Je=e=>n.createElement(L,Object.assign({sx:{borderRadius:4,overflow:"hidden","> img":{objectFit:"contain"}}},e)),Xe={Button:{defaultProps:{variant:"primary",size:"md"}}},et=[{size:"40px",lineHeight:"52px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"42px",letterSpacing:"-1px"},{size:"26px",lineHeight:"36px",letterSpacing:"-0.8px"},{size:"22px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"18px",lineHeight:"28px",letterSpacing:"-0.2px"},{size:"16px",lineHeight:"24px",letterSpacing:0}],tt=[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}],lt=(e=!1)=>Object.fromEntries((e?tt:et).map(((e,t)=>[`h${t+1}`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))),nt={Title:{styles:{root:Object.assign(Object.assign({fontWeight:re.fontWeight.bold},lt()),{[`&${te.mbDown}`]:Object.assign({},lt(!0))})}}},at="100ms",rt=e=>{var t;return{InputWrapper:{styles:{label:{display:"inline-flex",gap:4,marginBottom:"0.25rem",fontWeight:600,fontSize:"14px",lineHeight:"22px",color:Y.colors.gray600},description:{fontWeight:400,fontSize:"12px",lineHeight:"18px",color:Y.colors.gray600,marginBottom:"0.25rem"},error:{marginTop:"0.25rem"}}},NumberInput:{defaultProps:{decimalSeparator:null===(t=oe[e])||void 0===t?void 0:t.separator}},Input:{styles:(e,t,{size:l})=>({input:{border:`1px solid ${Y.colors.gray200}`,transition:`all ${at} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign({},(()=>{switch(l){case"lg":return{height:48,fontSize:16,minHeight:"unset",lineHeight:"24px"};case"md":return{height:40,fontSize:14,lineHeight:"22px",minHeight:"unset"};case"sm":return{height:32,fontSize:14,lineHeight:"22px",minHeight:"unset"}}})()),"&:hover":{border:`1px solid ${e.primaryColor}`},"&:focus":{boxShadow:`0px 0px 0px 2px ${e.colors[e.primaryColor][2]}`}},'&[data-invalid="true"]':{border:`1px solid ${Y.colors.red600}`,color:"#000"}})}}},it={Radio:{defaultProps:{size:"sm",color:"blue.6"},styles:{radio:{backgroundColor:"transparent","&:checked":{backgroundColor:"transparent"}}}}},ot={hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626","#1a1a1a"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c","#545E6C"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#fec7dc","#fec7dc","#fec2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#E92D74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffcb37","#ffc326","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]},ct=(e,t="hb")=>({defaultRadius:"hb"===t?4:16,cursorType:"pointer",colors:Object.assign(Object.assign(Object.assign({},ot),Y.colors),{toneYellow:"#fff9eb",toneGreen:"#f2fcf7",toneBlue:"#e0e9fb",tonePink:"#ffeaf1"}),primaryColor:t,primaryShade:6,fontFamily:(e===X.Cambodia?"Battambang":e===X.Thailand?"Noto Sans Thai":"Inter")+", -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",breakpoints:{xs:y(ee.BREAK_POINT_SMALL_MOBILE),sm:y(ee.BREAK_POINT_MOBILE),md:y(ee.BREAK_POINT_TABLET),lg:y(ee.BREAK_POINT_PC),xl:y(ee.BREAK_POINT_LGPC)},components:Object.assign(Object.assign(Object.assign(Object.assign({},rt(e)),it),Xe),nt),other:{template:t,defaultImage:Q.getAssetPath("mb"===t?"default-image-mb.jpg":"default-image.jpg")}}),st=t=>{var l,{children:r,showHomeIcon:i=!0,homeIconHref:c="/"}=t,d=e(t,["children","showHomeIcon","homeIconHref"]);const h=g(),m="mb"===(null===(l=null==h?void 0:h.other)||void 0===l?void 0:l.template),[p,u]=a(null),{isMobile:f}=Ue(),[,E]=a(!0),b=s((()=>{E(!1)}),[]),C=s((()=>{setTimeout((()=>{E(!0)}),1e3)}),[]);return o((()=>(p&&(p.on("scroll",b),p.on("pointerUp",C)),()=>{p&&(p.off("scroll",b),p.on("pointerUp",C))})),[p,b,C]),n.createElement(Ke,Object.assign({align:"center",slideGap:"xs",dragFree:!0,draggable:f,slideSize:"0",getEmblaApi:u,controlsOffset:-52,previousControlIcon:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},n.createElement("path",{d:"M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z",fill:"#595959"})),nextControlIcon:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},n.createElement("path",{d:"M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z",fill:"#595959"}))},d),i&&n.createElement(Ge.Slide,{style:{borderRight:`1px solid ${ot.neutral[1]}`}},n.createElement(Qe,{href:c,target:"_blank",className:"pointer-event-child-none"},n.createElement(w,{sx:Object.assign({},!m&&{borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center"}),bg:!m&&ot.neutral[0],p:m?0:6},n.createElement(Je,{ratio:1,w:18},m?n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1183 3.67722C12.8727 2.70772 11.1281 2.708 9.88187 3.67718L14.1183 3.67722ZM14.1183 3.67722L19.718 8.03283C20.5589 8.68632 21.05 9.69173 21.05 10.7562V17.6002C21.05 19.5057 19.5055 21.0502 17.6 21.0502H6.40016C4.49466 21.0502 2.9502 19.5057 2.9502 17.6002V10.7562C2.9502 9.69163 3.44113 8.68632 4.28216 8.03283L9.88187 3.67718M10.6799 4.70339L5.08006 9.05916C4.55657 9.46592 4.2502 10.0923 4.2502 10.7562V17.6002C4.2502 18.7878 5.21263 19.7502 6.40016 19.7502H17.6C18.7875 19.7502 19.75 18.7878 19.75 17.6002V10.7562C19.75 10.0923 19.4438 9.46612 18.9204 9.05936L13.3202 4.70335C12.5443 4.09941 11.4571 4.09905 10.6799 4.70339Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2373 13.1626C12.5546 12.4794 11.4466 12.4791 10.7629 13.1628C10.0793 13.8464 10.0793 14.9538 10.7629 15.6374C11.4465 16.321 12.5539 16.321 13.2375 15.6374C13.9211 14.9538 13.9211 13.8464 13.2375 13.1628L13.2373 13.1626ZM14.1567 12.2436C12.9661 11.0521 11.0348 11.0525 9.84366 12.2436C8.65237 13.4348 8.65237 15.3653 9.84366 16.5566C11.0349 17.7479 12.9654 17.7479 14.1567 16.5566C15.348 15.3653 15.348 13.4348 14.1567 12.2436Z",fill:"#3E3F58"})):n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z",fill:"#595959"})))))),n.createElement(Ge.Slide,null),n.createElement(Ge.Slide,null,n.createElement(x,{styles:{separator:{marginInline:4}},separator:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},n.createElement("path",{d:"M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z",fill:"#8C8C8C"}))},r)))};st.Item=Qe;var dt=v(((e,t)=>{var l,n,a,r,i,o;const{other:c}=e,{template:s}=c,{size:d,variant:h,skipHover:m,isError:p,color:u,children:g}=t,f=u||e.primaryColor,E=f.startsWith("#"),b=E?e.fn.lighten(u,.9):(null===(n=null===(l=e.colors)||void 0===l?void 0:l[f])||void 0===n?void 0:n[0])||"",C=E?f:null===(r=null===(a=e.colors)||void 0===a?void 0:a[f])||void 0===r?void 0:r[e.fn.primaryShade()],v=E?e.fn.darken(u,.05):null===(o=null===(i=e.colors)||void 0===i?void 0:i[f])||void 0===o?void 0:o[e.fn.primaryShade()+1];return{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({transition:`all ${at} ease-in-out`,"&[data-event-category] > *":{pointerEvents:"none"},"&:focus":{outline:"none"}},!g&&{paddingLeft:"10px",paddingRight:"10px",".mantine-Button-icon":{margin:0}}),(()=>{switch(d){case"xl":return{height:56,fontWeight:600,fontSize:"mb"===s?"14px":"16px",lineHeight:"24px"};case"lg":return{height:48,fontWeight:600,fontSize:"mb"===s?"14px":"16px",lineHeight:"24px"};case"md":return{height:40,fontWeight:600,fontSize:"14px",lineHeight:"22px"};case"sm":return{height:32,fontWeight:600,fontSize:"mb"===s?"12px":"14px",lineHeight:"22px",paddingLeft:"16px",paddingRight:"16px"};case"xs":return{height:24,fontWeight:600,fontSize:"12px",lineHeight:"18px",paddingLeft:"8px",paddingRight:"8px"}}})()),(()=>{switch(h){case"primary":return Object.assign({color:e.white,backgroundColor:C},!m&&{"&:hover":{backgroundColor:v}});case"secondary":return Object.assign({color:C,backgroundColor:"transparent",border:`1px solid ${C}`},!m&&{"&:hover":{backgroundColor:b,border:`1px solid ${C}`}});case"tertiary":return{color:e.colors.gray[8],backgroundColor:e.white,border:`1px solid ${e.colors.neutral[2]}`,"&:hover":Object.assign({},m?{backgroundColor:e.white,border:`1px solid ${e.colors.neutral[2]}`}:{backgroundColor:e.colors.neutral[0],border:`1px solid ${e.colors.neutral[0]}`})};case"light":return{color:C,backgroundColor:b,border:"1px solid transparent","&:hover":Object.assign({},m?{backgroundColor:b,border:"1px solid transparent"}:{backgroundColor:e.white,border:`1px solid ${b}`})};case"ghost":return Object.assign({color:C,backgroundColor:"transparent",border:"1px solid transparent"},!m&&{"&:hover":{backgroundColor:b,border:"1px solid transparent"}})}})()),{"&[data-disabled]":{backgroundColor:e.colors.gray[1],color:e.colors.gray[4]}}),p?Object.assign({color:e.colors.red[6],backgroundColor:e.white,border:`1px solid ${e.colors.red[6]}`},!m&&{"&:hover":{backgroundColor:e.colors.red[0],border:`1px solid ${e.colors.red[6]}`}}):{})}}));const ht={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline",white:"white"};const mt=t=>{var l,a;const r=g(),i=Object.assign(Object.assign({},null===(a=null===(l=r.components)||void 0===l?void 0:l.Button)||void 0===a?void 0:a.defaultProps),function(e){const t={};return Object.keys(e).filter((t=>void 0!==e[t])).forEach((l=>t[l]=e[l])),t}(t)),{variant:o,size:c,color:s,skipHover:d,className:h,dataEventCategory:m,dataEventAction:p,dataEventLabel:u,children:f}=i,E=e(i,["variant","size","color","skipHover","className","dataEventCategory","dataEventAction","dataEventLabel","children"]),b="error"===o,{classes:C,cx:v}=dt({variant:o,size:c,color:s,skipHover:d,isError:b,children:f});return n.createElement(k,Object.assign({className:v(h,o),classNames:{root:C.root},variant:ht[o],"data-variant":o,"data-event-category":m,"data-event-action":p,"data-event-label":u},E),f)},pt=le(j)`
|
|
44
44
|
.mantine-Textarea-input {
|
|
45
45
|
padding: 12px 16px;
|
|
46
46
|
background: #ffffff;
|
|
@@ -80,7 +80,7 @@ import{_ as e,a as t}from"./tslib.es6-70854b37.js";import*as l from"react";impor
|
|
|
80
80
|
.mantine-Accordion-content {
|
|
81
81
|
white-space: pre-wrap;
|
|
82
82
|
}
|
|
83
|
-
`,ft=t=>{var{children:l}=t,a=e(t,["children"]);return n.createElement(gt,Object.assign({chevron:n.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},a),l)};ft.Control=O.Control,ft.Item=O.Item,ft.Panel=O.Panel;const
|
|
83
|
+
`,ft=t=>{var{children:l}=t,a=e(t,["children"]);return n.createElement(gt,Object.assign({chevron:n.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},a),l)};ft.Control=O.Control,ft.Item=O.Item,ft.Panel=O.Panel;const Et=Q.getAssetPath("avatar.jpg"),bt=t=>{var{withIndicator:l=!1,indicatorConfig:a=null,size:r=56,children:i,styles:o,placeholderText:c}=t,s=e(t,["withIndicator","indicatorConfig","size","children","styles","placeholderText"]);const d=()=>n.createElement(S,Object.assign({size:r,radius:"xl"},s,{imageProps:Object.assign({loading:"lazy"},s.imageProps),styles:{placeholder:{backgroundColor:s.color,color:"white"}}}),i||(c||n.createElement(he,{src:Et,width:r,alt:s.alt||"avatar"})));return l?n.createElement(M,Object.assign({inline:!0,position:"bottom-end",offset:9},a,{styles:Object.assign({indicator:{backgroundColor:n.isValidElement(a.label)&&"transparent",zIndex:1}},o)}),d()):d()},Ct=300,vt=B({key:"mantine",prepend:!1}),Lt=t=>{var{value:l,onChange:r}=t,i=e(t,["value","onChange"]);const[c,s]=a(l),[d]=U(c,300);return o((()=>{null==r||r(d)}),[d]),o((()=>{s(l)}),[l]),n.createElement(Z,Object.assign({size:"md",stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:s,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:c},i))},yt=Q.getAssetPath("EyeVisible.svg"),wt=Q.getAssetPath("EyeHidden.svg"),xt=i(((t,l)=>{const{size:a="md",visibilityToggleIcon:r}=t,i=e(t,["size","visibilityToggleIcon"]),o=r||(({reveal:e,size:t})=>e?n.createElement("img",{src:yt,width:t,loading:"lazy"}):n.createElement("img",{src:wt,width:t,loading:"lazy"}));return n.createElement(R,Object.assign({ref:l,size:a,visibilityToggleIcon:o},i,{className:`input-control ${(null==i?void 0:i.className)||""}`}))})),kt=i(((t,l)=>{var{value:r,onChange:i,onChangeRaw:c,maxLength:s}=t,d=e(t,["value","onChange","onChangeRaw","maxLength"]);const[h,m]=a(r||""),[p]=U(h,300);return o((()=>{null==i||i(p)}),[p]),o((()=>{m(r)}),[r]),n.createElement(V,Object.assign({ref:l,size:"md",onChange:e=>{"number"==typeof s&&e.currentTarget.value.length>s||(null==c||c(e),m(e.currentTarget.value))},value:h},d,{maxLength:s,className:`input-control ${(null==d?void 0:d.className)||""}`}))}));kt.File=e=>n.createElement(H,Object.assign({size:"md"},e)),kt.Password=xt,kt.Number=Lt,kt.Wrapper=A.Wrapper;const jt=ne.Slide,Ot=d({}),Mt=(e,t)=>e>=t?e-t:e,St=t=>{var{children:l,blurFromCenter:r,blurFromIndex:i,blurLength:c=3,maxBlurOpacity:s=.5,onSlideChange:d,selectSlideWhenClick:h}=t,p=e(t,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:u}=_(),[g]=G(),f=m(null),[E,b]=a(0),C=()=>{var e,t,l,n,a;const o=(null===(e=null==f?void 0:f.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(t=null==f?void 0:f.current)||void 0===t?void 0:t.slideNodes().length)<=(null===(l=null==f?void 0:f.current)||void 0===l?void 0:l.slidesInView().length))return o.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const d=null===(n=null==f?void 0:f.current)||void 0===n?void 0:n.selectedScrollSnap();b(d);const h=o.length,m=(null===(a=null==f?void 0:f.current)||void 0===a?void 0:a.slidesInView()).length,p=Math.floor(m/2),u=r?i+c-1:p,g=d+u,E=g===h?0:g>h?g-h:g,C=d-u,v=C<0?h+C:C>0?d-u:0,L=[...new Set(Array(2*u+1).fill("").map(((e,t)=>Mt(v+t,h))))];o.map(((e,t)=>{if(t===d?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==L.indexOf(t)){const a=s/c;for(let r=0;r<c;r++){if(t===Mt(v+r,h)||t===(n=h,(l=E-r)<0?n+l:l)){e.style.opacity=String((r+1)*a);break}e.style.opacity="1"}}else e.style.opacity="0";var l,n}))},L={getEmblaApi:e=>{f.current=e},onSlideChange:e=>{C(),null==d||d(e)}};o((()=>{(null==f?void 0:f.current)&&C()}),[u]);const y=v((()=>{var e,t;return{control:Object.assign({},(null===(e=null==f?void 0:f.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(t=null==f?void 0:f.current)||void 0===t?void 0:t.slidesInView().length)&&{display:"none"})}})),{classes:w}=y();return n.createElement(Ot.Provider,{value:{slider:null==f?void 0:f.current,centerSlide:E,selectSlideWhenClick:h}},n.createElement(ne,Object.assign({classNames:{control:w.control},ref:g,slideSize:"auto",containScroll:"trimSnaps"},L,p,{loop:!0}),"function"==typeof l?l(E):l))};St.Slide=t=>{var{children:l,onClick:r,innerSlideProps:i}=t,c=e(t,["children","onClick","innerSlideProps"]);const{slider:s,selectSlideWhenClick:d}=h(Ot),p=m(),u=m(""),[g,f]=a(0);o((()=>{u.current=String(Math.round(1e4*Math.random()))}),[]),o((()=>{const e=(null==s?void 0:s.slideNodes())||[];f(e.findIndex((e=>e.dataset.key===u.current)))}),[s]);const E={ref:p,"data-key":u.current,"data-index":g};return n.createElement(jt,Object.assign({},E,c),n.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{d&&(null==s||s.scrollTo(g)),null==r||r(g)}},i),l))};const Ht=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(I,Object.assign({styles:Object.assign({input:{"&:hover":{border:`1px solid ${c}`}}},l),color:a},i))};Ht.Group=I.Group;const Bt=le(z)`
|
|
84
84
|
${e=>{const t=e.color||Y.colors.primaryBase;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
|
|
85
85
|
[data-theme='marryBaby'] & {
|
|
86
86
|
${e=>{const t=e.color||Y.mbColors.pink;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
|
|
@@ -110,4 +110,4 @@ import{_ as e,a as t}from"./tslib.es6-70854b37.js";import*as l from"react";impor
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
`;function Rt(e,t=6){const l=new Array(t).fill("");if(e){const t=e.toString().split("");l.map(((e,n)=>{t[n]&&(l[n]=t[n]||"")}))}return l}function Vt(e){return e.join("")}var At="_2iQs0sk",It="Ia6IojY";const zt=i(((t,l)=>{const{maxLength:a=1,placeholder:r,className:i}=t,o=e(t,["maxLength","placeholder","className"]);return n.createElement("input",Object.assign({maxLength:a,className:se(It,"otpInput",i),placeholder:r,type:"number"},o,{ref:l}))})),Pt=i(((e,t)=>{const{valueLength:l=6,type:r="number",value:i,defaultValue:c,placeholder:d,onChange:h,onBlur:u}=e,g=m(new Array(l).fill(null)),[f,
|
|
113
|
+
`;function Rt(e,t=6){const l=new Array(t).fill("");if(e){const t=e.toString().split("");l.map(((e,n)=>{t[n]&&(l[n]=t[n]||"")}))}return l}function Vt(e){return e.join("")}var At="_2iQs0sk",It="Ia6IojY";const zt=i(((t,l)=>{const{maxLength:a=1,placeholder:r,className:i}=t,o=e(t,["maxLength","placeholder","className"]);return n.createElement("input",Object.assign({maxLength:a,className:se(It,"otpInput",i),placeholder:r,type:"number"},o,{ref:l}))})),Pt=i(((e,t)=>{const{valueLength:l=6,type:r="number",value:i,defaultValue:c,placeholder:d,onChange:h,onBlur:u}=e,g=m(new Array(l).fill(null)),[f,E]=a(c||i),[b,C]=a(-1),[v,L]=a((()=>Rt(f,l))),y=s((()=>{if(-1===b)return;const e=g.current[b];if(e){e.value="";const t=v;t[b]="",L(t),E((()=>Vt(t))),null==h||h(Vt(t))}}),[b,h,v]),w=s((()=>{if(0===b)return;const e=g.current[b];e&&e.blur();const t=g.current[b-1];t&&t.focus()}),[b]),x=s((()=>{if(b===l-1)return;const e=g.current[b];e&&e.blur();const t=g.current[b+1];t&&t.focus()}),[b,l]),k=s((e=>{const t=e.target,l=t.value.toString().slice(0,1),n=g.current.findIndex((e=>e===t));if(-1!==n){const e=v;e[n]=l,L(e),E((()=>Vt(e))),null==h||h(Vt(e))}x()}),[x,h,v]),j=s((e=>{const t=e.target,l=g.current.findIndex((e=>e===t));"number"===r?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==l&&C(l)}),[]),O=s((e=>{const t=Rt(e.clipboardData.getData("text/plain"),l),n=Vt(t);L(t),E(n),null==h||h(n)}),[h,r,l]),M=s((e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),y(),w()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),y()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),w()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),x()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[y,x,w]);return p(t,(()=>g.current[0]),[]),o((()=>{L((()=>Rt(i,l))),E(i)}),[l,i]),n.createElement(P,{justify:"center",columnGap:8,className:se(At,"otpContainer")},v.map(((e,t)=>n.createElement(zt,{ref:e=>{g.current[t]=e},key:""+t,value:e,type:r,onChange:k,onFocus:j,onKeyDown:M,onPaste:O,onBlur:u,placeholder:d}))))})),Ft=Object.values(ce).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]);var Tt={phoneInput:"i-9Ibox",error:"YDWHh9b"};const Dt=e=>l.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor"},e),l.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"})),Nt=i(((l,r)=>{const{isError:i,defaultCountry:c,countries:s=Ft,countryCallingCodeEditable:d=!1,defaultValue:h,value:m,onChange:p,className:u}=l,g=e(l,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),[f,E]=a(h||m),[b,C]=a(null);return o((()=>{E(m)}),[m]),o((()=>{t(void 0,void 0,void 0,(function*(){const e=yield import("react-phone-number-input");C(e)}))}),[]),b?n.createElement(b.default,Object.assign({ref:r,value:f,onChange:e=>{E(e),null==p||p(e)},countries:s,defaultCountry:c,countryCallingCodeEditable:d,className:se(Tt.phoneInput,{isError:i,[Tt.error]:i},u),flagUrl:void 0,flagComponent:t=>{const{country:l,countryName:a,flagUrl:r}=t,i=e(t,["country","countryName","flagUrl"]),o=l?`(+${b.getCountryCallingCode(l)})`:"";return n.createElement(n.Fragment,null,n.createElement(Ve,Object.assign({country:l,title:a},i)),n.createElement("span",{className:se(Tt.callingCode,"PhoneInputCountryIconCallingCode")},o))},countrySelectProps:{arrowComponent:()=>n.createElement("div",{className:se(Tt.arrowSelect,"PhoneInputArrowContainer")},n.createElement(Dt,null))}},g)):null}));var $t=v(((e,t)=>{const{variant:l}=t,n={content:"none",top:0,bottom:0,zIndex:1,width:F(56)};return Object.assign({},"inline"===l&&{root:{},tabsList:{gap:F(24),borderBottom:"none",flexWrap:"nowrap"},tab:{padding:`${F(8)} 0`,color:e.colors.gray[4],borderColor:"transparent",borderBottomWidth:F(2),marginBottom:F(-1),transition:"border 0.2s ease","&:hover":{backgroundColor:"initial",borderColor:"transparent"},"&[data-active='true']":{color:e.fn.primaryColor(),borderColor:e.fn.primaryColor()}},tabRightSection:{},tabLabel:{},tabIcon:{},panel:{},scrollArea:{position:"relative","&.prev-bg":{"&:before":Object.assign(Object.assign({},n),{content:'""',position:"absolute",left:0,background:"linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)"})},"&.next-bg":{"&:after":Object.assign(Object.assign({},n),{content:'""',position:"absolute",right:0,background:"linear-gradient(90deg, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%)"})}},list:{borderBottom:`1px solid ${e.colors.neutral[1]}`},btn:{position:"absolute",top:"50%",zIndex:2,transform:"translate(0, -50%)",width:F(28),height:F(28),padding:0,background:"white",borderRadius:"50%",cursor:"pointer",filter:"drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04)) drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))",".mantine-Button-icon":{display:"flex",alignItems:"center",justifyContent:"center"},"&.disabled":{opacity:0,zIndex:0}},prevBtn:{left:0},nextBtn:{right:0}})}));const Wt=t=>{var l,{variant:r="inline",value:i,styles:c,children:s,dataList:d=[],tabProps:h,listProps:p,panelProps:u,TabComponentDisplay:g,startPadding:f=40,defaultValue:E}=t,b=e(t,["variant","value","styles","children","dataList","tabProps","listProps","panelProps","TabComponentDisplay","startPadding","defaultValue"]);const{cx:C,classes:v}=$t({variant:r},{name:"Tabs",styles:c}),L=m(null),y=m([]),[w,x]=a(E||(null===(l=null==d?void 0:d[0])||void 0===l?void 0:l.value)),[k,j]=a(0),[O,M]=a(!1),[S,H]=a(!0),[B,Z]=a({x:0,y:0}),R=m(null),V=Object.assign({defaultValue:E,classNames:v},s?{value:i}:{value:w,onTabChange:e=>x(e)});o((()=>{x(i)}),[i]),o((()=>{var e,t,l;null===(e=R.current)||void 0===e||e.scrollTo({left:(null===(l=null===(t=null==y?void 0:y.current)||void 0===t?void 0:t[k])||void 0===l?void 0:l.offsetLeft)-f,behavior:"smooth"})}),[k]),o((()=>{j(d.findIndex((e=>e.value==w)))}),[w]),o((()=>{var e,t;H(0===B.x),M((null===(e=null==R?void 0:R.current)||void 0===e?void 0:e.clientWidth)+B.x===(null===(t=null==R?void 0:R.current)||void 0===t?void 0:t.scrollWidth))}),[B]);const A=({text:e,dataEventCategory:t,dataEventAction:l,dataEventLabel:a})=>g?n.createElement(g,null,e):n.createElement(ae,{size:"s3",color:"inherit",weight:"semiBold","data-event-category":t,"data-event-action":l,"data-event-label":a},e);return n.createElement(T,Object.assign({},V,b),s||n.createElement(n.Fragment,null,n.createElement(D,{className:C(v.scrollArea,`${S?"":"prev-bg"} ${O?"":"next-bg"}`),scrollbarSize:0,viewportRef:R,onScrollPositionChange:Z},n.createElement(T.List,Object.assign({className:v.list,ref:L},p),d.map(((e,t)=>n.createElement(T.Tab,Object.assign({ref:e=>y.current[t]=e,className:v.tab,key:String(e.value),value:String(e.value)},h),n.createElement(A,Object.assign({},e)))))),n.createElement(mt,{className:C(v.btn,v.prevBtn,S?"disabled":""),unstyled:!0,onClick:()=>j(k-1>-1?k-1:0),leftIcon:n.createElement(ie.ArrowLeft,{size:16})}),n.createElement(mt,{className:C(v.btn,v.nextBtn,O?"disabled":""),unstyled:!0,onClick:()=>j(k+1<d.length-1?k+1:d.length-1),leftIcon:n.createElement(ie.ArrowRight,{size:16})})),d.map((e=>n.createElement(T.Panel,Object.assign({value:String(e.value),key:String(e.value)},u),e.content)))))};Wt.List=T.List,Wt.Tab=T.Tab,Wt.Panel=T.Panel;const Ut=d({}),_t=t=>{var{children:l,closeOnClickOutside:a=!0}=t,r=e(t,["children","closeOnClickOutside"]);const[i,{close:o,open:c}]=K(!1),s=a?q(o):m(),d=Object.assign({},"function"==typeof l?{opened:i}:{});return n.createElement(Ut.Provider,{value:{opened:i,close:o,open:c}},n.createElement(N,Object.assign({closeOnClickOutside:a},d,r),n.createElement("div",{ref:s},"function"==typeof l?l({open:c,close:o,opened:i}):l)))};_t.Target=N.Target,_t.Dropdown=N.Dropdown;var Gt=v((e=>{var t;return{root:{},iconWrapper:{display:"none"},label:{display:"inline-block",cursor:"pointer",".checked":{display:"none"},".unchecked":{display:"inline-block"},'&[data-checked="true"]':{".checked":{display:"inline-block"},".unchecked":{display:"none"}},'&,&[data-checked="true"]':{padding:0,border:0,height:"auto"}},btnRoot:{pointerEvents:"none",'&[data-variant="secondary"]':{backgroundColor:null===(t=e.colors[e.primaryColor])||void 0===t?void 0:t[0]},".mantine-Button-label":{fontWeight:"normal",fontSize:F(14)}}}}));const Kt=t=>{var{variant:l="secondary",withIcon:a,children:r,buttonProps:i}=t,o=e(t,["variant","withIcon","children","buttonProps"]);const{classes:c,cx:s}=Gt();return n.createElement($,Object.assign({classNames:c},o,{unstyled:!0}),n.createElement(mt,Object.assign({className:s(c.btnRoot,"checked"),leftIcon:a?n.createElement(ie.Check,{size:18,useCurrentColor:!0}):void 0,variant:l},i),r),n.createElement(mt,Object.assign({className:s(c.btnRoot,"unchecked"),leftIcon:a?n.createElement(ie.Plus,{size:18,useCurrentColor:!0}):void 0,variant:"tertiary"},i),r))};Kt.Group=$.Group;export{Ye as A,mt as B,Dt as C,Ct as D,Ve as F,he as I,Te as M,Lt as N,Pt as O,Nt as P,Ae as R,ze as S,Wt as T,bt as a,Je as b,kt as c,Ht as d,Kt as e,Ie as f,Zt as g,Bt as h,St as i,ut as j,pt as k,Ne as l,ct as m,st as n,ft as o,Ge as p,vt as q,lt as r,_t as s,ot as t,Ue as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-b4725f4c.js";import a,{useState as l,useMemo as n,useRef as i,Fragment as o,useEffect as s,useContext as r,useCallback as c}from"react";import{g as m}from"./core-1c7188da.js";import{F as d,a as u,B as h}from"./index-a614f12d.js";import{S as g,a as v,b as p,c as E,d as y,e as f,u as b,f as C,g as k,h as w,i as P,j as _,k as M,l as N,m as L,n as B,o as T,p as A,q as x,N as H,r as S,s as j,t as $,v as F,w as O,x as R,y as I,z as D,A as U,B as V,C as z,D as Z,E as G,F as W,G as q,H as K,I as Y,J as Q,K as J,L as X,M as ee,O as te,P as ae,Q as le,R as ne,T as ie,U as oe,V as se,W as re,X as ce,Y as me,Z as de,_ as ue,$ as he,a0 as ge,a1 as ve,a2 as pe,a3 as Ee,a4 as ye,a5 as fe,a6 as be,a7 as Ce,a8 as ke,a9 as we,aa as Pe,ab as _e,ac as Me,ad as Ne,ae as Le,af as Be,ag as Te,ah as Ae,ai as xe,aj as He,ak as Se,al as je,am as $e,an as Fe,ao as Oe}from"./index.styled-5549d042.js";import{T as Re,I as Ie,U as De}from"./index-7417738a.js";import{CommonGAssets as Ue}from"./gAssets.js";import{C as Ve,T as ze,E as Ze,L as Ge,S as We,d as qe}from"./index-49ab2d83.js";import{n as Ke,a as Ye}from"./normalizeLink-dd2353e4.js";import{a as Qe,g as Je,c as Xe,b as et,d as tt}from"./routing-dcac8c4a.js";import{P as at,b as lt,a as nt}from"./index-94995128.js";import{L as it}from"./index-cfd43bbb.js";import{u as ot,b as st}from"./useTranslations-8227803c.js";import rt from"lodash/throttle";import{Box as ct,Indicator as mt,Portal as dt}from"@mantine/core";import"@mantine/dates";import{L as ut}from"./Subot-ffa5da10.js";import"dayjs";import{j as ht}from"./screenSizeContext-95341a4d.js";import"styled-components";import{t as gt}from"./theme-3dd1c475.js";import"./isProduction-946621da.js";import"./translationsContext-90ae4ba2.js";import vt from"string-format";import"@mantine/hooks";import{L as pt}from"./constants-cbcd6af7.js";import Et from"lodash/debounce";import"./useCategory-6467a3ef.js";import{C as yt}from"./ChevronDown-a5c6a4ba.js";import{B as ft}from"./index-2ee4ddec.js";import{e as bt}from"./constants-7a2d44f4.js";import{P as Ct,H as kt}from"./index.styles-851aa23f.js";import{I as wt}from"./index-5f34ea8a.js";import{u as Pt}from"./useIsInit-746ce944.js";import"@linaria/react";import"./utils-3eb45b5f.js";import"./index.styled-849c8b68.js";import"./index-ef576562.js";import{C as _t}from"./index-faa39253.js";const Mt=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],Nt=(e="")=>Mt.some((t=>new URL(e).origin.endsWith(t))),Lt=({options:e,label:t,labelRenderer:n,selected:i,onChange:o,showSelected:s=!0,style:r={},showIndicator:c=!0})=>{const[m,d]=l(!1);return a.createElement(a.Fragment,null,a.createElement(g,null,a.createElement(v,{onClick:()=>d((e=>!e))},t||(null==n?void 0:n(m))||null,a.createElement(p,{"data-is-open":m,style:r,"data-show-indicator":c},e.map(((e,t)=>a.createElement(E,{key:t,"data-selected":s&&i===e.value,onClick:t=>{i!==e.value&&(o(e.value),d((e=>!e))),t.stopPropagation()}},a.createElement(Re,{size:"p3"},e.label),s&&i===e.value&&a.createElement("img",{src:Ue.getAssetPath("check.svg"),alt:"check",className:"check-icon",loading:"lazy"}))))))),m&&a.createElement(y,{onClick:()=>d(!1)}))},Bt=({languageOptions:e,locale:t})=>{var l,n;const i=null==e?void 0:e.find((e=>e.locale===t));return(null==e?void 0:e.length)?a.createElement(Lt,{options:e,selected:i.value,label:a.createElement(Tt,{locale:t,label:i.label||(null===(n=null===(l=t.split("-"))||void 0===l?void 0:l[0])||void 0===n?void 0:n.toUpperCase())}),onChange:e=>{"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},Tt=({locale:e,label:t,href:l})=>{var n,i,o;return a.createElement(f,{href:l},a.createElement(d,{country:null===(i=null===(n=null==e?void 0:e.split("-"))||void 0===n?void 0:n[1])||void 0===i?void 0:i.toUpperCase(),width:16,height:16,rounded:!0,language:null===(o=null==e?void 0:e.split("-"))||void 0===o?void 0:o[0]}),a.createElement("span",null,t))},At=({path:e,locale:t})=>{var a;return`/shop/${null===(a=pt[t||"vi-VN"])||void 0===a?void 0:a[e]}/`},xt=t=>{var{count:l,styles:n,className:i,classNames:o,locale:s}=t,r=e(t,["count","styles","className","classNames","locale"]);const{classes:c,cx:m}=b(void 0,{name:"CartBadge",styles:n,classNames:o});return void 0!==l?a.createElement(ct,Object.assign({component:"a",href:At({path:"CART",locale:s}),className:m(c.root,i)},r),a.createElement(mt,{classNames:{root:c.indicatorRoot},withBorder:!0,color:"red",size:20,disabled:0===l,label:a.createElement(Re,{className:c.iconText,size:"s5"},l>99?"99+":l)},a.createElement(Ie.Cart,{size:24}))):null},Ht=({forceDisplay:e,mediaQueryKey:t,children:l,className:i,style:o})=>{const[s,r]=n((()=>ht(t)),[t]);return a.createElement(C,{lowerBound:e?0:s,upperBound:e?0:r,className:i,style:o},l)},St=e=>{const{allowBgScroll:t}=e||{},a=i();return{containerRef:a,onContainerFocus:()=>{t||(document.documentElement.style.overflow="hidden")},onContainerBlur:()=>{t||(document.documentElement.style.overflow="")},onButtonMouseDown:e=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:()=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur())}}},jt=e=>a.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),a.createElement("path",{d:"M2.5 6.5a3.2 3.2 0 0 1 3.2-3.2h7.9a3.2 3.2 0 0 1 3.19 3.2v4.72a3.2 3.2 0 0 1-3.2 3.2H5.7a3.2 3.2 0 0 1-3.19-3.2V6.49Z",fill:"#E3F2FF"}),a.createElement("path",{d:"M2.5 5.68A2.38 2.38 0 0 1 4.88 3.3h9.52a2.38 2.38 0 0 1 2.39 2.38H2.5Z",fill:"#2D87F3"}),a.createElement("path",{d:"M13.6 2.5h-.03c-.36 0-.65.3-.65.65V4.2c0 .36.3.65.65.65h.03c.36 0 .65-.3.65-.65V3.15a.65.65 0 0 0-.65-.65ZM5.27 4.86h.03c.36 0 .65-.3.65-.65V3.15a.65.65 0 0 0-.65-.65h-.03c-.36 0-.65.3-.65.65V4.2c0 .36.3.65.65.65Z",fill:"#2743AD"}),a.createElement("path",{d:"M5.56 8.17h-.5a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41Zm2.7 0h-.5a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41Zm2.7 0h-.5a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41Zm2.87 0h-.49a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.49a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41Zm-8.3 2.52h-.5a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4Zm2.7 0h-.5a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4Zm2.7 0h-.49a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4Zm2.87 0h-.49a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4Z",fill:"#2D87F3"}),a.createElement("path",{d:"M16 16.8a3.17 3.17 0 1 0 0-6.36 3.17 3.17 0 0 0 0 6.35Z",fill:"#FE921D"}),a.createElement("path",{d:"M15.78 13.62v-1.36a.21.21 0 0 1 .42 0v1.26l.48.4a.21.21 0 0 1-.01.33.21.21 0 0 1-.26-.01l-.55-.46-.02-.01a.21.21 0 0 1-.06-.15Z",fill:"#fff"})),$t=e=>a.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),a.createElement("path",{d:"M7.06 4.97h-2.3a3.12 3.12 0 0 0-3.1 3.1v.43a3.12 3.12 0 0 0 3.1 3.1h1.39s1.47 1.11 1.5.97c.03-.22-.23-.99-.23-.99a3.13 3.13 0 0 0 2.72-3.09v-.41a3.12 3.12 0 0 0-3.08-3.11Zm-2.7 3.55a.23.23 0 1 1 0-.46.23.23 0 0 1 0 .46Zm1.35.4a.33.33 0 1 1 0-.66.33.33 0 0 1 0 .65Zm1.57-.05Z",fill:"#2D87F3"}),a.createElement("path",{d:"M12.88 9.52a3.53 3.53 0 0 0-1.35 6.8s-.23 1.03-.2 1.25c.03.14 1.55-.99 1.55-.99a3.53 3.53 0 0 0 0-7.06Zm-1.33 4.24a.48.48 0 1 1 0-.97.48.48 0 0 1 0 .97Zm1.58.04a.33.33 0 1 1 0-.66.33.33 0 0 1 0 .66Zm1.34-.39a.23.23 0 1 1 0-.46.23.23 0 0 1 0 .46Z",fill:"#FFB521"}),a.createElement("path",{d:"M16.45 1.67h-3.87a1.88 1.88 0 0 0-1.88 2.06l.22 2.29a1.88 1.88 0 0 0 1.73 1.7s-.17.94-.14 1.16c.02.14 1.66-1.13 1.66-1.13l1.92-.03a1.88 1.88 0 0 0 1.86-1.59l.36-2.29a1.88 1.88 0 0 0-1.86-2.17ZM13.1 5.23a.48.48 0 1 1 .34-.14c-.1.1-.22.14-.34.14Zm1.57.05a.33.33 0 1 1 .23-.1.33.33 0 0 1-.23.1Zm1.34-.4a.23.23 0 1 1 .1-.01.23.23 0 0 1-.1.02Z",fill:"#91CAFF"})),Ft=e=>a.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),a.createElement("rect",{x:"8.33337",y:"8.33325",width:"3.33333",height:"3.33333",rx:"1.66667",fill:"#2D87F3"})),Ot=e=>a.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),a.createElement("path",{d:"m3.18 7.06 1.6 1.6 4.33-4.69a.72.72 0 0 0-.03-.99l-.22-.22a.72.72 0 0 0-.99-.02L3.18 7.06Zm13.64 0-1.6 1.6-4.33-4.69a.72.72 0 0 1 .02-.99l.23-.22a.72.72 0 0 1 .99-.02l4.69 4.32Z",fill:"#2743AD"}),a.createElement("path",{d:"M15.04 16.7H4.9a.78.78 0 0 1-.77-.7l-.7-6.67h13.09l-.7 6.67a.78.78 0 0 1-.78.7Z",fill:"#2D87F3"}),a.createElement("path",{d:"M6.23 15.7a.23.23 0 0 1-.23-.22l-.3-4.46a.23.23 0 1 1 .47-.04l.3 4.47a.23.23 0 0 1-.22.25h-.02Zm2.39 0a.23.23 0 0 1-.23-.23L8.3 11a.23.23 0 1 1 .47 0l.07 4.46a.23.23 0 0 1-.22.24h-.01Zm5.15 0h-.02a.23.23 0 0 1-.2-.16.23.23 0 0 1-.02-.09l.3-4.47a.24.24 0 0 1 .25-.22.23.23 0 0 1 .22.26l-.3 4.46a.23.23 0 0 1-.23.22Zm-2.39 0a.23.23 0 0 1-.23-.23l.07-4.47a.24.24 0 0 1 .24-.23.23.23 0 0 1 .23.23l-.08 4.47a.23.23 0 0 1-.23.23Z",fill:"#2743AD"}),a.createElement("path",{d:"M16.04 18.12a2.01 2.01 0 1 0 0-4.03 2.01 2.01 0 0 0 0 4.03Z",fill:"#FE921D"}),a.createElement("path",{d:"M16.97 15.87h-.7v-.7a.23.23 0 0 0-.46 0v.7h-.7a.23.23 0 1 0 0 .47h.7v.69a.23.23 0 1 0 .47 0v-.7h.69a.23.23 0 1 0 0-.46Z",fill:"#fff"}),a.createElement("path",{d:"M16.58 9.48H3.42a.8.8 0 0 1-.78-.7l-.13-1.1a.8.8 0 0 1 .78-.88h13.42a.8.8 0 0 1 .78.88l-.13 1.1a.8.8 0 0 1-.78.7Z",fill:"#BCDEFF"})),Rt=e=>a.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),a.createElement("path",{d:"M10 1.667c-4.595 0-8.333 3.738-8.333 8.333 0 4.595 3.738 8.333 8.333 8.333 4.595 0 8.333-3.738 8.333-8.333 0-4.595-3.738-8.333-8.333-8.333Zm0 13.194a.695.695 0 1 1 0-1.39.695.695 0 0 1 0 1.39Zm1.1-4.415a.698.698 0 0 0-.405.631v.312a.694.694 0 1 1-1.39 0v-.312c0-.81.477-1.553 1.213-1.893.707-.326 1.218-1.19 1.218-1.615 0-.956-.778-1.736-1.736-1.736s-1.736.78-1.736 1.736a.694.694 0 1 1-1.389 0A3.129 3.129 0 0 1 10 4.444a3.129 3.129 0 0 1 3.125 3.125c0 .939-.814 2.318-2.026 2.877Z",fill:"#FF6F4D"})),It=e=>a.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),a.createElement("path",{d:"M11.116 1.72 5.488.85a1.898 1.898 0 0 0-2.155 1.856v14.588a1.898 1.898 0 0 0 2.158 1.855l5.625-.869a1.865 1.865 0 0 0 1.592-1.855V3.575a1.87 1.87 0 0 0-1.592-1.855",fill:"#2D87F3"}),a.createElement("path",{d:"M17.642 9.584a.6.6 0 0 1-.232.472l-1.964 1.518a.446.446 0 0 1-.719-.353v-.51l-2.118-.01a.225.225 0 0 1-.223-.225v-1.8a.225.225 0 0 1 .224-.225l2.12.002-.004-.506a.446.446 0 0 1 .719-.354l1.965 1.52a.6.6 0 0 1 .232.471",fill:"#FF6F4D"}),a.createElement("path",{d:"M17.642 9.584a.6.6 0 0 1-.232.472l-1.964 1.518a.446.446 0 0 1-.719-.353v-.51l-2.118-.01a.225.225 0 0 1-.223-.225v-1.8a.225.225 0 0 1 .224-.225l2.12.002-.004-.506a.446.446 0 0 1 .719-.354l1.965 1.52a.6.6 0 0 1 .232.471m-7.603-.908v1.802c0 .124.1.225.224.225h1.257c.124 0 .225-.1.225-.225V8.676c0-.124-.1-.224-.225-.224h-1.257c-.124 0-.224.1-.224.224m-.673 1.809a.224.224 0 0 1-.225.225h-.407a.61.61 0 0 1-.609-.61V9.069a.61.61 0 0 1 .61-.61h.406a.224.224 0 0 1 .225.225z",fill:"#FF6F4D"})),Dt=e=>a.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),a.createElement("path",{d:"M6.114 3.333a4.64 4.64 0 0 1 3.565 1.708.412.412 0 0 0 .642 0 4.64 4.64 0 0 1 3.565-1.708c2.646 0 4.447 2.302 4.447 5.142 0 1.698-.904 4.446-2.675 6.102-2.522 2.358-4.665 2.965-5.392 3.11a1.3 1.3 0 0 1-.53 0c-.728-.146-2.871-.752-5.393-3.11-1.772-1.656-2.676-4.404-2.676-6.102 0-2.84 1.801-5.142 4.447-5.142",fill:"#FF6F4D"}),a.createElement("path",{d:"M13.298 11.226v-.829a1.205 1.205 0 0 0-1.202-1.204h-.208a.26.26 0 0 1-.261-.259v-.208a1.205 1.205 0 0 0-1.201-1.204h-.832A1.205 1.205 0 0 0 8.39 8.726v.205a.26.26 0 0 1-.259.261h-.207a1.2 1.2 0 0 0-1.202 1.202v.834a1.204 1.204 0 0 0 1.202 1.201h.207a.26.26 0 0 1 .259.262v.205A1.205 1.205 0 0 0 9.594 14.1h.832a1.204 1.204 0 0 0 1.201-1.204v-.208a.26.26 0 0 1 .261-.258h.208a1.205 1.205 0 0 0 1.202-1.204",fill:"#fff"})),Ut=e=>a.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),a.createElement("path",{d:"M4.767 17.236a1.36 1.36 0 0 0 1.256.188l4.097-1.397a.37.37 0 0 1 .28 0l4.097 1.397q.22.071.45.075c.29.002.573-.09.807-.263a1.43 1.43 0 0 0 .6-1.171V3.935A1.417 1.417 0 0 0 14.946 2.5H5.573a1.416 1.416 0 0 0-1.406 1.434v12.13a1.43 1.43 0 0 0 .6 1.172",fill:"#00CB8A"})),Vt=e=>a.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),a.createElement("path",{d:"M17.339 8.075a2.177 2.177 0 0 1-1.717-2.944 1.02 1.02 0 0 0-.305-1.15 8.2 8.2 0 0 0-2.445-1.417 1.03 1.03 0 0 0-1.16.323 2.173 2.173 0 0 1-3.423 0 1.03 1.03 0 0 0-1.161-.323A8.2 8.2 0 0 0 4.85 3.842a1.03 1.03 0 0 0-.322 1.183 2.167 2.167 0 0 1-1.806 2.978 1.03 1.03 0 0 0-.9.828 8 8 0 0 0-.05 2.861 1.03 1.03 0 0 0 .906.861 2.166 2.166 0 0 1 1.767 3.061 1.01 1.01 0 0 0 .283 1.211A8.2 8.2 0 0 0 7.15 18.22q.17.059.35.061a1.02 1.02 0 0 0 .833-.433 2.15 2.15 0 0 1 1.778-.934 2.18 2.18 0 0 1 1.745.878 1.02 1.02 0 0 0 1.2.339 8.3 8.3 0 0 0 2.222-1.328 1.03 1.03 0 0 0 .3-1.172 2.167 2.167 0 0 1 1.739-2.995 1.03 1.03 0 0 0 .872-.844 8 8 0 0 0 .144-1.405q0-.749-.138-1.484a1.02 1.02 0 0 0-.856-.828m-4.561 2.312a2.778 2.778 0 1 1-5.556 0 2.778 2.778 0 0 1 5.556 0",fill:"#2D87F3"})),zt=e=>a.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),a.createElement("path",{d:"M10 19.167A9.167 9.167 0 1 0 10 .833a9.167 9.167 0 0 0 0 18.334",fill:"#BCDEFF"}),a.createElement("path",{d:"M17.356 15.463a9.188 9.188 0 0 0-14.716-.005 9.155 9.155 0 0 0 14.716.005",fill:"#2D87F3"}),a.createElement("path",{d:"M10 10.591a3.548 3.548 0 1 0 0-7.096 3.548 3.548 0 0 0 0 7.096",fill:"#2D87F3"})),Zt={helloSites:{member:()=>Ue.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>Ue.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>Ue.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>Ue.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>Ue.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>Ue.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>Ue.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>Ue.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>Ue.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>Ue.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},Gt=({rank:e,siteType:t="helloSites"})=>{const l=n((()=>{var a,l;return(null===(l=null===(a=Zt[t])||void 0===a?void 0:a[e])||void 0===l?void 0:l.call(a))||""}),[e,t]),{t:i}=ot();return a.createElement("div",{style:{display:"inline-flex",height:"fit-content",alignItems:"center",padding:"5px 12px",gap:"4px",borderRadius:16,border:`1px solid ${"helloSites"===t?gt.colors.blue100:gt.colors.mb100}`}},a.createElement("img",{src:l,alt:e,style:{height:16,width:16}}),a.createElement(Re,{size:"s5",color:"gray.8",weight:"semiBold"},i(`userProfile.userRank.${e}`)))},Wt=({siteType:e="helloSites",userInfo:t})=>(null==t?void 0:t.id)?a.createElement(a.Fragment,null,a.createElement("div",{style:{display:"flex",width:"100%",justifyContent:"space-between"}},a.createElement(u,{src:t.avatar,alt:t.name,size:48,style:{marginBottom:8}}),a.createElement(Gt,{rank:"member",siteType:e})),a.createElement(Re,{size:"s3",weight:"semiBold",color:"gray.8",style:{marginBottom:4}},t.name),a.createElement(Re,{size:"n1",weight:"regular",color:"helloSites"===e?"hb.6":"mb.6"},"@",t.username),a.createElement("hr",null)):null,qt=({className:e,activeItem:t,navMenuItems:n,style:i,onLogout:s,siteType:r="helloSites",userInfo:c})=>{const{locale:m}=ot(),[d,u]=l(),h="string"==typeof t?t:d,g=Ke(Qe(m,"marryBaby"===r)+"/"),v=Ke(Je(m,"marryBaby"===r)+"/"),p=n||[[{key:"userProfile.nav.header.viewProfile",icon:a.createElement(zt,{width:"24",height:"24"}),value:"profile",tracking:{action:"Profile Click"},link:`${g}user/profile/`},{key:"userProfile.nav.card.myHealth",icon:a.createElement(Dt,{width:"24",height:"24"}),value:"myHealth",tracking:{action:"My Health Click"},link:`${g}user/health/`},{key:"userProfile.nav.card.mySaved",icon:a.createElement(Ut,{width:"24",height:"24"}),iconColor:"green_300",value:"saved",tracking:{action:"Bookmarks Click"},link:`${g}user/saved/`},{key:"userProfile.nav.card.myBooking",icon:a.createElement(jt,{width:"24",height:"24"}),value:"booking",disabled:!Ve.includes(m),tracking:{action:"Manage Booking Click"},link:`${g}user/booking/`},{key:"userProfile.nav.card.myCommunity",icon:a.createElement($t,{width:"24",height:"24"}),value:"myCommunities",disabled:!ze.includes(m),tracking:{action:"Community Click"},link:`${g}user/my-communities/`}],...Ze.includes(m)?[[{key:"userProfile.nav.card.eCom",icon:a.createElement(Ot,{width:"24",height:"24"}),value:"eCom",disabled:!Ze.includes(m),subMenu:[{key:"userProfile.nav.card.ecom.manageOrders",value:"eCom-manageOrders",icon:a.createElement(Ft,{width:"24",height:"24"}),link:`${v}shop/ho-so/quan-li-don-hang/`,tracking:{action:"Order Management Click"}},{key:"userProfile.nav.card.ecom.DeliveryAddress",value:"eCom-manageAddress",icon:a.createElement(Ft,{width:"24",height:"24"}),link:`${v}shop/ho-so/dia-chi-giao-hang/`,tracking:{action:"Address Management Click"}},{key:"userProfile.nav.card.ecom.voucher",value:"eCom-voucher",icon:a.createElement(Ft,{width:"24",height:"24"}),link:`${v}shop/ho-so/khuyen-mai/`,tracking:{action:"Voucher Click"}}]}]]:[],[{key:"userProfile.nav.menu.accountSettings",icon:a.createElement(Vt,{width:"24",height:"24"}),subMenu:[{key:"common.profileNavigator.newsletterSubscription",value:"subscription",icon:a.createElement(Ft,{width:"24",height:"24"}),tracking:{action:"Subscription Click"},link:`${g}user/subscriptions/`,disabled:"vi-VN"!==m},{key:"userProfile.nav.menu.password",value:"password",icon:a.createElement(Ft,{width:"24",height:"24"}),tracking:{action:"Set Password Click"},link:`${g}user/password/`},{key:"userProfile.nav.menu.disableAccount",value:"disable-account",icon:a.createElement(Ft,{width:"24",height:"24"}),tracking:{action:"Disable Account Click"},link:`${g}user/disable-account/`}]}],[{key:"userProfile.nav.menu.help",icon:a.createElement(Rt,{width:"24",height:"24"}),value:"help",link:`${g}user/help`,tracking:{action:"Support Click"}},{key:"userProfile.nav.menu.logout",icon:a.createElement(It,{width:"24",height:"24"}),value:"logout",tracking:{action:"Sign Out Click"}}]];return a.createElement(k,{className:e,style:i},a.createElement(Wt,{userInfo:c,siteType:r}),p.map(((e,t)=>a.createElement(o,{key:t},a.createElement("div",{className:"profile-nav-item-group",key:t},e.map((e=>a.createElement(Kt,{key:e.key,item:e,activeKey:h||"",onLogout:s,onClick:()=>u((t=>t===e.key?void 0:e.key)),siteType:r})))),t!==p.length-1&&a.createElement("hr",null)))))},Kt=({item:e,activeKey:t,forceOpen:i,onLogout:o,onClick:s,siteType:r="helloSites"})=>{var c;const[m,d]=l(!1),u=n((()=>"undefined"!=typeof window?window.location.href:""),[]);if(e.disabled)return null;const{t:h}=ot(),g="boolean"==typeof i?i:m,v=t===e.key;return a.createElement(w,{as:e.subMenu?void 0:"a","data-is-open":g,key:e.key,hasSubmenu:!!e.subMenu,onClick:()=>{null==s||s(),e.subMenu&&!i?d((e=>!e)):"logout"===e.value?null==o||o():e.link&&(window.location.href=e.link)},"data-event-category":"Ecommerce","data-event-action":(null===(c=null==e?void 0:e.tracking)||void 0===c?void 0:c.action)||"","data-event-label":u},a.createElement(P,{"data-active":v},e.icon,a.createElement(Re,{size:"p3",style:{marginLeft:e.icon?24:48,transition:"color 300ms"},color:v?"helloSites"===r?"hb.6":"mb.6":"gray.8"},h(e.key)),e.subMenu&&a.createElement(_,{"data-is-open":g},a.createElement(yt,{width:14}))),e.subMenu&&a.createElement(M,null,e.subMenu.map((e=>a.createElement(Kt,{key:e.key,item:e,activeKey:t,onLogout:o,siteType:r})))))},Yt=({isOpen:e,userInfo:t,closePopup:l,siteType:n="helloSites",dispatchLogout:i})=>a.createElement(N,{"data-open":e},a.createElement("div",{className:"popup-content"},a.createElement(qt,{siteType:n,onLogout:()=>{i&&(i(),l())},userInfo:t}))),Qt=({openLogoutPopup:e,onCloseHandler:t,onLogoutHandler:l,siteType:n="helloSites"})=>{const{t:i}=ot();return s((()=>{document.body.classList.toggle("noscroll",e)}),[e]),a.createElement(dt,null,a.createElement(at,{type:"confirm",isOpen:e,closeIcon:a.createElement("img",{src:Ue.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:t},a.createElement(L,null,"helloSites"===n&&a.createElement("img",{src:Ue.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account",loading:"lazy"}),a.createElement("h2",null,i("helloSites"===n?"logout.popup.ask1":"logout.popup.ask.mb")),a.createElement("p",null,i("logout.popup.ask2")),a.createElement(B,{siteType:n},a.createElement(ft,{className:"logout-button",color:"tertiary",size:"lg",onClick:l},i("logout.popup.button.logout")),a.createElement(ft,{className:"cancel-button",color:"primary",size:"lg",onClick:t},i("logout.popup.button.cancel"))))))},Jt=({userInfo:e,siteType:n,onLoginClick:i,SSO_URL:o,currentUrl:r,isMinifyLogin:c,onLogout:m,style:d,isLoading:g,locale:v})=>{const{t:p}=ot(),[E,y]=l(!1),f=(null==e?void 0:e.name)||(null==e?void 0:e.username),[b,C]=l(!1);s((()=>{C(!0)}),[]);const{containerRef:k,onContainerFocus:w,onContainerBlur:P,onButtonMouseDown:_,onClose:M}=St();return g?a.createElement(h,{size:"sm",color:"transparent",loading:!0}):(null==e?void 0:e.id)?a.createElement(a.Fragment,null,a.createElement(T,{ref:k,style:d,tabIndex:0,onBlur:P,onFocus:()=>{var e;w();const t=null===(e=k.current)||void 0===e?void 0:e.querySelector("#desktop-sticky-header .hhgcomp-navprofilebutton-popup");if(t){const e=`calc(100vh - ${t.getBoundingClientRect().top}px)`;t.setAttribute("style",`max-height: ${e};`)}}},a.createElement("div",{onMouseDown:_},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"user-close-icon"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),a.createElement(u,{size:40,className:"user-avatar",src:null==e?void 0:e.avatar,color:"marryBaby"===n?gt.mbColors.pink:gt.colors.secondaryBase,placeholderText:f&&f.length?f[0].toUpperCase():"A"})),a.createElement(Yt,{dispatchLogout:()=>{M(),y(!0)},isOpen:!1,closePopup:M,siteType:n,userInfo:e})),a.createElement(Qt,{openLogoutPopup:E,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),y(!1)},siteType:n,onLogoutHandler:()=>t(void 0,void 0,void 0,(function*(){y(!1),document.body.classList.toggle("noscroll",!1),yield m()}))})):a.createElement(A,{style:Object.assign({textDecoration:"none"},d),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":r,href:b?void 0:Ke(`${o}?returnUrl=${r}`),"data-site-type":n},c?a.createElement(x,{onClick:i},a.createElement("img",{src:Ue.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):a.createElement(a.Fragment,null,"helloSites"===n&&(v===ut.Indonesia||v===ut.PhilippinesTagalog||v===ut.PhilippinesEnglish?a.createElement("img",{className:"mobile-only",src:Ue.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:i}):a.createElement(h,{className:"mobile-only",size:"sm",onClick:i,leftIcon:a.createElement(De,{useCurrentColor:!0,isSolid:!0,size:22}),sx:{paddingLeft:"8px",paddingRight:"12px"}},p("navigation.loginJoin"))),"marryBaby"===n&&a.createElement("div",{className:"mobile-only",onClick:i,style:{paddingLeft:16}},a.createElement(Re,{size:"p3",color:gt.mbColors.pink},p("navigation.loginJoin"))),a.createElement(h,{className:"login-btn",size:"md",onClick:i,leftIcon:a.createElement(De,{useCurrentColor:!0,isSolid:!0,size:22})},p("navigation.loginJoin"))))};var Xt="spdlGfq",ea="vgS16jX";const ta=({onCareHeaderClick:e,currentUrl:t,careUrlFe:l,btnName:n})=>e?a.createElement(ft,{className:Xt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:t=>e(t),style:{paddingLeft:10,paddingRight:10}},n):a.createElement("a",{href:l,className:`${ea} care-button no-replace-click`},a.createElement(ft,{className:Xt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},n));var aa="y5VJdvw",la="oVhOSCy",na="pX8OXTM";function ia({className:e}){return a.createElement("div",null,a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:e},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function oa({siteType:e,enableSearch:t,className:l}){return"helloSites"===e?a.createElement("div",null,a.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:t?Ue.getAssetPath("hamburgerMenuNewWithSearch.svg"):Ue.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:"home",className:l,loading:"lazy"})):a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:l},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}const sa=()=>{const{locale:e,configs:{statics:t},siteType:l}=r(H),n=st(),{t:i}=ot();return a.createElement(Ct,{className:"fake-search-input",name:"search-input-menu-service"+n,size:"md",placeholder:"marryBaby"===l?i("navigation.search.input.placeholder"):i("home.search",{site:Ge[e||"en-PH"]?Ge[e||"en-PH"].SITE_NAME:""}),onChange:()=>{},onKeyDown:e=>"Enter"===e.key&&(window.location.href=`${t.HOME_PAGE_URL}/search/?s=${e.target.value}`),type:"search",onFocus:e=>{e.preventDefault()},displayIcon:a.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},a.createElement(S,null))})};var ra="wnUb-dV",ca="cjbOxWe",ma="gB4rp89";const da=({item:e,menu:t})=>{const{containerRef:l,onContainerFocus:n,onContainerBlur:i,onButtonMouseDown:o,onClose:s}=St({allowBgScroll:!0}),r=Pt();return!e.popupType&&e.link?a.createElement(ua,{isNew:e.isNew},a.createElement("a",{className:`hhgcomp-navigation-itemnav-headeritem ${r?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:ca},"care"===e.id&&a.createElement("div",{className:ma},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},a.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name))):a.createElement(ua,{isNew:e.isNew},a.createElement("div",{ref:l,className:`hhgcomp-navigation-itemnav-headeritem ${r?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,key:e.id,onBlur:i,onFocus:n,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:o,className:ca},"care"===e.id&&a.createElement("a",{className:ma,href:Ke(e.link+"/")},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},a.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name,e.popupType&&a.createElement("div",{className:ra},a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},a.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),a.isValidElement(t)?a.cloneElement(t,{onClose:s}):null))},ua=({isNew:e,children:t})=>{const{t:l}=ot();return e?a.createElement(wt,{color:"green",label:l("home.navigator.menuItem.new"),size:20,styles:{root:{paddingRight:10}}},t):a.createElement(a.Fragment,null,t)},ha=({hrefViewMore:e,titleBtnViewMore:t,UrlFE:l,onClosePopup:n,menuItems:i,headingTitle:o,activeItem:s})=>{const{siteType:c}=r(H);return a.createElement(j,null,a.createElement($,null,a.createElement(kt,{tag:"marryBaby"===c?"h5":"h6",as:"p",fontWeight:"semibold"},o)),null==i?void 0:i.slice(0,6).map(((e,t)=>{const i=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:`${l}/${null==e?void 0:e.link.split("/").filter(Boolean).join("/")}/`:"/";return a.createElement(F,Object.assign({className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":i,"data-is-heading-category":!1,"data-active":e.id&&e.id===s,href:i},!Nt(i)&&{target:"_blank"},{"data-theme":c,key:t,onClick:n}),a.createElement("div",{className:"icon"},a.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32,overflow:"hidden"}})),a.createElement(ua,{isNew:e.isNew},a.createElement("p",{style:{paddingRight:e.isNew?10:0}},e.name)),a.createElement(O,null,a.createElement("img",{src:Ue.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))})),t&&a.createElement(R,{"data-theme":c,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},a.createElement(I,{onClick:n,"data-theme":c,"data-is-heading-category":!1},t,a.createElement(D,null,a.createElement("img",{className:"svg",src:"marryBaby"===c?Ue.getAssetPath("chevronRightPink.svg"):Ue.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))))},ga=({item:e,index:t=0})=>{var l;const{t:n}=ot(),{locale:i,configs:{statics:o}}=r(H);if(!e)return null;const s=`${o.CARE_URL_FE}/${null===(l=bt[i])||void 0===l?void 0:l.HOSPITAL}/${e.slug}-${e.id}`;return a.createElement(U,{key:e.id,href:s,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${t+1}`,"data-event-label":s},a.createElement("img",{src:Ue.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),a.createElement(V,null,a.createElement(z,null,a.createElement("img",{loading:"lazy",alt:e.name,src:e.logo||"/images/avatar.jpg"}))),a.createElement(Z,null,a.createElement(G,null,e.name),a.createElement(W,null,e.description),a.createElement(q,null,n("home.seeMore"),a.createElement("img",{src:Ue.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))))},va=({title:e,link:t,description:l,cta:n,icon:i})=>{const{siteType:o}=r(H);return a.createElement(K,{"data-theme":o},a.createElement(Y,null,a.createElement("img",{src:"marryBaby"===o?Ue.getAssetPath("navMBSpotlightBgNoData.svg"):Ue.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(Q,null,i&&a.createElement("img",{src:i,width:64,height:64,loading:"lazy"}))),a.createElement("div",null,e&&a.createElement(J,null,e),l&&a.createElement(X,null,l),n&&a.createElement("div",null,a.createElement("a",{href:t},a.createElement(ft,{theme:o,className:"survey-contact-submit",size:"md"},n)))))},pa=({title:e,viewMore:t,children:l,link:n,dataEventAction:i=""})=>{const{siteType:o}=r(H);return a.createElement(ee,null,a.createElement(te,null,a.createElement(kt,{tag:"marryBaby"===o?"h5":"h6",as:"p",fontWeight:"semibold"},e),t&&a.createElement(ae,{"data-event-category":"Hamburger Navigation","data-event-action":i,"data-event-label":n,href:n,"data-theme":o},t,a.createElement("img",{src:"marryBaby"===o?Ue.getAssetPath("chevronRightPink.svg"):Ue.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"}))),l)},Ea=({spotlights:e=[],hrefViewMore:t})=>{const{t:l}=ot(),{siteType:n}=r(H);return a.createElement(pa,{title:l("home.navigator.menu.spotlightHospitals")},0!==e.length?a.createElement(a.Fragment,null,a.createElement(le,null,null==e?void 0:e.slice(0,3).map(((e,t)=>a.createElement(ga,{key:t,index:t,item:e})))),a.createElement("div",{style:{position:"absolute",bottom:"6px",right:"1rem"}},a.createElement("a",{href:t},a.createElement(ft,{theme:n,className:"survey-contact-submit",size:"md"},l("home.navigator.menu.care.homeButton"))))):a.createElement(va,{title:l("home.navigator.menu.care.noDatas.title"),description:l("home.navigator.menu.care.noDatas.description"),link:t,cta:l("home.navigator.menu.care.homeButton"),icon:Ue.getAssetPath("community.svg")}))},ya=({item:e,index:t=0})=>e?a.createElement(ne,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":`Spotlight Click ${t+1}`,"data-event-label":e.link},a.createElement(ie,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),a.createElement(oe,null,e.title)):null,fa=({spotlightsList:e=[],hrefViewMore:t})=>{const{t:l}=ot(),{configs:{statics:n}}=r(H);return a.createElement(pa,{title:l("home.navigator.menu.spotlights"),viewMore:l("home.navigator.menu.spotlights.seeAll"),link:t,dataEventAction:"Spotlight See More Click"},0!==e.length?a.createElement(se,null,null==e?void 0:e.slice(0,4).map(((e,t)=>a.createElement(ya,{key:t,index:t,item:{id:e.id,link:n.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})))):a.createElement(va,{title:l("home.navigator.menu.category.noDatas.title"),description:l("home.navigator.menu.category.noDatas.description"),link:t,cta:l("home.navigator.menu.category.noDatas.cta"),icon:Ue.getAssetPath("Spotlight.svg")}))},ba=({spotlights:e=[]})=>{const{configs:{statics:t}}=r(H),{t:l}=ot();return a.createElement(pa,{title:l("home.navigator.menu.trendingPosts"),viewMore:l("home.navigator.menu.trendingPosts.seeMore"),link:Ye(t.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==e.length?a.createElement(re,null,null==e?void 0:e.slice(0,4).map(((e,t)=>a.createElement(ce,{index:t,post:e,key:e.id})))):a.createElement(va,{title:l("home.navigator.menu.together.noPosts.title"),description:l("home.navigator.menu.together.noPosts.description"),link:`${t.HOME_PAGE_URL}/community/`,cta:l("home.navigator.menu.together.noPosts.cta"),icon:Ue.getAssetPath("community.svg")}))},Ca=({item:e,index:t=0})=>e?a.createElement(me,{href:e.url,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${t+1}`,"data-event-label":e.url},a.createElement("img",{loading:"lazy",alt:e.name,src:e.featuredImage||"/images/avatar.jpg",style:{width:"40px",height:"40px"}}),a.createElement(Re,{size:"p2",weight:"regular",style:{marginLeft:16}},e.name),a.createElement("img",{src:Ue.getAssetPath("chevronRightActive.svg"),style:{width:"20px",height:"20px",marginLeft:"auto"},loading:"lazy"})):null,ka=({helpfulUrls:e=[]})=>{const{t:t}=ot();return e.length?a.createElement(pa,{title:t("home.navigator.menu.spotlightEcom")},0!==e.length?a.createElement(de,null,null==e?void 0:e.slice(0,5).map(((e,t)=>a.createElement(Ca,{key:t,index:t,item:e})))):a.createElement(a.Fragment,null)):null},wa=({item:e,index:t=0})=>{const{t:l}=ot(),{configs:{statics:n}}=r(H);if(!e)return null;const i=e.link?e.link.startsWith("http")?e.link:`${n.HOME_PAGE_URL}${e.link}`:void 0;return a.createElement(ue,{href:i,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":i},a.createElement("img",{src:Ue.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(he,null,a.createElement(ge,null,e.title),a.createElement(ve,null,e.subtitle),a.createElement(pe,null,l("home.seeMore"),a.createElement("img",{src:Ue.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))),a.createElement(Ee,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},Pa=({item:e,index:t=0,color:l})=>{const{t:n}=ot(),{configs:{statics:i}}=r(H);if(!e)return null;const o=e.link?e.link.startsWith("http")?e.link:`${i.HOME_PAGE_URL}${e.link}`:void 0,s=()=>a.createElement(be,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})),c=()=>a.createElement(Ce,null,a.createElement(ke,null,a.createElement(we,null,e.title),a.createElement(Pe,null,e.subtitle)),a.createElement(_e,null,a.createElement("div",{className:"mobile-only"},n("home.seeMore")),a.createElement("img",{src:Ue.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"},loading:"lazy"})));return a.createElement(ye,{href:o,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":o,"data-color":l},a.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none"},a.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),a.createElement("img",{src:Ue.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),a.createElement(fe,null,a.createElement("div",{className:"mobile-only"},s()),a.createElement("div",{className:"desktop-only"},c())),a.createElement("div",{className:"mobile-only"},c()),a.createElement("div",{className:"desktop-only"},s()))},_a=({hrefViewMore:e,spotlightHealthTools:t=[]})=>{const{t:l}=ot(),n=["pink","orange","green"],{siteType:i}=r(H);return a.createElement(pa,{title:l("home.navigator.menu.spotlightTools")},0!==t.length&&a.createElement(Me,null,null==t?void 0:t.slice(0,3).map(((e,t)=>"marryBaby"===i?a.createElement(Pa,{key:t,index:t,item:e,color:n[t]}):a.createElement(wa,{key:t,index:t,item:e})))),0===t.length&&a.createElement(va,{title:l("home.navigator.menu.healthTools.noDatas.title"),description:l("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:l("home.navigator.menu.healthTools.noDatas.cta"),icon:Ue.getAssetPath("community.svg")}))},Ma=({closePopup:e,menuItems:t=[]})=>{var l,n;const{siteType:i,ssrMenuContent:{categories:o,healthTools:s,care:c,together:m,ecom:d},activeMenuService:u,configs:{statics:h,enableSearchBar:g},locale:v}=r(H),{t:p}=ot();return a.createElement(Ne,{id:"categories-menu"},g?a.createElement(Le,{"data-theme":i,onClick:()=>{window.location.href=`${h.HOME_PAGE_URL}/search`}},a.createElement(sa,null)):null,a.createElement(Be,null,a.createElement(ha,{UrlFE:h.HOME_PAGE_URL,titleBtnViewMore:p("home.navigator.menuItem.allCategories"),menuItems:t,headingTitle:p("home.navigator.menuItem.healthCategories"),onClosePopup:e,activeItem:u}),"categories"===u&&a.createElement(fa,{spotlightsList:(null==o?void 0:o.spotlights)||[],hrefViewMore:`${h.HOME_PAGE_URL}${"tl-PH"===v?"/fil":""}/spotlight/`}),"tools"===u&&a.createElement(_a,{spotlightHealthTools:null==s?void 0:s.spotlights,hrefViewMore:`${h.HOME_PAGE_URL}${"tl-PH"===v?"/fil":""}${(null===(l=We[v])||void 0===l?void 0:l.HEALTH_TOOLS)||""}`}),"care"===u&&a.createElement(Ea,{spotlights:null==c?void 0:c.spotlights,hrefViewMore:`${h.CARE_URL_FE}/${null===(n=bt[v])||void 0===n?void 0:n.SPECIALTIES}`}),"together"===u&&a.createElement(ba,{spotlights:null==m?void 0:m.spotlights}),"ecom"===u&&a.createElement(ka,{helpfulUrls:null==d?void 0:d.helpfulUrls})))},Na=({menuItems:e})=>{const{siteType:t,configs:{enableSearchBar:l}}=r(H),{containerRef:n,onContainerFocus:i,onContainerBlur:o,onButtonMouseDown:s,onClose:c}=St();return a.createElement(Ht,{mediaQueryKey:"mbDown"},a.createElement("header",{className:aa},a.createElement("div",{className:la,ref:n,role:"button",tabIndex:0,onBlur:o,onFocus:i},a.createElement("div",{className:na,onMouseDown:s,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},a.createElement(ia,{className:"mobile-close-icon"}),a.createElement(oa,{siteType:t,enableSearch:l,className:"mobile-hamburger-icon"})),a.createElement(Ma,{menuItems:e,closePopup:c}))))},La=e=>{var t,a,l,n;return e?{termId:e.term_id||null,sponsor:e.sponsor?(n=e.sponsor,n?{title:n.title,logo:n.logo,link:n.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>La(e))))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(a=e.cat_parent)||void 0===a?void 0:a.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(l=e.reviewed_by,{postTitle:l.post_title,permalink:l.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>(e=>({title:e.title,content:e.content}))(e))):null,customizedUrl:e.customized_url||null}:{}},Ba=e=>{var t,a;if(!e)return{};const l=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),n=null===(a=e.link)||void 0===a?void 0:a.startsWith("/fil/"),i=e.link?e.link.startsWith("http")||l?e.link:n?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):`/health-tools${e.link.replace("/health-tools/","/")}`:void 0;return{icon:e.icon,link:i,subtitle:e.subtitle,title:e.title}},Ta=e=>{var t,a,l,n,i;return e&&(null==e?void 0:e.object_id)?{thumbnail:(null===(t=null==e?void 0:e.object_id)||void 0===t?void 0:t.logo)||"",link:(null===(a=null==e?void 0:e.object_id)||void 0===a?void 0:a.slug)||"",subtitle:(null===(l=e.object_id)||void 0===l?void 0:l.name)||"",name:(null===(n=e.object_id)||void 0===n?void 0:n.name)||"",slug:(null===(i=e.object_id)||void 0===i?void 0:i.slug)||""}:{}},Aa=e=>{var t,a,l,n,i;return e&&(null==e?void 0:e.object_id)?{id:null===(t=e.object_id)||void 0===t?void 0:t.id,name:(null===(a=e.object_id)||void 0===a?void 0:a.name)||"",logo:(null===(l=null==e?void 0:e.object_id)||void 0===l?void 0:l.logo)||"",description:(null===(n=e.object_id)||void 0===n?void 0:n.description)||"",slug:(null===(i=e.object_id)||void 0===i?void 0:i.slug)||""}:{}},xa=(e,t,a,l)=>(a||"https://together.hellohealthgroup.com/")+"api/v1/"+vt(Te.GET_USER_POSTS,Object.assign(Object.assign({},l),{websiteUrl:t?"https://marrybaby.vn":`https://${qe[e]}`})),Ha=({type:e,specialtySlug:t,locale:a})=>{var l,n;return`${null===(l=bt[a])||void 0===l?void 0:l.ALL}/${(null===(n=bt[a])||void 0===n?void 0:n[e])||"doctor"}/${null!=t?t:""}`},Sa=e=>e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{},ja=e=>{const t=new Date;if(null==e?void 0:e.startDate){const a=new Date(e.startDate);if(t.getTime()<a.getTime())return!1}if(null==e?void 0:e.endDate){const a=new Date(e.endDate);if(t.getTime()>a.getTime())return!1}return!0};var $a="q3nL5cp",Fa="_2DNf80G",Oa="Q-glX-n";const Ra=({onClosePopup:e})=>a.createElement("div",{className:`${Oa} close-btn`,onClick:e},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),Ia=({onClosePopup:e,isDisplay:t,children:l,isNavMenu:n,hideCloseBtn:i})=>a.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!n},a.createElement(_t,null,!i&&a.createElement("div",{className:Fa},a.createElement(Ra,{onClosePopup:e})),a.createElement(_t,{className:$a},l))),Da=({careSpecialties:e=[],isOpen:t,onClose:l,spotlights:n=[]})=>{var i;const{t:o}=ot(),{locale:s,configs:{statics:c}}=r(H);return a.createElement(Ia,{onClosePopup:l,isDisplay:t,isNavMenu:!0},a.createElement(ha,{headingTitle:o("home.navigator.menuItem.specialties"),hrefViewMore:`${c.CARE_URL_FE}/`,UrlFE:c.CARE_URL_FE,onClosePopup:l,titleBtnViewMore:o("home.navigator.menuItem.allSpecialties"),menuItems:(null==e?void 0:e.map((e=>e?{name:String(e.name)||"",link:Ha({type:"DOCTOR",specialtySlug:e.slug,locale:s}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{})))||[]}),a.createElement(Ea,{spotlights:n,hrefViewMore:`${c.CARE_URL_FE}/${null===(i=bt[s])||void 0===i?void 0:i.SPECIALTIES}/`}))},Ua=({categories:e=[],spotlightsList:t=[],onClose:l,isOpen:n})=>{const{t:i}=ot(),{locale:o,configs:{statics:s}}=r(H);return a.createElement(Ia,{onClosePopup:l,isDisplay:n,isNavMenu:!0},a.createElement(ha,{hrefViewMore:`${s.HOME_PAGE_URL}${"tl-PH"===o?"/fil":""}/categories/`,UrlFE:s.HOME_PAGE_URL,onClosePopup:l,titleBtnViewMore:i("home.navigator.menuItem.allCategories"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.displayName||null,link:(null==e?void 0:e.customizedUrl)||(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{})))||[],headingTitle:i("home.navigator.menuItem.healthCategories")}),a.createElement(fa,{spotlightsList:t,hrefViewMore:`${s.HOME_PAGE_URL}${"tl-PH"===o?"/fil":""}/spotlight/`}))},Va=({communities:e=[],onClose:t,isOpen:l,spotlights:n=[]})=>{const{t:i}=ot(),{configs:{statics:o}}=r(H);return a.createElement(Ia,{onClosePopup:t,isDisplay:l,isNavMenu:!0},a.createElement(ha,{hrefViewMore:Ye(o.TOGETHER_URL_FE),UrlFE:Ke(o.TOGETHER_URL_FE),onClosePopup:t,titleBtnViewMore:i("home.navigator.menuItem.allCommunities"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{})))||[],headingTitle:i("home.navigator.menuItem.allCommunitiesheadingTitle")}),a.createElement(ba,{spotlights:n}))},za=({locale:e,onClose:t,isOpen:l,spotlightHealthTools:n=[],healthTools:i=[]})=>{var o;const{t:s}=ot(),{configs:{statics:c}}=r(H),m=`${c.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(o=We[e])||void 0===o?void 0:o.HEALTH_TOOLS)||""}`;return a.createElement(Ia,{onClosePopup:t,isDisplay:l,isNavMenu:!0},a.createElement(ha,{hrefViewMore:m,UrlFE:c.HOME_PAGE_URL,onClosePopup:t,headingTitle:s("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:s("home.navigator.menuItem.allHealthTools"),menuItems:i.map((e=>({name:e.title,link:e.link?e.link.startsWith("http")?e.link:`${c.HOME_PAGE_URL}${e.link}`:void 0,thumbnail:e.icon})))}),a.createElement(_a,{spotlightHealthTools:n,hrefViewMore:m}))},Za=({onTopBarAppears:e,languageMenu:t,menuItems:n,logoComponent:o})=>{var m;const{siteType:d,isMobile:u=!1,locale:h,sitewideBanner:g,sitewideBannerShown:v=!0,sponsorComponent:p,onBookingClick:E,currentUrl:y,onLoginClick:f,cartNumber:b,configs:{statics:C,enableNavCareBooking:k,enableSearchBar:w},userState:{userInfo:P},onLogout:_,isUserLoading:M}=r(H),{t:N}=ot(),{SSO_URL:L,HOME_PAGE_URL:B}=C,T=!!p,[A,x]=l(!1),S=i(47),j=i(null),$=i(!1),F="helloSites"===d?null===(m=Ge[h])||void 0===m?void 0:m.LOGO_TYPE:d,O="undefined"!=typeof window,R=c(rt((()=>{if(O){if(!j.current)return;const e=j.current.getBoundingClientRect();e.top<=0&&window.scrollY>S.current&&window.scrollY>e.height+20&&!$.current&&($.current=!0,x(!0)),window.scrollY<S.current&&$.current&&($.current=!1,x(!1)),window.scrollY>=0&&(S.current=window.scrollY)}}),200),[]);s((()=>{null==e||e(!A)}),[A]),s((()=>(window.addEventListener("scroll",R,{passive:!0}),()=>{window.removeEventListener("scroll",R)})),[]),s((()=>{u&&R()}),[u]);const I=v&&!!g;return a.createElement(Ae,{"data-site-type":d,"data-sponsored":T,"data-sitewide-banner-shown":I,"data-header-type":"home","data-collapsed":A,"data-is-displayed":!0,id:"site-header",ref:j},g,a.createElement(xe,{"data-site-type":d},a.createElement(He,{"data-site-type":d},a.createElement(Na,{menuItems:n}),o||a.createElement("a",{style:{flexShrink:0},href:B},a.createElement("div",null,a.createElement(it,{style:{display:"flex"},type:F,badge:"id-ID"===h&&a.createElement("img",{src:Ue.getAssetPath("sehat-badge.png"),width:"56",height:"23",loading:"lazy"}),dateForSeasonal:new Date,locale:h,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===d?a.createElement(Wa,{menuItems:n}):w&&a.createElement(Ga,{siteType:d})),a.createElement(Se,{"data-site-type":d},"marryBaby"===d?w&&a.createElement(Ga,{siteType:d}):a.createElement(Wa,{menuItems:n}),a.createElement(je,null,a.createElement(xt,{count:b,locale:h}),k&&a.createElement(Ht,{mediaQueryKey:"mbUp"},a.createElement(ta,{careUrlFe:C.CARE_URL_FE,currentUrl:y,btnName:N("login.booking"),onCareHeaderClick:E})),t,a.createElement(Jt,{userInfo:P,siteType:d,onLoginClick:f||(()=>{const e=window.location.href;window.location.href=L?Ke(`${L}?returnUrl=${e}`):e}),SSO_URL:Ye(C.SSO_URL),currentUrl:y,onLogout:_,isLoading:M,locale:h})))),p?a.isValidElement(p)?a.cloneElement(p,{isCollapsed:A,locale:h,isMobile:u}):p:null)},Ga=({siteType:e})=>a.createElement(Ht,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},a.createElement(sa,null)),Wa=({menuItems:e})=>{const{siteType:t,locale:l,ssrMenuContent:{categories:n,healthTools:i,care:o,together:s}}=r(H);return a.createElement(Ht,{mediaQueryKey:"mbUp",style:{height:"100%"}},a.createElement($e,{"data-site-type":t},null==e?void 0:e.map(((e,t)=>a.createElement(da,{key:t,item:e,menu:"categories"===e.popupType?a.createElement(Ua,{categories:null==n?void 0:n.items,spotlightsList:null==n?void 0:n.spotlights}):"tools"===e.popupType?a.createElement(za,{locale:l,healthTools:null==i?void 0:i.items,spotlightHealthTools:null==i?void 0:i.spotlights}):"together"===e.popupType?a.createElement(Va,{communities:null==s?void 0:s.items,spotlights:null==s?void 0:s.spotlights}):"care"===e.popupType?a.createElement(Da,{careSpecialties:null==o?void 0:o.items,spotlights:null==o?void 0:o.spotlights}):null})))))},qa=e=>{var t,o;const{isMobile:m,locale:d,onTopBarAppears:u,languageOptions:h,sponsorComponent:g,sitewideBanner:v,sitewideBannerShown:p,className:E,logoComponent:y}=e,f=(()=>{const{t:e}=ot(),{siteType:t,locale:a,configs:{enableNavDiscover:l,enableNavHealthTools:i,enableNavCare:o,enableNavTogether:s,enableNavEcom:c,statics:m}}=r(H),d="marryBaby"===t;return n((()=>{var t;const n=[];return l&&n.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${m.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}/categories`,niceName:"",thumbnail:d?Ue.getAssetPath("categories-mb.svg"):Ue.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),i&&n.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${m.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}${(null===(t=We[a])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:d?Ue.getAssetPath("healthtools-mb.svg"):Ue.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),s&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:Ke(m.TOGETHER_URL_FE+"/"),thumbnail:d?Ue.getAssetPath("community-mb.svg"):Ue.getAssetPath("nav-icons/community.svg"),popupType:"together"}),c&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:Ke(m.HOME_PAGE_URL+"/shop"),thumbnail:Ue.getAssetPath("nav-icons/shop.svg"),popupType:null}),o&&n.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:Ke("ms-MY"===a?m.HOME_PAGE_URL+"/care/current-location/hospital/":m.HOME_PAGE_URL+"/care"),thumbnail:Ue.getAssetPath("nav-icons/care.svg"),popupType:"id-ID"===a?"care":null}),n}),[a,o,s,c])})();(()=>{const{isFirstLogin:e,userState:t}=r(H),{userInfo:a}=t;s((()=>{(null==a?void 0:a.id)&&(e?(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})})}),[])})();const b=p&&!!v,C=!!g,k=!!(null===(o=null===(t=null==g?void 0:g.props)||void 0===t?void 0:t.sponsoredBy)||void 0===o?void 0:o.length),{headerRef:w,defaultHeaderHeight:P,headerHeight:_,headerBottom:M}=(({hasSponsoredBanners:e,isSponsored:t,isShowingSiteWideBanner:a,isMobile:o})=>{const r=i(null),[m,d]=l(0),[u,h]=l(64),g=c(Et((()=>{var e,t,a,l;const n=(null===(e=r.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=r.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=n+200&&(d(n),h((null===(l=r.current)||void 0===l?void 0:l.getBoundingClientRect().bottom)||m))}),200),[]);s((()=>(window.addEventListener("resize",g,{passive:!0}),window.addEventListener("scroll",g,{passive:!0}),g(),()=>{window.removeEventListener("resize",g),window.removeEventListener("scroll",g)})),[]),s((()=>{g()}),[o,a,t,e,r.current]);const v=n((()=>{let l=56;return a&&(l+=64),t&&(l+=40,e&&(l+=57)),l}),[o,a,e,t]);return{defaultHeaderHeight:v,headerHeight:m||v,headerBottom:u,headerRef:r}})({isShowingSiteWideBanner:b,isSponsored:C,hasSponsoredBanners:k,isMobile:m});return a.createElement(Oe,{id:"navigation-v2",style:{"--default-header-height":P+"px","--header-height":`calc(${_}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":M+"px"},className:E},a.createElement("section",{ref:w},a.createElement(Za,{menuItems:f,onTopBarAppears:u,logoComponent:y,languageMenu:a.createElement(Bt,{languageOptions:h,locale:d})})))},Ka=e=>{const t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return a.createElement(Fe,Object.assign({},t),a.createElement(qa,Object.assign({},t)))},Ya=e=>t(void 0,void 0,void 0,(function*(){var t,a,l,n,i,o,s,r,c,m,d,u,h,g,v,p,E,y,f,b,C,k,w;const P={},_="vi-VN_MB"===e;try{const M="tl-PH"===e?"lang=fil":"";try{const[d,u,h,g]=yield Promise.all([fetch(Ke(`${Xe(e)}/wp-json/api/categories${M?"?"+M:""}`)).then((e=>e.json())),fetch(Ke(`${Xe(e)}/wp-json/api/spotlights?per_page=10&order_by=start_date${M?"&"+M:""}`)).then((e=>e.json())),fetch(Ke(`${Xe(e)}/wp-json/api/${_?"health-tools":"healthtools"}${M?"?"+M:""}`)).then((e=>e.json())),fetch(Ke(`${Xe(e)}/wp-json/api/${_?"health-tools":"healthtools"}/favorites${M?"?"+M:""}`)).then((e=>e.json()))]);P.categories={items:(null===(a=null===(t=null==d?void 0:d.data)||void 0===t?void 0:t.map)||void 0===a?void 0:a.call(t,La))||[],spotlights:(null===(o=null===(i=null===(n=null===(l=null==u?void 0:u.data)||void 0===l?void 0:l.articles)||void 0===n?void 0:n.map)||void 0===i?void 0:i.call(n,Sa))||void 0===o?void 0:o.filter(ja))||[]},P.healthTools={items:(null===(r=null===(s=null==h?void 0:h.data)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,Ba))||[],spotlights:(null===(m=null===(c=null==g?void 0:g.data)||void 0===c?void 0:c.map)||void 0===m?void 0:m.call(c,Ba))||[]}}catch(e){}if(_||ze.includes(e))try{const[t,a]=yield Promise.all([fetch(Ke(`${et()}/api/v1/community?website_url=https://${qe[e]}`)).then((e=>e.json())),fetch(Ke(`${et()}/api/v1/options?website_url=https://${qe[e]}&meta_key=popular_post`)).then((e=>e.json()))]);P.together={items:(null===(h=null===(u=null===(d=null==t?void 0:t.data)||void 0===d?void 0:d.communities)||void 0===u?void 0:u.map)||void 0===h?void 0:h.call(u,lt))||[],spotlights:(null===(p=null===(v=null===(g=null==a?void 0:a.data)||void 0===g?void 0:g.posts)||void 0===v?void 0:v.map)||void 0===p?void 0:p.call(v,nt))||[]}}catch(e){}if(Ve.includes(e))try{const[t,a]=yield Promise.all([fetch(Ke(tt()+`/api/options/setting_menu?site=${qe[e]}&type=0`)).then((e=>e.json())),fetch(Ke(tt()+`/api/options/setting_menu?site=${qe[e]}&type=1`)).then((e=>e.json()))]);P.care={items:(null===(b=null===(f=null===(y=null===(E=null==t?void 0:t._data)||void 0===E?void 0:E.setting_menu)||void 0===y?void 0:y.menu_specialty)||void 0===f?void 0:f.map)||void 0===b?void 0:b.call(f,Ta))||[],spotlights:(null===(w=null===(k=null===(C=null==a?void 0:a._data.setting_menu)||void 0===C?void 0:C.menu_hospital)||void 0===k?void 0:k.map)||void 0===w?void 0:w.call(k,Aa))||[]}}catch(e){}}catch(e){console.error(e)}return P})),Qa=e=>t(void 0,void 0,void 0,(function*(){return(yield m("nav-menu-content",(()=>Ya(e||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}}));export{Bt as L,Ka as N,qt as P,Qa as a,Qt as b,Jt as c,xa as d,Ya as g,Nt as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-b4725f4c.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-a614f12d.js";import{T as n}from"./index-7417738a.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 +1 @@
|
|
|
1
|
-
import e,{useState as a,useEffect as t}from"react";import{C as s}from"./index.styles-
|
|
1
|
+
import e,{useState as a,useEffect as t}from"react";import{C as s}from"./index.styles-851aa23f.js";import{B as n}from"./index-a614f12d.js";const r=({type:a="solid",className:t,style:n})=>e.createElement(s,{style:n,className:t,"data-diver-type":a,dividerType:a});var l="Dudns9-";const i=({value:s,choices:r,onChange:i})=>{const[o,d]=a(s);return t((()=>{d(s)}),[s]),e.createElement("div",{className:l},r.map(((a,t)=>e.createElement(n,{dataEventCategory:a.dataEventCategory,dataEventAction:a.dataEventAction,dataEventLabel:a.dataEventLabel,size:"sm",variant:a.value===o?"primary":"tertiary",key:t,onClick:()=>{d(a.value),null==i||i(a.value)}},a.label||""))))};export{i as B,r as D};
|