@hhgtech/hhg-components 1.29.412-beta-2 → 1.29.412-beta-4
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/{InputDate-ed79b015.js → InputDate-7ea41c10.js} +3 -3
- package/build/{LastPeriod-42816b8b.js → LastPeriod-63a9d690.js} +1 -1
- package/build/{MobileBottomNavigationIcon-8619c39e.js → MobileBottomNavigationIcon-1aafc582.js} +3 -3
- package/build/{Spinner-0a0906dc.js → Spinner-a6ff7295.js} +1 -1
- package/build/{WhatsApp-edbf66f7.js → WhatsApp-75f9abdc.js} +1 -1
- package/build/adapters.js +22 -21
- package/build/atoms.js +54 -53
- package/build/babyGrowth.js +84 -83
- package/build/cache.js +2 -2
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +2 -1
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +2 -1
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +2 -1
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/icons/CheckboxWithState.d.ts +4 -0
- package/build/components/mantine/button/index.styles.d.ts +2 -0
- package/build/components/mantine/checkbox/index.styles.d.ts +16 -0
- package/build/components/mantine/index.d.ts +3 -2
- package/build/components/mantine/provider/index.d.ts +3 -1
- package/build/components/mantine/text/index.d.ts +3 -2
- package/build/components/mantine/text/index.styles.d.ts +2 -0
- package/build/components/mantine/theme/button.d.ts +3 -1
- package/build/components/mantine/theme/colors.d.ts +34 -0
- package/build/components/mantine/theme/heading.d.ts +9 -8
- package/build/components/mantine/theme/index.d.ts +2 -2
- package/build/components/mantine/theme/text.d.ts +182 -86
- package/build/components/mantine/theme/{other.d.ts → types.d.ts} +6 -3
- package/build/components/molecules/sidemenu/menuLink.d.ts +1 -1
- package/build/components/molecules/tabs/index.d.ts +1 -1
- package/build/components.js +147 -146
- package/build/{constants-0aaecc73.js → constants-5add9ad0.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-3c79cf8b.js → core-28eda62d.js} +1 -1
- package/build/{dataTransform-ca295670.js → dataTransform-b56cc416.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-678d906b.js → editor-df72b9b7.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +26 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -21
- package/build/embeddedHeathToolCards_babyVaccine.js +25 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +28 -27
- package/build/embeddedHeathToolCards_bmrBmr.js +28 -27
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +25 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +25 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +29 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +30 -29
- package/build/esm/{InputDate-0bbec559.js → InputDate-0277b057.js} +3 -3
- package/build/esm/{LastPeriod-3dd9d643.js → LastPeriod-5cfed81c.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-20ec3809.js → MobileBottomNavigationIcon-9b874bed.js} +3 -3
- package/build/esm/{Spinner-240948a1.js → Spinner-231f9121.js} +1 -1
- package/build/esm/{WhatsApp-1d0093d1.js → WhatsApp-12407ded.js} +1 -1
- package/build/esm/adapters.js +22 -21
- package/build/esm/atoms.js +50 -49
- package/build/esm/babyGrowth.js +84 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +2 -1
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +2 -1
- package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +2 -1
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/icons/CheckboxWithState.d.ts +4 -0
- package/build/esm/components/mantine/button/index.styles.d.ts +2 -0
- package/build/esm/components/mantine/checkbox/index.styles.d.ts +16 -0
- package/build/esm/components/mantine/index.d.ts +3 -2
- package/build/esm/components/mantine/provider/index.d.ts +3 -1
- package/build/esm/components/mantine/text/index.d.ts +3 -2
- package/build/esm/components/mantine/text/index.styles.d.ts +2 -0
- package/build/esm/components/mantine/theme/button.d.ts +3 -1
- package/build/esm/components/mantine/theme/colors.d.ts +34 -0
- package/build/esm/components/mantine/theme/heading.d.ts +9 -8
- package/build/esm/components/mantine/theme/index.d.ts +2 -2
- package/build/esm/components/mantine/theme/text.d.ts +182 -86
- package/build/esm/components/mantine/theme/{other.d.ts → types.d.ts} +6 -3
- package/build/esm/components/molecules/sidemenu/menuLink.d.ts +1 -1
- package/build/esm/components/molecules/tabs/index.d.ts +1 -1
- package/build/esm/components.js +99 -98
- package/build/esm/{constants-22bf5acc.js → constants-eb4a7f78.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-6ab12e45.js → core-b3a59264.js} +1 -1
- package/build/esm/{dataTransform-387ab1df.js → dataTransform-f511c388.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-93f4cca9.js → editor-6cf52f98.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +26 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -21
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +25 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +28 -27
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +28 -27
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +25 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +25 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +29 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +30 -29
- package/build/esm/footer.js +23 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-a6938099.js → healthTools-805a4333.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +21 -20
- package/build/esm/healthToolsForm.js +35 -34
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-01add604.js → index-064bfa7a.js} +1 -1
- package/build/esm/{index-e6f48688.js → index-13e83fe0.js} +16 -16
- package/build/esm/{index-8866edcb.js → index-1d398baa.js} +32 -32
- package/build/esm/{index-40eaa481.js → index-1d491376.js} +2 -2
- package/build/esm/{index-4e1b366e.js → index-1db9b64b.js} +31 -8
- package/build/esm/{index-25a90043.js → index-1f53d069.js} +2 -2
- package/build/esm/{index-49547dd9.js → index-24f9e96e.js} +6 -6
- package/build/esm/{index-46576e24.js → index-260b08e2.js} +2 -2
- package/build/esm/{index-ae969513.js → index-280e834d.js} +22 -39
- package/build/esm/{index-1293880c.js → index-282df3cd.js} +17 -17
- package/build/esm/{index-ac5c3e73.js → index-2c9ba7a5.js} +1 -1
- package/build/esm/{index-323122ff.js → index-2d27b51c.js} +2 -2
- package/build/esm/{index-af45a977.js → index-304ec8fd.js} +15 -18
- package/build/esm/{index-ee85c770.js → index-34d6a537.js} +2 -2
- package/build/esm/{index-ea97eb49.js → index-3a6f7de0.js} +3 -3
- package/build/esm/{index-70883c59.js → index-41994e11.js} +5 -5
- package/build/esm/{index-552328f5.js → index-42502739.js} +6 -6
- package/build/esm/{index-5786325f.js → index-45adcfc8.js} +2 -2
- package/build/esm/{index-f4c0a637.js → index-470cf9dc.js} +1 -1
- package/build/esm/{index-3d6fe6ea.js → index-4fa1b3d0.js} +30 -30
- package/build/esm/{index-eb01d17e.js → index-5079027c.js} +1 -1
- package/build/esm/{index-09f17ac2.js → index-50dfa548.js} +3 -3
- package/build/esm/{index-84262003.js → index-5133d409.js} +11 -11
- package/build/esm/{index-cbc20386.js → index-530aa23d.js} +22 -22
- package/build/esm/{index-d8ae332d.js → index-53efe873.js} +3 -3
- package/build/esm/{index-d5e632ad.js → index-54fbf136.js} +21 -21
- package/build/esm/{index-e0d12d52.js → index-561b6a57.js} +2 -2
- package/build/esm/{index-a0e9affe.js → index-569f0e59.js} +17 -18
- package/build/esm/{index-6f3f14b8.js → index-599f06af.js} +2 -2
- package/build/esm/{useScreenSize-4385d138.js → index-5dc796ff.js} +19 -19
- package/build/esm/{index-07b00729.js → index-5ebd5634.js} +13 -16
- package/build/esm/{index-998bba67.js → index-629d2b96.js} +7 -7
- package/build/esm/index-658274de.js +15 -0
- package/build/esm/{index-bff29283.js → index-698b136d.js} +1 -1
- package/build/esm/{index-bf147454.js → index-6bb05b50.js} +1 -1
- package/build/esm/{index-71dd6c95.js → index-6ce78a7d.js} +15 -17
- package/build/esm/{index-c9d5f51d.js → index-6fc8a5c8.js} +13 -13
- package/build/esm/{index-bc04fec2.js → index-705f48ec.js} +6 -6
- package/build/esm/{index-0061ed46.js → index-75ecbae4.js} +2 -2
- package/build/esm/{index-505bf495.js → index-81dfa83c.js} +3 -3
- package/build/esm/{index-9c2fb6cc.js → index-827e4441.js} +2 -2
- package/build/esm/{index-31c505ff.js → index-85d0bdbb.js} +2 -2
- package/build/esm/{index-3a63c163.js → index-85da537b.js} +13 -13
- package/build/esm/{index-73be0d60.js → index-863930f5.js} +5 -5
- package/build/esm/{index-193f73db.js → index-97ef4a9c.js} +24 -24
- package/build/esm/{index-457d76c7.js → index-98cecb16.js} +3 -3
- package/build/esm/index-99a5a996.js +669 -0
- package/build/esm/{index-40ed5b08.js → index-9aad5106.js} +10 -10
- package/build/esm/{index-fb80c0d3.js → index-9c540f42.js} +13 -13
- package/build/esm/{index-f7dcf2b7.js → index-a7b47257.js} +17 -17
- package/build/esm/{index-7d2dae6f.js → index-ace796d5.js} +7 -7
- package/build/esm/{index-a2cc229f.js → index-aebbf626.js} +1 -1
- package/build/esm/{index-3293b6d7.js → index-b1609443.js} +4 -4
- package/build/esm/{index-18509ee4.js → index-b6fa9cab.js} +16 -16
- package/build/esm/{index-9fff2952.js → index-bc2c9bf5.js} +2 -2
- package/build/esm/{index-7e81d925.js → index-bd850385.js} +15 -15
- package/build/esm/{index-6c1d5e44.js → index-bdf400d2.js} +13 -13
- package/build/esm/{index-ad67e887.js → index-ca117761.js} +2 -2
- package/build/esm/{index-98411bb0.js → index-cac6fd36.js} +6 -6
- package/build/esm/{index-fa4ece5a.js → index-cbd1ecf3.js} +3 -3
- package/build/esm/{index-a2d6d225.js → index-d8a81e15.js} +4 -4
- package/build/esm/{index-adeaf5df.js → index-dbfae4da.js} +25 -25
- package/build/esm/{index-24ff1b39.js → index-e354b49d.js} +13 -16
- package/build/esm/{index-651960be.js → index-ec72042d.js} +17 -17
- package/build/esm/{index-57832acf.js → index-ee5d1441.js} +6 -6
- package/build/esm/{index-6e6d1bb0.js → index-f448295d.js} +32 -31
- package/build/esm/{index-43b49421.js → index-f696dcaf.js} +1 -1
- package/build/esm/{index-7bc4f0c5.js → index-fa0af22d.js} +727 -939
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +120 -119
- package/build/esm/{labelSorting-d32e85e1.js → labelSorting-5862f3af.js} +4 -4
- package/build/esm/lead/components/close.d.ts +1 -1
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +109 -124
- package/build/esm/{logoIcon-bf16bc9e.js → logoIcon-522378cc.js} +2 -2
- package/build/esm/mantine.js +32 -39
- package/build/esm/misc.js +20 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +76 -75
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +18 -17
- package/build/esm/navigation.js +49 -48
- package/build/esm/navigationLogoutPopup.js +11 -9
- package/build/esm/navigationProfileButton.js +28 -27
- package/build/esm/onboardingV2.js +31 -30
- package/build/esm/organisms.js +53 -52
- package/build/esm/{post-a4c5a627.js → post-a9a98a7c.js} +2 -2
- package/build/esm/profileNavigation.js +21 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +24 -23
- package/build/esm/shared-7af2c4aa.js +3 -0
- package/build/esm/ssoV2.js +31 -30
- package/build/esm/{store-d6c8b226.js → store-76f99f22.js} +3 -3
- package/build/esm/subot.js +37 -36
- package/build/esm/surveyOrPremiumBanner.js +36 -35
- package/build/esm/surveyQuestionCard.js +11 -10
- package/build/esm/{surveyThankyouCard-fe8a9feb.js → surveyThankyouCard-aa83798e.js} +5 -5
- package/build/esm/text-5a8e76eb.js +202 -0
- package/build/esm/together.js +58 -57
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +32 -31
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +52 -51
- package/build/esm/togetherMoleculesCardAuthor.js +29 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +40 -39
- package/build/esm/togetherOrganisms.js +52 -51
- package/build/esm/togetherRichTextEditor.js +18 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-e069443f.js → translationsProvider-9876abb8.js} +1 -1
- package/build/esm/{treePopoverMenu-bfdf959e.js → treePopoverMenu-7df63e53.js} +19 -19
- package/build/esm/{types-69c5efb6.js → types-0e709d69.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-f873a41b.js → useCategory-5a79502d.js} +5 -5
- package/build/esm/{useHealthToolCache-991d03b0.js → useHealthToolCache-6203b8c3.js} +1 -1
- package/build/esm/{usePlacesAutocomplete-9317e0ff.js → usePlacesAutocomplete-f69a12e0.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-4f20ccfb.js → utils-071dce04.js} +3 -3
- package/build/esm/{utils-7af182bc.js → utils-4f1df2d9.js} +2 -2
- package/build/esm/{utils-ad82bf19.js → utils-581f96db.js} +5 -5
- package/build/esm/{utils-b2e5e5ad.js → utils-e4b61eb1.js} +2 -2
- package/build/esm/vaccination.js +22 -21
- package/build/footer.js +23 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-a92bd8b2.js → healthTools-4500607e.js} +1 -1
- package/build/healthToolsCardWrapper.js +21 -20
- package/build/healthToolsForm.js +35 -34
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-d7fdb813.js → index-01997157.js} +5 -5
- package/build/{index-8a2f123e.js → index-0291fc0e.js} +4 -4
- package/build/{index-c5630247.js → index-03679b6a.js} +6 -6
- package/build/{index-b41934c6.js → index-0691c539.js} +12 -12
- package/build/{index-c750e792.js → index-102f9112.js} +1 -1
- package/build/{index-ec6df9a6.js → index-1315e684.js} +2 -2
- package/build/{index-e1336821.js → index-16d3efc7.js} +2 -2
- package/build/{index-0e2e9008.js → index-18f1f6e7.js} +36 -36
- package/build/{index-dc5ced87.js → index-1ab10778.js} +2 -2
- package/build/{index-213df21d.js → index-210f551c.js} +17 -17
- package/build/{index-57c64d51.js → index-281913b0.js} +6 -6
- package/build/{index-13cd06ea.js → index-28b0e49e.js} +31 -8
- package/build/{index-609cb1a5.js → index-2aaef34f.js} +20 -20
- package/build/{index-7c8d88f3.js → index-2c2b5fc3.js} +1 -1
- package/build/{index-768587ff.js → index-2e20a3d9.js} +11 -11
- package/build/{index-eca3fc01.js → index-2fc8fa0a.js} +1 -1
- package/build/{index-0c06baa2.js → index-3065f9f3.js} +3 -3
- package/build/{index-f90805e0.js → index-327f0d99.js} +3 -3
- package/build/{index-256fe4f5.js → index-32d9ba8a.js} +50 -50
- package/build/{index-871bf383.js → index-331f088e.js} +715 -929
- package/build/{index-514e4159.js → index-38e812da.js} +13 -16
- package/build/{useScreenSize-903a492c.js → index-404c632d.js} +19 -19
- package/build/{index-01000f4b.js → index-4bd4e792.js} +2 -2
- package/build/index-50c75597.js +21 -0
- package/build/{index-ac11f7ce.js → index-5298048f.js} +17 -18
- package/build/{index-a5edd727.js → index-55a60635.js} +32 -32
- package/build/{index-dbb1f91e.js → index-58a269be.js} +22 -40
- package/build/{index-83340a9a.js → index-5bfd2648.js} +2 -2
- package/build/{index-05199167.js → index-60034148.js} +1 -1
- package/build/{index-db76af5d.js → index-6a84cc4f.js} +2 -2
- package/build/{index-becae264.js → index-6b2e9de1.js} +2 -2
- package/build/{index-f17a3d3c.js → index-6d9a223f.js} +2 -2
- package/build/{index-5c730c6b.js → index-71816ea0.js} +10 -10
- package/build/{index-12cc92e9.js → index-80d1795a.js} +1 -1
- package/build/index-83356d7b.js +700 -0
- package/build/{index-eef792eb.js → index-8364b6e1.js} +3 -3
- package/build/{index-d8dbfd8f.js → index-845e3e5e.js} +64 -64
- package/build/{index-5d53ab0d.js → index-85733f81.js} +8 -8
- package/build/{index-c957b7d7.js → index-85e25ecf.js} +13 -13
- package/build/{index-ca3f0ba8.js → index-8757e76e.js} +32 -31
- package/build/{index-3d895c07.js → index-8d389a35.js} +15 -18
- package/build/{index-739a497b.js → index-8d9df5a8.js} +2 -2
- package/build/{index-aaf7d20f.js → index-928dead2.js} +2 -2
- package/build/{index-176486c9.js → index-92975b03.js} +13 -16
- package/build/{index-0a71128d.js → index-96a179db.js} +15 -17
- package/build/{index-e8e77e72.js → index-9b9be196.js} +17 -17
- package/build/{index-3a2acb2b.js → index-9cf53b58.js} +3 -3
- package/build/{index-ee0fc7a1.js → index-a070f681.js} +13 -13
- package/build/{index-3dddfe93.js → index-a5efe1d0.js} +13 -13
- package/build/{index-a4ff28b4.js → index-a610cb56.js} +7 -7
- package/build/{index-410b848b.js → index-a6cc2da0.js} +7 -7
- package/build/{index-0c1ca66b.js → index-a7113382.js} +41 -41
- package/build/{index-c96695aa.js → index-ac56cde0.js} +15 -15
- package/build/{index-8fb6f679.js → index-ad485408.js} +5 -5
- package/build/{index-19b0b4b8.js → index-ae3f4745.js} +17 -17
- package/build/{index-afafc12f.js → index-b2f4eac5.js} +50 -50
- package/build/{index-b421ebe7.js → index-b43d3509.js} +13 -13
- package/build/{index-8b43b3c7.js → index-ba433663.js} +3 -3
- package/build/{index-9c0b2dfe.js → index-bff95e9e.js} +22 -22
- package/build/{index-5a7bdf69.js → index-d20e6f75.js} +2 -2
- package/build/{index-00ffa650.js → index-e2cd98ee.js} +1 -1
- package/build/{index-775b5a8c.js → index-e6fe35d1.js} +2 -2
- package/build/{index-e9125e2f.js → index-e77f4425.js} +30 -30
- package/build/{index-e787aa67.js → index-efc4b17a.js} +2 -2
- package/build/{index-8cd6aa6b.js → index-f9bc0498.js} +1 -1
- package/build/{index-996f8d94.js → index-fb120b91.js} +2 -2
- package/build/{index-e029c70d.js → index-fc82b51f.js} +4 -4
- package/build/{index-bd53408d.js → index-fef67d85.js} +3 -3
- package/build/index.css +1 -1
- package/build/index.js +190 -189
- package/build/{labelSorting-ba40954c.js → labelSorting-d67cb011.js} +4 -4
- package/build/lead/components/close.d.ts +1 -1
- package/build/lead.css +1 -1
- package/build/lead.js +115 -130
- package/build/{logoIcon-839ec647.js → logoIcon-c6d44c77.js} +3 -3
- package/build/mantine.js +44 -43
- package/build/misc.js +26 -25
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +76 -75
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +33 -32
- package/build/navigation.js +49 -48
- package/build/navigationLogoutPopup.js +11 -9
- package/build/navigationProfileButton.js +28 -27
- package/build/onboardingV2.js +54 -53
- package/build/organisms.js +53 -52
- package/build/{post-ad9d4cd8.js → post-48e56a26.js} +2 -2
- package/build/profileNavigation.js +21 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +24 -23
- package/build/shared-0b83724c.js +5 -0
- package/build/ssoV2.js +112 -111
- package/build/{store-e15ac771.js → store-7436847b.js} +3 -3
- package/build/subot.js +36 -35
- package/build/surveyOrPremiumBanner.js +36 -35
- package/build/surveyQuestionCard.js +11 -10
- package/build/{surveyThankyouCard-9fd2e394.js → surveyThankyouCard-41592f0e.js} +5 -5
- package/build/text-2e7a960a.js +204 -0
- package/build/together.js +58 -57
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +32 -31
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +52 -51
- package/build/togetherMoleculesCardAuthor.js +29 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +40 -39
- package/build/togetherOrganisms.js +52 -51
- package/build/togetherRichTextEditor.js +18 -17
- package/build/togetherShareBox.js +17 -17
- package/build/{translationsProvider-9e02aca0.js → translationsProvider-82e05573.js} +1 -1
- package/build/{treePopoverMenu-3039725f.js → treePopoverMenu-455dac4a.js} +47 -47
- package/build/{types-e1d556ba.js → types-c6a9b0c0.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-84daabf6.js → useCategory-d10f25c0.js} +5 -5
- package/build/{useHealthToolCache-dc226c20.js → useHealthToolCache-07a0142b.js} +1 -1
- package/build/{usePlacesAutocomplete-1fdd7997.js → usePlacesAutocomplete-e7eb6685.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-7ea786dd.js → utils-029c5c8a.js} +3 -3
- package/build/{utils-c91e08b4.js → utils-157d6912.js} +5 -5
- package/build/{utils-a3659307.js → utils-3f01db0b.js} +2 -2
- package/build/{utils-c700f985.js → utils-9474b76b.js} +2 -2
- package/build/vaccination.js +35 -34
- package/package.json +2 -2
- package/build/components/mantine/text/index.styled.d.ts +0 -4
- package/build/esm/components/mantine/text/index.styled.d.ts +0 -4
- package/build/esm/other-ecd44617.js +0 -103
- package/build/esm/useMantineLocale-67d4f2b9.js +0 -156
- package/build/other-0dadd1e0.js +0 -105
- package/build/useMantineLocale-41665618.js +0 -187
- /package/build/{BMI_BOYS.percentile.monthly-74992e75.js → BMI_BOYS.percentile.monthly-9afaa08d.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-582ef7a6.js → BMI_BOYS.percentile.weekly-b066b273.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-460165ca.js → BMI_BOYS.percentile.yearly-f661c9cc.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-a01bcf2d.js → BMI_BOYS.zscore.monthly-32962b97.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-de430b2a.js → BMI_BOYS.zscore.weekly-a1332663.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-b0bc4bdf.js → BMI_BOYS.zscore.yearly-7ca87f7c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-55ae7f36.js → BMI_GIRLS.percentile.monthly-d82e459e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-98c30f99.js → BMI_GIRLS.percentile.weekly-be31522e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-1b06aacd.js → BMI_GIRLS.percentile.yearly-05467218.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-5ce4888b.js → BMI_GIRLS.zscore.monthly-4de322f2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-dddf08f7.js → BMI_GIRLS.zscore.weekly-242c81b5.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-08731830.js → BMI_GIRLS.zscore.yearly-022ea744.js} +0 -0
- /package/build/{ChevronDown-f9205b1d.js → ChevronDown-f2da6873.js} +0 -0
- /package/build/{Close-59b9c491.js → Close-fa445724.js} +0 -0
- /package/build/{Google-89065f38.js → Google-d489163d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-2790e28c.js → HEAD CIRCUM_BOYS.percentile.monthly-b35daf14.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-19ce6a75.js → HEAD CIRCUM_BOYS.percentile.weekly-cfc8a701.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-c98aa498.js → HEAD CIRCUM_BOYS.percentile.yearly-c027dbc2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-352ae196.js → HEAD CIRCUM_BOYS.zscore.monthly-2e4133de.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2c9ee27d.js → HEAD CIRCUM_BOYS.zscore.weekly-6edcbf40.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-e6f6fffb.js → HEAD CIRCUM_BOYS.zscore.yearly-642dd8c5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-ddba165a.js → HEAD CIRCUM_GIRLS.percentile.monthly-380eb26f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-1264b883.js → HEAD CIRCUM_GIRLS.percentile.weekly-ad1060a5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-83ab5bca.js → HEAD CIRCUM_GIRLS.percentile.yearly-1c48cb67.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-f8ae4c1e.js → HEAD CIRCUM_GIRLS.zscore.monthly-3d9e8e20.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-4d5e3970.js → HEAD CIRCUM_GIRLS.zscore.weekly-98c745a2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d5c4400f.js → HEAD CIRCUM_GIRLS.zscore.yearly-ac4ffec3.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-40cfbf9a.js → HEIGHT_BOYS.percentile.monthly-1c23b2df.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-4cfb9809.js → HEIGHT_BOYS.percentile.weekly-3433d56e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c6c3da07.js → HEIGHT_BOYS.percentile.yearly-a9d096ed.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-60edad28.js → HEIGHT_BOYS.zscore.monthly-8e607e81.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-bc2fbc48.js → HEIGHT_BOYS.zscore.weekly-028554d4.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-86c1dde5.js → HEIGHT_BOYS.zscore.yearly-338906dd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-44704c06.js → HEIGHT_GIRLS.percentile.monthly-4a471ece.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-61ee7bd8.js → HEIGHT_GIRLS.percentile.weekly-3b48bd3b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-1befcb61.js → HEIGHT_GIRLS.percentile.yearly-f8708315.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-1de060e1.js → HEIGHT_GIRLS.zscore.monthly-04095ed5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-41ce21f7.js → HEIGHT_GIRLS.zscore.weekly-68b631e2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-0b86ad95.js → HEIGHT_GIRLS.zscore.yearly-14bdf3fe.js} +0 -0
- /package/build/{Locale-a20bc2bb.js → Locale-29d606c9.js} +0 -0
- /package/build/{Visible-00a88ea6.js → Visible-e20d83e2.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-214aacdd.js → WEIGHT_BOYS.percentile.monthly-3b66f591.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-36921182.js → WEIGHT_BOYS.percentile.weekly-475a5af5.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-1f1bbcfb.js → WEIGHT_BOYS.percentile.yearly-e740ef02.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-dfdded5b.js → WEIGHT_BOYS.zscore.monthly-a54c1fc9.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-de0c7c94.js → WEIGHT_BOYS.zscore.weekly-4dec32d6.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-180c2581.js → WEIGHT_BOYS.zscore.yearly-3e9636ba.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-61aec809.js → WEIGHT_GIRLS.percentile.monthly-25768d9c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-bbd9e34c.js → WEIGHT_GIRLS.percentile.weekly-98793507.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-5f3f741e.js → WEIGHT_GIRLS.percentile.yearly-5331245e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-ebd17dec.js → WEIGHT_GIRLS.zscore.monthly-e94dd03d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-0dd2e885.js → WEIGHT_GIRLS.zscore.weekly-383e8bda.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-2bc83e67.js → WEIGHT_GIRLS.zscore.yearly-b3c3a489.js} +0 -0
- /package/build/{animation-d7bbfd05.js → animation-42b19ed6.js} +0 -0
- /package/build/{constants-0d7afde6.js → constants-01aa0fc7.js} +0 -0
- /package/build/{constants-4ae51090.js → constants-960669ed.js} +0 -0
- /package/build/{constants-bba20592.js → constants-e622a57c.js} +0 -0
- /package/build/{dataTransform-c6ded749.js → dataTransform-d6704481.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-db18d48a.js → BMI_BOYS.percentile.monthly-1a62c843.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-9125f743.js → BMI_BOYS.percentile.weekly-c47d1f69.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-94192a1b.js → BMI_BOYS.percentile.yearly-b4bf7a0a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-666c6d56.js → BMI_BOYS.zscore.monthly-fd453da6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-b9fd6593.js → BMI_BOYS.zscore.weekly-fe90a8fe.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-6388cef4.js → BMI_BOYS.zscore.yearly-5c5d8c5d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-7effde6f.js → BMI_GIRLS.percentile.monthly-c6cf0400.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-f913327d.js → BMI_GIRLS.percentile.weekly-db3689ea.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-88a7bdf9.js → BMI_GIRLS.percentile.yearly-b4d7bd48.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-bec30098.js → BMI_GIRLS.zscore.monthly-8b5afee2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-573384f3.js → BMI_GIRLS.zscore.weekly-beb98305.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-22f3b1f1.js → BMI_GIRLS.zscore.yearly-b2c9f323.js} +0 -0
- /package/build/esm/{ChevronDown-150a1256.js → ChevronDown-885fe536.js} +0 -0
- /package/build/esm/{Close-39dfda08.js → Close-4a5f5185.js} +0 -0
- /package/build/esm/{Google-b11fe21a.js → Google-811713ae.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-f614c6fc.js → HEAD CIRCUM_BOYS.percentile.monthly-74d79e6e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-9eb6bfbe.js → HEAD CIRCUM_BOYS.percentile.weekly-8552b338.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e3b8abc0.js → HEAD CIRCUM_BOYS.percentile.yearly-f0878ebc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-f32bfabb.js → HEAD CIRCUM_BOYS.zscore.monthly-153759e9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-fba22281.js → HEAD CIRCUM_BOYS.zscore.weekly-05cfc5bd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-f6721740.js → HEAD CIRCUM_BOYS.zscore.yearly-579285b4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-f8725b7c.js → HEAD CIRCUM_GIRLS.percentile.monthly-4115f0b1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-97387772.js → HEAD CIRCUM_GIRLS.percentile.weekly-29af6bb5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-c2dedbdc.js → HEAD CIRCUM_GIRLS.percentile.yearly-e25726c1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7c689a78.js → HEAD CIRCUM_GIRLS.zscore.monthly-b6cc780a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-bc100ec7.js → HEAD CIRCUM_GIRLS.zscore.weekly-c20e369e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-6113b2c7.js → HEAD CIRCUM_GIRLS.zscore.yearly-2c7b079b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e5678958.js → HEIGHT_BOYS.percentile.monthly-19f7c7da.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-913a0b50.js → HEIGHT_BOYS.percentile.weekly-ede9d4ed.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-18af7378.js → HEIGHT_BOYS.percentile.yearly-d15e44de.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-8284876a.js → HEIGHT_BOYS.zscore.monthly-28bc9068.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-6a87c59c.js → HEIGHT_BOYS.zscore.weekly-806e190b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-b48ee328.js → HEIGHT_BOYS.zscore.yearly-d0801b68.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ebc399f1.js → HEIGHT_GIRLS.percentile.monthly-5d584a19.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-47580eaa.js → HEIGHT_GIRLS.percentile.weekly-1a9a15b5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-951d639b.js → HEIGHT_GIRLS.percentile.yearly-0bb51255.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-0640f32b.js → HEIGHT_GIRLS.zscore.monthly-dbae7da5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-ac6176b9.js → HEIGHT_GIRLS.zscore.weekly-898d6d1f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-767a1454.js → HEIGHT_GIRLS.zscore.yearly-52f42dde.js} +0 -0
- /package/build/esm/{Locale-7e8c3193.js → Locale-f6163225.js} +0 -0
- /package/build/esm/{Visible-26c970af.js → Visible-fdf33bf6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-d542e6af.js → WEIGHT_BOYS.percentile.monthly-c6f82dd9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-36e32ce3.js → WEIGHT_BOYS.percentile.weekly-05bd10bd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-7fb16b1d.js → WEIGHT_BOYS.percentile.yearly-3410788d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-adbdfdd1.js → WEIGHT_BOYS.zscore.monthly-7a03bebd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-3f1f6b51.js → WEIGHT_BOYS.zscore.weekly-4f4adbbf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-8d1b094f.js → WEIGHT_BOYS.zscore.yearly-6e3eb906.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-1518c4b2.js → WEIGHT_GIRLS.percentile.monthly-2d041fad.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-4647e8b7.js → WEIGHT_GIRLS.percentile.weekly-0e2e767b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-75c03fa2.js → WEIGHT_GIRLS.percentile.yearly-96ab452e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-208c2b04.js → WEIGHT_GIRLS.zscore.monthly-81150876.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-82bd4d43.js → WEIGHT_GIRLS.zscore.weekly-f48cd64c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-e979ffc3.js → WEIGHT_GIRLS.zscore.yearly-6703d948.js} +0 -0
- /package/build/esm/{animation-9f88ebc3.js → animation-3bdf591a.js} +0 -0
- /package/build/esm/{constants-cc8260ef.js → constants-6c2ee4aa.js} +0 -0
- /package/build/esm/{constants-69692e4e.js → constants-c0240e85.js} +0 -0
- /package/build/esm/{constants-74cdf592.js → constants-dfbc4e00.js} +0 -0
- /package/build/esm/{dataTransform-bb7c1b26.js → dataTransform-249fcce4.js} +0 -0
- /package/build/esm/{index-d8a842a1.js → index-09c70502.js} +0 -0
- /package/build/esm/{index-93e56e81.js → index-3303ec0b.js} +0 -0
- /package/build/esm/{index-e07488f1.js → index-4cc50ce7.js} +0 -0
- /package/build/esm/{index-0fce55ff.js → index-4ea73676.js} +0 -0
- /package/build/esm/{index-3dd16ecf.js → index-71b0577b.js} +0 -0
- /package/build/esm/{index-bd7ec512.js → index-72f83e84.js} +0 -0
- /package/build/esm/{index-4f2dc29a.js → index-8dbea2ff.js} +0 -0
- /package/build/esm/{index-e3e99d15.js → index-9cb335dd.js} +0 -0
- /package/build/esm/{index.styles-084c59ef.js → index.styles-1239781a.js} +0 -0
- /package/build/esm/{localizeNumberFormat-f4b6c47a.js → localizeNumberFormat-339c4623.js} +0 -0
- /package/build/esm/{normalizeLink-936d90eb.js → normalizeLink-587bfc30.js} +0 -0
- /package/build/esm/{number-224a42c3.js → number-869ba197.js} +0 -0
- /package/build/esm/{paths-579d0032.js → paths-99229e19.js} +0 -0
- /package/build/esm/{translationsContext-1f3f9575.js → translationsContext-9ccd273a.js} +0 -0
- /package/build/esm/{tslib.es6-ab554322.js → tslib.es6-84edec00.js} +0 -0
- /package/build/esm/{types-2d4d27c5.js → types-f9a84d24.js} +0 -0
- /package/build/esm/{useIsInit-ea8b816c.js → useIsInit-f5d361b0.js} +0 -0
- /package/build/esm/{useOutsideClick-c4e5a727.js → useOutsideClick-d2fc2ec2.js} +0 -0
- /package/build/esm/{useScrollbarSize-eca6089a.js → useScrollbarSize-b15339b4.js} +0 -0
- /package/build/esm/{useUniqueId-7d263389.js → useUniqueId-1ac64459.js} +0 -0
- /package/build/esm/{utils-1e5d7b0f.js → utils-d2c04354.js} +0 -0
- /package/build/{index-76b35a39.js → index-2b8c7bf5.js} +0 -0
- /package/build/{index-d6720486.js → index-3e0ab905.js} +0 -0
- /package/build/{index-fe50d571.js → index-4628f343.js} +0 -0
- /package/build/{index-5987ef8d.js → index-4f405ce1.js} +0 -0
- /package/build/{index-20c4211d.js → index-ab36b5a8.js} +0 -0
- /package/build/{index-9ec91ab1.js → index-d67c7170.js} +0 -0
- /package/build/{index-e93bb180.js → index-f7b8f5e5.js} +0 -0
- /package/build/{index-1c7d1db5.js → index-fde26e91.js} +0 -0
- /package/build/{index.styles-1627ae94.js → index.styles-fc5a7d1f.js} +0 -0
- /package/build/{localizeNumberFormat-2e6de276.js → localizeNumberFormat-80f8f364.js} +0 -0
- /package/build/{normalizeLink-f5a31cb7.js → normalizeLink-453446dc.js} +0 -0
- /package/build/{number-df5f349e.js → number-c6ff35d8.js} +0 -0
- /package/build/{paths-88b3a03a.js → paths-219a6e9a.js} +0 -0
- /package/build/{translationsContext-b427e34a.js → translationsContext-c1155171.js} +0 -0
- /package/build/{tslib.es6-80cd01ec.js → tslib.es6-427aff2e.js} +0 -0
- /package/build/{types-4dc6d77a.js → types-53f1a808.js} +0 -0
- /package/build/{useIsInit-048d2d0e.js → useIsInit-eb9de54a.js} +0 -0
- /package/build/{useOutsideClick-4b24cb4a.js → useOutsideClick-3ffa2142.js} +0 -0
- /package/build/{useScrollbarSize-276c45bd.js → useScrollbarSize-345a32f0.js} +0 -0
- /package/build/{useUniqueId-9af8c712.js → useUniqueId-6f2e21bc.js} +0 -0
- /package/build/{utils-f6f80ca7.js → utils-e3bda41d.js} +0 -0
|
@@ -1,26 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-427aff2e.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var other = require('@hhgtech/icons/other');
|
|
6
6
|
var core = require('@mantine/core');
|
|
7
7
|
var hooks = require('@mantine/hooks');
|
|
8
|
-
var index
|
|
9
|
-
var
|
|
8
|
+
var index = require('./index-4628f343.js');
|
|
9
|
+
var index$2 = require('./index-404c632d.js');
|
|
10
10
|
var styled = require('@emotion/styled');
|
|
11
11
|
var carousel = require('@mantine/carousel');
|
|
12
|
-
var index$
|
|
13
|
-
require('./index-
|
|
12
|
+
var index$1 = require('./index-28b0e49e.js');
|
|
13
|
+
var index$3 = require('./index-83356d7b.js');
|
|
14
14
|
var miscTheme = require('./miscTheme.js');
|
|
15
|
-
var
|
|
16
|
-
var useMantineLocale = require('./useMantineLocale-41665618.js');
|
|
17
|
-
var index = require('./index-db76af5d.js');
|
|
18
|
-
var index$1 = require('./index-dbb1f91e.js');
|
|
19
|
-
var Locale = require('./Locale-a20bc2bb.js');
|
|
15
|
+
var text = require('./text-2e7a960a.js');
|
|
20
16
|
var cn = require('classnames');
|
|
21
|
-
var useUniqueId = require('./useUniqueId-
|
|
17
|
+
var useUniqueId = require('./useUniqueId-6f2e21bc.js');
|
|
22
18
|
var constantsSite = require('./constantsSite.js');
|
|
23
19
|
var core$1 = require('@hhgtech/icons/core');
|
|
20
|
+
var index$4 = require('./index-58a269be.js');
|
|
24
21
|
|
|
25
22
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
26
23
|
|
|
@@ -46,935 +43,341 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
|
46
43
|
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
47
44
|
var cn__default = /*#__PURE__*/_interopDefault(cn);
|
|
48
45
|
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
const
|
|
59
|
-
var _a;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
display: 'inline-flex',
|
|
65
|
-
gap: 4,
|
|
66
|
-
marginBottom: '0.25rem',
|
|
67
|
-
fontWeight: 600,
|
|
68
|
-
fontSize: '14px',
|
|
69
|
-
lineHeight: '22px',
|
|
70
|
-
color: miscTheme.theme.colors.gray600,
|
|
71
|
-
},
|
|
72
|
-
description: {
|
|
73
|
-
fontWeight: 400,
|
|
74
|
-
fontSize: '12px',
|
|
75
|
-
lineHeight: '18px',
|
|
76
|
-
color: miscTheme.theme.colors.gray600,
|
|
77
|
-
marginBottom: '0.25rem',
|
|
78
|
-
},
|
|
79
|
-
error: {
|
|
80
|
-
marginTop: '0.25rem',
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
NumberInput: {
|
|
85
|
-
defaultProps: {
|
|
86
|
-
decimalSeparator: (_a = index.ISO_FORMAT[locale]) === null || _a === void 0 ? void 0 : _a.separator,
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
Input: {
|
|
90
|
-
styles: (_theme, _, { size }) => ({
|
|
91
|
-
input: {
|
|
92
|
-
border: `1px solid ${miscTheme.theme.colors.gray200}`,
|
|
93
|
-
transition: `all ${index$1.ANIMATION_DURATION} ease-in-out`,
|
|
94
|
-
['&:not(.mantine-Textarea-input)']: Object.assign({}, (() => {
|
|
95
|
-
switch (size) {
|
|
96
|
-
case 'lg':
|
|
97
|
-
return {
|
|
98
|
-
height: 48,
|
|
99
|
-
fontSize: 16,
|
|
100
|
-
minHeight: 'unset',
|
|
101
|
-
lineHeight: '24px',
|
|
102
|
-
};
|
|
103
|
-
case 'md':
|
|
104
|
-
return {
|
|
105
|
-
height: 40,
|
|
106
|
-
fontSize: 14,
|
|
107
|
-
lineHeight: '22px',
|
|
108
|
-
minHeight: 'unset',
|
|
109
|
-
};
|
|
110
|
-
case 'sm':
|
|
111
|
-
return {
|
|
112
|
-
height: 32,
|
|
113
|
-
fontSize: 14,
|
|
114
|
-
lineHeight: '22px',
|
|
115
|
-
minHeight: 'unset',
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
})()),
|
|
119
|
-
'&:hover': {
|
|
120
|
-
border: `1px solid ${_theme.primaryColor}`,
|
|
121
|
-
// boxShadow: `0 0 2px 2px ${theme.colors.primary200}`,
|
|
122
|
-
},
|
|
123
|
-
'&:focus': {
|
|
124
|
-
boxShadow: `0px 0px 0px 2px ${_theme.colors[_theme.primaryColor][2]}`,
|
|
125
|
-
},
|
|
126
|
-
},
|
|
127
|
-
'&[data-invalid="true"]': {
|
|
128
|
-
border: `1px solid ${miscTheme.theme.colors.red600}`,
|
|
129
|
-
color: '#000',
|
|
130
|
-
},
|
|
131
|
-
}),
|
|
132
|
-
},
|
|
46
|
+
const Select = React.forwardRef((_a, ref) => {
|
|
47
|
+
var { keepSearch = false } = _a, props = tslib_es6.__rest(_a, ["keepSearch"]);
|
|
48
|
+
if (keepSearch) {
|
|
49
|
+
return (React__namespace["default"].createElement(_AutoComplete, Object.assign({}, props, { ref: ref })));
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
return React__namespace["default"].createElement(_Select, Object.assign({}, props, { ref: ref }));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
const _AutoComplete = React.forwardRef((_a, ref) => {
|
|
56
|
+
var { value, defaultValue, onChange, clearable } = _a, props = tslib_es6.__rest(_a, ["value", "defaultValue", "onChange", "clearable"]);
|
|
57
|
+
const [_value, handleChange] = hooks.useUncontrolled({
|
|
58
|
+
value,
|
|
59
|
+
defaultValue,
|
|
60
|
+
onChange,
|
|
133
61
|
});
|
|
134
|
-
|
|
62
|
+
const onClear = () => {
|
|
63
|
+
handleChange('');
|
|
64
|
+
};
|
|
65
|
+
return (React__namespace["default"].createElement(core.Autocomplete, Object.assign({ ref: ref, rightSection: React__namespace["default"].createElement(core.Image, { src: index.CommonGAssets.getAssetPath('chevron-down.svg'), fit: "none" }), size: "md", maxDropdownHeight: 300, onChange: (e) => handleChange(e), value: _value }, props, (clearable && (_value === null || _value === void 0 ? void 0 : _value.length) > 0
|
|
66
|
+
? {
|
|
67
|
+
rightSection: (React__namespace["default"].createElement(core.ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
|
|
68
|
+
React__namespace["default"].createElement(_IconSelect, null))),
|
|
69
|
+
}
|
|
70
|
+
: {}))));
|
|
71
|
+
});
|
|
72
|
+
const _Select = React.forwardRef((_a, ref) => {
|
|
73
|
+
var { searchValue, onSearchChange } = _a, props = tslib_es6.__rest(_a, ["searchValue", "onSearchChange"]);
|
|
74
|
+
const [_searchValue, handleSearchChange] = hooks.useUncontrolled({
|
|
75
|
+
defaultValue: '',
|
|
76
|
+
value: searchValue,
|
|
77
|
+
onChange: onSearchChange,
|
|
78
|
+
});
|
|
79
|
+
const onClear = () => {
|
|
80
|
+
handleSearchChange('');
|
|
81
|
+
};
|
|
82
|
+
return (React__namespace["default"].createElement(core.Select, Object.assign({ ref: ref, rightSection: React__namespace["default"].createElement(other.ArrowDown, { size: 18 }), rightSectionProps: { style: { pointerEvents: 'none' } }, size: "md", maxDropdownHeight: 300, onSearchChange: (e) => handleSearchChange(e), searchValue: _searchValue }, props, (props.clearable && (_searchValue === null || _searchValue === void 0 ? void 0 : _searchValue.length) > 0
|
|
83
|
+
? {
|
|
84
|
+
rightSection: (React__namespace["default"].createElement(core.ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
|
|
85
|
+
React__namespace["default"].createElement(_IconSelect, null))),
|
|
86
|
+
}
|
|
87
|
+
: {}))));
|
|
88
|
+
});
|
|
89
|
+
const _IconSelect = () => (React__namespace["default"].createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" },
|
|
90
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z", fill: "#8C8C8C" })));
|
|
135
91
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
92
|
+
class ErrorBoundary extends React.Component {
|
|
93
|
+
constructor() {
|
|
94
|
+
super(...arguments);
|
|
95
|
+
this.state = {
|
|
96
|
+
hasError: false,
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
static getDerivedStateFromError() {
|
|
100
|
+
// Update state so the next render will show the fallback UI.
|
|
101
|
+
return { hasError: true };
|
|
102
|
+
}
|
|
103
|
+
componentDidCatch(error, errorInfo) {
|
|
104
|
+
console.error('Uncaught error:', error, errorInfo);
|
|
105
|
+
}
|
|
106
|
+
render() {
|
|
107
|
+
if (this.state.hasError) {
|
|
108
|
+
return this.props.fallback || React__namespace["default"].createElement(React__namespace["default"].Fragment, null);
|
|
109
|
+
}
|
|
110
|
+
return this.props.children;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
152
113
|
|
|
153
|
-
const
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
'#2743ad',
|
|
165
|
-
],
|
|
166
|
-
mb: [
|
|
167
|
-
'#FFE9F1',
|
|
168
|
-
'#F8CCDC',
|
|
169
|
-
'#F5B4CB',
|
|
170
|
-
'#F29CBA',
|
|
171
|
-
'#EE84AA',
|
|
172
|
-
'#EB6B99',
|
|
173
|
-
'#E85388',
|
|
174
|
-
'#D34C7C',
|
|
175
|
-
'#BE446F',
|
|
176
|
-
'#A93D63',
|
|
177
|
-
],
|
|
178
|
-
blue: [
|
|
179
|
-
'#e3f2ff',
|
|
180
|
-
'#bcdeff',
|
|
181
|
-
'#91caff',
|
|
182
|
-
'#65b5ff',
|
|
183
|
-
'#45a4ff',
|
|
184
|
-
'#2b94ff',
|
|
185
|
-
'#2d87f3',
|
|
186
|
-
'#2c74df',
|
|
187
|
-
'#2b62cd',
|
|
188
|
-
'#2743ad',
|
|
189
|
-
],
|
|
190
|
-
gray: [
|
|
191
|
-
'#fafafa',
|
|
192
|
-
'#f2f2f2',
|
|
193
|
-
'#d9d9d9',
|
|
194
|
-
'#bfbfbf',
|
|
195
|
-
'#8c8c8c',
|
|
196
|
-
'#737373',
|
|
197
|
-
'#595959',
|
|
198
|
-
'#404040',
|
|
199
|
-
'#262626',
|
|
200
|
-
'#1a1a1a',
|
|
201
|
-
],
|
|
202
|
-
delftGray: [
|
|
203
|
-
'#F3F3F3',
|
|
204
|
-
'#EAEAEC',
|
|
205
|
-
'#D9DAE2',
|
|
206
|
-
'#B9BAC8',
|
|
207
|
-
'#9898A9',
|
|
208
|
-
'#7C7C8F',
|
|
209
|
-
'#5A5A72',
|
|
210
|
-
'#3E3F58',
|
|
211
|
-
'#202135',
|
|
212
|
-
'#0C0C12',
|
|
213
|
-
],
|
|
214
|
-
neutral: [
|
|
215
|
-
'#f7f9fc',
|
|
216
|
-
'#e4e8ec',
|
|
217
|
-
'#d2d6dc',
|
|
218
|
-
'#bfc5cc',
|
|
219
|
-
'#adb3bc',
|
|
220
|
-
'#9aa2ac',
|
|
221
|
-
'#87909c',
|
|
222
|
-
'#757f8c',
|
|
223
|
-
'#626d7c',
|
|
224
|
-
'#545E6C',
|
|
225
|
-
],
|
|
226
|
-
green: [
|
|
227
|
-
'#e0f8ee',
|
|
228
|
-
'#b3eed5',
|
|
229
|
-
'#7ce2b9',
|
|
230
|
-
'#2ed69e',
|
|
231
|
-
'#00CB8A',
|
|
232
|
-
'#00C076',
|
|
233
|
-
'#00B16A',
|
|
234
|
-
'#009E5C',
|
|
235
|
-
'#008C50',
|
|
236
|
-
'#006C39',
|
|
237
|
-
],
|
|
238
|
-
pink: [
|
|
239
|
-
'#fff1f6',
|
|
240
|
-
'#ffdce9',
|
|
241
|
-
'#fec7dc',
|
|
242
|
-
'#feb2cf',
|
|
243
|
-
'#fe9dc2',
|
|
244
|
-
'#fd87b4',
|
|
245
|
-
'#fd72a7',
|
|
246
|
-
'#fc5d9a',
|
|
247
|
-
'#fc488d',
|
|
248
|
-
'#e92d74',
|
|
249
|
-
],
|
|
250
|
-
violet: [
|
|
251
|
-
'#F5EDFF',
|
|
252
|
-
'#E7D2F7',
|
|
253
|
-
'#D8B7F0',
|
|
254
|
-
'#CA9CE8',
|
|
255
|
-
'#BB82E1',
|
|
256
|
-
'#AD67D9',
|
|
257
|
-
'#9E4CD1',
|
|
258
|
-
'#9031CA',
|
|
259
|
-
'#8116C2',
|
|
260
|
-
'#63059D',
|
|
261
|
-
],
|
|
262
|
-
yellow: [
|
|
263
|
-
'#fff8e2',
|
|
264
|
-
'#ffecb6',
|
|
265
|
-
'#ffe187',
|
|
266
|
-
'#ffd658',
|
|
267
|
-
'#ffcb37',
|
|
268
|
-
'#ffc326',
|
|
269
|
-
'#ffb521',
|
|
270
|
-
'#fea21e',
|
|
271
|
-
'#fe921d',
|
|
272
|
-
'#fc7419',
|
|
273
|
-
],
|
|
274
|
-
teal: [
|
|
275
|
-
'#e0f7fc',
|
|
276
|
-
'#b1ebf8',
|
|
277
|
-
'#7ddff3',
|
|
278
|
-
'#44d1ec',
|
|
279
|
-
'#00c7e6',
|
|
280
|
-
'#00bee0',
|
|
281
|
-
'#00aecd',
|
|
282
|
-
'#0099b2',
|
|
283
|
-
'#008599',
|
|
284
|
-
'#00626c',
|
|
285
|
-
],
|
|
286
|
-
indigol: [
|
|
287
|
-
'#CEDDF0',
|
|
288
|
-
'#ACC5E6',
|
|
289
|
-
'#95B3DA',
|
|
290
|
-
'#85A6CF',
|
|
291
|
-
'#6D91BE',
|
|
292
|
-
'#5F85B5',
|
|
293
|
-
'#4C77AC',
|
|
294
|
-
'#35639C',
|
|
295
|
-
'#284A75',
|
|
296
|
-
'#1B3250',
|
|
297
|
-
],
|
|
298
|
-
red: [
|
|
299
|
-
'#fae9e8',
|
|
300
|
-
'#feccbf',
|
|
301
|
-
'#FEAA96',
|
|
302
|
-
'#f44d2c',
|
|
303
|
-
'#ff6f4d',
|
|
304
|
-
'#ff5331',
|
|
305
|
-
'#f44d2c',
|
|
306
|
-
'#e64728',
|
|
307
|
-
'#d84023',
|
|
308
|
-
'#bf331b',
|
|
309
|
-
],
|
|
310
|
-
redViolet: [
|
|
311
|
-
'#F3EAEB',
|
|
312
|
-
'#E8D5D7',
|
|
313
|
-
'#DDC1C4',
|
|
314
|
-
'#D1ACB0',
|
|
315
|
-
'#C5979C',
|
|
316
|
-
'#BA8288',
|
|
317
|
-
'#AF6D74',
|
|
318
|
-
'#A35961',
|
|
319
|
-
'#97444D',
|
|
320
|
-
'#8C2F39',
|
|
321
|
-
],
|
|
114
|
+
const CarouselWrapper$1 = (_a) => {
|
|
115
|
+
var { slidesToShow = 1, children } = _a, props = tslib_es6.__rest(_a, ["slidesToShow", "children"]);
|
|
116
|
+
const length = Array.isArray(children) ? children.length : 1;
|
|
117
|
+
if (!length)
|
|
118
|
+
return null;
|
|
119
|
+
return (React__namespace["default"].createElement(ErrorBoundary, null,
|
|
120
|
+
React__namespace["default"].createElement(carousel.Carousel
|
|
121
|
+
// get 2 precision number
|
|
122
|
+
, Object.assign({
|
|
123
|
+
// get 2 precision number
|
|
124
|
+
slideSize: String(Math.floor((1 / slidesToShow) * 10000) / 100) + '%', containScroll: "trimSnaps" }, props), children)));
|
|
322
125
|
};
|
|
323
|
-
const
|
|
126
|
+
const Carousel = CarouselWrapper$1;
|
|
127
|
+
Carousel.Slide = carousel.Carousel.Slide;
|
|
128
|
+
|
|
129
|
+
const StyledCarousel = styled__default["default"](Carousel) `
|
|
130
|
+
cursor: grab;
|
|
131
|
+
width: 100%;
|
|
132
|
+
.mantine-Carousel-control {
|
|
133
|
+
background: rgb(255, 255, 255);
|
|
134
|
+
opacity: 1;
|
|
135
|
+
border: none;
|
|
136
|
+
border-radius: 0;
|
|
137
|
+
box-shadow: none;
|
|
138
|
+
&[data-inactive] {
|
|
139
|
+
opacity: 0;
|
|
140
|
+
cursor: default;
|
|
141
|
+
}
|
|
142
|
+
&:first-child {
|
|
143
|
+
padding-right: 24px;
|
|
144
|
+
background: linear-gradient(
|
|
145
|
+
90deg,
|
|
146
|
+
rgba(255, 255, 255, 1) 0%,
|
|
147
|
+
rgba(255, 255, 255, 1) 50%,
|
|
148
|
+
rgba(255, 255, 255, 0) 100%
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
&:last-child {
|
|
152
|
+
padding-left: 24px;
|
|
153
|
+
background: linear-gradient(
|
|
154
|
+
270deg,
|
|
155
|
+
rgba(255, 255, 255, 1) 0%,
|
|
156
|
+
rgba(255, 255, 255, 1) 50%,
|
|
157
|
+
rgba(255, 255, 255, 0) 100%
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.mantine-Carousel-container {
|
|
163
|
+
align-items: center;
|
|
164
|
+
}
|
|
165
|
+
`;
|
|
166
|
+
|
|
167
|
+
var useStyles$2 = core.createStyles((_theme, _params) => {
|
|
324
168
|
return {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
fontFamily: (locale === Locale.LOCALE.Cambodia
|
|
331
|
-
? 'Battambang'
|
|
332
|
-
: locale === Locale.LOCALE.Thailand
|
|
333
|
-
? 'Noto Sans Thai'
|
|
334
|
-
: 'Inter') +
|
|
335
|
-
`, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif`,
|
|
336
|
-
breakpoints: {
|
|
337
|
-
xs: core.em(utils.Breakpoints.BREAK_POINT_SMALL_MOBILE),
|
|
338
|
-
sm: core.em(utils.Breakpoints.BREAK_POINT_MOBILE),
|
|
339
|
-
md: core.em(utils.Breakpoints.BREAK_POINT_TABLET),
|
|
340
|
-
lg: core.em(utils.Breakpoints.BREAK_POINT_PC),
|
|
341
|
-
xl: core.em(utils.Breakpoints.BREAK_POINT_LGPC),
|
|
342
|
-
},
|
|
343
|
-
components: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, GlobalInputStyle(locale)), getGlobalRadioStyle), GlobalButtonStyle), useMantineLocale.GlobalHeadingStyle), useMantineLocale.GlobalContainerStyle),
|
|
344
|
-
other: {
|
|
345
|
-
template,
|
|
346
|
-
defaultImage: index$2.CommonGAssets.getAssetPath(template === 'mb' ? 'default-image-mb.jpg' : 'default-image.jpg'),
|
|
169
|
+
root: {
|
|
170
|
+
color: _params.color ||
|
|
171
|
+
(_theme.primaryColor === 'hb'
|
|
172
|
+
? _theme.colors.hb[6]
|
|
173
|
+
: _theme.fn.primaryColor()),
|
|
347
174
|
},
|
|
348
175
|
};
|
|
349
|
-
};
|
|
350
|
-
|
|
351
|
-
const CambodiaRoundIcon = (props) => (React__namespace["default"].createElement(useScreenSize.ImageWrap, Object.assign({ alt: "round cambodia flag", src: index$2.CommonGAssets.getAssetPath('flags/cambodiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
352
|
-
const CambodiaSquareIcon = (props) => (React__namespace["default"].createElement(useScreenSize.ImageWrap, Object.assign({ alt: "square cambodia flag", src: index$2.CommonGAssets.getAssetPath('flags/cambodiaSquare.png') }, props)));
|
|
176
|
+
});
|
|
353
177
|
|
|
354
|
-
const
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
React__namespace["default"].createElement("path", { d: "M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z", fill: "#3F51B5" }),
|
|
360
|
-
React__namespace["default"].createElement("path", { d: "M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z", fill: "white" }),
|
|
361
|
-
React__namespace["default"].createElement("path", { d: "M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z", fill: "#3F51B5" }),
|
|
362
|
-
React__namespace["default"].createElement("path", { d: "M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z", fill: "#3F51B5" }),
|
|
363
|
-
React__namespace["default"].createElement("path", { d: "M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z", fill: "white" }),
|
|
364
|
-
React__namespace["default"].createElement("path", { d: "M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z", fill: "white" }),
|
|
365
|
-
React__namespace["default"].createElement("path", { d: "M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z", fill: "white" }),
|
|
366
|
-
React__namespace["default"].createElement("path", { d: "M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z", fill: "white" }),
|
|
367
|
-
React__namespace["default"].createElement("path", { d: "M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z", fill: "white" }),
|
|
368
|
-
React__namespace["default"].createElement("path", { d: "M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z", fill: "white" }),
|
|
369
|
-
React__namespace["default"].createElement("path", { d: "M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z", fill: "white" }),
|
|
370
|
-
React__namespace["default"].createElement("path", { d: "M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z", fill: "white" }),
|
|
371
|
-
React__namespace["default"].createElement("path", { d: "M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z", fill: "white" }),
|
|
372
|
-
React__namespace["default"].createElement("path", { d: "M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z", fill: "white" }),
|
|
373
|
-
React__namespace["default"].createElement("path", { d: "M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z", fill: "white" }),
|
|
374
|
-
React__namespace["default"].createElement("path", { d: "M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z", fill: "#E53935" }),
|
|
375
|
-
React__namespace["default"].createElement("path", { d: "M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z", fill: "#E53935" }),
|
|
376
|
-
React__namespace["default"].createElement("path", { d: "M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z", fill: "white" }),
|
|
377
|
-
React__namespace["default"].createElement("path", { d: "M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z", fill: "white" }),
|
|
378
|
-
React__namespace["default"].createElement("path", { d: "M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z", fill: "white" }),
|
|
379
|
-
React__namespace["default"].createElement("path", { d: "M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z", fill: "white" }),
|
|
380
|
-
React__namespace["default"].createElement("path", { d: "M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z", fill: "#E53935" }),
|
|
381
|
-
React__namespace["default"].createElement("path", { d: "M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z", fill: "#E53935" }),
|
|
382
|
-
React__namespace["default"].createElement("path", { d: "M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z", fill: "#E53935" }),
|
|
383
|
-
React__namespace["default"].createElement("path", { d: "M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z", fill: "#E53935" }),
|
|
384
|
-
React__namespace["default"].createElement("path", { d: "M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z", fill: "#E53935" }))));
|
|
385
|
-
const EnglishSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 26 26", fill: "none" }, props),
|
|
386
|
-
React__namespace["default"].createElement("g", null,
|
|
387
|
-
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "1", y: "5", width: "24", height: "16" },
|
|
388
|
-
React__namespace["default"].createElement("path", { d: "M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z", fill: "#3F51B5" })),
|
|
389
|
-
React__namespace["default"].createElement("path", { d: "M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z", fill: "#3F51B5" }),
|
|
390
|
-
React__namespace["default"].createElement("path", { d: "M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z", fill: "white" }),
|
|
391
|
-
React__namespace["default"].createElement("path", { d: "M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z", fill: "white" }),
|
|
392
|
-
React__namespace["default"].createElement("path", { d: "M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z", fill: "white" }),
|
|
393
|
-
React__namespace["default"].createElement("path", { d: "M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z", fill: "white" }),
|
|
394
|
-
React__namespace["default"].createElement("path", { d: "M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z", fill: "white" }),
|
|
395
|
-
React__namespace["default"].createElement("path", { d: "M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z", fill: "white" }),
|
|
396
|
-
React__namespace["default"].createElement("path", { d: "M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z", fill: "#E53935" }),
|
|
397
|
-
React__namespace["default"].createElement("path", { d: "M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z", fill: "#E53935" }))));
|
|
178
|
+
const Anchor = (_a) => {
|
|
179
|
+
var { color, styles, className } = _a, rest = tslib_es6.__rest(_a, ["color", "styles", "className"]);
|
|
180
|
+
const { classes, cx } = useStyles$2({ color }, { name: 'Anchor', styles });
|
|
181
|
+
return React__namespace["default"].createElement(index$1.Text, Object.assign({ as: "a", className: cx(classes.root, className) }, rest));
|
|
182
|
+
};
|
|
398
183
|
|
|
399
|
-
const
|
|
400
|
-
|
|
184
|
+
const BreadcrumbItem = (_a) => {
|
|
185
|
+
var { children } = _a, rest = tslib_es6.__rest(_a, ["children"]);
|
|
186
|
+
return (React__namespace["default"].createElement(Anchor, Object.assign({ size: "p4", color: 'gray.8' }, rest), children));
|
|
187
|
+
};
|
|
401
188
|
|
|
402
|
-
const
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
React__namespace["default"].createElement("rect", { y: "10", width: "20", height: "10", fill: "white" }))));
|
|
411
|
-
};
|
|
412
|
-
const IndonesiaSquareIcon = (_a) => {
|
|
413
|
-
var rest = tslib_es6.__rest(_a, []);
|
|
414
|
-
const clipPathId = useUniqueId.useUniqueId();
|
|
415
|
-
return (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, rest),
|
|
416
|
-
React__namespace["default"].createElement("g", { clipPath: `url(#${clipPathId})` },
|
|
417
|
-
React__namespace["default"].createElement("rect", { y: "0.0166016", width: "24", height: "8", fill: "#CE1126" }),
|
|
418
|
-
React__namespace["default"].createElement("rect", { y: "8.0166", width: "24", height: "8", fill: "white" })),
|
|
419
|
-
React__namespace["default"].createElement("defs", null,
|
|
420
|
-
React__namespace["default"].createElement("clipPath", { id: clipPathId },
|
|
421
|
-
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "white" })))));
|
|
189
|
+
const AspectRatio = (props) => {
|
|
190
|
+
return (React__namespace["default"].createElement(core.AspectRatio, Object.assign({ sx: {
|
|
191
|
+
borderRadius: 4,
|
|
192
|
+
overflow: 'hidden',
|
|
193
|
+
'> img': {
|
|
194
|
+
objectFit: 'contain',
|
|
195
|
+
},
|
|
196
|
+
} }, props)));
|
|
422
197
|
};
|
|
423
198
|
|
|
424
|
-
const
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
React__namespace["default"].createElement("
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
199
|
+
const _Breadcrumbs = (_a) => {
|
|
200
|
+
var _b;
|
|
201
|
+
var { children, showHomeIcon = true, homeIconHref = '/' } = _a, rest = tslib_es6.__rest(_a, ["children", "showHomeIcon", "homeIconHref"]);
|
|
202
|
+
const theme = core.useMantineTheme();
|
|
203
|
+
const isMarryBaby = ((_b = theme === null || theme === void 0 ? void 0 : theme.other) === null || _b === void 0 ? void 0 : _b.template) === 'mb';
|
|
204
|
+
const [embla, setEmbla] = React.useState(null);
|
|
205
|
+
const { isMobile } = index$2.useScreenSize();
|
|
206
|
+
const [, setShouldAllowClick] = React.useState(true);
|
|
207
|
+
const handleScroll = React.useCallback(() => {
|
|
208
|
+
setShouldAllowClick(false);
|
|
209
|
+
}, []);
|
|
210
|
+
const handlePointerUp = React.useCallback(() => {
|
|
211
|
+
setTimeout(() => {
|
|
212
|
+
setShouldAllowClick(true);
|
|
213
|
+
}, 1000);
|
|
214
|
+
}, []);
|
|
215
|
+
React.useEffect(() => {
|
|
216
|
+
if (embla) {
|
|
217
|
+
embla.on('scroll', handleScroll);
|
|
218
|
+
embla.on('pointerUp', handlePointerUp);
|
|
219
|
+
}
|
|
220
|
+
return () => {
|
|
221
|
+
if (embla) {
|
|
222
|
+
embla.off('scroll', handleScroll);
|
|
223
|
+
embla.on('pointerUp', handlePointerUp);
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
}, [embla, handleScroll, handlePointerUp]);
|
|
227
|
+
return (React__namespace["default"].createElement(StyledCarousel, Object.assign({ align: "center", slideGap: "xs", dragFree: true, draggable: isMobile, slideSize: "0", getEmblaApi: setEmbla, controlsOffset: -52, previousControlIcon: React__namespace["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
228
|
+
React__namespace["default"].createElement("path", { d: "M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z", fill: "#595959" })), nextControlIcon: React__namespace["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
229
|
+
React__namespace["default"].createElement("path", { d: "M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z", fill: "#595959" })) }, rest),
|
|
230
|
+
showHomeIcon && (React__namespace["default"].createElement(Carousel.Slide, { style: { borderRight: `1px solid ${index$3.themeColors.neutral[1]}` } },
|
|
231
|
+
React__namespace["default"].createElement(BreadcrumbItem, { href: homeIconHref, target: "_blank", className: "pointer-event-child-none" },
|
|
232
|
+
React__namespace["default"].createElement(core.Box, { sx: Object.assign({}, (!isMarryBaby && {
|
|
233
|
+
borderRadius: '50%',
|
|
234
|
+
display: 'flex',
|
|
235
|
+
justifyContent: 'center',
|
|
236
|
+
alignItems: 'center',
|
|
237
|
+
})), bg: !isMarryBaby && index$3.themeColors.neutral[0], p: !isMarryBaby ? 6 : 0 },
|
|
238
|
+
React__namespace["default"].createElement(AspectRatio, { ratio: 1, w: 18 }, isMarryBaby ? (React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
239
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1183 3.67722C12.8727 2.70772 11.1281 2.708 9.88187 3.67718L14.1183 3.67722ZM14.1183 3.67722L19.718 8.03283C20.5589 8.68632 21.05 9.69173 21.05 10.7562V17.6002C21.05 19.5057 19.5055 21.0502 17.6 21.0502H6.40016C4.49466 21.0502 2.9502 19.5057 2.9502 17.6002V10.7562C2.9502 9.69163 3.44113 8.68632 4.28216 8.03283L9.88187 3.67718M10.6799 4.70339L5.08006 9.05916C4.55657 9.46592 4.2502 10.0923 4.2502 10.7562V17.6002C4.2502 18.7878 5.21263 19.7502 6.40016 19.7502H17.6C18.7875 19.7502 19.75 18.7878 19.75 17.6002V10.7562C19.75 10.0923 19.4438 9.46612 18.9204 9.05936L13.3202 4.70335C12.5443 4.09941 11.4571 4.09905 10.6799 4.70339Z", fill: "#3E3F58" }),
|
|
240
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.2373 13.1626C12.5546 12.4794 11.4466 12.4791 10.7629 13.1628C10.0793 13.8464 10.0793 14.9538 10.7629 15.6374C11.4465 16.321 12.5539 16.321 13.2375 15.6374C13.9211 14.9538 13.9211 13.8464 13.2375 13.1628L13.2373 13.1626ZM14.1567 12.2436C12.9661 11.0521 11.0348 11.0525 9.84366 12.2436C8.65237 13.4348 8.65237 15.3653 9.84366 16.5566C11.0349 17.7479 12.9654 17.7479 14.1567 16.5566C15.348 15.3653 15.348 13.4348 14.1567 12.2436Z", fill: "#3E3F58" }))) : (React__namespace["default"].createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
|
|
241
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z", fill: "#595959" })))))))),
|
|
242
|
+
React__namespace["default"].createElement(Carousel.Slide, null),
|
|
243
|
+
React__namespace["default"].createElement(Carousel.Slide, null,
|
|
244
|
+
React__namespace["default"].createElement(core.Breadcrumbs, { styles: {
|
|
245
|
+
separator: {
|
|
246
|
+
marginInline: 4,
|
|
247
|
+
},
|
|
248
|
+
}, separator: React__namespace["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
249
|
+
React__namespace["default"].createElement("path", { d: "M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z", fill: "#8C8C8C" })) }, children))));
|
|
250
|
+
};
|
|
251
|
+
const Breadcrumbs = _Breadcrumbs;
|
|
252
|
+
Breadcrumbs.Item = BreadcrumbItem;
|
|
459
253
|
|
|
460
|
-
const
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z", fill: "white" }),
|
|
469
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z", fill: "white" }),
|
|
470
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z", fill: "white" }),
|
|
471
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z", fill: "white" }))));
|
|
472
|
-
const MyanmarSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
473
|
-
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "#FECB00" }),
|
|
474
|
-
React__namespace["default"].createElement("rect", { y: "8.3811", width: "24", height: "7.61905", rx: "2", fill: "#EA2839" }),
|
|
475
|
-
React__namespace["default"].createElement("rect", { y: "5.86987", width: "24", height: "4.93542", fill: "#34B233" }),
|
|
476
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z", fill: "white" }),
|
|
477
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z", fill: "white" }),
|
|
478
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z", fill: "white" }),
|
|
479
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z", fill: "white" }),
|
|
480
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z", fill: "white" })));
|
|
254
|
+
const StyledTextArea = styled__default["default"](core.Textarea) `
|
|
255
|
+
.mantine-Textarea-input {
|
|
256
|
+
padding: 12px 16px;
|
|
257
|
+
background: #ffffff;
|
|
258
|
+
border: 1px solid ${miscTheme.theme.colors.gray200};
|
|
259
|
+
border-radius: 4px;
|
|
260
|
+
}
|
|
261
|
+
`;
|
|
481
262
|
|
|
482
|
-
const
|
|
483
|
-
|
|
263
|
+
const StyledAccordion = styled__default["default"](core.Accordion) `
|
|
264
|
+
.mantine-Accordion-label {
|
|
265
|
+
padding: 0;
|
|
266
|
+
}
|
|
267
|
+
.mantine-Accordion-control {
|
|
268
|
+
&:hover {
|
|
269
|
+
background-color: transparent;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
.mantine-Accordion-item {
|
|
273
|
+
.mantine-Accordion-chevron {
|
|
274
|
+
> div {
|
|
275
|
+
background-repeat: no-repeat;
|
|
276
|
+
width: 16px;
|
|
277
|
+
height: 16px;
|
|
278
|
+
background-position: center;
|
|
279
|
+
background-image: url(${(props) => props.closeChevron || index.CommonGAssets.getAssetPath('plus-icon.svg')});
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
&[data-active='true'] {
|
|
283
|
+
.mantine-Accordion-chevron {
|
|
284
|
+
> div {
|
|
285
|
+
background-image: url(${(props) => props.openChevron || index.CommonGAssets.getAssetPath('minus-icon.svg')});
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
.mantine-Accordion-panel {
|
|
291
|
+
border-radius: ${miscTheme.theme.borderRadius};
|
|
292
|
+
}
|
|
293
|
+
.mantine-Accordion-content {
|
|
294
|
+
white-space: pre-wrap;
|
|
295
|
+
}
|
|
296
|
+
`;
|
|
484
297
|
|
|
485
|
-
const
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
React__namespace["default"].createElement("rect", { width: "30", height: "20", fill: "#ED1E24" }),
|
|
494
|
-
React__namespace["default"].createElement("rect", { width: "15", height: "10", fill: "#2B2F84" }),
|
|
495
|
-
React__namespace["default"].createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
|
|
496
|
-
React__namespace["default"].createElement("path", { d: "M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z", fill: "white" }),
|
|
497
|
-
React__namespace["default"].createElement("path", { d: "M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z", fill: "white" }),
|
|
498
|
-
React__namespace["default"].createElement("path", { d: "M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z", fill: "white" }),
|
|
499
|
-
React__namespace["default"].createElement("path", { d: "M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z", fill: "white" }),
|
|
500
|
-
React__namespace["default"].createElement("path", { d: "M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z", fill: "white" }),
|
|
501
|
-
React__namespace["default"].createElement("path", { d: "M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z", fill: "white" }),
|
|
502
|
-
React__namespace["default"].createElement("path", { d: "M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z", fill: "white" }),
|
|
503
|
-
React__namespace["default"].createElement("path", { d: "M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z", fill: "white" }),
|
|
504
|
-
React__namespace["default"].createElement("path", { d: "M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z", fill: "white" }),
|
|
505
|
-
React__namespace["default"].createElement("path", { d: "M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z", fill: "white" }),
|
|
506
|
-
React__namespace["default"].createElement("path", { d: "M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z", fill: "white" }),
|
|
507
|
-
React__namespace["default"].createElement("path", { d: "M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z", fill: "white" })))));
|
|
508
|
-
const TaiwanSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
509
|
-
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "#ED1E24" }),
|
|
510
|
-
React__namespace["default"].createElement("path", { d: "M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z", fill: "#2B2F84" }),
|
|
511
|
-
React__namespace["default"].createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
|
|
512
|
-
React__namespace["default"].createElement("path", { d: "M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z", fill: "white" }),
|
|
513
|
-
React__namespace["default"].createElement("path", { d: "M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z", fill: "white" }),
|
|
514
|
-
React__namespace["default"].createElement("path", { d: "M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z", fill: "white" }),
|
|
515
|
-
React__namespace["default"].createElement("path", { d: "M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z", fill: "white" }),
|
|
516
|
-
React__namespace["default"].createElement("path", { d: "M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z", fill: "white" }),
|
|
517
|
-
React__namespace["default"].createElement("path", { d: "M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z", fill: "white" }),
|
|
518
|
-
React__namespace["default"].createElement("path", { d: "M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z", fill: "white" }),
|
|
519
|
-
React__namespace["default"].createElement("path", { d: "M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z", fill: "white" }),
|
|
520
|
-
React__namespace["default"].createElement("path", { d: "M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z", fill: "white" }),
|
|
521
|
-
React__namespace["default"].createElement("path", { d: "M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z", fill: "white" }),
|
|
522
|
-
React__namespace["default"].createElement("path", { d: "M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z", fill: "white" }),
|
|
523
|
-
React__namespace["default"].createElement("path", { d: "M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z", fill: "white" })));
|
|
298
|
+
const _Accordion = (_a) => {
|
|
299
|
+
var { children } = _a, rest = tslib_es6.__rest(_a, ["children"]);
|
|
300
|
+
return (React__namespace["default"].createElement(StyledAccordion, Object.assign({ chevron: React__namespace["default"].createElement("div", null), disableChevronRotation: true, transitionDuration: 300 }, rest), children));
|
|
301
|
+
};
|
|
302
|
+
const Accordion = _Accordion;
|
|
303
|
+
Accordion.Control = core.Accordion.Control;
|
|
304
|
+
Accordion.Item = core.Accordion.Item;
|
|
305
|
+
Accordion.Panel = core.Accordion.Panel;
|
|
524
306
|
|
|
525
|
-
const
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
React__namespace["default"].createElement(
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
307
|
+
const DEFAULT_AVATAR = index.CommonGAssets.getAssetPath('avatar.jpg');
|
|
308
|
+
const Avatar = (_a) => {
|
|
309
|
+
var { withIndicator = false, indicatorConfig = null, size = 56, children, styles, placeholderText } = _a, // usually first letter of name
|
|
310
|
+
avatarProps = tslib_es6.__rest(_a, ["withIndicator", "indicatorConfig", "size", "children", "styles", "placeholderText"]);
|
|
311
|
+
const generateAvatar = () => {
|
|
312
|
+
return (React__namespace["default"].createElement(core.Avatar, Object.assign({ size: size, radius: "xl" }, avatarProps, { imageProps: Object.assign({ loading: 'lazy' }, avatarProps.imageProps), styles: {
|
|
313
|
+
placeholder: {
|
|
314
|
+
backgroundColor: avatarProps.color,
|
|
315
|
+
color: 'white',
|
|
316
|
+
},
|
|
317
|
+
} }), children ? (children) : placeholderText ? (placeholderText) : (React__namespace["default"].createElement(index$2.ImageWrap, { src: DEFAULT_AVATAR, width: size, alt: avatarProps.alt || 'avatar' }))));
|
|
318
|
+
};
|
|
319
|
+
if (withIndicator)
|
|
320
|
+
return (React__namespace["default"].createElement(core.Indicator, Object.assign({ inline: true, position: "bottom-end", offset: 9 }, indicatorConfig, { styles: Object.assign({ indicator: {
|
|
321
|
+
backgroundColor: React__namespace["default"].isValidElement(indicatorConfig.label) && 'transparent',
|
|
322
|
+
zIndex: 1,
|
|
323
|
+
} }, styles) }), generateAvatar()));
|
|
324
|
+
return generateAvatar();
|
|
325
|
+
};
|
|
536
326
|
|
|
537
|
-
const
|
|
538
|
-
React__namespace["default"].createElement("
|
|
539
|
-
|
|
540
|
-
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
541
|
-
React__namespace["default"].createElement("rect", { x: "-4", y: "-0.0166016", width: "28", height: "20", fill: "#DA251D" }),
|
|
542
|
-
React__namespace["default"].createElement("path", { d: "M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z", fill: "#FFEB3B" }))));
|
|
543
|
-
const VietnamSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
544
|
-
React__namespace["default"].createElement("g", null,
|
|
545
|
-
React__namespace["default"].createElement("clipPath", null,
|
|
546
|
-
React__namespace["default"].createElement("rect", { width: "24", height: "16", fill: "white" })),
|
|
547
|
-
React__namespace["default"].createElement("path", { d: "M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z", fill: "#DA251D" }),
|
|
548
|
-
React__namespace["default"].createElement("path", { d: "M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z", fill: "#FFEB3B" }))));
|
|
327
|
+
const FileInput = (props) => {
|
|
328
|
+
return React__namespace["default"].createElement(core.FileInput, Object.assign({ size: "md" }, props));
|
|
329
|
+
};
|
|
549
330
|
|
|
550
|
-
|
|
331
|
+
const DEBOUNCED_TIME = 300;
|
|
332
|
+
const emotionCache = core.createEmotionCache({
|
|
333
|
+
key: 'mantine',
|
|
334
|
+
prepend: false,
|
|
335
|
+
});
|
|
551
336
|
|
|
552
|
-
const
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
break;
|
|
568
|
-
case 'th':
|
|
569
|
-
flag = React__namespace["default"].createElement(ThailandSquareIcon, null);
|
|
570
|
-
flagRounded = React__namespace["default"].createElement(ThailandRoundIcon, null);
|
|
571
|
-
break;
|
|
572
|
-
case 'km':
|
|
573
|
-
flag = React__namespace["default"].createElement(CambodiaSquareIcon, null);
|
|
574
|
-
flagRounded = React__namespace["default"].createElement(CambodiaRoundIcon, null);
|
|
575
|
-
break;
|
|
576
|
-
case 'ms':
|
|
577
|
-
flag = React__namespace["default"].createElement(MalaysiaSquareIcon, null);
|
|
578
|
-
flagRounded = React__namespace["default"].createElement(MalaysiaRoundIcon, null);
|
|
579
|
-
break;
|
|
580
|
-
case 'my':
|
|
581
|
-
flag = React__namespace["default"].createElement(MyanmarSquareIcon, null);
|
|
582
|
-
flagRounded = React__namespace["default"].createElement(MyanmarRoundIcon, null);
|
|
583
|
-
break;
|
|
584
|
-
case 'tl':
|
|
585
|
-
flag = React__namespace["default"].createElement(PhilippinesSquareIcon, null);
|
|
586
|
-
flagRounded = React__namespace["default"].createElement(PhilippinesRoundIcon, null);
|
|
587
|
-
break;
|
|
588
|
-
case 'hi':
|
|
589
|
-
flag = React__namespace["default"].createElement(IndiaSquareIcon, null);
|
|
590
|
-
flagRounded = React__namespace["default"].createElement(IndiaRoundIcon, null);
|
|
591
|
-
break;
|
|
592
|
-
case 'zh':
|
|
593
|
-
flag = React__namespace["default"].createElement(TaiwanSquareIcon, null);
|
|
594
|
-
flagRounded = React__namespace["default"].createElement(TaiwanRoundIcon, null);
|
|
595
|
-
break;
|
|
596
|
-
}
|
|
597
|
-
if (!flag && !flagRounded) {
|
|
598
|
-
switch (country) {
|
|
599
|
-
case 'VN':
|
|
600
|
-
flag = React__namespace["default"].createElement(VietnamSquareIcon, null);
|
|
601
|
-
flagRounded = React__namespace["default"].createElement(VietnamRoundIcon, null);
|
|
602
|
-
break;
|
|
603
|
-
case 'ID':
|
|
604
|
-
flag = React__namespace["default"].createElement(IndonesiaSquareIcon, { isTesting: isTesting });
|
|
605
|
-
flagRounded = React__namespace["default"].createElement(IndonesiaRoundIcon, { isTesting: isTesting });
|
|
606
|
-
break;
|
|
607
|
-
case 'TH':
|
|
608
|
-
flag = React__namespace["default"].createElement(ThailandSquareIcon, null);
|
|
609
|
-
flagRounded = React__namespace["default"].createElement(ThailandRoundIcon, null);
|
|
610
|
-
break;
|
|
611
|
-
case 'KH':
|
|
612
|
-
flag = React__namespace["default"].createElement(CambodiaSquareIcon, null);
|
|
613
|
-
flagRounded = React__namespace["default"].createElement(CambodiaRoundIcon, null);
|
|
614
|
-
break;
|
|
615
|
-
case 'MY':
|
|
616
|
-
flag = React__namespace["default"].createElement(MalaysiaSquareIcon, null);
|
|
617
|
-
flagRounded = React__namespace["default"].createElement(MalaysiaRoundIcon, null);
|
|
618
|
-
break;
|
|
619
|
-
case 'MM':
|
|
620
|
-
flag = React__namespace["default"].createElement(MyanmarSquareIcon, null);
|
|
621
|
-
flagRounded = React__namespace["default"].createElement(MyanmarRoundIcon, null);
|
|
622
|
-
break;
|
|
623
|
-
case 'PH':
|
|
624
|
-
flag = React__namespace["default"].createElement(PhilippinesSquareIcon, null);
|
|
625
|
-
flagRounded = React__namespace["default"].createElement(PhilippinesRoundIcon, null);
|
|
626
|
-
break;
|
|
627
|
-
case 'IN':
|
|
628
|
-
flag = React__namespace["default"].createElement(IndiaSquareIcon, null);
|
|
629
|
-
flagRounded = React__namespace["default"].createElement(IndiaRoundIcon, null);
|
|
630
|
-
break;
|
|
631
|
-
case 'TW':
|
|
632
|
-
flag = React__namespace["default"].createElement(TaiwanSquareIcon, null);
|
|
633
|
-
flagRounded = React__namespace["default"].createElement(TaiwanRoundIcon, null);
|
|
634
|
-
break;
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
return (React__namespace["default"].createElement("div", { className: `${styles$2.flag} ${className || ''}`, style: {
|
|
638
|
-
'--width': width || 20,
|
|
639
|
-
'--height': height || 20,
|
|
640
|
-
} }, rounded ? flagRounded : flag));
|
|
337
|
+
const NumberInput = (_a) => {
|
|
338
|
+
var { value: _value, onChange: _onChange } = _a, props = tslib_es6.__rest(_a, ["value", "onChange"]);
|
|
339
|
+
const [value, setValue] = React.useState(_value);
|
|
340
|
+
const [debounced] = hooks.useDebouncedValue(value, DEBOUNCED_TIME);
|
|
341
|
+
React.useEffect(() => {
|
|
342
|
+
_onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
|
|
343
|
+
}, [debounced]);
|
|
344
|
+
React.useEffect(() => {
|
|
345
|
+
setValue(_value);
|
|
346
|
+
}, [_value]);
|
|
347
|
+
return (React__namespace["default"].createElement(core.NumberInput, Object.assign({ size: "md", stepHoldDelay: 500, stepHoldInterval: (t) => Math.max(1000 / Math.pow(t, 2), 25), onChange: setValue, hideControls: true, min: 0, formatter: (value) => {
|
|
348
|
+
if (Number(value) === 0)
|
|
349
|
+
return value;
|
|
350
|
+
return value || '';
|
|
351
|
+
}, removeTrailingZeros: true, value: value }, props)));
|
|
641
352
|
};
|
|
642
353
|
|
|
643
|
-
const
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
});
|
|
652
|
-
const
|
|
653
|
-
|
|
654
|
-
const [_value, handleChange] = hooks.useUncontrolled({
|
|
655
|
-
value,
|
|
656
|
-
defaultValue,
|
|
657
|
-
onChange,
|
|
658
|
-
});
|
|
659
|
-
const onClear = () => {
|
|
660
|
-
handleChange('');
|
|
661
|
-
};
|
|
662
|
-
return (React__namespace["default"].createElement(core.Autocomplete, Object.assign({ ref: ref, rightSection: React__namespace["default"].createElement(core.Image, { src: index$2.CommonGAssets.getAssetPath('chevron-down.svg'), fit: "none" }), size: "md", maxDropdownHeight: 300, onChange: (e) => handleChange(e), value: _value }, props, (clearable && (_value === null || _value === void 0 ? void 0 : _value.length) > 0
|
|
663
|
-
? {
|
|
664
|
-
rightSection: (React__namespace["default"].createElement(core.ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
|
|
665
|
-
React__namespace["default"].createElement(_IconSelect, null))),
|
|
666
|
-
}
|
|
667
|
-
: {}))));
|
|
668
|
-
});
|
|
669
|
-
const _Select = React.forwardRef((_a, ref) => {
|
|
670
|
-
var { searchValue, onSearchChange } = _a, props = tslib_es6.__rest(_a, ["searchValue", "onSearchChange"]);
|
|
671
|
-
const [_searchValue, handleSearchChange] = hooks.useUncontrolled({
|
|
672
|
-
defaultValue: '',
|
|
673
|
-
value: searchValue,
|
|
674
|
-
onChange: onSearchChange,
|
|
675
|
-
});
|
|
676
|
-
const onClear = () => {
|
|
677
|
-
handleSearchChange('');
|
|
678
|
-
};
|
|
679
|
-
return (React__namespace["default"].createElement(core.Select, Object.assign({ ref: ref, rightSection: React__namespace["default"].createElement(other.ArrowDown, { size: 18 }), rightSectionProps: { style: { pointerEvents: 'none' } }, size: "md", maxDropdownHeight: 300, onSearchChange: (e) => handleSearchChange(e), searchValue: _searchValue }, props, (props.clearable && (_searchValue === null || _searchValue === void 0 ? void 0 : _searchValue.length) > 0
|
|
680
|
-
? {
|
|
681
|
-
rightSection: (React__namespace["default"].createElement(core.ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
|
|
682
|
-
React__namespace["default"].createElement(_IconSelect, null))),
|
|
683
|
-
}
|
|
684
|
-
: {}))));
|
|
685
|
-
});
|
|
686
|
-
const _IconSelect = () => (React__namespace["default"].createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" },
|
|
687
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z", fill: "#8C8C8C" })));
|
|
688
|
-
|
|
689
|
-
class ErrorBoundary extends React.Component {
|
|
690
|
-
constructor() {
|
|
691
|
-
super(...arguments);
|
|
692
|
-
this.state = {
|
|
693
|
-
hasError: false,
|
|
694
|
-
};
|
|
695
|
-
}
|
|
696
|
-
static getDerivedStateFromError() {
|
|
697
|
-
// Update state so the next render will show the fallback UI.
|
|
698
|
-
return { hasError: true };
|
|
699
|
-
}
|
|
700
|
-
componentDidCatch(error, errorInfo) {
|
|
701
|
-
console.error('Uncaught error:', error, errorInfo);
|
|
702
|
-
}
|
|
703
|
-
render() {
|
|
704
|
-
if (this.state.hasError) {
|
|
705
|
-
return this.props.fallback || React__namespace["default"].createElement(React__namespace["default"].Fragment, null);
|
|
706
|
-
}
|
|
707
|
-
return this.props.children;
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
const CarouselWrapper$1 = (_a) => {
|
|
712
|
-
var { slidesToShow = 1, children } = _a, props = tslib_es6.__rest(_a, ["slidesToShow", "children"]);
|
|
713
|
-
const length = Array.isArray(children) ? children.length : 1;
|
|
714
|
-
if (!length)
|
|
715
|
-
return null;
|
|
716
|
-
return (React__namespace["default"].createElement(ErrorBoundary, null,
|
|
717
|
-
React__namespace["default"].createElement(carousel.Carousel
|
|
718
|
-
// get 2 precision number
|
|
719
|
-
, Object.assign({
|
|
720
|
-
// get 2 precision number
|
|
721
|
-
slideSize: String(Math.floor((1 / slidesToShow) * 10000) / 100) + '%', containScroll: "trimSnaps" }, props), children)));
|
|
722
|
-
};
|
|
723
|
-
const Carousel = CarouselWrapper$1;
|
|
724
|
-
Carousel.Slide = carousel.Carousel.Slide;
|
|
725
|
-
|
|
726
|
-
const StyledCarousel = styled__default["default"](Carousel) `
|
|
727
|
-
cursor: grab;
|
|
728
|
-
width: 100%;
|
|
729
|
-
.mantine-Carousel-control {
|
|
730
|
-
background: rgb(255, 255, 255);
|
|
731
|
-
opacity: 1;
|
|
732
|
-
border: none;
|
|
733
|
-
border-radius: 0;
|
|
734
|
-
box-shadow: none;
|
|
735
|
-
&[data-inactive] {
|
|
736
|
-
opacity: 0;
|
|
737
|
-
cursor: default;
|
|
738
|
-
}
|
|
739
|
-
&:first-child {
|
|
740
|
-
padding-right: 24px;
|
|
741
|
-
background: linear-gradient(
|
|
742
|
-
90deg,
|
|
743
|
-
rgba(255, 255, 255, 1) 0%,
|
|
744
|
-
rgba(255, 255, 255, 1) 50%,
|
|
745
|
-
rgba(255, 255, 255, 0) 100%
|
|
746
|
-
);
|
|
747
|
-
}
|
|
748
|
-
&:last-child {
|
|
749
|
-
padding-left: 24px;
|
|
750
|
-
background: linear-gradient(
|
|
751
|
-
270deg,
|
|
752
|
-
rgba(255, 255, 255, 1) 0%,
|
|
753
|
-
rgba(255, 255, 255, 1) 50%,
|
|
754
|
-
rgba(255, 255, 255, 0) 100%
|
|
755
|
-
);
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
.mantine-Carousel-container {
|
|
760
|
-
align-items: center;
|
|
761
|
-
}
|
|
762
|
-
`;
|
|
763
|
-
|
|
764
|
-
var useStyles$1 = core.createStyles((_theme, _params) => {
|
|
765
|
-
return {
|
|
766
|
-
root: {
|
|
767
|
-
color: _params.color ||
|
|
768
|
-
(_theme.primaryColor === 'hb'
|
|
769
|
-
? _theme.colors.hb[6]
|
|
770
|
-
: _theme.fn.primaryColor()),
|
|
771
|
-
},
|
|
772
|
-
};
|
|
354
|
+
const EyeVisible = index.CommonGAssets.getAssetPath('EyeVisible.svg');
|
|
355
|
+
const EyeHidden = index.CommonGAssets.getAssetPath('EyeHidden.svg');
|
|
356
|
+
// Fix re-render issue
|
|
357
|
+
const RenderVisibleToggleIcon = ({ reveal, size, }) => (React__namespace["default"].createElement("img", { src: reveal ? EyeVisible : EyeHidden, style: {
|
|
358
|
+
width: size,
|
|
359
|
+
height: size,
|
|
360
|
+
}, loading: "lazy" }));
|
|
361
|
+
const PasswordInput = React.forwardRef((props, ref) => {
|
|
362
|
+
const { size = 'md', visibilityToggleIcon: visibilityToggleIconProps } = props, restProps = tslib_es6.__rest(props, ["size", "visibilityToggleIcon"]);
|
|
363
|
+
const visibilityToggleIcon = visibilityToggleIconProps || RenderVisibleToggleIcon;
|
|
364
|
+
return (React__namespace["default"].createElement(core.PasswordInput, Object.assign({ ref: ref, size: size, visibilityToggleIcon: visibilityToggleIcon }, restProps, { className: `input-control ${(restProps === null || restProps === void 0 ? void 0 : restProps.className) || ''}` })));
|
|
773
365
|
});
|
|
774
366
|
|
|
775
|
-
const
|
|
776
|
-
var {
|
|
777
|
-
const
|
|
778
|
-
|
|
779
|
-
};
|
|
780
|
-
|
|
781
|
-
const BreadcrumbItem = (_a) => {
|
|
782
|
-
var { children } = _a, rest = tslib_es6.__rest(_a, ["children"]);
|
|
783
|
-
return (React__namespace["default"].createElement(Anchor, Object.assign({ size: "p4", color: 'gray.8' }, rest), children));
|
|
784
|
-
};
|
|
785
|
-
|
|
786
|
-
const AspectRatio = (props) => {
|
|
787
|
-
return (React__namespace["default"].createElement(core.AspectRatio, Object.assign({ sx: {
|
|
788
|
-
borderRadius: 4,
|
|
789
|
-
overflow: 'hidden',
|
|
790
|
-
'> img': {
|
|
791
|
-
objectFit: 'contain',
|
|
792
|
-
},
|
|
793
|
-
} }, props)));
|
|
794
|
-
};
|
|
795
|
-
|
|
796
|
-
const _Breadcrumbs = (_a) => {
|
|
797
|
-
var _b;
|
|
798
|
-
var { children, showHomeIcon = true, homeIconHref = '/' } = _a, rest = tslib_es6.__rest(_a, ["children", "showHomeIcon", "homeIconHref"]);
|
|
799
|
-
const theme = core.useMantineTheme();
|
|
800
|
-
const isMarryBaby = ((_b = theme === null || theme === void 0 ? void 0 : theme.other) === null || _b === void 0 ? void 0 : _b.template) === 'mb';
|
|
801
|
-
const [embla, setEmbla] = React.useState(null);
|
|
802
|
-
const { isMobile } = useScreenSize.useScreenSize();
|
|
803
|
-
const [, setShouldAllowClick] = React.useState(true);
|
|
804
|
-
const handleScroll = React.useCallback(() => {
|
|
805
|
-
setShouldAllowClick(false);
|
|
806
|
-
}, []);
|
|
807
|
-
const handlePointerUp = React.useCallback(() => {
|
|
808
|
-
setTimeout(() => {
|
|
809
|
-
setShouldAllowClick(true);
|
|
810
|
-
}, 1000);
|
|
811
|
-
}, []);
|
|
367
|
+
const InputWrapper = React.forwardRef((_a, ref) => {
|
|
368
|
+
var { value: _value, onChange: _onChange, onChangeRaw, maxLength } = _a, props = tslib_es6.__rest(_a, ["value", "onChange", "onChangeRaw", "maxLength"]);
|
|
369
|
+
const [value, setValue] = React.useState(_value || '');
|
|
370
|
+
const [debounced] = hooks.useDebouncedValue(value, DEBOUNCED_TIME);
|
|
812
371
|
React.useEffect(() => {
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
};
|
|
823
|
-
}, [embla, handleScroll, handlePointerUp]);
|
|
824
|
-
return (React__namespace["default"].createElement(StyledCarousel, Object.assign({ align: "center", slideGap: "xs", dragFree: true, draggable: isMobile, slideSize: "0", getEmblaApi: setEmbla, controlsOffset: -52, previousControlIcon: React__namespace["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
825
|
-
React__namespace["default"].createElement("path", { d: "M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z", fill: "#595959" })), nextControlIcon: React__namespace["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
826
|
-
React__namespace["default"].createElement("path", { d: "M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z", fill: "#595959" })) }, rest),
|
|
827
|
-
showHomeIcon && (React__namespace["default"].createElement(Carousel.Slide, { style: { borderRight: `1px solid ${themeColors.neutral[1]}` } },
|
|
828
|
-
React__namespace["default"].createElement(BreadcrumbItem, { href: homeIconHref, target: "_blank", className: "pointer-event-child-none" },
|
|
829
|
-
React__namespace["default"].createElement(core.Box, { sx: Object.assign({}, (!isMarryBaby && {
|
|
830
|
-
borderRadius: '50%',
|
|
831
|
-
display: 'flex',
|
|
832
|
-
justifyContent: 'center',
|
|
833
|
-
alignItems: 'center',
|
|
834
|
-
})), bg: !isMarryBaby && themeColors.neutral[0], p: !isMarryBaby ? 6 : 0 },
|
|
835
|
-
React__namespace["default"].createElement(AspectRatio, { ratio: 1, w: 18 }, isMarryBaby ? (React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
836
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1183 3.67722C12.8727 2.70772 11.1281 2.708 9.88187 3.67718L14.1183 3.67722ZM14.1183 3.67722L19.718 8.03283C20.5589 8.68632 21.05 9.69173 21.05 10.7562V17.6002C21.05 19.5057 19.5055 21.0502 17.6 21.0502H6.40016C4.49466 21.0502 2.9502 19.5057 2.9502 17.6002V10.7562C2.9502 9.69163 3.44113 8.68632 4.28216 8.03283L9.88187 3.67718M10.6799 4.70339L5.08006 9.05916C4.55657 9.46592 4.2502 10.0923 4.2502 10.7562V17.6002C4.2502 18.7878 5.21263 19.7502 6.40016 19.7502H17.6C18.7875 19.7502 19.75 18.7878 19.75 17.6002V10.7562C19.75 10.0923 19.4438 9.46612 18.9204 9.05936L13.3202 4.70335C12.5443 4.09941 11.4571 4.09905 10.6799 4.70339Z", fill: "#3E3F58" }),
|
|
837
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.2373 13.1626C12.5546 12.4794 11.4466 12.4791 10.7629 13.1628C10.0793 13.8464 10.0793 14.9538 10.7629 15.6374C11.4465 16.321 12.5539 16.321 13.2375 15.6374C13.9211 14.9538 13.9211 13.8464 13.2375 13.1628L13.2373 13.1626ZM14.1567 12.2436C12.9661 11.0521 11.0348 11.0525 9.84366 12.2436C8.65237 13.4348 8.65237 15.3653 9.84366 16.5566C11.0349 17.7479 12.9654 17.7479 14.1567 16.5566C15.348 15.3653 15.348 13.4348 14.1567 12.2436Z", fill: "#3E3F58" }))) : (React__namespace["default"].createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
|
|
838
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z", fill: "#595959" })))))))),
|
|
839
|
-
React__namespace["default"].createElement(Carousel.Slide, null),
|
|
840
|
-
React__namespace["default"].createElement(Carousel.Slide, null,
|
|
841
|
-
React__namespace["default"].createElement(core.Breadcrumbs, { styles: {
|
|
842
|
-
separator: {
|
|
843
|
-
marginInline: 4,
|
|
844
|
-
},
|
|
845
|
-
}, separator: React__namespace["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
846
|
-
React__namespace["default"].createElement("path", { d: "M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z", fill: "#8C8C8C" })) }, children))));
|
|
847
|
-
};
|
|
848
|
-
const Breadcrumbs = _Breadcrumbs;
|
|
849
|
-
Breadcrumbs.Item = BreadcrumbItem;
|
|
850
|
-
|
|
851
|
-
const StyledTextArea = styled__default["default"](core.Textarea) `
|
|
852
|
-
.mantine-Textarea-input {
|
|
853
|
-
padding: 12px 16px;
|
|
854
|
-
background: #ffffff;
|
|
855
|
-
border: 1px solid ${miscTheme.theme.colors.gray200};
|
|
856
|
-
border-radius: 4px;
|
|
857
|
-
}
|
|
858
|
-
`;
|
|
859
|
-
|
|
860
|
-
const StyledAccordion = styled__default["default"](core.Accordion) `
|
|
861
|
-
.mantine-Accordion-label {
|
|
862
|
-
padding: 0;
|
|
863
|
-
}
|
|
864
|
-
.mantine-Accordion-control {
|
|
865
|
-
&:hover {
|
|
866
|
-
background-color: transparent;
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
.mantine-Accordion-item {
|
|
870
|
-
.mantine-Accordion-chevron {
|
|
871
|
-
> div {
|
|
872
|
-
background-repeat: no-repeat;
|
|
873
|
-
width: 16px;
|
|
874
|
-
height: 16px;
|
|
875
|
-
background-position: center;
|
|
876
|
-
background-image: url(${(props) => props.closeChevron || index$2.CommonGAssets.getAssetPath('plus-icon.svg')});
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
&[data-active='true'] {
|
|
880
|
-
.mantine-Accordion-chevron {
|
|
881
|
-
> div {
|
|
882
|
-
background-image: url(${(props) => props.openChevron || index$2.CommonGAssets.getAssetPath('minus-icon.svg')});
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
.mantine-Accordion-panel {
|
|
888
|
-
border-radius: ${miscTheme.theme.borderRadius};
|
|
889
|
-
}
|
|
890
|
-
.mantine-Accordion-content {
|
|
891
|
-
white-space: pre-wrap;
|
|
892
|
-
}
|
|
893
|
-
`;
|
|
894
|
-
|
|
895
|
-
const _Accordion = (_a) => {
|
|
896
|
-
var { children } = _a, rest = tslib_es6.__rest(_a, ["children"]);
|
|
897
|
-
return (React__namespace["default"].createElement(StyledAccordion, Object.assign({ chevron: React__namespace["default"].createElement("div", null), disableChevronRotation: true, transitionDuration: 300 }, rest), children));
|
|
898
|
-
};
|
|
899
|
-
const Accordion = _Accordion;
|
|
900
|
-
Accordion.Control = core.Accordion.Control;
|
|
901
|
-
Accordion.Item = core.Accordion.Item;
|
|
902
|
-
Accordion.Panel = core.Accordion.Panel;
|
|
903
|
-
|
|
904
|
-
const DEFAULT_AVATAR = index$2.CommonGAssets.getAssetPath('avatar.jpg');
|
|
905
|
-
const Avatar = (_a) => {
|
|
906
|
-
var { withIndicator = false, indicatorConfig = null, size = 56, children, styles, placeholderText } = _a, // usually first letter of name
|
|
907
|
-
avatarProps = tslib_es6.__rest(_a, ["withIndicator", "indicatorConfig", "size", "children", "styles", "placeholderText"]);
|
|
908
|
-
const generateAvatar = () => {
|
|
909
|
-
return (React__namespace["default"].createElement(core.Avatar, Object.assign({ size: size, radius: "xl" }, avatarProps, { imageProps: Object.assign({ loading: 'lazy' }, avatarProps.imageProps), styles: {
|
|
910
|
-
placeholder: {
|
|
911
|
-
backgroundColor: avatarProps.color,
|
|
912
|
-
color: 'white',
|
|
913
|
-
},
|
|
914
|
-
} }), children ? (children) : placeholderText ? (placeholderText) : (React__namespace["default"].createElement(useScreenSize.ImageWrap, { src: DEFAULT_AVATAR, width: size, alt: avatarProps.alt || 'avatar' }))));
|
|
915
|
-
};
|
|
916
|
-
if (withIndicator)
|
|
917
|
-
return (React__namespace["default"].createElement(core.Indicator, Object.assign({ inline: true, position: "bottom-end", offset: 9 }, indicatorConfig, { styles: Object.assign({ indicator: {
|
|
918
|
-
backgroundColor: React__namespace["default"].isValidElement(indicatorConfig.label) && 'transparent',
|
|
919
|
-
zIndex: 1,
|
|
920
|
-
} }, styles) }), generateAvatar()));
|
|
921
|
-
return generateAvatar();
|
|
922
|
-
};
|
|
923
|
-
|
|
924
|
-
const FileInput = (props) => {
|
|
925
|
-
return React__namespace["default"].createElement(core.FileInput, Object.assign({ size: "md" }, props));
|
|
926
|
-
};
|
|
927
|
-
|
|
928
|
-
const DEBOUNCED_TIME = 300;
|
|
929
|
-
const emotionCache = core.createEmotionCache({
|
|
930
|
-
key: 'mantine',
|
|
931
|
-
prepend: false,
|
|
932
|
-
});
|
|
933
|
-
|
|
934
|
-
const NumberInput = (_a) => {
|
|
935
|
-
var { value: _value, onChange: _onChange } = _a, props = tslib_es6.__rest(_a, ["value", "onChange"]);
|
|
936
|
-
const [value, setValue] = React.useState(_value);
|
|
937
|
-
const [debounced] = hooks.useDebouncedValue(value, DEBOUNCED_TIME);
|
|
938
|
-
React.useEffect(() => {
|
|
939
|
-
_onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
|
|
940
|
-
}, [debounced]);
|
|
941
|
-
React.useEffect(() => {
|
|
942
|
-
setValue(_value);
|
|
943
|
-
}, [_value]);
|
|
944
|
-
return (React__namespace["default"].createElement(core.NumberInput, Object.assign({ size: "md", stepHoldDelay: 500, stepHoldInterval: (t) => Math.max(1000 / Math.pow(t, 2), 25), onChange: setValue, hideControls: true, min: 0, formatter: (value) => {
|
|
945
|
-
if (Number(value) === 0)
|
|
946
|
-
return value;
|
|
947
|
-
return value || '';
|
|
948
|
-
}, removeTrailingZeros: true, value: value }, props)));
|
|
949
|
-
};
|
|
950
|
-
|
|
951
|
-
const EyeVisible = index$2.CommonGAssets.getAssetPath('EyeVisible.svg');
|
|
952
|
-
const EyeHidden = index$2.CommonGAssets.getAssetPath('EyeHidden.svg');
|
|
953
|
-
// Fix re-render issue
|
|
954
|
-
const RenderVisibleToggleIcon = ({ reveal, size, }) => (React__namespace["default"].createElement("img", { src: reveal ? EyeVisible : EyeHidden, style: {
|
|
955
|
-
width: size,
|
|
956
|
-
height: size,
|
|
957
|
-
}, loading: "lazy" }));
|
|
958
|
-
const PasswordInput = React.forwardRef((props, ref) => {
|
|
959
|
-
const { size = 'md', visibilityToggleIcon: visibilityToggleIconProps } = props, restProps = tslib_es6.__rest(props, ["size", "visibilityToggleIcon"]);
|
|
960
|
-
const visibilityToggleIcon = visibilityToggleIconProps || RenderVisibleToggleIcon;
|
|
961
|
-
return (React__namespace["default"].createElement(core.PasswordInput, Object.assign({ ref: ref, size: size, visibilityToggleIcon: visibilityToggleIcon }, restProps, { className: `input-control ${(restProps === null || restProps === void 0 ? void 0 : restProps.className) || ''}` })));
|
|
962
|
-
});
|
|
963
|
-
|
|
964
|
-
const InputWrapper = React.forwardRef((_a, ref) => {
|
|
965
|
-
var { value: _value, onChange: _onChange, onChangeRaw, maxLength } = _a, props = tslib_es6.__rest(_a, ["value", "onChange", "onChangeRaw", "maxLength"]);
|
|
966
|
-
const [value, setValue] = React.useState(_value || '');
|
|
967
|
-
const [debounced] = hooks.useDebouncedValue(value, DEBOUNCED_TIME);
|
|
968
|
-
React.useEffect(() => {
|
|
969
|
-
_onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
|
|
970
|
-
}, [debounced]);
|
|
971
|
-
React.useEffect(() => {
|
|
972
|
-
setValue(_value);
|
|
973
|
-
}, [_value]);
|
|
974
|
-
return (React__namespace["default"].createElement(core.TextInput, Object.assign({ ref: ref, size: "md", onChange: (event) => {
|
|
975
|
-
if (typeof maxLength === 'number' &&
|
|
976
|
-
event.currentTarget.value.length > maxLength) {
|
|
977
|
-
return;
|
|
372
|
+
_onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
|
|
373
|
+
}, [debounced]);
|
|
374
|
+
React.useEffect(() => {
|
|
375
|
+
setValue(_value);
|
|
376
|
+
}, [_value]);
|
|
377
|
+
return (React__namespace["default"].createElement(core.TextInput, Object.assign({ ref: ref, size: "md", onChange: (event) => {
|
|
378
|
+
if (typeof maxLength === 'number' &&
|
|
379
|
+
event.currentTarget.value.length > maxLength) {
|
|
380
|
+
return;
|
|
978
381
|
}
|
|
979
382
|
onChangeRaw === null || onChangeRaw === void 0 ? void 0 : onChangeRaw(event);
|
|
980
383
|
setValue(event.currentTarget.value);
|
|
@@ -1122,8 +525,86 @@ const CarouselWrapper = (_a) => {
|
|
|
1122
525
|
const CentralCarousel = CarouselWrapper;
|
|
1123
526
|
CentralCarousel.Slide = CustomSlide;
|
|
1124
527
|
|
|
528
|
+
const CheckboxWithState = (_a) => {
|
|
529
|
+
var { size = 24, isSolid, isActive } = _a, rest = tslib_es6.__rest(_a, ["size", "isSolid", "isActive"]);
|
|
530
|
+
return isSolid ? (React__namespace["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
531
|
+
React__namespace["default"].createElement("path", { d: "M10 18C14.4183 18 18 14.4183 18 10C18 5.58173 14.4183 2 10 2C5.58173 2 2 5.58173 2 10C2 14.4183 5.58173 18 10 18Z", fill: "#2D87F3" }),
|
|
532
|
+
React__namespace["default"].createElement("path", { d: "M6.38904 10.2778L8.88904 13.0556L13.6113 6.94446", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
533
|
+
React__namespace["default"].createElement("path", { d: "M10 18C14.4183 18 18 14.4183 18 10C18 5.58173 14.4183 2 10 2C5.58173 2 2 5.58173 2 10C2 14.4183 5.58173 18 10 18Z", stroke: "#2D87F3", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }))) : isActive ? (React__namespace["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
534
|
+
React__namespace["default"].createElement("path", { opacity: ".2", d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16", fill: "#2D87F3" }),
|
|
535
|
+
React__namespace["default"].createElement("path", { d: "m6.389 10.278 2.5 2.778 4.722-6.111", stroke: "#2D87F3", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
536
|
+
React__namespace["default"].createElement("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16", stroke: "#2D87F3", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }))) : (React__namespace["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
537
|
+
React__namespace["default"].createElement("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16", fill: "#ADB3BC", fillOpacity: ".3" }),
|
|
538
|
+
React__namespace["default"].createElement("path", { d: "m6.389 10.278 2.5 2.778 4.722-6.111", stroke: "#ADB3BC", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
539
|
+
React__namespace["default"].createElement("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16", stroke: "#ADB3BC", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
var useStyles$1 = core.createStyles((theme, params) => {
|
|
543
|
+
const { color, customStylesType } = params || {};
|
|
544
|
+
const isLeadgenStyle = customStylesType === text.CustomStylesType.LEADGEN;
|
|
545
|
+
return {
|
|
546
|
+
input: Object.assign({ '&:hover': {
|
|
547
|
+
border: `1px solid ${color}`,
|
|
548
|
+
} }, (isLeadgenStyle && {
|
|
549
|
+
marginTop: 2,
|
|
550
|
+
borderRadius: '50%',
|
|
551
|
+
'&,&:hover': {
|
|
552
|
+
border: 0,
|
|
553
|
+
},
|
|
554
|
+
'& ~ [data-icon]': {
|
|
555
|
+
opacity: 0,
|
|
556
|
+
},
|
|
557
|
+
'& ~ [data-default]': {
|
|
558
|
+
opacity: 1,
|
|
559
|
+
},
|
|
560
|
+
'&:hover': {
|
|
561
|
+
'& ~ [data-icon]': {
|
|
562
|
+
opacity: 0,
|
|
563
|
+
},
|
|
564
|
+
'& ~ [data-hover]': {
|
|
565
|
+
opacity: 1,
|
|
566
|
+
},
|
|
567
|
+
},
|
|
568
|
+
'&:checked': {
|
|
569
|
+
'& ~ [data-icon]': {
|
|
570
|
+
opacity: 0,
|
|
571
|
+
},
|
|
572
|
+
'& ~ [data-checked]': {
|
|
573
|
+
opacity: 1,
|
|
574
|
+
},
|
|
575
|
+
'&:hover': {
|
|
576
|
+
'& ~ [data-icon]': {
|
|
577
|
+
opacity: 0,
|
|
578
|
+
},
|
|
579
|
+
'& ~ [data-checked]': {
|
|
580
|
+
opacity: 1,
|
|
581
|
+
},
|
|
582
|
+
},
|
|
583
|
+
},
|
|
584
|
+
'&, &:hover, &:checked': {
|
|
585
|
+
backgroundColor: 'transparent',
|
|
586
|
+
borderColor: 'transparent',
|
|
587
|
+
'& ~ svg': {
|
|
588
|
+
width: '100%',
|
|
589
|
+
transform: 'none',
|
|
590
|
+
transition: 'opacity 0.2s ease',
|
|
591
|
+
},
|
|
592
|
+
},
|
|
593
|
+
})),
|
|
594
|
+
label: Object.assign({}, (isLeadgenStyle && {
|
|
595
|
+
paddingLeft: 8,
|
|
596
|
+
})),
|
|
597
|
+
body: {
|
|
598
|
+
alignItems: 'flex-start',
|
|
599
|
+
},
|
|
600
|
+
inner: {
|
|
601
|
+
paddingTop: 2,
|
|
602
|
+
},
|
|
603
|
+
};
|
|
604
|
+
});
|
|
605
|
+
|
|
1125
606
|
const CheckboxWrapper = (_a) => {
|
|
1126
|
-
var {
|
|
607
|
+
var { color = 'blue', label, size: sizeProp } = _a, props = tslib_es6.__rest(_a, ["color", "label", "size"]);
|
|
1127
608
|
const theme = core.useMantineTheme();
|
|
1128
609
|
const hexColor = React.useMemo(() => {
|
|
1129
610
|
var _a, _b;
|
|
@@ -1132,11 +613,26 @@ const CheckboxWrapper = (_a) => {
|
|
|
1132
613
|
: (_b = theme.colors[color]) === null || _b === void 0 ? void 0 : _b[theme.primaryShade || 6]) ||
|
|
1133
614
|
theme.colors.blue[6];
|
|
1134
615
|
}, [color]);
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
616
|
+
const { classes } = useStyles$1({
|
|
617
|
+
color: hexColor,
|
|
618
|
+
customStylesType: theme.other.customStyleType || text.CustomStylesType.NONE,
|
|
619
|
+
});
|
|
620
|
+
const isLeadgenStyle = theme.other.customStyleType === text.CustomStylesType.LEADGEN;
|
|
621
|
+
const size = sizeProp || (isLeadgenStyle ? 20 : undefined);
|
|
622
|
+
return (React__namespace["default"].createElement(core.Checkbox, Object.assign({ classNames: {
|
|
623
|
+
input: classes.input,
|
|
624
|
+
label: classes.label,
|
|
625
|
+
body: classes.body,
|
|
626
|
+
inner: classes.inner,
|
|
627
|
+
}, color: color, size: size, label: isLeadgenStyle ? (React__namespace["default"].createElement(index$1.Text, { size: "p2", color: theme.colors.gray[8] }, label)) : (label), icon: isLeadgenStyle
|
|
628
|
+
? (_a) => {
|
|
629
|
+
var rest = tslib_es6.__rest(_a, []);
|
|
630
|
+
return (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
631
|
+
React__namespace["default"].createElement(CheckboxWithState, Object.assign({ "data-icon": "true", "data-default": "true", size: size }, rest)),
|
|
632
|
+
React__namespace["default"].createElement(CheckboxWithState, Object.assign({ "data-icon": "true", "data-hover": "true", isActive: true, size: size }, rest)),
|
|
633
|
+
React__namespace["default"].createElement(CheckboxWithState, Object.assign({ "data-icon": "true", "data-checked": "true", isSolid: true, size: size }, rest))));
|
|
634
|
+
}
|
|
635
|
+
: undefined }, props)));
|
|
1140
636
|
};
|
|
1141
637
|
const Checkbox = CheckboxWrapper;
|
|
1142
638
|
Checkbox.Group = core.Checkbox.Group;
|
|
@@ -1238,7 +734,7 @@ function transferOtpToValue(otp) {
|
|
|
1238
734
|
return otp.join('');
|
|
1239
735
|
}
|
|
1240
736
|
|
|
1241
|
-
var styles$
|
|
737
|
+
var styles$2 = {"otpContainer":"_2iQs0sk","otpInput":"Ia6IojY","error":"yJs9MaD"};
|
|
1242
738
|
|
|
1243
739
|
const BACKSPACE = 8;
|
|
1244
740
|
const LEFT_ARROW = 37;
|
|
@@ -1247,7 +743,7 @@ const DELETE = 46;
|
|
|
1247
743
|
const SPACEBAR = 32;
|
|
1248
744
|
const OTPInputFunction = (props, ref) => {
|
|
1249
745
|
const { maxLength = 1, placeholder, className } = props, restProps = tslib_es6.__rest(props, ["maxLength", "placeholder", "className"]);
|
|
1250
|
-
return (React__namespace["default"].createElement("input", Object.assign({ maxLength: maxLength, className: cn__default["default"](styles$
|
|
746
|
+
return (React__namespace["default"].createElement("input", Object.assign({ maxLength: maxLength, className: cn__default["default"](styles$2.otpInput, 'otpInput', className), placeholder: placeholder, type: "number" }, restProps, { ref: ref })));
|
|
1251
747
|
};
|
|
1252
748
|
const OTPInput = React.forwardRef(OTPInputFunction);
|
|
1253
749
|
const OTPFowardRef = (props, ref) => {
|
|
@@ -1362,7 +858,7 @@ const OTPFowardRef = (props, ref) => {
|
|
|
1362
858
|
setOtp(() => transferValueToOtp(valueProps, valueLength));
|
|
1363
859
|
setValue(valueProps);
|
|
1364
860
|
}, [valueLength, valueProps]);
|
|
1365
|
-
return (React__namespace["default"].createElement(core.Flex, { justify: "center", columnGap: 8, className: cn__default["default"](styles$
|
|
861
|
+
return (React__namespace["default"].createElement(core.Flex, { justify: "center", columnGap: 8, className: cn__default["default"](styles$2.otpContainer, 'otpContainer') }, otp.map((val, index) => {
|
|
1366
862
|
return (React__namespace["default"].createElement(OTPInput, Object.assign({}, otpShareProps, { ref: (iRef) => {
|
|
1367
863
|
inputRef.current[index] = iRef;
|
|
1368
864
|
}, key: '' + index, value: val, type: type, onChange: inputOnChange, onFocus: inputOnFocus, onKeyDown: inputOnKeyDown, onPaste: inputOnPaste, onBlur: onBlur, placeholder: placeholder })));
|
|
@@ -1370,6 +866,298 @@ const OTPFowardRef = (props, ref) => {
|
|
|
1370
866
|
};
|
|
1371
867
|
const OTP = React.forwardRef(OTPFowardRef);
|
|
1372
868
|
|
|
869
|
+
const CambodiaRoundIcon = (props) => (React__namespace["default"].createElement(index$2.ImageWrap, Object.assign({ alt: "round cambodia flag", src: index.CommonGAssets.getAssetPath('flags/cambodiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
870
|
+
const CambodiaSquareIcon = (props) => (React__namespace["default"].createElement(index$2.ImageWrap, Object.assign({ alt: "square cambodia flag", src: index.CommonGAssets.getAssetPath('flags/cambodiaSquare.png') }, props)));
|
|
871
|
+
|
|
872
|
+
const EnglishRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
873
|
+
React__namespace["default"].createElement("g", null,
|
|
874
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
875
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
876
|
+
React__namespace["default"].createElement("path", { d: "M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z", fill: "#3F51B5" }),
|
|
877
|
+
React__namespace["default"].createElement("path", { d: "M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z", fill: "#3F51B5" }),
|
|
878
|
+
React__namespace["default"].createElement("path", { d: "M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z", fill: "white" }),
|
|
879
|
+
React__namespace["default"].createElement("path", { d: "M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z", fill: "#3F51B5" }),
|
|
880
|
+
React__namespace["default"].createElement("path", { d: "M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z", fill: "#3F51B5" }),
|
|
881
|
+
React__namespace["default"].createElement("path", { d: "M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z", fill: "white" }),
|
|
882
|
+
React__namespace["default"].createElement("path", { d: "M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z", fill: "white" }),
|
|
883
|
+
React__namespace["default"].createElement("path", { d: "M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z", fill: "white" }),
|
|
884
|
+
React__namespace["default"].createElement("path", { d: "M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z", fill: "white" }),
|
|
885
|
+
React__namespace["default"].createElement("path", { d: "M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z", fill: "white" }),
|
|
886
|
+
React__namespace["default"].createElement("path", { d: "M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z", fill: "white" }),
|
|
887
|
+
React__namespace["default"].createElement("path", { d: "M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z", fill: "white" }),
|
|
888
|
+
React__namespace["default"].createElement("path", { d: "M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z", fill: "white" }),
|
|
889
|
+
React__namespace["default"].createElement("path", { d: "M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z", fill: "white" }),
|
|
890
|
+
React__namespace["default"].createElement("path", { d: "M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z", fill: "white" }),
|
|
891
|
+
React__namespace["default"].createElement("path", { d: "M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z", fill: "white" }),
|
|
892
|
+
React__namespace["default"].createElement("path", { d: "M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z", fill: "#E53935" }),
|
|
893
|
+
React__namespace["default"].createElement("path", { d: "M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z", fill: "#E53935" }),
|
|
894
|
+
React__namespace["default"].createElement("path", { d: "M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z", fill: "white" }),
|
|
895
|
+
React__namespace["default"].createElement("path", { d: "M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z", fill: "white" }),
|
|
896
|
+
React__namespace["default"].createElement("path", { d: "M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z", fill: "white" }),
|
|
897
|
+
React__namespace["default"].createElement("path", { d: "M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z", fill: "white" }),
|
|
898
|
+
React__namespace["default"].createElement("path", { d: "M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z", fill: "#E53935" }),
|
|
899
|
+
React__namespace["default"].createElement("path", { d: "M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z", fill: "#E53935" }),
|
|
900
|
+
React__namespace["default"].createElement("path", { d: "M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z", fill: "#E53935" }),
|
|
901
|
+
React__namespace["default"].createElement("path", { d: "M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z", fill: "#E53935" }),
|
|
902
|
+
React__namespace["default"].createElement("path", { d: "M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z", fill: "#E53935" }))));
|
|
903
|
+
const EnglishSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 26 26", fill: "none" }, props),
|
|
904
|
+
React__namespace["default"].createElement("g", null,
|
|
905
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "1", y: "5", width: "24", height: "16" },
|
|
906
|
+
React__namespace["default"].createElement("path", { d: "M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z", fill: "#3F51B5" })),
|
|
907
|
+
React__namespace["default"].createElement("path", { d: "M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z", fill: "#3F51B5" }),
|
|
908
|
+
React__namespace["default"].createElement("path", { d: "M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z", fill: "white" }),
|
|
909
|
+
React__namespace["default"].createElement("path", { d: "M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z", fill: "white" }),
|
|
910
|
+
React__namespace["default"].createElement("path", { d: "M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z", fill: "white" }),
|
|
911
|
+
React__namespace["default"].createElement("path", { d: "M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z", fill: "white" }),
|
|
912
|
+
React__namespace["default"].createElement("path", { d: "M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z", fill: "white" }),
|
|
913
|
+
React__namespace["default"].createElement("path", { d: "M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z", fill: "white" }),
|
|
914
|
+
React__namespace["default"].createElement("path", { d: "M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z", fill: "#E53935" }),
|
|
915
|
+
React__namespace["default"].createElement("path", { d: "M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z", fill: "#E53935" }))));
|
|
916
|
+
|
|
917
|
+
const IndiaRoundIcon = (props) => (React__namespace["default"].createElement(index$2.ImageWrap, Object.assign({ alt: "round india flag", src: index.CommonGAssets.getAssetPath('flags/indiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
918
|
+
const IndiaSquareIcon = (props) => (React__namespace["default"].createElement(index$2.ImageWrap, Object.assign({ alt: "square indian flag", src: index.CommonGAssets.getAssetPath('flags/indiaSquare.png') }, props)));
|
|
919
|
+
|
|
920
|
+
const IndonesiaRoundIcon = (_a) => {
|
|
921
|
+
var rest = tslib_es6.__rest(_a, []);
|
|
922
|
+
const maskId = useUniqueId.useUniqueId();
|
|
923
|
+
return (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none" }, rest),
|
|
924
|
+
React__namespace["default"].createElement("mask", { id: maskId, style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
925
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
926
|
+
React__namespace["default"].createElement("g", { mask: `url(#${maskId})` },
|
|
927
|
+
React__namespace["default"].createElement("rect", { width: "20", height: "10", fill: "#CE1126" }),
|
|
928
|
+
React__namespace["default"].createElement("rect", { y: "10", width: "20", height: "10", fill: "white" }))));
|
|
929
|
+
};
|
|
930
|
+
const IndonesiaSquareIcon = (_a) => {
|
|
931
|
+
var rest = tslib_es6.__rest(_a, []);
|
|
932
|
+
const clipPathId = useUniqueId.useUniqueId();
|
|
933
|
+
return (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, rest),
|
|
934
|
+
React__namespace["default"].createElement("g", { clipPath: `url(#${clipPathId})` },
|
|
935
|
+
React__namespace["default"].createElement("rect", { y: "0.0166016", width: "24", height: "8", fill: "#CE1126" }),
|
|
936
|
+
React__namespace["default"].createElement("rect", { y: "8.0166", width: "24", height: "8", fill: "white" })),
|
|
937
|
+
React__namespace["default"].createElement("defs", null,
|
|
938
|
+
React__namespace["default"].createElement("clipPath", { id: clipPathId },
|
|
939
|
+
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "white" })))));
|
|
940
|
+
};
|
|
941
|
+
|
|
942
|
+
const MalaysiaRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
943
|
+
React__namespace["default"].createElement("g", null,
|
|
944
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
945
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
946
|
+
React__namespace["default"].createElement("rect", { y: "1", width: "20", height: "20", fill: "#CC0001" }),
|
|
947
|
+
React__namespace["default"].createElement("rect", { y: "16.106", width: "20", height: "1.02041", fill: "white" }),
|
|
948
|
+
React__namespace["default"].createElement("rect", { y: "16", width: "20", height: "1.02041", fill: "white" }),
|
|
949
|
+
React__namespace["default"].createElement("rect", { y: "18", width: "20", height: "1.02041", fill: "white" }),
|
|
950
|
+
React__namespace["default"].createElement("rect", { y: "14.0652", width: "20", height: "1.02041", fill: "white" }),
|
|
951
|
+
React__namespace["default"].createElement("rect", { y: "12.0242", width: "20", height: "1.02041", fill: "white" }),
|
|
952
|
+
React__namespace["default"].createElement("rect", { y: "9.9834", width: "20", height: "1.02041", fill: "white" }),
|
|
953
|
+
React__namespace["default"].createElement("rect", { y: "7.94263", width: "20", height: "1.02041", fill: "white" }),
|
|
954
|
+
React__namespace["default"].createElement("rect", { y: "5.90186", width: "20", height: "1.02041", fill: "white" }),
|
|
955
|
+
React__namespace["default"].createElement("rect", { y: "3.86084", width: "20", height: "1.02041", fill: "white" }),
|
|
956
|
+
React__namespace["default"].createElement("rect", { y: "2", width: "20", height: "1.02041", fill: "white" }),
|
|
957
|
+
React__namespace["default"].createElement("rect", { width: "20", height: "1.02041", fill: "white" }),
|
|
958
|
+
React__namespace["default"].createElement("rect", { y: "-1", width: "10", height: "12", fill: "#010066" }),
|
|
959
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z", fill: "#FFCC00" }),
|
|
960
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z", fill: "#FFCC00" }))));
|
|
961
|
+
const MalaysiaSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
962
|
+
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "#CC0001" }),
|
|
963
|
+
React__namespace["default"].createElement("rect", { y: "12.2712", width: "24", height: "0.777454", fill: "white" }),
|
|
964
|
+
React__namespace["default"].createElement("rect", { y: "12.1904", width: "24", height: "0.777454", fill: "white" }),
|
|
965
|
+
React__namespace["default"].createElement("rect", { y: "13.7144", width: "24", height: "0.777454", fill: "white" }),
|
|
966
|
+
React__namespace["default"].createElement("rect", { y: "10.7161", width: "24", height: "0.777454", fill: "white" }),
|
|
967
|
+
React__namespace["default"].createElement("rect", { y: "9.16138", width: "24", height: "0.777454", fill: "white" }),
|
|
968
|
+
React__namespace["default"].createElement("rect", { y: "7.60645", width: "24", height: "0.777454", fill: "white" }),
|
|
969
|
+
React__namespace["default"].createElement("rect", { y: "6.05127", width: "24", height: "0.777454", fill: "white" }),
|
|
970
|
+
React__namespace["default"].createElement("rect", { y: "4.49658", width: "24", height: "0.777454", fill: "white" }),
|
|
971
|
+
React__namespace["default"].createElement("rect", { y: "2.94141", width: "24", height: "0.777454", fill: "white" }),
|
|
972
|
+
React__namespace["default"].createElement("rect", { y: "1.52393", width: "24", height: "0.777454", fill: "white" }),
|
|
973
|
+
React__namespace["default"].createElement("rect", { width: "24", height: "0.777454", fill: "white" }),
|
|
974
|
+
React__namespace["default"].createElement("path", { d: "M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z", fill: "#010066" }),
|
|
975
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z", fill: "#FFCC00" }),
|
|
976
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z", fill: "#FFCC00" })));
|
|
977
|
+
|
|
978
|
+
const MyanmarRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
979
|
+
React__namespace["default"].createElement("g", null,
|
|
980
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
981
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
982
|
+
React__namespace["default"].createElement("rect", { x: "-4", y: "-1", width: "28", height: "11", fill: "#FECB00" }),
|
|
983
|
+
React__namespace["default"].createElement("rect", { x: "-4", y: "10", width: "28", height: "10", fill: "#EA2839" }),
|
|
984
|
+
React__namespace["default"].createElement("rect", { x: "-4", y: "6.7041", width: "28", height: "6.47773", fill: "#34B233" }),
|
|
985
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z", fill: "white" }),
|
|
986
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z", fill: "white" }),
|
|
987
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z", fill: "white" }),
|
|
988
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z", fill: "white" }),
|
|
989
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z", fill: "white" }))));
|
|
990
|
+
const MyanmarSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
991
|
+
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "#FECB00" }),
|
|
992
|
+
React__namespace["default"].createElement("rect", { y: "8.3811", width: "24", height: "7.61905", rx: "2", fill: "#EA2839" }),
|
|
993
|
+
React__namespace["default"].createElement("rect", { y: "5.86987", width: "24", height: "4.93542", fill: "#34B233" }),
|
|
994
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z", fill: "white" }),
|
|
995
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z", fill: "white" }),
|
|
996
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z", fill: "white" }),
|
|
997
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z", fill: "white" }),
|
|
998
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z", fill: "white" })));
|
|
999
|
+
|
|
1000
|
+
const PhilippinesRoundIcon = (props) => (React__namespace["default"].createElement(index$2.ImageWrap, Object.assign({ alt: "round philippines flag", src: index.CommonGAssets.getAssetPath('flags/philippineRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
1001
|
+
const PhilippinesSquareIcon = (props) => (React__namespace["default"].createElement(index$2.ImageWrap, Object.assign({ alt: "square philippines flag", src: index.CommonGAssets.getAssetPath('flags/philippineSquare.png') }, props)));
|
|
1002
|
+
|
|
1003
|
+
const TaiwanRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
1004
|
+
React__namespace["default"].createElement("g", null,
|
|
1005
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
1006
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
1007
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#D8D8D8" }),
|
|
1008
|
+
React__namespace["default"].createElement("g", null,
|
|
1009
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
1010
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "white" })),
|
|
1011
|
+
React__namespace["default"].createElement("rect", { width: "30", height: "20", fill: "#ED1E24" }),
|
|
1012
|
+
React__namespace["default"].createElement("rect", { width: "15", height: "10", fill: "#2B2F84" }),
|
|
1013
|
+
React__namespace["default"].createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
|
|
1014
|
+
React__namespace["default"].createElement("path", { d: "M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z", fill: "white" }),
|
|
1015
|
+
React__namespace["default"].createElement("path", { d: "M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z", fill: "white" }),
|
|
1016
|
+
React__namespace["default"].createElement("path", { d: "M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z", fill: "white" }),
|
|
1017
|
+
React__namespace["default"].createElement("path", { d: "M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z", fill: "white" }),
|
|
1018
|
+
React__namespace["default"].createElement("path", { d: "M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z", fill: "white" }),
|
|
1019
|
+
React__namespace["default"].createElement("path", { d: "M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z", fill: "white" }),
|
|
1020
|
+
React__namespace["default"].createElement("path", { d: "M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z", fill: "white" }),
|
|
1021
|
+
React__namespace["default"].createElement("path", { d: "M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z", fill: "white" }),
|
|
1022
|
+
React__namespace["default"].createElement("path", { d: "M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z", fill: "white" }),
|
|
1023
|
+
React__namespace["default"].createElement("path", { d: "M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z", fill: "white" }),
|
|
1024
|
+
React__namespace["default"].createElement("path", { d: "M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z", fill: "white" }),
|
|
1025
|
+
React__namespace["default"].createElement("path", { d: "M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z", fill: "white" })))));
|
|
1026
|
+
const TaiwanSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
1027
|
+
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "#ED1E24" }),
|
|
1028
|
+
React__namespace["default"].createElement("path", { d: "M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z", fill: "#2B2F84" }),
|
|
1029
|
+
React__namespace["default"].createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
|
|
1030
|
+
React__namespace["default"].createElement("path", { d: "M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z", fill: "white" }),
|
|
1031
|
+
React__namespace["default"].createElement("path", { d: "M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z", fill: "white" }),
|
|
1032
|
+
React__namespace["default"].createElement("path", { d: "M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z", fill: "white" }),
|
|
1033
|
+
React__namespace["default"].createElement("path", { d: "M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z", fill: "white" }),
|
|
1034
|
+
React__namespace["default"].createElement("path", { d: "M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z", fill: "white" }),
|
|
1035
|
+
React__namespace["default"].createElement("path", { d: "M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z", fill: "white" }),
|
|
1036
|
+
React__namespace["default"].createElement("path", { d: "M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z", fill: "white" }),
|
|
1037
|
+
React__namespace["default"].createElement("path", { d: "M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z", fill: "white" }),
|
|
1038
|
+
React__namespace["default"].createElement("path", { d: "M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z", fill: "white" }),
|
|
1039
|
+
React__namespace["default"].createElement("path", { d: "M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z", fill: "white" }),
|
|
1040
|
+
React__namespace["default"].createElement("path", { d: "M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z", fill: "white" }),
|
|
1041
|
+
React__namespace["default"].createElement("path", { d: "M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z", fill: "white" })));
|
|
1042
|
+
|
|
1043
|
+
const ThailandRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
1044
|
+
React__namespace["default"].createElement("g", null,
|
|
1045
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
1046
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
1047
|
+
React__namespace["default"].createElement("rect", { x: "-4", y: "-0.0166016", width: "28", height: "20", fill: "#ED1C24" }),
|
|
1048
|
+
React__namespace["default"].createElement("rect", { x: "-4", y: "3.31665", width: "28", height: "13.3333", fill: "white" }),
|
|
1049
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M-4 6.65015H24V13.3168H-4V6.65015Z", fill: "#241D4F" }))));
|
|
1050
|
+
const ThailandSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 17", fill: "none" }, props),
|
|
1051
|
+
React__namespace["default"].createElement("rect", { y: "0.983398", width: "24", height: "16", rx: "2", fill: "#ED1C24" }),
|
|
1052
|
+
React__namespace["default"].createElement("rect", { y: "3.65039", width: "24", height: "10.6667", fill: "white" }),
|
|
1053
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 6.31689H24V11.6502H0V6.31689Z", fill: "#241D4F" })));
|
|
1054
|
+
|
|
1055
|
+
const VietnamRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
1056
|
+
React__namespace["default"].createElement("g", null,
|
|
1057
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
1058
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
1059
|
+
React__namespace["default"].createElement("rect", { x: "-4", y: "-0.0166016", width: "28", height: "20", fill: "#DA251D" }),
|
|
1060
|
+
React__namespace["default"].createElement("path", { d: "M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z", fill: "#FFEB3B" }))));
|
|
1061
|
+
const VietnamSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
1062
|
+
React__namespace["default"].createElement("g", null,
|
|
1063
|
+
React__namespace["default"].createElement("clipPath", null,
|
|
1064
|
+
React__namespace["default"].createElement("rect", { width: "24", height: "16", fill: "white" })),
|
|
1065
|
+
React__namespace["default"].createElement("path", { d: "M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z", fill: "#DA251D" }),
|
|
1066
|
+
React__namespace["default"].createElement("path", { d: "M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z", fill: "#FFEB3B" }))));
|
|
1067
|
+
|
|
1068
|
+
var styles$1 = {"flag":"pfaLGRK"};
|
|
1069
|
+
|
|
1070
|
+
const Flag = ({ country, language, rounded, height, width, isTesting, className, }) => {
|
|
1071
|
+
let flag;
|
|
1072
|
+
let flagRounded;
|
|
1073
|
+
switch (language) {
|
|
1074
|
+
case 'en':
|
|
1075
|
+
flag = React__namespace["default"].createElement(EnglishSquareIcon, null);
|
|
1076
|
+
flagRounded = React__namespace["default"].createElement(EnglishRoundIcon, null);
|
|
1077
|
+
break;
|
|
1078
|
+
case 'vi':
|
|
1079
|
+
flag = React__namespace["default"].createElement(VietnamSquareIcon, null);
|
|
1080
|
+
flagRounded = React__namespace["default"].createElement(VietnamRoundIcon, null);
|
|
1081
|
+
break;
|
|
1082
|
+
case 'id':
|
|
1083
|
+
flag = React__namespace["default"].createElement(IndonesiaSquareIcon, { isTesting: isTesting });
|
|
1084
|
+
flagRounded = React__namespace["default"].createElement(IndonesiaRoundIcon, { isTesting: isTesting });
|
|
1085
|
+
break;
|
|
1086
|
+
case 'th':
|
|
1087
|
+
flag = React__namespace["default"].createElement(ThailandSquareIcon, null);
|
|
1088
|
+
flagRounded = React__namespace["default"].createElement(ThailandRoundIcon, null);
|
|
1089
|
+
break;
|
|
1090
|
+
case 'km':
|
|
1091
|
+
flag = React__namespace["default"].createElement(CambodiaSquareIcon, null);
|
|
1092
|
+
flagRounded = React__namespace["default"].createElement(CambodiaRoundIcon, null);
|
|
1093
|
+
break;
|
|
1094
|
+
case 'ms':
|
|
1095
|
+
flag = React__namespace["default"].createElement(MalaysiaSquareIcon, null);
|
|
1096
|
+
flagRounded = React__namespace["default"].createElement(MalaysiaRoundIcon, null);
|
|
1097
|
+
break;
|
|
1098
|
+
case 'my':
|
|
1099
|
+
flag = React__namespace["default"].createElement(MyanmarSquareIcon, null);
|
|
1100
|
+
flagRounded = React__namespace["default"].createElement(MyanmarRoundIcon, null);
|
|
1101
|
+
break;
|
|
1102
|
+
case 'tl':
|
|
1103
|
+
flag = React__namespace["default"].createElement(PhilippinesSquareIcon, null);
|
|
1104
|
+
flagRounded = React__namespace["default"].createElement(PhilippinesRoundIcon, null);
|
|
1105
|
+
break;
|
|
1106
|
+
case 'hi':
|
|
1107
|
+
flag = React__namespace["default"].createElement(IndiaSquareIcon, null);
|
|
1108
|
+
flagRounded = React__namespace["default"].createElement(IndiaRoundIcon, null);
|
|
1109
|
+
break;
|
|
1110
|
+
case 'zh':
|
|
1111
|
+
flag = React__namespace["default"].createElement(TaiwanSquareIcon, null);
|
|
1112
|
+
flagRounded = React__namespace["default"].createElement(TaiwanRoundIcon, null);
|
|
1113
|
+
break;
|
|
1114
|
+
}
|
|
1115
|
+
if (!flag && !flagRounded) {
|
|
1116
|
+
switch (country) {
|
|
1117
|
+
case 'VN':
|
|
1118
|
+
flag = React__namespace["default"].createElement(VietnamSquareIcon, null);
|
|
1119
|
+
flagRounded = React__namespace["default"].createElement(VietnamRoundIcon, null);
|
|
1120
|
+
break;
|
|
1121
|
+
case 'ID':
|
|
1122
|
+
flag = React__namespace["default"].createElement(IndonesiaSquareIcon, { isTesting: isTesting });
|
|
1123
|
+
flagRounded = React__namespace["default"].createElement(IndonesiaRoundIcon, { isTesting: isTesting });
|
|
1124
|
+
break;
|
|
1125
|
+
case 'TH':
|
|
1126
|
+
flag = React__namespace["default"].createElement(ThailandSquareIcon, null);
|
|
1127
|
+
flagRounded = React__namespace["default"].createElement(ThailandRoundIcon, null);
|
|
1128
|
+
break;
|
|
1129
|
+
case 'KH':
|
|
1130
|
+
flag = React__namespace["default"].createElement(CambodiaSquareIcon, null);
|
|
1131
|
+
flagRounded = React__namespace["default"].createElement(CambodiaRoundIcon, null);
|
|
1132
|
+
break;
|
|
1133
|
+
case 'MY':
|
|
1134
|
+
flag = React__namespace["default"].createElement(MalaysiaSquareIcon, null);
|
|
1135
|
+
flagRounded = React__namespace["default"].createElement(MalaysiaRoundIcon, null);
|
|
1136
|
+
break;
|
|
1137
|
+
case 'MM':
|
|
1138
|
+
flag = React__namespace["default"].createElement(MyanmarSquareIcon, null);
|
|
1139
|
+
flagRounded = React__namespace["default"].createElement(MyanmarRoundIcon, null);
|
|
1140
|
+
break;
|
|
1141
|
+
case 'PH':
|
|
1142
|
+
flag = React__namespace["default"].createElement(PhilippinesSquareIcon, null);
|
|
1143
|
+
flagRounded = React__namespace["default"].createElement(PhilippinesRoundIcon, null);
|
|
1144
|
+
break;
|
|
1145
|
+
case 'IN':
|
|
1146
|
+
flag = React__namespace["default"].createElement(IndiaSquareIcon, null);
|
|
1147
|
+
flagRounded = React__namespace["default"].createElement(IndiaRoundIcon, null);
|
|
1148
|
+
break;
|
|
1149
|
+
case 'TW':
|
|
1150
|
+
flag = React__namespace["default"].createElement(TaiwanSquareIcon, null);
|
|
1151
|
+
flagRounded = React__namespace["default"].createElement(TaiwanRoundIcon, null);
|
|
1152
|
+
break;
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
return (React__namespace["default"].createElement("div", { className: `${styles$1.flag} ${className || ''}`, style: {
|
|
1156
|
+
'--width': width || 20,
|
|
1157
|
+
'--height': height || 20,
|
|
1158
|
+
} }, rounded ? flagRounded : flag));
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1373
1161
|
const countriesDefault = Object.values(constantsSite.siteOptions).reduce((countries, { phoneCountry: phone }) => {
|
|
1374
1162
|
if (!countries.includes(phone)) {
|
|
1375
1163
|
countries.push(phone);
|
|
@@ -1498,8 +1286,8 @@ const _ChipButton = (_a) => {
|
|
|
1498
1286
|
var { variant = 'secondary', withIcon, children, buttonProps } = _a, rest = tslib_es6.__rest(_a, ["variant", "withIcon", "children", "buttonProps"]);
|
|
1499
1287
|
const { classes, cx } = useStyles();
|
|
1500
1288
|
return (React__namespace["default"].createElement(core.Chip, Object.assign({ classNames: classes }, rest, { unstyled: true }),
|
|
1501
|
-
React__namespace["default"].createElement(index$
|
|
1502
|
-
React__namespace["default"].createElement(index$
|
|
1289
|
+
React__namespace["default"].createElement(index$4.Button, Object.assign({ className: cx(classes.btnRoot, 'checked'), leftIcon: withIcon ? React__namespace["default"].createElement(core$1.Check, { size: 18, color: "currentColor" }) : undefined, variant: variant }, buttonProps), children),
|
|
1290
|
+
React__namespace["default"].createElement(index$4.Button, Object.assign({ className: cx(classes.btnRoot, 'unchecked'), leftIcon: withIcon ? React__namespace["default"].createElement(core$1.Plus, { size: 18, color: "currentColor" }) : undefined, variant: 'tertiary' }, buttonProps), children)));
|
|
1503
1291
|
};
|
|
1504
1292
|
const ChipButton = _ChipButton;
|
|
1505
1293
|
ChipButton.Group = core.Chip.Group;
|
|
@@ -1529,6 +1317,4 @@ exports.StyledSlider = StyledSlider;
|
|
|
1529
1317
|
exports.StyledSliderWrapper = StyledSliderWrapper;
|
|
1530
1318
|
exports.StyledTextArea = StyledTextArea;
|
|
1531
1319
|
exports.emotionCache = emotionCache;
|
|
1532
|
-
exports.getMantineThemeOverride = getMantineThemeOverride;
|
|
1533
1320
|
exports.styles = styles;
|
|
1534
|
-
exports.themeColors = themeColors;
|