{"id":5203,"date":"2026-02-23T13:13:19","date_gmt":"2026-02-23T13:13:19","guid":{"rendered":"https:\/\/rochester-hotel.com\/newsite\/?page_id=5203"},"modified":"2026-04-10T12:43:39","modified_gmt":"2026-04-10T15:43:39","slug":"reserva-classic","status":"publish","type":"page","link":"https:\/\/rochester-hotel.com\/newsite\/reserva-classic\/","title":{"rendered":"Reserva Classic"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"5203\" class=\"elementor elementor-5203\" data-elementor-settings=\"{&quot;scroll_snap&quot;:&quot;yes&quot;}\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a5a318d e-con-full e-flex e-con e-parent\" data-id=\"a5a318d\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3f96415 elementor-widget elementor-widget-html\" data-id=\"3f96415\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<script src=\"https:\/\/assets.gnahs.com\/services\/booking-engine\/metasearch-tracker\/v1\/launcher.js\" defer><\/script>\r\n\r\n<div id=\"GNAHSEngine\"><\/div>\r\n\t<script>\r\n\t\twindow.BookingParams = {\r\n\t\t\tuuid: '2ba257d5-8a3f-46e0-a32d-cadecc4b2c26',\r\n\t\t\testablishments: [4],\r\n\t\t\tlanguage: 'es', \/\/ Modificar seg\u00fan idioma de la web\r\n\t\t\tapi: 'https:\/\/hostalric.gnahs.app',\r\n\t\t\tassets: 'https:\/\/hostalric.gnahs.app\/dist\/'\r\n\t\t}\r\n\t\r\n\t<\/script>\r\n\t<!-- Estos scripts solo deben estar presente en la p\u00e1gina donde se haga la integraci\u00f3n del motor de reservas -->\r\n\t<script src=\"https:\/\/assets.gnahs.com\/scripts\/rho-initialization\/gnahs-get-rho-initial-settings-v2.js\" onload=\"(new GNAHSGetRhoInitialSettings())\"><\/script>\r\n\t<script src=\"https:\/\/assets.gnahs.com\/scripts\/booking-engine\/fetch.min.js\"><\/script>\r\n\t<script>\r\ndocument.addEventListener('DOMContentLoaded', function () {\r\n  const container = document.getElementById('GNAHSEngine');\r\n  if (!container) return;\r\n\r\n  function getHeaderOffset() {\r\n    const header =\r\n      document.querySelector('.elementor-location-header') ||\r\n      document.querySelector('header');\r\n\r\n    return header ? Math.ceil(header.getBoundingClientRect().height) + 16 : 120;\r\n  }\r\n\r\n  function scrollBackToEngine() {\r\n    const rect = container.getBoundingClientRect();\r\n    const top = rect.top + window.scrollY - getHeaderOffset();\r\n\r\n    window.scrollTo({\r\n      top: Math.max(0, top),\r\n      behavior: 'auto'\r\n    });\r\n  }\r\n\r\n  function attachIframeFix() {\r\n    const iframe = container.querySelector('iframe');\r\n    if (!iframe || iframe.dataset.scrollFixAttached) return;\r\n\r\n    iframe.dataset.scrollFixAttached = 'true';\r\n\r\n    iframe.addEventListener('load', function () {\r\n      \/\/ Third-party embeds sometimes trigger the jump a bit late,\r\n      \/\/ so we hit it a few times.\r\n      setTimeout(scrollBackToEngine, 50);\r\n      setTimeout(scrollBackToEngine, 250);\r\n      setTimeout(scrollBackToEngine, 600);\r\n    });\r\n  }\r\n\r\n  const observer = new MutationObserver(function () {\r\n    attachIframeFix();\r\n  });\r\n\r\n  observer.observe(container, {\r\n    childList: true,\r\n    subtree: true\r\n  });\r\n\r\n  attachIframeFix();\r\n});\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5203","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/rochester-hotel.com\/newsite\/wp-json\/wp\/v2\/pages\/5203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rochester-hotel.com\/newsite\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rochester-hotel.com\/newsite\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rochester-hotel.com\/newsite\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rochester-hotel.com\/newsite\/wp-json\/wp\/v2\/comments?post=5203"}],"version-history":[{"count":22,"href":"https:\/\/rochester-hotel.com\/newsite\/wp-json\/wp\/v2\/pages\/5203\/revisions"}],"predecessor-version":[{"id":5729,"href":"https:\/\/rochester-hotel.com\/newsite\/wp-json\/wp\/v2\/pages\/5203\/revisions\/5729"}],"wp:attachment":[{"href":"https:\/\/rochester-hotel.com\/newsite\/wp-json\/wp\/v2\/media?parent=5203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}