Module 153488

674 characters · in no known chunk
Dependencies
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(311907),i=n(73153);let s=!1,a=!1,o={},l=null;function u(e){let{consents:t}=e;null!=t&&(o={...o,...t},a=!0)}function c(e){let{consents:t}=e;o={...t},s=!0}function d(e){let{consents:t}=e;o={...t},s=!0}function _(e){l=e.consentRequired}function f(){l=null}class p extends r.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 h=new p(i.h,{CONNECTION_OPEN:u,OVERLAY_INITIALIZE:c,UPDATE_CONSENTS:d,SET_CONSENT_REQUIRED:_,LOGOUT:f})}