"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[6348],{6348:(e,t,c)=>{c.r(t),c.d(t,{default:()=>s});var n=c(51280),l=c(88496),r=c(15832),a=c(24300),o=c.n(a);const s=(0,l.memo)((({conclusion:e,delay:t})=>{const[c,a]=(0,l.useState)(!0);(0,l.useEffect)((()=>{setTimeout((()=>{s()}),t)}));const s=()=>{a(!1)};let m="green";return"warning"===e.report_status&&(m="orange"),"error"===e.report_status&&(m="red"),(0,n.createElement)(n.Fragment,null,c&&(0,n.createElement)("li",{className:"cmplz-conclusion__check icon-loading"},(0,n.createElement)(r.default,{name:"loading",color:"grey"}),(0,n.createElement)("div",{className:"cmplz-conclusion__check--report-text"}," ",e.check_text," ")),!c&&(0,n.createElement)("li",{className:"cmplz-conclusion__check icon-"+e.report_status},(0,n.createElement)(r.default,{name:e.report_status,color:m}),(0,n.createElement)("div",{className:"cmplz-conclusion__check--report-text",dangerouslySetInnerHTML:{__html:o().sanitize(e.report_text)}}," ")))}))}}]);