@revolugo/elements 6.8.2-beta.19 → 6.8.2-beta.2

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 (123) hide show
  1. package/dist/css/revolugo.bhoteloffersfilterbar.1tLwDxXe.css +1 -0
  2. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +1 -0
  3. package/dist/css/revolugo.index.DQ3Yd6SO.css +1 -0
  4. package/dist/css/revolugo.position.7fn84IQ5.css +1 -0
  5. package/dist/css/{revolugo.vslidegroup.ECiLCEE9.css → revolugo.vtooltip.O8QDYs1J.css} +1 -1
  6. package/dist/index.es.min.js +950 -955
  7. package/dist/index.es.min.js.map +1 -1
  8. package/dist/index.min.js +6 -6
  9. package/dist/index.min.js.map +1 -1
  10. package/dist/{revolugo.banktransferdetails.B6Q2z-jl.min.js → revolugo.banktransferdetails.Wlqp4FTo.min.js} +9 -9
  11. package/dist/{revolugo.bdaterangepicker.DHh-hIJ0.min.js → revolugo.bdaterangepicker.LM4-g1ZZ.min.js} +11 -12
  12. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.h_U_D6QC.min.js +61 -0
  13. package/dist/revolugo.bhoteloffersfilterbar.B634G2s-.min.js +4689 -0
  14. package/dist/{revolugo.bhotelroomsdetails.BZMXBHqw.min.js → revolugo.bhotelroomsdetails.CIrHX2gV.min.js} +29 -30
  15. package/dist/{revolugo.bhotelsearchbar.Db7f-Myf.min.js → revolugo.bhotelsearchbar.C13oDjtG.min.js} +16 -16
  16. package/dist/{revolugo.bimagecarousel.BYWPajeF.min.js → revolugo.bimagecarousel.7CkcgWwo.min.js} +44 -43
  17. package/dist/{revolugo.bookingdetailssidebar.BZUVjXtx.min.js → revolugo.bookingdetailssidebar.CUUn4s4-.min.js} +4 -4
  18. package/dist/{revolugo.bookingdetailssidebar.DpvhWAPj.min.js → revolugo.bookingdetailssidebar.DXxWIXgM.min.js} +17 -17
  19. package/dist/{revolugo.bookingmanager.BT8ClOH2.min.js → revolugo.bookingmanager.XzKdmEGC.min.js} +27 -27
  20. package/dist/{revolugo.bpricesummaryskeleton.BkE3yRYV.min.js → revolugo.bpricesummaryskeleton.Pw1KklrO.min.js} +4 -4
  21. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.Br3WDc64.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.QK7fmKOX.min.js} +8 -8
  22. package/dist/{revolugo.btag.BtFT2zF9.min.js → revolugo.btag.BlnXqK92.min.js} +48 -50
  23. package/dist/revolugo.cancellationpoliciesbadge.B55YrKSM.min.js +24 -0
  24. package/dist/revolugo.cancellationpoliciesbadge.BeG5kBuD.min.js +225 -0
  25. package/dist/{revolugo.cancellationpolicieslist.beDOpVS9.min.js → revolugo.cancellationpolicieslist.DAK9-C1m.min.js} +98 -70
  26. package/dist/revolugo.cancellationpolicieslist.vBYt57IZ.min.js +24 -0
  27. package/dist/{revolugo.case-transformers.C-f7xgel.min.js → revolugo.case-transformers.CaS4ky3X.min.js} +6 -6
  28. package/dist/{revolugo.creditcardform.DqHW63kH.min.js → revolugo.creditcardform.BXRZJQF_.min.js} +30 -30
  29. package/dist/{revolugo.creditcardform.WRd9OuX1.min.js → revolugo.creditcardform.D-fRTOrm.min.js} +4 -4
  30. package/dist/{revolugo.creditcardpayment.BleH4opZ.min.js → revolugo.creditcardpayment.Bsql13Mx.min.js} +4 -4
  31. package/dist/{revolugo.creditcardpayment.BhHvBmry.min.js → revolugo.creditcardpayment.CRromYFa.min.js} +40 -42
  32. package/dist/{revolugo.currencypicker.BtpR0LRe.min.js → revolugo.currencypicker.CsT_8v5-.min.js} +6 -6
  33. package/dist/{revolugo.currencypickerbtn.CZqCxE40.min.js → revolugo.currencypickerbtn.Aj3BIx0O.min.js} +17 -17
  34. package/dist/{revolugo.currencypickerbtn.Z1iqCIYs.min.js → revolugo.currencypickerbtn.DzlyztKv.min.js} +4 -4
  35. package/dist/{revolugo.defaultsdeep.fiInWebG.min.js → revolugo.defaultsdeep.x4Fmvtqd.min.js} +29 -29
  36. package/dist/{revolugo.dialog-attach.yO2_AaMd.min.js → revolugo.dialog-attach.Co46EBCo.min.js} +2 -2
  37. package/dist/{revolugo.dialog-transition.DRmctE5w.min.js → revolugo.dialog-transition.0tZlTOrr.min.js} +5 -5
  38. package/dist/{revolugo.fastbookingflow.YMrVcoWr.min.js → revolugo.fastbookingflow.4VeLCGPk.min.js} +4 -4
  39. package/dist/{revolugo.fullbookingflow.BuCdZ5tE.min.js → revolugo.fullbookingflow.DAq8AAkm.min.js} +17 -17
  40. package/dist/{revolugo.hoteldescriptionview.C4lTU31k.min.js → revolugo.hoteldescriptionview.AQBQyXPB.min.js} +4 -4
  41. package/dist/{revolugo.hoteldescriptionview.QB3gyKjW.min.js → revolugo.hoteldescriptionview.E3zF9kIE.min.js} +22 -23
  42. package/dist/{revolugo.hotelofferitemlayout.D88eNxZ3.min.js → revolugo.hotelofferitemlayout.5S0g-y3x.min.js} +6 -6
  43. package/dist/{revolugo.hotelofferlist.DKLNMTAo.min.js → revolugo.hotelofferlist.Bu6FD5xa.min.js} +41 -40
  44. package/dist/{revolugo.hotelofferlist.DVfyqIL_.min.js → revolugo.hotelofferlist.DuMKQigB.min.js} +4 -4
  45. package/dist/{revolugo.hotelofferrequestcreator.CPPp4mk1.min.js → revolugo.hotelofferrequestcreator.CfAv9XnZ.min.js} +15 -16
  46. package/dist/revolugo.hoteloffersearchmenu.C6_HA-G2.min.js +46 -0
  47. package/dist/{revolugo.hoteloffersmap.CVu6tY8O.min.js → revolugo.hoteloffersmap.DzTHDAHc.min.js} +4 -4
  48. package/dist/{revolugo.hoteloffersmap.C5CoYWJo.min.js → revolugo.hoteloffersmap.TeFeFBWz.min.js} +29 -29
  49. package/dist/{revolugo.hoteloffersview.D3AJN4Ry.min.js → revolugo.hoteloffersview.Cu1O149f.min.js} +4 -4
  50. package/dist/{revolugo.hoteloffersview.B1ENOlfQ.min.js → revolugo.hoteloffersview.EuoGAY9l.min.js} +42 -44
  51. package/dist/{revolugo.hotelroomofferlist.B4vKtIAv.min.js → revolugo.hotelroomofferlist.BJqvvAma.min.js} +118 -119
  52. package/dist/{revolugo.hotelroomofferlist.BJpypDEo.min.js → revolugo.hotelroomofferlist.DK_BQbGq.min.js} +4 -4
  53. package/dist/{revolugo.hotelroomofferrequestcreator.props.BotOUSjS.min.js → revolugo.hotelroomofferrequestcreator.props.Ccv-RhW2.min.js} +2 -2
  54. package/dist/{revolugo.hotelroomoffersbookingflow.QXwuQxNt.min.js → revolugo.hotelroomoffersbookingflow.DXXUhSNA.min.js} +54 -54
  55. package/dist/{revolugo.hotelroomoffersearchmenu.C6XT7O0N.min.js → revolugo.hotelroomoffersearchmenu.4yTsOswX.min.js} +5 -5
  56. package/dist/{revolugo.hotelroomoffersearchmenu.jKg3GHhh.min.js → revolugo.hotelroomoffersearchmenu.CoLuLIMc.min.js} +7 -7
  57. package/dist/{revolugo.hotelroomoffersview.Cml6dUd_.min.js → revolugo.hotelroomoffersview.Bt9PEOK9.min.js} +4 -4
  58. package/dist/{revolugo.hotelroomoffersview.B8EPiviG.min.js → revolugo.hotelroomoffersview.Bz5IYKc_.min.js} +12 -12
  59. package/dist/revolugo.index.CfWiJy_P.min.js +13 -0
  60. package/dist/revolugo.index.D74NQ89L.min.js +1037 -0
  61. package/dist/{revolugo.index.wc.CiMMOIKO.min.js → revolugo.index.wc.bYWqzpa9.min.js} +15137 -14588
  62. package/dist/{revolugo.langpicker.BPdYOoqh.min.js → revolugo.langpicker.C1EJvnOl.min.js} +8 -8
  63. package/dist/{revolugo.langpickerbtn.toIVNsWj.min.js → revolugo.langpickerbtn.C7tqnw1r.min.js} +18 -19
  64. package/dist/{revolugo.langpickerbtn.B_lcAwH7.min.js → revolugo.langpickerbtn.Ixx1UaN0.min.js} +4 -4
  65. package/dist/revolugo.min.js +1 -1
  66. package/dist/revolugo.position.Dh9P2x6G.min.js +322 -0
  67. package/dist/{revolugo.prebookform.CnbytE-a.min.js → revolugo.prebookform.CLrYWsEI.min.js} +4 -4
  68. package/dist/{revolugo.prebookform.mTgAZy4b.min.js → revolugo.prebookform.DZe8r8L5.min.js} +20 -20
  69. package/dist/{revolugo.roominglisteditor.BqFx12Zl.min.js → revolugo.roominglisteditor.CXO-5pa_.min.js} +4 -4
  70. package/dist/{revolugo.roominglisteditor.BndDYwgL.min.js → revolugo.roominglisteditor.DrtcIDro.min.js} +11 -11
  71. package/dist/{revolugo.rounded.DLc3W4P_.min.js → revolugo.rounded.B5lCsIO9.min.js} +2 -2
  72. package/dist/{revolugo.ssrboot.6UmkB4Il.min.js → revolugo.ssrboot.C0z_e7XY.min.js} +2 -2
  73. package/dist/{revolugo.storybooktoolbar.lPXk2DH4.min.js → revolugo.storybooktoolbar.SCyQu-ny.min.js} +106 -110
  74. package/dist/{revolugo.termsandconditions.J28x2pls.min.js → revolugo.termsandconditions.CSw8Xh23.min.js} +4 -4
  75. package/dist/{revolugo.termsandconditions.C318-sIl.min.js → revolugo.termsandconditions.CmukXjqj.min.js} +4 -4
  76. package/dist/revolugo.use-breakpoint-service.Dw3a-dJy.min.js +106 -0
  77. package/dist/{revolugo.vautocomplete.CfEbI9wx.min.js → revolugo.vautocomplete.BFtq5sO7.min.js} +103 -104
  78. package/dist/{revolugo.vbadge.qQh-Sv8w.min.js → revolugo.vbadge.BOSot4-b.min.js} +14 -14
  79. package/dist/{revolugo.vbtn.CJwuvbOT.min.js → revolugo.vbtn.Cza72F9l.min.js} +65 -65
  80. package/dist/{revolugo.vcard.C8hpUlD-.min.js → revolugo.vcard.BSYS4EA_.min.js} +35 -35
  81. package/dist/{revolugo.vcheckboxbtn.Z5a_U9n0.min.js → revolugo.vcheckboxbtn.JRn2QIIO.min.js} +86 -86
  82. package/dist/{revolugo.vdialog.CEfREygA.min.js → revolugo.vdialog.BuVoy1kx.min.js} +25 -25
  83. package/dist/{revolugo.vdivider.DYybqMVI.min.js → revolugo.vdivider.Cu5FddvH.min.js} +3 -3
  84. package/dist/{revolugo.vexpansionpanels.DqoxBVet.min.js → revolugo.vexpansionpanels.DRWQoRqv.min.js} +40 -41
  85. package/dist/{revolugo.vform.Bh7TJUxd.min.js → revolugo.vform.CrnbE-uW.min.js} +4 -4
  86. package/dist/{revolugo.vinput.CWfOSxlF.min.js → revolugo.vinput.DkajuwSz.min.js} +73 -74
  87. package/dist/{revolugo.vlabel.D8JC3_DX.min.js → revolugo.vlabel.7WIO1jsu.min.js} +3 -3
  88. package/dist/{revolugo.vlist.cF1CYOBP.min.js → revolugo.vlist.DnEUr3NP.min.js} +115 -115
  89. package/dist/{revolugo.vmenu.B-rlxBKf.min.js → revolugo.vmenu.DwlJhNjf.min.js} +24 -24
  90. package/dist/{revolugo.vselect.D17E4jI-.min.js → revolugo.vselect.BjWXKuR5.min.js} +75 -76
  91. package/dist/{revolugo.vsheet.Div5lkVz.min.js → revolugo.vsheet.CFHcDuin.min.js} +10 -10
  92. package/dist/{revolugo.vskeletonloader.BMUIcPKO.min.js → revolugo.vskeletonloader.Dc9OKBJf.min.js} +6 -6
  93. package/dist/{revolugo.vsnackbar.CgopB6r6.min.js → revolugo.vsnackbar.BVKj6AMI.min.js} +50 -49
  94. package/dist/revolugo.vspacer.DnTRCwot.min.js +7 -0
  95. package/dist/{revolugo.vtextarea.BOKhw7Iq.min.js → revolugo.vtextarea.C5zyz0TO.min.js} +61 -61
  96. package/dist/{revolugo.vtextfield.Bf1HO6ah.min.js → revolugo.vtextfield.vgSHKzqU.min.js} +89 -88
  97. package/dist/{revolugo.vtoolbar.HAOPyr0Z.min.js → revolugo.vtoolbar.DoJvdCrr.min.js} +20 -20
  98. package/dist/revolugo.vtooltip.BM8L9U_D.min.js +395 -0
  99. package/dist/{revolugo.vwindowitem.D5OeWBiN.min.js → revolugo.vwindowitem.CFcKwvRo.min.js} +34 -34
  100. package/dist/{revolugo.watch-list.BFsimHQY.min.js → revolugo.watch-list.BitKjhcw.min.js} +2 -2
  101. package/dist/{revolugo.webcomponentwrapper.B9-sm0Ry.min.js → revolugo.webcomponentwrapper.D4MvwGCF.min.js} +229 -229
  102. package/package.json +1 -1
  103. package/dist/css/revolugo.bhoteloffersfilterbar.PIn4y3L4.css +0 -1
  104. package/dist/css/revolugo.cancellationpoliciesbadge.CzUQOfdk.css +0 -1
  105. package/dist/css/revolugo.index.4hIg6F8J.css +0 -1
  106. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  107. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  108. package/dist/revolugo._baseiteratee.B8DzmtV9.min.js +0 -247
  109. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D63OH2He.min.js +0 -149
  110. package/dist/revolugo.bhoteloffersfilterbar.BicCxI8N.min.js +0 -4828
  111. package/dist/revolugo.cancellationpoliciesbadge.CJzm7bEA.min.js +0 -207
  112. package/dist/revolugo.cancellationpoliciesbadge.DlPBMRPR.min.js +0 -28
  113. package/dist/revolugo.cancellationpolicieslist.BUvqjY8w.min.js +0 -25
  114. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  115. package/dist/revolugo.hotel-offer-request.DA93cyGO.min.js +0 -98
  116. package/dist/revolugo.hoteloffersearchmenu.CrmGRkpc.min.js +0 -47
  117. package/dist/revolugo.index.CxQvHaJF.min.js +0 -1255
  118. package/dist/revolugo.pathify.CC3sbpgo.min.js +0 -58
  119. package/dist/revolugo.use-breakpoint-service.BRfZckKl.min.js +0 -52
  120. package/dist/revolugo.vicon.BnJaIb_1.min.js +0 -106
  121. package/dist/revolugo.vslidegroup.aRAg8EmQ.min.js +0 -333
  122. package/dist/revolugo.vspacer.DfGL0s5_.min.js +0 -7
  123. package/dist/revolugo.vtooltip.DWbHmmwC.min.js +0 -90
