!function(){"use strict";var e={n:function(n){var a=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(a,{a:a}),a},d:function(n,a){for(var s in a)e.o(a,s)&&!e.o(n,s)&&Object.defineProperty(n,s,{enumerable:!0,get:a[s]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n=window.wp.domReady,a=e.n(n),s=window.wp.element,t=window.wp.i18n,r=window.wp.components;const o=()=>{const e="undefined"!=typeof ninja_forms_admin_dashboard_data&&void 0!==ninja_forms_admin_dashboard_data.pluginDir?ninja_forms_admin_dashboard_data.pluginDir.concat("ninja-forms/assets/img/promotions/dashboard-user-management.png"):"";return(0,s.createElement)(r.Card,{className:"widget"},(0,s.createElement)(r.CardHeader,null,(0,s.createElement)("h2",null,(0,t.__)("User Access allow you to manage who can see and edit form submissions from an easy to use control panel.","ninja-forms"))),(0,s.createElement)(r.CardBody,null,(0,s.createElement)("h3",null,(0,t.__)("Grant or restrict access for :","ninja-forms")),(0,s.createElement)("ul",{className:"nf-dashboard-user-access-ul-a"},(0,s.createElement)("li",{key:"nf-dashboard-user-access-li-a1"},(0,s.createElement)("h4",null,(0,t.__)("Viewing submissions","ninja-forms"))),(0,s.createElement)("li",{key:"nf-dashboard-user-access-li-a2"},(0,s.createElement)("h4",null,(0,t.__)("Editing submissions","ninja-forms"))),(0,s.createElement)("li",{key:"nf-dashboard-user-access-li-a3"},(0,s.createElement)("h4",null,(0,t.__)("Set permissions by user role","ninja-forms"))),(0,s.createElement)("li",{key:"nf-dashboard-user-access-li-a4"},(0,s.createElement)("h4",null,(0,t.__)("Let users edit their submissions","ninja-forms"))),(0,s.createElement)("li",{key:"nf-dashboard-user-access-li-a5"},(0,s.createElement)("h4",null,(0,t.__)("Delegate submission management","ninja-forms")))),(0,s.createElement)("h3",null,(0,t.__)("User Access controls are just one of the many things you can do with the User Management add-on!","ninja-forms")),(0,s.createElement)("div",{className:"nf-dashboard-user-access-button"},(0,s.createElement)(r.Button,{className:"nf-button primary",text:(0,t.__)("Get User Management","ninja-forms"),href:"https://ninjaforms.com/extensions/user-management/?utm_source=Ninja+Forms+Plugin&utm_medium=Dashboard+User+Access",target:"_blank",icon:"admin-collapse",iconPosition:"right"}))),(0,s.createElement)(r.CardFooter,null,(0,s.createElement)(r.CardMedia,null,(0,s.createElement)("figure",null,(0,s.createElement)("figcaption",null,(0,t.__)("User Access Control Panel","ninja-forms")),(0,s.createElement)("img",{className:"nf-user-access-dasboard-screenshot",src:e,alt:(0,t.__)("Ninja Forms User Management Submissions Access settings screenshot","ninja-forms")})))))};a()((()=>{l(),c.observe(document.getElementById("ninja-forms-dashboard"),{subtree:!0,childList:!0})}));const c=new MutationObserver((function(e){e.forEach((e=>{e.addedNodes.forEach((e=>{"nf-user-access-settings-anchor"==e.id&&ninja_forms_admin_dashboard_data.load_user_management&&i()}))}))})),i=()=>{(0,s.render)((0,s.createElement)(o),document.getElementById("nf-user-access-settings-anchor"))},l=()=>{jQuery(document).ajaxComplete((()=>{"#user-access"===window.location.hash&&m(),jQuery('a[href="#user-access"]').on("click",(e=>{e.preventDefault(),m()}))}))},m=()=>{jQuery("nav.sections a.active").removeClass("active"),jQuery("nav.sections .user-access a").addClass("active"),"#user-access"!==window.location.hash&&(window.location.hash="user-access"),jQuery("#ninja-forms-dashboard > div > .content > div")[0].innerHTML='<div id="nf-user-access-settings-anchor"></div>'}}();