if (!window['d21_sdk_initialized']) {window['d21_sdk_initialized'] = true;var d21_uuid='03d1f8c2-974f-48bb-a274-ca70117bccc3';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":false,"IsIBETrigger":true,"WeekCount":2},"Chat":{"IsActive":null},"CustomCode":{"Code":null,"IsActive":false},"DisplayMode":"2","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":[{"_id":0,"IsActive":false,"Name":null,"Type":"BahnBonus"}],"Broker_Token":"T4eRc9","Channel":"www.kh-apartment.de","Channel_Token":"T9Rul9","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":"/kh-apartmentde/","EarliestArrival":null,"FieldtextGroup":"-1","GroupID":null,"Guests":{"RequestDataFor":null,"ShowDateOfBirthFor":null},"InputFields":{"Billing":{"IsRequired":null,"IsVisible":null,"IsUnfolded":null},"City":{"IsRequired":true,"IsVisible":true},"Company":{"IsRequired":null,"IsVisible":null},"ContactPersonName":{"IsRequired":null,"IsVisible":null},"Country":{"IsRequired":true,"IsVisible":true},"DateOfBirthAdults":{"IsRequired":null,"IsVisible":null},"DateOfBirthChildren":{"IsRequired":null,"IsVisible":null},"Fax":{"IsRequired":null,"IsVisible":null},"FirstName":{"IsRequired":true,"IsVisible":true},"GuestDataAdults":{"IsRequired":false,"IsVisible":false},"GuestDataChildren":{"IsRequired":false,"IsVisible":false},"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":true,"IsVisible":true},"Street":{"IsRequired":true,"IsVisible":true},"Telephone":{"IsRequired":null,"IsVisible":null},"Title":{"IsRequired":null,"IsVisible":null},"VAT":{"IsRequired":null,"IsVisible":null},"ZIP":{"IsRequired":true,"IsVisible":true}},"Insurance":{"AgencyNumber":"HTL214","Channel":"Allianz","IsActive":true,"ListType":null},"IsActive":true,"Language":{"Default":null,"HasChangeActive":false,"HasCustomSet":null,"Set":[]},"Logo":null,"PartnerCode":null,"PartnerProgrammID":null,"Payment":{"IsActive":true,"Overwrites":{"Guarantee":{"Conditions":{"PaymentMethods":["PayPal"],"PrePaymentGreaterThen":100.0},"IsActive":true}},"Sets":[{"IsActive":true,"Provider":{"_RepositoryName":"Entity.Payment.Provider","Name":"PayPal","_uuid":"36f9dd28-7793-438f-a40c-c4029ade18d1","_Culture":"de-DE","_LegacyId":null,"_eid":[]},"Method":{"_RepositoryName":"Entity.Payment.Method","Name":"PayPal","_uuid":"033427f6-4b29-400f-8776-7b55024dee7a","_Culture":"de-DE","_LegacyId":null,"_eid":[]}},{"IsActive":true,"Provider":{"_RepositoryName":"Entity.Payment.Provider","Name":null,"_uuid":null,"_LegacyId":null,"_eid":[]},"Method":{"_RepositoryName":"Entity.Payment.Method","Name":"CashInAdvance","_uuid":"c91bf820-60d1-4298-b3d0-e8e54668516b","_Culture":"de-DE","_LegacyId":null,"_eid":[]}}],"Settings":{"HasCardCheck":false,"HasOptionalPayment":true},"Token":{"Provider":null}},"PopUp":{"IsActive":null},"PriceComparison":{"IsActive":null,"Provider":{"Name":null}},"Property_Token":"T4eRc9","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":true,"HasCallUsTextIfNoAvailability":null,"HasChargeableButton":null,"HasChildSelectDisabled":null,"HasCitySelection":false,"HasCustomConfirmationField":null,"HasDataPrivacyRegulation":true,"HasGalleryInGrid":true,"HasGuaranteeFollowUp":null,"HasGuestNotesField":null,"HasGuestQuestions":null,"HasGuestQuestionsOpened":null,"HasHotelAddressFieldActive":null,"HasIBEAsRoomList":null,"HasImageHint":null,"HasLeadSourceField":null,"HasMapsLink":null,"HasPaymentPreview":true,"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":true,"IsPaymentDisabledForPrepayment":false,"IsProductLocationFilterEnabled":null,"IsQuickbookCalendar":null,"Notifications":{"HasNoGuestNotification":false,"HasNoHostNotification":false},"SeperatorPrices":null,"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":["GoogleHotelFinder"],"Overlay":{"Delay":0,"Description":"","HasPromotion":false,"IsActive":false},"PackageSlider":{"Inquiry":{"IsActive":null,"URL":null},"IsActive":null},"Preselect":{"AdultCount":2,"DayOffset":0,"DefaultLOS":1,"DefaultOccupancy":"a","LOS":1,"MaxAge":null,"MaxLOS":90,"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":5,"Type":""},"StartDate":{"Date":"0001-01-01T00:00:00Z","HasStartDate":null}},"ReservationIncentive":{"HasBestRateInformation":true,"HasLatestReservationCount":null,"HasLatestRoomReservationCount":null,"IsActive":false,"IsLastBookingTimeVisible":true,"Timespan":null},"Settings":{"HasCartData":null,"HasChildrenSelectable":true,"HasOpenInNewTab":false,"IsCurrencyConvertToBrowserLanguage":null,"MaxNumberOfPackages":null,"MaxNumberOfRates":null,"Notifications":[{"IsActive":false,"Type":"SMS"},{"IsActive":false,"Type":"Fax"},{"IsActive":true,"Type":"Email"}],"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":{"Directory":null,"IsActive":null,"LogoUrl":null},"_id":27543,"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"); } })(); }