if (!window['d21_sdk_initialized']) {window['d21_sdk_initialized'] = true;var d21_uuid='16754f5c-a7e2-481f-82df-de01c2c80f3f';var d21_culture='';var d21_widget_url='https://widgets-default.dirs21.de';var d21_app_version='1.1.5.046';var d21_allowed_languages='pl-PL,ar-SA,de-CH,de-DE,de-AT,en-US,en-GB,es-ES,fr-FR,it-IT,nl-NL,ru-RU,zh-CN,da-DK,sv-SE';var d21_socket_host='http://tocc-socket-pub.default.svc.cluster.local:3003';var d21_tocc_host='https://api-default.tocc.dirs21.de';var d21_cdn_url='https://api-default.tocc.dirs21.de/v1/cdn';var d21_tourdata_url='https://www.dirs21.de/TourData';var d21_ibe_api_host='https://ibe-api-v4-default.dirs21.de';var d21_config=JSON.parse('{"Amenities":[],"AvailCalendar":{"IsActive":true,"IsIBETrigger":true,"WeekCount":2},"Chat":{"IsActive":null},"CustomCode":{"Code":null,"IsActive":false},"DisplayMode":"ArrivalLos","EventList":{"DefaultPageSize":10,"HasCalendar":true,"HasFilter":false,"IsActive":false},"FieldText":{"Version":{"Key":null}},"GoogleAnalytics":{"Code":null,"ForeignType":0,"HasCrossDomainTracking":null,"InvocationType":null,"IsActive":true,"ProviderID":null,"Steps":null,"TrackingGroup":null,"TrackingId":null,"Type":0,"UACode":null},"HourlyTick":null,"IBE":{"AddOnLimit":10,"Affiliates":[],"Broker_Token":"VYVAVW","Channel":"www.jet.ch","Channel_Token":"Y3TqpA","City":{"Content":{"Description":null,"Keywords":[],"Name":null,"Notes":null,"Slogan":null},"Country":{"Capital":null,"Currencies":[],"ISO3166_2":null,"ISO3166_3":null,"LanguageCodes":[],"Name":null,"_id":0},"Directory":null,"GeoCoordinate":{"Altitude":null,"Latitude":null,"Longitude":null,"_id":0},"GroupIDs":[],"PostalCodes":[],"State":{"Country":{"Capital":null,"Currencies":[],"ISO3166_2":null,"ISO3166_3":null,"LanguageCodes":[],"Name":null,"_id":0},"Name":null,"_id":0},"WeatherLink":null,"_id":0},"Commission":0.0,"Content":{"Notes":null},"CreditCard":{"HasCvc":null,"HasTwoFactorAuth":true,"IsActive":false,"IsGenerallyDisabled":false,"IsSelectedByHost":true},"CSSSelectors":[],"Currency":{"HasCustomSet":null,"HasIcons":false,"IsConvertActive":false,"Set":[],"Standard":"1"},"DeutscheBahn":{"Channel":{},"IsActive":null},"Directory":"/jetch/","EarliestArrival":null,"FieldtextGroup":"-1","GroupID":-1,"Guests":{"RequestDataFor":null,"ShowDateOfBirthFor":null},"InputFields":{"Billing":{"IsRequired":null,"IsVisible":null,"IsUnfolded":null},"City":{"IsRequired":null,"IsVisible":null},"Company":{"IsRequired":false,"IsVisible":true},"ContactPersonName":null,"Country":{"IsRequired":false,"IsVisible":true},"DateOfBirthAdults":{"IsRequired":null,"IsVisible":null},"DateOfBirthChildren":{"IsRequired":null,"IsVisible":null},"Fax":{"IsRequired":null,"IsVisible":null},"FirstName":{"IsRequired":true,"IsVisible":true},"GuestDataAdults":{"IsRequired":null,"IsVisible":null},"GuestDataChildren":{"IsRequired":null,"IsVisible":null},"Mail":{"IsRequired":true,"IsVisible":true},"Mobile":{"IsRequired":true,"IsVisible":true},"Name":{"IsRequired":true,"IsVisible":true},"Newsletter":{"IsRequired":null,"IsVisible":null},"PurposeOfTravel":{"IsRequired":null,"IsVisible":null},"Salutation":{"IsRequired":null,"IsVisible":null},"Street":{"IsRequired":false,"IsVisible":true},"Telephone":{"IsRequired":null,"IsVisible":null},"Title":{"IsRequired":null,"IsVisible":null},"VAT":null,"ZIP":{"IsRequired":false,"IsVisible":true}},"Insurance":{"AgencyNumber":"False","Channel":null,"IsActive":false,"ListType":null},"IsActive":true,"Language":{"Default":null,"HasChangeActive":false,"HasCustomSet":null,"Set":[]},"Logo":null,"PartnerCode":null,"PartnerProgrammID":null,"Payment":{"IsActive":null,"Overwrites":{"Guarantee":{"Conditions":{"PaymentMethods":[],"PrePaymentGreaterThen":null},"IsActive":false}},"Sets":[],"Settings":{"HasCardCheck":false,"HasOptionalPayment":false},"Token":{"Provider":null}},"PopUp":{"IsActive":null},"PriceComparison":{"IsActive":null,"Provider":{"Name":null}},"Property_Token":"QnYeYf","Rates":{"OrderBy":null},"Region":{"Name":null,"_id":0},"RoomLimit":5,"RoomList":{"OrderBy":null},"Settings":{"AvailablePeriod":{"Unit":"months","Value":null},"CustomCookieBanner":null,"DomainsAllowed":["*.dirs21.de"],"Features":[],"GoogleMapsLink":null,"Group":{"HasPriceSortingAscending":false,"HasPriceSortingDescending":false,"Occupancy":{"MaxOccupancy":null,"MinOccupancy":null}},"HasAddOnsAccordion":null,"HasAdvancedCookie":true,"HasAffiliate":null,"HasAffiliateMultipleSelection":false,"HasAllGuestsObligatory":null,"HasAllowLoyaltyAffiliatesSelectionMix":false,"HasAlreadyBookedPeriod":false,"HasAlternativeProperties":null,"HasArrivalTimeDropdown":null,"HasBookingConditions":null,"HasCallUsTextIfNoAvailability":null,"HasChargeableButton":null,"HasChildSelectDisabled":null,"HasCitySelection":false,"HasCustomConfirmationField":null,"HasDataPrivacyRegulation":null,"HasGalleryInGrid":null,"HasGuaranteeFollowUp":null,"HasGuestNotesField":null,"HasGuestQuestions":null,"HasGuestQuestionsOpened":null,"HasHotelAddressFieldActive":false,"HasIBEAsRoomList":null,"HasImageHint":null,"HasLeadSourceField":null,"HasMapsLink":null,"HasPaymentPreview":null,"HasPriceShownPerNight":null,"HasPromotionCodeInConfirmVisible":null,"HasPromotionCodeVisible":false,"HasRateDescriptionVisible":null,"HasRatesOnlyInRoomGrid":null,"HasRecaptchaField":null,"HasRoomGroups":null,"HasSpecialClassification":false,"HasStickyHeader":null,"HotelierIBE":{"HasCustomConfirmationField":null,"HasLeadSourceField":null,"IgnoreCreditCard":null,"IsActive":null,"IsFullAvailabilityVisible":null},"IsABTestingActive":null,"IsDuplicateNameCheckActive":null,"IsFullAvailabilityVisible":null,"IsPaymentDisabledForPrepayment":false,"IsProductLocationFilterEnabled":null,"IsQuickbookCalendar":null,"Notifications":{"HasNoGuestNotification":false,"HasNoHostNotification":false},"SeperatorPrices":"","ShouldAllowLowerPricesWithChildren":null,"ShouldPreventCookieOverlay":null,"UseReworkedCalendarValidation":null},"Terms":null},"IsActive":true,"IsGroupSDK":false,"LoyaltyProgram":{"Channel":"","ConfirmationUrl":null,"HasAmazonLogin":false,"HasFacebookLogin":false,"HasGoogleLogin":false,"HasLoginByNumber":false,"HasRegistration":false,"IsActive":false},"MetaSearchers":["Trivago","GoogleHotelFinder"],"Overlay":{"Delay":0,"Description":"","HasPromotion":false,"IsActive":false},"PackageList":{"DefaultPageSize":10,"HasAmenities":true,"HasCalendar":true,"HasCDNImages":null,"HasCityName":true,"HasFilter":false,"HasNoOccupancyPreselect":null,"HasNoPackageCount":null,"HasSortByPosition":false,"Inquiry":{"IsActive":false,"URL":null},"IsActive":true},"PackageSlider":{"Inquiry":{"IsActive":null,"URL":null},"IsActive":null},"Preselect":{"AdultCount":1,"DayOffset":0,"DefaultLOS":1,"DefaultOccupancy":"a,a","LOS":1,"MaxAge":null,"MaxLOS":30,"MinLOS":1,"MinNumberOfAdults":1},"PromotionMessage":{"IsActive":false},"QuickBook":{"GeoSearchRadius":0,"HasCities":false,"HasCityFilter":null,"HasHorizontalOrientation":false,"HasMinPriceVisible":true,"HasNoHeadline":null,"HasPackageLink":false,"HasPriceText":false,"HasPromotionCodeVisible":null,"HasPropertyTypeSearch":false,"HasPurposeOfTravelField":false,"HasRadiusSearch":false,"HasRebookLink":false,"HasSearchByPropertyType":false,"IsActive":true,"IsExtended":true,"IsHidden":false,"MaxTick":null,"PriceComparison":{"IsActive":false,"MaxShownPrices":3,"Type":""},"StartDate":{"Date":"0001-01-01T00:00:00Z","HasStartDate":null}},"ReservationIncentive":{"HasBestRateInformation":null,"HasLatestReservationCount":null,"HasLatestRoomReservationCount":null,"IsActive":false,"IsLastBookingTimeVisible":null,"Timespan":"00:00:00"},"RoomList":{"DefaultPageSize":10,"HasAmenities":true,"HasCalendar":true,"HasCDNImages":null,"HasCityFilter":null,"HasFilter":false,"HasMinMaxPersons":true,"HasSortByPosition":false,"Inquiry":{"IsActive":false,"URL":null},"IsActive":true,"IsMinPriceHidden":null},"Settings":{"HasCartData":null,"HasChildrenSelectable":true,"HasOpenInNewTab":false,"IsCurrencyConvertToBrowserLanguage":null,"MaxNumberOfPackages":null,"MaxNumberOfRates":null,"Notifications":[{"IsActive":false,"Type":"SMS"},{"IsActive":true,"Type":"Email"},{"IsActive":false,"Type":"Fax"}],"ShouldAllowMultipleInit":null,"ShouldInitAfterDocumentReady":null,"ShouldPreventGA":null,"UseCustomRequireJS":null},"ThirdPartyLibraries":{"HasJQuery":false,"ShouldPreventGoogleFonts":false,"HasHQuery":null},"Type":null,"VenueList":{"DefaultPageSize":null,"HasFilter":null,"IsActive":null},"Version":"1.1","VoucherShop":null,"_id":23325,"ColorSchema":{"Primary":"#000","Secondary":"#000","Tertiary":"#000"},"PriceComparison":{"IsActive":false,"HasBookingLinkDisabled":false,"HasDateSelect":true,"MaxShownPrices":5},"WidgetUrl":"https://widgets-default.dirs21.de"}'.replace(/[\t\n\r\f\v]/gmi, ''));var d21_ticketing_host='https://ticketing.dirs21.de';var d21_voucher_host='https://shop.dirs21.de/';var d21_ticketconfig=JSON.parse('null'.replace(/[\t\n\r\f\v]/gmi, ''));(function () { let start = new Date(), isReady = false, isDebug = (window && window.location && window.location.href ? window.location.href.toLowerCase().indexOf("d21_debug=true") !== -1 : false); var fn = (source) => { if (isReady) return; isReady = true; // let appendCoreScript = () => { let script = document.createElement("script"); script.id = "d21-core-js"; script.src = d21_widget_url + "/Static/Scripts/1.1/d21.core.sdk.js?v=" + d21_app_version; script.async = true; script.defer = true; document.body.appendChild(script); if (isDebug) { let end = new Date(); console.log("init by " + source, (end - start) + "ms"); } }; // if (document.body) { appendCoreScript(); } else { let appendInterval = window.setInterval(() => { if (document.body) { // window.clearInterval(appendInterval); // appendCoreScript(); } }, 10); } }; if (d21_config.Settings.ShouldInitAfterDocumentReady) { if (document.readyState === "complete") { fn("isready"); } else { // document.addEventListener("readystatechange", () => { if (document.readyState == "complete") { fn("readystatechange"); } }); } } else { fn("default"); } })(); }