@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
package/build/esm/subot.js
CHANGED
|
@@ -1,53 +1,55 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useRef, useState, useEffect, useCallback, useMemo, forwardRef, memo, useImperativeHandle } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
4
|
-
import {
|
|
2
|
+
import { d as NodeType, c as NodePosition, f as NodeActionType, e as NodeFinalTypes, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, N as NodeIntentType, L as LOCALE, F as FULL_KEY_ADDRESS } from './index-b851beaf.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-42d35711.js';
|
|
4
|
+
import { M as MAP_DOMAIN_BY_LOCALE, e as basePath, G as GA_TOKEN_COOKIE, h as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, f as SSO_URL } from './index-94f2f772.js';
|
|
5
5
|
import Cookies from 'js-cookie';
|
|
6
6
|
import fd from 'fastdom';
|
|
7
7
|
import fastdomPromised from 'fastdom/extensions/fastdom-promised';
|
|
8
8
|
import formatString from 'string-format';
|
|
9
|
-
import { G as GlobalData, h as callApi, x as
|
|
10
|
-
import {
|
|
11
|
-
|
|
9
|
+
import { G as GlobalData, h as callApi, x as locale, T as TogetherComponentGlobalContext, L as LEAD_TOKEN_COOKIE, s as setDefaultClass } from './defaultClassWrapper-8112e475.js';
|
|
10
|
+
import { a as getUserIdFromCookie, b as getSubotCookieId, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, e as checkUntilFinished, g as getHelloSitesUrl, f as checkMobile, h as clickAndOpenInNewTab, T as TIME_RESET_RESEND_OTP, s as ssoIntents, i as getHhgIdFromCookie } from './index-043dfbc3.js';
|
|
11
|
+
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl, i as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, s as ssoIntents } from './index-043dfbc3.js';
|
|
12
12
|
import hexRgb from 'hex-rgb';
|
|
13
13
|
import cn from 'classnames';
|
|
14
|
-
import { C as Container$w } from './index-
|
|
15
|
-
import { D as DatePicker, L as Loading } from './index-
|
|
14
|
+
import { C as Container$w } from './index-b1dfbcd9.js';
|
|
15
|
+
import { D as DatePicker, L as Loading } from './index-30eb73b8.js';
|
|
16
16
|
import { motion } from 'framer-motion';
|
|
17
17
|
import styled from '@emotion/styled';
|
|
18
|
-
import { M as MediaQueries } from './utils-
|
|
19
|
-
import { B as Button, S as Select } from './index-
|
|
18
|
+
import { M as MediaQueries } from './utils-0f3667a8.js';
|
|
19
|
+
import { B as Button, S as Select } from './index-5c2abf3a.js';
|
|
20
20
|
import { Remarkable } from 'remarkable';
|
|
21
21
|
import { ArrowRight } from '@hhgtech/icons/other';
|
|
22
22
|
import { useInView } from 'react-intersection-observer';
|
|
23
23
|
import { Box, Textarea } from '@mantine/core';
|
|
24
|
-
import { C as CommonGAssets } from './index-
|
|
24
|
+
import { C as CommonGAssets } from './index-2e13488d.js';
|
|
25
25
|
import dayjs from 'dayjs';
|
|
26
26
|
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
27
|
+
import { v4 } from 'uuid';
|
|
28
|
+
import { T as Text } from './index-dd00700b.js';
|
|
29
|
+
import { t as theme } from './theme-676e1d3e.js';
|
|
30
|
+
import { i as isProduction } from './isProduction-6557a7a7.js';
|
|
29
31
|
import '@mantine/dates';
|
|
30
|
-
import './useMantineLocale-
|
|
31
|
-
import './translationsContext-
|
|
32
|
+
import './useMantineLocale-e9d07649.js';
|
|
33
|
+
import './translationsContext-b00d46fa.js';
|
|
32
34
|
import '@mantine/hooks';
|
|
33
35
|
import isEmpty from 'lodash/isEmpty';
|
|
34
36
|
import { Controller, useForm } from 'react-hook-form';
|
|
35
37
|
import PhoneInputBase, { getCountryCallingCode, isPossiblePhoneNumber, parsePhoneNumber } from 'react-phone-number-input';
|
|
36
38
|
import { LoadScript } from '@react-google-maps/api';
|
|
37
|
-
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-
|
|
38
|
-
import { D as Dropdown } from './index-
|
|
39
|
-
import { B as Button$1 } from './index-
|
|
39
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-3c09ae6c.js';
|
|
40
|
+
import { D as Dropdown } from './index-2da84fe8.js';
|
|
41
|
+
import { B as Button$1 } from './index-f160e379.js';
|
|
40
42
|
import 'date-fns/locale';
|
|
41
|
-
import './
|
|
43
|
+
import './index-b9666693.js';
|
|
44
|
+
import './cookieHelper-6839de86.js';
|
|
42
45
|
import 'slugify';
|
|
43
|
-
import './index-
|
|
44
|
-
import './Instagram-
|
|
45
|
-
import './
|
|
46
|
-
import './useTranslations-d26d2dd7.js';
|
|
46
|
+
import './index-c8e5b7ad.js';
|
|
47
|
+
import './Instagram-8dd26ac6.js';
|
|
48
|
+
import './useTranslations-ee0ed7e4.js';
|
|
47
49
|
import 'date-fns';
|
|
48
50
|
import 'react-day-picker/DayPickerInput';
|
|
49
51
|
import '@mantine/carousel';
|
|
50
|
-
import './useUniqueId-
|
|
52
|
+
import './useUniqueId-28b8a8d2.js';
|
|
51
53
|
import '@hhgtech/icons/core';
|
|
52
54
|
|
|
53
55
|
// extend fastdom
|
|
@@ -193,214 +195,6 @@ const subotInlineImpression = (data) => __awaiter(void 0, void 0, void 0, functi
|
|
|
193
195
|
catch (error) { }
|
|
194
196
|
});
|
|
195
197
|
|
|
196
|
-
const queryKeysJson = [
|
|
197
|
-
'form_submit_meta',
|
|
198
|
-
'selected_actions',
|
|
199
|
-
'current_selected',
|
|
200
|
-
'current_keys',
|
|
201
|
-
'current_polls',
|
|
202
|
-
];
|
|
203
|
-
const queryKeys = [
|
|
204
|
-
'bot_id',
|
|
205
|
-
'node_id',
|
|
206
|
-
// 'account_id',
|
|
207
|
-
'action_id',
|
|
208
|
-
'action_value',
|
|
209
|
-
'current_score',
|
|
210
|
-
'gtm_id',
|
|
211
|
-
'ga_client_id',
|
|
212
|
-
'is_new',
|
|
213
|
-
'title_url',
|
|
214
|
-
'url',
|
|
215
|
-
'window_id',
|
|
216
|
-
...queryKeysJson,
|
|
217
|
-
];
|
|
218
|
-
const overrideParamsByQuery = (params, query) => {
|
|
219
|
-
const keysSubotMessage = Object.keys(query);
|
|
220
|
-
keysSubotMessage.map((key) => {
|
|
221
|
-
const value = query[key];
|
|
222
|
-
if (key === 'source') {
|
|
223
|
-
params.is_new = value === 'first_login';
|
|
224
|
-
return;
|
|
225
|
-
}
|
|
226
|
-
if (!queryKeys.includes(key)) {
|
|
227
|
-
return;
|
|
228
|
-
}
|
|
229
|
-
/** Parse String to JSON */
|
|
230
|
-
if (queryKeysJson.includes(key)) {
|
|
231
|
-
try {
|
|
232
|
-
params[key] = JSON.parse(value);
|
|
233
|
-
}
|
|
234
|
-
catch (error) { }
|
|
235
|
-
return;
|
|
236
|
-
}
|
|
237
|
-
/** Parse to number */
|
|
238
|
-
if (key === 'account_id' || key === 'current_score' || key === 'bot_id') {
|
|
239
|
-
params[key] = parseInt(value);
|
|
240
|
-
return;
|
|
241
|
-
}
|
|
242
|
-
params[key] = value;
|
|
243
|
-
});
|
|
244
|
-
return params;
|
|
245
|
-
};
|
|
246
|
-
const ssoIntents = (f) => [
|
|
247
|
-
{
|
|
248
|
-
id: v4(),
|
|
249
|
-
label: JSON.stringify({
|
|
250
|
-
title: '',
|
|
251
|
-
description: '',
|
|
252
|
-
}),
|
|
253
|
-
type: NodeIntentType.SSO_INTENT,
|
|
254
|
-
url: '',
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
id: v4(),
|
|
258
|
-
label: JSON.stringify({
|
|
259
|
-
title: f({
|
|
260
|
-
id: 'subot.myHealth.title',
|
|
261
|
-
defaultMessage: 'My Health',
|
|
262
|
-
}),
|
|
263
|
-
description: f({
|
|
264
|
-
id: 'subot.myHealth.description',
|
|
265
|
-
defaultMessage: 'Personal identifiers (like your name) will always be removed to protect your privacy. ',
|
|
266
|
-
}),
|
|
267
|
-
}),
|
|
268
|
-
type: NodeIntentType.SSO_INTENT,
|
|
269
|
-
url: '/images/subot/my-health.svg',
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
id: v4(),
|
|
273
|
-
label: JSON.stringify({
|
|
274
|
-
title: f({
|
|
275
|
-
id: 'subot.saveData.title',
|
|
276
|
-
defaultMessage: 'Save Data',
|
|
277
|
-
}),
|
|
278
|
-
description: f({
|
|
279
|
-
id: 'subot.saveData.description',
|
|
280
|
-
defaultMessage: 'Hellobacsi would like to learn from your data to provide better healthcare for you',
|
|
281
|
-
}),
|
|
282
|
-
}),
|
|
283
|
-
type: NodeIntentType.SSO_INTENT,
|
|
284
|
-
url: '/images/subot/file-storage.svg',
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
id: v4(),
|
|
288
|
-
label: JSON.stringify({
|
|
289
|
-
title: f({
|
|
290
|
-
id: 'subot.productYourIdentifiers.title',
|
|
291
|
-
defaultMessage: 'Protect your identifiers',
|
|
292
|
-
}),
|
|
293
|
-
description: f({
|
|
294
|
-
id: 'subot.productYourIdentifiers.description',
|
|
295
|
-
defaultMessage: 'Personal identifiers (like your name) will always be removed to protect your privacy. ',
|
|
296
|
-
}),
|
|
297
|
-
}),
|
|
298
|
-
type: NodeIntentType.SSO_INTENT,
|
|
299
|
-
url: '/images/subot/shield.svg',
|
|
300
|
-
},
|
|
301
|
-
];
|
|
302
|
-
function checkUntilFinished(params) {
|
|
303
|
-
const condition = params.condition;
|
|
304
|
-
const finished = params.finished;
|
|
305
|
-
const timeout = params.timeout || 3000;
|
|
306
|
-
const startTime = new Date().getTime();
|
|
307
|
-
const intervalId = setInterval(() => {
|
|
308
|
-
const endTime = new Date().getTime();
|
|
309
|
-
if (endTime - startTime > timeout || condition()) {
|
|
310
|
-
clearInterval(intervalId);
|
|
311
|
-
finished();
|
|
312
|
-
}
|
|
313
|
-
}, 300);
|
|
314
|
-
}
|
|
315
|
-
const getHhgIdFromCookie = (reqCookie) => {
|
|
316
|
-
const parsedCookie = cookie.parse(reqCookie || '');
|
|
317
|
-
const reqHhgId = parsedCookie['hhg-id'];
|
|
318
|
-
return reqHhgId || Cookies.get('hhg-id') || '';
|
|
319
|
-
};
|
|
320
|
-
const getSubotCookieId = (queryCookieId) => {
|
|
321
|
-
if (queryCookieId) {
|
|
322
|
-
Cookies.set('hhg-id', queryCookieId);
|
|
323
|
-
return queryCookieId;
|
|
324
|
-
}
|
|
325
|
-
const cookieId = getHhgIdFromCookie();
|
|
326
|
-
if (cookieId) {
|
|
327
|
-
return cookieId;
|
|
328
|
-
}
|
|
329
|
-
const newCookieId = v4();
|
|
330
|
-
Cookies.set('hhg-id', newCookieId);
|
|
331
|
-
return newCookieId;
|
|
332
|
-
};
|
|
333
|
-
const getUserIdFromCookie = (reqCookie) => {
|
|
334
|
-
const parsedCookie = cookie.parse(reqCookie || '');
|
|
335
|
-
const reqToken = parsedCookie[BEARER_TOKEN_COOKIE];
|
|
336
|
-
const token = reqToken || Cookies.get(BEARER_TOKEN_COOKIE) || '';
|
|
337
|
-
try {
|
|
338
|
-
const base64Url = token.split('.')[1];
|
|
339
|
-
const base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');
|
|
340
|
-
const jsonPayload = decodeURIComponent(atob(base64)
|
|
341
|
-
.split('')
|
|
342
|
-
.map(function (c) {
|
|
343
|
-
return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
|
|
344
|
-
})
|
|
345
|
-
.join(''));
|
|
346
|
-
return JSON.parse(jsonPayload).sub;
|
|
347
|
-
}
|
|
348
|
-
catch (err) {
|
|
349
|
-
return '';
|
|
350
|
-
}
|
|
351
|
-
};
|
|
352
|
-
const getUserInfoFromCookie = (reqCookie) => {
|
|
353
|
-
const parsedCookie = cookie.parse(reqCookie || '');
|
|
354
|
-
const reqToken = parsedCookie[BEARER_TOKEN_COOKIE];
|
|
355
|
-
const token = reqToken || Cookies.get(BEARER_TOKEN_COOKIE) || '';
|
|
356
|
-
try {
|
|
357
|
-
const base64Url = token.split('.')[1];
|
|
358
|
-
const base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');
|
|
359
|
-
const jsonPayload = decodeURIComponent(atob(base64)
|
|
360
|
-
.split('')
|
|
361
|
-
.map(function (c) {
|
|
362
|
-
return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
|
|
363
|
-
})
|
|
364
|
-
.join(''));
|
|
365
|
-
const payload = JSON.parse(jsonPayload);
|
|
366
|
-
return { email: payload.email, id: payload.sub };
|
|
367
|
-
}
|
|
368
|
-
catch (err) {
|
|
369
|
-
return { email: '', id: 0 };
|
|
370
|
-
}
|
|
371
|
-
};
|
|
372
|
-
/** To make sure have the same window id until refresh the page */
|
|
373
|
-
const generateWindowId = v4();
|
|
374
|
-
const getWindowId = () => {
|
|
375
|
-
return generateWindowId;
|
|
376
|
-
};
|
|
377
|
-
const getHelloSitesUrl = (locale, ignoreLocal) => {
|
|
378
|
-
const isLocalhost = ignoreLocal
|
|
379
|
-
? false
|
|
380
|
-
: typeof window !== 'undefined' &&
|
|
381
|
-
(window.location.hostname === 'localhost' ||
|
|
382
|
-
window.location.hostname === '127.0.0.1');
|
|
383
|
-
if (isLocalhost) {
|
|
384
|
-
return 'http://localhost'; // or any other localhost URL you want to use as fallback
|
|
385
|
-
}
|
|
386
|
-
return `https://${isProduction ? '' : 'discover.'}${domainLocales[locale]}`;
|
|
387
|
-
};
|
|
388
|
-
const checkMobile = (userAgent) => {
|
|
389
|
-
const ua = userAgent || (typeof navigator === 'undefined' ? '' : navigator.userAgent);
|
|
390
|
-
if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(ua) ||
|
|
391
|
-
/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(ua.substring(0, 4))) {
|
|
392
|
-
return true;
|
|
393
|
-
}
|
|
394
|
-
return false;
|
|
395
|
-
};
|
|
396
|
-
const clickAndOpenInNewTab = (url) => {
|
|
397
|
-
const a = document.createElement('a');
|
|
398
|
-
a.href = url;
|
|
399
|
-
a.target = '_blank';
|
|
400
|
-
a.click();
|
|
401
|
-
};
|
|
402
|
-
const TIME_RESET_RESEND_OTP = 30;
|
|
403
|
-
|
|
404
198
|
const getDynamicScore = (node) => {
|
|
405
199
|
try {
|
|
406
200
|
return node.dynamic_score || {};
|
|
@@ -6154,4 +5948,4 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
6154
5948
|
detectToSkipNodeStart: detectToSkipNodeStart
|
|
6155
5949
|
});
|
|
6156
5950
|
|
|
6157
|
-
export { PATHS$1 as PATHS, SubotInlineRevampWithTheme,
|
|
5951
|
+
export { PATHS$1 as PATHS, SubotInlineRevampWithTheme, UserInfoForm, computeExtraSettingsForBot, ContainerWithProvider as default, detectToSkipNodeStart, extractUnifiedAnswers, extractVoucherAnswers, getColorWithOpacity, getPreviousStateFromStorage, getSubotApiPath, getSubotInlineLogs, saveSubotInlineLogs, subotInlineClick, subotInlineFirstNode, subotInlineImpression, subotInlineMessage };
|
package/build/esm/together.js
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
export { f as CardAuthor, C as CardLink, B as CardPost, D as CardPostPopoverMore, b as CardReactions, E as CardReply, F as CardReplyPopover, g as CreateNewPostContent, h as CreatePostDescription, i as CreatePostTitle, r as ImagePreviewPopup, I as InputCommentBar, d as LabelPin, L as LabelSortPin, e as LabelSorting, G as PopoverMenu, P as PopupDanger, k as PopupDoctor, j as PopupExpert, n as PopupFrame, l as PopupHospital, q as PostContent, v as PostImagePreview, s as PostSingleImageViewPopup, y as ProfileDetail, x as ProfileDetailModal, p as ShareBox, S as SharePopup, A as SkipQuestionOfExpertBtn, w as SocialLinkPreview, H as SourceList, o as SubmitReportForm, z as TabNameInProfileDetail, c as TagTopic, T as TogetherAuthConfigContext, a as TogetherAuthConfigContextProvider, t as TogetherTypes, m as TopicSelectList, V as VerifiedTag, u as useTogetherAuthRequiredAction } from './types-
|
|
2
|
-
export { d as TogetherDataTransforms, U as UserAvatar } from './index-
|
|
3
|
-
export { D as DefaultComponentGlobalContextData, G as GlobalData, T as TogetherComponentGlobalContext, a as TogetherComponentGlobalContextProvider, c as TogetherConstants } from './
|
|
1
|
+
export { f as CardAuthor, C as CardLink, B as CardPost, D as CardPostPopoverMore, b as CardReactions, E as CardReply, F as CardReplyPopover, g as CreateNewPostContent, h as CreatePostDescription, i as CreatePostTitle, r as ImagePreviewPopup, I as InputCommentBar, d as LabelPin, L as LabelSortPin, e as LabelSorting, G as PopoverMenu, P as PopupDanger, k as PopupDoctor, j as PopupExpert, n as PopupFrame, l as PopupHospital, q as PostContent, v as PostImagePreview, s as PostSingleImageViewPopup, y as ProfileDetail, x as ProfileDetailModal, p as ShareBox, S as SharePopup, A as SkipQuestionOfExpertBtn, w as SocialLinkPreview, H as SourceList, o as SubmitReportForm, z as TabNameInProfileDetail, c as TagTopic, T as TogetherAuthConfigContext, a as TogetherAuthConfigContextProvider, t as TogetherTypes, m as TopicSelectList, V as VerifiedTag, u as useTogetherAuthRequiredAction } from './types-29a56da4.js';
|
|
2
|
+
export { d as TogetherDataTransforms, U as UserAvatar } from './index-70bb6ed3.js';
|
|
3
|
+
export { D as DefaultComponentGlobalContextData, G as GlobalData, T as TogetherComponentGlobalContext, a as TogetherComponentGlobalContextProvider, c as TogetherConstants } from './defaultClassWrapper-8112e475.js';
|
|
4
4
|
import 'react';
|
|
5
|
-
import './index-
|
|
6
|
-
import './tslib.es6-
|
|
5
|
+
import './index-dd00700b.js';
|
|
6
|
+
import './tslib.es6-42d35711.js';
|
|
7
7
|
import '@mantine/core';
|
|
8
|
-
import './utils-
|
|
9
|
-
import './translationsContext-
|
|
8
|
+
import './utils-0f3667a8.js';
|
|
9
|
+
import './translationsContext-b00d46fa.js';
|
|
10
10
|
import 'string-format';
|
|
11
11
|
import '@hhgtech/icons/other';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-2da84fe8.js';
|
|
13
13
|
import '@emotion/styled';
|
|
14
|
-
import './theme-
|
|
15
|
-
import './useTranslations-
|
|
14
|
+
import './theme-676e1d3e.js';
|
|
15
|
+
import './useTranslations-ee0ed7e4.js';
|
|
16
16
|
import 'innertext';
|
|
17
|
-
import './index-
|
|
17
|
+
import './index-5c2abf3a.js';
|
|
18
18
|
import '@mantine/hooks';
|
|
19
|
-
import './index-
|
|
20
|
-
import './index-
|
|
19
|
+
import './index-2e13488d.js';
|
|
20
|
+
import './index-94f2f772.js';
|
|
21
21
|
import 'date-fns/locale';
|
|
22
|
-
import './index-
|
|
23
|
-
import './isProduction-
|
|
22
|
+
import './index-b851beaf.js';
|
|
23
|
+
import './isProduction-6557a7a7.js';
|
|
24
24
|
import '@mantine/carousel';
|
|
25
|
-
import './useMantineLocale-
|
|
25
|
+
import './useMantineLocale-e9d07649.js';
|
|
26
26
|
import 'dayjs';
|
|
27
27
|
import 'classnames';
|
|
28
|
-
import './useUniqueId-
|
|
28
|
+
import './useUniqueId-28b8a8d2.js';
|
|
29
29
|
import '@hhgtech/icons/core';
|
|
30
30
|
import '@mantine/dates';
|
|
31
|
-
import './index-
|
|
32
|
-
import './
|
|
33
|
-
import './
|
|
31
|
+
import './index-ed317f58.js';
|
|
32
|
+
import './paths-1a0405c1.js';
|
|
33
|
+
import './index-9dd8721c.js';
|
|
34
|
+
import './index.styles-0693a12e.js';
|
|
34
35
|
import '@emotion/react';
|
|
35
|
-
import './animation-
|
|
36
|
+
import './animation-89cd92dc.js';
|
|
36
37
|
import 'react-keyed-flatten-children';
|
|
37
|
-
import './
|
|
38
|
-
import './index-7d30d2d2.js';
|
|
38
|
+
import './index-a2404202.js';
|
|
39
39
|
import 'lodash/debounce';
|
|
40
40
|
import 'react-contenteditable';
|
|
41
|
-
import './index-
|
|
42
|
-
import './index-
|
|
43
|
-
import './cookieHelper-
|
|
41
|
+
import './index-f160e379.js';
|
|
42
|
+
import './index-62059a85.js';
|
|
43
|
+
import './cookieHelper-6839de86.js';
|
|
44
44
|
import 'react-dom';
|
|
45
|
-
import './index-
|
|
46
|
-
import './Instagram-
|
|
47
|
-
import './
|
|
48
|
-
import './number-
|
|
45
|
+
import './index-c8e5b7ad.js';
|
|
46
|
+
import './Instagram-8dd26ac6.js';
|
|
47
|
+
import './index-b9666693.js';
|
|
48
|
+
import './number-7673e170.js';
|
|
49
49
|
import 'date-fns';
|
|
50
50
|
import 'dayjs/plugin/relativeTime';
|
|
51
|
-
import './index-
|
|
52
|
-
import './routing-
|
|
53
|
-
import './utils-
|
|
54
|
-
import './index.styled-
|
|
55
|
-
import './index-
|
|
51
|
+
import './index-5b69b19c.js';
|
|
52
|
+
import './routing-ddff6eb9.js';
|
|
53
|
+
import './utils-70fb5414.js';
|
|
54
|
+
import './index.styled-19fa0003.js';
|
|
55
|
+
import './index-207e5a99.js';
|
|
56
56
|
import 'slugify';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-42d35711.js';
|
|
2
2
|
import React__default, { useState, useCallback, useMemo, useEffect, useRef, useReducer } from 'react';
|
|
3
3
|
import { Global, css } from '@emotion/react';
|
|
4
|
-
import { u as useTranslations } from './useTranslations-
|
|
4
|
+
import { u as useTranslations } from './useTranslations-ee0ed7e4.js';
|
|
5
5
|
import debounce from 'lodash/debounce';
|
|
6
|
-
import { I as ID_OPTION_ALL_LOCATION, a as LOCALIZED_SLUGS, f as ID_OPTION_CURRENT_LOCATION, M as MAPPING_CLIENT_WITH_SLUG, g as SLUG_VACIN_ID, C as CLIENT_KEY } from './
|
|
6
|
+
import { I as ID_OPTION_ALL_LOCATION, a as LOCALIZED_SLUGS, f as ID_OPTION_CURRENT_LOCATION, M as MAPPING_CLIENT_WITH_SLUG, g as SLUG_VACIN_ID, C as CLIENT_KEY } from './index-9dd8721c.js';
|
|
7
7
|
import styled from '@emotion/styled';
|
|
8
|
-
import { I as Input } from './index-
|
|
9
|
-
import { T as Text } from './index-
|
|
10
|
-
import { t as theme } from './theme-
|
|
8
|
+
import { I as Input } from './index-a2404202.js';
|
|
9
|
+
import { T as Text } from './index-dd00700b.js';
|
|
10
|
+
import { t as theme } from './theme-676e1d3e.js';
|
|
11
11
|
import shuffle from 'lodash/shuffle';
|
|
12
|
-
import { a as useOutsideClick } from './useOutsideClick-
|
|
13
|
-
import { M as MediaQueries } from './utils-
|
|
12
|
+
import { a as useOutsideClick } from './useOutsideClick-3b36c560.js';
|
|
13
|
+
import { M as MediaQueries } from './utils-0f3667a8.js';
|
|
14
14
|
import Skeleton from 'react-loading-skeleton';
|
|
15
|
-
import { P as PATHS } from './paths-
|
|
15
|
+
import { P as PATHS } from './paths-1a0405c1.js';
|
|
16
16
|
import { Skeleton as Skeleton$1, Input as Input$1, Divider, Tabs, Flex, Button } from '@mantine/core';
|
|
17
|
-
import { U as USER_GEOLOCATION_COORDINATES_COOKIE, d as domainLocales } from './index-
|
|
18
|
-
import { g as getCookie, s as setCookie, d as deleteCookie } from './cookieHelper-
|
|
19
|
-
import { C as Container } from './index-
|
|
17
|
+
import { U as USER_GEOLOCATION_COORDINATES_COOKIE, d as domainLocales } from './index-94f2f772.js';
|
|
18
|
+
import { g as getCookie, s as setCookie, d as deleteCookie } from './cookieHelper-6839de86.js';
|
|
19
|
+
import { C as Container } from './index-b1dfbcd9.js';
|
|
20
20
|
import { Search } from '@hhgtech/icons/core';
|
|
21
|
-
import { C as ChevronDown } from './ChevronDown-
|
|
21
|
+
import { C as ChevronDown } from './ChevronDown-51088ad9.js';
|
|
22
22
|
import formatString from 'string-format';
|
|
23
23
|
|
|
24
24
|
function useGeolocation() {
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useState, useRef, useEffect, useMemo, useCallback } from 'react';
|
|
2
|
-
import { T as Text } from './index-
|
|
3
|
-
import './translationsContext-
|
|
2
|
+
import { T as Text } from './index-dd00700b.js';
|
|
3
|
+
import './translationsContext-b00d46fa.js';
|
|
4
4
|
import 'string-format';
|
|
5
|
-
import { T as TogetherComponentGlobalContext, B as BEARER_TOKEN_COOKIE, k as getUrlToSignUp, h as callApi, g as getApiPath,
|
|
6
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
5
|
+
import { T as TogetherComponentGlobalContext, B as BEARER_TOKEN_COOKIE, k as getUrlToSignUp, h as callApi, g as getApiPath, l as DEFAULT_IMG, P as PATHS, m as getCurrentBaseUrl, i as getCarePath, C as CARE_PATHS, n as domainLocales, o as getCareHospitalUrl, p as getCareDoctorUrl, q as getDiscoverApiPath, r as DISCOVER_PATHS, A as ADMIN_PATHS, t as callApiWithAdminAuth, b as callApiWithAuth, M as MAX_IMAGE_UPLOADS, u as DEFAULT_AVATAR_IMG, s as setDefaultClass, R as REPORT_REASON_MAP, v as getMarryBabyApiPath, w as callApiWithOptionalAuth } from './defaultClassWrapper-8112e475.js';
|
|
6
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-42d35711.js';
|
|
7
7
|
import { Heart, Reply, Comment, CrossLogo, ShieldCheck, Info, Ask, FullScreen, ArrowDown, ArrowRight, Trash, Endorse } from '@hhgtech/icons/other';
|
|
8
8
|
import { useMantineTheme, Box, createStyles, Flex, rem, Checkbox, Portal, Anchor, Accordion, Popover } from '@mantine/core';
|
|
9
|
-
import { D as Dropdown } from './index-
|
|
10
|
-
import { u as useTranslations } from './useTranslations-
|
|
9
|
+
import { D as Dropdown } from './index-2da84fe8.js';
|
|
10
|
+
import { u as useTranslations } from './useTranslations-ee0ed7e4.js';
|
|
11
11
|
import innertext from 'innertext';
|
|
12
|
-
import { t as theme } from './theme-
|
|
13
|
-
import { I as ImageWrap, u as useScreenSize, B as Button$1, A as Anchor$1, T as Tabs } from './index-
|
|
12
|
+
import { t as theme } from './theme-676e1d3e.js';
|
|
13
|
+
import { I as ImageWrap, u as useScreenSize, B as Button$1, A as Anchor$1, T as Tabs } from './index-5c2abf3a.js';
|
|
14
14
|
import '@mantine/dates';
|
|
15
|
-
import { D as DATE_FNS_LOCALE, d as domainLocales$1 } from './index-
|
|
16
|
-
import { L as LOCALE, S as SocialType } from './index-
|
|
17
|
-
import { C as CommonGAssets } from './index-
|
|
18
|
-
import './useMantineLocale-
|
|
15
|
+
import { D as DATE_FNS_LOCALE, d as domainLocales$1 } from './index-94f2f772.js';
|
|
16
|
+
import { L as LOCALE, S as SocialType } from './index-b851beaf.js';
|
|
17
|
+
import { C as CommonGAssets } from './index-2e13488d.js';
|
|
18
|
+
import './useMantineLocale-e9d07649.js';
|
|
19
19
|
import '@mantine/hooks';
|
|
20
|
-
import { M as MediaQueries, t as toggleNoScroll, c as safeEncodeURI, a as getPopupWrapperDom } from './utils-
|
|
21
|
-
import { A as AuthorBadge, a as BookingBtn, B as BtnChoice, D as Divider } from './index-
|
|
22
|
-
import { U as UserAvatar, c as formatTopic, b as formatPost, P as Popup, e as formatComment, a as formatCommunity, g as formatArticle, h as formatCategory } from './index-
|
|
23
|
-
import { I as Input } from './index-
|
|
20
|
+
import { M as MediaQueries, t as toggleNoScroll, c as safeEncodeURI, a as getPopupWrapperDom } from './utils-0f3667a8.js';
|
|
21
|
+
import { A as AuthorBadge, a as BookingBtn, B as BtnChoice, D as Divider } from './index-ed317f58.js';
|
|
22
|
+
import { U as UserAvatar, c as formatTopic, b as formatPost, P as Popup, e as formatComment, a as formatCommunity, g as formatArticle, h as formatCategory } from './index-70bb6ed3.js';
|
|
23
|
+
import { I as Input } from './index-a2404202.js';
|
|
24
24
|
import debounce from 'lodash/debounce';
|
|
25
25
|
import ContentEditable from 'react-contenteditable';
|
|
26
26
|
import { Plus, Close, Check } from '@hhgtech/icons/core';
|
|
27
|
-
import { B as Button } from './index-
|
|
28
|
-
import { H as Heading } from './index-
|
|
29
|
-
import { d as deleteCookie, g as getCookie } from './cookieHelper-
|
|
27
|
+
import { B as Button } from './index-f160e379.js';
|
|
28
|
+
import { H as Heading } from './index-62059a85.js';
|
|
29
|
+
import { d as deleteCookie, g as getCookie } from './cookieHelper-6839de86.js';
|
|
30
30
|
import * as ReactDOM from 'react-dom';
|
|
31
31
|
import styled from '@emotion/styled';
|
|
32
|
-
import { I as Icon } from './index-
|
|
33
|
-
import { a as abbreviateNumber } from './number-
|
|
32
|
+
import { I as Icon } from './index-c8e5b7ad.js';
|
|
33
|
+
import { a as abbreviateNumber } from './number-7673e170.js';
|
|
34
34
|
import { format } from 'date-fns';
|
|
35
35
|
import dayjs from 'dayjs';
|
|
36
36
|
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
37
37
|
import { keyframes } from '@emotion/react';
|
|
38
|
-
import { M as Modal } from './index-
|
|
39
|
-
import { a as useUniqueId } from './useUniqueId-
|
|
40
|
-
import { g as getCurrentBaseUrl$1 } from './routing-
|
|
41
|
-
import './index.styles-
|
|
42
|
-
import './
|
|
43
|
-
import './utils-
|
|
44
|
-
import './
|
|
45
|
-
import './index.styled-
|
|
46
|
-
import './index-
|
|
38
|
+
import { M as Modal } from './index-5b69b19c.js';
|
|
39
|
+
import { a as useUniqueId } from './useUniqueId-28b8a8d2.js';
|
|
40
|
+
import { g as getCurrentBaseUrl$1 } from './routing-ddff6eb9.js';
|
|
41
|
+
import './index.styles-0693a12e.js';
|
|
42
|
+
import './index-9dd8721c.js';
|
|
43
|
+
import './utils-70fb5414.js';
|
|
44
|
+
import './index-b9666693.js';
|
|
45
|
+
import './index.styled-19fa0003.js';
|
|
46
|
+
import './index-207e5a99.js';
|
|
47
47
|
|
|
48
48
|
const TogetherAuthConfigContext = createContext({});
|
|
49
49
|
const TogetherAuthConfigContextProvider = ({ children, defaultParams, }) => {
|
package/build/esm/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as BabyGrowthChartDuration, B as BabyGrowthChartType, b as BabyGrowthResultTab, E as ELEMENT_CONTROL_INPUT_TYPE, F as FULL_KEY_ADDRESS, G as Gender, L as LOCALE, f as NodeActionType,
|
|
1
|
+
export { a as BabyGrowthChartDuration, B as BabyGrowthChartType, b as BabyGrowthResultTab, E as ELEMENT_CONTROL_INPUT_TYPE, F as FULL_KEY_ADDRESS, G as Gender, L as LOCALE, f as NodeActionType, e as NodeFinalTypes, N as NodeIntentType, g as NodeMultipleOptions, c as NodePosition, d as NodeType, O as OnboardingStep, S as SocialType, h as SubotType } from './index-b851beaf.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-42d35711.js';
|
|
2
2
|
import { useRef, useEffect, useState, useCallback, useMemo } from 'react';
|
|
3
|
-
import { g as getCookie } from './cookieHelper-
|
|
4
|
-
import { u as useInitialMount } from './useUniqueId-
|
|
5
|
-
import { L as LOCALE } from './index-
|
|
6
|
-
import { u as useTranslations } from './useTranslations-
|
|
3
|
+
import { g as getCookie } from './cookieHelper-6839de86.js';
|
|
4
|
+
import { u as useInitialMount } from './useUniqueId-28b8a8d2.js';
|
|
5
|
+
import { L as LOCALE } from './index-b851beaf.js';
|
|
6
|
+
import { u as useTranslations } from './useTranslations-ee0ed7e4.js';
|
|
7
7
|
|
|
8
8
|
function normalizeAndHash(string) {
|
|
9
9
|
const utf8 = new TextEncoder().encode(string.trim().toLowerCase());
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-42d35711.js';
|
|
2
2
|
import { useState, useEffect, useCallback } from 'react';
|
|
3
|
-
import { a as getDynamicHealthToolWithCache } from './getDynamicHealthTool-
|
|
3
|
+
import { a as getDynamicHealthToolWithCache } from './getDynamicHealthTool-7cf3f00e.js';
|
|
4
4
|
|
|
5
5
|
const useHealthToolsCache = (locale) => {
|
|
6
6
|
const [allTools, setAllTools] = useState([]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { O as OTHER_THEME_CONFIG, M as MediaQueries } from './utils-
|
|
2
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { O as OTHER_THEME_CONFIG, M as MediaQueries } from './utils-0f3667a8.js';
|
|
2
|
+
import { a as __awaiter } from './tslib.es6-42d35711.js';
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
4
|
import dayjs from 'dayjs';
|
|
5
|
-
import { L as LOCALE } from './index-
|
|
5
|
+
import { L as LOCALE } from './index-b851beaf.js';
|
|
6
6
|
|
|
7
7
|
const headingStyles = [
|
|
8
8
|
{ size: '40px', lineHeight: '52px', letterSpacing: '-1.2px' },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext, useMemo } from 'react';
|
|
2
|
-
import { T as TranslationsContext } from './translationsContext-
|
|
2
|
+
import { T as TranslationsContext } from './translationsContext-b00d46fa.js';
|
|
3
3
|
import formatString from 'string-format';
|
|
4
4
|
|
|
5
5
|
function useTranslations() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
|
-
import { M as MediaQueries } from './utils-
|
|
2
|
+
import { M as MediaQueries } from './utils-0f3667a8.js';
|
|
3
3
|
import React__default, { memo, useMemo } from 'react';
|
|
4
|
-
import { C as CommonGAssets } from './index-
|
|
5
|
-
import { I as ImageWrap } from './index-
|
|
6
|
-
import { L as LOCALE } from './index-
|
|
4
|
+
import { C as CommonGAssets } from './index-2e13488d.js';
|
|
5
|
+
import { I as ImageWrap } from './index-5c2abf3a.js';
|
|
6
|
+
import { L as LOCALE } from './index-b851beaf.js';
|
|
7
7
|
|
|
8
8
|
const StyledLogo = styled.div `
|
|
9
9
|
position: relative;
|