@hhgtech/hhg-components 1.29.79 → 1.29.81
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/{index-aefa01a7.js → WhatsApp-82018096.js} +24 -276
- package/build/adapters.js +17 -16
- package/build/atoms.js +100 -0
- package/build/babyGrowth.js +162 -164
- package/build/cache.js +3 -3
- package/build/care.js +18 -18
- package/build/components.js +179 -163
- package/build/{constants-94957c92.js → constants-3a475a22.js} +2 -2
- package/build/constants-513a9a41.js +318 -0
- package/build/{index-6036e2a0.js → constants-936f45e9.js} +0 -136
- package/build/constants-dd16fb4d.js +425 -0
- package/build/constants.js +3 -3
- package/build/{core-279a7b4f.js → core-9e44ee99.js} +2 -2
- package/build/{index-5033f644.js → dataTransform-6b4d7a4e.js} +85 -134
- package/build/{dataTransform-1c96db25.js → dataTransform-c1701cbd.js} +1 -1
- package/build/defaultClassWrapper-e87ca8ef.js +21 -0
- package/build/ecom.js +5 -5
- package/build/esm/WhatsApp-7d3732e2.js +46 -0
- package/build/esm/adapters.js +17 -16
- package/build/esm/atoms.js +57 -0
- package/build/esm/babyGrowth.js +87 -89
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +17 -17
- package/build/esm/components.js +91 -75
- package/build/esm/constants-6bdb97a8.js +417 -0
- package/build/esm/constants-71d9f33b.js +307 -0
- package/build/esm/{constants-78d473b4.js → constants-ebf80e5f.js} +2 -2
- package/build/esm/{index-122dd8ee.js → constants-f77fc231.js} +1 -127
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-2715a7c7.js → core-c72e0ff5.js} +2 -2
- package/build/esm/{index-f672661d.js → dataTransform-3e8e25ba.js} +87 -135
- package/build/esm/{dataTransform-24bd11e8.js → dataTransform-6c032113.js} +1 -1
- package/build/esm/defaultClassWrapper-31caf23b.js +15 -0
- package/build/esm/ecom.js +5 -5
- package/build/esm/fixedBottomAdBlock-13ed4a34.js +3474 -0
- package/build/esm/footer.js +18 -18
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-d805169a.js → getDynamicHealthTool-7681e43a.js} +4 -4
- package/build/esm/{getSocialList-c8edb201.js → getSocialList-e8142513.js} +5 -6
- package/build/esm/healthToolsForm.js +40 -0
- package/build/esm/healthToolsForms.d.ts +7 -0
- 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-16514f4d.js +156 -0
- package/build/esm/{index-2a4e676a.js → index-1da2ca0b.js} +2 -2
- package/build/esm/{utils-45e55363.js → index-1ecbcf21.js} +71 -105
- package/build/esm/{index-e2d856fc.js → index-21eac858.js} +1043 -1232
- package/build/esm/{index-c5b3a3ba.js → index-2774583d.js} +35 -176
- package/build/esm/index-29d04985.js +14 -0
- package/build/esm/index-2b9213cf.js +195 -0
- package/build/esm/index-3078acec.js +275 -0
- package/build/esm/index-376bee14.js +847 -0
- package/build/esm/index-38f50764.js +557 -0
- package/build/esm/index-42ad7763.js +95 -0
- package/build/esm/{index-47a90477.js → index-598ab51b.js} +5 -5
- package/build/esm/{index-ecb46439.js → index-69248434.js} +33 -5
- package/build/esm/index-6ac73f00.js +1114 -0
- package/build/esm/index-703205e3.js +54 -0
- package/build/esm/{index-7c6316a6.js → index-73301602.js} +2 -2
- package/build/esm/index-76d20d3f.js +100 -0
- package/build/esm/{index-ec38e886.js → index-780a08de.js} +2 -2
- package/build/esm/{index-92fd8661.js → index-78255d6c.js} +2 -2
- package/build/esm/{index-9b3bf9da.js → index-7cbe2a10.js} +12 -11
- package/build/esm/{index-5265867b.js → index-7e756cb8.js} +11 -10
- package/build/esm/{index.styled-eb1001c3.js → index-87a2ea8c.js} +21 -3
- package/build/esm/index-88ad2ca3.js +1681 -0
- package/build/esm/index-8952ceac.js +202 -0
- package/build/esm/index-996f7caf.js +148 -0
- package/build/esm/{index-272d3d01.js → index-9f1899f2.js} +4 -4
- package/build/esm/{index-63be4c47.js → index-b1bb27aa.js} +134 -62
- package/build/esm/{index-ef96fd13.js → index-bef3c9bd.js} +3 -3
- package/build/esm/{index-670d21ca.js → index-c1af3a8e.js} +13 -12
- package/build/esm/{index-b2eed677.js → index-c200bff6.js} +2 -2
- package/build/esm/{index-0de64a0f.js → index-cb4afb33.js} +6 -6
- package/build/esm/{index-741ce3ab.js → index-cdac57da.js} +1 -1
- package/build/esm/{index-49d819b7.js → index-cf6beac8.js} +2 -13
- package/build/esm/{index-ad5c69c9.js → index-d218b94e.js} +2 -2
- package/build/esm/index-d6201fa4.js +42 -0
- package/build/esm/index-e104ad21.js +335 -0
- package/build/esm/index-e26514ee.js +262 -0
- package/build/esm/index-f27edf45.js +130 -0
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +89 -73
- package/build/esm/lead.js +23 -33
- package/build/esm/logoIcon-d93bc56e.js +104 -0
- package/build/esm/mantine.js +22 -20
- package/build/esm/misc.js +21 -21
- package/build/esm/molecules.js +88 -0
- package/build/esm/navigation.js +37 -37
- package/build/esm/onboardingV2.js +26 -35
- package/build/esm/organisms.js +57 -0
- package/build/esm/pwg.js +19 -19
- package/build/esm/{routing-e7ff0e08.js → routing-bebdc8b7.js} +2 -2
- package/build/esm/subot.js +31 -27
- package/build/esm/surveyOrPremiumBanner.js +45 -0
- package/build/esm/surveyQuestionCard.js +13 -0
- package/build/esm/surveyThankyouCard-bf6080eb.js +446 -0
- package/build/esm/together.js +35 -37
- package/build/esm/{types-37f2c5d4.js → types-2580132c.js} +28 -30
- package/build/esm/{types-ce933060.js → types-be952df2.js} +13 -13
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-8e1387db.js → useCategory-8f109eb7.js} +5 -5
- package/build/esm/{useHealthToolCache-28115f15.js → useHealthToolCache-d97dfa00.js} +2 -2
- package/build/esm/{useMantineLocale-bcfdeb0c.js → useMantineLocale-4fb67342.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-837f491d.js → usePlacesAutocomplete-fe2e4cbe.js} +1 -1
- package/build/esm/{useTranslations-b8c49c9b.js → useTranslations-fbf6a6ab.js} +1 -1
- package/build/esm/{utils-86ef2283.js → utils-cef111b6.js} +1 -1
- package/build/esm/{defaultClassWrapper-fcdfc7a3.js → utils-d5a0b58f.js} +60 -408
- package/build/esm/vaccination.js +18 -29
- package/build/fixedBottomAdBlock-0d4379d1.js +3521 -0
- package/build/footer.js +18 -18
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-27b332df.js → getDynamicHealthTool-2a92e1a5.js} +4 -4
- package/build/{getSocialList-d16604ba.js → getSocialList-97e7bcc1.js} +8 -9
- package/build/healthToolsForm.js +54 -0
- package/build/healthToolsForms.d.ts +7 -0
- package/build/hooks.js +17 -17
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/index-058b3c0f.js +1127 -0
- package/build/{index-e914bc7c.js → index-05f106c2.js} +1050 -1240
- package/build/index-06fa8444.js +102 -0
- package/build/{index-e932125b.js → index-1efa7d84.js} +2 -2
- package/build/index-247a9eb2.js +1693 -0
- package/build/{index-4f5ce9db.js → index-264eeddd.js} +2 -2
- package/build/index-3d0d22b3.js +565 -0
- package/build/index-3dcb9bc6.js +61 -0
- package/build/{index-aff82754.js → index-4af08ec2.js} +2 -2
- package/build/index-6acb08c0.js +343 -0
- package/build/{index-1b7f73fa.js → index-6bc3f8c3.js} +5 -5
- package/build/{index-a903fdaa.js → index-6c27b627.js} +58 -201
- package/build/index-73cde644.js +156 -0
- package/build/{index-65765b10.js → index-77a2b9ee.js} +1 -1
- package/build/{index-dbaa00eb.js → index-7c1dc717.js} +12 -11
- package/build/index-7da7b531.js +107 -0
- package/build/{index-8c04d412.js → index-838b0f95.js} +6 -6
- package/build/index-a7de42d1.js +202 -0
- package/build/{index-517f6538.js → index-a86ea1b6.js} +2 -2
- package/build/index-aa818139.js +49 -0
- package/build/{index-4cd9cc62.js → index-b773bc3d.js} +4 -4
- package/build/index-bef2bc73.js +136 -0
- package/build/{utils-120200ad.js → index-c225ef22.js} +76 -120
- package/build/{index-42621fec.js → index-c2900d8c.js} +2 -2
- package/build/index-cb0544e5.js +866 -0
- package/build/{index-5aac5fb6.js → index-d34cd464.js} +2 -2
- package/build/{index-4026b8c5.js → index-d5b4089d.js} +141 -68
- package/build/index-dba2e361.js +20 -0
- package/build/{index-586f0a4f.js → index-dcbd8bf3.js} +37 -9
- package/build/index-dd1392e3.js +167 -0
- package/build/{index-875d81d3.js → index-def9867a.js} +11 -10
- package/build/index-e0bf03ac.js +277 -0
- package/build/index-ee964d3c.js +209 -0
- package/build/index-f10efb61.js +270 -0
- package/build/{index-701c74a1.js → index-f1f4fbb9.js} +13 -12
- package/build/{index-27c71242.js → index-f28c47ce.js} +1 -13
- package/build/{index-e39f5b25.js → index-f6575703.js} +2 -2
- package/build/{index.styled-8c14cf6c.js → index-fe7345fa.js} +22 -4
- package/build/index.css +1 -1
- package/build/index.js +190 -174
- package/build/lead.js +29 -39
- package/build/logoIcon-ee9a5501.js +110 -0
- package/build/mantine.js +24 -23
- package/build/misc.js +21 -21
- package/build/molecules.js +149 -0
- package/build/navigation.js +37 -37
- package/build/onboardingV2.js +45 -54
- package/build/organisms.js +74 -0
- package/build/pwg.js +19 -19
- package/build/{routing-40d4f591.js → routing-f6d54205.js} +2 -2
- package/build/subot.js +113 -109
- package/build/surveyOrPremiumBanner.js +53 -0
- package/build/surveyQuestionCard.js +22 -0
- package/build/surveyThankyouCard-ead6b355.js +454 -0
- package/build/together.js +41 -43
- package/build/{types-692f1edc.js → types-4ba4268f.js} +49 -49
- package/build/{types-ade68559.js → types-6c5643a2.js} +203 -205
- package/build/types.js +1 -1
- package/build/{useCategory-bbe47716.js → useCategory-e2c91f59.js} +5 -5
- package/build/{useHealthToolCache-80cb8990.js → useHealthToolCache-2a53367b.js} +2 -2
- package/build/{useMantineLocale-97b962eb.js → useMantineLocale-a4f0c61d.js} +3 -3
- package/build/{usePlacesAutocomplete-99a452c0.js → usePlacesAutocomplete-c76d0caf.js} +1 -1
- package/build/{useTranslations-76f64595.js → useTranslations-200168a3.js} +1 -1
- package/build/{defaultClassWrapper-feaae206.js → utils-95d9832e.js} +68 -427
- package/build/{utils-dc4471cf.js → utils-af695515.js} +1 -1
- package/build/vaccination.js +58 -69
- package/package.json +1 -1
- package/build/Instagram-5735e971.js +0 -32
- package/build/esm/Instagram-98c713bc.js +0 -26
- package/build/esm/index-18a80466.js +0 -33
- package/build/esm/index-1f6890ad.js +0 -1086
- package/build/esm/index-40fc06d9.js +0 -298
- package/build/esm/index-47d01c08.js +0 -23
- package/build/esm/index-687f9ee4.js +0 -71
- package/build/esm/index-aeb4ceda.js +0 -7245
- package/build/esm/index.styles-bff4ac47.js +0 -1322
- package/build/index-561d71d9.js +0 -7324
- package/build/index-5ff91adf.js +0 -39
- package/build/index-74b64958.js +0 -77
- package/build/index-84f7ce80.js +0 -30
- package/build/index-c9e324de.js +0 -1100
- package/build/index.styles-61201019.js +0 -1361
- /package/build/{BMI_BOYS.percentile.monthly-b2166d34.js → BMI_BOYS.percentile.monthly-71fb1c9f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-8b80b329.js → BMI_BOYS.percentile.weekly-b2b344a7.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-233e699b.js → BMI_BOYS.percentile.yearly-031ddade.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-17ed8572.js → BMI_BOYS.zscore.monthly-bb1f9962.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-36c9735b.js → BMI_BOYS.zscore.weekly-d6198d53.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-e43d7246.js → BMI_BOYS.zscore.yearly-48255337.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-94ddebb1.js → BMI_GIRLS.percentile.monthly-e3e284ee.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-dc53474b.js → BMI_GIRLS.percentile.weekly-9f2d3977.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-897e47f7.js → BMI_GIRLS.percentile.yearly-c79f34ce.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-44dcd046.js → BMI_GIRLS.zscore.monthly-11092df0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-6e9400e5.js → BMI_GIRLS.zscore.weekly-5c375d2b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-3cd8c63d.js → BMI_GIRLS.zscore.yearly-adbba8e3.js} +0 -0
- /package/build/{ChevronDown-2775b53a.js → ChevronDown-f7e25d61.js} +0 -0
- /package/build/{Close-f419724f.js → Close-36b0da99.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-35ed4380.js → HEAD CIRCUM_BOYS.percentile.monthly-163b99ad.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-c7dc736d.js → HEAD CIRCUM_BOYS.percentile.weekly-c9882014.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-4c3b2318.js → HEAD CIRCUM_BOYS.percentile.yearly-9d2bc91e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-1f1cc8dd.js → HEAD CIRCUM_BOYS.zscore.monthly-1d2a215c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-67593063.js → HEAD CIRCUM_BOYS.zscore.weekly-1f139c91.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-197c548c.js → HEAD CIRCUM_BOYS.zscore.yearly-ba15501b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-47029e7a.js → HEAD CIRCUM_GIRLS.percentile.monthly-a546201a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-faf6b122.js → HEAD CIRCUM_GIRLS.percentile.weekly-66cd5a7e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-f79cdc09.js → HEAD CIRCUM_GIRLS.percentile.yearly-9db3c653.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-329fc5a0.js → HEAD CIRCUM_GIRLS.zscore.monthly-0405e2cb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-aa73a5d6.js → HEAD CIRCUM_GIRLS.zscore.weekly-b2cc3ad2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-5fdab08f.js → HEAD CIRCUM_GIRLS.zscore.yearly-3115f993.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-190579ee.js → HEIGHT_BOYS.percentile.monthly-35138a98.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-d902f59f.js → HEIGHT_BOYS.percentile.weekly-0216c35b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-87254461.js → HEIGHT_BOYS.percentile.yearly-f698e45d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-c741a8bb.js → HEIGHT_BOYS.zscore.monthly-01195728.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-c0b2c6c0.js → HEIGHT_BOYS.zscore.weekly-993e9cf2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-1a506923.js → HEIGHT_BOYS.zscore.yearly-fee3ed69.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-9b2b4c93.js → HEIGHT_GIRLS.percentile.monthly-27b2474a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-5ddecf9a.js → HEIGHT_GIRLS.percentile.weekly-77bff236.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-fa289855.js → HEIGHT_GIRLS.percentile.yearly-6200a720.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-c9db2d0d.js → HEIGHT_GIRLS.zscore.monthly-94978e64.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-c38c0951.js → HEIGHT_GIRLS.zscore.weekly-7951beb1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-d78a2a93.js → HEIGHT_GIRLS.zscore.yearly-c2eca714.js} +0 -0
- /package/build/{Visible-34df6ee7.js → Visible-eee51ba6.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-7a5f3721.js → WEIGHT_BOYS.percentile.monthly-6a6f901b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-d86f23fa.js → WEIGHT_BOYS.percentile.weekly-737fb867.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-c154651c.js → WEIGHT_BOYS.percentile.yearly-7772b5e5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-8f39952a.js → WEIGHT_BOYS.zscore.monthly-8db2e7d6.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-3118363f.js → WEIGHT_BOYS.zscore.weekly-ddd37c1a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-d463cfe7.js → WEIGHT_BOYS.zscore.yearly-332a8f7b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-4d025f09.js → WEIGHT_GIRLS.percentile.monthly-3edad688.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-89f1f560.js → WEIGHT_GIRLS.percentile.weekly-f113a82a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-e79630f6.js → WEIGHT_GIRLS.percentile.yearly-95afbeaf.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-64bd7db5.js → WEIGHT_GIRLS.zscore.monthly-d27c4bd4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-628674eb.js → WEIGHT_GIRLS.zscore.weekly-2b113519.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-5bb1b712.js → WEIGHT_GIRLS.zscore.yearly-c82b04db.js} +0 -0
- /package/build/{animation-21a29164.js → animation-e1375a3b.js} +0 -0
- /package/build/{cart-cd1f9e9e.js → cart-67147d06.js} +0 -0
- /package/build/{cookieHelper-6fd4e238.js → cookieHelper-17491ce8.js} +0 -0
- /package/build/{doctor-15fac518.js → doctor-17b525f8.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-bc430a4a.js → BMI_BOYS.percentile.monthly-7c9d4923.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-404f8241.js → BMI_BOYS.percentile.weekly-c410294a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-cc6a1393.js → BMI_BOYS.percentile.yearly-695a4fe2.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-e94926d8.js → BMI_BOYS.zscore.monthly-9fb9f281.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-8d1da103.js → BMI_BOYS.zscore.weekly-d2109e4b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-94f8b37e.js → BMI_BOYS.zscore.yearly-bfa5361b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-356bd71d.js → BMI_GIRLS.percentile.monthly-f5f60596.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-72979d47.js → BMI_GIRLS.percentile.weekly-26e4e864.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-729c84f5.js → BMI_GIRLS.percentile.yearly-5a2b297d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-6dea8018.js → BMI_GIRLS.zscore.monthly-4e80bed5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-da7a5d01.js → BMI_GIRLS.zscore.weekly-03b79f0b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-0b0a5cae.js → BMI_GIRLS.zscore.yearly-822ed949.js} +0 -0
- /package/build/esm/{ChevronDown-5f18ca6b.js → ChevronDown-74267eb8.js} +0 -0
- /package/build/esm/{Close-87c65991.js → Close-372aa467.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-1c910c23.js → HEAD CIRCUM_BOYS.percentile.monthly-21b04c4c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-2da702f0.js → HEAD CIRCUM_BOYS.percentile.weekly-049a9d97.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-9fbeb684.js → HEAD CIRCUM_BOYS.percentile.yearly-a4bbbaba.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-c93df36e.js → HEAD CIRCUM_BOYS.zscore.monthly-7cb348c6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-930f82b2.js → HEAD CIRCUM_BOYS.zscore.weekly-678a1a52.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-f7523042.js → HEAD CIRCUM_BOYS.zscore.yearly-db81b17e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-d93ddef7.js → HEAD CIRCUM_GIRLS.percentile.monthly-cee33cd5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-2c7db258.js → HEAD CIRCUM_GIRLS.percentile.weekly-2cec19c3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-07202ee1.js → HEAD CIRCUM_GIRLS.percentile.yearly-5949e664.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-fafa785c.js → HEAD CIRCUM_GIRLS.zscore.monthly-7c2bffab.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-28b41bdb.js → HEAD CIRCUM_GIRLS.zscore.weekly-356dd00a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-c5b3bc8b.js → HEAD CIRCUM_GIRLS.zscore.yearly-e7b62215.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-0a092d31.js → HEIGHT_BOYS.percentile.monthly-359c4335.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-5827b445.js → HEIGHT_BOYS.percentile.weekly-a4d4acd3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-b88283c2.js → HEIGHT_BOYS.percentile.yearly-ec9a7f9b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-d275f074.js → HEIGHT_BOYS.zscore.monthly-12331258.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-20bbf392.js → HEIGHT_BOYS.zscore.weekly-172054d3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-2eea3a9c.js → HEIGHT_BOYS.zscore.yearly-bb47a3be.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-9ad65492.js → HEIGHT_GIRLS.percentile.monthly-c93c0b34.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-898065d3.js → HEIGHT_GIRLS.percentile.weekly-f1f83097.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-ac5ceb79.js → HEIGHT_GIRLS.percentile.yearly-ccee4e55.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-327bdfa5.js → HEIGHT_GIRLS.zscore.monthly-caf5410c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-e25ddbc7.js → HEIGHT_GIRLS.zscore.weekly-b1e28b0e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-5531c2e3.js → HEIGHT_GIRLS.zscore.yearly-c3af35d3.js} +0 -0
- /package/build/esm/{Visible-70c720bb.js → Visible-3f9d7dca.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-e199416b.js → WEIGHT_BOYS.percentile.monthly-8a4647df.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-0965076a.js → WEIGHT_BOYS.percentile.weekly-a2a6adf1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-d04404d7.js → WEIGHT_BOYS.percentile.yearly-073df8b7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-be1ae0cd.js → WEIGHT_BOYS.zscore.monthly-bb9e73d2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-8b6854c4.js → WEIGHT_BOYS.zscore.weekly-ef32ce7a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-bd90b96f.js → WEIGHT_BOYS.zscore.yearly-6cc77688.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a4bb8428.js → WEIGHT_GIRLS.percentile.monthly-a4b518bc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-c288d810.js → WEIGHT_GIRLS.percentile.weekly-dcedaebb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-73a5ae07.js → WEIGHT_GIRLS.percentile.yearly-9e66577e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-cbcfdab4.js → WEIGHT_GIRLS.zscore.monthly-c07cb81f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-185ff336.js → WEIGHT_GIRLS.zscore.weekly-9c5c3e8e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-c31a0aee.js → WEIGHT_GIRLS.zscore.yearly-e99ce511.js} +0 -0
- /package/build/esm/{animation-9a3ca482.js → animation-0b2299dc.js} +0 -0
- /package/build/esm/{cart-5f758c33.js → cart-f961dadc.js} +0 -0
- /package/build/esm/{cookieHelper-9c963e09.js → cookieHelper-73ce3871.js} +0 -0
- /package/build/esm/{doctor-1d62f054.js → doctor-8a07ca44.js} +0 -0
- /package/build/esm/{index-931414db.js → index-782fed08.js} +0 -0
- /package/build/esm/{index-4687d5f8.js → index-b65a8764.js} +0 -0
- /package/build/esm/{index-90e772e4.js → index-c3264b34.js} +0 -0
- /package/build/esm/{index-877eed06.js → index-e3787b20.js} +0 -0
- /package/build/esm/{isProduction-d39b7ab2.js → isProduction-5684a28c.js} +0 -0
- /package/build/esm/{localizeNumberFormat-f838842a.js → localizeNumberFormat-42ae8d89.js} +0 -0
- /package/build/esm/{normalizeLink-65565106.js → normalizeLink-d6f57223.js} +0 -0
- /package/build/esm/{number-cad310d0.js → number-13f075cf.js} +0 -0
- /package/build/esm/{paths-8fc18a86.js → paths-49a813e7.js} +0 -0
- /package/build/esm/{theme-eb1b39f6.js → theme-f18c2351.js} +0 -0
- /package/build/esm/{translationsContext-dfb42bf8.js → translationsContext-f3d1a7bd.js} +0 -0
- /package/build/esm/{tslib.es6-efad16cf.js → tslib.es6-761239c7.js} +0 -0
- /package/build/esm/{useIsInit-f341c0e8.js → useIsInit-ee864235.js} +0 -0
- /package/build/esm/{useOutsideClick-e10b28ce.js → useOutsideClick-7451aa57.js} +0 -0
- /package/build/esm/{useScrollbarSize-594c61c3.js → useScrollbarSize-84bb5b47.js} +0 -0
- /package/build/esm/{useUniqueId-d5f7586b.js → useUniqueId-c23213b6.js} +0 -0
- /package/build/esm/{utils-0d590d5e.js → utils-f8761b9d.js} +0 -0
- /package/build/{index-d54d6c50.js → index-97ebd7e1.js} +0 -0
- /package/build/{index-d8c60733.js → index-ba3797bb.js} +0 -0
- /package/build/{index-d628859e.js → index-bba97c2e.js} +0 -0
- /package/build/{index-0b957c10.js → index-df5cd44b.js} +0 -0
- /package/build/{isProduction-7f7f09ad.js → isProduction-aa963bf9.js} +0 -0
- /package/build/{localizeNumberFormat-011e6f65.js → localizeNumberFormat-90d4f9d5.js} +0 -0
- /package/build/{normalizeLink-23b10200.js → normalizeLink-451ae6d8.js} +0 -0
- /package/build/{number-249e0e0b.js → number-c2338382.js} +0 -0
- /package/build/{paths-02f54499.js → paths-e0bbfce7.js} +0 -0
- /package/build/{theme-416e0fd4.js → theme-e4f7f487.js} +0 -0
- /package/build/{translationsContext-6f3c14ea.js → translationsContext-39528d2f.js} +0 -0
- /package/build/{tslib.es6-dd1fc8f2.js → tslib.es6-7e140b89.js} +0 -0
- /package/build/{useIsInit-bb64ffbf.js → useIsInit-38cec0c4.js} +0 -0
- /package/build/{useOutsideClick-bd35bba1.js → useOutsideClick-e579e1ac.js} +0 -0
- /package/build/{useScrollbarSize-57b0fd8a.js → useScrollbarSize-5a8be010.js} +0 -0
- /package/build/{useUniqueId-4bafae28.js → useUniqueId-8929fe5f.js} +0 -0
- /package/build/{utils-3a589c92.js → utils-524bda7c.js} +0 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import React__default, { useRef, useEffect } from 'react';
|
|
2
|
+
import { Portal } from '@mantine/core';
|
|
3
|
+
import { t as toggleNoScroll } from './utils-f8761b9d.js';
|
|
4
|
+
import { css } from '@emotion/react';
|
|
5
|
+
import styled from '@emotion/styled';
|
|
6
|
+
import { t as theme } from './theme-f18c2351.js';
|
|
7
|
+
import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-0b2299dc.js';
|
|
8
|
+
import { T as Text } from './index-c200bff6.js';
|
|
9
|
+
|
|
10
|
+
const DURATION = '600ms';
|
|
11
|
+
const generateStyleBasedOnPlacement = (placement, open) => {
|
|
12
|
+
switch (placement) {
|
|
13
|
+
case 'top':
|
|
14
|
+
return css `
|
|
15
|
+
top: 0;
|
|
16
|
+
width: 100%;
|
|
17
|
+
border-radius: 0px 0px 6px 6px;
|
|
18
|
+
${open
|
|
19
|
+
? css `
|
|
20
|
+
animation: ${slideInDown} ${DURATION} ease-in-out forwards;
|
|
21
|
+
`
|
|
22
|
+
: null}
|
|
23
|
+
|
|
24
|
+
&.slideOut {
|
|
25
|
+
animation: ${slideOutUp} ${DURATION} ease-in-out forwards;
|
|
26
|
+
}
|
|
27
|
+
`;
|
|
28
|
+
case 'right':
|
|
29
|
+
return css `
|
|
30
|
+
right: 0;
|
|
31
|
+
height: 100%;
|
|
32
|
+
min-width: 300px;
|
|
33
|
+
border-radius: 6px 0px 0px 6px;
|
|
34
|
+
|
|
35
|
+
${open
|
|
36
|
+
? css `
|
|
37
|
+
animation: ${slideInRight} ${DURATION} ease-in-out forwards;
|
|
38
|
+
`
|
|
39
|
+
: null}
|
|
40
|
+
|
|
41
|
+
&.slideOut {
|
|
42
|
+
animation: ${slideOutRight} ${DURATION} ease-in-out forwards;
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
45
|
+
case 'bottom':
|
|
46
|
+
return css `
|
|
47
|
+
bottom: 0;
|
|
48
|
+
width: 100%;
|
|
49
|
+
border-radius: 6px 6px 0px 0px;
|
|
50
|
+
${open
|
|
51
|
+
? css `
|
|
52
|
+
animation: ${slideInUp} ${DURATION} ease-in-out forwards;
|
|
53
|
+
`
|
|
54
|
+
: null}
|
|
55
|
+
|
|
56
|
+
&.slideOut {
|
|
57
|
+
animation: ${slideOutDown} ${DURATION} ease-in-out forwards;
|
|
58
|
+
}
|
|
59
|
+
`;
|
|
60
|
+
case 'left':
|
|
61
|
+
return css `
|
|
62
|
+
left: 0;
|
|
63
|
+
height: 100%;
|
|
64
|
+
min-width: 300px;
|
|
65
|
+
border-radius: 0px 6px 6px 0px;
|
|
66
|
+
|
|
67
|
+
${open
|
|
68
|
+
? css `
|
|
69
|
+
animation: ${slideInLeft} ${DURATION} ease-in-out forwards;
|
|
70
|
+
`
|
|
71
|
+
: null}
|
|
72
|
+
|
|
73
|
+
&.slideOut {
|
|
74
|
+
animation: ${slideOutLeft} ${DURATION} ease-in-out forwards;
|
|
75
|
+
}
|
|
76
|
+
`;
|
|
77
|
+
default:
|
|
78
|
+
return css `
|
|
79
|
+
left: 0;
|
|
80
|
+
height: 100%;
|
|
81
|
+
min-width: 300px;
|
|
82
|
+
border-radius: 0px 6px 6px 0px;
|
|
83
|
+
|
|
84
|
+
${open
|
|
85
|
+
? css `
|
|
86
|
+
animation: ${slideInUp} ${DURATION} ease-in-out forwards;
|
|
87
|
+
`
|
|
88
|
+
: null}
|
|
89
|
+
|
|
90
|
+
&.slideOut {
|
|
91
|
+
animation: ${slideOutDown} ${DURATION} ease-in-out forwards;
|
|
92
|
+
}
|
|
93
|
+
`;
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
const StyledDrawer = styled.div `
|
|
98
|
+
position: fixed;
|
|
99
|
+
inset: 0;
|
|
100
|
+
z-index: ${theme.zIndexes.drawer};
|
|
101
|
+
pointer-events: ${(props) => (props.open ? 'auto' : 'none')};
|
|
102
|
+
`;
|
|
103
|
+
const StyledDrawerPanel = styled.div `
|
|
104
|
+
position: fixed;
|
|
105
|
+
z-index: 300;
|
|
106
|
+
background: #ffffff;
|
|
107
|
+
visibility: ${(props) => (props.open ? 'visible' : 'hidden')};
|
|
108
|
+
max-height: calc(100vh - 100px);
|
|
109
|
+
display: flex;
|
|
110
|
+
flex-direction: column;
|
|
111
|
+
.title {
|
|
112
|
+
display: flex;
|
|
113
|
+
align-items: center;
|
|
114
|
+
justify-content: space-between;
|
|
115
|
+
padding: 16px;
|
|
116
|
+
${(props) => props.hasTitle
|
|
117
|
+
? css `
|
|
118
|
+
border-bottom: 1px solid ${theme.colors.neutral100};
|
|
119
|
+
`
|
|
120
|
+
: null}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.close-button {
|
|
124
|
+
margin-left: auto;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
${(props) => generateStyleBasedOnPlacement(props.placement, props.open)}
|
|
128
|
+
`;
|
|
129
|
+
const StyledDrawerContent = styled.div `
|
|
130
|
+
min-height: 200px;
|
|
131
|
+
padding: 16px;
|
|
132
|
+
overflow-y: auto;
|
|
133
|
+
`;
|
|
134
|
+
|
|
135
|
+
const StyledBackdrop = styled.div `
|
|
136
|
+
position: fixed;
|
|
137
|
+
inset: 0;
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
justify-content: center;
|
|
141
|
+
width: 100%;
|
|
142
|
+
height: 100%;
|
|
143
|
+
overflow-x: hidden;
|
|
144
|
+
overflow-y: auto;
|
|
145
|
+
outline: 0;
|
|
146
|
+
background-color: rgba(38, 38, 38, 0.3);
|
|
147
|
+
z-index: 1;
|
|
148
|
+
&[data-open='false'] {
|
|
149
|
+
visibility: hidden;
|
|
150
|
+
pointer-events: none;
|
|
151
|
+
}
|
|
152
|
+
&[data-open='true'] {
|
|
153
|
+
visibility: visible;
|
|
154
|
+
pointer-events: auto;
|
|
155
|
+
}
|
|
156
|
+
`;
|
|
157
|
+
|
|
158
|
+
const Backdrop = ({ open = false, onClickOutside, }) => {
|
|
159
|
+
return (React__default.createElement(StyledBackdrop, { "data-open": open, onClick: onClickOutside }));
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
|
|
164
|
+
*/
|
|
165
|
+
const Drawer = ({ children, title, onClose, open = false, placement = 'left', destroyOnClose = false, isPropagationEvent = true, className, }) => {
|
|
166
|
+
const ref = useRef();
|
|
167
|
+
useEffect(() => {
|
|
168
|
+
toggleNoScroll(open);
|
|
169
|
+
return () => toggleNoScroll(false);
|
|
170
|
+
}, [open]);
|
|
171
|
+
const onCloseDrawer = () => {
|
|
172
|
+
ref.current.classList.add('slideOut');
|
|
173
|
+
setTimeout(() => {
|
|
174
|
+
onClose();
|
|
175
|
+
}, 800);
|
|
176
|
+
};
|
|
177
|
+
if (!open && destroyOnClose) {
|
|
178
|
+
return null;
|
|
179
|
+
}
|
|
180
|
+
return (React__default.createElement(Portal, null,
|
|
181
|
+
React__default.createElement(StyledDrawer, { className: className, open: open },
|
|
182
|
+
React__default.createElement(Backdrop, { open: open, onClickOutside: onCloseDrawer }),
|
|
183
|
+
React__default.createElement(StyledDrawerPanel, { open: open, placement: placement, ref: ref, hasTitle: Boolean(title) },
|
|
184
|
+
React__default.createElement("div", { className: "title" },
|
|
185
|
+
title && (React__default.createElement(Text, { size: "s2", weight: "semiBold" }, title)),
|
|
186
|
+
React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: "close-button", onClick: onCloseDrawer },
|
|
187
|
+
React__default.createElement("path", { d: "M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z", fill: "#595959" }))),
|
|
188
|
+
React__default.createElement(StyledDrawerContent, { onClick: (e) => {
|
|
189
|
+
if (isPropagationEvent) {
|
|
190
|
+
e.stopPropagation();
|
|
191
|
+
}
|
|
192
|
+
} }, children &&
|
|
193
|
+
(React__default.isValidElement(children)
|
|
194
|
+
? children
|
|
195
|
+
: typeof children === 'function'
|
|
196
|
+
? children({
|
|
197
|
+
internalClose: onCloseDrawer,
|
|
198
|
+
})
|
|
199
|
+
: null))))));
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
export { Drawer as D };
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import React__default, { useState } from 'react';
|
|
2
|
+
import { F as Flag } from './index-21eac858.js';
|
|
3
|
+
import styled from '@emotion/styled';
|
|
4
|
+
import { t as theme } from './theme-f18c2351.js';
|
|
5
|
+
import { T as Text } from './index-c200bff6.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-78255d6c.js';
|
|
7
|
+
|
|
8
|
+
const ALLOW_DOMAIN_URL = [
|
|
9
|
+
'hellobacsi.com',
|
|
10
|
+
'hellosehat.com',
|
|
11
|
+
'hellodoktor.com',
|
|
12
|
+
'hellokrupet.com',
|
|
13
|
+
'hellodoctor.com.ph',
|
|
14
|
+
'hellokhunmor.com',
|
|
15
|
+
'hellosayarwon.com',
|
|
16
|
+
'helloyishi.com.tw',
|
|
17
|
+
'helloswasthya.com',
|
|
18
|
+
'marrybaby.vn',
|
|
19
|
+
'hellohealth.questionpro.com',
|
|
20
|
+
'hellobacsivn.page.link',
|
|
21
|
+
];
|
|
22
|
+
const isInternalLink = (url = '') => {
|
|
23
|
+
return ALLOW_DOMAIN_URL.some((o) => new URL(url).origin.endsWith(o));
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const StyledLanguageChangeLink = styled.a `
|
|
27
|
+
display: inline-flex;
|
|
28
|
+
position: relative;
|
|
29
|
+
flex-direction: row;
|
|
30
|
+
align-items: center;
|
|
31
|
+
padding: 7px 11px;
|
|
32
|
+
gap: 2px;
|
|
33
|
+
|
|
34
|
+
background: ${theme.colors.white};
|
|
35
|
+
border: 1px solid ${theme.colors.neutral100};
|
|
36
|
+
border-radius: 20px;
|
|
37
|
+
|
|
38
|
+
color: ${theme.colors.gray600};
|
|
39
|
+
font-weight: 600;
|
|
40
|
+
font-size: 12px;
|
|
41
|
+
line-height: 18px;
|
|
42
|
+
text-decoration: none;
|
|
43
|
+
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
`;
|
|
46
|
+
|
|
47
|
+
const StyledSelectionContainer = styled.div `
|
|
48
|
+
position: relative;
|
|
49
|
+
display: inline-block;
|
|
50
|
+
`;
|
|
51
|
+
const StyledSelectionLabel = styled.div `
|
|
52
|
+
position: relative;
|
|
53
|
+
`;
|
|
54
|
+
const StyleSelectionPopup = styled.div `
|
|
55
|
+
position: absolute;
|
|
56
|
+
z-index: 21;
|
|
57
|
+
top: 100%;
|
|
58
|
+
right: 0;
|
|
59
|
+
width: 327px;
|
|
60
|
+
padding: 8px;
|
|
61
|
+
background: white;
|
|
62
|
+
border-radius: 4px;
|
|
63
|
+
filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));
|
|
64
|
+
|
|
65
|
+
&[data-is-open='false'] {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
&[data-show-indicator='true'] {
|
|
69
|
+
&:before {
|
|
70
|
+
position: absolute;
|
|
71
|
+
right: 11px;
|
|
72
|
+
bottom: 100%;
|
|
73
|
+
width: 0;
|
|
74
|
+
height: 0;
|
|
75
|
+
border: 0.5rem solid transparent;
|
|
76
|
+
border-top: none;
|
|
77
|
+
border-bottom-color: #fff;
|
|
78
|
+
content: '';
|
|
79
|
+
filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
`;
|
|
83
|
+
const StyledOption = styled.div `
|
|
84
|
+
display: flex;
|
|
85
|
+
height: 40px;
|
|
86
|
+
align-items: center;
|
|
87
|
+
justify-content: space-between;
|
|
88
|
+
|
|
89
|
+
padding: 0 16px;
|
|
90
|
+
border-radius: ${theme.borderRadius};
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
|
|
93
|
+
.check-icon {
|
|
94
|
+
width: 16px;
|
|
95
|
+
height: 16px;
|
|
96
|
+
}
|
|
97
|
+
&[data-selected='false'] {
|
|
98
|
+
background-color: ${theme.colors.gray100};
|
|
99
|
+
}
|
|
100
|
+
`;
|
|
101
|
+
const StyledPopupBackground = styled.div `
|
|
102
|
+
position: fixed;
|
|
103
|
+
z-index: 20;
|
|
104
|
+
top: 0;
|
|
105
|
+
left: 0;
|
|
106
|
+
width: 100%;
|
|
107
|
+
height: 100%;
|
|
108
|
+
cursor: default;
|
|
109
|
+
`;
|
|
110
|
+
|
|
111
|
+
const TooltipSelection = ({ options, label, labelRenderer, selected, onChange, showSelected = true, style = {}, showIndicator = true, }) => {
|
|
112
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
113
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
114
|
+
React__default.createElement(StyledSelectionContainer, null,
|
|
115
|
+
React__default.createElement(StyledSelectionLabel, { onClick: () => setIsOpen((value) => !value) },
|
|
116
|
+
label || (labelRenderer === null || labelRenderer === void 0 ? void 0 : labelRenderer(isOpen)) || null,
|
|
117
|
+
React__default.createElement(StyleSelectionPopup, { "data-is-open": isOpen, style: style, "data-show-indicator": showIndicator }, options.map((option, index) => (React__default.createElement(StyledOption, { key: index, "data-selected": showSelected && selected === option.value, onClick: (e) => {
|
|
118
|
+
if (selected !== option.value) {
|
|
119
|
+
onChange(option.value);
|
|
120
|
+
setIsOpen((value) => !value);
|
|
121
|
+
}
|
|
122
|
+
e.stopPropagation();
|
|
123
|
+
} },
|
|
124
|
+
React__default.createElement(Text, { size: "p3" }, option.label),
|
|
125
|
+
showSelected && selected === option.value && (React__default.createElement("img", { src: CommonGAssets.getAssetPath('check.svg'), alt: "check", className: "check-icon", loading: "lazy" })))))))),
|
|
126
|
+
isOpen && (React__default.createElement(StyledPopupBackground, { onClick: () => setIsOpen(false) }))));
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
const LanguageSwitcher = ({ languageOptions, locale }) => {
|
|
130
|
+
var _a, _b;
|
|
131
|
+
const selectedLanguage = languageOptions === null || languageOptions === void 0 ? void 0 : languageOptions.find((option) => option.locale === locale);
|
|
132
|
+
if (!(languageOptions === null || languageOptions === void 0 ? void 0 : languageOptions.length)) {
|
|
133
|
+
return null;
|
|
134
|
+
}
|
|
135
|
+
return (React__default.createElement(TooltipSelection, { options: languageOptions, selected: selectedLanguage.value, label: React__default.createElement(LanguageLabel, { locale: locale, label: selectedLanguage.label || ((_b = (_a = locale.split('-')) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.toUpperCase()) }), onChange: (href) => {
|
|
136
|
+
if (typeof window !== 'undefined') {
|
|
137
|
+
window.location.href = href;
|
|
138
|
+
}
|
|
139
|
+
}, style: { width: 100 }, showSelected: true, showIndicator: false }));
|
|
140
|
+
};
|
|
141
|
+
const LanguageLabel = ({ locale, label, href, }) => {
|
|
142
|
+
var _a, _b, _c;
|
|
143
|
+
return (React__default.createElement(StyledLanguageChangeLink, { href: href },
|
|
144
|
+
React__default.createElement(Flag, { country: (_b = (_a = locale === null || locale === void 0 ? void 0 : locale.split('-')) === null || _a === void 0 ? void 0 : _a[1]) === null || _b === void 0 ? void 0 : _b.toUpperCase(), width: 16, height: 16, rounded: true, language: (_c = locale === null || locale === void 0 ? void 0 : locale.split('-')) === null || _c === void 0 ? void 0 : _c[0] }),
|
|
145
|
+
React__default.createElement("span", null, label)));
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
export { LanguageSwitcher as L, isInternalLink as i };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as cookie } from './index-
|
|
2
|
-
import { B as BEARER_TOKEN_COOKIE, d as domainLocales } from './index-
|
|
3
|
-
import { N as NodeIntentType } from './index-
|
|
1
|
+
import { c as cookie } from './index-3078acec.js';
|
|
2
|
+
import { B as BEARER_TOKEN_COOKIE, d as domainLocales } from './index-bef3c9bd.js';
|
|
3
|
+
import { N as NodeIntentType } from './index-e3787b20.js';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { v4 } from 'uuid';
|
|
6
|
-
import { i as isProduction } from './isProduction-
|
|
6
|
+
import { i as isProduction } from './isProduction-5684a28c.js';
|
|
7
7
|
|
|
8
8
|
const queryKeysJson = [
|
|
9
9
|
'form_submit_meta',
|
|
@@ -1,13 +1,137 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import React__default, { useState, useEffect, useMemo, useCallback } from 'react';
|
|
2
|
+
import styled from '@emotion/styled';
|
|
3
|
+
import { t as theme } from './theme-f18c2351.js';
|
|
4
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-761239c7.js';
|
|
5
|
+
import { u as useTranslations } from './useTranslations-fbf6a6ab.js';
|
|
6
|
+
import { createStyles } from '@mantine/core';
|
|
7
|
+
import { B as Button } from './index-2b9213cf.js';
|
|
8
|
+
import { P as PATHS } from './paths-49a813e7.js';
|
|
9
|
+
import { L as LOCALIZED_SLUGS } from './constants-f77fc231.js';
|
|
10
|
+
import { d as domainLocales } from './index-bef3c9bd.js';
|
|
11
|
+
import { c as callApi, g as getCarePath } from './utils-d5a0b58f.js';
|
|
12
|
+
import { i as isProduction } from './isProduction-5684a28c.js';
|
|
13
|
+
|
|
14
|
+
const StyledDivider = styled.hr `
|
|
15
|
+
border-width: 1px;
|
|
16
|
+
border-color: ${theme.colors.neutral200};
|
|
17
|
+
border-style: ${(props) => props.dividerType};
|
|
18
|
+
`;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Consider to use mantine
|
|
22
|
+
*/
|
|
23
|
+
const Divider = ({ type = 'solid', className, style }) => {
|
|
24
|
+
return (React__default.createElement(StyledDivider, { style: style, className: className, "data-diver-type": type, dividerType: type }));
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
var useStyles = createStyles((theme) => {
|
|
28
|
+
return {
|
|
29
|
+
root: {
|
|
30
|
+
display: 'inline-block',
|
|
31
|
+
// height: 1rem,
|
|
32
|
+
flexShrink: 0,
|
|
33
|
+
padding: '2px 0.5rem',
|
|
34
|
+
marginLeft: '4px',
|
|
35
|
+
borderRadius: theme.radius.xs,
|
|
36
|
+
// color: white,
|
|
37
|
+
fontSize: '12px',
|
|
38
|
+
fontWeight: 400,
|
|
39
|
+
lineHeight: '18px',
|
|
40
|
+
'&[data-label-type="admin"]': {
|
|
41
|
+
background: theme.primaryColor[0],
|
|
42
|
+
color: theme.primaryColor[9],
|
|
43
|
+
// &[data-is-marrybaby='true'] {
|
|
44
|
+
// background: #{map-get($mbColors, 'tonePink')};
|
|
45
|
+
// color: #{map-get($mbColors, 'cRed')};
|
|
46
|
+
// }
|
|
47
|
+
},
|
|
48
|
+
'&[data-label-type="local admin"]': {
|
|
49
|
+
background: theme.primaryColor[8],
|
|
50
|
+
},
|
|
51
|
+
'&[data-label-type="ambassador"]': {
|
|
52
|
+
background: theme.colors.green[4],
|
|
53
|
+
},
|
|
54
|
+
'&[data-label-type="expert"]': {
|
|
55
|
+
background: theme.colors.yellow[6],
|
|
56
|
+
// &[data-is-marrybaby='true'] {
|
|
57
|
+
// background: #{map-get($mbColors, 'cOrange')};
|
|
58
|
+
// color: #{map-get($colors, 'cWhite')};
|
|
59
|
+
// }
|
|
60
|
+
},
|
|
61
|
+
'&[data-label-type="moderator"]': {
|
|
62
|
+
background: theme.colors.red[0],
|
|
63
|
+
color: theme.colors.red[8],
|
|
64
|
+
// &[data-is-marrybaby='true'] {
|
|
65
|
+
// background: #{map-get($mbColors, 'toneBlue')};
|
|
66
|
+
// color: #{map-get($mbColors, 'cobalt')};
|
|
67
|
+
// }
|
|
68
|
+
},
|
|
69
|
+
'&[data-label-type="sponsor"]': {
|
|
70
|
+
background: theme.colors.teal[4],
|
|
71
|
+
},
|
|
72
|
+
'&[data-label-type="guide"]': {
|
|
73
|
+
background: theme.colors.teal[4],
|
|
74
|
+
},
|
|
75
|
+
'&[data-label-type="influencer"]': {
|
|
76
|
+
background: theme.colors.teal[4],
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
const AuthorLabelTextMapping = {
|
|
83
|
+
admin: 'cardAuthor.admin',
|
|
84
|
+
moderator: 'cardAuthor.moderator',
|
|
85
|
+
ambassador: 'cardAuthor.ambassador',
|
|
86
|
+
expert: 'cardAuthor.expert',
|
|
87
|
+
sponsor: 'cardAuthor.sponsor',
|
|
88
|
+
// 'local-admin': 'cardAuthor.localAdmin',
|
|
89
|
+
guide: 'cardAuthor.guide',
|
|
90
|
+
influencer: 'cardAuthor.influencer',
|
|
91
|
+
};
|
|
92
|
+
const looselyMatchRole = (role) => {
|
|
93
|
+
const allRoles = [
|
|
94
|
+
'admin',
|
|
95
|
+
'moderator',
|
|
96
|
+
'ambassador',
|
|
97
|
+
'expert',
|
|
98
|
+
'sponsor',
|
|
99
|
+
'guide',
|
|
100
|
+
'influencer',
|
|
101
|
+
];
|
|
102
|
+
return allRoles.find((r) => r === role);
|
|
103
|
+
};
|
|
104
|
+
const AuthorBadge = (_a) => {
|
|
105
|
+
var { siteType, role, title, styles, className } = _a, rest = __rest(_a, ["siteType", "role", "title", "styles", "className"]);
|
|
106
|
+
const { t } = useTranslations();
|
|
107
|
+
const matchedRole = role ? looselyMatchRole(role) : '';
|
|
108
|
+
const { classes, cx } = useStyles(undefined,
|
|
109
|
+
// Second argument is responsible for styles api integration
|
|
110
|
+
{ name: 'AuthorBadge', styles });
|
|
111
|
+
return matchedRole && AuthorLabelTextMapping[matchedRole] ? (React__default.createElement("div", Object.assign({
|
|
112
|
+
// className={styles.authorBadge}
|
|
113
|
+
className: cx(classes.root, className), "data-label-type": matchedRole, "data-is-marrybaby": siteType === 'marryBaby' }, rest), title || t(AuthorLabelTextMapping[matchedRole]))) : null;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
const StyledContainer = styled.div `
|
|
117
|
+
display: flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
gap: 8px;
|
|
120
|
+
button[data-color='tertiary'] {
|
|
121
|
+
background: white;
|
|
122
|
+
}
|
|
123
|
+
`;
|
|
124
|
+
|
|
125
|
+
const BtnChoice = ({ value: valueInit, choices, onChange }) => {
|
|
126
|
+
const [value, setValue] = useState(valueInit);
|
|
127
|
+
useEffect(() => {
|
|
128
|
+
setValue(valueInit);
|
|
129
|
+
}, [valueInit]);
|
|
130
|
+
return (React__default.createElement(StyledContainer, null, choices.map((i, idx) => (React__default.createElement(Button, { dataEventCategory: i.dataEventCategory, dataEventAction: i.dataEventAction, dataEventLabel: i.dataEventLabel, size: "sm", variant: i.value === value ? 'primary' : 'tertiary', key: idx, onClick: () => {
|
|
131
|
+
setValue(i.value);
|
|
132
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(i.value);
|
|
133
|
+
} }, i.label || '')))));
|
|
134
|
+
};
|
|
11
135
|
|
|
12
136
|
const BookingBtn = (_a) => {
|
|
13
137
|
var { label, bookingId, bookingType = 'doctor', locale = 'vi-VN' } = _a, rest = __rest(_a, ["label", "bookingId", "bookingType", "locale"]);
|
|
@@ -67,56 +191,4 @@ const BookingBtn = (_a) => {
|
|
|
67
191
|
return bookingId && bookingType ? (React__default.createElement(Button, Object.assign({ dataEventCategory: "Care", dataEventAction: "Comment - Quick Booking", dataEventLabel: currentUrl, onClick: handleOnClick, loading: loading }, rest), label || t('careBooking.bookAnAppointment'))) : null;
|
|
68
192
|
};
|
|
69
193
|
|
|
70
|
-
const AuthorLabelTextMapping = {
|
|
71
|
-
admin: 'cardAuthor.admin',
|
|
72
|
-
moderator: 'cardAuthor.moderator',
|
|
73
|
-
ambassador: 'cardAuthor.ambassador',
|
|
74
|
-
expert: 'cardAuthor.expert',
|
|
75
|
-
sponsor: 'cardAuthor.sponsor',
|
|
76
|
-
// 'local-admin': 'cardAuthor.localAdmin',
|
|
77
|
-
guide: 'cardAuthor.guide',
|
|
78
|
-
influencer: 'cardAuthor.influencer',
|
|
79
|
-
};
|
|
80
|
-
const looselyMatchRole = (role) => {
|
|
81
|
-
const allRoles = [
|
|
82
|
-
'admin',
|
|
83
|
-
'moderator',
|
|
84
|
-
'ambassador',
|
|
85
|
-
'expert',
|
|
86
|
-
'sponsor',
|
|
87
|
-
'guide',
|
|
88
|
-
'influencer',
|
|
89
|
-
];
|
|
90
|
-
return allRoles.find((r) => r === role);
|
|
91
|
-
};
|
|
92
|
-
const AuthorBadge = (_a) => {
|
|
93
|
-
var { siteType, role, title, styles, className } = _a, rest = __rest(_a, ["siteType", "role", "title", "styles", "className"]);
|
|
94
|
-
const { t } = useTranslations();
|
|
95
|
-
const matchedRole = role ? looselyMatchRole(role) : '';
|
|
96
|
-
const { classes, cx } = useStyles(undefined,
|
|
97
|
-
// Second argument is responsible for styles api integration
|
|
98
|
-
{ name: 'AuthorBadge', styles });
|
|
99
|
-
return matchedRole && AuthorLabelTextMapping[matchedRole] ? (React__default.createElement("div", Object.assign({
|
|
100
|
-
// className={styles.authorBadge}
|
|
101
|
-
className: cx(classes.root, className), "data-label-type": matchedRole, "data-is-marrybaby": siteType === 'marryBaby' }, rest), title || t(AuthorLabelTextMapping[matchedRole]))) : null;
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
const BtnChoice = ({ value: valueInit, choices, onChange }) => {
|
|
105
|
-
const [value, setValue] = useState(valueInit);
|
|
106
|
-
useEffect(() => {
|
|
107
|
-
setValue(valueInit);
|
|
108
|
-
}, [valueInit]);
|
|
109
|
-
return (React__default.createElement(StyledContainer, null, choices.map((i, idx) => (React__default.createElement(Button, { dataEventCategory: i.dataEventCategory, dataEventAction: i.dataEventAction, dataEventLabel: i.dataEventLabel, size: "sm", variant: i.value === value ? 'primary' : 'tertiary', key: idx, onClick: () => {
|
|
110
|
-
setValue(i.value);
|
|
111
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(i.value);
|
|
112
|
-
} }, i.label || '')))));
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @deprecated Consider to use mantine
|
|
117
|
-
*/
|
|
118
|
-
const Divider = ({ type = 'solid', className, style }) => {
|
|
119
|
-
return (React__default.createElement(StyledDivider, { style: style, className: className, "data-diver-type": type, dividerType: type }));
|
|
120
|
-
};
|
|
121
|
-
|
|
122
194
|
export { AuthorBadge as A, BtnChoice as B, Divider as D, BookingBtn as a };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { enUS, vi, km, hi, id, ms, th, zhTW } from 'date-fns/locale';
|
|
2
|
-
import { L as LOCALE } from './index-
|
|
3
|
-
import { i as isProduction } from './isProduction-
|
|
2
|
+
import { L as LOCALE } from './index-e3787b20.js';
|
|
3
|
+
import { i as isProduction } from './isProduction-5684a28c.js';
|
|
4
4
|
|
|
5
5
|
const siteHost = {
|
|
6
6
|
HELLO_HEALTH_GROUP: 'hellohealthgroup.com',
|
|
@@ -902,4 +902,4 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
902
902
|
isProduction: isProduction
|
|
903
903
|
});
|
|
904
904
|
|
|
905
|
-
export { API_DATE_FORMAT as A, BEARER_TOKEN_COOKIE as B,
|
|
905
|
+
export { API_DATE_FORMAT as A, BEARER_TOKEN_COOKIE as B, CDN_ADDRESS as C, DATE_FNS_LOCALE as D, ECOM_LOCALES as E, FAVICONS as F, GA_TOKEN_COOKIE as G, ISO_FORMAT as I, LOCALE_SPECS as L, MAP_DOMAIN_BY_LOCALE as M, QUERY_HEALTH_TOOL as Q, RISK_SCREENER_NAME as R, STATIC_PAGES as S, TOGETHER_LOCALES as T, USER_GEOLOCATION_COORDINATES_COOKIE as U, RISK_SCREENER_SLUG as a, CARE_LOCALES as b, CARE_BOOKING_LOCALES as c, domainLocales as d, basePath as e, SSO_URL as f, UP_BASEPATH as g, DATE_FNS_DATE_FORMAT as h, index as i, siteHost as j, siteOptions as s };
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { C as Container } from './index-
|
|
2
|
+
import { C as Container } from './index-782fed08.js';
|
|
3
3
|
import dayjs from 'dayjs';
|
|
4
|
-
import { d as domainLocales } from './index-
|
|
5
|
-
import { u as useScreenSize } from './index-
|
|
4
|
+
import { d as domainLocales } from './index-bef3c9bd.js';
|
|
5
|
+
import { u as useScreenSize } from './index-21eac858.js';
|
|
6
6
|
import { Flex, Stack, Box } from '@mantine/core';
|
|
7
7
|
import '@mantine/dates';
|
|
8
|
-
import './index-
|
|
9
|
-
import './index-
|
|
10
|
-
import './useMantineLocale-
|
|
11
|
-
import { T as Text } from './index-
|
|
12
|
-
import
|
|
13
|
-
import './
|
|
8
|
+
import './index-e3787b20.js';
|
|
9
|
+
import './index-78255d6c.js';
|
|
10
|
+
import './useMantineLocale-4fb67342.js';
|
|
11
|
+
import { T as Text } from './index-c200bff6.js';
|
|
12
|
+
import './index-2b9213cf.js';
|
|
13
|
+
import { t as theme } from './theme-f18c2351.js';
|
|
14
|
+
import './translationsContext-f3d1a7bd.js';
|
|
14
15
|
import 'string-format';
|
|
15
16
|
import '@mantine/hooks';
|
|
16
|
-
import { M as MediaQueries } from './utils-
|
|
17
|
+
import { M as MediaQueries } from './utils-f8761b9d.js';
|
|
17
18
|
import styled from '@emotion/styled';
|
|
18
|
-
import { L as Logo } from './index-
|
|
19
|
-
import { M as MarryBabyText } from './index-
|
|
19
|
+
import { L as Logo } from './index-1ecbcf21.js';
|
|
20
|
+
import { M as MarryBabyText } from './index-87a2ea8c.js';
|
|
20
21
|
|
|
21
22
|
const StyledFooter$1 = styled.footer `
|
|
22
23
|
background-color: #1b3250;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-761239c7.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { createStyles, Text as Text$1 } from '@mantine/core';
|
|
4
|
-
import { O as OTHER_THEME_CONFIG, F as FontWeight } from './utils-
|
|
4
|
+
import { O as OTHER_THEME_CONFIG, F as FontWeight } from './utils-f8761b9d.js';
|
|
5
5
|
|
|
6
6
|
var useStyles = createStyles((theme, _params) => {
|
|
7
7
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-761239c7.js';
|
|
2
2
|
import React__default, { useMemo, useState, useEffect } from 'react';
|
|
3
|
-
import { L as LOCALE } from './index-
|
|
3
|
+
import { L as LOCALE } from './index-e3787b20.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { C as CommonGAssets } from './index-
|
|
6
|
-
import { t as theme } from './theme-
|
|
7
|
-
import { I as ImageWrap,
|
|
8
|
-
import { T as Text } from './index-
|
|
5
|
+
import { C as CommonGAssets } from './index-78255d6c.js';
|
|
6
|
+
import { t as theme } from './theme-f18c2351.js';
|
|
7
|
+
import { I as ImageWrap, d as CentralCarousel } from './index-21eac858.js';
|
|
8
|
+
import { T as Text } from './index-7e756cb8.js';
|
|
9
9
|
|
|
10
10
|
const StyledIconContainer = styled.div `
|
|
11
11
|
display: inline-flex;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { useMantineTheme } from '@mantine/core';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
-
import { t as theme } from './theme-
|
|
4
|
+
import { t as theme } from './theme-f18c2351.js';
|
|
5
5
|
|
|
6
6
|
const StyledDropdown = styled.div `
|
|
7
7
|
--dropdown-padding: 12px 18px 12px 16px;
|