1"use strict";(self.webpackChunkpiscinesibiza2025_theme=self.webpackChunkpiscinesibiza2025_theme||[]).push([[4104],{80013:function(t,e,a){a.r(e),a.d(e,{default:function(){return n}});var s=a(59161);class n extends s.Z{getName(){return"abTesting"}getDefaultConfig(){return{testSlug:null,variant:null,testName:null}}_onLoad(){super._onLoad();const t=this.getConfig();t.testSlug&&t.variant&&(this._listenForConsent(t),this._dispatchEvent(t))}_listenForConsent(t){[{event:"rsq.service.googleanalyticsgtag.ready",tag:this._tagGA4},{event:"rsq.service.hotjar.ready",tag:this._tagHotjar},{event:"rsq.service.facebookpixel.ready",tag:this._tagMeta}].forEach((({event:e,tag:a})=>{document.addEventListener(e,(()=>a.call(this,t)),{once:!0})}))}_tagGA4(t){"function"==typeof window.gtag&&window.gtag("set","user_properties",{ab_test_slug:t.testSlug,ab_test_variant:t.variant})}_tagHotjar(t){"function"==typeof window.hj&&window.hj("identify",null,{ab_test_slug:t.testSlug,ab_test_variant:t.variant})}_tagMeta(t){"function"==typeof window.fbq&&window.fbq("trackCustom","ABTestImpression",{ab_test_slug:t.testSlug,ab_test_variant:t.variant,ab_test_name:t.testName})}_dispatchEvent(t){this.dispatchEvent("impression",{testSlug:t.testSlug,variant:t.variant,testName:t.testName})}}}}]); 2//# sourceMappingURL=module-ab-testing.6f81704a.js.map
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.