@hhgtech/hhg-components 1.23.58 → 1.23.59
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/{Visible-45d63063.js → Visible-a9340c0f.js} +1 -1
- package/build/babyGrowth.js +1 -1
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/button/index.d.ts +3 -2
- package/build/components/atoms/icons/ArrowDown.d.ts +4 -0
- package/build/components/atoms/icons/Close.d.ts +4 -0
- package/build/components/atoms/icons/CrossLogo.d.ts +4 -0
- package/build/components/atoms/icons/Minus.d.ts +4 -0
- package/build/components/atoms/icons/Plus.d.ts +5 -0
- package/build/components/atoms/icons/index.d.ts +2 -1
- package/build/components/molecules/bmiForm/index.styled.d.ts +1 -1
- package/build/components/molecules/bmrForm/index.styled.d.ts +1 -1
- package/build/components/molecules/thrForm/index.styled.d.ts +1 -1
- package/build/components/ui/cardArticle/element/index.d.ts +7 -0
- package/build/components/ui/cardArticle/index.d.ts +13 -0
- package/build/components/ui/cardAuthor/element/index.d.ts +13 -0
- package/build/components/ui/cardAuthor/index.d.ts +20 -0
- package/build/components/ui/index.d.ts +1 -0
- package/build/components/ui/loading/index.d.ts +7 -0
- package/build/components/ui/thumbnail/index.d.ts +13 -0
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-ee607230.js +1 -0
- package/build/{defaultClassWrapper-cdbf503d.js → defaultClassWrapper-49afc5d3.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{Visible-3a235448.js → Visible-d9ddddf5.js} +1 -1
- package/build/esm/babyGrowth.js +1 -1
- 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-8135a494.js +1 -0
- package/build/esm/defaultClassWrapper-ac38d9b3.js +1 -0
- 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-e6c6d1a5.js → getDynamicHealthTool-a8798df3.js} +1 -1
- package/build/esm/{getSocialList-11093d84.js → getSocialList-60027525.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-145ee421.js +1 -0
- package/build/esm/index-1787661f.js +1 -0
- package/build/esm/index-28434ac8.js +1 -0
- package/build/esm/{index-f2a18427.js → index-2dc53d4e.js} +1 -1
- package/build/esm/index-357b9ded.js +1 -0
- package/build/esm/{index-9d6b9d49.js → index-501d70b1.js} +1 -1
- package/build/esm/index-51a3a3f3.js +1 -0
- package/build/esm/index-57c9e236.js +1 -0
- package/build/esm/{index-9a100bbf.js → index-6841cb48.js} +1 -1
- package/build/esm/{index-1a5defea.js → index-773bc2c9.js} +1 -1
- package/build/esm/{index-44248b96.js → index-78c89362.js} +1 -1
- package/build/esm/index-8716444c.js +1 -0
- package/build/esm/{index-20634c67.js → index-a8d3d5f6.js} +1 -1
- package/build/esm/{index-6e72a8c9.js → index-b2164333.js} +1 -1
- package/build/esm/index-c589ecb4.js +1 -0
- package/build/esm/index-ce3f5cae.js +1 -0
- package/build/esm/{index-d1a4892e.js → index-d15161ae.js} +1 -1
- package/build/esm/{index-bff17ce6.js → index-e76bf1b0.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-9939be70.js → index.styled-0a28a999.js} +1 -1
- package/build/esm/{index.styled-56677c98.js → index.styled-4f1c54fd.js} +1 -1
- package/build/esm/index.styled-7389eb13.js +1 -0
- package/build/esm/index.styled-ce61e313.js +1 -0
- package/build/esm/index.styled-e2792d02.js +1 -0
- package/build/esm/index.styled-f66eaa5d.js +1 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/routing-522ea16b.js +1 -0
- package/build/esm/{screenSizeContext-2002aae8.js → screenSizeContext-ef4c6241.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/translationsContext-a81ff18d.js +1 -0
- package/build/esm/translationsProvider-6576fde4.js +1 -0
- package/build/esm/{tslib.es6-014436e4.js → tslib.es6-dc346d18.js} +1 -1
- package/build/esm/types-8c735b48.js +1 -0
- package/build/esm/types-9c0559e0.js +1 -0
- package/build/esm/types.js +1 -1
- package/build/esm/{useFbDataLayer-5b28035e.js → useFbDataLayer-e8c800ea.js} +1 -1
- package/build/esm/useHealthToolCache-3ee4333a.js +1 -0
- package/build/esm/{useTranslations-36e897bb.js → useTranslations-2e468912.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-6520314f.js → getDynamicHealthTool-c3272212.js} +1 -1
- package/build/{getSocialList-35997868.js → getSocialList-0b65f63e.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-f7d8763d.js → index-0d1b7ce4.js} +1 -1
- package/build/{index-1b590317.js → index-0d44a690.js} +1 -1
- package/build/{index-abc632d3.js → index-273e9e82.js} +1 -1
- package/build/index-2adb23ea.js +1 -0
- package/build/index-56277eec.js +1 -0
- package/build/{index-d662f637.js → index-6a49f1eb.js} +1 -1
- package/build/index-89a51aa6.js +1 -0
- package/build/index-91b91e6a.js +1 -0
- package/build/index-a059c1a6.js +1 -0
- package/build/{index-b926b649.js → index-a305d2e7.js} +1 -1
- package/build/index-a3c34054.js +1 -0
- package/build/index-a74b68cf.js +1 -0
- package/build/index-ab4c5be8.js +1 -0
- package/build/{index-c0b41a37.js → index-abd86575.js} +1 -1
- package/build/{index-60861c08.js → index-bfc5ff6f.js} +1 -1
- package/build/{index-aa6f6cb9.js → index-c7a0846b.js} +1 -1
- package/build/index-e28bafa2.js +1 -0
- package/build/{index-5d58ca9f.js → index-e6802112.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-038530ed.js → index.styled-0089e06b.js} +1 -1
- package/build/index.styled-0608452a.js +1 -0
- package/build/index.styled-226f677f.js +1 -0
- package/build/index.styled-28fb7570.js +1 -0
- package/build/index.styled-2afb48da.js +1 -0
- package/build/{index.styled-b955940b.js → index.styled-e21fb6f2.js} +1 -1
- package/build/interfaces/types/index.d.ts +2 -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 +1 -1
- package/build/{routing-abbbbfca.js → routing-944dccd0.js} +1 -1
- package/build/{screenSizeContext-14e6cee6.js → screenSizeContext-23cd38c3.js} +1 -1
- package/build/together/api/dataTransform.d.ts +2 -1
- package/build/together/api/paths.d.ts +8 -0
- package/build/together/components/atoms/userAvatar/index.d.ts +4 -3
- package/build/together/components/atoms/userAvatar/index.styled.d.ts +3 -1
- package/build/together/components/molecules/cardAuthor/index.d.ts +20 -4
- package/build/together/components/molecules/cardAuthor/index.styled.d.ts +2 -0
- package/build/together/components/molecules/index.d.ts +2 -0
- package/build/together/components/molecules/profileDetail/about/articleCard/index.d.ts +7 -0
- package/build/together/components/molecules/profileDetail/about/index.d.ts +10 -0
- package/build/together/components/molecules/profileDetail/answering/index.d.ts +11 -0
- package/build/together/components/molecules/profileDetail/answering/postCard/index.d.ts +13 -0
- package/build/together/components/molecules/profileDetail/care/index.d.ts +11 -0
- package/build/together/components/molecules/profileDetail/care/questionCard/index.d.ts +15 -0
- package/build/together/components/molecules/profileDetail/emptyMessage/index.d.ts +6 -0
- package/build/together/components/molecules/profileDetail/index.d.ts +50 -0
- package/build/together/components/molecules/profileDetail/utils/dataTransform.d.ts +3 -0
- package/build/together/components/molecules/profileDetail/utils/types.d.ts +32 -0
- package/build/together/components/molecules/profileDetailModal/index.d.ts +9 -0
- package/build/together/interfaces/types.d.ts +12 -0
- package/build/together/togetherComponentGlobalContext.d.ts +1 -1
- package/build/together.js +1 -1
- package/build/translationsContext-8a372abb.js +1 -0
- package/build/translationsProvider-d5a62b34.js +1 -0
- package/build/{types-4e3c9c02.js → types-a40ae40d.js} +1 -1
- package/build/types-f06b017d.js +1 -0
- package/build/types.js +1 -1
- package/build/{useFbDataLayer-fd795e9c.js → useFbDataLayer-e40f5dc6.js} +1 -1
- package/build/{useHealthToolCache-55b225c0.js → useHealthToolCache-13e28396.js} +1 -1
- package/build/useTranslations-04dea617.js +1 -0
- package/package.json +1 -1
- package/build/FullScreen-3d02a2c8.js +0 -1
- package/build/Vietnam-64257e28.js +0 -1
- package/build/core-02d3f2ec.js +0 -1
- package/build/esm/FullScreen-2de7335b.js +0 -1
- package/build/esm/Vietnam-468d1a62.js +0 -1
- package/build/esm/core-5fd6c173.js +0 -1
- package/build/esm/defaultClassWrapper-df96a89a.js +0 -1
- package/build/esm/index-3ae47303.js +0 -1
- package/build/esm/index-506524b6.js +0 -6
- package/build/esm/index-73ee4aa7.js +0 -1
- package/build/esm/index-7d51c543.js +0 -1
- package/build/esm/index-884a964d.js +0 -1
- package/build/esm/index-94ceefaa.js +0 -1
- package/build/esm/index-ad727660.js +0 -1
- package/build/esm/index-dcd39029.js +0 -1
- package/build/esm/index-eee57cc0.js +0 -1
- package/build/esm/index.styled-1f16d53e.js +0 -1
- package/build/esm/routing-6730045a.js +0 -1
- package/build/esm/translationsContext-6b6e3667.js +0 -1
- package/build/esm/translationsProvider-04f3afc2.js +0 -1
- package/build/esm/types-2ff4b8f8.js +0 -1
- package/build/esm/types-3fb94fce.js +0 -1
- package/build/esm/useHealthToolCache-d51171ab.js +0 -1
- package/build/index-3b3bc858.js +0 -1
- package/build/index-46c0fc99.js +0 -1
- package/build/index-67ca0d72.js +0 -1
- package/build/index-8e1b670d.js +0 -1
- package/build/index-b8b4a3fe.js +0 -1
- package/build/index-c618df7d.js +0 -1
- package/build/index-da74eb08.js +0 -1
- package/build/index-fbf9e8ca.js +0 -1
- package/build/index-fd8adcd1.js +0 -1
- package/build/index.styled-5fc5f509.js +0 -1
- package/build/translationsContext-c25fbb9e.js +0 -1
- package/build/translationsProvider-799882c9.js +0 -1
- package/build/types-585cb8b6.js +0 -1
- package/build/useTranslations-36d64ac8.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-07f6b74d.js → BMI_BOYS.percentile.monthly-0688e929.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-6d722896.js → BMI_BOYS.percentile.weekly-e6ac1489.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-7ca6a025.js → BMI_BOYS.percentile.yearly-21e778e6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-512da8f1.js → BMI_BOYS.zscore.monthly-7812c35a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-0ae11946.js → BMI_BOYS.zscore.weekly-eabd685e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-55ddcb96.js → BMI_BOYS.zscore.yearly-6188e135.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-e2307ef3.js → BMI_GIRLS.percentile.monthly-825eecc2.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-e07d5fb9.js → BMI_GIRLS.percentile.weekly-17a7e59c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-feda0a07.js → BMI_GIRLS.percentile.yearly-e5cc6fb7.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-9348ee20.js → BMI_GIRLS.zscore.monthly-77829a65.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-47693b71.js → BMI_GIRLS.zscore.weekly-fdcd8a70.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-4f0233c2.js → BMI_GIRLS.zscore.yearly-78e48777.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-9b77af2f.js → HEAD CIRCUM_BOYS.percentile.monthly-747b36ff.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-e7a66cd0.js → HEAD CIRCUM_BOYS.percentile.weekly-9a31551a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-be2a3b11.js → HEAD CIRCUM_BOYS.percentile.yearly-d85c60b8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-1ac83046.js → HEAD CIRCUM_BOYS.zscore.monthly-8fe1ad13.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-9e6f4a26.js → HEAD CIRCUM_BOYS.zscore.weekly-51fe15aa.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-86567243.js → HEAD CIRCUM_BOYS.zscore.yearly-6b24b451.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-832455a2.js → HEAD CIRCUM_GIRLS.percentile.monthly-586f4fcc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-fc455d42.js → HEAD CIRCUM_GIRLS.percentile.weekly-1f36cf6a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-e56f06fc.js → HEAD CIRCUM_GIRLS.percentile.yearly-cf5aaa52.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-6da98f47.js → HEAD CIRCUM_GIRLS.zscore.monthly-d86cdc5e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e918c2df.js → HEAD CIRCUM_GIRLS.zscore.weekly-937fb357.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d736c887.js → HEAD CIRCUM_GIRLS.zscore.yearly-e59f9381.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-6dfd931a.js → HEIGHT_BOYS.percentile.monthly-fb3a998e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-f7aabc43.js → HEIGHT_BOYS.percentile.weekly-117aa1c3.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c35150e4.js → HEIGHT_BOYS.percentile.yearly-697d94ce.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-4564d5d9.js → HEIGHT_BOYS.zscore.monthly-84487bc9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-9d33568b.js → HEIGHT_BOYS.zscore.weekly-b8926668.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-cbce0a67.js → HEIGHT_BOYS.zscore.yearly-e2669c51.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-3b5687f4.js → HEIGHT_GIRLS.percentile.monthly-1a8703a2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-9592be1e.js → HEIGHT_GIRLS.percentile.weekly-fb666fbd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-1084a6ea.js → HEIGHT_GIRLS.percentile.yearly-22d652c1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-6b774921.js → HEIGHT_GIRLS.zscore.monthly-06dbf54a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-9b7825e8.js → HEIGHT_GIRLS.zscore.weekly-e4b8316b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-6d4395e6.js → HEIGHT_GIRLS.zscore.yearly-985f34b7.js} +0 -0
- /package/build/{Locale-401b8bca.js → Locale-96ebf125.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-1ff882e6.js → WEIGHT_BOYS.percentile.monthly-909babd5.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-a33ca4d5.js → WEIGHT_BOYS.percentile.weekly-504cabf1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-bb8d1b2f.js → WEIGHT_BOYS.percentile.yearly-ffc76180.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-feb4c515.js → WEIGHT_BOYS.zscore.monthly-283ac1e1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-bf6db026.js → WEIGHT_BOYS.zscore.weekly-c0146365.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-14fb83c7.js → WEIGHT_BOYS.zscore.yearly-adc5248c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-ca8dd96b.js → WEIGHT_GIRLS.percentile.monthly-fcbc9553.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-338b30b6.js → WEIGHT_GIRLS.percentile.weekly-dc37995b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-ea16ccef.js → WEIGHT_GIRLS.percentile.yearly-e706e293.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-ee165c53.js → WEIGHT_GIRLS.zscore.monthly-3326e1fa.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-ba7bf6e2.js → WEIGHT_GIRLS.zscore.weekly-9df1a881.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-9ef83991.js → WEIGHT_GIRLS.zscore.yearly-92d97042.js} +0 -0
- /package/build/{constants-5f540ff1.js → constants-d8cc32bc.js} +0 -0
- /package/build/{cookieHelper-1be8a8bf.js → cookieHelper-238a41e9.js} +0 -0
- /package/build/{dataTransform-8430f619.js → dataTransform-78224028.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-8599bd25.js → BMI_BOYS.percentile.monthly-80dd8940.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-b515e83d.js → BMI_BOYS.percentile.weekly-64803fb7.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-cd085b2d.js → BMI_BOYS.percentile.yearly-db65d9d1.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-13de36d6.js → BMI_BOYS.zscore.monthly-871beec6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-d106f37e.js → BMI_BOYS.zscore.weekly-e5c12d78.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-f70c36a0.js → BMI_BOYS.zscore.yearly-c170483d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-d69d4955.js → BMI_GIRLS.percentile.monthly-ef2a1932.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ec2558fc.js → BMI_GIRLS.percentile.weekly-6dfadf60.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-3694e6b0.js → BMI_GIRLS.percentile.yearly-210f56d0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-245c5881.js → BMI_GIRLS.zscore.monthly-11f5a1ba.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-40fc7bff.js → BMI_GIRLS.zscore.weekly-d70aec35.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-c1fe8fb0.js → BMI_GIRLS.zscore.yearly-7371896b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-01a7dce1.js → HEAD CIRCUM_BOYS.percentile.monthly-b7e2171c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-68e39063.js → HEAD CIRCUM_BOYS.percentile.weekly-602f59dc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-fb2f0570.js → HEAD CIRCUM_BOYS.percentile.yearly-78178715.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-7295aded.js → HEAD CIRCUM_BOYS.zscore.monthly-900c1201.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-f2670fae.js → HEAD CIRCUM_BOYS.zscore.weekly-0d4e4d05.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-2c0d7046.js → HEAD CIRCUM_BOYS.zscore.yearly-b4525c2f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-b6f7548e.js → HEAD CIRCUM_GIRLS.percentile.monthly-dcf57681.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-372f9ec7.js → HEAD CIRCUM_GIRLS.percentile.weekly-f2d5d384.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-bbac74f8.js → HEAD CIRCUM_GIRLS.percentile.yearly-90ee56eb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-42a33fd9.js → HEAD CIRCUM_GIRLS.zscore.monthly-7dbcf5ad.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-a06d1f39.js → HEAD CIRCUM_GIRLS.zscore.weekly-1070e57d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-f55b25ff.js → HEAD CIRCUM_GIRLS.zscore.yearly-18b4592b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-451d51e6.js → HEIGHT_BOYS.percentile.monthly-9c6ff7a9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-c3d8b62a.js → HEIGHT_BOYS.percentile.weekly-baacc716.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-96a9badc.js → HEIGHT_BOYS.percentile.yearly-b985d5a5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-5491bce2.js → HEIGHT_BOYS.zscore.monthly-cc98efdc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-7527fe46.js → HEIGHT_BOYS.zscore.weekly-100730a2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a13f04a2.js → HEIGHT_BOYS.zscore.yearly-358ecd80.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-8fbb2f0b.js → HEIGHT_GIRLS.percentile.monthly-1dde8f42.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-cbe0262d.js → HEIGHT_GIRLS.percentile.weekly-66aae769.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-fded3314.js → HEIGHT_GIRLS.percentile.yearly-f3ba1cf5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ef614042.js → HEIGHT_GIRLS.zscore.monthly-88782a25.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-922f50cb.js → HEIGHT_GIRLS.zscore.weekly-48ac5b92.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-29442f8c.js → HEIGHT_GIRLS.zscore.yearly-79efc5c6.js} +0 -0
- /package/build/esm/{Locale-ea9b631a.js → Locale-5a4c3821.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-5599981f.js → WEIGHT_BOYS.percentile.monthly-9a02b682.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-bfdc7980.js → WEIGHT_BOYS.percentile.weekly-701e1a17.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-31b8efb8.js → WEIGHT_BOYS.percentile.yearly-a2f9727b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-58172087.js → WEIGHT_BOYS.zscore.monthly-e3a4c0ec.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-0f6fdd6b.js → WEIGHT_BOYS.zscore.weekly-89c3cad0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-32b7c6b5.js → WEIGHT_BOYS.zscore.yearly-da5a4ec1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-fcd7a4e8.js → WEIGHT_GIRLS.percentile.monthly-b30bef45.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-085d7644.js → WEIGHT_GIRLS.percentile.weekly-31ee695a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-cc2a72ae.js → WEIGHT_GIRLS.percentile.yearly-992ffbf0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-8b6f09fb.js → WEIGHT_GIRLS.zscore.monthly-7cb183e3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-7a0c0bc2.js → WEIGHT_GIRLS.zscore.weekly-9f456aae.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-43e29bde.js → WEIGHT_GIRLS.zscore.yearly-017a1c46.js} +0 -0
- /package/build/esm/{constants-9c02bb80.js → constants-b032bf9f.js} +0 -0
- /package/build/esm/{cookieHelper-907d76c7.js → cookieHelper-fdcf6c96.js} +0 -0
- /package/build/esm/{dataTransform-ef21bfa5.js → dataTransform-44d19186.js} +0 -0
- /package/build/esm/{isProduction-49ae3e67.js → isProduction-9a13d4c0.js} +0 -0
- /package/build/esm/{localizeNumberFormat-93a13ed6.js → localizeNumberFormat-e8c66176.js} +0 -0
- /package/build/esm/{theme-19935790.js → theme-b6ecdc95.js} +0 -0
- /package/build/esm/{types-25793273.js → types-018269bb.js} +0 -0
- /package/build/esm/{useOutsideClick-6b1f1c83.js → useOutsideClick-1541c194.js} +0 -0
- /package/build/esm/{useScrollbarSize-0c62136c.js → useScrollbarSize-a926d4b9.js} +0 -0
- /package/build/esm/{utils-242d1631.js → utils-9f21e5a7.js} +0 -0
- /package/build/{isProduction-185fe511.js → isProduction-9a8633ad.js} +0 -0
- /package/build/{localizeNumberFormat-17523fca.js → localizeNumberFormat-338e00c6.js} +0 -0
- /package/build/{theme-079c8f22.js → theme-ecdc11d3.js} +0 -0
- /package/build/{tslib.es6-d698d363.js → tslib.es6-9e9b380f.js} +0 -0
- /package/build/{types-82a235c4.js → types-b1791adb.js} +0 -0
- /package/build/{useOutsideClick-29f5db63.js → useOutsideClick-5c1677f5.js} +0 -0
- /package/build/{useScrollbarSize-375d2f58.js → useScrollbarSize-b4c77071.js} +0 -0
- /package/build/{utils-f8415e7e.js → utils-7e7833c9.js} +0 -0
package/build/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Locale-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Locale-96ebf125.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}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-9e9b380f.js"),t=require("react"),n=require("./cookieHelper-238a41e9.js");function r(e){var t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((function(e){return Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}))}exports.useFbDataLayer=function(i){var a=t.useRef("");t.useEffect((function(){return e.__awaiter(void 0,void 0,void 0,(function(){var t,o,l,u,c,s,f,d,p,b,g,h,v,m,_;return e.__generator(this,(function(e){switch(e.label){case 0:return a.current?[3,4]:[4,fetch("https://api.ipify.org").then((function(e){return e.text()}))];case 1:return(t=e.sent())?[3,3]:[4,fetch("https://icanhazip.com").then((function(e){return e.text()}))];case 2:t=e.sent(),e.label=3;case 3:a.current=t,e.label=4;case 4:return null===(h=null===(g=window.localStorage)||void 0===g?void 0:g.setItem)||void 0===h||h.call(g,"fbClientIp",JSON.stringify({client_ip_address:(null===(v=a.current)||void 0===v?void 0:v.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),(null==i?void 0:i.id)?[4,Promise.all([i.email?r(i.email):null,i.phone?r(i.phone):null,i.birthday?r(i.birthday.split("-").join("")):null,i.gender?"m":"f",i.city_name?r(i.city_name).then((function(e){return e.replace(/\s/g,"")})):null,i.name?r(i.name):null])]:[3,6];case 5:o=e.sent(),l=o[0],u=o[1],c=o[2],s=o[3],f=o[4],d=o[5],p={fbc:n.getCookie("_fbc")||"",fbp:n.getCookie("_fbp")||""},b={user_id:i.id},d&&(b.fn=d),l&&(p.em=l,b.em=l),u&&(p.ph=u,b.ph=u),c&&(p.db=c,b.db=c),s&&(p.ge=s,b.ge=s),f&&(p.ct=f,b.ct=f),null===(_=null===(m=window.localStorage)||void 0===m?void 0:m.setItem)||void 0===_||_.call(m,"fbDataLayer_userInfo",JSON.stringify(b)),e.label=6;case 6:return[2]}}))})),function(){}}),[i])};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-9e9b380f.js"),t=require("react"),r=require("./getDynamicHealthTool-c3272212.js");exports.useHealthToolsCache=function(a){var i=t.useState([]),n=i[0],o=i[1];t.useEffect((function(){e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,r.getDynamicHealthToolWithCache(a)];case 1:return t=e.sent(),o(t),[2]}}))}))}),[r.getDynamicHealthToolWithCache,a]);var l=t.useCallback((function(e){var t;return(null===(t=n.find((function(t){return t.template===e})))||void 0===t?void 0:t.link)||""}),[n]);return{allTools:n,getHealthToolLink:l}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("react"),t=require("./translationsContext-8a372abb.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(require("string-format"));exports.useTranslations=function(){var a=e.useContext(t.TranslationsContext)||{locale:"en-PH"},r=a.values,o=a.locale;return e.useMemo((function(){return{t:function(e,a){return r?r[e]?a?n.default(r[e]||e,a):r[e]||e:(console.warn("[useTranslations] Missing translation for key ".concat(e," and locale ").concat(o)),a?n.default(t.defaultTranslations[e]||e,a):t.defaultTranslations[e]||e):(console.error("[useTranslations] t method called before translation values are loaded"),e)},locale:o}}),[r,o])};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var n=require("./tslib.es6-d698d363.js"),e=require("styled-components"),r=require("react"),t=require("./utils-f8415e7e.js");function o(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var i,a,d,s=o(e),h=o(r),l=s.default.div(i||(i=n.__makeTemplateObject(["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"],["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"]))),c=s.default.hr(a||(a=n.__makeTemplateObject(["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"],["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"])),(function(n){return n.theme.colors.neutral200}),(function(n){return n.dividerType})),p="xzO2I0N",u=s.default.div(d||(d=n.__makeTemplateObject(["\n display: flex;\n cursor: pointer;\n\n &[data-theme='marryBaby'] {\n input {\n width: 20px;\n height: 20px;\n border: 1.3px solid ",";\n border-radius: 9px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: 600;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ",";\n }\n }\n input {\n width: 20px;\n height: 20px;\n border: solid 1px ",";\n border-radius: 2px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid\n ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n font-weight: ",";\n width: calc(100% - 24px);\n cursor: inherit;\n\n "," {\n font-size: 14px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 22px;\n }\n }\n\n &[data-is-rectangle] > input {\n position: relative;\n width: unset;\n height: unset;\n padding: 5px 12px;\n border: 1px solid ",";\n border-radius: 32px;\n\n &::after {\n color: ",";\n content: attr(data-label-text);\n font-size: 13px;\n }\n &:checked {\n border-color: ",";\n &::after {\n color: ",";\n }\n }\n &:checked {\n background: ",";\n }\n }\n\n &[data-disabled] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n"],["\n display: flex;\n cursor: pointer;\n\n &[data-theme='marryBaby'] {\n input {\n width: 20px;\n height: 20px;\n border: 1.3px solid ",";\n border-radius: 9px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: 600;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ",";\n }\n }\n input {\n width: 20px;\n height: 20px;\n border: solid 1px ",";\n border-radius: 2px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid\n ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n font-weight: ",";\n width: calc(100% - 24px);\n cursor: inherit;\n\n "," {\n font-size: 14px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 22px;\n }\n }\n\n &[data-is-rectangle] > input {\n position: relative;\n width: unset;\n height: unset;\n padding: 5px 12px;\n border: 1px solid ",";\n border-radius: 32px;\n\n &::after {\n color: ",";\n content: attr(data-label-text);\n font-size: 13px;\n }\n &:checked {\n border-color: ",";\n &::after {\n color: ",";\n }\n }\n &:checked {\n background: ",";\n }\n }\n\n &[data-disabled] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n"])),(function(n){return n.theme.mbColors.midGray}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.gray}),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwRegular}),t.MediaQueries.mbDown,t.MediaQueries.mbUp,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300})),g=function(e){var r=e.size,t=e.color,o=e.isExpand,i=n.__rest(e,["size","color","isExpand"]);return o?h.default.createElement("svg",n.__assign({width:r,height:r,viewBox:"0 0 16 16",fill:t,xmlns:"http://www.w3.org/2000/svg"},i),h.default.createElement("path",{d:"M14.6625 0.500362C14.446 0.506813 14.2405 0.597296 14.0895 0.752641L10.7578 4.08435L9.69176 3.01664C9.37926 2.70414 8.84541 2.92491 8.84541 3.36657V6.67875C8.84541 6.95291 9.06687 7.17517 9.3402 7.17517H12.6524C13.094 7.17517 13.3148 6.64131 13.0023 6.32881L11.9362 5.26273L15.2679 1.93103C15.3884 1.81397 15.4706 1.66327 15.5039 1.49867C15.5372 1.33407 15.52 1.16325 15.4545 1.0086C15.3891 0.853944 15.2784 0.72267 15.1371 0.631979C14.9958 0.541288 14.8303 0.495412 14.6625 0.500362Z"}),h.default.createElement("path",{d:"M3.37015 8.84183C2.92848 8.84183 2.70771 9.37569 3.02021 9.68819L4.08792 10.7543L0.756214 14.086C0.676237 14.1628 0.612384 14.2547 0.568397 14.3565C0.524409 14.4583 0.501171 14.5678 0.500043 14.6787C0.498915 14.7895 0.51992 14.8995 0.561828 15.0022C0.603735 15.1048 0.665703 15.1981 0.744102 15.2765C0.822501 15.3549 0.915755 15.4168 1.0184 15.4587C1.12105 15.5007 1.23103 15.5217 1.3419 15.5205C1.45276 15.5194 1.56229 15.4962 1.66406 15.4522C1.76584 15.4082 1.85781 15.3443 1.9346 15.2644L5.26631 11.9327L6.33239 12.9987C6.64489 13.3112 7.17874 13.0905 7.17874 12.6488V9.33663C7.17874 9.06329 6.95649 8.84183 6.68232 8.84183H3.37015Z"})):h.default.createElement("svg",n.__assign({width:r,height:r,viewBox:"0 0 14 14",fill:t,xmlns:"http://www.w3.org/2000/svg"},i),h.default.createElement("path",{d:"M9.64991 0.333008C9.18412 0.333008 8.9513 0.896013 9.28086 1.22558L10.4052 2.35159L2.35171 10.405L1.2257 9.28074C0.896135 8.95118 0.33313 9.184 0.33313 9.64979V13.1428C0.33313 13.432 0.566681 13.6663 0.854939 13.6663H4.34969C4.81547 13.6663 5.04829 13.1033 4.71873 12.7738L3.59444 11.6478L11.6479 3.59432L12.7739 4.71861C13.1035 5.04817 13.6665 4.81535 13.6665 4.34957V0.854817C13.6665 0.566559 13.4321 0.333008 13.1429 0.333008H9.64991Z"}))};g.defaultProps={size:24,color:"inherit",isExpand:!1},exports.FullScreen=g,exports.Heading=function(e){var r,t=e.as,o=e.tag,i=e.className,a=e.children,d=e.title,s=e.color,l=e.style,c=e.fontWeight,u=e.dataEventCategory,g=e.dataEventAction,x=e.dataEventLabel,b=n.__rest(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]),w=t||o;return h.default.createElement(w,n.__assign({title:d,style:n.__assign(n.__assign({},s?(r={},r["--custom-heading-color"]=s,r):void 0),l),"data-tag":o,"data-font-weight":c||void 0,"data-event-category":u,"data-event-action":g,"data-event-label":x,className:"".concat(p," ").concat(i||"")},b),a)},exports.StyledAvatar=l,exports.StyledCheckbox=u,exports.StyledDivider=c;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-d698d363.js");function t(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(l){if("default"!==l){var a=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(t,l,a.get?a:{enumerable:!0,get:function(){return e[l]}})}})),t.default=e,Object.freeze(t)}var l=t(require("react"));exports.Cambodia=function(t){return l.createElement("svg",e.__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"},t),l.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),l.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),l.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},l.createElement("g",{strokeLinejoin:"bevel"},l.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),l.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),l.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),l.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"}),l.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"})),l.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"}),l.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),l.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"}),l.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"}),l.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"}),l.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),l.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"}),l.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"}),l.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"}),l.createElement("g",{fill:"none",strokeWidth:.8},l.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),l.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.createElement("g",{id:"a"},l.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),l.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"}),l.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"}),l.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"}),l.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"}),l.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"})),l.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),l.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),l.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),l.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),l.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),l.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),l.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),l.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"})))},exports.CaretDown=function(t){return l.createElement("svg",e.__assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},t),l.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"}))},exports.India=function(t){return l.createElement("svg",e.__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"},t),l.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),l.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),l.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),l.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},l.createElement("circle",{r:20,fill:"#008"}),l.createElement("circle",{r:17.5,fill:"#fff"}),l.createElement("circle",{r:3.5,fill:"#008"}),l.createElement("g",{id:"d"},l.createElement("g",{id:"c"},l.createElement("g",{id:"b"},l.createElement("g",{id:"a",fill:"#008"},l.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),l.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),l.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),l.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),l.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),l.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),l.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"})))},exports.Indonesia=function(t){return l.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),l.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},l.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),l.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"})))},exports.Malaysia=function(t){return l.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),l.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),l.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),l.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),l.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"}),l.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"}))},exports.Myanmar=function(t){return l.createElement("svg",e.__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"},t),l.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),l.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),l.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),l.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},l.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),l.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),l.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),l.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),l.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"})))},exports.Phillipines=function(t){return l.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),l.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),l.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),l.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),l.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"}))},exports.Taiwan=function(t){return l.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),l.createElement("clipPath",{id:"a"},l.createElement("path",{d:"M0 0h640v480H0z"})),l.createElement("g",{clipPath:"url(#a)"},l.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),l.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),l.createElement("g",{fill:"#fff"},l.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"}),l.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.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"}),l.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),l.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"}),l.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),l.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),l.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),l.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"})))},exports.Thailand=function(t){return l.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),l.createElement("g",{fillRule:"evenodd"},l.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),l.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),l.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"})))},exports.Vietnam=function(t){return l.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),l.createElement("defs",null,l.createElement("clipPath",{id:"a"},l.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),l.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},l.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),l.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"})))};
|
package/build/core-02d3f2ec.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-d698d363.js"),e=require("./isProduction-185fe511.js"),r={},a=function(t){if("undefined"!=typeof window){var a=void 0;try{a=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return a||{}}return r[t]},i=function(t,a){try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):r[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=function(e,r,n,o){return void 0===o&&(o=9e5),t.__awaiter(void 0,void 0,void 0,(function(){var c,s;return t.__generator(this,(function(t){switch(t.label){case 0:return(c=a(e))&&c.data&&c.time&&Date.now()-c.time<o?[2,c.data]:[3,1];case 1:return r?[4,r()]:[3,3];case 2:return s=t.sent(),n&&!n(s)||i(e,s),[2,s];case 3:return[2,null]}}))}))},exports.setCachedItem=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as n,c as e,_ as r}from"./tslib.es6-014436e4.js";import t from"styled-components";import o from"react";import{M as i}from"./utils-242d1631.js";var a,d,s,h=t.div(a||(a=n(["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"],["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"]))),l=t.hr(d||(d=n(["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"],["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"])),(function(n){return n.theme.colors.neutral200}),(function(n){return n.dividerType})),c="xzO2I0N",p=function(n){var t,i=n.as,a=n.tag,d=n.className,s=n.children,h=n.title,l=n.color,p=n.style,u=n.fontWeight,g=n.dataEventCategory,x=n.dataEventAction,b=n.dataEventLabel,w=e(n,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]),m=i||a;return o.createElement(m,r({title:h,style:r(r({},l?(t={},t["--custom-heading-color"]=l,t):void 0),p),"data-tag":a,"data-font-weight":u||void 0,"data-event-category":g,"data-event-action":x,"data-event-label":b,className:"".concat(c," ").concat(d||"")},w),s)},u=t.div(s||(s=n(["\n display: flex;\n cursor: pointer;\n\n &[data-theme='marryBaby'] {\n input {\n width: 20px;\n height: 20px;\n border: 1.3px solid ",";\n border-radius: 9px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: 600;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ",";\n }\n }\n input {\n width: 20px;\n height: 20px;\n border: solid 1px ",";\n border-radius: 2px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid\n ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n font-weight: ",";\n width: calc(100% - 24px);\n cursor: inherit;\n\n "," {\n font-size: 14px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 22px;\n }\n }\n\n &[data-is-rectangle] > input {\n position: relative;\n width: unset;\n height: unset;\n padding: 5px 12px;\n border: 1px solid ",";\n border-radius: 32px;\n\n &::after {\n color: ",";\n content: attr(data-label-text);\n font-size: 13px;\n }\n &:checked {\n border-color: ",";\n &::after {\n color: ",";\n }\n }\n &:checked {\n background: ",";\n }\n }\n\n &[data-disabled] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n"],["\n display: flex;\n cursor: pointer;\n\n &[data-theme='marryBaby'] {\n input {\n width: 20px;\n height: 20px;\n border: 1.3px solid ",";\n border-radius: 9px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: 600;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ",";\n }\n }\n input {\n width: 20px;\n height: 20px;\n border: solid 1px ",";\n border-radius: 2px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid\n ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n font-weight: ",";\n width: calc(100% - 24px);\n cursor: inherit;\n\n "," {\n font-size: 14px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 22px;\n }\n }\n\n &[data-is-rectangle] > input {\n position: relative;\n width: unset;\n height: unset;\n padding: 5px 12px;\n border: 1px solid ",";\n border-radius: 32px;\n\n &::after {\n color: ",";\n content: attr(data-label-text);\n font-size: 13px;\n }\n &:checked {\n border-color: ",";\n &::after {\n color: ",";\n }\n }\n &:checked {\n background: ",";\n }\n }\n\n &[data-disabled] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n"])),(function(n){return n.theme.mbColors.midGray}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.gray}),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwRegular}),i.mbDown,i.mbUp,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300})),g=function(n){var t=n.size,i=n.color,a=n.isExpand,d=e(n,["size","color","isExpand"]);return a?o.createElement("svg",r({width:t,height:t,viewBox:"0 0 16 16",fill:i,xmlns:"http://www.w3.org/2000/svg"},d),o.createElement("path",{d:"M14.6625 0.500362C14.446 0.506813 14.2405 0.597296 14.0895 0.752641L10.7578 4.08435L9.69176 3.01664C9.37926 2.70414 8.84541 2.92491 8.84541 3.36657V6.67875C8.84541 6.95291 9.06687 7.17517 9.3402 7.17517H12.6524C13.094 7.17517 13.3148 6.64131 13.0023 6.32881L11.9362 5.26273L15.2679 1.93103C15.3884 1.81397 15.4706 1.66327 15.5039 1.49867C15.5372 1.33407 15.52 1.16325 15.4545 1.0086C15.3891 0.853944 15.2784 0.72267 15.1371 0.631979C14.9958 0.541288 14.8303 0.495412 14.6625 0.500362Z"}),o.createElement("path",{d:"M3.37015 8.84183C2.92848 8.84183 2.70771 9.37569 3.02021 9.68819L4.08792 10.7543L0.756214 14.086C0.676237 14.1628 0.612384 14.2547 0.568397 14.3565C0.524409 14.4583 0.501171 14.5678 0.500043 14.6787C0.498915 14.7895 0.51992 14.8995 0.561828 15.0022C0.603735 15.1048 0.665703 15.1981 0.744102 15.2765C0.822501 15.3549 0.915755 15.4168 1.0184 15.4587C1.12105 15.5007 1.23103 15.5217 1.3419 15.5205C1.45276 15.5194 1.56229 15.4962 1.66406 15.4522C1.76584 15.4082 1.85781 15.3443 1.9346 15.2644L5.26631 11.9327L6.33239 12.9987C6.64489 13.3112 7.17874 13.0905 7.17874 12.6488V9.33663C7.17874 9.06329 6.95649 8.84183 6.68232 8.84183H3.37015Z"})):o.createElement("svg",r({width:t,height:t,viewBox:"0 0 14 14",fill:i,xmlns:"http://www.w3.org/2000/svg"},d),o.createElement("path",{d:"M9.64991 0.333008C9.18412 0.333008 8.9513 0.896013 9.28086 1.22558L10.4052 2.35159L2.35171 10.405L1.2257 9.28074C0.896135 8.95118 0.33313 9.184 0.33313 9.64979V13.1428C0.33313 13.432 0.566681 13.6663 0.854939 13.6663H4.34969C4.81547 13.6663 5.04829 13.1033 4.71873 12.7738L3.59444 11.6478L11.6479 3.59432L12.7739 4.71861C13.1035 5.04817 13.6665 4.81535 13.6665 4.34957V0.854817C13.6665 0.566559 13.4321 0.333008 13.1429 0.333008H9.64991Z"}))};g.defaultProps={size:24,color:"inherit",isExpand:!1};export{g as F,p as H,h as S,l as a,u as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-014436e4.js";import*as t from"react";var l=function(l){return t.createElement("svg",e({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},l),t.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"}))},a=function(l){return t.createElement("svg",e({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"},l),t.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),t.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),t.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},t.createElement("g",{strokeLinejoin:"bevel"},t.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),t.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),t.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),t.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"}),t.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"})),t.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"}),t.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),t.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"}),t.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"}),t.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"}),t.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),t.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"}),t.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"}),t.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"}),t.createElement("g",{fill:"none",strokeWidth:.8},t.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),t.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.createElement("g",{id:"a"},t.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),t.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"}),t.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"}),t.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"}),t.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"}),t.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"})),t.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),t.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),t.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),t.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),t.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),t.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),t.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),t.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"})))},h=function(l){return t.createElement("svg",e({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"},l),t.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),t.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),t.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),t.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},t.createElement("circle",{r:20,fill:"#008"}),t.createElement("circle",{r:17.5,fill:"#fff"}),t.createElement("circle",{r:3.5,fill:"#008"}),t.createElement("g",{id:"d"},t.createElement("g",{id:"c"},t.createElement("g",{id:"b"},t.createElement("g",{id:"a",fill:"#008"},t.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),t.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),t.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),t.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),t.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),t.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),t.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"})))},m=function(l){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},l),t.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},t.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),t.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"})))},r=function(l){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},l),t.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),t.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),t.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),t.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"}),t.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"}))},c=function(l){return t.createElement("svg",e({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"},l),t.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),t.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),t.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),t.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},t.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),t.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),t.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),t.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),t.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"})))},n=function(l){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},l),t.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),t.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),t.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),t.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"}))},i=function(l){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},l),t.createElement("clipPath",{id:"a"},t.createElement("path",{d:"M0 0h640v480H0z"})),t.createElement("g",{clipPath:"url(#a)"},t.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),t.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),t.createElement("g",{fill:"#fff"},t.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"}),t.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),t.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"}),t.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),t.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),t.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),t.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"})))},v=function(l){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},l),t.createElement("g",{fillRule:"evenodd"},t.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),t.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),t.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"})))},z=function(l){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},l),t.createElement("defs",null,t.createElement("clipPath",{id:"a"},t.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),t.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},t.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),t.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"})))};export{l as C,h as I,r as M,n as P,i as T,z as V,a,m as b,c,v as d};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as t,e}from"./tslib.es6-014436e4.js";import{i as a}from"./isProduction-49ae3e67.js";var n={},i=function(t){if("undefined"!=typeof window){var e=void 0;try{e=JSON.parse(localStorage.getItem((a?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return e||{}}return n[t]},r=function(t,e){try{"undefined"!=typeof window?localStorage.setItem((a?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:e,time:Date.now()})):n[t]={data:e,time:Date.now()}}catch(t){}},o=function(a,n,o,s){return void 0===s&&(s=9e5),t(void 0,void 0,void 0,(function(){var t,c;return e(this,(function(e){switch(e.label){case 0:return(t=i(a))&&t.data&&t.time&&Date.now()-t.time<s?[2,t.data]:[3,1];case 1:return n?[4,n()]:[3,3];case 2:return c=e.sent(),o&&!o(c)||r(a,c),[2,c];case 3:return[2,null]}}))}))};export{i as a,o as g,r as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as a,_ as e}from"./tslib.es6-014436e4.js";import r,{forwardRef as t}from"react";var c=function(c,s){return t((function(t,n){var o=t.className,m=a(t,["className"]);return r.createElement(c,e({ref:n,className:"".concat(s," ").concat(o||"")},m))}))};export{c as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e,b as t,d as i,e as o}from"./tslib.es6-014436e4.js";import n,{useState as r,useEffect as a,createContext as l,useContext as s}from"react";import{S as u}from"./FullScreen-2de7335b.js";import{M as d}from"./utils-242d1631.js";import c from"styled-components";import{g as m}from"./cookieHelper-907d76c7.js";import p from"slugify";import _ from"string-format";var v,g,h={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},E=function(t){var i=t.type,o=void 0===i?"square":i,l=t.size,s=t.avatarImg,d=t.avatarUrl,c=t.firstLetter,m=t.backgroundColor,p=t.onClick,_=t.style,v=t.className,g=t.width,E=t.height,T=l?h[l]:void 0,f=r(!1),b=f[0],y=f[1];a((function(){if(d){var e=document.createElement("img");e.setAttribute("src",d),e.addEventListener("error",(function(){y(!0)}))}}),[d,y]);var A=(!d&&!s||b)&&c;return n.createElement(u,{style:e(e({},_),{"--size":T?T+"px":void 0,"--width-prop":g?g+"px":void 0,"--height-prop":E?E+"px":void 0,"--background-color":m}),"data-has-max":!(!g||!E),"data-avatar-type":o,onClick:p,className:v,avatarUrl:d,"data-custom-size":!!l},s,d&&!b&&n.createElement("img",{src:d}),A&&c)},T=c.div(v||(v=t(["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 400;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 400;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200}),d.mbDown,d.mbDown,d.mbUp),f=c.div(g||(g=t(["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"]))),b=function(e){var t=e.type,i=void 0===t?"lead":t,o=e.closeIcon,r=e.isOpen,a=void 0===r||r,l=e.onClose,s=e.children,u=e.className,d=void 0===u?"":u,c=e.enableAnimation,m=void 0===c||c;return n.createElement(n.Fragment,null,n.createElement(T,{"data-open":a,"data-type":i,"data-animation":m},n.createElement("div",{className:"".concat(d||""," popup-content")},!!o&&n.createElement("div",{className:"close-button",onClick:l},o),s)),n.createElement(f,{"data-open":a,onClick:l}))},y="DD/MM/YYYY",A="/images/avatar.jpg",w="/images/default-image.jpg",O={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},I={"id-ID":{"kalkulator-bmi":O.BMI,"kebutuhan-kalori":O.BMR,"kalkulator-hari-perkiraan-lahir":O.DUE_DATE,"kalkulator-masa-subur-2":O.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":O.PWG,"kalkulator-detak-jantung-saat-olahraga":O.THR},"ms-MY":{"kalkulator-bmi":O.BMI,"kalkulator-bmr":O.BMR,"kalkulator-tarikh-bersalin":O.DUE_DATE,"kalkulator-kesuburan":O.OVULATION,"kalkulator-tambah-berat-badan-hamil":O.PWG,"target-heart-rate-calculator":O.THR},"vi-VN":{"cach-tinh-chi-so-bmi":O.BMI,"tinh-chi-so-bmr":O.BMR,"cong-cu-tinh-ngay-du-sinh":O.DUE_DATE,"tinh-ngay-rung-trung":O.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":O.PWG,"cong-cu-do-nhip-tim":O.THR},"zh-TW":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"en-PH":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":O.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":O.BMR,"เครื่องมือคำนวณกำหนดคลอด":O.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":O.OVULATION,"เครื่องคำนวณน้ำหนักตัว":O.PWG,"เครื่องวัดอัตราการเต้น":O.THR},"hi-IN":{"bmi-calculator-en":O.BMI,"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"delivery-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"km-KH":{"គណនា-bmi":O.BMI,"គណនា-bmr":O.BMR,"គណនាថ្ងៃសម្រាលកូន":O.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":O.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":O.PWG,"គណនារកចង្វាក់បេះដូងល្អ":O.THR},"my-MM":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calendar":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnaancy-weight-calculator":O.PWG,"target-heartrate":O.THR,"pregnancy-weight-calculator":O.PWG,"target-heart-rate":O.THR}},L="hhg_user_token",S="together_admin_token",R={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},k={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},P=20,C={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},D=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:y,DEFAULT_AVATAR_IMG:A,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:w,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:O,LOCALE_HEALTH_TOOLS:I,BEARER_TOKEN_COOKIE:L,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:S,Z_INDEX:R,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:k,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:C}),x=function(e){return e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||""}:{}},N=function(e){return e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{}},G=function(t){var i,o,n,r;return t?{id:t.ID,postName:t.post_name,sponsor:t.sponsor?U(t.sponsor):null,isSponsored:t.is_sponsored||null,postTitle:t.post_title||"",postModified:t.post_modified||"",postDate:t.post_date||"",modifiedTime:t.modified_time||"",permalink:t.permalink||"",featureImage:t.image||null,featureImageMobile:t.image_medium||null,featureImageMobileXs:t.image_thumbnail||null,author:x(t.author),reviewer:t.reviewed_by&&x(t.reviewed_by)||null,articleReviewed:(null==t?void 0:t.reviewed)?e(e({},null==t?void 0:t.reviewed),{author:M(null===(i=null==t?void 0:t.reviewed)||void 0===i?void 0:i.author),editor:M(null===(o=null==t?void 0:t.reviewed)||void 0===o?void 0:o.editor),expert:M(null===(n=null==t?void 0:t.reviewed)||void 0===n?void 0:n.expert),fact_check:M(null===(r=null==t?void 0:t.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:H(t.category),postContent:t.post_content||null,sections:t.sections||null,categories:(t.categories||[]).map(H),sources:t.sources||null,description:t.description||null,excerpt:t.excerpt||null,expert:N(t.expert),metaTag:t.meta_tag||null}:{}},M=function(t){return void 0!==t&&t?e(e({},t),{profile_url:(null==t?void 0:t.slug)?["expert","medical"].includes((null==t?void 0:t.role)||"")?"/expert/".concat(null==t?void 0:t.slug):"/author/".concat(null==t?void 0:t.slug):t.profile_url}):null},U=function(e){return e?{title:e.title,logo:e.logo,link:e.link}:{}},B=function(e){return{postTitle:e.post_title,permalink:e.permalink}},H=function(e){var t,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?U(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((function(e){return H(e)})))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(i=e.cat_parent)||void 0===i?void 0:i.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?B(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return F(e)})):null}:{}},F=function(e){return{title:e.title,content:e.content}},V=function(e){return e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{}},K=function(e){return e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},Y=function(e){var t,i,o,n;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(i=e.community)||void 0===i?void 0:i.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.slug,communityName:null===(n=e.community)||void 0===n?void 0:n.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},j=function(e){var t,i,o,n,r,a,l,s,u,d,c,m,p,_,v,g,h,E,T,f,b;return e?{id:e.id,topics:(null===(t=e.topics)||void 0===t?void 0:t.map((function(t){var i,o,n,r;return{id:t.id||0,name:t.name||"",slug:t.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+t.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",communityName:(null===(r=e.community)||void 0===r?void 0:r.name)||"",isHidden:Boolean(t.is_hidden),isActive:!0}})))||[],community:{id:(null===(i=e.community)||void 0===i?void 0:i.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.name)||"",slug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",isActive:!0,isHidden:Boolean(null===(r=e.community)||void 0===r?void 0:r.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(l=e.user)||void 0===l?void 0:l.user_name)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(d=e.user)||void 0===d?void 0:d.avatar)||"",role:(null===(c=e.user)||void 0===c?void 0:c.role)?null===(p=null===(m=e.user)||void 0===m?void 0:m.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(_=e.user)||void 0===_?void 0:_.type)||"",partnerId:(null===(v=e.user)||void 0===v?void 0:v.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(h=e.user)||void 0===h?void 0:h.title)||"",doctorId:(null===(E=e.user)||void 0===E?void 0:E.doctor_id)?String(null===(T=e.user)||void 0===T?void 0:T.doctor_id):"",hospitalId:(null===(f=e.user)||void 0===f?void 0:f.hospital_id)?String(null===(b=e.user)||void 0===b?void 0:b.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0}:{}},W=function(e){return e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{}},z=function(e){var t,i,o,n,r,a,l,s,u,d,c,m,p,_,v,g,h,E,T,f,b,y,A,w,O,I,L,S,R,k,P,C;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(z):[],author:{id:(null===(t=e.user)||void 0===t?void 0:t.id)||0,username:(null===(i=e.user)||void 0===i?void 0:i.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(n=e.user)||void 0===n?void 0:n.role)?null===(a=null===(r=e.user)||void 0===r?void 0:r.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(l=e.user)||void 0===l?void 0:l.avatar)||"",type:(null===(s=e.user)||void 0===s?void 0:s.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(d=e.user)||void 0===d?void 0:d.partner_id)?String(null===(c=e.user)||void 0===c?void 0:c.partner_id):"",title:(null===(m=e.user)||void 0===m?void 0:m.title)||"",doctorId:(null===(p=e.user)||void 0===p?void 0:p.doctor_id)?String(null===(_=e.user)||void 0===_?void 0:_.doctor_id):"",hospitalId:(null===(v=e.user)||void 0===v?void 0:v.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(h=e.mentioned)||void 0===h?void 0:h.id)||0,username:(null===(E=e.mentioned)||void 0===E?void 0:E.user_name)||"",name:(null===(T=e.mentioned)||void 0===T?void 0:T.name)||"",role:(null===(f=e.mentioned)||void 0===f?void 0:f.role)?null===(y=null===(b=e.mentioned)||void 0===b?void 0:b.role)||void 0===y?void 0:y.toLowerCase():"",avatar:(null===(A=e.mentioned)||void 0===A?void 0:A.avatar)||"",type:(null===(w=e.mentioned)||void 0===w?void 0:w.type)||"",email:(null===(O=e.mentioned)||void 0===O?void 0:O.email)||"",partnerId:(null===(I=e.mentioned)||void 0===I?void 0:I.partner_id)?String(null===(L=e.mentioned)||void 0===L?void 0:L.partner_id):"",doctorId:(null===(S=e.mentioned)||void 0===S?void 0:S.doctor_id)?String(null===(R=e.mentioned)||void 0===R?void 0:R.doctor_id):"",hospitalId:(null===(k=e.mentioned)||void 0===k?void 0:k.hospital_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.hospital_id):"",title:(null===(C=e.mentioned)||void 0===C?void 0:C.title)||""}:null,mentions:e.mentions||[]}:{}},X=function(e){return void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?"/expert/".concat(null==e?void 0:e.slug):"/author/".concat(null==e?void 0:e.slug):(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":""},q=Object.freeze({__proto__:null,formatAuthor:x,formatArticleExpert:N,formatArticle:G,formatUserProfile:M,formatBMIResult:function(e){var t,i,o,n,r,a,l,s,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(t=null==e?void 0:e.comparison)&&void 0!==t?t:"",assessmentData:[{tab:"tools.condition",content:null!==(i=null==e?void 0:e.condition)&&void 0!==i?i:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{tab:"tools.suggestion",content:null!==(n=null==e?void 0:e.suggestion)&&void 0!==n?n:""}],chartData:(null===(r=null==e?void 0:e.chart_data)||void 0===r?void 0:r.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(l=null==e?void 0:e.illustrator)&&void 0!==l?l:"",faqs:null!==(s=null==e?void 0:e.faqs)&&void 0!==s?s:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:U,formatReviewedCategory:B,formatCategory:H,formatCategoryApi:function(e){return e?{categoryInfo:H(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(G),subCategories:(e.data.sub_categories||[]).map(H)}:{}},formatFaqsCategory:F,formatHealthTool:V,formatHealthToolTypeCategory:function(e){var t,i;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(i=null===(t=null==e?void 0:e.health_tools)||void 0===t?void 0:t.map((function(e){return V(e)})))&&void 0!==i?i:[]}:{}},formatCommunity:K,formatTopic:Y,formatPost:j,formatPostPagination:function(e){return e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{}},formatNotification:function(e){var t,i,o;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(t=e.from_user)||void 0===t?void 0:t.name,id:null===(i=e.from_user)||void 0===i?void 0:i.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:function(e){return e?e.map((function(e){return{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}})):[]},formatOvulationInfo:W,formatSuggestedArticle:function(e){return e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{}},formatTopicHealthTool:function(e){return e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{}},formatComment:z,formatReportedPostToPostDetail:function(e){return e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{}},formatTopicSubot:function(e){return e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{}},formatSiteWideBanner:function(e,t){return void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:t||"other"}:null},formatPWGContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?M(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatUserProfileUrl:X,formatTHRContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?M(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatBabyGrowthContent:function(e){var t,i,o;return e&&e.information?{information:null!==(t=e.information.map((function(e){return{title:e.title,description:e.description}})))&&void 0!==t?t:[],reviewBy:{reviewer:(null===(i=e.reviewed_by)||void 0===i?void 0:i.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:X(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}}),$=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ee,n=0;for(;n<e.length;){var r=e.indexOf("=",n);if(-1===r)break;var a=e.indexOf(";",n);if(-1===a)a=e.length;else if(a<r){n=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(n,r).trim();if(void 0===i[l]){var s=e.slice(r+1,a).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[l]=ie(s,o)}n=a+1}return i},Z=function(e,t,i){var o=i||{},n=o.encode||te;if("function"!=typeof n)throw new TypeError("option encode is invalid");if(!Q.test(e))throw new TypeError("argument name is invalid");var r=n(t);if(r&&!Q.test(r))throw new TypeError("argument val is invalid");var a=e+"="+r;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(l)}if(o.domain){if(!Q.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!Q.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===J.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");a+="; Expires="+s.toUTCString()}o.httpOnly&&(a+="; HttpOnly");o.secure&&(a+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},J=Object.prototype.toString,Q=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ee(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function te(e){return encodeURIComponent(e)}function ie(e,t){try{return t(e)}catch(t){return e}}var oe={parse:$,serialize:Z},ne={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info"},re={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},ae={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},le={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},se={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},ue=l({data:se,action:{pushNotifications:function(e){return e},sanitizeFunction:function(e){return e}}}),de=se,ce=function(e){var t=e.locale,i=void 0===t?"vi-VN":t,o=e.children,l=e.userInfo,s=e.router,u=e.env,d=void 0===u?{isMarryBaby:!1,togetherBasePath:"/community"}:u,c=e.sanitizeFunction,m=void 0===c?function(e){return e}:c,p=e.pushNotifications,_=void 0===p?function(){return!1}:p,v=r(),g=v[0],h=v[1];return de={userInfo:l,locale:i,togetherUserId:g,router:s,env:d},a((function(){(null==l?void 0:l.id)&&we(Ee(ne.PROFILE,{_locale:i}),"GET").then((function(e){var t;h(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==l?void 0:l.id]),n.createElement(ue.Provider,{value:{data:{userInfo:l,locale:i,togetherUserId:g,router:s,env:d},action:{pushNotifications:_,sanitizeFunction:m}}},o)},me={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},pe={"vi-VN":"marrybaby.vn"},_e=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",ve=function(e){var t=de.env.isMarryBaby;return"https://".concat(t?pe[e]:me[e])},ge=function(e){var t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},he=function(e){var t=de.env.isMarryBaby;if("undefined"!=typeof window)return window.location.origin;var i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":"https://".concat(i?t?"fe.":"discover.":t?"www.":"").concat(me[e])},Ee=function(t,i,o){var n="";o&&(n=Object.keys(o).map((function(e){return e+"="+o[e]})).join("&"));var r=((null==de?void 0:de.env)||{}).togetherBaseApiUrl,a=void 0===r?"":r,l=_(t,e(e({},(null==i?void 0:i._locale)?{website_url:ve(String(i._locale))}:{}),i));return l+="".concat(l.includes("?")?"&":"?").concat(n),a+"api/v1/"+ge(l)},Te=function(t,i){var o=((null==de?void 0:de.env)||{}).discoverBaseApiUrl;return(void 0===o?"":o)+"wp-json/api/"+ge(_(t,e({},i)))},fe=function(t,i){var o=((null==de?void 0:de.env)||{}).careBaseApiUrl;return((void 0===o?"":o)||"https://service-health-care.hellohealthgroup.com/")+ge(_(t,e({},i)))},be=function(e){return(null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e},ye=function(t,n,r,a){return void 0===a&&(a=!1),i(void 0,void 0,void 0,(function(){var i,l,s,u,d;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,fetch(a?t:(c=t,encodeURI(c).replace(/%5B/g,"[").replace(/%5D/g,"]")),e(e({method:n},be(r)),{headers:e({},null==r?void 0:r.headers)})).then((function(e){return e.json()}))];case 1:return(i=o.sent())?[2,i]:[3,3];case 2:return l=o.sent(),console.log(l),console.log({url:t,status:null===(s=null==l?void 0:l.response)||void 0===s?void 0:s.status,statusText:null===(u=null==l?void 0:l.response)||void 0===u?void 0:u.statusText}),[2,(null===(d=null==l?void 0:l.response)||void 0===d?void 0:d.data)||null];case 3:return[2,null]}var c}))}))},Ae=function(t,n,r,a){return void 0===n&&(n="GET"),i(void 0,void 0,void 0,(function(){var i,l,s,u,d,c,p,_,v,g,h,E,T,f;return o(this,(function(o){switch(o.label){case 0:if(o.trys.push([0,7,,8]),i="string"==typeof t?t:t.url,l="string"==typeof t?t:t.backupUrl,s=oe.parse(a||""),u=s[L],!(d=u||m(L))||!d.length)return[3,5];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,fetch(i,e(e({method:n},be(r)),{headers:e({Authorization:"Bearer "+d},null==r?void 0:r.headers)})).then((function(e){return e.json()}))];case 2:return c=o.sent(),(null===(v=null==c?void 0:c.messages)||void 0===v?void 0:v.find((function(e){return"Unauthenticated"===(null==e?void 0:e.toLowerCase())})))?[2,ye(l||i,n,r)]:c?[2,c]:[3,4];case 3:return p=o.sent(),console.log({status:null===(g=null==p?void 0:p.response)||void 0===g?void 0:g.status,statusText:null===(h=null==p?void 0:p.response)||void 0===h?void 0:h.statusText}),[2,ye(l||i,n,r)];case 4:return[3,6];case 5:return[2,ye(l||i,n,r)];case 6:return[3,8];case 7:return _=o.sent(),console.log({status:null===(E=null==_?void 0:_.response)||void 0===E?void 0:E.status,statusText:null===(T=null==_?void 0:_.response)||void 0===T?void 0:T.statusText}),[2,(null===(f=null==_?void 0:_.response)||void 0===f?void 0:f.data)||null];case 8:return[2,null]}}))}))},we=function(t,n,r,a){return i(void 0,void 0,void 0,(function(){var i,l,s,u;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),i=oe.parse(a||""),l=i[L],(s=l||m(L))&&s.length?[4,fetch(t,e(e({method:n},be(r)),{headers:e({Authorization:"Bearer "+s},null==r?void 0:r.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=o.sent())return[2,u];o.label=2;case 2:return[3,4];case 3:return o.sent(),[2,null];case 4:return[2,null]}}))}))},Oe=function(t,n,r,a){return i(void 0,void 0,void 0,(function(){var i,l,s,u;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),i=oe.parse(a||""),l=i[S],(s=l||m(S))&&s.length?[4,fetch(t,e(e({method:n},be(r)),{headers:e({Authorization:"Bearer "+s},null==r?void 0:r.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=o.sent())return[2,u];o.label=2;case 2:return[3,4];case 3:return o.sent(),[2,null];case 4:return[2,null]}}))}))};function Ie(e,t,i){var o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),n=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+n+t+"="+i}var Le,Se=function(e,t,i){void 0===i&&(i="/community");var o=e||("undefined"!=typeof window?window.location.href:"/"),n="undefined"!=typeof window?window.location.origin:"";return n||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(n=e.split("/").slice(0,3).join("/")),function(e,t){var i=de.env.publicSSO,o=e||window.location.href;return t&&Object.keys(t).map((function(e){Ie(o,e,t[e])})),Ie(o,"source","communities"),i?"".concat(i,"?returnUrl=").concat(encodeURIComponent(o.toString())):o}("".concat(n).concat(i,"/on-boarding?return=").concat(encodeURIComponent(o)),t)},Re=function(e,t,i,o){return i&&t?"".concat(i,"-").concat(t):"".concat(p(e||"",{lower:!0,locale:o||_e}),"-").concat(t)},ke=function(e){var t,i=e.name,o=e.id,n=e.locale;return"/care/".concat(null===(t=C[n||"vi-VN"])||void 0===t?void 0:t.DOCTOR,"/").concat(Re(i,o))},Pe=function(e){var t,i=e.name,o=e.id,n=e.slug,r=e.locale;return"/care/".concat(null===(t=C[r||"vi-VN"])||void 0===t?void 0:t.HOSPITAL,"/").concat(Re(i,o,n))},Ce=c.div(Le||(Le=t(["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"],["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.mbColors.pink})),De=function(e){var t=e.className,i=e.isMarryBaby,o=e.style,l=e.avatar,u=e.username,d=s(ue).data.env.isMarryBaby,c="boolean"==typeof i?i:d,m=r(!1),p=m[0],_=m[1];return a((function(){var e=new Image;e.onerror=function(){_(!0)},e.src=l}),[]),n.createElement(Ce,{"data-is-marrybaby":c,className:t,style:o},l&&!p?n.createElement("img",{loading:"lazy",src:l,className:"avatar",alt:"avatar",onError:function(){_(!0)}}):n.createElement("div",{className:"avatar avatar-default"},u&&(null==u?void 0:u.length)>0?u[0].toUpperCase():"A"))};export{E as A,L as B,re as C,se as D,z as E,Ae as F,de as G,O as H,P as M,b as P,k as R,ue as T,De as U,R as Z,ce as a,y as b,D as c,q as d,W as e,X as f,pe as g,K as h,j as i,Se as j,w as k,ye as l,Ee as m,ne as n,he as o,fe as p,me as q,Pe as r,ke as s,Te as t,ae as u,A as v,le as w,Oe as x,we as y,Y as z};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{c as n,d as e,e as t,_ as r,b as a}from"./tslib.es6-014436e4.js";import o,{forwardRef as i,useState as l,useEffect as c,useRef as s,useCallback as u,useImperativeHandle as d}from"react";import{P as m,a as p,I as f,b as g,c as h,M as v,d as y,T as b,V as x,C}from"./Vietnam-468d1a62.js";import{s as w,I as k}from"./index-d1a4892e.js";import{Image as j,Textarea as S,Modal as E,Accordion as I,Indicator as P,Avatar as A,Checkbox as M,Slider as D,Radio as N,Flex as z}from"@mantine/core";import{CommonGAssets as T}from"./gAssets.js";import{DatePicker as R,DateRangePicker as V}from"@mantine/dates";import B,{css as L}from"styled-components";import W from"dayjs";import"./screenSizeContext-2002aae8.js";import{t as F}from"./theme-19935790.js";import"./utils-242d1631.js";import"./isProduction-49ae3e67.js";import{L as O}from"./Locale-ea9b631a.js";import{Carousel as G}from"@mantine/carousel";import{g as H}from"./defaultClassWrapper-df96a89a.js";import{c as U}from"./index-9a100bbf.js";
|
|
2
|
-
/*!
|
|
3
|
-
Copyright (c) 2018 Jed Watson.
|
|
4
|
-
Licensed under the MIT License (MIT), see
|
|
5
|
-
http://jedwatson.github.io/classnames
|
|
6
|
-
*/var Y,K,_,Q,q=U((function(n){!function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var o=typeof a;if("string"===o||"number"===o)n.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&n.push(i)}}else if("object"===o){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var l in a)e.call(a,l)&&a[l]&&n.push(l)}}}return n.join(" ")}n.exports?(t.default=t,n.exports=t):window.classNames=t}()})),J=Object.values(w).reduce((function(n,e){var t=e.phoneCountry;return n.includes(t)||n.push(t),n}),[]),X={PH:m,KH:p,ID:f,IN:g,MM:h,MY:v,TH:y,TW:b,VN:x},Z={phoneInput:"i-9Ibox",error:"YDWHh9b"},$=i((function(a,i){var s,u=a.isError,d=a.defaultCountry,m=a.countries,p=void 0===m?J:m,f=a.countryCallingCodeEditable,g=void 0!==f&&f,h=a.defaultValue,v=a.value,y=a.onChange,b=a.className,x=n(a,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),w=l(h||v),k=w[0],j=w[1],S=l(null),E=S[0],I=S[1];return c((function(){j(v)}),[v]),c((function(){e(void 0,void 0,void 0,(function(){var n;return t(this,(function(e){switch(e.label){case 0:return[4,import("react-phone-number-input")];case 1:return n=e.sent(),I(n),[2]}}))}))}),[]),E?o.createElement(E.default,r({ref:i,value:k,onChange:function(n){j(n),null==y||y(n)},countries:p,defaultCountry:d,countryCallingCodeEditable:g,className:q(Z.phoneInput,(s={isError:u},s[Z.error]=u,s),b),flagUrl:void 0,flagComponent:function(e){var t=e.country,a=e.countryName;e.flagUrl;var i=n(e,["country","countryName","flagUrl"]),l=X[t],c=t?"(+".concat(E.getCountryCallingCode(t),")"):"";return l?o.createElement(o.Fragment,null,o.createElement(l,r({title:a},i)),o.createElement("span",{className:q(Z.callingCode,"PhoneInputCountryIconCallingCode")},c)):o.createElement(o.Fragment,null)},countrySelectProps:{arrowComponent:function(){return o.createElement("div",{className:q(Z.arrowSelect,"PhoneInputArrowContainer")},o.createElement(C,null))}}},x)):null})),nn=B(R)(K||(K=a(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(n){return n.fullWidth&&L(Y||(Y=a(["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),en=B(V)(Q||(Q=a(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(n){return n.fullWidth&&L(_||(_=a(["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),tn=function(n){return o.createElement(nn,r({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:o.createElement(j,{src:T.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};tn.Range=function(n){return o.createElement(en,r({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:o.createElement(j,{src:T.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};var rn,an,on,ln=B(S)(rn||(rn=a(["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"],["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"])),F.colors.gray200),cn=B(E)(an||(an=a(["\n .mantine-Modal-inner {\n border-radius: 6px;\n }\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n .mantine-Modal-body {\n padding: 40px;\n }\n"],["\n .mantine-Modal-inner {\n border-radius: 6px;\n }\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n .mantine-Modal-body {\n padding: 40px;\n }\n"])),F.colors.neutral100),sn=B(I)(on||(on=a(["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"],["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"])),(function(n){return n.closeChevron||T.getAssetPath("plus-icon.svg")}),(function(n){return n.openChevron||T.getAssetPath("minus-icon.svg")})),un=function(e){var t=e.children,a=n(e,["children"]);return o.createElement(sn,r({chevron:o.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},a),t)};un.Control=I.Control,un.Item=I.Item,un.Panel=I.Panel;var dn=T.getAssetPath("avatar.jpg"),mn=function(e){var t=e.withIndicator,a=void 0!==t&&t,i=e.indicatorConfig,l=void 0===i?null:i,c=e.size,s=void 0===c?56:c,u=e.children,d=e.styles,m=n(e,["withIndicator","indicatorConfig","size","children","styles"]),p=function(){return o.createElement(A,r({size:s,radius:"xl"},m,{imageProps:r({loading:"lazy"},m.imageProps)}),u||o.createElement("img",{loading:"lazy",src:dn,width:s}))};return a?o.createElement(P,r({inline:!0,position:"bottom-end",offset:9},l,{styles:r({indicator:{backgroundColor:o.isValidElement(l.label)&&"transparent",zIndex:1}},d)}),p()):p()},pn=function(e){var t=e.slidesToShow,a=void 0===t?1:t,i=e.children,l=n(e,["slidesToShow","children"]);return o.createElement(G,r({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},l),i)};pn.Slide=G.Slide;var fn=function(n){return o.createElement(M,r({},n))};fn.Group=M.Group;var gn,hn,vn,yn,bn,xn="hhgcomp-mantine-slider-slider",Cn=H(B(D)(gn||(gn=a(["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"],["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"])),(function(n){return n.color||n.theme.colors.primaryBase})),xn),wn=B.div(hn||(hn=a(["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"],["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"])),xn),kn=B(N)(vn||(vn=a(["\n .mantine-Radio-icon {\n color: ",";\n }\n"],["\n .mantine-Radio-icon {\n color: ",";\n }\n"])),(function(n){return n.color||F.colors.primaryBase})),jn=function(n){return o.createElement(kn,r({size:"sm"},n))};jn.Group=N.Group;var Sn=((yn={})[O.Vietnam]="vi",yn[O.Cambodia]="km",yn[O.India]="hi",yn[O.Indonesia]="id",yn[O.Malaysia]="ms",yn[O.Thailand]="th",yn[O.Taiwan]="zh-tw",yn[O.PhilippinesTagalog]="tl-ph",yn[O.PhilippinesEnglish]="en",yn[O.Myanmar]="my",yn),En=((bn={})[O.Vietnam]=function(){return import("dayjs/locale/vi.js")},bn[O.Cambodia]=function(){return import("dayjs/locale/km.js")},bn[O.India]=function(){return import("dayjs/locale/hi.js")},bn[O.Indonesia]=function(){return import("dayjs/locale/id.js")},bn[O.Malaysia]=function(){return import("dayjs/locale/ms.js")},bn[O.Thailand]=function(){return import("dayjs/locale/th.js")},bn[O.Taiwan]=function(){return import("dayjs/locale/zh-tw.js")},bn[O.PhilippinesTagalog]=function(){return import("dayjs/locale/tl-ph.js")},bn[O.PhilippinesEnglish]=function(){return import("dayjs/locale/en.js")},bn[O.Myanmar]=function(){return import("dayjs/locale/my.js")},bn),In=function(n){c((function(){var e;null===(e=En[n])||void 0===e||e.call(En),W.locale(Sn[n])}),[n])},Pn={"&:hover":{borderColor:"".concat(F.colors.blue200),boxShadow:"0 0 2px 2px ".concat(F.colors.blue200)}},An=function(n){return{datesLocale:Sn[n],dateFormat:k[n].dateFormat,fontFamily:n===O.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",components:{InputWrapper:{styles:{label:{marginBottom:"0.375rem"},error:{marginTop:"0.375rem"}}},NumberInput:{defaultProps:{decimalSeparator:k[n].separator}},Input:{styles:{input:{borderRadius:"6px",transition:"all ".concat("100ms"," ease-in-out"),"&:hover, &:focus":{borderColor:"".concat(F.colors.blue200),boxShadow:"0 0 2px 2px ".concat(F.colors.blue200)}},invalid:{color:"#000"}}},Checkbox:{styles:{input:Pn}},Radio:{styles:{radio:r(r({backgroundColor:"#ffffff"},Pn),{"&:checked":{backgroundColor:"#ffffff"}})}}}}};function Mn(n,e){void 0===e&&(e=6);var t=new Array(e).fill("");if(n){var r=n.toString().split("");t.map((function(n,e){r[e]&&(t[e]=r[e]||"")}))}return t}function Dn(n){return n.join("")}var Nn="_2iQs0sk",zn="Ia6IojY",Tn=i((function(e,t){var a=e.maxLength,i=void 0===a?1:a,l=e.placeholder,c=e.className,s=n(e,["maxLength","placeholder","className"]);return o.createElement("input",r({maxLength:i,className:q(zn,"otpInput",c),placeholder:l,type:"number"},s,{ref:t}))})),Rn=i((function(n,e){var t=n.valueLength,r=void 0===t?6:t,a=n.type,i=void 0===a?"number":a,m=n.value,p=n.defaultValue,f=n.onChange,g=n.onBlur,h=s(new Array(r).fill(null)),v=l(p||m),y=v[0],b=v[1],x=l(-1),C=x[0],w=x[1],k=l((function(){return Mn(y,r)})),j=k[0],S=k[1],E=u((function(){if(-1!==C){var n=h.current[C];if(n){n.value="";var e=j;e[C]="",S(e),b((function(){return Dn(e)})),null==f||f(Dn(e))}}}),[C,f,j]),I=u((function(){if(0!==C){var n=h.current[C];n&&n.blur();var e=h.current[C-1];e&&e.focus()}}),[C]),P=u((function(){if(C!==r-1){var n=h.current[C];n&&n.blur();var e=h.current[C+1];e&&e.focus()}}),[C,r]),A=u((function(n){var e=n.target,t=e.value.toString().slice(0,1),r=h.current.findIndex((function(n){return n===e}));if(-1!==r){var a=j;a[r]=t,S(a),b((function(){return Dn(a)})),null==f||f(Dn(a))}P()}),[P,f,j]),M=u((function(n){var e=n.target,t=h.current.findIndex((function(n){return n===e}));"number"===i?e.select():e.setSelectionRange(0,e.value.length,"backward"),-1!==t&&w(t)}),[]),D=u((function(n){var e=Mn(n.clipboardData.getData("text/plain"),r),t=Dn(e);S(e),b(t),null==f||f(t)}),[f,i,r]),N=u((function(n){8===n.keyCode||"Backspace"===n.key?(n.preventDefault(),E(),I()):46===n.keyCode||"Delete"===n.key?(n.preventDefault(),E()):37===n.keyCode||"ArrowLeft"===n.key?(n.preventDefault(),I()):39===n.keyCode||"ArrowRight"===n.key?(n.preventDefault(),P()):32!==n.keyCode&&" "!==n.key&&"Spacebar"!==n.key&&"Space"!==n.key||n.preventDefault()}),[E,P,I]);return d(e,(function(){return h.current[0]}),[]),c((function(){S((function(){return Mn(m,r)})),b(m)}),[r,m]),o.createElement(z,{justify:"center",columnGap:8,className:q(Nn,"otpContainer")},j.map((function(n,e){return o.createElement(Tn,{ref:function(n){h.current[e]=n},key:""+e,value:n,type:i,onChange:A,onFocus:M,onKeyDown:N,onPaste:D,onBlur:g})})))}));export{un as A,pn as C,tn as D,Sn as M,Rn as O,$ as P,jn as R,ln as S,cn as a,wn as b,Cn as c,mn as d,fn as e,An as g,In as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import n from"react";import{a as e,b as o}from"./FullScreen-2de7335b.js";import{u as t}from"./useTranslations-36e897bb.js";import{b as a,_ as r}from"./tslib.es6-014436e4.js";import i from"styled-components";var d,s,l,p,c,x,u=function(o){var t=o.type,a=void 0===t?"solid":t,r=o.className,i=o.style;return n.createElement(e,{style:i,className:r,"data-diver-type":a,dividerType:a})},g=function(e){var t=e.label,a=e.name,r=e.checked,i=e.className,d=e.isDisabled,s=e.onChange,l=e.value,p=e.isRectangle,c=e.inputDataTestId,x=e.siteType;return n.createElement(o,{className:i,"data-disabled":d||void 0,"data-is-rectangle":p||void 0,"data-label-text":t,"data-theme":x},n.createElement("input",{type:"checkbox",checked:r,name:a,onChange:function(){return s(l,!r)},disabled:d,value:l,id:"".concat(a,"-").concat(l),"data-label-text":t,"data-testid":c}),!p&&n.createElement("label",{htmlFor:"".concat(a,"-").concat(l)},t))},b="U9NRDG6",h={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},m=function(e){var o=e.role,a=e.title,r=t().t,i=o?function(n){return["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((function(e){return e===n}))}(o):"";return i&&h[i]?n.createElement("div",{className:b,"data-label-type":i},a||r(h[i])):null},v=i.div(d||(d=a(["\n --dropdown-padding: 12px 18px 12px 16px;\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-disabled='true'],\n :disabled {\n background-color: #f2f2f2;\n cursor: not-allowed;\n }\n\n &[data-size='sm'] {\n font-size: 13px;\n line-height: 20px;\n }\n &[data-size='md'] {\n font-size: 14px;\n line-height: 21px;\n }\n &[data-size='lg'] {\n font-size: 16px;\n line-height: 24px;\n }\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 12px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n\n &[data-is-native='true'] {\n padding: var(--dropdown-padding);\n line-height: 24px;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px ",";\n }\n }\n"],["\n --dropdown-padding: 12px 18px 12px 16px;\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-disabled='true'],\n :disabled {\n background-color: #f2f2f2;\n cursor: not-allowed;\n }\n\n &[data-size='sm'] {\n font-size: 13px;\n line-height: 20px;\n }\n &[data-size='md'] {\n font-size: 14px;\n line-height: 21px;\n }\n &[data-size='lg'] {\n font-size: 16px;\n line-height: 24px;\n }\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 12px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n\n &[data-is-native='true'] {\n padding: var(--dropdown-padding);\n line-height: 24px;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px ",";\n }\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.gray100}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.blue200})),f=i.div(s||(s=a(["\n padding: var(--dropdown-padding);\n cursor: pointer;\n\n &.with-label {\n padding-top: 34px;\n padding-bottom: 12px;\n }\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n"],["\n padding: var(--dropdown-padding);\n cursor: pointer;\n\n &.with-label {\n padding-top: 34px;\n padding-bottom: 12px;\n }\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200})),w=i.ul(l||(l=a(["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"],["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray200})),k=i.li(p||(p=a(["\n display: flex;\n padding: 12px 18px 12px 16px;\n &[data-disabled='true'] {\n cursor: not-allowed;\n color: #bfbfbf;\n & > * {\n pointer-events: none;\n }\n }\n &:hover,\n :active {\n background: ",";\n }\n"],["\n display: flex;\n padding: 12px 18px 12px 16px;\n &[data-disabled='true'] {\n cursor: not-allowed;\n color: #bfbfbf;\n & > * {\n pointer-events: none;\n }\n }\n &:hover,\n :active {\n background: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),y=i.div(c||(c=a(["\n max-width: 16px;\n margin-right: 8px;\n"],["\n max-width: 16px;\n margin-right: 8px;\n"]))),E=i.div(x||(x=a(["\n position: absolute;\n top: 12px;\n left: 16px;\n pointer-events: none;\n"],["\n position: absolute;\n top: 12px;\n left: 16px;\n pointer-events: none;\n"]))),C=function(e){var o=e.className,t=e.value,a=e.options,i=e.onChange,d=void 0===i?function(){}:i,s=e.id,l=e.placeholderIcon,p=e.placeholder,c=e.style,x=e.size,u=void 0===x?"lg":x,g=e.groupedWithLabel,b=e.disabled,h=e.dropdownLabelTrackingAttributes,m=void 0===h?{}:h,C=e.isNativeSelect,z=void 0!==C&&C,A=n.useState(!1),L=A[0],N=A[1],j=function(){return!b&&N(!L)};return z?n.createElement(v,{as:"select","data-is-native":"true",value:(null==t?void 0:t.value)||void 0,disabled:b,onChange:function(n){if("string"==typeof n.target.value){var e=a.find((function(e){return e.value===n.target.value}));e&&d(e)}}},p&&n.createElement("option",{value:p,disabled:!0,selected:!0},p),a.map((function(e){return n.createElement("option",{key:"".concat(s,"-").concat(e.value),value:e.value,disabled:!!e.disabled&&e.disabled},e.label)}))):n.createElement(v,{className:o,"data-dropdown-open":L||void 0,"data-size":u,id:s,"data-has-icons":!!l,style:c,onBlur:function(){return N(!1)},tabIndex:0,"data-disabled":b},!!g&&n.createElement(E,null,g),n.createElement(f,r({onClick:j,className:g&&"with-label"},m),l," ",n.createElement("span",null,t&&t.value?t.label:p)),L&&n.createElement(w,{onClick:j,"data-has-icons":!!l},a.map((function(e){return n.createElement(k,{key:"".concat(s,"-").concat(e.value),"data-selected":t&&t.value===e.value||void 0,onClick:function(){return!e.disabled&&!b&&(null==d?void 0:d(e))},"data-disabled":!!e.disabled&&e.disabled},e.icon&&n.createElement(y,null,e.icon),e.label)}))))};export{m as A,g as C,u as D,C as a};
|