@hhgtech/hhg-components 1.28.68 → 1.28.70
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/BMI_BOYS.percentile.monthly-ec484e1d.js +688 -0
- package/build/BMI_BOYS.percentile.weekly-ffc6b5a3.js +182 -0
- package/build/BMI_BOYS.percentile.yearly-5d5dc6e9.js +83 -0
- package/build/BMI_BOYS.zscore.monthly-b8e9eb67.js +440 -0
- package/build/BMI_BOYS.zscore.weekly-b3a3fe35.js +118 -0
- package/build/BMI_BOYS.zscore.yearly-1049cff4.js +55 -0
- package/build/BMI_GIRLS.percentile.monthly-d29f1886.js +688 -0
- package/build/BMI_GIRLS.percentile.weekly-10dd3bc1.js +182 -0
- package/build/BMI_GIRLS.percentile.yearly-a4a14fb6.js +83 -0
- package/build/BMI_GIRLS.zscore.monthly-3b5b1c91.js +440 -0
- package/build/BMI_GIRLS.zscore.weekly-d8d9d85b.js +118 -0
- package/build/BMI_GIRLS.zscore.yearly-ad43326e.js +55 -0
- package/build/ChevronDown-ec7af49f.js +29 -0
- package/build/HEAD CIRCUM_BOYS.percentile.monthly-e28549df.js +688 -0
- package/build/HEAD CIRCUM_BOYS.percentile.weekly-7e0bbc5c.js +182 -0
- package/build/HEAD CIRCUM_BOYS.percentile.yearly-16d85faf.js +83 -0
- package/build/HEAD CIRCUM_BOYS.zscore.monthly-2905143d.js +440 -0
- package/build/HEAD CIRCUM_BOYS.zscore.weekly-c884eb7a.js +118 -0
- package/build/HEAD CIRCUM_BOYS.zscore.yearly-1d2e8236.js +55 -0
- package/build/HEAD CIRCUM_GIRLS.percentile.monthly-ad2221f6.js +688 -0
- package/build/HEAD CIRCUM_GIRLS.percentile.weekly-a0f66bc1.js +182 -0
- package/build/HEAD CIRCUM_GIRLS.percentile.yearly-ccd016aa.js +83 -0
- package/build/HEAD CIRCUM_GIRLS.zscore.monthly-0fd4416c.js +440 -0
- package/build/HEAD CIRCUM_GIRLS.zscore.weekly-9c6eb011.js +118 -0
- package/build/HEAD CIRCUM_GIRLS.zscore.yearly-bbb354f1.js +55 -0
- package/build/HEIGHT_BOYS.percentile.monthly-a0f41c2e.js +688 -0
- package/build/HEIGHT_BOYS.percentile.weekly-7bc2b867.js +182 -0
- package/build/HEIGHT_BOYS.percentile.yearly-7c2f34c6.js +237 -0
- package/build/HEIGHT_BOYS.zscore.monthly-54789026.js +440 -0
- package/build/HEIGHT_BOYS.zscore.weekly-b1360897.js +118 -0
- package/build/HEIGHT_BOYS.zscore.yearly-d5eb559f.js +153 -0
- package/build/HEIGHT_GIRLS.percentile.monthly-6f7fef3f.js +688 -0
- package/build/HEIGHT_GIRLS.percentile.weekly-fb6605ac.js +182 -0
- package/build/HEIGHT_GIRLS.percentile.yearly-19052b79.js +237 -0
- package/build/HEIGHT_GIRLS.zscore.monthly-26c2a368.js +440 -0
- package/build/HEIGHT_GIRLS.zscore.weekly-305a8f9b.js +118 -0
- package/build/HEIGHT_GIRLS.zscore.yearly-f89639ce.js +153 -0
- package/build/Subot-cc39f8f4.js +217 -0
- package/build/Visible-4860305e.js +29 -0
- package/build/WEIGHT_BOYS.percentile.monthly-7763fdac.js +688 -0
- package/build/WEIGHT_BOYS.percentile.weekly-68c7793a.js +182 -0
- package/build/WEIGHT_BOYS.percentile.yearly-425ea795.js +138 -0
- package/build/WEIGHT_BOYS.zscore.monthly-09fbb556.js +440 -0
- package/build/WEIGHT_BOYS.zscore.weekly-5b55a950.js +118 -0
- package/build/WEIGHT_BOYS.zscore.yearly-a8492c27.js +90 -0
- package/build/WEIGHT_GIRLS.percentile.monthly-104461c2.js +688 -0
- package/build/WEIGHT_GIRLS.percentile.weekly-49d203bd.js +182 -0
- package/build/WEIGHT_GIRLS.percentile.yearly-f6f1c4ad.js +138 -0
- package/build/WEIGHT_GIRLS.zscore.monthly-ba6ce356.js +440 -0
- package/build/WEIGHT_GIRLS.zscore.weekly-c4c81f65.js +118 -0
- package/build/WEIGHT_GIRLS.zscore.yearly-e1085364.js +90 -0
- package/build/adapters.js +36 -1
- package/build/{esm/animation-a158bfd1.js → animation-4eb246c7.js} +32 -10
- package/build/babyGrowth.js +913 -47
- package/build/cache.js +13 -1
- package/build/care.js +38 -1
- package/build/components.js +186 -1
- package/build/constants-3864d668.js +935 -0
- package/build/constants-fc94e094.js +255 -0
- package/build/constants.js +43 -1
- package/build/cookieHelper-5530e215.js +43 -0
- package/build/core-04836b33.js +51 -0
- package/build/dataTransform-9b71cb70.js +66 -0
- package/build/ecom.js +745 -1
- package/build/esm/BMI_BOYS.percentile.monthly-6b3461e1.js +686 -0
- package/build/esm/BMI_BOYS.percentile.weekly-38412483.js +180 -0
- package/build/esm/BMI_BOYS.percentile.yearly-e8ca2213.js +81 -0
- package/build/esm/BMI_BOYS.zscore.monthly-2f32a201.js +438 -0
- package/build/esm/BMI_BOYS.zscore.weekly-8a24d204.js +116 -0
- package/build/esm/BMI_BOYS.zscore.yearly-b332a59e.js +53 -0
- package/build/esm/BMI_GIRLS.percentile.monthly-c9ac489f.js +686 -0
- package/build/esm/BMI_GIRLS.percentile.weekly-082d024f.js +180 -0
- package/build/esm/BMI_GIRLS.percentile.yearly-57a69990.js +81 -0
- package/build/esm/BMI_GIRLS.zscore.monthly-541623fd.js +438 -0
- package/build/esm/BMI_GIRLS.zscore.weekly-31b589ac.js +116 -0
- package/build/esm/BMI_GIRLS.zscore.yearly-9b283c7c.js +53 -0
- package/build/esm/ChevronDown-0ed72d46.js +7 -0
- package/build/esm/HEAD CIRCUM_BOYS.percentile.monthly-2eb54be3.js +686 -0
- package/build/esm/HEAD CIRCUM_BOYS.percentile.weekly-10259bd1.js +180 -0
- package/build/esm/HEAD CIRCUM_BOYS.percentile.yearly-fff4845f.js +81 -0
- package/build/esm/HEAD CIRCUM_BOYS.zscore.monthly-5ccfaf6a.js +438 -0
- package/build/esm/HEAD CIRCUM_BOYS.zscore.weekly-dc789dde.js +116 -0
- package/build/esm/HEAD CIRCUM_BOYS.zscore.yearly-5049a9b7.js +53 -0
- package/build/esm/HEAD CIRCUM_GIRLS.percentile.monthly-58902be4.js +686 -0
- package/build/esm/HEAD CIRCUM_GIRLS.percentile.weekly-c79eb8aa.js +180 -0
- package/build/esm/HEAD CIRCUM_GIRLS.percentile.yearly-6ecfd9f9.js +81 -0
- package/build/esm/HEAD CIRCUM_GIRLS.zscore.monthly-91b64b57.js +438 -0
- package/build/esm/HEAD CIRCUM_GIRLS.zscore.weekly-ec7b5e8d.js +116 -0
- package/build/esm/HEAD CIRCUM_GIRLS.zscore.yearly-43686573.js +53 -0
- package/build/esm/HEIGHT_BOYS.percentile.monthly-2c2ec339.js +686 -0
- package/build/esm/HEIGHT_BOYS.percentile.weekly-023fd92c.js +180 -0
- package/build/esm/HEIGHT_BOYS.percentile.yearly-64408f6e.js +235 -0
- package/build/esm/HEIGHT_BOYS.zscore.monthly-4c4c0583.js +438 -0
- package/build/esm/HEIGHT_BOYS.zscore.weekly-73d758dd.js +116 -0
- package/build/esm/HEIGHT_BOYS.zscore.yearly-63b0ee31.js +151 -0
- package/build/esm/HEIGHT_GIRLS.percentile.monthly-220a156b.js +686 -0
- package/build/esm/HEIGHT_GIRLS.percentile.weekly-39ed86d3.js +180 -0
- package/build/esm/HEIGHT_GIRLS.percentile.yearly-f6f9beda.js +235 -0
- package/build/esm/HEIGHT_GIRLS.zscore.monthly-98da19db.js +438 -0
- package/build/esm/HEIGHT_GIRLS.zscore.weekly-b46182b8.js +116 -0
- package/build/esm/HEIGHT_GIRLS.zscore.yearly-e17c3753.js +151 -0
- package/build/esm/Subot-73dd692f.js +212 -0
- package/build/esm/Visible-b2077c55.js +7 -0
- package/build/esm/WEIGHT_BOYS.percentile.monthly-43751c6a.js +686 -0
- package/build/esm/WEIGHT_BOYS.percentile.weekly-65778018.js +180 -0
- package/build/esm/WEIGHT_BOYS.percentile.yearly-68c4f38f.js +136 -0
- package/build/esm/WEIGHT_BOYS.zscore.monthly-847746a9.js +438 -0
- package/build/esm/WEIGHT_BOYS.zscore.weekly-a1f2fe34.js +116 -0
- package/build/esm/WEIGHT_BOYS.zscore.yearly-119adddc.js +88 -0
- package/build/esm/WEIGHT_GIRLS.percentile.monthly-4c5ceb09.js +686 -0
- package/build/esm/WEIGHT_GIRLS.percentile.weekly-ddff2e29.js +180 -0
- package/build/esm/WEIGHT_GIRLS.percentile.yearly-5a344597.js +136 -0
- package/build/esm/WEIGHT_GIRLS.zscore.monthly-a6917c8a.js +438 -0
- package/build/esm/WEIGHT_GIRLS.zscore.weekly-5b74c62e.js +116 -0
- package/build/esm/WEIGHT_GIRLS.zscore.yearly-8507cd6a.js +88 -0
- package/build/esm/adapters.js +26 -1
- package/build/{animation-ea278d9a.js → esm/animation-bdb3ff49.js} +22 -10
- package/build/esm/babyGrowth.js +883 -47
- package/build/esm/cache.js +3 -1
- package/build/esm/care.js +26 -1
- package/build/esm/components.js +88 -1
- package/build/esm/constants-bf79fcda.js +238 -0
- package/build/esm/constants-da0dfbf1.js +932 -0
- package/build/esm/constants.js +4 -1
- package/build/esm/cookieHelper-8ee29f1a.js +39 -0
- package/build/esm/core-23d12cc0.js +47 -0
- package/build/esm/dataTransform-1495a226.js +56 -0
- package/build/esm/ecom.js +737 -1
- package/build/esm/footer.js +31 -1
- package/build/esm/gAssets.js +5 -1
- package/build/esm/getDynamicHealthTool-a43e5baa.js +44 -0
- package/build/esm/getSocialList-961c0579.js +66 -0
- package/build/esm/hooks.js +21 -1
- package/build/esm/i18n-values/en-PH.js +600 -1
- package/build/esm/i18n-values/hi-IN.js +600 -1
- package/build/esm/i18n-values/id-ID.js +600 -1
- package/build/esm/i18n-values/km-KH.js +600 -1
- package/build/esm/i18n-values/ms-MY.js +602 -1
- package/build/esm/i18n-values/my-MM.js +600 -1
- package/build/esm/i18n-values/th-TH.js +600 -1
- package/build/esm/i18n-values/tl-PH.js +600 -1
- package/build/esm/i18n-values/vi-VN.js +607 -1
- package/build/esm/i18n-values/vi-VN_MB.js +607 -1
- package/build/esm/i18n-values/zh-TW.js +600 -1
- package/build/esm/i18n.js +55 -1
- package/build/esm/i18nV2.js +18 -1
- package/build/esm/index-01e95463.js +1936 -0
- package/build/esm/index-0b1da466.js +8 -0
- package/build/esm/index-191e851e.js +33 -0
- package/build/esm/index-2a68f8b2.js +24 -0
- package/build/esm/index-355c0d8a.js +17 -0
- package/build/esm/index-552efa5f.js +8302 -0
- package/build/esm/index-652f4b90.js +116 -0
- package/build/esm/index-70eeb14d.js +24 -0
- package/build/esm/index-852bb5ca.js +905 -0
- package/build/esm/index-9622b7d8.js +23 -0
- package/build/esm/index-9d3bbec1.js +124 -0
- package/build/esm/index-a23ed47f.js +53 -0
- package/build/esm/index-a3806b2a.js +14 -0
- package/build/esm/index-a5ac9bab.js +32 -0
- package/build/esm/index-a8506e24.js +152 -0
- package/build/esm/index-aa97bf26.js +33 -0
- package/build/esm/index-bd89745e.js +151 -0
- package/build/esm/index-bf14ddf1.js +184 -0
- package/build/esm/index-c28b5670.js +3241 -0
- package/build/esm/index-cc7415a3.js +837 -0
- package/build/esm/index-d1d2e96b.js +29 -0
- package/build/esm/index-d57cd8e6.js +615 -0
- package/build/esm/index-e183dc84.js +71 -0
- package/build/esm/index-ebb8bd0e.js +149 -0
- package/build/esm/index-ec1cc2ea.js +52 -0
- package/build/esm/index-f1227130.js +370 -0
- package/build/esm/index-f5f8c84b.js +5 -0
- package/build/esm/index-fb17aef5.js +12 -0
- package/build/esm/index.js +190 -1
- package/build/{index.styled-625bfdc7.js → esm/index.styled-385c2908.js} +17 -5
- package/build/esm/index.styles-31411b37.js +1303 -0
- package/build/esm/isProduction-9081cff7.js +27 -0
- package/build/esm/lead.js +2140 -1
- package/build/esm/localizeNumberFormat-d3e4f990.js +23 -0
- package/build/esm/mantine.js +113 -1
- package/build/esm/misc.js +22 -1
- package/build/esm/navigation.js +51 -1
- package/build/esm/normalizeLink-139f9dfd.js +12 -0
- package/build/esm/number-f0945de9.js +38 -0
- package/build/esm/onboardingV2.js +860 -34
- package/build/esm/paths-4eadd090.js +14 -0
- package/build/esm/pwg.js +208 -7
- package/build/esm/routing-b5780749.js +40 -0
- package/build/esm/subot.js +4553 -134
- package/build/esm/theme-7522724d.js +186 -0
- package/build/esm/together.js +52 -1
- package/build/esm/translationsContext-62ed87ff.js +5 -0
- package/build/esm/tslib.es6-f79929c2.js +38 -0
- package/build/esm/types-0757e895.js +8015 -0
- package/build/esm/types-40018b94.js +3432 -0
- package/build/esm/types-d32df09b.js +21 -0
- package/build/esm/types.js +1 -1
- package/build/esm/unifyEnv.js +42 -1
- package/build/esm/useCategory-e00a99e3.js +292 -0
- package/build/esm/useHealthToolCache-3ab5f2b6.js +17 -0
- package/build/esm/useIsInit-18a571ff.js +11 -0
- package/build/esm/useOutsideClick-8a0c90ee.js +45 -0
- package/build/esm/usePlacesAutocomplete-d9cfd28e.js +80 -0
- package/build/esm/useScrollbarSize-ee04fb14.js +57 -0
- package/build/esm/useTranslations-d53557b4.js +26 -0
- package/build/esm/useUniqueId-fc42d583.js +41 -0
- package/build/esm/utils-2af1561c.js +367 -0
- package/build/esm/utils-5e5da593.js +22 -0
- package/build/esm/utils-72693be6.js +1124 -0
- package/build/esm/utils-f7ab8c32.js +132 -0
- package/build/esm/vaccination.js +868 -40
- package/build/footer.js +39 -1
- package/build/gAssets.js +14 -1
- package/build/getDynamicHealthTool-b66c50c2.js +48 -0
- package/build/getSocialList-0c2f74e9.js +72 -0
- package/build/hooks.js +44 -1
- package/build/i18n-values/en-PH.js +611 -1
- package/build/i18n-values/hi-IN.js +611 -1
- package/build/i18n-values/id-ID.js +611 -1
- package/build/i18n-values/km-KH.js +611 -1
- package/build/i18n-values/ms-MY.js +613 -1
- package/build/i18n-values/my-MM.js +611 -1
- package/build/i18n-values/th-TH.js +611 -1
- package/build/i18n-values/tl-PH.js +611 -1
- package/build/i18n-values/vi-VN.js +618 -1
- package/build/i18n-values/vi-VN_MB.js +618 -1
- package/build/i18n-values/zh-TW.js +611 -1
- package/build/i18n.js +64 -1
- package/build/i18nV2.js +26 -1
- package/build/index-13da9bbd.js +8373 -0
- package/build/index-165c76af.js +30 -0
- package/build/index-2d4e4a2c.js +30 -0
- package/build/index-3540ce3f.js +380 -0
- package/build/index-473e8c3c.js +39 -0
- package/build/index-48b608d8.js +123 -0
- package/build/index-4d393920.js +191 -0
- package/build/index-51cda470.js +39 -0
- package/build/index-5e3660ec.js +14 -0
- package/build/index-69a38997.js +930 -0
- package/build/index-7144e07a.js +38 -0
- package/build/index-72944b3e.js +853 -0
- package/build/index-78055ee8.js +3261 -0
- package/build/index-95dd817d.js +1994 -0
- package/build/index-9625ab6c.js +7 -0
- package/build/index-970717a9.js +156 -0
- package/build/index-97f95550.js +23 -0
- package/build/index-a00da8f4.js +59 -0
- package/build/index-a69b48c2.js +20 -0
- package/build/index-add37f18.js +624 -0
- package/build/index-b0333d49.js +30 -0
- package/build/index-be2d90cb.js +35 -0
- package/build/index-bef45e43.js +55 -0
- package/build/index-c7dc021b.js +157 -0
- package/build/index-cd1375cc.js +18 -0
- package/build/index-d3d46009.js +159 -0
- package/build/index-e592738b.js +77 -0
- package/build/index-ed5f7bf2.js +133 -0
- package/build/index.js +436 -1
- package/build/{esm/index.styled-ac7ac0fc.js → index.styled-97b37364.js} +25 -5
- package/build/index.styles-2434bd17.js +1342 -0
- package/build/isProduction-4f301fa7.js +29 -0
- package/build/lead.js +2168 -1
- package/build/localizeNumberFormat-84d686f7.js +31 -0
- package/build/mantine.js +154 -1
- package/build/misc.js +70 -1
- package/build/navigation.js +61 -1
- package/build/normalizeLink-cc2af392.js +15 -0
- package/build/number-29e6fe47.js +40 -0
- package/build/onboardingV2.js +892 -34
- package/build/paths-da1bc0ab.js +16 -0
- package/build/pwg.js +217 -7
- package/build/routing-b27d22a5.js +46 -0
- package/build/subot.js +4592 -134
- package/build/theme-30426d81.js +189 -0
- package/build/together.js +112 -1
- package/build/translationsContext-7e9f4617.js +7 -0
- package/build/tslib.es6-abc17c4d.js +41 -0
- package/build/types-52edc091.js +24 -0
- package/build/types-72f2c593.js +8084 -0
- package/build/types-b7c4f1cc.js +3446 -0
- package/build/types.js +56 -1
- package/build/unifyEnv.js +46 -1
- package/build/useCategory-c53c40ba.js +299 -0
- package/build/useHealthToolCache-d358ef43.js +19 -0
- package/build/useIsInit-447f599e.js +13 -0
- package/build/useOutsideClick-44f3b64d.js +49 -0
- package/build/usePlacesAutocomplete-f63f4097.js +84 -0
- package/build/useScrollbarSize-3e11e4b6.js +64 -0
- package/build/useTranslations-64bdaca7.js +32 -0
- package/build/useUniqueId-27dee48b.js +44 -0
- package/build/utils-2b307237.js +25 -0
- package/build/utils-386fbc52.js +1171 -0
- package/build/utils-5c554121.js +384 -0
- package/build/utils-d8cae1f5.js +143 -0
- package/build/vaccination.js +891 -40
- package/package.json +4 -5
- package/build/BMI_BOYS.percentile.monthly-8cc875f7.js +0 -1
- package/build/BMI_BOYS.percentile.weekly-b45b05e3.js +0 -1
- package/build/BMI_BOYS.percentile.yearly-e4f1d19c.js +0 -1
- package/build/BMI_BOYS.zscore.monthly-e51737eb.js +0 -1
- package/build/BMI_BOYS.zscore.weekly-4080c0d5.js +0 -1
- package/build/BMI_BOYS.zscore.yearly-703e5747.js +0 -1
- package/build/BMI_GIRLS.percentile.monthly-ac5a001d.js +0 -1
- package/build/BMI_GIRLS.percentile.weekly-6a6f4703.js +0 -1
- package/build/BMI_GIRLS.percentile.yearly-8eb7e8e5.js +0 -1
- package/build/BMI_GIRLS.zscore.monthly-c2763465.js +0 -1
- package/build/BMI_GIRLS.zscore.weekly-7438d8b6.js +0 -1
- package/build/BMI_GIRLS.zscore.yearly-a56ffb0c.js +0 -1
- package/build/ChevronDown-81b50697.js +0 -1
- package/build/HEAD CIRCUM_BOYS.percentile.monthly-cccf9306.js +0 -1
- package/build/HEAD CIRCUM_BOYS.percentile.weekly-85fc8a7e.js +0 -1
- package/build/HEAD CIRCUM_BOYS.percentile.yearly-d22ad913.js +0 -1
- package/build/HEAD CIRCUM_BOYS.zscore.monthly-4db20906.js +0 -1
- package/build/HEAD CIRCUM_BOYS.zscore.weekly-1a4dc975.js +0 -1
- package/build/HEAD CIRCUM_BOYS.zscore.yearly-a2bcdd3a.js +0 -1
- package/build/HEAD CIRCUM_GIRLS.percentile.monthly-13e127f5.js +0 -1
- package/build/HEAD CIRCUM_GIRLS.percentile.weekly-95a7695c.js +0 -1
- package/build/HEAD CIRCUM_GIRLS.percentile.yearly-852dc893.js +0 -1
- package/build/HEAD CIRCUM_GIRLS.zscore.monthly-9865857d.js +0 -1
- package/build/HEAD CIRCUM_GIRLS.zscore.weekly-9bdf4dda.js +0 -1
- package/build/HEAD CIRCUM_GIRLS.zscore.yearly-ac24fb2f.js +0 -1
- package/build/HEIGHT_BOYS.percentile.monthly-691b0568.js +0 -1
- package/build/HEIGHT_BOYS.percentile.weekly-520bd6ac.js +0 -1
- package/build/HEIGHT_BOYS.percentile.yearly-9093722e.js +0 -1
- package/build/HEIGHT_BOYS.zscore.monthly-84db220e.js +0 -1
- package/build/HEIGHT_BOYS.zscore.weekly-ce0c52d1.js +0 -1
- package/build/HEIGHT_BOYS.zscore.yearly-dab7d4e0.js +0 -1
- package/build/HEIGHT_GIRLS.percentile.monthly-7f42e4cd.js +0 -1
- package/build/HEIGHT_GIRLS.percentile.weekly-79ca42e5.js +0 -1
- package/build/HEIGHT_GIRLS.percentile.yearly-4e11d0f8.js +0 -1
- package/build/HEIGHT_GIRLS.zscore.monthly-74be7929.js +0 -1
- package/build/HEIGHT_GIRLS.zscore.weekly-a47a1d90.js +0 -1
- package/build/HEIGHT_GIRLS.zscore.yearly-f4984496.js +0 -1
- package/build/Subot-b0700a95.js +0 -1
- package/build/Visible-0267024a.js +0 -1
- package/build/WEIGHT_BOYS.percentile.monthly-08b33be0.js +0 -1
- package/build/WEIGHT_BOYS.percentile.weekly-65a4fa70.js +0 -1
- package/build/WEIGHT_BOYS.percentile.yearly-f3b46cc5.js +0 -1
- package/build/WEIGHT_BOYS.zscore.monthly-d1191a6a.js +0 -1
- package/build/WEIGHT_BOYS.zscore.weekly-61c60cf9.js +0 -1
- package/build/WEIGHT_BOYS.zscore.yearly-0d89c866.js +0 -1
- package/build/WEIGHT_GIRLS.percentile.monthly-221c1ba4.js +0 -1
- package/build/WEIGHT_GIRLS.percentile.weekly-fbd203a6.js +0 -1
- package/build/WEIGHT_GIRLS.percentile.yearly-36a909c2.js +0 -1
- package/build/WEIGHT_GIRLS.zscore.monthly-09b6ae5b.js +0 -1
- package/build/WEIGHT_GIRLS.zscore.weekly-7ada849a.js +0 -1
- package/build/WEIGHT_GIRLS.zscore.yearly-5115a509.js +0 -1
- package/build/constants-47b9b5ff.js +0 -108
- package/build/constants-8d5fe5b9.js +0 -1
- package/build/cookieHelper-effc4373.js +0 -1
- package/build/core-fc6dbe08.js +0 -1
- package/build/dataTransform-ad721ec5.js +0 -1
- package/build/esm/BMI_BOYS.percentile.monthly-2aa26d5a.js +0 -1
- package/build/esm/BMI_BOYS.percentile.weekly-838f6b27.js +0 -1
- package/build/esm/BMI_BOYS.percentile.yearly-e77609d7.js +0 -1
- package/build/esm/BMI_BOYS.zscore.monthly-2657168d.js +0 -1
- package/build/esm/BMI_BOYS.zscore.weekly-d3c18887.js +0 -1
- package/build/esm/BMI_BOYS.zscore.yearly-3759a54e.js +0 -1
- package/build/esm/BMI_GIRLS.percentile.monthly-f3e35273.js +0 -1
- package/build/esm/BMI_GIRLS.percentile.weekly-7936ee97.js +0 -1
- package/build/esm/BMI_GIRLS.percentile.yearly-757b0bc4.js +0 -1
- package/build/esm/BMI_GIRLS.zscore.monthly-d9760b61.js +0 -1
- package/build/esm/BMI_GIRLS.zscore.weekly-a58e0db1.js +0 -1
- package/build/esm/BMI_GIRLS.zscore.yearly-92413c27.js +0 -1
- package/build/esm/ChevronDown-e7d44dc3.js +0 -1
- package/build/esm/HEAD CIRCUM_BOYS.percentile.monthly-c50f125e.js +0 -1
- package/build/esm/HEAD CIRCUM_BOYS.percentile.weekly-29038598.js +0 -1
- package/build/esm/HEAD CIRCUM_BOYS.percentile.yearly-32c4e2be.js +0 -1
- package/build/esm/HEAD CIRCUM_BOYS.zscore.monthly-cd04e4b1.js +0 -1
- package/build/esm/HEAD CIRCUM_BOYS.zscore.weekly-6b63745c.js +0 -1
- package/build/esm/HEAD CIRCUM_BOYS.zscore.yearly-3a5be78c.js +0 -1
- package/build/esm/HEAD CIRCUM_GIRLS.percentile.monthly-c7996a02.js +0 -1
- package/build/esm/HEAD CIRCUM_GIRLS.percentile.weekly-553c94d5.js +0 -1
- package/build/esm/HEAD CIRCUM_GIRLS.percentile.yearly-97f86688.js +0 -1
- package/build/esm/HEAD CIRCUM_GIRLS.zscore.monthly-a442f7cc.js +0 -1
- package/build/esm/HEAD CIRCUM_GIRLS.zscore.weekly-cdd37afd.js +0 -1
- package/build/esm/HEAD CIRCUM_GIRLS.zscore.yearly-50d9daff.js +0 -1
- package/build/esm/HEIGHT_BOYS.percentile.monthly-53580c1f.js +0 -1
- package/build/esm/HEIGHT_BOYS.percentile.weekly-60514fb8.js +0 -1
- package/build/esm/HEIGHT_BOYS.percentile.yearly-d6b456a7.js +0 -1
- package/build/esm/HEIGHT_BOYS.zscore.monthly-21bd1444.js +0 -1
- package/build/esm/HEIGHT_BOYS.zscore.weekly-2a4e7aa0.js +0 -1
- package/build/esm/HEIGHT_BOYS.zscore.yearly-7f68c522.js +0 -1
- package/build/esm/HEIGHT_GIRLS.percentile.monthly-d5d7448a.js +0 -1
- package/build/esm/HEIGHT_GIRLS.percentile.weekly-c3c18801.js +0 -1
- package/build/esm/HEIGHT_GIRLS.percentile.yearly-3491901c.js +0 -1
- package/build/esm/HEIGHT_GIRLS.zscore.monthly-9f15dd03.js +0 -1
- package/build/esm/HEIGHT_GIRLS.zscore.weekly-81319284.js +0 -1
- package/build/esm/HEIGHT_GIRLS.zscore.yearly-8a7db57c.js +0 -1
- package/build/esm/Subot-fcd7c77c.js +0 -1
- package/build/esm/Visible-66d0e6f3.js +0 -1
- package/build/esm/WEIGHT_BOYS.percentile.monthly-0f5ea175.js +0 -1
- package/build/esm/WEIGHT_BOYS.percentile.weekly-88f50098.js +0 -1
- package/build/esm/WEIGHT_BOYS.percentile.yearly-63383bc3.js +0 -1
- package/build/esm/WEIGHT_BOYS.zscore.monthly-bf93eec1.js +0 -1
- package/build/esm/WEIGHT_BOYS.zscore.weekly-fe0600be.js +0 -1
- package/build/esm/WEIGHT_BOYS.zscore.yearly-4212bebb.js +0 -1
- package/build/esm/WEIGHT_GIRLS.percentile.monthly-6cc8cf8c.js +0 -1
- package/build/esm/WEIGHT_GIRLS.percentile.weekly-05d66e6d.js +0 -1
- package/build/esm/WEIGHT_GIRLS.percentile.yearly-b8c1af06.js +0 -1
- package/build/esm/WEIGHT_GIRLS.zscore.monthly-8c9195d5.js +0 -1
- package/build/esm/WEIGHT_GIRLS.zscore.weekly-4ef9aeee.js +0 -1
- package/build/esm/WEIGHT_GIRLS.zscore.yearly-0ccaeb51.js +0 -1
- package/build/esm/constants-046883ea.js +0 -1
- package/build/esm/constants-1e65de37.js +0 -108
- package/build/esm/cookieHelper-e37e6893.js +0 -1
- package/build/esm/core-7a237cdc.js +0 -1
- package/build/esm/dataTransform-f4476a6b.js +0 -1
- package/build/esm/getDynamicHealthTool-e095ea8b.js +0 -1
- package/build/esm/getSocialList-5f74d2b2.js +0 -1
- package/build/esm/index-006bca17.js +0 -1
- package/build/esm/index-068a9606.js +0 -137
- package/build/esm/index-0d0e5f45.js +0 -1
- package/build/esm/index-1e29d7b0.js +0 -1
- package/build/esm/index-2b572b4f.js +0 -1
- package/build/esm/index-318d4230.js +0 -117
- package/build/esm/index-39174b30.js +0 -1
- package/build/esm/index-3bfcc95c.js +0 -1
- package/build/esm/index-3c612859.js +0 -1
- package/build/esm/index-4004c359.js +0 -113
- package/build/esm/index-41f67971.js +0 -177
- package/build/esm/index-42a8c7e8.js +0 -1430
- package/build/esm/index-461eded2.js +0 -2748
- package/build/esm/index-575f65cb.js +0 -1
- package/build/esm/index-7f4008ff.js +0 -1
- package/build/esm/index-81dbde00.js +0 -375
- package/build/esm/index-99348fe5.js +0 -1
- package/build/esm/index-9b8a2194.js +0 -1
- package/build/esm/index-9d529405.js +0 -1
- package/build/esm/index-a445a873.js +0 -1
- package/build/esm/index-ab99f4fa.js +0 -1
- package/build/esm/index-b7782e6c.js +0 -1
- package/build/esm/index-b7a87c5c.js +0 -50
- package/build/esm/index-c737fbcc.js +0 -1
- package/build/esm/index-dfe2918d.js +0 -1
- package/build/esm/index-e7dea007.js +0 -1
- package/build/esm/index-eab0e39a.js +0 -1
- package/build/esm/index-fa743e14.js +0 -1
- package/build/esm/index.styles-d0b249c6.js +0 -817
- package/build/esm/isProduction-819e0c5c.js +0 -1
- package/build/esm/localizeNumberFormat-87b8adfd.js +0 -1
- package/build/esm/normalizeLink-86ab5a4c.js +0 -1
- package/build/esm/number-087a7e5f.js +0 -1
- package/build/esm/paths-838a5528.js +0 -1
- package/build/esm/routing-c85cbf05.js +0 -1
- package/build/esm/theme-691eca44.js +0 -1
- package/build/esm/translationsContext-f8842fe7.js +0 -1
- package/build/esm/tslib.es6-1ab8a2bb.js +0 -1
- package/build/esm/types-2d76a291.js +0 -3004
- package/build/esm/types-81267cf7.js +0 -1
- package/build/esm/types-e02aa1d1.js +0 -785
- package/build/esm/useCategory-16048c77.js +0 -1
- package/build/esm/useHealthToolCache-b2ecca8b.js +0 -1
- package/build/esm/useIsInit-c9c6a218.js +0 -1
- package/build/esm/useOutsideClick-9787ba70.js +0 -1
- package/build/esm/usePlacesAutocomplete-1966a8e8.js +0 -1
- package/build/esm/useScrollbarSize-2cadb783.js +0 -1
- package/build/esm/useTranslations-06f29a74.js +0 -1
- package/build/esm/useUniqueId-8d28d0f0.js +0 -1
- package/build/esm/utils-21a3e198.js +0 -1
- package/build/esm/utils-581f9d39.js +0 -8
- package/build/esm/utils-8845cf64.js +0 -141
- package/build/esm/utils-9188a853.js +0 -1
- package/build/getDynamicHealthTool-110fd918.js +0 -1
- package/build/getSocialList-eca125e9.js +0 -1
- package/build/index-06e0154a.js +0 -177
- package/build/index-07abd94a.js +0 -1
- package/build/index-0c773078.js +0 -117
- package/build/index-170f5567.js +0 -1
- package/build/index-19ccb0c7.js +0 -1
- package/build/index-219cacd2.js +0 -1
- package/build/index-2c0386df.js +0 -50
- package/build/index-2ce34495.js +0 -1
- package/build/index-3f31aa06.js +0 -1
- package/build/index-686fe563.js +0 -1
- package/build/index-6c8c7fa5.js +0 -1
- package/build/index-76c307b4.js +0 -375
- package/build/index-78e20b2b.js +0 -1
- package/build/index-853a455f.js +0 -1
- package/build/index-9834ba3a.js +0 -1
- package/build/index-9c1259e4.js +0 -1
- package/build/index-9eed92e6.js +0 -1
- package/build/index-a046b313.js +0 -137
- package/build/index-ae78fa34.js +0 -113
- package/build/index-c4552011.js +0 -1
- package/build/index-d0a7d5e2.js +0 -1
- package/build/index-d59720e6.js +0 -1
- package/build/index-de63ce4e.js +0 -1
- package/build/index-e363ea7e.js +0 -1
- package/build/index-e4952f3b.js +0 -2748
- package/build/index-e9919dca.js +0 -1430
- package/build/index-f124e061.js +0 -1
- package/build/index-fc3d21c5.js +0 -1
- package/build/index.styles-e56f16e2.js +0 -817
- package/build/isProduction-b8d43f53.js +0 -1
- package/build/localizeNumberFormat-7b0e4009.js +0 -1
- package/build/normalizeLink-eb3980aa.js +0 -1
- package/build/number-03c2dc35.js +0 -1
- package/build/paths-38b399e5.js +0 -1
- package/build/routing-fa35242c.js +0 -1
- package/build/theme-58404344.js +0 -1
- package/build/translationsContext-6a4e467c.js +0 -1
- package/build/tslib.es6-f82cfdbc.js +0 -1
- package/build/types-006c0884.js +0 -785
- package/build/types-48100068.js +0 -3004
- package/build/types-b4886ab8.js +0 -1
- package/build/useCategory-5efbe937.js +0 -1
- package/build/useHealthToolCache-4085d047.js +0 -1
- package/build/useIsInit-cde99e17.js +0 -1
- package/build/useOutsideClick-8d455bb1.js +0 -1
- package/build/usePlacesAutocomplete-fa0acdc7.js +0 -1
- package/build/useScrollbarSize-3593573d.js +0 -1
- package/build/useTranslations-d91f297f.js +0 -1
- package/build/useUniqueId-76286c45.js +0 -1
- package/build/utils-6c4e6bc4.js +0 -8
- package/build/utils-dd2fab54.js +0 -141
- package/build/utils-e1f42597.js +0 -1
- package/build/utils-fade3897.js +0 -1
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var theme = require('./theme-30426d81.js');
|
|
4
|
+
var utils = require('./utils-d8cae1f5.js');
|
|
5
|
+
var styled = require('styled-components');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
|
|
8
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
9
|
+
|
|
10
|
+
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
11
|
+
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
12
|
+
|
|
13
|
+
const StyledInput = styled__default["default"].div `
|
|
14
|
+
position: relative;
|
|
15
|
+
width: 100%;
|
|
16
|
+
|
|
17
|
+
&[data-has-error] {
|
|
18
|
+
input {
|
|
19
|
+
border-color: ${theme.theme.colors.red700};
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
input {
|
|
24
|
+
width: 100%;
|
|
25
|
+
padding: 12px 16px;
|
|
26
|
+
border: solid 1px ${theme.theme.colors.gray200};
|
|
27
|
+
border-radius: ${theme.theme.borderRadius};
|
|
28
|
+
|
|
29
|
+
&:active,
|
|
30
|
+
&:focus,
|
|
31
|
+
&.focused {
|
|
32
|
+
border-color: ${(props) => props.color};
|
|
33
|
+
box-shadow: 0px 0px 2px 2px ${(props) => props.shadowColor};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:disabled {
|
|
37
|
+
background-color: ${theme.theme.colors.gray100};
|
|
38
|
+
cursor: not-allowed;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&[data-has-action-icon] {
|
|
43
|
+
input {
|
|
44
|
+
padding: 12px 48px 12px 16px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
&[data-has-display-icon] {
|
|
48
|
+
input {
|
|
49
|
+
padding: 12px 16px 12px 48px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&[data-has-action-icon][data-has-display-icon] {
|
|
54
|
+
input {
|
|
55
|
+
padding: 12px 48px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&[data-size='lg'] {
|
|
60
|
+
input {
|
|
61
|
+
font-size: 16px;
|
|
62
|
+
font-weight: ${theme.theme.sizes.fwRegular};
|
|
63
|
+
${utils.MediaQueries.mbDown} {
|
|
64
|
+
font-size: 22px;
|
|
65
|
+
line-height: 1.2;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
${utils.MediaQueries.mbUp} {
|
|
69
|
+
font-size: 26px;
|
|
70
|
+
line-height: 1.2;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
&[data-size='md'] {
|
|
75
|
+
input {
|
|
76
|
+
font-weight: ${theme.theme.sizes.fwRegular};
|
|
77
|
+
line-height: 22px;
|
|
78
|
+
${utils.MediaQueries.mbDown} {
|
|
79
|
+
font-size: 14px;
|
|
80
|
+
line-height: 1.2;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
${utils.MediaQueries.mbUp} {
|
|
84
|
+
font-size: 16px;
|
|
85
|
+
line-height: 1.2;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
&[data-size='sm'] {
|
|
90
|
+
input {
|
|
91
|
+
font-weight: ${theme.theme.sizes.fwRegular};
|
|
92
|
+
line-height: 20px;
|
|
93
|
+
${utils.MediaQueries.mbDown} {
|
|
94
|
+
font-size: 13px;
|
|
95
|
+
line-height: 1.5;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
${utils.MediaQueries.mbUp} {
|
|
99
|
+
font-size: 13px;
|
|
100
|
+
line-height: 1.5;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
`;
|
|
105
|
+
const StyledErrorLabel = styled__default["default"].label `
|
|
106
|
+
color: ${theme.theme.colors.red700};
|
|
107
|
+
font-weight: ${theme.theme.sizes.fwRegular};
|
|
108
|
+
`;
|
|
109
|
+
const StyledActionIcon = styled__default["default"].div `
|
|
110
|
+
position: absolute;
|
|
111
|
+
top: 50%;
|
|
112
|
+
right: 16px;
|
|
113
|
+
cursor: pointer;
|
|
114
|
+
transform: translateY(-50%);
|
|
115
|
+
`;
|
|
116
|
+
const StyledDisplayIcon = styled__default["default"].div `
|
|
117
|
+
position: absolute;
|
|
118
|
+
top: 50%;
|
|
119
|
+
left: 16px;
|
|
120
|
+
display: inline-flex;
|
|
121
|
+
cursor: default;
|
|
122
|
+
transform: translateY(-50%);
|
|
123
|
+
`;
|
|
124
|
+
|
|
125
|
+
var styles = {"label":"DjBFAbd"};
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @deprecated will removed soon
|
|
129
|
+
*/
|
|
130
|
+
const Label = ({ children, className, style, htmlFor, size }) => {
|
|
131
|
+
return (React__default["default"].createElement("label", { "data-size": size, className: `${styles.label} ${className || ''}`, style: style, htmlFor: htmlFor }, children));
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
const basePath = '/care';
|
|
135
|
+
const LOCALE_COUNTRY = {
|
|
136
|
+
'vi-VN': { id: 1, name: 'Vietnam' },
|
|
137
|
+
'id-ID': { id: 2, name: 'Indonesia' },
|
|
138
|
+
'ms-MY': { id: 3, name: 'Malaysia' },
|
|
139
|
+
'km-KH': { id: 4, name: 'Cambodia' },
|
|
140
|
+
'en-PH': { id: 5, name: 'Philippines' },
|
|
141
|
+
'th-TH': { id: 6, name: 'Thai Lan' },
|
|
142
|
+
'my-MM': { id: 7, name: 'Myanmar' },
|
|
143
|
+
'zh-TW': { id: 8, name: 'Taiwan' },
|
|
144
|
+
'hi-IN': { id: 9, name: 'India' },
|
|
145
|
+
};
|
|
146
|
+
const LOCALIZED_SLUGS = {
|
|
147
|
+
'en-PH': {
|
|
148
|
+
ALL: 'all',
|
|
149
|
+
HOSPITAL: 'hospital',
|
|
150
|
+
SERVICE: 'service',
|
|
151
|
+
DOCTOR: 'doctor',
|
|
152
|
+
SEARCH: 'search',
|
|
153
|
+
SPECIALTIES: 'specialties',
|
|
154
|
+
CURRENT: 'current-location',
|
|
155
|
+
},
|
|
156
|
+
'tl-PH': {
|
|
157
|
+
ALL: 'all',
|
|
158
|
+
HOSPITAL: 'hospital',
|
|
159
|
+
SERVICE: 'service',
|
|
160
|
+
DOCTOR: 'doctor',
|
|
161
|
+
SEARCH: 'search',
|
|
162
|
+
SPECIALTIES: 'specialties',
|
|
163
|
+
CURRENT: 'current-location',
|
|
164
|
+
},
|
|
165
|
+
'zh-TW': {
|
|
166
|
+
ALL: 'all',
|
|
167
|
+
HOSPITAL: 'hospital',
|
|
168
|
+
SERVICE: 'service',
|
|
169
|
+
DOCTOR: 'doctor',
|
|
170
|
+
SEARCH: 'search',
|
|
171
|
+
SPECIALTIES: 'specialties',
|
|
172
|
+
CURRENT: 'current-location',
|
|
173
|
+
},
|
|
174
|
+
'vi-VN': {
|
|
175
|
+
ALL: 'tat-ca',
|
|
176
|
+
HOSPITAL: 'benh-vien',
|
|
177
|
+
SERVICE: 'dich-vu',
|
|
178
|
+
DOCTOR: 'bac-si',
|
|
179
|
+
SEARCH: 'tim-kiem',
|
|
180
|
+
SPECIALTIES: 'chuyen-khoa',
|
|
181
|
+
CURRENT: 'vi-tri-hien-tai',
|
|
182
|
+
},
|
|
183
|
+
'id-ID': {
|
|
184
|
+
ALL: 'semua',
|
|
185
|
+
HOSPITAL: 'rumah-sakit',
|
|
186
|
+
SERVICE: 'layanan',
|
|
187
|
+
DOCTOR: 'dokter',
|
|
188
|
+
SEARCH: 'cari',
|
|
189
|
+
SPECIALTIES: 'spesialisasi',
|
|
190
|
+
CURRENT: 'posisi-saya-saat-ini',
|
|
191
|
+
},
|
|
192
|
+
'ms-MY': {
|
|
193
|
+
ALL: 'all',
|
|
194
|
+
HOSPITAL: 'hospital',
|
|
195
|
+
SERVICE: 'service',
|
|
196
|
+
DOCTOR: 'doctor',
|
|
197
|
+
SEARCH: 'search',
|
|
198
|
+
SPECIALTIES: 'specialties',
|
|
199
|
+
CURRENT: 'current-location',
|
|
200
|
+
},
|
|
201
|
+
};
|
|
202
|
+
const ID_OPTION_CURRENT_LOCATION = -1;
|
|
203
|
+
const ID_OPTION_ALL_LOCATION = -2;
|
|
204
|
+
exports.CLIENT_KEY = void 0;
|
|
205
|
+
(function (CLIENT_KEY) {
|
|
206
|
+
CLIENT_KEY["GSK"] = "gsk";
|
|
207
|
+
CLIENT_KEY["ROCHE"] = "roche";
|
|
208
|
+
CLIENT_KEY["MSD"] = "msd";
|
|
209
|
+
})(exports.CLIENT_KEY || (exports.CLIENT_KEY = {}));
|
|
210
|
+
var SLUG_CLIENT_KEY;
|
|
211
|
+
(function (SLUG_CLIENT_KEY) {
|
|
212
|
+
SLUG_CLIENT_KEY["GSK"] = "gsk";
|
|
213
|
+
SLUG_CLIENT_KEY["ROCHE"] = "roche";
|
|
214
|
+
SLUG_CLIENT_KEY["MSD"] = "spesialis";
|
|
215
|
+
})(SLUG_CLIENT_KEY || (SLUG_CLIENT_KEY = {}));
|
|
216
|
+
const SLUG_VACIN_ID = 'vaksin-rotavirus';
|
|
217
|
+
const MAPPING_CLIENT_WITH_SLUG = {
|
|
218
|
+
'vi-VN': {
|
|
219
|
+
gsk: SLUG_CLIENT_KEY.GSK,
|
|
220
|
+
msd: SLUG_CLIENT_KEY.MSD,
|
|
221
|
+
},
|
|
222
|
+
'id-ID': {
|
|
223
|
+
gsk: SLUG_CLIENT_KEY.GSK,
|
|
224
|
+
msd: SLUG_CLIENT_KEY.MSD,
|
|
225
|
+
},
|
|
226
|
+
'en-PH': {},
|
|
227
|
+
'zh-TW': {},
|
|
228
|
+
'ms-MY': {},
|
|
229
|
+
'tl-PH': {},
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
var constants = /*#__PURE__*/Object.freeze({
|
|
233
|
+
__proto__: null,
|
|
234
|
+
basePath: basePath,
|
|
235
|
+
LOCALE_COUNTRY: LOCALE_COUNTRY,
|
|
236
|
+
LOCALIZED_SLUGS: LOCALIZED_SLUGS,
|
|
237
|
+
ID_OPTION_CURRENT_LOCATION: ID_OPTION_CURRENT_LOCATION,
|
|
238
|
+
ID_OPTION_ALL_LOCATION: ID_OPTION_ALL_LOCATION,
|
|
239
|
+
get CLIENT_KEY () { return exports.CLIENT_KEY; },
|
|
240
|
+
get SLUG_CLIENT_KEY () { return SLUG_CLIENT_KEY; },
|
|
241
|
+
SLUG_VACIN_ID: SLUG_VACIN_ID,
|
|
242
|
+
MAPPING_CLIENT_WITH_SLUG: MAPPING_CLIENT_WITH_SLUG
|
|
243
|
+
});
|
|
244
|
+
|
|
245
|
+
exports.ID_OPTION_ALL_LOCATION = ID_OPTION_ALL_LOCATION;
|
|
246
|
+
exports.ID_OPTION_CURRENT_LOCATION = ID_OPTION_CURRENT_LOCATION;
|
|
247
|
+
exports.LOCALIZED_SLUGS = LOCALIZED_SLUGS;
|
|
248
|
+
exports.Label = Label;
|
|
249
|
+
exports.MAPPING_CLIENT_WITH_SLUG = MAPPING_CLIENT_WITH_SLUG;
|
|
250
|
+
exports.SLUG_VACIN_ID = SLUG_VACIN_ID;
|
|
251
|
+
exports.StyledActionIcon = StyledActionIcon;
|
|
252
|
+
exports.StyledDisplayIcon = StyledDisplayIcon;
|
|
253
|
+
exports.StyledErrorLabel = StyledErrorLabel;
|
|
254
|
+
exports.StyledInput = StyledInput;
|
|
255
|
+
exports.constants = constants;
|
package/build/constants.js
CHANGED
|
@@ -1 +1,43 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var index = require('./index-69a38997.js');
|
|
6
|
+
var isProduction = require('./isProduction-4f301fa7.js');
|
|
7
|
+
require('date-fns/locale');
|
|
8
|
+
require('./Subot-cc39f8f4.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.API_DATE_FORMAT = index.API_DATE_FORMAT;
|
|
13
|
+
exports.BEARER_TOKEN_COOKIE = index.BEARER_TOKEN_COOKIE;
|
|
14
|
+
exports.CARE_BOOKING_LOCALES = index.CARE_BOOKING_LOCALES;
|
|
15
|
+
exports.CARE_LOCALES = index.CARE_LOCALES;
|
|
16
|
+
exports.CDN_ADDRESS = index.CDN_ADDRESS;
|
|
17
|
+
exports.DATE_FNS_DATE_FORMAT = index.DATE_FNS_DATE_FORMAT;
|
|
18
|
+
exports.DATE_FNS_LOCALE = index.DATE_FNS_LOCALE;
|
|
19
|
+
exports.ECOM_LOCALES = index.ECOM_LOCALES;
|
|
20
|
+
exports.FAVICONS = index.FAVICONS;
|
|
21
|
+
exports.GA_TOKEN_COOKIE = index.GA_TOKEN_COOKIE;
|
|
22
|
+
exports.ISO_FORMAT = index.ISO_FORMAT;
|
|
23
|
+
exports.LOCALE_SPECS = index.LOCALE_SPECS;
|
|
24
|
+
exports.MAP_DOMAIN_BY_LOCALE = index.MAP_DOMAIN_BY_LOCALE;
|
|
25
|
+
Object.defineProperty(exports, 'QUERY_HEALTH_TOOL', {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return index.QUERY_HEALTH_TOOL; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, 'RISK_SCREENER_NAME', {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return index.RISK_SCREENER_NAME; }
|
|
32
|
+
});
|
|
33
|
+
exports.RISK_SCREENER_SLUG = index.RISK_SCREENER_SLUG;
|
|
34
|
+
exports.SSO_URL = index.SSO_URL;
|
|
35
|
+
exports.STATIC_PAGES = index.STATIC_PAGES;
|
|
36
|
+
exports.TOGETHER_LOCALES = index.TOGETHER_LOCALES;
|
|
37
|
+
exports.UP_BASEPATH = index.UP_BASEPATH;
|
|
38
|
+
exports.USER_GEOLOCATION_COORDINATES_COOKIE = index.USER_GEOLOCATION_COORDINATES_COOKIE;
|
|
39
|
+
exports.basePath = index.basePath;
|
|
40
|
+
exports.domainLocales = index.domainLocales;
|
|
41
|
+
exports.siteHost = index.siteHost;
|
|
42
|
+
exports.siteOptions = index.siteOptions;
|
|
43
|
+
exports.isProduction = isProduction.isProduction;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const getCookie = (name) => {
|
|
4
|
+
if (typeof window === 'undefined')
|
|
5
|
+
return;
|
|
6
|
+
const value = `; ${document.cookie}`;
|
|
7
|
+
const parts = value.split(`; ${name}=`);
|
|
8
|
+
if (parts.length === 2)
|
|
9
|
+
return parts.pop().split(';').shift();
|
|
10
|
+
};
|
|
11
|
+
const setCookie = (name, value, opts) => {
|
|
12
|
+
if (typeof window === 'undefined')
|
|
13
|
+
return;
|
|
14
|
+
let expires = '';
|
|
15
|
+
const { days, minutes, domain, path } = opts || {};
|
|
16
|
+
if (days || minutes) {
|
|
17
|
+
const date = new Date();
|
|
18
|
+
if (days) {
|
|
19
|
+
date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
date.setTime(date.getTime() + minutes * 60 * 1000);
|
|
23
|
+
}
|
|
24
|
+
expires = '; expires=' + date.toUTCString();
|
|
25
|
+
}
|
|
26
|
+
document.cookie =
|
|
27
|
+
name +
|
|
28
|
+
'=' +
|
|
29
|
+
(value || '') +
|
|
30
|
+
expires +
|
|
31
|
+
'; path=' +
|
|
32
|
+
(path || '/') +
|
|
33
|
+
(domain ? '; domain=' + domain : '');
|
|
34
|
+
};
|
|
35
|
+
const deleteCookie = (name) => {
|
|
36
|
+
if (typeof window === 'undefined')
|
|
37
|
+
return;
|
|
38
|
+
document.cookie = name + '=; Max-Age=-99999999; path=/';
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
exports.deleteCookie = deleteCookie;
|
|
42
|
+
exports.getCookie = getCookie;
|
|
43
|
+
exports.setCookie = setCookie;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-abc17c4d.js');
|
|
4
|
+
var isProduction = require('./isProduction-4f301fa7.js');
|
|
5
|
+
|
|
6
|
+
const ServerCache = {};
|
|
7
|
+
const getCachedItem = (key) => {
|
|
8
|
+
if (typeof window !== 'undefined') {
|
|
9
|
+
let res;
|
|
10
|
+
try {
|
|
11
|
+
res = JSON.parse(localStorage.getItem((!isProduction.isProduction ? 'staging_' : '') + 'hhg-cache-' + key) || '{}');
|
|
12
|
+
}
|
|
13
|
+
catch (_a) { }
|
|
14
|
+
return res || {};
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
return ServerCache[key];
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
const setCachedItem = (key, value) => {
|
|
21
|
+
try {
|
|
22
|
+
if (typeof window !== 'undefined') {
|
|
23
|
+
localStorage.setItem((!isProduction.isProduction ? 'staging_' : '') + 'hhg-cache-' + key, JSON.stringify({ data: value, time: Date.now() }));
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
ServerCache[key] = { data: value, time: Date.now() };
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
catch (_a) { }
|
|
30
|
+
};
|
|
31
|
+
const getDataWithCache = (key, dataGetter, validator, cacheTime = 1000 * 60 * 15) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
32
|
+
const persistData = getCachedItem(key);
|
|
33
|
+
if (persistData &&
|
|
34
|
+
persistData.data &&
|
|
35
|
+
persistData.time &&
|
|
36
|
+
Date.now() - persistData.time < cacheTime) {
|
|
37
|
+
return persistData.data;
|
|
38
|
+
}
|
|
39
|
+
else if (dataGetter) {
|
|
40
|
+
const data = yield dataGetter();
|
|
41
|
+
if (!validator || validator(data)) {
|
|
42
|
+
setCachedItem(key, data);
|
|
43
|
+
}
|
|
44
|
+
return data;
|
|
45
|
+
}
|
|
46
|
+
return null;
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
exports.getCachedItem = getCachedItem;
|
|
50
|
+
exports.getDataWithCache = getDataWithCache;
|
|
51
|
+
exports.setCachedItem = setCachedItem;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var throttle = require('lodash/throttle');
|
|
5
|
+
var utils = require('./utils-d8cae1f5.js');
|
|
6
|
+
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
|
+
|
|
9
|
+
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
10
|
+
var throttle__default = /*#__PURE__*/_interopDefault(throttle);
|
|
11
|
+
|
|
12
|
+
const ScreenSizeContext = React.createContext({
|
|
13
|
+
isInit: true,
|
|
14
|
+
});
|
|
15
|
+
const getWidthValue = (manualWidth) => typeof manualWidth === 'number'
|
|
16
|
+
? manualWidth
|
|
17
|
+
: (typeof window !== 'undefined' && window.innerWidth) || 0;
|
|
18
|
+
// get from width passed in, else get from window.innerWidth
|
|
19
|
+
const getWindowSizeGroups = (manualWidth) => {
|
|
20
|
+
const width = getWidthValue(manualWidth);
|
|
21
|
+
return {
|
|
22
|
+
smallMobile: width < utils.Breakpoints.BREAK_POINT_SMALL_MOBILE,
|
|
23
|
+
mobile: width >= utils.Breakpoints.BREAK_POINT_SMALL_MOBILE &&
|
|
24
|
+
width < utils.Breakpoints.BREAK_POINT_MOBILE,
|
|
25
|
+
tablet: width >= utils.Breakpoints.BREAK_POINT_MOBILE &&
|
|
26
|
+
width < utils.Breakpoints.BREAK_POINT_TABLET,
|
|
27
|
+
pc: width >= utils.Breakpoints.BREAK_POINT_TABLET &&
|
|
28
|
+
width < utils.Breakpoints.BREAK_POINT_PC,
|
|
29
|
+
xl: width >= utils.Breakpoints.BREAK_POINT_PC,
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
const ScreenSizeContextProvider = ({ children, }) => {
|
|
33
|
+
const [screenSize, setScreenSize] = React.useState(() => ({
|
|
34
|
+
isInit: true,
|
|
35
|
+
}));
|
|
36
|
+
React.useEffect(() => {
|
|
37
|
+
const handleResize = throttle__default["default"](() => {
|
|
38
|
+
setScreenSize({
|
|
39
|
+
width: window.innerWidth,
|
|
40
|
+
height: window.innerHeight,
|
|
41
|
+
isInit: false,
|
|
42
|
+
});
|
|
43
|
+
}, 200);
|
|
44
|
+
window.addEventListener('resize', handleResize, { passive: true });
|
|
45
|
+
return () => {
|
|
46
|
+
window.removeEventListener('resize', handleResize);
|
|
47
|
+
};
|
|
48
|
+
}, []);
|
|
49
|
+
const sizeGroups = React.useMemo(() => getWindowSizeGroups(screenSize.width), [screenSize.width]);
|
|
50
|
+
return (React__default["default"].createElement(ScreenSizeContext.Provider, { value: Object.assign(Object.assign({}, screenSize), { sizeGroups }) }, children));
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
const formatPill = (data) => {
|
|
54
|
+
if (!data)
|
|
55
|
+
return {};
|
|
56
|
+
return {
|
|
57
|
+
id: data.id,
|
|
58
|
+
name: data.name || '',
|
|
59
|
+
icon: data.fruit_icon || '',
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
exports.ScreenSizeContext = ScreenSizeContext;
|
|
64
|
+
exports.ScreenSizeContextProvider = ScreenSizeContextProvider;
|
|
65
|
+
exports.formatPill = formatPill;
|
|
66
|
+
exports.getWindowSizeGroups = getWindowSizeGroups;
|