@revolugo/elements 6.8.2-beta.4 → 6.8.2-beta.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +1 -0
  2. package/dist/css/revolugo.bhoteloffersfilterbar.C39ZGXGp.css +1 -0
  3. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +1 -0
  4. package/dist/css/revolugo.bstarrating.CPHKEfup.css +1 -0
  5. package/dist/css/{revolugo.btag.g-q3eChG.css → revolugo.btag.CYbY5J61.css} +1 -1
  6. package/dist/css/revolugo.cancellationpoliciesbadge.CzUQOfdk.css +1 -0
  7. package/dist/css/{revolugo.hoteldescriptionview.CqUUU1fv.css → revolugo.hoteldescriptionview.BxLcWaQg.css} +1 -1
  8. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
  9. package/dist/css/{revolugo.hoteloffersmap.2oSkomDb.css → revolugo.hoteloffersmap.Cp2vN-VQ.css} +1 -1
  10. package/dist/css/revolugo.hoteloffersview.CNI6b2S9.css +1 -0
  11. package/dist/css/revolugo.hotelroomofferlist.-6YLPyqb.css +1 -0
  12. package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
  13. package/dist/css/revolugo.langpickerbtn.CIk3LbQ0.css +1 -0
  14. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
  15. package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
  16. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
  17. package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
  18. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
  19. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  20. package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
  21. package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
  22. package/dist/css/{revolugo.vsnackbar.Cj7AcupY.css → revolugo.vsnackbar.CCfuo3ao.css} +1 -1
  23. package/dist/css/{revolugo.vtextarea.HYL6WUNS.css → revolugo.vtextarea.Dxy6uSvm.css} +1 -1
  24. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
  25. package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +2 -2
  26. package/dist/index.es.min.js +2006 -2211
  27. package/dist/index.es.min.js.map +1 -1
  28. package/dist/index.min.js +6 -6
  29. package/dist/index.min.js.map +1 -1
  30. package/dist/revolugo._baseiteratee.Dt_S2PH_.min.js +247 -0
  31. package/dist/{revolugo.banktransferdetails.B2ekby51.min.js → revolugo.banktransferdetails.Bq0BmMES.min.js} +9 -9
  32. package/dist/revolugo.bdaterangepicker.CnNRgnOe.min.js +8324 -0
  33. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.B8QojQLR.min.js +143 -0
  34. package/dist/revolugo.bhoteloffersfilterbar.Brei_H-M.min.js +4896 -0
  35. package/dist/{revolugo.bhotelroomsdetails.B_oUGHlu.min.js → revolugo.bhotelroomsdetails.BU2h52Lq.min.js} +226 -263
  36. package/dist/revolugo.bimagecarousel.DQ1sFuh7.min.js +566 -0
  37. package/dist/{revolugo.bookingdetailssidebar.Bs3FC4cg.min.js → revolugo.bookingdetailssidebar.BeXIN1jY.min.js} +207 -221
  38. package/dist/{revolugo.bookingdetailssidebar.BGsPcF2v.min.js → revolugo.bookingdetailssidebar.DUwGqYW_.min.js} +4 -4
  39. package/dist/{revolugo.bookingmanager.CrXALVnI.min.js → revolugo.bookingmanager.D7PMh1WW.min.js} +426 -460
  40. package/dist/revolugo.bpricesummaryskeleton.BeMc2f6A.min.js +72 -0
  41. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DxGtfGu-.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.BepHczS1.min.js} +149 -157
  42. package/dist/revolugo.btag.DJNfReOC.min.js +375 -0
  43. package/dist/revolugo.cancellationpoliciesbadge.BcUecTgS.min.js +28 -0
  44. package/dist/revolugo.cancellationpoliciesbadge.YwaVr8Df.min.js +198 -0
  45. package/dist/{revolugo.cancellationpolicieslist.CurBz21i.min.js → revolugo.cancellationpolicieslist.DuKJ__zi.min.js} +70 -98
  46. package/dist/revolugo.cancellationpolicieslist.HdJCkWB_.min.js +25 -0
  47. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
  48. package/dist/revolugo.case-transformers.DEWxmerh.min.js +123 -0
  49. package/dist/{revolugo.creditcardform.Zgq-wqLH.min.js → revolugo.creditcardform.CoiUYOLV.min.js} +79 -92
  50. package/dist/{revolugo.creditcardform.D35ZslX6.min.js → revolugo.creditcardform.QNgCad-N.min.js} +4 -4
  51. package/dist/{revolugo.creditcardpayment.B3gGpWtL.min.js → revolugo.creditcardpayment.wl70bU-p.min.js} +152 -160
  52. package/dist/{revolugo.creditcardpayment.BpY-gafO.min.js → revolugo.creditcardpayment.z0MfCubk.min.js} +4 -4
  53. package/dist/{revolugo.currencypicker.BgqkzwCT.min.js → revolugo.currencypicker.Bz7VWK_k.min.js} +15 -15
  54. package/dist/{revolugo.currencypickerbtn.0iqvXHCJ.min.js → revolugo.currencypickerbtn.Bbcidtfz.min.js} +41 -47
  55. package/dist/{revolugo.currencypickerbtn.CL_hu26M.min.js → revolugo.currencypickerbtn.ClgOlgmo.min.js} +4 -4
  56. package/dist/revolugo.dates.DDz876Xl.min.js +31 -0
  57. package/dist/revolugo.defaultsdeep.CLZXfak_.min.js +104 -0
  58. package/dist/{revolugo.dialog-attach.t7JTHXax.min.js → revolugo.dialog-attach.xvkFHR-I.min.js} +5 -6
  59. package/dist/revolugo.dialog-transition.Cfkxou7N.min.js +111 -0
  60. package/dist/{revolugo.fastbookingflow.D5i5QakB.min.js → revolugo.fastbookingflow.CzpKb39_.min.js} +6 -6
  61. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
  62. package/dist/revolugo.fullbookingflow.DPjKDW_q.min.js +429 -0
  63. package/dist/revolugo.hotel-offer-request.BFHLG9zO.min.js +98 -0
  64. package/dist/{revolugo.hoteldescriptionview.0om5ATP0.min.js → revolugo.hoteldescriptionview.CLVLf9E5.min.js} +4 -4
  65. package/dist/{revolugo.hoteldescriptionview.mr1BBzFi.min.js → revolugo.hoteldescriptionview.CeZBTSRh.min.js} +654 -713
  66. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.D4AGS1pJ.min.js +241 -0
  67. package/dist/{revolugo.hotelofferlist.Bb-RsXSl.min.js → revolugo.hotelofferlist.CUkYcTaY.min.js} +4 -4
  68. package/dist/{revolugo.hotelofferlist.DRdkrfqu.min.js → revolugo.hotelofferlist.DYpEe4z5.min.js} +1580 -1711
  69. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
  70. package/dist/revolugo.hoteloffersearchmenu.BMYbGz-7.min.js +202 -0
  71. package/dist/revolugo.hoteloffersearchmenuui.Ba2WfHAg.min.js +829 -0
  72. package/dist/{revolugo.hoteloffersmap.BleGDfiI.min.js → revolugo.hoteloffersmap.3FTmni0E.min.js} +4 -4
  73. package/dist/{revolugo.hoteloffersmap.BjjBIhE9.min.js → revolugo.hoteloffersmap.B6wZ1c6d.min.js} +859 -921
  74. package/dist/{revolugo.hoteloffersview.DyWUZJ-a.min.js → revolugo.hoteloffersview.BC3bnW2y.min.js} +130 -134
  75. package/dist/{revolugo.hoteloffersview.M1WJegEH.min.js → revolugo.hoteloffersview.CmG3Xvm4.min.js} +4 -4
  76. package/dist/{revolugo.hotelroomofferlist.Dr11epuR.min.js → revolugo.hotelroomofferlist.Btf8fSvl.min.js} +1007 -1102
  77. package/dist/{revolugo.hotelroomofferlist.7bwYQgtE.min.js → revolugo.hotelroomofferlist.DWT9qGvO.min.js} +4 -4
  78. package/dist/{revolugo.hotelroomofferrequestcreator.props.DUhujwnh.min.js → revolugo.hotelroomofferrequestcreator.props.fIPVr8RG.min.js} +6 -6
  79. package/dist/{revolugo.hotelroomoffersbookingflow.CKjKX7Kc.min.js → revolugo.hotelroomoffersbookingflow.D_5xmLte.min.js} +333 -358
  80. package/dist/{revolugo.hotelroomoffersearchmenu.CT-i5FLW.min.js → revolugo.hotelroomoffersearchmenu.CUpnTAUN.min.js} +5 -5
  81. package/dist/{revolugo.hotelroomoffersearchmenu.9fzTS1um.min.js → revolugo.hotelroomoffersearchmenu.CnI_Z0Eu.min.js} +35 -36
  82. package/dist/{revolugo.hotelroomoffersview.D2XUHzuN.min.js → revolugo.hotelroomoffersview.Cu1mxlGO.min.js} +146 -161
  83. package/dist/{revolugo.hotelroomoffersview.iTt3yxQK.min.js → revolugo.hotelroomoffersview.CyMXSoPv.min.js} +4 -4
  84. package/dist/revolugo.index.A6ftPWfP.min.js +67 -0
  85. package/dist/revolugo.index.DjbDWbUi.min.js +1232 -0
  86. package/dist/{revolugo.index.wc.CNPB8R3P.min.js → revolugo.index.wc.BQFDR_sN.min.js} +11675 -12044
  87. package/dist/revolugo.langpicker.CshGmEMo.min.js +99 -0
  88. package/dist/revolugo.langpickerbtn.D3ZMZxFX.min.js +131 -0
  89. package/dist/revolugo.langpickerbtn.DKycv8DI.min.js +29 -0
  90. package/dist/revolugo.min.js +1 -1
  91. package/dist/revolugo.pathify.w8PlyONu.min.js +36 -0
  92. package/dist/{revolugo.prebookform.CDoJAivN.min.js → revolugo.prebookform.D67ryJB6.min.js} +4 -4
  93. package/dist/{revolugo.prebookform.DhCYUQX2.min.js → revolugo.prebookform.Dm8tsLak.min.js} +97 -101
  94. package/dist/{revolugo.roominglisteditor.Dgtcs_-O.min.js → revolugo.roominglisteditor.BBfllXxO.min.js} +98 -104
  95. package/dist/{revolugo.roominglisteditor.DvUmxfal.min.js → revolugo.roominglisteditor.BKMsjZw7.min.js} +4 -4
  96. package/dist/{revolugo.rounded.Dulx85qq.min.js → revolugo.rounded.Cbk6AT5c.min.js} +2 -2
  97. package/dist/{revolugo.ssrboot.CTe1vadS.min.js → revolugo.ssrboot.Z1ufPUAd.min.js} +2 -2
  98. package/dist/{revolugo.storybooktoolbar.D182Uwjq.min.js → revolugo.storybooktoolbar.ClOde9ZK.min.js} +96 -97
  99. package/dist/revolugo.termsandconditions.BwX5wWs-.min.js +405 -0
  100. package/dist/{revolugo.termsandconditions.DvldqW3w.min.js → revolugo.termsandconditions.Dh1B27XG.min.js} +4 -4
  101. package/dist/revolugo.use-breakpoint-service.DjBYfWzf.min.js +39 -0
  102. package/dist/revolugo.use-dialog-attach.CFnNq24E.min.js +16 -0
  103. package/dist/revolugo.use-html-element.poh7gQAA.min.js +11 -0
  104. package/dist/revolugo.vautocomplete.B-nsANmd.min.js +445 -0
  105. package/dist/revolugo.vbadge.uWM0jLPd.min.js +112 -0
  106. package/dist/revolugo.vbtn.BhtxkRpd.min.js +398 -0
  107. package/dist/revolugo.vcard.Dvp7FrQ0.min.js +313 -0
  108. package/dist/revolugo.vcheckboxbtn.DMMon1Ae.min.js +478 -0
  109. package/dist/revolugo.vdialog.rnre3aMg.min.js +133 -0
  110. package/dist/{revolugo.vdivider.Cq5RMY7t.min.js → revolugo.vdivider.HQe9EwoW.min.js} +8 -8
  111. package/dist/revolugo.vexpansionpanels.BsMVXkOB.min.js +262 -0
  112. package/dist/revolugo.vform.khsh479_.min.js +46 -0
  113. package/dist/revolugo.vicon.DRzW88LO.min.js +105 -0
  114. package/dist/revolugo.vinput.Bmu1s4Hw.min.js +463 -0
  115. package/dist/revolugo.vlabel.DfS27j2I.min.js +48 -0
  116. package/dist/revolugo.vlist.C8B7H6dD.min.js +1299 -0
  117. package/dist/revolugo.vmenu.DDCNVM_a.min.js +145 -0
  118. package/dist/revolugo.vselect.C-eWXBCj.min.js +660 -0
  119. package/dist/{revolugo.vsheet.AqixfoVv.min.js → revolugo.vsheet.CD9rjzaU.min.js} +14 -14
  120. package/dist/{revolugo.vskeletonloader.BUxAIEgD.min.js → revolugo.vskeletonloader.-h_KwzQ3.min.js} +54 -55
  121. package/dist/revolugo.vslidegroup.D2bT55Zr.min.js +325 -0
  122. package/dist/revolugo.vsnackbar.BQ4yQ867.min.js +198 -0
  123. package/dist/revolugo.vspacer.ChSNPCWd.min.js +7 -0
  124. package/dist/{revolugo.vtextarea.ByrL6SoY.min.js → revolugo.vtextarea.BpVDNlZ2.min.js} +354 -364
  125. package/dist/revolugo.vtextfield.DlrR9Pgh.min.js +501 -0
  126. package/dist/revolugo.vtoolbar.CFvjmGkC.min.js +180 -0
  127. package/dist/revolugo.vtooltip.D3KqPcot.min.js +89 -0
  128. package/dist/revolugo.vwindowitem.Diu-UkPx.min.js +317 -0
  129. package/dist/revolugo.watch-list.D3kFoHUs.min.js +16 -0
  130. package/dist/revolugo.webcomponentwrapper.DZKKwbYN.min.js +2088 -0
  131. package/package.json +1 -1
  132. package/dist/css/revolugo.bdaterangepicker.BLYZnPjh.css +0 -1
  133. package/dist/css/revolugo.bhoteloffersfilterbar.1tLwDxXe.css +0 -1
  134. package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
  135. package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
  136. package/dist/css/revolugo.bstarrating.Dxd1LjMb.css +0 -1
  137. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
  138. package/dist/css/revolugo.hoteloffersview.oDGeJCwG.css +0 -1
  139. package/dist/css/revolugo.hotelroomofferlist.DI_s2G5c.css +0 -1
  140. package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
  141. package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
  142. package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
  143. package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
  144. package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
  145. package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
  146. package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
  147. package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
  148. package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
  149. package/dist/revolugo.bdaterangepicker.CTD21Xkh.min.js +0 -8435
  150. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DFgVEyLr.min.js +0 -61
  151. package/dist/revolugo.bhoteloffersfilterbar.C677v5nL.min.js +0 -4689
  152. package/dist/revolugo.bhotelsearchbar.CZZ7nrV4.min.js +0 -947
  153. package/dist/revolugo.bimagecarousel.B0c13uQA.min.js +0 -598
  154. package/dist/revolugo.bpricesummaryskeleton.8052AuK3.min.js +0 -79
  155. package/dist/revolugo.btag.BWSoB2pK.min.js +0 -387
  156. package/dist/revolugo.cancellationpoliciesbadge.B19weMQp.min.js +0 -225
  157. package/dist/revolugo.cancellationpoliciesbadge.CvnUmIqX.min.js +0 -24
  158. package/dist/revolugo.cancellationpolicieslist.BsjkpRRW.min.js +0 -24
  159. package/dist/revolugo.case-transformers.Oo4YCZeL.min.js +0 -123
  160. package/dist/revolugo.defaultsdeep.CCR2LAoW.min.js +0 -104
  161. package/dist/revolugo.dialog-transition.Cot8jmLN.min.js +0 -114
  162. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
  163. package/dist/revolugo.fullbookingflow.B3R9Mi6f.min.js +0 -450
  164. package/dist/revolugo.hotelofferitemlayout.CpMoPSRH.min.js +0 -259
  165. package/dist/revolugo.hotelofferrequestcreator.f8olJbDW.min.js +0 -230
  166. package/dist/revolugo.hoteloffersearchmenu.CLH7PdDD.min.js +0 -46
  167. package/dist/revolugo.index.CDltx0TU.min.js +0 -1037
  168. package/dist/revolugo.index.D5-DO18f.min.js +0 -13
  169. package/dist/revolugo.langpicker.Df8h8dCw.min.js +0 -107
  170. package/dist/revolugo.langpickerbtn.CIKlUC4J.min.js +0 -178
  171. package/dist/revolugo.langpickerbtn.CMIJmkLf.min.js +0 -24
  172. package/dist/revolugo.position.BFDPs3FP.min.js +0 -322
  173. package/dist/revolugo.termsandconditions.BSpX2Wim.min.js +0 -423
  174. package/dist/revolugo.use-breakpoint-service.CEx6DRka.min.js +0 -106
  175. package/dist/revolugo.vautocomplete.DNxDeH8S.min.js +0 -466
  176. package/dist/revolugo.vbadge.DqpIeIfj.min.js +0 -118
  177. package/dist/revolugo.vbtn.DsvUpshD.min.js +0 -417
  178. package/dist/revolugo.vcard.D1VwO30r.min.js +0 -329
  179. package/dist/revolugo.vcheckboxbtn.BnbOlneq.min.js +0 -491
  180. package/dist/revolugo.vdialog.rsw4VlQE.min.js +0 -139
  181. package/dist/revolugo.vexpansionpanels.Cy-T-RLA.min.js +0 -276
  182. package/dist/revolugo.vform.CO-9AfdO.min.js +0 -50
  183. package/dist/revolugo.vinput.DEbpex7C.min.js +0 -477
  184. package/dist/revolugo.vlabel.CBGmCU1C.min.js +0 -51
  185. package/dist/revolugo.vlist.BzvP4Aad.min.js +0 -1348
  186. package/dist/revolugo.vmenu.CIfiL0Ib.min.js +0 -152
  187. package/dist/revolugo.vselect.CDieig82.min.js +0 -688
  188. package/dist/revolugo.vsnackbar.D5nwTNfd.min.js +0 -202
  189. package/dist/revolugo.vspacer.Dv72HR_2.min.js +0 -7
  190. package/dist/revolugo.vtextfield.Br_yyf1t.min.js +0 -509
  191. package/dist/revolugo.vtoolbar.VPqzB-yU.min.js +0 -188
  192. package/dist/revolugo.vtooltip.CI_oDjbQ.min.js +0 -395
  193. package/dist/revolugo.vwindowitem.IF1zLcjR.min.js +0 -329
  194. package/dist/revolugo.watch-list.BD0XoO1O.min.js +0 -16
  195. package/dist/revolugo.webcomponentwrapper.Ci87Oown.min.js +0 -2148
