@hhgtech/hhg-components 1.29.49 → 1.29.51-beta-1
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/{WhatsApp-3f34f395.js → WhatsApp-4fa2e2ac.js} +1 -1
- package/build/adapters.js +15 -15
- package/build/babyGrowth.js +80 -80
- package/build/cache.js +3 -3
- package/build/care.js +17 -17
- package/build/components.js +56 -56
- package/build/{constants-101cb4ce.js → constants-05fed605.js} +2 -2
- package/build/{constants-e83fdc4d.js → constants-311ee1fa.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-fe1b6121.js → core-953d0e34.js} +2 -2
- package/build/{dataTransform-e366f1e2.js → dataTransform-c573c55d.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/esm/{WhatsApp-23e610f7.js → WhatsApp-67df0ccd.js} +1 -1
- package/build/esm/adapters.js +15 -15
- package/build/esm/babyGrowth.js +81 -81
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +17 -17
- package/build/esm/components.js +56 -56
- package/build/esm/{constants-a0e4da94.js → constants-0e5c07d6.js} +2 -2
- package/build/esm/{constants-171a340f.js → constants-eb5b4093.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-1a71afc3.js → core-78ab4919.js} +2 -2
- package/build/esm/{dataTransform-6c4fb8ac.js → dataTransform-0cb2bc7f.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/footer.js +18 -18
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-b0828cb8.js → getDynamicHealthTool-de1ce4fe.js} +4 -4
- package/build/esm/{getSocialList-34507745.js → getSocialList-dcfeb595.js} +4 -4
- package/build/esm/hooks.js +17 -17
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-6e93aeda.js → index-04a9490e.js} +24 -22
- package/build/esm/{index-671e82cf.js → index-0601beac.js} +9 -9
- package/build/esm/{index-554ce39a.js → index-27b912d8.js} +2 -2
- package/build/esm/{index-89d0670a.js → index-39966135.js} +3 -3
- package/build/esm/{index-c3bb6ed6.js → index-3aa59e49.js} +4 -4
- package/build/esm/{index-7f2f2cd4.js → index-3b98ba00.js} +2 -2
- package/build/esm/{index-6e3ff9b2.js → index-3eba730f.js} +37 -37
- package/build/esm/{index-f8dc45d2.js → index-42dbfd36.js} +9 -9
- package/build/esm/{index-c5649ce6.js → index-53bee442.js} +1 -1
- package/build/esm/{index-aec01122.js → index-664b1bde.js} +4 -4
- package/build/esm/{index-cbb31a68.js → index-67cd01db.js} +4 -4
- package/build/esm/{index-71b7d5b0.js → index-6b1d51a6.js} +5 -5
- package/build/esm/{index-6a1adeee.js → index-70129246.js} +2 -2
- package/build/esm/{index-e0326d77.js → index-7f9b2004.js} +11 -11
- package/build/esm/{index-958d9d98.js → index-8cce8fcb.js} +2 -2
- package/build/esm/{index-de8c395e.js → index-9fe19ae4.js} +2 -2
- package/build/esm/{index-1031cc2c.js → index-b0c8b77f.js} +2 -2
- package/build/esm/{index-2bfd7ffc.js → index-bc843a94.js} +2 -2
- package/build/esm/{index-c30d19b4.js → index-bd35a3b0.js} +10 -10
- package/build/esm/{index-b2b15f08.js → index-c0f11a8f.js} +6 -6
- package/build/esm/{index-2ef3866c.js → index-db207491.js} +32 -32
- package/build/esm/{index-f26c57be.js → index-dd260f5d.js} +12 -12
- package/build/esm/{index-7d0b1acb.js → index-dde0d623.js} +2 -2
- package/build/esm/{index-4a84252b.js → index-f09030c7.js} +2 -2
- package/build/esm/index.js +64 -64
- package/build/esm/{index.styled-eb4a771e.js → index.styled-dfbc8174.js} +2 -2
- package/build/esm/{index.styles-99dff7ab.js → index.styles-43c7b347.js} +6 -6
- package/build/esm/lead.js +28 -28
- package/build/esm/mantine.js +20 -20
- package/build/esm/misc.js +19 -19
- package/build/esm/navigation.js +35 -35
- package/build/esm/onboardingV2.js +31 -31
- package/build/esm/pwg.js +19 -19
- package/build/esm/{routing-bbe1f1bc.js → routing-236ed610.js} +2 -2
- package/build/esm/subot/components/userInfoForm/utils.d.ts +1 -0
- package/build/esm/subot/index.d.ts +1 -0
- package/build/esm/subot.js +107 -199
- package/build/esm/together.js +34 -34
- package/build/esm/{types-a220acdc.js → types-5eeacd5b.js} +30 -30
- package/build/esm/{types-bc2f8046.js → types-f805d321.js} +13 -13
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-812c354c.js → useCategory-91ef4efb.js} +5 -5
- package/build/esm/{useHealthToolCache-c14f26ad.js → useHealthToolCache-715e579d.js} +2 -2
- package/build/esm/{useMantineLocale-2a59e98c.js → useMantineLocale-964c405e.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-c6235843.js → usePlacesAutocomplete-1d43519a.js} +1 -1
- package/build/esm/{useTranslations-e2a95770.js → useTranslations-6b51d5cd.js} +1 -1
- package/build/esm/{utils-ec0db67f.js → utils-12bae36d.js} +1 -1
- package/build/esm/{utils-675781e6.js → utils-1e59bbd9.js} +5 -5
- package/build/esm/{utils-29c00196.js → utils-2ab6c58f.js} +4 -4
- package/build/esm/vaccination.js +26 -26
- package/build/footer.js +18 -18
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-cdbbc6ff.js → getDynamicHealthTool-067d25c8.js} +4 -4
- package/build/{getSocialList-27c4da1b.js → getSocialList-8c05380d.js} +4 -4
- package/build/hooks.js +17 -17
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-e3b25720.js → index-01ac2d66.js} +24 -22
- package/build/{index-607170e9.js → index-20c6c77c.js} +1 -1
- package/build/{index-47f7b8c0.js → index-238bb6be.js} +2 -2
- package/build/{index-4299c143.js → index-2401cfcd.js} +12 -12
- package/build/{index-cddcfe6d.js → index-324d4c54.js} +2 -2
- package/build/{index-a9d9e717.js → index-363014f5.js} +32 -32
- package/build/{index-ccd4ccd2.js → index-3748059a.js} +11 -11
- package/build/{index-7626dbc4.js → index-3a2b4528.js} +5 -5
- package/build/{index-08e268f4.js → index-3bc15a5b.js} +4 -4
- package/build/{index-b65fbf44.js → index-427076f3.js} +4 -4
- package/build/{index-55c619ac.js → index-42868de5.js} +37 -37
- package/build/{index-a2130bf3.js → index-44487835.js} +3 -3
- package/build/{index-9b4e2b04.js → index-44d4ea83.js} +9 -9
- package/build/{index-e4d3d51b.js → index-4d25da6d.js} +2 -2
- package/build/{index-f3c48e80.js → index-57461364.js} +2 -2
- package/build/{index-1dcfef1e.js → index-5bbe09db.js} +2 -2
- package/build/{index-3e4fa661.js → index-61243e40.js} +2 -2
- package/build/{index-c05402d8.js → index-65d628e9.js} +2 -2
- package/build/{index-58ec2f47.js → index-788a1d29.js} +9 -9
- package/build/{index-b8ae81cc.js → index-7e8f5533.js} +6 -6
- package/build/{index-159b6146.js → index-c18b14a5.js} +4 -4
- package/build/{index-14602295.js → index-d186ce27.js} +2 -2
- package/build/{index-aa7996d8.js → index-d1d263bd.js} +10 -10
- package/build/{index-622747b1.js → index-ef5881eb.js} +2 -2
- package/build/index.js +64 -64
- package/build/{index.styled-1a90a0e6.js → index.styled-becdea15.js} +2 -2
- package/build/{index.styles-9a46bcfc.js → index.styles-46bc3fa7.js} +6 -6
- package/build/lead.js +28 -28
- package/build/mantine.js +17 -17
- package/build/misc.js +19 -19
- package/build/navigation.js +35 -35
- package/build/onboardingV2.js +30 -30
- package/build/pwg.js +19 -19
- package/build/{routing-3b28cea5.js → routing-705ba7a3.js} +2 -2
- package/build/subot/components/userInfoForm/utils.d.ts +1 -0
- package/build/subot/index.d.ts +1 -0
- package/build/subot.js +107 -198
- package/build/together.js +34 -34
- package/build/{types-6efa7916.js → types-330cc9ca.js} +30 -30
- package/build/{types-d187280e.js → types-c6398d64.js} +13 -13
- package/build/types.js +1 -1
- package/build/{useCategory-a77945f3.js → useCategory-87f54dff.js} +5 -5
- package/build/{useHealthToolCache-59a363a2.js → useHealthToolCache-96f255ca.js} +2 -2
- package/build/{useMantineLocale-c4d99d77.js → useMantineLocale-667dfb86.js} +3 -3
- package/build/{usePlacesAutocomplete-f5b2b284.js → usePlacesAutocomplete-e225e5b8.js} +1 -1
- package/build/{useTranslations-e6b56400.js → useTranslations-38435529.js} +1 -1
- package/build/{utils-175ca473.js → utils-2b45898b.js} +1 -1
- package/build/{utils-91e7a047.js → utils-b656a1e3.js} +4 -4
- package/build/{utils-c97041d6.js → utils-f0e0397d.js} +5 -5
- package/build/vaccination.js +26 -26
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-47444030.js → BMI_BOYS.percentile.monthly-3cc7f68c.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-eabada37.js → BMI_BOYS.percentile.weekly-93b2084c.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-5d4c0469.js → BMI_BOYS.percentile.yearly-fd3766ac.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-549b428f.js → BMI_BOYS.zscore.monthly-d28f648f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-8e26c1ba.js → BMI_BOYS.zscore.weekly-c3b63c93.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-0cb358e8.js → BMI_BOYS.zscore.yearly-13fe68c6.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-180c38e6.js → BMI_GIRLS.percentile.monthly-46889876.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-87bd3ff3.js → BMI_GIRLS.percentile.weekly-1b261f6f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-746086cc.js → BMI_GIRLS.percentile.yearly-a2e33a8a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-cce986b7.js → BMI_GIRLS.zscore.monthly-aa111ee4.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-386ad85a.js → BMI_GIRLS.zscore.weekly-f1b6ab35.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-58eb0547.js → BMI_GIRLS.zscore.yearly-2cb87f74.js} +0 -0
- /package/build/{ChevronDown-bc382ef2.js → ChevronDown-f15eb6cd.js} +0 -0
- /package/build/{Close-f8954e85.js → Close-52ddd110.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-cc063ffd.js → HEAD CIRCUM_BOYS.percentile.monthly-658841c8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-22cb3f9c.js → HEAD CIRCUM_BOYS.percentile.weekly-5d949803.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-437dec56.js → HEAD CIRCUM_BOYS.percentile.yearly-7e892ef1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-8549f358.js → HEAD CIRCUM_BOYS.zscore.monthly-f1b769e8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-94ae03d1.js → HEAD CIRCUM_BOYS.zscore.weekly-677c31d4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-0118605f.js → HEAD CIRCUM_BOYS.zscore.yearly-28e4f549.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-32fe3b8d.js → HEAD CIRCUM_GIRLS.percentile.monthly-3eca46f4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-36f431c7.js → HEAD CIRCUM_GIRLS.percentile.weekly-b0ba7fac.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-d0dcb032.js → HEAD CIRCUM_GIRLS.percentile.yearly-4bdc7cca.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-45365b2f.js → HEAD CIRCUM_GIRLS.zscore.monthly-f3d55b08.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-7db164c5.js → HEAD CIRCUM_GIRLS.zscore.weekly-d879db59.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-471262cf.js → HEAD CIRCUM_GIRLS.zscore.yearly-c2f89395.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-9c511d53.js → HEIGHT_BOYS.percentile.monthly-1a56a3c9.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-654f8191.js → HEIGHT_BOYS.percentile.weekly-0f0fef7c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-77f7504c.js → HEIGHT_BOYS.percentile.yearly-8f3bfda8.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-e1d40b50.js → HEIGHT_BOYS.zscore.monthly-d86c9aa6.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-d8b6abed.js → HEIGHT_BOYS.zscore.weekly-6b4c4540.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-b825a63d.js → HEIGHT_BOYS.zscore.yearly-5e516855.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-4702af09.js → HEIGHT_GIRLS.percentile.monthly-87bda618.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-25a3f67f.js → HEIGHT_GIRLS.percentile.weekly-2ab288f2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-5b8adbd3.js → HEIGHT_GIRLS.percentile.yearly-fa7568b3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-10e6446a.js → HEIGHT_GIRLS.zscore.monthly-807947e2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-a56eeb46.js → HEIGHT_GIRLS.zscore.weekly-8607c8d5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-447ab702.js → HEIGHT_GIRLS.zscore.yearly-4bdd92db.js} +0 -0
- /package/build/{Visible-2c6de9e3.js → Visible-46052b5d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-a79894e1.js → WEIGHT_BOYS.percentile.monthly-0a94165a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-728870bc.js → WEIGHT_BOYS.percentile.weekly-633638ac.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-7117aeb2.js → WEIGHT_BOYS.percentile.yearly-44e2887f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-3410dae5.js → WEIGHT_BOYS.zscore.monthly-7b0af452.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-5198a399.js → WEIGHT_BOYS.zscore.weekly-6ba8a9d2.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-ea4970e2.js → WEIGHT_BOYS.zscore.yearly-092a128b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-0791a810.js → WEIGHT_GIRLS.percentile.monthly-bd432da9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-6251bed6.js → WEIGHT_GIRLS.percentile.weekly-b8fbc4e5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-fa4d8c16.js → WEIGHT_GIRLS.percentile.yearly-ef328aba.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-328e9e20.js → WEIGHT_GIRLS.zscore.monthly-4a2d3367.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-f852b42f.js → WEIGHT_GIRLS.zscore.weekly-74b7453a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-eaeb372e.js → WEIGHT_GIRLS.zscore.yearly-c122380d.js} +0 -0
- /package/build/{animation-42e12eed.js → animation-231a0c84.js} +0 -0
- /package/build/{cart-40f7efd8.js → cart-bb0ed095.js} +0 -0
- /package/build/{cookieHelper-1d5fe2dc.js → cookieHelper-3488b9dd.js} +0 -0
- /package/build/{doctor-dd84fc60.js → doctor-e7023245.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-f4ce3e9b.js → BMI_BOYS.percentile.monthly-d6d0a9e7.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-cf38225b.js → BMI_BOYS.percentile.weekly-d2d16061.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-a63e265a.js → BMI_BOYS.percentile.yearly-ff16d9da.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-29117e7d.js → BMI_BOYS.zscore.monthly-85188a2d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-952722ea.js → BMI_BOYS.zscore.weekly-69d7296d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-d6184248.js → BMI_BOYS.zscore.yearly-a58b8854.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-2afb218e.js → BMI_GIRLS.percentile.monthly-cfc582f3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-7c7a4db0.js → BMI_GIRLS.percentile.weekly-5db4a30d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-2fad30d2.js → BMI_GIRLS.percentile.yearly-7e65aa61.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-bc34c287.js → BMI_GIRLS.zscore.monthly-b1f48b0c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-de2599ca.js → BMI_GIRLS.zscore.weekly-de35495a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-9ec3549f.js → BMI_GIRLS.zscore.yearly-6981bb18.js} +0 -0
- /package/build/esm/{ChevronDown-8ad8195f.js → ChevronDown-26a34ddf.js} +0 -0
- /package/build/esm/{Close-36d69f98.js → Close-73abd940.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-1805b162.js → HEAD CIRCUM_BOYS.percentile.monthly-193be054.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-e8809300.js → HEAD CIRCUM_BOYS.percentile.weekly-ccf00f61.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-0d1b6cfe.js → HEAD CIRCUM_BOYS.percentile.yearly-a893d5b7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ce73eee0.js → HEAD CIRCUM_BOYS.zscore.monthly-cda74405.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-f93484e8.js → HEAD CIRCUM_BOYS.zscore.weekly-9c42a484.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-a69aae9f.js → HEAD CIRCUM_BOYS.zscore.yearly-b2a3bd5e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-45253247.js → HEAD CIRCUM_GIRLS.percentile.monthly-1b2ffb1d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-017b1381.js → HEAD CIRCUM_GIRLS.percentile.weekly-9455461d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-8587881f.js → HEAD CIRCUM_GIRLS.percentile.yearly-95e533e7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-366a74e8.js → HEAD CIRCUM_GIRLS.zscore.monthly-32f3e769.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-3d24d842.js → HEAD CIRCUM_GIRLS.zscore.weekly-2ae88483.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-37585c09.js → HEAD CIRCUM_GIRLS.zscore.yearly-8cc63b60.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-5c6e99c0.js → HEIGHT_BOYS.percentile.monthly-e77face9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-4f2d46ca.js → HEIGHT_BOYS.percentile.weekly-f8573495.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-7f891d09.js → HEIGHT_BOYS.percentile.yearly-461d98a3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-67865882.js → HEIGHT_BOYS.zscore.monthly-469d0661.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-060cea5b.js → HEIGHT_BOYS.zscore.weekly-958cfd75.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-87929bdc.js → HEIGHT_BOYS.zscore.yearly-aa616307.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-8faf67d4.js → HEIGHT_GIRLS.percentile.monthly-ce8eea96.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-c49ddab2.js → HEIGHT_GIRLS.percentile.weekly-aa350157.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-bad3dc12.js → HEIGHT_GIRLS.percentile.yearly-4e96508c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-28e5ec89.js → HEIGHT_GIRLS.zscore.monthly-d0dd5f3e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-9e1e0e35.js → HEIGHT_GIRLS.zscore.weekly-74a10b62.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-b9e2faba.js → HEIGHT_GIRLS.zscore.yearly-777bf14b.js} +0 -0
- /package/build/esm/{Visible-b4f08ae1.js → Visible-505dd771.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-2446e8d8.js → WEIGHT_BOYS.percentile.monthly-b82f7a8e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-dd61e05a.js → WEIGHT_BOYS.percentile.weekly-32bc87fa.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-ae110d1b.js → WEIGHT_BOYS.percentile.yearly-12f231bf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-994af1a2.js → WEIGHT_BOYS.zscore.monthly-2981a826.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-73353839.js → WEIGHT_BOYS.zscore.weekly-6241fff0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-17bcddf9.js → WEIGHT_BOYS.zscore.yearly-b2ba7474.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-0ece1be8.js → WEIGHT_GIRLS.percentile.monthly-8afcfcb6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-cee44d4b.js → WEIGHT_GIRLS.percentile.weekly-b191a729.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-bea5030a.js → WEIGHT_GIRLS.percentile.yearly-e170b68e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-79ced475.js → WEIGHT_GIRLS.zscore.monthly-257c6de4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-2b1048b1.js → WEIGHT_GIRLS.zscore.weekly-0a021146.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-a3780541.js → WEIGHT_GIRLS.zscore.yearly-4568405e.js} +0 -0
- /package/build/esm/{animation-658a167f.js → animation-d4d5d6e7.js} +0 -0
- /package/build/esm/{cart-1a3b9899.js → cart-2fea77ec.js} +0 -0
- /package/build/esm/{cookieHelper-9b885ada.js → cookieHelper-59adc190.js} +0 -0
- /package/build/esm/{doctor-a2abf0e8.js → doctor-223638ba.js} +0 -0
- /package/build/esm/{index-5c8d2253.js → index-1aa87885.js} +0 -0
- /package/build/esm/{index-f11f2d19.js → index-55d1a448.js} +0 -0
- /package/build/esm/{index-6fa323e6.js → index-7c36d21b.js} +0 -0
- /package/build/esm/{index-9d7390fc.js → index-c01ed3a0.js} +0 -0
- /package/build/esm/{isProduction-bdf75cb0.js → isProduction-68b4499a.js} +0 -0
- /package/build/esm/{localizeNumberFormat-fb062858.js → localizeNumberFormat-8dbc00ab.js} +0 -0
- /package/build/esm/{normalizeLink-e96c75df.js → normalizeLink-3965ddbd.js} +0 -0
- /package/build/esm/{number-2359e1e3.js → number-cae5b603.js} +0 -0
- /package/build/esm/{paths-c1cf1b2f.js → paths-1bbf8007.js} +0 -0
- /package/build/esm/{theme-8a558f65.js → theme-c91191dc.js} +0 -0
- /package/build/esm/{translationsContext-fa5d0f22.js → translationsContext-77852958.js} +0 -0
- /package/build/esm/{tslib.es6-e1d80c3e.js → tslib.es6-1fc1660c.js} +0 -0
- /package/build/esm/{useIsInit-7b1902a5.js → useIsInit-72035645.js} +0 -0
- /package/build/esm/{useOutsideClick-b627fad5.js → useOutsideClick-43beec2c.js} +0 -0
- /package/build/esm/{useScrollbarSize-53c22b6c.js → useScrollbarSize-21c1bd65.js} +0 -0
- /package/build/esm/{useUniqueId-3f8165a6.js → useUniqueId-a30f0fb0.js} +0 -0
- /package/build/esm/{utils-0c260c38.js → utils-cfb72e36.js} +0 -0
- /package/build/{index-996f553f.js → index-3572e031.js} +0 -0
- /package/build/{index-44e7c492.js → index-759052f7.js} +0 -0
- /package/build/{index-4cec914b.js → index-82cf9847.js} +0 -0
- /package/build/{index-2e44c0c0.js → index-9aec776b.js} +0 -0
- /package/build/{isProduction-cbbca8bd.js → isProduction-ef50bff8.js} +0 -0
- /package/build/{localizeNumberFormat-07905858.js → localizeNumberFormat-e91d42c2.js} +0 -0
- /package/build/{normalizeLink-bdabff78.js → normalizeLink-eb8d4b9c.js} +0 -0
- /package/build/{number-2c15e65c.js → number-c8ff9a07.js} +0 -0
- /package/build/{paths-d4e176c6.js → paths-1cbae44a.js} +0 -0
- /package/build/{theme-5f4107b7.js → theme-4d7c1803.js} +0 -0
- /package/build/{translationsContext-24ccadef.js → translationsContext-a3a01a53.js} +0 -0
- /package/build/{tslib.es6-90643d90.js → tslib.es6-6c8b9eca.js} +0 -0
- /package/build/{useIsInit-bad3edbf.js → useIsInit-899076e9.js} +0 -0
- /package/build/{useOutsideClick-d98a4a74.js → useOutsideClick-c1c1621c.js} +0 -0
- /package/build/{useScrollbarSize-7563af04.js → useScrollbarSize-9edef7a5.js} +0 -0
- /package/build/{useUniqueId-0375bc61.js → useUniqueId-cf4b89ea.js} +0 -0
- /package/build/{utils-ecb72357.js → utils-27cf5c65.js} +0 -0
package/build/esm/subot.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useRef, useState, useEffect, useCallback, useMemo, forwardRef, memo, useImperativeHandle } from 'react';
|
|
2
|
-
import { e as NodeIntentType, c as NodeType, N as NodePosition, d as NodeFinalTypes, f as NodeActionType, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, F as FULL_KEY_ADDRESS } from './index-
|
|
3
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
4
|
-
import { B as BEARER_TOKEN_COOKIE, d as domainLocales, M as MAP_DOMAIN_BY_LOCALE, e as basePath, G as GA_TOKEN_COOKIE, h as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, f as SSO_URL } from './index-
|
|
2
|
+
import { e as NodeIntentType, c as NodeType, N as NodePosition, d as NodeFinalTypes, f as NodeActionType, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, L as LOCALE, F as FULL_KEY_ADDRESS } from './index-c01ed3a0.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-1fc1660c.js';
|
|
4
|
+
import { B as BEARER_TOKEN_COOKIE, d as domainLocales, M as MAP_DOMAIN_BY_LOCALE, e as basePath, G as GA_TOKEN_COOKIE, h as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, f as SSO_URL } from './index-8cce8fcb.js';
|
|
5
5
|
import Cookies from 'js-cookie';
|
|
6
6
|
import fd from 'fastdom';
|
|
7
7
|
import fastdomPromised from 'fastdom/extensions/fastdom-promised';
|
|
8
8
|
import formatString from 'string-format';
|
|
9
|
-
import { G as GlobalData, h as callApi, y as cookie, z as locale, T as TogetherComponentGlobalContext, L as LEAD_TOKEN_COOKIE, s as setDefaultClass } from './utils-
|
|
9
|
+
import { G as GlobalData, h as callApi, y as cookie, z as locale, T as TogetherComponentGlobalContext, L as LEAD_TOKEN_COOKIE, s as setDefaultClass } from './utils-1e59bbd9.js';
|
|
10
10
|
import { v4 } from 'uuid';
|
|
11
|
-
import { i as isProduction } from './isProduction-
|
|
11
|
+
import { i as isProduction } from './isProduction-68b4499a.js';
|
|
12
12
|
import hexRgb from 'hex-rgb';
|
|
13
13
|
import cn from 'classnames';
|
|
14
|
-
import { C as Container$w } from './index-
|
|
15
|
-
import { D as DatePicker, L as Loading } from './index-
|
|
14
|
+
import { C as Container$w } from './index-1aa87885.js';
|
|
15
|
+
import { D as DatePicker, L as Loading } from './index-39966135.js';
|
|
16
16
|
import { motion } from 'framer-motion';
|
|
17
17
|
import styled from '@emotion/styled';
|
|
18
|
-
import { M as MediaQueries } from './utils-
|
|
19
|
-
import { B as Button, S as Select } from './index-
|
|
18
|
+
import { M as MediaQueries } from './utils-cfb72e36.js';
|
|
19
|
+
import { B as Button, S as Select } from './index-42dbfd36.js';
|
|
20
20
|
import { Remarkable } from 'remarkable';
|
|
21
21
|
import { ArrowRight } from '@hhgtech/icons/other';
|
|
22
22
|
import { useInView } from 'react-intersection-observer';
|
|
23
23
|
import { Box, Textarea } from '@mantine/core';
|
|
24
|
-
import { C as CommonGAssets } from './index-
|
|
24
|
+
import { C as CommonGAssets } from './index-b0c8b77f.js';
|
|
25
25
|
import dayjs from 'dayjs';
|
|
26
26
|
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
|
|
27
|
-
import { T as Text } from './index-
|
|
28
|
-
import { t as theme } from './theme-
|
|
27
|
+
import { T as Text } from './index-70129246.js';
|
|
28
|
+
import { t as theme } from './theme-c91191dc.js';
|
|
29
29
|
import '@mantine/dates';
|
|
30
|
-
import './useMantineLocale-
|
|
31
|
-
import './translationsContext-
|
|
30
|
+
import './useMantineLocale-964c405e.js';
|
|
31
|
+
import './translationsContext-77852958.js';
|
|
32
32
|
import '@mantine/hooks';
|
|
33
33
|
import isEmpty from 'lodash/isEmpty';
|
|
34
34
|
import { Controller, useForm } from 'react-hook-form';
|
|
35
35
|
import PhoneInputBase, { getCountryCallingCode, isPossiblePhoneNumber, parsePhoneNumber } from 'react-phone-number-input';
|
|
36
36
|
import { LoadScript } from '@react-google-maps/api';
|
|
37
|
-
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-
|
|
38
|
-
import { D as Dropdown } from './index-
|
|
39
|
-
import { B as Button$1 } from './index-
|
|
37
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-1d43519a.js';
|
|
38
|
+
import { D as Dropdown } from './index-53bee442.js';
|
|
39
|
+
import { B as Button$1 } from './index-dde0d623.js';
|
|
40
40
|
import 'date-fns/locale';
|
|
41
|
-
import './cookieHelper-
|
|
41
|
+
import './cookieHelper-59adc190.js';
|
|
42
42
|
import 'slugify';
|
|
43
|
-
import './index-
|
|
44
|
-
import './WhatsApp-
|
|
45
|
-
import './useTranslations-
|
|
43
|
+
import './index-664b1bde.js';
|
|
44
|
+
import './WhatsApp-67df0ccd.js';
|
|
45
|
+
import './useTranslations-6b51d5cd.js';
|
|
46
46
|
import 'date-fns';
|
|
47
47
|
import 'react-day-picker/DayPickerInput';
|
|
48
48
|
import '@mantine/carousel';
|
|
49
|
-
import './useUniqueId-
|
|
49
|
+
import './useUniqueId-a30f0fb0.js';
|
|
50
50
|
import '@hhgtech/icons/core';
|
|
51
51
|
|
|
52
52
|
// extend fastdom
|
|
@@ -2105,51 +2105,6 @@ const StyledWrap$k = styled.div `
|
|
|
2105
2105
|
`;
|
|
2106
2106
|
|
|
2107
2107
|
const StyledWrap$j = styled.div `
|
|
2108
|
-
img {
|
|
2109
|
-
display: block;
|
|
2110
|
-
width: auto;
|
|
2111
|
-
max-width: 100%;
|
|
2112
|
-
margin: 0 auto;
|
|
2113
|
-
}
|
|
2114
|
-
`;
|
|
2115
|
-
|
|
2116
|
-
const Container$r = ({ intent }) => {
|
|
2117
|
-
if (!intent.url)
|
|
2118
|
-
return null;
|
|
2119
|
-
return (React__default.createElement(StyledWrap$j, null,
|
|
2120
|
-
React__default.createElement("img", { loading: "lazy", src: intent.url, alt: intent.label })));
|
|
2121
|
-
};
|
|
2122
|
-
Container$r.displayName = 'SubotInlineIntentBotImage';
|
|
2123
|
-
|
|
2124
|
-
const Container$q = ({ intent, indexNumber }) => {
|
|
2125
|
-
const { listNodes } = useContext(SubotInlineContext);
|
|
2126
|
-
const isShowLabel = ![NodeIntentType.SSO_INTENT].includes(intent === null || intent === void 0 ? void 0 : intent.type);
|
|
2127
|
-
const isHasTextOrBtn = [
|
|
2128
|
-
NodeIntentType.BOT_TEXT,
|
|
2129
|
-
NodeIntentType.BOT_MAIN_TITLE,
|
|
2130
|
-
NodeIntentType.BOT_BUTTON,
|
|
2131
|
-
].includes(intent === null || intent === void 0 ? void 0 : intent.type);
|
|
2132
|
-
const isImageNode = [
|
|
2133
|
-
NodeIntentType.BOT_IMAGE,
|
|
2134
|
-
NodeIntentType.BOT_MAIN_IMAGE,
|
|
2135
|
-
].includes(intent === null || intent === void 0 ? void 0 : intent.type);
|
|
2136
|
-
const isMainTitle = (intent === null || intent === void 0 ? void 0 : intent.type) === NodeIntentType.BOT_MAIN_TITLE;
|
|
2137
|
-
if (!intent) {
|
|
2138
|
-
return null;
|
|
2139
|
-
}
|
|
2140
|
-
return (React__default.createElement(StyledWrap$k, { id: "si-intent-bot-title" },
|
|
2141
|
-
React__default.createElement("h3", { className: "si-bot-title", "data-image": isImageNode },
|
|
2142
|
-
indexNumber && (React__default.createElement("span", { className: "si-bot-title-number" },
|
|
2143
|
-
indexNumber,
|
|
2144
|
-
".")),
|
|
2145
|
-
isShowLabel && isHasTextOrBtn && (React__default.createElement(Markdown, null, isMainTitle
|
|
2146
|
-
? replaceTextWithVariables(intent.label || '', listNodes)
|
|
2147
|
-
: intent.label)),
|
|
2148
|
-
isImageNode && React__default.createElement(Container$r, { intent: intent }))));
|
|
2149
|
-
};
|
|
2150
|
-
Container$q.displayName = 'SubotInlineIntentBotTitle';
|
|
2151
|
-
|
|
2152
|
-
const StyledWrap$i = styled.div `
|
|
2153
2108
|
text-align: center;
|
|
2154
2109
|
|
|
2155
2110
|
button {
|
|
@@ -2338,7 +2293,7 @@ const handleFrisoRedirecition = (listNode) => {
|
|
|
2338
2293
|
})));
|
|
2339
2294
|
};
|
|
2340
2295
|
|
|
2341
|
-
const Container$
|
|
2296
|
+
const Container$r = ({ intent }) => {
|
|
2342
2297
|
const { listNodes } = useContext(SubotInlineContext);
|
|
2343
2298
|
const handleOnClick = () => {
|
|
2344
2299
|
var _a;
|
|
@@ -2361,7 +2316,7 @@ const Container$p = ({ intent }) => {
|
|
|
2361
2316
|
}, [intent]);
|
|
2362
2317
|
if (!(intent === null || intent === void 0 ? void 0 : intent.label))
|
|
2363
2318
|
return null;
|
|
2364
|
-
return (React__default.createElement(StyledWrap$
|
|
2319
|
+
return (React__default.createElement(StyledWrap$j, null,
|
|
2365
2320
|
React__default.createElement(Button, Object.assign({ size: "md", color: "primary", onClick: handleOnClick }, trackingMainButton, { styles: {
|
|
2366
2321
|
root: {
|
|
2367
2322
|
backgroundColor: 'var(--subot-inline-primary-color) !important',
|
|
@@ -2373,7 +2328,57 @@ const Container$p = ({ intent }) => {
|
|
|
2373
2328
|
} }),
|
|
2374
2329
|
React__default.createElement(Markdown, null, intent.label))));
|
|
2375
2330
|
};
|
|
2376
|
-
Container$
|
|
2331
|
+
Container$r.displayName = 'SubotInlineIntentBotButton';
|
|
2332
|
+
|
|
2333
|
+
const StyledWrap$i = styled.div `
|
|
2334
|
+
img {
|
|
2335
|
+
display: block;
|
|
2336
|
+
width: auto;
|
|
2337
|
+
max-width: 100%;
|
|
2338
|
+
margin: 0 auto;
|
|
2339
|
+
}
|
|
2340
|
+
`;
|
|
2341
|
+
|
|
2342
|
+
const Container$q = ({ intent }) => {
|
|
2343
|
+
if (!intent.url)
|
|
2344
|
+
return null;
|
|
2345
|
+
return (React__default.createElement(StyledWrap$i, null,
|
|
2346
|
+
React__default.createElement("img", { loading: "lazy", src: intent.url, alt: intent.label })));
|
|
2347
|
+
};
|
|
2348
|
+
Container$q.displayName = 'SubotInlineIntentBotImage';
|
|
2349
|
+
|
|
2350
|
+
const Container$p = ({ intent, indexNumber }) => {
|
|
2351
|
+
const { listNodes } = useContext(SubotInlineContext);
|
|
2352
|
+
const isShowLabel = ![NodeIntentType.SSO_INTENT].includes(intent === null || intent === void 0 ? void 0 : intent.type);
|
|
2353
|
+
const isText = [
|
|
2354
|
+
NodeIntentType.BOT_TEXT,
|
|
2355
|
+
NodeIntentType.BOT_MAIN_TITLE,
|
|
2356
|
+
].includes(intent === null || intent === void 0 ? void 0 : intent.type);
|
|
2357
|
+
const isBtn = [
|
|
2358
|
+
NodeIntentType.BOT_BUTTON,
|
|
2359
|
+
NodeIntentType.BOT_RECALCULATE,
|
|
2360
|
+
].includes(intent === null || intent === void 0 ? void 0 : intent.type);
|
|
2361
|
+
const isImageNode = [
|
|
2362
|
+
NodeIntentType.BOT_IMAGE,
|
|
2363
|
+
NodeIntentType.BOT_MAIN_IMAGE,
|
|
2364
|
+
].includes(intent === null || intent === void 0 ? void 0 : intent.type);
|
|
2365
|
+
const isMainTitle = (intent === null || intent === void 0 ? void 0 : intent.type) === NodeIntentType.BOT_MAIN_TITLE;
|
|
2366
|
+
if (isBtn)
|
|
2367
|
+
return React__default.createElement(Container$r, { intent: intent });
|
|
2368
|
+
if (!intent) {
|
|
2369
|
+
return null;
|
|
2370
|
+
}
|
|
2371
|
+
return (React__default.createElement(StyledWrap$k, { id: "si-intent-bot-title" },
|
|
2372
|
+
React__default.createElement("h3", { className: "si-bot-title", "data-image": isImageNode },
|
|
2373
|
+
indexNumber && (React__default.createElement("span", { className: "si-bot-title-number" },
|
|
2374
|
+
indexNumber,
|
|
2375
|
+
".")),
|
|
2376
|
+
isShowLabel && isText && (React__default.createElement(Markdown, null, isMainTitle
|
|
2377
|
+
? replaceTextWithVariables(intent.label || '', listNodes)
|
|
2378
|
+
: intent.label)),
|
|
2379
|
+
isImageNode && React__default.createElement(Container$q, { intent: intent }))));
|
|
2380
|
+
};
|
|
2381
|
+
Container$p.displayName = 'SubotInlineIntentBotTitle';
|
|
2377
2382
|
|
|
2378
2383
|
const Container$o = ({ intent }) => {
|
|
2379
2384
|
const currentUrl = useCurrentUrl();
|
|
@@ -2719,26 +2724,26 @@ Container$i.displayName = 'SubotInlineIntentUrl';
|
|
|
2719
2724
|
|
|
2720
2725
|
const SubotInlineIntentBaseTarget = {
|
|
2721
2726
|
[NodeIntentType.BOT_TEXT]: Container$k,
|
|
2722
|
-
[NodeIntentType.BOT_IMAGE]: Container$
|
|
2723
|
-
[NodeIntentType.BOT_BUTTON]: Container$
|
|
2727
|
+
[NodeIntentType.BOT_IMAGE]: Container$q,
|
|
2728
|
+
[NodeIntentType.BOT_BUTTON]: Container$r,
|
|
2724
2729
|
[NodeIntentType.BOT_URL]: Container$i,
|
|
2725
2730
|
// In the revamp UI, recalculate as a normal button
|
|
2726
|
-
[NodeIntentType.BOT_RECALCULATE]: Container$
|
|
2727
|
-
[NodeIntentType.BOT_MAIN_TITLE]: Container$
|
|
2731
|
+
[NodeIntentType.BOT_RECALCULATE]: Container$r,
|
|
2732
|
+
[NodeIntentType.BOT_MAIN_TITLE]: Container$p,
|
|
2728
2733
|
// [NodeIntentType.BOT_MAIN_IMAGE]: SubotInlineIntentBotMainImage,
|
|
2729
2734
|
[NodeIntentType.BOT_MAIN_BODY]: Container$k,
|
|
2730
|
-
[NodeIntentType.BOT_MAIN_BUTTON]: Container$
|
|
2735
|
+
[NodeIntentType.BOT_MAIN_BUTTON]: Container$r,
|
|
2731
2736
|
[NodeIntentType.BOT_SUB_TITLE]: Container$k,
|
|
2732
2737
|
[NodeIntentType.BOT_SUB_BODY]: Container$k,
|
|
2733
2738
|
// [NodeIntentType.BOT_LANDING_PAGE_URL]: SubotInlineIntentBotText,
|
|
2734
2739
|
// [NodeIntentType.BOT_LANDING_PAGE_BUTTON]: SubotInlineIntentBotText,
|
|
2735
2740
|
// [NodeIntentType.BOT_RISK_SCREEN]: SubotInlineIntentBotRiskScreener,
|
|
2736
2741
|
[NodeIntentType.BOT_RELATED_ARTICLE]: Container$n,
|
|
2737
|
-
[NodeIntentType.THANK_YOU_IMAGE]: Container$
|
|
2742
|
+
[NodeIntentType.THANK_YOU_IMAGE]: Container$q,
|
|
2738
2743
|
[NodeIntentType.THANK_YOU_TITLE]: Container$k,
|
|
2739
2744
|
[NodeIntentType.THANK_YOU_BODY]: Container$k,
|
|
2740
2745
|
[NodeIntentType.BOT_SUGGESTED_SERVICE]: Container$l,
|
|
2741
|
-
[NodeIntentType.BOT_BOOKING]: Container$
|
|
2746
|
+
[NodeIntentType.BOT_BOOKING]: Container$r,
|
|
2742
2747
|
[NodeIntentType.BOT_EVENT_SUBMISSION]: Container$o,
|
|
2743
2748
|
/** intents fake for sso block */
|
|
2744
2749
|
[NodeIntentType.SSO_INTENT]: Container$j,
|
|
@@ -2764,7 +2769,7 @@ const Container$h = ({ intents: intentsProp, indexNumber, }) => {
|
|
|
2764
2769
|
const filteredIntents = intentsProp.filter((intent) => !excludeIntents.includes(intent.type || ''));
|
|
2765
2770
|
const [intentTitle, ...intents] = filteredIntents;
|
|
2766
2771
|
return (React__default.createElement(StyledWrap$l, { "data-intent-count": intents.length + 1 },
|
|
2767
|
-
intentTitle && (React__default.createElement(Container$
|
|
2772
|
+
intentTitle && (React__default.createElement(Container$p, { intent: intentTitle, indexNumber: indexNumber })),
|
|
2768
2773
|
!!intents.length && (React__default.createElement("div", { className: "si-intent-list" }, intents.map((intent) => {
|
|
2769
2774
|
const intentType = (intent === null || intent === void 0 ? void 0 : intent.type) || '';
|
|
2770
2775
|
if (excludeIntents.includes(intentType))
|
|
@@ -3682,12 +3687,6 @@ const StyleDatePickerInput = setDefaultClass(styled.div `
|
|
|
3682
3687
|
.input-date {
|
|
3683
3688
|
display: none;
|
|
3684
3689
|
}
|
|
3685
|
-
.pickerContainer {
|
|
3686
|
-
> .pickerOverlayWrapper {
|
|
3687
|
-
right: 50%;
|
|
3688
|
-
transform: translateX(50%);
|
|
3689
|
-
}
|
|
3690
|
-
}
|
|
3691
3690
|
`, 'hhgcomp-subot-datepickerinput');
|
|
3692
3691
|
const StyledUserInfoFormContainer = styled.div `
|
|
3693
3692
|
margin: 0 auto;
|
|
@@ -4027,7 +4026,7 @@ const StyledUserInfoFormContainer = styled.div `
|
|
|
4027
4026
|
background-color: var(--subot-inline-primary-color);
|
|
4028
4027
|
}
|
|
4029
4028
|
|
|
4030
|
-
&:hover {
|
|
4029
|
+
&:not(:disabled):hover {
|
|
4031
4030
|
background-color: var(--subot-inline-primary-color-hover);
|
|
4032
4031
|
}
|
|
4033
4032
|
}
|
|
@@ -4122,6 +4121,20 @@ const isControlOtp = (control) => {
|
|
|
4122
4121
|
const isActionTypeOtp = (type) => {
|
|
4123
4122
|
return (type === NodeActionType.USER_SUBMIT_OTP ||
|
|
4124
4123
|
type === NodeActionType.USER_SUBMIT_WHATSAPP);
|
|
4124
|
+
};
|
|
4125
|
+
const getTranslateVerifiedOtpMessages = () => {
|
|
4126
|
+
const phoneWasVerifiedMessage = new Map();
|
|
4127
|
+
phoneWasVerifiedMessage.set(LOCALE.Vietnam, 'Số điện thoại này đã được xác minh.');
|
|
4128
|
+
phoneWasVerifiedMessage.set(LOCALE.PhilippinesEnglish, 'This phone number has been verified.');
|
|
4129
|
+
phoneWasVerifiedMessage.set(LOCALE.Cambodia, 'លេខទូរស័ព្ទនេះត្រូវបានផ្ទៀងផ្ទាត់។');
|
|
4130
|
+
phoneWasVerifiedMessage.set(LOCALE.India, 'इस फ़ोन नंबर की पुष्टि कर दी गई है.');
|
|
4131
|
+
phoneWasVerifiedMessage.set(LOCALE.Indonesia, 'Nomor telepon ini telah diverifikasi.');
|
|
4132
|
+
phoneWasVerifiedMessage.set(LOCALE.Malaysia, 'Nombor telefon ini telah disahkan.');
|
|
4133
|
+
phoneWasVerifiedMessage.set(LOCALE.Myanmar, 'ဤဖုန်းနံပါတ်ကို စစ်ဆေးပြီးပါပြီ။');
|
|
4134
|
+
phoneWasVerifiedMessage.set(LOCALE.Taiwan, '該電話號碼已經過驗證。');
|
|
4135
|
+
phoneWasVerifiedMessage.set(LOCALE.Thailand, 'หมายเลขโทรศัพท์นี้ได้รับการตรวจสอบแล้ว');
|
|
4136
|
+
phoneWasVerifiedMessage.set(LOCALE.PhilippinesTagalog, 'Na-verify na ang numero ng teleponong ito.');
|
|
4137
|
+
return phoneWasVerifiedMessage;
|
|
4125
4138
|
};
|
|
4126
4139
|
|
|
4127
4140
|
const CheckCircleGreen = (props) => {
|
|
@@ -4749,9 +4762,10 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
4749
4762
|
(((_a = result === null || result === void 0 ? void 0 : result._messages) === null || _a === void 0 ? void 0 : _a[0]) === 'This phone number was verified' ||
|
|
4750
4763
|
((_b = result === null || result === void 0 ? void 0 : result._messages) === null || _b === void 0 ? void 0 : _b[0]) ===
|
|
4751
4764
|
'This phone number was verified on Whatsapp')) {
|
|
4765
|
+
const messages = getTranslateVerifiedOtpMessages();
|
|
4752
4766
|
pushNotifications({
|
|
4753
4767
|
title: '',
|
|
4754
|
-
message:
|
|
4768
|
+
message: messages.get(locale) || messages.get(LOCALE.PhilippinesEnglish),
|
|
4755
4769
|
type: 'success',
|
|
4756
4770
|
});
|
|
4757
4771
|
clearErrors(((_c = getActionOtp(actions)) === null || _c === void 0 ? void 0 : _c.key) || ((_d = getActionOtpWhatsApp(actions)) === null || _d === void 0 ? void 0 : _d.key));
|
|
@@ -4910,7 +4924,9 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
4910
4924
|
const options = action.url ? action.url.split('\n') : [];
|
|
4911
4925
|
return (React__default.createElement("div", { className: "input-row", key: action.id },
|
|
4912
4926
|
React__default.createElement("label", { htmlFor: action.key }, action.label),
|
|
4913
|
-
React__default.createElement(Controller, { key: action.key, control: control, name: action.key,
|
|
4927
|
+
React__default.createElement(Controller, { key: action.key, control: control, name: action.key, rules: {
|
|
4928
|
+
required: true,
|
|
4929
|
+
}, render: ({ field }) => {
|
|
4914
4930
|
return (React__default.createElement(Select, Object.assign({ searchable: true, data: options, placeholder: action.label }, field, { withinPortal: true, zIndex: 1000 })));
|
|
4915
4931
|
} }),
|
|
4916
4932
|
errors[action.key] && (React__default.createElement("p", { className: "error-message" }, f({
|
|
@@ -4975,113 +4991,6 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
4975
4991
|
id: 'validation.error.requiredField',
|
|
4976
4992
|
defaultMessage: 'This field is required',
|
|
4977
4993
|
})))));
|
|
4978
|
-
// case NodeActionType.USER_SUBMIT_ADDRESS_PROVINCE:
|
|
4979
|
-
// return (
|
|
4980
|
-
// <div className="input-row" key={action.id}>
|
|
4981
|
-
// <label htmlFor={action.key}>{action.label}</label>
|
|
4982
|
-
// <div style={{ background: '#fff' }}>
|
|
4983
|
-
// <Controller
|
|
4984
|
-
// name={action.key}
|
|
4985
|
-
// control={control}
|
|
4986
|
-
// rules={{
|
|
4987
|
-
// required: true,
|
|
4988
|
-
// }}
|
|
4989
|
-
// render={(props) => (
|
|
4990
|
-
// <Dropdown
|
|
4991
|
-
// id={action.id}
|
|
4992
|
-
// options={provinceData}
|
|
4993
|
-
// onChange={(val) => {
|
|
4994
|
-
// props.field.onChange(val)
|
|
4995
|
-
// handleSelectedProvince(val as Dropdown)
|
|
4996
|
-
// }}
|
|
4997
|
-
// value={props.field.value}
|
|
4998
|
-
// placeholder=" "
|
|
4999
|
-
// className="address-dropdown"
|
|
5000
|
-
// />
|
|
5001
|
-
// )}
|
|
5002
|
-
// />
|
|
5003
|
-
// </div>
|
|
5004
|
-
// {errors[action.key] && (
|
|
5005
|
-
// <p className="error-message">
|
|
5006
|
-
// {f({
|
|
5007
|
-
// id: 'validation.error.requiredField',
|
|
5008
|
-
// defaultMessage: 'This field is required',
|
|
5009
|
-
// })}
|
|
5010
|
-
// </p>
|
|
5011
|
-
// )}
|
|
5012
|
-
// </div>
|
|
5013
|
-
// )
|
|
5014
|
-
// case NodeActionType.USER_SUBMIT_ADDRESS_DISTRICT:
|
|
5015
|
-
// return (
|
|
5016
|
-
// <div className="input-row" key={action.id}>
|
|
5017
|
-
// <label htmlFor={action.key}>{action.label}</label>
|
|
5018
|
-
// <div style={{ background: '#fff' }}>
|
|
5019
|
-
// <Controller
|
|
5020
|
-
// name={action.key}
|
|
5021
|
-
// control={control}
|
|
5022
|
-
// rules={{
|
|
5023
|
-
// required: true,
|
|
5024
|
-
// }}
|
|
5025
|
-
// render={(props) => (
|
|
5026
|
-
// <Dropdown
|
|
5027
|
-
// id={action.id}
|
|
5028
|
-
// options={districtData}
|
|
5029
|
-
// onChange={(val) => {
|
|
5030
|
-
// props.field.onChange(val)
|
|
5031
|
-
// handleSelectedDistrict(val as Dropdown)
|
|
5032
|
-
// }}
|
|
5033
|
-
// value={props.field.value}
|
|
5034
|
-
// placeholder=" "
|
|
5035
|
-
// className="address-dropdown"
|
|
5036
|
-
// />
|
|
5037
|
-
// )}
|
|
5038
|
-
// />
|
|
5039
|
-
// </div>
|
|
5040
|
-
// {errors[action.key] && (
|
|
5041
|
-
// <p className="error-message">
|
|
5042
|
-
// {f({
|
|
5043
|
-
// id: 'validation.error.requiredField',
|
|
5044
|
-
// defaultMessage: 'This field is required',
|
|
5045
|
-
// })}
|
|
5046
|
-
// </p>
|
|
5047
|
-
// )}
|
|
5048
|
-
// </div>
|
|
5049
|
-
// )
|
|
5050
|
-
// case NodeActionType.USER_SUBMIT_ADDRESS_COMMUNE:
|
|
5051
|
-
// return (
|
|
5052
|
-
// <div className="input-row" key={action.id}>
|
|
5053
|
-
// <label htmlFor={action.key}>{action.label}</label>
|
|
5054
|
-
// <div style={{ background: '#fff' }}>
|
|
5055
|
-
// <Controller
|
|
5056
|
-
// name={action.key}
|
|
5057
|
-
// control={control}
|
|
5058
|
-
// rules={{
|
|
5059
|
-
// required: true,
|
|
5060
|
-
// }}
|
|
5061
|
-
// render={(props) => (
|
|
5062
|
-
// <Dropdown
|
|
5063
|
-
// id={action.id}
|
|
5064
|
-
// options={communeData}
|
|
5065
|
-
// onChange={(val) => {
|
|
5066
|
-
// props.field.onChange(val)
|
|
5067
|
-
// }}
|
|
5068
|
-
// value={props.field.value}
|
|
5069
|
-
// placeholder=" "
|
|
5070
|
-
// className="address-dropdown"
|
|
5071
|
-
// />
|
|
5072
|
-
// )}
|
|
5073
|
-
// />
|
|
5074
|
-
// </div>
|
|
5075
|
-
// {errors[action.key] && (
|
|
5076
|
-
// <p className="error-message">
|
|
5077
|
-
// {f({
|
|
5078
|
-
// id: 'validation.error.requiredField',
|
|
5079
|
-
// defaultMessage: 'This field is required',
|
|
5080
|
-
// })}
|
|
5081
|
-
// </p>
|
|
5082
|
-
// )}
|
|
5083
|
-
// </div>
|
|
5084
|
-
// )
|
|
5085
4994
|
case NodeActionType.USER_SUBMIT_BMI:
|
|
5086
4995
|
return (React__default.createElement("div", { key: action.id },
|
|
5087
4996
|
React__default.createElement("div", { className: "input-row", key: `${action.id}-weight` },
|
|
@@ -5214,11 +5123,9 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
5214
5123
|
React__default.createElement("span", { className: "subot-checkbox__label" },
|
|
5215
5124
|
React__default.createElement(Markdown, null, action.label)))));
|
|
5216
5125
|
case NodeActionType.USER_SUBMIT_SEND:
|
|
5217
|
-
const disabledWhenNotVerifyed = hasOtpField ? !verifiedOTP : false
|
|
5126
|
+
// const disabledWhenNotVerifyed = hasOtpField ? !verifiedOTP : false
|
|
5218
5127
|
return (React__default.createElement("div", { className: "submit-btn-row", key: action.id },
|
|
5219
|
-
React__default.createElement("button", Object.assign({ id: action.id, className: "submit-btn", type: "submit", disabled: hasConfirm
|
|
5220
|
-
? !confirm || disabledWhenNotVerifyed
|
|
5221
|
-
: disabledWhenNotVerifyed }, trackingSubmit, { "data-response-id": action.id }), action.label)));
|
|
5128
|
+
React__default.createElement("button", Object.assign({ id: action.id, className: "submit-btn", type: "submit", disabled: hasConfirm ? !confirm : false }, trackingSubmit, { "data-response-id": action.id }), action.label)));
|
|
5222
5129
|
case NodeActionType.USER_SUBMIT_TERMS:
|
|
5223
5130
|
return (React__default.createElement("div", { className: "form-terms", key: action.id },
|
|
5224
5131
|
React__default.createElement(Markdown, null, action.label)));
|
|
@@ -6189,6 +6096,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
6189
6096
|
__proto__: null,
|
|
6190
6097
|
'default': ContainerWithProvider,
|
|
6191
6098
|
SubotInlineRevampWithTheme: SubotInlineRevampWithTheme,
|
|
6099
|
+
UserInfoForm: UserInfoForm,
|
|
6192
6100
|
overrideParamsByQuery: overrideParamsByQuery,
|
|
6193
6101
|
ssoIntents: ssoIntents,
|
|
6194
6102
|
checkUntilFinished: checkUntilFinished,
|
|
@@ -6210,4 +6118,4 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
6210
6118
|
PATHS: PATHS$1
|
|
6211
6119
|
});
|
|
6212
6120
|
|
|
6213
|
-
export { PATHS$1 as PATHS, SubotInlineRevampWithTheme, TIME_RESET_RESEND_OTP, checkMobile, checkUntilFinished, clickAndOpenInNewTab, computeExtraSettingsForBot, ContainerWithProvider as default, getHelloSitesUrl, getHhgIdFromCookie, getSubotApiPath, getSubotCookieId, getUserIdFromCookie, getUserInfoFromCookie, getWindowId, overrideParamsByQuery, ssoIntents, subotInlineClick, subotInlineFirstNode, subotInlineImpression, subotInlineMessage };
|
|
6121
|
+
export { PATHS$1 as PATHS, SubotInlineRevampWithTheme, TIME_RESET_RESEND_OTP, UserInfoForm, checkMobile, checkUntilFinished, clickAndOpenInNewTab, computeExtraSettingsForBot, ContainerWithProvider as default, getHelloSitesUrl, getHhgIdFromCookie, getSubotApiPath, getSubotCookieId, getUserIdFromCookie, getUserInfoFromCookie, getWindowId, overrideParamsByQuery, ssoIntents, subotInlineClick, subotInlineFirstNode, subotInlineImpression, subotInlineMessage };
|
package/build/esm/together.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
export { f as CardAuthor, C as CardLink, B as CardPost, D as CardPostPopoverMore, b as CardReactions, E as CardReply, F as CardReplyPopover, g as CreateNewPostContent, h as CreatePostDescription, i as CreatePostTitle, r as ImagePreviewPopup, I as InputCommentBar, d as LabelPin, L as LabelSortPin, e as LabelSorting, G as PopoverMenu, P as PopupDanger, k as PopupDoctor, j as PopupExpert, n as PopupFrame, l as PopupHospital, q as PostContent, v as PostImagePreview, s as PostSingleImageViewPopup, y as ProfileDetail, x as ProfileDetailModal, p as ShareBox, S as SharePopup, A as SkipQuestionOfExpertBtn, w as SocialLinkPreview, H as SourceList, o as SubmitReportForm, z as TabNameInProfileDetail, c as TagTopic, T as TogetherAuthConfigContext, a as TogetherAuthConfigContextProvider, t as TogetherTypes, m as TopicSelectList, V as VerifiedTag, u as useTogetherAuthRequiredAction } from './types-
|
|
2
|
-
export { d as TogetherDataTransforms, U as UserAvatar } from './index-
|
|
3
|
-
export { D as DefaultComponentGlobalContextData, G as GlobalData, T as TogetherComponentGlobalContext, a as TogetherComponentGlobalContextProvider, c as TogetherConstants } from './utils-
|
|
1
|
+
export { f as CardAuthor, C as CardLink, B as CardPost, D as CardPostPopoverMore, b as CardReactions, E as CardReply, F as CardReplyPopover, g as CreateNewPostContent, h as CreatePostDescription, i as CreatePostTitle, r as ImagePreviewPopup, I as InputCommentBar, d as LabelPin, L as LabelSortPin, e as LabelSorting, G as PopoverMenu, P as PopupDanger, k as PopupDoctor, j as PopupExpert, n as PopupFrame, l as PopupHospital, q as PostContent, v as PostImagePreview, s as PostSingleImageViewPopup, y as ProfileDetail, x as ProfileDetailModal, p as ShareBox, S as SharePopup, A as SkipQuestionOfExpertBtn, w as SocialLinkPreview, H as SourceList, o as SubmitReportForm, z as TabNameInProfileDetail, c as TagTopic, T as TogetherAuthConfigContext, a as TogetherAuthConfigContextProvider, t as TogetherTypes, m as TopicSelectList, V as VerifiedTag, u as useTogetherAuthRequiredAction } from './types-5eeacd5b.js';
|
|
2
|
+
export { d as TogetherDataTransforms, U as UserAvatar } from './index-3aa59e49.js';
|
|
3
|
+
export { D as DefaultComponentGlobalContextData, G as GlobalData, T as TogetherComponentGlobalContext, a as TogetherComponentGlobalContextProvider, c as TogetherConstants } from './utils-1e59bbd9.js';
|
|
4
4
|
import 'react';
|
|
5
|
-
import './index-
|
|
6
|
-
import './tslib.es6-
|
|
5
|
+
import './index-70129246.js';
|
|
6
|
+
import './tslib.es6-1fc1660c.js';
|
|
7
7
|
import '@mantine/core';
|
|
8
|
-
import './utils-
|
|
9
|
-
import './translationsContext-
|
|
8
|
+
import './utils-cfb72e36.js';
|
|
9
|
+
import './translationsContext-77852958.js';
|
|
10
10
|
import 'string-format';
|
|
11
11
|
import '@hhgtech/icons/other';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-53bee442.js';
|
|
13
13
|
import '@emotion/styled';
|
|
14
|
-
import './theme-
|
|
15
|
-
import './useTranslations-
|
|
14
|
+
import './theme-c91191dc.js';
|
|
15
|
+
import './useTranslations-6b51d5cd.js';
|
|
16
16
|
import 'innertext';
|
|
17
|
-
import './index-
|
|
17
|
+
import './index-42dbfd36.js';
|
|
18
18
|
import '@mantine/hooks';
|
|
19
|
-
import './index-
|
|
20
|
-
import './index-
|
|
19
|
+
import './index-b0c8b77f.js';
|
|
20
|
+
import './index-8cce8fcb.js';
|
|
21
21
|
import 'date-fns/locale';
|
|
22
|
-
import './index-
|
|
23
|
-
import './isProduction-
|
|
22
|
+
import './index-c01ed3a0.js';
|
|
23
|
+
import './isProduction-68b4499a.js';
|
|
24
24
|
import '@mantine/carousel';
|
|
25
|
-
import './useMantineLocale-
|
|
25
|
+
import './useMantineLocale-964c405e.js';
|
|
26
26
|
import 'dayjs';
|
|
27
27
|
import 'classnames';
|
|
28
|
-
import './useUniqueId-
|
|
28
|
+
import './useUniqueId-a30f0fb0.js';
|
|
29
29
|
import '@hhgtech/icons/core';
|
|
30
30
|
import '@mantine/dates';
|
|
31
|
-
import './index-
|
|
32
|
-
import './index.styles-
|
|
33
|
-
import './constants-
|
|
31
|
+
import './index-0601beac.js';
|
|
32
|
+
import './index.styles-43c7b347.js';
|
|
33
|
+
import './constants-eb5b4093.js';
|
|
34
34
|
import '@emotion/react';
|
|
35
|
-
import './animation-
|
|
35
|
+
import './animation-d4d5d6e7.js';
|
|
36
36
|
import 'react-keyed-flatten-children';
|
|
37
|
-
import './paths-
|
|
38
|
-
import './index-
|
|
37
|
+
import './paths-1bbf8007.js';
|
|
38
|
+
import './index-bc843a94.js';
|
|
39
39
|
import 'lodash/debounce';
|
|
40
40
|
import 'react-contenteditable';
|
|
41
|
-
import './index-
|
|
42
|
-
import './index-
|
|
43
|
-
import './cookieHelper-
|
|
41
|
+
import './index-dde0d623.js';
|
|
42
|
+
import './index-9fe19ae4.js';
|
|
43
|
+
import './cookieHelper-59adc190.js';
|
|
44
44
|
import 'react-dom';
|
|
45
|
-
import './index-
|
|
46
|
-
import './WhatsApp-
|
|
47
|
-
import './number-
|
|
45
|
+
import './index-664b1bde.js';
|
|
46
|
+
import './WhatsApp-67df0ccd.js';
|
|
47
|
+
import './number-cae5b603.js';
|
|
48
48
|
import 'date-fns';
|
|
49
49
|
import 'dayjs/plugin/relativeTime';
|
|
50
|
-
import './index-
|
|
51
|
-
import './routing-
|
|
52
|
-
import './utils-
|
|
53
|
-
import './index.styled-
|
|
54
|
-
import './index-
|
|
50
|
+
import './index-f09030c7.js';
|
|
51
|
+
import './routing-236ed610.js';
|
|
52
|
+
import './utils-2ab6c58f.js';
|
|
53
|
+
import './index.styled-dfbc8174.js';
|
|
54
|
+
import './index-7c36d21b.js';
|
|
55
55
|
import 'slugify';
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useState, useRef, useEffect, useMemo, useCallback } from 'react';
|
|
2
|
-
import { T as Text } from './index-
|
|
3
|
-
import './translationsContext-
|
|
2
|
+
import { T as Text } from './index-70129246.js';
|
|
3
|
+
import './translationsContext-77852958.js';
|
|
4
4
|
import 'string-format';
|
|
5
|
-
import { T as TogetherComponentGlobalContext, B as BEARER_TOKEN_COOKIE, l as getUrlToSignUp, h as callApi, g as getApiPath, P as PATHS, m as DEFAULT_IMG, n as getCurrentBaseUrl, i as getCarePath, C as CARE_PATHS, o as domainLocales, p as getCareHospitalUrl, q as getCareDoctorUrl, r as getDiscoverApiPath, t as DISCOVER_PATHS, A as ADMIN_PATHS, u as callApiWithAdminAuth, b as callApiWithAuth, M as MAX_IMAGE_UPLOADS, v as DEFAULT_AVATAR_IMG, s as setDefaultClass, R as REPORT_REASON_MAP, w as getMarryBabyApiPath, x as callApiWithOptionalAuth } from './utils-
|
|
6
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
5
|
+
import { T as TogetherComponentGlobalContext, B as BEARER_TOKEN_COOKIE, l as getUrlToSignUp, h as callApi, g as getApiPath, P as PATHS, m as DEFAULT_IMG, n as getCurrentBaseUrl, i as getCarePath, C as CARE_PATHS, o as domainLocales, p as getCareHospitalUrl, q as getCareDoctorUrl, r as getDiscoverApiPath, t as DISCOVER_PATHS, A as ADMIN_PATHS, u as callApiWithAdminAuth, b as callApiWithAuth, M as MAX_IMAGE_UPLOADS, v as DEFAULT_AVATAR_IMG, s as setDefaultClass, R as REPORT_REASON_MAP, w as getMarryBabyApiPath, x as callApiWithOptionalAuth } from './utils-1e59bbd9.js';
|
|
6
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-1fc1660c.js';
|
|
7
7
|
import { Heart, Reply, Comment, CrossLogo, ShieldCheck, Info, Ask, FullScreen, ArrowDown, ArrowRight, Trash, Endorse } from '@hhgtech/icons/other';
|
|
8
8
|
import { useMantineTheme, Box, createStyles, Flex, rem, Checkbox, Portal, Anchor, Accordion, Popover } from '@mantine/core';
|
|
9
|
-
import { D as Dropdown } from './index-
|
|
10
|
-
import { u as useTranslations } from './useTranslations-
|
|
9
|
+
import { D as Dropdown } from './index-53bee442.js';
|
|
10
|
+
import { u as useTranslations } from './useTranslations-6b51d5cd.js';
|
|
11
11
|
import innertext from 'innertext';
|
|
12
|
-
import { t as theme } from './theme-
|
|
13
|
-
import { I as ImageWrap, u as useScreenSize, B as Button$1, A as Anchor$1, T as Tabs } from './index-
|
|
12
|
+
import { t as theme } from './theme-c91191dc.js';
|
|
13
|
+
import { I as ImageWrap, u as useScreenSize, B as Button$1, A as Anchor$1, T as Tabs } from './index-42dbfd36.js';
|
|
14
14
|
import '@mantine/dates';
|
|
15
|
-
import { D as DATE_FNS_LOCALE, d as domainLocales$1 } from './index-
|
|
16
|
-
import { L as LOCALE, S as SocialType } from './index-
|
|
17
|
-
import { C as CommonGAssets } from './index-
|
|
18
|
-
import './useMantineLocale-
|
|
15
|
+
import { D as DATE_FNS_LOCALE, d as domainLocales$1 } from './index-8cce8fcb.js';
|
|
16
|
+
import { L as LOCALE, S as SocialType } from './index-c01ed3a0.js';
|
|
17
|
+
import { C as CommonGAssets } from './index-b0c8b77f.js';
|
|
18
|
+
import './useMantineLocale-964c405e.js';
|
|
19
19
|
import '@mantine/hooks';
|
|
20
|
-
import { M as MediaQueries, t as toggleNoScroll, c as safeEncodeURI, a as getPopupWrapperDom } from './utils-
|
|
21
|
-
import { A as AuthorBadge, a as BookingBtn, B as BtnChoice, D as Divider } from './index-
|
|
22
|
-
import { U as UserAvatar, c as formatTopic, b as formatPost, P as Popup, e as formatComment, a as formatCommunity, g as formatArticle, h as formatCategory } from './index-
|
|
23
|
-
import { I as Input } from './index-
|
|
20
|
+
import { M as MediaQueries, t as toggleNoScroll, c as safeEncodeURI, a as getPopupWrapperDom } from './utils-cfb72e36.js';
|
|
21
|
+
import { A as AuthorBadge, a as BookingBtn, B as BtnChoice, D as Divider } from './index-0601beac.js';
|
|
22
|
+
import { U as UserAvatar, c as formatTopic, b as formatPost, P as Popup, e as formatComment, a as formatCommunity, g as formatArticle, h as formatCategory } from './index-3aa59e49.js';
|
|
23
|
+
import { I as Input } from './index-bc843a94.js';
|
|
24
24
|
import debounce from 'lodash/debounce';
|
|
25
25
|
import ContentEditable from 'react-contenteditable';
|
|
26
26
|
import { Plus, Close, Check } from '@hhgtech/icons/core';
|
|
27
|
-
import { B as Button } from './index-
|
|
28
|
-
import { H as Heading } from './index-
|
|
29
|
-
import { d as deleteCookie, g as getCookie } from './cookieHelper-
|
|
27
|
+
import { B as Button } from './index-dde0d623.js';
|
|
28
|
+
import { H as Heading } from './index-9fe19ae4.js';
|
|
29
|
+
import { d as deleteCookie, g as getCookie } from './cookieHelper-59adc190.js';
|
|
30
30
|
import * as ReactDOM from 'react-dom';
|
|
31
31
|
import styled from '@emotion/styled';
|
|
32
|
-
import { I as Icon } from './index-
|
|
33
|
-
import { a as abbreviateNumber } from './number-
|
|
32
|
+
import { I as Icon } from './index-664b1bde.js';
|
|
33
|
+
import { a as abbreviateNumber } from './number-cae5b603.js';
|
|
34
34
|
import { format } from 'date-fns';
|
|
35
35
|
import dayjs from 'dayjs';
|
|
36
36
|
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
37
37
|
import { keyframes } from '@emotion/react';
|
|
38
|
-
import { M as Modal } from './index-
|
|
39
|
-
import { a as useUniqueId } from './useUniqueId-
|
|
40
|
-
import { g as getCurrentBaseUrl$1 } from './routing-
|
|
41
|
-
import './index.styles-
|
|
42
|
-
import './constants-
|
|
43
|
-
import './utils-
|
|
44
|
-
import './WhatsApp-
|
|
45
|
-
import './index.styled-
|
|
46
|
-
import './index-
|
|
38
|
+
import { M as Modal } from './index-f09030c7.js';
|
|
39
|
+
import { a as useUniqueId } from './useUniqueId-a30f0fb0.js';
|
|
40
|
+
import { g as getCurrentBaseUrl$1 } from './routing-236ed610.js';
|
|
41
|
+
import './index.styles-43c7b347.js';
|
|
42
|
+
import './constants-eb5b4093.js';
|
|
43
|
+
import './utils-2ab6c58f.js';
|
|
44
|
+
import './WhatsApp-67df0ccd.js';
|
|
45
|
+
import './index.styled-dfbc8174.js';
|
|
46
|
+
import './index-7c36d21b.js';
|
|
47
47
|
|
|
48
48
|
const TogetherAuthConfigContext = createContext({});
|
|
49
49
|
const TogetherAuthConfigContextProvider = ({ children, defaultParams, }) => {
|