"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:()=>i});var s=a(86087),r=a(27723),l=a(88770),n=a(7511);const i=(0,s.memo)((()=>{const{measuresDataLoaded:e,measures:t,has_7:a,getMeasuresData:i}=(0,l.default)(),{statusLoaded:c,startPluginAction:u,pluginAction:o}=(0,n.default)();(0,s.useEffect)((()=>{"status"!==o&&i()}),[o]);let d=c?o:"loading";if(c&&"installed"!==d&&"upgrade-to-premium"!==d){let e="activate"===d?(0,r.__)("Please activate Really Simple SSL & Security to unlock this feature.","complianz-gdpr"):(0,r.__)("Please install Really Simple SSL & Security to unlock this feature.","complianz-gdpr");return"loading"===d&&(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,r.__)("Not installed","complianz-gdpr")),(0,s.createElement)("span",null,e)))}const m={vulnerability_detection:(0,r.__)("Vulnerability Detection","complianz-gdpr"),recommended_headers:(0,r.__)("HTTP Strict Transport Security and related security headers","complianz-gdpr"),ssl:(0,r.__)("TLS / SSL","complianz-gdpr"),hardening:(0,r.__)("Recommended site hardening features","complianz-gdpr")},p=({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},m[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,r.__)("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,r.__)("The security measures we use consist of, but are not limited to:","complianz-gdpr")),t.map(((e,t)=>(0,s.createElement)(p,{key:t,measure:e})))),e&&0===t.length&&a&&(0,r.__)("No security measures enabled in Really Simple SSL & Security","complianz-gdpr"),e&&!a&&(0,r.__)("Please upgrade Really Simple SSL & 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})))}})))}}]);