"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[5575,7511,8770],{7511:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var s=a(81621),r=a(9588);const l=(0,s.vt)(((e,t)=>({apiRequestActive:!1,pluginAction:"status",wordPressUrl:"#",upgradeUrl:"#",rating:[],statusLoaded:!1,setStatusLoaded:t=>{e({statusLoaded:t})},startPluginAction:(a,s)=>{let l={};e({apiRequestActive:!0}),l.pluginAction=void 0!==s?s:t().pluginAction,l.slug=a;let n=!1;"download"===l.pluginAction&&(n="activate"),r.doAction("plugin_actions",l).then((s=>{e({pluginAction:s.pluginAction,wordPressUrl:s.wordpress_url,upgradeUrl:s.upgrade_url});let r=Math.round(s.star_rating.rating/10,0)/2;e({rating:r,ratingCount:s.star_rating.rating_count,apiRequestActive:!1,statusLoaded:!0}),"activate"===n&&"installed"!==s.pluginAction&&t().startPluginAction(a,s.pluginAction)}))}})))},35575:(e,t,a)=>{a.r(t),a.d(t,{default:()=>c});var s=a(51609),r=a(86087),l=a(27723),n=a(88770),i=a(7511);const c=(0,r.memo)((()=>{const{measuresDataLoaded:e,measures:t,has_7:a,getMeasuresData:c}=(0,n.default)(),{statusLoaded:u,startPluginAction:o,pluginAction:d}=(0,i.default)();(0,r.useEffect)((()=>{"status"!==d&&c()}),[d]);let m=u?d:"loading";if(u&&"installed"!==m&&"upgrade-to-premium"!==m){let e="activate"===m?(0,l.__)("Please activate Really Simple Security to unlock this feature.","complianz-gdpr"):(0,l.__)("Please install Really Simple Security to unlock this feature.","complianz-gdpr");return"loading"===m&&(e="..."),(0,s.createElement)("div",{className:"cmplz-locked"},(0,s.createElement)("div",{className:"cmplz-locked-overlay"},(0,s.createElement)("span",{className:"cmplz-task-status cmplz-open"},(0,l.__)("Not installed","complianz-gdpr")),(0,s.createElement)("span",null,e)))}const p={vulnerability_detection:(0,l.__)("Vulnerability Detection","complianz-gdpr"),recommended_headers:(0,l.__)("HTTP Strict Transport Security and related security headers","complianz-gdpr"),ssl:(0,l.__)("TLS / SSL","complianz-gdpr"),hardening:(0,l.__)("Recommended site hardening features","complianz-gdpr")},g=({measure:e})=>{let t=e.enabled?"cmplz-measure-enabled":"cmplz-measure-disabled";return(0,s.createElement)("ul",{className:"cmplz-measure"},(0,s.createElement)("li",{className:"cmplz-measure-description "+t},p[e.id]))};return(0,s.createElement)("div",{className:"cmplz-measures-container"},e&&a&&t.length>0&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)("p",null,(0,l.__)("We are committed to the security of personal data. We take appropriate security measures to limit abuse of and unauthorized access to personal data. This ensures that only the necessary persons have access to your data, that access to the data is protected, and that our security measures are regularly reviewed.","complianz-gdpr")),(0,s.createElement)("p",null,(0,l.__)("The security measures we use consist of, but are not limited to:","complianz-gdpr")),t.map(((e,t)=>(0,s.createElement)(g,{key:t,measure:e})))),e&&0===t.length&&a&&(0,l.__)("No security measures enabled in Really Simple Security","complianz-gdpr"),e&&!a&&(0,l.__)("Please upgrade Really Simple Security to the latest version to unlock this feature.","complianz-gdpr"),!e&&(0,s.createElement)(s.Fragment,null,"..."))}))},88770:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var s=a(81621),r=a(9588);const l=(0,s.vt)(((e,t)=>({measures:{},has_7:!1,measuresDataLoaded:!1,getMeasuresData:async()=>{const{measures:t,has_7:a}=await r.doAction("get_security_measures_data",{}).then((e=>e));e((e=>({measuresDataLoaded:!0,measures:t,has_7:a})))}})))}}]);