1import{g as s,p as a}from"./chunk-THA5B2ZL.js";import{a as i,b as o}from"./chunk-2NFLSA4Y.js";var r="kensa-cookie-consent",d=2,c=class n{decided=a(!1);analytics=a(!1);marketing=a(!1);hasDecided=this.decided.asReadonly();analyticsEnabled=this.analytics.asReadonly();marketingEnabled=this.marketing.asReadonly();constructor(){this.restore()}restore(){if(!(typeof localStorage>"u"))try{let e=localStorage.getItem(r);if(!e)return;let t=JSON.parse(e);if(t.v!==d)return;this.analytics.set(!!t.analytics),this.marketing.set(!!t.marketing),this.decided.set(!0)}catch{}}acceptAll(){this.persist({analytics:!0,marketing:!0})}rejectAll(){this.persist({analytics:!1,marketing:!1})}save(e){this.persist(e)}reopen(){this.decided.set(!1)}persist(e){if(this.analytics.set(e.analytics),this.marketing.set(e.marketing),this.decided.set(!0),typeof localStorage<"u")try{let t=o(i({},e),{v:d,ts:Date.now()});localStorage.setItem(r,JSON.stringify(t))}catch{}this.updateConsentMode(),typeof location<"u"&&location.reload()}updateConsentMode(){let e=t=>t?"granted":"denied";this.gtag("consent","update",{analytics_storage:e(this.analytics()),ad_storage:e(this.marketing()),ad_user_data:e(this.marketing()),ad_personalization:e(this.marketing())})}gtag(...e){if(typeof window>"u")return;let t=window;if(typeof t.gtag=="function"){t.gtag(...e);return}t.dataLayer=t.dataLayer||[],t.dataLayer.push(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=s({token:n,factory:n.\u0275fac,providedIn:"root"})};export{c as a};
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.