@mirai/core 0.4.51 → 0.4.52

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 (1137) hide show
  1. package/build/Core.Notifications.js +1 -4
  2. package/build/Core.Notifications.js.map +1 -1
  3. package/build/Core.constants.js +1 -4
  4. package/build/Core.constants.js.map +1 -1
  5. package/build/Core.js +1 -4
  6. package/build/Core.js.map +1 -1
  7. package/build/Core.provider.js +1 -4
  8. package/build/Core.provider.js.map +1 -1
  9. package/build/components/BannerLoyalty/BannerLoyalty.constants.js +1 -4
  10. package/build/components/BannerLoyalty/BannerLoyalty.constants.js.map +1 -1
  11. package/build/components/BannerLoyalty/BannerLoyalty.js +1 -4
  12. package/build/components/BannerLoyalty/BannerLoyalty.js.map +1 -1
  13. package/build/components/BannerLoyalty/BannerLoyalty.l10n.js +1 -4
  14. package/build/components/BannerLoyalty/BannerLoyalty.l10n.js.map +1 -1
  15. package/build/components/BannerLoyalty/BannerLoyalty.skeleton.js +1 -4
  16. package/build/components/BannerLoyalty/BannerLoyalty.skeleton.js.map +1 -1
  17. package/build/components/BannerLoyalty/index.js +1 -4
  18. package/build/components/BannerLoyalty/index.js.map +1 -1
  19. package/build/components/Booking/Booking.constants.js +1 -4
  20. package/build/components/Booking/Booking.constants.js.map +1 -1
  21. package/build/components/Booking/Booking.js +1 -4
  22. package/build/components/Booking/Booking.js.map +1 -1
  23. package/build/components/Booking/Booking.l10n.js +1 -4
  24. package/build/components/Booking/Booking.l10n.js.map +1 -1
  25. package/build/components/Booking/Booking.skeleton.js +1 -4
  26. package/build/components/Booking/Booking.skeleton.js.map +1 -1
  27. package/build/components/Booking/components/Field/Field.js +1 -4
  28. package/build/components/Booking/components/Field/Field.js.map +1 -1
  29. package/build/components/Booking/components/Field/Field.l10n.js +1 -4
  30. package/build/components/Booking/components/Field/Field.l10n.js.map +1 -1
  31. package/build/components/Booking/components/Field/index.js +1 -4
  32. package/build/components/Booking/components/Field/index.js.map +1 -1
  33. package/build/components/Booking/components/Hotelverse/Hotelverse.js +1 -4
  34. package/build/components/Booking/components/Hotelverse/Hotelverse.js.map +1 -1
  35. package/build/components/Booking/components/Hotelverse/Hotelverse.l10n.js +1 -4
  36. package/build/components/Booking/components/Hotelverse/Hotelverse.l10n.js.map +1 -1
  37. package/build/components/Booking/components/Hotelverse/index.js +1 -4
  38. package/build/components/Booking/components/Hotelverse/index.js.map +1 -1
  39. package/build/components/Booking/components/index.js +1 -4
  40. package/build/components/Booking/components/index.js.map +1 -1
  41. package/build/components/Booking/helpers/getButtonPaymentKey.js +1 -4
  42. package/build/components/Booking/helpers/getButtonPaymentKey.js.map +1 -1
  43. package/build/components/Booking/helpers/getButtonPaymentKey.l10n.js +1 -4
  44. package/build/components/Booking/helpers/getButtonPaymentKey.l10n.js.map +1 -1
  45. package/build/components/Booking/helpers/index.js +1 -4
  46. package/build/components/Booking/helpers/index.js.map +1 -1
  47. package/build/components/Booking/index.js +1 -4
  48. package/build/components/Booking/index.js.map +1 -1
  49. package/build/components/Booking/partials/Booking.FormCancel.js +1 -4
  50. package/build/components/Booking/partials/Booking.FormCancel.js.map +1 -1
  51. package/build/components/Booking/partials/Booking.FormEdit.js +1 -4
  52. package/build/components/Booking/partials/Booking.FormEdit.js.map +1 -1
  53. package/build/components/Booking/partials/Booking.FormResend.js +1 -4
  54. package/build/components/Booking/partials/Booking.FormResend.js.map +1 -1
  55. package/build/components/Booking/partials/Booking.Information.js +1 -4
  56. package/build/components/Booking/partials/Booking.Information.js.map +1 -1
  57. package/build/components/Booking/partials/Booking.Menu.js +1 -4
  58. package/build/components/Booking/partials/Booking.Menu.js.map +1 -1
  59. package/build/components/Booking/partials/Booking.Modal.js +1 -4
  60. package/build/components/Booking/partials/Booking.Modal.js.map +1 -1
  61. package/build/components/Booking/partials/Booking.ModalAgency.js +1 -4
  62. package/build/components/Booking/partials/Booking.ModalAgency.js.map +1 -1
  63. package/build/components/Booking/partials/Booking.Payment.js +1 -4
  64. package/build/components/Booking/partials/Booking.Payment.js.map +1 -1
  65. package/build/components/Booking/partials/index.js +1 -4
  66. package/build/components/Booking/partials/index.js.map +1 -1
  67. package/build/components/BookingQuery/BookingQuery.constants.js +1 -4
  68. package/build/components/BookingQuery/BookingQuery.constants.js.map +1 -1
  69. package/build/components/BookingQuery/BookingQuery.js +1 -4
  70. package/build/components/BookingQuery/BookingQuery.js.map +1 -1
  71. package/build/components/BookingQuery/BookingQuery.l10n.js +1 -4
  72. package/build/components/BookingQuery/BookingQuery.l10n.js.map +1 -1
  73. package/build/components/BookingQuery/helpers/getErrorText.js +1 -4
  74. package/build/components/BookingQuery/helpers/getErrorText.js.map +1 -1
  75. package/build/components/BookingQuery/helpers/index.js +1 -4
  76. package/build/components/BookingQuery/helpers/index.js.map +1 -1
  77. package/build/components/BookingQuery/index.js +1 -4
  78. package/build/components/BookingQuery/index.js.map +1 -1
  79. package/build/components/ButtonFinder/ButtonFinder.js +1 -4
  80. package/build/components/ButtonFinder/ButtonFinder.js.map +1 -1
  81. package/build/components/ButtonFinder/ButtonFinder.l10n.js +1 -4
  82. package/build/components/ButtonFinder/ButtonFinder.l10n.js.map +1 -1
  83. package/build/components/ButtonFinder/index.js +1 -4
  84. package/build/components/ButtonFinder/index.js.map +1 -1
  85. package/build/components/Chat/Chat.ButtonAvatar.js +1 -4
  86. package/build/components/Chat/Chat.ButtonAvatar.js.map +1 -1
  87. package/build/components/Chat/Chat.Header.js +1 -4
  88. package/build/components/Chat/Chat.Header.js.map +1 -1
  89. package/build/components/Chat/Chat.constants.js +1 -4
  90. package/build/components/Chat/Chat.constants.js.map +1 -1
  91. package/build/components/Chat/Chat.js +1 -4
  92. package/build/components/Chat/Chat.js.map +1 -1
  93. package/build/components/Chat/Chat.l10n.js +1 -4
  94. package/build/components/Chat/Chat.l10n.js.map +1 -1
  95. package/build/components/Chat/components/Avatar/Avatar.js +1 -4
  96. package/build/components/Chat/components/Avatar/Avatar.js.map +1 -1
  97. package/build/components/Chat/components/Avatar/index.js +1 -4
  98. package/build/components/Chat/components/Avatar/index.js.map +1 -1
  99. package/build/components/Chat/components/Input/Input.js +1 -4
  100. package/build/components/Chat/components/Input/Input.js.map +1 -1
  101. package/build/components/Chat/components/Input/Input.l10n.js +1 -4
  102. package/build/components/Chat/components/Input/Input.l10n.js.map +1 -1
  103. package/build/components/Chat/components/Input/index.js +1 -4
  104. package/build/components/Chat/components/Input/index.js.map +1 -1
  105. package/build/components/Chat/components/InputRich/InputRich.List.js +1 -4
  106. package/build/components/Chat/components/InputRich/InputRich.List.js.map +1 -1
  107. package/build/components/Chat/components/InputRich/InputRich.js +1 -4
  108. package/build/components/Chat/components/InputRich/InputRich.js.map +1 -1
  109. package/build/components/Chat/components/InputRich/InputRich.l10n.js +1 -4
  110. package/build/components/Chat/components/InputRich/InputRich.l10n.js.map +1 -1
  111. package/build/components/Chat/components/InputRich/helpers/getVerboseList.js +1 -4
  112. package/build/components/Chat/components/InputRich/helpers/getVerboseList.js.map +1 -1
  113. package/build/components/Chat/components/InputRich/helpers/getVerboseOccupation.js +1 -4
  114. package/build/components/Chat/components/InputRich/helpers/getVerboseOccupation.js.map +1 -1
  115. package/build/components/Chat/components/InputRich/helpers/index.js +1 -4
  116. package/build/components/Chat/components/InputRich/helpers/index.js.map +1 -1
  117. package/build/components/Chat/components/InputRich/index.js +1 -4
  118. package/build/components/Chat/components/InputRich/index.js.map +1 -1
  119. package/build/components/Chat/components/Message/Message.constants.js +1 -4
  120. package/build/components/Chat/components/Message/Message.constants.js.map +1 -1
  121. package/build/components/Chat/components/Message/Message.js +1 -4
  122. package/build/components/Chat/components/Message/Message.js.map +1 -1
  123. package/build/components/Chat/components/Message/components/Booking.js +1 -4
  124. package/build/components/Chat/components/Message/components/Booking.js.map +1 -1
  125. package/build/components/Chat/components/Message/components/Card.js +1 -4
  126. package/build/components/Chat/components/Message/components/Card.js.map +1 -1
  127. package/build/components/Chat/components/Message/components/Environment.js +1 -4
  128. package/build/components/Chat/components/Message/components/Environment.js.map +1 -1
  129. package/build/components/Chat/components/Message/components/Typewriter.js +1 -4
  130. package/build/components/Chat/components/Message/components/Typewriter.js.map +1 -1
  131. package/build/components/Chat/components/Message/components/index.js +1 -4
  132. package/build/components/Chat/components/Message/components/index.js.map +1 -1
  133. package/build/components/Chat/components/Message/helpers/getActionIcon.js +1 -4
  134. package/build/components/Chat/components/Message/helpers/getActionIcon.js.map +1 -1
  135. package/build/components/Chat/components/Message/helpers/getTime.js +1 -4
  136. package/build/components/Chat/components/Message/helpers/getTime.js.map +1 -1
  137. package/build/components/Chat/components/Message/helpers/index.js +1 -4
  138. package/build/components/Chat/components/Message/helpers/index.js.map +1 -1
  139. package/build/components/Chat/components/Message/index.js +1 -4
  140. package/build/components/Chat/components/Message/index.js.map +1 -1
  141. package/build/components/Chat/components/Message/intents/BookingQuery.js +1 -4
  142. package/build/components/Chat/components/Message/intents/BookingQuery.js.map +1 -1
  143. package/build/components/Chat/components/Message/intents/HotelInfo.js +1 -4
  144. package/build/components/Chat/components/Message/intents/HotelInfo.js.map +1 -1
  145. package/build/components/Chat/components/Message/intents/Offers.js +1 -4
  146. package/build/components/Chat/components/Message/intents/Offers.js.map +1 -1
  147. package/build/components/Chat/components/Message/intents/Unknown.js +1 -4
  148. package/build/components/Chat/components/Message/intents/Unknown.js.map +1 -1
  149. package/build/components/Chat/components/Message/intents/index.js +1 -4
  150. package/build/components/Chat/components/Message/intents/index.js.map +1 -1
  151. package/build/components/Chat/components/index.js +1 -4
  152. package/build/components/Chat/components/index.js.map +1 -1
  153. package/build/components/Chat/helpers/audioNotification.js +1 -4
  154. package/build/components/Chat/helpers/audioNotification.js.map +1 -1
  155. package/build/components/Chat/helpers/getVerboseDate.js +1 -4
  156. package/build/components/Chat/helpers/getVerboseDate.js.map +1 -1
  157. package/build/components/Chat/helpers/index.js +1 -4
  158. package/build/components/Chat/helpers/index.js.map +1 -1
  159. package/build/components/Chat/index.js +1 -4
  160. package/build/components/Chat/index.js.map +1 -1
  161. package/build/components/Checkout/Checkout.constants.js +1 -4
  162. package/build/components/Checkout/Checkout.constants.js.map +1 -1
  163. package/build/components/Checkout/Checkout.js +1 -4
  164. package/build/components/Checkout/Checkout.js.map +1 -1
  165. package/build/components/Checkout/Checkout.l10n.js +1 -4
  166. package/build/components/Checkout/Checkout.l10n.js.map +1 -1
  167. package/build/components/Checkout/Checkout.skeleton.js +1 -4
  168. package/build/components/Checkout/Checkout.skeleton.js.map +1 -1
  169. package/build/components/Checkout/components/InputRadio/InputRadio.js +1 -4
  170. package/build/components/Checkout/components/InputRadio/InputRadio.js.map +1 -1
  171. package/build/components/Checkout/components/InputRadio/index.js +1 -4
  172. package/build/components/Checkout/components/InputRadio/index.js.map +1 -1
  173. package/build/components/Checkout/components/index.js +1 -4
  174. package/build/components/Checkout/components/index.js.map +1 -1
  175. package/build/components/Checkout/helpers/getButtonPaymentKey.js +1 -4
  176. package/build/components/Checkout/helpers/getButtonPaymentKey.js.map +1 -1
  177. package/build/components/Checkout/helpers/getButtonPaymentKey.l10n.js +1 -4
  178. package/build/components/Checkout/helpers/getButtonPaymentKey.l10n.js.map +1 -1
  179. package/build/components/Checkout/helpers/getFieldProps.js +1 -4
  180. package/build/components/Checkout/helpers/getFieldProps.js.map +1 -1
  181. package/build/components/Checkout/helpers/getSchemaProps.js +1 -4
  182. package/build/components/Checkout/helpers/getSchemaProps.js.map +1 -1
  183. package/build/components/Checkout/helpers/getVariant.js +1 -4
  184. package/build/components/Checkout/helpers/getVariant.js.map +1 -1
  185. package/build/components/Checkout/helpers/index.js +1 -4
  186. package/build/components/Checkout/helpers/index.js.map +1 -1
  187. package/build/components/Checkout/helpers/testDNI.js +1 -4
  188. package/build/components/Checkout/helpers/testDNI.js.map +1 -1
  189. package/build/components/Checkout/index.js +1 -4
  190. package/build/components/Checkout/index.js.map +1 -1
  191. package/build/components/Checkout/partials/Checkout.Confirmation.js +1 -4
  192. package/build/components/Checkout/partials/Checkout.Confirmation.js.map +1 -1
  193. package/build/components/Checkout/partials/Checkout.Form.js +1 -4
  194. package/build/components/Checkout/partials/Checkout.Form.js.map +1 -1
  195. package/build/components/Checkout/partials/index.js +1 -4
  196. package/build/components/Checkout/partials/index.js.map +1 -1
  197. package/build/components/Deals/Deals.Calendar.js +1 -4
  198. package/build/components/Deals/Deals.Calendar.js.map +1 -1
  199. package/build/components/Deals/Deals.constants.js +1 -4
  200. package/build/components/Deals/Deals.constants.js.map +1 -1
  201. package/build/components/Deals/Deals.js +1 -4
  202. package/build/components/Deals/Deals.js.map +1 -1
  203. package/build/components/Deals/Deals.l10n.js +1 -4
  204. package/build/components/Deals/Deals.l10n.js.map +1 -1
  205. package/build/components/Deals/Deals.skeleton.js +1 -4
  206. package/build/components/Deals/Deals.skeleton.js.map +1 -1
  207. package/build/components/Deals/helpers/calcFromDate.js +1 -4
  208. package/build/components/Deals/helpers/calcFromDate.js.map +1 -1
  209. package/build/components/Deals/helpers/calcMinStay.js +1 -4
  210. package/build/components/Deals/helpers/calcMinStay.js.map +1 -1
  211. package/build/components/Deals/helpers/calcNightWithDeals.js +1 -4
  212. package/build/components/Deals/helpers/calcNightWithDeals.js.map +1 -1
  213. package/build/components/Deals/helpers/calcToDate.js +1 -4
  214. package/build/components/Deals/helpers/calcToDate.js.map +1 -1
  215. package/build/components/Deals/helpers/calcTooltips.js +1 -4
  216. package/build/components/Deals/helpers/calcTooltips.js.map +1 -1
  217. package/build/components/Deals/helpers/getCurrency.js +1 -4
  218. package/build/components/Deals/helpers/getCurrency.js.map +1 -1
  219. package/build/components/Deals/helpers/index.js +1 -4
  220. package/build/components/Deals/helpers/index.js.map +1 -1
  221. package/build/components/Deals/helpers/validate.js +1 -4
  222. package/build/components/Deals/helpers/validate.js.map +1 -1
  223. package/build/components/Deals/index.js +1 -4
  224. package/build/components/Deals/index.js.map +1 -1
  225. package/build/components/Environment/Environment.State.js +1 -4
  226. package/build/components/Environment/Environment.State.js.map +1 -1
  227. package/build/components/Environment/Environment.js +1 -4
  228. package/build/components/Environment/Environment.js.map +1 -1
  229. package/build/components/Environment/index.js +1 -4
  230. package/build/components/Environment/index.js.map +1 -1
  231. package/build/components/Finder/Finder.compact.js +1 -4
  232. package/build/components/Finder/Finder.compact.js.map +1 -1
  233. package/build/components/Finder/Finder.constants.js +1 -4
  234. package/build/components/Finder/Finder.constants.js.map +1 -1
  235. package/build/components/Finder/Finder.js +1 -4
  236. package/build/components/Finder/Finder.js.map +1 -1
  237. package/build/components/Finder/Finder.l10n.js +1 -4
  238. package/build/components/Finder/Finder.l10n.js.map +1 -1
  239. package/build/components/Finder/components/Calendar/Calendar.constants.js +1 -4
  240. package/build/components/Finder/components/Calendar/Calendar.constants.js.map +1 -1
  241. package/build/components/Finder/components/Calendar/Calendar.js +1 -4
  242. package/build/components/Finder/components/Calendar/Calendar.js.map +1 -1
  243. package/build/components/Finder/components/Calendar/Calendar.l10n.js +1 -4
  244. package/build/components/Finder/components/Calendar/Calendar.l10n.js.map +1 -1
  245. package/build/components/Finder/components/Calendar/helpers/calcMinStay.js +1 -4
  246. package/build/components/Finder/components/Calendar/helpers/calcMinStay.js.map +1 -1
  247. package/build/components/Finder/components/Calendar/helpers/calcTooltips.js +1 -4
  248. package/build/components/Finder/components/Calendar/helpers/calcTooltips.js.map +1 -1
  249. package/build/components/Finder/components/Calendar/helpers/fetchPrices.js +1 -4
  250. package/build/components/Finder/components/Calendar/helpers/fetchPrices.js.map +1 -1
  251. package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js +1 -4
  252. package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js.map +1 -1
  253. package/build/components/Finder/components/Calendar/helpers/index.js +1 -4
  254. package/build/components/Finder/components/Calendar/helpers/index.js.map +1 -1
  255. package/build/components/Finder/components/Calendar/index.js +1 -4
  256. package/build/components/Finder/components/Calendar/index.js.map +1 -1
  257. package/build/components/Finder/components/Places/Places.js +1 -4
  258. package/build/components/Finder/components/Places/Places.js.map +1 -1
  259. package/build/components/Finder/components/Places/Places.l10n.js +1 -4
  260. package/build/components/Finder/components/Places/Places.l10n.js.map +1 -1
  261. package/build/components/Finder/components/Places/helpers/calcColumns.js +1 -4
  262. package/build/components/Finder/components/Places/helpers/calcColumns.js.map +1 -1
  263. package/build/components/Finder/components/Places/helpers/index.js +1 -4
  264. package/build/components/Finder/components/Places/helpers/index.js.map +1 -1
  265. package/build/components/Finder/components/Places/index.js +1 -4
  266. package/build/components/Finder/components/Places/index.js.map +1 -1
  267. package/build/components/Finder/components/index.js +1 -4
  268. package/build/components/Finder/components/index.js.map +1 -1
  269. package/build/components/Finder/helpers/getAvailableWidth.js +1 -4
  270. package/build/components/Finder/helpers/getAvailableWidth.js.map +1 -1
  271. package/build/components/Finder/helpers/getDataSource.js +1 -4
  272. package/build/components/Finder/helpers/getDataSource.js.map +1 -1
  273. package/build/components/Finder/helpers/getFieldPosition.js +1 -4
  274. package/build/components/Finder/helpers/getFieldPosition.js.map +1 -1
  275. package/build/components/Finder/helpers/getForwarderUrl.js +1 -4
  276. package/build/components/Finder/helpers/getForwarderUrl.js.map +1 -1
  277. package/build/components/Finder/helpers/getHotels.js +1 -4
  278. package/build/components/Finder/helpers/getHotels.js.map +1 -1
  279. package/build/components/Finder/helpers/getOccupationDataSource.js +1 -4
  280. package/build/components/Finder/helpers/getOccupationDataSource.js.map +1 -1
  281. package/build/components/Finder/helpers/getPlaceCaption.js +1 -4
  282. package/build/components/Finder/helpers/getPlaceCaption.js.map +1 -1
  283. package/build/components/Finder/helpers/getPlacesOptions.js +1 -4
  284. package/build/components/Finder/helpers/getPlacesOptions.js.map +1 -1
  285. package/build/components/Finder/helpers/index.js +1 -4
  286. package/build/components/Finder/helpers/index.js.map +1 -1
  287. package/build/components/Finder/helpers/parseCalendarProps.js +1 -4
  288. package/build/components/Finder/helpers/parseCalendarProps.js.map +1 -1
  289. package/build/components/Finder/helpers/parseValue.js +1 -4
  290. package/build/components/Finder/helpers/parseValue.js.map +1 -1
  291. package/build/components/Finder/helpers/setStorage.js +1 -4
  292. package/build/components/Finder/helpers/setStorage.js.map +1 -1
  293. package/build/components/Finder/helpers/validate.js +1 -4
  294. package/build/components/Finder/helpers/validate.js.map +1 -1
  295. package/build/components/Finder/index.js +1 -4
  296. package/build/components/Finder/index.js.map +1 -1
  297. package/build/components/Header/Header.js +1 -4
  298. package/build/components/Header/Header.js.map +1 -1
  299. package/build/components/Header/Header.l10n.js +1 -4
  300. package/build/components/Header/Header.l10n.js.map +1 -1
  301. package/build/components/Header/components/BookingProcess/BookingProcess.js +1 -4
  302. package/build/components/Header/components/BookingProcess/BookingProcess.js.map +1 -1
  303. package/build/components/Header/components/BookingProcess/BookingProcess.l10n.js +1 -4
  304. package/build/components/Header/components/BookingProcess/BookingProcess.l10n.js.map +1 -1
  305. package/build/components/Header/components/BookingProcess/index.js +1 -4
  306. package/build/components/Header/components/BookingProcess/index.js.map +1 -1
  307. package/build/components/Header/components/index.js +1 -4
  308. package/build/components/Header/components/index.js.map +1 -1
  309. package/build/components/Header/index.js +1 -4
  310. package/build/components/Header/index.js.map +1 -1
  311. package/build/components/Profile/Profile.constants.js +1 -4
  312. package/build/components/Profile/Profile.constants.js.map +1 -1
  313. package/build/components/Profile/Profile.js +1 -4
  314. package/build/components/Profile/Profile.js.map +1 -1
  315. package/build/components/Profile/components/Bookings/Bookings.Search.js +1 -4
  316. package/build/components/Profile/components/Bookings/Bookings.Search.js.map +1 -1
  317. package/build/components/Profile/components/Bookings/Bookings.constants.js +1 -4
  318. package/build/components/Profile/components/Bookings/Bookings.constants.js.map +1 -1
  319. package/build/components/Profile/components/Bookings/Bookings.js +1 -4
  320. package/build/components/Profile/components/Bookings/Bookings.js.map +1 -1
  321. package/build/components/Profile/components/Bookings/Bookings.l10n.js +1 -4
  322. package/build/components/Profile/components/Bookings/Bookings.l10n.js.map +1 -1
  323. package/build/components/Profile/components/Bookings/helpers/groupDatasource.js +1 -4
  324. package/build/components/Profile/components/Bookings/helpers/groupDatasource.js.map +1 -1
  325. package/build/components/Profile/components/Bookings/helpers/index.js +1 -4
  326. package/build/components/Profile/components/Bookings/helpers/index.js.map +1 -1
  327. package/build/components/Profile/components/Bookings/index.js +1 -4
  328. package/build/components/Profile/components/Bookings/index.js.map +1 -1
  329. package/build/components/Profile/components/Settings/Settings.Account.js +1 -4
  330. package/build/components/Profile/components/Settings/Settings.Account.js.map +1 -1
  331. package/build/components/Profile/components/Settings/Settings.Password.js +1 -4
  332. package/build/components/Profile/components/Settings/Settings.Password.js.map +1 -1
  333. package/build/components/Profile/components/Settings/Settings.Signout.js +1 -4
  334. package/build/components/Profile/components/Settings/Settings.Signout.js.map +1 -1
  335. package/build/components/Profile/components/Settings/Settings.constants.js +1 -4
  336. package/build/components/Profile/components/Settings/Settings.constants.js.map +1 -1
  337. package/build/components/Profile/components/Settings/Settings.js +1 -4
  338. package/build/components/Profile/components/Settings/Settings.js.map +1 -1
  339. package/build/components/Profile/components/Settings/Settings.l10n.js +1 -4
  340. package/build/components/Profile/components/Settings/Settings.l10n.js.map +1 -1
  341. package/build/components/Profile/components/Settings/index.js +1 -4
  342. package/build/components/Profile/components/Settings/index.js.map +1 -1
  343. package/build/components/Profile/components/index.js +1 -4
  344. package/build/components/Profile/components/index.js.map +1 -1
  345. package/build/components/Profile/index.js +1 -4
  346. package/build/components/Profile/index.js.map +1 -1
  347. package/build/components/Rates/Rates.Content.js +1 -4
  348. package/build/components/Rates/Rates.Content.js.map +1 -1
  349. package/build/components/Rates/Rates.Footer.js +1 -4
  350. package/build/components/Rates/Rates.Footer.js.map +1 -1
  351. package/build/components/Rates/Rates.Header.js +1 -4
  352. package/build/components/Rates/Rates.Header.js.map +1 -1
  353. package/build/components/Rates/Rates.RoomSelector.js +1 -4
  354. package/build/components/Rates/Rates.RoomSelector.js.map +1 -1
  355. package/build/components/Rates/Rates.Skeleton.js +1 -4
  356. package/build/components/Rates/Rates.Skeleton.js.map +1 -1
  357. package/build/components/Rates/Rates.Unavailability.js +1 -4
  358. package/build/components/Rates/Rates.Unavailability.js.map +1 -1
  359. package/build/components/Rates/Rates.constants.js +1 -4
  360. package/build/components/Rates/Rates.constants.js.map +1 -1
  361. package/build/components/Rates/Rates.js +1 -4
  362. package/build/components/Rates/Rates.js.map +1 -1
  363. package/build/components/Rates/Rates.l10n.js +1 -4
  364. package/build/components/Rates/Rates.l10n.js.map +1 -1
  365. package/build/components/Rates/components/CardHotel/CardHotel.js +1 -4
  366. package/build/components/Rates/components/CardHotel/CardHotel.js.map +1 -1
  367. package/build/components/Rates/components/CardHotel/CardHotel.l10n.js +1 -4
  368. package/build/components/Rates/components/CardHotel/CardHotel.l10n.js.map +1 -1
  369. package/build/components/Rates/components/CardHotel/helpers/getHotelUrl.js +1 -4
  370. package/build/components/Rates/components/CardHotel/helpers/getHotelUrl.js.map +1 -1
  371. package/build/components/Rates/components/CardHotel/helpers/index.js +1 -4
  372. package/build/components/Rates/components/CardHotel/helpers/index.js.map +1 -1
  373. package/build/components/Rates/components/CardHotel/index.js +1 -4
  374. package/build/components/Rates/components/CardHotel/index.js.map +1 -1
  375. package/build/components/Rates/components/Filters/Filters.Amenity.js +1 -4
  376. package/build/components/Rates/components/Filters/Filters.Amenity.js.map +1 -1
  377. package/build/components/Rates/components/Filters/Filters.BookingOption.js +1 -4
  378. package/build/components/Rates/components/Filters/Filters.BookingOption.js.map +1 -1
  379. package/build/components/Rates/components/Filters/Filters.Button.js +1 -4
  380. package/build/components/Rates/components/Filters/Filters.Button.js.map +1 -1
  381. package/build/components/Rates/components/Filters/Filters.constants.js +1 -4
  382. package/build/components/Rates/components/Filters/Filters.constants.js.map +1 -1
  383. package/build/components/Rates/components/Filters/Filters.js +1 -4
  384. package/build/components/Rates/components/Filters/Filters.js.map +1 -1
  385. package/build/components/Rates/components/Filters/Filters.l10n.js +1 -4
  386. package/build/components/Rates/components/Filters/Filters.l10n.js.map +1 -1
  387. package/build/components/Rates/components/Filters/components/InputRange/InputRange.js +1 -4
  388. package/build/components/Rates/components/Filters/components/InputRange/InputRange.js.map +1 -1
  389. package/build/components/Rates/components/Filters/components/InputRange/InputRange.l10n.js +1 -4
  390. package/build/components/Rates/components/Filters/components/InputRange/InputRange.l10n.js.map +1 -1
  391. package/build/components/Rates/components/Filters/components/InputRange/helpers/getHistogram.js +1 -4
  392. package/build/components/Rates/components/Filters/components/InputRange/helpers/getHistogram.js.map +1 -1
  393. package/build/components/Rates/components/Filters/components/InputRange/helpers/index.js +1 -4
  394. package/build/components/Rates/components/Filters/components/InputRange/helpers/index.js.map +1 -1
  395. package/build/components/Rates/components/Filters/components/InputRange/index.js +1 -4
  396. package/build/components/Rates/components/Filters/components/InputRange/index.js.map +1 -1
  397. package/build/components/Rates/components/Filters/components/index.js +1 -4
  398. package/build/components/Rates/components/Filters/components/index.js.map +1 -1
  399. package/build/components/Rates/components/Filters/helpers/countFilters.js +1 -4
  400. package/build/components/Rates/components/Filters/helpers/countFilters.js.map +1 -1
  401. package/build/components/Rates/components/Filters/helpers/getAvailableFilters.js +1 -4
  402. package/build/components/Rates/components/Filters/helpers/getAvailableFilters.js.map +1 -1
  403. package/build/components/Rates/components/Filters/helpers/getStrictSearch.js +1 -4
  404. package/build/components/Rates/components/Filters/helpers/getStrictSearch.js.map +1 -1
  405. package/build/components/Rates/components/Filters/helpers/index.js +1 -4
  406. package/build/components/Rates/components/Filters/helpers/index.js.map +1 -1
  407. package/build/components/Rates/components/Filters/index.js +1 -4
  408. package/build/components/Rates/components/Filters/index.js.map +1 -1
  409. package/build/components/Rates/components/Hotelverse/Hotelverse.js +1 -4
  410. package/build/components/Rates/components/Hotelverse/Hotelverse.js.map +1 -1
  411. package/build/components/Rates/components/Hotelverse/Hotelverse.l10n.js +1 -4
  412. package/build/components/Rates/components/Hotelverse/Hotelverse.l10n.js.map +1 -1
  413. package/build/components/Rates/components/Hotelverse/index.js +1 -4
  414. package/build/components/Rates/components/Hotelverse/index.js.map +1 -1
  415. package/build/components/Rates/components/Item/Item.Preview.js +1 -4
  416. package/build/components/Rates/components/Item/Item.Preview.js.map +1 -1
  417. package/build/components/Rates/components/Item/Item.Rates.js +1 -4
  418. package/build/components/Rates/components/Item/Item.Rates.js.map +1 -1
  419. package/build/components/Rates/components/Item/Item.Summary.js +1 -4
  420. package/build/components/Rates/components/Item/Item.Summary.js.map +1 -1
  421. package/build/components/Rates/components/Item/Item.js +1 -4
  422. package/build/components/Rates/components/Item/Item.js.map +1 -1
  423. package/build/components/Rates/components/Item/Item.l10n.js +1 -4
  424. package/build/components/Rates/components/Item/Item.l10n.js.map +1 -1
  425. package/build/components/Rates/components/Item/components/Amenities/Amenities.js +1 -4
  426. package/build/components/Rates/components/Item/components/Amenities/Amenities.js.map +1 -1
  427. package/build/components/Rates/components/Item/components/Amenities/Amenities.l10n.js +1 -4
  428. package/build/components/Rates/components/Item/components/Amenities/Amenities.l10n.js.map +1 -1
  429. package/build/components/Rates/components/Item/components/Amenities/index.js +1 -4
  430. package/build/components/Rates/components/Item/components/Amenities/index.js.map +1 -1
  431. package/build/components/Rates/components/Item/components/Countdown/Countdown.js +1 -4
  432. package/build/components/Rates/components/Item/components/Countdown/Countdown.js.map +1 -1
  433. package/build/components/Rates/components/Item/components/Countdown/index.js +1 -4
  434. package/build/components/Rates/components/Item/components/Countdown/index.js.map +1 -1
  435. package/build/components/Rates/components/Item/components/Features/Features.js +1 -4
  436. package/build/components/Rates/components/Item/components/Features/Features.js.map +1 -1
  437. package/build/components/Rates/components/Item/components/Features/index.js +1 -4
  438. package/build/components/Rates/components/Item/components/Features/index.js.map +1 -1
  439. package/build/components/Rates/components/Item/components/ModalCancellationInfo/ModalCancellationInfo.js +1 -4
  440. package/build/components/Rates/components/Item/components/ModalCancellationInfo/ModalCancellationInfo.js.map +1 -1
  441. package/build/components/Rates/components/Item/components/ModalCancellationInfo/index.js +1 -4
  442. package/build/components/Rates/components/Item/components/ModalCancellationInfo/index.js.map +1 -1
  443. package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js +1 -4
  444. package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js.map +1 -1
  445. package/build/components/Rates/components/Item/components/ModalInfo/index.js +1 -4
  446. package/build/components/Rates/components/Item/components/ModalInfo/index.js.map +1 -1
  447. package/build/components/Rates/components/Item/components/ModalOfferInfo/ModalOfferInfo.js +1 -4
  448. package/build/components/Rates/components/Item/components/ModalOfferInfo/ModalOfferInfo.js.map +1 -1
  449. package/build/components/Rates/components/Item/components/ModalOfferInfo/index.js +1 -4
  450. package/build/components/Rates/components/Item/components/ModalOfferInfo/index.js.map +1 -1
  451. package/build/components/Rates/components/Item/components/ModalUrl/ModalUrl.js +1 -4
  452. package/build/components/Rates/components/Item/components/ModalUrl/ModalUrl.js.map +1 -1
  453. package/build/components/Rates/components/Item/components/ModalUrl/index.js +1 -4
  454. package/build/components/Rates/components/Item/components/ModalUrl/index.js.map +1 -1
  455. package/build/components/Rates/components/Item/components/Option/Option.js +1 -4
  456. package/build/components/Rates/components/Item/components/Option/Option.js.map +1 -1
  457. package/build/components/Rates/components/Item/components/Option/index.js +1 -4
  458. package/build/components/Rates/components/Item/components/Option/index.js.map +1 -1
  459. package/build/components/Rates/components/Item/components/PriceDetails/PriceDetails.js +1 -4
  460. package/build/components/Rates/components/Item/components/PriceDetails/PriceDetails.js.map +1 -1
  461. package/build/components/Rates/components/Item/components/PriceDetails/helpers/getPrices.js +1 -4
  462. package/build/components/Rates/components/Item/components/PriceDetails/helpers/getPrices.js.map +1 -1
  463. package/build/components/Rates/components/Item/components/PriceDetails/helpers/index.js +1 -4
  464. package/build/components/Rates/components/Item/components/PriceDetails/helpers/index.js.map +1 -1
  465. package/build/components/Rates/components/Item/components/PriceDetails/index.js +1 -4
  466. package/build/components/Rates/components/Item/components/PriceDetails/index.js.map +1 -1
  467. package/build/components/Rates/components/Item/components/RateDetails/RateDetails.constants.js +1 -4
  468. package/build/components/Rates/components/Item/components/RateDetails/RateDetails.constants.js.map +1 -1
  469. package/build/components/Rates/components/Item/components/RateDetails/RateDetails.js +1 -4
  470. package/build/components/Rates/components/Item/components/RateDetails/RateDetails.js.map +1 -1
  471. package/build/components/Rates/components/Item/components/RateDetails/index.js +1 -4
  472. package/build/components/Rates/components/Item/components/RateDetails/index.js.map +1 -1
  473. package/build/components/Rates/components/Item/components/Slider/Slider.js +1 -4
  474. package/build/components/Rates/components/Item/components/Slider/Slider.js.map +1 -1
  475. package/build/components/Rates/components/Item/components/Slider/Slider.l10n.js +1 -4
  476. package/build/components/Rates/components/Item/components/Slider/Slider.l10n.js.map +1 -1
  477. package/build/components/Rates/components/Item/components/Slider/index.js +1 -4
  478. package/build/components/Rates/components/Item/components/Slider/index.js.map +1 -1
  479. package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.constants.js +1 -4
  480. package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.constants.js.map +1 -1
  481. package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.js +1 -4
  482. package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.js.map +1 -1
  483. package/build/components/Rates/components/Item/components/TooltipDates/index.js +1 -4
  484. package/build/components/Rates/components/Item/components/TooltipDates/index.js.map +1 -1
  485. package/build/components/Rates/components/Item/components/index.js +1 -4
  486. package/build/components/Rates/components/Item/components/index.js.map +1 -1
  487. package/build/components/Rates/components/Item/index.js +1 -4
  488. package/build/components/Rates/components/Item/index.js.map +1 -1
  489. package/build/components/Rates/components/ModalClubRate/ModalClubRate.js +1 -4
  490. package/build/components/Rates/components/ModalClubRate/ModalClubRate.js.map +1 -1
  491. package/build/components/Rates/components/ModalClubRate/ModalClubRate.l10n.js +1 -4
  492. package/build/components/Rates/components/ModalClubRate/ModalClubRate.l10n.js.map +1 -1
  493. package/build/components/Rates/components/ModalClubRate/helpers/getDiscount.js +1 -4
  494. package/build/components/Rates/components/ModalClubRate/helpers/getDiscount.js.map +1 -1
  495. package/build/components/Rates/components/ModalClubRate/helpers/index.js +1 -4
  496. package/build/components/Rates/components/ModalClubRate/helpers/index.js.map +1 -1
  497. package/build/components/Rates/components/ModalClubRate/index.js +1 -4
  498. package/build/components/Rates/components/ModalClubRate/index.js.map +1 -1
  499. package/build/components/Rates/components/ModalExtras/ModalExtras.constants.js +1 -4
  500. package/build/components/Rates/components/ModalExtras/ModalExtras.constants.js.map +1 -1
  501. package/build/components/Rates/components/ModalExtras/ModalExtras.js +1 -4
  502. package/build/components/Rates/components/ModalExtras/ModalExtras.js.map +1 -1
  503. package/build/components/Rates/components/ModalExtras/ModalExtras.l10n.js +1 -4
  504. package/build/components/Rates/components/ModalExtras/ModalExtras.l10n.js.map +1 -1
  505. package/build/components/Rates/components/ModalExtras/helpers/getCaption.js +1 -4
  506. package/build/components/Rates/components/ModalExtras/helpers/getCaption.js.map +1 -1
  507. package/build/components/Rates/components/ModalExtras/helpers/index.js +1 -4
  508. package/build/components/Rates/components/ModalExtras/helpers/index.js.map +1 -1
  509. package/build/components/Rates/components/ModalExtras/index.js +1 -4
  510. package/build/components/Rates/components/ModalExtras/index.js.map +1 -1
  511. package/build/components/Rates/components/ModalMapView/ModalMapView.js +1 -4
  512. package/build/components/Rates/components/ModalMapView/ModalMapView.js.map +1 -1
  513. package/build/components/Rates/components/ModalMapView/ModalMapView.l10n.js +1 -4
  514. package/build/components/Rates/components/ModalMapView/ModalMapView.l10n.js.map +1 -1
  515. package/build/components/Rates/components/ModalMapView/helpers/customMarker.js +1 -4
  516. package/build/components/Rates/components/ModalMapView/helpers/customMarker.js.map +1 -1
  517. package/build/components/Rates/components/ModalMapView/helpers/index.js +1 -4
  518. package/build/components/Rates/components/ModalMapView/helpers/index.js.map +1 -1
  519. package/build/components/Rates/components/ModalMapView/helpers/loadGMaps.js +1 -4
  520. package/build/components/Rates/components/ModalMapView/helpers/loadGMaps.js.map +1 -1
  521. package/build/components/Rates/components/ModalMapView/index.js +1 -4
  522. package/build/components/Rates/components/ModalMapView/index.js.map +1 -1
  523. package/build/components/Rates/components/index.js +1 -4
  524. package/build/components/Rates/components/index.js.map +1 -1
  525. package/build/components/Rates/helpers/fetchRates.js +1 -4
  526. package/build/components/Rates/helpers/fetchRates.js.map +1 -1
  527. package/build/components/Rates/helpers/filterItem.js +1 -4
  528. package/build/components/Rates/helpers/filterItem.js.map +1 -1
  529. package/build/components/Rates/helpers/getBoard.js +1 -4
  530. package/build/components/Rates/helpers/getBoard.js.map +1 -1
  531. package/build/components/Rates/helpers/getCheckoutParams.js +1 -4
  532. package/build/components/Rates/helpers/getCheckoutParams.js.map +1 -1
  533. package/build/components/Rates/helpers/getClubInclude.js +1 -4
  534. package/build/components/Rates/helpers/getClubInclude.js.map +1 -1
  535. package/build/components/Rates/helpers/getClubRate.js +1 -4
  536. package/build/components/Rates/helpers/getClubRate.js.map +1 -1
  537. package/build/components/Rates/helpers/getFeatures.js +1 -4
  538. package/build/components/Rates/helpers/getFeatures.js.map +1 -1
  539. package/build/components/Rates/helpers/getFinderParams.js +1 -4
  540. package/build/components/Rates/helpers/getFinderParams.js.map +1 -1
  541. package/build/components/Rates/helpers/getForwarderUrl.js +1 -4
  542. package/build/components/Rates/helpers/getForwarderUrl.js.map +1 -1
  543. package/build/components/Rates/helpers/getLabelTaxes.js +1 -4
  544. package/build/components/Rates/helpers/getLabelTaxes.js.map +1 -1
  545. package/build/components/Rates/helpers/index.js +1 -4
  546. package/build/components/Rates/helpers/index.js.map +1 -1
  547. package/build/components/Rates/helpers/select.js +1 -4
  548. package/build/components/Rates/helpers/select.js.map +1 -1
  549. package/build/components/Rates/helpers/showClubRate.js +1 -4
  550. package/build/components/Rates/helpers/showClubRate.js.map +1 -1
  551. package/build/components/Rates/helpers/signout.js +1 -4
  552. package/build/components/Rates/helpers/signout.js.map +1 -1
  553. package/build/components/Rates/index.js +1 -4
  554. package/build/components/Rates/index.js.map +1 -1
  555. package/build/components/Session/Session.Account.Info.js +1 -4
  556. package/build/components/Session/Session.Account.Info.js.map +1 -1
  557. package/build/components/Session/Session.Account.js +1 -4
  558. package/build/components/Session/Session.Account.js.map +1 -1
  559. package/build/components/Session/Session.Login.Modal.js +1 -4
  560. package/build/components/Session/Session.Login.Modal.js.map +1 -1
  561. package/build/components/Session/Session.Login.js +1 -4
  562. package/build/components/Session/Session.Login.js.map +1 -1
  563. package/build/components/Session/Session.constants.js +1 -4
  564. package/build/components/Session/Session.constants.js.map +1 -1
  565. package/build/components/Session/Session.js +1 -4
  566. package/build/components/Session/Session.js.map +1 -1
  567. package/build/components/Session/Session.l10n.js +1 -4
  568. package/build/components/Session/Session.l10n.js.map +1 -1
  569. package/build/components/Session/helpers/getDomain.js +1 -4
  570. package/build/components/Session/helpers/getDomain.js.map +1 -1
  571. package/build/components/Session/helpers/getProfileUrl.js +1 -4
  572. package/build/components/Session/helpers/getProfileUrl.js.map +1 -1
  573. package/build/components/Session/helpers/getSignupUrl.js +1 -4
  574. package/build/components/Session/helpers/getSignupUrl.js.map +1 -1
  575. package/build/components/Session/helpers/index.js +1 -4
  576. package/build/components/Session/helpers/index.js.map +1 -1
  577. package/build/components/Session/index.js +1 -4
  578. package/build/components/Session/index.js.map +1 -1
  579. package/build/components/Signup/Signup.constants.js +1 -4
  580. package/build/components/Signup/Signup.constants.js.map +1 -1
  581. package/build/components/Signup/Signup.js +1 -4
  582. package/build/components/Signup/Signup.js.map +1 -1
  583. package/build/components/Signup/Signup.l10n.js +1 -4
  584. package/build/components/Signup/Signup.l10n.js.map +1 -1
  585. package/build/components/Signup/index.js +1 -4
  586. package/build/components/Signup/index.js.map +1 -1
  587. package/build/components/__shared__/BookingDates/BookingDates.constants.js +1 -4
  588. package/build/components/__shared__/BookingDates/BookingDates.constants.js.map +1 -1
  589. package/build/components/__shared__/BookingDates/BookingDates.js +1 -4
  590. package/build/components/__shared__/BookingDates/BookingDates.js.map +1 -1
  591. package/build/components/__shared__/BookingDates/BookingDates.l10n.js +1 -4
  592. package/build/components/__shared__/BookingDates/BookingDates.l10n.js.map +1 -1
  593. package/build/components/__shared__/BookingDates/index.js +1 -4
  594. package/build/components/__shared__/BookingDates/index.js.map +1 -1
  595. package/build/components/__shared__/BookingDetails/BookingDetails.constants.js +1 -4
  596. package/build/components/__shared__/BookingDetails/BookingDetails.constants.js.map +1 -1
  597. package/build/components/__shared__/BookingDetails/BookingDetails.js +1 -4
  598. package/build/components/__shared__/BookingDetails/BookingDetails.js.map +1 -1
  599. package/build/components/__shared__/BookingDetails/BookingDetails.l10n.js +1 -4
  600. package/build/components/__shared__/BookingDetails/BookingDetails.l10n.js.map +1 -1
  601. package/build/components/__shared__/BookingDetails/index.js +1 -4
  602. package/build/components/__shared__/BookingDetails/index.js.map +1 -1
  603. package/build/components/__shared__/BookingSummary/BookingSummary.constants.js +1 -4
  604. package/build/components/__shared__/BookingSummary/BookingSummary.constants.js.map +1 -1
  605. package/build/components/__shared__/BookingSummary/BookingSummary.js +1 -4
  606. package/build/components/__shared__/BookingSummary/BookingSummary.js.map +1 -1
  607. package/build/components/__shared__/BookingSummary/BookingSummary.l10n.js +1 -4
  608. package/build/components/__shared__/BookingSummary/BookingSummary.l10n.js.map +1 -1
  609. package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.constants.test.js +1 -4
  610. package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.constants.test.js.map +1 -1
  611. package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.test.js +1 -4
  612. package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.test.js.map +1 -1
  613. package/build/components/__shared__/BookingSummary/index.js +1 -4
  614. package/build/components/__shared__/BookingSummary/index.js.map +1 -1
  615. package/build/components/__shared__/BookingTable/BookingTable.Row.js +1 -4
  616. package/build/components/__shared__/BookingTable/BookingTable.Row.js.map +1 -1
  617. package/build/components/__shared__/BookingTable/BookingTable.constants.js +1 -4
  618. package/build/components/__shared__/BookingTable/BookingTable.constants.js.map +1 -1
  619. package/build/components/__shared__/BookingTable/BookingTable.js +1 -4
  620. package/build/components/__shared__/BookingTable/BookingTable.js.map +1 -1
  621. package/build/components/__shared__/BookingTable/BookingTable.l10n.js +1 -4
  622. package/build/components/__shared__/BookingTable/BookingTable.l10n.js.map +1 -1
  623. package/build/components/__shared__/BookingTable/index.js +1 -4
  624. package/build/components/__shared__/BookingTable/index.js.map +1 -1
  625. package/build/components/__shared__/BookingTerms/BookingTerms.js +1 -4
  626. package/build/components/__shared__/BookingTerms/BookingTerms.js.map +1 -1
  627. package/build/components/__shared__/BookingTerms/BookingTerms.l10n.js +1 -4
  628. package/build/components/__shared__/BookingTerms/BookingTerms.l10n.js.map +1 -1
  629. package/build/components/__shared__/BookingTerms/index.js +1 -4
  630. package/build/components/__shared__/BookingTerms/index.js.map +1 -1
  631. package/build/components/__shared__/ButtonMore/ButtonMore.js +1 -4
  632. package/build/components/__shared__/ButtonMore/ButtonMore.js.map +1 -1
  633. package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js +1 -4
  634. package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js.map +1 -1
  635. package/build/components/__shared__/ButtonMore/index.js +1 -4
  636. package/build/components/__shared__/ButtonMore/index.js.map +1 -1
  637. package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js +1 -4
  638. package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js.map +1 -1
  639. package/build/components/__shared__/ButtonPayment/ButtonPayment.js +1 -4
  640. package/build/components/__shared__/ButtonPayment/ButtonPayment.js.map +1 -1
  641. package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js +1 -4
  642. package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js.map +1 -1
  643. package/build/components/__shared__/ButtonPayment/components/Form/Form.js +1 -4
  644. package/build/components/__shared__/ButtonPayment/components/Form/Form.js.map +1 -1
  645. package/build/components/__shared__/ButtonPayment/components/Form/index.js +1 -4
  646. package/build/components/__shared__/ButtonPayment/components/Form/index.js.map +1 -1
  647. package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js +1 -4
  648. package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js.map +1 -1
  649. package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js +1 -4
  650. package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js.map +1 -1
  651. package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js +1 -4
  652. package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js.map +1 -1
  653. package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js +1 -4
  654. package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js.map +1 -1
  655. package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js +1 -4
  656. package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js.map +1 -1
  657. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js +1 -4
  658. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js.map +1 -1
  659. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js +1 -4
  660. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js.map +1 -1
  661. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js +1 -4
  662. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js.map +1 -1
  663. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js +1 -4
  664. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js.map +1 -1
  665. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js +1 -4
  666. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js.map +1 -1
  667. package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js +1 -4
  668. package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js.map +1 -1
  669. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js +1 -4
  670. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js.map +1 -1
  671. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js +1 -4
  672. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js.map +1 -1
  673. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js +1 -4
  674. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js.map +1 -1
  675. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js +1 -4
  676. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js.map +1 -1
  677. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js +1 -4
  678. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js.map +1 -1
  679. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js +1 -4
  680. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js.map +1 -1
  681. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js +1 -4
  682. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js.map +1 -1
  683. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js +1 -4
  684. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js.map +1 -1
  685. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js +1 -4
  686. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js.map +1 -1
  687. package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js +1 -4
  688. package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js.map +1 -1
  689. package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js +1 -4
  690. package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js.map +1 -1
  691. package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js +1 -4
  692. package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js.map +1 -1
  693. package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js +1 -4
  694. package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js.map +1 -1
  695. package/build/components/__shared__/ButtonPayment/components/InputField/index.js +1 -4
  696. package/build/components/__shared__/ButtonPayment/components/InputField/index.js.map +1 -1
  697. package/build/components/__shared__/ButtonPayment/components/index.js +1 -4
  698. package/build/components/__shared__/ButtonPayment/components/index.js.map +1 -1
  699. package/build/components/__shared__/ButtonPayment/helpers/getComponent.js +1 -4
  700. package/build/components/__shared__/ButtonPayment/helpers/getComponent.js.map +1 -1
  701. package/build/components/__shared__/ButtonPayment/helpers/getUrl.js +1 -4
  702. package/build/components/__shared__/ButtonPayment/helpers/getUrl.js.map +1 -1
  703. package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js +1 -4
  704. package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js.map +1 -1
  705. package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js +1 -4
  706. package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js.map +1 -1
  707. package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js +1 -4
  708. package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js.map +1 -1
  709. package/build/components/__shared__/ButtonPayment/helpers/index.js +1 -4
  710. package/build/components/__shared__/ButtonPayment/helpers/index.js.map +1 -1
  711. package/build/components/__shared__/ButtonPayment/helpers/loadScript.js +1 -4
  712. package/build/components/__shared__/ButtonPayment/helpers/loadScript.js.map +1 -1
  713. package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js +1 -4
  714. package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js.map +1 -1
  715. package/build/components/__shared__/ButtonPayment/index.js +1 -4
  716. package/build/components/__shared__/ButtonPayment/index.js.map +1 -1
  717. package/build/components/__shared__/Card/Card.js +1 -4
  718. package/build/components/__shared__/Card/Card.js.map +1 -1
  719. package/build/components/__shared__/Card/Cards.js +1 -4
  720. package/build/components/__shared__/Card/Cards.js.map +1 -1
  721. package/build/components/__shared__/Card/index.js +1 -4
  722. package/build/components/__shared__/Card/index.js.map +1 -1
  723. package/build/components/__shared__/Countdown/Countdown.js +1 -4
  724. package/build/components/__shared__/Countdown/Countdown.js.map +1 -1
  725. package/build/components/__shared__/Countdown/Countdown.l10n.js +1 -4
  726. package/build/components/__shared__/Countdown/Countdown.l10n.js.map +1 -1
  727. package/build/components/__shared__/Countdown/index.js +1 -4
  728. package/build/components/__shared__/Countdown/index.js.map +1 -1
  729. package/build/components/__shared__/Field/Field.js +1 -4
  730. package/build/components/__shared__/Field/Field.js.map +1 -1
  731. package/build/components/__shared__/Field/index.js +1 -4
  732. package/build/components/__shared__/Field/index.js.map +1 -1
  733. package/build/components/__shared__/FieldOccupation/FieldOccupation.js +1 -4
  734. package/build/components/__shared__/FieldOccupation/FieldOccupation.js.map +1 -1
  735. package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js +1 -4
  736. package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js.map +1 -1
  737. package/build/components/__shared__/FieldOccupation/index.js +1 -4
  738. package/build/components/__shared__/FieldOccupation/index.js.map +1 -1
  739. package/build/components/__shared__/FieldPromocode/FieldPromocode.constants.js +1 -4
  740. package/build/components/__shared__/FieldPromocode/FieldPromocode.constants.js.map +1 -1
  741. package/build/components/__shared__/FieldPromocode/FieldPromocode.js +1 -4
  742. package/build/components/__shared__/FieldPromocode/FieldPromocode.js.map +1 -1
  743. package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js +1 -4
  744. package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js.map +1 -1
  745. package/build/components/__shared__/FieldPromocode/index.js +1 -4
  746. package/build/components/__shared__/FieldPromocode/index.js.map +1 -1
  747. package/build/components/__shared__/Footer/Footer.js +1 -4
  748. package/build/components/__shared__/Footer/Footer.js.map +1 -1
  749. package/build/components/__shared__/Footer/Footer.l10n.js +1 -4
  750. package/build/components/__shared__/Footer/Footer.l10n.js.map +1 -1
  751. package/build/components/__shared__/Footer/index.js +1 -4
  752. package/build/components/__shared__/Footer/index.js.map +1 -1
  753. package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js +1 -4
  754. package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js.map +1 -1
  755. package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.l10n.js +1 -4
  756. package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.l10n.js.map +1 -1
  757. package/build/components/__shared__/NotificationRequiredFields/index.js +1 -4
  758. package/build/components/__shared__/NotificationRequiredFields/index.js.map +1 -1
  759. package/build/components/__shared__/Occupation/Occupation.Group.js +1 -4
  760. package/build/components/__shared__/Occupation/Occupation.Group.js.map +1 -1
  761. package/build/components/__shared__/Occupation/Occupation.constants.js +1 -4
  762. package/build/components/__shared__/Occupation/Occupation.constants.js.map +1 -1
  763. package/build/components/__shared__/Occupation/Occupation.js +1 -4
  764. package/build/components/__shared__/Occupation/Occupation.js.map +1 -1
  765. package/build/components/__shared__/Occupation/Occupation.l10n.js +1 -4
  766. package/build/components/__shared__/Occupation/Occupation.l10n.js.map +1 -1
  767. package/build/components/__shared__/Occupation/helpers/checkRoom.js +1 -4
  768. package/build/components/__shared__/Occupation/helpers/checkRoom.js.map +1 -1
  769. package/build/components/__shared__/Occupation/helpers/consolidateValue.js +1 -4
  770. package/build/components/__shared__/Occupation/helpers/consolidateValue.js.map +1 -1
  771. package/build/components/__shared__/Occupation/helpers/getAgeOptions.js +1 -4
  772. package/build/components/__shared__/Occupation/helpers/getAgeOptions.js.map +1 -1
  773. package/build/components/__shared__/Occupation/helpers/getScrollHeight.js +1 -4
  774. package/build/components/__shared__/Occupation/helpers/getScrollHeight.js.map +1 -1
  775. package/build/components/__shared__/Occupation/helpers/index.js +1 -4
  776. package/build/components/__shared__/Occupation/helpers/index.js.map +1 -1
  777. package/build/components/__shared__/Occupation/helpers/toParties.js +1 -4
  778. package/build/components/__shared__/Occupation/helpers/toParties.js.map +1 -1
  779. package/build/components/__shared__/Occupation/index.js +1 -4
  780. package/build/components/__shared__/Occupation/index.js.map +1 -1
  781. package/build/components/__shared__/Payment/Payment.constants.js +1 -4
  782. package/build/components/__shared__/Payment/Payment.constants.js.map +1 -1
  783. package/build/components/__shared__/Payment/Payment.js +1 -4
  784. package/build/components/__shared__/Payment/Payment.js.map +1 -1
  785. package/build/components/__shared__/Payment/Payment.l10n.js +1 -4
  786. package/build/components/__shared__/Payment/Payment.l10n.js.map +1 -1
  787. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js +1 -4
  788. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js.map +1 -1
  789. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js +1 -4
  790. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js.map +1 -1
  791. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js +1 -4
  792. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js.map +1 -1
  793. package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js +1 -4
  794. package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js.map +1 -1
  795. package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js +1 -4
  796. package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js.map +1 -1
  797. package/build/components/__shared__/Payment/components/AmazonPay/index.js +1 -4
  798. package/build/components/__shared__/Payment/components/AmazonPay/index.js.map +1 -1
  799. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js +1 -4
  800. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js.map +1 -1
  801. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js +1 -4
  802. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js.map +1 -1
  803. package/build/components/__shared__/Payment/components/Aplazame/index.js +1 -4
  804. package/build/components/__shared__/Payment/components/Aplazame/index.js.map +1 -1
  805. package/build/components/__shared__/Payment/components/Card/Card.constants.js +1 -4
  806. package/build/components/__shared__/Payment/components/Card/Card.constants.js.map +1 -1
  807. package/build/components/__shared__/Payment/components/Card/Card.js +1 -4
  808. package/build/components/__shared__/Payment/components/Card/Card.js.map +1 -1
  809. package/build/components/__shared__/Payment/components/Card/Card.l10n.js +1 -4
  810. package/build/components/__shared__/Payment/components/Card/Card.l10n.js.map +1 -1
  811. package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js +1 -4
  812. package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js.map +1 -1
  813. package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js +1 -4
  814. package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js.map +1 -1
  815. package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js +1 -4
  816. package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js.map +1 -1
  817. package/build/components/__shared__/Payment/components/Card/helpers/index.js +1 -4
  818. package/build/components/__shared__/Payment/components/Card/helpers/index.js.map +1 -1
  819. package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js +1 -4
  820. package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js.map +1 -1
  821. package/build/components/__shared__/Payment/components/Card/helpers/testCard.js +1 -4
  822. package/build/components/__shared__/Payment/components/Card/helpers/testCard.js.map +1 -1
  823. package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js +1 -4
  824. package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js.map +1 -1
  825. package/build/components/__shared__/Payment/components/Card/index.js +1 -4
  826. package/build/components/__shared__/Payment/components/Card/index.js.map +1 -1
  827. package/build/components/__shared__/Payment/components/PCI/PCI.constants.js +1 -4
  828. package/build/components/__shared__/Payment/components/PCI/PCI.constants.js.map +1 -1
  829. package/build/components/__shared__/Payment/components/PCI/PCI.js +1 -4
  830. package/build/components/__shared__/Payment/components/PCI/PCI.js.map +1 -1
  831. package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js +1 -4
  832. package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js.map +1 -1
  833. package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js +1 -4
  834. package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js.map +1 -1
  835. package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js +1 -4
  836. package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js.map +1 -1
  837. package/build/components/__shared__/Payment/components/PCI/helpers/index.js +1 -4
  838. package/build/components/__shared__/Payment/components/PCI/helpers/index.js.map +1 -1
  839. package/build/components/__shared__/Payment/components/PCI/index.js +1 -4
  840. package/build/components/__shared__/Payment/components/PCI/index.js.map +1 -1
  841. package/build/components/__shared__/Payment/components/Tpv/Tpv.js +1 -4
  842. package/build/components/__shared__/Payment/components/Tpv/Tpv.js.map +1 -1
  843. package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js +1 -4
  844. package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js.map +1 -1
  845. package/build/components/__shared__/Payment/components/Tpv/index.js +1 -4
  846. package/build/components/__shared__/Payment/components/Tpv/index.js.map +1 -1
  847. package/build/components/__shared__/Payment/components/index.js +1 -4
  848. package/build/components/__shared__/Payment/components/index.js.map +1 -1
  849. package/build/components/__shared__/Payment/helpers/formatExpire.js +1 -4
  850. package/build/components/__shared__/Payment/helpers/formatExpire.js.map +1 -1
  851. package/build/components/__shared__/Payment/helpers/getCaption.js +1 -4
  852. package/build/components/__shared__/Payment/helpers/getCaption.js.map +1 -1
  853. package/build/components/__shared__/Payment/helpers/getComponent.js +1 -4
  854. package/build/components/__shared__/Payment/helpers/getComponent.js.map +1 -1
  855. package/build/components/__shared__/Payment/helpers/getImage.js +1 -4
  856. package/build/components/__shared__/Payment/helpers/getImage.js.map +1 -1
  857. package/build/components/__shared__/Payment/helpers/index.js +1 -4
  858. package/build/components/__shared__/Payment/helpers/index.js.map +1 -1
  859. package/build/components/__shared__/Payment/index.js +1 -4
  860. package/build/components/__shared__/Payment/index.js.map +1 -1
  861. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js +1 -4
  862. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js.map +1 -1
  863. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js +1 -4
  864. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js.map +1 -1
  865. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js +1 -4
  866. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js.map +1 -1
  867. package/build/components/__shared__/PriceBreakdown/index.js +1 -4
  868. package/build/components/__shared__/PriceBreakdown/index.js.map +1 -1
  869. package/build/components/__shared__/SelectEnvironment/SelectEnvironment.constants.js +1 -4
  870. package/build/components/__shared__/SelectEnvironment/SelectEnvironment.constants.js.map +1 -1
  871. package/build/components/__shared__/SelectEnvironment/SelectEnvironment.js +1 -4
  872. package/build/components/__shared__/SelectEnvironment/SelectEnvironment.js.map +1 -1
  873. package/build/components/__shared__/SelectEnvironment/SelectEnvironment.l10n.js +1 -4
  874. package/build/components/__shared__/SelectEnvironment/SelectEnvironment.l10n.js.map +1 -1
  875. package/build/components/__shared__/SelectEnvironment/index.js +1 -4
  876. package/build/components/__shared__/SelectEnvironment/index.js.map +1 -1
  877. package/build/components/__shared__/Skeleton/Skeleton.js +1 -4
  878. package/build/components/__shared__/Skeleton/Skeleton.js.map +1 -1
  879. package/build/components/__shared__/Skeleton/index.js +1 -4
  880. package/build/components/__shared__/Skeleton/index.js.map +1 -1
  881. package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js +1 -4
  882. package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js.map +1 -1
  883. package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js +1 -4
  884. package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js.map +1 -1
  885. package/build/components/__shared__/TextRequiredFields/index.js +1 -4
  886. package/build/components/__shared__/TextRequiredFields/index.js.map +1 -1
  887. package/build/components/__shared__/index.js +1 -4
  888. package/build/components/__shared__/index.js.map +1 -1
  889. package/build/components/helpers/ICON.AMENITIES.js +1 -4
  890. package/build/components/helpers/ICON.AMENITIES.js.map +1 -1
  891. package/build/components/helpers/ICON.js +1 -4
  892. package/build/components/helpers/ICON.js.map +1 -1
  893. package/build/components/helpers/addScript.js +1 -4
  894. package/build/components/helpers/addScript.js.map +1 -1
  895. package/build/components/helpers/constants.js +1 -4
  896. package/build/components/helpers/constants.js.map +1 -1
  897. package/build/components/helpers/generateId.js +1 -4
  898. package/build/components/helpers/generateId.js.map +1 -1
  899. package/build/components/helpers/getAccommodationLabel.js +1 -4
  900. package/build/components/helpers/getAccommodationLabel.js.map +1 -1
  901. package/build/components/helpers/getAccommodationType.js +1 -4
  902. package/build/components/helpers/getAccommodationType.js.map +1 -1
  903. package/build/components/helpers/getAgeRange.js +1 -4
  904. package/build/components/helpers/getAgeRange.js.map +1 -1
  905. package/build/components/helpers/getCalendarCaption.js +1 -4
  906. package/build/components/helpers/getCalendarCaption.js.map +1 -1
  907. package/build/components/helpers/getCountryCode.js +1 -4
  908. package/build/components/helpers/getCountryCode.js.map +1 -1
  909. package/build/components/helpers/getGuestLabel.js +1 -4
  910. package/build/components/helpers/getGuestLabel.js.map +1 -1
  911. package/build/components/helpers/getNormalizedLocale.js +1 -4
  912. package/build/components/helpers/getNormalizedLocale.js.map +1 -1
  913. package/build/components/helpers/getOccupationLabel.js +1 -4
  914. package/build/components/helpers/getOccupationLabel.js.map +1 -1
  915. package/build/components/helpers/getOccupationSummary.js +1 -4
  916. package/build/components/helpers/getOccupationSummary.js.map +1 -1
  917. package/build/components/helpers/getOccupationTotals.js +1 -4
  918. package/build/components/helpers/getOccupationTotals.js.map +1 -1
  919. package/build/components/helpers/getRoomNumber.js +1 -4
  920. package/build/components/helpers/getRoomNumber.js.map +1 -1
  921. package/build/components/helpers/getRoomOccupationLabel.js +1 -4
  922. package/build/components/helpers/getRoomOccupationLabel.js.map +1 -1
  923. package/build/components/helpers/index.js +1 -4
  924. package/build/components/helpers/index.js.map +1 -1
  925. package/build/components/helpers/isJest.js +1 -4
  926. package/build/components/helpers/isJest.js.map +1 -1
  927. package/build/components/helpers/opacity.js +1 -4
  928. package/build/components/helpers/opacity.js.map +1 -1
  929. package/build/components/helpers/parseHtml.js +1 -4
  930. package/build/components/helpers/parseHtml.js.map +1 -1
  931. package/build/components/helpers/parseToParties.js +1 -4
  932. package/build/components/helpers/parseToParties.js.map +1 -1
  933. package/build/components/helpers/parseValue.js +1 -4
  934. package/build/components/helpers/parseValue.js.map +1 -1
  935. package/build/components/helpers/replaceUrlParams.js +1 -4
  936. package/build/components/helpers/replaceUrlParams.js.map +1 -1
  937. package/build/components/helpers/template.js +1 -4
  938. package/build/components/helpers/template.js.map +1 -1
  939. package/build/components/helpers/testPassword.js +1 -4
  940. package/build/components/helpers/testPassword.js.map +1 -1
  941. package/build/components/helpers/toQueryString.js +1 -4
  942. package/build/components/helpers/toQueryString.js.map +1 -1
  943. package/build/components/helpers/toUrlParams.js +1 -4
  944. package/build/components/helpers/toUrlParams.js.map +1 -1
  945. package/build/components/helpers/trace.js +1 -4
  946. package/build/components/helpers/trace.js.map +1 -1
  947. package/build/components/helpers/valueFormat.js +1 -4
  948. package/build/components/helpers/valueFormat.js.map +1 -1
  949. package/build/components/index.js +1 -4
  950. package/build/components/index.js.map +1 -1
  951. package/build/contexts/EventManager/EventManager.constants.js +1 -4
  952. package/build/contexts/EventManager/EventManager.constants.js.map +1 -1
  953. package/build/contexts/EventManager/EventManager.js +1 -4
  954. package/build/contexts/EventManager/EventManager.js.map +1 -1
  955. package/build/contexts/EventManager/index.js +1 -4
  956. package/build/contexts/EventManager/index.js.map +1 -1
  957. package/build/contexts/PerformanceManager/PerformanceManager.constants.js +1 -4
  958. package/build/contexts/PerformanceManager/PerformanceManager.constants.js.map +1 -1
  959. package/build/contexts/PerformanceManager/PerformanceManager.events.js +1 -4
  960. package/build/contexts/PerformanceManager/PerformanceManager.events.js.map +1 -1
  961. package/build/contexts/PerformanceManager/PerformanceManager.js +1 -4
  962. package/build/contexts/PerformanceManager/PerformanceManager.js.map +1 -1
  963. package/build/contexts/PerformanceManager/PerformanceManager.scripts.js +1 -4
  964. package/build/contexts/PerformanceManager/PerformanceManager.scripts.js.map +1 -1
  965. package/build/contexts/PerformanceManager/helpers/dataLayerPush.js +1 -4
  966. package/build/contexts/PerformanceManager/helpers/dataLayerPush.js.map +1 -1
  967. package/build/contexts/PerformanceManager/helpers/getConsentMode.js +1 -4
  968. package/build/contexts/PerformanceManager/helpers/getConsentMode.js.map +1 -1
  969. package/build/contexts/PerformanceManager/helpers/getPerformanceLabel.js +1 -4
  970. package/build/contexts/PerformanceManager/helpers/getPerformanceLabel.js.map +1 -1
  971. package/build/contexts/PerformanceManager/helpers/index.js +1 -4
  972. package/build/contexts/PerformanceManager/helpers/index.js.map +1 -1
  973. package/build/contexts/PerformanceManager/index.js +1 -4
  974. package/build/contexts/PerformanceManager/index.js.map +1 -1
  975. package/build/contexts/PerformanceManager/providers/affilired/bookingResponse.js +1 -4
  976. package/build/contexts/PerformanceManager/providers/affilired/bookingResponse.js.map +1 -1
  977. package/build/contexts/PerformanceManager/providers/affilired/index.js +1 -4
  978. package/build/contexts/PerformanceManager/providers/affilired/index.js.map +1 -1
  979. package/build/contexts/PerformanceManager/providers/analytics/bookingCancel.js +1 -4
  980. package/build/contexts/PerformanceManager/providers/analytics/bookingCancel.js.map +1 -1
  981. package/build/contexts/PerformanceManager/providers/analytics/bookingResponse.js +1 -4
  982. package/build/contexts/PerformanceManager/providers/analytics/bookingResponse.js.map +1 -1
  983. package/build/contexts/PerformanceManager/providers/analytics/checkoutForm.js +1 -4
  984. package/build/contexts/PerformanceManager/providers/analytics/checkoutForm.js.map +1 -1
  985. package/build/contexts/PerformanceManager/providers/analytics/checkoutResponse.js +1 -4
  986. package/build/contexts/PerformanceManager/providers/analytics/checkoutResponse.js.map +1 -1
  987. package/build/contexts/PerformanceManager/providers/analytics/finderReady.js +1 -4
  988. package/build/contexts/PerformanceManager/providers/analytics/finderReady.js.map +1 -1
  989. package/build/contexts/PerformanceManager/providers/analytics/helpers/index.js +1 -4
  990. package/build/contexts/PerformanceManager/providers/analytics/helpers/index.js.map +1 -1
  991. package/build/contexts/PerformanceManager/providers/analytics/helpers/parseCommon.js +1 -4
  992. package/build/contexts/PerformanceManager/providers/analytics/helpers/parseCommon.js.map +1 -1
  993. package/build/contexts/PerformanceManager/providers/analytics/helpers/parseItems.js +1 -4
  994. package/build/contexts/PerformanceManager/providers/analytics/helpers/parseItems.js.map +1 -1
  995. package/build/contexts/PerformanceManager/providers/analytics/helpers/parseRate.js +1 -4
  996. package/build/contexts/PerformanceManager/providers/analytics/helpers/parseRate.js.map +1 -1
  997. package/build/contexts/PerformanceManager/providers/analytics/index.js +1 -4
  998. package/build/contexts/PerformanceManager/providers/analytics/index.js.map +1 -1
  999. package/build/contexts/PerformanceManager/providers/analytics/logged.js +1 -4
  1000. package/build/contexts/PerformanceManager/providers/analytics/logged.js.map +1 -1
  1001. package/build/contexts/PerformanceManager/providers/analytics/ratesAddToCart.js +1 -4
  1002. package/build/contexts/PerformanceManager/providers/analytics/ratesAddToCart.js.map +1 -1
  1003. package/build/contexts/PerformanceManager/providers/analytics/ratesResponse.js +1 -4
  1004. package/build/contexts/PerformanceManager/providers/analytics/ratesResponse.js.map +1 -1
  1005. package/build/contexts/PerformanceManager/providers/bing/bookingResponse.js +1 -4
  1006. package/build/contexts/PerformanceManager/providers/bing/bookingResponse.js.map +1 -1
  1007. package/build/contexts/PerformanceManager/providers/bing/index.js +1 -4
  1008. package/build/contexts/PerformanceManager/providers/bing/index.js.map +1 -1
  1009. package/build/contexts/PerformanceManager/providers/facebook/bookingResponse.js +1 -4
  1010. package/build/contexts/PerformanceManager/providers/facebook/bookingResponse.js.map +1 -1
  1011. package/build/contexts/PerformanceManager/providers/facebook/checkoutResponse.js +1 -4
  1012. package/build/contexts/PerformanceManager/providers/facebook/checkoutResponse.js.map +1 -1
  1013. package/build/contexts/PerformanceManager/providers/facebook/helpers/getCookies.js +1 -4
  1014. package/build/contexts/PerformanceManager/providers/facebook/helpers/getCookies.js.map +1 -1
  1015. package/build/contexts/PerformanceManager/providers/facebook/helpers/index.js +1 -4
  1016. package/build/contexts/PerformanceManager/providers/facebook/helpers/index.js.map +1 -1
  1017. package/build/contexts/PerformanceManager/providers/facebook/helpers/parseCustomData.js +1 -4
  1018. package/build/contexts/PerformanceManager/providers/facebook/helpers/parseCustomData.js.map +1 -1
  1019. package/build/contexts/PerformanceManager/providers/facebook/helpers/parseUserData.js +1 -4
  1020. package/build/contexts/PerformanceManager/providers/facebook/helpers/parseUserData.js.map +1 -1
  1021. package/build/contexts/PerformanceManager/providers/facebook/helpers/sendData.js +1 -4
  1022. package/build/contexts/PerformanceManager/providers/facebook/helpers/sendData.js.map +1 -1
  1023. package/build/contexts/PerformanceManager/providers/facebook/index.js +1 -4
  1024. package/build/contexts/PerformanceManager/providers/facebook/index.js.map +1 -1
  1025. package/build/contexts/PerformanceManager/providers/facebook/ratesAddToCart.js +1 -4
  1026. package/build/contexts/PerformanceManager/providers/facebook/ratesAddToCart.js.map +1 -1
  1027. package/build/contexts/PerformanceManager/providers/facebook/ratesResponse.js +1 -4
  1028. package/build/contexts/PerformanceManager/providers/facebook/ratesResponse.js.map +1 -1
  1029. package/build/contexts/PerformanceManager/providers/googleAds/bookingResponse.js +1 -4
  1030. package/build/contexts/PerformanceManager/providers/googleAds/bookingResponse.js.map +1 -1
  1031. package/build/contexts/PerformanceManager/providers/googleAds/index.js +1 -4
  1032. package/build/contexts/PerformanceManager/providers/googleAds/index.js.map +1 -1
  1033. package/build/contexts/PerformanceManager/providers/gtm/bookingCancel.js +1 -4
  1034. package/build/contexts/PerformanceManager/providers/gtm/bookingCancel.js.map +1 -1
  1035. package/build/contexts/PerformanceManager/providers/gtm/bookingResponse.js +1 -4
  1036. package/build/contexts/PerformanceManager/providers/gtm/bookingResponse.js.map +1 -1
  1037. package/build/contexts/PerformanceManager/providers/gtm/checkoutResponse.js +1 -4
  1038. package/build/contexts/PerformanceManager/providers/gtm/checkoutResponse.js.map +1 -1
  1039. package/build/contexts/PerformanceManager/providers/gtm/duetto/bookingResponse.js +1 -4
  1040. package/build/contexts/PerformanceManager/providers/gtm/duetto/bookingResponse.js.map +1 -1
  1041. package/build/contexts/PerformanceManager/providers/gtm/duetto/index.js +1 -4
  1042. package/build/contexts/PerformanceManager/providers/gtm/duetto/index.js.map +1 -1
  1043. package/build/contexts/PerformanceManager/providers/gtm/duetto/ratesResponse.js +1 -4
  1044. package/build/contexts/PerformanceManager/providers/gtm/duetto/ratesResponse.js.map +1 -1
  1045. package/build/contexts/PerformanceManager/providers/gtm/finderReady.js +1 -4
  1046. package/build/contexts/PerformanceManager/providers/gtm/finderReady.js.map +1 -1
  1047. package/build/contexts/PerformanceManager/providers/gtm/helpers/getInitEvent.js +1 -4
  1048. package/build/contexts/PerformanceManager/providers/gtm/helpers/getInitEvent.js.map +1 -1
  1049. package/build/contexts/PerformanceManager/providers/gtm/helpers/index.js +1 -4
  1050. package/build/contexts/PerformanceManager/providers/gtm/helpers/index.js.map +1 -1
  1051. package/build/contexts/PerformanceManager/providers/gtm/helpers/parseRate.js +1 -4
  1052. package/build/contexts/PerformanceManager/providers/gtm/helpers/parseRate.js.map +1 -1
  1053. package/build/contexts/PerformanceManager/providers/gtm/index.js +1 -4
  1054. package/build/contexts/PerformanceManager/providers/gtm/index.js.map +1 -1
  1055. package/build/contexts/PerformanceManager/providers/gtm/ratesResponse.js +1 -4
  1056. package/build/contexts/PerformanceManager/providers/gtm/ratesResponse.js.map +1 -1
  1057. package/build/contexts/PerformanceManager/providers/helpers/SHA256.js +1 -4
  1058. package/build/contexts/PerformanceManager/providers/helpers/SHA256.js.map +1 -1
  1059. package/build/contexts/PerformanceManager/providers/helpers/getFirstOccupationOption.js +1 -4
  1060. package/build/contexts/PerformanceManager/providers/helpers/getFirstOccupationOption.js.map +1 -1
  1061. package/build/contexts/PerformanceManager/providers/helpers/getRatesPriceRange.js +1 -4
  1062. package/build/contexts/PerformanceManager/providers/helpers/getRatesPriceRange.js.map +1 -1
  1063. package/build/contexts/PerformanceManager/providers/helpers/getRoomPriceRange.js +1 -4
  1064. package/build/contexts/PerformanceManager/providers/helpers/getRoomPriceRange.js.map +1 -1
  1065. package/build/contexts/PerformanceManager/providers/helpers/getRoomsPriceRange.js +1 -4
  1066. package/build/contexts/PerformanceManager/providers/helpers/getRoomsPriceRange.js.map +1 -1
  1067. package/build/contexts/PerformanceManager/providers/helpers/index.js +1 -4
  1068. package/build/contexts/PerformanceManager/providers/helpers/index.js.map +1 -1
  1069. package/build/contexts/PerformanceManager/providers/helpers/legacy.js +1 -4
  1070. package/build/contexts/PerformanceManager/providers/helpers/legacy.js.map +1 -1
  1071. package/build/contexts/PerformanceManager/providers/index.js +1 -4
  1072. package/build/contexts/PerformanceManager/providers/index.js.map +1 -1
  1073. package/build/contexts/PerformanceManager/providers/mirai/bookingResponse.js +1 -4
  1074. package/build/contexts/PerformanceManager/providers/mirai/bookingResponse.js.map +1 -1
  1075. package/build/contexts/PerformanceManager/providers/mirai/index.js +1 -4
  1076. package/build/contexts/PerformanceManager/providers/mirai/index.js.map +1 -1
  1077. package/build/contexts/index.js +1 -4
  1078. package/build/contexts/index.js.map +1 -1
  1079. package/build/helpers/checkSession.js +1 -4
  1080. package/build/helpers/checkSession.js.map +1 -1
  1081. package/build/helpers/consolidateStore.js +1 -4
  1082. package/build/helpers/consolidateStore.js.map +1 -1
  1083. package/build/helpers/debounce.js +1 -4
  1084. package/build/helpers/debounce.js.map +1 -1
  1085. package/build/helpers/fetchConfig.js +1 -4
  1086. package/build/helpers/fetchConfig.js.map +1 -1
  1087. package/build/helpers/fetchCookies.js +1 -4
  1088. package/build/helpers/fetchCookies.js.map +1 -1
  1089. package/build/helpers/fetchCurrency.js +1 -4
  1090. package/build/helpers/fetchCurrency.js.map +1 -1
  1091. package/build/helpers/fetchSession.js +1 -4
  1092. package/build/helpers/fetchSession.js.map +1 -1
  1093. package/build/helpers/fetchUrlParams.js +1 -4
  1094. package/build/helpers/fetchUrlParams.js.map +1 -1
  1095. package/build/helpers/findComponents.js +1 -4
  1096. package/build/helpers/findComponents.js.map +1 -1
  1097. package/build/helpers/findDangerousCSSRules.js +1 -4
  1098. package/build/helpers/findDangerousCSSRules.js.map +1 -1
  1099. package/build/helpers/findInstance.js +1 -4
  1100. package/build/helpers/findInstance.js.map +1 -1
  1101. package/build/helpers/getAccommodationType.js +1 -4
  1102. package/build/helpers/getAccommodationType.js.map +1 -1
  1103. package/build/helpers/getClubUrl.js +1 -4
  1104. package/build/helpers/getClubUrl.js.map +1 -1
  1105. package/build/helpers/getContents.js +1 -4
  1106. package/build/helpers/getContents.js.map +1 -1
  1107. package/build/helpers/getGhost.js +1 -4
  1108. package/build/helpers/getGhost.js.map +1 -1
  1109. package/build/helpers/getLocale.js +1 -4
  1110. package/build/helpers/getLocale.js.map +1 -1
  1111. package/build/helpers/getMetaRates.js +1 -4
  1112. package/build/helpers/getMetaRates.js.map +1 -1
  1113. package/build/helpers/getPerformance.js +1 -4
  1114. package/build/helpers/getPerformance.js.map +1 -1
  1115. package/build/helpers/getTags.js +1 -4
  1116. package/build/helpers/getTags.js.map +1 -1
  1117. package/build/helpers/index.js +1 -4
  1118. package/build/helpers/index.js.map +1 -1
  1119. package/build/helpers/loadEnvironment.js +1 -4
  1120. package/build/helpers/loadEnvironment.js.map +1 -1
  1121. package/build/helpers/loadScript.js +1 -4
  1122. package/build/helpers/loadScript.js.map +1 -1
  1123. package/build/helpers/loadSentry.js +1 -4
  1124. package/build/helpers/loadSentry.js.map +1 -1
  1125. package/build/helpers/prepareRoom.js +1 -4
  1126. package/build/helpers/prepareRoom.js.map +1 -1
  1127. package/build/helpers/sanitizeComponent.js +1 -4
  1128. package/build/helpers/sanitizeComponent.js.map +1 -1
  1129. package/build/helpers/theme.js +1 -4
  1130. package/build/helpers/theme.js.map +1 -1
  1131. package/build/helpers/themeDirection.js +1 -4
  1132. package/build/helpers/themeDirection.js.map +1 -1
  1133. package/build/helpers/toOccupation.js +1 -4
  1134. package/build/helpers/toOccupation.js.map +1 -1
  1135. package/build/index.js +1 -4
  1136. package/build/index.js.map +1 -1
  1137. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"Bookings.js","sources":["../../../../../src/components/Profile/components/Bookings/Bookings.jsx"],"sourcesContent":["import { LocalAdapter, Storage } from '@mirai/data-sources';\nimport { parseDate, useLocale } from '@mirai/locale';\nimport { ServiceUser } from '@mirai/services';\nimport { Action, Button, Notification, Text, Tooltip, useDevice, View } from '@mirai/ui';\nimport React, { useEffect, useState } from 'react';\n\nimport { CACHE_LIMIT, STORAGE_KEY } from './Bookings.constants';\nimport { L10N } from './Bookings.l10n';\nimport * as style from './Bookings.module.css';\nimport { Search } from './Bookings.Search';\nimport { groupDatasource } from './helpers';\nimport { Card, Cards } from '../../../__shared__';\nimport { getCalendarCaption } from '../../../helpers';\n\nconst Bookings = () => {\n const { isMobile } = useDevice();\n const { currencyFormat, locale, translate } = useLocale();\n\n const [dataSource, setDataSource] = useState();\n const [search, setSearch] = useState();\n\n useEffect(() => {\n (async () => {\n // * TODO: We should cache as long as the service responds so slow\n const storage = new Storage({ adapter: LocalAdapter, cache: CACHE_LIMIT });\n const cache = storage.get(STORAGE_KEY);\n if (cache) setDataSource(cache);\n\n const response = await ServiceUser.bookings().catch(() => {});\n storage.set(STORAGE_KEY, response);\n\n setDataSource(response || []);\n })();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const handleManage = (url) => {\n document.location = url;\n };\n\n const bookings = groupDatasource(dataSource, search);\n const caption = { action: !isMobile, small: isMobile };\n const has = {\n bookings: Object.keys(bookings || {}).length > 0 || search,\n dataSource: dataSource !== undefined,\n };\n\n return (\n <View className={style.container}>\n <View row className={style.title}>\n <Text bold headline level={2}>\n {translate(L10N.ACTION_MY_BOOKINGS)}\n </Text>\n {has.bookings && <Search value={search} onChange={setSearch} />}\n </View>\n {has.bookings ? (\n Object.entries(bookings || {}).map(([id, items = []], index) => (\n <>\n <Text key={index} bold headline={!isMobile}>\n {translate({ id }, { num: items.length })}\n </Text>\n\n <Cards>\n {items.map(\n ({\n booking,\n checkIn,\n checkOut,\n currency,\n hotel,\n image,\n location: { city } = {},\n price: { base, total, text: taxesText } = {},\n status,\n url: { manage, site } = {},\n } = {}) => {\n const is = { cancelled: status === 'CANCELLED', past: id === L10N.LABEL_PAST_BOOKINGS.id };\n\n return (\n <Card key={booking} className={style.card}>\n {!is.past && <View className={style.image} style={{ backgroundImage: `url(${image})` }} />}\n\n <View className={style.offset}>\n <Text bold headline={!isMobile} level={3}>\n {hotel}\n </Text>\n {checkIn && checkOut && (\n <Text {...caption}>\n {getCalendarCaption(\n [parseDate(checkIn), parseDate(checkOut)],\n translate,\n undefined,\n locale,\n )}\n </Text>\n )}\n {city && <Text {...caption}>{city}</Text>}\n\n <Action {...caption} href={site}>\n {translate(L10N.ACTION_VIEW_HOTEL)}\n </Action>\n </View>\n\n <View row className={[style.offset, style.spaceBetween]}>\n <View>\n <Text bold headline level={isMobile || total >= 10000 ? 3 : 2}>\n {currencyFormat({ currency, symbol: true, value: total })}\n </Text>\n\n <Tooltip\n text={`${translate(L10N.LABEL_BASE_PRICE_VALUE, {\n value: currencyFormat({ currency, symbol: true, value: base }),\n })} ${taxesText}`}\n >\n <Text accent action={!isMobile} medium small={isMobile}>\n {translate(L10N.LABEL_PRICE_DETAILS)}\n </Text>\n </Tooltip>\n </View>\n\n {!is.cancelled && !is.past && (\n <Button onPress={() => handleManage(manage)}>{translate(L10N.ACTION_MANAGE_BOOKING)}</Button>\n )}\n\n {is.cancelled && <Button disabled>{translate(L10N.LABEL_CANCELLED)}</Button>}\n </View>\n </Card>\n );\n },\n )}\n </Cards>\n </>\n ))\n ) : has.dataSource ? (\n <Notification info large className={style.notification}>\n {translate(L10N.LABEL_NO_BOOKINGS)}\n </Notification>\n ) : null}\n </View>\n );\n};\n\nBookings.displayName = 'Mirai:Core:Profile:Bookings';\n\nBookings.propTypes = {};\n\nexport { Bookings };\n"],"names":["_dataSources","require","_locale","_services","_ui","_react","_interopRequireWildcard","_Bookings","_Bookings2","style","_Bookings3","_helpers","_shared__","_helpers2","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_extends","assign","bind","target","arguments","length","source","key","apply","Bookings","isMobile","useDevice","currencyFormat","locale","translate","useLocale","dataSource","setDataSource","useState","search","setSearch","useEffect","storage","Storage","adapter","LocalAdapter","cache","CACHE_LIMIT","STORAGE_KEY","response","ServiceUser","bookings","catch","handleManage","url","document","location","groupDatasource","caption","action","small","keys","undefined","createElement","View","className","container","row","title","Text","bold","headline","level","L10N","ACTION_MY_BOOKINGS","Search","value","onChange","entries","map","_ref","index","id","items","Fragment","num","Cards","booking","checkIn","checkOut","currency","hotel","image","city","price","base","total","text","taxesText","status","manage","site","is","cancelled","past","LABEL_PAST_BOOKINGS","Card","card","backgroundImage","concat","offset","getCalendarCaption","parseDate","Action","href","ACTION_VIEW_HOTEL","spaceBetween","symbol","Tooltip","LABEL_BASE_PRICE_VALUE","accent","medium","LABEL_PRICE_DETAILS","Button","onPress","ACTION_MANAGE_BOOKING","disabled","LABEL_CANCELLED","Notification","info","large","notification","LABEL_NO_BOOKINGS","exports","displayName","propTypes"],"mappings":";;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAC,uBAAA,CAAAL,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AACA,IAAAQ,KAAA,GAAAH,uBAAA,CAAAL,OAAA;AACA,IAAAS,UAAA,GAAAT,OAAA;AACA,IAAAU,QAAA,GAAAV,OAAA;AACA,IAAAW,SA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AAC1E,GAAA,CAAAsI,MAAM;QAACG,QAAQ;MAAA,GAAE5F,SAAS,CAACuC,eAAI,CAACsD,eAAe,CAAU,CACvE,CACF,CAAC;IAEX,CACF,CACK,CACP,CAAC;EAAA,CACJ,CAAC,GACAzH,GAAG,CAAC8B,UAAU,gBAChB9C,MAAA,CAAAe,OAAA,CAAA0D,aAAA,CAAC1E,GAAA,CAAA2I,YAAY;IAACC,IAAI;IAACC,KAAK;IAACjE,SAAS,EAAEvE,KAAK,CAACyI;EAAa,GACpDjG,SAAS,CAACuC,eAAI,CAAC2D,iBAAiB,CACrB,CAAC,GACb,IACA,CAAC;AAEX,CAAC;AAACC,OAAA,CAAAxG,QAAA,GAAAA,QAAA;AAEFA,QAAQ,CAACyG,WAAW,GAAG,6BAA6B;AAEpDzG,QAAQ,CAAC0G,SAAS,GAAG,CAAC,CAAC","debug_id":"241a29e1-8cdc-575e-9719-3394fff70c06"}
