(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[695],{3075:e=>{e.exports=function(){return this.wp.i18n}()},8601:e=>{e.exports=function(){return this.wp.element}()},22214:(e,t,o)=>{"use strict";o.r(t),o.d(t,{initialize:()=>f});var r=o(51609),n=o(38125),i=o(3075),a=o(8601),s=o(88356),c=o(81923);const l=(0,c.A)("div",{target:"e1w744p12"})({name:"ddxhyk",styles:"max-width:800px"}),u=(0,c.A)(s.DZ,{target:"e1w744p11"})({name:"k82dzb",styles:"margin:2rem 0"}),p=(0,c.A)("div",{target:"e1w744p10"})({name:"o0x664",styles:"padding-bottom:2rem"});function d({twoFactorOnboard:e,user:t}){const o="not-enabled"===t.solid_2fa?(0,i.__)("Enable","better-wp-security"):(0,i.__)("Configure","better-wp-security");return(0,r.createElement)(l,null,(0,r.createElement)(u,{level:3,size:s.$C.LARGE,variant:s.J3.DARK,weight:s.uL.HEAVY,text:(0,i.__)("Two-Factor Authentication","better-wp-security")}),(0,r.createElement)(p,null,(0,r.createElement)("p",null,(0,a.createInterpolateElement)((0,i.__)("Enabling two-factor authentication greatly increases the security of your user account on this site. With two-factor authentication enabled, after you submit your username and password, you will be asked for an additional authentication code to complete your login. <b>Two-factor authentication codes can come from an app that runs on your mobile device, an email that is sent to you after you log in with your username and password, or from a pre-generated list of codes.</b> The button below allows you to configure which of these authentication code providers are enabled for your user.","better-wp-security"),{b:(0,r.createElement)("strong",null)}))),(0,r.createElement)(s.$n,{href:e,variant:"primary",text:o}))}var w=o(30177);function f({twoFactorOnboard:e}){(0,n.registerPlugin)("itsec-two-factor-profile",{render:()=>(0,r.createElement)(w.UserProfileFill,null,(({name:t,userId:o,user:n})=>"itsec-two-factor-profile"===t&&(0,r.createElement)(d,{userId:o,twoFactorOnboard:e,user:n}))),order:3,label:(0,i.__)("Two-Factor Authentication","better-wp-security"),scope:"solid-security-user-profile",isAvailable:(e,t)=>"not-available"!==e.solid_2fa&&null!==e.solid_2fa&&t===e.id})}o.p=window.itsecWebpackPublicPath,(0,i.setLocaleData)({"":{}},"ithemes-security-pro")},30177:e=>{e.exports=function(){return this.itsec.pages.profile}()},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}()},89897:e=>{e.exports=function(){return this.wp.compose}()},89959:e=>{e.exports=function(){return this.wp.date}()}},e=>{e.O(0,[8356],(()=>e(e.s=22214)));var t=e.O();((window.itsec=window.itsec||{})["two-factor"]=window.itsec["two-factor"]||{}).profile=t}]);