@@ -1,29 +1,31 @@
1
- import { ae as bt, C as x, b4 as K, D as b, b5 as ne, d as J, u as X, i as f, g as I, e as v, t as C, J as $, a as o, f as T, F as B, o as i, N as ie, M as U, ap as le, b as re, c as S, w as a, j as z, r as L, Z as it, _ as lt, a2 as mt, b6 as ue, aE as ce, b2 as de, y as G, b7 as ct, H as gt, I as yt, n as me, h as fe, v as Z, G as be, E as pe, b8 as Pt, k as ht, l as _t, s as ke, x as Rt, b9 as ve, K as he, ba as Ot, bb as ge, a6 as Nt, ai as ye, ab as at, aQ as Re, a9 as Oe, bc as Ce } from "./revolugo.index.wc.CNPB8R3P.min.js";
2
- import { s as Be, u as Se, p as Ie } from "./revolugo.use-breakpoint-service.CEx6DRka.min.js";
3
- import { u as pt, h as we } from "./revolugo.hotelroomofferrequestcreator.props.DUhujwnh.min.js";
4
- import { C as Pe } from "./revolugo.cancellationpoliciesbadge.B19weMQp.min.js";
5
- import { B as Ut, a as _e } from "./revolugo.bpricesummaryskeleton.8052AuK3.min.js";
6
- import { _ as tt, V, a as O, u as rt, l as jt, B as St, d as He, q as Te, s as Ve, b as Ee, g as Ae, e as $e } from "./revolugo.webcomponentwrapper.Ci87Oown.min.js";
7
- import { V as ot } from "./revolugo.vskeletonloader.BUxAIEgD.min.js";
8
- import { a as Ft, B as Gt } from "./revolugo.bhotelroomsdetails.B_oUGHlu.min.js";
9
- import { _ as ft, f as Le } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DFgVEyLr.min.js";
10
- import { B as dt } from "./revolugo.btag.BWSoB2pK.min.js";
11
- import { a as De, d as qe, V as st, n as ze, e as Me } from "./revolugo.index.CDltx0TU.min.js";
12
- import { u as Ne, V as Ht, m as Ue } from "./revolugo.vinput.DEbpex7C.min.js";
13
- import { b as Tt, c as je, V as Fe } from "./revolugo.vcheckboxbtn.BnbOlneq.min.js";
14
- import { d as Ge, L as We, V as Ye } from "./revolugo.position.BFDPs3FP.min.js";
15
- import { V as It, a as nt, m as xe } from "./revolugo.vbtn.DsvUpshD.min.js";
16
- import { V as Ke } from "./revolugo.vselect.CDieig82.min.js";
17
- import { V as Ze } from "./revolugo.vlist.BzvP4Aad.min.js";
18
- import { C as Qe } from "./revolugo.cancellationpolicieslist.CurBz21i.min.js";
19
- import { V as Q } from "./revolugo.vdivider.Cq5RMY7t.min.js";
20
- import { k as Je, C as Xe } from "./revolugo.case-transformers.Oo4YCZeL.min.js";
1
+ import { aj as ft, k as F, by as W, H as f, bz as le, d as G, bA as Ut, bB as re, u as K, i as m, g as C, e as k, t as y, p as S, a as o, f as w, F as R, o as i, S as ue, O as L, M as ce, b as jt, c as O, w as a, j as E, r as q, a1 as lt, a2 as rt, a6 as dt, bC as de, aL as me, b5 as fe, D as z, m as be, l as pe, bD as ct, J as ht, K as gt, n as ke, h as ve, B as x, I as he, E as ge, bE as _t, q as kt, v as Ht, s as ye, C as yt, bF as Re, ah as Oe, bG as Rt, bH as Ce, aa as Ft, an as Be, af as et, aV as Se, ad as Ie, bI as we } from "./revolugo.index.wc.BQFDR_sN.min.js";
2
+ import { s as Pe } from "./revolugo.dates.DDz876Xl.min.js";
3
+ import { u as bt, h as _e } from "./revolugo.hotelroomofferrequestcreator.props.fIPVr8RG.min.js";
4
+ import { C as He } from "./revolugo.cancellationpoliciesbadge.YwaVr8Df.min.js";
5
+ import { B as Bt, _ as Te } from "./revolugo.bpricesummaryskeleton.BeMc2f6A.min.js";
6
+ import { _ as ot, V as P, a as h, u as ut, l as Gt, B as St, d as Ve, q as Ee, s as Ae, b as Le, g as $e, e as De } from "./revolugo.webcomponentwrapper.DZKKwbYN.min.js";
7
+ import { V as J } from "./revolugo.vskeletonloader.-h_KwzQ3.min.js";
8
+ import { _ as Wt, B as xt } from "./revolugo.bhotelroomsdetails.BU2h52Lq.min.js";
9
+ import { _ as mt, a as qe } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.B8QojQLR.min.js";
10
+ import { r as ze, a as Me, e as Ne, L as Ue, s as je, m as Fe, V as Ge } from "./revolugo.index.DjbDWbUi.min.js";
11
+ import { u as We, m as xe, V as Tt } from "./revolugo.vinput.Bmu1s4Hw.min.js";
12
+ import { b as Ye, c as Vt, V as Ke } from "./revolugo.vcheckboxbtn.DMMon1Ae.min.js";
13
+ import { V as st } from "./revolugo.vicon.DRzW88LO.min.js";
14
+ import { V as It, a as nt, m as Ze } from "./revolugo.vbtn.BhtxkRpd.min.js";
15
+ import { B as vt } from "./revolugo.btag.DJNfReOC.min.js";
16
+ import { u as Qe } from "./revolugo.use-breakpoint-service.DjBYfWzf.min.js";
17
+ import { V as Je } from "./revolugo.vselect.C-eWXBCj.min.js";
18
+ import { V as Xe } from "./revolugo.vlist.C8B7H6dD.min.js";
19
+ import { _ as to } from "./revolugo.cancellationpolicieslist.DuKJ__zi.min.js";
20
+ import { V as Y } from "./revolugo.vdivider.HQe9EwoW.min.js";
21
+ import { k as eo, C as oo } from "./revolugo.case-transformers.DEWxmerh.min.js";
21
22
  /* empty css */