1
+ {"version":3,"file":"Bookings.js","names":["_dataSources","require","_locale","_services","_ui","_react","_interopRequireWildcard","_Bookings","_Bookings2","style","_Bookings3","_helpers","_shared__","_helpers2","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_extends","assign","bind","target","arguments","length","source","key","apply","Bookings","isMobile","useDevice","currencyFormat","locale","translate","useLocale","dataSource","setDataSource","useState","search","setSearch","useEffect","storage","Storage","adapter","LocalAdapter","cache","CACHE_LIMIT","STORAGE_KEY","response","ServiceUser","bookings","catch","handleManage","url","document","location","groupDatasource","caption","action","small","keys","undefined","createElement","View","className","container","row","title","Text","bold","headline","level","L10N","ACTION_MY_BOOKINGS","Search","value","onChange","entries","map","_ref","index","id","items","Fragment","num","Cards","booking","checkIn","checkOut","currency","hotel","image","city","price","base","total","text","taxesText","status","manage","site","is","cancelled","past","LABEL_PAST_BOOKINGS","Card","card","backgroundImage","concat","offset","getCalendarCaption","parseDate","Action","href","ACTION_VIEW_HOTEL","spaceBetween","symbol","Tooltip","LABEL_BASE_PRICE_VALUE","accent","medium","LABEL_PRICE_DETAILS","Button","onPress","ACTION_MANAGE_BOOKING","disabled","LABEL_CANCELLED","Notification","info","large","notification","LABEL_NO_BOOKINGS","exports","displayName","propTypes"],"sources":["../../../../../src/components/Profile/components/Bookings/Bookings.jsx"],"sourcesContent":["import { LocalAdapter, Storage } from '@mirai/data-sources';\nimport { parseDate, useLocale } from '@mirai/locale';\nimport { ServiceUser } from '@mirai/services';\nimport { Action, Button, Notification, Text, Tooltip, useDevice, View } from '@mirai/ui';\nimport React, { useEffect, useState } from 'react';\n\nimport { CACHE_LIMIT, STORAGE_KEY } from './Bookings.constants';\nimport { L10N } from './Bookings.l10n';\nimport * as style from './Bookings.module.css';\nimport { Search } from './Bookings.Search';\nimport { groupDatasource } from './helpers';\nimport { Card, Cards } from '../../../__shared__';\nimport { getCalendarCaption } from '../../../helpers';\n\nconst Bookings = () => {\n const { isMobile } = useDevice();\n const { currencyFormat, locale, translate } = useLocale();\n\n const [dataSource, setDataSource] = useState();\n const [search, setSearch] = useState();\n\n useEffect(() => {\n (async () => {\n // * TODO: We should cache as long as the service responds so slow\n const storage = new Storage({ adapter: LocalAdapter, cache: CACHE_LIMIT });\n const cache = storage.get(STORAGE_KEY);\n if (cache) setDataSource(cache);\n\n const response = await ServiceUser.bookings().catch(() => {});\n storage.set(STORAGE_KEY, response);\n\n setDataSource(response || []);\n })();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const handleManage = (url) => {\n document.location = url;\n };\n\n const bookings = groupDatasource(dataSource, search);\n const caption = { action: !isMobile, small: isMobile };\n const has = {\n bookings: Object.keys(bookings || {}).length > 0 || search,\n dataSource: dataSource !== undefined,\n };\n\n return (\n <View className={style.container}>\n <View row className={style.title}>\n <Text bold headline level={2}>\n {translate(L10N.ACTION_MY_BOOKINGS)}\n </Text>\n {has.bookings && <Search value={search} onChange={setSearch} />}\n </View>\n {has.bookings ? (\n Object.entries(bookings || {}).map(([id, items = []], index) => (\n <>\n <Text key={index} bold headline={!isMobile}>\n {translate({ id }, { num: items.length })}\n </Text>\n\n <Cards>\n {items.map(\n ({\n booking,\n checkIn,\n checkOut,\n currency,\n hotel,\n image,\n location: { city } = {},\n price: { base, total, text: taxesText } = {},\n status,\n url: { manage, site } = {},\n } = {}) => {\n const is = { cancelled: status === 'CANCELLED', past: id === L10N.LABEL_PAST_BOOKINGS.id };\n\n return (\n <Card key={booking} className={style.card}>\n {!is.past && <View className={style.image} style={{ backgroundImage: `url(${image})` }} />}\n\n <View className={style.offset}>\n <Text bold headline={!isMobile} level={3}>\n {hotel}\n </Text>\n {checkIn && checkOut && (\n <Text {...caption}>\n {getCalendarCaption(\n [parseDate(checkIn), parseDate(checkOut)],\n translate,\n undefined,\n locale,\n )}\n </Text>\n )}\n {city && <Text {...caption}>{city}</Text>}\n\n <Action {...caption} href={site}>\n {translate(L10N.ACTION_VIEW_HOTEL)}\n </Action>\n </View>\n\n <View row className={[style.offset, style.spaceBetween]}>\n <View>\n <Text bold headline level={isMobile || total >= 10000 ? 3 : 2}>\n {currencyFormat({ currency, symbol: true, value: total })}\n </Text>\n\n <Tooltip\n text={`${translate(L10N.LABEL_BASE_PRICE_VALUE, {\n value: currencyFormat({ currency, symbol: true, value: base }),\n })} ${taxesText}`}\n >\n <Text accent action={!isMobile} medium small={isMobile}>\n {translate(L10N.LABEL_PRICE_DETAILS)}\n </Text>\n </Tooltip>\n </View>\n\n {!is.cancelled && !is.past && (\n <Button onPress={() => handleManage(manage)}>{translate(L10N.ACTION_MANAGE_BOOKING)}</Button>\n )}\n\n {is.cancelled && <Button disabled>{translate(L10N.LABEL_CANCELLED)}</Button>}\n </View>\n </Card>\n );\n },\n )}\n </Cards>\n </>\n ))\n ) : has.dataSource ? (\n <Notification info large className={style.notification}>\n {translate(L10N.LABEL_NO_BOOKINGS)}\n </Notification>\n ) : null}\n </View>\n );\n};\n\nBookings.displayName = 'Mir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AAC2F,MAAM;QAAC7D,KAAK,EAAE9B;MAAS,GACpDI,SAAS,CAACuC,eAAI,CAACiD,mBAAmB,CAC/B,CACC,CACL,CAAC,EAEN,CAACpB,EAAE,CAACC,SAAS,IAAI,CAACD,EAAE,CAACE,IAAI,iBACxBlH,MAAA,CAAAe,OAAA,CAAA0D,aAAA,CAAC1E,GAAA,CAAAsI,MAAM;QAACC,OAAO,EAAEA,CAAA,KAAMvE,YAAY,CAAC+C,MAAM;MAAE,GAAElE,SAAS,CAACuC,eAAI,CAACoD,qBAAqB,CAAU,CAC7F,EAEAvB,EAAE,CAACC,SAAS,iBAAIjH,MAAA,CAAAe,OAAA,CAAA0D,aAAA,CAAC1E,GAAA,CAAAsI,MAAM;QAACG,QAAQ;MAAA,GAAE5F,SAAS,CAACuC,eAAI,CAACsD,eAAe,CAAU,CACvE,CACF,CAAC;IAEX,CACF,CACK,CACP,CAAC;EAAA,CACJ,CAAC,GACAzH,GAAG,CAAC8B,UAAU,gBAChB9C,MAAA,CAAAe,OAAA,CAAA0D,aAAA,CAAC1E,GAAA,CAAA2I,YAAY;IAACC,IAAI;IAACC,KAAK;IAACjE,SAAS,EAAEvE,KAAK,CAACyI;EAAa,GACpDjG,SAAS,CAACuC,eAAI,CAAC2D,iBAAiB,CACrB,CAAC,GACb,IACA,CAAC;AAEX,CAAC;AAACC,OAAA,CAAAxG,QAAA,GAAAA,QAAA;AAEFA,QAAQ,CAACyG,WAAW,GAAG,6BAA6B;AAEpDzG,QAAQ,CAAC0G,SAAS,GAAG,CAAC,CAAC"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="df15c111-662a-5120-b57e-2d7ce9d83d54")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -56,5 +54,4 @@ const L10N = exports.L10N = {
56
54
  id: 'common.label.search'
57
55
  }
58
56
  };
