@hhgtech/hhg-components 1.28.68 → 1.28.69

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.
Files changed (519) hide show
  1. package/build/BMI_BOYS.percentile.monthly-48c9471d.js +688 -0
  2. package/build/BMI_BOYS.percentile.weekly-4965852e.js +182 -0
  3. package/build/BMI_BOYS.percentile.yearly-0f7cc8f4.js +83 -0
  4. package/build/BMI_BOYS.zscore.monthly-5bb8a433.js +440 -0
  5. package/build/BMI_BOYS.zscore.weekly-3d56f80f.js +118 -0
  6. package/build/BMI_BOYS.zscore.yearly-57081f24.js +55 -0
  7. package/build/BMI_GIRLS.percentile.monthly-95859cd9.js +688 -0
  8. package/build/BMI_GIRLS.percentile.weekly-009cf4df.js +182 -0
  9. package/build/BMI_GIRLS.percentile.yearly-4436947b.js +83 -0
  10. package/build/BMI_GIRLS.zscore.monthly-689b4eee.js +440 -0
  11. package/build/BMI_GIRLS.zscore.weekly-dff693df.js +118 -0
  12. package/build/BMI_GIRLS.zscore.yearly-05ef5f4f.js +55 -0
  13. package/build/ChevronDown-275f1ab5.js +29 -0
  14. package/build/HEAD CIRCUM_BOYS.percentile.monthly-55c580a7.js +688 -0
  15. package/build/HEAD CIRCUM_BOYS.percentile.weekly-e30f4a42.js +182 -0
  16. package/build/HEAD CIRCUM_BOYS.percentile.yearly-2378a5f0.js +83 -0
  17. package/build/HEAD CIRCUM_BOYS.zscore.monthly-102d5559.js +440 -0
  18. package/build/HEAD CIRCUM_BOYS.zscore.weekly-7b0f1ba8.js +118 -0
  19. package/build/HEAD CIRCUM_BOYS.zscore.yearly-e9237d31.js +55 -0
  20. package/build/HEAD CIRCUM_GIRLS.percentile.monthly-1ddda8b3.js +688 -0
  21. package/build/HEAD CIRCUM_GIRLS.percentile.weekly-843147ea.js +182 -0
  22. package/build/HEAD CIRCUM_GIRLS.percentile.yearly-9b51c237.js +83 -0
  23. package/build/HEAD CIRCUM_GIRLS.zscore.monthly-3f1b233c.js +440 -0
  24. package/build/HEAD CIRCUM_GIRLS.zscore.weekly-9e14d3fe.js +118 -0
  25. package/build/HEAD CIRCUM_GIRLS.zscore.yearly-d924f5ae.js +55 -0
  26. package/build/HEIGHT_BOYS.percentile.monthly-15538920.js +688 -0
  27. package/build/HEIGHT_BOYS.percentile.weekly-10bd0277.js +182 -0
  28. package/build/HEIGHT_BOYS.percentile.yearly-8e678d38.js +237 -0
  29. package/build/HEIGHT_BOYS.zscore.monthly-2c110da9.js +440 -0
  30. package/build/HEIGHT_BOYS.zscore.weekly-288b7733.js +118 -0
  31. package/build/HEIGHT_BOYS.zscore.yearly-42f6f9f7.js +153 -0
  32. package/build/HEIGHT_GIRLS.percentile.monthly-04abe7d2.js +688 -0
  33. package/build/HEIGHT_GIRLS.percentile.weekly-9653b16c.js +182 -0
  34. package/build/HEIGHT_GIRLS.percentile.yearly-9efacd67.js +237 -0
  35. package/build/HEIGHT_GIRLS.zscore.monthly-c64a97b2.js +440 -0
  36. package/build/HEIGHT_GIRLS.zscore.weekly-3302dd83.js +118 -0
  37. package/build/HEIGHT_GIRLS.zscore.yearly-ebe5114f.js +153 -0
  38. package/build/Subot-5fc40fb5.js +217 -0
  39. package/build/Visible-5c5d57cf.js +29 -0
  40. package/build/WEIGHT_BOYS.percentile.monthly-5e11e7a0.js +688 -0
  41. package/build/WEIGHT_BOYS.percentile.weekly-68ae2578.js +182 -0
  42. package/build/WEIGHT_BOYS.percentile.yearly-030c06a4.js +138 -0
  43. package/build/WEIGHT_BOYS.zscore.monthly-d22c7b57.js +440 -0
  44. package/build/WEIGHT_BOYS.zscore.weekly-d8d901e6.js +118 -0
  45. package/build/WEIGHT_BOYS.zscore.yearly-c311a084.js +90 -0
  46. package/build/WEIGHT_GIRLS.percentile.monthly-5c44f8eb.js +688 -0
  47. package/build/WEIGHT_GIRLS.percentile.weekly-faa98671.js +182 -0
  48. package/build/WEIGHT_GIRLS.percentile.yearly-560b862e.js +138 -0
  49. package/build/WEIGHT_GIRLS.zscore.monthly-5365ba1a.js +440 -0
  50. package/build/WEIGHT_GIRLS.zscore.weekly-0d9dc521.js +118 -0
  51. package/build/WEIGHT_GIRLS.zscore.yearly-5a3c4e43.js +90 -0
  52. package/build/adapters.js +36 -1
  53. package/build/{esm/animation-a158bfd1.js → animation-eb4e500b.js} +32 -10
  54. package/build/babyGrowth.js +913 -47
  55. package/build/cache.js +13 -1
  56. package/build/care.js +38 -1
  57. package/build/components.js +186 -1
  58. package/build/constants-8b8bc19f.js +255 -0
  59. package/build/constants-ae18ce18.js +935 -0
  60. package/build/constants.js +43 -1
  61. package/build/cookieHelper-5c9f4bb8.js +43 -0
  62. package/build/core-2aa8d86c.js +51 -0
  63. package/build/dataTransform-089f414c.js +66 -0
  64. package/build/ecom.js +745 -1
  65. package/build/esm/BMI_BOYS.percentile.monthly-de5dce68.js +686 -0
  66. package/build/esm/BMI_BOYS.percentile.weekly-9d3990b6.js +180 -0
  67. package/build/esm/BMI_BOYS.percentile.yearly-98b9114a.js +81 -0
  68. package/build/esm/BMI_BOYS.zscore.monthly-394646f0.js +438 -0
  69. package/build/esm/BMI_BOYS.zscore.weekly-c669ea51.js +116 -0
  70. package/build/esm/BMI_BOYS.zscore.yearly-771ef6b6.js +53 -0
  71. package/build/esm/BMI_GIRLS.percentile.monthly-1ff3d499.js +686 -0
  72. package/build/esm/BMI_GIRLS.percentile.weekly-211d2f27.js +180 -0
  73. package/build/esm/BMI_GIRLS.percentile.yearly-206fdcff.js +81 -0
  74. package/build/esm/BMI_GIRLS.zscore.monthly-b1137e36.js +438 -0
  75. package/build/esm/BMI_GIRLS.zscore.weekly-63ed3cd6.js +116 -0
  76. package/build/esm/BMI_GIRLS.zscore.yearly-221d187c.js +53 -0
  77. package/build/esm/ChevronDown-9a8ece61.js +7 -0
  78. package/build/esm/HEAD CIRCUM_BOYS.percentile.monthly-4c37847c.js +686 -0
  79. package/build/esm/HEAD CIRCUM_BOYS.percentile.weekly-8f6ea38a.js +180 -0
  80. package/build/esm/HEAD CIRCUM_BOYS.percentile.yearly-6c12a99a.js +81 -0
  81. package/build/esm/HEAD CIRCUM_BOYS.zscore.monthly-c531b497.js +438 -0
  82. package/build/esm/HEAD CIRCUM_BOYS.zscore.weekly-6cafba00.js +116 -0
  83. package/build/esm/HEAD CIRCUM_BOYS.zscore.yearly-fe8114a0.js +53 -0
  84. package/build/esm/HEAD CIRCUM_GIRLS.percentile.monthly-25ce0d36.js +686 -0
  85. package/build/esm/HEAD CIRCUM_GIRLS.percentile.weekly-5d3f2862.js +180 -0
  86. package/build/esm/HEAD CIRCUM_GIRLS.percentile.yearly-2b709ca5.js +81 -0
  87. package/build/esm/HEAD CIRCUM_GIRLS.zscore.monthly-e8617bae.js +438 -0
  88. package/build/esm/HEAD CIRCUM_GIRLS.zscore.weekly-f3252d67.js +116 -0
  89. package/build/esm/HEAD CIRCUM_GIRLS.zscore.yearly-5b62d41f.js +53 -0
  90. package/build/esm/HEIGHT_BOYS.percentile.monthly-63d2cf96.js +686 -0
  91. package/build/esm/HEIGHT_BOYS.percentile.weekly-8ea5102d.js +180 -0
  92. package/build/esm/HEIGHT_BOYS.percentile.yearly-8107b77b.js +235 -0
  93. package/build/esm/HEIGHT_BOYS.zscore.monthly-641cdfa3.js +438 -0
  94. package/build/esm/HEIGHT_BOYS.zscore.weekly-86da0362.js +116 -0
  95. package/build/esm/HEIGHT_BOYS.zscore.yearly-060f6e79.js +151 -0
  96. package/build/esm/HEIGHT_GIRLS.percentile.monthly-fb987d37.js +686 -0
  97. package/build/esm/HEIGHT_GIRLS.percentile.weekly-82655dc0.js +180 -0
  98. package/build/esm/HEIGHT_GIRLS.percentile.yearly-a63b8456.js +235 -0
  99. package/build/esm/HEIGHT_GIRLS.zscore.monthly-77d676a3.js +438 -0
  100. package/build/esm/HEIGHT_GIRLS.zscore.weekly-c0387a4e.js +116 -0
  101. package/build/esm/HEIGHT_GIRLS.zscore.yearly-41203c20.js +151 -0
  102. package/build/esm/Subot-3289bd8e.js +212 -0
  103. package/build/esm/Visible-a3d436dd.js +7 -0
  104. package/build/esm/WEIGHT_BOYS.percentile.monthly-50802d8b.js +686 -0
  105. package/build/esm/WEIGHT_BOYS.percentile.weekly-4d72ddd6.js +180 -0
  106. package/build/esm/WEIGHT_BOYS.percentile.yearly-20a29844.js +136 -0
  107. package/build/esm/WEIGHT_BOYS.zscore.monthly-729e6614.js +438 -0
  108. package/build/esm/WEIGHT_BOYS.zscore.weekly-90352f48.js +116 -0
  109. package/build/esm/WEIGHT_BOYS.zscore.yearly-fe1871cc.js +88 -0
  110. package/build/esm/WEIGHT_GIRLS.percentile.monthly-e6afb2e0.js +686 -0
  111. package/build/esm/WEIGHT_GIRLS.percentile.weekly-b66d3016.js +180 -0
  112. package/build/esm/WEIGHT_GIRLS.percentile.yearly-a55622c5.js +136 -0
  113. package/build/esm/WEIGHT_GIRLS.zscore.monthly-2cdcbe75.js +438 -0
  114. package/build/esm/WEIGHT_GIRLS.zscore.weekly-d5be31d5.js +116 -0
  115. package/build/esm/WEIGHT_GIRLS.zscore.yearly-99e8d3a7.js +88 -0
  116. package/build/esm/adapters.js +26 -1
  117. package/build/{animation-ea278d9a.js → esm/animation-3d5edc39.js} +22 -10
  118. package/build/esm/babyGrowth.js +883 -47
  119. package/build/esm/cache.js +3 -1
  120. package/build/esm/care.js +26 -1
  121. package/build/esm/components.js +88 -1
  122. package/build/esm/constants-2a6d2434.js +932 -0
  123. package/build/esm/constants-b77ffe3d.js +238 -0
  124. package/build/esm/constants.js +4 -1
  125. package/build/esm/cookieHelper-d314282c.js +39 -0
  126. package/build/esm/core-8c73d133.js +47 -0
  127. package/build/esm/dataTransform-8ecfc046.js +56 -0
  128. package/build/esm/ecom.js +737 -1
  129. package/build/esm/footer.js +31 -1
  130. package/build/esm/gAssets.js +5 -1
  131. package/build/esm/getDynamicHealthTool-f4497aa5.js +44 -0
  132. package/build/esm/getSocialList-a5b8462e.js +66 -0
  133. package/build/esm/hooks.js +21 -1
  134. package/build/esm/i18n-values/en-PH.js +600 -1
  135. package/build/esm/i18n-values/hi-IN.js +600 -1
  136. package/build/esm/i18n-values/id-ID.js +600 -1
  137. package/build/esm/i18n-values/km-KH.js +600 -1
  138. package/build/esm/i18n-values/ms-MY.js +602 -1
  139. package/build/esm/i18n-values/my-MM.js +600 -1
  140. package/build/esm/i18n-values/th-TH.js +600 -1
  141. package/build/esm/i18n-values/tl-PH.js +600 -1
  142. package/build/esm/i18n-values/vi-VN.js +607 -1
  143. package/build/esm/i18n-values/vi-VN_MB.js +607 -1
  144. package/build/esm/i18n-values/zh-TW.js +600 -1
  145. package/build/esm/i18n.js +55 -1
  146. package/build/esm/i18nV2.js +18 -1
  147. package/build/esm/index-12fa4985.js +8 -0
  148. package/build/esm/index-1e59f99a.js +152 -0
  149. package/build/esm/index-32e53dac.js +1936 -0
  150. package/build/esm/index-3474401a.js +149 -0
  151. package/build/esm/index-34899aa3.js +17 -0
  152. package/build/esm/index-350e8f5b.js +124 -0
  153. package/build/esm/index-41bf860a.js +151 -0
  154. package/build/esm/index-4aa8e518.js +116 -0
  155. package/build/esm/index-4fe2b03f.js +32 -0
  156. package/build/esm/index-6ea6484e.js +29 -0
  157. package/build/esm/index-717401ee.js +184 -0
  158. package/build/esm/index-7af5242a.js +24 -0
  159. package/build/esm/index-7b8c85cd.js +8302 -0
  160. package/build/esm/index-81f295b7.js +23 -0
  161. package/build/esm/index-8858383e.js +52 -0
  162. package/build/esm/index-8f52dcf3.js +33 -0
  163. package/build/esm/index-9ea7e838.js +33 -0
  164. package/build/esm/index-aabac2aa.js +3241 -0
  165. package/build/esm/index-b9b2c417.js +837 -0
  166. package/build/esm/index-c2da5293.js +12 -0
  167. package/build/esm/index-c56d60db.js +370 -0
  168. package/build/esm/index-c5d7f692.js +24 -0
  169. package/build/esm/index-cc93e010.js +53 -0
  170. package/build/esm/index-d7f046db.js +5 -0
  171. package/build/esm/index-d8177667.js +14 -0
  172. package/build/esm/index-da139dda.js +615 -0
  173. package/build/esm/index-e612be9c.js +905 -0
  174. package/build/esm/index-f3d0592b.js +71 -0
  175. package/build/esm/index.js +190 -1
  176. package/build/{index.styled-625bfdc7.js → esm/index.styled-9c9db9cc.js} +17 -5
  177. package/build/esm/index.styles-5add27c5.js +1303 -0
  178. package/build/esm/isProduction-0ea904dd.js +27 -0
  179. package/build/esm/lead.js +2140 -1
  180. package/build/esm/localizeNumberFormat-2ac3773e.js +23 -0
  181. package/build/esm/mantine.js +113 -1
  182. package/build/esm/misc.js +22 -1
  183. package/build/esm/navigation.js +51 -1
  184. package/build/esm/normalizeLink-d1c9617e.js +12 -0
  185. package/build/esm/number-0c126a39.js +38 -0
  186. package/build/esm/onboardingV2.js +860 -34
  187. package/build/esm/paths-a8204db4.js +14 -0
  188. package/build/esm/pwg.js +208 -7
  189. package/build/esm/routing-2474f896.js +40 -0
  190. package/build/esm/subot.js +4553 -134
  191. package/build/esm/theme-e74db08c.js +186 -0
  192. package/build/esm/together.js +52 -1
  193. package/build/esm/translationsContext-ad3e25de.js +5 -0
  194. package/build/esm/tslib.es6-1b1533a9.js +38 -0
  195. package/build/esm/types-06f00b3d.js +8015 -0
  196. package/build/esm/types-15e34418.js +3432 -0
  197. package/build/esm/types-ba190c26.js +21 -0
  198. package/build/esm/types.js +1 -1
  199. package/build/esm/unifyEnv.js +42 -1
  200. package/build/esm/useCategory-2c87152d.js +292 -0
  201. package/build/esm/useHealthToolCache-29d22ddb.js +17 -0
  202. package/build/esm/useIsInit-8a2fc8e5.js +11 -0
  203. package/build/esm/useOutsideClick-c8a7ff20.js +45 -0
  204. package/build/esm/usePlacesAutocomplete-63e04e8e.js +80 -0
  205. package/build/esm/useScrollbarSize-51ce1374.js +57 -0
  206. package/build/esm/useTranslations-4f1db486.js +26 -0
  207. package/build/esm/useUniqueId-3638402f.js +41 -0
  208. package/build/esm/utils-2c484c05.js +132 -0
  209. package/build/esm/utils-3a2a47d9.js +22 -0
  210. package/build/esm/utils-6d7b88da.js +367 -0
  211. package/build/esm/utils-70718e9c.js +1124 -0
  212. package/build/esm/vaccination.js +868 -40
  213. package/build/footer.js +39 -1
  214. package/build/gAssets.js +14 -1
  215. package/build/getDynamicHealthTool-114a1e27.js +48 -0
  216. package/build/getSocialList-4713441d.js +72 -0
  217. package/build/hooks.js +44 -1
  218. package/build/i18n-values/en-PH.js +611 -1
  219. package/build/i18n-values/hi-IN.js +611 -1
  220. package/build/i18n-values/id-ID.js +611 -1
  221. package/build/i18n-values/km-KH.js +611 -1
  222. package/build/i18n-values/ms-MY.js +613 -1
  223. package/build/i18n-values/my-MM.js +611 -1
  224. package/build/i18n-values/th-TH.js +611 -1
  225. package/build/i18n-values/tl-PH.js +611 -1
  226. package/build/i18n-values/vi-VN.js +618 -1
  227. package/build/i18n-values/vi-VN_MB.js +618 -1
  228. package/build/i18n-values/zh-TW.js +611 -1
  229. package/build/i18n.js +64 -1
  230. package/build/i18nV2.js +26 -1
  231. package/build/index-020e6908.js +39 -0
  232. package/build/index-0da9b2e8.js +59 -0
  233. package/build/index-11468c00.js +157 -0
  234. package/build/index-117448a5.js +133 -0
  235. package/build/index-12c07f71.js +18 -0
  236. package/build/index-1a105e87.js +123 -0
  237. package/build/index-1baaedb0.js +55 -0
  238. package/build/index-32d38318.js +7 -0
  239. package/build/index-38582ee0.js +8373 -0
  240. package/build/index-3e5fc2d6.js +1994 -0
  241. package/build/index-3eef6bed.js +853 -0
  242. package/build/index-4035e658.js +159 -0
  243. package/build/index-488d71ae.js +30 -0
  244. package/build/index-5553f9e1.js +930 -0
  245. package/build/index-5fa68e45.js +380 -0
  246. package/build/index-7b467209.js +39 -0
  247. package/build/index-81cb1142.js +77 -0
  248. package/build/index-84ab5b89.js +38 -0
  249. package/build/index-8a95d709.js +30 -0
  250. package/build/index-9da9f0c3.js +35 -0
  251. package/build/index-af91c83e.js +20 -0
  252. package/build/index-b6aea85e.js +191 -0
  253. package/build/index-bc4f4c33.js +156 -0
  254. package/build/index-c604d6bb.js +624 -0
  255. package/build/index-d330735e.js +30 -0
  256. package/build/index-d8a7efaf.js +14 -0
  257. package/build/index-e2e81fa2.js +23 -0
  258. package/build/index-e3d896b3.js +3261 -0
  259. package/build/index.js +436 -1
  260. package/build/{esm/index.styled-ac7ac0fc.js → index.styled-5628b3e7.js} +25 -5
  261. package/build/index.styles-b822bf42.js +1342 -0
  262. package/build/isProduction-5ce3a388.js +29 -0
  263. package/build/lead.js +2168 -1
  264. package/build/localizeNumberFormat-f5f50987.js +31 -0
  265. package/build/mantine.js +154 -1
  266. package/build/misc.js +70 -1
  267. package/build/navigation.js +61 -1
  268. package/build/normalizeLink-6f7b85d8.js +15 -0
  269. package/build/number-79fe92e1.js +40 -0
  270. package/build/onboardingV2.js +892 -34
  271. package/build/paths-a5643d9e.js +16 -0
  272. package/build/pwg.js +217 -7
  273. package/build/routing-191a9a00.js +46 -0
  274. package/build/subot.js +4592 -134
  275. package/build/theme-fa910869.js +189 -0
  276. package/build/together.js +112 -1
  277. package/build/translationsContext-950334bf.js +7 -0
  278. package/build/tslib.es6-65e312a5.js +41 -0
  279. package/build/types-0f117a9f.js +8084 -0
  280. package/build/types-1fedb3d1.js +3446 -0
  281. package/build/types-52a4e888.js +24 -0
  282. package/build/types.js +56 -1
  283. package/build/unifyEnv.js +46 -1
  284. package/build/useCategory-cfc702f5.js +299 -0
  285. package/build/useHealthToolCache-43a7014d.js +19 -0
  286. package/build/useIsInit-89535012.js +13 -0
  287. package/build/useOutsideClick-c6813964.js +49 -0
  288. package/build/usePlacesAutocomplete-297de092.js +84 -0
  289. package/build/useScrollbarSize-0fa31aa7.js +64 -0
  290. package/build/useTranslations-e1853417.js +32 -0
  291. package/build/useUniqueId-11369116.js +44 -0
  292. package/build/utils-52113753.js +384 -0
  293. package/build/utils-64bd0c42.js +143 -0
  294. package/build/utils-661411f6.js +1171 -0
  295. package/build/utils-e1513cbc.js +25 -0
  296. package/build/vaccination.js +891 -40
  297. package/package.json +4 -5
  298. package/build/BMI_BOYS.percentile.monthly-8cc875f7.js +0 -1
  299. package/build/BMI_BOYS.percentile.weekly-b45b05e3.js +0 -1
  300. package/build/BMI_BOYS.percentile.yearly-e4f1d19c.js +0 -1
  301. package/build/BMI_BOYS.zscore.monthly-e51737eb.js +0 -1
  302. package/build/BMI_BOYS.zscore.weekly-4080c0d5.js +0 -1
  303. package/build/BMI_BOYS.zscore.yearly-703e5747.js +0 -1
  304. package/build/BMI_GIRLS.percentile.monthly-ac5a001d.js +0 -1
  305. package/build/BMI_GIRLS.percentile.weekly-6a6f4703.js +0 -1
  306. package/build/BMI_GIRLS.percentile.yearly-8eb7e8e5.js +0 -1
  307. package/build/BMI_GIRLS.zscore.monthly-c2763465.js +0 -1
  308. package/build/BMI_GIRLS.zscore.weekly-7438d8b6.js +0 -1
  309. package/build/BMI_GIRLS.zscore.yearly-a56ffb0c.js +0 -1
  310. package/build/ChevronDown-81b50697.js +0 -1
  311. package/build/HEAD CIRCUM_BOYS.percentile.monthly-cccf9306.js +0 -1
  312. package/build/HEAD CIRCUM_BOYS.percentile.weekly-85fc8a7e.js +0 -1
  313. package/build/HEAD CIRCUM_BOYS.percentile.yearly-d22ad913.js +0 -1
  314. package/build/HEAD CIRCUM_BOYS.zscore.monthly-4db20906.js +0 -1
  315. package/build/HEAD CIRCUM_BOYS.zscore.weekly-1a4dc975.js +0 -1
  316. package/build/HEAD CIRCUM_BOYS.zscore.yearly-a2bcdd3a.js +0 -1
  317. package/build/HEAD CIRCUM_GIRLS.percentile.monthly-13e127f5.js +0 -1
  318. package/build/HEAD CIRCUM_GIRLS.percentile.weekly-95a7695c.js +0 -1
  319. package/build/HEAD CIRCUM_GIRLS.percentile.yearly-852dc893.js +0 -1
  320. package/build/HEAD CIRCUM_GIRLS.zscore.monthly-9865857d.js +0 -1
  321. package/build/HEAD CIRCUM_GIRLS.zscore.weekly-9bdf4dda.js +0 -1
  322. package/build/HEAD CIRCUM_GIRLS.zscore.yearly-ac24fb2f.js +0 -1
  323. package/build/HEIGHT_BOYS.percentile.monthly-691b0568.js +0 -1
  324. package/build/HEIGHT_BOYS.percentile.weekly-520bd6ac.js +0 -1
  325. package/build/HEIGHT_BOYS.percentile.yearly-9093722e.js +0 -1
  326. package/build/HEIGHT_BOYS.zscore.monthly-84db220e.js +0 -1
  327. package/build/HEIGHT_BOYS.zscore.weekly-ce0c52d1.js +0 -1
  328. package/build/HEIGHT_BOYS.zscore.yearly-dab7d4e0.js +0 -1
  329. package/build/HEIGHT_GIRLS.percentile.monthly-7f42e4cd.js +0 -1
  330. package/build/HEIGHT_GIRLS.percentile.weekly-79ca42e5.js +0 -1
  331. package/build/HEIGHT_GIRLS.percentile.yearly-4e11d0f8.js +0 -1
  332. package/build/HEIGHT_GIRLS.zscore.monthly-74be7929.js +0 -1
  333. package/build/HEIGHT_GIRLS.zscore.weekly-a47a1d90.js +0 -1
  334. package/build/HEIGHT_GIRLS.zscore.yearly-f4984496.js +0 -1
  335. package/build/Subot-b0700a95.js +0 -1
  336. package/build/Visible-0267024a.js +0 -1
  337. package/build/WEIGHT_BOYS.percentile.monthly-08b33be0.js +0 -1
  338. package/build/WEIGHT_BOYS.percentile.weekly-65a4fa70.js +0 -1
  339. package/build/WEIGHT_BOYS.percentile.yearly-f3b46cc5.js +0 -1
  340. package/build/WEIGHT_BOYS.zscore.monthly-d1191a6a.js +0 -1
  341. package/build/WEIGHT_BOYS.zscore.weekly-61c60cf9.js +0 -1
  342. package/build/WEIGHT_BOYS.zscore.yearly-0d89c866.js +0 -1
  343. package/build/WEIGHT_GIRLS.percentile.monthly-221c1ba4.js +0 -1
  344. package/build/WEIGHT_GIRLS.percentile.weekly-fbd203a6.js +0 -1
  345. package/build/WEIGHT_GIRLS.percentile.yearly-36a909c2.js +0 -1
  346. package/build/WEIGHT_GIRLS.zscore.monthly-09b6ae5b.js +0 -1
  347. package/build/WEIGHT_GIRLS.zscore.weekly-7ada849a.js +0 -1
  348. package/build/WEIGHT_GIRLS.zscore.yearly-5115a509.js +0 -1
  349. package/build/constants-47b9b5ff.js +0 -108
  350. package/build/constants-8d5fe5b9.js +0 -1
  351. package/build/cookieHelper-effc4373.js +0 -1
  352. package/build/core-fc6dbe08.js +0 -1
  353. package/build/dataTransform-ad721ec5.js +0 -1
  354. package/build/esm/BMI_BOYS.percentile.monthly-2aa26d5a.js +0 -1
  355. package/build/esm/BMI_BOYS.percentile.weekly-838f6b27.js +0 -1
  356. package/build/esm/BMI_BOYS.percentile.yearly-e77609d7.js +0 -1
  357. package/build/esm/BMI_BOYS.zscore.monthly-2657168d.js +0 -1
  358. package/build/esm/BMI_BOYS.zscore.weekly-d3c18887.js +0 -1
  359. package/build/esm/BMI_BOYS.zscore.yearly-3759a54e.js +0 -1
  360. package/build/esm/BMI_GIRLS.percentile.monthly-f3e35273.js +0 -1
  361. package/build/esm/BMI_GIRLS.percentile.weekly-7936ee97.js +0 -1
  362. package/build/esm/BMI_GIRLS.percentile.yearly-757b0bc4.js +0 -1
  363. package/build/esm/BMI_GIRLS.zscore.monthly-d9760b61.js +0 -1
  364. package/build/esm/BMI_GIRLS.zscore.weekly-a58e0db1.js +0 -1
  365. package/build/esm/BMI_GIRLS.zscore.yearly-92413c27.js +0 -1
  366. package/build/esm/ChevronDown-e7d44dc3.js +0 -1
  367. package/build/esm/HEAD CIRCUM_BOYS.percentile.monthly-c50f125e.js +0 -1
  368. package/build/esm/HEAD CIRCUM_BOYS.percentile.weekly-29038598.js +0 -1
  369. package/build/esm/HEAD CIRCUM_BOYS.percentile.yearly-32c4e2be.js +0 -1
  370. package/build/esm/HEAD CIRCUM_BOYS.zscore.monthly-cd04e4b1.js +0 -1
  371. package/build/esm/HEAD CIRCUM_BOYS.zscore.weekly-6b63745c.js +0 -1
  372. package/build/esm/HEAD CIRCUM_BOYS.zscore.yearly-3a5be78c.js +0 -1
  373. package/build/esm/HEAD CIRCUM_GIRLS.percentile.monthly-c7996a02.js +0 -1
  374. package/build/esm/HEAD CIRCUM_GIRLS.percentile.weekly-553c94d5.js +0 -1
  375. package/build/esm/HEAD CIRCUM_GIRLS.percentile.yearly-97f86688.js +0 -1
  376. package/build/esm/HEAD CIRCUM_GIRLS.zscore.monthly-a442f7cc.js +0 -1
  377. package/build/esm/HEAD CIRCUM_GIRLS.zscore.weekly-cdd37afd.js +0 -1
  378. package/build/esm/HEAD CIRCUM_GIRLS.zscore.yearly-50d9daff.js +0 -1
  379. package/build/esm/HEIGHT_BOYS.percentile.monthly-53580c1f.js +0 -1
  380. package/build/esm/HEIGHT_BOYS.percentile.weekly-60514fb8.js +0 -1
  381. package/build/esm/HEIGHT_BOYS.percentile.yearly-d6b456a7.js +0 -1
  382. package/build/esm/HEIGHT_BOYS.zscore.monthly-21bd1444.js +0 -1
  383. package/build/esm/HEIGHT_BOYS.zscore.weekly-2a4e7aa0.js +0 -1
  384. package/build/esm/HEIGHT_BOYS.zscore.yearly-7f68c522.js +0 -1
  385. package/build/esm/HEIGHT_GIRLS.percentile.monthly-d5d7448a.js +0 -1
  386. package/build/esm/HEIGHT_GIRLS.percentile.weekly-c3c18801.js +0 -1
  387. package/build/esm/HEIGHT_GIRLS.percentile.yearly-3491901c.js +0 -1
  388. package/build/esm/HEIGHT_GIRLS.zscore.monthly-9f15dd03.js +0 -1
  389. package/build/esm/HEIGHT_GIRLS.zscore.weekly-81319284.js +0 -1
  390. package/build/esm/HEIGHT_GIRLS.zscore.yearly-8a7db57c.js +0 -1
  391. package/build/esm/Subot-fcd7c77c.js +0 -1
  392. package/build/esm/Visible-66d0e6f3.js +0 -1
  393. package/build/esm/WEIGHT_BOYS.percentile.monthly-0f5ea175.js +0 -1
  394. package/build/esm/WEIGHT_BOYS.percentile.weekly-88f50098.js +0 -1
  395. package/build/esm/WEIGHT_BOYS.percentile.yearly-63383bc3.js +0 -1
  396. package/build/esm/WEIGHT_BOYS.zscore.monthly-bf93eec1.js +0 -1
  397. package/build/esm/WEIGHT_BOYS.zscore.weekly-fe0600be.js +0 -1
  398. package/build/esm/WEIGHT_BOYS.zscore.yearly-4212bebb.js +0 -1
  399. package/build/esm/WEIGHT_GIRLS.percentile.monthly-6cc8cf8c.js +0 -1
  400. package/build/esm/WEIGHT_GIRLS.percentile.weekly-05d66e6d.js +0 -1
  401. package/build/esm/WEIGHT_GIRLS.percentile.yearly-b8c1af06.js +0 -1
  402. package/build/esm/WEIGHT_GIRLS.zscore.monthly-8c9195d5.js +0 -1
  403. package/build/esm/WEIGHT_GIRLS.zscore.weekly-4ef9aeee.js +0 -1
  404. package/build/esm/WEIGHT_GIRLS.zscore.yearly-0ccaeb51.js +0 -1
  405. package/build/esm/constants-046883ea.js +0 -1
  406. package/build/esm/constants-1e65de37.js +0 -108
  407. package/build/esm/cookieHelper-e37e6893.js +0 -1
  408. package/build/esm/core-7a237cdc.js +0 -1
  409. package/build/esm/dataTransform-f4476a6b.js +0 -1
  410. package/build/esm/getDynamicHealthTool-e095ea8b.js +0 -1
  411. package/build/esm/getSocialList-5f74d2b2.js +0 -1
  412. package/build/esm/index-006bca17.js +0 -1
  413. package/build/esm/index-068a9606.js +0 -137
  414. package/build/esm/index-0d0e5f45.js +0 -1
  415. package/build/esm/index-1e29d7b0.js +0 -1
  416. package/build/esm/index-2b572b4f.js +0 -1
  417. package/build/esm/index-318d4230.js +0 -117
  418. package/build/esm/index-39174b30.js +0 -1
  419. package/build/esm/index-3bfcc95c.js +0 -1
  420. package/build/esm/index-3c612859.js +0 -1
  421. package/build/esm/index-4004c359.js +0 -113
  422. package/build/esm/index-41f67971.js +0 -177
  423. package/build/esm/index-42a8c7e8.js +0 -1430
  424. package/build/esm/index-461eded2.js +0 -2748
  425. package/build/esm/index-575f65cb.js +0 -1
  426. package/build/esm/index-7f4008ff.js +0 -1
  427. package/build/esm/index-81dbde00.js +0 -375
  428. package/build/esm/index-99348fe5.js +0 -1
  429. package/build/esm/index-9b8a2194.js +0 -1
  430. package/build/esm/index-9d529405.js +0 -1
  431. package/build/esm/index-a445a873.js +0 -1
  432. package/build/esm/index-ab99f4fa.js +0 -1
  433. package/build/esm/index-b7782e6c.js +0 -1
  434. package/build/esm/index-b7a87c5c.js +0 -50
  435. package/build/esm/index-c737fbcc.js +0 -1
  436. package/build/esm/index-dfe2918d.js +0 -1
  437. package/build/esm/index-e7dea007.js +0 -1
  438. package/build/esm/index-eab0e39a.js +0 -1
  439. package/build/esm/index-fa743e14.js +0 -1
  440. package/build/esm/index.styles-d0b249c6.js +0 -817
  441. package/build/esm/isProduction-819e0c5c.js +0 -1
  442. package/build/esm/localizeNumberFormat-87b8adfd.js +0 -1
  443. package/build/esm/normalizeLink-86ab5a4c.js +0 -1
  444. package/build/esm/number-087a7e5f.js +0 -1
  445. package/build/esm/paths-838a5528.js +0 -1
  446. package/build/esm/routing-c85cbf05.js +0 -1
  447. package/build/esm/theme-691eca44.js +0 -1
  448. package/build/esm/translationsContext-f8842fe7.js +0 -1
  449. package/build/esm/tslib.es6-1ab8a2bb.js +0 -1
  450. package/build/esm/types-2d76a291.js +0 -3004
  451. package/build/esm/types-81267cf7.js +0 -1
  452. package/build/esm/types-e02aa1d1.js +0 -785
  453. package/build/esm/useCategory-16048c77.js +0 -1
  454. package/build/esm/useHealthToolCache-b2ecca8b.js +0 -1
  455. package/build/esm/useIsInit-c9c6a218.js +0 -1
  456. package/build/esm/useOutsideClick-9787ba70.js +0 -1
  457. package/build/esm/usePlacesAutocomplete-1966a8e8.js +0 -1
  458. package/build/esm/useScrollbarSize-2cadb783.js +0 -1
  459. package/build/esm/useTranslations-06f29a74.js +0 -1
  460. package/build/esm/useUniqueId-8d28d0f0.js +0 -1
  461. package/build/esm/utils-21a3e198.js +0 -1
  462. package/build/esm/utils-581f9d39.js +0 -8
  463. package/build/esm/utils-8845cf64.js +0 -141
  464. package/build/esm/utils-9188a853.js +0 -1
  465. package/build/getDynamicHealthTool-110fd918.js +0 -1
  466. package/build/getSocialList-eca125e9.js +0 -1
  467. package/build/index-06e0154a.js +0 -177
  468. package/build/index-07abd94a.js +0 -1
  469. package/build/index-0c773078.js +0 -117
  470. package/build/index-170f5567.js +0 -1
  471. package/build/index-19ccb0c7.js +0 -1
  472. package/build/index-219cacd2.js +0 -1
  473. package/build/index-2c0386df.js +0 -50
  474. package/build/index-2ce34495.js +0 -1
  475. package/build/index-3f31aa06.js +0 -1
  476. package/build/index-686fe563.js +0 -1
  477. package/build/index-6c8c7fa5.js +0 -1
  478. package/build/index-76c307b4.js +0 -375
  479. package/build/index-78e20b2b.js +0 -1
  480. package/build/index-853a455f.js +0 -1
  481. package/build/index-9834ba3a.js +0 -1
  482. package/build/index-9c1259e4.js +0 -1
  483. package/build/index-9eed92e6.js +0 -1
  484. package/build/index-a046b313.js +0 -137
  485. package/build/index-ae78fa34.js +0 -113
  486. package/build/index-c4552011.js +0 -1
  487. package/build/index-d0a7d5e2.js +0 -1
  488. package/build/index-d59720e6.js +0 -1
  489. package/build/index-de63ce4e.js +0 -1
  490. package/build/index-e363ea7e.js +0 -1
  491. package/build/index-e4952f3b.js +0 -2748
  492. package/build/index-e9919dca.js +0 -1430
  493. package/build/index-f124e061.js +0 -1
  494. package/build/index-fc3d21c5.js +0 -1
  495. package/build/index.styles-e56f16e2.js +0 -817
  496. package/build/isProduction-b8d43f53.js +0 -1
  497. package/build/localizeNumberFormat-7b0e4009.js +0 -1
  498. package/build/normalizeLink-eb3980aa.js +0 -1
  499. package/build/number-03c2dc35.js +0 -1
  500. package/build/paths-38b399e5.js +0 -1
  501. package/build/routing-fa35242c.js +0 -1
  502. package/build/theme-58404344.js +0 -1
  503. package/build/translationsContext-6a4e467c.js +0 -1
  504. package/build/tslib.es6-f82cfdbc.js +0 -1
  505. package/build/types-006c0884.js +0 -785
  506. package/build/types-48100068.js +0 -3004
  507. package/build/types-b4886ab8.js +0 -1
  508. package/build/useCategory-5efbe937.js +0 -1
  509. package/build/useHealthToolCache-4085d047.js +0 -1
  510. package/build/useIsInit-cde99e17.js +0 -1
  511. package/build/useOutsideClick-8d455bb1.js +0 -1
  512. package/build/usePlacesAutocomplete-fa0acdc7.js +0 -1
  513. package/build/useScrollbarSize-3593573d.js +0 -1
  514. package/build/useTranslations-d91f297f.js +0 -1
  515. package/build/useUniqueId-76286c45.js +0 -1
  516. package/build/utils-6c4e6bc4.js +0 -8
  517. package/build/utils-dd2fab54.js +0 -141
  518. package/build/utils-e1f42597.js +0 -1
  519. package/build/utils-fade3897.js +0 -1
