{"id":464,"date":"2024-12-19T03:16:00","date_gmt":"2024-12-19T03:16:00","guid":{"rendered":"https:\/\/www.iskayboutiquehostel.com\/?page_id=464"},"modified":"2024-12-19T03:18:18","modified_gmt":"2024-12-19T03:18:18","slug":"pagina-ejemplo","status":"publish","type":"page","link":"https:\/\/www.iskayboutiquehostel.com\/en\/pagina-ejemplo\/","title":{"rendered":"pagina ejemplo"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"464\" class=\"elementor elementor-464\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9c43071 e-flex e-con-boxed elementor-invisible e-con e-parent\" data-id=\"9c43071\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;slideshow&quot;,&quot;background_slideshow_gallery&quot;:[{&quot;id&quot;:116,&quot;url&quot;:&quot;https:\\\/\\\/www.iskayboutiquehostel.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/DSC_5590_11zon_5_11zon-scaled.webp&quot;},{&quot;id&quot;:112,&quot;url&quot;:&quot;https:\\\/\\\/www.iskayboutiquehostel.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/viracocha_11zon_4_11zon-scaled.webp&quot;},{&quot;id&quot;:115,&quot;url&quot;:&quot;https:\\\/\\\/www.iskayboutiquehostel.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/DSC_5698-2_11zon_1_11zon-scaled.webp&quot;},{&quot;id&quot;:113,&quot;url&quot;:&quot;https:\\\/\\\/www.iskayboutiquehostel.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/mama-killa_11zon_3_11zon-scaled.webp&quot;}],&quot;background_slideshow_slide_transition&quot;:&quot;slide_down&quot;,&quot;shape_divider_bottom&quot;:&quot;opacity-fan&quot;,&quot;background_slideshow_ken_burns&quot;:&quot;yes&quot;,&quot;animation&quot;:&quot;slideInLeft&quot;,&quot;background_slideshow_loop&quot;:&quot;yes&quot;,&quot;background_slideshow_slide_duration&quot;:5000,&quot;background_slideshow_transition_duration&quot;:500,&quot;background_slideshow_ken_burns_zoom_direction&quot;:&quot;in&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-shape elementor-shape-bottom\" aria-hidden=\"true\" data-negative=\"false\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 283.5 19.6\" preserveAspectRatio=\"none\">\n\t<path class=\"elementor-shape-fill\" style=\"opacity:0.33\" d=\"M0 0L0 18.8 141.8 4.1 283.5 18.8 283.5 0z\"\/>\n\t<path class=\"elementor-shape-fill\" style=\"opacity:0.33\" d=\"M0 0L0 12.6 141.8 4 283.5 12.6 283.5 0z\"\/>\n\t<path class=\"elementor-shape-fill\" style=\"opacity:0.33\" d=\"M0 0L0 6.4 141.8 4 283.5 6.4 283.5 0z\"\/>\n\t<path class=\"elementor-shape-fill\" d=\"M0 0L0 1.2 141.8 4 283.5 1.2 283.5 0z\"\/>\n<\/svg>\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-dee715b e-con-full e-flex e-con e-child\" data-id=\"dee715b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-60d6404 elementor-invisible elementor-widget elementor-widget-wp-widget-mod_vikbooking_horizontalsearch\" data-id=\"60d6404\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeIn&quot;}\" data-widget_type=\"wp-widget-mod_vikbooking_horizontalsearch.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5>Reserva tu habitaci\u00f3n<\/h5>\n<div class=\"vbmodhorsearchmaindiv vbo-horizsearch-humanformat-wrap\">\n\t<form action=\"https:\/\/www.iskayboutiquehostel.com\/en\/pagina-ejemplo\/?option=com_vikbooking&amp;task=search&amp;Itemid=0\" method=\"post\" id=\"vbo-mod-horsearch-form-172\">\n\t\t<input type=\"hidden\" name=\"task\" value=\"search\" \/>\n\t\t<div class=\"vbmodhorsearch-hum-dates-wrap\">\n\t\t\t<div class=\"vbmodhorsearch-humcalcont vbmodhorsearchcheckindiv\">\n\t\t\t\t<label class=\"vbo-horizsearch-lbl-dt-172\">Check-in date<\/label>\n\t\t\t\t<div class=\"vbo-horizsearch-showcalendar vbo-horizsearch-showcalendar-from\" id=\"vbo-horizsearch-checkin172\">\n\t\t\t\t\t<i class=\"far fa-calendar-days\"><\/i>\t\t\t\t\t<span class=\"vbo-horizsearch-placeholder\">Select date<\/span>\n\t\t\t\t\t<div id=\"vbo-horizsearch-period172-from\" class=\"vbo-horizsearch-period-from\">\n\t\t\t\t\t\t<span class=\"vbo-horizsearch-period-mday\"><\/span>\n\t\t\t\t\t\t<div class=\"vbo-horizsearch-period-dt\">\n\t\t\t\t\t\t\t<span class=\"vbo-horizsearch-period-month\"><\/span>\n\t\t\t\t\t\t\t<span class=\"vbo-horizsearch-period-year\"><\/span>\n\t\t\t\t\t\t\t<span class=\"vbo-horizsearch-period-wday\"><\/span>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"vbo-horizsearch-dpicker-cont vbo-horizsearch-dpicker-from\" id=\"checkindatemod172\" style=\"display: none;\"><\/div>\n\t\t\t\t<input type=\"hidden\" name=\"checkindate\" id=\"inp-checkindatemod172\"\/>\n\t\t\t\t<input type=\"hidden\" name=\"checkinh\" value=\"12\"\/>\n\t\t\t\t<input type=\"hidden\" name=\"checkinm\" value=\"0\"\/>\n\t\t\t<\/div>\n\t\t\t<div class=\"vbmodhorsearch-humcalcont vbmodhorsearchcheckoutdiv\">\n\t\t\t\t<label class=\"vbo-horizsearch-lbl-dt-172\">Check-out date<\/label>\n\t\t\t\t<div class=\"vbo-horizsearch-showcalendar vbo-horizsearch-showcalendar-to\" id=\"vbo-horizsearch-checkout172\">\n\t\t\t\t\t<i class=\"far fa-calendar-days\"><\/i>\t\t\t\t\t<span class=\"vbo-horizsearch-placeholder\">Select date<\/span>\n\t\t\t\t\t<div id=\"vbo-horizsearch-period172-to\" class=\"vbo-horizsearch-period-to\">\n\t\t\t\t\t\t<span class=\"vbo-horizsearch-period-mday\"><\/span>\n\t\t\t\t\t\t<div class=\"vbo-horizsearch-period-dt\">\n\t\t\t\t\t\t\t<span class=\"vbo-horizsearch-period-month\"><\/span>\n\t\t\t\t\t\t\t<span class=\"vbo-horizsearch-period-year\"><\/span>\n\t\t\t\t\t\t\t<span class=\"vbo-horizsearch-period-wday\"><\/span>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"vbo-horizsearch-dpicker-cont vbo-horizsearch-dpicker-to\" id=\"checkoutdatemod172\" style=\"display: none;\"><\/div>\n\t\t\t\t<input type=\"hidden\" name=\"checkoutdate\" id=\"inp-checkoutdatemod172\"\/>\n\t\t\t\t<input type=\"hidden\" name=\"checkouth\" value=\"10\"\/>\n\t\t\t\t<input type=\"hidden\" name=\"checkoutm\" value=\"0\"\/>\n\t\t\t<\/div>\n\t\t\t<div class=\"vbmodhorsearchtotnights\" id=\"vbjstotnightsmod172\"><\/div>\n\t\t<\/div>\n\t\t\t<div class=\"vbmodhorsearch-hum-guests-wrap\">\n\t\t\t\n\t\t\t<label onclick=\"jQuery('#vbmodhorsearch-hum-guests-count172').trigger('click');\">Guests<\/label>\n\n\t\t\t<div class=\"vbmodhorsearch-hum-guests-count\" id=\"vbmodhorsearch-hum-guests-count172\">\n\t\t\t\t<div class=\"vbmodhorsearch-hum-guests-elem vbmodhorsearch-hum-guests-rooms\">\n\t\t\t\t\t<label>Rooms<\/label>\n\t\t\t\t\t<span id=\"vbmodhorsearch-hum-guests-rooms172\">1<\/span>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"vbmodhorsearch-hum-guests-elem vbmodhorsearch-hum-guests-adults\">\n\t\t\t\t\t<label>Adults<\/label>\n\t\t\t\t\t<span id=\"vbmodhorsearch-hum-guests-adults172\">1<\/span>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"vbmodhorsearch-hum-guests-elem vbmodhorsearch-hum-guests-children\">\n\t\t\t\t\t<label>Children<\/label>\n\t\t\t\t\t<span id=\"vbmodhorsearch-hum-guests-children172\">0<\/span>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"vbmodhorsearch-hum-guests-modifier\" style=\"display: none;\">\n\t\t\t\t<div class=\"vbmodhorsearch-hum-guests-modifier-inner\">\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<div class=\"vbmodhorsearchroomsel\">\n\t\t\t\t\t\t<label for=\"vbmodformroomsn172\">Rooms<\/label>\n\t\t\t\t\t\t<span class=\"vbhsrnselsp\"><select name=\"roomsnum\" id=\"vbmodformroomsn172\" onchange=\"vbSetRoomsAdultsMod172(this.value);\">\n<option value=\"1\">1<\/option>\n<option value=\"2\">2<\/option>\n<option value=\"3\">3<\/option>\n<option value=\"4\">4<\/option>\n<option value=\"5\">5<\/option>\n<\/select><\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"vbmodhorsearchroomdentr\">\n\t\t\t\t\t\t<div class=\"vbmodhorsearchroomdentrfirst\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"horsrnum\">Room 1<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"horsanumdiv\">\n\t\t\t\t\t\t\t\t<label class=\"horsanumlb\" for=\"vbo-mhs-adults-172\">Adults<\/label>\n\t\t\t\t\t\t\t\t<span class=\"horsanumsel\"><select name=\"adults[]\" id=\"vbo-mhs-adults-172\" onchange=\"vbCountTotGuests172();\"><option value=\"1\">1<\/option><option value=\"2\">2<\/option><option value=\"3\">3<\/option><option value=\"4\">4<\/option><option value=\"5\">5<\/option><option value=\"6\">6<\/option><option value=\"7\">7<\/option><option value=\"8\">8<\/option><option value=\"9\">9<\/option><option value=\"10\">10<\/option><\/select><\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"horscnumdiv\">\n\t\t\t\t\t\t\t\t<label class=\"horscnumlb\" for=\"vbo-mhs-children-172\">Children<\/label>\n\t\t\t\t\t\t\t\t<span class=\"horscnumsel\"><select name=\"children[]\" id=\"vbo-mhs-children-172\" onchange=\"vbCountTotGuests172();\"><option value=\"0\">0<\/option><option value=\"1\">1<\/option><option value=\"2\">2<\/option><option value=\"3\">3<\/option><option value=\"4\">4<\/option><\/select><\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"vbmoreroomscontmod\" id=\"vbmoreroomscontmod172\"><\/div>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\n\t\t<\/div>\n\t\t\t<div class=\"vbmodhorsearchbookdiv\">\n\t\t\t<button type=\"submit\" id=\"vbo-mod-horsearch-sbt-172\" class=\"btn vbsearchinputmodhors vbo-pref-color-btn\">Search<\/button>\n\t\t<\/div>\n\n\t\t<script type=\"text\/javascript\">\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('button#vbo-mod-horsearch-sbt-172').on('click', function(e) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tjQuery(this).prop('disabled', true);\n\t\t\t\t\tjQuery(this).html('<i class=\"fas fa-circle-notch fa-spin fa-fw\"><\/i> ' + jQuery(this).text());\n\t\t\t\t\tjQuery(this).closest('form').submit();\n\t\t\t\t});\n\t\t\t});\n\t\t<\/script>\n\t\t<\/form>\n<\/div>\n\n<div class=\"vbo-modhs-js-helpers\" style=\"display: none;\">\n\t<div class=\"vbo-modhs-add-element-html\">\n\t\t<div class=\"vbmodhorsearchroomdentr\">\n\t\t\t<span class=\"horsrnum\">Room %d<\/span>\n\t\t\t<div class=\"horsanumdiv\">\n\t\t\t\t<label style=\"display: none;\" for=\"vbo-mhs-adults-172-hid\">Adults<\/label>\n\t\t\t\t<span class=\"horsanumsel\"><select name=\"adults[]\" id=\"vbo-mhs-adults-172-hid\" onchange=\"vbCountTotGuests172();\"><option value=\"1\">1<\/option><option value=\"2\">2<\/option><option value=\"3\">3<\/option><option value=\"4\">4<\/option><option value=\"5\">5<\/option><option value=\"6\">6<\/option><option value=\"7\">7<\/option><option value=\"8\">8<\/option><option value=\"9\">9<\/option><option value=\"10\">10<\/option><\/select><\/span>\n\t\t\t\t\t\t\t<div class=\"horscnumdiv\">\n\t\t\t\t\t<label style=\"display: none;\" for=\"vbo-mhs-children-172-hid\">Children<\/label>\n\t\t\t\t\t<span class=\"horscnumsel\"><select name=\"children[]\" id=\"vbo-mhs-children-172-hid\" onchange=\"vbCountTotGuests172();\"><option value=\"0\">0<\/option><option value=\"1\">1<\/option><option value=\"2\">2<\/option><option value=\"3\">3<\/option><option value=\"4\">4<\/option><\/select><\/span>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n\n<script type=\"text\/javascript\">\nfunction vboModHorSearchSendRequest(elem, formId) {\n\tvar form_el = document.getElementById('vbo-mod-horsearch-form-' + formId);\n\tif (!form_el) {\n\t\tconsole.error('form not found', formId);\n\t\treturn false;\n\t}\n\n\t\/\/ valid all form required fields\n\tif (typeof form_el.checkValidity === 'function' && !form_el.checkValidity()) {\n\t\t\/\/ modern browsers will support this HTML5 method to check the form required fields\n\t\talert(Joomla.JText._('VBO_PLEASE_FILL_FIELDS'));\n\t\treturn false;\n\t}\n\n\t\/\/ make sure the dates have been selected\n\tvar checkin_date_el = jQuery(form_el).find('input[name=\"checkindate\"]');\n\tvar checkout_date_el = jQuery(form_el).find('input[name=\"checkoutdate\"]');\n\tif (!checkin_date_el.length || !checkin_date_el.val().length || !checkout_date_el.length || !checkout_date_el.val().length) {\n\t\talert(Joomla.JText._('VBO_PLEASE_SEL_DATES'));\n\t\treturn false;\n\t}\n\t\/\/ make sure the dates are not identical to have a min stay of 1 night\n\t\/\/ as by default the datepicker could set equal dates to the hidden fields.\n\tif (checkin_date_el.val() == checkout_date_el.val()) {\n\t\talert(Joomla.JText._('VBO_PLEASE_SEL_DATES'));\n\t\treturn false;\n\t}\n\n\t\/\/ disable the send request button to avoid double submissions\n\telem.disabled = true;\n\t\n\t\/\/ get form values\n\tvar qstring = jQuery(form_el).serialize();\n\n\t\/\/ make sure the task is not set\n\tqstring = qstring.replace('task=search', '');\n\tqstring = qstring.replace('view=search', '');\n\n\t\/\/ make the ajax request to the controller\n\tjQuery.ajax({\n\t\ttype: \"POST\",\n\t\turl: \"https:\/\/www.iskayboutiquehostel.com\/wp-admin\/admin-ajax.php?task=submit_inquiry&Itemid=0&action=vikbooking&vik_ajax_client=site\",\n\t\tdata: qstring\n\t}).done(function(res) {\n\t\tif (!res.hasOwnProperty('status')) {\n\t\t\talert('Invalid response');\n\t\t\t\/\/ re-enable the button\n\t\t\telem.disabled = false;\n\t\t\treturn false;\n\t\t}\n\t\tif (!res.status) {\n\t\t\talert(res.error);\n\t\t\t\/\/ re-enable the button\n\t\t\telem.disabled = false;\n\t\t\treturn false;\n\t\t}\n\t\t\/\/ show success message by replacing all fields\n\t\tjQuery('.vbo-mod-horsearch-inquiry-fields').html('<p class=\"vbo-mod-horsearch-inquiry-mess-success\">' + Joomla.JText._('VBO_THANKS_INQ_SUBMITTED') + '<\/p>');\n\t\t\/\/ remove submit button container\n\t\tjQuery('.vbo-mod-horsearch-inquiry-submit').remove();\n\t}).fail(function(err) {\n\t\talert(err.responseText);\n\t\t\/\/ re-enable the button\n\t\telem.disabled = false;\n\t});\n}\n\nfunction vboModHorSearchBookOnline(formId) {\n\tvar form_el = document.getElementById('vbo-mod-horsearch-form-' + formId);\n\tif (!form_el) {\n\t\tconsole.error('form not found', formId);\n\t\treturn false;\n\t}\n\n\t\/\/ we need to let a button of type button trigger the submit of the \"check availability\"\n\t\/\/ or in case of inquiry, the browser will check the validity of the required fields.\n\n\t\/\/ we only check if the dates have been selected\n\tvar checkin_date_el = jQuery(form_el).find('input[name=\"checkindate\"]');\n\tvar checkout_date_el = jQuery(form_el).find('input[name=\"checkoutdate\"]');\n\tif (!checkin_date_el.length || !checkin_date_el.val().length || !checkout_date_el.length || !checkout_date_el.val().length) {\n\t\talert(Joomla.JText._('VBO_PLEASE_SEL_DATES'));\n\t\treturn false;\n\t}\n\n\t\/\/ make sure the dates are not identical to have a min stay of 1 night\n\t\/\/ as by default the datepicker could set equal dates to the hidden fields.\n\tif (checkin_date_el.val() == checkout_date_el.val()) {\n\t\talert(Joomla.JText._('VBO_PLEASE_SEL_DATES'));\n\t\treturn false;\n\t}\n\n\t\/\/ simply submit the form to start the booking process\n\tform_el.submit();\n\n\treturn true;\n}\n\nfunction vbAddElementMod172() {\n\tvar ni = document.getElementById('vbmoreroomscontmod172');\n\tvar numi = document.getElementById('vbroomhelpermod172');\n\tvar num = (document.getElementById('vbroomhelpermod172').value -1) + 2;\n\tnumi.value = num;\n\tvar newdiv = document.createElement('div');\n\tvar divIdName = 'vb'+num+'racont';\n\tnewdiv.setAttribute('id', divIdName);\n\t\/\/ build HTML content to append to new element\n\tvar new_element_html = document.getElementsByClassName('vbo-modhs-add-element-html')[0].innerHTML;\n\t\/\/ set room number\n\tlet rp_rgx = new RegExp('%d', 'g');\n\tnew_element_html = new_element_html.replace(rp_rgx, num);\n\t\/\/ get rid of label tag (Web Accessibility)\n\tlet lbl_rgx = new RegExp(\/<label\\s.+>.+<\\\/label>\/, 'g');\n\tnew_element_html = new_element_html.replace(lbl_rgx, '');\n\t\/\/ get rid of any id attribute (Web Accessibility)\n\tlet idattr_rgx = new RegExp(\/id=\"[^\\\"]+\"\/, 'g');\n\tnew_element_html = new_element_html.replace(idattr_rgx, '');\n\t\/\/ set HTML content and append element\n\tnewdiv.innerHTML = new_element_html;\n\tni.appendChild(newdiv);\n}\n\nfunction vbSetRoomsAdultsMod172(totrooms) {\n\tvar actrooms = parseInt(document.getElementById('vbroomhelpermod172').value);\n\tvar torooms = parseInt(totrooms);\n\tvar difrooms;\n\tif (torooms > actrooms) {\n\t\tdifrooms = torooms - actrooms;\n\t\tfor (var ir = 1; ir <= difrooms; ir++) {\n\t\t\tvbAddElementMod172();\n\t\t}\n\t}\n\tif (torooms < actrooms) {\n\t\tfor (var ir = actrooms; ir > torooms; ir--) {\n\t\t\tif (ir > 1) {\n\t\t\t\tvar rmra = document.getElementById('vb' + ir + 'racont');\n\t\t\t\trmra.parentNode.removeChild(rmra);\n\t\t\t}\n\t\t}\n\t\tdocument.getElementById('vbroomhelpermod172').value = torooms;\n\t}\n\tif (document.getElementById('vbmodhorsearch-hum-guests-rooms172')) {\n\t\tdocument.getElementById('vbmodhorsearch-hum-guests-rooms172').innerText = torooms;\n\t\tvbCountTotGuests172();\n\t}\n}\n\nfunction vbCountTotGuests172() {\n\tif (!document.getElementById('vbmodhorsearch-hum-guests-rooms172')) {\n\t\treturn;\n\t}\n\tvar totadults = 0;\n\tvar totchildren = 0;\n\tjQuery('#vbmodhorsearch-hum-guests-count172').parent().find('select[name=\"adults[]\"]').each(function() {\n\t\tvar curel = jQuery(this).find('option:selected');\n\t\tif (curel.length) {\n\t\t\ttotadults += parseInt(curel.val());\n\t\t}\n\t});\n\tjQuery('#vbmodhorsearch-hum-guests-adults172').text(totadults);\n\tif (jQuery('#vbmodhorsearch-hum-guests-children172').length) {\n\t\tjQuery('#vbmodhorsearch-hum-guests-count172').parent().find('select[name=\"children[]\"]').each(function() {\n\t\t\tvar curel = jQuery(this).find('option:selected');\n\t\t\tif (curel.length) {\n\t\t\t\ttotchildren += parseInt(curel.val());\n\t\t\t}\n\t\t});\n\t\tjQuery('#vbmodhorsearch-hum-guests-children172').text(totchildren);\n\t}\n}\n\nfunction vbCalcNightsMod172() {\n\tvar vbcheckin = document.getElementById('inp-checkindatemod172').value;\n\tvar vbcheckout = document.getElementById('inp-checkoutdatemod172').value;\n\tif (vbcheckin.length > 0 && vbcheckout.length > 0) {\n\t\tvar vbcheckinp = vbcheckin.split(\"\/\");\n\t\tvar vbcheckoutp = vbcheckout.split(\"\/\");\n\t\t\tvar vbinmonth = parseInt(vbcheckinp[1]);\n\t\tvbinmonth = vbinmonth - 1;\n\t\tvar vbinday = parseInt(vbcheckinp[0], 10);\n\t\tvar vbcheckind = new Date(vbcheckinp[2], vbinmonth, vbinday);\n\t\tvar vboutmonth = parseInt(vbcheckoutp[1]);\n\t\tvboutmonth = vboutmonth - 1;\n\t\tvar vboutday = parseInt(vbcheckoutp[0], 10);\n\t\tvar vbcheckoutd = new Date(vbcheckoutp[2], vboutmonth, vboutday);\n\t\t\t\tvar vbdivider = 1000 * 60 * 60 * 24;\n\t\tvar vbints = vbcheckind.getTime();\n\t\tvar vboutts = vbcheckoutd.getTime();\n\t\tif (vboutts > vbints) {\n\t\t\t\/\/var vbnights = Math.ceil((vboutts - vbints) \/ (vbdivider));\n\t\t\tvar utc1 = Date.UTC(vbcheckind.getFullYear(), vbcheckind.getMonth(), vbcheckind.getDate());\n\t\t\tvar utc2 = Date.UTC(vbcheckoutd.getFullYear(), vbcheckoutd.getMonth(), vbcheckoutd.getDate());\n\t\t\tvar vbnights = Math.ceil((utc2 - utc1) \/ vbdivider);\n\t\t\tif (vbnights > 0) {\n\t\t\t\tdocument.getElementById('vbjstotnightsmod172').innerHTML = '<div class=\"vbo-horizsearch-numnights-inner\"><span>Nights:<\/span> <span>'+vbnights+'<\/span><\/div>';\n\t\t\t} else {\n\t\t\t\tdocument.getElementById('vbjstotnightsmod172').innerHTML = '';\n\t\t\t}\n\t\t} else {\n\t\t\tdocument.getElementById('vbjstotnightsmod172').innerHTML = '';\n\t\t}\n\t} else {\n\t\tdocument.getElementById('vbjstotnightsmod172').innerHTML = '';\n\t}\n}\n<\/script>\n\n<input type=\"hidden\" id=\"vbroomhelpermod172\" value=\"1\"\/>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3752f11 elementor-widget elementor-widget-spacer\" data-id=\"3752f11\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-0d49a75 e-flex e-con-boxed e-con e-parent\" data-id=\"0d49a75\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-46af57d elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"46af57d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-7f298dc e-con-full e-flex e-con e-parent\" data-id=\"7f298dc\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;shape_divider_bottom&quot;:&quot;opacity-fan&quot;}\">\n\t\t\t\t<div class=\"elementor-shape elementor-shape-bottom\" aria-hidden=\"true\" data-negative=\"false\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 283.5 19.6\" preserveAspectRatio=\"none\">\n\t<path class=\"elementor-shape-fill\" style=\"opacity:0.33\" d=\"M0 0L0 18.8 141.8 4.1 283.5 18.8 283.5 0z\"\/>\n\t<path class=\"elementor-shape-fill\" style=\"opacity:0.33\" d=\"M0 0L0 12.6 141.8 4 283.5 12.6 283.5 0z\"\/>\n\t<path class=\"elementor-shape-fill\" style=\"opacity:0.33\" d=\"M0 0L0 6.4 141.8 4 283.5 6.4 283.5 0z\"\/>\n\t<path class=\"elementor-shape-fill\" d=\"M0 0L0 1.2 141.8 4 283.5 1.2 283.5 0z\"\/>\n<\/svg>\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c03f26c elementor--h-position-center elementor--v-position-middle elementor-pagination-position-inside elementor-widget elementor-widget-slides\" data-id=\"c03f26c\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;navigation&quot;:&quot;dots&quot;,&quot;transition&quot;:&quot;fade&quot;,&quot;_animation&quot;:&quot;none&quot;,&quot;autoplay&quot;:&quot;yes&quot;,&quot;pause_on_hover&quot;:&quot;yes&quot;,&quot;pause_on_interaction&quot;:&quot;yes&quot;,&quot;autoplay_speed&quot;:5000,&quot;infinite&quot;:&quot;yes&quot;,&quot;transition_speed&quot;:500}\" data-widget_type=\"slides.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-swiper\">\n\t\t\t\t\t<div class=\"elementor-slides-wrapper elementor-main-swiper swiper\" role=\"region\" aria-roledescription=\"carousel\" aria-label=\"Slides\" dir=\"ltr\" data-animation=\"fadeInLeft\">\n\t\t\t\t<div class=\"swiper-wrapper elementor-slides\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-repeater-item-d8be848 swiper-slide\" role=\"group\" aria-roledescription=\"slide\"><div class=\"swiper-slide-bg\" role=\"img\"><\/div><div class=\"swiper-slide-inner\" ><div class=\"swiper-slide-contents\"><\/div><\/div><\/div><div class=\"elementor-repeater-item-e21e417 swiper-slide\" role=\"group\" aria-roledescription=\"slide\"><div class=\"swiper-slide-bg\" role=\"img\"><\/div><div class=\"swiper-slide-inner\" ><div class=\"swiper-slide-contents\"><\/div><\/div><\/div><div class=\"elementor-repeater-item-3566d41 swiper-slide\" role=\"group\" aria-roledescription=\"slide\"><div class=\"swiper-slide-bg\" role=\"img\"><\/div><div class=\"swiper-slide-inner\" ><div class=\"swiper-slide-contents\"><\/div><\/div><\/div><div class=\"elementor-repeater-item-554d63b swiper-slide\" role=\"group\" aria-roledescription=\"slide\"><div class=\"swiper-slide-bg\" role=\"img\"><\/div><div class=\"swiper-slide-inner\" ><div class=\"swiper-slide-contents\"><\/div><\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"swiper-pagination\"><\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-9e82a1c e-flex e-con-boxed e-con e-parent\" data-id=\"9e82a1c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-370d7e2 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"370d7e2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\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":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-464","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>pagina ejemplo -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.iskayboutiquehostel.com\/en\/pagina-ejemplo\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"pagina ejemplo -\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.iskayboutiquehostel.com\/en\/pagina-ejemplo\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-19T03:18:18+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.iskayboutiquehostel.com\\\/pagina-ejemplo\\\/\",\"url\":\"https:\\\/\\\/www.iskayboutiquehostel.com\\\/pagina-ejemplo\\\/\",\"name\":\"pagina ejemplo -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.iskayboutiquehostel.com\\\/#website\"},\"datePublished\":\"2024-12-19T03:16:00+00:00\",\"dateModified\":\"2024-12-19T03:18:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.iskayboutiquehostel.com\\\/pagina-ejemplo\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.iskayboutiquehostel.com\\\/pagina-ejemplo\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.iskayboutiquehostel.com\\\/pagina-ejemplo\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/www.iskayboutiquehostel.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"pagina ejemplo\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.iskayboutiquehostel.com\\\/#website\",\"url\":\"https:\\\/\\\/www.iskayboutiquehostel.com\\\/\",\"name\":\"\",\"description\":\"Alojamiento dise\u00f1ado para viajeros que buscan comodidad, cultura local y una experiencia \u00fanica en su estad\u00eda. \",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.iskayboutiquehostel.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"pagina ejemplo -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.iskayboutiquehostel.com\/en\/pagina-ejemplo\/","og_locale":"en_US","og_type":"article","og_title":"pagina ejemplo -","og_url":"https:\/\/www.iskayboutiquehostel.com\/en\/pagina-ejemplo\/","article_modified_time":"2024-12-19T03:18:18+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.iskayboutiquehostel.com\/pagina-ejemplo\/","url":"https:\/\/www.iskayboutiquehostel.com\/pagina-ejemplo\/","name":"pagina ejemplo -","isPartOf":{"@id":"https:\/\/www.iskayboutiquehostel.com\/#website"},"datePublished":"2024-12-19T03:16:00+00:00","dateModified":"2024-12-19T03:18:18+00:00","breadcrumb":{"@id":"https:\/\/www.iskayboutiquehostel.com\/pagina-ejemplo\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.iskayboutiquehostel.com\/pagina-ejemplo\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.iskayboutiquehostel.com\/pagina-ejemplo\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/www.iskayboutiquehostel.com\/"},{"@type":"ListItem","position":2,"name":"pagina ejemplo"}]},{"@type":"WebSite","@id":"https:\/\/www.iskayboutiquehostel.com\/#website","url":"https:\/\/www.iskayboutiquehostel.com\/","name":"","description":"Alojamiento dise\u00f1ado para viajeros que buscan comodidad, cultura local y una experiencia \u00fanica en su estad\u00eda.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.iskayboutiquehostel.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.iskayboutiquehostel.com\/en\/wp-json\/wp\/v2\/pages\/464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.iskayboutiquehostel.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.iskayboutiquehostel.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.iskayboutiquehostel.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iskayboutiquehostel.com\/en\/wp-json\/wp\/v2\/comments?post=464"}],"version-history":[{"count":4,"href":"https:\/\/www.iskayboutiquehostel.com\/en\/wp-json\/wp\/v2\/pages\/464\/revisions"}],"predecessor-version":[{"id":468,"href":"https:\/\/www.iskayboutiquehostel.com\/en\/wp-json\/wp\/v2\/pages\/464\/revisions\/468"}],"wp:attachment":[{"href":"https:\/\/www.iskayboutiquehostel.com\/en\/wp-json\/wp\/v2\/media?parent=464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}