59
- //# sourceMappingURL=Bookings.l10n.js.map
60
- //# debugId=df15c111-662a-5120-b57e-2d7ce9d83d54
57
+ //# sourceMappingURL=Bookings.l10n.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Bookings.l10n.js","sources":["../../../../../src/components/Profile/components/Bookings/Bookings.l10n.js"],"sourcesContent":["export const L10N = {\n ACTION_MANAGE_BOOKING: { id: 'user.action.manage_booking' },\n ACTION_MY_BOOKINGS: { id: 'user.action.my_bookings' },\n ACTION_SEARCH: { id: 'user.action.search' },\n ACTION_SEARCH_CTA: { id: 'common.action.search' },\n ACTION_VIEW_HOTEL: { id: 'common.action.view_hotel' },\n\n LABEL_OPTION_MANAGE: { id: 'user.label.option_manage' },\n\n LABEL_BASE_PRICE_VALUE: { id: 'common.label.base_price_value' },\n LABEL_CANCELLED: { id: 'user.label.cancelled' },\n LABEL_NEXT_BOOKINGS: { id: 'user.label.next_bookings' },\n LABEL_NO_BOOKINGS: { id: 'user.label.no_bookings' },\n LABEL_PAST_BOOKINGS: { id: 'user.label.past_bookings' },\n LABEL_PRICE_DETAILS: { id: 'finder.label.price_details' },\n LABEL_RESERVATION_CODE: { id: 'common.label.reservation_code' },\n LABEL_RESERVATION_CODE_DESCRIPTION: { id: 'common.label.reservation_code_description' },\n LABEL_SEARCH: { id: 'user.label.search' },\n LABEL_SEARCH_PLACEHOLDER: { id: 'common.label.search' },\n};\n"],"names":["L10N","exports","ACTION_MANAGE_BOOKING","id","ACTION_MY_BOOKINGS","ACTION_SEARCH","ACTION_SEARCH_CTA","ACTION_VIEW_HOTEL","LABEL_OPTION_MANAGE","LABEL_BASE_PRICE_VALUE","LABEL_CANCELLED","LABEL_NEXT_BOOKINGS","LABEL_NO_BOOKINGS","LABEL_PAST_BOOKINGS","LABEL_PRICE_DETAILS","LABEL_RESERVATION_CODE","LABEL_RESERVATION_CODE_DESCRIPTION","LABEL_SEARCH","LABEL_SEARCH_PLACEHOLDER"],"mappings":";;;;;;;;AAAO,MAAMA,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,qBAAqB,EAAE;IAAEC,EAAE,EAAE;EAA6B,CAAC;EAC3DC,kBAAkB,EAAE;IAAED,EAAE,EAAE;EAA0B,CAAC;EACrDE,aAAa,EAAE;IAAEF,EAAE,EAAE;EAAqB,CAAC;EAC3CG,iBAAiB,EAAE;IAAEH,EAAE,EAAE;EAAuB,CAAC;EACjDI,iBAAiB,EAAE;IAAEJ,EAAE,EAAE;EAA2B,CAAC;EAErDK,mBAAmB,EAAE;IAAEL,EAAE,EAAE;EAA2B,CAAC;EAEvDM,sBAAsB,EAAE;IAAEN,EAAE,EAAE;EAAgC,CAAC;EAC/DO,eAAe,EAAE;IAAEP,EAAE,EAAE;EAAuB,CAAC;EAC/CQ,mBAAmB,EAAE;IAAER,EAAE,EAAE;EAA2B,CAAC;EACvDS,iBAAiB,EAAE;IAAET,EAAE,EAAE;EAAyB,CAAC;EACnDU,mBAAmB,EAAE;IAAEV,EAAE,EAAE;EAA2B,CAAC;EACvDW,mBAAmB,EAAE;IAAEX,EAAE,EAAE;EAA6B,CAAC;EACzDY,sBAAsB,EAAE;IAAEZ,EAAE,EAAE;EAAgC,CAAC;EAC/Da,kCAAkC,EAAE;IAAEb,EAAE,EAAE;EAA4C,CAAC;EACvFc,YAAY,EAAE;IAAEd,EAAE,EAAE;EAAoB,CAAC;EACzCe,wBAAwB,EAAE;IAAEf,EAAE,EAAE;EAAsB;AACxD,CAAC","debug_id":"df15c111-662a-5120-b57e-2d7ce9d83d54"}
1
+ {"version":3,"file":"Bookings.l10n.js","names":["L10N","exports","ACTION_MANAGE_BOOKING","id","ACTION_MY_BOOKINGS","ACTION_SEARCH","ACTION_SEARCH_CTA","ACTION_VIEW_HOTEL","LABEL_OPTION_MANAGE","LABEL_BASE_PRICE_VALUE","LABEL_CANCELLED","LABEL_NEXT_BOOKINGS","LABEL_NO_BOOKINGS","LABEL_PAST_BOOKINGS","LABEL_PRICE_DETAILS","LABEL_RESERVATION_CODE","LABEL_RESERVATION_CODE_DESCRIPTION","LABEL_SEARCH","LABEL_SEARCH_PLACEHOLDER"],"sources":["../../../../../src/components/Profile/components/Bookings/Bookings.l10n.js"],"sourcesContent":["export const L10N = {\n ACTION_MANAGE_BOOKING: { id: 'user.action.manage_booking' },\n ACTION_MY_BOOKINGS: { id: 'user.action.my_bookings' },\n ACTION_SEARCH: { id: 'user.action.search' },\n ACTION_SEARCH_CTA: { id: 'common.action.search' },\n ACTION_VIEW_HOTEL: { id: 'common.action.view_hotel' },\n\n LABEL_OPTION_MANAGE: { id: 'user.label.option_manage' },\n\n LABEL_BASE_PRICE_VALUE: { id: 'common.label.base_price_value' },\n LABEL_CANCELLED: { id: 'user.label.cancelled' },\n LABEL_NEXT_BOOKINGS: { id: 'user.label.next_bookings' },\n LABEL_NO_BOOKINGS: { id: 'user.label.no_bookings' },\n LABEL_PAST_BOOKINGS: { id: 'user.label.past_bookings' },\n LABEL_PRICE_DETAILS: { id: 'finder.label.price_details' },\n LABEL_RESERVATION_CODE: { id: 'common.label.reservation_code' },\n LABEL_RESERVATION_CODE_DESCRIPTION: { id: 'common.label.reservation_code_description' },\n LABEL_SEARCH: { id: 'user.label.search' },\n LABEL_SEARCH_PLACEHOLDER: { id: 'common.label.search' },\n};\n"],"mappings":";;;;;;AAAO,MAAMA,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,qBAAqB,EAAE;IAAEC,EAAE,EAAE;EAA6B,CAAC;EAC3DC,kBAAkB,EAAE;IAAED,EAAE,EAAE;EAA0B,CAAC;EACrDE,aAAa,EAAE;IAAEF,EAAE,EAAE;EAAqB,CAAC;EAC3CG,iBAAiB,EAAE;IAAEH,EAAE,EAAE;EAAuB,CAAC;EACjDI,iBAAiB,EAAE;IAAEJ,EAAE,EAAE;EAA2B,CAAC;EAErDK,mBAAmB,EAAE;IAAEL,EAAE,EAAE;EAA2B,CAAC;EAEvDM,sBAAsB,EAAE;IAAEN,EAAE,EAAE;EAAgC,CAAC;EAC/DO,eAAe,EAAE;IAAEP,EAAE,EAAE;EAAuB,CAAC;EAC/CQ,mBAAmB,EAAE;IAAER,EAAE,EAAE;EAA2B,CAAC;EACvDS,iBAAiB,EAAE;IAAET,EAAE,EAAE;EAAyB,CAAC;EACnDU,mBAAmB,EAAE;IAAEV,EAAE,EAAE;EAA2B,CAAC;EACvDW,mBAAmB,EAAE;IAAEX,EAAE,EAAE;EAA6B,CAAC;EACzDY,sBAAsB,EAAE;IAAEZ,EAAE,EAAE;EAAgC,CAAC;EAC/Da,kCAAkC,EAAE;IAAEb,EAAE,EAAE;EAA4C,CAAC;EACvFc,YAAY,EAAE;IAAEd,EAAE,EAAE;EAAoB,CAAC;EACzCe,wBAAwB,EAAE;IAAEf,EAAE,EAAE;EAAsB;AACxD,CAAC"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c7c7f9e5-e6cb-5d2b-a292-e9ea6514a1d2")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -24,5 +22,4 @@ const groupDatasource = function () {
24
22
  return Object.keys(value).length ? value : undefined;
25
23
  };
