(()=>{"use strict";var e,t={674(){const e=window.wp.blocks,t=window.wp.i18n,a=window.wp.blockEditor,n=window.ReactJSXRuntime,i=JSON.parse('{"UU":"clanbite/team-card"}');(0,e.registerBlockType)(i.UU,{edit:function({attributes:e,setAttributes:i}){const{teamName:r,gameTitle:o,description:l}=e;return(0,n.jsxs)("div",{...(0,a.useBlockProps)(),children:[(0,n.jsx)(a.RichText,{tagName:"h3",value:r,onChange:e=>i({teamName:e}),placeholder:(0,t.__)("Team name","clanbite")}),(0,n.jsx)(a.RichText,{tagName:"p",value:o,onChange:e=>i({gameTitle:e}),placeholder:(0,t.__)("Game title (optional)","clanbite")}),(0,n.jsx)(a.RichText,{tagName:"p",value:l,onChange:e=>i({description:e}),placeholder:(0,t.__)("Team description (optional)","clanbite")})]})},save:function({attributes:e}){const{teamName:t,gameTitle:i,description:r}=e;return(0,n.jsxs)("div",{...a.useBlockProps.save(),children:[(0,n.jsx)(a.RichText.Content,{tagName:"h3",value:t}),i?(0,n.jsx)(a.RichText.Content,{tagName:"p",value:i}):null,r?(0,n.jsx)(a.RichText.Content,{tagName:"p",value:r}):null]})}})}},a={};function n(e){var i=a[e];if(void 0!==i)return i.exports;var r=a[e]={exports:{}};return t[e](r,r.exports,n),r.exports}n.m=t,e=[],n.O=(t,a,i,r)=>{if(!a){var o=1/0;for(p=0;p<e.length;p++){for(var[a,i,r]=e[p],l=!0,s=0;s<a.length;s++)(!1&r||o>=r)&&Object.keys(n.O).every(e=>n.O[e](a[s]))?a.splice(s--,1):(l=!1,r<o&&(o=r));if(l){e.splice(p--,1);var c=i();void 0!==c&&(t=c)}}return t}r=r||0;for(var p=e.length;p>0&&e[p-1][2]>r;p--)e[p]=e[p-1];e[p]=[a,i,r]},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={1237:0,8985:0};n.O.j=t=>0===e[t];var t=(t,a)=>{var i,r,[o,l,s]=a,c=0;if(o.some(t=>0!==e[t])){for(i in l)n.o(l,i)&&(n.m[i]=l[i]);if(s)var p=s(n)}for(t&&t(a);c<o.length;c++)r=o[c],n.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return n.O(p)},a=globalThis.webpackChunkclanbite=globalThis.webpackChunkclanbite||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})();var i=n.O(void 0,[8985],()=>n(674));i=n.O(i)})();