@hhgtech/hhg-components 1.26.9 → 1.26.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/mantine/breadcrumbs/item.d.ts +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-bce57a3f.js → core-da0e7208.js} +1 -1
- package/build/{dataTransform-2e3216c1.js → dataTransform-6dabd7aa.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +6 -6
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-eaca75d2.js → core-5223901d.js} +1 -1
- package/build/esm/{dataTransform-099866f1.js → dataTransform-cc7ae538.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-70fd643e.js +1 -0
- package/build/esm/{getSocialList-2f0bba5d.js → getSocialList-9c4f7eca.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-4c1722c9.js → index-0bf72e18.js} +1 -1
- package/build/esm/{index-5fd031d8.js → index-13498149.js} +1 -1
- package/build/esm/{index-5ff9487f.js → index-1582057b.js} +1 -1
- package/build/esm/{index-ad31ca14.js → index-1cb79555.js} +1 -1
- package/build/esm/{index-da540258.js → index-27cfb186.js} +1 -1
- package/build/esm/{index-e86baa73.js → index-2f13e528.js} +1 -1
- package/build/esm/{index-9d8d196e.js → index-37560f75.js} +1 -1
- package/build/esm/{index-773f005a.js → index-38b0f96d.js} +2 -2
- package/build/esm/{index-c80835a2.js → index-3cdd76e8.js} +1 -1
- package/build/esm/{index-1433f24d.js → index-450ddfb1.js} +1 -1
- package/build/esm/{index-e2c1d836.js → index-4d3a9137.js} +1 -1
- package/build/esm/index-67084a87.js +151 -0
- package/build/esm/index-6f179a12.js +1 -0
- package/build/esm/{index-d685c854.js → index-735ebdc1.js} +1 -1
- package/build/esm/{index-714f7c99.js → index-9e935134.js} +1 -1
- package/build/esm/{index-0bd8f75a.js → index-9eed57d3.js} +1 -1
- package/build/esm/{index-51e350e5.js → index-a4b72105.js} +1 -1
- package/build/esm/{index-c6035781.js → index-a9692f1b.js} +1 -1
- package/build/esm/{index-84827b34.js → index-b98c5458.js} +1 -1
- package/build/esm/{index-372b593f.js → index-c84d03c2.js} +1 -1
- package/build/esm/{index-22caf7f4.js → index-ccd4242c.js} +1 -1
- package/build/esm/{index-0823a58a.js → index-dbb51364.js} +1 -1
- package/build/esm/{index-b3bac285.js → index-e7e79527.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-fe007e9a.js → index.styled-49a9f09c.js} +1 -1
- package/build/esm/{index.styled-7761c40a.js → index.styled-a1a70192.js} +1 -1
- package/build/esm/{index.styled-474cfb0b.js → index.styled-b5fdf388.js} +1 -1
- package/build/esm/{index.styled-8fb8e9b8.js → index.styled-f6a2270f.js} +6 -6
- package/build/esm/{index.styled-8556d345.js → index.styled-fc0af758.js} +1 -1
- 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/pwg.js +5 -5
- package/build/esm/{routing-05aee8b0.js → routing-0a281b0f.js} +1 -1
- package/build/esm/{screenSizeContext-afe24f18.js → screenSizeContext-2f42d159.js} +3 -3
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-3c6be0a3.js → translationsProvider-17551e06.js} +1 -1
- package/build/esm/{types-a26ed60e.js → types-5167d46b.js} +3 -3
- package/build/esm/{types-2e3179ac.js → types-a2c8e457.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useHealthToolCache-9a837339.js → useHealthToolCache-6ede816c.js} +1 -1
- package/build/esm/{useRafState-df251936.js → useRafState-e37089ea.js} +1 -1
- package/build/esm/useTranslations-b5fe8278.js +1 -0
- package/build/esm/{utils-f05931b6.js → utils-3ca577d3.js} +1 -1
- package/build/esm/vaccination.js +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-c32d21e9.js → getDynamicHealthTool-4dc0d840.js} +1 -1
- package/build/{getSocialList-c7d47760.js → getSocialList-768413a2.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/index-041229d0.js +151 -0
- package/build/{index-43d4148a.js → index-0729ed0d.js} +1 -1
- package/build/{index-162a3187.js → index-15c7a577.js} +1 -1
- package/build/{index-c831afb1.js → index-1a55d623.js} +1 -1
- package/build/{index-aa38a545.js → index-202dd169.js} +1 -1
- package/build/{index-4488afbb.js → index-2520a8c9.js} +1 -1
- package/build/index-386f5db2.js +1 -0
- package/build/{index-2ad56564.js → index-404a3d73.js} +1 -1
- package/build/{index-c7e0b905.js → index-43394201.js} +1 -1
- package/build/{index-240af476.js → index-4e414134.js} +1 -1
- package/build/{index-89ddf392.js → index-6e0d05b1.js} +1 -1
- package/build/{index-f79d0367.js → index-73da7c60.js} +1 -1
- package/build/{index-9a66bc04.js → index-73f0e97f.js} +1 -1
- package/build/{index-dfffbff4.js → index-7d048012.js} +1 -1
- package/build/{index-bbb6ca10.js → index-8471cc1e.js} +1 -1
- package/build/{index-6879aad8.js → index-858340a9.js} +1 -1
- package/build/{index-3cf6c798.js → index-a0cce0ac.js} +1 -1
- package/build/{index-9b3628f7.js → index-c0177ee6.js} +1 -1
- package/build/{index-5bcb8e18.js → index-dd0c38c9.js} +1 -1
- package/build/{index-be75135e.js → index-e53b0c2c.js} +3 -3
- package/build/{index-178bcba4.js → index-ebe2ba84.js} +1 -1
- package/build/{index-a8828931.js → index-f85f3c11.js} +1 -1
- package/build/{index-638f59f0.js → index-fe88e8b3.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-9123dab7.js → index.styled-46ceab59.js} +1 -1
- package/build/{index.styled-c95f67be.js → index.styled-53def59c.js} +1 -1
- package/build/{index.styled-90363295.js → index.styled-7641af72.js} +3 -3
- package/build/{index.styled-1b1f2c69.js → index.styled-9daf18de.js} +1 -1
- package/build/{index.styled-c128f3cb.js → index.styled-a4e8a7b7.js} +1 -1
- 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/pwg.js +2 -2
- package/build/{routing-79e9fce4.js → routing-c3ffb52b.js} +1 -1
- package/build/{screenSizeContext-3cd42202.js → screenSizeContext-3943022a.js} +10 -10
- package/build/together.js +1 -1
- package/build/{translationsProvider-f627001f.js → translationsProvider-c0f248b5.js} +1 -1
- package/build/{types-b4c9e644.js → types-338e24c8.js} +23 -23
- package/build/{types-026ff49f.js → types-49d8766a.js} +1 -1
- package/build/types.js +1 -1
- package/build/useHealthToolCache-6becf0d9.js +1 -0
- package/build/{useRafState-2139defa.js → useRafState-8831c00f.js} +1 -1
- package/build/{useTranslations-21728373.js → useTranslations-20a122aa.js} +1 -1
- package/build/{utils-08380dce.js → utils-f7d920e3.js} +12 -12
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/esm/getDynamicHealthTool-30f0d9c8.js +0 -1
- package/build/esm/index-0fb0e636.js +0 -151
- package/build/esm/index-3969abb6.js +0 -1
- package/build/esm/useTranslations-c605802e.js +0 -1
- package/build/index-08ebf815.js +0 -1
- package/build/index-828fea6d.js +0 -151
- package/build/useHealthToolCache-5bb0b780.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-65c1c1b9.js → BMI_BOYS.percentile.monthly-1d9bec4b.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-329d55ce.js → BMI_BOYS.percentile.weekly-eb13f2ee.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-ba61708b.js → BMI_BOYS.percentile.yearly-e592ff95.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-67c47ae8.js → BMI_BOYS.zscore.monthly-0f0268c8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-2c82a17f.js → BMI_BOYS.zscore.weekly-38abbfe4.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-2a36a22b.js → BMI_BOYS.zscore.yearly-c93c6148.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-e8d8b043.js → BMI_GIRLS.percentile.monthly-2dba4588.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0c7be973.js → BMI_GIRLS.percentile.weekly-34eb2bcb.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-e5459d9d.js → BMI_GIRLS.percentile.yearly-40a91872.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-c0930f28.js → BMI_GIRLS.zscore.monthly-189b1c78.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-80b80949.js → BMI_GIRLS.zscore.weekly-61bf6a78.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-1a85ea3f.js → BMI_GIRLS.zscore.yearly-93d81b04.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-5efd51d6.js → HEAD CIRCUM_BOYS.percentile.monthly-9f5ff1da.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a8e50f1e.js → HEAD CIRCUM_BOYS.percentile.weekly-0aed8ea5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-cb66a281.js → HEAD CIRCUM_BOYS.percentile.yearly-4a12c615.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ba711ef5.js → HEAD CIRCUM_BOYS.zscore.monthly-0e1a43dc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-237af1fc.js → HEAD CIRCUM_BOYS.zscore.weekly-9aee6ba8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d46c43ca.js → HEAD CIRCUM_BOYS.zscore.yearly-71dc165d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-359de71b.js → HEAD CIRCUM_GIRLS.percentile.monthly-4daf6847.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-3a7711bb.js → HEAD CIRCUM_GIRLS.percentile.weekly-6ab5a248.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-819a5e7f.js → HEAD CIRCUM_GIRLS.percentile.yearly-a1030254.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e8b70d6c.js → HEAD CIRCUM_GIRLS.zscore.monthly-5b2b35ec.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-1636719b.js → HEAD CIRCUM_GIRLS.zscore.weekly-087b7618.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-4a160915.js → HEAD CIRCUM_GIRLS.zscore.yearly-b23d0345.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-aae5f4ea.js → HEIGHT_BOYS.percentile.monthly-0c8f1a23.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-e07df5bd.js → HEIGHT_BOYS.percentile.weekly-59526a5a.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f0ff2920.js → HEIGHT_BOYS.percentile.yearly-a12064fc.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-b33b7eed.js → HEIGHT_BOYS.zscore.monthly-5767c0fc.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-6a528e0d.js → HEIGHT_BOYS.zscore.weekly-5f653307.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-fc772f54.js → HEIGHT_BOYS.zscore.yearly-23ee7b02.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-77645433.js → HEIGHT_GIRLS.percentile.monthly-7fb519b0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-81798a05.js → HEIGHT_GIRLS.percentile.weekly-23440637.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-28b9cef1.js → HEIGHT_GIRLS.percentile.yearly-bc0f3575.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-a1e1d91f.js → HEIGHT_GIRLS.zscore.monthly-7e4d2499.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ece7a9cb.js → HEIGHT_GIRLS.zscore.weekly-b8df04ea.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-dba371f2.js → HEIGHT_GIRLS.zscore.yearly-d035a302.js} +0 -0
- /package/build/{Onboarding-1e96a01c.js → Onboarding-c6871f42.js} +0 -0
- /package/build/{Visible-8691b9d0.js → Visible-e4921015.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-510b5f4d.js → WEIGHT_BOYS.percentile.monthly-c825e4ac.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-ea71ac3d.js → WEIGHT_BOYS.percentile.weekly-638577b0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-4a14baaa.js → WEIGHT_BOYS.percentile.yearly-d71bc32e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-fa08281a.js → WEIGHT_BOYS.zscore.monthly-18f6c48d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-87ca83f2.js → WEIGHT_BOYS.zscore.weekly-ffe1e320.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-92ec7e52.js → WEIGHT_BOYS.zscore.yearly-cb05887c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-b64ff9ed.js → WEIGHT_GIRLS.percentile.monthly-814cc8f9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-6a072ba9.js → WEIGHT_GIRLS.percentile.weekly-b4fa30a6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-805c942f.js → WEIGHT_GIRLS.percentile.yearly-860948e8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-8cc45264.js → WEIGHT_GIRLS.zscore.monthly-d279ea6c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-29458a45.js → WEIGHT_GIRLS.zscore.weekly-8760e218.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-5a12b2bf.js → WEIGHT_GIRLS.zscore.yearly-5fa174e1.js} +0 -0
- /package/build/{constants-de607f4d.js → constants-137de225.js} +0 -0
- /package/build/{cookieHelper-e3e70eb3.js → cookieHelper-fc31669c.js} +0 -0
- /package/build/{dataTransform-0bd1d1d6.js → dataTransform-f9a16eb6.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-17a75e3d.js → BMI_BOYS.percentile.monthly-0f58d52d.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-58f3c8ec.js → BMI_BOYS.percentile.weekly-d59f4ddc.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-34734ac8.js → BMI_BOYS.percentile.yearly-f0c300c8.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-f331bfd3.js → BMI_BOYS.zscore.monthly-d1b5da03.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-02b6669e.js → BMI_BOYS.zscore.weekly-bad146df.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-8b6dbd27.js → BMI_BOYS.zscore.yearly-fbcfd4d4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-f47a78b1.js → BMI_GIRLS.percentile.monthly-cf59ccab.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-31078b59.js → BMI_GIRLS.percentile.weekly-a5b282c5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-7914df40.js → BMI_GIRLS.percentile.yearly-614f549f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-ef2fa80b.js → BMI_GIRLS.zscore.monthly-3d3f52d2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-fc2859b2.js → BMI_GIRLS.zscore.weekly-91f23625.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-5e8c8ace.js → BMI_GIRLS.zscore.yearly-f78390ca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-f0a9b560.js → HEAD CIRCUM_BOYS.percentile.monthly-fb813eb2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c01f614e.js → HEAD CIRCUM_BOYS.percentile.weekly-2f898b92.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-03a28a8b.js → HEAD CIRCUM_BOYS.percentile.yearly-33036b78.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-d5de3e8b.js → HEAD CIRCUM_BOYS.zscore.monthly-d23782da.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a2d3f03f.js → HEAD CIRCUM_BOYS.zscore.weekly-cdb28ef8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-77410c4d.js → HEAD CIRCUM_BOYS.zscore.yearly-5fda07b4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-791abaf5.js → HEAD CIRCUM_GIRLS.percentile.monthly-88c5276c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-de6b914e.js → HEAD CIRCUM_GIRLS.percentile.weekly-56b56ce7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-391d8f3d.js → HEAD CIRCUM_GIRLS.percentile.yearly-c245be6a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-22118a38.js → HEAD CIRCUM_GIRLS.zscore.monthly-6edd31c6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-033fadf5.js → HEAD CIRCUM_GIRLS.zscore.weekly-907cc100.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-1043f92c.js → HEAD CIRCUM_GIRLS.zscore.yearly-e17de0f4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e30512f8.js → HEIGHT_BOYS.percentile.monthly-be3d4059.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-2669b8d2.js → HEIGHT_BOYS.percentile.weekly-20f3931c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-9b889de2.js → HEIGHT_BOYS.percentile.yearly-ca69cc63.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-5f74d2ee.js → HEIGHT_BOYS.zscore.monthly-c982c2c8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-b40182eb.js → HEIGHT_BOYS.zscore.weekly-eb6c1583.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0ec11593.js → HEIGHT_BOYS.zscore.yearly-71359421.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-95c00017.js → HEIGHT_GIRLS.percentile.monthly-0b59f814.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-ff8faa93.js → HEIGHT_GIRLS.percentile.weekly-3056c245.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f2c2a09a.js → HEIGHT_GIRLS.percentile.yearly-fe260d00.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-b739572b.js → HEIGHT_GIRLS.zscore.monthly-ee073f72.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-26e015bb.js → HEIGHT_GIRLS.zscore.weekly-b6a4f509.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-45192b6a.js → HEIGHT_GIRLS.zscore.yearly-2be9ebaa.js} +0 -0
- /package/build/esm/{Onboarding-10567429.js → Onboarding-05bf223b.js} +0 -0
- /package/build/esm/{Visible-49a5c322.js → Visible-e05a3176.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-69b48e8f.js → WEIGHT_BOYS.percentile.monthly-b8bbc2f2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-1beaae43.js → WEIGHT_BOYS.percentile.weekly-459ce22c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-7c7e9919.js → WEIGHT_BOYS.percentile.yearly-56897342.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-9283b869.js → WEIGHT_BOYS.zscore.monthly-bf3f74c3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-1ac9a072.js → WEIGHT_BOYS.zscore.weekly-2d53190b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-9b839b9b.js → WEIGHT_BOYS.zscore.yearly-d7cb14c3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-cb1c7848.js → WEIGHT_GIRLS.percentile.monthly-11c15b4c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-9ffe610b.js → WEIGHT_GIRLS.percentile.weekly-1d6352b0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-7fd15451.js → WEIGHT_GIRLS.percentile.yearly-c32bbe22.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-6bfdcfb2.js → WEIGHT_GIRLS.zscore.monthly-07245c59.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-919cbbb2.js → WEIGHT_GIRLS.zscore.weekly-93a49fa2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-38d57df3.js → WEIGHT_GIRLS.zscore.yearly-2b38cbac.js} +0 -0
- /package/build/esm/{constants-4a417337.js → constants-b4b0dbd5.js} +0 -0
- /package/build/esm/{cookieHelper-f076ed06.js → cookieHelper-b1be0dca.js} +0 -0
- /package/build/esm/{dataTransform-b230f97a.js → dataTransform-b1d2d9fe.js} +0 -0
- /package/build/esm/{index-822affa3.js → index-2017e495.js} +0 -0
- /package/build/esm/{index-a740301e.js → index-d95fe6c9.js} +0 -0
- /package/build/esm/{isProduction-0fd1652a.js → isProduction-2e232ce7.js} +0 -0
- /package/build/esm/{localizeNumberFormat-6198dbc9.js → localizeNumberFormat-64055455.js} +0 -0
- /package/build/esm/{normalizeLink-cb62ad21.js → normalizeLink-2168153a.js} +0 -0
- /package/build/esm/{theme-875e5b63.js → theme-de51c819.js} +0 -0
- /package/build/esm/{translationsContext-fc6486f2.js → translationsContext-ce5d4145.js} +0 -0
- /package/build/esm/{tslib.es6-34de753e.js → tslib.es6-463f2e62.js} +0 -0
- /package/build/esm/{types-dc04785f.js → types-389e60ae.js} +0 -0
- /package/build/esm/{useIsInit-0a3202aa.js → useIsInit-a2253862.js} +0 -0
- /package/build/esm/{useOutsideClick-07eeb8f1.js → useOutsideClick-4ea0b71d.js} +0 -0
- /package/build/esm/{useScrollbarSize-a3b4003c.js → useScrollbarSize-3778037b.js} +0 -0
- /package/build/esm/{useUniqueId-c4f0155d.js → useUniqueId-a6a613ce.js} +0 -0
- /package/build/esm/{utils-f2d53b55.js → utils-8fca0431.js} +0 -0
- /package/build/{index-f543c132.js → index-6db1832c.js} +0 -0
- /package/build/{index-81408460.js → index-c63daae8.js} +0 -0
- /package/build/{isProduction-98c7ea47.js → isProduction-0e33663c.js} +0 -0
- /package/build/{localizeNumberFormat-1138924a.js → localizeNumberFormat-abbc3ee7.js} +0 -0
- /package/build/{normalizeLink-72b84dc0.js → normalizeLink-f2e3baa1.js} +0 -0
- /package/build/{theme-1a9c8dfd.js → theme-dbe18ce3.js} +0 -0
- /package/build/{translationsContext-293921e2.js → translationsContext-3e475b46.js} +0 -0
- /package/build/{tslib.es6-68615b0b.js → tslib.es6-42ca090c.js} +0 -0
- /package/build/{types-0e11a3ca.js → types-fc458f45.js} +0 -0
- /package/build/{useIsInit-4db8b56c.js → useIsInit-3184a248.js} +0 -0
- /package/build/{useOutsideClick-c07db0f6.js → useOutsideClick-c252593f.js} +0 -0
- /package/build/{useScrollbarSize-5b3b19b1.js → useScrollbarSize-6b0408ca.js} +0 -0
- /package/build/{useUniqueId-f59551e6.js → useUniqueId-e4c1f25e.js} +0 -0
- /package/build/{utils-3a8eef75.js → utils-73981712.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-42ca090c.js"),t=require("react"),a=require("./constants-137de225.js"),i=require("./index-15c7a577.js"),o=require("./cookieHelper-fc31669c.js"),n=require("./useTranslations-20a122aa.js"),s=require("lodash/debounce"),l=require("./index-7d048012.js"),r=require("styled-components"),c=require("./index-404a3d73.js"),d=require("./theme-dbe18ce3.js"),u=require("react-loading-skeleton"),h=require("./utils-73981712.js"),p=require("lodash/shuffle"),g=require("./useOutsideClick-c252593f.js"),f=require("string-format");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=C(t),y=C(s),b=C(r),v=C(u),E=C(p),w=C(f);const L=b.default.div``,x=b.default.div`
|
|
2
2
|
--searchbar-z-index: 305;
|
|
3
3
|
&[data-is-modal='true'] {
|
|
4
4
|
position: fixed;
|
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-c6871f42.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}}),Object.defineProperty(exports,"OnboardingStep",{enumerable:!0,get:function(){return e.OnboardingStep}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-42ca090c.js"),t=require("react"),a=require("./getDynamicHealthTool-4dc0d840.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 c=t.useCallback((e=>{var t;return(null===(t=i.find((t=>t.template===e)))||void 0===t?void 0:t.link)||""}),[i]);return{allTools:i,getHealthToolLink:c}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-42ca090c.js"),t=require("react"),r=require("./cookieHelper-fc31669c.js"),n=require("./useUniqueId-e4c1f25e.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,c;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,l,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),l&&(d.ct=l),null===(c=null===(u=window.localStorage)||void 0===u?void 0:u.setItem)||void 0===c||c.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-3e475b46.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,r)=>a?a[e]?r?n.default(a[e]||e,r):a[e]||e:(console.warn(`[useTranslations] Missing translation for key ${e} and locale ${o}`),r?n.default(t.defaultTranslations[e]||e,r):t.defaultTranslations[e]||e):(console.error("[useTranslations] t method called before translation values are loaded"),e),locale:o})),[a,o])};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";require("dayjs"),require("./screenSizeContext-
|
|
1
|
+
"use strict";require("dayjs"),require("./screenSizeContext-3943022a.js");var e=require("react"),t=require("styled-components"),r=require("./theme-dbe18ce3.js"),a=require("./index-15c7a577.js"),n=require("./utils-73981712.js");require("./isProduction-0e33663c.js");var i=require("./Onboarding-c6871f42.js");require("./gAssets.js");var o=require("./tslib.es6-42ca090c.js"),s=require("@mantine/form");require("./index.styled-9daf18de.js");var d=require("./index-43394201.js"),l=require("@mantine/core");require("./index-fe88e8b3.js");var u=require("./index-73da7c60.js");require("./index.styled-46ceab59.js");var p=require("./useTranslations-20a122aa.js");require("./index-c63daae8.js");var c=require("./index-041229d0.js");require("./index-202dd169.js"),require("@mantine/hooks"),require("lodash/debounce");var m=require("./Visible-e4921015.js"),g=require("yup");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function h(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}require("./translationsContext-3e475b46.js"),require("string-format");var f=b(e),x=b(t),E=h(g);const L=e.createContext({}),[O,y,w]=s.createFormContext(),C=x.default.div`
|
|
2
2
|
margin-top: 70px;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
.header {
|
|
17
17
|
margin-bottom: 32px;
|
|
18
18
|
text-align: center;
|
|
19
|
-
${
|
|
19
|
+
${n.MediaQueries.mbDown} {
|
|
20
20
|
margin-bottom: 16px;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
`,v=x.default.img`
|
|
49
49
|
margin-bottom: 38px;
|
|
50
|
-
`,j=t=>{var
|
|
50
|
+
`,j=t=>{var n,{heading:i,description:s,children:d,className:p,imgSrc:m}=t,g=o.__rest(t,["heading","description","children","className","imgSrc"]);const{isMarryBaby:b,siteType:h}=e.useContext(L);return f.default.createElement(P,Object.assign({},g,{className:`hhg-comp-onboarding-container ${p}`,size:"sm"}),f.default.createElement(u.LogoIcon,{type:b?h:(null===(n=a.LOCALE_SPECS[process.env.UNIFY_LOCALE])||void 0===n?void 0:n.LOGO_TYPE)||"hellobacsi"}),f.default.createElement(C,null,m&&f.default.createElement(v,{src:m,loading:"lazy"}),f.default.createElement("div",{className:"header"},f.default.createElement(l.Title,{order:3},i),f.default.createElement(c.Text,{size:"p3",mt:8,color:r.theme.colors.gray600},s)),d))},A=x.default.div`
|
|
51
51
|
position: fixed;
|
|
52
52
|
inset: 0;
|
|
53
53
|
z-index: 1000;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
overflow-y: auto;
|
|
56
56
|
`,q=x.default.div`
|
|
57
57
|
height: 100%;
|
|
58
|
-
${
|
|
58
|
+
${n.MediaQueries.lgPcUp} {
|
|
59
59
|
display: table;
|
|
60
60
|
width: 100%;
|
|
61
61
|
height: calc(100% - 25px);
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
`,M=x.default.div`
|
|
64
64
|
padding: 48px 24px 24px;
|
|
65
65
|
|
|
66
|
-
${
|
|
66
|
+
${n.MediaQueries.lgPcUp} {
|
|
67
67
|
display: table-cell;
|
|
68
68
|
|
|
69
69
|
&[data-has-banner='true'] {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
padding: 16px 16px 0 16px;
|
|
76
76
|
display: none;
|
|
77
77
|
|
|
78
|
-
${
|
|
78
|
+
${n.MediaQueries.lgPcUp} {
|
|
79
79
|
width: 640px;
|
|
80
80
|
display: table-cell;
|
|
81
81
|
}
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
.phone-input {
|
|
101
101
|
width: 100%;
|
|
102
102
|
margin-bottom: 32px;
|
|
103
|
-
${
|
|
103
|
+
${n.MediaQueries.mbDown} {
|
|
104
104
|
margin-bottom: 16px;
|
|
105
105
|
}
|
|
106
106
|
.PhoneInput {
|
|
@@ -113,11 +113,11 @@
|
|
|
113
113
|
border-radius: 0 4px 4px 0;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
`,z={[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"},B=({inputOrder:e=["phone"]})=>{const{t:t}=p.useTranslations(),r=y(),
|
|
116
|
+
`,z={[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"},B=({inputOrder:e=["phone"]})=>{const{t:t}=p.useTranslations(),r=y(),a=f.default.createElement("div",{className:"phone-input"},f.default.createElement(c.Phone,Object.assign({defaultCountry:z[process.env.UNIFY_LOCALE]||"VN"},r.getInputProps("phone"))),f.default.createElement(l.Input.Error,null,r.errors.phone)),n=f.default.createElement(c.Input,Object.assign({label:f.default.createElement(c.Text,{size:"s4",weight:"semiBold",as:"span"},t("onboarding.formEmail.yourName")),withAsterisk:!0},r.getInputProps("name"))),i=f.default.createElement(c.Input,Object.assign({label:f.default.createElement(c.Text,{size:"s4",weight:"semiBold",as:"span"},t("onboarding.formEmail.yourEmail")),withAsterisk:!0},r.getInputProps("email"))),o=f.default.createElement(c.DatePicker,Object.assign({label:f.default.createElement(c.Text,{size:"s4",weight:"semiBold",as:"span"},t("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},r.getInputProps("dob"))),s=f.default.createElement(c.Radio.Group,Object.assign({className:"radio-group",label:f.default.createElement(c.Text,{size:"s4",weight:"semiBold",as:"span"},t("bmi.selectGender"))},r.getInputProps("gender")),f.default.createElement(c.Radio,{value:"0",label:t("onboarding.formEmail.genderMale")}),f.default.createElement(c.Radio,{value:"1",label:t("onboarding.formEmail.genderFemale")})),d=f.default.createElement("div",{className:"otp-input"},f.default.createElement(c.OTP,Object.assign({enterKeyHint:void 0,nonce:void 0},r.getInputProps("otp"))),f.default.createElement(l.Input.Error,null,r.errors.otp)),u=f.default.createElement(c.Input.Password,Object.assign({label:f.default.createElement(c.Text,{size:"s4",weight:"semiBold",as:"span"},t("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:f.default.createElement(m.Visible,null)},r.getInputProps("password"))),g=f.default.createElement(c.Input.Password,Object.assign({label:f.default.createElement(c.Text,{size:"s4",weight:"semiBold",as:"span"},t("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:f.default.createElement(m.Visible,null)},r.getInputProps("confirmPassword"))),b=e.map((e=>{switch(e){case"phone":return a;case"full_name":return n;case"email":return i;case"dob":return o;case"gender":return s;case"otp":return d;case"password":return u;case"confirm_password":return g;default:return null}}));return f.default.createElement(k,null,b)},D=e=>E.object().shape({phone:E.string().required(e("onboarding.updatePhone.error")).default("")}),_=x.default(j)`
|
|
117
117
|
.phone-input {
|
|
118
118
|
width: 100%;
|
|
119
119
|
margin-bottom: 32px;
|
|
120
|
-
${
|
|
120
|
+
${n.MediaQueries.mbDown} {
|
|
121
121
|
margin-bottom: 16px;
|
|
122
122
|
}
|
|
123
123
|
.PhoneInput {
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
`,F={[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",[i.LOCALE.India]:"IN"},$=x.default(j)`
|
|
134
134
|
.otp-input {
|
|
135
135
|
margin-bottom: 36px;
|
|
136
|
-
${
|
|
136
|
+
${n.MediaQueries.mbDown} {
|
|
137
137
|
margin-bottom: 20px;
|
|
138
138
|
}
|
|
139
139
|
.otpContainer {
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
display: flex;
|
|
145
145
|
gap: 6px;
|
|
146
146
|
margin-bottom: 32px;
|
|
147
|
-
${
|
|
147
|
+
${n.MediaQueries.mbDown} {
|
|
148
148
|
margin-bottom: 16px;
|
|
149
149
|
}
|
|
150
150
|
a {
|
|
@@ -163,4 +163,4 @@
|
|
|
163
163
|
margin-bottom: 3px;
|
|
164
164
|
margin-left: 3px;
|
|
165
165
|
}
|
|
166
|
-
`;i.LOCALE.Vietnam,i.LOCALE.Cambodia,i.LOCALE.Indonesia,i.LOCALE.Malaysia,i.LOCALE.PhilippinesEnglish,i.LOCALE.PhilippinesTagalog,i.LOCALE.Taiwan,i.LOCALE.Thailand,i.LOCALE.Myanmar;exports.DynamicForm=B,exports.FormProvider=O,exports.MAPPED_LOCALE=F,exports.Onboarding=j,exports.OnboardingContext=L,exports.OnboardingForm=({onClose:e,onSubmit:t,canSkip:r=!0,customFormTexts:
|
|
166
|
+
`;i.LOCALE.Vietnam,i.LOCALE.Cambodia,i.LOCALE.Indonesia,i.LOCALE.Malaysia,i.LOCALE.PhilippinesEnglish,i.LOCALE.PhilippinesTagalog,i.LOCALE.Taiwan,i.LOCALE.Thailand,i.LOCALE.Myanmar;exports.DynamicForm=B,exports.FormProvider=O,exports.MAPPED_LOCALE=F,exports.Onboarding=j,exports.OnboardingContext=L,exports.OnboardingForm=({onClose:e,onSubmit:t,canSkip:r=!0,customFormTexts:a})=>{const{t:n}=p.useTranslations(),i=w({initialValues:{phone:""},validate:s.yupResolver(D(n))});return f.default.createElement(_,{heading:(null==a?void 0:a.heading)||n("onboarding.updatePhone.heading"),description:(null==a?void 0:a.description)||n("onboarding.updatePhone.description")},f.default.createElement(O,{form:i},f.default.createElement("form",{onSubmit:i.onSubmit((e=>o.__awaiter(void 0,void 0,void 0,(function*(){t(e.phone)}))),(e=>{console.log(e)}))},f.default.createElement(B,{inputOrder:["phone"]}),f.default.createElement(d.Button,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},n("onboarding.button.continue")),r&&f.default.createElement(d.Button,{color:"ghost",isBlock:!0,size:"lg",onClick:e,type:"button"},n("onboarding.button.skip")))))},exports.StyledBannerCol=I,exports.StyledBannerImg=N,exports.StyledBannerInner=T,exports.StyledContainer=q,exports.StyledContent=M,exports.StyledIntro=S,exports.StyledOnboardingModal=A,exports.StyledOtpForm=$,exports.hiddenEmailChar=(e="")=>{const t=e.indexOf("@"),r=e.substring(0,t),a=r.length>3?3:r.length;return e.replace(e.substring(a,t),e.slice(a,t).replace(/./g,"x"))},exports.onboardingEmailSchema=e=>E.object().shape({email:E.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:E.string().required(e("onboarding.errorMessage.requiredName"))}),exports.onboardingUpdatePasswordSchema=e=>E.object().shape({password:E.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:E.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([E.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),exports.otpSchema=e=>E.object().shape({otp:E.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),exports.useForm=w;
|
package/build/vaccination.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var a=require("./tslib.es6-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var a=require("./tslib.es6-42ca090c.js"),e=require("react"),i=require("@mantine/core");require("./gAssets.js");var n=require("./index-041229d0.js"),r=require("./index-f85f3c11.js"),o=require("dayjs");require("./screenSizeContext-3943022a.js");var l=require("styled-components"),t=require("./theme-dbe18ce3.js");require("./index-15c7a577.js");var s=require("./utils-73981712.js");require("./isProduction-0e33663c.js");var u=require("./Onboarding-c6871f42.js"),c=require("./useTranslations-20a122aa.js");require("./index-202dd169.js");var d=require("@mantine/hooks");require("lodash/debounce");var m=require("./index-6db1832c.js");require("./translationsContext-3e475b46.js"),require("string-format"),require("./index.styled-9daf18de.js"),require("./index-fe88e8b3.js"),require("./index-73da7c60.js");var k=require("./index-858340a9.js");require("./index.styled-46ceab59.js"),require("./index-c63daae8.js");var g=require("./index-ebe2ba84.js"),h=require("@mantine/form"),p=require("dayjs/plugin/customParseFormat"),v=require("./index-386f5db2.js");function b(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}require("@mantine/dates"),require("@mantine/carousel"),require("lodash/throttle"),require("./index-404a3d73.js"),require("./useUniqueId-e4c1f25e.js");var y=b(e),z=b(o),f=b(l),S=b(p);const M=f.default.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
padding: 16px;
|
|
4
4
|
min-height: 110px;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./tslib.es6-34de753e.js";import{g as i}from"./core-eaca75d2.js";import{n as o}from"./normalizeLink-cb62ad21.js";import{c as l}from"./routing-05aee8b0.js";const e=(t,i)=>{var o,l;if(!t)return{};const e="tl-PH"===i?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(o=t.link)||void 0===o?void 0:o.startsWith("http"))?t.link:`${e}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${e}/`,"/")),subtitle:t.subtitle,title:t.title}},n=i=>t(void 0,void 0,void 0,(function*(){var t,n;try{let a;a="undefined"!=typeof window?window.fetch:yield require("node-fetch");const r="tl-PH"===i?"lang=fil":"";let s=[];try{const d=yield a(o(`${l(i)}/wp-json/api/healthtools?ismenu=0${r?"&"+r:""}`)).then((t=>t.json()));s=(null===(n=null===(t=null==d?void 0:d.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>e(t,i))))||[]}catch(t){}return s}catch(t){console.error(t)}})),a=o=>t(void 0,void 0,void 0,(function*(){return(yield i("all-health-tools",(()=>n(o||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));export{a,e as f,n as g};
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-34de753e.js";import*as a from"react";import r,{useState as n,useEffect as l,Component as o,useCallback as i,forwardRef as s,useRef as c,useImperativeHandle as m}from"react";import{Image as d,Box as h,Breadcrumbs as p,createStyles as g,Text as f,AspectRatio as v,Textarea as u,Modal as b,Accordion as E,Indicator as z,Avatar as w,FileInput as C,createEmotionCache as x,NumberInput as y,PasswordInput as M,TextInput as j,Input as H,Checkbox as k,Slider as O,Radio as S,Flex as L,Tabs as B}from"@mantine/core";import{CommonGAssets as A}from"./gAssets.js";import{DatePicker as I,DateRangePicker as P}from"@mantine/dates";import D,{css as $}from"styled-components";import N from"dayjs";import"./screenSizeContext-afe24f18.js";import{t as T}from"./theme-875e5b63.js";import{I as F,s as R}from"./index-e2c1d836.js";import{B as W,M as _}from"./utils-f2d53b55.js";import"./isProduction-0fd1652a.js";import{L as V}from"./Onboarding-10567429.js";import"./translationsContext-fc6486f2.js";import"string-format";import{useDebouncedValue as K}from"@mantine/hooks";import{Carousel as U}from"@mantine/carousel";import"./index-ad31ca14.js";const Z=D(I)`
|
|
2
|
-
position: relative;
|
|
3
|
-
${e=>e.fullWidth&&$`
|
|
4
|
-
.mantine-DatePicker-dropdown {
|
|
5
|
-
min-width: 100%;
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
align-items: center;
|
|
9
|
-
}
|
|
10
|
-
`}
|
|
11
|
-
`,G=D(P)`
|
|
12
|
-
position: relative;
|
|
13
|
-
${e=>e.fullWidth&&$`
|
|
14
|
-
.mantine-DateRangePicker-dropdown {
|
|
15
|
-
min-width: 100%;
|
|
16
|
-
display: flex;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
align-items: center;
|
|
19
|
-
}
|
|
20
|
-
`}
|
|
21
|
-
`,X=e=>r.createElement(Z,Object.assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:r.createElement(d,{src:A.getAssetPath(e.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16})},e,{className:`input-control ${(null==e?void 0:e.className)||""}`}));X.Range=e=>r.createElement(G,Object.assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:r.createElement(d,{src:A.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},e));const Y=()=>"undefined"!=typeof window&&window.innerWidth<W.BREAK_POINT_MOBILE,q=()=>"undefined"!=typeof window&&window.innerWidth>=W.BREAK_POINT_MOBILE&&window.innerWidth<W.BREAK_POINT_PC,Q=()=>{const[e,t]=n(Y()),[a,r]=n(q());return l((()=>{const e=()=>{t(Y()),r(q())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:e,isLargeMobile:a}};class J extends o{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||r.createElement(r.Fragment,null):this.props.children}}const ee=t=>{var{slidesToShow:a=1,children:n}=t,l=e(t,["slidesToShow","children"]);return(Array.isArray(n)?n.length:1)?r.createElement(J,null,r.createElement(U,Object.assign({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},l),n)):null};ee.Slide=U.Slide;const te=D(ee)`
|
|
22
|
-
cursor: grab;
|
|
23
|
-
width: 100%;
|
|
24
|
-
.mantine-Carousel-control {
|
|
25
|
-
background: rgb(255, 255, 255);
|
|
26
|
-
opacity: 1;
|
|
27
|
-
border: none;
|
|
28
|
-
border-radius: 0;
|
|
29
|
-
box-shadow: none;
|
|
30
|
-
&[data-inactive] {
|
|
31
|
-
opacity: 0;
|
|
32
|
-
cursor: default;
|
|
33
|
-
}
|
|
34
|
-
&:first-child {
|
|
35
|
-
padding-right: 24px;
|
|
36
|
-
background: linear-gradient(
|
|
37
|
-
90deg,
|
|
38
|
-
rgba(255, 255, 255, 1) 0%,
|
|
39
|
-
rgba(255, 255, 255, 1) 50%,
|
|
40
|
-
rgba(255, 255, 255, 0) 100%
|
|
41
|
-
);
|
|
42
|
-
}
|
|
43
|
-
&:last-child {
|
|
44
|
-
padding-left: 24px;
|
|
45
|
-
background: linear-gradient(
|
|
46
|
-
270deg,
|
|
47
|
-
rgba(255, 255, 255, 1) 0%,
|
|
48
|
-
rgba(255, 255, 255, 1) 50%,
|
|
49
|
-
rgba(255, 255, 255, 0) 100%
|
|
50
|
-
);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.mantine-Carousel-container {
|
|
55
|
-
align-items: center;
|
|
56
|
-
}
|
|
57
|
-
`,ae=t=>{var{children:a}=t,n=e(t,["children"]);return r.createElement(ht,Object.assign({size:"p4",color:"gray.8"},n),a)},re=t=>{var{children:a,showHomeIcon:o=!0,homeIconHref:s="/"}=t,c=e(t,["children","showHomeIcon","homeIconHref"]);const[m,d]=n(null),{isMobile:g}=Q(),[,f]=n(!0),v=i((()=>{f(!1)}),[]),u=i((()=>{setTimeout((()=>{f(!0)}),1e3)}),[]);return l((()=>(m&&(m.on("scroll",v),m.on("pointerUp",u)),()=>{m&&(m.off("scroll",v),m.on("pointerUp",u))})),[m,v,u]),r.createElement(te,Object.assign({align:"center",slideGap:"xs",dragFree:!0,draggable:g,slideSize:"0",getEmblaApi:d,controlsOffset:-52,previousControlIcon:r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.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:r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.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"}))},c),o&&r.createElement(ee.Slide,{style:{borderRight:`1px solid ${Fe.neutral[1]}`}},r.createElement(ae,{href:s,target:"_blank",className:"pointer-event-child-none"},r.createElement(h,{sx:{borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center"},bg:Fe.neutral[0],p:4},r.createElement(me,{ratio:1,w:20},r.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.87435 6.22054L9.54102 1.80322C9.81771 1.62093 10.1823 1.62093 10.459 1.80322L17.1257 6.22054C17.36 6.37679 17.5 6.63721 17.5 6.91716V15.8332C17.5 16.7544 16.7546 17.4998 15.8333 17.4998H4.16667C3.24544 17.4998 2.5 16.7544 2.5 15.8332V6.91716C2.5 6.63721 2.63997 6.37679 2.87435 6.22054ZM6.113 13.0668C5.74633 12.7896 5.74795 12.2577 6.07245 11.9321C6.3975 11.606 6.94373 11.5878 7.33178 11.8356C7.97576 12.2468 9.02795 12.7653 10.2403 12.7653C11.4527 12.7652 12.5048 12.2468 13.1488 11.8356C13.5368 11.5878 14.0831 11.606 14.4081 11.9321C14.7326 12.2577 14.7342 12.7896 14.3676 13.0668C13.1936 13.9542 11.7055 14.4319 10.2403 14.4319C8.77508 14.4319 7.28693 13.9542 6.113 13.0668Z",fill:"#595959"})))))),r.createElement(ee.Slide,null),r.createElement(ee.Slide,null,r.createElement(p,{styles:{separator:{marginInline:4}},separator:r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.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"}))},a)))};re.Item=ae;const ne=Object.assign({},{fontSize:{base:[16,16],lg:[18,16],md:[18,16],sm:[16,14],xs:[14,12],s1:[22,18],s2:[18,16],s3:[16,14],s4:[14,12],s5:[12,12],p1:[18,16],p2:[16,16],p3:[16,14],p4:[14,12],c1:[16,14],c2:[14,12],n1:[12,12],label1:[14,14],label2:[12,12]},lineHeight:{base:[24,24],lg:[32,28],md:[32,28],sm:[24,22],xs:[24,18],s1:[32,26],s2:[28,24],s3:[24,24],s4:[22,18],s5:[18,18],p1:[28,28],p2:[24,24],p3:[24,22],p4:[22,18],c1:[24,22],c2:[22,18],n1:[18,18],label1:[22,22],label2:[18,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}});var le=g(((e,t)=>{var a,r,n,l,o,i,s,c,m,d;const h=null===(a=ne.fontSize[null==t?void 0:t.size])||void 0===a?void 0:a[0],p=null===(r=ne.lineHeight[null==t?void 0:t.size])||void 0===r?void 0:r[0],g=null!==(o=null===(l=null===(n=ne.letterSpacing)||void 0===n?void 0:n[null==t?void 0:t.size])||void 0===l?void 0:l[0])&&void 0!==o?o:0,f=null===(i=ne.fontSize[null==t?void 0:t.size])||void 0===i?void 0:i[1],v=null===(s=ne.lineHeight[null==t?void 0:t.size])||void 0===s?void 0:s[1],u=null!==(d=null===(m=null===(c=ne.letterSpacing)||void 0===c?void 0:c[null==t?void 0:t.size])||void 0===m?void 0:m[1])&&void 0!==d?d:0;return{root:Object.assign(Object.assign({},(null==t?void 0:t.size)&&{fontWeight:ne.fontWeight[t.weight],fontSize:`${h}px`,lineHeight:`${p}px`,letterSpacing:g,[e.fn.smallerThan("sm")]:{fontSize:`${f}px`,lineHeight:`${v}px`,letterSpacing:u}}),{"&[data-event-category] > *":{pointerEvents:"none"}})}}));const oe=t=>{var{size:a,color:n=T.colors.gray800,weight:l="regular",as:o="p",styles:i,className:s,dataEventCategory:c,dataEventAction:m,dataEventLabel:d}=t,h=e(t,["size","color","weight","as","styles","className","dataEventCategory","dataEventAction","dataEventLabel"]);const{classes:p,cx:g}=le({size:a,weight:l},{name:"Text",styles:i});return r.createElement(f,Object.assign({className:g(p.root,s),color:n,component:o,"data-event-category":c,"data-event-action":m,"data-event-label":d},h))},ie="100ms",se={"&:hover":{border:`1px solid ${T.colors.primaryBase}`}};var ce=g(((e,t)=>{const{size:a,variant:r,skipHover:n,isError:l,color:o}=t;return{rootCustom:Object.assign(Object.assign(Object.assign(Object.assign({transition:`all ${ie} ease-in-out`,"&[data-event-category] > *":{pointerEvents:"none"}},(()=>{switch(a){case"lg":return{height:48,fontWeight:600,fontSize:"16px",lineHeight:"24px"};case"md":return{height:40,fontWeight:600,fontSize:"14px",lineHeight:"22px"};case"sm":return{height:32,fontWeight:600,fontSize:"14px",lineHeight:"22px"}}})()),(()=>{var t,a;switch(r){case"primary":return Object.assign({color:e.white,backgroundColor:e.fn.primaryColor()},!n&&{"&:hover":{backgroundColor:e.colors[e.primaryColor][7]}});case"secondary":return Object.assign({color:e.fn.primaryColor(),backgroundColor:e.white,border:`1px solid ${e.fn.primaryColor()}`},!n&&{"&:hover":{backgroundColor:e.colors[e.primaryColor][0],border:`1px solid ${e.fn.primaryColor()}`}});case"tertiary":return{color:T.colors.gray800,backgroundColor:e.white,border:`1px solid ${T.colors.neutral200}`,"&:hover":Object.assign({},n?{backgroundColor:e.white,border:`1px solid ${T.colors.neutral200}`}:{backgroundColor:T.colors.neutral50,border:`1px solid ${T.colors.neutral50}`})};case"light":{const r=o||e.primaryColor;return{color:null===(a=null===(t=e.colors)||void 0===t?void 0:t[r])||void 0===a?void 0:a[Number(e.primaryShade)],backgroundColor:e.colors[r][0],border:"1px solid transparent","&:hover":Object.assign({},n?{backgroundColor:e.colors[r][0],border:"1px solid transparent"}:{backgroundColor:e.white,border:`1px solid ${e.colors[r][0]}`})}}case"ghost":return Object.assign({color:e.primaryColor,backgroundColor:"transparent",border:"1px solid transparent"},!n&&{"&:hover":{backgroundColor:e.colors[e.primaryColor][0],border:"1px solid transparent"}})}})()),{"&[data-disabled]":{backgroundColor:T.colors.gray100,color:T.colors.gray400}}),l?Object.assign({color:T.colors.red600,backgroundColor:e.white,border:`1px solid ${T.colors.red600}`},!n&&{"&:hover":{backgroundColor:T.colors.red50,border:`1px solid ${T.colors.red600}`}}):{})}}));const me=e=>r.createElement(v,Object.assign({sx:{borderRadius:4,overflow:"hidden"}},e)),de=D(u)`
|
|
58
|
-
.mantine-Textarea-input {
|
|
59
|
-
padding: 12px 16px;
|
|
60
|
-
background: #ffffff;
|
|
61
|
-
border: 1px solid ${T.colors.gray200};
|
|
62
|
-
border-radius: 4px;
|
|
63
|
-
}
|
|
64
|
-
`,he=D(b)`
|
|
65
|
-
.mantine-Modal-modal {
|
|
66
|
-
padding: 0;
|
|
67
|
-
}
|
|
68
|
-
.mantine-Modal-header {
|
|
69
|
-
border-bottom: 1px solid ${T.colors.neutral100};
|
|
70
|
-
margin-right: 0;
|
|
71
|
-
margin-bottom: 0;
|
|
72
|
-
padding: 16px;
|
|
73
|
-
}
|
|
74
|
-
.mantine-Modal-title {
|
|
75
|
-
width: 100%;
|
|
76
|
-
display: flex;
|
|
77
|
-
align-items: center;
|
|
78
|
-
justify-content: space-between;
|
|
79
|
-
margin-right: 0;
|
|
80
|
-
}
|
|
81
|
-
.mantine-Modal-close {
|
|
82
|
-
cursor: pointer;
|
|
83
|
-
width: 24px;
|
|
84
|
-
height: 24px;
|
|
85
|
-
}
|
|
86
|
-
`,pe=D(E)`
|
|
87
|
-
.mantine-Accordion-control {
|
|
88
|
-
&:hover {
|
|
89
|
-
background-color: transparent;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
.mantine-Accordion-item {
|
|
93
|
-
.mantine-Accordion-chevron {
|
|
94
|
-
> div {
|
|
95
|
-
background-repeat: no-repeat;
|
|
96
|
-
width: 16px;
|
|
97
|
-
height: 16px;
|
|
98
|
-
background-position: center;
|
|
99
|
-
background-image: url(${e=>e.closeChevron||A.getAssetPath("plus-icon.svg")});
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
&[data-active='true'] {
|
|
103
|
-
.mantine-Accordion-chevron {
|
|
104
|
-
> div {
|
|
105
|
-
background-image: url(${e=>e.openChevron||A.getAssetPath("minus-icon.svg")});
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
.mantine-Accordion-panel {
|
|
111
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
112
|
-
}
|
|
113
|
-
.mantine-Accordion-content {
|
|
114
|
-
white-space: pre-wrap;
|
|
115
|
-
}
|
|
116
|
-
`,ge=t=>{var{children:a}=t,n=e(t,["children"]);return r.createElement(pe,Object.assign({chevron:r.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},n),a)};ge.Control=E.Control,ge.Item=E.Item,ge.Panel=E.Panel;const fe=A.getAssetPath("avatar.jpg"),ve=t=>{var{withIndicator:a=!1,indicatorConfig:n=null,size:l=56,children:o,styles:i}=t,s=e(t,["withIndicator","indicatorConfig","size","children","styles"]);const c=()=>r.createElement(w,Object.assign({size:l,radius:"xl"},s,{imageProps:Object.assign({loading:"lazy"},s.imageProps)}),o||r.createElement("img",{loading:"lazy",src:fe,width:l}));return a?r.createElement(z,Object.assign({inline:!0,position:"bottom-end",offset:9},n,{styles:Object.assign({indicator:{backgroundColor:r.isValidElement(n.label)&&"transparent",zIndex:1}},i)}),c()):c()},ue=300,be=x({key:"mantine",prepend:!1}),Ee=t=>{var{value:a,onChange:o}=t,i=e(t,["value","onChange"]);const[s,c]=n(a),[m]=K(s,300);return l((()=>{null==o||o(m)}),[m]),l((()=>{c(a)}),[a]),r.createElement(y,Object.assign({size:"md",stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:c,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:s},i))},ze=A.getAssetPath("EyeVisible.svg"),we=A.getAssetPath("EyeHidden.svg"),Ce=s(((t,a)=>{const{size:n="md",visibilityToggleIcon:l}=t,o=e(t,["size","visibilityToggleIcon"]),i=l||(({reveal:e,size:t})=>e?r.createElement("img",{src:ze,width:t}):r.createElement("img",{src:we,width:t}));return r.createElement(M,Object.assign({ref:a,size:n,visibilityToggleIcon:i},o,{className:`input-control ${(null==o?void 0:o.className)||""}`}))})),xe=s(((t,a)=>{var{value:o,onChange:i,onChangeRaw:s}=t,c=e(t,["value","onChange","onChangeRaw"]);const[m,d]=n(o||""),[h]=K(m,300);return l((()=>{null==i||i(h)}),[h]),l((()=>{d(o)}),[o]),r.createElement(j,Object.assign({ref:a,size:"md",onChange:e=>{null==s||s(e),d(e.currentTarget.value)},value:m},c,{className:`input-control ${(null==c?void 0:c.className)||""}`}))}));xe.File=e=>r.createElement(C,Object.assign({size:"md"},e)),xe.Password=Ce,xe.Number=Ee,xe.Wrapper=H.Wrapper;const ye=e=>r.createElement(k,Object.assign({},e));ye.Group=k.Group;const Me=D(O)`
|
|
117
|
-
${e=>{const t=e.color||e.theme.colors.primaryBase;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
|
|
118
|
-
[data-theme='marryBaby'] & {
|
|
119
|
-
${e=>{const t=e.color||e.theme.mbColors.pink;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.mantine-Slider-label {
|
|
123
|
-
background-color: transparent;
|
|
124
|
-
color: #000;
|
|
125
|
-
font-size: 14px;
|
|
126
|
-
font-weight: bold;
|
|
127
|
-
}
|
|
128
|
-
`,je=D.div`
|
|
129
|
-
display: flex;
|
|
130
|
-
align-items: center;
|
|
131
|
-
.hhg-mantine-slider {
|
|
132
|
-
flex-grow: 1;
|
|
133
|
-
}
|
|
134
|
-
button {
|
|
135
|
-
path:not([stroke]) {
|
|
136
|
-
stroke: ${e=>e.theme.colors.primaryBase};
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
[data-theme='marryBaby'] & {
|
|
140
|
-
button {
|
|
141
|
-
path:not([stroke]) {
|
|
142
|
-
stroke: ${e=>e.theme.mbColors.pink};
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
`,He=t=>{var{styles:a}=t,n=e(t,["styles"]);return r.createElement(S,Object.assign({size:"sm"},n,{styles:e=>Object.assign({radio:Object.assign(Object.assign({backgroundColor:"#fff"},se),{"&:checked":{backgroundColor:"#fff"}}),icon:{color:e.colors[e.primaryColor][e.primaryShade]}},a)}))};He.Group=S.Group;const ke={Button:{defaultProps:{size:"md"}}},Oe={Checkbox:{styles:{input:se}}},Se=[{size:40,lineHeight:"52px",letterSpacing:"-1.2px"},{size:32,lineHeight:"42px",letterSpacing:"-1px"},{size:26,lineHeight:"36px",letterSpacing:"-0.8px"},{size:22,lineHeight:"32px",letterSpacing:"-0.6px"},{size:18,lineHeight:"28px",letterSpacing:"-0.2px"},{size:16,lineHeight:"24px",letterSpacing:0}],Le=[{size:26,lineHeight:"34px",letterSpacing:"-0.9px"},{size:24,lineHeight:"32px",letterSpacing:"-0.8px"},{size:20,lineHeight:"26px",letterSpacing:"-0.7px"},{size:18,lineHeight:"26px",letterSpacing:"-0.6px"},{size:16,lineHeight:"24px",letterSpacing:"-0.2px"},{size:14,lineHeight:"22px",letterSpacing:"-0.2px"}],Be=(e=!1)=>Object.fromEntries((e?Le:Se).map(((e,t)=>[`&:is(h${t+1})`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))),Ae={Title:{styles:{root:Object.assign(Object.assign({fontWeight:ne.fontWeight.bold},Be()),{[`&${_.mbDown}`]:Object.assign({},Be(!0))})}}},Ie=e=>({InputWrapper:{styles:{label:{display:"inline-flex",gap:4,marginBottom:"0.25rem",fontWeight:600,fontSize:"14px",lineHeight:"22px",color:T.colors.gray600},description:{fontWeight:400,fontSize:"12px",lineHeight:"18px",color:T.colors.gray600,marginBottom:"0.25rem"},error:{marginTop:"0.25rem"}}},NumberInput:{defaultProps:{decimalSeparator:F[e].separator}},Input:{styles:(e,t)=>({input:{border:`1px solid ${T.colors.gray200}`,transition:`all ${ie} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign({},(()=>{switch(t.size){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]}`}},invalid:{border:`1px solid ${T.colors.red600}`,color:"#000"}})}}),Pe={Radio:{}},De={Tabs:{styles:{tabsList:{gap:16,borderBottom:"none",flexWrap:"nowrap"},tab:{padding:0,paddingBottom:8,color:T.colors.gray400,"&:hover":{backgroundColor:"initial",border:"initial"},"&[data-active='true']":{color:T.colors.primaryBase,borderColor:T.colors.primaryBase}}}}},$e={[V.Vietnam]:"vi",[V.Cambodia]:"km",[V.India]:"hi",[V.Indonesia]:"id",[V.Malaysia]:"ms",[V.Thailand]:"th",[V.Taiwan]:"zh-tw",[V.PhilippinesTagalog]:"tl-ph",[V.PhilippinesEnglish]:"en",[V.Myanmar]:"my"},Ne={[V.Vietnam]:()=>import("dayjs/locale/vi.js"),[V.Cambodia]:()=>import("dayjs/locale/km.js"),[V.India]:()=>import("dayjs/locale/hi.js"),[V.Indonesia]:()=>import("dayjs/locale/id.js"),[V.Malaysia]:()=>import("dayjs/locale/ms.js"),[V.Thailand]:()=>import("dayjs/locale/th.js"),[V.Taiwan]:()=>import("dayjs/locale/zh-tw.js"),[V.PhilippinesTagalog]:()=>import("dayjs/locale/tl-ph.js"),[V.PhilippinesEnglish]:()=>import("dayjs/locale/en.js"),[V.Myanmar]:()=>import("dayjs/locale/my.js")},Te=e=>{const[a,r]=n(!1);return l((()=>{t(void 0,void 0,void 0,(function*(){var t;r(!1),yield null===(t=Ne[e])||void 0===t?void 0:t.call(Ne),N.locale($e[e]),r(!0)}))}),[e]),{isLoaded:a}},Fe={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"],neutral:["#f7f9fc","#e4e8ec","#fafafa","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c"],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","#ffc326","#fe921d","#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"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]},Re=(e,t="hb")=>({defaultRadius:"hb"===t?4:16,datesLocale:$e[e],dateFormat:F[e].dateFormat,colors:Object.assign(Object.assign({},Fe),T.colors),primaryColor:t,primaryShade:6,fontFamily:e===V.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",breakpoints:{xs:W.BREAK_POINT_SMALL_MOBILE,sm:W.BREAK_POINT_MOBILE,md:W.BREAK_POINT_TABLET,lg:W.BREAK_POINT_PC,xl:W.BREAK_POINT_LGPC},components:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ie(e)),Oe),Pe),ke),Ae),De)});var We="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function _e(e){var t={exports:{}};return e(t,t.exports),t.exports
|
|
147
|
-
/*!
|
|
148
|
-
Copyright (c) 2018 Jed Watson.
|
|
149
|
-
Licensed under the MIT License (MIT), see
|
|
150
|
-
http://jedwatson.github.io/classnames
|
|
151
|
-
*/}var Ve=_e((function(e){!function(){var t={}.hasOwnProperty;function a(){for(var e=[],r=0;r<arguments.length;r++){var n=arguments[r];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var o=a.apply(null,n);o&&e.push(o)}}else if("object"===l){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var i in n)t.call(n,i)&&n[i]&&e.push(i)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):window.classNames=a}()}));function Ke(e,t=6){const a=new Array(t).fill("");if(e){const t=e.toString().split("");a.map(((e,r)=>{t[r]&&(a[r]=t[r]||"")}))}return a}function Ue(e){return e.join("")}var Ze="_2iQs0sk",Ge="Ia6IojY";const Xe=s(((t,a)=>{const{maxLength:n=1,placeholder:l,className:o}=t,i=e(t,["maxLength","placeholder","className"]);return r.createElement("input",Object.assign({maxLength:n,className:Ve(Ge,"otpInput",o),placeholder:l,type:"number"},i,{ref:a}))})),Ye=s(((e,t)=>{const{valueLength:a=6,type:o="number",value:s,defaultValue:d,onChange:h,onBlur:p}=e,g=c(new Array(a).fill(null)),[f,v]=n(d||s),[u,b]=n(-1),[E,z]=n((()=>Ke(f,a))),w=i((()=>{if(-1===u)return;const e=g.current[u];if(e){e.value="";const t=E;t[u]="",z(t),v((()=>Ue(t))),null==h||h(Ue(t))}}),[u,h,E]),C=i((()=>{if(0===u)return;const e=g.current[u];e&&e.blur();const t=g.current[u-1];t&&t.focus()}),[u]),x=i((()=>{if(u===a-1)return;const e=g.current[u];e&&e.blur();const t=g.current[u+1];t&&t.focus()}),[u,a]),y=i((e=>{const t=e.target,a=t.value.toString().slice(0,1),r=g.current.findIndex((e=>e===t));if(-1!==r){const e=E;e[r]=a,z(e),v((()=>Ue(e))),null==h||h(Ue(e))}x()}),[x,h,E]),M=i((e=>{const t=e.target,a=g.current.findIndex((e=>e===t));"number"===o?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==a&&b(a)}),[]),j=i((e=>{const t=Ke(e.clipboardData.getData("text/plain"),a),r=Ue(t);z(t),v(r),null==h||h(r)}),[h,o,a]),H=i((e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),w(),C()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),w()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),C()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),x()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[w,x,C]);return m(t,(()=>g.current[0]),[]),l((()=>{z((()=>Ke(s,a))),v(s)}),[a,s]),r.createElement(L,{justify:"center",columnGap:8,className:Ve(Ze,"otpContainer")},E.map(((e,t)=>r.createElement(Xe,{ref:e=>{g.current[t]=e},key:""+t,value:e,type:o,onChange:y,onFocus:M,onKeyDown:H,onPaste:j,onBlur:p}))))})),qe=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-kh",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),a.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},a.createElement("g",{strokeLinejoin:"bevel"},a.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),a.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),a.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),a.createElement("path",{d:"M169 647.6h3.6v16.5H169zm49 0h3.6v16.5H218zm-78 0h3.5v16.5H140zm7 0h3.5v16.5H147zm7.5 0h3.5v16.5h-3.5zm7.5 0h3.5v16.5H162zm62.8 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6z"}),a.createElement("path",{strokeLinejoin:"miter",d:"M94.5 669.5a9.3 9.3 0 0 0 4.4-5.3H292a9.3 9.3 0 0 0 4.4 5.3z"})),a.createElement("path",{d:"M193 556.8s-.1-4.1 2.3-4.2c2.3 0 2.2 4.2 2.2 4.2zm-12.5 54.5v-5.5c0-2.8-2.8-3-2.8-5 0 0-.4-3 .4-4.4 1.1 4 3 3.3 3 1.6 0-1.4-1-2.8-3.3-6.3-.8-1.1-.3-4.6.7-5.9.4 3 .9 4.5 2.2 4.5.8 0 1.4-.5 1.4-2 0-2-1.3-3-2-4.8a5 5 0 0 1 1.1-5.3c.5 3 .4 4.2 1.7 4.2 2.7-.9 0-4.8-.6-5.8-.6-1.1 1-3.4 1-3.4.8 2.7 1 2.9 2 2.6 1.2-.3 1-2-.4-3.4-.9-1-.8-2.3.2-3.3 1 1.9 2.2 1.8 2.3.6l-.8-4.4H204l-.9 4.3c-.2 1.2 1.4 1.5 2.4-.5 1 1 1.1 2.4.2 3.3-1.4 1.4-1.6 3.1-.4 3.4 1 .3 1.2 0 2-2.6 0 0 1.5 1.5 1 3.4-.6 1-3.3 5-.6 5.8 1.3 0 1.2-1.2 1.7-4.2a5 5 0 0 1 1 5.3c-.6 1.8-2 2.8-2 4.8 0 1.5.7 2 1.5 2 1.3 0 1.8-1.4 2.2-4.5 1 1.3 1.5 4.8.7 6-2.3 3.4-3.4 4.8-3.4 6.2 0 1.7 2 2.4 3-1.6.9 1.4.5 4.4.5 4.4 0 2-2.7 2.2-2.8 5v5.5zm7.2-46-.4-3.1h15.9l-.4 3.1zm1-3.2-.2-2.5H202l-.3 2.5zm2.3-2.6-.3-2.6h9l-.1 2.6zm33 110c-2-.7-5-2.9-5-5v-24.3l2.6-3.4H169l2.5 3.4v24.3c0 2.1-2 4.3-4 5z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),a.createElement("path",{d:"M168 609.2v27.6h54v-27.6a4.2 4.2 0 0 0-2.6 2.8v11.8h-48.7V612s-.6-2-2.8-2.8z"}),a.createElement("path",{d:"M214.6 669.5c-1.8-.7-5.6-2.9-5.6-5v-27.2c.4-1.5 2.4-2.4 3.7-3.4H177c1.7 1 3.6 1.7 4.3 3.4v27.2c0 2.1-3 4.3-4.8 5z"}),a.createElement("path",{d:"M219.4 634.2v-19.6h-4.9v-1.9h-38.8v2h-5v19.5zM207 669.5c-1.8-.7-4.3-2.9-4.3-5v-23.2l1.4-2.1h-17.7l1.5 2v23.3c0 2.1-2.6 4.3-4.3 5z"}),a.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M204.4 632.5c0-2 5.8-2.1 8.8-3.8h-36c3 1.7 8.7 1.8 8.7 3.8l1.2 3.9 15 .6z"}),a.createElement("path",{d:"M211.4 611.3c0-4.9.2-6.7 1.7-6.7V620c-3.7 1.4-6.3 6-6.3 6h-23.2s-2.6-4.6-6.3-6v-15.5c1.8 0 1.8 2 1.8 6.7zm1.7-2c0-5.6 4.9-6.2 4.9-6.2v5c-1.9-.1-2.8 1.6-2.8 4 0 2.5 1.5 2.5 1.5 2.5v14.2h-3.6z"}),a.createElement("path",{d:"M177.3 609.3c0-5.6-4.9-6.2-4.9-6.2v5c1.9-.1 2.8 1.6 2.8 4 0 2.5-1.5 2.5-1.5 2.5v14.2h3.6z"}),a.createElement("g",{fill:"none",strokeWidth:.8},a.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),a.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),a.createElement("path",{d:"M184 614.2c3 3.6 2.6 9.7 2.6 13.3H204c0-3.6-.4-9.7 2.6-13.3zm9.7-41-2.4-1.3v-3.5c1 .3 2 .4 2.2 2 .3-2.3 1-2.1 1.9-3 1 .9 1.5.7 1.9 3 0-1.6 1.2-1.7 2.1-2v3.5l-2.3 1.2z"}),a.createElement("path",{d:"m193.5 578.9-4-2.8V573c1.5.3 3 .5 3.2 2.2.4-2.5 1.3-3.7 2.7-4.7 1.3 1 2.2 2.2 2.7 4.7.1-1.7 1.7-1.9 3-2.2v3.2l-3.9 2.7z"}),a.createElement("path",{d:"m193.2 587.8-4.5-4v-4.7c1.6.4 3.4.6 3.6 3.1.5-3.5 1.5-5.4 3-6.8 1.6 1.4 2.6 3.3 3.2 6.8.2-2.5 2-2.7 3.6-3.1v4.7l-4.6 4zm8.4 5.3-4 5.7h-4.7l-4.1-5.7zm-15.2 9.5c2 1.1 2.8 3.4 3 7.6H201c.2-4.2 1-6.5 3-7.6z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M204.2 593v-5.6a5.2 5.2 0 0 0-3.8 3.3c0-2-2.5-6.3-5.2-8.5-2.7 2.4-5.3 6.4-5.2 8.4-.5-1.5-1.8-2.7-3.8-3.2v5.7z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M205 602.6V597c-2.1.6-3.5 1.7-4.1 3.3 0-2-2.7-6.3-5.7-8.5-3 2.5-5.8 6.4-5.7 8.5-.5-1.5-2-2.7-4.1-3.3v5.7z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M207.4 614.3v-6.6a9.6 9.6 0 0 0-5.1 3.8c0-3.5-4-9-7.1-10.7-3.2 1.8-7.1 7.4-7.1 10.7a9.7 9.7 0 0 0-5.2-3.8v6.6z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M206 629v-6.8c-2.4.9-3 3.1-3.8 4.7.3-6.9-3.8-14.2-7-16.1-3.2 1.9-7.4 9.4-7 16-.8-1.4-1.5-3.7-3.8-4.6v6.7z"}),a.createElement("path",{d:"M204.4 639.2v-6.8c-2.5.6-2.6 1.5-3.4 3 .3-4.1-2.6-8.8-5.8-10.6-3.2 1.8-6 6.5-5.8 10.6-.8-1.5-.9-2.4-3.4-3v6.8z"}),a.createElement("g",{id:"a"},a.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),a.createElement("path",{d:"M99 664.3v-20.5c-.7-2.6-3-5-4.6-5.4v-19.2c2.5 0 3.7 3.2 3.7 3.2l4.3 18.9v22.9z"}),a.createElement("path",{d:"M96.3 669.5c1.7-.7 4.2-2.9 4.2-5v-25.6l-1.2-2H143l-1.7 2v25.6a6 6 0 0 0 3.4 5z"}),a.createElement("path",{d:"M135.8 669.5c-1.7-.7-4.2-2.9-4.2-5v-24.3l3.6-3.4h-29.6l3.6 3.4v24.3c0 2.1-2.5 4.3-4.2 5z"}),a.createElement("path",{d:"M131.7 669.5c-1.7-.7-4.3-2.9-4.3-5v-22l2.4-3.3H111l2.4 3.3v22c0 2.1-2.5 4.3-4.3 5z"}),a.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M103.7 647.6h3.6v16.5h-3.6zm30.8 0h3.5v16.5h-3.6zm-33.9-27.8h4.4v17h-4.4zm0-3.2h4.3v3.2h-4.3zm35.6 6.9h6.1v13h-6.1z"}),a.createElement("path",{d:"M104.9 636.6v-29c1.2 0 1.4 4.3 4.2 4.3 1.5 0 1.4-1.8.5-3.2-.7-1.3-1.6-3-.4-6.3.9 2.5 3.1 3.3 2.7 1.8-.7-2.7-2.8-3.2-1.2-7.3.5 3.4 2.7 3.3 2.2 1.3-.6-2.3-1.9-3.3-.3-6.5.9 3.7 2 3.5 2 1.2 0-3.4 0-7 4.2-8.3 0 0 .3-3 1.9-3 1.5 0 1.8 3 1.8 3 4.3 1.3 4.2 5 4.2 8.3 0 2.3 1.1 2.5 2-1.2 1.6 3.2.3 4.2-.3 6.5-.5 2 1.7 2.1 2.2-1.3 1.6 4.1-.5 4.6-1.2 7.3-.4 1.5 1.8.7 2.7-1.8 1.2 3.3.3 5-.4 6.3-.8 1.4-1 3.2.5 3.2 2.8 0 3-4.2 4.2-4.2v28.9zM98 614.7v22.1h2.5v-22.1c-.9-.5-1.7-.5-2.5 0z"}),a.createElement("path",{d:"M98.2 629c3.1 1.6 6.2 3.5 7 7.8h-7zm43.2-6.6v14.4h2v-14.4c-.6-.3-1.5-.4-2 0z"}),a.createElement("path",{d:"M143.4 629c-3.1 1.5-6.2 3.3-7 7.7h7zm-20.6-33.7 1.8-1.5v-2c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-1v2l1.8 1.6z"}),a.createElement("path",{d:"m123.8 600.2.8-1.9v-2.5c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-.9v2.5l.8 1.9z"}),a.createElement("path",{d:"m124 606.8 2.6-3.3v-3.2c-1 0-1.5.5-2.2 1.6-.7-2.3-2-2.7-3.8-3.8-1.9 1-3.2 1.5-3.8 3.7-.8-1.1-1.3-1.4-2.3-1.5v3.2l2.7 3.3z"}),a.createElement("path",{d:"M124.7 613.3s3.2-2.7 3.3-4.2v-3.5c-1.2.1-2.3.4-3.2 1.9-.8-2.9-2-3.7-4.2-5-2.3 1.3-3.5 2.1-4.2 5-1-1.5-2-1.8-3.3-2v3.6a15 15 0 0 0 3.3 4.2z"}),a.createElement("path",{d:"M126 625.3s4.4-4.7 4.5-6.6v-5.4c-1.6.2-3.2 1.3-4.4 3.6-1-4.5-2.6-7.6-5.5-9.8-3 2.2-4.6 5.3-5.6 9.8-1.2-2.3-2.7-3.4-4.3-3.6v5.4c.3 1.9 4.4 6.6 4.4 6.6z"}),a.createElement("path",{d:"M126 632.4s3.7-3.7 4.5-5.3v-5.4c-1.6.2-3.2 1.3-4.4 3.5a14 14 0 0 0-5.5-9.2c-3 2.2-4.6 4.7-5.6 9.2-1.2-2.2-2.7-3.3-4.3-3.5v5.4c1 1.6 4.4 5.3 4.4 5.3z"}),a.createElement("path",{d:"M127.5 636.6c-1-4.7-2-8.2-7.1-11.7-5.2 3.5-6.1 7-7.2 11.7z"}),a.createElement("path",{d:"M130.2 639.2v-6.8c-2.4 1-4.5 2.3-5.3 3.8-.8-3.8-2.5-5.4-4.6-7.7-2.1 2.3-3.5 4-4.4 7.7-.8-1.5-2.9-2.9-5.2-3.8v6.8z"})),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),a.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),a.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),a.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),a.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),a.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),a.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),a.createElement("path",{fill:"none",d:"M99 664.2h193M115.8 713h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m65.8 37.5h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m66.2 37.5h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2"}))),Qe=e=>a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"})),Je=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-in",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),a.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),a.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),a.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},a.createElement("circle",{r:20,fill:"#008"}),a.createElement("circle",{r:17.5,fill:"#fff"}),a.createElement("circle",{r:3.5,fill:"#008"}),a.createElement("g",{id:"d"},a.createElement("g",{id:"c"},a.createElement("g",{id:"b"},a.createElement("g",{id:"a",fill:"#008"},a.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),a.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),a.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),a.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),a.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),a.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"}))),et=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},a.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),a.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"}))),tt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),a.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),a.createElement("path",{fill:"#fc0",d:"m207.5 73.8 6 40.7 23-34-12.4 39.2 35.5-20.8-28.1 30 41-3.2-38.3 14.8 38.3 14.8-41-3.2 28.1 30-35.5-20.8 12.3 39.3-23-34.1-6 40.7-5.9-40.7-23 34 12.4-39.2-35.5 20.8 28-30-41 3.2 38.4-14.8-38.3-14.8 41 3.2-28.1-30 35.5 20.8-12.4-39.3 23 34.1zm-33.3 1.7a71.1 71.1 0 1 0 0 130 80 80 0 1 1 0-130z"}),a.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"})),at=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-mm",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),a.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),a.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},a.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"}))),rt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),a.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),a.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),a.createElement("path",{fill:"#fcd116",d:"M26.7 42.4 41 55l16.6-9.2-7.4 17.5 14 13-19-1.6-8.1 17.2-4.3-18.5L14 71l16.3-10zm323.8 172.3.4 19 18 6.3-18 6.2-.4 19-11.5-15.1-18.2 5.5 10.8-15.6-10.8-15.6 18.2 5.5zM37.2 388.1l8 17.2 19-1.6-13.9 13 7.4 17.5-16.6-9.1-14.4 12.4 3.6-18.7L14 409l18.9-2.4zm114.2-249-6.2 6.2 3.1 47-3 .3-5.7-42.9-5.1 5 7.6 38.4a47.5 47.5 0 0 0-17.2 7.1l-21.7-32.4H96l26.4 34.3a48 48 0 0 0-2.4 2l-31.1-35.5h-8.8v8.8l35.4 31-2 2.5-34.3-26.3v7.1l32.5 21.7c-3.4 5.2-5.9 11-7.1 17.2L66.3 223l-5.1 5 42.9 5.7c-.2 1-.3 2.1-.3 3.1l-47-3-6.2 6.2 6.2 6.2 47-3.1.3 3.1-42.9 5.7 5 5 38.4-7.6a47.5 47.5 0 0 0 7.1 17.2l-32.5 21.7v7.2l34.3-26.3a48 48 0 0 0 2 2.4l-35.4 31v8.8H89l31-35.4 2.5 2L96 312.2h7.2l21.7-32.5c5.1 3.4 11 5.9 17.2 7.1l-7.6 38.4 5 5 5.7-42.9c1 .2 2 .3 3.1.3l-3 47 6.1 6.2 6.3-6.2-3.1-47 3-.3 5.7 43 5.1-5.1-7.6-38.4a47.5 47.5 0 0 0 17.2-7.1l21.7 32.5h7.2l-26.4-34.3a48 48 0 0 0 2.4-2l31.1 35.4h8.8v-8.8l-35.4-31 2-2.4 34.3 26.3v-7.2l-32.5-21.7c3.4-5.1 5.9-11 7.1-17.2l38.3 7.6 5.1-5-42.9-5.7c.2-1 .3-2 .3-3.1l47 3 6.2-6.1-6.2-6.2-47 3-.3-3 42.9-5.7-5-5-38.4 7.5a47.5 47.5 0 0 0-7.1-17.2l32.5-21.7v-7.1l-34.3 26.3a48 48 0 0 0-2-2.4l35.4-31v-8.9H214l-31 35.5a48 48 0 0 0-2.5-2l26.4-34.3h-7.2L178 200.2c-5.1-3.4-11-5.9-17.2-7.1l7.6-38.3-5-5-5.7 42.8-3.1-.3 3-47z"})),nt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("clipPath",{id:"a"},a.createElement("path",{d:"M0 0h640v480H0z"})),a.createElement("g",{clipPath:"url(#a)"},a.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),a.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),a.createElement("g",{fill:"#fff"},a.createElement("path",{d:"m154 126.9-2.5 9.6 9.4 2.6-1.8-7.1zm46.9 5.1-1.8 7.1 9.4-2.6-2.5-9.6zm-41.8-24-5.1 5.1 1.9 6.9z"}),a.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),a.createElement("path",{d:"m154 113.1-6.9 6.9 6.9 6.9 1.9-6.9zm14 27.8 5.1 5.1 6.9-1.9zm18.9 5.1 9.6 2.5 2.6-9.4-7.1 1.8z"}),a.createElement("path",{d:"m192 140.9 7.1-1.8 1.8-7.1zm-31.1-1.8 2.6 9.4 9.6-2.5-5.1-5.1zm19.1 5 6.9 1.9 5.1-5.1z"}),a.createElement("path",{d:"m173.1 146 6.9 6.9 6.9-6.9-6.9-1.9zm-12.2-45.1-9.4 2.6 2.5 9.6 5.1-5.1zm-1.8 31.1 1.8 7.1 7.1 1.8zm45-12 1.9-6.9-5.1-5.1z"}),a.createElement("path",{d:"m168 99.1-7.1 1.8-1.8 7.1zm32.9 8.9-1.8-7.1-7.1-1.8zm5.1 18.9 6.9-6.9-6.9-6.9-1.9 6.9z"}),a.createElement("path",{d:"m200.9 108-8.9-8.9-12-3.2-12 3.2-8.9 8.9-3.2 12 3.2 12 8.9 8.9 12 3.2 12-3.2 8.9-8.9 3.2-12z"}),a.createElement("path",{d:"m200.9 132 5.1-5.1-1.9-6.9zm5.1-18.9 2.5-9.6-9.4-2.6 1.8 7.1zm-6.9-12.2-2.6-9.4-9.6 2.5 5.1 5.1zm-26-6.9-9.6-2.5-2.6 9.4 7.1-1.8zm6.9 1.9-6.9-1.9-5.1 5.1z"}),a.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),a.createElement("path",{d:"m192 99.1-5.1-5.1-6.9 1.9zM173.1 146l-9.6 2.5 4.5 16.6 12-12.2zm-5.1 19.1 12 44.9 12-44.9-12-12.2zm-7.1-26-9.4-2.6-4.4 16.4 16.4-4.4z"}),a.createElement("path",{d:"m147.1 152.9-12 45.1 32.9-32.9-4.5-16.6zm-12-20.9L102 165.1l45.1-12.2 4.4-16.4z"}),a.createElement("path",{d:"m154 126.9-6.9-6.9-12 12 16.4 4.5zm0-13.8-2.5-9.6-16.4 4.5 12 12z"}),a.createElement("path",{d:"M135.1 108 90 120l45.1 12 12-12zm90 24-16.6 4.5 4.4 16.4 45.1 12.2z"}),a.createElement("path",{d:"m199.1 139.1-2.6 9.4 16.4 4.4-4.4-16.4zm-12.2 6.9-6.9 6.9 12 12.2 4.5-16.6zm19.1-19.1 2.5 9.6 16.6-4.5-12.2-12z"}),a.createElement("path",{d:"m192 165.1 33.1 32.9-12.2-45.1-16.4-4.4zm7.1-64.2 9.4 2.6 4.4-16.4-16.4 4.4z"}),a.createElement("path",{d:"M225.1 108 258 75.1l-45.1 12-4.4 16.4zm-12.2-20.9L225.1 42 192 75.1l4.5 16.4zm12.2 44.9 44.9-12-44.9-12-12.2 12z"}),a.createElement("path",{d:"m206 113.1 6.9 6.9 12.2-12-16.6-4.5zm-38-38L135.1 42l12 45.1 16.4 4.4z"}),a.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),a.createElement("path",{d:"m147.1 87.1-45.1-12 33.1 32.9 16.4-4.5zm39.8 6.9 9.6-2.5-4.5-16.4-12 12z"}),a.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),a.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),a.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),a.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"}))),lt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("g",{fillRule:"evenodd"},a.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),a.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"}))),ot=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("defs",null,a.createElement("clipPath",{id:"a"},a.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),a.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},a.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),a.createElement("path",{fill:"#ff0",d:"M349.6 381 260 314.3l-89 67.3L204 272l-89-67.7 110.1-1 34.2-109.4L294 203l110.1.1-88.5 68.4 33.9 109.6z"}))),it=Object.values(R).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),st={PH:rt,KH:qe,ID:et,IN:Je,MM:at,MY:tt,TH:lt,TW:nt,VN:ot};var ct={phoneInput:"i-9Ibox",error:"YDWHh9b"};const mt=s(((a,o)=>{const{isError:i,defaultCountry:s,countries:c=it,countryCallingCodeEditable:m=!1,defaultValue:d,value:h,onChange:p,className:g}=a,f=e(a,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),[v,u]=n(d||h),[b,E]=n(null);return l((()=>{u(h)}),[h]),l((()=>{t(void 0,void 0,void 0,(function*(){const e=yield import("react-phone-number-input");E(e)}))}),[]),b?r.createElement(b.default,Object.assign({ref:o,value:v,onChange:e=>{u(e),null==p||p(e)},countries:c,defaultCountry:s,countryCallingCodeEditable:m,className:Ve(ct.phoneInput,{isError:i,[ct.error]:i},g),flagUrl:void 0,flagComponent:t=>{const{country:a,countryName:n,flagUrl:l}=t,o=e(t,["country","countryName","flagUrl"]),i=st[a],s=a?`(+${b.getCountryCallingCode(a)})`:"";return i?r.createElement(r.Fragment,null,r.createElement(i,Object.assign({title:n},o)),r.createElement("span",{className:Ve(ct.callingCode,"PhoneInputCountryIconCallingCode")},s)):r.createElement(r.Fragment,null)},countrySelectProps:{arrowComponent:()=>r.createElement("div",{className:Ve(ct.arrowSelect,"PhoneInputArrowContainer")},r.createElement(Qe,null))}},f)):null}));var dt=g(((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?e.colors.hb[6]:e.fn.primaryColor()),"&[data-event-category] > *":{pointerEvents:"none"}}})));const ht=t=>{var{color:a,styles:n,className:l}=t,o=e(t,["color","styles","className"]);const{classes:i,cx:s}=dt({color:a},{name:"Anchor",styles:n});return r.createElement(oe,Object.assign({as:"a",className:s(i.root,l)},o))},pt=t=>{var{children:a}=t,n=e(t,["children"]);return r.createElement(B,Object.assign({},n),a)};pt.List=B.List,pt.Tab=B.Tab,pt.Panel=B.Panel;export{ht as A,re as B,Qe as C,ue as D,pt as E,Je as I,tt as M,Ee as N,Ye as O,rt as P,He as R,je as S,nt as T,ot as V,qe as a,et as b,at as c,lt as d,xe as e,oe as f,_e as g,We as h,ce as i,Me as j,he as k,me as l,X as m,mt as n,de as o,Te as p,Re as q,ge as r,ve as s,Fe as t,Q as u,ee as v,ye as w,be as x,ne as y,$e as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-34de753e.js";import t,{useState as o,useEffect as n}from"react";import{useDebouncedValue as s}from"@mantine/hooks";import{B as a}from"./index-5ff9487f.js";import{D as r,S as i,j as l}from"./index-0fb0e636.js";const m=m=>{var{color:c,withControl:h,onChange:d,value:g,min:w,max:p,isStatic:u,containerClassName:f,containerStyle:k}=m,v=e(m,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[x,C]=o(g||w||0),[E]=s(x,r);return n((()=>{null==d||d(E)}),[E]),n((()=>{C(g)}),[g]),t.createElement(i,{className:f,style:k},h&&t.createElement(a,{type:"button",size:"sm",color:"ghost",onClick:()=>{C((e=>w&&e===w?e:e-1))}},t.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},t.createElement("path",{d:"M1 1.004h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),t.createElement(l,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:c,value:x,onChange:u?()=>null:C,min:w,max:p},v,{className:"hhg-mantine-slider "+(v.className||"")})),h&&t.createElement(a,{type:"button",size:"sm",color:"ghost",onClick:()=>{C((e=>p&&e===p?e:e+1))}},t.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},t.createElement("path",{d:"M8 4v8M4 8h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};export{m as S};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useContext as o,useMemo as a}from"react";import{T as r,d as e}from"./translationsContext-fc6486f2.js";import t from"string-format";function n(){const{values:n,locale:s}=o(r)||{locale:"en-PH"};return a((()=>({t:(o,a)=>n?n[o]?a?t(n[o]||o,a):n[o]||o:(console.warn(`[useTranslations] Missing translation for key ${o} and locale ${s}`),a?t(e[o]||o,a):e[o]||o):(console.error("[useTranslations] t method called before translation values are loaded"),o),locale:s})),[n,s])}export{n as u};
|
package/build/index-08ebf815.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-68615b0b.js");function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=e(require("react")),n="xzO2I0N";exports.Heading=e=>{var{as:s,tag:i,className:r,children:l,title:o,color:c,style:d,fontWeight:g,dataEventCategory:v,dataEventAction:b,dataEventLabel:u}=e,f=t.__rest(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const y=s||i;return a.default.createElement(y,Object.assign({title:o,style:Object.assign(Object.assign({},c?{"--custom-heading-color":c}:void 0),d),"data-tag":i,"data-font-weight":g||void 0,"data-event-category":v,"data-event-action":b,"data-event-label":u,className:`${n} ${r||""}`},f),l)};
|