26
24
  exports.groupDatasource = groupDatasource;
27
- //# sourceMappingURL=groupDatasource.js.map
28
- //# debugId=c7c7f9e5-e6cb-5d2b-a292-e9ea6514a1d2
25
+ //# sourceMappingURL=groupDatasource.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"groupDatasource.js","sources":["../../../../../../src/components/Profile/components/Bookings/helpers/groupDatasource.js"],"sourcesContent":["import { dateDiff, parseDate, UTC } from '@mirai/locale';\n\nimport { L10N } from '../Bookings.l10n';\n\nexport const groupDatasource = (dataSource = [], search) => {\n if (!Array.isArray(dataSource)) return;\n\n const today = UTC(new Date());\n const value = {};\n\n dataSource\n .filter((item) => (search ? JSON.stringify(item).toLowerCase().includes(search.toLowerCase()) : true))\n .forEach((item) => {\n const { days } = dateDiff(today, parseDate(item.checkIn));\n const key = days >= 0 ? L10N.LABEL_NEXT_BOOKINGS.id : L10N.LABEL_PAST_BOOKINGS.id;\n\n value[key] = [...(value[key] || []), item];\n });\n\n return Object.keys(value).length ? value : undefined;\n};\n"],"names":["_locale","require","_Bookings","groupDatasource","dataSource","arguments","length","undefined","search","Array","isArray","today","UTC","Date","value","filter","item","JSON","stringify","toLowerCase","includes","forEach","days","dateDiff","parseDate","checkIn","key","L10N","LABEL_NEXT_BOOKINGS","id","LABEL_PAST_BOOKINGS","Object","keys","exports"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,SAAA,GAAAD,OAAA;AAEO,MAAME,eAAe,GAAG,SAAAA,CAAA,EAA6B;EAAA,IAA5BC,UAAU,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAAA,IAAEG,MAAM,GAAAH,SAAA,CAAAC,MAAA,OAAAD,SAAA,MAAAE,SAAA;EACrD,IAAI,CAACE,KAAK,CAACC,OAAO,CAACN,UAAU,CAAC,EAAE;EAEhC,MAAMO,KAAK,GAAG,IAAAC,WAAG,EAAC,IAAIC,IAAI,CAAC,CAAC,CAAC;EAC7B,MAAMC,KAAK,GAAG,CAAC,CAAC;EAEhBV,UAAU,CACPW,MAAM,CAAEC,IAAI,IAAMR,MAAM,GAAGS,IAAI,CAACC,SAAS,CAACF,IAAI,CAAC,CAACG,WAAW,CAAC,CAAC,CAACC,QAAQ,CAACZ,MAAM,CAACW,WAAW,CAAC,CAAC,CAAC,GAAG,IAAK,CAAC,CACrGE,OAAO,CAAEL,IAAI,IAAK;IACjB,MAAM;MAAEM;IAAK,CAAC,GAAG,IAAAC,gBAAQ,EAACZ,KAAK,EAAE,IAAAa,iBAAS,EAACR,IAAI,CAACS,OAAO,CAAC,CAAC;IACzD,MAAMC,GAAG,GAAGJ,IAAI,IAAI,CAAC,GAAGK,cAAI,CAACC,mBAAmB,CAACC,EAAE,GAAGF,cAAI,CAACG,mBAAmB,CAACD,EAAE;IAEjFf,KAAK,CAACY,GAAG,CAAC,GAAG,CAAC,IAAIZ,KAAK,CAACY,GAAG,CAAC,IAAI,EAAE,CAAC,EAAEV,IAAI,CAAC;EAC5C,CAAC,CAAC;EAEJ,OAAOe,MAAM,CAACC,IAAI,CAAClB,KAAK,CAAC,CAACR,MAAM,GAAGQ,KAAK,GAAGP,SAAS;AACtD,CAAC;AAAC0B,OAAA,CAAA9B,eAAA,GAAAA,eAAA","debug_id":"c7c7f9e5-e6cb-5d2b-a292-e9ea6514a1d2"}
1
+ {"version":3,"file":"groupDatasource.js","names":["_locale","require","_Bookings","groupDatasource","dataSource","arguments","length","undefined","search","Array","isArray","today","UTC","Date","value","filter","item","JSON","stringify","toLowerCase","includes","forEach","days","dateDiff","parseDate","checkIn","key","L10N","LABEL_NEXT_BOOKINGS","id","LABEL_PAST_BOOKINGS","Object","keys","exports"],"sources":["../../../../../../src/components/Profile/components/Bookings/helpers/groupDatasource.js"],"sourcesContent":["import { dateDiff, parseDate, UTC } from '@mirai/locale';\n\nimport { L10N } from '../Bookings.l10n';\n\nexport const groupDatasource = (dataSource = [], search) => {\n if (!Array.isArray(dataSource)) return;\n\n const today = UTC(new Date());\n const value = {};\n\n dataSource\n .filter((item) => (search ? JSON.stringify(item).toLowerCase().includes(search.toLowerCase()) : true))\n .forEach((item) => {\n const { days } = dateDiff(today, parseDate(item.checkIn));\n const key = days >= 0 ? L10N.LABEL_NEXT_BOOKINGS.id : L10N.LABEL_PAST_BOOKINGS.id;\n\n value[key] = [...(value[key] || []), item];\n });\n\n return Object.keys(value).length ? value : undefined;\n};\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAA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{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="70f82767-758d-5271-85f2-ae516920a1fc")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -16,5 +14,4 @@ Object.keys(_groupDatasource).forEach(function (key) {
16
14
  }
17
15
  });
