@hotelcard/ui 0.0.34 → 0.0.36
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.css +1 -1
- package/dist/index.js +278 -278
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as s, Fragment as De } from "react/jsx-runtime";
|
|
|
2
2
|
import Bt, { useMemo as Ee, useContext as Ut, createContext as Qt, forwardRef as It, useState as $, useRef as he, useEffect as le, useCallback as Ue } from "react";
|
|
3
3
|
import { useTranslation as en } from "react-i18next";
|
|
4
4
|
import { createPortal as tn } from "react-dom";
|
|
5
|
-
const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "HotelCard bestellen", "my-account": "Mein Konto", search: "Suchen", "back-to-top": "Nach oben" }, rn = { "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" }, an = { "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" }, on = { "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" }, sn = { "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.-" }, ln = { "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" }, cn = { 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" }, dn = { 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" }, un = { "no-results": "Zurzeit entsprechen keine Aufenthalte Ihrer Suche" }, hn = "Hotels suchen - HotelCard", mn = "Suchen Sie nach Hotels nach Stadt, Region oder Hotelname", fn = "Suche", gn = "Hotels werden geladen...", pn = "Erneut versuchen", wn = "Karte schließen", _n = { 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%." }, vn = { close_search: "Suche schließen", placeholder_anywhere: "Überall", recent_searches: "Letzte Suchen", remove_recent: "Aus letzten Suchen entfernen", all_destinations: "Alle Reiseziele" }, bn = { 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" }, Cn = { list: "Liste" }, yn = { properties_found: "{{count}} Unterkünfte gefunden", properties_found_location: "{{location}}: {{count}} Unterkünfte gefunden" }, Nn = { 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" },
|
|
5
|
+
const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "HotelCard bestellen", "my-account": "Mein Konto", search: "Suchen", "back-to-top": "Nach oben" }, rn = { "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" }, an = { "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" }, on = { "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" }, sn = { "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.-" }, ln = { "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" }, cn = { 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" }, dn = { 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" }, un = { "no-results": "Zurzeit entsprechen keine Aufenthalte Ihrer Suche" }, hn = "Hotels suchen - HotelCard", mn = "Suchen Sie nach Hotels nach Stadt, Region oder Hotelname", fn = "Suche", gn = "Hotels werden geladen...", pn = "Erneut versuchen", wn = "Karte schließen", _n = { 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%." }, vn = { close_search: "Suche schließen", placeholder_anywhere: "Überall", recent_searches: "Letzte Suchen", remove_recent: "Aus letzten Suchen entfernen", all_destinations: "Alle Reiseziele" }, bn = { 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" }, Cn = { list: "Liste" }, yn = { properties_found: "{{count}} Unterkünfte gefunden", properties_found_location: "{{location}}: {{count}} Unterkünfte gefunden" }, Nn = { 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" }, kn = { home: "Startseite" }, xn = { 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" }, Mn = { 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" }, Ln = { hotels: "Hotels", cities: "Städte", regions: "Regionen", countries: "Länder", "no-results": "Keine Ergebnisse gefunden" }, $n = { 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" }, Sn = { apply: "Anwenden", months_selected: "{{count}} Monate" }, Hn = { "5_stars": "5 Sterne", "4_stars": "4 Sterne", "3_stars": "3 Sterne", "2_stars": "2 Sterne", not_classified: "Nicht klassifiziert", swiss_lodge: "Swiss Lodge" }, Dn = { 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." }, Pn = { 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" }, Bn = { search_failed: "Suche fehlgeschlagen", load_more_failed: "Weitere Hotels konnten nicht geladen werden" }, In = { title: "Etwas ist schiefgelaufen", description: "Die Hotels konnten nicht geladen werden. Bitte versuchen Sie es erneut.", retry: "Erneut versuchen" }, An = { label: "Seitennavigation", previous: "Vorherige Seite", previous_short: "Zurück", next: "Nächste Seite", next_short: "Weiter", page: "Seite {{page}}" }, Wn = { rating: "Bewertung", price_from: "pro Zimmer & Nacht ab", not_available: "Nicht verfügbar für Ihre Suchkriterien" }, Tn = { new: "Neu" }, Vn = {
|
|
6
6
|
button: nn,
|
|
7
7
|
link: rn,
|
|
8
8
|
general: an,
|
|
@@ -24,8 +24,8 @@ const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
24
24
|
view: Cn,
|
|
25
25
|
breadcrumb: yn,
|
|
26
26
|
aria: Nn,
|
|
27
|
-
breadcrumb_nav:
|
|
28
|
-
guest_selector:
|
|
27
|
+
breadcrumb_nav: kn,
|
|
28
|
+
guest_selector: xn,
|
|
29
29
|
search_form: Mn,
|
|
30
30
|
dropdown: Ln,
|
|
31
31
|
filters: $n,
|
|
@@ -38,7 +38,7 @@ const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
38
38
|
pagination: An,
|
|
39
39
|
hotel_card: Wn,
|
|
40
40
|
badges: Tn
|
|
41
|
-
}, En = { order: "Order", "order-navigation": "Join", "order-hc": "Order HotelCard", "my-account": "My account", search: "Search", "back-to-top": "Back to top" }, zn = { "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" }, Rn = { "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." }, jn = { "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" }, Fn = { "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.-" }, On = { "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" }, Zn = { guests: "guests", guest: "guest", adults: "Adults", children: "Children", pet: "Pet", "age-of-child": "Child’s age", age: "Age", "age-error": "Please select age" },
|
|
41
|
+
}, En = { order: "Order", "order-navigation": "Join", "order-hc": "Order HotelCard", "my-account": "My account", search: "Search", "back-to-top": "Back to top" }, zn = { "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" }, Rn = { "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." }, jn = { "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" }, Fn = { "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.-" }, On = { "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" }, Zn = { guests: "guests", guest: "guest", adults: "Adults", children: "Children", pet: "Pet", "age-of-child": "Child’s age", age: "Age", "age-error": "Please select age" }, Yn = { 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" }, qn = { "no-results": "No stays match your search right now" }, Gn = "Search Hotels - HotelCard", Jn = "Search for hotels by city, region, or hotel name", Kn = "Search", Xn = "Loading hotels...", Un = "Retry", Qn = "Close map", er = { 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." }, tr = { close_search: "Close search", placeholder_anywhere: "Anywhere", recent_searches: "Recent searches", remove_recent: "Remove from recent searches", all_destinations: "All destinations" }, nr = { 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" }, rr = { list: "List" }, ar = { properties_found: "{{count}} properties found", properties_found_location: "{{location}}: {{count}} properties found" }, ir = { 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" }, or = { home: "Home" }, sr = { 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" }, lr = { 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" }, cr = { hotels: "Hotels", cities: "Cities", regions: "Regions", countries: "Countries", "no-results": "No results found" }, dr = { 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" } }, ur = { apply: "Apply", months_selected: "{{count}} months" }, hr = { "5_stars": "5 stars", "4_stars": "4 stars", "3_stars": "3 stars", "2_stars": "2 stars", not_classified: "Not classified", swiss_lodge: "Swiss Lodge" }, mr = { 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." }, fr = { search_failed: "Search failed", load_more_failed: "Failed to load more hotels" }, gr = { title: "Something went wrong", description: "We couldn't load the hotels. Please try again.", retry: "Try again" }, pr = { 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" }, wr = { label: "Pagination", previous: "Previous page", previous_short: "Previous", next: "Next page", next_short: "Next", page: "Page {{page}}" }, _r = { rating: "Rating", price_from: "per room & night from", not_available: "Not available for your search criteria" }, vr = { new: "New" }, br = "Clear location", Cr = "Clear date", yr = "Clear guests", Nr = {
|
|
42
42
|
button: En,
|
|
43
43
|
link: zn,
|
|
44
44
|
general: Rn,
|
|
@@ -46,8 +46,8 @@ const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
46
46
|
product: Fn,
|
|
47
47
|
subheadline: On,
|
|
48
48
|
form: Zn,
|
|
49
|
-
filter:
|
|
50
|
-
headline:
|
|
49
|
+
filter: Yn,
|
|
50
|
+
headline: qn,
|
|
51
51
|
meta_title: Gn,
|
|
52
52
|
meta_description: Jn,
|
|
53
53
|
title: Kn,
|
|
@@ -77,9 +77,9 @@ const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
77
77
|
clear_location: br,
|
|
78
78
|
clear_date: Cr,
|
|
79
79
|
clear_guests: yr
|
|
80
|
-
},
|
|
81
|
-
button:
|
|
82
|
-
link:
|
|
80
|
+
}, kr = { order: "Commander", "order-navigation": "Commander", "order-hc": "Commander l'HotelCard", "my-account": "Mon compte", search: "Rechercher", "back-to-top": "Haut de page" }, xr = { "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" }, Mr = { "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" }, Lr = { "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" }, $r = { "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.-" }, Sr = { "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" }, Hr = { 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" }, Dr = { 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" }, Pr = { "no-results": "Aucun séjour ne correspond à votre recherche pour le moment" }, Br = "Rechercher des hôtels - HotelCard", Ir = "Recherchez des hôtels par ville, région ou nom d'hôtel", Ar = "Recherche", Wr = "Chargement des hôtels...", Tr = "Réessayer", Vr = "Fermer la carte", Er = { 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%." }, zr = { 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" }, Rr = { 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" }, jr = { list: "Liste" }, Fr = { properties_found: "{{count}} hébergements trouvés", properties_found_location: "{{location}}: {{count}} hébergements trouvés" }, Or = { 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" }, Zr = { home: "Accueil" }, Yr = { 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" }, qr = { 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" }, Gr = { hotels: "Hôtels", cities: "Villes", regions: "Régions", countries: "Pays", "no-results": "Aucun résultat trouvé" }, Jr = { 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" }, Kr = { apply: "Appliquer", months_selected: "{{count}} mois" }, Xr = { "5_stars": "5 étoiles", "4_stars": "4 étoiles", "3_stars": "3 étoiles", "2_stars": "2 étoiles", not_classified: "Non classé", swiss_lodge: "Swiss Lodge" }, Ur = { 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." }, Qr = { 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" }, ea = { search_failed: "La recherche a échoué", load_more_failed: "Impossible de charger plus d'hôtels" }, ta = { title: "Une erreur s'est produite", description: "Les hôtels n'ont pas pu être chargés. Veuillez réessayer.", retry: "Réessayer" }, na = { label: "Pagination", previous: "Page précédente", previous_short: "Précédent", next: "Page suivante", next_short: "Suivant", page: "Page {{page}}" }, ra = { rating: "Note", price_from: "par chambre & nuit dès", not_available: "Non disponible selon vos critères de recherche" }, aa = { new: "Nouveau" }, ia = {
|
|
81
|
+
button: kr,
|
|
82
|
+
link: xr,
|
|
83
83
|
general: Mr,
|
|
84
84
|
label: Lr,
|
|
85
85
|
product: $r,
|
|
@@ -100,8 +100,8 @@ const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
100
100
|
breadcrumb: Fr,
|
|
101
101
|
aria: Or,
|
|
102
102
|
breadcrumb_nav: Zr,
|
|
103
|
-
guest_selector:
|
|
104
|
-
search_form:
|
|
103
|
+
guest_selector: Yr,
|
|
104
|
+
search_form: qr,
|
|
105
105
|
dropdown: Gr,
|
|
106
106
|
filters: Jr,
|
|
107
107
|
date_selector: Kr,
|
|
@@ -113,7 +113,7 @@ const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
113
113
|
pagination: na,
|
|
114
114
|
hotel_card: ra,
|
|
115
115
|
badges: aa
|
|
116
|
-
}, oa = { order: "Ordina ora", "order-navigation": "Ordina ora", "order-hc": "Ordina HotelCard", "my-account": "Il mio profilo", search: "Cerca", "back-to-top": "Torna su" }, sa = { "member-benefits": "Member Benefits", "view-all-hotels": "Tutte le offerte hotel", "search-by-map": "Ricerca sulla mappa", "search-by-region": "Hotel per regione", "search-by-experience": "Hotel per esperienza", "travel-inspiration": "Ispirazioni di viaggio", "booking-tips-and-tricks": "Consigli prenotazione", home: "Home", "all-hotel-deals": "Tutte le offerte hotel", "search-results": "Risultati di ricerca" }, la = { "signed-out": "Accedi e prenota", "room-price": "a partire da CHF xxx per camera", guarantee: "Garanzia di rimborso di 14 giorni", contact: "Altre domande? Contattaci.", "breakfast-included": "Colazione inclusa", "free-cancellation": "Cancellazione gratuita", "suggested-destinations": "Destinazioni suggerite", "when-months": "Quando vuoi viaggiare?", "hotel-deals-found": "offerte hotel trovate", "no-results": "Prova altre destinazioni, cambia le date o rimuovi qualche filtro.", "unavailable-for-selected-days": "Non disponibile per le date selezionate.", "cant-accommodate-all": "L’hotel non può accogliere tutti gli ospiti.", "reset-destination": "Reimposta la destinazione e filtra per regione" }, ca = { "price-from": "a partire da ", "price-for": "per camera", "per-room-night": "per camera e notte da", new: "Nuovo", anytime: "In qualsiasi momento", anywhere: "Tutte le destinazioni", dates: "Date", flexible: "Flessibile", where: "Dove", when: "Date", who: "Chi", nearby: "Nelle vicinanze", hotels: "Hotel", filter: "Filtra", sort: "Ordina", map: "Mappa", rating: "Rating", "rating-excellent": "Eccellente", "rating-very-good": "Ottimo", "rating-good": "Buono", "rating-fair": "Sufficiente", "rating-none": "Nessun voto", clear: "Cancella" }, da = { "6m": "Abbonamento di 6 mesi", "1y": "Abbonamento 1 anno", "2y": "Abbonamento 2 anni", "3y": "Abbonamento 3 anni", "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.-" }, ua = { "your-hc": "La sua HotelCard", "popular-hotels": "Offerte hotel popolari", "no-results": "Prova altre destinazioni, cambia le date o rimuovi qualche filtro.", "sort-by": "Ordina per" }, ha = { guests: "ospiti", guest: "ospite", adults: "Adulti", children: "Bambini", pet: "Animale domestico", "age-of-child": "L'età del bambino", age: "L'età", "age-error": "Seleziona l’età" }, ma = { filters: "Filtri", destination: "Destinazione", experience: "Esperienza", "show-all": "Mostra tutto", price: "Prezzo", discount: "Sconto", services: "Servizi", meals: "Pasti", "hotel-category": "Categoria hotel", reviews: "Recensioni", mobility: "Mobilità", "wellness-spa": "Wellness & Spa", "price-high-low": "Prezzo: dal più basso", "price-low-high": "Prezzo: dal più alto", "best-rating": "Miglior voto", "most-popular": "Più popolari", "newest-hotels": "Più recenti", relevance: "Rilevanza", selected: "Selezionato:", "clear-all": "Cancella tutto", options: "Servizi", "hotellerie-suisse": "Classificazione HotellerieSuisse", trustyou: "Recensioni dei viaggiatori su TrustYou®", "select-all": "Seleziona tutto", reset: "Reimposta", "breakfast-included": "Colazione inclusa" }, fa = { "no-results": "Al momento nessun soggiorno corrisponde alla tua ricerca" }, ga = "Cerca Hotel - HotelCard", pa = "Cerca hotel per città, regione o nome dell'hotel", wa = "Ricerca", _a = "Caricamento hotel...", va = "Riprova", ba = "Chiudi mappa", Ca = { default_title: "Cerca offerte hotel - HotelCard", location_title: "Hotel a {{location}}", region_title: "Hotel in {{region}}", experience_title: "Hotel {{experience}}", default_description: "Scopri {{count}} hotel con sconti esclusivi HotelCard.", location_description: "Trova {{count}} hotel a {{location}} con sconti esclusivi fino al 50%." }, ya = { close_search: "Chiudi ricerca", placeholder_anywhere: "Ovunque", recent_searches: "Ricerche recenti", remove_recent: "Rimuovi dalle ricerche recenti", all_destinations: "Tutte le destinazioni" }, Na = { open_search: "Apri ricerca", open_filters: "Apri filtri", switch_to_list: "Passa alla vista elenco", zoom_in: "Ingrandisci", zoom_out: "Riduci", no_location_data: "Nessun hotel con dati di posizione", hotels_missing_coordinates: "{{count}} hotel trovati ma coordinate mancanti", no_hotels_in_area: "Nessun hotel trovato in questa zona" },
|
|
116
|
+
}, oa = { order: "Ordina ora", "order-navigation": "Ordina ora", "order-hc": "Ordina HotelCard", "my-account": "Il mio profilo", search: "Cerca", "back-to-top": "Torna su" }, sa = { "member-benefits": "Member Benefits", "view-all-hotels": "Tutte le offerte hotel", "search-by-map": "Ricerca sulla mappa", "search-by-region": "Hotel per regione", "search-by-experience": "Hotel per esperienza", "travel-inspiration": "Ispirazioni di viaggio", "booking-tips-and-tricks": "Consigli prenotazione", home: "Home", "all-hotel-deals": "Tutte le offerte hotel", "search-results": "Risultati di ricerca" }, la = { "signed-out": "Accedi e prenota", "room-price": "a partire da CHF xxx per camera", guarantee: "Garanzia di rimborso di 14 giorni", contact: "Altre domande? Contattaci.", "breakfast-included": "Colazione inclusa", "free-cancellation": "Cancellazione gratuita", "suggested-destinations": "Destinazioni suggerite", "when-months": "Quando vuoi viaggiare?", "hotel-deals-found": "offerte hotel trovate", "no-results": "Prova altre destinazioni, cambia le date o rimuovi qualche filtro.", "unavailable-for-selected-days": "Non disponibile per le date selezionate.", "cant-accommodate-all": "L’hotel non può accogliere tutti gli ospiti.", "reset-destination": "Reimposta la destinazione e filtra per regione" }, ca = { "price-from": "a partire da ", "price-for": "per camera", "per-room-night": "per camera e notte da", new: "Nuovo", anytime: "In qualsiasi momento", anywhere: "Tutte le destinazioni", dates: "Date", flexible: "Flessibile", where: "Dove", when: "Date", who: "Chi", nearby: "Nelle vicinanze", hotels: "Hotel", filter: "Filtra", sort: "Ordina", map: "Mappa", rating: "Rating", "rating-excellent": "Eccellente", "rating-very-good": "Ottimo", "rating-good": "Buono", "rating-fair": "Sufficiente", "rating-none": "Nessun voto", clear: "Cancella" }, da = { "6m": "Abbonamento di 6 mesi", "1y": "Abbonamento 1 anno", "2y": "Abbonamento 2 anni", "3y": "Abbonamento 3 anni", "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.-" }, ua = { "your-hc": "La sua HotelCard", "popular-hotels": "Offerte hotel popolari", "no-results": "Prova altre destinazioni, cambia le date o rimuovi qualche filtro.", "sort-by": "Ordina per" }, ha = { guests: "ospiti", guest: "ospite", adults: "Adulti", children: "Bambini", pet: "Animale domestico", "age-of-child": "L'età del bambino", age: "L'età", "age-error": "Seleziona l’età" }, ma = { filters: "Filtri", destination: "Destinazione", experience: "Esperienza", "show-all": "Mostra tutto", price: "Prezzo", discount: "Sconto", services: "Servizi", meals: "Pasti", "hotel-category": "Categoria hotel", reviews: "Recensioni", mobility: "Mobilità", "wellness-spa": "Wellness & Spa", "price-high-low": "Prezzo: dal più basso", "price-low-high": "Prezzo: dal più alto", "best-rating": "Miglior voto", "most-popular": "Più popolari", "newest-hotels": "Più recenti", relevance: "Rilevanza", selected: "Selezionato:", "clear-all": "Cancella tutto", options: "Servizi", "hotellerie-suisse": "Classificazione HotellerieSuisse", trustyou: "Recensioni dei viaggiatori su TrustYou®", "select-all": "Seleziona tutto", reset: "Reimposta", "breakfast-included": "Colazione inclusa" }, fa = { "no-results": "Al momento nessun soggiorno corrisponde alla tua ricerca" }, ga = "Cerca Hotel - HotelCard", pa = "Cerca hotel per città, regione o nome dell'hotel", wa = "Ricerca", _a = "Caricamento hotel...", va = "Riprova", ba = "Chiudi mappa", Ca = { default_title: "Cerca offerte hotel - HotelCard", location_title: "Hotel a {{location}}", region_title: "Hotel in {{region}}", experience_title: "Hotel {{experience}}", default_description: "Scopri {{count}} hotel con sconti esclusivi HotelCard.", location_description: "Trova {{count}} hotel a {{location}} con sconti esclusivi fino al 50%." }, ya = { close_search: "Chiudi ricerca", placeholder_anywhere: "Ovunque", recent_searches: "Ricerche recenti", remove_recent: "Rimuovi dalle ricerche recenti", all_destinations: "Tutte le destinazioni" }, Na = { open_search: "Apri ricerca", open_filters: "Apri filtri", switch_to_list: "Passa alla vista elenco", zoom_in: "Ingrandisci", zoom_out: "Riduci", no_location_data: "Nessun hotel con dati di posizione", hotels_missing_coordinates: "{{count}} hotel trovati ma coordinate mancanti", no_hotels_in_area: "Nessun hotel trovato in questa zona" }, ka = { list: "Lista" }, xa = { properties_found: "{{count}} strutture trovate", properties_found_location: "{{location}}: {{count}} strutture trovate" }, Ma = { search_results_breadcrumb: "Risultati della ricerca", close: "Chiudi", previous_image: "Immagine precedente", next_image: "Immagine successiva", add_to_favorites: "Aggiungi ai preferiti", remove_from_favorites: "Rimuovi dai preferiti", list_view: "Passa alla vista elenco", map_view: "Passa alla vista mappa" }, La = { home: "Home" }, $a = { decrease_adults: "Diminuisci adulti", increase_adults: "Aumenta adulti", decrease_children: "Diminuisci bambini", increase_children: "Aumenta bambini", decrease_infants: "Diminuisci neonati", increase_infants: "Aumenta neonati", toggle_infants: "Attiva/disattiva animali" }, Sa = { location_placeholder: "Cerca hotel, città, regioni...", distance_any: "- km", distance_5: "+ 5 km", distance_10: "+ 10 km", distance_20: "+ 20 km", distance_30: "+ 30 km", distance_50: "+ 50 km", searching: "Ricerca in corso...", reset_filters: "Ripristina filtri" }, Ha = { hotels: "Hotel", cities: "Città", regions: "Regioni", countries: "Paesi", "no-results": "Nessun risultato trovato" }, Da = { show_filters: "Mostra filtri", open_filters: "Apri filtri", filter_by: "Filtra per:", hotel_rating: "Categoria hotel", show_results: "Mostra {{count}} risultati", apply_filters: "Applica filtri", close_filters: "Chiudi filtri", view_in_map: "Visualizza sulla mappa", popular_filters: "Filtri popolari", destinations: "Destinazioni", options_title: "Opzioni", options: { instant_booking: "Prenotazione immediata", pets_allowed: "Animali ammessi", free_cancellation: "Cancellazione gratuita" }, category: { footer_prefix: "Classificazione alberghiera secondo " }, show_less: "Mostra meno", selected: "Selezionato", clear_all: "Cancella tutto" }, Pa = { apply: "Applica", months_selected: "{{count}} mesi" }, Ba = { "5_stars": "5 stelle", "4_stars": "4 stelle", "3_stars": "3 stelle", "2_stars": "2 stelle", not_classified: "Non classificato", swiss_lodge: "Swiss Lodge" }, Ia = { hotels_found: "{{count}} hotel trovati", load_more: "Carica altri", loading: "Caricamento...", end_of_results: "Hai raggiunto la fine dei risultati", no_results: "Nessun hotel trovato", try_different_search: "Prova a modificare i criteri di ricerca", unavailable_banner_title: "Altri hotel che potrebbero interessarti", unavailable_banner_description: "Questi hotel non hanno attualmente disponibilità corrispondente ai tuoi criteri di ricerca." }, Aa = { title: "Al momento non ci sono alloggi che corrispondono ai criteri di ricerca.", subtitle: "Prova a modificare i criteri di ricerca o ripristina i filtri", description: "Esplora diverse destinazioni, modifica le date o rimuovi alcuni filtri.", description_with_filters: "Esplora diverse destinazioni, modifica le date o rimuovi alcuni filtri.", clear_filters: "Ripristina filtri" }, Wa = { search_failed: "Ricerca fallita", load_more_failed: "Impossibile caricare altri hotel" }, Ta = { title: "Qualcosa è andato storto", description: "Non è stato possibile caricare gli hotel. Riprova.", retry: "Riprova" }, Va = { label: "Paginazione", previous: "Pagina precedente", previous_short: "Precedente", next: "Pagina successiva", next_short: "Successivo", page: "Pagina {{page}}" }, Ea = { rating: "Valutazione", price_from: "per camera e notte da", not_available: "Non disponibile per i tuoi criteri di ricerca" }, za = { new: "Nuovo" }, Ra = {
|
|
117
117
|
button: oa,
|
|
118
118
|
link: sa,
|
|
119
119
|
general: la,
|
|
@@ -132,8 +132,8 @@ const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
132
132
|
seo: Ca,
|
|
133
133
|
modal: ya,
|
|
134
134
|
map: Na,
|
|
135
|
-
view:
|
|
136
|
-
breadcrumb:
|
|
135
|
+
view: ka,
|
|
136
|
+
breadcrumb: xa,
|
|
137
137
|
aria: Ma,
|
|
138
138
|
breadcrumb_nav: La,
|
|
139
139
|
guest_selector: $a,
|
|
@@ -245,7 +245,7 @@ Tt.displayName = "Badge";
|
|
|
245
245
|
const _e = (e) => `hc-rating-${e}`, Za = () => /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
|
|
246
246
|
/* @__PURE__ */ t("g", { clipPath: "url(#clip0_full)", children: /* @__PURE__ */ t("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" }) }),
|
|
247
247
|
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_full", children: /* @__PURE__ */ t("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
248
|
-
] }),
|
|
248
|
+
] }), Ya = () => /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
|
|
249
249
|
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "half", children: /* @__PURE__ */ t("rect", { x: "0", y: "0", width: "12", height: "24" }) }) }),
|
|
250
250
|
/* @__PURE__ */ t(
|
|
251
251
|
"path",
|
|
@@ -262,7 +262,7 @@ const _e = (e) => `hc-rating-${e}`, Za = () => /* @__PURE__ */ s("svg", { xmlns:
|
|
|
262
262
|
fill: "#9A5A00"
|
|
263
263
|
}
|
|
264
264
|
)
|
|
265
|
-
] }),
|
|
265
|
+
] }), qa = () => /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
|
|
266
266
|
/* @__PURE__ */ t("g", { clipPath: "url(#clip0_empty)", children: /* @__PURE__ */ t("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" }) }),
|
|
267
267
|
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_empty", children: /* @__PURE__ */ t("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
268
268
|
] }), Vt = ({
|
|
@@ -286,11 +286,11 @@ const _e = (e) => `hc-rating-${e}`, Za = () => /* @__PURE__ */ s("svg", { xmlns:
|
|
|
286
286
|
/* @__PURE__ */ t("span", { className: _, children: /* @__PURE__ */ t(Za, {}) }, `full-${y}`)
|
|
287
287
|
);
|
|
288
288
|
m && p.push(
|
|
289
|
-
/* @__PURE__ */ t("span", { className: _, children: /* @__PURE__ */ t(
|
|
289
|
+
/* @__PURE__ */ t("span", { className: _, children: /* @__PURE__ */ t(Ya, {}) }, "half")
|
|
290
290
|
);
|
|
291
291
|
for (let y = 0; y < f; y++)
|
|
292
292
|
p.push(
|
|
293
|
-
/* @__PURE__ */ t("span", { className: _, children: /* @__PURE__ */ t(
|
|
293
|
+
/* @__PURE__ */ t("span", { className: _, children: /* @__PURE__ */ t(qa, {}) }, `empty-${y}`)
|
|
294
294
|
);
|
|
295
295
|
return p;
|
|
296
296
|
};
|
|
@@ -628,7 +628,7 @@ const st = (e) => `hc-modal-${e}`, ei = () => /* @__PURE__ */ t("svg", { xmlns:
|
|
|
628
628
|
return typeof document < "u" ? tn(h, document.body) : h;
|
|
629
629
|
};
|
|
630
630
|
ti.displayName = "Modal";
|
|
631
|
-
const
|
|
631
|
+
const q = (e) => `hc-card-${e}`, ft = () => /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "9", height: "9", viewBox: "0 0 9 9", fill: "none", children: [
|
|
632
632
|
/* @__PURE__ */ t("g", { clipPath: "url(#clip0_card_star)", children: /* @__PURE__ */ t(
|
|
633
633
|
"path",
|
|
634
634
|
{
|
|
@@ -637,7 +637,7 @@ const Y = (e) => `hc-card-${e}`, ft = () => /* @__PURE__ */ s("svg", { xmlns: "h
|
|
|
637
637
|
}
|
|
638
638
|
) }),
|
|
639
639
|
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_card_star", children: /* @__PURE__ */ t("rect", { width: "8", height: "8", fill: "white", transform: "translate(0.800049 0.199951)" }) }) })
|
|
640
|
-
] }), ni = () => /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 36 38", fill: "#478EFA", className:
|
|
640
|
+
] }), ni = () => /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 36 38", fill: "#478EFA", className: q("ratingSvg"), children: /* @__PURE__ */ t("path", { d: "M4 0C1.79086 0 0 1.79086 0 4V32V38L9 32H32C34.2091 32 36 30.2091 36 28V0H4Z" }) }), ri = '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', gt = (e, r) => Array.from({ length: e }, (n, a) => r(a)), ai = ({
|
|
641
641
|
image: e,
|
|
642
642
|
imageAlt: r = "",
|
|
643
643
|
label: n,
|
|
@@ -656,33 +656,33 @@ const Y = (e) => `hc-card-${e}`, ft = () => /* @__PURE__ */ s("svg", { xmlns: "h
|
|
|
656
656
|
swissLodgeLabel: _ = "Swiss Lodge"
|
|
657
657
|
}) => {
|
|
658
658
|
const p = u === "desktop", y = [
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
c &&
|
|
662
|
-
m &&
|
|
663
|
-
f &&
|
|
659
|
+
q("card"),
|
|
660
|
+
q(`card--${u}`),
|
|
661
|
+
c && q("card--clickable"),
|
|
662
|
+
m && q("card--withPadding"),
|
|
663
|
+
f && q("card--withHeight"),
|
|
664
664
|
l
|
|
665
665
|
].filter(Boolean).join(" "), N = [
|
|
666
|
-
|
|
667
|
-
w === "hotel-deals" &&
|
|
666
|
+
q("starsRow"),
|
|
667
|
+
w === "hotel-deals" && q("starsRow--fixed")
|
|
668
668
|
].filter(Boolean).join(" "), M = [
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
w === "hotel-deals" &&
|
|
672
|
-
!p && w !== "hotel-deals" &&
|
|
673
|
-
!h &&
|
|
669
|
+
q("label"),
|
|
670
|
+
q(p ? "label--desktop" : "label--mobile"),
|
|
671
|
+
w === "hotel-deals" && q("label--hotelDeals"),
|
|
672
|
+
!p && w !== "hotel-deals" && q("label--mobileOverflow"),
|
|
673
|
+
!h && q("label--noRating")
|
|
674
674
|
].filter(Boolean).join(" "), E = [
|
|
675
|
-
|
|
676
|
-
w === "hotel-deals" && h &&
|
|
677
|
-
w === "hotel-deals" && !h &&
|
|
678
|
-
w !== "hotel-deals" && !h &&
|
|
679
|
-
w !== "hotel-deals" && h &&
|
|
675
|
+
q("price"),
|
|
676
|
+
w === "hotel-deals" && h && q("price--hotelDealsWithRating"),
|
|
677
|
+
w === "hotel-deals" && !h && q("price--hotelDealsNoRating"),
|
|
678
|
+
w !== "hotel-deals" && !h && q("price--noRating"),
|
|
679
|
+
w !== "hotel-deals" && h && q("price--regularWithRating")
|
|
680
680
|
].filter(Boolean).join(" "), R = e || ri, B = (W) => {
|
|
681
681
|
c && (W.key === "Enter" || W.key === " ") && (W.preventDefault(), c());
|
|
682
|
-
}, O = () => v ? /* @__PURE__ */ s("span", { className:
|
|
682
|
+
}, O = () => v ? /* @__PURE__ */ s("span", { className: q("ratingInfo"), children: [
|
|
683
683
|
/* @__PURE__ */ t(ni, {}),
|
|
684
|
-
/* @__PURE__ */ t("span", { className:
|
|
685
|
-
/* @__PURE__ */ t("span", { className:
|
|
684
|
+
/* @__PURE__ */ t("span", { className: q("ratingLabel"), children: v.label }),
|
|
685
|
+
/* @__PURE__ */ t("span", { className: q("ratingValue"), children: v.value })
|
|
686
686
|
] }) : null;
|
|
687
687
|
return /* @__PURE__ */ s(
|
|
688
688
|
"div",
|
|
@@ -693,18 +693,18 @@ const Y = (e) => `hc-card-${e}`, ft = () => /* @__PURE__ */ s("svg", { xmlns: "h
|
|
|
693
693
|
role: c ? "button" : void 0,
|
|
694
694
|
tabIndex: c ? 0 : void 0,
|
|
695
695
|
children: [
|
|
696
|
-
/* @__PURE__ */ s("div", { className:
|
|
696
|
+
/* @__PURE__ */ s("div", { className: q("imageContainer"), children: [
|
|
697
697
|
/* @__PURE__ */ t(
|
|
698
698
|
"img",
|
|
699
699
|
{
|
|
700
700
|
src: R,
|
|
701
701
|
alt: r,
|
|
702
|
-
className:
|
|
702
|
+
className: q("image"),
|
|
703
703
|
loading: "lazy"
|
|
704
704
|
}
|
|
705
705
|
),
|
|
706
|
-
/* @__PURE__ */ t("div", { className:
|
|
707
|
-
d && /* @__PURE__ */ t("div", { className:
|
|
706
|
+
/* @__PURE__ */ t("div", { className: q("shadowOverlay") }),
|
|
707
|
+
d && /* @__PURE__ */ t("div", { className: q("badgeWrapper"), children: /* @__PURE__ */ t(
|
|
708
708
|
Tt,
|
|
709
709
|
{
|
|
710
710
|
color: d.variant || "primary",
|
|
@@ -713,18 +713,18 @@ const Y = (e) => `hc-card-${e}`, ft = () => /* @__PURE__ */ s("svg", { xmlns: "h
|
|
|
713
713
|
}
|
|
714
714
|
) })
|
|
715
715
|
] }),
|
|
716
|
-
/* @__PURE__ */ s("div", { className:
|
|
717
|
-
/* @__PURE__ */ t("div", { className: N, children: i !== void 0 && i > 0 ? /* @__PURE__ */ t(De, { children: i === 6 ? /* @__PURE__ */ t("span", { className:
|
|
718
|
-
/* @__PURE__ */ s("div", { className:
|
|
716
|
+
/* @__PURE__ */ s("div", { className: q("textContainer"), children: [
|
|
717
|
+
/* @__PURE__ */ t("div", { className: N, children: i !== void 0 && i > 0 ? /* @__PURE__ */ t(De, { children: i === 6 ? /* @__PURE__ */ t("span", { className: q("swissLodge"), children: _ }) : /* @__PURE__ */ t(De, { children: p ? /* @__PURE__ */ s(De, { children: [
|
|
718
|
+
/* @__PURE__ */ s("div", { className: q("starsContainer"), children: [
|
|
719
719
|
gt(Math.floor(i), (W) => /* @__PURE__ */ t(ft, {}, W)),
|
|
720
|
-
o && /* @__PURE__ */ t("span", { className:
|
|
720
|
+
o && /* @__PURE__ */ t("span", { className: q("superiorBadge"), children: "(s)" })
|
|
721
721
|
] }),
|
|
722
722
|
/* @__PURE__ */ t("div", { children: O() })
|
|
723
723
|
] }) : /* @__PURE__ */ s(De, { children: [
|
|
724
|
-
/* @__PURE__ */ t("div", { className:
|
|
725
|
-
o && /* @__PURE__ */ t("span", { className:
|
|
724
|
+
/* @__PURE__ */ t("div", { className: q("starsContainer"), children: gt(Math.floor(i), (W) => /* @__PURE__ */ t(ft, {}, W)) }),
|
|
725
|
+
o && /* @__PURE__ */ t("span", { className: q("superiorBadge"), children: "(s)" }),
|
|
726
726
|
O()
|
|
727
|
-
] }) }) }) : /* @__PURE__ */ t("div", { className:
|
|
727
|
+
] }) }) }) : /* @__PURE__ */ t("div", { className: q("starsPlaceholder"), children: " " }) }),
|
|
728
728
|
n && /* @__PURE__ */ t("div", { className: M, children: n }),
|
|
729
729
|
a && /* @__PURE__ */ t("div", { className: E, children: a })
|
|
730
730
|
] })
|
|
@@ -858,12 +858,12 @@ const pe = (e) => `hc-input-${e}`, si = ({
|
|
|
858
858
|
readOnly: B = !1,
|
|
859
859
|
inputProps: O
|
|
860
860
|
}) => {
|
|
861
|
-
const [W, T] = $(i), [C, S] = $(!1),
|
|
861
|
+
const [W, T] = $(i), [C, S] = $(!1), x = he(null), I = a !== void 0 ? a : W, A = (J) => {
|
|
862
862
|
const de = J.target.value;
|
|
863
863
|
a === void 0 && T(de), o == null || o(de);
|
|
864
864
|
}, j = () => {
|
|
865
865
|
S(!0), d == null || d();
|
|
866
|
-
},
|
|
866
|
+
}, k = () => {
|
|
867
867
|
S(!1), c == null || c();
|
|
868
868
|
}, Z = [pe("container"), w].filter(Boolean).join(" "), ne = [
|
|
869
869
|
pe("label"),
|
|
@@ -891,7 +891,7 @@ const pe = (e) => `hc-input-${e}`, si = ({
|
|
|
891
891
|
className: ae,
|
|
892
892
|
onClick: () => {
|
|
893
893
|
var J;
|
|
894
|
-
return !h && !B && ((J =
|
|
894
|
+
return !h && !B && ((J = x.current) == null ? void 0 : J.focus());
|
|
895
895
|
},
|
|
896
896
|
children: [
|
|
897
897
|
m && /* @__PURE__ */ t("div", { className: pe("icon"), children: m }),
|
|
@@ -899,14 +899,14 @@ const pe = (e) => `hc-input-${e}`, si = ({
|
|
|
899
899
|
/* @__PURE__ */ t(
|
|
900
900
|
"input",
|
|
901
901
|
{
|
|
902
|
-
ref:
|
|
902
|
+
ref: x,
|
|
903
903
|
type: l,
|
|
904
904
|
id: N,
|
|
905
905
|
name: y,
|
|
906
906
|
value: I,
|
|
907
907
|
onChange: A,
|
|
908
908
|
onFocus: j,
|
|
909
|
-
onBlur:
|
|
909
|
+
onBlur: k,
|
|
910
910
|
placeholder: r,
|
|
911
911
|
disabled: h,
|
|
912
912
|
required: M,
|
|
@@ -1114,7 +1114,7 @@ const be = (e) => `hc-benefits-${e}`, hi = ({
|
|
|
1114
1114
|
] }) });
|
|
1115
1115
|
};
|
|
1116
1116
|
hi.displayName = "Benefits";
|
|
1117
|
-
const
|
|
1117
|
+
const xe = (e) => `hc-pin-${e}`, mi = ({ className: e }) => /* @__PURE__ */ t(
|
|
1118
1118
|
"svg",
|
|
1119
1119
|
{
|
|
1120
1120
|
className: e,
|
|
@@ -1148,9 +1148,9 @@ const ke = (e) => `hc-pin-${e}`, mi = ({ className: e }) => /* @__PURE__ */ t(
|
|
|
1148
1148
|
className: c = ""
|
|
1149
1149
|
}, l) => {
|
|
1150
1150
|
const u = r ? "secondary" : "primary", h = [
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
e === "hotel" &&
|
|
1151
|
+
xe("pin"),
|
|
1152
|
+
xe(u),
|
|
1153
|
+
e === "hotel" && xe("hotel"),
|
|
1154
1154
|
c
|
|
1155
1155
|
].filter(Boolean).join(" "), m = typeof a == "number" ? Math.round(a).toString() : a;
|
|
1156
1156
|
return /* @__PURE__ */ s(
|
|
@@ -1162,12 +1162,12 @@ const ke = (e) => `hc-pin-${e}`, mi = ({ className: e }) => /* @__PURE__ */ t(
|
|
|
1162
1162
|
disabled: o,
|
|
1163
1163
|
onClick: d,
|
|
1164
1164
|
children: [
|
|
1165
|
-
/* @__PURE__ */ t("div", { className:
|
|
1166
|
-
/* @__PURE__ */ t("span", { className:
|
|
1167
|
-
/* @__PURE__ */ t("span", { className:
|
|
1168
|
-
i && /* @__PURE__ */ t("div", { className:
|
|
1169
|
-
] }) : /* @__PURE__ */ t(fi, { className:
|
|
1170
|
-
/* @__PURE__ */ t("div", { className:
|
|
1165
|
+
/* @__PURE__ */ t("div", { className: xe("body"), children: e === "price" ? /* @__PURE__ */ s(De, { children: [
|
|
1166
|
+
/* @__PURE__ */ t("span", { className: xe("currency"), children: n }),
|
|
1167
|
+
/* @__PURE__ */ t("span", { className: xe("price"), children: m }),
|
|
1168
|
+
i && /* @__PURE__ */ t("div", { className: xe("favorite-container"), children: /* @__PURE__ */ t(mi, { className: xe("favorite-icon") }) })
|
|
1169
|
+
] }) : /* @__PURE__ */ t(fi, { className: xe("hotel-icon") }) }),
|
|
1170
|
+
/* @__PURE__ */ t("div", { className: xe("pointer"), children: /* @__PURE__ */ t("div", { className: xe("pointer-inner") }) })
|
|
1171
1171
|
]
|
|
1172
1172
|
}
|
|
1173
1173
|
);
|
|
@@ -1213,10 +1213,10 @@ const g5 = (e, r) => {
|
|
|
1213
1213
|
dropdown: Ci,
|
|
1214
1214
|
"dropdown--open": "_dropdown--open_fbu27_102",
|
|
1215
1215
|
dropdownMobile: yi
|
|
1216
|
-
}, Ni = "
|
|
1216
|
+
}, Ni = "_container_1yspn_13", ki = "_containerDropdown_1yspn_22", xi = "_containerExpanded_1yspn_27", Mi = "_sectionTitle_1yspn_40", Li = "_header_1yspn_57", $i = "_tabs_1yspn_84", Si = "_tab_1yspn_84", Hi = "_tabActive_1yspn_115", Di = "_applyButtonContainer_1yspn_128", Pi = "_content_1yspn_137", Bi = "_flexibleContent_1yspn_159", Ii = "_contentHeading_1yspn_175", Ai = "_monthGrid_1yspn_190", Wi = "_monthGridMobile_1yspn_199", Ti = "_monthButton_1yspn_208", Vi = "_monthButtonDisabled_1yspn_225", Ei = "_monthButtonSelected_1yspn_230", zi = "_monthLabel_1yspn_260", Ri = "_monthYear_1yspn_270", ji = "_anytimeButton_1yspn_291", Fi = "_datesContent_1yspn_303", Oi = "_contentDatesActive_1yspn_311", Q = {
|
|
1217
1217
|
container: Ni,
|
|
1218
|
-
containerDropdown:
|
|
1219
|
-
containerExpanded:
|
|
1218
|
+
containerDropdown: ki,
|
|
1219
|
+
containerExpanded: xi,
|
|
1220
1220
|
sectionTitle: Mi,
|
|
1221
1221
|
header: Li,
|
|
1222
1222
|
tabs: $i,
|
|
@@ -1236,10 +1236,10 @@ const g5 = (e, r) => {
|
|
|
1236
1236
|
anytimeButton: ji,
|
|
1237
1237
|
datesContent: Fi,
|
|
1238
1238
|
contentDatesActive: Oi
|
|
1239
|
-
}, Zi = "_container_1sjwb_1",
|
|
1239
|
+
}, Zi = "_container_1sjwb_1", Yi = "_navigation_1sjwb_5", qi = "_navButton_1sjwb_12", Gi = "_prevIconButton_1sjwb_30", Ji = "_nextIconButton_1sjwb_31", Ki = "_positionAbs_1sjwb_32", Xi = "_monthTitle_1sjwb_60", Ui = "_desktopLayout_1sjwb_74", Qi = "_calendarsContainer_1sjwb_81", eo = "_calendar_1sjwb_81", to = "_weekDaysRow_1sjwb_103", no = "_weekDay_1sjwb_103", ro = "_weekDayWeekend_1sjwb_122", ao = "_daysGrid_1sjwb_126", io = "_dayCell_1sjwb_131", oo = "_dayButton_1sjwb_138", so = "_containerMobile_1sjwb_246", lo = "_calendarsContainerMobile_1sjwb_250", co = "_monthTitleMobile_1sjwb_255", uo = "_navButtonDisabled_1sjwb_267", F = {
|
|
1240
1240
|
container: Zi,
|
|
1241
|
-
navigation:
|
|
1242
|
-
navButton:
|
|
1241
|
+
navigation: Yi,
|
|
1242
|
+
navButton: qi,
|
|
1243
1243
|
prevIconButton: Gi,
|
|
1244
1244
|
nextIconButton: Ji,
|
|
1245
1245
|
positionAbs: Ki,
|
|
@@ -1268,33 +1268,33 @@ const g5 = (e, r) => {
|
|
|
1268
1268
|
minDate: a,
|
|
1269
1269
|
locale: i = "de-CH"
|
|
1270
1270
|
}) => {
|
|
1271
|
-
const { isDesktop: o } = rt(), [d, c] = $(/* @__PURE__ */ new Date()), l = (
|
|
1272
|
-
const Z = new Date(
|
|
1271
|
+
const { isDesktop: o } = rt(), [d, c] = $(/* @__PURE__ */ new Date()), l = (k) => e === k, u = (k) => r === k, h = (k) => !e || !r ? !1 : k > e && k < r, m = (k) => new Date(k.getFullYear(), k.getMonth() + 1, 0), f = (k) => new Date(k.getFullYear(), k.getMonth() + 1, 0).getDate(), v = (k) => {
|
|
1272
|
+
const Z = new Date(k.getFullYear(), k.getMonth(), 1).getDay();
|
|
1273
1273
|
return Z === 0 ? 6 : Z - 1;
|
|
1274
|
-
}, w = (
|
|
1275
|
-
const
|
|
1274
|
+
}, w = (k) => k.toLocaleDateString(i, { month: "long", year: "numeric" }), p = (() => {
|
|
1275
|
+
const k = [], Z = new Date(2020, 0, 6);
|
|
1276
1276
|
for (let ne = 0; ne < 7; ne++) {
|
|
1277
1277
|
const ae = new Date(Z);
|
|
1278
|
-
ae.setDate(Z.getDate() + ne),
|
|
1278
|
+
ae.setDate(Z.getDate() + ne), k.push(ae.toLocaleDateString(i, { weekday: "short" }).slice(0, 2));
|
|
1279
1279
|
}
|
|
1280
|
-
return
|
|
1281
|
-
})(), y = (
|
|
1282
|
-
const Z = /* @__PURE__ */ new Date(), ne = new Date(Z.getFullYear() + 1, Z.getMonth(), Z.getDate()), ae =
|
|
1280
|
+
return k;
|
|
1281
|
+
})(), y = (k) => {
|
|
1282
|
+
const Z = /* @__PURE__ */ new Date(), ne = new Date(Z.getFullYear() + 1, Z.getMonth(), Z.getDate()), ae = k.split("-").map(Number), te = new Date(ae[0], ae[1] - 1, ae[2]);
|
|
1283
1283
|
if (a) {
|
|
1284
1284
|
const G = a.split("-").map(Number), J = new Date(G[0], G[1] - 1, G[2]);
|
|
1285
1285
|
if (te < J) return !0;
|
|
1286
1286
|
}
|
|
1287
1287
|
return te > ne;
|
|
1288
|
-
}, N = (
|
|
1289
|
-
const Z = new Date(d.getFullYear(), d.getMonth() +
|
|
1288
|
+
}, N = (k) => {
|
|
1289
|
+
const Z = new Date(d.getFullYear(), d.getMonth() + k, 1), ne = f(Z), ae = v(Z), te = [];
|
|
1290
1290
|
for (let G = 0; G < ae; G++)
|
|
1291
1291
|
te.push(/* @__PURE__ */ t("div", { className: F.dayCell }, `empty-${G}`));
|
|
1292
1292
|
for (let G = 1; G <= ne; G++) {
|
|
1293
|
-
const J = `${Z.getFullYear()}-${String(Z.getMonth() + 1).padStart(2, "0")}-${String(G).padStart(2, "0")}`, de = y(J),
|
|
1293
|
+
const J = `${Z.getFullYear()}-${String(Z.getMonth() + 1).padStart(2, "0")}-${String(G).padStart(2, "0")}`, de = y(J), Y = l(J), b = u(J), H = h(J), K = [
|
|
1294
1294
|
F.dayCell,
|
|
1295
1295
|
F.dayButton,
|
|
1296
1296
|
de && F["dayButton--disabled"],
|
|
1297
|
-
|
|
1297
|
+
Y && F["dayButton--start"],
|
|
1298
1298
|
b && F["dayButton--end"],
|
|
1299
1299
|
H && F["dayButton--inRange"]
|
|
1300
1300
|
].filter(Boolean).join(" ");
|
|
@@ -1317,7 +1317,7 @@ const g5 = (e, r) => {
|
|
|
1317
1317
|
c(new Date(d.getFullYear(), d.getMonth() - 1, 1));
|
|
1318
1318
|
}, E = () => {
|
|
1319
1319
|
c(new Date(d.getFullYear(), d.getMonth() + 1, 1));
|
|
1320
|
-
}, R = new Date(d.getFullYear(), d.getMonth() - 1, 1), B = a ? m(R) < new Date(a) : !1, O = /* @__PURE__ */ new Date(), W = new Date(O.getFullYear() + 1, O.getMonth(), 1), T = new Date(d.getFullYear(), d.getMonth() + 1, 1), C = T >= W, S = T > W,
|
|
1320
|
+
}, R = new Date(d.getFullYear(), d.getMonth() - 1, 1), B = a ? m(R) < new Date(a) : !1, O = /* @__PURE__ */ new Date(), W = new Date(O.getFullYear() + 1, O.getMonth(), 1), T = new Date(d.getFullYear(), d.getMonth() + 1, 1), C = T >= W, S = T > W, x = () => /* @__PURE__ */ t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", className: F.positionAbs, children: /* @__PURE__ */ t("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" }) }), I = () => /* @__PURE__ */ t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", className: F.positionAbs, children: /* @__PURE__ */ t("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" }) }), A = [
|
|
1321
1321
|
F.container,
|
|
1322
1322
|
!o && F.containerMobile
|
|
1323
1323
|
].filter(Boolean).join(" "), j = [
|
|
@@ -1337,7 +1337,7 @@ const g5 = (e, r) => {
|
|
|
1337
1337
|
].filter(Boolean).join(" "),
|
|
1338
1338
|
onClick: M,
|
|
1339
1339
|
disabled: B,
|
|
1340
|
-
children: /* @__PURE__ */ t(
|
|
1340
|
+
children: /* @__PURE__ */ t(x, {})
|
|
1341
1341
|
}
|
|
1342
1342
|
),
|
|
1343
1343
|
/* @__PURE__ */ t("h3", { className: F.monthTitleMobile, children: w(d) }),
|
|
@@ -1368,31 +1368,31 @@ const g5 = (e, r) => {
|
|
|
1368
1368
|
].filter(Boolean).join(" "),
|
|
1369
1369
|
onClick: M,
|
|
1370
1370
|
disabled: B,
|
|
1371
|
-
children: /* @__PURE__ */ t(
|
|
1371
|
+
children: /* @__PURE__ */ t(x, {})
|
|
1372
1372
|
}
|
|
1373
1373
|
),
|
|
1374
1374
|
/* @__PURE__ */ s("div", { className: j, children: [
|
|
1375
1375
|
/* @__PURE__ */ s("div", { className: F.calendar, children: [
|
|
1376
1376
|
/* @__PURE__ */ t("h3", { className: F.monthTitle, children: w(d) }),
|
|
1377
|
-
/* @__PURE__ */ t("div", { className: F.weekDaysRow, children: p.map((
|
|
1377
|
+
/* @__PURE__ */ t("div", { className: F.weekDaysRow, children: p.map((k, Z) => /* @__PURE__ */ t(
|
|
1378
1378
|
"div",
|
|
1379
1379
|
{
|
|
1380
1380
|
className: `${F.weekDay} ${Z >= 5 ? F.weekDayWeekend : ""}`,
|
|
1381
|
-
children:
|
|
1381
|
+
children: k
|
|
1382
1382
|
},
|
|
1383
|
-
|
|
1383
|
+
k
|
|
1384
1384
|
)) }),
|
|
1385
1385
|
/* @__PURE__ */ t("div", { className: F.daysGrid, children: N(0) })
|
|
1386
1386
|
] }),
|
|
1387
1387
|
/* @__PURE__ */ s("div", { className: F.calendar, children: [
|
|
1388
1388
|
/* @__PURE__ */ t("h3", { className: F.monthTitle, children: w(T) }),
|
|
1389
|
-
/* @__PURE__ */ t("div", { className: F.weekDaysRow, children: p.map((
|
|
1389
|
+
/* @__PURE__ */ t("div", { className: F.weekDaysRow, children: p.map((k, Z) => /* @__PURE__ */ t(
|
|
1390
1390
|
"div",
|
|
1391
1391
|
{
|
|
1392
1392
|
className: `${F.weekDay} ${Z >= 5 ? F.weekDayWeekend : ""}`,
|
|
1393
|
-
children:
|
|
1393
|
+
children: k
|
|
1394
1394
|
},
|
|
1395
|
-
|
|
1395
|
+
k
|
|
1396
1396
|
)) }),
|
|
1397
1397
|
/* @__PURE__ */ t("div", { className: F.daysGrid, children: N(1) })
|
|
1398
1398
|
] })
|
|
@@ -1414,13 +1414,13 @@ const g5 = (e, r) => {
|
|
|
1414
1414
|
] }) : (
|
|
1415
1415
|
/* Mobile: Single calendar below navigation */
|
|
1416
1416
|
/* @__PURE__ */ t("div", { className: j, children: /* @__PURE__ */ s("div", { className: F.calendar, children: [
|
|
1417
|
-
/* @__PURE__ */ t("div", { className: F.weekDaysRow, children: p.map((
|
|
1417
|
+
/* @__PURE__ */ t("div", { className: F.weekDaysRow, children: p.map((k, Z) => /* @__PURE__ */ t(
|
|
1418
1418
|
"div",
|
|
1419
1419
|
{
|
|
1420
1420
|
className: `${F.weekDay} ${Z >= 5 ? F.weekDayWeekend : ""}`,
|
|
1421
|
-
children:
|
|
1421
|
+
children: k
|
|
1422
1422
|
},
|
|
1423
|
-
|
|
1423
|
+
k
|
|
1424
1424
|
)) }),
|
|
1425
1425
|
/* @__PURE__ */ t("div", { className: F.daysGrid, children: N(0) })
|
|
1426
1426
|
] }) })
|
|
@@ -1449,8 +1449,8 @@ const g5 = (e, r) => {
|
|
|
1449
1449
|
}, [e, r]);
|
|
1450
1450
|
const M = (() => {
|
|
1451
1451
|
const A = [], j = /* @__PURE__ */ new Date();
|
|
1452
|
-
for (let
|
|
1453
|
-
const Z = new Date(j.getFullYear(), j.getMonth() +
|
|
1452
|
+
for (let k = 0; k < 12; k++) {
|
|
1453
|
+
const Z = new Date(j.getFullYear(), j.getMonth() + k, 1);
|
|
1454
1454
|
A.push({
|
|
1455
1455
|
label: Z.toLocaleDateString(m, { month: "long" }),
|
|
1456
1456
|
year: Z.getFullYear(),
|
|
@@ -1462,7 +1462,7 @@ const g5 = (e, r) => {
|
|
|
1462
1462
|
})(), E = () => {
|
|
1463
1463
|
v({ start: null, end: null }), n == null || n(null), a == null || a(null);
|
|
1464
1464
|
}, R = (A) => {
|
|
1465
|
-
const j = p.includes(A) ? p.filter((
|
|
1465
|
+
const j = p.includes(A) ? p.filter((k) => k !== A) : [...p, A];
|
|
1466
1466
|
v({ start: null, end: null }), n == null || n(null), j.length === 0 ? a == null || a(null) : a == null || a(j);
|
|
1467
1467
|
}, B = () => {
|
|
1468
1468
|
w === "anytime" ? p.length === 0 && (n == null || n(null)) : f.start && f.end && (n == null || n(f)), d == null || d();
|
|
@@ -1476,8 +1476,8 @@ const g5 = (e, r) => {
|
|
|
1476
1476
|
const j = { start: A, end: null };
|
|
1477
1477
|
v(j), n == null || n(j);
|
|
1478
1478
|
} else if (A === f.start) {
|
|
1479
|
-
const j = T(A),
|
|
1480
|
-
v(
|
|
1479
|
+
const j = T(A), k = { start: f.start, end: j };
|
|
1480
|
+
v(k), n == null || n(k);
|
|
1481
1481
|
} else if (A > f.start) {
|
|
1482
1482
|
const j = { start: f.start, end: A };
|
|
1483
1483
|
v(j), n == null || n(j);
|
|
@@ -1489,7 +1489,7 @@ const g5 = (e, r) => {
|
|
|
1489
1489
|
Q.container,
|
|
1490
1490
|
i === "expanded" ? Q.containerExpanded : Q.containerDropdown,
|
|
1491
1491
|
c
|
|
1492
|
-
].filter(Boolean).join(" "),
|
|
1492
|
+
].filter(Boolean).join(" "), x = [
|
|
1493
1493
|
Q.monthGrid,
|
|
1494
1494
|
!h && Q.monthGridMobile
|
|
1495
1495
|
].filter(Boolean).join(" "), I = [
|
|
@@ -1523,7 +1523,7 @@ const g5 = (e, r) => {
|
|
|
1523
1523
|
] }),
|
|
1524
1524
|
/* @__PURE__ */ t("div", { className: I, children: w === "anytime" ? /* @__PURE__ */ s("div", { className: Q.flexibleContent, children: [
|
|
1525
1525
|
/* @__PURE__ */ t("h3", { className: Q.contentHeading, children: l("general.when-months") }),
|
|
1526
|
-
/* @__PURE__ */ s("div", { className:
|
|
1526
|
+
/* @__PURE__ */ s("div", { className: x, children: [
|
|
1527
1527
|
/* @__PURE__ */ t(
|
|
1528
1528
|
"button",
|
|
1529
1529
|
{
|
|
@@ -1584,14 +1584,14 @@ const g5 = (e, r) => {
|
|
|
1584
1584
|
le(() => {
|
|
1585
1585
|
v((C) => C.start === e.start && C.end === e.end ? C : e), y((C) => {
|
|
1586
1586
|
const S = r || [];
|
|
1587
|
-
return C.length === S.length && C.every((
|
|
1587
|
+
return C.length === S.length && C.every((x, I) => x === S[I]) ? C : S;
|
|
1588
1588
|
});
|
|
1589
1589
|
}, [e.start, e.end, r]), le(() => {
|
|
1590
1590
|
if (!w) return;
|
|
1591
1591
|
const C = (S) => {
|
|
1592
1592
|
if (N.current && !N.current.contains(S.target)) {
|
|
1593
|
-
const
|
|
1594
|
-
n == null || n(
|
|
1593
|
+
const x = f.start && f.end ? f : null, I = p.length ? p : null;
|
|
1594
|
+
n == null || n(x), a == null || a(I), _(!1), i == null || i(x, I);
|
|
1595
1595
|
}
|
|
1596
1596
|
};
|
|
1597
1597
|
return document.addEventListener("pointerdown", C), () => {
|
|
@@ -1600,8 +1600,8 @@ const g5 = (e, r) => {
|
|
|
1600
1600
|
}, [w, f, p, n, a, i]);
|
|
1601
1601
|
const M = Ee(() => {
|
|
1602
1602
|
const C = /* @__PURE__ */ new Date();
|
|
1603
|
-
return Array.from({ length: 12 }, (S,
|
|
1604
|
-
const I = new Date(C.getFullYear(), C.getMonth() +
|
|
1603
|
+
return Array.from({ length: 12 }, (S, x) => {
|
|
1604
|
+
const I = new Date(C.getFullYear(), C.getMonth() + x, 1);
|
|
1605
1605
|
return {
|
|
1606
1606
|
label: I.toLocaleDateString(m, { month: "long" }),
|
|
1607
1607
|
year: I.getFullYear(),
|
|
@@ -1856,7 +1856,7 @@ const g5 = (e, r) => {
|
|
|
1856
1856
|
d: "M12 12C14.21 12 16 10.21 16 8C16 5.79 14.21 4 12 4C9.79 4 8 5.79 8 8C8 10.21 9.79 12 12 12ZM12 14C9.33 14 4 15.34 4 18V20H20V18C20 15.34 14.67 14 12 14Z",
|
|
1857
1857
|
fill: "currentColor"
|
|
1858
1858
|
}
|
|
1859
|
-
) }),
|
|
1859
|
+
) }), ko = ({
|
|
1860
1860
|
initialGuests: e = { adults: 2, children: 0, childrenAges: [] },
|
|
1861
1861
|
initialPetValue: r = 0,
|
|
1862
1862
|
onChange: n,
|
|
@@ -1925,8 +1925,8 @@ const g5 = (e, r) => {
|
|
|
1925
1925
|
}
|
|
1926
1926
|
) })
|
|
1927
1927
|
] });
|
|
1928
|
-
},
|
|
1929
|
-
container:
|
|
1928
|
+
}, xo = "_container_1ndc1_1", Mo = "_iconWrapper_1ndc1_10", Lo = "_iconWrapperActive_1ndc1_26", $o = "_input_1ndc1_30", So = "_clearButton_1ndc1_57", Ho = "_loadingIndicator_1ndc1_82", Do = "_dropdown_1ndc1_92", Po = "_dropdownHeader_1ndc1_120", Bo = "_section_1ndc1_130", Io = "_sectionHeader_1ndc1_141", Ao = "_suggestion_1ndc1_151", Wo = "_suggestionSelected_1ndc1_165", To = "_icon_1ndc1_10", Vo = "_suggestionContent_1ndc1_184", Eo = "_suggestionName_1ndc1_192", zo = "_suggestionNameBold_1ndc1_201", Ro = "_suggestionMeta_1ndc1_210", jo = "_emptyState_1ndc1_219", V = {
|
|
1929
|
+
container: xo,
|
|
1930
1930
|
iconWrapper: Mo,
|
|
1931
1931
|
iconWrapperActive: Lo,
|
|
1932
1932
|
input: $o,
|
|
@@ -1953,10 +1953,10 @@ const g5 = (e, r) => {
|
|
|
1953
1953
|
] }), Zo = () => /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
1954
1954
|
/* @__PURE__ */ t("g", { clipPath: "url(#clip0_nearme_desktop)", children: /* @__PURE__ */ t("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" }) }),
|
|
1955
1955
|
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_nearme_desktop", children: /* @__PURE__ */ t("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
1956
|
-
] }),
|
|
1956
|
+
] }), Yo = () => /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
1957
1957
|
/* @__PURE__ */ t("g", { clipPath: "url(#clip0_1151_67415)", children: /* @__PURE__ */ t("path", { d: "M0.9375 0C0.417969 0 0 0.417969 0 0.9375C0 1.45703 0.417969 1.875 0.9375 1.875H1.25V18.125H0.9375C0.417969 18.125 0 18.543 0 19.0625C0 19.582 0.417969 20 0.9375 20H19.0625C19.582 20 20 19.582 20 19.0625C20 18.543 19.582 18.125 19.0625 18.125H18.75V1.875H19.0625C19.582 1.875 20 1.45703 20 0.9375C20 0.417969 19.582 0 19.0625 0H0.9375ZM16.875 18.125H11.25V15H13.125C13.4688 15 13.7539 14.7188 13.6992 14.3789C13.4023 12.6055 11.8594 11.25 10 11.25C8.14062 11.25 6.59766 12.6016 6.30078 14.3789C6.24219 14.7188 6.52734 15 6.875 15H8.75V18.125H3.125V1.875H16.875V18.125ZM5.625 3.75C5.28125 3.75 5 4.03125 5 4.375V5.625C5 5.96875 5.28125 6.25 5.625 6.25H6.875C7.21875 6.25 7.5 5.96875 7.5 5.625V4.375C7.5 4.03125 7.21875 3.75 6.875 3.75H5.625ZM8.75 4.375V5.625C8.75 5.96875 9.03125 6.25 9.375 6.25H10.625C10.9688 6.25 11.25 5.96875 11.25 5.625V4.375C11.25 4.03125 10.9688 3.75 10.625 3.75H9.375C9.03125 3.75 8.75 4.03125 8.75 4.375ZM13.125 3.75C12.7812 3.75 12.5 4.03125 12.5 4.375V5.625C12.5 5.96875 12.7812 6.25 13.125 6.25H14.375C14.7188 6.25 15 5.96875 15 5.625V4.375C15 4.03125 14.7188 3.75 14.375 3.75H13.125ZM5 8.125V9.375C5 9.71875 5.28125 10 5.625 10H6.875C7.21875 10 7.5 9.71875 7.5 9.375V8.125C7.5 7.78125 7.21875 7.5 6.875 7.5H5.625C5.28125 7.5 5 7.78125 5 8.125ZM9.375 7.5C9.03125 7.5 8.75 7.78125 8.75 8.125V9.375C8.75 9.71875 9.03125 10 9.375 10H10.625C10.9688 10 11.25 9.71875 11.25 9.375V8.125C11.25 7.78125 10.9688 7.5 10.625 7.5H9.375ZM12.5 8.125V9.375C12.5 9.71875 12.7812 10 13.125 10H14.375C14.7188 10 15 9.71875 15 9.375V8.125C15 7.78125 14.7188 7.5 14.375 7.5H13.125C12.7812 7.5 12.5 7.78125 12.5 8.125Z", fill: "currentColor" }) }),
|
|
1958
1958
|
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_1151_67415", children: /* @__PURE__ */ t("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
1959
|
-
] }),
|
|
1959
|
+
] }), qo = () => /* @__PURE__ */ s("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
1960
1960
|
/* @__PURE__ */ t("path", { d: "M10 10.8333C11.3807 10.8333 12.5 9.71404 12.5 8.33333C12.5 6.95262 11.3807 5.83333 10 5.83333C8.61929 5.83333 7.5 6.95262 7.5 8.33333C7.5 9.71404 8.61929 10.8333 10 10.8333Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1961
1961
|
/* @__PURE__ */ t("path", { d: "M10 18.3333C10 18.3333 16.6667 13.3333 16.6667 8.33333C16.6667 4.65143 13.6819 1.66667 10 1.66667C6.31811 1.66667 3.33334 4.65143 3.33334 8.33333C3.33334 13.3333 10 18.3333 10 18.3333Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
1962
1962
|
] }), Go = () => /* @__PURE__ */ t("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("path", { d: "M7.5 2.5L2.5 5V17.5L7.5 15M7.5 2.5L12.5 5M7.5 2.5V15M12.5 5L17.5 2.5V15L12.5 17.5M12.5 5V17.5M12.5 17.5L7.5 15", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), Jo = () => /* @__PURE__ */ s("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
@@ -2013,7 +2013,7 @@ const g5 = (e, r) => {
|
|
|
2013
2013
|
}, []);
|
|
2014
2014
|
const S = (b) => {
|
|
2015
2015
|
r(b.target.value), v(!0);
|
|
2016
|
-
},
|
|
2016
|
+
}, x = (b) => {
|
|
2017
2017
|
var H;
|
|
2018
2018
|
b.stopPropagation(), r(""), (H = E.current) == null || H.focus();
|
|
2019
2019
|
}, I = (b) => {
|
|
@@ -2061,12 +2061,12 @@ const g5 = (e, r) => {
|
|
|
2061
2061
|
b.preventDefault(), v(!1), y(-1);
|
|
2062
2062
|
break;
|
|
2063
2063
|
}
|
|
2064
|
-
},
|
|
2064
|
+
}, k = (b) => {
|
|
2065
2065
|
switch (b) {
|
|
2066
2066
|
case "hotel":
|
|
2067
|
-
return /* @__PURE__ */ t(qo, {});
|
|
2068
|
-
case "city":
|
|
2069
2067
|
return /* @__PURE__ */ t(Yo, {});
|
|
2068
|
+
case "city":
|
|
2069
|
+
return /* @__PURE__ */ t(qo, {});
|
|
2070
2070
|
case "region":
|
|
2071
2071
|
return /* @__PURE__ */ t(Go, {});
|
|
2072
2072
|
case "country":
|
|
@@ -2090,7 +2090,7 @@ const g5 = (e, r) => {
|
|
|
2090
2090
|
/* @__PURE__ */ t("span", { className: V.suggestionNameBold, children: g }),
|
|
2091
2091
|
L
|
|
2092
2092
|
] });
|
|
2093
|
-
}, ae = 2, te = ae + W.cities.length, G = te + W.regions.length, J = G + W.countries.length, de = h.length > 0,
|
|
2093
|
+
}, ae = 2, te = ae + W.cities.length, G = te + W.regions.length, J = G + W.countries.length, de = h.length > 0, Y = e.length >= 2 && !de && !N;
|
|
2094
2094
|
return /* @__PURE__ */ s("div", { className: V.container, children: [
|
|
2095
2095
|
/* @__PURE__ */ t("span", { className: `${V.iconWrapper} ${O ? V.iconWrapperActive : ""}`, children: /* @__PURE__ */ t(Fo, {}) }),
|
|
2096
2096
|
/* @__PURE__ */ t(
|
|
@@ -2119,15 +2119,15 @@ const g5 = (e, r) => {
|
|
|
2119
2119
|
{
|
|
2120
2120
|
type: "button",
|
|
2121
2121
|
className: V.clearButton,
|
|
2122
|
-
onClick:
|
|
2122
|
+
onClick: x,
|
|
2123
2123
|
"aria-label": l("search:label.clear", "Clear"),
|
|
2124
2124
|
children: /* @__PURE__ */ t(Oo, {})
|
|
2125
2125
|
}
|
|
2126
2126
|
),
|
|
2127
2127
|
N && /* @__PURE__ */ t("div", { className: V.loadingIndicator, children: /* @__PURE__ */ t("span", { children: "..." }) }),
|
|
2128
2128
|
f && /* @__PURE__ */ s("div", { ref: R, className: V.dropdown, children: [
|
|
2129
|
-
!de && !
|
|
2130
|
-
!de && !
|
|
2129
|
+
!de && !Y && /* @__PURE__ */ t("div", { className: V.dropdownHeader, children: l("search:general.suggested-destinations", "Suggested destinations") }),
|
|
2130
|
+
!de && !Y && /* @__PURE__ */ s("div", { className: V.section, children: [
|
|
2131
2131
|
/* @__PURE__ */ s(
|
|
2132
2132
|
"button",
|
|
2133
2133
|
{
|
|
@@ -2136,7 +2136,7 @@ const g5 = (e, r) => {
|
|
|
2136
2136
|
onClick: () => I({ type: "anywhere", name: l("search:label.anywhere", "All destinations") }),
|
|
2137
2137
|
onMouseEnter: () => y(0),
|
|
2138
2138
|
children: [
|
|
2139
|
-
/* @__PURE__ */ t("span", { className: V.icon, children:
|
|
2139
|
+
/* @__PURE__ */ t("span", { className: V.icon, children: k("anywhere") }),
|
|
2140
2140
|
/* @__PURE__ */ t("div", { className: V.suggestionContent, children: /* @__PURE__ */ t("div", { className: V.suggestionName, children: l("search:label.anywhere", "All destinations") }) })
|
|
2141
2141
|
]
|
|
2142
2142
|
}
|
|
@@ -2149,7 +2149,7 @@ const g5 = (e, r) => {
|
|
|
2149
2149
|
onClick: () => I({ type: "nearme", name: l("search:label.nearby", "Near me") }),
|
|
2150
2150
|
onMouseEnter: () => y(1),
|
|
2151
2151
|
children: [
|
|
2152
|
-
/* @__PURE__ */ t("span", { className: V.icon, children:
|
|
2152
|
+
/* @__PURE__ */ t("span", { className: V.icon, children: k("nearme") }),
|
|
2153
2153
|
/* @__PURE__ */ t("div", { className: V.suggestionContent, children: /* @__PURE__ */ t("div", { className: V.suggestionName, children: l("search:label.nearby", "Near me") }) })
|
|
2154
2154
|
]
|
|
2155
2155
|
}
|
|
@@ -2167,7 +2167,7 @@ const g5 = (e, r) => {
|
|
|
2167
2167
|
onClick: () => I(b),
|
|
2168
2168
|
onMouseEnter: () => y(K),
|
|
2169
2169
|
children: [
|
|
2170
|
-
/* @__PURE__ */ t("span", { className: V.icon, children:
|
|
2170
|
+
/* @__PURE__ */ t("span", { className: V.icon, children: k("city") }),
|
|
2171
2171
|
/* @__PURE__ */ s("div", { className: V.suggestionContent, children: [
|
|
2172
2172
|
/* @__PURE__ */ t("div", { className: V.suggestionName, children: Z(b.name, e) }),
|
|
2173
2173
|
b.region && /* @__PURE__ */ t("div", { className: V.suggestionMeta, children: b.region })
|
|
@@ -2190,7 +2190,7 @@ const g5 = (e, r) => {
|
|
|
2190
2190
|
onClick: () => I(b),
|
|
2191
2191
|
onMouseEnter: () => y(K),
|
|
2192
2192
|
children: [
|
|
2193
|
-
/* @__PURE__ */ t("span", { className: V.icon, children:
|
|
2193
|
+
/* @__PURE__ */ t("span", { className: V.icon, children: k("region") }),
|
|
2194
2194
|
/* @__PURE__ */ t("div", { className: V.suggestionContent, children: /* @__PURE__ */ t("div", { className: V.suggestionName, children: Z(b.name, e) }) })
|
|
2195
2195
|
]
|
|
2196
2196
|
},
|
|
@@ -2210,7 +2210,7 @@ const g5 = (e, r) => {
|
|
|
2210
2210
|
onClick: () => I(b),
|
|
2211
2211
|
onMouseEnter: () => y(K),
|
|
2212
2212
|
children: [
|
|
2213
|
-
/* @__PURE__ */ t("span", { className: V.icon, children:
|
|
2213
|
+
/* @__PURE__ */ t("span", { className: V.icon, children: k("country") }),
|
|
2214
2214
|
/* @__PURE__ */ t("div", { className: V.suggestionContent, children: /* @__PURE__ */ t("div", { className: V.suggestionName, children: Z(b.name, e) }) })
|
|
2215
2215
|
]
|
|
2216
2216
|
},
|
|
@@ -2230,7 +2230,7 @@ const g5 = (e, r) => {
|
|
|
2230
2230
|
onClick: () => I(b),
|
|
2231
2231
|
onMouseEnter: () => y(K),
|
|
2232
2232
|
children: [
|
|
2233
|
-
/* @__PURE__ */ t("span", { className: V.icon, children:
|
|
2233
|
+
/* @__PURE__ */ t("span", { className: V.icon, children: k("hotel") }),
|
|
2234
2234
|
/* @__PURE__ */ s("div", { className: V.suggestionContent, children: [
|
|
2235
2235
|
/* @__PURE__ */ t("div", { className: V.suggestionName, children: Z(b.name, e) }),
|
|
2236
2236
|
b.city && /* @__PURE__ */ s("div", { className: V.suggestionMeta, children: [
|
|
@@ -2244,7 +2244,7 @@ const g5 = (e, r) => {
|
|
|
2244
2244
|
);
|
|
2245
2245
|
}) })
|
|
2246
2246
|
] }),
|
|
2247
|
-
|
|
2247
|
+
Y && /* @__PURE__ */ t("div", { className: V.emptyState, children: l("search:dropdown.no-results", "No results found") })
|
|
2248
2248
|
] })
|
|
2249
2249
|
] });
|
|
2250
2250
|
}, Xo = "_overlay_w2b2v_9", Uo = "_sheet_w2b2v_29", Qo = "_header_w2b2v_50", es = "_title_w2b2v_57", ts = "_optionsList_w2b2v_71", ns = "_optionItem_w2b2v_77", rs = "_radio_w2b2v_94", as = "_radioActive_w2b2v_108", is = "_radioInner_w2b2v_113", os = "_optionLabel_w2b2v_121", Se = {
|
|
@@ -2315,7 +2315,7 @@ const g5 = (e, r) => {
|
|
|
2315
2315
|
]
|
|
2316
2316
|
}
|
|
2317
2317
|
) }) : null;
|
|
2318
|
-
}, ls = "_container_1hlf3_15", cs = "_containerCompact_1hlf3_27", ds = "_inputsContainer_1hlf3_37", us = "_inputWrapper_1hlf3_55", hs = "_input_1hlf3_37", ms = "_divider_1hlf3_116", fs = "_controlWrapper_1hlf3_128", gs = "_control_1hlf3_128", ps = "_buttonWrapper_1hlf3_179", ws = "_mobileContainer_1hlf3_263", _s = "_mobileSummary_1hlf3_271", vs = "_mobileSummaryIcon_1hlf3_291", bs = "_mobileSummaryText_1hlf3_306", Cs = "_mobileSummaryTitle_1hlf3_316", ys = "_mobileSummarySubtitle_1hlf3_331", Ns = "_mobileActionBar_1hlf3_350",
|
|
2318
|
+
}, ls = "_container_1hlf3_15", cs = "_containerCompact_1hlf3_27", ds = "_inputsContainer_1hlf3_37", us = "_inputWrapper_1hlf3_55", hs = "_input_1hlf3_37", ms = "_divider_1hlf3_116", fs = "_controlWrapper_1hlf3_128", gs = "_control_1hlf3_128", ps = "_buttonWrapper_1hlf3_179", ws = "_mobileContainer_1hlf3_263", _s = "_mobileSummary_1hlf3_271", vs = "_mobileSummaryIcon_1hlf3_291", bs = "_mobileSummaryText_1hlf3_306", Cs = "_mobileSummaryTitle_1hlf3_316", ys = "_mobileSummarySubtitle_1hlf3_331", Ns = "_mobileActionBar_1hlf3_350", ks = "_mobileActionButton_1hlf3_357", xs = "_mobileActionDivider_1hlf3_397", Ms = "_clearButton_1hlf3_408", ee = {
|
|
2319
2319
|
container: ls,
|
|
2320
2320
|
containerCompact: cs,
|
|
2321
2321
|
inputsContainer: ds,
|
|
@@ -2332,8 +2332,8 @@ const g5 = (e, r) => {
|
|
|
2332
2332
|
mobileSummaryTitle: Cs,
|
|
2333
2333
|
mobileSummarySubtitle: ys,
|
|
2334
2334
|
mobileActionBar: Ns,
|
|
2335
|
-
mobileActionButton:
|
|
2336
|
-
mobileActionDivider:
|
|
2335
|
+
mobileActionButton: ks,
|
|
2336
|
+
mobileActionDivider: xs,
|
|
2337
2337
|
clearButton: Ms
|
|
2338
2338
|
}, Ls = () => /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
|
|
2339
2339
|
/* @__PURE__ */ t("g", { clipPath: "url(#clip0_1029_77629)", children: /* @__PURE__ */ t("path", { d: "M17.25 9.75C17.25 7.76088 16.4598 5.85322 15.0533 4.4467C13.6468 3.04018 11.7391 2.25 9.75 2.25C7.76088 2.25 5.85322 3.04018 4.4467 4.4467C3.04018 5.85322 2.25 7.76088 2.25 9.75C2.25 11.7391 3.04018 13.6468 4.4467 15.0533C5.85322 16.4598 7.76088 17.25 9.75 17.25C11.7391 17.25 13.6468 16.4598 15.0533 15.0533C16.4598 13.6468 17.25 11.7391 17.25 9.75ZM15.8016 17.3953C14.1422 18.7125 12.0375 19.5 9.75 19.5C4.36406 19.5 0 15.1359 0 9.75C0 4.36406 4.36406 0 9.75 0C15.1359 0 19.5 4.36406 19.5 9.75C19.5 12.0375 18.7125 14.1422 17.3953 15.8016L23.6719 22.0781C24.1125 22.5187 24.1125 23.2312 23.6719 23.6672C23.2313 24.1031 22.5188 24.1078 22.0828 23.6672L15.8016 17.3953Z", fill: "#4B5563" }) }),
|
|
@@ -2370,9 +2370,9 @@ const g5 = (e, r) => {
|
|
|
2370
2370
|
hideViewToggle: M = !1,
|
|
2371
2371
|
compact: E = !1
|
|
2372
2372
|
}) => {
|
|
2373
|
-
const { isDesktop: R } = rt(), { t: B } = me(), [O, W] = $(m), [T, C] = $(f), [S,
|
|
2373
|
+
const { isDesktop: R } = rt(), { t: B } = me(), [O, W] = $(m), [T, C] = $(f), [S, x] = $(v), [I, A] = $(w), [j, k] = $(_), [Z, ne] = $([]);
|
|
2374
2374
|
le(() => {
|
|
2375
|
-
C(f), W(m), A(w),
|
|
2375
|
+
C(f), W(m), A(w), k(_);
|
|
2376
2376
|
}, [f, m, w, _]);
|
|
2377
2377
|
const ae = (D) => {
|
|
2378
2378
|
D.preventDefault();
|
|
@@ -2402,14 +2402,14 @@ const g5 = (e, r) => {
|
|
|
2402
2402
|
}
|
|
2403
2403
|
return D;
|
|
2404
2404
|
}, J = () => O.trim() || B("label.anywhere"), de = (D) => {
|
|
2405
|
-
D.stopPropagation(), A(null),
|
|
2405
|
+
D.stopPropagation(), A(null), k(null), e({
|
|
2406
2406
|
query: O.trim(),
|
|
2407
2407
|
guests: T,
|
|
2408
2408
|
petFilter: S,
|
|
2409
2409
|
dateRange: null,
|
|
2410
2410
|
monthFilter: null
|
|
2411
2411
|
});
|
|
2412
|
-
},
|
|
2412
|
+
}, Y = (D) => {
|
|
2413
2413
|
D.stopPropagation();
|
|
2414
2414
|
const g = { adults: 2, children: 0, childrenAges: [] };
|
|
2415
2415
|
C(g), e({
|
|
@@ -2422,7 +2422,7 @@ const g5 = (e, r) => {
|
|
|
2422
2422
|
}, b = (D) => {
|
|
2423
2423
|
W(D);
|
|
2424
2424
|
}, H = (D, g) => {
|
|
2425
|
-
A(D),
|
|
2425
|
+
A(D), k(g);
|
|
2426
2426
|
const L = G();
|
|
2427
2427
|
if (L.length > 0) {
|
|
2428
2428
|
ne(L);
|
|
@@ -2436,7 +2436,7 @@ const g5 = (e, r) => {
|
|
|
2436
2436
|
monthFilter: g
|
|
2437
2437
|
});
|
|
2438
2438
|
}, K = (D, g) => {
|
|
2439
|
-
C(D),
|
|
2439
|
+
C(D), x(g);
|
|
2440
2440
|
const L = Array.isArray(D.childrenAges) ? D.childrenAges : [], X = [];
|
|
2441
2441
|
for (let fe = 0; fe < D.children; fe++) {
|
|
2442
2442
|
const ie = L[fe];
|
|
@@ -2491,7 +2491,7 @@ const g5 = (e, r) => {
|
|
|
2491
2491
|
A(D), a == null || a(D);
|
|
2492
2492
|
},
|
|
2493
2493
|
onMonthFilterChange: (D) => {
|
|
2494
|
-
|
|
2494
|
+
k(D), i == null || i(D);
|
|
2495
2495
|
},
|
|
2496
2496
|
onClose: H,
|
|
2497
2497
|
disabled: p,
|
|
@@ -2513,12 +2513,12 @@ const g5 = (e, r) => {
|
|
|
2513
2513
|
/* @__PURE__ */ t("div", { className: ee.divider }),
|
|
2514
2514
|
/* @__PURE__ */ s("div", { className: ee.controlWrapper, "data-test": "test", children: [
|
|
2515
2515
|
/* @__PURE__ */ t(
|
|
2516
|
-
|
|
2516
|
+
ko,
|
|
2517
2517
|
{
|
|
2518
2518
|
initialGuests: T,
|
|
2519
2519
|
initialPetValue: S,
|
|
2520
2520
|
onChange: te,
|
|
2521
|
-
onPetChange:
|
|
2521
|
+
onPetChange: x,
|
|
2522
2522
|
onClose: K,
|
|
2523
2523
|
disabled: p,
|
|
2524
2524
|
className: ee.control,
|
|
@@ -2531,7 +2531,7 @@ const g5 = (e, r) => {
|
|
|
2531
2531
|
{
|
|
2532
2532
|
type: "button",
|
|
2533
2533
|
className: ee.clearButton,
|
|
2534
|
-
onClick:
|
|
2534
|
+
onClick: Y,
|
|
2535
2535
|
"aria-label": B("label.clear", "Clear guests"),
|
|
2536
2536
|
children: /* @__PURE__ */ t(vt, {})
|
|
2537
2537
|
}
|
|
@@ -2658,26 +2658,26 @@ const g5 = (e, r) => {
|
|
|
2658
2658
|
addToFavorites: "Add to favorites",
|
|
2659
2659
|
previousImage: "Previous image",
|
|
2660
2660
|
nextImage: "Next image"
|
|
2661
|
-
}, d = e.slice(0, Bs), [c, l] = $(0), [u, h] = $(/* @__PURE__ */ new Set()), [m, f] = $(null), [v, w] = $(null), [_, p] = $(!1), y = he(null), N = (
|
|
2662
|
-
h((I) => new Set(I).add(
|
|
2663
|
-
}, M = (
|
|
2664
|
-
l((
|
|
2661
|
+
}, d = e.slice(0, Bs), [c, l] = $(0), [u, h] = $(/* @__PURE__ */ new Set()), [m, f] = $(null), [v, w] = $(null), [_, p] = $(!1), y = he(null), N = (x) => {
|
|
2662
|
+
h((I) => new Set(I).add(x));
|
|
2663
|
+
}, M = (x) => u.has(x) ? Ct : d[x] || Ct, E = () => {
|
|
2664
|
+
l((x) => x === 0 ? d.length - 1 : x - 1);
|
|
2665
2665
|
}, R = () => {
|
|
2666
|
-
l((
|
|
2667
|
-
}, B = (
|
|
2668
|
-
|
|
2669
|
-
}, O = (
|
|
2670
|
-
|
|
2671
|
-
}, W = (
|
|
2672
|
-
|
|
2673
|
-
}, T = (
|
|
2674
|
-
|
|
2675
|
-
}, C = (
|
|
2676
|
-
if (
|
|
2666
|
+
l((x) => x === d.length - 1 ? 0 : x + 1);
|
|
2667
|
+
}, B = (x) => {
|
|
2668
|
+
x.preventDefault(), x.stopPropagation(), E();
|
|
2669
|
+
}, O = (x) => {
|
|
2670
|
+
x.preventDefault(), x.stopPropagation(), R();
|
|
2671
|
+
}, W = (x) => {
|
|
2672
|
+
x.stopPropagation(), w(null), f(x.targetTouches[0].clientX), p(!0);
|
|
2673
|
+
}, T = (x) => {
|
|
2674
|
+
x.stopPropagation(), m && w(x.targetTouches[0].clientX);
|
|
2675
|
+
}, C = (x) => {
|
|
2676
|
+
if (x.stopPropagation(), p(!1), !m || !v) return;
|
|
2677
2677
|
const I = m - v;
|
|
2678
2678
|
I > bt ? R() : I < -bt && E(), f(null), w(null);
|
|
2679
|
-
}, S = (
|
|
2680
|
-
|
|
2679
|
+
}, S = (x) => {
|
|
2680
|
+
x.preventDefault(), x.stopPropagation(), i();
|
|
2681
2681
|
};
|
|
2682
2682
|
return /* @__PURE__ */ s(
|
|
2683
2683
|
"div",
|
|
@@ -2702,9 +2702,9 @@ const g5 = (e, r) => {
|
|
|
2702
2702
|
),
|
|
2703
2703
|
/* @__PURE__ */ t("div", { className: "hc-hotel-card__image-overlay" }),
|
|
2704
2704
|
/* @__PURE__ */ s("div", { className: "hc-hotel-card__top-overlay", children: [
|
|
2705
|
-
/* @__PURE__ */ t("div", { className: "hc-hotel-card__badges-column", children: n == null ? void 0 : n.map((
|
|
2705
|
+
/* @__PURE__ */ t("div", { className: "hc-hotel-card__badges-column", children: n == null ? void 0 : n.map((x, I) => /* @__PURE__ */ s("div", { className: "hc-hotel-card__new-badge", children: [
|
|
2706
2706
|
/* @__PURE__ */ t(Is, {}),
|
|
2707
|
-
/* @__PURE__ */ t("span", { children:
|
|
2707
|
+
/* @__PURE__ */ t("span", { children: x })
|
|
2708
2708
|
] }, I)) }),
|
|
2709
2709
|
/* @__PURE__ */ t(
|
|
2710
2710
|
"button",
|
|
@@ -2738,7 +2738,7 @@ const g5 = (e, r) => {
|
|
|
2738
2738
|
children: /* @__PURE__ */ t(Ws, {})
|
|
2739
2739
|
}
|
|
2740
2740
|
),
|
|
2741
|
-
/* @__PURE__ */ t("div", { className: "hc-hotel-card__image-indicator", children: d.map((
|
|
2741
|
+
/* @__PURE__ */ t("div", { className: "hc-hotel-card__image-indicator", children: d.map((x, I) => /* @__PURE__ */ t(
|
|
2742
2742
|
"span",
|
|
2743
2743
|
{
|
|
2744
2744
|
className: `hc-hotel-card__indicator-dot ${I === c ? "hc-hotel-card__indicator-dot--active" : ""}`
|
|
@@ -2873,7 +2873,7 @@ const g5 = (e, r) => {
|
|
|
2873
2873
|
}
|
|
2874
2874
|
)
|
|
2875
2875
|
] });
|
|
2876
|
-
async function
|
|
2876
|
+
async function Ys(e, r, n) {
|
|
2877
2877
|
if (!e || e.trim().length < 2)
|
|
2878
2878
|
return [];
|
|
2879
2879
|
try {
|
|
@@ -2901,8 +2901,8 @@ async function qs(e, r, n) {
|
|
|
2901
2901
|
return console.error("Autocomplete error:", a), [];
|
|
2902
2902
|
}
|
|
2903
2903
|
}
|
|
2904
|
-
const
|
|
2905
|
-
container:
|
|
2904
|
+
const qs = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_containerExpanded_qwg4p_29", Ks = "_resultsContainer_qwg4p_37", Xs = "_inputWrapper_qwg4p_50", Us = "_inputIcon_qwg4p_61", Qs = "_inputIconActive_qwg4p_72", el = "_input_qwg4p_50", tl = "_clearButton_qwg4p_113", nl = "_loadingIndicator_qwg4p_149", rl = "_dropdownHeader_qwg4p_162", al = "_section_qwg4p_177", il = "_sectionHeader_qwg4p_182", ol = "_suggestion_qwg4p_197", sl = "_suggestionSelected_qwg4p_212", ll = "_suggestionIcon_qwg4p_216", cl = "_suggestionContent_qwg4p_226", dl = "_suggestionName_qwg4p_234", ul = "_suggestionNameBold_qwg4p_247", hl = "_suggestionMeta_qwg4p_251", ml = "_emptyState_qwg4p_268", P = {
|
|
2905
|
+
container: qs,
|
|
2906
2906
|
containerDropdown: Gs,
|
|
2907
2907
|
containerExpanded: Js,
|
|
2908
2908
|
resultsContainer: Ks,
|
|
@@ -2957,7 +2957,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
2957
2957
|
const { t: u, apiBaseUrl: h, locale: m } = me(), [f, v] = $([]), [w, _] = $(-1), [p, y] = $(!1), [N, M] = $(!1), [E, R] = $(!1), B = he(null), O = l || B, W = he(), T = he(null), C = N || e.trim().length > 0, S = Ee(() => {
|
|
2958
2958
|
const g = f.filter((ie) => ie.type === "hotel"), L = f.filter((ie) => ie.type === "city"), X = f.filter((ie) => ie.type === "region"), fe = f.filter((ie) => ie.type === "country");
|
|
2959
2959
|
return { hotels: g, cities: L, regions: X, countries: fe };
|
|
2960
|
-
}, [f]),
|
|
2960
|
+
}, [f]), x = Ee(() => [
|
|
2961
2961
|
...[
|
|
2962
2962
|
{ type: "anywhere", name: u("label.anywhere") },
|
|
2963
2963
|
{ type: "nearme", name: u("label.nearby") }
|
|
@@ -2973,7 +2973,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
2973
2973
|
}
|
|
2974
2974
|
try {
|
|
2975
2975
|
y(!0);
|
|
2976
|
-
const L = await
|
|
2976
|
+
const L = await Ys(g, h, m);
|
|
2977
2977
|
v(L), _(-1);
|
|
2978
2978
|
} catch (L) {
|
|
2979
2979
|
console.error("Autocomplete error:", L), v([]);
|
|
@@ -2997,7 +2997,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
2997
2997
|
}, j = (g) => {
|
|
2998
2998
|
var L;
|
|
2999
2999
|
g.stopPropagation(), r(""), (L = O.current) == null || L.focus();
|
|
3000
|
-
},
|
|
3000
|
+
}, k = (g) => {
|
|
3001
3001
|
if (g.type === "anywhere") {
|
|
3002
3002
|
r(""), R(!1), n("");
|
|
3003
3003
|
return;
|
|
@@ -3037,21 +3037,21 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3037
3037
|
}
|
|
3038
3038
|
);
|
|
3039
3039
|
}, ae = (g) => {
|
|
3040
|
-
if (!E ||
|
|
3040
|
+
if (!E || x.length === 0) {
|
|
3041
3041
|
(g.key === "ArrowDown" || g.key === "ArrowUp") && R(!0);
|
|
3042
3042
|
return;
|
|
3043
3043
|
}
|
|
3044
3044
|
switch (g.key) {
|
|
3045
3045
|
case "ArrowDown":
|
|
3046
3046
|
g.preventDefault(), _(
|
|
3047
|
-
(L) => L <
|
|
3047
|
+
(L) => L < x.length - 1 ? L + 1 : L
|
|
3048
3048
|
);
|
|
3049
3049
|
break;
|
|
3050
3050
|
case "ArrowUp":
|
|
3051
3051
|
g.preventDefault(), _((L) => L > 0 ? L - 1 : -1);
|
|
3052
3052
|
break;
|
|
3053
3053
|
case "Enter":
|
|
3054
|
-
g.preventDefault(), w >= 0 && w <
|
|
3054
|
+
g.preventDefault(), w >= 0 && w < x.length && k(x[w]);
|
|
3055
3055
|
break;
|
|
3056
3056
|
case "Escape":
|
|
3057
3057
|
g.preventDefault(), R(!1), _(-1);
|
|
@@ -3083,13 +3083,13 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3083
3083
|
const X = g.toLowerCase(), fe = L.toLowerCase(), ie = X.indexOf(fe);
|
|
3084
3084
|
if (ie === -1)
|
|
3085
3085
|
return /* @__PURE__ */ t("span", { children: g });
|
|
3086
|
-
const Xe = g.slice(0, ie), Ze = g.slice(ie, ie + L.length),
|
|
3086
|
+
const Xe = g.slice(0, ie), Ze = g.slice(ie, ie + L.length), Ye = g.slice(ie + L.length);
|
|
3087
3087
|
return /* @__PURE__ */ s("span", { children: [
|
|
3088
3088
|
Xe,
|
|
3089
3089
|
/* @__PURE__ */ t("span", { className: P.suggestionNameBold, children: Ze }),
|
|
3090
|
-
|
|
3090
|
+
Ye
|
|
3091
3091
|
] });
|
|
3092
|
-
},
|
|
3092
|
+
}, Y = 2, b = Y + S.cities.length, H = b + S.regions.length, K = H + S.countries.length, we = f.length > 0, z = e.length >= 2 && !we && !p, D = [
|
|
3093
3093
|
P.container,
|
|
3094
3094
|
o === "expanded" ? P.containerExpanded : P.containerDropdown,
|
|
3095
3095
|
d
|
|
@@ -3141,7 +3141,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3141
3141
|
{
|
|
3142
3142
|
type: "button",
|
|
3143
3143
|
className: `${P.suggestion} ${w === 0 ? P.suggestionSelected : ""}`,
|
|
3144
|
-
onClick: () =>
|
|
3144
|
+
onClick: () => k({ type: "anywhere", name: u("label.anywhere") }),
|
|
3145
3145
|
onMouseEnter: () => _(0),
|
|
3146
3146
|
children: [
|
|
3147
3147
|
/* @__PURE__ */ t("span", { className: P.suggestionIcon, children: te("anywhere") }),
|
|
@@ -3166,13 +3166,13 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3166
3166
|
S.cities.length > 0 && /* @__PURE__ */ s("div", { className: P.section, children: [
|
|
3167
3167
|
/* @__PURE__ */ t("div", { className: P.sectionHeader, children: u("dropdown.cities") }),
|
|
3168
3168
|
/* @__PURE__ */ t("div", { children: S.cities.map((g, L) => {
|
|
3169
|
-
const X =
|
|
3169
|
+
const X = Y + L;
|
|
3170
3170
|
return /* @__PURE__ */ s(
|
|
3171
3171
|
"button",
|
|
3172
3172
|
{
|
|
3173
3173
|
type: "button",
|
|
3174
3174
|
className: `${P.suggestion} ${X === w ? P.suggestionSelected : ""}`,
|
|
3175
|
-
onClick: () =>
|
|
3175
|
+
onClick: () => k(g),
|
|
3176
3176
|
onMouseEnter: () => _(X),
|
|
3177
3177
|
children: [
|
|
3178
3178
|
/* @__PURE__ */ t("span", { className: P.suggestionIcon, children: te("city") }),
|
|
@@ -3195,7 +3195,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3195
3195
|
{
|
|
3196
3196
|
type: "button",
|
|
3197
3197
|
className: `${P.suggestion} ${X === w ? P.suggestionSelected : ""}`,
|
|
3198
|
-
onClick: () =>
|
|
3198
|
+
onClick: () => k(g),
|
|
3199
3199
|
onMouseEnter: () => _(X),
|
|
3200
3200
|
children: [
|
|
3201
3201
|
/* @__PURE__ */ t("span", { className: P.suggestionIcon, children: te("region") }),
|
|
@@ -3215,7 +3215,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3215
3215
|
{
|
|
3216
3216
|
type: "button",
|
|
3217
3217
|
className: `${P.suggestion} ${X === w ? P.suggestionSelected : ""}`,
|
|
3218
|
-
onClick: () =>
|
|
3218
|
+
onClick: () => k(g),
|
|
3219
3219
|
onMouseEnter: () => _(X),
|
|
3220
3220
|
children: [
|
|
3221
3221
|
/* @__PURE__ */ t("span", { className: P.suggestionIcon, children: te("country") }),
|
|
@@ -3235,7 +3235,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3235
3235
|
{
|
|
3236
3236
|
type: "button",
|
|
3237
3237
|
className: `${P.suggestion} ${X === w ? P.suggestionSelected : ""}`,
|
|
3238
|
-
onClick: () =>
|
|
3238
|
+
onClick: () => k(g),
|
|
3239
3239
|
onMouseEnter: () => _(X),
|
|
3240
3240
|
children: [
|
|
3241
3241
|
/* @__PURE__ */ t("span", { className: P.suggestionIcon, children: te("hotel") }),
|
|
@@ -3255,11 +3255,11 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3255
3255
|
z && /* @__PURE__ */ t("div", { className: P.emptyState, children: u("dropdown.no-results") })
|
|
3256
3256
|
] })
|
|
3257
3257
|
] });
|
|
3258
|
-
}, yl = "
|
|
3258
|
+
}, yl = "_overlay_uutdv_19", Nl = "_modal_uutdv_34", kl = "_header_uutdv_49", xl = "_closeButton_uutdv_57", Ml = "_content_uutdv_86", Ll = "_whereSection_uutdv_102", $l = "_sectionTitle_uutdv_118", Sl = "_collapsibleSection_uutdv_297", Hl = "_expandedContent_uutdv_320", Dl = "_collapsibleLabel_uutdv_326", Pl = "_collapsibleValue_uutdv_338", Bl = "_footer_uutdv_356", Il = "_searchButton_uutdv_366", Al = "_whenSection_uutdv_416", Wl = "_whoGuestSection_uutdv_434", re = {
|
|
3259
3259
|
overlay: yl,
|
|
3260
3260
|
modal: Nl,
|
|
3261
|
-
header:
|
|
3262
|
-
closeButton:
|
|
3261
|
+
header: kl,
|
|
3262
|
+
closeButton: xl,
|
|
3263
3263
|
content: Ml,
|
|
3264
3264
|
whereSection: Ll,
|
|
3265
3265
|
sectionTitle: $l,
|
|
@@ -3284,24 +3284,24 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3284
3284
|
getGuestsDisplay: u,
|
|
3285
3285
|
showHeader: h = !0
|
|
3286
3286
|
}) => {
|
|
3287
|
-
const { t: m } = me(), [f, v] = $(n), [w, _] = $(a), [p, y] = $(i), [N, M] = $(o), [E, R] = $(d), [B, O] = $(void 0), [W, T] = $([]), [C, S] = $(""), [
|
|
3287
|
+
const { t: m } = me(), [f, v] = $(n), [w, _] = $(a), [p, y] = $(i), [N, M] = $(o), [E, R] = $(d), [B, O] = $(void 0), [W, T] = $([]), [C, S] = $(""), [x, I] = $([]), [A, j] = $("where");
|
|
3288
3288
|
le(() => {
|
|
3289
3289
|
_(a), v(n), R(d), M(o);
|
|
3290
3290
|
}, [a, n, d, o]);
|
|
3291
|
-
const
|
|
3292
|
-
const
|
|
3291
|
+
const k = () => {
|
|
3292
|
+
const Y = [], b = Array.isArray(w.childrenAges) ? w.childrenAges : [];
|
|
3293
3293
|
for (let H = 0; H < w.children; H++) {
|
|
3294
3294
|
const K = b[H];
|
|
3295
|
-
K == null &&
|
|
3295
|
+
K == null && Y.push({
|
|
3296
3296
|
index: H,
|
|
3297
3297
|
message: m("form.age-error")
|
|
3298
3298
|
});
|
|
3299
3299
|
}
|
|
3300
|
-
return
|
|
3300
|
+
return Y;
|
|
3301
3301
|
}, Z = () => {
|
|
3302
|
-
const
|
|
3303
|
-
if (
|
|
3304
|
-
I(
|
|
3302
|
+
const Y = k();
|
|
3303
|
+
if (Y.length > 0) {
|
|
3304
|
+
I(Y), j("who");
|
|
3305
3305
|
return;
|
|
3306
3306
|
}
|
|
3307
3307
|
e({
|
|
@@ -3314,15 +3314,15 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3314
3314
|
regionsFilter: W,
|
|
3315
3315
|
destinationMode: C
|
|
3316
3316
|
}), r();
|
|
3317
|
-
}, ne = (
|
|
3318
|
-
v(
|
|
3319
|
-
}, ae = (
|
|
3320
|
-
_(
|
|
3321
|
-
}, te = (
|
|
3322
|
-
y(
|
|
3323
|
-
}, G = (
|
|
3324
|
-
I((b) => b.filter((H) => H.index !==
|
|
3325
|
-
}, J = (
|
|
3317
|
+
}, ne = (Y, b, H, K) => {
|
|
3318
|
+
v(Y), O(b), T(H ? [`region_${H}`] : []), l == null || l(Y), j("when"), S(K || "");
|
|
3319
|
+
}, ae = (Y) => {
|
|
3320
|
+
_(Y), Y.children !== w.children && I([]);
|
|
3321
|
+
}, te = (Y) => {
|
|
3322
|
+
y(Y);
|
|
3323
|
+
}, G = (Y) => {
|
|
3324
|
+
I((b) => b.filter((H) => H.index !== Y));
|
|
3325
|
+
}, J = (Y) => new Date(Y).toLocaleDateString("en-GB", {
|
|
3326
3326
|
day: "2-digit",
|
|
3327
3327
|
month: "short"
|
|
3328
3328
|
}), de = () => N != null && N.start && (N != null && N.end) ? `${J(N.start)} - ${J(N.end)}` : E && E.length > 0 ? E.length === 1 ? E[0] : `${E.length} ${m("label.months")}` : m("label.anytime");
|
|
@@ -3381,10 +3381,10 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3381
3381
|
{
|
|
3382
3382
|
initialDateRange: N || { start: null, end: null },
|
|
3383
3383
|
initialMonthFilter: E,
|
|
3384
|
-
onChange: (
|
|
3385
|
-
M(
|
|
3384
|
+
onChange: (Y) => {
|
|
3385
|
+
M(Y), Y && Y.start !== null && Y.end !== null && j("who");
|
|
3386
3386
|
},
|
|
3387
|
-
onMonthFilterChange: (
|
|
3387
|
+
onMonthFilterChange: (Y) => R(Y),
|
|
3388
3388
|
variant: "expanded",
|
|
3389
3389
|
showApplyButton: !1
|
|
3390
3390
|
}
|
|
@@ -3411,7 +3411,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3411
3411
|
petFilter: p,
|
|
3412
3412
|
onPetChange: te,
|
|
3413
3413
|
showPetToggle: !0,
|
|
3414
|
-
childAgeErrors:
|
|
3414
|
+
childAgeErrors: x,
|
|
3415
3415
|
onErrorClear: G
|
|
3416
3416
|
}
|
|
3417
3417
|
)
|
|
@@ -3446,7 +3446,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3446
3446
|
getGuestsDisplay: h,
|
|
3447
3447
|
showHeader: !0
|
|
3448
3448
|
}
|
|
3449
|
-
) }) : null, Vl = "_filterRow_17z8r_8", El = "_filterRowDisabled_17z8r_22", zl = "_checkboxLabel_17z8r_46", Rl = "_checkboxButton_17z8r_53", jl = "_checkbox_17z8r_46", Fl = "_checkboxBox_17z8r_74", Ol = "_checkboxBoxDisabled_17z8r_96", Zl = "_checkIcon_17z8r_106",
|
|
3449
|
+
) }) : null, Vl = "_filterRow_17z8r_8", El = "_filterRowDisabled_17z8r_22", zl = "_checkboxLabel_17z8r_46", Rl = "_checkboxButton_17z8r_53", jl = "_checkbox_17z8r_46", Fl = "_checkboxBox_17z8r_74", Ol = "_checkboxBoxDisabled_17z8r_96", Zl = "_checkIcon_17z8r_106", Yl = "_filterLabel_17z8r_116", ql = "_filterLabelDisabled_17z8r_125", Gl = "_filterCount_17z8r_129", Jl = "_filterCountDisabled_17z8r_138", Ne = {
|
|
3450
3450
|
filterRow: Vl,
|
|
3451
3451
|
filterRowDisabled: El,
|
|
3452
3452
|
checkboxLabel: zl,
|
|
@@ -3455,8 +3455,8 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3455
3455
|
checkboxBox: Fl,
|
|
3456
3456
|
checkboxBoxDisabled: Ol,
|
|
3457
3457
|
checkIcon: Zl,
|
|
3458
|
-
filterLabel:
|
|
3459
|
-
filterLabelDisabled:
|
|
3458
|
+
filterLabel: Yl,
|
|
3459
|
+
filterLabelDisabled: ql,
|
|
3460
3460
|
filterCount: Gl,
|
|
3461
3461
|
filterCountDisabled: Jl
|
|
3462
3462
|
}, Ke = ({
|
|
@@ -3655,7 +3655,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3655
3655
|
onDragEnd: l,
|
|
3656
3656
|
debounceDelay: u = 500
|
|
3657
3657
|
}) => {
|
|
3658
|
-
const { t: h, currency: m } = me(), f = d ?? m, v = he(null), [w, _] = $(null), [p, y] = $(!1), N = he(n), M = he(null), [E, R] = $(""), [B, O] = $(""), [W, T] = $(!1), [C, S] = $(!1),
|
|
3658
|
+
const { t: h, currency: m } = me(), f = d ?? m, v = he(null), [w, _] = $(null), [p, y] = $(!1), N = he(n), M = he(null), [E, R] = $(""), [B, O] = $(""), [W, T] = $(!1), [C, S] = $(!1), x = r - e, I = x > 0 ? (n.min - e) / x * 100 : 0, A = x > 0 ? (n.max - e) / x * 100 : 100, j = Math.max(...o, 1), k = Ue((z) => {
|
|
3659
3659
|
const D = z / o.length * 100, g = (z + 1) / o.length * 100;
|
|
3660
3660
|
return D < A && g > I;
|
|
3661
3661
|
}, [o.length, I, A]), Z = 12, ne = Ue((z) => {
|
|
@@ -3664,18 +3664,18 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3664
3664
|
}, u));
|
|
3665
3665
|
}, [i, u]), ae = Ue((z) => {
|
|
3666
3666
|
if (!v.current || !w) return;
|
|
3667
|
-
const D = v.current.getBoundingClientRect(), g = D.width - Z * 2, L = D.left + Z, X = Math.max(0, Math.min(100, (z - L) / g * 100)), fe = Math.round(e + X / 100 *
|
|
3667
|
+
const D = v.current.getBoundingClientRect(), g = D.width - Z * 2, L = D.left + Z, X = Math.max(0, Math.min(100, (z - L) / g * 100)), fe = Math.round(e + X / 100 * x);
|
|
3668
3668
|
let ie = n.min, Xe = n.max;
|
|
3669
3669
|
if (w === "min") {
|
|
3670
|
-
const
|
|
3671
|
-
ie = Math.max(e,
|
|
3670
|
+
const Ye = Math.min(fe, n.max - 1);
|
|
3671
|
+
ie = Math.max(e, Ye);
|
|
3672
3672
|
} else {
|
|
3673
|
-
const
|
|
3674
|
-
Xe = Math.min(r,
|
|
3673
|
+
const Ye = Math.max(fe, n.min + 1);
|
|
3674
|
+
Xe = Math.min(r, Ye);
|
|
3675
3675
|
}
|
|
3676
3676
|
const Ze = { min: ie, max: Xe };
|
|
3677
3677
|
a(Ze), N.current = Ze, p || ne(Ze);
|
|
3678
|
-
}, [w, e, r,
|
|
3678
|
+
}, [w, e, r, x, n, a, p, ne]), te = (z) => (D) => {
|
|
3679
3679
|
D.preventDefault(), _(z), y(!0), c == null || c();
|
|
3680
3680
|
}, G = (z) => (D) => {
|
|
3681
3681
|
D.preventDefault(), _(z), y(!0), c == null || c();
|
|
@@ -3695,7 +3695,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3695
3695
|
}, [w, ae, J]);
|
|
3696
3696
|
const de = () => {
|
|
3697
3697
|
T(!0), R(n.min.toString());
|
|
3698
|
-
},
|
|
3698
|
+
}, Y = () => {
|
|
3699
3699
|
S(!0), O(n.max.toString());
|
|
3700
3700
|
}, b = (z) => {
|
|
3701
3701
|
const D = z.target.value.replace(/[^0-9]/g, "");
|
|
@@ -3744,14 +3744,14 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3744
3744
|
className: ue.priceInput,
|
|
3745
3745
|
value: C ? B : `${f} ${n.max}`,
|
|
3746
3746
|
onChange: H,
|
|
3747
|
-
onFocus:
|
|
3747
|
+
onFocus: Y,
|
|
3748
3748
|
onBlur: we,
|
|
3749
3749
|
"aria-label": h("filter.max-price", "Maximum price")
|
|
3750
3750
|
}
|
|
3751
3751
|
) })
|
|
3752
3752
|
] }),
|
|
3753
3753
|
/* @__PURE__ */ t("div", { className: ue.histogram, children: o.map((z, D) => {
|
|
3754
|
-
const g = z / j * 100, L =
|
|
3754
|
+
const g = z / j * 100, L = k(D);
|
|
3755
3755
|
return /* @__PURE__ */ t(
|
|
3756
3756
|
"div",
|
|
3757
3757
|
{
|
|
@@ -3805,12 +3805,12 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3805
3805
|
)
|
|
3806
3806
|
] })
|
|
3807
3807
|
] });
|
|
3808
|
-
}, Cc = "_filterList_1qs1m_5", yc = "_starsContainer_1qs1m_10", Nc = "_starIcon_1qs1m_16",
|
|
3808
|
+
}, Cc = "_filterList_1qs1m_5", yc = "_starsContainer_1qs1m_10", Nc = "_starIcon_1qs1m_16", kc = "_footer_1qs1m_22", xc = "_footerText_1qs1m_28", qe = {
|
|
3809
3809
|
filterList: Cc,
|
|
3810
3810
|
starsContainer: yc,
|
|
3811
3811
|
starIcon: Nc,
|
|
3812
|
-
footer:
|
|
3813
|
-
footerText:
|
|
3812
|
+
footer: kc,
|
|
3813
|
+
footerText: xc
|
|
3814
3814
|
}, Mc = [
|
|
3815
3815
|
{ value: "5", stars: 5, label: null },
|
|
3816
3816
|
{ value: "4", stars: 4, label: null },
|
|
@@ -3828,13 +3828,13 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3828
3828
|
e.includes(c) ? n(e.filter((l) => l !== c)) : n([...e, c]);
|
|
3829
3829
|
}, d = (c) => c.stars > 0 ? null : c.value === "swiss_lodge" ? i("filter.swiss-lodge", "Swiss Lodge") : c.value === "not_classified" ? i("filter.no-category", "No category") : c.label;
|
|
3830
3830
|
return /* @__PURE__ */ s("div", { className: a, children: [
|
|
3831
|
-
/* @__PURE__ */ t("div", { className:
|
|
3831
|
+
/* @__PURE__ */ t("div", { className: qe.filterList, children: Mc.map((c) => {
|
|
3832
3832
|
const l = r[c.value], u = l === 0 && !e.includes(c.value);
|
|
3833
3833
|
return /* @__PURE__ */ t(
|
|
3834
3834
|
Ke,
|
|
3835
3835
|
{
|
|
3836
3836
|
id: `category-${c.value}`,
|
|
3837
|
-
label: c.stars > 0 ? /* @__PURE__ */ t("div", { className:
|
|
3837
|
+
label: c.stars > 0 ? /* @__PURE__ */ t("div", { className: qe.starsContainer, children: Array.from({ length: c.stars }).map((h, m) => /* @__PURE__ */ t("svg", { className: qe.starIcon, viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ t("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" }) }, m)) }) : d(c),
|
|
3838
3838
|
count: l,
|
|
3839
3839
|
checked: e.includes(c.value),
|
|
3840
3840
|
disabled: u,
|
|
@@ -3844,7 +3844,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3844
3844
|
c.value
|
|
3845
3845
|
);
|
|
3846
3846
|
}) }),
|
|
3847
|
-
/* @__PURE__ */ t("div", { className:
|
|
3847
|
+
/* @__PURE__ */ t("div", { className: qe.footer, children: /* @__PURE__ */ t("span", { className: qe.footerText, children: i("filter.hotellerie-suisse", "Classification HotellerieSuisse") }) })
|
|
3848
3848
|
] });
|
|
3849
3849
|
}, Lc = "_filterList_1to6r_5", $c = "_filterRange_1to6r_10", Sc = "_footer_1to6r_15", Hc = "_footerText_1to6r_21", Qe = {
|
|
3850
3850
|
filterList: Lc,
|
|
@@ -3903,7 +3903,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3903
3903
|
showMoreBtn: Bc,
|
|
3904
3904
|
arrowIcon: Ic,
|
|
3905
3905
|
arrowUp: Ac
|
|
3906
|
-
},
|
|
3906
|
+
}, k5 = ({
|
|
3907
3907
|
selected: e,
|
|
3908
3908
|
themes: r = [],
|
|
3909
3909
|
onChange: n,
|
|
@@ -3942,7 +3942,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3942
3942
|
}
|
|
3943
3943
|
)
|
|
3944
3944
|
] });
|
|
3945
|
-
}, Wc = "_filterList_k73l5_10", Tc = "_regionItem_k73l5_16", Vc = "_countryRow_k73l5_22", Ec = "_countryRowExpanded_k73l5_37", zc = "_countryInfo_k73l5_46", Rc = "_countryName_k73l5_53", jc = "_countBadge_k73l5_61", Fc = "_chevron_k73l5_79", Oc = "_chevronExpanded_k73l5_87", Zc = "_subRegions_k73l5_92",
|
|
3945
|
+
}, Wc = "_filterList_k73l5_10", Tc = "_regionItem_k73l5_16", Vc = "_countryRow_k73l5_22", Ec = "_countryRowExpanded_k73l5_37", zc = "_countryInfo_k73l5_46", Rc = "_countryName_k73l5_53", jc = "_countBadge_k73l5_61", Fc = "_chevron_k73l5_79", Oc = "_chevronExpanded_k73l5_87", Zc = "_subRegions_k73l5_92", Yc = "_mobileSelectAllActions_k73l5_104", qc = "_selectAllBtn_k73l5_117", Gc = "_resetAllBtn_k73l5_118", Ce = {
|
|
3946
3946
|
filterList: Wc,
|
|
3947
3947
|
regionItem: Tc,
|
|
3948
3948
|
countryRow: Vc,
|
|
@@ -3953,10 +3953,10 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3953
3953
|
chevron: Fc,
|
|
3954
3954
|
chevronExpanded: Oc,
|
|
3955
3955
|
subRegions: Zc,
|
|
3956
|
-
mobileSelectAllActions:
|
|
3957
|
-
selectAllBtn:
|
|
3956
|
+
mobileSelectAllActions: Yc,
|
|
3957
|
+
selectAllBtn: qc,
|
|
3958
3958
|
resetAllBtn: Gc
|
|
3959
|
-
},
|
|
3959
|
+
}, x5 = ({
|
|
3960
3960
|
regions: e,
|
|
3961
3961
|
selected: r,
|
|
3962
3962
|
onChange: n,
|
|
@@ -4261,7 +4261,7 @@ function Re(e, r) {
|
|
|
4261
4261
|
function nt(e) {
|
|
4262
4262
|
return Re(e, { weekStartsOn: 1 });
|
|
4263
4263
|
}
|
|
4264
|
-
function
|
|
4264
|
+
function Yt(e) {
|
|
4265
4265
|
const r = Le(e), n = r.getFullYear(), a = ze(e, 0);
|
|
4266
4266
|
a.setFullYear(n + 1, 0, 4), a.setHours(0, 0, 0, 0);
|
|
4267
4267
|
const i = nt(a), o = ze(e, 0);
|
|
@@ -4273,7 +4273,7 @@ function Nt(e) {
|
|
|
4273
4273
|
const r = Le(e);
|
|
4274
4274
|
return r.setHours(0, 0, 0, 0), r;
|
|
4275
4275
|
}
|
|
4276
|
-
function
|
|
4276
|
+
function kt(e) {
|
|
4277
4277
|
const r = Le(e), n = new Date(
|
|
4278
4278
|
Date.UTC(
|
|
4279
4279
|
r.getFullYear(),
|
|
@@ -4288,11 +4288,11 @@ function xt(e) {
|
|
|
4288
4288
|
return n.setUTCFullYear(r.getFullYear()), +e - +n;
|
|
4289
4289
|
}
|
|
4290
4290
|
function c1(e, r) {
|
|
4291
|
-
const n = Nt(e), a = Nt(r), i = +n -
|
|
4291
|
+
const n = Nt(e), a = Nt(r), i = +n - kt(n), o = +a - kt(a);
|
|
4292
4292
|
return Math.round((i - o) / s1);
|
|
4293
4293
|
}
|
|
4294
4294
|
function d1(e) {
|
|
4295
|
-
const r =
|
|
4295
|
+
const r = Yt(e), n = ze(e, 0);
|
|
4296
4296
|
return n.setFullYear(r, 0, 4), n.setHours(0, 0, 0, 0), nt(n);
|
|
4297
4297
|
}
|
|
4298
4298
|
function u1(e) {
|
|
@@ -4375,7 +4375,7 @@ const f1 = {
|
|
|
4375
4375
|
const i = f1[e];
|
|
4376
4376
|
return typeof i == "string" ? a = i : r === 1 ? a = i.one : a = i.other.replace("{{count}}", r.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + a : a + " ago" : a;
|
|
4377
4377
|
};
|
|
4378
|
-
function
|
|
4378
|
+
function ke(e) {
|
|
4379
4379
|
return (r = {}) => {
|
|
4380
4380
|
const n = r.width ? String(r.width) : e.defaultWidth;
|
|
4381
4381
|
return e.formats[n] || e.formats[e.defaultWidth];
|
|
@@ -4397,15 +4397,15 @@ const p1 = {
|
|
|
4397
4397
|
medium: "{{date}}, {{time}}",
|
|
4398
4398
|
short: "{{date}}, {{time}}"
|
|
4399
4399
|
}, v1 = {
|
|
4400
|
-
date:
|
|
4400
|
+
date: ke({
|
|
4401
4401
|
formats: p1,
|
|
4402
4402
|
defaultWidth: "full"
|
|
4403
4403
|
}),
|
|
4404
|
-
time:
|
|
4404
|
+
time: ke({
|
|
4405
4405
|
formats: w1,
|
|
4406
4406
|
defaultWidth: "full"
|
|
4407
4407
|
}),
|
|
4408
|
-
dateTime:
|
|
4408
|
+
dateTime: ke({
|
|
4409
4409
|
formats: _1,
|
|
4410
4410
|
defaultWidth: "full"
|
|
4411
4411
|
})
|
|
@@ -4440,7 +4440,7 @@ const y1 = {
|
|
|
4440
4440
|
narrow: ["1", "2", "3", "4"],
|
|
4441
4441
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
4442
4442
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
4443
|
-
},
|
|
4443
|
+
}, k1 = {
|
|
4444
4444
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
4445
4445
|
abbreviated: [
|
|
4446
4446
|
"Jan",
|
|
@@ -4470,7 +4470,7 @@ const y1 = {
|
|
|
4470
4470
|
"November",
|
|
4471
4471
|
"December"
|
|
4472
4472
|
]
|
|
4473
|
-
},
|
|
4473
|
+
}, x1 = {
|
|
4474
4474
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
4475
4475
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
4476
4476
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
@@ -4569,11 +4569,11 @@ const y1 = {
|
|
|
4569
4569
|
argumentCallback: (e) => e - 1
|
|
4570
4570
|
}),
|
|
4571
4571
|
month: oe({
|
|
4572
|
-
values:
|
|
4572
|
+
values: k1,
|
|
4573
4573
|
defaultWidth: "wide"
|
|
4574
4574
|
}),
|
|
4575
4575
|
day: oe({
|
|
4576
|
-
values:
|
|
4576
|
+
values: x1,
|
|
4577
4577
|
defaultWidth: "wide"
|
|
4578
4578
|
}),
|
|
4579
4579
|
dayPeriod: oe({
|
|
@@ -4727,7 +4727,7 @@ const P1 = /^(\d+)(th|st|nd|rd)?/i, B1 = /\d+/i, I1 = {
|
|
|
4727
4727
|
parsePatterns: F1,
|
|
4728
4728
|
defaultParseWidth: "any"
|
|
4729
4729
|
})
|
|
4730
|
-
},
|
|
4730
|
+
}, qt = {
|
|
4731
4731
|
code: "en-US",
|
|
4732
4732
|
formatDistance: g1,
|
|
4733
4733
|
formatLong: v1,
|
|
@@ -4743,7 +4743,7 @@ function Z1(e) {
|
|
|
4743
4743
|
const r = Le(e);
|
|
4744
4744
|
return c1(r, m1(r)) + 1;
|
|
4745
4745
|
}
|
|
4746
|
-
function
|
|
4746
|
+
function Y1(e) {
|
|
4747
4747
|
const r = Le(e), n = +nt(r) - +d1(r);
|
|
4748
4748
|
return Math.round(n / Ft) + 1;
|
|
4749
4749
|
}
|
|
@@ -4756,13 +4756,13 @@ function Gt(e, r) {
|
|
|
4756
4756
|
const u = Re(l, r);
|
|
4757
4757
|
return n.getTime() >= c.getTime() ? a + 1 : n.getTime() >= u.getTime() ? a : a - 1;
|
|
4758
4758
|
}
|
|
4759
|
-
function
|
|
4759
|
+
function q1(e, r) {
|
|
4760
4760
|
var c, l, u, h;
|
|
4761
4761
|
const n = at(), a = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((l = (c = r == null ? void 0 : r.locale) == null ? void 0 : c.options) == null ? void 0 : l.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((h = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, i = Gt(e, r), o = ze(e, 0);
|
|
4762
4762
|
return o.setFullYear(i, 0, a), o.setHours(0, 0, 0, 0), Re(o, r);
|
|
4763
4763
|
}
|
|
4764
4764
|
function G1(e, r) {
|
|
4765
|
-
const n = Le(e), a = +Re(n, r) - +
|
|
4765
|
+
const n = Le(e), a = +Re(n, r) - +q1(n, r);
|
|
4766
4766
|
return Math.round(a / Ft) + 1;
|
|
4767
4767
|
}
|
|
4768
4768
|
function U(e, r) {
|
|
@@ -4830,7 +4830,7 @@ const Ae = {
|
|
|
4830
4830
|
afternoon: "afternoon",
|
|
4831
4831
|
evening: "evening",
|
|
4832
4832
|
night: "night"
|
|
4833
|
-
},
|
|
4833
|
+
}, xt = {
|
|
4834
4834
|
// Era
|
|
4835
4835
|
G: function(e, r, n) {
|
|
4836
4836
|
const a = e.getFullYear() > 0 ? 1 : 0;
|
|
@@ -4868,7 +4868,7 @@ const Ae = {
|
|
|
4868
4868
|
},
|
|
4869
4869
|
// ISO week-numbering year
|
|
4870
4870
|
R: function(e, r) {
|
|
4871
|
-
const n =
|
|
4871
|
+
const n = Yt(e);
|
|
4872
4872
|
return U(n, r.length);
|
|
4873
4873
|
},
|
|
4874
4874
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -5018,7 +5018,7 @@ const Ae = {
|
|
|
5018
5018
|
},
|
|
5019
5019
|
// ISO week of year
|
|
5020
5020
|
I: function(e, r, n) {
|
|
5021
|
-
const a =
|
|
5021
|
+
const a = Y1(e);
|
|
5022
5022
|
return r === "Io" ? n.ordinalNumber(a, { unit: "week" }) : U(a, r.length);
|
|
5023
5023
|
},
|
|
5024
5024
|
// Day of the month
|
|
@@ -5463,7 +5463,7 @@ function rd(e, r, n) {
|
|
|
5463
5463
|
const ad = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, id = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, od = /^'([^]*?)'?$/, sd = /''/g, ld = /[a-zA-Z]/;
|
|
5464
5464
|
function cd(e, r, n) {
|
|
5465
5465
|
var h, m, f, v, w, _, p, y;
|
|
5466
|
-
const a = at(), i = (n == null ? void 0 : n.locale) ?? a.locale ??
|
|
5466
|
+
const a = at(), i = (n == null ? void 0 : n.locale) ?? a.locale ?? qt, o = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((m = (h = n == null ? void 0 : n.locale) == null ? void 0 : h.options) == null ? void 0 : m.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((v = (f = a.locale) == null ? void 0 : f.options) == null ? void 0 : v.firstWeekContainsDate) ?? 1, d = (n == null ? void 0 : n.weekStartsOn) ?? ((_ = (w = n == null ? void 0 : n.locale) == null ? void 0 : w.options) == null ? void 0 : _.weekStartsOn) ?? a.weekStartsOn ?? ((y = (p = a.locale) == null ? void 0 : p.options) == null ? void 0 : y.weekStartsOn) ?? 0, c = Le(e);
|
|
5467
5467
|
if (!h1(c))
|
|
5468
5468
|
throw new RangeError("Invalid time value");
|
|
5469
5469
|
let l = r.match(id).map((N) => {
|
|
@@ -5479,7 +5479,7 @@ function cd(e, r, n) {
|
|
|
5479
5479
|
const M = N[0];
|
|
5480
5480
|
if (M === "'")
|
|
5481
5481
|
return { isToken: !1, value: dd(N) };
|
|
5482
|
-
if (
|
|
5482
|
+
if (xt[M])
|
|
5483
5483
|
return { isToken: !0, value: N };
|
|
5484
5484
|
if (M.match(ld))
|
|
5485
5485
|
throw new RangeError(
|
|
@@ -5497,7 +5497,7 @@ function cd(e, r, n) {
|
|
|
5497
5497
|
if (!N.isToken) return N.value;
|
|
5498
5498
|
const M = N.value;
|
|
5499
5499
|
(!(n != null && n.useAdditionalWeekYearTokens) && td(M) || !(n != null && n.useAdditionalDayOfYearTokens) && ed(M)) && nd(M, r, String(e));
|
|
5500
|
-
const E =
|
|
5500
|
+
const E = xt[M[0]];
|
|
5501
5501
|
return E(c, M, i.localize, u);
|
|
5502
5502
|
}).join("");
|
|
5503
5503
|
}
|
|
@@ -5576,7 +5576,7 @@ function wd(e, r) {
|
|
|
5576
5576
|
if (!n) return /* @__PURE__ */ new Date(NaN);
|
|
5577
5577
|
const a = !!n[4], i = Je(n[1]), o = Je(n[2]) - 1, d = Je(n[3]), c = Je(n[4]), l = Je(n[5]) - 1;
|
|
5578
5578
|
if (a)
|
|
5579
|
-
return
|
|
5579
|
+
return kd(r, c, l) ? bd(r, c, l) : /* @__PURE__ */ new Date(NaN);
|
|
5580
5580
|
{
|
|
5581
5581
|
const u = /* @__PURE__ */ new Date(0);
|
|
5582
5582
|
return !yd(r, o, d) || !Nd(r, i) ? /* @__PURE__ */ new Date(NaN) : (u.setUTCFullYear(r, o, Math.max(i, d)), u);
|
|
@@ -5589,7 +5589,7 @@ function _d(e) {
|
|
|
5589
5589
|
const r = e.match(md);
|
|
5590
5590
|
if (!r) return NaN;
|
|
5591
5591
|
const n = lt(r[1]), a = lt(r[2]), i = lt(r[3]);
|
|
5592
|
-
return
|
|
5592
|
+
return xd(n, a, i) ? n * Zt + a * Ot + i * 1e3 : NaN;
|
|
5593
5593
|
}
|
|
5594
5594
|
function lt(e) {
|
|
5595
5595
|
return e && parseFloat(e.replace(",", ".")) || 0;
|
|
@@ -5617,10 +5617,10 @@ function yd(e, r, n) {
|
|
|
5617
5617
|
function Nd(e, r) {
|
|
5618
5618
|
return r >= 1 && r <= (Kt(e) ? 366 : 365);
|
|
5619
5619
|
}
|
|
5620
|
-
function
|
|
5620
|
+
function kd(e, r, n) {
|
|
5621
5621
|
return r >= 1 && r <= 53 && n >= 0 && n <= 6;
|
|
5622
5622
|
}
|
|
5623
|
-
function
|
|
5623
|
+
function xd(e, r, n) {
|
|
5624
5624
|
return e === 24 ? r === 0 && n === 0 : n >= 0 && n < 60 && r >= 0 && r < 60 && e >= 0 && e < 25;
|
|
5625
5625
|
}
|
|
5626
5626
|
function Md(e, r) {
|
|
@@ -5805,15 +5805,15 @@ const Ht = {
|
|
|
5805
5805
|
medium: "{{date}} {{time}}",
|
|
5806
5806
|
short: "{{date}} {{time}}"
|
|
5807
5807
|
}, Dd = {
|
|
5808
|
-
date:
|
|
5808
|
+
date: ke({
|
|
5809
5809
|
formats: $d,
|
|
5810
5810
|
defaultWidth: "full"
|
|
5811
5811
|
}),
|
|
5812
|
-
time:
|
|
5812
|
+
time: ke({
|
|
5813
5813
|
formats: Sd,
|
|
5814
5814
|
defaultWidth: "full"
|
|
5815
5815
|
}),
|
|
5816
|
-
dateTime:
|
|
5816
|
+
dateTime: ke({
|
|
5817
5817
|
formats: Hd,
|
|
5818
5818
|
defaultWidth: "full"
|
|
5819
5819
|
})
|
|
@@ -5986,11 +5986,11 @@ const Ht = {
|
|
|
5986
5986
|
wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i
|
|
5987
5987
|
}, Zd = {
|
|
5988
5988
|
any: [/^v/i, /^n/i]
|
|
5989
|
-
},
|
|
5989
|
+
}, Yd = {
|
|
5990
5990
|
narrow: /^[1234]/i,
|
|
5991
5991
|
abbreviated: /^q[1234]/i,
|
|
5992
5992
|
wide: /^[1234](\.)? Quartal/i
|
|
5993
|
-
},
|
|
5993
|
+
}, qd = {
|
|
5994
5994
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
5995
5995
|
}, Gd = {
|
|
5996
5996
|
narrow: /^[jfmasond]/i,
|
|
@@ -6062,9 +6062,9 @@ const Ht = {
|
|
|
6062
6062
|
defaultParseWidth: "any"
|
|
6063
6063
|
}),
|
|
6064
6064
|
quarter: se({
|
|
6065
|
-
matchPatterns:
|
|
6065
|
+
matchPatterns: Yd,
|
|
6066
6066
|
defaultMatchWidth: "wide",
|
|
6067
|
-
parsePatterns:
|
|
6067
|
+
parsePatterns: qd,
|
|
6068
6068
|
defaultParseWidth: "any",
|
|
6069
6069
|
valueCallback: (e) => e + 1
|
|
6070
6070
|
}),
|
|
@@ -6179,15 +6179,15 @@ const Ht = {
|
|
|
6179
6179
|
medium: "{{date}}, {{time}}",
|
|
6180
6180
|
short: "{{date}}, {{time}}"
|
|
6181
6181
|
}, o2 = {
|
|
6182
|
-
date:
|
|
6182
|
+
date: ke({
|
|
6183
6183
|
formats: r2,
|
|
6184
6184
|
defaultWidth: "full"
|
|
6185
6185
|
}),
|
|
6186
|
-
time:
|
|
6186
|
+
time: ke({
|
|
6187
6187
|
formats: a2,
|
|
6188
6188
|
defaultWidth: "full"
|
|
6189
6189
|
}),
|
|
6190
|
-
dateTime:
|
|
6190
|
+
dateTime: ke({
|
|
6191
6191
|
formats: i2,
|
|
6192
6192
|
defaultWidth: "full"
|
|
6193
6193
|
})
|
|
@@ -6330,7 +6330,7 @@ const Ht = {
|
|
|
6330
6330
|
narrow: /^[jfmasond]/i,
|
|
6331
6331
|
abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,
|
|
6332
6332
|
wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i
|
|
6333
|
-
},
|
|
6333
|
+
}, k2 = {
|
|
6334
6334
|
narrow: [
|
|
6335
6335
|
/^j/i,
|
|
6336
6336
|
/^f/i,
|
|
@@ -6359,7 +6359,7 @@ const Ht = {
|
|
|
6359
6359
|
/^n/i,
|
|
6360
6360
|
/^d/i
|
|
6361
6361
|
]
|
|
6362
|
-
},
|
|
6362
|
+
}, x2 = {
|
|
6363
6363
|
narrow: /^[lmjvsd]/i,
|
|
6364
6364
|
short: /^(di|lu|ma|me|je|ve|sa)/i,
|
|
6365
6365
|
abbreviated: /^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,
|
|
@@ -6403,11 +6403,11 @@ const Ht = {
|
|
|
6403
6403
|
month: se({
|
|
6404
6404
|
matchPatterns: N2,
|
|
6405
6405
|
defaultMatchWidth: "wide",
|
|
6406
|
-
parsePatterns:
|
|
6406
|
+
parsePatterns: k2,
|
|
6407
6407
|
defaultParseWidth: "any"
|
|
6408
6408
|
}),
|
|
6409
6409
|
day: se({
|
|
6410
|
-
matchPatterns:
|
|
6410
|
+
matchPatterns: x2,
|
|
6411
6411
|
defaultMatchWidth: "wide",
|
|
6412
6412
|
parsePatterns: M2,
|
|
6413
6413
|
defaultParseWidth: "any"
|
|
@@ -6511,15 +6511,15 @@ const Ht = {
|
|
|
6511
6511
|
medium: "{{date}} {{time}}",
|
|
6512
6512
|
short: "{{date}} {{time}}"
|
|
6513
6513
|
}, W2 = {
|
|
6514
|
-
date:
|
|
6514
|
+
date: ke({
|
|
6515
6515
|
formats: B2,
|
|
6516
6516
|
defaultWidth: "full"
|
|
6517
6517
|
}),
|
|
6518
|
-
time:
|
|
6518
|
+
time: ke({
|
|
6519
6519
|
formats: I2,
|
|
6520
6520
|
defaultWidth: "full"
|
|
6521
6521
|
}),
|
|
6522
|
-
dateTime:
|
|
6522
|
+
dateTime: ke({
|
|
6523
6523
|
formats: A2,
|
|
6524
6524
|
defaultWidth: "full"
|
|
6525
6525
|
})
|
|
@@ -6649,7 +6649,7 @@ const E2 = {
|
|
|
6649
6649
|
evening: "sera",
|
|
6650
6650
|
night: "notte"
|
|
6651
6651
|
}
|
|
6652
|
-
},
|
|
6652
|
+
}, Y2 = {
|
|
6653
6653
|
narrow: {
|
|
6654
6654
|
am: "m.",
|
|
6655
6655
|
pm: "p.",
|
|
@@ -6680,11 +6680,11 @@ const E2 = {
|
|
|
6680
6680
|
evening: "di sera",
|
|
6681
6681
|
night: "di notte"
|
|
6682
6682
|
}
|
|
6683
|
-
},
|
|
6683
|
+
}, q2 = (e, r) => {
|
|
6684
6684
|
const n = Number(e);
|
|
6685
6685
|
return String(n);
|
|
6686
6686
|
}, G2 = {
|
|
6687
|
-
ordinalNumber:
|
|
6687
|
+
ordinalNumber: q2,
|
|
6688
6688
|
era: oe({
|
|
6689
6689
|
values: R2,
|
|
6690
6690
|
defaultWidth: "wide"
|
|
@@ -6705,7 +6705,7 @@ const E2 = {
|
|
|
6705
6705
|
dayPeriod: oe({
|
|
6706
6706
|
values: Z2,
|
|
6707
6707
|
defaultWidth: "wide",
|
|
6708
|
-
formattingValues:
|
|
6708
|
+
formattingValues: Y2,
|
|
6709
6709
|
defaultFormattingWidth: "wide"
|
|
6710
6710
|
})
|
|
6711
6711
|
}, J2 = /^(\d+)(º)?/i, K2 = /\d+/i, X2 = {
|
|
@@ -6823,7 +6823,7 @@ const E2 = {
|
|
|
6823
6823
|
weekStartsOn: 1,
|
|
6824
6824
|
firstWeekContainsDate: 4
|
|
6825
6825
|
}
|
|
6826
|
-
}, c5 = { de: Xt, en:
|
|
6826
|
+
}, c5 = { de: Xt, en: qt, fr: H2, it: l5 }, Pt = (e, r = "dd. MMM yyyy", n = "de") => {
|
|
6827
6827
|
const a = typeof e == "string" ? ud(e) : e;
|
|
6828
6828
|
return cd(a, r, { locale: c5[n] || Xt });
|
|
6829
6829
|
}, D5 = (e, r, n = "de") => {
|
|
@@ -6847,11 +6847,11 @@ export {
|
|
|
6847
6847
|
Ga as Divider,
|
|
6848
6848
|
oi as Dropdown,
|
|
6849
6849
|
ho as DualCalendar,
|
|
6850
|
-
|
|
6850
|
+
k5 as ExperienceFilter,
|
|
6851
6851
|
ui as FAQ,
|
|
6852
6852
|
Ke as FilterCheckboxItem,
|
|
6853
6853
|
jt as GuestContent,
|
|
6854
|
-
|
|
6854
|
+
ko as GuestSelector,
|
|
6855
6855
|
n1 as HeartIcon,
|
|
6856
6856
|
_5 as HotelCard,
|
|
6857
6857
|
Zs as HotelCardContent,
|
|
@@ -6869,7 +6869,7 @@ export {
|
|
|
6869
6869
|
Dc as REVIEW_OPTIONS,
|
|
6870
6870
|
Xa as RadioButton,
|
|
6871
6871
|
Vt as Rating,
|
|
6872
|
-
|
|
6872
|
+
x5 as RegionsFilter,
|
|
6873
6873
|
ci as ReviewCard,
|
|
6874
6874
|
N5 as ReviewsFilter,
|
|
6875
6875
|
w5 as SearchControlsBar,
|