!function(){"use strict";var e=window.wp.blocks,t=window.wp.element,r=window.wp.i18n,i=window.wp.blockEditor;var l=e=>{const{attributes:l,setAttributes:a}=e,{title:o}=l,s=(0,i.useBlockProps)();return(0,t.createElement)("div",s,(0,t.createElement)(i.RichText,{className:"wp-block-example-block__title",tagName:"h2",placeholder:(0,r.__)("Custom Title"),value:o,onChange:e=>a({title:e})}))};var a=()=>null,o=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"title":"Example Block","description":"An Example Block","textdomain":"leadgen","name":"leadgen/example","icon":"feedback","category":"lg-basic","attributes":{"title":{"type":"string"},"anchor":{"type":"string","default":""},"style":{"type":"object"}},"example":{"attributes":{"title":"Example Block"}},"supports":{"align":["wide","full"],"textAlign":true,"alignContent":true,"anchor":true,"ariaLabel":true,"className":true,"customClassName":true,"color":{"text":true,"background":true,"link":true},"defaultStylePicker":true,"__experimentalBorder":{"color":true,"style":true,"width":true,"radius":true},"html":false,"inserter":true,"interactivity":false,"layout":{"type":"flex","justifyContent":"center"},"multiple":true,"reusable":true,"spacing":{"margin":["top","right","bottom","left"],"padding":["top","right","bottom","left"],"blockGap":true},"typography":{"fontSize":true,"lineHeight":true,"fontFamily":true,"textTransform":true}},"editorScript":"file:./index.js","editorStyle":"file:./editor.css","style":"file:./style.css","viewScript":"file:./view.js","viewScriptModule":"file:./view-module.js","script":"file:./script.js"}');(0,e.registerBlockType)(o,{edit:l,save:a})}();