Un monstruo viene a verme

Patrick Ness

Fragmento

Page 5 of 370
background image
UNMONSTRUO VIENE A VERMEE DICIÓNE SPE CI ALUna novela de PatrickNessSobre una idea original de SiobhanDowd IlustracionesdeJimKayCon material adicional deJ.A.Bayona,LiamNeeson,SigourneyWeaver,FelicityJonesyLewisMacDougall
Page 6 of 370
background image
Page 7 of 370
background image
ÍNDICEUn monstruo viene a verme– 7La historia del libro – 231Cómo se hizo la película – 268
Page 8 of 370
background image
Page 9 of 370
background image
UN MONSTRUO VIEN E A V ERME
Page 10 of 370
background image
Pag </div> <div id="div_newsletter" class=""> <h3 id="h3_news">Suscríbete para continuar leyendo y recibir nuestras novedades editoriales</h3> <h3 id="h3_OK">¡Ya estás apuntado/a! Gracias.<span id="close_news">X</span></h3> <div class="row" id="row_input"> <div class="col-xs-12 col-md-12"> <button type="button" class="btn btn-primary margin-center hidden-sm-up subscription-categories-btn modalSubscriptionForm btnsn" data-toggle="modal" data-target="#modalSubscriptionForm"> ME APUNTO </button> <button type="button" class="btn btn-primary hidden-xs-down subscription-categories-btn margin-center modalSubscriptionForm btnsn" data-toggle="modal" data-target="#modalSubscriptionForm"> ME APUNTO </button> </div> </div> </div> </div> <div class="modal fade" id="modalSubscriptionConfirm" tabindex="-1" role="dialog" aria-labelledby="modalSubscriptionConfirm" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <span class="modal-title">Gracias</span> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> ¡Apuntada tu nueva preferencia! Muchas Gracias </div> <div class="modal-footer"> <button type="button" class="btn btn-primary margin-center subscription-categories-btn btnsnc" data-dismiss="modal">Cerrar</button> </div> </div> </div> </div> <div class="modal fade" id="modalSubscriptionForm" tabindex="-1" role="dialog" aria-labelledby="modalSubscriptionForm" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <form action="//www.penguinlibros.com/es/module/lblusersubscription/miscelania?action=setTematicaModal&ajax=1" method="post" id="submitNewsletterModal-form" class="pl-3 pr-3"> <div class="modal-header"> <span class="modal-title">Rellena tus datos</span> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div class="col-xs-12 alert alert-success alert-warning hidden-xs-up" id="iqitreviews-productreview-form-alert"></div> <div class="form-fields" id="iqitreviews-productreview-fields"> <input type="hidden" name="autor" value="5280"> <input type="hidden" name="editorial" value="948488"> <input type="hidden" name="tematicas" value="118"> <input type="hidden" name="origen" value="subscripcionFragmento"> <input type="hidden" name="suscribeNewsletter" value="1"> <div class="form-group row"> <label class="col-md-3 form-control-label">Nombre</label> <div class="col-md-9"> <input type="text" class="form-control" name="name" id="name" value="" placeholder="Tu nombre"/> </div> </div> <div class="form-group row"> <label class="col-md-3 form-control-label">Apellidos</label> <div class="col-md-9"> <input type="text" class="form-control" name="surname" id="surname" value="" placeholder="Tu apellido"/> </div> </div> <div class="form-group row"> <label class="col-md-3 form-control-label">Email</label> <div class="col-md-9"> <input type="email" class="form-control" name="email" id="email" value="" placeholder="Tu email"/> </div> </div> <div class="form-group row"> <label class="col-md-3 form-control-label">Catálogo de interés</label> <div class="col-md-9"> <select name="shop" id="shop"> <option selected value="1">Penguinlibros España</option> <option value="4">Penguinlibros Argentina</option> <option value="14">Penguinlibros Colombia</option> <option value="15">Penguinlibros México</option> <option value="16">Penguinlibros Chile</option> <option value="17">Penguinlibros Perú</option> <option value="18">Penguinlibros Uruguay</option> <option value="19">Penguinlibros Miami</option> </select> </div> </div> <div class="mt-2 text-muted"> <div id="gdpr_consent_153" class="gdpr_module gdpr_module_153"> <div class="custom-checkbox" style="display: flex;"> <input id="psgdpr_consent_checkbox_153" name="psgdpr_consent_checkbox" type="checkbox" value="1"> <span class="psgdpr_consent_checkbox_span mr-2"><i class="fa fa-check rtl-no-flip checkbox-checked psgdpr_consent_icon" aria-hidden="true"></i></span> <div class="p_leer_mas p_leer_mas_prod" style="overflow: hidden; text-overflow: ellipsis;"> <span style="text-align: justify;">He leído y acepto las <a href="https://www.penguinlibros.com/es/content/10-proteccion-de-datos">Condiciones del Servicio y la política de protección de datos</a>, incluyendo la política de cookies para darme de alta en Penguinlibros.<br /><br... <a href="#" class="l_leer_mas" onclick="$('.p_leer_mas').hide();$('.p_leer_menos').show();$('.l_leer_menos').show();" style="text-decoration: underline !important;">Leer más</a> </div> <div class="p_leer_menos"><span><span style="text-align: justify;">He leído y acepto las <a href="https://www.penguinlibros.com/es/content/10-proteccion-de-datos">Condiciones del Servicio y la política de protección de datos</a>, incluyendo la política de cookies para darme de alta en Penguinlibros.<br /><br /></span><span style="font-size: 10px;">Responsable: Penguin Random House Grupo Editorial,S.A.U. (Penguinlibros) con domicilio social en Travessera de Gràcia, 47-49 08021 Barcelona NIF: A 08116147 contacto: lopd@penguinrandomhouse.com. Finalidad: tratará sus datos personales para informarte sobre nuestros productos, servicios, novedades, sorteos, concursos y eventos. Puede ver más detalles </span><a href="https://www.penguinlibros.com/es/content/10-proteccion-de-datos" style="text-align: justify; font-size: 10px;">aquí</a><span style="text-align: justify; font-size: 10px;">. Legitimación: Ejecución del contrato y consentimiento del interesado. Destinatario: cedemos tus datos a las empresas de nuestro grupo para poder mostrar el catálogo disponible. Puede ver más detalles </span><a href="https://www.penguinlibros.com/es/content/10-proteccion-de-datos" style="text-align: justify; font-size: 10px;">aquí</a><span style="text-align: justify; font-size: 10px;">. </span><span style="text-align: justify; font-size: 10px;">Derechos: Acceder, rectificar y suprimir los datos, así como otros derechos, como se explica en nuestra política que puede consultar en el siguiente </span><a href="https://www.penguinlibros.com/es/content/10-proteccion-de-datos" style="text-align: justify; font-size: 10px;"><u>enlace.</u></a></span> <a class="l_leer_menos" onclick="$('.p_leer_menos').hide();$('.p_leer_mas').show();$('.l_leer_mas').show();">Leer menos</a> </div> </div> </div> <script type="text/javascript"> var psgdpr_front_controller = "https://www.penguinlibros.com/es/module/psgdpr/FrontAjaxGdpr"; psgdpr_front_controller = psgdpr_front_controller.replace(/\amp;/g,''); var psgdpr_id_customer = "0"; var psgdpr_customer_token = "da39a3ee5e6b4b0d3255bfef95601890afd80709"; var psgdpr_id_guest = "0"; var psgdpr_guest_token = "44d0c87919b3ef8c776f52c262eae1aa57bed442"; document.addEventListener('DOMContentLoaded', function() { let psgdpr_id_module = "153"; let parentForm = $('.gdpr_module_' + psgdpr_id_module).closest('form'); let toggleFormActive = function() { let checkbox = $('#psgdpr_consent_checkbox_' + psgdpr_id_module); let element = $('.gdpr_module_' + psgdpr_id_module); let iLoopLimit = 0; // Look for parent elements until we find a submit button, or reach a limit while(0 === element.nextAll('[type="submit"]').length && // Is there any submit type ? element.get(0) !== parentForm.get(0) && // the limit is the form element.length && iLoopLimit != 1000) { // element must exit element = element.parent(); iLoopLimit++; } if (checkbox.prop('checked') === true) { if (element.find('[type="submit"]').length > 0) { element.find('[type="submit"]').removeAttr('disabled'); } else { element.nextAll('[type="submit"]').removeAttr('disabled'); } } else { if (element.find('[type="submit"]').length > 0) { element.find('[type="submit"]').attr('disabled', 'disabled'); } else { element.nextAll('[type="submit"]').attr('disabled', 'disabled'); } } } // Triggered on page loading toggleFormActive(); $('body').on('change', function(){ // Triggered after the dom might change after being loaded toggleFormActive(); // Listener ion the checkbox click $(document).on("click" , "#psgdpr_consent_checkbox_"+psgdpr_id_module, function() { toggleFormActive(); }); $(document).on('submit', parentForm, function(event) { $.ajax({ data: 'POST', //dataType: 'JSON', url: psgdpr_front_controller, data: { ajax: true, action: 'AddLog', id_customer: psgdpr_id_customer, customer_token: psgdpr_customer_token, id_guest: psgdpr_id_guest, guest_token: psgdpr_guest_token, id_module: psgdpr_id_module, }, success: function (data) { // parentForm.submit(); }, error: function (err) { console.log(err); } }); }); }); }); </script> </div> </div> </div> <div class="modal-footer"> <input class="btn btn-primary margin-center hidden-sm-up subscription-categories-btn btnsns" data-id_product=285896 type="submit" value=" OK"> <input class="btn btn-primary hidden-xs-down subscription-categories-btn margin-center modal-newsletter btnsns" data-id_product=285896 type="submit" value=" Apuntate"> </div> </form> </div> </div> </div> </div> </section> <footer id="footer"> <div class="preview-footer"> <div class="container content row col-12 col-md-10 col-sm-8 overflow-hidden m-auto content row "> <div class="col-12"> <p class="product_name" style="font-size: 27px;font-family: 'montserrat';margin:0 auto;text-align:center;">Un monstruo viene a verme</p> </div> <div id="textoRelated" class="col-lg-12 col-md-12 col-sm-10 col-xs-12"> <h2>¡Disfruta del libro entero!</h2> <p style="font-weight: bold;padding:0px;margin:0px;">Elige tu formato favorito y empieza tu próxima lectura</p> </div> <div class="col-lg-12 col-md-12 col-xs-12"> <div class="info-libro row" style="padding:0px;"> <div class="precios-libro row"> <div class="col-xl-3 col-lg-4 libroRelated" style="display:inline-block;"> <a href="//www.penguinlibros.com/es/novelas-juveniles/285896-libro-un-monstruo-viene-a-verme-9788466362399 "> <picture class="lazy"> <source data-srcset="https://www.penguinlibros.com/es/3114751-home_default/un-monstruo-viene-a-verme.webp" type="image/webp"> <source data-srcset="https://www.penguinlibros.com/es/3114751-home_default/un-monstruo-viene-a-verme.jpg"> <img data-srcset="https://www.penguinlibros.com/es/3114751-home_default/un-monstruo-viene-a-verme.jpg" alt="Un monstruo viene a verme" class="img-fluid photo"> </picture> <span class="formato">Audiolibro</span> <div class="row"> <span class="col precio">10,00 € <span>10,53 €</span> </span> </div> </a> </div> <div class="col-xl-3 col-lg-4 libroRelated" style="display:inline-block;"> <a href="//www.penguinlibros.com/es/novelas-juveniles/285896-libro-un-monstruo-viene-a-verme-9788466362399 "> <picture class="lazy"> <source data-srcset="https://www.penguinlibros.com/es/3114751-home_default/un-monstruo-viene-a-verme.webp" type="image/webp"> <source data-srcset="https://www.penguinlibros.com/es/3114751-home_default/un-monstruo-viene-a-verme.jpg"> <img data-srcset="https://www.penguinlibros.com/es/3114751-home_default/un-monstruo-viene-a-verme.jpg" alt="Un monstruo viene a verme" class="img-fluid photo"> </picture> <span class="formato">eBook</span> <div class="row"> <span class="col precio">10,00 € <span>10,53 €</span> </span> </div> </a> </div> <div class="col-xl-3 col-lg-4 libroRelated selected" style="display:inline-block;"> <a href="//www.penguinlibros.com/es/novelas-juveniles/285896-libro-un-monstruo-viene-a-verme-9788466362399 "> <picture class="lazy"> <source data-srcset="https://www.penguinlibros.com/es/3114751-home_default/un-monstruo-viene-a-verme.webp" type="image/webp"> <source data-srcset="https://www.penguinlibros.com/es/3114751-home_default/un-monstruo-viene-a-verme.jpg"> <img data-srcset="https://www.penguinlibros.com/es/3114751-home_default/un-monstruo-viene-a-verme.jpg" alt="Un monstruo viene a verme" class="img-fluid photo"> </picture> <span class="formato">Tapa blanda con solapas</span> <div class="row"> <span class="col precio">10,00 € <span>10,53 €</span> </span> </div> </a> </div> <div class="col-xl-3 col-lg-4 libroRelated selected" style="display:inline-block;"> <a href="//www.penguinlibros.com/es/novelas-juveniles/285896-libro-un-monstruo-viene-a-verme-9788466362399 "> <picture class="lazy"> <source data-srcset="https://www.penguinlibros.com/es/3114751-home_default/un-monstruo-viene-a-verme.webp" type="image/webp"> <source data-srcset="https://www.penguinlibros.com/es/3114751-home_default/un-monstruo-viene-a-verme.jpg"> <img data-srcset="https://www.penguinlibros.com/es/3114751-home_default/un-monstruo-viene-a-verme.jpg" alt="Un monstruo viene a verme" class="img-fluid photo"> </picture> <span class="formato">Bolsillo</span> <div class="row"> <span class="col precio">10,00 € <span>10,53 €</span> </span> </div> </a> </div> </div> </div> </div> <div class="clearfix"></div> </div> </div> </footer> </main> <script type="text/javascript" src="https://www.penguinlibros.com/es/themes/megustaleer/assets/cache/bottom-89dc912204.js" data-cookieconsent="ignore" ></script> <script type="text/javascript" src="/es/modules/motive/views/js/front.js?v=2.26.0" data-cookieconsent="ignore" ></script> <div id="iqitwishlist-modal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <span class="modal-title">Necesitas iniciar sesión o crear una cuenta</span> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <section class="login-form"> <p> Guarda productos en tu lista de deseos para comprarlos más tarde o compartirlos con tus amigos.</p> <div class="blocklogin-content-mobile"> <ul class="nav-tabs" id="tabs-login" role="tablist"> <li class="nav-item"> <a class="nav-link active" id="login-tab" href="https://www.penguinlibros.com/es/datos-personales" >Inicia sesión</a> </li> <li class="nav-item"> <a class="nav-link" id="registro-tab" href="https://www.penguinlibros.com/es/iniciar-sesion?create_account=1" >Regístrate</a> </li> </ul> </div> <form id="login-form" action="index.php?controller=authentication&back=my-account" method="post"> <section class="row"> <input type="hidden" name="back" value=""> <div class="form-group align-items-center "> <label class="col-md-2 col-form-label required"> Dirección de correo electrónico </label> <div class="col-md-8"> <input class="form-control" name="email" type="email" value="" required > </div> <div class="col-md-2 form-control-comment"> </div> </div> <div class="form-group align-items-center "> <label class="col-md-2 col-form-label required"> Contraseña </label> <div class="col-md-8"> <div class="input-group js-parent-focus"> <input class="form-control js-child-focus js-visible-password" name="password" title="Longitud de al menos 5 caracteres" autocomplete="new-password" type="password" value="" pattern=".{5,}" required > <span class="input-group-append"> <button class="btn btn-outline-secondary" type="button" data-action="show-password" > <i class="fa fa-eye-slash" aria-hidden="true"></i> </button> </span> </div> </div> <div class="col-md-2 form-control-comment"> </div> </div> <div class="form-group align-items-center "> <label class="col-md-2 col-form-label"> </label> <div class="col-md-8"> <span class="custom-checkbox"> <input name="remember" id="ff_remember" type="checkbox" value="1" > <span><i class="fa fa-check rtl-no-flip checkbox-checked" aria-hidden="true"></i></span> <label for="ff_remember">Recuérdame</label > </span> </div> <div class="col-md-2 form-control-comment"> </div> </div> <div class="forgot-password col-md-12"> <a href="https://www.penguinlibros.com/es/recuperar-contraseña" rel="nofollow"> ¿Has olvidado tu contraseña? </a> </div> </section> <footer class="form-footer text-center clearfix"> <input type="hidden" name="submitLogin" value="1"> <button id="submit-login" class="loginPresta btn btn-primary form-control-submit" data-link-action="sign-in" type="submit"> Iniciar sesión </button> </footer> </form> <div class="espacio"> <span>o</span> </div> </section> <hr/> <div class="no-account"> <a href="https://www.penguinlibros.com/es/iniciar-sesion?create_account=1" data-link-action="display-register-form"> ¿Sin cuenta? Crea uno aquí </a> </div> </div> </div> </div> </div> <div id="iqitwishlist-notification" class="ns-box ns-effect-thumbslider ns-text-only"> <div class="ns-box-inner"> <div class="ns-content"> <span class="ns-title"><i class="fa fa-check" aria-hidden="true"></i> <strong>Añadido a tu lista de deseos</strong></span> </div> </div> </div><script data-cfasync="false" type="text/javascript"> 'use strict'; // Instantiate the tracking class var rcTagManagerLib = new RcTagManagerLib(); // Init page values var controllerName = 'Fragmento'; var compliantModules = {"default":"order","supercheckout":"supercheckout","onepagecheckoutps":"order","sveacheckout":"sveapaypage","thecheckout":"order","steasycheckout":"default"}; var compliantModuleName = 'default'; var skipCartStep = ''; var isOrder = ''; var isCheckout = ''; var isClientId = 0; var gtmProducts; var gtmOrderComplete; //////////////////////////// // set tracking features rcTagManagerLib.trackingFeatures = gtmTrackingFeatures; // set checkout values rcTagManagerLib.controllerName = controllerName; rcTagManagerLib.isCheckout = isCheckout; rcTagManagerLib.compliantModuleName = compliantModuleName; rcTagManagerLib.skipCartStep = skipCartStep; // list names rcTagManagerLib.lists = {"default":"Fragmento","filter":"filtered_results"}; // Google remarketing - page type rcTagManagerLib.ecommPageType = 'other'; // get products list to cache rcTagManagerLib.productsListCache = []; // Listing products /////////////////////////////////////////////// if (!disableInternalTracking) { // Initialize all user events when DOM ready document.addEventListener('DOMContentLoaded', initGtmEvents, false); window.addEventListener('pageshow', fireEventsOnPageShow, false); } function initGtmEvents() { // Events binded on all pages // Events binded to document.body to avoid firefox fire events on right/central click document.body.addEventListener('click', rcTagManagerLib.eventClickPromotionItem, false); //Botones Newsletters var btnNewsletter = document.querySelectorAll('.modalSubscriptionForm'); btnNewsletter.forEach((btn) => btn.addEventListener('click', rcTagManagerLib.eventClickNewsletter, false)); //Botones Menu var Menu = document.getElementById("iqitmegamenu-horizontal"); Menu.addEventListener('click', rcTagManagerLib.eventNavegacionMenu, false); //Menu Movil var MenuMovil = document.getElementById("iqitmegamenu-mobile"); MenuMovil.addEventListener('click', rcTagManagerLib.eventNavegacionMenuMovil, false) if (rcTagManagerLib.trackingFeatures.goals.socialAction) { // bind event on like/follow action rcTagManagerLib.eventSocialFollow(); } //////////////////////// // ALL PAGES EXCEPT CHECKOUT OR ORDER if (!isCheckout && !isOrder) { // bind prestashop events with tracking events prestashop.on( 'updateCart', function (event) { rcTagManagerLib.eventAddCartProduct(event); rcTagManagerLib.eventCartUpdate(event); } ); prestashop.on( 'clickQuickView', function (event) { rcTagManagerLib.eventProductView(event) } ); prestashop.on( 'updatedProduct', function (event) { rcTagManagerLib.eventProductView(event) } ); prestashop.on( 'clickIqitWishlistAdd', function (event) { rcTagManagerLib.eventWishlistProduct() } ); // init first scroll action for those products all ready visible on screen setTimeout(()=>{ rcTagManagerLib.eventScrollList(); // bind event to scroll window.addEventListener('scroll', rcTagManagerLib.eventScrollList.bind(rcTagManagerLib), false); },3000); // init Event Listeners document.body.addEventListener('click', rcTagManagerLib.eventClickProductList, false); document.body.addEventListener('click', rcTagManagerLib.eventGetAddCartQuantity, false); document.body.addEventListener('click', rcTagManagerLib.eventCartQuantityDelete, false); document.body.addEventListener('click', rcTagManagerLib.eventLogin, false); document.body.addEventListener('click', rcTagManagerLib.eventLogout, false); document.body.addEventListener('click', rcTagManagerLib.eventCreateAccount, false); document.body.addEventListener('click', rcTagManagerLib.eventNewsletter, false); document.body.addEventListener('click', rcTagManagerLib.eventUpdateAccount, false); //Sliders setTimeout(()=>{ let Sliders = document.body.querySelectorAll(".slick-slider"); Sliders.forEach((slider)=>{ slider.addEventListener('click', rcTagManagerLib.eventClickCarousel,false); slider.addEventListener('touchstart', rcTagManagerLib.eventTouchStartCarousel,false); slider.addEventListener('touchmove', rcTagManagerLib.eventTouchMoveCarousel,false); slider.addEventListener('touchend', rcTagManagerLib.eventTouchEndCarousel,false); }), 2000 }) if (rcTagManagerLib.trackingFeatures.goals.socialAction) { // bind event to allow track social action on document.body.addEventListener('click', rcTagManagerLib.eventSocialShareProductView, false); } //////////////////////// // SEARCH PAGE if (controllerName === 'search') { rcTagManagerLib.eventSearchResult(); } //////////////////////// // PRODUCT PAGE if (controllerName === 'product') { // send product detail view rcTagManagerLib.eventProductView(); rcTagManagerLib.eventProductPreview(); rcTagManagerLib.eventProductReview(); //Nuevos DataLayer Ficha Producto var btnCompraDirecta = document.querySelector('.add-to-cart.direct'), btnCambioIdioma = document.querySelector('.link_relacionado_manuscrito'), tags = document.querySelectorAll('.tag_lvl2'), descripcion = document.getElementById('product-descripcion'), detalles = document.getElementById('product-details-tab-nav'), btnVerAutor = document.querySelectorAll("#author-follow"), btnResena = document.querySelector(".boton-review"); if(btnCambioIdioma != null) btnCambioIdioma.addEventListener('click', rcTagManagerLib.eventCambioIdioma,false); if(btnCompraDirecta != null) btnCompraDirecta.addEventListener('click', rcTagManagerLib.eventCompraDirecta,false); tags.forEach((tag)=> tag.addEventListener('click', rcTagManagerLib.eventBotonTematicas, false)); btnVerAutor.forEach((btn)=> btn.addEventListener('click', rcTagManagerLib.onVerAutor, false)); descripcion.addEventListener('click', rcTagManagerLib.onVerDescripcion, false); detalles.addEventListener('click', rcTagManagerLib.onVerDetalles, false); btnResena.addEventListener('click', rcTagManagerLib.onClickResena, false); } ////////////////////// //BLOGS if (controllerName == 'single'){ let linkFicha = document.getElementsByClassName('linkFicha'); if(linkFicha !== null){ //Convertimos la Html List a Array let enlaces = [...linkFicha]; enlaces.forEach((lf) => lf.addEventListener('click', rcTagManagerLib.eventLinkFicha, false)); } } } //////////////////////// // CHECKOUT PROCESS if (isCheckout) { // SUMMARY CART if (controllerName === 'cart') { // events on summary Cart document.body.addEventListener('click', rcTagManagerLib.eventCartQuantityDelete, false); document.body.addEventListener('click', rcTagManagerLib.eventCartQuantityUp, false); document.body.addEventListener('click', rcTagManagerLib.eventCartQuantityDown, false); } //////////////////////// // CHECKOUT if (compliantModuleName === 'default' && controllerName === 'order') { // Events on Checkout Process document.body.addEventListener('click', rcTagManagerLib.eventPrestashopCheckout, false); } else if ( compliantModuleName === 'supercheckout' && controllerName === compliantModules[compliantModuleName] ) { // Compatible with super-checkout by Knowband document.body.addEventListener('click', rcTagManagerLib.eventOpcSuperCheckout, false); document.body.addEventListener('click', rcTagManagerLib.eventCartOpcSuperCheckout, false); } else if ( compliantModuleName === 'onepagecheckoutps' && controllerName === compliantModules[compliantModuleName] ) { // compatible with OPC by PrestaTeamShop document.body.addEventListener('click', rcTagManagerLib.eventOpcPrestaTeam, false); document.body.addEventListener('click', rcTagManagerLib.eventCartOpcPrestaTeam, false); } else if ( compliantModuleName === 'thecheckout' && controllerName === compliantModules[compliantModuleName] ) { // Compatible with thecheckout by Zelarg document.body.addEventListener('click', rcTagManagerLib.eventOpcTheCheckout, false); document.body.addEventListener('click', rcTagManagerLib.eventCartOpcTheCheckout, false); } else if ( compliantModuleName === 'steasycheckout' && controllerName === compliantModules[compliantModuleName] ) { // Events for steasycheckout document.body.addEventListener('click', rcTagManagerLib.eventOpcStEasyCheckout, false); document.body.addEventListener('click', rcTagManagerLib.eventCartOpcStEasyCheckout, false); } } } function fireEventsOnPageShow(event){ //rcTagManagerLib.eventPageType(); // rcTagManagerLib.eventUserInfo(); // fixes safari back cache button if (event.persisted) { window.location.reload() } if(window.location.pathname.substring(4) == 'module/lblemailactivation/activation'){ rcTagManagerLib.onConfirmarCuenta(); } // Sign up feature if (rcTagManagerLib.trackingFeatures.goals.signUp && rcTagManagerLib.trackingFeatures.common.isNewSignUp) { rcTagManagerLib.onSignUp(); } if (rcTagManagerLib.trackingFeatures.gua.trackingId && isClientId) { rcTagManagerLib.setClientId(); } // Checkout and order complete if (isCheckout && gtmProducts) { rcTagManagerLib.onCheckoutProducts(gtmProducts); } else if (isOrder && gtmOrderComplete) { rcTagManagerLib.onOrderComplete(gtmOrderComplete); } } </script><script type="text/javascript"> var time_start; $(window).on("load", function (e) { time_start = new Date(); }); $(window).on("unload", function (e) { var time_end = new Date(); var pagetime = new FormData(); pagetime.append("type", "pagetime"); pagetime.append("id_connections", "52817415"); pagetime.append("id_page", "15"); pagetime.append("time_start", "2024-05-20 22:55:30"); pagetime.append("token", "afc80cf864ee480597490585e8ed2d12ae5f2fec"); pagetime.append("time", time_end-time_start); pagetime.append("ajax", "1"); navigator.sendBeacon("https://www.penguinlibros.com/es/index.php?controller=statistics", pagetime); }); </script> <button id="back-to-top"> <i class="fa fa-angle-up" aria-hidden="true"></i> </button> </body> </html>