Build 552118stable
Module 153488
659 characters · in no known chunkDependencies
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>c});var i=n(17928),r=n(228366);let s=!1,a=!1,o={},l=null;class u extends i.Ay.Store{static displayName="ConsentStore";hasConsented(e){return null!=o[e]&&o[e].consented}get consents(){return o}get fetchedConsents(){return s}get receivedConsentsInConnectionOpen(){return a}getAuthenticationConsentRequired(){return l}}let c=new u(r.h,{CONNECTION_OPEN:function(e){let{consents:t}=e;null!=t&&(o={...o,...t},a=!0)},OVERLAY_INITIALIZE:function(e){let{consents:t}=e;o={...t},s=!0},UPDATE_CONSENTS:function(e){let{consents:t}=e;o={...t},s=!0},SET_CONSENT_REQUIRED:function(e){l=e.consentRequired},LOGOUT:function(){l=null}})}