(()=>{"use strict";const e=window.wp.blocks;function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},t.apply(this,arguments)}const r=window.wp.element,n=window.wp.i18n,o=window.wp.blockEditor,s=JSON.parse('{"u2":"pmpro/account-links-section"}');(0,e.registerBlockType)(s.u2,{icon:{background:"#FFFFFF",foreground:"#1A688B",src:"external"},edit:function({attributes:e,setAttributes:s}){const i=(0,o.useBlockProps)({});return[(0,r.createElement)("div",t({className:"pmpro-block-element"},i),(0,r.createElement)("span",{className:"pmpro-block-title"},(0,n.__)("Paid Memberships Pro","paid-memberships-pro")),(0,r.createElement)("span",{className:"pmpro-block-subtitle"},(0,n.__)("Membership Account: Member Links","paid-memberships-pro")),(0,r.createElement)("input",{placeholder:(0,n.__)("No title will be shown.","paid-memberships-pro"),type:"text",value:e.title,className:"block-editor-plain-text",onChange:e=>{s({title:e.target.value})}}))]}})})();