File: /home/exhehbu/wp/wp-content/plugins/complianz-gdpr/settings/build/9296.f6f24b665e63e66496c7.js
"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[9296],{59296:(e,s,c)=>{c.r(s),c.d(s,{default:()=>n});var t=c(30809),i=c(61744);const n=(0,t.Su)(((e,s)=>({licenseStatus:cmplz_settings.licenseStatus,processing:!1,licenseNotices:[],noticesLoaded:!1,getLicenseNotices:async()=>{const{licenseStatus:s,notices:c}=await i.doAction("license_notices",{}).then((e=>e));e((e=>({noticesLoaded:!0,licenseNotices:c,licenseStatus:s})))},activateLicense:async s=>{let c={};c.license=s,e({processing:!0});const{licenseStatus:t,notices:n}=await i.doAction("activate_license",c);e((e=>({processing:!1,licenseNotices:n,licenseStatus:t})))},deactivateLicense:async()=>{e({processing:!0});const{licenseStatus:s,notices:c}=await i.doAction("deactivate_license");e((e=>({processing:!1,licenseNotices:c,licenseStatus:s})))}})))}}]);