1import{F as p}from"./formkit.theme-Bu_Q_u0x.js";import"./vendor-lxhXACKn.js";import"./globalBasic-DCViCoV8.js";class u extends p{constructor(e){super(e),this.id="theHotelsNetwork",this.group="analytical",this.setup()}setup(){if(!this.allowed||!this.config)return;const{id:e,accountKey:o,siteId:r,site_id:i}=this.config;if(!e){console.warn("THN: missing property_id");return}let n=`https://www.thehotelsnetwork.com/js/loader.js?property_id=${encodeURIComponent(e)}`;if(o&&(n+=`&account_key=${encodeURIComponent(o)}`),!document.querySelector(`script[src="${n}"]`)){const t=document.createElement("script");t.async=!0,t.src=n,document.head.appendChild(t)}const c=r||i;if(!c)return;const s=`https://www.thehotelsnetwork.com/js/connect.js?site_id=${encodeURIComponent(c)}`;if(!document.querySelector(`script[src="${s}"]`)){const t=document.createElement("script");t.async=!0,t.src=s,document.head.appendChild(t)}}conversion(e){}event(e,o,r){}pageView(e,o){}}export{u as TheHotelsNetwork};
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.