PageSourceSearch

https://www.hotels-lyon-france.com/content/media/common/build/750.821f131e08e080c565f2.js

js hotels-lyon-france.com collected 2026-10-10 00:30:41 UTC 3,891 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklib=self.webpackChunklib||[]).push([[750],{1134:(e,t,r)=>{r.d(t,{A:()=>i});class i{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.config=e,this.initialized=!1}init(){throw new Error("init() method must be implemented by adapter")}sendEvent(e,t){throw new Error("sendEvent() method must be implemented by adapter")}checkUserChanged(){throw new Error("checkUserChanged() method must be implemented by adapter")}addGlobalProperties(){throw new Error("addGlobalProperties() method must be implemented by adapter")}destroy(){this.initialized=!1}isReady(){return this.initialized}}},5750:(e,t,r)=>{r.r(t),r.d(t,{PostHogAdapter:()=>f});var i=r(1134),n=r(5476);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,r)}function l(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,d(e,t,"get"))}function h(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,d(e,t,"set"),r),r}function d(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}var u=new WeakMap,p=new WeakMap,g=new WeakMap;class f extends i.A{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),c(this,u,{writable:!0,value:"PostHog"}),c(this,p,{writable:!0,value:null}),c(this,g,{writable:!0,value:null})}init(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{if(this.config=s(s({},this.config),e),!this.config.apiKey)throw new Error("PostHog API key is required");return n.Ay.init(this.config.apiKey,s({api_host:this.config.host},this.config.options)),h(this,p,n.Ay),this.initialized=!0,this.config.debug&&console.log("[".concat(l(this,u),"] Adapter initialized"),this.config),this.initialized}catch(e){return console.error("[".concat(l(this,u),"] Initialization failed:"),e),!1}}sendEvent(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this.isReady())return this.config.debug&&console.warn("[".concat(l(this,u),"] Adapter not ready, skipping event:"),{category:e,action:t,data:r}),!1;try{var i=s({category:e},r);return this.config.debug&&console.log("[".concat(l(this,u),"] Sending event:"),t,i),l(this,p).capture(t,i),!0}catch(e){return console.error("[".concat(l(this,u),"] Failed to send event:"),e),!1}}checkUserChanged(){if(!this.isReady())return!1;try{var e=l(this,p).get_distinct_id(),t=l(this,g)&&l(this,g)!==e;return h(this,g,e),t&&this.config.debug&&console.log("[".concat(l(this,u),"] User changed from ").concat(l(this,g)," to ").concat(e)),t}catch(e){return console.error("[".concat(l(this,u),"] Failed to check user change:"),e),!1}}addGlobalProperties(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.isReady())return!1;try{return l(this,p).register(e),this.config.debug&&console.log("[".concat(l(this,u),"] Global properties added:"),e),!0}catch(e){return console.error("[".concat(l(this,u),"] Failed to add global properties:"),e),!1}}destroy(){l(this,p)&&h(this,p,null),super.destroy()}}}}]);

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.