(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[4253],{3075:e=>{e.exports=function(){return this.wp.i18n}()},4818:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var n=s(55933),i=s(74848),r=(0,i.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,i.jsx)(n.Path,{d:"M12 3.176l6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 01-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176zM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21z",fillRule:"evenodd",clipRule:"evenodd"})})},6263:e=>{e.exports=function(){return this.itsec.pages["site-scan"]}()},8601:e=>{e.exports=function(){return this.wp.element}()},31987:e=>{e.exports=function(){return this.wp.data}()},38125:e=>{e.exports=function(){return this.wp.plugins}()},39959:e=>{e.exports=function(){return this.wp.components}()},51609:e=>{"use strict";e.exports=window.React},55933:e=>{e.exports=function(){return this.wp.primitives}()},77172:e=>{e.exports=function(){return this.wp.url}()},79860:e=>{e.exports=function(){return this.wp.keycodes}()},85631:e=>{e.exports=function(){return this.wp.apiFetch}()},89897:e=>{e.exports=function(){return this.wp.compose}()},89945:(e,t,s)=>{"use strict";var n=s(51609),i=s(38125),r=s(3075),o=s(31987),c=s(85631),u=s.n(c),a=s(6263),l=s(4818),p=s(26843);function w({issue:e}){return(0,n.createElement)(a.SiteScanIssue,{key:e.id,issue:e,icon:l.A},(0,n.createElement)(a.ScanIssueDetailContent,null,(0,n.createElement)(a.ScanIssueDetailColumn,null,(0,n.createElement)(p.EY,{text:(0,r.__)("Action Details:","better-wp-security"),weight:p.uL.HEAVY}),(0,n.createElement)(a.ScanIssueText,{text:(0,r.__)("Send a notification to this user to remind them to set up two-factor authentication.","better-wp-security")}))),(0,n.createElement)(a.SiteScanIssueActions,{issue:e}))}function h(){const{issues:e}=(0,o.useSelect)((e=>({issues:e(a.store).getIssuesForComponent("two-factor")})),[]);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(a.SiteScanIssuesFill,null,e.filter((e=>!e.muted)).map((e=>(0,n.createElement)(w,{key:e.id,issue:e})))),(0,n.createElement)(a.SiteScanMutedIssuesFill,null,e.filter((e=>e.muted)).map((e=>(0,n.createElement)(w,{key:e.id,issue:e})))))}s.p=window.itsecWebpackPublicPath,(0,r.setLocaleData)({"":{}},"ithemes-security-pro"),(0,i.registerPlugin)("itsec-two-factor-site-scan",{render:()=>(0,n.createElement)(h,null)}),(0,o.dispatch)(a.store).registerScanComponent({slug:"two-factor",priority:19,label:(0,r.__)("Two Factor","better-wp-security"),description:(0,r.__)("Check for users without two-factor enabled.","better-wp-security"),execute:async()=>u()({method:"GET",path:"/ithemes-security/v1/two-factor/scan"})})},89959:e=>{e.exports=function(){return this.wp.date}()},96126:e=>{e.exports=function(){return this.wp.deprecated}()}},e=>{e.O(0,[6843],(()=>e(e.s=89945)));var t=e.O();((window.itsec=window.itsec||{})["two-factor"]=window.itsec["two-factor"]||{})["site-scan"]=t}]);