@hhgtech/hhg-components 1.28.78 → 1.28.80

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 (310) hide show
  1. package/build/Close-b7a203d1.js +29 -0
  2. package/build/adapters.js +14 -14
  3. package/build/babyGrowth.js +77 -77
  4. package/build/cache.js +3 -3
  5. package/build/care.js +17 -17
  6. package/build/components.js +55 -55
  7. package/build/{constants-40575d3d.js → constants-3479888e.js} +2 -2
  8. package/build/{constants-64137f11.js → constants-bd8afa18.js} +2 -2
  9. package/build/constants.js +3 -3
  10. package/build/{core-0fc1ce13.js → core-22367a27.js} +2 -2
  11. package/build/{dataTransform-cf77fb84.js → dataTransform-29cc3dd2.js} +1 -1
  12. package/build/ecom.js +6 -6
  13. package/build/esm/Close-4ca83dfd.js +7 -0
  14. package/build/esm/adapters.js +14 -14
  15. package/build/esm/babyGrowth.js +78 -78
  16. package/build/esm/cache.js +3 -3
  17. package/build/esm/care.js +17 -17
  18. package/build/esm/components.js +55 -55
  19. package/build/esm/{constants-a92f47b1.js → constants-004f080a.js} +2 -2
  20. package/build/esm/{constants-6f09bf34.js → constants-d53f9101.js} +2 -2
  21. package/build/esm/constants.js +3 -3
  22. package/build/esm/{core-c92bee47.js → core-7e4b4d85.js} +2 -2
  23. package/build/esm/{dataTransform-355c2a44.js → dataTransform-bf6753e4.js} +1 -1
  24. package/build/esm/ecom.js +6 -6
  25. package/build/esm/footer.js +19 -19
  26. package/build/esm/gAssets.js +4 -4
  27. package/build/esm/{getDynamicHealthTool-65d62045.js → getDynamicHealthTool-296bc3be.js} +4 -4
  28. package/build/esm/{getSocialList-d5e5ffbf.js → getSocialList-2ebfcd4a.js} +2 -2
  29. package/build/esm/hooks.js +17 -17
  30. package/build/esm/i18n.js +2 -2
  31. package/build/esm/i18nV2.js +2 -2
  32. package/build/esm/{index-d9e6681f.js → index-14587dbf.js} +8 -8
  33. package/build/esm/{index-a04d706a.js → index-22221342.js} +2 -2
  34. package/build/esm/{index-d5c7154c.js → index-2516c87e.js} +4 -4
  35. package/build/esm/{index-9752b006.js → index-27cc65d4.js} +29 -29
  36. package/build/esm/{index-0c6555f6.js → index-39528b9b.js} +1 -1
  37. package/build/esm/index-5849268c.js +24 -0
  38. package/build/esm/{index-0ba897f6.js → index-76a63956.js} +5 -5
  39. package/build/esm/{index-5c0d3163.js → index-77f900fd.js} +10 -10
  40. package/build/esm/{index-abf46db4.js → index-78b15ede.js} +3 -3
  41. package/build/esm/{index-37af8d4f.js → index-8573ee56.js} +2 -2
  42. package/build/esm/{index-69eee978.js → index-97d0e5e4.js} +2 -2
  43. package/build/esm/{index-16780e0b.js → index-98cf27df.js} +6 -6
  44. package/build/esm/{index-9a1e3714.js → index-991703e4.js} +2 -2
  45. package/build/esm/{index-4f50641a.js → index-992d5b21.js} +9 -9
  46. package/build/esm/{index-b31510f1.js → index-9964165a.js} +1 -1
  47. package/build/esm/{index-142de717.js → index-b42b746d.js} +3 -3
  48. package/build/esm/{index-cd333dd6.js → index-bb6a15db.js} +2 -2
  49. package/build/esm/{index-3159a30c.js → index-c6b43ed7.js} +9 -9
  50. package/build/esm/{index-f1e659ad.js → index-ce7d88c1.js} +3 -3
  51. package/build/esm/{index-882fb87f.js → index-cf62426e.js} +4 -4
  52. package/build/esm/{index-fdd8a07c.js → index-d108d803.js} +13 -13
  53. package/build/esm/{index-3d89625a.js → index-d5783ce8.js} +5 -5
  54. package/build/esm/{index-d49c59f2.js → index-dc60f279.js} +47 -43
  55. package/build/esm/{index-c88a79ab.js → index-e329bfff.js} +2 -2
  56. package/build/esm/{index-de7701bc.js → index-f98bf91e.js} +3 -3
  57. package/build/esm/index.js +69 -68
  58. package/build/esm/{index.styled-8998eefe.js → index.styled-938c9e2d.js} +2 -2
  59. package/build/esm/{index.styles-db6e1045.js → index.styles-cf0b32a3.js} +6 -6
  60. package/build/esm/lead/components/close.d.ts +9 -0
  61. package/build/esm/lead/components/context.d.ts +35 -0
  62. package/build/esm/lead/components/description.d.ts +3 -0
  63. package/build/esm/lead/components/form/fields/index.d.ts +10 -0
  64. package/build/esm/lead/components/form/fields/index.styles.d.ts +8 -0
  65. package/build/esm/lead/components/form/fields/locationBlock.d.ts +6 -0
  66. package/build/esm/lead/components/form/fields/subtitleBlock.d.ts +5 -0
  67. package/build/esm/lead/components/form/fields/titleBlock.d.ts +5 -0
  68. package/build/esm/lead/components/form/formContext.d.ts +12 -0
  69. package/build/esm/lead/components/form/index.d.ts +5 -0
  70. package/build/esm/lead/components/form/index.styles.d.ts +15 -0
  71. package/build/esm/lead/components/heading.d.ts +3 -0
  72. package/build/esm/lead/components/index.d.ts +12 -0
  73. package/build/esm/lead/components/otpBlock/index.d.ts +9 -0
  74. package/build/esm/lead/components/otpBlock/index.styles.d.ts +13 -0
  75. package/build/esm/lead/components/thankyou.d.ts +4 -0
  76. package/build/esm/lead/index.d.ts +18 -2
  77. package/build/esm/lead.js +833 -221
  78. package/build/esm/mantine.js +19 -19
  79. package/build/esm/misc.js +17 -17
  80. package/build/esm/navigation.js +34 -34
  81. package/build/esm/onboardingV2.js +29 -29
  82. package/build/esm/pwg.js +18 -18
  83. package/build/esm/{routing-e0641e19.js → routing-8faaacea.js} +2 -2
  84. package/build/esm/subot.js +20 -20
  85. package/build/esm/together.js +33 -32
  86. package/build/esm/{types-e48d1bc6.js → types-9f020bf6.js} +30 -34
  87. package/build/esm/{types-6edb0698.js → types-a4e6af19.js} +13 -13
  88. package/build/esm/types.js +1 -1
  89. package/build/esm/{useCategory-f08a6273.js → useCategory-b525a974.js} +5 -5
  90. package/build/esm/{useHealthToolCache-8a7d9f6e.js → useHealthToolCache-f6dcb4d8.js} +2 -2
  91. package/build/esm/{usePlacesAutocomplete-87e2f95a.js → usePlacesAutocomplete-e14d1036.js} +1 -1
  92. package/build/esm/{useTranslations-eae057f4.js → useTranslations-a559a7a5.js} +1 -1
  93. package/build/esm/{utils-76b4cfc5.js → utils-8cfab824.js} +6 -6
  94. package/build/esm/{utils-277663aa.js → utils-93eb13e7.js} +1 -1
  95. package/build/esm/{utils-c6ecc48d.js → utils-a88682f9.js} +4 -4
  96. package/build/esm/vaccination.js +24 -24
  97. package/build/footer.js +19 -19
  98. package/build/gAssets.js +4 -4
  99. package/build/{getDynamicHealthTool-d9accadf.js → getDynamicHealthTool-fe550923.js} +4 -4
  100. package/build/{getSocialList-5ec06679.js → getSocialList-28b8aa45.js} +2 -2
  101. package/build/hooks.js +17 -17
  102. package/build/i18n.js +1 -1
  103. package/build/i18nV2.js +1 -1
  104. package/build/{index-81a9d681.js → index-05304b9b.js} +4 -4
  105. package/build/{index-89b263ae.js → index-14226ab2.js} +46 -42
  106. package/build/{index-f40707bc.js → index-17f9a72f.js} +2 -2
  107. package/build/{index-90262260.js → index-1cc3b628.js} +3 -3
  108. package/build/{index-56b91dfc.js → index-50a331ae.js} +2 -2
  109. package/build/{index-104d3cf5.js → index-72a41d2b.js} +5 -5
  110. package/build/{index-1ccc525b.js → index-76bb520c.js} +2 -2
  111. package/build/{index-5066f448.js → index-830cfc43.js} +13 -13
  112. package/build/{index-d3aa6c0c.js → index-88286df3.js} +29 -29
  113. package/build/{index-8b1861d6.js → index-8c630d76.js} +4 -4
  114. package/build/{index-bd2005e5.js → index-8d87268c.js} +3 -3
  115. package/build/{index-0f205b8d.js → index-90b4cf6b.js} +10 -10
  116. package/build/{index-7e38d239.js → index-958f67bb.js} +2 -2
  117. package/build/{index-39692095.js → index-96b9585a.js} +9 -9
  118. package/build/{index-fc485132.js → index-a2785ada.js} +3 -3
  119. package/build/{index-1a6b3538.js → index-a3d460fa.js} +3 -3
  120. package/build/{index-faecc6fb.js → index-a511db2b.js} +9 -9
  121. package/build/{index-38ecdf2c.js → index-a79982f7.js} +2 -2
  122. package/build/{index-8e864883.js → index-a84eedaa.js} +1 -1
  123. package/build/{index-471a6db2.js → index-a909db6f.js} +2 -2
  124. package/build/{index-3daa918b.js → index-c194972d.js} +8 -8
  125. package/build/{index-dc3faaea.js → index-d02a1631.js} +6 -6
  126. package/build/{index-dd49ba18.js → index-d7aea2d0.js} +1 -1
  127. package/build/{index-36c874ce.js → index-e3b0bdb0.js} +4 -4
  128. package/build/{index-d1c248bb.js → index-f77accef.js} +10 -10
  129. package/build/index.js +113 -112
  130. package/build/{index.styled-221f7a2a.js → index.styled-2ad9b370.js} +2 -2
  131. package/build/{index.styles-63c23f64.js → index.styles-2705c1b1.js} +5 -5
  132. package/build/lead/components/close.d.ts +9 -0
  133. package/build/lead/components/context.d.ts +35 -0
  134. package/build/lead/components/description.d.ts +3 -0
  135. package/build/lead/components/form/fields/index.d.ts +10 -0
  136. package/build/lead/components/form/fields/index.styles.d.ts +8 -0
  137. package/build/lead/components/form/fields/locationBlock.d.ts +6 -0
  138. package/build/lead/components/form/fields/subtitleBlock.d.ts +5 -0
  139. package/build/lead/components/form/fields/titleBlock.d.ts +5 -0
  140. package/build/lead/components/form/formContext.d.ts +12 -0
  141. package/build/lead/components/form/index.d.ts +5 -0
  142. package/build/lead/components/form/index.styles.d.ts +15 -0
  143. package/build/lead/components/heading.d.ts +3 -0
  144. package/build/lead/components/index.d.ts +12 -0
  145. package/build/lead/components/otpBlock/index.d.ts +9 -0
  146. package/build/lead/components/otpBlock/index.styles.d.ts +13 -0
  147. package/build/lead/components/thankyou.d.ts +4 -0
  148. package/build/lead/index.d.ts +18 -2
  149. package/build/lead.js +856 -244
  150. package/build/mantine.js +17 -17
  151. package/build/misc.js +17 -17
  152. package/build/navigation.js +34 -34
  153. package/build/onboardingV2.js +28 -28
  154. package/build/pwg.js +18 -18
  155. package/build/{routing-f4f6017a.js → routing-46b3def0.js} +2 -2
  156. package/build/subot.js +20 -20
  157. package/build/together.js +33 -32
  158. package/build/{types-62cb6b9e.js → types-03e001c9.js} +13 -13
  159. package/build/{types-94c4449c.js → types-55014b2c.js} +656 -660
  160. package/build/types.js +1 -1
  161. package/build/{useCategory-5cd180e8.js → useCategory-54dfd7ee.js} +5 -5
  162. package/build/{useHealthToolCache-a29f76ce.js → useHealthToolCache-a5a6585a.js} +2 -2
  163. package/build/{usePlacesAutocomplete-c19fd7c5.js → usePlacesAutocomplete-c73d655f.js} +1 -1
  164. package/build/{useTranslations-a4c6b8f5.js → useTranslations-ee85619b.js} +1 -1
  165. package/build/{utils-9ba965d4.js → utils-8aee541d.js} +1 -1
  166. package/build/{utils-6ccbb5ca.js → utils-d583cd84.js} +4 -4
  167. package/build/{utils-c2445e75.js → utils-da97b7ae.js} +5 -5
  168. package/build/vaccination.js +24 -24
  169. package/package.json +1 -1
  170. package/build/esm/index-71695420.js +0 -24
  171. /package/build/{BMI_BOYS.percentile.monthly-cd4dbb12.js → BMI_BOYS.percentile.monthly-34095f55.js} +0 -0
  172. /package/build/{BMI_BOYS.percentile.weekly-57bb5688.js → BMI_BOYS.percentile.weekly-b843a333.js} +0 -0
  173. /package/build/{BMI_BOYS.percentile.yearly-b8087797.js → BMI_BOYS.percentile.yearly-db0f25db.js} +0 -0
  174. /package/build/{BMI_BOYS.zscore.monthly-b0f104b3.js → BMI_BOYS.zscore.monthly-36793c3e.js} +0 -0
  175. /package/build/{BMI_BOYS.zscore.weekly-bf578a42.js → BMI_BOYS.zscore.weekly-92df605a.js} +0 -0
  176. /package/build/{BMI_BOYS.zscore.yearly-02177a3d.js → BMI_BOYS.zscore.yearly-33a1c871.js} +0 -0
  177. /package/build/{BMI_GIRLS.percentile.monthly-0f7037f4.js → BMI_GIRLS.percentile.monthly-4bf16f7d.js} +0 -0
  178. /package/build/{BMI_GIRLS.percentile.weekly-c64fb331.js → BMI_GIRLS.percentile.weekly-3bb97e2c.js} +0 -0
  179. /package/build/{BMI_GIRLS.percentile.yearly-92c7babb.js → BMI_GIRLS.percentile.yearly-5ff7d694.js} +0 -0
  180. /package/build/{BMI_GIRLS.zscore.monthly-acd077a4.js → BMI_GIRLS.zscore.monthly-3be0d0e3.js} +0 -0
  181. /package/build/{BMI_GIRLS.zscore.weekly-cbc31f74.js → BMI_GIRLS.zscore.weekly-6d5c73b8.js} +0 -0
  182. /package/build/{BMI_GIRLS.zscore.yearly-9ca4ec0a.js → BMI_GIRLS.zscore.yearly-c16c2b7a.js} +0 -0
  183. /package/build/{ChevronDown-8c713f38.js → ChevronDown-00b6c45c.js} +0 -0
  184. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4a45c6b1.js → HEAD CIRCUM_BOYS.percentile.monthly-5783abde.js} +0 -0
  185. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-90b85098.js → HEAD CIRCUM_BOYS.percentile.weekly-69accc9b.js} +0 -0
  186. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-68869800.js → HEAD CIRCUM_BOYS.percentile.yearly-6f716357.js} +0 -0
  187. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-df1068cd.js → HEAD CIRCUM_BOYS.zscore.monthly-740d8a88.js} +0 -0
  188. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-58fd2b99.js → HEAD CIRCUM_BOYS.zscore.weekly-75a83e4e.js} +0 -0
  189. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-e90283fb.js → HEAD CIRCUM_BOYS.zscore.yearly-beacfadd.js} +0 -0
  190. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-b147a0ea.js → HEAD CIRCUM_GIRLS.percentile.monthly-4e9309e8.js} +0 -0
  191. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a71d64c9.js → HEAD CIRCUM_GIRLS.percentile.weekly-8456b0af.js} +0 -0
  192. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-2c787e37.js → HEAD CIRCUM_GIRLS.percentile.yearly-6bf9c34f.js} +0 -0
  193. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-3c443800.js → HEAD CIRCUM_GIRLS.zscore.monthly-561c12d7.js} +0 -0
  194. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e315a119.js → HEAD CIRCUM_GIRLS.zscore.weekly-27b56db8.js} +0 -0
  195. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-ee8cb903.js → HEAD CIRCUM_GIRLS.zscore.yearly-e571dc07.js} +0 -0
  196. /package/build/{HEIGHT_BOYS.percentile.monthly-3132cb32.js → HEIGHT_BOYS.percentile.monthly-52109c85.js} +0 -0
  197. /package/build/{HEIGHT_BOYS.percentile.weekly-6f61a01c.js → HEIGHT_BOYS.percentile.weekly-be6e5b1c.js} +0 -0
  198. /package/build/{HEIGHT_BOYS.percentile.yearly-870348f0.js → HEIGHT_BOYS.percentile.yearly-3712519c.js} +0 -0
  199. /package/build/{HEIGHT_BOYS.zscore.monthly-960e19dd.js → HEIGHT_BOYS.zscore.monthly-3ae90dec.js} +0 -0
  200. /package/build/{HEIGHT_BOYS.zscore.weekly-2a5e17ee.js → HEIGHT_BOYS.zscore.weekly-96915a5d.js} +0 -0
  201. /package/build/{HEIGHT_BOYS.zscore.yearly-a7de7213.js → HEIGHT_BOYS.zscore.yearly-a3361503.js} +0 -0
  202. /package/build/{HEIGHT_GIRLS.percentile.monthly-4b7d5d8b.js → HEIGHT_GIRLS.percentile.monthly-d5d14ae4.js} +0 -0
  203. /package/build/{HEIGHT_GIRLS.percentile.weekly-ad0b7803.js → HEIGHT_GIRLS.percentile.weekly-88d86966.js} +0 -0
  204. /package/build/{HEIGHT_GIRLS.percentile.yearly-c752b708.js → HEIGHT_GIRLS.percentile.yearly-00fab771.js} +0 -0
  205. /package/build/{HEIGHT_GIRLS.zscore.monthly-4c49d8bf.js → HEIGHT_GIRLS.zscore.monthly-6c2eeff3.js} +0 -0
  206. /package/build/{HEIGHT_GIRLS.zscore.weekly-41ffaa90.js → HEIGHT_GIRLS.zscore.weekly-7619a61a.js} +0 -0
  207. /package/build/{HEIGHT_GIRLS.zscore.yearly-e508c93f.js → HEIGHT_GIRLS.zscore.yearly-122a294d.js} +0 -0
  208. /package/build/{Subot-89c2bfe5.js → Subot-a11a4e5b.js} +0 -0
  209. /package/build/{Visible-0683d0c7.js → Visible-c9b6d1c1.js} +0 -0
  210. /package/build/{WEIGHT_BOYS.percentile.monthly-5a090cb6.js → WEIGHT_BOYS.percentile.monthly-01c99b0d.js} +0 -0
  211. /package/build/{WEIGHT_BOYS.percentile.weekly-9cfd232a.js → WEIGHT_BOYS.percentile.weekly-76f8bd4a.js} +0 -0
  212. /package/build/{WEIGHT_BOYS.percentile.yearly-83c4a636.js → WEIGHT_BOYS.percentile.yearly-c41a4d02.js} +0 -0
  213. /package/build/{WEIGHT_BOYS.zscore.monthly-8e62e97f.js → WEIGHT_BOYS.zscore.monthly-04465ae9.js} +0 -0
  214. /package/build/{WEIGHT_BOYS.zscore.weekly-efed5638.js → WEIGHT_BOYS.zscore.weekly-fac29a95.js} +0 -0
  215. /package/build/{WEIGHT_BOYS.zscore.yearly-01c9d037.js → WEIGHT_BOYS.zscore.yearly-66eb62c0.js} +0 -0
  216. /package/build/{WEIGHT_GIRLS.percentile.monthly-806092bb.js → WEIGHT_GIRLS.percentile.monthly-97e796d5.js} +0 -0
  217. /package/build/{WEIGHT_GIRLS.percentile.weekly-2d7f3d54.js → WEIGHT_GIRLS.percentile.weekly-908cfdb5.js} +0 -0
  218. /package/build/{WEIGHT_GIRLS.percentile.yearly-2014adea.js → WEIGHT_GIRLS.percentile.yearly-0e313840.js} +0 -0
  219. /package/build/{WEIGHT_GIRLS.zscore.monthly-4eeb534d.js → WEIGHT_GIRLS.zscore.monthly-2497ec51.js} +0 -0
  220. /package/build/{WEIGHT_GIRLS.zscore.weekly-30633442.js → WEIGHT_GIRLS.zscore.weekly-45deda67.js} +0 -0
  221. /package/build/{WEIGHT_GIRLS.zscore.yearly-5fcb5a74.js → WEIGHT_GIRLS.zscore.yearly-28b55590.js} +0 -0
  222. /package/build/{animation-8d4719c5.js → animation-1621b827.js} +0 -0
  223. /package/build/{cookieHelper-b3cb244a.js → cookieHelper-115e3b7b.js} +0 -0
  224. /package/build/esm/{BMI_BOYS.percentile.monthly-d9dcd396.js → BMI_BOYS.percentile.monthly-f22300a8.js} +0 -0
  225. /package/build/esm/{BMI_BOYS.percentile.weekly-ca6db25e.js → BMI_BOYS.percentile.weekly-0916c196.js} +0 -0
  226. /package/build/esm/{BMI_BOYS.percentile.yearly-851d65ea.js → BMI_BOYS.percentile.yearly-1958e38b.js} +0 -0
  227. /package/build/esm/{BMI_BOYS.zscore.monthly-b38e4a47.js → BMI_BOYS.zscore.monthly-70d4e86e.js} +0 -0
  228. /package/build/esm/{BMI_BOYS.zscore.weekly-ead9b9b7.js → BMI_BOYS.zscore.weekly-d75f7e4a.js} +0 -0
  229. /package/build/esm/{BMI_BOYS.zscore.yearly-92be50c0.js → BMI_BOYS.zscore.yearly-1930de04.js} +0 -0
  230. /package/build/esm/{BMI_GIRLS.percentile.monthly-a5d758d0.js → BMI_GIRLS.percentile.monthly-e1df5f5d.js} +0 -0
  231. /package/build/esm/{BMI_GIRLS.percentile.weekly-ee96da9f.js → BMI_GIRLS.percentile.weekly-0dab6bc5.js} +0 -0
  232. /package/build/esm/{BMI_GIRLS.percentile.yearly-aa671473.js → BMI_GIRLS.percentile.yearly-e90dd797.js} +0 -0
  233. /package/build/esm/{BMI_GIRLS.zscore.monthly-d2d0f9ad.js → BMI_GIRLS.zscore.monthly-e5c49595.js} +0 -0
  234. /package/build/esm/{BMI_GIRLS.zscore.weekly-cf49eeb5.js → BMI_GIRLS.zscore.weekly-de23cfec.js} +0 -0
  235. /package/build/esm/{BMI_GIRLS.zscore.yearly-e74d0e82.js → BMI_GIRLS.zscore.yearly-157d5f16.js} +0 -0
  236. /package/build/esm/{ChevronDown-3cd5b130.js → ChevronDown-dba8fc93.js} +0 -0
  237. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a9eafb23.js → HEAD CIRCUM_BOYS.percentile.monthly-ba646a48.js} +0 -0
  238. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-15ba606f.js → HEAD CIRCUM_BOYS.percentile.weekly-88bcf790.js} +0 -0
  239. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3683033e.js → HEAD CIRCUM_BOYS.percentile.yearly-197b10a1.js} +0 -0
  240. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-81eed4ba.js → HEAD CIRCUM_BOYS.zscore.monthly-e8492701.js} +0 -0
  241. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8c6bc465.js → HEAD CIRCUM_BOYS.zscore.weekly-fdd39166.js} +0 -0
  242. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-344c2df6.js → HEAD CIRCUM_BOYS.zscore.yearly-b9f25c32.js} +0 -0
  243. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c4cbee63.js → HEAD CIRCUM_GIRLS.percentile.monthly-c5c9838b.js} +0 -0
  244. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-0485cd9a.js → HEAD CIRCUM_GIRLS.percentile.weekly-c511c542.js} +0 -0
  245. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-54823c8c.js → HEAD CIRCUM_GIRLS.percentile.yearly-71243cc4.js} +0 -0
  246. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7bcf1ee7.js → HEAD CIRCUM_GIRLS.zscore.monthly-584142c2.js} +0 -0
  247. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-28cc086b.js → HEAD CIRCUM_GIRLS.zscore.weekly-58c12477.js} +0 -0
  248. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-ec19dbb3.js → HEAD CIRCUM_GIRLS.zscore.yearly-f5df2c91.js} +0 -0
  249. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-2b005928.js → HEIGHT_BOYS.percentile.monthly-70bda395.js} +0 -0
  250. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-140dfd55.js → HEIGHT_BOYS.percentile.weekly-30c20803.js} +0 -0
  251. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f8c788c6.js → HEIGHT_BOYS.percentile.yearly-5bbf1dac.js} +0 -0
  252. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-667910e9.js → HEIGHT_BOYS.zscore.monthly-e0538785.js} +0 -0
  253. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3ad4e67b.js → HEIGHT_BOYS.zscore.weekly-eb71c990.js} +0 -0
  254. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-e9770e82.js → HEIGHT_BOYS.zscore.yearly-4dc9859f.js} +0 -0
  255. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-470374fa.js → HEIGHT_GIRLS.percentile.monthly-e414e4c7.js} +0 -0
  256. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-49f2c32f.js → HEIGHT_GIRLS.percentile.weekly-1b851c3e.js} +0 -0
  257. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-3953c0bc.js → HEIGHT_GIRLS.percentile.yearly-b5d7f6d3.js} +0 -0
  258. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c9d053a2.js → HEIGHT_GIRLS.zscore.monthly-11d155a8.js} +0 -0
  259. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-4dc7e083.js → HEIGHT_GIRLS.zscore.weekly-5d495735.js} +0 -0
  260. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-2b068c0e.js → HEIGHT_GIRLS.zscore.yearly-be736caf.js} +0 -0
  261. /package/build/esm/{Subot-479bbb06.js → Subot-7661c139.js} +0 -0
  262. /package/build/esm/{Visible-4bf23575.js → Visible-d824de49.js} +0 -0
  263. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-5c19ff7a.js → WEIGHT_BOYS.percentile.monthly-9c5b188e.js} +0 -0
  264. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-40f1aa7a.js → WEIGHT_BOYS.percentile.weekly-0fa721f6.js} +0 -0
  265. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-a9a0ec66.js → WEIGHT_BOYS.percentile.yearly-c8a70cab.js} +0 -0
  266. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-b2d0b5ed.js → WEIGHT_BOYS.zscore.monthly-21d3428e.js} +0 -0
  267. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-f47fffcf.js → WEIGHT_BOYS.zscore.weekly-4c58352b.js} +0 -0
  268. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-af5cff3d.js → WEIGHT_BOYS.zscore.yearly-d4dd6ebb.js} +0 -0
  269. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-b1cc3d94.js → WEIGHT_GIRLS.percentile.monthly-cd2ca8d6.js} +0 -0
  270. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-b1e28e33.js → WEIGHT_GIRLS.percentile.weekly-bd2e8484.js} +0 -0
  271. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f1363e13.js → WEIGHT_GIRLS.percentile.yearly-4079fc0b.js} +0 -0
  272. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-6f377056.js → WEIGHT_GIRLS.zscore.monthly-314c62fd.js} +0 -0
  273. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-7a819a2a.js → WEIGHT_GIRLS.zscore.weekly-b5e5c0f4.js} +0 -0
  274. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-74444860.js → WEIGHT_GIRLS.zscore.yearly-3ebbf40b.js} +0 -0
  275. /package/build/esm/{animation-7e12e0a4.js → animation-9a852d86.js} +0 -0
  276. /package/build/esm/{cookieHelper-d72c1c16.js → cookieHelper-fb2f4bf7.js} +0 -0
  277. /package/build/esm/{index-9962a4ae.js → index-11c2da20.js} +0 -0
  278. /package/build/esm/{index-358cd506.js → index-cf296b7d.js} +0 -0
  279. /package/build/esm/{index-dc56a048.js → index-f408e111.js} +0 -0
  280. /package/build/esm/{isProduction-6b6e5a81.js → isProduction-a14c0289.js} +0 -0
  281. /package/build/esm/{localizeNumberFormat-1245f676.js → localizeNumberFormat-7ad2018e.js} +0 -0
  282. /package/build/esm/{normalizeLink-41e77cc7.js → normalizeLink-b27ea7f7.js} +0 -0
  283. /package/build/esm/{number-bc91c47a.js → number-c4673157.js} +0 -0
  284. /package/build/esm/{paths-7c14e8ba.js → paths-24a48d7a.js} +0 -0
  285. /package/build/esm/{theme-9dbe697d.js → theme-b8e10c2e.js} +0 -0
  286. /package/build/esm/{translationsContext-1767db70.js → translationsContext-a710bd79.js} +0 -0
  287. /package/build/esm/{tslib.es6-16db9b9d.js → tslib.es6-2581561d.js} +0 -0
  288. /package/build/esm/{types-e4d6e9a0.js → types-d56b59d0.js} +0 -0
  289. /package/build/esm/{useIsInit-ac71b6dd.js → useIsInit-5759a12c.js} +0 -0
  290. /package/build/esm/{useOutsideClick-8106a9aa.js → useOutsideClick-0cd449b6.js} +0 -0
  291. /package/build/esm/{useScrollbarSize-c8d8a8ab.js → useScrollbarSize-9a2c88e8.js} +0 -0
  292. /package/build/esm/{useUniqueId-ef872d43.js → useUniqueId-4d87b935.js} +0 -0
  293. /package/build/esm/{utils-f360454d.js → utils-ad80dd9a.js} +0 -0
  294. /package/build/{index-83736819.js → index-306faebb.js} +0 -0
  295. /package/build/{index-2d45199a.js → index-5f30931a.js} +0 -0
  296. /package/build/{index-a0ab42d5.js → index-7aff6c39.js} +0 -0
  297. /package/build/{isProduction-2fea4aa7.js → isProduction-253f0a63.js} +0 -0
  298. /package/build/{localizeNumberFormat-4857ba64.js → localizeNumberFormat-691759ff.js} +0 -0
  299. /package/build/{normalizeLink-f6101122.js → normalizeLink-289e65d5.js} +0 -0
  300. /package/build/{number-ad95e7d9.js → number-97ef064d.js} +0 -0
  301. /package/build/{paths-7da7ad16.js → paths-a793ca70.js} +0 -0
  302. /package/build/{theme-ca8bb2dd.js → theme-3069f85a.js} +0 -0
  303. /package/build/{translationsContext-eb3b16d8.js → translationsContext-09f33cc8.js} +0 -0
  304. /package/build/{tslib.es6-6fa07404.js → tslib.es6-05775979.js} +0 -0
  305. /package/build/{types-d6abfadd.js → types-ab2e9e82.js} +0 -0
  306. /package/build/{useIsInit-2a90ae3a.js → useIsInit-91ab8916.js} +0 -0
  307. /package/build/{useOutsideClick-daecc08d.js → useOutsideClick-e32b8474.js} +0 -0
  308. /package/build/{useScrollbarSize-2d7f52a6.js → useScrollbarSize-3e2d19c9.js} +0 -0
  309. /package/build/{useUniqueId-3396b916.js → useUniqueId-3b22c3ca.js} +0 -0
  310. /package/build/{utils-64e577eb.js → utils-f7881466.js} +0 -0
@@ -1,48 +1,49 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var index$1 = require('./index-8e864883.js');
5
- require('./translationsContext-eb3b16d8.js');
4
+ var index$1 = require('./index-a84eedaa.js');
5
+ require('./translationsContext-09f33cc8.js');
6
6
  require('string-format');
7
- var utils = require('./utils-c2445e75.js');
8
- var tslib_es6 = require('./tslib.es6-6fa07404.js');
7
+ var utils = require('./utils-da97b7ae.js');
8
+ var tslib_es6 = require('./tslib.es6-05775979.js');
9
9
  var other = require('@hhgtech/icons/other');
10
10
  var core = require('@mantine/core');
11
- var index$c = require('./index-dd49ba18.js');
12
- var useTranslations = require('./useTranslations-a4c6b8f5.js');
11
+ var index$c = require('./index-d7aea2d0.js');
12
+ var useTranslations = require('./useTranslations-ee85619b.js');
13
13
  var innertext = require('innertext');
14
- var theme = require('./theme-ca8bb2dd.js');
15
- var index$8 = require('./index-3daa918b.js');
14
+ var theme = require('./theme-3069f85a.js');
15
+ var index$8 = require('./index-c194972d.js');
16
16
  require('@mantine/dates');
17
- var index$4 = require('./index-7e38d239.js');
18
- var Subot = require('./Subot-89c2bfe5.js');
19
- var index$9 = require('./index-38ecdf2c.js');
17
+ var index$4 = require('./index-958f67bb.js');
18
+ var Subot = require('./Subot-a11a4e5b.js');
19
+ var index$9 = require('./index-a79982f7.js');
20
20
  require('@mantine/hooks');
21
- var utils$1 = require('./utils-64e577eb.js');
22
- var index$7 = require('./index-faecc6fb.js');
23
- var index$6 = require('./index-8b1861d6.js');
24
- var index$b = require('./index-1ccc525b.js');
21
+ var utils$1 = require('./utils-f7881466.js');
22
+ var index$7 = require('./index-a511db2b.js');
23
+ var index$6 = require('./index-8c630d76.js');
24
+ var index$b = require('./index-76bb520c.js');
25
25
  var debounce = require('lodash/debounce');
26
26
  var ContentEditable = require('react-contenteditable');
27
27
  var core$1 = require('@hhgtech/icons/core');
28
- var index$5 = require('./index-fc485132.js');
29
- var index$2 = require('./index-1a6b3538.js');
30
- var cookieHelper = require('./cookieHelper-b3cb244a.js');
28
+ var index$5 = require('./index-a2785ada.js');
29
+ var index$2 = require('./index-a3d460fa.js');
30
+ var cookieHelper = require('./cookieHelper-115e3b7b.js');
31
31
  var ReactDOM = require('react-dom');
32
32
  var styled = require('styled-components');
33
- var index$3 = require('./index-bd2005e5.js');
34
- var number = require('./number-ad95e7d9.js');
33
+ var index$3 = require('./index-8d87268c.js');
34
+ var number = require('./number-97ef064d.js');
35
35
  var dateFns = require('date-fns');
36
36
  var dayjs = require('dayjs');
37
37
  var relativeTime = require('dayjs/plugin/relativeTime');
38
- var index$a = require('./index-36c874ce.js');
39
- var useUniqueId = require('./useUniqueId-3396b916.js');
40
- var index_styles = require('./index.styles-63c23f64.js');
41
- var routing = require('./routing-f4f6017a.js');
42
- require('./constants-40575d3d.js');
43
- require('./utils-6ccbb5ca.js');
44
- require('./index.styled-221f7a2a.js');
45
- require('./index-2d45199a.js');
38
+ var index$a = require('./index-e3b0bdb0.js');
39
+ var Close = require('./Close-b7a203d1.js');
40
+ var useUniqueId = require('./useUniqueId-3b22c3ca.js');
41
+ var index_styles = require('./index.styles-2705c1b1.js');
42
+ var routing = require('./routing-46b3def0.js');
43
+ require('./constants-3479888e.js');
44
+ require('./utils-d583cd84.js');
45
+ require('./index.styled-2ad9b370.js');
46
+ require('./index-5f30931a.js');
46
47
 
47
48
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
48
49
 
@@ -64,7 +65,7 @@ function _interopNamespace(e) {
64
65
  return Object.freeze(n);
65
66
  }
