"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[3680],{51300:(e,l,a)=>{a.r(l),a.d(l,{default:()=>m});var t=a(51280),c=a(93396),n=a(15832),r=a(25536),s=a(64224),o=a(88496);const m=()=>{const{fields:e,getFieldValue:l}=(0,r.default)(),{showCookieBanner:a,fetchProgressData:m,progressLoaded:d}=(0,s.default)(),[i,p]=(0,o.useState)(!1),[u,g]=(0,o.useState)(!1),[h,z]=(0,o.useState)(!1);return(0,o.useEffect)((()=>{d||m()}),[]),(0,o.useEffect)((()=>{let e="yes"===l("enable_cookie_blocker")?"green":"grey";p(e),e=1==l("dont_use_placeholders")?"grey":"green",g(e),e=a?"green":"grey",z(e)}),[e,a]),(0,t.createElement)(t.Fragment,null,(0,t.createElement)("a",{href:"#wizard",className:"button button-primary"},(0,c.__)("Continue Wizard","complianz-gdpr")),(0,t.createElement)("div",{className:"cmplz-legend cmplz-flex-push-right"},(0,t.createElement)(n.default,{name:"circle-check",color:i,size:14}),(0,t.createElement)("span",null,(0,c.__)("Cookie Blocker","complianz-gdpr"))),(0,t.createElement)("div",{className:"cmplz-legend"},(0,t.createElement)(n.default,{name:"circle-check",color:u,size:14}),(0,t.createElement)("span",null,(0,c.__)("Placeholders","complianz-gdpr"))),(0,t.createElement)("div",{className:"cmplz-legend"},(0,t.createElement)(n.default,{name:"circle-check",color:h,size:14}),(0,t.createElement)("span",null,(0,c.__)("Consent Banner","complianz-gdpr"))))}}}]);