@hhgtech/hhg-components 1.28.27 → 1.28.29
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/{Subot-32f549c2.js → Subot-0aecfc44.js} +1 -1
- 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-366d8cc3.js → constants-1b348a8d.js} +1 -1
- package/build/{constants-14381f42.js → constants-cc9242d8.js} +1 -1
- package/build/constants.js +1 -1
- package/build/{core-7b6d9373.js → core-490b1f2c.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{Subot-90eeb6b3.js → Subot-121ca712.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-f36eb4e2.js → constants-96244fe4.js} +1 -1
- package/build/esm/{constants-a2326fe5.js → constants-df5951b0.js} +2 -2
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-2f2dda7e.js → core-0fbf40e9.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-41d50b69.js → getDynamicHealthTool-57676066.js} +1 -1
- package/build/esm/{getSocialList-060992d0.js → getSocialList-7d025d4c.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-0261ca22.js +1 -0
- package/build/esm/index-043879e7.js +1 -0
- package/build/esm/index-0893ccc4.js +1 -0
- package/build/esm/index-09ed6064.js +1 -0
- package/build/esm/index-1d5302a0.js +1 -0
- package/build/esm/{index-7764ffef.js → index-316ff180.js} +1 -1
- package/build/esm/{index-ad37bd51.js → index-371d32ad.js} +1 -1
- package/build/esm/{index-8076b5e7.js → index-4f7179a3.js} +1 -1
- package/build/esm/{index-be029805.js → index-6ccbe13a.js} +6 -6
- package/build/esm/{index-21499b02.js → index-755ffff4.js} +1 -1
- package/build/esm/{index-c97cb127.js → index-791c2e73.js} +1 -1
- package/build/esm/index-93373164.js +1 -0
- package/build/esm/{index-8f7e0932.js → index-96bce0b3.js} +1 -1
- package/build/esm/{index-18db64a2.js → index-ae7b1e93.js} +1 -1
- package/build/esm/{index-5d265d4a.js → index-ba9f0132.js} +5 -5
- package/build/esm/index-ca142afd.js +1 -0
- package/build/esm/{index-2f775881.js → index-cdb97442.js} +1 -1
- package/build/esm/{index-4e2b3392.js → index-cef224b2.js} +1 -1
- package/build/esm/{index-7eaffe1d.js → index-d40a70dc.js} +1 -1
- package/build/esm/index-dba08037.js +1 -0
- package/build/esm/{index-0da50440.js → index-e0788105.js} +1 -1
- package/build/esm/{index-bb52270a.js → index-e97749f3.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-ead6e56f.js → index.styled-1cd98247.js} +1 -1
- package/build/esm/{index.styled-818887fe.js → index.styled-4106f4c6.js} +1 -1
- package/build/esm/{index.styled-0dcbc92f.js → index.styled-73394e5f.js} +3 -3
- package/build/esm/{index.styled-fbb9b538.js → index.styled-a8289634.js} +1 -1
- package/build/esm/{index.styles-f64f8d92.js → index.styles-7c62b30f.js} +1 -1
- package/build/esm/interfaces/types/Subot.d.ts +6 -0
- 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 +1 -1
- package/build/esm/pwg.js +2 -2
- package/build/esm/{routing-2ba10dbb.js → routing-0984f077.js} +1 -1
- package/build/esm/subot/api/cachedSystem.d.ts +5 -0
- package/build/esm/subot/index.d.ts +2 -0
- package/build/esm/subot.js +86 -86
- package/build/esm/together.js +1 -1
- package/build/esm/{types-0fecac8b.js → types-33ea2734.js} +1 -1
- package/build/esm/{types-48cbc013.js → types-6b838f10.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-b8bdf992.js → useCategory-3ed22813.js} +1 -1
- package/build/esm/useHealthToolCache-4781b2ce.js +1 -0
- package/build/esm/{usePlacesAutocomplete-65a79be3.js → usePlacesAutocomplete-63cbc6a6.js} +1 -1
- package/build/esm/{useRafState-3be3d0f1.js → useRafState-376ac043.js} +1 -1
- package/build/esm/{useTranslations-86073e0f.js → useTranslations-d53c1330.js} +1 -1
- package/build/esm/{utils-d8b31ded.js → utils-319970d5.js} +1 -1
- package/build/esm/{utils-d6d6970c.js → utils-f731ba69.js} +1 -1
- package/build/esm/vaccination.js +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-ec5d8bfb.js +1 -0
- package/build/{getSocialList-7ecf1347.js → getSocialList-0cfc38f0.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-423f1457.js → index-0881d1a7.js} +1 -1
- package/build/{index-c8b6e55e.js → index-1206a86e.js} +1 -1
- package/build/index-341bc9e6.js +1 -0
- package/build/index-380a2f7e.js +1 -0
- package/build/index-3e86dce2.js +1 -0
- package/build/{index-a5a8d5b2.js → index-5913d326.js} +1 -1
- package/build/{index-9b13300a.js → index-647425f2.js} +1 -1
- package/build/index-6cf9985d.js +1 -0
- package/build/index-7270ec7c.js +1 -0
- package/build/{index-0ab457b1.js → index-8ec60863.js} +1 -1
- package/build/{index-ac0f6385.js → index-9109d1bf.js} +1 -1
- package/build/{index-f3be380d.js → index-91f98f83.js} +1 -1
- package/build/{index-50466223.js → index-a6babdf2.js} +1 -1
- package/build/{index-07d53d13.js → index-a93b35c0.js} +1 -1
- package/build/{index-d23ceba7.js → index-adc25678.js} +2 -2
- package/build/{index-24cc82a8.js → index-b23309fc.js} +1 -1
- package/build/{index-114d7387.js → index-b9319ef9.js} +1 -1
- package/build/index-ba7c1587.js +1 -0
- package/build/{index-1c5db8eb.js → index-d1b25d67.js} +11 -11
- package/build/{index-86f98021.js → index-d489663e.js} +1 -1
- package/build/{index-7deb2119.js → index-dd911c26.js} +1 -1
- package/build/{index-95c522c4.js → index-e5e11474.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-8dfefbeb.js → index.styled-4ee740e4.js} +1 -1
- package/build/{index.styled-8018ceba.js → index.styled-71578102.js} +6 -6
- package/build/{index.styled-49b96aab.js → index.styled-7a123037.js} +6 -6
- package/build/{index.styled-41210848.js → index.styled-ad1a59a5.js} +1 -1
- package/build/{index.styles-512df4ca.js → index.styles-8ef1f871.js} +5 -5
- package/build/interfaces/types/Subot.d.ts +6 -0
- 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 +2 -2
- package/build/{routing-f680f947.js → routing-35e88815.js} +1 -1
- package/build/subot/api/cachedSystem.d.ts +5 -0
- package/build/subot/index.d.ts +2 -0
- package/build/subot.js +86 -86
- package/build/together.js +1 -1
- package/build/{types-3f2b8af5.js → types-617d92e4.js} +1 -1
- package/build/{types-b0e9dd8a.js → types-69c98106.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-be3f9396.js → useCategory-92e6ec2d.js} +1 -1
- package/build/{useHealthToolCache-bd4c5d0c.js → useHealthToolCache-6e818624.js} +1 -1
- package/build/{usePlacesAutocomplete-98b87115.js → usePlacesAutocomplete-f090a304.js} +1 -1
- package/build/{useRafState-7ffa2d5a.js → useRafState-7cad17e4.js} +1 -1
- package/build/{useTranslations-ee5c0b48.js → useTranslations-964cc211.js} +1 -1
- package/build/utils-5d70b14e.js +1 -0
- package/build/{utils-c7f33c02.js → utils-b5073b06.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/esm/index-0069b300.js +0 -1
- package/build/esm/index-48c55bdf.js +0 -1
- package/build/esm/index-4ab7a8ff.js +0 -1
- package/build/esm/index-abd079a6.js +0 -1
- package/build/esm/index-bf0691ed.js +0 -1
- package/build/esm/index-cef99cec.js +0 -1
- package/build/esm/index-d45b63f5.js +0 -1
- package/build/esm/index-d79a7b50.js +0 -1
- package/build/esm/useHealthToolCache-f00411f5.js +0 -1
- package/build/getDynamicHealthTool-333e03a9.js +0 -1
- package/build/index-0141e4a6.js +0 -1
- package/build/index-3d3ba5a5.js +0 -1
- package/build/index-aa8dabc6.js +0 -1
- package/build/index-b7126d99.js +0 -1
- package/build/index-b9bb33ab.js +0 -1
- package/build/index-c140ea63.js +0 -1
- package/build/utils-bd531f10.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-361346e6.js → BMI_BOYS.percentile.monthly-8510c09d.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-45ac48c1.js → BMI_BOYS.percentile.weekly-e4a28730.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-5c0939d0.js → BMI_BOYS.percentile.yearly-e43118a7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-4f2403fc.js → BMI_BOYS.zscore.monthly-08e48a78.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-5af7989f.js → BMI_BOYS.zscore.weekly-5234da73.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-dffb1a51.js → BMI_BOYS.zscore.yearly-e9020f24.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-0563b375.js → BMI_GIRLS.percentile.monthly-afa581dd.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-3e5d9dc6.js → BMI_GIRLS.percentile.weekly-a6cd10db.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-b477720e.js → BMI_GIRLS.percentile.yearly-6ad339f0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a40829a3.js → BMI_GIRLS.zscore.monthly-86545617.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-f46c55c7.js → BMI_GIRLS.zscore.weekly-e7a85e70.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-fb6e8eca.js → BMI_GIRLS.zscore.yearly-2fd2dfb9.js} +0 -0
- /package/build/{ChevronDown-706fb94d.js → ChevronDown-0fe2f27d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-6abbcf47.js → HEAD CIRCUM_BOYS.percentile.monthly-651531e7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-73f63264.js → HEAD CIRCUM_BOYS.percentile.weekly-89da3610.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-33ee7e00.js → HEAD CIRCUM_BOYS.percentile.yearly-ea4f305f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-41bc55c7.js → HEAD CIRCUM_BOYS.zscore.monthly-6daf0ba1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2cc779ec.js → HEAD CIRCUM_BOYS.zscore.weekly-5ae47f9e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-55db15a7.js → HEAD CIRCUM_BOYS.zscore.yearly-6af6a36c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-72a3bdba.js → HEAD CIRCUM_GIRLS.percentile.monthly-df00f3eb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a4e5a1e5.js → HEAD CIRCUM_GIRLS.percentile.weekly-e9365b21.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-6ca29c9a.js → HEAD CIRCUM_GIRLS.percentile.yearly-390acd85.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-1bf1fced.js → HEAD CIRCUM_GIRLS.zscore.monthly-2ddec385.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-6a455b87.js → HEAD CIRCUM_GIRLS.zscore.weekly-793f2121.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-2f19120c.js → HEAD CIRCUM_GIRLS.zscore.yearly-8677250d.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-72ebf746.js → HEIGHT_BOYS.percentile.monthly-1e204bd8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-f7249660.js → HEIGHT_BOYS.percentile.weekly-5d47b1d9.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-fff6fe4f.js → HEIGHT_BOYS.percentile.yearly-f0b0d66c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-863198f6.js → HEIGHT_BOYS.zscore.monthly-3f567dcf.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-12443587.js → HEIGHT_BOYS.zscore.weekly-1306aadb.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-c9f0fc9c.js → HEIGHT_BOYS.zscore.yearly-fd1b3960.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-214471bf.js → HEIGHT_GIRLS.percentile.monthly-d9e7cebb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-3498771d.js → HEIGHT_GIRLS.percentile.weekly-2e45c9be.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-ed22f447.js → HEIGHT_GIRLS.percentile.yearly-7ae432ba.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-ffcd1583.js → HEIGHT_GIRLS.zscore.monthly-459f2695.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-89eebef9.js → HEIGHT_GIRLS.zscore.weekly-074155e1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-e9d20d40.js → HEIGHT_GIRLS.zscore.yearly-f14991a0.js} +0 -0
- /package/build/{Visible-e3ad0c25.js → Visible-5cf6bfe1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-6db6cf22.js → WEIGHT_BOYS.percentile.monthly-a82660f1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-10d39e3a.js → WEIGHT_BOYS.percentile.weekly-de2dbfcc.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-0dd1515b.js → WEIGHT_BOYS.percentile.yearly-85ab74ad.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-5f3bbccb.js → WEIGHT_BOYS.zscore.monthly-7747a35d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-e9d339a8.js → WEIGHT_BOYS.zscore.weekly-98f14260.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-37daf2df.js → WEIGHT_BOYS.zscore.yearly-de605a11.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-990cd19d.js → WEIGHT_GIRLS.percentile.monthly-813f7805.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-172e0379.js → WEIGHT_GIRLS.percentile.weekly-3c5746fa.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-cbc6e831.js → WEIGHT_GIRLS.percentile.yearly-b37f0ccc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-78043109.js → WEIGHT_GIRLS.zscore.monthly-218f0850.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-19d9a433.js → WEIGHT_GIRLS.zscore.weekly-196c1cc7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-761f1424.js → WEIGHT_GIRLS.zscore.yearly-ae00e5d8.js} +0 -0
- /package/build/{cookieHelper-a2566341.js → cookieHelper-5af1a8f1.js} +0 -0
- /package/build/{dataTransform-907b2930.js → dataTransform-c0305bea.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-9e38458e.js → BMI_BOYS.percentile.monthly-4482e99c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-603a2d9f.js → BMI_BOYS.percentile.weekly-3e348c0a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-42a916cb.js → BMI_BOYS.percentile.yearly-4f5dcb65.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-f2adabc8.js → BMI_BOYS.zscore.monthly-d90176f7.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-b5cccd08.js → BMI_BOYS.zscore.weekly-43db51eb.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-d479c131.js → BMI_BOYS.zscore.yearly-281ce583.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-e407232f.js → BMI_GIRLS.percentile.monthly-33b2ff1d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-0430e817.js → BMI_GIRLS.percentile.weekly-fdfefbdd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-dd974740.js → BMI_GIRLS.percentile.yearly-84b45a30.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-a366f596.js → BMI_GIRLS.zscore.monthly-a4f1f24c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-4cdc8cc2.js → BMI_GIRLS.zscore.weekly-d851c66e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-3fe9b80a.js → BMI_GIRLS.zscore.yearly-26abebb2.js} +0 -0
- /package/build/esm/{ChevronDown-1f2379d1.js → ChevronDown-01319bdf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-98c97da0.js → HEAD CIRCUM_BOYS.percentile.monthly-1a5d259e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-5a1700cf.js → HEAD CIRCUM_BOYS.percentile.weekly-81f731d3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e8d8abcc.js → HEAD CIRCUM_BOYS.percentile.yearly-d55403b7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-a80e58cc.js → HEAD CIRCUM_BOYS.zscore.monthly-ff66a719.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-31129921.js → HEAD CIRCUM_BOYS.zscore.weekly-c41bd4d3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-e4c6407b.js → HEAD CIRCUM_BOYS.zscore.yearly-6a7092bc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-dc5e084b.js → HEAD CIRCUM_GIRLS.percentile.monthly-771ce021.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-2c5917ae.js → HEAD CIRCUM_GIRLS.percentile.weekly-68c80c33.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-9e650d5f.js → HEAD CIRCUM_GIRLS.percentile.yearly-a5201945.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-8b3fd7c4.js → HEAD CIRCUM_GIRLS.zscore.monthly-35eebedd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-5ba99827.js → HEAD CIRCUM_GIRLS.zscore.weekly-6181a2a9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b0256871.js → HEAD CIRCUM_GIRLS.zscore.yearly-455887a0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e7c89b9d.js → HEIGHT_BOYS.percentile.monthly-be3e8c81.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-aba8106d.js → HEIGHT_BOYS.percentile.weekly-c273901f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-7a73167c.js → HEIGHT_BOYS.percentile.yearly-317e5d11.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-95db18e9.js → HEIGHT_BOYS.zscore.monthly-56178d91.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-aff72330.js → HEIGHT_BOYS.zscore.weekly-6ed9eb3b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-69482de4.js → HEIGHT_BOYS.zscore.yearly-8b1e5461.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-a447fbcb.js → HEIGHT_GIRLS.percentile.monthly-b6356c24.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f7f87b6a.js → HEIGHT_GIRLS.percentile.weekly-5e909f4c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-2214187a.js → HEIGHT_GIRLS.percentile.yearly-d5420483.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-40832d83.js → HEIGHT_GIRLS.zscore.monthly-6282423e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-c7d64e54.js → HEIGHT_GIRLS.zscore.weekly-1e9c658c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-f086888a.js → HEIGHT_GIRLS.zscore.yearly-d046e038.js} +0 -0
- /package/build/esm/{Visible-2f53b79b.js → Visible-3ec6e7fb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b17b8ff9.js → WEIGHT_BOYS.percentile.monthly-c282e167.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3af7ebf3.js → WEIGHT_BOYS.percentile.weekly-ea538252.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-f782303b.js → WEIGHT_BOYS.percentile.yearly-e17cd4b9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c9ed64af.js → WEIGHT_BOYS.zscore.monthly-e3dc716e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-4540cabb.js → WEIGHT_BOYS.zscore.weekly-53a8e4df.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-2f1f9c58.js → WEIGHT_BOYS.zscore.yearly-f8b6c639.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-86dce0cb.js → WEIGHT_GIRLS.percentile.monthly-ebec3622.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-69578cf9.js → WEIGHT_GIRLS.percentile.weekly-d2036358.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0a7ad86a.js → WEIGHT_GIRLS.percentile.yearly-218ff1ac.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-c38d04c1.js → WEIGHT_GIRLS.zscore.monthly-cd07cc02.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-054a7793.js → WEIGHT_GIRLS.zscore.weekly-28ad93f8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9cae2489.js → WEIGHT_GIRLS.zscore.yearly-e0675e64.js} +0 -0
- /package/build/esm/{cookieHelper-0c7b12e7.js → cookieHelper-030806e0.js} +0 -0
- /package/build/esm/{dataTransform-5d371539.js → dataTransform-a7427376.js} +0 -0
- /package/build/esm/{index-8532d46b.js → index-3ed554e9.js} +0 -0
- /package/build/esm/{index-d2815002.js → index-984af1e9.js} +0 -0
- /package/build/esm/{index-1e929af7.js → index-d7234326.js} +0 -0
- /package/build/esm/{isProduction-9316ccb5.js → isProduction-2867c4ae.js} +0 -0
- /package/build/esm/{localizeNumberFormat-d1127967.js → localizeNumberFormat-e7f6f633.js} +0 -0
- /package/build/esm/{normalizeLink-6d5c758b.js → normalizeLink-46cf480f.js} +0 -0
- /package/build/esm/{number-4ce2a65c.js → number-e7e4c3f0.js} +0 -0
- /package/build/esm/{paths-85cabf93.js → paths-2516c27c.js} +0 -0
- /package/build/esm/{screenSizeContext-705a313a.js → screenSizeContext-72ce46a4.js} +0 -0
- /package/build/esm/{theme-4d46eb99.js → theme-1da7aacc.js} +0 -0
- /package/build/esm/{translationsContext-267d2c2b.js → translationsContext-b79be690.js} +0 -0
- /package/build/esm/{tslib.es6-0016fb2e.js → tslib.es6-fdd748b4.js} +0 -0
- /package/build/esm/{types-60cfe8b3.js → types-873ff0d8.js} +0 -0
- /package/build/esm/{useIsInit-755f04c3.js → useIsInit-424a7f7b.js} +0 -0
- /package/build/esm/{useOutsideClick-a454f054.js → useOutsideClick-e8cf0f76.js} +0 -0
- /package/build/esm/{useScrollbarSize-8fe9a9d3.js → useScrollbarSize-37c3e0a4.js} +0 -0
- /package/build/{index-6460bb54.js → index-729add8a.js} +0 -0
- /package/build/{index-519982d6.js → index-798e249a.js} +0 -0
- /package/build/{index-214222a0.js → index-85ac3126.js} +0 -0
- /package/build/{isProduction-69925a51.js → isProduction-789b0891.js} +0 -0
- /package/build/{localizeNumberFormat-a302e355.js → localizeNumberFormat-08b85f3f.js} +0 -0
- /package/build/{normalizeLink-be8f13d1.js → normalizeLink-da5baa69.js} +0 -0
- /package/build/{number-ec54adad.js → number-62b817c7.js} +0 -0
- /package/build/{paths-7baf53b7.js → paths-ecc123b8.js} +0 -0
- /package/build/{screenSizeContext-111c12b7.js → screenSizeContext-ffe76044.js} +0 -0
- /package/build/{theme-4b109976.js → theme-2af7652e.js} +0 -0
- /package/build/{translationsContext-5b78f642.js → translationsContext-8f0b4038.js} +0 -0
- /package/build/{tslib.es6-209b302e.js → tslib.es6-8c4fc3a3.js} +0 -0
- /package/build/{types-1b46d6d3.js → types-d8f29d0b.js} +0 -0
- /package/build/{useIsInit-c4d76526.js → useIsInit-3e626294.js} +0 -0
- /package/build/{useOutsideClick-5bcace03.js → useOutsideClick-edd82eb6.js} +0 -0
- /package/build/{useScrollbarSize-30b0c701.js → useScrollbarSize-71cc2a11.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-fdd748b4.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-1da7aacc.js";import{CommonGAssets as Q}from"./gAssets.js";import J from"dayjs";import{L as X}from"./Subot-121ca712.js";import{B as ee,M as te}from"./screenSizeContext-72ce46a4.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-93373164.js";import{I as oe,s as ce}from"./index-791c2e73.js";import"./isProduction-2867c4ae.js";import se from"classnames";import{b as de}from"./useTranslations-d53c1330.js";const he=t=>{var{alt:l,backupSrc:r,src:i,placeholderSrc:o,style:c,ref:s}=t,d=e(t,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[h,m]=a(!1);return n.createElement(me,Object.assign({loading:"lazy",alt:l,onError:()=>!h&&m(!0),src:h?r||i:i||r,style:Object.assign(Object.assign({},o?{backgroundImage:`url(${o})`}:{}),c),"data-has-placeholder":!!o,ref:s},d))},me=le.img`
|
|
2
2
|
&[data-has-placeholder='true'] {
|
|
3
3
|
background-position: center;
|
|
4
4
|
background-repeat: no-repeat;
|
|
5
5
|
background-size: cover;
|
|
6
6
|
}
|
|
7
|
-
`,pe=e=>n.createElement(he,Object.assign({alt:"round cambodia flag",src:Q.getAssetPath("flags/cambodiaRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),ue=e=>n.createElement(he,Object.assign({alt:"square cambodia flag",src:Q.getAssetPath("flags/cambodiaSquare.png")},e)),ge=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),n.createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),n.createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),n.createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),n.createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),n.createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),n.createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),n.createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),n.createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),n.createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),n.createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),n.createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),n.createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),n.createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),n.createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),n.createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),n.createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),n.createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),n.createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),n.createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),n.createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),n.createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),n.createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),n.createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),n.createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),n.createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),n.createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"}))),fe=e=>n.createElement("svg",Object.assign({viewBox:"0 0 26 26",fill:"none"},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},n.createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),n.createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),n.createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),n.createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),n.createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),n.createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),n.createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),n.createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),n.createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),n.createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"}))),be=e=>n.createElement(he,Object.assign({alt:"round india flag",src:Q.getAssetPath("flags/indiaRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),Ee=e=>n.createElement(he,Object.assign({alt:"square indian flag",src:Q.getAssetPath("flags/indiaSquare.png")},e)),Ce=t=>{var l=e(t,[]);const a=de();return n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none"},l),n.createElement("mask",{id:a,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("g",{mask:`url(#${a})`},n.createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),n.createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},ve=t=>{var l=e(t,[]);const a=de();return n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},l),n.createElement("g",{clipPath:`url(#${a})`},n.createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),n.createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),n.createElement("defs",null,n.createElement("clipPath",{id:a},n.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},Le=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),n.createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{width:"20",height:"1.02041",fill:"white"}),n.createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"}))),ye=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),n.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),n.createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),n.createElement("rect",{width:"24",height:"0.777454",fill:"white"}),n.createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"})),we=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),n.createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),n.createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"}))),xe=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),n.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),n.createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),n.createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"})),ke=e=>n.createElement(he,Object.assign({alt:"round philippines flag",src:Q.getAssetPath("flags/philippineRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),je=e=>n.createElement(he,Object.assign({alt:"square philippines flag",src:Q.getAssetPath("flags/philippineSquare.png")},e)),Oe=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),n.createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),n.createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),n.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),n.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),n.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),n.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),n.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),n.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),n.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),n.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),n.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),n.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),n.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),n.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),n.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"})))),Me=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),n.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),n.createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),n.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),n.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),n.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),n.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),n.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),n.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),n.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),n.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),n.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),n.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),n.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),n.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),n.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"})),Se=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),n.createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"}))),He=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 17",fill:"none"},e),n.createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),n.createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"})),Be=e=>n.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),n.createElement("g",null,n.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},n.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),n.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),n.createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"}))),Ze=e=>n.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),n.createElement("g",null,n.createElement("clipPath",null,n.createElement("rect",{width:"24",height:"16",fill:"white"})),n.createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),n.createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})));var Re="pfaLGRK";const Ve=({country:e,language:t,rounded:l,height:a,width:r,isTesting:i,className:o})=>{let c,s;switch(t){case"en":c=n.createElement(fe,null),s=n.createElement(ge,null);break;case"vi":c=n.createElement(Ze,null),s=n.createElement(Be,null);break;case"id":c=n.createElement(ve,{isTesting:i}),s=n.createElement(Ce,{isTesting:i});break;case"th":c=n.createElement(He,null),s=n.createElement(Se,null);break;case"km":c=n.createElement(ue,null),s=n.createElement(pe,null);break;case"ms":c=n.createElement(ye,null),s=n.createElement(Le,null);break;case"my":c=n.createElement(xe,null),s=n.createElement(we,null);break;case"tl":c=n.createElement(je,null),s=n.createElement(ke,null);break;case"hi":c=n.createElement(Ee,null),s=n.createElement(be,null);break;case"zh":c=n.createElement(Me,null),s=n.createElement(Oe,null)}if(!c&&!s)switch(e){case"VN":c=n.createElement(Ze,null),s=n.createElement(Be,null);break;case"ID":c=n.createElement(ve,{isTesting:i}),s=n.createElement(Ce,{isTesting:i});break;case"TH":c=n.createElement(He,null),s=n.createElement(Se,null);break;case"KH":c=n.createElement(ue,null),s=n.createElement(pe,null);break;case"MY":c=n.createElement(ye,null),s=n.createElement(Le,null);break;case"MM":c=n.createElement(xe,null),s=n.createElement(we,null);break;case"PH":c=n.createElement(je,null),s=n.createElement(ke,null);break;case"IN":c=n.createElement(Ee,null),s=n.createElement(be,null);break;case"TW":c=n.createElement(Me,null),s=n.createElement(Oe,null)}return n.createElement("div",{className:`${Re} ${o||""}`,style:{"--width":r||20,"--height":a||20}},l?s:c)},Ae=t=>{var{styles:l,color:a="blue"}=t,i=e(t,["styles","color"]);const o=g(),c=r((()=>{var e,t;return((null==a?void 0:a.includes("."))?null===(e=o.colors[a.split(".")[0]])||void 0===e?void 0:e[a.split(".")[1]]:null===(t=o.colors[a])||void 0===t?void 0:t[o.primaryShade||6])||o.colors.blue[6]}),[a]);return n.createElement(u,Object.assign({styles:Object.assign({radio:{"&:hover":{border:`1px solid ${c}`}},icon:{color:`${c}`}},l),color:a},i))};Ae.Group=u.Group;const Ie=t=>{var{size:l,color:a}=t,r=e(t,["size","color"]);return n.createElement("svg",Object.assign({width:l,height:l,viewBox:"0 0 20 20",fill:"none"},r),n.createElement("path",{d:"M9.9998 10.8567 6.943 7.7999C6.6118 7.4687 6.0742 7.4687 5.743 7.7999 5.4118 8.1311 5.4118 8.6687 5.743 8.9999L9.4342 12.6911C9.747 13.0039 10.2534 13.0039 10.5654 12.6911L14.2566 8.9999C14.5878 8.6687 14.5878 8.1311 14.2566 7.7999 13.9254 7.4687 13.3878 7.4687 13.0566 7.7999L9.9998 10.8567Z",fill:a}))};Ie.defaultProps={size:24,color:Y.colors.gray600};const ze=i(((t,l)=>{var{keepSearch:a=!1}=t,r=e(t,["keepSearch"]);return a?n.createElement(Pe,Object.assign({},r,{ref:l})):n.createElement(Fe,Object.assign({},r,{ref:l}))})),Pe=i(((t,l)=>{var{value:a,defaultValue:r,onChange:i,clearable:o}=t,c=e(t,["value","defaultValue","onChange","clearable"]);const[s,d]=W({value:a,defaultValue:r,onChange:i});return n.createElement(f,Object.assign({ref:l,rightSection:n.createElement(b,{src:Q.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onChange:e=>d(e),value:s},c,o&&(null==s?void 0:s.length)>0?{rightSection:n.createElement(E,{onClick:()=>{d("")},sx:{cursor:"pointer"}},n.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))})),Fe=i(((t,l)=>{var{searchValue:a,onSearchChange:r}=t,i=e(t,["searchValue","onSearchChange"]);const[o,c]=W({defaultValue:"",value:a,onChange:r});return n.createElement(C,Object.assign({ref:l,rightSection:n.createElement(Ie,{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-0016fb2e.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-0016fb2e.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||e.theme.colors.primaryBase;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
|
|
85
85
|
[data-theme='marryBaby'] & {
|
|
86
86
|
${e=>{const t=e.color||e.theme.mbColors.pink;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
|
|
@@ -110,4 +110,4 @@ import{_ as e,a as t}from"./tslib.es6-0016fb2e.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-fdd748b4.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-0fbf40e9.js";import{F as d,a as u,B as h}from"./index-ba9f0132.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 A,p as T,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 Ae,ah as Te,ai as xe,aj as He,ak as Se,al as je,am as $e,an as Fe,ao as Oe,ap as Re}from"./index.styled-a8289634.js";import{T as Ie,I as De,U as Ue}from"./index-93373164.js";import{CommonGAssets as Ve}from"./gAssets.js";import{C as ze,T as Ze,E as Ge,L as We,S as qe,d as Ke}from"./index-791c2e73.js";import{n as Ye,a as Qe}from"./normalizeLink-46cf480f.js";import{a as Je,g as Xe,c as et,b as tt,d as at}from"./routing-0984f077.js";import{P as lt,b as nt,a as it}from"./index-4f7179a3.js";import{L as ot}from"./index-e97749f3.js";import{u as st,b as rt}from"./useTranslations-d53c1330.js";import ct from"lodash/throttle";import{Box as mt,Indicator as dt,Portal as ut}from"@mantine/core";import"@mantine/dates";import{L as ht}from"./Subot-121ca712.js";import"dayjs";import{j as gt}from"./screenSizeContext-72ce46a4.js";import"styled-components";import{t as vt}from"./theme-1da7aacc.js";import"./isProduction-2867c4ae.js";import"./translationsContext-b79be690.js";import pt from"string-format";import"@mantine/hooks";import{L as Et}from"./constants-96244fe4.js";import yt from"lodash/debounce";import"./useCategory-3ed22813.js";import{C as ft}from"./ChevronDown-01319bdf.js";import{B as bt}from"./index-755ffff4.js";import{e as Ct}from"./constants-df5951b0.js";import{P as kt,H as wt}from"./index.styles-7c62b30f.js";import{I as Pt}from"./index-dba08037.js";import{u as _t}from"./useIsInit-424a7f7b.js";import"./utils-f731ba69.js";import"./index.styled-1cd98247.js";import"./index-3ed554e9.js";import{C as Mt}from"./index-984af1e9.js";const Nt=["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"],Lt=(e="")=>Nt.some((t=>new URL(e).origin.endsWith(t))),Bt=({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(Ie,{size:"p3"},e.label),s&&i===e.value&&a.createElement("img",{src:Ve.getAssetPath("check.svg"),alt:"check",className:"check-icon",loading:"lazy"}))))))),m&&a.createElement(y,{onClick:()=>d(!1)}))},At=({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(Bt,{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))},xt=({path:e,locale:t})=>{var a;return`/shop/${null===(a=Et[t||"vi-VN"])||void 0===a?void 0:a[e]}/`},Ht=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(mt,Object.assign({component:"a",href:xt({path:"CART",locale:s}),className:m(c.root,i)},r),a.createElement(dt,{classNames:{root:c.indicatorRoot},withBorder:!0,color:"red",size:20,disabled:0===l,label:a.createElement(Ie,{className:c.iconText,size:"s5"},l>99?"99+":l)},a.createElement(De.Cart,{size:24}))):null},St=({forceDisplay:e,mediaQueryKey:t,children:l,className:i,style:o})=>{const[s,r]=n((()=>gt(t)),[t]);return a.createElement(C,{lowerBound:e?0:s,upperBound:e?0:r,className:i,style:o},l)},jt=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())}}},$t=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"})),Ft=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"})),Ot=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"})),Rt=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"})),It=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"})),Dt=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"})),Ut=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"})),Vt=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"})),zt=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"})),Gt={helloSites:{member:()=>Ve.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>Ve.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>Ve.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>Ve.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>Ve.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>Ve.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>Ve.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>Ve.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>Ve.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>Ve.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},Wt=({rank:e,siteType:t="helloSites"})=>{const l=n((()=>{var a,l;return(null===(l=null===(a=Gt[t])||void 0===a?void 0:a[e])||void 0===l?void 0:l.call(a))||""}),[e,t]),{t:i}=st();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?vt.colors.blue100:vt.colors.mb100}`}},a.createElement("img",{src:l,alt:e,style:{height:16,width:16}}),a.createElement(Ie,{size:"s5",color:"gray.8",weight:"semiBold"},i(`userProfile.userRank.${e}`)))},qt=({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(Wt,{rank:"member",siteType:e})),a.createElement(Ie,{size:"s3",weight:"semiBold",color:"gray.8",style:{marginBottom:4}},t.name),a.createElement(Ie,{size:"n1",weight:"regular",color:"helloSites"===e?"hb.6":"mb.6"},"@",t.username),a.createElement("hr",null)):null,Kt=({className:e,activeItem:t,navMenuItems:n,style:i,onLogout:s,siteType:r="helloSites",userInfo:c})=>{const{locale:m}=st(),[d,u]=l(),h="string"==typeof t?t:d,g=Ye(Je(m,"marryBaby"===r)+"/"),v=Ye(Xe(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(Ut,{width:"24",height:"24"}),value:"myHealth",tracking:{action:"My Health Click"},link:`${g}user/health/`},{key:"userProfile.nav.card.mySaved",icon:a.createElement(Vt,{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($t,{width:"24",height:"24"}),value:"booking",disabled:!ze.includes(m),tracking:{action:"Manage Booking Click"},link:`${g}user/booking/`},{key:"userProfile.nav.card.myCommunity",icon:a.createElement(Ft,{width:"24",height:"24"}),value:"myCommunities",disabled:!Ze.includes(m),tracking:{action:"Community Click"},link:`${g}user/my-communities/`}],...Ge.includes(m)?[[{key:"userProfile.nav.card.eCom",icon:a.createElement(Rt,{width:"24",height:"24"}),value:"eCom",disabled:!Ge.includes(m),subMenu:[{key:"userProfile.nav.card.ecom.manageOrders",value:"eCom-manageOrders",icon:a.createElement(Ot,{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(Ot,{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(Ot,{width:"24",height:"24"}),link:`${v}shop/ho-so/khuyen-mai/`,tracking:{action:"Voucher Click"}}]}]]:[],[{key:"userProfile.nav.menu.accountSettings",icon:a.createElement(zt,{width:"24",height:"24"}),subMenu:[{key:"common.profileNavigator.newsletterSubscription",value:"subscription",icon:a.createElement(Ot,{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(Ot,{width:"24",height:"24"}),tracking:{action:"Set Password Click"},link:`${g}user/password/`},{key:"userProfile.nav.menu.disableAccount",value:"disable-account",icon:a.createElement(Ot,{width:"24",height:"24"}),tracking:{action:"Disable Account Click"},link:`${g}user/disable-account/`}]}],[{key:"userProfile.nav.menu.help",icon:a.createElement(It,{width:"24",height:"24"}),value:"help",link:`${g}user/help`,tracking:{action:"Support Click"}},{key:"userProfile.nav.menu.logout",icon:a.createElement(Dt,{width:"24",height:"24"}),value:"logout",tracking:{action:"Sign Out Click"}}]];return a.createElement(k,{className:e,style:i},a.createElement(qt,{userInfo:c,siteType:r}),p.map(((e,t)=>a.createElement(o,{key:t},e.map((e=>a.createElement(Yt,{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)))))},Yt=({item:e,activeKey:t,forceOpen:i,onLogout:o,onClick:s,siteType:r})=>{var c;const[m,d]=l(!1),u=n((()=>"undefined"!=typeof window?window.location.href:""),[]);if(e.disabled)return null;const{t:h}=st(),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(Ie,{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(ft,{width:14}))),e.subMenu&&a.createElement(M,null,e.subMenu.map((e=>a.createElement(Yt,{key:e.key,item:e,activeKey:t,onLogout:o})))))},Qt=({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(Kt,{siteType:n,onLogout:()=>{i&&(i(),l())},userInfo:t}))),Jt=({openLogoutPopup:e,onCloseHandler:t,onLogoutHandler:l,siteType:n="helloSites"})=>{const{t:i}=st();return s((()=>{document.body.classList.toggle("noscroll",e)}),[e]),a.createElement(ut,null,a.createElement(lt,{type:"confirm",isOpen:e,closeIcon:a.createElement("img",{src:Ve.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:Ve.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(bt,{className:"logout-button",color:"tertiary",size:"lg",onClick:l},i("logout.popup.button.logout")),a.createElement(bt,{className:"cancel-button",color:"primary",size:"lg",onClick:t},i("logout.popup.button.cancel"))))))},Xt=({userInfo:e,siteType:n,onLoginClick:i,SSO_URL:o,currentUrl:r,isMinifyLogin:c,onLogout:m,style:d,isLoading:g,locale:v})=>{const{t:p}=st(),[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}=jt();return g?a.createElement(h,{size:"sm",color:"transparent",loading:!0}):(null==e?void 0:e.id)?a.createElement(a.Fragment,null,a.createElement(A,{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?vt.mbColors.pink:vt.colors.secondaryBase,placeholderText:f&&f.length?f[0].toUpperCase():"A"})),a.createElement(Qt,{dispatchLogout:()=>{M(),y(!0)},isOpen:!1,closePopup:M,siteType:n,userInfo:e})),a.createElement(Jt,{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(T,{style:Object.assign({textDecoration:"none"},d),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":r,href:b?void 0:Ye(`${o}?returnUrl=${r}`),"data-site-type":n},c?a.createElement(x,{onClick:i},a.createElement("img",{src:Ve.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):a.createElement(a.Fragment,null,"helloSites"===n&&(v===ht.Indonesia||v===ht.PhilippinesTagalog||v===ht.PhilippinesEnglish?a.createElement("img",{className:"mobile-only",src:Ve.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(Ue,{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(Ie,{size:"p3",color:vt.mbColors.pink},p("navigation.loginJoin"))),a.createElement(h,{className:"login-btn",size:"md",onClick:i,leftIcon:a.createElement(Ue,{useCurrentColor:!0,isSolid:!0,size:22})},p("navigation.loginJoin"))))};var ea="spdlGfq",ta="vgS16jX";const aa=({onCareHeaderClick:e,currentUrl:t,careUrlFe:l,btnName:n})=>e?a.createElement(bt,{className:ea,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:`${ta} care-button no-replace-click`},a.createElement(bt,{className:ea,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},n));var la="y5VJdvw",na="oVhOSCy",ia="pX8OXTM";function oa({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 sa({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?Ve.getAssetPath("hamburgerMenuNewWithSearch.svg"):Ve.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 ra=()=>{const{locale:e,configs:{statics:t},siteType:l}=r(H),n=rt(),{t:i}=st();return a.createElement(kt,{className:"fake-search-input",name:"search-input-menu-service"+n,size:"md",placeholder:"marryBaby"===l?i("navigation.search.input.placeholder"):i("home.search",{site:We[e||"en-PH"]?We[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 ca="wnUb-dV",ma="cjbOxWe",da="gB4rp89";const ua=({item:e,menu:t})=>{const{containerRef:l,onContainerFocus:n,onContainerBlur:i,onButtonMouseDown:o,onClose:s}=jt({allowBgScroll:!0}),r=_t();return!e.popupType&&e.link?a.createElement(ha,{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:ma},"care"===e.id&&a.createElement("div",{className:da},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(ha,{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:ma},"care"===e.id&&a.createElement("a",{className:da,href:Ye(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:ca},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))},ha=({isNew:e,children:t})=>{const{t:l}=st();return e?a.createElement(Pt,{color:"green",label:l("home.navigator.menuItem.new"),size:20,styles:{root:{paddingRight:10}}},t):a.createElement(a.Fragment,null,t)},ga=({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(wt,{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===s,href:i},!Lt(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(ha,{isNew:e.isNew},a.createElement("p",{style:{paddingRight:e.isNew?10:0}},e.name)),a.createElement(O,null,a.createElement("img",{src:Ve.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?Ve.getAssetPath("chevronRightPink.svg"):Ve.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))))},va=({item:e,index:t=0})=>{var l;const{t:n}=st(),{locale:i,configs:{statics:o}}=r(H);if(!e)return null;const s=`${o.CARE_URL_FE}/${null===(l=Ct[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:Ve.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:Ve.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))))},pa=({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?Ve.getAssetPath("navMBSpotlightBgNoData.svg"):Ve.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(bt,{theme:o,className:"survey-contact-submit",size:"md"},n)))))},Ea=({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(wt,{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?Ve.getAssetPath("chevronRightPink.svg"):Ve.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"}))),l)},ya=({spotlights:e=[],hrefViewMore:t})=>{const{t:l}=st(),{siteType:n}=r(H);return a.createElement(Ea,{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(va,{key:t,index:t,item:e})))),a.createElement("div",{style:{position:"absolute",bottom:"6px",right:"1rem"}},a.createElement("a",{href:t},a.createElement(bt,{theme:n,className:"survey-contact-submit",size:"md"},l("home.navigator.menu.care.homeButton"))))):a.createElement(pa,{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:Ve.getAssetPath("community.svg")}))},fa=({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,ba=({spotlightsList:e=[],hrefViewMore:t})=>{const{t:l}=st(),{configs:{statics:n}}=r(H);return a.createElement(Ea,{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(fa,{key:t,index:t,item:{id:e.id,link:n.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})))):a.createElement(pa,{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:Ve.getAssetPath("Spotlight.svg")}))},Ca=({spotlights:e=[]})=>{const{configs:{statics:t}}=r(H),{t:l}=st();return a.createElement(Ea,{title:l("home.navigator.menu.trendingPosts"),viewMore:l("home.navigator.menu.trendingPosts.seeMore"),link:Qe(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(pa,{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:Ve.getAssetPath("community.svg")}))},ka=({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(Ie,{size:"p2",weight:"regular",style:{marginLeft:16}},e.name),a.createElement("img",{src:Ve.getAssetPath("chevronRightActive.svg"),style:{width:"20px",height:"20px",marginLeft:"auto"},loading:"lazy"})):null,wa=({helpfulUrls:e=[]})=>{const{t:t}=st();return e.length?a.createElement(Ea,{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(ka,{key:t,index:t,item:e})))):a.createElement(a.Fragment,null)):null},Pa=({item:e,index:t=0})=>{const{t:l}=st(),{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:Ve.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:Ve.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"})))},_a=({item:e,index:t=0,color:l})=>{const{t:n}=st(),{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:Ve.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:Ve.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()))},Ma=({hrefViewMore:e,spotlightHealthTools:t=[]})=>{const{t:l}=st(),n=["pink","orange","green"],{siteType:i}=r(H);return a.createElement(Ea,{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(_a,{key:t,index:t,item:e,color:n[t]}):a.createElement(Pa,{key:t,index:t,item:e})))),0===t.length&&a.createElement(pa,{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:Ve.getAssetPath("community.svg")}))},Na=({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}=st();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(ra,null)):null,a.createElement(Be,null,a.createElement(ga,{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(ba,{spotlightsList:(null==o?void 0:o.spotlights)||[],hrefViewMore:`${h.HOME_PAGE_URL}${"tl-PH"===v?"/fil":""}/spotlight/`}),"tools"===u&&a.createElement(Ma,{spotlightHealthTools:null==s?void 0:s.spotlights,hrefViewMore:`${h.HOME_PAGE_URL}${"tl-PH"===v?"/fil":""}${(null===(l=qe[v])||void 0===l?void 0:l.HEALTH_TOOLS)||""}`}),"care"===u&&a.createElement(ya,{spotlights:null==c?void 0:c.spotlights,hrefViewMore:`${h.CARE_URL_FE}/${null===(n=Ct[v])||void 0===n?void 0:n.SPECIALTIES}`}),"together"===u&&a.createElement(Ca,{spotlights:null==m?void 0:m.spotlights}),"ecom"===u&&a.createElement(wa,{helpfulUrls:null==d?void 0:d.helpfulUrls})))},La=({menuItems:e})=>{const{siteType:t,configs:{enableSearchBar:l}}=r(H),{containerRef:n,onContainerFocus:i,onContainerBlur:o,onButtonMouseDown:s,onClose:c}=jt();return a.createElement(St,{mediaQueryKey:"mbDown"},a.createElement("header",{className:la},a.createElement("div",{className:na,ref:n,role:"button",tabIndex:0,onBlur:o,onFocus:i},a.createElement("div",{className:ia,onMouseDown:s,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},a.createElement(oa,{className:"mobile-close-icon"}),a.createElement(sa,{siteType:t,enableSearch:l,className:"mobile-hamburger-icon"})),a.createElement(Na,{menuItems:e,closePopup:c}))))},Ba=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=>Ba(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}:{}},Aa=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)||""}:{}},xa=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)||""}:{}},Ha=(e,t,a,l)=>(a||"https://together.hellohealthgroup.com/")+"api/v1/"+pt(Ae.GET_USER_POSTS,Object.assign(Object.assign({},l),{websiteUrl:t?"https://marrybaby.vn":`https://${Ke[e]}`})),Sa=({type:e,specialtySlug:t,locale:a})=>{var l,n;return`${null===(l=Ct[a])||void 0===l?void 0:l.ALL}/${(null===(n=Ct[a])||void 0===n?void 0:n[e])||"doctor"}/${null!=t?t:""}`},ja=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}:{},$a=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 Fa="q3nL5cp",Oa="_2DNf80G",Ra="Q-glX-n";const Ia=({onClosePopup:e})=>a.createElement("div",{className:`${Ra} 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"}))),Da=({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(Mt,null,!i&&a.createElement("div",{className:Oa},a.createElement(Ia,{onClosePopup:e})),a.createElement(Mt,{className:Fa},l))),Ua=({careSpecialties:e=[],isOpen:t,onClose:l,spotlights:n=[]})=>{var i;const{t:o}=st(),{locale:s,configs:{statics:c}}=r(H);return a.createElement(Da,{onClosePopup:l,isDisplay:t,isNavMenu:!0},a.createElement(ga,{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:Sa({type:"DOCTOR",specialtySlug:e.slug,locale:s}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{})))||[]}),a.createElement(ya,{spotlights:n,hrefViewMore:`${c.CARE_URL_FE}/${null===(i=Ct[s])||void 0===i?void 0:i.SPECIALTIES}/`}))},Va=({categories:e=[],spotlightsList:t=[],onClose:l,isOpen:n})=>{const{t:i}=st(),{locale:o,configs:{statics:s}}=r(H);return a.createElement(Da,{onClosePopup:l,isDisplay:n,isNavMenu:!0},a.createElement(ga,{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(ba,{spotlightsList:t,hrefViewMore:`${s.HOME_PAGE_URL}${"tl-PH"===o?"/fil":""}/spotlight/`}))},za=({communities:e=[],onClose:t,isOpen:l,spotlights:n=[]})=>{const{t:i}=st(),{configs:{statics:o}}=r(H);return a.createElement(Da,{onClosePopup:t,isDisplay:l,isNavMenu:!0},a.createElement(ga,{hrefViewMore:Qe(o.TOGETHER_URL_FE),UrlFE:Ye(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(Ca,{spotlights:n}))},Za=({locale:e,onClose:t,isOpen:l,spotlightHealthTools:n=[],healthTools:i=[]})=>{var o;const{t:s}=st(),{configs:{statics:c}}=r(H),m=`${c.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(o=qe[e])||void 0===o?void 0:o.HEALTH_TOOLS)||""}`;return a.createElement(Da,{onClosePopup:t,isDisplay:l,isNavMenu:!0},a.createElement(ga,{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(Ma,{spotlightHealthTools:n,hrefViewMore:m}))},Ga=({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}=st(),{SSO_URL:L,HOME_PAGE_URL:B}=C,A=!!p,[T,x]=l(!1),S=i(47),j=i(null),$=i(!1),F="helloSites"===d?null===(m=We[h])||void 0===m?void 0:m.LOGO_TYPE:d,O="undefined"!=typeof window,R=c(ct((()=>{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(!T)}),[T]),s((()=>(window.addEventListener("scroll",R,{passive:!0}),()=>{window.removeEventListener("scroll",R)})),[]),s((()=>{u&&R()}),[u]);const I=v&&!!g;return a.createElement(Te,{"data-site-type":d,"data-sponsored":A,"data-sitewide-banner-shown":I,"data-header-type":"home","data-collapsed":T,"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(La,{menuItems:n}),o||a.createElement("a",{style:{flexShrink:0},href:B},a.createElement(Se,null,a.createElement(ot,{style:{display:"flex"},type:F,badge:"id-ID"===h&&a.createElement("img",{src:Ve.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(qa,{menuItems:n}):w&&a.createElement(Wa,{siteType:d})),a.createElement(je,{"data-site-type":d},"marryBaby"===d?w&&a.createElement(Wa,{siteType:d}):a.createElement(qa,{menuItems:n}),a.createElement($e,null,a.createElement(Ht,{count:b,locale:h}),k&&a.createElement(St,{mediaQueryKey:"mbUp"},a.createElement(aa,{careUrlFe:C.CARE_URL_FE,currentUrl:y,btnName:N("login.booking"),onCareHeaderClick:E})),t,a.createElement(Xt,{userInfo:P,siteType:d,onLoginClick:f||(()=>{const e=window.location.href;window.location.href=L?Ye(`${L}?returnUrl=${e}`):e}),SSO_URL:Qe(C.SSO_URL),currentUrl:y,onLogout:_,isLoading:M,locale:h})))),p?a.isValidElement(p)?a.cloneElement(p,{isCollapsed:T,locale:h,isMobile:u}):p:null)},Wa=({siteType:e})=>a.createElement(St,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},a.createElement(ra,null)),qa=({menuItems:e})=>{const{siteType:t,locale:l,ssrMenuContent:{categories:n,healthTools:i,care:o,together:s}}=r(H);return a.createElement(St,{mediaQueryKey:"mbUp",style:{height:"100%"}},a.createElement(Fe,{"data-site-type":t},null==e?void 0:e.map(((e,t)=>a.createElement(ua,{key:t,item:e,menu:"categories"===e.popupType?a.createElement(Va,{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(za,{communities:null==s?void 0:s.items,spotlights:null==s?void 0:s.spotlights}):"care"===e.popupType?a.createElement(Ua,{careSpecialties:null==o?void 0:o.items,spotlights:null==o?void 0:o.spotlights}):null})))))},Ka=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}=st(),{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?Ve.getAssetPath("categories-mb.svg"):Ve.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=qe[a])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:d?Ve.getAssetPath("healthtools-mb.svg"):Ve.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),s&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:Ye(m.TOGETHER_URL_FE+"/"),thumbnail:d?Ve.getAssetPath("community-mb.svg"):Ve.getAssetPath("nav-icons/community.svg"),popupType:"together"}),c&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:Ye(m.HOME_PAGE_URL+"/shop"),thumbnail:Ve.getAssetPath("nav-icons/shop.svg"),popupType:null}),o&&n.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:Ye("ms-MY"===a?m.HOME_PAGE_URL+"/care/current-location/hospital/":m.HOME_PAGE_URL+"/care"),thumbnail:Ve.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(yt((()=>{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(Re,{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(Ga,{menuItems:f,onTopBarAppears:u,logoComponent:y,languageMenu:a.createElement(At,{languageOptions:h,locale:d})})))},Ya=e=>{const t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return a.createElement(Oe,Object.assign({},t),a.createElement(Ka,Object.assign({},t)))},Qa=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(Ye(`${et(e)}/wp-json/api/categories${M?"?"+M:""}`)).then((e=>e.json())),fetch(Ye(`${et(e)}/wp-json/api/spotlights?per_page=10&order_by=start_date${M?"&"+M:""}`)).then((e=>e.json())),fetch(Ye(`${et(e)}/wp-json/api/${_?"health-tools":"healthtools"}${M?"?"+M:""}`)).then((e=>e.json())),fetch(Ye(`${et(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,Ba))||[],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,ja))||void 0===o?void 0:o.filter($a))||[]},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,Aa))||[],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,Aa))||[]}}catch(e){}if(_||Ze.includes(e))try{const[t,a]=yield Promise.all([fetch(Ye(`${tt()}/api/v1/community?website_url=https://${Ke[e]}`)).then((e=>e.json())),fetch(Ye(`${tt()}/api/v1/options?website_url=https://${Ke[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,nt))||[],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,it))||[]}}catch(e){}if(ze.includes(e))try{const[t,a]=yield Promise.all([fetch(Ye(at()+`/api/options/setting_menu?site=${Ke[e]}&type=0`)).then((e=>e.json())),fetch(Ye(at()+`/api/options/setting_menu?site=${Ke[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,xa))||[]}}catch(e){}}catch(e){console.error(e)}return P})),Ja=e=>t(void 0,void 0,void 0,(function*(){return(yield m("nav-menu-content",(()=>Qa(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{At as L,Ya as N,Kt as P,Ja as a,Jt as b,Xt as c,Ha as d,Qa as g,Lt as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-fdd748b4.js";import a,{useMemo as t}from"react";import{useMantineTheme as s}from"@mantine/core";import{S as o,L as n,a as r,b as l,d as i}from"./constants-df5951b0.js";const c=c=>{var{name:m,value:d,errorMessage:p,isNumerousKeyboard:u=!1,showErrorMessage:b=!0,actionIcon:y,displayIcon:C,onActionClick:v,label:g,className:h,onChange:E,isDisabled:N,CustomInput:f,size:I,style:k,autoComplete:A="off",type:K="text",inputClassName:M,trackingAttributes:z,enterKeyHint:L}=c,j=e(c,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const w=s(),H=t((()=>z?{"data-event-category":z.dataEventCategory,"data-event-action":z.dataEventAction,"data-event-label":z.dataEventLabel}:{}),[z]);return a.createElement(o,{"data-size":I,className:h,"data-has-action-icon":!!y||void 0,"data-has-display-icon":!!C||void 0,"data-has-error":p&&p.length>0||void 0,color:w.fn.primaryColor(),shadowColor:w.colors[w.primaryColor][0],style:k},g&&a.createElement(n,{size:"label2",htmlFor:m,className:"inputLabel"},g),a.createElement("div",{style:{position:"relative"}},f||a.createElement("input",Object.assign({id:m,name:m,onChange:e=>E&&E(e.target.value),type:K,"aria-label":K,value:d,disabled:N,autoComplete:A,inputMode:u||"number"===K?"numeric":K,pattern:u?"[0-9]*":".*",className:M,enterKeyHint:L},H,j)),C&&a.createElement(r,{className:"displayIcon"},C),y&&a.createElement(l,{className:"actionIcon",onClick:v},y)),p&&p.length>0&&b&&a.createElement(i,{className:"errorLabel"},p))};export{c as I};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle as r,useMemo as n,forwardRef as l,createContext as s}from"react";import{I as d,T as p}from"./index-
|
|
1
|
+
import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle as r,useMemo as n,forwardRef as l,createContext as s}from"react";import{I as d,T as p}from"./index-93373164.js";import{u as c}from"./useTranslations-d53c1330.js";import"lodash/debounce";import"./isProduction-2867c4ae.js";import"./index-791c2e73.js";import"./useCategory-3ed22813.js";import{createStyles as m,Stack as g,Group as h,getStylesRef as u,useMantineTheme as b,Flex as x,rem as f,Box as y}from"@mantine/core";import v,{keyframes as w,css as k}from"styled-components";import{M as $}from"./screenSizeContext-72ce46a4.js";import{L as E}from"./index-e97749f3.js";import{B as D}from"./index-755ffff4.js";import{H as C,T as z,Q as B,a6 as P,P as N,x as j}from"./index.styles-7c62b30f.js";import{I as S}from"./index-cdb97442.js";import{_ as I}from"./tslib.es6-fdd748b4.js";import T from"dayjs";import{t as _}from"./theme-1da7aacc.js";import{G as M,L as A}from"./Subot-121ca712.js";import{CommonGAssets as O}from"./gAssets.js";import{R as U,B as L}from"./index-ba9f0132.js";import"@mantine/dates";import"./translationsContext-b79be690.js";import"string-format";import"@mantine/hooks";import{yupResolver as F}from"@hookform/resolvers/yup";import{useForm as H,Controller as R}from"react-hook-form";import{B as G,D as W}from"./index-6ccbe13a.js";import{L as V}from"./constants-df5951b0.js";import{D as q}from"./index.styled-4106f4c6.js";import{format as Y,addDays as Z}from"date-fns";import"./utils-f731ba69.js";import{S as X}from"./index-0261ca22.js";import{M as J}from"./index-e0788105.js";import"./index-3ed554e9.js";import{D as K}from"./types-873ff0d8.js";import Q from"react-day-picker/DayPickerInput";var ee="tliWyii";const te=({className:t,theme:a,hideText:i})=>{const{t:o}=c();return e.createElement("div",{className:`${ee} ${t}`},e.createElement(d.Spinner,{isMarryBaby:"marryBaby"===a}),!i&&o("loading"))},ae=t((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),ie=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:i})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":i,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),oe=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:i})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":i,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"}))));var re=m(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const ne=v.a`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 125px;
|
|
4
4
|
|