if (!window['d21_sdk_initialized']) {window['d21_sdk_initialized'] = true;var d21_uuid='c324fa68-3e81-49d2-843a-0999ab3f5b04';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":false,"WeekCount":0},"Chat":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":true,"InvocationType":null,"IsActive":true,"ProviderID":null,"Steps":null,"TrackingGroup":null,"TrackingId":null,"Type":0,"UACode":null},"HourlyTick":null,"IBE":{"AddOnLimit":10,"Affiliates":null,"Broker_Token":"QnYQXe","Channel":"www.schloss-stuelpe.de","Channel_Token":"Y3qmqT","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":3.0,"Content":null,"CreditCard":{"HasCvc":null,"HasTwoFactorAuth":true,"IsActive":false,"IsGenerallyDisabled":false,"IsSelectedByHost":false},"CSSSelectors":[],"Currency":{"HasCustomSet":null,"HasIcons":false,"IsConvertActive":false,"Set":null,"Standard":"1"},"DeutscheBahn":null,"Directory":"/schloss-stuelpede/","EarliestArrival":null,"FieldtextGroup":"-1","GroupID":-1,"Guests":null,"InputFields":{"Billing":{"IsRequired":null,"IsVisible":null,"IsUnfolded":null},"City":{"IsRequired":true,"IsVisible":true},"Company":{"IsRequired":null,"IsVisible":null},"ContactPersonName":null,"Country":{"IsRequired":null,"IsVisible":null},"DateOfBirthAdults":null,"DateOfBirthChildren":null,"Fax":{"IsRequired":null,"IsVisible":null},"FirstName":{"IsRequired":true,"IsVisible":true},"GuestDataAdults":null,"GuestDataChildren":null,"Mail":{"IsRequired":true,"IsVisible":true},"Mobile":{"IsRequired":null,"IsVisible":null},"Name":{"IsRequired":true,"IsVisible":true},"Newsletter":{"IsRequired":null,"IsVisible":null},"PurposeOfTravel":{"IsRequired":null,"IsVisible":null},"Salutation":{"IsRequired":null,"IsVisible":null},"Street":{"IsRequired":true,"IsVisible":true},"Telephone":{"IsRequired":null,"IsVisible":null},"Title":{"IsRequired":null,"IsVisible":null},"VAT":null,"ZIP":{"IsRequired":true,"IsVisible":true}},"Insurance":{"AgencyNumber":"HTL214","Channel":"Allianz","IsActive":true,"ListType":null},"IsActive":true,"Language":{"Default":"-1","HasChangeActive":true,"HasCustomSet":null,"Set":null},"Logo":null,"PartnerCode":null,"PartnerProgrammID":"-1","Payment":null,"PopUp":{"IsActive":null},"PriceComparison":null,"Property_Token":"VYVM4A","Rates":null,"Region":{"Name":null,"_id":0},"RoomLimit":10,"RoomList":{"OrderBy":null},"Settings":{"AvailablePeriod":null,"CustomCookieBanner":null,"DomainsAllowed":["*.dirs21.de"],"Features":[],"GoogleMapsLink":null,"Group":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":null,"IsABTestingActive":null,"IsDuplicateNameCheckActive":null,"IsFullAvailabilityVisible":null,"IsPaymentDisabledForPrepayment":false,"IsProductLocationFilterEnabled":null,"IsQuickbookCalendar":null,"Notifications":null,"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":-1,"Description":"","HasPromotion":false,"IsActive":false},"PackageList":{"DefaultPageSize":0,"HasAmenities":false,"HasCalendar":false,"HasCDNImages":null,"HasCityName":false,"HasFilter":false,"HasNoOccupancyPreselect":null,"HasNoPackageCount":null,"HasSortByPosition":false,"Inquiry":null,"IsActive":true},"PackageSlider":null,"Preselect":{"AdultCount":2,"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":false,"IsHidden":false,"MaxTick":null,"PriceComparison":{"IsActive":false,"MaxShownPrices":5,"Type":""},"StartDate":null},"ReservationIncentive":{"HasBestRateInformation":null,"HasLatestReservationCount":null,"HasLatestRoomReservationCount":null,"IsActive":false,"IsLastBookingTimeVisible":null,"Timespan":"2.00:00:00"},"RoomList":{"DefaultPageSize":0,"HasAmenities":false,"HasCalendar":false,"HasCDNImages":null,"HasCityFilter":null,"HasFilter":false,"HasMinMaxPersons":false,"HasSortByPosition":false,"Inquiry":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":true,"ShouldPreventGoogleFonts":false,"HasHQuery":null},"Type":null,"VenueList":null,"Version":"1.1","VoucherShop":null,"_id":22196,"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"); } })(); }