@hhgtech/hhg-components 1.27.76 → 1.27.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-29a98a5e.js +1 -0
- package/build/{dataTransform-aea67247.js → dataTransform-e059c212.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +4 -4
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-76118e0d.js → core-44c4d5a7.js} +1 -1
- package/build/esm/{dataTransform-5949df7b.js → dataTransform-3ad49c0d.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/{fixedBottomAdBlock-535345f7.js → fixedBottomAdBlock-f9f4497f.js} +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-7453ae72.js → getDynamicHealthTool-cd934ae0.js} +1 -1
- package/build/esm/{getSocialList-b775d5ed.js → getSocialList-26f09669.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-b55076d8.js → index-03981da2.js} +1 -1
- package/build/esm/{index-c65c9fd2.js → index-0a6fa4cc.js} +2 -2
- package/build/esm/index-0ec9b0bd.js +53 -0
- package/build/esm/{index-44a40183.js → index-251ac76a.js} +6 -6
- package/build/esm/{index-e435900a.js → index-27b659b0.js} +1 -1
- package/build/esm/{index-13099f72.js → index-31476649.js} +1 -1
- package/build/esm/{index-23a4f40f.js → index-380302d6.js} +1 -1
- package/build/esm/{index-800718e2.js → index-3d8a6f49.js} +1 -1
- package/build/esm/index-42f49dee.js +1 -0
- package/build/esm/{index-06614e02.js → index-6df4978c.js} +1 -1
- package/build/esm/{index-d737fa66.js → index-80186250.js} +1 -1
- package/build/esm/index-841e9b1a.js +1 -0
- package/build/esm/{index-a862ef93.js → index-91137710.js} +1 -1
- package/build/esm/{index-795ed49f.js → index-9b827592.js} +1 -1
- package/build/esm/index-a13d5bc0.js +1 -0
- package/build/esm/index-a1d0e05c.js +1 -0
- package/build/esm/{index-f8f8f457.js → index-cc4ee537.js} +1 -1
- package/build/esm/{index-5921f524.js → index-d3af565f.js} +1 -1
- package/build/esm/{index-84c551f6.js → index-de89c6d8.js} +1 -1
- package/build/esm/{index-60865ae8.js → index-e48fba27.js} +1 -1
- package/build/esm/{index-d7f14a20.js → index-f50ae417.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-b17a2415.js → index.styled-4c6e37b0.js} +7 -7
- package/build/esm/index.styled-74e10a26.js +50 -0
- package/build/esm/{index.styled-d1af6a46.js → index.styled-82196312.js} +9 -9
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +1 -1
- package/build/esm/pwg.js +3 -3
- package/build/esm/{routing-6572230c.js → routing-9bd1c0cf.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-bacf34e2.js → types-556bc635.js} +1 -1
- package/build/esm/{types-d3029d09.js → types-df76e189.js} +81 -81
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-3e5103d3.js +1 -0
- package/build/esm/{useRafState-b3978423.js → useRafState-0e79cc14.js} +1 -1
- package/build/esm/useTranslations-f02eb191.js +1 -0
- package/build/esm/{utils-46fa0b74.js → utils-1f49154b.js} +1 -1
- package/build/esm/{utils-a40e61f1.js → utils-6d17f712.js} +1 -1
- package/build/esm/vaccination.js +5 -5
- package/build/{fixedBottomAdBlock-c331bdd5.js → fixedBottomAdBlock-f36f2f92.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-c4503e1c.js +1 -0
- package/build/{getSocialList-5f09a55b.js → getSocialList-07361dc7.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-102d7ba2.js → index-006ae7f1.js} +1 -1
- package/build/{index-1ec819cc.js → index-019502eb.js} +1 -1
- package/build/{index-9dceabe9.js → index-0f97c479.js} +1 -1
- package/build/{index-39ba4a88.js → index-282a8655.js} +1 -1
- package/build/{index-2f52117b.js → index-3e4d102c.js} +1 -1
- package/build/{index-89c81645.js → index-51014c3f.js} +1 -1
- package/build/{index-ecfba34f.js → index-57c98658.js} +1 -1
- package/build/{index-15fda270.js → index-5ba227ab.js} +1 -1
- package/build/{index-928fc97a.js → index-61b89b4b.js} +1 -1
- package/build/{index-51bd49be.js → index-668730c7.js} +1 -1
- package/build/{index-e1d38a49.js → index-8571b215.js} +1 -1
- package/build/{index-facb1a06.js → index-88ccb9bc.js} +1 -1
- package/build/{index-8cc18ebd.js → index-8f068d3c.js} +1 -1
- package/build/{index-20061432.js → index-942e90f7.js} +1 -1
- package/build/{index-a3b57299.js → index-a4f745f5.js} +1 -1
- package/build/{index-7833d40c.js → index-bdf6da0e.js} +2 -2
- package/build/{index-e910920c.js → index-def58b2f.js} +1 -1
- package/build/{index-dcb44ef9.js → index-e09f33ba.js} +1 -1
- package/build/{index-811c4cec.js → index-ecdde5af.js} +1 -1
- package/build/index-fcdcdc6a.js +1 -0
- package/build/{index-d687191c.js → index-fd8698af.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-ae410963.js → index.styled-049b5ca0.js} +1 -1
- package/build/{index.styled-59ecf213.js → index.styled-28001484.js} +1 -1
- package/build/index.styled-e9f80af4.js +50 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-041bddcd.js → routing-68d0b247.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-fcba9b22.js → types-c657ac6d.js} +3 -3
- package/build/{types-53067c13.js → types-df3f4e13.js} +1 -1
- package/build/types.js +1 -1
- package/build/useHealthToolCache-5c75347c.js +1 -0
- package/build/{useRafState-604e03c3.js → useRafState-f997f496.js} +1 -1
- package/build/{useTranslations-a55f1d22.js → useTranslations-95f1399d.js} +1 -1
- package/build/utils-67a028e4.js +1 -0
- package/build/{utils-fa92f01c.js → utils-d79de40e.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/core-c4716a73.js +0 -1
- package/build/esm/index-07cbc3e7.js +0 -1
- package/build/esm/index-33e52c6f.js +0 -53
- package/build/esm/index-8034d84f.js +0 -1
- package/build/esm/index-a7808541.js +0 -1
- package/build/esm/index-aa5a1fcf.js +0 -1
- package/build/esm/index.styled-014222dd.js +0 -50
- package/build/esm/useHealthToolCache-18375998.js +0 -1
- package/build/esm/useTranslations-39856f38.js +0 -1
- package/build/getDynamicHealthTool-2279cae3.js +0 -1
- package/build/index-76446297.js +0 -1
- package/build/index.styled-d150ad0d.js +0 -50
- package/build/useHealthToolCache-fe12ca57.js +0 -1
- package/build/utils-204fa3fa.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-914f5734.js → BMI_BOYS.percentile.monthly-5874e445.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-5e8fefa4.js → BMI_BOYS.percentile.weekly-4f0c485b.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-989b236f.js → BMI_BOYS.percentile.yearly-f2c3c180.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-0c14438f.js → BMI_BOYS.zscore.monthly-2f798678.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-5d6b12c0.js → BMI_BOYS.zscore.weekly-89b5f292.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-6aa095b5.js → BMI_BOYS.zscore.yearly-31653ef9.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-990ef8cf.js → BMI_GIRLS.percentile.monthly-8a149eac.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-8c81480d.js → BMI_GIRLS.percentile.weekly-f76157cc.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-1ca610c7.js → BMI_GIRLS.percentile.yearly-2169a0de.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-894348f8.js → BMI_GIRLS.zscore.monthly-e91267e9.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-4a67a8c1.js → BMI_GIRLS.zscore.weekly-190df407.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-bc7eee27.js → BMI_GIRLS.zscore.yearly-c28aa15d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4b4cf9fd.js → HEAD CIRCUM_BOYS.percentile.monthly-0c88fa9a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-5df546e3.js → HEAD CIRCUM_BOYS.percentile.weekly-11a67133.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-5119e173.js → HEAD CIRCUM_BOYS.percentile.yearly-7079101e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-5d6fce0c.js → HEAD CIRCUM_BOYS.zscore.monthly-6761b3ea.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-618074ff.js → HEAD CIRCUM_BOYS.zscore.weekly-f1756225.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-5c7cccc5.js → HEAD CIRCUM_BOYS.zscore.yearly-070044b4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d18170ba.js → HEAD CIRCUM_GIRLS.percentile.monthly-7ea24f4a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e0ee1816.js → HEAD CIRCUM_GIRLS.percentile.weekly-95a8468d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-7899652d.js → HEAD CIRCUM_GIRLS.percentile.yearly-8674723d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-d15eb1c6.js → HEAD CIRCUM_GIRLS.zscore.monthly-4cf4585d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-53c574ae.js → HEAD CIRCUM_GIRLS.zscore.weekly-72f407fd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-892c4776.js → HEAD CIRCUM_GIRLS.zscore.yearly-ae7c986a.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-c1e1753a.js → HEIGHT_BOYS.percentile.monthly-e934252c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-5215cc1c.js → HEIGHT_BOYS.percentile.weekly-36b2b67f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-4815cd78.js → HEIGHT_BOYS.percentile.yearly-840c33e6.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-0f4cf796.js → HEIGHT_BOYS.zscore.monthly-9b991e74.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-fbbd7b2e.js → HEIGHT_BOYS.zscore.weekly-e0e323e8.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-309e1081.js → HEIGHT_BOYS.zscore.yearly-ae9791b7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-d738829e.js → HEIGHT_GIRLS.percentile.monthly-2038ea42.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-d131bd73.js → HEIGHT_GIRLS.percentile.weekly-1c17f5ab.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-958f5d84.js → HEIGHT_GIRLS.percentile.yearly-1381b2f9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-d225e962.js → HEIGHT_GIRLS.zscore.monthly-1a3f7f80.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-9b2835fe.js → HEIGHT_GIRLS.zscore.weekly-a768d4ba.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-af6829a3.js → HEIGHT_GIRLS.zscore.yearly-fd0231dc.js} +0 -0
- /package/build/{Onboarding-db812105.js → Onboarding-0a35aa99.js} +0 -0
- /package/build/{Visible-df16febe.js → Visible-88f41d8d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-79fa2a56.js → WEIGHT_BOYS.percentile.monthly-360eead3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-12f5fbc2.js → WEIGHT_BOYS.percentile.weekly-929aee70.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-29f763f4.js → WEIGHT_BOYS.percentile.yearly-c217998d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-1379e747.js → WEIGHT_BOYS.zscore.monthly-945a065b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-924d54f2.js → WEIGHT_BOYS.zscore.weekly-57939d8c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-db1da36f.js → WEIGHT_BOYS.zscore.yearly-c0242a0e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-fc92c80b.js → WEIGHT_GIRLS.percentile.monthly-f422811d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-0d291b88.js → WEIGHT_GIRLS.percentile.weekly-2283c0f2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-a1d6b6b3.js → WEIGHT_GIRLS.percentile.yearly-d3e63ef9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-0fd62c0b.js → WEIGHT_GIRLS.zscore.monthly-f7172a03.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-6d8fefc8.js → WEIGHT_GIRLS.zscore.weekly-9bd8c5b4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-dc67d9d3.js → WEIGHT_GIRLS.zscore.yearly-8583c260.js} +0 -0
- /package/build/{constants-9c971977.js → constants-1040c4ad.js} +0 -0
- /package/build/{cookieHelper-20190c5b.js → cookieHelper-9efd7919.js} +0 -0
- /package/build/{dataTransform-e257595f.js → dataTransform-46bb19f8.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-05b76dff.js → BMI_BOYS.percentile.monthly-547e557b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-a35c2f96.js → BMI_BOYS.percentile.weekly-56f1bf64.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-89ca7379.js → BMI_BOYS.percentile.yearly-08153283.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-adf73ac0.js → BMI_BOYS.zscore.monthly-e1743d39.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-0d8caeba.js → BMI_BOYS.zscore.weekly-218e6d3b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-d7a4ca56.js → BMI_BOYS.zscore.yearly-607cc374.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-6c572d03.js → BMI_GIRLS.percentile.monthly-d83aa6f1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-cdb4493f.js → BMI_GIRLS.percentile.weekly-303de5b0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-b1c29108.js → BMI_GIRLS.percentile.yearly-c3487381.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-5f1ba1fa.js → BMI_GIRLS.zscore.monthly-239b7d45.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-c07176b3.js → BMI_GIRLS.zscore.weekly-5b0c5d24.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-b3fd78db.js → BMI_GIRLS.zscore.yearly-51737763.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-f893f68f.js → HEAD CIRCUM_BOYS.percentile.monthly-8ca3e98a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-165c6d6c.js → HEAD CIRCUM_BOYS.percentile.weekly-a09e6c9f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-efd09092.js → HEAD CIRCUM_BOYS.percentile.yearly-22456c92.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-c6e6d347.js → HEAD CIRCUM_BOYS.zscore.monthly-b831eed7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-5a5b94e9.js → HEAD CIRCUM_BOYS.zscore.weekly-1746ab2c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-4070a11a.js → HEAD CIRCUM_BOYS.zscore.yearly-4e918685.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-3976c360.js → HEAD CIRCUM_GIRLS.percentile.monthly-fb34a270.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-fe5bbf42.js → HEAD CIRCUM_GIRLS.percentile.weekly-bb427f3d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-600a3258.js → HEAD CIRCUM_GIRLS.percentile.yearly-ee0ef0c6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-4ae0aa15.js → HEAD CIRCUM_GIRLS.zscore.monthly-ad09e307.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6b0d245d.js → HEAD CIRCUM_GIRLS.zscore.weekly-5f3cea34.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-15ab2edc.js → HEAD CIRCUM_GIRLS.zscore.yearly-aac07d55.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-1ee49949.js → HEIGHT_BOYS.percentile.monthly-bbd8ec94.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-acdf9388.js → HEIGHT_BOYS.percentile.weekly-e7b984aa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-c48251fd.js → HEIGHT_BOYS.percentile.yearly-06c1e60d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-fda405a2.js → HEIGHT_BOYS.zscore.monthly-068a8a27.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-56249d82.js → HEIGHT_BOYS.zscore.weekly-eb7f3f06.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-23aed1e8.js → HEIGHT_BOYS.zscore.yearly-4ec316ec.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-bab23b18.js → HEIGHT_GIRLS.percentile.monthly-950d0ea5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-4fdff030.js → HEIGHT_GIRLS.percentile.weekly-78ad3c75.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-d292c9a5.js → HEIGHT_GIRLS.percentile.yearly-16cefac2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-e8097a34.js → HEIGHT_GIRLS.zscore.monthly-6fafd59a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-cd4fbb2c.js → HEIGHT_GIRLS.zscore.weekly-bbe5c85d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-afcf5910.js → HEIGHT_GIRLS.zscore.yearly-5f2ff241.js} +0 -0
- /package/build/esm/{Onboarding-08cc7302.js → Onboarding-43862b7b.js} +0 -0
- /package/build/esm/{Visible-b641d492.js → Visible-ec398164.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-5c61e95a.js → WEIGHT_BOYS.percentile.monthly-aff75784.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-441e7a55.js → WEIGHT_BOYS.percentile.weekly-32a8379a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-c6868f77.js → WEIGHT_BOYS.percentile.yearly-784be088.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-8b870484.js → WEIGHT_BOYS.zscore.monthly-183b855b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-09d00591.js → WEIGHT_BOYS.zscore.weekly-240f85cb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f47402e3.js → WEIGHT_BOYS.zscore.yearly-5353a9d5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-ab4fcd09.js → WEIGHT_GIRLS.percentile.monthly-99f8e410.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-b16c55af.js → WEIGHT_GIRLS.percentile.weekly-ae372739.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-4d01d736.js → WEIGHT_GIRLS.percentile.yearly-2d485623.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-dbfc67a3.js → WEIGHT_GIRLS.zscore.monthly-b187bcda.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-741c4a70.js → WEIGHT_GIRLS.zscore.weekly-0547fa9c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-8c7026ee.js → WEIGHT_GIRLS.zscore.yearly-29fc2ba0.js} +0 -0
- /package/build/esm/{constants-564f593e.js → constants-4164a332.js} +0 -0
- /package/build/esm/{cookieHelper-d0d1392b.js → cookieHelper-b5198ba7.js} +0 -0
- /package/build/esm/{dataTransform-6c281cd2.js → dataTransform-4798268a.js} +0 -0
- /package/build/esm/{index-c901af33.js → index-fdeb7f10.js} +0 -0
- /package/build/esm/{isProduction-28f89c19.js → isProduction-7fc869ed.js} +0 -0
- /package/build/esm/{localizeNumberFormat-1ca926e0.js → localizeNumberFormat-e9a22280.js} +0 -0
- /package/build/esm/{normalizeLink-f8b5d7d0.js → normalizeLink-a9e07d8c.js} +0 -0
- /package/build/esm/{paths-a641d10c.js → paths-392d2bdb.js} +0 -0
- /package/build/esm/{screenSizeContext-7f85dfc4.js → screenSizeContext-8144e3e5.js} +0 -0
- /package/build/esm/{theme-f74408a1.js → theme-a2a171b2.js} +0 -0
- /package/build/esm/{translationsContext-5483c365.js → translationsContext-2c7be8c0.js} +0 -0
- /package/build/esm/{tslib.es6-5020a074.js → tslib.es6-2e31dcb2.js} +0 -0
- /package/build/esm/{types-d1c76761.js → types-050ea401.js} +0 -0
- /package/build/esm/{useIsInit-5951cf15.js → useIsInit-89ffe85c.js} +0 -0
- /package/build/esm/{useOutsideClick-8e180ef3.js → useOutsideClick-07e69274.js} +0 -0
- /package/build/esm/{useScrollbarSize-f87e7c52.js → useScrollbarSize-aca76ea6.js} +0 -0
- /package/build/esm/{useUniqueId-e829fd66.js → useUniqueId-62cbb6d3.js} +0 -0
- /package/build/{index-f87aac98.js → index-615df44d.js} +0 -0
- /package/build/{isProduction-629fba62.js → isProduction-f892b978.js} +0 -0
- /package/build/{localizeNumberFormat-3bfc1c4b.js → localizeNumberFormat-9bccc072.js} +0 -0
- /package/build/{normalizeLink-d35cda22.js → normalizeLink-bd50251f.js} +0 -0
- /package/build/{paths-5760b908.js → paths-4281a119.js} +0 -0
- /package/build/{screenSizeContext-4958e54e.js → screenSizeContext-6f10e9b3.js} +0 -0
- /package/build/{theme-2f122010.js → theme-48d542a5.js} +0 -0
- /package/build/{translationsContext-6bc6d4eb.js → translationsContext-f2d68f9a.js} +0 -0
- /package/build/{tslib.es6-e717a934.js → tslib.es6-6b56e029.js} +0 -0
- /package/build/{types-a2e54951.js → types-feb2b3fe.js} +0 -0
- /package/build/{useIsInit-4e399e3e.js → useIsInit-46f59445.js} +0 -0
- /package/build/{useOutsideClick-28e8970d.js → useOutsideClick-76205435.js} +0 -0
- /package/build/{useScrollbarSize-36836d06.js → useScrollbarSize-13f27011.js} +0 -0
- /package/build/{useUniqueId-2694410c.js → useUniqueId-efa7ed8c.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./index-
|
|
1
|
+
"use strict";var e=require("./index-5ba227ab.js"),o=require("./isProduction-f892b978.js");exports.getCareApiDomain=()=>process.env.UNIFY_INTERNAL_CARE_API||process.env.UNIFY_CARE_API||`https://${o.isProduction?"health-care.":"service-health-care."}hellohealthgroup.com`,exports.getCurrentBaseUrl=(t,s)=>{if("undefined"!=typeof window)return window.location.origin;const r="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,i=!r&&!o.isProduction;return r?"http://localhost:3000":`https://${i?s?"fe.":"discover.":s?"www.":""}${e.domainLocales[s?"vi-VN_MB":t]}`},exports.getCurrentSsoUrl=(t,s)=>process.env.UNIFY_SSO_API||`https://${o.isProduction?"id.":"staging-id."}${e.domainLocales[s?"vi-VN_MB":t]}`,exports.getDiscoverApiDomain=t=>process.env.UNIFY_DISCOVER_API||`https://${o.isProduction?"wp.":"staging."}${e.domainLocales[t]}`,exports.getTogetherApiDomain=()=>process.env.UNIFY_INTERNAL_TOGETHER_API||process.env.UNIFY_TOGETHER_API||`https://${o.isProduction?"together.":"staging-together."}hellohealthgroup.com`;
|
package/build/together.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./types-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./types-df3f4e13.js"),r=require("./index.styled-049b5ca0.js"),t=require("./dataTransform-e059c212.js"),o=require("./utils-d79de40e.js");require("./tslib.es6-6b56e029.js"),require("react"),require("@mantine/core"),require("./index-e09f33ba.js"),require("styled-components"),require("./screenSizeContext-6f10e9b3.js"),require("lodash/throttle"),require("./index-3e4d102c.js"),require("./gAssets.js"),require("./index-5ba227ab.js"),require("date-fns/locale"),require("./Onboarding-0a35aa99.js"),require("./isProduction-f892b978.js"),require("./index-def58b2f.js"),require("@mantine/carousel"),require("@mantine/hooks"),require("./index-ecdde5af.js"),require("./index-51014c3f.js"),require("./index-a4f745f5.js"),require("./index-006ae7f1.js"),require("./theme-48d542a5.js"),require("dayjs"),require("./useUniqueId-efa7ed8c.js"),require("@mantine/dates"),require("./translationsContext-f2d68f9a.js"),require("string-format"),require("@hookform/resolvers/yup"),require("react-hook-form"),require("./index-88ccb9bc.js"),require("./useTranslations-95f1399d.js"),require("./index-019502eb.js"),require("date-fns"),require("./index-8571b215.js"),require("lodash/debounce"),require("./types-feb2b3fe.js"),require("react-day-picker/DayPickerInput"),require("innertext"),require("./index-61b89b4b.js"),require("./paths-4281a119.js"),require("./constants-1040c4ad.js"),require("react-contenteditable"),require("./cookieHelper-9efd7919.js"),require("react-dom"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./index.styled-e9f80af4.js"),require("uuid"),require("./utils-67a028e4.js"),require("dayjs/plugin/relativeTime"),require("./index-282a8655.js"),require("./routing-68d0b247.js"),require("react-keyed-flatten-children"),require("slugify"),exports.CardAuthor=e.CardAuthor,exports.CardLink=e.CardLink,exports.CardPost=e.CardPost,exports.CardPostPopoverMore=e.CardPostPopoverMore,exports.CardReactions=e.CardReactions,exports.CardReply=e.CardReply,exports.CardReplyPopover=e.CardReplyPopover,exports.CreateNewPostContent=e.CreateNewPostContent,exports.CreatePostDescription=e.CreatePostDescription,exports.CreatePostTitle=e.CreatePostTitle,exports.ImagePreviewPopup=e.ImagePreviewPopup,exports.InputCommentBar=e.InputCommentBar,exports.LabelPin=e.LabelPin,exports.LabelSortPin=e.LabelSortPin,exports.LabelSorting=e.LabelSorting,exports.Loading=e.Loading,exports.PopoverMenu=e.PopoverMenu,exports.PopupDanger=e.PopupDanger,exports.PopupDoctor=e.PopupDoctor,exports.PopupExpert=e.PopupExpert,exports.PopupFrame=e.PopupFrame,exports.PopupHospital=e.PopupHospital,exports.PostContent=e.PostContent,exports.PostImagePreview=e.PostImagePreview,exports.PostSingleImageViewPopup=e.PostSingleImageViewPopup,exports.ProfileDetail=e.ProfileDetail,exports.ProfileDetailModal=e.ProfileDetailModal,exports.ShareBox=e.ShareBox,exports.SharePopup=e.SharePopup,exports.SkipQuestionOfExpertBtn=e.SkipQuestionOfExpertBtn,exports.SocialLinkPreview=e.SocialLinkPreview,exports.SourceList=e.SourceList,exports.SubmitReportForm=e.SubmitReportForm,Object.defineProperty(exports,"TabNameInProfileDetail",{enumerable:!0,get:function(){return e.TabName}}),exports.TagTopic=e.TagTopic,exports.TogetherAuthConfigContext=e.TogetherAuthConfigContext,exports.TogetherAuthConfigContextProvider=e.TogetherAuthConfigContextProvider,exports.TogetherTypes=e.types,exports.TopicSelectList=e.TopicSelectList,exports.VerifiedTag=e.VerifiedTag,exports.useTogetherAuthRequiredAction=e.useTogetherAuthRequiredAction,exports.UserAvatar=r.UserAvatar,exports.TogetherDataTransforms=t.dataTransform,exports.DefaultComponentGlobalContextData=o.DefaultComponentGlobalContextData,Object.defineProperty(exports,"GlobalData",{enumerable:!0,get:function(){return o.GlobalData}}),exports.TogetherComponentGlobalContext=o.TogetherComponentGlobalContext,exports.TogetherComponentGlobalContextProvider=o.TogetherComponentGlobalContextProvider,exports.TogetherConstants=o.constants;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6b56e029.js"),t=require("react"),a=require("./useTranslations-95f1399d.js"),i=require("lodash/debounce"),o=require("./constants-1040c4ad.js"),l=require("./index-a4f745f5.js"),n=require("styled-components"),s=require("./index-ecdde5af.js"),r=require("./theme-48d542a5.js"),c=require("./screenSizeContext-6f10e9b3.js"),d=require("react-loading-skeleton"),u=require("lodash/shuffle"),p=require("./useOutsideClick-76205435.js"),h=require("./paths-4281a119.js"),g=require("@mantine/core"),f=require("./index-5ba227ab.js"),m=require("./cookieHelper-9efd7919.js"),C=require("./index-006ae7f1.js"),b=require("string-format");function y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function v(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var i=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,i.get?i:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}var x=v(t),E=y(t),S=y(i),w=y(n),L=y(d),O=y(u),k=y(b);const I=e=>x.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),x.createElement("path",{d:"M7.99969 9.38055L5.45236 6.83322C5.17636 6.55722 4.72836 6.55722 4.45236 6.83322C4.17636 7.10922 4.17636 7.55722 4.45236 7.83322L7.52836 10.9092C7.78903 11.1699 8.21103 11.1699 8.47103 10.9092L11.547 7.83322C11.823 7.55722 11.823 7.10922 11.547 6.83322C11.271 6.55722 10.823 6.55722 10.547 6.83322L7.99969 9.38055Z"}));function T(){const[e,a]=t.useState((()=>{if("undefined"==typeof window)return"unset";if(m.getCookie(f.USER_GEOLOCATION_COORDINATES_COOKIE))return"granted";const e=!location.protocol.includes("https")&&"localhost"!==location.hostname;return!navigator.geolocation||e?"denied":"unset"})),[i,o]=t.useState((()=>{if("undefined"==typeof window)return null;const e=m.getCookie(f.USER_GEOLOCATION_COORDINATES_COOKIE);if(e)try{return JSON.parse(e)}catch(e){console.log(e)}return null})),l=t.useCallback((function(){navigator.geolocation&&navigator.geolocation.getCurrentPosition((e=>{const t={lat:""+Math.round(1e7*e.coords.latitude)/1e7,lng:""+Math.round(1e7*e.coords.longitude)/1e7};m.setCookie(f.USER_GEOLOCATION_COORDINATES_COOKIE,JSON.stringify(t),{minutes:15}),o(t),a("granted")}),(()=>{m.deleteCookie(f.USER_GEOLOCATION_COORDINATES_COOKIE),a("denied")}))}),[]);return t.useMemo((()=>({geoLocationPermission:e,geoLocationCoordinates:i,requestGeoLocation:l})),[e,i])}const j=w.default.div``,M=w.default.div`
|
|
2
2
|
--searchbar-z-index: 305;
|
|
3
3
|
&[data-is-modal='true'] {
|
|
4
4
|
position: fixed;
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
background-color: ${r.theme.colors.neutral50};
|
|
341
341
|
padding-bottom: 10px;
|
|
342
342
|
${c.MediaQueries.mbDown} {
|
|
343
|
-
padding: 0 16px;
|
|
343
|
+
padding: 0 16px 10px;
|
|
344
344
|
}
|
|
345
345
|
`,Xe=w.default(C.Container)`
|
|
346
346
|
padding: 30px 56px;
|
|
@@ -558,7 +558,7 @@
|
|
|
558
558
|
`;w.default(_)`
|
|
559
559
|
width: 12px;
|
|
560
560
|
height: 18px;
|
|
561
|
-
`;const ft=()=>E.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},E.default.createElement("path",{d:"M8.98307 14.3333C7.87196 14.3333 6.92752 13.9445 6.14974 13.1667C5.37196 12.3889 4.98307 11.4445 4.98307 10.3333V9.96668C4.08307 9.85557 3.33041 9.45557 2.72507 8.76668C2.1193 8.07779 1.81641 7.26668 1.81641 6.33334V3.10001C1.81641 2.93334 1.87463 2.79157 1.99107 2.67468C2.10796 2.55823 2.24974 2.50001 2.41641 2.50001H3.81641V2.33334C3.81641 2.1889 3.86374 2.06934 3.95841 1.97468C4.05263 1.88045 4.17196 1.83334 4.31641 1.83334C4.46085 1.83334 4.58041 1.88045 4.67507 1.97468C4.7693 2.06934 4.81641 2.1889 4.81641 2.33334V3.66668C4.81641 3.81112 4.7693 3.93045 4.67507 4.02468C4.58041 4.11934 4.46085 4.16668 4.31641 4.16668C4.17196 4.16668 4.05263 4.11934 3.95841 4.02468C3.86374 3.93045 3.81641 3.81112 3.81641 3.66668V3.50001H2.81641V6.33334C2.81641 7.06668 3.07752 7.69445 3.59974 8.21668C4.12196 8.7389 4.74974 9.00001 5.48307 9.00001C6.21641 9.00001 6.84418 8.7389 7.36641 8.21668C7.88863 7.69445 8.14974 7.06668 8.14974 6.33334V3.50001H7.14974V3.66668C7.14974 3.81112 7.10263 3.93045 7.00841 4.02468C6.91374 4.11934 6.79418 4.16668 6.64974 4.16668C6.5053 4.16668 6.38596 4.11934 6.29174 4.02468C6.19707 3.93045 6.14974 3.81112 6.14974 3.66668V2.33334C6.14974 2.1889 6.19707 2.06934 6.29174 1.97468C6.38596 1.88045 6.5053 1.83334 6.64974 1.83334C6.79418 1.83334 6.91374 1.88045 7.00841 1.97468C7.10263 2.06934 7.14974 2.1889 7.14974 2.33334V2.50001H8.54974C8.71641 2.50001 8.85818 2.55823 8.97507 2.67468C9.09152 2.79157 9.14974 2.93334 9.14974 3.10001V6.33334C9.14974 7.26668 8.84707 8.07779 8.24174 8.76668C7.63596 9.45557 6.88307 9.85557 5.98307 9.96668V10.3333C5.98307 11.1667 6.27485 11.8751 6.85841 12.4587C7.44152 13.0418 8.14974 13.3333 8.98307 13.3333C9.81641 13.3333 10.5249 13.0418 11.1084 12.4587C11.6915 11.8751 11.9831 11.1667 11.9831 10.3333V9.25001C11.6386 9.1389 11.3526 8.93601 11.1251 8.64134C10.8971 8.34712 10.7831 8.01112 10.7831 7.63334C10.7831 7.15557 10.9497 6.75001 11.2831 6.41668C11.6164 6.08334 12.0164 5.91668 12.4831 5.91668C12.9609 5.91668 13.3664 6.08334 13.6997 6.41668C14.0331 6.75001 14.1997 7.15557 14.1997 7.63334C14.1997 8.01112 14.086 8.34712 13.8584 8.64134C13.6304 8.93601 13.3386 9.1389 12.9831 9.25001V10.3333C12.9831 11.4445 12.5942 12.3889 11.8164 13.1667C11.0386 13.9445 10.0942 14.3333 8.98307 14.3333ZM12.4831 8.33334C12.6831 8.33334 12.8526 8.26401 12.9917 8.12534C13.1304 7.98623 13.1997 7.82223 13.1997 7.63334C13.1997 7.43334 13.1304 7.26401 12.9917 7.12534C12.8526 6.98623 12.6831 6.91668 12.4831 6.91668C12.2831 6.91668 12.1164 6.98623 11.9831 7.12534C11.8497 7.26401 11.7831 7.43334 11.7831 7.63334C11.7831 7.82223 11.8497 7.98623 11.9831 8.12534C12.1164 8.26401 12.2831 8.33334 12.4831 8.33334Z",fill:"#595959"})),mt=()=>E.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},E.default.createElement("path",{d:"M6.86836 9.26489V10.2386C6.86836 10.509 6.96294 10.7389 7.15209 10.9283C7.34124 11.1176 7.57093 11.2122 7.84114 11.2122C8.11135 11.2122 8.34133 11.1176 8.53106 10.9283C8.7208 10.7389 8.81567 10.509 8.81567 10.2386V9.26489H9.78936C10.0598 9.26489 10.2897 9.17031 10.479 8.98116C10.6684 8.79201 10.763 8.56233 10.763 8.29211C10.763 8.0219 10.6684 7.79192 10.479 7.60219C10.2897 7.41245 10.0598 7.31758 9.78936 7.31758H8.81567V6.34389C8.81567 6.07343 8.72109 5.84354 8.53194 5.65422C8.34279 5.4649 8.11311 5.37024 7.84289 5.37024C7.57268 5.37024 7.3427 5.4649 7.15297 5.65422C6.96323 5.84354 6.86836 6.07343 6.86836 6.34389V7.31758H5.89467C5.62421 7.31758 5.39432 7.41216 5.205 7.60131C5.01568 7.79046 4.92102 8.02014 4.92102 8.29036C4.92102 8.56057 5.01568 8.79055 5.205 8.98028C5.39432 9.17002 5.62421 9.26489 5.89467 9.26489H6.86836ZM3.40809 14.1333C3.02086 14.1333 2.68938 13.9954 2.41364 13.7196C2.13788 13.4439 2 13.1124 2 12.7252V6.07426C2 5.85132 2.04987 5.64011 2.14961 5.44063C2.24936 5.24116 2.38723 5.07689 2.56323 4.94782L6.99718 1.61486C7.24323 1.42712 7.52444 1.33325 7.84081 1.33325C8.15718 1.33325 8.43919 1.42712 8.68685 1.61486L13.1208 4.94782C13.2968 5.07689 13.4347 5.24116 13.5344 5.44063C13.6342 5.64011 13.684 5.85132 13.684 6.07426V12.7252C13.684 13.1124 13.5462 13.4439 13.2704 13.7196C12.9947 13.9954 12.6632 14.1333 12.2759 14.1333H3.40809ZM3.40809 12.9649H12.2759C12.3459 12.9649 12.4033 12.9424 12.4482 12.8974C12.4932 12.8525 12.5156 12.7951 12.5156 12.7252V6.07426C12.5156 6.03431 12.5069 5.99811 12.4894 5.96566C12.4719 5.9332 12.4482 5.90449 12.4183 5.87953L7.98433 2.55406C7.94438 2.51911 7.89694 2.50164 7.84202 2.50164C7.78709 2.50164 7.73965 2.51911 7.69971 2.55406L3.26576 5.87953C3.2358 5.90449 3.21209 5.9332 3.1946 5.96566C3.17712 5.99811 3.16839 6.03431 3.16839 6.07426V12.7252C3.16839 12.7951 3.19086 12.8525 3.2358 12.8974C3.28075 12.9424 3.33818 12.9649 3.40809 12.9649Z",fill:"#595959"})),Ct=()=>E.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},E.default.createElement("path",{d:"M7.99984 8.00004C8.3665 8.00004 8.68039 7.86949 8.9415 7.60837C9.20261 7.34726 9.33317 7.03337 9.33317 6.66671C9.33317 6.30004 9.20261 5.98615 8.9415 5.72504C8.68039 5.46393 8.3665 5.33337 7.99984 5.33337C7.63317 5.33337 7.31928 5.46393 7.05817 5.72504C6.79706 5.98615 6.6665 6.30004 6.6665 6.66671C6.6665 7.03337 6.79706 7.34726 7.05817 7.60837C7.31928 7.86949 7.63317 8.00004 7.99984 8.00004ZM7.99984 12.9C9.35539 11.6556 10.3609 10.525 11.0165 9.50837C11.6721 8.49171 11.9998 7.58893 11.9998 6.80004C11.9998 5.58893 11.6137 4.59726 10.8415 3.82504C10.0693 3.05282 9.12206 2.66671 7.99984 2.66671C6.87761 2.66671 5.93039 3.05282 5.15817 3.82504C4.38595 4.59726 3.99984 5.58893 3.99984 6.80004C3.99984 7.58893 4.32761 8.49171 4.98317 9.50837C5.63873 10.525 6.64428 11.6556 7.99984 12.9ZM7.99984 14.4167C7.91095 14.4167 7.82206 14.4 7.73317 14.3667C7.64428 14.3334 7.5665 14.2889 7.49984 14.2334C5.87761 12.8 4.6665 11.4695 3.8665 10.2417C3.0665 9.01393 2.6665 7.86671 2.6665 6.80004C2.6665 5.13337 3.20261 3.8056 4.27484 2.81671C5.34706 1.82782 6.58873 1.33337 7.99984 1.33337C9.41095 1.33337 10.6526 1.82782 11.7248 2.81671C12.7971 3.8056 13.3332 5.13337 13.3332 6.80004C13.3332 7.86671 12.9332 9.01393 12.1332 10.2417C11.3332 11.4695 10.1221 12.8 8.49984 14.2334C8.43317 14.2889 8.35539 14.3334 8.2665 14.3667C8.17761 14.4 8.08873 14.4167 7.99984 14.4167Z",fill:"#8C8C8C"})),bt=()=>E.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16"},E.default.createElement("path",{d:"M3.83333 0.5C2.94928 0.5 2.10143 0.851189 1.47631 1.47631C0.851189 2.10143 0.5 2.94928 0.5 3.83333C0.5 4.71739 0.851189 5.56523 1.47631 6.19036C2.10143 6.81548 2.94928 7.16667 3.83333 7.16667C4.71739 7.16667 5.56523 6.81548 6.19036 6.19036C6.81548 5.56523 7.16667 4.71739 7.16667 3.83333C7.16667 2.94928 6.81548 2.10143 6.19036 1.47631C5.56523 0.851189 4.71739 0.5 3.83333 0.5V0.5ZM10.5 0.5C9.57917 0.5 8.83333 1.24583 8.83333 2.16667V5.5C8.83333 6.42083 9.57917 7.16667 10.5 7.16667H13.8333C14.7542 7.16667 15.5 6.42083 15.5 5.5V2.16667C15.5 1.24583 14.7542 0.5 13.8333 0.5H10.5ZM3.83333 8.83333C2.94928 8.83333 2.10143 9.18452 1.47631 9.80964C0.851189 10.4348 0.5 11.2826 0.5 12.1667C0.5 13.0507 0.851189 13.8986 1.47631 14.5237C2.10143 15.1488 2.94928 15.5 3.83333 15.5C4.71739 15.5 5.56523 15.1488 6.19036 14.5237C6.81548 13.8986 7.16667 13.0507 7.16667 12.1667C7.16667 11.2826 6.81548 10.4348 6.19036 9.80964C5.56523 9.18452 4.71739 8.83333 3.83333 8.83333V8.83333ZM12.1667 8.83333C11.2826 8.83333 10.4348 9.18452 9.80964 9.80964C9.18452 10.4348 8.83333 11.2826 8.83333 12.1667C8.83333 13.0507 9.18452 13.8986 9.80964 14.5237C10.4348 15.1488 11.2826 15.5 12.1667 15.5C13.0507 15.5 13.8986 15.1488 14.5237 14.5237C15.1488 13.8986 15.5 13.0507 15.5 12.1667C15.5 11.2826 15.1488 10.4348 14.5237 9.80964C13.8986 9.18452 13.0507 8.83333 12.1667 8.83333V8.83333Z",fill:"#9AA2AC"})),yt=({state:e,isMobile:i,debouncedFetchSearchResults:l,selectedLocation:n,onSpecialtyClick:r,dispatch:c})=>{var d;const{t:u,locale:h}=a.useTranslations(),f=t.useRef(null),m=t.useMemo((()=>o.LOCALIZED_SLUGS[h]),[h]),C=t.useMemo((()=>({wrapper:{"&:after":{content:'""',width:"1px",height:"20px",backgroundColor:"#E4E8EC",position:"absolute",right:0,top:"13px"}},input:{border:i?"border: 1px solid #d9d9d9":"none",height:i?"40px":"46px !important",paddingRight:"30px","&:focus":{boxShadow:i?"box-shadow: 0px 0px 0px 2px #91caff":"none"}},rightSection:{width:"30px",svg:{fontSize:"20px"}}})),[i]),b=t.useCallback((function(e){console.log(e)}),[l,c]);return p.useOutsideClick(f,(()=>{c({type:at.ClickOutsideInputSpecialty})})),E.default.createElement(pt,{ref:f},E.default.createElement(g.Input.Wrapper,null,E.default.createElement(g.Input,{size:i?"md":"lg",placeholder:u("booking.searchPopup.specialties"),value:(null===(d=null==e?void 0:e.selectedSpecialty)||void 0===d?void 0:d.name)||"",rightSection:E.default.createElement(I,null),styles:C,onFocus:()=>c({type:at.FocusInputSpecialty}),onChange:e=>{b(e.target.value)}})),"specialty"===e.focused&&E.default.createElement(ht,null,E.default.createElement(gt,{key:"all-location",role:"button",tabIndex:0,onClick:()=>{r&&r({name:u("booking.searchBar.allSpecialties"),id:-1,thumbnail:"",total_doctor:0,slug:m.SPECIALTIES})}},E.default.createElement("div",{className:"image-item"},E.default.createElement(bt,null)),E.default.createElement(s.Text,{size:"md"},u("booking.searchBar.allSpecialties"))),e.allSpecialties.map((e=>E.default.createElement(gt,{key:e.id,onClick:t=>{t.nativeEvent.stopImmediatePropagation(),r&&r(Object.assign(Object.assign({},e),{total_doctor:0}))},role:"button",tabIndex:0,"aria-label":`Select ${e.name} as location`,isSelected:(null==n?void 0:n.id)===e.id},E.default.createElement("div",{className:"image-item"},E.default.createElement("img",{src:e.thumbnail,alt:e.name})),E.default.createElement(s.Text,{size:"md"},e.name))))))},vt=({state:e,type:i,isMobile:o,isLoading:l,initalSearchValue:n,typeInformation:s,debouncedFetchSearchResults:r,trackingAttributes:c,focusSearchInput:d,onSearch:u,dispatch:h})=>{var f;const{t:m}=a.useTranslations(),b=t.useRef(null),y=t.useMemo((()=>c?{"data-event-category":c.dataEventCategory,"data-event-action":c.dataEventAction,"data-event-label":c.dataEventLabel}:{}),[c]),v=t.useMemo((()=>"doctor"===i?m("booking.searchBar.placeholder.doctor"):"service"===i?m("booking.searchBar.placeholder.service"):"hospital"===i?m("booking.searchBar.placeholder.hospital"):"specialty"===i?m("booking.searchBar.placeholder.specialty"):""),[i]),x=t.useMemo((()=>({root:{flex:1}})),[]),S=t.useMemo((()=>({icon:{left:"165px"},input:{color:"#262626",'&[data-with-icon="true"]':{paddingLeft:"205px",paddingRight:"16px"}},rightSection:{left:0,width:"165px",padding:"1px"}})),[]),w=t.useMemo((()=>({input:{color:"#262626"}})),[]);p.useOutsideClick(b,(()=>{h({type:at.ClickOutsideInputSearch})}));const L=t.useCallback((function(t){h({type:at.ChangeInputSearch,payload:t}),"function"!=typeof u&&(t.trim().length>et[e.locale]||n||0===t.trim().length?r(t.trim(),e,i):(r.cancel(),h({type:at.DisplayInitialSearchResults})))}),[h,e,i]),O=t.useCallback((function(e){h({type:at.SelectSpecialty,payload:e}),d()}),[h]);return E.default.createElement(lt,{ref:b},"specialty"===i?E.default.createElement(g.Input.Wrapper,{styles:x},E.default.createElement(g.Input,{icon:E.default.createElement(C.Icon.Search,null),size:o?"md":"lg",placeholder:v,styles:w,value:e.searchKeywords,onFocus:()=>h({type:at.FocusInputSearchSpecialty}),onChange:e=>{L(e.target.value)}})):E.default.createElement(E.default.Fragment,null,"service"===i?E.default.createElement(g.Input.Wrapper,{styles:x},E.default.createElement(g.Input,{icon:E.default.createElement(C.Icon.Search,null),size:o?"md":"lg",placeholder:v,onFocus:()=>h({type:at.FocusInputSearch}),value:e.searchKeywords,onChange:e=>{L(e.target.value)}})):E.default.createElement(E.default.Fragment,null,o?E.default.createElement(E.default.Fragment,null,E.default.createElement(yt,{state:e,isMobile:o,dispatch:h,debouncedFetchSearchResults:r,onSpecialtyClick:O}),E.default.createElement(g.Input.Wrapper,{styles:x},E.default.createElement(g.Input,{icon:E.default.createElement(C.Icon.Search,null),size:"md",placeholder:v,value:e.searchKeywords,onFocus:()=>h({type:at.FocusInputSearch}),onChange:e=>{L(e.target.value)}}))):E.default.createElement(g.Input.Wrapper,{styles:x},E.default.createElement(g.Input,Object.assign({icon:E.default.createElement(C.Icon.Search,null),size:"lg",placeholder:v,styles:S,name:"search-results",autoComplete:"off",value:e.searchKeywords,onChange:e=>{L(e.target.value)},onFocus:()=>h({type:at.FocusInputSearch})},y,{rightSection:E.default.createElement(yt,{state:e,isMobile:o,dispatch:h,debouncedFetchSearchResults:r,onSpecialtyClick:O})})))),"search"===e.focused&&E.default.createElement(nt,null,E.default.createElement(ut,{type:i,state:e,results:(null===(f=e.searchResults)||void 0===f?void 0:f[i])||[],location:e.selectedLocation.name,dispatch:h,isLoading:l,typeInformation:s}))))},xt=w.default.div`
|
|
561
|
+
`;const ft=()=>E.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},E.default.createElement("path",{d:"M8.98307 14.3333C7.87196 14.3333 6.92752 13.9445 6.14974 13.1667C5.37196 12.3889 4.98307 11.4445 4.98307 10.3333V9.96668C4.08307 9.85557 3.33041 9.45557 2.72507 8.76668C2.1193 8.07779 1.81641 7.26668 1.81641 6.33334V3.10001C1.81641 2.93334 1.87463 2.79157 1.99107 2.67468C2.10796 2.55823 2.24974 2.50001 2.41641 2.50001H3.81641V2.33334C3.81641 2.1889 3.86374 2.06934 3.95841 1.97468C4.05263 1.88045 4.17196 1.83334 4.31641 1.83334C4.46085 1.83334 4.58041 1.88045 4.67507 1.97468C4.7693 2.06934 4.81641 2.1889 4.81641 2.33334V3.66668C4.81641 3.81112 4.7693 3.93045 4.67507 4.02468C4.58041 4.11934 4.46085 4.16668 4.31641 4.16668C4.17196 4.16668 4.05263 4.11934 3.95841 4.02468C3.86374 3.93045 3.81641 3.81112 3.81641 3.66668V3.50001H2.81641V6.33334C2.81641 7.06668 3.07752 7.69445 3.59974 8.21668C4.12196 8.7389 4.74974 9.00001 5.48307 9.00001C6.21641 9.00001 6.84418 8.7389 7.36641 8.21668C7.88863 7.69445 8.14974 7.06668 8.14974 6.33334V3.50001H7.14974V3.66668C7.14974 3.81112 7.10263 3.93045 7.00841 4.02468C6.91374 4.11934 6.79418 4.16668 6.64974 4.16668C6.5053 4.16668 6.38596 4.11934 6.29174 4.02468C6.19707 3.93045 6.14974 3.81112 6.14974 3.66668V2.33334C6.14974 2.1889 6.19707 2.06934 6.29174 1.97468C6.38596 1.88045 6.5053 1.83334 6.64974 1.83334C6.79418 1.83334 6.91374 1.88045 7.00841 1.97468C7.10263 2.06934 7.14974 2.1889 7.14974 2.33334V2.50001H8.54974C8.71641 2.50001 8.85818 2.55823 8.97507 2.67468C9.09152 2.79157 9.14974 2.93334 9.14974 3.10001V6.33334C9.14974 7.26668 8.84707 8.07779 8.24174 8.76668C7.63596 9.45557 6.88307 9.85557 5.98307 9.96668V10.3333C5.98307 11.1667 6.27485 11.8751 6.85841 12.4587C7.44152 13.0418 8.14974 13.3333 8.98307 13.3333C9.81641 13.3333 10.5249 13.0418 11.1084 12.4587C11.6915 11.8751 11.9831 11.1667 11.9831 10.3333V9.25001C11.6386 9.1389 11.3526 8.93601 11.1251 8.64134C10.8971 8.34712 10.7831 8.01112 10.7831 7.63334C10.7831 7.15557 10.9497 6.75001 11.2831 6.41668C11.6164 6.08334 12.0164 5.91668 12.4831 5.91668C12.9609 5.91668 13.3664 6.08334 13.6997 6.41668C14.0331 6.75001 14.1997 7.15557 14.1997 7.63334C14.1997 8.01112 14.086 8.34712 13.8584 8.64134C13.6304 8.93601 13.3386 9.1389 12.9831 9.25001V10.3333C12.9831 11.4445 12.5942 12.3889 11.8164 13.1667C11.0386 13.9445 10.0942 14.3333 8.98307 14.3333ZM12.4831 8.33334C12.6831 8.33334 12.8526 8.26401 12.9917 8.12534C13.1304 7.98623 13.1997 7.82223 13.1997 7.63334C13.1997 7.43334 13.1304 7.26401 12.9917 7.12534C12.8526 6.98623 12.6831 6.91668 12.4831 6.91668C12.2831 6.91668 12.1164 6.98623 11.9831 7.12534C11.8497 7.26401 11.7831 7.43334 11.7831 7.63334C11.7831 7.82223 11.8497 7.98623 11.9831 8.12534C12.1164 8.26401 12.2831 8.33334 12.4831 8.33334Z",fill:"#595959"})),mt=()=>E.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},E.default.createElement("path",{d:"M6.86836 9.26489V10.2386C6.86836 10.509 6.96294 10.7389 7.15209 10.9283C7.34124 11.1176 7.57093 11.2122 7.84114 11.2122C8.11135 11.2122 8.34133 11.1176 8.53106 10.9283C8.7208 10.7389 8.81567 10.509 8.81567 10.2386V9.26489H9.78936C10.0598 9.26489 10.2897 9.17031 10.479 8.98116C10.6684 8.79201 10.763 8.56233 10.763 8.29211C10.763 8.0219 10.6684 7.79192 10.479 7.60219C10.2897 7.41245 10.0598 7.31758 9.78936 7.31758H8.81567V6.34389C8.81567 6.07343 8.72109 5.84354 8.53194 5.65422C8.34279 5.4649 8.11311 5.37024 7.84289 5.37024C7.57268 5.37024 7.3427 5.4649 7.15297 5.65422C6.96323 5.84354 6.86836 6.07343 6.86836 6.34389V7.31758H5.89467C5.62421 7.31758 5.39432 7.41216 5.205 7.60131C5.01568 7.79046 4.92102 8.02014 4.92102 8.29036C4.92102 8.56057 5.01568 8.79055 5.205 8.98028C5.39432 9.17002 5.62421 9.26489 5.89467 9.26489H6.86836ZM3.40809 14.1333C3.02086 14.1333 2.68938 13.9954 2.41364 13.7196C2.13788 13.4439 2 13.1124 2 12.7252V6.07426C2 5.85132 2.04987 5.64011 2.14961 5.44063C2.24936 5.24116 2.38723 5.07689 2.56323 4.94782L6.99718 1.61486C7.24323 1.42712 7.52444 1.33325 7.84081 1.33325C8.15718 1.33325 8.43919 1.42712 8.68685 1.61486L13.1208 4.94782C13.2968 5.07689 13.4347 5.24116 13.5344 5.44063C13.6342 5.64011 13.684 5.85132 13.684 6.07426V12.7252C13.684 13.1124 13.5462 13.4439 13.2704 13.7196C12.9947 13.9954 12.6632 14.1333 12.2759 14.1333H3.40809ZM3.40809 12.9649H12.2759C12.3459 12.9649 12.4033 12.9424 12.4482 12.8974C12.4932 12.8525 12.5156 12.7951 12.5156 12.7252V6.07426C12.5156 6.03431 12.5069 5.99811 12.4894 5.96566C12.4719 5.9332 12.4482 5.90449 12.4183 5.87953L7.98433 2.55406C7.94438 2.51911 7.89694 2.50164 7.84202 2.50164C7.78709 2.50164 7.73965 2.51911 7.69971 2.55406L3.26576 5.87953C3.2358 5.90449 3.21209 5.9332 3.1946 5.96566C3.17712 5.99811 3.16839 6.03431 3.16839 6.07426V12.7252C3.16839 12.7951 3.19086 12.8525 3.2358 12.8974C3.28075 12.9424 3.33818 12.9649 3.40809 12.9649Z",fill:"#595959"})),Ct=()=>E.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},E.default.createElement("path",{d:"M7.99984 8.00004C8.3665 8.00004 8.68039 7.86949 8.9415 7.60837C9.20261 7.34726 9.33317 7.03337 9.33317 6.66671C9.33317 6.30004 9.20261 5.98615 8.9415 5.72504C8.68039 5.46393 8.3665 5.33337 7.99984 5.33337C7.63317 5.33337 7.31928 5.46393 7.05817 5.72504C6.79706 5.98615 6.6665 6.30004 6.6665 6.66671C6.6665 7.03337 6.79706 7.34726 7.05817 7.60837C7.31928 7.86949 7.63317 8.00004 7.99984 8.00004ZM7.99984 12.9C9.35539 11.6556 10.3609 10.525 11.0165 9.50837C11.6721 8.49171 11.9998 7.58893 11.9998 6.80004C11.9998 5.58893 11.6137 4.59726 10.8415 3.82504C10.0693 3.05282 9.12206 2.66671 7.99984 2.66671C6.87761 2.66671 5.93039 3.05282 5.15817 3.82504C4.38595 4.59726 3.99984 5.58893 3.99984 6.80004C3.99984 7.58893 4.32761 8.49171 4.98317 9.50837C5.63873 10.525 6.64428 11.6556 7.99984 12.9ZM7.99984 14.4167C7.91095 14.4167 7.82206 14.4 7.73317 14.3667C7.64428 14.3334 7.5665 14.2889 7.49984 14.2334C5.87761 12.8 4.6665 11.4695 3.8665 10.2417C3.0665 9.01393 2.6665 7.86671 2.6665 6.80004C2.6665 5.13337 3.20261 3.8056 4.27484 2.81671C5.34706 1.82782 6.58873 1.33337 7.99984 1.33337C9.41095 1.33337 10.6526 1.82782 11.7248 2.81671C12.7971 3.8056 13.3332 5.13337 13.3332 6.80004C13.3332 7.86671 12.9332 9.01393 12.1332 10.2417C11.3332 11.4695 10.1221 12.8 8.49984 14.2334C8.43317 14.2889 8.35539 14.3334 8.2665 14.3667C8.17761 14.4 8.08873 14.4167 7.99984 14.4167Z",fill:"#8C8C8C"})),bt=()=>E.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16"},E.default.createElement("path",{d:"M3.83333 0.5C2.94928 0.5 2.10143 0.851189 1.47631 1.47631C0.851189 2.10143 0.5 2.94928 0.5 3.83333C0.5 4.71739 0.851189 5.56523 1.47631 6.19036C2.10143 6.81548 2.94928 7.16667 3.83333 7.16667C4.71739 7.16667 5.56523 6.81548 6.19036 6.19036C6.81548 5.56523 7.16667 4.71739 7.16667 3.83333C7.16667 2.94928 6.81548 2.10143 6.19036 1.47631C5.56523 0.851189 4.71739 0.5 3.83333 0.5V0.5ZM10.5 0.5C9.57917 0.5 8.83333 1.24583 8.83333 2.16667V5.5C8.83333 6.42083 9.57917 7.16667 10.5 7.16667H13.8333C14.7542 7.16667 15.5 6.42083 15.5 5.5V2.16667C15.5 1.24583 14.7542 0.5 13.8333 0.5H10.5ZM3.83333 8.83333C2.94928 8.83333 2.10143 9.18452 1.47631 9.80964C0.851189 10.4348 0.5 11.2826 0.5 12.1667C0.5 13.0507 0.851189 13.8986 1.47631 14.5237C2.10143 15.1488 2.94928 15.5 3.83333 15.5C4.71739 15.5 5.56523 15.1488 6.19036 14.5237C6.81548 13.8986 7.16667 13.0507 7.16667 12.1667C7.16667 11.2826 6.81548 10.4348 6.19036 9.80964C5.56523 9.18452 4.71739 8.83333 3.83333 8.83333V8.83333ZM12.1667 8.83333C11.2826 8.83333 10.4348 9.18452 9.80964 9.80964C9.18452 10.4348 8.83333 11.2826 8.83333 12.1667C8.83333 13.0507 9.18452 13.8986 9.80964 14.5237C10.4348 15.1488 11.2826 15.5 12.1667 15.5C13.0507 15.5 13.8986 15.1488 14.5237 14.5237C15.1488 13.8986 15.5 13.0507 15.5 12.1667C15.5 11.2826 15.1488 10.4348 14.5237 9.80964C13.8986 9.18452 13.0507 8.83333 12.1667 8.83333V8.83333Z",fill:"#9AA2AC"})),yt=({state:e,isMobile:i,debouncedFetchSearchResults:l,selectedLocation:n,onSpecialtyClick:r,dispatch:c})=>{var d;const{t:u,locale:h}=a.useTranslations(),f=t.useRef(null),m=t.useMemo((()=>o.LOCALIZED_SLUGS[h]),[h]),C=t.useMemo((()=>({wrapper:{"&:after":{content:'""',width:"1px",height:"20px",backgroundColor:"#E4E8EC",position:"absolute",right:0,top:"13px"}},input:{border:i?"border: 1px solid #d9d9d9":"none",height:i?"40px":"46px !important",paddingRight:"30px","&:focus":{boxShadow:i?"box-shadow: 0px 0px 0px 2px #91caff":"none"}},rightSection:{width:"30px",svg:{fontSize:"20px"}}})),[i]),b=t.useCallback((function(e){console.log(e)}),[l,c]);return p.useOutsideClick(f,(()=>{c({type:at.ClickOutsideInputSpecialty})})),E.default.createElement(pt,{ref:f},E.default.createElement(g.Input.Wrapper,null,E.default.createElement(g.Input,{size:i?"md":"lg",placeholder:u("booking.searchPopup.specialties"),value:(null===(d=null==e?void 0:e.selectedSpecialty)||void 0===d?void 0:d.name)||"",rightSection:E.default.createElement(I,null),styles:C,onFocus:()=>c({type:at.FocusInputSpecialty}),onChange:e=>{b(e.target.value)}})),"specialty"===e.focused&&E.default.createElement(ht,null,E.default.createElement(gt,{key:"all-location",role:"button",tabIndex:0,onClick:()=>{r&&r({name:u("booking.searchBar.allSpecialties"),id:-1,thumbnail:"",total_doctor:0,slug:m.SPECIALTIES})}},E.default.createElement("div",{className:"image-item"},E.default.createElement(bt,null)),E.default.createElement(s.Text,{size:"md"},u("booking.searchBar.allSpecialties"))),e.allSpecialties.map((e=>E.default.createElement(gt,{key:e.id,onClick:t=>{t.nativeEvent.stopImmediatePropagation(),r&&r(Object.assign(Object.assign({},e),{total_doctor:0}))},role:"button",tabIndex:0,"aria-label":`Select ${e.name} as location`,isSelected:(null==n?void 0:n.id)===e.id},E.default.createElement("div",{className:"image-item"},E.default.createElement("img",{src:e.thumbnail,alt:e.name})),E.default.createElement(s.Text,{size:"md"},e.name))))))},vt=({state:e,type:i,isMobile:o,isLoading:l,initalSearchValue:n,typeInformation:s,debouncedFetchSearchResults:r,trackingAttributes:c,focusSearchInput:d,onSearch:u,dispatch:h})=>{var f;const{t:m}=a.useTranslations(),b=t.useRef(null),y=t.useMemo((()=>c?{"data-event-category":c.dataEventCategory,"data-event-action":c.dataEventAction,"data-event-label":c.dataEventLabel}:{}),[c]),v=t.useMemo((()=>"doctor"===i?m("booking.searchBar.placeholder.doctor"):"service"===i?m("booking.searchBar.placeholder.service"):"hospital"===i?m("booking.searchBar.placeholder.hospital"):"specialty"===i?m("booking.searchBar.placeholder.specialty"):""),[i]),x=t.useMemo((()=>({root:{flex:1}})),[]),S=t.useMemo((()=>({icon:{left:"165px"},input:{color:"#262626",'&[data-with-icon="true"]':{paddingLeft:"205px",paddingRight:"16px"}},rightSection:{left:0,width:"165px",padding:"1px"}})),[]),w=t.useMemo((()=>({input:{color:"#262626"}})),[]);p.useOutsideClick(b,(()=>{h({type:at.ClickOutsideInputSearch})}));const L=t.useCallback((function(t){h({type:at.ChangeInputSearch,payload:t}),"function"!=typeof u&&(t.trim().length>et[e.locale]||n||0===t.trim().length?r(t.trim(),e,i):(r.cancel(),h({type:at.DisplayInitialSearchResults})))}),[h,e,i]),O=t.useCallback((function(e){h({type:at.SelectSpecialty,payload:e}),d()}),[h]);return E.default.createElement(lt,{ref:b},"specialty"===i?E.default.createElement(g.Input.Wrapper,{styles:x},E.default.createElement(g.Input,{icon:E.default.createElement(C.Icon.Search,null),size:o?"md":"lg",placeholder:v,styles:w,value:e.searchKeywords,onFocus:()=>h({type:at.FocusInputSearchSpecialty}),onChange:e=>{L(e.target.value)}})):E.default.createElement(E.default.Fragment,null,"service"===i?E.default.createElement(g.Input.Wrapper,{styles:x},E.default.createElement(g.Input,{icon:E.default.createElement(C.Icon.Search,null),size:o?"md":"lg",name:"search-results",placeholder:v,onFocus:()=>h({type:at.FocusInputSearch}),value:e.searchKeywords,onChange:e=>{L(e.target.value)}})):E.default.createElement(E.default.Fragment,null,o?E.default.createElement(E.default.Fragment,null,E.default.createElement(yt,{state:e,isMobile:o,dispatch:h,debouncedFetchSearchResults:r,onSpecialtyClick:O}),E.default.createElement(g.Input.Wrapper,{styles:x},E.default.createElement(g.Input,{icon:E.default.createElement(C.Icon.Search,null),size:"md",placeholder:v,value:e.searchKeywords,name:"search-results",onFocus:()=>h({type:at.FocusInputSearch}),onChange:e=>{L(e.target.value)}}))):E.default.createElement(g.Input.Wrapper,{styles:x},E.default.createElement(g.Input,Object.assign({icon:E.default.createElement(C.Icon.Search,null),size:"lg",placeholder:v,styles:S,name:"search-results",autoComplete:"off",value:e.searchKeywords,onChange:e=>{L(e.target.value)},onFocus:()=>h({type:at.FocusInputSearch})},y,{rightSection:E.default.createElement(yt,{state:e,isMobile:o,dispatch:h,debouncedFetchSearchResults:r,onSpecialtyClick:O})})))),"search"===e.focused&&E.default.createElement(nt,null,E.default.createElement(ut,{type:i,state:e,results:(null===(f=e.searchResults)||void 0===f?void 0:f[i])||[],location:e.selectedLocation.name,dispatch:h,isLoading:l,typeInformation:s}))))},xt=w.default.div`
|
|
562
562
|
position: relative;
|
|
563
563
|
|
|
564
564
|
${c.MediaQueries.mbDown} {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6b56e029.js"),t=require("react"),a=require("@mantine/core"),l=require("./index-e09f33ba.js"),o=require("./useTranslations-95f1399d.js"),n=require("innertext"),i=require("./theme-48d542a5.js"),r=require("./index-006ae7f1.js"),s=require("./utils-d79de40e.js");require("@mantine/dates");var d=require("./index-5ba227ab.js");require("./Onboarding-0a35aa99.js");var c=require("./gAssets.js"),u=require("dayjs"),m=require("./screenSizeContext-6f10e9b3.js"),p=require("styled-components");require("./isProduction-f892b978.js");var g=require("./index-def58b2f.js");require("@mantine/hooks");var h=require("./index-61b89b4b.js"),f=require("./dataTransform-e059c212.js"),v=require("./index-ecdde5af.js"),b=require("./index-a4f745f5.js"),x=require("lodash/debounce"),y=require("react-contenteditable"),w=require("./index-51014c3f.js"),C=require("./cookieHelper-9efd7919.js"),E=require("react-dom"),k=require("date-fns");require("react-day-picker/DayPickerInput");var A=require("./index.styled-049b5ca0.js");require("./index-88ccb9bc.js"),require("lodash/throttle"),require("./types-feb2b3fe.js"),require("react-hook-form"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./index.styled-e9f80af4.js"),require("uuid"),require("./utils-67a028e4.js"),require("string-format");var N=require("dayjs/plugin/relativeTime"),T=require("./index-282a8655.js"),S=require("./useUniqueId-efa7ed8c.js");require("./translationsContext-f2d68f9a.js");var P=require("./routing-68d0b247.js");function I(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function M(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,l.get?l:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}var z=M(t),L=I(t),B=I(n),R=I(u),j=I(p),O=I(x),F=I(y),D=M(E),V=I(N);const U=e=>z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),z.createElement("path",{d:"M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z"})),_=t.createContext({}),H=({children:e,defaultParams:t})=>L.default.createElement(_.Provider,{value:{defaultParams:t}},e),W=e=>{const{data:{userInfo:a,env:{togetherBasePath:l}}}=t.useContext(s.TogetherComponentGlobalContext),{defaultParams:o}=t.useContext(_)||{},n=null==a?void 0:a.id,i=a&&"number"==typeof a.communities_interacted&&0===a.communities_interacted;return{authActionWrapper:(t,a)=>{const r=Object.assign(Object.assign(Object.assign({},o),e),a);if(!n||i){n||C.deleteCookie(s.BEARER_TOKEN_COOKIE),(null==r?void 0:r._joinCommunityIds)&&(localStorage.setItem("to_join_community_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_community_ids")||"[]")||[]).concat(r._joinCommunityIds).filter(Boolean))))),null==r||delete r._joinCommunityIds),(null==r?void 0:r._joinTopicIds)&&(localStorage.setItem("to_join_topic_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_topic_ids")||"[]")||[]).concat(r._joinTopicIds).filter(Boolean))))),null==r||delete r._joinTopicIds);const e=(null==r?void 0:r._location)||window.location.href;return null==r||delete r._location,window.location.href=s.getUrlToSignUp(e,r,l),null}return t&&t()},params:Object.assign(Object.assign({},o),e)}},q=j.default.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
justify-content: center;
|
package/build/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Onboarding-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Onboarding-0a35aa99.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}}),Object.defineProperty(exports,"OnboardingStep",{enumerable:!0,get:function(){return e.OnboardingStep}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6b56e029.js"),t=require("react"),o=require("./getDynamicHealthTool-c4503e1c.js");exports.useHealthToolsCache=a=>{const[i,l]=t.useState([]);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){const e=yield o.getDynamicHealthToolWithCache(a);l(e)}))}),[o.getDynamicHealthToolWithCache,a]);const c=t.useCallback((e=>{var t;return(null===(t=i.find((t=>t.template===e)))||void 0===t?void 0:t.link)||""}),[i]);return{allTools:i,getHealthToolLink:c}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6b56e029.js"),t=require("react"),r=require("./cookieHelper-9efd7919.js"),n=require("./useUniqueId-efa7ed8c.js");function i(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}exports.useFbDataLayer=n=>{const a=t.useRef("");t.useEffect((()=>(e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,o,u,l;if(!a.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),a.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(o=a.current)||void 0===o?void 0:o.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==n?void 0:n.id){const[e,t,a,o,c,s]=yield Promise.all([n.email?i(n.email):null,n.phone?i(n.phone):null,n.birthday?i(n.birthday.split("-").join("")):null,n.gender?"m":"f",n.city_name?i(n.city_name).then((e=>e.replace(/\s/g,""))):null,n.name?i(n.name):null]);r.getCookie("_fbc"),r.getCookie("_fbp");const d={user_id:n.id};s&&(d.fn=s),e&&(d.em=e),t&&(d.ph=t),a&&(d.db=a),c&&(d.ct=c),null===(l=null===(u=window.localStorage)||void 0===u?void 0:u.setItem)||void 0===l||l.call(u,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[n])},exports.usePrevious=e=>{const r=t.useRef(),i=t.useRef(e);return n.useInitialMount()||i.current===e||(r.current=i.current,i.current=e),r.current},exports.useRafState=e=>{const[r,n]=t.useState(e),i=t.useRef(0),a=t.useCallback((e=>{cancelAnimationFrame(i.current),i.current=requestAnimationFrame((()=>{n(e)}))}),[]);return t.useEffect((()=>()=>cancelAnimationFrame(i.current))),[r,a]};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./translationsContext-
|
|
1
|
+
"use strict";var e=require("react"),t=require("./translationsContext-f2d68f9a.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(require("string-format"));exports.useTranslations=function(){const{values:a,locale:o}=e.useContext(t.TranslationsContext)||{locale:"en-PH"};return e.useMemo((()=>({t:(e,t)=>a?a[e]?t?n.default(a[e]||e,t):a[e]||e:(console.warn(`[useTranslations] Missing translation for key ${e} and locale ${o}`),t?n.default(e,t):e):(console.error("[useTranslations] t method called before translation values are loaded"),e),locale:o})),[a,o])};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var a=require("./Onboarding-0a35aa99.js");const i={[a.LOCALE.Vietnam]:"VN",[a.LOCALE.Cambodia]:"KH",[a.LOCALE.Indonesia]:"ID",[a.LOCALE.Malaysia]:"MY",[a.LOCALE.PhilippinesEnglish]:"PH",[a.LOCALE.PhilippinesTagalog]:"PH",[a.LOCALE.Taiwan]:"TW",[a.LOCALE.Thailand]:"TH",[a.LOCALE.Myanmar]:"MM"};exports.MAPPED_LOCALE=i,exports.hiddenEmailChar=(a="")=>{const i=a.indexOf("@"),n=a.substring(0,i),L=n.length>3?3:n.length;return a.replace(a.substring(L,i),a.slice(L,i).replace(/./g,"x"))};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6b56e029.js"),t=require("react"),a=require("@mantine/core"),r=require("styled-components"),l=require("./index-def58b2f.js"),o=require("./theme-48d542a5.js"),i=require("./screenSizeContext-6f10e9b3.js"),n=require("./gAssets.js"),s=require("./index-006ae7f1.js"),d=require("./Onboarding-0a35aa99.js"),c=require("./index-ecdde5af.js");require("./translationsContext-f2d68f9a.js");var u=require("string-format"),p=require("dayjs"),h=require("./index-5ba227ab.js"),m=require("./isProduction-f892b978.js"),g=require("react-keyed-flatten-children"),f=require("@mantine/hooks");require("@mantine/dates");var b=require("@mantine/carousel"),E=require("./useUniqueId-efa7ed8c.js");require("lodash/debounce");var x=require("./cookieHelper-9efd7919.js"),v=require("slugify");function w(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function y(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var r=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,r.get?r:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}var C=w(t),L=y(t),_=w(r),O=w(u),A=w(p),T=w(g),S=w(v);const k=_.default.div`
|
|
2
2
|
background-color: var(--background-color, transparent);
|
|
3
3
|
color: white;
|
|
4
4
|
cursor: pointer;
|
package/build/vaccination.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-6b56e029.js"),t=require("react"),a=require("@mantine/core"),l=require("./utils-d79de40e.js");require("@mantine/dates"),require("./index-5ba227ab.js");var n=require("./Onboarding-0a35aa99.js");require("./gAssets.js");var r=require("dayjs"),i=require("./screenSizeContext-6f10e9b3.js"),o=require("styled-components"),c=require("./theme-48d542a5.js");require("./isProduction-f892b978.js");var s=require("./useTranslations-95f1399d.js");require("./index-def58b2f.js");var d=require("@mantine/hooks");require("lodash/debounce");var u=require("./index-615df44d.js");require("./translationsContext-f2d68f9a.js"),require("string-format");var m=require("./index-006ae7f1.js"),f=require("./index-282a8655.js"),C=require("@mantine/form"),p=require("dayjs/plugin/customParseFormat"),g=require("./index-668730c7.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index-ecdde5af.js"),require("react-keyed-flatten-children"),require("@mantine/carousel"),require("./useUniqueId-efa7ed8c.js"),require("./cookieHelper-9efd7919.js"),require("slugify"),require("date-fns/locale"),require("lodash/throttle");var b=h(t),E=h(r),x=h(o),v=h(p);const y=x.default.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
padding: 16px;
|
|
4
4
|
min-height: 110px;
|
package/package.json
CHANGED
package/build/core-c4716a73.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-e717a934.js"),e=require("./isProduction-629fba62.js");const a={},i=t=>{if("undefined"!=typeof window){let a;try{a=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return a||{}}return a[t]},r=(t,i)=>{try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:i,time:Date.now()})):a[t]={data:i,time:Date.now()}}catch(t){}};exports.getCachedItem=i,exports.getDataWithCache=(e,a,o,n=9e5)=>t.__awaiter(void 0,void 0,void 0,(function*(){const t=i(e);if(t&&t.data&&t.time&&Date.now()-t.time<n)return t.data;if(a){const t=yield a();return o&&!o(t)||r(e,t),t}return null})),exports.setCachedItem=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-5020a074.js";import t from"react";import{Image as r}from"@mantine/core";import{DatePickerInput as s}from"@mantine/dates";import{I as o}from"./index-06614e02.js";import{L as a}from"./Onboarding-08cc7302.js";import{CommonGAssets as i}from"./gAssets.js";import{aB as n}from"./utils-46fa0b74.js";const l=l=>{var m,{value:c,fullWidth:p=!0}=l,d=e(l,["value","fullWidth"]);return t.createElement(s,Object.assign({locale:n[process.env.UNIFY_LOCALE||a.Vietnam],valueFormat:null===(m=o[process.env.UNIFY_LOCALE||a.Vietnam])||void 0===m?void 0:m.dateFormat,size:"md",clearable:!1,popoverProps:p?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:t.createElement(r,{src:i.getAssetPath(d.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},d,{className:`input-control ${(null==d?void 0:d.className)||""}`}))};export{l as D};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-5020a074.js";import t,{createContext as o,useContext as i}from"react";import{Container as r,Title as n}from"@mantine/core";import{L as a,x as m}from"./utils-46fa0b74.js";import"@mantine/dates";import{L as s}from"./index-06614e02.js";import"./Onboarding-08cc7302.js";import"./gAssets.js";import"dayjs";import{M as c}from"./screenSizeContext-7f85dfc4.js";import p from"styled-components";import{t as l}from"./theme-f74408a1.js";import"./isProduction-28f89c19.js";import"./translationsContext-5483c365.js";import"string-format";import"./index-e435900a.js";import"@mantine/hooks";import{createFormContext as d}from"@mantine/form";const g=o({}),[f,h,x]=d(),b=p.div`
|
|
2
|
-
margin-top: 70px;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
&.similac {
|
|
8
|
-
margin-top: 16px;
|
|
9
|
-
}
|
|
10
|
-
`,j=p(r)`
|
|
11
|
-
&.hhg-comp-onboarding-container.hhg-comp-onboarding-container {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
align-items: center;
|
|
15
|
-
height: 100%;
|
|
16
|
-
width: 100%;
|
|
17
|
-
max-width: 520px;
|
|
18
|
-
}
|
|
19
|
-
.header {
|
|
20
|
-
margin-bottom: 32px;
|
|
21
|
-
text-align: center;
|
|
22
|
-
${c.mbDown} {
|
|
23
|
-
margin-bottom: 16px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.input-control {
|
|
28
|
-
width: 100%;
|
|
29
|
-
}
|
|
30
|
-
.radio-group,
|
|
31
|
-
.input-control {
|
|
32
|
-
margin-bottom: 16px;
|
|
33
|
-
}
|
|
34
|
-
.form {
|
|
35
|
-
width: 100%;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* .form-error {
|
|
39
|
-
margin-top: 32px;
|
|
40
|
-
font-size: 14px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.field-error {
|
|
44
|
-
margin-top: 10px;
|
|
45
|
-
font-size: 14px;
|
|
46
|
-
} */
|
|
47
|
-
|
|
48
|
-
.form-button {
|
|
49
|
-
width: 100%;
|
|
50
|
-
}
|
|
51
|
-
`,u=p.img`
|
|
52
|
-
margin-bottom: 38px;
|
|
53
|
-
`,y=o=>{var r,{heading:c,description:p,children:d,className:f,imgSrc:h,hiddenLogo:x=!1}=o,y=e(o,["heading","description","children","className","imgSrc","hiddenLogo"]);const{isMarryBaby:E,siteType:L}=i(g);return t.createElement(j,Object.assign({},y,{className:`hhg-comp-onboarding-container ${f}`,size:"sm"}),!x&&t.createElement(a,{type:E?L:(null===(r=s[process.env.UNIFY_LOCALE])||void 0===r?void 0:r.LOGO_TYPE)||"hellobacsi"}),t.createElement(b,{className:x?"similac":""},h&&t.createElement(u,{src:h,loading:"lazy"}),(c||p)&&t.createElement("div",{className:"header"},c&&t.createElement(n,{order:3},c),p&&t.createElement(m,{size:"p3",mt:8,color:l.colors.gray600},p)),d))};export{f as F,g as O,x as a,y as b,h as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as o}from"./tslib.es6-5020a074.js";import t from"react";import{Indicator as s}from"@mantine/core";import"dayjs";import"./screenSizeContext-7f85dfc4.js";import"styled-components";import{t as e}from"./theme-f74408a1.js";import"./index-06614e02.js";import"./isProduction-28f89c19.js";import"./Onboarding-08cc7302.js";import"./gAssets.js";const r=r=>{var{styles:i,color:n=e.colors.red700}=r,c=o(r,["styles","color"]);return t.createElement(s,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:n},c))};export{r as I};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-5020a074.js";import t from"react";import{S as a,a as s}from"./index-e435900a.js";const r=s=>{var{type:r,color:o,style:l}=s,c=e(s,["type","color","style"]);return t.createElement(a,Object.assign({type:r,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[r],style:Object.assign(Object.assign({},o&&{"--text-color":o}),l)},c))},o=a=>{var{type:r,color:o,style:l}=a,c=e(a,["type","color","style"]);return t.createElement(s,Object.assign({"data-type":r,style:Object.assign(Object.assign({},l),o&&{"--text-color":o})},c))};export{o as M,r as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as a}from"./tslib.es6-5020a074.js";import e from"react";var t="wIj6fkD";const s=s=>{var{size:r="base",type:o="regular",className:c,style:n,children:d,color:i,dataEventCategory:l,dataEventAction:p,dataEventLabel:v,as:m="p",wordWrap:y,isUppercase:b}=s,g=a(s,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const E=m;return e.createElement(E,Object.assign({"data-size":r,"data-type":o,style:Object.assign(Object.assign({},n),i?{"--custom-color":i}:void 0),className:`${t} ${c||""}`,"data-event-category":l,"data-event-action":p,"data-event-label":v,"data-word-wrap":y,"data-is-uppercase":b},g),d)};export{s as T};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-5020a074.js";import t,{useMemo as o}from"react";import{L as n}from"./Onboarding-08cc7302.js";import{CommonGAssets as a}from"./gAssets.js";import{t as i}from"./theme-f74408a1.js";import r from"styled-components";import{I as s,b as l}from"./index-e435900a.js";import{T as c}from"./index-aa5a1fcf.js";const d=r.div`
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
width: ${e=>e.size}px;
|
|
5
|
-
height: ${e=>e.size}px;
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
|
|
10
|
-
border: 1px solid #e4e8ec;
|
|
11
|
-
background-color: ${e=>e.backgroundColor||i.colors.white};
|
|
12
|
-
border-radius: ${e=>e.borderRadius||"50%"};
|
|
13
|
-
& > * {
|
|
14
|
-
width: ${e=>e.iconSize}px;
|
|
15
|
-
height: ${e=>e.iconSize}px;
|
|
16
|
-
}
|
|
17
|
-
`,p=r.div`
|
|
18
|
-
display: inline-block;
|
|
19
|
-
height: 108px;
|
|
20
|
-
background-color: ${e=>e.theme.colors.white};
|
|
21
|
-
border-radius: 60px;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
&.selected-week-pill {
|
|
24
|
-
background-color: ${e=>e.theme.colors.pink100};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
& > div:first-child {
|
|
28
|
-
margin: 4px 4px 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
& > p {
|
|
32
|
-
margin-top: 8px;
|
|
33
|
-
text-align: center;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
& > * {
|
|
37
|
-
pointer-events: none;
|
|
38
|
-
}
|
|
39
|
-
`,m=[n.Myanmar,n.Taiwan],g=r((n=>{var{icon:r,name:l,className:g,locale:b="en-PH",dataEventCategory:x,dataEventAction:h,dataEventLabel:v,onSelect:f}=n,u=e(n,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const w=o((()=>null==g?void 0:g.includes("selected-week-pill")),[g]);return t.createElement(p,Object.assign({onClick:f,className:g?"week-pill".concat(" non-pointer-event-child ",g):"week-pill non-pointer-event-child","data-event-category":x,"data-event-action":h,"data-event-label":v},u),t.createElement(d,{size:64,iconSize:40,backgroundColor:i.colors.white},t.createElement(s,{src:r||a.getAssetPath("week_default.png"),alt:`week ${l}`})),w?t.createElement(c,Object.assign({type:"semiBold",size:"n1",color:i.colors.gray800},m.includes(b)&&{style:{fontSize:"10px"}}),l):t.createElement(c,Object.assign({size:"n1",color:i.colors.gray600},m.includes(b)&&{style:{fontSize:"10px"}}),l))}))`
|
|
40
|
-
box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
|
|
41
|
-
`,b=r(l.Slide)`
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
> div * {
|
|
44
|
-
pointer-events: none;
|
|
45
|
-
}
|
|
46
|
-
`,x=r(l)`
|
|
47
|
-
.centerred-pill-wrapper {
|
|
48
|
-
padding: 16px 0;
|
|
49
|
-
}
|
|
50
|
-
`;export{x as S,b as a,g as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./tslib.es6-5020a074.js";import{useState as t,useEffect as i,useCallback as a}from"react";import{a as e}from"./getDynamicHealthTool-7453ae72.js";const l=l=>{const[n,r]=t([]);i((()=>{o(void 0,void 0,void 0,(function*(){const o=yield e(l);r(o)}))}),[e,l]);const s=a((o=>{var t;return(null===(t=n.find((t=>t.template===o)))||void 0===t?void 0:t.link)||""}),[n]);return{allTools:n,getHealthToolLink:s}};export{l as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useContext as o,useMemo as a}from"react";import{T as r}from"./translationsContext-5483c365.js";import e from"string-format";function t(){const{values:t,locale:n}=o(r)||{locale:"en-PH"};return a((()=>({t:(o,a)=>t?t[o]?a?e(t[o]||o,a):t[o]||o:(console.warn(`[useTranslations] Missing translation for key ${o} and locale ${n}`),a?e(o,a):o):(console.error("[useTranslations] t method called before translation values are loaded"),o),locale:n})),[t,n])}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-e717a934.js"),i=require("./core-c4716a73.js"),e=require("./normalizeLink-d35cda22.js"),l=require("./routing-041bddcd.js");const o=(t,i)=>{var e,l;if(!t)return{};const o="tl-PH"===i?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(e=t.link)||void 0===e?void 0:e.startsWith("http"))?t.link:`${o}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${o}/`,"/")),subtitle:t.subtitle,title:t.title}},a=i=>t.__awaiter(void 0,void 0,void 0,(function*(){var t,a;try{const n="tl-PH"===i?"lang=fil":"";let r=[];try{const s=yield fetch(e.normalizeLinkSlash(`${l.getDiscoverApiDomain(i)}/wp-json/api/healthtools?ismenu=0${n?"&"+n:""}`)).then((t=>t.json()));r=(null===(a=null===(t=null==s?void 0:s.data)||void 0===t?void 0:t.map)||void 0===a?void 0:a.call(t,(t=>o(t,i))))||[]}catch(t){}return r}catch(t){console.error(t)}}));exports.formatHealthTool=o,exports.getDynamicHealthTool=a,exports.getDynamicHealthToolWithCache=e=>t.__awaiter(void 0,void 0,void 0,(function*(){return(yield i.getDataWithCache("all-health-tools",(()=>a(e||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));
|
package/build/index-76446297.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-e717a934.js"),r=require("react"),t=require("@mantine/core");require("dayjs"),require("./screenSizeContext-4958e54e.js"),require("styled-components");var s=require("./theme-2f122010.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index-15fda270.js"),require("./isProduction-629fba62.js"),require("./Onboarding-db812105.js"),require("./gAssets.js");var n=i(r);exports.Indicator=r=>{var{styles:i,color:o=s.theme.colors.red700}=r,a=e.__rest(r,["styles","color"]);return n.default.createElement(t.Indicator,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:o},a))};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-e717a934.js"),t=require("react"),n=require("./Onboarding-db812105.js"),r=require("./gAssets.js"),a=require("./theme-2f122010.js"),o=require("styled-components"),i=require("./index-e910920c.js"),l=require("./index-811c4cec.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=s(t),d=s(o);const u=d.default.div`
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
width: ${e=>e.size}px;
|
|
5
|
-
height: ${e=>e.size}px;
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
|
|
10
|
-
border: 1px solid #e4e8ec;
|
|
11
|
-
background-color: ${e=>e.backgroundColor||a.theme.colors.white};
|
|
12
|
-
border-radius: ${e=>e.borderRadius||"50%"};
|
|
13
|
-
& > * {
|
|
14
|
-
width: ${e=>e.iconSize}px;
|
|
15
|
-
height: ${e=>e.iconSize}px;
|
|
16
|
-
}
|
|
17
|
-
`,p=d.default.div`
|
|
18
|
-
display: inline-block;
|
|
19
|
-
height: 108px;
|
|
20
|
-
background-color: ${e=>e.theme.colors.white};
|
|
21
|
-
border-radius: 60px;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
&.selected-week-pill {
|
|
24
|
-
background-color: ${e=>e.theme.colors.pink100};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
& > div:first-child {
|
|
28
|
-
margin: 4px 4px 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
& > p {
|
|
32
|
-
margin-top: 8px;
|
|
33
|
-
text-align: center;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
& > * {
|
|
37
|
-
pointer-events: none;
|
|
38
|
-
}
|
|
39
|
-
`,g=[n.LOCALE.Myanmar,n.LOCALE.Taiwan],x=d.default((n=>{var{icon:o,name:s,className:d,locale:x="en-PH",dataEventCategory:m,dataEventAction:b,dataEventLabel:h,onSelect:f}=n,v=e.__rest(n,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const y=t.useMemo((()=>null==d?void 0:d.includes("selected-week-pill")),[d]);return c.default.createElement(p,Object.assign({onClick:f,className:d?"week-pill".concat(" non-pointer-event-child ",d):"week-pill non-pointer-event-child","data-event-category":m,"data-event-action":b,"data-event-label":h},v),c.default.createElement(u,{size:64,iconSize:40,backgroundColor:a.theme.colors.white},c.default.createElement(i.ImageWrap,{src:o||r.CommonGAssets.getAssetPath("week_default.png"),alt:`week ${s}`})),y?c.default.createElement(l.Text,Object.assign({type:"semiBold",size:"n1",color:a.theme.colors.gray800},g.includes(x)&&{style:{fontSize:"10px"}}),s):c.default.createElement(l.Text,Object.assign({size:"n1",color:a.theme.colors.gray600},g.includes(x)&&{style:{fontSize:"10px"}}),s))}))`
|
|
40
|
-
box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
|
|
41
|
-
`,m=d.default(i.CentralCarousel.Slide)`
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
> div * {
|
|
44
|
-
pointer-events: none;
|
|
45
|
-
}
|
|
46
|
-
`,b=d.default(i.CentralCarousel)`
|
|
47
|
-
.centerred-pill-wrapper {
|
|
48
|
-
padding: 16px 0;
|
|
49
|
-
}
|
|
50
|
-
`;exports.StyledCarousel=b,exports.StyledPill=x,exports.StyledSlide=m;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-e717a934.js"),t=require("react"),a=require("./getDynamicHealthTool-2279cae3.js");exports.useHealthToolsCache=o=>{const[i,l]=t.useState([]);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){const e=yield a.getDynamicHealthToolWithCache(o);l(e)}))}),[a.getDynamicHealthToolWithCache,o]);const r=t.useCallback((e=>{var t;return(null===(t=i.find((t=>t.template===e)))||void 0===t?void 0:t.link)||""}),[i]);return{allTools:i,getHealthToolLink:r}};
|
package/build/utils-204fa3fa.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var i=require("./Onboarding-db812105.js");const a={[i.LOCALE.Vietnam]:"VN",[i.LOCALE.Cambodia]:"KH",[i.LOCALE.Indonesia]:"ID",[i.LOCALE.Malaysia]:"MY",[i.LOCALE.PhilippinesEnglish]:"PH",[i.LOCALE.PhilippinesTagalog]:"PH",[i.LOCALE.Taiwan]:"TW",[i.LOCALE.Thailand]:"TH",[i.LOCALE.Myanmar]:"MM"};exports.MAPPED_LOCALE=a,exports.hiddenEmailChar=(i="")=>{const a=i.indexOf("@"),n=i.substring(0,a),L=n.length>3?3:n.length;return i.replace(i.substring(L,a),i.slice(L,a).replace(/./g,"x"))};
|
/package/build/{BMI_BOYS.percentile.monthly-914f5734.js → BMI_BOYS.percentile.monthly-5874e445.js}
RENAMED
|
File without changes
|
/package/build/{BMI_BOYS.percentile.weekly-5e8fefa4.js → BMI_BOYS.percentile.weekly-4f0c485b.js}
RENAMED
|
File without changes
|
/package/build/{BMI_BOYS.percentile.yearly-989b236f.js → BMI_BOYS.percentile.yearly-f2c3c180.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build/{BMI_GIRLS.percentile.monthly-990ef8cf.js → BMI_GIRLS.percentile.monthly-8a149eac.js}
RENAMED
|
File without changes
|
/package/build/{BMI_GIRLS.percentile.weekly-8c81480d.js → BMI_GIRLS.percentile.weekly-f76157cc.js}
RENAMED
|
File without changes
|
/package/build/{BMI_GIRLS.percentile.yearly-1ca610c7.js → BMI_GIRLS.percentile.yearly-2169a0de.js}
RENAMED
|
File without changes
|
/package/build/{BMI_GIRLS.zscore.monthly-894348f8.js → BMI_GIRLS.zscore.monthly-e91267e9.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build/{HEIGHT_BOYS.zscore.monthly-0f4cf796.js → HEIGHT_BOYS.zscore.monthly-9b991e74.js}
RENAMED
|
File without changes
|
/package/build/{HEIGHT_BOYS.zscore.weekly-fbbd7b2e.js → HEIGHT_BOYS.zscore.weekly-e0e323e8.js}
RENAMED
|
File without changes
|
/package/build/{HEIGHT_BOYS.zscore.yearly-309e1081.js → HEIGHT_BOYS.zscore.yearly-ae9791b7.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build/{HEIGHT_GIRLS.zscore.monthly-d225e962.js → HEIGHT_GIRLS.zscore.monthly-1a3f7f80.js}
RENAMED
|
File without changes
|
/package/build/{HEIGHT_GIRLS.zscore.weekly-9b2835fe.js → HEIGHT_GIRLS.zscore.weekly-a768d4ba.js}
RENAMED
|
File without changes
|
/package/build/{HEIGHT_GIRLS.zscore.yearly-af6829a3.js → HEIGHT_GIRLS.zscore.yearly-fd0231dc.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build/{WEIGHT_BOYS.zscore.monthly-1379e747.js → WEIGHT_BOYS.zscore.monthly-945a065b.js}
RENAMED
|
File without changes
|
/package/build/{WEIGHT_BOYS.zscore.weekly-924d54f2.js → WEIGHT_BOYS.zscore.weekly-57939d8c.js}
RENAMED
|
File without changes
|
/package/build/{WEIGHT_BOYS.zscore.yearly-db1da36f.js → WEIGHT_BOYS.zscore.yearly-c0242a0e.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build/{WEIGHT_GIRLS.zscore.monthly-0fd62c0b.js → WEIGHT_GIRLS.zscore.monthly-f7172a03.js}
RENAMED
|
File without changes
|
/package/build/{WEIGHT_GIRLS.zscore.weekly-6d8fefc8.js → WEIGHT_GIRLS.zscore.weekly-9bd8c5b4.js}
RENAMED
|
File without changes
|
/package/build/{WEIGHT_GIRLS.zscore.yearly-dc67d9d3.js → WEIGHT_GIRLS.zscore.yearly-8583c260.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|