{const locale = document.querySelector('html').getAttribute('lang') || 'de-DE';const localeLoader = document.createElement('script');localeLoader.id = 'd21-locale';localeLoader.type = 'application/json';document.head.appendChild(localeLoader);fetch('https://js-sdk.dirs21.de/locale/' + locale).then(async (x) => { x.json().then(t => document.querySelector('#d21-locale').innerHTML = JSON.stringify(t)); });const styles = document.createElement('style');styles.type = 'text/css';styles.id = 'd21-widget-style';styles.textContent = ``;document.head.appendChild(styles);sessionStorage.setItem('d21_config', '{"General":{"Directory":"/zugspitzresort-hotel/","IsGroup":false,"ShouldOpenInNewTab":false,"CustomDomain":null,"ShouldWaitUntilDocumentReady":false,"Theme":{"Light":{"PrimaryColor":"#4c5733","SecondaryColor":"#fab005","BorderRadius":0.5,"Font":{"Default":"https://api-default.tocc.dirs21.de/v1/cdn/fonts/92846/prompt-light.ttf","Decorative":"https://api-default.tocc.dirs21.de/v1/cdn/fonts/92846/prompt-light.ttf","Body":"https://api-default.tocc.dirs21.de/v1/cdn/fonts/92846/prompt-light.ttf"}},"Dark":{"PrimaryColor":"#EFEFED","SecondaryColor":"#EFEFED","BorderRadius":0.5,"Font":{"Default":"Rubik","Decorative":"Rubik","Body":"Rubik"}}},"Occupancy":{"DefaultLos":1,"DefaultAdults":2,"DefaultChildren":[]},"ProductLimit":5,"HideChildrenInput":false},"Properties":[{"WidgetId":"7a7b0cdb-4449-816e-e606-333d06a1d5e4","WidgetType":"availabilityCalendar","Description":"","DisplayTheme":"Light","IsCenteredAutomatically":true,"IsPrimaryConfig":true,"Fields":{"CustomLos":1,"HasAdditionalRow":true,"HasDoubleView":true,"HasPromotionCode":false,"HasLargeView":false,"ProductIds":[],"TariffIds":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"Filter":"NoFilter","InputMode":"CheckInAndNights","PreselectedRoom":null,"restrictToRoom":"null","undefined":null,"HasAdditionalRow":true,"HasLargeView":false,"HasDoubleView":true,"RestrictToRoom":"null","HasPromotionCode":false,"CustomLOS":1}},{"WidgetId":"1df34c35-99bf-3d04-0a5c-64799632cb8e","WidgetType":"quickbook","Description":"","DisplayTheme":"Light","IsCenteredAutomatically":true,"IsPrimaryConfig":true,"Fields":{"IsHorizontal":true,"IsJustButton":false,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"InputMode":"CheckInAndNights","Filter":"NoFilter","PreselectedRoom":"null","HasSlimMode":false,"OccupancyDiffersFromIBE":true,"CustomLos":-1,"CustomOccupancyAdults":-1,"CustomOccupancyChildren":[],"MaximumPersons":0,"MinimumPersons":0,"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"Filter":"NoFilter","InputMode":"CheckInAndNights","PreselectedRoom":"null","IsJustButton":false,"undefined":null,"IsHorizontal":true,"OccupancyDiffersFromIBE":true,"CustomOccupancyChildren":[]}},{"WidgetId":"cf5d626f-8d43-aba9-5722-8897f9d5aa98","WidgetType":"packageList","Description":"","DisplayTheme":"Light","IsCenteredAutomatically":true,"IsPrimaryConfig":true,"Fields":{"UsePages":false,"ItemsPerPage":-1,"GroupFilter":"","FilterMinimumPrice":-1.0,"FilterMaximumPrice":-1.0,"FilterPriceLap":-1.0,"UseFilter":true,"UseCalendar":true,"PreselectedCategory":null,"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"Filter":"NoFilter","InputMode":"CheckInAndNights","PreselectedRoom":null,"undefined":null,"SlideAnimation":true,"UseBullets":true,"UseFilter":true,"IsPagination":false,"ItemsPerPage":7,"VisiblePageCount":5,"FilterMinimumPrice":50,"FilterMaximumPrice":65,"FilterPriceLap":5,"GroupFilter":"null"}},{"WidgetId":"25c11241-4d23-e3cf-193a-0650c56b7a8a","WidgetType":"roomList","Description":"","DisplayTheme":"Light","IsCenteredAutomatically":true,"IsPrimaryConfig":true,"Fields":{"UsePages":false,"ItemsPerPage":7,"GroupFilter":"null","FilterMinimumPrice":50.0,"FilterMaximumPrice":65.0,"FilterPriceLap":5.0,"UseFilter":false,"UseCalendar":true,"RoomBuild":"rooms","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":null,"HasSmallSearchButton":null,"HasDropdownsOnTop":null,"Filter":"NoFilter","InputMode":"CheckInAndNights","PreselectedRoom":null,"IsJustButton":null,"HasPromotionCode":null,"OccupancyDiffersFromIBE":null,"CustomLOS":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":null,"SlideAnimation":true,"UseBullets":true,"IsPagination":false,"ItemsPerPage":7,"VisiblePageCount":5,"FilterMinimumPrice":50,"FilterMaximumPrice":65,"FilterPriceLap":5,"GroupFilter":"null","UseFilter":true}}]}');sessionStorage.setItem('d21_uuid', '2dcde1c5-e126-4c8e-b16b-fece9072df19');const d21_css = document.createElement('link');d21_css.href = 'https://v5.widgets.dirs21.de/style.css?v=5.0.0.0.469';d21_css.rel = 'stylesheet';document.head.appendChild(d21_css);const quickbook = document.createElement('script');quickbook.src = 'https://v5.widgets.dirs21.de/quickbook.js?v=5.0.0.0.469';quickbook.async = true;quickbook.type = 'module';quickbook.defer = true;document.body.appendChild(quickbook);if (Array.from(document.querySelectorAll('.d21-roomList, #d21-roomList')).length > 0) { const roomList = document.createElement('script'); roomList.src = 'https://v5.widgets.dirs21.de/roomList.js?v=5.0.0.0.469'; roomList.async = true; roomList.type = 'module'; roomList.defer = true; document.body.appendChild(roomList);}if (Array.from(document.querySelectorAll('.d21-packageList, #d21-packageList, #d21-widgets-packages')).length > 0) { const packageList = document.createElement('script'); packageList.src = 'https://v5.widgets.dirs21.de/packageList.js?v=5.0.0.0.469'; packageList.async = true; packageList.type = 'module'; packageList.defer = true; document.body.appendChild(packageList);}if (Array.from(document.querySelectorAll('.d21-availabilityCalendar, .d21-smallAvailabilityCalendar, #d21-bigAvailabilityCalendar, .d21-roomAvailability')).length > 0) { const availabilityCalendar = document.createElement('script'); availabilityCalendar.src = 'https://v5.widgets.dirs21.de/availabilityCalendar.js?v=5.0.0.0.469'; availabilityCalendar.async = true; availabilityCalendar.type = 'module'; availabilityCalendar.defer = true; document.body.appendChild(availabilityCalendar);}}