this.wp=this.wp||{},this.wp.blockLibrary=function(e){vart={};functionn(r){if(t[r])returnt[r].exports;varo=t[r]={i:r,l:!1,exports:{}};returne[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}returnn.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(varoine)n.d(r,o,function(t){returne[t]}.bind(null,o));returnr},n.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnn.d(t,"a",t),t},n.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=256)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.lodash}()},function(e,t,n){"use strict";functionr(e){if(void0===e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}n.d(t,"a",function(){returnr})},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,n){"use strict";n.d(t,"a",function(){returno});varr=n(15);functiono(e){for(vart=1;t<arguments.length;t++){varn=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeofObject.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){returnObject.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){Object(r.a)(e,t,n[t])})}returne}},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t,n){"use strict";functionr(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}functiono(e,t,n){returnt&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",function(){returno})},function(e,t,n){"use strict";functionr(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}n.d(t,"a",function(){returnr})},function(e,t,n){"use strict";n.d(t,"a",function(){returna});varr=n(32),o=n(3);functiona(e,t){return!t||"object"!==Object(r.a)(t)&&"function"!=typeoft?Object(o.a)(e):t}},function(e,t,n){"use strict";functionr(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){returne.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",function(){returnr})},function(e,t,n){"use strict";functionr(e,t){return(r=Object.setPrototypeOf||function(e,t){returne.__proto__=t,e})(e,t)}functiono(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",function(){returno})},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t,n){"use strict";functionr(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){returnr})},function(e,t,n){varr;
!function(){"use strict";varn=function(){functione(){}functiont(e,t){for(varn=t.length,r=0;r<n;++r)o(e,t[r])}e.prototype=Object.create(null);varn={}.hasOwnProperty;varr=/\s+/;functiono(e,o){if(o){vara=typeofo;"string"===a?function(e,t){for(varn=t.split(r),o=n.length,a=0;a<o;++a)e[n[a]]=!0}(e,o):Array.isArray(o)?t(e,o):"object"===a?function(e,t){for(varrint)n.call(t,r)&&(e[r]=!!t[r])}(e,o):"number"===a&&function(e,t){e[t]=!0}(e,o)}}returnfunction(){for(varn=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];vara=newe;t(a,r);varc=[];for(variina)a[i]&&c.push(i);returnc.join(" ")}}();e.exports?(n.default=n,e.exports=n):void0===(r=function(){returnn}.apply(t,[]))||(e.exports=r)}()},,,,function(e,t){!function(){e.exports=this.wp.coreData}()},,,,,,,,,,,,function(e,t,n){"use strict";varr=n(117),o=n(119);functiona(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=v,t.resolve=function(e,t){returnv(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){returne?v(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=v(e));returneinstanceofa?e.format():a.prototype.format.call(e)},t.Url=a;varc=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),d=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},O=n(120);functionv(e,t,n){if(e&&o.isObject(e)&&einstanceofa)returne;varr=newa;returnr.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))thrownewTypeError("Parameter 'url' must be a string, not "+typeofe);vara=e.indexOf("?"),i=-1!==a&&a<e.indexOf("#")?"?":"#",s=e.split(i);s[0]=s[0].replace(/\\/g,"/");varv=e=s.join(i);if(v=v.trim(),!n&&1===e.split("#").length){varj=l.exec(v);if(j)returnthis.path=v,this.href=v,this.pathname=j[1],j[2]?(this.search=j[2],this.query=t?O.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}vary=c.exec(v);if(y){var_=(y=y[0]).toLowerCase();this.protocol=_,v=v.substr(y.length)}if(n||y||v.match(/^\/\/[^@\/]+@[^@\/]+/)){varw="//"===v.substr(0,2);!w||y&&g[y]||(v=v.substr(2),this.slashes=!0)}if(!g[y]&&(w||y&&!f[y])){for(vark,C,E=-1,x=0;x<d.length;x++){-1!==(S=v.indexOf(d[x]))&&(-1===E||S<E)&&(E=S)}-1!==(C=-1===E?v.lastIndexOf("@"):v.lastIndexOf("@",E))&&(k=v.slice(0,C),v=v.slice(C+1),this.auth=decodeURIComponent(k)),E=-1;for(x=0;x<b.length;x++){varS;-1!==(S=v.indexOf(b[x]))&&(-1===E||S<E)&&(E=S)}-1===E&&(E=v.length),this.host=v.slice(0,E),v=v.slice(E),this.parseHost(),this.hostname=this.hostname||"";varT="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(varR=this.hostname.split(/\./),A=(x=0,R.length);x<A;x++){varN=R[x];if(N&&!N.match(m)){for(varB="",I=0,P=N.length;I<P;I++)N.charCodeAt(I)>127?B+="x":B+=N[I];if(!B.match(m)){varL=R.slice(0,x),M=R.slice(x+1),z=N.match(h);z&&(L.push(z[1]),M.unshift(z[2])),M.length&&(v="/"+M.join(".")+v),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));varH=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+H,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!p[_])for(x=0,A=u.length;x<A;x++){varF=u[x];if(-1!==v.indexOf(F)){varU=encodeURIComponent(F);U===F&&(U=escape(F)),v=v.split(F).join(U)}}varV=v.indexOf("#");-1!==V&&(this.hash=v.substr(V),v=v.slice(0,V));varW=v.indexOf("?");if(-1!==W?(this.search=v.substr(W),this.query=v.substr(W+1),t&&(this.query=O.parse(this.query)),v=v.slice(0,W)):t&&(this.search="",this.query={}),v&&(this.pathname=v),f[_]&&this.hostname&&!this.
e.exports=function(){"use strict";functione(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}functiont(e,t){returnfunction(e){if(Array.isArray(e))returne}(e)||function(e,t){varn=[],r=!0,o=!1,a=void0;try{for(varc,i=e[Symbol.iterator]();!(r=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throwa}}returnn}(e,t)||function(){thrownewTypeError("Invalid attempt to destructure non-iterable instance")}()}returnfunction(){functionn(){!function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,n)}returnr=n,(o=[{key:"getColorAsync",value:function(e,t,n){e.complete?t.call(e,this.getColor(e,n),n&&n.data):this._bindImageEvents(e,t,n)}},{key:"getColor",value:function(e,t){t=t||{};varn=this._getDefaultColor(t),r=this._getOriginalSize(e),o=this._prepareSizeAndPosition(r,t),a=null,c=n;if(!(o.srcWidth&&o.srcHeight&&o.destWidth&&o.destHeight))returnthis._prepareResult(n,newError("FastAverageColor: Incorrect sizes."));if(!this._ctx&&(this._canvas=this._makeCanvas(),this._ctx=this._canvas.getContext&&this._canvas.getContext("2d"),!this._ctx))returnthis._prepareResult(n,newError("FastAverageColor: Canvas Context 2D is not supported in this browser."));this._canvas.width=o.destWidth,this._canvas.height=o.destHeight;try{this._ctx.clearRect(0,0,o.destWidth,o.destHeight),this._ctx.drawImage(e,o.srcLeft,o.srcTop,o.srcWidth,o.srcHeight,0,0,o.destWidth,o.destHeight);vari=this._ctx.getImageData(0,0,o.destWidth,o.destHeight).data;c=this.getColorFromArray4(i,t)}catch(e){a=e}returnthis._prepareResult(c,a)}},{key:"getColorFromArray4",value:function(e,t){t=t||{};varn=e.length;if(n<4)returnthis._getDefaultColor(t);varr=n-n%4,o=4*(t.step||1),a="_"+(t.algorithm||"sqrt")+"Algorithm";if("function"!=typeofthis[a])thrownewError("FastAverageColor: ".concat(t.algorithm," is unknown algorithm."));returnthis[a](e,r,o)}},{key:"destroy",value:function(){deletethis._canvas,deletethis._ctx}},{key:"_getDefaultColor",value:function(e){returnthis._getOption(e,"defaultColor",[255,255,255,255])}},{key:"_getOption",value:function(e,t,n){returnvoid0===e[t]?n:e[t]}},{key:"_prepareSizeAndPosition",value:function(e,t){varn,r=this._getOption(t,"left",0),o=this._getOption(t,"top",0),a=this._getOption(t,"width",e.width),c=this._getOption(t,"height",e.height),i=a,l=c;return"precision"===t.mode?{srcLeft:r,srcTop:o,srcWidth:a,srcHeight:c,destWidth:i,destHeight:l}:(a>c?(n=a/c,i=100,l=Math.round(i/n)):(n=c/a,l=100,i=Math.round(l/n)),(i>a||l>c||i<10||l<10)&&(i=a,l=c),{srcLeft:r,srcTop:o,srcWidth:a,srcHeight:c,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,n){for(varr=0,o=0,a=0,c=0,i=0,l=0;l<t;l+=n){vars=e[l+3],u=e[l]*s,b=e[l+1]*s,d=e[l+2]*s;r+=u,o+=b,a+=d,c+=s,i++}returnc?[Math.round(r/c),Math.round(o/c),Math.round(a/c),Math.round(c/i)]:[0,0,0,0]}},{key:"_sqrtAlgorithm",value:function(e,t,n){for(varr=0,o=0,a=0,c=0,i=0,l=0;l<t;l+=n){vars=e[l],u=e[l+1],b=e[l+2],d=e[l+3];r+=s*s*d,o+=u*u*d,a+=b*b*d,c+=d,i++}returnc?[Math.round(Math.sqrt(r/c)),Math.round(Math.sqrt(o/c)),Math.round(Math.sqrt(a/c)),Math.round(c/i)]:[0,0,0,0]}},{key:"_dominantAlgorithm",value:function(e,n,r){for(varo={},a=0;a<n;a+=r){varc=e[a],i=e[a+1],l=e[a+2],s=e[a+3],u=Math.round(c/24)+","+Math.round(i/24)+","+Math.round(l/24);o[u]?o[u]=[o[u][0]+c*s,o[u][1]+i*s,o[u][2]+l*s,o[u][3]+s,o[u][4]+1]:o[u]=[c*s,i*s,l*s,s,1]}varb=Object.keys(o).map(function(e){returno[e]}).sort(function(e,t){varn=e[4],r=t[4];returnn>r?-1:n===r?0:1}),d=t(b[0],5),m=d[0],h=d[1],p=d[2],g=d[3],f=d[4];returng?[Math.round(m/g),Math.round(h/g),Math.round(p/g),Math.round(g/f)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){varr=this,o=(n=n||{})&&n.data,a=this._getDefaultColor(n),c=function(){s(),t.call(e,r.getColor(e,n),o)},i=function(){s(),t.call(e,r._prepareResult(a,newError("Image error")),o)},l=function(){s(),t.call(e,r._prepareResult(a,newError("