18
16
  });
19
- //# sourceMappingURL=index.js.map
20
- //# debugId=70f82767-758d-5271-85f2-ae516920a1fc
17
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../src/components/Profile/components/Bookings/helpers/index.js"],"sourcesContent":["export * from './groupDatasource';\n"],"names":["_groupDatasource","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"mappings":";;;;;;;AAAA,IAAAA,gBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,gBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,gBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,gBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","debug_id":"70f82767-758d-5271-85f2-ae516920a1fc"}
1
+ {"version":3,"file":"index.js","names":["_groupDatasource","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../../../../../src/components/Profile/components/Bookings/helpers/index.js"],"sourcesContent":["export * from './groupDatasource';\n"],"mappings":";;;;;AAAA,IAAAA,gBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,gBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,gBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,gBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0671b3bc-7bd6-5c6f-acb8-f16d7f697c65")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -16,5 +14,4 @@ Object.keys(_Bookings).forEach(function (key) {
16
14
  }
17
15
  });
18
16
  });
19
- //# sourceMappingURL=index.js.map
20
- //# debugId=0671b3bc-7bd6-5c6f-acb8-f16d7f697c65
17
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../src/components/Profile/components/Bookings/index.js"],"sourcesContent":["export * from './Bookings';\n"],"names":["_Bookings","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"mappings":";;;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","debug_id":"0671b3bc-7bd6-5c6f-acb8-f16d7f697c65"}
1
+ {"version":3,"file":"index.js","names":["_Bookings","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../../../../src/components/Profile/components/Bookings/index.js"],"sourcesContent":["export * from './Bookings';\n"],"mappings":";;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c46f2747-eae5-51fa-b10a-89863f64afe8")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -181,5 +179,4 @@ const Account = () => {
181
179
  exports.Account = Account;
182
180
  Account.displayName = 'Mirai:Core:Profile:Account';
183
181
  Account.propTypes = {};
184
- //# sourceMappingURL=Settings.Account.js.map
185
- //# debugId=c46f2747-eae5-51fa-b10a-89863f64afe8
182
+ //# sourceMappingURL=Settings.Account.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.Account.js","sources":["../../../../../src/components/Profile/components/Settings/Settings.Account.jsx"],"sourcesContent":["import { Event, useStore } from '@mirai/data-sources';\nimport { dateCalc, dateFormat, getDateFormat, parseDate, useLocale } from '@mirai/locale';\nimport { ServiceCountry, ServiceUser } from '@mirai/services';\nimport { Button, Form, InputDate, InputOption, InputSelect, InputText, Notification, Text } from '@mirai/ui';\nimport React, { useEffect, useState } from 'react';\n\nimport { ACCOUNT_FIELDS } from './Settings.constants';\nimport { L10N } from './Settings.l10n';\nimport * as style from './Settings.module.css';\nimport { NotificationRequiredFields, TextRequiredFields } from '../../../__shared__';\nimport { EVENT, getCountryCode } from '../../../helpers';\n\nconst Account = () => {\n const {\n set,\n value: { locale, session = {} },\n } = useStore();\n const { translate } = useLocale();\n\n const [busy, setBusy] = useState(false);\n const [countries, setCountries] = useState({});\n const [form, setForm] = useState(session);\n const [formError, setFormError] = useState({});\n const [requiredFields, setRequiredFields] = useState();\n const [responseError, setResponseError] = useState();\n\n const formatDate = getDateFormat(locale);\n\n useEffect(() => {\n setResponseError();\n set({ profile: form });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [form]);\n\n useEffect(() => {\n (async () => {\n const next = (await ServiceCountry.list(locale)) || {};\n\n setCountries(next);\n setForm({ ...form, country: next[session.country] });\n })();\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [locale]);\n\n const handleSubmit = async () => {\n const hasErrors = Object.keys(formError).length !== 0;\n if (hasErrors) {\n window.scrollTo({ top: 0, behavior: 'smooth' });\n return setRequiredFields(formError);\n }\n\n setBusy(true);\n setRequiredFields();\n setResponseError(undefined);\n\n const parameters = {\n ...form,\n country: getCountryCode(form.country, countries),\n dateOfBirth: dateFormat(parseDate(form.dateOfBirth, formatDate), { format: 'DD/MM/YYYY' }),\n };\n\n const response = await ServiceUser.update(parameters).catch((error) => {\n setResponseError(error);\n });\n\n if (response) {\n Event.publish(EVENT.NOTIFICATION, { success: true, ...L10N.SUCCESS_ACCOUNT });\n set({ session: { ...session, ...parameters } });\n }\n setBusy(false);\n };\n\n const countryCode = getCountryCode(form.country, countries);\n const has = {\n changes: ACCOUNT_FIELDS.some((key) => form[key] !== session[key]) || countryCode !== session.country,\n dateOfBirth: form.dateOfBirth?.length,\n };\n const hasRequiredFields = Object.keys(requiredFields || {}).length > 0;\n\n return (\n <Form validateOnMount onChange={setForm} onError={setFormError} onSubmit={handleSubmit}>\n {hasRequiredFields && <NotificationRequiredFields form=\"account\" values={requiredFields} />}\n\n <Text wide>{translate(L10N.DESCRIPTION_ACCOUNT)}</Text>\n <TextRequiredFields />\n <InputText\n id=\"account-firstName\"\n name=\"firstName\"\n error={formError.firstName}\n label={translate(L10N.FIRSTNAME_LABEL)}\n required\n showRequired\n success={form.firstName !== session.firstName}\n value={form.firstName}\n />\n <InputText\n id=\"account-lastName\"\n name=\"lastName\"\n error={formError.lastName}\n label={translate(L10N.LASTNAME_LABEL)}\n required\n showRequired\n success={form.lastName !== session.lastName}\n value={form.lastName}\n />\n <InputText\n id=\"account-email\"\n name=\"email\"\n disabled\n label={translate(L10N.EMAIL_LABEL)}\n required\n showRequired\n type=\"email\"\n value={form.email}\n />\n <InputDate\n id=\"account-dateOfBirth\"\n name=\"dateOfBirth\"\n error={has.dateOfBirth && !!formError.dateOfBirth}\n hint={has.dateOfBirth && formError.dateOfBirth?.max ? translate(L10N.DATEOFBIRTH_ERROR) : undefined}\n format={formatDate}\n label={translate(L10N.DATEOFBIRTH_LABEL)}\n max={dateFormat(dateCalc(new Date(), -18, 'years'), { format: formatDate })}\n required\n showRequired\n success={form.dateOfBirth !== session.dateOfBirth}\n type=\"inputDate\"\n value={form.dateOfBirth}\n />\n <InputSelect\n id=\"account-country\"\n name=\"country\"\n label={translate(L10N.COUNTRY_LABEL)}\n placeholder={translate(L10N.COUNTRY_PLACEHOLDER)}\n options={Object.values(countries)}\n // required\n // showRequired\n success={countryCode !== session.country}\n value={form.country}\n />\n <InputOption\n name=\"subscribed\"\n checked={form.subscribed}\n type=\"checkbox\"\n label={translate(L10N.SUBSCRIBED_LABEL)}\n small\n value={form.subscribed}\n />\n\n {responseError && (\n <Notification error className={style.notification}>\n {translate(L10N.ERROR)}\n </Notification>\n )}\n\n <Button busy={busy} wide onPress={handleSubmit} testId=\"button-save\">\n {translate(L10N.CTA_ACCOUNT)}\n </Button>\n </Form>\n );\n};\n\nAccount.displayName = 'Mirai:Core:Profile:Account';\n\nAccount.propTypes = {};\n\nexport { Account };\n"],"names":["_dataSources","require","_locale","_services","_ui","_react","_interopRequireWildcard","_Settings","_Settings2","style","_shared__","_helpers","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","Account","_form$dateOfBirth","_formError$dateOfBirt","value","locale","session","useStore","translate","useLocale","busy","setBusy","useState","countries","setCountries","form","setForm","formError","setFormError","requiredFields","setRequiredFields","responseError","setResponseError","formatDate","getDateFormat","useEffect","profile","next","ServiceCountry","list","country","handleSubmit","hasErrors","keys","length","window","scrollTo","top","behavior","undefined","parameters","getCountryCode","dateOfBirth","dateFormat","parseDate","format","response","ServiceUser","update","catch","error","Event","publish","EVENT","NOTIFICATION","success","L10N","SUCCESS_ACCOUNT","countryCode","changes","ACCOUNT_FIELDS","some","key","hasRequiredFields","createElement","Form","validateOnMount","onChange","onError","onSubmit","NotificationRequiredFields","values","Text","wide","DESCRIPTION_ACCOUNT","TextRequiredFields","InputText","id","name","firstName","label","FIRSTNAME_LABEL","required","showRequired","lastName","LASTNAME_LABEL","disabled","EMAIL_LABEL","type","email","InputDate","hint","max","DATEOFBIRTH_ERROR","DATEOFBIRTH_LABEL","dateCalc","Date","InputSelect","COUNTRY_LABEL","placeholder","COUNTRY_PLACEHOLDER","options","InputOption","checked","subscribed","SUBSCRIBED_LABEL","small","Notification","className","notification","ERROR","Button","onPress","testId","CTA_ACCOUNT","exports","displayName","propTypes"],"mappings":";;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAC,uBAAA,CAAAL,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAA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,iBACZhD,MAAA,CAAAa,OAAA,CAAA8E,aAAA,CAAC5F,GAAA,CAAAuI,YAAY;IAACzD,KAAK;IAAC0D,SAAS,EAAEnI,KAAK,CAACoI;EAAa,GAC/CrG,SAAS,CAACgD,eAAI,CAACsD,KAAK,CACT,CACf,eAEDzI,MAAA,CAAAa,OAAA,CAAA8E,aAAA,CAAC5F,GAAA,CAAA2I,MAAM;IAACrG,IAAI,EAAEA,IAAK;IAAC+D,IAAI;IAACuC,OAAO,EAAEjF,YAAa;IAACkF,MAAM,EAAC;EAAa,GACjEzG,SAAS,CAACgD,eAAI,CAAC0D,WAAW,CACrB,CACJ,CAAC;AAEX,CAAC;AAACC,OAAA,CAAAlH,OAAA,GAAAA,OAAA;AAEFA,OAAO,CAACmH,WAAW,GAAG,4BAA4B;AAElDnH,OAAO,CAACoH,SAAS,GAAG,CAAC,CAAC","debug_id":"c46f2747-eae5-51fa-b10a-89863f64afe8"}
1
+ {"version":3,"file":"Settings.Account.js","names":["_dataSources","require","_locale","_services","_ui","_react","_interopRequireWildcard","_Settings","_Settings2","style","_shared__","_helpers","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","Account","_form$dateOfBirth","_formError$dateOfBirt","value","locale","session","useStore","translate","useLocale","busy","setBusy","useState","countries","setCountries","form","setForm","formError","setFormError","requiredFields","setRequiredFields","responseError","setResponseError","formatDate","getDateFormat","useEffect","profile","next","ServiceCountry","list","country","handleSubmit","hasErrors","keys","length","window","scrollTo","top","behavior","undefined","parameters","getCountryCode","dateOfBirth","dateFormat","parseDate","format","response","ServiceUser","update","catch","error","Event","publish","EVENT","NOTIFICATION","success","L10N","SUCCESS_ACCOUNT","countryCode","changes","ACCOUNT_FIELDS","some","key","hasRequiredFields","createElement","Form","validateOnMount","onChange","onError","onSubmit","NotificationRequiredFields","values","Text","wide","DESCRIPTION_ACCOUNT","TextRequiredFields","InputText","id","name","firstName","label","FIRSTNAME_LABEL","required","showRequired","lastName","LASTNAME_LABEL","disabled","EMAIL_LABEL","type","email","InputDate","hint","max","DATEOFBIRTH_ERROR","DATEOFBIRTH_LABEL","dateCalc","Date","InputSelect","COUNTRY_LABEL","placeholder","COUNTRY_PLACEHOLDER","options","InputOption","checked","subscribed","SUBSCRIBED_LABEL","small","Notification","className","notification","ERROR","Button","onPress","testId","CTA_ACCOUNT","exports","displayName","propTypes"],"sources":["../../../../../src/components/Profile/components/Settings/Settings.Account.jsx"],"sourcesContent":["import { Event, useStore } from '@mirai/data-sources';\nimport { dateCalc, dateFormat, getDateFormat, parseDate, useLocale } from '@mirai/locale';\nimport { ServiceCountry, ServiceUser } from '@mirai/services';\nimport { Button, Form, InputDate, InputOption, InputSelect, InputText, Notification, Text } from '@mirai/ui';\nimport React, { useEffect, useState } from 'react';\n\nimport { ACCOUNT_FIELDS } from './Settings.constants';\nimport { L10N } from './Settings.l10n';\nimport * as style from './Settings.module.css';\nimport { NotificationRequiredFields, TextRequiredFields } from '../../../__shared__';\nimport { EVENT, getCountryCode } from '../../../helpers';\n\nconst Account = () => {\n const {\n set,\n value: { locale, session = {} },\n } = useStore();\n const { translate } = useLocale();\n\n const [busy, setBusy] = useState(false);\n const [countries, setCountries] = useState({});\n const [form, setForm] = useState(session);\n const [formError, setFormError] = useState({});\n const [requiredFields, setRequiredFields] = useState();\n const [responseError, setResponseError] = useState();\n\n const formatDate = getDateFormat(locale);\n\n useEffect(() => {\n setResponseError();\n set({ profile: form });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [form]);\n\n useEffect(() => {\n (async () => {\n const next = (await ServiceCountry.list(locale)) || {};\n\n setCountries(next);\n setForm({ ...form, country: next[session.country] });\n })();\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [locale]);\n\n const handleSubmit = async () => {\n const hasErrors = Object.keys(formError).length !== 0;\n if (hasErrors) {\n window.scrollTo({ top: 0, behavior: 'smooth' });\n return setRequiredFields(formError);\n }\n\n setBusy(true);\n setRequiredFields();\n setResponseError(undefined);\n\n const parameters = {\n ...form,\n country: getCountryCode(form.country, countries),\n dateOfBirth: dateFormat(parseDate(form.dateOfBirth, formatDate), { format: 'DD/MM/YYYY' }),\n };\n\n const response = await ServiceUser.update(parameters).catch((error) => {\n setResponseError(error);\n });\n\n if (response) {\n Event.publish(EVENT.NOTIFICATION, { success: true, ...L10N.SUCCESS_ACCOUNT });\n set({ session: { ...session, ...parameters } });\n }\n setBusy(false);\n };\n\n const countryCode = getCountryCode(form.country, countries);\n const has = {\n changes: ACCOUNT_FIELDS.some((key) => form[key] !== session[key]) || countryCode !== session.country,\n dateOfBirth: form.dateOfBirth?.length,\n };\n const hasRequiredFields = Object.keys(requiredFields || {}).length > 0;\n\n return (\n <Form validateOnMount onChange={setForm} onError={setFormError} onSubmit={handleSubmit}>\n {hasRequiredFields && <NotificationRequiredFields form=\"account\" values={requiredFields} />}\n\n <Text wide>{translate(L10N.DESCRIPTION_ACCOUNT)}</Text>\n <TextRequiredFields />\n <InputText\n id=\"account-firstName\"\n name=\"firstName\"\n error={formError.firstName}\n label={translate(L10N.FIRSTNAME_LABEL)}\n required\n showRequired\n success={form.firstName !== session.firstName}\n value={form.firstName}\n />\n <InputText\n id=\"account-lastName\"\n name=\"lastName\"\n error={formError.lastName}\n label={translate(L10N.LASTNAME_LABEL)}\n required\n showRequired\n success={form.lastName !== session.lastName}\n value={form.lastName}\n />\n <InputText\n id=\"account-email\"\n name=\"email\"\n disabled\n label={translate(L10N.EMAIL_LABEL)}\n required\n showRequired\n type=\"email\"\n value={form.email}\n />\n <InputDate\n id=\"account-dateOfBirth\"\n name=\"dateOfBirth\"\n error={has.dateOfBirth && !!formError.dateOfBirth}\n hint={has.dateOfBirth && formError.dateOfBirth?.max ? translate(L10N.DATEOFBIRTH_ERROR) : undefined}\n format={formatDate}\n label={translate(L10N.DATEOFBIRTH_LABEL)}\n max={dateFormat(dateCalc(new Date(), -18, 'years'), { format: formatDate })}\n required\n showRequired\n success={form.dateOfBirth !== session.dateOfBirth}\n type=\"inputDate\"\n value={form.dateOfBirth}\n />\n <InputSelect\n id=\"account-country\"\n name=\"country\"\n label={translate(L10N.COUNTRY_LABEL)}\n placeholder={translate(L10N.COUNTRY_PLACEHOLDER)}\n options={Object.values(countries)}\n // required\n // showRequired\n success={countryCode !== session.country}\n value={form.country}\n />\n <InputOption\n name=\"subscribed\"\n checked={form.subscribed}\n type=\"checkbox\"\n label={translate(L10N.SUBSCRIBED_LABEL)}\n small\n value={form.subscribed}\n />\n\n {responseError && (\n <Notification error className={style.notification}>\n {translate(L10N.ERROR)}\n </Notification>\n )}\n\n <Button busy={busy} wide onPress={handleSubmit} testId=\"button-save\">\n {translate(L10N.CTA_ACCOUNT)}\n </Button>\n </Form>\n );\n};\n\nAccount.displayName = 'Mirai:Core:Profile:Account';\n\nAccount.propTypes = {};\n\nexport { Account };\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAC,uBAAA,CAAAL,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AACA,IAAAQ,KAAA,GAAAH,uBAAA,CAAAL,OAAA;AACA,IAAAS,SAAA,GAAAT,OAAA;AACA,IAAAU,QAAA,GAAAV,OAAA;AAAyD,SAAAW,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAP,wBAAAO,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAA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AAACC,OAAA,CAAAlH,OAAA,GAAAA,OAAA;AAEFA,OAAO,CAACmH,WAAW,GAAG,4BAA4B;AAElDnH,OAAO,CAACoH,SAAS,GAAG,CAAC,CAAC"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6ac54b3b-639d-5edd-b8ce-82a9d9289157")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -121,5 +119,4 @@ const Password = others => {
121
119
  };
122
120
  exports.Password = Password;
123
121
  Password.propTypes = {};
124
- //# sourceMappingURL=Settings.Password.js.map
125
- //# debugId=6ac54b3b-639d-5edd-b8ce-82a9d9289157
122
+ //# sourceMappingURL=Settings.Password.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.Password.js","sources":["../../../../../src/components/Profile/components/Settings/Settings.Password.jsx"],"sourcesContent":["import { Event, useStore } from '@mirai/data-sources';\nimport { useLocale } from '@mirai/locale';\nimport { ServiceUser } from '@mirai/services';\nimport { Button, Form, InputText, Notification, Text } from '@mirai/ui';\nimport React, { useEffect, useState } from 'react';\n\nimport { L10N } from './Settings.l10n';\nimport * as style from './Settings.module.css';\nimport { TextRequiredFields } from '../../../__shared__';\nimport { EVENT, testPassword } from '../../../helpers';\n\nconst Password = (others) => {\n const { translate } = useLocale();\n const { value: { session: { club: { id: idClub } = {}, email } = {} } = {}, set } = useStore();\n\n const [busy, setBusy] = useState(false);\n const [form, setForm] = useState({});\n const [formError, setFormError] = useState({});\n const [responseError, setResponseError] = useState();\n\n useEffect(() => {\n setResponseError();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [form]);\n\n const handleSubmit = async (form) => {\n setBusy(true);\n setResponseError(undefined);\n\n const { password } = form;\n const response = await ServiceUser.update({ password }).catch((error) => {\n setResponseError(error);\n });\n\n if (response) {\n Event.publish(EVENT.NOTIFICATION, { success: true, ...L10N.SUCCESS_PASSWORD });\n\n const session = await ServiceUser.login({ email, idClub, password }).catch((error) => {\n setResponseError(error);\n });\n set({ session });\n }\n\n setBusy(false);\n };\n\n const has = {\n errors: Object.keys(formError).length !== 0 || form.password !== form.rePassword,\n responseError,\n };\n\n return (\n <Form\n {...others}\n validateOnMount\n onChange={setForm}\n onError={setFormError}\n onSubmit={handleSubmit}\n className={style.form}\n >\n <Text bold headline wide>\n {translate(L10N.DESCRIPTION_PASSWORD)}\n </Text>\n\n <TextRequiredFields />\n\n <InputText\n name=\"password\"\n error={form.password?.length && formError.password?.test}\n hint={translate(L10N.PASSWORD_HINT)}\n label={translate(L10N.PASSWORD_NEW_LABEL)}\n required\n showRequired\n success={form.password?.length && !formError.password}\n test={testPassword}\n type=\"password\"\n value={form.password}\n />\n\n <InputText\n name=\"rePassword\"\n error={form.rePassword?.length && (formError.rePassword?.test || form.rePassword !== form.password)}\n hint={translate(L10N.PASSWORD_HINT)}\n label={translate(L10N.PASSWORD_NEW_CONFIRM_LABEL)}\n required\n showRequired\n success={form.rePassword?.length && form.rePassword === form.password}\n test={testPassword}\n type=\"password\"\n value={form.rePassword}\n />\n\n {has.responseError && (\n <Notification error wide className={style.notification}>\n {translate(L10N.ERROR)}\n </Notification>\n )}\n\n <Button busy={busy} disabled={busy || has.errors} wide type=\"submit\" testId=\"button-password\">\n {translate(L10N.CTA_PASSWORD)}\n </Button>\n </Form>\n );\n};\n\nPassword.propTypes = {};\n\nexport { Password };\n"],"names":["_dataSources","require","_locale","_services","_ui","_react","_interopRequireWildcard","_Settings","style","_shared__","_helpers","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_extends","assign","bind","target","arguments","length","source","key","apply","Password","others","_form$password","_formError$password","_form$password2","_form$rePassword","_formError$rePassword","_form$rePassword2","translate","useLocale","value","session","club","id","idClub","email","useStore","busy","setBusy","useState","form","setForm","formError","setFormError","responseError","setResponseError","useEffect","handleSubmit","undefined","password","response","ServiceUser","update","catch","error","Event","publish","EVENT","NOTIFICATION","success","L10N","SUCCESS_PASSWORD","login","errors","keys","rePassword","createElement","Form","validateOnMount","onChange","onError","onSubmit","className","Text","bold","headline","wide","DESCRIPTION_PASSWORD","TextRequiredFields","InputText","name","test","hint","PASSWORD_HINT","label","PASSWORD_NEW_LABEL","required","showRequired","testPassword","type","PASSWORD_NEW_CONFIRM_LABEL","Notification","notification","ERROR","Button","disabled","testId","CTA_PASSWORD","exports","propTypes"],"mappings":";;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAC,uBAAA,CAAAL,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,KAAA,GAAAF,uBAAA,CAAAL,OAAA;AACA,IAAAQ,SAAA,GAAAR,OAAA;AACA,IAAAS,QAAA,GAAAT,OAAA;AAAuD,SAAAU,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAN,wBAAAM,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA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,YAAY;IAACrC,KAAK;IAACsB,IAAI;IAACJ,SAAS,EAAErF,KAAK,CAACyG;EAAa,GACpDhE,SAAS,CAACgC,cAAI,CAACiC,KAAK,CACT,CACf,eAED7G,MAAA,CAAAY,OAAA,CAAAsE,aAAA,CAACnF,GAAA,CAAA+G,MAAM;IAACzD,IAAI,EAAEA,IAAK;IAAC0D,QAAQ,EAAE1D,IAAI,IAAIxC,GAAG,CAACkE,MAAO;IAACa,IAAI;IAACa,IAAI,EAAC,QAAQ;IAACO,MAAM,EAAC;EAAiB,GAC1FpE,SAAS,CAACgC,cAAI,CAACqC,YAAY,CACtB,CACJ,CAAC;AAEX,CAAC;AAACC,OAAA,CAAA9E,QAAA,GAAAA,QAAA;AAEFA,QAAQ,CAAC+E,SAAS,GAAG,CAAC,CAAC","debug_id":"6ac54b3b-639d-5edd-b8ce-82a9d9289157"}
1
+ {"version":3,"file":"Settings.Password.js","names":["_dataSources","require","_locale","_services","_ui","_react","_interopRequireWildcard","_Settings","style","_shared__","_helpers","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_extends","assign","bind","target","arguments","length","source","key","apply","Password","others","_form$password","_formError$password","_form$password2","_form$rePassword","_formError$rePassword","_form$rePassword2","translate","useLocale","value","session","club","id","idClub","email","useStore","busy","setBusy","useState","form","setForm","formError","setFormError","responseError","setResponseError","useEffect","handleSubmit","undefined","password","response","ServiceUser","update","catch","error","Event","publish","EVENT","NOTIFICATION","success","L10N","SUCCESS_PASSWORD","login","errors","keys","rePassword","createElement","Form","validateOnMount","onChange","onError","onSubmit","className","Text","bold","headline","wide","DESCRIPTION_PASSWORD","TextRequiredFields","InputText","name","test","hint","PASSWORD_HINT","label","PASSWORD_NEW_LABEL","required","showRequired","testPassword","type","PASSWORD_NEW_CONFIRM_LABEL","Notification","notification","ERROR","Button","disabled","testId","CTA_PASSWORD","exports","propTypes"],"sources":["../../../../../src/components/Profile/components/Settings/Settings.Password.jsx"],"sourcesContent":["import { Event, useStore } from '@mirai/data-sources';\nimport { useLocale } from '@mirai/locale';\nimport { ServiceUser } from '@mirai/services';\nimport { Button, Form, InputText, Notification, Text } from '@mirai/ui';\nimport React, { useEffect, useState } from 'react';\n\nimport { L10N } from './Settings.l10n';\nimport * as style from './Settings.module.css';\nimport { TextRequiredFields } from '../../../__shared__';\nimport { EVENT, testPassword } from '../../../helpers';\n\nconst Password = (others) => {\n const { translate } = useLocale();\n const { value: { session: { club: { id: idClub } = {}, email } = {} } = {}, set } = useStore();\n\n const [busy, setBusy] = useState(false);\n const [form, setForm] = useState({});\n const [formError, setFormError] = useState({});\n const [responseError, setResponseError] = useState();\n\n useEffect(() => {\n setResponseError();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [form]);\n\n const handleSubmit = async (form) => {\n setBusy(true);\n setResponseError(undefined);\n\n const { password } = form;\n const response = await ServiceUser.update({ password }).catch((error) => {\n setResponseError(error);\n });\n\n if (response) {\n Event.publish(EVENT.NOTIFICATION, { success: true, ...L10N.SUCCESS_PASSWORD });\n\n const session = await ServiceUser.login({ email, idClub, password }).catch((error) => {\n setResponseError(error);\n });\n set({ session });\n }\n\n setBusy(false);\n };\n\n const has = {\n errors: Object.keys(formError).length !== 0 || form.password !== form.rePassword,\n responseError,\n };\n\n return (\n <Form\n {...others}\n validateOnMount\n onChange={setForm}\n onError={setFormError}\n onSubmit={handleSubmit}\n className={style.form}\n >\n <Text bold headline wide>\n {translate(L10N.DESCRIPTION_PASSWORD)}\n </Text>\n\n <TextRequiredFields />\n\n <InputText\n name=\"password\"\n error={form.password?.length && formError.password?.test}\n hint={translate(L10N.PASSWORD_HINT)}\n label={translate(L10N.PASSWORD_NEW_LABEL)}\n required\n showRequired\n success={form.password?.length && !formError.password}\n test={testPassword}\n type=\"password\"\n value={form.password}\n />\n\n <InputText\n name=\"rePassword\"\n error={form.rePassword?.length && (formError.rePassword?.test || form.rePassword !== form.password)}\n hint={translate(L10N.PASSWORD_HINT)}\n label={translate(L10N.PASSWORD_NEW_CONFIRM_LABEL)}\n required\n showRequired\n success={form.rePassword?.length && form.rePassword === form.password}\n test={testPassword}\n type=\"password\"\n value={form.rePassword}\n />\n\n {has.responseError && (\n <Notification error wide className={style.notification}>\n {translate(L10N.ERROR)}\n </Notification>\n )}\n\n <Button busy={busy} disabled={busy || has.errors} wide type=\"submit\" testId=\"button-password\">\n {translate(L10N.CTA_PASSWORD)}\n </Button>\n </Form>\n );\n};\n\nPassword.propTypes = {};\n\nexport { Password };\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAC,uBAAA,CAAAL,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,KAAA,GAAAF,uBAAA,CAAAL,OAAA;AACA,IAAAQ,SAAA,GAAAR,OAAA;AACA,IAAAS,QAAA,GAAAT,OAAA;AAAuD,SAAAU,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAN,wBAAAM,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAA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,EAAErF,KAAK,CAACyG;EAAa,GACpDhE,SAAS,CAACgC,cAAI,CAACiC,KAAK,CACT,CACf,eAED7G,MAAA,CAAAY,OAAA,CAAAsE,aAAA,CAACnF,GAAA,CAAA+G,MAAM;IAACzD,IAAI,EAAEA,IAAK;IAAC0D,QAAQ,EAAE1D,IAAI,IAAIxC,GAAG,CAACkE,MAAO;IAACa,IAAI;IAACa,IAAI,EAAC,QAAQ;IAACO,MAAM,EAAC;EAAiB,GAC1FpE,SAAS,CAACgC,cAAI,CAACqC,YAAY,CACtB,CACJ,CAAC;AAEX,CAAC;AAACC,OAAA,CAAA9E,QAAA,GAAAA,QAAA;AAEFA,QAAQ,CAAC+E,SAAS,GAAG,CAAC,CAAC"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="66038c30-89c6-52b1-854d-c856f02c72f1")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -91,5 +89,4 @@ const Signout = () => {
91
89
  exports.Signout = Signout;
92
90
  Signout.displayName = 'Mirai:Core:Profile:Signout';
93
91
  Signout.propTypes = {};
94
- //# sourceMappingURL=Settings.Signout.js.map
95
- //# debugId=66038c30-89c6-52b1-854d-c856f02c72f1
92
+ //# sourceMappingURL=Settings.Signout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.Signout.js","sources":["../../../../../src/components/Profile/components/Settings/Settings.Signout.jsx"],"sourcesContent":["import { useStore } from '@mirai/data-sources';\nimport { useLocale } from '@mirai/locale';\nimport { ServiceUser } from '@mirai/services';\nimport { Button, Modal, Notification, Text, View } from '@mirai/ui';\nimport React, { useState } from 'react';\n\nimport { L10N } from './Settings.l10n';\nimport * as style from './Settings.module.css';\n\nconst Signout = () => {\n const {\n value: { club = {}, hotel: { url } = {} },\n } = useStore();\n const { translate } = useLocale();\n\n const [busy, setBusy] = useState(false);\n const [modal, setModal] = useState(false);\n const [response, setResponse] = useState();\n const [responseError, setResponseError] = useState();\n\n const handleSubmit = async () => {\n setBusy(true);\n setResponseError(undefined);\n\n const response = await ServiceUser.signout().catch((error) => {\n setResponseError(error);\n });\n\n setResponse(response);\n setBusy(false);\n };\n\n const handleClose = () => {\n if (!response) return setModal(false);\n\n window.location.href = url;\n };\n\n const handleOpen = () => {\n setModal(true);\n };\n\n return (\n <View className={style.box}>\n <Text bold headline>\n {translate(L10N.TITLE_SIGNOUT, { club: club.name })}\n </Text>\n <Text>{translate(L10N.DESCRIPTION_SIGNOUT)}</Text>\n\n <Button secondary wide onPress={handleOpen} testId=\"button-delete-account\">\n {translate(L10N.BUTTON_SIGNOUT)}\n </Button>\n\n <Modal title={translate(L10N.BUTTON_SIGNOUT)} visible={modal} onClose={handleClose}>\n <View className={style.modal}>\n {!response && <Text>{translate(L10N.DESCRIPTION_SIGNOUT_MODAL)}</Text>}\n\n {(response || responseError) && (\n <Notification\n large={!!response}\n error={!!responseError}\n success={!!response}\n className={style.notification}\n >\n {translate(responseError ? L10N.ERROR : L10N.SUCCESS_SIGNOUT)}\n {response && (\n <Text small className={style.description}>\n {translate(L10N.DESCRIPTION_SIGNOUT_MODAL_SUCCESS)}\n </Text>\n )}\n </Notification>\n )}\n\n {!response ? (\n <View wide className={style.buttons}>\n <Button busy={busy} wide onPress={handleSubmit}>\n {translate(L10N.CTA_SIGNOUT)}\n </Button>\n <Button disabled={busy} transparent wide onPress={handleClose} testId=\"button-delete-close\">\n {translate(L10N.ACTION_SIGNOUT_CANCEL)}\n </Button>\n </View>\n ) : null}\n </View>\n </Modal>\n </View>\n );\n};\n\nSignout.displayName = 'Mirai:Core:Profile:Signout';\n\nSignout.propTypes = {};\n\nexport { Signout };\n"],"names":["_dataSources","require","_locale","_services","_ui","_react","_interopRequireWildcard","_Settings","style","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","Signout","value","club","hotel","url","useStore","translate","useLocale","busy","setBusy","useState","modal","setModal","response","setResponse","responseError","setResponseError","handleSubmit","undefined","ServiceUser","signout","catch","error","handleClose","window","location","href","handleOpen","createElement","View","className","box","Text","bold","headline","L10N","TITLE_SIGNOUT","name","DESCRIPTION_SIGNOUT","Button","secondary","wide","onPress","testId","BUTTON_SIGNOUT","Modal","title","visible","onClose","DESCRIPTION_SIGNOUT_MODAL","Notification","large","success","notification","ERROR","SUCCESS_SIGNOUT","small","description","DESCRIPTION_SIGNOUT_MODAL_SUCCESS","buttons","CTA_SIGNOUT","disabled","transparent","ACTION_SIGNOUT_CANCEL","exports","displayName","propTypes"],"mappings":";;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAC,uBAAA,CAAAL,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,KAAA,GAAAF,uBAAA,CAAAL,OAAA;AAA+C,SAAAQ,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAJ,wBAAAI,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG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AK;IAACiC,IAAI;IAACC,OAAO,EAAEzB;EAAa,GAC5CX,SAAS,CAAC6B,cAAI,CAACyB,WAAW,CACrB,CAAC,eACTrF,MAAA,CAAAU,OAAA,CAAA2C,aAAA,CAACtD,GAAA,CAAAiE,MAAM;IAACsB,QAAQ,EAAErD,IAAK;IAACsD,WAAW;IAACrB,IAAI;IAACC,OAAO,EAAEnB,WAAY;IAACoB,MAAM,EAAC;EAAqB,GACxFrC,SAAS,CAAC6B,cAAI,CAAC4B,qBAAqB,CAC/B,CACJ,CAAC,GACL,IACA,CACD,CACH,CAAC;AAEX,CAAC;AAACC,OAAA,CAAAhE,OAAA,GAAAA,OAAA;AAEFA,OAAO,CAACiE,WAAW,GAAG,4BAA4B;AAElDjE,OAAO,CAACkE,SAAS,GAAG,CAAC,CAAC","debug_id":"66038c30-89c6-52b1-854d-c856f02c72f1"}
1
+ {"version":3,"file":"Settings.Signout.js","names":["_dataSources","require","_locale","_services","_ui","_react","_interopRequireWildcard","_Settings","style","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","Signout","value","club","hotel","url","useStore","translate","useLocale","busy","setBusy","useState","modal","setModal","response","setResponse","responseError","setResponseError","handleSubmit","undefined","ServiceUser","signout","catch","error","handleClose","window","location","href","handleOpen","createElement","View","className","box","Text","bold","headline","L10N","TITLE_SIGNOUT","name","DESCRIPTION_SIGNOUT","Button","secondary","wide","onPress","testId","BUTTON_SIGNOUT","Modal","title","visible","onClose","DESCRIPTION_SIGNOUT_MODAL","Notification","large","success","notification","ERROR","SUCCESS_SIGNOUT","small","description","DESCRIPTION_SIGNOUT_MODAL_SUCCESS","buttons","CTA_SIGNOUT","disabled","transparent","ACTION_SIGNOUT_CANCEL","exports","displayName","propTypes"],"sources":["../../../../../src/components/Profile/components/Settings/Settings.Signout.jsx"],"sourcesContent":["import { useStore } from '@mirai/data-sources';\nimport { useLocale } from '@mirai/locale';\nimport { ServiceUser } from '@mirai/services';\nimport { Button, Modal, Notification, Text, View } from '@mirai/ui';\nimport React, { useState } from 'react';\n\nimport { L10N } from './Settings.l10n';\nimport * as style from './Settings.module.css';\n\nconst Signout = () => {\n const {\n value: { club = {}, hotel: { url } = {} },\n } = useStore();\n const { translate } = useLocale();\n\n const [busy, setBusy] = useState(false);\n const [modal, setModal] = useState(false);\n const [response, setResponse] = useState();\n const [responseError, setResponseError] = useState();\n\n const handleSubmit = async () => {\n setBusy(true);\n setResponseError(undefined);\n\n const response = await ServiceUser.signout().catch((error) => {\n setResponseError(error);\n });\n\n setResponse(response);\n setBusy(false);\n };\n\n const handleClose = () => {\n if (!response) return setModal(false);\n\n window.location.href = url;\n };\n\n const handleOpen = () => {\n setModal(true);\n };\n\n return (\n <View className={style.box}>\n <Text bold headline>\n {translate(L10N.TITLE_SIGNOUT, { club: club.name })}\n </Text>\n <Text>{translate(L10N.DESCRIPTION_SIGNOUT)}</Text>\n\n <Button secondary wide onPress={handleOpen} testId=\"button-delete-account\">\n {translate(L10N.BUTTON_SIGNOUT)}\n </Button>\n\n <Modal title={translate(L10N.BUTTON_SIGNOUT)} visible={modal} onClose={handleClose}>\n <View className={style.modal}>\n {!response && <Text>{translate(L10N.DESCRIPTION_SIGNOUT_MODAL)}</Text>}\n\n {(response || responseError) && (\n <Notification\n large={!!response}\n error={!!responseError}\n success={!!response}\n className={style.notification}\n >\n {translate(responseError ? L10N.ERROR : L10N.SUCCESS_SIGNOUT)}\n {response && (\n <Text small className={style.description}>\n {translate(L10N.DESCRIPTION_SIGNOUT_MODAL_SUCCESS)}\n </Text>\n )}\n </Notification>\n )}\n\n {!response ? (\n <View wide className={style.buttons}>\n <Button busy={busy} wide onPress={handleSubmit}>\n {translate(L10N.CTA_SIGNOUT)}\n </Button>\n <Button disabled={busy} transparent wide onPress={handleClose} testId=\"button-delete-close\">\n {translate(L10N.ACTION_SIGNOUT_CANCEL)}\n </Button>\n </View>\n ) : null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GAAAA,OAAA;AAEFA,OAAO,CAACiE,WAAW,GAAG,4BAA4B;AAElDjE,OAAO,CAACkE,SAAS,GAAG,CAAC,CAAC"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2ce4cfd3-ff5e-56b5-90eb-47cc8406a424")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -23,5 +21,4 @@ const CONTEXTS = exports.CONTEXTS = [{
23
21
  icon: _helpers.ICON.LOCK,
24
22
  label: _Settings.L10N.LABEL_SECURITY
25
23
  }];
26
- //# sourceMappingURL=Settings.constants.js.map
27
- //# debugId=2ce4cfd3-ff5e-56b5-90eb-47cc8406a424
24
+ //# sourceMappingURL=Settings.constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.constants.js","sources":["../../../../../src/components/Profile/components/Settings/Settings.constants.js"],"sourcesContent":["import { L10N } from './Settings.l10n';\nimport { ICON } from '../../../helpers';\n\nconst ACCOUNT_FIELDS = ['firstName', 'lastName', 'dateOfBirth', 'subscribed'];\n\nconst CONTEXT = {\n ACCOUNT_DETAILS: 1,\n SECURITY: 2,\n SIGNOUT: 3,\n};\n\nconst CONTEXTS = [\n { id: CONTEXT.ACCOUNT_DETAILS, icon: ICON.PERSON, label: L10N.LABEL_PERSONAL_DETAILS },\n { id: CONTEXT.SECURITY, icon: ICON.LOCK, label: L10N.LABEL_SECURITY },\n];\n\nexport { ACCOUNT_FIELDS, CONTEXT, CONTEXTS };\n"],"names":["_Settings","require","_helpers","ACCOUNT_FIELDS","exports","CONTEXT","ACCOUNT_DETAILS","SECURITY","SIGNOUT","CONTEXTS","id","icon","ICON","PERSON","label","L10N","LABEL_PERSONAL_DETAILS","LOCK","LABEL_SECURITY"],"mappings":";;;;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAEA,MAAME,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG,CAAC,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,CAAC;AAE7E,MAAME,OAAO,GAAAD,OAAA,CAAAC,OAAA,GAAG;EACdC,eAAe,EAAE,CAAC;EAClBC,QAAQ,EAAE,CAAC;EACXC,OAAO,EAAE;AACX,CAAC;AAED,MAAMC,QAAQ,GAAAL,OAAA,CAAAK,QAAA,GAAG,CACf;EAAEC,EAAE,EAAEL,OAAO,CAACC,eAAe;EAAEK,IAAI,EAAEC,aAAI,CAACC,MAAM;EAAEC,KAAK,EAAEC,cAAI,CAACC;AAAuB,CAAC,EACtF;EAAEN,EAAE,EAAEL,OAAO,CAACE,QAAQ;EAAEI,IAAI,EAAEC,aAAI,CAACK,IAAI;EAAEH,KAAK,EAAEC,cAAI,CAACG;AAAe,CAAC,CACtE","debug_id":"2ce4cfd3-ff5e-56b5-90eb-47cc8406a424"}
1
+ {"version":3,"file":"Settings.constants.js","names":["_Settings","require","_helpers","ACCOUNT_FIELDS","exports","CONTEXT","ACCOUNT_DETAILS","SECURITY","SIGNOUT","CONTEXTS","id","icon","ICON","PERSON","label","L10N","LABEL_PERSONAL_DETAILS","LOCK","LABEL_SECURITY"],"sources":["../../../../../src/components/Profile/components/Settings/Settings.constants.js"],"sourcesContent":["import { L10N } from './Settings.l10n';\nimport { ICON } from '../../../helpers';\n\nconst ACCOUNT_FIELDS = ['firstName', 'lastName', 'dateOfBirth', 'subscribed'];\n\nconst CONTEXT = {\n ACCOUNT_DETAILS: 1,\n SECURITY: 2,\n SIGNOUT: 3,\n};\n\nconst CONTEXTS = [\n { id: CONTEXT.ACCOUNT_DETAILS, icon: ICON.PERSON, label: L10N.LABEL_PERSONAL_DETAILS },\n { id: CONTEXT.SECURITY, icon: ICON.LOCK, label: L10N.LABEL_SECURITY },\n];\n\nexport { ACCOUNT_FIELDS, CONTEXT, CONTEXTS };\n"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAEA,MAAME,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG,CAAC,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,CAAC;AAE7E,MAAME,OAAO,GAAAD,OAAA,CAAAC,OAAA,GAAG;EACdC,eAAe,EAAE,CAAC;EAClBC,QAAQ,EAAE,CAAC;EACXC,OAAO,EAAE;AACX,CAAC;AAED,MAAMC,QAAQ,GAAAL,OAAA,CAAAK,QAAA,GAAG,CACf;EAAEC,EAAE,EAAEL,OAAO,CAACC,eAAe;EAAEK,IAAI,EAAEC,aAAI,CAACC,MAAM;EAAEC,KAAK,EAAEC,cAAI,CAACC;AAAuB,CAAC,EACtF;EAAEN,EAAE,EAAEL,OAAO,CAACE,QAAQ;EAAEI,IAAI,EAAEC,aAAI,CAACK,IAAI;EAAEH,KAAK,EAAEC,cAAI,CAACG;AAAe,CAAC,CACtE"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e3bae82e-3560-5b0f-a0e4-d38749dfffbd")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -61,5 +59,4 @@ const Settings = () => {
61
59
  exports.Settings = Settings;
62
60
  Settings.displayName = 'Mirai:Core:Profile:Settings';
63
61
  Settings.propTypes = {};
64
- //# sourceMappingURL=Settings.js.map
65
- //# debugId=e3bae82e-3560-5b0f-a0e4-d38749dfffbd
62
+ //# sourceMappingURL=Settings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.js","sources":["../../../../../src/components/Profile/components/Settings/Settings.jsx"],"sourcesContent":["import { useLocale } from '@mirai/locale';\nimport { Icon, Pressable, styles, Text, useDevice, View } from '@mirai/ui';\nimport React, { useState } from 'react';\n\nimport { Account } from './Settings.Account';\nimport { CONTEXT, CONTEXTS } from './Settings.constants';\nimport * as style from './Settings.module.css';\nimport { Password } from './Settings.Password';\nimport { Signout } from './Settings.Signout';\n\nconst Settings = () => {\n const { isMobile } = useDevice();\n const { translate } = useLocale();\n\n const [context, setContext] = useState(CONTEXT.ACCOUNT_DETAILS);\n\n const { label } = CONTEXTS.find((item = {}) => item.id === context);\n\n return (\n <View row={!isMobile} className={style.settings}>\n <View className={style.menu}>\n {CONTEXTS.map(({ id, icon, label }) => (\n <Pressable\n key={id}\n onPress={() => setContext(id)}\n className={styles(style.option, context === id && style.active)}\n testId={`profile-context-${id}`}\n >\n <Icon value={icon} />\n <Text>{translate(label)}</Text>\n </Pressable>\n ))}\n </View>\n <View wide className={style.form}>\n <Text bold headline level={2}>\n {translate(label)}\n </Text>\n {context === CONTEXT.ACCOUNT_DETAILS && <Account />}\n {context === CONTEXT.SECURITY && (\n <>\n <Password />\n <Signout />\n </>\n )}\n </View>\n </View>\n );\n};\n\nSettings.displayName = 'Mirai:Core:Profile:Settings';\n\nSettings.propTypes = {};\n\nexport { Settings };\n"],"names":["_locale","require","_ui","_react","_interopRequireWildcard","_Settings","_Settings2","style","_Settings3","_Settings4","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","Settings","isMobile","useDevice","translate","useLocale","context","setContext","useState","CONTEXT","ACCOUNT_DETAILS","label","CONTEXTS","find","item","arguments","length","undefined","id","createElement","View","row","className","settings","menu","map","_ref","icon","Pressable","key","onPress","styles","option","active","testId","concat","Icon","value","Text","wide","form","bold","headline","level","Account","SECURITY","Fragment","Password","Signout","exports","displayName","propTypes"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,GAAA,GA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":3,"file":"Settings.js","names":["_locale","require","_ui","_react","_interopRequireWildcard","_Settings","_Settings2","style","_Settings3","_Settings4","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","Settings","isMobile","useDevice","translate","useLocale","context","setContext","useState","CONTEXT","ACCOUNT_DETAILS","label","CONTEXTS","find","item","arguments","length","undefined","id","createElement","View","row","className","settings","menu","map","_ref","icon","Pressable","key","onPress","styles","option","active","testId","concat","Icon","value","Text","wide","form","bold","headline","level","Account","SECURITY","Fragment","Password","Signout","exports","displayName","propTypes"],"sources":["../../../../../src/components/Profile/components/Settings/Settings.jsx"],"sourcesContent":["import { useLocale } from '@mirai/locale';\nimport { Icon, Pressable, styles, Text, useDevice, View } from '@mirai/ui';\nimport React, { useState } from 'react';\n\nimport { Account } from './Settings.Account';\nimport { CONTEXT, CONTEXTS } from './Settings.constants';\nimport * as style from './Settings.module.css';\nimport { Password } from './Settings.Password';\nimport { Signout } from './Settings.Signout';\n\nconst Settings = () => {\n const { isMobile } = useDevice();\n const { translate } = useLocale();\n\n const [context, setContext] = useState(CONTEXT.ACCOUNT_DETAILS);\n\n const { label } = CONTEXTS.find((item = {}) => item.id === context);\n\n return (\n <View row={!isMobile} className={style.settings}>\n <View className={style.menu}>\n {CONTEXTS.map(({ id, icon, label }) => (\n <Pressable\n key={id}\n onPress={() => setContext(id)}\n className={styles(style.option, context === id && style.active)}\n testId={`profile-context-${id}`}\n >\n <Icon value={icon} />\n <Text>{translate(label)}</Text>\n </Pressable>\n ))}\n </View>\n <View wide className={style.form}>\n <Text bold headline level={2}>\n {translate(label)}\n </Text>\n {context === CONTEXT.ACCOUNT_DETAILS && <Account />}\n {context === CONTEXT.SECURITY && (\n <>\n <Password />\n <Signout />\n </>\n )}\n </View>\n </View>\n );\n};\n\nSettings.displayName = 'Mirai:Core:Profile:Settings';\n\nSettings.propTypes = {};\n\nexport { Settings };\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AAG,CAAC,CAAC"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f179e2df-2f31-565c-b4b6-01d29c69f476")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -121,5 +119,4 @@ const L10N = exports.L10N = {
121
119
  defaultMessage: ' '
122
120
  }
123
121
  };
124
- //# sourceMappingURL=Settings.l10n.js.map
125
- //# debugId=f179e2df-2f31-565c-b4b6-01d29c69f476
122
+ //# sourceMappingURL=Settings.l10n.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.l10n.js","sources":["../../../../../src/components/Profile/components/Settings/Settings.l10n.js"],"sourcesContent":["export const L10N = {\n ACTION_SIGNOUT_CANCEL: { id: 'common.action.close' },\n\n BUTTON_SIGNOUT: { id: 'user.action.delete_account', defaultMessage: ' ' },\n\n COUNTRY_LABEL: { id: 'user.label.country', defaultMessage: ' ' },\n COUNTRY_PLACEHOLDER: { id: 'common.label.select' },\n CTA_SIGNOUT: { id: 'user.action.delete_account' },\n CTA_ACCOUNT: { id: 'user.action.save_info', defaultMessage: ' ' },\n CTA_PASSWORD: { id: 'user.action.save_password', defaultMessage: ' ' },\n CTA_SIGNUP: { id: 'user.action.signup_again' },\n\n DATEOFBIRTH_LABEL: { id: 'user.label.date_of_birth', defaultMessage: ' ' },\n DATEOFBIRTH_ERROR: { id: 'user.label.date_of_birth_error' },\n DESCRIPTION_ACCOUNT: { id: 'user.label.description_account', defaultMessage: ' ' },\n DESCRIPTION_PASSWORD: { id: 'user.label.description_password', defaultMessage: ' ' },\n DESCRIPTION_SIGNOUT: { id: 'user.label.description_delete_account', defaultMessage: ' ' },\n DESCRIPTION_SIGNOUT_MODAL: { id: 'user.label.modal_delete_account' },\n DESCRIPTION_SIGNOUT_MODAL_SUCCESS: { id: 'user.label.account_deleted' },\n\n EMAIL_LABEL: { id: 'common.label.email', defaultMessage: ' ' },\n\n FIRSTNAME_LABEL: { id: 'common.label.name', defaultMessage: ' ' },\n\n LASTNAME_LABEL: { id: 'common.label.lastname', defaultMessage: ' ' },\n\n PASSWORD_LABEL: { id: 'common.label.password', defaultMessage: ' ' },\n PASSWORD_HINT: { id: 'user.label.password_hint', defaultMessage: ' ' },\n PASSWORD_NEW_LABEL: { id: 'common.label.new_password', defaultMessage: ' ' },\n PASSWORD_NEW_CONFIRM_LABEL: { id: 'user.label.confirm_new_password', defaultMessage: ' ' },\n\n SUBSCRIBED_LABEL: { id: 'user.label.subscribe', defaultMessage: ' ' },\n\n TITLE_SIGNOUT: { id: 'user.label.delete_account', defaultMessage: ' ' },\n\n // Notifications\n SUCCESS_ACCOUNT: { id: 'user.notification.update_success' },\n SUCCESS_PASSWORD: { id: 'user.notification.update_password_success' },\n SUCCESS_SIGNOUT: { id: 'user.notification.delete_account_success' },\n\n ERROR: { id: 'common.notification.network_error' },\n ERROR_PASSWORD: { id: 'common.notification.password_error' },\n\n LABEL_PERSONAL_DETAILS: { id: 'user.label.personal_details', defaultMessage: ' ' },\n LABEL_SECURITY: { id: 'user.label.security', defaultMessage: ' ' },\n};\n"],"names":["L10N","exports","ACTION_SIGNOUT_CANCEL","id","BUTTON_SIGNOUT","defaultMessage","COUNTRY_LABEL","COUNTRY_PLACEHOLDER","CTA_SIGNOUT","CTA_ACCOUNT","CTA_PASSWORD","CTA_SIGNUP","DATEOFBIRTH_LABEL","DATEOFBIRTH_ERROR","DESCRIPTION_ACCOUNT","DESCRIPTION_PASSWORD","DESCRIPTION_SIGNOUT","DESCRIPTION_SIGNOUT_MODAL","DESCRIPTION_SIGNOUT_MODAL_SUCCESS","EMAIL_LABEL","FIRSTNAME_LABEL","LASTNAME_LABEL","PASSWORD_LABEL","PASSWORD_HINT","PASSWORD_NEW_LABEL","PASSWORD_NEW_CONFIRM_LABE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":3,"file":"Settings.l10n.js","names":["L10N","exports","ACTION_SIGNOUT_CANCEL","id","BUTTON_SIGNOUT","defaultMessage","COUNTRY_LABEL","COUNTRY_PLACEHOLDER","CTA_SIGNOUT","CTA_ACCOUNT","CTA_PASSWORD","CTA_SIGNUP","DATEOFBIRTH_LABEL","DATEOFBIRTH_ERROR","DESCRIPTION_ACCOUNT","DESCRIPTION_PASSWORD","DESCRIPTION_SIGNOUT","DESCRIPTION_SIGNOUT_MODAL","DESCRIPTION_SIGNOUT_MODAL_SUCCESS","EMAIL_LABEL","FIRSTNAME_LABEL","LASTNAME_LABEL","PASSWORD_LABEL","PASSWORD_HINT","PASSWORD_NEW_LABEL","PASSWORD_NEW_CONFIRM_LABEL","SUBSCRIBED_LABEL","TITLE_SIGNOUT","SUCCESS_ACCOUNT","SUCCESS_PASSWORD","SUCCESS_SIGNOUT","ERROR","ERROR_PASSWORD","LABEL_PERSONAL_DETAILS","LABEL_SECURITY"],"sources":["../../../../../src/components/Profile/components/Settings/Settings.l10n.js"],"sourcesContent":["export const L10N = {\n ACTION_SIGNOUT_CANCEL: { id: 'common.action.close' },\n\n BUTTON_SIGNOUT: { id: 'user.action.delete_account', defaultMessage: ' ' },\n\n COUNTRY_LABEL: { id: 'user.label.country', defaultMessage: ' ' },\n COUNTRY_PLACEHOLDER: { id: 'common.label.select' },\n CTA_SIGNOUT: { id: 'user.action.delete_account' },\n CTA_ACCOUNT: { id: 'user.action.save_info', defaultMessage: ' ' },\n CTA_PASSWORD: { id: 'user.action.save_password', defaultMessage: ' ' },\n CTA_SIGNUP: { id: 'user.action.signup_again' },\n\n DATEOFBIRTH_LABEL: { id: 'user.label.date_of_birth', defaultMessage: ' ' },\n DATEOFBIRTH_ERROR: { id: 'user.label.date_of_birth_error' },\n DESCRIPTION_ACCOUNT: { id: 'user.label.description_account', defaultMessage: ' ' },\n DESCRIPTION_PASSWORD: { id: 'user.label.description_password', defaultMessage: ' ' },\n DESCRIPTION_SIGNOUT: { id: 'user.label.description_delete_account', defaultMessage: ' ' },\n DESCRIPTION_SIGNOUT_MODAL: { id: 'user.label.modal_delete_account' },\n DESCRIPTION_SIGNOUT_MODAL_SUCCESS: { id: 'user.label.account_deleted' },\n\n EMAIL_LABEL: { id: 'common.label.email', defaultMessage: ' ' },\n\n FIRSTNAME_LABEL: { id: 'common.label.name', defaultMessage: ' ' },\n\n LASTNAME_LABEL: { id: 'common.label.lastname', defaultMessage: ' ' },\n\n PASSWORD_LABEL: { id: 'common.label.password', defaultMessage: ' ' },\n PASSWORD_HINT: { id: 'user.label.password_hint', defaultMessage: ' ' },\n PASSWORD_NEW_LABEL: { id: 'common.label.new_password', defaultMessage: ' ' },\n PASSWORD_NEW_CONFIRM_LABEL: { id: 'user.label.confirm_new_password', defaultMessage: ' ' },\n\n SUBSCRIBED_LABEL: { id: 'user.label.subscribe', defaultMessage: ' ' },\n\n TITLE_SIGNOUT: { id: 'user.label.delete_account', defaultMessage: ' ' },\n\n // Notifications\n SUCCESS_ACCOUNT: { id: 'user.notification.update_success' },\n SUCCESS_PASSWORD: { id: 'user.notification.update_password_success' },\n SUCCESS_SIGNOUT: { id: 'user.notification.delete_account_success' },\n\n ERROR: { id: 'common.notification.network_error' },\n ERROR_PASSWORD: { id: 'common.notification.password_error' },\n\n LABEL_PERSONAL_DETAILS: { id: 'user.label.personal_details', defaultMessage: ' ' },\n LABEL_SECURITY: { id: 'user.label.security', defaultMessage: ' ' },\n};\n"],"mappings":";;;;;;AAAO,MAAMA,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,qBAAqB,EAAE;IAAEC,EAAE,EAAE;EAAsB,CAAC;EAEpDC,cAAc,EAAE;IAAED,EAAE,EAAE,4BAA4B;IAAEE,cAAc,EAAE;EAAI,CAAC;EAEzEC,aAAa,EAAE;IAAEH,EAAE,EAAE,oBAAoB;IAAEE,cAAc,EAAE;EAAI,CAAC;EAChEE,mBAAmB,EAAE;IAAEJ,EAAE,EAAE;EAAsB,CAAC;E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;EAC5EoB,0BAA0B,EAAE;IAAEtB,EAAE,EAAE,iCAAiC;IAAEE,cAAc,EAAE;EAAI,CAAC;EAE1FqB,gBAAgB,EAAE;IAAEvB,EAAE,EAAE,sBAAsB;IAAEE,cAAc,EAAE;EAAI,CAAC;EAErEsB,aAAa,EAAE;IAAExB,EAAE,EAAE,2BAA2B;IAAEE,cAAc,EAAE;EAAI,CAAC;EAEvE;EACAuB,eAAe,EAAE;IAAEzB,EAAE,EAAE;EAAmC,CAAC;EAC3D0B,gBAAgB,EAAE;IAAE1B,EAAE,EAAE;EAA4C,CAAC;EACrE2B,eAAe,EAAE;IAAE3B,EAAE,EAAE;EAA2C,CAAC;EAEnE4B,KAAK,EAAE;IAAE5B,EAAE,EAAE;EAAoC,CAAC;EAClD6B,cAAc,EAAE;IAAE7B,EAAE,EAAE;EAAqC,CAAC;EAE5D8B,sBAAsB,EAAE;IAAE9B,EAAE,EAAE,6BAA6B;IAAEE,cAAc,EAAE;EAAI,CAAC;EAClF6B,cAAc,EAAE;IAAE/B,EAAE,EAAE,qBAAqB;IAAEE,cAAc,EAAE;EAAI;AACnE,CAAC"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="990c0e77-9058-5d4c-9c91-f93553e27a73")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -16,5 +14,4 @@ Object.keys(_Settings).forEach(function (key) {
16
14
  }
17
15
  });
18
16
  });
