(()=>{"use strict";var e,t={827:()=>{const e=window.wp.element,t=window.wp.blocks,r=window.wp.i18n,o=window.wp.blockEditor,n=window.wp.components,l=window.wp.data;window.wp.coreData,window.wp.date;const a=JSON.parse('{"u2":"crosswinds-blocks/project-tag-search"}');(0,t.registerBlockType)(a.u2,{icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,e.createElement)("path",{fill:"#171247",class:"fa-primary",d:"M256 192c17.67 0 32-14.33 32-32c0-17.67-14.33-32-32-32S224 142.3 224 160C224 177.7 238.3 192 256 192zM296 336h-16V248C280 234.8 269.3 224 256 224H224C210.8 224 200 234.8 200 248S210.8 272 224 272h8v64h-16C202.8 336 192 346.8 192 360S202.8 384 216 384h80c13.25 0 24-10.75 24-24S309.3 336 296 336z"}),(0,e.createElement)("path",{fill:"#8200ff",class:"fa-secondary",d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z"}))},edit:function(t){const{setAttributes:a,attributes:c}=t,{label:s}=c;let i=[];i=(0,l.useSelect)((e=>e("core").getEntityRecords("taxonomy","project_tag")),[]);let p=[];null!==i&&(p=i.map((t=>(0,e.createElement)("option",{key:t.id},t.name))));const w=(0,e.createElement)(e.Fragment,null,(0,e.createElement)(o.InspectorControls,null,(0,e.createElement)(n.PanelBody,{title:(0,r.__)("Category Search Settings","crosswinds-blocks")},(0,e.createElement)(n.TextControl,{label:(0,r.__)("Label","crosswinds-blocks"),value:s,onChange:e=>a({label:e})}))));return(0,e.createElement)(e.Fragment,null,w,(0,e.createElement)("div",(0,o.useBlockProps)(),(0,e.createElement)("label",{htmlFor:"project-tag-search"},s),(0,e.createElement)("select",{id:"project-tag-search"},p)))}})}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var l=r[e]={exports:{}};return t[e](l,l.exports,o),l.exports}o.m=t,e=[],o.O=(t,r,n,l)=>{if(!r){var a=1/0;for(p=0;p<e.length;p++){for(var[r,n,l]=e[p],c=!0,s=0;s<r.length;s++)(!1&l||a>=l)&&Object.keys(o.O).every((e=>o.O[e](r[s])))?r.splice(s--,1):(c=!1,l<a&&(a=l));if(c){e.splice(p--,1);var i=n();void 0!==i&&(t=i)}}return t}l=l||0;for(var p=e.length;p>0&&e[p-1][2]>l;p--)e[p]=e[p-1];e[p]=[r,n,l]},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={9546:0,3351:0};o.O.j=t=>0===e[t];var t=(t,r)=>{var n,l,[a,c,s]=r,i=0;if(a.some((t=>0!==e[t]))){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);if(s)var p=s(o)}for(t&&t(r);i<a.length;i++)l=a[i],o.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return o.O(p)},r=globalThis.webpackChunkstarter_block=globalThis.webpackChunkstarter_block||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var n=o.O(void 0,[3351],(()=>o(827)));n=o.O(n)})();