PageSourceSearch

https://static.golssip.it/build/1623.c236aaf3.js

js golssip.it collected 2026-10-02 20:13:15 UTC 2,962 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgazzanet_symfony=self.webpackChunkgazzanet_symfony||[]).push([[1623],{51623:function(e,t,s){var i=s(52891),n=s(52752),o=s(85937),r=s(47455),c=s(55821),a=s(51405),h=s(23782);const d=(0,a.h)("widget","oddschecker"),l="oc-connect-script";let u=null;class p extends i.xI{constructor(){super(...arguments),this.isInitialized=!1,this.isInitLoopRunning=!1,this.gaveUp=!1,this.consentDenied=!1,this.unsubscribeFromBus=[],this.onSignal=()=>{this.consentDenied=!1,this.kickInitLoop()},this.onConsentError=e=>{"consent-denied"===e?.reason&&(this.consentDenied=!0,d.warn("[Oddschecker] adv:consent-denied ricevuto. Sospendo i tentativi."))}}connect(){if(d.info("Controller Oddschecker connesso."),!this.matchesViewport())return d.info("Dispositivo non corrispondente. Rimuovo il widget dal DOM."),this.gaveUp=!0,void this.element.remove();this.unsubscribeFromBus=[(0,h.HS)("adv:ready",this.onSignal),(0,h.HS)("adv:error",this.onConsentError)];const[e,t]=(0,n.v1)(this,{root:null,rootMargin:"300px",threshold:0});this.observe=e,this.unobserve=t,this.observe()}disconnect(){this.unobserve?.(),this.unsubscribeFromBus.forEach(e=>e()),this.unsubscribeFromBus=[],this.gaveUp=!0}appear(e){e.isIntersecting&&(this.unobserve?.(),this.kickInitLoop())}matchesViewport(){const e=this.hasIsMobileValue&&this.isMobileValue,t=this.hasIsDesktopValue&&this.isDesktopValue;if(!e&&!t)return!0;const s=window.matchMedia("(min-width: 768px)").matches;return e&&!t?!s:!(t&&!e)||s}kickInitLoop(){this.gaveUp||this.consentDenied||this.isInitialized||this.isInitLoopRunning||(this.isInitLoopRunning=!0,(0,o.f)(()=>{if(this.tryInit())return!0;throw new Error("Attesa consenso per Oddschecker...")},{startingDelay:120,timeMultiple:1.7,maxDelay:2e3,numOfAttempts:Number.POSITIVE_INFINITY,retry:()=>!this.gaveUp&&!this.consentDenied&&!this.isInitialized,jitter:.2}).catch(e=>{this.isInitLoopRunning=!1,this.gaveUp||this.consentDenied||this.isInitialized||d.warn("[Oddschecker] Back Off terminato",e)}))}tryInit(){return!!this.hasAdvertisingConsent()&&(this.isInitialized=!0,async function(){return u||(document.getElementById(l)?(u=Promise.resolve(),u):(u=new Promise((e,t)=>{d.info("Iniezione script globale Oddschecker...");const s=document.createElement("script");s.id=l,s.src="https://b2b-static.oddschecker.com/oc-widgets/oc-connect-widget/index.js",s.type="module",s.async=!0,s.onload=()=>{d.info("Script Oddschecker caricato con successo."),e()},s.onerror=e=>{d.error("Errore nel caricamento dello script Oddschecker",e),t(e)},document.head.appendChild(s)}),u))}().catch(e=>d.error("Fallback caricamento Oddschecker fallito",e)),!0)}hasAdvertisingConsent(){const e=c.s.get();if(!e)return!1;const t=(0,r.zY)(e,r.nb.StorageAndAccess),s=(0,r.zY)(e,r.nb.PersonalisedProfile),i=(0,r.zY)(e,r.nb.PersonalisedAds);return t&&(s||i)}}p.values={isMobile:{type:Boolean,default:!1},isDesktop:{type:Boolean,default:!1}},t.default=p}}]);
2//# sourceMappingURL=1623.c236aaf3.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.