@bookolosystem/engine 4.4.3 → 4.4.5

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 (448) hide show
  1. package/assets/{37ae337/AsideFeatures.Bn6OX8X1.js → 8a7a0fd/AsideFeatures.9cRHrh-J.js} +1 -1
  2. package/assets/{f785e42/AsideOrderSummary.D8e93W2R.js → 8a7a0fd/AsideOrderSummary.B6kKVLCV.js} +1 -1
  3. package/assets/{f785e42/AsideSummary.BgeuEsGw.js → 8a7a0fd/AsideSummary.jYDUD8st.js} +1 -1
  4. package/assets/{c55b348/AuthInfo.DPnrKoxC.js → 8a7a0fd/AuthInfo.Cs9-sGOo.js} +1 -1
  5. package/assets/{37ae337/AuthRegistrationForm.CWzvAhJs.js → 8a7a0fd/AuthRegistrationForm.BRMzVBa2.js} +1 -1
  6. package/assets/{37ae337/Button.DjXcbhf2.js → 8a7a0fd/Button.CKXY2Ugp.js} +1 -1
  7. package/assets/8a7a0fd/ButtonBordered.GIHYvmKS.js +1 -0
  8. package/assets/8a7a0fd/ButtonBorderedThin.Euxu7q4G.js +1 -0
  9. package/assets/8a7a0fd/ButtonGhosted.Dpwt8cxY.js +1 -0
  10. package/assets/8a7a0fd/ButtonMuted.DIWenn9q.js +1 -0
  11. package/assets/{37ae337/CalendarFlexible.CCiOjyil.js → 8a7a0fd/CalendarFlexible.q_XFFSeS.js} +1 -1
  12. package/assets/{37ae337/Check.Cv3qyxMH.js → 8a7a0fd/Check.CFnaMvH_.js} +1 -1
  13. package/assets/{37ae337/CheckinApp.CVJRRwUU.js → 8a7a0fd/CheckinApp.DNlh6P9p.js} +1 -1
  14. package/assets/{37ae337/Circle.BtLb3JzE.js → 8a7a0fd/Circle.BnPhqLNb.js} +1 -1
  15. package/assets/{37ae337/Control.CZtZo0Py.js → 8a7a0fd/Control.De0vcBnx.js} +1 -1
  16. package/assets/{37ae337/ControlTelCountryCode.Czos6Mgw.js → 8a7a0fd/ControlTelCountryCode.Buiy19PV.js} +1 -1
  17. package/assets/{37ae337/DatePicker.CCz-aQ-y.js → 8a7a0fd/DatePicker.BFHppUUx.js} +1 -1
  18. package/assets/{37ae337/Details.CGdV4AhO.js → 8a7a0fd/Details.BH30MPjd.js} +1 -1
  19. package/assets/{37ae337/DialogContent.DuBbZWv4.js → 8a7a0fd/DialogContent.DL8B_3Qp.js} +1 -1
  20. package/assets/{37ae337/Drawer.DvUFlRWs.js → 8a7a0fd/Drawer.Cl2wZb5G.js} +1 -1
  21. package/assets/{37ae337/Field.CIDrEgMb.js → 8a7a0fd/Field.CMB5tkmi.js} +1 -1
  22. package/assets/{37ae337/Footer.CyquPHpx.js → 8a7a0fd/Footer.BBZEze1H.js} +1 -1
  23. package/assets/{37ae337/FooterLogo.B_rtNmap.js → 8a7a0fd/FooterLogo.CHWJ9i2-.js} +1 -1
  24. package/assets/8a7a0fd/Header.lzXDyULB.js +1 -0
  25. package/assets/{37ae337/HeaderLanguagePopover.CNiL1OQO.js → 8a7a0fd/HeaderLanguagePopover.BY532wko.js} +1 -1
  26. package/assets/{37ae337/Image.DiBWf8gB.js → 8a7a0fd/Image.B3eCZ2k2.js} +1 -1
  27. package/assets/{37ae337/InputMask.DHv3IpcY.js → 8a7a0fd/InputMask.DuD1_OSP.js} +1 -1
  28. package/assets/8a7a0fd/Main.Dl9IXehT.js +1 -0
  29. package/assets/{f785e42/OrderAccommodation.BUC3iHY0.js → 8a7a0fd/OrderAccommodation.CF430JXQ.js} +1 -1
  30. package/assets/{37ae337/OrderConfirmedStatus.Cg0rMibQ.js → 8a7a0fd/OrderConfirmedStatus.wX-A2uQZ.js} +1 -1
  31. package/assets/{37ae337/OrderHeader.ButiozkR.js → 8a7a0fd/OrderHeader.CTXkr8tP.js} +1 -1
  32. package/assets/{37ae337/PackageDetailDialogContent.DztdTGOx.js → 8a7a0fd/PackageDetailDialogContent.ESzjs3GI.js} +1 -1
  33. package/assets/{37ae337/Popover.CkuHkyXz.js → 8a7a0fd/Popover.Dk86yYtq.js} +1 -1
  34. package/assets/{f785e42/ReservationEditInfo.CIGUHBBu.js → 8a7a0fd/ReservationEditInfo.Dlbvcdfq.js} +1 -1
  35. package/assets/{f785e42/RoomDetailDialog.CwCxDUXv.js → 8a7a0fd/RoomDetailDialog.B455jFsn.js} +1 -1
  36. package/assets/{f785e42/RoomDetailDialogContent.Br2LC7Su.js → 8a7a0fd/RoomDetailDialogContent.quvpaAJa.js} +1 -1
  37. package/assets/{f785e42/RoomSelect.D3n_KWfl.js → 8a7a0fd/RoomSelect.gYMOa6ff.js} +1 -1
  38. package/assets/{37ae337/TextContent.B1_R7T_-.js → 8a7a0fd/TextContent.hl3Ok2v4.js} +1 -1
  39. package/assets/{f785e42/TooltipCursor.ifkFvkBI.js → 8a7a0fd/TooltipCursor.DgTstLTX.js} +1 -1
  40. package/assets/{f785e42/WellnessDetailDialog.sOgi7LNq.js → 8a7a0fd/WellnessDetailDialog.BMHH5PLR.js} +1 -1
  41. package/assets/{37ae337/_...path_.BF7_9hC1.js → 8a7a0fd/_...path_.M5OOhTlJ.js} +1 -1
  42. package/assets/{37ae337/_code_.d-qY5cf3.js → 8a7a0fd/_code_.CUHpviU0.js} +1 -1
  43. package/assets/{37ae337/_id_.BqE0XdkV.js → 8a7a0fd/_id_.D_9gHIOP.js} +1 -1
  44. package/assets/{f785e42/_id_.BTfZK9z2.js → 8a7a0fd/_id_.DgPIqJqk.js} +1 -1
  45. package/assets/{37ae337/_uuid_.CCbRLbE9.js → 8a7a0fd/_uuid_.B0eyffXc.js} +1 -1
  46. package/assets/{c55b348/_uuid_.MMEKFhbI.js → 8a7a0fd/_uuid_.CL8Vw4Q_.js} +1 -1
  47. package/assets/{f785e42/_uuid_.CJYs3QhI.js → 8a7a0fd/_uuid_.CcVOT4L2.js} +1 -1
  48. package/assets/{f785e42/_uuid_.C3heoeT9.js → 8a7a0fd/_uuid_.Cglisq2v.js} +1 -1
  49. package/assets/{f785e42/_uuid_.KBA_xyl7.js → 8a7a0fd/_uuid_.DOPfn1CW.js} +1 -1
  50. package/assets/{37ae337/_uuid_.BIgwUfT0.js → 8a7a0fd/_uuid_.OEABwTgV.js} +1 -1
  51. package/assets/{37ae337/_uuid_.avh6zqvJ.js → 8a7a0fd/_uuid_.OIGGbVQx.js} +1 -1
  52. package/assets/8a7a0fd/accommodation-terms.CVdofO44.js +1 -0
  53. package/assets/{37ae337/account.u7xsv1G4.js → 8a7a0fd/account.B0IHJFbn.js} +1 -1
  54. package/assets/{37ae337/account.Dd-61vSX.js → 8a7a0fd/account.pzvOuS1X.js} +1 -1
  55. package/assets/{f785e42/app.ce.COA0DnRK.js → 8a7a0fd/app.ce.0ZBOlMhv.js} +2 -2
  56. package/assets/{37ae337/calendar.5axckObs.js → 8a7a0fd/calendar.DM5cTRxY.js} +1 -1
  57. package/assets/{37ae337/calendar.CODO87Ih.js → 8a7a0fd/calendar.xG50PS_p.js} +1 -1
  58. package/assets/{f785e42/calendarFlexibleDialog.Lm32GQ8D.js → 8a7a0fd/calendarFlexibleDialog.cWc35lGC.js} +1 -1
  59. package/assets/{f785e42/chain.BeYCgXY7.js → 8a7a0fd/chain.B08iwkcX.js} +1 -1
  60. package/assets/8a7a0fd/client.Dd6D7_nR.js +1 -0
  61. package/assets/8a7a0fd/config.DFdAYjda.js +1 -0
  62. package/assets/8a7a0fd/countries.Dl9CHnv3.js +1 -0
  63. package/assets/{f785e42/dateFormatter.dDaZZox0.js → 8a7a0fd/dateFormatter.CcezmeSD.js} +1 -1
  64. package/assets/8a7a0fd/details.BS0cl-OK.js +1 -0
  65. package/assets/{f785e42/dist.DK8rat2p.js → 8a7a0fd/dist.Cn9zxikV.js} +1 -1
  66. package/assets/{f785e42/edit.CjQiqXKN.js → 8a7a0fd/edit.CVBtoj1P.js} +1 -1
  67. package/assets/{37ae337/fancybox.CjHAUL-W.js → 8a7a0fd/fancybox.XoCNdO2d.js} +1 -1
  68. package/assets/8a7a0fd/faq.DnS8R_Ev.js +1 -0
  69. package/assets/8a7a0fd/formatPrice.C0HwFs5b.js +1 -0
  70. package/assets/{37ae337/hotel.sfwaKnsb.js → 8a7a0fd/hotel.CxDPnlTY.js} +1 -1
  71. package/assets/{c55b348/location.CbgTxSzw.js → 8a7a0fd/location.tb5NBGh3.js} +2 -2
  72. package/assets/{c55b348/login.CeeqfJoq.js → 8a7a0fd/login.2vIqwvsL.js} +1 -1
  73. package/assets/{37ae337/marketing-terms.BZD6FkTj.js → 8a7a0fd/marketing-terms.BEr9eoDA.js} +1 -1
  74. package/assets/{37ae337/nav.TbdzdWfT.js → 8a7a0fd/nav.C_6Mjn3F.js} +1 -1
  75. package/assets/{37ae337/order.DdUl5Ymh.js → 8a7a0fd/order.Dw_0KguY.js} +1 -1
  76. package/assets/{f785e42/orders.CNYo8UXg.js → 8a7a0fd/orders.D5OpTxH-.js} +1 -1
  77. package/assets/{c55b348/packages.k8m_QyJq.js → 8a7a0fd/packages.BPKKrE9I.js} +1 -1
  78. package/assets/{37ae337/packages.BrLOZSyA.js → 8a7a0fd/packages.YRDruxsv.js} +1 -1
  79. package/assets/8a7a0fd/pages.BhkkOlnJ.js +1 -0
  80. package/assets/{37ae337/pages.BgqWbfTj.js → 8a7a0fd/pages.CbFfN-ku.js} +1 -1
  81. package/assets/{f785e42/params.DR2mabOE.js → 8a7a0fd/params.B5U1fWY_.js} +1 -1
  82. package/assets/{37ae337/playground.mCw3TwZS.js → 8a7a0fd/playground.DuufiPNU.js} +1 -1
  83. package/assets/{37ae337/points.BUs1szRu.js → 8a7a0fd/points.LFHc-sM8.js} +1 -1
  84. package/assets/8a7a0fd/privacy-policy.BSmc3ivn.js +1 -0
  85. package/assets/{37ae337/ratings.CyJJQOsV.js → 8a7a0fd/ratings.B6Q-KE01.js} +1 -1
  86. package/assets/{37ae337/register.IhTWCTFM.js → 8a7a0fd/register.DQR3G8xd.js} +1 -1
  87. package/assets/{f785e42/request.CQ1-ZILq.js → 8a7a0fd/request.C7iDva7W.js} +1 -1
  88. package/assets/{37ae337/reservation.BAokspVx.js → 8a7a0fd/reservation.B3j3ug4h.js} +1 -1
  89. package/assets/{37ae337/reservation.LErn_217.js → 8a7a0fd/reservation.BFTvl-za.js} +1 -1
  90. package/assets/{c55b348/rewards.BXFIuU_m.js → 8a7a0fd/rewards.C-fDoP2-.js} +1 -1
  91. package/assets/{37ae337/rooms.C7k0KENY.js → 8a7a0fd/rooms.C-kk8WUq.js} +1 -1
  92. package/assets/{c55b348/rooms.DSSlAdwN.js → 8a7a0fd/rooms.D1XKrP_H.js} +1 -1
  93. package/assets/8a7a0fd/routeParams.DdhKhtHk.js +1 -0
  94. package/assets/{f785e42/sentry.DCbmNEQc.js → 8a7a0fd/sentry.DDshANkS.js} +1 -1
  95. package/assets/{37ae337/statusDialog.BMFZb8uS.js → 8a7a0fd/statusDialog.BJbIyGW_.js} +1 -1
  96. package/assets/{37ae337/summary.DjOdnvL2.js → 8a7a0fd/summary.CXTIziXn.js} +1 -1
  97. package/assets/8a7a0fd/terms._bj9RHb7.js +1 -0
  98. package/assets/{37ae337/toaster.9OCxubzF.js → 8a7a0fd/toaster.y5BGn2KR.js} +1 -1
  99. package/assets/8a7a0fd/trade-terms.DxCrqgDL.js +1 -0
  100. package/assets/{37ae337/validateFields.D7LGamj-.js → 8a7a0fd/validateFields.BUL0VIdV.js} +1 -1
  101. package/assets/{37ae337/vendor.n_snLx4J.js → 8a7a0fd/vendor.C2hYIv8R.js} +4 -4
  102. package/assets/8a7a0fd/vouchers-terms.Bapv3lFR.js +1 -0
  103. package/assets/{f785e42/vouchers.1OVsKP0Z.js → 8a7a0fd/vouchers.BzWrUZIY.js} +1 -1
  104. package/assets/{f785e42/vue-router.Ba_I7p6z.js → 8a7a0fd/vue-router.bJUqbwkk.js} +1 -1
  105. package/assets/8a7a0fd/wellness-terms.VN1_6LOK.js +1 -0
  106. package/assets/{f785e42/wellness.Cl3cM2OC.js → 8a7a0fd/wellness.U6947Bes.js} +1 -1
  107. package/assets/{c55b348/AsideFeatures.CTG7wiM4.js → 9abc863/AsideFeatures.BQVvz4cG.js} +1 -1
  108. package/assets/{37ae337/AsideOrderSummary.lO1Yuedc.js → 9abc863/AsideOrderSummary.WKel7SKl.js} +1 -1
  109. package/assets/{c55b348/AsideSummary.DoC9fRzB.js → 9abc863/AsideSummary.BCq7srtx.js} +1 -1
  110. package/assets/{f785e42/AuthInfo.jJe7rHuW.js → 9abc863/AuthInfo.BpaWz9kZ.js} +1 -1
  111. package/assets/{f785e42/AuthRegistrationForm.D9yqI16w.js → 9abc863/AuthRegistrationForm.BQEOkh8P.js} +1 -1
  112. package/assets/{c55b348/Button.BrYX2zWI.js → 9abc863/Button.DENQlfoV.js} +1 -1
  113. package/assets/9abc863/ButtonBordered.Buog5XUd.js +1 -0
  114. package/assets/9abc863/ButtonBorderedThin.DQtk8ygl.js +1 -0
  115. package/assets/9abc863/ButtonGhosted.DtSQuUqd.js +1 -0
  116. package/assets/9abc863/ButtonMuted.ClTzhmGk.js +1 -0
  117. package/assets/{c55b348/CalendarFlexible.D7MYK613.js → 9abc863/CalendarFlexible.BFUsglcP.js} +1 -1
  118. package/assets/{c55b348/Check.DRKnQJnO.js → 9abc863/Check.CGkdXv8U.js} +1 -1
  119. package/assets/{c55b348/CheckinApp.D4tULy5B.js → 9abc863/CheckinApp.XKpaXHHH.js} +1 -1
  120. package/assets/{c55b348/Circle.Bk8K3Yyo.js → 9abc863/Circle.BqRlZ-Ni.js} +1 -1
  121. package/assets/{c55b348/Control.BJcNbGb_.js → 9abc863/Control.DQeuvn0T.js} +1 -1
  122. package/assets/{f785e42/ControlTelCountryCode.CcdH-ptn.js → 9abc863/ControlTelCountryCode.DCl_oZNm.js} +1 -1
  123. package/assets/{f785e42/DatePicker.Cc0EtZjK.js → 9abc863/DatePicker.CNLqAKwS.js} +1 -1
  124. package/assets/{c55b348/Details.SQ9MeAfP.js → 9abc863/Details.CB4_wNS3.js} +1 -1
  125. package/assets/{f785e42/DialogContent.tdqsNrXE.js → 9abc863/DialogContent.oj4AjH0A.js} +1 -1
  126. package/assets/{c55b348/Drawer.CVRpgR99.js → 9abc863/Drawer.DGoXFBU0.js} +1 -1
  127. package/assets/{c55b348/Field.BXufwr4B.js → 9abc863/Field.BhjqVj0S.js} +1 -1
  128. package/assets/{c55b348/Footer.CScgS1AB.js → 9abc863/Footer.C7h8sj-G.js} +1 -1
  129. package/assets/{f785e42/FooterLogo.CLtj0dj2.js → 9abc863/FooterLogo.DrkuhAUv.js} +1 -1
  130. package/assets/9abc863/Header.DEPnf9q8.js +1 -0
  131. package/assets/{c55b348/HeaderLanguagePopover.BxjweViF.js → 9abc863/HeaderLanguagePopover.DegpljKt.js} +1 -1
  132. package/assets/{c55b348/Image.Dr65HoJw.js → 9abc863/Image.3wpjIV-N.js} +1 -1
  133. package/assets/{c55b348/InputMask.DMCMETMS.js → 9abc863/InputMask.B7-_JM_a.js} +1 -1
  134. package/assets/9abc863/Main.CK41faK0.js +1 -0
  135. package/assets/{c55b348/OrderAccommodation.BqaLmTnB.js → 9abc863/OrderAccommodation.C9VudX_y.js} +1 -1
  136. package/assets/{c55b348/OrderConfirmedStatus.D4LJ-lli.js → 9abc863/OrderConfirmedStatus.DG6GhTD-.js} +1 -1
  137. package/assets/{c55b348/OrderHeader.nJOjNX8o.js → 9abc863/OrderHeader.DkonsBL9.js} +1 -1
  138. package/assets/{c55b348/PackageDetailDialogContent.BjZfE9KD.js → 9abc863/PackageDetailDialogContent.C7QuaUVb.js} +1 -1
  139. package/assets/{c55b348/Popover.L-SYUclw.js → 9abc863/Popover.-1SUGtsh.js} +1 -1
  140. package/assets/{37ae337/ReservationEditInfo.Di5z8rIY.js → 9abc863/ReservationEditInfo.CFwOVwT6.js} +1 -1
  141. package/assets/{37ae337/RoomDetailDialog.DpNeVkWA.js → 9abc863/RoomDetailDialog.kQfSl3kd.js} +1 -1
  142. package/assets/{c55b348/RoomDetailDialogContent.BNRSW008.js → 9abc863/RoomDetailDialogContent.D7S_QzBs.js} +1 -1
  143. package/assets/{c55b348/RoomSelect.BLAnT9_u.js → 9abc863/RoomSelect.Cq_p2m-f.js} +1 -1
  144. package/assets/{c55b348/TextContent.BE7a464u.js → 9abc863/TextContent.CXeKtNsr.js} +1 -1
  145. package/assets/{37ae337/TooltipCursor.fsZuWnZL.js → 9abc863/TooltipCursor.DlKId_P9.js} +1 -1
  146. package/assets/{37ae337/WellnessDetailDialog.DtfWEqId.js → 9abc863/WellnessDetailDialog.BwawOmjk.js} +1 -1
  147. package/assets/{c55b348/_...path_.CGzPFsCz.js → 9abc863/_...path_.dEILBLU0.js} +1 -1
  148. package/assets/{f785e42/_code_.iRJURqUl.js → 9abc863/_code_.C_7B6t1P.js} +1 -1
  149. package/assets/{37ae337/_id_.CL7_qnhB.js → 9abc863/_id_.DCUz1r6c.js} +1 -1
  150. package/assets/{f785e42/_id_.CoI4Q5Am.js → 9abc863/_id_.dW09gnWq.js} +1 -1
  151. package/assets/{37ae337/_uuid_.URs138x3.js → 9abc863/_uuid_.6n3lifxQ.js} +1 -1
  152. package/assets/{c55b348/_uuid_.BT8p9tt0.js → 9abc863/_uuid_.BJQtn71-.js} +1 -1
  153. package/assets/{c55b348/_uuid_.ubhmm4Mm.js → 9abc863/_uuid_.BLIrenyi.js} +1 -1
  154. package/assets/{c55b348/_uuid_.DGxN4Vns.js → 9abc863/_uuid_.CYTCmn3C.js} +1 -1
  155. package/assets/{c55b348/_uuid_.CXpdSVMx.js → 9abc863/_uuid_.Ce6nw3Xr.js} +1 -1
  156. package/assets/{c55b348/_uuid_.Ce7KfdCq.js → 9abc863/_uuid_.D1OQ86_l.js} +1 -1
  157. package/assets/{f785e42/_uuid_.DmWjDAcd.js → 9abc863/_uuid_.tIDrKfzc.js} +1 -1
  158. package/assets/9abc863/accommodation-terms.CnlV_Dzs.js +1 -0
  159. package/assets/{c55b348/account.3IMZeA3D.js → 9abc863/account.7ZB6Hvpd.js} +1 -1
  160. package/assets/{c55b348/account.Byb-YtMN.js → 9abc863/account.BDzjPnm1.js} +1 -1
  161. package/assets/{37ae337/app.ce.CBoCmcxi.js → 9abc863/app.ce.G58KVpNh.js} +1 -1
  162. package/assets/{f785e42/calendar.CvOiTvHK.js → 9abc863/calendar.CTxPficj.js} +1 -1
  163. package/assets/{c55b348/calendar.CRIOy4dB.js → 9abc863/calendar.DrZjOG3Q.js} +1 -1
  164. package/assets/{37ae337/calendarFlexibleDialog.CCPmtYUa.js → 9abc863/calendarFlexibleDialog.CiT3ybyU.js} +1 -1
  165. package/assets/{c55b348/chain.CQB7d8zV.js → 9abc863/chain.CE4fk6RC.js} +1 -1
  166. package/assets/9abc863/client.B35Zk1Vj.js +1 -0
  167. package/assets/9abc863/config.DN5PrzYj.js +1 -0
  168. package/assets/9abc863/countries.DHA-CuXb.js +1 -0
  169. package/assets/{c55b348/dateFormatter.BQpLwk6L.js → 9abc863/dateFormatter.Cdnyqc1C.js} +1 -1
  170. package/assets/9abc863/details.BEoQsFfe.js +1 -0
  171. package/assets/{37ae337/dist.B-Aj-1h6.js → 9abc863/dist.BBvqMcN_.js} +1 -1
  172. package/assets/{c55b348/edit.BqmSLxSB.js → 9abc863/edit.C-Yrw0TG.js} +1 -1
  173. package/assets/{c55b348/fancybox.DXfUnRxc.js → 9abc863/fancybox.BbYneWyM.js} +1 -1
  174. package/assets/9abc863/faq.CwgUlk2b.js +1 -0
  175. package/assets/9abc863/formatPrice.BoNSJ3UV.js +1 -0
  176. package/assets/{c55b348/hotel._j1G89r-.js → 9abc863/hotel.CHXHOAo8.js} +1 -1
  177. package/assets/{f785e42/location.C9x6vzg-.js → 9abc863/location.BTumxy6W.js} +2 -2
  178. package/assets/{37ae337/login.CukmWtsD.js → 9abc863/login.C22c1Cam.js} +1 -1
  179. package/assets/{c55b348/marketing-terms.BessFCMN.js → 9abc863/marketing-terms.BNJlh6LS.js} +1 -1
  180. package/assets/{c55b348/nav.DbxEbk7C.js → 9abc863/nav.aNfcLnKd.js} +1 -1
  181. package/assets/{c55b348/order.Dc8H4m8G.js → 9abc863/order.Bi7Btnb0.js} +1 -1
  182. package/assets/{37ae337/orders.CIWoOtuo.js → 9abc863/orders.C46CRk3R.js} +1 -1
  183. package/assets/{f785e42/packages.DoaTmGZq.js → 9abc863/packages.DsjMQe5W.js} +1 -1
  184. package/assets/{c55b348/packages.D_qiN3mU.js → 9abc863/packages.T-RS_YY1.js} +1 -1
  185. package/assets/9abc863/pages.BSv8hla_.js +1 -0
  186. package/assets/9abc863/pages.CIiNQ8uX.js +1 -0
  187. package/assets/{c55b348/params.C4l_dMrB.js → 9abc863/params.BYxK9z6w.js} +1 -1
  188. package/assets/{c55b348/playground.DjnbHM_w.js → 9abc863/playground.WhUjfMIP.js} +1 -1
  189. package/assets/{c55b348/points.D5CbkzTi.js → 9abc863/points.CVjznhdz.js} +1 -1
  190. package/assets/9abc863/privacy-policy.CGT50KhE.js +1 -0
  191. package/assets/{f785e42/ratings.DoQpk5ST.js → 9abc863/ratings.BI2RiPA4.js} +1 -1
  192. package/assets/{c55b348/register.DWdVP-_I.js → 9abc863/register.hz6QMgCO.js} +1 -1
  193. package/assets/{37ae337/request.UOBtDNVx.js → 9abc863/request.TS94V7b8.js} +1 -1
  194. package/assets/{c55b348/reservation.BMuBrj8P.js → 9abc863/reservation.C4YvgAfn.js} +1 -1
  195. package/assets/{c55b348/reservation.Cl2uQjsA.js → 9abc863/reservation.DewbR-PT.js} +1 -1
  196. package/assets/{37ae337/rewards.CmcAqnv_.js → 9abc863/rewards.DjhBa_UN.js} +1 -1
  197. package/assets/{c55b348/rooms.L668F0pR.js → 9abc863/rooms.6URoZiB2.js} +1 -1
  198. package/assets/{37ae337/rooms.gRAC5fTr.js → 9abc863/rooms.C22-gNSF.js} +1 -1
  199. package/assets/9abc863/routeParams.DU9zPEL5.js +1 -0
  200. package/assets/{c55b348/sentry.Dw3n0UXr.js → 9abc863/sentry.BdrnpOuv.js} +1 -1
  201. package/assets/{c55b348/statusDialog.Dsir9iNI.js → 9abc863/statusDialog.CHyOH2aw.js} +1 -1
  202. package/assets/{f785e42/summary.H2NC_tWl.js → 9abc863/summary.Cxx9UDVw.js} +1 -1
  203. package/assets/9abc863/terms.cTHjnWYb.js +1 -0
  204. package/assets/{c55b348/toaster.CCMii1bQ.js → 9abc863/toaster.Duospl3o.js} +1 -1
  205. package/assets/9abc863/trade-terms.C80Kz5m2.js +1 -0
  206. package/assets/{c55b348/validateFields.BwE0p18l.js → 9abc863/validateFields.D6KwIc71.js} +1 -1
  207. package/assets/{f785e42/vendor.BGu2qkTq.js → 9abc863/vendor.UEAfe26O.js} +4 -4
  208. package/assets/9abc863/vouchers-terms.BWQYzdtq.js +1 -0
  209. package/assets/{37ae337/vouchers.Cyb8nCrq.js → 9abc863/vouchers.B4XC4q7V.js} +1 -1
  210. package/assets/{c55b348/vue-router.CTntrroE.js → 9abc863/vue-router.Bw-Vu8cJ.js} +1 -1
  211. package/assets/9abc863/wellness-terms.CiXxdQXm.js +1 -0
  212. package/assets/{37ae337/wellness.Dww8scGf.js → 9abc863/wellness.LEkcp4oM.js} +1 -1
  213. package/assets/{f785e42/AsideFeatures.COiwmqdD.js → bc0a81e/AsideFeatures.DY8oBEXm.js} +1 -1
  214. package/assets/{c55b348/AsideOrderSummary.UKWB5LKL.js → bc0a81e/AsideOrderSummary.DaO-i-wC.js} +1 -1
  215. package/assets/{37ae337/AsideSummary.BE9NeaZE.js → bc0a81e/AsideSummary.cwNy2tTh.js} +1 -1
  216. package/assets/{37ae337/AuthInfo.Bt5BU0F0.js → bc0a81e/AuthInfo.ZWekujuP.js} +1 -1
  217. package/assets/{c55b348/AuthRegistrationForm.-cE_CLMI.js → bc0a81e/AuthRegistrationForm.CSwHzqrK.js} +1 -1
  218. package/assets/{f785e42/Button.DSwXM1vM.js → bc0a81e/Button.Bi4uv-lE.js} +1 -1
  219. package/assets/bc0a81e/ButtonBordered.BTIgYtld.js +1 -0
  220. package/assets/bc0a81e/ButtonBorderedThin.CYLFI4uR.js +1 -0
  221. package/assets/bc0a81e/ButtonGhosted.BUW9MnYB.js +1 -0
  222. package/assets/bc0a81e/ButtonMuted.CPrNWjHf.js +1 -0
  223. package/assets/{f785e42/CalendarFlexible.CEVBs1eN.js → bc0a81e/CalendarFlexible.MPJgQtpS.js} +1 -1
  224. package/assets/{f785e42/Check.1kttjrU5.js → bc0a81e/Check.BP91pUqk.js} +1 -1
  225. package/assets/{f785e42/CheckinApp.BEzPf4Yi.js → bc0a81e/CheckinApp.Dhy-L8vd.js} +1 -1
  226. package/assets/{f785e42/Circle.ByhP73-w.js → bc0a81e/Circle.DOeW1c4e.js} +1 -1
  227. package/assets/{f785e42/Control.l_F0QhcO.js → bc0a81e/Control.CSebJLvO.js} +1 -1
  228. package/assets/{c55b348/ControlTelCountryCode.BV2zANBM.js → bc0a81e/ControlTelCountryCode.3_jmbYhg.js} +1 -1
  229. package/assets/{c55b348/DatePicker.D0v9LNXw.js → bc0a81e/DatePicker.C7H5Njqw.js} +1 -1
  230. package/assets/{f785e42/Details.y2CqCSTf.js → bc0a81e/Details.PDpOygH7.js} +1 -1
  231. package/assets/{c55b348/DialogContent.kPndQa9E.js → bc0a81e/DialogContent.BDyFs5O2.js} +1 -1
  232. package/assets/{f785e42/Drawer.BtODZWBW.js → bc0a81e/Drawer.D4R3b8f2.js} +1 -1
  233. package/assets/{f785e42/Field.Bw7PCeQ1.js → bc0a81e/Field.DZCcYz7P.js} +1 -1
  234. package/assets/{f785e42/Footer.C6I-AoKD.js → bc0a81e/Footer.Ft24Wpck.js} +1 -1
  235. package/assets/{c55b348/FooterLogo.Cq6U4Rxy.js → bc0a81e/FooterLogo.DtwOd9AX.js} +1 -1
  236. package/assets/bc0a81e/Header.B3JtUCTn.js +1 -0
  237. package/assets/{f785e42/HeaderLanguagePopover.nkhRe96-.js → bc0a81e/HeaderLanguagePopover.ByxBkKhW.js} +1 -1
  238. package/assets/{f785e42/Image.D7YhPEgz.js → bc0a81e/Image.BbmLv0Ug.js} +1 -1
  239. package/assets/{f785e42/InputMask.Bjs0czKj.js → bc0a81e/InputMask.C2LzTRAy.js} +1 -1
  240. package/assets/bc0a81e/Main.0JDwcGbb.js +1 -0
  241. package/assets/{37ae337/OrderAccommodation.CCY7yu5T.js → bc0a81e/OrderAccommodation.DD792ezR.js} +1 -1
  242. package/assets/{f785e42/OrderConfirmedStatus.DymNVdn6.js → bc0a81e/OrderConfirmedStatus.c2XN-if2.js} +1 -1
  243. package/assets/{f785e42/OrderHeader.B-gKOwxl.js → bc0a81e/OrderHeader.DHpkWQ_l.js} +1 -1
  244. package/assets/bc0a81e/PackageDetailDialogContent.BVm6elV1.js +1 -0
  245. package/assets/{f785e42/Popover.Cd-ly7x7.js → bc0a81e/Popover.AS3bvD-d.js} +1 -1
  246. package/assets/{c55b348/ReservationEditInfo.zaNw_QUV.js → bc0a81e/ReservationEditInfo.BDMgMOku.js} +1 -1
  247. package/assets/{c55b348/RoomDetailDialog.aRP3wn_t.js → bc0a81e/RoomDetailDialog.tzHbPHE_.js} +1 -1
  248. package/assets/bc0a81e/RoomDetailDialogContent.-DlkNVAB.js +1 -0
  249. package/assets/{37ae337/RoomSelect.2lSrNit8.js → bc0a81e/RoomSelect.DeT5rFYA.js} +1 -1
  250. package/assets/{f785e42/TextContent.D8bbLDgx.js → bc0a81e/TextContent.CIUZWaJn.js} +1 -1
  251. package/assets/{c55b348/TooltipCursor.B7qMvECa.js → bc0a81e/TooltipCursor.Ciaf4NQq.js} +1 -1
  252. package/assets/bc0a81e/WellnessDetailDialog.H0O1f-nC.js +2 -0
  253. package/assets/{f785e42/_...path_.B1vQ0yTt.js → bc0a81e/_...path_.BMfSJ_ZI.js} +1 -1
  254. package/assets/{c55b348/_code_.BA3VKbEG.js → bc0a81e/_code_.C15hx1P3.js} +1 -1
  255. package/assets/{c55b348/_id_.BX3vBLH0.js → bc0a81e/_id_.3upK_Doe.js} +1 -1
  256. package/assets/{c55b348/_id_.CE0H8NqJ.js → bc0a81e/_id_.CbZ1dHSW.js} +1 -1
  257. package/assets/{f785e42/_uuid_.Ccr7O8pm.js → bc0a81e/_uuid_.4YN18F-C.js} +1 -1
  258. package/assets/bc0a81e/_uuid_.BG2fq9Dz.js +1 -0
  259. package/assets/{f785e42/_uuid_.DuAZY6Zm.js → bc0a81e/_uuid_.BM-_NuLN.js} +1 -1
  260. package/assets/{f785e42/_uuid_._2C6HTjE.js → bc0a81e/_uuid_.Bv56HnAR.js} +1 -1
  261. package/assets/{c55b348/_uuid_.lu-YDeRh.js → bc0a81e/_uuid_.Cmp_486q.js} +1 -1
  262. package/assets/{37ae337/_uuid_.DSzRF2pQ.js → bc0a81e/_uuid_.D0EfY1xB.js} +1 -1
  263. package/assets/{37ae337/_uuid_.CdoiFDrF.js → bc0a81e/_uuid_.LhXHSisb.js} +1 -1
  264. package/assets/bc0a81e/accommodation-terms.DUA4HUd0.js +1 -0
  265. package/assets/{f785e42/account.BsTL4CgW.js → bc0a81e/account.DFwU1TOn.js} +1 -1
  266. package/assets/{f785e42/account.BwfUSF-Q.js → bc0a81e/account.HD-R6MuR.js} +1 -1
  267. package/assets/{c55b348/app.ce.DkC-0-iA.js → bc0a81e/app.ce.C6Vjqcdr.js} +2 -2
  268. package/assets/{c55b348/calendar.BpmKKg9e.js → bc0a81e/calendar.C0ZnJLJR.js} +1 -1
  269. package/assets/{f785e42/calendar.Cij86reI.js → bc0a81e/calendar.sVbQ5o_M.js} +1 -1
  270. package/assets/{c55b348/calendarFlexibleDialog.Cqt35vGT.js → bc0a81e/calendarFlexibleDialog.BPPiKocL.js} +1 -1
  271. package/assets/{37ae337/chain.B5iS_gpx.js → bc0a81e/chain.aON_ZDjv.js} +1 -1
  272. package/assets/bc0a81e/client.MaZPHh6g.js +1 -0
  273. package/assets/bc0a81e/config.CL0QsYzP.js +1 -0
  274. package/assets/bc0a81e/countries.C4zoFLww.js +1 -0
  275. package/assets/{37ae337/dateFormatter.CGHUXzCe.js → bc0a81e/dateFormatter.Bn_XV_PD.js} +1 -1
  276. package/assets/bc0a81e/details.Bdcarj2b.js +1 -0
  277. package/assets/{c55b348/dist.D_R18qcr.js → bc0a81e/dist.BlDNT38V.js} +1 -1
  278. package/assets/{37ae337/edit.CgZGcHIA.js → bc0a81e/edit.Cx08v4Lh.js} +1 -1
  279. package/assets/{f785e42/fancybox.CJsv9BnL.js → bc0a81e/fancybox.BR8b-4ax.js} +1 -1
  280. package/assets/bc0a81e/faq.BKJ5yyI7.js +1 -0
  281. package/assets/bc0a81e/formatPrice.BkMw7JGC.js +1 -0
  282. package/assets/bc0a81e/hotel.DRLrihvI.js +1 -0
  283. package/assets/{37ae337/location.NPVmgtic.js → bc0a81e/location.CHnfdXyG.js} +2 -2
  284. package/assets/{f785e42/login.BXgUxwJJ.js → bc0a81e/login.CZX74gBA.js} +1 -1
  285. package/assets/{f785e42/marketing-terms.BvAQfWVF.js → bc0a81e/marketing-terms.ZunTctZ_.js} +1 -1
  286. package/assets/{f785e42/nav.CGVHoM59.js → bc0a81e/nav.DlxfSEw3.js} +1 -1
  287. package/assets/{f785e42/order.LEc70bzD.js → bc0a81e/order.B6vkGjYg.js} +1 -1
  288. package/assets/{c55b348/orders.DDqR1hsa.js → bc0a81e/orders.DTIiQiro.js} +1 -1
  289. package/assets/bc0a81e/packages.EwKxyp_e.js +1 -0
  290. package/assets/{f785e42/packages.C83hDrok.js → bc0a81e/packages.lZSoskEz.js} +1 -1
  291. package/assets/bc0a81e/pages.Cf5cmjae.js +1 -0
  292. package/assets/bc0a81e/pages.CqjwfkEY.js +1 -0
  293. package/assets/{37ae337/params.AdxM2Q8O.js → bc0a81e/params.CKLHNS06.js} +1 -1
  294. package/assets/{f785e42/playground.8Tm_qVVL.js → bc0a81e/playground.CgdT-HNX.js} +1 -1
  295. package/assets/{f785e42/points.eiYNquqf.js → bc0a81e/points.DhtPgG5Y.js} +1 -1
  296. package/assets/bc0a81e/privacy-policy.B_WAUOXU.js +1 -0
  297. package/assets/{c55b348/ratings.DPE77IiP.js → bc0a81e/ratings.Sivvhk30.js} +1 -1
  298. package/assets/{f785e42/register.DmmCNM-C.js → bc0a81e/register.B0qXnwcm.js} +1 -1
  299. package/assets/{c55b348/request.BOq893DA.js → bc0a81e/request.k0EKjinQ.js} +1 -1
  300. package/assets/{f785e42/reservation.BzOjnZgI.js → bc0a81e/reservation.BraqRP6X.js} +1 -1
  301. package/assets/{f785e42/reservation.Co3PKchx.js → bc0a81e/reservation.CSsbKUmJ.js} +1 -1
  302. package/assets/{f785e42/rewards.PwxwPzjy.js → bc0a81e/rewards.Bx415064.js} +1 -1
  303. package/assets/{f785e42/rooms.CgrX_Ptg.js → bc0a81e/rooms.C3UHMLNl.js} +1 -1
  304. package/assets/{f785e42/rooms.CzYCycWd.js → bc0a81e/rooms.rHp9gBMo.js} +1 -1
  305. package/assets/bc0a81e/routeParams.DErXguzA.js +1 -0
  306. package/assets/{37ae337/sentry.QMf-gMv2.js → bc0a81e/sentry.ugBcnVAv.js} +1 -1
  307. package/assets/{f785e42/statusDialog.CWPzBABk.js → bc0a81e/statusDialog.BFK0xH3r.js} +1 -1
  308. package/assets/bc0a81e/summary.BZK0Nydb.js +1 -0
  309. package/assets/bc0a81e/terms.Bhv2CwVy.js +1 -0
  310. package/assets/{f785e42/toaster.DOHhVfsI.js → bc0a81e/toaster.CrL6hWG8.js} +1 -1
  311. package/assets/bc0a81e/trade-terms.C8Jid9KT.js +1 -0
  312. package/assets/{f785e42/validateFields.Jh9WdbVA.js → bc0a81e/validateFields.Bf-0Jigp.js} +1 -1
  313. package/assets/{c55b348/vendor.hO2fYZhy.js → bc0a81e/vendor.Do_VFRcJ.js} +4 -4
  314. package/assets/bc0a81e/vouchers-terms.DiqoYOFs.js +1 -0
  315. package/assets/bc0a81e/vouchers.BX36aBGM.js +1 -0
  316. package/assets/{37ae337/vue-router.DD36fIW3.js → bc0a81e/vue-router.Cd4b305L.js} +1 -1
  317. package/assets/bc0a81e/wellness-terms.Du-vcIRp.js +1 -0
  318. package/assets/{c55b348/wellness.55cRIGZB.js → bc0a81e/wellness.vaYS3EYk.js} +1 -1
  319. package/assets/versions.json +1 -1
  320. package/index.min.js +2 -2
  321. package/package.json +1 -1
  322. package/assets/37ae337/ButtonBordered.C0ptE6DP.js +0 -1
  323. package/assets/37ae337/ButtonBorderedThin.N-mFWnxL.js +0 -1
  324. package/assets/37ae337/ButtonGhosted.Bmr7Szm_.js +0 -1
  325. package/assets/37ae337/ButtonMuted.DWEYYkz4.js +0 -1
  326. package/assets/37ae337/Header.mWd6IIf2.js +0 -1
  327. package/assets/37ae337/Main.DTUDPOqZ.js +0 -1
  328. package/assets/37ae337/RoomDetailDialogContent.DYW1YuKO.js +0 -1
  329. package/assets/37ae337/_uuid_.ADeW861T.js +0 -1
  330. package/assets/37ae337/accommodation-terms.ByfT8_ph.js +0 -1
  331. package/assets/37ae337/client.BkI9CFDA.js +0 -1
  332. package/assets/37ae337/config.CfT3Empr.js +0 -1
  333. package/assets/37ae337/countries.BS1T1mQF.js +0 -1
  334. package/assets/37ae337/details.DXQa3o26.js +0 -1
  335. package/assets/37ae337/faq.DMUiiUne.js +0 -1
  336. package/assets/37ae337/formatPrice.CyV0FsvV.js +0 -1
  337. package/assets/37ae337/packages.BnlD5as1.js +0 -1
  338. package/assets/37ae337/pages.BZ-wzX0r.js +0 -1
  339. package/assets/37ae337/privacy-policy.t0bfIcye.js +0 -1
  340. package/assets/37ae337/routeParams.C-rg2eQ0.js +0 -1
  341. package/assets/37ae337/terms.-yTaU-k1.js +0 -1
  342. package/assets/37ae337/trade-terms.CoeKlsiQ.js +0 -1
  343. package/assets/37ae337/vouchers-terms.ChKtfaqo.js +0 -1
  344. package/assets/37ae337/wellness-terms.Btzpjojd.js +0 -1
  345. package/assets/c55b348/ButtonBordered.DMI-aEe6.js +0 -1
  346. package/assets/c55b348/ButtonBorderedThin.GfjkE5vb.js +0 -1
  347. package/assets/c55b348/ButtonGhosted.C3pz1gOn.js +0 -1
  348. package/assets/c55b348/ButtonMuted.CmtusFQv.js +0 -1
  349. package/assets/c55b348/Header.DPju4Cwz.js +0 -1
  350. package/assets/c55b348/Main.BfYIjmR0.js +0 -1
  351. package/assets/c55b348/WellnessDetailDialog.CUbpWSh-.js +0 -2
  352. package/assets/c55b348/accommodation-terms.Bu3sivM9.js +0 -1
  353. package/assets/c55b348/client.T5Px7Q15.js +0 -1
  354. package/assets/c55b348/config.5TeOFwa3.js +0 -1
  355. package/assets/c55b348/countries.BrsghvY0.js +0 -1
  356. package/assets/c55b348/details.BoRKuFOa.js +0 -1
  357. package/assets/c55b348/faq.DBtn59TP.js +0 -1
  358. package/assets/c55b348/formatPrice.B8YEcqih.js +0 -1
  359. package/assets/c55b348/pages.U-9HwgAG.js +0 -1
  360. package/assets/c55b348/pages.nkFY1TxW.js +0 -1
  361. package/assets/c55b348/privacy-policy.C49MI74u.js +0 -1
  362. package/assets/c55b348/routeParams.CNzOlJfv.js +0 -1
  363. package/assets/c55b348/summary.CBeP1A_J.js +0 -1
  364. package/assets/c55b348/terms.Dstd_9ST.js +0 -1
  365. package/assets/c55b348/trade-terms.6uZh3KPr.js +0 -1
  366. package/assets/c55b348/vouchers-terms.CubjUoaY.js +0 -1
  367. package/assets/c55b348/vouchers.CPVEoOBo.js +0 -1
  368. package/assets/c55b348/wellness-terms.BsLQ4tbJ.js +0 -1
  369. package/assets/f785e42/ButtonBordered.CP-VyF36.js +0 -1
  370. package/assets/f785e42/ButtonBorderedThin.jONrcTDH.js +0 -1
  371. package/assets/f785e42/ButtonGhosted.E76FJ-Mf.js +0 -1
  372. package/assets/f785e42/ButtonMuted.ClXJRdlP.js +0 -1
  373. package/assets/f785e42/Header.CxfzOuTi.js +0 -1
  374. package/assets/f785e42/Main.B6URJ_XN.js +0 -1
  375. package/assets/f785e42/PackageDetailDialogContent.BOOjo_oC.js +0 -1
  376. package/assets/f785e42/accommodation-terms.meT5Ns8_.js +0 -1
  377. package/assets/f785e42/client.DrMpyevc.js +0 -1
  378. package/assets/f785e42/config.tpbdABlZ.js +0 -1
  379. package/assets/f785e42/countries.CE6bN6gS.js +0 -1
  380. package/assets/f785e42/details.BGQ4YYFa.js +0 -1
  381. package/assets/f785e42/faq.BVEgi7EE.js +0 -1
  382. package/assets/f785e42/formatPrice.BEcRqhQn.js +0 -1
  383. package/assets/f785e42/hotel.BmQNwmkI.js +0 -1
  384. package/assets/f785e42/pages.DIf-_Lwj.js +0 -1
  385. package/assets/f785e42/pages._B8SYS_w.js +0 -1
  386. package/assets/f785e42/privacy-policy.K7_5U-6w.js +0 -1
  387. package/assets/f785e42/routeParams.6hpnfcMT.js +0 -1
  388. package/assets/f785e42/terms.BqOMJDFo.js +0 -1
  389. package/assets/f785e42/trade-terms.D83lptj5.js +0 -1
  390. package/assets/f785e42/vouchers-terms.Dg-QZY_H.js +0 -1
  391. package/assets/f785e42/wellness-terms.D9DPXL0C.js +0 -1
  392. /package/assets/{37ae337/_plugin-vue_export-helper.BKrxtfM6.js → 8a7a0fd/_plugin-vue_export-helper.BiWT7g7K.js} +0 -0
  393. /package/assets/{37ae337 → 8a7a0fd}/app.CJTXFzvz.png +0 -0
  394. /package/assets/{37ae337/basePath.Cbe3ywOU.js → 8a7a0fd/basePath.DpJdvDm-.js} +0 -0
  395. /package/assets/{37ae337/closeDetails.Uf38s8CE.js → 8a7a0fd/closeDetails.C3q7bD28.js} +0 -0
  396. /package/assets/{37ae337/dist.CyL1TWIu.js → 8a7a0fd/dist.CYmCdqLk.js} +0 -0
  397. /package/assets/{37ae337/dist.C3zbh59W.js → 8a7a0fd/dist.CgJyCM6y.js} +0 -0
  398. /package/assets/{37ae337 → 8a7a0fd}/erv.CerNAezh.svg +0 -0
  399. /package/assets/{37ae337/esm.Du4xPrm0.js → 8a7a0fd/esm.DYxDqYRg.js} +0 -0
  400. /package/assets/{37ae337/experimental.DpaPShJ5.js → 8a7a0fd/experimental.DutZX3Ew.js} +0 -0
  401. /package/assets/{37ae337/getPaymentUrl.DuHKmnhT.js → 8a7a0fd/getPaymentUrl.ncex814j.js} +0 -0
  402. /package/assets/{37ae337/index.es.D_rMut9w.js → 8a7a0fd/index.es.CXSzlnDY.js} +0 -0
  403. /package/assets/{37ae337/localeRules.Dwj99WAc.js → 8a7a0fd/localeRules.CKQLmUcY.js} +0 -0
  404. /package/assets/{37ae337/patterns.BwiOr3S3.js → 8a7a0fd/patterns.BwTMHFOm.js} +0 -0
  405. /package/assets/{37ae337/plainText.DQdtg9hH.js → 8a7a0fd/plainText.CJEWnNlp.js} +0 -0
  406. /package/assets/{37ae337/preload.BAriOEPp.js → 8a7a0fd/preload.CTEq7NUK.js} +0 -0
  407. /package/assets/{37ae337/rolldown-runtime.BGRWIqI_.js → 8a7a0fd/rolldown-runtime.CYqaXOiW.js} +0 -0
  408. /package/assets/{37ae337/signature_pad.DM7dotBa.js → 8a7a0fd/signature_pad.3VGRTa8w.js} +0 -0
  409. /package/assets/{37ae337/staleTimes.CSax4Rlv.js → 8a7a0fd/staleTimes.emgtWykL.js} +0 -0
  410. /package/assets/{37ae337/togglePassword.BIf3dozy.js → 8a7a0fd/togglePassword.BVbU1ilq.js} +0 -0
  411. /package/assets/{c55b348/_plugin-vue_export-helper.CJFXl7fz.js → 9abc863/_plugin-vue_export-helper.C0ijDkGT.js} +0 -0
  412. /package/assets/{c55b348 → 9abc863}/app.CJTXFzvz.png +0 -0
  413. /package/assets/{c55b348/basePath.DvLIwwfa.js → 9abc863/basePath.DKl9za_V.js} +0 -0
  414. /package/assets/{c55b348/closeDetails.C1vTIQ1E.js → 9abc863/closeDetails.C8zZD3SJ.js} +0 -0
  415. /package/assets/{c55b348/dist.BNOXBOmN.js → 9abc863/dist.D9SLCwI7.js} +0 -0
  416. /package/assets/{c55b348/dist.DkFDwBXW.js → 9abc863/dist.b2zlMDTZ.js} +0 -0
  417. /package/assets/{c55b348 → 9abc863}/erv.CerNAezh.svg +0 -0
  418. /package/assets/{c55b348/esm.DAAUlV4n.js → 9abc863/esm.CgggN1_U.js} +0 -0
  419. /package/assets/{c55b348/experimental.CorvSm6c.js → 9abc863/experimental.Cr2dpMSf.js} +0 -0
  420. /package/assets/{c55b348/getPaymentUrl.BoKSW2s_.js → 9abc863/getPaymentUrl.DOaXoJD3.js} +0 -0
  421. /package/assets/{c55b348/index.es.GF6RwZKY.js → 9abc863/index.es.DgL25r8U.js} +0 -0
  422. /package/assets/{c55b348/localeRules.Cmrt9pbJ.js → 9abc863/localeRules.ISFWYFF6.js} +0 -0
  423. /package/assets/{c55b348/patterns.BmO4lxbY.js → 9abc863/patterns.CeNuhuLC.js} +0 -0
  424. /package/assets/{c55b348/plainText.B5Ot-Z58.js → 9abc863/plainText.B_aBSoJ2.js} +0 -0
  425. /package/assets/{c55b348/preload.CbzMOkp8.js → 9abc863/preload.DxhQL6ww.js} +0 -0
  426. /package/assets/{c55b348/rolldown-runtime.OUxXC3AW.js → 9abc863/rolldown-runtime.BQa96kB2.js} +0 -0
  427. /package/assets/{c55b348/signature_pad.CNewFF5L.js → 9abc863/signature_pad.C07Egmsk.js} +0 -0
  428. /package/assets/{c55b348/staleTimes.C4g5-gQd.js → 9abc863/staleTimes.BFpWFXo3.js} +0 -0
  429. /package/assets/{c55b348/togglePassword.DOftSz_E.js → 9abc863/togglePassword.DhXSbA19.js} +0 -0
  430. /package/assets/{f785e42/_plugin-vue_export-helper.CVuqnCex.js → bc0a81e/_plugin-vue_export-helper.BZ8SKbXu.js} +0 -0
  431. /package/assets/{f785e42 → bc0a81e}/app.CJTXFzvz.png +0 -0
  432. /package/assets/{f785e42/basePath.CZNYxQU8.js → bc0a81e/basePath.kGPkk3rO.js} +0 -0
  433. /package/assets/{f785e42/closeDetails.Rl_Xi9VJ.js → bc0a81e/closeDetails.DVcvAgRR.js} +0 -0
  434. /package/assets/{f785e42/dist.CR4ffK8_.js → bc0a81e/dist.BkBUEQAB.js} +0 -0
  435. /package/assets/{f785e42/dist.DRl7vaHS.js → bc0a81e/dist.C8A6yobf.js} +0 -0
  436. /package/assets/{f785e42 → bc0a81e}/erv.CerNAezh.svg +0 -0
  437. /package/assets/{f785e42/esm.DHoAkVBq.js → bc0a81e/esm.BIm-ADfn.js} +0 -0
  438. /package/assets/{f785e42/experimental.DlhmGXKW.js → bc0a81e/experimental.Cy57_TL0.js} +0 -0
  439. /package/assets/{f785e42/getPaymentUrl.xa_1GwGz.js → bc0a81e/getPaymentUrl.C7Lf7XFh.js} +0 -0
  440. /package/assets/{f785e42/index.es.BBH8jX4Z.js → bc0a81e/index.es._VatIz9-.js} +0 -0
  441. /package/assets/{f785e42/localeRules.DuB-8maD.js → bc0a81e/localeRules.BVjMhTeP.js} +0 -0
  442. /package/assets/{f785e42/patterns.Bgl0jWnL.js → bc0a81e/patterns.BawwaaO4.js} +0 -0
  443. /package/assets/{f785e42/plainText.CC3Vidi5.js → bc0a81e/plainText.Dx0MK4Yj.js} +0 -0
  444. /package/assets/{f785e42/preload.vcDpiZHI.js → bc0a81e/preload.D47q6Y6C.js} +0 -0
  445. /package/assets/{f785e42/rolldown-runtime.CY69pHGU.js → bc0a81e/rolldown-runtime.DZwckR-S.js} +0 -0
  446. /package/assets/{f785e42/signature_pad.DvPpdb2r.js → bc0a81e/signature_pad.3AG_4O-y.js} +0 -0
  447. /package/assets/{f785e42/staleTimes.BuCDd__I.js → bc0a81e/staleTimes.DzrC_Y6z.js} +0 -0
  448. /package/assets/{f785e42/togglePassword.D7dAyG22.js → bc0a81e/togglePassword.BF9Py_jQ.js} +0 -0
@@ -0,0 +1 @@
1
+ import{An as e,Bn as t,Dn as n,Fn as r,Hn as i,Jn as a,Kn as o,Ln as s,Mn as c,On as l,Pn as u,Qn as d,Rn as f,Xn as p,Yn as m,Zn as h,bn as g,er as _,fn as v,gn as y,hn as b,jn as x,jt as S,kn as C,ln as w,lt as T,mn as E,pn as D,pt as O,un as k,vn as A,wn as j,yn as M}from"./vendor.Do_VFRcJ.js";import{t as N}from"./params.CKLHNS06.js";import{t as P}from"./DialogContent.BDyFs5O2.js";import{t as F}from"./Button.Bi4uv-lE.js";import{c as I,f as L,m as R,o as z,p as B,y as V}from"./client.MaZPHh6g.js";import{t as H}from"./config.CL0QsYzP.js";import{t as ee}from"./Circle.DOeW1c4e.js";import{i as U,n as te,r as ne,t as re}from"./calendarFlexibleDialog.BPPiKocL.js";import{t as ie}from"./ButtonBordered.BTIgYtld.js";import{t as ae}from"./formatPrice.BkMw7JGC.js";import{t as oe}from"./Popover.AS3bvD-d.js";import{t as W}from"./hotel.DRLrihvI.js";import{t as G}from"./Image.BbmLv0Ug.js";import{t as K}from"./fancybox.BR8b-4ax.js";var q={key:0,class:`x-title sm font-medium text-main-secondary flex items-center gap-2`},se={class:`sr-only`},ce=[`aria-label`],le={class:`x-title sm font-medium text-main-secondary`},J=g({__name:`Price`,props:{prices:{type:[Object,null]},reverse:{type:Boolean},nights:{default:1,type:Number}},setup(e){let{t,n}=S(),{data:r}=H(),a=N();return(o,l)=>(c(),y(`div`,{class:h([`x-price flex flex-col gap-0.5`,{"items-end":!e.reverse}])},[e.prices?.finalPrice===e.prices?.originalPrice?b(``,!0):(c(),y(`div`,q,[D(`span`,se,_(p(t)(`discount`)),1),e.prices?.discountAbsolute?(c(),y(`span`,{key:0,class:h([`x-badge sm accent-success`,{"order-last":e.reverse}])},_(p(ae)(-e.prices?.discountAbsolute*e.nights,p(a).currency)),3)):e.prices?.discountPercent?(c(),y(`span`,{key:1,class:h([`x-badge sm accent-success`,{"order-last":e.reverse}])},`-`+_(e.prices?.discountPercent)+`%`,3)):b(``,!0),e.prices?.originalPrice?(c(),y(`del`,{key:2,"aria-label":p(t)(`originalPrice`)},_(p(n)(e.prices?.originalPrice*e.nights,`decimal`))+` `+_(p(a).currency),9,ce)):b(``,!0)])),e.prices?.finalPrice>0||p(r)?.allowSuperPromo?(c(),E(s(e.prices?.finalPrice===e.prices?.originalPrice?`div`:`ins`),{key:1,class:`x-heading sm no-underline`,"aria-label":p(t)(`price`)},{default:i(()=>[A(_(p(n)(e.prices?.finalPrice*e.nights,`decimal`))+` `,1),D(`span`,le,_(p(a).currency),1)]),_:1},8,[`aria-label`])):b(``,!0)],2))}});const Y=({item:e,config:t,hotel:n,currency:r,value:i,price:a,quantity:o})=>{if(t?.tracking?.googleGa4||t?.tracking?.googleGtm){let t={};e.entity===`Voucher`||e.entity===`Product`?t={item_id:e.voucher?.id,item_name:e.voucher?.name}:e.entity===`Room`||e.entity===`Package`?t={item_id:e?.package?.id??e?.room?.id,item_name:e?.package?.name??e?.room?.name,item_variant:e?.rate?.name??e?.room?.name}:e.entity===`Wellness`&&(t={item_id:e?.wellness?.id,item_name:e?.wellness?.name}),B(`event`,`add_to_cart`,{currency:r,value:i,items:[{...t,item_category:e.entity,item_brand:n?.chainName,affiliation:n?.name,currency:r,price:a,quantity:o}]})}if(t?.tracking?.facebookPixel&&L(`track`,`AddToCart`,{currency:r,value:i}),t?.tracking?.tiktokPixel){let t=(e.voucher?.id??e?.package?.id??e?.room?.id??e?.wellness?.id)?.toString()??``,n=e.voucher?.name??e?.package?.name??e?.room?.name??e?.wellness?.name??``;V.track(`AddToCart`,{content_type:`product`,quantity:o,description:n,content_ids:[t],currency:r,value:i})}},X=async(e,{editIndex:t,errorDialog:n,roomDetailDialog:r,packageDetailDialog:i,config:a,hotel:o,shadowRoot:s})=>{let c=N(),u=z(),d=I(),f=s?.querySelector(`.x-room-select`),p=u.activeRoom,h=e?.room?.maximumPerBooking||1/0,g=e?.room?.availableCount||1/0,_=d.order.accommodation.items.filter(t=>t?.roomId===e?.room?.id).length;if(t!==void 0&&(p=t),t===void 0&&(_>=h||_>=g)){n.root.show();return}if(r?.root?.close(),i?.root?.close(),await l(),t===void 0&&u.data?.[p]?.selected&&(await u.addRoom(),p=u.activeRoom),u.data[p].selected=!0,u.data.length>1){let e=u.data.findIndex(e=>!e.selected);u.activeRoom=e===-1?u.data.length-1:e,u.activeTab=u.activeRoom}d.addAccommodationItemToCart({adults:structuredClone(m(u.data?.[p]?.adults)),children:structuredClone(m(u.data?.[p]?.children)),roomId:e?.room?.id,rateId:e?.rate?.id,packageId:e?.package?.id,bedType:``,mealPlan:e.rate?.mealPlans?.find(e=>e.price===0)?.code||e.room?.mealPlans?.find(e=>e.price===0)?.code,services:[]},e,p),f?.scrollIntoView({behavior:`smooth`});let v=e?.rate?.prices??e?.room?.prices;Y({config:a,hotel:o,item:e,price:v?.totalPrice??NaN/u.totalNights,value:v?.totalPrice??NaN,quantity:u.totalNights,currency:c.currency}),await l();let y=s?.querySelector(`.x-aside-summary [data-slot="content"]`);y?.scrollTo({top:y.scrollHeight,behavior:`smooth`})};var ue=[`href`],de=[`src`,`alt`],fe=[`href`],pe={class:`flex flex-col gap-2 flex-1`},me={class:`x-title flex items-baseline gap-0.5`},he={key:0,class:`x-title xs`},ge=[`popovertarget`,`onClick`],_e={class:`flex items-center gap-6 lg:justify-end lg:ml-auto max-lg:items-end max-lg:mt-4 max-lg:w-full max-lg:justify-between`},ve={key:0,class:`flex items-end lg:items-center gap-2 md:gap-4`},ye={key:0,class:`x-title sm font-medium text-main-secondary`},be={class:`x-badge md muted`},xe=[`id`],Se=[`innerHTML`],Ce=g({__name:`PackageRoomsItem`,props:{package:{type:Object},room:{type:Object}},setup(t){let n=t,r=j(`shadowRoot`),{t:a,n:s}=S(),l=K(),d=N(),m=z(),{data:g}=H(),{data:v}=W(),x=o(),O=f(),P=o(),I=o(),L=o(n.room?.prices?.finalPriceExtraBeds>0?`${a(`room`)}: ${n.room?.name} (+${a(`extraBed`)})`:`${a(`room`)}: ${n.room?.name}`),R=o(),B=j(`packageDetailDialog`);return C(()=>{l.bind(T(x.value))}),e(()=>{l.unbind(T(x.value))}),(e,n)=>{let o=F,f=G,S=J,C=U,T=oe;return c(),E(T,{ref_key:`root`,ref:x,refs:{popoverTrigger:P.value,popoverTarget:I.value},class:`@container group/popover`},{default:i(({togglePopover:e})=>[n[3]||=D(`div`,{class:`fixed inset-0 bg-dark/50 z-20 pointer-events-none transition opacity-0 group-data-open/popover:opacity-100`},null,-1),D(`div`,{class:h([`x-package-rooms-item p-3 border border-main-tertiary rounded-md flex lg:items-center relative @container max-lg:flex-wrap bg-body-primary`,[`duration-300 transition-[z-index] group-data-open/popover:z-20 group-has-aria-[expanded=false]/popover:transition-discrete`]])},[M(f,{class:`w-16.5 mr-3 shrink-0 self-start group/image`},{default:i(()=>[D(`a`,{href:t.room?.images?.[0]?.[`3x`],"data-fancybox":`gallery`,"aria-hidden":`true`,tabindex:`-1`},[D(`img`,{src:t.room?.images?.[0]?.[`1x`],class:`aspect-4/3 object-cover`,loading:`lazy`,alt:t.room?.images?.[0]?.alt},null,8,de)],8,ue),M(o,{variant:`circle`,size:`sm`,class:`p-0 accent-black bg-black/10 hover:bg-black/30 backdrop-blur-md absolute inset-0 m-auto scale-50 opacity-0 focus:opacity-100 focus:scale-100 group-hover/image:opacity-100 group-hover/image:scale-100`,"aria-label":p(a)(`showPreview`),onClick:n[0]||=e=>p(l).show(x.value.$el)},{default:i(()=>[...n[2]||=[D(`svg`,{"aria-hidden":`true`,class:`size-4`},[D(`use`,{href:`#icon-magnifying-glass-mini`})],-1)]]),_:1},8,[`aria-label`])]),_:1}),(c(!0),y(k,null,u(t.room?.images,(e,t)=>(c(),y(k,null,[t>0?(c(),y(`a`,{key:t,"aria-hidden":`true`,tabindex:`-1`,"data-fancybox":`gallery`,href:e?.[`3x`]},null,8,fe)):b(``,!0)],64))),256)),D(`div`,pe,[D(`div`,me,[A(_(t.room?.name)+` `,1),t.room?.prices?.finalPriceExtraBeds?(c(),y(`div`,he,` (+`+_(p(a)(`extraBed`))+`) `,1)):b(``,!0)]),D(`button`,{ref_key:`popoverTrigger`,ref:P,class:`x-link text-primary underline transition hocus:text-accent-alt`,popovertargetaction:`toggle`,popovertarget:p(O),onClick:w(t=>e(P.value,I.value,{anchorElement:x.value.$el,offset:4}),[`prevent`])},_(p(a)(`showMoreInfo`)),9,ge)]),D(`div`,_e,[t.room?.prices?(c(),y(`div`,ve,[M(S,{prices:t.room?.prices},null,8,[`prices`]),t.room?.prices?.finalPriceExtraBeds?(c(),y(`div`,ye,` + `+_(p(s)(t.room?.prices.finalPriceExtraBeds,`decimal`))+` `+_(p(d).currency),1)):b(``,!0)])):b(``,!0),D(`div`,be,` 1 `+_(p(a)(`roomsPlural`,1))+` / `+_(p(m).totalNights)+` `+_(p(a)(`nightPlural`,p(m).totalNights??0)),1)]),t.room?.prices?.finalPrice||p(g)?.allowSuperPromo?(c(),E(o,{key:0,size:`md`,class:`lg:ml-6 max-lg:mt-3 max-lg:w-full`,onClick:n[1]||=e=>p(X)({entity:`Package`,room:t.room,package:t.package,description:L.value},{editIndex:p(B)?.$props?.editIndex,errorDialog:R.value,packageDetailDialog:p(B),hotel:p(v),config:p(g),shadowRoot:p(r)})},{default:i(()=>[A(_(p(a)(`roomSelect`)),1)]),_:1})):b(``,!0),M(C,{ref_key:`errorDialog`,ref:R,status:`error`,heading:p(a)(`weAreSorry`),text:p(a)(`roomCannotBeBooked`)},null,8,[`heading`,`text`])]),D(`div`,{id:p(O),ref_key:`popoverTarget`,ref:I,class:`x-popover-content p-6 border-0 border-main-tertiary shadow-lg bottom bottom-start w-[100cqw]`,popover:`manual`,inert:``},[D(`div`,{class:`x-text xs`,innerHTML:t.room?.description},null,8,Se)],8,xe)]),_:1},8,[`refs`])}}}),we={class:`x-package-rooms flex flex-col gap-2`},Te=g({__name:`PackageRooms`,props:{entity:{type:String},id:{type:Number},code:{type:String},name:{type:String},description:{type:String},longDescription:{type:String},cancellationPolicy:{type:String},priceType:{type:String},popupText:{type:String},minLos:{type:Number},maxLos:{type:Number},minOffset:{type:Number},maxOffset:{type:Number},isFavorite:{type:Boolean},isPrivate:{type:Boolean},days:{type:Number},restrictionInfo:{type:[String,null]},disabled:{type:Boolean},disabledCode:{type:[Number,null]},disabledText:{type:[String,null]},lowestPrices:{type:Object},images:{type:Array},rooms:{type:Array},type:{type:Object}},setup(e){let t=e;return(n,r)=>{let i=Ce;return c(),y(`div`,we,[(c(!0),y(k,null,u(e.rooms,e=>(c(),y(k,{key:e.id},[e?.prices?(c(),E(i,{key:0,room:e,package:{...t}},null,8,[`room`,`package`])):b(``,!0)],64))),128))])}}}),Ee=g({__name:`Fancybox`,props:{as:{default:`div`,type:String},fancyboxOptions:{type:Object}},setup(n){let{bind:a,unbind:o}=K(n.fancyboxOptions),l=t(`host`);return C(()=>a(T(l.value))),x(()=>a(T(l.value))),e(()=>o(T(l.value))),(e,t)=>(c(),E(s(n.as),{ref_key:`host`,ref:l},{default:i(()=>[r(e.$slots,`default`)]),_:3},512))}}),De=[`href`],Oe=[`src`,`srcset`,`alt`],ke=[`src`,`srcset`,`alt`],Ae=[`onScroll`],je=[`href`],Me=[`src`,`srcset`,`alt`],Ne=[`href`],Pe=[`src`,`srcset`,`alt`],Fe=[`href`],Ie=[`src`,`srcset`,`alt`],Le=[`href`],Re=[`src`,`srcset`,`alt`],ze=[`href`],Be=[`src`,`srcset`,`alt`],Ve={key:0,class:`x-title absolute inset-0 flex justify-center items-center text-light pointer-events-none z-1 text-center max-md:hidden`},He=[`href`],Ue=[`src`,`srcset`,`alt`],We=[`data-active`],Ge=g({__name:`GalleryGridCarousel`,props:{images:{type:Array}},setup(e){let{t}=S(),n=O(ne.md),r=o(),a=o(),s=o(),l=o();return(o,d)=>{let f=te;return c(),E(f,{refs:{contentElement:r.value,prevElement:a.value,nextElement:s.value,paginationElement:l.value},class:h({"flex md:gap-4 rounded-md @container":e.images?.length<=3,"flex md:gap-3 rounded-md peer @container":e.images?.length>3})},{default:i(({scrollCarousel:i,setScrollPos:a})=>[p(n)?(c(),y(`a`,{key:0,class:`x-image before:skeleton md:flex-1 max-md:w-full snap-start`,href:e.images?.[0]?.[`3x`],target:`_blank`,"data-fancybox":`gallery`},[e.images?.length<=3?(c(),y(`img`,{key:0,src:e.images?.[0]?.[`2x`],srcset:`${e.images?.[0]?.[`2x`]} 1x, ${e.images?.[0]?.[`3x`]} 2x`,alt:e.images?.[0]?.alt,loading:`lazy`,class:`aspect-4/3 object-cover`},null,8,Oe)):e.images?.length>3?(c(),y(`img`,{key:1,src:e.images?.[0]?.[`1x`],srcset:`${e.images?.[0]?.[`1x`]} 1x, ${e.images?.[0]?.[`2x`]} 2x`,alt:e.images?.[0]?.alt,loading:`lazy`,class:`aspect-4/3 object-cover`},null,8,ke)):b(``,!0)],8,De)):b(``,!0),D(`div`,{ref_key:`contentElement`,ref:r,class:h([`max-md:flex max-md:rounded-md max-md:overflow-x-auto max-md:snap-x max-md:snap-mandatory overscroll-x-none no-scrollbar`,{"flex md:flex-col md:gap-[inherit] md:rounded-[inherit] md:shrink-0 md:w-[min(27cqw,13.5rem)]":e.images?.length<=3,"md:grid md:grid-cols-2 md:gap-[inherit] md:rounded-[inherit] md:shrink-0 md:w-[min(42.5cqw,21.875rem)]":e.images?.length>3}]),onScroll:e=>[i(r.value,{pagination:{element:l.value}}),a()]},[e.images?.length<=3?(c(),y(k,{key:0},[p(n)?b(``,!0):(c(),y(`a`,{key:0,class:`x-image before:skeleton max-md:w-full max-md:rounded-none snap-start`,href:e.images?.[0]?.[`3x`],target:`_blank`,"data-fancybox":`gallery`},[D(`img`,{src:e.images?.[0]?.[`2x`],srcset:`${e.images?.[0]?.[`2x`]} 1x, ${e.images?.[0]?.[`3x`]} 2x`,alt:e.images?.[0]?.alt,loading:`lazy`,class:`aspect-4/3 object-cover`},null,8,Me)],8,je)),(c(!0),y(k,null,u(e.images,(e,t)=>(c(),y(k,{key:t},[t>0?(c(),y(`a`,{key:0,class:`x-image before:skeleton max-md:w-full max-md:rounded-none snap-start`,href:e[`3x`],target:`_blank`,"data-fancybox":`gallery`},[D(`img`,{src:e[`1x`],srcset:`${e[`1x`]} 1x, ${e[`2x`]} 2x`,alt:e?.alt,loading:`lazy`,class:`max-md:aspect-4/3 md:aspect-square object-cover`},null,8,Pe)],8,Ne)):b(``,!0)],64))),128))],64)):e.images?.length>3?(c(),y(k,{key:1},[p(n)?b(``,!0):(c(),y(`a`,{key:0,class:`x-image before:skeleton max-md:w-full max-md:rounded-none snap-start`,href:e.images?.[0]?.[`3x`],target:`_blank`,"data-fancybox":`gallery`},[D(`img`,{src:e.images?.[0]?.[`1x`],srcset:`${e.images?.[0]?.[`1x`]} 1x, ${e.images?.[0]?.[`2x`]} 2x`,alt:e.images?.[0]?.alt,loading:`lazy`,class:`aspect-4/3 object-cover`},null,8,Ie)],8,Fe)),(c(!0),y(k,null,u(e.images,(n,r)=>(c(),y(k,{key:r},[r>0&&r<4?(c(),y(`a`,{key:0,class:`x-image before:skeleton max-md:w-full max-md:rounded-none snap-start`,href:n[`3x`],target:`_blank`,"data-fancybox":`gallery`},[D(`img`,{src:n[`1x`],srcset:`${n[`1x`]} 1x, ${n[`2x`]} 2x`,alt:n?.alt,loading:`lazy`,class:`max-md:aspect-4/3 md:aspect-square object-cover`},null,8,Re)],8,Le)):b(``,!0),r===4?(c(),y(`a`,{key:1,class:h([`x-image before:skeleton max-md:w-full max-md:rounded-none snap-start`,{"after:inset-0 after:absolute after:rounded-[inherit] max-md:after:hidden after:bg-dark/50 after:transition hocus:after:bg-dark/75":e.images?.length>5}]),href:n[`3x`],target:`_blank`,"data-fancybox":`gallery`},[D(`img`,{src:n[`1x`],srcset:`${n[`1x`]} 1x, ${n[`2x`]} 2x`,alt:n?.alt,loading:`lazy`,class:`max-md:aspect-4/3 md:aspect-square object-cover`},null,8,Be),e.images?.length>5?(c(),y(`div`,Ve,` + `+_(e.images?.length-5)+` `+_(p(t)(`morePlural`,e.images?.length-5)),1)):b(``,!0)],10,ze)):b(``,!0),r>5?(c(),y(`a`,{key:2,class:`x-image before:skeleton max-md:w-full max-md:rounded-none snap-start md:hidden`,href:n[`3x`],target:`_blank`,"data-fancybox":`gallery`},[D(`img`,{src:n[`1x`],srcset:`${n[`1x`]} 1x, ${n[`2x`]} 2x`,alt:n?.alt,loading:`lazy`,class:`max-md:aspect-4/3 md:aspect-square object-cover`},null,8,Ue)],8,He)):b(``,!0)],64))),128))],64)):b(``,!0)],42,Ae),D(`div`,{ref_key:`paginationElement`,ref:l,class:`x-carousel-dots absolute bottom-3 inset-x-3 flex justify-center gap-2.25 md:hidden`,"aria-hidden":`true`},[(c(!0),y(k,null,u(e.images?.length,(e,t)=>(c(),y(`div`,{key:e,class:`size-1.5 rounded-full bg-light/40 relative before:-inset-1 before:absolute cursor-pointer transition data-active:bg-light`,"data-active":t===0?!0:null},null,8,We))),128))],512)]),_:1},8,[`refs`,`class`])}}}),Ke={key:0,class:`x-image before:skeleton rounded-md w-full`},qe=[`src`,`srcset`,`alt`],Je={key:1,class:`flex flex-col relative`},Z=g({__name:`GalleryGrid`,props:{images:{type:Array}},setup(e){return(t,n)=>{let r=Ee;return c(),E(r,{class:`x-gallery-grid`},{default:i(()=>[e.images&&e.images.length===1?(c(),y(`div`,Ke,[D(`img`,{src:e.images?.[0]?.[`2x`],srcset:`${e.images?.[0]?.[`2x`]} 1x, ${e.images?.[0]?.[`3x`]} 2x`,alt:e.images?.[0]?.alt,loading:`lazy`,class:`aspect-4/3 object-cover`},null,8,qe)])):e.images?(c(),y(`div`,Je,[M(Ge,{images:e.images},null,8,[`images`])])):b(``,!0)]),_:1})}}}),Ye={class:`flex flex-col gap-4 md:gap-6 [.peer+&]:mt-6 md:[.peer+&]:mt-8`},Xe={class:`flex flex-col gap-1 items-start`},Ze={class:`flex gap-1.5`},Qe={key:0,class:`x-badge md bg-gradient-to-r from-top-gradient-0 to-top-gradient-100`},$e={class:`x-badge md`},et={class:`x-heading`},tt=[`id`,`data-active`],nt={class:`flex flex-col gap-3`},Q=[`innerHTML`],rt={class:`flex flex-col gap-3 max-md:order-first`},it=[`innerHTML`],at={key:0},ot={key:1},st={key:2,class:`x-heading xs flex flex-wrap items-center gap-y-1 gap-x-3 mt-3 md:mt-6 pt-3 pb-3 md:pb-6`},ct={key:0},lt={key:1},ut={key:3,class:`x-heading xs md:px-3 pb-3 mt-3 md:mt-6`},dt={key:5,class:`border border-main-tertiary rounded-md py-6 px-3 gap-6 flex flex-col`},ft=[`innerHTML`],pt={key:6,class:`p-3 bg-body rounded-sm mt-3 md:mt-6`},mt={class:`x-title sm mb-2`},ht=[`innerHTML`],$=200,gt=g({__name:`PackageDetailDialogContent`,props:{roomSelect:{type:Boolean,default:!1},editIndex:{type:Number},package:{type:Object},showRooms:{type:Boolean,default:!0},closeButton:{type:Boolean,default:!0}},emits:[`close:dialog`],setup(e,{emit:t}){let r=t,o=e,{t:s,d:l}=S(),u=f(),m=a(!1),g=v(()=>o?.package?.description&&(o?.package?.description?.length>$||o?.package?.description?.length>$)),x=N(),w=z(),T=re(),{data:O}=H(),{data:j}=W();return C(()=>{(O.value?.tracking?.googleGa4||O.value?.tracking?.googleGtm)&&B(`event`,`view_item`,{currency:x.currency,items:[{item_id:o?.package?.id,item_name:o?.package?.name,item_category:`Package`,item_brand:j.value?.chainName,affiliation:j.value?.name,currency:x.currency}]}),O.value?.tracking?.leadhub&&R(`ViewContent`,{products:[{product_id:o?.package?.id}]}),O.value?.tracking?.facebookPixel&&L(`track`,`ViewContent`,{content_ids:[o?.package?.id?.toString()],content_type:`product`,currency:x.currency}),O.value?.tracking?.tiktokPixel&&V.track(`ViewContent`,{content_type:`product`,description:o?.package?.name,content_ids:[o?.package?.id?.toString()??``],currency:x.currency})}),(t,a)=>{let f=F,v=Z,x=ie,S=Te,C=ee,j=P;return c(),E(j,{size:`lg`,class:h([`flex flex-col mt-13.5 p-3 md:p-6`,{"md:px-3 md:pb-3":e.roomSelect}])},{default:i(()=>[e.closeButton?(c(),E(f,{key:0,class:`accent-body-primary shadow-lg sticky top-0 inset-x-0 mx-auto w-fit z-10 -mt-[calc(--spacing(6)+2.625rem)] mb-6 md:-mt-[calc(--spacing(9)+2.625rem)] md:mb-9`,size:`md`,onClick:a[0]||=e=>r(`close:dialog`)},{default:i(()=>[a[3]||=D(`svg`,{"aria-hidden":`true`},[D(`use`,{href:`#icon-x-mark-mini`})],-1),A(` `+_(p(s)(`closeDetail`)),1)]),_:1})):b(``,!0),e.roomSelect?b(``,!0):(c(),E(v,{key:1,class:`peer`,images:e.package?.images},null,8,[`images`])),D(`div`,Ye,[D(`div`,{class:h([`flex max-md:flex-col justify-between gap-4 md:gap-2 md:items-end`,{"md:px-3":e.roomSelect}])},[D(`div`,Xe,[D(`div`,Ze,[e.package?.isFavorite?(c(),y(`div`,Qe,_(p(s)(`mostPopular`)),1)):b(``,!0),D(`div`,$e,_(p(s)(`packageTypes.${e.package?.type?.name}`)),1)]),D(`h2`,et,_(e.package?.name),1)])],2),e.roomSelect?b(``,!0):(c(),y(`div`,{key:0,id:p(u),"data-active":m.value?!0:null,class:h([`flex flex-col p-3 md:p-6 gap-6 md:gap-12 rounded-md border border-main-tertiary md:grid md:grid-cols-2 relative isolate group`,g.value&&[`max-h-70 overflow-clip transition-all`,`data-active:after:opacity-0 data-active:max-h-(--calc-size-fit,none)`,`after:transition-all after:absolute after:inset-x-0 after:bottom-0 after:h-34 after:bg-gradient-to-b`,`after:from-body-primary/0 after:via-body-primary after:to-body-primary`]]),style:{"interpolate-size":`allow-keywords`}},[D(`div`,nt,[D(`div`,{class:`x-text xs`,innerHTML:e.package?.longDescription},null,8,Q)]),D(`div`,rt,[D(`div`,{class:`x-text xs`,innerHTML:e.package?.description},null,8,it)]),a[6]||=D(`hr`,{class:`opacity-0 col-span-full transition-all h-0 group-data-active:h-8`},null,-1),g.value?(c(),E(x,{key:0,size:`md`,class:`accent-main absolute bottom-3 inset-x-0 mx-auto w-fit z-10 group`,style:{"--x-button-background-color-mix":`var(--color-body-primary)`},"aria-expanded":m.value,"aria-controls":p(u),onClick:a[1]||=e=>m.value=!m.value},{default:i(()=>[m.value?(c(),y(`span`,at,_(p(s)(`hideFullDescription`)),1)):(c(),y(`span`,ot,_(p(s)(`showFullDescription`)),1)),a[4]||=D(`svg`,{class:`size-5 group-aria-[expanded=true]:hidden`,"aria-hidden":`true`},[D(`use`,{href:`#icon-plus`})],-1),a[5]||=D(`svg`,{class:`size-5 group-aria-[expanded=false]:hidden`,"aria-hidden":`true`},[D(`use`,{href:`#icon-minus`})],-1)]),_:1},8,[`aria-expanded`,`aria-controls`])):b(``,!0)],10,tt))]),!e.roomSelect&&e.showRooms?(c(),y(`div`,st,[p(w).date.start?(c(),y(`span`,ct,_(p(l)(p(w).date.start.toString(),{dateStyle:`long`,timeZone:p(O)?.timeZone})),1)):b(``,!0),a[7]||=D(`svg`,{"aria-hidden":`true`,class:`size-4 text-main-tertiary -mx-0.5 shrink-0`},[D(`use`,{href:`#icon-arrow-right-micro`})],-1),p(w).date.end?(c(),y(`span`,lt,_(p(l)(p(w).date.end.toString(),{dateStyle:`long`,timeZone:p(O)?.timeZone})),1)):b(``,!0),a[8]||=D(`hr`,{class:`w-px h-3.5 bg-main-tertiary`},null,-1),D(`span`,null,[A(_(p(w).data?.[p(w).activeRoom]?.adults)+` `+_(p(s)(`adultsPlural`,p(w).data?.[p(w).activeRoom]?.adults))+` `,1),p(w).data?.[p(w).activeRoom]?.children?.length>0?(c(),y(k,{key:0},[A(` + `+_(p(w).data?.[p(w).activeRoom]?.children?.length)+` `+_(p(s)(`childrenPlural`,p(w).data?.[p(w).activeRoom]?.children?.length)),1)],64)):b(``,!0)])])):e.showRooms?(c(),y(`div`,ut,_(p(s)(`roomSelection`))+`: `,1)):b(``,!0),!e.package?.disabled&&e.showRooms?(c(),E(S,d(n({key:4},{...o.package})),null,16)):!e.roomSelect&&e.package?.disabled?(c(),y(`div`,dt,[M(C,{class:`accent-error mx-auto`,icon:`#icon-x-mark`}),D(`h2`,{class:`x-heading text-center max-w-87.5 mx-auto`,innerHTML:e.package?.disabledText},null,8,ft),M(f,{size:`md`,class:`accent-main mx-auto`,onClick:a[2]||=t=>p(T).show({defaultPackageId:e.package?.id})},{default:i(()=>[A(_(p(s)(`showPricesAndAvailability`)),1)]),_:1})])):b(``,!0),!e.roomSelect&&e.package?.cancellationPolicy?(c(),y(`div`,pt,[D(`div`,mt,_(p(s)(`cancellationPolicy`)),1),D(`div`,{class:`x-text xs`,innerHTML:e.package?.cancellationPolicy},null,8,ht)])):b(``,!0)]),_:1},8,[`class`])}}});export{J as a,Y as i,Z as n,X as r,gt as t};
@@ -1 +1 @@
1
- import{$ as e,Fn as t,Hn as n,Kn as r,Ln as i,Mn as a,Ot as o,Q as s,Vn as c,X as l,Z as u,bn as d,cn as f,ct as p,et as m,kt as h,lt as g,mn as _}from"./vendor.BGu2qkTq.js";var v=d({__name:`Popover`,props:{as:{default:`div`,type:String},refs:{type:Object}},setup(d,{expose:v}){let y=r(),b=r(!1),x=r(),S=r([]),C=r(),w=d,T=async(t,n,r={})=>{n.classList.remove(n._placement),await u(t,n,{placement:r?.placement??`bottom-end`,middleware:r?.middleware??[e(r?.offset??8),s(r?.flip),m({padding:8,...r?.shift})]}).then(async({x:e,y:t,placement:r})=>{n.getAttribute(`data-computed`)||(n.style.position=`fixed`,n.setAttribute(`data-computed`,`true`)),await h(),Object.assign(n.style,{inset:`${t}px auto auto ${e}px`,position:``}),n._placement=r,n.classList.add(n._placement)})},E=async(e,t,n={})=>{e.ariaExpanded=`true`,y.value?.setAttribute(`data-open`,``),e.ariaHasPopup||=`dialog`,t.role||=e.ariaHasPopup,t.showPopover&&t.showPopover?.(),await h(),t.setAttribute(`data-open`,``),t.inert=!1,b.value=!0,t._cleanup=l(n.anchorElement?n.anchorElement:e,t,async()=>await T(n.anchorElement?n.anchorElement:e,t,n))},D=async(e,t)=>{t.removeAttribute(`data-open`),await o(t),t.style.inset=``,t._cleanup&&t._cleanup(),t.hidePopover&&t.hidePopover?.(),t.removeAttribute(`data-computed`),y.value?.removeAttribute(`data-open`,``),e.ariaExpanded=`false`,t.inert=!0,b.value=!1},O=async(e,t,n={})=>{e.ariaExpanded===`true`?await D(e,t):await E(e,t,n)},k=async()=>{if(!b.value)return;let e=S.value.find(e=>e.ariaExpanded===`true`);e&&await D(e,C.value)};return p(C,k,{ignore:S}),c(()=>w?.refs,e=>{e&&(C.value=g(e.popoverTarget),x.value=g(e.popoverTrigger),x.value&&(Array.isArray(x.value)?S.value.push(...x.value):S.value.push(x.value)))}),v({hidePopover:D,open:b}),(e,r)=>(a(),_(i(d.as),{ref_key:`root`,ref:y,class:`x-popover`,onKeydown:f(k,[`esc`])},{default:n(()=>[t(e.$slots,`default`,{showPopover:E,hidePopover:D,togglePopover:O})]),_:3},544))}});export{v as t};
1
+ import{$ as e,Fn as t,Hn as n,Kn as r,Ln as i,Mn as a,Ot as o,Q as s,Vn as c,X as l,Z as u,bn as d,cn as f,ct as p,et as m,kt as h,lt as g,mn as _}from"./vendor.Do_VFRcJ.js";var v=d({__name:`Popover`,props:{as:{default:`div`,type:String},refs:{type:Object}},setup(d,{expose:v}){let y=r(),b=r(!1),x=r(),S=r([]),C=r(),w=d,T=async(t,n,r={})=>{n.classList.remove(n._placement),await u(t,n,{placement:r?.placement??`bottom-end`,middleware:r?.middleware??[e(r?.offset??8),s(r?.flip),m({padding:8,...r?.shift})]}).then(async({x:e,y:t,placement:r})=>{n.getAttribute(`data-computed`)||(n.style.position=`fixed`,n.setAttribute(`data-computed`,`true`)),await h(),Object.assign(n.style,{inset:`${t}px auto auto ${e}px`,position:``}),n._placement=r,n.classList.add(n._placement)})},E=async(e,t,n={})=>{e.ariaExpanded=`true`,y.value?.setAttribute(`data-open`,``),e.ariaHasPopup||=`dialog`,t.role||=e.ariaHasPopup,t.showPopover&&t.showPopover?.(),await h(),t.setAttribute(`data-open`,``),t.inert=!1,b.value=!0,t._cleanup=l(n.anchorElement?n.anchorElement:e,t,async()=>await T(n.anchorElement?n.anchorElement:e,t,n))},D=async(e,t)=>{t.removeAttribute(`data-open`),await o(t),t.style.inset=``,t._cleanup&&t._cleanup(),t.hidePopover&&t.hidePopover?.(),t.removeAttribute(`data-computed`),y.value?.removeAttribute(`data-open`,``),e.ariaExpanded=`false`,t.inert=!0,b.value=!1},O=async(e,t,n={})=>{e.ariaExpanded===`true`?await D(e,t):await E(e,t,n)},k=async()=>{if(!b.value)return;let e=S.value.find(e=>e.ariaExpanded===`true`);e&&await D(e,C.value)};return p(C,k,{ignore:S}),c(()=>w?.refs,e=>{e&&(C.value=g(e.popoverTarget),x.value=g(e.popoverTrigger),x.value&&(Array.isArray(x.value)?S.value.push(...x.value):S.value.push(x.value)))}),v({hidePopover:D,open:b}),(e,r)=>(a(),_(i(d.as),{ref_key:`root`,ref:y,class:`x-popover`,onKeydown:f(k,[`esc`])},{default:n(()=>[t(e.$slots,`default`,{showPopover:E,hidePopover:D,togglePopover:O})]),_:3},544))}});export{v as t};
@@ -1 +1 @@
1
- import{Hn as e,Kn as t,Mn as n,Rn as r,Un as i,Xn as a,Zn as o,at as s,bn as c,dn as l,er as u,gn as d,hn as f,jt as p,ln as m,mn as h,on as g,pn as _,pt as v,tt as y,un as b,vn as x,wn as S,yn as C}from"./vendor.hO2fYZhy.js";import{t as w}from"./Field.BXufwr4B.js";import{t as T}from"./Control.BJcNbGb_.js";import{c as E}from"./client.T5Px7Q15.js";import{t as D}from"./config.5TeOFwa3.js";import{n as O,t as k}from"./ControlTelCountryCode.BV2zANBM.js";import{t as A}from"./patterns.BmO4lxbY.js";import{r as j}from"./calendarFlexibleDialog.Cqt35vGT.js";import{t as ee}from"./ButtonMuted.CmtusFQv.js";import{n as M,r as te,t as N}from"./dateFormatter.BQpLwk6L.js";import{t as P}from"./Popover.L-SYUclw.js";var F={class:`grid grid-cols-2 gap-3`},I=[`popovertarget`,`onClick`],L={class:`x-title h-10.5 flex items-center justify-center bg-primary text-primary-foreground rounded-t-md`},R={class:o([`x-title sm font-medium flex flex-col items-center gap-1 pt-4 pb-3.25 outline outline-main-tertiary rounded-b-md`,`-outline-offset-1 transition group-hover:outline-primary group-hover:bg-primary/15 md:max-lg:[.x-header_&]:py-8`])},z={class:`x-heading lg`},B={class:`capitalize`},V=[`popovertarget`,`onClick`],H={class:`x-title h-10.5 flex items-center justify-center bg-primary text-primary-foreground rounded-t-md`},U={class:o([`x-title sm font-medium flex flex-col items-center gap-1 pt-4 pb-3.25 outline outline-main-tertiary rounded-b-md`,`-outline-offset-1 transition group-hover:outline-primary group-hover:bg-primary/15 md:max-lg:[.x-header_&]:py-8`])},W={class:`x-heading lg`},G={class:`capitalize`},K=[`id`],q=c({__name:`DateCalendar`,props:{start:{type:String},end:{type:String}},emits:[`update:modelValue`],setup(i,{emit:o}){let{t:c,locale:l}=p(),d=v(j.lg),f=o,g=i,b=t(),x=r(),S=t(),w=t(),T=t(),E=t({start:s(g.start),end:s(g.end)}),D=t(E.value.start.set({day:1}).toString()),O=t(E.value.start.set({day:1}).add({months:d.value?2:1,days:-1}).toString()),k=e=>{D.value=e.set({day:1}).toString(),O.value=e.set({day:1}).add({months:d.value?2:1,days:-1}).toString()},A=e=>{E.value.start=e.start,E.value.end=e.end,f(`update:modelValue`,e),setTimeout(()=>{let e=b.value.$el.querySelector(`[popovertargetaction="toggle"][aria-expanded="true"]`);e&&b.value.hidePopover(e,T.value)},150)};return(t,r)=>{let i=M,o=P;return n(),h(o,{ref_key:`root`,ref:b,refs:{popoverTarget:T.value,popoverTrigger:[S.value,w.value]},class:`x-header-calendar w-full @container`},{default:e(({togglePopover:e})=>[_(`div`,F,[_(`button`,{ref_key:`popoverTriggerArrival`,ref:S,class:`flex flex-col group`,popovertargetaction:`toggle`,popovertarget:a(x),onClick:m(t=>e(S.value,T.value,{anchorElement:b.value.$el,placement:`bottom-start`}),[`prevent`])},[_(`span`,L,u(a(c)(`arrival`)),1),_(`span`,R,[_(`span`,z,u(E.value.start?.day),1),_(`span`,B,u(a(N)(a(l),{month:`long`}).format(a(y)(E.value.start)))+` `+u(E.value.start?.year),1)])],8,I),_(`button`,{ref_key:`popoverTriggerDeparture`,ref:w,class:`flex flex-col group`,popovertargetaction:`toggle`,popovertarget:a(x),onClick:m(t=>e(w.value,T.value,{anchorElement:b.value.$el,placement:`bottom-start`}),[`prevent`])},[_(`span`,H,u(a(c)(`departure`)),1),_(`span`,U,[_(`span`,W,u(E.value.end?.day),1),_(`span`,G,u(a(N)(a(l),{month:`long`}).format(a(y)(E.value.end)))+` `+u(E.value.end?.year),1)])],8,V)]),_(`div`,{id:a(x),ref_key:`popoverTarget`,ref:T,popover:`manual`,class:`x-popover-content flex flex-col border border-main-tertiary shadow-lg p-6 rounded-md w-full max-w-[100cqw] lg:max-w-144`,inert:``},[C(i,{defaultValue:E.value,defaultValueImmediate:!0,"onUpdate:validModelValue":A,"onUpdate:placeholder":k},null,8,[`defaultValue`])],8,K)]),_:1},8,[`refs`])}}}),J={class:`x-reservation-edit-info p-6 md:p-12 bg-body-primary rounded-xl`},Y={class:`x-heading mb-6`},X={class:`grid md:grid-cols-2 lg:flex lg:justify-between gap-3 md:gap-6`},Z={class:`flex gap-4`},Q={class:`flex flex-col gap-1`},ne={class:`x-title sm font-medium`},re={key:0,class:`x-title`},ie={class:`flex gap-4`},ae={class:`flex flex-col gap-1`},oe={class:`x-title sm font-medium`},se={class:`x-title`},ce={class:`flex gap-4`},le={class:`flex flex-col gap-1`},ue={class:`x-title sm font-medium`},de={class:`x-title`},fe={class:`flex gap-4`},pe={class:`flex flex-col gap-1`},me={class:`x-title sm font-medium`},he={class:`x-title`},ge={key:0,class:`flex justify-between flex-wrap gap-4 my-6 pt-6 border-t border-t-main-tertiary`},_e={class:`x-heading`},ve={key:1,class:`flex gap-6 max-md:flex-col`},ye={key:1,class:`grid md:grid-cols-2 gap-3 grow`},be=[`id`],xe=[`for`],Se=[`id`],Ce=[`for`],we={class:`x-group rounded-sm w-full`},Te=[`id`,`pattern`],Ee=[`for`],De=[`id`],$=[`for`],Oe={class:`grid md:grid-cols-3 gap-[inherit] col-span-full`},ke=[`id`],Ae=[`for`],je=[`id`],Me=[`for`],Ne=c({__name:`ReservationEditInfo`,props:{guest:{type:[Object,null]},accommodation:{type:[Object,null]},checkInDate:{type:String},checkOutDate:{type:String},edit:{type:Boolean,default:!0}},setup(r){let{t:o,d:s}=p(),{data:c}=D(),m=E(),v=S(`shadowRoot`),y=t(),j=e=>{m.order.accommodation.checkInDate=e.start?.toString(),m.order.accommodation.checkOutDate=e.end?.toString()};return(t,p)=>{let S=ee,E=te,D=q,M=T,N=w,P=k,F=O;return n(),d(`div`,J,[_(`h1`,Y,u(a(o)(`yourReservation`)),1),_(`ul`,X,[_(`li`,Z,[p[9]||=_(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`},[_(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[_(`use`,{href:`#icon-clock-mini`})])],-1),_(`div`,Q,[_(`div`,ne,u(a(o)(`dateOfStay`)),1),r.accommodation?.checkInDate&&r.accommodation?.checkOutDate?(n(),d(`div`,re,u(a(s)(r.accommodation?.checkInDate,{timeZone:a(c)?.timeZone}))+` – `+u(a(s)(r.accommodation?.checkOutDate,{timeZone:a(c)?.timeZone})),1)):f(``,!0)])]),_(`li`,ie,[p[10]||=_(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`},[_(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[_(`use`,{href:`#icon-user-group-mini`})])],-1),_(`div`,ae,[_(`div`,oe,u(a(o)(`guests`)),1),_(`div`,se,[x(u(r.accommodation?.totalAdults)+` `+u(a(o)(`adultsPlural`,r.accommodation?.totalAdults??0))+` `,1),r.accommodation?.totalChildren>0?(n(),d(b,{key:0},[x(` + `+u(r.accommodation?.totalChildren)+` `+u(a(o)(`childrenPlural`,r.accommodation?.totalChildren))+` (`+u(r.accommodation?.rooms?.flatMap(e=>(e.children??[]).map(e=>e.age)).join(`,`))+`) `,1)],64)):f(``,!0)])])]),_(`li`,ce,[p[11]||=_(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`},[_(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[_(`use`,{href:`#icon-bed-mini`})])],-1),_(`div`,le,[_(`div`,ue,u(a(o)(`numberOfRooms`)),1),_(`div`,de,u(r.accommodation?.totalRooms),1)])]),_(`li`,fe,[p[12]||=_(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`},[_(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[_(`use`,{href:`#icon-moon-mini`})])],-1),_(`div`,pe,[_(`div`,me,u(a(o)(`numberOfNights`)),1),_(`div`,he,u(r.accommodation?.totalNights),1)])])]),r.edit?(n(),d(`div`,ge,[_(`h2`,_e,u(a(o)(`changeDateData`)),1),C(S,{size:`md`,class:`accent-error`,onClick:p[0]||=e=>y.value.root.show()},{default:e(()=>[x(u(a(o)(`cancelReservation`)),1)]),_:1}),(n(),h(l,{to:a(v)},[r.accommodation?.isCancelable?(n(),h(E,{key:0,ref_key:`reservationEditDialog`,ref:y,email:r.guest?.email,code:r.accommodation?.code,cancel:!0},null,8,[`email`,`code`])):f(``,!0)],8,[`to`]))])):f(``,!0),r.edit?(n(),d(`div`,ve,[r.checkInDate&&r.checkOutDate?(n(),h(D,{key:0,class:`md:max-w-67.5 self-start`,start:r.checkInDate,end:r.checkOutDate,"onUpdate:modelValue":j},null,8,[`start`,`end`])):f(``,!0),a(m).order.guest?(n(),d(`div`,ye,[C(N,null,{default:e(()=>[C(M,{size:`md`},{default:e(({uid:e})=>[i(_(`input`,{id:e,"onUpdate:modelValue":p[1]||=e=>a(m).order.guest.firstName=e,name:`firstName`,type:`text`,placeholder:` `,autocomplete:`given-name`,required:``},null,8,be),[[g,a(m).order.guest.firstName]]),_(`label`,{for:e},u(a(o)(`name`)),9,xe)]),_:1})]),_:1}),C(N,null,{default:e(()=>[C(M,{size:`md`},{default:e(({uid:e})=>[i(_(`input`,{id:e,"onUpdate:modelValue":p[2]||=e=>a(m).order.guest.lastName=e,name:`lastName`,type:`text`,placeholder:` `,autocomplete:`family-name`,required:``},null,8,Se),[[g,a(m).order.guest.lastName]]),_(`label`,{for:e},u(a(o)(`surname`)),9,Ce)]),_:1})]),_:1}),C(N,null,{default:e(()=>[_(`div`,we,[C(P,{modelValue:a(m).order.guest.telCountryCode,"onUpdate:modelValue":p[3]||=e=>a(m).order.guest.telCountryCode=e},null,8,[`modelValue`]),C(M,{class:`grow`,size:`md`},{default:e(({uid:e})=>[i(_(`input`,{id:e,"onUpdate:modelValue":p[4]||=e=>a(m).order.guest.telNational=e,name:`telNational`,type:`tel`,pattern:a(A).telNational,placeholder:` `,autocomplete:`tel-national`,required:``},null,8,Te),[[g,a(m).order.guest.telNational]]),_(`label`,{for:e},u(a(o)(`tel`)),9,Ee)]),_:1})])]),_:1}),C(N,null,{default:e(()=>[C(M,{size:`md`},{default:e(({uid:e})=>[i(_(`input`,{id:e,"onUpdate:modelValue":p[5]||=e=>a(m).order.guest.street=e,name:`street`,type:`text`,placeholder:` `,autocomplete:`street-address`,required:``},null,8,De),[[g,a(m).order.guest.street]]),_(`label`,{for:e},u(a(o)(`address`)),9,$)]),_:1})]),_:1}),_(`div`,Oe,[C(N,null,{default:e(()=>[C(M,{size:`md`},{default:e(({uid:e})=>[i(_(`input`,{id:e,"onUpdate:modelValue":p[6]||=e=>a(m).order.guest.city=e,type:`text`,name:`city`,autocomplete:`address-level2`,placeholder:` `,required:``},null,8,ke),[[g,a(m).order.guest.city]]),_(`label`,{for:e},u(a(o)(`city`)),9,Ae)]),_:1})]),_:1}),C(N,null,{default:e(()=>[C(M,{size:`md`},{default:e(({uid:e})=>[i(_(`input`,{id:e,"onUpdate:modelValue":p[7]||=e=>a(m).order.guest.postalCode=e,type:`text`,name:`postalCode`,autocomplete:`postal-code`,placeholder:` `,required:``},null,8,je),[[g,a(m).order.guest.postalCode]]),_(`label`,{for:e},u(a(o)(`postalCode`)),9,Me)]),_:1})]),_:1}),C(N,null,{default:e(()=>[C(F,{modelValue:a(m).order.guest.country,"onUpdate:modelValue":p[8]||=e=>a(m).order.guest.country=e,name:`country`},null,8,[`modelValue`])]),_:1})])])):f(``,!0)])):f(``,!0)])}}});export{Ne as t};
1
+ import{Hn as e,Kn as t,Mn as n,Rn as r,Un as i,Xn as a,Zn as o,at as s,bn as c,dn as l,er as u,gn as d,hn as f,jt as p,ln as m,mn as h,on as g,pn as _,pt as v,tt as y,un as b,vn as x,wn as S,yn as C}from"./vendor.Do_VFRcJ.js";import{t as w}from"./Field.DZCcYz7P.js";import{t as T}from"./Control.CSebJLvO.js";import{c as E}from"./client.MaZPHh6g.js";import{t as D}from"./config.CL0QsYzP.js";import{n as O,t as k}from"./ControlTelCountryCode.3_jmbYhg.js";import{t as A}from"./patterns.BawwaaO4.js";import{r as j}from"./calendarFlexibleDialog.BPPiKocL.js";import{t as ee}from"./ButtonMuted.CPrNWjHf.js";import{n as M,r as te,t as N}from"./dateFormatter.Bn_XV_PD.js";import{t as P}from"./Popover.AS3bvD-d.js";var F={class:`grid grid-cols-2 gap-3`},I=[`popovertarget`,`onClick`],L={class:`x-title h-10.5 flex items-center justify-center bg-primary text-primary-foreground rounded-t-md`},R={class:o([`x-title sm font-medium flex flex-col items-center gap-1 pt-4 pb-3.25 outline outline-main-tertiary rounded-b-md`,`-outline-offset-1 transition group-hover:outline-primary group-hover:bg-primary/15 md:max-lg:[.x-header_&]:py-8`])},z={class:`x-heading lg`},B={class:`capitalize`},V=[`popovertarget`,`onClick`],H={class:`x-title h-10.5 flex items-center justify-center bg-primary text-primary-foreground rounded-t-md`},U={class:o([`x-title sm font-medium flex flex-col items-center gap-1 pt-4 pb-3.25 outline outline-main-tertiary rounded-b-md`,`-outline-offset-1 transition group-hover:outline-primary group-hover:bg-primary/15 md:max-lg:[.x-header_&]:py-8`])},W={class:`x-heading lg`},G={class:`capitalize`},K=[`id`],q=c({__name:`DateCalendar`,props:{start:{type:String},end:{type:String}},emits:[`update:modelValue`],setup(i,{emit:o}){let{t:c,locale:l}=p(),d=v(j.lg),f=o,g=i,b=t(),x=r(),S=t(),w=t(),T=t(),E=t({start:s(g.start),end:s(g.end)}),D=t(E.value.start.set({day:1}).toString()),O=t(E.value.start.set({day:1}).add({months:d.value?2:1,days:-1}).toString()),k=e=>{D.value=e.set({day:1}).toString(),O.value=e.set({day:1}).add({months:d.value?2:1,days:-1}).toString()},A=e=>{E.value.start=e.start,E.value.end=e.end,f(`update:modelValue`,e),setTimeout(()=>{let e=b.value.$el.querySelector(`[popovertargetaction="toggle"][aria-expanded="true"]`);e&&b.value.hidePopover(e,T.value)},150)};return(t,r)=>{let i=M,o=P;return n(),h(o,{ref_key:`root`,ref:b,refs:{popoverTarget:T.value,popoverTrigger:[S.value,w.value]},class:`x-header-calendar w-full @container`},{default:e(({togglePopover:e})=>[_(`div`,F,[_(`button`,{ref_key:`popoverTriggerArrival`,ref:S,class:`flex flex-col group`,popovertargetaction:`toggle`,popovertarget:a(x),onClick:m(t=>e(S.value,T.value,{anchorElement:b.value.$el,placement:`bottom-start`}),[`prevent`])},[_(`span`,L,u(a(c)(`arrival`)),1),_(`span`,R,[_(`span`,z,u(E.value.start?.day),1),_(`span`,B,u(a(N)(a(l),{month:`long`}).format(a(y)(E.value.start)))+` `+u(E.value.start?.year),1)])],8,I),_(`button`,{ref_key:`popoverTriggerDeparture`,ref:w,class:`flex flex-col group`,popovertargetaction:`toggle`,popovertarget:a(x),onClick:m(t=>e(w.value,T.value,{anchorElement:b.value.$el,placement:`bottom-start`}),[`prevent`])},[_(`span`,H,u(a(c)(`departure`)),1),_(`span`,U,[_(`span`,W,u(E.value.end?.day),1),_(`span`,G,u(a(N)(a(l),{month:`long`}).format(a(y)(E.value.end)))+` `+u(E.value.end?.year),1)])],8,V)]),_(`div`,{id:a(x),ref_key:`popoverTarget`,ref:T,popover:`manual`,class:`x-popover-content flex flex-col border border-main-tertiary shadow-lg p-6 rounded-md w-full max-w-[100cqw] lg:max-w-144`,inert:``},[C(i,{defaultValue:E.value,defaultValueImmediate:!0,"onUpdate:validModelValue":A,"onUpdate:placeholder":k},null,8,[`defaultValue`])],8,K)]),_:1},8,[`refs`])}}}),J={class:`x-reservation-edit-info p-6 md:p-12 bg-body-primary rounded-xl`},Y={class:`x-heading mb-6`},X={class:`grid md:grid-cols-2 lg:flex lg:justify-between gap-3 md:gap-6`},Z={class:`flex gap-4`},Q={class:`flex flex-col gap-1`},ne={class:`x-title sm font-medium`},re={key:0,class:`x-title`},ie={class:`flex gap-4`},ae={class:`flex flex-col gap-1`},oe={class:`x-title sm font-medium`},se={class:`x-title`},ce={class:`flex gap-4`},le={class:`flex flex-col gap-1`},ue={class:`x-title sm font-medium`},de={class:`x-title`},fe={class:`flex gap-4`},pe={class:`flex flex-col gap-1`},me={class:`x-title sm font-medium`},he={class:`x-title`},ge={key:0,class:`flex justify-between flex-wrap gap-4 my-6 pt-6 border-t border-t-main-tertiary`},_e={class:`x-heading`},ve={key:1,class:`flex gap-6 max-md:flex-col`},ye={key:1,class:`grid md:grid-cols-2 gap-3 grow`},be=[`id`],xe=[`for`],Se=[`id`],Ce=[`for`],we={class:`x-group rounded-sm w-full`},Te=[`id`,`pattern`],Ee=[`for`],De=[`id`],$=[`for`],Oe={class:`grid md:grid-cols-3 gap-[inherit] col-span-full`},ke=[`id`],Ae=[`for`],je=[`id`],Me=[`for`],Ne=c({__name:`ReservationEditInfo`,props:{guest:{type:[Object,null]},accommodation:{type:[Object,null]},checkInDate:{type:String},checkOutDate:{type:String},edit:{type:Boolean,default:!0}},setup(r){let{t:o,d:s}=p(),{data:c}=D(),m=E(),v=S(`shadowRoot`),y=t(),j=e=>{m.order.accommodation.checkInDate=e.start?.toString(),m.order.accommodation.checkOutDate=e.end?.toString()};return(t,p)=>{let S=ee,E=te,D=q,M=T,N=w,P=k,F=O;return n(),d(`div`,J,[_(`h1`,Y,u(a(o)(`yourReservation`)),1),_(`ul`,X,[_(`li`,Z,[p[9]||=_(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`},[_(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[_(`use`,{href:`#icon-clock-mini`})])],-1),_(`div`,Q,[_(`div`,ne,u(a(o)(`dateOfStay`)),1),r.accommodation?.checkInDate&&r.accommodation?.checkOutDate?(n(),d(`div`,re,u(a(s)(r.accommodation?.checkInDate,{timeZone:a(c)?.timeZone}))+` – `+u(a(s)(r.accommodation?.checkOutDate,{timeZone:a(c)?.timeZone})),1)):f(``,!0)])]),_(`li`,ie,[p[10]||=_(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`},[_(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[_(`use`,{href:`#icon-user-group-mini`})])],-1),_(`div`,ae,[_(`div`,oe,u(a(o)(`guests`)),1),_(`div`,se,[x(u(r.accommodation?.totalAdults)+` `+u(a(o)(`adultsPlural`,r.accommodation?.totalAdults??0))+` `,1),r.accommodation?.totalChildren>0?(n(),d(b,{key:0},[x(` + `+u(r.accommodation?.totalChildren)+` `+u(a(o)(`childrenPlural`,r.accommodation?.totalChildren))+` (`+u(r.accommodation?.rooms?.flatMap(e=>(e.children??[]).map(e=>e.age)).join(`,`))+`) `,1)],64)):f(``,!0)])])]),_(`li`,ce,[p[11]||=_(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`},[_(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[_(`use`,{href:`#icon-bed-mini`})])],-1),_(`div`,le,[_(`div`,ue,u(a(o)(`numberOfRooms`)),1),_(`div`,de,u(r.accommodation?.totalRooms),1)])]),_(`li`,fe,[p[12]||=_(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`},[_(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[_(`use`,{href:`#icon-moon-mini`})])],-1),_(`div`,pe,[_(`div`,me,u(a(o)(`numberOfNights`)),1),_(`div`,he,u(r.accommodation?.totalNights),1)])])]),r.edit?(n(),d(`div`,ge,[_(`h2`,_e,u(a(o)(`changeDateData`)),1),C(S,{size:`md`,class:`accent-error`,onClick:p[0]||=e=>y.value.root.show()},{default:e(()=>[x(u(a(o)(`cancelReservation`)),1)]),_:1}),(n(),h(l,{to:a(v)},[r.accommodation?.isCancelable?(n(),h(E,{key:0,ref_key:`reservationEditDialog`,ref:y,email:r.guest?.email,code:r.accommodation?.code,cancel:!0},null,8,[`email`,`code`])):f(``,!0)],8,[`to`]))])):f(``,!0),r.edit?(n(),d(`div`,ve,[r.checkInDate&&r.checkOutDate?(n(),h(D,{key:0,class:`md:max-w-67.5 self-start`,start:r.checkInDate,end:r.checkOutDate,"onUpdate:modelValue":j},null,8,[`start`,`end`])):f(``,!0),a(m).order.guest?(n(),d(`div`,ye,[C(N,null,{default:e(()=>[C(M,{size:`md`},{default:e(({uid:e})=>[i(_(`input`,{id:e,"onUpdate:modelValue":p[1]||=e=>a(m).order.guest.firstName=e,name:`firstName`,type:`text`,placeholder:` `,autocomplete:`given-name`,required:``},null,8,be),[[g,a(m).order.guest.firstName]]),_(`label`,{for:e},u(a(o)(`name`)),9,xe)]),_:1})]),_:1}),C(N,null,{default:e(()=>[C(M,{size:`md`},{default:e(({uid:e})=>[i(_(`input`,{id:e,"onUpdate:modelValue":p[2]||=e=>a(m).order.guest.lastName=e,name:`lastName`,type:`text`,placeholder:` `,autocomplete:`family-name`,required:``},null,8,Se),[[g,a(m).order.guest.lastName]]),_(`label`,{for:e},u(a(o)(`surname`)),9,Ce)]),_:1})]),_:1}),C(N,null,{default:e(()=>[_(`div`,we,[C(P,{modelValue:a(m).order.guest.telCountryCode,"onUpdate:modelValue":p[3]||=e=>a(m).order.guest.telCountryCode=e},null,8,[`modelValue`]),C(M,{class:`grow`,size:`md`},{default:e(({uid:e})=>[i(_(`input`,{id:e,"onUpdate:modelValue":p[4]||=e=>a(m).order.guest.telNational=e,name:`telNational`,type:`tel`,pattern:a(A).telNational,placeholder:` `,autocomplete:`tel-national`,required:``},null,8,Te),[[g,a(m).order.guest.telNational]]),_(`label`,{for:e},u(a(o)(`tel`)),9,Ee)]),_:1})])]),_:1}),C(N,null,{default:e(()=>[C(M,{size:`md`},{default:e(({uid:e})=>[i(_(`input`,{id:e,"onUpdate:modelValue":p[5]||=e=>a(m).order.guest.street=e,name:`street`,type:`text`,placeholder:` `,autocomplete:`street-address`,required:``},null,8,De),[[g,a(m).order.guest.street]]),_(`label`,{for:e},u(a(o)(`address`)),9,$)]),_:1})]),_:1}),_(`div`,Oe,[C(N,null,{default:e(()=>[C(M,{size:`md`},{default:e(({uid:e})=>[i(_(`input`,{id:e,"onUpdate:modelValue":p[6]||=e=>a(m).order.guest.city=e,type:`text`,name:`city`,autocomplete:`address-level2`,placeholder:` `,required:``},null,8,ke),[[g,a(m).order.guest.city]]),_(`label`,{for:e},u(a(o)(`city`)),9,Ae)]),_:1})]),_:1}),C(N,null,{default:e(()=>[C(M,{size:`md`},{default:e(({uid:e})=>[i(_(`input`,{id:e,"onUpdate:modelValue":p[7]||=e=>a(m).order.guest.postalCode=e,type:`text`,name:`postalCode`,autocomplete:`postal-code`,placeholder:` `,required:``},null,8,je),[[g,a(m).order.guest.postalCode]]),_(`label`,{for:e},u(a(o)(`postalCode`)),9,Me)]),_:1})]),_:1}),C(N,null,{default:e(()=>[C(F,{modelValue:a(m).order.guest.country,"onUpdate:modelValue":p[8]||=e=>a(m).order.guest.country=e,name:`country`},null,8,[`modelValue`])]),_:1})])])):f(``,!0)])):f(``,!0)])}}});export{Ne as t};
@@ -1 +1 @@
1
- import{Dn as e,Hn as t,Kn as n,Mn as r,bn as i,mn as a,yn as o}from"./vendor.hO2fYZhy.js";import{n as s}from"./DialogContent.kPndQa9E.js";import{t as c}from"./RoomDetailDialogContent.BNRSW008.js";var l=i({__name:`RoomDetailDialog`,props:{room:{type:Object},editIndex:{type:Number}},setup(i,{expose:l}){let u=i,d=n();return l({root:d}),(n,i)=>{let l=c,f=s;return r(),a(f,{ref_key:`root`,ref:d},{default:t(()=>[o(l,e(u,{"onClose:dialog":i[0]||=e=>d.value?.close()}),null,16)]),_:1},512)}}});export{l as t};
1
+ import{Dn as e,Hn as t,Kn as n,Mn as r,bn as i,mn as a,yn as o}from"./vendor.Do_VFRcJ.js";import{n as s}from"./DialogContent.BDyFs5O2.js";import{t as c}from"./RoomDetailDialogContent.-DlkNVAB.js";var l=i({__name:`RoomDetailDialog`,props:{room:{type:Object},editIndex:{type:Number}},setup(i,{expose:l}){let u=i,d=n();return l({root:d}),(n,i)=>{let l=c,f=s;return r(),a(f,{ref_key:`root`,ref:d},{default:t(()=>[o(l,e(u,{"onClose:dialog":i[0]||=e=>d.value?.close()}),null,16)]),_:1},512)}}});export{l as t};
@@ -0,0 +1 @@
1
+ import{Bn as e,Dn as t,Hn as n,Kn as r,Ln as i,Mn as a,Nn as o,Pn as s,Rn as c,Vn as l,Xn as u,Zn as d,bn as f,d as p,er as m,f as h,gn as g,hn as _,jt as v,kn as y,ln as b,mn as x,p as S,pn as C,pt as w,u as T,un as E,vn as D,wn as O,yn as k}from"./vendor.Do_VFRcJ.js";import{t as A}from"./params.CKLHNS06.js";import{n as j,t as M}from"./DialogContent.BDyFs5O2.js";import{t as N}from"./Button.Bi4uv-lE.js";import{f as P,m as F,o as I,p as L,y as R}from"./client.MaZPHh6g.js";import{t as z}from"./config.CL0QsYzP.js";import{t as B}from"./_plugin-vue_export-helper.BZ8SKbXu.js";import{t as V}from"./Circle.DOeW1c4e.js";import{i as H,r as ee,t as U}from"./calendarFlexibleDialog.BPPiKocL.js";import{t as W}from"./ButtonBordered.BTIgYtld.js";import{t as te}from"./formatPrice.BkMw7JGC.js";import{t as ne}from"./Popover.AS3bvD-d.js";import{t as G}from"./hotel.DRLrihvI.js";import{a as K,n as q,r as J,t as re}from"./PackageDetailDialogContent.BVm6elV1.js";var Y=f({__name:`PackageDetailDialog`,props:{roomSelect:{type:Boolean,default:!1},editIndex:{type:Number},package:{type:Object}},setup(e,{expose:i}){let o=e,s=r();return i({root:s}),(e,r)=>{let i=re,c=j;return a(),x(c,{ref_key:`root`,ref:s},{default:n(()=>[k(i,t(o,{"onClose:dialog":r[0]||=e=>s.value?.close()}),null,16)]),_:1},512)}}}),X={class:`x-room-rates-item p-3 border rounded-md flex lg:items-center relative border-main-tertiary @container max-lg:flex-wrap bg-body-primary`},ie={key:0,class:`x-image before:skeleton shrink-0 mr-3`},ae=[`src`,`alt`],oe={class:`flex flex-col gap-2 lg:max-w-[50%] max-lg:flex-1`},se={class:`x-title flex items-baseline gap-0.5`},ce={class:`x-title sm font-medium flex items-baseline gap-1`},le={class:`flex items-center gap-2 lg:gap-4 lg:justify-end lg:ml-auto max-lg:mt-5 max-lg:w-full`},ue={key:0,class:`x-title sm font-medium text-main-secondary`},de=f({__name:`RoomRatesItemPackage`,props:{room:{type:Object}},setup(e){let i=O(`shadowRoot`),{t:s,n:c}=v(),l=A(),{data:d}=z(),{data:f}=G(),p=r(),h=O(`roomDetailDialog`),y=r(),b=r({roomSelect:!1,edit:!1});return o(`packageDetailDialog`,y),(r,o)=>{let v=K,S=N,w=H,T=Y;return a(),g(E,null,[C(`div`,X,[e.room?.package?.images?.[0]?.[`1x`]?(a(),g(`div`,ie,[C(`img`,{src:e.room?.package?.images?.[0]?.[`1x`],loading:`lazy`,alt:e.room?.package?.images?.[0]?.alt,width:`64`,height:`64`,class:`size-16 object-cover`},null,8,ae)])):_(``,!0),C(`div`,oe,[C(`div`,se,m(e.room?.package?.name),1),C(`div`,ce,[C(`button`,{class:`x-link text-primary underline transition hocus:text-accent-alt`,onClick:o[0]||=e=>[b.value={roomSelect:!1,edit:!1},y.value.root.show()]},m(u(s)(`showPackageDetail`)),1)])]),C(`div`,le,[k(v,{prices:e.room?.prices},null,8,[`prices`]),e.room?.prices?.finalPriceExtraBeds&&e.room?.prices?.finalPriceExtraBeds>0?(a(),g(`div`,ue,` + `+m(u(c)(e.room?.prices.finalPriceExtraBeds,`decimal`))+` `+m(u(l).currency),1)):_(``,!0)]),e.room?.prices?.finalPrice||u(d)?.allowSuperPromo?(a(),x(S,{key:1,size:`md`,class:`lg:ml-13.5 max-lg:mt-3 max-lg:w-full`,onClick:o[1]||=t=>u(J)({entity:`Package`,room:e.room?.package?.rooms?.find(t=>t.id===e.room?.id),package:e.room?.package,description:`${u(s)(`room`)}: ${e.room?.name}`},{errorDialog:p.value,roomDetailDialog:u(h),editIndex:u(h)?.$props?.editIndex,hotel:u(f),config:u(d),shadowRoot:u(i)})},{default:n(()=>[D(m(u(s)(`book`)),1)]),_:1})):_(``,!0),k(w,{ref_key:`errorDialog`,ref:p,status:`error`,heading:u(s)(`weAreSorry`),text:u(s)(`roomCannotBeBooked`)},null,8,[`heading`,`text`])]),k(T,t({...b.value,package:e.room?.package},{ref_key:`packageDetailDialog`,ref:y}),null,16)],64)}}}),fe={key:0,class:`x-badge sm absolute left-3 -top-1.5 bg-gradient-to-r from-top-gradient-0 to-top-gradient-100`},pe={class:`flex flex-col gap-1`},me={class:`x-title flex items-baseline gap-0.5`},he={key:0,class:`x-title xs`},ge={key:1,class:`x-badge accent-main ml-1.5`},_e={key:0},ve={class:`x-title sm font-medium flex items-baseline flex-wrap gap-1`},ye=[`popovertarget`,`onClick`],be={class:`flex items-center gap-2 lg:gap-4 lg:justify-end lg:ml-auto max-lg:items-end max-lg:mt-4`},xe=[`title`],Se=[`aria-label`],Ce={key:1,class:`x-title sm font-medium text-main-secondary flex items-center gap-1`},we=[`id`],Te={key:0,class:`x-title sm mb-1.5 not-first:mt-4`},Ee=[`innerHTML`],De={key:2,class:`x-title sm mb-1.5 not-first:mt-4`},Oe=[`innerHTML`],ke=f({__name:`RoomRatesItem`,props:{rate:{type:Object},room:{type:Object}},setup(e){let t=O(`shadowRoot`),o=e,{t:s,n:l}=v(),f=w(ee.touch),y=r(),j=A(),M=I(),{data:P}=z(),{data:F}=G(),L=r(),R=c(),B=r(),V=r(),U=r(o.rate?.prices?.finalPriceExtraBeds>0?`${o.rate?.name} (+${s(`extraBed`)})`:o.rate?.name),W=r(),q=O(`roomDetailDialog`);return(r,o)=>{let c=K,v=N,w=H,O=ne;return a(),x(O,{ref_key:`root`,ref:L,refs:{popoverTrigger:B.value,popoverTarget:V.value},class:`@container group/popover`},{default:n(({togglePopover:r})=>[o[4]||=C(`div`,{class:`fixed inset-0 bg-dark/50 z-20 pointer-events-none transition opacity-0 group-data-open/popover:opacity-100`},null,-1),C(`div`,{class:d([`x-room-rates-item p-3 border rounded-md flex lg:items-center relative @container max-lg:flex-col bg-body-primary`,[`duration-300 transition-[z-index] group-data-open/popover:z-20 group-has-aria-[expanded=false]/popover:transition-discrete`,{"border-error":e.rate?.isFavorite,"border-main":e.rate?.isPrivate,"border-main-tertiary":!e.rate?.isFavorite&&!e.rate?.isPrivate}]])},[e.rate?.isFavorite?(a(),g(`div`,fe,m(u(s)(`mostPopular`)),1)):_(``,!0),C(`div`,pe,[C(`div`,me,[D(m(e.rate?.name)+` `,1),e.rate?.prices?.finalPriceExtraBeds>0?(a(),g(`div`,he,` (+`+m(u(s)(`extraBed`))+`) `,1)):_(``,!0),e.rate?.isPrivate?(a(),g(`div`,ge,[D(m(u(s)(`privateOffer`))+` `,1),e.rate.loginRequired?(a(),g(`span`,_e,`- `+m(u(s)(`doLogin`)),1)):_(``,!0)])):_(``,!0)]),C(`div`,ve,[e.rate?.priceType===`refundable`?(a(),g(E,{key:0},[D(m(u(s)(`withMoneyRefund`)),1)],64)):e.rate?.priceType===`nonrefundable`?(a(),g(E,{key:1},[D(m(u(s)(`withoutMoneyRefund`)),1)],64)):e.rate?.priceType===`semirefundable`?(a(),g(E,{key:2},[D(m(u(s)(`withSemiMoneyRefund`)),1)],64)):_(``,!0),C(`button`,{ref_key:`popoverTrigger`,ref:B,class:`x-link text-primary underline transition hocus:text-accent-alt`,popovertargetaction:`toggle`,popovertarget:u(R),onClick:b(e=>r(B.value,V.value,{anchorElement:L.value.$el,offset:4}),[`prevent`])},m(u(s)(`showOfferDetail`)),9,ye)])]),C(`div`,be,[k(c,{prices:e.rate?.prices},null,8,[`prices`]),e.rate?.prices?.finalPriceExtraBeds&&e.rate?.prices?.finalPriceExtraBeds>0?(a(),g(`div`,{key:0,class:`flex flex-col gap-1.5 items-end`,title:u(s)(`extraBed`)},[e.rate?.prices?.originalPriceExtraBeds&&e.rate?.prices?.originalPriceExtraBeds>0&&e.rate?.prices?.finalPriceExtraBeds!==e.rate?.prices?.originalPriceExtraBeds?(a(),g(`del`,{key:0,class:`x-title sm font-medium text-main-secondary flex items-center gap-2`,"aria-label":u(s)(`originalPrice`)},` + `+m(u(l)(e.rate?.prices.originalPriceExtraBeds,`decimal`))+` `+m(u(j).currency),9,Se)):_(``,!0),(a(),x(i(e.rate?.prices?.finalPriceExtraBeds===e.rate?.prices?.originalPriceExtraBeds?`div`:`ins`),{class:`x-title sm font-medium text-main-secondary`,"aria-label":u(s)(`price`)},{default:n(()=>[D(` + `+m(u(l)(e.rate?.prices.finalPriceExtraBeds,`decimal`))+` `+m(u(j).currency),1)]),_:1},8,[`aria-label`]))],8,xe)):_(``,!0),e.rate?.isPrivate&&!u(P)?.localFeeIncluded&&u(j).showPrivateRateLocalFee?(a(),g(`div`,Ce,[D(` + `+m(u(l)(u(P)?.localFeeValue*(u(M).data?.[u(M).activeRoom]?.adults??NaN)*u(M).totalNights,`decimal`))+` `+m(u(j).currency)+` `,1),k(u(S),{open:y.value},{default:n(()=>[k(u(T),{"as-child":``,onMouseenter:o[0]||=e=>u(f)&&(y.value=!0),onMouseleave:o[1]||=e=>u(f)&&(y.value=!1)},{default:n(()=>[...o[3]||=[C(`svg`,{class:`size-4 text-primary cursor-default rounded-full outline-0 -outline-offset-1 outline-primary focus-visible:outline-2`},[C(`use`,{href:`#icon-information-circle`})],-1)]]),_:1}),k(u(p),{to:u(t)},{default:n(()=>[k(u(h),{sideOffset:4,side:`bottom`,class:`x-popover-content tooltip shadow`},{default:n(()=>[D(m(u(s)(`localFeeRateInfo`,[u(te)(u(P)?.localFeeValue*(u(M).data?.[u(M).activeRoom]?.adults??NaN)*u(M).totalNights,u(j).currency)])),1)]),_:1})]),_:1},8,[`to`])]),_:1},8,[`open`])])):_(``,!0)]),e.rate?.loginRequired?(a(),x(v,{key:2,to:`/login`,size:`md`,class:`lg:ml-[var(--x-room-rate-item-button-ml,3.5cqw)] max-lg:mt-3`},{default:n(()=>[D(m(u(s)(`signin`)),1)]),_:1})):(a(),g(E,{key:1},[e.rate?.prices?.finalPrice||u(P)?.allowSuperPromo?(a(),x(v,{key:0,size:`md`,class:`lg:ml-[var(--x-room-rate-item-button-ml,3.5cqw)] max-lg:mt-3`,onClick:o[2]||=n=>u(J)({entity:`Room`,rate:e.rate,room:e.room,description:U.value},{editIndex:u(q)?.$props?.editIndex,errorDialog:W.value,roomDetailDialog:u(q),hotel:u(F),config:u(P),shadowRoot:u(t)})},{default:n(()=>[D(m(u(s)(`book`)),1)]),_:1})):_(``,!0)],64)),k(w,{ref_key:`errorDialog`,ref:W,status:`error`,heading:u(s)(`weAreSorry`),text:u(s)(`roomCannotBeBooked`)},null,8,[`heading`,`text`])],2),C(`div`,{id:u(R),ref_key:`popoverTarget`,ref:V,class:`x-popover-content p-6 border-0 border-main-tertiary shadow-lg bottom bottom-start w-[100cqw]`,popover:`manual`,inert:``},[e.rate?.description?(a(),g(`div`,Te,m(u(s)(`rateDescription`)),1)):_(``,!0),e.rate?.description?(a(),g(`div`,{key:1,class:`x-text xs`,innerHTML:e.rate?.description},null,8,Ee)):_(``,!0),e.rate?.cancellationPolicy?(a(),g(`div`,De,m(u(s)(`cancellationPolicy`)),1)):_(``,!0),e.rate?.cancellationPolicy?(a(),g(`div`,{key:3,class:`x-text xs`,innerHTML:e.rate?.cancellationPolicy},null,8,Oe)):_(``,!0)],8,we)]),_:1},8,[`refs`])}}}),Ae={class:`x-room-rates`},je={key:0,class:`flex flex-col`},Me={class:`x-title sm flex items-center gap-1 pt-2 pb-1.5`},Z=f({__name:`RoomRates`,props:{room:{type:Object},defaultMaximumRates:{type:Number}},setup(e){let t=e,{data:i}=z(),o=r(i.value?.showNumberOfRates===0?1/0:t.defaultMaximumRates??i.value?.showNumberOfRates),c=r(t.defaultMaximumRates??o.value??1/0),{t:l}=v();return(t,r)=>{let i=ke,o=de,d=W;return a(),g(`div`,Ae,[(a(!0),g(E,null,s(e.room?.rates,(t,n)=>(a(),g(E,{key:t.id},[n+1<=c.value?(a(),x(i,{key:0,room:e.room,rate:t},null,8,[`room`,`rate`])):_(``,!0)],64))),128)),e.room?.package?(a(),g(`div`,je,[C(`div`,Me,[r[1]||=C(`svg`,{"aria-hidden":`true`,class:`size-6 text-primary`},[C(`use`,{href:`#icon-packages`})],-1),D(` `+m(u(l)(`dontMissOutPackageDeal`)),1)]),k(o,{room:e.room},null,8,[`room`])])):_(``,!0),e.room?.rates?.length>c.value?(a(),x(d,{key:1,size:`md`,class:`self-center mt-4.5 max-md:mb-4.5`,onClick:r[0]||=e=>c.value=1/0},{default:n(()=>[D(m(u(l)(`showAllRates`))+` `,1),r[2]||=C(`svg`,{"aria-hidden":`true`},[C(`use`,{href:`#icon-plus`})],-1)]),_:1})):_(``,!0)])}}}),Ne=f({__name:`Svg`,props:{src:{type:String}},setup(t){let n=t,r=e(`host`);async function i(e){let t=await(await fetch(e)).text(),n=new DOMParser().parseFromString(t,`text/html`).body.firstElementChild;!r.value||!n||(r.value.setAttribute(`viewBox`,n?.getAttribute(`viewBox`)??``),r.value.innerHTML=n.innerHTML)}return y(()=>i(n.src)),l(()=>n.src,e=>i(e)),(e,t)=>(a(),g(`svg`,{ref_key:`host`,ref:r},null,512))}}),Pe={},Fe={viewBox:`0 0 512 512`,class:`size-6`};function Ie(e,t){return a(),g(`svg`,Fe,[...t[0]||=[C(`path`,{class:`fill-error`,d:`m325.7 6.6993c-20.154-3.6626-40.553-6.0621-58.79-6.529-5.2664-0.13484-10.354-0.11197-15.205 0.08123h-0.0429c-63.368-0.3116-164.21 15.986-210.98 91.022l-0.0042 8e-3c-50.948 78.109-48.148 194.08-23.666 280.29 8.2163 26.444 25.721 62.635 46.477 81.665v2e-3h0.0021c29.547 27.327 64.439 43.238 107.47 51.432l8e-3 2e-3c59.032 8.0651 120.43 12.136 177.43-2.7262 29.595-8.1412 58.426-20.799 83.477-38.648l2e-3 -2e-3 4e-3 -2e-3c27.176-18.781 44.419-44.723 56.189-75.569l2e-3 -2e-3v-4e-3c11.88-30.075 20.074-62.162 23.107-94.439 1.1e-4 -2e-3 -9e-5 -4e-3 0-6e-3 3.3456-64.047-1.9605-165.29-44.695-214.38l-4e-3 -0.0042c-16.938-19.932-51.297-47.772-82.269-57.52l-8e-3 -0.0042c-14.974-4.9979-32.384-9.0457-49.811-12.566-3.018-0.61165-5.6534-1.5504-8.6904-2.1046z`},null,-1),C(`path`,{class:`fill-body-primary origin-[center_bottom] animate-[outer-flicker_0.5s_ease-in-out_infinite]`,d:`m286.03 111c0.97194 26.124-4.4053 50.055-13.471 68.071-9.2127 18.309-22.21 30.565-36.213 32.709h-2e-3l-2e-3 2e-3c-15.643 2.8675-36.629-4.4745-47.232-18.965l-2e-3 -2e-3c-3.9293-5.113-6.3795-10.466-7.9094-15.341-1.9724-6.2869-2.3904-11.696-2.4806-14.865-28.534 30.023-54.752 82.441-47.67 131.88v2e-3c1.6227 11.577 5.2543 22.901 10.59 34.406l6e-3 0.0143 6e-3 0.0144c17.415 44.558 59.986 63.352 91.905 69.896 27.112 5.5535 61.438 0.54134 85.074-15.427 39.41-26.621 68.481-69.853 62.785-114.54v-2e-3l-2e-3 -4e-3c-3.5163-30.74-12.132-60.378-33.024-89.349-9.1499-12.693-21.504-26.115-34.745-40.276-12.739-13.327-21.233-22.054-27.613-28.222z`,fill:`#fff`},null,-1),C(`path`,{class:`fill-error origin-[center_bottom] animate-[inner-flicker_0.5s_ease-in-out_infinite]`,d:`m296.28 339.3c0 24.085-18.07 43.687-40.287 43.687-22.217 0-40.287-19.602-40.287-43.687 0-18.008 21.295-49.452 32.752-66.339 2.4782-3.6613 4.8195-7.1358 5.3052-8.1072 0.1868-0.78456 0.73475-1.4446 1.4695-1.7186 0.90909-0.36114 1.9427-0.0498 2.5529 0.78457 1.5816 2.1046 38.506 52.043 38.506 75.393z`},null,-1)]])}var Q=B(Pe,[[`render`,Ie]]),Le={class:`flex flex-col gap-4 md:gap-6 [.peer+&]:mt-6 md:[.peer+&]:mt-8`},Re={class:`flex max-md:flex-col justify-between gap-4 md:gap-2 md:items-end`},ze={class:`flex flex-col gap-1 md:gap-2`},Be={key:0,class:`x-title sm flex items-center gap-2.5 text-error`},Ve={key:1,class:`x-heading`},$={class:`x-title sm font-medium flex items-center`},He={key:0,class:`flex items-center gap-1.5`},Ue={key:1,class:`flex items-center gap-1.5`},We={class:`flex flex-col p-3 md:p-6 gap-6 md:gap-12 rounded-md border border-main-tertiary md:grid md:grid-cols-[54.5%_1fr]`},Ge=[`innerHTML`],Ke={class:`x-title sm font-medium flex flex-col [&>li]:flex [&>li]:gap-4 [&>li]:items-center gap-4`},qe={key:1,class:`x-heading xs flex flex-wrap items-center gap-y-1 gap-x-3 mt-3 md:mt-6 pt-3 pb-3 md:pb-6`},Je={key:0},Ye={key:1},Xe={key:3,class:`border border-main-tertiary rounded-md py-6 px-3 gap-6 flex flex-col`},Ze=[`innerHTML`],Qe={key:4,class:`p-3 bg-body rounded-sm mt-3 md:mt-6`},$e={class:`x-title sm mb-2`},et=[`innerHTML`],tt=f({__name:`RoomDetailDialogContent`,props:{room:{type:Object},editIndex:{type:Number},closeButton:{type:Boolean,default:!0},showRates:{type:Boolean,default:!0},cancellationPolicy:{type:String}},emits:[`close:dialog`],setup(e,{emit:t}){let r=t,i=e,{t:o,d:c}=v(),l=A(),d=I(),f=U(),{data:p}=z(),{data:h}=G();return y(()=>{(p.value?.tracking?.googleGa4||p.value?.tracking?.googleGtm)&&L(`event`,`view_item`,{currency:l.currency,items:[{item_id:i?.room?.id,item_name:i?.room?.name,item_category:`Room`,item_brand:h.value?.chainName,affiliation:h.value?.name,currency:l.currency}]}),p.value?.tracking?.leadhub&&F(`ViewContent`,{products:[{product_id:i?.room?.id}]}),p.value?.tracking?.facebookPixel&&P(`track`,`ViewContent`,{content_ids:[i?.room?.id?.toString()],content_type:`product`,currency:l.currency}),p.value?.tracking?.tiktokPixel&&R.track(`ViewContent`,{content_type:`product`,description:i?.room?.name,content_ids:[i?.room?.id?.toString()??``],currency:l.currency})}),(t,l)=>{let h=N,v=q,y=Q,b=Ne,S=Z,w=V,T=M;return a(),x(T,{size:`lg`,class:`flex flex-col mt-13.5 p-3 md:p-6`},{default:n(()=>[e.closeButton?(a(),x(h,{key:0,class:`accent-body-primary shadow-lg sticky top-0 inset-x-0 mx-auto w-fit z-10 -mt-[calc(--spacing(6)+2.625rem)] mb-6 md:-mt-[calc(--spacing(9)+2.625rem)] md:mb-9`,size:`md`,onClick:l[0]||=e=>r(`close:dialog`)},{default:n(()=>[l[2]||=C(`svg`,{"aria-hidden":`true`},[C(`use`,{href:`#icon-x-mark-mini`})],-1),D(` `+m(u(o)(`closeDetail`)),1)]),_:1})):_(``,!0),k(v,{class:`peer`,images:e.room?.images},null,8,[`images`]),C(`div`,Le,[C(`div`,Re,[C(`div`,ze,[e.room?.availableCount&&!e.room?.disabled&&e.room?.availableCount<=u(p)?.numberOfRoomsRemaining&&u(p)?.showRoomsRemaining?(a(),g(`div`,Be,[k(y),D(` `+m(u(o)(`roomNthRemaining`,e.room?.availableCount)),1)])):_(``,!0),e.room?.name?(a(),g(`h2`,Ve,m(e.room?.name),1)):_(``,!0)]),C(`div`,$,[e.room?.maxPersons?(a(),g(`div`,He,[l[3]||=C(`svg`,{"aria-hidden":`true`,class:`text-primary`},[C(`use`,{href:`#icon-users`})],-1),D(` `+m(u(o)(`max`))+` `+m(e.room?.maxPersons),1)])):_(``,!0),l[5]||=C(`hr`,{class:`w-px h-5 text-main/15 mx-4`},null,-1),e.room?.sizeRoom?(a(),g(`div`,Ue,[l[4]||=C(`svg`,{"aria-hidden":`true`,class:`text-primary`},[C(`use`,{href:`#icon-arrows-pointing-out`})],-1),C(`span`,null,m(u(o)(`min`))+` `+m(e.room?.sizeRoom)+` m²`,1)])):_(``,!0)])]),C(`div`,We,[e.room?.description?(a(),g(`div`,{key:0,class:`x-text xs`,innerHTML:e.room?.description},null,8,Ge)):_(``,!0),C(`ul`,Ke,[(a(!0),g(E,null,s(e.room?.amenities,e=>(a(),g(`li`,{key:e.id},[k(b,{class:`size-5 shrink-0 fill-none **:!stroke-accent`,"aria-hidden":`true`,src:e.image},null,8,[`src`]),D(` `+m(e.name),1)]))),128))])])]),e.showRates?(a(),g(`div`,qe,[u(d).date.start?(a(),g(`span`,Je,m(u(c)(u(d).date.start.toString(),{dateStyle:`long`,timeZone:u(p)?.timeZone})),1)):_(``,!0),l[6]||=C(`svg`,{"aria-hidden":`true`,class:`size-4 text-main-tertiary -mx-0.5 shrink-0`},[C(`use`,{href:`#icon-arrow-right-micro`})],-1),u(d).date.end?(a(),g(`span`,Ye,m(u(c)(u(d).date.end.toString(),{dateStyle:`long`,timeZone:u(p)?.timeZone})),1)):_(``,!0),l[7]||=C(`hr`,{class:`w-px h-3.5 bg-main-tertiary`},null,-1),C(`span`,null,[D(m(u(d).data?.[u(d).activeRoom]?.adults)+` `+m(u(o)(`adultsPlural`,u(d).data?.[u(d).activeRoom]?.adults))+` `,1),u(d).data?.[u(d).activeRoom]?.children.length>0?(a(),g(E,{key:0},[D(` + `+m(u(d).data?.[u(d).activeRoom]?.children.length)+` `+m(u(o)(`childrenPlural`,u(d).data?.[u(d).activeRoom]?.children?.length)),1)],64)):_(``,!0)])])):_(``,!0),!e.room?.disabled&&e.showRates?(a(),x(S,{key:2,room:i.room,"default-maximum-rates":1/0,class:`flex flex-col gap-3 md:gap-1.5`},null,8,[`room`])):e.room?.disabled?(a(),g(`div`,Xe,[k(w,{class:`accent-error mx-auto`,icon:`#icon-x-mark`}),e.room?.disabledText?(a(),g(`h2`,{key:0,class:`x-heading text-center max-w-87.5 mx-auto`,innerHTML:e.room?.disabledText},null,8,Ze)):_(``,!0),k(h,{size:`md`,class:`accent-main mx-auto`,onClick:l[1]||=t=>u(f).show({defaultRoomId:e.room?.id})},{default:n(()=>[D(m(u(o)(`showPricesAndAvailability`)),1)]),_:1})])):_(``,!0),e.cancellationPolicy?(a(),g(`div`,Qe,[C(`div`,$e,m(u(o)(`cancellationPolicy`)),1),C(`div`,{class:`x-text xs`,innerHTML:e.cancellationPolicy},null,8,et)])):_(``,!0)]),_:1})}}});export{Y as i,Q as n,Z as r,tt as t};
@@ -1 +1 @@
1
- import{Hn as e,In as t,Kn as n,Mn as r,Pn as i,Xn as a,bn as o,er as s,gn as c,hn as l,jt as u,mn as d,pn as f,un as p,vn as m,yn as h}from"./vendor.n_snLx4J.js";import{t as g}from"./Button.DjXcbhf2.js";import{c as _,o as v}from"./client.BkI9CFDA.js";import{r as y}from"./account.Dd-61vSX.js";import{n as b,t as x}from"./calendarFlexibleDialog.CCPmtYUa.js";import{i as S}from"./calendar.5axckObs.js";import{t as C}from"./ButtonBorderedThin.N-mFWnxL.js";import{t as w}from"./fancybox.CjHAUL-W.js";var T={class:`x-aside-availability p-4 px-3 md:p-6 rounded-xl bg-body-primary flex flex-col gap-3`},E={class:`x-title sm font-medium`},D=o({__name:`AsideAvailability`,props:{type:{default:`rooms`,type:String}},setup(t){let{t:n}=u(),i=x();return(o,l)=>{let u=C;return r(),c(`div`,T,[f(`div`,E,s(a(n)(`flexibleAvailabilityTitle`)),1),h(u,{size:`lg`,class:`gap-2 pl-2 justify-start`,onClick:l[0]||=e=>a(i).show({type:t.type})},{default:e(()=>[l[1]||=f(`svg`,{"aria-hidden":`true`,class:`size-10 text-primary`},[f(`use`,{href:`#icon-calendar-availability-solid`})],-1),m(` `+s(a(n)(`pricesAndAvailability`)),1)]),_:1})])}}}),O={class:`flex flex-col gap-1`},k={class:`x-title xs`},A={class:`x-title transition group-hocus:text-primary group-focus-visible:underline`},j=o({__name:`AsideAccountAuthenticated`,setup(n){let{t:i}=u(),{data:o}=y();return(n,c)=>{let l=t(`RouterLink`);return r(),d(l,{class:`x-aside-account p-4 px-3 md:py-5 md:px-6 bg-accent/15 rounded-xl flex gap-3 group`,to:`/account/orders`},{default:e(()=>[c[0]||=f(`svg`,{"aria-hidden":`true`,class:`size-10 p-2.5 bg-primary text-primary-foreground rounded-sm`},[f(`use`,{href:`#icon-user-mini`})],-1),f(`span`,O,[f(`span`,k,s(a(i)(`helloGoodDay`))+`, `,1),f(`span`,A,s(a(o)?.firstName)+` `+s(a(o)?.lastName),1)])]),_:1})}}}),M={class:`flex flex-col gap-1`},N={class:`x-title xs`},P={class:`x-title transition group-hocus:text-primary group-focus-visible:underline`},F=o({__name:`AsideAccount`,setup(n){let{t:i}=u();return(n,o)=>{let c=t(`RouterLink`);return r(),d(c,{class:`x-aside-account p-4 px-3 md:py-5 md:px-6 bg-body-primary rounded-xl flex gap-3 group items-center`,to:`/login`},{default:e(()=>[o[0]||=f(`svg`,{"aria-hidden":`true`,class:`size-10 p-2.5 bg-body rounded-sm`,viewBox:`0 0 20 20`,fill:`none`},[f(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M7.50004 3.75C7.63584 3.75003 7.76794 3.79429 7.87635 3.87608C7.98475 3.95788 8.06357 4.07275 8.10087 4.20333L8.77837 6.575C8.92425 7.08577 9.19791 7.55092 9.57352 7.92652C9.94912 8.30213 10.4143 8.57579 10.925 8.72167L13.2967 9.39917C13.4272 9.43655 13.542 9.5154 13.6237 9.6238C13.7054 9.7322 13.7496 9.86426 13.7496 10C13.7496 10.1357 13.7054 10.2678 13.6237 10.3762C13.542 10.4846 13.4272 10.5635 13.2967 10.6008L10.925 11.2783C10.4143 11.4242 9.94912 11.6979 9.57352 12.0735C9.19791 12.4491 8.92425 12.9142 8.77837 13.425L8.10087 15.7967C8.06349 15.9272 7.98464 16.0419 7.87624 16.1236C7.76784 16.2054 7.63578 16.2496 7.50004 16.2496C7.36429 16.2496 7.23224 16.2054 7.12384 16.1236C7.01544 16.0419 6.93659 15.9272 6.8992 15.7967L6.2217 13.425C6.07583 12.9142 5.80217 12.4491 5.42656 12.0735C5.05095 11.6979 4.5858 11.4242 4.07504 11.2783L1.70337 10.6008C1.57288 10.5635 1.4581 10.4846 1.37639 10.3762C1.29468 10.2678 1.25049 10.1357 1.25049 10C1.25049 9.86426 1.29468 9.7322 1.37639 9.6238C1.4581 9.5154 1.57288 9.43655 1.70337 9.39917L4.07504 8.72167C4.5858 8.57579 5.05095 8.30213 5.42656 7.92652C5.80217 7.55092 6.07583 7.08577 6.2217 6.575L6.8992 4.20333C6.93651 4.07275 7.01532 3.95788 7.12373 3.87608C7.23214 3.79429 7.36423 3.75003 7.50004 3.75ZM15 1.25C15.1395 1.24992 15.2749 1.29647 15.3848 1.38224C15.4948 1.46801 15.5729 1.58807 15.6067 1.72333L15.8217 2.58667C16.0184 3.37 16.63 3.98167 17.4134 4.17833L18.2767 4.39333C18.4122 4.4269 18.5326 4.50488 18.6186 4.61483C18.7047 4.72479 18.7514 4.86038 18.7514 5C18.7514 5.13962 18.7047 5.27521 18.6186 5.38517C18.5326 5.49512 18.4122 5.5731 18.2767 5.60667L17.4134 5.82167C16.63 6.01833 16.0184 6.63 15.8217 7.41333L15.6067 8.27667C15.5731 8.41219 15.4952 8.53257 15.3852 8.61861C15.2753 8.70465 15.1397 8.7514 15 8.7514C14.8604 8.7514 14.7248 8.70465 14.6149 8.61861C14.5049 8.53257 14.4269 8.41219 14.3934 8.27667L14.1784 7.41333C14.0822 7.02869 13.8833 6.67742 13.603 6.39706C13.3226 6.11671 12.9713 5.91782 12.5867 5.82167L11.7234 5.60667C11.5878 5.5731 11.4675 5.49512 11.3814 5.38517C11.2954 5.27521 11.2486 5.13962 11.2486 5C11.2486 4.86038 11.2954 4.72479 11.3814 4.61483C11.4675 4.50488 11.5878 4.4269 11.7234 4.39333L12.5867 4.17833C12.9713 4.08218 13.3226 3.88329 13.603 3.60294C13.8833 3.32258 14.0822 2.97131 14.1784 2.58667L14.3934 1.72333C14.4272 1.58807 14.5053 1.46801 14.6152 1.38224C14.7252 1.29647 14.8606 1.24992 15 1.25ZM13.75 12.5C13.8813 12.4999 14.0093 12.5412 14.1158 12.6179C14.2223 12.6946 14.3019 12.803 14.3434 12.9275L14.6717 13.9133C14.7967 14.2858 15.0884 14.5792 15.4617 14.7033L16.4475 15.0325C16.5717 15.0742 16.6796 15.1538 16.756 15.2601C16.8325 15.3664 16.8736 15.4941 16.8736 15.625C16.8736 15.7559 16.8325 15.8836 16.756 15.9899C16.6796 16.0962 16.5717 16.1758 16.4475 16.2175L15.4617 16.5467C15.0892 16.6717 14.7959 16.9633 14.6717 17.3367L14.3425 18.3225C14.3009 18.4466 14.2212 18.5546 14.1149 18.631C14.0086 18.7075 13.881 18.7486 13.75 18.7486C13.6191 18.7486 13.4915 18.7075 13.3851 18.631C13.2788 18.5546 13.1992 18.4466 13.1575 18.3225L12.8284 17.3367C12.767 17.1527 12.6637 16.9856 12.5265 16.8485C12.3894 16.7114 12.2223 16.6081 12.0384 16.5467L11.0525 16.2175C10.9284 16.1758 10.8205 16.0962 10.744 15.9899C10.6676 15.8836 10.6265 15.7559 10.6265 15.625C10.6265 15.4941 10.6676 15.3664 10.744 15.2601C10.8205 15.1538 10.9284 15.0742 11.0525 15.0325L12.0384 14.7033C12.4109 14.5783 12.7042 14.2867 12.8284 13.9133L13.1575 12.9275C13.199 12.8031 13.2785 12.6949 13.3848 12.6182C13.4911 12.5414 13.6189 12.5001 13.75 12.5Z`,fill:`currentColor`})],-1),f(`span`,M,[f(`span`,N,s(a(i)(`forExclusiveOffers`)),1),f(`span`,P,s(a(i)(`openPrivateAccount`)),1)])]),_:1})}}}),I=[`href`],L=[`src`,`srcset`,`alt`],R=[`data-active`],z=o({__name:`RoomCarousel`,props:{images:{type:Array}},setup(t){let{t:o}=u(),s=n(),l=n(),m=n(),_=n(),v=n(),y=w(),x=()=>v.value?.children?[...v.value.children].indexOf(v?.value.querySelector(`[data-active]`)):0;return(n,u)=>{let C=S,w=g,T=b;return r(),d(T,{ref_key:`rootElement`,ref:s,refs:{contentElement:l.value,prevElement:m.value,nextElement:_.value,paginationElement:v.value},class:`x-carousel relative lg:max-w-[24rem] xl:max-w-[31.125rem] group`},{default:e(({scrollCarousel:n,setScrollPos:d,scrollPrev:g,scrollNext:b})=>[h(C,{ref_key:`contentElement`,ref:l,class:`rounded-md`,onScroll:e=>[n(l.value.$el,{pagination:{element:v.value}}),d()]},{default:e(()=>[(r(!0),c(p,null,i((t.images||[]).slice(0,10),(e,t)=>(r(),c(`a`,{key:t,class:`x-image w-full before:skeleton before:block cursor-pointer`,"data-fancybox":`gallery`,href:e?.[`3x`]},[f(`img`,{class:`aspect-4/3 rounded-none object-cover`,src:e?.[`1x`],srcset:`${e?.[`1x`]} 1x, ${e?.[`2x`]} 2x`,loading:`lazy`,alt:e?.alt},null,8,L)],8,I))),128))]),_:1},8,[`onScroll`]),f(`div`,{ref_key:`paginationElement`,ref:v,class:`x-carousel-dots absolute bottom-3 inset-x-3 flex justify-center gap-2.25`,"aria-hidden":`true`},[(r(!0),c(p,null,i((t.images||[]).slice(0,10),(e,t)=>(r(),c(`div`,{key:t,ref_for:!0,ref:`paginationItem`,class:`size-1.5 rounded-full bg-light/40 relative before:-inset-1 before:absolute cursor-pointer transition data-active:bg-light`,"data-active":t===0?!0:null},null,8,R))),128))],512),h(w,{variant:`circle`,class:`accent-black bg-black/10 hover:bg-black/30 backdrop-blur-md absolute inset-0 m-auto scale-50 opacity-0 group-hover:opacity-100 group-hover:scale-100`,"aria-label":a(o)(`showPreview`),onClick:u[0]||=e=>a(y).show(s.value.$el,x())},{default:e(()=>[...u[1]||=[f(`svg`,{"aria-hidden":`true`,class:`size-5.5`},[f(`use`,{href:`#icon-magnifying-glass-mini`})],-1)]]),_:1},8,[`aria-label`]),h(w,{ref_key:`prevElement`,ref:m,variant:`circle`,class:`accent-black bg-black/10 hover:bg-black/30 backdrop-blur-md absolute left-3 top-1/2 -mt-6 opacity-0 group-hover:opacity-100 disabled:opacity-0`,disabled:``,"aria-label":a(o)(`previous`),onClick:e=>g()},{default:e(()=>[...u[2]||=[f(`svg`,{"aria-hidden":`true`,class:`size-6`},[f(`use`,{href:`#icon-chevron-left-mini`})],-1)]]),_:1},8,[`aria-label`,`onClick`]),h(w,{ref_key:`nextElement`,ref:_,variant:`circle`,class:`accent-black bg-black/10 hover:bg-black/30 backdrop-blur-md absolute right-3 top-1/2 -mt-6 opacity-0 group-hover:opacity-100 disabled:opacity-0`,"aria-label":a(o)(`next`),onClick:e=>b()},{default:e(()=>[...u[3]||=[f(`svg`,{"aria-hidden":`true`,class:`size-6`},[f(`use`,{href:`#icon-chevron-right-mini`})],-1)]]),_:1},8,[`aria-label`,`onClick`])]),_:1},8,[`refs`])}}}),B={key:0,class:`x-room-select p-3 lg:p-6 bg-body-primary rounded-md flex flex-col gap-2 lg:gap-1.75`},V=[`data-active`],H={class:`flex max-lg:flex-col max-lg:gap-1.5 lg:items-center grow`},U={class:`x-title max-lg:xs lg:sm grow max-w-[10.125rem]`},W={class:`x-title sm flex items-center gap-2 lg:gap-3`},G={key:0,class:`x-title sm text-primary`},K=[`onClick`],q={class:`max-lg:hidden`},J={key:2,"aria-hidden":`true`,class:`size-7 shrink-0 p-1 bg-success text-light rounded-full ml-3 lg:ml-6`},Y=o({__name:`RoomSelect`,setup(e){let{t}=u(),n=v(),o=_();return(e,u)=>a(n).data.length>1?(r(),c(`div`,B,[(r(!0),c(p,null,i(a(n).data,(e,i)=>(r(),c(p,{key:i},[i===0||e.selected||i===a(n).activeRoom?(r(),c(`div`,{key:0,"data-active":i===a(n).activeRoom?`true`:void 0,class:`border border-transparent p-3 rounded-md h-16.5 flex items-center data-active:border-primary`},[f(`div`,H,[f(`div`,U,[e.selected?(r(),c(p,{key:1},[m(s(a(t)(`roomNthSelected`,i+1)),1)],64)):(r(),c(p,{key:0},[m(s(a(t)(`roomNthSelect`,i+1)),1)],64))]),f(`div`,W,[u[0]||=f(`svg`,{"aria-hidden":`true`,class:`size-5 lg:size-7 shrink-0 lg:p-1 lg:bg-primary lg:text-primary-foreground max-lg:text-primary rounded-full`},[f(`use`,{href:`#icon-user-mini`})],-1),m(` `+s(e.adults)+` `+s(a(t)(`adultsPlural`,e.adults))+` `,1),e.children.length>0?(r(),c(p,{key:0},[m(` + `+s(e.children.length)+` `+s(a(t)(`childrenPlural`,e.children.length)),1)],64)):l(``,!0)])]),i===a(n).activeRoom&&!e.selected?(r(),c(`div`,G,s(a(t)(`currentlySelecting`)),1)):(r(),c(`button`,{key:1,class:`x-title sm flex items-center gap-1.5 transition hocus:text-primary`,onClick:e=>a(o).removeAccommodationItemFromCart(i)},[u[1]||=f(`svg`,{"aria-hidden":`true`,class:`size-4`},[f(`use`,{href:`#icon-pencil-micro`})],-1),f(`span`,q,s(a(t)(`roomEdit`)),1)],8,K)),e.selected?(r(),c(`svg`,J,[...u[2]||=[f(`use`,{href:`#icon-check`},null,-1)]])):l(``,!0)],8,V)):l(``,!0)],64))),128))])):l(``,!0)}});export{D as a,j as i,z as n,F as r,Y as t};
1
+ import{Hn as e,In as t,Kn as n,Mn as r,Pn as i,Xn as a,bn as o,er as s,gn as c,hn as l,jt as u,mn as d,pn as f,un as p,vn as m,yn as h}from"./vendor.Do_VFRcJ.js";import{t as g}from"./Button.Bi4uv-lE.js";import{c as _,o as v}from"./client.MaZPHh6g.js";import{r as y}from"./account.DFwU1TOn.js";import{n as b,t as x}from"./calendarFlexibleDialog.BPPiKocL.js";import{i as S}from"./calendar.sVbQ5o_M.js";import{t as C}from"./ButtonBorderedThin.CYLFI4uR.js";import{t as w}from"./fancybox.BR8b-4ax.js";var T={class:`x-aside-availability p-4 px-3 md:p-6 rounded-xl bg-body-primary flex flex-col gap-3`},E={class:`x-title sm font-medium`},D=o({__name:`AsideAvailability`,props:{type:{default:`rooms`,type:String}},setup(t){let{t:n}=u(),i=x();return(o,l)=>{let u=C;return r(),c(`div`,T,[f(`div`,E,s(a(n)(`flexibleAvailabilityTitle`)),1),h(u,{size:`lg`,class:`gap-2 pl-2 justify-start`,onClick:l[0]||=e=>a(i).show({type:t.type})},{default:e(()=>[l[1]||=f(`svg`,{"aria-hidden":`true`,class:`size-10 text-primary`},[f(`use`,{href:`#icon-calendar-availability-solid`})],-1),m(` `+s(a(n)(`pricesAndAvailability`)),1)]),_:1})])}}}),O={class:`flex flex-col gap-1`},k={class:`x-title xs`},A={class:`x-title transition group-hocus:text-primary group-focus-visible:underline`},j=o({__name:`AsideAccountAuthenticated`,setup(n){let{t:i}=u(),{data:o}=y();return(n,c)=>{let l=t(`RouterLink`);return r(),d(l,{class:`x-aside-account p-4 px-3 md:py-5 md:px-6 bg-accent/15 rounded-xl flex gap-3 group`,to:`/account/orders`},{default:e(()=>[c[0]||=f(`svg`,{"aria-hidden":`true`,class:`size-10 p-2.5 bg-primary text-primary-foreground rounded-sm`},[f(`use`,{href:`#icon-user-mini`})],-1),f(`span`,O,[f(`span`,k,s(a(i)(`helloGoodDay`))+`, `,1),f(`span`,A,s(a(o)?.firstName)+` `+s(a(o)?.lastName),1)])]),_:1})}}}),M={class:`flex flex-col gap-1`},N={class:`x-title xs`},P={class:`x-title transition group-hocus:text-primary group-focus-visible:underline`},F=o({__name:`AsideAccount`,setup(n){let{t:i}=u();return(n,o)=>{let c=t(`RouterLink`);return r(),d(c,{class:`x-aside-account p-4 px-3 md:py-5 md:px-6 bg-body-primary rounded-xl flex gap-3 group items-center`,to:`/login`},{default:e(()=>[o[0]||=f(`svg`,{"aria-hidden":`true`,class:`size-10 p-2.5 bg-body rounded-sm`,viewBox:`0 0 20 20`,fill:`none`},[f(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M7.50004 3.75C7.63584 3.75003 7.76794 3.79429 7.87635 3.87608C7.98475 3.95788 8.06357 4.07275 8.10087 4.20333L8.77837 6.575C8.92425 7.08577 9.19791 7.55092 9.57352 7.92652C9.94912 8.30213 10.4143 8.57579 10.925 8.72167L13.2967 9.39917C13.4272 9.43655 13.542 9.5154 13.6237 9.6238C13.7054 9.7322 13.7496 9.86426 13.7496 10C13.7496 10.1357 13.7054 10.2678 13.6237 10.3762C13.542 10.4846 13.4272 10.5635 13.2967 10.6008L10.925 11.2783C10.4143 11.4242 9.94912 11.6979 9.57352 12.0735C9.19791 12.4491 8.92425 12.9142 8.77837 13.425L8.10087 15.7967C8.06349 15.9272 7.98464 16.0419 7.87624 16.1236C7.76784 16.2054 7.63578 16.2496 7.50004 16.2496C7.36429 16.2496 7.23224 16.2054 7.12384 16.1236C7.01544 16.0419 6.93659 15.9272 6.8992 15.7967L6.2217 13.425C6.07583 12.9142 5.80217 12.4491 5.42656 12.0735C5.05095 11.6979 4.5858 11.4242 4.07504 11.2783L1.70337 10.6008C1.57288 10.5635 1.4581 10.4846 1.37639 10.3762C1.29468 10.2678 1.25049 10.1357 1.25049 10C1.25049 9.86426 1.29468 9.7322 1.37639 9.6238C1.4581 9.5154 1.57288 9.43655 1.70337 9.39917L4.07504 8.72167C4.5858 8.57579 5.05095 8.30213 5.42656 7.92652C5.80217 7.55092 6.07583 7.08577 6.2217 6.575L6.8992 4.20333C6.93651 4.07275 7.01532 3.95788 7.12373 3.87608C7.23214 3.79429 7.36423 3.75003 7.50004 3.75ZM15 1.25C15.1395 1.24992 15.2749 1.29647 15.3848 1.38224C15.4948 1.46801 15.5729 1.58807 15.6067 1.72333L15.8217 2.58667C16.0184 3.37 16.63 3.98167 17.4134 4.17833L18.2767 4.39333C18.4122 4.4269 18.5326 4.50488 18.6186 4.61483C18.7047 4.72479 18.7514 4.86038 18.7514 5C18.7514 5.13962 18.7047 5.27521 18.6186 5.38517C18.5326 5.49512 18.4122 5.5731 18.2767 5.60667L17.4134 5.82167C16.63 6.01833 16.0184 6.63 15.8217 7.41333L15.6067 8.27667C15.5731 8.41219 15.4952 8.53257 15.3852 8.61861C15.2753 8.70465 15.1397 8.7514 15 8.7514C14.8604 8.7514 14.7248 8.70465 14.6149 8.61861C14.5049 8.53257 14.4269 8.41219 14.3934 8.27667L14.1784 7.41333C14.0822 7.02869 13.8833 6.67742 13.603 6.39706C13.3226 6.11671 12.9713 5.91782 12.5867 5.82167L11.7234 5.60667C11.5878 5.5731 11.4675 5.49512 11.3814 5.38517C11.2954 5.27521 11.2486 5.13962 11.2486 5C11.2486 4.86038 11.2954 4.72479 11.3814 4.61483C11.4675 4.50488 11.5878 4.4269 11.7234 4.39333L12.5867 4.17833C12.9713 4.08218 13.3226 3.88329 13.603 3.60294C13.8833 3.32258 14.0822 2.97131 14.1784 2.58667L14.3934 1.72333C14.4272 1.58807 14.5053 1.46801 14.6152 1.38224C14.7252 1.29647 14.8606 1.24992 15 1.25ZM13.75 12.5C13.8813 12.4999 14.0093 12.5412 14.1158 12.6179C14.2223 12.6946 14.3019 12.803 14.3434 12.9275L14.6717 13.9133C14.7967 14.2858 15.0884 14.5792 15.4617 14.7033L16.4475 15.0325C16.5717 15.0742 16.6796 15.1538 16.756 15.2601C16.8325 15.3664 16.8736 15.4941 16.8736 15.625C16.8736 15.7559 16.8325 15.8836 16.756 15.9899C16.6796 16.0962 16.5717 16.1758 16.4475 16.2175L15.4617 16.5467C15.0892 16.6717 14.7959 16.9633 14.6717 17.3367L14.3425 18.3225C14.3009 18.4466 14.2212 18.5546 14.1149 18.631C14.0086 18.7075 13.881 18.7486 13.75 18.7486C13.6191 18.7486 13.4915 18.7075 13.3851 18.631C13.2788 18.5546 13.1992 18.4466 13.1575 18.3225L12.8284 17.3367C12.767 17.1527 12.6637 16.9856 12.5265 16.8485C12.3894 16.7114 12.2223 16.6081 12.0384 16.5467L11.0525 16.2175C10.9284 16.1758 10.8205 16.0962 10.744 15.9899C10.6676 15.8836 10.6265 15.7559 10.6265 15.625C10.6265 15.4941 10.6676 15.3664 10.744 15.2601C10.8205 15.1538 10.9284 15.0742 11.0525 15.0325L12.0384 14.7033C12.4109 14.5783 12.7042 14.2867 12.8284 13.9133L13.1575 12.9275C13.199 12.8031 13.2785 12.6949 13.3848 12.6182C13.4911 12.5414 13.6189 12.5001 13.75 12.5Z`,fill:`currentColor`})],-1),f(`span`,M,[f(`span`,N,s(a(i)(`forExclusiveOffers`)),1),f(`span`,P,s(a(i)(`openPrivateAccount`)),1)])]),_:1})}}}),I=[`href`],L=[`src`,`srcset`,`alt`],R=[`data-active`],z=o({__name:`RoomCarousel`,props:{images:{type:Array}},setup(t){let{t:o}=u(),s=n(),l=n(),m=n(),_=n(),v=n(),y=w(),x=()=>v.value?.children?[...v.value.children].indexOf(v?.value.querySelector(`[data-active]`)):0;return(n,u)=>{let C=S,w=g,T=b;return r(),d(T,{ref_key:`rootElement`,ref:s,refs:{contentElement:l.value,prevElement:m.value,nextElement:_.value,paginationElement:v.value},class:`x-carousel relative lg:max-w-[24rem] xl:max-w-[31.125rem] group`},{default:e(({scrollCarousel:n,setScrollPos:d,scrollPrev:g,scrollNext:b})=>[h(C,{ref_key:`contentElement`,ref:l,class:`rounded-md`,onScroll:e=>[n(l.value.$el,{pagination:{element:v.value}}),d()]},{default:e(()=>[(r(!0),c(p,null,i((t.images||[]).slice(0,10),(e,t)=>(r(),c(`a`,{key:t,class:`x-image w-full before:skeleton before:block cursor-pointer`,"data-fancybox":`gallery`,href:e?.[`3x`]},[f(`img`,{class:`aspect-4/3 rounded-none object-cover`,src:e?.[`1x`],srcset:`${e?.[`1x`]} 1x, ${e?.[`2x`]} 2x`,loading:`lazy`,alt:e?.alt},null,8,L)],8,I))),128))]),_:1},8,[`onScroll`]),f(`div`,{ref_key:`paginationElement`,ref:v,class:`x-carousel-dots absolute bottom-3 inset-x-3 flex justify-center gap-2.25`,"aria-hidden":`true`},[(r(!0),c(p,null,i((t.images||[]).slice(0,10),(e,t)=>(r(),c(`div`,{key:t,ref_for:!0,ref:`paginationItem`,class:`size-1.5 rounded-full bg-light/40 relative before:-inset-1 before:absolute cursor-pointer transition data-active:bg-light`,"data-active":t===0?!0:null},null,8,R))),128))],512),h(w,{variant:`circle`,class:`accent-black bg-black/10 hover:bg-black/30 backdrop-blur-md absolute inset-0 m-auto scale-50 opacity-0 group-hover:opacity-100 group-hover:scale-100`,"aria-label":a(o)(`showPreview`),onClick:u[0]||=e=>a(y).show(s.value.$el,x())},{default:e(()=>[...u[1]||=[f(`svg`,{"aria-hidden":`true`,class:`size-5.5`},[f(`use`,{href:`#icon-magnifying-glass-mini`})],-1)]]),_:1},8,[`aria-label`]),h(w,{ref_key:`prevElement`,ref:m,variant:`circle`,class:`accent-black bg-black/10 hover:bg-black/30 backdrop-blur-md absolute left-3 top-1/2 -mt-6 opacity-0 group-hover:opacity-100 disabled:opacity-0`,disabled:``,"aria-label":a(o)(`previous`),onClick:e=>g()},{default:e(()=>[...u[2]||=[f(`svg`,{"aria-hidden":`true`,class:`size-6`},[f(`use`,{href:`#icon-chevron-left-mini`})],-1)]]),_:1},8,[`aria-label`,`onClick`]),h(w,{ref_key:`nextElement`,ref:_,variant:`circle`,class:`accent-black bg-black/10 hover:bg-black/30 backdrop-blur-md absolute right-3 top-1/2 -mt-6 opacity-0 group-hover:opacity-100 disabled:opacity-0`,"aria-label":a(o)(`next`),onClick:e=>b()},{default:e(()=>[...u[3]||=[f(`svg`,{"aria-hidden":`true`,class:`size-6`},[f(`use`,{href:`#icon-chevron-right-mini`})],-1)]]),_:1},8,[`aria-label`,`onClick`])]),_:1},8,[`refs`])}}}),B={key:0,class:`x-room-select p-3 lg:p-6 bg-body-primary rounded-md flex flex-col gap-2 lg:gap-1.75`},V=[`data-active`],H={class:`flex max-lg:flex-col max-lg:gap-1.5 lg:items-center grow`},U={class:`x-title max-lg:xs lg:sm grow max-w-[10.125rem]`},W={class:`x-title sm flex items-center gap-2 lg:gap-3`},G={key:0,class:`x-title sm text-primary`},K=[`onClick`],q={class:`max-lg:hidden`},J={key:2,"aria-hidden":`true`,class:`size-7 shrink-0 p-1 bg-success text-light rounded-full ml-3 lg:ml-6`},Y=o({__name:`RoomSelect`,setup(e){let{t}=u(),n=v(),o=_();return(e,u)=>a(n).data.length>1?(r(),c(`div`,B,[(r(!0),c(p,null,i(a(n).data,(e,i)=>(r(),c(p,{key:i},[i===0||e.selected||i===a(n).activeRoom?(r(),c(`div`,{key:0,"data-active":i===a(n).activeRoom?`true`:void 0,class:`border border-transparent p-3 rounded-md h-16.5 flex items-center data-active:border-primary`},[f(`div`,H,[f(`div`,U,[e.selected?(r(),c(p,{key:1},[m(s(a(t)(`roomNthSelected`,i+1)),1)],64)):(r(),c(p,{key:0},[m(s(a(t)(`roomNthSelect`,i+1)),1)],64))]),f(`div`,W,[u[0]||=f(`svg`,{"aria-hidden":`true`,class:`size-5 lg:size-7 shrink-0 lg:p-1 lg:bg-primary lg:text-primary-foreground max-lg:text-primary rounded-full`},[f(`use`,{href:`#icon-user-mini`})],-1),m(` `+s(e.adults)+` `+s(a(t)(`adultsPlural`,e.adults))+` `,1),e.children.length>0?(r(),c(p,{key:0},[m(` + `+s(e.children.length)+` `+s(a(t)(`childrenPlural`,e.children.length)),1)],64)):l(``,!0)])]),i===a(n).activeRoom&&!e.selected?(r(),c(`div`,G,s(a(t)(`currentlySelecting`)),1)):(r(),c(`button`,{key:1,class:`x-title sm flex items-center gap-1.5 transition hocus:text-primary`,onClick:e=>a(o).removeAccommodationItemFromCart(i)},[u[1]||=f(`svg`,{"aria-hidden":`true`,class:`size-4`},[f(`use`,{href:`#icon-pencil-micro`})],-1),f(`span`,q,s(a(t)(`roomEdit`)),1)],8,K)),e.selected?(r(),c(`svg`,J,[...u[2]||=[f(`use`,{href:`#icon-check`},null,-1)]])):l(``,!0)],8,V)):l(``,!0)],64))),128))])):l(``,!0)}});export{D as a,j as i,z as n,F as r,Y as t};
@@ -1 +1 @@
1
- import{Kn as e,Mn as t,On as n,Pn as r,Vn as i,bn as a,er as o,gn as s,hn as c,pn as l,un as u}from"./vendor.BGu2qkTq.js";import{W as d}from"./params.DR2mabOE.js";var f={key:0,class:`x-text-content bg-body-primary rounded-xl p-4 md:p-6 flex flex-col gap-3`},p={key:0,class:`x-title lg`},m=[`innerHTML`],h=a({__name:`TextContent`,props:{title:{type:String},text:{type:String},isPending:{type:Boolean}},setup(a){let h=d(),g=a,_=e();return i(()=>g.text,async e=>{e&&(await n(),_.value?.addEventListener(`click`,e=>{let t=e.target;t?.nodeName===`A`&&t?.hash&&(e.preventDefault(),h.replace({hash:t.hash}))}))},{immediate:!0}),(e,n)=>a.title||a.text?(t(),s(`div`,f,[a.title?(t(),s(`h1`,p,o(a.title),1)):c(``,!0),a.isPending?(t(),s(u,{key:1},r(20,e=>(t(),s(u,{key:e},[n[0]||=l(`div`,{class:`skeleton rounded-md h-4 w-2/4`},null,-1),n[1]||=l(`div`,{class:`skeleton rounded-md h-4 w-3/4`},null,-1)],64))),64)):c(``,!0),a.text?(t(),s(`div`,{key:2,ref_key:`textElement`,ref:_,class:`x-text sm`,innerHTML:a.text},null,8,m)):c(``,!0)])):c(``,!0)}});export{h as t};
1
+ import{Kn as e,Mn as t,On as n,Pn as r,Vn as i,bn as a,er as o,gn as s,hn as c,pn as l,un as u}from"./vendor.Do_VFRcJ.js";import{W as d}from"./params.CKLHNS06.js";var f={key:0,class:`x-text-content bg-body-primary rounded-xl p-4 md:p-6 flex flex-col gap-3`},p={key:0,class:`x-title lg`},m=[`innerHTML`],h=a({__name:`TextContent`,props:{title:{type:String},text:{type:String},isPending:{type:Boolean}},setup(a){let h=d(),g=a,_=e();return i(()=>g.text,async e=>{e&&(await n(),_.value?.addEventListener(`click`,e=>{let t=e.target;t?.nodeName===`A`&&t?.hash&&(e.preventDefault(),h.replace({hash:t.hash}))}))},{immediate:!0}),(e,n)=>a.title||a.text?(t(),s(`div`,f,[a.title?(t(),s(`h1`,p,o(a.title),1)):c(``,!0),a.isPending?(t(),s(u,{key:1},r(20,e=>(t(),s(u,{key:e},[n[0]||=l(`div`,{class:`skeleton rounded-md h-4 w-2/4`},null,-1),n[1]||=l(`div`,{class:`skeleton rounded-md h-4 w-3/4`},null,-1)],64))),64)):c(``,!0),a.text?(t(),s(`div`,{key:2,ref_key:`textElement`,ref:_,class:`x-text sm`,innerHTML:a.text},null,8,m)):c(``,!0)])):c(``,!0)}});export{h as t};
@@ -1 +1 @@
1
- import{Fn as e,Hn as t,Kn as n,Mn as r,Xn as i,bn as a,d as o,f as s,fn as c,kn as l,m as u,mn as d,p as f,u as p,wn as m,yn as h}from"./vendor.hO2fYZhy.js";var g=a({__name:`TooltipCursor`,props:{active:{type:Boolean,default:!0},offset:{type:Number},side:{default:`bottom-start`,type:String},to:{type:null}},setup(a){let g=a,_=m(`shadowRoot`),v=n(!1),y=n({x:0,y:0}),b=c(()=>({getBoundingClientRect:()=>({width:0,height:0,left:y.value.x,right:y.value.x,top:y.value.y,bottom:y.value.y,...y.value})})),x=n();return l(()=>{x.value.$el.addEventListener(`pointerenter`,()=>v.value=g.active),x.value.$el.addEventListener(`pointerleave`,()=>v.value=!1),x.value.$el.addEventListener(`pointermove`,e=>{v.value=g.active,y.value.x=e.clientX,y.value.y=e.clientY})}),(n,c)=>(r(),d(i(u),{"delay-duration":0},{default:t(()=>[e(n.$slots,`trigger`,{setRef:e=>x.value=e}),h(i(f),{open:v.value},{default:t(()=>[h(i(p),{hidden:``,"aria-hidden":`true`,reference:b.value},null,8,[`reference`]),h(i(o),{to:a.to??i(_)},{default:t(()=>[h(i(s),{side:a.side,"side-offset":a.offset??24,class:`x-popover-content tooltip shadow touch:hidden`,"update-position-strategy":`always`},{default:t(()=>[e(n.$slots,`content`)]),_:3},8,[`side`,`side-offset`])]),_:3},8,[`to`])]),_:3},8,[`open`])]),_:3}))}});export{g as t};
1
+ import{Fn as e,Hn as t,Kn as n,Mn as r,Xn as i,bn as a,d as o,f as s,fn as c,kn as l,m as u,mn as d,p as f,u as p,wn as m,yn as h}from"./vendor.Do_VFRcJ.js";var g=a({__name:`TooltipCursor`,props:{active:{type:Boolean,default:!0},offset:{type:Number},side:{default:`bottom-start`,type:String},to:{type:null}},setup(a){let g=a,_=m(`shadowRoot`),v=n(!1),y=n({x:0,y:0}),b=c(()=>({getBoundingClientRect:()=>({width:0,height:0,left:y.value.x,right:y.value.x,top:y.value.y,bottom:y.value.y,...y.value})})),x=n();return l(()=>{x.value.$el.addEventListener(`pointerenter`,()=>v.value=g.active),x.value.$el.addEventListener(`pointerleave`,()=>v.value=!1),x.value.$el.addEventListener(`pointermove`,e=>{v.value=g.active,y.value.x=e.clientX,y.value.y=e.clientY})}),(n,c)=>(r(),d(i(u),{"delay-duration":0},{default:t(()=>[e(n.$slots,`trigger`,{setRef:e=>x.value=e}),h(i(f),{open:v.value},{default:t(()=>[h(i(p),{hidden:``,"aria-hidden":`true`,reference:b.value},null,8,[`reference`]),h(i(o),{to:a.to??i(_)},{default:t(()=>[h(i(s),{side:a.side,"side-offset":a.offset??24,class:`x-popover-content tooltip shadow touch:hidden`,"update-position-strategy":`always`},{default:t(()=>[e(n.$slots,`content`)]),_:3},8,[`side`,`side-offset`])]),_:3},8,[`to`])]),_:3},8,[`open`])]),_:3}))}});export{g as t};
@@ -0,0 +1,2 @@
1
+ import{$n as e,C as t,Dn as n,Ft as r,Hn as i,Kn as a,Ln as o,Lt as s,Mn as c,On as l,Pn as u,Rt as d,S as f,Un as p,Vn as m,Xn as h,Yn as g,Zn as _,an as ee,at as v,b as y,bn as b,bt as x,er as S,fn as C,gn as w,hn as T,in as E,jt as D,kn as O,kt as k,ln as te,mn as A,on as j,ot as M,pn as N,pt as ne,rn as P,sn as F,st as I,un as L,vn as R,wn as z,x as B,yn as V}from"./vendor.Do_VFRcJ.js";import{t as H}from"./params.CKLHNS06.js";import{n as U,t as re}from"./DialogContent.BDyFs5O2.js";import{n as W,t as G}from"./Field.DZCcYz7P.js";import{t as ie}from"./Button.Bi4uv-lE.js";import{t as K}from"./Details.PDpOygH7.js";import{t as q}from"./Control.CSebJLvO.js";import{S as J,c as Y,f as ae,p as oe,t as X,y as se}from"./client.MaZPHh6g.js";import{t as Z}from"./staleTimes.DzrC_Y6z.js";import{t as ce}from"./config.CL0QsYzP.js";import{n as Q,t as le}from"./ControlTelCountryCode.3_jmbYhg.js";import{t as $}from"./Check.BP91pUqk.js";import{t as ue}from"./patterns.BawwaaO4.js";import{r as de}from"./calendarFlexibleDialog.BPPiKocL.js";import{t as fe}from"./formatPrice.BkMw7JGC.js";import{t as pe}from"./hotel.DRLrihvI.js";import{t as me}from"./ButtonBorderedThin.CYLFI4uR.js";import{t as he}from"./DatePicker.C7H5Njqw.js";import{a as ge,i as _e,n as ve}from"./PackageDetailDialogContent.BVm6elV1.js";const ye=r({key:[`vouchers/types`],query:async()=>await X().GET(`/vouchers/types`).then(({data:e})=>e),staleTime:Z.never,refetchOnWindowFocus:!1}),be=(e={})=>{let t=J(),n=H(),r=C(()=>t.type===`promo`&&t.active?t.code:``);return{...s({key:C(()=>[`vouchers`,e?.typeId?.value??`all`]),query:async()=>await X().GET(`/vouchers`,{params:{query:{promoCode:r.value,preferVoucher:n.preferVoucher,preferProduct:n.preferProduct,filterVoucher:n.filterVoucher,filterVoucherGroup:n.filterVoucherGroup,filterProduct:n.filterProduct,filterType:e?.typeId?.value===`all`?void 0:e?.typeId?.value}}}).then(({data:e})=>e),staleTime:Z.short,refetchOnWindowFocus:!1})}},xe=e=>({...s({key:C(()=>[`vouchers/preview`,e.voucherId,e.price,e.voucherFormat?.value,e.voucherTheme?.value,e.childrenCount,e.roomId,e.nights].filter(e=>e!=null)),query:async()=>await X().GET(`/vouchers/preview`,{parseAs:`text`,params:{query:{childrenCount:e.childrenCount,nights:e.nights,price:e.price,roomId:e.roomId,voucherFormat:e.voucherFormat?.value,voucherId:e.voucherId,voucherTheme:e.voucherTheme?.value}}}).then(({data:e})=>e),staleTime:Z.longest,refetchOnWindowFocus:!1})});var Se=b({__name:`VoucherPreviewIframe`,props:{format:{type:String},dedicationText:{type:String},dedicationFrom:{type:String},dedicationTo:{type:String},isGift:{type:Boolean},previewQuery:{type:Object},templateProps:{type:Object}},setup(t,{expose:n}){let r=t,i=a(),{data:o}=xe(r.previewQuery),s=(e,t)=>{let n=i.value?.contentDocument?.querySelector(`[data-voucher-preview-target="${e}"]`),r=n?.closest(`[data-voucer-preview-block]`);!n||t===void 0||(t===``?(n?.setAttribute(`hidden`,``),r?.setAttribute(`hidden`,``)):(n?.removeAttribute(`hidden`),r?.removeAttribute(`hidden`),n.innerHTML=t?.replaceAll(`
2
+ `,`<br>`)))},l=e=>{let t=i.value?.contentDocument?.querySelector(`[data-voucher-preview-target="gift"]`);e?t?.removeAttribute(`hidden`):t?.setAttribute(`hidden`,``)},u=()=>new Promise(e=>{let t=()=>{i.value?.contentDocument?.documentElement?e():requestAnimationFrame(t)};t()});return m([o,()=>i.value],async()=>{if(!o.value||!i.value)return;let e=r?.templateProps?.width,t=r?.templateProps?.fontSize;if(i.value.contentDocument){i.value.contentDocument.open(),i.value.srcdoc=o.value,await u();let n=i.value.contentDocument?.documentElement?.style;n&&Object.assign(n,{transform:e?`scale(calc(100vw/${e}))`:`scale(${r.format===`A5`?`calc(100vw/559px)`:`calc(100vw/794px)`})`,transformOrigin:`top left`,width:`max-content`,overflow:`hidden`,fontSize:t})}s(`message`,r.dedicationText),s(`giftNameFrom`,r.dedicationFrom),s(`giftName`,r.dedicationTo),l(r.isGift)}),m(()=>r.dedicationText,e=>{s(`message`,e)}),m(()=>r.dedicationFrom,e=>{s(`giftNameFrom`,e)}),m(()=>r.dedicationTo,e=>{s(`giftName`,e)}),m(()=>r.isGift,e=>{l(e)}),n({root:i}),(n,r)=>(c(),w(`iframe`,{ref_key:`root`,ref:i,tabindex:`-1`,class:`bg-main-tertiary/50 border border-main-tertiary`,style:e({"aspect-ratio":t.templateProps?.width&&t.templateProps?.height?`${parseInt(t.templateProps?.width)}/${parseInt(t.templateProps?.height)}`:t.format===`A4`?`794/1123`:t.format===`DL`?`794/374`:t.format===`A5`?`559/794`:``})},null,4))}}),Ce={key:0,class:`flex flex-col`},we={class:`x-title sm mb-3`},Te={class:`flex gap-4 md:pb-6 max-md:flex-col max-md:gap-2`},Ee=[`value`],De={key:0,class:`w-9 h-12 fill-transparent stroke-1 mr-2`,viewBox:`0 0 36 50`},Oe={key:1,class:`w-9 h-12 fill-transparent stroke-1 mr-2`,viewBox:`0 0 36 50`},ke={key:2,class:`w-9 h-12 fill-transparent stroke-1 mr-2`,viewBox:`0 0 37 50`},Ae={class:`x-title sm`},je={class:`x-text xs text-main-secondary`},Me={class:`flex flex-col md:border border-main-tertiary overflow-clip rounded-md relative md:p-6`},Ne={class:`flex max-md:flex-col md:py-6 gap-6 md:gap-12`},Pe={key:0,class:`flex flex-col w-79`},Fe={class:`x-title sm mb-3`},Ie={class:`grid grid-cols-5 gap-1`},Le=[`checked`,`value`],Re=[`src`,`alt`],ze=[`for`],Be=[`id`,`maxlength`,`placeholder`],Ve={key:0,class:`x-title sm mb-3`},He={key:1,class:`grid md:grid-cols-2 gap-3`},Ue={class:_([`border border-main-tertiary rounded-md flex p-6 gap-6 outline-2 outline-transparent not-has-disabled:focus-within:border-accent not-has-disabled:focus-within:outline-accent/25`,`transition not-has-disabled:cursor-pointer not-has-disabled:hover:border-accent has-checked:border-accent`])},We={class:`flex flex-col gap-2`},Ge={class:`x-heading xs`},Ke={class:`x-text sm`},qe={class:_([`border border-main-tertiary rounded-md flex p-6 gap-6 outline-2 outline-transparent not-has-disabled:focus-within:border-accent not-has-disabled:focus-within:outline-accent/25`,`transition not-has-disabled:cursor-pointer not-has-disabled:hover:border-accent has-checked:border-accent`])},Je={class:`flex flex-col gap-2`},Ye={class:`x-heading xs`},Xe={class:`x-text sm`},Ze={tabindex:`-1`},Qe=[`onChange`],$e={style:{display:`none`}},et={class:`grid md:grid-cols-3 gap-3 mt-3 mb-6`},tt=[`id`],nt=[`for`],rt=[`id`],it=[`for`],at=[`id`],ot=[`for`],st={class:`grid md:grid-cols-2 gap-3`},ct={class:`x-title sm col-span-full mb-3`},lt=[`id`],ut=[`for`],dt=[`id`],ft=[`for`],pt={class:`x-group rounded-sm w-full`},mt=[`id`,`pattern`],ht=[`for`],gt=[`id`],_t=[`for`],vt=[`id`],yt=[`for`],bt=[`id`],xt=[`for`],St={class:`flex md:mt-3 items-center md:justify-end gap-3`},Ct=[`value`],wt=b({__name:`VoucherCustomDialog`,props:{voucher:{type:Object},index:{type:Number}},setup(e,{expose:t}){let n=e,{t:r}=D(),s=Y(),{data:l}=ce(),d=a(),f=a(),g=a(),v=a(),y=a(),b=a(),x=a(`virtual`),O=a(),k=a(),M=a(1),ne=({currentTarget:e})=>{let t=new FormData(e);s.editVoucherItem({voucherFormat:f.value,voucherTheme:g.value,voucherDedicationText:v.value,voucherDelivery:x.value,count:M.value,voucherCustomized:!0,isGift:O.value,...Object.fromEntries(t)},n.index),d.value.close()},I=e=>{e&&(Object.entries(s?.orderVouchersItem(n.index)).forEach(([e,t])=>{let n=d.value?.$el?.querySelector(`[name=${e}]`);n&&(n.value=t)}),f.value=s?.orderVouchersItem(n.index)?.voucherFormat,g.value=s?.orderVouchersItem(n.index)?.voucherTheme,v.value=s?.orderVouchersItem(n.index)?.voucherDedicationText,y.value=s?.orderVouchersItem(n.index)?.voucherDedicationFrom,b.value=s?.orderVouchersItem(n.index)?.voucherDedicationTo,x.value=s?.orderVouchersItem(n.index)?.voucherDelivery??`virtual`,O.value=s?.orderVouchersItem(n.index)?.isGift,M.value=s?.orderVouchersItem(n.index)?.count??1,O.value&&(k.value.$el.open=!0,k.value.$el.querySelector(`summary`).nextElementSibling.style.display=``))};return m(()=>s?.orderVouchersItem(n.index),e=>{M.value=e?.count,f.value=e?.voucherFormat},{immediate:!0,deep:!0}),t({root:d}),(t,a)=>{let m=ie,D=Se,z=q,B=G,H=$,re=le,J=Q,Y=K,ae=W,oe=U;return c(),A(oe,{ref_key:`root`,ref:d,"onUpdate:open":I},{default:i(()=>[V(ae,{class:`x-dialog-content lg flex flex-col mt-13.5 p-3 md:p-6 gap-6 md:gap-3`,onSubmit:te(ne,[`prevent`])},{default:i(()=>[V(m,{class:`accent-body-primary shadow-lg absolute inset-x-0 mx-auto w-fit bottom-full mb-3`,size:`md`,onClick:a[0]||=e=>d.value.close()},{default:i(()=>[a[10]||=N(`svg`,{"aria-hidden":`true`},[N(`use`,{href:`#icon-x-mark-mini`})],-1),R(` `+S(h(r)(`closeDetail`)),1)]),_:1}),e.voucher?.allowedFormats?.length>1?(c(),w(`fieldset`,Ce,[N(`legend`,we,S(h(r)(`selectVoucherFormat`)),1),N(`div`,Te,[(c(!0),w(L,null,u(e.voucher?.allowedFormats,e=>(c(),w(`label`,{key:e,class:_([`border border-main-tertiary h-16.5 rounded-md flex items-center p-2 gap-1 flex-1 outline-2 outline-transparent not-has-disabled:focus-within:border-accent not-has-disabled:focus-within:outline-accent/25`,`transition not-has-disabled:cursor-pointer not-has-disabled:focus:border-accent has-checked:border-accent`])},[p(N(`input`,{"onUpdate:modelValue":a[1]||=e=>f.value=e,type:`radio`,class:`sr-only`,value:e},null,8,Ee),[[E,f.value]]),e===`A4`?(c(),w(`svg`,De,[...a[11]||=[N(`path`,{d:`M35.2139 4L35.2139 46C35.2139 47.933 33.6469 49.5 31.7139 49.5L4 49.5C2.067 49.5 0.499998 47.933 0.499998 46L0.5 4C0.5 2.067 2.067 0.499999 4 0.499999L31.7139 0.5C33.6469 0.500003 35.2139 2.06701 35.2139 4Z`,stroke:`currentColor`},null,-1)]])):e===`DL`?(c(),w(`svg`,Oe,[...a[12]||=[N(`path`,{d:`M34.9551 4L34.9551 46C34.9551 47.933 33.3881 49.5 31.4551 49.5L4.00097 49.5C2.06798 49.5 0.500974 47.933 0.500975 46L0.500976 4C0.500976 2.067 2.06798 0.499999 4.00098 0.499999L31.4551 0.5C33.3881 0.5 34.9551 2.067 34.9551 4Z`,stroke:`currentColor`,"stroke-opacity":`0.15`},null,-1),N(`path`,{d:`M34.7871 20.5L34.7871 29.5C34.7871 31.433 33.2201 33 31.2871 33L4.28711 33C2.35411 33 0.787109 31.433 0.787109 29.5L0.787109 20.5C0.787109 18.567 2.35411 17 4.28711 17L31.2871 17C33.2201 17 34.7871 18.567 34.7871 20.5Z`,stroke:`currentColor`},null,-1)]])):e===`A5`?(c(),w(`svg`,ke,[...a[13]||=[N(`path`,{d:`M35.6689 4L35.6689 46C35.6689 47.933 34.1019 49.5 32.1689 49.5L4.16894 49.5C2.23595 49.5 0.668943 47.933 0.668943 46L0.668945 4C0.668945 2.067 2.23595 0.500001 4.16895 0.499999L32.1689 0.5C34.1019 0.500001 35.6689 2.067 35.6689 4Z`,stroke:`currentColor`,"stroke-opacity":`0.15`},null,-1),N(`path`,{d:`M4 13.5L22 13.5C23.933 13.5 25.5 15.067 25.5 17L25.5 46C25.5 47.933 23.933 49.5 22 49.5H4C2.067 49.5 0.5 47.933 0.5 46L0.5 17C0.5 15.067 2.067 13.5 4 13.5Z`,stroke:`currentColor`},null,-1)]])):T(``,!0),N(`span`,Ae,S(e),1),N(`span`,je,[e===`A4`?(c(),w(L,{key:0},[R(`(210x297 mm)`)],64)):e===`DL`?(c(),w(L,{key:1},[R(`(210x99 mm)`)],64)):e===`A5`?(c(),w(L,{key:2},[R(`(148x210 mm)`)],64)):T(``,!0)])]))),128))])])):T(``,!0),N(`div`,Me,[T(``,!0),V(D,{class:`mx-auto w-full max-w-122`,format:f.value,previewQuery:{childrenCount:h(s)?.orderVouchersItem(n.index)?.childrenCount,nights:h(s)?.orderVouchersItem(n.index)?.nights,price:h(s).vouchersItemPrice(n.index),roomId:h(s)?.orderVouchersItem(n.index)?.roomId,voucherFormat:C(()=>f.value),voucherId:h(s)?.orderVouchersItem(n.index)?.voucherId,voucherTheme:C(()=>g.value)},dedicationText:v.value,dedicationFrom:y.value,dedicationTo:b.value,isGift:O.value,templateProps:e.voucher?.templateProps},null,8,[`format`,`previewQuery`,`dedicationText`,`dedicationFrom`,`dedicationTo`,`isGift`,`templateProps`])]),N(`div`,Ne,[e.voucher?.allowedThemes?.length>0?(c(),w(`fieldset`,Pe,[N(`legend`,Fe,S(h(r)(`selectVoucherTheme`)),1),N(`div`,Ie,[(c(!0),w(L,null,u(e.voucher?.allowedThemes,(e,t)=>(c(),w(`label`,{key:e.id,class:_([`border border-main-tertiary aspect-square rounded-md outline-2 outline-transparent not-has-disabled:focus-within:border-accent not-has-disabled:focus-within:outline-accent/25`,`transition not-has-disabled:cursor-pointer not-has-disabled:hover:border-accent has-checked:border-accent`])},[p(N(`input`,{"onUpdate:modelValue":a[2]||=e=>g.value=e,name:`voucherTheme`,checked:t===0,value:e?.id,type:`radio`,class:`sr-only`},null,8,Le),[[E,g.value]]),N(`img`,{src:e?.image,loading:`lazy`,class:`rounded-sm size-full`,alt:e?.name},null,8,Re)]))),128))])])):T(``,!0),h(l)?.voucherAllowGiftMessage?(c(),A(B,{key:1,class:`flex flex-col flex-grow gap-3`},{default:i(({uid:t})=>[N(`label`,{class:`x-title sm`,for:t},S(h(r)(`writeDedication`))+` (`+S(h(r)(`optional`))+`) `,9,ze),V(z,null,{default:i(()=>[p(N(`textarea`,{id:t,"onUpdate:modelValue":a[3]||=e=>v.value=e,maxlength:e.voucher?.maxDedicationLength,placeholder:`${h(r)(`dedicationText`)} (${h(r)(`maxCharacters`,e.voucher?.maxDedicationLength)})`},null,8,Be),[[j,v.value]])]),_:2},1024)]),_:1})):T(``,!0)]),(c(),A(o(h(l)?.voucherAllowPhysical?`div`:`fieldset`),{class:`flex flex-col`},{default:i(()=>[h(l)?.voucherAllowPhysical?(c(),w(`legend`,Ve,S(h(r)(`youCanChooseFromTwoOptions`)),1)):T(``,!0),h(l)?.voucherAllowPhysical?(c(),w(`div`,He,[N(`label`,Ue,[p(N(`input`,{"onUpdate:modelValue":a[4]||=e=>x.value=e,type:`radio`,class:`sr-only peer`,value:`virtual`},null,512),[[E,x.value]]),a[15]||=N(`span`,{class:_([`size-10 shrink-0 rounded-sm bg-body text-body-foreground flex justify-center items-center`,`transition peer-checked:bg-accent peer-checked:text-accent-foreground`])},[N(`svg`,{class:`size-5`},[N(`use`,{href:`#icon-device-phone-mobile-mini`})])],-1),N(`span`,We,[N(`span`,Ge,S(h(r)(`electronically`)),1),N(`span`,Ke,S(h(r)(`electronicallyInfo`)),1)])]),N(`label`,qe,[p(N(`input`,{"onUpdate:modelValue":a[5]||=e=>x.value=e,type:`radio`,value:`physical`,class:`sr-only peer`},null,512),[[E,x.value]]),a[16]||=N(`span`,{class:_([`size-10 shrink-0 rounded-sm bg-body text-body-foreground flex justify-center items-center`,`transition peer-checked:bg-accent peer-checked:text-accent-foreground`])},[N(`svg`,{class:`size-5`},[N(`use`,{href:`#icon-envelope-mini`})])],-1),N(`span`,Je,[N(`span`,Ye,S(h(r)(`inGiftEnvelope`)),1),N(`span`,Xe,S(h(r)(`inGiftEnvelopeInfo`)),1)])])])):T(``,!0),h(l)?.voucherAllowSendAsGift?(c(),A(Y,{key:2,ref_key:`isGiftDetails`,ref:k,class:`mt-6`},{default:i(({toggleDetails:e})=>[N(`summary`,Ze,[V(H,{as:`label`},{default:i(()=>[p(N(`input`,{"onUpdate:modelValue":a[6]||=e=>O.value=e,type:`checkbox`,autocomplete:`off`,onChange:t=>e(t.currentTarget)},null,40,Qe),[[P,O.value]]),N(`span`,null,S(h(r)(`sendAsGift`)),1)]),_:2},1024)]),N(`div`,$e,[N(`div`,et,[V(B,null,{default:i(({uid:e})=>[V(z,null,{default:i(()=>[p(N(`input`,{id:e,"onUpdate:modelValue":a[7]||=e=>y.value=e,type:`text`,name:`voucherDedicationFrom`,placeholder:` `},null,8,tt),[[j,y.value]]),N(`label`,{for:e},S(h(r)(`voucherDedicationFrom`)),9,nt)]),_:2},1024)]),_:1}),V(B,null,{default:i(({uid:e})=>[V(z,null,{default:i(()=>[p(N(`input`,{id:e,"onUpdate:modelValue":a[8]||=e=>b.value=e,type:`text`,name:`voucherDedicationTo`,placeholder:` `},null,8,rt),[[j,b.value]]),N(`label`,{for:e},S(h(r)(`voucherDedicationTo`)),9,it)]),_:2},1024)]),_:1}),V(B,null,{default:i(({uid:e})=>[V(z,null,{default:i(()=>[N(`input`,{id:e,type:`email`,name:`email`,placeholder:` `},null,8,at),N(`label`,{for:e},S(h(r)(`recipientEmail`)),9,ot)]),_:2},1024)]),_:1})]),p(N(`fieldset`,st,[N(`legend`,ct,S(h(r)(`deliverToAddress`)),1),V(B,null,{default:i(()=>[V(z,{size:`md`},{default:i(({uid:e})=>[N(`input`,{id:e,name:`firstName`,type:`text`,placeholder:` `,autocomplete:`given-name`},null,8,lt),N(`label`,{for:e},S(h(r)(`name`)),9,ut)]),_:1})]),_:1}),V(B,null,{default:i(()=>[V(z,{size:`md`},{default:i(({uid:e})=>[N(`input`,{id:e,name:`lastName`,type:`text`,placeholder:` `,autocomplete:`family-name`},null,8,dt),N(`label`,{for:e},S(h(r)(`surname`)),9,ft)]),_:1})]),_:1}),V(B,null,{default:i(()=>[N(`div`,pt,[V(re),V(z,{class:`grow`,size:`md`},{default:i(({uid:e})=>[N(`input`,{id:e,name:`telNational`,type:`tel`,pattern:h(ue).telNational,placeholder:` `,autocomplete:`tel-national`},null,8,mt),N(`label`,{for:e},S(h(r)(`tel`)),9,ht)]),_:1})])]),_:1}),V(B,null,{default:i(()=>[V(z,{size:`md`},{default:i(({uid:e})=>[N(`input`,{id:e,name:`street`,type:`text`,placeholder:` `,autocomplete:`street-address`},null,8,gt),N(`label`,{for:e},S(h(r)(`streetAddress`)),9,_t)]),_:1})]),_:1}),V(B,null,{default:i(()=>[V(z,{size:`md`},{default:i(({uid:e})=>[N(`input`,{id:e,type:`text`,name:`city`,autocomplete:`address-level2`,placeholder:` `},null,8,vt),N(`label`,{for:e},S(h(r)(`city`)),9,yt)]),_:1})]),_:1}),V(B,null,{default:i(()=>[V(z,{size:`md`},{default:i(({uid:e})=>[N(`input`,{id:e,type:`text`,name:`postalCode`,autocomplete:`postal-code`,placeholder:` `},null,8,bt),N(`label`,{for:e},S(h(r)(`postalCode`)),9,xt)]),_:1})]),_:1}),V(B,null,{default:i(()=>[V(J)]),_:1})],512),[[F,x.value===`physical`]])])]),_:1},512)):T(``,!0)]),_:1})),N(`div`,St,[V(z,{class:`min-w-24`,size:`md`},{default:i(()=>[p(N(`select`,{"onUpdate:modelValue":a[9]||=e=>M.value=e},[(c(),w(L,null,u(50,e=>N(`option`,{key:e,value:e},S(e)+` `+S(h(r)(`pcs`)),9,Ct)),64))],512),[[ee,M.value]])]),_:1}),V(m,{class:`max-md:flex-1`,size:`md`,type:`submit`},{default:i(()=>[R(S(h(r)(`saveMyDesign`)),1)]),_:1})])]),_:1})]),_:1},512)}}});const Tt=r({key:[`wellness`],query:async()=>await X().GET(`/wellness`).then(({data:e})=>e),refetchOnWindowFocus:!1,staleTime:Z.long}),Et=({dateFrom:e,dateTo:t,id:n})=>({...s({key:C(()=>[`wellness/${n}/calendar`,e.value,t.value]),query:async()=>await X().GET(`/wellness/{id}/calendar`,{params:{query:{dateFrom:e.value,dateTo:t.value},path:{id:n}}}).then(({data:e})=>e),staleTime:Z.short})}),Dt=({date:e,adults:t,items:n,id:r,editIndex:i})=>{let a=C(()=>n?btoa(JSON.stringify(n)):`null`),o=C(()=>[`wellness/${r}/times`,e.value?.toString(),t.value,a.value,i]),c=J(),l=C(()=>c.type===`promo`&&c.active?c.code:``),u=C(()=>c.type===`voucher`&&c.active?c.code:``);return{...s({key:o,query:async()=>e.value?await X().GET(`/wellness/{id}/times`,{params:{query:{date:e.value.toString(),adults:t.value,editIndex:i,items:n,promoCode:l.value,voucherCode:u.value},path:{id:r}}}).then(({data:e})=>e):[],placeholderData:e=>e,staleTime:Z.short})}},Ot=async(e,{time:t,date:n,adults:r,price:i,detailDialog:a,config:o,hotel:s,shadowRoot:c,editIndex:u})=>{let f=Y(),p=H();a?.root?.close(),e.wellness&&!e.wellness.prices&&(e.wellness.prices={finalPrice:i}),u===void 0?(f.addWellnessItemToCart({time:t,date:n,adults:r,wellnessId:e.wellness?.id,services:[]},e),_e({quantity:1,price:i,value:i,item:e,currency:p.currency,config:o,hotel:s})):(f.editWellnessItem({time:t,date:n,adults:r,wellnessId:e.wellness?.id,services:[]},u),d().invalidateQueries({key:[`order/cart-wellness`]})),await l();let m=c?.querySelector(`.x-aside-summary [data-slot="content"]`);m?.scrollTo({top:m.scrollHeight,behavior:`smooth`})};var kt={class:`flex flex-col gap-4 md:gap-6 [.peer+&]:mt-6 md:[.peer+&]:mt-8`},At={class:`flex flex-col gap-3`},jt={class:`flex max-md:flex-wrap gap-2 items-center justify-between`},Mt={class:`x-heading`},Nt={key:0,class:`x-title sm font-medium`},Pt={class:`x-heading sm`},Ft={class:`x-title flex items-center gap-3`},It={class:`flex items-center gap-1`},Lt={key:1},Rt={class:`flex items-center gap-1`},zt={key:0},Bt={class:`grid md:grid-cols-[1fr_21.5625rem] gap-3`},Vt={class:`border border-main-tertiary rounded-md p-3 md:p-6`},Ht=[`innerHTML`],Ut=[`innerHTML`],Wt=[`innerHTML`],Gt={class:`x-title sm mb-3 mt-6`},Kt={class:`flex items-center gap-2`},qt={key:0,class:`x-badge lg bordered accent-main rounded-full px-2.5`},Jt={class:`x-text sm`},Yt={ref:`configurationElement`,class:`border border-main-tertiary rounded-md p-3 md:p-6 flex flex-col gap-3`},Xt={class:`x-title sm`},Zt={class:`grid grid-cols-3 gap-1`},Qt=[`disabled`,`value`],$t={class:`x-title sm`},en={key:0,class:`x-title xs text-main-secondary`},tn={key:0,class:`x-title sm font-medium`},nn={class:`x-title sm flex items-center gap-2 py-4`},rn={key:1,class:`ml-auto`},an={key:1,ref:`summaryElement`,class:`p-3 bg-primary/15 rounded-md flex items-center justify-between mt-auto`},on={class:`flex flex-col gap-1`},sn={class:`x-title sm font-medium`},cn={key:1,class:`skeleton w-14 h-5 rounded-md`},ln=b({__name:`WellnessDetailDialogContent`,props:{editIndex:{type:Number},wellness:{type:Object}},emits:[`close:dialog`],setup(e,{expose:n,emit:r}){let o=e,s=r,{t:l,n:d}=D(),ee=ne(de.md),b=H(),C=z(`shadowRoot`),te=z(`wellnessDetailDialog`),j=a(),P=a(o.wellness?.minPersons===o.wellness?.maxPersons?o.wellness?.maxPersons??1:1),F=a(I(M()).toString()),U=a(I(M()).add({months:1,days:-1}).toString()),W=a(),G=a(),K=a(9),q=Y(),{data:J}=ce(),{data:X}=pe(),{data:Z}=Et({dateFrom:F,dateTo:U,id:o.wellness?.id}),{data:Q,isLoading:le}=Dt({adults:P,date:W,id:o.wellness?.id,editIndex:o.editIndex,items:q.order.wellness.items}),$=x(le,300),ue=e=>Z.value?.includes(e.toString())??!1,_e=e=>{F.value=e.set({day:1}).toString(),U.value=e.set({day:1}).add({months:1,days:-1}).toString()};return m(()=>o.editIndex,e=>{e!==void 0&&(W.value=v(q.orderWellnessItem(e).date),G.value=q.orderWellnessItem(e).time,P.value=q.orderWellnessItem(e).adults)},{immediate:!0}),m(()=>o.wellness?.firstAvailableDate,e=>{W.value||!e||o.editIndex||(W.value=v(e))},{immediate:!0}),m(Q,e=>{e&&e?.length>0&&(K.value=e?.length)}),m(G,async()=>{ee.value||(await k(),j.value?.$el.scrollIntoView({behavior:`smooth`,block:`end`}))}),O(()=>{(J.value?.tracking?.googleGa4||J.value?.tracking?.googleGtm)&&oe(`event`,`view_item`,{currency:b.currency,items:[{item_id:o?.wellness?.id,item_name:o?.wellness?.name,item_category:`Wellness`,item_brand:X.value?.chainName,affiliation:X.value?.name,currency:b.currency}]}),J.value?.tracking?.facebookPixel&&ae(`track`,`ViewContent`,{content_ids:[o?.wellness?.id?.toString()],content_type:`product`,currency:b.currency}),J.value?.tracking?.tiktokPixel&&se.track(`ViewContent`,{content_type:`product`,description:o?.wellness?.name,content_ids:[o?.wellness?.id?.toString()??``],currency:b.currency})}),n({root:j}),(n,r)=>{let a=ie,m=ve,ee=he,v=me,x=ge,D=re;return c(),A(D,{ref_key:`root`,ref:j,size:`lg`,class:`flex flex-col mt-13.5 p-3 md:p-6`},{default:i(()=>[V(a,{class:`accent-body-primary shadow-lg absolute inset-x-0 mx-auto w-fit bottom-full mb-3`,size:`md`,onClick:r[0]||=e=>s(`close:dialog`)},{default:i(()=>[r[5]||=N(`svg`,{"aria-hidden":`true`},[N(`use`,{href:`#icon-x-mark-mini`})],-1),R(` `+S(h(l)(`closeDetail`)),1)]),_:1}),V(m,{class:`peer`,images:e.wellness?.images},null,8,[`images`]),N(`div`,kt,[N(`div`,At,[N(`div`,jt,[N(`h2`,Mt,S(e.wellness?.name),1),e.wellness?.priceFrom?(c(),w(`div`,Nt,[R(S(h(l)(`from`))+` `,1),N(`span`,Pt,S(h(d)(e.wellness?.priceFrom,`decimal`)),1),R(` `+S(h(b).currency),1)])):T(``,!0)]),N(`div`,Ft,[N(`div`,It,[r[6]||=N(`svg`,{"aria-hidden":`true`,class:`size-6`},[N(`use`,{href:`#icon-user-mini`})],-1),e.wellness?.minPersons===e.wellness?.maxPersons?(c(),w(`span`,Lt,S(e.wellness?.maxPersons)+` `+S(h(l)(`personPlural`,e.wellness?.maxPersons)),1)):(c(),w(L,{key:0},[R(S(e.wellness?.minPersons)+` - `+S(e.wellness?.maxPersons)+` `+S(h(l)(`personPlural`,e.wellness?.maxPersons)),1)],64))]),N(`div`,Rt,[r[7]||=N(`svg`,{"aria-hidden":`true`,class:`size-6`},[N(`use`,{href:`#icon-clock-mini`})],-1),e.wellness?.durationDisplayed?(c(),w(`span`,zt,S(e.wellness?.durationDisplayed),1)):T(``,!0)])])]),N(`div`,Bt,[N(`div`,Vt,[N(`div`,{class:`x-text sm`,style:{"--x-text-list-margin-block":`1.5rem`},innerHTML:e.wellness?.summary},null,8,Ht),N(`div`,{class:`x-text sm`,style:{"--x-text-list-margin-block":`1.5rem`},innerHTML:e.wellness?.description},null,8,Ut),N(`div`,{class:`x-text sm`,style:{"--x-text-list-margin-block":`1.5rem`},innerHTML:e.wellness?.equipment},null,8,Wt),N(`div`,Gt,S(h(l)(`availableDays`)),1),N(`div`,Kt,[e.wellness?.daysTitle?(c(),w(`div`,qt,S(e.wellness?.daysTitle),1)):T(``,!0),N(`div`,Jt,S(h(l)(`atTimeFromTo`,[e.wellness?.timeFrom,e.wellness?.timeTo])),1)])]),N(`div`,Yt,[N(`label`,Xt,S(h(l)(`selectDateAndTime`)),1),V(ee,{modelValue:W.value,"onUpdate:modelValue":r[1]||=e=>W.value=e,"is-date-unavailable":e=>ue(e),defaultValue:W.value,"onUpdate:placeholder":_e},null,8,[`modelValue`,`is-date-unavailable`,`defaultValue`]),N(`div`,Zt,[h($)?(c(!0),w(L,{key:0},u(K.value,e=>(c(),w(`div`,{key:e,class:`skeleton h-15 rounded-md`}))),128)):(c(!0),w(L,{key:1},u(h(Q),(e,t)=>(c(),w(`label`,{key:t,class:_([`border border-main-tertiary rounded-md h-15 flex flex-col items-center justify-center gap-0.5`,`transition not-has-disabled:cursor-pointer not-has-disabled:hocus:border-accent has-checked:border-accent`,`has-disabled:bg-repeating-linear-[1.75] from-body to-main-tertiary`])},[p(N(`input`,{"onUpdate:modelValue":r[2]||=e=>G.value=e,type:`radio`,name:`wellnessTime`,disabled:e.disabled,value:e.time},null,8,Qt),[[E,G.value]]),N(`span`,$t,S(e.time),1),e.prices?.finalPrice?(c(),w(`span`,en,S(h(fe)(e.prices?.finalPrice,h(b).currency)),1)):T(``,!0)]))),128))]),!h($)&&W.value&&h(Q)?.length===0?(c(),w(`div`,tn,S(h(l)(`notAvailableAtThisDate`)),1)):T(``,!0),N(`div`,nn,[r[10]||=N(`svg`,{class:`size-5`,"aria-hidden":`true`},[N(`use`,{href:`#icon-user-solid`})],-1),R(` `+S(h(l)(`numberOfPersons`))+` `,1),e.wellness?.minPersons&&e.wellness?.maxPersons&&e.wellness?.minPersons!==e.wellness?.maxPersons?(c(),A(h(t),{key:0,modelValue:P.value,"onUpdate:modelValue":r[3]||=e=>P.value=e,class:`flex items-center ml-auto`,min:e.wellness?.minPersons??1,max:e.wellness?.maxPersons??99,"default-value":e.wellness?.minPersons??1},{default:i(()=>[V(h(f),{"as-child":``},{default:i(()=>[V(v,{variant:`circle`,size:`xs`},{default:i(()=>[...r[8]||=[N(`svg`,{"aria-hidden":`true`},[N(`use`,{href:`#icon-minus-mini`})],-1)]]),_:1})]),_:1}),V(h(y),{class:`x-title sm text-center w-8 bg-transparent`}),V(h(B),{"as-child":``},{default:i(()=>[V(v,{variant:`circle`,size:`xs`},{default:i(()=>[...r[9]||=[N(`svg`,{"aria-hidden":`true`},[N(`use`,{href:`#icon-plus-mini`})],-1)]]),_:1})]),_:1})]),_:1},8,[`modelValue`,`min`,`max`,`default-value`])):(c(),w(`span`,rn,S(e.wellness?.minPersons??1),1))]),G.value?(c(),w(`div`,an,[N(`div`,on,[N(`div`,sn,S(h(l)(`total`)),1),h(Q)?(c(),A(x,{key:0,prices:h(Q)?.find(e=>e.time===G.value)?.prices,reverse:!0},null,8,[`prices`])):(c(),w(`div`,cn))]),V(a,{size:`md`,onClick:r[4]||=t=>h(Ot)({entity:`Wellness`,wellness:g(o.wellness)},{adults:P.value,date:W.value.toString(),time:G.value,price:h(Q)?.find(e=>e.time===G.value)?.prices?.finalPrice??NaN,config:h(J),hotel:h(X),detailDialog:h(te),shadowRoot:h(C),editIndex:e.editIndex})},{default:i(()=>[R(S(h(l)(`book`)),1)]),_:1})],512)):T(``,!0)],512)])])]),_:1},512)}}}),un=b({__name:`WellnessDetailDialog`,props:{editIndex:{type:Number},wellness:{type:Object}},setup(e,{expose:t}){let r=e,o=a();return t({root:o}),(t,a)=>{let s=U;return c(),A(s,{ref_key:`root`,ref:o},{default:i(()=>[R(S(e.editIndex)+` `,1),V(ln,n(r,{"onClose:dialog":a[0]||=e=>o.value?.close()}),null,16)]),_:1},512)}}});export{be as a,Se as i,Tt as n,ye as o,wt as r,un as t};
@@ -1 +1 @@
1
- import{Hn as e,Mn as t,Xn as n,bn as r,er as i,gn as a,jt as o,pn as s,vn as c,yn as l}from"./vendor.BGu2qkTq.js";import{t as u}from"./Button.DSwXM1vM.js";var d={class:`py-12 px-2.5 bg-body-primary rounded-xl flex flex-col items-center gap-3 col-span-full`},f={class:`x-heading`},p=r({__name:`[...path]`,setup(r){let{t:p}=o();return(r,o)=>{let m=u;return t(),a(`div`,d,[o[0]||=s(`h1`,{class:`x-heading lg text-center`},` 404 `,-1),s(`div`,f,i(n(p)(`404text`)),1),l(m,{size:`md`,to:`/`,class:`mt-7`},{default:e(()=>[c(i(n(p)(`backToMainPage`)),1)]),_:1})])}}});export{p as default};
1
+ import{Hn as e,Mn as t,Xn as n,bn as r,er as i,gn as a,jt as o,pn as s,vn as c,yn as l}from"./vendor.Do_VFRcJ.js";import{t as u}from"./Button.Bi4uv-lE.js";var d={class:`py-12 px-2.5 bg-body-primary rounded-xl flex flex-col items-center gap-3 col-span-full`},f={class:`x-heading`},p=r({__name:`[...path]`,setup(r){let{t:p}=o();return(r,o)=>{let m=u;return t(),a(`div`,d,[o[0]||=s(`h1`,{class:`x-heading lg text-center`},` 404 `,-1),s(`div`,f,i(n(p)(`404text`)),1),l(m,{size:`md`,to:`/`,class:`mt-7`},{default:e(()=>[c(i(n(p)(`backToMainPage`)),1)]),_:1})])}}});export{p as default};
@@ -1 +1 @@
1
- import{Hn as e,In as t,Jn as n,Kn as r,Mn as i,Un as a,Vn as o,Xn as s,Zn as c,bn as l,er as u,gn as d,hn as f,jt as p,ln as m,mn as h,on as g,pn as _,vn as v,yn as y}from"./vendor.hO2fYZhy.js";import{W as b}from"./params.C4l_dMrB.js";import{n as x,t as S}from"./Field.BXufwr4B.js";import{t as C}from"./Button.BrYX2zWI.js";import{t as w}from"./Control.BJcNbGb_.js";import"./client.T5Px7Q15.js";import"./staleTimes.C4g5-gQd.js";import{t as T}from"./togglePassword.DOftSz_E.js";import{i as E}from"./account.3IMZeA3D.js";import{a as D}from"./account.Byb-YtMN.js";import{t as O}from"./toaster.CCMii1bQ.js";import{t as k}from"./patterns.BmO4lxbY.js";import{t as A}from"./validateFields.BwE0p18l.js";import{t as j}from"./Main.BfYIjmR0.js";import{t as M}from"./routeParams.CNzOlJfv.js";import{t as N}from"./AuthInfo.DPnrKoxC.js";var P={class:`x-auth-login flex flex-col justify-center p-6 md:p-24 rounded-xl bg-body-primary`},F={class:`x-heading text-center mb-9`},I=[`id`,`pattern`,`data-validation-message`],L={class:`ms-auto`},R=[`aria-label`],z=[`for`],B=[`id`,`pattern`,`data-validation-message`],V={class:`ms-auto`},H=[`aria-label`],U=[`for`],W=l({__name:`AuthResetPassword`,setup(l){let{t:f}=p(),h=b(),E=O(),j=n(),N=r(),W=r(),G=M(),{mutate:K,data:q,error:J,asyncStatus:Y}=D(),X=({currentTarget:e})=>{let t=new FormData(e);K(Object.assign({code:G.value.code},Object.fromEntries(t)))};return o(q,e=>{e&&e.response?.status===200&&(h.push(`/login`),E.add({class:`accent-success`,title:f(`success`),text:f(`status.resetPasswordSuccess`)}))}),o([q,J],()=>{!J.value&&!q?.value?.error||(A(j.value?.$el,q?.value?.error?.params),E.add({class:`accent-error`,title:f(`error`),text:J?.value?.toString()??q.value?.error?.message}))}),(n,r)=>{let o=w,l=S,p=t(`RouterLink`),h=C,b=x;return i(),d(`div`,P,[y(b,{ref_key:`form`,ref:j,class:c([`x-form flex flex-col md:p-6 w-full max-w-100 mx-auto`,{invalid:s(J)||s(q)?.error}]),onSubmit:m(X,[`prevent`])},{default:e(()=>[_(`h1`,F,u(s(f)(`resetPassword`)),1),y(l,{class:`mb-3`},{default:e(()=>[y(o,{size:`md`},{default:e(({uid:e})=>[a(_(`input`,{id:e,"onUpdate:modelValue":r[0]||=e=>N.value=e,name:`password`,type:`password`,pattern:s(k).password,"data-validation-message":s(f)(`validation.passwordPattern`),placeholder:` `,autocomplete:`new-password`,required:``},null,8,I),[[g,N.value]]),_(`div`,L,[(i(),d(`svg`,{"aria-label":s(f)(`togglePassword`),role:`button`,class:`transition text-main-tertiary hocus:text-main`,tabindex:`0`,onClick:r[1]||=(...e)=>s(T)&&s(T)(...e)},[...r[4]||=[_(`use`,{href:`#icon-eye-slash-solid`},null,-1)]],8,R))]),_(`label`,{for:e},u(s(f)(`password`)),9,z)]),_:1})]),_:1}),y(l,{class:`mb-3`},{default:e(()=>[y(o,{size:`md`},{default:e(({uid:e})=>[a(_(`input`,{id:e,"onUpdate:modelValue":r[2]||=e=>W.value=e,type:`password`,pattern:N.value===W.value?void 0:``,"data-validation-message":s(f)(`validation.passwordMismatch`),placeholder:` `,autocomplete:`new-password`,required:``},null,8,B),[[g,W.value]]),_(`div`,V,[(i(),d(`svg`,{"aria-label":s(f)(`togglePassword`),role:`button`,class:`transition text-main-tertiary hocus:text-main`,tabindex:`0`,onClick:r[3]||=(...e)=>s(T)&&s(T)(...e)},[...r[5]||=[_(`use`,{href:`#icon-eye-slash-solid`},null,-1)]],8,H))]),_(`label`,{for:e},u(s(f)(`passwordAgain`)),9,U)]),_:1})]),_:1}),y(p,{class:`x-link text-primary underline underline-transparent`,to:`/login`},{default:e(()=>[v(u(s(f)(`backToLogin`)),1)]),_:1}),y(h,{class:`mt-10.5`,type:`submit`,loading:s(Y)===`loading`},{default:e(()=>[v(u(s(f)(`confirm`)),1)]),_:1},8,[`loading`])]),_:1},8,[`class`])])}}}),G=l({__name:`[code]`,setup(t){let{data:n,isPending:r}=E();return(t,a)=>{let o=N,l=W,u=j;return i(),h(u,{class:c([`grid gap-5 min-h-158.5`,{"lg:grid-cols-2":s(n)?.heading!==``||s(n)?.list?.length>0||s(r)}])},{default:e(()=>[s(n)?.heading!==``||s(n)?.list?.length>0||s(r)?(i(),h(o,{key:0,class:`max-lg:order-last`})):f(``,!0),y(l)]),_:1},8,[`class`])}}});export{G as default};
1
+ import{Hn as e,In as t,Jn as n,Kn as r,Mn as i,Un as a,Vn as o,Xn as s,Zn as c,bn as l,er as u,gn as d,hn as f,jt as p,ln as m,mn as h,on as g,pn as _,vn as v,yn as y}from"./vendor.Do_VFRcJ.js";import{W as b}from"./params.CKLHNS06.js";import{n as x,t as S}from"./Field.DZCcYz7P.js";import{t as C}from"./Button.Bi4uv-lE.js";import{t as w}from"./Control.CSebJLvO.js";import"./client.MaZPHh6g.js";import"./staleTimes.DzrC_Y6z.js";import{t as T}from"./togglePassword.BF9Py_jQ.js";import{i as E}from"./account.DFwU1TOn.js";import{a as D}from"./account.HD-R6MuR.js";import{t as O}from"./toaster.CrL6hWG8.js";import{t as k}from"./patterns.BawwaaO4.js";import{t as A}from"./validateFields.Bf-0Jigp.js";import{t as j}from"./Main.0JDwcGbb.js";import{t as M}from"./routeParams.DErXguzA.js";import{t as N}from"./AuthInfo.ZWekujuP.js";var P={class:`x-auth-login flex flex-col justify-center p-6 md:p-24 rounded-xl bg-body-primary`},F={class:`x-heading text-center mb-9`},I=[`id`,`pattern`,`data-validation-message`],L={class:`ms-auto`},R=[`aria-label`],z=[`for`],B=[`id`,`pattern`,`data-validation-message`],V={class:`ms-auto`},H=[`aria-label`],U=[`for`],W=l({__name:`AuthResetPassword`,setup(l){let{t:f}=p(),h=b(),E=O(),j=n(),N=r(),W=r(),G=M(),{mutate:K,data:q,error:J,asyncStatus:Y}=D(),X=({currentTarget:e})=>{let t=new FormData(e);K(Object.assign({code:G.value.code},Object.fromEntries(t)))};return o(q,e=>{e&&e.response?.status===200&&(h.push(`/login`),E.add({class:`accent-success`,title:f(`success`),text:f(`status.resetPasswordSuccess`)}))}),o([q,J],()=>{!J.value&&!q?.value?.error||(A(j.value?.$el,q?.value?.error?.params),E.add({class:`accent-error`,title:f(`error`),text:J?.value?.toString()??q.value?.error?.message}))}),(n,r)=>{let o=w,l=S,p=t(`RouterLink`),h=C,b=x;return i(),d(`div`,P,[y(b,{ref_key:`form`,ref:j,class:c([`x-form flex flex-col md:p-6 w-full max-w-100 mx-auto`,{invalid:s(J)||s(q)?.error}]),onSubmit:m(X,[`prevent`])},{default:e(()=>[_(`h1`,F,u(s(f)(`resetPassword`)),1),y(l,{class:`mb-3`},{default:e(()=>[y(o,{size:`md`},{default:e(({uid:e})=>[a(_(`input`,{id:e,"onUpdate:modelValue":r[0]||=e=>N.value=e,name:`password`,type:`password`,pattern:s(k).password,"data-validation-message":s(f)(`validation.passwordPattern`),placeholder:` `,autocomplete:`new-password`,required:``},null,8,I),[[g,N.value]]),_(`div`,L,[(i(),d(`svg`,{"aria-label":s(f)(`togglePassword`),role:`button`,class:`transition text-main-tertiary hocus:text-main`,tabindex:`0`,onClick:r[1]||=(...e)=>s(T)&&s(T)(...e)},[...r[4]||=[_(`use`,{href:`#icon-eye-slash-solid`},null,-1)]],8,R))]),_(`label`,{for:e},u(s(f)(`password`)),9,z)]),_:1})]),_:1}),y(l,{class:`mb-3`},{default:e(()=>[y(o,{size:`md`},{default:e(({uid:e})=>[a(_(`input`,{id:e,"onUpdate:modelValue":r[2]||=e=>W.value=e,type:`password`,pattern:N.value===W.value?void 0:``,"data-validation-message":s(f)(`validation.passwordMismatch`),placeholder:` `,autocomplete:`new-password`,required:``},null,8,B),[[g,W.value]]),_(`div`,V,[(i(),d(`svg`,{"aria-label":s(f)(`togglePassword`),role:`button`,class:`transition text-main-tertiary hocus:text-main`,tabindex:`0`,onClick:r[3]||=(...e)=>s(T)&&s(T)(...e)},[...r[5]||=[_(`use`,{href:`#icon-eye-slash-solid`},null,-1)]],8,H))]),_(`label`,{for:e},u(s(f)(`passwordAgain`)),9,U)]),_:1})]),_:1}),y(p,{class:`x-link text-primary underline underline-transparent`,to:`/login`},{default:e(()=>[v(u(s(f)(`backToLogin`)),1)]),_:1}),y(h,{class:`mt-10.5`,type:`submit`,loading:s(Y)===`loading`},{default:e(()=>[v(u(s(f)(`confirm`)),1)]),_:1},8,[`loading`])]),_:1},8,[`class`])])}}}),G=l({__name:`[code]`,setup(t){let{data:n,isPending:r}=E();return(t,a)=>{let o=N,l=W,u=j;return i(),h(u,{class:c([`grid gap-5 min-h-158.5`,{"lg:grid-cols-2":s(n)?.heading!==``||s(n)?.list?.length>0||s(r)}])},{default:e(()=>[s(n)?.heading!==``||s(n)?.list?.length>0||s(r)?(i(),h(o,{key:0,class:`max-lg:order-last`})):f(``,!0),y(l)]),_:1},8,[`class`])}}});export{G as default};
@@ -1 +1 @@
1
- import{Dn as e,Mn as t,Xn as n,bn as r,er as i,gn as a,hn as o,jt as s,mn as c,pn as l,un as u,yn as d}from"./vendor.hO2fYZhy.js";import{U as f}from"./params.C4l_dMrB.js";import"./localeRules.Cmrt9pbJ.js";import"./DialogContent.kPndQa9E.js";import"./client.T5Px7Q15.js";import"./staleTimes.C4g5-gQd.js";import"./config.5TeOFwa3.js";import"./calendarFlexibleDialog.Cqt35vGT.js";import{t as p}from"./FooterLogo.Cq6U4Rxy.js";import"./formatPrice.B8YEcqih.js";import"./hotel._j1G89r-.js";import"./fancybox.DXfUnRxc.js";import"./PackageDetailDialogContent.BjZfE9KD.js";import{t as m}from"./routeParams.CNzOlJfv.js";import{t as h}from"./RoomDetailDialogContent.BNRSW008.js";import{t as g}from"./rooms.L668F0pR.js";var _={key:0,class:`p-3 md:p-6 min-h-[50dvh] flex flex-col`},v={class:`m-auto`},y={class:`x-title mt-4`},b=r({__name:`[id]`,props:{room:{type:Object},editIndex:{type:Number}},setup(r){let b=r,{t:x}=s(),S=m(),C=f(),{data:w,isLoading:T}=g(S.value.id);return(r,s)=>{let f=h,m=p;return t(),a(u,null,[n(T)?(t(),a(`div`,_,[l(`div`,v,[s[0]||=l(`div`,{class:`spinner text-accent m-auto`,style:{"--spinner-inline-size":`1.5rem`,"--spinner-block-size":`1.5rem`,"--spinner-border-width":`0.1875rem`}},null,-1),l(`div`,y,i(n(x)(`momentOfPatience`)),1)])])):n(w)?.error?o(``,!0):(t(),c(f,e({key:1},b,{room:n(w),"close-button":!1,"show-rates":!1,"cancellation-policy":n(w)?.rates?.find(e=>e.id===+n(C).query.rate)?.cancellationPolicy??``,style:{margin:`auto`}}),null,16,[`room`,`cancellation-policy`])),d(m,{class:`mt-6 mx-auto`})],64)}}});export{b as default};
1
+ import{Dn as e,Mn as t,Xn as n,bn as r,er as i,gn as a,hn as o,jt as s,mn as c,pn as l,un as u,yn as d}from"./vendor.Do_VFRcJ.js";import{U as f}from"./params.CKLHNS06.js";import"./localeRules.BVjMhTeP.js";import"./DialogContent.BDyFs5O2.js";import"./client.MaZPHh6g.js";import"./staleTimes.DzrC_Y6z.js";import"./config.CL0QsYzP.js";import"./calendarFlexibleDialog.BPPiKocL.js";import{t as p}from"./FooterLogo.DtwOd9AX.js";import"./formatPrice.BkMw7JGC.js";import"./hotel.DRLrihvI.js";import"./fancybox.BR8b-4ax.js";import"./PackageDetailDialogContent.BVm6elV1.js";import{t as m}from"./routeParams.DErXguzA.js";import{t as h}from"./RoomDetailDialogContent.-DlkNVAB.js";import{t as g}from"./rooms.C3UHMLNl.js";var _={key:0,class:`p-3 md:p-6 min-h-[50dvh] flex flex-col`},v={class:`m-auto`},y={class:`x-title mt-4`},b=r({__name:`[id]`,props:{room:{type:Object},editIndex:{type:Number}},setup(r){let b=r,{t:x}=s(),S=m(),C=f(),{data:w,isLoading:T}=g(S.value.id);return(r,s)=>{let f=h,m=p;return t(),a(u,null,[n(T)?(t(),a(`div`,_,[l(`div`,v,[s[0]||=l(`div`,{class:`spinner text-accent m-auto`,style:{"--spinner-inline-size":`1.5rem`,"--spinner-block-size":`1.5rem`,"--spinner-border-width":`0.1875rem`}},null,-1),l(`div`,y,i(n(x)(`momentOfPatience`)),1)])])):n(w)?.error?o(``,!0):(t(),c(f,e({key:1},b,{room:n(w),"close-button":!1,"show-rates":!1,"cancellation-policy":n(w)?.rates?.find(e=>e.id===+n(C).query.rate)?.cancellationPolicy??``,style:{margin:`auto`}}),null,16,[`room`,`cancellation-policy`])),d(m,{class:`mt-6 mx-auto`})],64)}}});export{b as default};
@@ -1 +1 @@
1
- import{Dn as e,Mn as t,Xn as n,bn as r,er as i,gn as a,hn as o,jt as s,mn as c,pn as l,un as u,yn as d}from"./vendor.hO2fYZhy.js";import"./params.C4l_dMrB.js";import"./localeRules.Cmrt9pbJ.js";import"./DialogContent.kPndQa9E.js";import"./client.T5Px7Q15.js";import"./staleTimes.C4g5-gQd.js";import"./config.5TeOFwa3.js";import"./calendarFlexibleDialog.Cqt35vGT.js";import{t as f}from"./FooterLogo.Cq6U4Rxy.js";import"./formatPrice.B8YEcqih.js";import"./hotel._j1G89r-.js";import"./fancybox.DXfUnRxc.js";import{t as p}from"./PackageDetailDialogContent.BjZfE9KD.js";import{t as m}from"./routeParams.CNzOlJfv.js";import{t as h}from"./packages.D_qiN3mU.js";var g={key:0,class:`p-3 md:p-6 min-h-[50dvh] flex flex-col`},_={class:`m-auto`},v={class:`x-title mt-4`},y=r({__name:`[id]`,props:{room:{type:Object},editIndex:{type:Number}},setup(r){let y=r,{t:b}=s(),{data:x,isLoading:S}=h(m().value.id);return(r,s)=>{let m=p,h=f;return t(),a(u,null,[n(S)?(t(),a(`div`,g,[l(`div`,_,[s[0]||=l(`div`,{class:`spinner text-accent m-auto`,style:{"--spinner-inline-size":`1.5rem`,"--spinner-block-size":`1.5rem`,"--spinner-border-width":`0.1875rem`}},null,-1),l(`div`,v,i(n(b)(`momentOfPatience`)),1)])])):n(x)?.error?o(``,!0):(t(),c(m,e({key:1},y,{package:n(x),"close-button":!1,"show-rooms":!1,style:{margin:`auto`}}),null,16,[`package`])),d(h,{class:`mt-6 mx-auto`})],64)}}});export{y as default};
1
+ import{Dn as e,Mn as t,Xn as n,bn as r,er as i,gn as a,hn as o,jt as s,mn as c,pn as l,un as u,yn as d}from"./vendor.Do_VFRcJ.js";import"./params.CKLHNS06.js";import"./localeRules.BVjMhTeP.js";import"./DialogContent.BDyFs5O2.js";import"./client.MaZPHh6g.js";import"./staleTimes.DzrC_Y6z.js";import"./config.CL0QsYzP.js";import"./calendarFlexibleDialog.BPPiKocL.js";import{t as f}from"./FooterLogo.DtwOd9AX.js";import"./formatPrice.BkMw7JGC.js";import"./hotel.DRLrihvI.js";import"./fancybox.BR8b-4ax.js";import{t as p}from"./PackageDetailDialogContent.BVm6elV1.js";import{t as m}from"./routeParams.DErXguzA.js";import{t as h}from"./packages.lZSoskEz.js";var g={key:0,class:`p-3 md:p-6 min-h-[50dvh] flex flex-col`},_={class:`m-auto`},v={class:`x-title mt-4`},y=r({__name:`[id]`,props:{room:{type:Object},editIndex:{type:Number}},setup(r){let y=r,{t:b}=s(),{data:x,isLoading:S}=h(m().value.id);return(r,s)=>{let m=p,h=f;return t(),a(u,null,[n(S)?(t(),a(`div`,g,[l(`div`,_,[s[0]||=l(`div`,{class:`spinner text-accent m-auto`,style:{"--spinner-inline-size":`1.5rem`,"--spinner-block-size":`1.5rem`,"--spinner-border-width":`0.1875rem`}},null,-1),l(`div`,v,i(n(b)(`momentOfPatience`)),1)])])):n(x)?.error?o(``,!0):(t(),c(m,e({key:1},y,{package:n(x),"close-button":!1,"show-rooms":!1,style:{margin:`auto`}}),null,16,[`package`])),d(h,{class:`mt-6 mx-auto`})],64)}}});export{y as default};
@@ -1 +1 @@
1
- import{Mn as e,Vn as t,Xn as n,bn as r,er as i,gn as a,jt as o,pn as s}from"./vendor.BGu2qkTq.js";import{W as c,t as l}from"./params.DR2mabOE.js";import{c as u}from"./client.DrMpyevc.js";import"./staleTimes.BuCDd__I.js";import{t as d}from"./statusDialog.CWPzBABk.js";import{t as f}from"./routeParams.6hpnfcMT.js";import{r as p,t as m}from"./reservation.BzOjnZgI.js";var h={class:`p-3 md:p-6 bg-body-primary rounded-xl card min-h-[50dvh] flex flex-col`},g={class:`m-auto`},_={class:`x-title mt-4`},v=r({__name:`[uuid]`,setup(r){let{t:v}=o(),y=c(),b=f(),x=d(),S=u(),C=l(),{data:w,error:T}=p({uuid:b.value.uuid}),{data:E,refetch:D}=m();return t(w,async e=>{!e&&!w?.value?.error||(C.currency=w.value?.accommodation?.currency,S.order.accommodation.offerVariantUuid=e?.accommodation?.offerVariantUuid,S.order.accommodation.checkInDate=e?.accommodation?.checkInDate,S.order.accommodation.checkOutDate=e?.accommodation?.checkOutDate,e?.guest&&(S.order.guest=e?.guest),e?.accommodation?.rooms?.forEach((e,t)=>{S.order.accommodation.items[t]={offerItemUuid:e?.offerItemUuid,guestName:e?.guestName,bedType:e?.bedType,roomId:e?.roomId,rateId:e?.rateId,services:e?.services,packageId:e?.packageId,children:e?.children,adults:e?.adults,mealPlan:e?.mealPlan},S.accommodation[t]={entity:null}}),D())}),t(E,e=>{e?.forEach((e,t)=>{S.accommodation?.[t]&&(S.accommodation[t].minAdults=w.value?.accommodation?.rooms?.[t]?.minAdults,S.accommodation[t].maxAdults=w.value?.accommodation?.rooms?.[t]?.maxAdults)}),y.push(`/order/summary`)},{once:!0}),t([w,T],()=>{!T.value&&!w?.value?.error||(x.heading=w.value?.error?.messageTitle??v(`error`),x.text=T?.value?.toString()??w.value?.error?.message,x.show(),y.replace(`/`))}),(t,r)=>(e(),a(`div`,h,[s(`div`,g,[r[0]||=s(`div`,{class:`spinner text-accent m-auto`,style:{"--spinner-inline-size":`1.5rem`,"--spinner-block-size":`1.5rem`,"--spinner-border-width":`0.1875rem`}},null,-1),s(`div`,_,i(n(v)(`momentOfPatience`)),1)])]))}});export{v as default};
1
+ import{Mn as e,Vn as t,Xn as n,bn as r,er as i,gn as a,jt as o,pn as s}from"./vendor.Do_VFRcJ.js";import{W as c,t as l}from"./params.CKLHNS06.js";import{c as u}from"./client.MaZPHh6g.js";import"./staleTimes.DzrC_Y6z.js";import{t as d}from"./statusDialog.BFK0xH3r.js";import{t as f}from"./routeParams.DErXguzA.js";import{r as p,t as m}from"./reservation.BraqRP6X.js";var h={class:`p-3 md:p-6 bg-body-primary rounded-xl card min-h-[50dvh] flex flex-col`},g={class:`m-auto`},_={class:`x-title mt-4`},v=r({__name:`[uuid]`,setup(r){let{t:v}=o(),y=c(),b=f(),x=d(),S=u(),C=l(),{data:w,error:T}=p({uuid:b.value.uuid}),{data:E,refetch:D}=m();return t(w,async e=>{!e&&!w?.value?.error||(C.currency=w.value?.accommodation?.currency,S.order.accommodation.offerVariantUuid=e?.accommodation?.offerVariantUuid,S.order.accommodation.checkInDate=e?.accommodation?.checkInDate,S.order.accommodation.checkOutDate=e?.accommodation?.checkOutDate,e?.guest&&(S.order.guest=e?.guest),e?.accommodation?.rooms?.forEach((e,t)=>{S.order.accommodation.items[t]={offerItemUuid:e?.offerItemUuid,guestName:e?.guestName,bedType:e?.bedType,roomId:e?.roomId,rateId:e?.rateId,services:e?.services,packageId:e?.packageId,children:e?.children,adults:e?.adults,mealPlan:e?.mealPlan},S.accommodation[t]={entity:null}}),D())}),t(E,e=>{e?.forEach((e,t)=>{S.accommodation?.[t]&&(S.accommodation[t].minAdults=w.value?.accommodation?.rooms?.[t]?.minAdults,S.accommodation[t].maxAdults=w.value?.accommodation?.rooms?.[t]?.maxAdults)}),y.push(`/order/summary`)},{once:!0}),t([w,T],()=>{!T.value&&!w?.value?.error||(x.heading=w.value?.error?.messageTitle??v(`error`),x.text=T?.value?.toString()??w.value?.error?.message,x.show(),y.replace(`/`))}),(t,r)=>(e(),a(`div`,h,[s(`div`,g,[r[0]||=s(`div`,{class:`spinner text-accent m-auto`,style:{"--spinner-inline-size":`1.5rem`,"--spinner-block-size":`1.5rem`,"--spinner-border-width":`0.1875rem`}},null,-1),s(`div`,_,i(n(v)(`momentOfPatience`)),1)])]))}});export{v as default};
@@ -0,0 +1 @@
1
+ import{Dn as e,Hn as t,Kn as n,Mn as r,Pn as i,Qn as a,Rt as o,Sn as s,Vn as c,Xn as l,Yn as u,Zn as ee,bn as d,er as f,fn as p,gn as m,hn as h,jt as g,mn as _,pn as v,un as y,vn as b,yn as x}from"./vendor.Do_VFRcJ.js";import{W as S,t as C}from"./params.CKLHNS06.js";import"./localeRules.BVjMhTeP.js";import{n as te,t as ne}from"./DialogContent.BDyFs5O2.js";import{t as re}from"./Button.Bi4uv-lE.js";import{S as w,_ as T,b as E,c as D,d as O,f as ie,g as ae,h as oe,m as se,o as ce,p as k,u as le,v as A,x as ue,y as de}from"./client.MaZPHh6g.js";import"./staleTimes.DzrC_Y6z.js";import"./countries.C4zoFLww.js";import{t as fe}from"./config.CL0QsYzP.js";import{t as pe}from"./toaster.CrL6hWG8.js";import{t as me}from"./Circle.DOeW1c4e.js";import{t as j}from"./ButtonBordered.BTIgYtld.js";import{t as M}from"./formatPrice.BkMw7JGC.js";import{t as he}from"./hotel.DRLrihvI.js";import{t as ge}from"./Main.0JDwcGbb.js";import{i as N,n as P,r as F,t as I}from"./OrderConfirmedStatus.c2XN-if2.js";import{t as L}from"./routeParams.DErXguzA.js";import{t as _e}from"./CheckinApp.Dhy-L8vd.js";import{a as ve}from"./order.B6vkGjYg.js";import{t as R}from"./getPaymentUrl.C7Lf7XFh.js";var z={class:`x-order-confirmed-vouchers flex flex-col gap-6`},B={class:`x-heading sm`},V={class:`flex flex-col divide-y divide-main-tertiary divide-gap-y-6`},H={class:`flex items-start justify-between mb-4 md:mb-6 gap-4`},U={class:`flex flex-col`},W={class:`x-badge self-start mb-2`},G={class:`x-heading sm`},K={class:`flex flex-col gap-1.5`},q={key:0,class:`flex items-center justify-between`},J={class:`x-title`},Y={class:`x-text sm`},X={class:`flex items-center justify-between`},Z={class:`x-title`},Q={class:`x-text sm`},ye={key:1,class:`flex items-center justify-between`},be={class:`x-title`},xe={class:`x-text sm`},Se={key:2,class:`flex flex-col gap-2.5`},Ce={class:`x-title`},we=[`innerHTML`],Te={class:`flex items-baseline gap-2 justify-end max-md:flex-wrap border-t border-main-tertiary pt-6`},Ee={class:`x-heading sm`},De={class:`x-title lg font-normal`},Oe=d({__name:`OrderConfirmedVouchers`,props:{id:{type:[String,null]},uuid:{type:[String,null]},finalPrice:{type:[Number,null]},currency:{type:String},promoCode:{type:[String,null]},guest:{type:[Object,null]},accommodation:{type:[Object,null]},vouchers:{type:[Object,null]},wellness:{type:[Object,null]}},setup(e){let{t:n}=g();return(a,o)=>{let s=j;return r(),m(`div`,z,[v(`h2`,B,f(l(n)(`vouchers`)),1),v(`div`,V,[(r(!0),m(y,null,i(e.vouchers?.items,(i,a)=>(r(),m(`div`,{key:a,class:`flex flex-col`},[v(`div`,H,[v(`div`,U,[v(`div`,W,f(i.type?.name),1),v(`h2`,G,f(i.name),1)]),i?.pdfLink?(r(),_(s,{key:0,download:``,as:`a`,href:i?.pdfLink,target:`_blank`,size:`md`},{default:t(()=>[b(f(l(n)(`download`)),1)]),_:1},8,[`href`])):h(``,!0)]),v(`ul`,K,[i.price?(r(),m(`li`,q,[v(`div`,J,f(l(n)(`price`)),1),v(`div`,Y,f(l(M)(i.price,e.vouchers?.currency)),1)])):h(``,!0),v(`li`,X,[v(`div`,Z,f(l(n)(`deliveryType`)),1),v(`div`,Q,f(i.voucherDelivery===`virtual`?l(n)(`email`):e.vouchers?.deliveryTypeName),1)]),i.voucherFormat?(r(),m(`li`,ye,[v(`div`,be,f(l(n)(`format`)),1),v(`div`,xe,f(i.voucherFormat),1)])):h(``,!0),i.voucherDedicationText?(r(),m(`li`,Se,[v(`div`,Ce,f(l(n)(`dedicationText`)),1),v(`div`,{class:`x-text sm`,innerHTML:i.voucherDedicationText},null,8,we)])):h(``,!0)])]))),128))]),v(`div`,Te,[v(`div`,Ee,f(l(n)(`total`)),1),v(`div`,De,f(l(M)(e.vouchers?.finalPrice,e.vouchers?.currency)),1)])])}}}),ke={key:0,class:`x-order-confirmed-wellness flex flex-col gap-6`},Ae={class:`x-heading sm`},je={class:`x-text`},Me={class:`x-title sm mb-6`},Ne={class:`grid lg:grid-cols-2 gap-3 lg:gap-6`},Pe={class:`flex gap-4`},Fe={class:`flex flex-col gap-1`},Ie={class:`x-title sm font-medium`},Le={key:0,class:`x-title`},Re={class:`flex gap-4`},ze={class:`flex flex-col gap-1`},Be={class:`x-title sm font-medium`},Ve={class:`x-title`},He={class:`flex gap-4`},Ue={class:`flex flex-col gap-1`},We={class:`x-title sm font-medium`},Ge={class:`x-title`},Ke={class:`flex gap-4`},qe={class:`flex flex-col gap-1`},Je={class:`x-title sm font-medium`},Ye={class:`x-title`},Xe={key:0,class:`flex gap-4 col-span-full`},Ze={class:`flex flex-col gap-1`},Qe={class:`x-title sm font-medium`},$e={class:`x-title`},et={key:0,class:`flex flex-col`},tt={class:`x-heading sm mb-6`},nt={class:`x-text`},rt={class:`flex flex-col divide-y divide-main-tertiary divide-gap-y-3`},it={key:0,class:`flex items-center justify-between`},at={class:`x-title`},ot={class:`x-text sm font-medium`},st={key:1,class:`flex items-center justify-between`},ct={class:`x-title`},lt={class:`x-text sm font-medium`},ut={key:2,class:`flex items-center justify-between`},dt={class:`x-title`},ft={class:`x-text sm font-medium`},pt={class:`flex items-center gap-2 justify-end max-md:flex-wrap`},mt={class:`x-heading sm`},ht={class:`x-text lg`},gt=d({__name:`OrderConfirmedWellness`,props:{id:{type:[String,null]},uuid:{type:[String,null]},finalPrice:{type:[Number,null]},currency:{type:String},promoCode:{type:[String,null]},guest:{type:[Object,null]},accommodation:{type:[Object,null]},vouchers:{type:[Object,null]},wellness:{type:[Object,null]}},setup(e){let{t,d:n}=g(),a=e;return(o,s)=>e.wellness?(r(),m(`div`,ke,[v(`h2`,Ae,[b(f(l(t)(`wellnessReservation`))+` `,1),v(`span`,je,`#`+f(e.wellness?.vs),1)]),(r(!0),m(y,null,i(e.wellness?.items,(e,i)=>(r(),m(`div`,{key:i,class:`flex flex-col mb-2`},[v(`h3`,Me,f(l(t)(`nthReservation`,i+1)),1),v(`ul`,Ne,[v(`li`,Pe,[s[0]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-calendar-days-mini`})])],-1),v(`div`,Fe,[v(`div`,Ie,f(l(t)(`date`)),1),e?.date?(r(),m(`div`,Le,f(l(n)(new Date(e.date))),1)):h(``,!0)])]),v(`li`,Re,[s[1]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-clock-mini`})])],-1),v(`div`,ze,[v(`div`,Be,f(l(t)(`time`)),1),v(`div`,Ve,[b(f(e?.timeFrom)+` `,1),e?.timeTo?(r(),m(y,{key:0},[b(` – `+f(e?.timeTo),1)],64)):h(``,!0)])])]),v(`li`,He,[s[2]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-user-group-mini`})])],-1),v(`div`,Ue,[v(`div`,We,f(l(t)(`numberOfPersons`)),1),v(`div`,Ge,f(e?.adults),1)])]),v(`li`,Ke,[s[3]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-wellness-solid`})])],-1),v(`div`,qe,[v(`div`,Je,f(l(t)(`item`)),1),v(`div`,Ye,f(e?.wellnessName),1)])]),e?.services&&e.services.length>0?(r(),m(`li`,Xe,[s[4]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-wellness-solid`})])],-1),v(`div`,Ze,[v(`div`,Qe,f(l(t)(`extraServices`)),1),v(`div`,$e,f(e.services.map(e=>e.name).join(`, `)),1)])])):h(``,!0)])]))),128)),e.guest?(r(),m(`div`,et,[v(`h2`,tt,[b(f(l(t)(`reservingPerson`))+` `,1),v(`span`,nt,`(`+f(e.guest?.firstName)+` `+f(e.guest?.lastName)+`)`,1)]),v(`ul`,rt,[e.guest?.email?(r(),m(`li`,it,[v(`div`,at,f(l(t)(`email`)),1),v(`div`,ot,f(e.guest.email),1)])):h(``,!0),e.guest?.tel?(r(),m(`li`,st,[v(`div`,ct,f(l(t)(`phone`)),1),v(`div`,lt,f(e.guest.tel),1)])):h(``,!0),e.guest?.street||e.guest?.city||e.guest?.postalCode?(r(),m(`li`,ut,[v(`div`,dt,f(l(t)(`address`)),1),v(`div`,ft,f(e.guest?.street)+`, `+f(e.guest?.city)+` `+f(e.guest?.postalCode),1)])):h(``,!0)])])):h(``,!0),v(`div`,pt,[v(`div`,mt,f(l(t)(`total`)),1),v(`div`,ht,f(l(M)(e.wellness.finalPrice,a.currency)),1)])])):h(``,!0)}}),_t={key:0,class:`p-6 bg-body-primary rounded-xl flex items-center max-md:flex-col gap-8 md:gap-6 justify-between col-span-full`},vt={class:`flex flex-col items-start`},yt={class:`x-heading`},bt={class:`flex flex-col gap-5 lg:pr-10`},xt={key:0,class:`flex flex-col gap-1`},St={class:`x-title sm font-medium text-main-secondary`},Ct={class:`x-title flex items-center gap-3`},wt={key:1,class:`flex flex-col gap-1`},Tt={class:`x-title sm font-medium text-main-secondary`},Et={class:`x-title flex items-center gap-3`},$={key:2,class:`flex flex-col gap-1`},Dt={class:`x-title sm font-medium text-main-secondary`},Ot={class:`x-title flex items-center gap-3`},kt={key:1,class:`py-12 px-2.5 bg-body-primary rounded-xl flex flex-col items-center gap-3 col-span-full`},At={class:`x-heading lg text-center`},jt={key:0,class:`bg-body-primary p-3 md:p-6 rounded-xl flex flex-col gap-6`},Mt={key:1,class:`skeleton h-svh rounded-xl`},Nt={key:2,class:`bg-body-primary p-3 md:p-6 rounded-xl flex flex-col gap-6`},Pt={key:3,class:`bg-body-primary p-3 md:p-6 rounded-xl flex flex-col gap-6`},Ft={class:`x-heading mb-2`},It={class:`x-text`},Lt=d({__name:`[uuid]`,setup(i){let{t:d}=g(),j=o(),M=S(),z=C(),B=ce(),V=D(),H=pe(),U=w(),W=L(),{data:G}=fe(),{data:K,error:q,isLoading:J}=ve(W.value.uuid),{data:Y}=he(),X=n(!1),Z=u(V.trackOrder);U.resetPromo(),B.$reset(),V.$reset(),j.invalidateQueries({key:[`account/orders`]}),j.invalidateQueries({key:[`account/points`]}),j.invalidateQueries({key:[`account/rewards`]});let Q=p(()=>K?.value?.accommodation?.paymentType===`payment-online-card`&&!K?.value?.accommodation?.paymentUrlOpened?K?.value?.accommodation?.paymentUrl:K?.value?.vouchers?.paymentType===`payment-online-card`&&!K?.value?.vouchers?.paymentUrlOpened?K?.value?.vouchers?.paymentUrl:K?.value?.wellness?.paymentType===`payment-online-card`&&!K?.value?.wellness?.paymentUrlOpened?K?.value?.wellness?.paymentUrl:null);return c([K,q],()=>{!q?.value&&!K?.value?.error||(M.push(`/`),H.add({class:`accent-error`,title:d(`error`),text:q?.value?.toString()??K.value?.error?.message}))}),c(()=>K.value?.accommodation?.paymentUrl,e=>{e&&(K?.value?.accommodation?.paymentUrlOpened||K?.value?.accommodation?.paymentType!==`payment-online-card`||K?.value?.accommodation?.paid||setTimeout(()=>{X.value=!0,window.location.replace(R(e,z.url))},750))},{immediate:!0}),c(()=>K.value?.vouchers?.paymentUrl,e=>{e&&(K?.value?.vouchers?.paymentUrlOpened||K?.value?.accommodation?.paymentType===`payment-online-card`&&!K?.value?.accommodation?.paymentUrlOpened||K?.value?.vouchers?.paymentType!==`payment-online-card`||K?.value?.vouchers?.paid||setTimeout(()=>{X.value=!0,window.location.replace(R(e,z.url))},750))},{immediate:!0}),c(()=>K.value?.wellness?.paymentUrl,e=>{e&&(K?.value?.wellness?.paymentUrlOpened||K?.value?.accommodation?.paymentType===`payment-online-card`&&!K?.value?.accommodation?.paymentUrlOpened||K?.value?.vouchers?.paymentType===`payment-online-card`&&!K?.value?.vouchers?.paymentUrlOpened||K?.value?.wellness?.paymentType!==`payment-online-card`||K?.value?.wellness?.paid||setTimeout(()=>{X.value=!0,window.location.replace(R(e,z.url))},750))},{immediate:!0}),c(K,e=>{if(!(!e&&K?.value?.error)&&Z){Z=!1;let e=K?.value?.accommodation?.rooms?.map(e=>({item_id:e.roomId,item_name:e.roomName,item_variant:e.packageName||e.rateName,item_category:`Reservation`,item_brand:Y.value?.chainName,affiliation:Y.value?.name,currency:K?.value?.accommodation?.currency,price:Math.round(((e.prices?.finalPrice??NaN)/(K?.value?.accommodation?.totalNights??NaN)+2**-52)*100)/100,quantity:K?.value?.accommodation?.totalNights}))??[],t=K?.value?.vouchers?.items?.map(e=>({item_id:e.voucherId??e.productId,item_name:e.name,item_variant:e.voucherFormat,item_category:e.voucherId?`Voucher`:`Product`,item_brand:Y.value?.chainName,affiliation:Y.value?.name,currency:K?.value?.vouchers?.currency,price:e.price,quantity:1}))??[],n=K?.value?.wellness?.items?.map(e=>({item_id:e.wellnessId,item_name:e.wellnessName,item_category:`Wellness`,item_brand:Y.value?.chainName,affiliation:Y.value?.name,currency:K?.value?.wellness?.currency,price:e.price,quantity:1}))??[],r=(e=>K?.value?.accommodation?.number&&(!K?.value.vouchers||!K?.value.wellness)?e:`${e}_ORDER`)(K?.value?.accommodation?.number??K?.value?.id),i=[...e,...t,...n],a={transaction_id:r,value:K?.value?.finalPrice,currency:K?.value?.currency,check_in:K?.value?.accommodation?.checkInDate,check_out:K?.value?.accommodation?.checkOutDate,email:K?.value?.guest?.email,coupon:K?.value?.promoCode,items:i};if(oe(`Purchase`,{props:{hotelId:Y?.value?.id,...a}}),(G.value?.tracking?.googleGa4||G.value?.tracking?.googleGtm)&&k(`event`,`purchase`,a),G.value?.tracking?.googleAdsId&&G.value?.tracking?.googleAdsLabel&&(k(`set`,`user_data`,{email:K?.value?.guest?.email,phone_number:K?.value?.guest?.tel,address:{first_name:K?.value?.guest?.firstName,last_name:K?.value?.guest?.lastName,city:K?.value?.guest?.city,postal_code:K?.value?.guest?.postalCode,country:K?.value?.guest?.country,street:K?.value?.guest?.street}}),k(`event`,`conversion`,{send_to:`${G.value?.tracking?.googleAdsId}/${G.value?.tracking?.googleAdsLabel}`,value:K?.value?.finalPrice,currency:K?.value?.currency,transaction_id:r})),G.value?.tracking?.thnHotelId&&K?.value?.accommodation&&k(`event`,`thnBookingConfirmation`,{thn:{languageCode:K?.value?.accommodation?.lang,currencyCode:K?.value?.accommodation?.currency,hotelId:Y?.value?.id,hotelName:Y?.value?.name,booking:{id:K?.value?.accommodation?.number,checkIn:K?.value?.accommodation?.checkInDate,checkOut:K?.value?.accommodation?.checkOutDate,totalCost:K?.value?.accommodation?.finalPriceSecondary,promoCode:K?.value?.accommodation?.promoCode}}}),G.value?.tracking?.sklik&&(A.updateIdentities({eid:K.value?.guest?.email,aid:{a1:K?.value?.guest?.country,a2:K?.value?.guest?.city,a3:K?.value?.guest?.street,a5:K?.value?.guest?.postalCode},tid:K?.value?.guest?.tel}),A.conversionHit({id:G.value?.tracking?.sklik,orderId:r,value:K?.value?.finalPrice,consent:z.consent})),G.value?.tracking?.facebookPixel&&ie(`track`,`Purchase`,{currency:K?.value?.currency,value:K?.value?.finalPrice},{eventID:K.value?.uuid}),G.value?.tracking?.xPixel&&E(`track`,`Purchase`,{value:K?.value?.finalPrice,currency:K?.value?.currency,num_items:i.length}),G.value?.tracking?.tiktokPixel){let e=i.map(e=>e.item_id?.toString()??``).filter(Boolean),t=i.map(e=>e.item_name).filter(Boolean).join(`, `),n=i.reduce((e,t)=>e+(t.quantity||1),0);de.track(`Purchase`,{content_type:`product`,quantity:n,description:t,content_ids:e,currency:K?.value?.currency,value:K?.value?.finalPrice})}if(G.value?.tracking?.microsoftAds&&ue(`event`,`PRODUCT_PURCHASE`,{ecomm_prodid:r,ecomm_pagetype:`PURCHASE`,revenue_value:K?.value?.finalPrice,currency:K?.value?.currency}),G.value?.tracking?.sojernConversion&&K?.value?.accommodation&&T({id:G.value?.tracking?.sojernConversion,checkIn:K?.value?.accommodation?.checkInDate,checkOut:K?.value?.accommodation?.checkOutDate,guests:K?.value?.accommodation?.totalGuests,hotelCity:Y?.value?.city,hotelName:Y?.value?.name,hotelId:Y?.value?.id,hotelCountry:Y?.value?.country,price:K?.value?.accommodation?.finalPriceSecondary,currency:K?.value?.accommodation?.currencySecondary,reservationNumber:K?.value?.accommodation?.number,rooms:K?.value?.accommodation?.totalRooms}),G.value?.tracking?.leadhub&&K?.value?.accommodation){let e=[...(K?.value?.accommodation?.rooms??[]).map(e=>({product_id:e.roomId,quantity:K?.value?.accommodation?.totalNights}))];se(`Purchase`,{value:K?.value?.accommodation?.finalPriceSecondary,currency:K?.value?.accommodation?.currencySecondary,email:K?.value?.guest?.email,first_name:K?.value?.guest?.firstName,last_name:K?.value?.guest?.lastName,phone:K?.value?.guest?.tel,order_id:r,products:e})}G.value?.tracking?.quicktextLicense&&K?.value?.accommodation&&ae({event:`confirm`,partner:`Bookolo`,price:K?.value?.accommodation?.finalPriceSecondary,currency:K?.value?.accommodation?.currencySecondary,checkIn:K?.value?.accommodation?.checkInDate,checkOut:K?.value?.accommodation?.checkOutDate,adults:K?.value?.accommodation?.totalAdults,children:K?.value?.accommodation?.totalChildren,rooms:K?.value?.accommodation?.totalRooms}),G.value?.tracking?.dialogShiftClientId&&K?.value?.accommodation&&O({clientId:G.value?.tracking?.dialogShiftClientId,bookingAmount:K?.value?.accommodation?.finalPriceSecondary,roomCount:K?.value?.accommodation?.totalRooms,nightCount:K?.value?.accommodation?.totalNights,currencyCode:K?.value?.accommodation?.currencySecondary}),G.value?.tracking?.dedgeTrackingHotelId&&K?.value?.accommodation&&le({hotelId:Y?.value?.id,currency:K?.value?.accommodation?.currencySecondary,amount:K?.value?.accommodation?.finalPriceSecondary,amountWithoutTax:K?.value?.accommodation?.finalPriceSecondary,arrival:K?.value?.accommodation?.checkInDate,departure:K?.value?.accommodation?.checkOutDate,bookingReference:K?.value?.accommodation?.number})}},{immediate:!0}),(n,i)=>{let o=me,c=re,u=I,p=P,g=F,S=N,C=gt,w=Oe,T=_e,E=ge,D=ne,O=te;return r(),m(y,null,[x(E,{class:`grid lg:grid-cols-[1fr_28.25rem] gap-3 mg:gap-6`},{default:t(()=>[[l(K)?.accommodation,l(K)?.vouchers,l(K)?.wellness].filter(Boolean).length>=2?(r(),m(`div`,_t,[v(`div`,vt,[x(o,{class:`accent-success before:bg-accent/15 mb-3`,size:`md`,icon:`#icon-check`}),v(`h1`,yt,f(l(K)?.accommodation?l(d)(`reservationIsConfirmed`):l(d)(`orderIsCompleted`)),1),x(c,{size:`md`,to:`/`,class:`mt-5 md:mt-10`},{default:t(()=>[b(f(l(d)(`backToMainPage`)),1)]),_:1})]),v(`ul`,bt,[l(K)?.accommodation&&(l(K)?.accommodation?.paymentType===`payment-online-card`||l(K)?.accommodation?.paymentType===`bank-transfer`||l(K)?.accommodation?.paid)?(r(),m(`li`,xt,[v(`div`,St,f(l(d)(`accommodationAndPackages`)),1),v(`div`,Ct,[l(K)?.accommodation?.paymentType===`payment-online-card`&&!l(K)?.accommodation?.paid?(r(),m(y,{key:0},[x(o,{class:`accent-error before:bg-accent/20`,size:`xs`,icon:`#icon-x-mark-micro`}),b(` `+f(l(d)(`paymentWithCardFailed`)),1)],64)):l(K)?.accommodation?.paymentType===`bank-transfer`&&!l(K)?.accommodation?.paid?(r(),m(y,{key:1},[b(f(l(d)(`waitingForBankTransferPayment`)),1)],64)):l(K)?.accommodation?.paid?(r(),m(y,{key:2},[x(o,{class:`accent-success before:bg-accent/20`,size:`xs`,icon:`#icon-check-micro`}),b(` `+f(l(d)(`paymentSuccessful`)),1)],64)):h(``,!0)])])):h(``,!0),l(K)?.wellness&&(l(K)?.wellness?.paymentType===`payment-online-card`||l(K)?.wellness?.paymentType===`bank-transfer`||l(K)?.wellness?.paid)?(r(),m(`li`,wt,[v(`div`,Tt,f(l(d)(`wellness`)),1),v(`div`,Et,[l(K)?.wellness?.paymentType===`payment-online-card`&&!l(K)?.wellness?.paid?(r(),m(y,{key:0},[x(o,{class:`accent-error before:bg-accent/20`,size:`xs`,icon:`#icon-x-mark-micro`}),b(` `+f(l(d)(`paymentWithCardFailed`)),1)],64)):l(K)?.wellness?.paymentType===`bank-transfer`&&!l(K)?.wellness?.paid?(r(),m(y,{key:1},[b(f(l(d)(`waitingForBankTransferPayment`)),1)],64)):l(K)?.wellness?.paid?(r(),m(y,{key:2},[x(o,{class:`accent-success before:bg-accent/20`,size:`xs`,icon:`#icon-check-micro`}),b(` `+f(l(d)(`paymentSuccessful`)),1)],64)):h(``,!0)])])):h(``,!0),l(K)?.vouchers&&(l(K)?.vouchers?.paymentType===`payment-online-card`||l(K)?.vouchers?.paymentType===`bank-transfer`||l(K)?.vouchers?.paid)?(r(),m(`li`,$,[v(`div`,Dt,f(l(d)(`vouchers`)),1),v(`div`,Ot,[l(K)?.vouchers?.paymentType===`payment-online-card`&&!l(K)?.vouchers?.paid?(r(),m(y,{key:0},[x(o,{class:`accent-error before:bg-accent/20`,size:`xs`,icon:`#icon-x-mark-micro`}),b(` `+f(l(d)(`paymentWithCardFailed`)),1)],64)):l(K)?.vouchers?.paymentType===`bank-transfer`&&!l(K)?.vouchers?.paid?(r(),m(y,{key:1},[b(f(l(d)(`waitingForBankTransferPayment`)),1)],64)):l(K)?.vouchers?.paid?(r(),m(y,{key:2},[x(o,{class:`accent-success before:bg-accent/20`,size:`xs`,icon:`#icon-check-micro`}),b(` `+f(l(d)(`paymentSuccessful`)),1)],64)):h(``,!0)])])):h(``,!0)])])):(r(),m(`div`,kt,[x(o,{class:`accent-success before:bg-accent/15`,icon:`#icon-check`}),v(`h1`,At,f(l(K)?.accommodation?l(d)(`reservationIsConfirmed`):l(d)(`orderIsCompleted`)),1),x(c,{size:`md`,to:`/`,class:`mt-7`},{default:t(()=>[b(f(l(d)(`backToMainPage`)),1)]),_:1})])),v(`div`,{class:ee([`flex flex-col gap-6`,{"col-span-full":!l(G)?.showBookoloAppDownload}])},[!l(J)&&l(K)?.accommodation?(r(),m(`div`,jt,[l(K)?.accommodation?.paymentType===`payment-online-card`&&!l(K)?.accommodation?.paid&&l(K)?.accommodation?.paymentUrlOpened?(r(),_(u,{key:0,title:l(d)(`paymentWithCardFailed`),status:`error`,icon:`#icon-x-mark-micro`},{default:t(()=>[x(c,{as:`a`,size:`md`,class:`ml-auto max-md:w-full`,href:l(R)(l(K)?.accommodation?.paymentUrl,l(z).url)},{default:t(()=>[b(f(l(d)(`payAccommodation`)),1)]),_:1},8,[`href`])]),_:1},8,[`title`])):h(``,!0),l(K)?.accommodation?.paymentType===`bank-transfer`&&!l(K)?.accommodation?.paid?(r(),_(u,{key:1,title:l(d)(`waitingForBankTransferPayment`),status:`warning`,icon:`#icon-question-mark`},null,8,[`title`])):h(``,!0),l(K)?.accommodation?.paid?(r(),_(u,{key:2,title:l(d)(`paymentSuccessful`),status:`success`,icon:`#icon-check-micro`},null,8,[`title`])):h(``,!0),!l(J)&&l(K)?.accommodation?.bank?(r(),_(p,a(e({key:3},{...l(K)?.accommodation?.bank})),null,16)):h(``,!0),x(g,a(s({...l(K)})),null,16),l(G)?.showBookoloAppReservationScan?(r(),_(S,{key:4,qrCode:l(K)?.accommodation?.qrCode,code:l(K)?.accommodation?.code},null,8,[`qrCode`,`code`])):h(``,!0)])):l(J)?(r(),m(`div`,Mt)):h(``,!0),!l(J)&&l(K)?.wellness?(r(),m(`div`,Nt,[l(K)?.wellness?.paymentType===`payment-online-card`&&!l(K)?.wellness?.paid&&l(K)?.wellness?.paymentUrlOpened?(r(),_(u,{key:0,title:l(d)(`paymentWithCardFailed`),status:`error`,icon:`#icon-x-mark-micro`},{default:t(()=>[x(c,{as:`a`,size:`md`,class:`ml-auto max-md:w-full`,href:l(R)(l(K)?.wellness?.paymentUrl,l(z).url)},{default:t(()=>[b(f(l(d)(`payWellness`)),1)]),_:1},8,[`href`])]),_:1},8,[`title`])):h(``,!0),l(K)?.wellness?.paymentType===`bank-transfer`&&!l(K)?.wellness?.paid?(r(),_(u,{key:1,title:l(d)(`waitingForBankTransferPayment`),status:`warning`,icon:`#icon-question-mark`},null,8,[`title`])):h(``,!0),l(K)?.wellness?.paid?(r(),_(u,{key:2,title:l(d)(`paymentSuccessful`),status:`success`,icon:`#icon-check-micro`},null,8,[`title`])):h(``,!0),!l(J)&&l(K)?.wellness?.bank?(r(),_(p,a(e({key:3},{...l(K)?.wellness?.bank})),null,16)):h(``,!0),x(C,a(s({...l(K)})),null,16)])):h(``,!0),!l(J)&&l(K)?.vouchers?(r(),m(`div`,Pt,[l(K)?.vouchers?.paymentType===`payment-online-card`&&!l(K)?.vouchers?.paid&&l(K)?.vouchers?.paymentUrlOpened?(r(),_(u,{key:0,title:l(d)(`paymentWithCardFailed`),status:`error`,icon:`#icon-x-mark-micro`},{default:t(()=>[x(c,{as:`a`,size:`md`,class:`ml-auto max-md:w-full`,href:l(R)(l(K)?.vouchers?.paymentUrl,l(z).url)},{default:t(()=>[b(f(l(K)?.vouchers?.items?.length>1?l(d)(`payVouchers`):l(d)(`payVoucher`)),1)]),_:1},8,[`href`])]),_:1},8,[`title`])):h(``,!0),l(K)?.vouchers?.paymentType===`bank-transfer`&&!l(K)?.vouchers?.paid?(r(),_(u,{key:1,title:l(d)(`waitingForBankTransferPayment`),status:`warning`,icon:`#icon-question-mark`},null,8,[`title`])):h(``,!0),l(K)?.vouchers?.paid?(r(),_(u,{key:2,title:l(d)(`paymentSuccessful`),status:`success`,icon:`#icon-check-micro`},null,8,[`title`])):h(``,!0),!l(J)&&l(K)?.vouchers?.bank?(r(),_(p,a(e({key:3},{...l(K)?.vouchers?.bank})),null,16)):h(``,!0),x(w,a(s({...l(K)})),null,16)])):h(``,!0)],2),l(G)?.showBookoloAppDownload?(r(),_(T,{key:2,class:`transition-all md:sticky md:top-[calc(var(--x-main-sticky-top)+1rem)] self-start`})):h(``,!0)]),_:1}),x(O,{open:l(K)?.accommodation?.paymentType===`payment-online-card`&&!l(K)?.accommodation?.paid&&!l(K)?.accommodation?.paymentUrlOpened||l(K)?.vouchers?.paymentType===`payment-online-card`&&!l(K)?.vouchers?.paid&&!l(K)?.vouchers?.paymentUrlOpened||l(K)?.wellness?.paymentType===`payment-online-card`&&!l(K)?.wellness?.paid&&!l(K)?.wellness?.paymentUrlOpened,closable:!1},{default:t(()=>[x(D,{size:`xs`,class:`flex flex-col text-center items-center py-8 px-16`},{default:t(()=>[x(o,{class:`before:bg-accent/15 mb-4`,icon:`#icon-credit-card-solid`}),v(`div`,Ft,f(l(d)(`momentOfPatience`)),1),v(`div`,It,f(l(d)(`paymentGatewayRedirection`)),1),x(c,{as:`a`,class:`mt-6`,size:`md`,href:l(R)(Q.value,l(z).url),disabled:X.value},{default:t(()=>[b(f(l(d)(`redirectNow`)),1)]),_:1},8,[`href`,`disabled`])]),_:1})]),_:1},8,[`open`])],64)}}});export{Lt as default};
@@ -1 +1 @@
1
- import{t as e}from"./preload.vcDpiZHI.js";import{An as t,Dn as n,Hn as r,In as i,Jn as a,Kn as o,Mn as s,Pn as c,Rt as l,Vn as u,Xn as d,Zn as f,bn as p,er as m,f as h,gn as g,hn as _,jt as v,kn as y,ln as b,mn as x,p as S,pn as C,u as w,un as T,ut as E,vn as D,yn as O}from"./vendor.BGu2qkTq.js";import{W as k,t as A}from"./params.DR2mabOE.js";import"./localeRules.DuB-8maD.js";import{n as j,t as M}from"./DialogContent.tdqsNrXE.js";import{n as N,t as P}from"./Field.Bw7PCeQ1.js";import{t as F}from"./Button.DSwXM1vM.js";import{t as I}from"./Control.l_F0QhcO.js";import"./client.DrMpyevc.js";import"./staleTimes.BuCDd__I.js";import"./countries.CE6bN6gS.js";import{t as L}from"./config.tpbdABlZ.js";import{n as R,t as ee}from"./ControlTelCountryCode.CcdH-ptn.js";import{t as te}from"./Check.1kttjrU5.js";import{t as z}from"./toaster.DOHhVfsI.js";import{t as B}from"./patterns.Bgl0jWnL.js";import{t as V}from"./validateFields.Jh9WdbVA.js";import{t as H}from"./ButtonGhosted.E76FJ-Mf.js";import{t as ne}from"./ButtonBordered.CP-VyF36.js";import{o as U,r as W}from"./reservation.Co3PKchx.js";import{t as G}from"./hotel.BmQNwmkI.js";import{t as K}from"./Main.B6URJ_XN.js";import{t as q}from"./routeParams.6hpnfcMT.js";import{t as J}from"./CheckinApp.BEzPf4Yi.js";import{i as Y}from"./reservation.BzOjnZgI.js";import{t as X}from"./InputMask.Bjs0czKj.js";var Z={class:`border-b border-b-main-secondary`},re={key:0,class:`x-info text-error validity mt-1`},ie=p({__name:`ControlSignature`,props:{invalid:{type:Boolean},value:{type:String}},setup(n,{expose:i}){let c=n,{t:l}=v(),p=A(),h=o(),b=o(),x=a(c.invalid??!1),S;function w(){let e=Math.max(window.devicePixelRatio||1,1);h.value.width=h.value.offsetWidth*e,h.value.height=h.value.offsetHeight*e,h.value.getContext(`2d`).scale(e,e)}function E(){b.value=S.toDataURL(`image/png`),x.value=!1}let D=()=>{S.clear()};return u(()=>c.invalid,e=>{x.value=e}),y(async()=>{let{default:t}=await e(async()=>{let{default:e}=await import(`./signature_pad.DvPpdb2r.js`);return{default:e}},[]);S=new t(h.value,{penColor:p.theme===`dark`?`rgb(255 255 255)`:`rgb(0 0 0)`}),w(),c.value&&await S.fromDataURL(c.value),window.addEventListener(`resize`,w),S.addEventListener(`endStroke`,E)}),t(()=>{window.removeEventListener(`resize`,w),S.removeEventListener(`endStroke`,E)}),i({output:b}),(e,t)=>{let n=H;return s(),g(T,null,[C(`div`,{class:f([`x-control-signature pb-6 px-6 rounded-md bg-body-primary border relative`,{"border-error":x.value,"border-main-tertiary":!x.value}])},[C(`div`,Z,[C(`canvas`,{ref_key:`canvas`,ref:h,class:`w-full h-[82px]`},null,512),O(n,{class:`accent-main absolute right-1.5 top-1.5`,size:`xs`,variant:`circle`,type:`button`,"aria-label":d(l)(`clear`),onClick:D},{default:r(()=>[...t[0]||=[C(`svg`,{"aria-hidden":`true`,class:`size-4`},[C(`use`,{href:`#icon-arrow-uturn-left-micro`})],-1)]]),_:1},8,[`aria-label`])])],2),x.value?(s(),g(`div`,re,m(d(l)(`fillThisField`)),1)):_(``,!0)],64)}}});const ae=e=>{navigator.clipboard.writeText(e)};var oe={class:`x-heading sm mb-6`},se=[`placeholder`],ce={class:`flex flex-wrap gap-2 justify-between text-main-secondary`},le={class:`x-title sm`},ue=p({__name:`CheckinShareDialog`,props:{uuid:{type:[String,null]}},setup(e,{expose:t}){let n=e,{t:i}=v(),a=E(),c=q(),l=z(),f=o(),p=o(),g=o(!1),{data:_,mutate:y,error:T,asyncStatus:k}=U(),A=({currentTarget:e})=>{let t=Object.fromEntries(new FormData(e));y(Object.assign(t,{uuid:n?.uuid}))};u(_,e=>{e?.response?.status===200&&(f.value.close(),l.add({class:`accent-success`,title:i(`success`),text:i(`checkinSuccessInfo`)}))}),u([_,T],()=>{!T.value&&!_?.value?.error||(V(p.value?.$el,_?.value?.error?.params),l.add({class:`accent-error`,title:i(`error`),text:T?.value?.toString()??_.value?.error?.message}))});let L=()=>{ae(`${a.value.origin+a.value.pathname}#/reservation/checkin/${c.value.id}/${n.uuid}`),g.value=!0,setTimeout(()=>{g.value=!1},750)};return t({root:f}),(e,t)=>{let n=H,o=I,c=P,l=F,u=N,_=M,v=j;return s(),x(v,{ref_key:`root`,ref:f},{default:r(()=>[O(_,{class:`flex flex-col p-6 rounded-xl`},{default:r(()=>[O(n,{class:`accent-main absolute right-4 top-4`,size:`xs`,variant:`circle`,"aria-label":d(i)(`close`),onClick:t[0]||=e=>f.value.close()},{default:r(()=>[...t[1]||=[C(`svg`,{"aria-hidden":`true`},[C(`use`,{href:`#icon-x-mark-mini`})],-1)]]),_:1},8,[`aria-label`]),C(`h1`,oe,m(d(i)(`reservationShare`)),1),O(u,{ref_key:`form`,ref:p,class:`flex gap-2.5 mb-6`,onSubmit:b(A,[`prevent`])},{default:r(()=>[O(c,{class:`grow`},{default:r(()=>[O(o,{size:`md`,class:`not-has-user-invalid:border-accent`},{default:r(()=>[C(`input`,{type:`email`,name:`email`,placeholder:d(i)(`enterEmail`),required:``,autofocus:``},null,8,se)]),_:1})]),_:1}),O(l,{size:`md`,type:`submit`,loading:d(k)===`loading`},{default:r(()=>[D(m(d(i)(`shareCheckin`)),1)]),_:1},8,[`loading`])]),_:1},512),C(`div`,ce,[C(`div`,le,m(d(i)(`orCopyLink`))+`: `,1),O(d(S),{open:g.value},{default:r(()=>[O(d(w),{"as-child":``},{default:r(()=>[C(`button`,{class:`x-link sm flex items-center gap-1 underline underline-transparent`,onClick:L},[D(m(d(a).host+d(a).pathname)+` `,1),t[2]||=C(`svg`,{class:`size-3 text-accent shrink-0`,"aria-hidden":`true`},[C(`use`,{href:`#icon-square-2-stack-micro`})],-1)])]),_:1}),O(d(h),{sideOffset:4,side:`top`,class:`x-popover-content tooltip shadow`},{default:r(()=>[D(m(d(i)(`copiedToClipboard`)),1)]),_:1})]),_:1},8,[`open`])])]),_:1})]),_:1},512)}}}),de=[`data-open`],fe={class:`p-3 min-h-16.5 flex items-center max-md:flex-wrap transition-all group-data-open:p-4 group-data-open:md:p-6 max-md:gap-y-1`},pe={class:`x-title sm mr-2 order-first`},me={key:0,class:`text-normal`},he={key:0,class:`x-title sm text-primary md:ml-auto`},ge={key:1,class:`md:ml-auto flex items-center gap-5 max-md:contents`},_e={key:2,class:`md:ml-auto flex gap-4 max-md:mt-1 max-md:gap-2`},ve={class:`x-heading xs mb-6`},ye={class:`grid md:grid-cols-2 gap-3 md:gap-6`},be=[`id`,`value`],xe=[`for`],Se=[`id`,`value`],Ce=[`for`],we=[`id`,`value`],Te=[`for`],Ee=[`id`,`value`,`required`],De=[`for`],Oe=[`id`,`value`],ke=[`for`],Ae=[`id`],je=[`for`],Me={class:`x-heading xs mb-6`},Ne={class:`grid md:grid-cols-2 gap-3 md:gap-6`},Pe=[`id`,`value`],Fe=[`for`],Ie=[`id`,`value`],Le=[`for`],Re=[`id`,`value`],ze=[`for`],Be={class:`x-heading xs mb-6`},Ve={class:`grid md:grid-cols-2 gap-3 md:gap-6`},He={class:`x-group rounded-sm w-full`},Ue=[`id`,`value`,`pattern`],We=[`for`],Ge=[`id`,`value`],Ke=[`for`],qe={key:0},Je={class:`x-heading xs mb-6`},Ye={class:`grid md:grid-cols-12 gap-3 md:gap-6`},Xe=[`id`],Ze=[`for`],Qe=[`id`],$e=[`for`],et=[`id`],tt=[`for`],nt={class:`x-heading xs mb-6`},rt={class:`flex flex-col gap-2.5`},it=[`id`,`checked`],at=[`id`,`checked`],Q=!0,ot=p({__name:`CheckinRoomItem`,props:{checkinCompleted:{type:Boolean},checkinClosed:{type:Boolean},index:{type:Number},guest:{type:Object}},setup(e){let t={BASE_URL:`https://v4.bookoloengine.com/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_API_URL:`https://api.bookoloengine.com/desktop/v1`,VITE_BASE_URL:`https://v4.bookoloengine.com/`,VITE_DEBUG:`false`,VITE_FONT_URL:`https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap`,VITE_GOOGLE_MAPS_API_KEY:`AIzaSyDMusEQNO0rIJ86vZoowmPD2U2g5Ma8LOQ`,VITE_LOCALES_URL:`https://www.bookoloengine.com/userfiles/api/desktop/locales`,VITE_NAME:`bookolosystem-engine`,VITE_NAME_BANNER:`bookolosystem-banner`,VITE_PLAUSIBLE_URL:`https://plausible.newlogic.cz/js/script.outbound-links.js`,VITE_SENTRY_DSN:`https://015bded0d2216dceb2c50582f80e5f83@sentry.newlogic.cz/58`},{t:c}=v(),p=l(),h=e,y=z(),{data:S}=L(),w=a(!1),E=a(),k=a(h.checkinCompleted),A=o(),j=a(!1),M=o(),H=o({uuid:``}),{data:U,mutate:G,error:K,asyncStatus:q}=W(),J=()=>{w.value=!w.value},Y=({currentTarget:e})=>{let t=Object.fromEntries(new FormData(e));if(!A.value.output){j.value=!0;return}G(Object.assign(t,{uuid:h?.guest?.uuid,id:h?.guest?.id,signature:A.value.output}))};return u(U,e=>{e?.response?.status===200&&(w.value=!1,k.value=!0,p.invalidateQueries({key:[`reservation`]}))}),u([U,K],()=>{!K.value&&!U?.value?.error||(V(E.value?.$el,U?.value?.error?.params),y.add({class:`accent-error`,title:c(`error`),text:K?.value?.toString()??U.value?.error?.message}))}),(a,o)=>{let l=F,u=ne,p=ue,h=I,v=P,y=R,L=ee,z=X,V=ie,U=i(`RouterLink`),W=i(`i18n-t`),G=te,K=N;return s(),g(`div`,{class:f([`x-checkin-room-item outline outline-transparent -outline-offset-1 rounded-md group`,`transition-all data-open:outline-primary has-[+[data-open]]:border-transparent`]),"data-open":w.value?``:null},[C(`div`,fe,[C(`div`,pe,[e.guest?.firstName||e.guest?.lastName?(s(),g(T,{key:0},[D(m(e.guest?.firstName)+` `+m(e.guest?.lastName),1)],64)):(s(),g(T,{key:1},[D(m(d(c)(`guest`))+` `+m(e.index)+` `,1),e.guest?.type===`child`?(s(),g(`span`,me,` (`+m(d(c)(`childrenSingular`))+`) `,1)):_(``,!0)],64))]),C(`div`,{class:f([`x-badge md muted order-first`,{"accent-error":!k.value,"accent-success":k.value}])},[k.value?(s(),g(T,{key:1},[D(m(d(c)(`filled`)),1)],64)):(s(),g(T,{key:0},[D(m(d(c)(`notFilled`)),1)],64))],2),e.checkinClosed?(s(),g(`div`,he,m(d(c)(`onlineCheckinClosed`)),1)):k.value?(s(),g(`div`,ge,[C(`button`,{class:`x-title sm flex items-center gap-1.5 underline underline-transparent hocus:text-primary`,onClick:J},[o[1]||=C(`svg`,{"aria-hidden":`true`,class:`size-4`},[C(`use`,{href:`#icon-pencil-micro`})],-1),D(` `+m(d(c)(`editCheckin`)),1)]),o[2]||=C(`svg`,{"aria-hidden":`true`,class:`size-7 text-success max-md:order-first max-md:ml-auto`},[C(`use`,{href:`#icon-check-circle-solid`})],-1)])):(s(),g(`div`,_e,[w.value?_(``,!0):(s(),x(l,{key:0,size:`md`,onClick:J},{default:r(()=>[D(m(d(c)(`fillCheckin`)),1)]),_:1})),O(u,{size:`md`,class:`accent-main`,onClick:o[0]||=t=>[H.value={uuid:e.guest?.uuid},M.value.root.show()]},{default:r(()=>[D(m(d(c)(`shareCheckin`)),1)]),_:1}),O(p,n({ref_key:`checkinShareDialog`,ref:M},{...H.value}),null,16)]))]),w.value?(s(),x(K,{key:0,ref_key:`form`,ref:E,class:`p-4 md:p-6 flex flex-col gap-8`,onSubmit:b(Y,[`prevent`])},{default:r(()=>[C(`fieldset`,null,[C(`legend`,ve,m(d(c)(`personalDetails`)),1),C(`div`,ye,[O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.firstName,type:`text`,name:`firstName`,autocomplete:`given-name`,placeholder:` `,required:Q},null,8,be),C(`label`,{for:t},m(d(c)(`yourFirstname`)),9,xe)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.lastName,type:`text`,name:`lastName`,autocomplete:`family-name`,placeholder:` `,required:Q},null,8,Se),C(`label`,{for:t},m(d(c)(`yourLastname`)),9,Ce)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.birthDate,type:`date`,name:`birthDate`,autocomplete:`bday`,placeholder:` `,required:Q},null,8,we),C(`label`,{for:t},m(d(c)(`birthdate`)),9,Te)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.idNumber,type:`text`,name:`idNumber`,placeholder:` `,required:e.guest?.onlineCheckinIdNumberRequired},null,8,Ee),C(`label`,{for:t},m(d(c)(`idNumber`)),9,De)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(y,{name:`citizenship`,value:e.guest?.citizenship,required:Q,label:d(c)(`stateCitizenship`)},null,8,[`value`,`label`])]),_:1}),e.guest?.onlineCheckinShowLicensePlate||d(t).VITE_DEBUG===`true`?(s(),x(v,{key:0},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.licensePlate,type:`text`,name:`licensePlate`,placeholder:` `},null,8,Oe),C(`label`,{for:t},m(d(c)(`licencePlate`)),9,ke)]),_:1})]),_:1})):_(``,!0),e.guest?.onlineCheckinShowVisa||d(t).VITE_DEBUG===`true`?(s(),x(v,{key:1},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[C(`input`,{id:e,type:`text`,name:`visa`,placeholder:` `},null,8,Ae),C(`label`,{for:e},m(d(c)(`visaNumber`)),9,je)]),_:1})]),_:1})):_(``,!0)])]),C(`fieldset`,null,[C(`legend`,Me,m(d(c)(`residence`)),1),C(`div`,Ne,[O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.street,type:`text`,name:`street`,autocomplete:`street-address`,placeholder:` `,required:Q},null,8,Pe),C(`label`,{for:t},m(d(c)(`streetAddress`)),9,Fe)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.city,type:`text`,name:`city`,autocomplete:`address-level2`,placeholder:` `,required:Q},null,8,Ie),C(`label`,{for:t},m(d(c)(`city`)),9,Le)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.postalCode,type:`text`,name:`postalCode`,autocomplete:`postal-code`,placeholder:` `,required:Q},null,8,Re),C(`label`,{for:t},m(d(c)(`postalCode`)),9,ze)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(y,{value:e.guest?.country,required:Q},null,8,[`value`])]),_:1})])]),C(`fieldset`,null,[C(`legend`,Be,m(d(c)(`contactDetails`)),1),C(`div`,Ve,[O(v,null,{default:r(()=>[C(`div`,He,[O(L,{value:e.guest?.telCountryCode},null,8,[`value`]),O(h,{class:`grow`,size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.telNational,name:`telNational`,type:`tel`,pattern:d(B).telNational,placeholder:` `,autocomplete:`tel-national`,required:Q},null,8,Ue),C(`label`,{for:t},m(d(c)(`tel`)),9,We)]),_:1})])]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.email,name:`email`,type:`email`,placeholder:` `,autocomplete:`email`,required:Q},null,8,Ge),C(`label`,{for:t},m(d(c)(`email`)),9,Ke)]),_:1})]),_:1})])]),e.guest?.onlineCheckinShowCreditCard||d(t).VITE_DEBUG===`true`?(s(),g(`fieldset`,qe,[C(`legend`,Je,m(d(c)(`creditCard`)),1),C(`div`,Ye,[O(v,{class:`col-span-8`},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[O(z,{"allowed-card-types":d(S)?.creditCardTypes,type:`cc-number`},{default:r(({setRef:t})=>[C(`input`,{id:e,ref:t,type:`text`,name:`cardNumber`,placeholder:` `,autocomplete:`cc-number`,required:Q},null,8,Xe)]),_:2},1032,[`allowed-card-types`]),C(`label`,{for:e},m(d(c)(`cardNumber`)),9,Ze)]),_:1})]),_:1}),O(v,{class:`col-span-4`},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[O(z,{type:`cc-exp`},{default:r(({setRef:t})=>[C(`input`,{id:e,ref:t,name:`cardExpiry`,type:`text`,placeholder:`__/__`,maxlength:`5`,autocomplete:`cc-exp`,class:`focus:placeholder:text-main-secondary`,required:Q},null,8,Qe)]),_:2},1024),C(`label`,{for:e},m(d(c)(`expDate`)),9,$e)]),_:1})]),_:1}),O(v,{class:`col-span-12`},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[C(`input`,{id:e,type:`text`,name:`cardName`,placeholder:` `,autocomplete:`cc-name`,required:Q},null,8,et),C(`label`,{for:e},m(d(c)(`nameOnCard`)),9,tt)]),_:1})]),_:1})])])):_(``,!0),C(`fieldset`,null,[C(`legend`,nt,m(d(c)(`signature`)),1),O(v,null,{default:r(()=>[O(V,{ref_key:`signature`,ref:A,value:e.guest?.signature,invalid:j.value},null,8,[`value`,`invalid`])]),_:1})]),C(`fieldset`,rt,[O(v,null,{default:r(()=>[O(G,null,{default:r(({uid:t})=>[C(`input`,{id:t,type:`checkbox`,checked:e.guest?.onlineCheckinCompleted,required:Q},null,8,it),O(W,{for:t,keypath:`agreeWith`,tag:`label`},{default:r(()=>[O(U,{class:`underline transition hocus:text-primary`,to:`/text/privacy-policy`},{default:r(()=>[D(m(d(c)(`agreeWithSlot.personalData`)),1)]),_:1})]),_:1},8,[`for`])]),_:1})]),_:1}),e.guest?.onlineCheckinShowTradeTerms||d(t).VITE_DEBUG===`true`?(s(),x(v,{key:0},{default:r(()=>[O(G,null,{default:r(({uid:t})=>[C(`input`,{id:t,checked:e.guest?.onlineCheckinCompleted,type:`checkbox`,required:Q},null,8,at),O(W,{for:t,keypath:`agreeWith`,tag:`label`},{default:r(()=>[O(U,{class:`underline transition hocus:text-primary`,to:`/text/trade-terms`},{default:r(()=>[D(m(d(c)(`agreeWithSlot.termsConditions`)),1)]),_:1})]),_:1},8,[`for`])]),_:1})]),_:1})):_(``,!0)]),O(l,{size:`md`,class:`mr-auto`,type:`submit`,loading:d(q)===`loading`},{default:r(()=>[D(m(d(c)(`saveCheckin`)),1)]),_:1},8,[`loading`])]),_:1},512)):_(``,!0)],8,de)}}}),st={class:`x-checkin-room card p-3 md:p-6 bg-body-primary rounded-xl flex flex-col gap-6.5`},ct={class:`flex gap-5`},lt={class:`x-image rounded-md before:skeleton h-17.5`},ut=[`src`,`alt`],dt={class:`flex flex-col gap-1`},ft={class:`x-heading sm`},pt={class:`x-text xs`},mt={class:`x-title sm text-primary mt-auto`},ht={class:`flex flex-col divide-y divide-main-tertiary`},gt=p({__name:`CheckinRoom`,props:{room:{type:Object}},setup(e){let t={BASE_URL:`https://v4.bookoloengine.com/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_API_URL:`https://api.bookoloengine.com/desktop/v1`,VITE_BASE_URL:`https://v4.bookoloengine.com/`,VITE_DEBUG:`false`,VITE_FONT_URL:`https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap`,VITE_GOOGLE_MAPS_API_KEY:`AIzaSyDMusEQNO0rIJ86vZoowmPD2U2g5Ma8LOQ`,VITE_LOCALES_URL:`https://www.bookoloengine.com/userfiles/api/desktop/locales`,VITE_NAME:`bookolosystem-engine`,VITE_NAME_BANNER:`bookolosystem-banner`,VITE_PLAUSIBLE_URL:`https://plausible.newlogic.cz/js/script.outbound-links.js`,VITE_SENTRY_DSN:`https://015bded0d2216dceb2c50582f80e5f83@sentry.newlogic.cz/58`},{t:n}=v();return(r,i)=>{let a=ot;return s(),g(`div`,st,[C(`div`,ct,[C(`div`,lt,[C(`img`,{src:e.room?.roomImage?.[`1x`],class:`aspect-4/3 object-cover`,loading:`lazy`,alt:e.room?.roomImage?.alt},null,8,ut)]),C(`div`,dt,[C(`h2`,ft,m(e.room?.roomName),1),C(`div`,pt,[D(m(e.room?.rateName)+` `,1),e.room?.prices?.finalPriceExtraBeds?(s(),g(T,{key:0},[D(` (+`+m(d(n)(`extraBed`))+`) `,1)],64)):_(``,!0)]),C(`div`,mt,m(d(n)(`filled`))+` `+m(e.room?.guests?.filter(e=>e?.onlineCheckinCompleted)?.length)+`/`+m(e.room?.guests?.length),1)])]),C(`div`,ht,[(s(!0),g(T,null,c(e.room?.guests,(e,n)=>(s(),x(a,{key:n,ref_for:!0,ref:`rooms`,index:n+1,guest:e,"checkin-completed":e?.onlineCheckinCompleted,"checkin-closed":!e?.onlineCheckinAllowed&&d(t).VITE_DEBUG!==`true`},null,8,[`index`,`guest`,`checkin-completed`,`checkin-closed`]))),128))])])}}}),_t={class:`x-checkin-info card p-4 md:p-6 bg-body-primary rounded-xl flex flex-col gap-5`},vt={class:`x-heading sm flex items-center`},yt={key:0,class:`x-badge md muted accent-success ml-auto -my-0.5`},$={class:`flex flex-col gap-5`},bt={class:`flex gap-4`},xt={class:`flex flex-col gap-1 grow`},St={class:`x-title sm font-medium`},Ct={key:0,class:`x-title`},wt={key:1,class:`skeleton h-5 rounded-md w-full max-w-2/5`},Tt={class:`flex gap-4`},Et={class:`flex flex-col gap-1 grow`},Dt={key:0,class:`x-title sm font-medium`},Ot={key:1,class:`skeleton h-4 rounded-md w-full max-w-32`},kt={key:2,class:`x-title`},At={key:3,class:`skeleton h-5 rounded-md w-3/4`},jt={class:`x-text xs`},Mt=p({__name:`CheckinInfo`,props:{checkInDate:{type:[String,null]},checkOutDate:{type:[String,null]},completed:{type:Boolean}},setup(e){let{data:t}=L(),{t:n,d:r}=v(),{data:i,isPending:a}=G();return(o,c)=>(s(),g(`div`,_t,[C(`h1`,vt,[D(m(d(n)(`onlineCheckin`))+` `,1),e.completed?(s(),g(`div`,yt,m(d(n)(`completed`)),1)):_(``,!0)]),C(`ul`,$,[C(`li`,bt,[c[0]||=C(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[C(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[C(`use`,{href:`#icon-clock-mini`})])],-1),C(`div`,xt,[C(`div`,St,m(d(n)(`dateOfStay`)),1),e.checkInDate&&e.checkOutDate?(s(),g(`div`,Ct,m(d(r)(e.checkInDate,{timeZone:d(t)?.timeZone}))+` – `+m(d(r)(e.checkOutDate,{timeZone:d(t)?.timeZone})),1)):(s(),g(`div`,wt))])]),C(`li`,Tt,[c[1]||=C(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[C(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[C(`use`,{href:`#icon-map-pin-mini`})])],-1),C(`div`,Et,[d(a)?(s(),g(`div`,Ot)):(s(),g(`div`,Dt,m(d(i)?.name),1)),d(a)?(s(),g(`div`,At)):(s(),g(`div`,kt,m(d(i)?.street)+` `+m(d(i)?.postalCode)+` `+m(d(i)?.city)+` - `+m(d(i)?.country),1))])])]),C(`div`,jt,m(d(n)(`checkinDescription`)),1)]))}}),Nt={class:`flex flex-col gap-2.5`},Pt=p({__name:`[uuid]`,setup(e){let t=k(),{t:n}=v(),i=z(),{data:a,error:o}=Y({guestUuid:q().value.uuid});return u([a,o],()=>{!o.value&&!a?.value?.error||(t.push(`/`),i.add({class:`accent-error`,title:n(`error`),text:o?.value?.toString()??a.value?.error?.message}))}),(e,t)=>{let n=Mt,i=gt,o=J,l=K;return s(),x(l,{class:`grid lg:grid-cols-[1fr_28.25rem] gap-3 lg:gap-6`},{default:r(()=>[C(`div`,Nt,[O(n,{"check-in-date":d(a)?.accommodation?.checkInDate,"check-out-date":d(a)?.accommodation?.checkOutDate,completed:d(a)?.accommodation?.onlineCheckinCompleted},null,8,[`check-in-date`,`check-out-date`,`completed`]),(s(!0),g(T,null,c(d(a)?.accommodation?.rooms,(e,t)=>(s(),x(i,{key:t,room:e},null,8,[`room`]))),128))]),O(o,{class:`transition-all md:sticky md:top-[calc(var(--x-main-sticky-top)+1rem)] self-start`})]),_:1})}}});export{Pt as default};
1
+ import{t as e}from"./preload.D47q6Y6C.js";import{An as t,Dn as n,Hn as r,In as i,Jn as a,Kn as o,Mn as s,Pn as c,Rt as l,Vn as u,Xn as d,Zn as f,bn as p,er as m,f as h,gn as g,hn as _,jt as v,kn as y,ln as b,mn as x,p as S,pn as C,u as w,un as T,ut as E,vn as D,yn as O}from"./vendor.Do_VFRcJ.js";import{W as k,t as A}from"./params.CKLHNS06.js";import"./localeRules.BVjMhTeP.js";import{n as j,t as M}from"./DialogContent.BDyFs5O2.js";import{n as N,t as P}from"./Field.DZCcYz7P.js";import{t as F}from"./Button.Bi4uv-lE.js";import{t as I}from"./Control.CSebJLvO.js";import"./client.MaZPHh6g.js";import"./staleTimes.DzrC_Y6z.js";import"./countries.C4zoFLww.js";import{t as L}from"./config.CL0QsYzP.js";import{n as R,t as ee}from"./ControlTelCountryCode.3_jmbYhg.js";import{t as te}from"./Check.BP91pUqk.js";import{t as z}from"./toaster.CrL6hWG8.js";import{t as B}from"./patterns.BawwaaO4.js";import{t as V}from"./validateFields.Bf-0Jigp.js";import{t as H}from"./ButtonGhosted.BUW9MnYB.js";import{t as ne}from"./ButtonBordered.BTIgYtld.js";import{o as U,r as W}from"./reservation.CSsbKUmJ.js";import{t as G}from"./hotel.DRLrihvI.js";import{t as K}from"./Main.0JDwcGbb.js";import{t as q}from"./routeParams.DErXguzA.js";import{t as J}from"./CheckinApp.Dhy-L8vd.js";import{i as Y}from"./reservation.BraqRP6X.js";import{t as X}from"./InputMask.C2LzTRAy.js";var Z={class:`border-b border-b-main-secondary`},re={key:0,class:`x-info text-error validity mt-1`},ie=p({__name:`ControlSignature`,props:{invalid:{type:Boolean},value:{type:String}},setup(n,{expose:i}){let c=n,{t:l}=v(),p=A(),h=o(),b=o(),x=a(c.invalid??!1),S;function w(){let e=Math.max(window.devicePixelRatio||1,1);h.value.width=h.value.offsetWidth*e,h.value.height=h.value.offsetHeight*e,h.value.getContext(`2d`).scale(e,e)}function E(){b.value=S.toDataURL(`image/png`),x.value=!1}let D=()=>{S.clear()};return u(()=>c.invalid,e=>{x.value=e}),y(async()=>{let{default:t}=await e(async()=>{let{default:e}=await import(`./signature_pad.3AG_4O-y.js`);return{default:e}},[]);S=new t(h.value,{penColor:p.theme===`dark`?`rgb(255 255 255)`:`rgb(0 0 0)`}),w(),c.value&&await S.fromDataURL(c.value),window.addEventListener(`resize`,w),S.addEventListener(`endStroke`,E)}),t(()=>{window.removeEventListener(`resize`,w),S.removeEventListener(`endStroke`,E)}),i({output:b}),(e,t)=>{let n=H;return s(),g(T,null,[C(`div`,{class:f([`x-control-signature pb-6 px-6 rounded-md bg-body-primary border relative`,{"border-error":x.value,"border-main-tertiary":!x.value}])},[C(`div`,Z,[C(`canvas`,{ref_key:`canvas`,ref:h,class:`w-full h-[82px]`},null,512),O(n,{class:`accent-main absolute right-1.5 top-1.5`,size:`xs`,variant:`circle`,type:`button`,"aria-label":d(l)(`clear`),onClick:D},{default:r(()=>[...t[0]||=[C(`svg`,{"aria-hidden":`true`,class:`size-4`},[C(`use`,{href:`#icon-arrow-uturn-left-micro`})],-1)]]),_:1},8,[`aria-label`])])],2),x.value?(s(),g(`div`,re,m(d(l)(`fillThisField`)),1)):_(``,!0)],64)}}});const ae=e=>{navigator.clipboard.writeText(e)};var oe={class:`x-heading sm mb-6`},se=[`placeholder`],ce={class:`flex flex-wrap gap-2 justify-between text-main-secondary`},le={class:`x-title sm`},ue=p({__name:`CheckinShareDialog`,props:{uuid:{type:[String,null]}},setup(e,{expose:t}){let n=e,{t:i}=v(),a=E(),c=q(),l=z(),f=o(),p=o(),g=o(!1),{data:_,mutate:y,error:T,asyncStatus:k}=U(),A=({currentTarget:e})=>{let t=Object.fromEntries(new FormData(e));y(Object.assign(t,{uuid:n?.uuid}))};u(_,e=>{e?.response?.status===200&&(f.value.close(),l.add({class:`accent-success`,title:i(`success`),text:i(`checkinSuccessInfo`)}))}),u([_,T],()=>{!T.value&&!_?.value?.error||(V(p.value?.$el,_?.value?.error?.params),l.add({class:`accent-error`,title:i(`error`),text:T?.value?.toString()??_.value?.error?.message}))});let L=()=>{ae(`${a.value.origin+a.value.pathname}#/reservation/checkin/${c.value.id}/${n.uuid}`),g.value=!0,setTimeout(()=>{g.value=!1},750)};return t({root:f}),(e,t)=>{let n=H,o=I,c=P,l=F,u=N,_=M,v=j;return s(),x(v,{ref_key:`root`,ref:f},{default:r(()=>[O(_,{class:`flex flex-col p-6 rounded-xl`},{default:r(()=>[O(n,{class:`accent-main absolute right-4 top-4`,size:`xs`,variant:`circle`,"aria-label":d(i)(`close`),onClick:t[0]||=e=>f.value.close()},{default:r(()=>[...t[1]||=[C(`svg`,{"aria-hidden":`true`},[C(`use`,{href:`#icon-x-mark-mini`})],-1)]]),_:1},8,[`aria-label`]),C(`h1`,oe,m(d(i)(`reservationShare`)),1),O(u,{ref_key:`form`,ref:p,class:`flex gap-2.5 mb-6`,onSubmit:b(A,[`prevent`])},{default:r(()=>[O(c,{class:`grow`},{default:r(()=>[O(o,{size:`md`,class:`not-has-user-invalid:border-accent`},{default:r(()=>[C(`input`,{type:`email`,name:`email`,placeholder:d(i)(`enterEmail`),required:``,autofocus:``},null,8,se)]),_:1})]),_:1}),O(l,{size:`md`,type:`submit`,loading:d(k)===`loading`},{default:r(()=>[D(m(d(i)(`shareCheckin`)),1)]),_:1},8,[`loading`])]),_:1},512),C(`div`,ce,[C(`div`,le,m(d(i)(`orCopyLink`))+`: `,1),O(d(S),{open:g.value},{default:r(()=>[O(d(w),{"as-child":``},{default:r(()=>[C(`button`,{class:`x-link sm flex items-center gap-1 underline underline-transparent`,onClick:L},[D(m(d(a).host+d(a).pathname)+` `,1),t[2]||=C(`svg`,{class:`size-3 text-accent shrink-0`,"aria-hidden":`true`},[C(`use`,{href:`#icon-square-2-stack-micro`})],-1)])]),_:1}),O(d(h),{sideOffset:4,side:`top`,class:`x-popover-content tooltip shadow`},{default:r(()=>[D(m(d(i)(`copiedToClipboard`)),1)]),_:1})]),_:1},8,[`open`])])]),_:1})]),_:1},512)}}}),de=[`data-open`],fe={class:`p-3 min-h-16.5 flex items-center max-md:flex-wrap transition-all group-data-open:p-4 group-data-open:md:p-6 max-md:gap-y-1`},pe={class:`x-title sm mr-2 order-first`},me={key:0,class:`text-normal`},he={key:0,class:`x-title sm text-primary md:ml-auto`},ge={key:1,class:`md:ml-auto flex items-center gap-5 max-md:contents`},_e={key:2,class:`md:ml-auto flex gap-4 max-md:mt-1 max-md:gap-2`},ve={class:`x-heading xs mb-6`},ye={class:`grid md:grid-cols-2 gap-3 md:gap-6`},be=[`id`,`value`],xe=[`for`],Se=[`id`,`value`],Ce=[`for`],we=[`id`,`value`],Te=[`for`],Ee=[`id`,`value`,`required`],De=[`for`],Oe=[`id`,`value`],ke=[`for`],Ae=[`id`],je=[`for`],Me={class:`x-heading xs mb-6`},Ne={class:`grid md:grid-cols-2 gap-3 md:gap-6`},Pe=[`id`,`value`],Fe=[`for`],Ie=[`id`,`value`],Le=[`for`],Re=[`id`,`value`],ze=[`for`],Be={class:`x-heading xs mb-6`},Ve={class:`grid md:grid-cols-2 gap-3 md:gap-6`},He={class:`x-group rounded-sm w-full`},Ue=[`id`,`value`,`pattern`],We=[`for`],Ge=[`id`,`value`],Ke=[`for`],qe={key:0},Je={class:`x-heading xs mb-6`},Ye={class:`grid md:grid-cols-12 gap-3 md:gap-6`},Xe=[`id`],Ze=[`for`],Qe=[`id`],$e=[`for`],et=[`id`],tt=[`for`],nt={class:`x-heading xs mb-6`},rt={class:`flex flex-col gap-2.5`},it=[`id`,`checked`],at=[`id`,`checked`],Q=!0,ot=p({__name:`CheckinRoomItem`,props:{checkinCompleted:{type:Boolean},checkinClosed:{type:Boolean},index:{type:Number},guest:{type:Object}},setup(e){let t={BASE_URL:`https://v4.bookoloengine.com/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_API_URL:`https://api.bookoloengine.com/desktop/v1`,VITE_BASE_URL:`https://v4.bookoloengine.com/`,VITE_DEBUG:`false`,VITE_FONT_URL:`https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap`,VITE_GOOGLE_MAPS_API_KEY:`AIzaSyDMusEQNO0rIJ86vZoowmPD2U2g5Ma8LOQ`,VITE_LOCALES_URL:`https://www.bookoloengine.com/userfiles/api/desktop/locales`,VITE_NAME:`bookolosystem-engine`,VITE_NAME_BANNER:`bookolosystem-banner`,VITE_PLAUSIBLE_URL:`https://plausible.newlogic.cz/js/script.outbound-links.js`,VITE_SENTRY_DSN:`https://015bded0d2216dceb2c50582f80e5f83@sentry.newlogic.cz/58`},{t:c}=v(),p=l(),h=e,y=z(),{data:S}=L(),w=a(!1),E=a(),k=a(h.checkinCompleted),A=o(),j=a(!1),M=o(),H=o({uuid:``}),{data:U,mutate:G,error:K,asyncStatus:q}=W(),J=()=>{w.value=!w.value},Y=({currentTarget:e})=>{let t=Object.fromEntries(new FormData(e));if(!A.value.output){j.value=!0;return}G(Object.assign(t,{uuid:h?.guest?.uuid,id:h?.guest?.id,signature:A.value.output}))};return u(U,e=>{e?.response?.status===200&&(w.value=!1,k.value=!0,p.invalidateQueries({key:[`reservation`]}))}),u([U,K],()=>{!K.value&&!U?.value?.error||(V(E.value?.$el,U?.value?.error?.params),y.add({class:`accent-error`,title:c(`error`),text:K?.value?.toString()??U.value?.error?.message}))}),(a,o)=>{let l=F,u=ne,p=ue,h=I,v=P,y=R,L=ee,z=X,V=ie,U=i(`RouterLink`),W=i(`i18n-t`),G=te,K=N;return s(),g(`div`,{class:f([`x-checkin-room-item outline outline-transparent -outline-offset-1 rounded-md group`,`transition-all data-open:outline-primary has-[+[data-open]]:border-transparent`]),"data-open":w.value?``:null},[C(`div`,fe,[C(`div`,pe,[e.guest?.firstName||e.guest?.lastName?(s(),g(T,{key:0},[D(m(e.guest?.firstName)+` `+m(e.guest?.lastName),1)],64)):(s(),g(T,{key:1},[D(m(d(c)(`guest`))+` `+m(e.index)+` `,1),e.guest?.type===`child`?(s(),g(`span`,me,` (`+m(d(c)(`childrenSingular`))+`) `,1)):_(``,!0)],64))]),C(`div`,{class:f([`x-badge md muted order-first`,{"accent-error":!k.value,"accent-success":k.value}])},[k.value?(s(),g(T,{key:1},[D(m(d(c)(`filled`)),1)],64)):(s(),g(T,{key:0},[D(m(d(c)(`notFilled`)),1)],64))],2),e.checkinClosed?(s(),g(`div`,he,m(d(c)(`onlineCheckinClosed`)),1)):k.value?(s(),g(`div`,ge,[C(`button`,{class:`x-title sm flex items-center gap-1.5 underline underline-transparent hocus:text-primary`,onClick:J},[o[1]||=C(`svg`,{"aria-hidden":`true`,class:`size-4`},[C(`use`,{href:`#icon-pencil-micro`})],-1),D(` `+m(d(c)(`editCheckin`)),1)]),o[2]||=C(`svg`,{"aria-hidden":`true`,class:`size-7 text-success max-md:order-first max-md:ml-auto`},[C(`use`,{href:`#icon-check-circle-solid`})],-1)])):(s(),g(`div`,_e,[w.value?_(``,!0):(s(),x(l,{key:0,size:`md`,onClick:J},{default:r(()=>[D(m(d(c)(`fillCheckin`)),1)]),_:1})),O(u,{size:`md`,class:`accent-main`,onClick:o[0]||=t=>[H.value={uuid:e.guest?.uuid},M.value.root.show()]},{default:r(()=>[D(m(d(c)(`shareCheckin`)),1)]),_:1}),O(p,n({ref_key:`checkinShareDialog`,ref:M},{...H.value}),null,16)]))]),w.value?(s(),x(K,{key:0,ref_key:`form`,ref:E,class:`p-4 md:p-6 flex flex-col gap-8`,onSubmit:b(Y,[`prevent`])},{default:r(()=>[C(`fieldset`,null,[C(`legend`,ve,m(d(c)(`personalDetails`)),1),C(`div`,ye,[O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.firstName,type:`text`,name:`firstName`,autocomplete:`given-name`,placeholder:` `,required:Q},null,8,be),C(`label`,{for:t},m(d(c)(`yourFirstname`)),9,xe)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.lastName,type:`text`,name:`lastName`,autocomplete:`family-name`,placeholder:` `,required:Q},null,8,Se),C(`label`,{for:t},m(d(c)(`yourLastname`)),9,Ce)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.birthDate,type:`date`,name:`birthDate`,autocomplete:`bday`,placeholder:` `,required:Q},null,8,we),C(`label`,{for:t},m(d(c)(`birthdate`)),9,Te)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.idNumber,type:`text`,name:`idNumber`,placeholder:` `,required:e.guest?.onlineCheckinIdNumberRequired},null,8,Ee),C(`label`,{for:t},m(d(c)(`idNumber`)),9,De)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(y,{name:`citizenship`,value:e.guest?.citizenship,required:Q,label:d(c)(`stateCitizenship`)},null,8,[`value`,`label`])]),_:1}),e.guest?.onlineCheckinShowLicensePlate||d(t).VITE_DEBUG===`true`?(s(),x(v,{key:0},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.licensePlate,type:`text`,name:`licensePlate`,placeholder:` `},null,8,Oe),C(`label`,{for:t},m(d(c)(`licencePlate`)),9,ke)]),_:1})]),_:1})):_(``,!0),e.guest?.onlineCheckinShowVisa||d(t).VITE_DEBUG===`true`?(s(),x(v,{key:1},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[C(`input`,{id:e,type:`text`,name:`visa`,placeholder:` `},null,8,Ae),C(`label`,{for:e},m(d(c)(`visaNumber`)),9,je)]),_:1})]),_:1})):_(``,!0)])]),C(`fieldset`,null,[C(`legend`,Me,m(d(c)(`residence`)),1),C(`div`,Ne,[O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.street,type:`text`,name:`street`,autocomplete:`street-address`,placeholder:` `,required:Q},null,8,Pe),C(`label`,{for:t},m(d(c)(`streetAddress`)),9,Fe)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.city,type:`text`,name:`city`,autocomplete:`address-level2`,placeholder:` `,required:Q},null,8,Ie),C(`label`,{for:t},m(d(c)(`city`)),9,Le)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.postalCode,type:`text`,name:`postalCode`,autocomplete:`postal-code`,placeholder:` `,required:Q},null,8,Re),C(`label`,{for:t},m(d(c)(`postalCode`)),9,ze)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(y,{value:e.guest?.country,required:Q},null,8,[`value`])]),_:1})])]),C(`fieldset`,null,[C(`legend`,Be,m(d(c)(`contactDetails`)),1),C(`div`,Ve,[O(v,null,{default:r(()=>[C(`div`,He,[O(L,{value:e.guest?.telCountryCode},null,8,[`value`]),O(h,{class:`grow`,size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.telNational,name:`telNational`,type:`tel`,pattern:d(B).telNational,placeholder:` `,autocomplete:`tel-national`,required:Q},null,8,Ue),C(`label`,{for:t},m(d(c)(`tel`)),9,We)]),_:1})])]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.email,name:`email`,type:`email`,placeholder:` `,autocomplete:`email`,required:Q},null,8,Ge),C(`label`,{for:t},m(d(c)(`email`)),9,Ke)]),_:1})]),_:1})])]),e.guest?.onlineCheckinShowCreditCard||d(t).VITE_DEBUG===`true`?(s(),g(`fieldset`,qe,[C(`legend`,Je,m(d(c)(`creditCard`)),1),C(`div`,Ye,[O(v,{class:`col-span-8`},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[O(z,{"allowed-card-types":d(S)?.creditCardTypes,type:`cc-number`},{default:r(({setRef:t})=>[C(`input`,{id:e,ref:t,type:`text`,name:`cardNumber`,placeholder:` `,autocomplete:`cc-number`,required:Q},null,8,Xe)]),_:2},1032,[`allowed-card-types`]),C(`label`,{for:e},m(d(c)(`cardNumber`)),9,Ze)]),_:1})]),_:1}),O(v,{class:`col-span-4`},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[O(z,{type:`cc-exp`},{default:r(({setRef:t})=>[C(`input`,{id:e,ref:t,name:`cardExpiry`,type:`text`,placeholder:`__/__`,maxlength:`5`,autocomplete:`cc-exp`,class:`focus:placeholder:text-main-secondary`,required:Q},null,8,Qe)]),_:2},1024),C(`label`,{for:e},m(d(c)(`expDate`)),9,$e)]),_:1})]),_:1}),O(v,{class:`col-span-12`},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[C(`input`,{id:e,type:`text`,name:`cardName`,placeholder:` `,autocomplete:`cc-name`,required:Q},null,8,et),C(`label`,{for:e},m(d(c)(`nameOnCard`)),9,tt)]),_:1})]),_:1})])])):_(``,!0),C(`fieldset`,null,[C(`legend`,nt,m(d(c)(`signature`)),1),O(v,null,{default:r(()=>[O(V,{ref_key:`signature`,ref:A,value:e.guest?.signature,invalid:j.value},null,8,[`value`,`invalid`])]),_:1})]),C(`fieldset`,rt,[O(v,null,{default:r(()=>[O(G,null,{default:r(({uid:t})=>[C(`input`,{id:t,type:`checkbox`,checked:e.guest?.onlineCheckinCompleted,required:Q},null,8,it),O(W,{for:t,keypath:`agreeWith`,tag:`label`},{default:r(()=>[O(U,{class:`underline transition hocus:text-primary`,to:`/text/privacy-policy`},{default:r(()=>[D(m(d(c)(`agreeWithSlot.personalData`)),1)]),_:1})]),_:1},8,[`for`])]),_:1})]),_:1}),e.guest?.onlineCheckinShowTradeTerms||d(t).VITE_DEBUG===`true`?(s(),x(v,{key:0},{default:r(()=>[O(G,null,{default:r(({uid:t})=>[C(`input`,{id:t,checked:e.guest?.onlineCheckinCompleted,type:`checkbox`,required:Q},null,8,at),O(W,{for:t,keypath:`agreeWith`,tag:`label`},{default:r(()=>[O(U,{class:`underline transition hocus:text-primary`,to:`/text/trade-terms`},{default:r(()=>[D(m(d(c)(`agreeWithSlot.termsConditions`)),1)]),_:1})]),_:1},8,[`for`])]),_:1})]),_:1})):_(``,!0)]),O(l,{size:`md`,class:`mr-auto`,type:`submit`,loading:d(q)===`loading`},{default:r(()=>[D(m(d(c)(`saveCheckin`)),1)]),_:1},8,[`loading`])]),_:1},512)):_(``,!0)],8,de)}}}),st={class:`x-checkin-room card p-3 md:p-6 bg-body-primary rounded-xl flex flex-col gap-6.5`},ct={class:`flex gap-5`},lt={class:`x-image rounded-md before:skeleton h-17.5`},ut=[`src`,`alt`],dt={class:`flex flex-col gap-1`},ft={class:`x-heading sm`},pt={class:`x-text xs`},mt={class:`x-title sm text-primary mt-auto`},ht={class:`flex flex-col divide-y divide-main-tertiary`},gt=p({__name:`CheckinRoom`,props:{room:{type:Object}},setup(e){let t={BASE_URL:`https://v4.bookoloengine.com/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_API_URL:`https://api.bookoloengine.com/desktop/v1`,VITE_BASE_URL:`https://v4.bookoloengine.com/`,VITE_DEBUG:`false`,VITE_FONT_URL:`https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap`,VITE_GOOGLE_MAPS_API_KEY:`AIzaSyDMusEQNO0rIJ86vZoowmPD2U2g5Ma8LOQ`,VITE_LOCALES_URL:`https://www.bookoloengine.com/userfiles/api/desktop/locales`,VITE_NAME:`bookolosystem-engine`,VITE_NAME_BANNER:`bookolosystem-banner`,VITE_PLAUSIBLE_URL:`https://plausible.newlogic.cz/js/script.outbound-links.js`,VITE_SENTRY_DSN:`https://015bded0d2216dceb2c50582f80e5f83@sentry.newlogic.cz/58`},{t:n}=v();return(r,i)=>{let a=ot;return s(),g(`div`,st,[C(`div`,ct,[C(`div`,lt,[C(`img`,{src:e.room?.roomImage?.[`1x`],class:`aspect-4/3 object-cover`,loading:`lazy`,alt:e.room?.roomImage?.alt},null,8,ut)]),C(`div`,dt,[C(`h2`,ft,m(e.room?.roomName),1),C(`div`,pt,[D(m(e.room?.rateName)+` `,1),e.room?.prices?.finalPriceExtraBeds?(s(),g(T,{key:0},[D(` (+`+m(d(n)(`extraBed`))+`) `,1)],64)):_(``,!0)]),C(`div`,mt,m(d(n)(`filled`))+` `+m(e.room?.guests?.filter(e=>e?.onlineCheckinCompleted)?.length)+`/`+m(e.room?.guests?.length),1)])]),C(`div`,ht,[(s(!0),g(T,null,c(e.room?.guests,(e,n)=>(s(),x(a,{key:n,ref_for:!0,ref:`rooms`,index:n+1,guest:e,"checkin-completed":e?.onlineCheckinCompleted,"checkin-closed":!e?.onlineCheckinAllowed&&d(t).VITE_DEBUG!==`true`},null,8,[`index`,`guest`,`checkin-completed`,`checkin-closed`]))),128))])])}}}),_t={class:`x-checkin-info card p-4 md:p-6 bg-body-primary rounded-xl flex flex-col gap-5`},vt={class:`x-heading sm flex items-center`},yt={key:0,class:`x-badge md muted accent-success ml-auto -my-0.5`},$={class:`flex flex-col gap-5`},bt={class:`flex gap-4`},xt={class:`flex flex-col gap-1 grow`},St={class:`x-title sm font-medium`},Ct={key:0,class:`x-title`},wt={key:1,class:`skeleton h-5 rounded-md w-full max-w-2/5`},Tt={class:`flex gap-4`},Et={class:`flex flex-col gap-1 grow`},Dt={key:0,class:`x-title sm font-medium`},Ot={key:1,class:`skeleton h-4 rounded-md w-full max-w-32`},kt={key:2,class:`x-title`},At={key:3,class:`skeleton h-5 rounded-md w-3/4`},jt={class:`x-text xs`},Mt=p({__name:`CheckinInfo`,props:{checkInDate:{type:[String,null]},checkOutDate:{type:[String,null]},completed:{type:Boolean}},setup(e){let{data:t}=L(),{t:n,d:r}=v(),{data:i,isPending:a}=G();return(o,c)=>(s(),g(`div`,_t,[C(`h1`,vt,[D(m(d(n)(`onlineCheckin`))+` `,1),e.completed?(s(),g(`div`,yt,m(d(n)(`completed`)),1)):_(``,!0)]),C(`ul`,$,[C(`li`,bt,[c[0]||=C(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[C(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[C(`use`,{href:`#icon-clock-mini`})])],-1),C(`div`,xt,[C(`div`,St,m(d(n)(`dateOfStay`)),1),e.checkInDate&&e.checkOutDate?(s(),g(`div`,Ct,m(d(r)(e.checkInDate,{timeZone:d(t)?.timeZone}))+` – `+m(d(r)(e.checkOutDate,{timeZone:d(t)?.timeZone})),1)):(s(),g(`div`,wt))])]),C(`li`,Tt,[c[1]||=C(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[C(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[C(`use`,{href:`#icon-map-pin-mini`})])],-1),C(`div`,Et,[d(a)?(s(),g(`div`,Ot)):(s(),g(`div`,Dt,m(d(i)?.name),1)),d(a)?(s(),g(`div`,At)):(s(),g(`div`,kt,m(d(i)?.street)+` `+m(d(i)?.postalCode)+` `+m(d(i)?.city)+` - `+m(d(i)?.country),1))])])]),C(`div`,jt,m(d(n)(`checkinDescription`)),1)]))}}),Nt={class:`flex flex-col gap-2.5`},Pt=p({__name:`[uuid]`,setup(e){let t=k(),{t:n}=v(),i=z(),{data:a,error:o}=Y({guestUuid:q().value.uuid});return u([a,o],()=>{!o.value&&!a?.value?.error||(t.push(`/`),i.add({class:`accent-error`,title:n(`error`),text:o?.value?.toString()??a.value?.error?.message}))}),(e,t)=>{let n=Mt,i=gt,o=J,l=K;return s(),x(l,{class:`grid lg:grid-cols-[1fr_28.25rem] gap-3 lg:gap-6`},{default:r(()=>[C(`div`,Nt,[O(n,{"check-in-date":d(a)?.accommodation?.checkInDate,"check-out-date":d(a)?.accommodation?.checkOutDate,completed:d(a)?.accommodation?.onlineCheckinCompleted},null,8,[`check-in-date`,`check-out-date`,`completed`]),(s(!0),g(T,null,c(d(a)?.accommodation?.rooms,(e,t)=>(s(),x(i,{key:t,room:e},null,8,[`room`]))),128))]),O(o,{class:`transition-all md:sticky md:top-[calc(var(--x-main-sticky-top)+1rem)] self-start`})]),_:1})}}});export{Pt as default};