(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[727],{18602:(e,t,s)=>{"use strict";s.r(t);var n=s(6293),l=s(95122),i=s(3571),r=s(92819),c=s(48015),a=s(7980);function u(){return(0,n.createElement)(React.Fragment,null,(0,n.createElement)(a.ToolFill,{tool:"check-file-permissions"},(0,n.createElement)(o,null)))}function o(){const e=(0,c.useSelect)((e=>e(a.TOOLS_STORE_NAME).getLastResult("check-file-permissions")));if(!e||!e.isSuccess())return null;const t=(0,n.createElement)("tr",null,(0,n.createElement)("th",null,(0,l.__)("Relative Path","better-wp-security")),(0,n.createElement)("th",null,(0,l.__)("Suggestion","better-wp-security")),(0,n.createElement)("th",null,(0,l.__)("Value","better-wp-security")),(0,n.createElement)("th",null,(0,l.__)("Result","better-wp-security")),(0,n.createElement)("th",null,(0,l.__)("Status","better-wp-security")));return(0,n.createElement)("div",{className:"itsec-check-file-permissions-results"},(0,n.createElement)("table",{className:"widefat striped"},(0,n.createElement)("thead",null,t),(0,n.createElement)("tbody",null,(0,r.map)(e.data,((e,t)=>(0,n.createElement)("tr",{key:t},(0,n.createElement)("th",null,e.path),(0,n.createElement)("td",null,e.suggested),(0,n.createElement)("td",null,e.actual),(0,n.createElement)("td",null,e.actual===e.suggested?(0,l.__)("Ok","better-wp-security"):(0,l.__)("Warning","better-wp-security")),(0,n.createElement)("td",{"aria-hidden":!0,className:"itsec-check-file-permissions-status itsec-check-file-permissions-status--"+(e.actual===e.suggested?"ok":"warning")},(0,n.createElement)("div",null)))))),(0,n.createElement)("tfoot",null,t)))}s.p=window.itsecWebpackPublicPath,(0,l.setLocaleData)({"":{}},"ithemes-security-pro"),(0,i.registerPlugin)("itsec-file-permissions-settings",{render:()=>(0,n.createElement)(u,null)})},7980:e=>{e.exports=function(){return this.itsec.pages.settings}()},48015:e=>{e.exports=function(){return this.wp.data}()},6293:e=>{e.exports=function(){return this.wp.element}()},95122:e=>{e.exports=function(){return this.wp.i18n}()},3571:e=>{e.exports=function(){return this.wp.plugins}()},92819:e=>{"use strict";e.exports=window.lodash}},e=>{var t=(18602,e(e.s=18602));((window.itsec=window.itsec||{})["file-permissions"]=window.itsec["file-permissions"]||{}).settings=t}]);