@hotelcard/ui 0.0.72 → 0.0.73
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.
Potentially problematic release.
This version of @hotelcard/ui might be problematic. Click here for more details.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +781 -781
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as e, jsxs as c, Fragment as Ie } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import Et, { useMemo as rt, useContext as zn, createContext as Rn, forwardRef as fn, useState as $, useRef as me, useEffect as ee, useCallback as ft } from "react";
|
|
3
3
|
import { createPortal as Vn } from "react-dom";
|
|
4
4
|
import { useTranslation as jn } from "react-i18next";
|
|
5
|
-
const Zn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "HotelCard bestellen", "my-account": "Mein Konto", search: "Suchen", "back-to-top": "Nach oben" }, On = { "member-benefits": "Member Benefits", "view-all-hotels": "Alle Hoteldeals ansehen", "search-by-map": "Kartenansicht", "search-by-region": "Hotels nach Region", "search-by-experience": "Hotels nach Erlebnis", "travel-inspiration": "Reiseinspiration", "booking-tips-and-tricks": "Buchungstipps", home: "Startseite", "all-hotel-deals": "Alle Hotelangebote", "search-results": "Suchergebnisse" }, Fn = { "signed-out": "Anmelden und buchen", "room-price": "ab CHF xxx / Zimmer", guarantee: "14 Tage Geld-zurück-Garantie", contact: "Weitere Fragen? Kontaktieren Sie uns.", "breakfast-included": "Frühstück inbegriffen", "free-cancellation": "Kostenlose Stornierung", "suggested-destinations": "Vorgeschlagene Reiseziele", "when-months": "Wann möchtest du reisen?", "hotel-deals-found": "Hotelangebote gefunden", "no-results": "Probieren Sie andere Reiseziele, ändern Sie Ihre Daten oder entfernen Sie einige Filter.", "unavailable-for-selected-days": "Für die ausgewählten Daten nicht verfügbar.", "cant-accommodate-all": "Das Hotel kann nicht alle Gäste beherbergen.", "reset-destination": "Zielsuche zurücksetzen, um Regionen zu filtern" }, qn = { "price-from": "ab ", "price-for": "/ Zimmer", "per-room-night": "pro Zimmer & Nacht ab", new: "Neu", anytime: "Jederzeit", anywhere: "Alle Reiseziele", dates: "Datum", flexible: "Flexibel", where: "Wohin", when: "Wann", who: "Wer", nearby: "In der Nähe", hotels: "Hotel", filter: "Filter", sort: "Sortieren", map: "Karte", rating: "Bewertung", "rating-excellent": "Ausgezeichnet", "rating-very-good": "Sehr gut", "rating-good": "Gut", "rating-fair": "Ansprechend", "rating-none": "Keine Bewertung", clear: "Löschen", months: "Monate" }, Yn = { "6m": "6-Monatsabo", "1y": "1-Jahresabo", "2y": "2-Jahresabo", "3y": "3-Jahresabo", "price-6m": "79.-", "price-6m-disc": "59.-", "price-1y": "99.-", "price-1y-disc": "79.-", "price-2y": "198.-", "price-2y-disc": "173.-", "price-3y": "297.-", "price-3y-disc": "247.-", "price-gift": "99.-", "price-gift-disc": "59.-", "1y-chc": "1-Jahresabo", "price-1y-chc": "199.-", "price-1y-disc-chc": "199.-" }, Gn = { "your-hc": "Ihre HotelCard", "popular-hotels": "Beliebte Hotelangebote", "no-results": "Probieren Sie andere Reiseziele, ändern Sie Ihre Daten oder entfernen Sie einige Filter.", "sort-by": "Sortieren nach" },
|
|
5
|
+
const Zn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "HotelCard bestellen", "my-account": "Mein Konto", search: "Suchen", "back-to-top": "Nach oben" }, On = { "member-benefits": "Member Benefits", "view-all-hotels": "Alle Hoteldeals ansehen", "search-by-map": "Kartenansicht", "search-by-region": "Hotels nach Region", "search-by-experience": "Hotels nach Erlebnis", "travel-inspiration": "Reiseinspiration", "booking-tips-and-tricks": "Buchungstipps", home: "Startseite", "all-hotel-deals": "Alle Hotelangebote", "search-results": "Suchergebnisse" }, Fn = { "signed-out": "Anmelden und buchen", "room-price": "ab CHF xxx / Zimmer", guarantee: "14 Tage Geld-zurück-Garantie", contact: "Weitere Fragen? Kontaktieren Sie uns.", "breakfast-included": "Frühstück inbegriffen", "free-cancellation": "Kostenlose Stornierung", "suggested-destinations": "Vorgeschlagene Reiseziele", "when-months": "Wann möchtest du reisen?", "hotel-deals-found": "Hotelangebote gefunden", "no-results": "Probieren Sie andere Reiseziele, ändern Sie Ihre Daten oder entfernen Sie einige Filter.", "unavailable-for-selected-days": "Für die ausgewählten Daten nicht verfügbar.", "cant-accommodate-all": "Das Hotel kann nicht alle Gäste beherbergen.", "reset-destination": "Zielsuche zurücksetzen, um Regionen zu filtern" }, qn = { "price-from": "ab ", "price-for": "/ Zimmer", "per-room-night": "pro Zimmer & Nacht ab", new: "Neu", anytime: "Jederzeit", anywhere: "Alle Reiseziele", dates: "Datum", flexible: "Flexibel", where: "Wohin", when: "Wann", who: "Wer", nearby: "In der Nähe", hotels: "Hotel", filter: "Filter", sort: "Sortieren", map: "Karte", rating: "Bewertung", "rating-excellent": "Ausgezeichnet", "rating-very-good": "Sehr gut", "rating-good": "Gut", "rating-fair": "Ansprechend", "rating-none": "Keine Bewertung", clear: "Löschen", months: "Monate" }, Yn = { "6m": "6-Monatsabo", "1y": "1-Jahresabo", "2y": "2-Jahresabo", "3y": "3-Jahresabo", "price-6m": "79.-", "price-6m-disc": "59.-", "price-1y": "99.-", "price-1y-disc": "79.-", "price-2y": "198.-", "price-2y-disc": "173.-", "price-3y": "297.-", "price-3y-disc": "247.-", "price-gift": "99.-", "price-gift-disc": "59.-", "1y-chc": "1-Jahresabo", "price-1y-chc": "199.-", "price-1y-disc-chc": "199.-" }, Gn = { "your-hc": "Ihre HotelCard", "popular-hotels": "Beliebte Hotelangebote", "no-results": "Probieren Sie andere Reiseziele, ändern Sie Ihre Daten oder entfernen Sie einige Filter.", "sort-by": "Sortieren nach" }, Kn = { guests: "Gäste", guest: "Gast", adults: "Erwachsene", children: "Kinder", pet: "Haustier", "age-of-child": "Alter des Kindes", age: "Alter", "age-error": "Bitte wählen Sie das Alter aus" }, Jn = { filters: "Filter", destination: "Reiseziel", experience: "Erlebnis", "show-all": "Alle anzeigen", price: "Preis", discount: "Rabatt", services: "Leistungen", meals: "Verpflegung", "hotel-category": "Hotelkategorie", reviews: "Bewertungen", mobility: "Mobilität", "wellness-spa": "Wellness & Spa", "price-high-low": "Preis: absteigend", "price-low-high": "Preis: aufsteigend", "best-rating": "Beste Bewertung", "most-popular": "Beliebt", "newest-hotels": "Neueste", relevance: "Relevanz", selected: "Ausgewählt:", "clear-all": "Alles löschen", options: "Leistungen", "hotellerie-suisse": "Klassifikation HotellerieSuisse", trustyou: "Bewertungen von Reisenden auf Trust You®", "select-all": "Alle auswählen", reset: "Zurücksetzen", "breakfast-included": "Frühstück inbegriffen", "min-price": "Mindestpreis", "max-price": "Höchstpreis", "show-less": "Weniger anzeigen" }, Un = { "no-results": "Zurzeit entsprechen keine Aufenthalte Ihrer Suche" }, Xn = "Hotels suchen - HotelCard", Qn = "Suchen Sie nach Hotels nach Stadt, Region oder Hotelname", ea = "Suche", ta = { close: "Schließen" }, na = "Hotels werden geladen...", aa = "Erneut versuchen", sa = "Karte schließen", ra = { default_title: "Hoteldeals suchen - HotelCard", location_title: "Hotels in {{location}}", region_title: "Hotels in {{region}}", experience_title: "{{experience}} Hotels", default_description: "Entdecken Sie {{count}} Hotels mit exklusiven HotelCard-Rabatten.", location_description: "Finden Sie {{count}} Hotels in {{location}} mit exklusiven Rabatten von bis zu 50%." }, ia = { close_search: "Suche schließen", placeholder_anywhere: "Überall", recent_searches: "Letzte Suchen", remove_recent: "Aus letzten Suchen entfernen", all_destinations: "Alle Reiseziele" }, oa = { open_search: "Suche öffnen", open_filters: "Filter öffnen", switch_to_list: "Zur Listenansicht wechseln", zoom_in: "Vergrößern", zoom_out: "Verkleinern", no_location_data: "Keine Hotels mit Standortdaten verfügbar", hotels_missing_coordinates: "{{count}} Hotels gefunden, aber Koordinaten fehlen", no_hotels_in_area: "Keine Hotels in diesem Gebiet gefunden" }, ca = { list: "Liste" }, la = { properties_found: "{{count}} Unterkünfte gefunden", properties_found_location: "{{location}}: {{count}} Unterkünfte gefunden" }, da = { search_results_breadcrumb: "Suchergebnisse", close: "Schließen", previous_image: "Vorheriges Bild", next_image: "Nächstes Bild", add_to_favorites: "Zu Favoriten hinzufügen", remove_from_favorites: "Aus Favoriten entfernen", list_view: "Zur Listenansicht wechseln", map_view: "Zur Kartenansicht wechseln" }, ha = { home: "Startseite" }, ua = { decrease_adults: "Erwachsene verringern", increase_adults: "Erwachsene erhöhen", decrease_children: "Kinder verringern", increase_children: "Kinder erhöhen", decrease_infants: "Kleinkinder verringern", increase_infants: "Kleinkinder erhöhen", toggle_infants: "Haustiere umschalten" }, ma = { location_placeholder: "Hotels, Städte, Regionen suchen...", distance_any: "- km", distance_5: "+ 5 km", distance_10: "+ 10 km", distance_20: "+ 20 km", distance_30: "+ 30 km", distance_50: "+ 50 km", searching: "Suche läuft...", reset_filters: "Filter zurücksetzen" }, fa = { hotels: "Hotels", cities: "Städte", regions: "Regionen", countries: "Länder", "no-results": "Keine Ergebnisse gefunden" }, pa = { show_filters: "Filter anzeigen", open_filters: "Filter öffnen", filter_by: "Filtern nach:", hotel_rating: "Hotelbewertung", show_results: "{{count}} Ergebnisse anzeigen", apply_filters: "Filter anwenden", close_filters: "Filter schließen", view_in_map: "Auf der Karte anzeigen", popular_filters: "Beliebte Filter", destinations: "Reiseziele", options_title: "Optionen", options: { instant_booking: "Sofort buchbar", pets_allowed: "Haustiere erlaubt", free_cancellation: "Kostenlose Stornierung" }, category: { footer_prefix: "Hotelklassifikation gemäss " }, show_less: "Weniger anzeigen", selected: "Ausgewählt", clear_all: "Alle löschen" }, ga = { apply: "Anwenden", months_selected: "{{count}} Monate" }, _a = { "5_stars": "5 Sterne", "4_stars": "4 Sterne", "3_stars": "3 Sterne", "2_stars": "2 Sterne", not_classified: "Nicht klassifiziert", swiss_lodge: "Swiss Lodge" }, wa = { hotels_found: "{{count}} Hotels gefunden", load_more: "Mehr laden", loading: "Laden...", end_of_results: "Sie haben das Ende der Ergebnisse erreicht", no_results: "Keine Hotels gefunden", try_different_search: "Versuchen Sie, Ihre Suchkriterien anzupassen", unavailable_banner_title: "Weitere Hotels, die Sie interessieren könnten", unavailable_banner_description: "Diese Hotels haben derzeit keine Verfügbarkeit, die Ihren Suchkriterien entspricht." }, va = { title: "Derzeit sind keine Unterkünfte verfügbar, die Ihren Suchkriterien entsprechen.", subtitle: "Versuchen Sie, Ihre Suchkriterien anzupassen oder die Filter zurückzusetzen", description: "Entdecken Sie verschiedene Reiseziele, ändern Sie Ihre Reisedaten oder entfernen Sie einige Filter.", description_with_filters: "Entdecken Sie verschiedene Reiseziele, ändern Sie Ihre Reisedaten oder entfernen Sie einige Filter.", clear_filters: "Filter zurücksetzen" }, ba = { search_failed: "Suche fehlgeschlagen", load_more_failed: "Weitere Hotels konnten nicht geladen werden" }, Ca = { title: "Etwas ist schiefgelaufen", description: "Die Hotels konnten nicht geladen werden. Bitte versuchen Sie es erneut.", retry: "Erneut versuchen" }, ya = { label: "Seitennavigation", previous: "Vorherige Seite", previous_short: "Zurück", next: "Nächste Seite", next_short: "Weiter", page: "Seite {{page}}" }, ka = { rating: "Bewertung", price_from: "pro Zimmer & Nacht ab", not_available: "Nicht verfügbar für Ihre Suchkriterien" }, Na = { new: "Neu" }, $a = { countdown_days: "Tage", card_directions: "Wegbeschreibung", card_message_from_hotel: "Nachricht vom Hotel", card_more_about_booking: "Mehr zu dieser Buchung", card_book_again: "Erneut buchen", countdown_add_to_calendar: "Zum Kalender hinzufügen", status_confirmed: "Bestätigt", status_completed: "Abgeschlossen", status_cancelled: "Storniert", details_check_in: "Check-in", details_check_out: "Check-out", details_guests: "Gäste", details_room: "Zimmername", details_breakfast: "Frühstück", details_cancellation: "Stornierung", details_cancel_booking: "Buchung stornieren", details_booked: "Gebucht", details_room_price: "Zimmerpreis", details_saved_with_hotelcard: "Mit HotelCard gespart", details_total_cost: "Gesamtkosten" }, Ma = { valid_thru: "Gültigkeit" }, La = {
|
|
6
6
|
button: Zn,
|
|
7
7
|
link: On,
|
|
8
8
|
general: Fn,
|
|
9
9
|
label: qn,
|
|
10
10
|
product: Yn,
|
|
11
11
|
subheadline: Gn,
|
|
12
|
-
form:
|
|
13
|
-
filter:
|
|
12
|
+
form: Kn,
|
|
13
|
+
filter: Jn,
|
|
14
14
|
headline: Un,
|
|
15
15
|
meta_title: Xn,
|
|
16
16
|
meta_description: Qn,
|
|
@@ -41,7 +41,7 @@ const Zn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
41
41
|
badges: Na,
|
|
42
42
|
booking: $a,
|
|
43
43
|
membership: Ma
|
|
44
|
-
}, xa = { order: "Order", "order-navigation": "Join", "order-hc": "Order HotelCard", "my-account": "My account", search: "Search", "back-to-top": "Back to top" }, Sa = { "member-benefits": "Member Benefits", "view-all-hotels": "View all hotel deals", "search-by-map": "Map search", "search-by-region": "Hotels by region", "search-by-experience": "Hotels by experience", "travel-inspiration": "Travel inspiration", "booking-tips-and-tricks": "Booking tips", home: "Home", "all-hotel-deals": "All hotel deals", "search-results": "Search results" }, Ha = { "signed-out": "Log in and book", "room-price": "from CHF xxx / room", guarantee: "14-day money-back guarantee", contact: "More questions? Contact us.", "breakfast-included": "Breakfast included", "free-cancellation": "Free cancellation", "suggested-destinations": "Not sure where to travel next?", "when-months": "When do you want to go?", "hotel-deals-found": "hotel deals found", "no-results": "Explore different destinations, change your dates, or remove some filters.", "unavailable-for-selected-days": "Unavailable for selected dates.", "cant-accommodate-all": "Hotel can’t accommodate all guests.", "reset-destination": "Reset destination search to use region filters." }, Ba = { "price-from": "from ", "price-for": "/ room", "per-room-night": "per room & night from", new: "New", anytime: "Anytime", anywhere: "All destinations", dates: "Dates", flexible: "Flexible", where: "Where", when: "When", who: "Who", nearby: "Nearby", hotels: "Hotel", filter: "Filter", sort: "Sort", map: "Map", rating: "Rating", "rating-excellent": "Excellent", "rating-very-good": "Very good", "rating-good": "Good", "rating-fair": "Fair", "rating-none": "No rating", clear: "Clear", months: "Months" }, Da = { "6m": "6-month subscription", "1y": "1-year subscription", "2y": "2-year subscription", "3y": "3-year subscription", "price-6m": "79.-", "price-6m-disc": "59.-", "price-1y": "99.-", "price-1y-disc": "79.-", "price-2y": "198.-", "price-2y-disc": "173.-", "price-3y": "297.-", "price-3y-disc": "247.-", "price-gift": "99.-", "price-gift-disc": "59.-", "1y-chc": "1-year subscription", "price-1y-chc": "199.-", "price-1y-disc-chc": "199.-" }, Ia = { "your-hc": "Your HotelCard", "popular-hotels": "Popular hotel deals", "no-results": "Explore different destinations, change your dates, or remove some filters.", "sort-by": "Sort by" }, Pa = { guests: "guests", guest: "guest", adults: "Adults", children: "Children", pet: "Pet", "age-of-child": "Child’s age", age: "Age", "age-error": "Please select age" }, Aa = { filters: "Filters", destination: "Destination", experience: "Experience", "show-all": "Show all", price: "Price", discount: "Discount", services: "Services", meals: "Meals", "hotel-category": "Hotel category", reviews: "Reviews", mobility: "Mobility", "wellness-spa": "Wellness & Spa", "price-high-low": "Price high to low", "price-low-high": "Price low to high", "best-rating": "Best guest rating", "most-popular": "Most popular", "newest-hotels": "Newest", relevance: "Relevance", selected: "Selected:", "clear-all": "Clear all", options: "Options", "hotellerie-suisse": "Classification HotellerieSuisse", trustyou: "Reviews from travelers on TrustYou®", "select-all": "Select all", reset: "Reset", "breakfast-included": "Breakfast included", "min-price": "Minimum price", "max-price": "Maximum price", "show-less": "Show less" }, Wa = { "no-results": "No stays match your search right now" }, Ta = "Search Hotels - HotelCard", Ea = "Search for hotels by city, region, or hotel name", za = "Search", Ra = { close: "Close" }, Va = "Loading hotels...", ja = "Retry", Za = "Close map", Oa = { default_title: "Search Hotel Deals - HotelCard", location_title: "Hotels in {{location}}", region_title: "Hotels in {{region}}", experience_title: "{{experience}} Hotels", default_description: "Discover {{count}} hotels with exclusive HotelCard discounts.", location_description: "Find {{count}} hotels in {{location}} with exclusive discounts up to 50% off." }, Fa = { close_search: "Close search", placeholder_anywhere: "Anywhere", recent_searches: "Recent searches", remove_recent: "Remove from recent searches", all_destinations: "All destinations" }, qa = { open_search: "Open search", open_filters: "Open filters", switch_to_list: "Switch to list view", zoom_in: "Zoom in", zoom_out: "Zoom out", no_location_data: "No hotels with location data available", hotels_missing_coordinates: "{{count}} hotels found but missing coordinates", no_hotels_in_area: "No hotels found in this area" }, Ya = { list: "List" }, Ga = { properties_found: "{{count}} properties found", properties_found_location: "{{location}}: {{count}} properties found" },
|
|
44
|
+
}, xa = { order: "Order", "order-navigation": "Join", "order-hc": "Order HotelCard", "my-account": "My account", search: "Search", "back-to-top": "Back to top" }, Sa = { "member-benefits": "Member Benefits", "view-all-hotels": "View all hotel deals", "search-by-map": "Map search", "search-by-region": "Hotels by region", "search-by-experience": "Hotels by experience", "travel-inspiration": "Travel inspiration", "booking-tips-and-tricks": "Booking tips", home: "Home", "all-hotel-deals": "All hotel deals", "search-results": "Search results" }, Ha = { "signed-out": "Log in and book", "room-price": "from CHF xxx / room", guarantee: "14-day money-back guarantee", contact: "More questions? Contact us.", "breakfast-included": "Breakfast included", "free-cancellation": "Free cancellation", "suggested-destinations": "Not sure where to travel next?", "when-months": "When do you want to go?", "hotel-deals-found": "hotel deals found", "no-results": "Explore different destinations, change your dates, or remove some filters.", "unavailable-for-selected-days": "Unavailable for selected dates.", "cant-accommodate-all": "Hotel can’t accommodate all guests.", "reset-destination": "Reset destination search to use region filters." }, Ba = { "price-from": "from ", "price-for": "/ room", "per-room-night": "per room & night from", new: "New", anytime: "Anytime", anywhere: "All destinations", dates: "Dates", flexible: "Flexible", where: "Where", when: "When", who: "Who", nearby: "Nearby", hotels: "Hotel", filter: "Filter", sort: "Sort", map: "Map", rating: "Rating", "rating-excellent": "Excellent", "rating-very-good": "Very good", "rating-good": "Good", "rating-fair": "Fair", "rating-none": "No rating", clear: "Clear", months: "Months" }, Da = { "6m": "6-month subscription", "1y": "1-year subscription", "2y": "2-year subscription", "3y": "3-year subscription", "price-6m": "79.-", "price-6m-disc": "59.-", "price-1y": "99.-", "price-1y-disc": "79.-", "price-2y": "198.-", "price-2y-disc": "173.-", "price-3y": "297.-", "price-3y-disc": "247.-", "price-gift": "99.-", "price-gift-disc": "59.-", "1y-chc": "1-year subscription", "price-1y-chc": "199.-", "price-1y-disc-chc": "199.-" }, Ia = { "your-hc": "Your HotelCard", "popular-hotels": "Popular hotel deals", "no-results": "Explore different destinations, change your dates, or remove some filters.", "sort-by": "Sort by" }, Pa = { guests: "guests", guest: "guest", adults: "Adults", children: "Children", pet: "Pet", "age-of-child": "Child’s age", age: "Age", "age-error": "Please select age" }, Aa = { filters: "Filters", destination: "Destination", experience: "Experience", "show-all": "Show all", price: "Price", discount: "Discount", services: "Services", meals: "Meals", "hotel-category": "Hotel category", reviews: "Reviews", mobility: "Mobility", "wellness-spa": "Wellness & Spa", "price-high-low": "Price high to low", "price-low-high": "Price low to high", "best-rating": "Best guest rating", "most-popular": "Most popular", "newest-hotels": "Newest", relevance: "Relevance", selected: "Selected:", "clear-all": "Clear all", options: "Options", "hotellerie-suisse": "Classification HotellerieSuisse", trustyou: "Reviews from travelers on TrustYou®", "select-all": "Select all", reset: "Reset", "breakfast-included": "Breakfast included", "min-price": "Minimum price", "max-price": "Maximum price", "show-less": "Show less" }, Wa = { "no-results": "No stays match your search right now" }, Ta = "Search Hotels - HotelCard", Ea = "Search for hotels by city, region, or hotel name", za = "Search", Ra = { close: "Close" }, Va = "Loading hotels...", ja = "Retry", Za = "Close map", Oa = { default_title: "Search Hotel Deals - HotelCard", location_title: "Hotels in {{location}}", region_title: "Hotels in {{region}}", experience_title: "{{experience}} Hotels", default_description: "Discover {{count}} hotels with exclusive HotelCard discounts.", location_description: "Find {{count}} hotels in {{location}} with exclusive discounts up to 50% off." }, Fa = { close_search: "Close search", placeholder_anywhere: "Anywhere", recent_searches: "Recent searches", remove_recent: "Remove from recent searches", all_destinations: "All destinations" }, qa = { open_search: "Open search", open_filters: "Open filters", switch_to_list: "Switch to list view", zoom_in: "Zoom in", zoom_out: "Zoom out", no_location_data: "No hotels with location data available", hotels_missing_coordinates: "{{count}} hotels found but missing coordinates", no_hotels_in_area: "No hotels found in this area" }, Ya = { list: "List" }, Ga = { properties_found: "{{count}} properties found", properties_found_location: "{{location}}: {{count}} properties found" }, Ka = { search_results_breadcrumb: "Search results", close: "Close", previous_image: "Previous image", next_image: "Next image", add_to_favorites: "Add to favorites", remove_from_favorites: "Remove from favorites", list_view: "Switch to list view", map_view: "Switch to map view" }, Ja = { home: "Home" }, Ua = { adults_description: "Ages 13 or above", children_description: "Ages 2-12", infants_description: "Under 2", decrease_adults: "Decrease adults", increase_adults: "Increase adults", decrease_children: "Decrease children", increase_children: "Increase children", decrease_infants: "Decrease infants", increase_infants: "Increase infants", toggle_infants: "Toggle pet" }, Xa = { location_placeholder: "Search for hotels, cities, regions...", distance_any: "- km", distance_5: "+ 5 km", distance_10: "+ 10 km", distance_20: "+ 20 km", distance_30: "+ 30 km", distance_50: "+ 50 km", searching: "Searching...", reset_filters: "Reset" }, Qa = { hotels: "Hotels", cities: "Cities", regions: "Regions", countries: "Countries", "no-results": "No results found" }, es = { show_filters: "Show filters", open_filters: "Open filters", filter_by: "Filter by:", hotel_rating: "Hotel rating", show_results: "Show {{count}} results", apply_filters: "Apply filters", close_filters: "Close filters", view_in_map: "View in a Map", popular_filters: "Popular filters", show_less: "Show less", selected: "Selected", clear_all: "Clear all", options: { instant_booking: "Immediately bookable", pets_allowed: "Pets allowed", free_cancellation: "Free cancellation" } }, ts = { apply: "Apply", months_selected: "{{count}} months" }, ns = { "5_stars": "5 stars", "4_stars": "4 stars", "3_stars": "3 stars", "2_stars": "2 stars", not_classified: "Not classified", swiss_lodge: "Swiss Lodge" }, as = { hotels_found: "{{count}} hotels found", load_more: "Load more", loading: "Loading...", end_of_results: "You've reached the end of results", no_results: "No hotels found", try_different_search: "Try adjusting your search criteria", unavailable_banner_title: "More hotels that might interest you", unavailable_banner_description: "These hotels don't currently have availability matching your search criteria." }, ss = { search_failed: "Search failed", load_more_failed: "Failed to load more hotels" }, rs = { title: "Something went wrong", description: "We couldn't load the hotels. Please try again.", retry: "Try again" }, is = { title: "No stays match your search right now.", description: "Explore different destinations, change your dates, or remove some filters.", description_with_filters: "Explore different destinations, change your dates, or remove some filters.", clear_filters: "Clear all filters" }, os = { label: "Pagination", previous: "Previous page", previous_short: "Previous", next: "Next page", next_short: "Next", page: "Page {{page}}" }, cs = { rating: "Rating", price_from: "per room & night from", not_available: "Not available for your search criteria" }, ls = { new: "New" }, ds = "Clear location", hs = "Clear date", us = "Clear guests", ms = { countdown_days: "days", card_directions: "Directions", card_message_from_hotel: "Message from the hotel", card_more_about_booking: "More about this booking", card_book_again: "Book again", countdown_add_to_calendar: "Add to calendar", status_confirmed: "Confirmed", status_completed: "Completed", status_cancelled: "Cancelled", details_check_in: "Check-in", details_check_out: "Check-out", details_guests: "Guests", details_room: "Room name", details_breakfast: "Breakfast", details_cancellation: "Cancellation", details_cancel_booking: "Cancel booking", details_booked: "Booked", details_room_price: "Room price", details_saved_with_hotelcard: "Saved with HotelCard", details_total_cost: "Total cost" }, fs = { valid_thru: "Validity" }, ps = {
|
|
45
45
|
button: xa,
|
|
46
46
|
link: Sa,
|
|
47
47
|
general: Ha,
|
|
@@ -63,8 +63,8 @@ const Zn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
63
63
|
map: qa,
|
|
64
64
|
view: Ya,
|
|
65
65
|
breadcrumb: Ga,
|
|
66
|
-
aria:
|
|
67
|
-
breadcrumb_nav:
|
|
66
|
+
aria: Ka,
|
|
67
|
+
breadcrumb_nav: Ja,
|
|
68
68
|
guest_selector: Ua,
|
|
69
69
|
search_form: Xa,
|
|
70
70
|
dropdown: Qa,
|
|
@@ -83,7 +83,7 @@ const Zn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
83
83
|
clear_guests: us,
|
|
84
84
|
booking: ms,
|
|
85
85
|
membership: fs
|
|
86
|
-
}, gs = { order: "Commander", "order-navigation": "Commander", "order-hc": "Commander l'HotelCard", "my-account": "Mon compte", search: "Rechercher", "back-to-top": "Haut de page" }, _s = { "member-benefits": "Member Benefits", "view-all-hotels": "Découvrez toutes nos offres", "search-by-map": "Recherche sur la carte", "search-by-region": "Hôtels par région", "search-by-experience": "Hôtels par expérience", "travel-inspiration": "Inspiration voyage", "booking-tips-and-tricks": "Conseils réservation", home: "Accueil", "all-hotel-deals": "Toutes les offres d’hôtels", "search-results": "Résultats de recherche" }, ws = { "signed-out": "Se connecter et réserver", "room-price": "à partir de CHF XXX par chambre", guarantee: "Garantie de remboursement de 14 jours", contact: "D’autres questions ? Contactez-nous.", "breakfast-included": "Petit-déjeuner inclus", "free-cancellation": "Annulation gratuite", "suggested-destinations": "Suggestions de destinations", "when-months": "Quand souhaitez-vous partir ?", "hotel-deals-found": "offres d’hôtel trouvées", "no-results": "Explorez d’autres destinations, modifiez vos dates ou retirez certains filtres.", "unavailable-for-selected-days": "Indisponible aux dates sélectionnées.", "cant-accommodate-all": "L’hôtel ne peut pas accueillir tous les voyageurs.", "reset-destination": "Réinitialiser la destination et filtrer par région" }, vs = { "price-from": "à partir de ", "price-for": "par chambre", "per-room-night": "par chambre & nuit dès", new: "Nouveau", anytime: "À tout moment", anywhere: "Toutes les destinations", dates: "Dates", flexible: "Flexible", where: "Destination", when: "Quand", who: "Voyageurs", nearby: "À proximité", hotels: "Hôtel", filter: "Filtrer", sort: "Trier", map: "Carte", rating: "Note", "rating-excellent": "Excellent", "rating-very-good": "Très bien", "rating-good": "Bien", "rating-fair": "Moyen", "rating-none": "Aucune notation", clear: "Effacer", months: "Mois" }, bs = { "6m": "Abonnement de 6 mois", "1y": "Abonnement 1 an", "2y": "Abonnement 2 ans", "3y": "Abonnement 3 ans", "price-6m": "79.-", "price-6m-disc": "59.-", "price-1y": "99.-", "price-1y-disc": "79.-", "price-2y": "198.-", "price-2y-disc": "173.-", "price-3y": "297.-", "price-3y-disc": "247.-", "price-gift": "99.-", "price-gift-disc": "59.-", "1y-chc": "Abonnement 1 an", "price-1y-chc": "199.-", "price-1y-disc-chc": "199.-" }, Cs = { "your-hc": "Votre HotelCard", "popular-hotels": "Offres d’hôtels populaires", "no-results": "Explorez d’autres destinations, modifiez vos dates ou retirez certains filtres.", "sort-by": "Trier par" }, ys = { guests: "personnes", guest: "personne", adults: "Adultes", children: "Enfants", pet: "Animal domestique", "age-of-child": "Âge de l’enfant", age: "Âge", "age-error": "Veuillez sélectionner l’âge" }, ks = { filters: "Filtres", destination: "Destination", experience: "Expérience", "show-all": "Tout afficher", price: "Prix", discount: "Réduction", services: "Services", meals: "Repas", "hotel-category": "Catégorie d’hôtel", reviews: "Avis", mobility: "Mobilité", "wellness-spa": "Bien-être & Spa", "price-high-low": "Prix : du plus bas", "price-low-high": "Prix : du plus élevé", "best-rating": "Meilleure note", "most-popular": "Plus populaires", "newest-hotels": "Plus récents", relevance: "Pertinence", selected: "Sélectionné:", "clear-all": "Tout effacer", options: "Services", "hotellerie-suisse": "Classification HotellerieSuisse", trustyou: "Avis de voyageurs sur TrustYou®", "select-all": "Tout sélectionner", reset: "Réinitialiser", "breakfast-included": "Petit-déjeuner inclus", "min-price": "Prix minimum", "max-price": "Prix maximum", "show-less": "Afficher moins" }, Ns = { "no-results": "Aucun séjour ne correspond à votre recherche pour le moment" }, $s = "Rechercher des hôtels - HotelCard", Ms = "Recherchez des hôtels par ville, région ou nom d'hôtel", Ls = "Recherche", xs = { close: "Fermer" }, Ss = "Chargement des hôtels...", Hs = "Réessayer", Bs = "Fermer la carte", Ds = { default_title: "Rechercher des offres d'hôtels - HotelCard", location_title: "Hôtels à {{location}}", region_title: "Hôtels en {{region}}", experience_title: "Hôtels {{experience}}", default_description: "Découvrez {{count}} hôtels avec des réductions exclusives HotelCard.", location_description: "Trouvez {{count}} hôtels à {{location}} avec des réductions exclusives jusqu'à 50%." }, Is = { close_search: "Fermer la recherche", placeholder_anywhere: "Partout", recent_searches: "Recherches récentes", remove_recent: "Supprimer des recherches récentes", all_destinations: "Toutes les destinations" }, Ps = { open_search: "Ouvrir la recherche", open_filters: "Ouvrir les filtres", switch_to_list: "Passer à la vue liste", zoom_in: "Agrandir", zoom_out: "Réduire", no_location_data: "Aucun hôtel avec données de localisation", hotels_missing_coordinates: "{{count}} hôtels trouvés mais coordonnées manquantes", no_hotels_in_area: "Aucun hôtel trouvé dans cette zone" }, As = { list: "Liste" }, Ws = { properties_found: "{{count}} hébergements trouvés", properties_found_location: "{{location}}: {{count}} hébergements trouvés" }, Ts = { search_results_breadcrumb: "Résultats de la recherche", close: "Fermer", previous_image: "Image précédente", next_image: "Image suivante", add_to_favorites: "Ajouter aux favoris", remove_from_favorites: "Retirer des favoris", list_view: "Passer à la vue liste", map_view: "Passer à la vue carte" }, Es = { home: "Accueil" }, zs = { decrease_adults: "Diminuer les adultes", increase_adults: "Augmenter les adultes", decrease_children: "Diminuer les enfants", increase_children: "Augmenter les enfants", decrease_infants: "Diminuer les bébés", increase_infants: "Augmenter les bébés", toggle_infants: "Basculer les animaux" }, Rs = { location_placeholder: "Rechercher des hôtels, villes, régions...", distance_any: "- km", distance_5: "+ 5 km", distance_10: "+ 10 km", distance_20: "+ 20 km", distance_30: "+ 30 km", distance_50: "+ 50 km", searching: "Recherche en cours...", reset_filters: "Réinitialiser les filtres" }, Vs = { hotels: "Hôtels", cities: "Villes", regions: "Régions", countries: "Pays", "no-results": "Aucun résultat trouvé" }, js = { show_filters: "Afficher les filtres", open_filters: "Ouvrir les filtres", filter_by: "Filtrer par:", hotel_rating: "Classement de l'hôtel", show_results: "Afficher {{count}} résultats", apply_filters: "Appliquer les filtres", close_filters: "Fermer les filtres", view_in_map: "Voir sur la carte", popular_filters: "Filtres populaires", destinations: "Destinations", options_title: "Options", options: { instant_booking: "Réservation immédiate", pets_allowed: "Animaux acceptés", free_cancellation: "Annulation gratuite" }, category: { footer_prefix: "Classification hôtelière selon " }, show_less: "Afficher moins", selected: "Sélectionné", clear_all: "Tout effacer" }, Zs = { apply: "Appliquer", months_selected: "{{count}} mois" }, Os = { "5_stars": "5 étoiles", "4_stars": "4 étoiles", "3_stars": "3 étoiles", "2_stars": "2 étoiles", not_classified: "Non classé", swiss_lodge: "Swiss Lodge" }, Fs = { hotels_found: "{{count}} hôtels trouvés", load_more: "Charger plus", loading: "Chargement...", end_of_results: "Vous avez atteint la fin des résultats", no_results: "Aucun hôtel trouvé", try_different_search: "Essayez d'ajuster vos critères de recherche", unavailable_banner_title: "D'autres hôtels qui pourraient vous intéresser", unavailable_banner_description: "Ces hôtels n'ont actuellement pas de disponibilité correspondant à vos critères de recherche." }, qs = { title: "Aucun hébergement ne correspond à votre recherche pour le moment.", subtitle: "Essayez d'ajuster vos critères de recherche ou réinitialisez les filtres", description: "Explorez différentes destinations, modifiez vos dates ou supprimez certains filtres.", description_with_filters: "Explorez différentes destinations, modifiez vos dates ou supprimez certains filtres.", clear_filters: "Réinitialiser les filtres" }, Ys = { search_failed: "La recherche a échoué", load_more_failed: "Impossible de charger plus d'hôtels" }, Gs = { title: "Une erreur s'est produite", description: "Les hôtels n'ont pas pu être chargés. Veuillez réessayer.", retry: "Réessayer" },
|
|
86
|
+
}, gs = { order: "Commander", "order-navigation": "Commander", "order-hc": "Commander l'HotelCard", "my-account": "Mon compte", search: "Rechercher", "back-to-top": "Haut de page" }, _s = { "member-benefits": "Member Benefits", "view-all-hotels": "Découvrez toutes nos offres", "search-by-map": "Recherche sur la carte", "search-by-region": "Hôtels par région", "search-by-experience": "Hôtels par expérience", "travel-inspiration": "Inspiration voyage", "booking-tips-and-tricks": "Conseils réservation", home: "Accueil", "all-hotel-deals": "Toutes les offres d’hôtels", "search-results": "Résultats de recherche" }, ws = { "signed-out": "Se connecter et réserver", "room-price": "à partir de CHF XXX par chambre", guarantee: "Garantie de remboursement de 14 jours", contact: "D’autres questions ? Contactez-nous.", "breakfast-included": "Petit-déjeuner inclus", "free-cancellation": "Annulation gratuite", "suggested-destinations": "Suggestions de destinations", "when-months": "Quand souhaitez-vous partir ?", "hotel-deals-found": "offres d’hôtel trouvées", "no-results": "Explorez d’autres destinations, modifiez vos dates ou retirez certains filtres.", "unavailable-for-selected-days": "Indisponible aux dates sélectionnées.", "cant-accommodate-all": "L’hôtel ne peut pas accueillir tous les voyageurs.", "reset-destination": "Réinitialiser la destination et filtrer par région" }, vs = { "price-from": "à partir de ", "price-for": "par chambre", "per-room-night": "par chambre & nuit dès", new: "Nouveau", anytime: "À tout moment", anywhere: "Toutes les destinations", dates: "Dates", flexible: "Flexible", where: "Destination", when: "Quand", who: "Voyageurs", nearby: "À proximité", hotels: "Hôtel", filter: "Filtrer", sort: "Trier", map: "Carte", rating: "Note", "rating-excellent": "Excellent", "rating-very-good": "Très bien", "rating-good": "Bien", "rating-fair": "Moyen", "rating-none": "Aucune notation", clear: "Effacer", months: "Mois" }, bs = { "6m": "Abonnement de 6 mois", "1y": "Abonnement 1 an", "2y": "Abonnement 2 ans", "3y": "Abonnement 3 ans", "price-6m": "79.-", "price-6m-disc": "59.-", "price-1y": "99.-", "price-1y-disc": "79.-", "price-2y": "198.-", "price-2y-disc": "173.-", "price-3y": "297.-", "price-3y-disc": "247.-", "price-gift": "99.-", "price-gift-disc": "59.-", "1y-chc": "Abonnement 1 an", "price-1y-chc": "199.-", "price-1y-disc-chc": "199.-" }, Cs = { "your-hc": "Votre HotelCard", "popular-hotels": "Offres d’hôtels populaires", "no-results": "Explorez d’autres destinations, modifiez vos dates ou retirez certains filtres.", "sort-by": "Trier par" }, ys = { guests: "personnes", guest: "personne", adults: "Adultes", children: "Enfants", pet: "Animal domestique", "age-of-child": "Âge de l’enfant", age: "Âge", "age-error": "Veuillez sélectionner l’âge" }, ks = { filters: "Filtres", destination: "Destination", experience: "Expérience", "show-all": "Tout afficher", price: "Prix", discount: "Réduction", services: "Services", meals: "Repas", "hotel-category": "Catégorie d’hôtel", reviews: "Avis", mobility: "Mobilité", "wellness-spa": "Bien-être & Spa", "price-high-low": "Prix : du plus bas", "price-low-high": "Prix : du plus élevé", "best-rating": "Meilleure note", "most-popular": "Plus populaires", "newest-hotels": "Plus récents", relevance: "Pertinence", selected: "Sélectionné:", "clear-all": "Tout effacer", options: "Services", "hotellerie-suisse": "Classification HotellerieSuisse", trustyou: "Avis de voyageurs sur TrustYou®", "select-all": "Tout sélectionner", reset: "Réinitialiser", "breakfast-included": "Petit-déjeuner inclus", "min-price": "Prix minimum", "max-price": "Prix maximum", "show-less": "Afficher moins" }, Ns = { "no-results": "Aucun séjour ne correspond à votre recherche pour le moment" }, $s = "Rechercher des hôtels - HotelCard", Ms = "Recherchez des hôtels par ville, région ou nom d'hôtel", Ls = "Recherche", xs = { close: "Fermer" }, Ss = "Chargement des hôtels...", Hs = "Réessayer", Bs = "Fermer la carte", Ds = { default_title: "Rechercher des offres d'hôtels - HotelCard", location_title: "Hôtels à {{location}}", region_title: "Hôtels en {{region}}", experience_title: "Hôtels {{experience}}", default_description: "Découvrez {{count}} hôtels avec des réductions exclusives HotelCard.", location_description: "Trouvez {{count}} hôtels à {{location}} avec des réductions exclusives jusqu'à 50%." }, Is = { close_search: "Fermer la recherche", placeholder_anywhere: "Partout", recent_searches: "Recherches récentes", remove_recent: "Supprimer des recherches récentes", all_destinations: "Toutes les destinations" }, Ps = { open_search: "Ouvrir la recherche", open_filters: "Ouvrir les filtres", switch_to_list: "Passer à la vue liste", zoom_in: "Agrandir", zoom_out: "Réduire", no_location_data: "Aucun hôtel avec données de localisation", hotels_missing_coordinates: "{{count}} hôtels trouvés mais coordonnées manquantes", no_hotels_in_area: "Aucun hôtel trouvé dans cette zone" }, As = { list: "Liste" }, Ws = { properties_found: "{{count}} hébergements trouvés", properties_found_location: "{{location}}: {{count}} hébergements trouvés" }, Ts = { search_results_breadcrumb: "Résultats de la recherche", close: "Fermer", previous_image: "Image précédente", next_image: "Image suivante", add_to_favorites: "Ajouter aux favoris", remove_from_favorites: "Retirer des favoris", list_view: "Passer à la vue liste", map_view: "Passer à la vue carte" }, Es = { home: "Accueil" }, zs = { decrease_adults: "Diminuer les adultes", increase_adults: "Augmenter les adultes", decrease_children: "Diminuer les enfants", increase_children: "Augmenter les enfants", decrease_infants: "Diminuer les bébés", increase_infants: "Augmenter les bébés", toggle_infants: "Basculer les animaux" }, Rs = { location_placeholder: "Rechercher des hôtels, villes, régions...", distance_any: "- km", distance_5: "+ 5 km", distance_10: "+ 10 km", distance_20: "+ 20 km", distance_30: "+ 30 km", distance_50: "+ 50 km", searching: "Recherche en cours...", reset_filters: "Réinitialiser les filtres" }, Vs = { hotels: "Hôtels", cities: "Villes", regions: "Régions", countries: "Pays", "no-results": "Aucun résultat trouvé" }, js = { show_filters: "Afficher les filtres", open_filters: "Ouvrir les filtres", filter_by: "Filtrer par:", hotel_rating: "Classement de l'hôtel", show_results: "Afficher {{count}} résultats", apply_filters: "Appliquer les filtres", close_filters: "Fermer les filtres", view_in_map: "Voir sur la carte", popular_filters: "Filtres populaires", destinations: "Destinations", options_title: "Options", options: { instant_booking: "Réservation immédiate", pets_allowed: "Animaux acceptés", free_cancellation: "Annulation gratuite" }, category: { footer_prefix: "Classification hôtelière selon " }, show_less: "Afficher moins", selected: "Sélectionné", clear_all: "Tout effacer" }, Zs = { apply: "Appliquer", months_selected: "{{count}} mois" }, Os = { "5_stars": "5 étoiles", "4_stars": "4 étoiles", "3_stars": "3 étoiles", "2_stars": "2 étoiles", not_classified: "Non classé", swiss_lodge: "Swiss Lodge" }, Fs = { hotels_found: "{{count}} hôtels trouvés", load_more: "Charger plus", loading: "Chargement...", end_of_results: "Vous avez atteint la fin des résultats", no_results: "Aucun hôtel trouvé", try_different_search: "Essayez d'ajuster vos critères de recherche", unavailable_banner_title: "D'autres hôtels qui pourraient vous intéresser", unavailable_banner_description: "Ces hôtels n'ont actuellement pas de disponibilité correspondant à vos critères de recherche." }, qs = { title: "Aucun hébergement ne correspond à votre recherche pour le moment.", subtitle: "Essayez d'ajuster vos critères de recherche ou réinitialisez les filtres", description: "Explorez différentes destinations, modifiez vos dates ou supprimez certains filtres.", description_with_filters: "Explorez différentes destinations, modifiez vos dates ou supprimez certains filtres.", clear_filters: "Réinitialiser les filtres" }, Ys = { search_failed: "La recherche a échoué", load_more_failed: "Impossible de charger plus d'hôtels" }, Gs = { title: "Une erreur s'est produite", description: "Les hôtels n'ont pas pu être chargés. Veuillez réessayer.", retry: "Réessayer" }, Ks = { label: "Pagination", previous: "Page précédente", previous_short: "Précédent", next: "Page suivante", next_short: "Suivant", page: "Page {{page}}" }, Js = { rating: "Note", price_from: "par chambre & nuit dès", not_available: "Non disponible selon vos critères de recherche" }, Us = { new: "Nouveau" }, Xs = { countdown_days: "jours", card_directions: "Itinéraire", card_message_from_hotel: "Message de l'hôtel", card_more_about_booking: "Plus sur cette réservation", card_book_again: "Réserver à nouveau", countdown_add_to_calendar: "Ajouter au calendrier", status_confirmed: "Confirmée", status_completed: "Terminée", status_cancelled: "Annulée", details_check_in: "Arrivée", details_check_out: "Départ", details_guests: "Voyageurs", details_room: "Nom de la chambre", details_breakfast: "Petit-déjeuner", details_cancellation: "Annulation", details_cancel_booking: "Annuler la réservation", details_booked: "Réservé", details_room_price: "Prix de la chambre", details_saved_with_hotelcard: "Économisé avec HotelCard", details_total_cost: "Coût total" }, Qs = { valid_thru: "Validité" }, er = {
|
|
87
87
|
button: gs,
|
|
88
88
|
link: _s,
|
|
89
89
|
general: ws,
|
|
@@ -117,8 +117,8 @@ const Zn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
117
117
|
no_results: qs,
|
|
118
118
|
errors: Ys,
|
|
119
119
|
error: Gs,
|
|
120
|
-
pagination:
|
|
121
|
-
hotel_card:
|
|
120
|
+
pagination: Ks,
|
|
121
|
+
hotel_card: Js,
|
|
122
122
|
badges: Us,
|
|
123
123
|
booking: Xs,
|
|
124
124
|
membership: Qs
|
|
@@ -161,7 +161,7 @@ const Zn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
161
161
|
badges: Wr,
|
|
162
162
|
booking: Tr,
|
|
163
163
|
membership: Er
|
|
164
|
-
},
|
|
164
|
+
}, Ft = { de: La, en: ps, fr: er, it: zr };
|
|
165
165
|
function Rr(t, a) {
|
|
166
166
|
const n = a.split(".");
|
|
167
167
|
let s = t;
|
|
@@ -178,20 +178,20 @@ function Vr(t, a) {
|
|
|
178
178
|
return r !== void 0 ? String(r) : `{{${s}}}`;
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
const a =
|
|
181
|
+
function pn(t) {
|
|
182
|
+
const a = Ft[t] || Ft.en;
|
|
183
183
|
return (n, s, r) => {
|
|
184
184
|
const i = Rr(a, n), o = s && typeof s == "object", l = o ? s : void 0, h = i ?? (o ? r : s) ?? n;
|
|
185
185
|
return l ? Vr(h, l) : h;
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
|
-
const jr =
|
|
188
|
+
const jr = pn("de"), Zr = {
|
|
189
189
|
locale: "de",
|
|
190
190
|
currency: "CHF",
|
|
191
191
|
isDesktop: !1,
|
|
192
192
|
apiBaseUrl: "",
|
|
193
193
|
t: jr
|
|
194
|
-
},
|
|
194
|
+
}, gn = Rn(Zr), Zu = ({
|
|
195
195
|
locale: t = "de",
|
|
196
196
|
currency: a = "CHF",
|
|
197
197
|
isDesktop: n = !1,
|
|
@@ -199,15 +199,15 @@ const jr = mn("de"), Zr = {
|
|
|
199
199
|
t: r,
|
|
200
200
|
children: i
|
|
201
201
|
}) => {
|
|
202
|
-
const o =
|
|
203
|
-
() => r ??
|
|
202
|
+
const o = rt(
|
|
203
|
+
() => r ?? pn(t),
|
|
204
204
|
[t, r]
|
|
205
|
-
), l =
|
|
205
|
+
), l = rt(
|
|
206
206
|
() => ({ locale: t, currency: a, isDesktop: n, apiBaseUrl: s, t: o }),
|
|
207
207
|
[t, a, n, s, o]
|
|
208
208
|
);
|
|
209
|
-
return /* @__PURE__ */ e(
|
|
210
|
-
},
|
|
209
|
+
return /* @__PURE__ */ e(gn.Provider, { value: l, children: i });
|
|
210
|
+
}, de = () => zn(gn), Be = (t) => `hc-btn-${t}`, ke = fn(({
|
|
211
211
|
variant: t = "primary",
|
|
212
212
|
size: a = "medium",
|
|
213
213
|
leftIcon: n,
|
|
@@ -236,8 +236,8 @@ const jr = mn("de"), Zr = {
|
|
|
236
236
|
] })
|
|
237
237
|
}
|
|
238
238
|
));
|
|
239
|
-
|
|
240
|
-
const
|
|
239
|
+
ke.displayName = "Button";
|
|
240
|
+
const it = (t) => `hc-badge-${t}`, _n = ({
|
|
241
241
|
color: t = "primary",
|
|
242
242
|
size: a = "large",
|
|
243
243
|
style: n = "heavy",
|
|
@@ -246,24 +246,24 @@ const rt = (t) => `hc-badge-${t}`, pn = ({
|
|
|
246
246
|
className: i = ""
|
|
247
247
|
}) => {
|
|
248
248
|
const o = `${t}${n.charAt(0).toUpperCase()}${n.slice(1)}`, l = [
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
it("badge"),
|
|
250
|
+
it(`badge--${a}`),
|
|
251
|
+
it(`badge--${o}`),
|
|
252
252
|
i
|
|
253
253
|
].filter(Boolean).join(" "), d = [
|
|
254
|
-
|
|
255
|
-
|
|
254
|
+
it("icon"),
|
|
255
|
+
it(`icon--${a}`)
|
|
256
256
|
].join(" "), h = [
|
|
257
|
-
|
|
258
|
-
a === "large" && s ?
|
|
257
|
+
it("text"),
|
|
258
|
+
a === "large" && s ? it("text--largeWithIcon") : ""
|
|
259
259
|
].filter(Boolean).join(" ");
|
|
260
260
|
return /* @__PURE__ */ c("div", { className: l, children: [
|
|
261
261
|
s && /* @__PURE__ */ e("div", { className: d }),
|
|
262
262
|
/* @__PURE__ */ e("div", { className: h, children: r })
|
|
263
263
|
] });
|
|
264
264
|
};
|
|
265
|
-
|
|
266
|
-
const
|
|
265
|
+
_n.displayName = "Badge";
|
|
266
|
+
const xe = (t) => `hc-rating-${t}`, Or = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
|
|
267
267
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_full)", children: /* @__PURE__ */ e("path", { d: "M12.0004 0.5C12.393 0.5 12.7551 0.723172 12.9339 1.07325L16.1402 7.38333L23.1155 8.49482C23.5037 8.55608 23.8265 8.83176 23.9487 9.20809C24.0708 9.58442 23.9705 9.99576 23.6957 10.2758L18.7008 15.2863L19.8045 22.2834C19.8656 22.6728 19.7042 23.0667 19.3857 23.2986C19.0673 23.5305 18.6441 23.5655 18.2951 23.3861L12.0004 20.1742L5.70561 23.3861C5.35663 23.5655 4.93349 23.5305 4.61504 23.2986C4.29659 23.0667 4.13519 22.6772 4.19626 22.2834L5.29555 15.2863L0.305106 10.2758C0.0259198 9.99576 -0.0700504 9.58442 0.0520935 9.20809C0.174237 8.83176 0.492684 8.55608 0.885289 8.49482L7.86058 7.38333L11.0712 1.07325C11.2501 0.723172 11.6121 0.5 12.0047 0.5H12.0004Z", fill: "#FBB041" }) }),
|
|
268
268
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_full", children: /* @__PURE__ */ e("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
269
269
|
] }), Fr = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -286,7 +286,7 @@ const Le = (t) => `hc-rating-${t}`, Or = () => /* @__PURE__ */ c("svg", { xmlns:
|
|
|
286
286
|
] }), qr = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
|
|
287
287
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_empty)", children: /* @__PURE__ */ e("path", { d: "M12.0004 0.5C12.393 0.5 12.7551 0.723172 12.9339 1.07325L16.1402 7.38333L23.1155 8.49482C23.5037 8.55608 23.8265 8.83176 23.9487 9.20809C24.0708 9.58442 23.9705 9.99576 23.6957 10.2758L18.7008 15.2863L19.8045 22.2834C19.8656 22.6728 19.7042 23.0667 19.3857 23.2986C19.0673 23.5305 18.6441 23.5655 18.2951 23.3861L12.0004 20.1742L5.70561 23.3861C5.35663 23.5655 4.93349 23.5305 4.61504 23.2986C4.29659 23.0667 4.13519 22.6772 4.19626 22.2834L5.29555 15.2863L0.305106 10.2758C0.0259198 9.99576 -0.0700504 9.58442 0.0520935 9.20809C0.174237 8.83176 0.492684 8.55608 0.885289 8.49482L7.86058 7.38333L11.0712 1.07325C11.2501 0.723172 11.6121 0.5 12.0047 0.5H12.0004ZM12.0004 3.86071L9.47898 8.81426C9.3263 9.11182 9.04275 9.32187 8.71122 9.37438L3.23656 10.2496L7.15389 14.1835C7.38945 14.4198 7.49851 14.7568 7.44616 15.0893L6.58243 20.5811L11.5249 18.0606C11.8215 17.9074 12.1749 17.9074 12.4759 18.0606L17.4183 20.5811L16.5546 15.0893C16.5023 14.7568 16.6113 14.4198 16.8469 14.1835L20.7642 10.2496L15.2895 9.37438C14.958 9.32187 14.6745 9.11182 14.5218 8.81426L12.0004 3.86071Z", fill: "#9A5A00" }) }),
|
|
288
288
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_empty", children: /* @__PURE__ */ e("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
289
|
-
] }),
|
|
289
|
+
] }), wn = ({
|
|
290
290
|
variant: t = "stars",
|
|
291
291
|
value: a,
|
|
292
292
|
maxValue: n = 5,
|
|
@@ -299,8 +299,8 @@ const Le = (t) => `hc-rating-${t}`, Or = () => /* @__PURE__ */ c("svg", { xmlns:
|
|
|
299
299
|
}) => {
|
|
300
300
|
const h = Math.min(Math.max(0, a), n), u = Math.floor(h), f = h % 1 >= 0.5, p = n - u - (f ? 1 : 0), k = () => {
|
|
301
301
|
const w = [
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
xe("star"),
|
|
303
|
+
xe(`star--${l}`)
|
|
304
304
|
].filter(Boolean).join(" "), m = [];
|
|
305
305
|
for (let L = 0; L < u; L++)
|
|
306
306
|
m.push(
|
|
@@ -316,40 +316,40 @@ const Le = (t) => `hc-rating-${t}`, Or = () => /* @__PURE__ */ c("svg", { xmlns:
|
|
|
316
316
|
return m;
|
|
317
317
|
};
|
|
318
318
|
if (t === "stars") {
|
|
319
|
-
const w = [
|
|
319
|
+
const w = [xe("starsContainer"), d].filter(Boolean).join(" ");
|
|
320
320
|
return /* @__PURE__ */ c("div", { className: w, children: [
|
|
321
|
-
/* @__PURE__ */ e("div", { className:
|
|
322
|
-
s && /* @__PURE__ */ e("span", { className:
|
|
321
|
+
/* @__PURE__ */ e("div", { className: xe("starContainer"), children: k() }),
|
|
322
|
+
s && /* @__PURE__ */ e("span", { className: xe("valueDisplay"), children: h.toLocaleString("de-CH") })
|
|
323
323
|
] });
|
|
324
324
|
}
|
|
325
325
|
if (t === "result") {
|
|
326
|
-
const w = [
|
|
326
|
+
const w = [xe("resultContainer"), d].filter(Boolean).join(" ");
|
|
327
327
|
return /* @__PURE__ */ c("div", { className: w, children: [
|
|
328
|
-
/* @__PURE__ */ e("span", { className:
|
|
328
|
+
/* @__PURE__ */ e("span", { className: xe("resultChar"), children: "N" }),
|
|
329
329
|
/* @__PURE__ */ e("div", { children: k() })
|
|
330
330
|
] });
|
|
331
331
|
}
|
|
332
|
-
const _ = [
|
|
332
|
+
const _ = [xe("blockContainer"), d].filter(Boolean).join(" ");
|
|
333
333
|
return /* @__PURE__ */ c("div", { className: _, children: [
|
|
334
|
-
/* @__PURE__ */ c("div", { className:
|
|
335
|
-
/* @__PURE__ */ c("div", { className:
|
|
336
|
-
r && /* @__PURE__ */ e("span", { className:
|
|
334
|
+
/* @__PURE__ */ c("div", { className: xe("blockHeader"), children: [
|
|
335
|
+
/* @__PURE__ */ c("div", { className: xe("blockHeaderLeft"), children: [
|
|
336
|
+
r && /* @__PURE__ */ e("span", { className: xe("blockName"), children: r }),
|
|
337
337
|
/* @__PURE__ */ e("div", { children: k() })
|
|
338
338
|
] }),
|
|
339
|
-
i && /* @__PURE__ */ e("span", { className:
|
|
339
|
+
i && /* @__PURE__ */ e("span", { className: xe("blockDate"), children: i })
|
|
340
340
|
] }),
|
|
341
|
-
o && /* @__PURE__ */ e("p", { className:
|
|
341
|
+
o && /* @__PURE__ */ e("p", { className: xe("blockQuote"), children: o })
|
|
342
342
|
] });
|
|
343
343
|
};
|
|
344
|
-
|
|
345
|
-
const
|
|
344
|
+
wn.displayName = "Rating";
|
|
345
|
+
const et = (t) => `hc-divider-${t}`, Yr = ({
|
|
346
346
|
label: t,
|
|
347
347
|
orientation: a = "horizontal",
|
|
348
348
|
className: n = ""
|
|
349
349
|
}) => {
|
|
350
350
|
const s = a === "horizontal";
|
|
351
351
|
if (!t) {
|
|
352
|
-
const l =
|
|
352
|
+
const l = et(s ? "lineStandalone--horizontal" : "lineStandalone--vertical");
|
|
353
353
|
return /* @__PURE__ */ e(
|
|
354
354
|
"div",
|
|
355
355
|
{
|
|
@@ -359,8 +359,8 @@ const Qe = (t) => `hc-divider-${t}`, Yr = ({
|
|
|
359
359
|
}
|
|
360
360
|
);
|
|
361
361
|
}
|
|
362
|
-
const r =
|
|
363
|
-
|
|
362
|
+
const r = et(s ? "container--horizontal" : "container--vertical"), i = et(s ? "line--horizontal" : "line--vertical"), o = [
|
|
363
|
+
et("container"),
|
|
364
364
|
r,
|
|
365
365
|
n
|
|
366
366
|
].filter(Boolean).join(" ");
|
|
@@ -373,17 +373,17 @@ const Qe = (t) => `hc-divider-${t}`, Yr = ({
|
|
|
373
373
|
"aria-label": typeof t == "string" ? t : void 0,
|
|
374
374
|
children: [
|
|
375
375
|
/* @__PURE__ */ e("div", { className: i }),
|
|
376
|
-
/* @__PURE__ */ e("span", { className:
|
|
376
|
+
/* @__PURE__ */ e("span", { className: et("label"), children: t }),
|
|
377
377
|
/* @__PURE__ */ e("div", { className: i })
|
|
378
378
|
]
|
|
379
379
|
}
|
|
380
380
|
);
|
|
381
381
|
};
|
|
382
382
|
Yr.displayName = "Divider";
|
|
383
|
-
const
|
|
383
|
+
const tt = (t) => `hc-chip-${t}`, Gr = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
|
|
384
384
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_chip_close)", children: /* @__PURE__ */ e("path", { d: "M12 2.25C14.5859 2.25 17.0658 3.27723 18.8943 5.10571C20.7228 6.93419 21.75 9.41414 21.75 12C21.75 14.5859 20.7228 17.0658 18.8943 18.8943C17.0658 20.7228 14.5859 21.75 12 21.75C9.41414 21.75 6.93419 20.7228 5.10571 18.8943C3.27723 17.0658 2.25 14.5859 2.25 12C2.25 9.41414 3.27723 6.93419 5.10571 5.10571C6.93419 3.27723 9.41414 2.25 12 2.25ZM12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24ZM7.82812 7.82812C7.3875 8.26875 7.3875 8.98125 7.82812 9.41719L10.4062 11.9953L7.82812 14.5734C7.3875 15.0141 7.3875 15.7266 7.82812 16.1625C8.26875 16.5984 8.98125 16.6031 9.41719 16.1625L11.9953 13.5844L14.5734 16.1625C15.0141 16.6031 15.7266 16.6031 16.1625 16.1625C16.5984 15.7219 16.6031 15.0094 16.1625 14.5734L13.5844 11.9953L16.1625 9.41719C16.6031 8.97656 16.6031 8.26406 16.1625 7.82812C15.7219 7.39219 15.0094 7.3875 14.5734 7.82812L11.9953 10.4062L9.41719 7.82812C8.97656 7.3875 8.26406 7.3875 7.82812 7.82812Z", fill: "currentColor" }) }),
|
|
385
385
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_chip_close", children: /* @__PURE__ */ e("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
386
|
-
] }),
|
|
386
|
+
] }), zt = ({
|
|
387
387
|
label: t,
|
|
388
388
|
count: a,
|
|
389
389
|
size: n = "small",
|
|
@@ -395,11 +395,11 @@ const et = (t) => `hc-chip-${t}`, Gr = () => /* @__PURE__ */ c("svg", { xmlns: "
|
|
|
395
395
|
disabled: d = !1
|
|
396
396
|
}) => {
|
|
397
397
|
const h = d ? "disabled" : s, u = [
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
398
|
+
tt("chip"),
|
|
399
|
+
tt(`chip--${n}`),
|
|
400
|
+
tt(`chip--${h}`),
|
|
401
401
|
l
|
|
402
|
-
].filter(Boolean).join(" "), f = [
|
|
402
|
+
].filter(Boolean).join(" "), f = [tt("label"), tt(`label--${n}`)].join(" "), p = [tt("countBadge"), tt(`countBadge--${n}`)].join(" ");
|
|
403
403
|
return /* @__PURE__ */ c(
|
|
404
404
|
"button",
|
|
405
405
|
{
|
|
@@ -416,13 +416,13 @@ const et = (t) => `hc-chip-${t}`, Gr = () => /* @__PURE__ */ c("svg", { xmlns: "
|
|
|
416
416
|
children: [
|
|
417
417
|
/* @__PURE__ */ e("span", { className: f, children: t }),
|
|
418
418
|
a !== void 0 && /* @__PURE__ */ e("span", { className: p, children: a }),
|
|
419
|
-
r && /* @__PURE__ */ e("span", { className:
|
|
419
|
+
r && /* @__PURE__ */ e("span", { className: tt("closeIcon"), "aria-hidden": "true", children: /* @__PURE__ */ e(Gr, {}) })
|
|
420
420
|
]
|
|
421
421
|
}
|
|
422
422
|
);
|
|
423
423
|
};
|
|
424
|
-
|
|
425
|
-
const we = (t) => `hc-checkbox-${t}`,
|
|
424
|
+
zt.displayName = "Chip";
|
|
425
|
+
const we = (t) => `hc-checkbox-${t}`, Kr = ({
|
|
426
426
|
label: t,
|
|
427
427
|
checked: a,
|
|
428
428
|
defaultChecked: n = !1,
|
|
@@ -434,8 +434,8 @@ const we = (t) => `hc-checkbox-${t}`, Jr = ({
|
|
|
434
434
|
className: d = "",
|
|
435
435
|
size: h = "medium"
|
|
436
436
|
}) => {
|
|
437
|
-
const [u, f] = $(n), [p, k] = $(!1), _ = a !== void 0 ? a : u, w = (
|
|
438
|
-
const E =
|
|
437
|
+
const [u, f] = $(n), [p, k] = $(!1), _ = a !== void 0 ? a : u, w = (S) => {
|
|
438
|
+
const E = S.target.checked;
|
|
439
439
|
a === void 0 && f(E), s == null || s(E);
|
|
440
440
|
}, m = [
|
|
441
441
|
we("container"),
|
|
@@ -454,7 +454,7 @@ const we = (t) => `hc-checkbox-${t}`, Jr = ({
|
|
|
454
454
|
].filter(Boolean).join(" "), M = [
|
|
455
455
|
we("input"),
|
|
456
456
|
r && we("input--disabled")
|
|
457
|
-
].filter(Boolean).join(" "),
|
|
457
|
+
].filter(Boolean).join(" "), x = [
|
|
458
458
|
we("checkmark"),
|
|
459
459
|
we(`checkmark--${h}`),
|
|
460
460
|
_ && we("checkmark--checked")
|
|
@@ -484,7 +484,7 @@ const we = (t) => `hc-checkbox-${t}`, Jr = ({
|
|
|
484
484
|
/* @__PURE__ */ e(
|
|
485
485
|
"svg",
|
|
486
486
|
{
|
|
487
|
-
className:
|
|
487
|
+
className: x,
|
|
488
488
|
viewBox: "0 0 12 12",
|
|
489
489
|
fill: "none",
|
|
490
490
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -504,8 +504,8 @@ const we = (t) => `hc-checkbox-${t}`, Jr = ({
|
|
|
504
504
|
t && /* @__PURE__ */ e("span", { className: C, children: t })
|
|
505
505
|
] });
|
|
506
506
|
};
|
|
507
|
-
|
|
508
|
-
const je = (t) => `hc-radio-${t}`,
|
|
507
|
+
Kr.displayName = "Checkbox";
|
|
508
|
+
const je = (t) => `hc-radio-${t}`, Jr = ({
|
|
509
509
|
id: t,
|
|
510
510
|
checked: a,
|
|
511
511
|
onChange: n,
|
|
@@ -567,8 +567,8 @@ const je = (t) => `hc-radio-${t}`, Kr = ({
|
|
|
567
567
|
}
|
|
568
568
|
);
|
|
569
569
|
};
|
|
570
|
-
|
|
571
|
-
const
|
|
570
|
+
Jr.displayName = "RadioButton";
|
|
571
|
+
const Dt = (t) => `hc-section-${t}`, Ur = () => /* @__PURE__ */ e(
|
|
572
572
|
"svg",
|
|
573
573
|
{
|
|
574
574
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -588,17 +588,17 @@ const Ht = (t) => `hc-section-${t}`, Ur = () => /* @__PURE__ */ e(
|
|
|
588
588
|
onShowAllClick: n,
|
|
589
589
|
className: s = ""
|
|
590
590
|
}) => {
|
|
591
|
-
const r = [
|
|
591
|
+
const r = [Dt("header"), s].filter(Boolean).join(" ");
|
|
592
592
|
return /* @__PURE__ */ c("div", { className: r, children: [
|
|
593
|
-
/* @__PURE__ */ e("h2", { className:
|
|
594
|
-
a && n && /* @__PURE__ */ c("button", { className:
|
|
593
|
+
/* @__PURE__ */ e("h2", { className: Dt("title"), children: t }),
|
|
594
|
+
a && n && /* @__PURE__ */ c("button", { className: Dt("showAllButton"), onClick: n, children: [
|
|
595
595
|
/* @__PURE__ */ e("span", { children: a }),
|
|
596
596
|
/* @__PURE__ */ e(Ur, {})
|
|
597
597
|
] })
|
|
598
598
|
] });
|
|
599
599
|
};
|
|
600
600
|
Xr.displayName = "SectionHeader";
|
|
601
|
-
const
|
|
601
|
+
const It = (t) => `hc-modal-${t}`, Qr = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", children: /* @__PURE__ */ e(
|
|
602
602
|
"path",
|
|
603
603
|
{
|
|
604
604
|
d: "M0.330469 1.91953C-0.110156 1.47891 -0.110156 0.766406 0.330469 0.330469C0.771094 -0.105469 1.48359 -0.110156 1.91953 0.330469L8.99766 7.40859L16.0758 0.330469C16.5164 -0.110156 17.2289 -0.110156 17.6648 0.330469C18.1008 0.771094 18.1055 1.48359 17.6648 1.91953L10.5867 8.99766L17.6648 16.0758C18.1055 16.5164 18.1055 17.2289 17.6648 17.6648C17.2242 18.1008 16.5117 18.1055 16.0758 17.6648L8.99766 10.5867L1.91953 17.6648C1.47891 18.1055 0.766406 18.1055 0.330469 17.6648C-0.105469 17.2242 -0.110156 16.5117 0.330469 16.0758L7.40859 8.99766L0.330469 1.91953Z",
|
|
@@ -613,7 +613,7 @@ const Bt = (t) => `hc-modal-${t}`, Qr = () => /* @__PURE__ */ e("svg", { xmlns:
|
|
|
613
613
|
showCloseButton: i = !0,
|
|
614
614
|
disableBackdropClick: o = !1
|
|
615
615
|
}) => {
|
|
616
|
-
const l =
|
|
616
|
+
const l = me(null);
|
|
617
617
|
ee(() => {
|
|
618
618
|
const f = (p) => {
|
|
619
619
|
p.key === "Escape" && t && a();
|
|
@@ -626,7 +626,7 @@ const Bt = (t) => `hc-modal-${t}`, Qr = () => /* @__PURE__ */ e("svg", { xmlns:
|
|
|
626
626
|
f.target === f.currentTarget && !o && a();
|
|
627
627
|
};
|
|
628
628
|
if (!t) return null;
|
|
629
|
-
const h = [
|
|
629
|
+
const h = [It("content"), r].filter(Boolean).join(" "), u = /* @__PURE__ */ e("div", { className: It("backdrop"), onClick: d, children: /* @__PURE__ */ c(
|
|
630
630
|
"div",
|
|
631
631
|
{
|
|
632
632
|
ref: l,
|
|
@@ -636,7 +636,7 @@ const Bt = (t) => `hc-modal-${t}`, Qr = () => /* @__PURE__ */ e("svg", { xmlns:
|
|
|
636
636
|
i && /* @__PURE__ */ e(
|
|
637
637
|
"button",
|
|
638
638
|
{
|
|
639
|
-
className:
|
|
639
|
+
className: It("closeButton"),
|
|
640
640
|
onClick: a,
|
|
641
641
|
"aria-label": "Close modal",
|
|
642
642
|
children: /* @__PURE__ */ e(Qr, {})
|
|
@@ -649,7 +649,7 @@ const Bt = (t) => `hc-modal-${t}`, Qr = () => /* @__PURE__ */ e("svg", { xmlns:
|
|
|
649
649
|
return typeof document < "u" ? Vn(u, document.body) : u;
|
|
650
650
|
};
|
|
651
651
|
ei.displayName = "Modal";
|
|
652
|
-
const ne = (t) => `hc-card-${t}`,
|
|
652
|
+
const ne = (t) => `hc-card-${t}`, qt = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "9", height: "9", viewBox: "0 0 9 9", fill: "none", children: [
|
|
653
653
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_card_star)", children: /* @__PURE__ */ e(
|
|
654
654
|
"path",
|
|
655
655
|
{
|
|
@@ -658,7 +658,7 @@ const ne = (t) => `hc-card-${t}`, Ot = () => /* @__PURE__ */ c("svg", { xmlns: "
|
|
|
658
658
|
}
|
|
659
659
|
) }),
|
|
660
660
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_card_star", children: /* @__PURE__ */ e("rect", { width: "8", height: "8", fill: "white", transform: "translate(0.800049 0.199951)" }) }) })
|
|
661
|
-
] }), ti = () => /* @__PURE__ */ e("svg", { width: "24", height: "24", viewBox: "0 0 36 38", fill: "#478EFA", className: ne("ratingSvg"), children: /* @__PURE__ */ e("path", { d: "M4 0C1.79086 0 0 1.79086 0 4V32V38L9 32H32C34.2091 32 36 30.2091 36 28V0H4Z" }) }), ni = 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" fill="%23e5e7eb"%3E%3Crect width="100" height="100" /%3E%3C/svg%3E',
|
|
661
|
+
] }), ti = () => /* @__PURE__ */ e("svg", { width: "24", height: "24", viewBox: "0 0 36 38", fill: "#478EFA", className: ne("ratingSvg"), children: /* @__PURE__ */ e("path", { d: "M4 0C1.79086 0 0 1.79086 0 4V32V38L9 32H32C34.2091 32 36 30.2091 36 28V0H4Z" }) }), ni = 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" fill="%23e5e7eb"%3E%3Crect width="100" height="100" /%3E%3C/svg%3E', Yt = (t, a) => Array.from({ length: t }, (n, s) => a(s)), ai = ({
|
|
662
662
|
image: t,
|
|
663
663
|
imageAlt: a = "",
|
|
664
664
|
label: n,
|
|
@@ -692,13 +692,13 @@ const ne = (t) => `hc-card-${t}`, Ot = () => /* @__PURE__ */ c("svg", { xmlns: "
|
|
|
692
692
|
_ === "hotel-deals" && ne("label--hotelDeals"),
|
|
693
693
|
!m && _ !== "hotel-deals" && ne("label--mobileOverflow"),
|
|
694
694
|
!u && ne("label--noRating")
|
|
695
|
-
].filter(Boolean).join(" "),
|
|
695
|
+
].filter(Boolean).join(" "), x = [
|
|
696
696
|
ne("price"),
|
|
697
697
|
_ === "hotel-deals" && u && ne("price--hotelDealsWithRating"),
|
|
698
698
|
_ === "hotel-deals" && !u && ne("price--hotelDealsNoRating"),
|
|
699
699
|
_ !== "hotel-deals" && !u && ne("price--noRating"),
|
|
700
700
|
_ !== "hotel-deals" && u && ne("price--regularWithRating")
|
|
701
|
-
].filter(Boolean).join(" "), C = t || ni,
|
|
701
|
+
].filter(Boolean).join(" "), C = t || ni, S = (W) => {
|
|
702
702
|
l && (W.key === "Enter" || W.key === " ") && (W.preventDefault(), l());
|
|
703
703
|
}, E = () => k ? /* @__PURE__ */ c("span", { className: ne("ratingInfo"), children: [
|
|
704
704
|
/* @__PURE__ */ e(ti, {}),
|
|
@@ -710,7 +710,7 @@ const ne = (t) => `hc-card-${t}`, Ot = () => /* @__PURE__ */ c("svg", { xmlns: "
|
|
|
710
710
|
{
|
|
711
711
|
className: L,
|
|
712
712
|
onClick: l,
|
|
713
|
-
onKeyDown:
|
|
713
|
+
onKeyDown: S,
|
|
714
714
|
role: l ? "button" : void 0,
|
|
715
715
|
tabIndex: l ? 0 : void 0,
|
|
716
716
|
children: [
|
|
@@ -726,7 +726,7 @@ const ne = (t) => `hc-card-${t}`, Ot = () => /* @__PURE__ */ c("svg", { xmlns: "
|
|
|
726
726
|
),
|
|
727
727
|
/* @__PURE__ */ e("div", { className: ne("shadowOverlay") }),
|
|
728
728
|
o && /* @__PURE__ */ e("div", { className: ne("badgeWrapper"), children: /* @__PURE__ */ e(
|
|
729
|
-
|
|
729
|
+
_n,
|
|
730
730
|
{
|
|
731
731
|
color: o.variant || "primary",
|
|
732
732
|
size: m ? "large" : "small",
|
|
@@ -737,24 +737,24 @@ const ne = (t) => `hc-card-${t}`, Ot = () => /* @__PURE__ */ c("svg", { xmlns: "
|
|
|
737
737
|
/* @__PURE__ */ c("div", { className: ne("textContainer"), children: [
|
|
738
738
|
/* @__PURE__ */ e("div", { className: g, children: r !== void 0 && r > 0 ? /* @__PURE__ */ e(Ie, { children: r === 6 ? /* @__PURE__ */ e("span", { className: ne("swissLodge"), children: w }) : /* @__PURE__ */ e(Ie, { children: m ? /* @__PURE__ */ c(Ie, { children: [
|
|
739
739
|
/* @__PURE__ */ c("div", { className: ne("starsContainer"), children: [
|
|
740
|
-
|
|
740
|
+
Yt(Math.floor(r), (W) => /* @__PURE__ */ e(qt, {}, W)),
|
|
741
741
|
i && /* @__PURE__ */ e("span", { className: ne("superiorBadge"), children: "(s)" })
|
|
742
742
|
] }),
|
|
743
743
|
/* @__PURE__ */ e("div", { children: E() })
|
|
744
744
|
] }) : /* @__PURE__ */ c(Ie, { children: [
|
|
745
|
-
/* @__PURE__ */ e("div", { className: ne("starsContainer"), children:
|
|
745
|
+
/* @__PURE__ */ e("div", { className: ne("starsContainer"), children: Yt(Math.floor(r), (W) => /* @__PURE__ */ e(qt, {}, W)) }),
|
|
746
746
|
i && /* @__PURE__ */ e("span", { className: ne("superiorBadge"), children: "(s)" }),
|
|
747
747
|
E()
|
|
748
748
|
] }) }) }) : /* @__PURE__ */ e("div", { className: ne("starsPlaceholder"), children: " " }) }),
|
|
749
749
|
n && /* @__PURE__ */ e("div", { className: M, children: n }),
|
|
750
|
-
s && /* @__PURE__ */ e("div", { className:
|
|
750
|
+
s && /* @__PURE__ */ e("div", { className: x, children: s })
|
|
751
751
|
] })
|
|
752
752
|
]
|
|
753
753
|
}
|
|
754
754
|
);
|
|
755
755
|
};
|
|
756
756
|
ai.displayName = "Card";
|
|
757
|
-
const si = 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="400" height="300" fill="%23e5e7eb"%3E%3Crect width="400" height="300" /%3E%3C/svg%3E',
|
|
757
|
+
const si = 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="400" height="300" fill="%23e5e7eb"%3E%3Crect width="400" height="300" /%3E%3C/svg%3E', xt = ({
|
|
758
758
|
children: t,
|
|
759
759
|
className: a = "",
|
|
760
760
|
onClick: n,
|
|
@@ -781,7 +781,7 @@ const si = 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="
|
|
|
781
781
|
children: t
|
|
782
782
|
}
|
|
783
783
|
);
|
|
784
|
-
},
|
|
784
|
+
}, vn = ({
|
|
785
785
|
src: t,
|
|
786
786
|
alt: a,
|
|
787
787
|
height: n,
|
|
@@ -800,26 +800,26 @@ const si = 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="
|
|
|
800
800
|
const [_, w] = $(t), [m, L] = $(!1), g = () => {
|
|
801
801
|
m || (L(!0), w(p));
|
|
802
802
|
};
|
|
803
|
-
|
|
803
|
+
Et.useEffect(() => {
|
|
804
804
|
w(t), L(!1);
|
|
805
805
|
}, [t]);
|
|
806
806
|
const M = [
|
|
807
807
|
"hc-base-card__image-container",
|
|
808
808
|
s ? "hc-base-card__image-container--ratio" : "hc-base-card__image-container--fixed",
|
|
809
809
|
f
|
|
810
|
-
].filter(Boolean).join(" "),
|
|
810
|
+
].filter(Boolean).join(" "), x = {
|
|
811
811
|
...u,
|
|
812
812
|
...n && { "--hc-base-card-image-height": typeof n == "number" ? `${n}px` : n },
|
|
813
813
|
...s && { "--hc-base-card-aspect-ratio": s },
|
|
814
814
|
...k && { borderRadius: k }
|
|
815
815
|
}, C = (E) => {
|
|
816
816
|
h && (E.stopPropagation(), h());
|
|
817
|
-
},
|
|
817
|
+
}, S = r && i;
|
|
818
818
|
return /* @__PURE__ */ c(
|
|
819
819
|
"div",
|
|
820
820
|
{
|
|
821
821
|
className: M,
|
|
822
|
-
style:
|
|
822
|
+
style: x,
|
|
823
823
|
onClick: h ? C : void 0,
|
|
824
824
|
children: [
|
|
825
825
|
/* @__PURE__ */ e(
|
|
@@ -834,18 +834,18 @@ const si = 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="
|
|
|
834
834
|
}
|
|
835
835
|
),
|
|
836
836
|
d && /* @__PURE__ */ e("div", { className: "hc-base-card__image-gradient" }),
|
|
837
|
-
|
|
837
|
+
S && /* @__PURE__ */ c("div", { className: "hc-base-card__overlay hc-base-card__overlay--top-row", children: [
|
|
838
838
|
/* @__PURE__ */ e("div", { children: r }),
|
|
839
839
|
/* @__PURE__ */ e("div", { children: i })
|
|
840
840
|
] }),
|
|
841
|
-
!
|
|
842
|
-
!
|
|
841
|
+
!S && r && /* @__PURE__ */ e("div", { className: "hc-base-card__overlay hc-base-card__overlay--top-left", children: r }),
|
|
842
|
+
!S && i && /* @__PURE__ */ e("div", { className: "hc-base-card__overlay hc-base-card__overlay--top-right", children: i }),
|
|
843
843
|
l && /* @__PURE__ */ e("div", { className: "hc-base-card__overlay hc-base-card__overlay--center", children: l }),
|
|
844
844
|
o && /* @__PURE__ */ e("div", { className: "hc-base-card__overlay hc-base-card__overlay--bottom", children: o })
|
|
845
845
|
]
|
|
846
846
|
}
|
|
847
847
|
);
|
|
848
|
-
},
|
|
848
|
+
}, Rt = ({
|
|
849
849
|
children: t,
|
|
850
850
|
padding: a = "large",
|
|
851
851
|
className: n = "",
|
|
@@ -870,10 +870,10 @@ const si = 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="
|
|
|
870
870
|
}
|
|
871
871
|
);
|
|
872
872
|
};
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
const
|
|
873
|
+
xt.displayName = "BaseCard";
|
|
874
|
+
vn.displayName = "BaseCardImage";
|
|
875
|
+
Rt.displayName = "BaseCardContent";
|
|
876
|
+
const St = ({
|
|
877
877
|
children: t,
|
|
878
878
|
imageHeight: a,
|
|
879
879
|
imageAspectRatio: n,
|
|
@@ -891,7 +891,7 @@ const Lt = ({
|
|
|
891
891
|
/* @__PURE__ */ e("div", { className: "hc-base-card-skeleton__content", children: t })
|
|
892
892
|
] });
|
|
893
893
|
};
|
|
894
|
-
|
|
894
|
+
St.displayName = "BaseCardSkeleton";
|
|
895
895
|
const $e = (t) => `hc-dropdown-${t}`, ri = () => /* @__PURE__ */ e("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", children: /* @__PURE__ */ e(
|
|
896
896
|
"path",
|
|
897
897
|
{
|
|
@@ -914,7 +914,7 @@ const $e = (t) => `hc-dropdown-${t}`, ri = () => /* @__PURE__ */ e("svg", { widt
|
|
|
914
914
|
placeholder: h = "Select..."
|
|
915
915
|
}) => {
|
|
916
916
|
var D;
|
|
917
|
-
const [u, f] = $(s || ""), [p, k] = $(!1), [_, w] = $(!1), m =
|
|
917
|
+
const [u, f] = $(s || ""), [p, k] = $(!1), [_, w] = $(!1), m = me(null), L = r !== void 0 ? r : u, g = ((D = t.find((v) => v.value === L)) == null ? void 0 : D.label) || h;
|
|
918
918
|
ee(() => {
|
|
919
919
|
const v = (Y) => {
|
|
920
920
|
m.current && !m.current.contains(Y.target) && k(!1);
|
|
@@ -923,13 +923,13 @@ const $e = (t) => `hc-dropdown-${t}`, ri = () => /* @__PURE__ */ e("svg", { widt
|
|
|
923
923
|
}, []);
|
|
924
924
|
const M = (v) => {
|
|
925
925
|
r === void 0 && f(v), i == null || i(v), k(!1);
|
|
926
|
-
},
|
|
926
|
+
}, x = (v) => {
|
|
927
927
|
a || (v.key === "Enter" || v.key === " " ? (v.preventDefault(), k(!p)) : v.key === "Escape" && k(!1));
|
|
928
928
|
}, C = [
|
|
929
929
|
$e("container"),
|
|
930
930
|
a && $e("container--disabled"),
|
|
931
931
|
o
|
|
932
|
-
].filter(Boolean).join(" "),
|
|
932
|
+
].filter(Boolean).join(" "), S = [
|
|
933
933
|
$e("button"),
|
|
934
934
|
n && $e("button--error"),
|
|
935
935
|
_ && !n && $e("button--focus"),
|
|
@@ -946,10 +946,10 @@ const $e = (t) => `hc-dropdown-${t}`, ri = () => /* @__PURE__ */ e("svg", { widt
|
|
|
946
946
|
/* @__PURE__ */ c(
|
|
947
947
|
"div",
|
|
948
948
|
{
|
|
949
|
-
className:
|
|
949
|
+
className: S,
|
|
950
950
|
tabIndex: a ? -1 : 0,
|
|
951
951
|
onClick: () => !a && k(!p),
|
|
952
|
-
onKeyDown:
|
|
952
|
+
onKeyDown: x,
|
|
953
953
|
onFocus: () => !a && w(!0),
|
|
954
954
|
onBlur: () => w(!1),
|
|
955
955
|
role: "combobox",
|
|
@@ -991,7 +991,7 @@ const $e = (t) => `hc-dropdown-${t}`, ri = () => /* @__PURE__ */ e("svg", { widt
|
|
|
991
991
|
] });
|
|
992
992
|
};
|
|
993
993
|
ii.displayName = "Dropdown";
|
|
994
|
-
const
|
|
994
|
+
const nt = (t) => `hc-input-${t}`, oi = ({
|
|
995
995
|
value: t,
|
|
996
996
|
onChange: a,
|
|
997
997
|
onFocus: n,
|
|
@@ -1012,23 +1012,23 @@ const tt = (t) => `hc-input-${t}`, oi = ({
|
|
|
1012
1012
|
autoFocus: L = !1,
|
|
1013
1013
|
readOnly: g = !1,
|
|
1014
1014
|
uniqueId: M,
|
|
1015
|
-
inputProps:
|
|
1015
|
+
inputProps: x
|
|
1016
1016
|
}) => {
|
|
1017
|
-
const [C,
|
|
1017
|
+
const [C, S] = $(!1), E = me(null), W = (H) => {
|
|
1018
1018
|
a(H.target.value);
|
|
1019
1019
|
}, D = () => {
|
|
1020
|
-
|
|
1020
|
+
S(!0), n == null || n();
|
|
1021
1021
|
}, v = () => {
|
|
1022
|
-
|
|
1022
|
+
S(!1), s == null || s();
|
|
1023
1023
|
}, Y = [
|
|
1024
|
-
|
|
1025
|
-
C &&
|
|
1026
|
-
o &&
|
|
1027
|
-
(l || g) &&
|
|
1024
|
+
nt("wrapper"),
|
|
1025
|
+
C && nt("wrapper--focus"),
|
|
1026
|
+
o && nt("wrapper--error"),
|
|
1027
|
+
(l || g) && nt("wrapper--disabled"),
|
|
1028
1028
|
p
|
|
1029
1029
|
].filter(Boolean).join(" "), y = [
|
|
1030
|
-
|
|
1031
|
-
(l || g) &&
|
|
1030
|
+
nt("input"),
|
|
1031
|
+
(l || g) && nt("input--disabled"),
|
|
1032
1032
|
f
|
|
1033
1033
|
].filter(Boolean).join(" ");
|
|
1034
1034
|
return /* @__PURE__ */ c(
|
|
@@ -1040,8 +1040,8 @@ const tt = (t) => `hc-input-${t}`, oi = ({
|
|
|
1040
1040
|
return !l && ((H = E.current) == null ? void 0 : H.focus());
|
|
1041
1041
|
},
|
|
1042
1042
|
children: [
|
|
1043
|
-
d && /* @__PURE__ */ e("div", { className:
|
|
1044
|
-
u && /* @__PURE__ */ e("div", { className:
|
|
1043
|
+
d && /* @__PURE__ */ e("div", { className: nt("icon"), children: d }),
|
|
1044
|
+
u && /* @__PURE__ */ e("div", { className: nt("prefix"), children: u }),
|
|
1045
1045
|
/* @__PURE__ */ e(
|
|
1046
1046
|
"input",
|
|
1047
1047
|
{
|
|
@@ -1060,7 +1060,7 @@ const tt = (t) => `hc-input-${t}`, oi = ({
|
|
|
1060
1060
|
autoFocus: L,
|
|
1061
1061
|
readOnly: g,
|
|
1062
1062
|
className: y,
|
|
1063
|
-
...
|
|
1063
|
+
...x
|
|
1064
1064
|
}
|
|
1065
1065
|
),
|
|
1066
1066
|
h && h
|
|
@@ -1087,21 +1087,21 @@ const tt = (t) => `hc-input-${t}`, oi = ({
|
|
|
1087
1087
|
readOnly: m = !1,
|
|
1088
1088
|
uniqueId: L
|
|
1089
1089
|
}) => {
|
|
1090
|
-
const [g, M] = $(!1), [
|
|
1091
|
-
a(
|
|
1090
|
+
const [g, M] = $(!1), [x, C] = $(!1), S = me(null), E = me(null), W = (U) => {
|
|
1091
|
+
a(U.target.value);
|
|
1092
1092
|
}, D = () => {
|
|
1093
1093
|
M(!0), i == null || i();
|
|
1094
1094
|
}, v = () => {
|
|
1095
1095
|
M(!1), o == null || o();
|
|
1096
|
-
}, Y = (
|
|
1097
|
-
s(
|
|
1096
|
+
}, Y = (U) => {
|
|
1097
|
+
s(U.target.value);
|
|
1098
1098
|
}, y = () => {
|
|
1099
1099
|
C(!0);
|
|
1100
1100
|
}, H = () => {
|
|
1101
1101
|
C(!1), r == null || r();
|
|
1102
1102
|
}, P = [
|
|
1103
1103
|
Me("phone-prefix-wrapper"),
|
|
1104
|
-
|
|
1104
|
+
x && Me("phone-prefix-wrapper--focus"),
|
|
1105
1105
|
d && Me("phone-prefix-wrapper--error"),
|
|
1106
1106
|
h && Me("phone-prefix-wrapper--disabled")
|
|
1107
1107
|
].filter(Boolean).join(" "), A = [
|
|
@@ -1124,8 +1124,8 @@ const tt = (t) => `hc-input-${t}`, oi = ({
|
|
|
1124
1124
|
{
|
|
1125
1125
|
className: P,
|
|
1126
1126
|
onClick: () => {
|
|
1127
|
-
var
|
|
1128
|
-
return !h && ((
|
|
1127
|
+
var U;
|
|
1128
|
+
return !h && ((U = E.current) == null ? void 0 : U.focus());
|
|
1129
1129
|
},
|
|
1130
1130
|
children: /* @__PURE__ */ e(
|
|
1131
1131
|
"input",
|
|
@@ -1149,13 +1149,13 @@ const tt = (t) => `hc-input-${t}`, oi = ({
|
|
|
1149
1149
|
{
|
|
1150
1150
|
className: B,
|
|
1151
1151
|
onClick: () => {
|
|
1152
|
-
var
|
|
1153
|
-
return !h && ((
|
|
1152
|
+
var U;
|
|
1153
|
+
return !h && ((U = S.current) == null ? void 0 : U.focus());
|
|
1154
1154
|
},
|
|
1155
1155
|
children: /* @__PURE__ */ e(
|
|
1156
1156
|
"input",
|
|
1157
1157
|
{
|
|
1158
|
-
ref:
|
|
1158
|
+
ref: S,
|
|
1159
1159
|
type: "tel",
|
|
1160
1160
|
id: p,
|
|
1161
1161
|
name: f,
|
|
@@ -1194,43 +1194,43 @@ const tt = (t) => `hc-input-${t}`, oi = ({
|
|
|
1194
1194
|
autoFocus: w = !1,
|
|
1195
1195
|
uniqueId: m
|
|
1196
1196
|
}) => {
|
|
1197
|
-
const [L, g] = $(!1), [M,
|
|
1197
|
+
const [L, g] = $(!1), [M, x] = $(!1), [C, S] = $(""), [E, W] = $(null), [D, v] = $(""), Y = me(null), y = me(null);
|
|
1198
1198
|
t && t.length > 0;
|
|
1199
1199
|
const H = r !== void 0 ? r : M, P = () => {
|
|
1200
1200
|
g(!0), o == null || o();
|
|
1201
1201
|
}, A = () => {
|
|
1202
1202
|
g(!1), l == null || l(), setTimeout(() => {
|
|
1203
|
-
r === void 0 &&
|
|
1203
|
+
r === void 0 && x(!1), i == null || i(!1);
|
|
1204
1204
|
}, 200);
|
|
1205
1205
|
}, B = () => {
|
|
1206
1206
|
var Z;
|
|
1207
1207
|
if (!u) {
|
|
1208
1208
|
const j = !H;
|
|
1209
|
-
r === void 0 &&
|
|
1209
|
+
r === void 0 && x(j), i == null || i(j), j && ((Z = Y.current) == null || Z.focus(), v(""));
|
|
1210
1210
|
}
|
|
1211
1211
|
}, R = (Z) => {
|
|
1212
1212
|
const j = Z.target.value;
|
|
1213
|
-
v(j), !H && j && (r === void 0 &&
|
|
1214
|
-
},
|
|
1215
|
-
a(Z.value),
|
|
1213
|
+
v(j), !H && j && (r === void 0 && x(!0), i == null || i(!0));
|
|
1214
|
+
}, U = (Z) => {
|
|
1215
|
+
a(Z.value), S(Z.label), W(Z.icon || null), v(""), s == null || s(Z.value), r === void 0 && x(!1), i == null || i(!1);
|
|
1216
1216
|
};
|
|
1217
1217
|
ee(() => {
|
|
1218
1218
|
if (t && n.length > 0) {
|
|
1219
1219
|
const Z = n.find((j) => j.value === t);
|
|
1220
|
-
Z && (
|
|
1220
|
+
Z && (S(Z.label), W(Z.icon || null));
|
|
1221
1221
|
}
|
|
1222
1222
|
}, [t, n]), ee(() => {
|
|
1223
1223
|
if (H) {
|
|
1224
1224
|
const Z = (j) => {
|
|
1225
1225
|
const se = j.target;
|
|
1226
|
-
y.current && !y.current.contains(se) && (r === void 0 &&
|
|
1226
|
+
y.current && !y.current.contains(se) && (r === void 0 && x(!1), i == null || i(!1));
|
|
1227
1227
|
};
|
|
1228
1228
|
return document.addEventListener("mousedown", Z), () => {
|
|
1229
1229
|
document.removeEventListener("mousedown", Z);
|
|
1230
1230
|
};
|
|
1231
1231
|
}
|
|
1232
1232
|
}, [H, r, i]);
|
|
1233
|
-
const
|
|
1233
|
+
const K = [
|
|
1234
1234
|
be("wrapper"),
|
|
1235
1235
|
be("wrapper--dropdown"),
|
|
1236
1236
|
L && be("wrapper--focus"),
|
|
@@ -1251,7 +1251,7 @@ const tt = (t) => `hc-input-${t}`, oi = ({
|
|
|
1251
1251
|
/* @__PURE__ */ c(
|
|
1252
1252
|
"div",
|
|
1253
1253
|
{
|
|
1254
|
-
className:
|
|
1254
|
+
className: K,
|
|
1255
1255
|
onClick: B,
|
|
1256
1256
|
children: [
|
|
1257
1257
|
E && /* @__PURE__ */ e("div", { className: be("icon"), children: E }),
|
|
@@ -1292,7 +1292,7 @@ const tt = (t) => `hc-input-${t}`, oi = ({
|
|
|
1292
1292
|
"div",
|
|
1293
1293
|
{
|
|
1294
1294
|
className: be("dropdown-item"),
|
|
1295
|
-
onClick: () =>
|
|
1295
|
+
onClick: () => U(Z),
|
|
1296
1296
|
children: [
|
|
1297
1297
|
Z.icon && /* @__PURE__ */ e("div", { className: be("icon"), children: Z.icon }),
|
|
1298
1298
|
/* @__PURE__ */ e("span", { className: be("dropdown-item-text"), children: Z.label })
|
|
@@ -1301,7 +1301,7 @@ const tt = (t) => `hc-input-${t}`, oi = ({
|
|
|
1301
1301
|
Z.value
|
|
1302
1302
|
)) })
|
|
1303
1303
|
] });
|
|
1304
|
-
},
|
|
1304
|
+
}, ht = (t) => `hc-input-${t}`;
|
|
1305
1305
|
let di = 0;
|
|
1306
1306
|
const hi = ({
|
|
1307
1307
|
label: t,
|
|
@@ -1324,9 +1324,9 @@ const hi = ({
|
|
|
1324
1324
|
id: L,
|
|
1325
1325
|
required: g = !1,
|
|
1326
1326
|
autoComplete: M,
|
|
1327
|
-
autoFocus:
|
|
1327
|
+
autoFocus: x = !1,
|
|
1328
1328
|
readOnly: C = !1,
|
|
1329
|
-
variant:
|
|
1329
|
+
variant: S = "default",
|
|
1330
1330
|
phonePrefix: E,
|
|
1331
1331
|
onPhonePrefixChange: W,
|
|
1332
1332
|
onPhonePrefixBlur: D,
|
|
@@ -1337,21 +1337,21 @@ const hi = ({
|
|
|
1337
1337
|
wrapperClassName: P,
|
|
1338
1338
|
inputProps: A
|
|
1339
1339
|
}) => {
|
|
1340
|
-
const [B, R] = $(r || ""), [
|
|
1340
|
+
const [B, R] = $(r || ""), [U, K] = $(E || "+000"), [ae] = $(() => `input-${++di}`), q = s !== void 0 ? s : B, te = E !== void 0 ? E : U, Z = (X) => {
|
|
1341
1341
|
s === void 0 && R(X), i == null || i(X);
|
|
1342
1342
|
}, j = (X) => {
|
|
1343
|
-
E === void 0 &&
|
|
1344
|
-
}, se = [
|
|
1345
|
-
|
|
1346
|
-
(u || C) &&
|
|
1343
|
+
E === void 0 && K(X), W == null || W(X);
|
|
1344
|
+
}, se = [ht("container"), _].filter(Boolean).join(" "), N = [
|
|
1345
|
+
ht("label"),
|
|
1346
|
+
(u || C) && ht("label--disabled")
|
|
1347
1347
|
].filter(Boolean).join(" "), V = [
|
|
1348
|
-
|
|
1349
|
-
h &&
|
|
1350
|
-
(u || C) &&
|
|
1348
|
+
ht("helper"),
|
|
1349
|
+
h && ht("helper--error"),
|
|
1350
|
+
(u || C) && ht("helper--disabled")
|
|
1351
1351
|
].filter(Boolean).join(" ");
|
|
1352
1352
|
return /* @__PURE__ */ c("div", { className: se, children: [
|
|
1353
1353
|
t && /* @__PURE__ */ e("label", { htmlFor: L, className: N, children: t }),
|
|
1354
|
-
|
|
1354
|
+
S === "phone" ? /* @__PURE__ */ e(
|
|
1355
1355
|
ci,
|
|
1356
1356
|
{
|
|
1357
1357
|
value: q,
|
|
@@ -1369,11 +1369,11 @@ const hi = ({
|
|
|
1369
1369
|
id: L,
|
|
1370
1370
|
required: g,
|
|
1371
1371
|
autoComplete: M,
|
|
1372
|
-
autoFocus:
|
|
1372
|
+
autoFocus: x,
|
|
1373
1373
|
readOnly: C,
|
|
1374
1374
|
uniqueId: ae
|
|
1375
1375
|
}
|
|
1376
|
-
) :
|
|
1376
|
+
) : S === "dropdown" ? /* @__PURE__ */ e(
|
|
1377
1377
|
li,
|
|
1378
1378
|
{
|
|
1379
1379
|
value: q,
|
|
@@ -1391,7 +1391,7 @@ const hi = ({
|
|
|
1391
1391
|
name: m,
|
|
1392
1392
|
id: L,
|
|
1393
1393
|
required: g,
|
|
1394
|
-
autoFocus:
|
|
1394
|
+
autoFocus: x,
|
|
1395
1395
|
uniqueId: ae
|
|
1396
1396
|
}
|
|
1397
1397
|
) : /* @__PURE__ */ e(
|
|
@@ -1414,7 +1414,7 @@ const hi = ({
|
|
|
1414
1414
|
id: L,
|
|
1415
1415
|
required: g,
|
|
1416
1416
|
autoComplete: M,
|
|
1417
|
-
autoFocus:
|
|
1417
|
+
autoFocus: x,
|
|
1418
1418
|
readOnly: C,
|
|
1419
1419
|
uniqueId: ae,
|
|
1420
1420
|
inputProps: A
|
|
@@ -1424,7 +1424,7 @@ const hi = ({
|
|
|
1424
1424
|
] });
|
|
1425
1425
|
};
|
|
1426
1426
|
hi.displayName = "Input";
|
|
1427
|
-
const
|
|
1427
|
+
const Se = (t) => `hc-block-${t}`, ui = ({
|
|
1428
1428
|
variant: t = "icon",
|
|
1429
1429
|
visual: a,
|
|
1430
1430
|
label: n,
|
|
@@ -1436,10 +1436,10 @@ const xe = (t) => `hc-block-${t}`, ui = ({
|
|
|
1436
1436
|
}) => {
|
|
1437
1437
|
if (t === "icon") {
|
|
1438
1438
|
const h = [
|
|
1439
|
-
|
|
1440
|
-
i &&
|
|
1439
|
+
Se("icon"),
|
|
1440
|
+
i && Se("icon--clickable"),
|
|
1441
1441
|
l
|
|
1442
|
-
].filter(Boolean).join(" "), u =
|
|
1442
|
+
].filter(Boolean).join(" "), u = Se(r === "primary" ? "icon-container--primary" : "icon-container--secondary");
|
|
1443
1443
|
return /* @__PURE__ */ c(
|
|
1444
1444
|
"div",
|
|
1445
1445
|
{
|
|
@@ -1449,17 +1449,17 @@ const xe = (t) => `hc-block-${t}`, ui = ({
|
|
|
1449
1449
|
tabIndex: i ? 0 : void 0,
|
|
1450
1450
|
children: [
|
|
1451
1451
|
/* @__PURE__ */ e("div", { className: u, children: a }),
|
|
1452
|
-
/* @__PURE__ */ c("div", { className:
|
|
1453
|
-
/* @__PURE__ */ e("div", { className:
|
|
1454
|
-
s && /* @__PURE__ */ e("div", { className:
|
|
1452
|
+
/* @__PURE__ */ c("div", { className: Se("text-container"), children: [
|
|
1453
|
+
/* @__PURE__ */ e("div", { className: Se("icon-label"), children: n }),
|
|
1454
|
+
s && /* @__PURE__ */ e("div", { className: Se("icon-description"), children: s })
|
|
1455
1455
|
] })
|
|
1456
1456
|
]
|
|
1457
1457
|
}
|
|
1458
1458
|
);
|
|
1459
1459
|
}
|
|
1460
1460
|
const d = [
|
|
1461
|
-
|
|
1462
|
-
i &&
|
|
1461
|
+
Se("image"),
|
|
1462
|
+
i && Se("image--clickable"),
|
|
1463
1463
|
l
|
|
1464
1464
|
].filter(Boolean).join(" ");
|
|
1465
1465
|
return /* @__PURE__ */ c(
|
|
@@ -1470,31 +1470,31 @@ const xe = (t) => `hc-block-${t}`, ui = ({
|
|
|
1470
1470
|
role: i ? "button" : void 0,
|
|
1471
1471
|
tabIndex: i ? 0 : void 0,
|
|
1472
1472
|
children: [
|
|
1473
|
-
/* @__PURE__ */ e("div", { className:
|
|
1474
|
-
/* @__PURE__ */ c("div", { className:
|
|
1475
|
-
/* @__PURE__ */ e("span", { className:
|
|
1476
|
-
o && /* @__PURE__ */ e("span", { className:
|
|
1473
|
+
/* @__PURE__ */ e("div", { className: Se("image-container"), children: a }),
|
|
1474
|
+
/* @__PURE__ */ c("div", { className: Se("footer"), children: [
|
|
1475
|
+
/* @__PURE__ */ e("span", { className: Se("image-label"), children: n }),
|
|
1476
|
+
o && /* @__PURE__ */ e("span", { className: Se("arrow"), children: "→" })
|
|
1477
1477
|
] })
|
|
1478
1478
|
]
|
|
1479
1479
|
}
|
|
1480
1480
|
);
|
|
1481
1481
|
};
|
|
1482
1482
|
ui.displayName = "Block";
|
|
1483
|
-
const
|
|
1483
|
+
const ut = (t) => `hc-review-${t}`, mi = ({
|
|
1484
1484
|
name: t,
|
|
1485
1485
|
date: a,
|
|
1486
1486
|
rating: n,
|
|
1487
1487
|
quote: s,
|
|
1488
1488
|
className: r
|
|
1489
1489
|
}) => {
|
|
1490
|
-
const i = [
|
|
1490
|
+
const i = [ut("container"), r].filter(Boolean).join(" ");
|
|
1491
1491
|
return /* @__PURE__ */ c("div", { className: i, children: [
|
|
1492
|
-
/* @__PURE__ */ e("div", { className:
|
|
1493
|
-
/* @__PURE__ */ c("div", { className:
|
|
1494
|
-
/* @__PURE__ */ e("div", { className:
|
|
1495
|
-
/* @__PURE__ */ e("div", { className:
|
|
1492
|
+
/* @__PURE__ */ e("div", { className: ut("name"), children: t }),
|
|
1493
|
+
/* @__PURE__ */ c("div", { className: ut("frame"), children: [
|
|
1494
|
+
/* @__PURE__ */ e("div", { className: ut("stars"), children: /* @__PURE__ */ e(wn, { variant: "stars", value: n, size: "medium" }) }),
|
|
1495
|
+
/* @__PURE__ */ e("div", { className: ut("quote"), children: s })
|
|
1496
1496
|
] }),
|
|
1497
|
-
/* @__PURE__ */ e("div", { className:
|
|
1497
|
+
/* @__PURE__ */ e("div", { className: ut("date"), children: a })
|
|
1498
1498
|
] });
|
|
1499
1499
|
};
|
|
1500
1500
|
mi.displayName = "ReviewCard";
|
|
@@ -1542,7 +1542,7 @@ const Fe = (t) => `hc-faq-${t}`, fi = ({ isOpen: t }) => {
|
|
|
1542
1542
|
const u = r.has(h), f = Fe(u ? "answer--open" : "answer");
|
|
1543
1543
|
return /* @__PURE__ */ c("div", { className: Fe("item"), children: [
|
|
1544
1544
|
/* @__PURE__ */ e(
|
|
1545
|
-
|
|
1545
|
+
ke,
|
|
1546
1546
|
{
|
|
1547
1547
|
variant: "link",
|
|
1548
1548
|
size: "medium",
|
|
@@ -1559,7 +1559,7 @@ const Fe = (t) => `hc-faq-${t}`, fi = ({ isOpen: t }) => {
|
|
|
1559
1559
|
}) });
|
|
1560
1560
|
};
|
|
1561
1561
|
pi.displayName = "FAQ";
|
|
1562
|
-
const
|
|
1562
|
+
const He = (t) => `hc-benefits-${t}`, gi = ({
|
|
1563
1563
|
title: t = "Ihre Vorteile mit HotelCard",
|
|
1564
1564
|
subtitle: a = "Mit HotelCard sparen Sie bei jedem Aufenthalt",
|
|
1565
1565
|
benefits: n = [
|
|
@@ -1586,26 +1586,26 @@ const Se = (t) => `hc-benefits-${t}`, gi = ({
|
|
|
1586
1586
|
onContactClick: o,
|
|
1587
1587
|
className: l
|
|
1588
1588
|
}) => {
|
|
1589
|
-
const d = [
|
|
1590
|
-
return /* @__PURE__ */ e("section", { className: d, children: /* @__PURE__ */ c("div", { className:
|
|
1591
|
-
/* @__PURE__ */ c("div", { className:
|
|
1592
|
-
/* @__PURE__ */ e("h2", { className:
|
|
1593
|
-
a && /* @__PURE__ */ e("p", { className:
|
|
1589
|
+
const d = [He("section"), l].filter(Boolean).join(" ");
|
|
1590
|
+
return /* @__PURE__ */ e("section", { className: d, children: /* @__PURE__ */ c("div", { className: He("container"), children: [
|
|
1591
|
+
/* @__PURE__ */ c("div", { className: He("header"), children: [
|
|
1592
|
+
/* @__PURE__ */ e("h2", { className: He("title"), children: t }),
|
|
1593
|
+
a && /* @__PURE__ */ e("p", { className: He("subtitle"), children: a })
|
|
1594
1594
|
] }),
|
|
1595
|
-
/* @__PURE__ */ e("div", { className:
|
|
1596
|
-
/* @__PURE__ */ e("h3", { className:
|
|
1597
|
-
h.description && /* @__PURE__ */ e("p", { className:
|
|
1595
|
+
/* @__PURE__ */ e("div", { className: He("grid"), children: n.map((h, u) => /* @__PURE__ */ c("div", { className: He("item"), children: [
|
|
1596
|
+
/* @__PURE__ */ e("h3", { className: He("item-title"), children: h.title }),
|
|
1597
|
+
h.description && /* @__PURE__ */ e("p", { className: He("item-description"), children: h.description })
|
|
1598
1598
|
] }, u)) }),
|
|
1599
|
-
s && /* @__PURE__ */ c("div", { className:
|
|
1600
|
-
/* @__PURE__ */ e("h3", { className:
|
|
1601
|
-
r && /* @__PURE__ */ e("p", { className:
|
|
1599
|
+
s && /* @__PURE__ */ c("div", { className: He("contact-card"), children: [
|
|
1600
|
+
/* @__PURE__ */ e("h3", { className: He("contact-title"), children: s }),
|
|
1601
|
+
r && /* @__PURE__ */ e("p", { className: He("contact-description"), children: r }),
|
|
1602
1602
|
i && /* @__PURE__ */ e(
|
|
1603
|
-
|
|
1603
|
+
ke,
|
|
1604
1604
|
{
|
|
1605
1605
|
variant: "secondary",
|
|
1606
1606
|
size: "medium",
|
|
1607
1607
|
onClick: o,
|
|
1608
|
-
className:
|
|
1608
|
+
className: He("contact-btn"),
|
|
1609
1609
|
children: i
|
|
1610
1610
|
}
|
|
1611
1611
|
)
|
|
@@ -1635,7 +1635,7 @@ const Te = (t) => `hc-pin-${t}`, _i = ({ className: t }) => /* @__PURE__ */ e(
|
|
|
1635
1635
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1636
1636
|
children: /* @__PURE__ */ e("path", { d: "M6.66667 13.3333V9.33333H9.33333V13.3333H12.6667V8H14.6667L8 2L1.33333 8H3.33333V13.3333H6.66667Z" })
|
|
1637
1637
|
}
|
|
1638
|
-
), vi =
|
|
1638
|
+
), vi = fn(
|
|
1639
1639
|
({
|
|
1640
1640
|
variant: t = "price",
|
|
1641
1641
|
viewed: a = !1,
|
|
@@ -1684,7 +1684,7 @@ const bi = ({
|
|
|
1684
1684
|
/* @__PURE__ */ e("h2", { className: "hc-empty-state__title", children: a }),
|
|
1685
1685
|
/* @__PURE__ */ e("p", { className: "hc-empty-state__description", children: n }),
|
|
1686
1686
|
s && /* @__PURE__ */ e("div", { className: "hc-empty-state__action", children: /* @__PURE__ */ e(
|
|
1687
|
-
|
|
1687
|
+
ke,
|
|
1688
1688
|
{
|
|
1689
1689
|
variant: s.variant || "secondary",
|
|
1690
1690
|
size: "medium",
|
|
@@ -1700,7 +1700,7 @@ const Ou = (t, a) => {
|
|
|
1700
1700
|
const r = setTimeout(() => s(t), a);
|
|
1701
1701
|
return () => clearTimeout(r);
|
|
1702
1702
|
}, [t, a]), n;
|
|
1703
|
-
},
|
|
1703
|
+
}, bt = () => {
|
|
1704
1704
|
const [t, a] = $(
|
|
1705
1705
|
typeof window < "u" ? window.innerWidth : 1024
|
|
1706
1706
|
);
|
|
@@ -1712,8 +1712,8 @@ const Ou = (t, a) => {
|
|
|
1712
1712
|
}, []), {
|
|
1713
1713
|
isDesktop: t >= 1024
|
|
1714
1714
|
};
|
|
1715
|
-
},
|
|
1716
|
-
const { locale: t, currency: a } =
|
|
1715
|
+
}, Vt = () => {
|
|
1716
|
+
const { locale: t, currency: a } = de();
|
|
1717
1717
|
return { locale: t, currency: a };
|
|
1718
1718
|
}, Fu = (t) => {
|
|
1719
1719
|
const { t: a, i18n: n } = jn(t);
|
|
@@ -1723,7 +1723,7 @@ const Ou = (t, a) => {
|
|
|
1723
1723
|
const h = a(r, l ?? {}), u = String(h);
|
|
1724
1724
|
return u === r && d !== void 0 ? d : u;
|
|
1725
1725
|
}, i18n: n };
|
|
1726
|
-
}, Ci = "_container_fbu27_1", yi = "_button_fbu27_7", ki = "_icon_fbu27_40", Ni = "_label_fbu27_46", $i = "_backdrop_fbu27_56", Mi = "_dropdown_fbu27_83", Li = "_dropdownMobile_fbu27_376",
|
|
1726
|
+
}, Ci = "_container_fbu27_1", yi = "_button_fbu27_7", ki = "_icon_fbu27_40", Ni = "_label_fbu27_46", $i = "_backdrop_fbu27_56", Mi = "_dropdown_fbu27_83", Li = "_dropdownMobile_fbu27_376", Ke = {
|
|
1727
1727
|
container: Ci,
|
|
1728
1728
|
button: yi,
|
|
1729
1729
|
"button--disabled": "_button--disabled_fbu27_25",
|
|
@@ -1733,7 +1733,7 @@ const Ou = (t, a) => {
|
|
|
1733
1733
|
dropdown: Mi,
|
|
1734
1734
|
"dropdown--open": "_dropdown--open_fbu27_102",
|
|
1735
1735
|
dropdownMobile: Li
|
|
1736
|
-
}, xi = "_container_7i6mi_13", Si = "_containerDropdown_7i6mi_22", Hi = "_containerExpanded_7i6mi_27", Bi = "_sectionTitle_7i6mi_40", Di = "_header_7i6mi_56", Ii = "_tabs_7i6mi_77", Pi = "_tab_7i6mi_77", Ai = "_tabActive_7i6mi_108", Wi = "_applyButtonContainer_7i6mi_121", Ti = "_content_7i6mi_130", Ei = "_flexibleContent_7i6mi_153", zi = "_contentHeading_7i6mi_169", Ri = "_monthGrid_7i6mi_184", Vi = "_monthGridMobile_7i6mi_193", ji = "_monthButton_7i6mi_202", Zi = "_monthButtonDisabled_7i6mi_219", Oi = "_monthButtonSelected_7i6mi_224", Fi = "_monthLabel_7i6mi_254", qi = "_monthYear_7i6mi_264", Yi = "_anytimeButton_7i6mi_285", Gi = "_datesContent_7i6mi_297",
|
|
1736
|
+
}, xi = "_container_7i6mi_13", Si = "_containerDropdown_7i6mi_22", Hi = "_containerExpanded_7i6mi_27", Bi = "_sectionTitle_7i6mi_40", Di = "_header_7i6mi_56", Ii = "_tabs_7i6mi_77", Pi = "_tab_7i6mi_77", Ai = "_tabActive_7i6mi_108", Wi = "_applyButtonContainer_7i6mi_121", Ti = "_content_7i6mi_130", Ei = "_flexibleContent_7i6mi_153", zi = "_contentHeading_7i6mi_169", Ri = "_monthGrid_7i6mi_184", Vi = "_monthGridMobile_7i6mi_193", ji = "_monthButton_7i6mi_202", Zi = "_monthButtonDisabled_7i6mi_219", Oi = "_monthButtonSelected_7i6mi_224", Fi = "_monthLabel_7i6mi_254", qi = "_monthYear_7i6mi_264", Yi = "_anytimeButton_7i6mi_285", Gi = "_datesContent_7i6mi_297", Ki = "_contentDatesActive_7i6mi_301", ce = {
|
|
1737
1737
|
container: xi,
|
|
1738
1738
|
containerDropdown: Si,
|
|
1739
1739
|
containerExpanded: Hi,
|
|
@@ -1755,9 +1755,9 @@ const Ou = (t, a) => {
|
|
|
1755
1755
|
monthYear: qi,
|
|
1756
1756
|
anytimeButton: Yi,
|
|
1757
1757
|
datesContent: Gi,
|
|
1758
|
-
contentDatesActive:
|
|
1759
|
-
},
|
|
1760
|
-
container:
|
|
1758
|
+
contentDatesActive: Ki
|
|
1759
|
+
}, Ji = "_container_1sjwb_1", Ui = "_navigation_1sjwb_5", Xi = "_navButton_1sjwb_12", Qi = "_prevIconButton_1sjwb_30", eo = "_nextIconButton_1sjwb_31", to = "_positionAbs_1sjwb_32", no = "_monthTitle_1sjwb_60", ao = "_desktopLayout_1sjwb_74", so = "_calendarsContainer_1sjwb_81", ro = "_calendar_1sjwb_81", io = "_weekDaysRow_1sjwb_103", oo = "_weekDay_1sjwb_103", co = "_weekDayWeekend_1sjwb_122", lo = "_daysGrid_1sjwb_126", ho = "_dayCell_1sjwb_131", uo = "_dayButton_1sjwb_138", mo = "_containerMobile_1sjwb_246", fo = "_calendarsContainerMobile_1sjwb_250", po = "_monthTitleMobile_1sjwb_255", go = "_navButtonDisabled_1sjwb_267", G = {
|
|
1760
|
+
container: Ji,
|
|
1761
1761
|
navigation: Ui,
|
|
1762
1762
|
navButton: Xi,
|
|
1763
1763
|
prevIconButton: Qi,
|
|
@@ -1788,28 +1788,28 @@ const Ou = (t, a) => {
|
|
|
1788
1788
|
minDate: s,
|
|
1789
1789
|
locale: r = "de-CH"
|
|
1790
1790
|
}) => {
|
|
1791
|
-
const { isDesktop: i } =
|
|
1791
|
+
const { isDesktop: i } = bt(), [o, l] = $(/* @__PURE__ */ new Date()), d = (B) => t === B, h = (B) => a === B, u = (B) => !t || !a ? !1 : B > t && B < a, f = (B) => new Date(B.getFullYear(), B.getMonth() + 1, 0), p = (B) => new Date(B.getFullYear(), B.getMonth() + 1, 0).getDate(), k = (B) => {
|
|
1792
1792
|
const R = new Date(B.getFullYear(), B.getMonth(), 1).getDay();
|
|
1793
1793
|
return R === 0 ? 6 : R - 1;
|
|
1794
1794
|
}, _ = (B) => B.toLocaleDateString(r, { month: "long", year: "numeric" }), m = (() => {
|
|
1795
1795
|
const B = [], R = new Date(2020, 0, 6);
|
|
1796
|
-
for (let
|
|
1797
|
-
const
|
|
1798
|
-
|
|
1796
|
+
for (let U = 0; U < 7; U++) {
|
|
1797
|
+
const K = new Date(R);
|
|
1798
|
+
K.setDate(R.getDate() + U), B.push(K.toLocaleDateString(r, { weekday: "short" }).slice(0, 2));
|
|
1799
1799
|
}
|
|
1800
1800
|
return B;
|
|
1801
1801
|
})(), L = (B) => {
|
|
1802
|
-
const R = /* @__PURE__ */ new Date(),
|
|
1802
|
+
const R = /* @__PURE__ */ new Date(), U = new Date(R.getFullYear() + 1, R.getMonth(), R.getDate()), K = B.split("-").map(Number), ae = new Date(K[0], K[1] - 1, K[2]);
|
|
1803
1803
|
if (s) {
|
|
1804
1804
|
const q = s.split("-").map(Number), te = new Date(q[0], q[1] - 1, q[2]);
|
|
1805
1805
|
if (ae < te) return !0;
|
|
1806
1806
|
}
|
|
1807
|
-
return ae >
|
|
1807
|
+
return ae > U;
|
|
1808
1808
|
}, g = (B) => {
|
|
1809
|
-
const R = new Date(o.getFullYear(), o.getMonth() + B, 1),
|
|
1810
|
-
for (let q = 0; q <
|
|
1809
|
+
const R = new Date(o.getFullYear(), o.getMonth() + B, 1), U = p(R), K = k(R), ae = [];
|
|
1810
|
+
for (let q = 0; q < K; q++)
|
|
1811
1811
|
ae.push(/* @__PURE__ */ e("div", { className: G.dayCell }, `empty-${q}`));
|
|
1812
|
-
for (let q = 1; q <=
|
|
1812
|
+
for (let q = 1; q <= U; q++) {
|
|
1813
1813
|
const te = `${R.getFullYear()}-${String(R.getMonth() + 1).padStart(2, "0")}-${String(q).padStart(2, "0")}`, Z = L(te), j = d(te), se = h(te), N = u(te), V = [
|
|
1814
1814
|
G.dayCell,
|
|
1815
1815
|
G.dayButton,
|
|
@@ -1835,9 +1835,9 @@ const Ou = (t, a) => {
|
|
|
1835
1835
|
return ae;
|
|
1836
1836
|
}, M = () => {
|
|
1837
1837
|
l(new Date(o.getFullYear(), o.getMonth() - 1, 1));
|
|
1838
|
-
},
|
|
1838
|
+
}, x = () => {
|
|
1839
1839
|
l(new Date(o.getFullYear(), o.getMonth() + 1, 1));
|
|
1840
|
-
}, C = new Date(o.getFullYear(), o.getMonth() - 1, 1),
|
|
1840
|
+
}, C = new Date(o.getFullYear(), o.getMonth() - 1, 1), S = s ? f(C) < new Date(s) : !1, E = /* @__PURE__ */ new Date(), W = new Date(E.getFullYear() + 1, E.getMonth(), 1), D = new Date(o.getFullYear(), o.getMonth() + 1, 1), v = D >= W, Y = D > W, y = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", className: G.positionAbs, children: /* @__PURE__ */ e("path", { d: "M6.09652 9.36666C5.74908 9.71647 5.74908 10.2821 6.09652 10.6282L11.8223 16.4043C12.1698 16.7541 12.7316 16.7541 13.0754 16.4043C13.4191 16.0545 13.4228 15.4888 13.0754 15.1428L7.97791 9.9993L13.0754 4.85584C13.4228 4.50603 13.4228 3.94038 13.0754 3.59429C12.7279 3.2482 12.1661 3.24448 11.8223 3.59429L6.09652 9.36666Z", fill: "#1F2937" }) }), H = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", className: G.positionAbs, children: /* @__PURE__ */ e("path", { d: "M13.9035 9.36666C14.2509 9.71647 14.2509 10.2821 13.9035 10.6282L8.17767 16.4043C7.83023 16.7541 7.2684 16.7541 6.92465 16.4043C6.5809 16.0545 6.5772 15.4888 6.92465 15.1428L12.0221 9.9993L6.92465 4.85584C6.5772 4.50603 6.5772 3.94038 6.92465 3.59429C7.27209 3.2482 7.83392 3.24448 8.17767 3.59429L13.9035 9.37039V9.36666Z", fill: "#1F2937" }) }), P = [
|
|
1841
1841
|
G.container,
|
|
1842
1842
|
!i && G.containerMobile
|
|
1843
1843
|
].filter(Boolean).join(" "), A = [
|
|
@@ -1853,10 +1853,10 @@ const Ou = (t, a) => {
|
|
|
1853
1853
|
className: [
|
|
1854
1854
|
G.navButton,
|
|
1855
1855
|
G.prevIconButton,
|
|
1856
|
-
|
|
1856
|
+
S && G.navButtonDisabled
|
|
1857
1857
|
].filter(Boolean).join(" "),
|
|
1858
1858
|
onClick: M,
|
|
1859
|
-
disabled:
|
|
1859
|
+
disabled: S,
|
|
1860
1860
|
children: /* @__PURE__ */ e(y, {})
|
|
1861
1861
|
}
|
|
1862
1862
|
),
|
|
@@ -1870,7 +1870,7 @@ const Ou = (t, a) => {
|
|
|
1870
1870
|
G.nextIconButton,
|
|
1871
1871
|
Y && G.navButtonDisabled
|
|
1872
1872
|
].filter(Boolean).join(" "),
|
|
1873
|
-
onClick:
|
|
1873
|
+
onClick: x,
|
|
1874
1874
|
disabled: Y,
|
|
1875
1875
|
children: /* @__PURE__ */ e(H, {})
|
|
1876
1876
|
}
|
|
@@ -1884,10 +1884,10 @@ const Ou = (t, a) => {
|
|
|
1884
1884
|
className: [
|
|
1885
1885
|
G.navButton,
|
|
1886
1886
|
G.prevIconButton,
|
|
1887
|
-
|
|
1887
|
+
S && G.navButtonDisabled
|
|
1888
1888
|
].filter(Boolean).join(" "),
|
|
1889
1889
|
onClick: M,
|
|
1890
|
-
disabled:
|
|
1890
|
+
disabled: S,
|
|
1891
1891
|
children: /* @__PURE__ */ e(y, {})
|
|
1892
1892
|
}
|
|
1893
1893
|
),
|
|
@@ -1926,7 +1926,7 @@ const Ou = (t, a) => {
|
|
|
1926
1926
|
G.nextIconButton,
|
|
1927
1927
|
v && G.navButtonDisabled
|
|
1928
1928
|
].filter(Boolean).join(" "),
|
|
1929
|
-
onClick:
|
|
1929
|
+
onClick: x,
|
|
1930
1930
|
disabled: v,
|
|
1931
1931
|
children: /* @__PURE__ */ e(H, {})
|
|
1932
1932
|
}
|
|
@@ -1951,7 +1951,7 @@ const Ou = (t, a) => {
|
|
|
1951
1951
|
en: "en-GB",
|
|
1952
1952
|
fr: "fr-CH",
|
|
1953
1953
|
it: "it-CH"
|
|
1954
|
-
})[t] || "de-CH",
|
|
1954
|
+
})[t] || "de-CH", bn = ({
|
|
1955
1955
|
initialDateRange: t = { start: null, end: null },
|
|
1956
1956
|
initialMonthFilter: a = null,
|
|
1957
1957
|
onChange: n,
|
|
@@ -1961,7 +1961,7 @@ const Ou = (t, a) => {
|
|
|
1961
1961
|
onApply: o,
|
|
1962
1962
|
className: l = ""
|
|
1963
1963
|
}) => {
|
|
1964
|
-
const { t: d } =
|
|
1964
|
+
const { t: d } = de(), { locale: h } = Vt(), { isDesktop: u } = bt(), f = wo(h), [p, k] = $(t), [_, w] = $(
|
|
1965
1965
|
t.start ? "dates" : "anytime"
|
|
1966
1966
|
), m = a || [], L = m.length === 0;
|
|
1967
1967
|
ee(() => {
|
|
@@ -1979,12 +1979,12 @@ const Ou = (t, a) => {
|
|
|
1979
1979
|
});
|
|
1980
1980
|
}
|
|
1981
1981
|
return P;
|
|
1982
|
-
})(),
|
|
1982
|
+
})(), x = () => {
|
|
1983
1983
|
k({ start: null, end: null }), n == null || n(null), s == null || s(null);
|
|
1984
1984
|
}, C = (P) => {
|
|
1985
1985
|
const A = m.includes(P) ? m.filter((B) => B !== P) : [...m, P];
|
|
1986
1986
|
k({ start: null, end: null }), n == null || n(null), A.length === 0 ? s == null || s(null) : s == null || s(A);
|
|
1987
|
-
},
|
|
1987
|
+
}, S = () => {
|
|
1988
1988
|
_ === "anytime" ? m.length === 0 && (n == null || n(null)) : p.start && p.end && (n == null || n(p)), o == null || o();
|
|
1989
1989
|
}, E = (P) => {
|
|
1990
1990
|
w(P), P === "anytime" && (k({ start: null, end: null }), n == null || n(null)), s == null || s(null);
|
|
@@ -2039,7 +2039,7 @@ const Ou = (t, a) => {
|
|
|
2039
2039
|
}
|
|
2040
2040
|
)
|
|
2041
2041
|
] }),
|
|
2042
|
-
i && /* @__PURE__ */ e("div", { className: ce.applyButtonContainer, children: /* @__PURE__ */ e(
|
|
2042
|
+
i && /* @__PURE__ */ e("div", { className: ce.applyButtonContainer, children: /* @__PURE__ */ e(ke, { variant: "secondary", size: "medium", onClick: S, children: d("date_selector.apply") }) })
|
|
2043
2043
|
] }),
|
|
2044
2044
|
/* @__PURE__ */ e("div", { className: H, children: _ === "anytime" ? /* @__PURE__ */ c("div", { className: ce.flexibleContent, children: [
|
|
2045
2045
|
/* @__PURE__ */ e("h3", { className: ce.contentHeading, children: d("general.when-months") }),
|
|
@@ -2049,7 +2049,7 @@ const Ou = (t, a) => {
|
|
|
2049
2049
|
{
|
|
2050
2050
|
type: "button",
|
|
2051
2051
|
className: `${ce.monthButton} ${ce.anytimeButton} ${L ? ce.monthButtonSelected : ""}`,
|
|
2052
|
-
onClick:
|
|
2052
|
+
onClick: x,
|
|
2053
2053
|
children: /* @__PURE__ */ e("span", { className: ce.monthLabel, children: d("label.anytime") })
|
|
2054
2054
|
}
|
|
2055
2055
|
),
|
|
@@ -2100,7 +2100,7 @@ const Ou = (t, a) => {
|
|
|
2100
2100
|
className: o,
|
|
2101
2101
|
icon: l
|
|
2102
2102
|
}) => {
|
|
2103
|
-
const { t: d } =
|
|
2103
|
+
const { t: d } = de(), { locale: h } = Vt(), { isDesktop: u } = bt(), f = vo(h), [p, k] = $(t), [_, w] = $(!1), [m, L] = $(a || []), g = me(null);
|
|
2104
2104
|
ee(() => {
|
|
2105
2105
|
k((v) => v.start === t.start && v.end === t.end ? v : t), L((v) => {
|
|
2106
2106
|
const Y = a || [];
|
|
@@ -2118,7 +2118,7 @@ const Ou = (t, a) => {
|
|
|
2118
2118
|
document.removeEventListener("pointerdown", v);
|
|
2119
2119
|
};
|
|
2120
2120
|
}, [_, p, m, n, s, r]);
|
|
2121
|
-
const M =
|
|
2121
|
+
const M = rt(() => {
|
|
2122
2122
|
const v = /* @__PURE__ */ new Date();
|
|
2123
2123
|
return Array.from({ length: 12 }, (Y, y) => {
|
|
2124
2124
|
const H = new Date(v.getFullYear(), v.getMonth() + y, 1);
|
|
@@ -2128,7 +2128,7 @@ const Ou = (t, a) => {
|
|
|
2128
2128
|
value: `${H.getFullYear()}-${String(H.getMonth() + 1).padStart(2, "0")}`
|
|
2129
2129
|
};
|
|
2130
2130
|
});
|
|
2131
|
-
}, [f]),
|
|
2131
|
+
}, [f]), x = () => {
|
|
2132
2132
|
if (p.start && p.end) {
|
|
2133
2133
|
const v = (Y) => new Date(Y).toLocaleDateString(f, { month: "short", day: "numeric" });
|
|
2134
2134
|
return `${v(p.start)} - ${v(p.end)}`;
|
|
@@ -2140,20 +2140,20 @@ const Ou = (t, a) => {
|
|
|
2140
2140
|
return m.length > 1 ? `${m.length} ${d("label.months")}` : d("label.flexible");
|
|
2141
2141
|
}, C = (v) => {
|
|
2142
2142
|
k(v ?? { start: null, end: null });
|
|
2143
|
-
},
|
|
2143
|
+
}, S = (v) => {
|
|
2144
2144
|
L(v || []);
|
|
2145
2145
|
}, E = () => {
|
|
2146
2146
|
p.start && p.end ? n == null || n(p) : n == null || n(null), s == null || s(m.length ? m : null), w(!1);
|
|
2147
2147
|
}, W = [
|
|
2148
|
-
|
|
2149
|
-
i &&
|
|
2148
|
+
Ke.button,
|
|
2149
|
+
i && Ke["button--disabled"],
|
|
2150
2150
|
o
|
|
2151
2151
|
].filter(Boolean).join(" "), D = [
|
|
2152
|
-
|
|
2153
|
-
_ &&
|
|
2154
|
-
!u &&
|
|
2152
|
+
Ke.dropdown,
|
|
2153
|
+
_ && Ke["dropdown--open"],
|
|
2154
|
+
!u && Ke.dropdownMobile
|
|
2155
2155
|
].filter(Boolean).join(" ");
|
|
2156
|
-
return /* @__PURE__ */ c("div", { ref: g, className:
|
|
2156
|
+
return /* @__PURE__ */ c("div", { ref: g, className: Ke.container, children: [
|
|
2157
2157
|
/* @__PURE__ */ c(
|
|
2158
2158
|
"button",
|
|
2159
2159
|
{
|
|
@@ -2162,15 +2162,15 @@ const Ou = (t, a) => {
|
|
|
2162
2162
|
onClick: () => !i && w((v) => !v),
|
|
2163
2163
|
disabled: i,
|
|
2164
2164
|
children: [
|
|
2165
|
-
/* @__PURE__ */ e("span", { className:
|
|
2166
|
-
/* @__PURE__ */ e("span", { className:
|
|
2165
|
+
/* @__PURE__ */ e("span", { className: Ke.icon, children: l || /* @__PURE__ */ e(bo, {}) }),
|
|
2166
|
+
/* @__PURE__ */ e("span", { className: Ke.label, children: x() })
|
|
2167
2167
|
]
|
|
2168
2168
|
}
|
|
2169
2169
|
),
|
|
2170
2170
|
_ && /* @__PURE__ */ e(
|
|
2171
2171
|
"div",
|
|
2172
2172
|
{
|
|
2173
|
-
className:
|
|
2173
|
+
className: Ke.backdrop,
|
|
2174
2174
|
onClick: () => {
|
|
2175
2175
|
const v = p.start && p.end ? p : null, Y = m.length ? m : null;
|
|
2176
2176
|
n == null || n(v), s == null || s(Y), w(!1), r == null || r(v, Y);
|
|
@@ -2179,19 +2179,19 @@ const Ou = (t, a) => {
|
|
|
2179
2179
|
}
|
|
2180
2180
|
),
|
|
2181
2181
|
/* @__PURE__ */ e("div", { className: D, children: /* @__PURE__ */ e(
|
|
2182
|
-
|
|
2182
|
+
bn,
|
|
2183
2183
|
{
|
|
2184
2184
|
initialDateRange: p,
|
|
2185
2185
|
initialMonthFilter: m.length ? m : null,
|
|
2186
2186
|
onChange: C,
|
|
2187
|
-
onMonthFilterChange:
|
|
2187
|
+
onMonthFilterChange: S,
|
|
2188
2188
|
variant: "dropdown",
|
|
2189
2189
|
showApplyButton: !0,
|
|
2190
2190
|
onApply: E
|
|
2191
2191
|
}
|
|
2192
2192
|
) })
|
|
2193
2193
|
] });
|
|
2194
|
-
},
|
|
2194
|
+
}, Gt = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ e("path", { d: "M0 10C0 9.48047 0.477679 9.0625 1.07143 9.0625H18.9286C19.5223 9.0625 20 9.48047 20 10C20 10.5195 19.5223 10.9375 18.9286 10.9375H1.07143C0.477679 10.9375 0 10.5195 0 10Z", fill: "currentColor" }) }), Kt = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ e("path", { d: "M11.0714 2.1875C11.0714 1.66797 10.5938 1.25 10 1.25C9.40625 1.25 8.92857 1.66797 8.92857 2.1875V9.0625H1.07143C0.477679 9.0625 0 9.48047 0 10C0 10.5195 0.477679 10.9375 1.07143 10.9375H8.92857V17.8125C8.92857 18.332 9.40625 18.75 10 18.75C10.5938 18.75 11.0714 18.332 11.0714 17.8125V10.9375H18.9286C19.5223 10.9375 20 10.5195 20 10C20 9.48047 19.5223 9.0625 18.9286 9.0625H11.0714V2.1875Z", fill: "currentColor" }) }), yo = () => /* @__PURE__ */ e(
|
|
2195
2195
|
"svg",
|
|
2196
2196
|
{
|
|
2197
2197
|
className: "hc-guest-content__select-icon",
|
|
@@ -2208,7 +2208,7 @@ const Ou = (t, a) => {
|
|
|
2208
2208
|
}
|
|
2209
2209
|
)
|
|
2210
2210
|
}
|
|
2211
|
-
),
|
|
2211
|
+
), Cn = ({
|
|
2212
2212
|
guests: t,
|
|
2213
2213
|
onChange: a,
|
|
2214
2214
|
petFilter: n = 0,
|
|
@@ -2218,7 +2218,7 @@ const Ou = (t, a) => {
|
|
|
2218
2218
|
childAgeErrors: o = [],
|
|
2219
2219
|
onErrorClear: l
|
|
2220
2220
|
}) => {
|
|
2221
|
-
const { t: d } =
|
|
2221
|
+
const { t: d } = de(), h = {
|
|
2222
2222
|
adults: d("form.adults", "Adults"),
|
|
2223
2223
|
children: d("form.children", "Children"),
|
|
2224
2224
|
pet: d("form.pet", "Pet"),
|
|
@@ -2264,7 +2264,7 @@ const Ou = (t, a) => {
|
|
|
2264
2264
|
onClick: () => p("adults"),
|
|
2265
2265
|
disabled: t.adults <= 1,
|
|
2266
2266
|
"aria-label": h.decreaseAdults,
|
|
2267
|
-
children: /* @__PURE__ */ e(
|
|
2267
|
+
children: /* @__PURE__ */ e(Gt, {})
|
|
2268
2268
|
}
|
|
2269
2269
|
),
|
|
2270
2270
|
/* @__PURE__ */ e("span", { className: "hc-guest-content__counter-value", children: t.adults }),
|
|
@@ -2276,7 +2276,7 @@ const Ou = (t, a) => {
|
|
|
2276
2276
|
onClick: () => f("adults"),
|
|
2277
2277
|
disabled: t.adults >= 10,
|
|
2278
2278
|
"aria-label": h.increaseAdults,
|
|
2279
|
-
children: /* @__PURE__ */ e(
|
|
2279
|
+
children: /* @__PURE__ */ e(Kt, {})
|
|
2280
2280
|
}
|
|
2281
2281
|
)
|
|
2282
2282
|
] })
|
|
@@ -2293,7 +2293,7 @@ const Ou = (t, a) => {
|
|
|
2293
2293
|
onClick: () => p("children"),
|
|
2294
2294
|
disabled: t.children <= 0,
|
|
2295
2295
|
"aria-label": h.decreaseChildren,
|
|
2296
|
-
children: /* @__PURE__ */ e(
|
|
2296
|
+
children: /* @__PURE__ */ e(Gt, {})
|
|
2297
2297
|
}
|
|
2298
2298
|
),
|
|
2299
2299
|
/* @__PURE__ */ e("span", { className: "hc-guest-content__counter-value", children: t.children }),
|
|
@@ -2305,7 +2305,7 @@ const Ou = (t, a) => {
|
|
|
2305
2305
|
onClick: () => f("children"),
|
|
2306
2306
|
disabled: t.children >= 6,
|
|
2307
2307
|
"aria-label": h.increaseChildren,
|
|
2308
|
-
children: /* @__PURE__ */ e(
|
|
2308
|
+
children: /* @__PURE__ */ e(Kt, {})
|
|
2309
2309
|
}
|
|
2310
2310
|
)
|
|
2311
2311
|
] })
|
|
@@ -2318,8 +2318,8 @@ const Ou = (t, a) => {
|
|
|
2318
2318
|
gridTemplateColumns: t.children === 1 ? "1fr" : "repeat(2, 1fr)"
|
|
2319
2319
|
},
|
|
2320
2320
|
children: Array.from({ length: t.children }).map((w, m) => {
|
|
2321
|
-
var
|
|
2322
|
-
const L = u[m], g = o.some((C) => C.index === m), M = (
|
|
2321
|
+
var x;
|
|
2322
|
+
const L = u[m], g = o.some((C) => C.index === m), M = (x = o.find((C) => C.index === m)) == null ? void 0 : x.message;
|
|
2323
2323
|
return /* @__PURE__ */ c("div", { className: "hc-guest-content__child-dropdown", children: [
|
|
2324
2324
|
/* @__PURE__ */ e("label", { htmlFor: `child-age-${m}`, children: h.ageOfChild }),
|
|
2325
2325
|
/* @__PURE__ */ c("div", { className: "hc-guest-content__select-wrapper", children: [
|
|
@@ -2334,7 +2334,7 @@ const Ou = (t, a) => {
|
|
|
2334
2334
|
"aria-describedby": g ? `error-${m}` : void 0,
|
|
2335
2335
|
children: [
|
|
2336
2336
|
/* @__PURE__ */ e("option", { value: "", children: h.age }),
|
|
2337
|
-
Array.from({ length: 18 }, (C,
|
|
2337
|
+
Array.from({ length: 18 }, (C, S) => /* @__PURE__ */ e("option", { value: S, children: S }, S))
|
|
2338
2338
|
]
|
|
2339
2339
|
}
|
|
2340
2340
|
),
|
|
@@ -2362,7 +2362,7 @@ const Ou = (t, a) => {
|
|
|
2362
2362
|
] }) })
|
|
2363
2363
|
] })
|
|
2364
2364
|
] });
|
|
2365
|
-
}, ko = "_container_kxilw_1", No = "_button_kxilw_7", $o = "_icon_kxilw_40", Mo = "_label_kxilw_46", Lo = "_dropdown_kxilw_54",
|
|
2365
|
+
}, ko = "_container_kxilw_1", No = "_button_kxilw_7", $o = "_icon_kxilw_40", Mo = "_label_kxilw_46", Lo = "_dropdown_kxilw_54", ot = {
|
|
2366
2366
|
container: ko,
|
|
2367
2367
|
button: No,
|
|
2368
2368
|
"button--disabled": "_button--disabled_kxilw_25",
|
|
@@ -2387,7 +2387,7 @@ const Ou = (t, a) => {
|
|
|
2387
2387
|
icon: l,
|
|
2388
2388
|
childAgeErrors: d = []
|
|
2389
2389
|
}) => {
|
|
2390
|
-
const { t: h } =
|
|
2390
|
+
const { t: h } = de(), [u, f] = $(t), [p, k] = $(a), [_, w] = $(!1), m = me(null), [L, g] = $([]), M = u.adults + u.children;
|
|
2391
2391
|
ee(() => {
|
|
2392
2392
|
f(t);
|
|
2393
2393
|
}, [t]), ee(() => {
|
|
@@ -2400,21 +2400,21 @@ const Ou = (t, a) => {
|
|
|
2400
2400
|
document.removeEventListener("mousedown", D);
|
|
2401
2401
|
};
|
|
2402
2402
|
}, [_, u, p, r]);
|
|
2403
|
-
const
|
|
2403
|
+
const x = (D) => {
|
|
2404
2404
|
f(D), n == null || n(D), D.children !== u.children && g([]);
|
|
2405
2405
|
}, C = (D) => {
|
|
2406
2406
|
k(D), s == null || s(D);
|
|
2407
|
-
},
|
|
2407
|
+
}, S = (D) => {
|
|
2408
2408
|
g((v) => v.filter((Y) => Y.index !== D));
|
|
2409
2409
|
}, E = [
|
|
2410
|
-
|
|
2411
|
-
i &&
|
|
2410
|
+
ot.button,
|
|
2411
|
+
i && ot["button--disabled"],
|
|
2412
2412
|
o
|
|
2413
2413
|
].filter(Boolean).join(" "), W = [
|
|
2414
|
-
|
|
2415
|
-
_ &&
|
|
2414
|
+
ot.dropdown,
|
|
2415
|
+
_ && ot["dropdown--open"]
|
|
2416
2416
|
].filter(Boolean).join(" ");
|
|
2417
|
-
return /* @__PURE__ */ c("div", { ref: m, className:
|
|
2417
|
+
return /* @__PURE__ */ c("div", { ref: m, className: ot.container, children: [
|
|
2418
2418
|
/* @__PURE__ */ c(
|
|
2419
2419
|
"button",
|
|
2420
2420
|
{
|
|
@@ -2423,8 +2423,8 @@ const Ou = (t, a) => {
|
|
|
2423
2423
|
onClick: () => !i && w(!_),
|
|
2424
2424
|
disabled: i,
|
|
2425
2425
|
children: [
|
|
2426
|
-
/* @__PURE__ */ e("span", { className:
|
|
2427
|
-
/* @__PURE__ */ c("span", { className:
|
|
2426
|
+
/* @__PURE__ */ e("span", { className: ot.icon, children: l || /* @__PURE__ */ e(xo, {}) }),
|
|
2427
|
+
/* @__PURE__ */ c("span", { className: ot.label, children: [
|
|
2428
2428
|
M,
|
|
2429
2429
|
" ",
|
|
2430
2430
|
h(M === 1 ? "form.guest" : "form.guests")
|
|
@@ -2433,15 +2433,15 @@ const Ou = (t, a) => {
|
|
|
2433
2433
|
}
|
|
2434
2434
|
),
|
|
2435
2435
|
/* @__PURE__ */ e("div", { className: W, children: /* @__PURE__ */ e(
|
|
2436
|
-
|
|
2436
|
+
Cn,
|
|
2437
2437
|
{
|
|
2438
2438
|
guests: u,
|
|
2439
|
-
onChange:
|
|
2439
|
+
onChange: x,
|
|
2440
2440
|
petFilter: p,
|
|
2441
2441
|
onPetChange: C,
|
|
2442
2442
|
showPetToggle: !0,
|
|
2443
2443
|
childAgeErrors: L,
|
|
2444
|
-
onErrorClear:
|
|
2444
|
+
onErrorClear: S
|
|
2445
2445
|
}
|
|
2446
2446
|
) })
|
|
2447
2447
|
] });
|
|
@@ -2467,10 +2467,10 @@ const Ou = (t, a) => {
|
|
|
2467
2467
|
}, Go = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
|
|
2468
2468
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_location)", children: /* @__PURE__ */ e("path", { d: "M9.75 2.25C11.7391 2.25 13.6468 3.04018 15.0533 4.4467C16.4598 5.85322 17.25 7.76088 17.25 9.75C17.25 11.7391 16.4598 13.6468 15.0533 15.0533C13.6468 16.4598 11.7391 17.25 9.75 17.25C7.76088 17.25 5.85322 16.4598 4.4467 15.0533C3.04018 13.6468 2.25 11.7391 2.25 9.75C2.25 7.76088 3.04018 5.85322 4.4467 4.4467C5.85322 3.04018 7.76088 2.25 9.75 2.25ZM9.75 19.5C12.0375 19.5 14.1422 18.7125 15.8016 17.3953L22.0781 23.6719C22.5187 24.1125 23.2312 24.1125 23.6672 23.6719C24.1031 23.2313 24.1078 22.5188 23.6672 22.0828L17.3953 15.8016C18.7125 14.1422 19.5 12.0375 19.5 9.75C19.5 4.36406 15.1359 0 9.75 0C4.36406 0 0 4.36406 0 9.75C0 15.1359 4.36406 19.5 9.75 19.5ZM13.5 8.25C13.5 6.17812 11.8219 4.5 9.75 4.5C7.67812 4.5 6 6.17812 6 8.25C6 10.5375 8.17969 13.4813 9.21562 14.7469C9.49687 15.0891 10.0031 15.0891 10.2797 14.7469C11.3156 13.4813 13.4953 10.5375 13.4953 8.25H13.5ZM8.25 8.25C8.25 7.85218 8.40804 7.47064 8.68934 7.18934C8.97064 6.90804 9.35217 6.75 9.75 6.75C10.1478 6.75 10.5294 6.90804 10.8107 7.18934C11.092 7.47064 11.25 7.85218 11.25 8.25C11.25 8.64782 11.092 9.02936 10.8107 9.31066C10.5294 9.59196 10.1478 9.75 9.75 9.75C9.35217 9.75 8.97064 9.59196 8.68934 9.31066C8.40804 9.02936 8.25 8.64782 8.25 8.25Z", fill: "currentColor" }) }),
|
|
2469
2469
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_location", children: /* @__PURE__ */ e("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
2470
|
-
] }),
|
|
2470
|
+
] }), Ko = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "16", viewBox: "0 0 24 16", fill: "none", children: /* @__PURE__ */ e("path", { d: "M8.55417 0C7.84583 0 7.16667 0.279167 6.66667 0.779167L0.391667 7.05833C0.141667 7.30833 0 7.64583 0 8C0 8.35417 0.141667 8.69167 0.391667 8.94167L6.66667 15.2208C7.16667 15.7208 7.84583 16 8.55417 16H21.3333C22.8042 16 24 14.8042 24 13.3333V2.66667C24 1.19583 22.8042 0 21.3333 0H8.55417ZM22 2.66667V13.3333C22 13.7 21.7 14 21.3333 14H8.55417C8.37917 14 8.20833 13.9292 8.08333 13.8042L2.275 8L8.07917 2.19583C8.20417 2.07083 8.375 2 8.55 2H21.3333C21.7 2 22 2.3 22 2.66667ZM11.8375 5.17083C11.4458 5.5625 11.4458 6.19583 11.8375 6.58333L13.25 7.99583L11.8375 9.40833C11.4458 9.8 11.4458 10.4333 11.8375 10.8208C12.2292 11.2083 12.8625 11.2125 13.25 10.8208L14.6625 9.40833L16.075 10.8208C16.4667 11.2125 17.1 11.2125 17.4875 10.8208C17.875 10.4292 17.8792 9.79583 17.4875 9.40833L16.075 7.99583L17.4875 6.58333C17.8792 6.19167 17.8792 5.55833 17.4875 5.17083C17.0958 4.78333 16.4625 4.77917 16.075 5.17083L14.6625 6.58333L13.25 5.17083C12.8583 4.77917 12.225 4.77917 11.8375 5.17083Z", fill: "#1F2937" }) }), Jt = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
2471
2471
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_1151_67394)", children: /* @__PURE__ */ e("path", { d: "M8.125 1.875C9.7826 1.875 11.3723 2.53348 12.5444 3.70558C13.7165 4.87768 14.375 6.4674 14.375 8.125C14.375 9.7826 13.7165 11.3723 12.5444 12.5444C11.3723 13.7165 9.7826 14.375 8.125 14.375C6.4674 14.375 4.87768 13.7165 3.70558 12.5444C2.53348 11.3723 1.875 9.7826 1.875 8.125C1.875 6.4674 2.53348 4.87768 3.70558 3.70558C4.87768 2.53348 6.4674 1.875 8.125 1.875ZM8.125 16.25C10.0312 16.25 11.7852 15.5937 13.168 14.4961L18.3984 19.7266C18.7656 20.0937 19.3594 20.0937 19.7227 19.7266C20.0859 19.3594 20.0898 18.7656 19.7227 18.4023L14.4961 13.168C15.5937 11.7852 16.25 10.0312 16.25 8.125C16.25 3.63672 12.6133 0 8.125 0C3.63672 0 0 3.63672 0 8.125C0 12.6133 3.63672 16.25 8.125 16.25ZM11.25 6.875C11.25 5.14844 9.85156 3.75 8.125 3.75C6.39844 3.75 5 5.14844 5 6.875C5 8.78125 6.81641 11.2344 7.67969 12.2891C7.91406 12.5742 8.33594 12.5742 8.56641 12.2891C9.42969 11.2344 11.2461 8.78125 11.2461 6.875H11.25ZM6.875 6.875C6.875 6.54348 7.0067 6.22554 7.24112 5.99112C7.47554 5.7567 7.79348 5.625 8.125 5.625C8.45652 5.625 8.77446 5.7567 9.00888 5.99112C9.2433 6.22554 9.375 6.54348 9.375 6.875C9.375 7.20652 9.2433 7.52446 9.00888 7.75888C8.77446 7.9933 8.45652 8.125 8.125 8.125C7.79348 8.125 7.47554 7.9933 7.24112 7.75888C7.0067 7.52446 6.875 7.20652 6.875 6.875Z", fill: "currentColor" }) }),
|
|
2472
2472
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1151_67394", children: /* @__PURE__ */ e("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
2473
|
-
] }),
|
|
2473
|
+
] }), Jo = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
2474
2474
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_nearme_desktop)", children: /* @__PURE__ */ e("path", { d: "M9.0625 2.8125C9.0625 2.56386 9.16127 2.3254 9.33709 2.14959C9.5129 1.97377 9.75136 1.875 10 1.875C10.2486 1.875 10.4871 1.97377 10.6629 2.14959C10.8387 2.3254 10.9375 2.56386 10.9375 2.8125C10.9375 3.06114 10.8387 3.2996 10.6629 3.47541C10.4871 3.65123 10.2486 3.75 10 3.75C9.75136 3.75 9.5129 3.65123 9.33709 3.47541C9.16127 3.2996 9.0625 3.06114 9.0625 2.8125ZM12.8125 2.8125C12.8125 2.06658 12.5162 1.35121 11.9887 0.823762C11.4613 0.296316 10.7459 0 10 0C9.25408 0 8.53871 0.296316 8.01126 0.823762C7.48382 1.35121 7.1875 2.06658 7.1875 2.8125C7.1875 3.55842 7.48382 4.27379 8.01126 4.80124C8.53871 5.32868 9.25408 5.625 10 5.625C10.7459 5.625 11.4613 5.32868 11.9887 4.80124C12.5162 4.27379 12.8125 3.55842 12.8125 2.8125ZM5.625 9.6875V10.7305C5.625 11.3125 5.85547 11.8672 6.26562 12.2773L6.94141 12.9531L7.32812 15.0742C7.51563 16.1133 8.42188 16.8711 9.48047 16.8711H10.5195C11.5781 16.8711 12.4844 16.1133 12.6719 15.0742L13.0586 12.9531L13.7344 12.2773C14.1445 11.8672 14.375 11.3125 14.375 10.7305V9.6875C14.375 7.78906 12.8359 6.25 10.9375 6.25H9.0625C7.16406 6.25 5.625 7.78906 5.625 9.6875ZM9.0625 8.125H10.9375C11.8008 8.125 12.5 8.82422 12.5 9.6875V10.7305C12.5 10.8125 12.4688 10.8945 12.4102 10.9531L11.5234 11.8359C11.3867 11.9688 11.2969 12.1445 11.2656 12.332L10.8281 14.7422C10.8008 14.8906 10.6719 15 10.5195 15H9.48047C9.32812 15 9.19922 14.8906 9.17188 14.7422L8.73438 12.332C8.69922 12.1445 8.60938 11.9727 8.47656 11.8359L7.59375 10.9531C7.53516 10.8945 7.50391 10.8164 7.50391 10.7305V9.6875C7.50391 8.82422 8.20312 8.125 9.06641 8.125H9.0625ZM5.23047 13.457C4.58203 13.5547 3.97266 13.6758 3.42188 13.8203C2.54688 14.0469 1.75781 14.3398 1.16406 14.7305C0.589844 15.1055 0 15.7031 0 16.5664C0 17.4297 0.589844 18.0273 1.16406 18.4023C1.75781 18.7852 2.54688 19.0781 3.42188 19.3047C5.18359 19.7617 7.53516 20 10 20C12.4648 20 14.8164 19.7617 16.5781 19.3047C17.4531 19.0781 18.2422 18.7852 18.8359 18.3945C19.4102 18.0195 20 17.4219 20 16.5586C20 15.6953 19.4102 15.0977 18.8359 14.7227C18.2422 14.3359 17.4492 14.0391 16.5781 13.8125C16.0273 13.6719 15.4219 13.5508 14.7695 13.4492L14.5625 15.3164C15.125 15.4023 15.6445 15.5078 16.1094 15.6289C18.3203 16.1992 18.3203 16.9141 16.1094 17.4844C14.5508 17.8867 12.3672 18.1172 10 18.1172C7.63281 18.1172 5.44922 17.8867 3.89062 17.4844C1.67969 16.9141 1.67969 16.1992 3.89062 15.6289C4.35547 15.5078 4.875 15.4023 5.4375 15.3164L5.23047 13.4492V13.457Z", fill: "currentColor" }) }),
|
|
2475
2475
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_nearme_desktop", children: /* @__PURE__ */ e("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
2476
2476
|
] }), Uo = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
@@ -2495,10 +2495,10 @@ const Ou = (t, a) => {
|
|
|
2495
2495
|
disabled: l = !1,
|
|
2496
2496
|
className: d = ""
|
|
2497
2497
|
}) => {
|
|
2498
|
-
const { t: h } =
|
|
2499
|
-
const N = f.filter((re) => re.type === "hotel"), V = f.filter((re) => re.type === "city"), X = f.filter((re) => re.type === "region"),
|
|
2500
|
-
return { hotels: N, cities: V, regions: X, countries:
|
|
2501
|
-
}, [f]), v =
|
|
2498
|
+
const { t: h } = de(), { locale: u } = Vt(), [f, p] = $([]), [k, _] = $(!1), [w, m] = $(!1), [L, g] = $(-1), [M, x] = $(!1), C = me(null), S = me(null), E = me(), W = w || t.trim().length > 0, D = rt(() => {
|
|
2499
|
+
const N = f.filter((re) => re.type === "hotel"), V = f.filter((re) => re.type === "city"), X = f.filter((re) => re.type === "region"), fe = f.filter((re) => re.type === "country");
|
|
2500
|
+
return { hotels: N, cities: V, regions: X, countries: fe };
|
|
2501
|
+
}, [f]), v = rt(() => [
|
|
2502
2502
|
...[
|
|
2503
2503
|
{ type: "anywhere", name: h("label.anywhere", "All destinations") },
|
|
2504
2504
|
{ type: "nearme", name: h("label.nearby", "Near me") }
|
|
@@ -2513,13 +2513,13 @@ const Ou = (t, a) => {
|
|
|
2513
2513
|
return;
|
|
2514
2514
|
}
|
|
2515
2515
|
try {
|
|
2516
|
-
|
|
2516
|
+
x(!0);
|
|
2517
2517
|
const V = await i(N);
|
|
2518
2518
|
p(V), g(-1);
|
|
2519
2519
|
} catch (V) {
|
|
2520
2520
|
console.error("Autocomplete error:", V), p([]);
|
|
2521
2521
|
} finally {
|
|
2522
|
-
|
|
2522
|
+
x(!1);
|
|
2523
2523
|
}
|
|
2524
2524
|
};
|
|
2525
2525
|
ee(() => (E.current && clearTimeout(E.current), E.current = setTimeout(() => {
|
|
@@ -2528,7 +2528,7 @@ const Ou = (t, a) => {
|
|
|
2528
2528
|
E.current && clearTimeout(E.current);
|
|
2529
2529
|
}), [t]), ee(() => {
|
|
2530
2530
|
const N = (V) => {
|
|
2531
|
-
|
|
2531
|
+
S.current && !S.current.contains(V.target) && C.current && !C.current.contains(V.target) && _(!1);
|
|
2532
2532
|
};
|
|
2533
2533
|
return document.addEventListener("mousedown", N), () => document.removeEventListener("mousedown", N);
|
|
2534
2534
|
}, []);
|
|
@@ -2545,11 +2545,11 @@ const Ou = (t, a) => {
|
|
|
2545
2545
|
if (N.type === "nearme") {
|
|
2546
2546
|
"geolocation" in navigator ? navigator.geolocation.getCurrentPosition(
|
|
2547
2547
|
(re) => {
|
|
2548
|
-
const
|
|
2548
|
+
const J = {
|
|
2549
2549
|
lat: re.coords.latitude,
|
|
2550
2550
|
lng: re.coords.longitude
|
|
2551
2551
|
};
|
|
2552
|
-
a(h("label.nearby", "Near me")), _(!1), setTimeout(() => r == null ? void 0 : r(h("label.nearby", "Near me"),
|
|
2552
|
+
a(h("label.nearby", "Near me")), _(!1), setTimeout(() => r == null ? void 0 : r(h("label.nearby", "Near me"), J, null, !1), 0);
|
|
2553
2553
|
},
|
|
2554
2554
|
() => {
|
|
2555
2555
|
a(""), _(!1), setTimeout(() => r == null ? void 0 : r("", null, null, !1), 0);
|
|
@@ -2558,8 +2558,8 @@ const Ou = (t, a) => {
|
|
|
2558
2558
|
) : (a(""), _(!1), setTimeout(() => r == null ? void 0 : r("", null, null, !1), 0));
|
|
2559
2559
|
return;
|
|
2560
2560
|
}
|
|
2561
|
-
const V = N.name, X = A(N),
|
|
2562
|
-
a(V), _(!1), s && "city" in N && s(N), setTimeout(() => r == null ? void 0 : r(V, X,
|
|
2561
|
+
const V = N.name, X = A(N), fe = N.type === "region" ? N.id : null;
|
|
2562
|
+
a(V), _(!1), s && "city" in N && s(N), setTimeout(() => r == null ? void 0 : r(V, X, fe, !0, N.type), 0);
|
|
2563
2563
|
}, A = (N) => !(N != null && N.latitude) || !(N != null && N.longitude) ? null : {
|
|
2564
2564
|
lat: N.latitude,
|
|
2565
2565
|
lng: N.longitude
|
|
@@ -2593,21 +2593,21 @@ const Ou = (t, a) => {
|
|
|
2593
2593
|
case "country":
|
|
2594
2594
|
return /* @__PURE__ */ e(ec, {});
|
|
2595
2595
|
case "anywhere":
|
|
2596
|
-
return /* @__PURE__ */ e(
|
|
2596
|
+
return /* @__PURE__ */ e(Jt, {});
|
|
2597
2597
|
case "nearme":
|
|
2598
|
-
return /* @__PURE__ */ e(
|
|
2598
|
+
return /* @__PURE__ */ e(Jo, {});
|
|
2599
2599
|
default:
|
|
2600
|
-
return /* @__PURE__ */ e(
|
|
2600
|
+
return /* @__PURE__ */ e(Jt, {});
|
|
2601
2601
|
}
|
|
2602
|
-
},
|
|
2602
|
+
}, U = (N, V) => {
|
|
2603
2603
|
if (!V || V.length < 3)
|
|
2604
2604
|
return /* @__PURE__ */ e("span", { children: N });
|
|
2605
|
-
const X = N.toLowerCase(),
|
|
2605
|
+
const X = N.toLowerCase(), fe = V.toLowerCase(), re = X.indexOf(fe);
|
|
2606
2606
|
if (re === -1)
|
|
2607
2607
|
return /* @__PURE__ */ e("span", { children: N });
|
|
2608
|
-
const
|
|
2608
|
+
const J = N.slice(0, re), b = N.slice(re, re + V.length), I = N.slice(re + V.length);
|
|
2609
2609
|
return /* @__PURE__ */ c("span", { children: [
|
|
2610
|
-
|
|
2610
|
+
J,
|
|
2611
2611
|
/* @__PURE__ */ e("span", { className: F.suggestionNameBold, children: b }),
|
|
2612
2612
|
I
|
|
2613
2613
|
] });
|
|
@@ -2642,11 +2642,11 @@ const Ou = (t, a) => {
|
|
|
2642
2642
|
className: F.clearButton,
|
|
2643
2643
|
onClick: H,
|
|
2644
2644
|
"aria-label": h("label.clear", "Clear"),
|
|
2645
|
-
children: /* @__PURE__ */ e(
|
|
2645
|
+
children: /* @__PURE__ */ e(Ko, {})
|
|
2646
2646
|
}
|
|
2647
2647
|
),
|
|
2648
2648
|
M && /* @__PURE__ */ e("div", { className: F.loadingIndicator, children: /* @__PURE__ */ e("span", { children: "..." }) }),
|
|
2649
|
-
k && /* @__PURE__ */ c("div", { ref:
|
|
2649
|
+
k && /* @__PURE__ */ c("div", { ref: S, className: F.dropdown, children: [
|
|
2650
2650
|
!j && !se && /* @__PURE__ */ e("div", { className: F.dropdownHeader, children: h("general.suggested-destinations", "Suggested destinations") }),
|
|
2651
2651
|
!j && !se && /* @__PURE__ */ c("div", { className: F.section, children: [
|
|
2652
2652
|
/* @__PURE__ */ c(
|
|
@@ -2690,7 +2690,7 @@ const Ou = (t, a) => {
|
|
|
2690
2690
|
children: [
|
|
2691
2691
|
/* @__PURE__ */ e("span", { className: F.icon, children: R("city") }),
|
|
2692
2692
|
/* @__PURE__ */ c("div", { className: F.suggestionContent, children: [
|
|
2693
|
-
/* @__PURE__ */ e("div", { className: F.suggestionName, children:
|
|
2693
|
+
/* @__PURE__ */ e("div", { className: F.suggestionName, children: U(N.name, t) }),
|
|
2694
2694
|
N.region && /* @__PURE__ */ e("div", { className: F.suggestionMeta, children: N.region })
|
|
2695
2695
|
] })
|
|
2696
2696
|
]
|
|
@@ -2712,7 +2712,7 @@ const Ou = (t, a) => {
|
|
|
2712
2712
|
onMouseEnter: () => g(X),
|
|
2713
2713
|
children: [
|
|
2714
2714
|
/* @__PURE__ */ e("span", { className: F.icon, children: R("region") }),
|
|
2715
|
-
/* @__PURE__ */ e("div", { className: F.suggestionContent, children: /* @__PURE__ */ e("div", { className: F.suggestionName, children:
|
|
2715
|
+
/* @__PURE__ */ e("div", { className: F.suggestionContent, children: /* @__PURE__ */ e("div", { className: F.suggestionName, children: U(N.name, t) }) })
|
|
2716
2716
|
]
|
|
2717
2717
|
},
|
|
2718
2718
|
`region-${N.name}-${V}`
|
|
@@ -2732,7 +2732,7 @@ const Ou = (t, a) => {
|
|
|
2732
2732
|
onMouseEnter: () => g(X),
|
|
2733
2733
|
children: [
|
|
2734
2734
|
/* @__PURE__ */ e("span", { className: F.icon, children: R("country") }),
|
|
2735
|
-
/* @__PURE__ */ e("div", { className: F.suggestionContent, children: /* @__PURE__ */ e("div", { className: F.suggestionName, children:
|
|
2735
|
+
/* @__PURE__ */ e("div", { className: F.suggestionContent, children: /* @__PURE__ */ e("div", { className: F.suggestionName, children: U(N.name, t) }) })
|
|
2736
2736
|
]
|
|
2737
2737
|
},
|
|
2738
2738
|
`country-${N.name}-${V}`
|
|
@@ -2753,7 +2753,7 @@ const Ou = (t, a) => {
|
|
|
2753
2753
|
children: [
|
|
2754
2754
|
/* @__PURE__ */ e("span", { className: F.icon, children: R("hotel") }),
|
|
2755
2755
|
/* @__PURE__ */ c("div", { className: F.suggestionContent, children: [
|
|
2756
|
-
/* @__PURE__ */ e("div", { className: F.suggestionName, children:
|
|
2756
|
+
/* @__PURE__ */ e("div", { className: F.suggestionName, children: U(N.name, t) }),
|
|
2757
2757
|
N.city && /* @__PURE__ */ c("div", { className: F.suggestionMeta, children: [
|
|
2758
2758
|
N.city,
|
|
2759
2759
|
N.region && `, ${N.region}`
|
|
@@ -2785,7 +2785,7 @@ const Ou = (t, a) => {
|
|
|
2785
2785
|
value: n,
|
|
2786
2786
|
onChange: s
|
|
2787
2787
|
}) => {
|
|
2788
|
-
const { t: r } =
|
|
2788
|
+
const { t: r } = de(), i = [
|
|
2789
2789
|
{ value: "relevance", labelKey: "filter.relevance", defaultLabel: "Relevance" },
|
|
2790
2790
|
{ value: "price_asc", labelKey: "filter.price-low-high", defaultLabel: "Price low to high" },
|
|
2791
2791
|
{ value: "price_desc", labelKey: "filter.price-high-low", defaultLabel: "Price high to low" },
|
|
@@ -2793,7 +2793,7 @@ const Ou = (t, a) => {
|
|
|
2793
2793
|
], o = (l) => {
|
|
2794
2794
|
s(l), a();
|
|
2795
2795
|
};
|
|
2796
|
-
return
|
|
2796
|
+
return Et.useEffect(() => {
|
|
2797
2797
|
if (t)
|
|
2798
2798
|
return document.body.style.overflow = "hidden", () => {
|
|
2799
2799
|
document.body.style.overflow = "";
|
|
@@ -2807,7 +2807,7 @@ const Ou = (t, a) => {
|
|
|
2807
2807
|
/* @__PURE__ */ c("div", { className: Ze.header, children: [
|
|
2808
2808
|
/* @__PURE__ */ e("h2", { className: Ze.title, children: r("subheadline.sort-by", "Sort by") }),
|
|
2809
2809
|
/* @__PURE__ */ e(
|
|
2810
|
-
|
|
2810
|
+
ke,
|
|
2811
2811
|
{
|
|
2812
2812
|
variant: "secondary",
|
|
2813
2813
|
size: "small",
|
|
@@ -2868,7 +2868,7 @@ const Ou = (t, a) => {
|
|
|
2868
2868
|
] }), Ac = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
2869
2869
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_1116_37956)", children: /* @__PURE__ */ e("path", { d: "M20 1.875C20 1.55078 19.832 1.25 19.5586 1.07813C19.2852 0.906252 18.9375 0.890627 18.6484 1.03516L13.7695 3.44141L7.03125 1.14844C6.49609 0.964846 5.91016 1 5.39453 1.23828L0.539063 3.52735C0.210938 3.67969 0 4.01172 0 4.375V18.125C0 18.4453 0.164063 18.7461 0.433594 18.918C0.703125 19.0898 1.04297 19.1094 1.33594 18.9727L6.30859 16.6328L12.9766 18.8555C13.5117 19.0352 14.0898 19 14.6016 18.7578L19.4609 16.4727C19.7891 16.3164 20 15.9883 20 15.625V1.875ZM5.625 3.20703V14.8867L1.875 16.6523V4.97266L5.625 3.20703ZM7.5 15.0547V3.29297L12.5 4.99219V16.7227L7.5 15.0547ZM14.375 5.23438L18.125 3.38281V15.0313L14.375 16.7969V5.23438Z", fill: "#1F2937" }) }),
|
|
2870
2870
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1116_37956", children: /* @__PURE__ */ e("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
2871
|
-
] }), Wc = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ e("path", { d: "M6.625 0C7.24844 0 7.75 0.501562 7.75 1.125V3H15.25V1.125C15.25 0.501562 15.7516 0 16.375 0C16.9984 0 17.5 0.501562 17.5 1.125V3H19C20.6547 3 22 4.34531 22 6V19.5C22 21.1547 20.6547 22.5 19 22.5H4C2.34531 22.5 1 21.1547 1 19.5V6C1 4.34531 2.34531 3 4 3H5.5V1.125C5.5 0.501562 6.00156 0 6.625 0ZM19 20.25C19.4125 20.25 19.75 19.9125 19.75 19.5V16.5H15.625V20.25H19ZM19.75 14.25V10.5H15.625V14.25H19.75ZM13.375 14.25V10.5H9.625V14.25H13.375ZM7.375 14.25V10.5H3.25V14.25H7.375ZM3.25 16.5V19.5C3.25 19.9125 3.5875 20.25 4 20.25H7.375V16.5H3.25ZM9.625 16.5V20.25H13.375V16.5H9.625ZM6.625 5.25H4C3.5875 5.25 3.25 5.5875 3.25 6V8.25H19.75V6C19.75 5.5875 19.4125 5.25 19 5.25H6.625Z", fill: "#4B5563" }) }), Tc = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ e("path", { d: "M8.25 6C8.25 5.00544 8.64509 4.05161 9.34835 3.34835C10.0516 2.64509 11.0054 2.25 12 2.25C12.9946 2.25 13.9484 2.64509 14.6517 3.34835C15.3549 4.05161 15.75 5.00544 15.75 6C15.75 6.99456 15.3549 7.94839 14.6517 8.65165C13.9484 9.35491 12.9946 9.75 12 9.75C11.0054 9.75 10.0516 9.35491 9.34835 8.65165C8.64509 7.94839 8.25 6.99456 8.25 6ZM18 6C18 4.4087 17.3679 2.88258 16.2426 1.75736C15.1174 0.632141 13.5913 0 12 0C10.4087 0 8.88258 0.632141 7.75736 1.75736C6.63214 2.88258 6 4.4087 6 6C6 7.5913 6.63214 9.11742 7.75736 10.2426C8.88258 11.3679 10.4087 12 12 12C13.5913 12 15.1174 11.3679 16.2426 10.2426C17.3679 9.11742 18 7.5913 18 6ZM3.75 22.5C3.75 19.1859 6.43594 16.5 9.75 16.5H14.25C17.5641 16.5 20.25 19.1859 20.25 22.5V22.875C20.25 23.4984 20.7516 24 21.375 24C21.9984 24 22.5 23.4984 22.5 22.875V22.5C22.5 17.9438 18.8062 14.25 14.25 14.25H9.75C5.19375 14.25 1.5 17.9438 1.5 22.5V22.875C1.5 23.4984 2.00156 24 2.625 24C3.24844 24 3.75 23.4984 3.75 22.875V22.5Z", fill: "#4B5563" }) }),
|
|
2871
|
+
] }), Wc = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ e("path", { d: "M6.625 0C7.24844 0 7.75 0.501562 7.75 1.125V3H15.25V1.125C15.25 0.501562 15.7516 0 16.375 0C16.9984 0 17.5 0.501562 17.5 1.125V3H19C20.6547 3 22 4.34531 22 6V19.5C22 21.1547 20.6547 22.5 19 22.5H4C2.34531 22.5 1 21.1547 1 19.5V6C1 4.34531 2.34531 3 4 3H5.5V1.125C5.5 0.501562 6.00156 0 6.625 0ZM19 20.25C19.4125 20.25 19.75 19.9125 19.75 19.5V16.5H15.625V20.25H19ZM19.75 14.25V10.5H15.625V14.25H19.75ZM13.375 14.25V10.5H9.625V14.25H13.375ZM7.375 14.25V10.5H3.25V14.25H7.375ZM3.25 16.5V19.5C3.25 19.9125 3.5875 20.25 4 20.25H7.375V16.5H3.25ZM9.625 16.5V20.25H13.375V16.5H9.625ZM6.625 5.25H4C3.5875 5.25 3.25 5.5875 3.25 6V8.25H19.75V6C19.75 5.5875 19.4125 5.25 19 5.25H6.625Z", fill: "#4B5563" }) }), Tc = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ e("path", { d: "M8.25 6C8.25 5.00544 8.64509 4.05161 9.34835 3.34835C10.0516 2.64509 11.0054 2.25 12 2.25C12.9946 2.25 13.9484 2.64509 14.6517 3.34835C15.3549 4.05161 15.75 5.00544 15.75 6C15.75 6.99456 15.3549 7.94839 14.6517 8.65165C13.9484 9.35491 12.9946 9.75 12 9.75C11.0054 9.75 10.0516 9.35491 9.34835 8.65165C8.64509 7.94839 8.25 6.99456 8.25 6ZM18 6C18 4.4087 17.3679 2.88258 16.2426 1.75736C15.1174 0.632141 13.5913 0 12 0C10.4087 0 8.88258 0.632141 7.75736 1.75736C6.63214 2.88258 6 4.4087 6 6C6 7.5913 6.63214 9.11742 7.75736 10.2426C8.88258 11.3679 10.4087 12 12 12C13.5913 12 15.1174 11.3679 16.2426 10.2426C17.3679 9.11742 18 7.5913 18 6ZM3.75 22.5C3.75 19.1859 6.43594 16.5 9.75 16.5H14.25C17.5641 16.5 20.25 19.1859 20.25 22.5V22.875C20.25 23.4984 20.7516 24 21.375 24C21.9984 24 22.5 23.4984 22.5 22.875V22.5C22.5 17.9438 18.8062 14.25 14.25 14.25H9.75C5.19375 14.25 1.5 17.9438 1.5 22.5V22.875C1.5 23.4984 2.00156 24 2.625 24C3.24844 24 3.75 23.4984 3.75 22.875V22.5Z", fill: "#4B5563" }) }), Ut = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "16", viewBox: "0 0 24 16", fill: "none", children: /* @__PURE__ */ e("path", { d: "M8.55417 0C7.84583 0 7.16667 0.279167 6.66667 0.779167L0.391667 7.05833C0.141667 7.30833 0 7.64583 0 8C0 8.35417 0.141667 8.69167 0.391667 8.94167L6.66667 15.2208C7.16667 15.7208 7.84583 16 8.55417 16H21.3333C22.8042 16 24 14.8042 24 13.3333V2.66667C24 1.19583 22.8042 0 21.3333 0H8.55417ZM22 2.66667V13.3333C22 13.7 21.7 14 21.3333 14H8.55417C8.37917 14 8.20833 13.9292 8.08333 13.8042L2.275 8L8.07917 2.19583C8.20417 2.07083 8.375 2 8.55 2H21.3333C21.7 2 22 2.3 22 2.66667ZM11.8375 5.17083C11.4458 5.5625 11.4458 6.19583 11.8375 6.58333L13.25 7.99583L11.8375 9.40833C11.4458 9.8 11.4458 10.4333 11.8375 10.8208C12.2292 11.2083 12.8625 11.2125 13.25 10.8208L14.6625 9.40833L16.075 10.8208C16.4667 11.2125 17.1 11.2125 17.4875 10.8208C17.875 10.4292 17.8792 9.79583 17.4875 9.40833L16.075 7.99583L17.4875 6.58333C17.8792 6.19167 17.8792 5.55833 17.4875 5.17083C17.0958 4.78333 16.4625 4.77917 16.075 5.17083L14.6625 6.58333L13.25 5.17083C12.8583 4.77917 12.225 4.77917 11.8375 5.17083Z", fill: "#1F2937" }) }), Yu = ({
|
|
2872
2872
|
onSearch: t,
|
|
2873
2873
|
onGuestChange: a,
|
|
2874
2874
|
onQueryChange: n,
|
|
@@ -2889,23 +2889,23 @@ const Ou = (t, a) => {
|
|
|
2889
2889
|
initialDateRange: L = null,
|
|
2890
2890
|
initialMonthFilter: g = null,
|
|
2891
2891
|
initialDestinationMode: M = "",
|
|
2892
|
-
initialRegionsFilter:
|
|
2892
|
+
initialRegionsFilter: x = [],
|
|
2893
2893
|
initialCoordinates: C,
|
|
2894
|
-
disabled:
|
|
2894
|
+
disabled: S = !1,
|
|
2895
2895
|
viewMode: E = "list",
|
|
2896
2896
|
onViewModeChange: W,
|
|
2897
2897
|
hideViewToggle: D = !1,
|
|
2898
2898
|
compact: v = !1
|
|
2899
2899
|
}) => {
|
|
2900
|
-
const { isDesktop: Y } =
|
|
2900
|
+
const { isDesktop: Y } = bt(), { t: y } = de(), [H, P] = $(_), [A, B] = $(w), [R, U] = $(m), [K, ae] = $(L), [q, te] = $(g), [Z, j] = $(M), [se, N] = $(x), [V, X] = $([]), [fe, re] = $(C), J = JSON.stringify([w, _, L, g, M, x, C]), b = me(J);
|
|
2901
2901
|
ee(() => {
|
|
2902
|
-
B(w), P(_), ae(L), te(g), j(M), N(
|
|
2903
|
-
}, [w, _, L, g, M,
|
|
2904
|
-
const
|
|
2902
|
+
b.current !== J && (b.current = J, B(w), P(_), ae(L), te(g), j(M), N(x), re(C));
|
|
2903
|
+
}, [J, w, _, L, g, M, x, C]);
|
|
2904
|
+
const I = (Q) => {
|
|
2905
2905
|
Q.preventDefault();
|
|
2906
|
-
const
|
|
2907
|
-
if (
|
|
2908
|
-
X(
|
|
2906
|
+
const pe = Le();
|
|
2907
|
+
if (pe.length > 0) {
|
|
2908
|
+
X(pe);
|
|
2909
2909
|
return;
|
|
2910
2910
|
}
|
|
2911
2911
|
t({
|
|
@@ -2913,57 +2913,57 @@ const Ou = (t, a) => {
|
|
|
2913
2913
|
// Empty string means "search all" - "Anywhere" is display-only
|
|
2914
2914
|
guests: A,
|
|
2915
2915
|
petFilter: R,
|
|
2916
|
-
dateRange:
|
|
2916
|
+
dateRange: K,
|
|
2917
2917
|
monthFilter: q,
|
|
2918
|
-
coordinates:
|
|
2918
|
+
coordinates: fe,
|
|
2919
2919
|
regionsFilter: se,
|
|
2920
2920
|
destinationMode: Z
|
|
2921
2921
|
});
|
|
2922
|
-
},
|
|
2922
|
+
}, oe = (Q) => {
|
|
2923
2923
|
B(Q);
|
|
2924
|
-
},
|
|
2925
|
-
const Q = [],
|
|
2926
|
-
for (let
|
|
2927
|
-
const Ve =
|
|
2924
|
+
}, Le = () => {
|
|
2925
|
+
const Q = [], pe = Array.isArray(A.childrenAges) ? A.childrenAges : [];
|
|
2926
|
+
for (let Ne = 0; Ne < A.children; Ne++) {
|
|
2927
|
+
const Ve = pe[Ne];
|
|
2928
2928
|
Ve == null && Q.push({
|
|
2929
|
-
index:
|
|
2929
|
+
index: Ne,
|
|
2930
2930
|
message: y("form.age-error")
|
|
2931
2931
|
});
|
|
2932
2932
|
}
|
|
2933
2933
|
return Q;
|
|
2934
|
-
},
|
|
2934
|
+
}, ue = () => H.trim() || y("label.anywhere"), Ye = () => {
|
|
2935
2935
|
P(""), j(""), N([]), re(void 0);
|
|
2936
|
-
},
|
|
2936
|
+
}, Ge = (Q) => {
|
|
2937
2937
|
Q.stopPropagation(), ae(null), te(null), t({
|
|
2938
2938
|
query: H.trim(),
|
|
2939
2939
|
guests: A,
|
|
2940
2940
|
petFilter: R,
|
|
2941
2941
|
dateRange: null,
|
|
2942
2942
|
monthFilter: null,
|
|
2943
|
-
coordinates:
|
|
2943
|
+
coordinates: fe,
|
|
2944
2944
|
regionsFilter: se,
|
|
2945
2945
|
destinationMode: Z
|
|
2946
2946
|
});
|
|
2947
|
-
},
|
|
2947
|
+
}, Re = (Q) => {
|
|
2948
2948
|
Q.stopPropagation();
|
|
2949
|
-
const
|
|
2950
|
-
B(
|
|
2949
|
+
const pe = { adults: 2, children: 0, childrenAges: [] };
|
|
2950
|
+
B(pe), t({
|
|
2951
2951
|
query: H.trim(),
|
|
2952
|
-
guests:
|
|
2952
|
+
guests: pe,
|
|
2953
2953
|
petFilter: R,
|
|
2954
|
-
dateRange:
|
|
2954
|
+
dateRange: K,
|
|
2955
2955
|
monthFilter: q,
|
|
2956
|
-
coordinates:
|
|
2956
|
+
coordinates: fe,
|
|
2957
2957
|
regionsFilter: se,
|
|
2958
2958
|
destinationMode: Z
|
|
2959
2959
|
});
|
|
2960
|
-
},
|
|
2960
|
+
}, Ue = (Q) => {
|
|
2961
2961
|
P(Q);
|
|
2962
|
-
},
|
|
2963
|
-
ae(Q), te(
|
|
2964
|
-
const
|
|
2965
|
-
if (
|
|
2966
|
-
X(
|
|
2962
|
+
}, Ct = (Q, pe) => {
|
|
2963
|
+
ae(Q), te(pe);
|
|
2964
|
+
const Ne = Le();
|
|
2965
|
+
if (Ne.length > 0) {
|
|
2966
|
+
X(Ne);
|
|
2967
2967
|
return;
|
|
2968
2968
|
}
|
|
2969
2969
|
t({
|
|
@@ -2971,17 +2971,17 @@ const Ou = (t, a) => {
|
|
|
2971
2971
|
guests: A,
|
|
2972
2972
|
petFilter: R,
|
|
2973
2973
|
dateRange: Q,
|
|
2974
|
-
monthFilter:
|
|
2975
|
-
coordinates:
|
|
2974
|
+
monthFilter: pe,
|
|
2975
|
+
coordinates: fe,
|
|
2976
2976
|
regionsFilter: se,
|
|
2977
2977
|
destinationMode: Z
|
|
2978
2978
|
});
|
|
2979
|
-
},
|
|
2980
|
-
B(Q),
|
|
2981
|
-
const
|
|
2979
|
+
}, yt = (Q, pe) => {
|
|
2980
|
+
B(Q), U(pe);
|
|
2981
|
+
const Ne = Array.isArray(Q.childrenAges) ? Q.childrenAges : [], Ve = [];
|
|
2982
2982
|
for (let Ae = 0; Ae < Q.children; Ae++) {
|
|
2983
|
-
const
|
|
2984
|
-
|
|
2983
|
+
const Qe = Ne[Ae];
|
|
2984
|
+
Qe == null && Ve.push({ index: Ae, message: y("form.age-error") });
|
|
2985
2985
|
}
|
|
2986
2986
|
if (Ve.length > 0) {
|
|
2987
2987
|
X(Ve);
|
|
@@ -2990,39 +2990,39 @@ const Ou = (t, a) => {
|
|
|
2990
2990
|
t({
|
|
2991
2991
|
query: H.trim(),
|
|
2992
2992
|
guests: Q,
|
|
2993
|
-
petFilter:
|
|
2994
|
-
dateRange:
|
|
2993
|
+
petFilter: pe,
|
|
2994
|
+
dateRange: K,
|
|
2995
2995
|
monthFilter: q,
|
|
2996
|
-
coordinates:
|
|
2996
|
+
coordinates: fe,
|
|
2997
2997
|
regionsFilter: se,
|
|
2998
2998
|
destinationMode: Z
|
|
2999
2999
|
});
|
|
3000
3000
|
};
|
|
3001
3001
|
H.trim();
|
|
3002
|
-
const
|
|
3003
|
-
return Y ? /* @__PURE__ */ e("form", { onSubmit:
|
|
3002
|
+
const kt = K !== null || q !== null && q.length > 0, Xe = A.adults !== 2 || A.children !== 0;
|
|
3003
|
+
return Y ? /* @__PURE__ */ e("form", { onSubmit: I, className: `${le.container} ${v ? le.containerCompact : ""}`, children: /* @__PURE__ */ c("div", { className: le.inputsContainer, children: [
|
|
3004
3004
|
/* @__PURE__ */ e("div", { className: le.inputWrapper, children: /* @__PURE__ */ e(
|
|
3005
3005
|
tc,
|
|
3006
3006
|
{
|
|
3007
3007
|
value: H,
|
|
3008
|
-
onChange:
|
|
3008
|
+
onChange: Ue,
|
|
3009
3009
|
onAutocomplete: i,
|
|
3010
|
-
onClose:
|
|
3011
|
-
onSubmit: (Q,
|
|
3012
|
-
let
|
|
3013
|
-
N(
|
|
3010
|
+
onClose: Ye,
|
|
3011
|
+
onSubmit: (Q, pe, Ne, Ve, Ae) => {
|
|
3012
|
+
let Qe = Ne ? [`region_${Ne}`] : [];
|
|
3013
|
+
N(Qe), j(Ae || ""), re(pe ?? void 0), Ae && (o == null || o(Ae)), l == null || l(Qe), pe && (d == null || d(pe)), t({
|
|
3014
3014
|
query: Ve ? Q.trim() : "",
|
|
3015
3015
|
guests: A,
|
|
3016
3016
|
petFilter: R,
|
|
3017
|
-
dateRange:
|
|
3017
|
+
dateRange: K,
|
|
3018
3018
|
monthFilter: q,
|
|
3019
|
-
coordinates:
|
|
3020
|
-
regionsFilter:
|
|
3019
|
+
coordinates: pe,
|
|
3020
|
+
regionsFilter: Qe,
|
|
3021
3021
|
destinationMode: Ae
|
|
3022
3022
|
});
|
|
3023
3023
|
},
|
|
3024
3024
|
placeholder: y("label.anywhere"),
|
|
3025
|
-
disabled:
|
|
3025
|
+
disabled: S,
|
|
3026
3026
|
className: le.input
|
|
3027
3027
|
}
|
|
3028
3028
|
) }),
|
|
@@ -3031,7 +3031,7 @@ const Ou = (t, a) => {
|
|
|
3031
3031
|
/* @__PURE__ */ e(
|
|
3032
3032
|
Co,
|
|
3033
3033
|
{
|
|
3034
|
-
initialDateRange:
|
|
3034
|
+
initialDateRange: K || { start: null, end: null },
|
|
3035
3035
|
initialMonthFilter: q,
|
|
3036
3036
|
onChange: (Q) => {
|
|
3037
3037
|
ae(Q), Q && (s == null || s(Q));
|
|
@@ -3039,20 +3039,20 @@ const Ou = (t, a) => {
|
|
|
3039
3039
|
onMonthFilterChange: (Q) => {
|
|
3040
3040
|
te(Q), Q && (r == null || r(Q));
|
|
3041
3041
|
},
|
|
3042
|
-
onClose:
|
|
3043
|
-
disabled:
|
|
3042
|
+
onClose: Ct,
|
|
3043
|
+
disabled: S,
|
|
3044
3044
|
className: le.control,
|
|
3045
3045
|
icon: /* @__PURE__ */ e(Wc, {})
|
|
3046
3046
|
}
|
|
3047
3047
|
),
|
|
3048
|
-
|
|
3048
|
+
kt && /* @__PURE__ */ e(
|
|
3049
3049
|
"button",
|
|
3050
3050
|
{
|
|
3051
3051
|
type: "button",
|
|
3052
3052
|
className: le.clearButton,
|
|
3053
|
-
onClick:
|
|
3053
|
+
onClick: Ge,
|
|
3054
3054
|
"aria-label": y("label.clear", "Clear date"),
|
|
3055
|
-
children: /* @__PURE__ */ e(
|
|
3055
|
+
children: /* @__PURE__ */ e(Ut, {})
|
|
3056
3056
|
}
|
|
3057
3057
|
)
|
|
3058
3058
|
] }),
|
|
@@ -3063,33 +3063,33 @@ const Ou = (t, a) => {
|
|
|
3063
3063
|
{
|
|
3064
3064
|
initialGuests: A,
|
|
3065
3065
|
initialPetValue: R,
|
|
3066
|
-
onChange:
|
|
3067
|
-
onPetChange:
|
|
3068
|
-
onClose:
|
|
3069
|
-
disabled:
|
|
3066
|
+
onChange: oe,
|
|
3067
|
+
onPetChange: U,
|
|
3068
|
+
onClose: yt,
|
|
3069
|
+
disabled: S,
|
|
3070
3070
|
className: le.control,
|
|
3071
3071
|
icon: /* @__PURE__ */ e(Tc, {}),
|
|
3072
3072
|
childAgeErrors: V
|
|
3073
3073
|
}
|
|
3074
3074
|
),
|
|
3075
|
-
|
|
3075
|
+
Xe && /* @__PURE__ */ e(
|
|
3076
3076
|
"button",
|
|
3077
3077
|
{
|
|
3078
3078
|
type: "button",
|
|
3079
3079
|
className: le.clearButton,
|
|
3080
|
-
onClick:
|
|
3080
|
+
onClick: Re,
|
|
3081
3081
|
"aria-label": y("label.clear", "Clear guests"),
|
|
3082
|
-
children: /* @__PURE__ */ e(
|
|
3082
|
+
children: /* @__PURE__ */ e(Ut, {})
|
|
3083
3083
|
}
|
|
3084
3084
|
)
|
|
3085
3085
|
] }),
|
|
3086
3086
|
/* @__PURE__ */ e("div", { className: le.buttonWrapper, children: /* @__PURE__ */ e(
|
|
3087
|
-
|
|
3087
|
+
ke,
|
|
3088
3088
|
{
|
|
3089
3089
|
variant: "primary",
|
|
3090
3090
|
size: "small",
|
|
3091
3091
|
type: "submit",
|
|
3092
|
-
disabled:
|
|
3092
|
+
disabled: S,
|
|
3093
3093
|
children: y("button.search")
|
|
3094
3094
|
}
|
|
3095
3095
|
) })
|
|
@@ -3100,11 +3100,11 @@ const Ou = (t, a) => {
|
|
|
3100
3100
|
type: "button",
|
|
3101
3101
|
className: le.mobileSummary,
|
|
3102
3102
|
onClick: f,
|
|
3103
|
-
disabled:
|
|
3103
|
+
disabled: S,
|
|
3104
3104
|
children: [
|
|
3105
3105
|
/* @__PURE__ */ e("span", { className: le.mobileSummaryIcon, children: /* @__PURE__ */ e(Dc, {}) }),
|
|
3106
3106
|
/* @__PURE__ */ c("div", { className: le.mobileSummaryText, children: [
|
|
3107
|
-
/* @__PURE__ */ e("span", { className: le.mobileSummaryTitle, children:
|
|
3107
|
+
/* @__PURE__ */ e("span", { className: le.mobileSummaryTitle, children: ue() }),
|
|
3108
3108
|
/* @__PURE__ */ c("span", { className: le.mobileSummarySubtitle, children: [
|
|
3109
3109
|
u(),
|
|
3110
3110
|
" · ",
|
|
@@ -3121,7 +3121,7 @@ const Ou = (t, a) => {
|
|
|
3121
3121
|
type: "button",
|
|
3122
3122
|
className: le.mobileActionButton,
|
|
3123
3123
|
onClick: p,
|
|
3124
|
-
disabled:
|
|
3124
|
+
disabled: S,
|
|
3125
3125
|
children: [
|
|
3126
3126
|
/* @__PURE__ */ e(Ic, {}),
|
|
3127
3127
|
/* @__PURE__ */ e("span", { children: y("label.filter") })
|
|
@@ -3136,7 +3136,7 @@ const Ou = (t, a) => {
|
|
|
3136
3136
|
type: "button",
|
|
3137
3137
|
className: le.mobileActionButton,
|
|
3138
3138
|
onClick: k,
|
|
3139
|
-
disabled:
|
|
3139
|
+
disabled: S,
|
|
3140
3140
|
children: [
|
|
3141
3141
|
/* @__PURE__ */ e(Pc, {}),
|
|
3142
3142
|
/* @__PURE__ */ e("span", { children: y("label.sort") })
|
|
@@ -3151,7 +3151,7 @@ const Ou = (t, a) => {
|
|
|
3151
3151
|
type: "button",
|
|
3152
3152
|
className: le.mobileActionButton,
|
|
3153
3153
|
onClick: () => W == null ? void 0 : W("map"),
|
|
3154
|
-
disabled:
|
|
3154
|
+
disabled: S,
|
|
3155
3155
|
children: [
|
|
3156
3156
|
/* @__PURE__ */ e(Ac, {}),
|
|
3157
3157
|
/* @__PURE__ */ e("span", { children: y("label.map") })
|
|
@@ -3160,7 +3160,7 @@ const Ou = (t, a) => {
|
|
|
3160
3160
|
)
|
|
3161
3161
|
] })
|
|
3162
3162
|
] });
|
|
3163
|
-
}, Ec = 5,
|
|
3163
|
+
}, Ec = 5, Xt = 50, Qt = 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="400" height="300" fill="%23e5e7eb"%3E%3Crect width="400" height="300" /%3E%3C/svg%3E', zc = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: [
|
|
3164
3164
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_building)", children: /* @__PURE__ */ e("path", { d: "M0.75 0C0.334375 0 0 0.334375 0 0.75C0 1.16562 0.334375 1.5 0.75 1.5H1V14.5H0.75C0.334375 14.5 0 14.8344 0 15.25C0 15.6656 0.334375 16 0.75 16H15.25C15.6656 16 16 15.6656 16 15.25C16 14.8344 15.6656 14.5 15.25 14.5H15V1.5H15.25C15.6656 1.5 16 1.16562 16 0.75C16 0.334375 15.6656 0 15.25 0H0.75ZM13.5 14.5H9V12H10.5C10.775 12 11.0031 11.775 10.9594 11.5031C10.7219 10.0844 9.4875 9 8 9C6.5125 9 5.27813 10.0813 5.04063 11.5031C4.99375 11.775 5.22188 12 5.5 12H7V14.5H2.5V1.5H13.5V14.5ZM4.5 3C4.225 3 4 3.225 4 3.5V4.5C4 4.775 4.225 5 4.5 5H5.5C5.775 5 6 4.775 6 4.5V3.5C6 3.225 5.775 3 5.5 3H4.5ZM7 3.5V4.5C7 4.775 7.225 5 7.5 5H8.5C8.775 5 9 4.775 9 4.5V3.5C9 3.225 8.775 3 8.5 3H7.5C7.225 3 7 3.225 7 3.5ZM10.5 3C10.225 3 10 3.225 10 3.5V4.5C10 4.775 10.225 5 10.5 5H11.5C11.775 5 12 4.775 12 4.5V3.5C12 3.225 11.775 3 11.5 3H10.5ZM4 6.5V7.5C4 7.775 4.225 8 4.5 8H5.5C5.775 8 6 7.775 6 7.5V6.5C6 6.225 5.775 6 5.5 6H4.5C4.225 6 4 6.225 4 6.5ZM7.5 6C7.225 6 7 6.225 7 6.5V7.5C7 7.775 7.225 8 7.5 8H8.5C8.775 8 9 7.775 9 7.5V6.5C9 6.225 8.775 6 8.5 6H7.5ZM10 6.5V7.5C10 7.775 10.225 8 10.5 8H11.5C11.775 8 12 7.775 12 7.5V6.5C12 6.225 11.775 6 11.5 6H10.5C10.225 6 10 6.225 10 6.5Z", fill: "white" }) }),
|
|
3165
3165
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_building", children: /* @__PURE__ */ e("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
3166
3166
|
] }), Rc = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ e("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "#1F2937", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), Vc = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ e("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "#1F2937", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), jc = ({ filled: t }) => /* @__PURE__ */ c(
|
|
@@ -3204,14 +3204,14 @@ const Ou = (t, a) => {
|
|
|
3204
3204
|
addToFavorites: "Add to favorites",
|
|
3205
3205
|
previousImage: "Previous image",
|
|
3206
3206
|
nextImage: "Next image"
|
|
3207
|
-
}, o = t.slice(0, Ec), [l, d] = $(0), [h, u] = $(/* @__PURE__ */ new Set()), [f, p] = $(null), [k, _] = $(null), [w, m] = $(!1), L =
|
|
3207
|
+
}, o = t.slice(0, Ec), [l, d] = $(0), [h, u] = $(/* @__PURE__ */ new Set()), [f, p] = $(null), [k, _] = $(null), [w, m] = $(!1), L = me(null), g = (y) => {
|
|
3208
3208
|
u((H) => new Set(H).add(y));
|
|
3209
|
-
}, M = (y) => h.has(y) ?
|
|
3209
|
+
}, M = (y) => h.has(y) ? Qt : o[y] || Qt, x = () => {
|
|
3210
3210
|
d((y) => y === 0 ? o.length - 1 : y - 1);
|
|
3211
3211
|
}, C = () => {
|
|
3212
3212
|
d((y) => y === o.length - 1 ? 0 : y + 1);
|
|
3213
|
-
},
|
|
3214
|
-
y.preventDefault(), y.stopPropagation(),
|
|
3213
|
+
}, S = (y) => {
|
|
3214
|
+
y.preventDefault(), y.stopPropagation(), x();
|
|
3215
3215
|
}, E = (y) => {
|
|
3216
3216
|
y.preventDefault(), y.stopPropagation(), C();
|
|
3217
3217
|
}, W = (y) => {
|
|
@@ -3221,7 +3221,7 @@ const Ou = (t, a) => {
|
|
|
3221
3221
|
}, v = (y) => {
|
|
3222
3222
|
if (y.stopPropagation(), m(!1), !f || !k) return;
|
|
3223
3223
|
const H = f - k;
|
|
3224
|
-
H >
|
|
3224
|
+
H > Xt ? C() : H < -Xt && x(), p(null), _(null);
|
|
3225
3225
|
}, Y = (y) => {
|
|
3226
3226
|
y.preventDefault(), y.stopPropagation(), r();
|
|
3227
3227
|
};
|
|
@@ -3268,7 +3268,7 @@ const Ou = (t, a) => {
|
|
|
3268
3268
|
"button",
|
|
3269
3269
|
{
|
|
3270
3270
|
className: "hc-hotel-card__nav-button hc-hotel-card__nav-button--left",
|
|
3271
|
-
onClick:
|
|
3271
|
+
onClick: S,
|
|
3272
3272
|
"aria-label": i.previousImage,
|
|
3273
3273
|
type: "button",
|
|
3274
3274
|
children: /* @__PURE__ */ e(Rc, {})
|
|
@@ -3301,7 +3301,7 @@ const Ou = (t, a) => {
|
|
|
3301
3301
|
] }), Fc = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ e("path", { d: "M8 1.5C5.51562 1.5 3.5 3.51562 3.5 6C3.5 9.5 8 14 8 14C8 14 12.5 9.5 12.5 6C12.5 3.51562 10.4844 1.5 8 1.5ZM8 7.75C7.0325 7.75 6.25 6.9675 6.25 6C6.25 5.0325 7.0325 4.25 8 4.25C8.9675 4.25 9.75 5.0325 9.75 6C9.75 6.9675 8.9675 7.75 8 7.75Z", fill: "#6B7280" }) }), qc = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: [
|
|
3302
3302
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_breakfast)", children: /* @__PURE__ */ e("path", { d: "M8 1.5C9.525 1.5 10.9281 2.025 12.0344 2.90313L9.4125 5.525L7.975 1.5H8ZM13.0969 3.96563C13.4656 4.43125 13.7719 4.94687 14.0031 5.5H11.5625L13.0969 3.96563ZM10.0594 7H14.3969C15.1875 7 15.8563 6.23438 15.5656 5.39375C14.4844 2.25625 11.5062 0 8 0C3.58125 0 0 3.58125 0 8C0 11.5062 2.25625 14.4844 5.39375 15.5656C6.23438 15.8563 7 15.1875 7 14.3969V10.0594L7.12187 9.9375L7.39375 10.0531C7.8625 10.2531 8.40938 10.15 8.76875 9.7875L9.80625 8.75C10.1469 8.40938 10.2625 7.9 10.1 7.44688L9.97188 7.0875L10.0625 6.99687L10.0594 7ZM5.6375 9.30313L2.90313 12.0344C2.025 10.925 1.5 9.52188 1.5 8C1.5 7.84375 1.50625 7.69062 1.51562 7.5375L5.63438 9.30313H5.6375ZM3.96563 13.0969L5.5 11.5625V14.0031C4.94375 13.7719 4.42813 13.4656 3.96563 13.0969ZM1.80313 6.02812C2.48438 3.8875 4.24687 2.225 6.45 1.6875L8.63437 7.80625L7.82812 8.6125L1.80313 6.03125V6.02812Z", fill: "#006962" }) }),
|
|
3303
3303
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_breakfast", children: /* @__PURE__ */ e("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
3304
|
-
] }), Yc = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ e("path", { d: "M0.838695 4.18584L2.62218 6.00458C2.85502 6.24202 3.23153 6.24202 3.4619 6.00458C3.69227 5.76713 3.69474 5.38317 3.4619 5.14825L2.69401 4.36518L3.66406 4.36518C3.9974 4.36518 4.33073 4.36518 4.37346 4.36518C4.66406 4.36518 4.66406 4.36518 4.9974 4.36518L5.22309 4.36518H5.22804H11.5644C11.5644 5.25687 12.2753 5.98184 13.1497 5.98184V8.61902C13.5386 8.66196 13.9151 8.83625 14.2123 9.13938L14.3387 9.26821V4.76682C14.3387 3.87513 13.6278 3.15016 12.7533 3.15016H4.37346H2.69649L3.46438 2.3671C3.69722 2.12965 3.69722 1.74569 3.46438 1.51077C3.23153 1.27585 2.85502 1.27332 2.62218 1.50825L0.838695 3.32699C0.605852 3.56443 0.605852 3.94839 0.838695 4.18331V4.18584ZM1.65612 6.73207V11.2335C1.65612 12.1251 2.36704 12.8501 3.24144 12.8501H13.3008L12.5329 13.6332C12.3 13.8706 12.3 14.2546 12.5329 14.4895C12.7657 14.7244 13.1422 14.727 13.3726 14.4895L15.1561 12.6708C15.3889 12.4333 15.3889 12.0494 15.1561 11.8144L13.3726 9.9957C13.1398 9.75826 12.7633 9.75826 12.5329 9.9957C12.3025 10.2331 12.3 10.6171 12.5329 10.852L13.3008 11.6351L12.3307 11.6351C11.974 11.6351 11.9036 11.6351 11.737 11.6351C11.6641 11.6351 11.6354 11.6351 11.5644 11.6351H4.43043C4.43043 10.7434 3.71952 10.0184 2.84511 10.0184V7.38126C2.45622 7.33832 2.0797 7.16402 1.78245 6.8609L1.65612 6.73207ZM10.3754 8.00014C10.3754 7.35699 10.1248 6.74019 9.67888 6.28541C9.23292 5.83064 8.62807 5.57515 7.9974 5.57515C7.36672 5.57515 6.76187 5.83064 6.31591 6.28541C5.86996 6.74019 5.61942 7.35699 5.61942 8.00014C5.61942 8.64329 5.86996 9.26009 6.31591 9.71486C6.76187 10.1696 7.36672 10.4251 7.9974 10.4251C8.62807 10.4251 9.23292 10.1696 9.67888 9.71486C10.1248 9.26009 10.3754 8.64329 10.3754 8.00014Z", fill: "#006962" }) }), Gc = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ e("path", { d: "M13.5 4.5L6 12L2.5 8.5", stroke: "#006962", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }),
|
|
3304
|
+
] }), Yc = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ e("path", { d: "M0.838695 4.18584L2.62218 6.00458C2.85502 6.24202 3.23153 6.24202 3.4619 6.00458C3.69227 5.76713 3.69474 5.38317 3.4619 5.14825L2.69401 4.36518L3.66406 4.36518C3.9974 4.36518 4.33073 4.36518 4.37346 4.36518C4.66406 4.36518 4.66406 4.36518 4.9974 4.36518L5.22309 4.36518H5.22804H11.5644C11.5644 5.25687 12.2753 5.98184 13.1497 5.98184V8.61902C13.5386 8.66196 13.9151 8.83625 14.2123 9.13938L14.3387 9.26821V4.76682C14.3387 3.87513 13.6278 3.15016 12.7533 3.15016H4.37346H2.69649L3.46438 2.3671C3.69722 2.12965 3.69722 1.74569 3.46438 1.51077C3.23153 1.27585 2.85502 1.27332 2.62218 1.50825L0.838695 3.32699C0.605852 3.56443 0.605852 3.94839 0.838695 4.18331V4.18584ZM1.65612 6.73207V11.2335C1.65612 12.1251 2.36704 12.8501 3.24144 12.8501H13.3008L12.5329 13.6332C12.3 13.8706 12.3 14.2546 12.5329 14.4895C12.7657 14.7244 13.1422 14.727 13.3726 14.4895L15.1561 12.6708C15.3889 12.4333 15.3889 12.0494 15.1561 11.8144L13.3726 9.9957C13.1398 9.75826 12.7633 9.75826 12.5329 9.9957C12.3025 10.2331 12.3 10.6171 12.5329 10.852L13.3008 11.6351L12.3307 11.6351C11.974 11.6351 11.9036 11.6351 11.737 11.6351C11.6641 11.6351 11.6354 11.6351 11.5644 11.6351H4.43043C4.43043 10.7434 3.71952 10.0184 2.84511 10.0184V7.38126C2.45622 7.33832 2.0797 7.16402 1.78245 6.8609L1.65612 6.73207ZM10.3754 8.00014C10.3754 7.35699 10.1248 6.74019 9.67888 6.28541C9.23292 5.83064 8.62807 5.57515 7.9974 5.57515C7.36672 5.57515 6.76187 5.83064 6.31591 6.28541C5.86996 6.74019 5.61942 7.35699 5.61942 8.00014C5.61942 8.64329 5.86996 9.26009 6.31591 9.71486C6.76187 10.1696 7.36672 10.4251 7.9974 10.4251C8.62807 10.4251 9.23292 10.1696 9.67888 9.71486C10.1248 9.26009 10.3754 8.64329 10.3754 8.00014Z", fill: "#006962" }) }), Gc = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ e("path", { d: "M13.5 4.5L6 12L2.5 8.5", stroke: "#006962", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), Kc = () => /* @__PURE__ */ e("svg", { width: "32", height: "24", viewBox: "0 0 36 38", fill: "#478EFA", className: "hc-hotel-card__rating-badge-bg", children: /* @__PURE__ */ e("path", { d: "M4 0C1.79086 0 0 1.79086 0 4V32V38L9 32H32C34.2091 32 36 30.2091 36 28V0H4Z" }) }), Jc = ({
|
|
3305
3305
|
name: t,
|
|
3306
3306
|
stars: a,
|
|
3307
3307
|
isSuperior: n = !1,
|
|
@@ -3313,7 +3313,7 @@ const Ou = (t, a) => {
|
|
|
3313
3313
|
isAvailable: d = !0,
|
|
3314
3314
|
onClick: h
|
|
3315
3315
|
}) => {
|
|
3316
|
-
const { t: u } =
|
|
3316
|
+
const { t: u } = de(), f = {
|
|
3317
3317
|
ratingExcellent: u("label.rating-excellent", "Excellent"),
|
|
3318
3318
|
ratingVeryGood: u("label.rating-very-good", "Very good"),
|
|
3319
3319
|
ratingGood: u("label.rating-good", "Good"),
|
|
@@ -3362,7 +3362,7 @@ const Ou = (t, a) => {
|
|
|
3362
3362
|
s > 0 && /* @__PURE__ */ c("div", { className: "hc-hotel-card__rating-wrapper", children: [
|
|
3363
3363
|
/* @__PURE__ */ e("span", { className: "hc-hotel-card__rating-text", children: p(s) }),
|
|
3364
3364
|
/* @__PURE__ */ c("div", { className: "hc-hotel-card__rating-badge", children: [
|
|
3365
|
-
/* @__PURE__ */ e(
|
|
3365
|
+
/* @__PURE__ */ e(Kc, {}),
|
|
3366
3366
|
/* @__PURE__ */ e("span", { className: "hc-hotel-card__rating-number", children: s.toFixed(1) })
|
|
3367
3367
|
] })
|
|
3368
3368
|
] })
|
|
@@ -3401,7 +3401,7 @@ const Ou = (t, a) => {
|
|
|
3401
3401
|
onContentClick: n,
|
|
3402
3402
|
className: s
|
|
3403
3403
|
}) => /* @__PURE__ */ c(
|
|
3404
|
-
|
|
3404
|
+
xt,
|
|
3405
3405
|
{
|
|
3406
3406
|
hoverable: !0,
|
|
3407
3407
|
borderRadius: 24,
|
|
@@ -3419,7 +3419,7 @@ const Ou = (t, a) => {
|
|
|
3419
3419
|
),
|
|
3420
3420
|
t.usp && /* @__PURE__ */ e("div", { className: "hc-hotel-card__usp-banner", children: t.usp }),
|
|
3421
3421
|
/* @__PURE__ */ e(
|
|
3422
|
-
|
|
3422
|
+
Jc,
|
|
3423
3423
|
{
|
|
3424
3424
|
name: t.name,
|
|
3425
3425
|
stars: t.stars,
|
|
@@ -3435,7 +3435,7 @@ const Ou = (t, a) => {
|
|
|
3435
3435
|
)
|
|
3436
3436
|
]
|
|
3437
3437
|
}
|
|
3438
|
-
), Uc = () => /* @__PURE__ */ c(
|
|
3438
|
+
), Uc = () => /* @__PURE__ */ c(St, { className: "hc-hotel-card-skeleton--horizontal", children: [
|
|
3439
3439
|
/* @__PURE__ */ e("div", { className: "hc-hotel-card-skeleton__rating hc-skeleton" }),
|
|
3440
3440
|
/* @__PURE__ */ e("div", { className: "hc-hotel-card-skeleton__name hc-skeleton" }),
|
|
3441
3441
|
/* @__PURE__ */ e("div", { className: "hc-hotel-card-skeleton__location hc-skeleton" }),
|
|
@@ -3504,7 +3504,7 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3504
3504
|
}, bl = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
|
|
3505
3505
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_location_content)", children: /* @__PURE__ */ e("path", { d: "M9.75 2.25C11.7391 2.25 13.6468 3.04018 15.0533 4.4467C16.4598 5.85322 17.25 7.76088 17.25 9.75C17.25 11.7391 16.4598 13.6468 15.0533 15.0533C13.6468 16.4598 11.7391 17.25 9.75 17.25C7.76088 17.25 5.85322 16.4598 4.4467 15.0533C3.04018 13.6468 2.25 11.7391 2.25 9.75C2.25 7.76088 3.04018 5.85322 4.4467 4.4467C5.85322 3.04018 7.76088 2.25 9.75 2.25ZM9.75 19.5C12.0375 19.5 14.1422 18.7125 15.8016 17.3953L22.0781 23.6719C22.5187 24.1125 23.2312 24.1125 23.6672 23.6719C24.1031 23.2313 24.1078 22.5188 23.6672 22.0828L17.3953 15.8016C18.7125 14.1422 19.5 12.0375 19.5 9.75C19.5 4.36406 15.1359 0 9.75 0C4.36406 0 0 4.36406 0 9.75C0 15.1359 4.36406 19.5 9.75 19.5ZM13.5 8.25C13.5 6.17812 11.8219 4.5 9.75 4.5C7.67812 4.5 6 6.17812 6 8.25C6 10.5375 8.17969 13.4813 9.21562 14.7469C9.49687 15.0891 10.0031 15.0891 10.2797 14.7469C11.3156 13.4813 13.4953 10.5375 13.4953 8.25H13.5ZM8.25 8.25C8.25 7.85218 8.40804 7.47064 8.68934 7.18934C8.97064 6.90804 9.35217 6.75 9.75 6.75C10.1478 6.75 10.5294 6.90804 10.8107 7.18934C11.092 7.47064 11.25 7.85218 11.25 8.25C11.25 8.64782 11.092 9.02936 10.8107 9.31066C10.5294 9.59196 10.1478 9.75 9.75 9.75C9.35217 9.75 8.97064 9.59196 8.68934 9.31066C8.40804 9.02936 8.25 8.64782 8.25 8.25Z", fill: "currentColor" }) }),
|
|
3506
3506
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_location_content", children: /* @__PURE__ */ e("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
3507
|
-
] }), Cl = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "16", viewBox: "0 0 24 16", fill: "none", children: /* @__PURE__ */ e("path", { d: "M8.55417 0C7.84583 0 7.16667 0.279167 6.66667 0.779167L0.391667 7.05833C0.141667 7.30833 0 7.64583 0 8C0 8.35417 0.141667 8.69167 0.391667 8.94167L6.66667 15.2208C7.16667 15.7208 7.84583 16 8.55417 16H21.3333C22.8042 16 24 14.8042 24 13.3333V2.66667C24 1.19583 22.8042 0 21.3333 0H8.55417ZM22 2.66667V13.3333C22 13.7 21.7 14 21.3333 14H8.55417C8.37917 14 8.20833 13.9292 8.08333 13.8042L2.275 8L8.07917 2.19583C8.20417 2.07083 8.375 2 8.55 2H21.3333C21.7 2 22 2.3 22 2.66667ZM11.8375 5.17083C11.4458 5.5625 11.4458 6.19583 11.8375 6.58333L13.25 7.99583L11.8375 9.40833C11.4458 9.8 11.4458 10.4333 11.8375 10.8208C12.2292 11.2083 12.8625 11.2125 13.25 10.8208L14.6625 9.40833L16.075 10.8208C16.4667 11.2125 17.1 11.2125 17.4875 10.8208C17.875 10.4292 17.8792 9.79583 17.4875 9.40833L16.075 7.99583L17.4875 6.58333C17.8792 6.19167 17.8792 5.55833 17.4875 5.17083C17.0958 4.78333 16.4625 4.77917 16.075 5.17083L14.6625 6.58333L13.25 5.17083C12.8583 4.77917 12.225 4.77917 11.8375 5.17083Z", fill: "#1F2937" }) }),
|
|
3507
|
+
] }), Cl = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "16", viewBox: "0 0 24 16", fill: "none", children: /* @__PURE__ */ e("path", { d: "M8.55417 0C7.84583 0 7.16667 0.279167 6.66667 0.779167L0.391667 7.05833C0.141667 7.30833 0 7.64583 0 8C0 8.35417 0.141667 8.69167 0.391667 8.94167L6.66667 15.2208C7.16667 15.7208 7.84583 16 8.55417 16H21.3333C22.8042 16 24 14.8042 24 13.3333V2.66667C24 1.19583 22.8042 0 21.3333 0H8.55417ZM22 2.66667V13.3333C22 13.7 21.7 14 21.3333 14H8.55417C8.37917 14 8.20833 13.9292 8.08333 13.8042L2.275 8L8.07917 2.19583C8.20417 2.07083 8.375 2 8.55 2H21.3333C21.7 2 22 2.3 22 2.66667ZM11.8375 5.17083C11.4458 5.5625 11.4458 6.19583 11.8375 6.58333L13.25 7.99583L11.8375 9.40833C11.4458 9.8 11.4458 10.4333 11.8375 10.8208C12.2292 11.2083 12.8625 11.2125 13.25 10.8208L14.6625 9.40833L16.075 10.8208C16.4667 11.2125 17.1 11.2125 17.4875 10.8208C17.875 10.4292 17.8792 9.79583 17.4875 9.40833L16.075 7.99583L17.4875 6.58333C17.8792 6.19167 17.8792 5.55833 17.4875 5.17083C17.0958 4.78333 16.4625 4.77917 16.075 5.17083L14.6625 6.58333L13.25 5.17083C12.8583 4.77917 12.225 4.77917 11.8375 5.17083Z", fill: "#1F2937" }) }), en = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
3508
3508
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_1151_67394_content)", children: /* @__PURE__ */ e("path", { d: "M8.125 1.875C9.7826 1.875 11.3723 2.53348 12.5444 3.70558C13.7165 4.87768 14.375 6.4674 14.375 8.125C14.375 9.7826 13.7165 11.3723 12.5444 12.5444C11.3723 13.7165 9.7826 14.375 8.125 14.375C6.4674 14.375 4.87768 13.7165 3.70558 12.5444C2.53348 11.3723 1.875 9.7826 1.875 8.125C1.875 6.4674 2.53348 4.87768 3.70558 3.70558C4.87768 2.53348 6.4674 1.875 8.125 1.875ZM8.125 16.25C10.0312 16.25 11.7852 15.5937 13.168 14.4961L18.3984 19.7266C18.7656 20.0937 19.3594 20.0937 19.7227 19.7266C20.0859 19.3594 20.0898 18.7656 19.7227 18.4023L14.4961 13.168C15.5937 11.7852 16.25 10.0312 16.25 8.125C16.25 3.63672 12.6133 0 8.125 0C3.63672 0 0 3.63672 0 8.125C0 12.6133 3.63672 16.25 8.125 16.25ZM11.25 6.875C11.25 5.14844 9.85156 3.75 8.125 3.75C6.39844 3.75 5 5.14844 5 6.875C5 8.78125 6.81641 11.2344 7.67969 12.2891C7.91406 12.5742 8.33594 12.5742 8.56641 12.2891C9.42969 11.2344 11.2461 8.78125 11.2461 6.875H11.25ZM6.875 6.875C6.875 6.54348 7.0067 6.22554 7.24112 5.99112C7.47554 5.7567 7.79348 5.625 8.125 5.625C8.45652 5.625 8.77446 5.7567 9.00888 5.99112C9.2433 6.22554 9.375 6.54348 9.375 6.875C9.375 7.20652 9.2433 7.52446 9.00888 7.75888C8.77446 7.9933 8.45652 8.125 8.125 8.125C7.79348 8.125 7.47554 7.9933 7.24112 7.75888C7.0067 7.52446 6.875 7.20652 6.875 6.875Z", fill: "currentColor" }) }),
|
|
3509
3509
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1151_67394_content", children: /* @__PURE__ */ e("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
3510
3510
|
] }), yl = () => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
@@ -3533,10 +3533,10 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3533
3533
|
showInput: d = !0,
|
|
3534
3534
|
inputRef: h
|
|
3535
3535
|
}) => {
|
|
3536
|
-
const { t: u, apiBaseUrl: f, locale: p } =
|
|
3537
|
-
const b = k.filter((
|
|
3538
|
-
return { hotels: b, cities: I, regions: oe, countries:
|
|
3539
|
-
}, [k]), H =
|
|
3536
|
+
const { t: u, apiBaseUrl: f, locale: p } = de(), [k, _] = $([]), [w, m] = $(-1), [L, g] = $(!1), [M, x] = $(!1), [C, S] = $(!1), E = me(null), W = h || E, D = me(), v = me(null), Y = M || t.trim().length > 0, y = rt(() => {
|
|
3537
|
+
const b = k.filter((ue) => ue.type === "hotel"), I = k.filter((ue) => ue.type === "city"), oe = k.filter((ue) => ue.type === "region"), Le = k.filter((ue) => ue.type === "country");
|
|
3538
|
+
return { hotels: b, cities: I, regions: oe, countries: Le };
|
|
3539
|
+
}, [k]), H = rt(() => [
|
|
3540
3540
|
...[
|
|
3541
3541
|
{ type: "anywhere", name: u("label.anywhere") },
|
|
3542
3542
|
{ type: "nearme", name: u("label.nearby") }
|
|
@@ -3567,34 +3567,34 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3567
3567
|
}), [t]), ee(() => {
|
|
3568
3568
|
if (o === "expanded") return;
|
|
3569
3569
|
const b = (I) => {
|
|
3570
|
-
v.current && !v.current.contains(I.target) && W.current && !W.current.contains(I.target) &&
|
|
3570
|
+
v.current && !v.current.contains(I.target) && W.current && !W.current.contains(I.target) && S(!1);
|
|
3571
3571
|
};
|
|
3572
3572
|
return document.addEventListener("mousedown", b), () => document.removeEventListener("mousedown", b);
|
|
3573
3573
|
}, [o]);
|
|
3574
3574
|
const A = (b) => {
|
|
3575
|
-
a(b.target.value),
|
|
3575
|
+
a(b.target.value), S(!0);
|
|
3576
3576
|
}, B = (b) => {
|
|
3577
3577
|
var I;
|
|
3578
3578
|
b.stopPropagation(), a(""), (I = W.current) == null || I.focus(), s();
|
|
3579
3579
|
}, R = (b) => {
|
|
3580
3580
|
if (b.type === "anywhere") {
|
|
3581
|
-
a(""),
|
|
3581
|
+
a(""), S(!1), n("");
|
|
3582
3582
|
return;
|
|
3583
3583
|
}
|
|
3584
3584
|
if (b.type === "nearme") {
|
|
3585
|
-
|
|
3585
|
+
K();
|
|
3586
3586
|
return;
|
|
3587
3587
|
}
|
|
3588
|
-
const I = b, oe = I.name,
|
|
3589
|
-
a(oe), n(oe,
|
|
3590
|
-
},
|
|
3588
|
+
const I = b, oe = I.name, Le = U(I), ue = I.type === "region" ? I.id : void 0;
|
|
3589
|
+
a(oe), n(oe, Le, ue, I.type), S(!1);
|
|
3590
|
+
}, U = (b) => {
|
|
3591
3591
|
if (!(!(b != null && b.latitude) || !(b != null && b.longitude)))
|
|
3592
3592
|
return {
|
|
3593
3593
|
lat: b.latitude,
|
|
3594
3594
|
lng: b.longitude
|
|
3595
3595
|
};
|
|
3596
|
-
},
|
|
3597
|
-
if (
|
|
3596
|
+
}, K = () => {
|
|
3597
|
+
if (S(!1), !navigator.geolocation) {
|
|
3598
3598
|
console.warn("Geolocation not supported"), a(""), n("");
|
|
3599
3599
|
return;
|
|
3600
3600
|
}
|
|
@@ -3617,7 +3617,7 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3617
3617
|
);
|
|
3618
3618
|
}, ae = (b) => {
|
|
3619
3619
|
if (!C || H.length === 0) {
|
|
3620
|
-
(b.key === "ArrowDown" || b.key === "ArrowUp") &&
|
|
3620
|
+
(b.key === "ArrowDown" || b.key === "ArrowUp") && S(!0);
|
|
3621
3621
|
return;
|
|
3622
3622
|
}
|
|
3623
3623
|
switch (b.key) {
|
|
@@ -3633,7 +3633,7 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3633
3633
|
b.preventDefault(), w >= 0 && w < H.length && R(H[w]);
|
|
3634
3634
|
break;
|
|
3635
3635
|
case "Escape":
|
|
3636
|
-
b.preventDefault(),
|
|
3636
|
+
b.preventDefault(), S(!1), m(-1);
|
|
3637
3637
|
break;
|
|
3638
3638
|
}
|
|
3639
3639
|
}, q = (b) => {
|
|
@@ -3647,11 +3647,11 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3647
3647
|
case "country":
|
|
3648
3648
|
return /* @__PURE__ */ e(Ml, {});
|
|
3649
3649
|
case "anywhere":
|
|
3650
|
-
return /* @__PURE__ */ e(
|
|
3650
|
+
return /* @__PURE__ */ e(en, {});
|
|
3651
3651
|
case "nearme":
|
|
3652
3652
|
return /* @__PURE__ */ e(yl, {});
|
|
3653
3653
|
default:
|
|
3654
|
-
return /* @__PURE__ */ e(
|
|
3654
|
+
return /* @__PURE__ */ e(en, {});
|
|
3655
3655
|
}
|
|
3656
3656
|
}, te = (b) => {
|
|
3657
3657
|
if (b)
|
|
@@ -3659,21 +3659,21 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3659
3659
|
}, Z = (b, I) => {
|
|
3660
3660
|
if (!I || I.length < 2)
|
|
3661
3661
|
return /* @__PURE__ */ e("span", { children: b });
|
|
3662
|
-
const oe = b.toLowerCase(),
|
|
3663
|
-
if (
|
|
3662
|
+
const oe = b.toLowerCase(), Le = I.toLowerCase(), ue = oe.indexOf(Le);
|
|
3663
|
+
if (ue === -1)
|
|
3664
3664
|
return /* @__PURE__ */ e("span", { children: b });
|
|
3665
|
-
const Ye = b.slice(0,
|
|
3665
|
+
const Ye = b.slice(0, ue), Ge = b.slice(ue, ue + I.length), Re = b.slice(ue + I.length);
|
|
3666
3666
|
return /* @__PURE__ */ c("span", { children: [
|
|
3667
3667
|
Ye,
|
|
3668
3668
|
/* @__PURE__ */ e("span", { className: O.suggestionNameBold, children: Ge }),
|
|
3669
3669
|
Re
|
|
3670
3670
|
] });
|
|
3671
|
-
}, se = 2, N = se + y.cities.length, V = N + y.regions.length, X = V + y.countries.length,
|
|
3671
|
+
}, se = 2, N = se + y.cities.length, V = N + y.regions.length, X = V + y.countries.length, fe = k.length > 0, re = t.length >= 2 && !fe && !L, J = [
|
|
3672
3672
|
O.container,
|
|
3673
3673
|
o === "expanded" ? O.containerExpanded : O.containerDropdown,
|
|
3674
3674
|
l
|
|
3675
3675
|
].filter(Boolean).join(" ");
|
|
3676
|
-
return /* @__PURE__ */ c("div", { className:
|
|
3676
|
+
return /* @__PURE__ */ c("div", { className: J, children: [
|
|
3677
3677
|
d && /* @__PURE__ */ c("div", { className: O.inputWrapper, children: [
|
|
3678
3678
|
/* @__PURE__ */ e("span", { className: `${O.inputIcon} ${Y ? O.inputIconActive : ""}`, children: /* @__PURE__ */ e(bl, {}) }),
|
|
3679
3679
|
/* @__PURE__ */ e(
|
|
@@ -3685,9 +3685,9 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3685
3685
|
onChange: A,
|
|
3686
3686
|
onKeyDown: ae,
|
|
3687
3687
|
onFocus: () => {
|
|
3688
|
-
|
|
3688
|
+
x(!0), S(!0);
|
|
3689
3689
|
},
|
|
3690
|
-
onBlur: () =>
|
|
3690
|
+
onBlur: () => x(!1),
|
|
3691
3691
|
placeholder: (
|
|
3692
3692
|
// In expanded variant (mobile modal), never show placeholder while active
|
|
3693
3693
|
// In dropdown variant, only show placeholder when not focused
|
|
@@ -3713,8 +3713,8 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3713
3713
|
] }),
|
|
3714
3714
|
L && /* @__PURE__ */ e("div", { className: O.loadingIndicator, children: /* @__PURE__ */ e("span", { children: u("search_form.searching") }) }),
|
|
3715
3715
|
C && /* @__PURE__ */ c("div", { ref: v, className: O.resultsContainer, children: [
|
|
3716
|
-
!
|
|
3717
|
-
!
|
|
3716
|
+
!fe && !re && /* @__PURE__ */ e("div", { className: O.dropdownHeader, children: u("general.suggested-destinations") }),
|
|
3717
|
+
!fe && !re && /* @__PURE__ */ c("div", { className: O.section, children: [
|
|
3718
3718
|
/* @__PURE__ */ c(
|
|
3719
3719
|
"button",
|
|
3720
3720
|
{
|
|
@@ -3733,7 +3733,7 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3733
3733
|
{
|
|
3734
3734
|
type: "button",
|
|
3735
3735
|
className: `${O.suggestion} ${w === 1 ? O.suggestionSelected : ""}`,
|
|
3736
|
-
onClick:
|
|
3736
|
+
onClick: K,
|
|
3737
3737
|
onMouseEnter: () => m(1),
|
|
3738
3738
|
children: [
|
|
3739
3739
|
/* @__PURE__ */ e("span", { className: O.suggestionIcon, children: q("nearme") }),
|
|
@@ -3834,7 +3834,7 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3834
3834
|
re && /* @__PURE__ */ e("div", { className: O.emptyState, children: u("dropdown.no-results") })
|
|
3835
3835
|
] })
|
|
3836
3836
|
] });
|
|
3837
|
-
}, xl = "_overlay_twsc1_19", Sl = "_modal_twsc1_34", Hl = "_header_twsc1_49", Bl = "_closeButton_twsc1_57", Dl = "_content_twsc1_86", Il = "_whereSection_twsc1_102", Pl = "_sectionTitle_twsc1_118", Al = "_collapsibleSection_twsc1_297", Wl = "_expandedContent_twsc1_320", Tl = "_collapsibleLabel_twsc1_326", El = "_collapsibleValue_twsc1_338", zl = "_footer_twsc1_356", Rl = "_searchButton_twsc1_366", Vl = "_whenSection_twsc1_416", jl = "_whoGuestSection_twsc1_434",
|
|
3837
|
+
}, xl = "_overlay_twsc1_19", Sl = "_modal_twsc1_34", Hl = "_header_twsc1_49", Bl = "_closeButton_twsc1_57", Dl = "_content_twsc1_86", Il = "_whereSection_twsc1_102", Pl = "_sectionTitle_twsc1_118", Al = "_collapsibleSection_twsc1_297", Wl = "_expandedContent_twsc1_320", Tl = "_collapsibleLabel_twsc1_326", El = "_collapsibleValue_twsc1_338", zl = "_footer_twsc1_356", Rl = "_searchButton_twsc1_366", Vl = "_whenSection_twsc1_416", jl = "_whoGuestSection_twsc1_434", he = {
|
|
3838
3838
|
overlay: xl,
|
|
3839
3839
|
modal: Sl,
|
|
3840
3840
|
header: Hl,
|
|
@@ -3863,7 +3863,7 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3863
3863
|
getGuestsDisplay: h,
|
|
3864
3864
|
showHeader: u = !0
|
|
3865
3865
|
}) => {
|
|
3866
|
-
const { t: f } =
|
|
3866
|
+
const { t: f } = de(), [p, k] = $(n), [_, w] = $(s), [m, L] = $(r), [g, M] = $(i), [x, C] = $(o), [S, E] = $(void 0), [W, D] = $([]), [v, Y] = $(""), [y, H] = $([]), [P, A] = $("where");
|
|
3867
3867
|
ee(() => {
|
|
3868
3868
|
w(s), k(n), C(o), M(i);
|
|
3869
3869
|
}, [s, n, o, i]);
|
|
@@ -3888,14 +3888,14 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3888
3888
|
guests: _,
|
|
3889
3889
|
petFilter: m,
|
|
3890
3890
|
dateRange: g,
|
|
3891
|
-
monthFilter:
|
|
3892
|
-
coordinates:
|
|
3891
|
+
monthFilter: x,
|
|
3892
|
+
coordinates: S,
|
|
3893
3893
|
regionsFilter: W,
|
|
3894
3894
|
destinationMode: v
|
|
3895
3895
|
}), a();
|
|
3896
|
-
},
|
|
3896
|
+
}, U = (j, se, N, V) => {
|
|
3897
3897
|
k(j), E(se), D(N ? [`region_${N}`] : []), d == null || d(j), A("when"), Y(V || "");
|
|
3898
|
-
},
|
|
3898
|
+
}, K = (j) => {
|
|
3899
3899
|
w(j), j.children !== _.children && H([]);
|
|
3900
3900
|
}, ae = (j) => {
|
|
3901
3901
|
L(j);
|
|
@@ -3904,39 +3904,39 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3904
3904
|
}, te = (j) => new Date(j).toLocaleDateString("en-GB", {
|
|
3905
3905
|
day: "2-digit",
|
|
3906
3906
|
month: "short"
|
|
3907
|
-
}), Z = () => g != null && g.start && (g != null && g.end) ? `${te(g.start)} - ${te(g.end)}` :
|
|
3908
|
-
return /* @__PURE__ */ c("div", { className:
|
|
3909
|
-
u && /* @__PURE__ */ e("div", { className:
|
|
3907
|
+
}), Z = () => g != null && g.start && (g != null && g.end) ? `${te(g.start)} - ${te(g.end)}` : x && x.length > 0 ? x.length === 1 ? x[0] : `${x.length} ${f("label.months")}` : f("label.anytime");
|
|
3908
|
+
return /* @__PURE__ */ c("div", { className: he.modal, children: [
|
|
3909
|
+
u && /* @__PURE__ */ e("div", { className: he.header, children: /* @__PURE__ */ e(
|
|
3910
3910
|
"button",
|
|
3911
3911
|
{
|
|
3912
3912
|
type: "button",
|
|
3913
3913
|
onClick: a,
|
|
3914
|
-
className:
|
|
3914
|
+
className: he.closeButton,
|
|
3915
3915
|
"aria-label": f("modal.close_search"),
|
|
3916
3916
|
children: /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15", fill: "none", children: /* @__PURE__ */ e("path", { d: "M0.275391 1.59961C-0.0917969 1.23242 -0.0917969 0.638672 0.275391 0.275391C0.642578 -0.0878906 1.23633 -0.0917969 1.59961 0.275391L7.49805 6.17383L13.3965 0.275391C13.7637 -0.0917969 14.3574 -0.0917969 14.7207 0.275391C15.084 0.642578 15.0879 1.23633 14.7207 1.59961L8.82226 7.49805L14.7207 13.3965C15.0879 13.7637 15.0879 14.3574 14.7207 14.7207C14.3535 15.084 13.7598 15.0879 13.3965 14.7207L7.49805 8.82226L1.59961 14.7207C1.23242 15.0879 0.638672 15.0879 0.275391 14.7207C-0.0878906 14.3535 -0.0917969 13.7598 0.275391 13.3965L6.17383 7.49805L0.275391 1.59961Z", fill: "#1F2937" }) })
|
|
3917
3917
|
}
|
|
3918
3918
|
) }),
|
|
3919
|
-
/* @__PURE__ */ c("div", { className:
|
|
3919
|
+
/* @__PURE__ */ c("div", { className: he.content, children: [
|
|
3920
3920
|
P !== "where" && /* @__PURE__ */ c(
|
|
3921
3921
|
"button",
|
|
3922
3922
|
{
|
|
3923
3923
|
type: "button",
|
|
3924
3924
|
onClick: () => A("where"),
|
|
3925
|
-
className:
|
|
3925
|
+
className: he.collapsibleSection,
|
|
3926
3926
|
children: [
|
|
3927
|
-
/* @__PURE__ */ e("span", { className:
|
|
3928
|
-
/* @__PURE__ */ e("span", { className:
|
|
3927
|
+
/* @__PURE__ */ e("span", { className: he.collapsibleLabel, children: f("label.where") }),
|
|
3928
|
+
/* @__PURE__ */ e("span", { className: he.collapsibleValue, children: p || f("label.anywhere") })
|
|
3929
3929
|
]
|
|
3930
3930
|
}
|
|
3931
3931
|
),
|
|
3932
|
-
P === "where" && /* @__PURE__ */ e("div", { className:
|
|
3933
|
-
/* @__PURE__ */ e("h2", { className:
|
|
3932
|
+
P === "where" && /* @__PURE__ */ e("div", { className: he.expandedContent, children: /* @__PURE__ */ c("div", { className: he.whereSection, children: [
|
|
3933
|
+
/* @__PURE__ */ e("h2", { className: he.sectionTitle, children: f("label.where") }),
|
|
3934
3934
|
/* @__PURE__ */ e(
|
|
3935
3935
|
Ll,
|
|
3936
3936
|
{
|
|
3937
3937
|
value: p,
|
|
3938
3938
|
onChange: k,
|
|
3939
|
-
onSelect:
|
|
3939
|
+
onSelect: U,
|
|
3940
3940
|
onClear: () => k(""),
|
|
3941
3941
|
placeholder: f("label.anywhere"),
|
|
3942
3942
|
showInput: !0,
|
|
@@ -3949,18 +3949,18 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3949
3949
|
{
|
|
3950
3950
|
type: "button",
|
|
3951
3951
|
onClick: () => A("when"),
|
|
3952
|
-
className:
|
|
3952
|
+
className: he.collapsibleSection,
|
|
3953
3953
|
children: [
|
|
3954
|
-
/* @__PURE__ */ e("span", { className:
|
|
3955
|
-
/* @__PURE__ */ e("span", { className:
|
|
3954
|
+
/* @__PURE__ */ e("span", { className: he.collapsibleLabel, children: f("label.when") }),
|
|
3955
|
+
/* @__PURE__ */ e("span", { className: he.collapsibleValue, children: Z() })
|
|
3956
3956
|
]
|
|
3957
3957
|
}
|
|
3958
3958
|
),
|
|
3959
|
-
P === "when" && /* @__PURE__ */ e("div", { className:
|
|
3960
|
-
|
|
3959
|
+
P === "when" && /* @__PURE__ */ e("div", { className: he.expandedContent, children: /* @__PURE__ */ e("div", { className: he.whenSection, children: /* @__PURE__ */ e(
|
|
3960
|
+
bn,
|
|
3961
3961
|
{
|
|
3962
3962
|
initialDateRange: g || { start: null, end: null },
|
|
3963
|
-
initialMonthFilter:
|
|
3963
|
+
initialMonthFilter: x,
|
|
3964
3964
|
onChange: (j) => {
|
|
3965
3965
|
M(j), j && j.start !== null && j.end !== null && A("who");
|
|
3966
3966
|
},
|
|
@@ -3974,20 +3974,20 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3974
3974
|
{
|
|
3975
3975
|
type: "button",
|
|
3976
3976
|
onClick: () => A("who"),
|
|
3977
|
-
className:
|
|
3977
|
+
className: he.collapsibleSection,
|
|
3978
3978
|
children: [
|
|
3979
|
-
/* @__PURE__ */ e("span", { className:
|
|
3980
|
-
/* @__PURE__ */ e("span", { className:
|
|
3979
|
+
/* @__PURE__ */ e("span", { className: he.collapsibleLabel, children: f("label.who") }),
|
|
3980
|
+
/* @__PURE__ */ e("span", { className: he.collapsibleValue, children: (h == null ? void 0 : h()) ?? `${_.adults + _.children} ${f("form.guests")}` })
|
|
3981
3981
|
]
|
|
3982
3982
|
}
|
|
3983
3983
|
),
|
|
3984
|
-
P === "who" && /* @__PURE__ */ e("div", { className:
|
|
3985
|
-
/* @__PURE__ */ e("h2", { className:
|
|
3984
|
+
P === "who" && /* @__PURE__ */ e("div", { className: he.expandedContent, children: /* @__PURE__ */ c("div", { className: he.whoGuestSection, children: [
|
|
3985
|
+
/* @__PURE__ */ e("h2", { className: he.sectionTitle, children: f("label.who") }),
|
|
3986
3986
|
/* @__PURE__ */ e(
|
|
3987
|
-
|
|
3987
|
+
Cn,
|
|
3988
3988
|
{
|
|
3989
3989
|
guests: _,
|
|
3990
|
-
onChange:
|
|
3990
|
+
onChange: K,
|
|
3991
3991
|
petFilter: m,
|
|
3992
3992
|
onPetChange: ae,
|
|
3993
3993
|
showPetToggle: !0,
|
|
@@ -3997,9 +3997,9 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
3997
3997
|
)
|
|
3998
3998
|
] }) })
|
|
3999
3999
|
] }),
|
|
4000
|
-
/* @__PURE__ */ e("div", { className:
|
|
4000
|
+
/* @__PURE__ */ e("div", { className: he.footer, children: /* @__PURE__ */ e("button", { type: "button", onClick: R, className: he.searchButton, children: /* @__PURE__ */ e("span", { children: f("button.search") }) }) })
|
|
4001
4001
|
] });
|
|
4002
|
-
},
|
|
4002
|
+
}, Ku = ({
|
|
4003
4003
|
isOpen: t,
|
|
4004
4004
|
onClose: a,
|
|
4005
4005
|
onSearch: n,
|
|
@@ -4011,7 +4011,7 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
4011
4011
|
onChange: d,
|
|
4012
4012
|
onQueryChange: h,
|
|
4013
4013
|
getGuestsDisplay: u
|
|
4014
|
-
}) => t ? /* @__PURE__ */ e("div", { className:
|
|
4014
|
+
}) => t ? /* @__PURE__ */ e("div", { className: he.overlay, children: /* @__PURE__ */ e(
|
|
4015
4015
|
Zl,
|
|
4016
4016
|
{
|
|
4017
4017
|
onSearch: n,
|
|
@@ -4026,14 +4026,14 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
4026
4026
|
getGuestsDisplay: u,
|
|
4027
4027
|
showHeader: !0
|
|
4028
4028
|
}
|
|
4029
|
-
) }) : null, Ol = "_section_ztbb3_11", Fl = "_header_ztbb3_15", ql = "_title_ztbb3_27", Yl = "_chevron_ztbb3_42", Gl = "_chevronExpanded_ztbb3_50",
|
|
4029
|
+
) }) : null, Ol = "_section_ztbb3_11", Fl = "_header_ztbb3_15", ql = "_title_ztbb3_27", Yl = "_chevron_ztbb3_42", Gl = "_chevronExpanded_ztbb3_50", Kl = "_content_ztbb3_54", Jl = "_contentExpanded_ztbb3_61", Ul = "_contentInner_ztbb3_65", Xl = "_showAllButton_ztbb3_75", Ql = "_showAllChevron_ztbb3_97", e1 = "_showAllChevronUp_ztbb3_103", Ee = {
|
|
4030
4030
|
section: Ol,
|
|
4031
4031
|
header: Fl,
|
|
4032
4032
|
title: ql,
|
|
4033
4033
|
chevron: Yl,
|
|
4034
4034
|
chevronExpanded: Gl,
|
|
4035
|
-
content:
|
|
4036
|
-
contentExpanded:
|
|
4035
|
+
content: Kl,
|
|
4036
|
+
contentExpanded: Jl,
|
|
4037
4037
|
contentInner: Ul,
|
|
4038
4038
|
showAllButton: Xl,
|
|
4039
4039
|
showAllChevron: Ql,
|
|
@@ -4056,7 +4056,7 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
4056
4056
|
h(!d);
|
|
4057
4057
|
}, k = () => {
|
|
4058
4058
|
f(!u);
|
|
4059
|
-
}, _ =
|
|
4059
|
+
}, _ = Et.Children.toArray(a), w = i && _.length > o, m = w && !u ? _.slice(0, o) : _;
|
|
4060
4060
|
return /* @__PURE__ */ c("div", { className: `${Ee.section} ${l}`, children: [
|
|
4061
4061
|
/* @__PURE__ */ c(
|
|
4062
4062
|
"button",
|
|
@@ -4188,7 +4188,7 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
4188
4188
|
n !== void 0 && /* @__PURE__ */ e("span", { className: `${De.filterCount} ${r ? De.filterCountDisabled : ""}`, children: n })
|
|
4189
4189
|
]
|
|
4190
4190
|
}
|
|
4191
|
-
), m1 = "_filterList_1qqd8_9", f1 = "_showMoreBtn_1qqd8_16", p1 = "_arrowIcon_1qqd8_44", g1 = "_arrowUp_1qqd8_51",
|
|
4191
|
+
), m1 = "_filterList_1qqd8_9", f1 = "_showMoreBtn_1qqd8_16", p1 = "_arrowIcon_1qqd8_44", g1 = "_arrowUp_1qqd8_51", st = {
|
|
4192
4192
|
filterList: m1,
|
|
4193
4193
|
showMoreBtn: f1,
|
|
4194
4194
|
arrowIcon: p1,
|
|
@@ -4200,10 +4200,10 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
4200
4200
|
onChange: s,
|
|
4201
4201
|
className: r = ""
|
|
4202
4202
|
}) => {
|
|
4203
|
-
const { t: i } =
|
|
4203
|
+
const { t: i } = de(), [o, l] = $(!1), d = o ? a : a.slice(0, 5), h = a.length > 5, u = (f) => {
|
|
4204
4204
|
t.includes(f) ? s(t.filter((p) => p !== f)) : s([...t, f]);
|
|
4205
4205
|
};
|
|
4206
|
-
return a.length === 0 ? null : /* @__PURE__ */ c("div", { className: `${
|
|
4206
|
+
return a.length === 0 ? null : /* @__PURE__ */ c("div", { className: `${st.filterList} ${r}`, children: [
|
|
4207
4207
|
d.map((f) => {
|
|
4208
4208
|
const p = String(f.id), k = f.count === 0 && !t.includes(p);
|
|
4209
4209
|
return /* @__PURE__ */ e(
|
|
@@ -4224,14 +4224,14 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
4224
4224
|
"button",
|
|
4225
4225
|
{
|
|
4226
4226
|
type: "button",
|
|
4227
|
-
className:
|
|
4227
|
+
className: st.showMoreBtn,
|
|
4228
4228
|
onClick: () => l(!o),
|
|
4229
4229
|
children: [
|
|
4230
4230
|
o ? i("filter.show-less", "Show less") : i("filter.show-all", "Show all"),
|
|
4231
4231
|
/* @__PURE__ */ e(
|
|
4232
4232
|
"span",
|
|
4233
4233
|
{
|
|
4234
|
-
className: `${
|
|
4234
|
+
className: `${st.arrowIcon} ${o ? st.arrowUp : ""}`,
|
|
4235
4235
|
children: /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ e("path", { d: "M9.36927 13.9061C9.71908 14.2535 10.2847 14.2535 10.6308 13.9061L16.4069 8.1803C16.7567 7.83285 16.7567 7.27102 16.4069 6.92727C16.0571 6.58352 15.4915 6.57983 15.1454 6.92727L10.0019 12.0247L4.85845 6.92727C4.50864 6.57983 3.94299 6.57983 3.5969 6.92727C3.25081 7.27472 3.24709 7.83655 3.5969 8.1803L9.37299 13.9061H9.36927Z", fill: "#114799" }) })
|
|
4236
4236
|
}
|
|
4237
4237
|
)
|
|
@@ -4239,7 +4239,7 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
4239
4239
|
}
|
|
4240
4240
|
)
|
|
4241
4241
|
] });
|
|
4242
|
-
}, w1 = "_filterList_6rz1u_11", v1 = "_starsContainer_6rz1u_18", b1 = "_starIcon_6rz1u_25", C1 = "_footer_6rz1u_31", y1 = "_footerText_6rz1u_36",
|
|
4242
|
+
}, w1 = "_filterList_6rz1u_11", v1 = "_starsContainer_6rz1u_18", b1 = "_starIcon_6rz1u_25", C1 = "_footer_6rz1u_31", y1 = "_footerText_6rz1u_36", gt = {
|
|
4243
4243
|
filterList: w1,
|
|
4244
4244
|
starsContainer: v1,
|
|
4245
4245
|
starIcon: b1,
|
|
@@ -4258,17 +4258,17 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
4258
4258
|
onChange: n,
|
|
4259
4259
|
className: s = ""
|
|
4260
4260
|
}) => {
|
|
4261
|
-
const { t: r } =
|
|
4261
|
+
const { t: r } = de(), i = (o) => {
|
|
4262
4262
|
t.includes(o) ? n(t.filter((l) => l !== o)) : n([...t, o]);
|
|
4263
4263
|
};
|
|
4264
4264
|
return /* @__PURE__ */ c("div", { className: s, children: [
|
|
4265
|
-
/* @__PURE__ */ e("div", { className:
|
|
4265
|
+
/* @__PURE__ */ e("div", { className: gt.filterList, children: k1.map((o) => {
|
|
4266
4266
|
const l = a[o.value], d = l === 0 && !t.includes(o.value);
|
|
4267
4267
|
return /* @__PURE__ */ e(
|
|
4268
4268
|
qe,
|
|
4269
4269
|
{
|
|
4270
4270
|
id: `category-${o.value}`,
|
|
4271
|
-
label: o.stars > 0 ? /* @__PURE__ */ e("div", { className:
|
|
4271
|
+
label: o.stars > 0 ? /* @__PURE__ */ e("div", { className: gt.starsContainer, children: Array.from({ length: o.stars }).map((h, u) => /* @__PURE__ */ e("svg", { className: gt.starIcon, viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ e("path", { d: "M12 0L14.6942 8.2918H23.4127L16.3593 13.4164L19.0534 21.7082L12 16.5836L4.94658 21.7082L7.64074 13.4164L0.587322 8.2918H9.30583L12 0Z" }) }, u)) }) : r(`star_rating.${o.value}`, o.label || o.value),
|
|
4272
4272
|
count: l,
|
|
4273
4273
|
checked: t.includes(o.value),
|
|
4274
4274
|
disabled: d,
|
|
@@ -4278,7 +4278,7 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
4278
4278
|
o.value
|
|
4279
4279
|
);
|
|
4280
4280
|
}) }),
|
|
4281
|
-
/* @__PURE__ */ e("div", { className:
|
|
4281
|
+
/* @__PURE__ */ e("div", { className: gt.footer, children: /* @__PURE__ */ e("span", { className: gt.footerText, children: r("filter.hotellerie-suisse", "Classification by HotellerieSuisse") }) })
|
|
4282
4282
|
] });
|
|
4283
4283
|
}, $1 = ({
|
|
4284
4284
|
selected: t,
|
|
@@ -4290,7 +4290,7 @@ const Qc = "_container_qwg4p_16", el = "_containerDropdown_qwg4p_23", tl = "_con
|
|
|
4290
4290
|
const i = (o) => {
|
|
4291
4291
|
t.includes(o) ? s(t.filter((l) => l !== o)) : s([...t, o]);
|
|
4292
4292
|
};
|
|
4293
|
-
return n.length === 0 ? null : /* @__PURE__ */ e("div", { className: `${
|
|
4293
|
+
return n.length === 0 ? null : /* @__PURE__ */ e("div", { className: `${st.filterList} ${r}`, children: n.map((o) => {
|
|
4294
4294
|
const l = a[o.key], d = l === 0 && !t.includes(o.key);
|
|
4295
4295
|
return /* @__PURE__ */ e(
|
|
4296
4296
|
qe,
|
|
@@ -4379,66 +4379,66 @@ const j1 = ({
|
|
|
4379
4379
|
onDragEnd: d,
|
|
4380
4380
|
debounceDelay: h = 500
|
|
4381
4381
|
}) => {
|
|
4382
|
-
const { t: u, currency: f } =
|
|
4383
|
-
const b =
|
|
4382
|
+
const { t: u, currency: f } = de(), p = o ?? f, k = me(null), [_, w] = $(null), [m, L] = $(!1), g = me(n), M = me(null), [x, C] = $(""), [S, E] = $(""), [W, D] = $(!1), [v, Y] = $(!1), y = a - t, H = y > 0 ? (n.min - t) / y * 100 : 0, P = y > 0 ? (n.max - t) / y * 100 : 100, A = V1(i), B = A.length > 0, R = Math.max(...A, 1), U = ft((J) => {
|
|
4383
|
+
const b = J / A.length * 100, I = (J + 1) / A.length * 100;
|
|
4384
4384
|
return b < P && I > H;
|
|
4385
|
-
}, [A.length, H, P]),
|
|
4385
|
+
}, [A.length, H, P]), K = 12, ae = ft((J) => {
|
|
4386
4386
|
r && (M.current && clearTimeout(M.current), M.current = setTimeout(() => {
|
|
4387
|
-
r(
|
|
4387
|
+
r(J);
|
|
4388
4388
|
}, h));
|
|
4389
|
-
}, [r, h]), q =
|
|
4389
|
+
}, [r, h]), q = ft((J) => {
|
|
4390
4390
|
if (!k.current || !_) return;
|
|
4391
|
-
const b = k.current.getBoundingClientRect(), I = b.width -
|
|
4391
|
+
const b = k.current.getBoundingClientRect(), I = b.width - K * 2, oe = b.left + K, Le = Math.max(0, Math.min(100, (J - oe) / I * 100)), ue = Math.round(t + Le / 100 * y);
|
|
4392
4392
|
let Ye = n.min, Ge = n.max;
|
|
4393
4393
|
if (_ === "min") {
|
|
4394
|
-
const Ue = Math.min(
|
|
4394
|
+
const Ue = Math.min(ue, n.max - 1);
|
|
4395
4395
|
Ye = Math.max(t, Ue);
|
|
4396
4396
|
} else {
|
|
4397
|
-
const Ue = Math.max(
|
|
4397
|
+
const Ue = Math.max(ue, n.min + 1);
|
|
4398
4398
|
Ge = Math.min(a, Ue);
|
|
4399
4399
|
}
|
|
4400
4400
|
const Re = { min: Ye, max: Ge };
|
|
4401
4401
|
s(Re), g.current = Re, m || ae(Re);
|
|
4402
|
-
}, [_, t, a, y, n, s, m, ae]), te = (
|
|
4403
|
-
b.preventDefault(), w(
|
|
4404
|
-
}, Z = (
|
|
4405
|
-
w(
|
|
4406
|
-
}, j =
|
|
4402
|
+
}, [_, t, a, y, n, s, m, ae]), te = (J) => (b) => {
|
|
4403
|
+
b.preventDefault(), w(J), L(!0), l == null || l();
|
|
4404
|
+
}, Z = (J) => () => {
|
|
4405
|
+
w(J), L(!0), l == null || l();
|
|
4406
|
+
}, j = ft(() => {
|
|
4407
4407
|
m && r && r(g.current), w(null), L(!1), d == null || d();
|
|
4408
4408
|
}, [m, r, d]);
|
|
4409
4409
|
ee(() => {
|
|
4410
4410
|
if (!_) return;
|
|
4411
|
-
const
|
|
4411
|
+
const J = (I) => {
|
|
4412
4412
|
q(I.clientX);
|
|
4413
4413
|
}, b = (I) => {
|
|
4414
4414
|
I.preventDefault(), I.touches.length > 0 && q(I.touches[0].clientX);
|
|
4415
4415
|
};
|
|
4416
|
-
return document.addEventListener("mousemove",
|
|
4417
|
-
document.removeEventListener("mousemove",
|
|
4416
|
+
return document.addEventListener("mousemove", J), document.addEventListener("mouseup", j), document.addEventListener("touchmove", b, { passive: !1 }), document.addEventListener("touchend", j), () => {
|
|
4417
|
+
document.removeEventListener("mousemove", J), document.removeEventListener("mouseup", j), document.removeEventListener("touchmove", b), document.removeEventListener("touchend", j), M.current && clearTimeout(M.current);
|
|
4418
4418
|
};
|
|
4419
4419
|
}, [_, q, j]);
|
|
4420
4420
|
const se = () => {
|
|
4421
4421
|
D(!0), C(n.min.toString());
|
|
4422
4422
|
}, N = () => {
|
|
4423
4423
|
Y(!0), E(n.max.toString());
|
|
4424
|
-
}, V = (
|
|
4425
|
-
const b =
|
|
4424
|
+
}, V = (J) => {
|
|
4425
|
+
const b = J.target.value.replace(/[^0-9]/g, "");
|
|
4426
4426
|
C(b);
|
|
4427
|
-
}, X = (
|
|
4428
|
-
const b =
|
|
4427
|
+
}, X = (J) => {
|
|
4428
|
+
const b = J.target.value.replace(/[^0-9]/g, "");
|
|
4429
4429
|
E(b);
|
|
4430
|
-
},
|
|
4430
|
+
}, fe = () => {
|
|
4431
4431
|
D(!1);
|
|
4432
|
-
const
|
|
4433
|
-
if (!isNaN(
|
|
4434
|
-
const I = { min: Math.max(t, Math.min(
|
|
4432
|
+
const J = parseInt(x, 10);
|
|
4433
|
+
if (!isNaN(J)) {
|
|
4434
|
+
const I = { min: Math.max(t, Math.min(J, n.max - 1)), max: n.max };
|
|
4435
4435
|
s(I), r && ae(I);
|
|
4436
4436
|
}
|
|
4437
4437
|
}, re = () => {
|
|
4438
4438
|
Y(!1);
|
|
4439
|
-
const
|
|
4440
|
-
if (!isNaN(
|
|
4441
|
-
const b = Math.min(a, Math.max(
|
|
4439
|
+
const J = parseInt(S, 10);
|
|
4440
|
+
if (!isNaN(J)) {
|
|
4441
|
+
const b = Math.min(a, Math.max(J, n.min + 1)), I = { min: n.min, max: b };
|
|
4442
4442
|
s(I), r && ae(I);
|
|
4443
4443
|
}
|
|
4444
4444
|
};
|
|
@@ -4452,10 +4452,10 @@ const j1 = ({
|
|
|
4452
4452
|
type: "text",
|
|
4453
4453
|
inputMode: "numeric",
|
|
4454
4454
|
className: Ce.priceInput,
|
|
4455
|
-
value: W ?
|
|
4455
|
+
value: W ? x : `${p} ${n.min}`,
|
|
4456
4456
|
onChange: V,
|
|
4457
4457
|
onFocus: se,
|
|
4458
|
-
onBlur:
|
|
4458
|
+
onBlur: fe,
|
|
4459
4459
|
"aria-label": u("filter.min-price", "Minimum price")
|
|
4460
4460
|
}
|
|
4461
4461
|
) }),
|
|
@@ -4466,7 +4466,7 @@ const j1 = ({
|
|
|
4466
4466
|
type: "text",
|
|
4467
4467
|
inputMode: "numeric",
|
|
4468
4468
|
className: Ce.priceInput,
|
|
4469
|
-
value: v ?
|
|
4469
|
+
value: v ? S : `${p} ${n.max}`,
|
|
4470
4470
|
onChange: X,
|
|
4471
4471
|
onFocus: N,
|
|
4472
4472
|
onBlur: re,
|
|
@@ -4474,8 +4474,8 @@ const j1 = ({
|
|
|
4474
4474
|
}
|
|
4475
4475
|
) })
|
|
4476
4476
|
] }),
|
|
4477
|
-
B && /* @__PURE__ */ e("div", { className: Ce.histogram, children: A.map((
|
|
4478
|
-
const I =
|
|
4477
|
+
B && /* @__PURE__ */ e("div", { className: Ce.histogram, children: A.map((J, b) => {
|
|
4478
|
+
const I = J / R * 100, oe = U(b);
|
|
4479
4479
|
return /* @__PURE__ */ e(
|
|
4480
4480
|
"div",
|
|
4481
4481
|
{
|
|
@@ -4529,15 +4529,15 @@ const j1 = ({
|
|
|
4529
4529
|
)
|
|
4530
4530
|
] })
|
|
4531
4531
|
] });
|
|
4532
|
-
}, Z1 = "_filterList_1apqh_13", O1 = "_regionItem_1apqh_19", F1 = "_countryRow_1apqh_25", q1 = "_countryRowExpanded_1apqh_49", Y1 = "_countryInfo_1apqh_59", G1 = "_countryName_1apqh_67",
|
|
4532
|
+
}, Z1 = "_filterList_1apqh_13", O1 = "_regionItem_1apqh_19", F1 = "_countryRow_1apqh_25", q1 = "_countryRowExpanded_1apqh_49", Y1 = "_countryInfo_1apqh_59", G1 = "_countryName_1apqh_67", K1 = "_countBadge_1apqh_77", J1 = "_chevron_1apqh_98", U1 = "_chevronExpanded_1apqh_106", X1 = "_subRegions_1apqh_111", Q1 = "_mobileSelectAllActions_1apqh_125", ed = "_selectAllBtn_1apqh_138", td = "_resetAllBtn_1apqh_139", nd = "_resetDestinationContainer_1apqh_188", ad = "_resetDestinationContent_1apqh_195", sd = "_resetDestinationStyles_1apqh_201", ve = {
|
|
4533
4533
|
filterList: Z1,
|
|
4534
4534
|
regionItem: O1,
|
|
4535
4535
|
countryRow: F1,
|
|
4536
4536
|
countryRowExpanded: q1,
|
|
4537
4537
|
countryInfo: Y1,
|
|
4538
4538
|
countryName: G1,
|
|
4539
|
-
countBadge:
|
|
4540
|
-
chevron:
|
|
4539
|
+
countBadge: K1,
|
|
4540
|
+
chevron: J1,
|
|
4541
4541
|
chevronExpanded: U1,
|
|
4542
4542
|
subRegions: X1,
|
|
4543
4543
|
mobileSelectAllActions: Q1,
|
|
@@ -4557,27 +4557,27 @@ const j1 = ({
|
|
|
4557
4557
|
selectedRegions: l = [],
|
|
4558
4558
|
resetDestinationFilter: d
|
|
4559
4559
|
}) => {
|
|
4560
|
-
const { t: h } =
|
|
4561
|
-
const
|
|
4562
|
-
if (
|
|
4560
|
+
const { t: h } = de(), u = rt(() => !!((i === "hotel" || i === "city" || !i) && (o != null && o.trim())), [i, o, a]), f = ft((g, M) => {
|
|
4561
|
+
const x = g.find((C) => C.value === M);
|
|
4562
|
+
if (x) return x;
|
|
4563
4563
|
for (const C of g)
|
|
4564
4564
|
if (C.subRegions) {
|
|
4565
|
-
const
|
|
4566
|
-
if (
|
|
4565
|
+
const S = f(C.subRegions, M);
|
|
4566
|
+
if (S) return S;
|
|
4567
4567
|
}
|
|
4568
|
-
}, []), [p, k] = $(/* @__PURE__ */ new Set(["country_215"])), _ =
|
|
4568
|
+
}, []), [p, k] = $(/* @__PURE__ */ new Set(["country_215"])), _ = me(!1);
|
|
4569
4569
|
ee(() => {
|
|
4570
4570
|
if (_.current || t.length === 0 || a.length === 0) return;
|
|
4571
4571
|
const g = /* @__PURE__ */ new Set();
|
|
4572
4572
|
t.forEach((M) => {
|
|
4573
|
-
var
|
|
4574
|
-
(
|
|
4573
|
+
var x;
|
|
4574
|
+
(x = M.subRegions) != null && x.some((C) => a.includes(C.value)) && g.add(M.value);
|
|
4575
4575
|
}), g.size > 0 && (k(g), _.current = !0);
|
|
4576
4576
|
}, [t, a]);
|
|
4577
4577
|
const w = (g) => {
|
|
4578
4578
|
k((M) => {
|
|
4579
|
-
const
|
|
4580
|
-
return
|
|
4579
|
+
const x = new Set(M);
|
|
4580
|
+
return x.has(g) ? x.delete(g) : x.add(g), x;
|
|
4581
4581
|
});
|
|
4582
4582
|
}, m = (g) => {
|
|
4583
4583
|
a.includes(g) ? n(a.filter((M) => M !== g)) : n([...a, g]);
|
|
@@ -4589,7 +4589,7 @@ const j1 = ({
|
|
|
4589
4589
|
/* @__PURE__ */ e("p", { className: ve.resetDestinationText, children: h("general.reset-destination", "Reset destination search") })
|
|
4590
4590
|
] }) }),
|
|
4591
4591
|
/* @__PURE__ */ e("div", { className: ve.chips, children: /* @__PURE__ */ e(Ie, { children: (o == null ? void 0 : o.trim()) && /* @__PURE__ */ e(
|
|
4592
|
-
|
|
4592
|
+
zt,
|
|
4593
4593
|
{
|
|
4594
4594
|
label: o,
|
|
4595
4595
|
size: "small",
|
|
@@ -4602,15 +4602,15 @@ const j1 = ({
|
|
|
4602
4602
|
) }) })
|
|
4603
4603
|
] }),
|
|
4604
4604
|
!u && /* @__PURE__ */ e("div", { className: `${ve.filterList} ${s}`, children: t.map((g) => {
|
|
4605
|
-
const M = g.subRegions && g.subRegions.length > 0,
|
|
4605
|
+
const M = g.subRegions && g.subRegions.length > 0, x = p.has(g.value);
|
|
4606
4606
|
return /* @__PURE__ */ c("div", { className: ve.regionItem, children: [
|
|
4607
4607
|
/* @__PURE__ */ c(
|
|
4608
4608
|
"button",
|
|
4609
4609
|
{
|
|
4610
4610
|
type: "button",
|
|
4611
|
-
className: `${ve.countryRow} ${
|
|
4611
|
+
className: `${ve.countryRow} ${x ? ve.countryRowExpanded : ""}`,
|
|
4612
4612
|
onClick: () => w(g.value),
|
|
4613
|
-
"aria-expanded":
|
|
4613
|
+
"aria-expanded": x,
|
|
4614
4614
|
disabled: r,
|
|
4615
4615
|
children: [
|
|
4616
4616
|
/* @__PURE__ */ c("div", { className: ve.countryInfo, children: [
|
|
@@ -4625,17 +4625,17 @@ const j1 = ({
|
|
|
4625
4625
|
height: "20",
|
|
4626
4626
|
viewBox: "0 0 20 20",
|
|
4627
4627
|
fill: "none",
|
|
4628
|
-
className: `${ve.chevron} ${
|
|
4628
|
+
className: `${ve.chevron} ${x ? ve.chevronExpanded : ""}`,
|
|
4629
4629
|
children: /* @__PURE__ */ e("path", { d: "M9.36927 13.9061C9.71908 14.2535 10.2847 14.2535 10.6308 13.9061L16.4069 8.18027C16.7567 7.83283 16.7567 7.271 16.4069 6.92725C16.0571 6.5835 15.4915 6.5798 15.1454 6.92725L10.0019 12.0247L4.85845 6.92725C4.50864 6.5798 3.94299 6.5798 3.5969 6.92725C3.25081 7.2747 3.24709 7.83652 3.5969 8.18027L9.37299 13.9061H9.36927Z", fill: "#6B7280" })
|
|
4630
4630
|
}
|
|
4631
4631
|
)
|
|
4632
4632
|
]
|
|
4633
4633
|
}
|
|
4634
4634
|
),
|
|
4635
|
-
M &&
|
|
4635
|
+
M && x && (() => {
|
|
4636
4636
|
const C = g.subRegions.some(
|
|
4637
4637
|
(W) => W.count === void 0 || W.count > 0
|
|
4638
|
-
),
|
|
4638
|
+
), S = g.subRegions.map((W) => W.value), E = S.some((W) => a.includes(W));
|
|
4639
4639
|
return /* @__PURE__ */ c("div", { className: ve.mobileSelectAllActions, children: [
|
|
4640
4640
|
/* @__PURE__ */ e(
|
|
4641
4641
|
"button",
|
|
@@ -4657,15 +4657,15 @@ const j1 = ({
|
|
|
4657
4657
|
className: ve.resetAllBtn,
|
|
4658
4658
|
disabled: !E,
|
|
4659
4659
|
onClick: () => {
|
|
4660
|
-
n(a.filter((W) => !
|
|
4660
|
+
n(a.filter((W) => !S.includes(W)));
|
|
4661
4661
|
},
|
|
4662
4662
|
children: h("filter.reset", "Reset")
|
|
4663
4663
|
}
|
|
4664
4664
|
)
|
|
4665
4665
|
] });
|
|
4666
4666
|
})(),
|
|
4667
|
-
M &&
|
|
4668
|
-
const
|
|
4667
|
+
M && x && /* @__PURE__ */ e("div", { className: ve.subRegions, children: g.subRegions.map((C) => {
|
|
4668
|
+
const S = (
|
|
4669
4669
|
// Disabled by count
|
|
4670
4670
|
C.count === 0 && !a.includes(C.value) || // Disabled by active place search
|
|
4671
4671
|
r && !a.includes(C.value)
|
|
@@ -4677,7 +4677,7 @@ const j1 = ({
|
|
|
4677
4677
|
label: C.label,
|
|
4678
4678
|
count: C.count,
|
|
4679
4679
|
checked: a.includes(C.value),
|
|
4680
|
-
disabled:
|
|
4680
|
+
disabled: S,
|
|
4681
4681
|
onChange: () => m(C.value),
|
|
4682
4682
|
trackName: `filter-region-${C.value}`
|
|
4683
4683
|
},
|
|
@@ -4687,7 +4687,7 @@ const j1 = ({
|
|
|
4687
4687
|
] }, g.value);
|
|
4688
4688
|
}) })
|
|
4689
4689
|
] });
|
|
4690
|
-
}, id = "_filterRange_1no4c_9", od = "_footer_1no4c_13", cd = "_footerText_1no4c_18",
|
|
4690
|
+
}, id = "_filterRange_1no4c_9", od = "_footer_1no4c_13", cd = "_footerText_1no4c_18", Pt = {
|
|
4691
4691
|
filterRange: id,
|
|
4692
4692
|
footer: od,
|
|
4693
4693
|
footerText: cd
|
|
@@ -4704,11 +4704,11 @@ const j1 = ({
|
|
|
4704
4704
|
className: s = "",
|
|
4705
4705
|
isPlaceSearchActive: r = !1
|
|
4706
4706
|
}) => {
|
|
4707
|
-
const { t: i } =
|
|
4707
|
+
const { t: i } = de(), o = (l) => {
|
|
4708
4708
|
t.includes(l) ? n(t.filter((d) => d !== l)) : n([...t, l]);
|
|
4709
4709
|
};
|
|
4710
4710
|
return /* @__PURE__ */ c("div", { className: s, children: [
|
|
4711
|
-
/* @__PURE__ */ e("div", { className:
|
|
4711
|
+
/* @__PURE__ */ e("div", { className: st.filterList, children: ld.map((l) => {
|
|
4712
4712
|
const d = a[l.value], h = !r && d === 0 && !t.includes(l.value);
|
|
4713
4713
|
return /* @__PURE__ */ e(
|
|
4714
4714
|
qe,
|
|
@@ -4716,7 +4716,7 @@ const j1 = ({
|
|
|
4716
4716
|
id: `review-${l.value}`,
|
|
4717
4717
|
label: /* @__PURE__ */ c(Ie, { children: [
|
|
4718
4718
|
i(l.labelKey, l.value),
|
|
4719
|
-
l.range && /* @__PURE__ */ c("span", { className:
|
|
4719
|
+
l.range && /* @__PURE__ */ c("span", { className: Pt.filterRange, children: [
|
|
4720
4720
|
" ",
|
|
4721
4721
|
l.range
|
|
4722
4722
|
] })
|
|
@@ -4730,9 +4730,9 @@ const j1 = ({
|
|
|
4730
4730
|
l.value
|
|
4731
4731
|
);
|
|
4732
4732
|
}) }),
|
|
4733
|
-
/* @__PURE__ */ e("div", { className:
|
|
4733
|
+
/* @__PURE__ */ e("div", { className: Pt.footer, children: /* @__PURE__ */ e("span", { className: Pt.footerText, children: i("filter.trustyou", "Ratings by TrustYou") }) })
|
|
4734
4734
|
] });
|
|
4735
|
-
}, hd = "_container_12fp3_13", ud = "_chipsWrapper_12fp3_17", md = "_chips_12fp3_17", fd = "_selectedText_12fp3_53", pd = "_footerLink_12fp3_82",
|
|
4735
|
+
}, hd = "_container_12fp3_13", ud = "_chipsWrapper_12fp3_17", md = "_chips_12fp3_17", fd = "_selectedText_12fp3_53", pd = "_footerLink_12fp3_82", _t = {
|
|
4736
4736
|
container: hd,
|
|
4737
4737
|
chipsWrapper: ud,
|
|
4738
4738
|
chips: md,
|
|
@@ -4744,15 +4744,15 @@ const j1 = ({
|
|
|
4744
4744
|
onClearAll: n,
|
|
4745
4745
|
className: s = ""
|
|
4746
4746
|
}) => {
|
|
4747
|
-
const { t: r } =
|
|
4748
|
-
return t.length === 0 ? null : /* @__PURE__ */ e("div", { className: `${
|
|
4749
|
-
/* @__PURE__ */ c("p", { className:
|
|
4747
|
+
const { t: r } = de();
|
|
4748
|
+
return t.length === 0 ? null : /* @__PURE__ */ e("div", { className: `${_t.container} ${s}`, children: /* @__PURE__ */ c("div", { className: _t.chipsWrapper, children: [
|
|
4749
|
+
/* @__PURE__ */ c("p", { className: _t.selectedText, children: [
|
|
4750
4750
|
r("filter.selected", "Selected"),
|
|
4751
4751
|
" "
|
|
4752
4752
|
] }),
|
|
4753
|
-
/* @__PURE__ */ c("div", { className:
|
|
4753
|
+
/* @__PURE__ */ c("div", { className: _t.chips, children: [
|
|
4754
4754
|
t.map((i) => /* @__PURE__ */ e(
|
|
4755
|
-
|
|
4755
|
+
zt,
|
|
4756
4756
|
{
|
|
4757
4757
|
label: i.label,
|
|
4758
4758
|
size: "small",
|
|
@@ -4763,10 +4763,10 @@ const j1 = ({
|
|
|
4763
4763
|
i.id
|
|
4764
4764
|
)),
|
|
4765
4765
|
n && /* @__PURE__ */ e(
|
|
4766
|
-
|
|
4766
|
+
ke,
|
|
4767
4767
|
{
|
|
4768
4768
|
variant: "link",
|
|
4769
|
-
className:
|
|
4769
|
+
className: _t.footerLink,
|
|
4770
4770
|
onClick: n,
|
|
4771
4771
|
children: r("filter.clear-all", "Clear all")
|
|
4772
4772
|
}
|
|
@@ -4783,7 +4783,7 @@ const j1 = ({
|
|
|
4783
4783
|
const i = (o) => {
|
|
4784
4784
|
t.includes(o) ? s(t.filter((l) => l !== o)) : s([...t, o]);
|
|
4785
4785
|
};
|
|
4786
|
-
return n.length === 0 ? null : /* @__PURE__ */ e("div", { className: `${
|
|
4786
|
+
return n.length === 0 ? null : /* @__PURE__ */ e("div", { className: `${st.filterList} ${r}`, children: n.map((o) => {
|
|
4787
4787
|
const l = a[o.key], d = l === 0 && !t.includes(o.key);
|
|
4788
4788
|
return /* @__PURE__ */ e(
|
|
4789
4789
|
qe,
|
|
@@ -4809,7 +4809,7 @@ const j1 = ({
|
|
|
4809
4809
|
const i = (o) => {
|
|
4810
4810
|
t.includes(o) ? s(t.filter((l) => l !== o)) : s([...t, o]);
|
|
4811
4811
|
};
|
|
4812
|
-
return n.length === 0 ? null : /* @__PURE__ */ e("div", { className: `${
|
|
4812
|
+
return n.length === 0 ? null : /* @__PURE__ */ e("div", { className: `${st.filterList} ${r}`, children: n.map((o) => {
|
|
4813
4813
|
const l = a[o.key], d = l === 0 && !t.includes(o.key);
|
|
4814
4814
|
return /* @__PURE__ */ e(
|
|
4815
4815
|
qe,
|
|
@@ -4825,7 +4825,7 @@ const j1 = ({
|
|
|
4825
4825
|
o.key
|
|
4826
4826
|
);
|
|
4827
4827
|
}) });
|
|
4828
|
-
}, vd = "_container_59ym6_13", bd = "_mapPreview_59ym6_18", Cd = "_mapImage_59ym6_28", yd = "_buttonContainer_59ym6_36", kd = "_viewMapText_59ym6_51",
|
|
4828
|
+
}, vd = "_container_59ym6_13", bd = "_mapPreview_59ym6_18", Cd = "_mapImage_59ym6_28", yd = "_buttonContainer_59ym6_36", kd = "_viewMapText_59ym6_51", wt = {
|
|
4829
4829
|
container: vd,
|
|
4830
4830
|
mapPreview: bd,
|
|
4831
4831
|
mapImage: Cd,
|
|
@@ -4837,25 +4837,25 @@ const j1 = ({
|
|
|
4837
4837
|
zoom: n = 9,
|
|
4838
4838
|
className: s = ""
|
|
4839
4839
|
}) => {
|
|
4840
|
-
const { t: r } =
|
|
4840
|
+
const { t: r } = de(), i = () => {
|
|
4841
4841
|
const o = (a == null ? void 0 : a.lat) ?? 46.8, l = (a == null ? void 0 : a.lng) ?? 9.8, d = n, h = Math.floor((l + 180) / 360 * Math.pow(2, d)), u = Math.floor((1 - Math.log(Math.tan(o * Math.PI / 180) + 1 / Math.cos(o * Math.PI / 180)) / Math.PI) / 2 * Math.pow(2, d));
|
|
4842
4842
|
return `https://tile.openstreetmap.org/${d}/${h}/${u}.png`;
|
|
4843
4843
|
};
|
|
4844
|
-
return /* @__PURE__ */ e("div", { className: `${
|
|
4844
|
+
return /* @__PURE__ */ e("div", { className: `${wt.container} ${s}`, children: /* @__PURE__ */ c("div", { className: wt.mapPreview, children: [
|
|
4845
4845
|
/* @__PURE__ */ e(
|
|
4846
4846
|
"div",
|
|
4847
4847
|
{
|
|
4848
|
-
className:
|
|
4848
|
+
className: wt.mapImage,
|
|
4849
4849
|
style: { backgroundImage: `url(${i()})` }
|
|
4850
4850
|
}
|
|
4851
4851
|
),
|
|
4852
|
-
/* @__PURE__ */ e("div", { className:
|
|
4853
|
-
|
|
4852
|
+
/* @__PURE__ */ e("div", { className: wt.buttonContainer, children: /* @__PURE__ */ e(
|
|
4853
|
+
ke,
|
|
4854
4854
|
{
|
|
4855
4855
|
variant: "secondary",
|
|
4856
4856
|
size: "small",
|
|
4857
4857
|
onClick: t,
|
|
4858
|
-
className:
|
|
4858
|
+
className: wt.viewMapText,
|
|
4859
4859
|
children: r("filters.view_in_map", "View in a Map")
|
|
4860
4860
|
}
|
|
4861
4861
|
) })
|
|
@@ -4885,7 +4885,7 @@ const j1 = ({
|
|
|
4885
4885
|
priceInputDivider: qd,
|
|
4886
4886
|
starsRow: Yd,
|
|
4887
4887
|
star: Gd
|
|
4888
|
-
},
|
|
4888
|
+
}, Nt = ({
|
|
4889
4889
|
itemCount: t = 5,
|
|
4890
4890
|
isRegionFilter: a = !1,
|
|
4891
4891
|
isPriceFilter: n = !1,
|
|
@@ -4933,9 +4933,9 @@ const j1 = ({
|
|
|
4933
4933
|
/* @__PURE__ */ e("div", { className: `${z.checkbox} ${z.skeleton}` }),
|
|
4934
4934
|
/* @__PURE__ */ e("div", { className: `${z.label} ${z.skeleton}`, style: { width: `${60 + Math.random() * 30}%` } }),
|
|
4935
4935
|
/* @__PURE__ */ e("div", { className: `${z.count} ${z.skeleton}` })
|
|
4936
|
-
] }, o)) }),
|
|
4937
|
-
filterPanel:
|
|
4938
|
-
content:
|
|
4936
|
+
] }, o)) }), Kd = "_filterPanel_74jaf_12", Jd = "_content_74jaf_20", Ud = "_discountList_74jaf_213", $t = {
|
|
4937
|
+
filterPanel: Kd,
|
|
4938
|
+
content: Jd,
|
|
4939
4939
|
discountList: Ud
|
|
4940
4940
|
}, Xd = [
|
|
4941
4941
|
{ value: "50", label: "50%" },
|
|
@@ -4964,9 +4964,9 @@ const j1 = ({
|
|
|
4964
4964
|
reviewsCounts: L = {},
|
|
4965
4965
|
transportCounts: g = {},
|
|
4966
4966
|
wellnessCounts: M = {},
|
|
4967
|
-
servicesCounts:
|
|
4967
|
+
servicesCounts: x = {},
|
|
4968
4968
|
filterOptions: C,
|
|
4969
|
-
selectedDiscounts:
|
|
4969
|
+
selectedDiscounts: S,
|
|
4970
4970
|
selectedOptions: E,
|
|
4971
4971
|
selectedExperiences: W,
|
|
4972
4972
|
selectedRegions: D,
|
|
@@ -4979,18 +4979,18 @@ const j1 = ({
|
|
|
4979
4979
|
selectedPriceRange: B,
|
|
4980
4980
|
mapCenter: R
|
|
4981
4981
|
}) => {
|
|
4982
|
-
var
|
|
4983
|
-
const { isDesktop:
|
|
4982
|
+
var Ot;
|
|
4983
|
+
const { isDesktop: U } = bt(), { t: K, currency: ae } = de(), q = me(!1);
|
|
4984
4984
|
q.current || (l.length > 0 || r && r.length > 0 || Object.keys(f).length > 0 || Object.keys(k).length > 0) && (q.current = !0);
|
|
4985
|
-
const [te, Z] = $((B == null ? void 0 : B.min) ?? i), [j, se] = $((B == null ? void 0 : B.max) ?? o), [N, V] = $(D ?? []), [X,
|
|
4985
|
+
const [te, Z] = $((B == null ? void 0 : B.min) ?? i), [j, se] = $((B == null ? void 0 : B.max) ?? o), [N, V] = $(D ?? []), [X, fe] = $(S ?? []), [re, J] = $(E ?? []), [b, I] = $(v ?? []), [oe, Le] = $(W ?? []), [ue, Ye] = $(Y ?? []), [Ge, Re] = $(y ?? []), [Ue, Ct] = $(H ?? []), [yt, kt] = $(P ?? []), [Xe, Q] = $(A ?? []);
|
|
4986
4986
|
ee(() => {
|
|
4987
4987
|
B ? (Z(B.min), se(B.max)) : (Z(i), se(o));
|
|
4988
4988
|
}, [B, i, o]), ee(() => {
|
|
4989
|
-
|
|
4990
|
-
}, [
|
|
4991
|
-
E !== void 0 &&
|
|
4989
|
+
S !== void 0 && fe(S);
|
|
4990
|
+
}, [S]), ee(() => {
|
|
4991
|
+
E !== void 0 && J(E);
|
|
4992
4992
|
}, [E]), ee(() => {
|
|
4993
|
-
W !== void 0 &&
|
|
4993
|
+
W !== void 0 && Le(W);
|
|
4994
4994
|
}, [W]), ee(() => {
|
|
4995
4995
|
D !== void 0 && V(D);
|
|
4996
4996
|
}, [D]), ee(() => {
|
|
@@ -5000,44 +5000,44 @@ const j1 = ({
|
|
|
5000
5000
|
}, [Y]), ee(() => {
|
|
5001
5001
|
y !== void 0 && Re(y);
|
|
5002
5002
|
}, [y]), ee(() => {
|
|
5003
|
-
H !== void 0 &&
|
|
5003
|
+
H !== void 0 && Ct(H);
|
|
5004
5004
|
}, [H]), ee(() => {
|
|
5005
|
-
P !== void 0 &&
|
|
5005
|
+
P !== void 0 && kt(P);
|
|
5006
5006
|
}, [P]), ee(() => {
|
|
5007
|
-
A !== void 0 &&
|
|
5007
|
+
A !== void 0 && Q(A);
|
|
5008
5008
|
}, [A]);
|
|
5009
|
-
const
|
|
5009
|
+
const pe = (T) => {
|
|
5010
5010
|
Z(T.min), se(T.max);
|
|
5011
|
-
},
|
|
5011
|
+
}, Ne = ft((T) => {
|
|
5012
5012
|
t == null || t({ priceRange: T });
|
|
5013
|
-
}, [t]),
|
|
5014
|
-
|
|
5015
|
-
const We = ye.includes(T) ? ye.filter((
|
|
5013
|
+
}, [t]), Ve = (T) => {
|
|
5014
|
+
fe((ye) => {
|
|
5015
|
+
const We = ye.includes(T) ? ye.filter((pt) => pt !== T) : [...ye, T];
|
|
5016
5016
|
return t == null || t({ discounts: We }), We;
|
|
5017
5017
|
});
|
|
5018
|
-
},
|
|
5019
|
-
|
|
5020
|
-
const We = ye.includes(T) ? ye.filter((
|
|
5018
|
+
}, Ae = (T) => {
|
|
5019
|
+
J((ye) => {
|
|
5020
|
+
const We = ye.includes(T) ? ye.filter((pt) => pt !== T) : [...ye, T];
|
|
5021
5021
|
return t == null || t({ options: We }), We;
|
|
5022
5022
|
});
|
|
5023
|
-
},
|
|
5023
|
+
}, Qe = (T) => {
|
|
5024
5024
|
I(T), t == null || t({ categories: T });
|
|
5025
5025
|
}, Dn = (T) => {
|
|
5026
5026
|
V(T), t == null || t({ regions: T });
|
|
5027
5027
|
}, In = (T) => {
|
|
5028
|
-
|
|
5028
|
+
Le(T), t == null || t({ experiences: T });
|
|
5029
5029
|
}, Pn = (T) => {
|
|
5030
5030
|
Ye(T), t == null || t({ meals: T });
|
|
5031
5031
|
}, An = (T) => {
|
|
5032
5032
|
Re(T), t == null || t({ ratings: T });
|
|
5033
5033
|
}, Wn = (T) => {
|
|
5034
|
-
|
|
5034
|
+
Q(T), t == null || t({ services: T });
|
|
5035
5035
|
}, Tn = (T) => {
|
|
5036
|
-
|
|
5036
|
+
Ct(T), t == null || t({ transport: T });
|
|
5037
5037
|
}, En = (T) => {
|
|
5038
|
-
|
|
5038
|
+
kt(T), t == null || t({ wellness: T });
|
|
5039
5039
|
};
|
|
5040
|
-
return /* @__PURE__ */ e("aside", { className: `${
|
|
5040
|
+
return /* @__PURE__ */ e("aside", { className: `${$t.filterPanel} ${n}`, children: /* @__PURE__ */ c("div", { className: $t.content, children: [
|
|
5041
5041
|
a && /* @__PURE__ */ e(
|
|
5042
5042
|
Nd,
|
|
5043
5043
|
{
|
|
@@ -5048,9 +5048,9 @@ const j1 = ({
|
|
|
5048
5048
|
/* @__PURE__ */ e(
|
|
5049
5049
|
Oe,
|
|
5050
5050
|
{
|
|
5051
|
-
title:
|
|
5051
|
+
title: K("filter.destination", "Destination"),
|
|
5052
5052
|
defaultExpanded: !0,
|
|
5053
|
-
children: l.length === 0 && !q.current ? /* @__PURE__ */ e(
|
|
5053
|
+
children: l.length === 0 && !q.current ? /* @__PURE__ */ e(Nt, { isRegionFilter: !0 }) : /* @__PURE__ */ e(
|
|
5054
5054
|
rd,
|
|
5055
5055
|
{
|
|
5056
5056
|
regions: l,
|
|
@@ -5066,7 +5066,7 @@ const j1 = ({
|
|
|
5066
5066
|
/* @__PURE__ */ e(
|
|
5067
5067
|
Oe,
|
|
5068
5068
|
{
|
|
5069
|
-
title:
|
|
5069
|
+
title: K("filter.experience", "Experience"),
|
|
5070
5070
|
defaultExpanded: oe.length > 0,
|
|
5071
5071
|
children: /* @__PURE__ */ e(
|
|
5072
5072
|
_1,
|
|
@@ -5082,16 +5082,16 @@ const j1 = ({
|
|
|
5082
5082
|
/* @__PURE__ */ e(
|
|
5083
5083
|
Oe,
|
|
5084
5084
|
{
|
|
5085
|
-
title:
|
|
5085
|
+
title: K("filter.price", "Price"),
|
|
5086
5086
|
defaultExpanded: !0,
|
|
5087
|
-
children: (!r || r.length === 0) && !q.current ? /* @__PURE__ */ e(
|
|
5087
|
+
children: (!r || r.length === 0) && !q.current ? /* @__PURE__ */ e(Nt, { isPriceFilter: !0 }) : /* @__PURE__ */ e(
|
|
5088
5088
|
j1,
|
|
5089
5089
|
{
|
|
5090
5090
|
minPrice: i,
|
|
5091
5091
|
maxPrice: o,
|
|
5092
5092
|
value: { min: te, max: j },
|
|
5093
|
-
onChange:
|
|
5094
|
-
onApply:
|
|
5093
|
+
onChange: pe,
|
|
5094
|
+
onApply: Ne,
|
|
5095
5095
|
histogram: r,
|
|
5096
5096
|
currency: ae
|
|
5097
5097
|
}
|
|
@@ -5101,9 +5101,9 @@ const j1 = ({
|
|
|
5101
5101
|
/* @__PURE__ */ e(
|
|
5102
5102
|
Oe,
|
|
5103
5103
|
{
|
|
5104
|
-
title:
|
|
5104
|
+
title: K("filter.discount", "Discount"),
|
|
5105
5105
|
defaultExpanded: !0,
|
|
5106
|
-
children: Object.keys(f).length === 0 && !q.current ? /* @__PURE__ */ e(
|
|
5106
|
+
children: Object.keys(f).length === 0 && !q.current ? /* @__PURE__ */ e(Nt, { isDiscountFilter: !0 }) : /* @__PURE__ */ e("div", { className: $t.discountList, children: Xd.map((T) => {
|
|
5107
5107
|
const ye = f[T.value], We = ye === 0 && !X.includes(T.value);
|
|
5108
5108
|
return /* @__PURE__ */ e(
|
|
5109
5109
|
qe,
|
|
@@ -5113,7 +5113,7 @@ const j1 = ({
|
|
|
5113
5113
|
count: ye,
|
|
5114
5114
|
checked: X.includes(T.value),
|
|
5115
5115
|
disabled: We,
|
|
5116
|
-
onChange: () =>
|
|
5116
|
+
onChange: () => Ve(T.value)
|
|
5117
5117
|
},
|
|
5118
5118
|
T.value
|
|
5119
5119
|
);
|
|
@@ -5123,36 +5123,36 @@ const j1 = ({
|
|
|
5123
5123
|
/* @__PURE__ */ e(
|
|
5124
5124
|
Oe,
|
|
5125
5125
|
{
|
|
5126
|
-
title:
|
|
5127
|
-
defaultExpanded: re.length > 0 ||
|
|
5128
|
-
children: /* @__PURE__ */ c("div", { className:
|
|
5126
|
+
title: K("filter.options", "Options"),
|
|
5127
|
+
defaultExpanded: re.length > 0 || Xe.length > 0,
|
|
5128
|
+
children: /* @__PURE__ */ c("div", { className: $t.discountList, children: [
|
|
5129
5129
|
Qd.map((T) => {
|
|
5130
5130
|
const ye = p[T.value], We = ye === 0 && !re.includes(T.value);
|
|
5131
5131
|
return /* @__PURE__ */ e(
|
|
5132
5132
|
qe,
|
|
5133
5133
|
{
|
|
5134
5134
|
id: `option-${T.value}`,
|
|
5135
|
-
label:
|
|
5135
|
+
label: K(T.labelKey, "Instant booking"),
|
|
5136
5136
|
count: ye,
|
|
5137
5137
|
checked: re.includes(T.value),
|
|
5138
5138
|
disabled: We,
|
|
5139
|
-
onChange: () =>
|
|
5139
|
+
onChange: () => Ae(T.value)
|
|
5140
5140
|
},
|
|
5141
5141
|
T.value
|
|
5142
5142
|
);
|
|
5143
5143
|
}),
|
|
5144
|
-
(
|
|
5145
|
-
const ye =
|
|
5144
|
+
(Ot = C == null ? void 0 : C.services) == null ? void 0 : Ot.map((T) => {
|
|
5145
|
+
const ye = x[T.key], We = ye === 0 && !Xe.includes(T.key);
|
|
5146
5146
|
return /* @__PURE__ */ e(
|
|
5147
5147
|
qe,
|
|
5148
5148
|
{
|
|
5149
5149
|
id: `service-${T.key}`,
|
|
5150
5150
|
label: T.name,
|
|
5151
5151
|
count: ye,
|
|
5152
|
-
checked:
|
|
5152
|
+
checked: Xe.includes(T.key),
|
|
5153
5153
|
disabled: We,
|
|
5154
5154
|
onChange: () => Wn(
|
|
5155
|
-
|
|
5155
|
+
Xe.includes(T.key) ? Xe.filter((pt) => pt !== T.key) : [...Xe, T.key]
|
|
5156
5156
|
)
|
|
5157
5157
|
},
|
|
5158
5158
|
T.key
|
|
@@ -5164,12 +5164,12 @@ const j1 = ({
|
|
|
5164
5164
|
(C == null ? void 0 : C.meals) && C.meals.length > 0 && /* @__PURE__ */ e(
|
|
5165
5165
|
Oe,
|
|
5166
5166
|
{
|
|
5167
|
-
title:
|
|
5168
|
-
defaultExpanded:
|
|
5167
|
+
title: K("filter.meals", "Meals"),
|
|
5168
|
+
defaultExpanded: ue.length > 0,
|
|
5169
5169
|
children: /* @__PURE__ */ e(
|
|
5170
5170
|
$1,
|
|
5171
5171
|
{
|
|
5172
|
-
selected:
|
|
5172
|
+
selected: ue,
|
|
5173
5173
|
counts: m,
|
|
5174
5174
|
options: C.meals,
|
|
5175
5175
|
onChange: Pn
|
|
@@ -5180,14 +5180,14 @@ const j1 = ({
|
|
|
5180
5180
|
/* @__PURE__ */ e(
|
|
5181
5181
|
Oe,
|
|
5182
5182
|
{
|
|
5183
|
-
title:
|
|
5183
|
+
title: K("filter.hotel-category", "Hotel category"),
|
|
5184
5184
|
defaultExpanded: !0,
|
|
5185
|
-
children: Object.keys(k).length === 0 && !q.current ? /* @__PURE__ */ e(
|
|
5185
|
+
children: Object.keys(k).length === 0 && !q.current ? /* @__PURE__ */ e(Nt, { isCategoryFilter: !0 }) : /* @__PURE__ */ e(
|
|
5186
5186
|
N1,
|
|
5187
5187
|
{
|
|
5188
5188
|
selected: b,
|
|
5189
5189
|
counts: k,
|
|
5190
|
-
onChange:
|
|
5190
|
+
onChange: Qe
|
|
5191
5191
|
}
|
|
5192
5192
|
)
|
|
5193
5193
|
}
|
|
@@ -5195,7 +5195,7 @@ const j1 = ({
|
|
|
5195
5195
|
/* @__PURE__ */ e(
|
|
5196
5196
|
Oe,
|
|
5197
5197
|
{
|
|
5198
|
-
title:
|
|
5198
|
+
title: K("filter.reviews", "Reviews"),
|
|
5199
5199
|
defaultExpanded: Ge.length > 0,
|
|
5200
5200
|
children: /* @__PURE__ */ e(
|
|
5201
5201
|
dd,
|
|
@@ -5210,7 +5210,7 @@ const j1 = ({
|
|
|
5210
5210
|
(C == null ? void 0 : C.transport) && C.transport.length > 0 && /* @__PURE__ */ e(
|
|
5211
5211
|
Oe,
|
|
5212
5212
|
{
|
|
5213
|
-
title:
|
|
5213
|
+
title: K("filter.mobility", "Mobility"),
|
|
5214
5214
|
defaultExpanded: Ue.length > 0,
|
|
5215
5215
|
children: /* @__PURE__ */ e(
|
|
5216
5216
|
_d,
|
|
@@ -5226,12 +5226,12 @@ const j1 = ({
|
|
|
5226
5226
|
(C == null ? void 0 : C.wellness) && C.wellness.length > 0 && /* @__PURE__ */ e(
|
|
5227
5227
|
Oe,
|
|
5228
5228
|
{
|
|
5229
|
-
title:
|
|
5230
|
-
defaultExpanded:
|
|
5229
|
+
title: K("filter.wellness-spa", "Wellness & Spa"),
|
|
5230
|
+
defaultExpanded: yt.length > 0,
|
|
5231
5231
|
children: /* @__PURE__ */ e(
|
|
5232
5232
|
wd,
|
|
5233
5233
|
{
|
|
5234
|
-
selected:
|
|
5234
|
+
selected: yt,
|
|
5235
5235
|
counts: M,
|
|
5236
5236
|
options: C.wellness,
|
|
5237
5237
|
onChange: En
|
|
@@ -5240,7 +5240,7 @@ const j1 = ({
|
|
|
5240
5240
|
}
|
|
5241
5241
|
)
|
|
5242
5242
|
] }) });
|
|
5243
|
-
}, t2 = "_overlay_1i5bo_9", n2 = "_modal_1i5bo_38", a2 = "_header_1i5bo_85", s2 = "_selectedFilters_1i5bo_97", r2 = "_title_1i5bo_112", i2 = "_content_1i5bo_133", o2 = "_filterPanel_1i5bo_140", c2 = "_footer_1i5bo_155", l2 = "_footerLink_1i5bo_172",
|
|
5243
|
+
}, t2 = "_overlay_1i5bo_9", n2 = "_modal_1i5bo_38", a2 = "_header_1i5bo_85", s2 = "_selectedFilters_1i5bo_97", r2 = "_title_1i5bo_112", i2 = "_content_1i5bo_133", o2 = "_filterPanel_1i5bo_140", c2 = "_footer_1i5bo_155", l2 = "_footerLink_1i5bo_172", Je = {
|
|
5244
5244
|
overlay: t2,
|
|
5245
5245
|
modal: n2,
|
|
5246
5246
|
header: a2,
|
|
@@ -5250,7 +5250,7 @@ const j1 = ({
|
|
|
5250
5250
|
filterPanel: o2,
|
|
5251
5251
|
footer: c2,
|
|
5252
5252
|
footerLink: l2
|
|
5253
|
-
}, d2 = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15", fill: "none", children: /* @__PURE__ */ e("path", { d: "M0.275391 1.59961C-0.0917969 1.23242 -0.0917969 0.638672 0.275391 0.275391C0.642578 -0.0878906 1.23633 -0.0917969 1.59961 0.275391L7.49805 6.17383L13.3965 0.275391C13.7637 -0.0917969 14.3574 -0.0917969 14.7207 0.275391C15.084 0.642578 15.0879 1.23633 14.7207 1.59961L8.82226 7.49805L14.7207 13.3965C15.0879 13.7637 15.0879 14.3574 14.7207 14.7207C14.3535 15.084 13.7598 15.0879 13.3965 14.7207L7.49805 8.82226L1.59961 14.7207C1.23242 15.0879 0.638672 15.0879 0.275391 14.7207C-0.0878906 14.3535 -0.0917969 13.7598 0.275391 13.3965L6.17383 7.49805L0.275391 1.59961Z", fill: "#1F2937" }) }),
|
|
5253
|
+
}, d2 = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15", fill: "none", children: /* @__PURE__ */ e("path", { d: "M0.275391 1.59961C-0.0917969 1.23242 -0.0917969 0.638672 0.275391 0.275391C0.642578 -0.0878906 1.23633 -0.0917969 1.59961 0.275391L7.49805 6.17383L13.3965 0.275391C13.7637 -0.0917969 14.3574 -0.0917969 14.7207 0.275391C15.084 0.642578 15.0879 1.23633 14.7207 1.59961L8.82226 7.49805L14.7207 13.3965C15.0879 13.7637 15.0879 14.3574 14.7207 14.7207C14.3535 15.084 13.7598 15.0879 13.3965 14.7207L7.49805 8.82226L1.59961 14.7207C1.23242 15.0879 0.638672 15.0879 0.275391 14.7207C-0.0878906 14.3535 -0.0917969 13.7598 0.275391 13.3965L6.17383 7.49805L0.275391 1.59961Z", fill: "#1F2937" }) }), Ju = ({
|
|
5254
5254
|
isOpen: t,
|
|
5255
5255
|
onClose: a,
|
|
5256
5256
|
resultCount: n = 0,
|
|
@@ -5271,32 +5271,32 @@ const j1 = ({
|
|
|
5271
5271
|
selectedPriceRange: L,
|
|
5272
5272
|
minPrice: g = 0,
|
|
5273
5273
|
maxPrice: M = 500,
|
|
5274
|
-
regions:
|
|
5274
|
+
regions: x = [],
|
|
5275
5275
|
...C
|
|
5276
5276
|
}) => {
|
|
5277
|
-
const { t:
|
|
5277
|
+
const { t: S } = de(), E = s.length > 0;
|
|
5278
5278
|
return ee(() => {
|
|
5279
5279
|
if (t)
|
|
5280
5280
|
return document.body.style.overflow = "hidden", () => {
|
|
5281
5281
|
document.body.style.overflow = "";
|
|
5282
5282
|
};
|
|
5283
|
-
}, [t]), t ? /* @__PURE__ */ e("div", { className:
|
|
5284
|
-
/* @__PURE__ */ c("div", { className:
|
|
5285
|
-
/* @__PURE__ */ e("h2", { className:
|
|
5283
|
+
}, [t]), t ? /* @__PURE__ */ e("div", { className: Je.overlay, children: /* @__PURE__ */ c("div", { className: Je.modal, children: [
|
|
5284
|
+
/* @__PURE__ */ c("div", { className: Je.header, children: [
|
|
5285
|
+
/* @__PURE__ */ e("h2", { className: Je.title, children: S("filter.filters", "Filters") }),
|
|
5286
5286
|
/* @__PURE__ */ e(
|
|
5287
|
-
|
|
5287
|
+
ke,
|
|
5288
5288
|
{
|
|
5289
5289
|
variant: "secondary",
|
|
5290
5290
|
size: "small",
|
|
5291
5291
|
iconOnly: !0,
|
|
5292
5292
|
onClick: a,
|
|
5293
|
-
"aria-label":
|
|
5293
|
+
"aria-label": S("common.close", "Close"),
|
|
5294
5294
|
children: /* @__PURE__ */ e(d2, {})
|
|
5295
5295
|
}
|
|
5296
5296
|
)
|
|
5297
5297
|
] }),
|
|
5298
|
-
/* @__PURE__ */ c("div", { className:
|
|
5299
|
-
s.length > 0 && r && i && /* @__PURE__ */ e("div", { className:
|
|
5298
|
+
/* @__PURE__ */ c("div", { className: Je.content, children: [
|
|
5299
|
+
s.length > 0 && r && i && /* @__PURE__ */ e("div", { className: Je.selectedFilters, children: /* @__PURE__ */ e(
|
|
5300
5300
|
gd,
|
|
5301
5301
|
{
|
|
5302
5302
|
filters: s,
|
|
@@ -5322,29 +5322,29 @@ const j1 = ({
|
|
|
5322
5322
|
selectedPriceRange: L,
|
|
5323
5323
|
minPrice: g,
|
|
5324
5324
|
maxPrice: M,
|
|
5325
|
-
regions:
|
|
5326
|
-
className:
|
|
5325
|
+
regions: x,
|
|
5326
|
+
className: Je.filterPanel
|
|
5327
5327
|
}
|
|
5328
5328
|
)
|
|
5329
5329
|
] }),
|
|
5330
|
-
/* @__PURE__ */ c("div", { className:
|
|
5330
|
+
/* @__PURE__ */ c("div", { className: Je.footer, children: [
|
|
5331
5331
|
i && /* @__PURE__ */ e(
|
|
5332
|
-
|
|
5332
|
+
ke,
|
|
5333
5333
|
{
|
|
5334
5334
|
variant: "link",
|
|
5335
|
-
className:
|
|
5335
|
+
className: Je.footerLink,
|
|
5336
5336
|
onClick: i,
|
|
5337
5337
|
disabled: !E,
|
|
5338
|
-
children:
|
|
5338
|
+
children: S("filter.clear-all", "Clear all")
|
|
5339
5339
|
}
|
|
5340
5340
|
),
|
|
5341
5341
|
/* @__PURE__ */ e(
|
|
5342
|
-
|
|
5342
|
+
ke,
|
|
5343
5343
|
{
|
|
5344
5344
|
variant: "primary",
|
|
5345
5345
|
size: "medium",
|
|
5346
5346
|
onClick: a,
|
|
5347
|
-
children:
|
|
5347
|
+
children: S("filters.show_results", { count: n }, `Show ${n} results`)
|
|
5348
5348
|
}
|
|
5349
5349
|
)
|
|
5350
5350
|
] })
|
|
@@ -5361,25 +5361,25 @@ const j1 = ({
|
|
|
5361
5361
|
children: /* @__PURE__ */ e("path", { d: "M6 9L12 15L18 9", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
5362
5362
|
}
|
|
5363
5363
|
);
|
|
5364
|
-
function
|
|
5364
|
+
function yn(t, a) {
|
|
5365
5365
|
return new Date(t).toLocaleDateString(a, {
|
|
5366
5366
|
day: "numeric",
|
|
5367
5367
|
month: "short",
|
|
5368
5368
|
year: "numeric"
|
|
5369
5369
|
});
|
|
5370
5370
|
}
|
|
5371
|
-
function
|
|
5372
|
-
const s =
|
|
5371
|
+
function tn(t, a, n) {
|
|
5372
|
+
const s = yn(t, n);
|
|
5373
5373
|
return a ? `${s}, ${a}` : s;
|
|
5374
5374
|
}
|
|
5375
|
-
function
|
|
5375
|
+
function At(t, a) {
|
|
5376
5376
|
return `${a} ${t.toFixed(0)}`;
|
|
5377
5377
|
}
|
|
5378
|
-
const
|
|
5378
|
+
const jt = ({
|
|
5379
5379
|
booking: t,
|
|
5380
5380
|
onCancelBooking: a
|
|
5381
5381
|
}) => {
|
|
5382
|
-
const { t: n, locale: s } =
|
|
5382
|
+
const { t: n, locale: s } = de(), [r, i] = $(!1), o = me(null), l = () => {
|
|
5383
5383
|
const h = !r;
|
|
5384
5384
|
i(h), h && setTimeout(() => {
|
|
5385
5385
|
var u;
|
|
@@ -5403,11 +5403,11 @@ const Rt = ({
|
|
|
5403
5403
|
r && /* @__PURE__ */ c("div", { className: "hc-booking-card-details__content", ref: o, children: [
|
|
5404
5404
|
/* @__PURE__ */ c("div", { className: "hc-booking-card-details__row", children: [
|
|
5405
5405
|
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__label", children: n("booking.details_check_in", "Check-in") }),
|
|
5406
|
-
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__value", children:
|
|
5406
|
+
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__value", children: tn(t.checkIn, t.hotel.checkInTime, s) })
|
|
5407
5407
|
] }),
|
|
5408
5408
|
/* @__PURE__ */ c("div", { className: "hc-booking-card-details__row", children: [
|
|
5409
5409
|
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__label", children: n("booking.details_check_out", "Check-out") }),
|
|
5410
|
-
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__value", children:
|
|
5410
|
+
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__value", children: tn(t.checkOut, t.hotel.checkOutTime, s) })
|
|
5411
5411
|
] }),
|
|
5412
5412
|
/* @__PURE__ */ c("div", { className: "hc-booking-card-details__row", children: [
|
|
5413
5413
|
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__label", children: n("booking.details_guests", "Guests") }),
|
|
@@ -5437,29 +5437,29 @@ const Rt = ({
|
|
|
5437
5437
|
/* @__PURE__ */ e("div", { className: "hc-booking-card-details__divider" }),
|
|
5438
5438
|
/* @__PURE__ */ c("div", { className: "hc-booking-card-details__row", children: [
|
|
5439
5439
|
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__label", children: n("booking.details_booked", "Booked") }),
|
|
5440
|
-
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__value", children:
|
|
5440
|
+
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__value", children: yn(t.bookedAt, s) })
|
|
5441
5441
|
] }),
|
|
5442
5442
|
/* @__PURE__ */ c("div", { className: "hc-booking-card-details__price-section", children: [
|
|
5443
5443
|
/* @__PURE__ */ c("div", { className: "hc-booking-card-details__row", children: [
|
|
5444
5444
|
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__label", children: n("booking.details_room_price", "Room price") }),
|
|
5445
|
-
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__price-original", children:
|
|
5445
|
+
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__price-original", children: At(t.originalPrice, t.currency) })
|
|
5446
5446
|
] }),
|
|
5447
5447
|
/* @__PURE__ */ c("div", { className: "hc-booking-card-details__row", children: [
|
|
5448
5448
|
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__label--highlight", children: n("booking.details_saved_with_hotelcard", "Saved with HotelCard") }),
|
|
5449
5449
|
/* @__PURE__ */ c("span", { className: "hc-booking-card-details__value--savings", children: [
|
|
5450
5450
|
"-",
|
|
5451
|
-
|
|
5451
|
+
At(t.savings, t.currency)
|
|
5452
5452
|
] })
|
|
5453
5453
|
] }),
|
|
5454
5454
|
/* @__PURE__ */ c("div", { className: "hc-booking-card-details__row--total", children: [
|
|
5455
5455
|
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__label--total", children: n("booking.details_total_cost", "Total cost") }),
|
|
5456
|
-
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__value--total", children:
|
|
5456
|
+
/* @__PURE__ */ e("span", { className: "hc-booking-card-details__value--total", children: At(t.totalPrice, t.currency) })
|
|
5457
5457
|
] })
|
|
5458
5458
|
] })
|
|
5459
5459
|
] })
|
|
5460
5460
|
] });
|
|
5461
5461
|
};
|
|
5462
|
-
|
|
5462
|
+
jt.displayName = "BookingCardDetails";
|
|
5463
5463
|
const u2 = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M8 1.33334C5.42 1.33334 3.33333 3.42001 3.33333 6.00001C3.33333 9.50001 8 14.6667 8 14.6667C8 14.6667 12.6667 9.50001 12.6667 6.00001C12.6667 3.42001 10.58 1.33334 8 1.33334ZM8 7.66668C7.08 7.66668 6.33333 6.92001 6.33333 6.00001C6.33333 5.08001 7.08 4.33334 8 4.33334C8.92 4.33334 9.66667 5.08001 9.66667 6.00001C9.66667 6.92001 8.92 7.66668 8 7.66668Z", fill: "currentColor" }) }), m2 = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M14.6667 11.28V13.28C14.6675 13.4657 14.6294 13.6495 14.555 13.8196C14.4806 13.9897 14.3715 14.1424 14.2347 14.2679C14.0979 14.3934 13.9364 14.489 13.7605 14.5485C13.5847 14.608 13.3983 14.6301 13.2133 14.6133C11.1619 14.3904 9.19135 13.6894 7.46 12.5667C5.84926 11.5431 4.48356 10.1774 3.46 8.56668C2.33333 6.82748 1.6322 4.84738 1.41333 2.78668C1.39666 2.60233 1.41852 2.41652 1.47763 2.24115C1.53673 2.06577 1.63175 1.90457 1.75655 1.76793C1.88134 1.63129 2.03323 1.52209 2.20256 1.44728C2.37189 1.37248 2.55491 1.33374 2.74 1.33334H4.74C5.06354 1.33016 5.37723 1.44473 5.6228 1.65569C5.86838 1.86665 6.02963 2.15962 6.07333 2.48001C6.15458 3.12005 6.31363 3.74849 6.54667 4.35334C6.63598 4.59196 6.64916 4.85127 6.58441 5.09719C6.51966 5.34311 6.37987 5.56478 6.18333 5.73334L5.34 6.57668C6.28937 8.25964 7.74037 9.71064 9.42333 10.66L10.2667 9.81668C10.4352 9.62014 10.6569 9.48035 10.9028 9.4156C11.1487 9.35085 11.408 9.36403 11.6467 9.45334C12.2515 9.68638 12.88 9.84543 13.52 9.92668C13.8438 9.97078 14.1396 10.1355 14.3511 10.3857C14.5625 10.6359 14.6748 10.9545 14.6667 11.28Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), f2 = () => /* @__PURE__ */ c("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5464
5464
|
/* @__PURE__ */ e("path", { d: "M2.66666 2.66666H13.3333C14.0667 2.66666 14.6667 3.26666 14.6667 3.99999V12C14.6667 12.7333 14.0667 13.3333 13.3333 13.3333H2.66666C1.93333 13.3333 1.33333 12.7333 1.33333 12V3.99999C1.33333 3.26666 1.93333 2.66666 2.66666 2.66666Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
5465
5465
|
/* @__PURE__ */ e("path", { d: "M14.6667 4L8 8.66667L1.33333 4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
@@ -5502,13 +5502,13 @@ const C2 = ({
|
|
|
5502
5502
|
onCancelBooking: a,
|
|
5503
5503
|
onAddToCalendar: n
|
|
5504
5504
|
}) => {
|
|
5505
|
-
const { t: s, locale: r } =
|
|
5505
|
+
const { t: s, locale: r } = de(), [i, o] = $(!1), l = `${t.hotel.address}, ${t.hotel.postalCode} ${t.hotel.city}`, d = v2(t.checkIn), h = () => {
|
|
5506
5506
|
const u = encodeURIComponent(l), p = /iPad|iPhone|iPod/.test(navigator.userAgent) ? `maps://maps.apple.com/?daddr=${u}` : `https://www.google.com/maps/dir/?api=1&destination=${u}`;
|
|
5507
5507
|
window.open(p, "_system");
|
|
5508
5508
|
};
|
|
5509
|
-
return /* @__PURE__ */ e("div", { children: /* @__PURE__ */ c(
|
|
5509
|
+
return /* @__PURE__ */ e("div", { children: /* @__PURE__ */ c(xt, { hoverable: !1, borderRadius: 16, children: [
|
|
5510
5510
|
/* @__PURE__ */ e(
|
|
5511
|
-
|
|
5511
|
+
vn,
|
|
5512
5512
|
{
|
|
5513
5513
|
src: t.hotel.imageUrl || "",
|
|
5514
5514
|
alt: t.hotel.name,
|
|
@@ -5516,7 +5516,7 @@ const C2 = ({
|
|
|
5516
5516
|
showGradient: !0
|
|
5517
5517
|
}
|
|
5518
5518
|
),
|
|
5519
|
-
/* @__PURE__ */ e(
|
|
5519
|
+
/* @__PURE__ */ e(Rt, { padding: "medium", children: /* @__PURE__ */ c("div", { className: "hc-featured-booking-card__content", children: [
|
|
5520
5520
|
/* @__PURE__ */ c("div", { className: "hc-featured-booking-card__date-row", children: [
|
|
5521
5521
|
/* @__PURE__ */ e("span", { className: "hc-featured-booking-card__date-range", children: b2(t.checkIn, t.checkOut, r) }),
|
|
5522
5522
|
d > 0 && /* @__PURE__ */ c("span", { className: "hc-featured-booking-card__countdown-badge", children: [
|
|
@@ -5570,14 +5570,14 @@ const C2 = ({
|
|
|
5570
5570
|
i && /* @__PURE__ */ e("p", { className: "hc-featured-booking-card__message-content", children: t.hotelMessage })
|
|
5571
5571
|
] }),
|
|
5572
5572
|
/* @__PURE__ */ e(
|
|
5573
|
-
|
|
5573
|
+
jt,
|
|
5574
5574
|
{
|
|
5575
5575
|
booking: t,
|
|
5576
5576
|
onCancelBooking: a
|
|
5577
5577
|
}
|
|
5578
5578
|
),
|
|
5579
5579
|
n && /* @__PURE__ */ e(
|
|
5580
|
-
|
|
5580
|
+
ke,
|
|
5581
5581
|
{
|
|
5582
5582
|
variant: "secondary",
|
|
5583
5583
|
size: "small",
|
|
@@ -5597,11 +5597,11 @@ function k2(t, a, n) {
|
|
|
5597
5597
|
const h = s.toLocaleDateString(n, { month: "short" });
|
|
5598
5598
|
return `${i} ${h} – ${o} ${l} ${d}`;
|
|
5599
5599
|
}
|
|
5600
|
-
function
|
|
5600
|
+
function nn(t, a) {
|
|
5601
5601
|
return `${a} ${t.toFixed(0)}`;
|
|
5602
5602
|
}
|
|
5603
5603
|
const N2 = ({ status: t }) => {
|
|
5604
|
-
const { t: a } =
|
|
5604
|
+
const { t: a } = de(), n = {
|
|
5605
5605
|
confirmed: a("booking.status_confirmed", "Confirmed"),
|
|
5606
5606
|
completed: a("booking.status_completed", "Completed"),
|
|
5607
5607
|
cancelled: a("booking.status_cancelled", "Cancelled")
|
|
@@ -5613,8 +5613,8 @@ const N2 = ({ status: t }) => {
|
|
|
5613
5613
|
onBookAgain: n,
|
|
5614
5614
|
onAddToCalendar: s
|
|
5615
5615
|
}) => {
|
|
5616
|
-
const { t: r, locale: i } =
|
|
5617
|
-
return /* @__PURE__ */ e(
|
|
5616
|
+
const { t: r, locale: i } = de(), o = `${t.hotel.city}, ${t.hotel.country}`;
|
|
5617
|
+
return /* @__PURE__ */ e(xt, { hoverable: !1, borderRadius: 16, children: /* @__PURE__ */ e(Rt, { padding: "medium", children: /* @__PURE__ */ c("div", { className: "hc-compact-booking-card__content", children: [
|
|
5618
5618
|
/* @__PURE__ */ c("div", { className: "hc-compact-booking-card__top-row", children: [
|
|
5619
5619
|
/* @__PURE__ */ e("div", { className: "hc-compact-booking-card__thumbnail", children: t.hotel.imageUrl ? /* @__PURE__ */ e(
|
|
5620
5620
|
"img",
|
|
@@ -5633,13 +5633,13 @@ const N2 = ({ status: t }) => {
|
|
|
5633
5633
|
] }),
|
|
5634
5634
|
/* @__PURE__ */ e("p", { className: "hc-compact-booking-card__date-range", children: k2(t.checkIn, t.checkOut, i) }),
|
|
5635
5635
|
/* @__PURE__ */ c("div", { className: "hc-compact-booking-card__price-row", children: [
|
|
5636
|
-
t.originalPrice > t.totalPrice && /* @__PURE__ */ e("span", { className: "hc-compact-booking-card__price-original", children:
|
|
5637
|
-
/* @__PURE__ */ e("span", { className: "hc-compact-booking-card__price-current", children:
|
|
5636
|
+
t.originalPrice > t.totalPrice && /* @__PURE__ */ e("span", { className: "hc-compact-booking-card__price-original", children: nn(t.originalPrice, t.currency) }),
|
|
5637
|
+
/* @__PURE__ */ e("span", { className: "hc-compact-booking-card__price-current", children: nn(t.totalPrice, t.currency) })
|
|
5638
5638
|
] })
|
|
5639
5639
|
] })
|
|
5640
5640
|
] }),
|
|
5641
5641
|
a && n && /* @__PURE__ */ e(
|
|
5642
|
-
|
|
5642
|
+
ke,
|
|
5643
5643
|
{
|
|
5644
5644
|
variant: "secondary",
|
|
5645
5645
|
size: "small",
|
|
@@ -5648,7 +5648,7 @@ const N2 = ({ status: t }) => {
|
|
|
5648
5648
|
}
|
|
5649
5649
|
),
|
|
5650
5650
|
s && /* @__PURE__ */ e(
|
|
5651
|
-
|
|
5651
|
+
ke,
|
|
5652
5652
|
{
|
|
5653
5653
|
variant: "secondary",
|
|
5654
5654
|
size: "small",
|
|
@@ -5656,11 +5656,11 @@ const N2 = ({ status: t }) => {
|
|
|
5656
5656
|
children: r("booking.countdown_add_to_calendar", "Add to calendar")
|
|
5657
5657
|
}
|
|
5658
5658
|
),
|
|
5659
|
-
/* @__PURE__ */ e(
|
|
5659
|
+
/* @__PURE__ */ e(jt, { booking: t })
|
|
5660
5660
|
] }) }) });
|
|
5661
5661
|
};
|
|
5662
5662
|
$2.displayName = "CompactBookingCard";
|
|
5663
|
-
const M2 = () => /* @__PURE__ */ c(
|
|
5663
|
+
const M2 = () => /* @__PURE__ */ c(St, { imageAspectRatio: "16/9", children: [
|
|
5664
5664
|
/* @__PURE__ */ e("div", { className: "hc-booking-card-skeleton__line hc-booking-card-skeleton__date-range hc-skeleton" }),
|
|
5665
5665
|
/* @__PURE__ */ e("div", { className: "hc-booking-card-skeleton__line hc-booking-card-skeleton__hotel-name hc-skeleton" }),
|
|
5666
5666
|
/* @__PURE__ */ e("div", { className: "hc-booking-card-skeleton__line hc-booking-card-skeleton__address hc-skeleton" }),
|
|
@@ -5671,7 +5671,7 @@ const M2 = () => /* @__PURE__ */ c(Lt, { imageAspectRatio: "16/9", children: [
|
|
|
5671
5671
|
] })
|
|
5672
5672
|
] });
|
|
5673
5673
|
M2.displayName = "FeaturedBookingCardSkeleton";
|
|
5674
|
-
const L2 = () => /* @__PURE__ */ e(
|
|
5674
|
+
const L2 = () => /* @__PURE__ */ e(St, { imageHeight: 0, children: /* @__PURE__ */ c("div", { className: "hc-booking-card-skeleton__compact-content", children: [
|
|
5675
5675
|
/* @__PURE__ */ c("div", { className: "hc-booking-card-skeleton__compact-top-row", children: [
|
|
5676
5676
|
/* @__PURE__ */ e("div", { className: "hc-booking-card-skeleton__line hc-booking-card-skeleton__compact-thumbnail hc-skeleton" }),
|
|
5677
5677
|
/* @__PURE__ */ c("div", { className: "hc-booking-card-skeleton__compact-info", children: [
|
|
@@ -5802,35 +5802,35 @@ function ze(t) {
|
|
|
5802
5802
|
const a = Object.prototype.toString.call(t);
|
|
5803
5803
|
return t instanceof Date || typeof t == "object" && a === "[object Date]" ? new t.constructor(+t) : typeof t == "number" || a === "[object Number]" || typeof t == "string" || a === "[object String]" ? new Date(t) : /* @__PURE__ */ new Date(NaN);
|
|
5804
5804
|
}
|
|
5805
|
-
function
|
|
5805
|
+
function lt(t, a) {
|
|
5806
5806
|
return t instanceof Date ? new t.constructor(a) : new Date(a);
|
|
5807
5807
|
}
|
|
5808
|
-
const
|
|
5808
|
+
const kn = 6048e5, I2 = 864e5, Nn = 6e4, $n = 36e5;
|
|
5809
5809
|
let P2 = {};
|
|
5810
|
-
function
|
|
5810
|
+
function Ht() {
|
|
5811
5811
|
return P2;
|
|
5812
5812
|
}
|
|
5813
|
-
function
|
|
5813
|
+
function dt(t, a) {
|
|
5814
5814
|
var l, d, h, u;
|
|
5815
|
-
const n =
|
|
5815
|
+
const n = Ht(), s = (a == null ? void 0 : a.weekStartsOn) ?? ((d = (l = a == null ? void 0 : a.locale) == null ? void 0 : l.options) == null ? void 0 : d.weekStartsOn) ?? n.weekStartsOn ?? ((u = (h = n.locale) == null ? void 0 : h.options) == null ? void 0 : u.weekStartsOn) ?? 0, r = ze(t), i = r.getDay(), o = (i < s ? 7 : 0) + i - s;
|
|
5816
5816
|
return r.setDate(r.getDate() - o), r.setHours(0, 0, 0, 0), r;
|
|
5817
5817
|
}
|
|
5818
|
-
function
|
|
5819
|
-
return
|
|
5818
|
+
function Lt(t) {
|
|
5819
|
+
return dt(t, { weekStartsOn: 1 });
|
|
5820
5820
|
}
|
|
5821
|
-
function
|
|
5822
|
-
const a = ze(t), n = a.getFullYear(), s =
|
|
5821
|
+
function Mn(t) {
|
|
5822
|
+
const a = ze(t), n = a.getFullYear(), s = lt(t, 0);
|
|
5823
5823
|
s.setFullYear(n + 1, 0, 4), s.setHours(0, 0, 0, 0);
|
|
5824
|
-
const r =
|
|
5824
|
+
const r = Lt(s), i = lt(t, 0);
|
|
5825
5825
|
i.setFullYear(n, 0, 4), i.setHours(0, 0, 0, 0);
|
|
5826
|
-
const o =
|
|
5826
|
+
const o = Lt(i);
|
|
5827
5827
|
return a.getTime() >= r.getTime() ? n + 1 : a.getTime() >= o.getTime() ? n : n - 1;
|
|
5828
5828
|
}
|
|
5829
|
-
function
|
|
5829
|
+
function an(t) {
|
|
5830
5830
|
const a = ze(t);
|
|
5831
5831
|
return a.setHours(0, 0, 0, 0), a;
|
|
5832
5832
|
}
|
|
5833
|
-
function
|
|
5833
|
+
function sn(t) {
|
|
5834
5834
|
const a = ze(t), n = new Date(
|
|
5835
5835
|
Date.UTC(
|
|
5836
5836
|
a.getFullYear(),
|
|
@@ -5845,12 +5845,12 @@ function nn(t) {
|
|
|
5845
5845
|
return n.setUTCFullYear(a.getFullYear()), +t - +n;
|
|
5846
5846
|
}
|
|
5847
5847
|
function A2(t, a) {
|
|
5848
|
-
const n =
|
|
5848
|
+
const n = an(t), s = an(a), r = +n - sn(n), i = +s - sn(s);
|
|
5849
5849
|
return Math.round((r - i) / I2);
|
|
5850
5850
|
}
|
|
5851
5851
|
function W2(t) {
|
|
5852
|
-
const a =
|
|
5853
|
-
return n.setFullYear(a, 0, 4), n.setHours(0, 0, 0, 0),
|
|
5852
|
+
const a = Mn(t), n = lt(t, 0);
|
|
5853
|
+
return n.setFullYear(a, 0, 4), n.setHours(0, 0, 0, 0), Lt(n);
|
|
5854
5854
|
}
|
|
5855
5855
|
function T2(t) {
|
|
5856
5856
|
return t instanceof Date || typeof t == "object" && Object.prototype.toString.call(t) === "[object Date]";
|
|
@@ -5862,7 +5862,7 @@ function E2(t) {
|
|
|
5862
5862
|
return !isNaN(Number(a));
|
|
5863
5863
|
}
|
|
5864
5864
|
function z2(t) {
|
|
5865
|
-
const a = ze(t), n =
|
|
5865
|
+
const a = ze(t), n = lt(t, 0);
|
|
5866
5866
|
return n.setFullYear(a.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
|
|
5867
5867
|
}
|
|
5868
5868
|
const R2 = {
|
|
@@ -5993,11 +5993,11 @@ const G2 = {
|
|
|
5993
5993
|
narrow: ["B", "A"],
|
|
5994
5994
|
abbreviated: ["BC", "AD"],
|
|
5995
5995
|
wide: ["Before Christ", "Anno Domini"]
|
|
5996
|
-
},
|
|
5996
|
+
}, K2 = {
|
|
5997
5997
|
narrow: ["1", "2", "3", "4"],
|
|
5998
5998
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
5999
5999
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
6000
|
-
},
|
|
6000
|
+
}, J2 = {
|
|
6001
6001
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
6002
6002
|
abbreviated: [
|
|
6003
6003
|
"Jan",
|
|
@@ -6121,12 +6121,12 @@ const G2 = {
|
|
|
6121
6121
|
defaultWidth: "wide"
|
|
6122
6122
|
}),
|
|
6123
6123
|
quarter: ge({
|
|
6124
|
-
values:
|
|
6124
|
+
values: K2,
|
|
6125
6125
|
defaultWidth: "wide",
|
|
6126
6126
|
argumentCallback: (t) => t - 1
|
|
6127
6127
|
}),
|
|
6128
6128
|
month: ge({
|
|
6129
|
-
values:
|
|
6129
|
+
values: J2,
|
|
6130
6130
|
defaultWidth: "wide"
|
|
6131
6131
|
}),
|
|
6132
6132
|
day: ge({
|
|
@@ -6168,7 +6168,7 @@ function a5(t, a) {
|
|
|
6168
6168
|
if (a(t[n]))
|
|
6169
6169
|
return n;
|
|
6170
6170
|
}
|
|
6171
|
-
function
|
|
6171
|
+
function Bt(t) {
|
|
6172
6172
|
return (a, n = {}) => {
|
|
6173
6173
|
const s = a.match(t.matchPattern);
|
|
6174
6174
|
if (!s) return null;
|
|
@@ -6248,7 +6248,7 @@ const s5 = /^(\d+)(th|st|nd|rd)?/i, r5 = /\d+/i, i5 = {
|
|
|
6248
6248
|
night: /night/i
|
|
6249
6249
|
}
|
|
6250
6250
|
}, g5 = {
|
|
6251
|
-
ordinalNumber:
|
|
6251
|
+
ordinalNumber: Bt({
|
|
6252
6252
|
matchPattern: s5,
|
|
6253
6253
|
parsePattern: r5,
|
|
6254
6254
|
valueCallback: (t) => parseInt(t, 10)
|
|
@@ -6284,7 +6284,7 @@ const s5 = /^(\d+)(th|st|nd|rd)?/i, r5 = /\d+/i, i5 = {
|
|
|
6284
6284
|
parsePatterns: p5,
|
|
6285
6285
|
defaultParseWidth: "any"
|
|
6286
6286
|
})
|
|
6287
|
-
},
|
|
6287
|
+
}, Ln = {
|
|
6288
6288
|
code: "en-US",
|
|
6289
6289
|
formatDistance: V2,
|
|
6290
6290
|
formatLong: F2,
|
|
@@ -6301,32 +6301,32 @@ function _5(t) {
|
|
|
6301
6301
|
return A2(a, z2(a)) + 1;
|
|
6302
6302
|
}
|
|
6303
6303
|
function w5(t) {
|
|
6304
|
-
const a = ze(t), n =
|
|
6305
|
-
return Math.round(n /
|
|
6304
|
+
const a = ze(t), n = +Lt(a) - +W2(a);
|
|
6305
|
+
return Math.round(n / kn) + 1;
|
|
6306
6306
|
}
|
|
6307
|
-
function
|
|
6307
|
+
function xn(t, a) {
|
|
6308
6308
|
var u, f, p, k;
|
|
6309
|
-
const n = ze(t), s = n.getFullYear(), r =
|
|
6309
|
+
const n = ze(t), s = n.getFullYear(), r = Ht(), i = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((f = (u = a == null ? void 0 : a.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((k = (p = r.locale) == null ? void 0 : p.options) == null ? void 0 : k.firstWeekContainsDate) ?? 1, o = lt(t, 0);
|
|
6310
6310
|
o.setFullYear(s + 1, 0, i), o.setHours(0, 0, 0, 0);
|
|
6311
|
-
const l =
|
|
6311
|
+
const l = dt(o, a), d = lt(t, 0);
|
|
6312
6312
|
d.setFullYear(s, 0, i), d.setHours(0, 0, 0, 0);
|
|
6313
|
-
const h =
|
|
6313
|
+
const h = dt(d, a);
|
|
6314
6314
|
return n.getTime() >= l.getTime() ? s + 1 : n.getTime() >= h.getTime() ? s : s - 1;
|
|
6315
6315
|
}
|
|
6316
6316
|
function v5(t, a) {
|
|
6317
6317
|
var l, d, h, u;
|
|
6318
|
-
const n =
|
|
6319
|
-
return i.setFullYear(r, 0, s), i.setHours(0, 0, 0, 0),
|
|
6318
|
+
const n = Ht(), s = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((d = (l = a == null ? void 0 : a.locale) == null ? void 0 : l.options) == null ? void 0 : d.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((u = (h = n.locale) == null ? void 0 : h.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, r = xn(t, a), i = lt(t, 0);
|
|
6319
|
+
return i.setFullYear(r, 0, s), i.setHours(0, 0, 0, 0), dt(i, a);
|
|
6320
6320
|
}
|
|
6321
6321
|
function b5(t, a) {
|
|
6322
|
-
const n = ze(t), s = +
|
|
6323
|
-
return Math.round(s /
|
|
6322
|
+
const n = ze(t), s = +dt(n, a) - +v5(n, a);
|
|
6323
|
+
return Math.round(s / kn) + 1;
|
|
6324
6324
|
}
|
|
6325
6325
|
function ie(t, a) {
|
|
6326
6326
|
const n = t < 0 ? "-" : "", s = Math.abs(t).toString().padStart(a, "0");
|
|
6327
6327
|
return n + s;
|
|
6328
6328
|
}
|
|
6329
|
-
const
|
|
6329
|
+
const at = {
|
|
6330
6330
|
// Year
|
|
6331
6331
|
y(t, a) {
|
|
6332
6332
|
const n = t.getFullYear(), s = n > 0 ? n : 1 - n;
|
|
@@ -6380,14 +6380,14 @@ const nt = {
|
|
|
6380
6380
|
);
|
|
6381
6381
|
return ie(r, a.length);
|
|
6382
6382
|
}
|
|
6383
|
-
},
|
|
6383
|
+
}, mt = {
|
|
6384
6384
|
midnight: "midnight",
|
|
6385
6385
|
noon: "noon",
|
|
6386
6386
|
morning: "morning",
|
|
6387
6387
|
afternoon: "afternoon",
|
|
6388
6388
|
evening: "evening",
|
|
6389
6389
|
night: "night"
|
|
6390
|
-
},
|
|
6390
|
+
}, rn = {
|
|
6391
6391
|
// Era
|
|
6392
6392
|
G: function(t, a, n) {
|
|
6393
6393
|
const s = t.getFullYear() > 0 ? 1 : 0;
|
|
@@ -6412,11 +6412,11 @@ const nt = {
|
|
|
6412
6412
|
const s = t.getFullYear(), r = s > 0 ? s : 1 - s;
|
|
6413
6413
|
return n.ordinalNumber(r, { unit: "year" });
|
|
6414
6414
|
}
|
|
6415
|
-
return
|
|
6415
|
+
return at.y(t, a);
|
|
6416
6416
|
},
|
|
6417
6417
|
// Local week-numbering year
|
|
6418
6418
|
Y: function(t, a, n, s) {
|
|
6419
|
-
const r =
|
|
6419
|
+
const r = xn(t, s), i = r > 0 ? r : 1 - r;
|
|
6420
6420
|
if (a === "YY") {
|
|
6421
6421
|
const o = i % 100;
|
|
6422
6422
|
return ie(o, 2);
|
|
@@ -6425,7 +6425,7 @@ const nt = {
|
|
|
6425
6425
|
},
|
|
6426
6426
|
// ISO week-numbering year
|
|
6427
6427
|
R: function(t, a) {
|
|
6428
|
-
const n =
|
|
6428
|
+
const n = Mn(t);
|
|
6429
6429
|
return ie(n, a.length);
|
|
6430
6430
|
},
|
|
6431
6431
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -6515,7 +6515,7 @@ const nt = {
|
|
|
6515
6515
|
switch (a) {
|
|
6516
6516
|
case "M":
|
|
6517
6517
|
case "MM":
|
|
6518
|
-
return
|
|
6518
|
+
return at.M(t, a);
|
|
6519
6519
|
// 1st, 2nd, ..., 12th
|
|
6520
6520
|
case "Mo":
|
|
6521
6521
|
return n.ordinalNumber(s + 1, { unit: "month" });
|
|
@@ -6580,7 +6580,7 @@ const nt = {
|
|
|
6580
6580
|
},
|
|
6581
6581
|
// Day of the month
|
|
6582
6582
|
d: function(t, a, n) {
|
|
6583
|
-
return a === "do" ? n.ordinalNumber(t.getDate(), { unit: "date" }) :
|
|
6583
|
+
return a === "do" ? n.ordinalNumber(t.getDate(), { unit: "date" }) : at.d(t, a);
|
|
6584
6584
|
},
|
|
6585
6585
|
// Day of year
|
|
6586
6586
|
D: function(t, a, n) {
|
|
@@ -6770,7 +6770,7 @@ const nt = {
|
|
|
6770
6770
|
b: function(t, a, n) {
|
|
6771
6771
|
const s = t.getHours();
|
|
6772
6772
|
let r;
|
|
6773
|
-
switch (s === 12 ? r =
|
|
6773
|
+
switch (s === 12 ? r = mt.noon : s === 0 ? r = mt.midnight : r = s / 12 >= 1 ? "pm" : "am", a) {
|
|
6774
6774
|
case "b":
|
|
6775
6775
|
case "bb":
|
|
6776
6776
|
return n.dayPeriod(r, {
|
|
@@ -6799,7 +6799,7 @@ const nt = {
|
|
|
6799
6799
|
B: function(t, a, n) {
|
|
6800
6800
|
const s = t.getHours();
|
|
6801
6801
|
let r;
|
|
6802
|
-
switch (s >= 17 ? r =
|
|
6802
|
+
switch (s >= 17 ? r = mt.evening : s >= 12 ? r = mt.afternoon : s >= 4 ? r = mt.morning : r = mt.night, a) {
|
|
6803
6803
|
case "B":
|
|
6804
6804
|
case "BB":
|
|
6805
6805
|
case "BBB":
|
|
@@ -6826,11 +6826,11 @@ const nt = {
|
|
|
6826
6826
|
let s = t.getHours() % 12;
|
|
6827
6827
|
return s === 0 && (s = 12), n.ordinalNumber(s, { unit: "hour" });
|
|
6828
6828
|
}
|
|
6829
|
-
return
|
|
6829
|
+
return at.h(t, a);
|
|
6830
6830
|
},
|
|
6831
6831
|
// Hour [0-23]
|
|
6832
6832
|
H: function(t, a, n) {
|
|
6833
|
-
return a === "Ho" ? n.ordinalNumber(t.getHours(), { unit: "hour" }) :
|
|
6833
|
+
return a === "Ho" ? n.ordinalNumber(t.getHours(), { unit: "hour" }) : at.H(t, a);
|
|
6834
6834
|
},
|
|
6835
6835
|
// Hour [0-11]
|
|
6836
6836
|
K: function(t, a, n) {
|
|
@@ -6844,15 +6844,15 @@ const nt = {
|
|
|
6844
6844
|
},
|
|
6845
6845
|
// Minute
|
|
6846
6846
|
m: function(t, a, n) {
|
|
6847
|
-
return a === "mo" ? n.ordinalNumber(t.getMinutes(), { unit: "minute" }) :
|
|
6847
|
+
return a === "mo" ? n.ordinalNumber(t.getMinutes(), { unit: "minute" }) : at.m(t, a);
|
|
6848
6848
|
},
|
|
6849
6849
|
// Second
|
|
6850
6850
|
s: function(t, a, n) {
|
|
6851
|
-
return a === "so" ? n.ordinalNumber(t.getSeconds(), { unit: "second" }) :
|
|
6851
|
+
return a === "so" ? n.ordinalNumber(t.getSeconds(), { unit: "second" }) : at.s(t, a);
|
|
6852
6852
|
},
|
|
6853
6853
|
// Fraction of second
|
|
6854
6854
|
S: function(t, a) {
|
|
6855
|
-
return
|
|
6855
|
+
return at.S(t, a);
|
|
6856
6856
|
},
|
|
6857
6857
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
6858
6858
|
X: function(t, a, n) {
|
|
@@ -6862,13 +6862,13 @@ const nt = {
|
|
|
6862
6862
|
switch (a) {
|
|
6863
6863
|
// Hours and optional minutes
|
|
6864
6864
|
case "X":
|
|
6865
|
-
return
|
|
6865
|
+
return cn(s);
|
|
6866
6866
|
// Hours, minutes and optional seconds without `:` delimiter
|
|
6867
6867
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
6868
6868
|
// so this token always has the same output as `XX`
|
|
6869
6869
|
case "XXXX":
|
|
6870
6870
|
case "XX":
|
|
6871
|
-
return
|
|
6871
|
+
return ct(s);
|
|
6872
6872
|
// Hours, minutes and optional seconds with `:` delimiter
|
|
6873
6873
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
6874
6874
|
// so this token always has the same output as `XXX`
|
|
@@ -6876,7 +6876,7 @@ const nt = {
|
|
|
6876
6876
|
case "XXX":
|
|
6877
6877
|
// Hours and minutes with `:` delimiter
|
|
6878
6878
|
default:
|
|
6879
|
-
return
|
|
6879
|
+
return ct(s, ":");
|
|
6880
6880
|
}
|
|
6881
6881
|
},
|
|
6882
6882
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -6885,13 +6885,13 @@ const nt = {
|
|
|
6885
6885
|
switch (a) {
|
|
6886
6886
|
// Hours and optional minutes
|
|
6887
6887
|
case "x":
|
|
6888
|
-
return
|
|
6888
|
+
return cn(s);
|
|
6889
6889
|
// Hours, minutes and optional seconds without `:` delimiter
|
|
6890
6890
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
6891
6891
|
// so this token always has the same output as `xx`
|
|
6892
6892
|
case "xxxx":
|
|
6893
6893
|
case "xx":
|
|
6894
|
-
return
|
|
6894
|
+
return ct(s);
|
|
6895
6895
|
// Hours, minutes and optional seconds with `:` delimiter
|
|
6896
6896
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
6897
6897
|
// so this token always has the same output as `xxx`
|
|
@@ -6899,7 +6899,7 @@ const nt = {
|
|
|
6899
6899
|
case "xxx":
|
|
6900
6900
|
// Hours and minutes with `:` delimiter
|
|
6901
6901
|
default:
|
|
6902
|
-
return
|
|
6902
|
+
return ct(s, ":");
|
|
6903
6903
|
}
|
|
6904
6904
|
},
|
|
6905
6905
|
// Timezone (GMT)
|
|
@@ -6910,11 +6910,11 @@ const nt = {
|
|
|
6910
6910
|
case "O":
|
|
6911
6911
|
case "OO":
|
|
6912
6912
|
case "OOO":
|
|
6913
|
-
return "GMT" +
|
|
6913
|
+
return "GMT" + on(s, ":");
|
|
6914
6914
|
// Long
|
|
6915
6915
|
case "OOOO":
|
|
6916
6916
|
default:
|
|
6917
|
-
return "GMT" +
|
|
6917
|
+
return "GMT" + ct(s, ":");
|
|
6918
6918
|
}
|
|
6919
6919
|
},
|
|
6920
6920
|
// Timezone (specific non-location)
|
|
@@ -6925,11 +6925,11 @@ const nt = {
|
|
|
6925
6925
|
case "z":
|
|
6926
6926
|
case "zz":
|
|
6927
6927
|
case "zzz":
|
|
6928
|
-
return "GMT" +
|
|
6928
|
+
return "GMT" + on(s, ":");
|
|
6929
6929
|
// Long
|
|
6930
6930
|
case "zzzz":
|
|
6931
6931
|
default:
|
|
6932
|
-
return "GMT" +
|
|
6932
|
+
return "GMT" + ct(s, ":");
|
|
6933
6933
|
}
|
|
6934
6934
|
},
|
|
6935
6935
|
// Seconds timestamp
|
|
@@ -6943,18 +6943,18 @@ const nt = {
|
|
|
6943
6943
|
return ie(s, a.length);
|
|
6944
6944
|
}
|
|
6945
6945
|
};
|
|
6946
|
-
function
|
|
6946
|
+
function on(t, a = "") {
|
|
6947
6947
|
const n = t > 0 ? "-" : "+", s = Math.abs(t), r = Math.trunc(s / 60), i = s % 60;
|
|
6948
6948
|
return i === 0 ? n + String(r) : n + String(r) + a + ie(i, 2);
|
|
6949
6949
|
}
|
|
6950
|
-
function
|
|
6951
|
-
return t % 60 === 0 ? (t > 0 ? "-" : "+") + ie(Math.abs(t) / 60, 2) :
|
|
6950
|
+
function cn(t, a) {
|
|
6951
|
+
return t % 60 === 0 ? (t > 0 ? "-" : "+") + ie(Math.abs(t) / 60, 2) : ct(t, a);
|
|
6952
6952
|
}
|
|
6953
|
-
function
|
|
6953
|
+
function ct(t, a = "") {
|
|
6954
6954
|
const n = t > 0 ? "-" : "+", s = Math.abs(t), r = ie(Math.trunc(s / 60), 2), i = ie(s % 60, 2);
|
|
6955
6955
|
return n + r + a + i;
|
|
6956
6956
|
}
|
|
6957
|
-
const
|
|
6957
|
+
const ln = (t, a) => {
|
|
6958
6958
|
switch (t) {
|
|
6959
6959
|
case "P":
|
|
6960
6960
|
return a.date({ width: "short" });
|
|
@@ -6966,7 +6966,7 @@ const on = (t, a) => {
|
|
|
6966
6966
|
default:
|
|
6967
6967
|
return a.date({ width: "full" });
|
|
6968
6968
|
}
|
|
6969
|
-
},
|
|
6969
|
+
}, Sn = (t, a) => {
|
|
6970
6970
|
switch (t) {
|
|
6971
6971
|
case "p":
|
|
6972
6972
|
return a.time({ width: "short" });
|
|
@@ -6981,7 +6981,7 @@ const on = (t, a) => {
|
|
|
6981
6981
|
}, C5 = (t, a) => {
|
|
6982
6982
|
const n = t.match(/(P+)(p+)?/) || [], s = n[1], r = n[2];
|
|
6983
6983
|
if (!r)
|
|
6984
|
-
return
|
|
6984
|
+
return ln(t, a);
|
|
6985
6985
|
let i;
|
|
6986
6986
|
switch (s) {
|
|
6987
6987
|
case "P":
|
|
@@ -6998,9 +6998,9 @@ const on = (t, a) => {
|
|
|
6998
6998
|
i = a.dateTime({ width: "full" });
|
|
6999
6999
|
break;
|
|
7000
7000
|
}
|
|
7001
|
-
return i.replace("{{date}}",
|
|
7001
|
+
return i.replace("{{date}}", ln(s, a)).replace("{{time}}", Sn(r, a));
|
|
7002
7002
|
}, y5 = {
|
|
7003
|
-
p:
|
|
7003
|
+
p: Sn,
|
|
7004
7004
|
P: C5
|
|
7005
7005
|
}, k5 = /^D+$/, N5 = /^Y+$/, $5 = ["D", "DD", "YY", "YYYY"];
|
|
7006
7006
|
function M5(t) {
|
|
@@ -7020,14 +7020,14 @@ function S5(t, a, n) {
|
|
|
7020
7020
|
const H5 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, B5 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, D5 = /^'([^]*?)'?$/, I5 = /''/g, P5 = /[a-zA-Z]/;
|
|
7021
7021
|
function A5(t, a, n) {
|
|
7022
7022
|
var u, f, p, k, _, w, m, L;
|
|
7023
|
-
const s =
|
|
7023
|
+
const s = Ht(), r = (n == null ? void 0 : n.locale) ?? s.locale ?? Ln, i = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((f = (u = n == null ? void 0 : n.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? s.firstWeekContainsDate ?? ((k = (p = s.locale) == null ? void 0 : p.options) == null ? void 0 : k.firstWeekContainsDate) ?? 1, o = (n == null ? void 0 : n.weekStartsOn) ?? ((w = (_ = n == null ? void 0 : n.locale) == null ? void 0 : _.options) == null ? void 0 : w.weekStartsOn) ?? s.weekStartsOn ?? ((L = (m = s.locale) == null ? void 0 : m.options) == null ? void 0 : L.weekStartsOn) ?? 0, l = ze(t);
|
|
7024
7024
|
if (!E2(l))
|
|
7025
7025
|
throw new RangeError("Invalid time value");
|
|
7026
7026
|
let d = a.match(B5).map((g) => {
|
|
7027
7027
|
const M = g[0];
|
|
7028
7028
|
if (M === "p" || M === "P") {
|
|
7029
|
-
const
|
|
7030
|
-
return
|
|
7029
|
+
const x = y5[M];
|
|
7030
|
+
return x(g, r.formatLong);
|
|
7031
7031
|
}
|
|
7032
7032
|
return g;
|
|
7033
7033
|
}).join("").match(H5).map((g) => {
|
|
@@ -7036,7 +7036,7 @@ function A5(t, a, n) {
|
|
|
7036
7036
|
const M = g[0];
|
|
7037
7037
|
if (M === "'")
|
|
7038
7038
|
return { isToken: !1, value: W5(g) };
|
|
7039
|
-
if (
|
|
7039
|
+
if (rn[M])
|
|
7040
7040
|
return { isToken: !0, value: g };
|
|
7041
7041
|
if (M.match(P5))
|
|
7042
7042
|
throw new RangeError(
|
|
@@ -7054,16 +7054,16 @@ function A5(t, a, n) {
|
|
|
7054
7054
|
if (!g.isToken) return g.value;
|
|
7055
7055
|
const M = g.value;
|
|
7056
7056
|
(!(n != null && n.useAdditionalWeekYearTokens) && L5(M) || !(n != null && n.useAdditionalDayOfYearTokens) && M5(M)) && x5(M, a, String(t));
|
|
7057
|
-
const
|
|
7058
|
-
return
|
|
7057
|
+
const x = rn[M[0]];
|
|
7058
|
+
return x(l, M, r.localize, h);
|
|
7059
7059
|
}).join("");
|
|
7060
7060
|
}
|
|
7061
7061
|
function W5(t) {
|
|
7062
7062
|
const a = t.match(D5);
|
|
7063
7063
|
return a ? a[1].replace(I5, "'") : t;
|
|
7064
7064
|
}
|
|
7065
|
-
function
|
|
7066
|
-
const s =
|
|
7065
|
+
function dn(t, a, n) {
|
|
7066
|
+
const s = dt(t, n), r = dt(a, n);
|
|
7067
7067
|
return +s == +r;
|
|
7068
7068
|
}
|
|
7069
7069
|
function T5(t, a) {
|
|
@@ -7097,21 +7097,21 @@ function T5(t, a) {
|
|
|
7097
7097
|
}
|
|
7098
7098
|
return new Date(i + o + l);
|
|
7099
7099
|
}
|
|
7100
|
-
const
|
|
7100
|
+
const Mt = {
|
|
7101
7101
|
dateTimeDelimiter: /[T ]/,
|
|
7102
7102
|
timeZoneDelimiter: /[Z ]/i,
|
|
7103
7103
|
timezone: /([Z+-].*)$/
|
|
7104
7104
|
}, E5 = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, z5 = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, R5 = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
7105
7105
|
function V5(t) {
|
|
7106
|
-
const a = {}, n = t.split(
|
|
7106
|
+
const a = {}, n = t.split(Mt.dateTimeDelimiter);
|
|
7107
7107
|
let s;
|
|
7108
7108
|
if (n.length > 2)
|
|
7109
7109
|
return a;
|
|
7110
|
-
if (/:/.test(n[0]) ? s = n[0] : (a.date = n[0], s = n[1],
|
|
7110
|
+
if (/:/.test(n[0]) ? s = n[0] : (a.date = n[0], s = n[1], Mt.timeZoneDelimiter.test(a.date) && (a.date = t.split(Mt.timeZoneDelimiter)[0], s = t.substr(
|
|
7111
7111
|
a.date.length,
|
|
7112
7112
|
t.length
|
|
7113
7113
|
))), s) {
|
|
7114
|
-
const r =
|
|
7114
|
+
const r = Mt.timezone.exec(s);
|
|
7115
7115
|
r ? (a.time = s.replace(r[1], ""), a.timezone = r[1]) : a.time = s;
|
|
7116
7116
|
}
|
|
7117
7117
|
return a;
|
|
@@ -7131,24 +7131,24 @@ function Z5(t, a) {
|
|
|
7131
7131
|
if (a === null) return /* @__PURE__ */ new Date(NaN);
|
|
7132
7132
|
const n = t.match(E5);
|
|
7133
7133
|
if (!n) return /* @__PURE__ */ new Date(NaN);
|
|
7134
|
-
const s = !!n[4], r =
|
|
7134
|
+
const s = !!n[4], r = vt(n[1]), i = vt(n[2]) - 1, o = vt(n[3]), l = vt(n[4]), d = vt(n[5]) - 1;
|
|
7135
7135
|
if (s)
|
|
7136
|
-
return
|
|
7136
|
+
return J5(a, l, d) ? q5(a, l, d) : /* @__PURE__ */ new Date(NaN);
|
|
7137
7137
|
{
|
|
7138
7138
|
const h = /* @__PURE__ */ new Date(0);
|
|
7139
|
-
return !G5(a, i, o) || !
|
|
7139
|
+
return !G5(a, i, o) || !K5(a, r) ? /* @__PURE__ */ new Date(NaN) : (h.setUTCFullYear(a, i, Math.max(r, o)), h);
|
|
7140
7140
|
}
|
|
7141
7141
|
}
|
|
7142
|
-
function
|
|
7142
|
+
function vt(t) {
|
|
7143
7143
|
return t ? parseInt(t) : 1;
|
|
7144
7144
|
}
|
|
7145
7145
|
function O5(t) {
|
|
7146
7146
|
const a = t.match(z5);
|
|
7147
7147
|
if (!a) return NaN;
|
|
7148
|
-
const n =
|
|
7149
|
-
return U5(n, s, r) ? n *
|
|
7148
|
+
const n = Wt(a[1]), s = Wt(a[2]), r = Wt(a[3]);
|
|
7149
|
+
return U5(n, s, r) ? n * $n + s * Nn + r * 1e3 : NaN;
|
|
7150
7150
|
}
|
|
7151
|
-
function
|
|
7151
|
+
function Wt(t) {
|
|
7152
7152
|
return t && parseFloat(t.replace(",", ".")) || 0;
|
|
7153
7153
|
}
|
|
7154
7154
|
function F5(t) {
|
|
@@ -7156,7 +7156,7 @@ function F5(t) {
|
|
|
7156
7156
|
const a = t.match(R5);
|
|
7157
7157
|
if (!a) return 0;
|
|
7158
7158
|
const n = a[1] === "+" ? -1 : 1, s = parseInt(a[2]), r = a[3] && parseInt(a[3]) || 0;
|
|
7159
|
-
return X5(s, r) ? n * (s *
|
|
7159
|
+
return X5(s, r) ? n * (s * $n + r * Nn) : NaN;
|
|
7160
7160
|
}
|
|
7161
7161
|
function q5(t, a, n) {
|
|
7162
7162
|
const s = /* @__PURE__ */ new Date(0);
|
|
@@ -7165,16 +7165,16 @@ function q5(t, a, n) {
|
|
|
7165
7165
|
return s.setUTCDate(s.getUTCDate() + i), s;
|
|
7166
7166
|
}
|
|
7167
7167
|
const Y5 = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
7168
|
-
function
|
|
7168
|
+
function Hn(t) {
|
|
7169
7169
|
return t % 400 === 0 || t % 4 === 0 && t % 100 !== 0;
|
|
7170
7170
|
}
|
|
7171
7171
|
function G5(t, a, n) {
|
|
7172
|
-
return a >= 0 && a <= 11 && n >= 1 && n <= (Y5[a] || (
|
|
7172
|
+
return a >= 0 && a <= 11 && n >= 1 && n <= (Y5[a] || (Hn(t) ? 29 : 28));
|
|
7173
7173
|
}
|
|
7174
|
-
function
|
|
7175
|
-
return a >= 1 && a <= (
|
|
7174
|
+
function K5(t, a) {
|
|
7175
|
+
return a >= 1 && a <= (Hn(t) ? 366 : 365);
|
|
7176
7176
|
}
|
|
7177
|
-
function
|
|
7177
|
+
function J5(t, a, n) {
|
|
7178
7178
|
return a >= 1 && a <= 53 && n >= 0 && n <= 6;
|
|
7179
7179
|
}
|
|
7180
7180
|
function U5(t, a, n) {
|
|
@@ -7183,7 +7183,7 @@ function U5(t, a, n) {
|
|
|
7183
7183
|
function X5(t, a) {
|
|
7184
7184
|
return a >= 0 && a <= 59;
|
|
7185
7185
|
}
|
|
7186
|
-
const
|
|
7186
|
+
const hn = {
|
|
7187
7187
|
lessThanXSeconds: {
|
|
7188
7188
|
standalone: {
|
|
7189
7189
|
one: "weniger als 1 Sekunde",
|
|
@@ -7340,7 +7340,7 @@ const ln = {
|
|
|
7340
7340
|
}
|
|
7341
7341
|
}, Q5 = (t, a, n) => {
|
|
7342
7342
|
let s;
|
|
7343
|
-
const r = n != null && n.addSuffix ?
|
|
7343
|
+
const r = n != null && n.addSuffix ? hn[t].withPreposition : hn[t].standalone;
|
|
7344
7344
|
return typeof r == "string" ? s = r : a === 1 ? s = r.one : s = r.other.replace("{{count}}", String(a)), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + s : "vor " + s : s;
|
|
7345
7345
|
}, eh = {
|
|
7346
7346
|
full: "EEEE, do MMMM y",
|
|
@@ -7389,7 +7389,7 @@ const ln = {
|
|
|
7389
7389
|
narrow: ["1", "2", "3", "4"],
|
|
7390
7390
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
7391
7391
|
wide: ["1. Quartal", "2. Quartal", "3. Quartal", "4. Quartal"]
|
|
7392
|
-
},
|
|
7392
|
+
}, Tt = {
|
|
7393
7393
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
7394
7394
|
abbreviated: [
|
|
7395
7395
|
"Jan",
|
|
@@ -7420,7 +7420,7 @@ const ln = {
|
|
|
7420
7420
|
"Dezember"
|
|
7421
7421
|
]
|
|
7422
7422
|
}, ch = {
|
|
7423
|
-
narrow:
|
|
7423
|
+
narrow: Tt.narrow,
|
|
7424
7424
|
abbreviated: [
|
|
7425
7425
|
"Jan.",
|
|
7426
7426
|
"Feb.",
|
|
@@ -7435,7 +7435,7 @@ const ln = {
|
|
|
7435
7435
|
"Nov.",
|
|
7436
7436
|
"Dez."
|
|
7437
7437
|
],
|
|
7438
|
-
wide:
|
|
7438
|
+
wide: Tt.wide
|
|
7439
7439
|
}, lh = {
|
|
7440
7440
|
narrow: ["S", "M", "D", "M", "D", "F", "S"],
|
|
7441
7441
|
short: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
|
|
@@ -7523,7 +7523,7 @@ const ln = {
|
|
|
7523
7523
|
argumentCallback: (t) => t - 1
|
|
7524
7524
|
}),
|
|
7525
7525
|
month: ge({
|
|
7526
|
-
values:
|
|
7526
|
+
values: Tt,
|
|
7527
7527
|
formattingValues: ch,
|
|
7528
7528
|
defaultWidth: "wide"
|
|
7529
7529
|
}),
|
|
@@ -7607,7 +7607,7 @@ const ln = {
|
|
|
7607
7607
|
// will never be matched. Night is matched by `pm`
|
|
7608
7608
|
}
|
|
7609
7609
|
}, Mh = {
|
|
7610
|
-
ordinalNumber:
|
|
7610
|
+
ordinalNumber: Bt({
|
|
7611
7611
|
matchPattern: fh,
|
|
7612
7612
|
parsePattern: ph,
|
|
7613
7613
|
valueCallback: (t) => parseInt(t)
|
|
@@ -7643,7 +7643,7 @@ const ln = {
|
|
|
7643
7643
|
parsePatterns: $h,
|
|
7644
7644
|
defaultParseWidth: "any"
|
|
7645
7645
|
})
|
|
7646
|
-
},
|
|
7646
|
+
}, Bn = {
|
|
7647
7647
|
code: "de",
|
|
7648
7648
|
formatDistance: Q5,
|
|
7649
7649
|
formatLong: ah,
|
|
@@ -7883,11 +7883,11 @@ const ln = {
|
|
|
7883
7883
|
wide: /^[1234](er|ème|e)? trimestre/i
|
|
7884
7884
|
}, Gh = {
|
|
7885
7885
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
7886
|
-
},
|
|
7886
|
+
}, Kh = {
|
|
7887
7887
|
narrow: /^[jfmasond]/i,
|
|
7888
7888
|
abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,
|
|
7889
7889
|
wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i
|
|
7890
|
-
},
|
|
7890
|
+
}, Jh = {
|
|
7891
7891
|
narrow: [
|
|
7892
7892
|
/^j/i,
|
|
7893
7893
|
/^f/i,
|
|
@@ -7939,7 +7939,7 @@ const ln = {
|
|
|
7939
7939
|
night: /nuit/i
|
|
7940
7940
|
}
|
|
7941
7941
|
}, tu = {
|
|
7942
|
-
ordinalNumber:
|
|
7942
|
+
ordinalNumber: Bt({
|
|
7943
7943
|
matchPattern: Zh,
|
|
7944
7944
|
parsePattern: Oh,
|
|
7945
7945
|
valueCallback: (t) => parseInt(t)
|
|
@@ -7958,9 +7958,9 @@ const ln = {
|
|
|
7958
7958
|
valueCallback: (t) => t + 1
|
|
7959
7959
|
}),
|
|
7960
7960
|
month: _e({
|
|
7961
|
-
matchPatterns:
|
|
7961
|
+
matchPatterns: Kh,
|
|
7962
7962
|
defaultMatchWidth: "wide",
|
|
7963
|
-
parsePatterns:
|
|
7963
|
+
parsePatterns: Jh,
|
|
7964
7964
|
defaultParseWidth: "any"
|
|
7965
7965
|
}),
|
|
7966
7966
|
day: _e({
|
|
@@ -8080,7 +8080,7 @@ const ln = {
|
|
|
8080
8080
|
formats: ou,
|
|
8081
8081
|
defaultWidth: "full"
|
|
8082
8082
|
})
|
|
8083
|
-
},
|
|
8083
|
+
}, Zt = [
|
|
8084
8084
|
"domenica",
|
|
8085
8085
|
"lunedì",
|
|
8086
8086
|
"martedì",
|
|
@@ -8094,31 +8094,31 @@ function lu(t) {
|
|
|
8094
8094
|
case 0:
|
|
8095
8095
|
return "'domenica scorsa alle' p";
|
|
8096
8096
|
default:
|
|
8097
|
-
return "'" +
|
|
8097
|
+
return "'" + Zt[t] + " scorso alle' p";
|
|
8098
8098
|
}
|
|
8099
8099
|
}
|
|
8100
|
-
function
|
|
8101
|
-
return "'" +
|
|
8100
|
+
function un(t) {
|
|
8101
|
+
return "'" + Zt[t] + " alle' p";
|
|
8102
8102
|
}
|
|
8103
8103
|
function du(t) {
|
|
8104
8104
|
switch (t) {
|
|
8105
8105
|
case 0:
|
|
8106
8106
|
return "'domenica prossima alle' p";
|
|
8107
8107
|
default:
|
|
8108
|
-
return "'" +
|
|
8108
|
+
return "'" + Zt[t] + " prossimo alle' p";
|
|
8109
8109
|
}
|
|
8110
8110
|
}
|
|
8111
8111
|
const hu = {
|
|
8112
8112
|
lastWeek: (t, a, n) => {
|
|
8113
8113
|
const s = t.getDay();
|
|
8114
|
-
return
|
|
8114
|
+
return dn(t, a, n) ? un(s) : lu(s);
|
|
8115
8115
|
},
|
|
8116
8116
|
yesterday: "'ieri alle' p",
|
|
8117
8117
|
today: "'oggi alle' p",
|
|
8118
8118
|
tomorrow: "'domani alle' p",
|
|
8119
8119
|
nextWeek: (t, a, n) => {
|
|
8120
8120
|
const s = t.getDay();
|
|
8121
|
-
return
|
|
8121
|
+
return dn(t, a, n) ? un(s) : du(s);
|
|
8122
8122
|
},
|
|
8123
8123
|
other: "P"
|
|
8124
8124
|
}, uu = (t, a, n, s) => {
|
|
@@ -8333,7 +8333,7 @@ const hu = {
|
|
|
8333
8333
|
night: /notte/i
|
|
8334
8334
|
}
|
|
8335
8335
|
}, Iu = {
|
|
8336
|
-
ordinalNumber:
|
|
8336
|
+
ordinalNumber: Bt({
|
|
8337
8337
|
matchPattern: Cu,
|
|
8338
8338
|
parsePattern: yu,
|
|
8339
8339
|
valueCallback: (t) => parseInt(t, 10)
|
|
@@ -8380,11 +8380,11 @@ const hu = {
|
|
|
8380
8380
|
weekStartsOn: 1,
|
|
8381
8381
|
firstWeekContainsDate: 4
|
|
8382
8382
|
}
|
|
8383
|
-
}, Au = { de:
|
|
8383
|
+
}, Au = { de: Bn, en: Ln, fr: nu, it: Pu }, mn = (t, a = "dd. MMM yyyy", n = "de") => {
|
|
8384
8384
|
const s = typeof t == "string" ? T5(t) : t;
|
|
8385
|
-
return A5(s, a, { locale: Au[n] ||
|
|
8385
|
+
return A5(s, a, { locale: Au[n] || Bn });
|
|
8386
8386
|
}, Xu = (t, a, n = "de") => {
|
|
8387
|
-
const s =
|
|
8387
|
+
const s = mn(t, "dd.", n), r = mn(a, "dd. MMM yyyy", n);
|
|
8388
8388
|
return `${s} - ${r}`;
|
|
8389
8389
|
}, Qu = (t, a) => t <= 0 ? 0 : Math.round((t - a) / t * 100), Wu = ({
|
|
8390
8390
|
fullName: t,
|
|
@@ -8395,7 +8395,7 @@ const hu = {
|
|
|
8395
8395
|
domainText: i = "hotelcard.ch",
|
|
8396
8396
|
cardImageUrl: o
|
|
8397
8397
|
}) => {
|
|
8398
|
-
const { t: l } =
|
|
8398
|
+
const { t: l } = de(), d = r || l("membership.valid_thru", "Gültigkeit/Validité");
|
|
8399
8399
|
return /* @__PURE__ */ c(
|
|
8400
8400
|
"div",
|
|
8401
8401
|
{
|
|
@@ -8463,21 +8463,21 @@ const Tu = () => /* @__PURE__ */ e(
|
|
|
8463
8463
|
);
|
|
8464
8464
|
Eu.displayName = "ExperienceCard";
|
|
8465
8465
|
export {
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8466
|
+
_n as Badge,
|
|
8467
|
+
xt as BaseCard,
|
|
8468
|
+
Rt as BaseCardContent,
|
|
8469
|
+
vn as BaseCardImage,
|
|
8470
|
+
St as BaseCardSkeleton,
|
|
8471
8471
|
gi as Benefits,
|
|
8472
8472
|
ui as Block,
|
|
8473
|
-
|
|
8474
|
-
|
|
8473
|
+
jt as BookingCardDetails,
|
|
8474
|
+
ke as Button,
|
|
8475
8475
|
k1 as CATEGORY_OPTIONS,
|
|
8476
8476
|
ai as Card,
|
|
8477
|
-
|
|
8477
|
+
Kr as Checkbox,
|
|
8478
8478
|
H2 as ChevronLeftIcon,
|
|
8479
8479
|
B2 as ChevronRightIcon,
|
|
8480
|
-
|
|
8480
|
+
zt as Chip,
|
|
8481
8481
|
Oe as CollapsibleFilterSection,
|
|
8482
8482
|
$2 as CompactBookingCard,
|
|
8483
8483
|
L2 as CompactBookingCardSkeleton,
|
|
@@ -8493,14 +8493,14 @@ export {
|
|
|
8493
8493
|
M2 as FeaturedBookingCardSkeleton,
|
|
8494
8494
|
qe as FilterCheckboxItem,
|
|
8495
8495
|
Nd as FilterMinimap,
|
|
8496
|
-
|
|
8496
|
+
Ju as FilterModal,
|
|
8497
8497
|
e2 as FilterPanel,
|
|
8498
|
-
|
|
8499
|
-
|
|
8498
|
+
Nt as FilterSkeleton,
|
|
8499
|
+
Cn as GuestContent,
|
|
8500
8500
|
So as GuestSelector,
|
|
8501
8501
|
x2 as HeartIcon,
|
|
8502
8502
|
Gu as HotelCard,
|
|
8503
|
-
|
|
8503
|
+
Jc as HotelCardContent,
|
|
8504
8504
|
Zc as HotelCardImage,
|
|
8505
8505
|
Uc as HotelCardSkeleton,
|
|
8506
8506
|
Zu as HotelCardUIProvider,
|
|
@@ -8515,29 +8515,29 @@ export {
|
|
|
8515
8515
|
D2 as PinIcon,
|
|
8516
8516
|
j1 as PriceRangeFilter,
|
|
8517
8517
|
ld as REVIEW_OPTIONS,
|
|
8518
|
-
|
|
8519
|
-
|
|
8518
|
+
Jr as RadioButton,
|
|
8519
|
+
wn as Rating,
|
|
8520
8520
|
rd as RegionsFilter,
|
|
8521
8521
|
mi as ReviewCard,
|
|
8522
8522
|
dd as ReviewsFilter,
|
|
8523
8523
|
Yu as SearchControlsBar,
|
|
8524
|
-
|
|
8524
|
+
Ku as SearchModal,
|
|
8525
8525
|
Zl as SearchModalContent,
|
|
8526
8526
|
Xr as SectionHeader,
|
|
8527
8527
|
gd as SelectedFiltersRow,
|
|
8528
8528
|
S2 as StarIcon,
|
|
8529
8529
|
_d as TransportFilter,
|
|
8530
8530
|
wd as WellnessFilter,
|
|
8531
|
-
|
|
8531
|
+
bn as WhenContent,
|
|
8532
8532
|
Qu as calculateDiscount,
|
|
8533
|
-
|
|
8533
|
+
mn as formatDate,
|
|
8534
8534
|
Xu as formatDateRange,
|
|
8535
8535
|
Uu as formatPrice,
|
|
8536
|
-
|
|
8536
|
+
Ft as translations,
|
|
8537
8537
|
Ou as useDebounce,
|
|
8538
|
-
|
|
8538
|
+
bt as useResponsive,
|
|
8539
8539
|
Fu as useTranslation,
|
|
8540
|
-
|
|
8541
|
-
|
|
8540
|
+
de as useUIContext,
|
|
8541
|
+
Vt as useWindowData
|
|
8542
8542
|
};
|
|
8543
8543
|
//# sourceMappingURL=index.js.map
|