PageSourceSearch

https://www.thecornerhotel-barcelona.com/js/components/contact.js

js thecornerhotel-barcelona.com collected 2026-09-28 11:57:09 UTC 688 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){let e=document.querySelector('form[name="contact-lead"]');new CustomForms('form[name="contact-lead"]',{language:currentLanguage,type:"contact",onSend:function(e){return e.append("site_id",siteId),e},onSuccess:function(s){if("success"===s.status)e.reset(),window.modals.open("contact-response");else for(var t=0;t<this.fields.length;t++)void 0!==s.errors[this.fields[t].field.name]&&this.fields[t].showCustomMessage(s.errors[this.fields[t].field.name])},onError:function(e){for(var s=0;s<this.fields.length;s++)void 0!==e.errors[this.fields[s].field.name]&&this.fields[s].showCustomMessage(e.errors[this.fields[s].field.name])}})});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.