@hhgtech/hhg-components 1.27.65 → 1.27.67
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/components/organisms/bookingSearchBar/locationResults/index.d.ts +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-d9209741.js +1 -0
- package/build/{dataTransform-183f0a89.js → dataTransform-5811d35b.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +2 -2
- package/build/esm/cache.js +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/locationResults/index.d.ts +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-8d8133c6.js → core-e7a66f3e.js} +1 -1
- package/build/esm/{dataTransform-828b0610.js → dataTransform-dcc410d7.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/{fixedBottomAdBlock-a8558744.js → fixedBottomAdBlock-e1facd2d.js} +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-1fc4c294.js +1 -0
- package/build/esm/{getSocialList-89088867.js → getSocialList-1c7ba9db.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n-values/id-ID.js +1 -1
- package/build/esm/i18n-values/km-KH.js +1 -1
- package/build/esm/i18n-values/ms-MY.js +1 -1
- package/build/esm/i18n-values/my-MM.js +1 -1
- package/build/esm/i18n-values/th-TH.js +1 -1
- package/build/esm/i18n-values/tl-PH.js +1 -1
- package/build/esm/i18n-values/vi-VN.js +1 -1
- package/build/esm/i18n-values/vi-VN_MB.js +1 -1
- package/build/esm/i18n-values/zh-TW.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/index-04c53370.js +1 -0
- package/build/esm/{index-4018e954.js → index-0faebac1.js} +1 -1
- package/build/esm/index-31c80610.js +1 -0
- package/build/esm/{index-3cc4d399.js → index-36fae009.js} +1 -1
- package/build/esm/{index-0df71134.js → index-380032c9.js} +1 -1
- package/build/esm/{index-84d41c55.js → index-3828a5e1.js} +4 -4
- package/build/esm/{index-98969c21.js → index-3a4bd5ca.js} +1 -1
- package/build/esm/index-3dc3c106.js +1 -0
- package/build/esm/{index-0a8511e9.js → index-5070ce07.js} +1 -1
- package/build/esm/{index-fe1140bf.js → index-59d3cab0.js} +2 -2
- package/build/esm/index-5b2b7bb6.js +1 -0
- package/build/esm/index-651d99dc.js +1 -0
- package/build/esm/index-9173966f.js +1 -0
- package/build/esm/{index-49edd755.js → index-9eca1c51.js} +1 -1
- package/build/esm/{index-1664824d.js → index-ac223399.js} +1 -1
- package/build/esm/index-afba90c1.js +1 -0
- package/build/esm/{index-388f05d1.js → index-b3ff5577.js} +2 -2
- package/build/esm/{index-ed6a633c.js → index-bbedc0ba.js} +1 -1
- package/build/esm/{index-38959739.js → index-be829823.js} +1 -1
- package/build/esm/{index-b0d4c8fa.js → index-e301f575.js} +1 -1
- package/build/esm/{index-c32bc041.js → index-e4440c8b.js} +1 -1
- package/build/esm/{index-dac6a1ca.js → index-f153303f.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-bd98c51b.js → index.styled-8eb165f4.js} +2 -2
- package/build/esm/{index.styled-089fb51b.js → index.styled-c109a39c.js} +6 -6
- package/build/esm/index.styled-f5bd2a55.js +50 -0
- 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 +1 -1
- package/build/esm/{routing-efa9ad3e.js → routing-db636eda.js} +1 -1
- package/build/esm/{screenSizeContext-72879ba5.js → screenSizeContext-ef7bd654.js} +4 -4
- package/build/esm/together.js +1 -1
- package/build/esm/{types-76dc7f4d.js → types-78b4f012.js} +51 -51
- package/build/esm/{types-ccbd2b92.js → types-7a0a4b96.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-1d76a4c0.js +1 -0
- package/build/esm/{useRafState-9454094a.js → useRafState-558859e0.js} +1 -1
- package/build/esm/useTranslations-f66f98f5.js +1 -0
- package/build/esm/{utils-b18d6dc0.js → utils-6dff4be6.js} +2 -2
- package/build/esm/{utils-4f377733.js → utils-8c70da4a.js} +1 -1
- package/build/esm/vaccination.js +3 -3
- package/build/{fixedBottomAdBlock-ead8d531.js → fixedBottomAdBlock-bd208bcc.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-5e309a19.js → getDynamicHealthTool-402a6d37.js} +1 -1
- package/build/{getSocialList-5519aeaf.js → getSocialList-8f098a4a.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n-values/id-ID.js +1 -1
- package/build/i18n-values/km-KH.js +1 -1
- package/build/i18n-values/ms-MY.js +1 -1
- package/build/i18n-values/my-MM.js +1 -1
- package/build/i18n-values/th-TH.js +1 -1
- package/build/i18n-values/tl-PH.js +1 -1
- package/build/i18n-values/vi-VN.js +1 -1
- package/build/i18n-values/vi-VN_MB.js +1 -1
- package/build/i18n-values/zh-TW.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-0adc19ec.js → index-07d0fc09.js} +1 -1
- package/build/index-20296b73.js +53 -0
- package/build/{index-438678eb.js → index-26411075.js} +1 -1
- package/build/{index-8cf73a21.js → index-346f9120.js} +1 -1
- package/build/{index-c4685109.js → index-3b395a07.js} +1 -1
- package/build/{index-7cf1752e.js → index-531720f4.js} +1 -1
- package/build/{index-641b8a2d.js → index-55b65ba1.js} +1 -1
- package/build/{index-0ae0e99b.js → index-5687cab5.js} +1 -1
- package/build/{index-329a8f28.js → index-7d61799d.js} +1 -1
- package/build/{index-c0ebb986.js → index-996e8611.js} +1 -1
- package/build/{index-98bb178d.js → index-9dd94c66.js} +1 -1
- package/build/index-a63bfeb8.js +1 -0
- package/build/{index-aab043d9.js → index-acfc1fd9.js} +1 -1
- package/build/{index-5afb9a33.js → index-bdf6097f.js} +1 -1
- package/build/{index-98b81a95.js → index-c5d8e63f.js} +1 -1
- package/build/{index-2587fdd8.js → index-d36e067d.js} +1 -1
- package/build/{index-e84a6a14.js → index-db6f2817.js} +1 -1
- package/build/{index-94f2dbb9.js → index-e6951221.js} +1 -1
- package/build/{index-4829ab1b.js → index-ea126740.js} +1 -1
- package/build/index-ea765cbe.js +1 -0
- package/build/{index-f8f30578.js → index-eecce92d.js} +1 -1
- package/build/{index-b1d4d77c.js → index-efff860b.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-765feecc.js → index.styled-48902969.js} +2 -2
- package/build/{index.styled-f5321c72.js → index.styled-ab3807ed.js} +3 -3
- package/build/index.styled-d913ee6d.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-76a29289.js → routing-b81a60e3.js} +1 -1
- package/build/{screenSizeContext-2ec3be24.js → screenSizeContext-5015825b.js} +3 -3
- package/build/together.js +1 -1
- package/build/types-0627b1a1.js +339 -0
- package/build/{types-3ae636c2.js → types-f0295ec8.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useHealthToolCache-68d4bec0.js → useHealthToolCache-10bb3948.js} +1 -1
- package/build/{useRafState-46ab8521.js → useRafState-ae173353.js} +1 -1
- package/build/{useTranslations-7a6dc657.js → useTranslations-998bf69a.js} +1 -1
- package/build/{utils-12cf57b1.js → utils-048a352b.js} +1 -1
- package/build/{utils-7923573b.js → utils-80406d00.js} +2 -2
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/core-8fa69c4e.js +0 -1
- package/build/esm/getDynamicHealthTool-a6133467.js +0 -1
- package/build/esm/index-008e6823.js +0 -1
- package/build/esm/index-2139478a.js +0 -1
- package/build/esm/index-5399422b.js +0 -1
- package/build/esm/index-69a72d60.js +0 -1
- package/build/esm/index-985864ab.js +0 -1
- package/build/esm/index-cb5ed82e.js +0 -1
- package/build/esm/index-edd38938.js +0 -1
- package/build/esm/index.styled-c0e7c0e2.js +0 -50
- package/build/esm/useHealthToolCache-8a255b38.js +0 -1
- package/build/esm/useTranslations-867f4438.js +0 -1
- package/build/index-20fcf513.js +0 -1
- package/build/index-2ebedd68.js +0 -53
- package/build/index-fa4d381a.js +0 -1
- package/build/index.styled-eb4ccdac.js +0 -50
- package/build/types-db35dc9b.js +0 -339
- /package/build/{BMI_BOYS.percentile.monthly-c93fe05c.js → BMI_BOYS.percentile.monthly-b1c45b12.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-9f4a7360.js → BMI_BOYS.percentile.weekly-8131d5ea.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-d9717969.js → BMI_BOYS.percentile.yearly-6d677688.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-4891e555.js → BMI_BOYS.zscore.monthly-3c2deef0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-6378d046.js → BMI_BOYS.zscore.weekly-a2f8f313.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-8258f34c.js → BMI_BOYS.zscore.yearly-65ff1698.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-9c011d42.js → BMI_GIRLS.percentile.monthly-7bb192d3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-1aafd7ea.js → BMI_GIRLS.percentile.weekly-8046001c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-c07d8294.js → BMI_GIRLS.percentile.yearly-7850f609.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a52b4325.js → BMI_GIRLS.zscore.monthly-0a8c148f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-36c16796.js → BMI_GIRLS.zscore.weekly-fad6752e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-355dbf5c.js → BMI_GIRLS.zscore.yearly-b4e5885e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-950181c5.js → HEAD CIRCUM_BOYS.percentile.monthly-b63d8e31.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-d0f3d972.js → HEAD CIRCUM_BOYS.percentile.weekly-a9fe0155.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-41578035.js → HEAD CIRCUM_BOYS.percentile.yearly-3cb2bf4b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-08979c4b.js → HEAD CIRCUM_BOYS.zscore.monthly-c63cac77.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-e002d31c.js → HEAD CIRCUM_BOYS.zscore.weekly-6fede475.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-8cb86777.js → HEAD CIRCUM_BOYS.zscore.yearly-d69ee31c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-da1953ff.js → HEAD CIRCUM_GIRLS.percentile.monthly-e26f6de8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-c17050f4.js → HEAD CIRCUM_GIRLS.percentile.weekly-11e01651.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-89e01428.js → HEAD CIRCUM_GIRLS.percentile.yearly-6bd8ebd2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-2aac13dc.js → HEAD CIRCUM_GIRLS.zscore.monthly-553f9d6e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-9637ef6f.js → HEAD CIRCUM_GIRLS.zscore.weekly-2f0b2110.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-2ec14e1f.js → HEAD CIRCUM_GIRLS.zscore.yearly-07579301.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-e8cd8a3a.js → HEIGHT_BOYS.percentile.monthly-2ae112d6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-445e58bc.js → HEIGHT_BOYS.percentile.weekly-168c2aaa.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-0cb23a78.js → HEIGHT_BOYS.percentile.yearly-b0794c24.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-770d9962.js → HEIGHT_BOYS.zscore.monthly-a3a9d343.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-fce9ab91.js → HEIGHT_BOYS.zscore.weekly-ff7e25f2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-172cbce5.js → HEIGHT_BOYS.zscore.yearly-b4258813.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-f364d029.js → HEIGHT_GIRLS.percentile.monthly-199ab8ff.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-370e9f31.js → HEIGHT_GIRLS.percentile.weekly-4f2eaf01.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-6e43d45b.js → HEIGHT_GIRLS.percentile.yearly-f45af7d0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-361a5fd4.js → HEIGHT_GIRLS.zscore.monthly-057ca135.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-1dce7533.js → HEIGHT_GIRLS.zscore.weekly-ab5e083d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-88931eaa.js → HEIGHT_GIRLS.zscore.yearly-32c77cb8.js} +0 -0
- /package/build/{Onboarding-f60f1731.js → Onboarding-14e317e1.js} +0 -0
- /package/build/{Visible-7ffc3ded.js → Visible-a1c0448c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-db112fdf.js → WEIGHT_BOYS.percentile.monthly-c39b1bda.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-cd5cc546.js → WEIGHT_BOYS.percentile.weekly-4e4a1e34.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-046061a9.js → WEIGHT_BOYS.percentile.yearly-7a86dc1a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-7706845b.js → WEIGHT_BOYS.zscore.monthly-9a1aee64.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-21c0fa5c.js → WEIGHT_BOYS.zscore.weekly-798ddc51.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-2c333c17.js → WEIGHT_BOYS.zscore.yearly-3f5227b8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-fb3ca4ea.js → WEIGHT_GIRLS.percentile.monthly-477d1d0e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-fbaa8120.js → WEIGHT_GIRLS.percentile.weekly-e2e8e79e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-a54a1048.js → WEIGHT_GIRLS.percentile.yearly-fe3ff481.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-6b72bfa7.js → WEIGHT_GIRLS.zscore.monthly-90c74050.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-b118ba73.js → WEIGHT_GIRLS.zscore.weekly-1e55486c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-eaf095db.js → WEIGHT_GIRLS.zscore.yearly-b20c11b8.js} +0 -0
- /package/build/{constants-fc06ec88.js → constants-fb403fd4.js} +0 -0
- /package/build/{cookieHelper-e2a16eef.js → cookieHelper-f7899b42.js} +0 -0
- /package/build/{dataTransform-87ccd8ae.js → dataTransform-c008e600.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-f5493df9.js → BMI_BOYS.percentile.monthly-b5a80471.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-079676ff.js → BMI_BOYS.percentile.weekly-d603aa3f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-2c8fb9be.js → BMI_BOYS.percentile.yearly-bdc57656.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-70f284f6.js → BMI_BOYS.zscore.monthly-9839cdae.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-5c8f1872.js → BMI_BOYS.zscore.weekly-f9a929a9.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-e60ff028.js → BMI_BOYS.zscore.yearly-5868f1a0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-53d8478c.js → BMI_GIRLS.percentile.monthly-55ebd752.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-5a929114.js → BMI_GIRLS.percentile.weekly-bb77147f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-7c75b3d1.js → BMI_GIRLS.percentile.yearly-fe97e452.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-8fdd3d14.js → BMI_GIRLS.zscore.monthly-1a6861b5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-5bfbecc6.js → BMI_GIRLS.zscore.weekly-84fc2fbd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-0bf13165.js → BMI_GIRLS.zscore.yearly-f140088b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-50fa3100.js → HEAD CIRCUM_BOYS.percentile.monthly-3de0c296.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-fd874376.js → HEAD CIRCUM_BOYS.percentile.weekly-45e2460b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-8892d457.js → HEAD CIRCUM_BOYS.percentile.yearly-41c12405.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-55473372.js → HEAD CIRCUM_BOYS.zscore.monthly-8bbe08f5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-b9e4bf5a.js → HEAD CIRCUM_BOYS.zscore.weekly-4225edf0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-fe185932.js → HEAD CIRCUM_BOYS.zscore.yearly-61c366a8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-25307c81.js → HEAD CIRCUM_GIRLS.percentile.monthly-a1d3efe1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-d02f0035.js → HEAD CIRCUM_GIRLS.percentile.weekly-7f29fdd4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-f8d756b7.js → HEAD CIRCUM_GIRLS.percentile.yearly-a31deb7e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-f06224ac.js → HEAD CIRCUM_GIRLS.zscore.monthly-f577999a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-4c10101b.js → HEAD CIRCUM_GIRLS.zscore.weekly-a1ba5373.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-140a665b.js → HEAD CIRCUM_GIRLS.zscore.yearly-7f979bc6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-d4698bd0.js → HEIGHT_BOYS.percentile.monthly-8ad79a80.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-281d80ba.js → HEIGHT_BOYS.percentile.weekly-c5f7d613.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-86a463f9.js → HEIGHT_BOYS.percentile.yearly-96d070a4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-dc709a7e.js → HEIGHT_BOYS.zscore.monthly-5bbbf64d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-f91429b3.js → HEIGHT_BOYS.zscore.weekly-5cae0d22.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-490d1d03.js → HEIGHT_BOYS.zscore.yearly-540af99a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e819f004.js → HEIGHT_GIRLS.percentile.monthly-eef50e73.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-3cae80a1.js → HEIGHT_GIRLS.percentile.weekly-7e18c2fc.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f1c09b16.js → HEIGHT_GIRLS.percentile.yearly-d19b1135.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-6f0a649c.js → HEIGHT_GIRLS.zscore.monthly-5f71cd9c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-3ed3a4f3.js → HEIGHT_GIRLS.zscore.weekly-554beb08.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-2100de16.js → HEIGHT_GIRLS.zscore.yearly-75311bdd.js} +0 -0
- /package/build/esm/{Onboarding-f02d6d21.js → Onboarding-8d2506c5.js} +0 -0
- /package/build/esm/{Visible-2886fabc.js → Visible-90f36e1e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-1820e415.js → WEIGHT_BOYS.percentile.monthly-83af56e1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-4866156b.js → WEIGHT_BOYS.percentile.weekly-ae09566c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-dbffaffe.js → WEIGHT_BOYS.percentile.yearly-350b8b96.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-1d27dba3.js → WEIGHT_BOYS.zscore.monthly-aca3a53b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-58eb8a55.js → WEIGHT_BOYS.zscore.weekly-28dff80c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-03a20934.js → WEIGHT_BOYS.zscore.yearly-474de3f2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-e69188ad.js → WEIGHT_GIRLS.percentile.monthly-63f01466.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-ade03461.js → WEIGHT_GIRLS.percentile.weekly-121e8d2d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-780f9d37.js → WEIGHT_GIRLS.percentile.yearly-e696e322.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-7e5e8ace.js → WEIGHT_GIRLS.zscore.monthly-3b99018c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-ec1bd19b.js → WEIGHT_GIRLS.zscore.weekly-990f2741.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d3ac1363.js → WEIGHT_GIRLS.zscore.yearly-4eac9b9a.js} +0 -0
- /package/build/esm/{constants-d55a1795.js → constants-aad63aa4.js} +0 -0
- /package/build/esm/{cookieHelper-6f4e3a41.js → cookieHelper-8220630d.js} +0 -0
- /package/build/esm/{dataTransform-ae1c1731.js → dataTransform-e54aa827.js} +0 -0
- /package/build/esm/{index-60d18ce9.js → index-5b59a6f5.js} +0 -0
- /package/build/esm/{isProduction-0c2cae98.js → isProduction-1b435469.js} +0 -0
- /package/build/esm/{localizeNumberFormat-12572e07.js → localizeNumberFormat-75d5ab63.js} +0 -0
- /package/build/esm/{normalizeLink-935cd392.js → normalizeLink-d2a66e86.js} +0 -0
- /package/build/esm/{paths-dbed4a65.js → paths-90301770.js} +0 -0
- /package/build/esm/{theme-11563c3e.js → theme-c4c4bf96.js} +0 -0
- /package/build/esm/{translationsContext-9e7b886f.js → translationsContext-cb59f0d3.js} +0 -0
- /package/build/esm/{tslib.es6-59dde6fd.js → tslib.es6-681566ab.js} +0 -0
- /package/build/esm/{types-8359c3c0.js → types-c4c069bb.js} +0 -0
- /package/build/esm/{useIsInit-5c7bb63a.js → useIsInit-e927721d.js} +0 -0
- /package/build/esm/{useOutsideClick-80d055f7.js → useOutsideClick-2016dcbc.js} +0 -0
- /package/build/esm/{useScrollbarSize-e1a8f47f.js → useScrollbarSize-2ccbd2d2.js} +0 -0
- /package/build/esm/{useUniqueId-cb0fa4a1.js → useUniqueId-3ae50a06.js} +0 -0
- /package/build/esm/{utils-3cac945d.js → utils-232d0107.js} +0 -0
- /package/build/{index-ab06984c.js → index-b1a4fc3d.js} +0 -0
- /package/build/{isProduction-3d2e8fb4.js → isProduction-ce24379a.js} +0 -0
- /package/build/{localizeNumberFormat-e4fed0ee.js → localizeNumberFormat-f430dca9.js} +0 -0
- /package/build/{normalizeLink-81027e41.js → normalizeLink-86acf9a5.js} +0 -0
- /package/build/{paths-0c90b0af.js → paths-5762fbf1.js} +0 -0
- /package/build/{theme-0f334c67.js → theme-8abaf308.js} +0 -0
- /package/build/{translationsContext-ed457050.js → translationsContext-eb0fc00a.js} +0 -0
- /package/build/{tslib.es6-d82afd51.js → tslib.es6-827ac69f.js} +0 -0
- /package/build/{types-7f987664.js → types-749d26d9.js} +0 -0
- /package/build/{useIsInit-37600900.js → useIsInit-6471982d.js} +0 -0
- /package/build/{useOutsideClick-efe21940.js → useOutsideClick-ca3ff3e3.js} +0 -0
- /package/build/{useScrollbarSize-b666e0b9.js → useScrollbarSize-7c4c13ca.js} +0 -0
- /package/build/{useUniqueId-c9fd43d1.js → useUniqueId-7d4e161c.js} +0 -0
- /package/build/{utils-f67a089d.js → utils-087c19a1.js} +0 -0
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-f0295ec8.js"),r=require("./index.styled-48902969.js"),t=require("./dataTransform-5811d35b.js"),o=require("./utils-80406d00.js");require("./tslib.es6-827ac69f.js"),require("react"),require("@mantine/core"),require("./index-ea126740.js"),require("styled-components"),require("./utils-087c19a1.js"),require("./index-bdf6097f.js"),require("./gAssets.js"),require("./index-eecce92d.js"),require("date-fns/locale"),require("./Onboarding-14e317e1.js"),require("./isProduction-ce24379a.js"),require("./index-e6951221.js"),require("@mantine/carousel"),require("@mantine/hooks"),require("./index-346f9120.js"),require("./index-26411075.js"),require("./index-d36e067d.js"),require("./index-efff860b.js"),require("dayjs"),require("./screenSizeContext-5015825b.js"),require("lodash/throttle"),require("./theme-8abaf308.js"),require("@mantine/dates"),require("./translationsContext-eb0fc00a.js"),require("string-format"),require("@hookform/resolvers/yup"),require("react-hook-form"),require("./index-acfc1fd9.js"),require("./useTranslations-998bf69a.js"),require("./index-55b65ba1.js"),require("date-fns"),require("./index-9dd94c66.js"),require("lodash/debounce"),require("./types-749d26d9.js"),require("react-day-picker/DayPickerInput"),require("innertext"),require("./index-7d61799d.js"),require("./paths-5762fbf1.js"),require("./constants-fb403fd4.js"),require("react-contenteditable"),require("./cookieHelper-f7899b42.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-d913ee6d.js"),require("uuid"),require("./utils-048a352b.js"),require("dayjs/plugin/relativeTime"),require("./index-5687cab5.js"),require("./useUniqueId-7d4e161c.js"),require("./routing-b81a60e3.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;
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-827ac69f.js"),t=require("react"),a=require("./index-eecce92d.js"),i=require("./cookieHelper-f7899b42.js"),o=require("./useTranslations-998bf69a.js"),n=require("lodash/debounce"),s=require("./constants-fb403fd4.js"),l=require("./index-d36e067d.js"),r=require("styled-components"),c=require("./index-346f9120.js"),d=require("./theme-8abaf308.js"),u=require("./utils-087c19a1.js"),h=require("react-loading-skeleton"),p=require("lodash/shuffle"),f=require("./useOutsideClick-ca3ff3e3.js"),g=require("./paths-5762fbf1.js"),m=require("string-format");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var b=C(t),y=C(n),v=C(r),E=C(h),L=C(p),w=C(m);const S=v.default.div``,x=v.default.div`
|
|
2
|
+
--searchbar-z-index: 305;
|
|
3
|
+
&[data-is-modal='true'] {
|
|
4
|
+
position: fixed;
|
|
5
|
+
left: 0;
|
|
6
|
+
right: 0;
|
|
7
|
+
top: 0;
|
|
8
|
+
height: var(--mobile-care-searchbar-height, 100%);
|
|
9
|
+
overflow-y: auto;
|
|
10
|
+
-webkit-overflow-scrolling: touch;
|
|
11
|
+
background-color: white;
|
|
12
|
+
z-index: var(--searchbar-z-index);
|
|
13
|
+
}
|
|
14
|
+
`,O=v.default.section``,k=v.default.input`
|
|
15
|
+
position: fixed;
|
|
16
|
+
left: -100%;
|
|
17
|
+
top: -100%;
|
|
18
|
+
`,I=v.default(l.Input)`
|
|
19
|
+
#booking-search-bar & {
|
|
20
|
+
input {
|
|
21
|
+
font-size: 16px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
`,T=r.createGlobalStyle`
|
|
25
|
+
.care-popup-open {
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
position: fixed;
|
|
28
|
+
&::before {
|
|
29
|
+
content: '';
|
|
30
|
+
inset: 0;
|
|
31
|
+
position: absolute;
|
|
32
|
+
background-color: white;
|
|
33
|
+
min-height: 100vh;
|
|
34
|
+
min-width: 100vw;
|
|
35
|
+
z-index: 2;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
`,R=({className:e,color:t})=>b.default.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18",stroke:t||"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),b.default.createElement("path",{d:"M6 6L18 18",stroke:t||"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),M=({className:e,color:t})=>b.default.createElement("svg",{width:"14",height:"20",viewBox:"0 0 14 20",className:e},b.default.createElement("path",{d:"M7 0C3.134 0 0 3.134 0 7C0 10.966 4.404 16.82 6.226 19.071C6.626 19.565 7.374 19.565 7.774 19.071C9.596 16.82 14 10.966 14 7C14 3.134 10.866 0 7 0ZM7 9.5C5.619 9.5 4.5 8.381 4.5 7C4.5 5.619 5.619 4.5 7 4.5C8.381 4.5 9.5 5.619 9.5 7C9.5 8.381 8.381 9.5 7 9.5Z",fill:t||"currentColor"})),N=({className:e,color:t})=>b.default.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18Z",stroke:t||"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),b.default.createElement("path",{d:"M20 20L16 16",stroke:t||"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),A=({width:e,height:t})=>b.default.createElement("svg",{width:e||30,height:t||30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("circle",{cx:"15",cy:"15",r:"15",fill:"#F7F9FC"})),j=v.default.li`
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: 12px;
|
|
42
|
+
padding: 8px 16px;
|
|
43
|
+
|
|
44
|
+
> :first-child {
|
|
45
|
+
flex: 1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
> :nth-child(2) {
|
|
49
|
+
flex: 6;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
& + li::before {
|
|
53
|
+
content: '';
|
|
54
|
+
position: absolute;
|
|
55
|
+
left: 18px;
|
|
56
|
+
right: 18px;
|
|
57
|
+
top: 0;
|
|
58
|
+
height: 1px;
|
|
59
|
+
background-color: ${d.theme.colors.neutral100};
|
|
60
|
+
}
|
|
61
|
+
`,P=v.default.div`
|
|
62
|
+
display: flex;
|
|
63
|
+
position: absolute;
|
|
64
|
+
top: 48px;
|
|
65
|
+
min-width: 100%;
|
|
66
|
+
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
67
|
+
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
68
|
+
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
69
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
70
|
+
background-color: white;
|
|
71
|
+
z-index: 30;
|
|
72
|
+
|
|
73
|
+
${u.MediaQueries.tdDown} {
|
|
74
|
+
position: relative;
|
|
75
|
+
top: 0;
|
|
76
|
+
box-shadow: initial;
|
|
77
|
+
}
|
|
78
|
+
`,_=v.default.ul`
|
|
79
|
+
width: 100%;
|
|
80
|
+
max-height: 600px;
|
|
81
|
+
overflow-y: auto;
|
|
82
|
+
`,F=v.default(M)`
|
|
83
|
+
width: 12px;
|
|
84
|
+
height: 18px;
|
|
85
|
+
`,D=v.default.li`
|
|
86
|
+
position: relative;
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
padding: 12px 18px;
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
gap: 14px;
|
|
92
|
+
overflow: hidden;
|
|
93
|
+
|
|
94
|
+
${({isSelected:e})=>e&&"\n &::after {\n content: url(\"data:image/svg+xml,%3Csvg width='19' height='14' viewBox='0 0 19 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.9803 0.990669C16.7205 0.99841 16.4739 1.10699 16.2928 1.2934L5.99984 11.5864L2.70687 8.2934C2.61473 8.19743 2.50436 8.12081 2.38223 8.06802C2.2601 8.01524 2.12867 7.98735 1.99563 7.986C1.86259 7.98464 1.73061 8.00985 1.60743 8.06014C1.48426 8.11043 1.37235 8.18479 1.27827 8.27887C1.1842 8.37295 1.10983 8.48485 1.05954 8.60803C1.00926 8.73121 0.98405 8.86318 0.985403 8.99622C0.986757 9.12926 1.01464 9.26069 1.06743 9.38282C1.12021 9.50495 1.19684 9.61532 1.29281 9.70747L5.29281 13.7075C5.48035 13.8949 5.73467 14.0002 5.99984 14.0002C6.26501 14.0002 6.51933 13.8949 6.70687 13.7075L17.7069 2.70747C17.8514 2.567 17.9501 2.38616 17.99 2.18864C18.03 1.99112 18.0093 1.78614 17.9308 1.60055C17.8523 1.41497 17.7195 1.25744 17.5499 1.14861C17.3803 1.03978 17.1817 0.984729 16.9803 0.990669Z' fill='%232685F1'/%3E%3C/svg%3E%0A\");\n top: 50%;\n right: 18px;\n position: absolute;\n transform: translateY(-50%);\n }\n "}
|
|
95
|
+
|
|
96
|
+
& + li::before {
|
|
97
|
+
content: '';
|
|
98
|
+
position: absolute;
|
|
99
|
+
left: 18px;
|
|
100
|
+
right: 18px;
|
|
101
|
+
top: 0;
|
|
102
|
+
height: 1px;
|
|
103
|
+
background-color: ${d.theme.colors.neutral100};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&:not([data-is-denied='true']):hover {
|
|
107
|
+
background-color: ${d.theme.colors.neutral50};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&:last-child:hover {
|
|
111
|
+
border-bottom-right-radius: 6px;
|
|
112
|
+
border-bottom-left-radius: 6px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&:first-child:hover {
|
|
116
|
+
border-top-right-radius: 6px;
|
|
117
|
+
border-top-left-radius: 6px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&[data-is-denied='true'] {
|
|
121
|
+
cursor: not-allowed;
|
|
122
|
+
}
|
|
123
|
+
`,B=v.default((({count:e,className:t})=>b.default.createElement(b.default.Fragment,null,[...Array(e)].map(((e,a)=>b.default.createElement(j,{className:t,key:a},b.default.createElement(E.default,{count:1,height:32}),b.default.createElement(E.default,{count:1,height:24})))))))`
|
|
124
|
+
&:first-child {
|
|
125
|
+
padding-top: 18px;
|
|
126
|
+
}
|
|
127
|
+
`,H=({cities:e,isLoading:t,onLocationClick:a,selectedLocation:i})=>{const{t:n,locale:l}=o.useTranslations();return b.default.createElement(P,{"data-testid":"location-search-results"},b.default.createElement(_,null,t?b.default.createElement(B,{count:5}):!e||e.length<1?b.default.createElement(b.default.Fragment,null,b.default.createElement(D,{"data-is-denied":"true"},b.default.createElement(c.Text,{size:"sm",color:"#ccc"},n("booking.searchBar.noResults")))):b.default.createElement(b.default.Fragment,null,b.default.createElement(D,{key:"all-location",role:"button",tabIndex:0,onClick:()=>{var e;a&&a({name:n("booking.searchBar.allLocations"),id:s.ID_OPTION_ALL_LOCATION,slug:null===(e=s.LOCALIZED_SLUGS[l])||void 0===e?void 0:e.ALL})}},b.default.createElement(F,{color:d.theme.colors.neutral400}),b.default.createElement(c.Text,{size:"md"},n("booking.searchBar.allLocations"))),e.map((e=>b.default.createElement(D,{key:e.id,onClick:t=>{t.nativeEvent.stopImmediatePropagation(),a&&a(e)},role:"button",tabIndex:0,"aria-label":`Select ${e.name} as location`,isSelected:(null==i?void 0:i.id)===e.id},b.default.createElement(F,{color:d.theme.colors.neutral400}),b.default.createElement(c.Text,{size:"md"},e.name)))))))},V="TYPE_CHARACTER",$="REMOVE_CHARACTER",z="REMOVE_ALL",G="REMOVE_LAST_VISIBLE_NODE",K="PAUSE_FOR",Z="CHANGE_DELETE_SPEED",U="CHANGE_DELAY",q="PASTE_STRING",Q=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,Y="TEXT_NODE";class W{constructor(e){this.state={lastFrameTime:null,pauseUntil:null,eventQueue:[],eventLoop:null,eventLoopPaused:!1,reverseCalledEvents:[],calledEvents:[],visibleNodes:[],initialOptions:null},this.options={strings:null,delay:"natural",pauseFor:1500,deleteSpeed:"natural",loop:!1,autoStart:!1,stringSplitter:null,onCreateTextNode:null,onRemoveNode:null},this.start=()=>(this.state.eventLoopPaused=!1,this.runEventLoop(),this),this.pause=()=>(this.state.eventLoopPaused=!0,this),this.stop=()=>(this.state.eventLoop&&(window.cancelAnimationFrame(this.state.eventLoop),this.state.eventLoop=null),this),this.pauseFor=e=>(this.addEventToQueue(K,{ms:e}),this),this.typeOutAllStrings=()=>"string"==typeof this.options.strings?(this.typeString(this.options.strings).pauseFor(this.options.pauseFor),this):(this.options.strings.forEach((e=>{this.typeString(e).pauseFor(this.options.pauseFor).deleteAll(this.options.deleteSpeed)})),this),this.typeString=(e,t=null)=>{if(e){const{stringSplitter:a}=this.options||{},i="function"==typeof a?a(e):e.split("");this.typeCharacters(i,t)}return this},this.pasteString=(e,t=null)=>(e&&this.addEventToQueue(q,{character:e,node:t}),this),this.deleteAll=(e="natural")=>(this.addEventToQueue(z,{speed:e}),this),this.changeDeleteSpeed=e=>{if(!e)throw new Error("Must provide new delete speed");return this.addEventToQueue(Z,{speed:e}),this},this.changeDelay=e=>{if(!e)throw new Error("Must provide new delay");return this.addEventToQueue(U,{delay:e}),this},this.deleteChars=e=>{if(!e)throw new Error("Must provide amount of characters to delete");for(let t=0;t<e;t++)this.addEventToQueue($);return this},this.typeCharacters=(e,t=null)=>{if(!e||!Array.isArray(e))throw new Error("Characters must be an array");return e.forEach((e=>{this.addEventToQueue(V,{character:e,node:t})})),this},this.removeCharacters=e=>{if(!e||!Array.isArray(e))throw new Error("Characters must be an array");return e.forEach((()=>{this.addEventToQueue($)})),this},this.addEventToQueue=(e,t,a=!1)=>this.addEventToStateProperty(e,t,a,"eventQueue"),this.addReverseCalledEvent=(e,t,a=!1)=>{const{loop:i}=this.options;return i?this.addEventToStateProperty(e,t,a,"reverseCalledEvents"):this},this.addEventToStateProperty=(e,t,a=!1,i)=>{const o={eventName:e,eventArgs:t||{}};return this.state[i]=a?[o,...this.state[i]]:[...this.state[i],o],this},this.runEventLoop=()=>{this.state.lastFrameTime||(this.state.lastFrameTime=Date.now());const e=Date.now(),t=e-this.state.lastFrameTime;if(!this.state.eventQueue.length){if(!this.options.loop)return;this.state.eventQueue=[...this.state.calledEvents],this.state.calledEvents=[],this.options=Object.assign({},this.state.initialOptions)}if(this.state.eventLoop=window.requestAnimationFrame(this.runEventLoop),this.state.eventLoopPaused)return;if(this.state.pauseUntil){if(e<this.state.pauseUntil)return;this.state.pauseUntil=null}const a=[...this.state.eventQueue],i=a.shift();let o=0;if(o=i.eventName===G||i.eventName===$?"natural"===this.options.deleteSpeed?Q(40,80):this.options.deleteSpeed:"natural"===this.options.delay?Q(120,160):this.options.delay,t<=o)return;const{eventName:n,eventArgs:s}=i;switch(n){case q:case V:{const{character:e}=s,t=document.createTextNode(e);let a=t;this.options.onCreateTextNode&&"function"==typeof this.options.onCreateTextNode&&(a=this.options.onCreateTextNode(e,t)),this.state.visibleNodes=[...this.state.visibleNodes,{type:Y,character:e,node:a}];break}case $:a.unshift({eventName:G,eventArgs:{removingCharacterNode:!0}});break;case K:{const{ms:e}=i.eventArgs;this.state.pauseUntil=Date.now()+parseInt(e);break}case z:{const{visibleNodes:e}=this.state,{speed:t}=s,i=[];t&&i.push({eventName:Z,eventArgs:{speed:t,temp:!0}});for(let t=0,a=e.length;t<a;t++)i.push({eventName:G,eventArgs:{removingCharacterNode:!1}});t&&i.push({eventName:Z,eventArgs:{speed:this.options.deleteSpeed,temp:!0}}),a.unshift(...i);break}case G:if(this.state.visibleNodes.length){const{node:e,character:t}=this.state.visibleNodes.pop();this.options.onRemoveNode&&"function"==typeof this.options.onRemoveNode&&this.options.onRemoveNode({node:e,character:t}),e&&e.parentNode.removeChild(e)}break;case Z:this.options.deleteSpeed=i.eventArgs.speed;break;case U:this.options.delay=i.eventArgs.delay}this.options.loop&&(i.eventName===G||i.eventArgs&&i.eventArgs.temp||(this.state.calledEvents=[...this.state.calledEvents,i])),this.state.eventQueue=a,this.state.lastFrameTime=e},e&&(this.options=Object.assign(Object.assign({},this.options),e)),this.state.initialOptions=Object.assign({},this.options),this.init()}init(){this.addEventToQueue(z,null,!0),!0===this.options.autoStart&&this.options.strings&&this.typeOutAllStrings().start()}}function J({inputRef:e,wrapperRef:a,disabled:i}){const{t:n,locale:s}=o.useTranslations(),l=t.useMemo((()=>{if(i)return[];const e=["booking.searchBar.placeholder.hospital","booking.searchBar.placeholder.doctor"];return"zh-TW"!==s&&e.push("booking.searchBar.placeholder.specialty","booking.searchBar.placeholder.service"),L.default(e).map((e=>n(e)))}),[n,s]);function r(e){const t=d();return t&&(t.placeholder=t.placeholder+e),null}function c(){const e=d();e&&(e.placeholder=e.placeholder.slice(0,-1))}function d(){return e&&e.current?e.current:a&&a.current&&a.current.querySelector("input")||null}t.useEffect((()=>{if(i)return;const e=d();e&&(e.placeholder="",new W({strings:l,autoStart:!0,loop:!0,delay:32,deleteSpeed:32,pauseFor:1500,onCreateTextNode:r,onRemoveNode:c}))}),[e,a])}const X=v.default.div`
|
|
128
|
+
user-select: none;
|
|
129
|
+
input {
|
|
130
|
+
pointer-events: none;
|
|
131
|
+
background-color: white;
|
|
132
|
+
}
|
|
133
|
+
`;function ee({focused:e,value:a="",onClick:i,trackingAttributes:n,inputSearchPlaceholder:s}){const{t:l}=o.useTranslations(),r=t.useRef(null);J({wrapperRef:r,disabled:!!s});const c=t.useMemo((()=>n?{"data-event-category":n.dataEventCategory,"data-event-action":n.dataEventAction,"data-event-label":n.dataEventLabel}:{}),[n]);return b.default.createElement(X,Object.assign({onClick:()=>i&&i(),ref:r},c),b.default.createElement(I,{inputClassName:"location"===e?"focused":void 0,name:"booking-search-placeholder",displayIcon:b.default.createElement(N,{color:d.theme.colors.gray400}),placeholder:l("booking.searchBar.searchInput.placeholder"),value:a,size:"md"}))}const te=v.default.header`
|
|
134
|
+
display: flex;
|
|
135
|
+
height: 64px;
|
|
136
|
+
align-items: center;
|
|
137
|
+
justify-content: space-between;
|
|
138
|
+
margin: 0 auto;
|
|
139
|
+
position: sticky;
|
|
140
|
+
z-index: 99;
|
|
141
|
+
background-color: white;
|
|
142
|
+
top: 0;
|
|
143
|
+
left: 0;
|
|
144
|
+
`,ae=v.default.div`
|
|
145
|
+
display: inline-flex;
|
|
146
|
+
flex: 1;
|
|
147
|
+
justify-content: flex-end;
|
|
148
|
+
cursor: pointer;
|
|
149
|
+
text-decoration: underline;
|
|
150
|
+
`,ie=v.default.div`
|
|
151
|
+
display: flex;
|
|
152
|
+
align-items: center;
|
|
153
|
+
margin-left: 16px;
|
|
154
|
+
cursor: pointer;
|
|
155
|
+
`,oe=v.default.div`
|
|
156
|
+
width: 100%;
|
|
157
|
+
margin-left: 24px;
|
|
158
|
+
`,ne=v.default(c.Text)`
|
|
159
|
+
color: ${d.theme.colors.secondaryDark};
|
|
160
|
+
text-align: start;
|
|
161
|
+
`,se=({className:e,onLeftClick:t,headingText:a,onRightClick:i,iconLeft:o,textRight:n})=>b.default.createElement(te,{className:e},b.default.createElement(ie,{onClick:t},o||b.default.createElement(R,{color:d.theme.colors.gray800})),b.default.createElement(oe,null,b.default.createElement(ne,{size:"md",type:"bold"},a)),b.default.createElement(ae,{onClick:i},n&&b.default.createElement("p",null,n))),le={"en-PH":3,"tl-PH":2,"id-ID":3,"vi-VN":2,"zh-TW":0,"ms-MY":2},re={isMobile:!1,isDebug:!1,navigateTo:null,geoLocationPermission:"unset",geoLocationCoordinates:null,focused:"none",searchLocationKeywords:"",searchKeywords:"",selectedLocation:null,defaultCity:null,initialCities:[],cities:[],searchResults:[],initialSearchResults:[],isLoadingCities:!1,isLoadingSearchResults:!1,isMobileModalOpened:!1,initialSelectedCity:null,autoCompleteDisabled:!1,inputSearchPlaceholder:"",locale:"vi-VN"};var ce;function de(e){const{selectedLocation:t,searchLocationKeywords:a}=e;return t&&a!==t.name?Object.assign(Object.assign({},e),{searchLocationKeywords:t.name}):e}function ue(e,t){var a;switch(e.isDebug&&console.log("bookingSearchBar",{action:t,state:e}),t.type){case ce.NavigateTo:return Object.assign(Object.assign({},e),{navigateTo:t.payload,focused:"none",isMobileModalOpened:!1});case ce.ClickOutsideInputLocation:return e.isMobile||"location"!==e.focused?e:de(Object.assign(Object.assign({},e),{focused:"none"}));case ce.ClickOutsideInputSearch:return e.isMobile||"search"!==e.focused?e:Object.assign(Object.assign({},e),{focused:"none"});case ce.FocusInputLocation:{const t=Object.assign(Object.assign({},e),{focused:"location"});return(null===(a=e.selectedLocation)||void 0===a?void 0:a.id)===s.ID_OPTION_CURRENT_LOCATION&&(t.searchLocationKeywords=""),t}case ce.FocusInputSearch:const i=Object.assign(Object.assign({},e),{focused:"search"});return e.isMobile?de(i):i;case ce.ChangeInputLocation:return Object.assign(Object.assign({},e),{searchLocationKeywords:t.payload});case ce.ChangeInputSearch:{const a=t.payload;return Object.assign(Object.assign({},e),{searchKeywords:a,isLoadingSearchResults:a.trim().length>le[e.locale]})}case ce.SelectCurrentLocation:return Object.assign(Object.assign({},e),{focused:"none",selectedLocation:t.payload,searchLocationKeywords:t.payload.name});case ce.ClearInputLocation:return Object.assign(Object.assign({},e),{focused:"location",cities:e.initialCities,searchLocationKeywords:""});case ce.ClearInputSearch:return Object.assign(Object.assign({},e),{focused:"search",searchKeywords:""});case ce.SelectLocation:return Object.assign(Object.assign({},e),{focused:"none",selectedLocation:t.payload,searchLocationKeywords:t.payload.name});case ce.SelectSearchResult:return Object.assign(Object.assign({},e),{searchKeywords:t.payload.name,isMobileModalOpened:!1,focused:"none",navigateTo:t.payload.url});case ce.FetchCitiesStart:return Object.assign(Object.assign({},e),{isLoadingCities:!0});case ce.FetchCitiesFinish:return Object.assign(Object.assign({},e),{isLoadingCities:!1});case ce.FetchSearchResultsStart:return Object.assign(Object.assign({},e),{isLoadingSearchResults:!0});case ce.FetchSearchResultsFinish:return Object.assign(Object.assign({},e),{isLoadingSearchResults:!1});case ce.FetchSearchResultsComplete:{const a=Object.assign(Object.assign({},e),{searchResults:t.payload});return 0===e.initialSearchResults.length&&(a.initialSearchResults=t.payload),a}case ce.FetchCitiesByGeoIpComplete:{let{cities:a}=t.payload;const{default:i}=t.payload;a=a.filter((e=>e.id!==i.id)),a.unshift(i),e.initialSelectedCity&&!a.find((t=>t.id===e.initialSelectedCity.id))&&a.unshift(e.initialSelectedCity);const o=Object.assign(Object.assign({},e),{defaultCity:i,initialCities:a,cities:a});return"denied"!==e.geoLocationPermission||e.initialSelectedCity||(o.selectedLocation=i,o.searchLocationKeywords=i.name),o}case ce.FetchCitiesByKeywordComplete:return Object.assign(Object.assign({},e),{cities:t.payload});case ce.DisplayInitialCities:return Object.assign(Object.assign({},e),{cities:e.initialCities});case ce.DisplayInitialSearchResults:return Object.assign(Object.assign({},e),{searchResults:e.initialSearchResults,isLoadingSearchResults:!1});case ce.GrantGeoLocationPermission:return Object.assign(Object.assign({},e),{geoLocationPermission:"granted",geoLocationCoordinates:t.payload});case ce.DenyGeoLocationPermission:return Object.assign(Object.assign({},e),{geoLocationPermission:"denied",geoLocationCoordinates:null});case ce.OpenMobileModal:return Object.assign(Object.assign({},e),{isMobileModalOpened:!0});case ce.CloseMobileModal:return Object.assign(Object.assign({},e),{isMobileModalOpened:!1});case ce.UpdateInitialSearchValue:return Object.assign(Object.assign({},e),{searchKeywords:t.payload});case ce.SetInputSearchPlaceholder:return Object.assign(Object.assign({},e),{inputSearchPlaceholder:t.payload});default:return e}}!function(e){e.NavigateTo="navigate to url",e.ClickOutsideInputLocation="click outside input location",e.ClickOutsideInputSearch="click outside input search",e.SelectCurrentLocation="select current location",e.FocusInputLocation="focus input location",e.FocusInputSearch="focus input search",e.ChangeInputLocation="change input location",e.ChangeInputSearch="change input search",e.ClearInputLocation="clear input location",e.ClearInputSearch="clear input search",e.SelectLocation="select location",e.FetchCitiesStart="fetch cities start",e.FetchCitiesFinish="fetch cities finish",e.FetchSearchResultsStart="fetch search results start",e.FetchSearchResultsComplete="fetch search results complete",e.FetchSearchResultsFinish="fetch search results finish",e.FetchCitiesByGeoIpComplete="fetch cities by geo IP finish",e.FetchCitiesByKeywordComplete="fetch cities by keyword finish",e.DisplayInitialCities="display initial cities",e.DisplayInitialSearchResults="display initial search results",e.GrantGeoLocationPermission="grant geolocation permission",e.DenyGeoLocationPermission="deny geolocation permission",e.OpenMobileModal="open mobile modal",e.CloseMobileModal="close mobile modal",e.UpdateInitialSearchValue="update initial search value",e.SelectSearchResult="select search result",e.SetInputSearchPlaceholder="set input search placeholder"}(ce||(ce={}));const he=v.default.div`
|
|
162
|
+
display: flex;
|
|
163
|
+
gap: 16px;
|
|
164
|
+
${u.MediaQueries.mbDown} {
|
|
165
|
+
flex-direction: column;
|
|
166
|
+
padding: 14px;
|
|
167
|
+
background-color: ${d.theme.colors.primary50};
|
|
168
|
+
|
|
169
|
+
input {
|
|
170
|
+
filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04))
|
|
171
|
+
drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.06))
|
|
172
|
+
drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
input {
|
|
177
|
+
background-color: white;
|
|
178
|
+
}
|
|
179
|
+
`,pe=v.default.div`
|
|
180
|
+
position: relative;
|
|
181
|
+
`,fe=v.default(pe)`
|
|
182
|
+
flex: 1;
|
|
183
|
+
`,ge=v.default(pe)`
|
|
184
|
+
flex: 2;
|
|
185
|
+
`,me=v.default((({className:e,color:t})=>b.default.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("rect",{x:"4",y:"4",width:"16",height:"16",rx:"8",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM8.29289 8.29289C8.68342 7.90237 9.31658 7.90237 9.70711 8.29289L12 10.5858L14.2929 8.29289C14.6834 7.90237 15.3166 7.90237 15.7071 8.29289C16.0976 8.68342 16.0976 9.31658 15.7071 9.70711L13.4142 12L15.7071 14.2929C16.0976 14.6834 16.0976 15.3166 15.7071 15.7071C15.3166 16.0976 14.6834 16.0976 14.2929 15.7071L12 13.4142L9.70711 15.7071C9.31658 16.0976 8.68342 16.0976 8.29289 15.7071C7.90237 15.3166 7.90237 14.6834 8.29289 14.2929L10.5858 12L8.29289 9.70711C7.90237 9.31658 7.90237 8.68342 8.29289 8.29289Z",fill:t||"currentColor"}))))`
|
|
186
|
+
display: none;
|
|
187
|
+
&.shown {
|
|
188
|
+
display: block;
|
|
189
|
+
}
|
|
190
|
+
`,Ce=()=>b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18"},b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72624 14.8099 11.1704 14.2653 12.3089 13.3546L15.2377 16.2834C15.5265 16.5722 15.9947 16.5722 16.2834 16.2834C16.5722 15.9947 16.5722 15.5265 16.2834 15.2377L13.3546 12.3089C14.2653 11.1704 14.8099 9.72624 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"white"})),be=v.default.button`
|
|
191
|
+
min-height: 100%;
|
|
192
|
+
border-radius: 6px;
|
|
193
|
+
background-color: ${({theme:e})=>e.colors.primaryBase};
|
|
194
|
+
display: flex;
|
|
195
|
+
justify-content: center;
|
|
196
|
+
align-items: center;
|
|
197
|
+
gap: 11px;
|
|
198
|
+
cursor: pointer;
|
|
199
|
+
flex: 0.3;
|
|
200
|
+
|
|
201
|
+
${u.MediaQueries.mbDown} {
|
|
202
|
+
--margin: 16px;
|
|
203
|
+
min-height: 44px;
|
|
204
|
+
margin: var(--margin);
|
|
205
|
+
width: calc(100% - var(--margin) * 2);
|
|
206
|
+
position: absolute;
|
|
207
|
+
bottom: 0;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
&:hover {
|
|
211
|
+
background-color: ${({theme:e})=>e.colors.primaryHover};
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&:active {
|
|
215
|
+
background-color: ${({theme:e})=>e.colors.primaryActive};
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
&:focus-visible {
|
|
219
|
+
outline: 1px solid black;
|
|
220
|
+
}
|
|
221
|
+
`,ye=v.default(c.Text)`
|
|
222
|
+
font-weight: ${({theme:e})=>e.sizes.fwSemiBold};
|
|
223
|
+
`,ve=({onClick:e})=>{const{t:t}=o.useTranslations(),a=t("booking.searchBar.searchButton");return b.default.createElement(be,{onClick:e,title:a},b.default.createElement(Ce,null),b.default.createElement(ye,{size:"s3",color:"white"},a))};function Ee({isMobile:e,state:a,dispatch:i,debouncedFetchCitiesByKeyword:n,debouncedFetchSearchResults:l,focusLocationInput:r,focusSearchInput:c,renderLocationResults:u,renderSearchResults:h,locationTrackingAttributes:p,trackingAttributes:g,onSearch:m,initalSearchValue:C}){const y=t.useRef(null),v=t.useRef(null),{focused:E,searchLocationKeywords:L,geoLocationPermission:w,selectedLocation:S,searchKeywords:x,inputSearchPlaceholder:O}=a,{t:k}=o.useTranslations();J({wrapperRef:v,disabled:!!O}),f.useOutsideClick(y,(()=>{e||i({type:ce.ClickOutsideInputLocation})})),f.useOutsideClick(v,(()=>{e||i({type:ce.ClickOutsideInputSearch})}));const T=t.useMemo((()=>"granted"===w&&(null==S?void 0:S.id)===s.ID_OPTION_CURRENT_LOCATION?d.theme.colors.primaryBase:d.theme.colors.gray400),[w,S]),R=t.useCallback((function(e){i({type:ce.ChangeInputSearch,payload:e}),"function"!=typeof m&&(e.trim().length>le[a.locale]||C?l(e.trim(),a):(l.cancel(),i({type:ce.DisplayInitialSearchResults})))}),[i,a]),N=t.useCallback((function(e){i({type:ce.ChangeInputLocation,payload:e}),e.trim().length>le[a.locale]?n(e.trim()):(n.cancel(),i({type:ce.DisplayInitialCities}))}),[n,i]);return b.default.createElement(he,null,b.default.createElement(fe,{ref:y},b.default.createElement(I,{inputClassName:"location"===E?"focused":void 0,placeholder:k("booking.searchBar.locationPlaceholder"),autoComplete:"off",name:"search-location",displayIcon:b.default.createElement(M,{className:"location-pin-icon",color:T}),actionIcon:b.default.createElement(me,{color:d.theme.colors.gray300,className:""!==L?"shown":""}),onActionClick:function(){i({type:ce.ClearInputLocation}),n.cancel(),r()},value:L,onChange:N,onFocus:()=>i({type:ce.FocusInputLocation}),size:"md",trackingAttributes:p}),!e&&u()),b.default.createElement(ge,{ref:v},b.default.createElement(I,{placeholder:O||k("booking.searchBar.searchInput.placeholder"),autoComplete:"off",name:"search-results",actionIcon:b.default.createElement(me,{color:d.theme.colors.gray300,className:""!==x?"shown":""}),onActionClick:function(){i({type:ce.ClearInputSearch}),l.cancel(),l("",a),c()},value:x,onChange:R,onFocus:()=>i({type:ce.FocusInputSearch}),inputClassName:"search"===E?"focused":void 0,size:"md",trackingAttributes:g,onKeyPress:e=>{a.autoCompleteDisabled&&"Enter"===e.key&&m&&m({cityId:a.selectedLocation.id,keyword:x})},enterKeyHint:a.autoCompleteDisabled?"search":void 0}),!e&&h()),a.autoCompleteDisabled&&!a.isMobile&&b.default.createElement(ve,{onClick:()=>{m({cityId:a.selectedLocation.id,keyword:x})}}))}const Le=()=>b.default.createElement("svg",{width:"14",height:"18",viewBox:"0 0 14 18"},b.default.createElement("path",{d:"M7.00004 0.666992C5.29757 0.666992 3.64067 0.813476 2.52087 1.03158C1.73311 1.18457 1.16671 1.86816 1.16671 2.6722V4.83366C1.16671 5.29264 1.54106 5.66699 2.00004 5.66699H12C12.459 5.66699 12.8334 5.29264 12.8334 4.83366V2.69824C12.8334 1.89421 12.267 1.21061 11.4792 1.05762C10.3562 0.839518 8.69275 0.666992 7.00004 0.666992ZM6.16671 1.50033H7.83337V2.33366H8.66671V4.00033H7.83337V4.83366H6.16671V4.00033H5.33337V2.33366H6.16671V1.50033ZM1.42712 6.50033C1.3197 6.89421 1.24158 7.32389 1.19275 7.77637C1.14718 8.18001 1.05603 9.25423 1.06254 9.36491C0.603556 9.72624 0.333374 10.2861 0.333374 10.9014C0.333374 11.8356 0.977906 12.6364 1.84379 12.8285C2.74548 15.0192 4.55212 17.3337 7.00004 17.3337C9.44796 17.3337 11.2546 14.9964 12.1563 12.8024C13.0222 12.6136 13.6667 11.8356 13.6667 10.9014C13.6667 10.2861 13.3965 9.72624 12.9375 9.36491C12.9441 9.25423 12.8562 8.16048 12.8073 7.75033C12.7552 7.30436 12.6804 6.89095 12.573 6.50033H5.35942C6.52804 8.20606 9.27543 7.18717 11.0365 7.62012C11.5736 8.79199 11.1667 10.4326 11.1667 10.4326L11.8177 10.641C11.9121 10.6702 12 10.7549 12 10.9014C12 11.0576 11.8861 11.1943 11.6875 11.1878L11.0105 11.0837L10.7761 11.7347C9.96554 14.0492 8.4128 15.667 7.00004 15.667C5.58728 15.667 4.03455 14.0492 3.224 11.7347L2.96358 11.0837L2.26046 11.1878C2.11723 11.1878 2.00004 11.0576 2.00004 10.9014C2.00004 10.7549 2.08793 10.6702 2.18233 10.641L2.83337 10.4326C2.73246 10.5531 2.4102 8.7041 2.83337 8.03678C3.59184 7.5127 4.2266 7.87728 5.12504 6.50033H1.42712ZM5.17712 9.05241C4.57166 9.05241 4.08337 9.55371 4.08337 10.1722C4.08337 10.7907 4.57166 11.292 5.17712 11.292C5.78259 11.292 6.27087 10.7907 6.27087 10.1722C6.27087 9.55371 5.78259 9.05241 5.17712 9.05241ZM8.82296 9.05241C8.21749 9.05241 7.72921 9.55371 7.72921 10.1722C7.72921 10.7907 8.21749 11.292 8.82296 11.292C9.42843 11.292 9.91671 10.7907 9.91671 10.1722C9.91671 9.55371 9.42843 9.05241 8.82296 9.05241Z",fill:"#9AA2AC"})),we=()=>b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18"},b.default.createElement("path",{d:"M8.99996 0.666992C6.27535 0.666992 3.85348 1.97884 2.33329 4.00033H4.59892C5.80009 2.94564 7.36259 2.33366 8.99996 2.33366C10.6373 2.33366 12.1998 2.94564 13.401 4.00033H15.6666C14.1464 1.97884 11.7246 0.666992 8.99996 0.666992ZM1.78642 4.83366C1.07678 7.04069 0.666626 9.59928 0.666626 12.3337C0.666626 14.085 0.826131 15.7679 1.13538 17.3337H16.8645C17.1738 15.7679 17.3333 14.085 17.3333 12.3337C17.3333 9.59928 16.9231 7.04069 16.2135 4.83366H1.78642ZM8.99996 7.33366C11.3014 7.33366 13.1666 9.19889 13.1666 11.5003C13.1666 13.8018 11.3014 15.667 8.99996 15.667C6.69853 15.667 4.83329 13.8018 4.83329 11.5003C4.83329 9.19889 6.69853 7.33366 8.99996 7.33366ZM8.16663 9.00033V10.667H6.49996V12.3337H8.16663V14.0003H9.83329V12.3337H11.5V10.667H9.83329V9.00033H8.16663Z",fill:"#9AA2AC"})),Se=()=>b.default.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17"},b.default.createElement("path",{d:"M8 0.666992L0.5 5.63533V14.8337C0.5 15.7545 1.24583 16.5003 2.16667 16.5003H13.8333C14.7542 16.5003 15.5 15.7545 15.5 14.8337V5.63533L8 0.666992ZM11.3333 10.667H8.83333V13.167H7.16667V10.667H4.66667V9.00033H7.16667V6.50033H8.83333V9.00033H11.3333V10.667Z",fill:"#9AA2AC"})),xe=()=>b.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16"},b.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"})),Oe=v.default.header`
|
|
224
|
+
display: flex;
|
|
225
|
+
justify-content: space-between;
|
|
226
|
+
padding: 12px 24px;
|
|
227
|
+
background-color: ${d.theme.colors.neutral50};
|
|
228
|
+
box-shadow: inset 0px 1px 0px #e4e8ec;
|
|
229
|
+
`,ke=v.default.div`
|
|
230
|
+
display: grid;
|
|
231
|
+
flex: 2;
|
|
232
|
+
align-items: center;
|
|
233
|
+
gap: 16px;
|
|
234
|
+
grid-template-columns: 16px 1fr;
|
|
235
|
+
`,Ie=v.default.p`
|
|
236
|
+
color: ${d.theme.colors.neutral800};
|
|
237
|
+
font-size: 14px;
|
|
238
|
+
font-weight: ${d.theme.sizes.fwSemiBold};
|
|
239
|
+
letter-spacing: -0.2px;
|
|
240
|
+
line-height: 22px;
|
|
241
|
+
`,Te=v.default.button`
|
|
242
|
+
flex: 1;
|
|
243
|
+
cursor: pointer;
|
|
244
|
+
text-align: end;
|
|
245
|
+
`,Re=v.default.section`
|
|
246
|
+
padding: 12px 16px;
|
|
247
|
+
--rowGap: 16px;
|
|
248
|
+
--graphicSize: 32px;
|
|
249
|
+
|
|
250
|
+
${u.MediaQueries.tdUp} {
|
|
251
|
+
--rowGap: 8px;
|
|
252
|
+
}
|
|
253
|
+
`,Me=v.default.ul`
|
|
254
|
+
--gap: 16px;
|
|
255
|
+
${u.MediaQueries.tdUp} {
|
|
256
|
+
--gap: 8px;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
display: grid;
|
|
260
|
+
overflow: hidden;
|
|
261
|
+
gap: var(--gap);
|
|
262
|
+
transition: max-height 0.8s ease-out;
|
|
263
|
+
|
|
264
|
+
${({isMore:e})=>e&&"\n height: auto;\n max-height: 0;\n margin-top: var(--gap);\n "}
|
|
265
|
+
|
|
266
|
+
${({isShown:e})=>e&&"\n max-height: 600px;\n "}
|
|
267
|
+
|
|
268
|
+
@media (prefers-reduced-motion) {
|
|
269
|
+
transition: none;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
${u.MediaQueries.tdUp} {
|
|
273
|
+
grid-template-columns: 1fr 1fr;
|
|
274
|
+
} ;
|
|
275
|
+
`,Ne=v.default(c.Text)`
|
|
276
|
+
margin-top: 12px;
|
|
277
|
+
margin-bottom: 8px;
|
|
278
|
+
cursor: pointer;
|
|
279
|
+
text-align: start;
|
|
280
|
+
text-transform: capitalize;
|
|
281
|
+
`,Ae=v.default.li`
|
|
282
|
+
display: flex;
|
|
283
|
+
align-items: center;
|
|
284
|
+
gap: var(--rowGap);
|
|
285
|
+
cursor: pointer;
|
|
286
|
+
&.not-nav {
|
|
287
|
+
cursor: default;
|
|
288
|
+
}
|
|
289
|
+
`,je=v.default.div`
|
|
290
|
+
--wrapper-size: var(--graphicSize);
|
|
291
|
+
border-radius: calc(var(--wrapper-size) / 2);
|
|
292
|
+
background-color: var(--neutral50);
|
|
293
|
+
width: var(--wrapper-size);
|
|
294
|
+
height: var(--wrapper-size);
|
|
295
|
+
aspect-ratio: 1/1;
|
|
296
|
+
overflow: hidden;
|
|
297
|
+
|
|
298
|
+
${({type:e})=>e&&"doctors"===e&&"\n border-radius: calc(var(--graphicSize) / 2);\n "}
|
|
299
|
+
|
|
300
|
+
img {
|
|
301
|
+
width: var(--graphicSize);
|
|
302
|
+
height: var(--graphicSize);
|
|
303
|
+
${({type:e})=>e&&"doctors"===e?"\n\n object-fit: cover; \n ":"\n object-fit: contain;\n "}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
&:focus-visible {
|
|
307
|
+
outline: 1px solid ${d.theme.colors.gray600};
|
|
308
|
+
}
|
|
309
|
+
`,Pe=v.default(c.Text)`
|
|
310
|
+
line-height: 22px;
|
|
311
|
+
letter-spacing: -0.2px;
|
|
312
|
+
|
|
313
|
+
${u.MediaQueries.tdUp} {
|
|
314
|
+
&[data-size='p3'] {
|
|
315
|
+
font-size: 14px;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
`,_e=v.default.figure`
|
|
319
|
+
max-width: var(--graphicSize);
|
|
320
|
+
min-width: var(--graphicSize);
|
|
321
|
+
`,Fe=v.default.svg`
|
|
322
|
+
margin: 0 auto;
|
|
323
|
+
display: block;
|
|
324
|
+
`,De=v.default.div`
|
|
325
|
+
display: grid;
|
|
326
|
+
place-items: center;
|
|
327
|
+
`,Be={doctors:({width:e,height:t})=>b.default.createElement("svg",{width:e||32,height:t||32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("g",{clipPath:"url(#clip0_14712_400114)"},b.default.createElement("rect",{width:"32",height:"32",rx:"16",fill:"#E4E8EC"}),b.default.createElement("path",{d:"M22.065 9.58305C22.1108 9.80952 22.1431 10.0396 22.1614 10.2722C22.3769 13.0522 22.5858 16.1276 22.5727 17.618C22.5306 20.5688 19.708 21.1325 19.4564 21.1769L19.4495 21.5357L19.5228 23.9014C20.8688 23.9341 22.203 24.1759 23.4772 24.6196C24.5264 24.9739 25.4827 25.5591 26.2757 26.332C27.0688 27.105 27.6783 28.0461 28.0594 29.0858L31.9886 39.2068C31.91 39.3048 30.6939 39.6356 29.4888 39.944C30.1695 42.3315 30.4582 44.8142 30.3432 47.2953C30.2991 48.2666 30.1816 49.264 29.7245 50.1211C29.4508 50.6342 29.0319 51.0912 28.5296 51.3753C28.5099 51.4347 28.4864 51.4928 28.4593 51.5495C28.4293 51.6146 28.3908 51.6756 28.3448 51.7307C28.3293 51.7772 28.3232 51.8406 28.3162 51.9135C28.3004 52.0779 28.2799 52.2909 28.1362 52.4685C28.001 52.6373 27.8519 52.7945 27.6905 52.9386C27.6905 52.9386 27.092 52.9667 26.4133 52.9845L26.458 58.4088H5.7492L6.30965 52.9523L5.66093 53.1637C5.07664 53.3528 4.45628 53.4028 3.84925 53.3099C3.24222 53.2169 2.66526 52.9835 2.1643 52.6283C1.61489 52.2388 1.17445 51.715 0.884966 51.1068C0.595484 50.4987 0.46662 49.8266 0.510669 49.1545L0.644528 47.1369L1.41503 38.3366L1.81323 38.4135L-0.914307 37.8437L-0.402886 36.5663C-0.407359 36.5645 -0.411803 36.5627 -0.416214 36.5608C-0.410804 36.56 -0.40538 36.5594 -0.399946 36.5589L2.05995 30.4146C3.00034 28.0825 4.7421 26.1624 6.97187 24.9999C8.56171 24.176 10.3028 23.6861 12.0882 23.5597L11.788 16.5865C11.1882 16.6507 10.0095 16.5266 9.96087 14.954C9.91229 13.3824 11.0457 13.3171 11.6507 13.3961L11.6445 13.2523C11.5785 12.8433 11.5088 12.439 11.4577 12.2132C11.3782 11.8628 11.2611 11.4953 11.1419 11.1207C10.8794 10.2967 10.6061 9.43855 10.697 8.65293C10.697 8.65293 10.6909 8.00438 11.4565 7.24044C11.3707 6.86644 11.3686 6.47786 11.4507 6.10258C11.5366 5.70965 11.7125 5.34199 11.9645 5.02848C12.2165 4.71497 12.5377 4.46414 12.9029 4.29569C13.2682 4.12725 13.6675 4.04577 14.0696 4.05766C14.2277 4.06393 14.3849 4.08493 14.5418 4.10589C14.7932 4.13945 15.0439 4.17294 15.2971 4.14581C15.7708 4.09409 16.177 3.83884 16.5862 3.58167C16.8357 3.42492 17.0863 3.26745 17.354 3.15494C17.9119 2.93744 18.5266 2.91281 19.1002 3.08497C19.6738 3.25713 20.1733 3.61619 20.5192 4.105C20.5943 4.21716 20.6621 4.33678 20.7298 4.45631C20.9035 4.76299 21.077 5.06915 21.373 5.24769C21.5927 5.38236 21.8482 5.42658 22.1057 5.47114C22.2633 5.49842 22.4216 5.52582 22.5728 5.57417C23.0267 5.71015 23.3999 6.0411 23.6319 6.45436C23.6327 6.40753 23.6317 6.36062 23.629 6.31374C23.6502 6.3657 23.6623 6.42092 23.6649 6.47698C23.6661 6.49165 23.667 6.50632 23.6677 6.521C23.8246 6.82609 23.9058 7.17114 23.8885 7.51347C23.8544 7.93447 23.7053 8.33801 23.4574 8.68001C23.2096 9.02201 22.8725 9.28933 22.483 9.45278C22.3469 9.50712 22.2071 9.55061 22.065 9.58305Z",fill:"white"})),b.default.createElement("defs",null,b.default.createElement("clipPath",{id:"clip0_14712_400114"},b.default.createElement("rect",{width:"32",height:"32",rx:"16",fill:"white"})))),services:({width:e,height:t})=>b.default.createElement("svg",{width:e||30,height:t||30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("circle",{cx:"15",cy:"15",r:"15",fill:"#F7F9FC"}),b.default.createElement("path",{d:"M14.9998 6.66663C12.2752 6.66663 9.85335 7.97848 8.33317 9.99996H10.5988C11.8 8.94527 13.3625 8.33329 14.9998 8.33329C16.6372 8.33329 18.1997 8.94527 19.4009 9.99996H21.6665C20.1463 7.97848 17.7244 6.66663 14.9998 6.66663ZM7.7863 10.8333C7.07666 13.0403 6.6665 15.5989 6.6665 18.3333C6.6665 20.0846 6.82601 21.7675 7.13525 23.3333H22.8644C23.1737 21.7675 23.3332 20.0846 23.3332 18.3333C23.3332 15.5989 22.923 13.0403 22.2134 10.8333H7.7863ZM14.9998 13.3333C17.3013 13.3333 19.1665 15.1985 19.1665 17.5C19.1665 19.8014 17.3013 21.6666 14.9998 21.6666C12.6984 21.6666 10.8332 19.8014 10.8332 17.5C10.8332 15.1985 12.6984 13.3333 14.9998 13.3333ZM14.1665 15V16.6666H12.4998V18.3333H14.1665V20H15.8332V18.3333H17.4998V16.6666H15.8332V15H14.1665Z",fill:"#BFC5CC"}))},He=({type:e,item:a,imageUrl:i,className:o,onClickItem:n})=>{const s=t.useMemo((()=>{const t=Be[e]||A;return b.default.createElement(t,{width:32,height:"services"===e?32:24})}),[e]);return b.default.createElement(Ae,{onClick:()=>n&&n(a),onKeyDown:e=>{"Enter"!==e.key&&"Space"!==e.key||n&&n(a)},tabIndex:0,role:"button",className:o},b.default.createElement(_e,null,"hospitals"===e?b.default.createElement(Fe,{width:"12",height:"16",viewBox:"0 0 12 16"},b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.75 5.94873C0.75 3.04623 3.0975 0.69873 6 0.69873C8.9025 0.69873 11.25 3.04623 11.25 5.94873C11.25 9.07623 7.935 13.3887 6.5775 15.0312C6.2775 15.3912 5.73 15.3912 5.43 15.0312C4.065 13.3887 0.75 9.07623 0.75 5.94873ZM4.125 5.94873C4.125 6.98373 4.965 7.82373 6 7.82373C7.035 7.82373 7.875 6.98373 7.875 5.94873C7.875 4.91373 7.035 4.07373 6 4.07373C4.965 4.07373 4.125 4.91373 4.125 5.94873Z",fill:"#9AA2AC"})):b.default.createElement(je,{type:e},i?b.default.createElement("img",{src:i,width:32,height:"services"===e?32:24,loading:"lazy"}):s)),b.default.createElement(Pe,{color:d.theme.colors.gray800,size:"p3"},a.name))},Ve=({type:e,data:a,state:i,dispatch:n,itemsToShow:l,itemsToShowDesktop:r,isMobile:u,isLoading:h,keyword:p,isNavResultItem:f})=>{const[g,m]=t.useState(!1),{t:C,locale:y}=o.useTranslations(),{selectedLocation:v,searchKeywords:L}=i,w=t.useMemo((()=>s.LOCALIZED_SLUGS[y]),[y]),S="ms-MY"===y,x=t.useMemo((()=>({doctors:{name:C("booking.searchPopup.doctors"),icon:b.default.createElement(Le,null),slug:w.DOCTOR},services:{name:C("booking.searchPopup.services"),icon:b.default.createElement(we,null),slug:w.SERVICE},hospitals:{name:C("booking.searchPopup.hospitals"),icon:b.default.createElement(Se,null),slug:w.HOSPITAL},specialties:{name:C("booking.searchPopup.specialties"),icon:b.default.createElement(xe,null),slug:w.SPECIALTIES}})),[e,w]),O=t.useMemo((()=>x[e].slug),[x]),k=u?l:r;function I(t){let a="";switch(e){case"specialties":a=`/${v.slug}/${x.doctors.slug}/${t.slug}`;break;case"services":a=`/${v.slug}/${O}/${t.slug}`;break;case"doctors":case"hospitals":a=`/${O}/${t.slug}-${t.id}`}a&&n({type:ce.SelectSearchResult,payload:{name:t.name,url:a}})}function T(t){return b.default.createElement(He,{key:t.id,item:t,type:e,imageUrl:t.logo||t.avatar||t.thumbnail,className:f?"":"not-nav",onClickItem:f&&I})}return b.default.createElement("section",null,b.default.createElement(Oe,null,b.default.createElement(ke,null,x[e].icon,b.default.createElement(Ie,null,x[e].name)),(p.trim().length<=le[y]||S)&&b.default.createElement(Te,{onClick:function(){let t="";switch(e){case"specialties":t=`/${O}`;break;case"services":case"doctors":case"hospitals":t=`/${v.slug}/${O}`}t&&n({type:ce.NavigateTo,payload:t})}},b.default.createElement(c.Text,{size:"p3",color:d.theme.colors.primaryBase},C("booking.searchPopup.seeAll")))),(h||a&&a.length>0)&&b.default.createElement(Re,null,b.default.createElement(Me,null,h&&Array(2).fill(void 0).map(((t,a)=>b.default.createElement(Ae,{key:e+"loading"+a},b.default.createElement(_e,null,b.default.createElement(De,null,b.default.createElement(E.default,{height:14,width:"hospitals"===e?12:32,style:{maxWidth:"var(--graphicSize)",minHeight:"var(--graphicSize)"}}))),b.default.createElement(E.default,{width:120,height:24})))),!h&&a&&a.length>0&&a.slice(0,k).map(T)),b.default.createElement(Me,{isShown:g,isMore:!0},a.slice(k,-1).map(T)),"specialties"===e&&k<a.length&&!h&&b.default.createElement("button",{onClick:()=>m(!g)},b.default.createElement(Ne,{size:"p3",color:d.theme.colors.primaryBase},C(g?"booking.searchPopup.seeLessSpecialties":"booking.searchPopup.seeMoreSpecialties"))),"specialties"!==e&&(k<a.length||S)&&!h&&p.trim().length>le[y]&&b.default.createElement("button",{onClick:function(){const{slug:t}=x[e],a=`/${v.slug}/${t}?q=${L}`;n({type:ce.NavigateTo,payload:a})}},b.default.createElement(Ne,{size:"p3",color:d.theme.colors.primaryBase},C(`booking.searchPopup.searchIn.${e}`,{name:p})))),!h&&0===(null==a?void 0:a.length)&&b.default.createElement(Re,null,b.default.createElement(c.Text,{size:"sm",color:d.theme.colors.gray400},C("booking.searchBar.noResults"))))},$e=v.default.section`
|
|
328
|
+
background-color: white;
|
|
329
|
+
border-radius: 4px;
|
|
330
|
+
position: absolute;
|
|
331
|
+
width: 100%;
|
|
332
|
+
z-index: 30;
|
|
333
|
+
|
|
334
|
+
${u.MediaQueries.tdUp} {
|
|
335
|
+
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
336
|
+
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
337
|
+
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
338
|
+
}
|
|
339
|
+
`,ze=({data:e,state:t,dispatch:a,isMobile:i,isLoading:o,keyword:n,hideResults:s,isNavResultItem:l})=>b.default.createElement($e,null,e&&e.map((e=>s&&s.includes(e.type)?b.default.createElement(b.default.Fragment,null):b.default.createElement(Ve,{type:e.type,state:t,dispatch:a,itemsToShow:2,itemsToShowDesktop:4,key:e.type,data:e.results,isMobile:i,isLoading:o,keyword:n,isNavResultItem:l})))),Ge=(e,t,i)=>w.default(e,Object.assign(Object.assign({},t),{domain:a.domainLocales[i||"en-PH"]}));var Ke;!function(e){e[e.SPECIALTY=1]="SPECIALTY",e[e.DOCTOR=2]="DOCTOR",e[e.CLINIC=3]="CLINIC",e[e.SERVICE=4]="SERVICE"}(Ke||(Ke={}));var Ze=Object.freeze({__proto__:null,get RedirectType(){return Ke}});exports.BookingSearchBar=({isMobile:n,careApiDomain:l,geoLocationPermission:r,geoLocationCoordinates:c,initialSelectedCity:d,initialSearchValue:u="",careFrontDomain:h="/care",isDebug:p=!1,askForGeolocationPermission:f=!1,gaTrackingSearchBar:m,gaTrackingLocationSearch:C,autoCompleteDisabled:v=!1,inputSearchPlaceholder:E="",isOptionAllLocation:L=!1,hideResults:w=[],isNavResultItem:I=!0,routerPush:R,onGeoLocationPermissionChange:M,onSearch:N,onChangeLocation:A})=>{const{t:j,locale:P}=o.useTranslations(),_=t.useRef(null),F=t.useRef(null),[D,B]=t.useState(void 0),[V,$]=t.useState(!1),{geoLocationPermission:z,geoLocationCoordinates:G,requestGeoLocation:K}=function(){const[e,o]=t.useState((()=>{if("undefined"==typeof window)return"unset";if(i.getCookie(a.USER_GEOLOCATION_COORDINATES_COOKIE))return"granted";const e=!location.protocol.includes("https")&&"localhost"!==location.hostname;return!navigator.geolocation||e?"denied":"unset"})),[n,s]=t.useState((()=>{if("undefined"==typeof window)return null;const e=i.getCookie(a.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};i.setCookie(a.USER_GEOLOCATION_COORDINATES_COOKIE,JSON.stringify(t),{minutes:15}),s(t),o("granted")}),(()=>{i.deleteCookie(a.USER_GEOLOCATION_COORDINATES_COOKIE),o("denied")}))}),[]);return t.useMemo((()=>({geoLocationPermission:e,geoLocationCoordinates:n,requestGeoLocation:l})),[e,n])}(),[Z,U]=t.useReducer(ue,re,(e=>Object.assign(Object.assign({},e),{isDebug:p,isMobile:n,geoLocationPermission:r||z||"unset",geoLocationCoordinates:c||G||null,searchKeywords:u,initialSelectedCity:d||null,selectedLocation:d||e.selectedLocation||null,searchLocationKeywords:(null==d?void 0:d.name)||e.searchLocationKeywords,autoCompleteDisabled:v,inputSearchPlaceholder:E,locale:P}))),{navigateTo:q,focused:Q,isLoadingCities:Y,cities:W,searchKeywords:J,geoLocationPermission:X,selectedLocation:te,initialSelectedCity:ae,defaultCity:ie,searchResults:oe,isLoadingSearchResults:ne,isMobileModalOpened:de,inputSearchPlaceholder:he}=Z,{fetchCitiesByLocation:pe,fetchCitiesByKeyword:fe,fetchSearchResults:ge}=function({dispatch:e,careApiDomain:a,locale:i="vi-VN"}){const o=t.useCallback((function(t,o={}){const n=`${a}${t}`;return e({type:ce.FetchCitiesStart}),fetch(Ge(n,o,i),{method:"GET"}).then((e=>e.json())).then((e=>1===e._status&&e._data?null==e?void 0:e._data:(console.log("error loading cities",e),Promise.reject(e)))).finally((()=>e({type:ce.FetchCitiesFinish})))}),[i]);return{fetchCitiesByLocation:t.useCallback((function({coordinates:t}){let a={};const n={};t&&(a={lat:t.lat,lng:t.lng}),"ms-MY"===i&&(n.noPaging=1);const s=[o(g.PATHS.GET_CITY_BY_IP,Object.assign(Object.assign({},a),n))];return"zh-TW"===i&&s.push(o(g.PATHS.GET_CITIES_LIST,{noPaging:1})),Promise.all(s).then((([t,a])=>{const i=Object.assign({},t);if(a){const e=i.cities.map((e=>e.id));i.cities=i.cities.concat(a.cities.filter((t=>!e.includes(t.id))))}e({type:ce.FetchCitiesByGeoIpComplete,payload:i})})).catch((e=>console.error("error loading cities by location",e)))}),[i,a,e]),fetchCitiesByKeyword:t.useCallback((function(t){return o(g.PATHS.GET_CITIES_LIST,{keyword:t}).then((t=>{e({type:ce.FetchCitiesByKeywordComplete,payload:t.cities})})).catch((e=>console.error("error loading cities by keyword",e)))}),[i,a,e]),fetchSearchResults:t.useCallback((function(t,o){const n=`${a}${g.PATHS.GET_SEARCH_V2}`;e({type:ce.FetchSearchResultsStart});const{defaultCity:l,selectedLocation:r,geoLocationCoordinates:c}=o;let d="";if(!r||!l)return void e({type:ce.FetchSearchResultsFinish});r.id===s.ID_OPTION_CURRENT_LOCATION?c||(d=l.id):d=r.id===s.ID_OPTION_ALL_LOCATION?"":r.id;const u=(null==c?void 0:c.lat)||"",h=(null==c?void 0:c.lng)||"";return fetch(Ge(n,{domain:a,searchType:"global",keyword:t.trim().length>le[i]?t.trim():"",city:d===s.ID_OPTION_CURRENT_LOCATION?"":d,lat:u,lng:h},i),{method:"GET",headers:{accept:"version=2.0.0.0"}}).then((e=>e.json())).then((e=>1===e._status&&e._data?null==e?void 0:e._data:Promise.reject(e))).then((t=>e({type:ce.FetchSearchResultsComplete,payload:t}))).catch((e=>{console.log("error loading search results",{url:n,error:e})})).finally((()=>e({type:ce.FetchSearchResultsFinish})))}),[i,a,e])}}({dispatch:U,locale:P,careApiDomain:l}),me=t.useMemo((()=>{var e;return{id:s.ID_OPTION_CURRENT_LOCATION,name:j("booking.searchBar.currentLocation"),slug:null===(e=s.LOCALIZED_SLUGS[P])||void 0===e?void 0:e.CURRENT}}),[j,P]),Ce=t.useMemo((()=>y.default(fe,400)),[fe]),be=t.useMemo((()=>y.default(ge,400)),[ge]);t.useEffect((()=>{""!==u&&u!==Z.searchKeywords&&U({type:ce.UpdateInitialSearchValue,payload:u})}),[u]),t.useEffect((()=>{f&&(null==te?void 0:te.id)===s.ID_OPTION_CURRENT_LOCATION&&"unset"===X&&K()}),[f,te,X]),t.useEffect((()=>{r||X===z||("granted"===z&&G?U({type:ce.GrantGeoLocationPermission,payload:G}):"denied"===z&&U({type:ce.DenyGeoLocationPermission}))}),[X,z,G,r]),t.useEffect((()=>{q&&(R?R(q):window.location.href=`${h}${q}`)}),[q]);const ye=t.useCallback((function(){U({type:ce.SelectCurrentLocation,payload:me})}),[j,U]);t.useEffect((()=>{var e;"denied"===X||ae||U({type:ce.SelectLocation,payload:{name:j("booking.searchBar.allLocations"),id:s.ID_OPTION_ALL_LOCATION,slug:null===(e=s.LOCALIZED_SLUGS[P])||void 0===e?void 0:e.ALL}}),M&&M(X,Z.geoLocationCoordinates),n&&"granted"===X&&te&&U({type:ce.FocusInputSearch}),pe({coordinates:Z.geoLocationCoordinates})}),[X]),t.useEffect((()=>{te&&ie&&ge(Z.searchKeywords,Z)}),[te,ie]),t.useEffect((()=>{E!==he&&U({type:ce.SetInputSearchPlaceholder,payload:E})}),[E,he]),t.useEffect((()=>{de?document.body.classList.add("care-popup-open"):document.body.classList.remove("care-popup-open")}),[de]);const Le=t.useCallback((function(e){"ms-MY"===P&&$(!0),U({type:ce.SelectLocation,payload:e}),"ms-MY"!==P&&xe(),A&&A(e)}),[j,U]);function we(){"ms-MY"===P&&$(!0),n&&"granted"!==Z.geoLocationPermission?K():(ye(),"ms-MY"!==P&&xe())}function Se(){var e;_.current&&(null===(e=_.current.querySelector('input[name="search-location"]'))||void 0===e||e.focus())}function xe(){var e;_.current&&(null===(e=_.current.querySelector('input[name="search-results"]'))||void 0===e||e.focus())}function Oe(){U({type:ce.CloseMobileModal})}function ke(){return"location"!==Q?null:b.default.createElement(H,{isLoading:Y,cities:W,onLocationClick:Le,onCurrentLocationClick:we,isLocationLoading:Y,geoLocationPermission:X,selectedLocation:te,isOptionAllLocation:L})}function Ie(){return"search"!==Q?null:Z.autoCompleteDisabled?n?b.default.createElement(ve,{onClick:()=>{N({cityId:Z.selectedLocation.id,keyword:J}),Oe()}}):null:b.default.createElement(ze,{data:oe,state:Z,dispatch:U,isMobile:!1,keyword:J,isLoading:ne,hideResults:w,isNavResultItem:I})}function Te(){return b.default.createElement(Ee,{isMobile:n,state:Z,dispatch:U,debouncedFetchCitiesByKeyword:Ce,debouncedFetchSearchResults:be,focusLocationInput:Se,focusSearchInput:xe,renderLocationResults:ke,renderSearchResults:Ie,trackingAttributes:m,locationTrackingAttributes:C,onSearch:N,initalSearchValue:u})}return t.useEffect((()=>{if(window.visualViewport){const e=e=>{const t=e.target;B(null==t?void 0:t.height)};return window.visualViewport.addEventListener("resize",e,{passive:!0}),()=>{window.visualViewport.removeEventListener("resize",e)}}}),[B]),t.useEffect((()=>{if(te&&V&&"ms-MY"===P){const e=`/${te.slug}/hospital`;U({type:ce.NavigateTo,payload:e}),$(!1)}}),[V,P,te]),n?b.default.createElement(b.default.Fragment,null,b.default.createElement(T,null),b.default.createElement(k,{ref:F}),b.default.createElement(x,{id:"booking-search-bar",ref:_,"data-is-modal":n&&de,style:{"--mobile-care-searchbar-height":de&&D?`${D}px`:"100%"}},de?b.default.createElement(b.default.Fragment,null,b.default.createElement(O,null,b.default.createElement(se,{headingText:j("booking.searchBar.searchButton"),onLeftClick:Oe}),Te()),ke(),Ie()):b.default.createElement(ee,{onClick:function(){var t;return e.__awaiter(this,void 0,void 0,(function*(){F.current&&F.current.focus(),U({type:ce.OpenMobileModal}),yield Promise.resolve(),_.current&&(null===(t=_.current.querySelector('input[name="search-location"]'))||void 0===t||t.focus())}))},focused:Q,value:J,trackingAttributes:m,inputSearchPlaceholder:E}))):b.default.createElement(S,{id:"booking-search-bar",ref:_},Te())},exports.types=Ze;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-827ac69f.js"),t=require("react"),a=require("@mantine/core"),l=require("./index-ea126740.js"),o=require("./useTranslations-998bf69a.js"),n=require("innertext"),i=require("./theme-8abaf308.js"),r=require("./utils-80406d00.js");require("@mantine/hooks");var s=require("./gAssets.js");require("@mantine/dates");var d=require("./index-eecce92d.js");require("./Onboarding-14e317e1.js");var c=require("dayjs");require("./screenSizeContext-5015825b.js");var u=require("styled-components"),m=require("./utils-087c19a1.js");require("./isProduction-ce24379a.js");var p=require("./index-e6951221.js"),g=require("./index-7d61799d.js"),h=require("./dataTransform-5811d35b.js"),f=require("./index-346f9120.js"),v=require("./index-d36e067d.js"),b=require("lodash/debounce"),x=require("react-contenteditable"),y=require("./index-26411075.js"),w=require("./cookieHelper-f7899b42.js"),C=require("react-dom");require("./index-efff860b.js");var E=require("date-fns");require("react-day-picker/DayPickerInput");var k=require("./index.styled-48902969.js");require("./index-acfc1fd9.js"),require("lodash/throttle"),require("./types-749d26d9.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-d913ee6d.js"),require("uuid"),require("./utils-048a352b.js"),require("string-format");var A=require("dayjs/plugin/relativeTime"),N=require("./index-5687cab5.js"),T=require("./useUniqueId-7d4e161c.js");require("./translationsContext-eb0fc00a.js");var S=require("./routing-b81a60e3.js");function P(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function I(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 M=I(t),z=P(t),L=P(n),B=P(c),R=P(u),j=P(b),O=P(x),F=I(C),D=P(A);const V=e=>M.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),M.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"})),U=t.createContext({}),_=({children:e,defaultParams:t})=>z.default.createElement(U.Provider,{value:{defaultParams:t}},e),H=e=>{const{data:{userInfo:a,env:{togetherBasePath:l}}}=t.useContext(r.TogetherComponentGlobalContext),{defaultParams:o}=t.useContext(U)||{},n=null==a?void 0:a.id,i=a&&"number"==typeof a.communities_interacted&&0===a.communities_interacted;return{authActionWrapper:(t,a)=>{const s=Object.assign(Object.assign(Object.assign({},o),e),a);if(!n||i){n||w.deleteCookie(r.BEARER_TOKEN_COOKIE),(null==s?void 0:s._joinCommunityIds)&&(localStorage.setItem("to_join_community_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_community_ids")||"[]")||[]).concat(s._joinCommunityIds).filter(Boolean))))),null==s||delete s._joinCommunityIds),(null==s?void 0:s._joinTopicIds)&&(localStorage.setItem("to_join_topic_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_topic_ids")||"[]")||[]).concat(s._joinTopicIds).filter(Boolean))))),null==s||delete s._joinTopicIds);const e=(null==s?void 0:s._location)||window.location.href;return null==s||delete s._location,window.location.href=r.getUrlToSignUp(e,s,l),null}return t&&t()},params:Object.assign(Object.assign({},o),e)}},W=R.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-14e317e1.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}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-827ac69f.js"),t=require("react"),a=require("./getDynamicHealthTool-402a6d37.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}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-827ac69f.js"),t=require("react"),r=require("./cookieHelper-f7899b42.js"),n=require("./useUniqueId-7d4e161c.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-eb0fc00a.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])};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var i=require("./Onboarding-
|
|
1
|
+
"use strict";var i=require("./Onboarding-14e317e1.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("@"),e=i.substring(0,a),n=e.length>3?3:e.length;return i.replace(i.substring(n,a),i.slice(n,a).replace(/./g,"x"))};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-827ac69f.js"),t=require("react"),a=require("@mantine/core"),l=require("styled-components"),r=require("./index-e6951221.js"),o=require("./theme-8abaf308.js"),i=require("./utils-087c19a1.js"),n=require("./gAssets.js"),s=require("./index-efff860b.js"),c=require("./Onboarding-14e317e1.js"),d=require("./index-346f9120.js"),u=require("dayjs"),h=require("./screenSizeContext-5015825b.js"),p=require("./index-eecce92d.js"),m=require("./isProduction-ce24379a.js"),f=require("./useUniqueId-7d4e161c.js");require("./translationsContext-eb0fc00a.js");var g=require("string-format"),C=require("react-keyed-flatten-children"),v=require("@mantine/hooks");require("@mantine/dates");var w=require("@mantine/carousel");require("lodash/debounce");var E=require("./cookieHelper-f7899b42.js"),b=require("slugify");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function L(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 y=x(t),_=L(t),A=x(l),O=x(u),M=x(g),T=x(C),S=x(b);const k=A.default.div`
|
|
2
2
|
background-color: var(--background-color, transparent);
|
|
3
3
|
color: white;
|
|
4
4
|
cursor: pointer;
|
|
@@ -1125,7 +1125,7 @@
|
|
|
1125
1125
|
.mantine-Carousel-container {
|
|
1126
1126
|
align-items: center;
|
|
1127
1127
|
}
|
|
1128
|
-
`,qt={fontSize:{base:[a.rem(16),a.rem(16)],lg:[a.rem(18),a.rem(16)],md:[a.rem(18),a.rem(16)],sm:[a.rem(16),a.rem(14)],xs:[a.rem(14),a.rem(12)],s1:[a.rem(22),a.rem(18)],s2:[a.rem(18),a.rem(16)],s3:[a.rem(16),a.rem(14)],s4:[a.rem(14),a.rem(12)],s5:[a.rem(12),a.rem(12)],p1:[a.rem(18),a.rem(16)],p2:[a.rem(16),a.rem(16)],p3:[a.rem(16),a.rem(14)],p4:[a.rem(14),a.rem(12)],p5:[a.rem(12),a.rem(12)],c1:[a.rem(16),a.rem(14)],c2:[a.rem(14),a.rem(12)],n1:[a.rem(12),a.rem(12)],label1:[a.rem(14),a.rem(14)],label2:[a.rem(12),a.rem(12)]},lineHeight:{base:[a.rem(24),a.rem(24)],lg:[a.rem(32),a.rem(28)],md:[a.rem(32),a.rem(28)],sm:[a.rem(24),a.rem(22)],xs:[a.rem(24),a.rem(18)],s1:[a.rem(32),a.rem(26)],s2:[a.rem(28),a.rem(24)],s3:[a.rem(24),a.rem(24)],s4:[a.rem(22),a.rem(18)],s5:[a.rem(18),a.rem(18)],p1:[a.rem(28),a.rem(28)],p2:[a.rem(24),a.rem(24)],p3:[a.rem(24),a.rem(22)],p4:[a.rem(22),a.rem(18)],c1:[a.rem(24),a.rem(22)],c2:[a.rem(22),a.rem(18)],n1:[a.rem(18),a.rem(18)],label1:[a.rem(22),a.rem(22)],label2:[a.rem(18),a.rem(18)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2]},fontWeight:{regular:400,semiBold:600,bold:700}},Yt=Object.assign({},qt);var Xt=a.createStyles(((e,t)=>{var a,l,r,o,i,n,s,c,d,u;const h=Object.assign({},Yt),p=null===(a=h.fontSize[null==t?void 0:t.size])||void 0===a?void 0:a[0],m=null===(l=h.lineHeight[null==t?void 0:t.size])||void 0===l?void 0:l[0],f=null!==(i=null===(o=null===(r=h.letterSpacing)||void 0===r?void 0:r[null==t?void 0:t.size])||void 0===o?void 0:o[0])&&void 0!==i?i:0,g=null===(n=h.fontSize[null==t?void 0:t.size])||void 0===n?void 0:n[1],C=null===(s=h.lineHeight[null==t?void 0:t.size])||void 0===s?void 0:s[1],v=null!==(u=null===(d=null===(c=h.letterSpacing)||void 0===c?void 0:c[null==t?void 0:t.size])||void 0===d?void 0:d[1])&&void 0!==u?u:0;return{root:Object.assign(Object.assign({},(null==t?void 0:t.size)&&{fontWeight:h.fontWeight[t.weight],fontSize:`${p}`,lineHeight:`${m}`,letterSpacing:f,[e.fn.smallerThan("sm")]:{fontSize:`${g}`,lineHeight:`${C}`,letterSpacing:v}}),{"&[data-event-category] > *":{pointerEvents:"none"}})}}));const Qt=t=>{var l,{size:r,color:o,weight:i="regular",as:n="p",styles:s,className:c,dataEventCategory:d,dataEventAction:u,dataEventLabel:h}=t,p=e.__rest(t,["size","color","weight","as","styles","className","dataEventCategory","dataEventAction","dataEventLabel"]);const{theme:m,classes:f,cx:g}=Xt({size:r,weight:i},{name:"Text",styles:s});return y.default.createElement(a.Text,Object.assign({className:g(f.root,c),color:o||("mb"===(null===(l=null==m?void 0:m.other)||void 0===l?void 0:l.template)?m.colors.delftGray[7]:m.colors.gray[7]),component:n,"data-event-category":d,"data-event-action":u,"data-event-label":h},p))};var Jt=a.createStyles(((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?e.colors.hb[6]:e.fn.primaryColor()),"&[data-event-category] > *":{pointerEvents:"none"}}})));const ea=t=>{var{color:a,styles:l,className:r}=t,o=e.__rest(t,["color","styles","className"]);const{classes:i,cx:n}=Jt({color:a},{name:"Anchor",styles:l});return y.default.createElement(Qt,Object.assign({as:"a",className:n(i.root,r)},o))},ta=t=>{var{children:a}=t,l=e.__rest(t,["children"]);return y.default.createElement(ea,Object.assign({size:"p4",color:"gray.8"},l),a)},aa=e=>y.default.createElement(a.AspectRatio,Object.assign({sx:{borderRadius:4,overflow:"hidden","> img":{objectFit:"contain"}}},e)),la={Button:{defaultProps:{size:"md"}}},ra={Checkbox:{styles:{input:It}}},oa=[{size:"40px",lineHeight:"52px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"42px",letterSpacing:"-1px"},{size:"26px",lineHeight:"36px",letterSpacing:"-0.8px"},{size:"22px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"18px",lineHeight:"28px",letterSpacing:"-0.2px"},{size:"16px",lineHeight:"24px",letterSpacing:0}],ia=[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}],na=(e=!1)=>Object.fromEntries((e?ia:oa).map(((e,t)=>[`h${t+1}`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))),sa={Title:{styles:{root:Object.assign(Object.assign({fontWeight:Yt.fontWeight.bold},na()),{[`&${i.MediaQueries.mbDown}`]:Object.assign({},na(!0))})}}},ca=e=>({InputWrapper:{styles:{label:{display:"inline-flex",gap:4,marginBottom:"0.25rem",fontWeight:600,fontSize:"14px",lineHeight:"22px",color:o.theme.colors.gray600},description:{fontWeight:400,fontSize:"12px",lineHeight:"18px",color:o.theme.colors.gray600,marginBottom:"0.25rem"},error:{marginTop:"0.25rem"}}},NumberInput:{defaultProps:{decimalSeparator:p.ISO_FORMAT[e].separator}},Input:{styles:(e,t,{size:a})=>({input:{border:`1px solid ${o.theme.colors.gray200}`,transition:`all ${Rt} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign({},(()=>{switch(a){case"lg":return{height:48,fontSize:16,minHeight:"unset",lineHeight:"24px"};case"md":return{height:40,fontSize:14,lineHeight:"22px",minHeight:"unset"};case"sm":return{height:32,fontSize:14,lineHeight:"22px",minHeight:"unset"}}})()),"&:hover":{border:`1px solid ${e.primaryColor}`},"&:focus":{boxShadow:`0px 0px 0px 2px ${e.colors[e.primaryColor][2]}`}},'&[data-invalid="true"]':{border:`1px solid ${o.theme.colors.red600}`,color:"#000"}})}}),da={Radio:{}},ua={hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c","#545E6C"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#fec7dc","#fec7dc","#fec2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#E92D74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffcb37","#ffc326","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]},ha=l=>{var r,{children:o,showHomeIcon:i=!0,homeIconHref:n="/"}=l,s=e.__rest(l,["children","showHomeIcon","homeIconHref"]);const c=a.useMantineTheme(),d="mb"===(null===(r=null==c?void 0:c.other)||void 0===r?void 0:r.template),[u,h]=t.useState(null),{isMobile:p}=Ft(),[,m]=t.useState(!0),f=t.useCallback((()=>{m(!1)}),[]),g=t.useCallback((()=>{setTimeout((()=>{m(!0)}),1e3)}),[]);return t.useEffect((()=>(u&&(u.on("scroll",f),u.on("pointerUp",g)),()=>{u&&(u.off("scroll",f),u.on("pointerUp",g))})),[u,f,g]),y.default.createElement(Kt,Object.assign({align:"center",slideGap:"xs",dragFree:!0,draggable:p,slideSize:"0",getEmblaApi:h,controlsOffset:-52,previousControlIcon:y.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y.default.createElement("path",{d:"M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z",fill:"#595959"})),nextControlIcon:y.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y.default.createElement("path",{d:"M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z",fill:"#595959"}))},s),i&&y.default.createElement(Wt.Slide,{style:{borderRight:`1px solid ${ua.neutral[1]}`}},y.default.createElement(ta,{href:n,target:"_blank",className:"pointer-event-child-none"},y.default.createElement(a.Box,{sx:Object.assign({},!d&&{borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center"}),bg:!d&&ua.neutral[0],p:d?0:6},y.default.createElement(aa,{ratio:1,w:18},d?y.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1183 3.67722C12.8727 2.70772 11.1281 2.708 9.88187 3.67718L14.1183 3.67722ZM14.1183 3.67722L19.718 8.03283C20.5589 8.68632 21.05 9.69173 21.05 10.7562V17.6002C21.05 19.5057 19.5055 21.0502 17.6 21.0502H6.40016C4.49466 21.0502 2.9502 19.5057 2.9502 17.6002V10.7562C2.9502 9.69163 3.44113 8.68632 4.28216 8.03283L9.88187 3.67718M10.6799 4.70339L5.08006 9.05916C4.55657 9.46592 4.2502 10.0923 4.2502 10.7562V17.6002C4.2502 18.7878 5.21263 19.7502 6.40016 19.7502H17.6C18.7875 19.7502 19.75 18.7878 19.75 17.6002V10.7562C19.75 10.0923 19.4438 9.46612 18.9204 9.05936L13.3202 4.70335C12.5443 4.09941 11.4571 4.09905 10.6799 4.70339Z",fill:"#3E3F58"}),y.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2373 13.1626C12.5546 12.4794 11.4466 12.4791 10.7629 13.1628C10.0793 13.8464 10.0793 14.9538 10.7629 15.6374C11.4465 16.321 12.5539 16.321 13.2375 15.6374C13.9211 14.9538 13.9211 13.8464 13.2375 13.1628L13.2373 13.1626ZM14.1567 12.2436C12.9661 11.0521 11.0348 11.0525 9.84366 12.2436C8.65237 13.4348 8.65237 15.3653 9.84366 16.5566C11.0349 17.7479 12.9654 17.7479 14.1567 16.5566C15.348 15.3653 15.348 13.4348 14.1567 12.2436Z",fill:"#3E3F58"})):y.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z",fill:"#595959"})))))),y.default.createElement(Wt.Slide,null),y.default.createElement(Wt.Slide,null,y.default.createElement(a.Breadcrumbs,{styles:{separator:{marginInline:4}},separator:y.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y.default.createElement("path",{d:"M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z",fill:"#8C8C8C"}))},o)))};ha.Item=ta;const pa=A.default(a.Textarea)`
|
|
1128
|
+
`,qt={fontSize:{base:[a.rem(16),a.rem(16)],lg:[a.rem(18),a.rem(16)],md:[a.rem(18),a.rem(16)],sm:[a.rem(16),a.rem(14)],xs:[a.rem(14),a.rem(12)],s1:[a.rem(22),a.rem(18)],s2:[a.rem(18),a.rem(16)],s3:[a.rem(16),a.rem(14)],s4:[a.rem(14),a.rem(12)],s5:[a.rem(12),a.rem(12)],p1:[a.rem(18),a.rem(16)],p2:[a.rem(16),a.rem(16)],p3:[a.rem(16),a.rem(14)],p4:[a.rem(14),a.rem(12)],p5:[a.rem(12),a.rem(12)],c1:[a.rem(16),a.rem(14)],c2:[a.rem(14),a.rem(12)],n1:[a.rem(12),a.rem(12)],label1:[a.rem(14),a.rem(14)],label2:[a.rem(12),a.rem(12)]},lineHeight:{base:[a.rem(24),a.rem(24)],lg:[a.rem(32),a.rem(28)],md:[a.rem(32),a.rem(28)],sm:[a.rem(24),a.rem(22)],xs:[a.rem(24),a.rem(18)],s1:[a.rem(32),a.rem(26)],s2:[a.rem(28),a.rem(24)],s3:[a.rem(24),a.rem(24)],s4:[a.rem(22),a.rem(18)],s5:[a.rem(18),a.rem(18)],p1:[a.rem(28),a.rem(28)],p2:[a.rem(24),a.rem(24)],p3:[a.rem(24),a.rem(22)],p4:[a.rem(22),a.rem(18)],c1:[a.rem(24),a.rem(22)],c2:[a.rem(22),a.rem(18)],n1:[a.rem(18),a.rem(18)],label1:[a.rem(22),a.rem(22)],label2:[a.rem(18),a.rem(18)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2]},fontWeight:{regular:400,semiBold:600,bold:700}},Yt=Object.assign({},qt);var Xt=a.createStyles(((e,t)=>{var a,l,r,o,i,n,s,c,d,u;const h=Object.assign({},Yt),p=null===(a=h.fontSize[null==t?void 0:t.size])||void 0===a?void 0:a[0],m=null===(l=h.lineHeight[null==t?void 0:t.size])||void 0===l?void 0:l[0],f=null!==(i=null===(o=null===(r=h.letterSpacing)||void 0===r?void 0:r[null==t?void 0:t.size])||void 0===o?void 0:o[0])&&void 0!==i?i:0,g=null===(n=h.fontSize[null==t?void 0:t.size])||void 0===n?void 0:n[1],C=null===(s=h.lineHeight[null==t?void 0:t.size])||void 0===s?void 0:s[1],v=null!==(u=null===(d=null===(c=h.letterSpacing)||void 0===c?void 0:c[null==t?void 0:t.size])||void 0===d?void 0:d[1])&&void 0!==u?u:0;return{root:Object.assign(Object.assign({},(null==t?void 0:t.size)&&{fontWeight:h.fontWeight[t.weight],fontSize:`${p}`,lineHeight:`${m}`,letterSpacing:f,[e.fn.smallerThan("sm")]:{fontSize:`${g}`,lineHeight:`${C}`,letterSpacing:v}}),{"&[data-event-category] > *":{pointerEvents:"none"}})}}));const Qt=t=>{var l,{size:r,color:o,weight:i="regular",as:n="p",styles:s,className:c,dataEventCategory:d,dataEventAction:u,dataEventLabel:h}=t,p=e.__rest(t,["size","color","weight","as","styles","className","dataEventCategory","dataEventAction","dataEventLabel"]);const{theme:m,classes:f,cx:g}=Xt({size:r,weight:i},{name:"Text",styles:s});return y.default.createElement(a.Text,Object.assign({className:g(f.root,c),color:o||("mb"===(null===(l=null==m?void 0:m.other)||void 0===l?void 0:l.template)?m.colors.delftGray[7]:m.colors.gray[7]),component:n,"data-event-category":d,"data-event-action":u,"data-event-label":h},p))};var Jt=a.createStyles(((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?e.colors.hb[6]:e.fn.primaryColor()),"&[data-event-category] > *":{pointerEvents:"none"}}})));const ea=t=>{var{color:a,styles:l,className:r}=t,o=e.__rest(t,["color","styles","className"]);const{classes:i,cx:n}=Jt({color:a},{name:"Anchor",styles:l});return y.default.createElement(Qt,Object.assign({as:"a",className:n(i.root,r)},o))},ta=t=>{var{children:a}=t,l=e.__rest(t,["children"]);return y.default.createElement(ea,Object.assign({size:"p4",color:"gray.8"},l),a)},aa=e=>y.default.createElement(a.AspectRatio,Object.assign({sx:{borderRadius:4,overflow:"hidden","> img":{objectFit:"contain"}}},e)),la={Button:{defaultProps:{size:"md"}}},ra={Checkbox:{styles:{input:It}}},oa=[{size:"40px",lineHeight:"52px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"42px",letterSpacing:"-1px"},{size:"26px",lineHeight:"36px",letterSpacing:"-0.8px"},{size:"22px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"18px",lineHeight:"28px",letterSpacing:"-0.2px"},{size:"16px",lineHeight:"24px",letterSpacing:0}],ia=[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}],na=(e=!1)=>Object.fromEntries((e?ia:oa).map(((e,t)=>[`h${t+1}`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))),sa={Title:{styles:{root:Object.assign(Object.assign({fontWeight:Yt.fontWeight.bold},na()),{[`&${i.MediaQueries.mbDown}`]:Object.assign({},na(!0))})}}},ca=e=>{var t;return{InputWrapper:{styles:{label:{display:"inline-flex",gap:4,marginBottom:"0.25rem",fontWeight:600,fontSize:"14px",lineHeight:"22px",color:o.theme.colors.gray600},description:{fontWeight:400,fontSize:"12px",lineHeight:"18px",color:o.theme.colors.gray600,marginBottom:"0.25rem"},error:{marginTop:"0.25rem"}}},NumberInput:{defaultProps:{decimalSeparator:null===(t=p.ISO_FORMAT[e])||void 0===t?void 0:t.separator}},Input:{styles:(e,t,{size:a})=>({input:{border:`1px solid ${o.theme.colors.gray200}`,transition:`all ${Rt} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign({},(()=>{switch(a){case"lg":return{height:48,fontSize:16,minHeight:"unset",lineHeight:"24px"};case"md":return{height:40,fontSize:14,lineHeight:"22px",minHeight:"unset"};case"sm":return{height:32,fontSize:14,lineHeight:"22px",minHeight:"unset"}}})()),"&:hover":{border:`1px solid ${e.primaryColor}`},"&:focus":{boxShadow:`0px 0px 0px 2px ${e.colors[e.primaryColor][2]}`}},'&[data-invalid="true"]':{border:`1px solid ${o.theme.colors.red600}`,color:"#000"}})}}},da={Radio:{}},ua={hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c","#545E6C"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#fec7dc","#fec7dc","#fec2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#E92D74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffcb37","#ffc326","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]},ha=l=>{var r,{children:o,showHomeIcon:i=!0,homeIconHref:n="/"}=l,s=e.__rest(l,["children","showHomeIcon","homeIconHref"]);const c=a.useMantineTheme(),d="mb"===(null===(r=null==c?void 0:c.other)||void 0===r?void 0:r.template),[u,h]=t.useState(null),{isMobile:p}=Ft(),[,m]=t.useState(!0),f=t.useCallback((()=>{m(!1)}),[]),g=t.useCallback((()=>{setTimeout((()=>{m(!0)}),1e3)}),[]);return t.useEffect((()=>(u&&(u.on("scroll",f),u.on("pointerUp",g)),()=>{u&&(u.off("scroll",f),u.on("pointerUp",g))})),[u,f,g]),y.default.createElement(Kt,Object.assign({align:"center",slideGap:"xs",dragFree:!0,draggable:p,slideSize:"0",getEmblaApi:h,controlsOffset:-52,previousControlIcon:y.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y.default.createElement("path",{d:"M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z",fill:"#595959"})),nextControlIcon:y.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y.default.createElement("path",{d:"M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z",fill:"#595959"}))},s),i&&y.default.createElement(Wt.Slide,{style:{borderRight:`1px solid ${ua.neutral[1]}`}},y.default.createElement(ta,{href:n,target:"_blank",className:"pointer-event-child-none"},y.default.createElement(a.Box,{sx:Object.assign({},!d&&{borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center"}),bg:!d&&ua.neutral[0],p:d?0:6},y.default.createElement(aa,{ratio:1,w:18},d?y.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1183 3.67722C12.8727 2.70772 11.1281 2.708 9.88187 3.67718L14.1183 3.67722ZM14.1183 3.67722L19.718 8.03283C20.5589 8.68632 21.05 9.69173 21.05 10.7562V17.6002C21.05 19.5057 19.5055 21.0502 17.6 21.0502H6.40016C4.49466 21.0502 2.9502 19.5057 2.9502 17.6002V10.7562C2.9502 9.69163 3.44113 8.68632 4.28216 8.03283L9.88187 3.67718M10.6799 4.70339L5.08006 9.05916C4.55657 9.46592 4.2502 10.0923 4.2502 10.7562V17.6002C4.2502 18.7878 5.21263 19.7502 6.40016 19.7502H17.6C18.7875 19.7502 19.75 18.7878 19.75 17.6002V10.7562C19.75 10.0923 19.4438 9.46612 18.9204 9.05936L13.3202 4.70335C12.5443 4.09941 11.4571 4.09905 10.6799 4.70339Z",fill:"#3E3F58"}),y.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2373 13.1626C12.5546 12.4794 11.4466 12.4791 10.7629 13.1628C10.0793 13.8464 10.0793 14.9538 10.7629 15.6374C11.4465 16.321 12.5539 16.321 13.2375 15.6374C13.9211 14.9538 13.9211 13.8464 13.2375 13.1628L13.2373 13.1626ZM14.1567 12.2436C12.9661 11.0521 11.0348 11.0525 9.84366 12.2436C8.65237 13.4348 8.65237 15.3653 9.84366 16.5566C11.0349 17.7479 12.9654 17.7479 14.1567 16.5566C15.348 15.3653 15.348 13.4348 14.1567 12.2436Z",fill:"#3E3F58"})):y.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z",fill:"#595959"})))))),y.default.createElement(Wt.Slide,null),y.default.createElement(Wt.Slide,null,y.default.createElement(a.Breadcrumbs,{styles:{separator:{marginInline:4}},separator:y.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y.default.createElement("path",{d:"M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z",fill:"#8C8C8C"}))},o)))};ha.Item=ta;const pa=A.default(a.Textarea)`
|
|
1129
1129
|
.mantine-Textarea-input {
|
|
1130
1130
|
padding: 12px 16px;
|
|
1131
1131
|
background: #ffffff;
|