@revolugo/elements 5.5.3 → 5.5.4-beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. package/dist/css/fonts.css +1 -0
  2. package/dist/css/revolugo.bdaterangepicker.DEh20utH.css +1 -0
  3. package/dist/css/revolugo.bhotelroomsdetails.4XsxkvH7.css +1 -0
  4. package/dist/css/revolugo.bhotelsearchbar.dwYB1gUC.css +1 -0
  5. package/dist/css/revolugo.bookingdetailssidebar.tDtXpaIj.css +1 -0
  6. package/dist/css/revolugo.bphoneinput.Kq_-XiGI.css +1 -0
  7. package/dist/css/revolugo.bstarrating.nzH7iii4.css +1 -0
  8. package/dist/css/revolugo.btag.Bdbqb_8a.css +1 -0
  9. package/dist/css/revolugo.common.BSIsYREh.css +1 -0
  10. package/dist/css/revolugo.creditcardform.BGPUxkRC.css +1 -0
  11. package/dist/css/revolugo.creditcardpayment.0MNnDloZ.css +1 -0
  12. package/dist/css/revolugo.currencypicker.BRYsKdMu.css +1 -0
  13. package/dist/css/revolugo.fullbookingflow.BHV7_MhK.css +1 -0
  14. package/dist/css/revolugo.hotel-offer.CEd50mBT.css +1 -0
  15. package/dist/css/revolugo.hoteldescriptionview.9ofE1uWG.css +1 -0
  16. package/dist/css/revolugo.hoteloffersmap.0LnWfOu_.css +1 -0
  17. package/dist/css/revolugo.hoteloffersview.MWOmwEwv.css +1 -0
  18. package/dist/css/revolugo.hotelroomofferlist.xJfKaofV.css +1 -0
  19. package/dist/css/revolugo.hotelroomoffersbookingflow.PPEIqHuM.css +1 -0
  20. package/dist/css/revolugo.hotelroomoffersview.B8Y-2QYc.css +1 -0
  21. package/dist/css/revolugo.index.BMkl7a3p.css +1 -0
  22. package/dist/css/revolugo.index.CFW4Oklv.css +1 -0
  23. package/dist/css/revolugo.index.vq4xksqn.css +1 -0
  24. package/dist/css/revolugo.langpicker.B3TsOwUq.css +1 -0
  25. package/dist/css/revolugo.parsed-height.Xzhpy3D3.css +1 -0
  26. package/dist/css/revolugo.parsed-props.C3kOvm7T.css +1 -0
  27. package/dist/css/revolugo.prebookform.DBm2B4rS.css +1 -0
  28. package/dist/css/revolugo.revolugo-config.Dg8v1l3c.css +5 -0
  29. package/dist/css/revolugo.storybooktoolbar.CVnww0dZ.css +1 -0
  30. package/dist/css/revolugo.termsandconditions.DV2YnGzG.css +1 -0
  31. package/dist/css/revolugo.valert.BzcMswjJ.css +1 -0
  32. package/dist/css/revolugo.vautocomplete.OMX_yAge.css +1 -0
  33. package/dist/css/revolugo.vbadge.CiK_DSkI.css +1 -0
  34. package/dist/css/revolugo.vbtn.By46MJOU.css +1 -0
  35. package/dist/css/revolugo.vcard.DmB53ZNL.css +1 -0
  36. package/dist/css/revolugo.vchip.BdAdP6lC.css +1 -0
  37. package/dist/css/revolugo.vdialog.C02Cvwul.css +1 -0
  38. package/dist/css/revolugo.vexpansionpanelheader.B2eKo8Lo.css +1 -0
  39. package/dist/css/revolugo.vinput.SfhpXNi0.css +1 -0
  40. package/dist/css/revolugo.vitemgroup.EbHsz8Rr.css +1 -0
  41. package/dist/css/revolugo.vlistitem.BzwNE1YK.css +1 -0
  42. package/dist/css/revolugo.vmenu.BKE0IO4q.css +1 -0
  43. package/dist/css/revolugo.vselect.DljSkk6y.css +1 -0
  44. package/dist/css/revolugo.vsheet.Dtdo2Rps.css +1 -0
  45. package/dist/css/revolugo.vskeletonloader.BpGoaAbZ.css +1 -0
  46. package/dist/css/revolugo.vslidegroup.D5TIbmaw.css +1 -0
  47. package/dist/css/revolugo.vsnackbar.DTAXPYkr.css +1 -0
  48. package/dist/css/revolugo.vtextfield.BliJY6uv.css +1 -0
  49. package/dist/css/revolugo.vtoolbar.DQsezjcM.css +1 -0
  50. package/dist/css/revolugo.vtooltip.B_oOB9pj.css +1 -0
  51. package/dist/css/revolugo.vuetify.BpIoHlAi.css +1 -0
  52. package/dist/css/revolugo.webcomponentwrapper.BRZRuwZ0.css +1 -0
  53. package/dist/index.es.min.js +14187 -0
  54. package/dist/index.es.min.js.map +1 -0
  55. package/dist/index.min.js +65 -1
  56. package/dist/index.min.js.map +1 -0
  57. package/dist/revolugo.banktransferdetails.CbUr_kHV.min.js +105 -0
  58. package/dist/revolugo.bbreakfastoptionbadge.DND6bz7J.min.js +62 -0
  59. package/dist/revolugo.bdaterangepicker.DwXWu7y_.min.js +1351 -0
  60. package/dist/revolugo.bformattedamount.D4xCyTcv.min.js +82 -0
  61. package/dist/revolugo.bhotelroomsdetails.8yoNt-KM.min.js +213 -0
  62. package/dist/revolugo.bhotelsearchbar.Dm84Zzn5.min.js +446 -0
  63. package/dist/revolugo.booking-api-client.Du5goV4n.min.js +7672 -0
  64. package/dist/revolugo.bookingdetailssidebar.AR2t6BHt.min.js +28 -0
  65. package/dist/revolugo.bookingdetailssidebar.DY-YF6-6.min.js +242 -0
  66. package/dist/revolugo.bookingmanager.KlY3kOLa.min.js +404 -0
  67. package/dist/revolugo.bphoneinput.Qc_UlGIL.min.js +1935 -0
  68. package/dist/revolugo.bpricesummaryskeleton.BAzD7raP.min.js +47 -0
  69. package/dist/revolugo.breakpoint-service.CwWRBzMQ.min.js +65 -0
  70. package/dist/revolugo.bstarrating.B-PUaeDZ.min.js +173 -0
  71. package/dist/revolugo.btag.DD6eI8G4.min.js +68 -0
  72. package/dist/revolugo.cancellationpoliciesbadge.BTwUNf7h.min.js +76 -0
  73. package/dist/revolugo.cancellationpoliciesbadge.DA_X-aEr.min.js +28 -0
  74. package/dist/revolugo.cancellationpolicieslist.BweNL3Zh.min.js +316 -0
  75. package/dist/revolugo.cancellationpolicieslist.XF-OE6mm.min.js +28 -0
  76. package/dist/revolugo.common.D4pnatuu.min.js +34 -0
  77. package/dist/revolugo.creditcardform.B0ZACL31.min.js +28 -0
  78. package/dist/revolugo.creditcardform.Bmpk72uW.min.js +2047 -0
  79. package/dist/revolugo.creditcardpayment.DDAlWRp0.min.js +28 -0
  80. package/dist/revolugo.creditcardpayment.Dnr2WHEp.min.js +288 -0
  81. package/dist/revolugo.currencypicker.BxCxn4FE.min.js +122 -0
  82. package/dist/revolugo.currencypickerbtn.D8fIyw_x.min.js +121 -0
  83. package/dist/revolugo.currencypickerbtn.DoEdhphF.min.js +28 -0
  84. package/dist/revolugo.dialog-attach.05NirMLv.min.js +27 -0
  85. package/dist/revolugo.en-us.BP-UxrRq.min.js +1171 -0
  86. package/dist/revolugo.event-bus.CYLYgD3Y.min.js +37 -0
  87. package/dist/revolugo.fastbookingflow.BJmesPRr.min.js +28 -0
  88. package/dist/revolugo.fr-fr.CF_knN5b.min.js +1177 -0
  89. package/dist/revolugo.fullbookingflow.CBjvuZLP.min.js +239 -0
  90. package/dist/revolugo.hotel-offer.JfkzuZyf.min.js +608 -0
  91. package/dist/revolugo.hoteldescriptionview.C9XjZcdv.min.js +2174 -0
  92. package/dist/revolugo.hoteldescriptionview.wVex0D_a.min.js +28 -0
  93. package/dist/revolugo.hotelofferitemlayout.BrulX_X4.min.js +64 -0
  94. package/dist/revolugo.hotelofferlist.CcITpxz4.min.js +28 -0
  95. package/dist/revolugo.hotelofferlist.DJ8B6BpP.min.js +3450 -0
  96. package/dist/revolugo.hotelofferrequestcreator.CiNpCqiH.min.js +225 -0
  97. package/dist/revolugo.hoteloffersearchmenu.CnVV4htq.min.js +54 -0
  98. package/dist/revolugo.hoteloffersmap.C1N5EZ0d.min.js +28 -0
  99. package/dist/revolugo.hoteloffersmap.gHrmWy8H.min.js +8737 -0
  100. package/dist/revolugo.hoteloffersview.BCvASsRk.min.js +157 -0
  101. package/dist/revolugo.hoteloffersview.DfbOUEie.min.js +28 -0
  102. package/dist/revolugo.hotelroomofferlist.BS32D6Sj.min.js +28 -0
  103. package/dist/revolugo.hotelroomofferlist.BltT6U-0.min.js +1336 -0
  104. package/dist/revolugo.hotelroomofferrequestcreator.CbISsNdn.min.js +225 -0
  105. package/dist/revolugo.hotelroomoffersbookingflow.BuMF7NU2.min.js +679 -0
  106. package/dist/revolugo.hotelroomoffersearchmenu.Bsg_FnJp.min.js +29 -0
  107. package/dist/revolugo.hotelroomoffersearchmenu.DqVQ1oKf.min.js +38 -0
  108. package/dist/revolugo.hotelroomoffersview.4NC1efEJ.min.js +124 -0
  109. package/dist/revolugo.hotelroomoffersview.DfmNWUJQ.min.js +28 -0
  110. package/dist/revolugo.i18n.DF3U6VhD.min.js +11263 -0
  111. package/dist/revolugo.index.A8BtC3Nq.min.js +322 -0
  112. package/dist/revolugo.index.BEcLuOn-.min.js +281 -0
  113. package/dist/revolugo.index.BUUmIL9V.min.js +68 -0
  114. package/dist/revolugo.index.BwvidmNu.min.js +128 -0
  115. package/dist/revolugo.index.CQC_pZJn.min.js +15 -0
  116. package/dist/revolugo.index.CcRooNT6.min.js +270 -0
  117. package/dist/revolugo.index.Cn5YTzy6.min.js +43 -0
  118. package/dist/revolugo.index.Cn8GgIte.min.js +142 -0
  119. package/dist/revolugo.index.DTZNxZHf.min.js +9 -0
  120. package/dist/revolugo.index.DfBSjbYu.min.js +42 -0
  121. package/dist/revolugo.index.GdvjICDR.min.js +13 -0
  122. package/dist/revolugo.index.owaXEEBO.min.js +9 -0
  123. package/dist/revolugo.index.sTY3URQu.min.js +390 -0
  124. package/dist/revolugo.index.tY8MFB9m.min.js +161 -0
  125. package/dist/revolugo.langpicker.yr7wtnZM.min.js +103 -0
  126. package/dist/revolugo.langpickerbtn.4XN3tTRs.min.js +28 -0
  127. package/dist/revolugo.langpickerbtn.BHhYWwCD.min.js +111 -0
  128. package/dist/revolugo.localizedformat.Wox_NThB.min.js +47 -0
  129. package/dist/revolugo.min.js +260 -7
  130. package/dist/revolugo.parsed-height.DRzHRmIo.min.js +2492 -0
  131. package/dist/revolugo.parsed-props.B_x1Ob04.min.js +95 -0
  132. package/dist/revolugo.prebookform.CtTKl-QM.min.js +483 -0
  133. package/dist/revolugo.prebookform.DMX0_9De.min.js +28 -0
  134. package/dist/revolugo.revolugo-config.Bs_HF2Eu.min.js +1707 -0
  135. package/dist/revolugo.roominglisteditor.BpdFoplV.min.js +201 -0
  136. package/dist/revolugo.roominglisteditor.DxmH3gRW.min.js +28 -0
  137. package/dist/revolugo.sentry.Bc7mnscp.min.js +12146 -0
  138. package/dist/revolugo.store.DPvvq0Rz.min.js +1718 -0
  139. package/dist/revolugo.storybooktoolbar.C_y4Nf-_.min.js +300 -0
  140. package/dist/revolugo.termsandconditions.BIHsJaCg.min.js +27 -0
  141. package/dist/revolugo.termsandconditions.D2C1eZuC.min.js +162 -0
  142. package/dist/revolugo.typed-mixins.B_7wrdes.min.js +8 -0
  143. package/dist/revolugo.valert.CMzvSBzo.min.js +194 -0
  144. package/dist/revolugo.vautocomplete.C-5OLCEj.min.js +255 -0
  145. package/dist/revolugo.vbadge.xQq9jf9W.min.js +172 -0
  146. package/dist/revolugo.vbtn.CP4AezmI.min.js +286 -0
  147. package/dist/revolugo.vcard.Cy5A2_pV.min.js +80 -0
  148. package/dist/revolugo.vchip.BcIMSmkF.min.js +157 -0
  149. package/dist/revolugo.vdialog.BAexO59W.min.js +341 -0
  150. package/dist/revolugo.vexpansionpanelheader.D9ENep1_.min.js +263 -0
  151. package/dist/revolugo.vform.oeljK9Tu.min.js +98 -0
  152. package/dist/revolugo.vinput.CDpcVlCU.min.js +509 -0
  153. package/dist/revolugo.vitemgroup.DyY_3pfW.min.js +168 -0
  154. package/dist/revolugo.vlistitem.CrJxrMpP.min.js +204 -0
  155. package/dist/revolugo.vmenu.CtMz9t6s.min.js +349 -0
  156. package/dist/revolugo.vselect.UcLk_jBF.min.js +859 -0
  157. package/dist/revolugo.vsheet.C1tyLBBd.min.js +120 -0
  158. package/dist/revolugo.vskeletonloader.CMMMMGzf.min.js +172 -0
  159. package/dist/revolugo.vslidegroup.BXF0FLd1.min.js +650 -0
  160. package/dist/revolugo.vsnackbar.xIK_rBpB.min.js +178 -0
  161. package/dist/revolugo.vtextfield.D2qOTbGQ.min.js +438 -0
  162. package/dist/revolugo.vtoolbar.D3HhuFrj.min.js +364 -0
  163. package/dist/revolugo.vtooltip.B7xN8tzo.min.js +168 -0
  164. package/dist/revolugo.vuetify.yojzDMFk.min.js +865 -0
  165. package/dist/revolugo.watch-list.cR2ZEwBA.min.js +44 -0
  166. package/dist/revolugo.webcomponentwrapper.-wnE6sKX.min.js +777 -0
  167. package/package.json +25 -32
  168. package/dist/css/revolugo.0.min.css +0 -5
  169. package/dist/css/revolugo.1.min.css +0 -1
  170. package/dist/css/revolugo.11.min.css +0 -1
  171. package/dist/css/revolugo.12.min.css +0 -1
  172. package/dist/css/revolugo.13.min.css +0 -1
  173. package/dist/css/revolugo.14.min.css +0 -1
  174. package/dist/css/revolugo.15.min.css +0 -1
  175. package/dist/css/revolugo.16.min.css +0 -1
  176. package/dist/css/revolugo.17.min.css +0 -1
  177. package/dist/css/revolugo.18.min.css +0 -1
  178. package/dist/css/revolugo.19.min.css +0 -1
  179. package/dist/css/revolugo.2.min.css +0 -1
  180. package/dist/css/revolugo.20.min.css +0 -1
  181. package/dist/css/revolugo.21.min.css +0 -1
  182. package/dist/css/revolugo.22.min.css +0 -1
  183. package/dist/css/revolugo.23.min.css +0 -1
  184. package/dist/css/revolugo.24.min.css +0 -1
  185. package/dist/css/revolugo.25.min.css +0 -1
  186. package/dist/css/revolugo.26.min.css +0 -1
  187. package/dist/css/revolugo.27.min.css +0 -1
  188. package/dist/css/revolugo.28.min.css +0 -1
  189. package/dist/css/revolugo.29.min.css +0 -1
  190. package/dist/css/revolugo.30.min.css +0 -1
  191. package/dist/css/revolugo.31.min.css +0 -1
  192. package/dist/css/revolugo.32.min.css +0 -1
  193. package/dist/css/revolugo.33.min.css +0 -1
  194. package/dist/css/revolugo.34.min.css +0 -1
  195. package/dist/css/revolugo.4.min.css +0 -1
  196. package/dist/css/revolugo.5.min.css +0 -1
  197. package/dist/css/revolugo.6.min.css +0 -1
  198. package/dist/css/revolugo.7.min.css +0 -1
  199. package/dist/css/revolugo.fonts.min.css +0 -1
  200. package/dist/fonts/amenities.2aad1d12.woff +0 -0
  201. package/dist/fonts/amenities.9adae269.ttf +0 -0
  202. package/dist/fonts/amenities.a9bf50f8.svg +0 -42
  203. package/dist/fonts/amenities.bd6b3a4a.eot +0 -0
  204. package/dist/fonts/beds.2b8e38c8.svg +0 -12
  205. package/dist/img/apst.c1092975.png +0 -0
  206. package/dist/img/apst.ec7669f2.png +0 -0
  207. package/dist/img/atout-france.72107e30.png +0 -0
  208. package/dist/img/atout-france.df038f22.png +0 -0
  209. package/dist/img/revolugo.179c459d.png +0 -0
  210. package/dist/img/revolugo.e0879dcc.png +0 -0
  211. package/dist/img/stripe.405543e2.png +0 -0
  212. package/dist/img/stripe.c3e16f9f.png +0 -0
  213. package/dist/revolugo.0.min.js +0 -18
  214. package/dist/revolugo.1.min.js +0 -1
  215. package/dist/revolugo.11.min.js +0 -134
  216. package/dist/revolugo.12.min.js +0 -19
  217. package/dist/revolugo.13.min.js +0 -14
  218. package/dist/revolugo.14.min.js +0 -19
  219. package/dist/revolugo.15.min.js +0 -139
  220. package/dist/revolugo.16.min.js +0 -14
  221. package/dist/revolugo.17.min.js +0 -14
  222. package/dist/revolugo.18.min.js +0 -1
  223. package/dist/revolugo.19.min.js +0 -1
  224. package/dist/revolugo.2.min.js +0 -1
  225. package/dist/revolugo.20.min.js +0 -1
  226. package/dist/revolugo.21.min.js +0 -116
  227. package/dist/revolugo.22.min.js +0 -1
  228. package/dist/revolugo.23.min.js +0 -1
  229. package/dist/revolugo.24.min.js +0 -1
  230. package/dist/revolugo.25.min.js +0 -1
  231. package/dist/revolugo.26.min.js +0 -1
  232. package/dist/revolugo.27.min.js +0 -1
  233. package/dist/revolugo.28.min.js +0 -116
  234. package/dist/revolugo.29.min.js +0 -1
  235. package/dist/revolugo.30.min.js +0 -1
  236. package/dist/revolugo.31.min.js +0 -1
  237. package/dist/revolugo.32.min.js +0 -1
  238. package/dist/revolugo.33.min.js +0 -1
  239. package/dist/revolugo.34.min.js +0 -1
  240. package/dist/revolugo.35.min.js +0 -1
  241. package/dist/revolugo.36.min.js +0 -1
  242. package/dist/revolugo.4.min.js +0 -1
  243. package/dist/revolugo.5.min.js +0 -1
  244. package/dist/revolugo.6.min.js +0 -1
  245. package/dist/revolugo.7.min.js +0 -1
  246. package/dist/revolugo.en-US.min.js +0 -1
  247. package/dist/revolugo.fonts.min.js +0 -1
  248. package/dist/revolugo.fr-FR.min.js +0 -1
