(()=>{"use strict";var e,o={769:()=>{const e=window.wp.blocks,o=window.wp.components,n=window.wp.blockEditor,l=window.wp.i18n,t=JSON.parse('{"UU":"pronamic/form-label"}'),r=window.ReactJSXRuntime;(0,e.registerBlockType)(t.UU,{edit:({attributes:e,setAttributes:t})=>{const{tagName:a,content:i}=e,s=(0,n.useBlockProps)();return(0,r.jsxs)("div",{...s,children:[(0,r.jsx)(n.InspectorControls,{children:(0,r.jsxs)(o.PanelBody,{title:(0,l.__)("Settings","pronamic-pay-doneren-met-mollie"),children:[(0,r.jsx)(o.SelectControl,{label:(0,l.__)("HTML element","pronamic-pay-doneren-met-mollie"),options:[{label:(0,l.__)("Default (<label>)","pronamic-pay-doneren-met-mollie"),value:"label"},{label:"<span>",value:"span"}],value:a,onChange:e=>t({tagName:e})}),"label"===a&&(0,r.jsx)(o.TextControl,{autoComplete:"off",label:(0,l.__)("For","pronamic-pay-doneren-met-mollie"),value:e.htmlFor,onChange:e=>{t({htmlFor:e})}})]})}),(0,r.jsx)(n.RichText,{tagName:"label",value:e.content,onChange:e=>t({content:e}),placeholder:(0,l.__)("Enter label…","pronamic-pay-doneren-met-mollie")})]})},save({attributes:e}){const o=n.useBlockProps.save(),l="label"===e.tagName?e.htmlFor:null;return(0,r.jsx)("div",{...o,children:(0,r.jsx)(n.RichText.Content,{tagName:e.tagName,value:e.content,for:""===l?null:l})})}})}},n={};function l(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return o[e](r,r.exports,l),r.exports}l.m=o,e=[],l.O=(o,n,t,r)=>{if(!n){var a=1/0;for(c=0;c<e.length;c++){for(var[n,t,r]=e[c],i=!0,s=0;s<n.length;s++)(!1&r||a>=r)&&Object.keys(l.O).every(e=>l.O[e](n[s]))?n.splice(s--,1):(i=!1,r<a&&(a=r));if(i){e.splice(c--,1);var p=t();void 0!==p&&(o=p)}}return o}r=r||0;for(var c=e.length;c>0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[n,t,r]},l.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={157:0,449:0};l.O.j=o=>0===e[o];var o=(o,n)=>{var t,r,[a,i,s]=n,p=0;if(a.some(o=>0!==e[o])){for(t in i)l.o(i,t)&&(l.m[t]=i[t]);if(s)var c=s(l)}for(o&&o(n);p<a.length;p++)r=a[p],l.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return l.O(c)},n=globalThis.webpackChunk_pronamic_pronamic_pay_doneren_met_mollie=globalThis.webpackChunk_pronamic_pronamic_pay_doneren_met_mollie||[];n.forEach(o.bind(null,0)),n.push=o.bind(null,n.push.bind(n))})();var t=l.O(void 0,[449],()=>l(769));t=l.O(t)})();