@hhgtech/hhg-components 1.29.76 → 1.29.78
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/{Instagram-86b7bc15.js → Instagram-f68f1dae.js} +1 -1
- package/build/adapters.js +15 -15
- package/build/babyGrowth.js +80 -80
- package/build/cache.js +3 -3
- package/build/care.js +18 -18
- package/build/components/navigationV2/components/molecules/navigationBar/index.d.ts +2 -1
- package/build/components/navigationV2/index.d.ts +1 -0
- package/build/components.js +83 -82
- package/build/{constants-719fbb90.js → constants-385d01e7.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-f571f62a.js → core-e0799ceb.js} +2 -2
- package/build/{dataTransform-aac3f8cd.js → dataTransform-c8c14a28.js} +1 -1
- package/build/{utils-83337870.js → defaultClassWrapper-8ac3b7f0.js} +118 -392
- package/build/ecom.js +5 -5
- package/build/esm/{Instagram-de0e8d98.js → Instagram-8dd26ac6.js} +1 -1
- package/build/esm/adapters.js +15 -15
- package/build/esm/babyGrowth.js +81 -81
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +17 -17
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.d.ts +2 -1
- package/build/esm/components/navigationV2/index.d.ts +1 -0
- package/build/esm/components.js +59 -58
- package/build/esm/{constants-49a4dcdf.js → constants-5d6ab948.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-f79180f8.js → core-296015da.js} +2 -2
- package/build/esm/{dataTransform-3807c9d2.js → dataTransform-0066c53b.js} +1 -1
- package/build/esm/{utils-296f6ce0.js → defaultClassWrapper-8112e475.js} +108 -381
- package/build/esm/ecom.js +5 -5
- package/build/esm/footer.js +18 -18
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-10e36e9d.js → getDynamicHealthTool-7cf3f00e.js} +4 -4
- package/build/esm/{getSocialList-a6c786db.js → getSocialList-f797bbe2.js} +31 -12
- package/build/esm/hooks.js +17 -17
- package/build/esm/i18n-values/ms-MY.js +1 -1
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/index-043dfbc3.js +216 -0
- package/build/esm/{index-aee34a48.js → index-09ecd45f.js} +37 -36
- package/build/esm/{index-a570b2ed.js → index-13975e28.js} +4 -4
- package/build/esm/{index-2f4855a8.js → index-25209a23.js} +37 -37
- package/build/esm/{index-53d2876e.js → index-2da84fe8.js} +1 -1
- package/build/esm/{index-cd069a89.js → index-2e13488d.js} +2 -2
- package/build/esm/{index-75509fc3.js → index-30eb73b8.js} +3 -3
- package/build/esm/{index-22423f24.js → index-4e6d8f1c.js} +11 -11
- package/build/esm/{index-efc77575.js → index-5b69b19c.js} +2 -2
- package/build/esm/{index-d0a2f6ec.js → index-5c2abf3a.js} +1052 -1052
- package/build/esm/{index-88b710e3.js → index-62059a85.js} +2 -2
- package/build/esm/{index-450a7d58.js → index-6896ecdf.js} +2 -2
- package/build/esm/{index-707072a0.js → index-6c7832ac.js} +21 -21
- package/build/esm/{index-d5092c27.js → index-70bb6ed3.js} +120 -120
- package/build/esm/{index-9c23f470.js → index-869411be.js} +10 -10
- package/build/esm/{index-413867da.js → index-94f2f772.js} +3 -3
- package/build/esm/{constants-14a25a1f.js → index-9dd8721c.js} +113 -113
- package/build/esm/{index-7d30d2d2.js → index-a2404202.js} +2 -2
- package/build/esm/{index-bc29a2b6.js → index-ad1d81e3.js} +2 -2
- package/build/esm/{index-5d51ace9.js → index-b45321ac.js} +6 -6
- package/build/esm/{index-352d0aa5.js → index-b851beaf.js} +1 -1
- package/build/esm/index-b9666693.js +298 -0
- package/build/esm/{index-caf6722b.js → index-c8e5b7ad.js} +5 -5
- package/build/esm/{index-c79781fb.js → index-dd00700b.js} +2 -2
- package/build/esm/{index-42b1983c.js → index-e80cb404.js} +12 -12
- package/build/esm/{index-f3e72b4d.js → index-ed317f58.js} +62 -62
- package/build/esm/{index-5f3f2d6f.js → index-f160e379.js} +2 -2
- package/build/esm/{index-a3ca59d6.js → index-fc868dc0.js} +5 -5
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +66 -65
- package/build/esm/{index.styled-ce027616.js → index.styled-19fa0003.js} +2 -2
- package/build/esm/{index.styles-82c0faa1.js → index.styles-0693a12e.js} +78 -78
- package/build/esm/lead.js +28 -28
- package/build/esm/mantine.js +20 -20
- package/build/esm/misc.js +23 -20
- package/build/esm/navigation.js +35 -35
- package/build/esm/onboardingV2.js +32 -32
- package/build/esm/pwg.js +19 -19
- package/build/esm/{routing-322eaa4c.js → routing-ddff6eb9.js} +2 -2
- package/build/esm/subot.js +27 -233
- package/build/esm/together.js +35 -35
- package/build/esm/{types-a3ed86c8.js → types-1ab8164a.js} +13 -13
- package/build/esm/{types-44a9ece1.js → types-29a56da4.js} +30 -30
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-948fb6a8.js → useCategory-00116196.js} +5 -5
- package/build/esm/{useHealthToolCache-28a3c4c6.js → useHealthToolCache-298307bc.js} +2 -2
- package/build/esm/{useMantineLocale-9b58b685.js → useMantineLocale-e9d07649.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-dd489ec7.js → usePlacesAutocomplete-3c09ae6c.js} +1 -1
- package/build/esm/{useTranslations-d26d2dd7.js → useTranslations-ee0ed7e4.js} +1 -1
- package/build/esm/{utils-c74c31bf.js → utils-70fb5414.js} +4 -4
- package/build/esm/{utils-4caabcaf.js → utils-98843bdc.js} +1 -1
- package/build/esm/vaccination.js +26 -26
- package/build/footer.js +18 -18
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-cbdcdf15.js → getDynamicHealthTool-fe5aca1c.js} +4 -4
- package/build/{getSocialList-1694e67f.js → getSocialList-717ee974.js} +32 -13
- package/build/hooks.js +17 -17
- package/build/i18n-values/ms-MY.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-ce4f11ef.js → index-172570c5.js} +5 -5
- package/build/{index-159e2660.js → index-266faebd.js} +2 -2
- package/build/{index-0454a0b5.js → index-297519c0.js} +3 -3
- package/build/{index-61367fe0.js → index-2dd62be1.js} +12 -12
- package/build/{index-f6ac4acf.js → index-2ed617c9.js} +6 -6
- package/build/{index-ac45c9ce.js → index-2f39a918.js} +4 -4
- package/build/{index-ff3c5c20.js → index-3f5ce427.js} +11 -11
- package/build/{index-5efec884.js → index-3fea5307.js} +2 -2
- package/build/{index-dba96acd.js → index-50cc6ee0.js} +22 -22
- package/build/{index-33f0bff6.js → index-58d6aa20.js} +10 -10
- package/build/{index-813921ef.js → index-657d308e.js} +2 -2
- package/build/{constants-6781c0a5.js → index-714baad1.js} +113 -113
- package/build/{index-8c0adaed.js → index-888fe1c7.js} +2 -2
- package/build/{index-cafc9574.js → index-896cf1e8.js} +55 -55
- package/build/{index-55261180.js → index-8bbc5f6c.js} +2 -2
- package/build/{index-80b5097a.js → index-a74e681a.js} +1 -1
- package/build/{index-48aca6d7.js → index-bd99a93f.js} +1050 -1050
- package/build/{index-83e3c045.js → index-c6d8ee38.js} +68 -68
- package/build/{index-d911e858.js → index-ca2880f5.js} +48 -47
- package/build/index-d37fb502.js +233 -0
- package/build/{index-909623c9.js → index-d98b6533.js} +2 -2
- package/build/{index-a6ab742a.js → index-de879d05.js} +120 -120
- package/build/{index-b1720522.js → index-e1d386b9.js} +7 -7
- package/build/{index-b71ec348.js → index-e76edc59.js} +8 -8
- package/build/{index-1f765864.js → index-f5c1576f.js} +2 -2
- package/build/{WhatsApp-6b693d67.js → index-fbc4ad0a.js} +276 -1
- package/build/{index-07db6c89.js → index-fd9e9e31.js} +3 -3
- package/build/index.css +1 -1
- package/build/index.js +108 -107
- package/build/{index.styled-50af6497.js → index.styled-cd56f718.js} +2 -2
- package/build/{index.styles-77df1c2b.js → index.styles-15b57fec.js} +83 -83
- package/build/lead.js +28 -28
- package/build/mantine.js +17 -17
- package/build/misc.js +23 -20
- package/build/navigation.js +35 -35
- package/build/onboardingV2.js +31 -31
- package/build/pwg.js +19 -19
- package/build/{routing-19724fda.js → routing-101c464a.js} +2 -2
- package/build/subot.js +338 -545
- package/build/together.js +40 -40
- package/build/{types-841ea0f8.js → types-65270049.js} +49 -49
- package/build/{types-8103df55.js → types-bc9b7ff5.js} +191 -191
- package/build/types.js +1 -1
- package/build/{useCategory-0b2ef197.js → useCategory-99167875.js} +5 -5
- package/build/{useHealthToolCache-3c423143.js → useHealthToolCache-347a7553.js} +2 -2
- package/build/{useMantineLocale-38ffd9ae.js → useMantineLocale-67d093f5.js} +3 -3
- package/build/{usePlacesAutocomplete-646b2b03.js → usePlacesAutocomplete-0d428f7d.js} +1 -1
- package/build/{useTranslations-3da8d23e.js → useTranslations-ddee03e3.js} +1 -1
- package/build/{utils-9a87f8d9.js → utils-bc89f5c8.js} +4 -4
- package/build/{utils-478cfe5d.js → utils-f2b61d2c.js} +1 -1
- package/build/vaccination.js +26 -26
- package/package.json +1 -1
- package/build/esm/WhatsApp-11fc8356.js +0 -24
- /package/build/{BMI_BOYS.percentile.monthly-9b50e52f.js → BMI_BOYS.percentile.monthly-2dbe6dbf.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-4439d476.js → BMI_BOYS.percentile.weekly-68fd0e8a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-960c0771.js → BMI_BOYS.percentile.yearly-a334f00f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-4b43250e.js → BMI_BOYS.zscore.monthly-f1f1e40c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-d4907b9f.js → BMI_BOYS.zscore.weekly-eaadf495.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-9ee69f9d.js → BMI_BOYS.zscore.yearly-ee0a8baa.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-dc2fdf0e.js → BMI_GIRLS.percentile.monthly-2a4322e1.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-1b38bd96.js → BMI_GIRLS.percentile.weekly-8d2160f3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-02414e20.js → BMI_GIRLS.percentile.yearly-e305a1c3.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-22932f64.js → BMI_GIRLS.zscore.monthly-370967e2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-821fa654.js → BMI_GIRLS.zscore.weekly-82dbdbeb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-7dbcbb1a.js → BMI_GIRLS.zscore.yearly-b624b0c5.js} +0 -0
- /package/build/{ChevronDown-8960bba8.js → ChevronDown-6a728605.js} +0 -0
- /package/build/{Close-08bd4298.js → Close-6a790433.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4d93a363.js → HEAD CIRCUM_BOYS.percentile.monthly-2d793b40.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-6ba303fa.js → HEAD CIRCUM_BOYS.percentile.weekly-3ec0fbcd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-0a4ffaee.js → HEAD CIRCUM_BOYS.percentile.yearly-018cfad7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-d8eaa381.js → HEAD CIRCUM_BOYS.zscore.monthly-9a92fc56.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c87e6af4.js → HEAD CIRCUM_BOYS.zscore.weekly-ec5c1b66.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d9a52671.js → HEAD CIRCUM_BOYS.zscore.yearly-1bbc9e90.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-4ed7bb97.js → HEAD CIRCUM_GIRLS.percentile.monthly-88bf7054.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-6e4b369c.js → HEAD CIRCUM_GIRLS.percentile.weekly-48abc5c8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-a921267b.js → HEAD CIRCUM_GIRLS.percentile.yearly-eb5476be.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-1cae954b.js → HEAD CIRCUM_GIRLS.zscore.monthly-b4908eed.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-5d43456f.js → HEAD CIRCUM_GIRLS.zscore.weekly-bb3b5b73.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-eced20c8.js → HEAD CIRCUM_GIRLS.zscore.yearly-9e459c3a.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-07bcd6ca.js → HEIGHT_BOYS.percentile.monthly-de26b886.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-7cdf6993.js → HEIGHT_BOYS.percentile.weekly-2b1a480e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-6c5d943a.js → HEIGHT_BOYS.percentile.yearly-9e11bf8a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-e46f25fc.js → HEIGHT_BOYS.zscore.monthly-169b72ab.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-6d18339b.js → HEIGHT_BOYS.zscore.weekly-1f51ea7a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-7886aa48.js → HEIGHT_BOYS.zscore.yearly-2defb1ff.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-800ba66d.js → HEIGHT_GIRLS.percentile.monthly-ff09a166.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-cebd135d.js → HEIGHT_GIRLS.percentile.weekly-bdbad8b3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-bc54e1ee.js → HEIGHT_GIRLS.percentile.yearly-a7cf5de3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-d3160752.js → HEIGHT_GIRLS.zscore.monthly-bc88d68f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-fb8651f4.js → HEIGHT_GIRLS.zscore.weekly-4b1bb4f7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-2ac9b61e.js → HEIGHT_GIRLS.zscore.yearly-6d54fcc8.js} +0 -0
- /package/build/{Visible-f917485e.js → Visible-cf684c77.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-84ec3cf3.js → WEIGHT_BOYS.percentile.monthly-69735b17.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-430407fd.js → WEIGHT_BOYS.percentile.weekly-60881421.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-c93ffc92.js → WEIGHT_BOYS.percentile.yearly-bac67ed1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-071e754c.js → WEIGHT_BOYS.zscore.monthly-e9254299.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-6bad7529.js → WEIGHT_BOYS.zscore.weekly-6b82cd2d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-3388131c.js → WEIGHT_BOYS.zscore.yearly-43cc1986.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-1db18e75.js → WEIGHT_GIRLS.percentile.monthly-38847b2b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-94e4dc5d.js → WEIGHT_GIRLS.percentile.weekly-2ac2ee92.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-8a0d1397.js → WEIGHT_GIRLS.percentile.yearly-3401e100.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-6e81e8eb.js → WEIGHT_GIRLS.zscore.monthly-4f257d09.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-7e09c6b4.js → WEIGHT_GIRLS.zscore.weekly-fe8ea3a5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-48ae8923.js → WEIGHT_GIRLS.zscore.yearly-c780b33b.js} +0 -0
- /package/build/{animation-6a354499.js → animation-6f210c4a.js} +0 -0
- /package/build/{cart-f524d70b.js → cart-d48967a8.js} +0 -0
- /package/build/{cookieHelper-f1270aa8.js → cookieHelper-6fa2ed3a.js} +0 -0
- /package/build/{doctor-460efc4e.js → doctor-d70d0f31.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-c795fa31.js → BMI_BOYS.percentile.monthly-2c7cf81c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-93d3a2e7.js → BMI_BOYS.percentile.weekly-963d00dc.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-e12d0f93.js → BMI_BOYS.percentile.yearly-4eea698f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-a61cbcb5.js → BMI_BOYS.zscore.monthly-f5544376.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-df28f2de.js → BMI_BOYS.zscore.weekly-4656cd4c.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-1572b3d6.js → BMI_BOYS.zscore.yearly-39ccd0fd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-afbf7bdd.js → BMI_GIRLS.percentile.monthly-d7501958.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-88afe92e.js → BMI_GIRLS.percentile.weekly-315ba23e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-3f6d0007.js → BMI_GIRLS.percentile.yearly-5afebffb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-df48ff7e.js → BMI_GIRLS.zscore.monthly-9c659c70.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-c0e3ef01.js → BMI_GIRLS.zscore.weekly-f72193e8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-adf55dba.js → BMI_GIRLS.zscore.yearly-33a16ebf.js} +0 -0
- /package/build/esm/{ChevronDown-2d0f198a.js → ChevronDown-51088ad9.js} +0 -0
- /package/build/esm/{Close-2ce2f09c.js → Close-851c8b38.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a67a4012.js → HEAD CIRCUM_BOYS.percentile.monthly-522b5435.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-eef6a2b3.js → HEAD CIRCUM_BOYS.percentile.weekly-72d04552.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-7716a1b1.js → HEAD CIRCUM_BOYS.percentile.yearly-e68e4904.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-976585ad.js → HEAD CIRCUM_BOYS.zscore.monthly-89b9b642.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-4a8efa04.js → HEAD CIRCUM_BOYS.zscore.weekly-c8c2ae6a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-3e6d5418.js → HEAD CIRCUM_BOYS.zscore.yearly-0cf56dc8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-23bf9344.js → HEAD CIRCUM_GIRLS.percentile.monthly-ef9dbfc9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bef4b766.js → HEAD CIRCUM_GIRLS.percentile.weekly-831567fe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-3d51ca86.js → HEAD CIRCUM_GIRLS.percentile.yearly-0e89170b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-0e8f2809.js → HEAD CIRCUM_GIRLS.zscore.monthly-82564fb7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-9af76405.js → HEAD CIRCUM_GIRLS.zscore.weekly-6b1845ec.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-8bf900c4.js → HEAD CIRCUM_GIRLS.zscore.yearly-6b65120d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-2117581f.js → HEIGHT_BOYS.percentile.monthly-ecfdee13.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-32caad55.js → HEIGHT_BOYS.percentile.weekly-2bae8fa8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f06a01f4.js → HEIGHT_BOYS.percentile.yearly-4cf5eb0c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9277aa60.js → HEIGHT_BOYS.zscore.monthly-5978dd63.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3fce9644.js → HEIGHT_BOYS.zscore.weekly-0e20ae65.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-701cb22d.js → HEIGHT_BOYS.zscore.yearly-9f9ecc92.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c21f8cfd.js → HEIGHT_GIRLS.percentile.monthly-244b7899.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-9d33aa12.js → HEIGHT_GIRLS.percentile.weekly-867f533c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-6e44423b.js → HEIGHT_GIRLS.percentile.yearly-8334ef62.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-5a00cd96.js → HEIGHT_GIRLS.zscore.monthly-89dc2f92.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-2ff60b7f.js → HEIGHT_GIRLS.zscore.weekly-c37a8e45.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-18664e72.js → HEIGHT_GIRLS.zscore.yearly-d75c7342.js} +0 -0
- /package/build/esm/{Visible-013c4e17.js → Visible-2b82b731.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-9a4ae0e0.js → WEIGHT_BOYS.percentile.monthly-afa954cf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-d5d70e19.js → WEIGHT_BOYS.percentile.weekly-0ce8ca9d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-861ab2cd.js → WEIGHT_BOYS.percentile.yearly-9bc9d108.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-e9f591d1.js → WEIGHT_BOYS.zscore.monthly-c41e3c26.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-fb1bd500.js → WEIGHT_BOYS.zscore.weekly-927605d1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-a25ff34d.js → WEIGHT_BOYS.zscore.yearly-10a9c6a3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-37cf236c.js → WEIGHT_GIRLS.percentile.monthly-c3957e70.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-029e478f.js → WEIGHT_GIRLS.percentile.weekly-5413b078.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-8dce316c.js → WEIGHT_GIRLS.percentile.yearly-fbef8c0c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9173160d.js → WEIGHT_GIRLS.zscore.monthly-e89aa92b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-411a046b.js → WEIGHT_GIRLS.zscore.weekly-7a014b5a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-c19c7429.js → WEIGHT_GIRLS.zscore.yearly-0cae1bb9.js} +0 -0
- /package/build/esm/{animation-4b187451.js → animation-89cd92dc.js} +0 -0
- /package/build/esm/{cart-1e4e352e.js → cart-b5b2f9c9.js} +0 -0
- /package/build/esm/{cookieHelper-8494dcf1.js → cookieHelper-6839de86.js} +0 -0
- /package/build/esm/{doctor-74fc81b1.js → doctor-a16d5a2a.js} +0 -0
- /package/build/esm/{index-f1b4e4f6.js → index-207e5a99.js} +0 -0
- /package/build/esm/{index-3434140c.js → index-3f16918f.js} +0 -0
- /package/build/esm/{index-5f5297aa.js → index-b1dfbcd9.js} +0 -0
- /package/build/esm/{isProduction-a01c18e3.js → isProduction-6557a7a7.js} +0 -0
- /package/build/esm/{localizeNumberFormat-f924ab7b.js → localizeNumberFormat-1efb07bf.js} +0 -0
- /package/build/esm/{normalizeLink-61ae52b5.js → normalizeLink-9adb98bb.js} +0 -0
- /package/build/esm/{number-c847488a.js → number-7673e170.js} +0 -0
- /package/build/esm/{paths-756efba0.js → paths-1a0405c1.js} +0 -0
- /package/build/esm/{theme-ac1a0e46.js → theme-676e1d3e.js} +0 -0
- /package/build/esm/{translationsContext-a21c43b4.js → translationsContext-b00d46fa.js} +0 -0
- /package/build/esm/{tslib.es6-6d3de7c2.js → tslib.es6-42d35711.js} +0 -0
- /package/build/esm/{useIsInit-4ba52ee9.js → useIsInit-d65429ab.js} +0 -0
- /package/build/esm/{useOutsideClick-d1486166.js → useOutsideClick-3b36c560.js} +0 -0
- /package/build/esm/{useScrollbarSize-f874e0ac.js → useScrollbarSize-7cfe3d07.js} +0 -0
- /package/build/esm/{useUniqueId-a727e698.js → useUniqueId-28b8a8d2.js} +0 -0
- /package/build/esm/{utils-3d823a9f.js → utils-0f3667a8.js} +0 -0
- /package/build/{index-e1ed79b3.js → index-0c11098b.js} +0 -0
- /package/build/{index-4da85d4b.js → index-3d1716ad.js} +0 -0
- /package/build/{index-5e9fdc69.js → index-c4b66929.js} +0 -0
- /package/build/{index-b8cc819b.js → index-d38624f2.js} +0 -0
- /package/build/{isProduction-f7507b6e.js → isProduction-cc2f71e7.js} +0 -0
- /package/build/{localizeNumberFormat-8ccd7c74.js → localizeNumberFormat-72f6c627.js} +0 -0
- /package/build/{normalizeLink-0007c927.js → normalizeLink-37b001e0.js} +0 -0
- /package/build/{number-eb5a9b12.js → number-3c00e9ff.js} +0 -0
- /package/build/{paths-29644364.js → paths-22150d98.js} +0 -0
- /package/build/{theme-4d2a1014.js → theme-040e6fd9.js} +0 -0
- /package/build/{translationsContext-d76a8c6d.js → translationsContext-bece07e0.js} +0 -0
- /package/build/{tslib.es6-6abfcd13.js → tslib.es6-a8c3b1ed.js} +0 -0
- /package/build/{useIsInit-3021c365.js → useIsInit-78fbbf00.js} +0 -0
- /package/build/{useOutsideClick-9e887f30.js → useOutsideClick-f4ac5964.js} +0 -0
- /package/build/{useScrollbarSize-14a9f09a.js → useScrollbarSize-df8fb771.js} +0 -0
- /package/build/{useUniqueId-889c3946.js → useUniqueId-a3ed3f40.js} +0 -0
- /package/build/{utils-526a845c.js → utils-a2ad9aa3.js} +0 -0
|
@@ -1,327 +1,12 @@
|
|
|
1
|
-
import React__default, {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { g as getCookie } from './cookieHelper-
|
|
1
|
+
import React__default, { createContext, useState, useEffect, forwardRef } from 'react';
|
|
2
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-42d35711.js';
|
|
3
|
+
import { c as cookie } from './index-b9666693.js';
|
|
4
|
+
import { g as getCookie } from './cookieHelper-6839de86.js';
|
|
5
5
|
import slugify from 'slugify';
|
|
6
|
-
import './index-
|
|
6
|
+
import './index-94f2f772.js';
|
|
7
7
|
import formatString from 'string-format';
|
|
8
|
-
import { i as isProduction } from './isProduction-
|
|
9
|
-
|
|
10
|
-
/* eslint-disable @typescript-eslint/ban-types */
|
|
11
|
-
function setDefaultClass(Component, defaultClass) {
|
|
12
|
-
const Comp = forwardRef((props, ref) => {
|
|
13
|
-
return (React__default.createElement(Component, Object.assign({}, props, {
|
|
14
|
-
// @ts-ignore
|
|
15
|
-
className: `${defaultClass} ${props.className || ''}`, ref: ref })));
|
|
16
|
-
});
|
|
17
|
-
// @ts-ignore
|
|
18
|
-
Comp.classSelector = `.${defaultClass}`;
|
|
19
|
-
return Comp;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const Eye = (_a) => {
|
|
23
|
-
var { size, color: colorInit, useCurrentColor, isActive, activeColor } = _a, rest = __rest(_a, ["size", "color", "useCurrentColor", "isActive", "activeColor"]);
|
|
24
|
-
const color = useCurrentColor
|
|
25
|
-
? 'currentColor'
|
|
26
|
-
: isActive
|
|
27
|
-
? activeColor
|
|
28
|
-
: colorInit;
|
|
29
|
-
const props = Object.assign({ width: size, height: size }, rest);
|
|
30
|
-
return (React__default.createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 18 18", fill: "none" }, props),
|
|
31
|
-
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.00183 11.6827C9.85164 11.6827 10.5734 11.3852 11.1672 10.7903C11.7609 10.1955 12.0578 9.4731 12.0578 8.62328C12.0578 7.77346 11.7604 7.05168 11.1655 6.45793C10.5706 5.86418 9.84824 5.56731 8.99841 5.56731C8.1486 5.56731 7.42682 5.86474 6.83307 6.45962C6.23932 7.05451 5.94245 7.77686 5.94245 8.62669C5.94245 9.4765 6.23988 10.1983 6.83476 10.792C7.42965 11.3858 8.152 11.6827 9.00183 11.6827ZM9.00012 10.65C8.43762 10.65 7.9595 10.4531 7.56575 10.0594C7.172 9.66561 6.97512 9.18748 6.97512 8.62498C6.97512 8.06248 7.172 7.58436 7.56575 7.19061C7.9595 6.79686 8.43762 6.59998 9.00012 6.59998C9.56262 6.59998 10.0407 6.79686 10.4345 7.19061C10.8282 7.58436 11.0251 8.06248 11.0251 8.62498C11.0251 9.18748 10.8282 9.66561 10.4345 10.0594C10.0407 10.4531 9.56262 10.65 9.00012 10.65ZM9.00012 13.875C7.42128 13.875 5.9773 13.4538 4.66818 12.6115C3.35904 11.7692 2.31409 10.661 1.53333 9.28699C1.47083 9.1793 1.42515 9.07077 1.3963 8.96139C1.36745 8.85201 1.35303 8.73974 1.35303 8.62461C1.35303 8.50947 1.36745 8.39734 1.3963 8.28821C1.42515 8.17908 1.47083 8.07066 1.53333 7.96298C2.31409 6.58894 3.35904 5.48077 4.66818 4.63847C5.9773 3.79616 7.42128 3.375 9.00012 3.375C10.579 3.375 12.0229 3.79616 13.3321 4.63847C14.6412 5.48077 15.6862 6.58894 16.4669 7.96298C16.5294 8.07066 16.5751 8.17919 16.6039 8.28857C16.6328 8.39796 16.6472 8.51022 16.6472 8.62536C16.6472 8.74049 16.6328 8.85263 16.6039 8.96175C16.5751 9.07089 16.5294 9.1793 16.4669 9.28699C15.6862 10.661 14.6412 11.7692 13.3321 12.6115C12.0229 13.4538 10.579 13.875 9.00012 13.875ZM9.00012 12.75C10.4126 12.75 11.7095 12.3781 12.8907 11.6344C14.072 10.8906 14.9751 9.88748 15.6001 8.62498C14.9751 7.36248 14.072 6.35936 12.8907 5.61561C11.7095 4.87186 10.4126 4.49998 9.00012 4.49998C7.58762 4.49998 6.29075 4.87186 5.1095 5.61561C3.92825 6.35936 3.02512 7.36248 2.40012 8.62498C3.02512 9.88748 3.92825 10.8906 5.1095 11.6344C6.29075 12.3781 7.58762 12.75 9.00012 12.75Z", fill: color })));
|
|
32
|
-
};
|
|
33
|
-
Eye.defaultProps = {
|
|
34
|
-
size: 24,
|
|
35
|
-
color: theme.colors.gray600,
|
|
36
|
-
activeColor: theme.colors.primaryBase,
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
const Spinner = (_a) => {
|
|
40
|
-
var { size = 24, color, isMarryBaby } = _a, rest = __rest(_a, ["size", "color", "isMarryBaby"]);
|
|
41
|
-
return (React__default.createElement("svg", Object.assign({ style: {
|
|
42
|
-
display: 'block',
|
|
43
|
-
shapeRendering: 'auto',
|
|
44
|
-
}, width: size, height: size, viewBox: "30 30 40 40", preserveAspectRatio: "xMidYMid" }, rest),
|
|
45
|
-
React__default.createElement("circle", { cx: "50", cy: "50", fill: "none", stroke: color || (isMarryBaby ? '#e85388' : '#91caff'), strokeWidth: "7", r: "16", strokeDasharray: "75.39822368615503 27.132741228718345" },
|
|
46
|
-
React__default.createElement("animateTransform", { attributeName: "transform", type: "rotate", repeatCount: "indefinite", dur: "1.2s", values: "0 50 50;360 50 50", keyTimes: "0;1" }))));
|
|
47
|
-
};
|
|
48
|
-
Spinner.defaultProps = {
|
|
49
|
-
size: 24,
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
/*!
|
|
53
|
-
* cookie
|
|
54
|
-
* Copyright(c) 2012-2014 Roman Shtylman
|
|
55
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
56
|
-
* MIT Licensed
|
|
57
|
-
*/
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Module exports.
|
|
61
|
-
* @public
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
|
-
var parse_1 = parse;
|
|
65
|
-
var serialize_1 = serialize;
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Module variables.
|
|
69
|
-
* @private
|
|
70
|
-
*/
|
|
71
|
-
|
|
72
|
-
var __toString = Object.prototype.toString;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
76
|
-
*
|
|
77
|
-
* field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
|
|
78
|
-
* field-vchar = VCHAR / obs-text
|
|
79
|
-
* obs-text = %x80-FF
|
|
80
|
-
*/
|
|
81
|
-
|
|
82
|
-
var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Parse a cookie header.
|
|
86
|
-
*
|
|
87
|
-
* Parse the given cookie header string into an object
|
|
88
|
-
* The object has the various cookies as keys(names) => values
|
|
89
|
-
*
|
|
90
|
-
* @param {string} str
|
|
91
|
-
* @param {object} [options]
|
|
92
|
-
* @return {object}
|
|
93
|
-
* @public
|
|
94
|
-
*/
|
|
95
|
-
|
|
96
|
-
function parse(str, options) {
|
|
97
|
-
if (typeof str !== 'string') {
|
|
98
|
-
throw new TypeError('argument str must be a string');
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
var obj = {};
|
|
102
|
-
var opt = options || {};
|
|
103
|
-
var dec = opt.decode || decode;
|
|
104
|
-
|
|
105
|
-
var index = 0;
|
|
106
|
-
while (index < str.length) {
|
|
107
|
-
var eqIdx = str.indexOf('=', index);
|
|
108
|
-
|
|
109
|
-
// no more cookie pairs
|
|
110
|
-
if (eqIdx === -1) {
|
|
111
|
-
break
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
var endIdx = str.indexOf(';', index);
|
|
115
|
-
|
|
116
|
-
if (endIdx === -1) {
|
|
117
|
-
endIdx = str.length;
|
|
118
|
-
} else if (endIdx < eqIdx) {
|
|
119
|
-
// backtrack on prior semicolon
|
|
120
|
-
index = str.lastIndexOf(';', eqIdx - 1) + 1;
|
|
121
|
-
continue
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
var key = str.slice(index, eqIdx).trim();
|
|
125
|
-
|
|
126
|
-
// only assign once
|
|
127
|
-
if (undefined === obj[key]) {
|
|
128
|
-
var val = str.slice(eqIdx + 1, endIdx).trim();
|
|
129
|
-
|
|
130
|
-
// quoted values
|
|
131
|
-
if (val.charCodeAt(0) === 0x22) {
|
|
132
|
-
val = val.slice(1, -1);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
obj[key] = tryDecode(val, dec);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
index = endIdx + 1;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
return obj;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Serialize data into a cookie header.
|
|
146
|
-
*
|
|
147
|
-
* Serialize the a name value pair into a cookie string suitable for
|
|
148
|
-
* http headers. An optional options object specified cookie parameters.
|
|
149
|
-
*
|
|
150
|
-
* serialize('foo', 'bar', { httpOnly: true })
|
|
151
|
-
* => "foo=bar; httpOnly"
|
|
152
|
-
*
|
|
153
|
-
* @param {string} name
|
|
154
|
-
* @param {string} val
|
|
155
|
-
* @param {object} [options]
|
|
156
|
-
* @return {string}
|
|
157
|
-
* @public
|
|
158
|
-
*/
|
|
159
|
-
|
|
160
|
-
function serialize(name, val, options) {
|
|
161
|
-
var opt = options || {};
|
|
162
|
-
var enc = opt.encode || encode;
|
|
163
|
-
|
|
164
|
-
if (typeof enc !== 'function') {
|
|
165
|
-
throw new TypeError('option encode is invalid');
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
if (!fieldContentRegExp.test(name)) {
|
|
169
|
-
throw new TypeError('argument name is invalid');
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
var value = enc(val);
|
|
173
|
-
|
|
174
|
-
if (value && !fieldContentRegExp.test(value)) {
|
|
175
|
-
throw new TypeError('argument val is invalid');
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
var str = name + '=' + value;
|
|
179
|
-
|
|
180
|
-
if (null != opt.maxAge) {
|
|
181
|
-
var maxAge = opt.maxAge - 0;
|
|
182
|
-
|
|
183
|
-
if (isNaN(maxAge) || !isFinite(maxAge)) {
|
|
184
|
-
throw new TypeError('option maxAge is invalid')
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
str += '; Max-Age=' + Math.floor(maxAge);
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
if (opt.domain) {
|
|
191
|
-
if (!fieldContentRegExp.test(opt.domain)) {
|
|
192
|
-
throw new TypeError('option domain is invalid');
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
str += '; Domain=' + opt.domain;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
if (opt.path) {
|
|
199
|
-
if (!fieldContentRegExp.test(opt.path)) {
|
|
200
|
-
throw new TypeError('option path is invalid');
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
str += '; Path=' + opt.path;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
if (opt.expires) {
|
|
207
|
-
var expires = opt.expires;
|
|
208
|
-
|
|
209
|
-
if (!isDate(expires) || isNaN(expires.valueOf())) {
|
|
210
|
-
throw new TypeError('option expires is invalid');
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
str += '; Expires=' + expires.toUTCString();
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
if (opt.httpOnly) {
|
|
217
|
-
str += '; HttpOnly';
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
if (opt.secure) {
|
|
221
|
-
str += '; Secure';
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
if (opt.priority) {
|
|
225
|
-
var priority = typeof opt.priority === 'string'
|
|
226
|
-
? opt.priority.toLowerCase()
|
|
227
|
-
: opt.priority;
|
|
228
|
-
|
|
229
|
-
switch (priority) {
|
|
230
|
-
case 'low':
|
|
231
|
-
str += '; Priority=Low';
|
|
232
|
-
break
|
|
233
|
-
case 'medium':
|
|
234
|
-
str += '; Priority=Medium';
|
|
235
|
-
break
|
|
236
|
-
case 'high':
|
|
237
|
-
str += '; Priority=High';
|
|
238
|
-
break
|
|
239
|
-
default:
|
|
240
|
-
throw new TypeError('option priority is invalid')
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
if (opt.sameSite) {
|
|
245
|
-
var sameSite = typeof opt.sameSite === 'string'
|
|
246
|
-
? opt.sameSite.toLowerCase() : opt.sameSite;
|
|
247
|
-
|
|
248
|
-
switch (sameSite) {
|
|
249
|
-
case true:
|
|
250
|
-
str += '; SameSite=Strict';
|
|
251
|
-
break;
|
|
252
|
-
case 'lax':
|
|
253
|
-
str += '; SameSite=Lax';
|
|
254
|
-
break;
|
|
255
|
-
case 'strict':
|
|
256
|
-
str += '; SameSite=Strict';
|
|
257
|
-
break;
|
|
258
|
-
case 'none':
|
|
259
|
-
str += '; SameSite=None';
|
|
260
|
-
break;
|
|
261
|
-
default:
|
|
262
|
-
throw new TypeError('option sameSite is invalid');
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
return str;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* URL-decode string value. Optimized to skip native call when no %.
|
|
271
|
-
*
|
|
272
|
-
* @param {string} str
|
|
273
|
-
* @returns {string}
|
|
274
|
-
*/
|
|
275
|
-
|
|
276
|
-
function decode (str) {
|
|
277
|
-
return str.indexOf('%') !== -1
|
|
278
|
-
? decodeURIComponent(str)
|
|
279
|
-
: str
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* URL-encode value.
|
|
284
|
-
*
|
|
285
|
-
* @param {string} str
|
|
286
|
-
* @returns {string}
|
|
287
|
-
*/
|
|
288
|
-
|
|
289
|
-
function encode (val) {
|
|
290
|
-
return encodeURIComponent(val)
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* Determine if value is a Date.
|
|
295
|
-
*
|
|
296
|
-
* @param {*} val
|
|
297
|
-
* @private
|
|
298
|
-
*/
|
|
299
|
-
|
|
300
|
-
function isDate (val) {
|
|
301
|
-
return __toString.call(val) === '[object Date]' ||
|
|
302
|
-
val instanceof Date
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* Try decoding a string using a decoding function.
|
|
307
|
-
*
|
|
308
|
-
* @param {string} str
|
|
309
|
-
* @param {function} decode
|
|
310
|
-
* @private
|
|
311
|
-
*/
|
|
312
|
-
|
|
313
|
-
function tryDecode(str, decode) {
|
|
314
|
-
try {
|
|
315
|
-
return decode(str);
|
|
316
|
-
} catch (e) {
|
|
317
|
-
return str;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
var cookie = {
|
|
322
|
-
parse: parse_1,
|
|
323
|
-
serialize: serialize_1
|
|
324
|
-
};
|
|
8
|
+
import { i as isProduction } from './isProduction-6557a7a7.js';
|
|
9
|
+
import { t as theme } from './theme-676e1d3e.js';
|
|
325
10
|
|
|
326
11
|
const PATHS = {
|
|
327
12
|
BASE_API_PATH: '/',
|
|
@@ -479,64 +164,6 @@ const ADMIN_PATHS = {
|
|
|
479
164
|
},
|
|
480
165
|
};
|
|
481
166
|
|
|
482
|
-
const DefaultComponentGlobalContextData = {
|
|
483
|
-
locale: 'vi-VN',
|
|
484
|
-
env: {
|
|
485
|
-
isMarryBaby: false,
|
|
486
|
-
togetherBasePath: '/community',
|
|
487
|
-
},
|
|
488
|
-
router: {
|
|
489
|
-
basePath: '',
|
|
490
|
-
asPath: '/',
|
|
491
|
-
},
|
|
492
|
-
};
|
|
493
|
-
const TogetherComponentGlobalContext = createContext({
|
|
494
|
-
data: DefaultComponentGlobalContextData,
|
|
495
|
-
action: {
|
|
496
|
-
pushNotifications: (s) => s,
|
|
497
|
-
sanitizeFunction: (s) => s,
|
|
498
|
-
},
|
|
499
|
-
formatMessage: () => null,
|
|
500
|
-
});
|
|
501
|
-
let GlobalData = DefaultComponentGlobalContextData;
|
|
502
|
-
const TogetherComponentGlobalContextProvider = ({ locale = 'vi-VN', children, userInfo, router, env = {
|
|
503
|
-
isMarryBaby: false,
|
|
504
|
-
togetherBasePath: '/community',
|
|
505
|
-
}, sanitizeFunction = (s) => s, pushNotifications = () => false, formatMessage, }) => {
|
|
506
|
-
const [togetherUserId, setTogetherUserId] = useState();
|
|
507
|
-
GlobalData = {
|
|
508
|
-
userInfo,
|
|
509
|
-
locale,
|
|
510
|
-
togetherUserId,
|
|
511
|
-
router,
|
|
512
|
-
env,
|
|
513
|
-
};
|
|
514
|
-
useEffect(() => {
|
|
515
|
-
if (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) {
|
|
516
|
-
callApiWithAuth(getApiPath(PATHS.PROFILE, {
|
|
517
|
-
_locale: locale,
|
|
518
|
-
}), 'GET').then((res) => {
|
|
519
|
-
var _a;
|
|
520
|
-
setTogetherUserId((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.id);
|
|
521
|
-
});
|
|
522
|
-
}
|
|
523
|
-
}, [userInfo === null || userInfo === void 0 ? void 0 : userInfo.id]);
|
|
524
|
-
return (React__default.createElement(TogetherComponentGlobalContext.Provider, { value: {
|
|
525
|
-
data: {
|
|
526
|
-
userInfo,
|
|
527
|
-
locale,
|
|
528
|
-
togetherUserId,
|
|
529
|
-
router,
|
|
530
|
-
env,
|
|
531
|
-
},
|
|
532
|
-
action: {
|
|
533
|
-
pushNotifications,
|
|
534
|
-
sanitizeFunction,
|
|
535
|
-
},
|
|
536
|
-
formatMessage,
|
|
537
|
-
} }, children));
|
|
538
|
-
};
|
|
539
|
-
|
|
540
167
|
const POST_DATE_FORMAT = 'dd/MM/yyyy';
|
|
541
168
|
const NORMAL_DATE_FORMAT = 'YYYY-MM-DD';
|
|
542
169
|
const DUE_DATE_FORMAT = 'DD/MM/YYYY';
|
|
@@ -1101,4 +728,104 @@ const getCareHospitalUrl = ({ name, id, slug, locale, }) => {
|
|
|
1101
728
|
return `/care/${(_a = LOCALISED_SLUGS[locale || 'vi-VN']) === null || _a === void 0 ? void 0 : _a.HOSPITAL}/${slugifiedNameWithId(name, id, slug)}`;
|
|
1102
729
|
};
|
|
1103
730
|
|
|
1104
|
-
|
|
731
|
+
const DefaultComponentGlobalContextData = {
|
|
732
|
+
locale: 'vi-VN',
|
|
733
|
+
env: {
|
|
734
|
+
isMarryBaby: false,
|
|
735
|
+
togetherBasePath: '/community',
|
|
736
|
+
},
|
|
737
|
+
router: {
|
|
738
|
+
basePath: '',
|
|
739
|
+
asPath: '/',
|
|
740
|
+
},
|
|
741
|
+
};
|
|
742
|
+
const TogetherComponentGlobalContext = createContext({
|
|
743
|
+
data: DefaultComponentGlobalContextData,
|
|
744
|
+
action: {
|
|
745
|
+
pushNotifications: (s) => s,
|
|
746
|
+
sanitizeFunction: (s) => s,
|
|
747
|
+
},
|
|
748
|
+
formatMessage: () => null,
|
|
749
|
+
});
|
|
750
|
+
let GlobalData = DefaultComponentGlobalContextData;
|
|
751
|
+
const TogetherComponentGlobalContextProvider = ({ locale = 'vi-VN', children, userInfo, router, env = {
|
|
752
|
+
isMarryBaby: false,
|
|
753
|
+
togetherBasePath: '/community',
|
|
754
|
+
}, sanitizeFunction = (s) => s, pushNotifications = () => false, formatMessage, }) => {
|
|
755
|
+
const [togetherUserId, setTogetherUserId] = useState();
|
|
756
|
+
GlobalData = {
|
|
757
|
+
userInfo,
|
|
758
|
+
locale,
|
|
759
|
+
togetherUserId,
|
|
760
|
+
router,
|
|
761
|
+
env,
|
|
762
|
+
};
|
|
763
|
+
useEffect(() => {
|
|
764
|
+
if (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) {
|
|
765
|
+
callApiWithAuth(getApiPath(PATHS.PROFILE, {
|
|
766
|
+
_locale: locale,
|
|
767
|
+
}), 'GET').then((res) => {
|
|
768
|
+
var _a;
|
|
769
|
+
setTogetherUserId((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.id);
|
|
770
|
+
});
|
|
771
|
+
}
|
|
772
|
+
}, [userInfo === null || userInfo === void 0 ? void 0 : userInfo.id]);
|
|
773
|
+
return (React__default.createElement(TogetherComponentGlobalContext.Provider, { value: {
|
|
774
|
+
data: {
|
|
775
|
+
userInfo,
|
|
776
|
+
locale,
|
|
777
|
+
togetherUserId,
|
|
778
|
+
router,
|
|
779
|
+
env,
|
|
780
|
+
},
|
|
781
|
+
action: {
|
|
782
|
+
pushNotifications,
|
|
783
|
+
sanitizeFunction,
|
|
784
|
+
},
|
|
785
|
+
formatMessage,
|
|
786
|
+
} }, children));
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
const Eye = (_a) => {
|
|
790
|
+
var { size, color: colorInit, useCurrentColor, isActive, activeColor } = _a, rest = __rest(_a, ["size", "color", "useCurrentColor", "isActive", "activeColor"]);
|
|
791
|
+
const color = useCurrentColor
|
|
792
|
+
? 'currentColor'
|
|
793
|
+
: isActive
|
|
794
|
+
? activeColor
|
|
795
|
+
: colorInit;
|
|
796
|
+
const props = Object.assign({ width: size, height: size }, rest);
|
|
797
|
+
return (React__default.createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 18 18", fill: "none" }, props),
|
|
798
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.00183 11.6827C9.85164 11.6827 10.5734 11.3852 11.1672 10.7903C11.7609 10.1955 12.0578 9.4731 12.0578 8.62328C12.0578 7.77346 11.7604 7.05168 11.1655 6.45793C10.5706 5.86418 9.84824 5.56731 8.99841 5.56731C8.1486 5.56731 7.42682 5.86474 6.83307 6.45962C6.23932 7.05451 5.94245 7.77686 5.94245 8.62669C5.94245 9.4765 6.23988 10.1983 6.83476 10.792C7.42965 11.3858 8.152 11.6827 9.00183 11.6827ZM9.00012 10.65C8.43762 10.65 7.9595 10.4531 7.56575 10.0594C7.172 9.66561 6.97512 9.18748 6.97512 8.62498C6.97512 8.06248 7.172 7.58436 7.56575 7.19061C7.9595 6.79686 8.43762 6.59998 9.00012 6.59998C9.56262 6.59998 10.0407 6.79686 10.4345 7.19061C10.8282 7.58436 11.0251 8.06248 11.0251 8.62498C11.0251 9.18748 10.8282 9.66561 10.4345 10.0594C10.0407 10.4531 9.56262 10.65 9.00012 10.65ZM9.00012 13.875C7.42128 13.875 5.9773 13.4538 4.66818 12.6115C3.35904 11.7692 2.31409 10.661 1.53333 9.28699C1.47083 9.1793 1.42515 9.07077 1.3963 8.96139C1.36745 8.85201 1.35303 8.73974 1.35303 8.62461C1.35303 8.50947 1.36745 8.39734 1.3963 8.28821C1.42515 8.17908 1.47083 8.07066 1.53333 7.96298C2.31409 6.58894 3.35904 5.48077 4.66818 4.63847C5.9773 3.79616 7.42128 3.375 9.00012 3.375C10.579 3.375 12.0229 3.79616 13.3321 4.63847C14.6412 5.48077 15.6862 6.58894 16.4669 7.96298C16.5294 8.07066 16.5751 8.17919 16.6039 8.28857C16.6328 8.39796 16.6472 8.51022 16.6472 8.62536C16.6472 8.74049 16.6328 8.85263 16.6039 8.96175C16.5751 9.07089 16.5294 9.1793 16.4669 9.28699C15.6862 10.661 14.6412 11.7692 13.3321 12.6115C12.0229 13.4538 10.579 13.875 9.00012 13.875ZM9.00012 12.75C10.4126 12.75 11.7095 12.3781 12.8907 11.6344C14.072 10.8906 14.9751 9.88748 15.6001 8.62498C14.9751 7.36248 14.072 6.35936 12.8907 5.61561C11.7095 4.87186 10.4126 4.49998 9.00012 4.49998C7.58762 4.49998 6.29075 4.87186 5.1095 5.61561C3.92825 6.35936 3.02512 7.36248 2.40012 8.62498C3.02512 9.88748 3.92825 10.8906 5.1095 11.6344C6.29075 12.3781 7.58762 12.75 9.00012 12.75Z", fill: color })));
|
|
799
|
+
};
|
|
800
|
+
Eye.defaultProps = {
|
|
801
|
+
size: 24,
|
|
802
|
+
color: theme.colors.gray600,
|
|
803
|
+
activeColor: theme.colors.primaryBase,
|
|
804
|
+
};
|
|
805
|
+
|
|
806
|
+
const Spinner = (_a) => {
|
|
807
|
+
var { size = 24, color, isMarryBaby } = _a, rest = __rest(_a, ["size", "color", "isMarryBaby"]);
|
|
808
|
+
return (React__default.createElement("svg", Object.assign({ style: {
|
|
809
|
+
display: 'block',
|
|
810
|
+
shapeRendering: 'auto',
|
|
811
|
+
}, width: size, height: size, viewBox: "30 30 40 40", preserveAspectRatio: "xMidYMid" }, rest),
|
|
812
|
+
React__default.createElement("circle", { cx: "50", cy: "50", fill: "none", stroke: color || (isMarryBaby ? '#e85388' : '#91caff'), strokeWidth: "7", r: "16", strokeDasharray: "75.39822368615503 27.132741228718345" },
|
|
813
|
+
React__default.createElement("animateTransform", { attributeName: "transform", type: "rotate", repeatCount: "indefinite", dur: "1.2s", values: "0 50 50;360 50 50", keyTimes: "0;1" }))));
|
|
814
|
+
};
|
|
815
|
+
Spinner.defaultProps = {
|
|
816
|
+
size: 24,
|
|
817
|
+
};
|
|
818
|
+
|
|
819
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
820
|
+
function setDefaultClass(Component, defaultClass) {
|
|
821
|
+
const Comp = forwardRef((props, ref) => {
|
|
822
|
+
return (React__default.createElement(Component, Object.assign({}, props, {
|
|
823
|
+
// @ts-ignore
|
|
824
|
+
className: `${defaultClass} ${props.className || ''}`, ref: ref })));
|
|
825
|
+
});
|
|
826
|
+
// @ts-ignore
|
|
827
|
+
Comp.classSelector = `.${defaultClass}`;
|
|
828
|
+
return Comp;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
export { ADMIN_PATHS as A, BEARER_TOKEN_COOKIE as B, CARE_PATHS as C, DefaultComponentGlobalContextData as D, Eye as E, GlobalData as G, HEALTH_TOOL_TYPE as H, LEAD_TOKEN_COOKIE as L, MAX_IMAGE_UPLOADS as M, PATHS as P, REPORT_REASON_MAP as R, Spinner as S, TogetherComponentGlobalContext as T, TogetherComponentGlobalContextProvider as a, callApiWithAuth as b, constants as c, getPremiumApiPath as d, getWebsiteUrlApi as e, getSsoApiPath as f, getApiPath as g, callApi as h, getCarePath as i, domainLocalesMarryBaby as j, getUrlToSignUp as k, DEFAULT_IMG as l, getCurrentBaseUrl as m, domainLocales as n, getCareHospitalUrl as o, getCareDoctorUrl as p, getDiscoverApiPath as q, DISCOVER_PATHS as r, setDefaultClass as s, callApiWithAdminAuth as t, DEFAULT_AVATAR_IMG as u, getMarryBabyApiPath as v, callApiWithOptionalAuth as w, locale as x };
|
package/build/esm/ecom.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as theme } from './theme-
|
|
2
|
-
export { c as Constants } from './constants-
|
|
3
|
-
import './index-
|
|
1
|
+
import { t as theme } from './theme-676e1d3e.js';
|
|
2
|
+
export { c as Constants } from './constants-5d6ab948.js';
|
|
3
|
+
import './index-94f2f772.js';
|
|
4
4
|
import 'date-fns/locale';
|
|
5
|
-
import './index-
|
|
6
|
-
import './isProduction-
|
|
5
|
+
import './index-b851beaf.js';
|
|
6
|
+
import './isProduction-6557a7a7.js';
|
|
7
7
|
|
|
8
8
|
// ===== CART END =====
|
|
9
9
|
|
package/build/esm/footer.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export { F as Footer } from './index-
|
|
1
|
+
export { F as Footer } from './index-e80cb404.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-b1dfbcd9.js';
|
|
4
4
|
import 'dayjs';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-94f2f772.js';
|
|
6
6
|
import 'date-fns/locale';
|
|
7
|
-
import './index-
|
|
8
|
-
import './isProduction-
|
|
9
|
-
import './index-
|
|
10
|
-
import './tslib.es6-
|
|
7
|
+
import './index-b851beaf.js';
|
|
8
|
+
import './isProduction-6557a7a7.js';
|
|
9
|
+
import './index-5c2abf3a.js';
|
|
10
|
+
import './tslib.es6-42d35711.js';
|
|
11
11
|
import '@hhgtech/icons/other';
|
|
12
12
|
import '@mantine/core';
|
|
13
13
|
import '@mantine/hooks';
|
|
14
|
-
import './index-
|
|
15
|
-
import './utils-
|
|
14
|
+
import './index-2e13488d.js';
|
|
15
|
+
import './utils-0f3667a8.js';
|
|
16
16
|
import '@emotion/styled';
|
|
17
17
|
import '@mantine/carousel';
|
|
18
|
-
import './index-
|
|
19
|
-
import './theme-
|
|
20
|
-
import './useMantineLocale-
|
|
18
|
+
import './index-dd00700b.js';
|
|
19
|
+
import './theme-676e1d3e.js';
|
|
20
|
+
import './useMantineLocale-e9d07649.js';
|
|
21
21
|
import 'classnames';
|
|
22
|
-
import './useUniqueId-
|
|
22
|
+
import './useUniqueId-28b8a8d2.js';
|
|
23
23
|
import '@hhgtech/icons/core';
|
|
24
24
|
import '@mantine/dates';
|
|
25
|
-
import './translationsContext-
|
|
25
|
+
import './translationsContext-b00d46fa.js';
|
|
26
26
|
import 'string-format';
|
|
27
|
-
import './index-
|
|
28
|
-
import './utils-
|
|
29
|
-
import './index-
|
|
30
|
-
import './index.styled-
|
|
27
|
+
import './index-13975e28.js';
|
|
28
|
+
import './utils-70fb5414.js';
|
|
29
|
+
import './index-6896ecdf.js';
|
|
30
|
+
import './index.styled-19fa0003.js';
|
package/build/esm/gAssets.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as CommonGAssets, G as GAssets } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { C as CommonGAssets, G as GAssets } from './index-2e13488d.js';
|
|
2
|
+
import './index-94f2f772.js';
|
|
3
3
|
import 'date-fns/locale';
|
|
4
|
-
import './index-
|
|
5
|
-
import './isProduction-
|
|
4
|
+
import './index-b851beaf.js';
|
|
5
|
+
import './isProduction-6557a7a7.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
2
|
-
import { n as normalizeLinkSlash } from './normalizeLink-
|
|
3
|
-
import { c as getDiscoverApiDomain } from './routing-
|
|
4
|
-
import { g as getDataWithCache } from './core-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-42d35711.js';
|
|
2
|
+
import { n as normalizeLinkSlash } from './normalizeLink-9adb98bb.js';
|
|
3
|
+
import { c as getDiscoverApiDomain } from './routing-ddff6eb9.js';
|
|
4
|
+
import { g as getDataWithCache } from './core-296015da.js';
|
|
5
5
|
|
|
6
6
|
const formatHealthTool = (healthTool, locale) => {
|
|
7
7
|
var _a, _b;
|