@@ -0,0 +1,1994 @@
1
+ 'use strict';
2
+
3
+ var tslib_es6 = require('./tslib.es6-65e312a5.js');
4
+ var React = require('react');
5
+ var other = require('@hhgtech/icons/other');
6
+ var core = require('@mantine/core');
7
+ var hooks = require('@mantine/hooks');
8
+ var index = require('./index-1baaedb0.js');
9
+ var dayjs = require('dayjs');
10
+ var Subot = require('./Subot-5fc40fb5.js');
11
+ var utils = require('./utils-64bd0c42.js');
12
+ var styled = require('styled-components');
13
+ var carousel = require('@mantine/carousel');
14
+ var index$1 = require('./index-bc4f4c33.js');
15
+ var theme = require('./theme-fa910869.js');
16
+ var index$2 = require('./index-5553f9e1.js');
17
+ var cn = require('classnames');
18
+ var useUniqueId = require('./useUniqueId-11369116.js');
19
+ var core$1 = require('@hhgtech/icons/core');
20
+
21
+ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
22
+
23
+ function _interopNamespace(e) {
24
+ if (e && e.__esModule) return e;
25
+ var n = Object.create(null);
26
+ if (e) {
27
+ Object.keys(e).forEach(function (k) {
28
+ if (k !== 'default') {
29
+ var d = Object.getOwnPropertyDescriptor(e, k);
30
+ Object.defineProperty(n, k, d.get ? d : {
31
+ enumerable: true,
32
+ get: function () { return e[k]; }
33
+ });
34
+ }
35
+ });
36
+ }
37
+ n["default"] = e;
38
+ return Object.freeze(n);
39
+ }
40
+
41
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
42
+ var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
43
+ var styled__default = /*#__PURE__*/_interopDefault(styled);
44
+ var cn__default = /*#__PURE__*/_interopDefault(cn);
45
+
46
+ const ImageWrap = (_a) => {
47
+ var { alt, backupSrc, src, placeholderSrc, style, ref } = _a, props = tslib_es6.__rest(_a, ["alt", "backupSrc", "src", "placeholderSrc", "style", "ref"]);
48
+ const [hasError, setHasError] = React.useState(false);
49
+ return (React__namespace["default"].createElement(StyledImage, Object.assign({ loading: "lazy", alt: alt, onError: () => !hasError && setHasError(true), src: hasError ? backupSrc || src : src || backupSrc, style: Object.assign(Object.assign({}, (placeholderSrc
50
+ ? {
51
+ backgroundImage: `url(${placeholderSrc})`,
52
+ }
53
+ : {})), style), "data-has-placeholder": !!placeholderSrc, ref: ref }, props)));
54
+ };
55
+ const StyledImage = styled__default["default"].img `
56
+ &[data-has-placeholder='true'] {
57
+ background-position: center;
58
+ background-repeat: no-repeat;
59
+ background-size: cover;
60
+ }
61
+ `;
62
+
63
+ const ANIMATION_DURATION = '100ms';
64
+
65
+ var useStyles$4 = core.createStyles((_theme, _params) => {
66
+ var _a, _b, _c, _d, _e, _f;
67
+ const { other } = _theme;
68
+ const { template } = other;
69
+ const { size, variant, skipHover, isError, isSuccess, color, children, theme: themeProp, } = _params;
70
+ const isMb = template === 'mb' || themeProp === 'marryBaby';
71
+ const finalColor = color || (themeProp && isMb ? 'mb' : _theme.primaryColor);
72
+ const isHexColor = finalColor.startsWith('#');
73
+ const hexColor50 = isHexColor
74
+ ? _theme.fn.lighten(color, 0.9)
75
+ : ((_b = (_a = _theme.colors) === null || _a === void 0 ? void 0 : _a[finalColor]) === null || _b === void 0 ? void 0 : _b[0]) || '';
76
+ const hexColor = isHexColor
77
+ ? finalColor
78
+ : (_d = (_c = _theme.colors) === null || _c === void 0 ? void 0 : _c[finalColor]) === null || _d === void 0 ? void 0 : _d[_theme.fn.primaryShade()];
79
+ const hoverHexColor = isHexColor
80
+ ? _theme.fn.darken(color, 0.05)
81
+ : (_f = (_e = _theme.colors) === null || _e === void 0 ? void 0 : _e[finalColor]) === null || _f === void 0 ? void 0 : _f[_theme.fn.primaryShade() + 1];
82
+ return {
83
+ root: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ transition: `all ${ANIMATION_DURATION} ease-in-out`, '&[data-event-category] > *': {
84
+ pointerEvents: 'none',
85
+ }, '&:focus': {
86
+ outline: 'none',
87
+ } }, (!children && {
88
+ paddingLeft: '10px',
89
+ paddingRight: '10px',
90
+ '.mantine-Button-icon': {
91
+ margin: 0,
92
+ },
93
+ })), (() => {
94
+ switch (size) {
95
+ case 'xl':
96
+ return {
97
+ height: 56,
98
+ fontWeight: 600,
99
+ fontSize: isMb ? '14px' : '16px',
100
+ lineHeight: '24px',
101
+ };
102
+ case 'lg':
103
+ return {
104
+ height: 48,
105
+ fontWeight: 600,
106
+ fontSize: isMb ? '14px' : '16px',
107
+ lineHeight: '24px',
108
+ };
109
+ case 'md':
110
+ return {
111
+ height: 40,
112
+ fontWeight: 600,
113
+ fontSize: '14px',
114
+ lineHeight: '22px',
115
+ };
116
+ case 'sm':
117
+ return {
118
+ height: 32,
119
+ fontWeight: 600,
120
+ fontSize: isMb ? '12px' : '14px',
121
+ lineHeight: '22px',
122
+ paddingLeft: '16px',
123
+ paddingRight: '16px',
124
+ };
125
+ case 'xs':
126
+ return {
127
+ height: 24,
128
+ fontWeight: 600,
129
+ fontSize: '12px',
130
+ lineHeight: '18px',
131
+ paddingLeft: '8px',
132
+ paddingRight: '8px',
133
+ };
134
+ }
135
+ })()), (() => {
136
+ switch (variant) {
137
+ case 'primary': {
138
+ return Object.assign({ color: _theme.white, backgroundColor: hexColor }, (!skipHover && {
139
+ '&:hover': {
140
+ backgroundColor: hoverHexColor,
141
+ },
142
+ }));
143
+ }
144
+ case 'secondary':
145
+ return Object.assign({ color: hexColor, backgroundColor: 'transparent', border: `1px solid ${hexColor}` }, (!skipHover && {
146
+ '&:hover': {
147
+ backgroundColor: hexColor50,
148
+ border: `1px solid ${hexColor}`,
149
+ },
150
+ }));
151
+ case 'white':
152
+ return {
153
+ color: hexColor,
154
+ backgroundColor: 'transparent',
155
+ borderColor: `transparent`,
156
+ '&:hover': {
157
+ backgroundColor: 'transparent',
158
+ border: `transparent`,
159
+ },
160
+ };
161
+ case 'tertiary':
162
+ return {
163
+ color: _theme.colors.gray[8],
164
+ backgroundColor: _theme.white,
165
+ border: `1px solid ${_theme.colors.neutral[2]}`,
166
+ '&:hover': Object.assign({}, (!skipHover
167
+ ? {
168
+ backgroundColor: _theme.colors.neutral[0],
169
+ border: `1px solid ${_theme.colors.neutral[0]}`,
170
+ }
171
+ : {
172
+ backgroundColor: _theme.white,
173
+ border: `1px solid ${_theme.colors.neutral[2]}`,
174
+ })),
175
+ };
176
+ case 'light': {
177
+ return {
178
+ color: hexColor,
179
+ backgroundColor: hexColor50,
180
+ border: `1px solid transparent`,
181
+ '&:hover': Object.assign({}, (!skipHover
182
+ ? {
183
+ backgroundColor: _theme.white,
184
+ border: `1px solid ${hexColor50}`,
185
+ }
186
+ : {
187
+ backgroundColor: hexColor50,
188
+ border: `1px solid transparent`,
189
+ })),
190
+ };
191
+ }
192
+ case 'ghost':
193
+ return Object.assign({ color: hexColor, backgroundColor: 'transparent', border: `1px solid transparent` }, (!skipHover && {
194
+ '&:hover': {
195
+ backgroundColor: hexColor50,
196
+ border: `1px solid transparent`,
197
+ },
198
+ }));
199
+ }
200
+ })()), { '&[data-disabled]': {
201
+ backgroundColor: _theme.colors.gray[1],
202
+ color: _theme.colors.gray[4],
203
+ } }), (isError
204
+ ? Object.assign({ color: _theme.colors.red[6], backgroundColor: _theme.white, border: `1px solid ${_theme.colors.red[6]}` }, (!skipHover && {
205
+ '&:hover': {
206
+ backgroundColor: _theme.colors.red[0],
207
+ border: `1px solid ${_theme.colors.red[6]}`,
208
+ },
209
+ })) : {})), (isSuccess
210
+ ? Object.assign({ color: _theme.colors.green[8], backgroundColor: _theme.colors.green[0] }, (!skipHover && {
211
+ '&:hover': {
212
+ backgroundColor: _theme.colors.green[0],
213
+ },
214
+ })) : {})),
215
+ };
216
+ });
217
+
218
+ const MAPPED_VARIANT = {
219
+ primary: 'filled',
220
+ secondary: 'outline',
221
+ tertiary: 'default',
222
+ light: 'light',
223
+ ghost: 'subtle',
224
+ error: 'outline',
225
+ white: 'white',
226
+ success: 'subtle',
227
+ };
228
+ function filterObject(obj) {
229
+ const ret = {};
230
+ Object.keys(obj)
231
+ .filter((key) => obj[key] !== undefined)
232
+ .forEach((key) => (ret[key] = obj[key]));
233
+ return ret;
234
+ }
235
+ const Button = (props) => {
236
+ var _a, _b;
237
+ const theme = core.useMantineTheme();
238
+ const _c = Object.assign(Object.assign({}, (_b = (_a = theme.components) === null || _a === void 0 ? void 0 : _a.Button) === null || _b === void 0 ? void 0 : _b.defaultProps), filterObject(props)), { variant, size, color, skipHover, className, dataEventCategory, dataEventAction, dataEventLabel, children, theme: themeProp } = _c, rest = tslib_es6.__rest(_c, ["variant", "size", "color", "skipHover", "className", "dataEventCategory", "dataEventAction", "dataEventLabel", "children", "theme"]);
239
+ const isError = variant === 'error';
240
+ const { classes, cx } = useStyles$4({
241
+ variant,
242
+ size,
243
+ color,
244
+ skipHover,
245
+ isError,
246
+ isSuccess: variant === 'success',
247
+ children,
248
+ theme: themeProp,
249
+ });
250
+ return (React__namespace["default"].createElement(core.Button, Object.assign({ className: cx(className, variant), classNames: {
251
+ root: classes.root,
252
+ }, variant: MAPPED_VARIANT[variant], "data-variant": variant, "data-event-category": dataEventCategory, "data-event-action": dataEventAction, "data-event-label": dataEventLabel }, rest), children));
253
+ };
254
+
255
+ const CambodiaRoundIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "round cambodia flag", src: index.CommonGAssets.getAssetPath('flags/cambodiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
256
+ const CambodiaSquareIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "square cambodia flag", src: index.CommonGAssets.getAssetPath('flags/cambodiaSquare.png') }, props)));
257
+
258
+ 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),
259
+ React__namespace["default"].createElement("g", null,
260
+ React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
261
+ React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
262
+ 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" }),
263
+ 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" }),
264
+ 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" }),
265
+ 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" }),
266
+ 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" }),
267
+ 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" }),
268
+ 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" }),
269
+ 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" }),
270
+ 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" }),
271
+ 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" }),
272
+ 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" }),
273
+ 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" }),
274
+ 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" }),
275
+ 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" }),
276
+ 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" }),
277
+ 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" }),
278
+ 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" }),
279
+ 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" }),
280
+ 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" }),
281
+ React__namespace["default"].createElement("path", { d: "M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z", fill: "white" }),
282
+ 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" }),
283
+ React__namespace["default"].createElement("path", { d: "M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z", fill: "white" }),
284
+ 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" }),
285
+ 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" }),
286
+ 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" }),
287
+ 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" }),
288
+ 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" }))));
289
+ const EnglishSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 26 26", fill: "none" }, props),
290
+ React__namespace["default"].createElement("g", null,
291
+ React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "1", y: "5", width: "24", height: "16" },
292
+ 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" })),
293
+ React__namespace["default"].createElement("path", { d: "M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z", fill: "#3F51B5" }),
294
+ React__namespace["default"].createElement("path", { d: "M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z", fill: "white" }),
295
+ React__namespace["default"].createElement("path", { d: "M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z", fill: "white" }),
296
+ React__namespace["default"].createElement("path", { d: "M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z", fill: "white" }),
297
+ React__namespace["default"].createElement("path", { d: "M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z", fill: "white" }),
298
+ React__namespace["default"].createElement("path", { d: "M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z", fill: "white" }),
299
+ React__namespace["default"].createElement("path", { d: "M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z", fill: "white" }),
300
+ 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" }),
301
+ React__namespace["default"].createElement("path", { d: "M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z", fill: "#E53935" }))));
302
+
303
+ const IndiaRoundIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "round india flag", src: index.CommonGAssets.getAssetPath('flags/indiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
304
+ const IndiaSquareIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "square indian flag", src: index.CommonGAssets.getAssetPath('flags/indiaSquare.png') }, props)));
305
+
306
+ const IndonesiaRoundIcon = (_a) => {
307
+ var rest = tslib_es6.__rest(_a, []);
308
+ const maskId = useUniqueId.useUniqueId();
309
+ return (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none" }, rest),
310
+ React__namespace["default"].createElement("mask", { id: maskId, style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
311
+ React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
312
+ React__namespace["default"].createElement("g", { mask: `url(#${maskId})` },
313
+ React__namespace["default"].createElement("rect", { width: "20", height: "10", fill: "#CE1126" }),
314
+ React__namespace["default"].createElement("rect", { y: "10", width: "20", height: "10", fill: "white" }))));
315
+ };
316
+ const IndonesiaSquareIcon = (_a) => {
317
+ var rest = tslib_es6.__rest(_a, []);
318
+ const clipPathId = useUniqueId.useUniqueId();
319
+ return (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, rest),
320
+ React__namespace["default"].createElement("g", { clipPath: `url(#${clipPathId})` },
321
+ React__namespace["default"].createElement("rect", { y: "0.0166016", width: "24", height: "8", fill: "#CE1126" }),
322
+ React__namespace["default"].createElement("rect", { y: "8.0166", width: "24", height: "8", fill: "white" })),
323
+ React__namespace["default"].createElement("defs", null,
324
+ React__namespace["default"].createElement("clipPath", { id: clipPathId },
325
+ React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "white" })))));
326
+ };
327
+
328
+ 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),
329
+ React__namespace["default"].createElement("g", null,
330
+ React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
331
+ React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
332
+ React__namespace["default"].createElement("rect", { y: "1", width: "20", height: "20", fill: "#CC0001" }),
333
+ React__namespace["default"].createElement("rect", { y: "16.106", width: "20", height: "1.02041", fill: "white" }),
334
+ React__namespace["default"].createElement("rect", { y: "16", width: "20", height: "1.02041", fill: "white" }),
335
+ React__namespace["default"].createElement("rect", { y: "18", width: "20", height: "1.02041", fill: "white" }),
336
+ React__namespace["default"].createElement("rect", { y: "14.0652", width: "20", height: "1.02041", fill: "white" }),
337
+ React__namespace["default"].createElement("rect", { y: "12.0242", width: "20", height: "1.02041", fill: "white" }),
338
+ React__namespace["default"].createElement("rect", { y: "9.9834", width: "20", height: "1.02041", fill: "white" }),
339
+ React__namespace["default"].createElement("rect", { y: "7.94263", width: "20", height: "1.02041", fill: "white" }),
340
+ React__namespace["default"].createElement("rect", { y: "5.90186", width: "20", height: "1.02041", fill: "white" }),
341
+ React__namespace["default"].createElement("rect", { y: "3.86084", width: "20", height: "1.02041", fill: "white" }),
342
+ React__namespace["default"].createElement("rect", { y: "2", width: "20", height: "1.02041", fill: "white" }),
343
+ React__namespace["default"].createElement("rect", { width: "20", height: "1.02041", fill: "white" }),
344
+ React__namespace["default"].createElement("rect", { y: "-1", width: "10", height: "12", fill: "#010066" }),
345
+ 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" }),
346
+ 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" }))));
347
+ const MalaysiaSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
348
+ React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "#CC0001" }),
349
+ React__namespace["default"].createElement("rect", { y: "12.2712", width: "24", height: "0.777454", fill: "white" }),
350
+ React__namespace["default"].createElement("rect", { y: "12.1904", width: "24", height: "0.777454", fill: "white" }),
351
+ React__namespace["default"].createElement("rect", { y: "13.7144", width: "24", height: "0.777454", fill: "white" }),
352
+ React__namespace["default"].createElement("rect", { y: "10.7161", width: "24", height: "0.777454", fill: "white" }),
353
+ React__namespace["default"].createElement("rect", { y: "9.16138", width: "24", height: "0.777454", fill: "white" }),
354
+ React__namespace["default"].createElement("rect", { y: "7.60645", width: "24", height: "0.777454", fill: "white" }),
355
+ React__namespace["default"].createElement("rect", { y: "6.05127", width: "24", height: "0.777454", fill: "white" }),
356
+ React__namespace["default"].createElement("rect", { y: "4.49658", width: "24", height: "0.777454", fill: "white" }),
357
+ React__namespace["default"].createElement("rect", { y: "2.94141", width: "24", height: "0.777454", fill: "white" }),
358
+ React__namespace["default"].createElement("rect", { y: "1.52393", width: "24", height: "0.777454", fill: "white" }),
359
+ React__namespace["default"].createElement("rect", { width: "24", height: "0.777454", fill: "white" }),
360
+ React__namespace["default"].createElement("path", { d: "M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z", fill: "#010066" }),
361
+ 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" }),
362
+ 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" })));
363
+
364
+ 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),
365
+ React__namespace["default"].createElement("g", null,
366
+ React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
367
+ React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
368
+ React__namespace["default"].createElement("rect", { x: "-4", y: "-1", width: "28", height: "11", fill: "#FECB00" }),
369
+ React__namespace["default"].createElement("rect", { x: "-4", y: "10", width: "28", height: "10", fill: "#EA2839" }),
370
+ React__namespace["default"].createElement("rect", { x: "-4", y: "6.7041", width: "28", height: "6.47773", fill: "#34B233" }),
371
+ React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z", fill: "white" }),
372
+ 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" }),
373
+ 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" }),
374
+ 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" }),
375
+ 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" }))));
376
+ const MyanmarSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
377
+ React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "#FECB00" }),
378
+ React__namespace["default"].createElement("rect", { y: "8.3811", width: "24", height: "7.61905", rx: "2", fill: "#EA2839" }),
379
+ React__namespace["default"].createElement("rect", { y: "5.86987", width: "24", height: "4.93542", fill: "#34B233" }),
380
+ React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z", fill: "white" }),
381
+ 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" }),
382
+ 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" }),
383
+ 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" }),
384
+ 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" })));
385
+
386
+ const PhilippinesRoundIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "round philippines flag", src: index.CommonGAssets.getAssetPath('flags/philippineRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
387
+ const PhilippinesSquareIcon = (props) => (React__namespace["default"].createElement(ImageWrap, Object.assign({ alt: "square philippines flag", src: index.CommonGAssets.getAssetPath('flags/philippineSquare.png') }, props)));
388
+
389
+ 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),
390
+ React__namespace["default"].createElement("g", null,
391
+ React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
392
+ React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
393
+ React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#D8D8D8" }),
394
+ React__namespace["default"].createElement("g", null,
395
+ React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
396
+ React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "white" })),
397
+ React__namespace["default"].createElement("rect", { width: "30", height: "20", fill: "#ED1E24" }),
398
+ React__namespace["default"].createElement("rect", { width: "15", height: "10", fill: "#2B2F84" }),
399
+ React__namespace["default"].createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
400
+ 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" }),
401
+ 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" }),
402
+ 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" }),
403
+ 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" }),
404
+ 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" }),
405
+ 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" }),
406
+ 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" }),
407
+ 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" }),
408
+ 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" }),
409
+ 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" }),
410
+ 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" }),
411
+ 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" })))));
412
+ const TaiwanSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
413
+ React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "#ED1E24" }),
414
+ React__namespace["default"].createElement("path", { d: "M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z", fill: "#2B2F84" }),
415
+ React__namespace["default"].createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
416
+ 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" }),
417
+ 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" }),
418
+ 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" }),
419
+ 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" }),
420
+ 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" }),
421
+ 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" }),
422
+ 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" }),
423
+ 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" }),
424
+ 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" }),
425
+ 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" }),
426
+ 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" }),
427
+ 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" })));
428
+
429
+ 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),
430
+ React__namespace["default"].createElement("g", null,
431
+ React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
432
+ React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
433
+ React__namespace["default"].createElement("rect", { x: "-4", y: "-0.0166016", width: "28", height: "20", fill: "#ED1C24" }),
434
+ React__namespace["default"].createElement("rect", { x: "-4", y: "3.31665", width: "28", height: "13.3333", fill: "white" }),
435
+ React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M-4 6.65015H24V13.3168H-4V6.65015Z", fill: "#241D4F" }))));
436
+ const ThailandSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 17", fill: "none" }, props),
437
+ React__namespace["default"].createElement("rect", { y: "0.983398", width: "24", height: "16", rx: "2", fill: "#ED1C24" }),
438
+ React__namespace["default"].createElement("rect", { y: "3.65039", width: "24", height: "10.6667", fill: "white" }),
439
+ React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 6.31689H24V11.6502H0V6.31689Z", fill: "#241D4F" })));
440
+
441
+ 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),
442
+ React__namespace["default"].createElement("g", null,
443
+ React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
444
+ React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
445
+ React__namespace["default"].createElement("rect", { x: "-4", y: "-0.0166016", width: "28", height: "20", fill: "#DA251D" }),
446
+ 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" }))));
447
+ const VietnamSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
448
+ React__namespace["default"].createElement("g", null,
449
+ React__namespace["default"].createElement("clipPath", null,
450
+ React__namespace["default"].createElement("rect", { width: "24", height: "16", fill: "white" })),
451
+ 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" }),
452
+ 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" }))));
453
+
454
+ var styles$2 = {"flag":"pfaLGRK"};
455
+
456
+ const Flag = ({ country, language, rounded, height, width, isTesting, className, }) => {
457
+ let flag;
458
+ let flagRounded;
459
+ switch (language) {
460
+ case 'en':
461
+ flag = React__namespace["default"].createElement(EnglishSquareIcon, null);
462
+ flagRounded = React__namespace["default"].createElement(EnglishRoundIcon, null);
463
+ break;
464
+ case 'vi':
465
+ flag = React__namespace["default"].createElement(VietnamSquareIcon, null);
466
+ flagRounded = React__namespace["default"].createElement(VietnamRoundIcon, null);
467
+ break;
468
+ case 'id':
469
+ flag = React__namespace["default"].createElement(IndonesiaSquareIcon, { isTesting: isTesting });
470
+ flagRounded = React__namespace["default"].createElement(IndonesiaRoundIcon, { isTesting: isTesting });
471
+ break;
472
+ case 'th':
473
+ flag = React__namespace["default"].createElement(ThailandSquareIcon, null);
474
+ flagRounded = React__namespace["default"].createElement(ThailandRoundIcon, null);
475
+ break;
476
+ case 'km':
477
+ flag = React__namespace["default"].createElement(CambodiaSquareIcon, null);
478
+ flagRounded = React__namespace["default"].createElement(CambodiaRoundIcon, null);
479
+ break;
480
+ case 'ms':
481
+ flag = React__namespace["default"].createElement(MalaysiaSquareIcon, null);
482
+ flagRounded = React__namespace["default"].createElement(MalaysiaRoundIcon, null);
483
+ break;
484
+ case 'my':
485
+ flag = React__namespace["default"].createElement(MyanmarSquareIcon, null);
486
+ flagRounded = React__namespace["default"].createElement(MyanmarRoundIcon, null);
487
+ break;
488
+ case 'tl':
489
+ flag = React__namespace["default"].createElement(PhilippinesSquareIcon, null);
490
+ flagRounded = React__namespace["default"].createElement(PhilippinesRoundIcon, null);
491
+ break;
492
+ case 'hi':
493
+ flag = React__namespace["default"].createElement(IndiaSquareIcon, null);
494
+ flagRounded = React__namespace["default"].createElement(IndiaRoundIcon, null);
495
+ break;
496
+ case 'zh':
497
+ flag = React__namespace["default"].createElement(TaiwanSquareIcon, null);
498
+ flagRounded = React__namespace["default"].createElement(TaiwanRoundIcon, null);
499
+ break;
500
+ }
501
+ if (!flag && !flagRounded) {
502
+ switch (country) {
503
+ case 'VN':
504
+ flag = React__namespace["default"].createElement(VietnamSquareIcon, null);
505
+ flagRounded = React__namespace["default"].createElement(VietnamRoundIcon, null);
506
+ break;
507
+ case 'ID':
508
+ flag = React__namespace["default"].createElement(IndonesiaSquareIcon, { isTesting: isTesting });
509
+ flagRounded = React__namespace["default"].createElement(IndonesiaRoundIcon, { isTesting: isTesting });
510
+ break;
511
+ case 'TH':
512
+ flag = React__namespace["default"].createElement(ThailandSquareIcon, null);
513
+ flagRounded = React__namespace["default"].createElement(ThailandRoundIcon, null);
514
+ break;
515
+ case 'KH':
516
+ flag = React__namespace["default"].createElement(CambodiaSquareIcon, null);
517
+ flagRounded = React__namespace["default"].createElement(CambodiaRoundIcon, null);
518
+ break;
519
+ case 'MY':
520
+ flag = React__namespace["default"].createElement(MalaysiaSquareIcon, null);
521
+ flagRounded = React__namespace["default"].createElement(MalaysiaRoundIcon, null);
522
+ break;
523
+ case 'MM':
524
+ flag = React__namespace["default"].createElement(MyanmarSquareIcon, null);
525
+ flagRounded = React__namespace["default"].createElement(MyanmarRoundIcon, null);
526
+ break;
527
+ case 'PH':
528
+ flag = React__namespace["default"].createElement(PhilippinesSquareIcon, null);
529
+ flagRounded = React__namespace["default"].createElement(PhilippinesRoundIcon, null);
530
+ break;
531
+ case 'IN':
532
+ flag = React__namespace["default"].createElement(IndiaSquareIcon, null);
533
+ flagRounded = React__namespace["default"].createElement(IndiaRoundIcon, null);
534
+ break;
535
+ case 'TW':
536
+ flag = React__namespace["default"].createElement(TaiwanSquareIcon, null);
537
+ flagRounded = React__namespace["default"].createElement(TaiwanRoundIcon, null);
538
+ break;
539
+ }
540
+ }
541
+ return (React__namespace["default"].createElement("div", { className: `${styles$2.flag} ${className || ''}`, style: {
542
+ '--width': width || 20,
543
+ '--height': height || 20,
544
+ } }, rounded ? flagRounded : flag));
545
+ };
546
+
547
+ const Select = React.forwardRef((_a, ref) => {
548
+ var { keepSearch = false } = _a, props = tslib_es6.__rest(_a, ["keepSearch"]);
549
+ if (keepSearch) {
550
+ return (React__namespace["default"].createElement(_AutoComplete, Object.assign({}, props, { ref: ref })));
551
+ }
552
+ else {
553
+ return React__namespace["default"].createElement(_Select, Object.assign({}, props, { ref: ref }));
554
+ }
555
+ });
556
+ const _AutoComplete = React.forwardRef((_a, ref) => {
557
+ var { value, defaultValue, onChange, clearable } = _a, props = tslib_es6.__rest(_a, ["value", "defaultValue", "onChange", "clearable"]);
558
+ const [_value, handleChange] = hooks.useUncontrolled({
559
+ value,
560
+ defaultValue,
561
+ onChange,
562
+ });
563
+ const onClear = () => {
564
+ handleChange('');
565
+ };
566
+ 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
567
+ ? {
568
+ rightSection: (React__namespace["default"].createElement(core.ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
569
+ React__namespace["default"].createElement(_IconSelect, null))),
570
+ }
571
+ : {}))));
572
+ });
573
+ const _Select = React.forwardRef((_a, ref) => {
574
+ var { searchValue, onSearchChange } = _a, props = tslib_es6.__rest(_a, ["searchValue", "onSearchChange"]);
575
+ const [_searchValue, handleSearchChange] = hooks.useUncontrolled({
576
+ defaultValue: '',
577
+ value: searchValue,
578
+ onChange: onSearchChange,
579
+ });
580
+ const onClear = () => {
581
+ handleSearchChange('');
582
+ };
583
+ 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
584
+ ? {
585
+ rightSection: (React__namespace["default"].createElement(core.ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
586
+ React__namespace["default"].createElement(_IconSelect, null))),
587
+ }
588
+ : {}))));
589
+ });
590
+ const _IconSelect = () => (React__namespace["default"].createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" },
591
+ 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" })));
592
+
593
+ // Available locale list https://cdn.jsdelivr.net/npm/dayjs@1/locale.json
594
+ const MAPPED_LOCALE = {
595
+ [Subot.LOCALE.Vietnam]: 'vi',
596
+ [Subot.LOCALE.Cambodia]: 'km',
597
+ [Subot.LOCALE.India]: 'hi',
598
+ [Subot.LOCALE.Indonesia]: 'id',
599
+ [Subot.LOCALE.Malaysia]: 'ms',
600
+ [Subot.LOCALE.Thailand]: 'th',
601
+ [Subot.LOCALE.Taiwan]: 'zh-tw',
602
+ [Subot.LOCALE.PhilippinesTagalog]: 'tl-ph',
603
+ [Subot.LOCALE.PhilippinesEnglish]: 'en',
604
+ [Subot.LOCALE.Myanmar]: 'my',
605
+ };
606
+ const LOCALE_LOADERS = {
607
+ [Subot.LOCALE.Vietnam]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/vi.js')); }),
608
+ [Subot.LOCALE.Cambodia]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/km.js')); }),
609
+ [Subot.LOCALE.India]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/hi.js')); }),
610
+ [Subot.LOCALE.Indonesia]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/id.js')); }),
611
+ [Subot.LOCALE.Malaysia]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/ms.js')); }),
612
+ [Subot.LOCALE.Thailand]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/th.js')); }),
613
+ [Subot.LOCALE.Taiwan]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/zh-tw.js')); }),
614
+ [Subot.LOCALE.PhilippinesTagalog]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/tl-ph.js')); }),
615
+ [Subot.LOCALE.PhilippinesEnglish]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/en.js')); }),
616
+ [Subot.LOCALE.Myanmar]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/my.js')); }),
617
+ };
618
+ const useMantineLocale = (locale) => {
619
+ const [isLoaded, setIsLoaded] = React.useState(false);
620
+ React.useEffect(() => {
621
+ (() => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
622
+ var _a;
623
+ setIsLoaded(false);
624
+ yield ((_a = LOCALE_LOADERS[locale]) === null || _a === void 0 ? void 0 : _a.call(LOCALE_LOADERS));
625
+ dayjs__default["default"].locale(MAPPED_LOCALE[locale]);
626
+ setIsLoaded(true);
627
+ }))();
628
+ }, [locale]);
629
+ return {
630
+ isLoaded,
631
+ };
632
+ };
633
+
634
+ const getIsMobile = () => {
635
+ return (typeof window !== 'undefined' &&
636
+ window.innerWidth < utils.Breakpoints.BREAK_POINT_MOBILE);
637
+ };
638
+ const getIsLargeMobile = () => {
639
+ return (typeof window !== 'undefined' &&
640
+ window.innerWidth >= utils.Breakpoints.BREAK_POINT_MOBILE &&
641
+ window.innerWidth < utils.Breakpoints.BREAK_POINT_PC);
642
+ };
643
+ const useScreenSize = () => {
644
+ const [isMobile, setIsMobile] = React.useState(getIsMobile());
645
+ const [isLargeMobile, setIsLargeMobile] = React.useState(getIsLargeMobile());
646
+ React.useEffect(() => {
647
+ const handleResize = () => {
648
+ setIsMobile(getIsMobile());
649
+ setIsLargeMobile(getIsLargeMobile());
650
+ };
651
+ window.addEventListener('resize', handleResize, {
652
+ passive: true,
653
+ });
654
+ return () => {
655
+ window.removeEventListener('resize', handleResize);
656
+ };
657
+ }, []);
658
+ return { isMobile, isLargeMobile };
659
+ };
660
+
661
+ class ErrorBoundary extends React.Component {
662
+ constructor() {
663
+ super(...arguments);
664
+ this.state = {
665
+ hasError: false,
666
+ };
667
+ }
668
+ static getDerivedStateFromError() {
669
+ // Update state so the next render will show the fallback UI.
670
+ return { hasError: true };
671
+ }
672
+ componentDidCatch(error, errorInfo) {
673
+ console.error('Uncaught error:', error, errorInfo);
674
+ }
675
+ render() {
676
+ if (this.state.hasError) {
677
+ return this.props.fallback || React__namespace["default"].createElement(React__namespace["default"].Fragment, null);
678
+ }
679
+ return this.props.children;
680
+ }
681
+ }
682
+
683
+ const CarouselWrapper$1 = (_a) => {
684
+ var { slidesToShow = 1, children } = _a, props = tslib_es6.__rest(_a, ["slidesToShow", "children"]);
685
+ const length = Array.isArray(children) ? children.length : 1;
686
+ if (!length)
687
+ return null;
688
+ return (React__namespace["default"].createElement(ErrorBoundary, null,
689
+ React__namespace["default"].createElement(carousel.Carousel
690
+ // get 2 precision number
691
+ , Object.assign({
692
+ // get 2 precision number
693
+ slideSize: String(Math.floor((1 / slidesToShow) * 10000) / 100) + '%', containScroll: "trimSnaps" }, props), children)));
694
+ };
695
+ const Carousel = CarouselWrapper$1;
696
+ Carousel.Slide = carousel.Carousel.Slide;
697
+
698
+ const StyledCarousel = styled__default["default"](Carousel) `
699
+ cursor: grab;
700
+ width: 100%;
701
+ .mantine-Carousel-control {
702
+ background: rgb(255, 255, 255);
703
+ opacity: 1;
704
+ border: none;
705
+ border-radius: 0;
706
+ box-shadow: none;
707
+ &[data-inactive] {
708
+ opacity: 0;
709
+ cursor: default;
710
+ }
711
+ &:first-child {
712
+ padding-right: 24px;
713
+ background: linear-gradient(
714
+ 90deg,
715
+ rgba(255, 255, 255, 1) 0%,
716
+ rgba(255, 255, 255, 1) 50%,
717
+ rgba(255, 255, 255, 0) 100%
718
+ );
719
+ }
720
+ &:last-child {
721
+ padding-left: 24px;
722
+ background: linear-gradient(
723
+ 270deg,
724
+ rgba(255, 255, 255, 1) 0%,
725
+ rgba(255, 255, 255, 1) 50%,
726
+ rgba(255, 255, 255, 0) 100%
727
+ );
728
+ }
729
+ }
730
+
731
+ .mantine-Carousel-container {
732
+ align-items: center;
733
+ }
734
+ `;
735
+
736
+ var useStyles$3 = core.createStyles((_theme, _params) => {
737
+ return {
738
+ root: {
739
+ color: _params.color ||
740
+ (_theme.primaryColor === 'hb'
741
+ ? _theme.colors.hb[6]
742
+ : _theme.fn.primaryColor()),
743
+ '&[data-event-category] > *': {
744
+ pointerEvents: 'none',
745
+ },
746
+ },
747
+ };
748
+ });
749
+
750
+ const Anchor = (_a) => {
751
+ var { color, styles, className } = _a, rest = tslib_es6.__rest(_a, ["color", "styles", "className"]);
752
+ const { classes, cx } = useStyles$3({ color }, { name: 'Anchor', styles });
753
+ return React__namespace["default"].createElement(index$1.Text, Object.assign({ as: "a", className: cx(classes.root, className) }, rest));
754
+ };
755
+
756
+ const BreadcrumbItem = (_a) => {
757
+ var { children } = _a, rest = tslib_es6.__rest(_a, ["children"]);
758
+ return (React__namespace["default"].createElement(Anchor, Object.assign({ size: "p4", color: 'gray.8' }, rest), children));
759
+ };
760
+
761
+ const AspectRatio = (props) => {
762
+ return (React__namespace["default"].createElement(core.AspectRatio, Object.assign({ sx: {
763
+ borderRadius: 4,
764
+ overflow: 'hidden',
765
+ '> img': {
766
+ objectFit: 'contain',
767
+ },
768
+ } }, props)));
769
+ };
770
+
771
+ const GlobalButtonStyle = {
772
+ Button: {
773
+ defaultProps: {
774
+ variant: 'primary',
775
+ size: 'md',
776
+ },
777
+ },
778
+ };
779
+
780
+ const headingStyles = [
781
+ { size: '40px', lineHeight: '52px', letterSpacing: '-1.2px' },
782
+ { size: '32px', lineHeight: '42px', letterSpacing: '-1px' },
783
+ { size: '26px', lineHeight: '36px', letterSpacing: '-0.8px' },
784
+ { size: '22px', lineHeight: '32px', letterSpacing: '-0.6px' },
785
+ { size: '18px', lineHeight: '28px', letterSpacing: '-0.2px' },
786
+ { size: '16px', lineHeight: '24px', letterSpacing: 0 },
787
+ ];
788
+ const headingStylesMBDown = [
789
+ { size: '26px', lineHeight: '34px', letterSpacing: '-0.9px' },
790
+ { size: '24px', lineHeight: '32px', letterSpacing: '-0.8px' },
791
+ { size: '20px', lineHeight: '26px', letterSpacing: '-0.7px' },
792
+ { size: '18px', lineHeight: '26px', letterSpacing: '-0.6px' },
793
+ { size: '16px', lineHeight: '24px', letterSpacing: '-0.2px' },
794
+ { size: '14px', lineHeight: '22px', letterSpacing: '-0.2px' },
795
+ ];
796
+ const getHeadingStyles = (mbDown = false) => Object.fromEntries((mbDown ? headingStylesMBDown : headingStyles).map((style, index) => [
797
+ `h${index + 1}`,
798
+ {
799
+ fontSize: style.size,
800
+ lineHeight: style.lineHeight,
801
+ letterSpacing: style.letterSpacing,
802
+ },
803
+ ]));
804
+ const GlobalHeadingStyle = {
805
+ Title: {
806
+ styles: {
807
+ root: Object.assign(Object.assign({ fontWeight: index$1.OTHER_THEME_CONFIG.fontWeight.bold }, getHeadingStyles()), { [`&${utils.MediaQueries.mbDown}`]: Object.assign({}, getHeadingStyles(true)) }),
808
+ },
809
+ },
810
+ };
811
+
812
+ const GlobalInputStyle = (locale) => {
813
+ var _a;
814
+ return ({
815
+ InputWrapper: {
816
+ styles: {
817
+ label: {
818
+ display: 'inline-flex',
819
+ gap: 4,
820
+ marginBottom: '0.25rem',
821
+ fontWeight: 600,
822
+ fontSize: '14px',
823
+ lineHeight: '22px',
824
+ color: theme.theme.colors.gray600,
825
+ },
826
+ description: {
827
+ fontWeight: 400,
828
+ fontSize: '12px',
829
+ lineHeight: '18px',
830
+ color: theme.theme.colors.gray600,
831
+ marginBottom: '0.25rem',
832
+ },
833
+ error: {
834
+ marginTop: '0.25rem',
835
+ },
836
+ },
837
+ },
838
+ NumberInput: {
839
+ defaultProps: {
840
+ decimalSeparator: (_a = index$2.ISO_FORMAT[locale]) === null || _a === void 0 ? void 0 : _a.separator,
841
+ },
842
+ },
843
+ Input: {
844
+ styles: (_theme, _, { size }) => ({
845
+ input: {
846
+ border: `1px solid ${theme.theme.colors.gray200}`,
847
+ transition: `all ${ANIMATION_DURATION} ease-in-out`,
848
+ ['&:not(.mantine-Textarea-input)']: Object.assign({}, (() => {
849
+ switch (size) {
850
+ case 'lg':
851
+ return {
852
+ height: 48,
853
+ fontSize: 16,
854
+ minHeight: 'unset',
855
+ lineHeight: '24px',
856
+ };
857
+ case 'md':
858
+ return {
859
+ height: 40,
860
+ fontSize: 14,
861
+ lineHeight: '22px',
862
+ minHeight: 'unset',
863
+ };
864
+ case 'sm':
865
+ return {
866
+ height: 32,
867
+ fontSize: 14,
868
+ lineHeight: '22px',
869
+ minHeight: 'unset',
870
+ };
871
+ }
872
+ })()),
873
+ '&:hover': {
874
+ border: `1px solid ${_theme.primaryColor}`,
875
+ // boxShadow: `0 0 2px 2px ${theme.colors.primary200}`,
876
+ },
877
+ '&:focus': {
878
+ boxShadow: `0px 0px 0px 2px ${_theme.colors[_theme.primaryColor][2]}`,
879
+ },
880
+ },
881
+ '&[data-invalid="true"]': {
882
+ border: `1px solid ${theme.theme.colors.red600}`,
883
+ color: '#000',
884
+ },
885
+ }),
886
+ },
887
+ });
888
+ };
889
+
890
+ const getGlobalRadioStyle = {
891
+ Radio: {
892
+ defaultProps: {
893
+ size: 'sm',
894
+ color: 'blue.6',
895
+ },
896
+ styles: {
897
+ radio: {
898
+ backgroundColor: 'transparent',
899
+ '&:checked': {
900
+ backgroundColor: 'transparent',
901
+ },
902
+ },
903
+ },
904
+ },
905
+ };
906
+
907
+ const themeColors = {
908
+ hb: [
909
+ '#e3f2ff',
910
+ '#bcdeff',
911
+ '#91caff',
912
+ '#65b5ff',
913
+ '#45a4ff',
914
+ '#2b94ff',
915
+ '#2d87f3',
916
+ '#2c74df',
917
+ '#2b62cd',
918
+ '#2743ad',
919
+ ],
920
+ mb: [
921
+ '#FFE9F1',
922
+ '#F8CCDC',
923
+ '#F5B4CB',
924
+ '#F29CBA',
925
+ '#EE84AA',
926
+ '#EB6B99',
927
+ '#E85388',
928
+ '#D34C7C',
929
+ '#BE446F',
930
+ '#A93D63',
931
+ ],
932
+ blue: [
933
+ '#e3f2ff',
934
+ '#bcdeff',
935
+ '#91caff',
936
+ '#65b5ff',
937
+ '#45a4ff',
938
+ '#2b94ff',
939
+ '#2d87f3',
940
+ '#2c74df',
941
+ '#2b62cd',
942
+ '#2743ad',
943
+ ],
944
+ gray: [
945
+ '#fafafa',
946
+ '#f2f2f2',
947
+ '#d9d9d9',
948
+ '#bfbfbf',
949
+ '#8c8c8c',
950
+ '#737373',
951
+ '#595959',
952
+ '#404040',
953
+ '#262626',
954
+ '#1a1a1a',
955
+ ],
956
+ delftGray: [
957
+ '#F3F3F3',
958
+ '#EAEAEC',
959
+ '#D9DAE2',
960
+ '#B9BAC8',
961
+ '#9898A9',
962
+ '#7C7C8F',
963
+ '#5A5A72',
964
+ '#3E3F58',
965
+ '#202135',
966
+ '#0C0C12',
967
+ ],
968
+ neutral: [
969
+ '#f7f9fc',
970
+ '#e4e8ec',
971
+ '#d2d6dc',
972
+ '#bfc5cc',
973
+ '#adb3bc',
974
+ '#9aa2ac',
975
+ '#87909c',
976
+ '#757f8c',
977
+ '#626d7c',
978
+ '#545E6C',
979
+ ],
980
+ green: [
981
+ '#e0f8ee',
982
+ '#b3eed5',
983
+ '#7ce2b9',
984
+ '#2ed69e',
985
+ '#00CB8A',
986
+ '#00C076',
987
+ '#00B16A',
988
+ '#009E5C',
989
+ '#008C50',
990
+ '#006C39',
991
+ ],
992
+ pink: [
993
+ '#fff1f6',
994
+ '#fec7dc',
995
+ '#fec7dc',
996
+ '#fec2cf',
997
+ '#fe9dc2',
998
+ '#fd87b4',
999
+ '#fd72a7',
1000
+ '#fc5d9a',
1001
+ '#fc488d',
1002
+ '#E92D74',
1003
+ ],
1004
+ violet: [
1005
+ '#F5EDFF',
1006
+ '#E7D2F7',
1007
+ '#D8B7F0',
1008
+ '#CA9CE8',
1009
+ '#BB82E1',
1010
+ '#AD67D9',
1011
+ '#9E4CD1',
1012
+ '#9031CA',
1013
+ '#8116C2',
1014
+ '#63059D',
1015
+ ],
1016
+ yellow: [
1017
+ '#fff8e2',
1018
+ '#ffecb6',
1019
+ '#ffe187',
1020
+ '#ffd658',
1021
+ '#ffcb37',
1022
+ '#ffc326',
1023
+ '#ffb521',
1024
+ '#fea21e',
1025
+ '#fe921d',
1026
+ '#fc7419',
1027
+ ],
1028
+ teal: [
1029
+ '#e0f7fc',
1030
+ '#b1ebf8',
1031
+ '#7ddff3',
1032
+ '#44d1ec',
1033
+ '#00c7e6',
1034
+ '#00bee0',
1035
+ '#00aecd',
1036
+ '#0099b2',
1037
+ '#008599',
1038
+ '#00626c',
1039
+ ],
1040
+ indigol: [
1041
+ '#CEDDF0',
1042
+ '#ACC5E6',
1043
+ '#95B3DA',
1044
+ '#85A6CF',
1045
+ '#6D91BE',
1046
+ '#5F85B5',
1047
+ '#4C77AC',
1048
+ '#35639C',
1049
+ '#284A75',
1050
+ '#1B3250',
1051
+ ],
1052
+ red: [
1053
+ '#fae9e8',
1054
+ '#feccbf',
1055
+ '#FEAA96',
1056
+ '#f44d2c',
1057
+ '#ff6f4d',
1058
+ '#ff5331',
1059
+ '#f44d2c',
1060
+ '#e64728',
1061
+ '#d84023',
1062
+ '#bf331b',
1063
+ ],
1064
+ redViolet: [
1065
+ '#F3EAEB',
1066
+ '#E8D5D7',
1067
+ '#DDC1C4',
1068
+ '#D1ACB0',
1069
+ '#C5979C',
1070
+ '#BA8288',
1071
+ '#AF6D74',
1072
+ '#A35961',
1073
+ '#97444D',
1074
+ '#8C2F39',
1075
+ ],
1076
+ };
1077
+ const getMantineThemeOverride = (locale, template = 'hb') => {
1078
+ return {
1079
+ defaultRadius: template === 'hb' ? 4 : 16,
1080
+ cursorType: 'pointer',
1081
+ colors: Object.assign(Object.assign(Object.assign({}, themeColors), theme.theme.colors), { toneYellow: '#fff9eb', toneGreen: '#f2fcf7', toneBlue: '#e0e9fb', tonePink: '#ffeaf1' }),
1082
+ primaryColor: template,
1083
+ primaryShade: 6,
1084
+ fontFamily: (locale === Subot.LOCALE.Cambodia
1085
+ ? 'Battambang'
1086
+ : locale === Subot.LOCALE.Thailand
1087
+ ? 'Noto Sans Thai'
1088
+ : 'Inter') +
1089
+ `, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif`,
1090
+ breakpoints: {
1091
+ xs: core.em(utils.Breakpoints.BREAK_POINT_SMALL_MOBILE),
1092
+ sm: core.em(utils.Breakpoints.BREAK_POINT_MOBILE),
1093
+ md: core.em(utils.Breakpoints.BREAK_POINT_TABLET),
1094
+ lg: core.em(utils.Breakpoints.BREAK_POINT_PC),
1095
+ xl: core.em(utils.Breakpoints.BREAK_POINT_LGPC),
1096
+ },
1097
+ components: Object.assign(Object.assign(Object.assign(Object.assign({}, GlobalInputStyle(locale)), getGlobalRadioStyle), GlobalButtonStyle), GlobalHeadingStyle),
1098
+ other: {
1099
+ template,
1100
+ defaultImage: index.CommonGAssets.getAssetPath(template === 'mb' ? 'default-image-mb.jpg' : 'default-image.jpg'),
1101
+ },
1102
+ };
1103
+ };
1104
+
1105
+ const _Breadcrumbs = (_a) => {
1106
+ var _b;
1107
+ var { children, showHomeIcon = true, homeIconHref = '/' } = _a, rest = tslib_es6.__rest(_a, ["children", "showHomeIcon", "homeIconHref"]);
1108
+ const theme = core.useMantineTheme();
1109
+ const isMarryBaby = ((_b = theme === null || theme === void 0 ? void 0 : theme.other) === null || _b === void 0 ? void 0 : _b.template) === 'mb';
1110
+ const [embla, setEmbla] = React.useState(null);
1111
+ const { isMobile } = useScreenSize();
1112
+ const [, setShouldAllowClick] = React.useState(true);
1113
+ const handleScroll = React.useCallback(() => {
1114
+ setShouldAllowClick(false);
1115
+ }, []);
1116
+ const handlePointerUp = React.useCallback(() => {
1117
+ setTimeout(() => {
1118
+ setShouldAllowClick(true);
1119
+ }, 1000);
1120
+ }, []);
1121
+ React.useEffect(() => {
1122
+ if (embla) {
1123
+ embla.on('scroll', handleScroll);
1124
+ embla.on('pointerUp', handlePointerUp);
1125
+ }
1126
+ return () => {
1127
+ if (embla) {
1128
+ embla.off('scroll', handleScroll);
1129
+ embla.on('pointerUp', handlePointerUp);
1130
+ }
1131
+ };
1132
+ }, [embla, handleScroll, handlePointerUp]);
1133
+ 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" },
1134
+ 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" },
1135
+ 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),
1136
+ showHomeIcon && (React__namespace["default"].createElement(Carousel.Slide, { style: { borderRight: `1px solid ${themeColors.neutral[1]}` } },
1137
+ React__namespace["default"].createElement(BreadcrumbItem, { href: homeIconHref, target: "_blank", className: "pointer-event-child-none" },
1138
+ React__namespace["default"].createElement(core.Box, { sx: Object.assign({}, (!isMarryBaby && {
1139
+ borderRadius: '50%',
1140
+ display: 'flex',
1141
+ justifyContent: 'center',
1142
+ alignItems: 'center',
1143
+ })), bg: !isMarryBaby && themeColors.neutral[0], p: !isMarryBaby ? 6 : 0 },
1144
+ 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" },
1145
+ 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" }),
1146
+ 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" },
1147
+ 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" })))))))),
1148
+ React__namespace["default"].createElement(Carousel.Slide, null),
1149
+ React__namespace["default"].createElement(Carousel.Slide, null,
1150
+ React__namespace["default"].createElement(core.Breadcrumbs, { styles: {
1151
+ separator: {
1152
+ marginInline: 4,
1153
+ },
1154
+ }, separator: React__namespace["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
1155
+ 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))));
1156
+ };
1157
+ const Breadcrumbs = _Breadcrumbs;
1158
+ Breadcrumbs.Item = BreadcrumbItem;
1159
+
1160
+ const StyledTextArea = styled__default["default"](core.Textarea) `
1161
+ .mantine-Textarea-input {
1162
+ padding: 12px 16px;
1163
+ background: #ffffff;
1164
+ border: 1px solid ${theme.theme.colors.gray200};
1165
+ border-radius: 4px;
1166
+ }
1167
+ `;
1168
+
1169
+ var useStyles$2 = core.createStyles((theme) => {
1170
+ return {
1171
+ root: {},
1172
+ inner: {},
1173
+ content: {
1174
+ padding: 0,
1175
+ },
1176
+ header: {
1177
+ borderBottom: `1px solid ${theme.colors.neutral[1]}`,
1178
+ marginRight: 0,
1179
+ marginBottom: 0,
1180
+ padding: '1rem',
1181
+ },
1182
+ overlay: {},
1183
+ title: {
1184
+ width: '100%',
1185
+ display: 'flex',
1186
+ alignItems: 'center',
1187
+ justifyContent: 'space-between',
1188
+ marginRight: 0,
1189
+ },
1190
+ body: {},
1191
+ close: {
1192
+ cursor: 'pointer',
1193
+ width: '24px',
1194
+ height: '24px',
1195
+ },
1196
+ };
1197
+ });
1198
+
1199
+ const StyledAccordion = styled__default["default"](core.Accordion) `
1200
+ .mantine-Accordion-label {
1201
+ padding: 0;
1202
+ }
1203
+ .mantine-Accordion-control {
1204
+ &:hover {
1205
+ background-color: transparent;
1206
+ }
1207
+ }
1208
+ .mantine-Accordion-item {
1209
+ .mantine-Accordion-chevron {
1210
+ > div {
1211
+ background-repeat: no-repeat;
1212
+ width: 16px;
1213
+ height: 16px;
1214
+ background-position: center;
1215
+ background-image: url(${(props) => props.closeChevron || index.CommonGAssets.getAssetPath('plus-icon.svg')});
1216
+ }
1217
+ }
1218
+ &[data-active='true'] {
1219
+ .mantine-Accordion-chevron {
1220
+ > div {
1221
+ background-image: url(${(props) => props.openChevron || index.CommonGAssets.getAssetPath('minus-icon.svg')});
1222
+ }
1223
+ }
1224
+ }
1225
+ }
1226
+ .mantine-Accordion-panel {
1227
+ border-radius: ${theme.theme.borderRadius};
1228
+ }
1229
+ .mantine-Accordion-content {
1230
+ white-space: pre-wrap;
1231
+ }
1232
+ `;
1233
+
1234
+ const _Accordion = (_a) => {
1235
+ var { children } = _a, rest = tslib_es6.__rest(_a, ["children"]);
1236
+ return (React__namespace["default"].createElement(StyledAccordion, Object.assign({ chevron: React__namespace["default"].createElement("div", null), disableChevronRotation: true, transitionDuration: 300 }, rest), children));
1237
+ };
1238
+ const Accordion = _Accordion;
1239
+ Accordion.Control = core.Accordion.Control;
1240
+ Accordion.Item = core.Accordion.Item;
1241
+ Accordion.Panel = core.Accordion.Panel;
1242
+
1243
+ const DEFAULT_AVATAR = index.CommonGAssets.getAssetPath('avatar.jpg');
1244
+ const Avatar = (_a) => {
1245
+ var { withIndicator = false, indicatorConfig = null, size = 56, children, styles, placeholderText } = _a, // usually first letter of name
1246
+ avatarProps = tslib_es6.__rest(_a, ["withIndicator", "indicatorConfig", "size", "children", "styles", "placeholderText"]);
1247
+ const generateAvatar = () => {
1248
+ return (React__namespace["default"].createElement(core.Avatar, Object.assign({ size: size, radius: "xl" }, avatarProps, { imageProps: Object.assign({ loading: 'lazy' }, avatarProps.imageProps), styles: {
1249
+ placeholder: {
1250
+ backgroundColor: avatarProps.color,
1251
+ color: 'white',
1252
+ },
1253
+ } }), children ? (children) : placeholderText ? (placeholderText) : (React__namespace["default"].createElement(ImageWrap, { src: DEFAULT_AVATAR, width: size, alt: avatarProps.alt || 'avatar' }))));
1254
+ };
1255
+ if (withIndicator)
1256
+ return (React__namespace["default"].createElement(core.Indicator, Object.assign({ inline: true, position: "bottom-end", offset: 9 }, indicatorConfig, { styles: Object.assign({ indicator: {
1257
+ backgroundColor: React__namespace["default"].isValidElement(indicatorConfig.label) && 'transparent',
1258
+ zIndex: 1,
1259
+ } }, styles) }), generateAvatar()));
1260
+ return generateAvatar();
1261
+ };
1262
+
1263
+ const FileInput = (props) => {
1264
+ return React__namespace["default"].createElement(core.FileInput, Object.assign({ size: "md" }, props));
1265
+ };
1266
+
1267
+ const DEBOUNCED_TIME = 300;
1268
+ const emotionCache = core.createEmotionCache({
1269
+ key: 'mantine',
1270
+ prepend: false,
1271
+ });
1272
+
1273
+ const NumberInput = (_a) => {
1274
+ var { value: _value, onChange: _onChange } = _a, props = tslib_es6.__rest(_a, ["value", "onChange"]);
1275
+ const [value, setValue] = React.useState(_value);
1276
+ const [debounced] = hooks.useDebouncedValue(value, DEBOUNCED_TIME);
1277
+ React.useEffect(() => {
1278
+ _onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
1279
+ }, [debounced]);
1280
+ React.useEffect(() => {
1281
+ setValue(_value);
1282
+ }, [_value]);
1283
+ 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) => {
1284
+ if (Number(value) === 0)
1285
+ return value;
1286
+ return value || '';
1287
+ }, removeTrailingZeros: true, value: value }, props)));
1288
+ };
1289
+
1290
+ const EyeVisible = index.CommonGAssets.getAssetPath('EyeVisible.svg');
1291
+ const EyeHidden = index.CommonGAssets.getAssetPath('EyeHidden.svg');
1292
+ const PasswordInput = React.forwardRef((props, ref) => {
1293
+ const { size = 'md', visibilityToggleIcon: visibilityToggleIconProps } = props, restProps = tslib_es6.__rest(props, ["size", "visibilityToggleIcon"]);
1294
+ const visibilityToggleIcon = visibilityToggleIconProps ||
1295
+ (({ reveal, size }) => reveal ? (React__namespace["default"].createElement("img", { src: EyeVisible, width: size, loading: "lazy" })) : (React__namespace["default"].createElement("img", { src: EyeHidden, width: size, loading: "lazy" })));
1296
+ 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) || ''}` })));
1297
+ });
1298
+
1299
+ const InputWrapper = React.forwardRef((_a, ref) => {
1300
+ var { value: _value, onChange: _onChange, onChangeRaw, maxLength } = _a, props = tslib_es6.__rest(_a, ["value", "onChange", "onChangeRaw", "maxLength"]);
1301
+ const [value, setValue] = React.useState(_value || '');
1302
+ const [debounced] = hooks.useDebouncedValue(value, DEBOUNCED_TIME);
1303
+ React.useEffect(() => {
1304
+ _onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
1305
+ }, [debounced]);
1306
+ React.useEffect(() => {
1307
+ setValue(_value);
1308
+ }, [_value]);
1309
+ return (React__namespace["default"].createElement(core.TextInput, Object.assign({ ref: ref, size: "md", onChange: (event) => {
1310
+ if (typeof maxLength === 'number' &&
1311
+ event.currentTarget.value.length > maxLength) {
1312
+ return;
1313
+ }
1314
+ onChangeRaw === null || onChangeRaw === void 0 ? void 0 : onChangeRaw(event);
1315
+ setValue(event.currentTarget.value);
1316
+ }, value: value }, props, { maxLength: maxLength, className: `input-control ${(props === null || props === void 0 ? void 0 : props.className) || ''}` })));
1317
+ });
1318
+ const Input = InputWrapper;
1319
+ Input.File = FileInput;
1320
+ Input.Password = PasswordInput;
1321
+ Input.Number = NumberInput;
1322
+ Input.Wrapper = core.Input.Wrapper;
1323
+
1324
+ const StyledSlide = carousel.Carousel.Slide;
1325
+
1326
+ const SlideContext = React.createContext({});
1327
+ const CustomSlide = (_a) => {
1328
+ var { children, onClick, innerSlideProps } = _a, rest = tslib_es6.__rest(_a, ["children", "onClick", "innerSlideProps"]);
1329
+ const { slider, selectSlideWhenClick } = React.useContext(SlideContext);
1330
+ const ref = React.useRef();
1331
+ const key = React.useRef('');
1332
+ const [index, setIndex] = React.useState(0);
1333
+ React.useEffect(() => {
1334
+ key.current = String(Math.round(Math.random() * 10000));
1335
+ }, []);
1336
+ React.useEffect(() => {
1337
+ const slidesNode = (slider === null || slider === void 0 ? void 0 : slider.slideNodes()) || [];
1338
+ setIndex(slidesNode.findIndex((obj) => obj.dataset.key === key.current));
1339
+ }, [slider]);
1340
+ const sliderProps = {
1341
+ ref,
1342
+ 'data-key': key.current,
1343
+ 'data-index': index,
1344
+ };
1345
+ return (React__namespace["default"].createElement(StyledSlide, Object.assign({}, sliderProps, rest),
1346
+ React__namespace["default"].createElement("div", Object.assign({ style: {
1347
+ height: '100%',
1348
+ }, onClick: () => {
1349
+ selectSlideWhenClick && (slider === null || slider === void 0 ? void 0 : slider.scrollTo(index));
1350
+ onClick === null || onClick === void 0 ? void 0 : onClick(index);
1351
+ } }, innerSlideProps), children)));
1352
+ };
1353
+ const findIndexFromLeftSide = (position, slideLength) => {
1354
+ return position >= slideLength ? position - slideLength : position;
1355
+ };
1356
+ const findIndexFromRight = (position, slideLength) => {
1357
+ return position < 0 ? slideLength + position : position;
1358
+ };
1359
+ const CarouselWrapper = (_a) => {
1360
+ var { children, blurFromCenter, blurFromIndex, blurLength = 3, maxBlurOpacity = 0.5, onSlideChange, selectSlideWhenClick } = _a, props = tslib_es6.__rest(_a, ["children", "blurFromCenter", "blurFromIndex", "blurLength", "maxBlurOpacity", "onSlideChange", "selectSlideWhenClick"]);
1361
+ const { width } = hooks.useViewportSize();
1362
+ const [ref] = hooks.useResizeObserver();
1363
+ const slider = React.useRef(null);
1364
+ const [centerSlide, setCenterSlide] = React.useState(0);
1365
+ const handleStyle = () => {
1366
+ var _a, _b, _c, _d, _e;
1367
+ const slidesNode = ((_a = slider === null || slider === void 0 ? void 0 : slider.current) === null || _a === void 0 ? void 0 : _a.slideNodes()) || [];
1368
+ if (((_b = slider === null || slider === void 0 ? void 0 : slider.current) === null || _b === void 0 ? void 0 : _b.slideNodes().length) <=
1369
+ ((_c = slider === null || slider === void 0 ? void 0 : slider.current) === null || _c === void 0 ? void 0 : _c.slidesInView().length)) {
1370
+ slidesNode.map((item) => {
1371
+ item.classList.remove('center-slide');
1372
+ item.style.opacity = '1';
1373
+ });
1374
+ return false;
1375
+ }
1376
+ const centerSlideIndex = (_d = slider === null || slider === void 0 ? void 0 : slider.current) === null || _d === void 0 ? void 0 : _d.selectedScrollSnap();
1377
+ setCenterSlide(centerSlideIndex);
1378
+ const slidesNodeLength = slidesNode.length;
1379
+ const slidesInView = (_e = slider === null || slider === void 0 ? void 0 : slider.current) === null || _e === void 0 ? void 0 : _e.slidesInView();
1380
+ const slidesInViewLength = slidesInView.length;
1381
+ const halfSideLength = Math.floor(slidesInViewLength / 2);
1382
+ const halfSideBlurLength = blurFromCenter
1383
+ ? blurFromIndex + blurLength - 1
1384
+ : halfSideLength;
1385
+ const lastRightBlurIndexTmp = centerSlideIndex + halfSideBlurLength;
1386
+ const lastRightBlurIndex = lastRightBlurIndexTmp === slidesNodeLength
1387
+ ? 0
1388
+ : lastRightBlurIndexTmp > slidesNodeLength
1389
+ ? lastRightBlurIndexTmp - slidesNodeLength
1390
+ : lastRightBlurIndexTmp;
1391
+ const lastLeftBlurIndexTmp = centerSlideIndex - halfSideBlurLength;
1392
+ const lastLeftBlurIndex = lastLeftBlurIndexTmp < 0
1393
+ ? slidesNodeLength + lastLeftBlurIndexTmp
1394
+ : lastLeftBlurIndexTmp > 0
1395
+ ? centerSlideIndex - halfSideBlurLength
1396
+ : 0;
1397
+ const visibleSlide = [
1398
+ ...new Set(Array(halfSideBlurLength * 2 + 1)
1399
+ .fill('')
1400
+ .map((i, idx) => {
1401
+ const findFrom = lastLeftBlurIndex;
1402
+ return findIndexFromLeftSide(findFrom + idx, slidesNodeLength);
1403
+ })),
1404
+ ];
1405
+ slidesNode.map((item, index) => {
1406
+ if (index === centerSlideIndex) {
1407
+ item.classList.add('center-slide');
1408
+ }
1409
+ else {
1410
+ item.classList.remove('center-slide');
1411
+ }
1412
+ if (visibleSlide.indexOf(index) !== -1) {
1413
+ const opacityGap = maxBlurOpacity / blurLength;
1414
+ for (let i = 0; i < blurLength; i++) {
1415
+ if (index ===
1416
+ findIndexFromLeftSide(lastLeftBlurIndex + i, slidesNodeLength) ||
1417
+ index ===
1418
+ findIndexFromRight(lastRightBlurIndex - i, slidesNodeLength)) {
1419
+ item.style.opacity = String((i + 1) * opacityGap);
1420
+ break;
1421
+ }
1422
+ item.style.opacity = '1';
1423
+ }
1424
+ }
1425
+ else {
1426
+ item.style.opacity = '0';
1427
+ }
1428
+ });
1429
+ };
1430
+ const sliderProps = {
1431
+ getEmblaApi: (embla) => {
1432
+ slider.current = embla;
1433
+ },
1434
+ onSlideChange: (index) => {
1435
+ handleStyle();
1436
+ onSlideChange === null || onSlideChange === void 0 ? void 0 : onSlideChange(index);
1437
+ },
1438
+ };
1439
+ React.useEffect(() => {
1440
+ (slider === null || slider === void 0 ? void 0 : slider.current) && handleStyle();
1441
+ }, [width]);
1442
+ const useStyles = core.createStyles(() => {
1443
+ var _a, _b;
1444
+ return ({
1445
+ control: Object.assign({}, (((_a = slider === null || slider === void 0 ? void 0 : slider.current) === null || _a === void 0 ? void 0 : _a.slideNodes().length) <=
1446
+ ((_b = slider === null || slider === void 0 ? void 0 : slider.current) === null || _b === void 0 ? void 0 : _b.slidesInView().length) && {
1447
+ display: 'none',
1448
+ })),
1449
+ });
1450
+ });
1451
+ const { classes } = useStyles();
1452
+ return (React__namespace["default"].createElement(SlideContext.Provider, { value: { slider: slider === null || slider === void 0 ? void 0 : slider.current, centerSlide, selectSlideWhenClick } },
1453
+ React__namespace["default"].createElement(carousel.Carousel, Object.assign({ classNames: {
1454
+ control: classes.control,
1455
+ }, ref: ref, slideSize: 'auto', containScroll: "trimSnaps" }, sliderProps, props, { loop: true }), typeof children === 'function' ? children(centerSlide) : children)));
1456
+ };
1457
+ const CentralCarousel = CarouselWrapper;
1458
+ CentralCarousel.Slide = CustomSlide;
1459
+
1460
+ const CheckboxWrapper = (_a) => {
1461
+ var { styles, color = 'blue' } = _a, props = tslib_es6.__rest(_a, ["styles", "color"]);
1462
+ const theme = core.useMantineTheme();
1463
+ const hexColor = React.useMemo(() => {
1464
+ var _a, _b;
1465
+ return ((color === null || color === void 0 ? void 0 : color.includes('.'))
1466
+ ? (_a = theme.colors[color.split('.')[0]]) === null || _a === void 0 ? void 0 : _a[color.split('.')[1]]
1467
+ : (_b = theme.colors[color]) === null || _b === void 0 ? void 0 : _b[theme.primaryShade || 6]) ||
1468
+ theme.colors.blue[6];
1469
+ }, [color]);
1470
+ return (React__namespace["default"].createElement(core.Checkbox, Object.assign({ styles: Object.assign({ input: {
1471
+ '&:hover': {
1472
+ border: `1px solid ${hexColor}`,
1473
+ },
1474
+ } }, styles), color: color }, props)));
1475
+ };
1476
+ const Checkbox = CheckboxWrapper;
1477
+ Checkbox.Group = core.Checkbox.Group;
1478
+
1479
+ const StyledSlider = styled__default["default"](core.Slider) `
1480
+ ${(props) => {
1481
+ const color = props.color || theme.theme.colors.primaryBase;
1482
+ return `
1483
+ .mantine-Slider-bar {
1484
+ background-color: ${color};
1485
+ }
1486
+ .mantine-Slider-thumb {
1487
+ border-color: ${color};
1488
+ color: ${color};
1489
+ }
1490
+ `;
1491
+ }}
1492
+ [data-theme='marryBaby'] & {
1493
+ ${(props) => {
1494
+ const color = props.color || theme.theme.mbColors.pink;
1495
+ return `
1496
+ .mantine-Slider-bar {
1497
+ background-color: ${color};
1498
+ }
1499
+ .mantine-Slider-thumb {
1500
+ border-color: ${color};
1501
+ color: ${color};
1502
+ }
1503
+ `;
1504
+ }}
1505
+ }
1506
+
1507
+ .mantine-Slider-label {
1508
+ background-color: transparent;
1509
+ color: #000;
1510
+ font-size: 14px;
1511
+ font-weight: bold;
1512
+ }
1513
+ `;
1514
+ const StyledSliderWrapper = styled__default["default"].div `
1515
+ display: flex;
1516
+ align-items: center;
1517
+ .hhg-mantine-slider {
1518
+ flex-grow: 1;
1519
+ }
1520
+ button {
1521
+ path:not([stroke]) {
1522
+ stroke: ${theme.theme.colors.primaryBase};
1523
+ }
1524
+ }
1525
+ [data-theme='marryBaby'] & {
1526
+ button {
1527
+ path:not([stroke]) {
1528
+ stroke: ${theme.theme.mbColors.pink};
1529
+ }
1530
+ }
1531
+ }
1532
+ `;
1533
+
1534
+ const RadioWrapper = (_a) => {
1535
+ var { styles, color = 'blue' } = _a, props = tslib_es6.__rest(_a, ["styles", "color"]);
1536
+ const theme = core.useMantineTheme();
1537
+ const hexColor = React.useMemo(() => {
1538
+ var _a, _b;
1539
+ return ((color === null || color === void 0 ? void 0 : color.includes('.'))
1540
+ ? (_a = theme.colors[color.split('.')[0]]) === null || _a === void 0 ? void 0 : _a[color.split('.')[1]]
1541
+ : (_b = theme.colors[color]) === null || _b === void 0 ? void 0 : _b[theme.primaryShade || 6]) ||
1542
+ theme.colors.blue[6];
1543
+ }, [color]);
1544
+ return (React__namespace["default"].createElement(core.Radio, Object.assign({ styles: Object.assign({ radio: {
1545
+ '&:hover': {
1546
+ border: `1px solid ${hexColor}`,
1547
+ },
1548
+ }, icon: {
1549
+ color: `${hexColor}`,
1550
+ } }, styles), color: color }, props)));
1551
+ };
1552
+ const Radio = RadioWrapper;
1553
+ Radio.Group = core.Radio.Group;
1554
+
1555
+ function transferValueToOtp(value, valueLength = 6) {
1556
+ const otp = new Array(valueLength).fill('');
1557
+ if (value) {
1558
+ const arr = value.toString().split('');
1559
+ otp.map((_, index) => {
1560
+ if (arr[index]) {
1561
+ otp[index] = arr[index] || '';
1562
+ }
1563
+ });
1564
+ }
1565
+ return otp;
1566
+ }
1567
+ function transferOtpToValue(otp) {
1568
+ return otp.join('');
1569
+ }
1570
+
1571
+ var styles$1 = {"otpContainer":"_2iQs0sk","otpInput":"Ia6IojY","error":"yJs9MaD"};
1572
+
1573
+ const BACKSPACE = 8;
1574
+ const LEFT_ARROW = 37;
1575
+ const RIGHT_ARROW = 39;
1576
+ const DELETE = 46;
1577
+ const SPACEBAR = 32;
1578
+ const OTPInputFunction = (props, ref) => {
1579
+ const { maxLength = 1, placeholder, className } = props, restProps = tslib_es6.__rest(props, ["maxLength", "placeholder", "className"]);
1580
+ return (React__namespace["default"].createElement("input", Object.assign({ maxLength: maxLength, className: cn__default["default"](styles$1.otpInput, 'otpInput', className), placeholder: placeholder, type: "number" }, restProps, { ref: ref })));
1581
+ };
1582
+ const OTPInput = React.forwardRef(OTPInputFunction);
1583
+ const OTPFowardRef = (props, ref) => {
1584
+ const { valueLength = 6, type = 'number', value: valueProps, defaultValue, placeholder, onChange, onBlur, } = props;
1585
+ const inputRef = React.useRef(new Array(valueLength).fill(null));
1586
+ const [value, setValue] = React.useState(defaultValue || valueProps);
1587
+ const [activeOtp, setActiveOtp] = React.useState(-1);
1588
+ const [otp, setOtp] = React.useState(() => transferValueToOtp(value, valueLength));
1589
+ const changeCodeAtFocus = React.useCallback(() => {
1590
+ if (activeOtp === -1) {
1591
+ return;
1592
+ }
1593
+ const activeInput = inputRef.current[activeOtp];
1594
+ if (activeInput) {
1595
+ activeInput.value = '';
1596
+ const newOtp = otp;
1597
+ newOtp[activeOtp] = '';
1598
+ setOtp(newOtp);
1599
+ setValue(() => transferOtpToValue(newOtp));
1600
+ onChange === null || onChange === void 0 ? void 0 : onChange(transferOtpToValue(newOtp));
1601
+ }
1602
+ }, [activeOtp, onChange, otp]);
1603
+ const focusPrevInput = React.useCallback(() => {
1604
+ if (activeOtp === 0) {
1605
+ return;
1606
+ }
1607
+ const curInput = inputRef.current[activeOtp];
1608
+ if (curInput) {
1609
+ curInput.blur();
1610
+ }
1611
+ const prevInput = inputRef.current[activeOtp - 1];
1612
+ if (prevInput) {
1613
+ prevInput.focus();
1614
+ }
1615
+ }, [activeOtp]);
1616
+ const focusNextInput = React.useCallback(() => {
1617
+ if (activeOtp === valueLength - 1) {
1618
+ return;
1619
+ }
1620
+ const curInput = inputRef.current[activeOtp];
1621
+ if (curInput) {
1622
+ curInput.blur();
1623
+ }
1624
+ const nextInput = inputRef.current[activeOtp + 1];
1625
+ if (nextInput) {
1626
+ nextInput.focus();
1627
+ }
1628
+ }, [activeOtp, valueLength]);
1629
+ const inputOnChange = React.useCallback((e) => {
1630
+ const target = e.target;
1631
+ const targetValue = target.value;
1632
+ const code = targetValue.toString().slice(0, 1);
1633
+ const indexTarget = inputRef.current.findIndex((input) => input === target);
1634
+ if (indexTarget !== -1) {
1635
+ const newOtp = otp;
1636
+ newOtp[indexTarget] = code;
1637
+ setOtp(newOtp);
1638
+ setValue(() => transferOtpToValue(newOtp));
1639
+ onChange === null || onChange === void 0 ? void 0 : onChange(transferOtpToValue(newOtp));
1640
+ }
1641
+ focusNextInput();
1642
+ }, [focusNextInput, onChange, otp]);
1643
+ const inputOnFocus = React.useCallback((e) => {
1644
+ const target = e.target;
1645
+ const targetIndex = inputRef.current.findIndex((input) => input === target);
1646
+ if (type === 'number') {
1647
+ target.select();
1648
+ }
1649
+ else {
1650
+ target.setSelectionRange(0, target.value.length, 'backward');
1651
+ }
1652
+ if (targetIndex !== -1) {
1653
+ setActiveOtp(targetIndex);
1654
+ }
1655
+ }, []);
1656
+ const inputOnPaste = React.useCallback((e) => {
1657
+ const clipboard = e.clipboardData.getData('text/plain');
1658
+ const newOtp = transferValueToOtp(clipboard, valueLength);
1659
+ const newValue = transferOtpToValue(newOtp);
1660
+ setOtp(newOtp);
1661
+ setValue(newValue);
1662
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
1663
+ }, [onChange, type, valueLength]);
1664
+ // Handle cases of backspace, delete, left arrow, right arrow, space
1665
+ const inputOnKeyDown = React.useCallback((e) => {
1666
+ if (e.keyCode === BACKSPACE || e.key === 'Backspace') {
1667
+ e.preventDefault();
1668
+ changeCodeAtFocus();
1669
+ focusPrevInput();
1670
+ }
1671
+ else if (e.keyCode === DELETE || e.key === 'Delete') {
1672
+ e.preventDefault();
1673
+ changeCodeAtFocus();
1674
+ }
1675
+ else if (e.keyCode === LEFT_ARROW || e.key === 'ArrowLeft') {
1676
+ e.preventDefault();
1677
+ focusPrevInput();
1678
+ }
1679
+ else if (e.keyCode === RIGHT_ARROW || e.key === 'ArrowRight') {
1680
+ e.preventDefault();
1681
+ focusNextInput();
1682
+ }
1683
+ else if (e.keyCode === SPACEBAR ||
1684
+ e.key === ' ' ||
1685
+ e.key === 'Spacebar' ||
1686
+ e.key === 'Space') {
1687
+ e.preventDefault();
1688
+ }
1689
+ }, [changeCodeAtFocus, focusNextInput, focusPrevInput]);
1690
+ React.useImperativeHandle(ref, () => inputRef.current[0], []);
1691
+ React.useEffect(() => {
1692
+ setOtp(() => transferValueToOtp(valueProps, valueLength));
1693
+ setValue(valueProps);
1694
+ }, [valueLength, valueProps]);
1695
+ return (React__namespace["default"].createElement(core.Flex, { justify: "center", columnGap: 8, className: cn__default["default"](styles$1.otpContainer, 'otpContainer') }, otp.map((val, index) => {
1696
+ return (React__namespace["default"].createElement(OTPInput, { ref: (iRef) => {
1697
+ inputRef.current[index] = iRef;
1698
+ }, key: '' + index, value: val, type: type, onChange: inputOnChange, onFocus: inputOnFocus, onKeyDown: inputOnKeyDown, onPaste: inputOnPaste, onBlur: onBlur, placeholder: placeholder }));
1699
+ })));
1700
+ };
1701
+ const OTP = React.forwardRef(OTPFowardRef);
1702
+
1703
+ const countriesDefault = Object.values(index$2.siteOptions).reduce((countries, { phoneCountry: phone }) => {
1704
+ if (!countries.includes(phone)) {
1705
+ countries.push(phone);
1706
+ }
1707
+ return countries;
1708
+ }, []);
1709
+
1710
+ var styles = {"phoneInput":"i-9Ibox","error":"YDWHh9b"};
1711
+
1712
+ /* eslint-disable prettier/prettier */
1713
+ const CaretDown = (props) => (React__namespace.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 8 5", fill: "currentColor" }, props),
1714
+ React__namespace.createElement("path", { d: "M4 5L0.535898 0.5L7.4641 0.5L4 5Z" })));
1715
+
1716
+ const PhoneForwardRef = (props, ref) => {
1717
+ const { isError, defaultCountry, countries = countriesDefault, countryCallingCodeEditable = false, defaultValue, value: valueProps, onChange: onChangeProps, className } = props, inputProps = tslib_es6.__rest(props, ["isError", "defaultCountry", "countries", "countryCallingCodeEditable", "defaultValue", "value", "onChange", "className"]);
1718
+ const [value, setValue] = React.useState(defaultValue || valueProps);
1719
+ const [PhoneInputUtils, setPhoneInputUtils] = React.useState(null);
1720
+ const onChange = (val) => {
1721
+ setValue(val);
1722
+ onChangeProps === null || onChangeProps === void 0 ? void 0 : onChangeProps(val);
1723
+ };
1724
+ React.useEffect(() => {
1725
+ setValue(valueProps);
1726
+ }, [valueProps]);
1727
+ React.useEffect(() => {
1728
+ (() => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
1729
+ const PhoneInput = yield Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-phone-number-input')); });
1730
+ setPhoneInputUtils(PhoneInput);
1731
+ }))();
1732
+ }, []);
1733
+ if (!PhoneInputUtils)
1734
+ return null;
1735
+ return (React__namespace["default"].createElement(PhoneInputUtils.default
1736
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1737
+ , Object.assign({
1738
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1739
+ ref: ref, value: value, onChange: onChange, countries: countries, defaultCountry: defaultCountry, countryCallingCodeEditable: countryCallingCodeEditable, className: cn__default["default"](styles.phoneInput, { isError, [styles.error]: isError }, className), flagUrl: undefined, flagComponent: (props) => {
1740
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1741
+ const { country, countryName, flagUrl } = props, restProps = tslib_es6.__rest(props, ["country", "countryName", "flagUrl"]);
1742
+ const callingCode = country
1743
+ ? `(+${PhoneInputUtils.getCountryCallingCode(country)})`
1744
+ : '';
1745
+ return (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
1746
+ React__namespace["default"].createElement(Flag, Object.assign({ country: country, title: countryName }, restProps)),
1747
+ React__namespace["default"].createElement("span", { className: cn__default["default"](styles.callingCode, 'PhoneInputCountryIconCallingCode') }, callingCode)));
1748
+ }, countrySelectProps: {
1749
+ arrowComponent: () => {
1750
+ return (React__namespace["default"].createElement("div", { className: cn__default["default"](styles.arrowSelect, 'PhoneInputArrowContainer') },
1751
+ React__namespace["default"].createElement(CaretDown, null)));
1752
+ },
1753
+ } }, inputProps)));
1754
+ };
1755
+ const Phone = React.forwardRef(PhoneForwardRef);
1756
+
1757
+ var useStyles$1 = core.createStyles((theme, params) => {
1758
+ const { variant } = params;
1759
+ const gradientOverlay = {
1760
+ content: 'none',
1761
+ top: 0,
1762
+ bottom: 0,
1763
+ zIndex: 1,
1764
+ width: core.rem(56),
1765
+ };
1766
+ return Object.assign({}, (variant === 'inline' && {
1767
+ root: {},
1768
+ tabsList: {
1769
+ gap: core.rem(24),
1770
+ borderBottom: 'none',
1771
+ flexWrap: 'nowrap',
1772
+ },
1773
+ tab: {
1774
+ padding: `${core.rem(8)} 0`,
1775
+ color: theme.colors.gray[4],
1776
+ borderColor: 'transparent',
1777
+ borderBottomWidth: core.rem(2),
1778
+ marginBottom: core.rem(-1),
1779
+ transition: 'border 0.2s ease',
1780
+ ['&:hover']: {
1781
+ backgroundColor: 'initial',
1782
+ borderColor: 'transparent',
1783
+ },
1784
+ [`&[data-active='true']`]: {
1785
+ color: theme.fn.primaryColor(),
1786
+ borderColor: theme.fn.primaryColor(),
1787
+ },
1788
+ },
1789
+ tabRightSection: {},
1790
+ tabLabel: {},
1791
+ tabIcon: {},
1792
+ panel: {},
1793
+ scrollArea: {
1794
+ position: 'relative',
1795
+ '&.prev-bg': {
1796
+ '&:before': Object.assign(Object.assign({}, gradientOverlay), { content: '""', position: 'absolute', left: 0, background: 'linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)' }),
1797
+ },
1798
+ '&.next-bg': {
1799
+ '&:after': Object.assign(Object.assign({}, gradientOverlay), { content: '""', position: 'absolute', right: 0, background: 'linear-gradient(90deg, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%)' }),
1800
+ },
1801
+ },
1802
+ list: {
1803
+ borderBottom: `1px solid ${theme.colors.neutral[1]}`,
1804
+ },
1805
+ btn: {
1806
+ position: 'absolute',
1807
+ top: '50%',
1808
+ zIndex: 2,
1809
+ transform: 'translate(0, -50%)',
1810
+ width: core.rem(28),
1811
+ height: core.rem(28),
1812
+ padding: 0,
1813
+ background: 'white',
1814
+ borderRadius: '50%',
1815
+ cursor: 'pointer',
1816
+ filter: 'drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04)) drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))',
1817
+ '.mantine-Button-icon': {
1818
+ display: 'flex',
1819
+ alignItems: 'center',
1820
+ justifyContent: 'center',
1821
+ },
1822
+ '&.disabled': {
1823
+ opacity: 0,
1824
+ zIndex: 0,
1825
+ },
1826
+ },
1827
+ prevBtn: {
1828
+ left: 0,
1829
+ },
1830
+ nextBtn: {
1831
+ right: 0,
1832
+ },
1833
+ }));
1834
+ });
1835
+
1836
+ const _Tabs = (_a) => {
1837
+ var _b;
1838
+ var { variant = 'inline', value, styles, children, dataList = [], tabProps, listProps, panelProps, TabComponentDisplay, startPadding = 40, defaultValue } = _a, rest = tslib_es6.__rest(_a, ["variant", "value", "styles", "children", "dataList", "tabProps", "listProps", "panelProps", "TabComponentDisplay", "startPadding", "defaultValue"]);
1839
+ const { cx, classes } = useStyles$1({ variant }, { name: 'Tabs', styles });
1840
+ const listRef = React.useRef(null);
1841
+ const tabRef = React.useRef([]);
1842
+ const [activeTab, setActiveTab] = React.useState(defaultValue || ((_b = dataList === null || dataList === void 0 ? void 0 : dataList[0]) === null || _b === void 0 ? void 0 : _b.value));
1843
+ const [currentSlide, setCurrentSlide] = React.useState(0);
1844
+ const [disableNext, setDisableNext] = React.useState(false);
1845
+ const [disablePrevious, setDisablePrevious] = React.useState(true);
1846
+ const [scrollPosition, onScrollPositionChange] = React.useState({ x: 0, y: 0 });
1847
+ const viewport = React.useRef(null);
1848
+ const props = Object.assign({ defaultValue, classNames: classes }, (!children
1849
+ ? {
1850
+ value: activeTab,
1851
+ onTabChange: (v) => setActiveTab(v),
1852
+ }
1853
+ : {
1854
+ value,
1855
+ }));
1856
+ React.useEffect(() => {
1857
+ setActiveTab(value);
1858
+ }, [value]);
1859
+ React.useEffect(() => {
1860
+ var _a, _b, _c;
1861
+ (_a = viewport.current) === null || _a === void 0 ? void 0 : _a.scrollTo({
1862
+ left: ((_c = (_b = tabRef === null || tabRef === void 0 ? void 0 : tabRef.current) === null || _b === void 0 ? void 0 : _b[currentSlide]) === null || _c === void 0 ? void 0 : _c.offsetLeft) - startPadding,
1863
+ behavior: 'smooth',
1864
+ });
1865
+ }, [currentSlide]);
1866
+ React.useEffect(() => {
1867
+ setCurrentSlide(dataList.findIndex((i) => i.value == activeTab));
1868
+ }, [activeTab]);
1869
+ React.useEffect(() => {
1870
+ var _a, _b;
1871
+ setDisablePrevious(scrollPosition.x === 0);
1872
+ setDisableNext(((_a = viewport === null || viewport === void 0 ? void 0 : viewport.current) === null || _a === void 0 ? void 0 : _a.clientWidth) + scrollPosition.x ===
1873
+ ((_b = viewport === null || viewport === void 0 ? void 0 : viewport.current) === null || _b === void 0 ? void 0 : _b.scrollWidth));
1874
+ }, [scrollPosition]);
1875
+ const TabTextComponent = ({ text, dataEventCategory, dataEventAction, dataEventLabel, }) => TabComponentDisplay ? (React__namespace["default"].createElement(TabComponentDisplay, null, text)) : (React__namespace["default"].createElement(index$1.Text, { size: "s3", color: "inherit", weight: "semiBold", "data-event-category": dataEventCategory, "data-event-action": dataEventAction, "data-event-label": dataEventLabel }, text));
1876
+ return (React__namespace["default"].createElement(core.Tabs, Object.assign({}, props, rest), children || (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
1877
+ React__namespace["default"].createElement(core.ScrollArea, { className: cx(classes.scrollArea, `${!disablePrevious ? 'prev-bg' : ''} ${!disableNext ? 'next-bg' : ''}`), scrollbarSize: 0, viewportRef: viewport, onScrollPositionChange: onScrollPositionChange },
1878
+ React__namespace["default"].createElement(core.Tabs.List, Object.assign({ className: classes.list, ref: listRef }, listProps), dataList.map((i, idx) => (React__namespace["default"].createElement(core.Tabs.Tab, Object.assign({ ref: (e) => (tabRef.current[idx] = e), className: classes.tab, key: String(i.value), value: String(i.value) }, tabProps),
1879
+ React__namespace["default"].createElement(TabTextComponent, Object.assign({}, i)))))),
1880
+ React__namespace["default"].createElement(Button, { className: cx(classes.btn, classes.prevBtn, disablePrevious ? 'disabled' : ''), unstyled: true, onClick: () => setCurrentSlide(currentSlide - 1 > -1 ? currentSlide - 1 : 0), leftIcon: React__namespace["default"].createElement(other.ArrowLeft, { size: 16 }) }),
1881
+ React__namespace["default"].createElement(Button, { className: cx(classes.btn, classes.nextBtn, disableNext ? 'disabled' : ''), unstyled: true, onClick: () => setCurrentSlide(currentSlide + 1 < dataList.length - 1
1882
+ ? currentSlide + 1
1883
+ : dataList.length - 1), leftIcon: React__namespace["default"].createElement(other.ArrowRight, { size: 16 }) })),
1884
+ dataList.map((i) => (React__namespace["default"].createElement(core.Tabs.Panel, Object.assign({ value: String(i.value), key: String(i.value) }, panelProps), i.content)))))));
1885
+ };
1886
+ const Tabs = _Tabs;
1887
+ Tabs.List = core.Tabs.List;
1888
+ Tabs.Tab = core.Tabs.Tab;
1889
+ Tabs.Panel = core.Tabs.Panel;
1890
+
1891
+ const PopoverContext = React.createContext({});
1892
+ const _Popover = (_a) => {
1893
+ var { children, closeOnClickOutside = true } = _a, rest = tslib_es6.__rest(_a, ["children", "closeOnClickOutside"]);
1894
+ const [opened, { close, open }] = hooks.useDisclosure(false);
1895
+ const ref = closeOnClickOutside
1896
+ ? hooks.useClickOutside(close)
1897
+ : React.useRef();
1898
+ const props = Object.assign({}, (typeof children === 'function' ? { opened: opened } : {}));
1899
+ return (React__namespace["default"].createElement(PopoverContext.Provider, { value: { opened, close, open } },
1900
+ React__namespace["default"].createElement(core.Popover, Object.assign({ closeOnClickOutside: closeOnClickOutside }, props, rest),
1901
+ React__namespace["default"].createElement("div", { ref: ref }, typeof children === 'function'
1902
+ ? children({ open, close, opened })
1903
+ : children))));
1904
+ };
1905
+ const Popover = _Popover;
1906
+ Popover.Target = core.Popover.Target;
1907
+ Popover.Dropdown = core.Popover.Dropdown;
1908
+
1909
+ var useStyles = core.createStyles((theme) => {
1910
+ var _a;
1911
+ return {
1912
+ root: {},
1913
+ iconWrapper: {
1914
+ display: 'none',
1915
+ },
1916
+ label: {
1917
+ display: 'inline-block',
1918
+ cursor: 'pointer',
1919
+ '.checked': {
1920
+ display: 'none',
1921
+ },
1922
+ '.unchecked': {
1923
+ display: 'inline-block',
1924
+ },
1925
+ '&[data-checked="true"]': {
1926
+ '.checked': {
1927
+ display: 'inline-block',
1928
+ },
1929
+ '.unchecked': {
1930
+ display: 'none',
1931
+ },
1932
+ },
1933
+ '&,&[data-checked="true"]': {
1934
+ padding: 0,
1935
+ border: 0,
1936
+ height: 'auto',
1937
+ },
1938
+ },
1939
+ btnRoot: {
1940
+ pointerEvents: 'none',
1941
+ '&[data-variant="secondary"]': {
1942
+ backgroundColor: (_a = theme.colors[theme.primaryColor]) === null || _a === void 0 ? void 0 : _a[0],
1943
+ },
1944
+ '.mantine-Button-label': {
1945
+ fontWeight: 'normal',
1946
+ fontSize: core.rem(14),
1947
+ },
1948
+ },
1949
+ };
1950
+ });
1951
+
1952
+ const _ChipButton = (_a) => {
1953
+ var { variant = 'secondary', withIcon, children, buttonProps } = _a, rest = tslib_es6.__rest(_a, ["variant", "withIcon", "children", "buttonProps"]);
1954
+ const { classes, cx } = useStyles();
1955
+ return (React__namespace["default"].createElement(core.Chip, Object.assign({ classNames: classes }, rest, { unstyled: true }),
1956
+ React__namespace["default"].createElement(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),
1957
+ React__namespace["default"].createElement(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)));
1958
+ };
1959
+ const ChipButton = _ChipButton;
1960
+ ChipButton.Group = core.Chip.Group;
1961
+
1962
+ exports.Accordion = Accordion;
1963
+ exports.Anchor = Anchor;
1964
+ exports.AspectRatio = AspectRatio;
1965
+ exports.Avatar = Avatar;
1966
+ exports.Breadcrumbs = Breadcrumbs;
1967
+ exports.Button = Button;
1968
+ exports.CaretDown = CaretDown;
1969
+ exports.Carousel = Carousel;
1970
+ exports.CentralCarousel = CentralCarousel;
1971
+ exports.Checkbox = Checkbox;
1972
+ exports.ChipButton = ChipButton;
1973
+ exports.DEBOUNCED_TIME = DEBOUNCED_TIME;
1974
+ exports.Flag = Flag;
1975
+ exports.ImageWrap = ImageWrap;
1976
+ exports.Input = Input;
1977
+ exports.MAPPED_LOCALE = MAPPED_LOCALE;
1978
+ exports.NumberInput = NumberInput;
1979
+ exports.OTP = OTP;
1980
+ exports.Phone = Phone;
1981
+ exports.Popover = Popover;
1982
+ exports.Radio = Radio;
1983
+ exports.Select = Select;
1984
+ exports.StyledSlider = StyledSlider;
1985
+ exports.StyledSliderWrapper = StyledSliderWrapper;
1986
+ exports.StyledTextArea = StyledTextArea;
1987
+ exports.Tabs = Tabs;
1988
+ exports.emotionCache = emotionCache;
1989
+ exports.getHeadingStyles = getHeadingStyles;
1990
+ exports.getMantineThemeOverride = getMantineThemeOverride;
1991
+ exports.themeColors = themeColors;
1992
+ exports.useMantineLocale = useMantineLocale;
1993
+ exports.useScreenSize = useScreenSize;
1994
+ exports.useStyles = useStyles$2;