(()=>{"use strict";var e,r={583:()=>{const e=window.wp.blocks,r=window.wp.i18n,o=window.wp.blockEditor,n=window.wp.components,t=window.wp.data,i=window.ReactJSXRuntime,s=JSON.parse('{"UU":"buntywp/threads-box"}');(0,e.registerBlockType)(s.UU,{edit:function({clientId:e}){const{insertBlocks:s}=(0,t.useDispatch)("core/block-editor"),l=(0,o.useInnerBlocksProps)({template:[["buntywp/thread-item"]]});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.BlockControls,{children:(0,i.jsx)(n.ToolbarGroup,{children:(0,i.jsx)(n.ToolbarButton,{icon:"plus",label:(0,r.__)("Add Experience","experience-block"),onClick:()=>{const r=Array.from({length:3},(()=>wp.blocks.createBlock("buntywp/thread-item")));s(r,void 0,e)}})})}),(0,i.jsx)("div",{...(0,o.useBlockProps)(),children:(0,i.jsx)("div",{...l})})]})},save:function(){return(0,i.jsx)("div",{...o.useBlockProps.save(),children:(0,i.jsx)(o.InnerBlocks.Content,{})})}})}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={exports:{}};return r[e](i,i.exports,n),i.exports}n.m=r,e=[],n.O=(r,o,t,i)=>{if(!o){var s=1/0;for(p=0;p<e.length;p++){for(var[o,t,i]=e[p],l=!0,c=0;c<o.length;c++)(!1&i||s>=i)&&Object.keys(n.O).every((e=>n.O[e](o[c])))?o.splice(c--,1):(l=!1,i<s&&(s=i));if(l){e.splice(p--,1);var a=t();void 0!==a&&(r=a)}}return r}i=i||0;for(var p=e.length;p>0&&e[p-1][2]>i;p--)e[p]=e[p-1];e[p]=[o,t,i]},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={379:0,499:0};n.O.j=r=>0===e[r];var r=(r,o)=>{var t,i,[s,l,c]=o,a=0;if(s.some((r=>0!==e[r]))){for(t in l)n.o(l,t)&&(n.m[t]=l[t]);if(c)var p=c(n)}for(r&&r(o);a<s.length;a++)i=s[a],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(p)},o=globalThis.webpackChunkthread_block=globalThis.webpackChunkthread_block||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})();var t=n.O(void 0,[499],(()=>n(583)));t=n.O(t)})();