66
67
 
67
- var React__namespace = /*#__PURE__*/_interopNamespace(React);
68
+ var React__default = /*#__PURE__*/_interopDefault(React);
68
69
  var innertext__default = /*#__PURE__*/_interopDefault(innertext);
69
70
  var debounce__default = /*#__PURE__*/_interopDefault(debounce);
70
71
  var ContentEditable__default = /*#__PURE__*/_interopDefault(ContentEditable);
@@ -73,13 +74,9 @@ var styled__default = /*#__PURE__*/_interopDefault(styled);
73
74
  var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
74
75
  var relativeTime__default = /*#__PURE__*/_interopDefault(relativeTime);
75
76
 
76
- /* eslint-disable prettier/prettier */
77
- const Close = (props) => (React__namespace.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "currentColor" }, props),
78
- React__namespace.createElement("path", { d: "M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z" })));
79
-
80
77
  const TogetherAuthConfigContext = React.createContext({});
81
78
  const TogetherAuthConfigContextProvider = ({ children, defaultParams, }) => {
82
- return (React__namespace["default"].createElement(TogetherAuthConfigContext.Provider, { value: {
79
+ return (React__default["default"].createElement(TogetherAuthConfigContext.Provider, { value: {
83
80
  defaultParams,
84
81
  } }, children));
85
82
  };
@@ -234,26 +231,26 @@ const CardLink = ({ title, url, image, logo, className, style, noRefetch, }) =>
234
231
  .split(/[/?#]/);
235
232
  const domain = urlParts[0];
236
233
  const showDefaultRef = React.useRef(false);
237
- return (React__namespace["default"].createElement(StyledCardLink, { "data-is-marrybaby": isMarryBaby, className: `${className} no-replace-click`, style: style, color: _theme.colors[_theme.primaryColor][0] },
238
- React__namespace["default"].createElement("a", { href: displayUrl, target: "_blank", rel: "noreferrer" },
239
- displayImage && (React__namespace["default"].createElement("div", { className: "link-image-wrapper" },
240
- !isMarryBaby && (React__namespace["default"].createElement("img", { className: "link-image-blur", src: displayImage, onError: (e) => {
234
+ return (React__default["default"].createElement(StyledCardLink, { "data-is-marrybaby": isMarryBaby, className: `${className} no-replace-click`, style: style, color: _theme.colors[_theme.primaryColor][0] },
235
+ React__default["default"].createElement("a", { href: displayUrl, target: "_blank", rel: "noreferrer" },
236
+ displayImage && (React__default["default"].createElement("div", { className: "link-image-wrapper" },
237
+ !isMarryBaby && (React__default["default"].createElement("img", { className: "link-image-blur", src: displayImage, onError: (e) => {
241
238
  if (!showDefaultRef.current) {
242
239
  showDefaultRef.current = true;
243
240
  e.currentTarget.src = utils.DEFAULT_IMG;
244
241
  }
245
242
  }, loading: "lazy" })),
246
- React__namespace["default"].createElement("img", { className: "link-image", src: displayImage, onError: (e) => {
243
+ React__default["default"].createElement("img", { className: "link-image", src: displayImage, onError: (e) => {
247
244
  if (!showDefaultRef.current) {
248
245
  showDefaultRef.current = true;
249
246
  e.currentTarget.src = utils.DEFAULT_IMG;
250
247
  }
251
248
  }, loading: "lazy" }))),
252
- React__namespace["default"].createElement("div", { className: "link-info-container" },
253
- React__namespace["default"].createElement(index$1.Text, { size: "n1" },
254
- isMarryBaby && displayLogo && !hideLogo && (React__namespace["default"].createElement("img", { className: "link-logo", src: displayLogo, onError: () => setHideLogo(true), loading: "lazy" })),
249
+ React__default["default"].createElement("div", { className: "link-info-container" },
250
+ React__default["default"].createElement(index$1.Text, { size: "n1" },
251
+ isMarryBaby && displayLogo && !hideLogo && (React__default["default"].createElement("img", { className: "link-logo", src: displayLogo, onError: () => setHideLogo(true), loading: "lazy" })),
255
252
  domain),
256
- React__namespace["default"].createElement(index$2.Heading, { tag: "h6" }, displayTitle)))));
253
+ React__default["default"].createElement(index$2.Heading, { tag: "h6" }, displayTitle)))));
257
254
  };
258
255
 
259
256
  const CardReactionsContext = React.createContext({});
@@ -263,21 +260,21 @@ var styles$k = {"wrapper":"vvR-m49"};
263
260
  const LikeWrapper = (_a) => {
264
261
  var { children, className = '' } = _a, boxProps = tslib_es6.__rest(_a, ["children", "className"]);
265
262
  const { isReplied, trackingCategory, trackingLabel, onLikeClick } = React.useContext(CardReactionsContext);
266
- return (React__namespace["default"].createElement(core.Box, Object.assign({ className: `${styles$k.wrapper} ${className}`, "data-event-category": trackingCategory, "data-event-action": isReplied ? 'Like Comment Click' : 'Like Post Click', "data-event-label": trackingLabel }, boxProps, { onClick: () => {
263
+ return (React__default["default"].createElement(core.Box, Object.assign({ className: `${styles$k.wrapper} ${className}`, "data-event-category": trackingCategory, "data-event-action": isReplied ? 'Like Comment Click' : 'Like Post Click', "data-event-label": trackingLabel }, boxProps, { onClick: () => {
267
264
  onLikeClick === null || onLikeClick === void 0 ? void 0 : onLikeClick();
268
265
  } }), children));
269
266
  };
270
267
  const ShareWrapper = (_a) => {
271
268
  var { children, className = '' } = _a, boxProps = tslib_es6.__rest(_a, ["children", "className"]);
272
269
  const { trackingCategory, trackingLabel, onShareClick } = React.useContext(CardReactionsContext);
273
- return (React__namespace["default"].createElement(core.Box, Object.assign({ className: `${styles$k.wrapper} ${className}`, "data-event-category": trackingCategory, "data-event-action": "Share Icon Click", "data-event-label": trackingLabel }, boxProps, { onClick: () => {
270
+ return (React__default["default"].createElement(core.Box, Object.assign({ className: `${styles$k.wrapper} ${className}`, "data-event-category": trackingCategory, "data-event-action": "Share Icon Click", "data-event-label": trackingLabel }, boxProps, { onClick: () => {
274
271
  onShareClick === null || onShareClick === void 0 ? void 0 : onShareClick();
275
272
  } }), children));
276
273
  };
277
274
  const CommentWrapper = (_a) => {
278
275
  var { children, className = '' } = _a, boxProps = tslib_es6.__rest(_a, ["children", "className"]);
279
276
  const { isReplied, trackingCategory, trackingLabel, onCommentClick } = React.useContext(CardReactionsContext);
280
- return (React__namespace["default"].createElement(core.Box, Object.assign({ className: `${styles$k.wrapper} ${className}`, "data-event-category": trackingCategory, "data-event-action": isReplied ? 'Reply Comment Click' : 'Comment Text Click', "data-event-label": trackingLabel }, boxProps, { onClick: (e) => {
277
+ return (React__default["default"].createElement(core.Box, Object.assign({ className: `${styles$k.wrapper} ${className}`, "data-event-category": trackingCategory, "data-event-action": isReplied ? 'Reply Comment Click' : 'Comment Text Click', "data-event-label": trackingLabel }, boxProps, { onClick: (e) => {
281
278
  e.preventDefault();
282
279
  e.stopPropagation();
283
280
  onCommentClick === null || onCommentClick === void 0 ? void 0 : onCommentClick();
@@ -299,7 +296,7 @@ const CardReactions = (_a) => {
299
296
  : isMarryBabyEnv;
300
297
  const { t } = useTranslations.useTranslations();
301
298
  // /api/v1/auth/post?post_slug=test-post-title-3607&website_url={{website_url}}
302
- return (React__namespace["default"].createElement(CardReactionsContext.Provider, { value: {
299
+ return (React__default["default"].createElement(CardReactionsContext.Provider, { value: {
303
300
  liked,
304
301
  loveCount,
305
302
  trackingCategory,
@@ -308,27 +305,27 @@ const CardReactions = (_a) => {
308
305
  onLikeClick,
309
306
  onShareClick,
310
307
  onCommentClick,
311
- } }, children || (React__namespace["default"].createElement("div", Object.assign({ className: `${styles$j.wrapper} ${className}`, "data-show-most-engaging": showingMostEngaging, "data-type": type === CardReactionType.post ? 'post' : 'reply', "data-reply-padding": type === CardReactionType.reply && replyPadding, "data-is-marrybaby": isMarryBaby, style: style }, rest),
312
- React__namespace["default"].createElement("div", { className: styles$j.inner },
313
- React__namespace["default"].createElement("div", { className: styles$j.column },
314
- React__namespace["default"].createElement(LikeWrapper, { className: styles$j.clickableIcon },
315
- React__namespace["default"].createElement(index$1.Text, { className: styles$j.iconTxt, size: "p3", as: "div" },
316
- React__namespace["default"].createElement(other.Heart, { className: "txt-icon", isMarryBaby: isMarryBaby, isSolid: liked, color: liked
308
+ } }, children || (React__default["default"].createElement("div", Object.assign({ className: `${styles$j.wrapper} ${className}`, "data-show-most-engaging": showingMostEngaging, "data-type": type === CardReactionType.post ? 'post' : 'reply', "data-reply-padding": type === CardReactionType.reply && replyPadding, "data-is-marrybaby": isMarryBaby, style: style }, rest),
309
+ React__default["default"].createElement("div", { className: styles$j.inner },
310
+ React__default["default"].createElement("div", { className: styles$j.column },
311
+ React__default["default"].createElement(LikeWrapper, { className: styles$j.clickableIcon },
312
+ React__default["default"].createElement(index$1.Text, { className: styles$j.iconTxt, size: "p3", as: "div" },
313
+ React__default["default"].createElement(other.Heart, { className: "txt-icon", isMarryBaby: isMarryBaby, isSolid: liked, color: liked
317
314
  ? isMarryBaby
318
315
  ? theme.theme.mbColors.pink
319
316
  : theme.theme.colors.red800
320
317
  : '#737373' }),
321
- hasCountLike && (React__namespace["default"].createElement("div", { className: styles$j.count }, loveCount)))),
322
- hasShare && (React__namespace["default"].createElement(ShareWrapper, { className: styles$j.clickableIcon },
323
- React__namespace["default"].createElement(index$1.Text, { size: "p3", className: styles$j.iconTxt, as: "div" },
324
- React__namespace["default"].createElement(index$3.Icon.Share, { isMarryBaby: isMarryBaby })))),
325
- typeof viewCount !== 'undefined' && (React__namespace["default"].createElement(index$1.Text, { size: "p3", className: styles$j.iconTxt, as: "div" },
326
- React__namespace["default"].createElement(index$3.Icon.Eye, { isMarryBaby: isMarryBaby }),
327
- React__namespace["default"].createElement("div", { className: styles$j.count }, number.abbreviateNumber(viewCount))))),
328
- !hideCommentIcon && (React__namespace["default"].createElement(CommentWrapper, { className: styles$j.clickableIcon },
329
- React__namespace["default"].createElement(index$1.Text, { size: "p3", className: styles$j.iconTxt, as: "div" },
330
- isReplied ? (React__namespace["default"].createElement(other.Reply, { className: "txt-icon" })) : (React__namespace["default"].createElement(other.Comment, { className: "txt-icon", isMarryBaby: isMarryBaby })),
331
- isReplied ? (t('cardReactions.reply')) : (React__namespace["default"].createElement("div", { className: styles$j.count }, t('post.commentCount', {
318
+ hasCountLike && (React__default["default"].createElement("div", { className: styles$j.count }, loveCount)))),
319
+ hasShare && (React__default["default"].createElement(ShareWrapper, { className: styles$j.clickableIcon },
320
+ React__default["default"].createElement(index$1.Text, { size: "p3", className: styles$j.iconTxt, as: "div" },
321
+ React__default["default"].createElement(index$3.Icon.Share, { isMarryBaby: isMarryBaby })))),
322
+ typeof viewCount !== 'undefined' && (React__default["default"].createElement(index$1.Text, { size: "p3", className: styles$j.iconTxt, as: "div" },
323
+ React__default["default"].createElement(index$3.Icon.Eye, { isMarryBaby: isMarryBaby }),
324
+ React__default["default"].createElement("div", { className: styles$j.count }, number.abbreviateNumber(viewCount))))),
325
+ !hideCommentIcon && (React__default["default"].createElement(CommentWrapper, { className: styles$j.clickableIcon },
326
+ React__default["default"].createElement(index$1.Text, { size: "p3", className: styles$j.iconTxt, as: "div" },
327
+ isReplied ? (React__default["default"].createElement(other.Reply, { className: "txt-icon" })) : (React__default["default"].createElement(other.Comment, { className: "txt-icon", isMarryBaby: isMarryBaby })),
328
+ isReplied ? (t('cardReactions.reply')) : (React__default["default"].createElement("div", { className: styles$j.count }, t('post.commentCount', {
332
329
  count: replyCount,
333
330
  })))))))))));
334
331
  };
@@ -375,17 +372,17 @@ const TagTopic = (_a) => {
375
372
  });
376
373
  const { data: { env: { togetherBasePath }, }, action: { sanitizeFunction }, } = React.useContext(utils.TogetherComponentGlobalContext);
377
374
  const [showAll, setShowAll] = React.useState(!shortenedStyle);
378
- return (React__namespace["default"].createElement("div", Object.assign({ onClick: onClick, className: `${classes.wrapper} ${className}`, style: style }, rest),
375
+ return (React__default["default"].createElement("div", Object.assign({ onClick: onClick, className: `${classes.wrapper} ${className}`, style: style }, rest),
379
376
  (showAll ? topics : topics.slice(0, shortenedNumber)).map((topic, index) => {
380
377
  const isMonthTopic = (topic === null || topic === void 0 ? void 0 : topic.dueDateMonth) &&
381
378
  (topic === null || topic === void 0 ? void 0 : topic.dueDateMonth) !== 0 &&
382
379
  (topic === null || topic === void 0 ? void 0 : topic.dueDateYear) &&
383
380
  (topic === null || topic === void 0 ? void 0 : topic.dueDateYear) !== 0;
384
- return (React__namespace["default"].createElement("a", { className: classes.item, key: index, "data-event-category": trackingCategory, "data-event-action": "Topic in Post Click", "data-event-label": `${utils.getCurrentBaseUrl(locale)}${togetherBasePath}${topic.url}`, href: topic.isActive && !topic.isHidden
381
+ return (React__default["default"].createElement("a", { className: classes.item, key: index, "data-event-category": trackingCategory, "data-event-action": "Topic in Post Click", "data-event-label": `${utils.getCurrentBaseUrl(locale)}${togetherBasePath}${topic.url}`, href: topic.isActive && !topic.isHidden
385
382
  ? `${togetherBasePath}${topic.url}/`
386
383
  : undefined },
387
- React__namespace["default"].createElement(index$1.Text, { size: "p4" },
388
- React__namespace["default"].createElement("span", { style: Object.assign({}, (isMonthTopic && {
384
+ React__default["default"].createElement(index$1.Text, { size: "p4" },
385
+ React__default["default"].createElement("span", { style: Object.assign({}, (isMonthTopic && {
389
386
  textTransform: 'capitalize',
390
387
  })), dangerouslySetInnerHTML: {
391
388
  __html: isMonthTopic
@@ -395,11 +392,11 @@ const TagTopic = (_a) => {
395
392
  : (sanitizeFunction === null || sanitizeFunction === void 0 ? void 0 : sanitizeFunction(topic.name)) || topic.name,
396
393
  } }))));
397
394
  }),
398
- !showAll && topics.length > shortenedNumber && (React__namespace["default"].createElement("a", { className: classes.item, href: "#", onClick: (e) => {
395
+ !showAll && topics.length > shortenedNumber && (React__default["default"].createElement("a", { className: classes.item, href: "#", onClick: (e) => {
399
396
  e.preventDefault();
400
397
  setShowAll(true);
401
398
  } },
402
- React__namespace["default"].createElement(index$1.Text, { size: "p4" },
399
+ React__default["default"].createElement(index$1.Text, { size: "p4" },
403
400
  "+",
404
401
  t('tagTopic.moreTopics', {
405
402
  number: topics.length - shortenedNumber,
@@ -483,8 +480,8 @@ const StyledLabelSortPin = styled__default["default"].div `
483
480
 
484
481
  const LabelSortPin = ({ label, rightLabel, onClick, color, className, style, }) => {
485
482
  const { data: { env: { isMarryBaby }, }, } = React.useContext(utils.TogetherComponentGlobalContext);
486
- return (React__namespace["default"].createElement(StyledLabelSortPin, { "data-is-marrybaby": isMarryBaby, "data-color": color, onClick: onClick, className: className, style: style },
487
- React__namespace["default"].createElement(index$1.Text, { className: "label-sort-pin-heading", size: isMarryBaby ? 'p4' : 'p3', weight: "bold" }, label),
483
+ return (React__default["default"].createElement(StyledLabelSortPin, { "data-is-marrybaby": isMarryBaby, "data-color": color, onClick: onClick, className: className, style: style },
484
+ React__default["default"].createElement(index$1.Text, { className: "label-sort-pin-heading", size: isMarryBaby ? 'p4' : 'p3', weight: "bold" }, label),
488
485
  rightLabel));
489
486
  };
490
487
 
@@ -497,10 +494,10 @@ var IconPinYellow = img$G;
497
494
  const LabelPin = ({ onClick, color, className, style }) => {
498
495
  const { data: { env: { isMarryBaby }, }, } = React.useContext(utils.TogetherComponentGlobalContext);
499
496
  const { t } = useTranslations.useTranslations();
500
- return (React__namespace["default"].createElement(LabelSortPin, { label: React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
501
- isMarryBaby && (React__namespace["default"].createElement("img", { className: "label-sort-pin-icon", src: MBPinOrange, loading: "lazy" })),
497
+ return (React__default["default"].createElement(LabelSortPin, { label: React__default["default"].createElement(React__default["default"].Fragment, null,
498
+ isMarryBaby && (React__default["default"].createElement("img", { className: "label-sort-pin-icon", src: MBPinOrange, loading: "lazy" })),
502
499
  ' ',
503
- t('label.pinnedPost')), rightLabel: !isMarryBaby && (React__namespace["default"].createElement("img", { className: "label-sort-pin-icon", src: IconPinYellow, loading: "lazy" })), onClick: onClick, color: 'white' , className: `label-pinned ${className}`, style: style }));
500
+ t('label.pinnedPost')), rightLabel: !isMarryBaby && (React__default["default"].createElement("img", { className: "label-sort-pin-icon", src: IconPinYellow, loading: "lazy" })), onClick: onClick, color: 'white' , className: `label-pinned ${className}`, style: style }));
504
501
  };
505
502
 
506
503
  var img$F = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath stroke='%233E3F58' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m8 14 4 4 4-4M16 10l-4-4-4 4'/%3e%3c/svg%3e";
@@ -844,9 +841,9 @@ const PopoverMenu = ({ className, style, toggleButtonContent, position = 'bottom
844
841
  window.removeEventListener('click', clickHandler);
845
842
  };
846
843
  }, []);
847
- return (React__namespace["default"].createElement(StyledPopoverMenu, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
848
- React__namespace["default"].createElement(index$5.Button, Object.assign({ theme: isMarryBaby ? 'marryBaby' : 'helloSites', className: "popover-menu__btn", size: "md", color: "transparent", onClick: () => setIsShow((v) => !v) }, buttonProps), toggleButtonContent),
849
- isShow ? (React__namespace["default"].createElement("div", { ref: popoverContent, className: `popover-menu__content --position-${position} --align-${align}`, tabIndex: 0, onClick: (e) => e.stopPropagation() }, typeof children === 'function'
844
+ return (React__default["default"].createElement(StyledPopoverMenu, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
845
+ React__default["default"].createElement(index$5.Button, Object.assign({ theme: isMarryBaby ? 'marryBaby' : 'helloSites', className: "popover-menu__btn", size: "md", color: "transparent", onClick: () => setIsShow((v) => !v) }, buttonProps), toggleButtonContent),
846
+ isShow ? (React__default["default"].createElement("div", { ref: popoverContent, className: `popover-menu__content --position-${position} --align-${align}`, tabIndex: 0, onClick: (e) => e.stopPropagation() }, typeof children === 'function'
850
847
  ? children({
851
848
  setShow: setIsShow,
852
849
  })
@@ -864,7 +861,7 @@ var IconChevronRightDark = img$B;
864
861
 
865
862
  const TreePopoverMenu = (_a) => {
866
863
  var { data } = _a, popoverProps = tslib_es6.__rest(_a, ["data"]);
867
- return (React__namespace["default"].createElement(PopoverMenu, Object.assign({}, popoverProps), ({ setShow }) => React__namespace["default"].createElement(Tree, { data: data, setShow: setShow })));
864
+ return (React__default["default"].createElement(PopoverMenu, Object.assign({}, popoverProps), ({ setShow }) => React__default["default"].createElement(Tree, { data: data, setShow: setShow })));
868
865
  };
869
866
  const getCurrentDataFromPath = (data, path) => {
870
867
  const pathItems = path.split('.');
@@ -893,23 +890,23 @@ const Tree = ({ data, setShow }) => {
893
890
  else
894
891
  setPath((p) => p.split('.').concat(String(index)).join('.'));
895
892
  };
896
- return (React__namespace["default"].createElement(StyledTree, null,
897
- currentData.isShowheader ? (React__namespace["default"].createElement("div", { className: "__header" },
898
- path ? (React__namespace["default"].createElement("img", { className: "__back-btn", src: IconChevronLeftDark, onClick: () => setPath((p) => p.split('.').slice(0, -1).join('.')), loading: "lazy" })) : null,
899
- currentData.title ? (React__namespace["default"].createElement(index$2.Heading, { className: "__title", tag: "h6" }, currentData.title)) : null)) : null,
900
- currentData.description ? (React__namespace["default"].createElement(index$1.Text, { className: "tree-text-description", color: theme.theme.colors.gray600, size: "p3", weight: "regular" }, currentData.description)) : null,
901
- React__namespace["default"].createElement("div", { className: "__content" },
893
+ return (React__default["default"].createElement(StyledTree, null,
894
+ currentData.isShowheader ? (React__default["default"].createElement("div", { className: "__header" },
895
+ path ? (React__default["default"].createElement("img", { className: "__back-btn", src: IconChevronLeftDark, onClick: () => setPath((p) => p.split('.').slice(0, -1).join('.')), loading: "lazy" })) : null,
896
+ currentData.title ? (React__default["default"].createElement(index$2.Heading, { className: "__title", tag: "h6" }, currentData.title)) : null)) : null,
897
+ currentData.description ? (React__default["default"].createElement(index$1.Text, { className: "tree-text-description", color: theme.theme.colors.gray600, size: "p3", weight: "regular" }, currentData.description)) : null,
898
+ React__default["default"].createElement("div", { className: "__content" },
902
899
  currentData.type === 'jsx'
903
900
  ? (_a = currentData === null || currentData === void 0 ? void 0 : currentData.jsxRenderer) === null || _a === void 0 ? void 0 : _a.call(currentData, setShow)
904
901
  : null,
905
- currentData.type === 'list' ? (React__namespace["default"].createElement("ul", { className: "__list" }, Array.isArray(currentData.list)
906
- ? currentData.list.map((item, index) => (React__namespace["default"].createElement("li", { key: index, style: item.style, className: `__item ${item.className}` },
902
+ currentData.type === 'list' ? (React__default["default"].createElement("ul", { className: "__list" }, Array.isArray(currentData.list)
903
+ ? currentData.list.map((item, index) => (React__default["default"].createElement("li", { key: index, style: item.style, className: `__item ${item.className}` },
907
904
  ' ',
908
- React__namespace["default"].createElement("div", { className: `__btn ${item.selected ? '--checked' : ''}`, onClick: () => handleItemClick(index, item), "data-event-category": item.dataEventCategory, "data-event-action": item.dataEventAction, "data-event-label": item.dataEventLabel },
909
- item.icon && (React__namespace["default"].createElement("img", { className: "__icon", src: item.icon, loading: "lazy" })),
910
- React__namespace["default"].createElement("span", null, item.label)),
911
- item.subTree ? (React__namespace["default"].createElement("img", { className: "__toggle", src: IconChevronRightDark, loading: "lazy" })) : null,
912
- item.selected ? (React__namespace["default"].createElement("img", { className: "__toggle", src: IconCheckGray, loading: "lazy" })) : null)))
905
+ React__default["default"].createElement("div", { className: `__btn ${item.selected ? '--checked' : ''}`, onClick: () => handleItemClick(index, item), "data-event-category": item.dataEventCategory, "data-event-action": item.dataEventAction, "data-event-label": item.dataEventLabel },
906
+ item.icon && (React__default["default"].createElement("img", { className: "__icon", src: item.icon, loading: "lazy" })),
907
+ React__default["default"].createElement("span", null, item.label)),
908
+ item.subTree ? (React__default["default"].createElement("img", { className: "__toggle", src: IconChevronRightDark, loading: "lazy" })) : null,
909
+ item.selected ? (React__default["default"].createElement("img", { className: "__toggle", src: IconCheckGray, loading: "lazy" })) : null)))
913
910
  : null)) : null)));
914
911
  };
915
912
 
@@ -921,7 +918,7 @@ var LabelSortingValue;
921
918
  })(LabelSortingValue || (LabelSortingValue = {}));
922
919
  const LabelSorting = ({ onChange, className, style, leftLabel, rightLabel, color, value, choices, }) => {
923
920
  const { data: { env: { isMarryBaby }, }, } = React.useContext(utils.TogetherComponentGlobalContext);
924
- return (React__namespace["default"].createElement(LabelSortPin, { label: leftLabel, rightLabel: React__namespace["default"].createElement(TreePopoverMenu, { position: "bottom", align: "end", data: {
921
+ return (React__default["default"].createElement(LabelSortPin, { label: leftLabel, rightLabel: React__default["default"].createElement(TreePopoverMenu, { position: "bottom", align: "end", data: {
925
922
  isShowheader: false,
926
923
  type: 'list',
927
924
  list: choices.map((c) => ({
@@ -930,16 +927,16 @@ const LabelSorting = ({ onChange, className, style, leftLabel, rightLabel, color
930
927
  selected: c.value === value,
931
928
  className: 'bold-item',
932
929
  })),
933
- }, toggleButtonContent: React__namespace["default"].createElement("div", { style: {
930
+ }, toggleButtonContent: React__default["default"].createElement("div", { style: {
934
931
  display: 'flex',
935
932
  } },
936
- React__namespace["default"].createElement(index$1.Text, { style: {
933
+ React__default["default"].createElement(index$1.Text, { style: {
937
934
  display: 'flex',
938
935
  alignItems: 'center',
939
936
  fontWeight: 'normal',
940
937
  marginRight: 12,
941
938
  }, size: "p4" }, rightLabel),
942
- React__namespace["default"].createElement("img", { src: isMarryBaby ? MBSortBy : IconSortArrow, style: {
939
+ React__default["default"].createElement("img", { src: isMarryBaby ? MBSortBy : IconSortArrow, style: {
943
940
  width: 16,
944
941
  height: 16,
945
942
  alignSelf: 'center',
@@ -949,38 +946,38 @@ const LabelSorting = ({ onChange, className, style, leftLabel, rightLabel, color
949
946
  var styles$i = {"row":"dZWeHns","flex":"_8z2nszB","mainTxt":"tMiOKib","subTxt":"uDcqD-2","subTxtRow":"pDlsows","subDivider":"m-HVXw1"};
950
947
 
951
948
  const MainText = ({ children, className = '' }) => {
952
- return React__namespace["default"].createElement("div", { className: `${styles$i.mainTxt} ${className}` }, children);
949
+ return React__default["default"].createElement("div", { className: `${styles$i.mainTxt} ${className}` }, children);
953
950
  };
954
951
  const SubText = ({ children, className = '' }) => {
955
- return React__namespace["default"].createElement("div", { className: `${styles$i.subTxt} ${className}` }, children);
952
+ return React__default["default"].createElement("div", { className: `${styles$i.subTxt} ${className}` }, children);
956
953
  };
957
954
  const SubTextRow = (_a) => {
958
955
  var { children, className = '' } = _a, rest = tslib_es6.__rest(_a, ["children", "className"]);
959
- return (React__namespace["default"].createElement("div", Object.assign({ className: `${styles$i.subTxtRow} ${className}` }, rest), children));
956
+ return (React__default["default"].createElement("div", Object.assign({ className: `${styles$i.subTxtRow} ${className}` }, rest), children));
960
957
  };
961
958
  const SubDivider = ({ className = '' }) => {
962
- return React__namespace["default"].createElement("span", { className: `${styles$i.subDivider} ${className}` });
959
+ return React__default["default"].createElement("span", { className: `${styles$i.subDivider} ${className}` });
963
960
  };
964
961
  const Row = ({ children, className = '' }) => {
965
- return React__namespace["default"].createElement("div", { className: `${styles$i.row} ${className} row` }, children);
962
+ return React__default["default"].createElement("div", { className: `${styles$i.row} ${className} row` }, children);
966
963
  };
967
964
  const ColLeft = ({ children, className = '' }) => {
968
- return React__namespace["default"].createElement("div", { className: `${className} col-left` }, children);
965
+ return React__default["default"].createElement("div", { className: `${className} col-left` }, children);
969
966
  };
970
967
  const ColRight = ({ children, className = '' }) => {
971
- return React__namespace["default"].createElement("div", { className: `${className} col-right` }, children);
968
+ return React__default["default"].createElement("div", { className: `${className} col-right` }, children);
972
969
  };
973
970
 
974
971
  var styles$h = {"container":"sTU4T4I","info":"tCql9Je","avatarWrapper":"_3j7uYhH","avatarIcon":"PHABgoT"};
975
972
 
976
973
  const CardAuthor$1 = ({ avatarProps, title, subTitle, children, className = '', style, onAvatarClick, avatarIcon, dataEventCategory, dataEventAction, dataEventLabel, }) => {
977
- return (React__namespace["default"].createElement("div", { className: `${styles$h.container} ${className}`, style: style },
978
- React__namespace["default"].createElement("div", { className: styles$h.avatarWrapper, onClick: onAvatarClick, "data-event-category": dataEventCategory, "data-event-action": dataEventAction, "data-event-label": dataEventLabel },
979
- React__namespace["default"].createElement(index$6.UserAvatar, Object.assign({}, avatarProps)),
980
- avatarIcon && React__namespace["default"].createElement("div", { className: styles$h.avatarIcon }, avatarIcon)),
981
- React__namespace["default"].createElement("div", { className: `${styles$h.info} ${className}`, style: { minHeight: `${(avatarProps === null || avatarProps === void 0 ? void 0 : avatarProps.size) || 40}px` } }, children || (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
982
- title && React__namespace["default"].createElement(MainText, null, title),
983
- subTitle && React__namespace["default"].createElement(SubText, null, subTitle))))));
974
+ return (React__default["default"].createElement("div", { className: `${styles$h.container} ${className}`, style: style },
975
+ React__default["default"].createElement("div", { className: styles$h.avatarWrapper, onClick: onAvatarClick, "data-event-category": dataEventCategory, "data-event-action": dataEventAction, "data-event-label": dataEventLabel },
976
+ React__default["default"].createElement(index$6.UserAvatar, Object.assign({}, avatarProps)),
977
+ avatarIcon && React__default["default"].createElement("div", { className: styles$h.avatarIcon }, avatarIcon)),
978
+ React__default["default"].createElement("div", { className: `${styles$h.info} ${className}`, style: { minHeight: `${(avatarProps === null || avatarProps === void 0 ? void 0 : avatarProps.size) || 40}px` } }, children || (React__default["default"].createElement(React__default["default"].Fragment, null,
979
+ title && React__default["default"].createElement(MainText, null, title),
980
+ subTitle && React__default["default"].createElement(SubText, null, subTitle))))));
984
981
  };
985
982
  CardAuthor$1.MainText = MainText;
986
983
  CardAuthor$1.SubText = SubText;
@@ -1007,12 +1004,12 @@ const AuthorBadgeItem = ({ styles, className, classNames, }) => {
1007
1004
  styles,
1008
1005
  classNames,
1009
1006
  });
1010
- return role ? (React__namespace["default"].createElement(index$7.AuthorBadge, { className: cx(classes.root, className), siteType: siteType, role: role, title: title })) : null;
1007
+ return role ? (React__default["default"].createElement(index$7.AuthorBadge, { className: cx(classes.root, className), siteType: siteType, role: role, title: title })) : null;
1011
1008
  };
1012
1009
 
1013
1010
  const DisplayName = () => {
1014
1011
  const { displayName } = React.useContext(CardAuthorContext);
1015
- return React__namespace["default"].createElement(core.Box, null, displayName);
1012
+ return React__default["default"].createElement(core.Box, null, displayName);
1016
1013
  };
1017
1014
 
1018
1015
  var useStyles$1 = core.createStyles(() => {
@@ -1222,8 +1219,8 @@ styled__default["default"].div `
1222
1219
 
1223
1220
  const Loading$1 = ({ className, size = 'md' }) => {
1224
1221
  const { t } = useTranslations.useTranslations();
1225
- return (React__namespace["default"].createElement(StyledLoading, { className: className },
1226
- React__namespace["default"].createElement(index$5.Button, { size: size, color: "transparent", isLoading: true }, t('loading'))));
1222
+ return (React__default["default"].createElement(StyledLoading, { className: className },
1223
+ React__default["default"].createElement(index$5.Button, { size: size, color: "transparent", isLoading: true }, t('loading'))));
1227
1224
  };
1228
1225
 
1229
1226
  const PopupDoctor = ({ isOpen = true, onClose, enableAnimation = true, doctorId, locale, isMobile, overwriteProfileProps, avatarFallback = index$9.CommonGAssets.getAssetPath('avatar.jpg'), trackingCategory = 'Together', }) => {
@@ -1273,62 +1270,62 @@ const PopupDoctor = ({ isOpen = true, onClose, enableAnimation = true, doctorId,
1273
1270
  return experience;
1274
1271
  return '';
1275
1272
  };
1276
- return (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
1277
- React__namespace["default"].createElement(StyledPopup$2, { "data-open": isOpen, "data-animation": enableAnimation, onClick: (e) => e.stopPropagation() }, isLoading || !doctorInfo ? (React__namespace["default"].createElement(Loading$1, null)) : (React__namespace["default"].createElement("div", { className: "popup-content" },
1278
- React__namespace["default"].createElement("div", { className: "close-button", onClick: onClose },
1279
- React__namespace["default"].createElement("img", { src: CloseLight, style: { width: 20, height: 20 }, alt: "close-icon", loading: "lazy" })),
1280
- React__namespace["default"].createElement("div", { className: "main-info" },
1281
- React__namespace["default"].createElement("div", { className: "border-banner" }),
1282
- React__namespace["default"].createElement("div", { className: "avatar-title" },
1283
- React__namespace["default"].createElement(StyledProfileImage$2, null,
1284
- React__namespace["default"].createElement("div", { className: "image-container" },
1285
- React__namespace["default"].createElement("div", { style: { position: 'relative' } },
1286
- React__namespace["default"].createElement(index$8.ImageWrap, { src: doctorInfo === null || doctorInfo === void 0 ? void 0 : doctorInfo.avatar, backupSrc: avatarFallback, className: "profile-image", alt: "avatar" }),
1287
- React__namespace["default"].createElement("img", { className: "badge-avatar", src: ReviewerMedical, alt: "badge", loading: "lazy" })))),
1288
- React__namespace["default"].createElement(StyledTitleContainer$2, null,
1289
- React__namespace["default"].createElement(index$1.Text, { size: "s3", weight: "semiBold", className: "full-name" }, doctorInfo === null || doctorInfo === void 0 ? void 0 : doctorInfo.name),
1290
- React__namespace["default"].createElement("div", { className: "specialty" },
1291
- specialtiesList && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
1292
- React__namespace["default"].createElement(index$1.Text, { size: "p4", color: theme.theme.colors.gray800 },
1273
+ return (React__default["default"].createElement(React__default["default"].Fragment, null,
1274
+ React__default["default"].createElement(StyledPopup$2, { "data-open": isOpen, "data-animation": enableAnimation, onClick: (e) => e.stopPropagation() }, isLoading || !doctorInfo ? (React__default["default"].createElement(Loading$1, null)) : (React__default["default"].createElement("div", { className: "popup-content" },
1275
+ React__default["default"].createElement("div", { className: "close-button", onClick: onClose },
1276
+ React__default["default"].createElement("img", { src: CloseLight, style: { width: 20, height: 20 }, alt: "close-icon", loading: "lazy" })),
1277
+ React__default["default"].createElement("div", { className: "main-info" },
1278
+ React__default["default"].createElement("div", { className: "border-banner" }),
1279
+ React__default["default"].createElement("div", { className: "avatar-title" },
1280
+ React__default["default"].createElement(StyledProfileImage$2, null,
1281
+ React__default["default"].createElement("div", { className: "image-container" },
1282
+ React__default["default"].createElement("div", { style: { position: 'relative' } },
1283
+ React__default["default"].createElement(index$8.ImageWrap, { src: doctorInfo === null || doctorInfo === void 0 ? void 0 : doctorInfo.avatar, backupSrc: avatarFallback, className: "profile-image", alt: "avatar" }),
1284
+ React__default["default"].createElement("img", { className: "badge-avatar", src: ReviewerMedical, alt: "badge", loading: "lazy" })))),
1285
+ React__default["default"].createElement(StyledTitleContainer$2, null,
1286
+ React__default["default"].createElement(index$1.Text, { size: "s3", weight: "semiBold", className: "full-name" }, doctorInfo === null || doctorInfo === void 0 ? void 0 : doctorInfo.name),
1287
+ React__default["default"].createElement("div", { className: "specialty" },
1288
+ specialtiesList && (React__default["default"].createElement(React__default["default"].Fragment, null,
1289
+ React__default["default"].createElement(index$1.Text, { size: "p4", color: theme.theme.colors.gray800 },
1293
1290
  specialtiesList,
1294
1291
  ' • '))),
1295
- React__namespace["default"].createElement("a", { href: utils.getCareHospitalUrl({
1292
+ React__default["default"].createElement("a", { href: utils.getCareHospitalUrl({
1296
1293
  id: (_a = doctorInfo === null || doctorInfo === void 0 ? void 0 : doctorInfo.organization) === null || _a === void 0 ? void 0 : _a.id,
1297
1294
  name: (_b = doctorInfo === null || doctorInfo === void 0 ? void 0 : doctorInfo.organization) === null || _b === void 0 ? void 0 : _b.name,
1298
1295
  slug: (_c = doctorInfo === null || doctorInfo === void 0 ? void 0 : doctorInfo.organization) === null || _c === void 0 ? void 0 : _c.slug,
1299
1296
  locale,
1300
1297
  }), className: "organisation", target: "_blank", rel: "noreferrer" },
1301
- React__namespace["default"].createElement(index$1.Text, { size: "p4", className: "organisation", color: theme.theme.colors.gray800, style: { textDecoration: 'underline' } }, doctorInfo === null || doctorInfo === void 0 ? void 0 : doctorInfo.organization.name))))),
1302
- !isMobile && (React__namespace["default"].createElement("div", { className: "btn-wrapper" },
1303
- React__namespace["default"].createElement("a", { href: utils.getCareDoctorUrl({
1298
+ React__default["default"].createElement(index$1.Text, { size: "p4", className: "organisation", color: theme.theme.colors.gray800, style: { textDecoration: 'underline' } }, doctorInfo === null || doctorInfo === void 0 ? void 0 : doctorInfo.organization.name))))),
1299
+ !isMobile && (React__default["default"].createElement("div", { className: "btn-wrapper" },
1300
+ React__default["default"].createElement("a", { href: utils.getCareDoctorUrl({
1304
1301
  name: doctorInfo.name,
1305
1302
  id: doctorInfo.id,
1306
1303
  locale: locale,
1307
1304
  }) },
1308
- React__namespace["default"].createElement(index$5.Button, { color: "primary", size: "md", className: "btn-booking" }, t('careBooking.bookAnAppointment')))))),
1309
- formattedExperiences && (React__namespace["default"].createElement(StyledTitleContainer$2, null,
1310
- React__namespace["default"].createElement("div", { className: "experience" },
1311
- React__namespace["default"].createElement(index$1.Text, { weight: "bold", size: "s3", color: theme.theme.colors.gray800, style: { paddingBottom: 16 } }, t('expert.content.description').toUpperCase()),
1312
- React__namespace["default"].createElement(StyledExperienceList, null, formattedExperiences.map((experience, i) => (React__namespace["default"].createElement("li", { key: i },
1313
- React__namespace["default"].createElement(index$1.Text, { size: "p2" }, renderExperienceText(experience)))))),
1314
- isMobile ? (React__namespace["default"].createElement("div", { className: "btn-wrapper" },
1315
- React__namespace["default"].createElement("a", { href: utils.getCareDoctorUrl({
1305
+ React__default["default"].createElement(index$5.Button, { color: "primary", size: "md", className: "btn-booking" }, t('careBooking.bookAnAppointment')))))),
1306
+ formattedExperiences && (React__default["default"].createElement(StyledTitleContainer$2, null,
1307
+ React__default["default"].createElement("div", { className: "experience" },
1308
+ React__default["default"].createElement(index$1.Text, { weight: "bold", size: "s3", color: theme.theme.colors.gray800, style: { paddingBottom: 16 } }, t('expert.content.description').toUpperCase()),
1309
+ React__default["default"].createElement(StyledExperienceList, null, formattedExperiences.map((experience, i) => (React__default["default"].createElement("li", { key: i },
1310
+ React__default["default"].createElement(index$1.Text, { size: "p2" }, renderExperienceText(experience)))))),
1311
+ isMobile ? (React__default["default"].createElement("div", { className: "btn-wrapper" },
1312
+ React__default["default"].createElement("a", { href: utils.getCareDoctorUrl({
1316
1313
  name: doctorInfo.name,
1317
1314
  id: doctorInfo.id,
1318
1315
  locale: locale,
1319
1316
  }) },
1320
- React__namespace["default"].createElement(index$5.Button, { color: "primary", size: "md", className: "btn-booking" }, t('careBooking.bookAnAppointment'))))) : (React__namespace["default"].createElement("a", { href: utils.getCareDoctorUrl({
1317
+ React__default["default"].createElement(index$5.Button, { color: "primary", size: "md", className: "btn-booking" }, t('careBooking.bookAnAppointment'))))) : (React__default["default"].createElement("a", { href: utils.getCareDoctorUrl({
1321
1318
  name: doctorInfo.name,
1322
1319
  id: doctorInfo.id,
1323
1320
  locale: locale,
1324
1321
  }) },
1325
- React__namespace["default"].createElement(index$1.Text, { size: "s4", color: "#2D87F3", style: { paddingTop: 24 }, "data-event-category": trackingCategory, "data-event-action": "See Full Doctor Profile", "data-event-label": utils.getCurrentBaseUrl(locale) +
1322
+ React__default["default"].createElement(index$1.Text, { size: "s4", color: "#2D87F3", style: { paddingTop: 24 }, "data-event-category": trackingCategory, "data-event-action": "See Full Doctor Profile", "data-event-label": utils.getCurrentBaseUrl(locale) +
1326
1323
  utils.getCareDoctorUrl({
1327
1324
  name: doctorInfo.name,
1328
1325
  id: doctorInfo.id,
1329
1326
  locale: locale,
1330
1327
  }) }, t('home.seeExpert')))))))))),
1331
- React__namespace["default"].createElement(StyledPopupWrapper$2, { "data-open": isOpen, onClick: (e) => {
1328
+ React__default["default"].createElement(StyledPopupWrapper$2, { "data-open": isOpen, onClick: (e) => {
1332
1329
  e.stopPropagation();
1333
1330
  onClose();
1334
1331
  } })));
@@ -1529,42 +1526,42 @@ const PopupExpert = ({ trackingCategory = 'Together', locale, isOpen = true, onC
1529
1526
  setIsLoading(false);
1530
1527
  }
1531
1528
  }, [isOpen, expertId, expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.user_id]);
1532
- return (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
1533
- React__namespace["default"].createElement(StyledPopup$1, { "data-open": isOpen, "data-animation": enableAnimation, onClick: (e) => e.stopPropagation() }, isLoading || !expertInfo ? (React__namespace["default"].createElement(Loading$1, null)) : (React__namespace["default"].createElement("div", { className: "popup-content" },
1534
- React__namespace["default"].createElement("div", { className: "close-button", onClick: onClose },
1535
- React__namespace["default"].createElement("img", { src: CloseLight, style: { width: 20, height: 20 }, alt: "close-icon", loading: "lazy" })),
1536
- React__namespace["default"].createElement("div", { className: "main-info" },
1537
- React__namespace["default"].createElement("div", { className: "border-banner" }),
1538
- React__namespace["default"].createElement("div", { className: "avatar-title" },
1539
- React__namespace["default"].createElement(StyledProfileImage$1, null,
1540
- React__namespace["default"].createElement("div", { className: "image-container" },
1541
- React__namespace["default"].createElement("div", { style: { position: 'relative' } },
1542
- React__namespace["default"].createElement(index$8.ImageWrap, { src: expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.avatar, className: "profile-image", alt: "avatar", backupSrc: avatarFallback }),
1543
- React__namespace["default"].createElement("img", { className: "badge-avatar", src: ReviewerIconMap[expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.role], alt: "badge", loading: "lazy" })))),
1544
- React__namespace["default"].createElement(StyledTitleContainer$1, null,
1545
- React__namespace["default"].createElement(index$1.Text, { size: "s3", className: "full-name", weight: "semiBold" }, expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.display_name),
1546
- React__namespace["default"].createElement("div", null,
1547
- React__namespace["default"].createElement(index$1.Text, { size: "p4", color: theme.theme.colors.gray800 }, expertInfo === null || expertInfo === void 0 ? void 0 :
1529
+ return (React__default["default"].createElement(React__default["default"].Fragment, null,
1530
+ React__default["default"].createElement(StyledPopup$1, { "data-open": isOpen, "data-animation": enableAnimation, onClick: (e) => e.stopPropagation() }, isLoading || !expertInfo ? (React__default["default"].createElement(Loading$1, null)) : (React__default["default"].createElement("div", { className: "popup-content" },
1531
+ React__default["default"].createElement("div", { className: "close-button", onClick: onClose },
1532
+ React__default["default"].createElement("img", { src: CloseLight, style: { width: 20, height: 20 }, alt: "close-icon", loading: "lazy" })),
1533
+ React__default["default"].createElement("div", { className: "main-info" },
1534
+ React__default["default"].createElement("div", { className: "border-banner" }),
1535
+ React__default["default"].createElement("div", { className: "avatar-title" },
1536
+ React__default["default"].createElement(StyledProfileImage$1, null,
1537
+ React__default["default"].createElement("div", { className: "image-container" },
1538
+ React__default["default"].createElement("div", { style: { position: 'relative' } },
1539
+ React__default["default"].createElement(index$8.ImageWrap, { src: expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.avatar, className: "profile-image", alt: "avatar", backupSrc: avatarFallback }),
1540
+ React__default["default"].createElement("img", { className: "badge-avatar", src: ReviewerIconMap[expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.role], alt: "badge", loading: "lazy" })))),
1541
+ React__default["default"].createElement(StyledTitleContainer$1, null,
1542
+ React__default["default"].createElement(index$1.Text, { size: "s3", className: "full-name", weight: "semiBold" }, expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.display_name),
1543
+ React__default["default"].createElement("div", null,
1544
+ React__default["default"].createElement(index$1.Text, { size: "p4", color: theme.theme.colors.gray800 }, expertInfo === null || expertInfo === void 0 ? void 0 :
1548
1545
  expertInfo.specialty,
1549
1546
  ' • '),
1550
- React__namespace["default"].createElement("a", { href: expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.organisation_url, className: "organisation", target: "_blank", rel: "noreferrer" },
1551
- React__namespace["default"].createElement(index$1.Text, { size: "p4", className: "organisation", color: theme.theme.colors.gray800, style: { textDecoration: 'underline' } }, expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.organisation)))))),
1552
- React__namespace["default"].createElement(StyledTitleContainer$1, null,
1553
- React__namespace["default"].createElement("div", { className: "experience" },
1554
- React__namespace["default"].createElement(index$1.Text, { weight: "bold", size: "p4", color: theme.theme.colors.gray800, style: { paddingBottom: 16 } }, t('expert.content.description').toUpperCase()),
1555
- React__namespace["default"].createElement("div", { className: "list-items" }, (expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.experiences)
1547
+ React__default["default"].createElement("a", { href: expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.organisation_url, className: "organisation", target: "_blank", rel: "noreferrer" },
1548
+ React__default["default"].createElement(index$1.Text, { size: "p4", className: "organisation", color: theme.theme.colors.gray800, style: { textDecoration: 'underline' } }, expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.organisation)))))),
1549
+ React__default["default"].createElement(StyledTitleContainer$1, null,
1550
+ React__default["default"].createElement("div", { className: "experience" },
1551
+ React__default["default"].createElement(index$1.Text, { weight: "bold", size: "p4", color: theme.theme.colors.gray800, style: { paddingBottom: 16 } }, t('expert.content.description').toUpperCase()),
1552
+ React__default["default"].createElement("div", { className: "list-items" }, (expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.experiences)
1556
1553
  ? expertInfo.experiences
1557
1554
  .filter((e) => !!(e && (e.title || e.organization)))
1558
1555
  .slice(0, 3)
1559
- .map((experience, index) => (React__namespace["default"].createElement(StyledItem$2, { key: index },
1560
- React__namespace["default"].createElement("img", { className: "bullet-point", src: BulletPoint, alt: "point", loading: "lazy" }),
1561
- React__namespace["default"].createElement("div", { className: "text-contain" },
1562
- React__namespace["default"].createElement(index$2.Heading, { tag: "h6", color: theme.theme.colors.gray800 }, experience === null || experience === void 0 ? void 0 : experience.title),
1563
- React__namespace["default"].createElement(index$1.Text, { size: "p2", color: theme.theme.colors.gray500 }, experience === null || experience === void 0 ? void 0 : experience.organization)))))
1556
+ .map((experience, index) => (React__default["default"].createElement(StyledItem$2, { key: index },
1557
+ React__default["default"].createElement("img", { className: "bullet-point", src: BulletPoint, alt: "point", loading: "lazy" }),
1558
+ React__default["default"].createElement("div", { className: "text-contain" },
1559
+ React__default["default"].createElement(index$2.Heading, { tag: "h6", color: theme.theme.colors.gray800 }, experience === null || experience === void 0 ? void 0 : experience.title),
1560
+ React__default["default"].createElement(index$1.Text, { size: "p2", color: theme.theme.colors.gray500 }, experience === null || experience === void 0 ? void 0 : experience.organization)))))
1564
1561
  : false),
1565
- React__namespace["default"].createElement("a", { href: expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.profile_url, style: { display: 'inline-block', paddingTop: 24 } },
1566
- React__namespace["default"].createElement(index$1.Text, { as: "span", size: "s4", color: "#2D87F3", "data-event-category": trackingCategory, "data-event-action": "See Full Doctor Profile", "data-event-label": utils.getCurrentBaseUrl(locale) + (expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.profile_url) }, t('home.seeExpert')))))))),
1567
- React__namespace["default"].createElement(StyledPopupWrapper$1, { "data-open": isOpen, onClick: (e) => {
1562
+ React__default["default"].createElement("a", { href: expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.profile_url, style: { display: 'inline-block', paddingTop: 24 } },
1563
+ React__default["default"].createElement(index$1.Text, { as: "span", size: "s4", color: "#2D87F3", "data-event-category": trackingCategory, "data-event-action": "See Full Doctor Profile", "data-event-label": utils.getCurrentBaseUrl(locale) + (expertInfo === null || expertInfo === void 0 ? void 0 : expertInfo.profile_url) }, t('home.seeExpert')))))))),
1564
+ React__default["default"].createElement(StyledPopupWrapper$1, { "data-open": isOpen, onClick: (e) => {
1568
1565
  e.stopPropagation();
1569
1566
  onClose();
1570
1567
  } })));
@@ -1738,64 +1735,64 @@ const PopupHospital = ({ isOpen = true, onClose, enableAnimation = true, hospita
1738
1735
  }, [isOpen, hospitalId, hospitalInfo === null || hospitalInfo === void 0 ? void 0 : hospitalInfo.id]);
1739
1736
  const specialties = (hospitalInfo === null || hospitalInfo === void 0 ? void 0 : hospitalInfo.specialties) || [];
1740
1737
  const formatSpecialties = React.useMemo(() => specialties.map((specialty) => specialty.name), [specialties]);
1741
- return (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
1742
- React__namespace["default"].createElement(StyledPopup, { "data-open": isOpen, "data-animation": enableAnimation, onClick: (e) => e.stopPropagation() }, isLoading || !hospitalInfo ? (React__namespace["default"].createElement(Loading$1, null)) : (React__namespace["default"].createElement("div", { className: "popup-content" },
1743
- React__namespace["default"].createElement("div", { className: "close-button", onClick: onClose },
1744
- React__namespace["default"].createElement("img", { src: CloseLight, style: { width: 20, height: 20 }, alt: "close-icon", loading: "lazy" })),
1745
- React__namespace["default"].createElement("div", { className: "main-info" },
1746
- React__namespace["default"].createElement("div", { className: "border-banner" }),
1747
- React__namespace["default"].createElement("div", { className: "avatar-title" },
1748
- React__namespace["default"].createElement(StyledProfileImage, null,
1749
- React__namespace["default"].createElement("div", { className: "image-container" },
1750
- React__namespace["default"].createElement("div", { style: { position: 'relative' } },
1751
- React__namespace["default"].createElement(index$8.ImageWrap, { src: hospitalInfo === null || hospitalInfo === void 0 ? void 0 : hospitalInfo.logo, className: "profile-image", alt: "avatar", backupSrc: avatarFallback }),
1752
- React__namespace["default"].createElement("img", { className: "badge-avatar", src: ReviewerMedical, alt: "badge", loading: "lazy" })))),
1753
- React__namespace["default"].createElement(StyledTitleContainer, null,
1754
- React__namespace["default"].createElement(index$1.Text, { size: "s3", weight: "semiBold", className: "full-name" }, hospitalInfo === null || hospitalInfo === void 0 ? void 0 : hospitalInfo.name),
1755
- React__namespace["default"].createElement("div", { className: "specialty" },
1756
- specialties && (React__namespace["default"].createElement(index$1.Text, { size: "p4", color: theme.theme.colors.gray800 },
1738
+ return (React__default["default"].createElement(React__default["default"].Fragment, null,
1739
+ React__default["default"].createElement(StyledPopup, { "data-open": isOpen, "data-animation": enableAnimation, onClick: (e) => e.stopPropagation() }, isLoading || !hospitalInfo ? (React__default["default"].createElement(Loading$1, null)) : (React__default["default"].createElement("div", { className: "popup-content" },
1740
+ React__default["default"].createElement("div", { className: "close-button", onClick: onClose },
1741
+ React__default["default"].createElement("img", { src: CloseLight, style: { width: 20, height: 20 }, alt: "close-icon", loading: "lazy" })),
1742
+ React__default["default"].createElement("div", { className: "main-info" },
1743
+ React__default["default"].createElement("div", { className: "border-banner" }),
1744
+ React__default["default"].createElement("div", { className: "avatar-title" },
1745
+ React__default["default"].createElement(StyledProfileImage, null,
1746
+ React__default["default"].createElement("div", { className: "image-container" },
1747
+ React__default["default"].createElement("div", { style: { position: 'relative' } },
1748
+ React__default["default"].createElement(index$8.ImageWrap, { src: hospitalInfo === null || hospitalInfo === void 0 ? void 0 : hospitalInfo.logo, className: "profile-image", alt: "avatar", backupSrc: avatarFallback }),
1749
+ React__default["default"].createElement("img", { className: "badge-avatar", src: ReviewerMedical, alt: "badge", loading: "lazy" })))),
1750
+ React__default["default"].createElement(StyledTitleContainer, null,
1751
+ React__default["default"].createElement(index$1.Text, { size: "s3", weight: "semiBold", className: "full-name" }, hospitalInfo === null || hospitalInfo === void 0 ? void 0 : hospitalInfo.name),
1752
+ React__default["default"].createElement("div", { className: "specialty" },
1753
+ specialties && (React__default["default"].createElement(index$1.Text, { size: "p4", color: theme.theme.colors.gray800 },
1757
1754
  formatSpecialties.join(' • '),
1758
1755
  '•')),
1759
- React__namespace["default"].createElement("a", { href: utils.getCareHospitalUrl({
1756
+ React__default["default"].createElement("a", { href: utils.getCareHospitalUrl({
1760
1757
  id: hospitalInfo.id,
1761
1758
  name: hospitalInfo.name,
1762
1759
  slug: hospitalInfo.slug,
1763
1760
  locale,
1764
1761
  }), className: "organisation", target: "_blank", rel: "noreferrer" },
1765
- React__namespace["default"].createElement(index$1.Text, { size: "p4", className: "organisation", color: theme.theme.colors.gray800, style: { textDecoration: 'underline' } }, hospitalInfo === null || hospitalInfo === void 0 ? void 0 : hospitalInfo.name))))),
1766
- !isMobile && (React__namespace["default"].createElement("a", { href: utils.getCareHospitalUrl({
1762
+ React__default["default"].createElement(index$1.Text, { size: "p4", className: "organisation", color: theme.theme.colors.gray800, style: { textDecoration: 'underline' } }, hospitalInfo === null || hospitalInfo === void 0 ? void 0 : hospitalInfo.name))))),
1763
+ !isMobile && (React__default["default"].createElement("a", { href: utils.getCareHospitalUrl({
1767
1764
  id: hospitalInfo.id,
1768
1765
  name: hospitalInfo.name,
1769
1766
  slug: hospitalInfo.slug,
1770
1767
  locale,
1771
1768
  }) },
1772
- React__namespace["default"].createElement("div", { className: "btn-wrapper" },
1773
- React__namespace["default"].createElement(index$5.Button, { color: "primary", size: "md", className: "btn-booking" }, t('careBooking.bookAnAppointment')))))),
1774
- React__namespace["default"].createElement(StyledTitleContainer, null,
1775
- React__namespace["default"].createElement("div", { className: "experience" },
1776
- React__namespace["default"].createElement(index$1.Text, { weight: "bold", size: "s3", color: theme.theme.colors.gray800, style: { paddingBottom: 16 } }, t('hospital.content.description').toUpperCase()),
1777
- React__namespace["default"].createElement(index$1.Text, { size: "p2", color: theme.theme.colors.gray500 }, hospitalInfo.about),
1778
- isMobile ? (React__namespace["default"].createElement("a", { href: utils.getCareHospitalUrl({
1769
+ React__default["default"].createElement("div", { className: "btn-wrapper" },
1770
+ React__default["default"].createElement(index$5.Button, { color: "primary", size: "md", className: "btn-booking" }, t('careBooking.bookAnAppointment')))))),
1771
+ React__default["default"].createElement(StyledTitleContainer, null,
1772
+ React__default["default"].createElement("div", { className: "experience" },
1773
+ React__default["default"].createElement(index$1.Text, { weight: "bold", size: "s3", color: theme.theme.colors.gray800, style: { paddingBottom: 16 } }, t('hospital.content.description').toUpperCase()),
1774
+ React__default["default"].createElement(index$1.Text, { size: "p2", color: theme.theme.colors.gray500 }, hospitalInfo.about),
1775
+ isMobile ? (React__default["default"].createElement("a", { href: utils.getCareHospitalUrl({
1779
1776
  id: hospitalInfo.id,
1780
1777
  name: hospitalInfo.name,
1781
1778
  slug: hospitalInfo.slug,
1782
1779
  locale,
1783
1780
  }) },
1784
- React__namespace["default"].createElement("div", { className: "btn-wrapper" },
1785
- React__namespace["default"].createElement(index$5.Button, { color: "primary", size: "md", className: "btn-booking" }, t('careBooking.bookAnAppointment'))))) : (React__namespace["default"].createElement("a", { href: utils.getCareHospitalUrl({
1781
+ React__default["default"].createElement("div", { className: "btn-wrapper" },
1782
+ React__default["default"].createElement(index$5.Button, { color: "primary", size: "md", className: "btn-booking" }, t('careBooking.bookAnAppointment'))))) : (React__default["default"].createElement("a", { href: utils.getCareHospitalUrl({
1786
1783
  id: hospitalInfo.id,
1787
1784
  name: hospitalInfo.name,
1788
1785
  slug: hospitalInfo.slug,
1789
1786
  locale,
1790
1787
  }) },
1791
- React__namespace["default"].createElement(index$1.Text, { size: "s4", color: "#2D87F3", as: "span", "data-event-category": trackingCategory, "data-event-action": "See Full Hospital Profile", "data-event-label": utils.getCurrentBaseUrl(locale) +
1788
+ React__default["default"].createElement(index$1.Text, { size: "s4", color: "#2D87F3", as: "span", "data-event-category": trackingCategory, "data-event-action": "See Full Hospital Profile", "data-event-label": utils.getCurrentBaseUrl(locale) +
1792
1789
  utils.getCareHospitalUrl({
1793
1790
  id: hospitalInfo.id,
1794
1791
  name: hospitalInfo.name,
1795
1792
  slug: hospitalInfo.slug,
1796
1793
  locale,
1797
1794
  }) }, t('home.seeHospital'))))))))),
1798
- React__namespace["default"].createElement(StyledPopupWrapper, { "data-open": isOpen, onClick: (e) => {
1795
+ React__default["default"].createElement(StyledPopupWrapper, { "data-open": isOpen, onClick: (e) => {
1799
1796
  e.stopPropagation();
1800
1797
  onClose();
1801
1798
  } })));
@@ -1805,7 +1802,7 @@ var styles$g = {"modal":"_2UKyiK1","header":"E5ga-tI","heading":"_8Y2nWXX","clos
1805
1802
 
1806
1803
  const ProfileDetailModal = ({ open, onClose, children, profileModalProps, }) => {
1807
1804
  const { t } = useTranslations.useTranslations();
1808
- return (React__namespace["default"].createElement(index$a.Modal, Object.assign({ className: styles$g.modal, opened: open, onClose: onClose, overlayOpacity: 0.2, overflow: "inside", styles: {
1805
+ return (React__default["default"].createElement(index$a.Modal, Object.assign({ className: styles$g.modal, opened: open, onClose: onClose, overlayOpacity: 0.2, overflow: "inside", styles: {
1809
1806
  inner: {
1810
1807
  padding: 0,
1811
1808
  justifyContent: 'flex-end',
@@ -1824,10 +1821,10 @@ const ProfileDetailModal = ({ open, onClose, children, profileModalProps, }) =>
1824
1821
  borderRadius: 0,
1825
1822
  },
1826
1823
  }, title: "Profile" }, profileModalProps),
1827
- React__namespace["default"].createElement("div", { className: styles$g.header },
1828
- React__namespace["default"].createElement("div", { className: styles$g.heading }, t('profilePanel.modal.heading')),
1829
- React__namespace["default"].createElement("div", { className: styles$g.close, onClick: onClose },
1830
- React__namespace["default"].createElement(Close, null))),
1824
+ React__default["default"].createElement("div", { className: styles$g.header },
1825
+ React__default["default"].createElement("div", { className: styles$g.heading }, t('profilePanel.modal.heading')),
1826
+ React__default["default"].createElement("div", { className: styles$g.close, onClick: onClose },
1827
+ React__default["default"].createElement(Close.Close, null))),
1831
1828
  children));
1832
1829
  };
1833
1830
 
@@ -1870,12 +1867,12 @@ const _CardAuthor = (props) => {
1870
1867
  const isExpert = (props === null || props === void 0 ? void 0 : props.role) === 'expert';
1871
1868
  const bookingAvai = Boolean(doctorId || hospitalId);
1872
1869
  const subItemList = [
1873
- role === 'expert' && organisation && React__namespace["default"].createElement("span", null, organisation),
1874
- role === 'expert' && specialty && React__namespace["default"].createElement("span", null, specialty),
1875
- !(role === 'expert' && specialty && organisation) && (community === null || community === void 0 ? void 0 : community.name) && (React__namespace["default"].createElement("a", Object.assign({ href: (community === null || community === void 0 ? void 0 : community.slug) && community.isActive && !community.isHidden
1870
+ role === 'expert' && organisation && React__default["default"].createElement("span", null, organisation),
1871
+ role === 'expert' && specialty && React__default["default"].createElement("span", null, specialty),
1872
+ !(role === 'expert' && specialty && organisation) && (community === null || community === void 0 ? void 0 : community.name) && (React__default["default"].createElement("a", Object.assign({ href: (community === null || community === void 0 ? void 0 : community.slug) && community.isActive && !community.isHidden
1876
1873
  ? `${togetherBasePath}/${community === null || community === void 0 ? void 0 : community.slug}/`
1877
1874
  : undefined, className: "author-community-name" }, communityTrackingAttr), `${community === null || community === void 0 ? void 0 : community.name}`)),
1878
- timeText && React__namespace["default"].createElement("span", null, timeText),
1875
+ timeText && React__default["default"].createElement("span", null, timeText),
1879
1876
  ].filter(Boolean);
1880
1877
  const [ProfileDetail, setProfileDetail] = React.useState(null);
1881
1878
  React.useEffect(() => {
@@ -1885,7 +1882,7 @@ const _CardAuthor = (props) => {
1885
1882
  });
1886
1883
  }
1887
1884
  }, [open]);
1888
- return (React__namespace["default"].createElement(CardAuthorContext.Provider, { value: {
1885
+ return (React__default["default"].createElement(CardAuthorContext.Provider, { value: {
1889
1886
  displayName,
1890
1887
  title,
1891
1888
  role,
@@ -1895,48 +1892,48 @@ const _CardAuthor = (props) => {
1895
1892
  hospitalId,
1896
1893
  currentUrl,
1897
1894
  } },
1898
- React__namespace["default"].createElement(ProfileDetailModal, { open: open, onClose: () => setOpen(false), profileModalProps: profileModalProps }, ProfileDetail && (React__namespace["default"].createElement(ProfileDetail, Object.assign({ currentPageUrl: dataEventLabel, authActionWrapper: authActionWrapper, onCloseFromPost: () => {
1895
+ React__default["default"].createElement(ProfileDetailModal, { open: open, onClose: () => setOpen(false), profileModalProps: profileModalProps }, ProfileDetail && (React__default["default"].createElement(ProfileDetail, Object.assign({ currentPageUrl: dataEventLabel, authActionWrapper: authActionWrapper, onCloseFromPost: () => {
1899
1896
  setOpen(false);
1900
1897
  onCloseFromPost === null || onCloseFromPost === void 0 ? void 0 : onCloseFromPost();
1901
1898
  } }, profileProps, { authorProps: Object.assign({ userId: props === null || props === void 0 ? void 0 : props.userId, avatar, name: props === null || props === void 0 ? void 0 : props.name, role: props === null || props === void 0 ? void 0 : props.role, title: props === null || props === void 0 ? void 0 : props.title, doctorId,
1902
1899
  hospitalId,
1903
1900
  hasQuickBooking }, profileProps === null || profileProps === void 0 ? void 0 : profileProps.authorProps) })))),
1904
- role === 'expert' && expertId ? (React__namespace["default"].createElement(PopupExpert, { isOpen: openPopupExpert, onClose: () => setOpenPopupExpert(false), expertId: expertId })) : null,
1905
- role === 'expert' && doctorId ? (React__namespace["default"].createElement(PopupDoctor, { isOpen: openPopupExpert, onClose: () => setOpenPopupExpert(false), doctorId: doctorId, locale: locale })) : null,
1906
- role === 'expert' && hospitalId ? (React__namespace["default"].createElement(PopupHospital, { isOpen: openPopupExpert, onClose: () => setOpenPopupExpert(false), hospitalId: hospitalId, locale: locale })) : null,
1907
- React__namespace["default"].createElement("div", { className: `hhg-card-author ${classes.root} ${className} ${isExpert ? 'expert-author' : ''}`, "data-background": !hideBackground && isExpert, "data-is-marrybaby": isMarryBaby },
1908
- React__namespace["default"].createElement(CardAuthor$1, { dataEventCategory: dataEventCategory, dataEventAction: dataEventAction, dataEventLabel: dataEventLabel, onAvatarClick: onAuthorClick, avatarProps: Object.assign(Object.assign({ avatar: isAnonymous
1901
+ role === 'expert' && expertId ? (React__default["default"].createElement(PopupExpert, { isOpen: openPopupExpert, onClose: () => setOpenPopupExpert(false), expertId: expertId })) : null,
1902
+ role === 'expert' && doctorId ? (React__default["default"].createElement(PopupDoctor, { isOpen: openPopupExpert, onClose: () => setOpenPopupExpert(false), doctorId: doctorId, locale: locale })) : null,
1903
+ role === 'expert' && hospitalId ? (React__default["default"].createElement(PopupHospital, { isOpen: openPopupExpert, onClose: () => setOpenPopupExpert(false), hospitalId: hospitalId, locale: locale })) : null,
1904
+ React__default["default"].createElement("div", { className: `hhg-card-author ${classes.root} ${className} ${isExpert ? 'expert-author' : ''}`, "data-background": !hideBackground && isExpert, "data-is-marrybaby": isMarryBaby },
1905
+ React__default["default"].createElement(CardAuthor$1, { dataEventCategory: dataEventCategory, dataEventAction: dataEventAction, dataEventLabel: dataEventLabel, onAvatarClick: onAuthorClick, avatarProps: Object.assign(Object.assign({ avatar: isAnonymous
1909
1906
  ? index$9.CommonGAssets.getAssetPath(isMarryBaby ? 'anomyous-avatar-1.svg' : 'anomyous-avatar.svg')
1910
1907
  : avatar, username: displayName }, avatarProps), { style: {
1911
1908
  cursor: !isAnonymous && (url || showDetailPopup)
1912
1909
  ? 'pointer'
1913
1910
  : 'default',
1914
- } }), avatarIcon: avatarIcon || (isExpert && React__namespace["default"].createElement(other.CrossLogo, { size: badgeIconSize || 15 })) }, children ? (React__namespace["default"].createElement("div", { onClick: onAuthorClick }, children)) : (!hideInfo && (React__namespace["default"].createElement(CardAuthor$1.Row, null,
1915
- React__namespace["default"].createElement(CardAuthor$1.ColLeft, null,
1916
- React__namespace["default"].createElement(core.Flex, { align: 'center', onClick: onAuthorClick },
1917
- React__namespace["default"].createElement(CardAuthor$1.MainText, { onClick: onAuthorClick },
1911
+ } }), avatarIcon: avatarIcon || (isExpert && React__default["default"].createElement(other.CrossLogo, { size: badgeIconSize || 15 })) }, children ? (React__default["default"].createElement("div", { onClick: onAuthorClick }, children)) : (!hideInfo && (React__default["default"].createElement(CardAuthor$1.Row, null,
1912
+ React__default["default"].createElement(CardAuthor$1.ColLeft, null,
1913
+ React__default["default"].createElement(core.Flex, { align: 'center', onClick: onAuthorClick },
1914
+ React__default["default"].createElement(CardAuthor$1.MainText, { onClick: onAuthorClick },
1918
1915
  displayName,
1919
- userType === 'chatbot' ? (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
1916
+ userType === 'chatbot' ? (React__default["default"].createElement(React__default["default"].Fragment, null,
1920
1917
  ' ',
1921
- React__namespace["default"].createElement(other.ShieldCheck, { color: theme.theme.colors.primaryBase, size: 16, style: {
1918
+ React__default["default"].createElement(other.ShieldCheck, { color: theme.theme.colors.primaryBase, size: 16, style: {
1922
1919
  display: 'inline-block',
1923
1920
  transform: 'translate(0, 2px)',
1924
- } }))) : (React__namespace["default"].createElement(AuthorBadgeItem, null)))),
1925
- subLine || (React__namespace["default"].createElement(CardAuthor$1.SubTextRow, { style: hasQuickBooking
1921
+ } }))) : (React__default["default"].createElement(AuthorBadgeItem, null)))),
1922
+ subLine || (React__default["default"].createElement(CardAuthor$1.SubTextRow, { style: hasQuickBooking
1926
1923
  ? {
1927
1924
  position: 'relative',
1928
1925
  }
1929
1926
  : {} },
1930
- subItemList.map((i, idx) => (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
1931
- idx !== 0 && React__namespace["default"].createElement(CardAuthor$1.SubDivider, null),
1932
- React__namespace["default"].createElement(CardAuthor$1.SubText, null, i)))),
1933
- hasQuickBooking && bookingAvai && (React__namespace["default"].createElement(core.Box, { sx: {
1927
+ subItemList.map((i, idx) => (React__default["default"].createElement(React__default["default"].Fragment, null,
1928
+ idx !== 0 && React__default["default"].createElement(CardAuthor$1.SubDivider, null),
1929
+ React__default["default"].createElement(CardAuthor$1.SubText, null, i)))),
1930
+ hasQuickBooking && bookingAvai && (React__default["default"].createElement(core.Box, { sx: {
1934
1931
  marginTop: core.rem(5),
1935
1932
  // position: 'absolute',
1936
1933
  // bottom: `${-bookingBtnSize}px`,
1937
1934
  // left: 0,
1938
1935
  } },
1939
- React__namespace["default"].createElement(index$7.BookingBtn, { bookingId: doctorId || hospitalId, bookingType: doctorId
1936
+ React__default["default"].createElement(index$7.BookingBtn, { bookingId: doctorId || hospitalId, bookingType: doctorId
1940
1937
  ? 'doctor'
1941
1938
  : hospitalId
1942
1939
  ? 'hospital'
@@ -3312,7 +3309,7 @@ const RichTextEditor = ({ html, onChange, className, style, onImagePickerClick,
3312
3309
  window.removeEventListener('click', clickHandler);
3313
3310
  };
3314
3311
  }, []);
3315
- return (React__namespace["default"].createElement(StyledEditorContainer, { ref: containerRef, className: className, style: style, onKeyDownCapture: (e) => {
3312
+ return (React__default["default"].createElement(StyledEditorContainer, { ref: containerRef, className: className, style: style, onKeyDownCapture: (e) => {
3316
3313
  // convenient behavior, use arrow to select tag user and enter to choose
3317
3314
  if (foundUsers === null || foundUsers === void 0 ? void 0 : foundUsers.length) {
3318
3315
  let preventKey = false;
@@ -3342,7 +3339,7 @@ const RichTextEditor = ({ html, onChange, className, style, onImagePickerClick,
3342
3339
  }
3343
3340
  }
3344
3341
  } },
3345
- React__namespace["default"].createElement(CustomToolbar, { id: toolbarId, onAddLink: (text, href) => {
3342
+ React__default["default"].createElement(CustomToolbar, { id: toolbarId, onAddLink: (text, href) => {
3346
3343
  var _a, _b;
3347
3344
  const insertIndex = contentEditableCaretPos.current + 1;
3348
3345
  const currHTML = (_b = (_a = reactQuillRef.current) === null || _a === void 0 ? void 0 : _a.getEditor()) === null || _b === void 0 ? void 0 : _b.root.innerHTML;
@@ -3352,7 +3349,7 @@ const RichTextEditor = ({ html, onChange, className, style, onImagePickerClick,
3352
3349
  onChange === null || onChange === void 0 ? void 0 : onChange(newHTML);
3353
3350
  debounceInputModify(newHTML);
3354
3351
  } }),
3355
- ReactQuill && (React__namespace["default"].createElement(ReactQuill, { ref: reactQuillRef, theme: "snow", value: html, onChange: (t) => {
3352
+ ReactQuill && (React__default["default"].createElement(ReactQuill, { ref: reactQuillRef, theme: "snow", value: html, onChange: (t) => {
3356
3353
  onChange === null || onChange === void 0 ? void 0 : onChange(t);
3357
3354
  debounceInputModify(t);
3358
3355
  handleSelectionChange();
@@ -3369,38 +3366,38 @@ const RichTextEditor = ({ html, onChange, className, style, onImagePickerClick,
3369
3366
  'list',
3370
3367
  'bullet',
3371
3368
  ] })),
3372
- !!(foundUsers === null || foundUsers === void 0 ? void 0 : foundUsers.length) && (React__namespace["default"].createElement("div", { ref: foundUsersListRef, className: "mention-search-container", style: searchUserPosition }, foundUsers.map((foundUser, index) => (React__namespace["default"].createElement("div", { className: `mention-search-item ${selectTagUserIndex === index ? 'item-selected' : ''}`, key: foundUser.id, onClick: (e) => {
3369
+ !!(foundUsers === null || foundUsers === void 0 ? void 0 : foundUsers.length) && (React__default["default"].createElement("div", { ref: foundUsersListRef, className: "mention-search-container", style: searchUserPosition }, foundUsers.map((foundUser, index) => (React__default["default"].createElement("div", { className: `mention-search-item ${selectTagUserIndex === index ? 'item-selected' : ''}`, key: foundUser.id, onClick: (e) => {
3373
3370
  e.preventDefault();
3374
3371
  e.stopPropagation();
3375
3372
  setSelectUser(foundUser.id, foundUser.name);
3376
3373
  }, onMouseEnter: () => {
3377
3374
  setSelectTagUserIndex(index);
3378
3375
  } },
3379
- React__namespace["default"].createElement(index$6.UserAvatar, { className: "search-avatar", username: foundUser.name, avatar: foundUser.avatar }),
3380
- React__namespace["default"].createElement("div", null,
3381
- React__namespace["default"].createElement(index$1.Text, { size: "p2" }, foundUser.name),
3382
- React__namespace["default"].createElement(index$1.Text, { size: "p4", color: "#595959" },
3376
+ React__default["default"].createElement(index$6.UserAvatar, { className: "search-avatar", username: foundUser.name, avatar: foundUser.avatar }),
3377
+ React__default["default"].createElement("div", null,
3378
+ React__default["default"].createElement(index$1.Text, { size: "p2" }, foundUser.name),
3379
+ React__default["default"].createElement(index$1.Text, { size: "p4", color: "#595959" },
3383
3380
  "@",
3384
3381
  foundUser.username)))))))));
3385
3382
  };
3386
3383
  const CustomToolbar = ({ onAddLink, id, }) => {
3387
- return (React__namespace["default"].createElement("div", { id: 'toolbar-' + id, onClick: (e) => {
3384
+ return (React__default["default"].createElement("div", { id: 'toolbar-' + id, onClick: (e) => {
3388
3385
  e.preventDefault();
3389
3386
  e.stopPropagation();
3390
3387
  } },
3391
- React__namespace["default"].createElement("span", { className: "ql-formats" },
3392
- React__namespace["default"].createElement("button", { className: "ql-bold", type: "button" }),
3393
- React__namespace["default"].createElement("button", { className: "ql-italic", type: "button" }),
3394
- React__namespace["default"].createElement("button", { className: "ql-underline", type: "button" })),
3395
- React__namespace["default"].createElement("span", { className: "ql-formats" },
3396
- React__namespace["default"].createElement("button", { className: "ql-list", value: "ordered", type: "button" }),
3397
- React__namespace["default"].createElement("button", { className: "ql-list", value: "bullet", type: "button" })),
3398
- React__namespace["default"].createElement("span", { className: "ql-formats" },
3399
- React__namespace["default"].createElement("button", { className: "ql-image", type: "button" }),
3400
- onAddLink && (React__namespace["default"].createElement(PopoverMenu, { className: "link-tool-wrapper", toggleButtonContent: React__namespace["default"].createElement("img", { className: "link-icon", src: IconLink, loading: "lazy" }), buttonProps: {
3388
+ React__default["default"].createElement("span", { className: "ql-formats" },
3389
+ React__default["default"].createElement("button", { className: "ql-bold", type: "button" }),
3390
+ React__default["default"].createElement("button", { className: "ql-italic", type: "button" }),
3391
+ React__default["default"].createElement("button", { className: "ql-underline", type: "button" })),
3392
+ React__default["default"].createElement("span", { className: "ql-formats" },
3393
+ React__default["default"].createElement("button", { className: "ql-list", value: "ordered", type: "button" }),
3394
+ React__default["default"].createElement("button", { className: "ql-list", value: "bullet", type: "button" })),
3395
+ React__default["default"].createElement("span", { className: "ql-formats" },
3396
+ React__default["default"].createElement("button", { className: "ql-image", type: "button" }),
3397
+ onAddLink && (React__default["default"].createElement(PopoverMenu, { className: "link-tool-wrapper", toggleButtonContent: React__default["default"].createElement("img", { className: "link-icon", src: IconLink, loading: "lazy" }), buttonProps: {
3401
3398
  size: 'md',
3402
3399
  color: 'transparent',
3403
- }, align: "end" }, ({ setShow }) => (React__namespace["default"].createElement(LinkToolInputPopover, { onAddUrl: onAddLink, setShow: setShow })))))));
3400
+ }, align: "end" }, ({ setShow }) => (React__default["default"].createElement(LinkToolInputPopover, { onAddUrl: onAddLink, setShow: setShow })))))));
3404
3401
  };
3405
3402
  const URL_WARN_MAP = [
3406
3403
  'notification.limitUrlDomain',
@@ -3433,15 +3430,15 @@ const LinkToolInputPopover = ({ onAddUrl, setShow }) => {
3433
3430
  }
3434
3431
  };
3435
3432
  const isValid = urlValue.trim() && textValue.trim() && urlWarnType < 0;
3436
- return (React__namespace["default"].createElement("div", { className: "link-tool-popover" },
3437
- React__namespace["default"].createElement(index$b.Input, { name: "url", value: urlValue, size: "md", label: "URL", placeholder: t('placeholder.enterUrlHere'), type: "text", className: "link-input-url", onChange: (v) => {
3433
+ return (React__default["default"].createElement("div", { className: "link-tool-popover" },
3434
+ React__default["default"].createElement(index$b.Input, { name: "url", value: urlValue, size: "md", label: "URL", placeholder: t('placeholder.enterUrlHere'), type: "text", className: "link-input-url", onChange: (v) => {
3438
3435
  setUrlValue(v);
3439
3436
  checkUrlValid(v);
3440
3437
  } }),
3441
- urlWarnType >= 0 && (React__namespace["default"].createElement(index$1.Text, { size: "c2", className: "error-text" }, t(URL_WARN_MAP[urlWarnType]))),
3442
- React__namespace["default"].createElement(index$b.Input, { name: "text", value: textValue, size: "md", label: t('createPost.urlText'), placeholder: t('placeholder.enterUrlTextHere'), type: "text", className: "link-input-text", onChange: (v) => setTextValue(v) }),
3443
- React__namespace["default"].createElement("div", { "data-is-marrybaby": isMarryBaby, className: "link-input-button-wrapper" },
3444
- React__namespace["default"].createElement(index$5.Button, { theme: isMarryBaby ? 'marryBaby' : 'helloSites', size: "sm", color: "primary", className: "link-input-button", onClick: () => {
3438
+ urlWarnType >= 0 && (React__default["default"].createElement(index$1.Text, { size: "c2", className: "error-text" }, t(URL_WARN_MAP[urlWarnType]))),
3439
+ React__default["default"].createElement(index$b.Input, { name: "text", value: textValue, size: "md", label: t('createPost.urlText'), placeholder: t('placeholder.enterUrlTextHere'), type: "text", className: "link-input-text", onChange: (v) => setTextValue(v) }),
3440
+ React__default["default"].createElement("div", { "data-is-marrybaby": isMarryBaby, className: "link-input-button-wrapper" },
3441
+ React__default["default"].createElement(index$5.Button, { theme: isMarryBaby ? 'marryBaby' : 'helloSites', size: "sm", color: "primary", className: "link-input-button", onClick: () => {
3445
3442
  if (!isValid)
3446
3443
  return;
3447
3444
  onAddUrl(textValue.trim(), reformatUrl(urlValue.trim()));
@@ -3472,25 +3469,25 @@ const CreatePostDescription = ({ className, style, bannedWords = [], value, onCh
3472
3469
  onPreviewUrlChange(null);
3473
3470
  }
3474
3471
  }, [previewUrl]);
3475
- return (React__namespace["default"].createElement(StyledCreatePostDescription, { className: className, style: style },
3476
- React__namespace["default"].createElement(index$1.Text, { size: "p4", className: "description-label" }, t('createPost.popup.description')),
3477
- React__namespace["default"].createElement("div", { className: `textarea-control` },
3478
- React__namespace["default"].createElement("div", { className: "textarea-wrapper" },
3479
- React__namespace["default"].createElement(RichTextEditor, { html: value || '', onChange: onChange, bannedWords: bannedWords, onImagePickerClick: () => { var _a; return (_a = imagePicker.current) === null || _a === void 0 ? void 0 : _a.click(); }, onPreviewUrlChange: setPreviewUrl, onInvalidUrlsChange: onInvalidUrlsChange, isReplying: isReplying }))),
3480
- React__namespace["default"].createElement(index$1.Text, { size: "p4", className: "count-string" },
3472
+ return (React__default["default"].createElement(StyledCreatePostDescription, { className: className, style: style },
3473
+ React__default["default"].createElement(index$1.Text, { size: "p4", className: "description-label" }, t('createPost.popup.description')),
3474
+ React__default["default"].createElement("div", { className: `textarea-control` },
3475
+ React__default["default"].createElement("div", { className: "textarea-wrapper" },
3476
+ React__default["default"].createElement(RichTextEditor, { html: value || '', onChange: onChange, bannedWords: bannedWords, onImagePickerClick: () => { var _a; return (_a = imagePicker.current) === null || _a === void 0 ? void 0 : _a.click(); }, onPreviewUrlChange: setPreviewUrl, onInvalidUrlsChange: onInvalidUrlsChange, isReplying: isReplying }))),
3477
+ React__default["default"].createElement(index$1.Text, { size: "p4", className: "count-string" },
3481
3478
  t('character'),
3482
3479
  ": ",
3483
3480
  innertext__default["default"](value || '').length),
3484
- (!imageSrcs || imageSrcs.length === 0) && previewUrl && (React__namespace["default"].createElement("div", { className: "link-preview-wrapper" }, previewUrl.isFetching ? (React__namespace["default"].createElement(Loading$1, null)) : (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
3485
- React__namespace["default"].createElement(CardLink, { title: previewUrl.title, url: previewUrl.url || '#', image: previewUrl.image, noRefetch: true }),
3486
- React__namespace["default"].createElement("img", { src: IconCloseCircle, className: "icon-close", onClick: () => setPreviewUrl(null), loading: "lazy" }))))),
3487
- React__namespace["default"].createElement("input", { ref: imagePicker, type: "file", accept: "image/png, image/gif, image/jpeg", multiple: true, style: { display: 'none' }, onChange: onSelectImages }),
3488
- imageSrcs.length > utils.MAX_IMAGE_UPLOADS ? (React__namespace["default"].createElement("div", { className: "input-notification" },
3489
- React__namespace["default"].createElement("img", { src: IconAlertCircleWarning, loading: "lazy" }),
3490
- React__namespace["default"].createElement(index$1.Text, { size: "p4", color: theme.theme.colors.alertWarning }, t(`createPost.popup.warningImage`)))) : null,
3491
- imageSrcs.length > 0 && (React__namespace["default"].createElement("div", { className: "image-gallery" }, imageSrcs.map((src, i) => (React__namespace["default"].createElement("div", { key: i, className: "image-item" },
3492
- React__namespace["default"].createElement("img", { src: src, loading: "lazy" }),
3493
- React__namespace["default"].createElement("img", { className: "close-btn", src: IconCloseCircle, onClick: () => onRemoveImage(i), loading: "lazy" }))))))));
3481
+ (!imageSrcs || imageSrcs.length === 0) && previewUrl && (React__default["default"].createElement("div", { className: "link-preview-wrapper" }, previewUrl.isFetching ? (React__default["default"].createElement(Loading$1, null)) : (React__default["default"].createElement(React__default["default"].Fragment, null,
3482
+ React__default["default"].createElement(CardLink, { title: previewUrl.title, url: previewUrl.url || '#', image: previewUrl.image, noRefetch: true }),
3483
+ React__default["default"].createElement("img", { src: IconCloseCircle, className: "icon-close", onClick: () => setPreviewUrl(null), loading: "lazy" }))))),
3484
+ React__default["default"].createElement("input", { ref: imagePicker, type: "file", accept: "image/png, image/gif, image/jpeg", multiple: true, style: { display: 'none' }, onChange: onSelectImages }),
3485
+ imageSrcs.length > utils.MAX_IMAGE_UPLOADS ? (React__default["default"].createElement("div", { className: "input-notification" },
3486
+ React__default["default"].createElement("img", { src: IconAlertCircleWarning, loading: "lazy" }),
3487
+ React__default["default"].createElement(index$1.Text, { size: "p4", color: theme.theme.colors.alertWarning }, t(`createPost.popup.warningImage`)))) : null,
3488
+ imageSrcs.length > 0 && (React__default["default"].createElement("div", { className: "image-gallery" }, imageSrcs.map((src, i) => (React__default["default"].createElement("div", { key: i, className: "image-item" },
3489
+ React__default["default"].createElement("img", { src: src, loading: "lazy" }),
3490
+ React__default["default"].createElement("img", { className: "close-btn", src: IconCloseCircle, onClick: () => onRemoveImage(i), loading: "lazy" }))))))));
3494
3491
  };
3495
3492
 
3496
3493
  const StyledCreatePostTitle = styled__default["default"].div `
@@ -3611,8 +3608,8 @@ const CreatePostTitle = ({ className, style, bannedWords = [], value, onChange,
3611
3608
  (_a = titleRef.current) === null || _a === void 0 ? void 0 : _a.focus();
3612
3609
  }, 500);
3613
3610
  }, []);
3614
- return (React__namespace["default"].createElement(StyledCreatePostTitle, { className: className, style: style },
3615
- React__namespace["default"].createElement(index$b.Input, { name: "title", value: value || titleValue, size: "md", label: t('createPost.title'), CustomInput: React__namespace["default"].createElement(ContentEditable__default["default"], { innerRef: titleRef, html: value || titleValue, onChange: () => {
3611
+ return (React__default["default"].createElement(StyledCreatePostTitle, { className: className, style: style },
3612
+ React__default["default"].createElement(index$b.Input, { name: "title", value: value || titleValue, size: "md", label: t('createPost.title'), CustomInput: React__default["default"].createElement(ContentEditable__default["default"], { innerRef: titleRef, html: value || titleValue, onChange: () => {
3616
3613
  if (titleRef.current &&
3617
3614
  titleRef.current.innerText !== (value || titleValue)) {
3618
3615
  const initialValue = inputModify(titleRef.current.innerText, {
@@ -3623,7 +3620,7 @@ const CreatePostTitle = ({ className, style, bannedWords = [], value, onChange,
3623
3620
  debounceInputModify();
3624
3621
  }
3625
3622
  }, className: "title-input" }) }),
3626
- React__namespace["default"].createElement(index$1.Text, { size: "p4", className: "count-string" }, t('createPost.popup.wordCount', {
3623
+ React__default["default"].createElement(index$1.Text, { size: "p4", className: "count-string" }, t('createPost.popup.wordCount', {
3627
3624
  count: ((_a = titleRef.current) === null || _a === void 0 ? void 0 : _a.innerText.length) || 0,
3628
3625
  max: TITLE_LIMIT,
3629
3626
  }))));
@@ -3725,9 +3722,9 @@ const TopicSelectList = ({ className, style, topics: topicsProp, communityId, on
3725
3722
  const topicsWithoutForced = React.useMemo(() => topics.filter((t) => !(forceTopics === null || forceTopics === void 0 ? void 0 : forceTopics.some((ft) => (ft.id && ft.id === t.id) ||
3726
3723
  (ft.mappedCategoryId &&
3727
3724
  ft.mappedCategoryId === t.mappedCategoryId)))), [topicsStateString, forceTopicsPropString]);
3728
- return (React__namespace["default"].createElement(StyledTopicSelectList, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
3729
- forceTopics.map((topic) => (React__namespace["default"].createElement(TopicItem, { key: `${topic.id}-${topic.mappedCategoryId}`, topic: topic, disabled: true, selected: true, dataEventAction: dataEventAction, dataEventCategory: dataEventCategory, dataEventLabel: dataEventLabel }))),
3730
- topicsWithoutForced.map((topic) => (React__namespace["default"].createElement(TopicItem, { key: `${topic.id}-${topic.mappedCategoryId}`, topic: topic, disabled: disabled, selected: (selectedTopicsProp || selectedTopics).some((t) => (t.id && t.id === topic.id) ||
3725
+ return (React__default["default"].createElement(StyledTopicSelectList, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
3726
+ forceTopics.map((topic) => (React__default["default"].createElement(TopicItem, { key: `${topic.id}-${topic.mappedCategoryId}`, topic: topic, disabled: true, selected: true, dataEventAction: dataEventAction, dataEventCategory: dataEventCategory, dataEventLabel: dataEventLabel }))),
3727
+ topicsWithoutForced.map((topic) => (React__default["default"].createElement(TopicItem, { key: `${topic.id}-${topic.mappedCategoryId}`, topic: topic, disabled: disabled, selected: (selectedTopicsProp || selectedTopics).some((t) => (t.id && t.id === topic.id) ||
3731
3728
  (t.mappedCategoryId &&
3732
3729
  t.mappedCategoryId === topic.mappedCategoryId)), onClick: () => {
3733
3730
  const _selected = selectedTopicsProp || selectedTopics;
@@ -3748,11 +3745,11 @@ const TopicSelectList = ({ className, style, topics: topicsProp, communityId, on
3748
3745
  setSelectedTopics(_selected.slice());
3749
3746
  }
3750
3747
  }, dataEventAction: dataEventAction, dataEventCategory: dataEventCategory, dataEventLabel: dataEventLabel }))),
3751
- (isLoading || isLoadingTopics) && React__namespace["default"].createElement(Loading$1, { className: "topic-spinner" })));
3748
+ (isLoading || isLoadingTopics) && React__default["default"].createElement(Loading$1, { className: "topic-spinner" })));
3752
3749
  };
3753
3750
  const TopicItem = (_a) => {
3754
3751
  var { topic, disabled, selected, onClick } = _a, rest = tslib_es6.__rest(_a, ["topic", "disabled", "selected", "onClick"]);
3755
- return (React__namespace["default"].createElement("div", Object.assign({ className: 'tag-item' + (selected ? ' --active' : ''), "data-disabled": disabled, onClick: !disabled ? onClick : undefined }, rest), topic.name));
3752
+ return (React__default["default"].createElement("div", Object.assign({ className: 'tag-item' + (selected ? ' --active' : ''), "data-disabled": disabled, onClick: !disabled ? onClick : undefined }, rest), topic.name));
3756
3753
  };
3757
3754
 
3758
3755
  const CreateNewPostContent = ({ className, style, onPostCreatedEdited, onClose, communities = [], forceSelectCommunity, forceSelectTopics, articleId, optionalTopic, editPostData, defaultCommunity, defaultTopics, noFetchTopic, hideTopicList, selectAskDoctor, showAskDoctorOptions, currentPageUrl, }) => {
@@ -3919,18 +3916,18 @@ const CreateNewPostContent = ({ className, style, onPostCreatedEdited, onClose,
3919
3916
  }
3920
3917
  }
3921
3918
  });
3922
- return (React__namespace["default"].createElement(StyledCreateNewPost, { className: className, style: style },
3923
- React__namespace["default"].createElement("div", { className: "input-group-container" },
3924
- React__namespace["default"].createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, onChange: setTitleValue }),
3925
- specialCharErr && (React__namespace["default"].createElement(StyledError, null,
3926
- React__namespace["default"].createElement(other.Info, { isSolid: true, color: theme.theme.colors.red700, size: 14 }),
3927
- React__namespace["default"].createElement(index$1.Text, { size: "p3", as: "span", color: theme.theme.colors.red700 }, t('createPost.popup.specialCharErr')))),
3928
- React__namespace["default"].createElement(CreatePostDescription, { className: "input-group", bannedWords: bannedWords, value: descriptionValue, onChange: setDescriptionValue, onPreviewUrlChange: setPreviewUrl, onInvalidUrlsChange: setInvalidUrls, onImageFilesChange: setImageFiles, imageFiles: imageFiles }),
3929
- showAskDoctorOptions && (React__namespace["default"].createElement(StyledIsQuestion, { "data-is-marry-baby": isMarryBaby },
3930
- React__namespace["default"].createElement("div", { className: "switch-label" },
3931
- React__namespace["default"].createElement(other.Ask, { isMarryBaby: isMarryBaby, size: isMarryBaby ? 32 : 24, color: theme.theme.colors.primaryBase, className: "label-icon" }),
3932
- React__namespace["default"].createElement("span", { className: "label-txt" }, t('createPost.askDoctor'))),
3933
- React__namespace["default"].createElement(index$7.BtnChoice, { value: isAskDoctor, choices: [
3919
+ return (React__default["default"].createElement(StyledCreateNewPost, { className: className, style: style },
3920
+ React__default["default"].createElement("div", { className: "input-group-container" },
3921
+ React__default["default"].createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, onChange: setTitleValue }),
3922
+ specialCharErr && (React__default["default"].createElement(StyledError, null,
3923
+ React__default["default"].createElement(other.Info, { isSolid: true, color: theme.theme.colors.red700, size: 14 }),
3924
+ React__default["default"].createElement(index$1.Text, { size: "p3", as: "span", color: theme.theme.colors.red700 }, t('createPost.popup.specialCharErr')))),
3925
+ React__default["default"].createElement(CreatePostDescription, { className: "input-group", bannedWords: bannedWords, value: descriptionValue, onChange: setDescriptionValue, onPreviewUrlChange: setPreviewUrl, onInvalidUrlsChange: setInvalidUrls, onImageFilesChange: setImageFiles, imageFiles: imageFiles }),
3926
+ showAskDoctorOptions && (React__default["default"].createElement(StyledIsQuestion, { "data-is-marry-baby": isMarryBaby },
3927
+ React__default["default"].createElement("div", { className: "switch-label" },
3928
+ React__default["default"].createElement(other.Ask, { isMarryBaby: isMarryBaby, size: isMarryBaby ? 32 : 24, color: theme.theme.colors.primaryBase, className: "label-icon" }),
3929
+ React__default["default"].createElement("span", { className: "label-txt" }, t('createPost.askDoctor'))),
3930
+ React__default["default"].createElement(index$7.BtnChoice, { value: isAskDoctor, choices: [
3934
3931
  {
3935
3932
  label: t('createPost.askDoctorChoice.yes'),
3936
3933
  value: true,
@@ -3948,12 +3945,12 @@ const CreateNewPostContent = ({ className, style, onPostCreatedEdited, onClose,
3948
3945
  setIsAskDoctor(v);
3949
3946
  }
3950
3947
  } }))),
3951
- showAskDoctorRequired && (React__namespace["default"].createElement(StyledError, null,
3952
- React__namespace["default"].createElement(other.Info, { isSolid: true, color: theme.theme.colors.red700, size: 14 }),
3953
- React__namespace["default"].createElement(index$1.Text, { size: "p3", as: "span", color: theme.theme.colors.red700 }, t('createPost.message.askDoctorRequire')))),
3954
- React__namespace["default"].createElement("div", { className: "input-group" },
3955
- React__namespace["default"].createElement(index$1.Text, { size: "p4", className: "input-group-label" }, t('admin.community')),
3956
- React__namespace["default"].createElement(index$c.Dropdown, { options: (communitiesList === null || communitiesList === void 0 ? void 0 : communitiesList.map((c) => ({
3948
+ showAskDoctorRequired && (React__default["default"].createElement(StyledError, null,
3949
+ React__default["default"].createElement(other.Info, { isSolid: true, color: theme.theme.colors.red700, size: 14 }),
3950
+ React__default["default"].createElement(index$1.Text, { size: "p3", as: "span", color: theme.theme.colors.red700 }, t('createPost.message.askDoctorRequire')))),
3951
+ React__default["default"].createElement("div", { className: "input-group" },
3952
+ React__default["default"].createElement(index$1.Text, { size: "p4", className: "input-group-label" }, t('admin.community')),
3953
+ React__default["default"].createElement(index$c.Dropdown, { options: (communitiesList === null || communitiesList === void 0 ? void 0 : communitiesList.map((c) => ({
3957
3954
  label: c.name,
3958
3955
  value: `${c.id || ''}-${c.mappedCategoryId || ''}`,
3959
3956
  }))) || [], id: "community-picker", placeholder: t('community.choose'), value: communityValue, dropdownLabelTrackingAttributes: {
@@ -3967,24 +3964,24 @@ const CreateNewPostContent = ({ className, style, onPostCreatedEdited, onClose,
3967
3964
  });
3968
3965
  setSelectedTopics([]);
3969
3966
  }, disabled: !!forceSelectCommunity }),
3970
- React__namespace["default"].createElement(index$1.Text, { size: "sm", className: "warning", color: theme.theme.colors.gray400 },
3967
+ React__default["default"].createElement(index$1.Text, { size: "sm", className: "warning", color: theme.theme.colors.gray400 },
3971
3968
  "* ",
3972
3969
  t('commentPopup.warning.newPost'))),
3973
- !hideTopicList && (React__namespace["default"].createElement("div", { className: "input-group" },
3974
- React__namespace["default"].createElement(index$1.Text, { size: "p4", className: "input-group-label" }, t('tab.topic')),
3975
- React__namespace["default"].createElement("div", { className: "input-notification" },
3976
- React__namespace["default"].createElement("img", { src: currentCommunity
3970
+ !hideTopicList && (React__default["default"].createElement("div", { className: "input-group" },
3971
+ React__default["default"].createElement(index$1.Text, { size: "p4", className: "input-group-label" }, t('tab.topic')),
3972
+ React__default["default"].createElement("div", { className: "input-notification" },
3973
+ React__default["default"].createElement("img", { src: currentCommunity
3977
3974
  ? IconAlertCirclePrimary
3978
3975
  : IconAlertCircleWarning, loading: "lazy" }),
3979
- React__namespace["default"].createElement(index$1.Text, { size: "base", color: theme.theme.colors.gray500 }, t(currentCommunity
3976
+ React__default["default"].createElement(index$1.Text, { size: "base", color: theme.theme.colors.gray500 }, t(currentCommunity
3980
3977
  ? 'createPost.popup.primary'
3981
3978
  : 'createPost.popup.warning'))),
3982
- currentCommunity && (React__namespace["default"].createElement(TopicSelectList, { className: "tag-list", communityId: currentCommunity.id, forceTopics: forceSelectTopics, onChange: setSelectedTopics, selectedTopics: selectedTopics, noFetch: noFetchTopic, dataEventCategory: "Together", dataEventAction: "Write Post Click - Choose Community/Topic", dataEventLabel: currentPageUrl }))))),
3983
- React__namespace["default"].createElement("div", { className: "form-action" },
3984
- React__namespace["default"].createElement("div", { className: "input-group" },
3985
- React__namespace["default"].createElement(core.Checkbox, { className: "swich-input-group", labelPosition: "left", name: "PostAnonymous", checked: isAnonymous, color: isMarryBaby ? 'pink' : undefined, "data-event-category": "Together", "data-event-action": "Write Post Click - Incognito", "data-event-label": currentPageUrl, label: React__namespace["default"].createElement("div", { className: "switch-label" },
3986
- React__namespace["default"].createElement("img", { className: "label-icon", src: index$9.CommonGAssets.getAssetPath('anomyous-avatar.svg'), alt: "anomyous avatar", style: { marginRight: '10px', width: '24px' }, loading: "lazy" }),
3987
- React__namespace["default"].createElement("span", { className: "label-txt" }, t('createPost.postAnonymous'))), value: "Post Anonymous", onChange: (event) => setIsAnonymous(event.currentTarget.checked), styles: {
3979
+ currentCommunity && (React__default["default"].createElement(TopicSelectList, { className: "tag-list", communityId: currentCommunity.id, forceTopics: forceSelectTopics, onChange: setSelectedTopics, selectedTopics: selectedTopics, noFetch: noFetchTopic, dataEventCategory: "Together", dataEventAction: "Write Post Click - Choose Community/Topic", dataEventLabel: currentPageUrl }))))),
3980
+ React__default["default"].createElement("div", { className: "form-action" },
3981
+ React__default["default"].createElement("div", { className: "input-group" },
3982
+ React__default["default"].createElement(core.Checkbox, { className: "swich-input-group", labelPosition: "left", name: "PostAnonymous", checked: isAnonymous, color: isMarryBaby ? 'pink' : undefined, "data-event-category": "Together", "data-event-action": "Write Post Click - Incognito", "data-event-label": currentPageUrl, label: React__default["default"].createElement("div", { className: "switch-label" },
3983
+ React__default["default"].createElement("img", { className: "label-icon", src: index$9.CommonGAssets.getAssetPath('anomyous-avatar.svg'), alt: "anomyous avatar", style: { marginRight: '10px', width: '24px' }, loading: "lazy" }),
3984
+ React__default["default"].createElement("span", { className: "label-txt" }, t('createPost.postAnonymous'))), value: "Post Anonymous", onChange: (event) => setIsAnonymous(event.currentTarget.checked), styles: {
3988
3985
  body: {
3989
3986
  display: 'flex',
3990
3987
  width: '100%',
@@ -3996,8 +3993,8 @@ const CreateNewPostContent = ({ className, style, onPostCreatedEdited, onClose,
3996
3993
  alignItems: 'center',
3997
3994
  },
3998
3995
  } })),
3999
- React__namespace["default"].createElement("div", { className: "input-group" },
4000
- React__namespace["default"].createElement(index$8.Button, { className: "submit-btn pointer-event-child-none", size: "lg", "data-event-category": "Ask Doctor", "data-event-action": "Submit Question", "data-event-label": window.location.href, onClick: () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
3996
+ React__default["default"].createElement("div", { className: "input-group" },
3997
+ React__default["default"].createElement(index$8.Button, { className: "submit-btn pointer-event-child-none", size: "lg", "data-event-category": "Ask Doctor", "data-event-action": "Submit Question", "data-event-label": window.location.href, onClick: () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
4001
3998
  if (isReadyToSubmit && !isSubmitting) {
4002
3999
  setIsSubmitting(true);
4003
4000
  try {
@@ -4259,13 +4256,13 @@ var CloseIcon = img$q;
4259
4256
 
4260
4257
  const PopupFrame = ({ className, style, closeIcon, heading = '', children, isOpen = false, hasFullscreen = false, onClose = () => null, }) => {
4261
4258
  const [expand, setExpand] = React.useState(false);
4262
- return (React__namespace["default"].createElement(StyledPopupFrame, { className: className, style: style, isExpand: expand, hasFullscreen: hasFullscreen },
4263
- React__namespace["default"].createElement(index$6.Popup, { type: "confirm", onClose: onClose, isOpen: isOpen, closeIcon: closeIcon || React__namespace["default"].createElement("img", { src: CloseIcon, loading: "lazy" }), enableAnimation: !hasFullscreen },
4264
- React__namespace["default"].createElement("div", { className: "header" },
4265
- React__namespace["default"].createElement(index$2.Heading, { tag: "h5" }, heading),
4266
- hasFullscreen && (React__namespace["default"].createElement(StyledFSBtn, { onClick: () => setExpand(!expand) },
4267
- React__namespace["default"].createElement(other.FullScreen, { size: 14, isExpand: expand })))),
4268
- React__namespace["default"].createElement("div", { className: "content" }, typeof children === 'function' ? children(expand) : children))));
4259
+ return (React__default["default"].createElement(StyledPopupFrame, { className: className, style: style, isExpand: expand, hasFullscreen: hasFullscreen },
4260
+ React__default["default"].createElement(index$6.Popup, { type: "confirm", onClose: onClose, isOpen: isOpen, closeIcon: closeIcon || React__default["default"].createElement("img", { src: CloseIcon, loading: "lazy" }), enableAnimation: !hasFullscreen },
4261
+ React__default["default"].createElement("div", { className: "header" },
4262
+ React__default["default"].createElement(index$2.Heading, { tag: "h5" }, heading),
4263
+ hasFullscreen && (React__default["default"].createElement(StyledFSBtn, { onClick: () => setExpand(!expand) },
4264
+ React__default["default"].createElement(other.FullScreen, { size: 14, isExpand: expand })))),
4265
+ React__default["default"].createElement("div", { className: "content" }, typeof children === 'function' ? children(expand) : children))));
4269
4266
  };
4270
4267
 
4271
4268
  const PopupDanger = ({ className, isMarryBaby: isMarryBabyProp, style, title, description, acceptText, cancelText, onAccept, onCancel, thumbnail, isThumbnailIcon, onClose, acceptBtnTracking, acceptBtnProps, cancelBtnProps, }) => {
@@ -4279,25 +4276,25 @@ const PopupDanger = ({ className, isMarryBaby: isMarryBabyProp, style, title, de
4279
4276
  }, []);
4280
4277
  if (typeof window === 'undefined')
4281
4278
  return null;
4282
- return ReactDOM__namespace.createPortal(React__namespace["default"].createElement(StyledPopupDanger, { "data-is-marrybaby": isMarryBaby, className: className, style: style, "data-open": isOpen },
4283
- React__namespace["default"].createElement(PopupFrame, { className: "popup-frame", isOpen: isOpen, onClose: onClose },
4284
- React__namespace["default"].createElement("div", { className: "confirm-dialog", onClick: (e) => e.stopPropagation() },
4285
- React__namespace["default"].createElement("div", { className: "confirm-content" },
4286
- thumbnail && (React__namespace["default"].createElement("div", { className: `thumbnail-container ${isThumbnailIcon ? 'is-icon' : ''}` },
4287
- React__namespace["default"].createElement("img", { className: "thumbnail", src: thumbnail, loading: "lazy" }))),
4288
- React__namespace["default"].createElement(index$2.Heading, { className: "title", tag: "h2" }, title),
4289
- React__namespace["default"].createElement(index$1.Text, { className: "desc", size: "lg" }, description),
4290
- React__namespace["default"].createElement("div", { className: "btn-group" },
4291
- React__namespace["default"].createElement(index$5.Button, Object.assign({ theme: isMarryBaby ? 'marryBaby' : 'helloSites', size: "md", color: "tertiary", onClick: () => {
4279
+ return ReactDOM__namespace.createPortal(React__default["default"].createElement(StyledPopupDanger, { "data-is-marrybaby": isMarryBaby, className: className, style: style, "data-open": isOpen },
4280
+ React__default["default"].createElement(PopupFrame, { className: "popup-frame", isOpen: isOpen, onClose: onClose },
4281
+ React__default["default"].createElement("div", { className: "confirm-dialog", onClick: (e) => e.stopPropagation() },
4282
+ React__default["default"].createElement("div", { className: "confirm-content" },
4283
+ thumbnail && (React__default["default"].createElement("div", { className: `thumbnail-container ${isThumbnailIcon ? 'is-icon' : ''}` },
4284
+ React__default["default"].createElement("img", { className: "thumbnail", src: thumbnail, loading: "lazy" }))),
4285
+ React__default["default"].createElement(index$2.Heading, { className: "title", tag: "h2" }, title),
4286
+ React__default["default"].createElement(index$1.Text, { className: "desc", size: "lg" }, description),
4287
+ React__default["default"].createElement("div", { className: "btn-group" },
4288
+ React__default["default"].createElement(index$5.Button, Object.assign({ theme: isMarryBaby ? 'marryBaby' : 'helloSites', size: "md", color: "tertiary", onClick: () => {
4292
4289
  onAccept === null || onAccept === void 0 ? void 0 : onAccept();
4293
4290
  onClose === null || onClose === void 0 ? void 0 : onClose();
4294
4291
  } }, acceptBtnProps, acceptBtnTracking), acceptText),
4295
- React__namespace["default"].createElement(index$5.Button, Object.assign({ theme: isMarryBaby ? 'marryBaby' : 'helloSites', size: "md", onClick: () => {
4292
+ React__default["default"].createElement(index$5.Button, Object.assign({ theme: isMarryBaby ? 'marryBaby' : 'helloSites', size: "md", onClick: () => {
4296
4293
  onCancel === null || onCancel === void 0 ? void 0 : onCancel();
4297
4294
  onClose === null || onClose === void 0 ? void 0 : onClose();
4298
4295
  } }, cancelBtnProps), cancelText)))),
4299
- isMarryBaby && thumbnail && (React__namespace["default"].createElement("div", { className: `thumbnail-container is-mobile ${isThumbnailIcon ? 'is-icon' : ''}` },
4300
- React__namespace["default"].createElement("img", { className: "thumbnail", src: thumbnail, loading: "lazy" }))))), utils$1.getPopupWrapperDom());
4296
+ isMarryBaby && thumbnail && (React__default["default"].createElement("div", { className: `thumbnail-container is-mobile ${isThumbnailIcon ? 'is-icon' : ''}` },
4297
+ React__default["default"].createElement("img", { className: "thumbnail", src: thumbnail, loading: "lazy" }))))), utils$1.getPopupWrapperDom());
4301
4298
  };
4302
4299
 
4303
4300
  const StyledInputCommentBar = styled__default["default"].div `
@@ -4709,19 +4706,19 @@ const InputCommentBar = ({ isReply, className, onClose, replyToName, style, repl
4709
4706
  (_a = contentEditable.current) === null || _a === void 0 ? void 0 : _a.focus();
4710
4707
  }, 400);
4711
4708
  }, [trigger]);
4712
- return (React__namespace["default"].createElement(StyledInputCommentBar, { "data-is-reply": isReply, className: className, style: style },
4713
- isReply && (React__namespace["default"].createElement("div", { className: "reply-to-container" },
4714
- React__namespace["default"].createElement(index$1.Text, { size: "p4" },
4715
- React__namespace["default"].createElement("span", { dangerouslySetInnerHTML: {
4709
+ return (React__default["default"].createElement(StyledInputCommentBar, { "data-is-reply": isReply, className: className, style: style },
4710
+ isReply && (React__default["default"].createElement("div", { className: "reply-to-container" },
4711
+ React__default["default"].createElement(index$1.Text, { size: "p4" },
4712
+ React__default["default"].createElement("span", { dangerouslySetInnerHTML: {
4716
4713
  __html: t('inputComment.replyTo', {
4717
4714
  name: `<span style="color: #2D87F3; cursor: pointer">@${replyToName || ''}</span>`,
4718
4715
  }),
4719
4716
  } })),
4720
- React__namespace["default"].createElement("img", { src: IconCloseCircleLine, className: "icon-close-comment", onClick: () => onClose && onClose(), loading: "lazy" }))),
4721
- React__namespace["default"].createElement("div", { className: "input-container", ref: mainInput },
4722
- React__namespace["default"].createElement(index$6.UserAvatar, { className: `avatar-wrapper ${isReply ? 'avatar-wrapper-reply' : ''}`, avatar: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) ? userInfo.avatar : utils.DEFAULT_AVATAR_IMG, username: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.name) || (userInfo === null || userInfo === void 0 ? void 0 : userInfo.username) }),
4723
- React__namespace["default"].createElement("input", { ref: imagePicker, onChange: onSelectImages, type: "file", multiple: true, accept: "image/png,image/jpeg", name: "images", style: { display: 'none' } }),
4724
- React__namespace["default"].createElement(index$b.Input
4717
+ React__default["default"].createElement("img", { src: IconCloseCircleLine, className: "icon-close-comment", onClick: () => onClose && onClose(), loading: "lazy" }))),
4718
+ React__default["default"].createElement("div", { className: "input-container", ref: mainInput },
4719
+ React__default["default"].createElement(index$6.UserAvatar, { className: `avatar-wrapper ${isReply ? 'avatar-wrapper-reply' : ''}`, avatar: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) ? userInfo.avatar : utils.DEFAULT_AVATAR_IMG, username: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.name) || (userInfo === null || userInfo === void 0 ? void 0 : userInfo.username) }),
4720
+ React__default["default"].createElement("input", { ref: imagePicker, onChange: onSelectImages, type: "file", multiple: true, accept: "image/png,image/jpeg", name: "images", style: { display: 'none' } }),
4721
+ React__default["default"].createElement(index$b.Input
4725
4722
  // actionIcon={
4726
4723
  // !isPost ? (
4727
4724
  // <label className="images-input-label">
@@ -4759,21 +4756,21 @@ const InputCommentBar = ({ isReply, className, onClose, replyToName, style, repl
4759
4756
  // </label>
4760
4757
  // ) : undefined
4761
4758
  // }
4762
- value: text, name: "input", size: "md", className: "input-wrapper", displayIcon: React__namespace["default"].createElement("img", { src: IconTabEditPrimary, loading: "lazy" }), CustomInput: React__namespace["default"].createElement("div", { className: "as-input" },
4763
- React__namespace["default"].createElement(RichTextEditor, { className: "textarea", html: text, onChange: setText, onImagePickerClick: () => { var _a; return (_a = imagePicker.current) === null || _a === void 0 ? void 0 : _a.click(); }, bannedWords: bannedWords, onPreviewUrlChange: setPreviewUrl, onInvalidUrlsChange: setInvalidUrls, setEditorRef: (div) => (contentEditable.current = div), isReplying: isReply })) }),
4764
- React__namespace["default"].createElement(index$5.Button, { theme: isMarryBaby ? 'marryBaby' : 'helloSites', className: "send-button", size: "sm", onClick: onSubmitComment, isLoading: isSubmitLoading, isDisabled: !!(invalidUrls === null || invalidUrls === void 0 ? void 0 : invalidUrls.length) ||
4759
+ value: text, name: "input", size: "md", className: "input-wrapper", displayIcon: React__default["default"].createElement("img", { src: IconTabEditPrimary, loading: "lazy" }), CustomInput: React__default["default"].createElement("div", { className: "as-input" },
4760
+ React__default["default"].createElement(RichTextEditor, { className: "textarea", html: text, onChange: setText, onImagePickerClick: () => { var _a; return (_a = imagePicker.current) === null || _a === void 0 ? void 0 : _a.click(); }, bannedWords: bannedWords, onPreviewUrlChange: setPreviewUrl, onInvalidUrlsChange: setInvalidUrls, setEditorRef: (div) => (contentEditable.current = div), isReplying: isReply })) }),
4761
+ React__default["default"].createElement(index$5.Button, { theme: isMarryBaby ? 'marryBaby' : 'helloSites', className: "send-button", size: "sm", onClick: onSubmitComment, isLoading: isSubmitLoading, isDisabled: !!(invalidUrls === null || invalidUrls === void 0 ? void 0 : invalidUrls.length) ||
4765
4762
  isSubmitLoading ||
4766
4763
  !text ||
4767
4764
  (text === null || text === void 0 ? void 0 : text.length) < 2 ||
4768
4765
  !text.trim() },
4769
- React__namespace["default"].createElement("img", { src: IconEnter, className: "icon-enter", loading: "lazy" }))),
4770
- !!(invalidUrls === null || invalidUrls === void 0 ? void 0 : invalidUrls.length) ? (React__namespace["default"].createElement("div", { className: "error-text" }, t('notification.limitUrlDomain'))) : null,
4771
- (!imageSrcs || imageSrcs.length === 0) && previewUrl && (React__namespace["default"].createElement("div", { className: "link-preview-wrapper" }, previewUrl.isFetching ? (React__namespace["default"].createElement(Loading$1, null)) : (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
4772
- React__namespace["default"].createElement(CardLink, { title: previewUrl.title, url: previewUrl.url || '#', image: previewUrl.image, noRefetch: true }),
4773
- React__namespace["default"].createElement("img", { src: IconCloseCircle, className: "icon-close", onClick: () => setPreviewUrl(null), loading: "lazy" }))))),
4774
- imageSrcs && imageSrcs.length > 0 && (React__namespace["default"].createElement("div", { className: "preview-images-container" }, imageSrcs.map((src, index) => (React__namespace["default"].createElement("div", { key: index, className: "image-src-wrapper" },
4775
- React__namespace["default"].createElement("img", { className: "preview-image", src: src, loading: "lazy" }),
4776
- React__namespace["default"].createElement("img", { src: IconCloseCircle, className: "icon-close-circle", onClick: () => onRemoveImage(index), loading: "lazy" }))))))));
4766
+ React__default["default"].createElement("img", { src: IconEnter, className: "icon-enter", loading: "lazy" }))),
4767
+ !!(invalidUrls === null || invalidUrls === void 0 ? void 0 : invalidUrls.length) ? (React__default["default"].createElement("div", { className: "error-text" }, t('notification.limitUrlDomain'))) : null,
4768
+ (!imageSrcs || imageSrcs.length === 0) && previewUrl && (React__default["default"].createElement("div", { className: "link-preview-wrapper" }, previewUrl.isFetching ? (React__default["default"].createElement(Loading$1, null)) : (React__default["default"].createElement(React__default["default"].Fragment, null,
4769
+ React__default["default"].createElement(CardLink, { title: previewUrl.title, url: previewUrl.url || '#', image: previewUrl.image, noRefetch: true }),
4770
+ React__default["default"].createElement("img", { src: IconCloseCircle, className: "icon-close", onClick: () => setPreviewUrl(null), loading: "lazy" }))))),
4771
+ imageSrcs && imageSrcs.length > 0 && (React__default["default"].createElement("div", { className: "preview-images-container" }, imageSrcs.map((src, index) => (React__default["default"].createElement("div", { key: index, className: "image-src-wrapper" },
4772
+ React__default["default"].createElement("img", { className: "preview-image", src: src, loading: "lazy" }),
4773
+ React__default["default"].createElement("img", { src: IconCloseCircle, className: "icon-close-circle", onClick: () => onRemoveImage(index), loading: "lazy" }))))))));
4777
4774
  };
4778
4775
 
4779
4776
  const StyledItemWrapper = styled__default["default"].a `
@@ -5048,15 +5045,15 @@ const ShareBox = ({ className, trackingCategory = 'Together', style, shareUrl, t
5048
5045
  }
5049
5046
  }, []);
5050
5047
  const socialList = getSocialList(shareUrl || '', isMarryBaby);
5051
- return (React__namespace["default"].createElement(StyledShare, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
5052
- React__namespace["default"].createElement("div", { className: "share__social" }, socialList.map((social, index) => (React__namespace["default"].createElement(StyledItemWrapper, { key: index, "data-event-category": trackingCategory, "data-event-action": `Social Share - ${social.name}`, "data-event-label": shareUrl, href: social.href, target: "_blank", rel: "noreferrer" },
5053
- React__namespace["default"].createElement(index$8.ImageWrap, { alt: `share to ${social}`, src: social.icon }),
5054
- React__namespace["default"].createElement(index$1.Text, { className: "__label", size: "label2", weight: "regular" }, social.name))))),
5055
- React__namespace["default"].createElement("div", { className: "share__copy-link" },
5056
- React__namespace["default"].createElement(index$1.Text, { className: "__label", color: theme.theme.colors.gray500, size: "p4", weight: "regular" }, t('orCopyLink')),
5057
- React__namespace["default"].createElement("div", { className: "__input-group" },
5058
- React__namespace["default"].createElement("input", { ref: input, type: "text", value: shareUrl, readOnly: true, onFocus: (e) => e.target.select() }),
5059
- React__namespace["default"].createElement("button", { className: "__copy", onClick: () => copyToClipboard() }, isMarryBaby ? (React__namespace["default"].createElement(index$8.ImageWrap, { alt: "copy share link", src: MBIconCopy })) : (t(copied ? 'copied' : 'copy')))))));
5048
+ return (React__default["default"].createElement(StyledShare, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
5049
+ React__default["default"].createElement("div", { className: "share__social" }, socialList.map((social, index) => (React__default["default"].createElement(StyledItemWrapper, { key: index, "data-event-category": trackingCategory, "data-event-action": `Social Share - ${social.name}`, "data-event-label": shareUrl, href: social.href, target: "_blank", rel: "noreferrer" },
5050
+ React__default["default"].createElement(index$8.ImageWrap, { alt: `share to ${social}`, src: social.icon }),
5051
+ React__default["default"].createElement(index$1.Text, { className: "__label", size: "label2", weight: "regular" }, social.name))))),
5052
+ React__default["default"].createElement("div", { className: "share__copy-link" },
5053
+ React__default["default"].createElement(index$1.Text, { className: "__label", color: theme.theme.colors.gray500, size: "p4", weight: "regular" }, t('orCopyLink')),
5054
+ React__default["default"].createElement("div", { className: "__input-group" },
5055
+ React__default["default"].createElement("input", { ref: input, type: "text", value: shareUrl, readOnly: true, onFocus: (e) => e.target.select() }),
5056
+ React__default["default"].createElement("button", { className: "__copy", onClick: () => copyToClipboard() }, isMarryBaby ? (React__default["default"].createElement(index$8.ImageWrap, { alt: "copy share link", src: MBIconCopy })) : (t(copied ? 'copied' : 'copy')))))));
5060
5057
  };
5061
5058
 
5062
5059
  const SharePopup = ({ trackingCategory, className, style, url, avatar, text, onClose, }) => {
@@ -5068,16 +5065,16 @@ const SharePopup = ({ trackingCategory, className, style, url, avatar, text, onC
5068
5065
  setTimeout(() => setIsOpen(true), 0);
5069
5066
  return () => utils$1.toggleNoScroll(false);
5070
5067
  }, []);
5071
- return (React__namespace["default"].createElement(core.Portal, null,
5072
- React__namespace["default"].createElement(StyledSharePopup, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
5073
- React__namespace["default"].createElement(PopupFrame, { className: "share-popup", isOpen: isOpen, onClose: onClose, heading: t('bottomBar.share') },
5074
- isMarryBaby ? (React__namespace["default"].createElement(index$1.Text, { className: "share-mb-text", size: "sm" }, t('article.shareOn'))) : (React__namespace["default"].createElement("div", { className: "custom-share__header" },
5075
- avatar && (React__namespace["default"].createElement("div", { className: "custom-share__header-image" },
5076
- React__namespace["default"].createElement("img", { src: avatar, loading: "lazy" }))),
5077
- React__namespace["default"].createElement("div", { className: "custom-share__header-info" },
5078
- React__namespace["default"].createElement(index$2.Heading, { tag: "h4" }, text),
5079
- React__namespace["default"].createElement(index$1.Text, { className: "desc", size: "md" }, url)))),
5080
- isOpen && (React__namespace["default"].createElement(ShareBox, { trackingCategory: trackingCategory, shareUrl: url ||
5068
+ return (React__default["default"].createElement(core.Portal, null,
5069
+ React__default["default"].createElement(StyledSharePopup, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
5070
+ React__default["default"].createElement(PopupFrame, { className: "share-popup", isOpen: isOpen, onClose: onClose, heading: t('bottomBar.share') },
5071
+ isMarryBaby ? (React__default["default"].createElement(index$1.Text, { className: "share-mb-text", size: "sm" }, t('article.shareOn'))) : (React__default["default"].createElement("div", { className: "custom-share__header" },
5072
+ avatar && (React__default["default"].createElement("div", { className: "custom-share__header-image" },
5073
+ React__default["default"].createElement("img", { src: avatar, loading: "lazy" }))),
5074
+ React__default["default"].createElement("div", { className: "custom-share__header-info" },
5075
+ React__default["default"].createElement(index$2.Heading, { tag: "h4" }, text),
5076
+ React__default["default"].createElement(index$1.Text, { className: "desc", size: "md" }, url)))),
5077
+ isOpen && (React__default["default"].createElement(ShareBox, { trackingCategory: trackingCategory, shareUrl: url ||
5081
5078
  (typeof window !== 'undefined' ? window.location.href : ''), title: text }))))));
5082
5079
  };
5083
5080
  const StyledSharePopup = styled__default["default"].div `
@@ -5208,12 +5205,12 @@ const SubmitReportForm = ({ className, style, reason, reasonText, onClose, postI
5208
5205
  const { data: { locale, env: { isMarryBaby }, }, action: { pushNotifications }, } = React.useContext(utils.TogetherComponentGlobalContext);
5209
5206
  const { t } = useTranslations.useTranslations();
5210
5207
  const [loading, setLoading] = React.useState(false);
5211
- return (React__namespace["default"].createElement(StyledSubmitReportForm, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
5212
- React__namespace["default"].createElement("ul", { className: "report-list" },
5213
- React__namespace["default"].createElement("li", { className: "report-item" },
5214
- React__namespace["default"].createElement("img", { src: IconAlertCircle, loading: "lazy" }),
5215
- React__namespace["default"].createElement(index$1.Text, { className: "__label", color: theme.theme.colors.gray800, size: "p4" }, reasonText))),
5216
- React__namespace["default"].createElement(index$5.Button, { theme: isMarryBaby ? 'marryBaby' : 'helloSites', className: "report-submit", size: "lg", color: "primary", isLoading: loading, onClick: () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
5208
+ return (React__default["default"].createElement(StyledSubmitReportForm, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
5209
+ React__default["default"].createElement("ul", { className: "report-list" },
5210
+ React__default["default"].createElement("li", { className: "report-item" },
5211
+ React__default["default"].createElement("img", { src: IconAlertCircle, loading: "lazy" }),
5212
+ React__default["default"].createElement(index$1.Text, { className: "__label", color: theme.theme.colors.gray800, size: "p4" }, reasonText))),
5213
+ React__default["default"].createElement(index$5.Button, { theme: isMarryBaby ? 'marryBaby' : 'helloSites', className: "report-submit", size: "lg", color: "primary", isLoading: loading, onClick: () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
5217
5214
  if (!postId || loading)
5218
5215
  return;
5219
5216
  setLoading(true);
@@ -5366,21 +5363,21 @@ const PostContent = (_a) => {
5366
5363
  });
5367
5364
  };
5368
5365
  }, [disableShortenContent, showAll, description]);
5369
- return (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
5370
- hasExpert && (React__namespace["default"].createElement(PopupExpert, { isOpen: openPopupExpert, onClose: () => setOpenPopupExpert(false), expertId: String(mentionedUser === null || mentionedUser === void 0 ? void 0 : mentionedUser.partnerId) })),
5371
- React__namespace["default"].createElement(StyledPostContent, Object.assign({ ref: contentRef, className: `${classes.root} ${className} no-replace-click`, style: style, mentionColor: _theme.fn.primaryColor() }, rest),
5372
- replyName && (React__namespace["default"].createElement(core.Anchor, { onClick: () => hasExpert && setOpenPopupExpert(true), className: "post-content-replying" },
5366
+ return (React__default["default"].createElement(React__default["default"].Fragment, null,
5367
+ hasExpert && (React__default["default"].createElement(PopupExpert, { isOpen: openPopupExpert, onClose: () => setOpenPopupExpert(false), expertId: String(mentionedUser === null || mentionedUser === void 0 ? void 0 : mentionedUser.partnerId) })),
5368
+ React__default["default"].createElement(StyledPostContent, Object.assign({ ref: contentRef, className: `${classes.root} ${className} no-replace-click`, style: style, mentionColor: _theme.fn.primaryColor() }, rest),
5369
+ replyName && (React__default["default"].createElement(core.Anchor, { onClick: () => hasExpert && setOpenPopupExpert(true), className: "post-content-replying" },
5373
5370
  "@",
5374
5371
  replyName)),
5375
- (rawDescription === null || rawDescription === void 0 ? void 0 : rawDescription.startsWith('[mention+id=')) && (React__namespace["default"].createElement("span", { className: "post-content-replying tag-only", style: {
5372
+ (rawDescription === null || rawDescription === void 0 ? void 0 : rawDescription.startsWith('[mention+id=')) && (React__default["default"].createElement("span", { className: "post-content-replying tag-only", style: {
5376
5373
  color: _theme.fn.primaryColor(),
5377
5374
  } }, "@")),
5378
- React__namespace["default"].createElement("span", { dangerouslySetInnerHTML: {
5375
+ React__default["default"].createElement("span", { dangerouslySetInnerHTML: {
5379
5376
  __html: shortenSanitizedContentData.showContent,
5380
5377
  }, className: `post-content ${shortenSanitizedContentData.hasSeeMore ? 'has-see-more' : ''}` }),
5381
- shortenSanitizedContentData.hasSeeMore && !showAll && (React__namespace["default"].createElement("span", null,
5378
+ shortenSanitizedContentData.hasSeeMore && !showAll && (React__default["default"].createElement("span", null,
5382
5379
  `... `,
5383
- !hideShowAllBtn && (React__namespace["default"].createElement(core.Anchor, Object.assign({ onClick: (e) => {
5380
+ !hideShowAllBtn && (React__default["default"].createElement(core.Anchor, Object.assign({ onClick: (e) => {
5384
5381
  e.preventDefault();
5385
5382
  e.stopPropagation();
5386
5383
  authActionWrapper(() => setShowAll(true));
@@ -5419,10 +5416,10 @@ const StyledIcon$1 = styled__default["default"].div `
5419
5416
 
5420
5417
  const NotificationBar = (_a) => {
5421
5418
  var { icon, bgColor = theme.theme.colors.yellow50, highlightColor = theme.theme.colors.yellow800, message } = _a, rest = tslib_es6.__rest(_a, ["icon", "bgColor", "highlightColor", "message"]);
5422
- return (React__namespace["default"].createElement(StyledWrapper$1, Object.assign({ bgColor: bgColor, highlight: highlightColor }, rest),
5423
- React__namespace["default"].createElement(StyledInner$1, null,
5424
- icon && React__namespace["default"].createElement(StyledIcon$1, null, icon),
5425
- React__namespace["default"].createElement(StyledText, { "data-has-icon": Boolean(icon) }, message))));
5419
+ return (React__default["default"].createElement(StyledWrapper$1, Object.assign({ bgColor: bgColor, highlight: highlightColor }, rest),
5420
+ React__default["default"].createElement(StyledInner$1, null,
5421
+ icon && React__default["default"].createElement(StyledIcon$1, null, icon),
5422
+ React__default["default"].createElement(StyledText, { "data-has-icon": Boolean(icon) }, message))));
5426
5423
  };
5427
5424
 
5428
5425
  const StyledPostImagePreview = styled__default["default"].div `
@@ -5598,16 +5595,16 @@ const ImagePreviewPopup = ({ className, style, authorName, images, onClose, onOp
5598
5595
  setIsOpen(true);
5599
5596
  }, 0);
5600
5597
  }, []);
5601
- return (React__namespace["default"].createElement(core.Portal, null,
5602
- React__namespace["default"].createElement(StyledImagePreviewPopup, { className: className, style: style, "data-open": isOpen },
5603
- React__namespace["default"].createElement("div", { className: "top-bar" },
5604
- React__namespace["default"].createElement("img", { className: "icon-arrow-left", src: IconArrowLeft, onClick: onClose, alt: "go back", loading: "lazy" }),
5605
- React__namespace["default"].createElement(index$1.Text, { size: "p2", weight: "bold", style: {
5598
+ return (React__default["default"].createElement(core.Portal, null,
5599
+ React__default["default"].createElement(StyledImagePreviewPopup, { className: className, style: style, "data-open": isOpen },
5600
+ React__default["default"].createElement("div", { className: "top-bar" },
5601
+ React__default["default"].createElement("img", { className: "icon-arrow-left", src: IconArrowLeft, onClick: onClose, alt: "go back", loading: "lazy" }),
5602
+ React__default["default"].createElement(index$1.Text, { size: "p2", weight: "bold", style: {
5606
5603
  textAlign: 'center',
5607
5604
  } }, t('previewPhotos.title', {
5608
5605
  name: authorName,
5609
5606
  }))),
5610
- React__namespace["default"].createElement("div", { className: "container" }, images.map((image, index) => (React__namespace["default"].createElement("img", { className: "img-preview", key: index, src: image, onClick: () => onOpenSingleView === null || onOpenSingleView === void 0 ? void 0 : onOpenSingleView(index), alt: alt, loading: "lazy" }))))),
5607
+ React__default["default"].createElement("div", { className: "container" }, images.map((image, index) => (React__default["default"].createElement("img", { className: "img-preview", key: index, src: image, onClick: () => onOpenSingleView === null || onOpenSingleView === void 0 ? void 0 : onOpenSingleView(index), alt: alt, loading: "lazy" }))))),
5611
5608
  ","));
5612
5609
  };
5613
5610
 
@@ -5707,21 +5704,21 @@ const PostSingleImageViewPopup = ({ initialViewIndex, images, onClose, alt, }) =
5707
5704
  const previewImg = images === null || images === void 0 ? void 0 : images[viewIndex];
5708
5705
  const leftDisabled = viewIndex === 0;
5709
5706
  const rightDisabled = !(images === null || images === void 0 ? void 0 : images.length) || viewIndex === (images === null || images === void 0 ? void 0 : images.length) - 1;
5710
- return (React__namespace["default"].createElement(core.Portal, null,
5711
- React__namespace["default"].createElement(StyledImagePreviewContainer, { "data-open": isOpen && !!previewImg },
5712
- React__namespace["default"].createElement(StyledImagePreviewTopbar, null,
5713
- React__namespace["default"].createElement("img", { src: CloseIcon, className: "icon-close", onClick: onClose, alt: "close", loading: "lazy" })),
5714
- previewImg && viewIndex >= 0 && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
5715
- React__namespace["default"].createElement(StyledImagePreviewWrapper, null,
5716
- React__namespace["default"].createElement("img", { className: "img-preview", src: previewImg, alt: alt, loading: "lazy" }),
5717
- React__namespace["default"].createElement(StyledArrowWrapper, { "data-disabled": leftDisabled, onClick: () => !leftDisabled && setViewIndex(viewIndex - 1) },
5718
- React__namespace["default"].createElement(StyledCircleArrow, null,
5719
- React__namespace["default"].createElement("img", { src: ChevronRightIcon, style: {
5707
+ return (React__default["default"].createElement(core.Portal, null,
5708
+ React__default["default"].createElement(StyledImagePreviewContainer, { "data-open": isOpen && !!previewImg },
5709
+ React__default["default"].createElement(StyledImagePreviewTopbar, null,
5710
+ React__default["default"].createElement("img", { src: CloseIcon, className: "icon-close", onClick: onClose, alt: "close", loading: "lazy" })),
5711
+ previewImg && viewIndex >= 0 && (React__default["default"].createElement(React__default["default"].Fragment, null,
5712
+ React__default["default"].createElement(StyledImagePreviewWrapper, null,
5713
+ React__default["default"].createElement("img", { className: "img-preview", src: previewImg, alt: alt, loading: "lazy" }),
5714
+ React__default["default"].createElement(StyledArrowWrapper, { "data-disabled": leftDisabled, onClick: () => !leftDisabled && setViewIndex(viewIndex - 1) },
5715
+ React__default["default"].createElement(StyledCircleArrow, null,
5716
+ React__default["default"].createElement("img", { src: ChevronRightIcon, style: {
5720
5717
  transform: 'rotate(180deg)',
5721
5718
  }, alt: "left arrow", "data-disabled": leftDisabled, loading: "lazy" }))),
5722
- React__namespace["default"].createElement(StyledArrowWrapper, { "data-right": true, "data-disabled": rightDisabled, onClick: () => !rightDisabled && setViewIndex(viewIndex + 1) },
5723
- React__namespace["default"].createElement(StyledCircleArrow, null,
5724
- React__namespace["default"].createElement("img", { src: ChevronRightIcon, alt: "right arrow", "data-disabled": rightDisabled, loading: "lazy" })))))))));
5719
+ React__default["default"].createElement(StyledArrowWrapper, { "data-right": true, "data-disabled": rightDisabled, onClick: () => !rightDisabled && setViewIndex(viewIndex + 1) },
5720
+ React__default["default"].createElement(StyledCircleArrow, null,
5721
+ React__default["default"].createElement("img", { src: ChevronRightIcon, alt: "right arrow", "data-disabled": rightDisabled, loading: "lazy" })))))))));
5725
5722
  };
5726
5723
 
5727
5724
  const _StyledInner = styled__default["default"].div `
@@ -5788,14 +5785,14 @@ const StyledWrapper = styled__default["default"].div `
5788
5785
 
5789
5786
  const SensitiveMask = ({ image, showIcon = true }) => {
5790
5787
  const [isBlur, setBlur] = React.useState(true);
5791
- return (React__namespace["default"].createElement(StyledWrapper, { "data-is-blurred": isBlur, onClick: (e) => isBlur && e.stopPropagation() },
5792
- React__namespace["default"].createElement("img", { loading: "lazy", className: "img-preview", src: image }),
5793
- React__namespace["default"].createElement(StyledInner, { onClick: (e) => {
5788
+ return (React__default["default"].createElement(StyledWrapper, { "data-is-blurred": isBlur, onClick: (e) => isBlur && e.stopPropagation() },
5789
+ React__default["default"].createElement("img", { loading: "lazy", className: "img-preview", src: image }),
5790
+ React__default["default"].createElement(StyledInner, { onClick: (e) => {
5794
5791
  e.stopPropagation();
5795
5792
  setBlur(!isBlur);
5796
- } }, showIcon && (React__namespace["default"].createElement(StyledIcon, null, isBlur ? (React__namespace["default"].createElement("svg", { width: "22", height: "20", viewBox: "0 0 22 20", fill: "none" },
5797
- React__namespace["default"].createElement("path", { d: "M1.71 2.54a.996.996 0 0 1 0-1.41c.39-.39 1.03-.39 1.42 0l16.31 16.33a.996.996 0 1 1-1.41 1.41l-2.72-2.72c-1.34.52-2.79.82-4.31.82-5 0-9.27-3.11-11-7.5C.77 7.5 2.06 5.8 3.68 4.51zM16 9.47c0-2.76-2.24-5-5-5-.51 0-1 .1-1.47.24L7.36 2.54c1.15-.37 2.37-.57 3.64-.57 5 0 9.27 3.11 11 7.49-.69 1.76-1.79 3.3-3.18 4.53l-3.06-3.06c.14-.46.24-.95.24-1.46m-5 5c-2.76 0-5-2.24-5-5 0-.77.18-1.5.49-2.14L8.06 8.9c-.03.18-.06.37-.06.57 0 1.66 1.34 3 3 3 .2 0 .38-.03.57-.07l1.57 1.57c-.65.32-1.37.5-2.14.5m2.97-5.33a2.97 2.97 0 0 0-2.64-2.64z", fill: "#fff" }))) : (React__namespace["default"].createElement("svg", { width: "23", height: "16", viewBox: "0 0 23 16", fill: "none" },
5798
- React__namespace["default"].createElement("path", { d: "M12 0C5.142 0 1.886 5.879 1.096 7.557c-.132.28-.132.604 0 .884C1.886 10.121 5.142 16 12 16c6.834 0 10.092-5.837 10.896-7.54a1.08 1.08 0 0 0 0-.92C22.092 5.836 18.834 0 12 0m0 3a5 5 0 1 1-.001 10.001 5 5 0 0 1 0-10.001m0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6", fill: "#2D87F3" }))))))));
5793
+ } }, showIcon && (React__default["default"].createElement(StyledIcon, null, isBlur ? (React__default["default"].createElement("svg", { width: "22", height: "20", viewBox: "0 0 22 20", fill: "none" },
5794
+ React__default["default"].createElement("path", { d: "M1.71 2.54a.996.996 0 0 1 0-1.41c.39-.39 1.03-.39 1.42 0l16.31 16.33a.996.996 0 1 1-1.41 1.41l-2.72-2.72c-1.34.52-2.79.82-4.31.82-5 0-9.27-3.11-11-7.5C.77 7.5 2.06 5.8 3.68 4.51zM16 9.47c0-2.76-2.24-5-5-5-.51 0-1 .1-1.47.24L7.36 2.54c1.15-.37 2.37-.57 3.64-.57 5 0 9.27 3.11 11 7.49-.69 1.76-1.79 3.3-3.18 4.53l-3.06-3.06c.14-.46.24-.95.24-1.46m-5 5c-2.76 0-5-2.24-5-5 0-.77.18-1.5.49-2.14L8.06 8.9c-.03.18-.06.37-.06.57 0 1.66 1.34 3 3 3 .2 0 .38-.03.57-.07l1.57 1.57c-.65.32-1.37.5-2.14.5m2.97-5.33a2.97 2.97 0 0 0-2.64-2.64z", fill: "#fff" }))) : (React__default["default"].createElement("svg", { width: "23", height: "16", viewBox: "0 0 23 16", fill: "none" },
5795
+ React__default["default"].createElement("path", { d: "M12 0C5.142 0 1.886 5.879 1.096 7.557c-.132.28-.132.604 0 .884C1.886 10.121 5.142 16 12 16c6.834 0 10.092-5.837 10.896-7.54a1.08 1.08 0 0 0 0-.92C22.092 5.836 18.834 0 12 0m0 3a5 5 0 1 1-.001 10.001 5 5 0 0 1 0-10.001m0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6", fill: "#2D87F3" }))))))));
5799
5796
  };
5800
5797
 
5801
5798
  const PostImagePreview = ({ className, images = [], style, authorName, isSensitive = false, alt, }) => {
@@ -5824,12 +5821,12 @@ const PostImagePreview = ({ className, images = [], style, authorName, isSensiti
5824
5821
  hasSetNoScroll.current = false;
5825
5822
  }
5826
5823
  }, [isOpenImagePreview, singleImageViewIndex]);
5827
- return (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
5828
- isSensitive && (React__namespace["default"].createElement(StyledNotificationBar, { message: t('sensitiveMask.contentWarningDescription'), icon: React__namespace["default"].createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
5829
- React__namespace["default"].createElement("path", { d: "M9 .667A8.336 8.336 0 0 0 .667 9c0 4.6 3.733 8.333 8.333 8.333S17.333 13.6 17.333 9 13.6.667 9 .667m0 9.166A.836.836 0 0 1 8.167 9V5.667c0-.459.375-.834.833-.834s.833.375.833.834V9A.836.836 0 0 1 9 9.833M8.167 11.5v1.667h1.666V11.5z", fill: "#FE921D" })) })),
5830
- React__namespace["default"].createElement(StyledPostImagePreview, { className: className, style: style, "data-image-count": hasMore ? 5 : images.length || 0, "data-is-marrybaby": isMarryBaby, "data-cursor-pointer": !isSensitive }, images === null || images === void 0 ? void 0 : images.slice(0, 5).map((image, index) => {
5824
+ return (React__default["default"].createElement(React__default["default"].Fragment, null,
5825
+ isSensitive && (React__default["default"].createElement(StyledNotificationBar, { message: t('sensitiveMask.contentWarningDescription'), icon: React__default["default"].createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
5826
+ React__default["default"].createElement("path", { d: "M9 .667A8.336 8.336 0 0 0 .667 9c0 4.6 3.733 8.333 8.333 8.333S17.333 13.6 17.333 9 13.6.667 9 .667m0 9.166A.836.836 0 0 1 8.167 9V5.667c0-.459.375-.834.833-.834s.833.375.833.834V9A.836.836 0 0 1 9 9.833M8.167 11.5v1.667h1.666V11.5z", fill: "#FE921D" })) })),
5827
+ React__default["default"].createElement(StyledPostImagePreview, { className: className, style: style, "data-image-count": hasMore ? 5 : images.length || 0, "data-is-marrybaby": isMarryBaby, "data-cursor-pointer": !isSensitive }, images === null || images === void 0 ? void 0 : images.slice(0, 5).map((image, index) => {
5831
5828
  const isMore = index === 4 && hasMore;
5832
- return (React__namespace["default"].createElement("div", { className: `img-wrapper`, key: index, onClick: () => {
5829
+ return (React__default["default"].createElement("div", { className: `img-wrapper`, key: index, onClick: () => {
5833
5830
  if (index >= 4 && hasMore) {
5834
5831
  setIsOpenImagePreview(true);
5835
5832
  }
@@ -5837,14 +5834,14 @@ const PostImagePreview = ({ className, images = [], style, authorName, isSensiti
5837
5834
  setSingleImageViewIndex(index);
5838
5835
  }
5839
5836
  } },
5840
- isSensitive && (React__namespace["default"].createElement(SensitiveMask, { image: image, showIcon: !isMore })),
5841
- !isMarryBaby && (React__namespace["default"].createElement("img", { loading: "lazy", className: "img-preview-blur", src: image, alt: alt })),
5842
- React__namespace["default"].createElement("img", { loading: "lazy", className: "img-preview", src: image, alt: alt }),
5843
- isMore && (React__namespace["default"].createElement("div", { className: "img-more-overlay" },
5844
- React__namespace["default"].createElement(index$2.Heading, { tag: "h1", as: "h2", color: "white" }, moreImageCount)))));
5837
+ isSensitive && (React__default["default"].createElement(SensitiveMask, { image: image, showIcon: !isMore })),
5838
+ !isMarryBaby && (React__default["default"].createElement("img", { loading: "lazy", className: "img-preview-blur", src: image, alt: alt })),
5839
+ React__default["default"].createElement("img", { loading: "lazy", className: "img-preview", src: image, alt: alt }),
5840
+ isMore && (React__default["default"].createElement("div", { className: "img-more-overlay" },
5841
+ React__default["default"].createElement(index$2.Heading, { tag: "h1", as: "h2", color: "white" }, moreImageCount)))));
5845
5842
  })),
5846
- isOpenImagePreview && (React__namespace["default"].createElement(ImagePreviewPopup, { authorName: authorName || '', images: images, onClose: () => setIsOpenImagePreview(false), onOpenSingleView: setSingleImageViewIndex, alt: alt })),
5847
- singleImageViewIndex >= 0 && (React__namespace["default"].createElement(PostSingleImageViewPopup, { images: images, initialViewIndex: singleImageViewIndex, onClose: () => setSingleImageViewIndex(-1), alt: alt }))));
5843
+ isOpenImagePreview && (React__default["default"].createElement(ImagePreviewPopup, { authorName: authorName || '', images: images, onClose: () => setIsOpenImagePreview(false), onOpenSingleView: setSingleImageViewIndex, alt: alt })),
5844
+ singleImageViewIndex >= 0 && (React__default["default"].createElement(PostSingleImageViewPopup, { images: images, initialViewIndex: singleImageViewIndex, onClose: () => setSingleImageViewIndex(-1), alt: alt }))));
5848
5845
  };
5849
5846
 
5850
5847
  const StyledSocialLinkPreview = styled__default["default"].div `
@@ -5971,13 +5968,13 @@ const SocialLinkPreview = ({ url, image, className, style, baseUrl = '', autoPla
5971
5968
  }, []);
5972
5969
  const containerRef = React.useRef(null);
5973
5970
  const _theme = core.useMantineTheme();
5974
- return (React__namespace["default"].createElement(StyledSocialLinkPreview, { className: `${className} no-replace-click`, style: style, ref: containerRef, color: _theme.colors[_theme.primaryColor][0] }, !image && (youtubeVidId || facebookVidId) ? (React__namespace["default"].createElement("div", { className: "link-image-wrapper" }, youtubeVidId ? (React__namespace["default"].createElement("iframe", { width: "100%", height: "100%", src: `https://www.youtube.com/embed/${youtubeVidId}?&autoplay=${autoPlay ? 1 : 0}&mute=1&enablejsapi=1`, frameBorder: "0", allowFullScreen: true, style: {
5971
+ return (React__default["default"].createElement(StyledSocialLinkPreview, { className: `${className} no-replace-click`, style: style, ref: containerRef, color: _theme.colors[_theme.primaryColor][0] }, !image && (youtubeVidId || facebookVidId) ? (React__default["default"].createElement("div", { className: "link-image-wrapper" }, youtubeVidId ? (React__default["default"].createElement("iframe", { width: "100%", height: "100%", src: `https://www.youtube.com/embed/${youtubeVidId}?&autoplay=${autoPlay ? 1 : 0}&mute=1&enablejsapi=1`, frameBorder: "0", allowFullScreen: true, style: {
5975
5972
  position: 'absolute',
5976
5973
  top: 0,
5977
5974
  left: 0,
5978
5975
  border: 'none',
5979
5976
  overflow: 'hidden',
5980
- }, loading: "lazy" })) : facebookVidId ? (React__namespace["default"].createElement("iframe", { key: String(forceRerenderFB), src: `https://www.facebook.com/plugins/video.php?href=${encodeURIComponent(displayUrl)}&autoplay=${autoPlay ? 1 : 0}&show_text=false&t=0&width=${responsiveWidth.current}&height=${responsiveHeight.current}`, style: {
5977
+ }, loading: "lazy" })) : facebookVidId ? (React__default["default"].createElement("iframe", { key: String(forceRerenderFB), src: `https://www.facebook.com/plugins/video.php?href=${encodeURIComponent(displayUrl)}&autoplay=${autoPlay ? 1 : 0}&show_text=false&t=0&width=${responsiveWidth.current}&height=${responsiveHeight.current}`, style: {
5981
5978
  position: 'absolute',
5982
5979
  top: '50%',
5983
5980
  left: '50%',
@@ -5986,25 +5983,25 @@ const SocialLinkPreview = ({ url, image, className, style, baseUrl = '', autoPla
5986
5983
  height: responsiveHeight.current,
5987
5984
  width: responsiveWidth.current,
5988
5985
  transform: 'translate(-50%, -50%)',
5989
- }, scrolling: "no", frameBorder: "0", allowFullScreen: true, allow: "autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share", loading: "lazy" })) : null)) : (React__namespace["default"].createElement("a", { href: displayUrl, target: "_blank", rel: "noreferrer" },
5990
- React__namespace["default"].createElement("div", { className: `link-image-wrapper ${(previewData === null || previewData === void 0 ? void 0 : previewData.isFetching) ? 'fetching' : ''}` }, (previewData === null || previewData === void 0 ? void 0 : previewData.isFetching) ? (React__namespace["default"].createElement(Loading$1, { className: "loading-spinner" })) : (React__namespace["default"].createElement(index$8.ImageWrap, { className: "link-image", src: displayImage || utils.DEFAULT_IMG, backupSrc: utils.DEFAULT_IMG, alt: displayUrl })))))));
5986
+ }, scrolling: "no", frameBorder: "0", allowFullScreen: true, allow: "autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share", loading: "lazy" })) : null)) : (React__default["default"].createElement("a", { href: displayUrl, target: "_blank", rel: "noreferrer" },
5987
+ React__default["default"].createElement("div", { className: `link-image-wrapper ${(previewData === null || previewData === void 0 ? void 0 : previewData.isFetching) ? 'fetching' : ''}` }, (previewData === null || previewData === void 0 ? void 0 : previewData.isFetching) ? (React__default["default"].createElement(Loading$1, { className: "loading-spinner" })) : (React__default["default"].createElement(index$8.ImageWrap, { className: "link-image", src: displayImage || utils.DEFAULT_IMG, backupSrc: utils.DEFAULT_IMG, alt: displayUrl })))))));
5991
5988
  };
5992
5989
 
5993
5990
  var styles$f = {"loading":"PD6nRZX"};
5994
5991
 
5995
5992
  const Loading = ({ className, size = 'md' }) => {
5996
5993
  const { t } = useTranslations.useTranslations();
5997
- return (React__namespace["default"].createElement("div", { className: `${styles$f.loading} ${className}` },
5998
- React__namespace["default"].createElement(index$5.Button, { size: size, color: "transparent", isLoading: true }, t('loading'))));
5994
+ return (React__default["default"].createElement("div", { className: `${styles$f.loading} ${className}` },
5995
+ React__default["default"].createElement(index$5.Button, { size: size, color: "transparent", isLoading: true }, t('loading'))));
5999
5996
  };
6000
5997
 
6001
5998
  var styles$e = {"category":"l5fL1xL","title":"L-aGKo7"};
6002
5999
 
6003
6000
  const CategoryText = ({ children, className = '' }) => {
6004
- return React__namespace["default"].createElement("div", { className: `${styles$e.category} ${className}` }, children);
6001
+ return React__default["default"].createElement("div", { className: `${styles$e.category} ${className}` }, children);
6005
6002
  };
6006
6003
  const Title = ({ children, className = '' }) => {
6007
- return React__namespace["default"].createElement("div", { className: `${styles$e.title} ${className}` }, children);
6004
+ return React__default["default"].createElement("div", { className: `${styles$e.title} ${className}` }, children);
6008
6005
  };
6009
6006
 
6010
6007
  var styles$d = {"container":"eaR8ATZ","info":"xM-7K0a"};
@@ -6012,21 +6009,21 @@ var styles$d = {"container":"eaR8ATZ","info":"xM-7K0a"};
6012
6009
  var styles$c = {"inner":"DZmf3s7"};
6013
6010
 
6014
6011
  const Thumbnail = ({ src, defaultSrc = index$9.CommonGAssets.getAssetPath('logo/logomark.png'), ratio = 1, size = 80, radius = 8, alt, className = '', }) => {
6015
- return (React__namespace["default"].createElement("div", { className: className },
6016
- React__namespace["default"].createElement("div", { className: styles$c.inner, style: {
6012
+ return (React__default["default"].createElement("div", { className: className },
6013
+ React__default["default"].createElement("div", { className: styles$c.inner, style: {
6017
6014
  width: `${size}px`,
6018
6015
  height: `${size * ratio}px`,
6019
6016
  borderRadius: `${radius}px`,
6020
6017
  } },
6021
- React__namespace["default"].createElement(index$8.ImageWrap, { src: src, backupSrc: defaultSrc, alt: alt }))));
6018
+ React__default["default"].createElement(index$8.ImageWrap, { src: src, backupSrc: defaultSrc, alt: alt }))));
6022
6019
  };
6023
6020
 
6024
6021
  const CardArticle = ({ category, title, src, children, className = '', }) => {
6025
- return (React__namespace["default"].createElement("div", { className: `${styles$d.container} ${className}` },
6026
- React__namespace["default"].createElement(Thumbnail, { src: src }),
6027
- React__namespace["default"].createElement("div", { className: styles$d.info }, children || (React__namespace["default"].createElement("div", null,
6028
- category && React__namespace["default"].createElement(CategoryText, null, category),
6029
- title && React__namespace["default"].createElement(Title, null, title))))));
6022
+ return (React__default["default"].createElement("div", { className: `${styles$d.container} ${className}` },
6023
+ React__default["default"].createElement(Thumbnail, { src: src }),
6024
+ React__default["default"].createElement("div", { className: styles$d.info }, children || (React__default["default"].createElement("div", null,
6025
+ category && React__default["default"].createElement(CategoryText, null, category),
6026
+ title && React__default["default"].createElement(Title, null, title))))));
6030
6027
  };
6031
6028
  CardArticle.CategoryText = CategoryText;
6032
6029
  CardArticle.Title = Title;
@@ -6036,13 +6033,13 @@ const ArticleCard = ({ featureImage, postTitle, author, categories, isReview, cl
6036
6033
  const note = isReview
6037
6034
  ? 'Medically reviewed by Jobelle Ann Dela Cruz Bigalbal, MD'
6038
6035
  : 'Written by Jobelle Ann Dela Cruz Bigalbal, MD';
6039
- return (React__namespace["default"].createElement(CardArticle, { src: featureImage, className: className },
6040
- React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
6041
- React__namespace["default"].createElement(CardArticle.CategoryText, null, (_a = categories === null || categories === void 0 ? void 0 : categories[0]) === null || _a === void 0 ? void 0 : _a.name),
6042
- React__namespace["default"].createElement(CardArticle.Title, null, postTitle),
6043
- React__namespace["default"].createElement(CardAuthor$1, { avatarProps: Object.assign(Object.assign({}, author), { size: 32 }), subTitle: React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
6036
+ return (React__default["default"].createElement(CardArticle, { src: featureImage, className: className },
6037
+ React__default["default"].createElement(React__default["default"].Fragment, null,
6038
+ React__default["default"].createElement(CardArticle.CategoryText, null, (_a = categories === null || categories === void 0 ? void 0 : categories[0]) === null || _a === void 0 ? void 0 : _a.name),
6039
+ React__default["default"].createElement(CardArticle.Title, null, postTitle),
6040
+ React__default["default"].createElement(CardAuthor$1, { avatarProps: Object.assign(Object.assign({}, author), { size: 32 }), subTitle: React__default["default"].createElement(React__default["default"].Fragment, null,
6044
6041
  note,
6045
- React__namespace["default"].createElement(CardAuthor$1.SubDivider, null),
6042
+ React__default["default"].createElement(CardAuthor$1.SubDivider, null),
6046
6043
  'Dec 12, 2022') }))));
6047
6044
  };
6048
6045
 
@@ -6095,11 +6092,11 @@ const About = ({ className = '' }) => {
6095
6092
  heading: t('profilePanel.experience'),
6096
6093
  iconSrc: index$9.CommonGAssets.getAssetPath(isMarryBaby ? 'award-doc-mb.svg' : 'award-doc.svg'),
6097
6094
  eventAction: 'Doctor Experience Click',
6098
- panel: (React__namespace["default"].createElement("div", { className: styles$b.accBodyGroup }, info === null || info === void 0 ? void 0 : info.experiences.map((i, idx) => (React__namespace["default"].createElement("div", { className: styles$b.accBodyGroupItem, key: String(idx) },
6099
- React__namespace["default"].createElement("div", { className: styles$b.accBodyGroupTitle }, i.title),
6100
- React__namespace["default"].createElement("div", { className: styles$b.accBodyGroupDesc },
6101
- React__namespace["default"].createElement("p", null, i.organization),
6102
- React__namespace["default"].createElement("p", null, i.duration))))))),
6095
+ panel: (React__default["default"].createElement("div", { className: styles$b.accBodyGroup }, info === null || info === void 0 ? void 0 : info.experiences.map((i, idx) => (React__default["default"].createElement("div", { className: styles$b.accBodyGroupItem, key: String(idx) },
6096
+ React__default["default"].createElement("div", { className: styles$b.accBodyGroupTitle }, i.title),
6097
+ React__default["default"].createElement("div", { className: styles$b.accBodyGroupDesc },
6098
+ React__default["default"].createElement("p", null, i.organization),
6099
+ React__default["default"].createElement("p", null, i.duration))))))),
6103
6100
  },
6104
6101
  ]
6105
6102
  : []),
@@ -6110,11 +6107,11 @@ const About = ({ className = '' }) => {
6110
6107
  heading: t('profilePanel.education'),
6111
6108
  iconSrc: index$9.CommonGAssets.getAssetPath(isMarryBaby ? 'book-mb.svg' : 'book.svg'),
6112
6109
  eventAction: 'Doctor Degree Click',
6113
- panel: (React__namespace["default"].createElement("div", { className: styles$b.accBodyGroup }, info === null || info === void 0 ? void 0 : info.educations.map((i, idx) => (React__namespace["default"].createElement("div", { className: styles$b.accBodyGroupItem, key: String(idx) },
6114
- React__namespace["default"].createElement("div", { className: styles$b.accBodyGroupTitle }, i.schoolName),
6115
- React__namespace["default"].createElement("div", { className: styles$b.accBodyGroupDesc },
6116
- React__namespace["default"].createElement("p", null, i.study),
6117
- React__namespace["default"].createElement("p", null, i.completedYear))))))),
6110
+ panel: (React__default["default"].createElement("div", { className: styles$b.accBodyGroup }, info === null || info === void 0 ? void 0 : info.educations.map((i, idx) => (React__default["default"].createElement("div", { className: styles$b.accBodyGroupItem, key: String(idx) },
6111
+ React__default["default"].createElement("div", { className: styles$b.accBodyGroupTitle }, i.schoolName),
6112
+ React__default["default"].createElement("div", { className: styles$b.accBodyGroupDesc },
6113
+ React__default["default"].createElement("p", null, i.study),
6114
+ React__default["default"].createElement("p", null, i.completedYear))))))),
6118
6115
  },
6119
6116
  ]
6120
6117
  : []),
@@ -6125,16 +6122,16 @@ const About = ({ className = '' }) => {
6125
6122
  heading: t('profilePanel.awards'),
6126
6123
  iconSrc: index$9.CommonGAssets.getAssetPath(isMarryBaby ? 'award-mb.svg' : 'award.svg'),
6127
6124
  eventAction: 'Doctor Award Click',
6128
- panel: (React__namespace["default"].createElement("div", { className: styles$b.accBodyGroup }, info === null || info === void 0 ? void 0 : info.awards.map((i, idx) => (React__namespace["default"].createElement("div", { className: styles$b.accBodyGroupTitle, key: idx }, i.title))))),
6125
+ panel: (React__default["default"].createElement("div", { className: styles$b.accBodyGroup }, info === null || info === void 0 ? void 0 : info.awards.map((i, idx) => (React__default["default"].createElement("div", { className: styles$b.accBodyGroupTitle, key: idx }, i.title))))),
6129
6126
  },
6130
6127
  ]
6131
6128
  : []),
6132
6129
  ];
6133
6130
  const relatedPost = (info === null || info === void 0 ? void 0 : info.relatedPosts) || [];
6134
6131
  const socialList = social.filter((i) => i.url);
6135
- return (React__namespace["default"].createElement("div", { className: `${styles$b.container} ${className}`, "data-is-marrybaby": isMarryBaby },
6136
- accProps.length > 0 && (React__namespace["default"].createElement(core.Accordion, { defaultValue: accProps[0].key, chevron: isMarryBaby ? (React__namespace["default"].createElement("div", { className: styles$b.mbChevronWrapper },
6137
- React__namespace["default"].createElement(core$1.Plus, { size: 12, color: theme.theme.mbColors.midGray }))) : (React__namespace["default"].createElement(core$1.Plus, { color: theme.theme.colors.gray400 })), styles: {
6132
+ return (React__default["default"].createElement("div", { className: `${styles$b.container} ${className}`, "data-is-marrybaby": isMarryBaby },
6133
+ accProps.length > 0 && (React__default["default"].createElement(core.Accordion, { defaultValue: accProps[0].key, chevron: isMarryBaby ? (React__default["default"].createElement("div", { className: styles$b.mbChevronWrapper },
6134
+ React__default["default"].createElement(core$1.Plus, { size: 12, color: theme.theme.mbColors.midGray }))) : (React__default["default"].createElement(core$1.Plus, { color: theme.theme.colors.gray400 })), styles: {
6138
6135
  chevron: {
6139
6136
  '&[data-rotate]': {
6140
6137
  '.minus-path': {
@@ -6163,32 +6160,32 @@ const About = ({ className = '' }) => {
6163
6160
  pointerEvents: 'none',
6164
6161
  },
6165
6162
  },
6166
- } }, accProps.map((i) => (React__namespace["default"].createElement(core.Accordion.Item, { key: i.key, value: i.key },
6167
- React__namespace["default"].createElement(core.Accordion.Control, { "data-event-category": "Together", "data-event-action": i.eventAction, "data-event-label": currentPageUrl },
6168
- React__namespace["default"].createElement("div", { className: styles$b.header },
6169
- React__namespace["default"].createElement("div", { className: styles$b.headingIcon },
6170
- React__namespace["default"].createElement("img", { src: i.iconSrc, loading: "lazy" })),
6171
- React__namespace["default"].createElement("div", { className: styles$b.heading }, i.heading))),
6172
- React__namespace["default"].createElement(core.Accordion.Panel, null, i.panel)))))),
6173
- relatedPost.length > 0 && (React__namespace["default"].createElement("div", { className: styles$b.group },
6174
- React__namespace["default"].createElement("div", { className: styles$b.subTitle },
6175
- React__namespace["default"].createElement("img", { className: styles$b.subIcon, src: index$9.CommonGAssets.getAssetPath(isMarryBaby ? 'mb-logo.svg' : 'logo/circle-solid.svg'), loading: "lazy" }),
6163
+ } }, accProps.map((i) => (React__default["default"].createElement(core.Accordion.Item, { key: i.key, value: i.key },
6164
+ React__default["default"].createElement(core.Accordion.Control, { "data-event-category": "Together", "data-event-action": i.eventAction, "data-event-label": currentPageUrl },
6165
+ React__default["default"].createElement("div", { className: styles$b.header },
6166
+ React__default["default"].createElement("div", { className: styles$b.headingIcon },
6167
+ React__default["default"].createElement("img", { src: i.iconSrc, loading: "lazy" })),
6168
+ React__default["default"].createElement("div", { className: styles$b.heading }, i.heading))),
6169
+ React__default["default"].createElement(core.Accordion.Panel, null, i.panel)))))),
6170
+ relatedPost.length > 0 && (React__default["default"].createElement("div", { className: styles$b.group },
6171
+ React__default["default"].createElement("div", { className: styles$b.subTitle },
6172
+ React__default["default"].createElement("img", { className: styles$b.subIcon, src: index$9.CommonGAssets.getAssetPath(isMarryBaby ? 'mb-logo.svg' : 'logo/circle-solid.svg'), loading: "lazy" }),
6176
6173
  t('profilePanel.publishedArticles')),
6177
- React__namespace["default"].createElement("div", { className: `${styles$b.relatedList}` }, info === null || info === void 0 ? void 0 : info.relatedPosts.map((i) => (React__namespace["default"].createElement("a", { key: String(i.id), href: `${window.location.origin}${i === null || i === void 0 ? void 0 : i.permalink}`, className: styles$b.articleCardLink },
6178
- React__namespace["default"].createElement(ArticleCard, Object.assign({ className: 'article-card' }, Object.assign(Object.assign({}, i), (!i.author && {
6174
+ React__default["default"].createElement("div", { className: `${styles$b.relatedList}` }, info === null || info === void 0 ? void 0 : info.relatedPosts.map((i) => (React__default["default"].createElement("a", { key: String(i.id), href: `${window.location.origin}${i === null || i === void 0 ? void 0 : i.permalink}`, className: styles$b.articleCardLink },
6175
+ React__default["default"].createElement(ArticleCard, Object.assign({ className: 'article-card' }, Object.assign(Object.assign({}, i), (!i.author && {
6179
6176
  author: {
6180
6177
  displayName: authorProps === null || authorProps === void 0 ? void 0 : authorProps.name,
6181
6178
  avatar: authorProps === null || authorProps === void 0 ? void 0 : authorProps.avatar,
6182
6179
  },
6183
6180
  })), { isReview: true })))))))),
6184
- socialList.length > 0 && (React__namespace["default"].createElement("div", { className: styles$b.group },
6185
- React__namespace["default"].createElement("div", { className: styles$b.subTitle },
6186
- React__namespace["default"].createElement("img", { className: styles$b.subIcon, src: index$9.CommonGAssets.getAssetPath(isMarryBaby ? 'social-mb.svg' : 'social.svg'), loading: "lazy" }),
6181
+ socialList.length > 0 && (React__default["default"].createElement("div", { className: styles$b.group },
6182
+ React__default["default"].createElement("div", { className: styles$b.subTitle },
6183
+ React__default["default"].createElement("img", { className: styles$b.subIcon, src: index$9.CommonGAssets.getAssetPath(isMarryBaby ? 'social-mb.svg' : 'social.svg'), loading: "lazy" }),
6187
6184
  t('profilePanel.socialLinks')),
6188
- React__namespace["default"].createElement("div", { className: styles$b.groupBody },
6189
- React__namespace["default"].createElement(core.Flex, null, social.map((i, idx) => i.url && (React__namespace["default"].createElement("div", { className: styles$b.socialItem, key: idx },
6190
- React__namespace["default"].createElement("a", { href: i.url, target: "_blank", rel: "noreferrer" },
6191
- React__namespace["default"].createElement("img", { src: i.icon, loading: "lazy", width: "32px", "data-event-category": "Together", "data-event-action": i.eventAction, "data-event-label": currentPageUrl })))))))))));
6185
+ React__default["default"].createElement("div", { className: styles$b.groupBody },
6186
+ React__default["default"].createElement(core.Flex, null, social.map((i, idx) => i.url && (React__default["default"].createElement("div", { className: styles$b.socialItem, key: idx },
6187
+ React__default["default"].createElement("a", { href: i.url, target: "_blank", rel: "noreferrer" },
6188
+ React__default["default"].createElement("img", { src: i.icon, loading: "lazy", width: "32px", "data-event-category": "Together", "data-event-action": i.eventAction, "data-event-label": currentPageUrl })))))))))));
6192
6189
  };
6193
6190
 
6194
6191
  var styles$a = {"container":"GYUElSy","question":"_3C6QpT1","questionTitle":"_9M9VYL6","community":"_1RuSyv3","questionCard":"_1IG-eEp"};
@@ -6199,29 +6196,29 @@ const PostCard$1 = ({ post, className = '' }) => {
6199
6196
  const { data: { userInfo, env: { togetherBasePath }, }, } = React.useContext(utils.TogetherComponentGlobalContext);
6200
6197
  const { authActionWrapper, authorProps, currentPageUrl } = React.useContext(ProfileDetailContext);
6201
6198
  const postHref = `${window.location.origin}${togetherBasePath}/${(_a = post === null || post === void 0 ? void 0 : post.community) === null || _a === void 0 ? void 0 : _a.slug}/${post === null || post === void 0 ? void 0 : post.slug}/`;
6202
- return (React__namespace["default"].createElement("div", { className: `${styles$a.container} ${className}` },
6203
- React__namespace["default"].createElement("div", { className: styles$a.header },
6204
- React__namespace["default"].createElement("div", { className: styles$a.question },
6199
+ return (React__default["default"].createElement("div", { className: `${styles$a.container} ${className}` },
6200
+ React__default["default"].createElement("div", { className: styles$a.header },
6201
+ React__default["default"].createElement("div", { className: styles$a.question },
6205
6202
  t('profilePanel.question'),
6206
6203
  ' ',
6207
- React__namespace["default"].createElement(index$8.Anchor, { className: styles$a.questionTitle, href: "#", onClick: () => {
6204
+ React__default["default"].createElement(index$8.Anchor, { className: styles$a.questionTitle, href: "#", onClick: () => {
6208
6205
  if (!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.id)) {
6209
6206
  authActionWrapper === null || authActionWrapper === void 0 ? void 0 : authActionWrapper(() => (window.location.href = postHref));
6210
6207
  }
6211
6208
  } },
6212
6209
  "#", post === null || post === void 0 ? void 0 :
6213
6210
  post.title)),
6214
- React__namespace["default"].createElement("div", { className: styles$a.community }, (_b = post === null || post === void 0 ? void 0 : post.community) === null || _b === void 0 ? void 0 :
6211
+ React__default["default"].createElement("div", { className: styles$a.community }, (_b = post === null || post === void 0 ? void 0 : post.community) === null || _b === void 0 ? void 0 :
6215
6212
  _b.name,
6216
6213
  " - ", post === null || post === void 0 ? void 0 :
6217
6214
  post.createdTime)),
6218
- React__namespace["default"].createElement("div", { className: styles$a.questionCard },
6219
- React__namespace["default"].createElement(CardAuthor, Object.assign({ className: "card-author" }, authorProps, { role: "user", avatarIcon: React__namespace["default"].createElement(other.CrossLogo, null), subLine: React__namespace["default"].createElement(CardAuthor.SubTextRow, null,
6220
- React__namespace["default"].createElement(CardAuthor.SubText, null, (_e = (_d = (_c = post === null || post === void 0 ? void 0 : post.expertAnswer) === null || _c === void 0 ? void 0 : _c.answer) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.createdTime)) })),
6221
- React__namespace["default"].createElement(PostContent, { className: "post-content-wrapper", description: ((_h = (_g = (_f = post === null || post === void 0 ? void 0 : post.expertAnswer) === null || _f === void 0 ? void 0 : _f.answer) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.content) || '',
6215
+ React__default["default"].createElement("div", { className: styles$a.questionCard },
6216
+ React__default["default"].createElement(CardAuthor, Object.assign({ className: "card-author" }, authorProps, { role: "user", avatarIcon: React__default["default"].createElement(other.CrossLogo, null), subLine: React__default["default"].createElement(CardAuthor.SubTextRow, null,
6217
+ React__default["default"].createElement(CardAuthor.SubText, null, (_e = (_d = (_c = post === null || post === void 0 ? void 0 : post.expertAnswer) === null || _c === void 0 ? void 0 : _c.answer) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.createdTime)) })),
6218
+ React__default["default"].createElement(PostContent, { className: "post-content-wrapper", description: ((_h = (_g = (_f = post === null || post === void 0 ? void 0 : post.expertAnswer) === null || _f === void 0 ? void 0 : _f.answer) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.content) || '',
6222
6219
  // disableShortenContent={disableShortenContent}
6223
6220
  mentions: post === null || post === void 0 ? void 0 : post.mentions, "data-testid": "Content of the Post" })),
6224
- React__namespace["default"].createElement(index$8.Button, { variant: "secondary", "data-event-category": "Together", "data-event-action": "Doctor Reply Click", "data-event-label": currentPageUrl, size: "md", onClick: () => {
6221
+ React__default["default"].createElement(index$8.Button, { variant: "secondary", "data-event-category": "Together", "data-event-action": "Doctor Reply Click", "data-event-label": currentPageUrl, size: "md", onClick: () => {
6225
6222
  if (!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.id)) {
6226
6223
  authActionWrapper === null || authActionWrapper === void 0 ? void 0 : authActionWrapper(() => (window.location.href = postHref));
6227
6224
  }
@@ -6237,12 +6234,12 @@ var styles$8 = {"container":"_8fd7YMs","thumb":"DomiQfw","content":"-b2qnfL"};
6237
6234
 
6238
6235
  const EmptyMessage = ({ message, buttonTxt, imgSrc, onBtnClick }) => {
6239
6236
  const { siteType, isMarryBaby } = React.useContext(ProfileDetailContext);
6240
- return (React__namespace["default"].createElement("div", { className: styles$8.container },
6241
- React__namespace["default"].createElement("div", { className: styles$8.thumb },
6242
- React__namespace["default"].createElement("img", { src: imgSrc ||
6237
+ return (React__default["default"].createElement("div", { className: styles$8.container },
6238
+ React__default["default"].createElement("div", { className: styles$8.thumb },
6239
+ React__default["default"].createElement("img", { src: imgSrc ||
6243
6240
  index$9.CommonGAssets.getAssetPath(isMarryBaby ? 'comments-mb.svg' : 'comments.svg'), loading: "lazy" })),
6244
- message && React__namespace["default"].createElement("div", { className: styles$8.content }, message),
6245
- buttonTxt && (React__namespace["default"].createElement(index$5.Button, { size: "md", theme: siteType, color: "secondary", onClick: onBtnClick }, buttonTxt))));
6241
+ message && React__default["default"].createElement("div", { className: styles$8.content }, message),
6242
+ buttonTxt && (React__default["default"].createElement(index$5.Button, { size: "md", theme: siteType, color: "secondary", onClick: onBtnClick }, buttonTxt))));
6246
6243
  };
6247
6244
 
6248
6245
  const Answering = ({ id }) => {
@@ -6265,8 +6262,8 @@ const Answering = ({ id }) => {
6265
6262
  setLoading(false);
6266
6263
  }))();
6267
6264
  }, []);
6268
- return (React__namespace["default"].createElement("div", { className: styles$9.container }, loading ? (React__namespace["default"].createElement(Loading, null)) : (posts !== null &&
6269
- (posts.length > 0 ? (posts.map((i) => (React__namespace["default"].createElement(PostCard$1, { className: "post-card", key: i.id, post: i })))) : (React__namespace["default"].createElement(EmptyMessage, { message: t('profilePanel.emptyPostMess.content', {
6265
+ return (React__default["default"].createElement("div", { className: styles$9.container }, loading ? (React__default["default"].createElement(Loading, null)) : (posts !== null &&
6266
+ (posts.length > 0 ? (posts.map((i) => (React__default["default"].createElement(PostCard$1, { className: "post-card", key: i.id, post: i })))) : (React__default["default"].createElement(EmptyMessage, { message: t('profilePanel.emptyPostMess.content', {
6270
6267
  name: (authorProps === null || authorProps === void 0 ? void 0 : authorProps.name) || (authorProps === null || authorProps === void 0 ? void 0 : authorProps.username),
6271
6268
  }) }))))));
6272
6269
  };
@@ -6278,11 +6275,11 @@ const QuestionCard = (_a) => {
6278
6275
  var { post } = _a, rest = tslib_es6.__rest(_a, ["post"]);
6279
6276
  const { data: { env: { togetherBasePath }, }, } = React.useContext(utils.TogetherComponentGlobalContext);
6280
6277
  // const { showSkipQuestionTag } = useContext(ProfileDetailContext)
6281
- return (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
6282
- React__namespace["default"].createElement("div", Object.assign({}, rest, { className: `${styles$7.container} ${(rest === null || rest === void 0 ? void 0 : rest.className) || ''}` }),
6283
- React__namespace["default"].createElement(CardAuthor, { className: "card-author", avatar: (_b = post === null || post === void 0 ? void 0 : post.author) === null || _b === void 0 ? void 0 : _b.avatar, name: ((_c = post === null || post === void 0 ? void 0 : post.author) === null || _c === void 0 ? void 0 : _c.name) || ((_d = post === null || post === void 0 ? void 0 : post.author) === null || _d === void 0 ? void 0 : _d.username), isAnonymous: Boolean(post === null || post === void 0 ? void 0 : post.isAnonymous), subLine: React__namespace["default"].createElement(CardAuthor.SubTextRow, null,
6284
- React__namespace["default"].createElement(CardAuthor.SubText, null, post === null || post === void 0 ? void 0 : post.createdTime)) }),
6285
- React__namespace["default"].createElement(index$8.Anchor, { href: `${window.location.origin}${togetherBasePath}/${(_e = post === null || post === void 0 ? void 0 : post.community) === null || _e === void 0 ? void 0 : _e.slug}/${post === null || post === void 0 ? void 0 : post.slug}/`, className: styles$7.title, rel: "noreferrer" }, post === null || post === void 0 ? void 0 : post.title))));
6278
+ return (React__default["default"].createElement(React__default["default"].Fragment, null,
6279
+ React__default["default"].createElement("div", Object.assign({}, rest, { className: `${styles$7.container} ${(rest === null || rest === void 0 ? void 0 : rest.className) || ''}` }),
6280
+ React__default["default"].createElement(CardAuthor, { className: "card-author", avatar: (_b = post === null || post === void 0 ? void 0 : post.author) === null || _b === void 0 ? void 0 : _b.avatar, name: ((_c = post === null || post === void 0 ? void 0 : post.author) === null || _c === void 0 ? void 0 : _c.name) || ((_d = post === null || post === void 0 ? void 0 : post.author) === null || _d === void 0 ? void 0 : _d.username), isAnonymous: Boolean(post === null || post === void 0 ? void 0 : post.isAnonymous), subLine: React__default["default"].createElement(CardAuthor.SubTextRow, null,
6281
+ React__default["default"].createElement(CardAuthor.SubText, null, post === null || post === void 0 ? void 0 : post.createdTime)) }),
6282
+ React__default["default"].createElement(index$8.Anchor, { href: `${window.location.origin}${togetherBasePath}/${(_e = post === null || post === void 0 ? void 0 : post.community) === null || _e === void 0 ? void 0 : _e.slug}/${post === null || post === void 0 ? void 0 : post.slug}/`, className: styles$7.title, rel: "noreferrer" }, post === null || post === void 0 ? void 0 : post.title))));
6286
6283
  };
6287
6284
 
6288
6285
  var styles$6 = {"accordion":"I-uIJ6E","header":"_41WRsj2","heading":"AcOGL93","headingIcon":"JD3dWJN","panel":"dKAgnS8","chevron":"L2Q9T6m","container":"h-pSmhX"};
@@ -6330,7 +6327,7 @@ const Care = () => {
6330
6327
  onSkipQuestion === null || onSkipQuestion === void 0 ? void 0 : onSkipQuestion(countLists);
6331
6328
  }
6332
6329
  };
6333
- return (React__namespace["default"].createElement("div", { className: styles$6.container }, fetchLoading ? (React__namespace["default"].createElement(Loading, null)) : (countValues === null || countValues === void 0 ? void 0 : countValues.total_question) > 0 ? (communities.length > 0 && (React__namespace["default"].createElement(core.Accordion, { className: styles$6.accordion, defaultValue: String(((_b = communities[(_a = Object.keys(communities)) === null || _a === void 0 ? void 0 : _a[0]]) === null || _b === void 0 ? void 0 : _b.id) || ''), styles: (_theme) => ({
6330
+ return (React__default["default"].createElement("div", { className: styles$6.container }, fetchLoading ? (React__default["default"].createElement(Loading, null)) : (countValues === null || countValues === void 0 ? void 0 : countValues.total_question) > 0 ? (communities.length > 0 && (React__default["default"].createElement(core.Accordion, { className: styles$6.accordion, defaultValue: String(((_b = communities[(_a = Object.keys(communities)) === null || _a === void 0 ? void 0 : _a[0]]) === null || _b === void 0 ? void 0 : _b.id) || ''), styles: (_theme) => ({
6334
6331
  control: {
6335
6332
  padding: '16px',
6336
6333
  border: `1px solid ${_theme.colors.neutral[1]}`,
@@ -6356,18 +6353,18 @@ const Care = () => {
6356
6353
  item: {
6357
6354
  marginBottom: '16px',
6358
6355
  },
6359
- }), chevron: React__namespace["default"].createElement("div", { className: styles$6.chevron },
6360
- React__namespace["default"].createElement(other.ArrowDown, { color: theme.theme.colors.gray600, size: 20 })) }, communities.map((i) => {
6356
+ }), chevron: React__default["default"].createElement("div", { className: styles$6.chevron },
6357
+ React__default["default"].createElement(other.ArrowDown, { color: theme.theme.colors.gray600, size: 20 })) }, communities.map((i) => {
6361
6358
  const listing = (questions && (questions === null || questions === void 0 ? void 0 : questions[i.id])) || [];
6362
- return (listing.length > 0 && (React__namespace["default"].createElement(core.Accordion.Item, { key: i.id, value: String(i.id) },
6363
- React__namespace["default"].createElement(core.Accordion.Control, null,
6364
- React__namespace["default"].createElement("div", { className: styles$6.header },
6365
- React__namespace["default"].createElement("div", { className: styles$6.headingIcon },
6366
- React__namespace["default"].createElement("img", { src: i.thumbnail, loading: "lazy" })),
6367
- React__namespace["default"].createElement("div", { className: styles$6.heading }, i.name))),
6368
- React__namespace["default"].createElement(core.Accordion.Panel, null,
6369
- React__namespace["default"].createElement("div", { className: styles$6.body }, listing.map((post) => (React__namespace["default"].createElement(QuestionCard, { className: "question-card", key: post.id, post: post, onSkip: handleSkipQuestion }))))))));
6370
- })))) : (React__namespace["default"].createElement(EmptyMessage, { message: t('profilePanel.emptyCareMess.content'), imgSrc: index$9.CommonGAssets.getAssetPath('questions.svg') }))));
6359
+ return (listing.length > 0 && (React__default["default"].createElement(core.Accordion.Item, { key: i.id, value: String(i.id) },
6360
+ React__default["default"].createElement(core.Accordion.Control, null,
6361
+ React__default["default"].createElement("div", { className: styles$6.header },
6362
+ React__default["default"].createElement("div", { className: styles$6.headingIcon },
6363
+ React__default["default"].createElement("img", { src: i.thumbnail, loading: "lazy" })),
6364
+ React__default["default"].createElement("div", { className: styles$6.heading }, i.name))),
6365
+ React__default["default"].createElement(core.Accordion.Panel, null,
6366
+ React__default["default"].createElement("div", { className: styles$6.body }, listing.map((post) => (React__default["default"].createElement(QuestionCard, { className: "question-card", key: post.id, post: post, onSkip: handleSkipQuestion }))))))));
6367
+ })))) : (React__default["default"].createElement(EmptyMessage, { message: t('profilePanel.emptyCareMess.content'), imgSrc: index$9.CommonGAssets.getAssetPath('questions.svg') }))));
6371
6368
  };
6372
6369
 
6373
6370
  var styles$5 = {"container":"GA-zc-O","mainTxt":"A18McWD","question":"yzr0H0N","questionTitle":"_6gVRc3i","community":"xOzLGrD","questionCard":"IB049vj","linkWrapper":"_8I--vEV"};
@@ -6379,23 +6376,23 @@ const PostCard = ({ post, className = '' }) => {
6379
6376
  const theme = core.useMantineTheme();
6380
6377
  const { authActionWrapper, authorProps } = React.useContext(ProfileDetailContext);
6381
6378
  const postHref = `${window.location.origin}${togetherBasePath}/${(_a = post === null || post === void 0 ? void 0 : post.community) === null || _a === void 0 ? void 0 : _a.slug}/${post === null || post === void 0 ? void 0 : post.slug}/`;
6382
- return (React__namespace["default"].createElement("div", { className: `${styles$5.container} ${className}` },
6383
- React__namespace["default"].createElement("div", { className: styles$5.questionCard },
6384
- React__namespace["default"].createElement("a", { "data-event-category": "Together", "data-event-action": "Click Post", "data-event-label": postHref, className: styles$5.linkWrapper, href: postHref, onClick: (e) => {
6379
+ return (React__default["default"].createElement("div", { className: `${styles$5.container} ${className}` },
6380
+ React__default["default"].createElement("div", { className: styles$5.questionCard },
6381
+ React__default["default"].createElement("a", { "data-event-category": "Together", "data-event-action": "Click Post", "data-event-label": postHref, className: styles$5.linkWrapper, href: postHref, onClick: (e) => {
6385
6382
  if (!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.id)) {
6386
6383
  e.preventDefault();
6387
6384
  authActionWrapper === null || authActionWrapper === void 0 ? void 0 : authActionWrapper(() => (window.location.href = postHref));
6388
6385
  }
6389
6386
  } }),
6390
- React__namespace["default"].createElement(CardAuthor$1, { className: "card-author", avatarProps: {
6387
+ React__default["default"].createElement(CardAuthor$1, { className: "card-author", avatarProps: {
6391
6388
  avatar: authorProps === null || authorProps === void 0 ? void 0 : authorProps.avatar,
6392
6389
  size: 32,
6393
6390
  } },
6394
- React__namespace["default"].createElement(CardAuthor.MainText, { className: styles$5.mainTxt }, post === null || post === void 0 ? void 0 : post.title),
6395
- React__namespace["default"].createElement(CardAuthor.SubTextRow, null,
6396
- React__namespace["default"].createElement(CardAuthor.SubText, null, post === null || post === void 0 ? void 0 : post.createdTime))),
6397
- React__namespace["default"].createElement(PostContent, { className: "post-content-wrapper", description: post === null || post === void 0 ? void 0 : post.description, mentions: post === null || post === void 0 ? void 0 : post.mentions, maxChars: 200, "data-testid": "Content of the Post", hideShowAllBtn: true }),
6398
- React__namespace["default"].createElement(index$1.Text, { size: "p3", color: theme.fn.primaryColor() }, t('post.seeMore')))));
6391
+ React__default["default"].createElement(CardAuthor.MainText, { className: styles$5.mainTxt }, post === null || post === void 0 ? void 0 : post.title),
6392
+ React__default["default"].createElement(CardAuthor.SubTextRow, null,
6393
+ React__default["default"].createElement(CardAuthor.SubText, null, post === null || post === void 0 ? void 0 : post.createdTime))),
6394
+ React__default["default"].createElement(PostContent, { className: "post-content-wrapper", description: post === null || post === void 0 ? void 0 : post.description, mentions: post === null || post === void 0 ? void 0 : post.mentions, maxChars: 200, "data-testid": "Content of the Post", hideShowAllBtn: true }),
6395
+ React__default["default"].createElement(index$1.Text, { size: "p3", color: theme.fn.primaryColor() }, t('post.seeMore')))));
6399
6396
  };
6400
6397
 
6401
6398
  var styles$4 = {"container":"TSMHoEM"};
@@ -6421,8 +6418,8 @@ const Posts = () => {
6421
6418
  setLoading(false);
6422
6419
  }))();
6423
6420
  }, [id]);
6424
- return (React__namespace["default"].createElement("div", { className: styles$4.container }, loading ? (React__namespace["default"].createElement(Loading, null)) : (posts !== null &&
6425
- (posts.length > 0 ? (posts.map((i) => (React__namespace["default"].createElement(PostCard, { className: "post-card", key: i.id, post: i })))) : (React__namespace["default"].createElement(EmptyMessage, { message: t('profilePanel.emptyPostMess.content', {
6421
+ return (React__default["default"].createElement("div", { className: styles$4.container }, loading ? (React__default["default"].createElement(Loading, null)) : (posts !== null &&
6422
+ (posts.length > 0 ? (posts.map((i) => (React__default["default"].createElement(PostCard, { className: "post-card", key: i.id, post: i })))) : (React__default["default"].createElement(EmptyMessage, { message: t('profilePanel.emptyPostMess.content', {
6426
6423
  name: (authorProps === null || authorProps === void 0 ? void 0 : authorProps.name) || (authorProps === null || authorProps === void 0 ? void 0 : authorProps.username) || '',
6427
6424
  }), buttonTxt: isAuthorLogin && t('profilePanel.createPost'), onBtnClick: () => {
6428
6425
  onCloseFromPost === null || onCloseFromPost === void 0 ? void 0 : onCloseFromPost();
@@ -6488,7 +6485,7 @@ const ProfileDetail = (_a) => {
6488
6485
  {
6489
6486
  value: exports.TabName.About,
6490
6487
  text: t('profilePanel.tabs.highlight'),
6491
- content: React__namespace["default"].createElement(About, { id: id, info: info }),
6488
+ content: React__default["default"].createElement(About, { id: id, info: info }),
6492
6489
  dataEventCategory: 'Together',
6493
6490
  dataEventAction: 'Doctor Profile Click',
6494
6491
  dataEventLabel: currentPageUrl,
@@ -6498,7 +6495,7 @@ const ProfileDetail = (_a) => {
6498
6495
  {
6499
6496
  value: exports.TabName.Posts,
6500
6497
  text: t('profilePanel.tabs.posts'),
6501
- content: React__namespace["default"].createElement(Posts, null),
6498
+ content: React__default["default"].createElement(Posts, null),
6502
6499
  hasCountResult: true,
6503
6500
  keyOfCountApi: 'post',
6504
6501
  keyOfResult: 'total_post',
@@ -6510,7 +6507,7 @@ const ProfileDetail = (_a) => {
6510
6507
  {
6511
6508
  value: exports.TabName.Care,
6512
6509
  text: `${t('profilePanel.tabs.care')}`,
6513
- content: React__namespace["default"].createElement(Care, null),
6510
+ content: React__default["default"].createElement(Care, null),
6514
6511
  hasCountResult: true,
6515
6512
  keyOfCountApi: 'question',
6516
6513
  keyOfResult: 'total_question',
@@ -6525,7 +6522,7 @@ const ProfileDetail = (_a) => {
6525
6522
  {
6526
6523
  value: exports.TabName.Answer,
6527
6524
  text: `${t('profilePanel.tabs.expertAnswer')}`,
6528
- content: React__namespace["default"].createElement(Answering, { id: id }),
6525
+ content: React__default["default"].createElement(Answering, { id: id }),
6529
6526
  hasCountResult: true,
6530
6527
  keyOfCountApi: 'reply',
6531
6528
  keyOfResult: 'total_reply',
@@ -6623,7 +6620,7 @@ const ProfileDetail = (_a) => {
6623
6620
  }))();
6624
6621
  }, []);
6625
6622
  const userData = info === null || info === void 0 ? void 0 : info.data;
6626
- return (React__namespace["default"].createElement(ProfileDetailContext.Provider, { value: {
6623
+ return (React__default["default"].createElement(ProfileDetailContext.Provider, { value: {
6627
6624
  isMarryBaby,
6628
6625
  siteType: isMarryBaby ? 'marryBaby' : 'helloSites',
6629
6626
  authorId: String((authorProps === null || authorProps === void 0 ? void 0 : authorProps.userId) || ''),
@@ -6638,24 +6635,24 @@ const ProfileDetail = (_a) => {
6638
6635
  showSkipQuestionTag,
6639
6636
  currentPageUrl,
6640
6637
  } },
6641
- React__namespace["default"].createElement("div", Object.assign({}, rest, { className: `${styles$3.container} ${(rest === null || rest === void 0 ? void 0 : rest.className) || ''}`, "data-is-marrybaby": isMarryBaby }), loading ? (React__namespace["default"].createElement(Loading, null)) : (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
6642
- React__namespace["default"].createElement(CardAuthor, Object.assign({}, authorProps, { className: "card-author", showDetailPopup: false, subLine: (authorProps === null || authorProps === void 0 ? void 0 : authorProps.role) === 'expert'
6638
+ React__default["default"].createElement("div", Object.assign({}, rest, { className: `${styles$3.container} ${(rest === null || rest === void 0 ? void 0 : rest.className) || ''}`, "data-is-marrybaby": isMarryBaby }), loading ? (React__default["default"].createElement(Loading, null)) : (React__default["default"].createElement(React__default["default"].Fragment, null,
6639
+ React__default["default"].createElement(CardAuthor, Object.assign({}, authorProps, { className: "card-author", showDetailPopup: false, subLine: (authorProps === null || authorProps === void 0 ? void 0 : authorProps.role) === 'expert'
6643
6640
  ? (userData === null || userData === void 0 ? void 0 : userData.specialty) &&
6644
- (userData === null || userData === void 0 ? void 0 : userData.organisation) && (React__namespace["default"].createElement(CardAuthor.SubTextRow, null,
6645
- (userData === null || userData === void 0 ? void 0 : userData.specialty) && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
6646
- React__namespace["default"].createElement(CardAuthor.SubText, null, userData === null || userData === void 0 ? void 0 : userData.specialty),
6647
- React__namespace["default"].createElement(CardAuthor.SubDivider, null))),
6648
- React__namespace["default"].createElement(CardAuthor.SubText, null, userData === null || userData === void 0 ? void 0 : userData.organisation)))
6649
- : (userData === null || userData === void 0 ? void 0 : userData.created_at) && (React__namespace["default"].createElement(CardAuthor.SubTextRow, null,
6650
- React__namespace["default"].createElement(CardAuthor.SubText, null,
6641
+ (userData === null || userData === void 0 ? void 0 : userData.organisation) && (React__default["default"].createElement(CardAuthor.SubTextRow, null,
6642
+ (userData === null || userData === void 0 ? void 0 : userData.specialty) && (React__default["default"].createElement(React__default["default"].Fragment, null,
6643
+ React__default["default"].createElement(CardAuthor.SubText, null, userData === null || userData === void 0 ? void 0 : userData.specialty),
6644
+ React__default["default"].createElement(CardAuthor.SubDivider, null))),
6645
+ React__default["default"].createElement(CardAuthor.SubText, null, userData === null || userData === void 0 ? void 0 : userData.organisation)))
6646
+ : (userData === null || userData === void 0 ? void 0 : userData.created_at) && (React__default["default"].createElement(CardAuthor.SubTextRow, null,
6647
+ React__default["default"].createElement(CardAuthor.SubText, null,
6651
6648
  t('profilePanel.joined'),
6652
6649
  ' ',
6653
6650
  dayjs__default["default"](userData === null || userData === void 0 ? void 0 : userData.created_at).toNow(true)))) })),
6654
- role === 'expert' && (React__namespace["default"].createElement("div", { className: styles$3.info, dangerouslySetInnerHTML: { __html: (_b = info === null || info === void 0 ? void 0 : info.data) === null || _b === void 0 ? void 0 : _b.description } })),
6651
+ role === 'expert' && (React__default["default"].createElement("div", { className: styles$3.info, dangerouslySetInnerHTML: { __html: (_b = info === null || info === void 0 ? void 0 : info.data) === null || _b === void 0 ? void 0 : _b.description } })),
6655
6652
  finalTabContent !== null &&
6656
6653
  activeTab !== null &&
6657
- (finalTabContent.length > 0 ? (React__namespace["default"].createElement("div", { className: styles$3.body },
6658
- React__namespace["default"].createElement(index$8.Tabs, Object.assign({}, tabsProps)))) : (React__namespace["default"].createElement(EmptyMessage, { message: t('profilePanel.emptyPostMess.content', {
6654
+ (finalTabContent.length > 0 ? (React__default["default"].createElement("div", { className: styles$3.body },
6655
+ React__default["default"].createElement(index$8.Tabs, Object.assign({}, tabsProps)))) : (React__default["default"].createElement(EmptyMessage, { message: t('profilePanel.emptyPostMess.content', {
6659
6656
  text: (authorProps === null || authorProps === void 0 ? void 0 : authorProps.name) || (authorProps === null || authorProps === void 0 ? void 0 : authorProps.username) || '',
6660
6657
  }) }))))))));
6661
6658
  };
@@ -6702,20 +6699,20 @@ const SkipQuestionOfExpertBtn = (_a) => {
6702
6699
  }
6703
6700
  setLoading(false);
6704
6701
  }), []);
6705
- return (React__namespace["default"].createElement(core.Popover, { width: 327, withArrow: true, shadow: "md", opened: showAlert },
6706
- React__namespace["default"].createElement(core.Popover.Target, null,
6707
- React__namespace["default"].createElement("div", Object.assign({ className: `${styles$2.skipBtn} ${(rest === null || rest === void 0 ? void 0 : rest.className) || ''}`, onClick: () => setShowAlert(true) }, rest), btnText || t('profilePanel.questionNotClear'))),
6708
- React__namespace["default"].createElement(core.Popover.Dropdown, null,
6709
- React__namespace["default"].createElement("div", null,
6710
- React__namespace["default"].createElement("div", { className: styles$2.alertHeading }, t('profilePanel.skipQuestion.heading')),
6711
- React__namespace["default"].createElement("div", { className: styles$2.alertDesc }, t('profilePanel.skipQuestion.content')),
6712
- React__namespace["default"].createElement("div", { className: styles$2.alertAction },
6713
- React__namespace["default"].createElement(index$8.Button, { size: "md", variant: "secondary", leftIcon: React__namespace["default"].createElement(core$1.Close, { color: _theme.fn.primaryColor(), size: 24 }), onClick: () => setShowAlert(false), styles: () => ({
6702
+ return (React__default["default"].createElement(core.Popover, { width: 327, withArrow: true, shadow: "md", opened: showAlert },
6703
+ React__default["default"].createElement(core.Popover.Target, null,
6704
+ React__default["default"].createElement("div", Object.assign({ className: `${styles$2.skipBtn} ${(rest === null || rest === void 0 ? void 0 : rest.className) || ''}`, onClick: () => setShowAlert(true) }, rest), btnText || t('profilePanel.questionNotClear'))),
6705
+ React__default["default"].createElement(core.Popover.Dropdown, null,
6706
+ React__default["default"].createElement("div", null,
6707
+ React__default["default"].createElement("div", { className: styles$2.alertHeading }, t('profilePanel.skipQuestion.heading')),
6708
+ React__default["default"].createElement("div", { className: styles$2.alertDesc }, t('profilePanel.skipQuestion.content')),
6709
+ React__default["default"].createElement("div", { className: styles$2.alertAction },
6710
+ React__default["default"].createElement(index$8.Button, { size: "md", variant: "secondary", leftIcon: React__default["default"].createElement(core$1.Close, { color: _theme.fn.primaryColor(), size: 24 }), onClick: () => setShowAlert(false), styles: () => ({
6714
6711
  leftIcon: {
6715
6712
  marginRight: 0,
6716
6713
  },
6717
6714
  }) }),
6718
- React__namespace["default"].createElement(index$8.Button, { variant: "primary", size: "md", leftIcon: React__namespace["default"].createElement(core$1.Check, { color: 'white', size: 24 }), onClick: handleSkip, loading: loading, "data-event-category": "Together", "data-event-action": "Unclear Question Click", "data-event-label": currentPageUrl, styles: () => ({
6715
+ React__default["default"].createElement(index$8.Button, { variant: "primary", size: "md", leftIcon: React__default["default"].createElement(core$1.Check, { color: 'white', size: 24 }), onClick: handleSkip, loading: loading, "data-event-category": "Together", "data-event-action": "Unclear Question Click", "data-event-label": currentPageUrl, styles: () => ({
6719
6716
  leftIcon: {
6720
6717
  marginRight: 0,
6721
6718
  },
@@ -6754,12 +6751,12 @@ const CardPostPopoverMore = ({ authorEmail, onDeletePost, shareUrl, post, classN
6754
6751
  const [isOpenSharePopup, setIsOpenSharePopup] = React.useState(false);
6755
6752
  const { authActionWrapper } = useTogetherAuthRequiredAction();
6756
6753
  const isAuthor = authorEmail && (userInfo === null || userInfo === void 0 ? void 0 : userInfo.email) && authorEmail === String(userInfo === null || userInfo === void 0 ? void 0 : userInfo.email);
6757
- return (React__namespace["default"].createElement("div", { className: className, onClick: (e) => {
6754
+ return (React__default["default"].createElement("div", { className: className, onClick: (e) => {
6758
6755
  e.preventDefault();
6759
6756
  e.stopPropagation();
6760
6757
  } },
6761
- isOpenSharePopup && (React__namespace["default"].createElement(SharePopup, { url: shareUrl, text: post === null || post === void 0 ? void 0 : post.title, onClose: () => setIsOpenSharePopup(false) })),
6762
- isOpenLeavePopup && (React__namespace["default"].createElement(PopupDanger, { thumbnail: index$9.CommonGAssets.getAssetPath('trash-bin.svg'), isThumbnailIcon: true, title: t('popup.deletePost.title'), description: t('popup.deletePost.description'), acceptText: t('popup.deletePost.accept'), cancelText: t('popup.deletePost.cancel'), onAccept: () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
6758
+ isOpenSharePopup && (React__default["default"].createElement(SharePopup, { url: shareUrl, text: post === null || post === void 0 ? void 0 : post.title, onClose: () => setIsOpenSharePopup(false) })),
6759
+ isOpenLeavePopup && (React__default["default"].createElement(PopupDanger, { thumbnail: index$9.CommonGAssets.getAssetPath('trash-bin.svg'), isThumbnailIcon: true, title: t('popup.deletePost.title'), description: t('popup.deletePost.description'), acceptText: t('popup.deletePost.accept'), cancelText: t('popup.deletePost.cancel'), onAccept: () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
6763
6760
  if (!(post === null || post === void 0 ? void 0 : post.id) || loading)
6764
6761
  return;
6765
6762
  setLoading(true);
@@ -6774,7 +6771,7 @@ const CardPostPopoverMore = ({ authorEmail, onDeletePost, shareUrl, post, classN
6774
6771
  catch (_a) { }
6775
6772
  setLoading(false);
6776
6773
  }), onClose: () => setIsOpenLeavePopup(false) })),
6777
- React__namespace["default"].createElement(TreePopoverMenu, { className: popoverClassName, toggleButtonContent: React__namespace["default"].createElement("img", { src: isMarryBaby ? MBMoreSolid : IconKebab, loading: "lazy" }), position: "bottom", align: "end", buttonProps: {
6774
+ React__default["default"].createElement(TreePopoverMenu, { className: popoverClassName, toggleButtonContent: React__default["default"].createElement("img", { src: isMarryBaby ? MBMoreSolid : IconKebab, loading: "lazy" }), position: "bottom", align: "end", buttonProps: {
6778
6775
  isLoading: loading,
6779
6776
  }, data: isAuthor
6780
6777
  ? {
@@ -6924,7 +6921,7 @@ const CardPostPopoverMore = ({ authorEmail, onDeletePost, shareUrl, post, classN
6924
6921
  description: t('morePopover.reportSubmit.description'),
6925
6922
  isShowheader: true,
6926
6923
  type: 'jsx',
6927
- jsxRenderer: (setShow) => (React__namespace["default"].createElement(SubmitReportForm, { reason: item.reasonValue, reasonText: t(item.reason), postId: post === null || post === void 0 ? void 0 : post.id, onClose: () => setShow && setShow(false) })),
6924
+ jsxRenderer: (setShow) => (React__default["default"].createElement(SubmitReportForm, { reason: item.reasonValue, reasonText: t(item.reason), postId: post === null || post === void 0 ? void 0 : post.id, onClose: () => setShow && setShow(false) })),
6928
6925
  },
6929
6926
  })),
6930
6927
  },
@@ -7118,11 +7115,11 @@ const CardReplyPopover = ({ onDeleteComment, commentId, className = '', popoverC
7118
7115
  const { t } = useTranslations.useTranslations();
7119
7116
  const [isOpenLeavePopup, setIsOpenLeavePopup] = React.useState(false);
7120
7117
  const { authActionWrapper } = useTogetherAuthRequiredAction();
7121
- return (React__namespace["default"].createElement("div", { className: className, onClick: (e) => {
7118
+ return (React__default["default"].createElement("div", { className: className, onClick: (e) => {
7122
7119
  e.preventDefault();
7123
7120
  e.stopPropagation();
7124
7121
  } },
7125
- isOpenLeavePopup && (React__namespace["default"].createElement(PopupDanger, { thumbnail: IconDelete, isThumbnailIcon: true, title: t('popup.deleteComment.title'), description: t('popup.deleteComment.description'), acceptText: t('popup.deletePost.accept'), cancelText: t('popup.deletePost.cancel'), onAccept: () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
7122
+ isOpenLeavePopup && (React__default["default"].createElement(PopupDanger, { thumbnail: IconDelete, isThumbnailIcon: true, title: t('popup.deleteComment.title'), description: t('popup.deleteComment.description'), acceptText: t('popup.deletePost.accept'), cancelText: t('popup.deletePost.cancel'), onAccept: () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
7126
7123
  var _a;
7127
7124
  if (!commentId)
7128
7125
  return;
@@ -7143,7 +7140,7 @@ const CardReplyPopover = ({ onDeleteComment, commentId, className = '', popoverC
7143
7140
  });
7144
7141
  }
7145
7142
  }), onClose: () => setIsOpenLeavePopup(false) })),
7146
- React__namespace["default"].createElement(TreePopoverMenu, { position: "bottom", align: "end", data: {
7143
+ React__default["default"].createElement(TreePopoverMenu, { position: "bottom", align: "end", data: {
7147
7144
  isShowheader: false,
7148
7145
  type: 'list',
7149
7146
  list: [
@@ -7176,7 +7173,7 @@ const CardReplyPopover = ({ onDeleteComment, commentId, className = '', popoverC
7176
7173
  },
7177
7174
  },
7178
7175
  ],
7179
- }, className: popoverClassName, toggleButtonContent: React__namespace["default"].createElement("img", { src: isMarryBaby ? MBMoreSolid : IconKebab, loading: "lazy" }), buttonProps: {
7176
+ }, className: popoverClassName, toggleButtonContent: React__default["default"].createElement("img", { src: isMarryBaby ? MBMoreSolid : IconKebab, loading: "lazy" }), buttonProps: {
7180
7177
  // isLoading: loading,
7181
7178
  } })));
7182
7179
  };
@@ -7254,16 +7251,16 @@ const RecommentCategories = ({ categories }) => {
7254
7251
  const { t } = useTranslations.useTranslations();
7255
7252
  const { data: { locale, env: { isMarryBaby }, }, } = React.useContext(utils.TogetherComponentGlobalContext);
7256
7253
  const url = routing.getCurrentBaseUrl(locale, isMarryBaby);
7257
- return (React__namespace["default"].createElement(StyledContainer, null,
7258
- React__namespace["default"].createElement(StyledHeader, null,
7259
- React__namespace["default"].createElement(index$2.Heading, { tag: "h6", as: "h5" }, t('cardReply.recommentCategories.heading'))),
7260
- React__namespace["default"].createElement(StyledListItems, null, categories.map((i) => (React__namespace["default"].createElement(StyledItem$1, { href: url + i.permalink, key: String(i.termId), target: "_blank" },
7261
- React__namespace["default"].createElement(StyledItemInfo, null,
7262
- React__namespace["default"].createElement(StyledThumb, null,
7263
- React__namespace["default"].createElement("img", { src: i.featureImage ||
7254
+ return (React__default["default"].createElement(StyledContainer, null,
7255
+ React__default["default"].createElement(StyledHeader, null,
7256
+ React__default["default"].createElement(index$2.Heading, { tag: "h6", as: "h5" }, t('cardReply.recommentCategories.heading'))),
7257
+ React__default["default"].createElement(StyledListItems, null, categories.map((i) => (React__default["default"].createElement(StyledItem$1, { href: url + i.permalink, key: String(i.termId), target: "_blank" },
7258
+ React__default["default"].createElement(StyledItemInfo, null,
7259
+ React__default["default"].createElement(StyledThumb, null,
7260
+ React__default["default"].createElement("img", { src: i.featureImage ||
7264
7261
  index$9.CommonGAssets.getAssetPath(isMarryBaby ? 'mb-logo.svg' : '/logo/logomark.png'), alt: i.displayName, loading: "lazy" })),
7265
- React__namespace["default"].createElement(index$1.Text, { size: "s3", weight: "bold" }, i.displayName)),
7266
- React__namespace["default"].createElement(other.ArrowRight, { size: 20, color: theme.theme.colors.gray400 })))))));
7262
+ React__default["default"].createElement(index$1.Text, { size: "s3", weight: "bold" }, i.displayName)),
7263
+ React__default["default"].createElement(other.ArrowRight, { size: 20, color: theme.theme.colors.gray400 })))))));
7267
7264
  };
7268
7265
 
7269
7266
  const StyledItem = styled__default["default"].a `
@@ -7311,19 +7308,19 @@ const SourceItem = ({ postTitle, articleReviewed, modifiedTime, href, }) => {
7311
7308
  };
7312
7309
  }
7313
7310
  })();
7314
- return (React__namespace["default"].createElement(StyledItem, { href: href, title: postTitle, target: "_blank" },
7315
- React__namespace["default"].createElement(index$1.Text, { size: "s3", as: "h5", weight: "bold" }, postTitle),
7316
- React__namespace["default"].createElement("div", null,
7317
- React__namespace["default"].createElement(CardAuthor, { avatar: getDetail === null || getDetail === void 0 ? void 0 : getDetail.avatar, avatarProps: {
7311
+ return (React__default["default"].createElement(StyledItem, { href: href, title: postTitle, target: "_blank" },
7312
+ React__default["default"].createElement(index$1.Text, { size: "s3", as: "h5", weight: "bold" }, postTitle),
7313
+ React__default["default"].createElement("div", null,
7314
+ React__default["default"].createElement(CardAuthor, { avatar: getDetail === null || getDetail === void 0 ? void 0 : getDetail.avatar, avatarProps: {
7318
7315
  size: 32,
7319
7316
  }, name: getDetail === null || getDetail === void 0 ? void 0 : getDetail.name, role: getDetail === null || getDetail === void 0 ? void 0 : getDetail.role, hideBackground: true },
7320
- React__namespace["default"].createElement(CardAuthor.SubTextRow, null,
7321
- React__namespace["default"].createElement(CardAuthor.SubText, null, getDetail === null || getDetail === void 0 ? void 0 :
7317
+ React__default["default"].createElement(CardAuthor.SubTextRow, null,
7318
+ React__default["default"].createElement(CardAuthor.SubText, null, getDetail === null || getDetail === void 0 ? void 0 :
7322
7319
  getDetail.title,
7323
7320
  ' ',
7324
- React__namespace["default"].createElement("span", { style: { color: theme.theme.colors.gray800 } }, getDetail === null || getDetail === void 0 ? void 0 : getDetail.name)),
7325
- React__namespace["default"].createElement(CardAuthor.SubDivider, null),
7326
- React__namespace["default"].createElement(CardAuthor.SubText, null, modifiedTime))))));
7321
+ React__default["default"].createElement("span", { style: { color: theme.theme.colors.gray800 } }, getDetail === null || getDetail === void 0 ? void 0 : getDetail.name)),
7322
+ React__default["default"].createElement(CardAuthor.SubDivider, null),
7323
+ React__default["default"].createElement(CardAuthor.SubText, null, modifiedTime))))));
7327
7324
  };
7328
7325
 
7329
7326
  var styles$1 = {"accordion":"CnNZq8D","header":"F4mmgSy","heading":"_8jLruY3","headingIcon":"FE8w-fe","panel":"Yd2a9Nj","chevron":"A7QrQ7A"};
@@ -7402,14 +7399,14 @@ const SourceList = (_a) => {
7402
7399
  React.useEffect(() => {
7403
7400
  onListChange === null || onListChange === void 0 ? void 0 : onListChange(listUrl);
7404
7401
  }, [listUrl]);
7405
- return (React__namespace["default"].createElement("div", Object.assign({}, rest),
7406
- !editMode && (React__namespace["default"].createElement(StyledAlertTag, null,
7407
- React__namespace["default"].createElement("img", { className: "icon", src: index$9.CommonGAssets.getAssetPath('warning.svg'), alt: "warning", style: { marginBottom: '3px', width: '18px' }, loading: "lazy" }),
7408
- React__namespace["default"].createElement(index$1.Text, { size: "s3", as: "span", dangerouslySetInnerHTML: {
7402
+ return (React__default["default"].createElement("div", Object.assign({}, rest),
7403
+ !editMode && (React__default["default"].createElement(StyledAlertTag, null,
7404
+ React__default["default"].createElement("img", { className: "icon", src: index$9.CommonGAssets.getAssetPath('warning.svg'), alt: "warning", style: { marginBottom: '3px', width: '18px' }, loading: "lazy" }),
7405
+ React__default["default"].createElement(index$1.Text, { size: "s3", as: "span", dangerouslySetInnerHTML: {
7409
7406
  __html: t('cardReply.disclaimer'),
7410
7407
  } }))),
7411
- !hideSourceList ? (loading ? (React__namespace["default"].createElement(Loading$1, null)) : data.length > 0 || editMode ? (React__namespace["default"].createElement(StyledContainer$1, null,
7412
- React__namespace["default"].createElement(core.Accordion, { defaultValue: !collapseSource && 'accordion', styles: {
7408
+ !hideSourceList ? (loading ? (React__default["default"].createElement(Loading$1, null)) : data.length > 0 || editMode ? (React__default["default"].createElement(StyledContainer$1, null,
7409
+ React__default["default"].createElement(core.Accordion, { defaultValue: !collapseSource && 'accordion', styles: {
7413
7410
  control: {
7414
7411
  borderRadius: 'inherit',
7415
7412
  '&[aria-expanded="false"]': {
@@ -7437,17 +7434,17 @@ const SourceList = (_a) => {
7437
7434
  borderBottomRightRadius: 0,
7438
7435
  },
7439
7436
  },
7440
- }, chevron: React__namespace["default"].createElement("div", { className: styles$1.chevron },
7441
- React__namespace["default"].createElement(other.ArrowDown, { color: theme.theme.colors.gray600, size: 20 })) },
7442
- React__namespace["default"].createElement(core.Accordion.Item, { value: "accordion" },
7443
- React__namespace["default"].createElement(core.Accordion.Control, null,
7444
- React__namespace["default"].createElement("div", { className: styles$1.header },
7445
- React__namespace["default"].createElement(index$2.Heading, { as: "h4", tag: "h6" }, t('cardReply.source')))),
7446
- React__namespace["default"].createElement(core.Accordion.Panel, null,
7447
- React__namespace["default"].createElement(StyledListItems$1, null,
7448
- (data || []).map((i, idx) => (React__namespace["default"].createElement(StyledSourceItemWrapper, { key: String(idx) },
7449
- typeof i === 'object' ? (React__namespace["default"].createElement(SourceItem, Object.assign({}, i))) : (React__namespace["default"].createElement(StyledInputWrapper, null,
7450
- React__namespace["default"].createElement(index$b.Input, { style: { width: '100%' }, name: "source-list", value: i || '', size: "sm", onChange: (v) => {
7437
+ }, chevron: React__default["default"].createElement("div", { className: styles$1.chevron },
7438
+ React__default["default"].createElement(other.ArrowDown, { color: theme.theme.colors.gray600, size: 20 })) },
7439
+ React__default["default"].createElement(core.Accordion.Item, { value: "accordion" },
7440
+ React__default["default"].createElement(core.Accordion.Control, null,
7441
+ React__default["default"].createElement("div", { className: styles$1.header },
7442
+ React__default["default"].createElement(index$2.Heading, { as: "h4", tag: "h6" }, t('cardReply.source')))),
7443
+ React__default["default"].createElement(core.Accordion.Panel, null,
7444
+ React__default["default"].createElement(StyledListItems$1, null,
7445
+ (data || []).map((i, idx) => (React__default["default"].createElement(StyledSourceItemWrapper, { key: String(idx) },
7446
+ typeof i === 'object' ? (React__default["default"].createElement(SourceItem, Object.assign({}, i))) : (React__default["default"].createElement(StyledInputWrapper, null,
7447
+ React__default["default"].createElement(index$b.Input, { style: { width: '100%' }, name: "source-list", value: i || '', size: "sm", onChange: (v) => {
7451
7448
  setListUrl((old) => {
7452
7449
  const tmp = [...old];
7453
7450
  tmp[idx] = v;
@@ -7459,11 +7456,11 @@ const SourceList = (_a) => {
7459
7456
  return tmp;
7460
7457
  });
7461
7458
  } }))),
7462
- editMode && (React__namespace["default"].createElement(index$5.Button, { size: "md", color: "transparent", icon: React__namespace["default"].createElement(other.Trash, null), onClick: () => handleRemoveItem(idx) }))))),
7463
- editMode && (React__namespace["default"].createElement(index$5.Button, { className: "add-link", color: "transparent", size: "md", icon: React__namespace["default"].createElement(core$1.Plus, { color: theme.theme.colors.primaryBase, size: 18 }), onClick: () => {
7459
+ editMode && (React__default["default"].createElement(index$5.Button, { size: "md", color: "transparent", icon: React__default["default"].createElement(other.Trash, null), onClick: () => handleRemoveItem(idx) }))))),
7460
+ editMode && (React__default["default"].createElement(index$5.Button, { className: "add-link", color: "transparent", size: "md", icon: React__default["default"].createElement(core$1.Plus, { color: theme.theme.colors.primaryBase, size: 18 }), onClick: () => {
7464
7461
  setListUrl((old) => [...old, '']);
7465
7462
  setData((old) => [...old, '']);
7466
- } }, "Add source")))))))) : (React__namespace["default"].createElement(RecommentCategories, { categories: categories }))) : null));
7463
+ } }, "Add source")))))))) : (React__default["default"].createElement(RecommentCategories, { categories: categories }))) : null));
7467
7464
  };
7468
7465
 
7469
7466
  const StyledCardPost = styled__default["default"].div `
@@ -7673,19 +7670,19 @@ var styles = {"button":"-dzIuHr"};
7673
7670
  const VerifiedTag = ({ userId, avatar, name, role, title, className, }) => {
7674
7671
  const { t } = useTranslations.useTranslations();
7675
7672
  const [openPopup, setOpenPopup] = React.useState(false);
7676
- return (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
7677
- React__namespace["default"].createElement(index$5.Button, { className: `${styles.button} ${className}`, color: "success", size: "xs", onClick: () => setOpenPopup(true), style: {
7673
+ return (React__default["default"].createElement(React__default["default"].Fragment, null,
7674
+ React__default["default"].createElement(index$5.Button, { className: `${styles.button} ${className}`, color: "success", size: "xs", onClick: () => setOpenPopup(true), style: {
7678
7675
  padding: '5px 8px',
7679
7676
  marginBottom: '12px',
7680
7677
  borderRadius: '4px',
7681
7678
  } },
7682
- React__namespace["default"].createElement("span", { className: "text" },
7683
- React__namespace["default"].createElement(other.Endorse, { isSolid: true, size: 18, color: theme.theme.colors.green800, className: "icon" }),
7679
+ React__default["default"].createElement("span", { className: "text" },
7680
+ React__default["default"].createElement(other.Endorse, { isSolid: true, size: 18, color: theme.theme.colors.green800, className: "icon" }),
7684
7681
  t('cardReply.verifyBy', {
7685
7682
  name: `${name || ''}`,
7686
7683
  }))),
7687
- React__namespace["default"].createElement(ProfileDetailModal, { open: openPopup, onClose: () => setOpenPopup(false), profileModalProps: { zIndex: 1000 } },
7688
- React__namespace["default"].createElement(ProfileDetail, { authorProps: {
7684
+ React__default["default"].createElement(ProfileDetailModal, { open: openPopup, onClose: () => setOpenPopup(false), profileModalProps: { zIndex: 1000 } },
7685
+ React__default["default"].createElement(ProfileDetail, { authorProps: {
7689
7686
  userId,
7690
7687
  avatar: avatar,
7691
7688
  name,
@@ -7803,30 +7800,30 @@ const CardReply = ({ className, style, comment: CommentProps, type = 'comment',
7803
7800
  (hospitalInfo === null || hospitalInfo === void 0 ? void 0 : hospitalInfo.total_available_doctor)) > 0;
7804
7801
  const hasQuickBooking = hasQuickBookingEnable && (isDoctorAvailable || isHospitalAvailable);
7805
7802
  const isChatbotAuthor = ((_d = comment === null || comment === void 0 ? void 0 : comment.author) === null || _d === void 0 ? void 0 : _d.type) === 'chatbot';
7806
- return (React__namespace["default"].createElement(TogetherAuthConfigContextProvider, { defaultParams: {
7803
+ return (React__default["default"].createElement(TogetherAuthConfigContextProvider, { defaultParams: {
7807
7804
  _joinCommunityIds: [(_e = post === null || post === void 0 ? void 0 : post.community) === null || _e === void 0 ? void 0 : _e.id],
7808
7805
  _joinTopicIds: (_f = post === null || post === void 0 ? void 0 : post.topics) === null || _f === void 0 ? void 0 : _f.map((t) => t.id),
7809
7806
  } },
7810
- React__namespace["default"].createElement(StyledCardPost, { className: className, style: style, "data-is-reply": !!level, "data-is-marrybaby": isMarryBaby, "data-has-booking": hasQuickBooking },
7811
- type === 'reply' && React__namespace["default"].createElement(index$7.Divider, { className: "top-divider", type: "solid" }),
7812
- React__namespace["default"].createElement("div", { style: { padding: '16px 16px 0' } },
7813
- React__namespace["default"].createElement(CardAuthor, Object.assign({ avatar: avatar, name: name, username: username, timeText: post === null || post === void 0 ? void 0 : post.createdTime, community: post === null || post === void 0 ? void 0 : post.community,
7807
+ React__default["default"].createElement(StyledCardPost, { className: className, style: style, "data-is-reply": !!level, "data-is-marrybaby": isMarryBaby, "data-has-booking": hasQuickBooking },
7808
+ type === 'reply' && React__default["default"].createElement(index$7.Divider, { className: "top-divider", type: "solid" }),
7809
+ React__default["default"].createElement("div", { style: { padding: '16px 16px 0' } },
7810
+ React__default["default"].createElement(CardAuthor, Object.assign({ avatar: avatar, name: name, username: username, timeText: post === null || post === void 0 ? void 0 : post.createdTime, community: post === null || post === void 0 ? void 0 : post.community,
7814
7811
  // miniIcon="./svg/icon-tag.svg"
7815
7812
  // authorLabelType={getAuthorLabelFromRoles(author?.role || [])}
7816
7813
  className: `post-author ${hasPopover ? 'with-popover' : ''}`, type: type, userId: author === null || author === void 0 ? void 0 : author.id, role: authorRole, expertId: author === null || author === void 0 ? void 0 : author.partnerId, title: author === null || author === void 0 ? void 0 : author.title, doctorId: author === null || author === void 0 ? void 0 : author.doctorId, hospitalId: author === null || author === void 0 ? void 0 : author.hospitalId, hasQuickBooking: hasQuickBooking, handleMakeAppointment: handleMakeAppointment, isAnonymous: (comment === null || comment === void 0 ? void 0 : comment.isAnonymous) ||
7817
7814
  (Boolean(post === null || post === void 0 ? void 0 : post.isAnonymous) &&
7818
7815
  ((_g = post === null || post === void 0 ? void 0 : post.author) === null || _g === void 0 ? void 0 : _g.username) === (author === null || author === void 0 ? void 0 : author.username)), hideBackground: isChatbotAuthor, userType: author === null || author === void 0 ? void 0 : author.type }, cardAuthorProps)),
7819
- Boolean(comment === null || comment === void 0 ? void 0 : comment.isVerify) && !Boolean(comment === null || comment === void 0 ? void 0 : comment.isOppose) && (React__namespace["default"].createElement(VerifiedTag, { title: (_h = comment === null || comment === void 0 ? void 0 : comment.userVerify) === null || _h === void 0 ? void 0 : _h.title, name: (_j = comment === null || comment === void 0 ? void 0 : comment.userVerify) === null || _j === void 0 ? void 0 : _j.name, userId: (_k = comment === null || comment === void 0 ? void 0 : comment.userVerify) === null || _k === void 0 ? void 0 : _k.id, role: (_l = comment === null || comment === void 0 ? void 0 : comment.userVerify) === null || _l === void 0 ? void 0 : _l.role, avatar: (_m = comment === null || comment === void 0 ? void 0 : comment.userVerify) === null || _m === void 0 ? void 0 : _m.avatar, className: "verify-tag" }))),
7820
- React__namespace["default"].createElement(PostContent, { className: "post-content-wrapper", replyingTo: replyingTo, mentionedUser: mentionedUser, description: text, mentions: listMentions, maxChars: maxChars, disableShortenContent: disableShortenContent }),
7821
- React__namespace["default"].createElement("span", null),
7822
- React__namespace["default"].createElement("span", null),
7823
- images && images.length > 0 ? (React__namespace["default"].createElement("div", { key: "image-preview", className: "image-preview-wrapper", "data-is-reply": true },
7824
- React__namespace["default"].createElement(PostImagePreview, { images: images, authorName: author === null || author === void 0 ? void 0 : author.username }))) : null,
7825
- (!images || images.length === 0) && link ? (React__namespace["default"].createElement("div", { key: "link-preview", className: "link-preview-wrapper", "data-is-reply": true },
7826
- React__namespace["default"].createElement(CardLink, { url: link }))) : null,
7827
- type !== 'most-engaging' ? (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
7828
- isChatbotAuthor && (React__namespace["default"].createElement(StyledSourceList, { listUrl: comment === null || comment === void 0 ? void 0 : comment.source, categorySlug: comment === null || comment === void 0 ? void 0 : comment.categorySlug })),
7829
- React__namespace["default"].createElement(CardReactions, { type: CardReactionType.reply, loveCount: countLikes, replyCount: mergeCountReplies, className: "post-reaction", liked: liked, isReplied: isCommented, hideCommentIcon: type === 'reply' || isChatbotAuthor, hasShare: false, onCommentClick: () => authActionWrapper(() => setShowInputComment((v) => !v)), onCommentCountClick: () => authActionWrapper(() => {
7816
+ Boolean(comment === null || comment === void 0 ? void 0 : comment.isVerify) && !Boolean(comment === null || comment === void 0 ? void 0 : comment.isOppose) && (React__default["default"].createElement(VerifiedTag, { title: (_h = comment === null || comment === void 0 ? void 0 : comment.userVerify) === null || _h === void 0 ? void 0 : _h.title, name: (_j = comment === null || comment === void 0 ? void 0 : comment.userVerify) === null || _j === void 0 ? void 0 : _j.name, userId: (_k = comment === null || comment === void 0 ? void 0 : comment.userVerify) === null || _k === void 0 ? void 0 : _k.id, role: (_l = comment === null || comment === void 0 ? void 0 : comment.userVerify) === null || _l === void 0 ? void 0 : _l.role, avatar: (_m = comment === null || comment === void 0 ? void 0 : comment.userVerify) === null || _m === void 0 ? void 0 : _m.avatar, className: "verify-tag" }))),
7817
+ React__default["default"].createElement(PostContent, { className: "post-content-wrapper", replyingTo: replyingTo, mentionedUser: mentionedUser, description: text, mentions: listMentions, maxChars: maxChars, disableShortenContent: disableShortenContent }),
7818
+ React__default["default"].createElement("span", null),
7819
+ React__default["default"].createElement("span", null),
7820
+ images && images.length > 0 ? (React__default["default"].createElement("div", { key: "image-preview", className: "image-preview-wrapper", "data-is-reply": true },
7821
+ React__default["default"].createElement(PostImagePreview, { images: images, authorName: author === null || author === void 0 ? void 0 : author.username }))) : null,
7822
+ (!images || images.length === 0) && link ? (React__default["default"].createElement("div", { key: "link-preview", className: "link-preview-wrapper", "data-is-reply": true },
7823
+ React__default["default"].createElement(CardLink, { url: link }))) : null,
7824
+ type !== 'most-engaging' ? (React__default["default"].createElement(React__default["default"].Fragment, null,
7825
+ isChatbotAuthor && (React__default["default"].createElement(StyledSourceList, { listUrl: comment === null || comment === void 0 ? void 0 : comment.source, categorySlug: comment === null || comment === void 0 ? void 0 : comment.categorySlug })),
7826
+ React__default["default"].createElement(CardReactions, { type: CardReactionType.reply, loveCount: countLikes, replyCount: mergeCountReplies, className: "post-reaction", liked: liked, isReplied: isCommented, hideCommentIcon: type === 'reply' || isChatbotAuthor, hasShare: false, onCommentClick: () => authActionWrapper(() => setShowInputComment((v) => !v)), onCommentCountClick: () => authActionWrapper(() => {
7830
7827
  setShowInputComment(true);
7831
7828
  }), onLikeClick: () => authActionWrapper(() => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
7832
7829
  if (id) {
@@ -7842,7 +7839,7 @@ const CardReply = ({ className, style, comment: CommentProps, type = 'comment',
7842
7839
  }
7843
7840
  }
7844
7841
  })) }),
7845
- showInputComment && (React__namespace["default"].createElement(InputCommentBar, { replyingId: replyingId || comment.id, replyToName: name, isReply: true, onClose: () => setShowInputComment(false), onPostSuccess: (comment) => {
7842
+ showInputComment && (React__default["default"].createElement(InputCommentBar, { replyingId: replyingId || comment.id, replyToName: name, isReply: true, onClose: () => setShowInputComment(false), onPostSuccess: (comment) => {
7846
7843
  if (type === 'reply') {
7847
7844
  onPostCommentSuccess && onPostCommentSuccess(comment);
7848
7845
  }
@@ -7850,20 +7847,20 @@ const CardReply = ({ className, style, comment: CommentProps, type = 'comment',
7850
7847
  addNewReply(comment);
7851
7848
  }
7852
7849
  }, post: post, replyingUser: author })),
7853
- type === 'comment' && replies && replies.length > 0 ? (React__namespace["default"].createElement("div", { className: "comment-reply-wrapper" }, (_o = sortedReplies === null || sortedReplies === void 0 ? void 0 : sortedReplies.slice(0, maxRepliesShow)) === null || _o === void 0 ? void 0 :
7854
- _o.map((reply) => (React__namespace["default"].createElement(CardReply, { key: reply.id, comment: reply, type: "reply", className: "comment-reply-item", level: level + 1, replyingId: id, onPostCommentSuccess: addNewReply, post: post, onDeleteComment: () => {
7850
+ type === 'comment' && replies && replies.length > 0 ? (React__default["default"].createElement("div", { className: "comment-reply-wrapper" }, (_o = sortedReplies === null || sortedReplies === void 0 ? void 0 : sortedReplies.slice(0, maxRepliesShow)) === null || _o === void 0 ? void 0 :
7851
+ _o.map((reply) => (React__default["default"].createElement(CardReply, { key: reply.id, comment: reply, type: "reply", className: "comment-reply-item", level: level + 1, replyingId: id, onPostCommentSuccess: addNewReply, post: post, onDeleteComment: () => {
7855
7852
  setComment((old) => {
7856
7853
  return Object.assign(Object.assign({}, old), { replies: old.replies.filter((r) => r.id !== reply.id), countReplies: old.countReplies - 1 });
7857
7854
  });
7858
7855
  }, handleMakeAppointment: handleMakeAppointment, hasQuickBookingEnable: hasQuickBookingEnable }))),
7859
- mergeCountReplies > maxRepliesShow && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
7860
- React__namespace["default"].createElement(index$7.Divider, { className: "top-divider", type: "solid" }),
7861
- React__namespace["default"].createElement(index$5.Button, { className: "more-cmt", size: "lg", color: "ghost", onClick: () => setMaxRepliesShow((m) => m + COMMENT_LIMIT) },
7856
+ mergeCountReplies > maxRepliesShow && (React__default["default"].createElement(React__default["default"].Fragment, null,
7857
+ React__default["default"].createElement(index$7.Divider, { className: "top-divider", type: "solid" }),
7858
+ React__default["default"].createElement(index$5.Button, { className: "more-cmt", size: "lg", color: "ghost", onClick: () => setMaxRepliesShow((m) => m + COMMENT_LIMIT) },
7862
7859
  t('comment.seeMoreReplies', {
7863
7860
  count: mergeCountReplies - maxRepliesShow,
7864
7861
  }),
7865
- React__namespace["default"].createElement("img", { className: "chevron-right", src: ChevronRightActive, loading: "lazy" })))))) : null)) : null,
7866
- hasPopover && (React__namespace["default"].createElement(CardReplyPopover, { onDeleteComment: onDeleteComment, className: "popover", commentId: comment.id })))));
7862
+ React__default["default"].createElement("img", { className: "chevron-right", src: ChevronRightActive, loading: "lazy" })))))) : null)) : null,
7863
+ hasPopover && (React__default["default"].createElement(CardReplyPopover, { onDeleteComment: onDeleteComment, className: "popover", commentId: comment.id })))));
7867
7864
  };
7868
7865
 
7869
7866
  const getMostEngagingComment = (postId, locale) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
@@ -7967,33 +7964,33 @@ const CardPost = ({ className, style, hideViewMoreComment, showMostEngaging, onC
7967
7964
  setPost((p) => (Object.assign(Object.assign({}, p), { commentsCount: p.commentsCount - 1 })));
7968
7965
  onDeleteCommentProp && onDeleteCommentProp(comment);
7969
7966
  });
7970
- return (React__namespace["default"].createElement(TogetherAuthConfigContextProvider, { defaultParams: (community === null || community === void 0 ? void 0 : community.slug)
7967
+ return (React__default["default"].createElement(TogetherAuthConfigContextProvider, { defaultParams: (community === null || community === void 0 ? void 0 : community.slug)
7971
7968
  ? {
7972
7969
  _joinCommunityIds: [community.id],
7973
7970
  _joinTopicIds: topics === null || topics === void 0 ? void 0 : topics.map((t) => t.id),
7974
7971
  // _location: postHref,
7975
7972
  }
7976
7973
  : undefined },
7977
- isOpenSharePopup && (React__namespace["default"].createElement(SharePopup, { url: postHref, avatar: utils.DEFAULT_IMG, text: title, onClose: () => setIsOpenSharePopup(false) })),
7978
- React__namespace["default"].createElement(StyledCardPost$1, { className: className, style: style, "data-is-marrybaby": isMarryBaby },
7979
- isPin ? React__namespace["default"].createElement(LabelPin, { className: "post-pin" }) : null,
7980
- React__namespace["default"].createElement("div", { style: { position: 'relative', padding: '1rem 1rem 0' } },
7981
- React__namespace["default"].createElement(CardAuthor, Object.assign({ avatar: avatar, name: name, username: username, url: disableCardLink ? undefined : postRelativeHref, community: community,
7974
+ isOpenSharePopup && (React__default["default"].createElement(SharePopup, { url: postHref, avatar: utils.DEFAULT_IMG, text: title, onClose: () => setIsOpenSharePopup(false) })),
7975
+ React__default["default"].createElement(StyledCardPost$1, { className: className, style: style, "data-is-marrybaby": isMarryBaby },
7976
+ isPin ? React__default["default"].createElement(LabelPin, { className: "post-pin" }) : null,
7977
+ React__default["default"].createElement("div", { style: { position: 'relative', padding: '1rem 1rem 0' } },
7978
+ React__default["default"].createElement(CardAuthor, Object.assign({ avatar: avatar, name: name, username: username, url: disableCardLink ? undefined : postRelativeHref, community: community,
7982
7979
  // miniIcon="./svg/icon-tag.svg"
7983
- timeText: post === null || post === void 0 ? void 0 : post.createdTime, className: "post-author", role: authorRole, userId: author === null || author === void 0 ? void 0 : author.id, expertId: author === null || author === void 0 ? void 0 : author.partnerId, doctorId: author === null || author === void 0 ? void 0 : author.doctorId, hospitalId: author === null || author === void 0 ? void 0 : author.hospitalId, title: author === null || author === void 0 ? void 0 : author.title, hasQuickBooking: hasQuickBooking, handleMakeAppointment: handleMakeAppointment, "data-testid": "name", isAnonymous: !!(post === null || post === void 0 ? void 0 : post.isAnonymous), extendEle: React__namespace["default"].createElement(CardPostPopoverMore, { authorEmail: String(author === null || author === void 0 ? void 0 : author.email), onDeletePost: onDeletePost, shareUrl: postHref, post: post, className: "popover", onEditPost: onEditPost }) }, cardAuthorProps))),
7984
- React__namespace["default"].createElement("a", { href: disableCardLink ? undefined : postRelativeHref, className: "post-content-link-wrapper" },
7985
- title && (React__namespace["default"].createElement(index$2.Heading, { className: "post-content-title", as: "h2", tag: "h5", fontWeight: "bold", "data-testid": "Title of the Post" }, innertext__default["default"](title))),
7986
- React__namespace["default"].createElement(PostContent, { className: "post-content-wrapper", description: description, disableShortenContent: disableShortenContent, mentions: mentions, "data-testid": "Content of the Post" })),
7987
- React__namespace["default"].createElement("span", null),
7988
- React__namespace["default"].createElement("span", null),
7989
- React__namespace["default"].createElement("div", { key: "tag-topic" }, topics && topics.length > 0 ? (React__namespace["default"].createElement(TagTopic, { topics: topics, className: "post-topics" })) : null),
7990
- React__namespace["default"].createElement("div", { key: "social-preview" }, (post === null || post === void 0 ? void 0 : post.introUrl) ? (React__namespace["default"].createElement("div", { className: `social-preview-wrapper ${!!(photos === null || photos === void 0 ? void 0 : photos.length) ? 'has-image' : ''}` },
7991
- React__namespace["default"].createElement(SocialLinkPreview, { url: post.introUrl, image: post.bannerImage }))) : null),
7992
- React__namespace["default"].createElement("div", { key: "image-preview" }, !!(photos === null || photos === void 0 ? void 0 : photos.length) ? (React__namespace["default"].createElement("div", { className: "image-preview-wrapper" },
7993
- React__namespace["default"].createElement(PostImagePreview, { images: photos, authorName: author === null || author === void 0 ? void 0 : author.name }))) : null),
7994
- React__namespace["default"].createElement("div", { key: "link-preview" }, !(post === null || post === void 0 ? void 0 : post.introUrl) && !(photos === null || photos === void 0 ? void 0 : photos.length) && (previewUrl === null || previewUrl === void 0 ? void 0 : previewUrl.url) ? (React__namespace["default"].createElement("div", { className: "link-preview-wrapper" },
7995
- React__namespace["default"].createElement(CardLink, { title: previewUrl.title, url: previewUrl.url, image: previewUrl.image }))) : null),
7996
- React__namespace["default"].createElement(CardReactions, { isMarryBaby: isMarryBaby, type: CardReactionType.post, loveCount: likesCount, replyCount: commentsCount, className: `post-reaction ${(photos === null || photos === void 0 ? void 0 : photos.length) || (previewUrl === null || previewUrl === void 0 ? void 0 : previewUrl.url) ? 'hide-top-border' : ''}`, liked: isLikeLoading ? !liked : liked, isReplied: commented, onCommentClick: () => authActionWrapper(() => {
7980
+ timeText: post === null || post === void 0 ? void 0 : post.createdTime, className: "post-author", role: authorRole, userId: author === null || author === void 0 ? void 0 : author.id, expertId: author === null || author === void 0 ? void 0 : author.partnerId, doctorId: author === null || author === void 0 ? void 0 : author.doctorId, hospitalId: author === null || author === void 0 ? void 0 : author.hospitalId, title: author === null || author === void 0 ? void 0 : author.title, hasQuickBooking: hasQuickBooking, handleMakeAppointment: handleMakeAppointment, "data-testid": "name", isAnonymous: !!(post === null || post === void 0 ? void 0 : post.isAnonymous), extendEle: React__default["default"].createElement(CardPostPopoverMore, { authorEmail: String(author === null || author === void 0 ? void 0 : author.email), onDeletePost: onDeletePost, shareUrl: postHref, post: post, className: "popover", onEditPost: onEditPost }) }, cardAuthorProps))),
7981
+ React__default["default"].createElement("a", { href: disableCardLink ? undefined : postRelativeHref, className: "post-content-link-wrapper" },
7982
+ title && (React__default["default"].createElement(index$2.Heading, { className: "post-content-title", as: "h2", tag: "h5", fontWeight: "bold", "data-testid": "Title of the Post" }, innertext__default["default"](title))),
7983
+ React__default["default"].createElement(PostContent, { className: "post-content-wrapper", description: description, disableShortenContent: disableShortenContent, mentions: mentions, "data-testid": "Content of the Post" })),
7984
+ React__default["default"].createElement("span", null),
7985
+ React__default["default"].createElement("span", null),
7986
+ React__default["default"].createElement("div", { key: "tag-topic" }, topics && topics.length > 0 ? (React__default["default"].createElement(TagTopic, { topics: topics, className: "post-topics" })) : null),
7987
+ React__default["default"].createElement("div", { key: "social-preview" }, (post === null || post === void 0 ? void 0 : post.introUrl) ? (React__default["default"].createElement("div", { className: `social-preview-wrapper ${!!(photos === null || photos === void 0 ? void 0 : photos.length) ? 'has-image' : ''}` },
7988
+ React__default["default"].createElement(SocialLinkPreview, { url: post.introUrl, image: post.bannerImage }))) : null),
7989
+ React__default["default"].createElement("div", { key: "image-preview" }, !!(photos === null || photos === void 0 ? void 0 : photos.length) ? (React__default["default"].createElement("div", { className: "image-preview-wrapper" },
7990
+ React__default["default"].createElement(PostImagePreview, { images: photos, authorName: author === null || author === void 0 ? void 0 : author.name }))) : null),
7991
+ React__default["default"].createElement("div", { key: "link-preview" }, !(post === null || post === void 0 ? void 0 : post.introUrl) && !(photos === null || photos === void 0 ? void 0 : photos.length) && (previewUrl === null || previewUrl === void 0 ? void 0 : previewUrl.url) ? (React__default["default"].createElement("div", { className: "link-preview-wrapper" },
7992
+ React__default["default"].createElement(CardLink, { title: previewUrl.title, url: previewUrl.url, image: previewUrl.image }))) : null),
7993
+ React__default["default"].createElement(CardReactions, { isMarryBaby: isMarryBaby, type: CardReactionType.post, loveCount: likesCount, replyCount: commentsCount, className: `post-reaction ${(photos === null || photos === void 0 ? void 0 : photos.length) || (previewUrl === null || previewUrl === void 0 ? void 0 : previewUrl.url) ? 'hide-top-border' : ''}`, liked: isLikeLoading ? !liked : liked, isReplied: commented, onCommentClick: () => authActionWrapper(() => {
7997
7994
  onCommentClick ? onCommentClick() : setShowInputComment((v) => !v);
7998
7995
  }), onCommentCountClick: () => {
7999
7996
  authActionWrapper(() => {
@@ -8026,8 +8023,8 @@ const CardPost = ({ className, style, hideViewMoreComment, showMostEngaging, onC
8026
8023
  }
8027
8024
  setIsLikeLoading(false);
8028
8025
  }), showingMostEngaging: !!(showMostEngaging && (mostEngagingComment === null || mostEngagingComment === void 0 ? void 0 : mostEngagingComment.id)) }),
8029
- showInputComment && (React__namespace["default"].createElement(InputCommentBar, { isMainCmt: !propsShowInputComment, onClose: () => setShowInputComment(false), onPostSuccess: onPostCommentSuccess, post: post })),
8030
- showMostEngaging && (mostEngagingComment === null || mostEngagingComment === void 0 ? void 0 : mostEngagingComment.id) ? (React__namespace["default"].createElement("div", { className: "most-engaging-wrapper", onClick: (e) => {
8026
+ showInputComment && (React__default["default"].createElement(InputCommentBar, { isMainCmt: !propsShowInputComment, onClose: () => setShowInputComment(false), onPostSuccess: onPostCommentSuccess, post: post })),
8027
+ showMostEngaging && (mostEngagingComment === null || mostEngagingComment === void 0 ? void 0 : mostEngagingComment.id) ? (React__default["default"].createElement("div", { className: "most-engaging-wrapper", onClick: (e) => {
8031
8028
  if (onMostEngagingCommentClick) {
8032
8029
  e.stopPropagation();
8033
8030
  onMostEngagingCommentClick();
@@ -8035,10 +8032,10 @@ const CardPost = ({ className, style, hideViewMoreComment, showMostEngaging, onC
8035
8032
  else
8036
8033
  window.location.href = postRelativeHref;
8037
8034
  } },
8038
- React__namespace["default"].createElement(CardReply, { hasQuickBookingEnable: hasQuickBookingEnable, handleMakeAppointment: handleMakeAppointment, comment: mostEngagingComment, post: post, onDeleteComment: () => {
8035
+ React__default["default"].createElement(CardReply, { hasQuickBookingEnable: hasQuickBookingEnable, handleMakeAppointment: handleMakeAppointment, comment: mostEngagingComment, post: post, onDeleteComment: () => {
8039
8036
  onDeleteComment && onDeleteComment(mostEngagingComment);
8040
8037
  }, className: "most-engaging-comment", type: "most-engaging", key: mostEngagingComment.id, cardAuthorProps: cardAuthorProps }),
8041
- commentsCount > 1 && !hideViewMoreComment && (React__namespace["default"].createElement(index$5.Button, { className: "see-more-comments", color: "ghost", size: "md" }, t('comment.seeMoreComments', {
8038
+ commentsCount > 1 && !hideViewMoreComment && (React__default["default"].createElement(index$5.Button, { className: "see-more-comments", color: "ghost", size: "md" }, t('comment.seeMoreComments', {
8042
8039
  count: commentsCount - 1,
8043
8040
  }))))) : null,
8044
8041
  InlineCommentsComponent)));
@@ -8055,7 +8052,6 @@ exports.CardPostPopoverMore = CardPostPopoverMore;
8055
8052
  exports.CardReactions = CardReactions;
8056
8053
  exports.CardReply = CardReply;
8057
8054
  exports.CardReplyPopover = CardReplyPopover;
8058
- exports.Close = Close;
8059
8055
  exports.CreateNewPostContent = CreateNewPostContent;
8060
8056
  exports.CreatePostDescription = CreatePostDescription;
8061
8057
  exports.CreatePostTitle = CreatePostTitle;