19
- //# sourceMappingURL=index.js.map
20
- //# debugId=990c0e77-9058-5d4c-9c91-f93553e27a73
17
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../src/components/Profile/components/Settings/index.js"],"sourcesContent":["export * from './Settings';\n"],"names":["_Settings","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"mappings":";;;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","debug_id":"990c0e77-9058-5d4c-9c91-f93553e27a73"}
1
+ {"version":3,"file":"index.js","names":["_Settings","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../../../../src/components/Profile/components/Settings/index.js"],"sourcesContent":["export * from './Settings';\n"],"mappings":";;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="df85a0a6-c0b8-56e9-ba46-7668fcae9c16")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -27,5 +25,4 @@ Object.keys(_Settings).forEach(function (key) {
27
25
  }
28
26
  });
29
27
  });
30
- //# sourceMappingURL=index.js.map
31
- //# debugId=df85a0a6-c0b8-56e9-ba46-7668fcae9c16
28
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/Profile/components/index.js"],"sourcesContent":["export * from './Bookings';\nexport * from './Settings';\n"],"names":["_Bookings","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_Settings"],"mappings":";;;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,SAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,SAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,SAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,SAAA,CAAAL,GAAA;IAAA;EAAA;AAAA","debug_id":"df85a0a6-c0b8-56e9-ba46-7668fcae9c16"}
1
+ {"version":3,"file":"index.js","names":["_Bookings","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_Settings"],"sources":["../../../../src/components/Profile/components/index.js"],"sourcesContent":["export * from './Bookings';\nexport * from './Settings';\n"],"mappings":";;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,SAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,SAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,SAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,SAAA,CAAAL,GAAA;IAAA;EAAA;AAAA"}