@revolugo/elements 6.9.3-beta.9 → 6.9.4-rc.0

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 (190) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.bdaterangepicker.OLspTh_0.css +1 -0
  3. package/dist/css/revolugo.bhoteloffersfilterbar.BebBKpCh.css +1 -0
  4. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +1 -0
  5. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +1 -0
  6. package/dist/css/revolugo.bookingdetailssidebar.Cp4sLBjD.css +1 -0
  7. package/dist/css/revolugo.bstarrating.CPHKEfup.css +1 -0
  8. package/dist/css/revolugo.btag.T7X_iIkW.css +1 -0
  9. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +1 -0
  10. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +1 -0
  11. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +1 -0
  12. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +1 -0
  13. package/dist/css/revolugo.hoteldescriptionview.B-RiiuPY.css +1 -0
  14. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +1 -0
  15. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
  16. package/dist/css/revolugo.hoteloffersmap.Z5DFtK0_.css +1 -0
  17. package/dist/css/revolugo.hoteloffersview.CLbnSww6.css +1 -0
  18. package/dist/css/revolugo.hotelroomofferlist.D8JlZt_N.css +1 -0
  19. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +1 -0
  20. package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
  21. package/dist/css/revolugo.index.XNPQF1ia.css +5 -0
  22. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +1 -0
  23. package/dist/css/revolugo.prebookform.DmCR7hLv.css +1 -0
  24. package/dist/css/revolugo.preferencesmenu.fPv_7j-1.css +1 -0
  25. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
  26. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +1 -0
  27. package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
  28. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
  29. package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
  30. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
  31. package/dist/css/revolugo.vdialog.DwTSAOeg.css +1 -0
  32. package/dist/css/revolugo.vdivider.CTbbZwnv.css +1 -0
  33. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +1 -0
  34. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  35. package/dist/css/revolugo.vinput.BPiFMorL.css +1 -0
  36. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +1 -0
  37. package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
  38. package/dist/css/revolugo.vmenu.DvKwEp1j.css +1 -0
  39. package/dist/css/revolugo.vselect.C5CKHFYB.css +1 -0
  40. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +1 -0
  41. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +1 -0
  42. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +1 -0
  43. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +1 -0
  44. package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +1 -0
  45. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +1 -0
  46. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
  47. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +1 -0
  48. package/dist/css/{revolugo.webcomponentwrapper.BQSUxe3K.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +1 -1
  49. package/dist/index.es.min.js +1518 -1275
  50. package/dist/index.es.min.js.map +1 -1
  51. package/dist/index.min.js +5 -5
  52. package/dist/index.min.js.map +1 -1
  53. package/dist/revolugo._baseiteratee.C9fSfygW.min.js +247 -0
  54. package/dist/revolugo.banktransferdetails.HF-5whLi.min.js +373 -0
  55. package/dist/revolugo.bdaterangepicker.Dztdr7of.min.js +8327 -0
  56. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.WRP6nh8U.min.js +146 -0
  57. package/dist/revolugo.bhoteloffersfilterbar.riRikxpD.min.js +4901 -0
  58. package/dist/revolugo.bhotelroomsdetails.DSVvK0I7.min.js +965 -0
  59. package/dist/revolugo.bimagecarousel.0DDXWSsX.min.js +566 -0
  60. package/dist/revolugo.bookingdetailssidebar.B3nJVjzT.min.js +24 -0
  61. package/dist/revolugo.bookingdetailssidebar.HR95sw2v.min.js +870 -0
  62. package/dist/revolugo.bookingmanager.CHhySvbL.min.js +1755 -0
  63. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.DCBOxir-.min.js +66 -0
  64. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.D7d1JNOc.min.js +570 -0
  65. package/dist/revolugo.btag.C27GlEZ3.min.js +375 -0
  66. package/dist/revolugo.cancellationpoliciesbadge.CQ9NQZ7F.min.js +28 -0
  67. package/dist/revolugo.cancellationpoliciesbadge.D7VDRPmO.min.js +198 -0
  68. package/dist/revolugo.cancellationpolicieslist.DUrr7Myp.min.js +25 -0
  69. package/dist/revolugo.cancellationpolicieslist.IKkTYxdE.min.js +148 -0
  70. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
  71. package/dist/revolugo.case-transformers.Blb5hegY.min.js +123 -0
  72. package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
  73. package/dist/{revolugo.creditcardstripeform.B8KtVBUI.min.js → revolugo.creditcardform.CejFX150.min.js} +886 -888
  74. package/dist/revolugo.creditcardform.Dx00l01z.min.js +24 -0
  75. package/dist/revolugo.creditcardpayment.CkfC2xTo.min.js +885 -0
  76. package/dist/revolugo.creditcardpayment.DZf0q5_n.min.js +24 -0
  77. package/dist/revolugo.currencypicker.B9c-AV8V.min.js +328 -0
  78. package/dist/revolugo.currencypickerbtn.B_lw6N3Y.min.js +24 -0
  79. package/dist/revolugo.currencypickerbtn.edi3iO6h.min.js +157 -0
  80. package/dist/revolugo.dates.DiE5ynTe.min.js +31 -0
  81. package/dist/revolugo.defaultsdeep.EmfuGqBQ.min.js +104 -0
  82. package/dist/{revolugo.dialog-attach.e4eWyf04.min.js → revolugo.dialog-attach.C4Yvk6WJ.min.js} +2 -2
  83. package/dist/revolugo.dialog-transition.Dly9KKqO.min.js +111 -0
  84. package/dist/revolugo.fastbookingflow.DPOX_gos.min.js +34 -0
  85. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
  86. package/dist/revolugo.fullbookingflow.DSJE_kaM.min.js +429 -0
  87. package/dist/revolugo.hotel-offer-request.C9zwgVPt.min.js +98 -0
  88. package/dist/revolugo.hoteldescriptionview.Dtd-_3_8.min.js +24 -0
  89. package/dist/revolugo.hoteldescriptionview.kERJQPWm.min.js +2738 -0
  90. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CiHBAV7m.min.js +239 -0
  91. package/dist/revolugo.hotelofferlist.BC-TSjS6.min.js +24 -0
  92. package/dist/revolugo.hotelofferlist.D2AXSf4v.min.js +5640 -0
  93. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
  94. package/dist/revolugo.hoteloffersearchmenu.BODV4ZIe.min.js +202 -0
  95. package/dist/revolugo.hoteloffersearchmenuui.DqWHAurZ.min.js +829 -0
  96. package/dist/revolugo.hoteloffersmap.C6nn7LXn.min.js +8330 -0
  97. package/dist/revolugo.hoteloffersmap.Db9NNgcN.min.js +24 -0
  98. package/dist/revolugo.hoteloffersview.BAwQcocI.min.js +19 -0
  99. package/dist/revolugo.hoteloffersview.CIVNGmGO.min.js +616 -0
  100. package/dist/revolugo.hotelroomofferlist.C9y91Ya3.min.js +2799 -0
  101. package/dist/revolugo.hotelroomofferlist.CiBIB0Pb.min.js +24 -0
  102. package/dist/revolugo.hotelroomofferrequestcreator.props.2Sq_iptZ.min.js +171 -0
  103. package/dist/revolugo.hotelroomoffersbookingflow.BS4Fa2EH.min.js +1281 -0
  104. package/dist/revolugo.hotelroomoffersearchmenu.CXgExPhR.min.js +25 -0
  105. package/dist/revolugo.hotelroomoffersearchmenu.x_--4RXV.min.js +231 -0
  106. package/dist/revolugo.hotelroomoffersview.BzmRXy0a.min.js +290 -0
  107. package/dist/revolugo.hotelroomoffersview.CFo6k7zm.min.js +24 -0
  108. package/dist/revolugo.index.CDNx7Tg4.min.js +67 -0
  109. package/dist/revolugo.index.DZEISB0K.min.js +1232 -0
  110. package/dist/{revolugo.index.wc.CiJw1SpW.min.js → revolugo.index.wc.DLkeXtka.min.js} +4659 -4637
  111. package/dist/revolugo.langpicker.D7zIuy78.min.js +99 -0
  112. package/dist/revolugo.langpickerbtn.BF7sml8K.min.js +29 -0
  113. package/dist/revolugo.langpickerbtn.DMcy_gHZ.min.js +131 -0
  114. package/dist/revolugo.min.js +1 -1
  115. package/dist/revolugo.parsed-props.B5g9_9k5.min.js +40 -0
  116. package/dist/revolugo.pathify.DL0POvNz.min.js +36 -0
  117. package/dist/revolugo.prebookform.BMEaruyl.min.js +1527 -0
  118. package/dist/revolugo.prebookform.BVyTAnc9.min.js +24 -0
  119. package/dist/revolugo.preferencesmenu.5pUjkA0F.min.js +24 -0
  120. package/dist/revolugo.preferencesmenu.CfUC3L6C.min.js +261 -0
  121. package/dist/revolugo.roominglisteditor.DLWeU6Ct.min.js +385 -0
  122. package/dist/revolugo.roominglisteditor.L6CmotRz.min.js +24 -0
  123. package/dist/revolugo.rounded.C-2ilaaW.min.js +68 -0
  124. package/dist/revolugo.ssrboot.D7k4-YG4.min.js +18 -0
  125. package/dist/revolugo.storybooktoolbar.CTe_QwGW.min.js +881 -0
  126. package/dist/revolugo.termsandconditions.Cue6Dsm7.min.js +404 -0
  127. package/dist/revolugo.termsandconditions.DBq-dEuI.min.js +23 -0
  128. package/dist/revolugo.use-breakpoint-service.DsQuZJRM.min.js +39 -0
  129. package/dist/revolugo.use-dialog-attach.DLdl8iIG.min.js +16 -0
  130. package/dist/revolugo.use-html-element.c9F9oVPw.min.js +11 -0
  131. package/dist/revolugo.vautocomplete.Q2U5ECgn.min.js +445 -0
  132. package/dist/revolugo.vbadge.D-lbOD0r.min.js +112 -0
  133. package/dist/revolugo.vbtn.B-LYC8rJ.min.js +398 -0
  134. package/dist/revolugo.vcard.ZlYB5HOk.min.js +313 -0
  135. package/dist/revolugo.vcheckboxbtn.BGpOwRWV.min.js +478 -0
  136. package/dist/revolugo.vdialog.DlAgRbIv.min.js +133 -0
  137. package/dist/revolugo.vdivider.D1ITKKuu.min.js +77 -0
  138. package/dist/revolugo.vexpansionpanels.D8TtnQrF.min.js +262 -0
  139. package/dist/revolugo.vform.gu3frP5W.min.js +46 -0
  140. package/dist/revolugo.vicon.mrg8OisO.min.js +105 -0
  141. package/dist/revolugo.vinput.BowTI8jK.min.js +463 -0
  142. package/dist/revolugo.vlabel.BjtrjyZZ.min.js +48 -0
  143. package/dist/revolugo.vlist.BwlPoH0e.min.js +1299 -0
  144. package/dist/revolugo.vmenu.Dasw1a1s.min.js +145 -0
  145. package/dist/revolugo.vselect.B4IzM260.min.js +660 -0
  146. package/dist/revolugo.vsheet.CDgBUxHk.min.js +72 -0
  147. package/dist/revolugo.vskeletonloader.DgIjR-8k.min.js +136 -0
  148. package/dist/revolugo.vslidegroup.BV7NJuLN.min.js +325 -0
  149. package/dist/revolugo.vsnackbar.DFnMGJQg.min.js +198 -0
  150. package/dist/revolugo.vspacer.DqnVrVYg.min.js +7 -0
  151. package/dist/revolugo.vtextarea.CgekaBze.min.js +2092 -0
  152. package/dist/revolugo.vtextfield.BhmuZsP7.min.js +501 -0
  153. package/dist/{revolugo.vtoolbar.Ctwu8OKs.min.js → revolugo.vtoolbar.CMwcpp3v.min.js} +44 -42
  154. package/dist/revolugo.vtooltip.a-r5BxqW.min.js +89 -0
  155. package/dist/revolugo.vwindowitem.BHzrfo73.min.js +317 -0
  156. package/dist/revolugo.watch-list.BSqnQNdl.min.js +16 -0
  157. package/dist/revolugo.webcomponentwrapper.BNmjcBmh.min.js +2088 -0
  158. package/package.json +5 -5
  159. package/dist/css/revolugo.cancellationpoliciesbadge.DM3Cgr8A.css +0 -1
  160. package/dist/css/revolugo.creditcardstripeform.DN5YJSMj.css +0 -1
  161. package/dist/css/revolugo.index.ClC0OVqq.css +0 -5
  162. package/dist/css/revolugo.preferencesmenu.D2263Vn6.css +0 -1
  163. package/dist/revolugo.banktransferdetails.DFskPIBN.min.js +0 -47
  164. package/dist/revolugo.bookingdetailssidebar.BOs76Qod.min.js +0 -43
  165. package/dist/revolugo.bookingmanager.DzzQLMr9.min.js +0 -26
  166. package/dist/revolugo.cancellationpoliciesbadge.BRcM9UUl.min.js +0 -26
  167. package/dist/revolugo.cancellationpoliciesbadge.props.YZrc252e.min.js +0 -28756
  168. package/dist/revolugo.cancellationpolicieslist.B7Mf5bmE.min.js +0 -26
  169. package/dist/revolugo.creditcardstripeform.DkNqhTcH.min.js +0 -50
  170. package/dist/revolugo.currencypickerbtn.C1B6gpLV.min.js +0 -26
  171. package/dist/revolugo.fastbookingflow.VfdAOD-j.min.js +0 -36
  172. package/dist/revolugo.fullbookingflow.CFl16ykj.min.js +0 -26
  173. package/dist/revolugo.hoteldescriptionview.DTByBiNZ.min.js +0 -26
  174. package/dist/revolugo.hotelofferlist.HS8rTNwv.min.js +0 -26
  175. package/dist/revolugo.hoteloffersearchmenu.DLC5yEDD.min.js +0 -115
  176. package/dist/revolugo.hoteloffersmap.l4UaNpun.min.js +0 -26
  177. package/dist/revolugo.hoteloffersview.DxUc5TlW.min.js +0 -21
  178. package/dist/revolugo.hotelroomofferlist.ryYBtMFY.min.js +0 -26
  179. package/dist/revolugo.hotelroomoffersbookingflow.BWIa87mZ.min.js +0 -26
  180. package/dist/revolugo.hotelroomoffersearchmenu.4-HSRz_y.min.js +0 -26
  181. package/dist/revolugo.hotelroomoffersview.Df2SYo4D.min.js +0 -26
  182. package/dist/revolugo.index.Qn3FvgFh.min.js +0 -106
  183. package/dist/revolugo.langpickerbtn.rFwls9XZ.min.js +0 -31
  184. package/dist/revolugo.prebookform.D33OnpHn.min.js +0 -26
  185. package/dist/revolugo.preferencesmenu.BOWFkVY9.min.js +0 -24
  186. package/dist/revolugo.preferencesmenu.PVSL2fWE.min.js +0 -949
  187. package/dist/revolugo.roominglisteditor.gLjgOdGD.min.js +0 -26
  188. package/dist/revolugo.storybooktoolbar.DZrgGX1X.min.js +0 -838
  189. package/dist/revolugo.termsandconditions.3W9GTrVc.min.js +0 -31
  190. package/dist/revolugo.webcomponentwrapper.PTHIHE3G.min.js +0 -28624
@@ -0,0 +1,25 @@
1
+ import { h as n } from "./revolugo.hotelroomofferrequestcreator.props.2Sq_iptZ.min.js";
2
+ import { H as a } from "./revolugo.hotelroomoffersearchmenu.x_--4RXV.min.js";
3
+ import { W as p, _ as s } from "./revolugo.webcomponentwrapper.BNmjcBmh.min.js";
4
+ import { d as c, c as m, w as f, a as l, n as u, h as _, r as o, o as i } from "./revolugo.index.wc.DLkeXtka.min.js";
5
+ const h = c({
6
+ components: {
7
+ HotelRoomOfferSearchMenu: a,
8
+ WebComponentWrapper: p
9
+ },
10
+ props: n
11
+ });
12
+ function d(e, R, C, W, H, O) {
13
+ const r = o("HotelRoomOfferSearchMenu", !0), t = o("WebComponentWrapper");
14
+ return i(), m(t, null, {
15
+ default: f(() => [
16
+ l(r, u(_(e.$props)), null, 16)
17
+ ]),
18
+ _: 1
19
+ });
20
+ }
21
+ const x = /* @__PURE__ */ s(h, [["render", d]]);
22
+ export {
23
+ x as default
24
+ };
25
+ //# sourceMappingURL=revolugo.hotelroomoffersearchmenu.CXgExPhR.min.js.map
@@ -0,0 +1,231 @@
1
+ import { d as o, S as l, ah as r, u, c as R, g as a, r as i, o as m } from "./revolugo.index.wc.DLkeXtka.min.js";
2
+ import { s as c } from "./revolugo.dates.DiE5ynTe.min.js";
3
+ import { w as O } from "./revolugo.watch-list.BSqnQNdl.min.js";
4
+ import { h as d, u as s } from "./revolugo.hotelroomofferrequestcreator.props.2Sq_iptZ.min.js";
5
+ import { p as h } from "./revolugo.pathify.DL0POvNz.min.js";
6
+ import { H as q } from "./revolugo.hoteloffersearchmenuui.DqWHAurZ.min.js";
7
+ import { _ as I } from "./revolugo.webcomponentwrapper.BNmjcBmh.min.js";
8
+ function k(e, t) {
9
+ return t ? e.adultCount === t.adultCount && e.checkInDate === t.checkInDate && e.checkOutDate === t.checkOutDate && e.children === t.children && e.hotelId === t.hotelId && e.roomCount === t.roomCount && e.sourceMarket === t.sourceMarket : !1;
10
+ }
11
+ const p = o({
12
+ computed: {
13
+ ...r(s)
14
+ },
15
+ created() {
16
+ this.$watch(
17
+ () => {
18
+ const e = this.$store.get(
19
+ "hotelRoomOfferRequest/hotelRoomOfferRequest",
20
+ this.hotelId
21
+ );
22
+ return e ? [
23
+ e.adultCount,
24
+ e.checkInDate,
25
+ e.checkOutDate,
26
+ e.children,
27
+ e.roomCount,
28
+ e.sourceMarket
29
+ ].join(",") : "";
30
+ },
31
+ () => {
32
+ const e = this.$store.get(
33
+ "hotelRoomOfferRequest/hotelRoomOfferRequest",
34
+ this.hotelId
35
+ );
36
+ !e || !e.adultCount || !e.checkInDate || !e.checkOutDate || !e.roomCount || !e.sourceMarket || (this.hotelRoomOfferRequestInternal = {
37
+ adultCount: e.adultCount,
38
+ checkInDate: e.checkInDate,
39
+ checkOutDate: e.checkOutDate,
40
+ children: e.children || null,
41
+ hotelId: e.hotelId,
42
+ roomCount: e.roomCount,
43
+ sourceMarket: e.sourceMarket
44
+ });
45
+ }
46
+ );
47
+ },
48
+ data() {
49
+ const e = c(
50
+ this.checkInDate,
51
+ this.checkOutDate
52
+ );
53
+ return {
54
+ hotelRoomOfferRequestInternal: {
55
+ adultCount: this.adultCount,
56
+ checkInDate: e[0],
57
+ checkOutDate: e[1],
58
+ children: this.children,
59
+ hotelId: this.hotelId,
60
+ hotelRoomOfferRequestId: this.hotelRoomOfferRequestId,
61
+ roomCount: this.roomCount,
62
+ sourceMarket: this.sourceMarket
63
+ }
64
+ };
65
+ },
66
+ methods: {
67
+ async onBookingApiClientChange() {
68
+ await this.dispatch(
69
+ "hotelRoomOfferRequest/resetHotelRoomOfferRequest",
70
+ this.hotelId
71
+ ), await this.onHotelRoomOfferRequestInternalChange();
72
+ },
73
+ // When used in conjunction with HotelRoomOfferSearchMenu, its children (BDateRangePickerMenu or BGuestInputMenu) are able to update the hotelRoomOfferRequestInternal then trigger multiple call to this watcher while we want to trigger the handler only once.
74
+ onHotelRoomOfferRequestInternalChange: l(
75
+ async function() {
76
+ this.hotelRoomOfferRequestInternal.hotelRoomOfferRequestId && this.hotelRoomOfferRequestInternal.hotelRoomOfferRequestId !== this.$store.get(
77
+ "hotelRoomOfferRequest/hotelRoomOfferRequest",
78
+ this.hotelId
79
+ )?.id ? (await this.dispatch(
80
+ "hotelRoomOfferRequest/retrieveHotelRoomOfferRequest",
81
+ {
82
+ hotelId: this.hotelRoomOfferRequestInternal.hotelId,
83
+ hotelRoomOfferRequestId: this.hotelRoomOfferRequestInternal.hotelRoomOfferRequestId
84
+ }
85
+ ), (!this.$store.get(
86
+ "hotelRoomOfferRequest/hotelRoomOfferRequest",
87
+ this.hotelId
88
+ ) || this.$store.get(
89
+ "hotelRoomOfferRequest/hotelRoomOfferRequest",
90
+ this.hotelId
91
+ )?.hasError) && await this.dispatch(
92
+ "hotelRoomOfferRequest/createHotelRoomOfferRequest",
93
+ this.hotelRoomOfferRequestInternal
94
+ )) : (!this.$store.get(
95
+ "hotelRoomOfferRequest/hotelRoomOfferRequest",
96
+ this.hotelId
97
+ ) || !this.$store.get(
98
+ "hotelRoomOfferRequest/hotelRoomOfferRequest",
99
+ this.hotelId
100
+ ).id || this.$store.get(
101
+ "hotelRoomOfferRequest/hotelRoomOfferRequest",
102
+ this.hotelId
103
+ ).hasError || !k(
104
+ this.hotelRoomOfferRequestInternal,
105
+ this.$store.get(
106
+ "hotelRoomOfferRequest/hotelRoomOfferRequest",
107
+ this.hotelId
108
+ )
109
+ )) && await this.dispatch(
110
+ "hotelRoomOfferRequest/createHotelRoomOfferRequest",
111
+ this.hotelRoomOfferRequestInternal
112
+ );
113
+ },
114
+ 300
115
+ )
116
+ },
117
+ mixins: [
118
+ h(),
119
+ O(["bookingApiClient"], "onBookingApiClientChange", {
120
+ immediate: !0,
121
+ nextTick: !0
122
+ })
123
+ ],
124
+ name: "HotelRoomOfferRequestCreator",
125
+ props: d,
126
+ watch: {
127
+ adultCount(e) {
128
+ this.hotelRoomOfferRequestInternal = {
129
+ ...this.hotelRoomOfferRequestInternal,
130
+ adultCount: e,
131
+ hotelRoomOfferRequestId: void 0
132
+ };
133
+ },
134
+ checkInDate(e) {
135
+ this.hotelRoomOfferRequestInternal = {
136
+ ...this.hotelRoomOfferRequestInternal,
137
+ checkInDate: e,
138
+ // checkOutDate: sanitizedDates[1],
139
+ hotelRoomOfferRequestId: void 0
140
+ };
141
+ },
142
+ checkOutDate(e) {
143
+ this.hotelRoomOfferRequestInternal = {
144
+ ...this.hotelRoomOfferRequestInternal,
145
+ // checkInDate: sanitizedDates[0],
146
+ checkOutDate: e,
147
+ hotelRoomOfferRequestId: void 0
148
+ };
149
+ },
150
+ children(e) {
151
+ this.hotelRoomOfferRequestInternal = {
152
+ ...this.hotelRoomOfferRequestInternal,
153
+ children: e,
154
+ hotelRoomOfferRequestId: void 0
155
+ };
156
+ },
157
+ async hotelId(e, t) {
158
+ await this.dispatch(
159
+ "hotelRoomOfferRequest/deleteHotelRoomOfferRequest",
160
+ t
161
+ ), this.hotelRoomOfferRequestInternal = {
162
+ ...this.hotelRoomOfferRequestInternal,
163
+ hotelId: e,
164
+ hotelRoomOfferRequestId: void 0
165
+ };
166
+ },
167
+ hotelRoomOfferRequestId(e) {
168
+ e && (this.hotelRoomOfferRequestInternal = {
169
+ ...this.hotelRoomOfferRequestInternal,
170
+ hotelRoomOfferRequestId: e
171
+ });
172
+ },
173
+ hotelRoomOfferRequestInternal: {
174
+ deep: !0,
175
+ async handler() {
176
+ await this.onHotelRoomOfferRequestInternalChange();
177
+ },
178
+ immediate: !0
179
+ },
180
+ roomCount(e) {
181
+ this.hotelRoomOfferRequestInternal = {
182
+ ...this.hotelRoomOfferRequestInternal,
183
+ hotelRoomOfferRequestId: void 0,
184
+ roomCount: e
185
+ };
186
+ },
187
+ sourceMarket(e) {
188
+ this.hotelRoomOfferRequestInternal = {
189
+ ...this.hotelRoomOfferRequestInternal,
190
+ hotelRoomOfferRequestId: void 0,
191
+ sourceMarket: e
192
+ };
193
+ }
194
+ }
195
+ }), C = o({
196
+ components: {
197
+ HotelOfferSearchMenuUI: q
198
+ },
199
+ computed: {
200
+ ...r(s),
201
+ isFetching() {
202
+ return this.$store.get(
203
+ "hotelRoomOfferRequest/hotelRoomOfferRequest",
204
+ this.hotelId
205
+ )?.isFetching;
206
+ }
207
+ },
208
+ mixins: [p, h()],
209
+ name: "HotelRoomOfferSearchMenu",
210
+ setup() {
211
+ const { t: e } = u();
212
+ return {
213
+ t: e
214
+ };
215
+ }
216
+ });
217
+ function g(e, t, D, H, M, $) {
218
+ const f = i("HotelOfferSearchMenuUI");
219
+ return e.isBookingApiClientDefined ? (m(), R(f, {
220
+ key: 0,
221
+ modelValue: e.hotelRoomOfferRequestInternal,
222
+ "onUpdate:modelValue": t[0] || (t[0] = (n) => e.hotelRoomOfferRequestInternal = n),
223
+ "is-loading": e.isFetching
224
+ }, null, 8, ["modelValue", "is-loading"])) : a("", !0);
225
+ }
226
+ const U = /* @__PURE__ */ I(C, [["render", g]]);
227
+ export {
228
+ U as H,
229
+ p as a
230
+ };
231
+ //# sourceMappingURL=revolugo.hotelroomoffersearchmenu.x_--4RXV.min.js.map
@@ -0,0 +1,290 @@
1
+ import { a as B, H as E } from "./revolugo.hotelroomoffersearchmenu.x_--4RXV.min.js";
2
+ import { C as V } from "./revolugo.currencypickerbtn.edi3iO6h.min.js";
3
+ import { a as w, h as I, H as L } from "./revolugo.hotelroomofferlist.C9y91Ya3.min.js";
4
+ import { L as F } from "./revolugo.langpickerbtn.DMcy_gHZ.min.js";
5
+ import { d as O, u as S, H as P, q as v, c as y, w as a, a as e, e as u, t as s, p as n, o as d, G as A, i as C, F as U, r as m, D as _ } from "./revolugo.index.wc.DLkeXtka.min.js";
6
+ import { V as R, a as h } from "./revolugo.vcard.ZlYB5HOk.min.js";
7
+ import { V as b, a as c, _ as N } from "./revolugo.webcomponentwrapper.BNmjcBmh.min.js";
8
+ import { V as $ } from "./revolugo.vdivider.D1ITKKuu.min.js";
9
+ import { p as M } from "./revolugo.parsed-props.B5g9_9k5.min.js";
10
+ import { a as j, H as z } from "./revolugo.hoteldescriptionview.kERJQPWm.min.js";
11
+ import { h as G } from "./revolugo.hotelroomofferrequestcreator.props.2Sq_iptZ.min.js";
12
+ const W = { class: "mb-1 text-black" }, Y = { class: "font-weight-bold mb-0 text-black" }, Z = { class: "mb-1 text-black text-body-2" }, x = { class: "mb-1 text-black text-body-2" }, J = { class: "font-weight-bold mb-0 text-black text-body-2" }, K = { class: "font-weight-bold mb-0 text-black text-body-2" }, T = /* @__PURE__ */ O({
13
+ __name: "BRequestSummary",
14
+ props: {
15
+ adultCount: {},
16
+ checkInDate: {},
17
+ checkOutDate: {},
18
+ children: {},
19
+ roomCount: {}
20
+ },
21
+ setup(t) {
22
+ const { locale: l, t: i } = S(), p = t, f = P(() => {
23
+ const { checkInDate: o, checkOutDate: r } = p;
24
+ return !o || !r ? 0 : v(r).diff(v(o), "days");
25
+ });
26
+ function k(o) {
27
+ return o ? v(o).locale(l.value).format("ll") : null;
28
+ }
29
+ return (o, r) => (d(), y(R, { elevation: "0" }, {
30
+ default: a(() => [
31
+ e(h, { class: "pb-0" }, {
32
+ default: a(() => [
33
+ u("p", W, s(n(i)("BRequestSummary.title")), 1)
34
+ ]),
35
+ _: 1
36
+ }),
37
+ e(h, { class: "py-0" }, {
38
+ default: a(() => [
39
+ u("p", Y, s(n(i)("BRequestSummary.adultCount", {
40
+ n: o.adultCount,
41
+ value: o.adultCount
42
+ })) + ", " + s(n(i)("BRequestSummary.roomCount", {
43
+ n: o.roomCount,
44
+ value: o.roomCount
45
+ })) + ", " + s(n(i)("BRequestSummary.lengthOfStayCount", {
46
+ n: f.value,
47
+ value: f.value
48
+ })), 1)
49
+ ]),
50
+ _: 1
51
+ }),
52
+ e(h, null, {
53
+ default: a(() => [
54
+ e(b, { class: "w-100 ma-0" }, {
55
+ default: a(() => [
56
+ e(c, { class: "py-0 pl-0" }, {
57
+ default: a(() => [
58
+ u("p", Z, s(n(i)("BRequestSummary.checkInTitle")), 1)
59
+ ]),
60
+ _: 1
61
+ }),
62
+ e(c, { class: "py-0 ml-1" }, {
63
+ default: a(() => [
64
+ u("p", x, s(n(i)("BRequestSummary.checkOutTitle")), 1)
65
+ ]),
66
+ _: 1
67
+ })
68
+ ]),
69
+ _: 1
70
+ }),
71
+ e(b, { class: "w-100 ma-0" }, {
72
+ default: a(() => [
73
+ e(c, { class: "pa-0" }, {
74
+ default: a(() => [
75
+ u("p", J, s(k(o.checkInDate)), 1)
76
+ ]),
77
+ _: 1
78
+ }),
79
+ e($, {
80
+ class: "mx-2",
81
+ vertical: ""
82
+ }),
83
+ e(c, { class: "pa-0" }, {
84
+ default: a(() => [
85
+ u("p", K, s(k(o.checkOutDate)), 1)
86
+ ]),
87
+ _: 1
88
+ })
89
+ ]),
90
+ _: 1
91
+ })
92
+ ]),
93
+ _: 1
94
+ })
95
+ ]),
96
+ _: 1
97
+ }));
98
+ }
99
+ });
100
+ function g(t) {
101
+ const l = t;
102
+ l.__i18n = l.__i18n || [], l.__i18n.push({
103
+ locale: "",
104
+ resource: {
105
+ "en-US": {
106
+ BRequestSummary: {
107
+ bookingHeading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Your booking details" } },
108
+ checkInTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in:" } },
109
+ checkOutTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out:" } },
110
+ lengthOfStayTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Total length of stay:" } },
111
+ lengthOfStayCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " night" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " nights" }] }] } },
112
+ roomCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " room" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " rooms" }] }] } },
113
+ adultCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " adult" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " adults" }] }] } },
114
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Your search" } }
115
+ }
116
+ },
117
+ "fr-FR": {
118
+ BRequestSummary: {
119
+ bookingHeading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Votre réservation" } },
120
+ checkInTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Date d'arrivée" } },
121
+ checkOutTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Date de départ" } },
122
+ lengthOfStayTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Durée totale du séjour:" } },
123
+ lengthOfStayCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " nuit" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " nuits" }] }] } },
124
+ roomCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " chambre" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " chambres" }] }] } },
125
+ adultCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3, v: "Pour " }, { t: 4, k: "value" }, { t: 3, v: " personne" }] }, { t: 2, i: [{ t: 3, v: "Pour " }, { t: 4, k: "value" }, { t: 3, v: " personnes" }] }] } },
126
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Votre recherche" } }
127
+ }
128
+ },
129
+ "de-DE": {
130
+ BRequestSummary: {
131
+ bookingHeading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ihre Buchungsdetails" } },
132
+ checkInTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in:" } },
133
+ checkOutTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out:" } },
134
+ lengthOfStayTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Gesamtdauer des Aufenthalts:" } },
135
+ lengthOfStayCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " Nacht" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " Nächte" }] }] } },
136
+ roomCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " Zimmer" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " Zimmer" }] }] } },
137
+ adultCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " Erwachsener" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " Erwachsene" }] }] } },
138
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ihre Suche" } }
139
+ }
140
+ },
141
+ "es-ES": {
142
+ BRequestSummary: {
143
+ bookingHeading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Detalles de su reserva" } },
144
+ checkInTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Entrada:" } },
145
+ checkOutTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Salida:" } },
146
+ lengthOfStayTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Duración total de la estancia:" } },
147
+ lengthOfStayCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " noche" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " noches" }] }] } },
148
+ roomCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " habitación" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " habitaciones" }] }] } },
149
+ adultCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " adulto" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " adultos" }] }] } },
150
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Su búsqueda" } }
151
+ }
152
+ },
153
+ "it-IT": {
154
+ BRequestSummary: {
155
+ bookingHeading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dettagli della tua prenotazione" } },
156
+ checkInTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in:" } },
157
+ checkOutTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out:" } },
158
+ lengthOfStayTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Durata totale del soggiorno:" } },
159
+ lengthOfStayCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " notte" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " notti" }] }] } },
160
+ roomCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " camera" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " camere" }] }] } },
161
+ adultCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " adulto" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " adulti" }] }] } },
162
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La tua ricerca" } }
163
+ }
164
+ },
165
+ "nl-NL": {
166
+ BRequestSummary: {
167
+ bookingHeading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Uw boekingsgegevens" } },
168
+ checkInTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in:" } },
169
+ checkOutTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out:" } },
170
+ lengthOfStayTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Totale verblijfsduur:" } },
171
+ lengthOfStayCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " nacht" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " nachten" }] }] } },
172
+ roomCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " kamer" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " kamers" }] }] } },
173
+ adultCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " volwassene" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " volwassenen" }] }] } },
174
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Uw zoekopdracht" } }
175
+ }
176
+ },
177
+ "pt-PT": {
178
+ BRequestSummary: {
179
+ bookingHeading: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Detalhes da sua reserva" } },
180
+ checkInTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in:" } },
181
+ checkOutTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out:" } },
182
+ lengthOfStayTitle: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Duração total da estadia:" } },
183
+ lengthOfStayCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " noite" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " noites" }] }] } },
184
+ roomCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " quarto" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " quartos" }] }] } },
185
+ adultCount: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " adulto" }] }, { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: " adultos" }] }] } },
186
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "A sua pesquisa" } }
187
+ }
188
+ }
189
+ }
190
+ });
191
+ }
192
+ typeof g == "function" && g(T);
193
+ const D = {
194
+ HotelDescriptionView: j,
195
+ HotelRoomOfferList: w
196
+ }, Q = {
197
+ ...G,
198
+ ...A(I, "features"),
199
+ features: {
200
+ default: () => D,
201
+ type: [Object, String]
202
+ }
203
+ }, X = O({
204
+ components: {
205
+ BRequestSummary: T,
206
+ CurrencyPickerBtn: V,
207
+ HotelDescriptionView: z,
208
+ HotelRoomOfferList: L,
209
+ HotelRoomOfferSearchMenu: E,
210
+ LangPickerBtn: F
211
+ },
212
+ mixins: [
213
+ B,
214
+ M({
215
+ fallbackValue: D,
216
+ propsName: "features"
217
+ })
218
+ ],
219
+ name: "HotelRoomOffersView",
220
+ props: Q,
221
+ setup() {
222
+ const { t } = S();
223
+ return {
224
+ t
225
+ };
226
+ }
227
+ });
228
+ function tt(t, l, i, p, f, k) {
229
+ const o = m("HotelRoomOfferSearchMenu"), r = m("HotelRoomOfferList"), H = m("BRequestSummary"), q = m("HotelDescriptionView");
230
+ return d(), C("div", null, [
231
+ t.isBookingApiClientDefined ? (d(), y(b, {
232
+ key: 1,
233
+ "no-gutters": ""
234
+ }, {
235
+ default: a(() => [
236
+ e(c, null, {
237
+ default: a(() => [
238
+ e(q, {
239
+ features: t.parsedFeatures.HotelDescriptionView,
240
+ "hotel-id": t.hotelId
241
+ }, {
242
+ "hotel-room-offer-list": a(() => [
243
+ e(o, _(t.$props, { class: "mt-4" }), null, 16),
244
+ e(R, {
245
+ class: "mt-4",
246
+ elevation: "0",
247
+ border: ""
248
+ }, {
249
+ default: a(() => [
250
+ e(h, { class: "pa-0" }, {
251
+ default: a(() => [
252
+ e(r, _(t.$props, {
253
+ class: "offer-list rounded",
254
+ "disable-hotel-room-offer-request": "",
255
+ features: t.features?.HotelRoomOfferList,
256
+ limit: t.limit
257
+ }), null, 16, ["features", "limit"])
258
+ ]),
259
+ _: 1
260
+ })
261
+ ]),
262
+ _: 1
263
+ })
264
+ ]),
265
+ "request-summary": a(() => [
266
+ e(H, {
267
+ "adult-count": t.adultCount,
268
+ "check-in-date": t.checkInDate,
269
+ "check-out-date": t.checkOutDate,
270
+ children: t.children,
271
+ "room-count": t.roomCount
272
+ }, null, 8, ["adult-count", "check-in-date", "check-out-date", "children", "room-count"])
273
+ ]),
274
+ _: 1
275
+ }, 8, ["features", "hotel-id"])
276
+ ]),
277
+ _: 1
278
+ })
279
+ ]),
280
+ _: 1
281
+ })) : (d(), C(U, { key: 0 }, [], 64))
282
+ ]);
283
+ }
284
+ const dt = /* @__PURE__ */ N(X, [["render", tt]]);
285
+ export {
286
+ dt as H,
287
+ D as a,
288
+ Q as h
289
+ };
290
+ //# sourceMappingURL=revolugo.hotelroomoffersview.BzmRXy0a.min.js.map
@@ -0,0 +1,24 @@
1
+ import { h as t, H as n } from "./revolugo.hotelroomoffersview.BzmRXy0a.min.js";
2
+ import { W as p, _ as a } from "./revolugo.webcomponentwrapper.BNmjcBmh.min.js";
3
+ import { d as f, c as m, w as c, a as i, n as l, h as _, r as o, o as d } from "./revolugo.index.wc.DLkeXtka.min.js";
4
+ const u = f({
5
+ components: {
6
+ HotelRoomOffersView: n,
7
+ WebComponentWrapper: p
8
+ },
9
+ props: t
10
+ });
11
+ function w(e, R, V, W, C, H) {
12
+ const r = o("HotelRoomOffersView", !0), s = o("WebComponentWrapper");
13
+ return d(), m(s, null, {
14
+ default: c(() => [
15
+ i(r, l(_(e.$props)), null, 16)
16
+ ]),
17
+ _: 1
18
+ });
19
+ }
20
+ const b = /* @__PURE__ */ a(u, [["render", w]]);
21
+ export {
22
+ b as default
23
+ };
24
+ //# sourceMappingURL=revolugo.hotelroomoffersview.CFo6k7zm.min.js.map
@@ -0,0 +1,67 @@
1
+ import { cv as h, aT as d, O as w, cw as f } from "./revolugo.index.wc.DLkeXtka.min.js";
2
+ function O(t) {
3
+ return h() ? (d(t), !0) : !1;
4
+ }
5
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
6
+ const p = () => {
7
+ };
8
+ function b(t, o) {
9
+ function r(...e) {
10
+ return new Promise((i, n) => {
11
+ Promise.resolve(t(() => o.apply(this, e), { fn: o, thisArg: this, args: e })).then(i).catch(n);
12
+ });
13
+ }
14
+ return r;
15
+ }
16
+ const v = (t) => t();
17
+ function T(t, o = {}) {
18
+ let r, e, i = p;
19
+ const n = (c) => {
20
+ clearTimeout(c), i(), i = p;
21
+ };
22
+ let u;
23
+ return (c) => {
24
+ const l = f(t), a = f(o.maxWait);
25
+ return r && n(r), l <= 0 || a !== void 0 && a <= 0 ? (e && (n(e), e = void 0), Promise.resolve(c())) : new Promise((s, m) => {
26
+ i = o.rejectOnCancel ? m : s, u = c, a && !e && (e = setTimeout(() => {
27
+ r && n(r), e = void 0, s(u());
28
+ }, a)), r = setTimeout(() => {
29
+ e && n(e), e = void 0, s(c());
30
+ }, l);
31
+ });
32
+ };
33
+ }
34
+ function F(t, o, r = {}) {
35
+ const {
36
+ eventFilter: e = v,
37
+ ...i
38
+ } = r;
39
+ return w(
40
+ t,
41
+ b(
42
+ e,
43
+ o
44
+ ),
45
+ i
46
+ );
47
+ }
48
+ function S(t, o, r = {}) {
49
+ const {
50
+ debounce: e = 0,
51
+ maxWait: i = void 0,
52
+ ...n
53
+ } = r;
54
+ return F(
55
+ t,
56
+ o,
57
+ {
58
+ ...n,
59
+ eventFilter: T(e, { maxWait: i })
60
+ }
61
+ );
62
+ }
63
+ export {
64
+ O as t,
65
+ S as w
66
+ };
67
+ //# sourceMappingURL=revolugo.index.CDNx7Tg4.min.js.map