@@ -0,0 +1,2174 @@
1
+ import { E as re } from "./revolugo.revolugo-config.Bs_HF2Eu.min.js";
2
+ import { V as U, A as se, k as ie, T as oe, y as ae, R as pt, m as le, U as ce, e as ue, W as pe } from "./revolugo.i18n.DF3U6VhD.min.js";
3
+ import { b as At } from "./revolugo.breakpoint-service.CwWRBzMQ.min.js";
4
+ import { t as de } from "./revolugo.typed-mixins.B_7wrdes.min.js";
5
+ import { l as F, n as $, _, a as m, B as fe } from "./revolugo.webcomponentwrapper.-wnE6sKX.min.js";
6
+ import { _ as x } from "./revolugo.vskeletonloader.CMMMMGzf.min.js";
7
+ import { _ as k } from "./revolugo.vcard.Cy5A2_pV.min.js";
8
+ import { V as T } from "./revolugo.index.owaXEEBO.min.js";
9
+ import { C as he, a as me } from "./revolugo.currencypickerbtn.D8fIyw_x.min.js";
10
+ import { L as ye, a as _e } from "./revolugo.langpickerbtn.BHhYWwCD.min.js";
11
+ import { _ as ge } from "./revolugo.vmenu.CtMz9t6s.min.js";
12
+ import { _ as it } from "./revolugo.vbtn.CP4AezmI.min.js";
13
+ import { _ as be } from "./revolugo.langpicker.yr7wtnZM.min.js";
14
+ import { a as Pt } from "./revolugo.vtoolbar.D3HhuFrj.min.js";
15
+ import { _ as C } from "./revolugo.index.sTY3URQu.min.js";
16
+ import { a as we, B as xe, m as Se } from "./revolugo.hotel-offer.JfkzuZyf.min.js";
17
+ import { _ as K } from "./revolugo.vtooltip.B7xN8tzo.min.js";
18
+ import { _ as Ee } from "./revolugo.vbadge.xQq9jf9W.min.js";
19
+ import { a as Ce, b as ve, B as ke } from "./revolugo.bstarrating.B-PUaeDZ.min.js";
20
+ import { p as Re, _ as gt } from "./revolugo.parsed-props.B_x1Ob04.min.js";
21
+ import { w as Te } from "./revolugo.watch-list.cR2ZEwBA.min.js";
22
+ /* empty css */
23
+ import { _ as Oe, a as Ae, b as Pe, c as Ne } from "./revolugo.vexpansionpanelheader.D9ENep1_.min.js";
24
+ import { _ as Le } from "./revolugo.vsnackbar.xIK_rBpB.min.js";
25
+ function ne(n) {
26
+ try {
27
+ if (typeof document < "u") {
28
+ window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
29
+ sheets: [],
30
+ components: []
31
+ };
32
+ const t = import.meta.url, e = t.slice(0, t.lastIndexOf("/") + 1) + n;
33
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(e);
34
+ for (const r of REVOLUGO_ELEMENTS_STYLES.components)
35
+ r(e);
36
+ if (n.indexOf("fonts") >= 0) {
37
+ const r = document.createElement("link");
38
+ r.rel = "stylesheet", linK.href = e, document.head.appendChild(r);
39
+ }
40
+ }
41
+ } catch (t) {
42
+ console.error("[revolugo-elements] ", t);
43
+ }
44
+ }
45
+ const De = {
46
+ venueTravelTimes: {
47
+ type: Array
48
+ }
49
+ }, $e = U.extend({
50
+ mixins: [F("components/ui/BTravelTimes")],
51
+ props: De,
52
+ computed: {
53
+ formattedTravelTimes() {
54
+ var e, r;
55
+ const n = (r = (e = this.venueTravelTimes) == null ? void 0 : e[0]) == null ? void 0 : r.travelTimes;
56
+ if (!n)
57
+ return;
58
+ const t = [];
59
+ return n.walking && n.walking < 3600 && t.push({
60
+ icon: "fa-person-walking",
61
+ name: "walking",
62
+ time: n.walking
63
+ }), n.transit && t.push({
64
+ icon: "fa-subway",
65
+ name: "transit",
66
+ time: n.transit
67
+ }), n.driving && t.push({
68
+ icon: "fa-car",
69
+ name: "driving",
70
+ time: n.driving
71
+ }), t;
72
+ }
73
+ },
74
+ methods: {
75
+ formatTravelTime(n) {
76
+ const t = Math.floor(n / 3600), e = Math.round(n % 3600 / 60);
77
+ return e === 0 && t === 0 ? "1min" : t === 0 ? `${e}min` : `${t}h ${e}min`;
78
+ }
79
+ }
80
+ });
81
+ var Be = function() {
82
+ var t = this, e = t._self._c;
83
+ return t._self._setupProxy, e("span", { staticClass: "text-caption d-flex align-center" }, t._l(t.formattedTravelTimes, function({ icon: r, name: s, time: i }, o) {
84
+ var l;
85
+ return e("span", { key: o, staticClass: "d-inline-flex mr-2" }, [e(K, { attrs: { attach: ((l = t.$el) == null ? void 0 : l.parent) || t.$el, bottom: "" }, scopedSlots: t._u([{ key: "activator", fn: function({ on: u, attrs: d }) {
86
+ return [e("span", t._g(t._b({ staticClass: "grey--text text--darken-2" }, "span", d, !1), u), [e(C, { attrs: { color: "grey darken-2", "x-small": "" } }, [t._v(" " + t._s(r) + " ")]), e("span", [t._v(" " + t._s(t.formatTravelTime(i)))])], 1)];
87
+ } }], null, !0) }, [e("span", [t._v(t._s(t.$t(`BTravelTimes.${s}`)))])])], 1);
88
+ }), 0);
89
+ }, Ue = [], Fe = /* @__PURE__ */ $(
90
+ $e,
91
+ Be,
92
+ Ue,
93
+ !1,
94
+ null,
95
+ null,
96
+ null,
97
+ null
98
+ );
99
+ const Me = Fe.exports, Ie = {
100
+ boilerplate: { type: Boolean }
101
+ }, He = de(At).extend({
102
+ name: "HotelDescriptionViewLayout",
103
+ props: Ie,
104
+ computed: {
105
+ carouselThumbnailsCount() {
106
+ var n;
107
+ return ((n = this == null ? void 0 : this.$breakpointService) == null ? void 0 : n.width) && Math.ceil(this.$breakpointService.width / 105) || 7;
108
+ }
109
+ }
110
+ });
111
+ var je = function() {
112
+ var t = this, e = t._self._c;
113
+ return t._self._setupProxy, e(_, { attrs: { "no-gutters": "" } }, [e(m, [e(_, { attrs: { "no-gutters": "" } }, [e(m, { attrs: { cols: "12" } }, [t._t("name", function() {
114
+ return [e(x, { attrs: { boilerplate: t.boilerplate, height: "29px", tile: "", type: "heading", width: "380px" } })];
115
+ })], 2), e(m, { staticClass: "mr-2", attrs: { cols: "auto" } }, [t._t("address", function() {
116
+ return [e(x, { staticClass: "mt-2", attrs: { boilerplate: t.boilerplate, height: "18px", tile: "", type: "heading", width: "300px" } })];
117
+ })], 2), t.$slots["travel-times"] ? e(m, { attrs: { cols: "auto" } }, [t._t("travel-times")], 2) : t._e()], 1), e(_, { attrs: { "no-gutters": "" } }, [e(m, { staticClass: "mr-2", attrs: { cols: "auto" } }, [t._t("showOnMap", function() {
118
+ return [e(x, { staticClass: "mt-2", attrs: { boilerplate: t.boilerplate, height: "18px", tile: "", type: "heading", width: "130px" } })];
119
+ })], 2), e(m, { attrs: { cols: "auto" } }, [t._t("nearby-stations", function() {
120
+ return [e(x, { staticClass: "mt-2", attrs: { boilerplate: t.boilerplate, height: "18px", tile: "", type: "heading", width: "100px" } })];
121
+ })], 2), e(m, { attrs: { align: "end", "align-self": "end" } }, [t._t("review-rating", function() {
122
+ return [e(x, { staticClass: "mt-2 d-inline-block", attrs: { boilerplate: t.boilerplate, height: "18px", tile: "", type: "heading", width: "100px" } })];
123
+ })], 2)], 1), t.$slots.event ? e(_, { attrs: { dense: "" } }, [e(m, { staticClass: "d-block d-md-none", attrs: { cols: "12" } }, [t._t("event")], 2)], 1) : t._e(), e(_, { attrs: { dense: "" } }, [e(m, { attrs: { cols: "12", md: "8" } }, [e(_, [e(m, [t._t("carousel", function() {
124
+ return [e(x, { attrs: { boilerplate: t.boilerplate, height: "410px", tile: "", type: "image", width: "100%" } }), e("div", { staticClass: "mt-1 d-flex flex-nowrap overflow-hidden" }, t._l(t.carouselThumbnailsCount, function(r) {
125
+ return e("div", { key: r }, [e("div", [e(x, { staticClass: "mr-1", attrs: { boilerplate: t.boilerplate, height: "70px", tile: "", type: "image", width: "105px" } })], 1)]);
126
+ }), 0)];
127
+ })], 2)], 1), e(_, { attrs: { dense: "" } }, [e(m, [t._t("description", function() {
128
+ return [e(k, { attrs: { elevation: "0", outlined: "" } }, [e(T, [e(_, { attrs: { "no-gutters": "" } }, [e(m, [e(x, { attrs: { boilerplate: t.boilerplate, height: "19px", tile: "", type: "image", width: "140px" } })], 1)], 1), t._l(4, function(r) {
129
+ return e(_, { key: r, attrs: { "no-gutters": "" } }, [e(m, [e(x, { staticClass: "mt-6", attrs: { boilerplate: t.boilerplate, height: "16.5px", tile: "", type: "heading", width: "120px" } }), e(x, { staticClass: "mt-1", attrs: { boilerplate: t.boilerplate, tile: "", type: "text@2" } })], 1)], 1);
130
+ })], 2)], 1)];
131
+ })], 2)], 1)], 1), e(m, [e(_, { attrs: { dense: "" } }, [t.$slots["request-summary"] ? e(m, { staticClass: "d-none d-md-block", attrs: { cols: "12" } }, [e(k, { attrs: { elevation: "0", outlined: "" } }, [t._t("request-summary")], 2)], 1) : t._e(), t.$slots.event ? e(m, { staticClass: "d-none d-md-block", attrs: { cols: "12" } }, [t._t("event")], 2) : t._e(), e(m, { staticClass: "flex-grow-1", attrs: { cols: "12", md: "12", sm: "6" } }, [e(k, { attrs: { elevation: "0", outlined: "" } }, [e(T, { staticClass: "pa-1" }, [e(_, [e(m, [t._t("booking-line", function() {
132
+ return [e(x, { attrs: { boilerplate: t.boilerplate, height: "14px", tile: "", type: "image", width: "100%" } })];
133
+ })], 2)], 1)], 1)], 1)], 1), e(m, { staticClass: "flex-grow-1", attrs: { cols: "12", md: "12", sm: "6" } }, [e(k, { staticClass: "h-100", attrs: { align: "center", elevation: "0", outlined: "" } }, [e(T, { staticClass: "pa-2" }, [t._t("checkin-checkout", function() {
134
+ return [e(_, { attrs: { dense: "" } }, [e(m, [e(x, { attrs: { boilerplate: t.boilerplate, height: "16px", tile: "", type: "heading", width: "112px" } })], 1), e(m, [e(x, { attrs: { boilerplate: t.boilerplate, height: "16px", tile: "", type: "heading", width: "112px" } })], 1)], 1)];
135
+ })], 2)], 1)], 1), e(m, { attrs: { cols: "12" } }, [t._t("amenities", function() {
136
+ return [e(k, { attrs: { elevation: "0", outlined: "" } }, [e(T, { staticClass: "flex-grow-1" }, [e(_, [e(m, [e(x, { attrs: { boilerplate: t.boilerplate, height: "17px", tile: "", type: "heading", width: "120px" } })], 1)], 1), e(_, { staticClass: "mt-4" }, t._l(4, function(r) {
137
+ return e(m, { key: r, staticClass: "py-1", attrs: { cols: "6", lg: "6", md: "12", sm: "12" } }, [e(x, { attrs: { boilerplate: t.boilerplate, height: "18px", tile: "", type: "heading", width: "80%" } })], 1);
138
+ }), 1)], 1)], 1)];
139
+ })], 2), e(m, { attrs: { cols: "12" } }, [t._t("map-widget", function() {
140
+ return [e(x, { attrs: { boilerplate: t.boilerplate, height: "150px", tile: "", type: "image", width: "1OO%" } })];
141
+ })], 2), e(m, { staticClass: "d-flex", staticStyle: { "flex-direction": "column" }, attrs: { cols: "12" } }, [t._t("points-of-interest", function() {
142
+ return [e(k, { attrs: { elevation: "0", outlined: "" } }, [e(T, [e(_, [e(m, [e(x, { staticClass: "mb-3", attrs: { boilerplate: t.boilerplate, height: "16px", tile: "", type: "heading", width: "150px" } })], 1)], 1), t._l(6, function(r) {
143
+ return e(_, { key: r, attrs: { "no-gutters": "" } }, [e(m, { attrs: { cols: "8" } }, [e(x, { attrs: { boilerplate: t.boilerplate, height: "18px", tile: "", type: "text", width: "70%" } })], 1), e(m, { attrs: { align: "right", cols: "4" } }, [e(x, { attrs: { boilerplate: t.boilerplate, height: "14px", tile: "", type: "text", width: "55px" } })], 1)], 1);
144
+ })], 2)], 1)];
145
+ })], 2)], 1)], 1)], 1)], 1)], 1);
146
+ }, Ve = [], qe = /* @__PURE__ */ $(
147
+ He,
148
+ je,
149
+ Ve,
150
+ !1,
151
+ null,
152
+ "5cb50dda",
153
+ null,
154
+ null
155
+ );
156
+ const Nt = qe.exports, ze = U.extend({
157
+ name: "HotelDescriptionViewError",
158
+ components: {
159
+ BErrorOverlay: fe,
160
+ HotelDescriptionViewLayout: Nt
161
+ },
162
+ mixins: [F("components/RevolugoElements/HotelDescriptionViewError")],
163
+ props: {
164
+ // eslint-disable-next-line vue/require-default-prop
165
+ errorMessage: String
166
+ }
167
+ });
168
+ var Je = function() {
169
+ var t = this, e = t._self._c;
170
+ return t._self._setupProxy, e("div", { staticClass: "position-relative" }, [e("hotel-description-view-layout", { attrs: { boilerplate: "" } }), e("b-error-overlay", { scopedSlots: t._u([{ key: "title", fn: function() {
171
+ return [t._v(" " + t._s(t.$t("HotelDescriptionViewError.internalError.title")) + " ")];
172
+ }, proxy: !0 }, { key: "description", fn: function() {
173
+ return [t._v(" " + t._s(t.errorMessage || t.$t("HotelDescriptionViewError.internalError.description")) + " ")];
174
+ }, proxy: !0 }]) })], 1);
175
+ }, We = [], Ge = /* @__PURE__ */ $(
176
+ ze,
177
+ Je,
178
+ We,
179
+ !1,
180
+ null,
181
+ null,
182
+ null,
183
+ null
184
+ );
185
+ const Ke = Ge.exports, Ye = {
186
+ block: {
187
+ type: Boolean,
188
+ default: !1
189
+ },
190
+ color: {
191
+ type: String,
192
+ default: "secondary"
193
+ },
194
+ compact: {
195
+ type: Boolean,
196
+ default: !0
197
+ },
198
+ direction: {
199
+ type: String,
200
+ default: "top"
201
+ }
202
+ }, Xe = U.extend({
203
+ name: "PreferencesMenu",
204
+ components: {
205
+ CurrencyPickerBtn: he,
206
+ CurrencyPickerDialog: me,
207
+ LangPickerBtn: ye,
208
+ LangPickerDialog: _e
209
+ },
210
+ mixins: [F("components/RevolugoElements/PreferencesMenu")],
211
+ props: Ye,
212
+ data() {
213
+ return {
214
+ currencyPickerDialog: !1,
215
+ isOpen: !1,
216
+ langPickerDialog: !1
217
+ };
218
+ },
219
+ computed: {
220
+ activeCurrency() {
221
+ return se[this.config.currency];
222
+ },
223
+ activeLang() {
224
+ return ie[this.config.lang ?? oe.EN_US];
225
+ },
226
+ transition() {
227
+ switch (this.direction) {
228
+ case "top":
229
+ return "slide-y-reverse-transition";
230
+ case "bottom":
231
+ return "slide-y-transition";
232
+ case "left":
233
+ return "slide-x-reverse-transition";
234
+ case "right":
235
+ return "slide-x-transition";
236
+ default:
237
+ return "slide-y-transition";
238
+ }
239
+ }
240
+ },
241
+ methods: {
242
+ onCurrencyPickerBtnClicked() {
243
+ this.currencyPickerDialog = !0;
244
+ },
245
+ onLangPickerBtnClicked() {
246
+ this.langPickerDialog = !0;
247
+ }
248
+ }
249
+ });
250
+ var Qe = function() {
251
+ var r;
252
+ var t = this, e = t._self._c;
253
+ return t._self._setupProxy, t.compact ? e("span", [e(ge, { attrs: { attach: ((r = t.$el) == null ? void 0 : r.parent) || t.$el || !0, bottom: t.direction === "bottom", "content-class": "elevation-0", elevation: "0", left: t.direction === "left", "offset-y": "", right: t.direction === "right", top: t.direction === "top", transition: t.transition }, scopedSlots: t._u([{ key: "activator", fn: function({ on: s, attrs: i }) {
254
+ return [e(it, t._g(t._b({ staticClass: "elevation-0 px-1", staticStyle: { "max-width": "62px", width: "62px" }, attrs: { block: t.block, color: t.color, dark: "", small: "" } }, "v-btn", i, !1), s), [t.isOpen ? e(C, { attrs: { size: "18" } }, [t._v(" fa-times ")]) : [e("small", { staticClass: "pr-1" }, [t._v(t._s(t.activeCurrency.code) + " / ")]), e(be, { attrs: { "min-width": "16", width: "16" } }, [e(Pt, { attrs: { "max-height": "16", "max-width": "16", src: `https://flagcdn.com/h60/${t.activeLang.countryCode.toLowerCase()}.png`, srcset: `https://flagcdn.com/h80/${t.activeLang.countryCode.toLowerCase()}.png 2x,
255
+ https://flagcdn.com/h120/${t.activeLang.countryCode.toLowerCase()}.png 3x` } })], 1)]], 2)];
256
+ } }], null, !1, 2954965536) }, [e(k, [e(T, { staticClass: "px-3" }, [e(_, [e(m, [e("currency-picker-btn", { attrs: { color: t.color, elevation: "7" }, nativeOn: { click: function(s) {
257
+ return t.onCurrencyPickerBtnClicked.apply(null, arguments);
258
+ } } })], 1)], 1), e(_, { attrs: { dense: "" } }, [e(m, [e("lang-picker-btn", { attrs: { elevation: "7" }, nativeOn: { click: function(s) {
259
+ return t.onLangPickerBtnClicked.apply(null, arguments);
260
+ } } })], 1)], 1)], 1)], 1)], 1), e("currency-picker-dialog", { model: { value: t.currencyPickerDialog, callback: function(s) {
261
+ t.currencyPickerDialog = s;
262
+ }, expression: "currencyPickerDialog" } }), e("lang-picker-dialog", { model: { value: t.langPickerDialog, callback: function(s) {
263
+ t.langPickerDialog = s;
264
+ }, expression: "langPickerDialog" } })], 1) : e("span", [e("currency-picker-btn", { attrs: { color: t.color, dialog: "" } }), e("span", { staticClass: "pr-1" }), e("lang-picker-btn", { attrs: { dialog: "" } })], 1);
265
+ }, Ze = [], tn = /* @__PURE__ */ $(
266
+ Xe,
267
+ Qe,
268
+ Ze,
269
+ !1,
270
+ null,
271
+ "1b79a181",
272
+ null,
273
+ null
274
+ );
275
+ const en = tn.exports;
276
+ function Lt(n, t) {
277
+ return function() {
278
+ return n.apply(t, arguments);
279
+ };
280
+ }
281
+ const { toString: nn } = Object.prototype, { getPrototypeOf: dt } = Object, Y = /* @__PURE__ */ ((n) => (t) => {
282
+ const e = nn.call(t);
283
+ return n[e] || (n[e] = e.slice(8, -1).toLowerCase());
284
+ })(/* @__PURE__ */ Object.create(null)), A = (n) => (n = n.toLowerCase(), (t) => Y(t) === n), X = (n) => (t) => typeof t === n, { isArray: M } = Array, j = X("undefined");
285
+ function rn(n) {
286
+ return n !== null && !j(n) && n.constructor !== null && !j(n.constructor) && R(n.constructor.isBuffer) && n.constructor.isBuffer(n);
287
+ }
288
+ const Dt = A("ArrayBuffer");
289
+ function sn(n) {
290
+ let t;
291
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(n) : t = n && n.buffer && Dt(n.buffer), t;
292
+ }
293
+ const on = X("string"), R = X("function"), $t = X("number"), Q = (n) => n !== null && typeof n == "object", an = (n) => n === !0 || n === !1, z = (n) => {
294
+ if (Y(n) !== "object")
295
+ return !1;
296
+ const t = dt(n);
297
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in n) && !(Symbol.iterator in n);
298
+ }, ln = A("Date"), cn = A("File"), un = A("Blob"), pn = A("FileList"), dn = (n) => Q(n) && R(n.pipe), fn = (n) => {
299
+ let t;
300
+ return n && (typeof FormData == "function" && n instanceof FormData || R(n.append) && ((t = Y(n)) === "formdata" || // detect form-data instance
301
+ t === "object" && R(n.toString) && n.toString() === "[object FormData]"));
302
+ }, hn = A("URLSearchParams"), mn = (n) => n.trim ? n.trim() : n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
303
+ function V(n, t, { allOwnKeys: e = !1 } = {}) {
304
+ if (n === null || typeof n > "u")
305
+ return;
306
+ let r, s;
307
+ if (typeof n != "object" && (n = [n]), M(n))
308
+ for (r = 0, s = n.length; r < s; r++)
309
+ t.call(null, n[r], r, n);
310
+ else {
311
+ const i = e ? Object.getOwnPropertyNames(n) : Object.keys(n), o = i.length;
312
+ let l;
313
+ for (r = 0; r < o; r++)
314
+ l = i[r], t.call(null, n[l], l, n);
315
+ }
316
+ }
317
+ function Bt(n, t) {
318
+ t = t.toLowerCase();
319
+ const e = Object.keys(n);
320
+ let r = e.length, s;
321
+ for (; r-- > 0; )
322
+ if (s = e[r], t === s.toLowerCase())
323
+ return s;
324
+ return null;
325
+ }
326
+ const Ut = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ft = (n) => !j(n) && n !== Ut;
327
+ function ot() {
328
+ const { caseless: n } = Ft(this) && this || {}, t = {}, e = (r, s) => {
329
+ const i = n && Bt(t, s) || s;
330
+ z(t[i]) && z(r) ? t[i] = ot(t[i], r) : z(r) ? t[i] = ot({}, r) : M(r) ? t[i] = r.slice() : t[i] = r;
331
+ };
332
+ for (let r = 0, s = arguments.length; r < s; r++)
333
+ arguments[r] && V(arguments[r], e);
334
+ return t;
335
+ }
336
+ const yn = (n, t, e, { allOwnKeys: r } = {}) => (V(t, (s, i) => {
337
+ e && R(s) ? n[i] = Lt(s, e) : n[i] = s;
338
+ }, { allOwnKeys: r }), n), _n = (n) => (n.charCodeAt(0) === 65279 && (n = n.slice(1)), n), gn = (n, t, e, r) => {
339
+ n.prototype = Object.create(t.prototype, r), n.prototype.constructor = n, Object.defineProperty(n, "super", {
340
+ value: t.prototype
341
+ }), e && Object.assign(n.prototype, e);
342
+ }, bn = (n, t, e, r) => {
343
+ let s, i, o;
344
+ const l = {};
345
+ if (t = t || {}, n == null)
346
+ return t;
347
+ do {
348
+ for (s = Object.getOwnPropertyNames(n), i = s.length; i-- > 0; )
349
+ o = s[i], (!r || r(o, n, t)) && !l[o] && (t[o] = n[o], l[o] = !0);
350
+ n = e !== !1 && dt(n);
351
+ } while (n && (!e || e(n, t)) && n !== Object.prototype);
352
+ return t;
353
+ }, wn = (n, t, e) => {
354
+ n = String(n), (e === void 0 || e > n.length) && (e = n.length), e -= t.length;
355
+ const r = n.indexOf(t, e);
356
+ return r !== -1 && r === e;
357
+ }, xn = (n) => {
358
+ if (!n)
359
+ return null;
360
+ if (M(n))
361
+ return n;
362
+ let t = n.length;
363
+ if (!$t(t))
364
+ return null;
365
+ const e = new Array(t);
366
+ for (; t-- > 0; )
367
+ e[t] = n[t];
368
+ return e;
369
+ }, Sn = /* @__PURE__ */ ((n) => (t) => n && t instanceof n)(typeof Uint8Array < "u" && dt(Uint8Array)), En = (n, t) => {
370
+ const r = (n && n[Symbol.iterator]).call(n);
371
+ let s;
372
+ for (; (s = r.next()) && !s.done; ) {
373
+ const i = s.value;
374
+ t.call(n, i[0], i[1]);
375
+ }
376
+ }, Cn = (n, t) => {
377
+ let e;
378
+ const r = [];
379
+ for (; (e = n.exec(t)) !== null; )
380
+ r.push(e);
381
+ return r;
382
+ }, vn = A("HTMLFormElement"), kn = (n) => n.toLowerCase().replace(
383
+ /[-_\s]([a-z\d])(\w*)/g,
384
+ function(e, r, s) {
385
+ return r.toUpperCase() + s;
386
+ }
387
+ ), bt = (({ hasOwnProperty: n }) => (t, e) => n.call(t, e))(Object.prototype), Rn = A("RegExp"), Mt = (n, t) => {
388
+ const e = Object.getOwnPropertyDescriptors(n), r = {};
389
+ V(e, (s, i) => {
390
+ let o;
391
+ (o = t(s, i, n)) !== !1 && (r[i] = o || s);
392
+ }), Object.defineProperties(n, r);
393
+ }, Tn = (n) => {
394
+ Mt(n, (t, e) => {
395
+ if (R(n) && ["arguments", "caller", "callee"].indexOf(e) !== -1)
396
+ return !1;
397
+ const r = n[e];
398
+ if (R(r)) {
399
+ if (t.enumerable = !1, "writable" in t) {
400
+ t.writable = !1;
401
+ return;
402
+ }
403
+ t.set || (t.set = () => {
404
+ throw Error("Can not rewrite read-only method '" + e + "'");
405
+ });
406
+ }
407
+ });
408
+ }, On = (n, t) => {
409
+ const e = {}, r = (s) => {
410
+ s.forEach((i) => {
411
+ e[i] = !0;
412
+ });
413
+ };
414
+ return M(n) ? r(n) : r(String(n).split(t)), e;
415
+ }, An = () => {
416
+ }, Pn = (n, t) => (n = +n, Number.isFinite(n) ? n : t), et = "abcdefghijklmnopqrstuvwxyz", wt = "0123456789", It = {
417
+ DIGIT: wt,
418
+ ALPHA: et,
419
+ ALPHA_DIGIT: et + et.toUpperCase() + wt
420
+ }, Nn = (n = 16, t = It.ALPHA_DIGIT) => {
421
+ let e = "";
422
+ const { length: r } = t;
423
+ for (; n--; )
424
+ e += t[Math.random() * r | 0];
425
+ return e;
426
+ };
427
+ function Ln(n) {
428
+ return !!(n && R(n.append) && n[Symbol.toStringTag] === "FormData" && n[Symbol.iterator]);
429
+ }
430
+ const Dn = (n) => {
431
+ const t = new Array(10), e = (r, s) => {
432
+ if (Q(r)) {
433
+ if (t.indexOf(r) >= 0)
434
+ return;
435
+ if (!("toJSON" in r)) {
436
+ t[s] = r;
437
+ const i = M(r) ? [] : {};
438
+ return V(r, (o, l) => {
439
+ const u = e(o, s + 1);
440
+ !j(u) && (i[l] = u);
441
+ }), t[s] = void 0, i;
442
+ }
443
+ }
444
+ return r;
445
+ };
446
+ return e(n, 0);
447
+ }, $n = A("AsyncFunction"), Bn = (n) => n && (Q(n) || R(n)) && R(n.then) && R(n.catch), a = {
448
+ isArray: M,
449
+ isArrayBuffer: Dt,
450
+ isBuffer: rn,
451
+ isFormData: fn,
452
+ isArrayBufferView: sn,
453
+ isString: on,
454
+ isNumber: $t,
455
+ isBoolean: an,
456
+ isObject: Q,
457
+ isPlainObject: z,
458
+ isUndefined: j,
459
+ isDate: ln,
460
+ isFile: cn,
461
+ isBlob: un,
462
+ isRegExp: Rn,
463
+ isFunction: R,
464
+ isStream: dn,
465
+ isURLSearchParams: hn,
466
+ isTypedArray: Sn,
467
+ isFileList: pn,
468
+ forEach: V,
469
+ merge: ot,
470
+ extend: yn,
471
+ trim: mn,
472
+ stripBOM: _n,
473
+ inherits: gn,
474
+ toFlatObject: bn,
475
+ kindOf: Y,
476
+ kindOfTest: A,
477
+ endsWith: wn,
478
+ toArray: xn,
479
+ forEachEntry: En,
480
+ matchAll: Cn,
481
+ isHTMLForm: vn,
482
+ hasOwnProperty: bt,
483
+ hasOwnProp: bt,
484
+ // an alias to avoid ESLint no-prototype-builtins detection
485
+ reduceDescriptors: Mt,
486
+ freezeMethods: Tn,
487
+ toObjectSet: On,
488
+ toCamelCase: kn,
489
+ noop: An,
490
+ toFiniteNumber: Pn,
491
+ findKey: Bt,
492
+ global: Ut,
493
+ isContextDefined: Ft,
494
+ ALPHABET: It,
495
+ generateString: Nn,
496
+ isSpecCompliantForm: Ln,
497
+ toJSONObject: Dn,
498
+ isAsyncFn: $n,
499
+ isThenable: Bn
500
+ };
501
+ function y(n, t, e, r, s) {
502
+ Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = n, this.name = "AxiosError", t && (this.code = t), e && (this.config = e), r && (this.request = r), s && (this.response = s);
503
+ }
504
+ a.inherits(y, Error, {
505
+ toJSON: function() {
506
+ return {
507
+ // Standard
508
+ message: this.message,
509
+ name: this.name,
510
+ // Microsoft
511
+ description: this.description,
512
+ number: this.number,
513
+ // Mozilla
514
+ fileName: this.fileName,
515
+ lineNumber: this.lineNumber,
516
+ columnNumber: this.columnNumber,
517
+ stack: this.stack,
518
+ // Axios
519
+ config: a.toJSONObject(this.config),
520
+ code: this.code,
521
+ status: this.response && this.response.status ? this.response.status : null
522
+ };
523
+ }
524
+ });
525
+ const Ht = y.prototype, jt = {};
526
+ [
527
+ "ERR_BAD_OPTION_VALUE",
528
+ "ERR_BAD_OPTION",
529
+ "ECONNABORTED",
530
+ "ETIMEDOUT",
531
+ "ERR_NETWORK",
532
+ "ERR_FR_TOO_MANY_REDIRECTS",
533
+ "ERR_DEPRECATED",
534
+ "ERR_BAD_RESPONSE",
535
+ "ERR_BAD_REQUEST",
536
+ "ERR_CANCELED",
537
+ "ERR_NOT_SUPPORT",
538
+ "ERR_INVALID_URL"
539
+ // eslint-disable-next-line func-names
540
+ ].forEach((n) => {
541
+ jt[n] = { value: n };
542
+ });
543
+ Object.defineProperties(y, jt);
544
+ Object.defineProperty(Ht, "isAxiosError", { value: !0 });
545
+ y.from = (n, t, e, r, s, i) => {
546
+ const o = Object.create(Ht);
547
+ return a.toFlatObject(n, o, function(u) {
548
+ return u !== Error.prototype;
549
+ }, (l) => l !== "isAxiosError"), y.call(o, n.message, t, e, r, s), o.cause = n, o.name = n.name, i && Object.assign(o, i), o;
550
+ };
551
+ const Un = null;
552
+ function at(n) {
553
+ return a.isPlainObject(n) || a.isArray(n);
554
+ }
555
+ function Vt(n) {
556
+ return a.endsWith(n, "[]") ? n.slice(0, -2) : n;
557
+ }
558
+ function xt(n, t, e) {
559
+ return n ? n.concat(t).map(function(s, i) {
560
+ return s = Vt(s), !e && i ? "[" + s + "]" : s;
561
+ }).join(e ? "." : "") : t;
562
+ }
563
+ function Fn(n) {
564
+ return a.isArray(n) && !n.some(at);
565
+ }
566
+ const Mn = a.toFlatObject(a, {}, null, function(t) {
567
+ return /^is[A-Z]/.test(t);
568
+ });
569
+ function Z(n, t, e) {
570
+ if (!a.isObject(n))
571
+ throw new TypeError("target must be an object");
572
+ t = t || new FormData(), e = a.toFlatObject(e, {
573
+ metaTokens: !0,
574
+ dots: !1,
575
+ indexes: !1
576
+ }, !1, function(h, S) {
577
+ return !a.isUndefined(S[h]);
578
+ });
579
+ const r = e.metaTokens, s = e.visitor || p, i = e.dots, o = e.indexes, u = (e.Blob || typeof Blob < "u" && Blob) && a.isSpecCompliantForm(t);
580
+ if (!a.isFunction(s))
581
+ throw new TypeError("visitor must be a function");
582
+ function d(f) {
583
+ if (f === null)
584
+ return "";
585
+ if (a.isDate(f))
586
+ return f.toISOString();
587
+ if (!u && a.isBlob(f))
588
+ throw new y("Blob is not supported. Use a Buffer instead.");
589
+ return a.isArrayBuffer(f) || a.isTypedArray(f) ? u && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
590
+ }
591
+ function p(f, h, S) {
592
+ let E = f;
593
+ if (f && !S && typeof f == "object") {
594
+ if (a.endsWith(h, "{}"))
595
+ h = r ? h : h.slice(0, -2), f = JSON.stringify(f);
596
+ else if (a.isArray(f) && Fn(f) || (a.isFileList(f) || a.endsWith(h, "[]")) && (E = a.toArray(f)))
597
+ return h = Vt(h), E.forEach(function(L, ee) {
598
+ !(a.isUndefined(L) || L === null) && t.append(
599
+ // eslint-disable-next-line no-nested-ternary
600
+ o === !0 ? xt([h], ee, i) : o === null ? h : h + "[]",
601
+ d(L)
602
+ );
603
+ }), !1;
604
+ }
605
+ return at(f) ? !0 : (t.append(xt(S, h, i), d(f)), !1);
606
+ }
607
+ const c = [], g = Object.assign(Mn, {
608
+ defaultVisitor: p,
609
+ convertValue: d,
610
+ isVisitable: at
611
+ });
612
+ function v(f, h) {
613
+ if (!a.isUndefined(f)) {
614
+ if (c.indexOf(f) !== -1)
615
+ throw Error("Circular reference detected in " + h.join("."));
616
+ c.push(f), a.forEach(f, function(E, N) {
617
+ (!(a.isUndefined(E) || E === null) && s.call(
618
+ t,
619
+ E,
620
+ a.isString(N) ? N.trim() : N,
621
+ h,
622
+ g
623
+ )) === !0 && v(E, h ? h.concat(N) : [N]);
624
+ }), c.pop();
625
+ }
626
+ }
627
+ if (!a.isObject(n))
628
+ throw new TypeError("data must be an object");
629
+ return v(n), t;
630
+ }
631
+ function St(n) {
632
+ const t = {
633
+ "!": "%21",
634
+ "'": "%27",
635
+ "(": "%28",
636
+ ")": "%29",
637
+ "~": "%7E",
638
+ "%20": "+",
639
+ "%00": "\0"
640
+ };
641
+ return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
642
+ return t[r];
643
+ });
644
+ }
645
+ function ft(n, t) {
646
+ this._pairs = [], n && Z(n, this, t);
647
+ }
648
+ const qt = ft.prototype;
649
+ qt.append = function(t, e) {
650
+ this._pairs.push([t, e]);
651
+ };
652
+ qt.toString = function(t) {
653
+ const e = t ? function(r) {
654
+ return t.call(this, r, St);
655
+ } : St;
656
+ return this._pairs.map(function(s) {
657
+ return e(s[0]) + "=" + e(s[1]);
658
+ }, "").join("&");
659
+ };
660
+ function In(n) {
661
+ return encodeURIComponent(n).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
662
+ }
663
+ function zt(n, t, e) {
664
+ if (!t)
665
+ return n;
666
+ const r = e && e.encode || In, s = e && e.serialize;
667
+ let i;
668
+ if (s ? i = s(t, e) : i = a.isURLSearchParams(t) ? t.toString() : new ft(t, e).toString(r), i) {
669
+ const o = n.indexOf("#");
670
+ o !== -1 && (n = n.slice(0, o)), n += (n.indexOf("?") === -1 ? "?" : "&") + i;
671
+ }
672
+ return n;
673
+ }
674
+ class Et {
675
+ constructor() {
676
+ this.handlers = [];
677
+ }
678
+ /**
679
+ * Add a new interceptor to the stack
680
+ *
681
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
682
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
683
+ *
684
+ * @return {Number} An ID used to remove interceptor later
685
+ */
686
+ use(t, e, r) {
687
+ return this.handlers.push({
688
+ fulfilled: t,
689
+ rejected: e,
690
+ synchronous: r ? r.synchronous : !1,
691
+ runWhen: r ? r.runWhen : null
692
+ }), this.handlers.length - 1;
693
+ }
694
+ /**
695
+ * Remove an interceptor from the stack
696
+ *
697
+ * @param {Number} id The ID that was returned by `use`
698
+ *
699
+ * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
700
+ */
701
+ eject(t) {
702
+ this.handlers[t] && (this.handlers[t] = null);
703
+ }
704
+ /**
705
+ * Clear all interceptors from the stack
706
+ *
707
+ * @returns {void}
708
+ */
709
+ clear() {
710
+ this.handlers && (this.handlers = []);
711
+ }
712
+ /**
713
+ * Iterate over all the registered interceptors
714
+ *
715
+ * This method is particularly useful for skipping over any
716
+ * interceptors that may have become `null` calling `eject`.
717
+ *
718
+ * @param {Function} fn The function to call for each interceptor
719
+ *
720
+ * @returns {void}
721
+ */
722
+ forEach(t) {
723
+ a.forEach(this.handlers, function(r) {
724
+ r !== null && t(r);
725
+ });
726
+ }
727
+ }
728
+ const Jt = {
729
+ silentJSONParsing: !0,
730
+ forcedJSONParsing: !0,
731
+ clarifyTimeoutError: !1
732
+ }, Hn = typeof URLSearchParams < "u" ? URLSearchParams : ft, jn = typeof FormData < "u" ? FormData : null, Vn = typeof Blob < "u" ? Blob : null, qn = {
733
+ isBrowser: !0,
734
+ classes: {
735
+ URLSearchParams: Hn,
736
+ FormData: jn,
737
+ Blob: Vn
738
+ },
739
+ protocols: ["http", "https", "file", "blob", "url", "data"]
740
+ }, Wt = typeof window < "u" && typeof document < "u", zn = ((n) => Wt && ["ReactNative", "NativeScript", "NS"].indexOf(n) < 0)(typeof navigator < "u" && navigator.product), Jn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
741
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
742
+ __proto__: null,
743
+ hasBrowserEnv: Wt,
744
+ hasStandardBrowserEnv: zn,
745
+ hasStandardBrowserWebWorkerEnv: Jn
746
+ }, Symbol.toStringTag, { value: "Module" })), O = {
747
+ ...Wn,
748
+ ...qn
749
+ };
750
+ function Gn(n, t) {
751
+ return Z(n, new O.classes.URLSearchParams(), Object.assign({
752
+ visitor: function(e, r, s, i) {
753
+ return O.isNode && a.isBuffer(e) ? (this.append(r, e.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
754
+ }
755
+ }, t));
756
+ }
757
+ function Kn(n) {
758
+ return a.matchAll(/\w+|\[(\w*)]/g, n).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
759
+ }
760
+ function Yn(n) {
761
+ const t = {}, e = Object.keys(n);
762
+ let r;
763
+ const s = e.length;
764
+ let i;
765
+ for (r = 0; r < s; r++)
766
+ i = e[r], t[i] = n[i];
767
+ return t;
768
+ }
769
+ function Gt(n) {
770
+ function t(e, r, s, i) {
771
+ let o = e[i++];
772
+ if (o === "__proto__")
773
+ return !0;
774
+ const l = Number.isFinite(+o), u = i >= e.length;
775
+ return o = !o && a.isArray(s) ? s.length : o, u ? (a.hasOwnProp(s, o) ? s[o] = [s[o], r] : s[o] = r, !l) : ((!s[o] || !a.isObject(s[o])) && (s[o] = []), t(e, r, s[o], i) && a.isArray(s[o]) && (s[o] = Yn(s[o])), !l);
776
+ }
777
+ if (a.isFormData(n) && a.isFunction(n.entries)) {
778
+ const e = {};
779
+ return a.forEachEntry(n, (r, s) => {
780
+ t(Kn(r), s, e, 0);
781
+ }), e;
782
+ }
783
+ return null;
784
+ }
785
+ function Xn(n, t, e) {
786
+ if (a.isString(n))
787
+ try {
788
+ return (t || JSON.parse)(n), a.trim(n);
789
+ } catch (r) {
790
+ if (r.name !== "SyntaxError")
791
+ throw r;
792
+ }
793
+ return (e || JSON.stringify)(n);
794
+ }
795
+ const ht = {
796
+ transitional: Jt,
797
+ adapter: ["xhr", "http"],
798
+ transformRequest: [function(t, e) {
799
+ const r = e.getContentType() || "", s = r.indexOf("application/json") > -1, i = a.isObject(t);
800
+ if (i && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t))
801
+ return s ? JSON.stringify(Gt(t)) : t;
802
+ if (a.isArrayBuffer(t) || a.isBuffer(t) || a.isStream(t) || a.isFile(t) || a.isBlob(t))
803
+ return t;
804
+ if (a.isArrayBufferView(t))
805
+ return t.buffer;
806
+ if (a.isURLSearchParams(t))
807
+ return e.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
808
+ let l;
809
+ if (i) {
810
+ if (r.indexOf("application/x-www-form-urlencoded") > -1)
811
+ return Gn(t, this.formSerializer).toString();
812
+ if ((l = a.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
813
+ const u = this.env && this.env.FormData;
814
+ return Z(
815
+ l ? { "files[]": t } : t,
816
+ u && new u(),
817
+ this.formSerializer
818
+ );
819
+ }
820
+ }
821
+ return i || s ? (e.setContentType("application/json", !1), Xn(t)) : t;
822
+ }],
823
+ transformResponse: [function(t) {
824
+ const e = this.transitional || ht.transitional, r = e && e.forcedJSONParsing, s = this.responseType === "json";
825
+ if (t && a.isString(t) && (r && !this.responseType || s)) {
826
+ const o = !(e && e.silentJSONParsing) && s;
827
+ try {
828
+ return JSON.parse(t);
829
+ } catch (l) {
830
+ if (o)
831
+ throw l.name === "SyntaxError" ? y.from(l, y.ERR_BAD_RESPONSE, this, null, this.response) : l;
832
+ }
833
+ }
834
+ return t;
835
+ }],
836
+ /**
837
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
838
+ * timeout is not created.
839
+ */
840
+ timeout: 0,
841
+ xsrfCookieName: "XSRF-TOKEN",
842
+ xsrfHeaderName: "X-XSRF-TOKEN",
843
+ maxContentLength: -1,
844
+ maxBodyLength: -1,
845
+ env: {
846
+ FormData: O.classes.FormData,
847
+ Blob: O.classes.Blob
848
+ },
849
+ validateStatus: function(t) {
850
+ return t >= 200 && t < 300;
851
+ },
852
+ headers: {
853
+ common: {
854
+ Accept: "application/json, text/plain, */*",
855
+ "Content-Type": void 0
856
+ }
857
+ }
858
+ };
859
+ a.forEach(["delete", "get", "head", "post", "put", "patch"], (n) => {
860
+ ht.headers[n] = {};
861
+ });
862
+ const mt = ht, Qn = a.toObjectSet([
863
+ "age",
864
+ "authorization",
865
+ "content-length",
866
+ "content-type",
867
+ "etag",
868
+ "expires",
869
+ "from",
870
+ "host",
871
+ "if-modified-since",
872
+ "if-unmodified-since",
873
+ "last-modified",
874
+ "location",
875
+ "max-forwards",
876
+ "proxy-authorization",
877
+ "referer",
878
+ "retry-after",
879
+ "user-agent"
880
+ ]), Zn = (n) => {
881
+ const t = {};
882
+ let e, r, s;
883
+ return n && n.split(`
884
+ `).forEach(function(o) {
885
+ s = o.indexOf(":"), e = o.substring(0, s).trim().toLowerCase(), r = o.substring(s + 1).trim(), !(!e || t[e] && Qn[e]) && (e === "set-cookie" ? t[e] ? t[e].push(r) : t[e] = [r] : t[e] = t[e] ? t[e] + ", " + r : r);
886
+ }), t;
887
+ }, Ct = Symbol("internals");
888
+ function I(n) {
889
+ return n && String(n).trim().toLowerCase();
890
+ }
891
+ function J(n) {
892
+ return n === !1 || n == null ? n : a.isArray(n) ? n.map(J) : String(n);
893
+ }
894
+ function tr(n) {
895
+ const t = /* @__PURE__ */ Object.create(null), e = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
896
+ let r;
897
+ for (; r = e.exec(n); )
898
+ t[r[1]] = r[2];
899
+ return t;
900
+ }
901
+ const er = (n) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());
902
+ function nt(n, t, e, r, s) {
903
+ if (a.isFunction(r))
904
+ return r.call(this, t, e);
905
+ if (s && (t = e), !!a.isString(t)) {
906
+ if (a.isString(r))
907
+ return t.indexOf(r) !== -1;
908
+ if (a.isRegExp(r))
909
+ return r.test(t);
910
+ }
911
+ }
912
+ function nr(n) {
913
+ return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, e, r) => e.toUpperCase() + r);
914
+ }
915
+ function rr(n, t) {
916
+ const e = a.toCamelCase(" " + t);
917
+ ["get", "set", "has"].forEach((r) => {
918
+ Object.defineProperty(n, r + e, {
919
+ value: function(s, i, o) {
920
+ return this[r].call(this, t, s, i, o);
921
+ },
922
+ configurable: !0
923
+ });
924
+ });
925
+ }
926
+ class tt {
927
+ constructor(t) {
928
+ t && this.set(t);
929
+ }
930
+ set(t, e, r) {
931
+ const s = this;
932
+ function i(l, u, d) {
933
+ const p = I(u);
934
+ if (!p)
935
+ throw new Error("header name must be a non-empty string");
936
+ const c = a.findKey(s, p);
937
+ (!c || s[c] === void 0 || d === !0 || d === void 0 && s[c] !== !1) && (s[c || u] = J(l));
938
+ }
939
+ const o = (l, u) => a.forEach(l, (d, p) => i(d, p, u));
940
+ return a.isPlainObject(t) || t instanceof this.constructor ? o(t, e) : a.isString(t) && (t = t.trim()) && !er(t) ? o(Zn(t), e) : t != null && i(e, t, r), this;
941
+ }
942
+ get(t, e) {
943
+ if (t = I(t), t) {
944
+ const r = a.findKey(this, t);
945
+ if (r) {
946
+ const s = this[r];
947
+ if (!e)
948
+ return s;
949
+ if (e === !0)
950
+ return tr(s);
951
+ if (a.isFunction(e))
952
+ return e.call(this, s, r);
953
+ if (a.isRegExp(e))
954
+ return e.exec(s);
955
+ throw new TypeError("parser must be boolean|regexp|function");
956
+ }
957
+ }
958
+ }
959
+ has(t, e) {
960
+ if (t = I(t), t) {
961
+ const r = a.findKey(this, t);
962
+ return !!(r && this[r] !== void 0 && (!e || nt(this, this[r], r, e)));
963
+ }
964
+ return !1;
965
+ }
966
+ delete(t, e) {
967
+ const r = this;
968
+ let s = !1;
969
+ function i(o) {
970
+ if (o = I(o), o) {
971
+ const l = a.findKey(r, o);
972
+ l && (!e || nt(r, r[l], l, e)) && (delete r[l], s = !0);
973
+ }
974
+ }
975
+ return a.isArray(t) ? t.forEach(i) : i(t), s;
976
+ }
977
+ clear(t) {
978
+ const e = Object.keys(this);
979
+ let r = e.length, s = !1;
980
+ for (; r--; ) {
981
+ const i = e[r];
982
+ (!t || nt(this, this[i], i, t, !0)) && (delete this[i], s = !0);
983
+ }
984
+ return s;
985
+ }
986
+ normalize(t) {
987
+ const e = this, r = {};
988
+ return a.forEach(this, (s, i) => {
989
+ const o = a.findKey(r, i);
990
+ if (o) {
991
+ e[o] = J(s), delete e[i];
992
+ return;
993
+ }
994
+ const l = t ? nr(i) : String(i).trim();
995
+ l !== i && delete e[i], e[l] = J(s), r[l] = !0;
996
+ }), this;
997
+ }
998
+ concat(...t) {
999
+ return this.constructor.concat(this, ...t);
1000
+ }
1001
+ toJSON(t) {
1002
+ const e = /* @__PURE__ */ Object.create(null);
1003
+ return a.forEach(this, (r, s) => {
1004
+ r != null && r !== !1 && (e[s] = t && a.isArray(r) ? r.join(", ") : r);
1005
+ }), e;
1006
+ }
1007
+ [Symbol.iterator]() {
1008
+ return Object.entries(this.toJSON())[Symbol.iterator]();
1009
+ }
1010
+ toString() {
1011
+ return Object.entries(this.toJSON()).map(([t, e]) => t + ": " + e).join(`
1012
+ `);
1013
+ }
1014
+ get [Symbol.toStringTag]() {
1015
+ return "AxiosHeaders";
1016
+ }
1017
+ static from(t) {
1018
+ return t instanceof this ? t : new this(t);
1019
+ }
1020
+ static concat(t, ...e) {
1021
+ const r = new this(t);
1022
+ return e.forEach((s) => r.set(s)), r;
1023
+ }
1024
+ static accessor(t) {
1025
+ const r = (this[Ct] = this[Ct] = {
1026
+ accessors: {}
1027
+ }).accessors, s = this.prototype;
1028
+ function i(o) {
1029
+ const l = I(o);
1030
+ r[l] || (rr(s, o), r[l] = !0);
1031
+ }
1032
+ return a.isArray(t) ? t.forEach(i) : i(t), this;
1033
+ }
1034
+ }
1035
+ tt.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
1036
+ a.reduceDescriptors(tt.prototype, ({ value: n }, t) => {
1037
+ let e = t[0].toUpperCase() + t.slice(1);
1038
+ return {
1039
+ get: () => n,
1040
+ set(r) {
1041
+ this[e] = r;
1042
+ }
1043
+ };
1044
+ });
1045
+ a.freezeMethods(tt);
1046
+ const P = tt;
1047
+ function rt(n, t) {
1048
+ const e = this || mt, r = t || e, s = P.from(r.headers);
1049
+ let i = r.data;
1050
+ return a.forEach(n, function(l) {
1051
+ i = l.call(e, i, s.normalize(), t ? t.status : void 0);
1052
+ }), s.normalize(), i;
1053
+ }
1054
+ function Kt(n) {
1055
+ return !!(n && n.__CANCEL__);
1056
+ }
1057
+ function q(n, t, e) {
1058
+ y.call(this, n ?? "canceled", y.ERR_CANCELED, t, e), this.name = "CanceledError";
1059
+ }
1060
+ a.inherits(q, y, {
1061
+ __CANCEL__: !0
1062
+ });
1063
+ function sr(n, t, e) {
1064
+ const r = e.config.validateStatus;
1065
+ !e.status || !r || r(e.status) ? n(e) : t(new y(
1066
+ "Request failed with status code " + e.status,
1067
+ [y.ERR_BAD_REQUEST, y.ERR_BAD_RESPONSE][Math.floor(e.status / 100) - 4],
1068
+ e.config,
1069
+ e.request,
1070
+ e
1071
+ ));
1072
+ }
1073
+ const ir = O.hasStandardBrowserEnv ? (
1074
+ // Standard browser envs support document.cookie
1075
+ {
1076
+ write(n, t, e, r, s, i) {
1077
+ const o = [n + "=" + encodeURIComponent(t)];
1078
+ a.isNumber(e) && o.push("expires=" + new Date(e).toGMTString()), a.isString(r) && o.push("path=" + r), a.isString(s) && o.push("domain=" + s), i === !0 && o.push("secure"), document.cookie = o.join("; ");
1079
+ },
1080
+ read(n) {
1081
+ const t = document.cookie.match(new RegExp("(^|;\\s*)(" + n + ")=([^;]*)"));
1082
+ return t ? decodeURIComponent(t[3]) : null;
1083
+ },
1084
+ remove(n) {
1085
+ this.write(n, "", Date.now() - 864e5);
1086
+ }
1087
+ }
1088
+ ) : (
1089
+ // Non-standard browser env (web workers, react-native) lack needed support.
1090
+ {
1091
+ write() {
1092
+ },
1093
+ read() {
1094
+ return null;
1095
+ },
1096
+ remove() {
1097
+ }
1098
+ }
1099
+ );
1100
+ function or(n) {
1101
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(n);
1102
+ }
1103
+ function ar(n, t) {
1104
+ return t ? n.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : n;
1105
+ }
1106
+ function Yt(n, t) {
1107
+ return n && !or(t) ? ar(n, t) : t;
1108
+ }
1109
+ const lr = O.hasStandardBrowserEnv ? (
1110
+ // Standard browser envs have full support of the APIs needed to test
1111
+ // whether the request URL is of the same origin as current location.
1112
+ function() {
1113
+ const t = /(msie|trident)/i.test(navigator.userAgent), e = document.createElement("a");
1114
+ let r;
1115
+ function s(i) {
1116
+ let o = i;
1117
+ return t && (e.setAttribute("href", o), o = e.href), e.setAttribute("href", o), {
1118
+ href: e.href,
1119
+ protocol: e.protocol ? e.protocol.replace(/:$/, "") : "",
1120
+ host: e.host,
1121
+ search: e.search ? e.search.replace(/^\?/, "") : "",
1122
+ hash: e.hash ? e.hash.replace(/^#/, "") : "",
1123
+ hostname: e.hostname,
1124
+ port: e.port,
1125
+ pathname: e.pathname.charAt(0) === "/" ? e.pathname : "/" + e.pathname
1126
+ };
1127
+ }
1128
+ return r = s(window.location.href), function(o) {
1129
+ const l = a.isString(o) ? s(o) : o;
1130
+ return l.protocol === r.protocol && l.host === r.host;
1131
+ };
1132
+ }()
1133
+ ) : (
1134
+ // Non standard browser envs (web workers, react-native) lack needed support.
1135
+ /* @__PURE__ */ function() {
1136
+ return function() {
1137
+ return !0;
1138
+ };
1139
+ }()
1140
+ );
1141
+ function cr(n) {
1142
+ const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(n);
1143
+ return t && t[1] || "";
1144
+ }
1145
+ function ur(n, t) {
1146
+ n = n || 10;
1147
+ const e = new Array(n), r = new Array(n);
1148
+ let s = 0, i = 0, o;
1149
+ return t = t !== void 0 ? t : 1e3, function(u) {
1150
+ const d = Date.now(), p = r[i];
1151
+ o || (o = d), e[s] = u, r[s] = d;
1152
+ let c = i, g = 0;
1153
+ for (; c !== s; )
1154
+ g += e[c++], c = c % n;
1155
+ if (s = (s + 1) % n, s === i && (i = (i + 1) % n), d - o < t)
1156
+ return;
1157
+ const v = p && d - p;
1158
+ return v ? Math.round(g * 1e3 / v) : void 0;
1159
+ };
1160
+ }
1161
+ function vt(n, t) {
1162
+ let e = 0;
1163
+ const r = ur(50, 250);
1164
+ return (s) => {
1165
+ const i = s.loaded, o = s.lengthComputable ? s.total : void 0, l = i - e, u = r(l), d = i <= o;
1166
+ e = i;
1167
+ const p = {
1168
+ loaded: i,
1169
+ total: o,
1170
+ progress: o ? i / o : void 0,
1171
+ bytes: l,
1172
+ rate: u || void 0,
1173
+ estimated: u && o && d ? (o - i) / u : void 0,
1174
+ event: s
1175
+ };
1176
+ p[t ? "download" : "upload"] = !0, n(p);
1177
+ };
1178
+ }
1179
+ const pr = typeof XMLHttpRequest < "u", dr = pr && function(n) {
1180
+ return new Promise(function(e, r) {
1181
+ let s = n.data;
1182
+ const i = P.from(n.headers).normalize();
1183
+ let { responseType: o, withXSRFToken: l } = n, u;
1184
+ function d() {
1185
+ n.cancelToken && n.cancelToken.unsubscribe(u), n.signal && n.signal.removeEventListener("abort", u);
1186
+ }
1187
+ let p;
1188
+ if (a.isFormData(s)) {
1189
+ if (O.hasStandardBrowserEnv || O.hasStandardBrowserWebWorkerEnv)
1190
+ i.setContentType(!1);
1191
+ else if ((p = i.getContentType()) !== !1) {
1192
+ const [h, ...S] = p ? p.split(";").map((E) => E.trim()).filter(Boolean) : [];
1193
+ i.setContentType([h || "multipart/form-data", ...S].join("; "));
1194
+ }
1195
+ }
1196
+ let c = new XMLHttpRequest();
1197
+ if (n.auth) {
1198
+ const h = n.auth.username || "", S = n.auth.password ? unescape(encodeURIComponent(n.auth.password)) : "";
1199
+ i.set("Authorization", "Basic " + btoa(h + ":" + S));
1200
+ }
1201
+ const g = Yt(n.baseURL, n.url);
1202
+ c.open(n.method.toUpperCase(), zt(g, n.params, n.paramsSerializer), !0), c.timeout = n.timeout;
1203
+ function v() {
1204
+ if (!c)
1205
+ return;
1206
+ const h = P.from(
1207
+ "getAllResponseHeaders" in c && c.getAllResponseHeaders()
1208
+ ), E = {
1209
+ data: !o || o === "text" || o === "json" ? c.responseText : c.response,
1210
+ status: c.status,
1211
+ statusText: c.statusText,
1212
+ headers: h,
1213
+ config: n,
1214
+ request: c
1215
+ };
1216
+ sr(function(L) {
1217
+ e(L), d();
1218
+ }, function(L) {
1219
+ r(L), d();
1220
+ }, E), c = null;
1221
+ }
1222
+ if ("onloadend" in c ? c.onloadend = v : c.onreadystatechange = function() {
1223
+ !c || c.readyState !== 4 || c.status === 0 && !(c.responseURL && c.responseURL.indexOf("file:") === 0) || setTimeout(v);
1224
+ }, c.onabort = function() {
1225
+ c && (r(new y("Request aborted", y.ECONNABORTED, n, c)), c = null);
1226
+ }, c.onerror = function() {
1227
+ r(new y("Network Error", y.ERR_NETWORK, n, c)), c = null;
1228
+ }, c.ontimeout = function() {
1229
+ let S = n.timeout ? "timeout of " + n.timeout + "ms exceeded" : "timeout exceeded";
1230
+ const E = n.transitional || Jt;
1231
+ n.timeoutErrorMessage && (S = n.timeoutErrorMessage), r(new y(
1232
+ S,
1233
+ E.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
1234
+ n,
1235
+ c
1236
+ )), c = null;
1237
+ }, O.hasStandardBrowserEnv && (l && a.isFunction(l) && (l = l(n)), l || l !== !1 && lr(g))) {
1238
+ const h = n.xsrfHeaderName && n.xsrfCookieName && ir.read(n.xsrfCookieName);
1239
+ h && i.set(n.xsrfHeaderName, h);
1240
+ }
1241
+ s === void 0 && i.setContentType(null), "setRequestHeader" in c && a.forEach(i.toJSON(), function(S, E) {
1242
+ c.setRequestHeader(E, S);
1243
+ }), a.isUndefined(n.withCredentials) || (c.withCredentials = !!n.withCredentials), o && o !== "json" && (c.responseType = n.responseType), typeof n.onDownloadProgress == "function" && c.addEventListener("progress", vt(n.onDownloadProgress, !0)), typeof n.onUploadProgress == "function" && c.upload && c.upload.addEventListener("progress", vt(n.onUploadProgress)), (n.cancelToken || n.signal) && (u = (h) => {
1244
+ c && (r(!h || h.type ? new q(null, n, c) : h), c.abort(), c = null);
1245
+ }, n.cancelToken && n.cancelToken.subscribe(u), n.signal && (n.signal.aborted ? u() : n.signal.addEventListener("abort", u)));
1246
+ const f = cr(g);
1247
+ if (f && O.protocols.indexOf(f) === -1) {
1248
+ r(new y("Unsupported protocol " + f + ":", y.ERR_BAD_REQUEST, n));
1249
+ return;
1250
+ }
1251
+ c.send(s || null);
1252
+ });
1253
+ }, lt = {
1254
+ http: Un,
1255
+ xhr: dr
1256
+ };
1257
+ a.forEach(lt, (n, t) => {
1258
+ if (n) {
1259
+ try {
1260
+ Object.defineProperty(n, "name", { value: t });
1261
+ } catch {
1262
+ }
1263
+ Object.defineProperty(n, "adapterName", { value: t });
1264
+ }
1265
+ });
1266
+ const kt = (n) => `- ${n}`, fr = (n) => a.isFunction(n) || n === null || n === !1, Xt = {
1267
+ getAdapter: (n) => {
1268
+ n = a.isArray(n) ? n : [n];
1269
+ const { length: t } = n;
1270
+ let e, r;
1271
+ const s = {};
1272
+ for (let i = 0; i < t; i++) {
1273
+ e = n[i];
1274
+ let o;
1275
+ if (r = e, !fr(e) && (r = lt[(o = String(e)).toLowerCase()], r === void 0))
1276
+ throw new y(`Unknown adapter '${o}'`);
1277
+ if (r)
1278
+ break;
1279
+ s[o || "#" + i] = r;
1280
+ }
1281
+ if (!r) {
1282
+ const i = Object.entries(s).map(
1283
+ ([l, u]) => `adapter ${l} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
1284
+ );
1285
+ let o = t ? i.length > 1 ? `since :
1286
+ ` + i.map(kt).join(`
1287
+ `) : " " + kt(i[0]) : "as no adapter specified";
1288
+ throw new y(
1289
+ "There is no suitable adapter to dispatch the request " + o,
1290
+ "ERR_NOT_SUPPORT"
1291
+ );
1292
+ }
1293
+ return r;
1294
+ },
1295
+ adapters: lt
1296
+ };
1297
+ function st(n) {
1298
+ if (n.cancelToken && n.cancelToken.throwIfRequested(), n.signal && n.signal.aborted)
1299
+ throw new q(null, n);
1300
+ }
1301
+ function Rt(n) {
1302
+ return st(n), n.headers = P.from(n.headers), n.data = rt.call(
1303
+ n,
1304
+ n.transformRequest
1305
+ ), ["post", "put", "patch"].indexOf(n.method) !== -1 && n.headers.setContentType("application/x-www-form-urlencoded", !1), Xt.getAdapter(n.adapter || mt.adapter)(n).then(function(r) {
1306
+ return st(n), r.data = rt.call(
1307
+ n,
1308
+ n.transformResponse,
1309
+ r
1310
+ ), r.headers = P.from(r.headers), r;
1311
+ }, function(r) {
1312
+ return Kt(r) || (st(n), r && r.response && (r.response.data = rt.call(
1313
+ n,
1314
+ n.transformResponse,
1315
+ r.response
1316
+ ), r.response.headers = P.from(r.response.headers))), Promise.reject(r);
1317
+ });
1318
+ }
1319
+ const Tt = (n) => n instanceof P ? { ...n } : n;
1320
+ function B(n, t) {
1321
+ t = t || {};
1322
+ const e = {};
1323
+ function r(d, p, c) {
1324
+ return a.isPlainObject(d) && a.isPlainObject(p) ? a.merge.call({ caseless: c }, d, p) : a.isPlainObject(p) ? a.merge({}, p) : a.isArray(p) ? p.slice() : p;
1325
+ }
1326
+ function s(d, p, c) {
1327
+ if (a.isUndefined(p)) {
1328
+ if (!a.isUndefined(d))
1329
+ return r(void 0, d, c);
1330
+ } else
1331
+ return r(d, p, c);
1332
+ }
1333
+ function i(d, p) {
1334
+ if (!a.isUndefined(p))
1335
+ return r(void 0, p);
1336
+ }
1337
+ function o(d, p) {
1338
+ if (a.isUndefined(p)) {
1339
+ if (!a.isUndefined(d))
1340
+ return r(void 0, d);
1341
+ } else
1342
+ return r(void 0, p);
1343
+ }
1344
+ function l(d, p, c) {
1345
+ if (c in t)
1346
+ return r(d, p);
1347
+ if (c in n)
1348
+ return r(void 0, d);
1349
+ }
1350
+ const u = {
1351
+ url: i,
1352
+ method: i,
1353
+ data: i,
1354
+ baseURL: o,
1355
+ transformRequest: o,
1356
+ transformResponse: o,
1357
+ paramsSerializer: o,
1358
+ timeout: o,
1359
+ timeoutMessage: o,
1360
+ withCredentials: o,
1361
+ withXSRFToken: o,
1362
+ adapter: o,
1363
+ responseType: o,
1364
+ xsrfCookieName: o,
1365
+ xsrfHeaderName: o,
1366
+ onUploadProgress: o,
1367
+ onDownloadProgress: o,
1368
+ decompress: o,
1369
+ maxContentLength: o,
1370
+ maxBodyLength: o,
1371
+ beforeRedirect: o,
1372
+ transport: o,
1373
+ httpAgent: o,
1374
+ httpsAgent: o,
1375
+ cancelToken: o,
1376
+ socketPath: o,
1377
+ responseEncoding: o,
1378
+ validateStatus: l,
1379
+ headers: (d, p) => s(Tt(d), Tt(p), !0)
1380
+ };
1381
+ return a.forEach(Object.keys(Object.assign({}, n, t)), function(p) {
1382
+ const c = u[p] || s, g = c(n[p], t[p], p);
1383
+ a.isUndefined(g) && c !== l || (e[p] = g);
1384
+ }), e;
1385
+ }
1386
+ const Qt = "1.6.8", yt = {};
1387
+ ["object", "boolean", "number", "function", "string", "symbol"].forEach((n, t) => {
1388
+ yt[n] = function(r) {
1389
+ return typeof r === n || "a" + (t < 1 ? "n " : " ") + n;
1390
+ };
1391
+ });
1392
+ const Ot = {};
1393
+ yt.transitional = function(t, e, r) {
1394
+ function s(i, o) {
1395
+ return "[Axios v" + Qt + "] Transitional option '" + i + "'" + o + (r ? ". " + r : "");
1396
+ }
1397
+ return (i, o, l) => {
1398
+ if (t === !1)
1399
+ throw new y(
1400
+ s(o, " has been removed" + (e ? " in " + e : "")),
1401
+ y.ERR_DEPRECATED
1402
+ );
1403
+ return e && !Ot[o] && (Ot[o] = !0, console.warn(
1404
+ s(
1405
+ o,
1406
+ " has been deprecated since v" + e + " and will be removed in the near future"
1407
+ )
1408
+ )), t ? t(i, o, l) : !0;
1409
+ };
1410
+ };
1411
+ function hr(n, t, e) {
1412
+ if (typeof n != "object")
1413
+ throw new y("options must be an object", y.ERR_BAD_OPTION_VALUE);
1414
+ const r = Object.keys(n);
1415
+ let s = r.length;
1416
+ for (; s-- > 0; ) {
1417
+ const i = r[s], o = t[i];
1418
+ if (o) {
1419
+ const l = n[i], u = l === void 0 || o(l, i, n);
1420
+ if (u !== !0)
1421
+ throw new y("option " + i + " must be " + u, y.ERR_BAD_OPTION_VALUE);
1422
+ continue;
1423
+ }
1424
+ if (e !== !0)
1425
+ throw new y("Unknown option " + i, y.ERR_BAD_OPTION);
1426
+ }
1427
+ }
1428
+ const ct = {
1429
+ assertOptions: hr,
1430
+ validators: yt
1431
+ }, D = ct.validators;
1432
+ class G {
1433
+ constructor(t) {
1434
+ this.defaults = t, this.interceptors = {
1435
+ request: new Et(),
1436
+ response: new Et()
1437
+ };
1438
+ }
1439
+ /**
1440
+ * Dispatch a request
1441
+ *
1442
+ * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
1443
+ * @param {?Object} config
1444
+ *
1445
+ * @returns {Promise} The Promise to be fulfilled
1446
+ */
1447
+ async request(t, e) {
1448
+ try {
1449
+ return await this._request(t, e);
1450
+ } catch (r) {
1451
+ if (r instanceof Error) {
1452
+ let s;
1453
+ Error.captureStackTrace ? Error.captureStackTrace(s = {}) : s = new Error();
1454
+ const i = s.stack ? s.stack.replace(/^.+\n/, "") : "";
1455
+ r.stack ? i && !String(r.stack).endsWith(i.replace(/^.+\n.+\n/, "")) && (r.stack += `
1456
+ ` + i) : r.stack = i;
1457
+ }
1458
+ throw r;
1459
+ }
1460
+ }
1461
+ _request(t, e) {
1462
+ typeof t == "string" ? (e = e || {}, e.url = t) : e = t || {}, e = B(this.defaults, e);
1463
+ const { transitional: r, paramsSerializer: s, headers: i } = e;
1464
+ r !== void 0 && ct.assertOptions(r, {
1465
+ silentJSONParsing: D.transitional(D.boolean),
1466
+ forcedJSONParsing: D.transitional(D.boolean),
1467
+ clarifyTimeoutError: D.transitional(D.boolean)
1468
+ }, !1), s != null && (a.isFunction(s) ? e.paramsSerializer = {
1469
+ serialize: s
1470
+ } : ct.assertOptions(s, {
1471
+ encode: D.function,
1472
+ serialize: D.function
1473
+ }, !0)), e.method = (e.method || this.defaults.method || "get").toLowerCase();
1474
+ let o = i && a.merge(
1475
+ i.common,
1476
+ i[e.method]
1477
+ );
1478
+ i && a.forEach(
1479
+ ["delete", "get", "head", "post", "put", "patch", "common"],
1480
+ (f) => {
1481
+ delete i[f];
1482
+ }
1483
+ ), e.headers = P.concat(o, i);
1484
+ const l = [];
1485
+ let u = !0;
1486
+ this.interceptors.request.forEach(function(h) {
1487
+ typeof h.runWhen == "function" && h.runWhen(e) === !1 || (u = u && h.synchronous, l.unshift(h.fulfilled, h.rejected));
1488
+ });
1489
+ const d = [];
1490
+ this.interceptors.response.forEach(function(h) {
1491
+ d.push(h.fulfilled, h.rejected);
1492
+ });
1493
+ let p, c = 0, g;
1494
+ if (!u) {
1495
+ const f = [Rt.bind(this), void 0];
1496
+ for (f.unshift.apply(f, l), f.push.apply(f, d), g = f.length, p = Promise.resolve(e); c < g; )
1497
+ p = p.then(f[c++], f[c++]);
1498
+ return p;
1499
+ }
1500
+ g = l.length;
1501
+ let v = e;
1502
+ for (c = 0; c < g; ) {
1503
+ const f = l[c++], h = l[c++];
1504
+ try {
1505
+ v = f(v);
1506
+ } catch (S) {
1507
+ h.call(this, S);
1508
+ break;
1509
+ }
1510
+ }
1511
+ try {
1512
+ p = Rt.call(this, v);
1513
+ } catch (f) {
1514
+ return Promise.reject(f);
1515
+ }
1516
+ for (c = 0, g = d.length; c < g; )
1517
+ p = p.then(d[c++], d[c++]);
1518
+ return p;
1519
+ }
1520
+ getUri(t) {
1521
+ t = B(this.defaults, t);
1522
+ const e = Yt(t.baseURL, t.url);
1523
+ return zt(e, t.params, t.paramsSerializer);
1524
+ }
1525
+ }
1526
+ a.forEach(["delete", "get", "head", "options"], function(t) {
1527
+ G.prototype[t] = function(e, r) {
1528
+ return this.request(B(r || {}, {
1529
+ method: t,
1530
+ url: e,
1531
+ data: (r || {}).data
1532
+ }));
1533
+ };
1534
+ });
1535
+ a.forEach(["post", "put", "patch"], function(t) {
1536
+ function e(r) {
1537
+ return function(i, o, l) {
1538
+ return this.request(B(l || {}, {
1539
+ method: t,
1540
+ headers: r ? {
1541
+ "Content-Type": "multipart/form-data"
1542
+ } : {},
1543
+ url: i,
1544
+ data: o
1545
+ }));
1546
+ };
1547
+ }
1548
+ G.prototype[t] = e(), G.prototype[t + "Form"] = e(!0);
1549
+ });
1550
+ const W = G;
1551
+ class _t {
1552
+ constructor(t) {
1553
+ if (typeof t != "function")
1554
+ throw new TypeError("executor must be a function.");
1555
+ let e;
1556
+ this.promise = new Promise(function(i) {
1557
+ e = i;
1558
+ });
1559
+ const r = this;
1560
+ this.promise.then((s) => {
1561
+ if (!r._listeners)
1562
+ return;
1563
+ let i = r._listeners.length;
1564
+ for (; i-- > 0; )
1565
+ r._listeners[i](s);
1566
+ r._listeners = null;
1567
+ }), this.promise.then = (s) => {
1568
+ let i;
1569
+ const o = new Promise((l) => {
1570
+ r.subscribe(l), i = l;
1571
+ }).then(s);
1572
+ return o.cancel = function() {
1573
+ r.unsubscribe(i);
1574
+ }, o;
1575
+ }, t(function(i, o, l) {
1576
+ r.reason || (r.reason = new q(i, o, l), e(r.reason));
1577
+ });
1578
+ }
1579
+ /**
1580
+ * Throws a `CanceledError` if cancellation has been requested.
1581
+ */
1582
+ throwIfRequested() {
1583
+ if (this.reason)
1584
+ throw this.reason;
1585
+ }
1586
+ /**
1587
+ * Subscribe to the cancel signal
1588
+ */
1589
+ subscribe(t) {
1590
+ if (this.reason) {
1591
+ t(this.reason);
1592
+ return;
1593
+ }
1594
+ this._listeners ? this._listeners.push(t) : this._listeners = [t];
1595
+ }
1596
+ /**
1597
+ * Unsubscribe from the cancel signal
1598
+ */
1599
+ unsubscribe(t) {
1600
+ if (!this._listeners)
1601
+ return;
1602
+ const e = this._listeners.indexOf(t);
1603
+ e !== -1 && this._listeners.splice(e, 1);
1604
+ }
1605
+ /**
1606
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
1607
+ * cancels the `CancelToken`.
1608
+ */
1609
+ static source() {
1610
+ let t;
1611
+ return {
1612
+ token: new _t(function(s) {
1613
+ t = s;
1614
+ }),
1615
+ cancel: t
1616
+ };
1617
+ }
1618
+ }
1619
+ const mr = _t;
1620
+ function yr(n) {
1621
+ return function(e) {
1622
+ return n.apply(null, e);
1623
+ };
1624
+ }
1625
+ function _r(n) {
1626
+ return a.isObject(n) && n.isAxiosError === !0;
1627
+ }
1628
+ const ut = {
1629
+ Continue: 100,
1630
+ SwitchingProtocols: 101,
1631
+ Processing: 102,
1632
+ EarlyHints: 103,
1633
+ Ok: 200,
1634
+ Created: 201,
1635
+ Accepted: 202,
1636
+ NonAuthoritativeInformation: 203,
1637
+ NoContent: 204,
1638
+ ResetContent: 205,
1639
+ PartialContent: 206,
1640
+ MultiStatus: 207,
1641
+ AlreadyReported: 208,
1642
+ ImUsed: 226,
1643
+ MultipleChoices: 300,
1644
+ MovedPermanently: 301,
1645
+ Found: 302,
1646
+ SeeOther: 303,
1647
+ NotModified: 304,
1648
+ UseProxy: 305,
1649
+ Unused: 306,
1650
+ TemporaryRedirect: 307,
1651
+ PermanentRedirect: 308,
1652
+ BadRequest: 400,
1653
+ Unauthorized: 401,
1654
+ PaymentRequired: 402,
1655
+ Forbidden: 403,
1656
+ NotFound: 404,
1657
+ MethodNotAllowed: 405,
1658
+ NotAcceptable: 406,
1659
+ ProxyAuthenticationRequired: 407,
1660
+ RequestTimeout: 408,
1661
+ Conflict: 409,
1662
+ Gone: 410,
1663
+ LengthRequired: 411,
1664
+ PreconditionFailed: 412,
1665
+ PayloadTooLarge: 413,
1666
+ UriTooLong: 414,
1667
+ UnsupportedMediaType: 415,
1668
+ RangeNotSatisfiable: 416,
1669
+ ExpectationFailed: 417,
1670
+ ImATeapot: 418,
1671
+ MisdirectedRequest: 421,
1672
+ UnprocessableEntity: 422,
1673
+ Locked: 423,
1674
+ FailedDependency: 424,
1675
+ TooEarly: 425,
1676
+ UpgradeRequired: 426,
1677
+ PreconditionRequired: 428,
1678
+ TooManyRequests: 429,
1679
+ RequestHeaderFieldsTooLarge: 431,
1680
+ UnavailableForLegalReasons: 451,
1681
+ InternalServerError: 500,
1682
+ NotImplemented: 501,
1683
+ BadGateway: 502,
1684
+ ServiceUnavailable: 503,
1685
+ GatewayTimeout: 504,
1686
+ HttpVersionNotSupported: 505,
1687
+ VariantAlsoNegotiates: 506,
1688
+ InsufficientStorage: 507,
1689
+ LoopDetected: 508,
1690
+ NotExtended: 510,
1691
+ NetworkAuthenticationRequired: 511
1692
+ };
1693
+ Object.entries(ut).forEach(([n, t]) => {
1694
+ ut[t] = n;
1695
+ });
1696
+ const gr = ut;
1697
+ function Zt(n) {
1698
+ const t = new W(n), e = Lt(W.prototype.request, t);
1699
+ return a.extend(e, W.prototype, t, { allOwnKeys: !0 }), a.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(s) {
1700
+ return Zt(B(n, s));
1701
+ }, e;
1702
+ }
1703
+ const w = Zt(mt);
1704
+ w.Axios = W;
1705
+ w.CanceledError = q;
1706
+ w.CancelToken = mr;
1707
+ w.isCancel = Kt;
1708
+ w.VERSION = Qt;
1709
+ w.toFormData = Z;
1710
+ w.AxiosError = y;
1711
+ w.Cancel = w.CanceledError;
1712
+ w.all = function(t) {
1713
+ return Promise.all(t);
1714
+ };
1715
+ w.spread = yr;
1716
+ w.isAxiosError = _r;
1717
+ w.mergeConfig = B;
1718
+ w.AxiosHeaders = P;
1719
+ w.formToJSON = (n) => Gt(a.isHTMLForm(n) ? new FormData(n) : n);
1720
+ w.getAdapter = Xt.getAdapter;
1721
+ w.HttpStatusCode = gr;
1722
+ w.default = w;
1723
+ const br = {
1724
+ STAGING: "1-YPHL7bIic4W23TDLdCmGl4PouFUvJoj98DLxgwIqQ",
1725
+ SANDBOX: "1-YPHL7bIic4W23TDLdCmGl4PouFUvJoj98DLxgwIqQ",
1726
+ LOCAL: "1-YPHL7bIic4W23TDLdCmGl4PouFUvJoj98DLxgwIqQ",
1727
+ LIVE: "1-YPHL7bIic4W23TDLdCmGl4PouFUvJoj98DLxgwIqQ"
1728
+ }, wr = window.RevolugoElements.config.apiEnvironment, te = br[wr], H = (n, t) => {
1729
+ if (!n)
1730
+ throw new Error(t || "unknown assertion error");
1731
+ };
1732
+ var b = /* @__PURE__ */ ((n) => (n.AIRPORT = "airport", n.BUS = "bus", n.SUBWAY = "subway", n.TRAIN = "train", n.TRAM = "tram", n))(b || {});
1733
+ const xr = (n, t) => (H(n, "Missing latitude arg"), H(n, "Missing latitude arg"), H(t, "Missing longitude arg"), w({
1734
+ baseURL: "https://places.ls.hereapi.com",
1735
+ method: "GET",
1736
+ url: `/places/v1/discover/explore?at=${n},${t}&apiKey=${te}&cat=sights-museums`
1737
+ }).then((e) => {
1738
+ var r, s;
1739
+ return (s = (r = e == null ? void 0 : e.data) == null ? void 0 : r.results) == null ? void 0 : s.items;
1740
+ })), Sr = async (n, t, e = 500) => {
1741
+ H(n, "Missing latitude arg"), H(t, "Missing longitude arg");
1742
+ const s = (await w({
1743
+ baseURL: "https://transit.hereapi.com/",
1744
+ method: "GET",
1745
+ url: `/v8/stations?in=${n},${t}&return=transport&maxPlaces=15&r=${e}&apiKey=${te}`
1746
+ }).then((o) => o.data.stations)).reduce((o, l) => {
1747
+ const { place: u, transports: d } = l;
1748
+ if (!d || !d.length)
1749
+ return o;
1750
+ o[u.name] = o[u.name] || {
1751
+ lines: {},
1752
+ location: {
1753
+ lat: u.location.lat,
1754
+ lng: u.location.lng
1755
+ },
1756
+ name: u.name
1757
+ };
1758
+ const p = d.reduce(
1759
+ (c, g) => (c[g.mode] = c[g.mode] || {}, c[g.mode][g.name] = {
1760
+ color: g.color,
1761
+ name: g.name,
1762
+ textColor: g.textColor
1763
+ }, c),
1764
+ // eslint-disable-next-line @typescript-eslint/prefer-reduce-type-parameter
1765
+ {}
1766
+ );
1767
+ return o[u.name].lines = ae(o[u.name].lines, p), o;
1768
+ }, {});
1769
+ return pt(
1770
+ Object.keys(s).map((o) => ({
1771
+ ...s[o],
1772
+ lines: le(
1773
+ s[o].lines,
1774
+ (l) => Object.keys(l).map(
1775
+ (u) => l[u]
1776
+ )
1777
+ )
1778
+ })),
1779
+ (o) => {
1780
+ var l, u;
1781
+ return ((l = o.lines.subway) == null ? void 0 : l.length) + (((u = o.lines.train) == null ? void 0 : u.length) ?? 0);
1782
+ }
1783
+ );
1784
+ }, Er = {
1785
+ latitude: { type: Number },
1786
+ longitude: { type: Number }
1787
+ }, Cr = U.extend({
1788
+ mixins: [F("components/ui/BNearbyAttractions")],
1789
+ props: Er,
1790
+ data() {
1791
+ return {
1792
+ nearbyAttractions: []
1793
+ };
1794
+ },
1795
+ async created() {
1796
+ this.nearbyAttractions = await xr(
1797
+ this.latitude,
1798
+ this.longitude
1799
+ ).then(
1800
+ (n) => pt(
1801
+ n.filter(
1802
+ (t) => t.distance <= 1300 && t.category.id !== "hotel"
1803
+ ),
1804
+ "distance"
1805
+ ).slice(0, 7)
1806
+ ).catch(() => []);
1807
+ },
1808
+ methods: {
1809
+ attractionIcon(n) {
1810
+ switch (n) {
1811
+ case "bar-pub":
1812
+ return "glass-cheers";
1813
+ case "cinema":
1814
+ return "film";
1815
+ case "facility":
1816
+ case "government-community-facility":
1817
+ case "mall":
1818
+ return "shopping-bag";
1819
+ case "food-drink":
1820
+ case "restaurant":
1821
+ return "utensils";
1822
+ case "going-out":
1823
+ return "glass-cheers";
1824
+ case "landmark-attraction":
1825
+ return "archway";
1826
+ case "museum":
1827
+ case "sights-museums":
1828
+ return "landmark";
1829
+ case "religious-place":
1830
+ return "church";
1831
+ case "theatre-music-culture":
1832
+ return "theater-masks";
1833
+ default:
1834
+ return "map-marker";
1835
+ }
1836
+ }
1837
+ }
1838
+ });
1839
+ var vr = function() {
1840
+ var t = this, e = t._self._c;
1841
+ return t._self._setupProxy, t.nearbyAttractions.length ? e("div", [e(_, [e(m, [e("p", { staticClass: "mb-2 subtitle-2 primary--text font-weight-bold" }, [t._v(" " + t._s(t.$t("BNearbyAttractions.title")) + " ")])])], 1), t._l(t.nearbyAttractions, function(r) {
1842
+ return e(K, { key: r.id, attrs: { attach: t.$parent.$el, bottom: "", "max-width": "230px" }, scopedSlots: t._u([{ key: "activator", fn: function({ on: s, attrs: i }) {
1843
+ return [e(_, t._g(t._b({ staticClass: "mt-0 mt-sm-1 mt-md-0", attrs: { "no-gutters": "" } }, "v-row", i, !1), s), [e(m, { staticClass: "d-flex flex-column", attrs: { cols: "8" } }, [e("p", { staticClass: "mb-0 black--text caption" }, [e(C, { staticClass: "attraction-icon", attrs: { color: "secondary", size: "14" } }, [t._v(" " + t._s(`fa-${t.attractionIcon(r.category.id)}`) + " ")]), e("span", { staticClass: "ml-2" }, [t._v(t._s(r.title))])], 1)]), e(m, { staticClass: "d-flex flex-column text-right", attrs: { cols: "4" } }, [e("p", { staticClass: "mb-0 black--text caption text-no-wrap" }, [t._v(" " + t._s(Math.ceil(r.distance / 83)) + "min "), e(C, { attrs: { color: "secondary", size: "14" } }, [t._v(" fa-walking ")])], 1)])], 1)];
1844
+ } }], null, !0) }, [e("span", { staticClass: "subtitle-2" }, [t._v(" " + t._s(t.$t(`BNearbyAttractions.list.${r.category.id}`)) + " ")])]);
1845
+ })], 2) : t._e();
1846
+ }, kr = [], Rr = /* @__PURE__ */ $(
1847
+ Cr,
1848
+ vr,
1849
+ kr,
1850
+ !1,
1851
+ null,
1852
+ "29d80119",
1853
+ null,
1854
+ null
1855
+ );
1856
+ const Tr = Rr.exports, Or = {
1857
+ attach: {
1858
+ required: !0,
1859
+ type: Element
1860
+ },
1861
+ latitude: { type: Number },
1862
+ longitude: { type: Number }
1863
+ }, Ar = U.extend({
1864
+ name: "BNearbyStations",
1865
+ mixins: [F("components/ui/BNearbyStations")],
1866
+ props: Or,
1867
+ data() {
1868
+ return {
1869
+ stations: [],
1870
+ transitModes: [
1871
+ b.SUBWAY,
1872
+ b.TRAM,
1873
+ b.BUS,
1874
+ b.TRAIN,
1875
+ b.AIRPORT
1876
+ ]
1877
+ };
1878
+ },
1879
+ async created() {
1880
+ this.stations = await Sr(this.latitude, this.longitude).then(
1881
+ (n) => n.slice(0, 6)
1882
+ );
1883
+ },
1884
+ methods: {
1885
+ sortTransitModes(n) {
1886
+ return pt(
1887
+ n,
1888
+ (t) => ce(
1889
+ [
1890
+ b.AIRPORT,
1891
+ b.SUBWAY,
1892
+ b.TRAM,
1893
+ b.BUS,
1894
+ b.TRAIN
1895
+ ],
1896
+ t
1897
+ )
1898
+ );
1899
+ },
1900
+ nearbyStationsIcon(n) {
1901
+ switch (n) {
1902
+ case b.AIRPORT:
1903
+ return "fa-plane";
1904
+ case b.BUS:
1905
+ return "fa-bus";
1906
+ case b.SUBWAY:
1907
+ return "fa-subway";
1908
+ case b.TRAIN:
1909
+ return "fa-train";
1910
+ case b.TRAM:
1911
+ return "fa-train";
1912
+ default:
1913
+ return "";
1914
+ }
1915
+ },
1916
+ nearbyStationsText(n) {
1917
+ switch (n) {
1918
+ case b.AIRPORT:
1919
+ return this.$t("BNearbyStations.airport");
1920
+ case b.BUS:
1921
+ return this.$t("BNearbyStations.bus");
1922
+ case b.SUBWAY:
1923
+ return this.$t("BNearbyStations.subway");
1924
+ case b.TRAIN:
1925
+ return this.$t("BNearbyStations.train");
1926
+ case b.TRAM:
1927
+ return this.$t("BNearbyStations.tram");
1928
+ default:
1929
+ return "";
1930
+ }
1931
+ }
1932
+ }
1933
+ });
1934
+ var Pr = function() {
1935
+ var t = this, e = t._self._c;
1936
+ return t._self._setupProxy, t.stations && t.stations.length ? e(K, { attrs: { attach: t.$parent.$el, color: "white", "content-class": "elevation-1", right: "" }, scopedSlots: t._u([{ key: "activator", fn: function({ on: r, attrs: s }) {
1937
+ return [e("span", t._g(t._b({ staticClass: "mr-2 align-center text-caption", style: { cursor: "help" } }, "span", s, !1), r), [e(C, { staticClass: "mr-1", attrs: { color: "primary", size: "12" } }, [t._v(" fa-bus-simple ")]), e("span", { staticClass: "font-weight-regular grey--text text--darken-2" }, [t._v(t._s(t.$t("BNearbyStations.nearbyStations")))])], 1)];
1938
+ } }], null, !1, 693892761) }, [e("b", { staticClass: "grey--text text--darken-4" }, [t._v(t._s(t.$t("BNearbyStations.nearbyStationsRadius", { radius: 500 })) + ": ")]), t._l(t.stations, function(r) {
1939
+ return [e("p", { key: r.name, staticClass: "grey--text text--darken-2 ma-0" }, [e("i", [e("b", [t._v(t._s(r.name))])]), t._l(t.sortTransitModes(Object.keys(r.lines)), function(s) {
1940
+ return [e("p", { key: s, staticClass: "mt-1 mb-0 ml-2 text-caption" }, [e("span", { staticClass: "mr-2" }, [t._v(t._s(t.nearbyStationsText(s)) + ":")]), t._l(r.lines[s], function(i) {
1941
+ return e(Ee, { key: i.name, staticClass: "mr-1 rounded-circle", style: {
1942
+ color: i.textColor
1943
+ }, attrs: { color: i.color, inline: "", size: "20" }, scopedSlots: t._u([{ key: "badge", fn: function() {
1944
+ return [e("b", [t._v(t._s(i.name))])];
1945
+ }, proxy: !0 }], null, !0) });
1946
+ })], 2)];
1947
+ })], 2)];
1948
+ })], 2) : t._e();
1949
+ }, Nr = [], Lr = /* @__PURE__ */ $(
1950
+ Ar,
1951
+ Pr,
1952
+ Nr,
1953
+ !1,
1954
+ null,
1955
+ "05aa628f",
1956
+ null,
1957
+ null
1958
+ );
1959
+ const Dr = Lr.exports, $r = {
1960
+ PreferencesMenu: !1
1961
+ }, Br = {
1962
+ features: {
1963
+ default: () => $r,
1964
+ type: [Object, String]
1965
+ },
1966
+ hotelId: { type: String }
1967
+ }, Ur = U.extend({
1968
+ name: "HotelDescriptionView",
1969
+ components: {
1970
+ HotelDescriptionViewLayout: Nt,
1971
+ HotelDescriptionViewError: Ke,
1972
+ BImageCarousel: we,
1973
+ BStarRating: Ce,
1974
+ BTripAdvisorRatingWidget: ve,
1975
+ BNearbyAttractions: Tr,
1976
+ BNearbyStations: Dr,
1977
+ BGoogleMapIframe: xe,
1978
+ BReviewRating: ke,
1979
+ BTravelTimes: Me,
1980
+ PreferencesMenu: en
1981
+ },
1982
+ mixins: [
1983
+ F("components/RevolugoElements/HotelDescriptionView"),
1984
+ At,
1985
+ Re({
1986
+ fallbackValue: {},
1987
+ propsName: "features"
1988
+ }),
1989
+ Te(["bookingApiClient", "$i18n.locale"], "retrieveHotel")
1990
+ ],
1991
+ props: Br,
1992
+ data() {
1993
+ return {
1994
+ errorMessage: null,
1995
+ hotel: void 0,
1996
+ isLoading: !1,
1997
+ isSuccessSnackbarDisplayed: !1,
1998
+ successSnackbarMessage: null
1999
+ };
2000
+ },
2001
+ computed: {
2002
+ showOnMap() {
2003
+ var n;
2004
+ if ((n = this.hotel) != null && n.address) {
2005
+ const t = this.hotel.address.split(" ").join("+");
2006
+ return {
2007
+ link: `https://www.google.com/maps?q=${t},+${this.hotel.city}`,
2008
+ iframe: `https://maps.google.com/maps?q=${t},+${this.hotel.city}&output=embed`
2009
+ };
2010
+ }
2011
+ return null;
2012
+ },
2013
+ imageUrls() {
2014
+ var n, t;
2015
+ return Se({
2016
+ hotelImages: (n = this.hotel) == null ? void 0 : n.hotelImages,
2017
+ images: (t = this.hotel) == null ? void 0 : t.images
2018
+ });
2019
+ },
2020
+ amenities() {
2021
+ let n = [];
2022
+ return this.hotel && this.hotel.amenities ? (n = Object.keys(this.hotel.amenities).filter(
2023
+ (t) => {
2024
+ var e;
2025
+ return ((e = this.hotel) == null ? void 0 : e.amenities)[t];
2026
+ }
2027
+ ), n.sort(
2028
+ (t, e) => (
2029
+ // eslint-disable-next-line @typescript-eslint/no-base-to-string
2030
+ this.$t(`HotelDescriptionView.amenityList.${t}`).toString().length - // eslint-disable-next-line @typescript-eslint/no-base-to-string
2031
+ this.$t(`HotelDescriptionView.amenityList.${e}`).toString().length
2032
+ )
2033
+ )) : null;
2034
+ },
2035
+ venueTravelTimes() {
2036
+ var n;
2037
+ return (n = this.hotel) == null ? void 0 : n.venues;
2038
+ }
2039
+ },
2040
+ watch: {
2041
+ hotelId: {
2042
+ immediate: !0,
2043
+ async handler() {
2044
+ await this.retrieveHotel();
2045
+ }
2046
+ }
2047
+ },
2048
+ methods: {
2049
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2050
+ retrieveHotel: ue(async function() {
2051
+ var t, e, r;
2052
+ if (this.hotel = void 0, this.isLoading = !0, !!this.hotelId)
2053
+ try {
2054
+ this.errorMessage = null, this.hotel = await ((e = this.bookingApiClient) == null ? void 0 : e.hotels.retrieve({
2055
+ id: this.hotelId,
2056
+ lang: this.config.lang,
2057
+ event: (t = this.config.eventMetadata) == null ? void 0 : t.name
2058
+ })), this.$eventBus.$emit(re.HOTEL_RETRIEVED, this.hotel);
2059
+ } catch (s) {
2060
+ this.errorMessage = ((r = s == null ? void 0 : s.response) == null ? void 0 : r.statusText) || " ";
2061
+ } finally {
2062
+ this.isLoading = !1;
2063
+ }
2064
+ }, 50),
2065
+ toSnakeCase(n) {
2066
+ return pe(n);
2067
+ },
2068
+ async copyAddress() {
2069
+ try {
2070
+ if (!this.hotel)
2071
+ return;
2072
+ await navigator.clipboard.writeText(
2073
+ this.$t("HotelDescriptionView.fullAddress", {
2074
+ address: this.hotel.address,
2075
+ postalCode: this.hotel.postalCode,
2076
+ city: this.hotel.city,
2077
+ countryCode: this.hotel.countryCode
2078
+ })
2079
+ ), this.successSnackbarMessage = this.$t(
2080
+ "HotelDescriptionView.fullAddressCopied"
2081
+ ), this.isSuccessSnackbarDisplayed = !0;
2082
+ } catch {
2083
+ console.log("error");
2084
+ }
2085
+ },
2086
+ async copyBookingLinePhone() {
2087
+ try {
2088
+ await navigator.clipboard.writeText("+33180066288"), this.successSnackbarMessage = this.$t(
2089
+ "HotelDescriptionView.bookingLine.copied"
2090
+ ), this.isSuccessSnackbarDisplayed = !0;
2091
+ } catch {
2092
+ console.log("error");
2093
+ }
2094
+ }
2095
+ }
2096
+ });
2097
+ var Fr = function() {
2098
+ var t = this, e = t._self._c;
2099
+ return t._self._setupProxy, e("div", [t.isBookingApiClientDefined ? t.hotel ? [e("hotel-description-view-layout", { key: "filled", scopedSlots: t._u([{ key: "name", fn: function() {
2100
+ return [e(_, { attrs: { dense: "" } }, [t.hotel.name ? e(m, { attrs: { cols: "12", order: "2", "order-sm": "1", sm: "10" } }, [e("span", { staticClass: "text-h5 font-weight-bold ma-0" }, [t._v(" " + t._s(t.hotel.name) + " ")]), e(K, { attrs: { attach: t.$el, bottom: "" }, scopedSlots: t._u([{ key: "activator", fn: function({ on: r, attrs: s }) {
2101
+ return [e("span", t._g(t._b({}, "span", s, !1), r), [e("b-star-rating", { attrs: { count: t.hotel.rating } })], 1)];
2102
+ } }], null, !1, 861605338) }, [e("span", [t._v(t._s(t.$t("HotelDescriptionView.starRating")))])])], 1) : t._e(), t.parsedFeatures.PreferencesMenu ? e(m, { staticClass: "text-right", attrs: { "offset-sm": 0, order: "1", sm: "2" } }, [e("preferences-menu", { attrs: { compact: !1, direction: "bottom" } })], 1) : t._e()], 1)];
2103
+ }, proxy: !0 }, { key: "review-rating", fn: function() {
2104
+ return [e("b-review-rating", { attrs: { features: {
2105
+ ReviewRatingDetails: !0
2106
+ }, hotel: t.hotel, "tooltip-position": "left" } })];
2107
+ }, proxy: !0 }, { key: "address", fn: function() {
2108
+ return [t.hotel.address && t.hotel.city ? [e("a", { staticClass: "text-decoration-none text-caption", attrs: { target: "_blank" }, on: { click: function(r) {
2109
+ return r.stopPropagation(), r.preventDefault(), t.copyAddress.apply(null, arguments);
2110
+ } } }, [e("span", { staticClass: "ma-0" }, [e(C, { staticClass: "mr-1", attrs: { color: "primary", size: "12" } }, [t._v(" fa-map-marker-alt ")]), e("span", { staticClass: "grey--text text--darken-2" }, [t._v(" " + t._s(t.$t("HotelDescriptionView.fullAddress", { address: t.hotel.address, postalCode: t.hotel.postalCode, city: t.hotel.city, countryCode: t.hotel.countryCode })) + " ")])], 1)])] : [e("span")]];
2111
+ }, proxy: !0 }, { key: "showOnMap", fn: function() {
2112
+ var r;
2113
+ return [t.hotel.address && t.hotel.city ? [(r = t.showOnMap) != null && r.link ? e("a", { staticClass: "text-decoration-none text-caption", attrs: { href: t.showOnMap.link, target: "_blank" } }, [e("span", { staticClass: "ma-0 d-inline-flex align-center" }, [e(C, { staticClass: "mr-1", attrs: { color: "primary", size: "12" } }, [t._v(" fa-map ")]), e("span", { staticClass: "font-weight-regular grey--text text--darken-2" }, [t._v(t._s(t.$t("HotelDescriptionView.showOnMap")))])], 1)]) : t._e()] : [e("span")]];
2114
+ }, proxy: !0 }, { key: "nearby-stations", fn: function() {
2115
+ return [t.hotel.latitude && t.hotel.longitude ? [e("b-nearby-stations", { attrs: { attach: t.$el, latitude: t.hotel.latitude, longitude: t.hotel.longitude } })] : [e("span")]];
2116
+ }, proxy: !0 }, { key: "travel-times", fn: function() {
2117
+ return [e("b-travel-times", { style: {
2118
+ height: "24px"
2119
+ }, attrs: { "venue-travel-times": t.venueTravelTimes } })];
2120
+ }, proxy: !0 }, { key: "carousel", fn: function() {
2121
+ var r, s;
2122
+ return [t.hotel.images ? [e("b-image-carousel", { attrs: { height: "410px", "image-urls": (r = t.imageUrls) == null ? void 0 : r.highres, rounded: "", "show-thumbnails": "", "thumbnail-urls": (s = t.imageUrls) == null ? void 0 : s.thumbnails, "thumbnails-height": "70px", width: "100%" } })] : [e("div")]];
2123
+ }, proxy: !0 }, { key: "description", fn: function() {
2124
+ return [t.hotel.description ? [e(k, { attrs: { elevation: "0", outlined: "" } }, [e(T, [e(_, { attrs: { "no-gutters": "" } }, [e(m, [e("p", { staticClass: "mb-0" }, [e(C, { staticClass: "mr-1", attrs: { color: "primary accent-2", size: "18" } }, [t._v(" fa-h-square ")]), e("span", { staticClass: "black--text" }, [t._v(t._s(t.$t("HotelDescriptionView.description")))])], 1)])], 1), e(gt, { staticClass: "mt-2 mb-4" }), e("div", { staticClass: "d-flex flex-column align-end" }, [e("div", { ref: "hotelDescription", staticClass: "hotel-description body-2 black--text mb-0 w-100", domProps: { innerHTML: t._s(t.hotel.description) } })]), t.hotel.policy ? e(Oe, { staticClass: "mt-4", attrs: { flat: "" } }, [e(Ae, [e(Pe, { staticClass: "pa-0" }, [e("p", { staticClass: "mb-0" }, [e(C, { staticClass: "mr-2 mb-1", attrs: { color: "primary accent-2", size: "18" } }, [t._v(" fa-clipboard ")]), e("span", { staticClass: "black--text text-body-1" }, [t._v(t._s(t.$t("HotelDescriptionView.conditions")))])], 1)]), e(Ne, [e("div", { domProps: { innerHTML: t._s(t.hotel.policy) } })])], 1)], 1) : t._e()], 1)], 1), t._t("hotel-room-offer-list")] : [e("span")]];
2125
+ }, proxy: !0 }, t.$slots["request-summary"] ? { key: "request-summary", fn: function() {
2126
+ return [t._t("request-summary")];
2127
+ }, proxy: !0 } : null, { key: "event", fn: function() {
2128
+ var r;
2129
+ return [(r = t.config.eventMetadata) != null && r.name ? [e(k, { staticClass: "flex-grow-1", attrs: { elevation: "0", outlined: "" } }, [e(T, [e(_, { staticClass: "text-center" }, [t.config.eventMetadata.imageURL ? e(m, { attrs: { align: "center", cols: "6", md: "12" } }, [e(Pt, { attrs: { "content-class": "w-100 mx-auto", "lazy-src": t.config.eventMetadata.imageURL, "max-width": "300", src: t.config.eventMetadata.imageURL } })], 1) : t._e(), e(m, { attrs: { "align-self": "center" } }, [e("span", { staticClass: "primary--text font-weight-bold" }, [t._v(" " + t._s(t.config.eventMetadata.name) + " ")])])], 1)], 1)], 1)] : t._e()];
2130
+ }, proxy: !0 }, { key: "booking-line", fn: function() {
2131
+ return [e(_, { attrs: { dense: "" } }, [e(m, [e(it, { staticClass: "text-center", attrs: { block: "", color: "secondary", depressed: "", href: "tel:+33180066288", small: "" } }, [e("span", [e(C, { staticClass: "mr-2", attrs: { color: "white", size: "12" } }, [t._v(" fa-phone ")]), e("small", { staticClass: "mr-2" }, [t._v("Booking Line")]), e("small", [t._v(" +33 1 80 06 62 88")])], 1), e(gt, { staticClass: "mx-4", attrs: { color: "white", vertical: "" } }), e(C, { attrs: { color: "white", size: "12" }, on: { click: function(r) {
2132
+ return r.stopPropagation(), r.preventDefault(), t.copyBookingLinePhone.apply(null, arguments);
2133
+ } } }, [t._v(" fa-copy ")])], 1), e(Le, { attrs: { color: "success", "content-class": "text-center", elevation: "0", "max-width": "50px", right: "", timeout: 4500, top: "" }, scopedSlots: t._u([{ key: "action", fn: function({ attrs: r }) {
2134
+ return [e(it, t._b({ attrs: { color: "white", text: "" }, on: { click: function(s) {
2135
+ t.isCopySnackbarDisplayed = !1;
2136
+ } } }, "v-btn", r, !1), [e(C, { attrs: { color: "white", size: "16" } }, [t._v(" fa-times ")])], 1)];
2137
+ } }]), model: { value: t.isSuccessSnackbarDisplayed, callback: function(r) {
2138
+ t.isSuccessSnackbarDisplayed = r;
2139
+ }, expression: "isSuccessSnackbarDisplayed" } }, [e("span", { staticClass: "white--text" }, [e(C, { staticClass: "mr-3", attrs: { color: "white", size: "12" } }, [t._v(" fa-check ")]), t._v(" " + t._s(t.successSnackbarMessage) + " ")], 1)])], 1)], 1)];
2140
+ }, proxy: !0 }, { key: "checkin-checkout", fn: function() {
2141
+ return [e(_, { attrs: { dense: "" } }, [e(m, { staticClass: "d-flex flex-column" }, [e("p", { staticClass: "subtitle-2 mb-0" }, [e("b", { staticClass: "primary--text font-weight-bold text-no-wrap" }, [t._v(t._s(t.$t("HotelDescriptionView.checkInTime")))]), e("span", { staticClass: "subtitle-2 text-no-wrap" }, [t._v("  " + t._s(t.hotel.checkInTime || "4:00 PM") + " ")])])]), e(m, { staticClass: "d-flex flex-column" }, [e("p", { staticClass: "subtitle-2 mb-0" }, [e("b", { staticClass: "primary--text font-weight-bold text-no-wrap" }, [t._v(t._s(t.$t("HotelDescriptionView.checkOutTime")))]), e("span", { staticClass: "subtitle-2 text-no-wrap" }, [t._v("  " + t._s(t.hotel.checkOutTime || "10:00 AM") + " ")])])])], 1)];
2142
+ }, proxy: !0 }, { key: "amenities", fn: function() {
2143
+ return [t.hotel.amenities ? [e(k, { staticClass: "flex-grow-1", attrs: { elevation: "0", outlined: "" } }, [e(T, [e(_, [e(m, [e("span", { staticClass: "primary--text font-weight-bold" }, [t._v(" " + t._s(t.$t("HotelDescriptionView.amenities")) + " ")])])], 1), e(_, { attrs: { justify: "start" } }, t._l(t.amenities, function(r) {
2144
+ return e(m, { key: r, staticClass: "py-1", attrs: { cols: "auto" } }, [e("p", { staticClass: "ma-0 subtitle-2" }, [e("i", { class: `font-weight-bold secondary--text amenities-icon-${t.toSnakeCase(
2145
+ r
2146
+ )} mr-2` }), e("span", { staticClass: "font-weight-regular" }, [t._v(" " + t._s(t.$t(`HotelDescriptionView.amenityList.${r}`)) + " ")])])]);
2147
+ }), 1)], 1)], 1)] : [e("div")]];
2148
+ }, proxy: !0 }, { key: "map-widget", fn: function() {
2149
+ return [t.hotel.city && t.hotel.address ? [e(k, { staticClass: "pa-0", attrs: { elevation: "0", outlined: "" } }, [e("b-google-map-iframe", { attrs: { address: t.hotel.address, city: t.hotel.city, height: "150px", width: "100%" } })], 1)] : [e("div")]];
2150
+ }, proxy: !0 }, { key: "points-of-interest", fn: function() {
2151
+ return [t.hotel.latitude && t.hotel.longitude ? [e(k, { attrs: { elevation: "0", outlined: "" } }, [e(T, [e(_, [e(m, [e("b-nearby-attractions", { attrs: { latitude: t.hotel.latitude, longitude: t.hotel.longitude } })], 1)], 1)], 1)], 1)] : [e("div")]];
2152
+ }, proxy: !0 }], null, !0) }, [e("div")])] : [t.errorMessage ? [e("hotel-description-view-error", { attrs: { "error-message": t.errorMessage } })] : [e("hotel-description-view-layout", { key: "loading" })]] : void 0], 2);
2153
+ }, Mr = [], Ir = /* @__PURE__ */ $(
2154
+ Ur,
2155
+ Fr,
2156
+ Mr,
2157
+ !1,
2158
+ null,
2159
+ "9d7e2e6a",
2160
+ null,
2161
+ null
2162
+ );
2163
+ const ps = Ir.exports;
2164
+ ne("css/revolugo.hoteldescriptionview.9ofE1uWG.css");
2165
+ export {
2166
+ Me as B,
2167
+ ps as H,
2168
+ en as P,
2169
+ $r as a,
2170
+ te as b,
2171
+ w as c,
2172
+ Br as h
2173
+ };
2174
+ //# sourceMappingURL=revolugo.hoteldescriptionview.C9XjZcdv.min.js.map