this.wp=this.wp||{},this.wp.blockLibrary=function(e){vart={};functionr(n){if(t[n])returnt[n].exports;varo=t[n]={i:n,l:!1,exports:{}};returne[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}returnr.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varn=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(varoine)r.d(n,o,function(t){returne[t]}.bind(null,o));returnn},r.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnr.d(t,"a",t),t},r.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=418)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t){!function(){e.exports=this.wp.blocks}()},109:function(e,t,r){"use strict";varn=r(154),o=r(156);functionc(){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));returneinstanceofc?e.format():c.prototype.format.call(e)},t.Url=c;vara=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),m=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={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=r(157);functionv(e,t,r){if(e&&o.isObject(e)&&einstanceofc)returne;varn=newc;returnn.parse(e,t,r),n}c.prototype.parse=function(e,t,r){if(!o.isString(e))thrownewTypeError("Parameter 'url' must be a string, not "+typeofe);varc=e.indexOf("?"),i=-1!==c&&c<e.indexOf("#")?"?":"#",s=e.split(i);s[0]=s[0].replace(/\\/g,"/");varv=e=s.join(i);if(v=v.trim(),!r&&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=a.exec(v);if(y){varw=(y=y[0]).toLowerCase();this.protocol=w,v=v.substr(y.length)}if(r||y||v.match(/^\/\/[^@\/]+@[^@\/]+/)){vark="//"===v.substr(0,2);!k||y&&g[y]||(v=v.substr(2),this.slashes=!0)}if(!g[y]&&(k||y&&!f[y])){for(var_,C,E=-1,x=0;x<m.length;x++){-1!==(S=v.indexOf(m[x]))&&(-1===E||S<E)&&(E=S)}-1!==(C=-1===E?v.lastIndexOf("@"):v.lastIndexOf("@",E))&&(_=v.slice(0,C),v=v.slice(C+1),this.auth=decodeURIComponent(_)),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||"";varP="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(varT=this.hostname.split(/\./),N=(x=0,T.length);x<N;x++){varB=T[x];if(B&&!B.match(d)){for(varA="",R=0,M=B.length;R<M;R++)B.charCodeAt(R)>127?A+="x":A+=B[R];if(!A.match(d)){varz=T.slice(0,x),I=T.slice(x+1),L=B.match(p);L&&(z.push(L[1]),I.unshift(L[2])),I.length&&(v="/"+I.join(".")+v),this.hostname=z.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));varH=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+H,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!h[w])for(x=0,N=u.length;x<N;x++){varV=u[x];if(-1!==v.indexOf(V)){varF=
e.exports=function(){"use strict";functione(e,t){for(varr=0;r<t.length;r++){varn=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}functiont(e,t){returnfunction(e){if(Array.isArray(e))returne}(e)||function(e,t){varr=[],n=!0,o=!1,c=void0;try{for(vara,i=e[Symbol.iterator]();!(n=(a=i.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==i.return||i.return()}finally{if(o)throwc}}returnr}(e,t)||function(){thrownewTypeError("Invalid attempt to destructure non-iterable instance")}()}returnfunction(){functionr(){!function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,r)}varn,o,c;returnn=r,(o=[{key:"getColorAsync",value:function(e,t,r){e.complete?t.call(e,this.getColor(e,r),r&&r.data):this._bindImageEvents(e,t,r)}},{key:"getColor",value:function(e,t){t=t||{};varr=this._getDefaultColor(t),n=this._getOriginalSize(e),o=this._prepareSizeAndPosition(n,t),c=null,a=r;if(!(o.srcWidth&&o.srcHeight&&o.destWidth&&o.destHeight))returnthis._prepareResult(r,newError("FastAverageColor: Incorrect sizes."));if(!this._ctx&&(this._canvas=this._makeCanvas(),this._ctx=this._canvas.getContext&&this._canvas.getContext("2d"),!this._ctx))returnthis._prepareResult(r,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;a=this.getColorFromArray4(i,t)}catch(e){c=e}returnthis._prepareResult(a,c)}},{key:"getColorFromArray4",value:function(e,t){t=t||{};varr=e.length;if(r<4)returnthis._getDefaultColor(t);varn=r-r%4,o=4*(t.step||1),c="_"+(t.algorithm||"sqrt")+"Algorithm";if("function"!=typeofthis[c])thrownewError("FastAverageColor: ".concat(t.algorithm," is unknown algorithm."));returnthis[c](e,n,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,r){returnvoid0===e[t]?r:e[t]}},{key:"_prepareSizeAndPosition",value:function(e,t){varr,n=this._getOption(t,"left",0),o=this._getOption(t,"top",0),c=this._getOption(t,"width",e.width),a=this._getOption(t,"height",e.height),i=c,l=a;return"precision"===t.mode?{srcLeft:n,srcTop:o,srcWidth:c,srcHeight:a,destWidth:i,destHeight:l}:(c>a?(r=c/a,i=100,l=Math.round(i/r)):(r=a/c,l=100,i=Math.round(l/r)),(i>c||l>a||i<10||l<10)&&(i=c,l=a),{srcLeft:n,srcTop:o,srcWidth:c,srcHeight:a,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,r){for(varn=0,o=0,c=0,a=0,i=0,l=0;l<t;l+=r){vars=e[l+3];n+=e[l]*s,o+=e[l+1]*s,c+=e[l+2]*s,a+=s,i++}returna?[Math.round(n/a),Math.round(o/a),Math.round(c/a),Math.round(a/i)]:[0,0,0,0]}},{key:"_sqrtAlgorithm",value:function(e,t,r){for(varn=0,o=0,c=0,a=0,i=0,l=0;l<t;l+=r){vars=e[l],u=e[l+1],b=e[l+2],m=e[l+3];n+=s*s*m,o+=u*u*m,c+=b*b*m,a+=m,i++}returna?[Math.round(Math.sqrt(n/a)),Math.round(Math.sqrt(o/a)),Math.round(Math.sqrt(c/a)),Math.round(a/i)]:[0,0,0,0]}},{key:"_dominantAlgorithm",value:function(e,r,n){for(varo={},c=0;c<r;c+=n){vara=e[c],i=e[c+1],l=e[c+2],s=e[c+3],u=Math.round(a/24)+","+Math.round(i/24)+","+Math.round(l/24);o[u]?o[u]=[o[u][0]+a*s,o[u][1]+i*s,o[u][2]+l*s,o[u][3]+s,o[u][4]+1]:o[u]=[a*s,i*s,l*s,s,1]}varb=t(Object.keys(o).map((function(e){returno[e]})).sort((function(e,t){varr=e[4],n=t[4];returnr>n?-1:r===n?0:1}))[0],5),m=b[0],d=b[1],p=b[2],h=b[3],g=b[4];returnh?[Math.round(m/h),Math.round(d/h),Math.round(p/h),Math.round(h/g)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,r){varn=this,o=(r=r||{})&&r.data,c=this._getDefaultColor(r),a=function(){s(),t.call(e,n.getColor(e,r),o)},i=function(){s(),t.call(e,n._prepareResult(c,newError("Image error")),o)},l=function(){s(),t.call(e,n._prepareResult(c,newError("Im