@@ -1,4828 +0,0 @@
1
- import { al as da, am as le, an as It, ao as Ot, ap as De, aq as xt, ab as pe, P as rt, ar as fa, as as st, E as Pe, at as Y, d as te, D as h, C as U, L as Z, Q as Ie, u as ne, c as j, o as P, w as n, a as r, f as $, y as ee, z as va, b as ma, K as pa, r as ba, A as Tt, R as ha, m as ga, k as ya, S as Ne, q as wa, e as q, g as J, t as O, J as w, H as We, I as Et, j as ka, i as W, v as Re, F as se, au as Ba, x as ge, W as Ve, av as Be, N as _a, aw as ve, M as Sa, ax as Ra, n as Ma, h as Va, Y as Me, ay as ot, az as ze, a9 as ie, a3 as de, a5 as Lt, aA as Je, ai as Ca, X as Oe, ag as At, aB as Pa, a7 as he, aC as Fa, a0 as et, aD as nt, aE as Ia, aa as Oa, aF as $t, aG as xa, aH as Dt, Z as ut, aI as Ta, aJ as we, aK as Ea, aL as La, U as Ht, aM as Aa, aN as Ae, a6 as $a, aO as Da, aP as Ha, aQ as Na, aR as za, aS as Ua } from "./revolugo.index.wc.CiMMOIKO.min.js";
2
- import { C as qa } from "./revolugo.cancellationpoliciesbadge.CJzm7bEA.min.js";
3
- import { H as ja } from "./revolugo.hotelofferitemlayout.D88eNxZ3.min.js";
4
- import { B as Ka, a as Ga } from "./revolugo.bhotelroomsdetails.BZMXBHqw.min.js";
5
- import { _ as oe, B as Ya, c as Wa, d as Za, u as xe, m as Ue, b as He, V as ce, a as Q, e as Nt, f as Xa, g as Qa, t as Ja, h as ei, i as ti, j as ai, k as ii } from "./revolugo.webcomponentwrapper.B9-sm0Ry.min.js";
6
- import { V as fe, m as li } from "./revolugo.vicon.BnJaIb_1.min.js";
7
- import { a as K, b as ri } from "./revolugo.vbtn.CJwuvbOT.min.js";
8
- import { B as si, r as oi } from "./revolugo.hotelroomofferlist.B4vKtIAv.min.js";
9
- import { B as ni, _ as ui } from "./revolugo.bstarrating.vue_vue_type_script_setup_true_lang.Br3WDc64.min.js";
10
- import { B as ct } from "./revolugo.btag.BtFT2zF9.min.js";
11
- import { B as ci, H as di } from "./revolugo.hoteldescriptionview.QB3gyKjW.min.js";
12
- import { B as fi, m as vi, V as mi } from "./revolugo.bimagecarousel.BYWPajeF.min.js";
13
- import { p as pi } from "./revolugo.pathify.CC3sbpgo.min.js";
14
- import { a as bi, u as hi } from "./revolugo.use-breakpoint-service.BRfZckKl.min.js";
15
- import { u as Fe } from "./revolugo.hotel-offer-request.DA93cyGO.min.js";
16
- import { H as gi } from "./revolugo.hotelroomoffersview.B8EPiviG.min.js";
17
- import { d as yi, R as wi, e as ki, m as Bi, f as _i, a as Si } from "./revolugo.index.CxQvHaJF.min.js";
18
- import { V as qe } from "./revolugo.vtooltip.DWbHmmwC.min.js";
19
- import { V as Ri } from "./revolugo.vdialog.CEfREygA.min.js";
20
- import { V as Te, a as tt, b as at, c as Mi } from "./revolugo.vcard.C8hpUlD-.min.js";
21
- import { V as Vi } from "./revolugo.vautocomplete.CfEbI9wx.min.js";
22
- import { V as Ze, a as Ci, b as dt } from "./revolugo.vlist.cF1CYOBP.min.js";
23
- import { M as Pi, d as ft, g as Fi, f as vt } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D63OH2He.min.js";
24
- import { u as Ii, V as mt, m as Oi, a as xi } from "./revolugo.vinput.CWfOSxlF.min.js";
25
- import { m as zt, a as Ut, u as qt, b as jt, c as Ti, d as Ei } from "./revolugo.rounded.DLc3W4P_.min.js";
26
- import { V as Li } from "./revolugo.vlabel.D8JC3_DX.min.js";
27
- import { V as pt } from "./revolugo.vtextfield.Bf1HO6ah.min.js";
28
- import { V as $e } from "./revolugo.vdivider.DYybqMVI.min.js";
29
- import { V as je } from "./revolugo.vmenu.B-rlxBKf.min.js";
30
- import { V as Ke } from "./revolugo.vbadge.qQh-Sv8w.min.js";
31
- import { u as Ai } from "./revolugo.ssrboot.6UmkB4Il.min.js";
32
- import { b as $i } from "./revolugo._baseiteratee.B8DzmtV9.min.js";
33
- function ca(e) {
34
- try {
35
- if (typeof document < "u") {
36
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
37
- sheets: [],
38
- components: []
39
- };
40
- const t = import.meta.url, l = t.slice(0, t.lastIndexOf("/") + 1) + e;
41
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(l);
42
- for (const i of REVOLUGO_ELEMENTS_STYLES.components)
43
- i(l);
44
- if (e.indexOf("fonts") >= 0) {
45
- const i = document.createElement("link");
46
- i.rel = "stylesheet", linK.href = l, document.head.appendChild(i);
47
- }
48
- }
49
- } catch (t) {
50
- console.error("[revolugo-elements] ", t);
51
- }
52
- }
53
- const xr = 50;
54
- function Di(e, t) {
55
- return e && e.length ? da(e, $i(t)) : [];
56
- }
57
- function Ce(e, t = le.Info) {
58
- switch (t) {
59
- case le.Trace: {
60
- console.debug(`[TRACE] ${e}`);
61
- break;
62
- }
63
- case le.Debug: {
64
- console.debug(`[DEBUG] ${e}`);
65
- break;
66
- }
67
- case le.Info: {
68
- console.info(`[INFO] ${e}`);
69
- break;
70
- }
71
- case le.Warn: {
72
- console.warn(`[WARN] ${e}`);
73
- break;
74
- }
75
- case le.Error: {
76
- console.error(`[ERROR] ${e}`);
77
- break;
78
- }
79
- default: {
80
- console.log(`[${le[t]}] ${e}`);
81
- break;
82
- }
83
- }
84
- }
85
- const bt = {
86
- trace: (e) => Ce(e, le.Trace),
87
- debug: (e) => Ce(e, le.Debug),
88
- info: (e) => Ce(e, le.Info),
89
- warn: (e) => Ce(e, le.Warn),
90
- error: (e) => Ce(e, le.Error)
91
- }, Hi = It("hotelImages", {
92
- actions: {
93
- async retrieveHotelImages({
94
- hotelId: e,
95
- locale: t
96
- }) {
97
- var l;
98
- try {
99
- if ((l = this.hotels[e]) != null && l.hotelImages)
100
- return;
101
- this.hotels[e] = { hotelImages: [], isLoading: !0 };
102
- const i = Ot();
103
- if (!i)
104
- return;
105
- const a = await i.hotelImages.retrieve({
106
- id: e,
107
- lang: t
108
- });
109
- this.hotels[e] = { hotelImages: a, isLoading: !1 };
110
- } catch (i) {
111
- console.error("Cannot retrieve hotel images:", i);
112
- }
113
- }
114
- },
115
- getters: {
116
- hotel: (e) => (t) => e.hotels[t]
117
- },
118
- state: () => ({
119
- hotels: {}
120
- })
121
- }), Ni = It("hotelOffers", {
122
- actions: {
123
- addHotelOffers(e) {
124
- this.hotelOffers = Di(
125
- [...this.hotelOffers ?? [], ...e],
126
- "id"
127
- );
128
- },
129
- resetFilters() {
130
- this.filters = {
131
- ...De,
132
- [Y.SortBy]: this.filters[Y.SortBy]
133
- };
134
- },
135
- resetHotelOffers() {
136
- this.hotelOffers = [];
137
- },
138
- // eslint-disable-next-line max-lines-per-function
139
- async retrieveHotelOffers(e) {
140
- var l, i, a, o;
141
- if (!e.hotelOfferRequestId)
142
- return;
143
- const t = Ot();
144
- if (t) {
145
- const c = {
146
- ...e,
147
- currency: window.RevolugoElements.config.currency,
148
- filterByPrice: (l = this.transformFilterPrices) == null ? void 0 : l.join("-"),
149
- filterByReviewRating: this.filters.review_rating || void 0,
150
- filterByStar: this.filters.rating || void 0,
151
- lang: window.RevolugoElements.config.lang,
152
- onlyRecommendedHotelOffers: ((i = this.filters.sort_by) == null ? void 0 : i.value) === pe.TopPicks,
153
- priceHistogramStepCount: fa,
154
- sortBy: (a = this.filters.sort_by) == null ? void 0 : a.value,
155
- sortByOrder: (o = this.filters.sort_by) == null ? void 0 : o.direction
156
- };
157
- if (this.isPolling && rt(this.pollingPayload, c))
158
- return;
159
- st.$emit(Pe.HotelOffersPollingStarted), this.isPolling = !0, this.pollingPayload = c, this.hasError = !1, e.startingAfter || (this.hotelOffers = []), this.hotelOffersCurrency = void 0, await (t == null ? void 0 : t.hotelOffers.list(
160
- c,
161
- (p, m) => {
162
- var u, s;
163
- if (!rt(this.pollingPayload, c))
164
- return;
165
- if (p) {
166
- this.isPolling = !1, this.hasError = !0, console.error("Cannot retrieve hotel offers:", p);
167
- return;
168
- }
169
- if (this.isPolling = (((u = m == null ? void 0 : m.meta) == null ? void 0 : u.status) ?? "").toLowerCase() !== "complete", !((s = m == null ? void 0 : m.data) != null && s.hotelOffers))
170
- return;
171
- e.startingAfter ? this.addHotelOffers(m.data.hotelOffers) : this.hotelOffers = m.data.hotelOffers, st.$emit(
172
- Pe.HotelOffersRetrieved,
173
- m.data.hotelOffers
174
- ), this.hotelOffersCurrency = m.data.currency, this.priceHistogram = m.data.priceHistogram, this.priceMin = m.data.priceMin, this.priceMax = m.data.priceMax, this.startingAfter = m.meta.startingAfter;
175
- const v = (d) => {
176
- const g = this.getPriceMin, _ = this.getPriceMax;
177
- return g === _ && g === 0 ? !0 : d >= g && d <= _;
178
- }, f = v(
179
- this.filters.price[0]
180
- ) ? this.filters.price[0] : 0, b = v(
181
- this.filters.price[1]
182
- ) ? this.filters.price[1] : 0;
183
- this.filters = {
184
- ...this.filters,
185
- [Y.Price]: [f, b]
186
- };
187
- },
188
- {
189
- maxCallCount: 10
190
- }
191
- ).catch((p) => {
192
- this.isPolling = !1, this.hasError = !0, console.error("Cannot retrieve hotel offers:", p);
193
- }));
194
- }
195
- },
196
- saveFilters(e) {
197
- this.filters = {
198
- ...this.filters,
199
- ...e
200
- };
201
- }
202
- },
203
- /* debounce: {
204
- retrieveHotelOffers: 100,
205
- },*/
206
- getters: {
207
- activeFiltersNumber() {
208
- return [
209
- this.isPriceFilterActive,
210
- this.isStarRatingFilterActive,
211
- this.isReviewRatingFilterActive
212
- ].filter(Boolean).length;
213
- },
214
- getPriceMax(e) {
215
- const t = Fe();
216
- return !e.priceMax || !e.hotelOffersCurrency ? 0 : Math.round(
217
- ft({
218
- amount: e.priceMax,
219
- currency: e.hotelOffersCurrency
220
- }) / t.nightCount / t.roomCount
221
- );
222
- },
223
- getPriceMin(e) {
224
- const t = Fe();
225
- return !e.priceMin || !e.hotelOffersCurrency ? 0 : Math.round(
226
- ft({
227
- amount: e.priceMin,
228
- currency: e.hotelOffersCurrency
229
- }) / t.nightCount / t.roomCount
230
- );
231
- },
232
- isPriceFilterActive(e) {
233
- return e.filters.price[0] !== 0 || e.filters.price[1] !== 0;
234
- },
235
- isReviewRatingFilterActive(e) {
236
- return e.filters.review_rating !== xt;
237
- },
238
- isStarRatingFilterActive(e) {
239
- return e.filters.rating !== "";
240
- },
241
- priceHistogramStepCount(e) {
242
- return e.priceHistogram ? e.priceHistogram.length : 0;
243
- },
244
- transformFilterPrices(e) {
245
- const t = Fe();
246
- if (!(!e.filters.price || e.filters.price[0] === 0 && e.filters.price[1] === 0))
247
- return e.filters.price.map(
248
- (l) => new Pi({
249
- amount: l * t.nightCount * t.roomCount,
250
- currency: window.RevolugoElements.config.currency
251
- }).normalize().floor().getAmount()
252
- );
253
- }
254
- },
255
- state: () => ({
256
- filters: De,
257
- hasError: !1,
258
- hotelOffers: [],
259
- hotelOffersCurrency: void 0,
260
- isPolling: !1,
261
- pollingPayload: void 0,
262
- priceHistogram: [],
263
- priceMax: 0,
264
- priceMin: 0,
265
- startingAfter: null
266
- })
267
- });
268
- function zi(e) {
269
- return /^([+-]?\d*\.?\d+([Ee][+-]?\d+)?|[+-]?\d*\.?\d+)(px|em|rem|vw|vh|vmin|vmax|%|cm|mm|in|pt|pc|ch|ex|q)$/u.test(
270
- e
271
- );
272
- }
273
- function Xe(e) {
274
- if (e)
275
- return typeof e == "number" ? `${e}px` : typeof e == "string" && (zi(e) || e.startsWith("var")) ? e : Number.isNaN(e) ? "100%" : `${e}px`;
276
- }
277
- const Tr = te({
278
- data() {
279
- return {
280
- parsedHeight: Xe(this.height)
281
- };
282
- },
283
- watch: {
284
- height: {
285
- handler(e) {
286
- this.parsedHeight = Xe(e);
287
- },
288
- immediate: !0
289
- }
290
- }
291
- }), Er = (e) => h(() => Xe(e.value));
292
- function Ui(e) {
293
- const t = bi(e), l = U(void 0);
294
- return Z(e, () => {
295
- Ie(() => {
296
- var i;
297
- l.value = ((i = t.value) == null ? void 0 : i.querySelector(".v-application")) ?? void 0;
298
- });
299
- }), {
300
- $dialogAttach: l
301
- };
302
- }
303
- var be = /* @__PURE__ */ ((e) => (e.DialogFullscreen = "DialogFullscreen", e.HotelDescriptionViewDialog = "HotelDescriptionViewDialog", e.HotelRoomOfferList = "HotelRoomOfferList", e.HotelRoomOffersViewDialog = "HotelRoomOffersViewDialog", e.RoomsDetails = "RoomsDetails", e))(be || {});
304
- const qi = {
305
- DialogFullscreen: !0,
306
- HotelDescriptionViewDialog: !1,
307
- HotelRoomOfferList: !1,
308
- HotelRoomOffersViewDialog: !1,
309
- RoomsDetails: !0
310
- }, ji = te({
311
- name: "BBtnCloseDialog",
312
- setup() {
313
- const { t: e } = ne();
314
- return {
315
- t: e
316
- };
317
- }
318
- });
319
- function Ki(e, t, l, i, a, o) {
320
- return P(), j(K, ee(e.$attrs, {
321
- class: "close-btn",
322
- dark: "",
323
- icon: "",
324
- variant: "flat"
325
- }), {
326
- default: n(() => [
327
- r(fe, null, {
328
- default: n(() => t[0] || (t[0] = [
329
- $("fas fa-times")
330
- ])),
331
- _: 1,
332
- __: [0]
333
- })
334
- ]),
335
- _: 1
336
- }, 16);
337
- }
338
- const Gi = /* @__PURE__ */ oe(ji, [["render", Ki]]), Yi = {
339
- adultCount: {
340
- type: Number
341
- },
342
- checkInDate: {
343
- type: String
344
- },
345
- compact: {
346
- type: Boolean
347
- },
348
- features: {
349
- default: () => qi,
350
- type: Object
351
- },
352
- hideAction: {
353
- default: !1,
354
- type: Boolean
355
- },
356
- hotelOffer: {
357
- required: !0,
358
- type: Object
359
- },
360
- imageCountLimit: {
361
- type: Number
362
- },
363
- isNoLongerAvail: {
364
- default: !1,
365
- type: Boolean
366
- },
367
- nightCount: {
368
- type: Number
369
- },
370
- singleOffer: {
371
- default: !1,
372
- type: Boolean
373
- }
374
- }, Wi = {
375
- clickable: {
376
- default: !1,
377
- type: Boolean
378
- },
379
- height: { type: String },
380
- imageUrls: { required: !0, type: Array },
381
- isLoading: { default: !1, type: Boolean },
382
- lazy: {
383
- default: 0,
384
- type: Number
385
- },
386
- limit: {
387
- default: 80,
388
- type: Number
389
- },
390
- rounded: { type: Boolean },
391
- showThumbnails: { type: Boolean },
392
- slide: { type: Number },
393
- thumbnailUrls: { type: Array },
394
- thumbnailsHeight: {
395
- type: [String, Number]
396
- },
397
- width: { type: String }
398
- }, Zi = {
399
- ...va(Wi, "imageUrls"),
400
- hotelOffer: {
401
- required: !0,
402
- type: Object
403
- },
404
- imageCountLimit: {
405
- type: Number
406
- }
407
- }, Xi = te({
408
- components: {
409
- BImageCarousel: fi
410
- },
411
- computed: {
412
- ...pa(Hi),
413
- carouselStyle() {
414
- return {
415
- borderBottomLeftRadius: "0px",
416
- borderTopLeftRadius: "0px",
417
- borderTopRightRadius: "0px"
418
- };
419
- },
420
- hotel() {
421
- return this.$store.get("hotelImages/hotel", this.hotelId);
422
- },
423
- hotelId() {
424
- var e;
425
- return (e = this.hotelOffer) == null ? void 0 : e.id;
426
- },
427
- imageUrls() {
428
- return vi(this.hotel.hotelImages || []);
429
- }
430
- },
431
- created() {
432
- this.dispatch("hotelImages/retrieveHotelImages", {
433
- hotelId: this.hotelId,
434
- locale: this.$i18n.locale
435
- });
436
- },
437
- mixins: [ma, pi()],
438
- name: "HotelOfferItem",
439
- props: Zi,
440
- setup() {
441
- const { t: e } = ne();
442
- return {
443
- t: e
444
- };
445
- }
446
- });
447
- function Qi(e, t, l, i, a, o) {
448
- var p, m, v;
449
- const c = ba("BImageCarousel");
450
- return P(), j(c, {
451
- clickable: "",
452
- height: e.height,
453
- "image-urls": ((m = (p = e.imageUrls) == null ? void 0 : p.lowres) == null ? void 0 : m.slice(0, e.imageCountLimit)) || [],
454
- "is-loading": !((v = e.hotel) != null && v.hotelImages) || e.hotel.isLoading,
455
- lazy: 2,
456
- limit: 15,
457
- rounded: "",
458
- style: Tt(e.carouselStyle),
459
- width: e.width
460
- }, null, 8, ["height", "image-urls", "is-loading", "style", "width"]);
461
- }
462
- const Ji = /* @__PURE__ */ oe(Xi, [["render", Qi]]), el = {
463
- key: 1,
464
- class: "hotel-name text-subtitle-1 font-weight-black mr-1 text-primary cursor-pointer"
465
- }, tl = {
466
- key: 0,
467
- class: "text-grey-darken-2 text-caption mt-n1 d-block"
468
- }, al = { key: 0 }, il = { class: "footer bg-white" }, ll = {
469
- class: "mt-2",
470
- style: { cursor: "auto" }
471
- }, Kt = /* @__PURE__ */ te({
472
- __name: "HotelOfferItem",
473
- props: Yi,
474
- setup(e) {
475
- const t = e, { t: l } = ne(), i = U(!1), a = U(!1), o = U(!1), c = Fe(), { adultCount: p, checkInDate: m, nightCount: v } = ha(
476
- Fe()
477
- ), f = h(
478
- () => t.adultCount || p.value
479
- ), b = h(
480
- () => {
481
- var y, E;
482
- return ((E = (y = t.hotelOffer) == null ? void 0 : y.tags) == null ? void 0 : E.filter((M) => M.name.length > 30)) || [];
483
- }
484
- ), u = h(
485
- () => t.checkInDate || m.value
486
- ), s = h(() => {
487
- if (t.features[be.HotelRoomOffersViewDialog])
488
- return "hotel-room-offers-view";
489
- if (t.features[be.HotelDescriptionViewDialog])
490
- return "hotel-description-view";
491
- }), d = h(
492
- () => t.hotelOffer.distance ? Math.round(t.hotelOffer.distance / 1e3 * 100) / 100 : 0
493
- ), g = h(() => t.hotelOffer.id), _ = h(() => c.$state), k = h(
494
- () => t.hotelOffer.hotelRoomOffers[0]
495
- ), F = h(
496
- () => ga({
497
- bookingDatetime: ya().format(),
498
- cancellationPolicies: k.value.cancellationPolicies,
499
- checkInDate: u.value,
500
- timezone: t.hotelOffer.timezone
501
- }) === 0
502
- ), A = h(
503
- () => t.nightCount || v.value
504
- ), D = h(
505
- () => {
506
- var y;
507
- return ((y = k.value) == null ? void 0 : y.hotelRooms.reduce(
508
- (E, M) => E + (M.count || 0),
509
- 0
510
- )) || 0;
511
- }
512
- ), H = h(
513
- () => {
514
- var y, E;
515
- return ((E = (y = t.hotelOffer) == null ? void 0 : y.tags) == null ? void 0 : E.filter((M) => M.name.length <= 30)) || [];
516
- }
517
- ), B = h(() => {
518
- var y;
519
- return (y = t.hotelOffer) == null ? void 0 : y.venues;
520
- });
521
- function I() {
522
- window.RevolugoElements.eventBus.$emit(
523
- Pe.HotelOffersItemClick,
524
- t.hotelOffer
525
- ), t.features[be.HotelRoomOfferList] ? a.value ? (a.value = !1, setTimeout(() => {
526
- i.value = !1;
527
- }, 500)) : (i.value = !0, Ie(() => {
528
- a.value = !0;
529
- })) : (t.features[be.HotelDescriptionViewDialog] || t.features[be.HotelRoomOffersViewDialog]) && (o.value = !0);
530
- }
531
- function x() {
532
- window.RevolugoElements.eventBus.$emit(
533
- Pe.HotelOffersItemClick,
534
- t.hotelOffer
535
- ), o.value = !0, t.features[be.HotelRoomOffersViewDialog] && (a.value = !1, i.value = !1);
536
- }
537
- Ne(() => {
538
- t.features[be.HotelRoomOffersViewDialog] && window.RevolugoElements.eventBus.$on(Pe.BookingPolicyCreated, () => {
539
- setTimeout(() => {
540
- o.value = !1;
541
- }, 350);
542
- });
543
- });
544
- const V = h(
545
- () => {
546
- var y;
547
- return (y = k.value) == null ? void 0 : y.hotelRooms;
548
- }
549
- ), C = U(null), { $breakpointService: R } = hi(C), { $dialogAttach: S } = Ui(C);
550
- return (y, E) => (P(), j(ja, {
551
- ref_key: "root",
552
- ref: C,
553
- class: "hover-card",
554
- compact: y.compact,
555
- "is-rooms-details-visible": y.features.RoomsDetails,
556
- "onClick:hotelOfferItem": I
557
- }, wa({
558
- "hotel-description-view-dialog": n(() => [
559
- s.value ? (P(), j(Ri, {
560
- key: 0,
561
- modelValue: o.value,
562
- "onUpdate:modelValue": E[1] || (E[1] = (M) => o.value = M),
563
- attach: w(S),
564
- class: "z-index-over-map",
565
- fullscreen: y.features.DialogFullscreen,
566
- light: "",
567
- transition: "slide-x-reverse-transition"
568
- }, {
569
- default: n(() => [
570
- r(Wa, { "at-root": "" }, {
571
- default: n(() => [
572
- r(Te, {
573
- class: ge(["overflow-y-auto", {
574
- rounded: !y.features.DialogFullscreen,
575
- "hotel-dialog-card": !y.features.DialogFullscreen
576
- }]),
577
- tile: ""
578
- }, {
579
- default: n(() => [
580
- r(tt, null, {
581
- default: n(() => [
582
- s.value === "hotel-room-offers-view" ? (P(), j(gi, ee({
583
- key: 0,
584
- class: "pt-2 pa-md-6",
585
- "hotel-id": g.value
586
- }, _.value), null, 16, ["hotel-id"])) : s.value === "hotel-description-view" ? (P(), j(di, ee({
587
- key: 1,
588
- class: "pt-2 pa-md-6",
589
- "hotel-id": g.value
590
- }, _.value), null, 16, ["hotel-id"])) : J("", !0)
591
- ]),
592
- _: 1
593
- })
594
- ]),
595
- _: 1
596
- }, 8, ["class"])
597
- ]),
598
- _: 1
599
- }),
600
- r(Gi, {
601
- class: ge(y.features.DialogFullscreen ? "close-btn-fullscreen" : ""),
602
- onClick: E[0] || (E[0] = (M) => o.value = !1)
603
- }, null, 8, ["class"])
604
- ]),
605
- _: 1
606
- }, 8, ["modelValue", "attach", "fullscreen"])) : J("", !0)
607
- ]),
608
- carousel: n(() => [
609
- r(mi, {
610
- height: y.features.RoomsDetails ? "175px" : "140px",
611
- width: !w(R).xs && !y.compact ? "175px" : "100%"
612
- }, {
613
- default: n(() => [
614
- r(Ji, {
615
- height: y.features.RoomsDetails ? "175px" : "140px",
616
- "hotel-offer": y.hotelOffer,
617
- "image-count-limit": y.imageCountLimit,
618
- width: !w(R).xs && !y.compact ? "175px" : "100%"
619
- }, null, 8, ["height", "hotel-offer", "image-count-limit", "width"])
620
- ]),
621
- _: 1
622
- }, 8, ["height", "width"])
623
- ]),
624
- heading: n(() => {
625
- var M;
626
- return [
627
- s.value && y.features.HotelRoomOfferList ? (P(), j(qe, {
628
- key: 0,
629
- attach: (M = y.$el) == null ? void 0 : M.parent,
630
- location: "bottom"
631
- }, {
632
- activator: n(({ props: G }) => [
633
- q("span", ee({ class: "hotel-name text-subtitle-1 font-weight-black mr-1 text-primary cursor-pointer" }, G, {
634
- onClick: Ba(x, ["stop"])
635
- }), O(y.hotelOffer.name), 17)
636
- ]),
637
- default: n(() => [
638
- $(O(w(l)("HotelOfferItem.openDialogTooltip", {
639
- value: d.value
640
- })) + " ", 1)
641
- ]),
642
- _: 1
643
- }, 8, ["attach"])) : (P(), W("span", el, O(y.hotelOffer.name), 1)),
644
- r(ui, {
645
- count: y.hotelOffer.rating
646
- }, null, 8, ["count"])
647
- ];
648
- }),
649
- "review-rating": n(() => [
650
- r(ni, {
651
- features: {
652
- ReviewRatingDetails: !1
653
- },
654
- hotel: y.hotelOffer,
655
- "tooltip-position": "bottom"
656
- }, null, 8, ["hotel"])
657
- ]),
658
- distance: n(() => [
659
- isNaN(d.value) ? J("", !0) : (P(), W("span", tl, O(w(l)("HotelOfferItem.distance", { value: d.value })), 1)),
660
- B.value ? (P(), j(ci, {
661
- key: 1,
662
- class: "my-n1",
663
- "venue-travel-times": B.value
664
- }, null, 8, ["venue-travel-times"])) : J("", !0)
665
- ]),
666
- "big-tags": n(() => [
667
- (P(!0), W(se, null, Re(b.value, (M, G) => (P(), W("div", {
668
- key: G,
669
- class: "align-self-center d-inline-flex flex-wrap",
670
- style: { gap: "0.3em" }
671
- }, [
672
- r(ct, {
673
- color: M.bg,
674
- "pre-icon": `fas fa-${M.faIcon}`,
675
- "text-color": M.color,
676
- "tooltip-content": M.description ?? void 0
677
- }, {
678
- default: n(() => [
679
- $(O(M.name), 1)
680
- ]),
681
- _: 2
682
- }, 1032, ["color", "pre-icon", "text-color", "tooltip-content"])
683
- ]))), 128))
684
- ]),
685
- tags: n(() => [
686
- (P(!0), W(se, null, Re(H.value, (M, G) => (P(), W("div", {
687
- key: G,
688
- class: "align-self-center d-inline-flex flex-wrap",
689
- style: { gap: "0.3em" }
690
- }, [
691
- r(ct, {
692
- color: M.bg,
693
- "pre-icon": `fas fa-${M.faIcon}`,
694
- "text-color": M.color,
695
- "tooltip-content": M.description ?? void 0
696
- }, {
697
- default: n(() => [
698
- $(O(M.name), 1)
699
- ]),
700
- _: 2
701
- }, 1032, ["color", "pre-icon", "text-color", "tooltip-content"])
702
- ]))), 128))
703
- ]),
704
- "breakfast-option-badge": n(() => [
705
- k.value.breakfastOption === "INCLUDED" ? (P(), j(Ga, {
706
- key: 0,
707
- "breakfast-option": k.value.breakfastOption
708
- }, null, 8, ["breakfast-option"])) : J("", !0)
709
- ]),
710
- "package-details": n(() => [
711
- r(Ka, { "hotel-rooms": V.value }, null, 8, ["hotel-rooms"])
712
- ]),
713
- "price-summary": n(() => [
714
- k.value.price ? (P(), W("div", al, [
715
- r(si, {
716
- "adult-count": f.value,
717
- "is-starting-price": "",
718
- "is-tax-included": "",
719
- "night-count": A.value,
720
- price: k.value.price,
721
- "room-count": D.value,
722
- "round-mode": "round",
723
- "tax-included-price": k.value.taxIncludedPrice
724
- }, null, 8, ["adult-count", "night-count", "price", "room-count", "tax-included-price"])
725
- ])) : J("", !0)
726
- ]),
727
- footer: n(() => [
728
- q("div", il, [
729
- y.isNoLongerAvail ? (P(), j(Ya, { key: 0 }, {
730
- title: n(() => [
731
- $(O(w(l)("HotelOfferItem.noLongerAvailable")), 1)
732
- ]),
733
- _: 1
734
- })) : i.value ? (P(), j(yi, { key: 1 }, {
735
- default: n(() => [
736
- We(q("div", ll, [
737
- i.value ? ka(y.$slots, "default", { key: 0 }, void 0, !0) : J("", !0)
738
- ], 512), [
739
- [Et, y.features.HotelRoomOfferList && a.value]
740
- ])
741
- ]),
742
- _: 3
743
- })) : J("", !0)
744
- ])
745
- ]),
746
- _: 2
747
- }, [
748
- F.value ? {
749
- name: "cancellation-policies-badge",
750
- fn: n(() => [
751
- r(qa, {
752
- "cancellation-policies": k.value.cancellationPolicies,
753
- "check-in-date": u.value,
754
- timezone: y.hotelOffer.timezone
755
- }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
756
- ]),
757
- key: "0"
758
- } : void 0
759
- ]), 1032, ["compact", "is-rooms-details-visible"]));
760
- }
761
- });
762
- function ht(e) {
763
- const t = e;
764
- t.__i18n = t.__i18n || [], t.__i18n.push({
765
- locale: "",
766
- resource: {
767
- "en-US": {
768
- HotelOfferItem: {
769
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km from venue" }] } },
770
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hotel Offer No Longer available" } },
771
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Best value" }, { t: 2, i: [{ t: 3 }], s: "Best value for your group" }] } },
772
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Click here to open hotel details" } },
773
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "See availability" } },
774
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Show details" } }
775
- }
776
- },
777
- "fr-FR": {
778
- HotelOfferItem: {
779
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km du lieu" }] } },
780
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cette offre n'est plus disponible" } },
781
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Meilleur offre" }, { t: 2, i: [{ t: 3 }], s: "Meilleur offre pour votre groupe" }] } },
782
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cliquer pour voir les détails" } },
783
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voir les disponibilités" } },
784
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Afficher les détails" } }
785
- }
786
- },
787
- "de-DE": {
788
- HotelOfferItem: {
789
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km vom Veranstaltungsort" }] } },
790
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hotelangebot nicht mehr verfügbar" } },
791
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Bestes Preis-Leistungs-Verhältnis" }, { t: 2, i: [{ t: 3 }], s: "Bestes Preis-Leistungs-Verhältnis für Ihre Gruppe" }] } },
792
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hier klicken, um Hoteldetails zu öffnen" } },
793
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Verfügbarkeit prüfen" } },
794
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Details anzeigen" } }
795
- }
796
- },
797
- "es-ES": {
798
- HotelOfferItem: {
799
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km del lugar" }] } },
800
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La oferta del hotel ya no está disponible" } },
801
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Mejor precio" }, { t: 2, i: [{ t: 3 }], s: "Mejor precio para tu grupo" }] } },
802
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Haz clic aquí para abrir los detalles del hotel" } },
803
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ver disponibilidad" } },
804
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar detalles" } }
805
- }
806
- },
807
- "it-IT": {
808
- HotelOfferItem: {
809
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km dalla sede" }] } },
810
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Offerta Hotel non più disponibile" } },
811
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Miglior rapporto qualità/prezzo" }, { t: 2, i: [{ t: 3 }], s: "Miglior rapporto qualità/prezzo per il tuo gruppo" }] } },
812
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Clicca qui per aprire i dettagli dell'hotel" } },
813
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Vedi disponibilità" } },
814
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostra dettagli" } }
815
- }
816
- },
817
- "nl-NL": {
818
- HotelOfferItem: {
819
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km van de locatie" }] } },
820
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hotelaanbieding niet meer beschikbaar" } },
821
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Beste waarde" }, { t: 2, i: [{ t: 3 }], s: "Beste waarde voor uw groep" }] } },
822
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Klik hier om hoteldetails te openen" } },
823
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bekijk beschikbaarheid" } },
824
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toon details" } }
825
- }
826
- },
827
- "pt-PT": {
828
- HotelOfferItem: {
829
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km do local" }] } },
830
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Oferta de Hotel Indisponível" } },
831
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Melhor preço" }, { t: 2, i: [{ t: 3 }], s: "Melhor preço para o seu grupo" }] } },
832
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Clique aqui para abrir os detalhes do hotel" } },
833
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ver disponibilidade" } },
834
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar detalhes" } }
835
- }
836
- }
837
- }
838
- });
839
- }
840
- typeof ht == "function" && ht(Kt);
841
- const Lr = /* @__PURE__ */ oe(Kt, [["__scopeId", "data-v-9620c51d"]]);
842
- function rl(e, t, l, i) {
843
- function a(o) {
844
- return o instanceof l ? o : new l(function(c) {
845
- c(o);
846
- });
847
- }
848
- return new (l || (l = Promise))(function(o, c) {
849
- function p(f) {
850
- try {
851
- v(i.next(f));
852
- } catch (b) {
853
- c(b);
854
- }
855
- }
856
- function m(f) {
857
- try {
858
- v(i.throw(f));
859
- } catch (b) {
860
- c(b);
861
- }
862
- }
863
- function v(f) {
864
- f.done ? o(f.value) : a(f.value).then(p, m);
865
- }
866
- v((i = i.apply(e, [])).next());
867
- });
868
- }
869
- function sl(e) {
870
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
871
- }
872
- var Ye, gt;
873
- function ol() {
874
- return gt || (gt = 1, Ye = function e(t, l) {
875
- if (t === l) return !0;
876
- if (t && l && typeof t == "object" && typeof l == "object") {
877
- if (t.constructor !== l.constructor) return !1;
878
- var i, a, o;
879
- if (Array.isArray(t)) {
880
- if (i = t.length, i != l.length) return !1;
881
- for (a = i; a-- !== 0; )
882
- if (!e(t[a], l[a])) return !1;
883
- return !0;
884
- }
885
- if (t.constructor === RegExp) return t.source === l.source && t.flags === l.flags;
886
- if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === l.valueOf();
887
- if (t.toString !== Object.prototype.toString) return t.toString() === l.toString();
888
- if (o = Object.keys(t), i = o.length, i !== Object.keys(l).length) return !1;
889
- for (a = i; a-- !== 0; )
890
- if (!Object.prototype.hasOwnProperty.call(l, o[a])) return !1;
891
- for (a = i; a-- !== 0; ) {
892
- var c = o[a];
893
- if (!e(t[c], l[c])) return !1;
894
- }
895
- return !0;
896
- }
897
- return t !== t && l !== l;
898
- }), Ye;
899
- }
900
- var nl = ol(), ul = /* @__PURE__ */ sl(nl);
901
- const yt = "__googleMapsScriptId";
902
- var Se;
903
- (function(e) {
904
- e[e.INITIALIZED = 0] = "INITIALIZED", e[e.LOADING = 1] = "LOADING", e[e.SUCCESS = 2] = "SUCCESS", e[e.FAILURE = 3] = "FAILURE";
905
- })(Se || (Se = {}));
906
- class ke {
907
- /**
908
- * Creates an instance of Loader using [[LoaderOptions]]. No defaults are set
909
- * using this library, instead the defaults are set by the Google Maps
910
- * JavaScript API server.
911
- *
912
- * ```
913
- * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
914
- * ```
915
- */
916
- constructor({ apiKey: t, authReferrerPolicy: l, channel: i, client: a, id: o = yt, language: c, libraries: p = [], mapIds: m, nonce: v, region: f, retries: b = 3, url: u = "https://maps.googleapis.com/maps/api/js", version: s }) {
917
- if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = t, this.authReferrerPolicy = l, this.channel = i, this.client = a, this.id = o || yt, this.language = c, this.libraries = p, this.mapIds = m, this.nonce = v, this.region = f, this.retries = b, this.url = u, this.version = s, ke.instance) {
918
- if (!ul(this.options, ke.instance.options))
919
- throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(ke.instance.options)}`);
920
- return ke.instance;
921
- }
922
- ke.instance = this;
923
- }
924
- get options() {
925
- return {
926
- version: this.version,
927
- apiKey: this.apiKey,
928
- channel: this.channel,
929
- client: this.client,
930
- id: this.id,
931
- libraries: this.libraries,
932
- language: this.language,
933
- region: this.region,
934
- mapIds: this.mapIds,
935
- nonce: this.nonce,
936
- url: this.url,
937
- authReferrerPolicy: this.authReferrerPolicy
938
- };
939
- }
940
- get status() {
941
- return this.errors.length ? Se.FAILURE : this.done ? Se.SUCCESS : this.loading ? Se.LOADING : Se.INITIALIZED;
942
- }
943
- get failed() {
944
- return this.done && !this.loading && this.errors.length >= this.retries + 1;
945
- }
946
- /**
947
- * CreateUrl returns the Google Maps JavaScript API script url given the [[LoaderOptions]].
948
- *
949
- * @ignore
950
- * @deprecated
951
- */
952
- createUrl() {
953
- let t = this.url;
954
- return t += "?callback=__googleMapsCallback&loading=async", this.apiKey && (t += `&key=${this.apiKey}`), this.channel && (t += `&channel=${this.channel}`), this.client && (t += `&client=${this.client}`), this.libraries.length > 0 && (t += `&libraries=${this.libraries.join(",")}`), this.language && (t += `&language=${this.language}`), this.region && (t += `&region=${this.region}`), this.version && (t += `&v=${this.version}`), this.mapIds && (t += `&map_ids=${this.mapIds.join(",")}`), this.authReferrerPolicy && (t += `&auth_referrer_policy=${this.authReferrerPolicy}`), t;
955
- }
956
- deleteScript() {
957
- const t = document.getElementById(this.id);
958
- t && t.remove();
959
- }
960
- /**
961
- * Load the Google Maps JavaScript API script and return a Promise.
962
- * @deprecated, use importLibrary() instead.
963
- */
964
- load() {
965
- return this.loadPromise();
966
- }
967
- /**
968
- * Load the Google Maps JavaScript API script and return a Promise.
969
- *
970
- * @ignore
971
- * @deprecated, use importLibrary() instead.
972
- */
973
- loadPromise() {
974
- return new Promise((t, l) => {
975
- this.loadCallback((i) => {
976
- i ? l(i.error) : t(window.google);
977
- });
978
- });
979
- }
980
- importLibrary(t) {
981
- return this.execute(), google.maps.importLibrary(t);
982
- }
983
- /**
984
- * Load the Google Maps JavaScript API script with a callback.
985
- * @deprecated, use importLibrary() instead.
986
- */
987
- loadCallback(t) {
988
- this.callbacks.push(t), this.execute();
989
- }
990
- /**
991
- * Set the script on document.
992
- */
993
- setScript() {
994
- var t, l;
995
- if (document.getElementById(this.id)) {
996
- this.callback();
997
- return;
998
- }
999
- const i = {
1000
- key: this.apiKey,
1001
- channel: this.channel,
1002
- client: this.client,
1003
- libraries: this.libraries.length && this.libraries,
1004
- v: this.version,
1005
- mapIds: this.mapIds,
1006
- language: this.language,
1007
- region: this.region,
1008
- authReferrerPolicy: this.authReferrerPolicy
1009
- };
1010
- Object.keys(i).forEach(
1011
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1012
- (o) => !i[o] && delete i[o]
1013
- ), !((l = (t = window == null ? void 0 : window.google) === null || t === void 0 ? void 0 : t.maps) === null || l === void 0) && l.importLibrary || ((o) => {
1014
- let c, p, m, v = "The Google Maps JavaScript API", f = "google", b = "importLibrary", u = "__ib__", s = document, d = window;
1015
- d = d[f] || (d[f] = {});
1016
- const g = d.maps || (d.maps = {}), _ = /* @__PURE__ */ new Set(), k = new URLSearchParams(), F = () => (
1017
- // @ts-ignore
1018
- c || (c = new Promise((A, D) => rl(this, void 0, void 0, function* () {
1019
- var H;
1020
- yield p = s.createElement("script"), p.id = this.id, k.set("libraries", [..._] + "");
1021
- for (m in o)
1022
- k.set(m.replace(/[A-Z]/g, (B) => "_" + B[0].toLowerCase()), o[m]);
1023
- k.set("callback", f + ".maps." + u), p.src = this.url + "?" + k, g[u] = A, p.onerror = () => c = D(Error(v + " could not load.")), p.nonce = this.nonce || ((H = s.querySelector("script[nonce]")) === null || H === void 0 ? void 0 : H.nonce) || "", s.head.append(p);
1024
- })))
1025
- );
1026
- g[b] ? console.warn(v + " only loads once. Ignoring:", o) : g[b] = (A, ...D) => _.add(A) && F().then(() => g[b](A, ...D));
1027
- })(i);
1028
- const a = this.libraries.map((o) => this.importLibrary(o));
1029
- a.length || a.push(this.importLibrary("core")), Promise.all(a).then(() => this.callback(), (o) => {
1030
- const c = new ErrorEvent("error", { error: o });
1031
- this.loadErrorCallback(c);
1032
- });
1033
- }
1034
- /**
1035
- * Reset the loader state.
1036
- */
1037
- reset() {
1038
- this.deleteScript(), this.done = !1, this.loading = !1, this.errors = [], this.onerrorEvent = null;
1039
- }
1040
- resetIfRetryingFailed() {
1041
- this.failed && this.reset();
1042
- }
1043
- loadErrorCallback(t) {
1044
- if (this.errors.push(t), this.errors.length <= this.retries) {
1045
- const l = this.errors.length * Math.pow(2, this.errors.length);
1046
- console.error(`Failed to load Google Maps script, retrying in ${l} ms.`), setTimeout(() => {
1047
- this.deleteScript(), this.setScript();
1048
- }, l);
1049
- } else
1050
- this.onerrorEvent = t, this.callback();
1051
- }
1052
- callback() {
1053
- this.done = !0, this.loading = !1, this.callbacks.forEach((t) => {
1054
- t(this.onerrorEvent);
1055
- }), this.callbacks = [];
1056
- }
1057
- execute() {
1058
- if (this.resetIfRetryingFailed(), !this.loading)
1059
- if (this.done)
1060
- this.callback();
1061
- else {
1062
- if (window.google && window.google.maps && window.google.maps.version) {
1063
- console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."), this.callback();
1064
- return;
1065
- }
1066
- this.loading = !0, this.setScript();
1067
- }
1068
- }
1069
- }
1070
- const cl = (e) => {
1071
- switch (e) {
1072
- case Ve.Production:
1073
- return "AIzaSyDipOKl8MebRQ5FFK_LgUn6YXiSW45KeEU";
1074
- case Ve.Sandbox:
1075
- case Ve.Staging:
1076
- case Ve.CiCd:
1077
- case Ve.Local:
1078
- default:
1079
- return "AIzaSyDrGcYsSX4u-28bi3vFlQ_D5Lz92GHupP8";
1080
- }
1081
- }, dl = {
1082
- isFlat: {
1083
- default: !0,
1084
- type: Boolean
1085
- },
1086
- locationContext: {
1087
- default: null,
1088
- type: Object
1089
- },
1090
- modelValue: {
1091
- default: null,
1092
- type: Object
1093
- },
1094
- outlined: {
1095
- default: !1,
1096
- type: Boolean
1097
- },
1098
- withDetails: {
1099
- default: !1,
1100
- type: Boolean
1101
- }
1102
- };
1103
- function fl(e) {
1104
- switch (e) {
1105
- case "accounting":
1106
- return "fas fa-calculator";
1107
- case "airport":
1108
- return "fas fa-plane";
1109
- case "amusement_park":
1110
- return "fas fa-funnel-dollar";
1111
- case "aquarium":
1112
- return "fas fa-fish";
1113
- case "art_gallery":
1114
- return "fas fa-paint-brush";
1115
- case "atm":
1116
- return "fas fa-money";
1117
- case "bakery":
1118
- return "fas fa-bread-slice";
1119
- case "bank":
1120
- return "fas fa-university";
1121
- case "bar":
1122
- return "fas fa-cocktail";
1123
- case "beauty_salon":
1124
- return "fas fa-cut";
1125
- case "bicycle_store":
1126
- return "fas fa-bicycle";
1127
- case "book_store":
1128
- return "fas fa-book";
1129
- case "bowling_alley":
1130
- return "fas fa-bowling-ball";
1131
- case "bus_station":
1132
- return "fas fa-bus";
1133
- case "cafe":
1134
- return "fas fa-coffee";
1135
- case "campground":
1136
- return "fas fa-campground";
1137
- case "car_dealer":
1138
- return "fas fa-car";
1139
- case "car_rental":
1140
- return "fas fa-car";
1141
- case "car_repair":
1142
- return "fas fa-wrench";
1143
- case "car_wash":
1144
- return "fas fa-car-wash";
1145
- case "casino":
1146
- return "fas fa-dice";
1147
- case "cemetery":
1148
- return "fas fa-cross";
1149
- case "church":
1150
- return "fas fa-church";
1151
- case "city_hall":
1152
- return "fas fa-city";
1153
- case "clothing_store":
1154
- return "fas fa-tshirt";
1155
- case "convenience_store":
1156
- return "fas fa-shopping-basket";
1157
- case "courthouse":
1158
- return "fas fa-balance-scale";
1159
- case "dentist":
1160
- return "fas fa-tooth";
1161
- case "department_store":
1162
- return "fas fa-store";
1163
- case "doctor":
1164
- return "fas fa-user-md";
1165
- case "drugstore":
1166
- return "fas fa-prescription-bottle-alt";
1167
- case "electrician":
1168
- return "fas fa-bolt";
1169
- case "electronics_store":
1170
- return "fas fa-tv";
1171
- case "embassy":
1172
- return "fas fa-flag";
1173
- case "fire_station":
1174
- return "fas fa-fire-extinguisher";
1175
- case "florist":
1176
- return "fas fa-seedling";
1177
- case "funeral_home":
1178
- return "fas fa-cross";
1179
- case "furniture_store":
1180
- return "fas fa-chair";
1181
- case "gas_station":
1182
- return "fas fa-gas-pump";
1183
- case "gym":
1184
- return "fas fa-dumbbell";
1185
- case "hair_care":
1186
- return "fas fa-cut";
1187
- case "hardware_store":
1188
- return "fas fa-tools";
1189
- case "hindu_temple":
1190
- return "fas fa-om";
1191
- case "home_goods_store":
1192
- return "fas fa-home";
1193
- case "hospital":
1194
- return "fas fa-hospital";
1195
- case "insurance_agency":
1196
- return "fas fa-shield-alt";
1197
- case "jewelry_store":
1198
- return "fas fa-gem";
1199
- case "laundry":
1200
- return "fas fa-tshirt";
1201
- case "lawyer":
1202
- return "fas fa-balance-scale";
1203
- case "library":
1204
- return "fas fa-book-open";
1205
- case "light_rail_station":
1206
- return "fas fa-train";
1207
- case "liquor_store":
1208
- return "fas fa-wine-bottle";
1209
- case "local_government_office":
1210
- return "fas fa-landmark";
1211
- case "locksmith":
1212
- return "fas fa-lock";
1213
- case "lodging":
1214
- return "fas fa-hotel";
1215
- case "meal_delivery":
1216
- return "fas fa-truck";
1217
- case "meal_takeaway":
1218
- return "fas fa-box";
1219
- case "mosque":
1220
- return "fas fa-mosque";
1221
- case "movie_rental":
1222
- return "fas fa-film";
1223
- case "movie_theater":
1224
- return "fas fa-film";
1225
- case "moving_company":
1226
- return "fas fa-truck";
1227
- case "museum":
1228
- return "fas fa-university";
1229
- case "night_club":
1230
- return "fas fa-glass-martini-alt";
1231
- case "painter":
1232
- return "fas fa-paint-roller";
1233
- case "park":
1234
- return "fas fa-tree";
1235
- case "parking":
1236
- return "fas fa-parking";
1237
- case "pet_store":
1238
- return "fas fa-paw";
1239
- case "pharmacy":
1240
- return "fas fa-prescription-bottle-alt";
1241
- case "physiotherapist":
1242
- return "fas fa-briefcase-medical";
1243
- case "plumber":
1244
- return "fas fa-wrench";
1245
- case "police":
1246
- return "fas fa-police";
1247
- case "post_office":
1248
- return "fas fa-mail-bulk";
1249
- case "primary_school":
1250
- return "fas fa-school";
1251
- case "real_estate_agency":
1252
- return "fas fa-building";
1253
- case "restaurant":
1254
- return "fas fa-utensils";
1255
- case "roofing_contractor":
1256
- return "fas fa-tools";
1257
- case "rv_park":
1258
- return "fas fa-campground";
1259
- case "school":
1260
- return "fas fa-graduation-cap";
1261
- case "secondary_school":
1262
- return "fas fa-school";
1263
- case "shoe_store":
1264
- return "fas fa-shoe-prints";
1265
- case "shopping_mall":
1266
- return "fas fa-shopping-mall";
1267
- case "spa":
1268
- return "fas fa-spa";
1269
- case "stadium":
1270
- return "fas fa-stadium";
1271
- case "storage":
1272
- return "fas fa-warehouse";
1273
- case "store":
1274
- return "fas fa-store";
1275
- case "subway_station":
1276
- return "fas fa-subway";
1277
- case "supermarket":
1278
- return "fas fa-shopping-cart";
1279
- case "synagogue":
1280
- return "fas fa-synagogue";
1281
- case "taxi_stand":
1282
- return "fas fa-taxi";
1283
- case "tourist_attraction":
1284
- return "fas fa-map-marked-alt";
1285
- case "train_station":
1286
- return "fas fa-train";
1287
- case "transit_station":
1288
- return "fas fa-bus";
1289
- case "travel_agency":
1290
- return "fas fa-map-marked-alt";
1291
- case "university":
1292
- return "fas fa-graduation-cap";
1293
- case "veterinary_care":
1294
- return "fas fa-paw";
1295
- case "zoo":
1296
- return "fas fa-paw";
1297
- case void 0:
1298
- default:
1299
- return "fas fa-location-dot";
1300
- }
1301
- }
1302
- const Gt = /* @__PURE__ */ te({
1303
- __name: "BSearchLocationInput",
1304
- props: /* @__PURE__ */ Be(dl, {
1305
- modelValue: {},
1306
- modelModifiers: {}
1307
- }),
1308
- emits: ["update:modelValue"],
1309
- setup(e) {
1310
- function t(s) {
1311
- return fl(s == null ? void 0 : s[0]);
1312
- }
1313
- const { t: l } = ne(), { config: i } = _a(), a = ve(e, "modelValue"), o = U(""), c = U([]), p = U(!1), m = U(!1), v = h(() => cl(i.value.apiEnvironment)), f = e;
1314
- function b() {
1315
- return new Promise((s) => {
1316
- new ke({
1317
- apiKey: v.value,
1318
- libraries: ["places"],
1319
- version: "quarterly"
1320
- }).importLibrary("places").then(({ PlacesService: g }) => {
1321
- const _ = new g(document.createElement("div"));
1322
- if (o.value || s([]), f.locationContext) {
1323
- const k = {
1324
- location: {
1325
- lat: f.locationContext.latitude,
1326
- lng: f.locationContext.longitude
1327
- },
1328
- query: o.value,
1329
- radius: 1e4
1330
- };
1331
- _.textSearch(k, (F) => {
1332
- s(F ?? []);
1333
- });
1334
- } else {
1335
- const k = {
1336
- fields: ["name", "geometry", "types", "formatted_address"],
1337
- query: o.value
1338
- };
1339
- _.findPlaceFromQuery(k, (F) => {
1340
- s(F ?? []);
1341
- });
1342
- }
1343
- }).catch((g) => {
1344
- bt.error(g), s([]);
1345
- });
1346
- });
1347
- }
1348
- const u = Sa(async () => {
1349
- try {
1350
- p.value = !0;
1351
- const s = await b();
1352
- return c.value = s.filter((d) => {
1353
- var g;
1354
- return !!((g = d.geometry) != null && g.location);
1355
- }).map((d) => ({
1356
- icon: t(d.types),
1357
- latitude: d.geometry.location.lat(),
1358
- longitude: d.geometry.location.lng(),
1359
- raw: d,
1360
- subtitle: d.formatted_address ?? "",
1361
- title: Ra([d.name]).join(" ")
1362
- })), p.value = !1, c.value;
1363
- } catch (s) {
1364
- return bt.error(s), p.value = !1, [];
1365
- }
1366
- }, 500);
1367
- return Z(o, async (s) => {
1368
- if (!s) {
1369
- c.value = [];
1370
- return;
1371
- }
1372
- await u();
1373
- }), Ne(() => {
1374
- Ie(() => {
1375
- var s, d;
1376
- o.value = ((d = (s = a.value) == null ? void 0 : s.raw) == null ? void 0 : d.name) || "";
1377
- }).catch((s) => {
1378
- console.error(s);
1379
- });
1380
- }), (s, d) => (P(), j(Vi, {
1381
- class: ge(["search-location-input", { focused: m.value }]),
1382
- density: "compact",
1383
- flat: s.isFlat,
1384
- "hide-details": !s.withDetails,
1385
- "hide-no-data": "",
1386
- "item-title": "title",
1387
- items: c.value,
1388
- placeholder: w(l)("BSearchLocationInput.placeholder"),
1389
- loading: p.value,
1390
- "no-filter": "",
1391
- outlined: s.outlined,
1392
- "return-object": "",
1393
- modelValue: a.value,
1394
- "onUpdate:modelValue": d[0] || (d[0] = (g) => a.value = g),
1395
- search: o.value,
1396
- "onUpdate:search": d[1] || (d[1] = (g) => o.value = g),
1397
- focused: m.value,
1398
- "onUpdate:focused": d[2] || (d[2] = (g) => m.value = g),
1399
- variant: s.outlined ? void 0 : "solo",
1400
- color: "primary",
1401
- "menu-props": {
1402
- contentClass: "elevation-1"
1403
- },
1404
- "list-props": {
1405
- elevation: 0,
1406
- class: "mt-1"
1407
- }
1408
- }, {
1409
- "prepend-inner": n(() => [
1410
- r(fe, { size: "15" }, {
1411
- default: n(() => d[3] || (d[3] = [
1412
- $("fas fa-solid fa-magnifying-glass")
1413
- ])),
1414
- _: 1,
1415
- __: [3]
1416
- })
1417
- ]),
1418
- item: n(({ item: g, props: _ }) => [
1419
- r(Ze, Ma(Va(_)), {
1420
- prepend: n(() => [
1421
- r(fe, {
1422
- color: "primary",
1423
- size: "25"
1424
- }, {
1425
- default: n(() => [
1426
- $(O(g.raw.icon), 1)
1427
- ]),
1428
- _: 2
1429
- }, 1024)
1430
- ]),
1431
- _: 2
1432
- }, 1040)
1433
- ]),
1434
- _: 1
1435
- }, 8, ["flat", "hide-details", "items", "placeholder", "loading", "outlined", "modelValue", "search", "focused", "variant", "class"]));
1436
- }
1437
- });
1438
- function wt(e) {
1439
- const t = e;
1440
- t.__i18n = t.__i18n || [], t.__i18n.push({
1441
- locale: "",
1442
- resource: {
1443
- "en-US": {
1444
- BSearchLocationInput: {
1445
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Location" } },
1446
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Search for a location" } },
1447
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No locations found" } }
1448
- }
1449
- },
1450
- "fr-FR": {
1451
- BSearchLocationInput: {
1452
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Adresse" } },
1453
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Entrer une adresse" } },
1454
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aucun résultat trouvé" } }
1455
- }
1456
- },
1457
- "de-DE": {
1458
- BSearchLocationInput: {
1459
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ort" } },
1460
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Suche nach einem Ort" } },
1461
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Keine Orte gefunden" } }
1462
- }
1463
- },
1464
- "es-ES": {
1465
- BSearchLocationInput: {
1466
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ubicación" } },
1467
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Buscar una ubicación" } },
1468
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No se encontraron ubicaciones" } }
1469
- }
1470
- },
1471
- "it-IT": {
1472
- BSearchLocationInput: {
1473
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Luogo" } },
1474
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cerca una località" } },
1475
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nessuna località trovata" } }
1476
- }
1477
- },
1478
- "nl-NL": {
1479
- BSearchLocationInput: {
1480
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Locatie" } },
1481
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zoek naar een locatie" } },
1482
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Geen locaties gevonden" } }
1483
- }
1484
- },
1485
- "pt-PT": {
1486
- BSearchLocationInput: {
1487
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Localização" } },
1488
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pesquisar por uma localização" } },
1489
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nenhuma localização encontrada" } }
1490
- }
1491
- }
1492
- }
1493
- });
1494
- }
1495
- typeof wt == "function" && wt(Gt);
1496
- const Ar = /* @__PURE__ */ oe(Gt, [["__scopeId", "data-v-17cff640"]]), it = Symbol.for("vuetify:v-slider");
1497
- function Qe(e, t, l) {
1498
- const i = l === "vertical", a = t.getBoundingClientRect(), o = "touches" in e ? e.touches[0] : e;
1499
- return i ? o.clientY - (a.top + a.height / 2) : o.clientX - (a.left + a.width / 2);
1500
- }
1501
- function vl(e, t) {
1502
- return "touches" in e && e.touches.length ? e.touches[0][t] : "changedTouches" in e && e.changedTouches.length ? e.changedTouches[0][t] : e[t];
1503
- }
1504
- const ml = Me({
1505
- disabled: {
1506
- type: Boolean,
1507
- default: null
1508
- },
1509
- error: Boolean,
1510
- readonly: {
1511
- type: Boolean,
1512
- default: null
1513
- },
1514
- max: {
1515
- type: [Number, String],
1516
- default: 100
1517
- },
1518
- min: {
1519
- type: [Number, String],
1520
- default: 0
1521
- },
1522
- step: {
1523
- type: [Number, String],
1524
- default: 0
1525
- },
1526
- thumbColor: String,
1527
- thumbLabel: {
1528
- type: [Boolean, String],
1529
- default: void 0,
1530
- validator: (e) => typeof e == "boolean" || e === "always"
1531
- },
1532
- thumbSize: {
1533
- type: [Number, String],
1534
- default: 20
1535
- },
1536
- showTicks: {
1537
- type: [Boolean, String],
1538
- default: !1,
1539
- validator: (e) => typeof e == "boolean" || e === "always"
1540
- },
1541
- ticks: {
1542
- type: [Array, Object]
1543
- },
1544
- tickSize: {
1545
- type: [Number, String],
1546
- default: 2
1547
- },
1548
- color: String,
1549
- trackColor: String,
1550
- trackFillColor: String,
1551
- trackSize: {
1552
- type: [Number, String],
1553
- default: 4
1554
- },
1555
- direction: {
1556
- type: String,
1557
- default: "horizontal",
1558
- validator: (e) => ["vertical", "horizontal"].includes(e)
1559
- },
1560
- reverse: Boolean,
1561
- ...Ut(),
1562
- ...zt({
1563
- elevation: 2
1564
- }),
1565
- ripple: {
1566
- type: Boolean,
1567
- default: !0
1568
- }
1569
- }, "Slider"), pl = (e) => {
1570
- const t = h(() => parseFloat(e.min)), l = h(() => parseFloat(e.max)), i = h(() => Number(e.step) > 0 ? parseFloat(e.step) : 0), a = h(() => Math.max(ot(i.value), ot(t.value)));
1571
- function o(c) {
1572
- if (c = parseFloat(c), i.value <= 0) return c;
1573
- const p = Je(c, t.value, l.value), m = t.value % i.value, v = Math.round((p - m) / i.value) * i.value + m;
1574
- return parseFloat(Math.min(v, l.value).toFixed(a.value));
1575
- }
1576
- return {
1577
- min: t,
1578
- max: l,
1579
- step: i,
1580
- decimals: a,
1581
- roundValue: o
1582
- };
1583
- }, bl = (e) => {
1584
- let {
1585
- props: t,
1586
- steps: l,
1587
- onSliderStart: i,
1588
- onSliderMove: a,
1589
- onSliderEnd: o,
1590
- getActiveThumb: c
1591
- } = e;
1592
- const {
1593
- isRtl: p
1594
- } = ze(), m = ie(t, "reverse"), v = h(() => t.direction === "vertical"), f = h(() => v.value !== m.value), {
1595
- min: b,
1596
- max: u,
1597
- step: s,
1598
- decimals: d,
1599
- roundValue: g
1600
- } = l, _ = h(() => parseInt(t.thumbSize, 10)), k = h(() => parseInt(t.tickSize, 10)), F = h(() => parseInt(t.trackSize, 10)), A = h(() => (u.value - b.value) / s.value), D = ie(t, "disabled"), H = h(() => t.error || t.disabled ? void 0 : t.thumbColor ?? t.color), B = h(() => t.error || t.disabled ? void 0 : t.trackColor ?? t.color), I = h(() => t.error || t.disabled ? void 0 : t.trackFillColor ?? t.color), x = de(!1), V = de(0), C = U(), R = U();
1601
- function S(T) {
1602
- var lt;
1603
- const z = (lt = C.value) == null ? void 0 : lt.$el;
1604
- if (!z) return;
1605
- const ye = t.direction === "vertical", la = ye ? "top" : "left", ra = ye ? "height" : "width", sa = ye ? "clientY" : "clientX", {
1606
- [la]: oa,
1607
- [ra]: na
1608
- } = z.getBoundingClientRect(), ua = vl(T, sa);
1609
- let Ge = Math.min(Math.max((ua - oa - V.value) / na, 0), 1) || 0;
1610
- return (ye ? f.value : f.value !== p.value) && (Ge = 1 - Ge), g(b.value + Ge * (u.value - b.value));
1611
- }
1612
- const y = (T) => {
1613
- const z = S(T);
1614
- z != null && o({
1615
- value: z
1616
- }), x.value = !1, V.value = 0;
1617
- }, E = (T) => {
1618
- const z = S(T);
1619
- R.value = c(T), R.value && (x.value = !0, R.value.contains(T.target) ? V.value = Qe(T, R.value, t.direction) : (V.value = 0, z != null && a({
1620
- value: z
1621
- })), z != null && i({
1622
- value: z
1623
- }), Ie(() => {
1624
- var ye;
1625
- return (ye = R.value) == null ? void 0 : ye.focus();
1626
- }));
1627
- }, M = {
1628
- passive: !0,
1629
- capture: !0
1630
- };
1631
- function G(T) {
1632
- const z = S(T);
1633
- z != null && a({
1634
- value: z
1635
- });
1636
- }
1637
- function X(T) {
1638
- T.stopPropagation(), T.preventDefault(), y(T), window.removeEventListener("mousemove", G, M), window.removeEventListener("mouseup", X);
1639
- }
1640
- function ae(T) {
1641
- var z;
1642
- y(T), window.removeEventListener("touchmove", G, M), (z = T.target) == null || z.removeEventListener("touchend", ae);
1643
- }
1644
- function re(T) {
1645
- var z;
1646
- E(T), window.addEventListener("touchmove", G, M), (z = T.target) == null || z.addEventListener("touchend", ae, {
1647
- passive: !1
1648
- });
1649
- }
1650
- function L(T) {
1651
- T.button === 0 && (T.preventDefault(), E(T), window.addEventListener("mousemove", G, M), window.addEventListener("mouseup", X, {
1652
- passive: !1
1653
- }));
1654
- }
1655
- const N = (T) => {
1656
- const z = (T - b.value) / (u.value - b.value) * 100;
1657
- return Je(isNaN(z) ? 0 : z, 0, 100);
1658
- }, ue = ie(t, "showTicks"), me = h(() => ue.value ? t.ticks ? Array.isArray(t.ticks) ? t.ticks.map((T) => ({
1659
- value: T,
1660
- position: N(T),
1661
- label: T.toString()
1662
- })) : Object.keys(t.ticks).map((T) => ({
1663
- value: parseFloat(T),
1664
- position: N(parseFloat(T)),
1665
- label: t.ticks[T]
1666
- })) : A.value !== 1 / 0 ? Lt(A.value + 1).map((T) => {
1667
- const z = b.value + T * s.value;
1668
- return {
1669
- value: z,
1670
- position: N(z)
1671
- };
1672
- }) : [] : []), Ee = h(() => me.value.some((T) => {
1673
- let {
1674
- label: z
1675
- } = T;
1676
- return !!z;
1677
- })), Le = {
1678
- activeThumbRef: R,
1679
- color: ie(t, "color"),
1680
- decimals: d,
1681
- disabled: D,
1682
- direction: ie(t, "direction"),
1683
- elevation: ie(t, "elevation"),
1684
- hasLabels: Ee,
1685
- isReversed: m,
1686
- indexFromEnd: f,
1687
- min: b,
1688
- max: u,
1689
- mousePressed: x,
1690
- numTicks: A,
1691
- onSliderMousedown: L,
1692
- onSliderTouchstart: re,
1693
- parsedTicks: me,
1694
- parseMouseMove: S,
1695
- position: N,
1696
- readonly: ie(t, "readonly"),
1697
- rounded: ie(t, "rounded"),
1698
- roundValue: g,
1699
- showTicks: ue,
1700
- startOffset: V,
1701
- step: s,
1702
- thumbSize: _,
1703
- thumbColor: H,
1704
- thumbLabel: ie(t, "thumbLabel"),
1705
- ticks: ie(t, "ticks"),
1706
- tickSize: k,
1707
- trackColor: B,
1708
- trackContainerRef: C,
1709
- trackFillColor: I,
1710
- trackSize: F,
1711
- vertical: v
1712
- };
1713
- return Ca(it, Le), Le;
1714
- }, hl = Me({
1715
- focused: Boolean,
1716
- max: {
1717
- type: Number,
1718
- required: !0
1719
- },
1720
- min: {
1721
- type: Number,
1722
- required: !0
1723
- },
1724
- modelValue: {
1725
- type: Number,
1726
- required: !0
1727
- },
1728
- position: {
1729
- type: Number,
1730
- required: !0
1731
- },
1732
- ripple: {
1733
- type: [Boolean, Object],
1734
- default: !0
1735
- },
1736
- name: String,
1737
- ...Ue()
1738
- }, "VSliderThumb"), kt = Oe()({
1739
- name: "VSliderThumb",
1740
- directives: {
1741
- Ripple: wi
1742
- },
1743
- props: hl(),
1744
- emits: {
1745
- "update:modelValue": (e) => !0
1746
- },
1747
- setup(e, t) {
1748
- let {
1749
- slots: l,
1750
- emit: i
1751
- } = t;
1752
- const a = At(it), {
1753
- isRtl: o,
1754
- rtlClasses: c
1755
- } = ze();
1756
- if (!a) throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");
1757
- const {
1758
- thumbColor: p,
1759
- step: m,
1760
- disabled: v,
1761
- thumbSize: f,
1762
- thumbLabel: b,
1763
- direction: u,
1764
- isReversed: s,
1765
- vertical: d,
1766
- readonly: g,
1767
- elevation: _,
1768
- mousePressed: k,
1769
- decimals: F,
1770
- indexFromEnd: A
1771
- } = a, D = h(() => v.value ? void 0 : _.value), {
1772
- elevationClasses: H
1773
- } = qt(D), {
1774
- textColorClasses: B,
1775
- textColorStyles: I
1776
- } = Za(p), {
1777
- pageup: x,
1778
- pagedown: V,
1779
- end: C,
1780
- home: R,
1781
- left: S,
1782
- right: y,
1783
- down: E,
1784
- up: M
1785
- } = Pa, G = [x, V, C, R, S, y, E, M], X = h(() => m.value ? [1, 2, 3] : [1, 5, 10]);
1786
- function ae(L, N) {
1787
- if (!G.includes(L.key)) return;
1788
- L.preventDefault();
1789
- const ue = m.value || 0.1, me = (e.max - e.min) / ue;
1790
- if ([S, y, E, M].includes(L.key)) {
1791
- const Le = (d.value ? [o.value ? S : y, s.value ? E : M] : A.value !== o.value ? [S, M] : [y, M]).includes(L.key) ? 1 : -1, T = L.shiftKey ? 2 : L.ctrlKey ? 1 : 0;
1792
- N = N + Le * ue * X.value[T];
1793
- } else if (L.key === R)
1794
- N = e.min;
1795
- else if (L.key === C)
1796
- N = e.max;
1797
- else {
1798
- const Ee = L.key === V ? 1 : -1;
1799
- N = N - Ee * ue * (me > 100 ? me / 10 : 10);
1800
- }
1801
- return Math.max(e.min, Math.min(e.max, N));
1802
- }
1803
- function re(L) {
1804
- const N = ae(L, e.modelValue);
1805
- N != null && i("update:modelValue", N);
1806
- }
1807
- return xe(() => {
1808
- const L = he(A.value ? 100 - e.position : e.position, "%");
1809
- return r("div", {
1810
- class: ["v-slider-thumb", {
1811
- "v-slider-thumb--focused": e.focused,
1812
- "v-slider-thumb--pressed": e.focused && k.value
1813
- }, e.class, c.value],
1814
- style: [{
1815
- "--v-slider-thumb-position": L,
1816
- "--v-slider-thumb-size": he(f.value)
1817
- }, e.style],
1818
- role: "slider",
1819
- tabindex: v.value ? -1 : 0,
1820
- "aria-label": e.name,
1821
- "aria-valuemin": e.min,
1822
- "aria-valuemax": e.max,
1823
- "aria-valuenow": e.modelValue,
1824
- "aria-readonly": !!g.value,
1825
- "aria-orientation": u.value,
1826
- onKeydown: g.value ? void 0 : re
1827
- }, [r("div", {
1828
- class: ["v-slider-thumb__surface", B.value, H.value],
1829
- style: {
1830
- ...I.value
1831
- }
1832
- }, null), We(r("div", {
1833
- class: ["v-slider-thumb__ripple", B.value],
1834
- style: I.value
1835
- }, null), [[Fa("ripple"), e.ripple, null, {
1836
- circle: !0,
1837
- center: !0
1838
- }]]), r(ki, {
1839
- origin: "bottom center"
1840
- }, {
1841
- default: () => {
1842
- var N;
1843
- return [We(r("div", {
1844
- class: "v-slider-thumb__label-container"
1845
- }, [r("div", {
1846
- class: ["v-slider-thumb__label"]
1847
- }, [r("div", null, [((N = l["thumb-label"]) == null ? void 0 : N.call(l, {
1848
- modelValue: e.modelValue
1849
- })) ?? e.modelValue.toFixed(m.value ? F.value : 1)])])]), [[Et, b.value && e.focused || b.value === "always"]])];
1850
- }
1851
- })]);
1852
- }), {};
1853
- }
1854
- }), gl = Me({
1855
- start: {
1856
- type: Number,
1857
- required: !0
1858
- },
1859
- stop: {
1860
- type: Number,
1861
- required: !0
1862
- },
1863
- ...Ue()
1864
- }, "VSliderTrack"), yl = Oe()({
1865
- name: "VSliderTrack",
1866
- props: gl(),
1867
- emits: {},
1868
- setup(e, t) {
1869
- let {
1870
- slots: l
1871
- } = t;
1872
- const i = At(it);
1873
- if (!i) throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");
1874
- const {
1875
- color: a,
1876
- parsedTicks: o,
1877
- rounded: c,
1878
- showTicks: p,
1879
- tickSize: m,
1880
- trackColor: v,
1881
- trackFillColor: f,
1882
- trackSize: b,
1883
- vertical: u,
1884
- min: s,
1885
- max: d,
1886
- indexFromEnd: g
1887
- } = i, {
1888
- roundedClasses: _
1889
- } = jt(c), {
1890
- backgroundColorClasses: k,
1891
- backgroundColorStyles: F
1892
- } = He(f), {
1893
- backgroundColorClasses: A,
1894
- backgroundColorStyles: D
1895
- } = He(v), H = h(() => `inset-${u.value ? "block" : "inline"}-${g.value ? "end" : "start"}`), B = h(() => u.value ? "height" : "width"), I = h(() => ({
1896
- [H.value]: "0%",
1897
- [B.value]: "100%"
1898
- })), x = h(() => e.stop - e.start), V = h(() => ({
1899
- [H.value]: he(e.start, "%"),
1900
- [B.value]: he(x.value, "%")
1901
- })), C = h(() => p.value ? (u.value ? o.value.slice().reverse() : o.value).map((S, y) => {
1902
- var M;
1903
- const E = S.value !== s.value && S.value !== d.value ? he(S.position, "%") : void 0;
1904
- return r("div", {
1905
- key: S.value,
1906
- class: ["v-slider-track__tick", {
1907
- "v-slider-track__tick--filled": S.position >= e.start && S.position <= e.stop,
1908
- "v-slider-track__tick--first": S.value === s.value,
1909
- "v-slider-track__tick--last": S.value === d.value
1910
- }],
1911
- style: {
1912
- [H.value]: E
1913
- }
1914
- }, [(S.label || l["tick-label"]) && r("div", {
1915
- class: "v-slider-track__tick-label"
1916
- }, [((M = l["tick-label"]) == null ? void 0 : M.call(l, {
1917
- tick: S,
1918
- index: y
1919
- })) ?? S.label])]);
1920
- }) : []);
1921
- return xe(() => r("div", {
1922
- class: ["v-slider-track", _.value, e.class],
1923
- style: [{
1924
- "--v-slider-track-size": he(b.value),
1925
- "--v-slider-tick-size": he(m.value)
1926
- }, e.style]
1927
- }, [r("div", {
1928
- class: ["v-slider-track__background", A.value, {
1929
- "v-slider-track__background--opacity": !!a.value || !f.value
1930
- }],
1931
- style: {
1932
- ...I.value,
1933
- ...D.value
1934
- }
1935
- }, null), r("div", {
1936
- class: ["v-slider-track__fill", k.value],
1937
- style: {
1938
- ...V.value,
1939
- ...F.value
1940
- }
1941
- }, null), p.value && r("div", {
1942
- class: ["v-slider-track__ticks", {
1943
- "v-slider-track__ticks--always-show": p.value === "always"
1944
- }]
1945
- }, [C.value])])), {};
1946
- }
1947
- }), wl = Me({
1948
- ...xi(),
1949
- ...Oi(),
1950
- ...ml(),
1951
- strict: Boolean,
1952
- modelValue: {
1953
- type: Array,
1954
- default: () => [0, 0]
1955
- }
1956
- }, "VRangeSlider"), kl = Oe()({
1957
- name: "VRangeSlider",
1958
- props: wl(),
1959
- emits: {
1960
- "update:focused": (e) => !0,
1961
- "update:modelValue": (e) => !0,
1962
- end: (e) => !0,
1963
- start: (e) => !0
1964
- },
1965
- setup(e, t) {
1966
- let {
1967
- slots: l,
1968
- emit: i
1969
- } = t;
1970
- const a = U(), o = U(), c = U(), {
1971
- rtlClasses: p
1972
- } = ze();
1973
- function m(C) {
1974
- if (!a.value || !o.value) return;
1975
- const R = Qe(C, a.value.$el, e.direction), S = Qe(C, o.value.$el, e.direction), y = Math.abs(R), E = Math.abs(S);
1976
- return y < E || y === E && R < 0 ? a.value.$el : o.value.$el;
1977
- }
1978
- const v = pl(e), f = et(e, "modelValue", void 0, (C) => C != null && C.length ? C.map((R) => v.roundValue(R)) : [0, 0]), {
1979
- activeThumbRef: b,
1980
- hasLabels: u,
1981
- max: s,
1982
- min: d,
1983
- mousePressed: g,
1984
- onSliderMousedown: _,
1985
- onSliderTouchstart: k,
1986
- position: F,
1987
- trackContainerRef: A,
1988
- readonly: D
1989
- } = bl({
1990
- props: e,
1991
- steps: v,
1992
- onSliderStart: () => {
1993
- i("start", f.value);
1994
- },
1995
- onSliderEnd: (C) => {
1996
- var y;
1997
- let {
1998
- value: R
1999
- } = C;
2000
- const S = b.value === ((y = a.value) == null ? void 0 : y.$el) ? [R, f.value[1]] : [f.value[0], R];
2001
- !e.strict && S[0] < S[1] && (f.value = S), i("end", f.value);
2002
- },
2003
- onSliderMove: (C) => {
2004
- var E, M, G, X;
2005
- let {
2006
- value: R
2007
- } = C;
2008
- const [S, y] = f.value;
2009
- !e.strict && S === y && S !== d.value && (b.value = R > S ? (E = o.value) == null ? void 0 : E.$el : (M = a.value) == null ? void 0 : M.$el, (G = b.value) == null || G.focus()), b.value === ((X = a.value) == null ? void 0 : X.$el) ? f.value = [Math.min(R, y), y] : f.value = [S, Math.max(S, R)];
2010
- },
2011
- getActiveThumb: m
2012
- }), {
2013
- isFocused: H,
2014
- focus: B,
2015
- blur: I
2016
- } = Ii(e), x = h(() => F(f.value[0])), V = h(() => F(f.value[1]));
2017
- return xe(() => {
2018
- const C = mt.filterProps(e), R = !!(e.label || l.label || l.prepend);
2019
- return r(mt, ee({
2020
- class: ["v-slider", "v-range-slider", {
2021
- "v-slider--has-labels": !!l["tick-label"] || u.value,
2022
- "v-slider--focused": H.value,
2023
- "v-slider--pressed": g.value,
2024
- "v-slider--disabled": e.disabled
2025
- }, p.value, e.class],
2026
- style: e.style,
2027
- ref: c
2028
- }, C, {
2029
- focused: H.value
2030
- }), {
2031
- ...l,
2032
- prepend: R ? (S) => {
2033
- var y, E;
2034
- return r(se, null, [((y = l.label) == null ? void 0 : y.call(l, S)) ?? (e.label ? r(Li, {
2035
- class: "v-slider__label",
2036
- text: e.label
2037
- }, null) : void 0), (E = l.prepend) == null ? void 0 : E.call(l, S)]);
2038
- } : void 0,
2039
- default: (S) => {
2040
- var M, G;
2041
- let {
2042
- id: y,
2043
- messagesId: E
2044
- } = S;
2045
- return r("div", {
2046
- class: "v-slider__container",
2047
- onMousedown: D.value ? void 0 : _,
2048
- onTouchstartPassive: D.value ? void 0 : k
2049
- }, [r("input", {
2050
- id: `${y.value}_start`,
2051
- name: e.name || y.value,
2052
- disabled: !!e.disabled,
2053
- readonly: !!e.readonly,
2054
- tabindex: "-1",
2055
- value: f.value[0]
2056
- }, null), r("input", {
2057
- id: `${y.value}_stop`,
2058
- name: e.name || y.value,
2059
- disabled: !!e.disabled,
2060
- readonly: !!e.readonly,
2061
- tabindex: "-1",
2062
- value: f.value[1]
2063
- }, null), r(yl, {
2064
- ref: A,
2065
- start: x.value,
2066
- stop: V.value
2067
- }, {
2068
- "tick-label": l["tick-label"]
2069
- }), r(kt, {
2070
- ref: a,
2071
- "aria-describedby": E.value,
2072
- focused: H && b.value === ((M = a.value) == null ? void 0 : M.$el),
2073
- modelValue: f.value[0],
2074
- "onUpdate:modelValue": (X) => f.value = [X, f.value[1]],
2075
- onFocus: (X) => {
2076
- var ae, re, L, N;
2077
- B(), b.value = (ae = a.value) == null ? void 0 : ae.$el, s.value !== d.value && f.value[0] === f.value[1] && f.value[1] === d.value && X.relatedTarget !== ((re = o.value) == null ? void 0 : re.$el) && ((L = a.value) == null || L.$el.blur(), (N = o.value) == null || N.$el.focus());
2078
- },
2079
- onBlur: () => {
2080
- I(), b.value = void 0;
2081
- },
2082
- min: d.value,
2083
- max: f.value[1],
2084
- position: x.value,
2085
- ripple: e.ripple
2086
- }, {
2087
- "thumb-label": l["thumb-label"]
2088
- }), r(kt, {
2089
- ref: o,
2090
- "aria-describedby": E.value,
2091
- focused: H && b.value === ((G = o.value) == null ? void 0 : G.$el),
2092
- modelValue: f.value[1],
2093
- "onUpdate:modelValue": (X) => f.value = [f.value[0], X],
2094
- onFocus: (X) => {
2095
- var ae, re, L, N;
2096
- B(), b.value = (ae = o.value) == null ? void 0 : ae.$el, s.value !== d.value && f.value[0] === f.value[1] && f.value[0] === s.value && X.relatedTarget !== ((re = a.value) == null ? void 0 : re.$el) && ((L = o.value) == null || L.$el.blur(), (N = a.value) == null || N.$el.focus());
2097
- },
2098
- onBlur: () => {
2099
- I(), b.value = void 0;
2100
- },
2101
- min: f.value[0],
2102
- max: s.value,
2103
- position: V.value,
2104
- ripple: e.ripple
2105
- }, {
2106
- "thumb-label": l["thumb-label"]
2107
- })]);
2108
- }
2109
- });
2110
- }), {};
2111
- }
2112
- }), Bl = { style: { "max-width": "400px" } }, _l = {
2113
- key: 0,
2114
- class: "chart"
2115
- }, Sl = {
2116
- key: 1,
2117
- class: "chart"
2118
- }, Rl = { class: "text-caption" }, Yt = /* @__PURE__ */ te({
2119
- __name: "BFilterByPrice",
2120
- props: /* @__PURE__ */ Be({
2121
- currency: {},
2122
- disabled: { type: Boolean },
2123
- isLoading: { type: Boolean },
2124
- priceHistogram: {},
2125
- priceMax: {},
2126
- priceMin: {},
2127
- step: { default: 1 }
2128
- }, {
2129
- modelValue: {
2130
- default: () => [0, 0]
2131
- },
2132
- modelModifiers: {}
2133
- }),
2134
- emits: ["update:modelValue"],
2135
- setup(e) {
2136
- const { t } = ne(), l = e, i = ve(e, "modelValue"), a = h(
2137
- () => nt([l.priceMin, l.priceMax], (u) => u)
2138
- ), o = h({
2139
- get() {
2140
- return i.value && (i.value[0] || i.value[1]) ? i.value : [a.value[0], a.value[1]];
2141
- },
2142
- set(u) {
2143
- i.value = u;
2144
- }
2145
- }), c = h({
2146
- get() {
2147
- return i.value && i.value[0] || a.value[0];
2148
- },
2149
- set(u) {
2150
- u >= i.value[1] ? i.value = [i.value[1], i.value[1]] : u <= a.value[0] ? i.value = [a.value[0], i.value[1]] : i.value = [u, i.value[1]];
2151
- }
2152
- }), p = h({
2153
- get() {
2154
- return i.value && i.value[1] || a.value[1];
2155
- },
2156
- set(u) {
2157
- u <= i.value[0] ? i.value = [i.value[0], i.value[0]] : a.value[1] <= u ? i.value = [i.value[0], a.value[1]] : i.value = [i.value[0], u];
2158
- }
2159
- }), m = (u) => `${Math.log(u + 1) / Math.log(Math.max(...l.priceHistogram || [])) * 40}px`, v = h(() => Fi(l.currency)), f = () => {
2160
- i.value = [a.value[0], i.value[1]];
2161
- }, b = () => {
2162
- i.value = [i.value[0], a.value[1]];
2163
- };
2164
- return Z(
2165
- a,
2166
- (u, s) => {
2167
- i.value && (i.value[0] || i.value[1]) && (s && (u[0] >= s[1] || u[1] <= s[0]) ? i.value = [0, 0] : i.value = nt(
2168
- [
2169
- Math.max(i.value[0], u[0]),
2170
- Math.min(i.value[1], u[1])
2171
- ],
2172
- (d) => d
2173
- ));
2174
- },
2175
- {
2176
- deep: !0,
2177
- immediate: !0
2178
- }
2179
- ), (u, s) => (P(), W("div", Bl, [
2180
- r(ce, { "no-gutters": "" }, {
2181
- default: n(() => [
2182
- r(Q, null, {
2183
- default: n(() => [
2184
- r(tt, {
2185
- class: ge(["filter-price-slider pa-0", u.disabled && "cursor-not-allowed"])
2186
- }, {
2187
- default: n(() => [
2188
- u.isLoading ? (P(), W("ul", _l, [
2189
- (P(!0), W(se, null, Re(Array.from(
2190
- { length: 30 },
2191
- () => Math.random() * 35 + 5
2192
- ), () => (P(), W("li", null, s[3] || (s[3] = [
2193
- q("span", { class: "loader" }, null, -1)
2194
- ])))), 256))
2195
- ])) : (P(), W("ul", Sl, [
2196
- (P(!0), W(se, null, Re(u.priceHistogram, (d) => (P(), W("li", null, [
2197
- q("span", {
2198
- style: Tt({ height: m(d), width: "95%" })
2199
- }, null, 4)
2200
- ]))), 256))
2201
- ])),
2202
- r(kl, {
2203
- ref: "range-slider",
2204
- modelValue: o.value,
2205
- "onUpdate:modelValue": s[0] || (s[0] = (d) => o.value = d),
2206
- disabled: u.disabled || u.isLoading,
2207
- max: a.value[1],
2208
- min: a.value[0],
2209
- readonly: u.disabled || u.isLoading,
2210
- step: u.step,
2211
- "thumb-label": !1,
2212
- style: {
2213
- marginInline: "0px",
2214
- marginTop: "-17px"
2215
- },
2216
- "track-color": "#e2e2e2",
2217
- "track-size": "3",
2218
- "thumb-size": "13",
2219
- color: "primary",
2220
- "hide-details": ""
2221
- }, null, 8, ["modelValue", "disabled", "max", "min", "readonly", "step"])
2222
- ]),
2223
- _: 1
2224
- }, 8, ["class"])
2225
- ]),
2226
- _: 1
2227
- })
2228
- ]),
2229
- _: 1
2230
- }),
2231
- r(ce, { "no-gutters": "" }, {
2232
- default: n(() => [
2233
- r(Q, null, {
2234
- default: n(() => [
2235
- r(pt, {
2236
- ref: "price-min",
2237
- modelValue: c.value,
2238
- "onUpdate:modelValue": s[1] || (s[1] = (d) => c.value = d),
2239
- clearable: c.value !== a.value[0],
2240
- density: "compact",
2241
- disabled: u.disabled || u.isLoading,
2242
- label: "Min",
2243
- max: p.value,
2244
- min: a.value[0],
2245
- variant: "outlined",
2246
- prefix: v.value,
2247
- step: u.step,
2248
- "hide-details": "",
2249
- type: "number",
2250
- "onClick:clear": f
2251
- }, null, 8, ["modelValue", "clearable", "disabled", "max", "min", "prefix", "step"])
2252
- ]),
2253
- _: 1
2254
- }),
2255
- r(Q, {
2256
- class: "d-flex align-center",
2257
- cols: "1"
2258
- }, {
2259
- default: n(() => [
2260
- r($e)
2261
- ]),
2262
- _: 1
2263
- }),
2264
- r(Q, null, {
2265
- default: n(() => [
2266
- r(pt, {
2267
- ref: "price-max",
2268
- modelValue: p.value,
2269
- "onUpdate:modelValue": s[2] || (s[2] = (d) => p.value = d),
2270
- clearable: p.value !== a.value[1],
2271
- density: "compact",
2272
- disabled: u.disabled || u.isLoading,
2273
- label: "Max",
2274
- max: a.value[1],
2275
- min: c.value,
2276
- variant: "outlined",
2277
- prefix: v.value,
2278
- step: u.step,
2279
- "hide-details": "",
2280
- type: "number",
2281
- "onClick:clear": b
2282
- }, null, 8, ["modelValue", "clearable", "disabled", "max", "min", "prefix", "step"])
2283
- ]),
2284
- _: 1
2285
- })
2286
- ]),
2287
- _: 1
2288
- }),
2289
- r(ce, { "no-gutters": "" }, {
2290
- default: n(() => [
2291
- r(Q, { class: "text-center" }, {
2292
- default: n(() => [
2293
- q("small", Rl, O(w(t)("BFilterByPrice.pricePerRoomPerNight")), 1)
2294
- ]),
2295
- _: 1
2296
- })
2297
- ]),
2298
- _: 1
2299
- })
2300
- ]));
2301
- }
2302
- });
2303
- function Bt(e) {
2304
- const t = e;
2305
- t.__i18n = t.__i18n || [], t.__i18n.push({
2306
- locale: "",
2307
- resource: {
2308
- "en-US": {
2309
- BFilterByPrice: {
2310
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price Per Room Per Night" } }
2311
- }
2312
- },
2313
- "fr-FR": {
2314
- BFilterByPrice: {
2315
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prix par chambre par nuit" } }
2316
- }
2317
- },
2318
- "de-DE": {
2319
- BFilterByPrice: {
2320
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis pro Zimmer pro Nacht" } }
2321
- }
2322
- },
2323
- "es-ES": {
2324
- BFilterByPrice: {
2325
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio por habitación por noche" } }
2326
- }
2327
- },
2328
- "it-IT": {
2329
- BFilterByPrice: {
2330
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo per camera per notte" } }
2331
- }
2332
- },
2333
- "nl-NL": {
2334
- BFilterByPrice: {
2335
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs per kamer per nacht" } }
2336
- }
2337
- },
2338
- "pt-PT": {
2339
- BFilterByPrice: {
2340
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço por quarto por noite" } }
2341
- }
2342
- }
2343
- }
2344
- });
2345
- }
2346
- typeof Bt == "function" && Bt(Yt);
2347
- const Wt = /* @__PURE__ */ oe(Yt, [["__scopeId", "data-v-084f7f17"]]), Ml = { class: "text-center px-10 pt-4" }, Vl = { class: "font-weight-bold" }, Zt = /* @__PURE__ */ te({
2348
- __name: "BFilterByPriceMenu",
2349
- props: /* @__PURE__ */ Be({
2350
- currency: {},
2351
- disabled: { type: Boolean },
2352
- isLoading: { type: Boolean },
2353
- priceHistogram: {},
2354
- priceMax: {},
2355
- priceMin: {},
2356
- step: {}
2357
- }, {
2358
- modelValue: {},
2359
- modelModifiers: {}
2360
- }),
2361
- emits: ["update:modelValue"],
2362
- setup(e) {
2363
- const { locale: t, t: l } = ne(), i = e, a = ve(e, "modelValue"), o = U([0, 0]), c = U(!1), p = h(
2364
- () => {
2365
- var s;
2366
- return vt({
2367
- amount: ((s = a.value) == null ? void 0 : s[1]) || i.priceMax,
2368
- currency: i.currency,
2369
- locale: t.value
2370
- });
2371
- }
2372
- ), m = h(
2373
- () => {
2374
- var s;
2375
- return vt({
2376
- amount: ((s = a.value) == null ? void 0 : s[0]) || i.priceMin,
2377
- currency: i.currency,
2378
- locale: t.value
2379
- });
2380
- }
2381
- ), v = () => {
2382
- a.value = [...o.value], c.value = !1;
2383
- }, f = () => {
2384
- o.value = [...a.value], c.value = !1;
2385
- }, b = () => {
2386
- c.value = !1, a.value = [0, 0];
2387
- }, u = h(() => Ia[i.currency].symbol);
2388
- return Z(
2389
- a,
2390
- (s) => {
2391
- s && (o.value = [...s]);
2392
- },
2393
- { immediate: !0 }
2394
- ), Z(c, (s) => {
2395
- s || (o.value = [...a.value]);
2396
- }), (s, d) => {
2397
- var g;
2398
- return P(), j(je, ee(s.$attrs, {
2399
- modelValue: c.value,
2400
- "onUpdate:modelValue": d[1] || (d[1] = (_) => c.value = _),
2401
- attach: (g = s.$parent) == null ? void 0 : g.$el,
2402
- persistent: !1,
2403
- "close-on-content-click": !1,
2404
- "max-width": "400px",
2405
- "open-on-click": "",
2406
- location: "bottom"
2407
- }), {
2408
- activator: n(({ props: _ }) => {
2409
- var k, F;
2410
- return [
2411
- r(Ke, {
2412
- color: "grey",
2413
- icon: "fas fa-times",
2414
- style: { cursor: "pointer" },
2415
- "model-value": ((k = a.value) == null ? void 0 : k[0]) !== 0 || ((F = a.value) == null ? void 0 : F[1]) !== 0,
2416
- onClick: b
2417
- }, {
2418
- default: n(() => {
2419
- var A;
2420
- return [
2421
- r(qe, {
2422
- attach: (A = s.$el) == null ? void 0 : A.parent,
2423
- location: "bottom",
2424
- color: "grey-darken-3"
2425
- }, {
2426
- activator: n(({ props: D }) => [
2427
- r(K, ee({
2428
- color: "grey",
2429
- variant: "tonal",
2430
- size: "small"
2431
- }, {
2432
- ..._,
2433
- ...D
2434
- }), {
2435
- default: n(() => [
2436
- q("span", null, [
2437
- q("b", null, O(u.value), 1)
2438
- ])
2439
- ]),
2440
- _: 2
2441
- }, 1040)
2442
- ]),
2443
- default: n(() => [
2444
- s.priceMin !== 0 || s.priceMax !== 0 ? (P(), W(se, { key: 0 }, [
2445
- $(O(w(l)("BFilterByPriceMenu.tooltip", {
2446
- min: m.value,
2447
- max: p.value
2448
- })), 1)
2449
- ], 64)) : J("", !0)
2450
- ]),
2451
- _: 2
2452
- }, 1032, ["attach"])
2453
- ];
2454
- }),
2455
- _: 2
2456
- }, 1032, ["model-value"])
2457
- ];
2458
- }),
2459
- default: n(() => [
2460
- r(Te, { elevation: "1" }, {
2461
- default: n(() => [
2462
- q("div", Ml, [
2463
- q("p", Vl, O(w(l)("BFilterByPriceMenu.title")), 1),
2464
- r(Wt, {
2465
- modelValue: o.value,
2466
- "onUpdate:modelValue": d[0] || (d[0] = (_) => o.value = _),
2467
- currency: s.currency,
2468
- "price-min": s.priceMin,
2469
- "price-max": s.priceMax,
2470
- "price-histogram": s.priceHistogram,
2471
- disabled: s.disabled,
2472
- "is-loading": s.isLoading
2473
- }, null, 8, ["modelValue", "currency", "price-min", "price-max", "price-histogram", "disabled", "is-loading"])
2474
- ]),
2475
- r(at, { class: "justify-end mt-2" }, {
2476
- default: n(() => [
2477
- r(K, {
2478
- class: "text-right",
2479
- color: "grey",
2480
- elevation: "0",
2481
- size: "small",
2482
- variant: "text",
2483
- onClick: f
2484
- }, {
2485
- default: n(() => [
2486
- $(O(w(l)("BFilterByPriceMenu.cancel")), 1)
2487
- ]),
2488
- _: 1
2489
- }),
2490
- r(K, {
2491
- class: "text-right",
2492
- color: "error",
2493
- elevation: "0",
2494
- loading: s.isLoading,
2495
- size: "small",
2496
- variant: "text",
2497
- onClick: b
2498
- }, {
2499
- default: n(() => [
2500
- $(O(w(l)("BFilterByPriceMenu.reset")), 1)
2501
- ]),
2502
- _: 1
2503
- }, 8, ["loading"]),
2504
- r(K, {
2505
- class: "text-right",
2506
- color: "success",
2507
- elevation: "0",
2508
- loading: s.isLoading,
2509
- size: "small",
2510
- variant: "flat",
2511
- onClick: v
2512
- }, {
2513
- default: n(() => [
2514
- $(O(w(l)("BFilterByPriceMenu.apply")), 1)
2515
- ]),
2516
- _: 1
2517
- }, 8, ["loading"])
2518
- ]),
2519
- _: 1
2520
- })
2521
- ]),
2522
- _: 1
2523
- })
2524
- ]),
2525
- _: 1
2526
- }, 16, ["modelValue", "attach"]);
2527
- };
2528
- }
2529
- });
2530
- function _t(e) {
2531
- const t = e;
2532
- t.__i18n = t.__i18n || [], t.__i18n.push({
2533
- locale: "",
2534
- resource: {
2535
- "en-US": {
2536
- BFilterByPriceMenu: {
2537
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
2538
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
2539
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
2540
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price" } },
2541
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "What's your budget ?" } },
2542
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Price from " }, { t: 4, k: "min" }, { t: 3, v: " to " }, { t: 4, k: "max" }, { t: 3, v: " per room per night" }] } }
2543
- }
2544
- },
2545
- "fr-FR": {
2546
- BFilterByPriceMenu: {
2547
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
2548
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
2549
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
2550
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prix" } },
2551
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Quel est votre budget ?" } },
2552
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Prix de " }, { t: 4, k: "min" }, { t: 3, v: " à " }, { t: 4, k: "max" }, { t: 3, v: " par chambre par nuit" }] } }
2553
- }
2554
- },
2555
- "de-DE": {
2556
- BFilterByPriceMenu: {
2557
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
2558
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
2559
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
2560
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis" } },
2561
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Was ist Ihr Budget?" } },
2562
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Preis von " }, { t: 4, k: "min" }, { t: 3, v: " bis " }, { t: 4, k: "max" }, { t: 3, v: " pro Zimmer pro Nacht" }] } }
2563
- }
2564
- },
2565
- "es-ES": {
2566
- BFilterByPriceMenu: {
2567
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
2568
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
2569
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
2570
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio" } },
2571
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "¿Cuál es tu presupuesto?" } },
2572
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Precio de " }, { t: 4, k: "min" }, { t: 3, v: " a " }, { t: 4, k: "max" }, { t: 3, v: " por habitación por noche" }] } }
2573
- }
2574
- },
2575
- "it-IT": {
2576
- BFilterByPriceMenu: {
2577
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
2578
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
2579
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
2580
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo" } },
2581
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Qual è il tuo budget?" } },
2582
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Prezzo da " }, { t: 4, k: "min" }, { t: 3, v: " a " }, { t: 4, k: "max" }, { t: 3, v: " per camera per notte" }] } }
2583
- }
2584
- },
2585
- "nl-NL": {
2586
- BFilterByPriceMenu: {
2587
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
2588
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
2589
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
2590
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs" } },
2591
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Wat is uw budget?" } },
2592
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Prijs van " }, { t: 4, k: "min" }, { t: 3, v: " tot " }, { t: 4, k: "max" }, { t: 3, v: " per kamer per nacht" }] } }
2593
- }
2594
- },
2595
- "pt-PT": {
2596
- BFilterByPriceMenu: {
2597
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
2598
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
2599
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
2600
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço" } },
2601
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Qual é o seu orçamento?" } },
2602
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Preço de " }, { t: 4, k: "min" }, { t: 3, v: " a " }, { t: 4, k: "max" }, { t: 3, v: " por quarto por noite" }] } }
2603
- }
2604
- }
2605
- }
2606
- });
2607
- }
2608
- typeof _t == "function" && _t(Zt);
2609
- const Cl = /* @__PURE__ */ oe(Zt, [["__scopeId", "data-v-ceee1657"]]), Xt = /* @__PURE__ */ te({
2610
- __name: "BFilterByReview",
2611
- props: /* @__PURE__ */ Be({
2612
- disabled: { type: Boolean }
2613
- }, {
2614
- modelValue: {},
2615
- modelModifiers: {}
2616
- }),
2617
- emits: ["update:modelValue"],
2618
- setup(e) {
2619
- const t = ve(e, "modelValue"), l = [
2620
- { label: "3+", value: 3 },
2621
- { label: "3.5+", value: 3.5 },
2622
- { label: "4+", value: 4 },
2623
- { label: "4.5+", value: 4.5 }
2624
- ];
2625
- return (i, a) => (P(), j(ri, {
2626
- modelValue: t.value,
2627
- "onUpdate:modelValue": a[0] || (a[0] = (o) => t.value = o),
2628
- class: "d-flex flex-row justify-center",
2629
- divided: ""
2630
- }, {
2631
- default: n(() => [
2632
- (P(), W(se, null, Re(l, (o, c) => r(K, {
2633
- key: c,
2634
- class: ge(["px-0", i.disabled && "cursor-not-allowed"]),
2635
- color: "primary",
2636
- disabled: i.disabled,
2637
- variant: "outlined",
2638
- size: "small",
2639
- value: o.value
2640
- }, {
2641
- default: n(() => [
2642
- $(O(o.label), 1)
2643
- ]),
2644
- _: 2
2645
- }, 1032, ["class", "disabled", "value"])), 64))
2646
- ]),
2647
- _: 1
2648
- }, 8, ["modelValue"]));
2649
- }
2650
- }), Pl = { class: "text-center px-10 py-4" }, Fl = { class: "font-weight-bold pb-4" }, Qt = /* @__PURE__ */ te({
2651
- __name: "BFilterByReviewMenu",
2652
- props: {
2653
- modelValue: {},
2654
- modelModifiers: {}
2655
- },
2656
- emits: ["update:modelValue"],
2657
- setup(e) {
2658
- const { t } = ne(), l = U(!1), i = ve(e, "modelValue"), a = U(), o = () => {
2659
- a.value = i.value, l.value = !1;
2660
- }, c = () => {
2661
- i.value = void 0, l.value = !1;
2662
- }, p = () => {
2663
- i.value = a.value, l.value = !1;
2664
- };
2665
- return Z(
2666
- i,
2667
- (m) => {
2668
- a.value = m;
2669
- },
2670
- {
2671
- immediate: !0
2672
- }
2673
- ), Z(l, () => {
2674
- a.value = i.value;
2675
- }), (m, v) => {
2676
- var f;
2677
- return P(), j(je, ee(m.$attrs, {
2678
- modelValue: l.value,
2679
- "onUpdate:modelValue": v[1] || (v[1] = (b) => l.value = b),
2680
- attach: (f = m.$parent) == null ? void 0 : f.$el,
2681
- location: "bottom",
2682
- "close-on-content-click": !1,
2683
- "content-class": "pa-0",
2684
- "open-on-click": ""
2685
- }), {
2686
- activator: n(({ props: b }) => [
2687
- r(Ke, {
2688
- color: "grey",
2689
- icon: "fas fa-times",
2690
- style: { cursor: "pointer" },
2691
- "model-value": !!i.value,
2692
- onClick: c
2693
- }, {
2694
- default: n(() => {
2695
- var u;
2696
- return [
2697
- r(qe, {
2698
- attach: (u = m.$el) == null ? void 0 : u.parent,
2699
- location: "bottom",
2700
- color: "grey-darken-3"
2701
- }, {
2702
- activator: n(({ props: s }) => [
2703
- r(K, ee({
2704
- ...b,
2705
- ...s
2706
- }, {
2707
- color: "grey",
2708
- variant: "tonal",
2709
- size: "small"
2710
- }), {
2711
- default: n(() => [
2712
- q("span", null, [
2713
- q("b", null, O(i.value || 1) + "+", 1)
2714
- ])
2715
- ]),
2716
- _: 2
2717
- }, 1040)
2718
- ]),
2719
- default: n(() => [
2720
- $(" " + O(w(t)("BFilterByReviewMenu.tooltip", i.value || 0, {
2721
- named: { score: i.value }
2722
- })), 1)
2723
- ]),
2724
- _: 2
2725
- }, 1032, ["attach"])
2726
- ];
2727
- }),
2728
- _: 2
2729
- }, 1032, ["model-value"])
2730
- ]),
2731
- default: n(() => [
2732
- r(Te, { elevation: "1" }, {
2733
- default: n(() => [
2734
- q("div", Pl, [
2735
- q("p", Fl, O(w(t)("BFilterByReviewMenu.title")), 1),
2736
- r(Xt, {
2737
- modelValue: a.value,
2738
- "onUpdate:modelValue": v[0] || (v[0] = (b) => a.value = b)
2739
- }, null, 8, ["modelValue"])
2740
- ]),
2741
- r(at, { class: "justify-end pa-2" }, {
2742
- default: n(() => [
2743
- r(K, {
2744
- class: "text-right",
2745
- color: "grey",
2746
- elevation: "0",
2747
- size: "small",
2748
- variant: "text",
2749
- onClick: o
2750
- }, {
2751
- default: n(() => [
2752
- $(O(w(t)("BFilterByReviewMenu.cancel")), 1)
2753
- ]),
2754
- _: 1
2755
- }),
2756
- r(K, {
2757
- class: "text-right",
2758
- color: "error",
2759
- elevation: "0",
2760
- size: "small",
2761
- variant: "text",
2762
- onClick: c
2763
- }, {
2764
- default: n(() => [
2765
- $(O(w(t)("BFilterByReviewMenu.reset")), 1)
2766
- ]),
2767
- _: 1
2768
- }),
2769
- r(K, {
2770
- class: "text-right",
2771
- color: "success",
2772
- elevation: "0",
2773
- variant: "flat",
2774
- size: "small",
2775
- onClick: p
2776
- }, {
2777
- default: n(() => [
2778
- $(O(w(t)("BFilterByReviewMenu.apply")), 1)
2779
- ]),
2780
- _: 1
2781
- })
2782
- ]),
2783
- _: 1
2784
- })
2785
- ]),
2786
- _: 1
2787
- })
2788
- ]),
2789
- _: 1
2790
- }, 16, ["modelValue", "attach"]);
2791
- };
2792
- }
2793
- });
2794
- function St(e) {
2795
- const t = e;
2796
- t.__i18n = t.__i18n || [], t.__i18n.push({
2797
- locale: "",
2798
- resource: {
2799
- "en-US": {
2800
- BFilterByReviewMenu: {
2801
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
2802
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
2803
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
2804
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Customer Review Score" } },
2805
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "No customer reviews filter active" }, { t: 2, i: [{ t: 3, v: "Customer reviews above " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Customer reviews above " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2806
- }
2807
- },
2808
- "fr-FR": {
2809
- BFilterByReviewMenu: {
2810
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
2811
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
2812
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
2813
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Note des clients" } },
2814
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Aucun filtre de notes des clients" }, { t: 2, i: [{ t: 3, v: "Note des clients au dessus de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Note des clients au dessus de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2815
- }
2816
- },
2817
- "de-DE": {
2818
- BFilterByReviewMenu: {
2819
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
2820
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
2821
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
2822
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kundenbewertung" } },
2823
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Keine Kundenbewertungen" }, { t: 2, i: [{ t: 3, v: "Kundenbewertungen über " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Kundenbewertungen über " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2824
- }
2825
- },
2826
- "es-ES": {
2827
- BFilterByReviewMenu: {
2828
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
2829
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
2830
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
2831
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reseña de clientes" } },
2832
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "No hay filtro de reseñas de clientes" }, { t: 2, i: [{ t: 3, v: "Reseñas de clientes por encima de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Reseñas de clientes por encima de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2833
- }
2834
- },
2835
- "it-IT": {
2836
- BFilterByReviewMenu: {
2837
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
2838
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
2839
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
2840
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Recensione dei clienti" } },
2841
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nessun filtro di recensioni dei clienti" }, { t: 2, i: [{ t: 3, v: "Recensioni dei clienti sopra " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Recensioni dei clienti sopra " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2842
- }
2843
- },
2844
- "nl-NL": {
2845
- BFilterByReviewMenu: {
2846
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
2847
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
2848
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
2849
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Klantbeoordeling" } },
2850
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Geen klantbeoordelingen" }, { t: 2, i: [{ t: 3, v: "Klantbeoordelingen boven " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Klantbeoordelingen boven " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2851
- }
2852
- },
2853
- "pt-PT": {
2854
- BFilterByReviewMenu: {
2855
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
2856
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
2857
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
2858
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Avaliação de clientes" } },
2859
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nenhuma avaliação de clientes" }, { t: 2, i: [{ t: 3, v: "Avaliações de clientes acima de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Avaliações de clientes acima de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2860
- }
2861
- }
2862
- }
2863
- });
2864
- }
2865
- typeof St == "function" && St(Qt);
2866
- const Il = /* @__PURE__ */ oe(Qt, [["__scopeId", "data-v-50071678"]]), Ol = Me({
2867
- name: String,
2868
- itemAriaLabel: {
2869
- type: String,
2870
- default: "$vuetify.rating.ariaLabel.item"
2871
- },
2872
- activeColor: String,
2873
- color: String,
2874
- clearable: Boolean,
2875
- disabled: Boolean,
2876
- emptyIcon: {
2877
- type: ut,
2878
- default: "$ratingEmpty"
2879
- },
2880
- fullIcon: {
2881
- type: ut,
2882
- default: "$ratingFull"
2883
- },
2884
- halfIncrements: Boolean,
2885
- hover: Boolean,
2886
- length: {
2887
- type: [Number, String],
2888
- default: 5
2889
- },
2890
- readonly: Boolean,
2891
- modelValue: {
2892
- type: [Number, String],
2893
- default: 0
2894
- },
2895
- itemLabels: Array,
2896
- itemLabelPosition: {
2897
- type: String,
2898
- default: "top",
2899
- validator: (e) => ["top", "bottom"].includes(e)
2900
- },
2901
- ripple: Boolean,
2902
- ...Ue(),
2903
- ...Bi(),
2904
- ...li(),
2905
- ...Nt(),
2906
- ...Dt()
2907
- }, "VRating"), xl = Oe()({
2908
- name: "VRating",
2909
- props: Ol(),
2910
- emits: {
2911
- "update:modelValue": (e) => !0
2912
- },
2913
- setup(e, t) {
2914
- let {
2915
- slots: l
2916
- } = t;
2917
- const {
2918
- t: i
2919
- } = Oa(), {
2920
- themeClasses: a
2921
- } = $t(e), o = et(e, "modelValue"), c = h(() => Je(parseFloat(o.value), 0, Number(e.length))), p = h(() => Lt(Number(e.length), 1)), m = h(() => p.value.flatMap((g) => e.halfIncrements ? [g - 0.5, g] : [g])), v = de(-1), f = h(() => m.value.map((g) => {
2922
- const _ = e.hover && v.value > -1, k = c.value >= g, F = v.value >= g, D = (_ ? F : k) ? e.fullIcon : e.emptyIcon, H = e.activeColor ?? e.color, B = k || F ? H : e.color;
2923
- return {
2924
- isFilled: k,
2925
- isHovered: F,
2926
- icon: D,
2927
- color: B
2928
- };
2929
- })), b = h(() => [0, ...m.value].map((g) => {
2930
- function _() {
2931
- v.value = g;
2932
- }
2933
- function k() {
2934
- v.value = -1;
2935
- }
2936
- function F() {
2937
- e.disabled || e.readonly || (o.value = c.value === g && e.clearable ? 0 : g);
2938
- }
2939
- return {
2940
- onMouseenter: e.hover ? _ : void 0,
2941
- onMouseleave: e.hover ? k : void 0,
2942
- onClick: F
2943
- };
2944
- })), u = h(() => e.name ?? `v-rating-${xa()}`);
2945
- function s(g) {
2946
- var x, V;
2947
- let {
2948
- value: _,
2949
- index: k,
2950
- showStar: F = !0
2951
- } = g;
2952
- const {
2953
- onMouseenter: A,
2954
- onMouseleave: D,
2955
- onClick: H
2956
- } = b.value[k + 1], B = `${u.value}-${String(_).replace(".", "-")}`, I = {
2957
- color: (x = f.value[k]) == null ? void 0 : x.color,
2958
- density: e.density,
2959
- disabled: e.disabled,
2960
- icon: (V = f.value[k]) == null ? void 0 : V.icon,
2961
- ripple: e.ripple,
2962
- size: e.size,
2963
- variant: "plain"
2964
- };
2965
- return r(se, null, [r("label", {
2966
- for: B,
2967
- class: {
2968
- "v-rating__item--half": e.halfIncrements && _ % 1 > 0,
2969
- "v-rating__item--full": e.halfIncrements && _ % 1 === 0
2970
- },
2971
- onMouseenter: A,
2972
- onMouseleave: D,
2973
- onClick: H
2974
- }, [r("span", {
2975
- class: "v-rating__hidden"
2976
- }, [i(e.itemAriaLabel, _, e.length)]), F ? l.item ? l.item({
2977
- ...f.value[k],
2978
- props: I,
2979
- value: _,
2980
- index: k,
2981
- rating: c.value
2982
- }) : r(K, ee({
2983
- "aria-label": i(e.itemAriaLabel, _, e.length)
2984
- }, I), null) : void 0]), r("input", {
2985
- class: "v-rating__hidden",
2986
- name: u.value,
2987
- id: B,
2988
- type: "radio",
2989
- value: _,
2990
- checked: c.value === _,
2991
- tabindex: -1,
2992
- readonly: e.readonly,
2993
- disabled: e.disabled
2994
- }, null)]);
2995
- }
2996
- function d(g) {
2997
- return l["item-label"] ? l["item-label"](g) : g.label ? r("span", null, [g.label]) : r("span", null, [$(" ")]);
2998
- }
2999
- return xe(() => {
3000
- var _;
3001
- const g = !!((_ = e.itemLabels) != null && _.length) || l["item-label"];
3002
- return r(e.tag, {
3003
- class: ["v-rating", {
3004
- "v-rating--hover": e.hover,
3005
- "v-rating--readonly": e.readonly
3006
- }, a.value, e.class],
3007
- style: e.style
3008
- }, {
3009
- default: () => [r(s, {
3010
- value: 0,
3011
- index: -1,
3012
- showStar: !1
3013
- }, null), p.value.map((k, F) => {
3014
- var A, D;
3015
- return r("div", {
3016
- class: "v-rating__wrapper"
3017
- }, [g && e.itemLabelPosition === "top" ? d({
3018
- value: k,
3019
- index: F,
3020
- label: (A = e.itemLabels) == null ? void 0 : A[F]
3021
- }) : void 0, r("div", {
3022
- class: "v-rating__item"
3023
- }, [e.halfIncrements ? r(se, null, [r(s, {
3024
- value: k - 0.5,
3025
- index: F * 2
3026
- }, null), r(s, {
3027
- value: k,
3028
- index: F * 2 + 1
3029
- }, null)]) : r(s, {
3030
- value: k,
3031
- index: F
3032
- }, null)]), g && e.itemLabelPosition === "bottom" ? d({
3033
- value: k,
3034
- index: F,
3035
- label: (D = e.itemLabels) == null ? void 0 : D[F]
3036
- }) : void 0]);
3037
- })]
3038
- });
3039
- }), {};
3040
- }
3041
- }), Jt = /* @__PURE__ */ te({
3042
- __name: "BFilterByStar",
3043
- props: /* @__PURE__ */ Be({
3044
- disabled: { type: Boolean }
3045
- }, {
3046
- modelValue: {},
3047
- modelModifiers: {}
3048
- }),
3049
- emits: ["update:modelValue"],
3050
- setup(e) {
3051
- var o;
3052
- const t = e, l = ve(e, "modelValue"), i = U(Number((o = l.value) == null ? void 0 : o.split(",")[0])), a = h(() => t.disabled ? "grey lighten-1" : "orange");
3053
- return Z(i, (c) => {
3054
- l.value = oi(c, 6).join(",");
3055
- }), Z(l, (c) => {
3056
- i.value = Number(c == null ? void 0 : c.split(",")[0]);
3057
- }), (c, p) => (P(), j(xl, {
3058
- modelValue: i.value,
3059
- "onUpdate:modelValue": p[0] || (p[0] = (m) => i.value = m),
3060
- color: a.value,
3061
- class: ge(c.disabled && "cursor-not-allowed"),
3062
- "active-color": a.value,
3063
- density: "compact",
3064
- disabled: c.disabled,
3065
- "empty-icon": "$ratingEmpty",
3066
- hover: "",
3067
- readonly: c.disabled,
3068
- size: "24"
3069
- }, null, 8, ["modelValue", "color", "class", "active-color", "disabled", "readonly"]));
3070
- }
3071
- }), Tl = { class: "text-center px-10 pt-4" }, El = { class: "font-weight-bold pb-4" }, ea = /* @__PURE__ */ te({
3072
- __name: "BFilterByStarMenu",
3073
- props: {
3074
- modelValue: { required: !0 },
3075
- modelModifiers: {}
3076
- },
3077
- emits: ["update:modelValue"],
3078
- setup(e) {
3079
- const { t } = ne(), l = U(!1), i = ve(e, "modelValue"), a = U(""), o = () => {
3080
- a.value = i.value, l.value = !1;
3081
- }, c = () => {
3082
- i.value = "", l.value = !1;
3083
- }, p = () => {
3084
- i.value = a.value, l.value = !1;
3085
- };
3086
- return Z(
3087
- i,
3088
- (m) => {
3089
- a.value = m;
3090
- },
3091
- {
3092
- immediate: !0
3093
- }
3094
- ), Z(l, () => {
3095
- a.value = i.value;
3096
- }), (m, v) => {
3097
- var f;
3098
- return P(), j(je, {
3099
- modelValue: l.value,
3100
- "onUpdate:modelValue": v[1] || (v[1] = (b) => l.value = b),
3101
- attach: (f = m.$parent) == null ? void 0 : f.$el,
3102
- "close-on-content-click": !1,
3103
- "content-class": "pa-0",
3104
- location: "bottom",
3105
- "open-on-click": ""
3106
- }, {
3107
- activator: n(({ props: b }) => [
3108
- r(Ke, {
3109
- color: "grey",
3110
- icon: "fas fa-times",
3111
- style: { cursor: "pointer" },
3112
- "model-value": !!i.value && i.value !== w(Ta),
3113
- onClick: c
3114
- }, {
3115
- default: n(() => {
3116
- var u;
3117
- return [
3118
- r(qe, {
3119
- attach: (u = m.$el) == null ? void 0 : u.parent,
3120
- color: "grey-darken-3",
3121
- location: "bottom"
3122
- }, {
3123
- activator: n(({ props: s }) => [
3124
- r(K, ee({
3125
- ...b,
3126
- ...s
3127
- }, {
3128
- color: "grey",
3129
- elevation: 0,
3130
- variant: "tonal",
3131
- size: "small"
3132
- }), {
3133
- default: n(() => [
3134
- q("span", null, [
3135
- q("span", null, O(i.value.split(",")[0]), 1),
3136
- r(fe, { id: "star-icon" }, {
3137
- default: n(() => v[2] || (v[2] = [
3138
- $(" fas fa-solid fa-star ")
3139
- ])),
3140
- _: 1,
3141
- __: [2]
3142
- })
3143
- ])
3144
- ]),
3145
- _: 2
3146
- }, 1040)
3147
- ]),
3148
- default: n(() => [
3149
- $(" " + O(w(t)(
3150
- "BFilterByStarMenu.tooltip",
3151
- i.value.split(",")[0] && Number(i.value.split(",")[0]) || 0,
3152
- {
3153
- named: {
3154
- rating: i.value.split(",")[0]
3155
- }
3156
- }
3157
- )), 1)
3158
- ]),
3159
- _: 2
3160
- }, 1032, ["attach"])
3161
- ];
3162
- }),
3163
- _: 2
3164
- }, 1032, ["model-value"])
3165
- ]),
3166
- default: n(() => [
3167
- r(Te, { elevation: "1" }, {
3168
- default: n(() => [
3169
- q("div", Tl, [
3170
- q("p", El, O(w(t)("BFilterByStarMenu.title")), 1),
3171
- r(Jt, {
3172
- modelValue: a.value,
3173
- "onUpdate:modelValue": v[0] || (v[0] = (b) => a.value = b)
3174
- }, null, 8, ["modelValue"])
3175
- ]),
3176
- r(at, { class: "justify-end" }, {
3177
- default: n(() => [
3178
- r(K, {
3179
- class: "text-right",
3180
- color: "grey",
3181
- elevation: "0",
3182
- size: "small",
3183
- variant: "text",
3184
- onClick: o
3185
- }, {
3186
- default: n(() => [
3187
- $(O(w(t)("BFilterByStarMenu.cancel")), 1)
3188
- ]),
3189
- _: 1
3190
- }),
3191
- r(K, {
3192
- class: "text-right",
3193
- color: "error",
3194
- size: "small",
3195
- variant: "text",
3196
- onClick: c
3197
- }, {
3198
- default: n(() => [
3199
- $(O(w(t)("BFilterByStarMenu.reset")), 1)
3200
- ]),
3201
- _: 1
3202
- }),
3203
- r(K, {
3204
- class: "text-right",
3205
- color: "success",
3206
- size: "small",
3207
- variant: "flat",
3208
- onClick: p
3209
- }, {
3210
- default: n(() => [
3211
- $(O(w(t)("BFilterByStarMenu.apply")), 1)
3212
- ]),
3213
- _: 1
3214
- })
3215
- ]),
3216
- _: 1
3217
- })
3218
- ]),
3219
- _: 1
3220
- })
3221
- ]),
3222
- _: 1
3223
- }, 8, ["modelValue", "attach"]);
3224
- };
3225
- }
3226
- });
3227
- function Rt(e) {
3228
- const t = e;
3229
- t.__i18n = t.__i18n || [], t.__i18n.push({
3230
- locale: "",
3231
- resource: {
3232
- "en-US": {
3233
- BFilterByStarMenu: {
3234
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
3235
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
3236
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
3237
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Star Rating" } },
3238
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "No star rating filter active" }, { t: 2, i: [{ t: 3, v: "From " }, { t: 4, k: "rating" }, { t: 3, v: " stars" }] }, { t: 2, i: [{ t: 3, v: "From " }, { t: 4, k: "rating" }, { t: 3, v: " stars" }] }] } }
3239
- }
3240
- },
3241
- "fr-FR": {
3242
- BFilterByStarMenu: {
3243
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
3244
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
3245
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
3246
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Étoiles" } },
3247
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Aucun filtre d'étoiles" }, { t: 2, i: [{ t: 3, v: "À partir de " }, { t: 4, k: "rating" }, { t: 3, v: " étoiles" }] }, { t: 2, i: [{ t: 3, v: "À partir de " }, { t: 4, k: "rating" }, { t: 3, v: " étoiles" }] }] } }
3248
- }
3249
- },
3250
- "de-DE": {
3251
- BFilterByStarMenu: {
3252
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
3253
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
3254
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
3255
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sternebewertung" } },
3256
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Keine Sternebewertung" }, { t: 2, i: [{ t: 3, v: "Von " }, { t: 4, k: "rating" }, { t: 3, v: " Sternen" }] }, { t: 2, i: [{ t: 3, v: "Von " }, { t: 4, k: "rating" }, { t: 3, v: " Sternen" }] }] } }
3257
- }
3258
- },
3259
- "es-ES": {
3260
- BFilterByStarMenu: {
3261
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
3262
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
3263
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
3264
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Puntuación de estrellas" } },
3265
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "No hay filtro de estrellas" }, { t: 2, i: [{ t: 3, v: "De " }, { t: 4, k: "rating" }, { t: 3, v: " estrellas" }] }, { t: 2, i: [{ t: 3, v: "De " }, { t: 4, k: "rating" }, { t: 3, v: " estrellas" }] }] } }
3266
- }
3267
- },
3268
- "it-IT": {
3269
- BFilterByStarMenu: {
3270
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
3271
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
3272
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
3273
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valutazione stelle" } },
3274
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nessun filtro di stelle" }, { t: 2, i: [{ t: 3, v: "Da " }, { t: 4, k: "rating" }, { t: 3, v: " stelle" }] }, { t: 2, i: [{ t: 3, v: "Da " }, { t: 4, k: "rating" }, { t: 3, v: " stelle" }] }] } }
3275
- }
3276
- },
3277
- "nl-NL": {
3278
- BFilterByStarMenu: {
3279
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
3280
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
3281
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Resetten" } },
3282
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterrenbeoordeling" } },
3283
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Geen sterrenbeoordeling" }, { t: 2, i: [{ t: 3, v: "Van " }, { t: 4, k: "rating" }, { t: 3, v: " sterren" }] }, { t: 2, i: [{ t: 3, v: "Van " }, { t: 4, k: "rating" }, { t: 3, v: " sterren" }] }] } }
3284
- }
3285
- },
3286
- "pt-PT": {
3287
- BFilterByStarMenu: {
3288
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
3289
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
3290
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
3291
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificação por estrelas" } },
3292
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nenhuma classificação de estrelas" }, { t: 2, i: [{ t: 3, v: "De " }, { t: 4, k: "rating" }, { t: 3, v: " estrelas" }] }, { t: 2, i: [{ t: 3, v: "De " }, { t: 4, k: "rating" }, { t: 3, v: " estrelas" }] }] } }
3293
- }
3294
- }
3295
- }
3296
- });
3297
- }
3298
- typeof Rt == "function" && Rt(ea);
3299
- const Ll = /* @__PURE__ */ oe(ea, [["__scopeId", "data-v-6a3f5ba0"]]), Al = { class: "px-4 font-weight-bold" }, $l = { class: "text-grey-darken-3" }, ta = /* @__PURE__ */ te({
3300
- __name: "BSortByMenu",
3301
- props: /* @__PURE__ */ Be({
3302
- attach: { type: Boolean }
3303
- }, {
3304
- modelValue: {
3305
- default: {
3306
- direction: La,
3307
- value: Ea
3308
- }
3309
- },
3310
- modelModifiers: {}
3311
- }),
3312
- emits: ["update:modelValue"],
3313
- setup(e) {
3314
- const { t } = ne(), l = U(!1), i = [
3315
- {
3316
- direction: we.Asc,
3317
- value: pe.TopPicks
3318
- },
3319
- {
3320
- direction: we.Asc,
3321
- value: pe.Distance
3322
- },
3323
- {
3324
- direction: we.Asc,
3325
- value: pe.Price
3326
- },
3327
- {
3328
- direction: we.Desc,
3329
- value: pe.Price
3330
- },
3331
- {
3332
- direction: we.Asc,
3333
- value: pe.Rating
3334
- },
3335
- {
3336
- direction: we.Desc,
3337
- value: pe.Rating
3338
- },
3339
- {
3340
- direction: we.Desc,
3341
- value: pe.ReviewRating
3342
- }
3343
- ], a = ve(e, "modelValue"), o = h({
3344
- get() {
3345
- const p = i.findIndex(
3346
- (m) => m.value === a.value.value && m.direction === a.value.direction
3347
- );
3348
- return p === -1 ? 0 : p;
3349
- },
3350
- set(p) {
3351
- a.value = i[p];
3352
- }
3353
- }), c = (p) => {
3354
- a.value = p;
3355
- };
3356
- return (p, m) => (P(), j(je, {
3357
- modelValue: l.value,
3358
- "onUpdate:modelValue": m[1] || (m[1] = (v) => l.value = v),
3359
- attach: p.attach,
3360
- eager: "",
3361
- location: "bottom",
3362
- width: 260,
3363
- transition: "scroll-y-transition"
3364
- }, {
3365
- activator: n(({ props: v }) => [
3366
- r(K, ee(v, {
3367
- color: "secondary",
3368
- elevation: 0,
3369
- size: "small"
3370
- }), {
3371
- default: n(() => [
3372
- q("span", null, [
3373
- w(t)(`BSortByMenu.options.${a.value.value}.${a.value.direction}.icon`).length ? (P(), j(fe, {
3374
- key: 0,
3375
- class: ge([
3376
- "mr-1",
3377
- w(t)(`BSortByMenu.options.${a.value.value}.${a.value.direction}.style`)
3378
- ]),
3379
- size: "12"
3380
- }, {
3381
- default: n(() => [
3382
- $(O(w(t)(`BSortByMenu.options.${a.value.value}.${a.value.direction}.icon`)), 1)
3383
- ]),
3384
- _: 1
3385
- }, 8, ["class"])) : J("", !0),
3386
- $(" " + O(w(t)(`BSortByMenu.options.${a.value.value}.name`)) + " ", 1),
3387
- r(fe, { size: "10" }, {
3388
- default: n(() => m[2] || (m[2] = [
3389
- $("fas fa-chevron-down")
3390
- ])),
3391
- _: 1,
3392
- __: [2]
3393
- })
3394
- ])
3395
- ]),
3396
- _: 2
3397
- }, 1040)
3398
- ]),
3399
- default: n(() => [
3400
- r(Ci, null, {
3401
- default: n(() => [
3402
- r(Ze, {
3403
- modelValue: o.value,
3404
- "onUpdate:modelValue": m[0] || (m[0] = (v) => o.value = v),
3405
- class: "bg-white pa-0",
3406
- mandatory: ""
3407
- }, {
3408
- default: n(() => [
3409
- r(dt, { class: "pt-2" }, {
3410
- default: n(() => [
3411
- q("small", Al, O(w(t)("BSortByMenu.prefix")), 1)
3412
- ]),
3413
- _: 1
3414
- }),
3415
- (P(), W(se, null, Re(i, (v, f) => r(Ze, {
3416
- key: f,
3417
- class: "px-3",
3418
- onClick: (b) => c(v)
3419
- }, {
3420
- default: n(() => [
3421
- r(dt, null, {
3422
- default: n(() => [
3423
- q("small", $l, [
3424
- w(t)(`BSortByMenu.options.${v.value}.${v.direction}.icon`).length ? (P(), j(fe, {
3425
- key: 0,
3426
- class: ge([
3427
- "text-grey-darken-3",
3428
- w(t)(`BSortByMenu.options.${v.value}.${v.direction}.style`)
3429
- ]),
3430
- size: "14",
3431
- style: { "min-width": "24px" }
3432
- }, {
3433
- default: n(() => [
3434
- $(O(w(t)(`BSortByMenu.options.${v.value}.${v.direction}.icon`)), 1)
3435
- ]),
3436
- _: 2
3437
- }, 1032, ["class"])) : J("", !0),
3438
- $(" " + O(w(t)(`BSortByMenu.options.${v.value}.name`)) + " " + O(w(t)(`BSortByMenu.options.${v.value}.${v.direction}.wording`)), 1)
3439
- ])
3440
- ]),
3441
- _: 2
3442
- }, 1024)
3443
- ]),
3444
- _: 2
3445
- }, 1032, ["onClick"])), 64))
3446
- ]),
3447
- _: 1
3448
- }, 8, ["modelValue"])
3449
- ]),
3450
- _: 1
3451
- })
3452
- ]),
3453
- _: 1
3454
- }, 8, ["modelValue", "attach"]));
3455
- }
3456
- });
3457
- function Mt(e) {
3458
- const t = e;
3459
- t.__i18n = t.__i18n || [], t.__i18n.push({
3460
- locale: "",
3461
- resource: {
3462
- "en-US": {
3463
- BSortByMenu: {
3464
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sort by : " } },
3465
- options: {
3466
- top_picks: {
3467
- asc: {
3468
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3469
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3470
- },
3471
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Our Top Picks" } }
3472
- },
3473
- price: {
3474
- asc: {
3475
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(lowest first)" } },
3476
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3477
- },
3478
- desc: {
3479
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(highest first)" } },
3480
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3481
- },
3482
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price" } }
3483
- },
3484
- distance: {
3485
- asc: {
3486
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3487
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3488
- },
3489
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Closest" } }
3490
- },
3491
- rating: {
3492
- asc: {
3493
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(low to high)" } },
3494
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3495
- },
3496
- desc: {
3497
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(high to low)" } },
3498
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3499
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3500
- },
3501
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Stars" } }
3502
- },
3503
- review_rating: {
3504
- desc: {
3505
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3506
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3507
- },
3508
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Best Reviewed" } }
3509
- }
3510
- }
3511
- }
3512
- },
3513
- "fr-FR": {
3514
- BSortByMenu: {
3515
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trié par : " } },
3516
- options: {
3517
- top_picks: {
3518
- asc: {
3519
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3520
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3521
- },
3522
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nos préférés" } }
3523
- },
3524
- price: {
3525
- asc: {
3526
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(du moins cher au plus cher)" } },
3527
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3528
- },
3529
- desc: {
3530
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(du plus cher au moins cher)" } },
3531
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3532
- },
3533
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Tarif" } }
3534
- },
3535
- distance: {
3536
- asc: {
3537
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3538
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3539
- },
3540
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Proche" } }
3541
- },
3542
- rating: {
3543
- asc: {
3544
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(croissant)" } },
3545
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3546
- },
3547
- desc: {
3548
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(décroissant)" } },
3549
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3550
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3551
- },
3552
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nombre d'étoiles" } }
3553
- },
3554
- review_rating: {
3555
- desc: {
3556
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3557
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3558
- },
3559
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Meilleure note" } }
3560
- }
3561
- }
3562
- }
3563
- },
3564
- "de-DE": {
3565
- BSortByMenu: {
3566
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sortieren nach: " } },
3567
- options: {
3568
- top_picks: {
3569
- asc: {
3570
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3571
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3572
- },
3573
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Unsere Top-Empfehlungen" } }
3574
- },
3575
- price: {
3576
- asc: {
3577
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(niedrigster zuerst)" } },
3578
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3579
- },
3580
- desc: {
3581
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(höchster zuerst)" } },
3582
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3583
- },
3584
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis" } }
3585
- },
3586
- distance: {
3587
- asc: {
3588
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3589
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3590
- },
3591
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Am nächsten" } }
3592
- },
3593
- rating: {
3594
- asc: {
3595
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(niedrig bis hoch)" } },
3596
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3597
- },
3598
- desc: {
3599
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(hoch bis niedrig)" } },
3600
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3601
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3602
- },
3603
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterne" } }
3604
- },
3605
- review_rating: {
3606
- desc: {
3607
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3608
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3609
- },
3610
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Am besten bewertet" } }
3611
- }
3612
- }
3613
- }
3614
- },
3615
- "es-ES": {
3616
- BSortByMenu: {
3617
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por: " } },
3618
- options: {
3619
- top_picks: {
3620
- asc: {
3621
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3622
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3623
- },
3624
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nuestras recomendaciones" } }
3625
- },
3626
- price: {
3627
- asc: {
3628
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(más bajo primero)" } },
3629
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3630
- },
3631
- desc: {
3632
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(más alto primero)" } },
3633
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3634
- },
3635
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio" } }
3636
- },
3637
- distance: {
3638
- asc: {
3639
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3640
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3641
- },
3642
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Más cercano" } }
3643
- },
3644
- rating: {
3645
- asc: {
3646
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(de menor a mayor)" } },
3647
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3648
- },
3649
- desc: {
3650
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(de mayor a menor)" } },
3651
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3652
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3653
- },
3654
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Estrellas" } }
3655
- },
3656
- review_rating: {
3657
- desc: {
3658
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3659
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3660
- },
3661
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mejor valorados" } }
3662
- }
3663
- }
3664
- }
3665
- },
3666
- "it-IT": {
3667
- BSortByMenu: {
3668
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordina per: " } },
3669
- options: {
3670
- top_picks: {
3671
- asc: {
3672
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3673
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3674
- },
3675
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "I nostri preferiti" } }
3676
- },
3677
- price: {
3678
- asc: {
3679
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(più basso)" } },
3680
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3681
- },
3682
- desc: {
3683
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(più alto)" } },
3684
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3685
- },
3686
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo" } }
3687
- },
3688
- distance: {
3689
- asc: {
3690
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3691
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3692
- },
3693
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Più vicino" } }
3694
- },
3695
- rating: {
3696
- asc: {
3697
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(dal più basso al più alto)" } },
3698
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3699
- },
3700
- desc: {
3701
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(dal più alto al più basso)" } },
3702
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3703
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3704
- },
3705
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Stelle" } }
3706
- },
3707
- review_rating: {
3708
- desc: {
3709
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3710
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3711
- },
3712
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Migliori recensioni" } }
3713
- }
3714
- }
3715
- }
3716
- },
3717
- "nl-NL": {
3718
- BSortByMenu: {
3719
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sorteren op: " } },
3720
- options: {
3721
- top_picks: {
3722
- asc: {
3723
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3724
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3725
- },
3726
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Onze favorieten" } }
3727
- },
3728
- price: {
3729
- asc: {
3730
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(laagste eerst)" } },
3731
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3732
- },
3733
- desc: {
3734
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(hoogste eerst)" } },
3735
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3736
- },
3737
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs" } }
3738
- },
3739
- distance: {
3740
- asc: {
3741
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3742
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3743
- },
3744
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dichtstbijzijnd" } }
3745
- },
3746
- rating: {
3747
- asc: {
3748
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(laag naar hoog)" } },
3749
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3750
- },
3751
- desc: {
3752
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(hoog naar laag)" } },
3753
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3754
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3755
- },
3756
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterren" } }
3757
- },
3758
- review_rating: {
3759
- desc: {
3760
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3761
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3762
- },
3763
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Best beoordeeld" } }
3764
- }
3765
- }
3766
- }
3767
- },
3768
- "pt-PT": {
3769
- BSortByMenu: {
3770
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por: " } },
3771
- options: {
3772
- top_picks: {
3773
- asc: {
3774
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3775
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3776
- },
3777
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "As nossas escolhas" } }
3778
- },
3779
- price: {
3780
- asc: {
3781
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(o mais baixo primeiro)" } },
3782
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3783
- },
3784
- desc: {
3785
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(o mais alto primeiro)" } },
3786
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3787
- },
3788
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço" } }
3789
- },
3790
- distance: {
3791
- asc: {
3792
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3793
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3794
- },
3795
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mais perto" } }
3796
- },
3797
- rating: {
3798
- asc: {
3799
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(baixo para alto)" } },
3800
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3801
- },
3802
- desc: {
3803
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(alto para baixo)" } },
3804
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3805
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3806
- },
3807
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Estrelas" } }
3808
- },
3809
- review_rating: {
3810
- desc: {
3811
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3812
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3813
- },
3814
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Melhor avaliado" } }
3815
- }
3816
- }
3817
- }
3818
- }
3819
- }
3820
- });
3821
- }
3822
- typeof Mt == "function" && Mt(ta);
3823
- const Dl = /* @__PURE__ */ oe(ta, [["__scopeId", "data-v-13d63649"]]);
3824
- function Hl(e) {
3825
- let {
3826
- rootEl: t,
3827
- isSticky: l,
3828
- layoutItemStyles: i
3829
- } = e;
3830
- const a = de(!1), o = de(0), c = h(() => {
3831
- const v = typeof a.value == "boolean" ? "top" : a.value;
3832
- return [l.value ? {
3833
- top: "auto",
3834
- bottom: "auto",
3835
- height: void 0
3836
- } : void 0, a.value ? {
3837
- [v]: he(o.value)
3838
- } : {
3839
- top: i.value.top
3840
- }];
3841
- });
3842
- Ne(() => {
3843
- Z(l, (v) => {
3844
- v ? window.addEventListener("scroll", m, {
3845
- passive: !0
3846
- }) : window.removeEventListener("scroll", m);
3847
- }, {
3848
- immediate: !0
3849
- });
3850
- }), Ht(() => {
3851
- window.removeEventListener("scroll", m);
3852
- });
3853
- let p = 0;
3854
- function m() {
3855
- const v = p > window.scrollY ? "up" : "down", f = t.value.getBoundingClientRect(), b = parseFloat(i.value.top ?? 0), u = window.scrollY - Math.max(0, o.value - b), s = f.height + Math.max(o.value, b) - window.scrollY - window.innerHeight, d = parseFloat(getComputedStyle(t.value).getPropertyValue("--v-body-scroll-y")) || 0;
3856
- f.height < window.innerHeight - b ? (a.value = "top", o.value = b) : v === "up" && a.value === "bottom" || v === "down" && a.value === "top" ? (o.value = window.scrollY + f.top - d, a.value = !0) : v === "down" && s <= 0 ? (o.value = 0, a.value = "bottom") : v === "up" && u <= 0 && (d ? a.value !== "top" && (o.value = -u + d + b, a.value = "top") : (o.value = f.top + u, a.value = "top")), p = window.scrollY;
3857
- }
3858
- return {
3859
- isStuck: a,
3860
- stickyStyles: c
3861
- };
3862
- }
3863
- const Nl = 100, zl = 20;
3864
- function Vt(e) {
3865
- return (e < 0 ? -1 : 1) * Math.sqrt(Math.abs(e)) * 1.41421356237;
3866
- }
3867
- function Ct(e) {
3868
- if (e.length < 2)
3869
- return 0;
3870
- if (e.length === 2)
3871
- return e[1].t === e[0].t ? 0 : (e[1].d - e[0].d) / (e[1].t - e[0].t);
3872
- let t = 0;
3873
- for (let l = e.length - 1; l > 0; l--) {
3874
- if (e[l].t === e[l - 1].t)
3875
- continue;
3876
- const i = Vt(t), a = (e[l].d - e[l - 1].d) / (e[l].t - e[l - 1].t);
3877
- t += (a - i) * Math.abs(a), l === e.length - 1 && (t *= 0.5);
3878
- }
3879
- return Vt(t) * 1e3;
3880
- }
3881
- function Ul() {
3882
- const e = {};
3883
- function t(a) {
3884
- Array.from(a.changedTouches).forEach((o) => {
3885
- (e[o.identifier] ?? (e[o.identifier] = new Aa(zl))).push([a.timeStamp, o]);
3886
- });
3887
- }
3888
- function l(a) {
3889
- Array.from(a.changedTouches).forEach((o) => {
3890
- delete e[o.identifier];
3891
- });
3892
- }
3893
- function i(a) {
3894
- var v;
3895
- const o = (v = e[a]) == null ? void 0 : v.values().reverse();
3896
- if (!o)
3897
- throw new Error(`No samples for touch id ${a}`);
3898
- const c = o[0], p = [], m = [];
3899
- for (const f of o) {
3900
- if (c[0] - f[0] > Nl) break;
3901
- p.push({
3902
- t: f[0],
3903
- d: f[1].clientX
3904
- }), m.push({
3905
- t: f[0],
3906
- d: f[1].clientY
3907
- });
3908
- }
3909
- return {
3910
- x: Ct(p),
3911
- y: Ct(m),
3912
- get direction() {
3913
- const {
3914
- x: f,
3915
- y: b
3916
- } = this, [u, s] = [Math.abs(f), Math.abs(b)];
3917
- return u > s && f >= 0 ? "right" : u > s && f <= 0 ? "left" : s > u && b >= 0 ? "down" : s > u && b <= 0 ? "up" : ql();
3918
- }
3919
- };
3920
- }
3921
- return {
3922
- addMovement: t,
3923
- endTouch: l,
3924
- getVelocity: i
3925
- };
3926
- }
3927
- function ql() {
3928
- throw new Error();
3929
- }
3930
- function jl(e) {
3931
- let {
3932
- el: t,
3933
- isActive: l,
3934
- isTemporary: i,
3935
- width: a,
3936
- touchless: o,
3937
- position: c
3938
- } = e;
3939
- Ne(() => {
3940
- window.addEventListener("touchstart", F, {
3941
- passive: !0
3942
- }), window.addEventListener("touchmove", A, {
3943
- passive: !1
3944
- }), window.addEventListener("touchend", D, {
3945
- passive: !0
3946
- });
3947
- }), Ht(() => {
3948
- window.removeEventListener("touchstart", F), window.removeEventListener("touchmove", A), window.removeEventListener("touchend", D);
3949
- });
3950
- const p = h(() => ["left", "right"].includes(c.value)), {
3951
- addMovement: m,
3952
- endTouch: v,
3953
- getVelocity: f
3954
- } = Ul();
3955
- let b = !1;
3956
- const u = de(!1), s = de(0), d = de(0);
3957
- let g;
3958
- function _(B, I) {
3959
- return (c.value === "left" ? B : c.value === "right" ? document.documentElement.clientWidth - B : c.value === "top" ? B : c.value === "bottom" ? document.documentElement.clientHeight - B : _e()) - (I ? a.value : 0);
3960
- }
3961
- function k(B) {
3962
- let I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
3963
- const x = c.value === "left" ? (B - d.value) / a.value : c.value === "right" ? (document.documentElement.clientWidth - B - d.value) / a.value : c.value === "top" ? (B - d.value) / a.value : c.value === "bottom" ? (document.documentElement.clientHeight - B - d.value) / a.value : _e();
3964
- return I ? Math.max(0, Math.min(1, x)) : x;
3965
- }
3966
- function F(B) {
3967
- if (o.value) return;
3968
- const I = B.changedTouches[0].clientX, x = B.changedTouches[0].clientY, V = 25, C = c.value === "left" ? I < V : c.value === "right" ? I > document.documentElement.clientWidth - V : c.value === "top" ? x < V : c.value === "bottom" ? x > document.documentElement.clientHeight - V : _e(), R = l.value && (c.value === "left" ? I < a.value : c.value === "right" ? I > document.documentElement.clientWidth - a.value : c.value === "top" ? x < a.value : c.value === "bottom" ? x > document.documentElement.clientHeight - a.value : _e());
3969
- (C || R || l.value && i.value) && (g = [I, x], d.value = _(p.value ? I : x, l.value), s.value = k(p.value ? I : x), b = d.value > -20 && d.value < 80, v(B), m(B));
3970
- }
3971
- function A(B) {
3972
- const I = B.changedTouches[0].clientX, x = B.changedTouches[0].clientY;
3973
- if (b) {
3974
- if (!B.cancelable) {
3975
- b = !1;
3976
- return;
3977
- }
3978
- const C = Math.abs(I - g[0]), R = Math.abs(x - g[1]);
3979
- (p.value ? C > R && C > 3 : R > C && R > 3) ? (u.value = !0, b = !1) : (p.value ? R : C) > 3 && (b = !1);
3980
- }
3981
- if (!u.value) return;
3982
- B.preventDefault(), m(B);
3983
- const V = k(p.value ? I : x, !1);
3984
- s.value = Math.max(0, Math.min(1, V)), V > 1 ? d.value = _(p.value ? I : x, !0) : V < 0 && (d.value = _(p.value ? I : x, !1));
3985
- }
3986
- function D(B) {
3987
- if (b = !1, !u.value) return;
3988
- m(B), u.value = !1;
3989
- const I = f(B.changedTouches[0].identifier), x = Math.abs(I.x), V = Math.abs(I.y);
3990
- (p.value ? x > V && x > 400 : V > x && V > 3) ? l.value = I.direction === ({
3991
- left: "right",
3992
- right: "left",
3993
- top: "down",
3994
- bottom: "up"
3995
- }[c.value] || _e()) : l.value = s.value > 0.5;
3996
- }
3997
- const H = h(() => u.value ? {
3998
- transform: c.value === "left" ? `translateX(calc(-100% + ${s.value * a.value}px))` : c.value === "right" ? `translateX(calc(100% - ${s.value * a.value}px))` : c.value === "top" ? `translateY(calc(-100% + ${s.value * a.value}px))` : c.value === "bottom" ? `translateY(calc(100% - ${s.value * a.value}px))` : _e(),
3999
- transition: "none"
4000
- } : void 0);
4001
- return Ae(u, () => {
4002
- var x, V;
4003
- const B = ((x = t.value) == null ? void 0 : x.style.transform) ?? null, I = ((V = t.value) == null ? void 0 : V.style.transition) ?? null;
4004
- $a(() => {
4005
- var C, R, S, y;
4006
- (R = t.value) == null || R.style.setProperty("transform", ((C = H.value) == null ? void 0 : C.transform) || "none"), (y = t.value) == null || y.style.setProperty("transition", ((S = H.value) == null ? void 0 : S.transition) || null);
4007
- }), Da(() => {
4008
- var C, R;
4009
- (C = t.value) == null || C.style.setProperty("transform", B), (R = t.value) == null || R.style.setProperty("transition", I);
4010
- });
4011
- }), {
4012
- isDragging: u,
4013
- dragProgress: s,
4014
- dragStyles: H
4015
- };
4016
- }
4017
- function _e() {
4018
- throw new Error();
4019
- }
4020
- const Kl = ["start", "end", "left", "right", "top", "bottom"], Gl = Me({
4021
- color: String,
4022
- disableResizeWatcher: Boolean,
4023
- disableRouteWatcher: Boolean,
4024
- expandOnHover: Boolean,
4025
- floating: Boolean,
4026
- modelValue: {
4027
- type: Boolean,
4028
- default: null
4029
- },
4030
- permanent: Boolean,
4031
- rail: {
4032
- type: Boolean,
4033
- default: null
4034
- },
4035
- railWidth: {
4036
- type: [Number, String],
4037
- default: 56
4038
- },
4039
- scrim: {
4040
- type: [Boolean, String],
4041
- default: !0
4042
- },
4043
- image: String,
4044
- temporary: Boolean,
4045
- persistent: Boolean,
4046
- touchless: Boolean,
4047
- width: {
4048
- type: [Number, String],
4049
- default: 256
4050
- },
4051
- location: {
4052
- type: String,
4053
- default: "start",
4054
- validator: (e) => Kl.includes(e)
4055
- },
4056
- sticky: Boolean,
4057
- ...Ei(),
4058
- ...Ue(),
4059
- ...ai(),
4060
- ...za({
4061
- mobile: null
4062
- }),
4063
- ...zt(),
4064
- ...ti(),
4065
- ...Ut(),
4066
- ...Nt({
4067
- tag: "nav"
4068
- }),
4069
- ...Dt()
4070
- }, "VNavigationDrawer"), Yl = Oe()({
4071
- name: "VNavigationDrawer",
4072
- props: Gl(),
4073
- emits: {
4074
- "update:modelValue": (e) => !0,
4075
- "update:rail": (e) => !0
4076
- },
4077
- setup(e, t) {
4078
- let {
4079
- attrs: l,
4080
- emit: i,
4081
- slots: a
4082
- } = t;
4083
- const {
4084
- isRtl: o
4085
- } = ze(), {
4086
- themeClasses: c
4087
- } = $t(e), {
4088
- borderClasses: p
4089
- } = Ti(e), {
4090
- backgroundColorClasses: m,
4091
- backgroundColorStyles: v
4092
- } = He(ie(e, "color")), {
4093
- elevationClasses: f
4094
- } = qt(e), {
4095
- displayClasses: b,
4096
- mobile: u
4097
- } = Ha(e), {
4098
- roundedClasses: s
4099
- } = jt(e), d = Xa(), g = et(e, "modelValue", null, (L) => !!L), {
4100
- ssrBootStyles: _
4101
- } = Ai(), {
4102
- scopeId: k
4103
- } = Qa(), F = U(), A = de(!1), {
4104
- runOpenDelay: D,
4105
- runCloseDelay: H
4106
- } = ii(e, (L) => {
4107
- A.value = L;
4108
- }), B = h(() => e.rail && e.expandOnHover && A.value ? Number(e.width) : Number(e.rail ? e.railWidth : e.width)), I = h(() => Ja(e.location, o.value)), x = h(() => e.persistent), V = h(() => !e.permanent && (u.value || e.temporary)), C = h(() => e.sticky && !V.value && I.value !== "bottom");
4109
- Ae(() => e.expandOnHover && e.rail != null, () => {
4110
- Z(A, (L) => i("update:rail", !L));
4111
- }), Ae(() => !e.disableResizeWatcher, () => {
4112
- Z(V, (L) => !e.permanent && Ie(() => g.value = !L));
4113
- }), Ae(() => !e.disableRouteWatcher && !!d, () => {
4114
- Z(d.currentRoute, () => V.value && (g.value = !1));
4115
- }), Z(() => e.permanent, (L) => {
4116
- L && (g.value = !0);
4117
- }), e.modelValue == null && !V.value && (g.value = e.permanent || !u.value);
4118
- const {
4119
- isDragging: R,
4120
- dragProgress: S
4121
- } = jl({
4122
- el: F,
4123
- isActive: g,
4124
- isTemporary: V,
4125
- width: B,
4126
- touchless: ie(e, "touchless"),
4127
- position: I
4128
- }), y = h(() => {
4129
- const L = V.value ? 0 : e.rail && e.expandOnHover ? Number(e.railWidth) : B.value;
4130
- return R.value ? L * S.value : L;
4131
- }), {
4132
- layoutItemStyles: E,
4133
- layoutItemScrimStyles: M
4134
- } = ei({
4135
- id: e.name,
4136
- order: h(() => parseInt(e.order, 10)),
4137
- position: I,
4138
- layoutSize: y,
4139
- elementSize: B,
4140
- active: h(() => g.value || R.value),
4141
- disableTransitions: h(() => R.value),
4142
- absolute: h(() => (
4143
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
4144
- e.absolute || C.value && typeof G.value != "string"
4145
- ))
4146
- }), {
4147
- isStuck: G,
4148
- stickyStyles: X
4149
- } = Hl({
4150
- rootEl: F,
4151
- isSticky: C,
4152
- layoutItemStyles: E
4153
- }), ae = He(h(() => typeof e.scrim == "string" ? e.scrim : null)), re = h(() => ({
4154
- ...R.value ? {
4155
- opacity: S.value * 0.2,
4156
- transition: "none"
4157
- } : void 0,
4158
- ...M.value
4159
- }));
4160
- return Na({
4161
- VList: {
4162
- bgColor: "transparent"
4163
- }
4164
- }), xe(() => {
4165
- const L = a.image || e.image;
4166
- return r(se, null, [r(e.tag, ee({
4167
- ref: F,
4168
- onMouseenter: D,
4169
- onMouseleave: H,
4170
- class: ["v-navigation-drawer", `v-navigation-drawer--${I.value}`, {
4171
- "v-navigation-drawer--expand-on-hover": e.expandOnHover,
4172
- "v-navigation-drawer--floating": e.floating,
4173
- "v-navigation-drawer--is-hovering": A.value,
4174
- "v-navigation-drawer--rail": e.rail,
4175
- "v-navigation-drawer--temporary": V.value,
4176
- "v-navigation-drawer--persistent": x.value,
4177
- "v-navigation-drawer--active": g.value,
4178
- "v-navigation-drawer--sticky": C.value
4179
- }, c.value, m.value, p.value, b.value, f.value, s.value, e.class],
4180
- style: [v.value, E.value, _.value, X.value, e.style]
4181
- }, k, l), {
4182
- default: () => {
4183
- var N, ue, me;
4184
- return [L && r("div", {
4185
- key: "image",
4186
- class: "v-navigation-drawer__img"
4187
- }, [a.image ? r(Si, {
4188
- key: "image-defaults",
4189
- disabled: !e.image,
4190
- defaults: {
4191
- VImg: {
4192
- alt: "",
4193
- cover: !0,
4194
- height: "inherit",
4195
- src: e.image
4196
- }
4197
- }
4198
- }, a.image) : r(_i, {
4199
- key: "image-img",
4200
- alt: "",
4201
- cover: !0,
4202
- height: "inherit",
4203
- src: e.image
4204
- }, null)]), a.prepend && r("div", {
4205
- class: "v-navigation-drawer__prepend"
4206
- }, [(N = a.prepend) == null ? void 0 : N.call(a)]), r("div", {
4207
- class: "v-navigation-drawer__content"
4208
- }, [(ue = a.default) == null ? void 0 : ue.call(a)]), a.append && r("div", {
4209
- class: "v-navigation-drawer__append"
4210
- }, [(me = a.append) == null ? void 0 : me.call(a)])];
4211
- }
4212
- }), r(Ua, {
4213
- name: "fade-transition"
4214
- }, {
4215
- default: () => [V.value && (R.value || g.value) && !!e.scrim && r("div", ee({
4216
- class: ["v-navigation-drawer__scrim", ae.backgroundColorClasses.value],
4217
- style: [re.value, ae.backgroundColorStyles.value],
4218
- onClick: () => {
4219
- x.value || (g.value = !1);
4220
- }
4221
- }, k), null)]
4222
- })]);
4223
- }), {
4224
- isStuck: G
4225
- };
4226
- }
4227
- }), Wl = { class: "" }, Zl = { class: "font-weight-bold" }, Xl = { class: "font-weight-bold" }, Ql = { class: "font-weight-bold" }, aa = /* @__PURE__ */ te({
4228
- __name: "HotelOffersFilterBarUI",
4229
- props: /* @__PURE__ */ Be({
4230
- currency: {},
4231
- disabled: { type: Boolean },
4232
- isLoading: { type: Boolean },
4233
- priceHistogram: {},
4234
- priceMax: {},
4235
- priceMin: {},
4236
- step: {}
4237
- }, {
4238
- modelValue: { required: !0 },
4239
- modelModifiers: {}
4240
- }),
4241
- emits: ["update:modelValue"],
4242
- setup(e) {
4243
- const { t } = ne(), l = U(!1), i = ve(e, "modelValue"), a = U({
4244
- ...i.value
4245
- }), o = () => {
4246
- i.value = { ...a.value }, l.value = !1;
4247
- }, c = h(
4248
- () => {
4249
- var u, s;
4250
- return ((u = i == null ? void 0 : i.value) == null ? void 0 : u.price[0]) !== 0 || ((s = i == null ? void 0 : i.value) == null ? void 0 : s.price[1]) !== 0;
4251
- }
4252
- ), p = h(
4253
- () => {
4254
- var u;
4255
- return ((u = i == null ? void 0 : i.value) == null ? void 0 : u[Y.ReviewRating]) !== xt;
4256
- }
4257
- ), m = h(
4258
- () => {
4259
- var u;
4260
- return ((u = i == null ? void 0 : i.value) == null ? void 0 : u[Y.Rating]) !== "";
4261
- }
4262
- ), v = h(
4263
- () => [
4264
- c.value,
4265
- m.value,
4266
- p.value
4267
- ].filter(Boolean).length
4268
- ), f = () => {
4269
- a.value = { ...i.value }, l.value = !1;
4270
- }, b = () => {
4271
- i.value = { ...De }, l.value = !1;
4272
- };
4273
- return Z(
4274
- i,
4275
- (u) => {
4276
- a.value = { ...u };
4277
- },
4278
- {
4279
- deep: !0,
4280
- immediate: !0
4281
- }
4282
- ), Z(
4283
- l,
4284
- () => {
4285
- a.value = { ...i.value };
4286
- },
4287
- {
4288
- deep: !0,
4289
- immediate: !0
4290
- }
4291
- ), (u, s) => (P(), W("div", null, [
4292
- r(Yl, {
4293
- modelValue: l.value,
4294
- "onUpdate:modelValue": s[3] || (s[3] = (d) => l.value = d),
4295
- temporary: "",
4296
- width: 450
4297
- }, {
4298
- default: n(() => [
4299
- r(Te, {
4300
- elevation: "0",
4301
- light: ""
4302
- }, {
4303
- default: n(() => [
4304
- r(Mi, {
4305
- class: "py-1",
4306
- style: { "background-color": "#fff", "z-index": "1", position: "fixed", top: "0", width: "100%" }
4307
- }, {
4308
- default: n(() => [
4309
- r(ce, { "no-gutters": "" }, {
4310
- default: n(() => [
4311
- r(Q, { cols: "auto" }, {
4312
- default: n(() => [
4313
- r(K, {
4314
- icon: "",
4315
- variant: "text",
4316
- onClick: f,
4317
- size: "small"
4318
- }, {
4319
- default: n(() => [
4320
- r(fe, null, {
4321
- default: n(() => s[9] || (s[9] = [
4322
- $(" fas fa-arrow-left ")
4323
- ])),
4324
- _: 1,
4325
- __: [9]
4326
- })
4327
- ]),
4328
- _: 1
4329
- }),
4330
- q("small", Wl, O(w(t)("BHotelFiltersMenu.filterBy")), 1)
4331
- ]),
4332
- _: 1
4333
- }),
4334
- r(Q, {
4335
- align: "end",
4336
- class: "flex align-center justify-end"
4337
- }, {
4338
- default: n(() => [
4339
- r(K, {
4340
- class: "mr-2",
4341
- color: "primary",
4342
- size: "small",
4343
- variant: "text",
4344
- onClick: f
4345
- }, {
4346
- default: n(() => [
4347
- $(O(w(t)("BHotelFiltersMenu.cancel")), 1)
4348
- ]),
4349
- _: 1
4350
- }),
4351
- r(K, {
4352
- class: "mr-2",
4353
- color: "error",
4354
- size: "small",
4355
- variant: "text",
4356
- onClick: b
4357
- }, {
4358
- default: n(() => [
4359
- $(O(w(t)("BHotelFiltersMenu.reset")), 1)
4360
- ]),
4361
- _: 1
4362
- }),
4363
- r(K, {
4364
- color: "success",
4365
- elevation: "0",
4366
- size: "small",
4367
- onClick: o
4368
- }, {
4369
- default: n(() => [
4370
- $(O(w(t)("BHotelFiltersMenu.apply")), 1)
4371
- ]),
4372
- _: 1
4373
- })
4374
- ]),
4375
- _: 1
4376
- })
4377
- ]),
4378
- _: 1
4379
- })
4380
- ]),
4381
- _: 1
4382
- }),
4383
- r($e, { class: "mt-12" }),
4384
- r(tt, null, {
4385
- default: n(() => [
4386
- r(ce, { class: "my-8" }, {
4387
- default: n(() => [
4388
- r(Q, {
4389
- align: "center",
4390
- class: "px-8",
4391
- cols: "12"
4392
- }, {
4393
- default: n(() => [
4394
- q("p", Zl, O(w(t)("BHotelFiltersMenu.price")), 1),
4395
- r(Wt, {
4396
- modelValue: a.value[w(Y).Price],
4397
- "onUpdate:modelValue": s[0] || (s[0] = (d) => a.value[w(Y).Price] = d),
4398
- currency: u.currency,
4399
- "is-loading": u.isLoading,
4400
- "price-histogram": u.priceHistogram,
4401
- "price-max": u.priceMax,
4402
- "price-min": u.priceMin
4403
- }, null, 8, ["modelValue", "currency", "is-loading", "price-histogram", "price-max", "price-min"])
4404
- ]),
4405
- _: 1
4406
- })
4407
- ]),
4408
- _: 1
4409
- }),
4410
- r($e, { class: "my-6 mx-12" }),
4411
- r(ce, { class: "my-8" }, {
4412
- default: n(() => [
4413
- r(Q, {
4414
- align: "center",
4415
- cols: "12"
4416
- }, {
4417
- default: n(() => [
4418
- q("p", Xl, O(w(t)("BHotelFiltersMenu.star")), 1),
4419
- r(Jt, {
4420
- modelValue: a.value[w(Y).Rating],
4421
- "onUpdate:modelValue": s[1] || (s[1] = (d) => a.value[w(Y).Rating] = d)
4422
- }, null, 8, ["modelValue"])
4423
- ]),
4424
- _: 1
4425
- })
4426
- ]),
4427
- _: 1
4428
- }),
4429
- r($e, { class: "my-6 mx-12" }),
4430
- r(ce, { class: "my-8" }, {
4431
- default: n(() => [
4432
- r(Q, {
4433
- align: "center",
4434
- class: "py-4",
4435
- cols: "12"
4436
- }, {
4437
- default: n(() => [
4438
- q("p", Ql, O(w(t)("BHotelFiltersMenu.review")), 1),
4439
- r(Xt, {
4440
- modelValue: a.value[w(Y).ReviewRating],
4441
- "onUpdate:modelValue": s[2] || (s[2] = (d) => a.value[w(Y).ReviewRating] = d)
4442
- }, null, 8, ["modelValue"])
4443
- ]),
4444
- _: 1
4445
- })
4446
- ]),
4447
- _: 1
4448
- })
4449
- ]),
4450
- _: 1
4451
- })
4452
- ]),
4453
- _: 1
4454
- })
4455
- ]),
4456
- _: 1
4457
- }, 8, ["modelValue"]),
4458
- r(ce, {
4459
- class: "pa-2",
4460
- justify: "space-between"
4461
- }, {
4462
- default: n(() => [
4463
- r(Q, { cols: "auto" }, {
4464
- default: n(() => [
4465
- r(ce, { dense: "" }, {
4466
- default: n(() => [
4467
- r(Q, null, {
4468
- default: n(() => [
4469
- r(Ke, {
4470
- bordered: "",
4471
- color: "secondary",
4472
- content: v.value > 0 ? v.value : void 0,
4473
- icon: v.value > 0 ? void 0 : "fas fa-x",
4474
- "model-value": v.value > 0,
4475
- style: { cursor: "pointer" }
4476
- }, {
4477
- default: n(() => [
4478
- r(K, {
4479
- "data-attr": "hotel-offers-filter-bar-filters",
4480
- color: "secondary",
4481
- elevation: 0,
4482
- size: "small",
4483
- onClick: s[4] || (s[4] = (d) => l.value = !0)
4484
- }, {
4485
- default: n(() => [
4486
- r(fe, {
4487
- class: "mr-1",
4488
- size: "14"
4489
- }, {
4490
- default: n(() => s[10] || (s[10] = [
4491
- $(" fas fa-sliders ")
4492
- ])),
4493
- _: 1,
4494
- __: [10]
4495
- }),
4496
- $(O(w(t)("BHotelFiltersMenu.filters")), 1)
4497
- ]),
4498
- _: 1
4499
- })
4500
- ]),
4501
- _: 1
4502
- }, 8, ["content", "icon", "model-value"])
4503
- ]),
4504
- _: 1
4505
- }),
4506
- c.value ? (P(), j(Q, {
4507
- key: 0,
4508
- class: "mx-1"
4509
- }, {
4510
- default: n(() => [
4511
- r(Cl, {
4512
- modelValue: i.value[w(Y).Price],
4513
- "onUpdate:modelValue": s[5] || (s[5] = (d) => i.value[w(Y).Price] = d),
4514
- currency: u.currency,
4515
- "is-loading": u.isLoading,
4516
- "price-histogram": u.priceHistogram,
4517
- "price-max": u.priceMax,
4518
- "price-min": u.priceMin
4519
- }, null, 8, ["modelValue", "currency", "is-loading", "price-histogram", "price-max", "price-min"])
4520
- ]),
4521
- _: 1
4522
- })) : J("", !0),
4523
- m.value ? (P(), j(Q, {
4524
- key: 1,
4525
- class: "mx-1"
4526
- }, {
4527
- default: n(() => [
4528
- r(Ll, {
4529
- modelValue: i.value[w(Y).Rating],
4530
- "onUpdate:modelValue": s[6] || (s[6] = (d) => i.value[w(Y).Rating] = d)
4531
- }, null, 8, ["modelValue"])
4532
- ]),
4533
- _: 1
4534
- })) : J("", !0),
4535
- p.value ? (P(), j(Q, {
4536
- key: 2,
4537
- class: "mx-1"
4538
- }, {
4539
- default: n(() => [
4540
- r(Il, {
4541
- modelValue: i.value[w(Y).ReviewRating],
4542
- "onUpdate:modelValue": s[7] || (s[7] = (d) => i.value[w(Y).ReviewRating] = d)
4543
- }, null, 8, ["modelValue"])
4544
- ]),
4545
- _: 1
4546
- })) : J("", !0),
4547
- v.value > 1 ? (P(), j(Q, {
4548
- key: 3,
4549
- class: "mx-1"
4550
- }, {
4551
- default: n(() => [
4552
- r(K, {
4553
- color: "grey",
4554
- size: "small",
4555
- variant: "text",
4556
- onClick: b
4557
- }, {
4558
- default: n(() => s[11] || (s[11] = [
4559
- $(" Reset ")
4560
- ])),
4561
- _: 1,
4562
- __: [11]
4563
- })
4564
- ]),
4565
- _: 1
4566
- })) : J("", !0)
4567
- ]),
4568
- _: 1
4569
- })
4570
- ]),
4571
- _: 1
4572
- }),
4573
- r(Q, { cols: "auto" }, {
4574
- default: n(() => [
4575
- r(Dl, {
4576
- modelValue: i.value[w(Y).SortBy],
4577
- "onUpdate:modelValue": s[8] || (s[8] = (d) => i.value[w(Y).SortBy] = d),
4578
- attach: u.$el
4579
- }, null, 8, ["modelValue", "attach"])
4580
- ]),
4581
- _: 1
4582
- })
4583
- ]),
4584
- _: 1
4585
- })
4586
- ]));
4587
- }
4588
- });
4589
- function Pt(e) {
4590
- const t = e;
4591
- t.__i18n = t.__i18n || [], t.__i18n.push({
4592
- locale: "",
4593
- resource: {
4594
- "en-US": {
4595
- BHotelFiltersMenu: {
4596
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
4597
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
4598
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filters" } },
4599
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filter by" } },
4600
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price per room per night" } },
4601
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
4602
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Guest Rating" } },
4603
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sort by" } },
4604
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Star Rating" } }
4605
- }
4606
- },
4607
- "fr-FR": {
4608
- BHotelFiltersMenu: {
4609
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
4610
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
4611
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtres" } },
4612
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrer par" } },
4613
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prix par chambre par nuit" } },
4614
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
4615
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Notes" } },
4616
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trier par" } },
4617
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Étoiles" } }
4618
- }
4619
- },
4620
- "de-DE": {
4621
- BHotelFiltersMenu: {
4622
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
4623
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
4624
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filter" } },
4625
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtern nach" } },
4626
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis pro Zimmer pro Nacht" } },
4627
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
4628
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Gästebewertung" } },
4629
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sortieren nach" } },
4630
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sternebewertung" } }
4631
- }
4632
- },
4633
- "es-ES": {
4634
- BHotelFiltersMenu: {
4635
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
4636
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
4637
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtros" } },
4638
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrar por" } },
4639
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio por habitación por noche" } },
4640
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
4641
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valoración de los huéspedes" } },
4642
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por" } },
4643
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Clasificación por estrellas" } }
4644
- }
4645
- },
4646
- "it-IT": {
4647
- BHotelFiltersMenu: {
4648
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
4649
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
4650
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtri" } },
4651
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtra per" } },
4652
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo per camera a notte" } },
4653
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
4654
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valutazione degli ospiti" } },
4655
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordina per" } },
4656
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificazione stelle" } }
4657
- }
4658
- },
4659
- "nl-NL": {
4660
- BHotelFiltersMenu: {
4661
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
4662
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
4663
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filters" } },
4664
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filteren op" } },
4665
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs per kamer per nacht" } },
4666
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
4667
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Beoordeling" } },
4668
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sorteren op" } },
4669
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterrenclassificatie" } }
4670
- }
4671
- },
4672
- "pt-PT": {
4673
- BHotelFiltersMenu: {
4674
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
4675
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
4676
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtros" } },
4677
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrar por" } },
4678
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço por quarto por noite" } },
4679
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
4680
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Avaliação dos hóspedes" } },
4681
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por" } },
4682
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificação de estrelas" } }
4683
- }
4684
- }
4685
- }
4686
- });
4687
- }
4688
- typeof Pt == "function" && Pt(aa);
4689
- const Jl = /* @__PURE__ */ oe(aa, [["__scopeId", "data-v-533cff01"]]), er = { ref: "root" }, ia = /* @__PURE__ */ te({
4690
- __name: "BHotelOffersFilterBar",
4691
- setup(e) {
4692
- const t = Ni(), l = U(De);
4693
- return Z(
4694
- l,
4695
- (i) => {
4696
- t.saveFilters(i);
4697
- },
4698
- {
4699
- deep: !0,
4700
- immediate: !0
4701
- }
4702
- ), (i, a) => (P(), W("div", er, [
4703
- r(Jl, {
4704
- modelValue: l.value,
4705
- "onUpdate:modelValue": a[0] || (a[0] = (o) => l.value = o),
4706
- currency: i.config.currency,
4707
- "is-loading": w(t).isPolling && !w(t).hotelOffers.length,
4708
- "price-max": w(t).getPriceMax,
4709
- "price-min": w(t).getPriceMin,
4710
- "price-histogram": w(t).priceHistogram
4711
- }, null, 8, ["modelValue", "currency", "is-loading", "price-max", "price-min", "price-histogram"])
4712
- ], 512));
4713
- }
4714
- });
4715
- function Ft(e) {
4716
- const t = e;
4717
- t.__i18n = t.__i18n || [], t.__i18n.push({
4718
- locale: "",
4719
- resource: {
4720
- "en-US": {
4721
- BHotelFiltersMenu: {
4722
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
4723
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
4724
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filters" } },
4725
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filter by" } },
4726
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price per room per night" } },
4727
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
4728
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Guest Rating" } },
4729
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sort by" } },
4730
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Star Rating" } }
4731
- }
4732
- },
4733
- "fr-FR": {
4734
- BHotelFiltersMenu: {
4735
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
4736
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
4737
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtres" } },
4738
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrer par" } },
4739
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prix par chambre par nuit" } },
4740
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
4741
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Notes" } },
4742
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trier par" } },
4743
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Étoiles" } }
4744
- }
4745
- },
4746
- "de-DE": {
4747
- BHotelFiltersMenu: {
4748
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
4749
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
4750
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filter" } },
4751
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtern nach" } },
4752
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis pro Zimmer pro Nacht" } },
4753
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
4754
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Gästebewertung" } },
4755
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sortieren nach" } },
4756
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sternebewertung" } }
4757
- }
4758
- },
4759
- "es-ES": {
4760
- BHotelFiltersMenu: {
4761
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
4762
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
4763
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtros" } },
4764
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrar por" } },
4765
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio por habitación por noche" } },
4766
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
4767
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valoración de los huéspedes" } },
4768
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por" } },
4769
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Clasificación por estrellas" } }
4770
- }
4771
- },
4772
- "it-IT": {
4773
- BHotelFiltersMenu: {
4774
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
4775
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
4776
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtri" } },
4777
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtra per" } },
4778
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo per camera a notte" } },
4779
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
4780
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valutazione degli ospiti" } },
4781
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordina per" } },
4782
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificazione stelle" } }
4783
- }
4784
- },
4785
- "nl-NL": {
4786
- BHotelFiltersMenu: {
4787
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
4788
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
4789
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filters" } },
4790
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filteren op" } },
4791
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs per kamer per nacht" } },
4792
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
4793
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Beoordeling" } },
4794
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sorteren op" } },
4795
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterrenclassificatie" } }
4796
- }
4797
- },
4798
- "pt-PT": {
4799
- BHotelFiltersMenu: {
4800
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
4801
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
4802
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtros" } },
4803
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrar por" } },
4804
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço por quarto por noite" } },
4805
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
4806
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Avaliação dos hóspedes" } },
4807
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por" } },
4808
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificação de estrelas" } }
4809
- }
4810
- }
4811
- }
4812
- });
4813
- }
4814
- typeof Ft == "function" && Ft(ia);
4815
- const $r = /* @__PURE__ */ oe(ia, [["__scopeId", "data-v-548e6303"]]);
4816
- ca("css/revolugo.bhoteloffersfilterbar.PIn4y3L4.css");
4817
- export {
4818
- Ar as B,
4819
- xr as D,
4820
- qi as H,
4821
- be as a,
4822
- Er as b,
4823
- Lr as c,
4824
- $r as d,
4825
- Tr as p,
4826
- Ni as u
4827
- };
4828
- //# sourceMappingURL=revolugo.bhoteloffersfilterbar.BicCxI8N.min.js.map