"use strict";(self.webpackChunkfooconvert=self.webpackChunkfooconvert||[]).push([[408],{5246:function(t,n,e){var o=e(1215),c=e(5055);const i=new CSSStyleSheet;i.replaceSync(c.A);const r=document.createElement("template");r.innerHTML='<button part="button" type="button" tabindex="0">\n    <slot></slot>\n</button>';class s extends o.CustomElement{static get observedAttributes(){return["prompt"]}constructor(){super(),this.attachShadow({mode:"open"}).append(r.content.cloneNode(!0)),this.shadowRoot.adoptedStyleSheets.push(i),this.#t=this.shadowRoot.querySelector("[part~=button]"),this.onClick=this.onClick.bind(this)}#t=null;get buttonElement(){return this.#t}connected(){super.connected(),this.buttonElement.addEventListener("click",this.onClick)}disconnected(){super.disconnected(),this.buttonElement.removeEventListener("click",this.onClick)}onClick(t){t.preventDefault(),alert("Hello World!")}}var l=s;globalThis.customElements&&globalThis.customElements.define("fc-example-block",l),globalThis.FooConvert={...globalThis.FooConvert,ExampleElement:l}},5055:function(t,n,e){var o=e(1601),c=e.n(o),i=e(6314),r=e.n(i)()(c());r.push([t.id,":host{box-sizing:border-box;display:flex;align-items:center;justify-content:center;line-height:1.6}:host::part(button){box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;width:fit-content;height:fit-content;cursor:pointer;z-index:2}",""]),n.A=r.toString()},6314:function(t){t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e="",o=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),o&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),o&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e})).join("")},n.i=function(t,e,o,c,i){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(o)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(r[l]=!0)}for(var a=0;a<t.length;a++){var u=[].concat(t[a]);o&&r[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),e&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=e):u[2]=e),c&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=c):u[4]="".concat(c)),n.push(u))}},n}},1601:function(t){t.exports=function(t){return t[1]}},1215:function(t){t.exports=window.FooConvert}},function(t){t(t.s=5246)}]);