For any information...
Enjoy our fantastic location.
Contact details
Egnatias 61 54631 Thessaloniki
T: +30 2310 222 900
F: +30 2310 222 197
E: reservation@egnatiapalace.gr
contact us.
"}getUiOutput(){const e=window.HotelwizeApp.Resources[this.plugin.assemblyName];return`\n
\n `}renderCookieControlSettings(){const e=window.HotelwizeApp.Resources[this.plugin.assemblyName];return` `}renderTableRows(){const e=window.HotelwizeApp.Resources[this.plugin.assemblyName];let o="";for(const[t,i]of Object.entries(this.TrackerCategories)){const n=i,r=n==s.Trackers.TrackingCategory.Required,c=n==s.Trackers.TrackingCategory.Required||this.plugin.hasConsent(n),a=this.plugin.getCookiesListByTrackingCategory(n);0!==a.length&&(o+=` `)}return o}renderSwitch(e,o=!1,t=!1){const i=t?" checked":"",n=o?" disabled":"";return``}getCookiesList(e){const o=window.HotelwizeApp.Resources[this.plugin.assemblyName];let t=' ",t}convertToTime(e){const o=window.HotelwizeApp.Resources[this.plugin.assemblyName];if(!e)return e.toString();const t=e/3600,i=e/60,n=Math.round(e/86400);if(t<1){if(i<1)return`${e}s`;if(1==i)return`${i} ${o.CookieDurationMinute}`;if(i>1)return`${i} ${o.CookieDurationMinutes}`}else if(t<=24)return`${t} ${o.CookieDurationHours}`;return`${n} ${o.CookieDurationDays}`}setupCookieControlSettingsClickEvents(){const e=document.getElementsByClassName("cookie-control-checkbox"),o=document.getElementsByClassName("view-cookies"),t=document.getElementsByClassName("cookie-control-toggle");null!=e&&Array.from(e).forEach((e=>{e.addEventListener("change",(e=>{if(null!=e.target){const o=e.target,t=this.TrackerCategories[o.name],i=o.checked;this.plugin.setStoreTrackingPreference(t,i),this.plugin.acceptRevokeTrackingCategory(t,i),this.plugin.logUserConsent(),this.setClientSettingsClose(!0),i?window.HotelwizeApp.Analytics.setConsent(t):window.HotelwizeApp.Analytics.clearConsent(t)}}))})),null!=o&&Array.from(o).forEach((e=>{e.addEventListener("click",(e=>{if(null!=e&&null!=e.target){e.preventDefault();const o=e.target,t=o.nextElementSibling.classList;t.contains("opened")?(o.classList.remove("active"),t.remove("opened")):(o.classList.add("active"),t.add("opened"))}}))})),null!=t&&Array.from(t).forEach((e=>{e.addEventListener("click",(e=>{if(null!=e.target){const o=e.target;Array.from(t).forEach((o=>{null!=o&&o!==e.target&&o.parentNode.classList.remove("active")}));const i=o.parentNode.classList;i.contains("active")?i.remove("active"):i.add("active")}}))}))}setupClickEvents(){const e=document.getElementsByClassName("cookie-control-bar-open"),o=document.getElementsByClassName("cookie-control-bar-close"),t=document.getElementById("cookie-control-bar-customize"),i=document.getElementsByClassName("cookie-control-disable-all"),n=document.getElementsByClassName("cookie-control-allow-all");null!=e&&Array.from(e).forEach((e=>{e.addEventListener("click",(()=>{this.showConsentBar(200)}))})),null!=o&&Array.from(o).forEach((e=>{e.addEventListener("click",(()=>{this.hideConsentBar(200),this.setClientSettingsClose(!0),window.HotelwizeApp.Analytics.htrackExecute("event::cookie_control_close",{category:"Consent"},{plugins:{all:!1,"matomo-analytics":!0}})}))})),null!=t&&t.addEventListener("click",(()=>{const e=this;e.consentBarWrapper.style.display="none",e.consentSettingsWrapper.style.display="block",""===e.consentSettingsWrapper.innerHTML.trim()&&(e.consentSettingsWrapper.innerHTML=e.renderCookieControlSettings(),setTimeout((function(){e.setupCookieControlSettingsClickEvents()}),100))})),null!=n&&Array.from(n).forEach((e=>{e.addEventListener("click",(()=>{this.toggleAllCookies(!0),this.hideConsentBar(750),window.HotelwizeApp.Analytics.htrackExecute("event::cookie_control_allow_all",{category:"Consent"},{plugins:{all:!1,"matomo-analytics":!0}})}))})),null!=i&&Array.from(i).forEach((e=>{e.addEventListener("click",(()=>{this.toggleAllCookies(!1),this.hideConsentBar(750),window.HotelwizeApp.Analytics.htrackExecute("event::cookie_control_disable_all",{category:"Consent"},{plugins:{all:!1,"matomo-analytics":!0}})}))}))}toggleAllCookies(e=!0){for(const[o,t]of Object.entries(this.TrackerCategories)){const i=t;if(0===this.plugin.getCookiesListByTrackingCategory(t).length||"required"===t)continue;try{document.getElementById(`cookie-control-category-switch-${i.toLowerCase()}`).checked=e}catch(e){}const n=this.TrackerCategories[o];this.plugin.setStoreTrackingPreference(n,e),this.plugin.acceptRevokeTrackingCategory(n,e),e?(window.HotelwizeApp.Analytics.setConsent(n),window.HotelwizeApp.Analytics.htrackExecute("event::cookie_control_accept",{category:"Consent",trackingCategory:n},{plugins:{all:!1,"matomo-analytics":!0}})):(window.HotelwizeApp.Analytics.clearConsent(n),window.HotelwizeApp.Analytics.htrackExecute("event::cookie_control_deny",{category:"Consent",trackingCategory:n},{plugins:{all:!1,"matomo-analytics":!0}}))}e?(window.HotelwizeApp.Analytics.setConsent(s.Trackers.TrackingCategory.Personalization),window.HotelwizeApp.Analytics.htrackExecute("event::cookie_control_accept",{category:"Consent",trackingCategory:"personalization"},{plugins:{all:!1,"matomo-analytics":!0}})):(window.HotelwizeApp.Analytics.clearConsent(s.Trackers.TrackingCategory.Personalization),window.HotelwizeApp.Analytics.htrackExecute("event::cookie_control_deny",{category:"Consent",trackingCategory:"personalization"},{plugins:{all:!1,"matomo-analytics":!0}})),this.plugin.setStoreTrackingPreference(s.Trackers.TrackingCategory.Personalization,e),this.plugin.acceptRevokeTrackingCategory(s.Trackers.TrackingCategory.Personalization,e),this.plugin.logUserConsent(),this.setClientSettingsClose(!0)}setClientSettingsClose(e=!0){this.plugin.clientSettings.cookieConsentClosed=e,this.plugin.saveClientSettings()}}},181:(e,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.CookieControlNotificationUI=void 0,o.CookieControlNotificationUI=class{constructor(e){this.plugin=e}init(){const e=this;e.renderNotificationBar();let o=e.plugin.clientSettings.CookieNotificationAccepted;void 0!==o&&!1!==o||(e.showNotificationBar(),document.getElementById("cookie-control-notification-bar__button").addEventListener("click",(function(o){e.hideNotificationBar(),e.plugin.clientSettings.CookieNotificationAccepted=!0,e.plugin.saveClientSettings()})))}showNotificationBar(e=0){try{document.getElementById("cookie-control-notification-bar").style.display="block"}catch(e){console.warn("Failed to display cookie control notification bar",e)}}hideNotificationBar(e=0){try{document.getElementById("cookie-control-notification-bar").style.display="none"}catch(e){console.warn("Failed to hide cookie control notification bar",e)}}renderNotificationBar(){const e=window.HotelwizeApp.Resources[this.plugin.assemblyName];var o=` `;document.body.insertAdjacentHTML("beforeend",o)}}},629:function(e,o,t){var i=this&&this.__createBinding||(Object.create?function(e,o,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(o,t);n&&!("get"in n?!o.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return o[t]}}),Object.defineProperty(e,i,n)}:function(e,o,t,i){void 0===i&&(i=t),e[i]=o[t]}),n=this&&this.__setModuleDefault||(Object.create?function(e,o){Object.defineProperty(e,"default",{enumerable:!0,value:o})}:function(e,o){e.default=o}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&i(o,e,t);return n(o,e),o},s=this&&this.__awaiter||function(e,o,t,i){return new(t||(t=Promise))((function(n,r){function s(e){try{a(i.next(e))}catch(e){r(e)}}function c(e){try{a(i.throw(e))}catch(e){r(e)}}function a(e){var o;e.done?n(e.value):(o=e.value,o instanceof t?o:new t((function(e){e(o)}))).then(s,c)}a((i=i.apply(e,o||[])).next())}))};Object.defineProperty(o,"__esModule",{value:!0}),o.CookieControl=void 0;const c=r(t(371)),a=t(907),l=t(579),u=t(544),g=t(691),d=t(901),p=t(181);a.PluginClientSettings;class k extends c.Plugins.Plugin{constructor(e){var o,t,i;super(e),this.endPointUrl=null===(o=null==e?void 0:e.configuration)||void 0===o?void 0:o.consentLogEndpointUrl,this.uiType=null===(t=null==e?void 0:e.configuration)||void 0===t?void 0:t.uiType,this.uiPosition=null===(i=null==e?void 0:e.configuration)||void 0===i?void 0:i.uiPosition,this.trackingPreferences=new Map,this.loadTrackingPreferences();let n=new c.Trackers.Tracker;n.plugin=this,n.id="cookieControl",n.name="Cookie Control",n.isRequired=!0,n.priority=999;let r=new c.Cookies.Cookie;r.name=`${this.assemblyName}.TrackingPreferences`,r.maxLifeTime=2592e3,r.storageType=c.Cookies.CookieStorageType.LocalStorage,r.purpose=c.Trackers.TrackingCategory.Required,r.isThirdParty=!1,n.cookies.push(r),this.trackers.push(n)}initialize(){this.getUiType()}onWindowLoaded(){return s(this,void 0,void 0,(function*(){}))}getUiType(){return void 0!==this.uiType&&null!=this.uiType&&"auto"!==this.uiType||([...this.getCookiesListByTrackingCategory(c.Trackers.TrackingCategory.Functionality),...this.getCookiesListByTrackingCategory(c.Trackers.TrackingCategory.Marketing),...this.getCookiesListByTrackingCategory(c.Trackers.TrackingCategory.Performance)].length>0?(this.uiType="consent",window.cookieConsentModeEnabled=!0):(this.uiType="notification",window.cookieConsentModeEnabled=!1)),this.uiType}processPopup(){"notification"===this.uiType?new p.CookieControlNotificationUI(this).init():new d.CookieControlConsentUI(this).init()}loadTrackingPreferences(){var e=new c.Support.LocalStorage;if(e.isSupported()){let o=e.getItem(`${this.assemblyName}.TrackingPreferences`);this.trackingPreferences=null==o?new Map:o}}setStoreTrackingPreference(e,o){this.trackingPreferences.set(e,o),this.storeTrackingPreferences()}storeTrackingPreferences(){var e=new c.Support.LocalStorage;e.isSupported()&&e.setItem(`${this.assemblyName}.TrackingPreferences`,this.trackingPreferences,2592e3)}hasConsent(e){var o;return!!this.trackingPreferences.has(e)&&null!==(o=this.trackingPreferences.get(e))&&void 0!==o&&o}run(e){return s(this,void 0,void 0,(function*(){if(this.getUiType(),null===console||void 0===console||console.info(`Using Cookie Control UI in ${this.uiType} mode.`),"consent"===this.uiType){this.visitorId=this.getVisitorId(),this.registeredPlugins=e;let o=this.filterPurgeCookies(e);yield this.runAcceptedTrackers(o),this.processPopup()}else if("notification"==this.uiType){this.processPopup();let o=this.clientSettings.CookieNotificationAccepted;if(void 0===o||!1===o){const e=this;document.getElementById("cookie-control-notification-bar").style.display="block",document.getElementById("cookie-control-notification-bar__button").addEventListener("click",(function(o){document.getElementById("cookie-control-notification-bar").style.display="none",e.clientSettings.CookieNotificationAccepted=!0,e.saveClientSettings()}))}const t=new c.Trackers.DefaultTrackerManager;yield t.run(e)}}))}runAcceptedTrackers(e){return s(this,void 0,void 0,(function*(){e.sort(((e,o)=>e.priority>o.priority||e.priority===o.priority&&e.isRequired>o.isRequired?1:-1));let o=this.getAcceptedTrackingCategories();yield e.forEach((e=>s(this,void 0,void 0,(function*(){var t;try{(null===(t=e.plugin)||void 0===t?void 0:t.isPageActive)&&(null===console||void 0===console||console.info(`Running accepted tracker ${e.plugin.name}.`),yield e.onAccept(e.plugin,e,o))}catch(o){null===console||void 0===console||console.error(`Error thrown while running onAccept event for ${e.name}`,o)}})))),o.forEach((e=>{window.HotelwizeApp.Analytics.setConsent(e)}))}))}filterPurgeCookies(e){let o=new c.Support.CookieStorage,t=new c.Support.LocalStorage,i=new c.Support.SessionStorage,n=o.getKeys(),r=t.getKeys(),s=i.getKeys(),a=[],l=[],u=[];const g=this.getAcceptedTrackingCategories();let d=[];return window.HotelwizeApp.RegisteredThemeCookies.forEach((e=>{if(null!=e.name)switch(e.storageType){case c.Cookies.CookieStorageType.HttpCookie:a.push(e.nameRegex||e.name);break;case c.Cookies.CookieStorageType.LocalStorage:l.push(e.nameRegex||e.name);break;case c.Cookies.CookieStorageType.SessionStorage:u.push(e.nameRegex||e.name)}})),window.HotelwizeApp.RegisteredPlatformCookies.forEach((e=>{if(null!=e.name)switch(e.storageType){case c.Cookies.CookieStorageType.HttpCookie:a.push(e.nameRegex||e.name);break;case c.Cookies.CookieStorageType.LocalStorage:l.push(e.nameRegex||e.name);break;case c.Cookies.CookieStorageType.SessionStorage:u.push(e.nameRegex||e.name)}})),e.forEach((e=>{null!=e.cookies&&e.cookies.forEach((e=>{if(null!=e.name)switch(e.storageType){case c.Cookies.CookieStorageType.HttpCookie:a.push(e.nameRegex||e.name);break;case c.Cookies.CookieStorageType.LocalStorage:l.push(e.nameRegex||e.name);break;case c.Cookies.CookieStorageType.SessionStorage:u.push(e.nameRegex||e.name)}})),e.trackers.forEach((o=>{let t=!1;if(null!=o.cookies){const e=o.cookies.filter((e=>e.isSystemCookie));o.cookies.length==e.length?t=!0:o.cookies.forEach((e=>{if(!e.isSystemCookie&&g.includes(e.purpose)&&(t=!0,null!=e.name))switch(e.storageType){case c.Cookies.CookieStorageType.HttpCookie:a.push(e.nameRegex||e.name);break;case c.Cookies.CookieStorageType.LocalStorage:l.push(e.nameRegex||e.name);break;case c.Cookies.CookieStorageType.SessionStorage:u.push(e.nameRegex||e.name)}}))}t&&(o.plugin=e,d.push(o))}))})),n.forEach((e=>{let t=!1;""!=e&&(a.forEach((o=>{t||e!==o&&!c.Support.StringHelpers.matchRuleShort(e,o)||(t=!0)})),t||(null===console||void 0===console||console.info(`Removing http cookie: ${e}`),o.removeItem(e)))})),r.forEach((e=>{let o=!1;""!=e&&(l.forEach((t=>{o||e!==t&&!c.Support.StringHelpers.matchRuleShort(e,t)||(o=!0)})),o||(null===console||void 0===console||console.debug(`Removing local storage cookie: ${e}`),t.removeItem(e)))})),s.forEach((e=>{let o=!1;""!=e&&(u.forEach((t=>{o||e!==t&&!c.Support.StringHelpers.matchRuleShort(e,t)||(o=!0)})),o||(null===console||void 0===console||console.debug(`Removing sesion storage cookie: ${e}`),i.removeItem(e)))})),d}getTrackersOfCategory(e){let o=[];return this.registeredPlugins.forEach((t=>{t.trackers.forEach((i=>{let n=!1;i.cookies.forEach((o=>{n||o.purpose!==e||(n=!0)})),n&&(i.plugin=t,o.push(i))}))})),o}acceptRevokeTrackingCategory(e,o){return s(this,void 0,void 0,(function*(){const t=this.getTrackersOfCategory(e),i=this.getAcceptedTrackingCategories();yield t.forEach((t=>s(this,void 0,void 0,(function*(){if(void 0!==t.plugin&&null!=t.plugin&&t.plugin.isPageActive)try{if(o){try{t.plugin.analyticsService?null===console||void 0===console||console.info(`Accepting tracker ${t.plugin.analyticsService.name} for category ${e}.`):null===console||void 0===console||console.info(`Accepting tracker ${t.plugin.name} (${t.plugin.instanceId}) for category ${e}.`)}catch(e){}try{yield t.onAccept(t.plugin,t,i)}catch(o){null===console||void 0===console||console.error(`Failed while accepting tracker ${t.plugin.name} (${t.plugin.instanceId}) for category ${e}.`)}}else{try{t.plugin.analyticsService?null===console||void 0===console||console.info(`Revoking tracker ${t.plugin.analyticsService.name} for category ${e}.`):null===console||void 0===console||console.info(`Revoking tracker ${t.plugin.name} (${t.plugin.instanceId}) for category ${e}.`)}catch(o){null===console||void 0===console||console.error(`Failed while revoking tracker ${t.plugin.name} (${t.plugin.instanceId}) for category ${e}.`)}try{yield t.onRevoke(t.plugin,t,i)}catch(e){}}}catch(e){null===console||void 0===console||console.error(e)}})))),this.filterPurgeCookies(this.registeredPlugins)}))}getCookiesListByTrackingCategory(e){let o=[],t=window.HotelwizeApp.getTrackersByCategory(e);return e===c.Trackers.TrackingCategory.Required&&(window.HotelwizeApp.RegisteredThemeCookies.forEach((e=>{null!=e.name&&o.push(e)})),window.HotelwizeApp.RegisteredPlugins.forEach(((e,t)=>{e.forEach((e=>{null!=e.cookies&&e.cookies.forEach((e=>{null!=e.name&&(o.find((o=>o.name==e.name))||o.push(e))}))}))}))),t.forEach((e=>{e.cookies.forEach((t=>{t.tracker=e,o.push(t)}))})),o}getVisitorId(){return c.Support.uuid()}getAcceptedTrackingCategories(){let e=[];return this.trackingPreferences.forEach(((o,t)=>{!0===o&&e.push(t)})),e.includes(c.Trackers.TrackingCategory.Required)||e.push(c.Trackers.TrackingCategory.Required),e}getCookiePolicyPageLink(){let e=this.configuration,o="#";try{(null==e?void 0:e.cookiePolicyPageUrl)&&(o=null==e?void 0:e.cookiePolicyPageUrl)}catch(e){}return o}logUserConsent(){if(void 0===this.endPointUrl||""==this.endPointUrl)return void(null===console||void 0===console||console.error("Cookie Consent Log Endpoint URL is invalid"));const e=[],o=this.getAcceptedTrackingCategories(),t=new l.ConsentLogItem;t.siteId=window.HotelwizeApp.SiteId,t.browserUID=this.visitorId,t.referrer=document.location.href,t.preferences=o,t.trackers=[],t.cookies=[],this.registeredPlugins.forEach((i=>{let n=!1;i.trackers.forEach((t=>{let r=!1;t.cookies.forEach((e=>{!r&&o.includes(e.purpose)&&(r=!0)})),r&&(n=!0,t.plugin=i,e.push(t))})),n&&i.cookies.forEach((e=>{var o;const n=new u.ConsentLogItemCookie;n.name=e.name||"",n.owner=i.assemblyName,n.storageType=e.storageType,null===(o=t.cookies)||void 0===o||o.push(n)}))})),e.forEach((e=>{var i,n,r;const s=new g.ConsentLogItemTracker;s.id=e.id,s.name=null===(i=e.plugin)||void 0===i?void 0:i.assemblyName,s.version=null===(n=e.plugin)||void 0===n?void 0:n.assemblyVersion,s.cookies=[],e.cookies.forEach((e=>{var t;if(o.includes(e.purpose)){const o=new u.ConsentLogItemCookie;o.name=e.name||"",o.owner=void 0,o.storageType=e.storageType,null===(t=s.cookies)||void 0===t||t.push(o)}})),null===(r=t.trackers)||void 0===r||r.push(s)})),window.HotelwizeApp.RegisteredThemeCookies.forEach((e=>{var o;if(null!=e.name){const i=new u.ConsentLogItemCookie;i.name=e.name,i.owner="theme",i.storageType=e.storageType,null===(o=t.cookies)||void 0===o||o.push(i)}}));const i=new XMLHttpRequest;i.onreadystatechange=function(){4==this.readyState&&this.status},i.open("POST",this.endPointUrl,!0),i.setRequestHeader("Content-Type","application/json;charset=UTF-8"),i.send(JSON.stringify(t))}}o.CookieControl=k},371:e=>{e.exports=window.Hotelwize}},o={},t=function t(i){var n=o[i];if(void 0!==n)return n.exports;var r=o[i]={exports:{}};return e[i].call(r.exports,r,r.exports,t),r.exports}(629);self["Hotelwize.Plugins.PrivacyProtection.CookieControl"]=t})(); let cookieControlPlugin = new globalThis['Hotelwize.Plugins.PrivacyProtection.CookieControl'].CookieControl({ "id": 62, "instanceId": "48118b52-a97c-43df-b537-96e3aea8bda5", "instanceOrder": 0, "type": "privacyProtection", "isTypeDefault": false, "name": "Website Cookie Control", "assemblyName": "Hotelwize.Plugins.PrivacyProtection.CookieControl", "assemblyVersion": "1.2.17.0", "configuration": { "uiType": "auto", "uiPosition": "bottom", "notificationDoNotDisturbPeriod": 30, "notificationBgColor": "#ffffff", "notificationTextColor": "#000000", "notificationButtonBgColor": "#000000", "notificationButtonTextColor": "#ffffff", "consentLogEndpointUrl": "https://services.hotelwize.com/api/CookieConsent", "consentTextColor": "#000000", "consentBgColor": "#ffffff", "consentLinkTextColor": "#000000", "consentLinkHoverTextColor": "#000000", "consentButtonBgColor": "#000000", "consentButtonTextColor": "#ffffff", "consentButtonHoverBgColor": "#000000", "consentButtonHoverTextColor": "#ffffff", "active": true, "localeCode": "en-US", "cookiePolicyPageUrl": "https://www.egnatiapalace.gr/cookie-policy/" }, "trackers": [], "clientSettings": [], "clientSettingsLifetime": 2592000, "cookies": [ { "name": "Hotelwize.User.TrackingPreferences", "nameRegex": null, "appName": "Website Cookie Control", "isSystemCookie": false, "isThirdParty": false, "domain": null, "maxLifeTime": 2592000, "description": "Cookie description", "purpose": "required", "storageType": "localStorage" } ] }); HotelwizeApp.registerPlugin(cookieControlPlugin).registerTrackerManager(cookieControlPlugin); }Enjoy our fantastic location.
Contact details
Egnatias 61 54631 Thessaloniki
T: +30 2310 222 900
F: +30 2310 222 197
E: reservation@egnatiapalace.gr