22
- import { d as to } from "./revolugo.defaultsdeep.CCR2LAoW.min.js";
23
- import { f as eo } from "./revolugo.forwardrefs.-bfQnFea.min.js";
24
- import { V as Vt, m as oo, a as Et, b as ao } from "./revolugo.vwindowitem.IF1zLcjR.min.js";
25
- import { b as At, m as so } from "./revolugo.vtooltip.CI_oDjbQ.min.js";
26
- function se(t) {
23
+ import { p as ao } from "./revolugo.pathify.w8PlyONu.min.js";
24
+ import { d as so } from "./revolugo.defaultsdeep.CLZXfak_.min.js";
25
+ import { f as no } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
26
+ import { V as Et, m as io, a as At, b as lo } from "./revolugo.vwindowitem.Diu-UkPx.min.js";
27
+ import { a as Lt, m as ro } from "./revolugo.vslidegroup.D2bT55Zr.min.js";
28
+ function ie(t) {
27
29
  try {
28
30
  if (typeof document < "u") {
29
31
  window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
@@ -43,53 +45,53 @@ function se(t) {
43
45
  console.error("[revolugo-elements] ", e);
44
46
  }
45
47
  }
46
- function no(t) {
48
+ function uo(t) {
47
49
  return (t && t.split(",") || []).map(
48
50
  (e) => Number.parseInt(e)
49
51
  );
50
52
  }
51
- const io = 4;
52
- function lo(t, e) {
53
- return t + no(e).reduce((n, s) => s >= io ? n + 1 : n, 0);
53
+ const co = 4;
54
+ function mo(t, e) {
55
+ return t + uo(e).reduce((n, s) => s >= co ? n + 1 : n, 0);
54
56
  }
55
- function ro(t, e) {
57
+ function fo(t, e) {
56
58
  return e === void 0 ? Array.from({ length: t }, (n, s) => s) : Array.from({ length: e - t }, (n, s) => t + s);
57
59
  }
58
- function uo() {
59
- const t = bt(), e = x(K.Idle), n = b(
60
- () => e.value === K.BookingPoliciesFetched
61
- ), s = b(
62
- () => e.value === K.Unavailable
63
- ), r = b(
64
- () => e.value === K.FetchingBookingPolicies
60
+ function bo() {
61
+ const t = ft(), e = F(W.Idle), n = f(
62
+ () => e.value === W.BookingPoliciesFetched
63
+ ), s = f(
64
+ () => e.value === W.Unavailable
65
+ ), r = f(
66
+ () => e.value === W.FetchingBookingPolicies
65
67
  );
66
- async function k({
67
- addBreakfast: d,
68
+ async function p({
69
+ addBreakfast: c,
68
70
  hotelId: l,
69
- hotelRoomOfferId: m
71
+ hotelRoomOfferId: b
70
72
  }) {
71
- e.value = K.FetchingBookingPolicies;
73
+ e.value = W.FetchingBookingPolicies;
72
74
  try {
73
75
  await t.createBookingPolicies({
74
- addBreakfast: d,
76
+ addBreakfast: c,
75
77
  hotelId: l,
76
- hotelRoomOfferId: m
77
- }), e.value = K.Unavailable, setTimeout(() => {
78
- e.value = K.Idle;
78
+ hotelRoomOfferId: b
79
+ }), e.value = W.Unavailable, setTimeout(() => {
80
+ e.value = W.Idle;
79
81
  }, 1.5 * 1e3);
80
82
  } catch {
81
- e.value = K.Unavailable;
83
+ e.value = W.Unavailable;
82
84
  }
83
85
  }
84
86
  return {
85
87
  bookingState: e,
86
- createBookingPolicy: k,
88
+ createBookingPolicy: p,
87
89
  isBookingPoliciesSuccessful: n,
88
90
  isBookingPoliciesUnavailable: s,
89
91
  isFetchingBookingPolicies: r
90
92
  };
91
93
  }
92
- function co(t, e, n) {
94
+ function po(t, e, n) {
93
95
  if (!t)
94
96
  return e;
95
97
  const s = n || ((r) => r);
@@ -101,29 +103,31 @@ function co(t, e, n) {
101
103
  }
102
104
  return s(t);
103
105
  }
104
- function mo({
106
+ function ko({
105
107
  cb: t,
106
108
  fallbackValue: e,
107
109
  prop: n
108
110
  }) {
109
- return b(() => {
110
- const r = co(ne(n.value), e, t);
111
- return r && to(structuredClone(r), e || {});
111
+ return f(() => {
112
+ const r = po(le(n.value), e, t);
113
+ return r && so(structuredClone(r), e || {});
112
114
  });
113
115
  }
114
- const fo = { class: "text-right" }, bo = {
116
+ const vo = { class: "text-right" }, ho = {
115
117
  key: 0,
116
118
  class: "text-grey-darken-3"
117
- }, po = { class: "text-h6 text-grey-darken-3 font-weight-black" }, ko = {
119
+ }, go = { class: "text-h6 text-grey-darken-3 font-weight-black" }, yo = {
118
120
  key: 1,
119
121
  class: "my-0 text-caption text-grey-darken-3 d-block"
120
- }, vo = { class: "text-caption d-block" }, Wt = /* @__PURE__ */ J({
122
+ }, Ro = { class: "text-caption d-block" }, Yt = /* @__PURE__ */ G({
121
123
  __name: "BPriceSummary",
122
124
  props: {
123
125
  adultCount: { default: 0 },
126
+ currency: { default: re.EUR },
124
127
  hasBolderTextPrice: { type: Boolean, default: void 0 },
125
128
  isTaxIncluded: { type: Boolean, default: void 0 },
126
129
  isStartingPrice: { type: Boolean, default: void 0 },
130
+ locale: { default: Ut.fr_FR },
127
131
  nightCount: { default: 1 },
128
132
  price: {},
129
133
  roomCount: { default: 1 },
@@ -131,34 +135,38 @@ const fo = { class: "text-right" }, bo = {
131
135
  taxIncludedPrice: { default: void 0 }
132
136
  },
133
137
  setup(t) {
134
- const e = t, { t: n } = X(), s = b(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
135
- return (r, k) => (i(), f("div", fo, [
136
- r.isStartingPrice ? (i(), f("small", bo, C($(n)("BPriceSummary.from")) + "  ", 1)) : I("", !0),
137
- v("b", po, [
138
- o(ft, {
138
+ const e = t, { t: n } = K(), s = f(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
139
+ return (r, p) => (i(), m("div", vo, [
140
+ r.isStartingPrice ? (i(), m("small", ho, y(S(n)("BPriceSummary.from")) + "  ", 1)) : C("", !0),
141
+ k("b", go, [
142
+ o(mt, {
139
143
  amount: s.value,
140
- "round-mode": r.roundMode
141
- }, null, 8, ["amount", "round-mode"])
144
+ "round-mode": r.roundMode,
145
+ currency: e.currency,
146
+ locale: e.locale
147
+ }, null, 8, ["amount", "round-mode", "currency", "locale"])
142
148
  ]),
143
- (r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (i(), f("span", ko, [
144
- v("b", null, [
145
- o(ft, {
149
+ (r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (i(), m("span", yo, [
150
+ k("b", null, [
151
+ o(mt, {
146
152
  amount: r.taxIncludedPrice,
147
- "round-mode": r.roundMode
148
- }, null, 8, ["amount", "round-mode"])
153
+ "round-mode": r.roundMode,
154
+ currency: e.currency,
155
+ locale: e.locale
156
+ }, null, 8, ["amount", "round-mode", "currency", "locale"])
149
157
  ]),
150
- T(" " + C($(n)("BPriceSummary.total")) + " " + C($(n)("BPriceSummary.summary", {
151
- rooms: $(n)("BPriceSummary.rooms", { n: r.roomCount })
158
+ w(" " + y(S(n)("BPriceSummary.total")) + " " + y(S(n)("BPriceSummary.summary", {
159
+ rooms: S(n)("BPriceSummary.rooms", { n: r.roomCount })
152
160
  })), 1)
153
- ])) : I("", !0),
154
- v("span", vo, [
155
- r.taxIncludedPrice || r.price ? (i(), f(B, { key: 0 }, [
156
- r.isTaxIncluded ? (i(), f(B, { key: 0 }, [
157
- T(C($(n)("BPriceSummary.taxIncluded")), 1)
158
- ], 64)) : (i(), f(B, { key: 1 }, [
159
- T(C($(n)("BPriceSummary.taxNotIncluded")), 1)
161
+ ])) : C("", !0),
162
+ k("span", Ro, [
163
+ r.taxIncludedPrice || r.price ? (i(), m(R, { key: 0 }, [
164
+ r.isTaxIncluded ? (i(), m(R, { key: 0 }, [
165
+ w(y(S(n)("BPriceSummary.taxIncluded")), 1)
166
+ ], 64)) : (i(), m(R, { key: 1 }, [
167
+ w(y(S(n)("BPriceSummary.taxNotIncluded")), 1)
160
168
  ], 64))
161
- ], 64)) : I("", !0)
169
+ ], 64)) : C("", !0)
162
170
  ])
163
171
  ]));
164
172
  }
@@ -269,16 +277,16 @@ function $t(t) {
269
277
  }
270
278
  });
271
279
  }
272
- typeof $t == "function" && $t(Wt);
273
- const Ct = /* @__PURE__ */ tt(Wt, [["__scopeId", "data-v-2324f5ca"]]);
274
- function ho(t, e) {
280
+ typeof $t == "function" && $t(Yt);
281
+ const Ot = /* @__PURE__ */ ot(Yt, [["__scopeId", "data-v-e0d30623"]]);
282
+ function Oo(t, e) {
275
283
  return e ? t.adultCount === e.adultCount && t.checkInDate === e.checkInDate && t.checkOutDate === e.checkOutDate && t.children === e.children && t.hotelId === e.hotelId && t.roomCount === e.roomCount && t.sourceMarket === e.sourceMarket : !1;
276
284
  }
277
- function go(t) {
278
- const e = pt(), n = Be(
285
+ function Co(t) {
286
+ const e = bt(), n = Pe(
279
287
  t.checkInDate,
280
288
  t.checkOutDate
281
- ), s = x({
289
+ ), s = F({
282
290
  adultCount: t.adultCount,
283
291
  checkInDate: n[0],
284
292
  checkOutDate: n[1],
@@ -286,19 +294,19 @@ function go(t) {
286
294
  hotelId: t.hotelId,
287
295
  roomCount: t.roomCount,
288
296
  sourceMarket: t.sourceMarket
289
- }), r = b(
297
+ }), r = f(
290
298
  () => e.hotelRoomOfferRequest(t.hotelId)
291
- ), k = ie(
299
+ ), p = ue(
292
300
  async function() {
293
- const m = s.value, c = r.value;
294
- t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== (c == null ? void 0 : c.id) ? (await e.retrieveHotelRoomOfferRequest({
295
- hotelId: m.hotelId,
301
+ const b = s.value, d = r.value;
302
+ t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== d?.id ? (await e.retrieveHotelRoomOfferRequest({
303
+ hotelId: b.hotelId,
296
304
  hotelRoomOfferRequestId: t.hotelRoomOfferRequestId
297
- }), (!c || c.hasError) && await e.createHotelRoomOfferRequest(m)) : (!c || !c.id || c.hasError || !ho(m, c)) && await e.createHotelRoomOfferRequest(m);
305
+ }), (!d || d.hasError) && await e.createHotelRoomOfferRequest(b)) : (!d || !d.id || d.hasError || !Oo(b, d)) && await e.createHotelRoomOfferRequest(b);
298
306
  },
299
307
  300
300
308
  );
301
- U(
309
+ L(
302
310
  () => {
303
311
  const l = r.value;
304
312
  return l ? [
@@ -322,7 +330,7 @@ function go(t) {
322
330
  sourceMarket: l.sourceMarket
323
331
  });
324
332
  }
325
- ), U(
333
+ ), L(
326
334
  () => t.adultCount,
327
335
  (l) => {
328
336
  s.value = {
@@ -330,7 +338,7 @@ function go(t) {
330
338
  adultCount: l
331
339
  };
332
340
  }
333
- ), U(
341
+ ), L(
334
342
  () => t.checkInDate,
335
343
  (l) => {
336
344
  s.value = {
@@ -338,7 +346,7 @@ function go(t) {
338
346
  checkInDate: l
339
347
  };
340
348
  }
341
- ), U(
349
+ ), L(
342
350
  () => t.checkOutDate,
343
351
  (l) => {
344
352
  s.value = {
@@ -346,7 +354,7 @@ function go(t) {
346
354
  checkOutDate: l
347
355
  };
348
356
  }
349
- ), U(
357
+ ), L(
350
358
  () => t.children,
351
359
  (l) => {
352
360
  s.value = {
@@ -354,15 +362,15 @@ function go(t) {
354
362
  children: l ?? null
355
363
  };
356
364
  }
357
- ), U(
365
+ ), L(
358
366
  () => t.hotelId,
359
- (l, m) => {
360
- m && e.deleteHotelRoomOfferRequest(m), s.value = {
367
+ (l, b) => {
368
+ b && e.deleteHotelRoomOfferRequest(b), s.value = {
361
369
  ...s.value,
362
370
  hotelId: l
363
- }, k();
371
+ }, p();
364
372
  }
365
- ), U(
373
+ ), L(
366
374
  () => t.roomCount,
367
375
  (l) => {
368
376
  s.value = {
@@ -370,7 +378,7 @@ function go(t) {
370
378
  roomCount: l
371
379
  };
372
380
  }
373
- ), U(
381
+ ), L(
374
382
  () => t.sourceMarket,
375
383
  (l) => {
376
384
  s.value = {
@@ -379,19 +387,19 @@ function go(t) {
379
387
  };
380
388
  }
381
389
  );
382
- const d = () => {
383
- e.resetHotelRoomOfferRequest(t.hotelId), k();
390
+ const c = () => {
391
+ e.resetHotelRoomOfferRequest(t.hotelId), p();
384
392
  };
385
- return U(
393
+ return L(
386
394
  () => s.value,
387
395
  () => {
388
- k();
396
+ p();
389
397
  },
390
398
  { deep: !0, immediate: !0 }
391
- ), U(
392
- () => le(),
399
+ ), L(
400
+ () => ce(),
393
401
  () => {
394
- d();
402
+ c();
395
403
  },
396
404
  { immediate: !0 }
397
405
  ), {
@@ -399,30 +407,30 @@ function go(t) {
399
407
  hotelRoomOfferRequestInternal: s
400
408
  };
401
409
  }
402
- const yo = J({
410
+ const Bo = G({
403
411
  components: {
404
- BPriceSummarySkeleton: Ut
412
+ BPriceSummarySkeleton: Bt
405
413
  },
406
- mixins: [re],
414
+ mixins: [jt],
407
415
  name: "HotelRoomOfferLayout",
408
416
  props: {
409
417
  boilerplate: { type: Boolean }
410
418
  },
411
419
  setup() {
412
- const { t } = X();
420
+ const { t } = K();
413
421
  return {
414
422
  t
415
423
  };
416
424
  }
417
- }), Ro = { class: "d-flex justify-end" };
418
- function Oo(t, e, n, s, r, k) {
419
- const d = L("BPriceSummarySkeleton");
420
- return i(), S(V, {
425
+ }), So = { class: "d-flex justify-end" };
426
+ function Io(t, e, n, s, r, p) {
427
+ const c = q("BPriceSummarySkeleton");
428
+ return i(), O(P, {
421
429
  class: "px-2 py-3 pa-sm-4 px-md-3",
422
430
  "no-gutters": ""
423
431
  }, {
424
432
  default: a(() => [
425
- o(O, {
433
+ o(h, {
426
434
  "align-self": "start",
427
435
  cols: "12",
428
436
  lg: "6",
@@ -430,12 +438,12 @@ function Oo(t, e, n, s, r, k) {
430
438
  sm: "7"
431
439
  }, {
432
440
  default: a(() => [
433
- o(V, { "no-gutters": "" }, {
441
+ o(P, { "no-gutters": "" }, {
434
442
  default: a(() => [
435
- o(O, { cols: "12" }, {
443
+ o(h, { cols: "12" }, {
436
444
  default: a(() => [
437
- z(t.$slots, "room-details", {}, () => [
438
- o(ot, {
445
+ E(t.$slots, "room-details", {}, () => [
446
+ o(J, {
439
447
  boilerplate: t.boilerplate,
440
448
  class: "mt-1",
441
449
  height: "14px",
@@ -443,7 +451,7 @@ function Oo(t, e, n, s, r, k) {
443
451
  type: "text",
444
452
  width: "180px"
445
453
  }, null, 8, ["boilerplate"]),
446
- o(ot, {
454
+ o(J, {
447
455
  boilerplate: t.boilerplate,
448
456
  height: "12px",
449
457
  tile: "",
@@ -454,21 +462,21 @@ function Oo(t, e, n, s, r, k) {
454
462
  ]),
455
463
  _: 3
456
464
  }),
457
- o(O, {
465
+ o(h, {
458
466
  "align-self": "start",
459
467
  class: "text-left d-flex flex-column mt-2",
460
468
  cols: "12",
461
469
  style: { gap: "0.3em" }
462
470
  }, {
463
471
  default: a(() => [
464
- z(t.$slots, "breakfast-option-badge"),
465
- z(t.$slots, "cancellation-policies")
472
+ E(t.$slots, "breakfast-option-badge"),
473
+ E(t.$slots, "cancellation-policies")
466
474
  ]),
467
475
  _: 3
468
476
  }),
469
- o(O, { cols: "12" }, {
477
+ o(h, { cols: "12" }, {
470
478
  default: a(() => [
471
- z(t.$slots, "breakfast-option-switch")
479
+ E(t.$slots, "breakfast-option-switch")
472
480
  ]),
473
481
  _: 3
474
482
  })
@@ -478,7 +486,7 @@ function Oo(t, e, n, s, r, k) {
478
486
  ]),
479
487
  _: 3
480
488
  }),
481
- o(O, {
489
+ o(h, {
482
490
  "align-self": "end",
483
491
  class: "text-right mt-sm-0 mt-2",
484
492
  lg: "6",
@@ -486,16 +494,16 @@ function Oo(t, e, n, s, r, k) {
486
494
  sm: "5"
487
495
  }, {
488
496
  default: a(() => [
489
- z(t.$slots, "package-type"),
490
- z(t.$slots, "price-summary", {}, () => [
491
- o(d, {
497
+ E(t.$slots, "package-type"),
498
+ E(t.$slots, "price-summary", {}, () => [
499
+ o(c, {
492
500
  boilerplate: t.boilerplate,
493
501
  class: "mt-2"
494
502
  }, null, 8, ["boilerplate"])
495
503
  ]),
496
- v("div", Ro, [
497
- z(t.$slots, "action", {}, () => [
498
- o(ot, {
504
+ k("div", So, [
505
+ E(t.$slots, "action", {}, () => [
506
+ o(J, {
499
507
  class: "mt-2",
500
508
  boilerplate: t.boilerplate,
501
509
  height: "28px",
@@ -512,98 +520,7 @@ function Oo(t, e, n, s, r, k) {
512
520
  _: 3
513
521
  });
514
522
  }
515
- const kt = /* @__PURE__ */ tt(yo, [["render", Oo]]), Co = {
516
- isLoading: { type: Boolean },
517
- modelValue: {
518
- type: Boolean
519
- },
520
- price: {
521
- required: !0,
522
- type: Number
523
- }
524
- }, Yt = J({
525
- components: {
526
- BTag: dt
527
- },
528
- computed: {
529
- formattedPrice() {
530
- return Le({
531
- amount: this.price,
532
- currency: this.config.currency,
533
- locale: this.$i18n.locale
534
- });
535
- }
536
- },
537
- data() {
538
- return {
539
- valueLocal: this.modelValue
540
- };
541
- },
542
- name: "BBreakfastSwitch",
543
- props: Co,
544
- setup() {
545
- const { t } = X();
546
- return {
547
- t
548
- };
549
- },
550
- watch: {
551
- valueLocal(t) {
552
- this.$emit("update:modelValue", t);
553
- }
554
- }
555
- });
556
- function Lt(t) {
557
- const e = t;
558
- e.__i18n = e.__i18n || [], e.__i18n.push({
559
- locale: "",
560
- resource: {
561
- "en-US": {
562
- BBreakfastSwitch: {
563
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Breakfast" } },
564
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / guest / night" }] } }
565
- }
566
- },
567
- "fr-FR": {
568
- BBreakfastSwitch: {
569
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Petit-déjeuner" } },
570
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / client / nuit" }] } }
571
- }
572
- },
573
- "de-DE": {
574
- BBreakfastSwitch: {
575
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Frühstück" } },
576
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / Gast / Nacht" }] } }
577
- }
578
- },
579
- "es-ES": {
580
- BBreakfastSwitch: {
581
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Desayuno" } },
582
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / huésped / noche" }] } }
583
- }
584
- },
585
- "it-IT": {
586
- BBreakfastSwitch: {
587
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Colazione" } },
588
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / ospite / notte" }] } }
589
- }
590
- },
591
- "nl-NL": {
592
- BBreakfastSwitch: {
593
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ontbijt" } },
594
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / gast / nacht" }] } }
595
- }
596
- },
597
- "pt-PT": {
598
- BBreakfastSwitch: {
599
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pequeno-almoço" } },
600
- price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / hóspede / noite" }] } }
601
- }
602
- }
603
- }
604
- });
605
- }
606
- const Bo = lt({
523
+ const wt = /* @__PURE__ */ ot(Bo, [["render", Io]]), wo = rt({
607
524
  indeterminate: Boolean,
608
525
  inset: Boolean,
609
526
  flat: Boolean,
@@ -611,12 +528,12 @@ const Bo = lt({
611
528
  type: [Boolean, String],
612
529
  default: !1
613
530
  },
614
- ...Ue(),
615
- ...je()
616
- }, "VSwitch"), So = it()({
531
+ ...xe(),
532
+ ...Ye()
533
+ }, "VSwitch"), Po = lt()({
617
534
  name: "VSwitch",
618
535
  inheritAttrs: !1,
619
- props: Bo(),
536
+ props: wo(),
620
537
  emits: {
621
538
  "update:focused": (t) => !0,
622
539
  "update:modelValue": (t) => !0,
@@ -627,122 +544,121 @@ const Bo = lt({
627
544
  attrs: n,
628
545
  slots: s
629
546
  } = e;
630
- const r = mt(t, "indeterminate"), k = mt(t, "modelValue"), {
631
- loaderClasses: d
632
- } = Ge(t), {
547
+ const r = dt(t, "indeterminate"), p = dt(t, "modelValue"), {
548
+ loaderClasses: c
549
+ } = ze(t), {
633
550
  isFocused: l,
634
- focus: m,
635
- blur: c
636
- } = Ne(t), P = x(), A = ue && window.matchMedia("(forced-colors: active)").matches, R = b(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), h = ce(), E = b(() => t.id || `switch-${h}`);
637
- function g() {
551
+ focus: b,
552
+ blur: d
553
+ } = We(t), I = F(), T = de && window.matchMedia("(forced-colors: active)").matches, v = f(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), _ = me(), D = f(() => t.id || `switch-${_}`);
554
+ function Z() {
638
555
  r.value && (r.value = !1);
639
556
  }
640
- function j(W) {
641
- var M, D;
642
- W.stopPropagation(), W.preventDefault(), (D = (M = P.value) == null ? void 0 : M.input) == null || D.click();
557
+ function $(V) {
558
+ V.stopPropagation(), V.preventDefault(), I.value?.input?.click();
643
559
  }
644
- return rt(() => {
645
- const [W, M] = de(n), D = Ht.filterProps(t), Y = Tt.filterProps(t);
646
- return o(Ht, G({
560
+ return ut(() => {
561
+ const [V, U] = fe(n), M = Tt.filterProps(t), Q = Vt.filterProps(t);
562
+ return o(Tt, z({
647
563
  class: ["v-switch", {
648
564
  "v-switch--flat": t.flat
649
565
  }, {
650
566
  "v-switch--inset": t.inset
651
567
  }, {
652
568
  "v-switch--indeterminate": r.value
653
- }, d.value, t.class]
654
- }, W, D, {
655
- modelValue: k.value,
656
- "onUpdate:modelValue": (p) => k.value = p,
657
- id: E.value,
569
+ }, c.value, t.class]
570
+ }, V, M, {
571
+ modelValue: p.value,
572
+ "onUpdate:modelValue": (B) => p.value = B,
573
+ id: D.value,
658
574
  focused: l.value,
659
575
  style: t.style
660
576
  }), {
661
577
  ...s,
662
- default: (p) => {
578
+ default: (B) => {
663
579
  let {
664
- id: y,
665
- messagesId: _,
666
- isDisabled: F,
667
- isReadonly: et,
668
- isValid: N
669
- } = p;
670
- const u = {
671
- model: k,
672
- isValid: N
580
+ id: A,
581
+ messagesId: j,
582
+ isDisabled: N,
583
+ isReadonly: it,
584
+ isValid: at
585
+ } = B;
586
+ const X = {
587
+ model: p,
588
+ isValid: at
673
589
  };
674
- return o(Tt, G({
675
- ref: P
676
- }, Y, {
677
- modelValue: k.value,
678
- "onUpdate:modelValue": [(H) => k.value = H, g],
679
- id: y.value,
680
- "aria-describedby": _.value,
590
+ return o(Vt, z({
591
+ ref: I
592
+ }, Q, {
593
+ modelValue: p.value,
594
+ "onUpdate:modelValue": [(u) => p.value = u, Z],
595
+ id: A.value,
596
+ "aria-describedby": j.value,
681
597
  type: "checkbox",
682
598
  "aria-checked": r.value ? "mixed" : void 0,
683
- disabled: F.value,
684
- readonly: et.value,
685
- onFocus: m,
686
- onBlur: c
687
- }, M), {
599
+ disabled: N.value,
600
+ readonly: it.value,
601
+ onFocus: b,
602
+ onBlur: d
603
+ }, U), {
688
604
  ...s,
689
- default: (H) => {
605
+ default: (u) => {
690
606
  let {
691
- backgroundColorClasses: w,
692
- backgroundColorStyles: q
693
- } = H;
607
+ backgroundColorClasses: H,
608
+ backgroundColorStyles: g
609
+ } = u;
694
610
  return o("div", {
695
- class: ["v-switch__track", A ? void 0 : w.value],
696
- style: q.value,
697
- onClick: j
611
+ class: ["v-switch__track", T ? void 0 : H.value],
612
+ style: g.value,
613
+ onClick: $
698
614
  }, [s["track-true"] && o("div", {
699
615
  key: "prepend",
700
616
  class: "v-switch__track-true"
701
- }, [s["track-true"](u)]), s["track-false"] && o("div", {
617
+ }, [s["track-true"](X)]), s["track-false"] && o("div", {
702
618
  key: "append",
703
619
  class: "v-switch__track-false"
704
- }, [s["track-false"](u)])]);
620
+ }, [s["track-false"](X)])]);
705
621
  },
706
- input: (H) => {
622
+ input: (u) => {
707
623
  let {
708
- inputNode: w,
709
- icon: q,
710
- backgroundColorClasses: ut,
711
- backgroundColorStyles: ae
712
- } = H;
713
- return o(B, null, [w, o("div", {
624
+ inputNode: H,
625
+ icon: g,
626
+ backgroundColorClasses: tt,
627
+ backgroundColorStyles: ne
628
+ } = u;
629
+ return o(R, null, [H, o("div", {
714
630
  class: ["v-switch__thumb", {
715
- "v-switch__thumb--filled": q || t.loading
716
- }, t.inset || A ? void 0 : ut.value],
717
- style: t.inset ? void 0 : ae.value
718
- }, [s.thumb ? o(De, {
631
+ "v-switch__thumb--filled": g || t.loading
632
+ }, t.inset || T ? void 0 : tt.value],
633
+ style: t.inset ? void 0 : ne.value
634
+ }, [s.thumb ? o(Me, {
719
635
  defaults: {
720
636
  VIcon: {
721
- icon: q,
637
+ icon: g,
722
638
  size: "x-small"
723
639
  }
724
640
  }
725
641
  }, {
726
642
  default: () => [s.thumb({
727
- ...u,
728
- icon: q
643
+ ...X,
644
+ icon: g
729
645
  })]
730
- }) : o(qe, null, {
731
- default: () => [t.loading ? o(We, {
646
+ }) : o(Ne, null, {
647
+ default: () => [t.loading ? o(Ue, {
732
648
  name: "v-switch",
733
649
  active: !0,
734
- color: N.value === !1 ? void 0 : R.value
650
+ color: at.value === !1 ? void 0 : v.value
735
651
  }, {
736
- default: (vt) => s.loader ? s.loader(vt) : o(It, {
737
- active: vt.isActive,
738
- color: vt.color,
652
+ default: (pt) => s.loader ? s.loader(pt) : o(It, {
653
+ active: pt.isActive,
654
+ color: pt.color,
739
655
  indeterminate: !0,
740
656
  size: "16",
741
657
  width: "2"
742
658
  }, null)
743
- }) : q && o(st, {
744
- key: String(q),
745
- icon: q,
659
+ }) : g && o(st, {
660
+ key: String(g),
661
+ icon: g,
746
662
  size: "x-small"
747
663
  }, null)]
748
664
  })])]);
@@ -752,44 +668,112 @@ const Bo = lt({
752
668
  });
753
669
  }), {};
754
670
  }
755
- }), Io = { class: "text-caption ml-n3" }, wo = { class: "mr-2" }, Po = ["innerHTML"];
756
- function _o(t, e, n, s, r, k) {
757
- return i(), S(So, {
758
- modelValue: t.valueLocal,
759
- "onUpdate:modelValue": e[0] || (e[0] = (d) => t.valueLocal = d),
760
- class: "ma-0 pa-0 breakfast-switch d-inline-block",
761
- density: "compact",
762
- size: "small",
763
- color: "primary",
764
- loading: t.isLoading && "success"
671
+ }), _o = { class: "text-caption ml-n3" }, Ho = { class: "mr-2" }, To = ["innerHTML"], Kt = /* @__PURE__ */ G({
672
+ __name: "BBreakfastSwitch",
673
+ props: /* @__PURE__ */ be({
674
+ isLoading: { type: Boolean },
675
+ price: {},
676
+ currency: {}
765
677
  }, {
766
- label: a(() => [
767
- v("div", Io, [
768
- o(st, {
769
- size: "12",
770
- class: "ml-4 mr-2"
771
- }, {
772
- default: a(() => e[1] || (e[1] = [
773
- T(" fas fa-coffee ")
774
- ])),
775
- _: 1,
776
- __: [1]
777
- }),
778
- e[2] || (e[2] = T(" ")),
779
- v("span", wo, C(t.t("BBreakfastSwitch.title")), 1),
780
- v("span", {
781
- innerHTML: t.t("BBreakfastSwitch.price", { n: t.formattedPrice }).replace(
782
- /\s/gu,
783
- " "
784
- )
785
- }, null, 8, Po)
786
- ])
787
- ]),
788
- _: 1
789
- }, 8, ["modelValue", "loading"]);
678
+ modelValue: { type: Boolean },
679
+ modelModifiers: {}
680
+ }),
681
+ emits: ["update:modelValue"],
682
+ setup(t) {
683
+ const { locale: e, t: n } = K(), s = pe(t, "modelValue"), r = f(
684
+ () => qe({
685
+ amount: t.price,
686
+ currency: t.currency,
687
+ locale: e.value
688
+ })
689
+ );
690
+ return (p, c) => (i(), O(Po, {
691
+ modelValue: s.value,
692
+ "onUpdate:modelValue": c[0] || (c[0] = (l) => s.value = l),
693
+ class: "ma-0 pa-0 breakfast-switch d-inline-block",
694
+ density: "compact",
695
+ size: "small",
696
+ color: "primary",
697
+ loading: p.isLoading && "success"
698
+ }, {
699
+ label: a(() => [
700
+ k("div", _o, [
701
+ o(st, {
702
+ size: "12",
703
+ class: "ml-4 mr-2"
704
+ }, {
705
+ default: a(() => c[1] || (c[1] = [
706
+ w(" fas fa-coffee ")
707
+ ])),
708
+ _: 1,
709
+ __: [1]
710
+ }),
711
+ c[2] || (c[2] = w(" ")),
712
+ k("span", Ho, y(S(n)("BBreakfastSwitch.title")), 1),
713
+ k("span", {
714
+ innerHTML: S(n)("BBreakfastSwitch.price", { n: r.value }).replace(
715
+ /\s/gu,
716
+ " "
717
+ )
718
+ }, null, 8, To)
719
+ ])
720
+ ]),
721
+ _: 1
722
+ }, 8, ["modelValue", "loading"]));
723
+ }
724
+ });
725
+ function Dt(t) {
726
+ const e = t;
727
+ e.__i18n = e.__i18n || [], e.__i18n.push({
728
+ locale: "",
729
+ resource: {
730
+ "en-US": {
731
+ BBreakfastSwitch: {
732
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Breakfast" } },
733
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / guest / night" }] } }
734
+ }
735
+ },
736
+ "fr-FR": {
737
+ BBreakfastSwitch: {
738
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Petit-déjeuner" } },
739
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / client / nuit" }] } }
740
+ }
741
+ },
742
+ "de-DE": {
743
+ BBreakfastSwitch: {
744
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Frühstück" } },
745
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / Gast / Nacht" }] } }
746
+ }
747
+ },
748
+ "es-ES": {
749
+ BBreakfastSwitch: {
750
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Desayuno" } },
751
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / huésped / noche" }] } }
752
+ }
753
+ },
754
+ "it-IT": {
755
+ BBreakfastSwitch: {
756
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Colazione" } },
757
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / ospite / notte" }] } }
758
+ }
759
+ },
760
+ "nl-NL": {
761
+ BBreakfastSwitch: {
762
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ontbijt" } },
763
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / gast / nacht" }] } }
764
+ }
765
+ },
766
+ "pt-PT": {
767
+ BBreakfastSwitch: {
768
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pequeno-almoço" } },
769
+ price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / hóspede / noite" }] } }
770
+ }
771
+ }
772
+ }
773
+ });
790
774
  }
791
- typeof Lt == "function" && Lt(Yt);
792
- const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c9349"]]), Ho = {
775
+ typeof Dt == "function" && Dt(Kt);
776
+ const Zt = /* @__PURE__ */ ot(Kt, [["__scopeId", "data-v-1e4b5568"]]), Vo = {
793
777
  breakfastCount: {
794
778
  type: Number
795
779
  },
@@ -827,42 +811,36 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c934
827
811
  tags: { type: Array },
828
812
  taxIncludedPrice: { required: !0, type: Number },
829
813
  type: { type: String }
830
- }, To = { key: 0 }, Vo = {
814
+ }, Eo = { key: 0 }, Ao = {
831
815
  class: "align-self-center d-flex flex-wrap",
832
816
  style: { gap: "0.3em" }
833
- }, Eo = {
817
+ }, Lo = {
834
818
  class: "align-self-center d-inline-flex flex-wrap",
835
819
  style: { gap: "0.3em" }
836
- }, Ao = { class: "text-caption" }, $o = { key: 0 }, Lo = { key: 1 }, Kt = /* @__PURE__ */ J({
820
+ }, $o = { class: "text-caption" }, Do = { key: 0 }, qo = { key: 1 }, Qt = /* @__PURE__ */ G({
837
821
  __name: "HotelRoomOfferItem",
838
- props: Ho,
822
+ props: Vo,
839
823
  emits: ["breakfast-change", "update:modelValue", "booking-policy-failed"],
840
824
  setup(t, { emit: e }) {
841
- const n = t, { t: s } = X(), { eventBus: r } = be(), k = e, d = x(
825
+ const n = t, { t: s } = K(), { eventBus: r } = he(), p = e, c = F(
842
826
  n.breakfastCount && n.breakfastCount > 0 || !1
843
827
  );
844
- U(d, (u) => {
845
- k("breakfast-change", {
828
+ L(c, (u) => {
829
+ p("breakfast-change", {
846
830
  addBreakfast: u,
847
831
  hotelId: n.hotelId,
848
832
  id: n.id
849
833
  });
850
834
  });
851
- const l = pt(), m = bt(), c = b(
835
+ const l = bt(), b = ft(), d = f(
852
836
  () => l.hotelRoomOfferRequest(n.hotelId)
853
- ), P = b(() => {
854
- var u;
855
- return (u = c.value) == null ? void 0 : u.adultCount;
856
- }), A = b(() => {
857
- var u;
858
- return (u = c.value) == null ? void 0 : u.checkInDate;
859
- }), R = b(
860
- () => n.count ? ro(n.count + 1) : []
861
- ), h = b(
862
- () => m.hotelTimezone(n.hotelId)
863
- ), E = b(
837
+ ), I = f(() => d.value?.adultCount), T = f(() => d.value?.checkInDate), v = f(
838
+ () => n.count ? fo(n.count + 1) : []
839
+ ), _ = f(
840
+ () => b.hotelTimezone(n.hotelId)
841
+ ), D = f(
864
842
  () => l.nightCount(n.hotelId)
865
- ), g = b(() => {
843
+ ), Z = f(() => {
866
844
  switch (n.packageType) {
867
845
  case ct.Cheapest:
868
846
  return "red";
@@ -874,146 +852,143 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c934
874
852
  default:
875
853
  return "";
876
854
  }
877
- }), j = b(
855
+ }), $ = f(
878
856
  () => n.hotelRooms.reduce((u, H) => u + (H.count || 0), 0)
879
- ), W = b({
857
+ ), V = f({
880
858
  get() {
881
859
  return n.modelValue;
882
860
  },
883
861
  set(u) {
884
- k("update:modelValue", u);
885
- }
886
- }), M = b(
887
- () => {
888
- var u;
889
- return ((u = n.tags) == null ? void 0 : u.filter((H) => H.name.length > 30)) || [];
890
- }
891
- ), D = b(
892
- () => {
893
- var u;
894
- return ((u = n.tags) == null ? void 0 : u.filter((H) => H.name.length < 30)) || [];
862
+ p("update:modelValue", u);
895
863
  }
864
+ }), U = f(
865
+ () => n.tags?.filter((u) => u.name.length > 30) || []
866
+ ), M = f(
867
+ () => n.tags?.filter((u) => u.name.length < 30) || []
896
868
  ), {
897
- bookingState: Y,
898
- createBookingPolicy: p,
899
- isBookingPoliciesSuccessful: y,
900
- isBookingPoliciesUnavailable: _,
901
- isFetchingBookingPolicies: F
902
- } = uo();
903
- U(Y, (u) => {
904
- u === K.Unavailable && k("booking-policy-failed", n.id);
869
+ bookingState: Q,
870
+ createBookingPolicy: B,
871
+ isBookingPoliciesSuccessful: A,
872
+ isBookingPoliciesUnavailable: j,
873
+ isFetchingBookingPolicies: N
874
+ } = bo();
875
+ L(Q, (u) => {
876
+ u === W.Unavailable && p("booking-policy-failed", n.id);
905
877
  });
906
- async function et() {
878
+ async function it() {
907
879
  const u = {
908
880
  ...n,
909
881
  currency: n.currency
910
882
  };
911
- r.$emit(pe.HotelRoomOffersBtnClick, u), await p({
912
- addBreakfast: d.value,
883
+ r.$emit(ge.HotelRoomOffersBtnClick, u), await B({
884
+ addBreakfast: c.value,
913
885
  hotelId: n.hotelId,
914
886
  hotelRoomOfferId: n.id
915
887
  });
916
888
  }
917
- const N = x(null);
918
- return Se(N), (u, H) => (i(), f("div", {
889
+ const at = F(null);
890
+ Qe(at);
891
+ const X = window.RevolugoElements.config.lang || Ut.fr_FR;
892
+ return (u, H) => (i(), m("div", {
919
893
  class: "position-relative",
920
894
  ref_key: "root",
921
- ref: N
895
+ ref: at
922
896
  }, [
923
- o(kt, { key: "is-available" }, {
897
+ o(wt, { key: "is-available" }, {
924
898
  "room-details": a(() => [
925
- o(Gt, {
899
+ o(xt, {
926
900
  "hotel-rooms": u.hotelRooms
927
901
  }, null, 8, ["hotel-rooms"])
928
902
  ]),
929
903
  "package-type": a(() => [
930
- u.type === "PACKAGE" && u.packageType !== "REGULAR" ? (i(), S(dt, {
904
+ u.type === "PACKAGE" && u.packageType !== "REGULAR" ? (i(), O(vt, {
931
905
  key: 0,
932
906
  class: "mb-3",
933
- color: g.value,
907
+ color: Z.value,
934
908
  variant: "outlined"
935
909
  }, {
936
910
  description: a(() => [
937
- T(C($(s)(
911
+ w(y(S(s)(
938
912
  `HotelRoomOfferItem.packageTypes.${u.packageType}.description`,
939
- { n: P.value }
913
+ { n: I.value }
940
914
  )), 1)
941
915
  ]),
942
916
  default: a(() => [
943
- T(C($(s)(`HotelRoomOfferItem.packageTypes.${u.packageType}.title`, {
944
- n: P.value
917
+ w(y(S(s)(`HotelRoomOfferItem.packageTypes.${u.packageType}.title`, {
918
+ n: I.value
945
919
  })) + " ", 1)
946
920
  ]),
947
921
  _: 1
948
- }, 8, ["color"])) : I("", !0)
922
+ }, 8, ["color"])) : C("", !0)
949
923
  ]),
950
924
  "cancellation-policies": a(() => [
951
- o(Pe, {
925
+ o(He, {
952
926
  class: "mt-2",
953
927
  "cancellation-policies": u.cancellationPolicies,
954
- "check-in-date": A.value,
955
- timezone: h.value
928
+ "check-in-date": T.value,
929
+ timezone: _.value
956
930
  }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
957
931
  ]),
958
932
  "breakfast-option-badge": a(() => [
959
- o(Ft, {
933
+ o(Wt, {
960
934
  "breakfast-option": u.breakfastCount && u.breakfastCount > 0 ? "INCLUDED" : u.breakfastOption,
961
935
  breakfastCount: u.breakfastCount ?? void 0
962
936
  }, null, 8, ["breakfast-option", "breakfastCount"])
963
937
  ]),
964
938
  "breakfast-option-switch": a(() => [
965
- u.type !== "HOTEL_ROOM" && u.breakfastOption === "OPTIONAL" ? (i(), f("div", To, [
966
- o(xt, {
967
- modelValue: d.value,
968
- "onUpdate:modelValue": H[0] || (H[0] = (w) => d.value = w),
939
+ u.type !== "HOTEL_ROOM" && u.breakfastOption === "OPTIONAL" ? (i(), m("div", Eo, [
940
+ o(Zt, {
941
+ modelValue: c.value,
942
+ "onUpdate:modelValue": H[0] || (H[0] = (g) => c.value = g),
969
943
  class: "mt-3 pl-1",
944
+ currency: u.currency,
970
945
  "is-loading": u.isLoading,
971
946
  price: u.breakfastUnitPrice ?? 0
972
- }, null, 8, ["modelValue", "is-loading", "price"])
973
- ])) : I("", !0)
947
+ }, null, 8, ["modelValue", "currency", "is-loading", "price"])
948
+ ])) : C("", !0)
974
949
  ]),
975
950
  "big-tags": a(() => [
976
- v("div", Vo, [
977
- (i(!0), f(B, null, Z(M.value, (w, q) => (i(), S(dt, {
978
- key: q,
979
- color: w.bg,
980
- "pre-icon": `fa-${w.faIcon}`,
981
- "text-color": w.color,
982
- "tooltip-content": w.description
951
+ k("div", Ao, [
952
+ (i(!0), m(R, null, x(U.value, (g, tt) => (i(), O(vt, {
953
+ key: tt,
954
+ color: g.bg,
955
+ "pre-icon": `fa-${g.faIcon}`,
956
+ "text-color": g.color,
957
+ "tooltip-content": g.description
983
958
  }, {
984
959
  default: a(() => [
985
- T(C(w.name), 1)
960
+ w(y(g.name), 1)
986
961
  ]),
987
962
  _: 2
988
963
  }, 1032, ["color", "pre-icon", "text-color", "tooltip-content"]))), 128))
989
964
  ])
990
965
  ]),
991
966
  tags: a(() => [
992
- v("div", Eo, [
993
- (i(!0), f(B, null, Z(D.value, (w, q) => (i(), S(dt, {
994
- key: q,
995
- color: w.bg,
996
- "pre-icon": `fa-${w.faIcon}`,
997
- "text-color": w.color,
998
- "tooltip-content": w.description
967
+ k("div", Lo, [
968
+ (i(!0), m(R, null, x(M.value, (g, tt) => (i(), O(vt, {
969
+ key: tt,
970
+ color: g.bg,
971
+ "pre-icon": `fa-${g.faIcon}`,
972
+ "text-color": g.color,
973
+ "tooltip-content": g.description
999
974
  }, {
1000
975
  default: a(() => [
1001
- T(C(w.name), 1)
976
+ w(y(g.name), 1)
1002
977
  ]),
1003
978
  _: 2
1004
979
  }, 1032, ["color", "pre-icon", "text-color", "tooltip-content"]))), 128))
1005
980
  ])
1006
981
  ]),
1007
982
  "price-summary": a(() => [
1008
- u.type === "HOTEL_ROOM" ? (i(), f(B, { key: 0 }, [
1009
- o(V, {
983
+ u.type === "HOTEL_ROOM" ? (i(), m(R, { key: 0 }, [
984
+ o(P, {
1010
985
  class: "mt-md-8",
1011
986
  "no-gutters": ""
1012
987
  }, {
1013
988
  default: a(() => [
1014
- o(O, null, {
989
+ o(h, null, {
1015
990
  default: a(() => [
1016
- o(Ct, {
991
+ o(Ot, {
1017
992
  "adult-count": 1,
1018
993
  class: "text-right",
1019
994
  "is-tax-included": !1,
@@ -1027,41 +1002,43 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c934
1027
1002
  ]),
1028
1003
  _: 1
1029
1004
  }),
1030
- o(V, {
1005
+ o(P, {
1031
1006
  align: "end",
1032
1007
  "no-gutters": ""
1033
1008
  }, {
1034
1009
  default: a(() => [
1035
- o(O, {
1010
+ o(h, {
1036
1011
  align: "end",
1037
1012
  class: "d-flex justify-end"
1038
1013
  }, {
1039
1014
  default: a(() => [
1040
- v("div", null, [
1041
- o(Ke, {
1042
- modelValue: W.value,
1043
- "onUpdate:modelValue": H[1] || (H[1] = (w) => W.value = w),
1015
+ k("div", null, [
1016
+ o(Je, {
1017
+ modelValue: V.value,
1018
+ "onUpdate:modelValue": H[1] || (H[1] = (g) => V.value = g),
1044
1019
  class: "item-count mt-2",
1045
1020
  density: "compact",
1046
1021
  "hide-details": "",
1047
- items: R.value,
1022
+ items: v.value,
1048
1023
  "menu-props": {
1049
1024
  minWidth: "125px"
1050
1025
  },
1051
1026
  variant: "outlined"
1052
1027
  }, {
1053
- item: a(({ item: w, props: q }) => [
1054
- o(Ze, me(fe(q)), {
1028
+ item: a(({ item: g, props: tt }) => [
1029
+ o(Xe, ke(ve(tt)), {
1055
1030
  title: a(() => [
1056
- v("span", Ao, [
1057
- T(C(w.raw) + " ", 1),
1058
- w.raw ? (i(), f(B, { key: 0 }, [
1059
- H[2] || (H[2] = T(" (")),
1060
- o(ft, {
1061
- amount: w.raw * u.price
1062
- }, null, 8, ["amount"]),
1063
- H[3] || (H[3] = T(") "))
1064
- ], 64)) : I("", !0)
1031
+ k("span", $o, [
1032
+ w(y(g.raw) + " ", 1),
1033
+ g.raw ? (i(), m(R, { key: 0 }, [
1034
+ H[2] || (H[2] = w(" (")),
1035
+ o(mt, {
1036
+ amount: g.raw * u.price,
1037
+ currency: n.currency,
1038
+ locale: S(X)
1039
+ }, null, 8, ["amount", "currency", "locale"]),
1040
+ H[3] || (H[3] = w(") "))
1041
+ ], 64)) : C("", !0)
1065
1042
  ])
1066
1043
  ]),
1067
1044
  _: 2
@@ -1076,47 +1053,47 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c934
1076
1053
  ]),
1077
1054
  _: 1
1078
1055
  })
1079
- ], 64)) : (i(), S(Ct, {
1056
+ ], 64)) : (i(), O(Ot, {
1080
1057
  key: 1,
1081
- "adult-count": P.value,
1058
+ "adult-count": I.value,
1082
1059
  class: "text-right",
1083
1060
  "is-tax-included": "",
1084
- "night-count": E.value ?? 0,
1061
+ "night-count": D.value ?? 0,
1085
1062
  price: u.price,
1086
- "room-count": j.value,
1063
+ "room-count": $.value,
1087
1064
  "round-mode": "ceil",
1088
1065
  "tax-included-price": u.taxIncludedPrice
1089
1066
  }, null, 8, ["adult-count", "night-count", "price", "room-count", "tax-included-price"]))
1090
1067
  ]),
1091
1068
  action: a(() => [
1092
- u.type === "PACKAGE" ? (i(), S(nt, {
1069
+ u.type === "PACKAGE" ? (i(), O(nt, {
1093
1070
  key: 0,
1094
1071
  class: "text-none font-weight-bold book-btn w-100 w-sm-auto",
1095
- color: $(y) ? "success" : "primary",
1096
- disabled: $(F) || $(_) || u.isLoading,
1072
+ color: S(A) ? "success" : "primary",
1073
+ disabled: S(N) || S(j) || u.isLoading,
1097
1074
  elevation: "0",
1098
- loading: $(F),
1075
+ loading: S(N),
1099
1076
  size: "small",
1100
- onClick: et
1077
+ onClick: it
1101
1078
  }, {
1102
1079
  default: a(() => [
1103
- $(y) ? I("", !0) : (i(), f("span", $o, C($(s)("HotelRoomOfferItem.book")), 1)),
1104
- gt(o(st, { class: "position-absolute" }, {
1080
+ S(A) ? C("", !0) : (i(), m("span", Do, y(S(s)("HotelRoomOfferItem.book")), 1)),
1081
+ ht(o(st, { class: "position-absolute" }, {
1105
1082
  default: a(() => H[4] || (H[4] = [
1106
- T(" fas fa-check ")
1083
+ w(" fas fa-check ")
1107
1084
  ])),
1108
1085
  _: 1,
1109
1086
  __: [4]
1110
1087
  }, 512), [
1111
- [yt, $(y)]
1088
+ [gt, S(A)]
1112
1089
  ])
1113
1090
  ]),
1114
1091
  _: 1
1115
- }, 8, ["color", "disabled", "loading"])) : (i(), f("span", Lo))
1092
+ }, 8, ["color", "disabled", "loading"])) : (i(), m("span", qo))
1116
1093
  ]),
1117
1094
  _: 1
1118
1095
  }),
1119
- u.isLoading ? (i(), S(jt, {
1096
+ u.isLoading ? (i(), O(Gt, {
1120
1097
  key: 0,
1121
1098
  absolute: "",
1122
1099
  class: "mx-n4",
@@ -1131,23 +1108,23 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c934
1131
1108
  })
1132
1109
  ]),
1133
1110
  _: 1
1134
- })) : I("", !0),
1135
- $(_) || u.gone ? (i(), S(St, {
1111
+ })) : C("", !0),
1112
+ S(j) || u.gone ? (i(), O(St, {
1136
1113
  key: 1,
1137
1114
  "margin-top": 16
1138
1115
  }, {
1139
1116
  title: a(() => [
1140
- T(C($(s)("HotelRoomOfferItem.unavailable.title")), 1)
1117
+ w(y(S(s)("HotelRoomOfferItem.unavailable.title")), 1)
1141
1118
  ]),
1142
1119
  description: a(() => [
1143
- T(C($(s)("HotelRoomOfferItem.unavailable.description")), 1)
1120
+ w(y(S(s)("HotelRoomOfferItem.unavailable.description")), 1)
1144
1121
  ]),
1145
1122
  _: 1
1146
- })) : I("", !0)
1123
+ })) : C("", !0)
1147
1124
  ], 512));
1148
1125
  }
1149
1126
  });
1150
- function Dt(t) {
1127
+ function qt(t) {
1151
1128
  const e = t;
1152
1129
  e.__i18n = e.__i18n || [], e.__i18n.push({
1153
1130
  locale: "",
@@ -1316,194 +1293,182 @@ function Dt(t) {
1316
1293
  }
1317
1294
  });
1318
1295
  }
1319
- typeof Dt == "function" && Dt(Kt);
1320
- const Zt = /* @__PURE__ */ tt(Kt, [["__scopeId", "data-v-5fbe10f7"]]), Do = J({
1321
- components: {
1322
- BHotelRoomsDetailsSkeleton: _e,
1323
- BPriceSummarySkeleton: Ut
1324
- },
1325
- name: "BBasketSummaryLayout",
1326
- setup() {
1327
- const { t } = X();
1328
- return {
1329
- t
1330
- };
1331
- }
1332
- }), qo = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, zo = { class: "text-caption d-flex justify-end py-2" }, Mo = { class: "mt-3 d-flex justify-start align-center" }, No = { class: "pt-4" };
1333
- function Uo(t, e, n, s, r, k) {
1334
- const d = L("BHotelRoomsDetailsSkeleton"), l = L("BPriceSummarySkeleton");
1335
- return i(), S(V, { class: "px-2" }, {
1336
- default: a(() => [
1337
- o(O, null, {
1338
- default: a(() => [
1339
- o(V, null, {
1340
- default: a(() => [
1341
- o(O, null, {
1342
- default: a(() => [
1343
- v("div", qo, [
1344
- z(t.$slots, "title", {}, () => [
1345
- o(ot, {
1346
- height: "18px",
1347
- tile: "",
1348
- type: "heading",
1349
- width: "200px"
1350
- })
1296
+ typeof qt == "function" && qt(Qt);
1297
+ const Jt = /* @__PURE__ */ ot(Qt, [["__scopeId", "data-v-b0039666"]]), zo = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, Mo = { class: "text-caption d-flex justify-end py-2" }, No = { class: "mt-3 d-flex justify-start align-center" }, Uo = { class: "pt-4" }, jo = /* @__PURE__ */ G({
1298
+ __name: "BBasketSummaryLayout",
1299
+ setup(t) {
1300
+ return (e, n) => (i(), O(P, { class: "px-2" }, {
1301
+ default: a(() => [
1302
+ o(h, null, {
1303
+ default: a(() => [
1304
+ o(P, null, {
1305
+ default: a(() => [
1306
+ o(h, null, {
1307
+ default: a(() => [
1308
+ k("div", zo, [
1309
+ E(e.$slots, "title", {}, () => [
1310
+ o(J, {
1311
+ height: "18px",
1312
+ tile: "",
1313
+ type: "heading",
1314
+ width: "200px"
1315
+ })
1316
+ ])
1351
1317
  ])
1352
- ])
1353
- ]),
1354
- _: 3
1355
- })
1318
+ ]),
1319
+ _: 3
1320
+ })
1321
+ ]),
1322
+ _: 3
1323
+ }),
1324
+ o(P, null, {
1325
+ default: a(() => [
1326
+ o(h, null, {
1327
+ default: a(() => [
1328
+ k("div", Mo, [
1329
+ E(e.$slots, "adult-count", {}, () => [
1330
+ o(J, {
1331
+ tile: "",
1332
+ type: "text",
1333
+ width: "150px"
1334
+ })
1335
+ ])
1336
+ ]),
1337
+ k("div", No, [
1338
+ E(e.$slots, "secondary-title", {}, () => [
1339
+ o(J, {
1340
+ height: "18px",
1341
+ tile: "",
1342
+ type: "heading",
1343
+ width: "150px"
1344
+ })
1345
+ ])
1346
+ ])
1347
+ ]),
1348
+ _: 3
1349
+ })
1350
+ ]),
1351
+ _: 3
1352
+ }),
1353
+ E(e.$slots, "hotel-rooms", {}, () => [
1354
+ k("div", Uo, [
1355
+ (i(), m(R, null, x(2, (s) => (i(), m(R, {
1356
+ key: `item-skeleton-${s}`
1357
+ }, [
1358
+ k("div", null, [
1359
+ o(P, { align: "center" }, {
1360
+ default: a(() => [
1361
+ o(h, { cols: "auto" }, {
1362
+ default: a(() => [
1363
+ o(Te, { boilerplate: "" })
1364
+ ]),
1365
+ _: 1
1366
+ })
1367
+ ]),
1368
+ _: 1
1369
+ })
1370
+ ]),
1371
+ o(Y)
1372
+ ], 64))), 64))
1373
+ ])
1356
1374
  ]),
1357
- _: 3
1358
- }),
1359
- o(V, null, {
1360
- default: a(() => [
1361
- o(O, null, {
1362
- default: a(() => [
1363
- v("div", zo, [
1364
- z(t.$slots, "adult-count", {}, () => [
1365
- o(ot, {
1366
- tile: "",
1367
- type: "text",
1368
- width: "150px"
1369
- })
1375
+ o(P, null, {
1376
+ default: a(() => [
1377
+ o(h, null, {
1378
+ default: a(() => [
1379
+ E(e.$slots, "breakfast-option")
1380
+ ]),
1381
+ _: 3
1382
+ })
1383
+ ]),
1384
+ _: 3
1385
+ }),
1386
+ o(P, { class: "mt-1" }, {
1387
+ default: a(() => [
1388
+ o(h, null, {
1389
+ default: a(() => [
1390
+ o(Y)
1391
+ ]),
1392
+ _: 1
1393
+ })
1394
+ ]),
1395
+ _: 1
1396
+ }),
1397
+ o(P, { "no-gutters": "" }, {
1398
+ default: a(() => [
1399
+ o(h, null, {
1400
+ default: a(() => [
1401
+ E(e.$slots, "price-summary", {}, () => [
1402
+ o(Bt)
1370
1403
  ])
1371
1404
  ]),
1372
- v("div", Mo, [
1373
- z(t.$slots, "secondary-title", {}, () => [
1374
- o(ot, {
1375
- height: "18px",
1405
+ _: 3
1406
+ })
1407
+ ]),
1408
+ _: 3
1409
+ }),
1410
+ o(P, null, {
1411
+ default: a(() => [
1412
+ o(h, { class: "py-0" }, {
1413
+ default: a(() => [
1414
+ E(e.$slots, "errors")
1415
+ ]),
1416
+ _: 3
1417
+ })
1418
+ ]),
1419
+ _: 3
1420
+ }),
1421
+ o(P, null, {
1422
+ default: a(() => [
1423
+ o(h, { class: "pb-0" }, {
1424
+ default: a(() => [
1425
+ E(e.$slots, "button", {}, () => [
1426
+ o(J, {
1427
+ height: "38px",
1376
1428
  tile: "",
1377
1429
  type: "heading",
1378
- width: "150px"
1430
+ width: "100%"
1379
1431
  })
1380
1432
  ])
1381
- ])
1382
- ]),
1383
- _: 3
1384
- })
1385
- ]),
1386
- _: 3
1387
- }),
1388
- z(t.$slots, "hotel-rooms", {}, () => [
1389
- v("div", No, [
1390
- (i(), f(B, null, Z(2, (m) => (i(), f(B, {
1391
- key: `item-skeleton-${m}`
1392
- }, [
1393
- v("div", null, [
1394
- o(V, { align: "center" }, {
1395
- default: a(() => [
1396
- o(O, { cols: "auto" }, {
1397
- default: a(() => [
1398
- o(d)
1399
- ]),
1400
- _: 1
1433
+ ]),
1434
+ _: 3
1435
+ })
1436
+ ]),
1437
+ _: 3
1438
+ }),
1439
+ o(P, null, {
1440
+ default: a(() => [
1441
+ o(h, null, {
1442
+ default: a(() => [
1443
+ E(e.$slots, "cancellation-policies", {}, () => [
1444
+ o(J, {
1445
+ tile: "",
1446
+ type: "paragraph",
1447
+ width: "100%"
1401
1448
  })
1402
- ]),
1403
- _: 1
1404
- })
1405
- ]),
1406
- o(Q)
1407
- ], 64))), 64))
1408
- ])
1449
+ ])
1450
+ ]),
1451
+ _: 3
1452
+ })
1453
+ ]),
1454
+ _: 3
1455
+ })
1409
1456
  ]),
1410
- o(V, null, {
1411
- default: a(() => [
1412
- o(O, null, {
1413
- default: a(() => [
1414
- z(t.$slots, "breakfast-option")
1415
- ]),
1416
- _: 3
1417
- })
1418
- ]),
1419
- _: 3
1420
- }),
1421
- o(V, { class: "mt-1" }, {
1422
- default: a(() => [
1423
- o(O, null, {
1424
- default: a(() => [
1425
- o(Q)
1426
- ]),
1427
- _: 1
1428
- })
1429
- ]),
1430
- _: 1
1431
- }),
1432
- o(V, { "no-gutters": "" }, {
1433
- default: a(() => [
1434
- o(O, null, {
1435
- default: a(() => [
1436
- z(t.$slots, "price-summary", {}, () => [
1437
- o(l)
1438
- ])
1439
- ]),
1440
- _: 3
1441
- })
1442
- ]),
1443
- _: 3
1444
- }),
1445
- o(V, null, {
1446
- default: a(() => [
1447
- o(O, { class: "py-0" }, {
1448
- default: a(() => [
1449
- z(t.$slots, "errors")
1450
- ]),
1451
- _: 3
1452
- })
1453
- ]),
1454
- _: 3
1455
- }),
1456
- o(V, null, {
1457
- default: a(() => [
1458
- o(O, { class: "pb-0" }, {
1459
- default: a(() => [
1460
- z(t.$slots, "button", {}, () => [
1461
- o(ot, {
1462
- height: "38px",
1463
- tile: "",
1464
- type: "heading",
1465
- width: "100%"
1466
- })
1467
- ])
1468
- ]),
1469
- _: 3
1470
- })
1471
- ]),
1472
- _: 3
1473
- }),
1474
- o(V, null, {
1475
- default: a(() => [
1476
- o(O, null, {
1477
- default: a(() => [
1478
- z(t.$slots, "cancellation-policies", {}, () => [
1479
- o(ot, {
1480
- tile: "",
1481
- type: "paragraph",
1482
- width: "100%"
1483
- })
1484
- ])
1485
- ]),
1486
- _: 3
1487
- })
1488
- ]),
1489
- _: 3
1490
- })
1491
- ]),
1492
- _: 3
1493
- })
1494
- ]),
1495
- _: 3
1496
- });
1497
- }
1498
- const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Qt = J({
1457
+ _: 3
1458
+ })
1459
+ ]),
1460
+ _: 3
1461
+ }));
1462
+ }
1463
+ }), Xt = G({
1499
1464
  components: {
1500
1465
  BBasketSummaryLayout: jo,
1501
- BBreakfastOptionBadge: Ft,
1502
- BBreakfastSwitch: xt,
1503
- BFormattedAmount: ft,
1504
- BHotelRoomsDetails: Gt,
1505
- BPriceSummary: Ct,
1506
- CancellationPoliciesList: Qe
1466
+ BBreakfastOptionBadge: Wt,
1467
+ BBreakfastSwitch: Zt,
1468
+ BFormattedAmount: mt,
1469
+ BHotelRoomsDetails: xt,
1470
+ BPriceSummary: Ot,
1471
+ CancellationPoliciesList: to
1507
1472
  },
1508
1473
  emits: ["breakfast-change", "delete-room", "submit"],
1509
1474
  name: "BBasketSummary",
@@ -1520,69 +1485,56 @@ const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Qt = J({
1520
1485
  isSuccessful: { type: Boolean }
1521
1486
  },
1522
1487
  setup(t, { emit: e }) {
1523
- var h, E;
1524
- const n = x(
1525
- ((h = t.hotelRoomOffer) == null ? void 0 : h.breakfastCount) && ((E = t.hotelRoomOffer) == null ? void 0 : E.breakfastCount) > 0 || !1
1526
- ), s = b(
1527
- () => {
1528
- var g;
1529
- return (g = t.hotelRoomOffer) == null ? void 0 : g.breakfastOption;
1530
- }
1531
- ), r = b(
1532
- () => lo(t.adultCount, t.children)
1533
- ), k = b(
1534
- () => t.hotelRoomOffer.breakfastOption === Pt.Included
1535
- ), d = b(
1536
- () => t.hotelRoomOffer.breakfastOption === Pt.Optional
1537
- ), l = b(
1488
+ const n = F(
1489
+ t.hotelRoomOffer?.breakfastCount && t.hotelRoomOffer?.breakfastCount > 0 || !1
1490
+ ), s = f(
1491
+ () => t.hotelRoomOffer?.breakfastOption
1492
+ ), r = f(
1493
+ () => mo(t.adultCount, t.children)
1494
+ ), p = f(
1495
+ () => t.hotelRoomOffer.breakfastOption === _t.Included
1496
+ ), c = f(
1497
+ () => t.hotelRoomOffer.breakfastOption === _t.Optional
1498
+ ), l = f(
1538
1499
  () => t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0
1539
- ), m = b(() => !t.hotelRoomOffer || !t.checkOutDate || !t.checkInDate ? 0 : ht(t.checkOutDate).diff(ht(t.checkInDate), "day")), c = b(
1540
- () => {
1541
- var g;
1542
- return _t((g = t.hotelRoomOffer) == null ? void 0 : g.hotelRooms, "count");
1543
- }
1544
- ), P = b(
1545
- () => {
1546
- var g;
1547
- return Je(
1548
- ke({
1549
- bookingDatetime: ht().format(),
1550
- cancellationPolicies: (g = t.hotelRoomOffer) == null ? void 0 : g.cancellationPolicies,
1551
- checkInDate: t.checkInDate,
1552
- timezone: t.hotelTimezone
1553
- }),
1554
- Xe.Camel
1555
- );
1556
- }
1557
- ), A = b(
1558
- () => {
1559
- var g;
1560
- return _t(
1561
- (g = t.hotelRoomOffer) == null ? void 0 : g.hotelRooms,
1562
- (j) => j.count * j.occupancy
1563
- );
1564
- }
1500
+ ), b = f(() => !t.hotelRoomOffer || !t.checkOutDate || !t.checkInDate ? 0 : kt(t.checkOutDate).diff(kt(t.checkInDate), "day")), d = f(
1501
+ () => Ht(t.hotelRoomOffer?.hotelRooms, "count")
1502
+ ), I = f(
1503
+ () => eo(
1504
+ ye({
1505
+ bookingDatetime: kt().format(),
1506
+ cancellationPolicies: t.hotelRoomOffer?.cancellationPolicies,
1507
+ checkInDate: t.checkInDate,
1508
+ timezone: t.hotelTimezone
1509
+ }),
1510
+ oo.Camel
1511
+ )
1512
+ ), T = f(
1513
+ () => Ht(
1514
+ t.hotelRoomOffer?.hotelRooms,
1515
+ (_) => _.count * _.occupancy
1516
+ )
1565
1517
  );
1566
- U(n, (g) => {
1567
- e("breakfast-change", g);
1518
+ L(n, (_) => {
1519
+ e("breakfast-change", _);
1568
1520
  });
1569
- const { t: R } = X();
1521
+ const { t: v } = K();
1570
1522
  return {
1571
1523
  addBreakfast: n,
1572
1524
  breakfastOption: s,
1573
1525
  guestCount: r,
1574
- isBreakfastIncluded: k,
1575
- isBreakfastOptionnal: d,
1526
+ isBreakfastIncluded: p,
1527
+ isBreakfastOptionnal: c,
1576
1528
  isTaxIncluded: l,
1577
- nightCount: m,
1578
- roomCount: c,
1579
- sanitizedCancellationPolicies: P,
1580
- t: R,
1581
- totalOccupancy: A
1529
+ nightCount: b,
1530
+ roomCount: d,
1531
+ sanitizedCancellationPolicies: I,
1532
+ t: v,
1533
+ totalOccupancy: T
1582
1534
  };
1583
1535
  }
1584
1536
  });
1585
- function qt(t) {
1537
+ function zt(t) {
1586
1538
  const e = t;
1587
1539
  e.__i18n = e.__i18n || [], e.__i18n.push({
1588
1540
  locale: "",
@@ -1716,14 +1668,14 @@ function qt(t) {
1716
1668
  }
1717
1669
  });
1718
1670
  }
1719
- const Fo = { key: 0 }, Go = ["innerHTML"], Wo = { class: "font-weight-bold pb-2" }, Yo = { class: "mt-4 font-weight-bold" }, xo = { class: "text-caption mb-0 text-left font-weight-bold" }, Ko = { class: "text-caption" }, Zo = {
1671
+ const Fo = { key: 0 }, Go = ["innerHTML"], Wo = { class: "font-weight-bold pb-2" }, xo = { class: "mt-4 font-weight-bold" }, Yo = { class: "text-caption mb-0 text-left font-weight-bold" }, Ko = { class: "text-caption" }, Zo = {
1720
1672
  key: 0,
1721
1673
  class: "text-caption pl-2"
1722
1674
  }, Qo = { class: "text-caption" }, Jo = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Xo = { key: 0 }, ta = { key: 1 };
1723
- function ea(t, e, n, s, r, k) {
1724
- const d = L("BBasketSummaryLayout"), l = L("BHotelRoomsDetails"), m = L("BBreakfastOptionBadge"), c = L("BBreakfastSwitch"), P = L("BFormattedAmount"), A = L("BPriceSummary"), R = L("CancellationPoliciesList");
1725
- return i(), f("div", null, [
1726
- t.isLoading ? (i(), S(jt, {
1675
+ function ea(t, e, n, s, r, p) {
1676
+ const c = q("BBasketSummaryLayout"), l = q("BHotelRoomsDetails"), b = q("BBreakfastOptionBadge"), d = q("BBreakfastSwitch"), I = q("BFormattedAmount"), T = q("BPriceSummary"), v = q("CancellationPoliciesList");
1677
+ return i(), m("div", null, [
1678
+ t.isLoading ? (i(), O(Gt, {
1727
1679
  key: 0,
1728
1680
  absolute: "",
1729
1681
  class: "mx-n3",
@@ -1738,50 +1690,50 @@ function ea(t, e, n, s, r, k) {
1738
1690
  })
1739
1691
  ]),
1740
1692
  _: 1
1741
- })) : I("", !0),
1742
- t.hotelRoomOffer ? (i(), S(d, { key: "filled-up" }, {
1693
+ })) : C("", !0),
1694
+ t.hotelRoomOffer ? (i(), O(c, { key: "filled-up" }, {
1743
1695
  title: a(() => [
1744
- v("span", null, C(t.t("BBasketSummary.title")), 1)
1696
+ k("span", null, y(t.t("BBasketSummary.title")), 1)
1745
1697
  ]),
1746
1698
  "adult-count": a(() => [
1747
- v("span", {
1699
+ k("span", {
1748
1700
  innerHTML: t.t("BBasketSummary.totalOccupancy", { n: t.totalOccupancy })
1749
1701
  }, null, 8, Go)
1750
1702
  ]),
1751
1703
  "secondary-title": a(() => [
1752
- v("span", Wo, C(t.t("BBasketSummary.yourSelection")), 1)
1704
+ k("span", Wo, y(t.t("BBasketSummary.yourSelection")), 1)
1753
1705
  ]),
1754
1706
  "hotel-rooms": a(() => [
1755
- (i(!0), f(B, null, Z(t.hotelRoomOffer.hotelRooms, (h, E) => (i(), f("div", {
1756
- key: `room-${E}`
1707
+ (i(!0), m(R, null, x(t.hotelRoomOffer.hotelRooms, (_, D) => (i(), m("div", {
1708
+ key: `room-${D}`
1757
1709
  }, [
1758
- o(V, null, {
1710
+ o(P, null, {
1759
1711
  default: a(() => [
1760
- o(O, {
1712
+ o(h, {
1761
1713
  class: "d-flex justify-space-between",
1762
1714
  cols: "12"
1763
1715
  }, {
1764
1716
  default: a(() => [
1765
1717
  o(l, {
1766
- class: Rt({
1767
- "mt-n4": E >= 1
1718
+ class: yt({
1719
+ "mt-n4": D >= 1
1768
1720
  }),
1769
- "hotel-rooms": [h]
1721
+ "hotel-rooms": [_]
1770
1722
  }, null, 8, ["class", "hotel-rooms"]),
1771
1723
  o(nt, {
1772
- class: Rt({
1773
- "mt-n4": E >= 1
1724
+ class: yt({
1725
+ "mt-n4": D >= 1
1774
1726
  }),
1775
1727
  color: "red",
1776
1728
  icon: "",
1777
1729
  variant: "text",
1778
1730
  size: "small",
1779
- onClick: (g) => t.$emit("delete-room", h)
1731
+ onClick: (Z) => t.$emit("delete-room", _)
1780
1732
  }, {
1781
1733
  default: a(() => [
1782
1734
  o(st, null, {
1783
1735
  default: a(() => e[7] || (e[7] = [
1784
- T("fas fa-times")
1736
+ w("fas fa-times")
1785
1737
  ])),
1786
1738
  _: 1,
1787
1739
  __: [7]
@@ -1798,12 +1750,12 @@ function ea(t, e, n, s, r, k) {
1798
1750
  ]))), 128))
1799
1751
  ]),
1800
1752
  "breakfast-option": a(() => [
1801
- t.breakfastOption ? (i(), f(B, { key: 0 }, [
1802
- o(V, { "no-gutters": "" }, {
1753
+ t.breakfastOption ? (i(), m(R, { key: 0 }, [
1754
+ o(P, { "no-gutters": "" }, {
1803
1755
  default: a(() => [
1804
- o(O, null, {
1756
+ o(h, null, {
1805
1757
  default: a(() => [
1806
- o(m, {
1758
+ o(b, {
1807
1759
  "breakfast-count": t.hotelRoomOffer.breakfastCount,
1808
1760
  "breakfast-option": t.hotelRoomOffer.breakfastCount && t.hotelRoomOffer.breakfastCount > 0 ? "INCLUDED" : t.breakfastOption,
1809
1761
  class: "mr-n1"
@@ -1814,51 +1766,52 @@ function ea(t, e, n, s, r, k) {
1814
1766
  ]),
1815
1767
  _: 1
1816
1768
  }),
1817
- t.isBreakfastOptionnal ? (i(), S(V, {
1769
+ t.isBreakfastOptionnal ? (i(), O(P, {
1818
1770
  key: 0,
1819
1771
  class: "mt-2",
1820
1772
  "no-gutters": ""
1821
1773
  }, {
1822
1774
  default: a(() => [
1823
- o(O, { class: "mb-2 mt-xl-0" }, {
1775
+ o(h, { class: "mb-2 mt-xl-0" }, {
1824
1776
  default: a(() => [
1825
- o(c, {
1777
+ o(d, {
1826
1778
  modelValue: t.addBreakfast,
1827
- "onUpdate:modelValue": e[0] || (e[0] = (h) => t.addBreakfast = h),
1779
+ "onUpdate:modelValue": e[0] || (e[0] = (_) => t.addBreakfast = _),
1780
+ currency: t.currency,
1828
1781
  loading: t.isLoading && "success",
1829
1782
  price: t.hotelRoomOffer.breakfastUnitPrice
1830
- }, null, 8, ["modelValue", "loading", "price"])
1783
+ }, null, 8, ["modelValue", "currency", "loading", "price"])
1831
1784
  ]),
1832
1785
  _: 1
1833
1786
  })
1834
1787
  ]),
1835
1788
  _: 1
1836
- })) : I("", !0)
1837
- ], 64)) : I("", !0)
1789
+ })) : C("", !0)
1790
+ ], 64)) : C("", !0)
1838
1791
  ]),
1839
1792
  "price-summary": a(() => [
1840
- v("p", Yo, C(t.t("BBasketSummary.priceDetails")), 1),
1841
- o(V, {
1793
+ k("p", xo, y(t.t("BBasketSummary.priceDetails")), 1),
1794
+ o(P, {
1842
1795
  "no-gutters": "",
1843
1796
  class: "mt-1"
1844
1797
  }, {
1845
1798
  default: a(() => [
1846
- o(O, null, {
1799
+ o(h, null, {
1847
1800
  default: a(() => [
1848
- v("p", xo, C(t.t("BBasketSummary.roomCount", {
1801
+ k("p", Yo, y(t.t("BBasketSummary.roomCount", {
1849
1802
  n: t.roomCount,
1850
1803
  value: t.roomCount
1851
- })) + " x " + C(t.t("BBasketSummary.nightCount", {
1804
+ })) + " x " + y(t.t("BBasketSummary.nightCount", {
1852
1805
  n: t.nightCount,
1853
1806
  value: t.nightCount
1854
1807
  })), 1)
1855
1808
  ]),
1856
1809
  _: 1
1857
1810
  }),
1858
- o(O, { class: "text-right" }, {
1811
+ o(h, { class: "text-right" }, {
1859
1812
  default: a(() => [
1860
- v("span", Ko, [
1861
- o(P, {
1813
+ k("span", Ko, [
1814
+ o(I, {
1862
1815
  amount: t.hotelRoomOffer.price
1863
1816
  }, null, 8, ["amount"])
1864
1817
  ])
@@ -1868,40 +1821,40 @@ function ea(t, e, n, s, r, k) {
1868
1821
  ]),
1869
1822
  _: 1
1870
1823
  }),
1871
- o(V, {
1824
+ o(P, {
1872
1825
  "no-gutters": "",
1873
1826
  class: "mt-n2"
1874
1827
  }, {
1875
1828
  default: a(() => [
1876
- o(O, null, {
1829
+ o(h, null, {
1877
1830
  default: a(() => [
1878
- t.hotelRoomOffer.breakfastCount ? (i(), f("small", Zo, C(t.t("BBasketSummary.breakfastIncluded", {
1831
+ t.hotelRoomOffer.breakfastCount ? (i(), m("small", Zo, y(t.t("BBasketSummary.breakfastIncluded", {
1879
1832
  n: t.hotelRoomOffer.breakfastCount,
1880
1833
  value: t.hotelRoomOffer.breakfastCount
1881
- })), 1)) : I("", !0)
1834
+ })), 1)) : C("", !0)
1882
1835
  ]),
1883
1836
  _: 1
1884
1837
  })
1885
1838
  ]),
1886
1839
  _: 1
1887
1840
  }),
1888
- t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (i(), S(V, {
1841
+ t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (i(), O(P, {
1889
1842
  key: 0,
1890
1843
  "no-gutters": "",
1891
1844
  class: "mt-2 color-black"
1892
1845
  }, {
1893
1846
  default: a(() => [
1894
- o(O, null, {
1847
+ o(h, null, {
1895
1848
  default: a(() => e[8] || (e[8] = [
1896
- v("small", { class: "text-caption text-left font-weight-bold" }, " Taxes & fees ", -1)
1849
+ k("small", { class: "text-caption text-left font-weight-bold" }, " Taxes & fees ", -1)
1897
1850
  ])),
1898
1851
  _: 1,
1899
1852
  __: [8]
1900
1853
  }),
1901
- o(O, { class: "text-right" }, {
1854
+ o(h, { class: "text-right" }, {
1902
1855
  default: a(() => [
1903
- v("span", Qo, [
1904
- o(P, {
1856
+ k("span", Qo, [
1857
+ o(I, {
1905
1858
  amount: t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price
1906
1859
  }, null, 8, ["amount"])
1907
1860
  ])
@@ -1910,19 +1863,19 @@ function ea(t, e, n, s, r, k) {
1910
1863
  })
1911
1864
  ]),
1912
1865
  _: 1
1913
- })) : I("", !0),
1914
- o(V, { class: "mt-0" }, {
1866
+ })) : C("", !0),
1867
+ o(P, { class: "mt-0" }, {
1915
1868
  default: a(() => [
1916
- o(O, null, {
1869
+ o(h, null, {
1917
1870
  default: a(() => e[9] || (e[9] = [
1918
- v("b", null, " Total ", -1)
1871
+ k("b", null, " Total ", -1)
1919
1872
  ])),
1920
1873
  _: 1,
1921
1874
  __: [9]
1922
1875
  }),
1923
- o(O, null, {
1876
+ o(h, null, {
1924
1877
  default: a(() => [
1925
- o(A, {
1878
+ o(T, {
1926
1879
  "is-tax-included": t.isTaxIncluded,
1927
1880
  "night-count": 0,
1928
1881
  price: t.hotelRoomOffer.price,
@@ -1937,7 +1890,7 @@ function ea(t, e, n, s, r, k) {
1937
1890
  })
1938
1891
  ]),
1939
1892
  errors: a(() => [
1940
- t.totalOccupancy && t.totalOccupancy < t.guestCount ? (i(), S(Fe, {
1893
+ t.totalOccupancy && t.totalOccupancy < t.guestCount ? (i(), O(Ke, {
1941
1894
  key: 0,
1942
1895
  class: "mb-0",
1943
1896
  color: "red",
@@ -1945,12 +1898,12 @@ function ea(t, e, n, s, r, k) {
1945
1898
  variant: "outlined"
1946
1899
  }, {
1947
1900
  default: a(() => [
1948
- v("p", Jo, C(t.t("BBasketSummary.occupancyWarning", {
1901
+ k("p", Jo, y(t.t("BBasketSummary.occupancyWarning", {
1949
1902
  guestCount: t.guestCount
1950
1903
  })), 1)
1951
1904
  ]),
1952
1905
  _: 1
1953
- })) : I("", !0)
1906
+ })) : C("", !0)
1954
1907
  ]),
1955
1908
  button: a(() => [
1956
1909
  o(nt, {
@@ -1959,48 +1912,48 @@ function ea(t, e, n, s, r, k) {
1959
1912
  color: t.isSuccessful ? "success" : "primary",
1960
1913
  disabled: !t.hotelRoomOffer,
1961
1914
  loading: t.isSubmitting,
1962
- onClick: e[1] || (e[1] = (h) => t.$emit("submit"))
1915
+ onClick: e[1] || (e[1] = (_) => t.$emit("submit"))
1963
1916
  }, {
1964
1917
  default: a(() => [
1965
- t.isSuccessful ? I("", !0) : (i(), f("span", Xo, C(t.t("BBasketSummary.book")), 1)),
1966
- gt(o(st, { class: "position-absolute" }, {
1918
+ t.isSuccessful ? C("", !0) : (i(), m("span", Xo, y(t.t("BBasketSummary.book")), 1)),
1919
+ ht(o(st, { class: "position-absolute" }, {
1967
1920
  default: a(() => e[10] || (e[10] = [
1968
- T(" fas fa-check ")
1921
+ w(" fas fa-check ")
1969
1922
  ])),
1970
1923
  _: 1,
1971
1924
  __: [10]
1972
1925
  }, 512), [
1973
- [yt, t.isSuccessful]
1926
+ [gt, t.isSuccessful]
1974
1927
  ])
1975
1928
  ]),
1976
1929
  _: 1
1977
1930
  }, 8, ["color", "disabled", "loading"])
1978
1931
  ]),
1979
1932
  "cancellation-policies": a(() => [
1980
- t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (i(), S(R, {
1933
+ t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (i(), O(v, {
1981
1934
  key: 0,
1982
1935
  "cancellation-policies": t.sanitizedCancellationPolicies,
1983
1936
  "check-in-date": t.checkInDate,
1984
1937
  class: "text-caption",
1985
1938
  timezone: t.hotelTimezone
1986
- }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (i(), f("span", ta))
1939
+ }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (i(), m("span", ta))
1987
1940
  ]),
1988
1941
  _: 1
1989
- })) : (i(), S(d, { key: "empty" }, {
1942
+ })) : (i(), O(c, { key: "empty" }, {
1990
1943
  title: a(() => [
1991
- v("span", null, C(t.t("BBasketSummary.title")), 1)
1944
+ k("span", null, y(t.t("BBasketSummary.title")), 1)
1992
1945
  ]),
1993
1946
  "adult-count": a(() => [
1994
- T(C(t.t("BBasketSummary.noSelection")), 1)
1947
+ w(y(t.t("BBasketSummary.noSelection")), 1)
1995
1948
  ]),
1996
1949
  "secondary-title": a(() => e[2] || (e[2] = [
1997
- v("span", null, null, -1)
1950
+ k("span", null, null, -1)
1998
1951
  ])),
1999
1952
  "hotel-rooms": a(() => e[3] || (e[3] = [
2000
- v("span", null, null, -1)
1953
+ k("span", null, null, -1)
2001
1954
  ])),
2002
1955
  "price-summary": a(() => e[4] || (e[4] = [
2003
- v("span", null, null, -1)
1956
+ k("span", null, null, -1)
2004
1957
  ])),
2005
1958
  button: a(() => [
2006
1959
  o(nt, {
@@ -2009,44 +1962,43 @@ function ea(t, e, n, s, r, k) {
2009
1962
  disabled: ""
2010
1963
  }, {
2011
1964
  default: a(() => [
2012
- t.isSuccessful ? I("", !0) : (i(), f("span", Fo, C(t.t("BBasketSummary.book")), 1)),
2013
- gt(o(st, { class: "position-absolute" }, {
1965
+ t.isSuccessful ? C("", !0) : (i(), m("span", Fo, y(t.t("BBasketSummary.book")), 1)),
1966
+ ht(o(st, { class: "position-absolute" }, {
2014
1967
  default: a(() => e[5] || (e[5] = [
2015
- T(" fas fa-check ")
1968
+ w(" fas fa-check ")
2016
1969
  ])),
2017
1970
  _: 1,
2018
1971
  __: [5]
2019
1972
  }, 512), [
2020
- [yt, t.isSuccessful]
1973
+ [gt, t.isSuccessful]
2021
1974
  ])
2022
1975
  ]),
2023
1976
  _: 1
2024
1977
  })
2025
1978
  ]),
2026
1979
  "cancellation-policies": a(() => e[6] || (e[6] = [
2027
- v("span", null, null, -1)
1980
+ k("span", null, null, -1)
2028
1981
  ])),
2029
1982
  _: 1
2030
1983
  }))
2031
1984
  ]);
2032
1985
  }
2033
- typeof qt == "function" && qt(Qt);
2034
- const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
1986
+ typeof zt == "function" && zt(Xt);
1987
+ const oa = /* @__PURE__ */ ot(Xt, [["render", ea]]), aa = {
2035
1988
  hotelId: {
2036
1989
  required: !0,
2037
1990
  type: String
2038
1991
  }
2039
- }, sa = J({
1992
+ }, sa = G({
2040
1993
  components: {
2041
1994
  BBasketSummary: oa,
2042
- HotelRoomOfferItem: Zt,
2043
- HotelRoomOfferItemLayout: kt
1995
+ HotelRoomOfferItem: Jt,
1996
+ HotelRoomOfferItemLayout: wt
2044
1997
  },
2045
1998
  computed: {
2046
- ...he(pt, bt),
1999
+ ...Oe(bt, ft),
2047
2000
  adultCount() {
2048
- var t;
2049
- return (t = this.hotelRoomOfferRequest) == null ? void 0 : t.adultCount;
2001
+ return this.hotelRoomOfferRequest?.adultCount;
2050
2002
  },
2051
2003
  currency() {
2052
2004
  return window.RevolugoElements.config.currency;
@@ -2058,13 +2010,12 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
2058
2010
  );
2059
2011
  },
2060
2012
  hotelRoomOffers() {
2061
- var t, e;
2062
- return ((e = (t = this.$store.get(
2013
+ return this.$store.get(
2063
2014
  "hotelRoomOffers/hotelRoomOffers",
2064
2015
  this.hotelId
2065
- )) == null ? void 0 : t.offers) == null ? void 0 : e.filter(
2066
- (n) => n.type === Ot.HotelRoom
2067
- )) || null;
2016
+ )?.offers?.filter(
2017
+ (t) => t.type === Rt.HotelRoom
2018
+ ) || null;
2068
2019
  },
2069
2020
  hotelTimezone() {
2070
2021
  return this.$store.get("hotelRoomOffers/hotelTimezone", this.hotelId);
@@ -2080,22 +2031,21 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
2080
2031
  },
2081
2032
  methods: {
2082
2033
  async createHotelRoomOfferPackage() {
2083
- var e;
2084
2034
  this.isLoading = !0;
2085
- const t = this.basketContent.map((n) => ({
2086
- count: n.count,
2087
- hotelRoomOfferId: n.hotelRoomOfferId
2088
- })).filter((n) => n.count > 0);
2035
+ const t = this.basketContent.map((e) => ({
2036
+ count: e.count,
2037
+ hotelRoomOfferId: e.hotelRoomOfferId
2038
+ })).filter((e) => e.count > 0);
2089
2039
  try {
2090
- this.newCreatedPackage = await ((e = this.bookingApiClient) == null ? void 0 : e.hotelRoomOffers.create({
2040
+ this.newCreatedPackage = await this.bookingApiClient?.hotelRoomOffers.create({
2091
2041
  hotelRoomOffersCreateApi: {
2092
2042
  addBreakfast: this.addBreakfast,
2093
2043
  currency: this.currency,
2094
2044
  hotelRoomOffers: t
2095
2045
  }
2096
- }));
2097
- } catch (n) {
2098
- throw this.isLoading = !1, n;
2046
+ });
2047
+ } catch (e) {
2048
+ throw this.isLoading = !1, e;
2099
2049
  }
2100
2050
  this.isLoading = !1;
2101
2051
  },
@@ -2122,19 +2072,18 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
2122
2072
  this.basketContent[e].count = 0;
2123
2073
  },
2124
2074
  async onSubmit() {
2125
- var t;
2126
- (t = this.newCreatedPackage) != null && t.hotelRoomOffer.id && (this.isLoading = !0, await this.createBookingPolicy({
2075
+ this.newCreatedPackage?.hotelRoomOffer.id && (this.isLoading = !0, await this.createBookingPolicy({
2127
2076
  addBreakfast: this.addBreakfast,
2128
2077
  hotelId: this.hotelId,
2129
2078
  hotelRoomOfferId: this.newCreatedPackage.hotelRoomOffer.id
2130
2079
  }), await this.createHotelRoomOfferPackage(), this.isLoading = !1);
2131
2080
  }
2132
2081
  },
2133
- mixins: [ve, Ie()],
2082
+ mixins: [Re, ao()],
2134
2083
  name: "HotelRoomOfferBasket",
2135
2084
  props: aa,
2136
2085
  setup() {
2137
- const { t } = X();
2086
+ const { t } = K();
2138
2087
  return {
2139
2088
  t
2140
2089
  };
@@ -2165,37 +2114,37 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
2165
2114
  }
2166
2115
  }
2167
2116
  });
2168
- function na(t, e, n, s, r, k) {
2169
- const d = L("HotelRoomOfferItem"), l = L("BBasketSummary");
2170
- return i(), S(V, { "no-gutters": "" }, {
2117
+ function na(t, e, n, s, r, p) {
2118
+ const c = q("HotelRoomOfferItem"), l = q("BBasketSummary");
2119
+ return i(), O(P, { "no-gutters": "" }, {
2171
2120
  default: a(() => [
2172
- o(O, {
2121
+ o(h, {
2173
2122
  cols: "12",
2174
2123
  md: "8"
2175
2124
  }, {
2176
2125
  default: a(() => [
2177
- t.hotelRoomOffers.length && t.basketContent.length ? (i(!0), f(B, { key: 0 }, Z(t.hotelRoomOffers, (m, c) => (i(), f(B, null, [
2178
- c > 0 ? (i(), S(Q, { key: 0 })) : I("", !0),
2179
- o(d, G({
2180
- modelValue: t.basketContent[c].count,
2181
- "onUpdate:modelValue": (P) => t.basketContent[c].count = P
2182
- }, { ref_for: !0 }, m), null, 16, ["modelValue", "onUpdate:modelValue"])
2183
- ], 64))), 256)) : I("", !0)
2126
+ t.hotelRoomOffers.length && t.basketContent.length ? (i(!0), m(R, { key: 0 }, x(t.hotelRoomOffers, (b, d) => (i(), m(R, null, [
2127
+ d > 0 ? (i(), O(Y, { key: 0 })) : C("", !0),
2128
+ o(c, z({
2129
+ modelValue: t.basketContent[d].count,
2130
+ "onUpdate:modelValue": (I) => t.basketContent[d].count = I
2131
+ }, { ref_for: !0 }, b), null, 16, ["modelValue", "onUpdate:modelValue"])
2132
+ ], 64))), 256)) : C("", !0)
2184
2133
  ]),
2185
2134
  _: 1
2186
2135
  }),
2187
- o(Q, {
2136
+ o(Y, {
2188
2137
  class: "d-none d-md-block",
2189
2138
  vertical: ""
2190
2139
  }),
2191
- o(O, {
2140
+ o(h, {
2192
2141
  class: "mt-3",
2193
2142
  cols: "12",
2194
2143
  md: "4"
2195
2144
  }, {
2196
2145
  default: a(() => [
2197
- o(Q, { class: "d-block d-md-none my-2" }),
2198
- o(l, G(t.newCreatedPackage, {
2146
+ o(Y, { class: "d-block d-md-none my-2" }),
2147
+ o(l, z(t.newCreatedPackage, {
2199
2148
  "adult-count": t.adultCount,
2200
2149
  "hotel-timezone": t.hotelTimezone,
2201
2150
  "is-loading": t.isLoading,
@@ -2212,32 +2161,55 @@ function na(t, e, n, s, r, k) {
2212
2161
  _: 1
2213
2162
  });
2214
2163
  }
2215
- const ia = /* @__PURE__ */ tt(sa, [["render", na], ["__scopeId", "data-v-ee0e3c98"]]), la = {
2216
- boilerplateSkeleton: {
2217
- type: Boolean
2218
- },
2219
- itemCount: {
2220
- default: 3,
2221
- type: Number
2222
- },
2223
- type: {
2224
- type: String
2225
- }
2226
- }, Jt = J({
2164
+ const ia = /* @__PURE__ */ ot(sa, [["render", na], ["__scopeId", "data-v-ee0e3c98"]]), la = G({
2227
2165
  components: {
2228
- BErrorOverlay: St,
2229
- HotelRoomOfferItemLayout: kt
2166
+ BPriceSummarySkeleton: Bt
2167
+ },
2168
+ mixins: [jt],
2169
+ name: "HotelRoomOfferLayout",
2170
+ props: {
2171
+ boilerplate: { type: Boolean }
2230
2172
  },
2231
- name: "HotelRoomOfferListEmpty",
2232
- props: la,
2233
2173
  setup() {
2234
- const { t } = X();
2174
+ const { t } = K();
2235
2175
  return {
2236
2176
  t
2237
2177
  };
2238
2178
  }
2179
+ }), te = /* @__PURE__ */ G({
2180
+ __name: "HotelRoomOfferListEmpty",
2181
+ props: {
2182
+ boilerplateSkeleton: { type: Boolean },
2183
+ itemCount: { default: 3 },
2184
+ type: {}
2185
+ },
2186
+ setup(t) {
2187
+ const { t: e } = K();
2188
+ return (n, s) => (i(), m("div", null, [
2189
+ (i(!0), m(R, null, x(n.itemCount, (r) => (i(), m(R, { key: r }, [
2190
+ r > 1 ? (i(), O(Y, { key: 0 })) : C("", !0),
2191
+ o(S(la), {
2192
+ boilerplate: n.boilerplateSkeleton,
2193
+ class: yt({ "mt-0": r === 1, "mb-0": r === 3 })
2194
+ }, null, 8, ["boilerplate", "class"])
2195
+ ], 64))), 128)),
2196
+ n.type ? (i(), O(St, {
2197
+ key: 0,
2198
+ "min-height": "300px",
2199
+ "z-index": 50
2200
+ }, {
2201
+ title: a(() => [
2202
+ w(y(S(e)(`HotelRoomOfferListEmpty.${n.type}.title`)), 1)
2203
+ ]),
2204
+ description: a(() => [
2205
+ w(y(S(e)(`HotelRoomOfferListEmpty.${n.type}.description`)), 1)
2206
+ ]),
2207
+ _: 1
2208
+ })) : C("", !0)
2209
+ ]));
2210
+ }
2239
2211
  });
2240
- function zt(t) {
2212
+ function Mt(t) {
2241
2213
  const e = t;
2242
2214
  e.__i18n = e.__i18n || [], e.__i18n.push({
2243
2215
  locale: "",
@@ -2357,101 +2329,63 @@ function zt(t) {
2357
2329
  }
2358
2330
  });
2359
2331
  }
2360
- function ra(t, e, n, s, r, k) {
2361
- const d = L("HotelRoomOfferItemLayout"), l = L("BErrorOverlay");
2362
- return i(), f("div", null, [
2363
- (i(!0), f(B, null, Z(t.itemCount, (m) => (i(), f(B, { key: m }, [
2364
- m > 1 ? (i(), S(Q, { key: 0 })) : I("", !0),
2365
- o(d, {
2366
- boilerplate: t.boilerplateSkeleton,
2367
- class: Rt({ "mt-0": m === 1, "mb-0": m === 3 })
2368
- }, null, 8, ["boilerplate", "class"])
2369
- ], 64))), 128)),
2370
- t.type ? (i(), S(l, { key: 0 }, {
2371
- title: a(() => [
2372
- T(C(t.t(`HotelRoomOfferListEmpty.${t.type}.title`)), 1)
2373
- ]),
2374
- description: a(() => [
2375
- T(C(t.t(`HotelRoomOfferListEmpty.${t.type}.description`)), 1)
2376
- ]),
2377
- _: 1
2378
- })) : I("", !0)
2379
- ]);
2380
- }
2381
- typeof zt == "function" && zt(Jt);
2382
- const ua = /* @__PURE__ */ tt(Jt, [["render", ra]]), Xt = {
2332
+ typeof Mt == "function" && Mt(te);
2333
+ const ee = {
2383
2334
  OnlyMatchingRoomCount: !1
2384
- }, ca = {
2385
- ...we,
2335
+ }, ra = {
2336
+ ..._e,
2386
2337
  features: {
2387
- default: () => Xt,
2338
+ default: () => ee,
2388
2339
  type: [Object, String]
2389
2340
  },
2390
2341
  limit: {
2391
2342
  default: () => 0,
2392
2343
  type: Number
2393
2344
  }
2394
- }, te = J({
2345
+ }, oe = G({
2395
2346
  components: {
2396
2347
  BErrorOverlay: St,
2397
2348
  HotelRoomOfferBasket: ia,
2398
- HotelRoomOfferItem: Zt,
2399
- HotelRoomOfferItemLayout: kt,
2400
- HotelRoomOfferListEmpty: ua
2349
+ HotelRoomOfferItem: Jt,
2350
+ HotelRoomOfferItemLayout: wt,
2351
+ HotelRoomOfferListEmpty: te
2401
2352
  },
2402
2353
  name: "HotelRoomOfferList",
2403
- props: ca,
2354
+ props: ra,
2404
2355
  // eslint-disable-next-line max-lines-per-function
2405
2356
  setup(t) {
2406
- const { t: e } = X(), n = bt(), s = pt(), r = x(null), k = x(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), d = mo({
2407
- fallbackValue: Xt,
2408
- prop: b(() => t.features)
2409
- }), l = (p) => p.hotelRooms.reduce((y, _) => y + _.count, 0), m = b(() => s.hotelRoomOfferRequest(t.hotelId)), c = b(
2357
+ const { t: e } = K(), n = ft(), s = bt(), r = F(null), p = F(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), c = ko({
2358
+ fallbackValue: ee,
2359
+ prop: f(() => t.features)
2360
+ }), l = (B) => B.hotelRooms.reduce((A, j) => A + j.count, 0), b = f(() => s.hotelRoomOfferRequest(t.hotelId)), d = f(
2410
2361
  () => n.hotelRoomOffers(t.hotelId)
2411
- ), P = b(
2412
- () => {
2413
- var p, y;
2414
- return !!((p = m.value) != null && p.hasError || (y = c.value) != null && y.hasError);
2415
- }
2416
- ), A = b(
2417
- () => {
2418
- var p, y;
2419
- return ((y = (p = c.value) == null ? void 0 : p.offers) == null ? void 0 : y.filter(
2420
- (_) => _.type === Ot.HotelRoom
2421
- )) || [];
2422
- }
2423
- ), R = b(() => {
2424
- var y, _;
2425
- const p = (_ = (y = c.value) == null ? void 0 : y.offers) == null ? void 0 : _.filter(
2426
- (F) => F.type === Ot.Package
2427
- ).filter((F) => {
2428
- var et, N;
2429
- return (et = d.value) != null && et.OnlyMatchingRoomCount ? l(F) === ((N = m.value) == null ? void 0 : N.roomCount) : !0;
2430
- });
2431
- return (p == null ? void 0 : p.slice(0, t.limit || p.length)) || [];
2432
- }), h = b(
2433
- () => {
2434
- var p, y;
2435
- return !!((p = c.value) != null && p.isPolling) && !!((y = R.value) != null && y.length);
2436
- }
2437
- ), E = b(
2438
- () => {
2439
- var p, y, _, F;
2440
- return !((p = m.value) != null && p.id) || (!!((y = m.value) != null && y.isFetching) || !!((_ = c.value) != null && _.isPolling)) && !((F = R.value) != null && F.length);
2441
- }
2442
- ), g = async ({
2443
- addBreakfast: p,
2444
- hotelId: y,
2445
- id: _
2362
+ ), I = f(
2363
+ () => !!(b.value?.hasError || d.value?.hasError)
2364
+ ), T = f(
2365
+ () => d.value?.offers?.filter(
2366
+ (B) => B.type === Rt.HotelRoom
2367
+ ) || []
2368
+ ), v = f(() => {
2369
+ const B = d.value?.offers?.filter(
2370
+ (A) => A.type === Rt.Package
2371
+ ).filter((A) => c.value?.OnlyMatchingRoomCount ? l(A) === b.value?.roomCount : !0);
2372
+ return B?.slice(0, t.limit || B.length) || [];
2373
+ }), _ = f(
2374
+ () => !!d.value?.isPolling && !!v.value?.length
2375
+ ), D = f(
2376
+ () => !b.value?.id || (!!b.value?.isFetching || !!d.value?.isPolling) && !v.value?.length
2377
+ ), Z = async ({
2378
+ addBreakfast: B,
2379
+ hotelId: A,
2380
+ id: j
2446
2381
  }) => {
2447
2382
  await n.reifyHotelRoomOffer({
2448
- addBreakfast: p,
2449
- hotelId: y,
2450
- id: _
2383
+ addBreakfast: B,
2384
+ hotelId: A,
2385
+ id: j
2451
2386
  });
2452
- }, j = async (p) => {
2453
- var y;
2454
- if (!((y = m.value) != null && y.id)) {
2387
+ }, $ = async (B) => {
2388
+ if (!b.value?.id) {
2455
2389
  n.resetHotelRoomOffers({
2456
2390
  hotelId: t.hotelId
2457
2391
  });
@@ -2459,32 +2393,29 @@ const ua = /* @__PURE__ */ tt(Jt, [["render", ra]]), Xt = {
2459
2393
  }
2460
2394
  await n.retrieveHotelRoomOffers({
2461
2395
  hotelId: t.hotelId,
2462
- hotelRoomOfferRequestId: m.value.id,
2463
- inProgressHotelRoomOfferIds: p
2396
+ hotelRoomOfferRequestId: b.value.id,
2397
+ inProgressHotelRoomOfferIds: B
2464
2398
  });
2465
2399
  };
2466
- async function W(p) {
2467
- await j([p]);
2400
+ async function V(B) {
2401
+ await $([B]);
2468
2402
  }
2469
- U(
2470
- () => {
2471
- var p;
2472
- return (p = m.value) == null ? void 0 : p.id;
2473
- },
2403
+ L(
2404
+ () => b.value?.id,
2474
2405
  async () => {
2475
- await j();
2406
+ await $();
2476
2407
  },
2477
2408
  { immediate: !0 }
2478
2409
  );
2479
- const { bookingApiClient: M, config: D } = ge();
2480
- U(
2481
- () => [M.value, D.value.currency, D.value.lang],
2410
+ const { bookingApiClient: U, config: M } = Ce();
2411
+ L(
2412
+ () => [U.value, M.value.currency, M.value.lang],
2482
2413
  async () => {
2483
- await j();
2414
+ await $();
2484
2415
  },
2485
2416
  { immediate: !0 }
2486
2417
  );
2487
- const Y = go({
2418
+ const Q = Co({
2488
2419
  adultCount: t.adultCount,
2489
2420
  checkInDate: t.checkInDate,
2490
2421
  checkOutDate: t.checkOutDate,
@@ -2494,21 +2425,21 @@ const ua = /* @__PURE__ */ tt(Jt, [["render", ra]]), Xt = {
2494
2425
  sourceMarket: t.sourceMarket
2495
2426
  });
2496
2427
  return {
2497
- hasError: P,
2498
- hotelRoomHotelRoomOffers: A,
2499
- isLoading: h,
2500
- onBreakfastChange: g,
2501
- packageHotelRoomOffers: R,
2502
- showSkeleton: E,
2428
+ hasError: I,
2429
+ hotelRoomHotelRoomOffers: T,
2430
+ isLoading: _,
2431
+ onBreakfastChange: Z,
2432
+ packageHotelRoomOffers: v,
2433
+ showSkeleton: D,
2503
2434
  t: e,
2504
2435
  tab: r,
2505
- tabItems: k,
2506
- ...Y,
2507
- onBookingPolicyFailed: W
2436
+ tabItems: p,
2437
+ ...Q,
2438
+ onBookingPolicyFailed: V
2508
2439
  };
2509
2440
  }
2510
2441
  });
2511
- function Mt(t) {
2442
+ function Nt(t) {
2512
2443
  const e = t;
2513
2444
  e.__i18n = e.__i18n || [], e.__i18n.push({
2514
2445
  locale: "",
@@ -2586,7 +2517,7 @@ function Mt(t) {
2586
2517
  }
2587
2518
  });
2588
2519
  }
2589
- const wt = Symbol.for("vuetify:v-tabs"), da = lt({
2520
+ const Pt = Symbol.for("vuetify:v-tabs"), ua = rt({
2590
2521
  fixed: Boolean,
2591
2522
  sliderColor: String,
2592
2523
  hideSlider: Boolean,
@@ -2594,13 +2525,13 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
2594
2525
  type: String,
2595
2526
  default: "horizontal"
2596
2527
  },
2597
- ...Nt(xe({
2528
+ ...Ft(Ze({
2598
2529
  selectedClass: "v-tab--selected",
2599
2530
  variant: "text"
2600
2531
  }), ["active", "block", "flat", "location", "position", "symbol"])
2601
- }, "VTab"), ee = it()({
2532
+ }, "VTab"), ae = lt()({
2602
2533
  name: "VTab",
2603
- props: da(),
2534
+ props: ua(),
2604
2535
  setup(t, e) {
2605
2536
  let {
2606
2537
  slots: n,
@@ -2608,63 +2539,56 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
2608
2539
  } = e;
2609
2540
  const {
2610
2541
  textColorClasses: r,
2611
- textColorStyles: k
2612
- } = He(t, "sliderColor"), d = x(), l = x(), m = b(() => t.direction === "horizontal"), c = b(() => {
2613
- var A, R;
2614
- return ((R = (A = d.value) == null ? void 0 : A.group) == null ? void 0 : R.isSelected.value) ?? !1;
2615
- });
2616
- function P(A) {
2617
- var h, E;
2542
+ textColorStyles: p
2543
+ } = Ve(t, "sliderColor"), c = F(), l = F(), b = f(() => t.direction === "horizontal"), d = f(() => c.value?.group?.isSelected.value ?? !1);
2544
+ function I(T) {
2618
2545
  let {
2619
- value: R
2620
- } = A;
2621
- if (R) {
2622
- const g = (E = (h = d.value) == null ? void 0 : h.$el.parentElement) == null ? void 0 : E.querySelector(".v-tab--selected .v-tab__slider"), j = l.value;
2623
- if (!g || !j) return;
2624
- const W = getComputedStyle(g).color, M = g.getBoundingClientRect(), D = j.getBoundingClientRect(), Y = m.value ? "x" : "y", p = m.value ? "X" : "Y", y = m.value ? "right" : "bottom", _ = m.value ? "width" : "height", F = M[Y], et = D[Y], N = F > et ? M[y] - D[y] : M[Y] - D[Y], u = Math.sign(N) > 0 ? m.value ? "right" : "bottom" : Math.sign(N) < 0 ? m.value ? "left" : "top" : "center", w = (Math.abs(N) + (Math.sign(N) < 0 ? M[_] : D[_])) / Math.max(M[_], D[_]) || 0, q = M[_] / D[_] || 0, ut = 1.5;
2625
- Te(j, {
2626
- backgroundColor: [W, "currentcolor"],
2627
- transform: [`translate${p}(${N}px) scale${p}(${q})`, `translate${p}(${N / ut}px) scale${p}(${(w - 1) / ut + 1})`, "none"],
2628
- transformOrigin: Array(3).fill(u)
2546
+ value: v
2547
+ } = T;
2548
+ if (v) {
2549
+ const _ = c.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), D = l.value;
2550
+ if (!_ || !D) return;
2551
+ const Z = getComputedStyle(_).color, $ = _.getBoundingClientRect(), V = D.getBoundingClientRect(), U = b.value ? "x" : "y", M = b.value ? "X" : "Y", Q = b.value ? "right" : "bottom", B = b.value ? "width" : "height", A = $[U], j = V[U], N = A > j ? $[Q] - V[Q] : $[U] - V[U], it = Math.sign(N) > 0 ? b.value ? "right" : "bottom" : Math.sign(N) < 0 ? b.value ? "left" : "top" : "center", X = (Math.abs(N) + (Math.sign(N) < 0 ? $[B] : V[B])) / Math.max($[B], V[B]) || 0, u = $[B] / V[B] || 0, H = 1.5;
2552
+ Ee(D, {
2553
+ backgroundColor: [Z, "currentcolor"],
2554
+ transform: [`translate${M}(${N}px) scale${M}(${u})`, `translate${M}(${N / H}px) scale${M}(${(X - 1) / H + 1})`, "none"],
2555
+ transformOrigin: Array(3).fill(it)
2629
2556
  }, {
2630
2557
  duration: 225,
2631
- easing: Ve
2558
+ easing: Ae
2632
2559
  });
2633
2560
  }
2634
2561
  }
2635
- return rt(() => {
2636
- const A = nt.filterProps(t);
2637
- return o(nt, G({
2638
- symbol: wt,
2639
- ref: d,
2562
+ return ut(() => {
2563
+ const T = nt.filterProps(t);
2564
+ return o(nt, z({
2565
+ symbol: Pt,
2566
+ ref: c,
2640
2567
  class: ["v-tab", t.class],
2641
2568
  style: t.style,
2642
- tabindex: c.value ? 0 : -1,
2569
+ tabindex: d.value ? 0 : -1,
2643
2570
  role: "tab",
2644
- "aria-selected": String(c.value),
2571
+ "aria-selected": String(d.value),
2645
2572
  active: !1
2646
- }, A, s, {
2573
+ }, T, s, {
2647
2574
  block: t.fixed,
2648
2575
  maxWidth: t.fixed ? 300 : void 0,
2649
- "onGroup:selected": P
2576
+ "onGroup:selected": I
2650
2577
  }), {
2651
2578
  ...n,
2652
- default: () => {
2653
- var R;
2654
- return o(B, null, [((R = n.default) == null ? void 0 : R.call(n)) ?? t.text, !t.hideSlider && o("div", {
2655
- ref: l,
2656
- class: ["v-tab__slider", r.value],
2657
- style: k.value
2658
- }, null)]);
2659
- }
2579
+ default: () => o(R, null, [n.default?.() ?? t.text, !t.hideSlider && o("div", {
2580
+ ref: l,
2581
+ class: ["v-tab__slider", r.value],
2582
+ style: p.value
2583
+ }, null)])
2660
2584
  });
2661
- }), eo({}, d);
2585
+ }), no({}, c);
2662
2586
  }
2663
- }), ma = lt({
2664
- ...Nt(oo(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
2665
- }, "VTabsWindow"), oe = it()({
2587
+ }), ca = rt({
2588
+ ...Ft(io(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
2589
+ }, "VTabsWindow"), se = lt()({
2666
2590
  name: "VTabsWindow",
2667
- props: ma(),
2591
+ props: ca(),
2668
2592
  emits: {
2669
2593
  "update:modelValue": (t) => !0
2670
2594
  },
@@ -2672,22 +2596,21 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
2672
2596
  let {
2673
2597
  slots: n
2674
2598
  } = e;
2675
- const s = ye(wt, null), r = mt(t, "modelValue"), k = b({
2599
+ const s = Be(Pt, null), r = dt(t, "modelValue"), p = f({
2676
2600
  get() {
2677
- var d;
2678
- return r.value != null || !s ? r.value : (d = s.items.value.find((l) => s.selected.value.includes(l.id))) == null ? void 0 : d.value;
2601
+ return r.value != null || !s ? r.value : s.items.value.find((c) => s.selected.value.includes(c.id))?.value;
2679
2602
  },
2680
- set(d) {
2681
- r.value = d;
2603
+ set(c) {
2604
+ r.value = c;
2682
2605
  }
2683
2606
  });
2684
- return rt(() => {
2685
- const d = Vt.filterProps(t);
2686
- return o(Vt, G({
2607
+ return ut(() => {
2608
+ const c = Et.filterProps(t);
2609
+ return o(Et, z({
2687
2610
  _as: "VTabsWindow"
2688
- }, d, {
2689
- modelValue: k.value,
2690
- "onUpdate:modelValue": (l) => k.value = l,
2611
+ }, c, {
2612
+ modelValue: p.value,
2613
+ "onUpdate:modelValue": (l) => p.value = l,
2691
2614
  class: ["v-tabs-window", t.class],
2692
2615
  style: t.style,
2693
2616
  mandatory: !1,
@@ -2695,18 +2618,18 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
2695
2618
  }), n);
2696
2619
  }), {};
2697
2620
  }
2698
- }), fa = lt({
2699
- ...ao()
2700
- }, "VTabsWindowItem"), Bt = it()({
2621
+ }), da = rt({
2622
+ ...lo()
2623
+ }, "VTabsWindowItem"), Ct = lt()({
2701
2624
  name: "VTabsWindowItem",
2702
- props: fa(),
2625
+ props: da(),
2703
2626
  setup(t, e) {
2704
2627
  let {
2705
2628
  slots: n
2706
2629
  } = e;
2707
- return rt(() => {
2708
- const s = Et.filterProps(t);
2709
- return o(Et, G({
2630
+ return ut(() => {
2631
+ const s = At.filterProps(t);
2632
+ return o(At, z({
2710
2633
  _as: "VTabsWindowItem"
2711
2634
  }, s, {
2712
2635
  class: ["v-tabs-window-item", t.class],
@@ -2715,13 +2638,13 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
2715
2638
  }), {};
2716
2639
  }
2717
2640
  });
2718
- function ba(t) {
2719
- return t ? t.map((e) => Ce(e) ? e : {
2641
+ function ma(t) {
2642
+ return t ? t.map((e) => we(e) ? e : {
2720
2643
  text: e,
2721
2644
  value: e
2722
2645
  }) : [];
2723
2646
  }
2724
- const pa = lt({
2647
+ const fa = rt({
2725
2648
  alignTabs: {
2726
2649
  type: String,
2727
2650
  default: "start"
@@ -2741,15 +2664,15 @@ const pa = lt({
2741
2664
  },
2742
2665
  hideSlider: Boolean,
2743
2666
  sliderColor: String,
2744
- ...so({
2667
+ ...ro({
2745
2668
  mandatory: "force",
2746
2669
  selectedClass: "v-tab-item--selected"
2747
2670
  }),
2748
- ...Me(),
2749
- ...$e()
2750
- }, "VTabs"), ka = it()({
2671
+ ...Fe(),
2672
+ ...De()
2673
+ }, "VTabs"), ba = lt()({
2751
2674
  name: "VTabs",
2752
- props: pa(),
2675
+ props: fa(),
2753
2676
  emits: {
2754
2677
  "update:modelValue": (t) => !0
2755
2678
  },
@@ -2758,135 +2681,117 @@ const pa = lt({
2758
2681
  attrs: n,
2759
2682
  slots: s
2760
2683
  } = e;
2761
- const r = mt(t, "modelValue"), k = b(() => ba(t.items)), {
2762
- densityClasses: d
2763
- } = ze(t), {
2684
+ const r = dt(t, "modelValue"), p = f(() => ma(t.items)), {
2685
+ densityClasses: c
2686
+ } = je(t), {
2764
2687
  backgroundColorClasses: l,
2765
- backgroundColorStyles: m
2766
- } = Ee(at(t, "bgColor")), {
2767
- scopeId: c
2768
- } = Ae();
2769
- return Re({
2688
+ backgroundColorStyles: b
2689
+ } = Le(et(t, "bgColor")), {
2690
+ scopeId: d
2691
+ } = $e();
2692
+ return Se({
2770
2693
  VTab: {
2771
- color: at(t, "color"),
2772
- direction: at(t, "direction"),
2773
- stacked: at(t, "stacked"),
2774
- fixed: at(t, "fixedTabs"),
2775
- sliderColor: at(t, "sliderColor"),
2776
- hideSlider: at(t, "hideSlider")
2694
+ color: et(t, "color"),
2695
+ direction: et(t, "direction"),
2696
+ stacked: et(t, "stacked"),
2697
+ fixed: et(t, "fixedTabs"),
2698
+ sliderColor: et(t, "sliderColor"),
2699
+ hideSlider: et(t, "hideSlider")
2777
2700
  }
2778
- }), rt(() => {
2779
- const P = At.filterProps(t), A = !!(s.window || t.items.length > 0);
2780
- return o(B, null, [o(At, G(P, {
2701
+ }), ut(() => {
2702
+ const I = Lt.filterProps(t), T = !!(s.window || t.items.length > 0);
2703
+ return o(R, null, [o(Lt, z(I, {
2781
2704
  modelValue: r.value,
2782
- "onUpdate:modelValue": (R) => r.value = R,
2705
+ "onUpdate:modelValue": (v) => r.value = v,
2783
2706
  class: ["v-tabs", `v-tabs--${t.direction}`, `v-tabs--align-tabs-${t.alignTabs}`, {
2784
2707
  "v-tabs--fixed-tabs": t.fixedTabs,
2785
2708
  "v-tabs--grow": t.grow,
2786
2709
  "v-tabs--stacked": t.stacked
2787
- }, d.value, l.value, t.class],
2710
+ }, c.value, l.value, t.class],
2788
2711
  style: [{
2789
- "--v-tabs-height": Oe(t.height)
2790
- }, m.value, t.style],
2712
+ "--v-tabs-height": Ie(t.height)
2713
+ }, b.value, t.style],
2791
2714
  role: "tablist",
2792
- symbol: wt
2793
- }, c, n), {
2794
- default: () => {
2795
- var R;
2796
- return [((R = s.default) == null ? void 0 : R.call(s)) ?? k.value.map((h) => {
2797
- var E;
2798
- return ((E = s.tab) == null ? void 0 : E.call(s, {
2799
- item: h
2800
- })) ?? o(ee, G(h, {
2801
- key: h.text,
2802
- value: h.value
2803
- }), {
2804
- default: s[`tab.${h.value}`] ? () => {
2805
- var g;
2806
- return (g = s[`tab.${h.value}`]) == null ? void 0 : g.call(s, {
2807
- item: h
2808
- });
2809
- } : void 0
2810
- });
2811
- })];
2812
- }
2813
- }), A && o(oe, G({
2715
+ symbol: Pt
2716
+ }, d, n), {
2717
+ default: () => [s.default?.() ?? p.value.map((v) => s.tab?.({
2718
+ item: v
2719
+ }) ?? o(ae, z(v, {
2720
+ key: v.text,
2721
+ value: v.value
2722
+ }), {
2723
+ default: s[`tab.${v.value}`] ? () => s[`tab.${v.value}`]?.({
2724
+ item: v
2725
+ }) : void 0
2726
+ }))]
2727
+ }), T && o(se, z({
2814
2728
  modelValue: r.value,
2815
- "onUpdate:modelValue": (R) => r.value = R,
2729
+ "onUpdate:modelValue": (v) => r.value = v,
2816
2730
  key: "tabs-window"
2817
- }, c), {
2818
- default: () => {
2819
- var R;
2820
- return [k.value.map((h) => {
2821
- var E;
2822
- return ((E = s.item) == null ? void 0 : E.call(s, {
2823
- item: h
2824
- })) ?? o(Bt, {
2825
- value: h.value
2826
- }, {
2827
- default: () => {
2828
- var g;
2829
- return (g = s[`item.${h.value}`]) == null ? void 0 : g.call(s, {
2830
- item: h
2831
- });
2832
- }
2833
- });
2834
- }), (R = s.window) == null ? void 0 : R.call(s)];
2835
- }
2731
+ }, d), {
2732
+ default: () => [p.value.map((v) => s.item?.({
2733
+ item: v
2734
+ }) ?? o(Ct, {
2735
+ value: v.value
2736
+ }, {
2737
+ default: () => s[`item.${v.value}`]?.({
2738
+ item: v
2739
+ })
2740
+ })), s.window?.()]
2836
2741
  })]);
2837
2742
  }), {};
2838
2743
  }
2839
- }), va = { class: "bg-white" }, ha = { key: 0 };
2840
- function ga(t, e, n, s, r, k) {
2841
- const d = L("HotelRoomOfferListEmpty"), l = L("HotelRoomOfferItem"), m = L("HotelRoomOfferBasket");
2842
- return i(), f("div", va, [
2843
- t.isBookingApiClientDefined ? (i(), f(B, { key: 1 }, [
2844
- t.hasError ? (i(), S(d, {
2744
+ }), pa = { class: "bg-white" }, ka = { key: 0 };
2745
+ function va(t, e, n, s, r, p) {
2746
+ const c = q("HotelRoomOfferListEmpty"), l = q("HotelRoomOfferItem"), b = q("HotelRoomOfferBasket");
2747
+ return i(), m("div", pa, [
2748
+ t.isBookingApiClientDefined ? (i(), m(R, { key: 1 }, [
2749
+ t.hasError ? (i(), O(c, {
2845
2750
  key: "error",
2846
2751
  boilerplate: "",
2847
2752
  type: "internalError"
2848
- })) : t.showSkeleton ? (i(), S(d, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (i(), f(B, { key: 2 }, [
2849
- t.hotelRoomHotelRoomOffers.length ? I("", !0) : (i(), f("div", ha)),
2850
- t.isLoading ? (i(), S(Ye, {
2753
+ })) : t.showSkeleton ? (i(), O(c, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (i(), m(R, { key: 2 }, [
2754
+ t.hotelRoomHotelRoomOffers.length ? C("", !0) : (i(), m("div", ka)),
2755
+ t.isLoading ? (i(), O(Ge, {
2851
2756
  key: 1,
2852
2757
  class: "loader position-absolute",
2853
2758
  color: "secondary",
2854
2759
  indeterminate: ""
2855
- })) : I("", !0),
2856
- t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (i(), f(B, { key: 2 }, [
2857
- o(ka, {
2760
+ })) : C("", !0),
2761
+ t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (i(), m(R, { key: 2 }, [
2762
+ o(ba, {
2858
2763
  color: "primary",
2859
2764
  density: "compact",
2860
2765
  modelValue: t.tab,
2861
- "onUpdate:modelValue": e[0] || (e[0] = (c) => t.tab = c),
2766
+ "onUpdate:modelValue": e[0] || (e[0] = (d) => t.tab = d),
2862
2767
  grow: ""
2863
2768
  }, {
2864
2769
  default: a(() => [
2865
- (i(!0), f(B, null, Z(t.tabItems, (c) => (i(), f(B, { key: c }, [
2866
- o(ee, null, {
2770
+ (i(!0), m(R, null, x(t.tabItems, (d) => (i(), m(R, { key: d }, [
2771
+ o(ae, null, {
2867
2772
  default: a(() => [
2868
- T(C(t.t(`HotelRoomOfferList.${c}.title`)), 1)
2773
+ w(y(t.t(`HotelRoomOfferList.${d}.title`)), 1)
2869
2774
  ]),
2870
2775
  _: 2
2871
2776
  }, 1024),
2872
- o(Q, { vertical: "" })
2777
+ o(Y, { vertical: "" })
2873
2778
  ], 64))), 128))
2874
2779
  ]),
2875
2780
  _: 1
2876
2781
  }, 8, ["modelValue"]),
2877
- o(oe, {
2782
+ o(se, {
2878
2783
  modelValue: t.tab,
2879
- "onUpdate:modelValue": e[1] || (e[1] = (c) => t.tab = c),
2784
+ "onUpdate:modelValue": e[1] || (e[1] = (d) => t.tab = d),
2880
2785
  class: "overflow-visible"
2881
2786
  }, {
2882
2787
  default: a(() => [
2883
- o(Bt, { class: "pt-3" }, {
2788
+ o(Ct, { class: "pt-3" }, {
2884
2789
  default: a(() => [
2885
- (i(!0), f(B, null, Z(t.packageHotelRoomOffers, (c, P) => (i(), f(B, {
2886
- key: c.id
2790
+ (i(!0), m(R, null, x(t.packageHotelRoomOffers, (d, I) => (i(), m(R, {
2791
+ key: d.id
2887
2792
  }, [
2888
- P > 0 ? (i(), S(Q, { key: 0 })) : I("", !0),
2889
- o(l, G({ ref_for: !0 }, c, {
2793
+ I > 0 ? (i(), O(Y, { key: 0 })) : C("", !0),
2794
+ o(l, z({ ref_for: !0 }, d, {
2890
2795
  onBreakfastChange: t.onBreakfastChange,
2891
2796
  onBookingPolicyFailed: t.onBookingPolicyFailed
2892
2797
  }), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
@@ -2894,41 +2799,41 @@ function ga(t, e, n, s, r, k) {
2894
2799
  ]),
2895
2800
  _: 1
2896
2801
  }),
2897
- o(Bt, { class: "pt-3 pb-5" }, {
2802
+ o(Ct, { class: "pt-3 pb-5" }, {
2898
2803
  default: a(() => [
2899
- o(m, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
2804
+ o(b, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
2900
2805
  ]),
2901
2806
  _: 1
2902
2807
  })
2903
2808
  ]),
2904
2809
  _: 1
2905
2810
  }, 8, ["modelValue"])
2906
- ], 64)) : (i(!0), f(B, { key: 3 }, Z(t.packageHotelRoomOffers, (c, P) => (i(), f(B, {
2907
- key: c.id
2811
+ ], 64)) : (i(!0), m(R, { key: 3 }, x(t.packageHotelRoomOffers, (d, I) => (i(), m(R, {
2812
+ key: d.id
2908
2813
  }, [
2909
- P > 0 ? (i(), S(Q, { key: 0 })) : I("", !0),
2910
- o(l, G({ ref_for: !0 }, c, {
2814
+ I > 0 ? (i(), O(Y, { key: 0 })) : C("", !0),
2815
+ o(l, z({ ref_for: !0 }, d, {
2911
2816
  onBreakfastChange: t.onBreakfastChange,
2912
2817
  onBookingPolicyFailed: t.onBookingPolicyFailed
2913
2818
  }), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
2914
2819
  ], 64))), 128))
2915
- ], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (i(), S(d, {
2820
+ ], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (i(), O(c, {
2916
2821
  key: "skeleton",
2917
2822
  boilerplate: "",
2918
2823
  type: "noResults"
2919
- })) : I("", !0)
2920
- ], 64)) : (i(), f(B, { key: 0 }, [], 64))
2824
+ })) : C("", !0)
2825
+ ], 64)) : (i(), m(R, { key: 0 }, [], 64))
2921
2826
  ]);
2922
2827
  }
2923
- typeof Mt == "function" && Mt(te);
2924
- const Ga = /* @__PURE__ */ tt(te, [["render", ga], ["__scopeId", "data-v-e71fbea6"]]);
2925
- se("css/revolugo.hotelroomofferlist.DI_s2G5c.css");
2828
+ typeof Nt == "function" && Nt(oe);
2829
+ const Ga = /* @__PURE__ */ ot(oe, [["render", va], ["__scopeId", "data-v-e71fbea6"]]);
2830
+ ie("css/revolugo.hotelroomofferlist.-6YLPyqb.css");
2926
2831
  export {
2927
- Ct as B,
2832
+ Ot as B,
2928
2833
  Ga as H,
2929
- Xt as a,
2930
- ca as h,
2931
- ro as r,
2932
- mo as u
2834
+ ee as a,
2835
+ ra as h,
2836
+ fo as r,
2837
+ ko as u
2933
2838
  };
2934
- //# sourceMappingURL=revolugo.hotelroomofferlist.Dr11epuR.min.js.map
2839
+ //# sourceMappingURL=revolugo.hotelroomofferlist.Btf8fSvl.min.js.map