(()=>{"use strict";var e,t={259:()=>{const e=window.wp.blocks,t=window.wp.element,r=(window.wp.i18n,window.wp.components),n=window.wp.blockEditor,o=JSON.parse('{"u2":"create-block/gradient-link-card"}');(0,e.registerBlockType)(o.u2,{edit:function({attributes:e,setAttributes:o}){return(0,t.createElement)("div",{...(0,n.useBlockProps)()},(0,t.createElement)("div",{className:"editor-inner"},(0,t.createElement)(r.TextControl,{label:"Title",value:e.title,onChange:e=>o({title:e})}),(0,t.createElement)(r.TextControl,{label:"href",value:e.href,onChange:e=>o({href:e})}),(0,t.createElement)(r.TextControl,{label:"body",value:e.body,onChange:e=>o({body:e})})))},save:function({attributes:e}){return(0,t.createElement)("div",{...n.useBlockProps.save()},(0,t.createElement)("a",{href:e.href},(0,t.createElement)("h2",null,e.title),e.body&&(0,t.createElement)("p",null,e.body)))}})}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var l=r[e]={exports:{}};return t[e](l,l.exports,n),l.exports}n.m=t,e=[],n.O=(t,r,o,l)=>{if(!r){var a=1/0;for(d=0;d<e.length;d++){r=e[d][0],o=e[d][1],l=e[d][2];for(var i=!0,c=0;c<r.length;c++)(!1&l||a>=l)&&Object.keys(n.O).every((e=>n.O[e](r[c])))?r.splice(c--,1):(i=!1,l<a&&(a=l));if(i){e.splice(d--,1);var s=o();void 0!==s&&(t=s)}}return t}l=l||0;for(var d=e.length;d>0&&e[d-1][2]>l;d--)e[d]=e[d-1];e[d]=[r,o,l]},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={826:0,431:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var o,l,a=r[0],i=r[1],c=r[2],s=0;if(a.some((t=>0!==e[t]))){for(o in i)n.o(i,o)&&(n.m[o]=i[o]);if(c)var d=c(n)}for(t&&t(r);s<a.length;s++)l=a[s],n.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return n.O(d)},r=self.webpackChunkgradient_link_card=self.webpackChunkgradient_link_card||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var o=n.O(void 0,[431],(()=>n(259)));o=n.O(o)})();