(()=>{"use strict";const e=window.React,t=window.wp.blocks,s=window.wp.i18n,n=window.wp.blockEditor,o=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"wp-event-genius/event-export","title":"Event Export","category":"event-genius","description":"Displays the \'Add to Calendar\' export button with calendar options.","textdomain":"event-genius","editorScript":"file:./build/index.js","editorStyle":["evge_common","evge_single_post"],"style":["evge_common","evge_single_post"],"render":"file:./render.php","attributes":{"eventId":{"type":"number","default":0}},"usesContext":["postId","postType"],"supports":{"html":false,"spacing":{"margin":true,"padding":true}}}');(0,t.registerBlockType)(o.name,{...o,edit:()=>{const t=(0,n.useBlockProps)({className:"evge-block-placeholder"});return(0,e.createElement)("div",{...t},(0,e.createElement)("div",{className:"evge-export-list-wrap"},(0,e.createElement)("button",{className:"evge-button evge-secondary evge-gray-button evge-export-list",disabled:!0},(0,e.createElement)("span",{className:"evge-icon-text"},(0,e.createElement)("span",{dangerouslySetInnerHTML:{__html:'<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 448 512">\x3c!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--\x3e<path d="M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zm256 96c0-17.7-14.3-32-32-32s-32 14.3-32 32v48H144c-17.7 0-32 14.3-32 32s14.3 32 32 32h48v48c0 17.7 14.3 32 32 32s32-14.3 32-32V384h48c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V288z"/></svg>'}}),(0,s.__)("Add to Calendar","event-genius")))))},save:()=>null})})();