@hhgtech/hhg-components 1.29.77 → 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-10720435.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-39c86c0a.js → constants-385d01e7.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-44b6c361.js → core-e0799ceb.js} +2 -2
- package/build/{dataTransform-33582353.js → dataTransform-c8c14a28.js} +1 -1
- package/build/{utils-027dab7c.js → defaultClassWrapper-8ac3b7f0.js} +118 -392
- package/build/ecom.js +5 -5
- package/build/esm/{Instagram-becdb106.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-1cc39551.js → constants-5d6ab948.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-adbcbe2f.js → core-296015da.js} +2 -2
- package/build/esm/{dataTransform-38a6ba25.js → dataTransform-0066c53b.js} +1 -1
- package/build/esm/{utils-e8c78fa7.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-fa828c1a.js → getDynamicHealthTool-7cf3f00e.js} +4 -4
- package/build/esm/{getSocialList-d49f96d5.js → getSocialList-f797bbe2.js} +31 -12
- package/build/esm/hooks.js +17 -17
- 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-36e18ffd.js → index-09ecd45f.js} +37 -36
- package/build/esm/{index-c8e55b19.js → index-13975e28.js} +4 -4
- package/build/esm/{index-62a8b174.js → index-25209a23.js} +37 -37
- package/build/esm/{index-bffe0e7b.js → index-2da84fe8.js} +1 -1
- package/build/esm/{index-0fed808d.js → index-2e13488d.js} +2 -2
- package/build/esm/{index-2f968acd.js → index-30eb73b8.js} +3 -3
- package/build/esm/{index-de28335d.js → index-4e6d8f1c.js} +11 -11
- package/build/esm/{index-3d150702.js → index-5b69b19c.js} +2 -2
- package/build/esm/{index-258af431.js → index-5c2abf3a.js} +1052 -1052
- package/build/esm/{index-8450b670.js → index-62059a85.js} +2 -2
- package/build/esm/{index-95029090.js → index-6896ecdf.js} +2 -2
- package/build/esm/{index-d6a9a175.js → index-6c7832ac.js} +21 -21
- package/build/esm/{index-95b9fc82.js → index-70bb6ed3.js} +120 -120
- package/build/esm/{index-16af59c8.js → index-869411be.js} +10 -10
- package/build/esm/{index-3131a682.js → index-94f2f772.js} +2 -2
- package/build/esm/{constants-2eb60c45.js → index-9dd8721c.js} +113 -113
- package/build/esm/{index-ae717003.js → index-a2404202.js} +2 -2
- package/build/esm/{index-d62e3f04.js → index-ad1d81e3.js} +2 -2
- package/build/esm/{index-bb71b6ce.js → index-b45321ac.js} +6 -6
- package/build/esm/{index-a1f5a5c0.js → index-b851beaf.js} +1 -1
- package/build/esm/index-b9666693.js +298 -0
- package/build/esm/{index-9e37013f.js → index-c8e5b7ad.js} +5 -5
- package/build/esm/{index-c6d9afaf.js → index-dd00700b.js} +2 -2
- package/build/esm/{index-26a17cf1.js → index-e80cb404.js} +12 -12
- package/build/esm/{index-2dfe0c66.js → index-ed317f58.js} +62 -62
- package/build/esm/{index-10f8055c.js → index-f160e379.js} +2 -2
- package/build/esm/{index-8ac7b919.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-64a9c965.js → index.styled-19fa0003.js} +2 -2
- package/build/esm/{index.styles-d670cbe0.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-878abd29.js → routing-ddff6eb9.js} +2 -2
- package/build/esm/subot.js +27 -233
- package/build/esm/together.js +35 -35
- package/build/esm/{types-a9beb2c2.js → types-1ab8164a.js} +13 -13
- package/build/esm/{types-7d111505.js → types-29a56da4.js} +30 -30
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-d9b70788.js → useCategory-00116196.js} +5 -5
- package/build/esm/{useHealthToolCache-606d76d5.js → useHealthToolCache-298307bc.js} +2 -2
- package/build/esm/{useMantineLocale-4a5da5bb.js → useMantineLocale-e9d07649.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-ec3d3a0c.js → usePlacesAutocomplete-3c09ae6c.js} +1 -1
- package/build/esm/{useTranslations-d90d5386.js → useTranslations-ee0ed7e4.js} +1 -1
- package/build/esm/{utils-9a265ccf.js → utils-70fb5414.js} +4 -4
- package/build/esm/{utils-0a07daac.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-407c625b.js → getDynamicHealthTool-fe5aca1c.js} +4 -4
- package/build/{getSocialList-4bfd3bcd.js → getSocialList-717ee974.js} +32 -13
- package/build/hooks.js +17 -17
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-9c6a769a.js → index-172570c5.js} +5 -5
- package/build/{index-2ad99c01.js → index-266faebd.js} +2 -2
- package/build/{index-44c62bda.js → index-297519c0.js} +3 -3
- package/build/{index-389ed3cc.js → index-2dd62be1.js} +12 -12
- package/build/{index-1867685a.js → index-2ed617c9.js} +6 -6
- package/build/{index-9b49e11b.js → index-2f39a918.js} +4 -4
- package/build/{index-a9b49c5d.js → index-3f5ce427.js} +11 -11
- package/build/{index-26695c30.js → index-3fea5307.js} +2 -2
- package/build/{index-38f1f6f3.js → index-50cc6ee0.js} +22 -22
- package/build/{index-f9919edd.js → index-58d6aa20.js} +10 -10
- package/build/{index-5ef6d523.js → index-657d308e.js} +2 -2
- package/build/{constants-451fe312.js → index-714baad1.js} +113 -113
- package/build/{index-028a4e83.js → index-888fe1c7.js} +2 -2
- package/build/{index-8fbffaaf.js → index-896cf1e8.js} +55 -55
- package/build/{index-b3edc143.js → index-8bbc5f6c.js} +2 -2
- package/build/{index-b2fc27d1.js → index-a74e681a.js} +1 -1
- package/build/{index-2ef89336.js → index-bd99a93f.js} +1050 -1050
- package/build/{index-358bd4c9.js → index-c6d8ee38.js} +68 -68
- package/build/{index-ebe8498b.js → index-ca2880f5.js} +48 -47
- package/build/index-d37fb502.js +233 -0
- package/build/{index-8c0b1c02.js → index-d98b6533.js} +2 -2
- package/build/{index-65c1110f.js → index-de879d05.js} +120 -120
- package/build/{index-41aeff4b.js → index-e1d386b9.js} +7 -7
- package/build/{index-23af6839.js → index-e76edc59.js} +8 -8
- package/build/{index-10b71661.js → index-f5c1576f.js} +2 -2
- package/build/{WhatsApp-3fd26435.js → index-fbc4ad0a.js} +276 -1
- package/build/{index-38b2495c.js → index-fd9e9e31.js} +2 -2
- package/build/index.css +1 -1
- package/build/index.js +108 -107
- package/build/{index.styled-07682ea0.js → index.styled-cd56f718.js} +2 -2
- package/build/{index.styles-7b2242d2.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-b981f60b.js → routing-101c464a.js} +2 -2
- package/build/subot.js +338 -545
- package/build/together.js +40 -40
- package/build/{types-efd3a733.js → types-65270049.js} +49 -49
- package/build/{types-44e5bb3b.js → types-bc9b7ff5.js} +191 -191
- package/build/types.js +1 -1
- package/build/{useCategory-afc35cb8.js → useCategory-99167875.js} +5 -5
- package/build/{useHealthToolCache-a2d8b96c.js → useHealthToolCache-347a7553.js} +2 -2
- package/build/{useMantineLocale-b2014fa7.js → useMantineLocale-67d093f5.js} +3 -3
- package/build/{usePlacesAutocomplete-6c1d9d08.js → usePlacesAutocomplete-0d428f7d.js} +1 -1
- package/build/{useTranslations-7cf26ebc.js → useTranslations-ddee03e3.js} +1 -1
- package/build/{utils-2bce0db7.js → utils-bc89f5c8.js} +4 -4
- package/build/{utils-5ef558ae.js → utils-f2b61d2c.js} +1 -1
- package/build/vaccination.js +26 -26
- package/package.json +1 -1
- package/build/esm/WhatsApp-ea79e6c6.js +0 -24
- /package/build/{BMI_BOYS.percentile.monthly-cb72630c.js → BMI_BOYS.percentile.monthly-2dbe6dbf.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-d0234fe6.js → BMI_BOYS.percentile.weekly-68fd0e8a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-45f72d65.js → BMI_BOYS.percentile.yearly-a334f00f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-1d54e60c.js → BMI_BOYS.zscore.monthly-f1f1e40c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-3a7f8b58.js → BMI_BOYS.zscore.weekly-eaadf495.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-2e2fde40.js → BMI_BOYS.zscore.yearly-ee0a8baa.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-0b957ea8.js → BMI_GIRLS.percentile.monthly-2a4322e1.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-35358161.js → BMI_GIRLS.percentile.weekly-8d2160f3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-86cf64c3.js → BMI_GIRLS.percentile.yearly-e305a1c3.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-9c33405d.js → BMI_GIRLS.zscore.monthly-370967e2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-1756b9f7.js → BMI_GIRLS.zscore.weekly-82dbdbeb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-f1a80a3f.js → BMI_GIRLS.zscore.yearly-b624b0c5.js} +0 -0
- /package/build/{ChevronDown-4759a935.js → ChevronDown-6a728605.js} +0 -0
- /package/build/{Close-0228d203.js → Close-6a790433.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-6b654f6e.js → HEAD CIRCUM_BOYS.percentile.monthly-2d793b40.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-57dd7208.js → HEAD CIRCUM_BOYS.percentile.weekly-3ec0fbcd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-cfbf8e37.js → HEAD CIRCUM_BOYS.percentile.yearly-018cfad7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-2fdfecbf.js → HEAD CIRCUM_BOYS.zscore.monthly-9a92fc56.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-b9088de4.js → HEAD CIRCUM_BOYS.zscore.weekly-ec5c1b66.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-c6448a06.js → HEAD CIRCUM_BOYS.zscore.yearly-1bbc9e90.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-8cebd1c4.js → HEAD CIRCUM_GIRLS.percentile.monthly-88bf7054.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-799abee7.js → HEAD CIRCUM_GIRLS.percentile.weekly-48abc5c8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-b183def6.js → HEAD CIRCUM_GIRLS.percentile.yearly-eb5476be.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c3c54f79.js → HEAD CIRCUM_GIRLS.zscore.monthly-b4908eed.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e3c9e267.js → HEAD CIRCUM_GIRLS.zscore.weekly-bb3b5b73.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-66f1302c.js → HEAD CIRCUM_GIRLS.zscore.yearly-9e459c3a.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-bc422249.js → HEIGHT_BOYS.percentile.monthly-de26b886.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-56e69b4e.js → HEIGHT_BOYS.percentile.weekly-2b1a480e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-9dcdc2e4.js → HEIGHT_BOYS.percentile.yearly-9e11bf8a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-3d513fd7.js → HEIGHT_BOYS.zscore.monthly-169b72ab.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-e4db0dd5.js → HEIGHT_BOYS.zscore.weekly-1f51ea7a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-20b4c77d.js → HEIGHT_BOYS.zscore.yearly-2defb1ff.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-4492f4fd.js → HEIGHT_GIRLS.percentile.monthly-ff09a166.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-98a1ca0d.js → HEIGHT_GIRLS.percentile.weekly-bdbad8b3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-e22a6bba.js → HEIGHT_GIRLS.percentile.yearly-a7cf5de3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-638e6a18.js → HEIGHT_GIRLS.zscore.monthly-bc88d68f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-31393170.js → HEIGHT_GIRLS.zscore.weekly-4b1bb4f7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-2bf0a4a8.js → HEIGHT_GIRLS.zscore.yearly-6d54fcc8.js} +0 -0
- /package/build/{Visible-47686e3a.js → Visible-cf684c77.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-f4167182.js → WEIGHT_BOYS.percentile.monthly-69735b17.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-e1a5993f.js → WEIGHT_BOYS.percentile.weekly-60881421.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-2e427419.js → WEIGHT_BOYS.percentile.yearly-bac67ed1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-8fb3a2b7.js → WEIGHT_BOYS.zscore.monthly-e9254299.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-ebcff8a7.js → WEIGHT_BOYS.zscore.weekly-6b82cd2d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-fb7bb26f.js → WEIGHT_BOYS.zscore.yearly-43cc1986.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-e7848f0f.js → WEIGHT_GIRLS.percentile.monthly-38847b2b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-337f576e.js → WEIGHT_GIRLS.percentile.weekly-2ac2ee92.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-6ee35204.js → WEIGHT_GIRLS.percentile.yearly-3401e100.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4390e00e.js → WEIGHT_GIRLS.zscore.monthly-4f257d09.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-b2742b05.js → WEIGHT_GIRLS.zscore.weekly-fe8ea3a5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-fea85463.js → WEIGHT_GIRLS.zscore.yearly-c780b33b.js} +0 -0
- /package/build/{animation-6fbad6af.js → animation-6f210c4a.js} +0 -0
- /package/build/{cart-c527be69.js → cart-d48967a8.js} +0 -0
- /package/build/{cookieHelper-2f7b8bb5.js → cookieHelper-6fa2ed3a.js} +0 -0
- /package/build/{doctor-c26d2588.js → doctor-d70d0f31.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-68db008a.js → BMI_BOYS.percentile.monthly-2c7cf81c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-48ca1732.js → BMI_BOYS.percentile.weekly-963d00dc.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-ae0d3d02.js → BMI_BOYS.percentile.yearly-4eea698f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-3a642bb7.js → BMI_BOYS.zscore.monthly-f5544376.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-249d18d3.js → BMI_BOYS.zscore.weekly-4656cd4c.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-4f9791ee.js → BMI_BOYS.zscore.yearly-39ccd0fd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-3b599a05.js → BMI_GIRLS.percentile.monthly-d7501958.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-16607ad8.js → BMI_GIRLS.percentile.weekly-315ba23e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-73336b57.js → BMI_GIRLS.percentile.yearly-5afebffb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-8f848687.js → BMI_GIRLS.zscore.monthly-9c659c70.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-8e2a9f4a.js → BMI_GIRLS.zscore.weekly-f72193e8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e34dfaa4.js → BMI_GIRLS.zscore.yearly-33a16ebf.js} +0 -0
- /package/build/esm/{ChevronDown-c0329f44.js → ChevronDown-51088ad9.js} +0 -0
- /package/build/esm/{Close-d87e464b.js → Close-851c8b38.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-527dce16.js → HEAD CIRCUM_BOYS.percentile.monthly-522b5435.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-98dd0a97.js → HEAD CIRCUM_BOYS.percentile.weekly-72d04552.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-8166ecf3.js → HEAD CIRCUM_BOYS.percentile.yearly-e68e4904.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-30285ff5.js → HEAD CIRCUM_BOYS.zscore.monthly-89b9b642.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-cb5a5177.js → HEAD CIRCUM_BOYS.zscore.weekly-c8c2ae6a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-6fb22cde.js → HEAD CIRCUM_BOYS.zscore.yearly-0cf56dc8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-04b6b926.js → HEAD CIRCUM_GIRLS.percentile.monthly-ef9dbfc9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1241a9ec.js → HEAD CIRCUM_GIRLS.percentile.weekly-831567fe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-744c910b.js → HEAD CIRCUM_GIRLS.percentile.yearly-0e89170b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d84c6e78.js → HEAD CIRCUM_GIRLS.zscore.monthly-82564fb7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6b9ca043.js → HEAD CIRCUM_GIRLS.zscore.weekly-6b1845ec.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-8d2bfd9b.js → HEAD CIRCUM_GIRLS.zscore.yearly-6b65120d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-99472da3.js → HEIGHT_BOYS.percentile.monthly-ecfdee13.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-1aee0bde.js → HEIGHT_BOYS.percentile.weekly-2bae8fa8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-38092fb0.js → HEIGHT_BOYS.percentile.yearly-4cf5eb0c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-f3f65922.js → HEIGHT_BOYS.zscore.monthly-5978dd63.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-70d2afc1.js → HEIGHT_BOYS.zscore.weekly-0e20ae65.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4e6e2a36.js → HEIGHT_BOYS.zscore.yearly-9f9ecc92.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-f5deee2b.js → HEIGHT_GIRLS.percentile.monthly-244b7899.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-0c657519.js → HEIGHT_GIRLS.percentile.weekly-867f533c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1deed5e9.js → HEIGHT_GIRLS.percentile.yearly-8334ef62.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-cb644457.js → HEIGHT_GIRLS.zscore.monthly-89dc2f92.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-49dd8375.js → HEIGHT_GIRLS.zscore.weekly-c37a8e45.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-950158e4.js → HEIGHT_GIRLS.zscore.yearly-d75c7342.js} +0 -0
- /package/build/esm/{Visible-73c96479.js → Visible-2b82b731.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-2ed3f112.js → WEIGHT_BOYS.percentile.monthly-afa954cf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3ced9bfa.js → WEIGHT_BOYS.percentile.weekly-0ce8ca9d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-e200a25c.js → WEIGHT_BOYS.percentile.yearly-9bc9d108.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-4a00ce48.js → WEIGHT_BOYS.zscore.monthly-c41e3c26.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-cbd95b9c.js → WEIGHT_BOYS.zscore.weekly-927605d1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-70fa4821.js → WEIGHT_BOYS.zscore.yearly-10a9c6a3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-e887c3ea.js → WEIGHT_GIRLS.percentile.monthly-c3957e70.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-01c5ac35.js → WEIGHT_GIRLS.percentile.weekly-5413b078.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-27fc7e31.js → WEIGHT_GIRLS.percentile.yearly-fbef8c0c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-bf8085a6.js → WEIGHT_GIRLS.zscore.monthly-e89aa92b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-729252a6.js → WEIGHT_GIRLS.zscore.weekly-7a014b5a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-7aae5db4.js → WEIGHT_GIRLS.zscore.yearly-0cae1bb9.js} +0 -0
- /package/build/esm/{animation-791a5496.js → animation-89cd92dc.js} +0 -0
- /package/build/esm/{cart-24fe471a.js → cart-b5b2f9c9.js} +0 -0
- /package/build/esm/{cookieHelper-dc30b23e.js → cookieHelper-6839de86.js} +0 -0
- /package/build/esm/{doctor-407e7c56.js → doctor-a16d5a2a.js} +0 -0
- /package/build/esm/{index-24b9c26b.js → index-207e5a99.js} +0 -0
- /package/build/esm/{index-e39cfd72.js → index-3f16918f.js} +0 -0
- /package/build/esm/{index-a3f9e8d3.js → index-b1dfbcd9.js} +0 -0
- /package/build/esm/{isProduction-34384c12.js → isProduction-6557a7a7.js} +0 -0
- /package/build/esm/{localizeNumberFormat-674a367b.js → localizeNumberFormat-1efb07bf.js} +0 -0
- /package/build/esm/{normalizeLink-8ab2c8da.js → normalizeLink-9adb98bb.js} +0 -0
- /package/build/esm/{number-ba9ba596.js → number-7673e170.js} +0 -0
- /package/build/esm/{paths-50f78662.js → paths-1a0405c1.js} +0 -0
- /package/build/esm/{theme-f9fa9f7d.js → theme-676e1d3e.js} +0 -0
- /package/build/esm/{translationsContext-af680337.js → translationsContext-b00d46fa.js} +0 -0
- /package/build/esm/{tslib.es6-8f144c22.js → tslib.es6-42d35711.js} +0 -0
- /package/build/esm/{useIsInit-8490d361.js → useIsInit-d65429ab.js} +0 -0
- /package/build/esm/{useOutsideClick-43bfe834.js → useOutsideClick-3b36c560.js} +0 -0
- /package/build/esm/{useScrollbarSize-7162b71f.js → useScrollbarSize-7cfe3d07.js} +0 -0
- /package/build/esm/{useUniqueId-472fb987.js → useUniqueId-28b8a8d2.js} +0 -0
- /package/build/esm/{utils-1997593f.js → utils-0f3667a8.js} +0 -0
- /package/build/{index-e8aa716f.js → index-0c11098b.js} +0 -0
- /package/build/{index-058eef4b.js → index-3d1716ad.js} +0 -0
- /package/build/{index-f9037c98.js → index-c4b66929.js} +0 -0
- /package/build/{index-bc8ea61e.js → index-d38624f2.js} +0 -0
- /package/build/{isProduction-38f0d828.js → isProduction-cc2f71e7.js} +0 -0
- /package/build/{localizeNumberFormat-a3608c43.js → localizeNumberFormat-72f6c627.js} +0 -0
- /package/build/{normalizeLink-e4b395be.js → normalizeLink-37b001e0.js} +0 -0
- /package/build/{number-9ed235ec.js → number-3c00e9ff.js} +0 -0
- /package/build/{paths-e9129f2e.js → paths-22150d98.js} +0 -0
- /package/build/{theme-9f0f3820.js → theme-040e6fd9.js} +0 -0
- /package/build/{translationsContext-bfbdca60.js → translationsContext-bece07e0.js} +0 -0
- /package/build/{tslib.es6-fd9cd13e.js → tslib.es6-a8c3b1ed.js} +0 -0
- /package/build/{useIsInit-35d2df26.js → useIsInit-78fbbf00.js} +0 -0
- /package/build/{useOutsideClick-1f18b14b.js → useOutsideClick-f4ac5964.js} +0 -0
- /package/build/{useScrollbarSize-645a7822.js → useScrollbarSize-df8fb771.js} +0 -0
- /package/build/{useUniqueId-07b21aa4.js → useUniqueId-a3ed3f40.js} +0 -0
- /package/build/{utils-07a0efea.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-d90d5386.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-ae717003.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;
|