!function(){"use strict";var e={};(function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e);var t=window.lodash,n=window.wp.plugins,o=window.wp.element,i=window.wp.i18n,s=window.wp.editPost,r=window.wp.components,u=window.wp.data;(0,t.has)(window.nisjeFeedLayoutSettings,"memberTypes")&&(0,n.registerPlugin)("nisje-feed-layouts-membertype",{render:function(){const e=(0,u.useSelect)((e=>e("core/editor").getEditedPostAttribute("meta").member_type)),{editPost:n}=(0,u.useDispatch)("core/editor");return(0,o.createElement)(s.PluginPostStatusInfo,null,(0,o.createElement)(r.SelectControl,{label:(0,i.__)("Membertype","nisje"),help:(0,i.__)("Select membertype to get this frontpage","nisje"),value:e,options:[{label:(0,i.__)("No membertype connection","nisje"),value:""},...(0,t.get)(window.nisjeFeedLayoutSettings,"memberTypes",[])],onChange:function(e){n({meta:{member_type:e}})}}))}}),(0,t.has)(window.nisjeFeedLayoutSettings,"groups")&&(0,n.registerPlugin)("nisje-feed-layouts-group",{render:function(){const e=(0,u.useSelect)((e=>e("core/editor").getEditedPostAttribute("meta").group_id)),{editPost:n}=(0,u.useDispatch)("core/editor");return(0,o.createElement)(s.PluginPostStatusInfo,null,(0,o.createElement)(r.SelectControl,{label:(0,i.__)("Group","nisje"),help:(0,i.__)("Select group to get this frontpage","nisje"),value:e,options:[{label:(0,i.__)("No group connection","nisje"),value:""},...(0,t.get)(window.nisjeFeedLayoutSettings,"groups",[])],onChange:function(e){n({meta:{group_id:e}})}}))}}),(window.nisje=window.nisje||{}).pluginFeedLayoutsAdmin=e}();