WordPress/wp-includes/js/dist/block-library.min.js
gziolo ad48a15387 Editor: Update WordPress packages to use with WordPress 5.8
In the response to the discussion during the Dev Chat, I'm doing a first pass to keep WordPress packages up to date in the WordPress 5.8 release cycle.

See https://github.com/WordPress/wordpress-develop/pull/1176 for more details.

Props youknowriad, aristath, andraganescu.
See #52991.


Built from https://develop.svn.wordpress.org/trunk@50761


git-svn-id: http://core.svn.wordpress.org/trunk@50370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 15:19:43 +00:00

43 lines
453 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=447)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},10:function(e,t,r){var n;
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var c=typeof n;if("string"===c||"number"===c)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===c)if(n.toString===Object.prototype.toString)for(var i in n)r.call(n,i)&&n[i]&&e.push(i);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},11:function(e,t){e.exports=window.wp.compose},115:function(e,t){e.exports=window.wp.viewport},116:function(e,t){e.exports=window.wp.autop},118:function(e,t,r){var n;
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var r=function(){function e(){}function t(e,t){for(var r=t.length,n=0;n<r;++n)o(e,t[n])}e.prototype=Object.create(null);var r={}.hasOwnProperty;var n=/\s+/;function o(e,o){if(o){var c=typeof o;"string"===c?function(e,t){for(var r=t.split(n),o=r.length,c=0;c<o;++c)e[r[c]]=!0}(e,o):Array.isArray(o)?t(e,o):"object"===c?function(e,t){if(t.toString===Object.prototype.toString)for(var n in t)r.call(t,n)&&(e[n]=!!t[n]);else e[t.toString()]=!0}(e,o):"number"===c&&function(e,t){e[t]=!0}(e,o)}}return function(){for(var r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];var c=new e;t(c,n);var a=[];for(var i in c)c[i]&&a.push(i);return a.join(" ")}}();e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},12:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(37);var o=r(28),c=r(38);function a(e,t){return Object(n.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,c=void 0;try{for(var a,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)throw c}}return r}}(e,t)||Object(o.a)(e,t)||Object(c.a)()}},13:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(44);function o(e,t){if(null==e)return{};var r,o,c=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}},136:function(e,t,r){"use strict";var n=r(5),o=r(13),c=r(0);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}t.a=function(e){var t=e.icon,r=e.size,i=void 0===r?24:r,l=Object(o.a)(e,["icon","size"]);return Object(c.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({width:i,height:i},l))}},14:function(e,t){e.exports=window.React},146:function(e,t){e.exports=window.wp.reusableBlocks},15:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(24);var o=r(39),c=r(28);function a(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||Object(o.a)(e)||Object(c.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},159:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));t.a=c},161:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.Path,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=c},17:function(e,t){e.exports=window.wp.keycodes},18:function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",(function(){return n}))},19:function(e,t){e.exports=window.wp.richText},196:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.a=c},2:function(e,t){e.exports=window.lodash},215:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.Path,{d:"M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"}));t.a=c},216:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=c},217:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));t.a=c},218:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(o.Path,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"}));t.a=c},219:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));t.a=c},22:function(e,t,r){"use strict";function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,"a",(function(){return n}))},220:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));t.a=c},24:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},25:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},26:function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,"a",(function(){return o}))},272:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.a=c},278:function(e,t,r){e.exports=r(310)},279:function(e,t,r){
/*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
e.exports=function(){"use strict";function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,c=void 0;try{for(var a,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)throw c}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}return function(){function r(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r)}var n,o,c;return n=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||{};var r=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))return this._prepareResult(r,new Error("FastAverageColor: Incorrect sizes."));if(!this._ctx&&(this._canvas=this._makeCanvas(),this._ctx=this._canvas.getContext&&this._canvas.getContext("2d"),!this._ctx))return this._prepareResult(r,new Error("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);var i=this._ctx.getImageData(0,0,o.destWidth,o.destHeight).data;a=this.getColorFromArray4(i,t)}catch(e){c=e}return this._prepareResult(a,c)}},{key:"getColorFromArray4",value:function(e,t){t=t||{};var r=e.length;if(r<4)return this._getDefaultColor(t);var n=r-r%4,o=4*(t.step||1),c="_"+(t.algorithm||"sqrt")+"Algorithm";if("function"!=typeof this[c])throw new Error("FastAverageColor: ".concat(t.algorithm," is unknown algorithm."));return this[c](e,n,o)}},{key:"destroy",value:function(){delete this._canvas,delete this._ctx}},{key:"_getDefaultColor",value:function(e){return this._getOption(e,"defaultColor",[255,255,255,255])}},{key:"_getOption",value:function(e,t,r){return void 0===e[t]?r:e[t]}},{key:"_prepareSizeAndPosition",value:function(e,t){var r,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||(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(var n=0,o=0,c=0,a=0,i=0,l=0;l<t;l+=r){var s=e[l+3];n+=e[l]*s,o+=e[l+1]*s,c+=e[l+2]*s,a+=s,i++}return a?[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(var n=0,o=0,c=0,a=0,i=0,l=0;l<t;l+=r){var s=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++}return a?[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(var o={},c=0;c<r;c+=n){var a=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]}var b=t(Object.keys(o).map((function(e){return o[e]})).sort((function(e,t){var r=e[4],n=t[4];return r>n?-1:r===n?0:1}))[0],5),m=b[0],d=b[1],p=b[2],g=b[3],h=b[4];return g?[Math.round(m/g),Math.round(d/g),Math.round(p/g),Math.round(g/h)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,r){var n=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,new Error("Image error")),o)},l=function(){s(),t.call(e,n._prepareResult(c,new Error("Image abort")),o)},s=function(){e.removeEventListener("load",a),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",a),e.addEventListener("error",i),e.addEventListener("abort",l)}},{key:"_prepareResult",value:function(e,t){var r=e.slice(0,3),n=[].concat(r,e[3]/255),o=this._isDark(e);return{error:t,value:e,rgb:"rgb("+r.join(",")+")",rgba:"rgba("+n.join(",")+")",hex:this._arrayToHex(r),hexa:this._arrayToHex(e),isDark:o,isLight:!o}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){return(299*e[0]+587*e[1]+114*e[2])/1e3<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(n.prototype,o),c&&e(n,c),r}()}()},28:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(24);function o(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},29:function(e,t){e.exports=window.wp.url},3:function(e,t){e.exports=window.wp.components},30:function(e,t){e.exports=window.wp.editor},301:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"}));t.a=c},302:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));t.a=c},303:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"}));t.a=c},309:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.a=c},310:function(e,t,r){"use strict";var n=r(311),o=r(312);function c(e){var t=0,r=0,n=0,o=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=r,r=0),n=10*t,o=10*r,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||o)&&e.deltaMode&&(1==e.deltaMode?(n*=40,o*=40):(n*=800,o*=800)),n&&!t&&(t=n<1?-1:1),o&&!r&&(r=o<1?-1:1),{spinX:t,spinY:r,pixelX:n,pixelY:o}}c.getEventType=function(){return n.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=c},311:function(e,t){var r,n,o,c,a,i,l,s,u,b,m,d,p,g,h,f=!1;function O(){if(!f){f=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),O=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(d=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),b=/Android/i.exec(e),g=/FBAN\/\w+;/i.exec(e),h=/Mobile/i.exec(e),m=!!/Win64/.exec(e),t){(r=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(r=document.documentMode);var v=/(?:Trident\/(\d+.\d+))/.exec(e);i=v?parseFloat(v[1])+4:r,n=t[2]?parseFloat(t[2]):NaN,o=t[3]?parseFloat(t[3]):NaN,(c=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),a=t&&t[1]?parseFloat(t[1]):NaN):a=NaN}else r=n=o=a=c=NaN;if(O){if(O[1]){var j=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);l=!j||parseFloat(j[1].replace("_","."))}else l=!1;s=!!O[2],u=!!O[3]}else l=s=u=!1}}var v={ie:function(){return O()||r},ieCompatibilityMode:function(){return O()||i>r},ie64:function(){return v.ie()&&m},firefox:function(){return O()||n},opera:function(){return O()||o},webkit:function(){return O()||c},safari:function(){return v.webkit()},chrome:function(){return O()||a},windows:function(){return O()||s},osx:function(){return O()||l},linux:function(){return O()||u},iphone:function(){return O()||d},mobile:function(){return O()||d||p||b||h},nativeApp:function(){return O()||g},android:function(){return O()||b},ipad:function(){return O()||p}};e.exports=v},312:function(e,t,r){"use strict";var n,o=r(313);o.canUseDOM&&(n=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""))
/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/,e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var r="on"+e,c=r in document;if(!c){var a=document.createElement("div");a.setAttribute(r,"return;"),c="function"==typeof a[r]}return!c&&n&&"wheel"===e&&(c=document.implementation.hasFeature("Events.wheel","3.0")),c}},313:function(e,t,r){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=o},314:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(n.createElement)(o.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"}));t.a=c},315:function(e,t,r){"use strict";var n=r(0),o=r(7),c=Object(n.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(n.createElement)(o.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"}));t.a=c},32:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(55);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(n.a)(e,t)}},33:function(e,t){e.exports=window.wp.hooks},34:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(59),o=r.n(n),c=r(18);function a(e,t){return!t||"object"!==o()(t)&&"function"!=typeof t?Object(c.a)(e):t}},35:function(e,t){e.exports=window.wp.deprecated},37:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},38:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,"a",(function(){return n}))},39:function(e,t,r){"use strict";function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},4:function(e,t){e.exports=window.wp.data},42:function(e,t){e.exports=window.wp.coreData},43:function(e,t){e.exports=window.wp.blob},44:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},447:function(e,t,r){"use strict";r.r(t),r.d(t,"__experimentalGetCoreBlocks",(function(){return yb})),r.d(t,"registerCoreBlocks",(function(){return wb})),r.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return _b}));var n={};r.r(n),r.d(n,"metadata",(function(){return Oe})),r.d(n,"name",(function(){return ve})),r.d(n,"settings",(function(){return je}));var o={};r.r(o),r.d(o,"metadata",(function(){return qt})),r.d(o,"name",(function(){return Zt})),r.d(o,"settings",(function(){return Yt}));var c={};r.r(c),r.d(c,"metadata",(function(){return pr})),r.d(c,"name",(function(){return gr})),r.d(c,"settings",(function(){return hr}));var a={};r.r(a),r.d(a,"metadata",(function(){return Br})),r.d(a,"name",(function(){return zr})),r.d(a,"settings",(function(){return Tr}));var i={};r.r(i),r.d(i,"metadata",(function(){return mn})),r.d(i,"name",(function(){return dn})),r.d(i,"settings",(function(){return pn}));var l={};r.r(l),r.d(l,"metadata",(function(){return On})),r.d(l,"name",(function(){return vn})),r.d(l,"settings",(function(){return jn}));var s={};r.r(s),r.d(s,"metadata",(function(){return Cn})),r.d(s,"name",(function(){return xn})),r.d(s,"settings",(function(){return Sn}));var u={};r.r(u),r.d(u,"metadata",(function(){return eo})),r.d(u,"name",(function(){return to})),r.d(u,"settings",(function(){return ro}));var b={};r.r(b),r.d(b,"metadata",(function(){return io})),r.d(b,"name",(function(){return lo})),r.d(b,"settings",(function(){return so}));var m={};r.r(m),r.d(m,"metadata",(function(){return Oo})),r.d(m,"name",(function(){return vo})),r.d(m,"settings",(function(){return jo}));var d={};r.r(d),r.d(d,"metadata",(function(){return _o})),r.d(d,"name",(function(){return ko})),r.d(d,"settings",(function(){return Eo}));var p={};r.r(p),r.d(p,"metadata",(function(){return Bo})),r.d(p,"name",(function(){return zo})),r.d(p,"settings",(function(){return To}));var g={};r.r(g),r.d(g,"metadata",(function(){return rc})),r.d(g,"name",(function(){return nc})),r.d(g,"settings",(function(){return oc}));var h={};r.r(h),r.d(h,"metadata",(function(){return uc})),r.d(h,"name",(function(){return bc})),r.d(h,"settings",(function(){return mc}));var f={};r.r(f),r.d(f,"metadata",(function(){return qc})),r.d(f,"name",(function(){return Zc})),r.d(f,"settings",(function(){return Yc}));var O={};r.r(O),r.d(O,"metadata",(function(){return Ca})),r.d(O,"name",(function(){return xa})),r.d(O,"settings",(function(){return Sa}));var v={};r.r(v),r.d(v,"metadata",(function(){return Ma})),r.d(v,"name",(function(){return Ra})),r.d(v,"settings",(function(){return Va}));var j={};r.r(j),r.d(j,"metadata",(function(){return La})),r.d(j,"name",(function(){return Ia})),r.d(j,"settings",(function(){return Da}));var y={};r.r(y),r.d(y,"metadata",(function(){return li})),r.d(y,"name",(function(){return si})),r.d(y,"settings",(function(){return ui}));var w={};r.r(w),r.d(w,"metadata",(function(){return mi})),r.d(w,"name",(function(){return di})),r.d(w,"settings",(function(){return pi}));var _={};r.r(_),r.d(_,"metadata",(function(){return Ci})),r.d(_,"name",(function(){return xi})),r.d(_,"settings",(function(){return Si}));var k={};r.r(k),r.d(k,"metadata",(function(){return qi})),r.d(k,"name",(function(){return Zi})),r.d(k,"settings",(function(){return Yi}));var E={};r.r(E),r.d(E,"metadata",(function(){return Ji})),r.d(E,"name",(function(){return Ki})),r.d(E,"settings",(function(){return Xi}));var C={};r.r(C),r.d(C,"metadata",(function(){return rl})),r.d(C,"name",(function(){return nl})),r.d(C,"settings",(function(){return ol}));var x={};r.r(x),r.d(x,"metadata",(function(){return il})),r.d(x,"name",(function(){return ll})),r.d(x,"settings",(function(){return sl}));var S={};r.r(S),r.d(S,"metadata",(function(){return dl})),r.d(S,"name",(function(){return pl})),r.d(S,"settings",(function(){return gl}));var P={};r.r(P),r.d(P,"metadata",(function(){return Ol})),r.d(P,"name",(function(){return vl})),r.d(P,"settings",(function(){return jl}));var B={};r.r(B),r.d(B,"metadata",(function(){return Ml})),r.d(B,"name",(function(){return Rl})),r.d(B,"settings",(function(){return Vl}));var z={};r.r(z),r.d(z,"metadata",(function(){return Ll})),r.d(z,"name",(function(){return Il})),r.d(z,"settings",(function(){return Dl}));var T={};r.r(T),r.d(T,"metadata",(function(){return Ul})),r.d(T,"name",(function(){return Gl})),r.d(T,"settings",(function(){return Wl}));var N={};r.r(N),r.d(N,"metadata",(function(){return ts})),r.d(N,"name",(function(){return rs})),r.d(N,"settings",(function(){return ns}));var M={};r.r(M),r.d(M,"metadata",(function(){return us})),r.d(M,"name",(function(){return bs})),r.d(M,"settings",(function(){return ms}));var R={};r.r(R),r.d(R,"metadata",(function(){return fs})),r.d(R,"name",(function(){return Os})),r.d(R,"settings",(function(){return vs}));var V={};r.r(V),r.d(V,"metadata",(function(){return ks})),r.d(V,"name",(function(){return Es})),r.d(V,"settings",(function(){return Cs}));var A={};r.r(A),r.d(A,"metadata",(function(){return Ps})),r.d(A,"name",(function(){return Bs})),r.d(A,"settings",(function(){return zs}));var H={};r.r(H),r.d(H,"metadata",(function(){return uu})),r.d(H,"name",(function(){return bu})),r.d(H,"settings",(function(){return mu}));var L={};r.r(L),r.d(L,"metadata",(function(){return hu})),r.d(L,"name",(function(){return fu})),r.d(L,"settings",(function(){return Ou}));var I={};r.r(I),r.d(I,"metadata",(function(){return wu})),r.d(I,"name",(function(){return _u})),r.d(I,"settings",(function(){return ku}));var D={};r.r(D),r.d(D,"metadata",(function(){return Fu})),r.d(D,"name",(function(){return Uu})),r.d(D,"settings",(function(){return Gu}));var F={};r.r(F),r.d(F,"metadata",(function(){return Zu})),r.d(F,"name",(function(){return Yu})),r.d(F,"settings",(function(){return $u}));var U={};r.r(U),r.d(U,"metadata",(function(){return tb})),r.d(U,"name",(function(){return rb})),r.d(U,"settings",(function(){return nb}));var G={};r.r(G),r.d(G,"metadata",(function(){return sb})),r.d(G,"name",(function(){return ub})),r.d(G,"settings",(function(){return bb}));var W={};r.r(W),r.d(W,"metadata",(function(){return fb})),r.d(W,"name",(function(){return Ob})),r.d(W,"settings",(function(){return vb}));var q=r(15),Z=r(5),Y=r(42),$=r(6),J=r(9),K=r(2),X=r(1),Q=r(0),ee=r(7),te=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M18.3 4H9.9v-.1l-.9.2c-2.3.4-4 2.4-4 4.8s1.7 4.4 4 4.8l.7.1V20h1.5V5.5h2.9V20h1.5V5.5h2.7V4z"})),re=r(10),ne=r.n(re);function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ae={className:!1},ie={align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},backgroundColor:{type:"string"},fontSize:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]},style:{type:"object"}},le=function(e){if(!e.customTextColor&&!e.customBackgroundColor&&!e.customFontSize)return e;var t={};return(e.customTextColor||e.customBackgroundColor)&&(t.color={}),e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customFontSize&&(t.typography={fontSize:e.customFontSize}),ce(ce({},Object(K.omit)(e,["customTextColor","customBackgroundColor","customFontSize"])),{},{style:t})},se=[{supports:ae,attributes:ce(ce({},Object(K.omit)(ie,["style"])),{},{customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}}),migrate:le,save:function(e){var t,r=e.attributes,n=r.align,o=r.content,c=r.dropCap,a=r.backgroundColor,i=r.textColor,l=r.customBackgroundColor,s=r.customTextColor,u=r.fontSize,b=r.customFontSize,m=r.direction,d=Object($.getColorClassName)("color",i),p=Object($.getColorClassName)("background-color",a),g=Object($.getFontSizeClass)(u),h=ne()((t={"has-text-color":i||s,"has-background":a||l,"has-drop-cap":c},Object(Z.a)(t,"has-text-align-".concat(n),n),Object(Z.a)(t,g,g),Object(Z.a)(t,d,d),Object(Z.a)(t,p,p),t)),f={backgroundColor:p?void 0:l,color:d?void 0:s,fontSize:g?void 0:b};return Object(Q.createElement)($.RichText.Content,{tagName:"p",style:f,className:h||void 0,value:o,dir:m})}},{supports:ae,attributes:ce(ce({},Object(K.omit)(ie,["style"])),{},{customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}}),migrate:le,save:function(e){var t,r=e.attributes,n=r.align,o=r.content,c=r.dropCap,a=r.backgroundColor,i=r.textColor,l=r.customBackgroundColor,s=r.customTextColor,u=r.fontSize,b=r.customFontSize,m=r.direction,d=Object($.getColorClassName)("color",i),p=Object($.getColorClassName)("background-color",a),g=Object($.getFontSizeClass)(u),h=ne()((t={"has-text-color":i||s,"has-background":a||l,"has-drop-cap":c},Object(Z.a)(t,g,g),Object(Z.a)(t,d,d),Object(Z.a)(t,p,p),t)),f={backgroundColor:p?void 0:l,color:d?void 0:s,fontSize:g?void 0:b,textAlign:n};return Object(Q.createElement)($.RichText.Content,{tagName:"p",style:f,className:h||void 0,value:o,dir:m})}},{supports:ae,attributes:ce(ce({},Object(K.omit)(ie,["style"])),{},{customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"},width:{type:"string"}}),migrate:le,save:function(e){var t,r=e.attributes,n=r.width,o=r.align,c=r.content,a=r.dropCap,i=r.backgroundColor,l=r.textColor,s=r.customBackgroundColor,u=r.customTextColor,b=r.fontSize,m=r.customFontSize,d=Object($.getColorClassName)("color",l),p=Object($.getColorClassName)("background-color",i),g=b&&"is-".concat(b,"-text"),h=ne()((t={},Object(Z.a)(t,"align".concat(n),n),Object(Z.a)(t,"has-background",i||s),Object(Z.a)(t,"has-drop-cap",a),Object(Z.a)(t,g,g),Object(Z.a)(t,d,d),Object(Z.a)(t,p,p),t)),f={backgroundColor:p?void 0:s,color:d?void 0:u,fontSize:g?void 0:m,textAlign:o};return Object(Q.createElement)($.RichText.Content,{tagName:"p",style:f,className:h||void 0,value:c})}},{supports:ae,attributes:Object(K.omit)(ce(ce({},ie),{},{fontSize:{type:"number"}}),["style"]),save:function(e){var t,r=e.attributes,n=r.width,o=r.align,c=r.content,a=r.dropCap,i=r.backgroundColor,l=r.textColor,s=r.fontSize,u=ne()((t={},Object(Z.a)(t,"align".concat(n),n),Object(Z.a)(t,"has-background",i),Object(Z.a)(t,"has-drop-cap",a),t)),b={backgroundColor:i,color:l,fontSize:s,textAlign:o};return Object(Q.createElement)("p",{style:b,className:u||void 0},c)},migrate:function(e){return le(Object(K.omit)(ce(ce({},e),{},{customFontSize:Object(K.isFinite)(e.fontSize)?e.fontSize:void 0,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.backgroundColor&&"#"===e.backgroundColor[0]?e.backgroundColor:void 0})))}},{supports:ae,attributes:ce(ce({},ie),{},{content:{type:"string",source:"html",default:""}}),save:function(e){var t=e.attributes;return Object(Q.createElement)(Q.RawHTML,null,t.content)},migrate:function(e){return e}}],ue=r(8),be=r(3),me=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z"}));function de(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?de(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):de(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ge(e){var t=e.direction,r=e.setDirection;return Object(X.isRTL)()&&Object(Q.createElement)(be.DropdownMenu,{isToolbarButton:!0,controls:[{icon:me,title:Object(X._x)("Left to right","editor button"),isActive:"ltr"===t,onClick:function(){r("ltr"===t?void 0:"ltr")}}]})}var he=function(e){var t=e.attributes,r=e.mergeBlocks,n=e.onReplace,o=e.onRemove,c=e.setAttributes,a=e.clientId,i=t.align,l=t.content,s=t.direction,u=t.dropCap,b=t.placeholder,m=Object($.__experimentalUseEditorFeature)("typography.dropCap"),d=Object($.useBlockProps)({className:ne()(Object(Z.a)({"has-drop-cap":u},"has-text-align-".concat(i),i)),style:{direction:s}});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,{group:"block"},Object(Q.createElement)($.AlignmentControl,{value:i,onChange:function(e){return c({align:e})}}),Object(Q.createElement)(ge,{direction:s,setDirection:function(e){return c({direction:e})}})),m&&Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Text settings")},Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Drop cap"),checked:!!u,onChange:function(){return c({dropCap:!u})},help:u?Object(X.__)("Showing large initial letter."):Object(X.__)("Toggle to show a large initial letter.")}))),Object(Q.createElement)($.RichText,Object(ue.a)({identifier:"content",tagName:"p"},d,{value:l,onChange:function(e){return c({content:e})},onSplit:function(e,r){var n;(r||e)&&(n=pe(pe({},t),{},{content:e}));var o=Object(J.createBlock)("core/paragraph",n);return r&&(o.clientId=a),o},onMerge:r,onReplace:n,onRemove:o,"aria-label":l?Object(X.__)("Paragraph block"):Object(X.__)("Empty block; start writing or type forward slash to choose a block"),"data-empty":!l,placeholder:b||Object(X.__)("Type / to choose a block"),__unstableEmbedURLOnPaste:!0,__unstableAllowPrefixTransformations:!0})))};var fe={from:[{type:"raw",priority:20,selector:"p",schema:function(e){return{p:{children:e.phrasingContentSchema,attributes:e.isPaste?[]:["style","id"]}}},transform:function(e){var t=Object(J.getBlockAttributes)("core/paragraph",e.outerHTML),r=(e.style||{}).textAlign;return"left"!==r&&"center"!==r&&"right"!==r||(t.align=r),Object(J.createBlock)("core/paragraph",t)}}]},Oe={apiVersion:2,name:"core/paragraph",category:"text",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]}},supports:{anchor:!0,className:!1,color:{link:!0},fontSize:!0,lineHeight:!0,__experimentalSelector:"p",__unstablePasteTextInline:!0},editorStyle:"wp-block-paragraph-editor",style:"wp-block-paragraph"},ve=Oe.name,je={title:Object(X._x)("Paragraph","block title"),description:Object(X.__)("Start with the building block of all narrative."),icon:te,keywords:[Object(X.__)("text")],example:{attributes:{content:Object(X.__)("In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing."),style:{typography:{fontSize:28}},dropCap:!0}},__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.content;return Object(K.isEmpty)(r)?Object(X.__)("Empty"):r}},transforms:fe,deprecated:se,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:he,save:function(e){var t=e.attributes,r=t.align,n=t.content,o=t.dropCap,c=t.direction,a=ne()(Object(Z.a)({"has-drop-cap":o},"has-text-align-".concat(r),r));return Object(Q.createElement)("p",$.useBlockProps.save({className:a,dir:c}),Object(Q.createElement)($.RichText.Content,{value:n}))}},ye=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),we={align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},_e=[{attributes:we,save:function(e){var t,r=e.attributes,n=r.url,o=r.alt,c=r.caption,a=r.align,i=r.href,l=r.width,s=r.height,u=r.id,b=ne()((t={},Object(Z.a)(t,"align".concat(a),a),Object(Z.a)(t,"is-resized",l||s),t)),m=Object(Q.createElement)("img",{src:n,alt:o,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(Q.createElement)("figure",{className:b},i?Object(Q.createElement)("a",{href:i},m):m,!$.RichText.isEmpty(c)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",value:c}))}},{attributes:we,save:function(e){var t=e.attributes,r=t.url,n=t.alt,o=t.caption,c=t.align,a=t.href,i=t.width,l=t.height,s=t.id,u=Object(Q.createElement)("img",{src:r,alt:n,className:s?"wp-image-".concat(s):null,width:i,height:l});return Object(Q.createElement)("figure",{className:c?"align".concat(c):null},a?Object(Q.createElement)("a",{href:a},u):u,!$.RichText.isEmpty(o)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:we,save:function(e){var t=e.attributes,r=t.url,n=t.alt,o=t.caption,c=t.align,a=t.href,i=t.width,l=t.height,s=i||l?{width:i,height:l}:{},u=Object(Q.createElement)("img",Object(ue.a)({src:r,alt:n},s)),b={};return i?b={width:i}:"left"!==c&&"right"!==c||(b={maxWidth:"50%"}),Object(Q.createElement)("figure",{className:c?"align".concat(c):null,style:b},a?Object(Q.createElement)("a",{href:a},u):u,!$.RichText.isEmpty(o)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))}}],ke=r(12),Ee=r(43),Ce=r(4),xe=r(11),Se=r(29),Pe=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M17.5 7v8H19V7c0-1.1-.9-2-2-2H9v1.5h8c.3 0 .5.2.5.5zM7 17.5c-.3 0-.5-.2-.5-.5V1H5v4H1v1.5h4V17c0 1.1.9 2 2 2h10.5v4H19v-4h4v-1.5H7z"})),Be=r(219),ze=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M15.3 14.5c-.1-.1-.2-.2-.2-.4v-2.8c0-1.2-.2-2-.7-2.5-.5-.5-1.2-.8-2.1-.8-1 0-1.9.2-2.7.7l.2 1.4c.4-.2.8-.4 1.1-.5.3-.1.7-.2 1-.2.5 0 .9.1 1.1.3.2.2.3.6.4 1.1-.7 0-1.3.1-2 .3-.7.2-1.2.5-1.7.9s-.7.9-.7 1.6c0 .7.2 1.2.6 1.7.4.4 1 .6 1.6.6.5 0 .9-.1 1.3-.3.4-.2.8-.4 1-.7.2.3.4.6.7.7.3.2.7.2 1.2.2h.5l.2-1.4h-.2c-.3.2-.5.2-.6.1zm-2-.6c-.2.2-.4.4-.7.5-.3.1-.5.2-.8.2-.7 0-1.1-.3-1.1-1 0-.5.2-.8.7-1.1.5-.2 1.1-.4 1.9-.4v1.8zm5-9.9H5.7C4.8 4 4 4.8 4 5.7v12.5c0 1 .8 1.7 1.7 1.7h12.5c1 0 1.7-.8 1.7-1.7V5.7c.1-.9-.7-1.7-1.6-1.7zm.2 14.3c0 .1-.1.2-.2.2H5.7c-.1 0-.2-.1-.2-.2V5.7c0-.1.1-.2.2-.2h12.5c.1 0 .2.1.2.2v12.6z"})),Te=r(51),Ne=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],Me=r(118),Re=r.n(Me),Ve=r(72),Ae=r.n(Ve);function He(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?He(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):He(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ie=function(e){var t;return null===(t=Object(J.getBlockVariations)("core/embed"))||void 0===t?void 0:t.find((function(t){var r=t.patterns;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.some((function(t){return e.match(t)}))}(e,r)}))},De=function(e){return e&&e.includes('class="wp-embedded-content"')},Fe=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.preview,o=e.attributes,c=(o=void 0===o?{}:o).url,a=o.providerNameSlug,i=o.type;if(c&&Object(J.getBlockType)("core/embed")){var l=Ie(c),s="wordpress"===a||"wp-embed"===i,u=!s&&l&&(l.attributes.providerNameSlug!==a||!a);if(u)return Object(J.createBlock)("core/embed",Le({url:c},l.attributes));var b=null===(t=Object(J.getBlockVariations)("core/embed"))||void 0===t?void 0:t.find((function(e){return"wordpress"===e.name}));if(b&&n&&De(n.html)&&!s)return Object(J.createBlock)("core/embed",Le(Le({url:c},b.attributes),r))}},Ue=function(e){if(!e)return e;var t=Ne.reduce((function(e,t){return e[t.className]=!1,e}),{"wp-has-aspect-ratio":!1});return Re()(e,t)};function Ge(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!r)return Ue(t);var n=document.implementation.createHTMLDocument("");n.body.innerHTML=e;var o=n.body.querySelector("iframe");if(o&&o.height&&o.width)for(var c=(o.width/o.height).toFixed(2),a=0;a<Ne.length;a++){var i=Ne[a];if(c>=i.ratio){var l=c-i.ratio;return l>.1?Ue(t):Re()(Ue(t),i.className,"wp-has-aspect-ratio")}}return t}var We=Ae()((function(e,t,r,n){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!e)return{};var c={},a=e.type,i=void 0===a?"rich":a,l=e.html,s=e.provider_name,u=Object(K.kebabCase)((s||t).toLowerCase());return De(l)&&(i="wp-embed"),(l||"photo"===i)&&(c.type=i,c.providerNameSlug=u),c.className=Ge(l,r,n&&o),c}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var qe=function(e,t){return(qe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};var Ze=function(){return(Ze=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.create;Object.create;var Ye=r(14),$e=r.n(Ye),Je=r(278),Ke=r.n(Je);function Xe(e,t,r,n,o,c){void 0===c&&(c=0);var a=st(e,t,c),i=a.width,l=a.height,s=Math.min(i,r),u=Math.min(l,n);return s>u*o?{width:u*o,height:u}:{width:s,height:s/o}}function Qe(e,t,r,n,o){void 0===o&&(o=0);var c=st(t.width,t.height,o),a=c.width,i=c.height;return{x:et(e.x,a,r.width,n),y:et(e.y,i,r.height,n)}}function et(e,t,r,n){var o=t*n/2-r/2;return Math.min(o,Math.max(e,-o))}function tt(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function rt(e,t){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI}function nt(e,t,r,n,o,c,a){void 0===c&&(c=0),void 0===a&&(a=!0);var i=a&&0===c?ot:ct,l={x:i(100,((t.width-r.width/o)/2-e.x/o)/t.width*100),y:i(100,((t.height-r.height/o)/2-e.y/o)/t.height*100),width:i(100,r.width/t.width*100/o),height:i(100,r.height/t.height*100/o)},s=Math.round(i(t.naturalWidth,l.width*t.naturalWidth/100)),u=Math.round(i(t.naturalHeight,l.height*t.naturalHeight/100)),b=t.naturalWidth>=t.naturalHeight*n?{width:Math.round(u*n),height:u}:{width:s,height:Math.round(s/n)};return{croppedAreaPercentages:l,croppedAreaPixels:Ze(Ze({},b),{x:Math.round(i(t.naturalWidth-b.width,l.x*t.naturalWidth/100)),y:Math.round(i(t.naturalHeight-b.height,l.y*t.naturalHeight/100))})}}function ot(e,t){return Math.min(e,Math.max(0,t))}function ct(e,t){return t}function at(e,t,r){var n=t.width/t.naturalWidth,o=function(e,t,r){var n=t.width/t.naturalWidth;if(r)return r.height>r.width?r.height/n/e.height:r.width/n/e.width;var o=e.width/e.height;return t.naturalWidth>=t.naturalHeight*o?t.naturalHeight/e.height:t.naturalWidth/e.width}(e,t,r),c=n*o;return{crop:{x:((t.naturalWidth-e.width)/2-e.x)*c,y:((t.naturalHeight-e.height)/2-e.y)*c},zoom:o}}function it(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function lt(e,t,r,n,o){var c=Math.cos,a=Math.sin,i=o*Math.PI/180;return[(e-r)*c(i)-(t-n)*a(i)+r,(e-r)*a(i)+(t-n)*c(i)+n]}function st(e,t,r){var n=e/2,o=t/2,c=[lt(0,0,n,o,r),lt(e,0,n,o,r),lt(e,t,n,o,r),lt(0,t,n,o,r)],a=Math.min.apply(Math,c.map((function(e){return e[0]}))),i=Math.max.apply(Math,c.map((function(e){return e[0]}))),l=Math.min.apply(Math,c.map((function(e){return e[1]})));return{width:i-a,height:Math.max.apply(Math,c.map((function(e){return e[1]})))-l}}function ut(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return"string"==typeof e&&e.length>0})).join(" ").trim()}var bt=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.imageRef=null,r.videoRef=null,r.containerRef=null,r.styleRef=null,r.containerRect=null,r.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},r.dragStartPosition={x:0,y:0},r.dragStartCrop={x:0,y:0},r.lastPinchDistance=0,r.lastPinchRotation=0,r.rafDragTimeout=null,r.rafPinchTimeout=null,r.wheelTimer=null,r.state={cropSize:null,hasWheelJustStarted:!1},r.preventZoomSafari=function(e){return e.preventDefault()},r.cleanEvents=function(){document.removeEventListener("mousemove",r.onMouseMove),document.removeEventListener("mouseup",r.onDragStopped),document.removeEventListener("touchmove",r.onTouchMove),document.removeEventListener("touchend",r.onDragStopped)},r.clearScrollEvent=function(){r.containerRef&&r.containerRef.removeEventListener("wheel",r.onWheel),r.wheelTimer&&clearTimeout(r.wheelTimer)},r.onMediaLoad=function(){r.computeSizes(),r.emitCropData(),r.setInitialCrop(),r.props.onMediaLoaded&&r.props.onMediaLoaded(r.mediaSize)},r.setInitialCrop=function(){var e=r.props,t=e.initialCroppedAreaPixels,n=e.cropSize;if(t){var o=at(t,r.mediaSize,n),c=o.crop,a=o.zoom;r.props.onCropChange(c),r.props.onZoomChange&&r.props.onZoomChange(a)}},r.computeSizes=function(){var e,t,n,o,c,a,i=r.imageRef||r.videoRef;if(i&&r.containerRef){r.containerRect=r.containerRef.getBoundingClientRect(),r.mediaSize={width:i.offsetWidth,height:i.offsetHeight,naturalWidth:(null===(e=r.imageRef)||void 0===e?void 0:e.naturalWidth)||(null===(t=r.videoRef)||void 0===t?void 0:t.videoWidth)||0,naturalHeight:(null===(n=r.imageRef)||void 0===n?void 0:n.naturalHeight)||(null===(o=r.videoRef)||void 0===o?void 0:o.videoHeight)||0};var l=r.props.cropSize?r.props.cropSize:Xe(i.offsetWidth,i.offsetHeight,r.containerRect.width,r.containerRect.height,r.props.aspect,r.props.rotation);(null===(c=r.state.cropSize)||void 0===c?void 0:c.height)===l.height&&(null===(a=r.state.cropSize)||void 0===a?void 0:a.width)===l.width||r.props.onCropSizeChange&&r.props.onCropSizeChange(l),r.setState({cropSize:l},r.recomputeCropPosition)}},r.onMouseDown=function(e){e.preventDefault(),document.addEventListener("mousemove",r.onMouseMove),document.addEventListener("mouseup",r.onDragStopped),r.onDragStart(t.getMousePoint(e))},r.onMouseMove=function(e){return r.onDrag(t.getMousePoint(e))},r.onTouchStart=function(e){e.preventDefault(),document.addEventListener("touchmove",r.onTouchMove,{passive:!1}),document.addEventListener("touchend",r.onDragStopped),2===e.touches.length?r.onPinchStart(e):1===e.touches.length&&r.onDragStart(t.getTouchPoint(e.touches[0]))},r.onTouchMove=function(e){e.preventDefault(),2===e.touches.length?r.onPinchMove(e):1===e.touches.length&&r.onDrag(t.getTouchPoint(e.touches[0]))},r.onDragStart=function(e){var t,n,o=e.x,c=e.y;r.dragStartPosition={x:o,y:c},r.dragStartCrop=Ze({},r.props.crop),null===(n=(t=r.props).onInteractionStart)||void 0===n||n.call(t)},r.onDrag=function(e){var t=e.x,n=e.y;r.rafDragTimeout&&window.cancelAnimationFrame(r.rafDragTimeout),r.rafDragTimeout=window.requestAnimationFrame((function(){if(r.state.cropSize&&void 0!==t&&void 0!==n){var e=t-r.dragStartPosition.x,o=n-r.dragStartPosition.y,c={x:r.dragStartCrop.x+e,y:r.dragStartCrop.y+o},a=r.props.restrictPosition?Qe(c,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):c;r.props.onCropChange(a)}}))},r.onDragStopped=function(){var e,t;r.cleanEvents(),r.emitCropData(),null===(t=(e=r.props).onInteractionEnd)||void 0===t||t.call(e)},r.onWheel=function(e){e.preventDefault();var n=t.getMousePoint(e),o=Ke()(e).pixelY,c=r.props.zoom-o*r.props.zoomSpeed/200;r.setNewZoom(c,n),r.state.hasWheelJustStarted||r.setState({hasWheelJustStarted:!0},(function(){var e,t;return null===(t=(e=r.props).onInteractionStart)||void 0===t?void 0:t.call(e)})),r.wheelTimer&&clearTimeout(r.wheelTimer),r.wheelTimer=window.setTimeout((function(){return r.setState({hasWheelJustStarted:!1},(function(){var e,t;return null===(t=(e=r.props).onInteractionEnd)||void 0===t?void 0:t.call(e)}))}),250)},r.getPointOnContainer=function(e){var t=e.x,n=e.y;if(!r.containerRect)throw new Error("The Cropper is not mounted");return{x:r.containerRect.width/2-(t-r.containerRect.left),y:r.containerRect.height/2-(n-r.containerRect.top)}},r.getPointOnMedia=function(e){var t=e.x,n=e.y,o=r.props,c=o.crop,a=o.zoom;return{x:(t+c.x)/a,y:(n+c.y)/a}},r.setNewZoom=function(e,t){if(r.state.cropSize&&r.props.onZoomChange){var n=r.getPointOnContainer(t),o=r.getPointOnMedia(n),c=Math.min(r.props.maxZoom,Math.max(e,r.props.minZoom)),a={x:o.x*c-n.x,y:o.y*c-n.y},i=r.props.restrictPosition?Qe(a,r.mediaSize,r.state.cropSize,c,r.props.rotation):a;r.props.onCropChange(i),r.props.onZoomChange(c)}},r.getCropData=function(){return r.state.cropSize?nt(r.props.restrictPosition?Qe(r.props.crop,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):r.props.crop,r.mediaSize,r.state.cropSize,r.getAspect(),r.props.zoom,r.props.rotation,r.props.restrictPosition):null},r.emitCropData=function(){var e=r.getCropData();if(e){var t=e.croppedAreaPercentages,n=e.croppedAreaPixels;r.props.onCropComplete&&r.props.onCropComplete(t,n),r.props.onCropAreaChange&&r.props.onCropAreaChange(t,n)}},r.emitCropAreaChange=function(){var e=r.getCropData();if(e){var t=e.croppedAreaPercentages,n=e.croppedAreaPixels;r.props.onCropAreaChange&&r.props.onCropAreaChange(t,n)}},r.recomputeCropPosition=function(){if(r.state.cropSize){var e=r.props.restrictPosition?Qe(r.props.crop,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):r.props.crop;r.props.onCropChange(e),r.emitCropData()}},r}return function(e,t){function r(){this.constructor=e}qe(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t.prototype.componentDidMount=function(){window.addEventListener("resize",this.computeSizes),this.containerRef&&(this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.preventZoomSafari),this.containerRef.addEventListener("gesturechange",this.preventZoomSafari)),this.props.disableAutomaticStylesInjection||(this.styleRef=document.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.styleRef.innerHTML=".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n user-select: none;\n touch-action: none;\n cursor: move;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_CropArea {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border: 1px solid rgba(255, 255, 255, 0.5);\n box-sizing: border-box;\n box-shadow: 0 0 0 9999em;\n color: rgba(0, 0, 0, 0.5);\n overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 0;\n bottom: 0;\n left: 33.33%;\n right: 33.33%;\n border-top: 0;\n border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 33.33%;\n bottom: 33.33%;\n left: 0;\n right: 0;\n border-left: 0;\n border-right: 0;\n}\n",document.head.appendChild(this.styleRef)),this.imageRef&&this.imageRef.complete&&this.onMediaLoad()},t.prototype.componentWillUnmount=function(){var e;window.removeEventListener("resize",this.computeSizes),this.containerRef&&(this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.containerRef.removeEventListener("gesturechange",this.preventZoomSafari)),this.styleRef&&(null===(e=this.styleRef.parentNode)||void 0===e||e.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent()},t.prototype.componentDidUpdate=function(e){var t,r,n,o,c,a,i,l;e.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):e.aspect!==this.props.aspect?this.computeSizes():e.zoom!==this.props.zoom?this.recomputeCropPosition():(null===(t=e.cropSize)||void 0===t?void 0:t.height)!==(null===(r=this.props.cropSize)||void 0===r?void 0:r.height)||(null===(n=e.cropSize)||void 0===n?void 0:n.width)!==(null===(o=this.props.cropSize)||void 0===o?void 0:o.width)?this.computeSizes():(null===(c=e.crop)||void 0===c?void 0:c.x)===(null===(a=this.props.crop)||void 0===a?void 0:a.x)&&(null===(i=e.crop)||void 0===i?void 0:i.y)===(null===(l=this.props.crop)||void 0===l?void 0:l.y)||this.emitCropAreaChange(),e.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent())},t.prototype.getAspect=function(){var e=this.props,t=e.cropSize,r=e.aspect;return t?t.width/t.height:r},t.prototype.onPinchStart=function(e){var r=t.getTouchPoint(e.touches[0]),n=t.getTouchPoint(e.touches[1]);this.lastPinchDistance=tt(r,n),this.lastPinchRotation=rt(r,n),this.onDragStart(it(r,n))},t.prototype.onPinchMove=function(e){var r=this,n=t.getTouchPoint(e.touches[0]),o=t.getTouchPoint(e.touches[1]),c=it(n,o);this.onDrag(c),this.rafPinchTimeout&&window.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=window.requestAnimationFrame((function(){var e=tt(n,o),t=r.props.zoom*(e/r.lastPinchDistance);r.setNewZoom(t,c),r.lastPinchDistance=e;var a=rt(n,o),i=r.props.rotation+(a-r.lastPinchRotation);r.props.onRotationChange&&r.props.onRotationChange(i),r.lastPinchRotation=a}))},t.prototype.render=function(){var e=this,t=this.props,r=t.image,n=t.video,o=t.mediaProps,c=t.transform,a=t.crop,i=a.x,l=a.y,s=t.rotation,u=t.zoom,b=t.cropShape,m=t.showGrid,d=t.style,p=d.containerStyle,g=d.cropAreaStyle,h=d.mediaStyle,f=t.classes,O=f.containerClassName,v=f.cropAreaClassName,j=f.mediaClassName;return $e.a.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(t){return e.containerRef=t},"data-testid":"container",style:p,className:ut("reactEasyCrop_Container",O)},r?$e.a.createElement("img",Ze({alt:"",className:ut("reactEasyCrop_Image",j)},o,{src:r,ref:function(t){return e.imageRef=t},style:Ze(Ze({},h),{transform:c||"translate("+i+"px, "+l+"px) rotate("+s+"deg) scale("+u+")"}),onLoad:this.onMediaLoad})):n&&$e.a.createElement("video",Ze({autoPlay:!0,loop:!0,muted:!0,className:ut("reactEasyCrop_Video",j)},o,{src:n,ref:function(t){return e.videoRef=t},onLoadedMetadata:this.onMediaLoad,style:Ze(Ze({},h),{transform:c||"translate("+i+"px, "+l+"px) rotate("+s+"deg) scale("+u+")"}),controls:!1})),this.state.cropSize&&$e.a.createElement("div",{style:Ze(Ze({},g),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:ut("reactEasyCrop_CropArea","round"===b&&"reactEasyCrop_CropAreaRound",m&&"reactEasyCrop_CropAreaGrid",v)}))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:3,minZoom:1,cropShape:"rect",showGrid:!0,style:{},classes:{},mediaProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0},t.getMousePoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t.getTouchPoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t}($e.a.Component),mt={position:"bottom right",isAlternate:!0},dt=r(50),pt=r.n(dt);var gt=r(33);function ht(e,t){var r=function(e){var t=e.url,r=e.naturalWidth,n=e.naturalHeight,o=Object(Q.useState)(),c=Object(ke.a)(o,2),a=c[0],i=c[1],l=Object(Q.useState)(),s=Object(ke.a)(l,2),u=s[0],b=s[1],m=Object(Q.useState)({x:0,y:0}),d=Object(ke.a)(m,2),p=d[0],g=d[1],h=Object(Q.useState)(),f=Object(ke.a)(h,2),O=f[0],v=f[1],j=Object(Q.useState)(),y=Object(ke.a)(j,2),w=y[0],_=y[1],k=Object(Q.useState)(),E=Object(ke.a)(k,2),C=E[0],x=E[1],S=Object(Q.useState)(),P=Object(ke.a)(S,2),B=P[0],z=P[1],T=Object(Q.useCallback)((function(){g({x:0,y:0}),v(100),_(0),x(r/n),z(r/n)}),[r,n,g,v,_,x,z]),N=Object(Q.useCallback)((function(){var e=(w+90)%360,o=r/n;if(w%180==90&&(o=n/r),0===e)return i(),_(e),x(1/C),void g({x:-p.y*o,y:p.x*o});var c=new window.Image;c.src=t,c.onload=function(t){var r=document.createElement("canvas"),n=0,c=0;e%180?(r.width=t.target.height,r.height=t.target.width):(r.width=t.target.width,r.height=t.target.height),90!==e&&180!==e||(n=r.width),270!==e&&180!==e||(c=r.height);var a=r.getContext("2d");a.translate(n,c),a.rotate(e*Math.PI/180),a.drawImage(t.target,0,0),r.toBlob((function(t){i(URL.createObjectURL(t)),_(e),x(1/C),g({x:-p.y*o,y:p.x*o})}))};var a=Object(gt.applyFilters)("media.crossOrigin",void 0,t);"string"==typeof a&&(c.crossOrigin=a)}),[w,r,n,i,_,x,g]);return Object(Q.useMemo)((function(){return{editedUrl:a,setEditedUrl:i,crop:u,setCrop:b,position:p,setPosition:g,zoom:O,setZoom:v,rotation:w,setRotation:_,rotateClockwise:N,aspect:C,setAspect:x,defaultAspect:B,initializeTransformValues:T}}),[a,i,u,b,p,g,O,v,w,_,N,C,x,B,T])}(e),n=r.initializeTransformValues;return Object(Q.useEffect)((function(){t&&n()}),[t,n]),r}function ft(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ot(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ft(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ft(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var vt=Object(Q.createContext)({}),jt=function(){return Object(Q.useContext)(vt)};function yt(e){var t=e.id,r=e.url,n=e.naturalWidth,o=e.naturalHeight,c=e.isEditing,a=e.onFinishEditing,i=e.onSaveImage,l=e.children,s=ht({url:r,naturalWidth:n,naturalHeight:o},c),u=function(e){var t=e.crop,r=e.rotation,n=e.height,o=e.width,c=e.aspect,a=e.url,i=e.id,l=e.onSaveImage,s=e.onFinishEditing,u=Object(Ce.useDispatch)(Te.store).createErrorNotice,b=Object(Q.useState)(!1),m=Object(ke.a)(b,2),d=m[0],p=m[1],g=Object(Q.useCallback)((function(){p(!1),s()}),[p,s]),h=Object(Q.useCallback)((function(){p(!0);var e={};(t.width<99.9||t.height<99.9)&&(e=t),r>0&&(e.rotation=r),e.src=a,pt()({path:"/wp/v2/media/".concat(i,"/edit"),method:"POST",data:e}).then((function(e){l({id:e.id,url:e.source_url,height:n&&o?o/c:void 0})})).catch((function(e){u(Object(X.sprintf)(Object(X.__)("Could not edit image. %s"),e.message),{id:"image-editing-error",type:"snackbar"})})).finally((function(){p(!1),s()}))}),[p,t,r,n,o,c,a,l,u,p,s]);return Object(Q.useMemo)((function(){return{isInProgress:d,apply:h,cancel:g}}),[d,h,g])}(Ot({id:t,url:r,onSaveImage:i,onFinishEditing:a},s)),b=Object(Q.useMemo)((function(){return Ot(Ot({},s),u)}),[s,u]);return Object(Q.createElement)(vt.Provider,{value:b},l)}function wt(e){var t=e.url,r=e.width,n=e.height,o=e.clientWidth,c=e.naturalHeight,a=e.naturalWidth,i=jt(),l=i.isInProgress,s=i.editedUrl,u=i.position,b=i.zoom,m=i.aspect,d=i.setPosition,p=i.setCrop,g=i.setZoom,h=n||o*c/a;return i.rotation%180==90&&(h=o*a/c),Object(Q.createElement)("div",{className:ne()("wp-block-image__crop-area",{"is-applying":l}),style:{width:r||o,height:h}},Object(Q.createElement)(bt,{image:s||t,disabled:l,minZoom:1,maxZoom:3,crop:u,zoom:b/100,aspect:m,onCropChange:d,onCropComplete:function(e){p(e)},onZoomChange:function(e){g(100*e)}}),l&&Object(Q.createElement)(be.Spinner,null))}var _t=r(215);function kt(){var e=jt(),t=e.isInProgress,r=e.zoom,n=e.setZoom;return Object(Q.createElement)(be.Dropdown,{contentClassName:"wp-block-image__zoom",popoverProps:mt,renderToggle:function(e){var r=e.isOpen,n=e.onToggle;return Object(Q.createElement)(be.ToolbarButton,{icon:_t.a,label:Object(X.__)("Zoom"),onClick:n,"aria-expanded":r,disabled:t})},renderContent:function(){return Object(Q.createElement)(be.RangeControl,{label:Object(X.__)("Zoom"),min:100,max:300,value:Math.round(r),onChange:n})}})}var Et=r(161),Ct=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"}));function xt(e){var t=e.aspectRatios,r=e.isDisabled,n=e.label,o=e.onClick,c=e.value;return Object(Q.createElement)(be.MenuGroup,{label:n},t.map((function(e){var t=e.title,n=e.aspect;return Object(Q.createElement)(be.MenuItem,{key:n,disabled:r,onClick:function(){o(n)},role:"menuitemradio",isSelected:n===c,icon:n===c?Et.a:void 0},t)})))}function St(e){var t=e.toggleProps,r=jt(),n=r.isInProgress,o=r.aspect,c=r.setAspect,a=r.defaultAspect;return Object(Q.createElement)(be.DropdownMenu,{icon:Ct,label:Object(X.__)("Aspect Ratio"),popoverProps:mt,toggleProps:t,className:"wp-block-image__aspect-ratio"},(function(e){var t=e.onClose;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(xt,{isDisabled:n,onClick:function(e){c(e),t()},value:o,aspectRatios:[{title:Object(X.__)("Original"),aspect:a},{title:Object(X.__)("Square"),aspect:1}]}),Object(Q.createElement)(xt,{label:Object(X.__)("Landscape"),isDisabled:n,onClick:function(e){c(e),t()},value:o,aspectRatios:[{title:Object(X.__)("16:10"),aspect:1.6},{title:Object(X.__)("16:9"),aspect:16/9},{title:Object(X.__)("4:3"),aspect:4/3},{title:Object(X.__)("3:2"),aspect:1.5}]}),Object(Q.createElement)(xt,{label:Object(X.__)("Portrait"),isDisabled:n,onClick:function(e){c(e),t()},value:o,aspectRatios:[{title:Object(X.__)("10:16"),aspect:.625},{title:Object(X.__)("9:16"),aspect:9/16},{title:Object(X.__)("3:4"),aspect:3/4},{title:Object(X.__)("2:3"),aspect:2/3}]}))}))}var Pt=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"}));function Bt(){var e=jt(),t=e.isInProgress,r=e.rotateClockwise;return Object(Q.createElement)(be.ToolbarButton,{icon:Pt,label:Object(X.__)("Rotate"),onClick:r,disabled:t})}function zt(){var e=jt(),t=e.isInProgress,r=e.apply,n=e.cancel;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(be.ToolbarButton,{onClick:r,disabled:t},Object(X.__)("Apply")),Object(Q.createElement)(be.ToolbarButton,{onClick:n},Object(X.__)("Cancel")))}function Tt(e){var t=e.url,r=e.width,n=e.height,o=e.clientWidth,c=e.naturalHeight,a=e.naturalWidth;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(wt,{url:t,width:r,height:n,clientWidth:o,naturalHeight:c,naturalWidth:a}),Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)(be.ToolbarGroup,null,Object(Q.createElement)(kt,null),Object(Q.createElement)(be.ToolbarItem,null,(function(e){return Object(Q.createElement)(St,{toggleProps:e})})),Object(Q.createElement)(Bt,null)),Object(Q.createElement)(be.ToolbarGroup,null,Object(Q.createElement)(zt,null))))}var Nt=["image"];function Mt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Rt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Vt(e){var t=e.temporaryURL,r=e.attributes,n=r.url,o=void 0===n?"":n,c=r.alt,a=r.caption,i=r.align,l=r.id,s=r.href,u=r.rel,b=r.linkClass,m=r.linkDestination,d=r.title,p=r.width,g=r.height,h=r.linkTarget,f=r.sizeSlug,O=e.setAttributes,v=e.isSelected,j=e.insertBlocksAfter,y=e.onReplace,w=e.onSelectImage,_=e.onSelectURL,k=e.onUploadError,E=e.containerRef,C=Object(Q.useRef)(),x=Object(xe.usePrevious)(o),S=Object(Ce.useSelect)((function(e){var t=e(Y.store).getMedia,r=e($.store),n=r.getMultiSelectedBlockClientIds,o=r.getBlockName,c=r.getSelectedBlock,a=r.getSelectedBlockClientId,i=n();return{block:c(),currentId:a(),image:l&&v?t(l):null,multiImageSelection:i.length&&i.every((function(e){return"core/image"===o(e)}))}}),[l,v]),P=S.block,B=S.currentId,z=S.image,T=S.multiImageSelection,N=Object(Ce.useSelect)((function(e){var t=e($.store).getSettings;return Object(K.pick)(t(),["imageEditing","imageSizes","maxWidth","mediaUpload"])})),M=N.imageEditing,R=N.imageSizes,V=N.maxWidth,A=N.mediaUpload,H=Object(Ce.useDispatch)($.store),L=H.replaceBlocks,I=H.toggleSelection,D=Object(Ce.useDispatch)(Te.store),F=D.createErrorNotice,U=D.createSuccessNotice,G=Object(xe.useViewportMatch)("medium"),W=Object(Q.useState)(!1),q=Object(ke.a)(W,2),Z=q[0],ee=q[1],te=Object(K.includes)(["wide","full"],i),re=Object(Q.useState)({}),ne=Object(ke.a)(re,2),oe=ne[0],ce=oe.naturalWidth,ae=oe.naturalHeight,ie=ne[1],le=Object(Q.useState)(!1),se=Object(ke.a)(le,2),ue=se[0],me=se[1],de=Object(Q.useState)(),pe=Object(ke.a)(de,2),ge=pe[0],he=pe[1],fe=function(e,t){var r=Object(Q.useState)(),n=Object(ke.a)(r,2),o=n[0],c=n[1];function a(){c(e.current.clientWidth)}return Object(Q.useEffect)(a,t),Object(Q.useEffect)((function(){var t=e.current.ownerDocument.defaultView;return t.addEventListener("resize",a),function(){t.removeEventListener("resize",a)}}),[]),o}(E,[i]),Oe=!te&&G,ve=Object(K.map)(Object(K.filter)(R,(function(e){var t=e.slug;return Object(K.get)(z,["media_details","sizes",t,"source_url"])})),(function(e){var t=e.name;return{value:e.slug,label:t}})),je=!!Object(J.getBlockType)("core/cover");Object(Q.useEffect)((function(){v||ee(!1)}),[v]),Object(Q.useEffect)((function(){Lt(l,o)&&v&&!ge&&window.fetch(o).then((function(e){return e.blob()})).then((function(e){return he(e)}))}),[l,o,v,ge]),Object(Q.useEffect)((function(){o&&!x&&v&&C.current.focus()}),[o,x]),Object(Q.useEffect)((function(){v||me(!1)}),[v]);var ye,we=l&&ce&&ae&&M,_e=!T&&we&&!ue,Ne=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,{group:"block"},Object(Q.createElement)($.BlockAlignmentControl,{value:i,onChange:function(e){var t=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};O(Rt(Rt({},t),{},{align:e}))}}),!T&&!ue&&Object(Q.createElement)($.__experimentalImageURLInputUI,{url:s||"",onChangeUrl:function(e){O(e)},linkDestination:m,mediaUrl:z&&z.source_url||o,mediaLink:z&&z.link,linkTarget:h,linkClass:b,rel:u}),_e&&Object(Q.createElement)(be.ToolbarButton,{onClick:function(){return me(!0)},icon:Pe,label:Object(X.__)("Crop")}),ge&&Object(Q.createElement)(be.ToolbarButton,{onClick:function(){A({filesList:[ge],onFileChange:function(e){var t=Object(ke.a)(e,1)[0];w(t),Object(Ee.isBlobURL)(t.url)||(he(),U(Object(X.__)("Image uploaded."),{type:"snackbar"}))},allowedTypes:Nt,onError:function(e){F(e,{type:"snackbar"})}})},icon:Be.a,label:Object(X.__)("Upload external image")}),!T&&je&&Object(Q.createElement)(be.ToolbarButton,{icon:ze,label:Object(X.__)("Add text over image"),onClick:function(){return L(B,Object(J.switchToBlockType)(P,"core/cover"))}})),!T&&!ue&&Object(Q.createElement)($.BlockControls,{group:"other"},Object(Q.createElement)($.MediaReplaceFlow,{mediaId:l,mediaURL:o,allowedTypes:Nt,accept:"image/*",onSelect:w,onSelectURL:_,onError:k})),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Image settings")},!T&&Object(Q.createElement)(be.TextareaControl,{label:Object(X.__)("Alt text (alternative text)"),value:c,onChange:function(e){O({alt:e})},help:Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(be.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(X.__)("Describe the purpose of the image")),Object(X.__)("Leave empty if the image is purely decorative."))}),Object(Q.createElement)($.__experimentalImageSizeControl,{onChangeImage:function(e){var t=Object(K.get)(z,["media_details","sizes",e,"source_url"]);if(!t)return null;O({url:t,width:void 0,height:void 0,sizeSlug:e})},onChange:function(e){return O(e)},slug:f,width:p,height:g,imageSizeOptions:ve,isResizable:Oe,imageWidth:ce,imageHeight:ae}))),Object(Q.createElement)($.InspectorAdvancedControls,null,Object(Q.createElement)(be.TextControl,{label:Object(X.__)("Title attribute"),value:d||"",onChange:function(e){O({title:e})},help:Object(Q.createElement)(Q.Fragment,null,Object(X.__)("Describe the role of this image on the page."),Object(Q.createElement)(be.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},Object(X.__)("(Note: many devices and browsers do not display this text.)")))}))),Me=function(e){var t=Object(Se.getPath)(e);if(t)return Object(K.last)(t.split("/"))}(o);ye=c||(Me?Object(X.sprintf)(Object(X.__)("This image has an empty alt attribute; its file name is %s"),Me):Object(X.__)("This image has an empty alt attribute"));var Re,Ve,Ae=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)("img",{src:t||o,alt:ye,onClick:function(){Z&&ee(!1)},onError:function(){var e;void 0!==(e=Fe({attributes:{url:o}}))&&y(e)},onLoad:function(e){ie(Object(K.pick)(e.target,["naturalWidth","naturalHeight"]))}}),t&&Object(Q.createElement)(be.Spinner,null));if(fe&&ce&&ae){var He=ce>fe;Re=He?fe:ce,Ve=He?fe*(ae/ce):ae}if(we&&ue)Ae=Object(Q.createElement)(Tt,{url:o,width:p,height:g,clientWidth:fe,naturalHeight:ae,naturalWidth:ce});else if(Oe&&Re){var Le=p||Re,Ie=g||Ve,De=ce/ae,Ue=ce<ae?20:20*De,Ge=ae<ce?20:20/De,We=2.5*V,qe=!1,Ze=!1;"center"===i?(qe=!0,Ze=!0):Object(X.isRTL)()?"left"===i?qe=!0:Ze=!0:"right"===i?Ze=!0:qe=!0,Ae=Object(Q.createElement)(be.ResizableBox,{size:{width:null!=p?p:"auto",height:null!=g?g:"auto"},showHandle:v,minWidth:Ue,maxWidth:We,minHeight:Ge,maxHeight:We/De,lockAspectRatio:!0,enable:{top:!1,right:qe,bottom:!0,left:Ze},onResizeStart:function(){I(!1)},onResizeStop:function(e,t,r,n){I(!0),O({width:parseInt(Le+n.width,10),height:parseInt(Ie+n.height,10)})}},Ae)}else Ae=Object(Q.createElement)("div",{style:{width:p,height:g}},Ae);return Object(Q.createElement)(yt,{id:l,url:o,naturalWidth:ce,naturalHeight:ae,clientWidth:fe,onSaveImage:function(e){return O(e)},isEditing:ue,onFinishEditing:function(){return me(!1)}},Ne,Ae,(!$.RichText.isEmpty(a)||v)&&Object(Q.createElement)($.RichText,{ref:C,tagName:"figcaption","aria-label":Object(X.__)("Image caption text"),placeholder:Object(X.__)("Add caption"),value:a,unstableOnFocus:function(){Z||ee(!0)},onChange:function(e){return O({caption:e})},isSelected:Z,inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return j(Object(J.createBlock)("core/paragraph"))}}))}function At(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ht(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?At(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):At(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Lt=function(e,t){return t&&!e&&!Object(Ee.isBlobURL)(t)};var It=Object(be.withNotices)((function(e){var t=e.attributes,r=e.setAttributes,n=e.isSelected,o=e.className,c=e.noticeUI,a=e.insertBlocksAfter,i=e.noticeOperations,l=e.onReplace,s=t.url,u=void 0===s?"":s,b=t.alt,m=t.caption,d=t.align,p=t.id,g=t.width,h=t.height,f=t.sizeSlug,O=Object(Q.useState)(),v=Object(ke.a)(O,2),j=v[0],y=v[1],w=Object(Q.useRef)();Object(Q.useEffect)((function(){w.current=b}),[b]);var _=Object(Q.useRef)();Object(Q.useEffect)((function(){_.current=m}),[m]);var k=Object(Q.useRef)(),E=Object(Ce.useSelect)((function(e){var t=e($.store).getSettings;return Object(K.pick)(t(),["imageDefaultSize","mediaUpload"])}),[]),C=E.imageDefaultSize,x=E.mediaUpload;function S(e){i.removeAllNotices(),i.createErrorNotice(e)}function P(e){var n,o,c,a,i;if(e&&e.url)if(Object(Ee.isBlobURL)(e.url))y(e.url);else{y();var l,s,b,m,d=(l=e,s=C,(b=Object(K.pick)(l,["alt","id","link","caption"])).url=Object(K.get)(l,["sizes",s,"url"])||Object(K.get)(l,["media_details","sizes",s,"source_url"])||l.url,b);_.current&&!Object(K.get)(d,["caption"])&&(d=Object(K.omit)(d,["caption"])),m=e.id&&e.id===p?{url:u}:{width:void 0,height:void 0,sizeSlug:C};var g,h=t.linkDestination;if(!h)switch((null===(n=wp)||void 0===n||null===(o=n.media)||void 0===o||null===(c=o.view)||void 0===c||null===(a=c.settings)||void 0===a||null===(i=a.defaultProps)||void 0===i?void 0:i.link)||"none"){case"file":case"media":h="media";break;case"post":case"attachment":h="attachment";break;case"custom":h="custom";break;case"none":h="none"}switch(h){case"media":g=e.url;break;case"attachment":g=e.link}d.href=g,r(Ht(Ht(Ht({},d),m),{},{linkDestination:h}))}else r({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0})}function B(e){e!==u&&r({url:e,id:void 0,width:void 0,height:void 0,sizeSlug:C})}var z=function(e,t){return!e&&Object(Ee.isBlobURL)(t)}(p,u);Object(Q.useEffect)((function(){if(z){var e=Object(Ee.getBlobByURL)(u);e&&x({filesList:[e],onFileChange:function(e){P(Object(ke.a)(e,1)[0])},allowedTypes:Nt,onError:function(e){i.createErrorNotice(e),r({src:void 0,id:void 0,url:void 0})}})}}),[]),Object(Q.useEffect)((function(){if(j)return function(){Object(Ee.revokeBlobURL)(j)}}),[j]);var T=Lt(p,u)?u:void 0,N=!!u&&Object(Q.createElement)("img",{alt:Object(X.__)("Edit image"),title:Object(X.__)("Edit image"),className:"edit-image-preview",src:u}),M=ne()(o,Object(Z.a)({"is-transient":j,"is-resized":!!g||!!h},"size-".concat(f),f)),R=Object($.useBlockProps)({ref:k,className:M});return Object(Q.createElement)("figure",R,(j||u)&&Object(Q.createElement)(Vt,{temporaryURL:j,attributes:t,setAttributes:r,isSelected:n,insertBlocksAfter:a,onReplace:l,onSelectImage:P,onSelectURL:B,onUploadError:S,containerRef:k}),!u&&Object(Q.createElement)($.BlockControls,{group:"block"},Object(Q.createElement)($.BlockAlignmentControl,{value:d,onChange:function(e){var t=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};r(Ht(Ht({},t),{},{align:e}))}})),Object(Q.createElement)($.MediaPlaceholder,{icon:Object(Q.createElement)($.BlockIcon,{icon:ye}),onSelect:P,onSelectURL:B,notices:c,onError:S,accept:"image/*",allowedTypes:Nt,value:{id:p,src:T},mediaPreview:N,disableMediaButtons:u}))}));function Dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ut(e,t){var r=document.implementation.createHTMLDocument("").body;r.innerHTML=e;var n=r.firstElementChild;if(n&&"A"===n.nodeName)return n.getAttribute(t)||void 0}var Gt={img:{attributes:["src","alt","title"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}},Wt={from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("img")},schema:function(e){var t=e.phrasingContentSchema;return{figure:{require:["img"],children:Ft(Ft({},Gt),{},{a:{attributes:["href","rel","target"],children:Gt},figcaption:{children:t}})}}},transform:function(e){var t=e.className+" "+e.querySelector("img").className,r=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),n=""===e.id?void 0:e.id,o=r?r[1]:void 0,c=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),a=c?Number(c[1]):void 0,i=e.querySelector("a"),l=i&&i.href?"custom":void 0,s=i&&i.href?i.href:void 0,u=i&&i.rel?i.rel:void 0,b=i&&i.className?i.className:void 0,m=Object(J.getBlockAttributes)("core/image",e.outerHTML,{align:o,id:a,linkDestination:l,href:s,rel:u,linkClass:b,anchor:n});return Object(J.createBlock)("core/image",m)}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){var t=e[0];return Object(J.createBlock)("core/image",{url:Object(Ee.createBlobURL)(t)})}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{shortcode:function(e,t){var r=t.shortcode,n=document.implementation.createHTMLDocument("").body;n.innerHTML=r.content;for(var o=n.querySelector("img");o&&o.parentNode&&o.parentNode!==n;)o=o.parentNode;return o&&o.parentNode.removeChild(o),n.innerHTML.trim()}},href:{shortcode:function(e,t){return Ut(t.shortcode.content,"href")}},rel:{shortcode:function(e,t){return Ut(t.shortcode.content,"rel")}},linkClass:{shortcode:function(e,t){return Ut(t.shortcode.content,"class")}},id:{type:"number",shortcode:function(e){var t=e.named.id;if(t)return parseInt(t.replace("attachment_",""),10)}},align:{type:"string",shortcode:function(e){var t=e.named.align;return(void 0===t?"alignnone":t).replace("align","")}}}}]},qt={apiVersion:2,name:"core/image",category:"media",attributes:{align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},title:{type:"string",source:"attribute",selector:"img",attribute:"title"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{anchor:!0,__experimentalBorder:{radius:!0}},editorStyle:"wp-block-image-editor",style:"wp-block-image"},Zt=qt.name,Yt={title:Object(X._x)("Image","block title"),description:Object(X.__)("Insert an image to make a visual statement."),icon:ye,keywords:["img",Object(X.__)("photo"),Object(X.__)("picture")],example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(X.__)("Mont Blanc appears—still, snowy, and serene.")}},styles:[{name:"default",label:Object(X._x)("Default","block style"),isDefault:!0},{name:"rounded",label:Object(X._x)("Rounded","block style")}],__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.caption,n=e.alt;return e.url?n?n+(r?". "+r:""):r||"":Object(X.__)("Empty")}},getEditWrapperProps:function(e){return{"data-align":e.align}},transforms:Wt,edit:It,save:function(e){var t,r=e.attributes,n=r.url,o=r.alt,c=r.caption,a=r.align,i=r.href,l=r.rel,s=r.linkClass,u=r.width,b=r.height,m=r.id,d=r.linkTarget,p=r.sizeSlug,g=r.title,h=Object(K.isEmpty)(l)?void 0:l,f=ne()((t={},Object(Z.a)(t,"align".concat(a),a),Object(Z.a)(t,"size-".concat(p),p),Object(Z.a)(t,"is-resized",u||b),t)),O=Object(Q.createElement)("img",{src:n,alt:o,className:m?"wp-image-".concat(m):null,width:u,height:b,title:g}),v=Object(Q.createElement)(Q.Fragment,null,i?Object(Q.createElement)("a",{className:s,href:i,target:d,rel:h},O):O,!$.RichText.isEmpty(c)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",value:c}));return"left"===a||"right"===a||"center"===a?Object(Q.createElement)("div",$.useBlockProps.save(),Object(Q.createElement)("figure",{className:f},v)):Object(Q.createElement)("figure",$.useBlockProps.save({className:f}),v)},deprecated:_e},$t=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"})),Jt=r(13);function Kt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Kt(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Qt={className:!1,anchor:!0},er={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"}},tr=function(e){if(!e.customTextColor)return e;var t={color:{text:e.customTextColor}};return Xt(Xt({},Object(K.omit)(e,["customTextColor"])),{},{style:t})},rr=["left","right","center"],nr=function(e){var t=e.align,r=Object(Jt.a)(e,["align"]);return rr.includes(t)?Xt(Xt({},r),{},{textAlign:t}):e},or=[{supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},fontSize:!0,lineHeight:!0,__experimentalSelector:{"core/heading/h1":"h1","core/heading/h2":"h2","core/heading/h3":"h3","core/heading/h4":"h4","core/heading/h5":"h5","core/heading/h6":"h6"},__unstablePasteTextInline:!0},attributes:er,isEligible:function(e){var t=e.align;return rr.includes(t)},migrate:nr,save:function(e){var t=e.attributes,r=t.align,n=t.content,o="h"+t.level,c=ne()(Object(Z.a)({},"has-text-align-".concat(r),r));return Object(Q.createElement)(o,$.useBlockProps.save({className:c}),Object(Q.createElement)($.RichText.Content,{value:n}))}},{supports:Qt,attributes:Xt(Xt({},er),{},{customTextColor:{type:"string"},textColor:{type:"string"}}),migrate:function(e){return tr(nr(e))},save:function(e){var t,r=e.attributes,n=r.align,o=r.content,c=r.customTextColor,a=r.level,i=r.textColor,l="h"+a,s=Object($.getColorClassName)("color",i),u=ne()((t={},Object(Z.a)(t,s,s),Object(Z.a)(t,"has-text-color",i||c),Object(Z.a)(t,"has-text-align-".concat(n),n),t));return Object(Q.createElement)($.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:c},value:o})}},{attributes:Xt(Xt({},er),{},{customTextColor:{type:"string"},textColor:{type:"string"}}),migrate:function(e){return tr(nr(e))},save:function(e){var t,r=e.attributes,n=r.align,o=r.content,c=r.customTextColor,a=r.level,i=r.textColor,l="h"+a,s=Object($.getColorClassName)("color",i),u=ne()((t={},Object(Z.a)(t,s,s),Object(Z.a)(t,"has-text-align-".concat(n),n),t));return Object(Q.createElement)($.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:c},value:o})},supports:Qt},{supports:Qt,attributes:Xt(Xt({},er),{},{customTextColor:{type:"string"},textColor:{type:"string"}}),migrate:function(e){return tr(nr(e))},save:function(e){var t=e.attributes,r=t.align,n=t.level,o=t.content,c=t.textColor,a=t.customTextColor,i="h"+n,l=Object($.getColorClassName)("color",c),s=ne()(Object(Z.a)({},l,l));return Object(Q.createElement)($.RichText.Content,{className:s||void 0,tagName:i,style:{textAlign:r,color:l?void 0:a},value:o})}}],cr=r(17);function ar(e){var t=e.level,r=e.isPressed,n=void 0!==r&&r,o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?Object(Q.createElement)(be.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},Object(Q.createElement)(be.Path,{d:o[t]})):null}var ir=[1,2,3,4,5,6],lr={className:"block-library-heading-level-dropdown",isAlternate:!0};function sr(e){var t=e.selectedLevel,r=e.onChange;return Object(Q.createElement)(be.Dropdown,{popoverProps:lr,renderToggle:function(e){var r=e.onToggle,n=e.isOpen;return Object(Q.createElement)(be.ToolbarButton,{"aria-expanded":n,"aria-haspopup":"true",icon:Object(Q.createElement)(ar,{level:t}),label:Object(X.__)("Change heading level"),onClick:r,onKeyDown:function(e){n||e.keyCode!==cr.DOWN||(e.preventDefault(),e.stopPropagation(),r())},showTooltip:!0})},renderContent:function(){return Object(Q.createElement)(be.Toolbar,{className:"block-library-heading-level-toolbar",label:Object(X.__)("Change heading level")},Object(Q.createElement)(be.ToolbarGroup,{isCollapsed:!1,controls:ir.map((function(e){var n=e===t;return{icon:Object(Q.createElement)(ar,{level:e,isPressed:n}),title:Object(X.sprintf)(Object(X.__)("Heading %d"),e),isActive:n,onClick:function(){r(e)}}}))}))}})}function ur(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function br(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ur(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ur(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var mr=function(e){var t=e.attributes,r=e.setAttributes,n=e.mergeBlocks,o=e.onReplace,c=e.mergedStyle,a=e.clientId,i=t.textAlign,l=t.content,s=t.level,u=t.placeholder,b="h"+s,m=Object($.useBlockProps)({className:ne()(Object(Z.a)({},"has-text-align-".concat(i),i)),style:c});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,{group:"block"},Object(Q.createElement)(sr,{selectedLevel:s,onChange:function(e){return r({level:e})}}),Object(Q.createElement)($.AlignmentControl,{value:i,onChange:function(e){r({textAlign:e})}})),Object(Q.createElement)($.RichText,Object(ue.a)({identifier:"content",tagName:b,value:l,onChange:function(e){return r({content:e})},onMerge:n,onSplit:function(e,r){var n;return n=r||e?Object(J.createBlock)("core/heading",br(br({},t),{},{content:e})):Object(J.createBlock)("core/paragraph"),r&&(n.clientId=a),n},onReplace:o,onRemove:function(){return o([])},"aria-label":Object(X.__)("Heading text"),placeholder:u||Object(X.__)("Heading"),textAlign:i},m)))};var dr={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return e.map((function(e){var t=e.content,r=e.anchor;return Object(J.createBlock)("core/heading",{content:t,anchor:r})}))}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:function(e){var t={children:e.phrasingContentSchema,attributes:e.isPaste?[]:["style","id"]};return{h1:t,h2:t,h3:t,h4:t,h5:t,h6:t}},transform:function(e){var t,r=Object(J.getBlockAttributes)("core/heading",e.outerHTML),n=(e.style||{}).textAlign;return r.level=(t=e.nodeName,Number(t.substr(1))),"left"!==n&&"center"!==n&&"right"!==n||(r.align=n),Object(J.createBlock)("core/heading",r)}}].concat(Object(q.a)([1,2,3,4,5,6].map((function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(J.createBlock)("core/heading",{level:e,content:t})}}}))),Object(q.a)([1,2,3,4,5,6].map((function(e){return{type:"enter",regExp:new RegExp("^/(h|H)".concat(e,"$")),transform:function(t){return Object(J.createBlock)("core/heading",{level:e,content:t})}}})))),to:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return e.map((function(e){var t=e.content,r=e.anchor;return Object(J.createBlock)("core/paragraph",{content:t,anchor:r})}))}}]},pr={apiVersion:2,name:"core/heading",category:"text",attributes:{textAlign:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"}},supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},fontSize:!0,lineHeight:!0,__experimentalSelector:{"core/heading/h1":{selector:"h1",title:"h1",attributes:{level:1}},"core/heading/h2":{selector:"h2",title:"h2",attributes:{level:2}},"core/heading/h3":{selector:"h3",title:"h3",attributes:{level:3}},"core/heading/h4":{selector:"h4",title:"h4",attributes:{level:4}},"core/heading/h5":{selector:"h5",title:"h5",attributes:{level:5}},"core/heading/h6":{selector:"h6",title:"h6",attributes:{level:6}}},__unstablePasteTextInline:!0},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"},gr=pr.name,hr={title:Object(X._x)("Heading","block title"),description:Object(X.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:$t,keywords:[Object(X.__)("title"),Object(X.__)("subtitle")],example:{attributes:{content:Object(X.__)("Code is Poetry"),level:2}},__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.content,n=e.level;return Object(K.isEmpty)(r)?Object(X.sprintf)(Object(X.__)("Level %s. Empty."),n):Object(X.sprintf)(Object(X.__)("Level %1$s. %2$s"),n,r)}},transforms:dr,deprecated:or,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:mr,save:function(e){var t=e.attributes,r=t.textAlign,n=t.content,o="h"+t.level,c=ne()(Object(Z.a)({},"has-text-align-".concat(r),r));return Object(Q.createElement)(o,$.useBlockProps.save({className:c}),Object(Q.createElement)($.RichText.Content,{value:n}))}},fr=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"}));function Or(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function vr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Or(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Or(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var jr={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}},yr=[{attributes:jr,save:function(e){var t=e.attributes,r=t.align,n=t.value,o=t.citation;return Object(Q.createElement)("blockquote",{style:{textAlign:r||null}},Object(Q.createElement)($.RichText.Content,{multiline:!0,value:n}),!$.RichText.isEmpty(o)&&Object(Q.createElement)($.RichText.Content,{tagName:"cite",value:o}))}},{attributes:vr(vr({},jr),{},{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?vr(vr({},Object(K.omit)(e,["style"])),{},{className:e.className?e.className+" is-style-large":"is-style-large"}):e},save:function(e){var t=e.attributes,r=t.align,n=t.value,o=t.citation,c=t.style;return Object(Q.createElement)("blockquote",{className:2===c?"is-large":"",style:{textAlign:r||null}},Object(Q.createElement)($.RichText.Content,{multiline:!0,value:n}),!$.RichText.isEmpty(o)&&Object(Q.createElement)($.RichText.Content,{tagName:"cite",value:o}))}},{attributes:vr(vr({},jr),{},{citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}}),save:function(e){var t=e.attributes,r=t.align,n=t.value,o=t.citation,c=t.style;return Object(Q.createElement)("blockquote",{className:"blocks-quote-style-".concat(c),style:{textAlign:r||null}},Object(Q.createElement)($.RichText.Content,{multiline:!0,value:n}),!$.RichText.isEmpty(o)&&Object(Q.createElement)($.RichText.Content,{tagName:"footer",value:o}))}}];function wr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wr(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var kr=r(19);function Er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Cr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Er(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var xr={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(J.createBlock)("core/quote",{value:Object(kr.toHTMLString)({value:Object(kr.join)(e.map((function(e){var t=e.content;return Object(kr.create)({html:t})})),"\u2028"),multilineTag:"p"}),anchor:e.anchor})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content,r=e.anchor;return Object(J.createBlock)("core/quote",{value:"<p>".concat(t,"</p>"),anchor:r})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,r=e.citation,n=e.anchor;return Object(J.createBlock)("core/quote",{value:t,citation:r,anchor:n})}},{type:"prefix",prefix:">",transform:function(e){return Object(J.createBlock)("core/quote",{value:"<p>".concat(e,"</p>")})}},{type:"raw",isMatch:function(e){var t,r=(t=!1,function(e){return"P"===e.nodeName||(t||"CITE"!==e.nodeName?void 0:(t=!0,!0))});return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(r)},schema:function(e){var t=e.phrasingContentSchema;return{blockquote:{children:{p:{children:t},cite:{children:t}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,r=e.citation,n=[];return t&&"<p></p>"!==t&&n.push.apply(n,Object(q.a)(Object(kr.split)(Object(kr.create)({html:t,multilineTag:"p"}),"\u2028").map((function(e){return Object(J.createBlock)("core/paragraph",{content:Object(kr.toHTMLString)({value:e})})})))),r&&"<p></p>"!==r&&n.push(Object(J.createBlock)("core/paragraph",{content:r})),0===n.length?Object(J.createBlock)("core/paragraph",{content:""}):n}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,r=e.citation,n=Object(Jt.a)(e,["value","citation"]);if("<p></p>"===t)return Object(J.createBlock)("core/heading",{content:r});var o=Object(kr.split)(Object(kr.create)({html:t,multilineTag:"p"}),"\u2028"),c=Object(J.createBlock)("core/heading",{content:Object(kr.toHTMLString)({value:o[0]})});if(!r&&1===o.length)return c;var a=o.slice(1);return[c,Object(J.createBlock)("core/quote",Cr(Cr({},n),{},{citation:r,value:Object(kr.toHTMLString)({value:a.length?Object(kr.join)(o.slice(1),"\u2028"):Object(kr.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,r=e.citation,n=e.anchor;return Object(J.createBlock)("core/pullquote",{value:t,citation:r,anchor:n})}}]};function Sr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Sr(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Br={apiVersion:2,name:"core/quote",category:"text",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}},supports:{anchor:!0},editorStyle:"wp-block-quote-editor",style:"wp-block-quote"},zr=Br.name,Tr={title:Object(X._x)("Quote","block title"),description:Object(X.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:fr,keywords:[Object(X.__)("blockquote"),Object(X.__)("cite")],example:{attributes:{value:"<p>"+Object(X.__)("In quoting others, we cite ourselves.")+"</p>",citation:"Julio Cortázar",className:"is-style-large"}},styles:[{name:"default",label:Object(X._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(X._x)("Large","block style")}],transforms:xr,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.isSelected,o=e.mergeBlocks,c=e.onReplace,a=e.className,i=e.insertBlocksAfter,l=e.mergedStyle,s=t.align,u=t.value,b=t.citation,m=Object($.useBlockProps)({className:ne()(a,Object(Z.a)({},"has-text-align-".concat(s),s)),style:l});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,{group:"block"},Object(Q.createElement)($.AlignmentControl,{value:s,onChange:function(e){r({align:e})}})),Object(Q.createElement)(be.BlockQuotation,m,Object(Q.createElement)($.RichText,{identifier:"value",multiline:!0,value:u,onChange:function(e){return r({value:e})},onMerge:o,onRemove:function(e){var t=!b||0===b.length;!e&&t&&c([])},"aria-label":Object(X.__)("Quote text"),placeholder:Object(X.__)("Add quote"),onReplace:c,onSplit:function(e){return Object(J.createBlock)("core/quote",_r(_r({},t),{},{value:e}))},__unstableOnSplitMiddle:function(){return Object(J.createBlock)("core/paragraph")},textAlign:s}),(!$.RichText.isEmpty(b)||n)&&Object(Q.createElement)($.RichText,{identifier:"citation",tagName:"cite",style:{display:"block"},value:b,onChange:function(e){return r({citation:e})},__unstableMobileNoFocusOnMount:!0,"aria-label":Object(X.__)("Quote citation text"),placeholder:Object(X.__)("Add citation"),className:"wp-block-quote__citation",textAlign:s,__unstableOnSplitAtEnd:function(){return i(Object(J.createBlock)("core/paragraph"))}})))},save:function(e){var t=e.attributes,r=t.align,n=t.value,o=t.citation,c=ne()(Object(Z.a)({},"has-text-align-".concat(r),r));return Object(Q.createElement)("blockquote",$.useBlockProps.save({className:c}),Object(Q.createElement)($.RichText.Content,{multiline:!0,value:n}),!$.RichText.isEmpty(o)&&Object(Q.createElement)($.RichText.Content,{tagName:"cite",value:o}))},merge:function(e,t){var r=t.value,n=t.citation;return n||(n=e.citation),Pr(Pr({},e),{},r&&"<p></p>"!==r?{value:e.value+r,citation:n}:{citation:n})},deprecated:yr},Nr=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8h-1.5zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zM4.5 4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1V12l-2.3-1.7c-.3-.2-.6-.2-.9 0l-2.9 2.1L8 11.3c-.2-.1-.5-.1-.7 0l-2.9 1.5V4.6zm0 11.8v-1.8l3.2-1.7 2.4 1.2c.2.1.5.1.8-.1l2.8-2 2.8 2v2.5c0 .1-.1.1-.1.1H4.6c0-.1-.1-.2-.1-.2z"}));function Mr(e){return Math.min(3,e.images.length)}var Rr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large",r=Object(K.pick)(e,["alt","id","link","caption"]);r.url=Object(K.get)(e,["sizes",t,"url"])||Object(K.get)(e,["media_details","sizes",t,"source_url"])||e.url;var n=Object(K.get)(e,["sizes","full","url"])||Object(K.get)(e,["media_details","sizes","full","source_url"]);return n&&(r.fullUrl=n),r};function Vr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ar(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vr(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Hr=[{attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},sizeSlug:{type:"string",default:"large"}},supports:{align:!0},isEligible:function(e){var t=e.linkTo;return!t||"attachment"===t||"media"===t},migrate:function(e){var t=e.linkTo;return e.linkTo?"attachment"===e.linkTo?t="post":"media"===e.linkTo&&(t="file"):t="none",Ar(Ar({},e),{},{linkTo:t})},save:function(e){var t=e.attributes,r=t.images,n=t.columns,o=void 0===n?Mr(t):n,c=t.imageCrop,a=t.caption,i=t.linkTo;return Object(Q.createElement)("figure",{className:"columns-".concat(o," ").concat(c?"is-cropped":"")},Object(Q.createElement)("ul",{className:"blocks-gallery-grid"},r.map((function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var r=Object(Q.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(Q.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Q.createElement)("figure",null,t?Object(Q.createElement)("a",{href:t},r):r,!$.RichText.isEmpty(e.caption)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!$.RichText.isEmpty(a)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))}},{attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",default:[]},columns:{type:"number"},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},isEligible:function(e){var t=e.ids;return t&&t.some((function(e){return"string"==typeof e}))},migrate:function(e){return Ar(Ar({},e),{},{ids:Object(K.map)(e.ids,(function(e){var t=parseInt(e,10);return Number.isInteger(t)?t:null}))})},save:function(e){var t=e.attributes,r=t.images,n=t.columns,o=void 0===n?Mr(t):n,c=t.imageCrop,a=t.caption,i=t.linkTo;return Object(Q.createElement)("figure",{className:"columns-".concat(o," ").concat(c?"is-cropped":"")},Object(Q.createElement)("ul",{className:"blocks-gallery-grid"},r.map((function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var r=Object(Q.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(Q.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Q.createElement)("figure",null,t?Object(Q.createElement)("a",{href:t},r):r,!$.RichText.isEmpty(e.caption)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!$.RichText.isEmpty(a)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,o=void 0===n?Mr(t):n,c=t.imageCrop,a=t.linkTo;return Object(Q.createElement)("ul",{className:"columns-".concat(o," ").concat(c?"is-cropped":"")},r.map((function(e){var t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var r=Object(Q.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(Q.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Q.createElement)("figure",null,t?Object(Q.createElement)("a",{href:t},r):r,e.caption&&e.caption.length>0&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible:function(e){var t=e.images,r=e.ids;return t&&t.length>0&&(!r&&t||r&&t&&r.length!==t.length||Object(K.some)(t,(function(e,t){return!e&&null!==r[t]||parseInt(e,10)!==r[t]})))},migrate:function(e){return Ar(Ar({},e),{},{ids:Object(K.map)(e.images,(function(e){var t=e.id;return t?parseInt(t,10):null}))})},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,o=void 0===n?Mr(t):n,c=t.imageCrop,a=t.linkTo;return Object(Q.createElement)("ul",{className:"columns-".concat(o," ").concat(c?"is-cropped":"")},r.map((function(e){var t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(Q.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(Q.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Q.createElement)("figure",null,t?Object(Q.createElement)("a",{href:t},r):r,e.caption&&e.caption.length>0&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,o=void 0===n?Mr(t):n,c=t.align,a=t.imageCrop,i=t.linkTo,l=ne()("columns-".concat(o),{alignnone:"none"===c,"is-cropped":a});return Object(Q.createElement)("div",{className:l},r.map((function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(Q.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(Q.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(Q.createElement)("a",{href:t},r):r)})))}}],Lr=r(115),Ir=Object(Q.createElement)($.BlockIcon,{icon:Nr}),Dr=r(25),Fr=r(26),Ur=r(18),Gr=r(32),Wr=r(34),qr=r(22),Zr=r(217),Yr=r(216),$r=r(272),Jr=r(159);function Kr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Object(qr.a)(e);if(t){var o=Object(qr.a)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Object(Wr.a)(this,r)}}var Xr=function(e){Object(Gr.a)(r,e);var t=Kr(r);function r(){var e;return Object(Dr.a)(this,r),(e=t.apply(this,arguments)).onSelectImage=e.onSelectImage.bind(Object(Ur.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(Ur.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(Ur.a)(e)),e.bindContainer=e.bindContainer.bind(Object(Ur.a)(e)),e.onEdit=e.onEdit.bind(Object(Ur.a)(e)),e.onSelectImageFromLibrary=e.onSelectImageFromLibrary.bind(Object(Ur.a)(e)),e.onSelectCustomURL=e.onSelectCustomURL.bind(Object(Ur.a)(e)),e.state={captionSelected:!1,isEditing:!1},e}return Object(Fr.a)(r,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onSelectImage",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onRemoveImage",value:function(e){this.container===this.container.ownerDocument.activeElement&&this.props.isSelected&&-1!==[cr.BACKSPACE,cr.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"onEdit",value:function(){this.setState({isEditing:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isSelected,n=t.image,o=t.url,c=t.__unstableMarkNextChangeAsNotPersistent;n&&!o&&(c(),this.props.setAttributes({url:n.source_url,alt:n.alt_text})),this.state.captionSelected&&!r&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"deselectOnBlur",value:function(){this.props.onDeselect()}},{key:"onSelectImageFromLibrary",value:function(e){var t=this.props,r=t.setAttributes,n=t.id,o=t.url,c=t.alt,a=t.caption,i=t.sizeSlug;if(e&&e.url){var l=Rr(e,i);(function(e,t){return!e&&Object(Ee.isBlobURL)(t)})(n,o)&&c&&(l=Object(K.omit)(l,["alt"])),a&&!Object(K.get)(l,["caption"])&&(l=Object(K.omit)(l,["caption"])),r(l),this.setState({isEditing:!1})}}},{key:"onSelectCustomURL",value:function(e){var t=this.props,r=t.setAttributes;e!==t.url&&(r({url:e,id:void 0}),this.setState({isEditing:!1}))}},{key:"render",value:function(){var e,t=this.props,r=t.url,n=t.alt,o=t.id,c=t.linkTo,a=t.link,i=t.isFirstItem,l=t.isLastItem,s=t.isSelected,u=t.caption,b=t.onRemove,m=t.onMoveForward,d=t.onMoveBackward,p=t.setAttributes,g=t["aria-label"],h=this.state.isEditing;switch(c){case"file":e=r;break;case"post":e=a}var f=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)("img",{src:r,alt:n,"data-id":o,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":g,ref:this.bindContainer}),Object(Ee.isBlobURL)(r)&&Object(Q.createElement)(be.Spinner,null)),O=ne()({"is-selected":s,"is-transient":Object(Ee.isBlobURL)(r)});return Object(Q.createElement)("figure",{className:O},!h&&(e?Object(Q.createElement)("a",{href:e},f):f),h&&Object(Q.createElement)($.MediaPlaceholder,{labels:{title:Object(X.__)("Edit gallery image")},icon:ye,onSelect:this.onSelectImageFromLibrary,onSelectURL:this.onSelectCustomURL,accept:"image/*",allowedTypes:["image"],value:{id:o,src:r}}),Object(Q.createElement)(be.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-left"},Object(Q.createElement)(be.Button,{icon:Zr.a,onClick:i?void 0:d,label:Object(X.__)("Move image backward"),"aria-disabled":i,disabled:!s}),Object(Q.createElement)(be.Button,{icon:Yr.a,onClick:l?void 0:m,label:Object(X.__)("Move image forward"),"aria-disabled":l,disabled:!s})),Object(Q.createElement)(be.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right"},Object(Q.createElement)(be.Button,{icon:$r.a,onClick:this.onEdit,label:Object(X.__)("Replace image"),disabled:!s}),Object(Q.createElement)(be.Button,{icon:Jr.a,onClick:b,label:Object(X.__)("Remove image"),disabled:!s})),!h&&(s||u)&&Object(Q.createElement)($.RichText,{tagName:"figcaption","aria-label":Object(X.__)("Image caption text"),placeholder:s?Object(X.__)("Add caption"):null,value:u,isSelected:this.state.captionSelected,onChange:function(e){return p({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),r}(Q.Component),Qr=Object(xe.compose)([Object(Ce.withSelect)((function(e,t){var r=e(Y.store).getMedia,n=t.id;return{image:n?r(parseInt(n,10)):null}})),Object(Ce.withDispatch)((function(e){return{__unstableMarkNextChangeAsNotPersistent:e($.store).__unstableMarkNextChangeAsNotPersistent}}))])(Xr);function en(e){var t=e.isHidden,r=Object(Jt.a)(e,["isHidden"]);return t?Object(Q.createElement)(be.VisuallyHidden,Object(ue.a)({as:$.RichText},r)):Object(Q.createElement)($.RichText,r)}var tn=function(e){var t,r=e.attributes,n=e.isSelected,o=e.setAttributes,c=e.selectedImage,a=e.mediaPlaceholder,i=e.onMoveBackward,l=e.onMoveForward,s=e.onRemoveImage,u=e.onSelectImage,b=e.onDeselectImage,m=e.onSetImageAttributes,d=e.onFocusGalleryCaption,p=e.insertBlocksAfter,g=e.blockProps,h=r.align,f=r.columns,O=void 0===f?Mr(r):f,v=r.caption,j=r.imageCrop,y=r.images;return Object(Q.createElement)("figure",Object(ue.a)({},g,{className:ne()(g.className,(t={},Object(Z.a)(t,"align".concat(h),h),Object(Z.a)(t,"columns-".concat(O),O),Object(Z.a)(t,"is-cropped",j),t))}),Object(Q.createElement)("ul",{className:"blocks-gallery-grid"},y.map((function(e,t){var o=Object(X.sprintf)(Object(X.__)("image %1$d of %2$d in gallery"),t+1,y.length);return Object(Q.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(Q.createElement)(Qr,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===t,isLastItem:t+1===y.length,isSelected:n&&c===t,onMoveBackward:i(t),onMoveForward:l(t),onRemove:s(t),onSelect:u(t),onDeselect:b(t),setAttributes:function(e){return m(t,e)},caption:e.caption,"aria-label":o,sizeSlug:r.sizeSlug}))}))),a,Object(Q.createElement)(en,{isHidden:!n&&$.RichText.isEmpty(v),tagName:"figcaption",className:"blocks-gallery-caption","aria-label":Object(X.__)("Gallery caption text"),placeholder:Object(X.__)("Write gallery caption…"),value:v,unstableOnFocus:d,onChange:function(e){return o({caption:e})},inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return p(Object(J.createBlock)("core/paragraph"))}}))};function rn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var on=[{value:"post",label:Object(X.__)("Attachment Page")},{value:"file",label:Object(X.__)("Media File")},{value:"none",label:Object(X.__)("None")}],cn=["image"],an=Q.Platform.select({web:Object(X.__)("Drag images, upload new ones or select files from your library."),native:Object(X.__)("ADD MEDIA")}),ln=Q.Platform.select({web:{},native:{type:"stepper"}});var sn=Object(xe.compose)([Object(Ce.withSelect)((function(e,t){var r=t.attributes.ids,n=t.isSelected,o=e(Y.store).getMedia,c=(0,e($.store).getSettings)(),a=c.imageSizes,i=c.mediaUpload,l=Object(Q.useMemo)((function(){return n?Object(K.reduce)(r,(function(e,t){if(!t)return e;var r=o(t),n=Object(K.reduce)(a,(function(e,t){var n=Object(K.get)(r,["sizes",t.slug,"url"]),o=Object(K.get)(r,["media_details","sizes",t.slug,"source_url"]);return nn(nn({},e),{},Object(Z.a)({},t.slug,n||o))}),{});return nn(nn({},e),{},Object(Z.a)({},parseInt(t,10),n))}),{}):{}}),[n,r,a]);return{imageSizes:a,mediaUpload:i,resizedImages:l}})),be.withNotices,Object(Lr.withViewportMatch)({isNarrow:"< small"})])((function(e){var t=e.attributes,r=e.isSelected,n=e.noticeUI,o=e.noticeOperations,c=e.mediaUpload,a=e.imageSizes,i=e.resizedImages,l=e.onFocus,s=t.columns,u=void 0===s?Mr(t):s,b=t.imageCrop,m=t.images,d=t.linkTo,p=t.sizeSlug,g=Object(Q.useState)(),h=Object(ke.a)(g,2),f=h[0],O=h[1],v=Object(Q.useState)(),j=Object(ke.a)(v,2),y=j[0],w=j[1],_=Object(Ce.useDispatch)($.store).__unstableMarkNextChangeAsNotPersistent;function k(t){if(t.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');t.images&&(t=nn(nn({},t),{},{ids:Object(K.map)(t.images,(function(e){var t=e.id;return parseInt(t,10)}))})),e.setAttributes(t)}function E(e,t){var r=Object(q.a)(m);r.splice(t,1,m[e]),r.splice(e,1,m[t]),O(t),k({images:r})}function C(e){var t=Object(K.toString)(e.id),r=Object(K.find)(m,{id:t}),n=r?r.caption:e.caption;if(!y)return n;var o=Object(K.find)(y,{id:t});return o&&o.caption!==e.caption?e.caption:n}function x(e){w(e.map((function(e){return{id:Object(K.toString)(e.id),caption:e.caption}}))),k({images:e.map((function(e){return nn(nn({},Rr(e,p)),{},{caption:C(e),id:Object(K.toString)(e.id)})})),columns:t.columns?Math.min(e.length,t.columns):t.columns})}Object(Q.useEffect)((function(){if("web"===Q.Platform.OS&&m&&m.length>0&&Object(K.every)(m,(function(e){var t=e.url;return Object(Ee.isBlobURL)(t)}))){var e=Object(K.map)(m,(function(e){var t=e.url;return Object(Ee.getBlobByURL)(t)}));Object(K.forEach)(m,(function(e){var t=e.url;return Object(Ee.revokeBlobURL)(t)})),c({filesList:e,onFileChange:x,allowedTypes:["image"]})}}),[]),Object(Q.useEffect)((function(){r||O()}),[r]),Object(Q.useEffect)((function(){var e,t,r,n,o,c;d||(_(),k({linkTo:(null===(e=window)||void 0===e||null===(t=e.wp)||void 0===t||null===(r=t.media)||void 0===r||null===(n=r.view)||void 0===n||null===(o=n.settings)||void 0===o||null===(c=o.defaultProps)||void 0===c?void 0:c.link)||"none"}))}),[d]);var S=!!m.length,P=S&&m.some((function(e){return!!e.id})),B=Object(Q.createElement)($.MediaPlaceholder,{addToGallery:P,isAppender:S,disableMediaButtons:S&&!r,icon:!S&&Ir,labels:{title:!S&&Object(X.__)("Gallery"),instructions:!S&&an},onSelect:x,accept:"image/*",allowedTypes:cn,multiple:!0,value:P?m:{},onError:function(e){o.removeAllNotices(),o.createErrorNotice(e)},notices:S?void 0:n,onFocus:l}),z=Object($.useBlockProps)();if(!S)return Object(Q.createElement)(ee.View,z,B);var T=Object(K.map)(Object(K.filter)(a,(function(e){var t=e.slug;return Object(K.some)(i,(function(e){return e[t]}))})),(function(e){var t=e.name;return{value:e.slug,label:t}})),N=S&&!Object(K.isEmpty)(T);return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Gallery settings")},m.length>1&&Object(Q.createElement)(be.RangeControl,Object(ue.a)({label:Object(X.__)("Columns"),value:u,onChange:function(e){k({columns:e})},min:1,max:Math.min(8,m.length)},ln,{required:!0})),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Crop images"),checked:!!b,onChange:function(){k({imageCrop:!b})},help:function(e){return e?Object(X.__)("Thumbnails are cropped to align."):Object(X.__)("Thumbnails are not cropped.")}}),Object(Q.createElement)(be.SelectControl,{label:Object(X.__)("Link to"),value:d,onChange:function(e){k({linkTo:e})},options:on,hideCancelButton:!0}),N&&Object(Q.createElement)(be.SelectControl,{label:Object(X.__)("Image size"),value:p,options:T,onChange:function(e){k({images:Object(K.map)(m,(function(t){if(!t.id)return t;var r=Object(K.get)(i,[parseInt(t.id,10),e]);return nn(nn({},t),r&&{url:r})})),sizeSlug:e})},hideCancelButton:!0}))),n,Object(Q.createElement)(tn,Object(ue.a)({},e,{selectedImage:f,mediaPlaceholder:B,onMoveBackward:function(e){return function(){0!==e&&E(e,e-1)}},onMoveForward:function(e){return function(){e!==m.length-1&&E(e,e+1)}},onRemoveImage:function(e){return function(){var r=Object(K.filter)(m,(function(t,r){return e!==r}));O(),k({images:r,columns:t.columns?Math.min(r.length,t.columns):t.columns})}},onSelectImage:function(e){return function(){O(e)}},onDeselectImage:function(){return function(){O()}},onSetImageAttributes:function(e,t){m[e]&&k({images:[].concat(Object(q.a)(m.slice(0,e)),[nn(nn({},m[e]),t)],Object(q.a)(m.slice(e+1)))})},onFocusGalleryCaption:function(){O()},blockProps:z})))}));var un=function(e){return e?e.split(",").map((function(e){return parseInt(e,10)})):[]},bn={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0],r=t.align,n=t.sizeSlug;r=Object(K.every)(e,["align",r])?r:void 0,n=Object(K.every)(e,["sizeSlug",n])?n:void 0;var o=Object(K.filter)(e,(function(e){return e.url}));return Object(J.createBlock)("core/gallery",{images:o.map((function(e){var t=e.id,r=e.url,n=e.alt,o=e.caption;return{id:Object(K.toString)(t),url:r,alt:n,caption:o}})),ids:o.map((function(e){var t=e.id;return parseInt(t,10)})),align:r,sizeSlug:n})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return un(t).map((function(e){return{id:Object(K.toString)(e)}}))}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return un(t)}},columns:{type:"number",shortcode:function(e){var t=e.named.columns;return parseInt(void 0===t?"3":t,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link;return void 0===t?"post":t}}},isMatch:function(e){return void 0!==e.named.ids}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(K.every)(e,(function(e){return 0===e.type.indexOf("image/")}))},transform:function(e){return Object(J.createBlock)("core/gallery",{images:e.map((function(e){return Rr({url:Object(Ee.createBlobURL)(e)})}))})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,r=e.align,n=e.sizeSlug,o=e.ids;return t.length>0?t.map((function(e,t){var c=e.url,a=e.alt,i=e.caption;return Object(J.createBlock)("core/image",{id:o[t],url:c,alt:a,caption:i,align:r,sizeSlug:n})})):Object(J.createBlock)("core/image",{align:r})}}]},mn={apiVersion:2,name:"core/gallery",category:"media",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"},dn=mn.name,pn={title:Object(X._x)("Gallery","block title"),description:Object(X.__)("Display multiple images in a rich gallery."),icon:Nr,keywords:[Object(X.__)("images"),Object(X.__)("photos")],example:{attributes:{columns:2,images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},transforms:bn,edit:sn,save:function(e){var t=e.attributes,r=t.images,n=t.columns,o=void 0===n?Mr(t):n,c=t.imageCrop,a=t.caption,i=t.linkTo,l="columns-".concat(o," ").concat(c?"is-cropped":"");return Object(Q.createElement)("figure",$.useBlockProps.save({className:l}),Object(Q.createElement)("ul",{className:"blocks-gallery-grid"},r.map((function(e){var t;switch(i){case"file":t=e.fullUrl||e.url;break;case"post":t=e.link}var r=Object(Q.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(Q.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Q.createElement)("figure",null,t?Object(Q.createElement)("a",{href:t},r):r,!$.RichText.isEmpty(e.caption)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!$.RichText.isEmpty(a)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))},deprecated:Hr},gn=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5zM8 12.8h8v-1.5H8v1.5zm0 3h8v-1.5H8v1.5z"})),hn=r(76),fn=r.n(hn);var On={apiVersion:2,name:"core/archives",category:"widgets",attributes:{displayAsDropdown:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-archives-editor"},vn=On.name,jn={title:Object(X._x)("Archives","block title"),description:Object(X.__)("Display a monthly archive of your posts."),icon:gn,example:{},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.showPostCounts,o=t.displayAsDropdown;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Archives settings")},Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Display as dropdown"),checked:o,onChange:function(){return r({displayAsDropdown:!o})}}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Show post counts"),checked:n,onChange:function(){return r({showPostCounts:!n})}}))),Object(Q.createElement)("div",Object($.useBlockProps)(),Object(Q.createElement)(be.Disabled,null,Object(Q.createElement)(fn.a,{block:"core/archives",attributes:t}))))}},yn=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})),wn=[{attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,o=t.loop,c=t.preload,a=t.src;return Object(Q.createElement)("figure",null,Object(Q.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:o,preload:c}),!$.RichText.isEmpty(n)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",value:n}))}}],_n=["audio"];var kn=Object(be.withNotices)((function(e){var t=e.attributes,r=e.noticeOperations,n=e.setAttributes,o=e.onReplace,c=e.isSelected,a=e.noticeUI,i=e.insertBlocksAfter,l=t.id,s=t.autoplay,u=t.caption,b=t.loop,m=t.preload,d=t.src,p=Object($.useBlockProps)(),g=Object(Ce.useSelect)((function(e){return(0,e($.store).getSettings)().mediaUpload}),[]);function h(e){return function(t){n(Object(Z.a)({},e,t))}}function f(e){if(e!==d){var t=Fe({attributes:{url:e}});if(void 0!==t)return void o(t);n({src:e,id:void 0})}}function O(e){r.removeAllNotices(),r.createErrorNotice(e)}function v(e){e&&e.url?n({src:e.url,id:e.id}):n({src:void 0,id:void 0})}return Object(Q.useEffect)((function(){if(!l&&Object(Ee.isBlobURL)(d)){var e=Object(Ee.getBlobByURL)(d);e&&g({filesList:[e],onFileChange:function(e){var t=Object(ke.a)(e,1)[0],r=t.id,o=t.url;n({id:r,src:o})},onError:function(e){n({src:void 0,id:void 0}),r.createErrorNotice(e)},allowedTypes:_n})}}),[]),d?Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,{group:"other"},Object(Q.createElement)($.MediaReplaceFlow,{mediaId:l,mediaURL:d,allowedTypes:_n,accept:"audio/*",onSelect:v,onSelectURL:f,onError:O})),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Audio settings")},Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Autoplay"),onChange:h("autoplay"),checked:s,help:function(e){return e?Object(X.__)("Note: Autoplaying audio may cause usability issues for some visitors."):null}}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Loop"),onChange:h("loop"),checked:b}),Object(Q.createElement)(be.SelectControl,{label:Object(X.__)("Preload"),value:m||"",onChange:function(e){return n({preload:e||void 0})},options:[{value:"",label:Object(X.__)("Browser default")},{value:"auto",label:Object(X.__)("Auto")},{value:"metadata",label:Object(X.__)("Metadata")},{value:"none",label:Object(X.__)("None")}]}))),Object(Q.createElement)("figure",p,Object(Q.createElement)(be.Disabled,null,Object(Q.createElement)("audio",{controls:"controls",src:d})),(!$.RichText.isEmpty(u)||c)&&Object(Q.createElement)($.RichText,{tagName:"figcaption","aria-label":Object(X.__)("Audio caption text"),placeholder:Object(X.__)("Add caption"),value:u,onChange:function(e){return n({caption:e})},inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return i(Object(J.createBlock)("core/paragraph"))}}))):Object(Q.createElement)("div",p,Object(Q.createElement)($.MediaPlaceholder,{icon:Object(Q.createElement)($.BlockIcon,{icon:yn}),onSelect:v,onSelectURL:f,accept:"audio/*",allowedTypes:_n,value:t,notices:a,onError:O}))}));var En={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("audio/")},transform:function(e){var t=e[0];return Object(J.createBlock)("core/audio",{src:Object(Ee.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:function(e){var t=e.named,r=t.src,n=t.mp3,o=t.m4a,c=t.ogg,a=t.wav,i=t.wma;return r||n||o||c||a||i}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},Cn={apiVersion:2,name:"core/audio",category:"media",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-audio-editor",style:"wp-block-audio"},xn=Cn.name,Sn={title:Object(X._x)("Audio","block title"),description:Object(X.__)("Embed a simple audio player."),keywords:[Object(X.__)("music"),Object(X.__)("sound"),Object(X.__)("podcast"),Object(X.__)("recording")],icon:yn,transforms:En,deprecated:wn,edit:kn,save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,o=t.loop,c=t.preload,a=t.src;return a&&Object(Q.createElement)("figure",$.useBlockProps.save(),Object(Q.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:o,preload:c}),!$.RichText.isEmpty(n)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",value:n}))}},Pn=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M17 3H7c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4zm-8-1.2h5V6.2h-5v1.6zM17 13H7c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4zm-8-1.2h5v-1.5h-5v1.5z"}));function Bn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function zn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bn(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Tn=[{supports:{align:["center","left","right"],anchor:!0},save:function(){return Object(Q.createElement)("div",null,Object(Q.createElement)($.InnerBlocks.Content,null))},isEligible:function(e){var t=e.align;return t&&["center","left","right"].includes(t)},migrate:function(e){return zn(zn({},e),{},{align:void 0,contentJustification:e.align})}}],Nn={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:function(e){return Object(J.createBlock)("core/buttons",{},e.map((function(e){return Object(J.createBlock)("core/button",e)})))}},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(J.createBlock)("core/buttons",{},e.map((function(e){var t=document.createElement("div");t.innerHTML=e.content;var r=t.innerText||"",n=t.querySelector("a"),o=null==n?void 0:n.getAttribute("href");return Object(J.createBlock)("core/button",{text:r,url:o})})))},isMatch:function(e){return e.every((function(e){var t=document.createElement("div");t.innerHTML=e.content;var r=t.innerText||"",n=t.querySelectorAll("a");return r.length<=30&&n.length<=1}))}}]},Mn=r(314);function Rn(e,t){var r,n,o,c,a,i,l,s,u,b,m,d=arguments.length>2&&void 0!==arguments[2]&&arguments[2],p=e.backgroundColor,g=e.textColor,h=e.gradient,f=e.style,O=Object($.getColorClassName)("background-color",p),v=Object($.__experimentalGetGradientClass)(h),j=Object($.getColorClassName)("color",g),y=ne()(j,v,(a={},Object(Z.a)(a,O,!(null!=f&&null!==(r=f.color)&&void 0!==r&&r.gradient||!O)),Object(Z.a)(a,"has-text-color",g||(null==f||null===(n=f.color)||void 0===n?void 0:n.text)),Object(Z.a)(a,"has-background",p||(null==f||null===(o=f.color)||void 0===o?void 0:o.background)||h||(null==f||null===(c=f.color)||void 0===c?void 0:c.gradient)),a)),w=null!=f&&null!==(i=f.color)&&void 0!==i&&i.background||null!=f&&null!==(l=f.color)&&void 0!==l&&l.text||null!=f&&null!==(s=f.color)&&void 0!==s&&s.gradient?{background:null!=f&&null!==(u=f.color)&&void 0!==u&&u.gradient?f.color.gradient:void 0,backgroundColor:null!=f&&null!==(b=f.color)&&void 0!==b&&b.background?f.color.background:void 0,color:null!=f&&null!==(m=f.color)&&void 0!==m&&m.text?f.color.text:void 0}:{};if(d){if(p){var _=Object($.getColorObjectByAttributeValues)(t,p);w.backgroundColor=_.color}if(g){var k=Object($.getColorObjectByAttributeValues)(t,g);w.color=k.color}}return{className:y||void 0,style:w}}function Vn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function An(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vn(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Hn=function(e){if(!e.customTextColor&&!e.customBackgroundColor&&!e.customGradient)return e;var t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customGradient&&(t.color.gradient=e.customGradient),An(An({},Object(K.omit)(e,["customTextColor","customBackgroundColor","customGradient"])),{},{style:t})},Ln=function(e){return Hn(Object(K.omit)(An(An({},e),{},{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"]))},In={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"}},Dn=[{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:An(An({},In),{},{linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},width:{type:"number"}}),save:function(e){var t=e.attributes,r=e.className,n=t.borderRadius,o=t.linkTarget,c=t.rel,a=t.text,i=t.title,l=t.url,s=t.width,u=Rn(t),b=ne()("wp-block-button__link",u.className,{"no-border-radius":0===n}),m=An({borderRadius:n?n+"px":void 0},u.style),d=ne()(r,Object(Z.a)({},"has-custom-width wp-block-button__width-".concat(s),s));return Object(Q.createElement)("div",$.useBlockProps.save({className:d}),Object(Q.createElement)($.RichText.Content,{tagName:"a",className:b,href:l,title:i,style:m,value:a,target:o,rel:c}))}},{supports:{align:!0,alignWide:!1,color:{gradients:!0}},attributes:An(An({},In),{},{linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}}),save:function(e){var t=e.attributes,r=t.borderRadius,n=t.linkTarget,o=t.rel,c=t.text,a=t.title,i=t.url,l=ne()("wp-block-button__link",{"no-border-radius":0===r}),s={borderRadius:r?r+"px":void 0};return Object(Q.createElement)($.RichText.Content,{tagName:"a",className:l,href:i,title:a,style:s,value:c,target:n,rel:o})}},{supports:{align:!0,alignWide:!1},attributes:An(An({},In),{},{linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},customGradient:{type:"string"},gradient:{type:"string"}}),isEligible:function(e){return!!e.customTextColor||!!e.customBackgroundColor||!!e.customGradient},migrate:Hn,save:function(e){var t,r=e.attributes,n=r.backgroundColor,o=r.borderRadius,c=r.customBackgroundColor,a=r.customTextColor,i=r.customGradient,l=r.linkTarget,s=r.gradient,u=r.rel,b=r.text,m=r.textColor,d=r.title,p=r.url,g=Object($.getColorClassName)("color",m),h=!i&&Object($.getColorClassName)("background-color",n),f=Object($.__experimentalGetGradientClass)(s),O=ne()("wp-block-button__link",(t={"has-text-color":m||a},Object(Z.a)(t,g,g),Object(Z.a)(t,"has-background",n||c||i||s),Object(Z.a)(t,h,h),Object(Z.a)(t,"no-border-radius",0===o),Object(Z.a)(t,f,f),t)),v={background:i||void 0,backgroundColor:h||i||s?void 0:c,color:g?void 0:a,borderRadius:o?o+"px":void 0};return Object(Q.createElement)("div",null,Object(Q.createElement)($.RichText.Content,{tagName:"a",className:O,href:p,title:d,style:v,value:b,target:l,rel:u}))}},{attributes:An(An({},In),{},{align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"}}),isEligible:function(e){return e.className&&e.className.includes("is-style-squared")},migrate:function(e){var t=e.className;return t&&(t=t.replace(/is-style-squared[\s]?/,"").trim()),Hn(An(An({},e),{},{className:t||void 0,borderRadius:0}))},save:function(e){var t,r=e.attributes,n=r.backgroundColor,o=r.customBackgroundColor,c=r.customTextColor,a=r.linkTarget,i=r.rel,l=r.text,s=r.textColor,u=r.title,b=r.url,m=Object($.getColorClassName)("color",s),d=Object($.getColorClassName)("background-color",n),p=ne()("wp-block-button__link",(t={"has-text-color":s||c},Object(Z.a)(t,m,m),Object(Z.a)(t,"has-background",n||o),Object(Z.a)(t,d,d),t)),g={backgroundColor:d?void 0:o,color:m?void 0:c};return Object(Q.createElement)("div",null,Object(Q.createElement)($.RichText.Content,{tagName:"a",className:p,href:b,title:u,style:g,value:l,target:a,rel:i}))}},{attributes:An(An({},In),{},{align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}}),migrate:Ln,save:function(e){var t,r=e.attributes,n=r.url,o=r.text,c=r.title,a=r.backgroundColor,i=r.textColor,l=r.customBackgroundColor,s=r.customTextColor,u=Object($.getColorClassName)("color",i),b=Object($.getColorClassName)("background-color",a),m=ne()("wp-block-button__link",(t={"has-text-color":i||s},Object(Z.a)(t,u,u),Object(Z.a)(t,"has-background",a||l),Object(Z.a)(t,b,b),t)),d={backgroundColor:b?void 0:l,color:u?void 0:s};return Object(Q.createElement)("div",null,Object(Q.createElement)($.RichText.Content,{tagName:"a",className:m,href:n,title:c,style:d,value:o}))}},{attributes:An(An({},In),{},{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,r=t.url,n=t.text,o=t.title,c=t.align,a={backgroundColor:t.color,color:t.textColor};return Object(Q.createElement)("div",{className:"align".concat(c)},Object(Q.createElement)($.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:r,title:o,style:a,value:n}))},migrate:Ln},{attributes:An(An({},In),{},{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,r=t.url,n=t.text,o=t.title,c=t.align,a=t.color,i=t.textColor;return Object(Q.createElement)("div",{className:"align".concat(c),style:{backgroundColor:a}},Object(Q.createElement)($.RichText.Content,{tagName:"a",href:r,title:o,style:{color:i},value:n}))},migrate:Ln}],Fn=r(196),Un=r(220);function Gn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Wn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gn(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var qn=[];function Zn(e){var t=e.borderRadius,r=void 0===t?"":t,n=e.setAttributes,o=r,c=Object(Q.useCallback)((function(e){n(void 0===e?{borderRadius:o}:{borderRadius:e})}),[n]);return Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Border settings")},Object(Q.createElement)(be.RangeControl,{value:r,label:Object(X.__)("Border radius"),min:0,max:50,initialPosition:5,allowReset:!0,onChange:c}))}function Yn(e){var t=e.selectedWidth,r=e.setAttributes;return Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Width settings")},Object(Q.createElement)(be.ButtonGroup,{"aria-label":Object(X.__)("Button width")},[25,50,75,100].map((function(e){return Object(Q.createElement)(be.Button,{key:e,isSmall:!0,isPrimary:e===t,onClick:function(){var n;r({width:t===(n=e)?void 0:n})}},e,"%")}))))}function $n(e){var t,r=e.isSelected,n=e.url,o=e.setAttributes,c=e.opensInNewTab,a=e.onToggleOpenInNewTab,i=e.anchorRef,l=Object(Q.useState)(!1),s=Object(ke.a)(l,2),u=s[0],b=s[1],m=!!n,d=m&&r,p=function(){return b(!0),!1},g=function(){o({url:void 0,linkTarget:void 0,rel:void 0}),b(!1)},h=(u||d)&&Object(Q.createElement)(be.Popover,{position:"bottom center",onClose:function(){return b(!1)},anchorRef:null==i?void 0:i.current},Object(Q.createElement)($.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:n,opensInNewTab:c},onChange:function(e){var t=e.url,r=void 0===t?"":t,n=e.opensInNewTab;o({url:r}),c!==n&&a(n)}}));return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,{group:"block"},!m&&Object(Q.createElement)(be.ToolbarButton,{name:"link",icon:Fn.a,title:Object(X.__)("Link"),shortcut:cr.displayShortcut.primary("k"),onClick:p}),d&&Object(Q.createElement)(be.ToolbarButton,{name:"link",icon:Un.a,title:Object(X.__)("Unlink"),shortcut:cr.displayShortcut.primaryShift("k"),onClick:g,isActive:!0})),r&&Object(Q.createElement)(be.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(t={},Object(Z.a)(t,cr.rawShortcut.primary("k"),p),Object(Z.a)(t,cr.rawShortcut.primaryShift("k"),g),t)}),h)}var Jn=function(e){var t=e.attributes,r=e.setAttributes,n=e.className,o=e.isSelected,c=e.onReplace,a=e.mergeBlocks,i=t.borderRadius,l=t.linkTarget,s=t.placeholder,u=t.rel,b=t.text,m=t.url,d=t.width,p=Object(Q.useCallback)((function(e){r({rel:e})}),[r]),g=Object($.__experimentalUseEditorFeature)("color.palette")||qn,h=Object(Q.useCallback)((function(e){var t=e?"_blank":void 0,n=u;t&&!u?n="noreferrer noopener":t||"noreferrer noopener"!==u||(n=void 0),r({linkTarget:t,rel:n})}),[u,r]),f=Rn(t,g,!0),O=Object(Q.useRef)(),v=Object($.useBlockProps)({ref:O});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)("div",Object(ue.a)({},v,{className:ne()(v.className,Object(Z.a)({},"has-custom-width wp-block-button__width-".concat(d),d))}),Object(Q.createElement)($.RichText,{"aria-label":Object(X.__)("Button text"),placeholder:s||Object(X.__)("Add text…"),value:b,onChange:function(e){r({text:e.replace(/<\/?a[^>]*>/g,"")})},withoutInteractiveFormatting:!0,className:ne()(n,"wp-block-button__link",f.className,{"no-border-radius":0===i}),style:Wn({borderRadius:i?i+"px":void 0},f.style),onSplit:function(e){return Object(J.createBlock)("core/button",Wn(Wn({},t),{},{text:e}))},onReplace:c,onMerge:a,identifier:"text"})),Object(Q.createElement)($n,{url:m,setAttributes:r,isSelected:o,opensInNewTab:"_blank"===l,onToggleOpenInNewTab:h,anchorRef:O}),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(Zn,{borderRadius:i,setAttributes:r}),Object(Q.createElement)(Yn,{selectedWidth:d,setAttributes:r})),Object(Q.createElement)($.InspectorAdvancedControls,null,Object(Q.createElement)(be.TextControl,{label:Object(X.__)("Link rel"),value:u||"",onChange:p})))};function Kn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xn(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var eo={apiVersion:2,name:"core/button",category:"design",parent:["core/buttons"],attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},style:{type:"object"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},editorStyle:"wp-block-button-editor",style:"wp-block-button"},to=eo.name,ro={title:Object(X._x)("Button","block title"),description:Object(X.__)("Prompt visitors to take action with a button-style link."),icon:Mn.a,keywords:[Object(X.__)("link")],example:{attributes:{className:"is-style-fill",backgroundColor:"vivid-green-cyan",text:Object(X.__)("Call to Action")}},styles:[{name:"fill",label:Object(X.__)("Fill"),isDefault:!0},{name:"outline",label:Object(X.__)("Outline")}],edit:Jn,save:function(e){var t=e.attributes,r=e.className,n=t.borderRadius,o=t.linkTarget,c=t.rel,a=t.text,i=t.title,l=t.url,s=t.width;if(!a)return null;var u=Rn(t),b=ne()("wp-block-button__link",u.className,{"no-border-radius":0===n}),m=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Kn(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({borderRadius:n?n+"px":void 0},u.style),d=ne()(r,Object(Z.a)({},"has-custom-width wp-block-button__width-".concat(s),s));return Object(Q.createElement)("div",$.useBlockProps.save({className:d}),Object(Q.createElement)($.RichText.Content,{tagName:"a",className:b,href:l,title:i,style:m,value:a,target:o,rel:c}))},deprecated:Dn,merge:function(e,t){var r=t.text,n=void 0===r?"":r;return Qn(Qn({},e),{},{text:(e.text||"")+n})}},no=[to],oo=[["core/button"]];var co=function(e){var t,r=e.attributes,n=r.contentJustification,o=r.orientation,c=e.setAttributes,a=Object($.useBlockProps)({className:ne()((t={},Object(Z.a)(t,"is-content-justification-".concat(n),n),Object(Z.a)(t,"is-vertical","vertical"===o),t))}),i=Object($.__experimentalUseInnerBlocksProps)(a,{allowedBlocks:no,template:oo,orientation:o,__experimentalLayout:{type:"default",alignments:[]},templateInsertUpdatesSelection:!0}),l="vertical"===o?["left","center","right"]:["left","center","right","space-between"];return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,{group:"block"},Object(Q.createElement)($.JustifyContentControl,{allowedControls:l,value:n,onChange:function(e){return c({contentJustification:e})},popoverProps:{position:"bottom right",isAlternate:!0}})),Object(Q.createElement)("div",i))};var ao=[{name:"buttons-horizontal",isDefault:!0,title:Object(X.__)("Horizontal"),description:Object(X.__)("Buttons shown in a row."),attributes:{orientation:"horizontal"},scope:["transform"]},{name:"buttons-vertical",title:Object(X.__)("Vertical"),description:Object(X.__)("Buttons shown in a column."),attributes:{orientation:"vertical"},scope:["transform"]}],io={apiVersion:2,name:"core/buttons",category:"design",attributes:{contentJustification:{type:"string"},orientation:{type:"string",default:"horizontal"}},supports:{anchor:!0,align:["wide","full"]},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"},lo=io.name,so={title:Object(X._x)("Buttons","block title"),description:Object(X.__)("Prompt visitors to take action with a group of button-style links."),icon:Pn,keywords:[Object(X.__)("link")],example:{innerBlocks:[{name:"core/button",attributes:{text:Object(X.__)("Find out more")}},{name:"core/button",attributes:{text:Object(X.__)("Contact us")}}]},deprecated:Tn,transforms:Nn,edit:co,save:function(e){var t,r=e.attributes,n=r.contentJustification,o=r.orientation;return Object(Q.createElement)("div",$.useBlockProps.save({className:ne()((t={},Object(Z.a)(t,"is-content-justification-".concat(n),n),Object(Z.a)(t,"is-vertical","vertical"===o),t))}),Object(Q.createElement)($.InnerBlocks.Content,null))},variations:ao},uo=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})),bo=r(45),mo=r.n(bo),po=r(30);function go(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ho(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?go(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):go(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var fo=Ae()((function(e){if(!e)return{};var t=mo()(e);return{year:t.year(),month:t.month()+1}}));var Oo={apiVersion:2,name:"core/calendar",category:"widgets",attributes:{month:{type:"integer"},year:{type:"integer"}},supports:{align:!0},style:"wp-block-calendar"},vo=Oo.name,jo={title:Object(X._x)("Calendar","block title"),description:Object(X.__)("A calendar of your sites posts."),icon:uo,keywords:[Object(X.__)("posts"),Object(X.__)("archive")],example:{},edit:function(e){var t=e.attributes,r=Object(Ce.useSelect)((function(e){var t=e(po.store).getEditedPostAttribute;return"post"===t("type")?t("date"):void 0}),[]);return Object(Q.createElement)("div",Object($.useBlockProps)(),Object(Q.createElement)(be.Disabled,null,Object(Q.createElement)(fn.a,{block:"core/calendar",attributes:ho(ho({},t),fo(r))})))}},yo=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z",fillRule:"evenodd",clipRule:"evenodd"})),wo=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z"}));var _o={apiVersion:2,name:"core/categories",category:"widgets",attributes:{displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-categories-editor",style:"wp-block-categories"},ko=_o.name,Eo={title:Object(X._x)("Categories","block title"),description:Object(X.__)("Display a list of all categories."),icon:yo,example:{},edit:function e(t){var r,n=t.attributes,o=n.displayAsDropdown,c=n.showHierarchy,a=n.showPostCounts,i=t.setAttributes,l=Object(xe.useInstanceId)(e,"blocks-category-select"),s=Object(Ce.useSelect)((function(e){var t=e(Y.store).getEntityRecords,r=e("core/data").isResolving,n={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",n),isRequesting:r("core","getEntityRecords",["taxonomy","category",n])}}),[]),u=s.categories,b=s.isRequesting,m=function(e){return null!=u&&u.length?null===e?u:u.filter((function(t){return t.parent===e})):[]},d=function(e){return"wp-block-categories__list wp-block-categories__list-level-".concat(e)},p=function(e){return function(t){return i(Object(Z.a)({},e,t))}},g=function(e){return e?Object(K.unescape)(e).trim():Object(X.__)("(Untitled)")},h=function e(t,r){var n=m(t.id),o=t.id,i=t.link,l=t.count,s=t.name;return Object(Q.createElement)("li",{key:o},Object(Q.createElement)("a",{href:i,target:"_blank",rel:"noreferrer noopener"},g(s)),a&&Object(Q.createElement)("span",{className:"wp-block-categories__post-count"}," (".concat(l,")")),c&&!!n.length&&Object(Q.createElement)("ul",{className:d(r+1)},n.map((function(t){return e(t,r+1)}))))},f=function e(t,r){var n=t.id,o=t.count,i=t.name,l=m(n);return[Object(Q.createElement)("option",{key:n},Object(K.times)(3*r,(function(){return" "})),g(i),a&&" (".concat(o,")")),c&&!!l.length&&l.map((function(t){return e(t,r+1)}))]};return Object(Q.createElement)("div",Object($.useBlockProps)(),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Categories settings")},Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Display as dropdown"),checked:o,onChange:p("displayAsDropdown")}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Show hierarchy"),checked:c,onChange:p("showHierarchy")}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Show post counts"),checked:a,onChange:p("showPostCounts")}))),b&&Object(Q.createElement)(be.Placeholder,{icon:wo,label:Object(X.__)("Categories")},Object(Q.createElement)(be.Spinner,null)),!b&&0===u.length&&Object(Q.createElement)("p",null,Object(X.__)("Your site does not have any posts, so there is nothing to display here at the moment.")),!b&&u.length>0&&(o?(r=m(c?0:null),Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(be.VisuallyHidden,{as:"label",htmlFor:l},Object(X.__)("Categories")),Object(Q.createElement)("select",{id:l,className:"wp-block-categories__dropdown"},r.map((function(e){return f(e,0)}))))):function(){var e=m(c?0:null);return Object(Q.createElement)("ul",{className:d(0)},e.map((function(e){return h(e,0)})))}()))}},Co=r(315);function xo(e){return e.replace(/\[/g,"&#91;")}function So(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1&#47;&#47;$2")}var Po={from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(J.createBlock)("core/code")}},{type:"block",blocks:["core/html"],transform:function(e){var t=e.content;return Object(J.createBlock)("core/code",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},Bo={apiVersion:2,name:"core/code",category:"text",attributes:{content:{type:"string",source:"html",selector:"code"}},supports:{anchor:!0,fontSize:!0},style:"wp-block-code"},zo=Bo.name,To={title:Object(X._x)("Code","block title"),description:Object(X.__)("Display code snippets that respect your spacing and tabs."),icon:Co.a,example:{attributes:{content:Object(X.__)('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')}},transforms:Po,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.onRemove,o=Object($.useBlockProps)();return Object(Q.createElement)("pre",o,Object(Q.createElement)($.RichText,{tagName:"code",value:t.content,onChange:function(e){return r({content:e})},onRemove:n,placeholder:Object(X.__)("Write code…"),"aria-label":Object(X.__)("Code"),preserveWhiteSpace:!0,__unstablePastePlainText:!0}))},save:function(e){var t,r=e.attributes;return Object(Q.createElement)("pre",$.useBlockProps.save(),Object(Q.createElement)($.RichText.Content,{tagName:"code",value:(t=r.content,Object(K.flow)(xo,So)(t||""))}))}},No=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-4.1 1.5v10H10v-10h4.9zM5.5 17V8c0-.3.2-.5.5-.5h2.5v10H6c-.3 0-.5-.2-.5-.5zm14 0c0 .3-.2.5-.5.5h-2.6v-10H19c.3 0 .5.2.5.5v9z"}));function Mo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ro(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Mo(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Vo(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return Ao(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ao(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,i=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){i=!0,c=e},f:function(){try{a||null==r.return||r.return()}finally{if(i)throw c}}}}function Ao(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ho(e){var t,r=Ho.doc;r||(r=document.implementation.createHTMLDocument(""),Ho.doc=r),r.body.innerHTML=e;var n,o=Vo(r.body.firstChild.classList);try{for(o.s();!(n=o.n()).done;){if(t=n.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){o.e(e)}finally{o.f()}}var Lo=[{attributes:{verticalAlignment:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textColor:{type:"string"}},migrate:function(e){if(!e.customTextColor&&!e.customBackgroundColor)return e;var t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),Ro(Ro({},Object(K.omit)(e,["customTextColor","customBackgroundColor"])),{},{style:t})},save:function(e){var t,r=e.attributes,n=r.verticalAlignment,o=r.backgroundColor,c=r.customBackgroundColor,a=r.textColor,i=r.customTextColor,l=Object($.getColorClassName)("background-color",o),s=Object($.getColorClassName)("color",a),u=ne()((t={"has-background":o||c,"has-text-color":a||i},Object(Z.a)(t,l,l),Object(Z.a)(t,s,s),Object(Z.a)(t,"are-vertically-aligned-".concat(n),n),t)),b={backgroundColor:l?void 0:c,color:s?void 0:i};return Object(Q.createElement)("div",{className:u||void 0,style:b},Object(Q.createElement)($.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},isEligible:function(e,t){return!!t.some((function(e){return/layout-column-\d+/.test(e.originalContent)}))&&t.some((function(e){return void 0!==Ho(e.originalContent)}))},migrate:function(e,t){var r=t.reduce((function(e,t){var r=Ho(t.originalContent);return void 0===r&&(r=0),e[r]||(e[r]=[]),e[r].push(t),e}),[]).map((function(e){return Object(J.createBlock)("core/column",{},e)}));return[Object(K.omit)(e,["columns"]),r]},save:function(e){var t=e.attributes.columns;return Object(Q.createElement)("div",{className:"has-".concat(t,"-columns")},Object(Q.createElement)($.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:function(e,t){return[e=Object(K.omit)(e,["columns"]),t]},save:function(e){var t=e.attributes,r=t.verticalAlignment,n=t.columns,o=ne()("has-".concat(n,"-columns"),Object(Z.a)({},"are-vertically-aligned-".concat(r),r));return Object(Q.createElement)("div",{className:o},Object(Q.createElement)($.InnerBlocks.Content,null))}}],Io=function(e){var t=parseFloat(e);return Number.isFinite(t)?parseFloat(t.toFixed(2)):void 0};function Do(e,t){var r=e.attributes.width;return Io(void 0===r?100/t:r)}function Fo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(K.sumBy)(e,(function(e){return Do(e,t)}))}function Uo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((function(e,r){var n=Do(r,t);return Object.assign(e,Object(Z.a)({},r.clientId,n))}),{})}function Go(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,n=Fo(e,r);return Object(K.mapValues)(Uo(e,r),(function(e){return Io(t*e/n)}))}function Wo(e,t){return e.map((function(e){return Object(K.merge)({},e,{attributes:{width:t[e.clientId]}})}))}var qo="web"===Q.Platform.OS,Zo=[{value:"%",label:qo?"%":Object(X.__)("Percentage (%)"),default:""},{value:"px",label:qo?"px":Object(X.__)("Pixels (px)"),default:""},{value:"em",label:qo?"em":Object(X.__)("Relative to parent font size (em)"),default:""},{value:"rem",label:qo?"rem":Object(X.__)("Relative to root font size (rem)"),default:""},{value:"vw",label:qo?"vw":Object(X.__)("Viewport width (vw)"),default:""}];var Yo=["core/column"];var $o=Object(Ce.withDispatch)((function(e,t,r){return{updateAlignment:function(n){var o=t.clientId,c=t.setAttributes,a=e($.store).updateBlockAttributes,i=r.select($.store).getBlockOrder;c({verticalAlignment:n}),i(o).forEach((function(e){a(e,{verticalAlignment:n})}))},updateColumns:function(n,o){var c=t.clientId,a=e($.store).replaceInnerBlocks,i=(0,r.select($.store).getBlocks)(c),l=i.every((function(e){var t,r=e.attributes.width;return Number.isFinite(null!=r&&null!==(t=r.endsWith)&&void 0!==t&&t.call(r,"%")?parseFloat(r):r)})),s=o>n;if(s&&l){var u=Io(100/o),b=Go(i,100-u);i=[].concat(Object(q.a)(Wo(i,b)),Object(q.a)(Object(K.times)(o-n,(function(){return Object(J.createBlock)("core/column",{width:u})}))))}else if(s)i=[].concat(Object(q.a)(i),Object(q.a)(Object(K.times)(o-n,(function(){return Object(J.createBlock)("core/column")}))));else{if(i=Object(K.dropRight)(i,n-o),l)i=Wo(i,Go(i,100))}a(c,i)}}}))((function(e){var t=e.attributes,r=e.updateAlignment,n=e.updateColumns,o=e.clientId,c=t.verticalAlignment,a=Object(Ce.useSelect)((function(e){return{count:e($.store).getBlockCount(o)}}),[o]).count,i=ne()(Object(Z.a)({},"are-vertically-aligned-".concat(c),c)),l=Object($.useBlockProps)({className:i}),s=Object($.__experimentalUseInnerBlocksProps)(l,{allowedBlocks:Yo,orientation:"horizontal",renderAppender:!1});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)($.BlockVerticalAlignmentToolbar,{onChange:r,value:c})),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,null,Object(Q.createElement)(be.RangeControl,{label:Object(X.__)("Columns"),value:a,onChange:function(e){return n(a,e)},min:1,max:Math.max(6,a)}),a>6&&Object(Q.createElement)(be.Notice,{status:"warning",isDismissible:!1},Object(X.__)("This column count exceeds the recommended amount and may cause visual breakage.")))),Object(Q.createElement)("div",s))}));function Jo(e){var t=e.clientId,r=e.name,n=e.setAttributes,o=Object(Ce.useSelect)((function(e){var t=e(J.store),n=t.getBlockVariations,o=t.getBlockType,c=t.getDefaultBlockVariation;return{blockType:o(r),defaultVariation:c(r,"block"),variations:n(r,"block")}}),[r]),c=o.blockType,a=o.defaultVariation,i=o.variations,l=Object(Ce.useDispatch)($.store).replaceInnerBlocks,s=Object($.useBlockProps)();return Object(Q.createElement)("div",s,Object(Q.createElement)($.__experimentalBlockVariationPicker,{icon:Object(K.get)(c,["icon","src"]),label:Object(K.get)(c,["title"]),variations:i,onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;e.attributes&&n(e.attributes),e.innerBlocks&&l(t,Object(J.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0)},allowSkip:!0}))}var Ko=function(e){var t=e.clientId,r=Object(Ce.useSelect)((function(e){return e($.store).getBlocks(t).length>0}),[t])?$o:Jo;return Object(Q.createElement)(r,e)};var Xo=[{name:"one-column-full",title:Object(X.__)("100"),description:Object(X.__)("One column"),icon:Object(Q.createElement)(be.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(be.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m39.0625 14h-30.0625v20.0938h30.0625zm-30.0625-2c-1.10457 0-2 .8954-2 2v20.0938c0 1.1045.89543 2 2 2h30.0625c1.1046 0 2-.8955 2-2v-20.0938c0-1.1046-.8954-2-2-2z"})),innerBlocks:[["core/column"]],scope:["block"]},{name:"two-columns-equal",title:Object(X.__)("50 / 50"),description:Object(X.__)("Two columns; equal split"),icon:Object(Q.createElement)(be.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(be.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),isDefault:!0,innerBlocks:[["core/column"],["core/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:Object(X.__)("30 / 70"),description:Object(X.__)("Two columns; one-third, two-thirds split"),icon:Object(Q.createElement)(be.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(be.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),innerBlocks:[["core/column",{width:"33.33%"}],["core/column",{width:"66.66%"}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:Object(X.__)("70 / 30"),description:Object(X.__)("Two columns; two-thirds, one-third split"),icon:Object(Q.createElement)(be.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(be.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),innerBlocks:[["core/column",{width:"66.66%"}],["core/column",{width:"33.33%"}]],scope:["block"]},{name:"three-columns-equal",title:Object(X.__)("33 / 33 / 33"),description:Object(X.__)("Three columns; equal split"),icon:Object(Q.createElement)(be.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(be.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),innerBlocks:[["core/column"],["core/column"],["core/column"]],scope:["block"]},{name:"three-columns-wider-center",title:Object(X.__)("25 / 50 / 25"),description:Object(X.__)("Three columns; wide center column"),icon:Object(Q.createElement)(be.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(be.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),innerBlocks:[["core/column",{width:"25%"}],["core/column",{width:"50%"}],["core/column",{width:"25%"}]],scope:["block"]}];function Qo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ec(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qo(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var tc={from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:function(e){var t=+(100/e.length).toFixed(2),r=e.map((function(e){var r=e.name,n=e.attributes,o=e.innerBlocks;return["core/column",{width:"".concat(t,"%")},[[r,ec({},n),o]]]}));return Object(J.createBlock)("core/columns",{},Object(J.createBlocksFromInnerBlocksTemplate)(r))},isMatch:function(e){var t=e.length;return t&&t<=6}},{type:"block",blocks:["core/media-text"],priority:1,transform:function(e,t){var r,n=e.align,o=e.backgroundColor,c=e.textColor,a=e.style,i=e.mediaAlt,l=e.mediaId,s=e.mediaPosition,u=e.mediaSizeSlug,b=e.mediaType,m=e.mediaUrl,d=e.mediaWidth,p=e.verticalAlignment;if("image"!==b&&b)r=["core/video",{id:l,src:m}];else{var g={id:l,alt:i,url:m,sizeSlug:u},h={href:e.href,linkClass:e.linkClass,linkDestination:e.linkDestination,linkTarget:e.linkTarget,rel:e.rel};r=["core/image",ec(ec({},g),h)]}var f=[["core/column",{width:"".concat(d,"%")},[r]],["core/column",{width:"".concat(100-d,"%")},t]];return"right"===s&&f.reverse(),Object(J.createBlock)("core/columns",{align:n,backgroundColor:o,textColor:c,style:a,verticalAlignment:p},Object(J.createBlocksFromInnerBlocksTemplate)(f))}}]},rc={apiVersion:2,name:"core/columns",category:"design",attributes:{verticalAlignment:{type:"string"}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,link:!0}},editorStyle:"wp-block-columns-editor",style:"wp-block-columns"},nc=rc.name,oc={title:Object(X._x)("Columns","block title"),icon:No,description:Object(X.__)("Add a block that displays content in multiple columns, then add whatever content blocks youd like."),variations:Xo,example:{innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(X.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.")}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:Object(X.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(X.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:Object(X.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:Lo,edit:Ko,save:function(e){var t=e.attributes.verticalAlignment,r=ne()(Object(Z.a)({},"are-vertically-aligned-".concat(t),t));return Object(Q.createElement)("div",$.useBlockProps.save({className:r}),Object(Q.createElement)($.InnerBlocks.Content,null))},transforms:tc},cc=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z"}));function ac(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ic(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ac(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ac(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var lc=[{attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}},isEligible:function(e){var t=e.width;return isFinite(t)},migrate:function(e){return ic(ic({},e),{},{width:"".concat(e.width,"%")})},save:function(e){var t=e.attributes,r=t.verticalAlignment,n=t.width,o=ne()(Object(Z.a)({},"is-vertically-aligned-".concat(r),r)),c={flexBasis:n+"%"};return Object(Q.createElement)("div",{className:o,style:c},Object(Q.createElement)($.InnerBlocks.Content,null))}}];var sc=function(e){var t=e.attributes,r=t.verticalAlignment,n=t.width,o=t.templateLock,c=void 0!==o&&o,a=e.setAttributes,i=e.clientId,l=ne()("block-core-columns",Object(Z.a)({},"is-vertically-aligned-".concat(r),r)),s=Object(Ce.useSelect)((function(e){var t=e($.store),r=t.getBlockOrder,n=t.getBlockRootClientId;return{hasChildBlocks:r(i).length>0,rootClientId:n(i)}}),[i]),u=s.hasChildBlocks,b=s.rootClientId,m=Object(Ce.useDispatch)($.store).updateBlockAttributes,d=Number.isFinite(n)?n+"%":n,p=Object($.useBlockProps)({className:l,style:d?{flexBasis:d}:void 0}),g=Object($.__experimentalUseInnerBlocksProps)(p,{templateLock:c,renderAppender:u?void 0:$.InnerBlocks.ButtonBlockAppender});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)($.BlockVerticalAlignmentToolbar,{onChange:function(e){a({verticalAlignment:e}),m(b,{verticalAlignment:null})},value:r})),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Column settings")},Object(Q.createElement)(be.__experimentalUnitControl,{label:Object(X.__)("Width"),labelPosition:"edge",__unstableInputWidth:"80px",value:n||"",onChange:function(e){e=0>parseFloat(e)?"0":e,a({width:e})},units:Zo}))),Object(Q.createElement)("div",g))};var uc={apiVersion:2,name:"core/column",category:"text",parent:["core/columns"],attributes:{verticalAlignment:{type:"string"},width:{type:"string"},templateLock:{type:"string"}},supports:{anchor:!0,reusable:!1,html:!1}},bc=uc.name,mc={title:Object(X._x)("Column","block title"),icon:cc,description:Object(X.__)("A single column within a columns block."),edit:sc,save:function(e){var t,r=e.attributes,n=r.verticalAlignment,o=r.width,c=ne()(Object(Z.a)({},"is-vertically-aligned-".concat(n),n));return o&&(t={flexBasis:Number.isFinite(o)?o+"%":o}),Object(Q.createElement)("div",$.useBlockProps.save({className:c,style:t}),Object(Q.createElement)($.InnerBlocks.Content,null))},deprecated:lc},dc=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"}));function pc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var gc={"top left":"is-position-top-left","top center":"is-position-top-center","top right":"is-position-top-right","center left":"is-position-center-left","center center":"is-position-center-center",center:"is-position-center-center","center right":"is-position-center-right","bottom left":"is-position-bottom-left","bottom center":"is-position-bottom-center","bottom right":"is-position-bottom-right"};function hc(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}$.MEDIA_TYPE_IMAGE,$.MEDIA_TYPE_VIDEO;var fc="web"===Q.Platform.OS,Oc=[{value:"px",label:fc?"px":Object(X.__)("Pixels (px)"),default:"430"},{value:"em",label:fc?"em":Object(X.__)("Relative to parent font size (em)"),default:"20"},{value:"rem",label:fc?"rem":Object(X.__)("Relative to root font size (rem)"),default:"20"},{value:"vw",label:fc?"vw":Object(X.__)("Viewport width (vw)"),default:"20"},{value:"vh",label:fc?"vh":Object(X.__)("Viewport height (vh)"),default:"50"}];function vc(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function jc(e){return function(t){if(t&&t.url){var r;if(Object(Ee.isBlobURL)(t.url)&&(t.type=Object(Ee.getBlobTypeByURL)(t.url)),t.media_type)r="image"===t.media_type?"image":"video";else{if("image"!==t.type&&"video"!==t.type)return;r=t.type}e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pc(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({url:t.url,id:t.id,backgroundType:r},"video"===r?{focalPoint:void 0,hasParallax:void 0}:{}))}else e({url:void 0,id:void 0})}}function yc(e){return!e||"center center"===e||"center"===e}function wc(e){return yc(e)?"":gc[e]}function _c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_c(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ec={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},Cc=[{attributes:kc(kc({},Ec),{},{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"}}),supports:{align:!0},save:function(e){var t,r,n=e.attributes,o=n.backgroundType,c=n.gradient,a=n.contentPosition,i=n.customGradient,l=n.customOverlayColor,s=n.dimRatio,u=n.focalPoint,b=n.hasParallax,m=n.isRepeated,d=n.overlayColor,p=n.url,g=n.minHeight,h=n.minHeightUnit,f=Object($.getColorClassName)("background-color",d),O=Object($.__experimentalGetGradientClass)(c),v=h?"".concat(g).concat(h):g,j="image"===o,y="video"===o,w=j?hc(p):{},_={};f||(w.backgroundColor=l),i&&!p&&(w.background=i),w.minHeight=v||void 0,u&&(r="".concat(Math.round(100*u.x),"% ").concat(Math.round(100*u.y),"%"),j&&!b&&(w.backgroundPosition=r),y&&(_.objectPosition=r));var k=ne()(vc(s),f,(t={"has-background-dim":0!==s,"has-parallax":b,"is-repeated":m,"has-background-gradient":c||i},Object(Z.a)(t,O,!p&&O),Object(Z.a)(t,"has-custom-content-position",!yc(a)),t),wc(a));return Object(Q.createElement)("div",$.useBlockProps.save({className:k,style:w}),p&&(c||i)&&0!==s&&Object(Q.createElement)("span",{"aria-hidden":"true",className:ne()("wp-block-cover__gradient-background",O),style:i?{background:i}:void 0}),y&&p&&Object(Q.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:p,style:_}),Object(Q.createElement)("div",{className:"wp-block-cover__inner-container"},Object(Q.createElement)($.InnerBlocks.Content,null)))}},{attributes:kc(kc({},Ec),{},{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}),supports:{align:!0},save:function(e){var t=e.attributes,r=t.backgroundType,n=t.gradient,o=t.customGradient,c=t.customOverlayColor,a=t.dimRatio,i=t.focalPoint,l=t.hasParallax,s=t.overlayColor,u=t.url,b=t.minHeight,m=Object($.getColorClassName)("background-color",s),d=Object($.__experimentalGetGradientClass)(n),p="image"===r?hc(u):{};m||(p.backgroundColor=c),i&&!l&&(p.backgroundPosition="".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")),o&&!u&&(p.background=o),p.minHeight=b||void 0;var g=ne()(vc(a),m,Object(Z.a)({"has-background-dim":0!==a,"has-parallax":l,"has-background-gradient":o},d,!u&&d));return Object(Q.createElement)("div",{className:g,style:p},u&&(n||o)&&0!==a&&Object(Q.createElement)("span",{"aria-hidden":"true",className:ne()("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),"video"===r&&u&&Object(Q.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(Q.createElement)("div",{className:"wp-block-cover__inner-container"},Object(Q.createElement)($.InnerBlocks.Content,null)))}},{attributes:kc(kc({},Ec),{},{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}),supports:{align:!0},save:function(e){var t=e.attributes,r=t.backgroundType,n=t.gradient,o=t.customGradient,c=t.customOverlayColor,a=t.dimRatio,i=t.focalPoint,l=t.hasParallax,s=t.overlayColor,u=t.url,b=t.minHeight,m=Object($.getColorClassName)("background-color",s),d=Object($.__experimentalGetGradientClass)(n),p="image"===r?hc(u):{};m||(p.backgroundColor=c),i&&!l&&(p.backgroundPosition="".concat(100*i.x,"% ").concat(100*i.y,"%")),o&&!u&&(p.background=o),p.minHeight=b||void 0;var g=ne()(vc(a),m,Object(Z.a)({"has-background-dim":0!==a,"has-parallax":l,"has-background-gradient":o},d,!u&&d));return Object(Q.createElement)("div",{className:g,style:p},u&&(n||o)&&0!==a&&Object(Q.createElement)("span",{"aria-hidden":"true",className:ne()("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),"video"===r&&u&&Object(Q.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(Q.createElement)("div",{className:"wp-block-cover__inner-container"},Object(Q.createElement)($.InnerBlocks.Content,null)))}},{attributes:kc(kc({},Ec),{},{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}}),supports:{align:!0},save:function(e){var t=e.attributes,r=t.backgroundType,n=t.contentAlign,o=t.customOverlayColor,c=t.dimRatio,a=t.focalPoint,i=t.hasParallax,l=t.overlayColor,s=t.title,u=t.url,b=Object($.getColorClassName)("background-color",l),m="image"===r?hc(u):{};b||(m.backgroundColor=o),a&&!i&&(m.backgroundPosition="".concat(100*a.x,"% ").concat(100*a.y,"%"));var d=ne()(vc(c),b,Object(Z.a)({"has-background-dim":0!==c,"has-parallax":i},"has-".concat(n,"-content"),"center"!==n));return Object(Q.createElement)("div",{className:d,style:m},"video"===r&&u&&Object(Q.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!$.RichText.isEmpty(s)&&Object(Q.createElement)($.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},migrate:function(e){return[Object(K.omit)(e,["title","contentAlign"]),[Object(J.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(X.__)("Write title…")})]]}},{attributes:kc(kc({},Ec),{},{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}}),supports:{className:!1},save:function(e){var t=e.attributes,r=t.url,n=t.title,o=t.hasParallax,c=t.dimRatio,a=t.align,i=t.contentAlign,l=t.overlayColor,s=t.customOverlayColor,u=Object($.getColorClassName)("background-color",l),b=hc(r);u||(b.backgroundColor=s);var m=ne()("wp-block-cover-image",vc(c),u,Object(Z.a)({"has-background-dim":0!==c,"has-parallax":o},"has-".concat(i,"-content"),"center"!==i),a?"align".concat(a):null);return Object(Q.createElement)("div",{className:m,style:b},!$.RichText.isEmpty(n)&&Object(Q.createElement)($.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:n}))},migrate:function(e){return[Object(K.omit)(e,["title","contentAlign","align"]),[Object(J.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(X.__)("Write title…")})]]}},{attributes:kc(kc({},Ec),{},{title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}}),supports:{className:!1},save:function(e){var t=e.attributes,r=t.url,n=t.title,o=t.hasParallax,c=t.dimRatio,a=t.align,i=hc(r),l=ne()("wp-block-cover-image",vc(c),{"has-background-dim":0!==c,"has-parallax":o},a?"align".concat(a):null);return Object(Q.createElement)("section",{className:l,style:i},Object(Q.createElement)($.RichText.Content,{tagName:"h2",value:n}))},migrate:function(e){return[Object(K.omit)(e,["title","contentAlign","align"]),[Object(J.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(X.__)("Write title…")})]]}}],xc=r(279),Sc=r.n(xc),Pc=r(62),Bc=r.n(Pc);function zc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Tc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zc(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Nc=["image","video"],Mc=[["core/paragraph",{align:"center",fontSize:"large",placeholder:Object(X.__)("Write title…")}]],Rc=be.__experimentalBoxControl.__Visualizer;function Vc(){return Vc.fastAverageColor||(Vc.fastAverageColor=new Sc.a),Vc.fastAverageColor}function Ac(e){var t=e.onChange,r=e.onUnitChange,n=e.unit,o=void 0===n?"px":n,c=e.value,a=void 0===c?"":c,i=Object(Q.useState)(null),l=Object(ke.a)(i,2),s=l[0],u=l[1],b=Object(xe.useInstanceId)($.__experimentalUnitControl),m="block-cover-height-input-".concat(b),d=null!==s?s:a,p="px"===o?50:0;return Object(Q.createElement)(be.BaseControl,{label:Object(X.__)("Minimum height of cover"),id:m},Object(Q.createElement)($.__experimentalUnitControl,{id:m,isResetValueOnUnitChange:!0,min:p,onBlur:function(){null!==s&&u(null)},onChange:function(e){var n=""!==e?parseInt(e,10):void 0;isNaN(n)&&void 0!==n?u(e):(u(null),t(n),void 0===n&&r())},onUnitChange:r,step:"1",style:{maxWidth:80},unit:o,units:Oc,value:d}))}var Hc={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};function Lc(e){var t=e.className,r=e.onResizeStart,n=e.onResize,o=e.onResizeStop,c=Object(Jt.a)(e,["className","onResizeStart","onResize","onResizeStop"]),a=Object(Q.useState)(!1),i=Object(ke.a)(a,2),l=i[0],s=i[1];return Object(Q.createElement)(be.ResizableBox,Object(ue.a)({className:ne()(t,{"is-resizing":l}),enable:Hc,onResizeStart:function(e,t,o){r(o.clientHeight),n(o.clientHeight)},onResize:function(e,t,r){n(r.clientHeight),l||s(!0)},onResizeStop:function(e,t,r){o(r.clientHeight),s(!1)},minHeight:50},c))}function Ic(e){var t=e.x,r=e.y;return"".concat(Math.round(100*t),"% ").concat(Math.round(100*r),"%")}function Dc(e){var t=e.hasBackground,r=void 0!==t&&t,n=e.children,o=e.noticeUI,c=e.noticeOperations,a=e.onSelectMedia,i=c.removeAllNotices,l=c.createErrorNotice;return Object(Q.createElement)($.MediaPlaceholder,{icon:Object(Q.createElement)($.BlockIcon,{icon:dc}),labels:{title:Object(X.__)("Cover"),instructions:Object(X.__)("Upload an image or video file, or pick one from your media library.")},onSelect:a,accept:"image/*,video/*",allowedTypes:Nc,notices:o,disableMediaButtons:r,onError:function(e){i(),l(e)}},n)}var Fc=Object(xe.compose)([Object(Ce.withDispatch)((function(e){return{toggleSelection:e($.store).toggleSelection}})),Object($.withColors)({overlayColor:"background-color"}),be.withNotices,xe.withInstanceId])((function(e){var t,r,n,o=e.attributes,c=e.isSelected,a=e.noticeUI,i=e.noticeOperations,l=e.overlayColor,s=e.setAttributes,u=e.setOverlayColor,b=e.toggleSelection,m=o.contentPosition,d=o.id,p=o.backgroundType,g=o.dimRatio,h=o.focalPoint,f=o.hasParallax,O=o.isRepeated,v=o.minHeight,j=o.minHeightUnit,y=o.style,w=o.url,_=Object($.__experimentalUseGradient)(),k=_.gradientClass,E=_.gradientValue,C=_.setGradient,x=jc(s),S=Object(Ee.isBlobURL)(w),P=Object(Q.useState)(v),B=Object(ke.a)(P,2),z=B[0],T=B[1],N=Object(Q.useState)(j),M=Object(ke.a)(N,2),R=M[0],V=M[1],A="vh"===j&&100===v,H=Object(Q.useRef)(),L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,o=Object(Q.useState)(!1),c=Object(ke.a)(o,2),a=c[0],i=c[1];return Object(Q.useEffect)((function(){e&&t<=50&&n.current&&Vc().getColorAsync(n.current,(function(e){i(e.isDark)}))}),[e,e&&t<=50&&n.current,i]),Object(Q.useEffect)((function(){if(t>50||!e){if(!r)return void i(!0);i(Bc()(r).isDark())}}),[r,t>50||!e,i]),Object(Q.useEffect)((function(){e||r||i(!1)}),[!e&&!r,i]),a}(w,g,l.color,H),I="image"===p,D="video"===p,F=Object(Q.useState)(null),U=Object(ke.a)(F,2),G=U[0],W=U[1],q=j?"".concat(v).concat(j):v,Y=!(f||O),J=Tc(Tc({},I&&!Y?hc(w):{backgroundImage:E||void 0}),{},{backgroundColor:l.color,minHeight:G||q||void 0}),K={objectPosition:h&&Y?Ic(h):void 0},ee=!!(w||l.color||E),te=D||I&&(!f||O),re=function(e){var t=H.current?[H.current.style,"objectPosition"]:[ce.current.style,"backgroundPosition"],r=Object(ke.a)(t,2);r[0][r[1]]=Ic(e)},oe=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,{group:"block"},Object(Q.createElement)($.__experimentalBlockAlignmentMatrixControl,{label:Object(X.__)("Change content position"),value:m,onChange:function(e){return s({contentPosition:e})},isDisabled:!ee}),Object(Q.createElement)($.__experimentalBlockFullHeightAligmentControl,{isActive:A,onToggle:function(){return A?s("vh"===R&&100===z?{minHeight:void 0,minHeightUnit:void 0}:{minHeight:z,minHeightUnit:R}):(T(v),V(j),s({minHeight:100,minHeightUnit:"vh"}))},isDisabled:!ee})),Object(Q.createElement)($.BlockControls,{group:"other"},Object(Q.createElement)($.MediaReplaceFlow,{mediaId:d,mediaURL:w,allowedTypes:Nc,accept:"image/*,video/*",onSelect:x,name:w?Object(X.__)("Replace"):Object(X.__)("Add Media")})),Object(Q.createElement)($.InspectorControls,null,!!w&&Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Media settings")},I&&Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Fixed background"),checked:f,onChange:function(){s(Tc({hasParallax:!f},f?{}:{focalPoint:void 0}))}}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Repeated background"),checked:O,onChange:function(){s({isRepeated:!O})}})),te&&Object(Q.createElement)(be.FocalPointPicker,{label:Object(X.__)("Focal point picker"),url:w,value:h,onDragStart:re,onDrag:re,onChange:function(e){return s({focalPoint:e})}}),Object(Q.createElement)(be.PanelRow,null,Object(Q.createElement)(be.Button,{isSecondary:!0,isSmall:!0,className:"block-library-cover__reset-button",onClick:function(){return s({url:void 0,id:void 0,backgroundType:void 0,dimRatio:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0})}},Object(X.__)("Clear Media")))),Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Dimensions")},Object(Q.createElement)(Ac,{value:G||v,unit:j,onChange:function(e){return s({minHeight:e})},onUnitChange:function(e){return s({minHeightUnit:e})}})),Object(Q.createElement)($.__experimentalPanelColorGradientSettings,{title:Object(X.__)("Overlay"),initialOpen:!0,settings:[{colorValue:l.color,gradientValue:E,onColorChange:u,onGradientChange:C,label:Object(X.__)("Color")}]},!!w&&Object(Q.createElement)(be.RangeControl,{label:Object(X.__)("Opacity"),value:g,onChange:function(e){return s({dimRatio:e})},min:0,max:100,step:10,required:!0})))),ce=Object(Q.useRef)(),ae=Object($.useBlockProps)({ref:ce}),ie=Object($.__experimentalUseInnerBlocksProps)({className:"wp-block-cover__inner-container"},{template:Mc,templateInsertUpdatesSelection:!0});if(!ee)return Object(Q.createElement)(Q.Fragment,null,oe,Object(Q.createElement)("div",Object(ue.a)({},ae,{className:ne()("is-placeholder",ae.className)}),Object(Q.createElement)(Dc,{noticeUI:a,onSelectMedia:x,noticeOperations:i},Object(Q.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(Q.createElement)($.ColorPalette,{disableCustomColors:!0,value:l.color,onChange:u,clearable:!1})))));var le=ne()(vc(g),(t={"is-dark-theme":L,"has-background-dim":0!==g,"is-transient":S,"has-parallax":f,"is-repeated":O},Object(Z.a)(t,l.class,l.class),Object(Z.a)(t,"has-background-gradient",E),Object(Z.a)(t,k,!w&&k),Object(Z.a)(t,"has-custom-content-position",!yc(m)),t),wc(m));return Object(Q.createElement)(Q.Fragment,null,oe,Object(Q.createElement)("div",Object(ue.a)({},ae,{className:ne()(le,ae.className),style:Tc(Tc({},J),ae.style),"data-url":w}),Object(Q.createElement)(Rc,{values:null==y||null===(r=y.spacing)||void 0===r?void 0:r.padding,showValues:null==y||null===(n=y.visualizers)||void 0===n?void 0:n.padding}),Object(Q.createElement)(Lc,{className:"block-library-cover__resize-container",onResizeStart:function(){s({minHeightUnit:"px"}),b(!1)},onResize:W,onResizeStop:function(e){b(!0),s({minHeight:e}),W(null)},showHandle:c}),w&&E&&0!==g&&Object(Q.createElement)("span",{"aria-hidden":"true",className:ne()("wp-block-cover__gradient-background",k),style:{backgroundImage:E}}),w&&I&&Y&&Object(Q.createElement)("img",{ref:H,className:"wp-block-cover__image-background",alt:"",src:w,style:K}),w&&D&&Object(Q.createElement)("video",{ref:H,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:w,style:K}),S&&Object(Q.createElement)(be.Spinner,null),Object(Q.createElement)(Dc,{hasBackground:ee,noticeUI:a,onSelectMedia:x,noticeOperations:i}),Object(Q.createElement)("div",ie)))}));function Uc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Gc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Uc(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Uc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Wc={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,r=e.url,n=e.align,o=e.id,c=e.anchor;return Object(J.createBlock)("core/cover",{url:r,align:n,id:o,anchor:c},[Object(J.createBlock)("core/paragraph",{content:t,fontSize:"large"})])}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,r=e.src,n=e.align,o=e.id,c=e.anchor;return Object(J.createBlock)("core/cover",{url:r,align:n,id:o,backgroundType:"video",anchor:c},[Object(J.createBlock)("core/paragraph",{content:t,fontSize:"large"})])}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType,r=e.url,n=e.overlayColor,o=e.customOverlayColor,c=e.gradient,a=e.customGradient;return r?"image"===t:!(n||o||c||a)},transform:function(e){var t=e.title,r=e.url,n=e.align,o=e.id,c=e.anchor;return Object(J.createBlock)("core/image",{caption:t,url:r,align:n,id:o,anchor:c})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType,r=e.url,n=e.overlayColor,o=e.customOverlayColor,c=e.gradient,a=e.customGradient;return r?"video"===t:!(n||o||c||a)},transform:function(e){var t=e.title,r=e.url,n=e.align,o=e.id,c=e.anchor;return Object(J.createBlock)("core/video",{caption:t,src:r,id:o,align:n,anchor:c})}}]},qc={apiVersion:2,name:"core/cover",category:"media",attributes:{url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},isRepeated:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"}},supports:{anchor:!0,align:!0,html:!1,spacing:{padding:!0}},editorStyle:"wp-block-cover-editor",style:"wp-block-cover"},Zc=qc.name,Yc={title:Object(X._x)("Cover","block title"),description:Object(X.__)("Add an image or video with a text overlay — great for headers."),icon:dc,example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:Object(X.__)("<strong>Snow Patrol</strong>"),align:"center"}}]},transforms:Wc,save:function(e){var t,r=e.attributes,n=r.backgroundType,o=r.gradient,c=r.contentPosition,a=r.customGradient,i=r.customOverlayColor,l=r.dimRatio,s=r.focalPoint,u=r.hasParallax,b=r.isRepeated,m=r.overlayColor,d=r.url,p=r.id,g=r.minHeight,h=r.minHeightUnit,f=Object($.getColorClassName)("background-color",m),O=Object($.__experimentalGetGradientClass)(o),v=h?"".concat(g).concat(h):g,j="image"===n,y="video"===n,w=!(u||b),_=Gc(Gc({},j&&!w?hc(d):{}),{},{backgroundColor:f?void 0:i,background:a&&!d?a:void 0,minHeight:v||void 0}),k=s&&w?"".concat(Math.round(100*s.x),"% ").concat(Math.round(100*s.y),"%"):void 0,E=ne()(vc(l),f,(t={"has-background-dim":0!==l,"has-parallax":u,"is-repeated":b,"has-background-gradient":o||a},Object(Z.a)(t,O,!d&&O),Object(Z.a)(t,"has-custom-content-position",!yc(c)),t),wc(c));return Object(Q.createElement)("div",$.useBlockProps.save({className:E,style:_}),d&&(o||a)&&0!==l&&Object(Q.createElement)("span",{"aria-hidden":"true",className:ne()("wp-block-cover__gradient-background",O),style:a?{background:a}:void 0}),j&&w&&d&&Object(Q.createElement)("img",{className:ne()("wp-block-cover__image-background",p?"wp-image-".concat(p):null),alt:"",src:d,style:{objectPosition:k},"data-object-fit":"cover","data-object-position":k}),y&&d&&Object(Q.createElement)("video",{className:ne()("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:k},"data-object-fit":"cover","data-object-position":k}),Object(Q.createElement)("div",{className:"wp-block-cover__inner-container"},Object(Q.createElement)($.InnerBlocks.Content,null)))},edit:Fc,deprecated:Cc},$c=function(e){var t=e.blockSupportsResponsive,r=e.showEditButton,n=e.themeSupportsResponsive,o=e.allowResponsive,c=e.getResponsiveHelp,a=e.toggleResponsive,i=e.switchBackToURLInput;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)(be.ToolbarGroup,null,r&&Object(Q.createElement)(be.ToolbarButton,{className:"components-toolbar__control",label:Object(X.__)("Edit URL"),icon:$r.a,onClick:i}))),n&&t&&Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Media settings"),className:"blocks-responsive"},Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Resize for smaller devices"),checked:o,help:c,onChange:a}))))},Jc=function(){return Object(Q.createElement)("div",{className:"wp-block-embed is-loading"},Object(Q.createElement)(be.Spinner,null),Object(Q.createElement)("p",null,Object(X.__)("Embedding…")))},Kc=function(e){var t=e.icon,r=e.label,n=e.value,o=e.onSubmit,c=e.onChange,a=e.cannotEmbed,i=e.fallback,l=e.tryAgain;return Object(Q.createElement)(be.Placeholder,{icon:Object(Q.createElement)($.BlockIcon,{icon:t,showColors:!0}),label:r,className:"wp-block-embed",instructions:Object(X.__)("Paste a link to the content you want to display on your site.")},Object(Q.createElement)("form",{onSubmit:o},Object(Q.createElement)("input",{type:"url",value:n||"",className:"components-placeholder__input","aria-label":r,placeholder:Object(X.__)("Enter URL to embed here…"),onChange:c}),Object(Q.createElement)(be.Button,{isPrimary:!0,type:"submit"},Object(X._x)("Embed","button label"))),Object(Q.createElement)("div",{className:"components-placeholder__learn-more"},Object(Q.createElement)(be.ExternalLink,{href:Object(X.__)("https://wordpress.org/support/article/embeds/")},Object(X.__)("Learn more about embeds"))),a&&Object(Q.createElement)("div",{className:"components-placeholder__error"},Object(Q.createElement)("div",{className:"components-placeholder__instructions"},Object(X.__)("Sorry, this content could not be embedded.")),Object(Q.createElement)(be.Button,{isSecondary:!0,onClick:l},Object(X._x)("Try again","button label"))," ",Object(Q.createElement)(be.Button,{isSecondary:!0,onClick:i},Object(X._x)("Convert to link","button label"))))};function Xc(e){var t=e.html,r=Object(Q.useRef)();Object(Q.useEffect)((function(){var e=r.current.ownerDocument,t=e.defaultView;function n(t){var r=t.data,n=(r=void 0===r?{}:r).secret,o=r.message,c=r.value;[n,o,c].some((function(e){return!e}))||"height"!==o||e.querySelectorAll('iframe[data-secret="'.concat(n,'"')).forEach((function(e){+e.height!==c&&(e.height=c)}))}function o(){var t=e.activeElement;"IFRAME"===t.tagName&&t.parentNode===r.current&&t.focus()}return t.addEventListener("message",n),t.addEventListener("blur",o),function(){t.removeEventListener("message",n),t.removeEventListener("blur",o)}}),[]);var n=Object(Q.useMemo)((function(){var e=(new window.DOMParser).parseFromString(t,"text/html"),r=e.querySelector("iframe");r&&r.removeAttribute("style");var n=e.querySelector("blockquote");return n&&(n.style.display="none"),e.body.innerHTML}),[t]);return Object(Q.createElement)("div",{ref:r,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:n}})}function Qc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Object(qr.a)(e);if(t){var o=Object(qr.a)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Object(Wr.a)(this,r)}}var ea=function(e){Object(Gr.a)(r,e);var t=Qc(r);function r(){var e;return Object(Dr.a)(this,r),(e=t.apply(this,arguments)).hideOverlay=e.hideOverlay.bind(Object(Ur.a)(e)),e.state={interactive:!1},e}return Object(Fr.a)(r,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e,t,r,n=this.props,o=n.preview,c=n.previewable,a=n.url,i=n.type,l=n.caption,s=n.onCaptionChange,u=n.isSelected,b=n.className,m=n.icon,d=n.label,p=n.insertBlocksAfter,g=o.scripts,h=this.state.interactive,f="photo"===i?(t=(e=o).thumbnail_url||e.url,r=Object(Q.createElement)("p",null,Object(Q.createElement)("img",{src:t,alt:e.title,width:"100%"})),Object(Q.renderToString)(r)):o.html,O=new URL(a).host.split("."),v=O.splice(O.length-2,O.length-1).join("."),j=Object(X.sprintf)(Object(X.__)("Embedded content from %s"),v),y=Re()(i,b,"wp-block-embed__wrapper"),w="wp-embed"===i?Object(Q.createElement)(Xc,{html:f}):Object(Q.createElement)("div",{className:"wp-block-embed__wrapper"},Object(Q.createElement)(be.SandBox,{html:f,scripts:g,title:j,type:y,onFocus:this.hideOverlay}),!h&&Object(Q.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(Q.createElement)("figure",{className:Re()(b,"wp-block-embed",{"is-type-video":"video"===i})},c?w:Object(Q.createElement)(be.Placeholder,{icon:Object(Q.createElement)($.BlockIcon,{icon:m,showColors:!0}),label:d},Object(Q.createElement)("p",{className:"components-placeholder__error"},Object(Q.createElement)("a",{href:a},a)),Object(Q.createElement)("p",{className:"components-placeholder__error"},Object(X.sprintf)(Object(X.__)("Embedded content from %s can't be previewed in the editor."),v))),(!$.RichText.isEmpty(l)||u)&&Object(Q.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(X.__)("Add caption"),value:l,onChange:s,inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return p(Object(J.createBlock)("core/paragraph"))}}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),r}(Q.Component);function ta(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ra(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ta(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ta(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function na(e){return e?Object(X.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(X.__)("This embed may not preserve its aspect ratio when the browser is resized.")}var oa=function(e){var t,r,n=e.attributes,o=n.providerNameSlug,c=n.previewable,a=n.responsive,i=n.url,l=e.attributes,s=e.isSelected,u=e.onReplace,b=e.setAttributes,m=e.insertBlocksAfter,d={title:Sa.title,icon:Sa.icon},p=(t=o,(null===(r=Object(J.getBlockVariations)("core/embed"))||void 0===r?void 0:r.find((function(e){return e.name===t})))||d),g=p.icon,h=p.title,f=Object(Q.useState)(i),O=Object(ke.a)(f,2),v=O[0],j=O[1],y=Object(Q.useState)(!1),w=Object(ke.a)(y,2),_=w[0],k=w[1],E=Object(Ce.useDispatch)("core/data").invalidateResolution,C=Object(Ce.useSelect)((function(e){var t,r=e(Y.store),n=r.getEmbedPreview,o=r.isPreviewEmbedFallback,c=r.isRequestingEmbedPreview,a=r.getThemeSupports;if(!i)return{fetching:!1,cannotEmbed:!1};var l=n(i),s=o(i),u=!1===(null==l?void 0:l.html)&&void 0===(null==l?void 0:l.type),b=404===(null==l||null===(t=l.data)||void 0===t?void 0:t.status),m=!!l&&!u&&!b;return{preview:m?l:void 0,fetching:c(i),themeSupportsResponsive:a()["responsive-embeds"],cannotEmbed:!m||s}}),[i]),x=C.preview,S=C.fetching,P=C.themeSupportsResponsive,B=C.cannotEmbed,z=function(){var e=l.allowResponsive,t=l.className;return ra(ra({},l),We(x,h,t,a,e))};Object(Q.useEffect)((function(){if(null!=x&&x.html&&B&&!S){var e=i.replace(/\/$/,"");j(e),k(!1),b({url:e})}}),[null==x?void 0:x.html,i]),Object(Q.useEffect)((function(){if(x&&!_&&(b(z()),u)){var t=Fe(e,z());t&&u(t)}}),[x,_]);var T=Object($.useBlockProps)();if(S)return Object(Q.createElement)("div",T,Object(Q.createElement)(Jc,null));var N=Object(X.sprintf)(Object(X.__)("%s URL"),h);if(!x||B||_)return Object(Q.createElement)("div",T,Object(Q.createElement)(Kc,{icon:g,label:N,onSubmit:function(e){e&&e.preventDefault(),k(!1),b({url:v})},value:v,cannotEmbed:B,onChange:function(e){return j(e.target.value)},fallback:function(){return function(e,t){var r=Object(Q.createElement)("a",{href:e},e);t(Object(J.createBlock)("core/paragraph",{content:Object(Q.renderToString)(r)}))}(v,u)},tryAgain:function(){E("core","getEmbedPreview",[v])}}));var M=z(),R=M.caption,V=M.type,A=M.allowResponsive,H=M.className,L=ne()(H,e.className);return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($c,{showEditButton:x&&!B,themeSupportsResponsive:P,blockSupportsResponsive:a,allowResponsive:A,getResponsiveHelp:na,toggleResponsive:function(){var e=l.allowResponsive,t=l.className,r=x.html,n=!e;b({allowResponsive:n,className:Ge(r,t,a&&n)})},switchBackToURLInput:function(){return k(!0)}}),Object(Q.createElement)("div",T,Object(Q.createElement)(ea,{preview:x,previewable:c,className:L,url:v,type:V,caption:R,onCaptionChange:function(e){return b({caption:e})},isSelected:s,icon:g,label:N,insertBlocksAfter:m})))};var ca={from:[{type:"raw",isMatch:function(e){var t,r;return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)&&1===(null===(t=e.textContent)||void 0===t||null===(r=t.match(/https/gi))||void 0===r?void 0:r.length)},transform:function(e){return Object(J.createBlock)("core/embed",{url:e.textContent.trim()})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.url,r=e.caption,n=Object(Q.createElement)("a",{href:t},r||t);return Object(J.createBlock)("core/paragraph",{content:Object(Q.renderToString)(n)})}}]},aa=Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(be.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"})),ia=Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(be.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM13.2 7.7c-.4.4-.7 1.1-.7 1.9v3.7c-.4-.3-.8-.4-1.3-.4-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2.5 0 1-.2 1.4-.5.9-.6 1.4-1.6 1.4-2.6V9.6c0-.4.1-.6.2-.8.3-.3 1-.3 1.6-.3h.2V7h-.2c-.7 0-1.8 0-2.6.7z"})),la=Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(be.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9.2 4.5H19c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V9.8l4.6-5.3zm9.8 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),sa=Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(be.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM10 15l5-3-5-3v6z"})),ua={foreground:"#1da1f2",src:Object(Q.createElement)(be.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(be.G,null,Object(Q.createElement)(be.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},ba={foreground:"#ff0000",src:Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24"},Object(Q.createElement)(be.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},ma={foreground:"#3b5998",src:Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24"},Object(Q.createElement)(be.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},da=Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24"},Object(Q.createElement)(be.G,null,Object(Q.createElement)(be.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),pa={foreground:"#0073AA",src:Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24"},Object(Q.createElement)(be.G,null,Object(Q.createElement)(be.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},ga={foreground:"#1db954",src:Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24"},Object(Q.createElement)(be.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},ha=Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24"},Object(Q.createElement)(be.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),fa={foreground:"#1ab7ea",src:Object(Q.createElement)(be.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(be.G,null,Object(Q.createElement)(be.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},Oa=Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24"},Object(Q.createElement)(be.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),va={foreground:"#35465c",src:Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24"},Object(Q.createElement)(be.Path,{d:"M19 3H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.69 14.66c-2.72 0-3.1-1.9-3.1-3.16v-3.56H8.49V8.99c1.7-.62 2.54-1.99 2.64-2.87 0-.06.06-.41.06-.58h1.9v3.1h2.17v2.3h-2.18v3.1c0 .47.13 1.3 1.2 1.26h1.1v2.36c-1.01.02-2.07 0-2.07 0z"}))},ja=Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24"},Object(Q.createElement)(be.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),Object(Q.createElement)(be.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),Object(Q.createElement)(be.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})),ya=Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24"},Object(Q.createElement)(be.Path,{d:"m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",fill:"#4bc7ee"}),Object(Q.createElement)(be.Path,{d:"m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z",fill:"#d4cdcb"}),Object(Q.createElement)(be.Path,{d:"m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",fill:"#c3d82e"}),Object(Q.createElement)(be.Path,{d:"m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z",fill:"#e4ecb0"}),Object(Q.createElement)(be.Path,{d:"m.0206909 21 19.5468091-9.063 1.6621 2.8344z",fill:"#209dbd"}),Object(Q.createElement)(be.Path,{d:"m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",fill:"#7cb3c9"})),wa=Object(Q.createElement)(be.SVG,{viewBox:"0 0 24 24"},Object(Q.createElement)(be.Path,{d:"m12.1479 18.5957c-2.4949 0-4.28131-1.7558-4.28131-4.0658 0-2.2176 1.78641-4.0965 4.09651-4.0965 2.2793 0 4.0349 1.7864 4.0349 4.1581 0 2.2794-1.7556 4.0042-3.8501 4.0042zm8.3521-18.5957-4.5329 1v7c-1.1088-1.41691-2.8028-1.8787-4.8049-1.8787-2.09443 0-3.97329.76993-5.5133 2.27917-1.72483 1.66323-2.6489 3.78863-2.6489 6.16033 0 2.5873.98562 4.8049 2.89526 6.499 1.44763 1.2936 3.17251 1.9402 5.17454 1.9402 1.9713 0 3.4498-.5236 4.8973-1.9402v1.9402h4.5329c0-7.6359 0-15.3641 0-23z",fill:"#333436"})),_a=[{name:"twitter",title:"Twitter",icon:ua,keywords:["tweet",Object(X.__)("social")],description:Object(X.__)("Embed a tweet."),patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i],attributes:{providerNameSlug:"twitter",responsive:!0}},{name:"youtube",title:"YouTube",icon:ba,keywords:[Object(X.__)("music"),Object(X.__)("video")],description:Object(X.__)("Embed a YouTube video."),patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i],attributes:{providerNameSlug:"youtube",responsive:!0}},{name:"facebook",title:"Facebook",icon:ma,keywords:[Object(X.__)("social")],description:Object(X.__)("Embed a Facebook post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}},{name:"instagram",title:"Instagram",icon:da,keywords:[Object(X.__)("image"),Object(X.__)("social")],description:Object(X.__)("Embed an Instagram post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"instagram",responsive:!0}},{name:"wordpress",title:"WordPress",icon:pa,keywords:[Object(X.__)("post"),Object(X.__)("blog")],description:Object(X.__)("Embed a WordPress post."),attributes:{providerNameSlug:"wordpress"}},{name:"soundcloud",title:"SoundCloud",icon:ia,keywords:[Object(X.__)("music"),Object(X.__)("audio")],description:Object(X.__)("Embed SoundCloud content."),patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i],attributes:{providerNameSlug:"soundcloud",responsive:!0}},{name:"spotify",title:"Spotify",icon:ga,keywords:[Object(X.__)("music"),Object(X.__)("audio")],description:Object(X.__)("Embed Spotify content."),patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i],attributes:{providerNameSlug:"spotify",responsive:!0}},{name:"flickr",title:"Flickr",icon:ha,keywords:[Object(X.__)("image")],description:Object(X.__)("Embed Flickr content."),patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i],attributes:{providerNameSlug:"flickr",responsive:!0}},{name:"vimeo",title:"Vimeo",icon:fa,keywords:[Object(X.__)("video")],description:Object(X.__)("Embed a Vimeo video."),patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i],attributes:{providerNameSlug:"vimeo",responsive:!0}},{name:"animoto",title:"Animoto",icon:ya,description:Object(X.__)("Embed an Animoto video."),patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i],attributes:{providerNameSlug:"animoto",responsive:!0}},{name:"cloudup",title:"Cloudup",icon:aa,description:Object(X.__)("Embed Cloudup content."),patterns:[/^https?:\/\/cloudup\.com\/.+/i],attributes:{providerNameSlug:"cloudup",responsive:!0}},{name:"collegehumor",title:"CollegeHumor",icon:sa,description:Object(X.__)("Embed CollegeHumor content."),scope:["block"],patterns:[],attributes:{providerNameSlug:"collegehumor",responsive:!0}},{name:"crowdsignal",title:"Crowdsignal",icon:aa,keywords:["polldaddy",Object(X.__)("survey")],description:Object(X.__)("Embed Crowdsignal (formerly Polldaddy) content."),patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i],attributes:{providerNameSlug:"crowdsignal",responsive:!0}},{name:"dailymotion",title:"Dailymotion",icon:wa,keywords:[Object(X.__)("video")],description:Object(X.__)("Embed a Dailymotion video."),patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i],attributes:{providerNameSlug:"dailymotion",responsive:!0}},{name:"imgur",title:"Imgur",icon:la,description:Object(X.__)("Embed Imgur content."),patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i],attributes:{providerNameSlug:"imgur",responsive:!0}},{name:"issuu",title:"Issuu",icon:aa,description:Object(X.__)("Embed Issuu content."),patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i],attributes:{providerNameSlug:"issuu",responsive:!0}},{name:"kickstarter",title:"Kickstarter",icon:aa,description:Object(X.__)("Embed Kickstarter content."),patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i],attributes:{providerNameSlug:"kickstarter",responsive:!0}},{name:"meetup-com",title:"Meetup.com",icon:aa,description:Object(X.__)("Embed Meetup.com content."),patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i],attributes:{providerNameSlug:"meetup-com",responsive:!0}},{name:"mixcloud",title:"Mixcloud",icon:ia,keywords:[Object(X.__)("music"),Object(X.__)("audio")],description:Object(X.__)("Embed Mixcloud content."),patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i],attributes:{providerNameSlug:"mixcloud",responsive:!0}},{name:"reddit",title:"Reddit",icon:Oa,description:Object(X.__)("Embed a Reddit thread."),patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i],attributes:{providerNameSlug:"reddit",responsive:!0}},{name:"reverbnation",title:"ReverbNation",icon:ia,description:Object(X.__)("Embed ReverbNation content."),patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i],attributes:{providerNameSlug:"reverbnation",responsive:!0}},{name:"screencast",title:"Screencast",icon:sa,description:Object(X.__)("Embed Screencast content."),patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i],attributes:{providerNameSlug:"screencast",responsive:!0}},{name:"scribd",title:"Scribd",icon:aa,description:Object(X.__)("Embed Scribd content."),patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i],attributes:{providerNameSlug:"scribd",responsive:!0}},{name:"slideshare",title:"Slideshare",icon:aa,description:Object(X.__)("Embed Slideshare content."),patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i],attributes:{providerNameSlug:"slideshare",responsive:!0}},{name:"smugmug",title:"SmugMug",icon:la,description:Object(X.__)("Embed SmugMug content."),patterns:[/^https?:\/\/(.+\.)?smugmug\.com\/.*/i],attributes:{providerNameSlug:"smugmug",previewable:!1,responsive:!0}},{name:"speaker-deck",title:"Speaker Deck",icon:aa,description:Object(X.__)("Embed Speaker Deck content."),patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i],attributes:{providerNameSlug:"speaker-deck",responsive:!0}},{name:"tiktok",title:"TikTok",icon:sa,keywords:[Object(X.__)("video")],description:Object(X.__)("Embed a TikTok video."),patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i],attributes:{providerNameSlug:"tiktok",responsive:!0}},{name:"ted",title:"TED",icon:sa,description:Object(X.__)("Embed a TED video."),patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i],attributes:{providerNameSlug:"ted",responsive:!0}},{name:"tumblr",title:"Tumblr",icon:va,keywords:[Object(X.__)("social")],description:Object(X.__)("Embed a Tumblr post."),patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i],attributes:{providerNameSlug:"tumblr",responsive:!0}},{name:"videopress",title:"VideoPress",icon:sa,keywords:[Object(X.__)("video")],description:Object(X.__)("Embed a VideoPress video."),patterns:[/^https?:\/\/videopress\.com\/.+/i],attributes:{providerNameSlug:"videopress",responsive:!0}},{name:"wordpress-tv",title:"WordPress.tv",icon:sa,description:Object(X.__)("Embed a WordPress.tv video."),patterns:[/^https?:\/\/wordpress\.tv\/.+/i],attributes:{providerNameSlug:"wordpress-tv",responsive:!0}},{name:"amazon-kindle",title:"Amazon Kindle",icon:ja,keywords:[Object(X.__)("ebook")],description:Object(X.__)("Embed Amazon Kindle content."),patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i],attributes:{providerNameSlug:"amazon-kindle"}}];_a.forEach((function(e){e.isActive||(e.isActive=function(e,t){return e.providerNameSlug===t.providerNameSlug})}));var ka=_a,Ea=[{attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},save:function(e){var t,r=e.attributes,n=r.url,o=r.caption,c=r.type,a=r.providerNameSlug;if(!n)return null;var i=ne()("wp-block-embed",(t={},Object(Z.a)(t,"is-type-".concat(c),c),Object(Z.a)(t,"is-provider-".concat(a),a),t));return Object(Q.createElement)("figure",{className:i},"\n".concat(n,"\n"),!$.RichText.isEmpty(o)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))}}],Ca={apiVersion:2,name:"core/embed",category:"embed",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"},xa=Ca.name,Sa={title:Object(X._x)("Embed","block title"),description:Object(X.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),icon:aa,edit:oa,save:function(e){var t,r=e.attributes,n=r.url,o=r.caption,c=r.type,a=r.providerNameSlug;if(!n)return null;var i=Re()("wp-block-embed",(t={},Object(Z.a)(t,"is-type-".concat(c),c),Object(Z.a)(t,"is-provider-".concat(a),a),Object(Z.a)(t,"wp-block-embed-".concat(a),a),t));return Object(Q.createElement)("figure",$.useBlockProps.save({className:i}),Object(Q.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(n,"\n")),!$.RichText.isEmpty(o)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))},transforms:ca,variations:ka,deprecated:Ea},Pa=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5z"}));function Ba(e){var t=e.hrefs,r=e.openInNewWindow,n=e.showDownloadButton,o=e.changeLinkDestinationOption,c=e.changeOpenInNewWindow,a=e.changeShowDownloadButton,i=t.href,l=t.textLinkHref,s=t.attachmentPage,u=[{value:i,label:Object(X.__)("URL")}];return s&&(u=[{value:i,label:Object(X.__)("Media file")},{value:s,label:Object(X.__)("Attachment page")}]),Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Text link settings")},Object(Q.createElement)(be.SelectControl,{label:Object(X.__)("Link to"),value:l,options:u,onChange:o}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Open in new tab"),checked:r,onChange:c})),Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Download button settings")},Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Show download button"),checked:n,onChange:a}))))}function za(e){var t=e.text,r=e.disabled,n=Object(Ce.useDispatch)(Te.store).createNotice,o=Object(xe.useCopyToClipboard)(t,(function(){n("info",Object(X.__)("Copied URL to clipboard."),{isDismissible:!0,type:"snackbar"})}));return Object(Q.createElement)(be.ToolbarButton,{className:"components-clipboard-toolbar-button",ref:o,disabled:r},Object(X.__)("Copy URL"))}var Ta=Object(be.withNotices)((function(e){var t=e.attributes,r=e.setAttributes,n=e.noticeUI,o=e.noticeOperations,c=t.id,a=t.fileName,i=t.href,l=t.textLinkHref,s=t.textLinkTarget,u=t.showDownloadButton,b=t.downloadButtonText,m=Object(Q.useState)(!1),d=Object(ke.a)(m,2),p=d[0],g=d[1],h=Object(Ce.useSelect)((function(e){return{media:void 0===c?void 0:e(Y.store).getMedia(c),mediaUpload:e($.store).getSettings().mediaUpload}}),[c]),f=h.media,O=h.mediaUpload;function v(e){e&&e.url&&(g(!1),r({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id}))}function j(e){g(!0),o.removeAllNotices(),o.createErrorNotice(e)}function y(e){r({downloadButtonText:e.replace(/<\/?a[^>]*>/g,"")})}Object(Q.useEffect)((function(){if(Object(Ee.isBlobURL)(i)){var e=Object(Ee.getBlobByURL)(i);O({filesList:[e],onFileChange:function(e){return v(Object(ke.a)(e,1)[0])},onError:function(e){g(!0),o.createErrorNotice(e)}}),Object(Ee.revokeBlobURL)(i)}void 0===b&&y(Object(X._x)("Download","button label"))}),[]);var w=f&&f.link,_=Object($.useBlockProps)({className:ne()(Object(Ee.isBlobURL)(i)&&Object(be.__unstableGetAnimateClassName)({type:"loading"}),{"is-transient":Object(Ee.isBlobURL)(i)})});return!i||p?Object(Q.createElement)("div",_,Object(Q.createElement)($.MediaPlaceholder,{icon:Object(Q.createElement)($.BlockIcon,{icon:Pa}),labels:{title:Object(X.__)("File"),instructions:Object(X.__)("Upload a file or pick one from your media library.")},onSelect:v,notices:n,onError:j,accept:"*"})):Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Ba,{hrefs:{href:i,textLinkHref:l,attachmentPage:w},openInNewWindow:!!s,showDownloadButton:u,changeLinkDestinationOption:function(e){r({textLinkHref:e})},changeOpenInNewWindow:function(e){r({textLinkTarget:!!e&&"_blank"})},changeShowDownloadButton:function(e){r({showDownloadButton:e})}}),Object(Q.createElement)($.BlockControls,{group:"other"},Object(Q.createElement)($.MediaReplaceFlow,{mediaId:c,mediaURL:i,accept:"*",onSelect:v,onError:j}),Object(Q.createElement)(za,{text:i,disabled:Object(Ee.isBlobURL)(i)})),Object(Q.createElement)("div",_,Object(Q.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(Q.createElement)($.RichText,{style:{display:"inline-block"},tagName:"a",value:a,placeholder:Object(X.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:function(e){return r({fileName:e})},href:l}),u&&Object(Q.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(Q.createElement)($.RichText,{tagName:"div","aria-label":Object(X.__)("Download button text"),className:"wp-block-file__button",value:b,withoutInteractiveFormatting:!0,placeholder:Object(X.__)("Add text…"),onChange:function(e){return y(e)}})))))}));var Na={from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.forEach((function(e){var r=Object(Ee.createBlobURL)(e);t.push(Object(J.createBlock)("core/file",{href:r,fileName:e.name,textLinkHref:r}))})),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(J.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})}},{type:"block",blocks:["core/video"],transform:function(e){return Object(J.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})}},{type:"block",blocks:["core/image"],transform:function(e){return Object(J.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id,anchor:e.anchor})}}],to:[{type:"block",blocks:["core/audio"],isMatch:function(e){var t=e.id;if(!t)return!1;var r=(0,Object(Ce.select)(Y.store).getMedia)(t);return!!r&&Object(K.includes)(r.mime_type,"audio")},transform:function(e){return Object(J.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.id;if(!t)return!1;var r=(0,Object(Ce.select)(Y.store).getMedia)(t);return!!r&&Object(K.includes)(r.mime_type,"video")},transform:function(e){return Object(J.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.id;if(!t)return!1;var r=(0,Object(Ce.select)(Y.store).getMedia)(t);return!!r&&Object(K.includes)(r.mime_type,"image")},transform:function(e){return Object(J.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}}]},Ma={apiVersion:2,name:"core/file",category:"media",attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-file-editor",style:"wp-block-file"},Ra=Ma.name,Va={title:Object(X._x)("File","block title"),description:Object(X.__)("Add a link to a downloadable file."),icon:Pa,keywords:[Object(X.__)("document"),Object(X.__)("pdf"),Object(X.__)("download")],transforms:Na,edit:Ta,save:function(e){var t=e.attributes,r=t.href,n=t.fileName,o=t.textLinkHref,c=t.textLinkTarget,a=t.showDownloadButton,i=t.downloadButtonText;return r&&Object(Q.createElement)("div",$.useBlockProps.save(),!$.RichText.isEmpty(n)&&Object(Q.createElement)("a",{href:o,target:c,rel:!!c&&"noreferrer noopener"},Object(Q.createElement)($.RichText.Content,{value:n})),a&&Object(Q.createElement)("a",{href:r,className:"wp-block-file__button",download:!0},Object(Q.createElement)($.RichText.Content,{value:i})))}},Aa=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z"}));var Ha={from:[{type:"block",blocks:["core/code"],transform:function(e){var t=e.content;return Object(J.createBlock)("core/html",{content:t})}}]},La={apiVersion:2,name:"core/html",category:"widgets",attributes:{content:{type:"string",source:"html"}},supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-html-editor"},Ia=La.name,Da={title:Object(X._x)("Custom HTML","block title"),description:Object(X.__)("Add custom HTML code and preview it as you edit."),icon:Aa,keywords:[Object(X.__)("embed")],example:{attributes:{content:"<marquee>"+Object(X.__)("Welcome to the wonderful world of blocks…")+"</marquee>"}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.isSelected,o=Object(Q.useState)(),c=Object(ke.a)(o,2),a=c[0],i=c[1],l=Object(Ce.useSelect)((function(e){return["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat(Object(q.a)(Object($.transformStyles)(e($.store).getSettings().styles)))}),[]);return Object(Q.createElement)("div",Object($.useBlockProps)({className:"block-library-html__edit"}),Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)(be.ToolbarGroup,null,Object(Q.createElement)(be.ToolbarButton,{className:"components-tab-button",isPressed:!a,onClick:function(){i(!1)}},Object(Q.createElement)("span",null,"HTML")),Object(Q.createElement)(be.ToolbarButton,{className:"components-tab-button",isPressed:a,onClick:function(){i(!0)}},Object(Q.createElement)("span",null,Object(X.__)("Preview"))))),Object(Q.createElement)(be.Disabled.Consumer,null,(function(e){return a||e?Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(be.SandBox,{html:t.content,styles:l}),!n&&Object(Q.createElement)("div",{className:"block-library-html__preview-overlay"})):Object(Q.createElement)($.PlainText,{value:t.content,onChange:function(e){return r({content:e})},placeholder:Object(X.__)("Write HTML…"),"aria-label":Object(X.__)("HTML")})})))},save:function(e){var t=e.attributes;return Object(Q.createElement)(Q.RawHTML,null,t.content)},transforms:Ha},Fa=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M3 18h8V6H3v12zM14 7.5V9h7V7.5h-7zm0 5.3h7v-1.5h-7v1.5zm0 3.7h7V15h-7v1.5z"})),Ua=Object(Q.createElement)(be.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(be.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object(Q.createElement)(be.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object(Q.createElement)(be.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),Ga=["image","video"];function Wa(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}var qa=Object(Q.forwardRef)((function(e,t){var r=e.isSelected,n=e.isStackedOnMobile,o=Object(Jt.a)(e,["isSelected","isStackedOnMobile"]),c=Object(xe.useViewportMatch)("small","<");return Object(Q.createElement)(be.ResizableBox,Object(ue.a)({ref:t,showHandle:r&&(!c||!n)},o))}));function Za(e){var t=e.mediaId,r=e.mediaUrl,n=e.onSelectMedia;return Object(Q.createElement)($.BlockControls,{group:"other"},Object(Q.createElement)($.MediaReplaceFlow,{mediaId:t,mediaURL:r,allowedTypes:Ga,accept:"image/*,video/*",onSelect:n}))}function Ya(e){var t=e.className,r=e.noticeOperations,n=e.noticeUI,o=e.onSelectMedia;return Object(Q.createElement)($.MediaPlaceholder,{icon:Object(Q.createElement)($.BlockIcon,{icon:Ua}),labels:{title:Object(X.__)("Media area")},className:t,onSelect:o,accept:"image/*,video/*",allowedTypes:Ga,notices:n,onError:function(e){r.removeAllNotices(),r.createErrorNotice(e)}})}var $a=Object(be.withNotices)(Object(Q.forwardRef)((function(e,t){var r=e.className,n=e.commitWidthChange,o=e.focalPoint,c=e.imageFill,a=e.isSelected,i=e.isStackedOnMobile,l=e.mediaAlt,s=e.mediaId,u=e.mediaPosition,b=e.mediaType,m=e.mediaUrl,d=e.mediaWidth,p=e.onSelectMedia,g=e.onWidthChange,h=Object(Ce.useDispatch)($.store).toggleSelection;if(b&&m){var f={right:"left"===u,left:"right"===u},O="image"===b&&c?Wa(m,o):{},v={image:function(){return Object(Q.createElement)("img",{src:m,alt:l})},video:function(){return Object(Q.createElement)("video",{controls:!0,src:m})}};return Object(Q.createElement)(qa,{as:"figure",className:ne()(r,"editor-media-container__resizer"),style:O,size:{width:d+"%"},minWidth:"10%",maxWidth:"100%",enable:f,onResizeStart:function(){h(!1)},onResize:function(e,t,r){g(parseInt(r.style.width))},onResizeStop:function(e,t,r){h(!0),n(parseInt(r.style.width))},axis:"x",isSelected:a,isStackedOnMobile:i,ref:t},Object(Q.createElement)(Za,{onSelectMedia:p,mediaUrl:m,mediaId:s}),(v[b]||K.noop)())}return Object(Q.createElement)(Ya,e)})));function Ja(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ka(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ja(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ja(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Xa=function(e){if(!e.customBackgroundColor)return e;var t={color:{background:e.customBackgroundColor}};return Ka(Ka({},Object(K.omit)(e,["customBackgroundColor"])),{},{style:t})},Qa={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!0}},ei=[{attributes:Ka(Ka({},Qa),{},{customBackgroundColor:{type:"string"},mediaLink:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure a",attribute:"target"},href:{type:"string",source:"attribute",selector:"figure a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure a",attribute:"class"},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}),migrate:Xa,save:function(e){var t,r=e.attributes,n=r.backgroundColor,o=r.customBackgroundColor,c=r.isStackedOnMobile,a=r.mediaAlt,i=r.mediaPosition,l=r.mediaType,s=r.mediaUrl,u=r.mediaWidth,b=r.mediaId,m=r.verticalAlignment,d=r.imageFill,p=r.focalPoint,g=r.linkClass,h=r.href,f=r.linkTarget,O=r.rel,v=Object(K.isEmpty)(O)?void 0:O,j=Object(Q.createElement)("img",{src:s,alt:a,className:b&&"image"===l?"wp-image-".concat(b):null});h&&(j=Object(Q.createElement)("a",{className:g,href:h,target:f,rel:v},j));var y,w={image:function(){return j},video:function(){return Object(Q.createElement)("video",{controls:!0,src:s})}},_=Object($.getColorClassName)("background-color",n),k=ne()((t={"has-media-on-the-right":"right"===i,"has-background":_||o},Object(Z.a)(t,_,_),Object(Z.a)(t,"is-stacked-on-mobile",c),Object(Z.a)(t,"is-vertically-aligned-".concat(m),m),Object(Z.a)(t,"is-image-fill",d),t)),E=d?Wa(s,p):{};50!==u&&(y="right"===i?"auto ".concat(u,"%"):"".concat(u,"% auto"));var C={backgroundColor:_?void 0:o,gridTemplateColumns:y};return Object(Q.createElement)("div",{className:k,style:C},Object(Q.createElement)("figure",{className:"wp-block-media-text__media",style:E},(w[l]||K.noop)()),Object(Q.createElement)("div",{className:"wp-block-media-text__content"},Object(Q.createElement)($.InnerBlocks.Content,null)))}},{attributes:Ka(Ka({},Qa),{},{customBackgroundColor:{type:"string"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}),migrate:Xa,save:function(e){var t,r,n=e.attributes,o=n.backgroundColor,c=n.customBackgroundColor,a=n.isStackedOnMobile,i=n.mediaAlt,l=n.mediaPosition,s=n.mediaType,u=n.mediaUrl,b=n.mediaWidth,m=n.mediaId,d=n.verticalAlignment,p=n.imageFill,g=n.focalPoint,h={image:function(){return Object(Q.createElement)("img",{src:u,alt:i,className:m&&"image"===s?"wp-image-".concat(m):null})},video:function(){return Object(Q.createElement)("video",{controls:!0,src:u})}},f=Object($.getColorClassName)("background-color",o),O=ne()((t={"has-media-on-the-right":"right"===l},Object(Z.a)(t,f,f),Object(Z.a)(t,"is-stacked-on-mobile",a),Object(Z.a)(t,"is-vertically-aligned-".concat(d),d),Object(Z.a)(t,"is-image-fill",p),t)),v=p?Wa(u,g):{};50!==b&&(r="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var j={backgroundColor:f?void 0:c,gridTemplateColumns:r};return Object(Q.createElement)("div",{className:O,style:j},Object(Q.createElement)("figure",{className:"wp-block-media-text__media",style:v},(h[s]||K.noop)()),Object(Q.createElement)("div",{className:"wp-block-media-text__content"},Object(Q.createElement)($.InnerBlocks.Content,null)))}},{attributes:Ka(Ka({},Qa),{},{customBackgroundColor:{type:"string"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"}}),save:function(e){var t,r,n=e.attributes,o=n.backgroundColor,c=n.customBackgroundColor,a=n.isStackedOnMobile,i=n.mediaAlt,l=n.mediaPosition,s=n.mediaType,u=n.mediaUrl,b=n.mediaWidth,m={image:function(){return Object(Q.createElement)("img",{src:u,alt:i})},video:function(){return Object(Q.createElement)("video",{controls:!0,src:u})}},d=Object($.getColorClassName)("background-color",o),p=ne()((t={"has-media-on-the-right":"right"===l},Object(Z.a)(t,d,d),Object(Z.a)(t,"is-stacked-on-mobile",a),t));50!==b&&(r="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var g={backgroundColor:d?void 0:c,gridTemplateColumns:r};return Object(Q.createElement)("div",{className:p,style:g},Object(Q.createElement)("figure",{className:"wp-block-media-text__media"},(m[s]||K.noop)()),Object(Q.createElement)("div",{className:"wp-block-media-text__content"},Object(Q.createElement)($.InnerBlocks.Content,null)))}}],ti=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"})),ri=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"})),ni=[["core/paragraph",{fontSize:"large",placeholder:Object(X._x)("Content…","content placeholder")}]],oi=function(e){return Math.max(15,Math.min(e,85))};function ci(e,t){var r,n,o;return null==e||null===(r=e.media_details)||void 0===r||null===(n=r.sizes)||void 0===n||null===(o=n[t])||void 0===o?void 0:o.source_url}var ai=function(e){var t,r=e.attributes,n=e.isSelected,o=e.setAttributes,c=r.focalPoint,a=r.href,i=r.imageFill,l=r.isStackedOnMobile,s=r.linkClass,u=r.linkDestination,b=r.linkTarget,m=r.mediaAlt,d=r.mediaId,p=r.mediaPosition,g=r.mediaType,h=r.mediaUrl,f=r.mediaWidth,O=r.rel,v=r.verticalAlignment,j=r.mediaSizeSlug||"full",y=Object(Ce.useSelect)((function(e){return d&&n?e(Y.store).getMedia(d):null}),[n,d]),w=Object(Q.useRef)(),_=function(e){var t=w.current.resizable.style,r=e.x,n=e.y;t.backgroundPosition="".concat(100*r,"% ").concat(100*n,"%")},k=Object(Q.useState)(null),E=Object(ke.a)(k,2),C=E[0],x=E[1],S=function(e){var t=e.attributes,r=t.linkDestination,n=t.href,o=e.setAttributes;return function(e){var t,c,a,i,l,s,u;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(c=(null===(a=e.sizes)||void 0===a||null===(i=a.large)||void 0===i?void 0:i.url)||(null===(l=e.media_details)||void 0===l||null===(s=l.sizes)||void 0===s||null===(u=s.large)||void 0===u?void 0:u.source_url));var b=n;"media"===r&&(b=e.url),"attachment"===r&&(b=e.link),o({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:c||e.url,mediaLink:e.link||void 0,href:b,focalPoint:void 0})}}({attributes:r,setAttributes:o}),P=ne()((t={"has-media-on-the-right":"right"===p,"is-selected":n,"is-stacked-on-mobile":l},Object(Z.a)(t,"is-vertically-aligned-".concat(v),v),Object(Z.a)(t,"is-image-fill",i),t)),B="".concat(C||f,"%"),z="right"===p?"1fr ".concat(B):"".concat(B," 1fr"),T={gridTemplateColumns:z,msGridColumns:z},N=Object(Ce.useSelect)((function(e){var t=e($.store).getSettings();return null==t?void 0:t.imageSizes})),M=Object(K.map)(Object(K.filter)(N,(function(e){var t=e.slug;return ci(y,t)})),(function(e){var t=e.name;return{value:e.slug,label:t}})),R=Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Media & Text settings")},Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Stack on mobile"),checked:l,onChange:function(){return o({isStackedOnMobile:!l})}}),"image"===g&&Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Crop image to fill entire column"),checked:i,onChange:function(){return o({imageFill:!i})}}),i&&h&&"image"===g&&Object(Q.createElement)(be.FocalPointPicker,{label:Object(X.__)("Focal point picker"),url:h,value:c,onChange:function(e){return o({focalPoint:e})},onDragStart:_,onDrag:_}),"image"===g&&Object(Q.createElement)(be.TextareaControl,{label:Object(X.__)("Alt text (alternative text)"),value:m,onChange:function(e){o({mediaAlt:e})},help:Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(be.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(X.__)("Describe the purpose of the image")),Object(X.__)("Leave empty if the image is purely decorative."))}),"image"===g&&Object(Q.createElement)($.__experimentalImageSizeControl,{onChangeImage:function(e){var t=ci(y,e);if(!t)return null;o({mediaUrl:t,mediaSizeSlug:e})},slug:j,imageSizeOptions:M,isResizable:!1})),V=Object($.useBlockProps)({className:P,style:T}),A=Object($.__experimentalUseInnerBlocksProps)({className:"wp-block-media-text__content"},{template:ni});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.InspectorControls,null,R),Object(Q.createElement)($.BlockControls,{group:"block"},Object(Q.createElement)($.BlockVerticalAlignmentControl,{onChange:function(e){o({verticalAlignment:e})},value:v}),Object(Q.createElement)(be.ToolbarButton,{icon:ti,title:Object(X.__)("Show media on left"),isActive:"left"===p,onClick:function(){return o({mediaPosition:"left"})}}),Object(Q.createElement)(be.ToolbarButton,{icon:ri,title:Object(X.__)("Show media on right"),isActive:"right"===p,onClick:function(){return o({mediaPosition:"right"})}}),"image"===g&&Object(Q.createElement)($.__experimentalImageURLInputUI,{url:a||"",onChangeUrl:function(e){o(e)},linkDestination:u,mediaType:g,mediaUrl:y&&y.source_url,mediaLink:y&&y.link,linkTarget:b,linkClass:s,rel:O})),Object(Q.createElement)("div",V,Object(Q.createElement)($a,{className:"wp-block-media-text__media",onSelectMedia:S,onWidthChange:function(e){x(oi(e))},commitWidthChange:function(e){o({mediaWidth:oi(e)}),x(oi(e))},ref:w,focalPoint:c,imageFill:i,isSelected:n,isStackedOnMobile:l,mediaAlt:m,mediaId:d,mediaPosition:p,mediaType:g,mediaUrl:h,mediaWidth:f}),Object(Q.createElement)("div",A)))};var ii={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,r=e.url,n=e.id,o=e.anchor;return Object(J.createBlock)("core/media-text",{mediaAlt:t,mediaId:n,mediaUrl:r,mediaType:"image",anchor:o})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,r=e.id,n=e.anchor;return Object(J.createBlock)("core/media-text",{mediaId:r,mediaUrl:t,mediaType:"video",anchor:n})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"image"===t},transform:function(e){var t=e.mediaAlt,r=e.mediaId,n=e.mediaUrl,o=e.anchor;return Object(J.createBlock)("core/image",{alt:t,id:r,url:n,anchor:o})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,r=e.mediaUrl,n=e.anchor;return Object(J.createBlock)("core/video",{id:t,src:r,anchor:n})}}]},li={apiVersion:2,name:"core/media-text",category:"media",attributes:{align:{type:"string",default:"wide"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaLink:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure a",attribute:"target"},href:{type:"string",source:"attribute",selector:"figure a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure a",attribute:"class"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},mediaSizeSlug:{type:"string"},isStackedOnMobile:{type:"boolean",default:!0},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,link:!0}},editorStyle:"wp-block-media-text-editor",style:"wp-block-media-text"},si=li.name,ui={title:Object(X._x)("Media & Text","block title"),description:Object(X.__)("Set media and words side-by-side for a richer layout."),icon:Fa,keywords:[Object(X.__)("image"),Object(X.__)("video")],example:{attributes:{mediaType:"image",mediaUrl:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{content:Object(X.__)("The wren<br>Earns his living<br>Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(X.__)("— Kobayashi Issa (一茶)")}}]},transforms:ii,edit:ai,save:function(e){var t,r,n=e.attributes,o=n.isStackedOnMobile,c=n.mediaAlt,a=n.mediaPosition,i=n.mediaType,l=n.mediaUrl,s=n.mediaWidth,u=n.mediaId,b=n.verticalAlignment,m=n.imageFill,d=n.focalPoint,p=n.linkClass,g=n.href,h=n.linkTarget,f=n.rel,O=n.mediaSizeSlug||"full",v=Object(K.isEmpty)(f)?void 0:f,j=ne()((t={},Object(Z.a)(t,"wp-image-".concat(u),u&&"image"===i),Object(Z.a)(t,"size-".concat(O),u&&"image"===i),t)),y=Object(Q.createElement)("img",{src:l,alt:c,className:j||null});g&&(y=Object(Q.createElement)("a",{className:p,href:g,target:h,rel:v},y));var w,_={image:function(){return y},video:function(){return Object(Q.createElement)("video",{controls:!0,src:l})}},k=ne()((r={"has-media-on-the-right":"right"===a,"is-stacked-on-mobile":o},Object(Z.a)(r,"is-vertically-aligned-".concat(b),b),Object(Z.a)(r,"is-image-fill",m),r)),E=m?Wa(l,d):{};50!==s&&(w="right"===a?"auto ".concat(s,"%"):"".concat(s,"% auto"));var C={gridTemplateColumns:w};return Object(Q.createElement)("div",$.useBlockProps.save({className:k,style:C}),Object(Q.createElement)("figure",{className:"wp-block-media-text__media",style:E},(_[i]||K.noop)()),Object(Q.createElement)("div",{className:"wp-block-media-text__content"},Object(Q.createElement)($.InnerBlocks.Content,null)))},deprecated:ei},bi=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"}));var mi={apiVersion:2,name:"core/latest-comments",category:"widgets",attributes:{commentsToShow:{type:"number",default:5,minimum:1,maximum:100},displayAvatar:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayExcerpt:{type:"boolean",default:!0}},supports:{align:!0,html:!1},editorStyle:"wp-block-latest-comments-editor",style:"wp-block-latest-comments"},di=mi.name,pi={title:Object(X._x)("Latest Comments","block title"),description:Object(X.__)("Display a list of your most recent comments."),icon:bi,keywords:[Object(X.__)("recent comments")],example:{},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.commentsToShow,o=t.displayAvatar,c=t.displayDate,a=t.displayExcerpt;return Object(Q.createElement)("div",Object($.useBlockProps)(),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Latest comments settings")},Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Display avatar"),checked:o,onChange:function(){return r({displayAvatar:!o})}}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Display date"),checked:c,onChange:function(){return r({displayDate:!c})}}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Display excerpt"),checked:a,onChange:function(){return r({displayExcerpt:!a})}}),Object(Q.createElement)(be.RangeControl,{label:Object(X.__)("Number of comments"),value:n,onChange:function(e){return r({commentsToShow:e})},min:1,max:100,required:!0}))),Object(Q.createElement)(be.Disabled,null,Object(Q.createElement)(fn.a,{block:"core/latest-comments",attributes:t})))}},gi=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 11h2V9H7v2zm0 4h2v-2H7v2zm3-4h7V9h-7v2zm0 4h7v-2h-7v2z"}));function hi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function fi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hi(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Oi=[{attributes:fi(fi({},{categories:{type:"array",items:{type:"object"}},selectedAuthor:{type:"number"},postsToShow:{type:"number",default:5},displayPostContent:{type:"boolean",default:!1},displayPostContentRadio:{type:"string",default:"excerpt"},excerptLength:{type:"number",default:55},displayAuthor:{type:"boolean",default:!1},displayPostDate:{type:"boolean",default:!1},postLayout:{type:"string",default:"list"},columns:{type:"number",default:3},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},displayFeaturedImage:{type:"boolean",default:!1},featuredImageAlign:{type:"string",enum:["left","center","right"]},featuredImageSizeSlug:{type:"string",default:"thumbnail"},featuredImageSizeWidth:{type:"number",default:null},featuredImageSizeHeight:{type:"number",default:null},addLinkToFeaturedImage:{type:"boolean",default:!1}}),{},{categories:{type:"string"}}),supports:{align:!0,html:!1},migrate:function(e){return fi(fi({},e),{},{categories:[{id:Number(e.categories)}]})},isEligible:function(e){var t=e.categories;return t&&"string"==typeof t},save:function(){return null}}],vi=r(70),ji=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"})),yi=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7.8 16.5H5c-.3 0-.5-.2-.5-.5v-6.2h6.8v6.7zm0-8.3H4.5V5c0-.3.2-.5.5-.5h6.2v6.7zm8.3 7.8c0 .3-.2.5-.5.5h-6.2v-6.8h6.8V19zm0-7.8h-6.8V4.5H19c.3 0 .5.2.5.5v6.2z",fillRule:"evenodd",clipRule:"evenodd"}));function wi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wi(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ki={per_page:-1},Ei={per_page:-1};var Ci={apiVersion:2,name:"core/latest-posts",category:"widgets",attributes:{categories:{type:"array",items:{type:"object"}},selectedAuthor:{type:"number"},postsToShow:{type:"number",default:5},displayPostContent:{type:"boolean",default:!1},displayPostContentRadio:{type:"string",default:"excerpt"},excerptLength:{type:"number",default:55},displayAuthor:{type:"boolean",default:!1},displayPostDate:{type:"boolean",default:!1},postLayout:{type:"string",default:"list"},columns:{type:"number",default:3},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},displayFeaturedImage:{type:"boolean",default:!1},featuredImageAlign:{type:"string",enum:["left","center","right"]},featuredImageSizeSlug:{type:"string",default:"thumbnail"},featuredImageSizeWidth:{type:"number",default:null},featuredImageSizeHeight:{type:"number",default:null},addLinkToFeaturedImage:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-latest-posts-editor",style:"wp-block-latest-posts"},xi=Ci.name,Si={title:Object(X._x)("Latest Posts","block title"),description:Object(X.__)("Display a list of your most recent posts."),icon:gi,keywords:[Object(X.__)("recent posts")],example:{},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.postsToShow,o=t.order,c=t.orderBy,a=t.categories,i=t.selectedAuthor,l=t.displayFeaturedImage,s=t.displayPostContentRadio,u=t.displayPostContent,b=t.displayPostDate,m=t.displayAuthor,d=t.postLayout,p=t.columns,g=t.excerptLength,h=t.featuredImageAlign,f=t.featuredImageSizeSlug,O=t.featuredImageSizeWidth,v=t.featuredImageSizeHeight,j=t.addLinkToFeaturedImage,y=Object(Ce.useSelect)((function(e){var t=e(Y.store),r=t.getEntityRecords,l=t.getMedia,s=(0,e($.store).getSettings)(),u=s.imageSizes,b=s.imageDimensions,m=a&&a.length>0?a.map((function(e){return e.id})):[],d=r("postType","post",Object(K.pickBy)({categories:m,author:i,order:o,orderby:c,per_page:n},(function(e){return!Object(K.isUndefined)(e)})));return{defaultImageWidth:Object(K.get)(b,[f,"width"],0),defaultImageHeight:Object(K.get)(b,[f,"height"],0),imageSizeOptions:u.filter((function(e){return"full"!==e.slug})).map((function(e){var t=e.name;return{value:e.slug,label:t}})),latestPosts:Array.isArray(d)?d.map((function(e){if(!e.featured_media)return e;var t=l(e.featured_media),r=Object(K.get)(t,["media_details","sizes",f,"source_url"],null);r||(r=Object(K.get)(t,"source_url",null));var n={url:r,alt:null==t?void 0:t.alt_text};return _i(_i({},e),{},{featuredImageInfo:n})})):d}}),[f,n,o,c,a,i]),w=y.imageSizeOptions,_=y.latestPosts,k=y.defaultImageWidth,E=y.defaultImageHeight,C=Object(Q.useState)([]),x=Object(ke.a)(C,2),S=x[0],P=x[1],B=Object(Q.useState)([]),z=Object(ke.a)(B,2),T=z[0],N=z[1],M=S.reduce((function(e,t){return _i(_i({},e),{},Object(Z.a)({},t.name,t))}),{}),R=Object(Q.useRef)();Object(Q.useEffect)((function(){return R.current=!0,pt()({path:Object(Se.addQueryArgs)("/wp/v2/categories",ki)}).then((function(e){R.current&&P(e)})).catch((function(){R.current&&P([])})),pt()({path:Object(Se.addQueryArgs)("/wp/v2/users",Ei)}).then((function(e){R.current&&N(e)})).catch((function(){R.current&&N([])})),function(){R.current=!1}}),[]);var V=Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Post content settings")},Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Post content"),checked:u,onChange:function(e){return r({displayPostContent:e})}}),u&&Object(Q.createElement)(be.RadioControl,{label:Object(X.__)("Show:"),selected:s,options:[{label:Object(X.__)("Excerpt"),value:"excerpt"},{label:Object(X.__)("Full post"),value:"full_post"}],onChange:function(e){return r({displayPostContentRadio:e})}}),u&&"excerpt"===s&&Object(Q.createElement)(be.RangeControl,{label:Object(X.__)("Max number of words in excerpt"),value:g,onChange:function(e){return r({excerptLength:e})},min:10,max:100})),Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Post meta settings")},Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Display author name"),checked:m,onChange:function(e){return r({displayAuthor:e})}}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Display post date"),checked:b,onChange:function(e){return r({displayPostDate:e})}})),Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Featured image settings")},Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Display featured image"),checked:l,onChange:function(e){return r({displayFeaturedImage:e})}}),l&&Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.__experimentalImageSizeControl,{onChange:function(e){var t={};e.hasOwnProperty("width")&&(t.featuredImageSizeWidth=e.width),e.hasOwnProperty("height")&&(t.featuredImageSizeHeight=e.height),r(t)},slug:f,width:O,height:v,imageWidth:k,imageHeight:E,imageSizeOptions:w,onChangeImage:function(e){return r({featuredImageSizeSlug:e,featuredImageSizeWidth:void 0,featuredImageSizeHeight:void 0})}}),Object(Q.createElement)(be.BaseControl,{className:"block-editor-image-alignment-control__row"},Object(Q.createElement)(be.BaseControl.VisualLabel,null,Object(X.__)("Image alignment")),Object(Q.createElement)($.BlockAlignmentToolbar,{value:h,onChange:function(e){return r({featuredImageAlign:e})},controls:["left","center","right"],isCollapsed:!1})),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Add link to featured image"),checked:j,onChange:function(e){return r({addLinkToFeaturedImage:e})}}))),Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Sorting and filtering")},Object(Q.createElement)(be.QueryControls,{order:o,orderBy:c,numberOfItems:n,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onNumberOfItemsChange:function(e){return r({postsToShow:e})},categorySuggestions:M,onCategoryChange:function(e){if(!e.some((function(e){return"string"==typeof e&&!M[e]}))){var t=e.map((function(e){return"string"==typeof e?M[e]:e}));if(Object(K.includes)(t,null))return!1;r({categories:t})}},selectedCategories:a,onAuthorChange:function(e){return r({selectedAuthor:""!==e?Number(e):void 0})},authorList:T,selectedAuthorId:i}),"grid"===d&&Object(Q.createElement)(be.RangeControl,{label:Object(X.__)("Columns"),value:p,onChange:function(e){return r({columns:e})},min:2,max:H?Math.min(6,_.length):6,required:!0}))),A=Object($.useBlockProps)({className:ne()(Object(Z.a)({"wp-block-latest-posts__list":!0,"is-grid":"grid"===d,"has-dates":b,"has-author":m},"columns-".concat(p),"grid"===d))}),H=Array.isArray(_)&&_.length;if(!H)return Object(Q.createElement)("div",A,V,Object(Q.createElement)(be.Placeholder,{icon:wo,label:Object(X.__)("Latest Posts")},Array.isArray(_)?Object(X.__)("No posts found."):Object(Q.createElement)(be.Spinner,null)));var L=_.length>n?_.slice(0,n):_,I=[{icon:ji,title:Object(X.__)("List view"),onClick:function(){return r({postLayout:"list"})},isActive:"list"===d},{icon:yi,title:Object(X.__)("Grid view"),onClick:function(){return r({postLayout:"grid"})},isActive:"grid"===d}],D=Object(vi.__experimentalGetSettings)().formats.date;return Object(Q.createElement)("div",null,V,Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)(be.ToolbarGroup,{controls:I})),Object(Q.createElement)("ul",A,L.map((function(e,t){var r=Object(K.invoke)(e,["title","rendered","trim"]),n=e.excerpt.rendered,o=T.find((function(t){return t.id===e.author})),c=document.createElement("div");c.innerHTML=n,n=c.textContent||c.innerText||"";var a=e.featuredImageInfo,i=(a=void 0===a?{}:a).url,d=a.alt,p=ne()(Object(Z.a)({"wp-block-latest-posts__featured-image":!0},"align".concat(h),!!h)),f=l&&i,y=f&&Object(Q.createElement)("img",{src:i,alt:d,style:{maxWidth:O,maxHeight:v}}),w=g<n.trim().split(" ").length&&""===e.excerpt.raw?Object(Q.createElement)(Q.Fragment,null,n.trim().split(" ",g).join(" "),Object(X.__)(" … "),Object(Q.createElement)("a",{href:e.link,rel:"noopener noreferrer"},Object(X.__)("Read more"))):n;return Object(Q.createElement)("li",{key:t},f&&Object(Q.createElement)("div",{className:p},j?Object(Q.createElement)("a",{href:e.link,rel:"noreferrer noopener"},y):y),Object(Q.createElement)("a",{href:e.link,rel:"noreferrer noopener"},r?Object(Q.createElement)(Q.RawHTML,null,r):Object(X.__)("(no title)")),m&&o&&Object(Q.createElement)("div",{className:"wp-block-latest-posts__post-author"},Object(X.sprintf)(Object(X.__)("by %s"),o.name)),b&&e.date_gmt&&Object(Q.createElement)("time",{dateTime:Object(vi.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(vi.dateI18n)(D,e.date_gmt)),u&&"excerpt"===s&&Object(Q.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},w),u&&"full_post"===s&&Object(Q.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object(Q.createElement)(Q.RawHTML,{key:"html"},e.content.raw.trim())))}))))},deprecated:Oi},Pi=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M4 8.8h8.9V7.2H4v1.6zm0 7h8.9v-1.5H4v1.5zM18 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"})),Bi=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})),zi=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M3.8 15.8h8.9v-1.5H3.8v1.5zm0-7h8.9V7.2H3.8v1.6zm14.7-2.1V10h1V5.3l-2.2.7.3 1 .9-.3zm1.2 6.1c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5H20v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3 0-.8-.3-1.1z"})),Ti=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM5 6.7V10h1V5.3L3.8 6l.4 1 .8-.3zm-.4 5.7c-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-1c.3-.6.8-1.4.9-2.1.1-.3 0-.8-.2-1.1-.5-.6-1.3-.5-1.7-.4z"})),Ni=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z"})),Mi=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z"})),Ri=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z"})),Vi=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z"})),Ai=function(e){var t=e.setAttributes,r=e.reversed,n=e.start;return Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Ordered list settings")},Object(Q.createElement)(be.TextControl,{label:Object(X.__)("Start value"),type:"number",onChange:function(e){var r=parseInt(e,10);t({start:isNaN(r)?void 0:r})},value:Number.isInteger(n)?n.toString(10):"",step:"1"}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Reverse list numbering"),checked:r||!1,onChange:function(e){t({reversed:e||void 0})}})))};function Hi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Li(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hi(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ii(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Di(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ii(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Fi(e){var t=Di(Di({},e.phrasingContentSchema),{},{ul:{},ol:{attributes:["type","start","reversed"]}});return["ul","ol"].forEach((function(e){t[e].children={li:{children:t}}})),t}var Ui={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph","core/heading"],transform:function(e){return Object(J.createBlock)("core/list",{values:Object(kr.toHTMLString)({value:Object(kr.join)(e.map((function(t){var r=t.content,n=Object(kr.create)({html:r});return e.length>1?n:Object(kr.replace)(n,/\n/g,kr.__UNSTABLE_LINE_SEPARATOR)})),kr.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"}),anchor:e.anchor})}},{type:"block",blocks:["core/quote","core/pullquote"],transform:function(e){var t=e.value,r=e.anchor;return Object(J.createBlock)("core/list",{values:Object(kr.toHTMLString)({value:Object(kr.create)({html:t,multilineTag:"p"}),multilineTag:"li"}),anchor:r})}},{type:"raw",selector:"ol,ul",schema:function(e){return{ol:Fi(e).ol,ul:Fi(e).ul}},transform:function(e){var t={ordered:"OL"===e.nodeName,anchor:""===e.id?void 0:e.id};if(t.ordered){var r=e.getAttribute("type");r&&(t.type=r),null!==e.getAttribute("reversed")&&(t.reversed=!0);var n=parseInt(e.getAttribute("start"),10);isNaN(n)||1===n&&!t.reversed||(t.start=n)}return Object(J.createBlock)("core/list",Di(Di({},Object(J.getBlockAttributes)("core/list",e.outerHTML)),t))}}].concat(Object(q.a)(["*","-"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(J.createBlock)("core/list",{values:"<li>".concat(e,"</li>")})}}}))),Object(q.a)(["1.","1)"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(J.createBlock)("core/list",{ordered:!0,values:"<li>".concat(e,"</li>")})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(kr.split)(Object(kr.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),kr.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object(J.createBlock)("core/paragraph",{content:Object(kr.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.values;return Object(kr.split)(Object(kr.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),kr.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object(J.createBlock)("core/heading",{content:Object(kr.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values,r=e.anchor;return Object(J.createBlock)("core/quote",{value:Object(kr.toHTMLString)({value:Object(kr.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:r})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.values,r=e.anchor;return Object(J.createBlock)("core/pullquote",{value:Object(kr.toHTMLString)({value:Object(kr.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:r})}}]};function Gi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Wi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gi(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var qi={apiVersion:2,name:"core/list",category:"text",attributes:{ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:""},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"}},supports:{anchor:!0,className:!1,fontSize:!0,color:{gradients:!0},__unstablePasteTextInline:!0},editorStyle:"wp-block-list-editor",style:"wp-block-list"},Zi=qi.name,Yi={title:Object(X._x)("List","block title"),description:Object(X.__)("Create a bulleted or numbered list."),icon:ji,keywords:[Object(X.__)("bullet list"),Object(X.__)("ordered list"),Object(X.__)("numbered list")],example:{attributes:{values:"<li>Alice.</li><li>The White Rabbit.</li><li>The Cheshire Cat.</li><li>The Mad Hatter.</li><li>The Queen of Hearts.</li>"}},transforms:Ui,merge:function(e,t){var r=t.values;return r&&"<li></li>"!==r?Wi(Wi({},e),{},{values:e.values+r}):e},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.mergeBlocks,o=e.onReplace,c=e.isSelected,a=t.ordered,i=t.values,l=t.type,s=t.reversed,u=t.start,b=a?"ol":"ul",m=Object($.useBlockProps)();return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.RichText,Object(ue.a)({identifier:"values",multiline:"li",__unstableMultilineRootTag:b,tagName:b,onChange:function(e){return r({values:e})},value:i,"aria-label":Object(X.__)("List text"),placeholder:Object(X.__)("List"),onMerge:n,onSplit:function(e){return Object(J.createBlock)(Zi,Li(Li({},t),{},{values:e}))},__unstableOnSplitMiddle:function(){return Object(J.createBlock)("core/paragraph")},onReplace:o,onRemove:function(){return o([])},start:u,reversed:s,type:l},m),(function(e){var t=e.value,n=e.onChange,o=e.onFocus;return Object(Q.createElement)(Q.Fragment,null,c&&Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.RichTextShortcut,{type:"primary",character:"[",onUse:function(){n(Object(kr.__unstableOutdentListItems)(t))}}),Object(Q.createElement)($.RichTextShortcut,{type:"primary",character:"]",onUse:function(){n(Object(kr.__unstableIndentListItems)(t,{type:b}))}}),Object(Q.createElement)($.RichTextShortcut,{type:"primary",character:"m",onUse:function(){n(Object(kr.__unstableIndentListItems)(t,{type:b}))}}),Object(Q.createElement)($.RichTextShortcut,{type:"primaryShift",character:"m",onUse:function(){n(Object(kr.__unstableOutdentListItems)(t))}})),Object(Q.createElement)($.BlockControls,{group:"block"},Object(Q.createElement)(be.ToolbarButton,{icon:Object(X.isRTL)()?Pi:Bi,title:Object(X.__)("Unordered"),describedBy:Object(X.__)("Convert to unordered list"),isActive:Object(kr.__unstableIsActiveListType)(t,"ul",b),onClick:function(){n(Object(kr.__unstableChangeListType)(t,{type:"ul"})),o(),Object(kr.__unstableIsListRootSelected)(t)&&r({ordered:!1})}}),Object(Q.createElement)(be.ToolbarButton,{icon:Object(X.isRTL)()?zi:Ti,title:Object(X.__)("Ordered"),describedBy:Object(X.__)("Convert to ordered list"),isActive:Object(kr.__unstableIsActiveListType)(t,"ol",b),onClick:function(){n(Object(kr.__unstableChangeListType)(t,{type:"ol"})),o(),Object(kr.__unstableIsListRootSelected)(t)&&r({ordered:!0})}}),Object(Q.createElement)(be.ToolbarButton,{icon:Object(X.isRTL)()?Ni:Mi,title:Object(X.__)("Outdent"),describedBy:Object(X.__)("Outdent list item"),shortcut:Object(X._x)("Backspace","keyboard key"),isDisabled:!Object(kr.__unstableCanOutdentListItems)(t),onClick:function(){n(Object(kr.__unstableOutdentListItems)(t)),o()}}),Object(Q.createElement)(be.ToolbarButton,{icon:Object(X.isRTL)()?Ri:Vi,title:Object(X.__)("Indent"),describedBy:Object(X.__)("Indent list item"),shortcut:Object(X._x)("Space","keyboard key"),isDisabled:!Object(kr.__unstableCanIndentListItems)(t),onClick:function(){n(Object(kr.__unstableIndentListItems)(t,{type:b})),o()}})))})),a&&Object(Q.createElement)(Ai,{setAttributes:r,ordered:a,reversed:s,start:u}))},save:function(e){var t=e.attributes,r=t.ordered,n=t.values,o=t.type,c=t.reversed,a=t.start,i=r?"ol":"ul";return Object(Q.createElement)(i,$.useBlockProps.save({type:o,reversed:c,start:a}),Object(Q.createElement)($.RichText.Content,{value:n,multiline:"li"}))}};var $i=Object(Ce.withDispatch)((function(e,t){var r=t.clientId,n=t.attributes,o=e($.store).replaceBlock;return{convertToHTML:function(){o(r,Object(J.createBlock)("core/html",{content:n.originalUndelimitedContent}))}}}))((function(e){var t,r=e.attributes,n=e.convertToHTML,o=r.originalName,c=r.originalUndelimitedContent,a=!!c,i=Object(J.getBlockType)("core/html"),l=[];return a&&i?(t=Object(X.sprintf)(Object(X.__)('Your site doesnt include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'),o),l.push(Object(Q.createElement)(be.Button,{key:"convert",onClick:n,isPrimary:!0},Object(X.__)("Keep as HTML")))):t=Object(X.sprintf)(Object(X.__)('Your site doesnt include support for the "%s" block. You can leave this block intact or remove it entirely.'),o),Object(Q.createElement)("div",Object($.useBlockProps)({className:"has-warning"}),Object(Q.createElement)($.Warning,{actions:l},t),Object(Q.createElement)(Q.RawHTML,null,c))}));var Ji={apiVersion:2,name:"core/missing",category:"text",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1}},Ki=Ji.name,Xi={name:Ki,title:Object(X._x)("Unsupported","block title"),description:Object(X.__)("Your site doesnt include support for this block."),__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.originalName,n=r?Object(J.getBlockType)(r):void 0;return n?n.settings.title||r:""}},edit:$i,save:function(e){var t=e.attributes;return Object(Q.createElement)(Q.RawHTML,null,t.originalContent)}},Qi=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"})),el=Object(X.__)("Read more");var tl={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/more"===e.dataset.block},transform:function(e){var t=e.dataset,r=t.customText,n=t.noTeaser,o={};return r&&(o.customText=r),""===n&&(o.noTeaser=!0),Object(J.createBlock)("core/more",o)}}]},rl={apiVersion:2,name:"core/more",category:"design",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},supports:{customClassName:!1,className:!1,html:!1,multiple:!1},editorStyle:"wp-block-more-editor"},nl=rl.name,ol={title:Object(X._x)("More","block title"),description:Object(X.__)("Content before this block will be shown in the excerpt on your archives page."),keywords:[Object(X.__)("read more")],icon:Qi,example:{},__experimentalLabel:function(e,t){if("accessibility"===t.context)return e.customText},transforms:tl,edit:function(e){var t=e.attributes,r=t.customText,n=t.noTeaser,o=e.insertBlocksAfter,c=e.setAttributes,a={width:"".concat((r||el).length+1.2,"em")};return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,null,Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return c({noTeaser:!n})},help:function(e){return e?Object(X.__)("The excerpt is hidden."):Object(X.__)("The excerpt is visible.")}}))),Object(Q.createElement)("div",Object($.useBlockProps)(),Object(Q.createElement)("div",{className:"wp-block-more"},Object(Q.createElement)("input",{"aria-label":Object(X.__)("Read more link text"),type:"text",value:r,placeholder:el,onChange:function(e){c({customText:""!==e.target.value?e.target.value:void 0})},onKeyDown:function(e){e.keyCode===cr.ENTER&&o([Object(J.createBlock)(Object(J.getDefaultBlockName)())])},style:a}))))},save:function(e){var t=e.attributes,r=t.customText,n=t.noTeaser,o=r?"\x3c!--more ".concat(r,"--\x3e"):"\x3c!--more--\x3e",c=n?"\x3c!--noteaser--\x3e":"";return Object(Q.createElement)(Q.RawHTML,null,Object(K.compact)([o,c]).join("\n"))}},cl=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M7.8 6c0-.7.6-1.2 1.2-1.2h6c.7 0 1.2.6 1.2 1.2v3h1.5V6c0-1.5-1.2-2.8-2.8-2.8H9C7.5 3.2 6.2 4.5 6.2 6v3h1.5V6zm8.4 11c0 .7-.6 1.2-1.2 1.2H9c-.7 0-1.2-.6-1.2-1.2v-3H6.2v3c0 1.5 1.2 2.8 2.8 2.8h6c1.5 0 2.8-1.2 2.8-2.8v-3h-1.5v3zM4 11v1h16v-1H4z"}));var al={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(J.createBlock)("core/nextpage",{})}}]},il={apiVersion:2,name:"core/nextpage",category:"design",parent:["core/post-content"],supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-nextpage-editor"},ll=il.name,sl={title:Object(X._x)("Page Break","block title"),description:Object(X.__)("Separate your content into a multi-page experience."),icon:cl,keywords:[Object(X.__)("next page"),Object(X.__)("pagination")],example:{},transforms:al,edit:function(){return Object(Q.createElement)("div",Object($.useBlockProps)(),Object(Q.createElement)("div",{className:"wp-block-nextpage"},Object(Q.createElement)("span",null,Object(X.__)("Page break"))))},save:function(){return Object(Q.createElement)(Q.RawHTML,null,"\x3c!--nextpage--\x3e")}},ul=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z"}));function bl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ml(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bl(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var dl={apiVersion:2,name:"core/page-list",category:"widgets",usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","fontSize","customFontSize","showSubmenuIcon","style"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-page-list-editor",style:"wp-block-page-list"},pl=dl.name,gl={title:Object(X._x)("Page List","block title"),description:Object(X.__)("Display a list of all pages."),keywords:[Object(X.__)("menu"),Object(X.__)("navigation")],icon:ul,example:{},edit:function(e){var t,r=e.context||{},n=r.textColor,o=r.backgroundColor,c=r.showSubmenuIcon,a=r.style,i=Object($.useBlockProps)({className:ne()((t={"has-text-color":!!n},Object(Z.a)(t,"has-".concat(n,"-color"),!!n),Object(Z.a)(t,"has-background",!!o),Object(Z.a)(t,"has-".concat(o,"-background-color"),!!o),Object(Z.a)(t,"show-submenu-icons",!!c),t)),style:ml({},null==a?void 0:a.color)});return Object(Q.createElement)("div",i,Object(Q.createElement)(fn.a,{block:"core/page-list"}))}},hl=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z"}));var fl={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content,r=e.anchor;return Object(J.createBlock)("core/preformatted",{content:t,anchor:r})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:function(e){return{pre:{children:e.phrasingContentSchema}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(J.createBlock)("core/paragraph",e)}},{type:"block",blocks:["core/code"],transform:function(e){return Object(J.createBlock)("core/code",e)}}]},Ol={apiVersion:2,name:"core/preformatted",category:"text",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0}},supports:{anchor:!0,color:{gradients:!0},fontSize:!0},style:"wp-block-preformatted"},vl=Ol.name,jl={title:Object(X._x)("Preformatted","block title"),description:Object(X.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:hl,example:{attributes:{content:Object(X.__)("EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;")}},transforms:fl,edit:function(e){var t=e.attributes,r=e.mergeBlocks,n=e.setAttributes,o=e.onRemove,c=t.content,a=Object($.useBlockProps)();return Object(Q.createElement)($.RichText,Object(ue.a)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:c,onChange:function(e){n({content:e})},onRemove:o,"aria-label":Object(X.__)("Preformatted text"),placeholder:Object(X.__)("Write preformatted text…"),onMerge:r},a,{__unstablePastePlainText:!0}))},save:function(e){var t=e.attributes.content;return Object(Q.createElement)("pre",$.useBlockProps.save(),Object(Q.createElement)($.RichText.Content,{value:t}))},merge:function(e,t){return{content:e.content+t.content}}},yl=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z"})),wl="is-style-".concat("solid-color");function _l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_l(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var El={value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}};function Cl(e){if(e){var t=e.match(/border-color:([^;]+)[;]?/);return t&&t[1]?t[1]:void 0}}var xl=[{attributes:kl(kl({},El),{},{figureStyle:{source:"attribute",selector:"figure",attribute:"style"}}),save:function(e){var t,r,n=e.attributes,o=n.mainColor,c=n.customMainColor,a=n.textColor,i=n.customTextColor,l=n.value,s=n.citation,u=n.className,b=n.figureStyle;if(Object(K.includes)(u,wl)){var m=Object($.getColorClassName)("background-color",o);t=ne()(Object(Z.a)({"has-background":m||c},m,m)),r={backgroundColor:m?void 0:c}}else if(c)r={borderColor:c};else if(o){r={borderColor:Cl(b)}}var d=Object($.getColorClassName)("color",a),p=(a||i)&&ne()("has-text-color",Object(Z.a)({},d,d)),g=d?void 0:{color:i};return Object(Q.createElement)("figure",{className:t,style:r},Object(Q.createElement)("blockquote",{className:p,style:g},Object(Q.createElement)($.RichText.Content,{value:l,multiline:!0}),!$.RichText.isEmpty(s)&&Object(Q.createElement)($.RichText.Content,{tagName:"cite",value:s})))},migrate:function(e){var t=e.className,r=e.figureStyle,n=e.mainColor,o=Object(Jt.a)(e,["className","figureStyle","mainColor"]);if(!Object(K.includes)(t,wl)&&n&&r){var c=Cl(r);if(c)return kl(kl({},o),{},{className:t,customMainColor:c})}return kl({className:t,mainColor:n},o)}},{attributes:El,save:function(e){var t,r,n=e.attributes,o=n.mainColor,c=n.customMainColor,a=n.textColor,i=n.customTextColor,l=n.value,s=n.citation,u=n.className;if(Object(K.includes)(u,wl))(t=Object($.getColorClassName)("background-color",o))||(r={backgroundColor:c});else if(c)r={borderColor:c};else if(o){var b=Object(K.get)(Object(Ce.select)($.store).getSettings(),["colors"],[]);r={borderColor:Object($.getColorObjectByAttributeValues)(b,o).color}}var m=Object($.getColorClassName)("color",a),d=a||i?ne()("has-text-color",Object(Z.a)({},m,m)):void 0,p=m?void 0:{color:i};return Object(Q.createElement)("figure",{className:t,style:r},Object(Q.createElement)("blockquote",{className:d,style:p},Object(Q.createElement)($.RichText.Content,{value:l,multiline:!0}),!$.RichText.isEmpty(s)&&Object(Q.createElement)($.RichText.Content,{tagName:"cite",value:s})))}},{attributes:kl({},El),save:function(e){var t=e.attributes,r=t.value,n=t.citation;return Object(Q.createElement)("blockquote",null,Object(Q.createElement)($.RichText.Content,{value:r,multiline:!0}),!$.RichText.isEmpty(n)&&Object(Q.createElement)($.RichText.Content,{tagName:"cite",value:n}))}},{attributes:kl(kl({},El),{},{citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,r=t.value,n=t.citation,o=t.align;return Object(Q.createElement)("blockquote",{className:"align".concat(o)},Object(Q.createElement)($.RichText.Content,{value:r,multiline:!0}),!$.RichText.isEmpty(n)&&Object(Q.createElement)($.RichText.Content,{tagName:"footer",value:n}))}}];function Sl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Sl(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Bl=Object($.withColors)({mainColor:"background-color",textColor:"color"})((function(e){var t=e.colorUtils,r=e.textColor,n=e.attributes,o=n.value,c=n.citation,a=e.setAttributes,i=e.setTextColor,l=e.setMainColor,s=e.mainColor,u=e.isSelected,b=e.insertBlocksAfter,m=Object(Q.useRef)(!1),d=Object($.useBlockProps)(),p=d.style,g=void 0===p?{}:p,h=d.className,f=Object(K.includes)(h,wl),O=Pl(Pl({},d),{},{className:ne()(h,Object(Z.a)({"has-background":f&&s.color},s.class,f&&s.class)),style:Pl(Pl({},g),{},f?{backgroundColor:s.color}:{borderColor:s.color})});return Object(Q.useEffect)((function(){s&&!f&&a({mainColor:void 0,customMainColor:s.color})}),[f,s]),Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)("figure",O,Object(Q.createElement)("blockquote",{style:{color:r.color},className:r.color&&ne()("has-text-color",Object(Z.a)({},r.class,r.class))},Object(Q.createElement)($.RichText,{identifier:"value",multiline:!0,value:o,onChange:function(e){return a({value:e})},"aria-label":Object(X.__)("Pullquote text"),placeholder:Object(X.__)("Add quote"),textAlign:"center"}),(!$.RichText.isEmpty(c)||u)&&Object(Q.createElement)($.RichText,{identifier:"citation",value:c,"aria-label":Object(X.__)("Pullquote citation text"),placeholder:Object(X.__)("Add citation"),onChange:function(e){return a({citation:e})},className:"wp-block-pullquote__citation",__unstableMobileNoFocusOnMount:!0,textAlign:"center",__unstableOnSplitAtEnd:function(){return b(Object(J.createBlock)("core/paragraph"))}}))),"web"===Q.Platform.OS&&Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)($.PanelColorSettings,{title:Object(X.__)("Color settings"),colorSettings:[{value:s.color,onChange:function(e){var n=!r.color||m.current,o=f&&n;f?l(e):a({customMainColor:e}),o&&(e?(m.current=!0,i(t.getMostReadableColor(e))):m.current&&(m.current=!1,i()))},label:Object(X.__)("Main color")},{value:r.color,onChange:function(e){i(e),m.current=!1},label:Object(X.__)("Text color")}]},f&&Object(Q.createElement)($.ContrastChecker,{textColor:r.color,backgroundColor:s.color,isLargeText:!1}))))}));function zl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Tl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zl(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Nl={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(J.createBlock)("core/pullquote",{value:Object(kr.toHTMLString)({value:Object(kr.join)(e.map((function(e){var t=e.content;return Object(kr.create)({html:t})})),"\u2028"),multilineTag:"p"}),anchor:e.anchor})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content,r=e.anchor;return Object(J.createBlock)("core/pullquote",{value:"<p>".concat(t,"</p>"),anchor:r})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,r=e.citation,n=[];return t&&"<p></p>"!==t&&n.push.apply(n,Object(q.a)(Object(kr.split)(Object(kr.create)({html:t,multilineTag:"p"}),"\u2028").map((function(e){return Object(J.createBlock)("core/paragraph",{content:Object(kr.toHTMLString)({value:e})})})))),r&&"<p></p>"!==r&&n.push(Object(J.createBlock)("core/paragraph",{content:r})),0===n.length?Object(J.createBlock)("core/paragraph",{content:""}):n}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,r=e.citation,n=Object(Jt.a)(e,["value","citation"]);if("<p></p>"===t)return Object(J.createBlock)("core/heading",{content:r});var o=Object(kr.split)(Object(kr.create)({html:t,multilineTag:"p"}),"\u2028"),c=Object(J.createBlock)("core/heading",{content:Object(kr.toHTMLString)({value:o[0]})});if(!r&&1===o.length)return c;var a=o.slice(1);return[c,Object(J.createBlock)("core/pullquote",Tl(Tl({},n),{},{citation:r,value:Object(kr.toHTMLString)({value:a.length?Object(kr.join)(o.slice(1),"\u2028"):Object(kr.create)(),multilineTag:"p"})}))]}}]},Ml={apiVersion:2,name:"core/pullquote",category:"text",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{anchor:!0,align:["left","right","wide","full"]},editorStyle:"wp-block-pullquote-editor",style:"wp-block-pullquote"},Rl=Ml.name,Vl={title:Object(X._x)("Pullquote","block title"),description:Object(X.__)("Give special visual emphasis to a quote from your text."),icon:yl,example:{attributes:{value:"<p>"+Object(X.__)("One of the hardest things to do in technology is disrupt yourself.")+"</p>",citation:Object(X.__)("Matt Mullenweg")}},styles:[{name:"default",label:Object(X._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(X.__)("Solid color")}],transforms:Nl,edit:Bl,save:function(e){var t,r,n=e.attributes,o=n.mainColor,c=n.customMainColor,a=n.textColor,i=n.customTextColor,l=n.value,s=n.citation,u=n.className;if(Object(K.includes)(u,wl)){var b=Object($.getColorClassName)("background-color",o);t=ne()(Object(Z.a)({"has-background":b||c},b,b)),r={backgroundColor:b?void 0:c}}else c&&(r={borderColor:c});var m=Object($.getColorClassName)("color",a),d=(a||i)&&ne()("has-text-color",Object(Z.a)({},m,m)),p=m?void 0:{color:i};return Object(Q.createElement)("figure",$.useBlockProps.save({className:t,style:r}),Object(Q.createElement)("blockquote",{className:d,style:p},Object(Q.createElement)($.RichText.Content,{value:l,multiline:!0}),!$.RichText.isEmpty(s)&&Object(Q.createElement)($.RichText.Content,{tagName:"cite",value:s})))},deprecated:xl},Al=r(146),Hl=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"}));var Ll={apiVersion:2,name:"core/block",category:"reusable",attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},editorStyle:"wp-block-editor"},Il=Ll.name,Dl={title:Object(X._x)("Reusable block","block title"),description:Object(X.__)("Create and save content to reuse across your site. Update the block, and the changes apply everywhere its used."),edit:function(e){var t=e.attributes.ref,r=e.clientId,n=Object($.__experimentalUseNoRecursiveRenders)(t),o=Object(ke.a)(n,2),c=o[0],a=o[1],i=Object(Ce.useSelect)((function(e){var r=e(Y.store).getEntityRecord("postType","wp_block",t),n=e(Y.store).hasFinishedResolution("getEntityRecord",["postType","wp_block",t]);return{hasResolved:n,isMissing:n&&!r}}),[t,r]),l=i.isMissing,s=i.hasResolved,u=Object(Ce.useDispatch)(Al.store).__experimentalConvertBlockToStatic,b=Object(Y.useEntityBlockEditor)("postType","wp_block",{id:t}),m=Object(ke.a)(b,3),d=m[0],p=m[1],g=m[2],h=Object(Y.useEntityProp)("postType","wp_block","title",t),f=Object(ke.a)(h,2),O=f[0],v=f[1],j=Object($.__experimentalUseInnerBlocksProps)({},{value:d,onInput:p,onChange:g,renderAppender:null!=d&&d.length?void 0:$.InnerBlocks.ButtonBlockAppender}),y=Object($.useBlockProps)();return c?Object(Q.createElement)("div",y,Object(Q.createElement)($.Warning,null,Object(X.__)("Block cannot be rendered inside itself."))):l?Object(Q.createElement)("div",y,Object(Q.createElement)($.Warning,null,Object(X.__)("Block has been deleted or is unavailable."))):s?Object(Q.createElement)(a,null,Object(Q.createElement)("div",y,Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)(be.ToolbarGroup,null,Object(Q.createElement)(be.ToolbarButton,{onClick:function(){return u(r)},label:Object(X.__)("Convert to regular blocks"),icon:Hl,showTooltip:!0}))),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,null,Object(Q.createElement)(be.TextControl,{label:Object(X.__)("Name"),value:O,onChange:v}))),Object(Q.createElement)("div",{className:"block-library-block__reusable-block-container"},Object(Q.createElement)("div",j)))):Object(Q.createElement)("div",y,Object(Q.createElement)(be.Placeholder,null,Object(Q.createElement)(be.Spinner,null)))}},Fl=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"}));var Ul={apiVersion:2,name:"core/rss",category:"widgets",attributes:{columns:{type:"number",default:2},blockLayout:{type:"string",default:"list"},feedURL:{type:"string",default:""},itemsToShow:{type:"number",default:5},displayExcerpt:{type:"boolean",default:!1},displayAuthor:{type:"boolean",default:!1},displayDate:{type:"boolean",default:!1},excerptLength:{type:"number",default:55}},supports:{align:!0,html:!1},editorStyle:"wp-block-rss-editor",style:"wp-block-rss"},Gl=Ul.name,Wl={title:Object(X._x)("RSS","block title"),description:Object(X.__)("Display entries from any RSS or Atom feed."),icon:Fl,keywords:[Object(X.__)("atom"),Object(X.__)("feed")],example:{attributes:{feedURL:"https://wordpress.org"}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=Object(Q.useState)(!t.feedURL),o=Object(ke.a)(n,2),c=o[0],a=o[1],i=t.blockLayout,l=t.columns,s=t.displayAuthor,u=t.displayDate,b=t.displayExcerpt,m=t.excerptLength,d=t.feedURL,p=t.itemsToShow;function g(e){return function(){var n=t[e];r(Object(Z.a)({},e,!n))}}var h=Object($.useBlockProps)();if(c)return Object(Q.createElement)("div",h,Object(Q.createElement)(be.Placeholder,{icon:Fl,label:"RSS"},Object(Q.createElement)("form",{onSubmit:function(e){e.preventDefault(),d&&a(!1)},className:"wp-block-rss__placeholder-form"},Object(Q.createElement)(be.TextControl,{placeholder:Object(X.__)("Enter URL here…"),value:d,onChange:function(e){return r({feedURL:e})},className:"wp-block-rss__placeholder-input"}),Object(Q.createElement)(be.Button,{isPrimary:!0,type:"submit"},Object(X.__)("Use URL")))));var f=[{icon:$r.a,title:Object(X.__)("Edit RSS URL"),onClick:function(){return a(!0)}},{icon:ji,title:Object(X.__)("List view"),onClick:function(){return r({blockLayout:"list"})},isActive:"list"===i},{icon:yi,title:Object(X.__)("Grid view"),onClick:function(){return r({blockLayout:"grid"})},isActive:"grid"===i}];return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)(be.ToolbarGroup,{controls:f})),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("RSS settings")},Object(Q.createElement)(be.RangeControl,{label:Object(X.__)("Number of items"),value:p,onChange:function(e){return r({itemsToShow:e})},min:1,max:10,required:!0}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Display author"),checked:s,onChange:g("displayAuthor")}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Display date"),checked:u,onChange:g("displayDate")}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Display excerpt"),checked:b,onChange:g("displayExcerpt")}),b&&Object(Q.createElement)(be.RangeControl,{label:Object(X.__)("Max number of words in excerpt"),value:m,onChange:function(e){return r({excerptLength:e})},min:10,max:100,required:!0}),"grid"===i&&Object(Q.createElement)(be.RangeControl,{label:Object(X.__)("Columns"),value:l,onChange:function(e){return r({columns:e})},min:2,max:6,required:!0}))),Object(Q.createElement)("div",h,Object(Q.createElement)(be.Disabled,null,Object(Q.createElement)(fn.a,{block:"core/rss",attributes:t}))))}},ql=Object(Q.createElement)(be.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(be.Rect,{x:"7",y:"10",width:"10",height:"4",rx:"1",fill:"currentColor"})),Zl=Object(Q.createElement)(be.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(be.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"9.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),Object(Q.createElement)(be.Rect,{x:"16",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),Yl=Object(Q.createElement)(be.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(be.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),Object(Q.createElement)(be.Rect,{x:"14",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),$l=Object(Q.createElement)(be.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(be.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"})),Jl=Object(Q.createElement)(be.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(be.Rect,{x:"4.75",y:"7.75",width:"14.5",height:"8.5",rx:"1.25",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),Object(Q.createElement)(be.Rect,{x:"8",y:"11",width:"8",height:"2",fill:"currentColor"})),Kl=Object(Q.createElement)(be.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(be.Rect,{x:"4.75",y:"17.25",width:"5.5",height:"14.5",transform:"rotate(-90 4.75 17.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),Object(Q.createElement)(be.Rect,{x:"4",y:"7",width:"10",height:"2",fill:"currentColor"})),Xl="web"===Q.Platform.OS,Ql=[{value:"%",label:Xl?"%":Object(X.__)("Percentage (%)"),default:50},{value:"px",label:Xl?"px":Object(X.__)("Pixels (px)"),default:350}];var es=[{name:"default",isDefault:!0,attributes:{buttonText:Object(X.__)("Search"),label:Object(X.__)("Search")}}],ts={apiVersion:2,name:"core/search",category:"widgets",attributes:{label:{type:"string"},showLabel:{type:"boolean",default:!0},placeholder:{type:"string",default:""},width:{type:"number"},widthUnit:{type:"string"},buttonText:{type:"string"},buttonPosition:{type:"string",default:"button-outside"},buttonUseIcon:{type:"boolean",default:!1}},supports:{align:["left","center","right"],__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},html:!1},editorStyle:"wp-block-search-editor",style:"wp-block-search"},rs=ts.name,ns={title:Object(X._x)("Search","block title"),description:Object(X.__)("Help visitors find your content."),icon:_t.a,keywords:[Object(X.__)("find")],example:{},variations:es,edit:function(e){var t,r=e.className,n=e.attributes,o=e.setAttributes,c=e.toggleSelection,a=e.isSelected,i=n.label,l=n.showLabel,s=n.placeholder,u=n.width,b=n.widthUnit,m=n.align,d=n.buttonText,p=n.buttonPosition,g=n.buttonUseIcon,h=n.style,f=null==h||null===(t=h.border)||void 0===t?void 0:t.radius,O=Object(xe.useInstanceId)($.__experimentalUnitControl),v="wp-block-search__width-".concat(O),j=function(){return Object(Q.createElement)("input",{className:"wp-block-search__input",style:{borderRadius:f},"aria-label":Object(X.__)("Optional placeholder text"),placeholder:s?void 0:Object(X.__)("Optional placeholder…"),value:s,onChange:function(e){return o({placeholder:e.target.value})}})},y=function(){return Object(Q.createElement)(Q.Fragment,null,g&&Object(Q.createElement)(be.Button,{icon:_t.a,className:"wp-block-search__button",style:{borderRadius:f}}),!g&&Object(Q.createElement)($.RichText,{className:"wp-block-search__button",style:{borderRadius:f},"aria-label":Object(X.__)("Button text"),placeholder:Object(X.__)("Add button text…"),withoutInteractiveFormatting:!0,value:d,onChange:function(e){return o({buttonText:e})}}))},w=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)(be.ToolbarGroup,null,Object(Q.createElement)(be.ToolbarButton,{title:Object(X.__)("Toggle search label"),icon:Kl,onClick:function(){o({showLabel:!l})},className:l?"is-pressed":void 0}),Object(Q.createElement)(be.DropdownMenu,{icon:function(){switch(p){case"button-inside":return Yl;case"button-outside":return Zl;case"no-button":return $l;case"button-only":return ql}}(),label:Object(X.__)("Change button position")},(function(e){var t=e.onClose;return Object(Q.createElement)(be.MenuGroup,{className:"wp-block-search__button-position-menu"},Object(Q.createElement)(be.MenuItem,{icon:$l,onClick:function(){o({buttonPosition:"no-button"}),t()}},Object(X.__)("No Button")),Object(Q.createElement)(be.MenuItem,{icon:Zl,onClick:function(){o({buttonPosition:"button-outside"}),t()}},Object(X.__)("Button Outside")),Object(Q.createElement)(be.MenuItem,{icon:Yl,onClick:function(){o({buttonPosition:"button-inside"}),t()}},Object(X.__)("Button Inside")))})),"no-button"!==p&&Object(Q.createElement)(be.ToolbarButton,{title:Object(X.__)("Use button with icon"),icon:Jl,onClick:function(){o({buttonUseIcon:!g})},className:g?"is-pressed":void 0}))),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Display Settings")},Object(Q.createElement)(be.BaseControl,{label:Object(X.__)("Width"),id:v},Object(Q.createElement)($.__experimentalUnitControl,{id:v,min:"".concat(220).concat("px"),onChange:function(e){var t="%"===b&&parseInt(e,10)>100?100:e;o({width:parseInt(t,10)})},onUnitChange:function(e){o({width:"%"===e?50:350,widthUnit:e})},style:{maxWidth:80},value:"".concat(u).concat(b),unit:b,units:Ql}),Object(Q.createElement)(be.ButtonGroup,{className:"wp-block-search__components-button-group","aria-label":Object(X.__)("Percentage Width")},[25,50,75,100].map((function(e){return Object(Q.createElement)(be.Button,{key:e,isSmall:!0,isPrimary:"".concat(e,"%")==="".concat(u).concat(b),onClick:function(){return o({width:e,widthUnit:"%"})}},e,"%")}))))))),_=Object($.useBlockProps)({className:ne()(r,"button-inside"===p?"wp-block-search__button-inside":void 0,"button-outside"===p?"wp-block-search__button-outside":void 0,"no-button"===p?"wp-block-search__no-button":void 0,"button-only"===p?"wp-block-search__button-only":void 0,g||"no-button"===p?void 0:"wp-block-search__text-button",g&&"no-button"!==p?"wp-block-search__icon-button":void 0)});return Object(Q.createElement)("div",_,w,l&&Object(Q.createElement)($.RichText,{className:"wp-block-search__label","aria-label":Object(X.__)("Label text"),placeholder:Object(X.__)("Add label…"),withoutInteractiveFormatting:!0,value:i,onChange:function(e){return o({label:e})}}),Object(Q.createElement)(be.ResizableBox,{size:{width:"".concat(u).concat(b)},className:"wp-block-search__inside-wrapper",style:function(){var e;if("button-inside"===p&&null!=h&&null!==(e=h.border)&&void 0!==e&&e.radius){var t,r=parseInt(null==h||null===(t=h.border)||void 0===t?void 0:t.radius,10)+4;return{borderRadius:"".concat(r,"px")}}}(),minWidth:220,enable:"button-only"===p?{}:{right:"right"!==m,left:"right"===m},onResizeStart:function(e,t,r){o({width:parseInt(r.offsetWidth,10),widthUnit:"px"}),c(!1)},onResizeStop:function(e,t,r,n){o({width:parseInt(u+n.width,10)}),c(!0)},showHandle:a},("button-inside"===p||"button-outside"===p)&&Object(Q.createElement)(Q.Fragment,null,j(),y()),"button-only"===p&&y(),"no-button"===p&&j()))}},os=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"}));function cs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function as(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?cs(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var is=function(e){if(e.tagName||(e=as(as({},e),{},{tagName:"div"})),!e.customTextColor&&!e.customBackgroundColor)return e;var t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),as(as({},Object(K.omit)(e,["customTextColor","customBackgroundColor"])),{},{style:t})},ls=[{attributes:{tagName:{type:"string",default:"div"},templateLock:{type:"string"}},supports:{align:["wide","full"],anchor:!0,color:{gradients:!0,link:!0},spacing:{padding:!0},__experimentalBorder:{radius:!0}},save:function(e){var t=e.attributes.tagName;return Object(Q.createElement)(t,$.useBlockProps.save(),Object(Q.createElement)("div",{className:"wp-block-group__inner-container"},Object(Q.createElement)($.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:is,save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,o=t.textColor,c=t.customTextColor,a=Object($.getColorClassName)("background-color",r),i=Object($.getColorClassName)("color",o),l=ne()(a,i,{"has-text-color":o||c,"has-background":r||n}),s={backgroundColor:a?void 0:n,color:i?void 0:c};return Object(Q.createElement)("div",{className:l,style:s},Object(Q.createElement)("div",{className:"wp-block-group__inner-container"},Object(Q.createElement)($.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},migrate:is,supports:{align:["wide","full"],anchor:!0,html:!1},save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,o=t.textColor,c=t.customTextColor,a=Object($.getColorClassName)("background-color",r),i=Object($.getColorClassName)("color",o),l=ne()(a,{"has-text-color":o||c,"has-background":r||n}),s={backgroundColor:a?void 0:n,color:i?void 0:c};return Object(Q.createElement)("div",{className:l,style:s},Object(Q.createElement)("div",{className:"wp-block-group__inner-container"},Object(Q.createElement)($.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:is,save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,o=Object($.getColorClassName)("background-color",r),c=ne()(o,{"has-background":r||n}),a={backgroundColor:o?void 0:n};return Object(Q.createElement)("div",{className:c,style:a},Object(Q.createElement)($.InnerBlocks.Content,null))}}];var ss=function(e){var t=e.attributes,r=e.setAttributes,n=e.clientId,o=Object(Ce.useSelect)((function(e){var t,r=e($.store),o=r.getBlock,c=r.getSettings,a=o(n);return{hasInnerBlocks:!(!a||!a.innerBlocks.length),themeSupportsLayout:null===(t=c())||void 0===t?void 0:t.supportsLayout}}),[n]),c=o.hasInnerBlocks,a=o.themeSupportsLayout,i=Object($.__experimentalUseEditorFeature)("layout")||{},l=t.tagName,s=void 0===l?"div":l,u=t.templateLock,b=t.layout,m=void 0===b?{}:b,d=m&&m.inherit?i:m,p=d.contentSize,g=d.wideSize,h=p||g?["wide","full"]:["left","center","right"],f=Object($.useBlockProps)(),O=Object($.__experimentalUseInnerBlocksProps)(a?f:{className:"wp-block-group__inner-container"},{templateLock:u,renderAppender:c?void 0:$.InnerBlocks.ButtonBlockAppender,__experimentalLayout:{type:"default",alignments:a?h:void 0}});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.InspectorAdvancedControls,null,Object(Q.createElement)(be.SelectControl,{label:Object(X.__)("HTML element"),options:[{label:Object(X.__)("Default (<div>)"),value:"div"},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"}],value:s,onChange:function(e){return r({tagName:e})}})),a&&Object(Q.createElement)(s,O),!a&&Object(Q.createElement)(s,f,Object(Q.createElement)("div",O)))};var us={apiVersion:2,name:"core/group",category:"design",attributes:{tagName:{type:"string",default:"div"},templateLock:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},__experimentalLayout:!0},editorStyle:"wp-block-group-editor",style:"wp-block-group"},bs=us.name,ms={title:Object(X._x)("Group","block title"),icon:os,description:Object(X.__)("Combine blocks into a group."),keywords:[Object(X.__)("container"),Object(X.__)("wrapper"),Object(X.__)("row"),Object(X.__)("section")],example:{attributes:{style:{color:{text:"#000000",background:"#ffffff"}}},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(X.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(X.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(X.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(X.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(X.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(X.__)("Six.")}}]},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:function(e){if(1!==e.length||"core/group"!==e[0].name){var t=["wide","full"],r=e.reduce((function(e,r){var n=r.attributes.align;return t.indexOf(n)>t.indexOf(e)?n:e}),void 0),n=e.map((function(e){return Object(J.createBlock)(e.name,e.attributes,e.innerBlocks)}));return Object(J.createBlock)("core/group",{align:r},n)}}}]},edit:ss,save:function(e){var t=e.attributes.tagName;return Object(Q.createElement)(t,$.useBlockProps.save(),Object(Q.createElement)($.InnerBlocks.Content,null))},deprecated:ls},ds=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"})),ps=function(e){var t=e.color,r=e.setColor;return Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)($.PanelColorSettings,{title:Object(X.__)("Color settings"),colorSettings:[{value:t.color,onChange:r,label:Object(X.__)("Color")}]}))};var gs=Object($.withColors)("color",{textColor:"color"})((function(e){var t=e.color,r=e.setColor,n=e.className;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(be.HorizontalRule,Object($.useBlockProps)({className:ne()(n,Object(Z.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}})),Object(Q.createElement)(ps,{color:t,setColor:r}))}));var hs={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(J.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},fs={apiVersion:2,name:"core/separator",category:"design",attributes:{color:{type:"string"},customColor:{type:"string"}},supports:{anchor:!0,align:["center","wide","full"]},editorStyle:"wp-block-separator-editor",style:"wp-block-separator"},Os=fs.name,vs={title:Object(X._x)("Separator","block title"),description:Object(X.__)("Create a break between ideas or sections with a horizontal separator."),icon:ds,keywords:[Object(X.__)("horizontal-line"),"hr",Object(X.__)("divider")],example:{attributes:{customColor:"#065174",className:"is-style-wide"}},styles:[{name:"default",label:Object(X.__)("Default"),isDefault:!0},{name:"wide",label:Object(X.__)("Wide Line")},{name:"dots",label:Object(X.__)("Dots")}],transforms:hs,edit:gs,save:function(e){var t,r=e.attributes,n=r.color,o=r.customColor,c=Object($.getColorClassName)("background-color",n),a=Object($.getColorClassName)("color",n),i=ne()((t={"has-text-color has-background":n||o},Object(Z.a)(t,c,c),Object(Z.a)(t,a,a),t)),l={backgroundColor:c?void 0:o,color:a?void 0:o};return Object(Q.createElement)("hr",$.useBlockProps.save({className:i,style:l}))}},js=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"})),ys=r(136);var ws=r(116),_s={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var r=t.content;return Object(ws.removep)(Object(ws.autop)(r))}}},priority:20}]},ks={apiVersion:2,name:"core/shortcode",category:"widgets",attributes:{text:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,html:!1},editorStyle:"wp-block-shortcode-editor"},Es=ks.name,Cs={title:Object(X._x)("Shortcode","block title"),description:Object(X.__)("Insert additional custom elements with a WordPress shortcode."),icon:js,transforms:_s,edit:function e(t){var r=t.attributes,n=t.setAttributes,o=Object(xe.useInstanceId)(e),c="blocks-shortcode-input-".concat(o);return Object(Q.createElement)("div",Object($.useBlockProps)({className:"components-placeholder"}),Object(Q.createElement)("label",{htmlFor:c,className:"components-placeholder__label"},Object(Q.createElement)(ys.a,{icon:js}),Object(X.__)("Shortcode")),Object(Q.createElement)($.PlainText,{className:"blocks-shortcode__textarea",id:c,value:r.text,"aria-label":Object(X.__)("Shortcode text"),placeholder:Object(X.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))},save:function(e){var t=e.attributes;return Object(Q.createElement)(Q.RawHTML,null,t.text)}},xs=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M12.5 4.2v1.6h4.7L5.8 17.2V12H4.2v7.8H12v-1.6H6.8L18.2 6.8v4.7h1.6V4.2z"})),Ss=Object(xe.compose)([Object(Ce.withDispatch)((function(e){var t=e($.store).toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}})),xe.withInstanceId])((function(e){var t=e.attributes,r=e.isSelected,n=e.setAttributes,o=e.onResizeStart,c=e.onResizeStop,a=e.context.orientation,i=Object(Q.useState)(!1),l=Object(ke.a)(i,2),s=l[0],u=l[1],b=t.height,m=t.width,d=function(e){n({height:e})},p=function(e){n({width:e})},g=function(){o.apply(void 0,arguments),u(!0)},h=function(e,t,r,n){c();var o=Math.min(parseInt(b+n.height,10),500);d(o),u(!1)},f=function(e,t,r,n){c();var o=Math.min(parseInt(m+n.width,10),500);p(o),u(!1)};return Object(Q.useEffect)((function(){"horizontal"!==a||m||(p(72),d(0))}),[]),Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(ee.View,Object($.useBlockProps)(),"horizontal"===a?Object(Q.createElement)(be.ResizableBox,{className:ne()("block-library-spacer__resize-container","resize-horizontal",{"is-selected":r}),size:{width:m,height:24},minWidth:1,enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:g,onResizeStop:f,showHandle:r,__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"x",position:"corner",isVisible:s}}):Object(Q.createElement)(be.ResizableBox,{className:ne()("block-library-spacer__resize-container",{"is-selected":r}),size:{height:b},minHeight:1,enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:g,onResizeStop:h,showHandle:r,__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"y",position:"bottom",isVisible:s}})),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Spacer settings")},"horizontal"===a&&Object(Q.createElement)(be.RangeControl,{label:Object(X.__)("Width in pixels"),min:1,max:Math.max(500,m),value:m,onChange:p}),"horizontal"!==a&&Object(Q.createElement)(be.RangeControl,{label:Object(X.__)("Height in pixels"),min:1,max:Math.max(500,b),value:b,onChange:d}))))}));var Ps={apiVersion:2,name:"core/spacer",category:"design",attributes:{height:{type:"number",default:100},width:{type:"number"}},usesContext:["orientation"],supports:{anchor:!0},editorStyle:"wp-block-spacer-editor",style:"wp-block-spacer"},Bs=Ps.name,zs={title:Object(X._x)("Spacer","block title"),description:Object(X.__)("Add white space between blocks and customize its height."),icon:xs,edit:Ss,save:function(e){var t=e.attributes;return Object(Q.createElement)("div",$.useBlockProps.save({style:{height:t.height,width:t.width},"aria-hidden":!0}))}},Ts=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"})),Ns=[{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,o=t.body,c=t.foot,a=t.backgroundColor;if(!n.length&&!o.length&&!c.length)return null;var i=Object($.getColorClassName)("background-color",a),l=ne()(i,{"has-fixed-layout":r,"has-background":!!i}),s=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(Q.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(Q.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,o=e.scope;return Object(Q.createElement)($.RichText.Content,{tagName:n,value:r,key:t,scope:"th"===n?o:void 0})})))})))};return Object(Q.createElement)("table",{className:l},Object(Q.createElement)(s,{type:"head",rows:n}),Object(Q.createElement)(s,{type:"body",rows:o}),Object(Q.createElement)(s,{type:"foot",rows:c}))}}],Ms=r(301),Rs=r(302),Vs=r(303),As=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84zM6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z"})),Hs=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z"})),Ls=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z"})),Is=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z"})),Ds=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z"})),Fs=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z"})),Us=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"}));function Gs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ws(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gs(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var qs=["align"];function Zs(e,t,r){if(!t)return e;var n=Object(K.pick)(e,["head","body","foot"]),o=t.sectionName,c=t.rowIndex;return Object(K.mapValues)(n,(function(e,n){return o&&o!==n?e:e.map((function(e,o){return c&&c!==o?e:{cells:e.cells.map((function(e,c){return function(e,t){if(!e||!t)return!1;switch(t.type){case"column":return"column"===t.type&&e.columnIndex===t.columnIndex;case"cell":return"cell"===t.type&&e.sectionName===t.sectionName&&e.columnIndex===t.columnIndex&&e.rowIndex===t.rowIndex}}({sectionName:n,columnIndex:c,rowIndex:o},t)?r(e):e}))}}))}))}function Ys(e,t){var r=t.sectionName,n=t.rowIndex,o=t.columnCount,c=function(e){return Ks(e.head)?Ks(e.body)?Ks(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),a=void 0===o?Object(K.get)(c,["cells","length"]):o;return a?Object(Z.a)({},r,[].concat(Object(q.a)(e[r].slice(0,n)),[{cells:Object(K.times)(a,(function(e){var t=Object(K.get)(c,["cells",e],{});return Ws(Ws({},Object(K.pick)(t,qs)),{},{content:"",tag:"head"===r?"th":"td"})}))}],Object(q.a)(e[r].slice(n)))):e}function $s(e,t){var r=t.columnIndex,n=Object(K.pick)(e,["head","body","foot"]);return Object(K.mapValues)(n,(function(e,t){return Ks(e)?e:e.map((function(e){return Xs(e)||e.cells.length<r?e:{cells:[].concat(Object(q.a)(e.cells.slice(0,r)),[{content:"",tag:"head"===t?"th":"td"}],Object(q.a)(e.cells.slice(r)))}}))}))}function Js(e,t){return Ks(e[t])?Ys(e,{sectionName:t,rowIndex:0,columnCount:Object(K.get)(e,["body",0,"cells","length"],1)}):Object(Z.a)({},t,[])}function Ks(e){return!e||!e.length||Object(K.every)(e,Xs)}function Xs(e){return!(e.cells&&e.cells.length)}function Qs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function eu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qs(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var tu=[{color:"#f3f4f5",name:"Subtle light gray",slug:"subtle-light-gray"},{color:"#e9fbe5",name:"Subtle pale green",slug:"subtle-pale-green"},{color:"#e7f5fe",name:"Subtle pale blue",slug:"subtle-pale-blue"},{color:"#fcf0ef",name:"Subtle pale pink",slug:"subtle-pale-pink"}],ru=[{icon:Ms.a,title:Object(X.__)("Align column left"),align:"left"},{icon:Rs.a,title:Object(X.__)("Align column center"),align:"center"},{icon:Vs.a,title:Object(X.__)("Align column right"),align:"right"}],nu=Object($.createCustomColorsHOC)(tu),ou={head:Object(X.__)("Header cell text"),body:Object(X.__)("Body cell text"),foot:Object(X.__)("Footer cell text")},cu={head:Object(X.__)("Header label"),foot:Object(X.__)("Footer label")};function au(e){var t=e.name,r=Object(Jt.a)(e,["name"]),n="t".concat(t);return Object(Q.createElement)(n,r)}var iu=nu("backgroundColor")((function(e){var t=e.attributes,r=e.backgroundColor,n=e.setBackgroundColor,o=e.setAttributes,c=e.insertBlocksAfter,a=e.isSelected,i=t.hasFixedLayout,l=t.caption,s=t.head,u=t.foot,b=Object(Q.useState)(2),m=Object(ke.a)(b,2),d=m[0],p=m[1],g=Object(Q.useState)(2),h=Object(ke.a)(g,2),f=h[0],O=h[1],v=Object(Q.useState)(),j=Object(ke.a)(v,2),y=j[0],w=j[1];function _(e){y&&o(Zs(t,y,(function(t){return eu(eu({},t),{},{content:e})})))}function k(e){if(y){var r=y.sectionName,n=y.rowIndex+e;o(Ys(t,{sectionName:r,rowIndex:n})),w({sectionName:r,rowIndex:n,columnIndex:0,type:"cell"})}}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(y){var r=y.columnIndex,n=r+e;o($s(t,{columnIndex:n})),w({rowIndex:0,columnIndex:n,type:"cell"})}}Object(Q.useEffect)((function(){a||w()}),[a]);var C=["head","body","foot"].filter((function(e){return!Ks(t[e])})),x=[{icon:As,title:Object(X.__)("Insert row before"),isDisabled:!y,onClick:function(){k(0)}},{icon:Hs,title:Object(X.__)("Insert row after"),isDisabled:!y,onClick:function(){k(1)}},{icon:Ls,title:Object(X.__)("Delete row"),isDisabled:!y,onClick:function(){if(y){var e=y.sectionName,r=y.rowIndex;w(),o(function(e,t){var r=t.sectionName,n=t.rowIndex;return Object(Z.a)({},r,e[r].filter((function(e,t){return t!==n})))}(t,{sectionName:e,rowIndex:r}))}}},{icon:Is,title:Object(X.__)("Insert column before"),isDisabled:!y,onClick:function(){E(0)}},{icon:Ds,title:Object(X.__)("Insert column after"),isDisabled:!y,onClick:function(){E(1)}},{icon:Fs,title:Object(X.__)("Delete column"),isDisabled:!y,onClick:function(){if(y){var e=y.sectionName,r=y.columnIndex;w(),o(function(e,t){var r=t.columnIndex,n=Object(K.pick)(e,["head","body","foot"]);return Object(K.mapValues)(n,(function(e){return Ks(e)?e:e.map((function(e){return{cells:e.cells.length>=r?e.cells.filter((function(e,t){return t!==r})):e.cells}})).filter((function(e){return e.cells.length}))}))}(t,{sectionName:e,columnIndex:r}))}}}],S=["head","body","foot"].map((function(e){return Object(Q.createElement)(au,{name:e,key:e},t[e].map((function(t,r){var n=t.cells;return Object(Q.createElement)("tr",{key:r},n.map((function(t,n){var o=t.content,c=t.tag,a=t.scope,i=t.align;return Object(Q.createElement)($.RichText,{tagName:c,key:n,className:ne()(Object(Z.a)({},"has-text-align-".concat(i),i),"wp-block-table__cell-content"),scope:"th"===c?a:void 0,value:o,onChange:_,unstableOnFocus:function(){w({sectionName:e,rowIndex:r,columnIndex:n,type:"cell"})},"aria-label":ou[e],placeholder:cu[e]})})))})))})),P=!C.length;return Object(Q.createElement)("figure",Object($.useBlockProps)(),!P&&Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)(be.ToolbarGroup,null,Object(Q.createElement)(be.ToolbarItem,null,(function(e){return Object(Q.createElement)(be.DropdownMenu,{hasArrowIndicator:!0,icon:Us,toggleProps:e,label:Object(X.__)("Edit table"),controls:x})}))),Object(Q.createElement)($.AlignmentToolbar,{label:Object(X.__)("Change column alignment"),alignmentControls:ru,value:function(){var e,r,n,o,c,a;if(y)return e=t,n="align",o=(r=y).sectionName,c=r.rowIndex,a=r.columnIndex,Object(K.get)(e,[o,c,"cells",a,n])}(),onChange:function(e){return function(e){if(y){var r={type:"column",columnIndex:y.columnIndex},n=Zs(t,r,(function(t){return eu(eu({},t),{},{align:e})}));o(n)}}(e)}})),!P&&Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Table settings"),className:"blocks-table-settings"},Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Fixed width table cells"),checked:!!i,onChange:function(){o({hasFixedLayout:!i})}}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Header section"),checked:!(!s||!s.length),onChange:function(){o(Js(t,"head"))}}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Footer section"),checked:!(!u||!u.length),onChange:function(){o(Js(t,"foot"))}})),Object(Q.createElement)($.PanelColorSettings,{title:Object(X.__)("Color settings"),initialOpen:!1,colorSettings:[{value:r.color,onChange:n,label:Object(X.__)("Background color"),disableCustomColors:!0,colors:tu}]})),!P&&Object(Q.createElement)("table",{className:ne()(r.class,{"has-fixed-layout":i,"has-background":!!r.color})},S),!P&&Object(Q.createElement)($.RichText,{tagName:"figcaption","aria-label":Object(X.__)("Table caption text"),placeholder:Object(X.__)("Add caption"),value:l,onChange:function(e){return o({caption:e})},unstableOnFocus:function(){return w()},__unstableOnSplitAtEnd:function(){return c(Object(J.createBlock)("core/paragraph"))}}),P&&Object(Q.createElement)(be.Placeholder,{label:Object(X.__)("Table"),icon:Object(Q.createElement)($.BlockIcon,{icon:Ts,showColors:!0}),instructions:Object(X.__)("Insert a table for sharing data.")},Object(Q.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:function(e){var t,r,n;e.preventDefault(),o((t={rowCount:parseInt(d,10)||2,columnCount:parseInt(f,10)||2},r=t.rowCount,n=t.columnCount,{body:Object(K.times)(r,(function(){return{cells:Object(K.times)(n,(function(){return{content:"",tag:"td"}}))}}))}))}},Object(Q.createElement)(be.TextControl,{type:"number",label:Object(X.__)("Column count"),value:f,onChange:function(e){O(e)},min:"1",className:"blocks-table__placeholder-input"}),Object(Q.createElement)(be.TextControl,{type:"number",label:Object(X.__)("Row count"),value:d,onChange:function(e){p(e)},min:"1",className:"blocks-table__placeholder-input"}),Object(Q.createElement)(be.Button,{className:"blocks-table__placeholder-button",isPrimary:!0,type:"submit"},Object(X.__)("Create Table")))))}));var lu=function(e){var t=e.phrasingContentSchema;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:t,attributes:["scope"]},td:{allowEmpty:!0,children:t}}}}},su={from:[{type:"raw",selector:"table",schema:function(e){return{table:{children:{thead:{allowEmpty:!0,children:lu(e)},tfoot:{allowEmpty:!0,children:lu(e)},tbody:{allowEmpty:!0,children:lu(e)}}}}}}]},uu={apiVersion:2,name:"core/table",category:"text",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{anchor:!0,align:!0,__experimentalSelector:".wp-block-table > table"},editorStyle:"wp-block-table-editor",style:"wp-block-table"},bu=uu.name,mu={title:Object(X._x)("Table","block title"),description:Object(X.__)("Insert a table — perfect for sharing charts and data."),icon:Ts,example:{attributes:{head:[{cells:[{content:Object(X.__)("Version"),tag:"th"},{content:Object(X.__)("Jazz Musician"),tag:"th"},{content:Object(X.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(X.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(X.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(X.__)("December 6, 2018"),tag:"td"}]}]}},styles:[{name:"regular",label:Object(X._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(X.__)("Stripes")}],transforms:su,edit:iu,save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,o=t.body,c=t.foot,a=t.backgroundColor,i=t.caption;if(!n.length&&!o.length&&!c.length)return null;var l=Object($.getColorClassName)("background-color",a),s=ne()(l,{"has-fixed-layout":r,"has-background":!!l}),u=!$.RichText.isEmpty(i),b=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(Q.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(Q.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,o=e.scope,c=e.align,a=ne()(Object(Z.a)({},"has-text-align-".concat(c),c));return Object(Q.createElement)($.RichText.Content,{className:a||void 0,"data-align":c,tagName:n,value:r,key:t,scope:"th"===n?o:void 0})})))})))};return Object(Q.createElement)("figure",$.useBlockProps.save(),Object(Q.createElement)("table",{className:""===s?void 0:s},Object(Q.createElement)(b,{type:"head",rows:n}),Object(Q.createElement)(b,{type:"body",rows:o}),Object(Q.createElement)(b,{type:"foot",rows:c})),u&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",value:i}))},deprecated:Ns},du=r(35),pu=r.n(du);var gu={to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,r=e.columns,n=e.content,o=e.width;return Object(J.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:t,columns:r},n.map((function(e){var t=e.children;return Object(J.createBlock)("core/column",{},[Object(J.createBlock)("core/paragraph",{content:t})])})))}}]},hu={apiVersion:2,name:"core/text-columns",icon:"columns",category:"design",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},supports:{inserter:!1},editorStyle:"wp-block-text-columns-editor",style:"wp-block-text-columns"},fu=hu.name,Ou={title:Object(X._x)("Text Columns (deprecated)","block title"),description:Object(X.__)("This block is deprecated. Please use the Columns block instead."),transforms:gu,getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.width,o=t.content,c=t.columns;return pu()("The Text Columns block",{since:"5.3",alternative:"the Columns block"}),Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)($.BlockAlignmentToolbar,{value:n,onChange:function(e){return r({width:e})},controls:["center","wide","full"]})),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,null,Object(Q.createElement)(be.RangeControl,{label:Object(X.__)("Columns"),value:c,onChange:function(e){return r({columns:e})},min:2,max:4,required:!0}))),Object(Q.createElement)("div",Object($.useBlockProps)({className:"align".concat(n," columns-").concat(c)}),Object(K.times)(c,(function(e){return Object(Q.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(Q.createElement)($.RichText,{tagName:"p",value:Object(K.get)(o,[e,"children"]),onChange:function(t){r({content:[].concat(Object(q.a)(o.slice(0,e)),[{children:t}],Object(q.a)(o.slice(e+1)))})},"aria-label":Object(X.sprintf)(Object(X.__)("Column %d text"),e+1),placeholder:Object(X.__)("New Column")}))}))))},save:function(e){var t=e.attributes,r=t.width,n=t.content,o=t.columns;return Object(Q.createElement)("div",$.useBlockProps.save({className:"align".concat(r," columns-").concat(o)}),Object(K.times)(o,(function(e){return Object(Q.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(Q.createElement)($.RichText.Content,{tagName:"p",value:Object(K.get)(n,[e,"children"])}))})))}},vu=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})),ju=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content;return Object(Q.createElement)($.RichText.Content,{tagName:"pre",style:{textAlign:r},value:n})}}];var yu={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(J.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(J.createBlock)("core/paragraph",e)}}]},wu={apiVersion:2,name:"core/verse",category:"text",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0},textAlign:{type:"string"}},supports:{anchor:!0,__experimentalFontFamily:!0,fontSize:!0,spacing:{padding:!0}},style:"wp-block-verse",editorStyle:"wp-block-verse-editor"},_u=wu.name,ku={title:Object(X._x)("Verse","block title"),description:Object(X.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:vu,example:{attributes:{content:Object(X.__)("WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.")}},keywords:[Object(X.__)("poetry"),Object(X.__)("poem")],transforms:yu,deprecated:ju,merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.mergeBlocks,o=e.onRemove,c=t.textAlign,a=t.content,i=Object($.useBlockProps)({className:ne()(Object(Z.a)({},"has-text-align-".concat(c),c))});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)($.AlignmentToolbar,{value:c,onChange:function(e){r({textAlign:e})}})),Object(Q.createElement)($.RichText,Object(ue.a)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:a,onChange:function(e){r({content:e})},"aria-label":Object(X.__)("Verse text"),placeholder:Object(X.__)("Write verse…"),onRemove:o,onMerge:n,textAlign:c},i,{__unstablePastePlainText:!0})))},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content,o=ne()(Object(Z.a)({},"has-text-align-".concat(r),r));return Object(Q.createElement)("pre",$.useBlockProps.save({className:o}),Object(Q.createElement)($.RichText.Content,{value:n}))}},Eu=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})),Cu=[{value:"auto",label:Object(X.__)("Auto")},{value:"metadata",label:Object(X.__)("Metadata")},{value:"none",label:Object(X.__)("None")}],xu=function(e){var t=e.setAttributes,r=e.attributes,n=r.autoplay,o=r.controls,c=r.loop,a=r.muted,i=r.playsInline,l=r.preload,s=Object(Q.useCallback)((function(e){return e?Object(X.__)("Note: Autoplaying videos may cause usability issues for some visitors."):null}),[]),u=Object(Q.useMemo)((function(){var e=function(e){return function(r){t(Object(Z.a)({},e,r))}};return{autoplay:e("autoplay"),loop:e("loop"),muted:e("muted"),controls:e("controls"),playsInline:e("playsInline")}}),[]),b=Object(Q.useCallback)((function(e){t({preload:e})}),[]);return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Autoplay"),onChange:u.autoplay,checked:n,help:s}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Loop"),onChange:u.loop,checked:c}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Muted"),onChange:u.muted,checked:a}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Playback controls"),onChange:u.controls,checked:o}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Play inline"),onChange:u.playsInline,checked:i}),Object(Q.createElement)(be.SelectControl,{label:Object(X.__)("Preload"),value:l,onChange:b,options:Cu,hideCancelButton:!0}))};var Su=r(309);function Pu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pu(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var zu=["text/vtt"],Tu=[{label:Object(X.__)("Subtitles"),value:"subtitles"},{label:Object(X.__)("Captions"),value:"captions"},{label:Object(X.__)("Descriptions"),value:"descriptions"},{label:Object(X.__)("Chapters"),value:"chapters"},{label:Object(X.__)("Metadata"),value:"metadata"}],Nu=Object(Q.createElement)(be.SVG,{width:"18",height:"14",viewBox:"0 0 18 14",role:"img",fill:"none"},Object(Q.createElement)(be.Rect,{x:"0.75",y:"0.75",width:"16.5",height:"12.5",rx:"1.25",stroke:"black",strokeWidth:"1.5",fill:"none"}),Object(Q.createElement)(be.Path,{d:"M3 7H15",stroke:"black",strokeWidth:"1.5"}),Object(Q.createElement)(be.Path,{d:"M3 10L15 10",stroke:"black",strokeWidth:"1.5"}));function Mu(e){var t,r=e.tracks,n=e.onEditPress;return t=0===r.length?Object(Q.createElement)("p",{className:"block-library-video-tracks-editor__tracks-informative-message"},Object(X.__)("Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.")):r.map((function(e,t){return Object(Q.createElement)("div",{key:t,className:"block-library-video-tracks-editor__track-list-track"},Object(Q.createElement)("span",null,e.label," "),Object(Q.createElement)(be.Button,{isTertiary:!0,onClick:function(){return n(t)},"aria-label":Object(X.sprintf)(Object(X.__)("Edit %s"),e.label)},Object(X.__)("Edit")))})),Object(Q.createElement)(be.MenuGroup,{label:Object(X.__)("Text tracks"),className:"block-library-video-tracks-editor__track-list"},t)}function Ru(e){var t=e.track,r=e.onChange,n=e.onClose,o=e.onRemove,c=t.src,a=void 0===c?"":c,i=t.label,l=void 0===i?"":i,s=t.srcLang,u=void 0===s?"":s,b=t.kind,m=void 0===b?"subtitles":b,d=a.startsWith("blob:")?"":a.substring(a.lastIndexOf("/")+1);return Object(Q.createElement)(be.NavigableMenu,null,Object(Q.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor"},Object(Q.createElement)("span",{className:"block-library-video-tracks-editor__single-track-editor-edit-track-label"},Object(X.__)("Edit track")),Object(Q.createElement)("span",null,Object(X.__)("File"),": ",Object(Q.createElement)("b",null,d)),Object(Q.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor-label-language"},Object(Q.createElement)(be.TextControl,{autoFocus:!0,onChange:function(e){return r(Bu(Bu({},t),{},{label:e}))},label:Object(X.__)("Label"),value:l,help:Object(X.__)("Title of track")}),Object(Q.createElement)(be.TextControl,{onChange:function(e){return r(Bu(Bu({},t),{},{srcLang:e}))},label:Object(X.__)("Source language"),value:u,help:Object(X.__)("Language tag (en, fr, etc.)")})),Object(Q.createElement)(be.SelectControl,{className:"block-library-video-tracks-editor__single-track-editor-kind-select",options:Tu,value:m,label:Object(X.__)("Kind"),onChange:function(e){r(Bu(Bu({},t),{},{kind:e}))}}),Object(Q.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor-buttons-container"},Object(Q.createElement)(be.Button,{isSecondary:!0,onClick:function(){var e={},o=!1;""===l&&(e.label=Object(X.__)("English"),o=!0),""===u&&(e.srcLang="en",o=!0),void 0===t.kind&&(e.kind="subtitles",o=!0),o&&r(Bu(Bu({},t),e)),n()}},Object(X.__)("Close")),Object(Q.createElement)(be.Button,{isDestructive:!0,isLink:!0,onClick:o},Object(X.__)("Remove track")))))}function Vu(e){var t=e.tracks,r=void 0===t?[]:t,n=e.onChange,o=Object(Ce.useSelect)((function(e){return e($.store).getSettings().mediaUpload}),[]),c=Object(Q.useState)(null),a=Object(ke.a)(c,2),i=a[0],l=a[1];return o?Object(Q.createElement)(be.Dropdown,{contentClassName:"block-library-video-tracks-editor",renderToggle:function(e){var t=e.isOpen,r=e.onToggle;return Object(Q.createElement)(be.ToolbarButton,{label:Object(X.__)("Text tracks"),showTooltip:!0,"aria-expanded":t,"aria-haspopup":"true",onClick:r,icon:Nu})},renderContent:function(e){return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e),null!==i?Object(Q.createElement)(Ru,{track:r[i],onChange:function(e){var t=Object(q.a)(r);t[i]=e,n(t)},onClose:function(){return l(null)},onRemove:function(){n(r.filter((function(e,t){return t!==i}))),l(null)}}):Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(be.NavigableMenu,null,Object(Q.createElement)(Mu,{tracks:r,onEditPress:l}),Object(Q.createElement)(be.MenuGroup,{className:"block-library-video-tracks-editor__add-tracks-container",label:Object(X.__)("Add tracks")},Object(Q.createElement)($.MediaUpload,{onSelect:function(e){var t=e.url,o=r.length;n([].concat(Object(q.a)(r),[{src:t}])),l(o)},allowedTypes:zu,render:function(e){var t=e.open;return Object(Q.createElement)(be.MenuItem,{icon:Su.a,onClick:t},Object(X.__)("Open Media Library"))}}),Object(Q.createElement)($.MediaUploadCheck,null,Object(Q.createElement)(be.FormFileUpload,{onChange:function(e){var t=e.target.files,c=r.length;o({allowedTypes:zu,filesList:t,onFileChange:function(e){var t=Object(ke.a)(e,1)[0].url,o=Object(q.a)(r);o[c]||(o[c]={}),o[c]=Bu(Bu({},r[c]),{},{src:t}),n(o),l(c)}})},accept:".vtt,text/vtt",render:function(e){var t=e.openFileDialog;return Object(Q.createElement)(be.MenuItem,{icon:Be.a,onClick:function(){t()}},Object(X.__)("Upload"))}})))))}}):null}function Au(e){var t=e.tracks;return(void 0===t?[]:t).map((function(e){return Object(Q.createElement)("track",Object(ue.a)({key:e.src},e))}))}var Hu=["video"],Lu=["image"];var Iu=Object(be.withNotices)((function e(t){var r=t.isSelected,n=t.noticeUI,o=t.attributes,c=t.setAttributes,a=t.insertBlocksAfter,i=t.onReplace,l=t.noticeOperations,s=Object(xe.useInstanceId)(e),u=Object(Q.useRef)(),b=Object(Q.useRef)(),m=o.id,d=o.caption,p=o.controls,g=o.poster,h=o.src,f=o.tracks,O=Object(Ce.useSelect)((function(e){return e($.store).getSettings().mediaUpload}));function v(e){e&&e.url?c({src:e.url,id:e.id}):c({src:void 0,id:void 0})}function j(e){if(e!==h){var t=Fe({attributes:{url:e}});if(void 0!==t)return void i(t);c({src:e,id:void 0})}}function y(e){l.removeAllNotices(),l.createErrorNotice(e)}Object(Q.useEffect)((function(){if(!m&&Object(Ee.isBlobURL)(h)){var e=Object(Ee.getBlobByURL)(h);e&&O({filesList:[e],onFileChange:function(e){var t=Object(ke.a)(e,1)[0].url;c({src:t})},onError:function(e){l.createErrorNotice(e)},allowedTypes:Hu})}}),[]),Object(Q.useEffect)((function(){u.current&&u.current.load()}),[g]);var w=Object($.useBlockProps)();if(!h)return Object(Q.createElement)("div",w,Object(Q.createElement)($.MediaPlaceholder,{icon:Object(Q.createElement)($.BlockIcon,{icon:Eu}),onSelect:v,onSelectURL:j,accept:"video/*",allowedTypes:Hu,value:o,notices:n,onError:y}));var _="video-block__poster-image-description-".concat(s);return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,{group:"block"},Object(Q.createElement)(Vu,{tracks:f,onChange:function(e){c({tracks:e})}})),Object(Q.createElement)($.BlockControls,{group:"other"},Object(Q.createElement)($.MediaReplaceFlow,{mediaId:m,mediaURL:h,allowedTypes:Hu,accept:"video/*",onSelect:v,onSelectURL:j,onError:y})),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Video settings")},Object(Q.createElement)(xu,{setAttributes:c,attributes:o}),Object(Q.createElement)($.MediaUploadCheck,null,Object(Q.createElement)(be.BaseControl,{className:"editor-video-poster-control"},Object(Q.createElement)(be.BaseControl.VisualLabel,null,Object(X.__)("Poster image")),Object(Q.createElement)($.MediaUpload,{title:Object(X.__)("Select poster image"),onSelect:function(e){c({poster:e.url})},allowedTypes:Lu,render:function(e){var t=e.open;return Object(Q.createElement)(be.Button,{isPrimary:!0,onClick:t,ref:b,"aria-describedby":_},g?Object(X.__)("Replace"):Object(X.__)("Select"))}}),Object(Q.createElement)("p",{id:_,hidden:!0},g?Object(X.sprintf)(Object(X.__)("The current poster image url is %s"),g):Object(X.__)("There is no poster image currently selected")),!!g&&Object(Q.createElement)(be.Button,{onClick:function(){c({poster:""}),this.posterImageButton.current.focus()},isTertiary:!0},Object(X.__)("Remove")))))),Object(Q.createElement)("figure",w,Object(Q.createElement)(be.Disabled,null,Object(Q.createElement)("video",{controls:p,poster:g,src:h,ref:u},Object(Q.createElement)(Au,{tracks:f}))),(!$.RichText.isEmpty(d)||r)&&Object(Q.createElement)($.RichText,{tagName:"figcaption","aria-label":Object(X.__)("Video caption text"),placeholder:Object(X.__)("Add caption"),value:d,onChange:function(e){return c({caption:e})},inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return a(Object(J.createBlock)("core/paragraph"))}})))}));var Du={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("video/")},transform:function(e){var t=e[0];return Object(J.createBlock)("core/video",{src:Object(Ee.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:function(e){var t=e.named,r=t.src,n=t.mp4,o=t.m4v,c=t.webm,a=t.ogv,i=t.flv;return r||n||o||c||a||i}},poster:{type:"string",shortcode:function(e){return e.named.poster}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},Fu={apiVersion:2,name:"core/video",category:"media",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},playsInline:{type:"boolean",source:"attribute",selector:"video",attribute:"playsinline"},tracks:{type:"array",items:{type:"object"},default:[]}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-video-editor",style:"wp-block-video"},Uu=Fu.name,Gu={title:Object(X._x)("Video","block title"),description:Object(X.__)("Embed a video from your media library or upload a new one."),icon:Eu,keywords:[Object(X.__)("movie")],example:{attributes:{src:"https://upload.wikimedia.org/wikipedia/commons/c/ca/Wood_thrush_in_Central_Park_switch_sides_%2816510%29.webm",caption:Object(X.__)("Wood thrush singing in Central Park, NYC.")}},transforms:Du,edit:Iu,save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,o=t.controls,c=t.loop,a=t.muted,i=t.poster,l=t.preload,s=t.src,u=t.playsInline,b=t.tracks;return Object(Q.createElement)("figure",$.useBlockProps.save(),s&&Object(Q.createElement)("video",{autoPlay:r,controls:o,loop:c,muted:a,poster:i,preload:"metadata"!==l?l:void 0,src:s,playsInline:u},Object(Q.createElement)(Au,{tracks:b})),!$.RichText.isEmpty(n)&&Object(Q.createElement)($.RichText.Content,{tagName:"figcaption",value:n}))}},Wu=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M20.1 11.2l-6.7-6.7c-.1-.1-.3-.2-.5-.2H5c-.4-.1-.8.3-.8.7v7.8c0 .2.1.4.2.5l6.7 6.7c.2.2.5.4.7.5s.6.2.9.2c.3 0 .6-.1.9-.2.3-.1.5-.3.8-.5l5.6-5.6c.4-.4.7-1 .7-1.6.1-.6-.2-1.2-.6-1.6zM19 13.4L13.4 19c-.1.1-.2.1-.3.2-.2.1-.4.1-.6 0-.1 0-.2-.1-.3-.2l-6.5-6.5V5.8h6.8l6.5 6.5c.2.2.2.4.2.6 0 .1 0 .3-.2.5zM9 8c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1z"}));var qu=Object(Ce.withSelect)((function(e){return{taxonomies:e(Y.store).getTaxonomies({per_page:-1})}}))((function(e){var t,r,n=e.attributes,o=e.setAttributes,c=e.taxonomies,a=n.taxonomy,i=n.showTagCounts,l=Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Tag Cloud settings")},Object(Q.createElement)(be.SelectControl,{label:Object(X.__)("Taxonomy"),options:(t={label:Object(X.__)("- Select -"),value:"",disabled:!0},r=Object(K.map)(Object(K.filter)(c,"show_cloud"),(function(e){return{value:e.slug,label:e.name}})),[t].concat(Object(q.a)(r))),value:a,onChange:function(e){return o({taxonomy:e})}}),Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Show post counts"),checked:i,onChange:function(){return o({showTagCounts:!i})}})));return Object(Q.createElement)(Q.Fragment,null,l,Object(Q.createElement)("div",Object($.useBlockProps)(),Object(Q.createElement)(fn.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:n})))})),Zu={apiVersion:2,name:"core/tag-cloud",category:"widgets",attributes:{taxonomy:{type:"string",default:"post_tag"},showTagCounts:{type:"boolean",default:!1}},supports:{html:!1,align:!0},editorStyle:"wp-block-tag-cloud-editor"},Yu=Zu.name,$u={title:Object(X._x)("Tag Cloud","block title"),description:Object(X.__)("A cloud of your most used tags."),icon:Wu,example:{},edit:qu},Ju=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z"})),Ku=function(e){var t=e.clientId,r=Object(Ce.useDispatch)($.store).replaceBlocks,n=Object(Ce.useSelect)((function(e){return e($.store).getBlock(t)}),[t]);return Object(Q.createElement)(be.ToolbarButton,{onClick:function(){return r(n.clientId,Object(J.rawHandler)({HTML:Object(J.serialize)(n)}))}},Object(X.__)("Convert to blocks"))};function Xu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xu(Object(r),!0).forEach((function(t){Object(Z.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var eb=window.wp;var tb={apiVersion:2,name:"core/freeform",category:"text",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,reusable:!1},editorStyle:"wp-block-freeform-editor"},rb=tb.name,nb={title:Object(X._x)("Classic","block title"),description:Object(X.__)("Use the classic WordPress editor."),icon:Ju,edit:function(e){var t=e.clientId,r=e.attributes.content,n=e.setAttributes,o=e.onReplace,c=Object(Q.useRef)(!1);return Object(Q.useEffect)((function(){if(c.current){var e=window.tinymce.get("editor-".concat(t));(null==e?void 0:e.getContent())!==r&&e.setContent(r||"")}}),[r]),Object(Q.useEffect)((function(){var e=window.wpEditorL10n.tinymce,a=e.baseURL,i=e.suffix;function l(e){var t;r&&e.on("loadContent",(function(){return e.setContent(r)})),e.on("blur",(function(){t=e.selection.getBookmark(2,!0);var r=document.querySelector(".interface-interface-skeleton__content"),o=r.scrollTop;return n({content:e.getContent()}),e.once("focus",(function(){t&&(e.selection.moveToBookmark(t),r.scrollTop!==o&&(r.scrollTop=o))})),!1})),e.on("mousedown touchstart",(function(){t=null}));var c=Object(K.debounce)((function(){var t=e.getContent();t!==e._lastChange&&(e._lastChange=t,n({content:t}))}),250);e.on("Paste Change input Undo Redo",c),e.on("remove",c.cancel),e.on("keydown",(function(t){cr.isKeyboardEvent.primary(t,"z")&&t.stopPropagation(),t.keyCode!==cr.BACKSPACE&&t.keyCode!==cr.DELETE||!function(e){var t=e.getBody();return!(t.childNodes.length>1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(o([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===cr.F10&&t.stopPropagation()})),e.on("init",(function(){var t=e.getBody();t.ownerDocument.activeElement===t&&(t.blur(),e.focus())}))}function s(){var e=window.wpEditorL10n.tinymce.settings;eb.oldEditor.initialize("editor-".concat(t),{tinymce:Qu(Qu({},e),{},{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-".concat(t),setup:l})})}function u(){"complete"===document.readyState&&s()}return c.current=!0,window.tinymce.EditorManager.overrideDefaults({base_url:a,suffix:i}),"complete"===document.readyState?s():document.addEventListener("readystatechange",u),function(){document.removeEventListener("readystatechange",u),eb.oldEditor.remove("editor-".concat(t))}}),[]),Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)(be.ToolbarGroup,null,Object(Q.createElement)(Ku,{clientId:t}))),Object(Q.createElement)("div",Object($.useBlockProps)(),Object(Q.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),className:"block-library-classic__toolbar",onClick:function(){var e=window.tinymce.get("editor-".concat(t));e&&e.focus()},"data-placeholder":Object(X.__)("Classic"),onKeyDown:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}}),Object(Q.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})))},save:function(e){var t=e.attributes.content;return Object(Q.createElement)(Q.RawHTML,null,t)}},ob=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"})),cb=[{attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},providesContext:{openInNewTab:"openInNewTab"},supports:{align:["left","center","right"],anchor:!0},save:function(e){var t=e.attributes,r=t.iconBackgroundColorValue,n=t.iconColorValue,o=t.itemsJustification,c=t.size,a=ne()(c,Object(Z.a)({"has-icon-color":n,"has-icon-background-color":r},"items-justified-".concat(o),o)),i={"--wp--social-links--icon-color":n,"--wp--social-links--icon-background-color":r};return Object(Q.createElement)("ul",$.useBlockProps.save({className:a,style:i}),Object(Q.createElement)($.InnerBlocks.Content,null))}}],ab=["core/social-link"],ib=[{name:Object(X.__)("Small"),value:"has-small-icon-size"},{name:Object(X.__)("Normal"),value:"has-normal-icon-size"},{name:Object(X.__)("Large"),value:"has-large-icon-size"},{name:Object(X.__)("Huge"),value:"has-huge-icon-size"}];var lb=Object($.withColors)({iconColor:"icon-color",iconBackgroundColor:"icon-background-color"})((function(e){var t,r=e.attributes,n=e.iconBackgroundColor,o=e.iconColor,c=e.setAttributes,a=e.setIconBackgroundColor,i=e.setIconColor,l=r.iconBackgroundColorValue,s=r.iconColorValue,u=r.itemsJustification,b=r.openInNewTab,m=r.size,d=(null===(t=r.className)||void 0===t?void 0:t.indexOf("is-style-logos-only"))>=0;Object(Q.useEffect)((function(){d&&c({iconBackgroundColor:void 0,customIconBackgroundColor:void 0,iconBackgroundColorValue:void 0})}),[d,c]);var p=Object(Q.createElement)("div",{className:"wp-block-social-links__social-placeholder"},Object(Q.createElement)("div",{className:"wp-social-link"}),Object(Q.createElement)("div",{className:"wp-block-social-links__social-placeholder-icons"},Object(Q.createElement)("div",{className:"wp-social-link wp-social-link-twitter"}),Object(Q.createElement)("div",{className:"wp-social-link wp-social-link-facebook"}),Object(Q.createElement)("div",{className:"wp-social-link wp-social-link-instagram"}))),g=ne()(m,Object(Z.a)({"has-icon-color":o.color||s,"has-icon-background-color":n.color||l},"items-justified-".concat(u),u)),h=Object($.useBlockProps)({className:g}),f=Object($.__experimentalUseInnerBlocksProps)(h,{allowedBlocks:ab,orientation:"horizontal",placeholder:p,templateLock:!1,__experimentalAppenderTagName:"li"}),O={position:"bottom right",isAlternate:!0};return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.BlockControls,null,Object(Q.createElement)($.JustifyToolbar,{allowedControls:["left","center","right","space-between"],value:u,onChange:function(e){return c({itemsJustification:e})},popoverProps:{position:"bottom right",isAlternate:!0}}),Object(Q.createElement)(be.ToolbarGroup,null,Object(Q.createElement)(be.ToolbarItem,null,(function(e){return Object(Q.createElement)(be.DropdownMenu,{label:Object(X.__)("Size"),text:Object(X.__)("Size"),icon:null,popoverProps:O,toggleProps:e},(function(e){var t=e.onClose;return Object(Q.createElement)(be.MenuGroup,null,ib.map((function(e){return Object(Q.createElement)(be.MenuItem,{icon:(m===e.value||!m&&"has-normal-icon-size"===e.value)&&Et.a,isSelected:m===e.value,key:e.value,onClick:function(){c({size:e.value})},onClose:t,role:"menuitemradio"},e.name)})))}))})))),Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.__)("Link settings")},Object(Q.createElement)(be.ToggleControl,{label:Object(X.__)("Open links in new tab"),checked:b,onChange:function(){return c({openInNewTab:!b})}})),Object(Q.createElement)($.PanelColorSettings,{title:Object(X.__)("Color settings"),colorSettings:[{value:o.color||s,onChange:function(e){i(e),c({iconColorValue:e})},label:Object(X.__)("Icon color")},!d&&{value:n.color||l,onChange:function(e){a(e),c({iconBackgroundColorValue:e})},label:Object(X.__)("Icon background color")}]}),!d&&Object(Q.createElement)($.ContrastChecker,{textColor:s,backgroundColor:l,isLargeText:!1})),Object(Q.createElement)("ul",f))}));var sb={apiVersion:2,name:"core/social-links",category:"widgets",attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},providesContext:{openInNewTab:"openInNewTab",iconColorValue:"iconColorValue",iconBackgroundColorValue:"iconBackgroundColorValue"},supports:{align:["left","center","right"],anchor:!0},editorStyle:"wp-block-social-links-editor",style:"wp-block-social-links"},ub=sb.name,bb={title:Object(X._x)("Social Icons","block title"),description:Object(X.__)("Display icons linking to your social media profiles or websites."),keywords:[Object(X._x)("links","block keywords")],example:{innerBlocks:[{name:"core/social-link",attributes:{service:"wordpress",url:"https://wordpress.org"}},{name:"core/social-link",attributes:{service:"facebook",url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link",attributes:{service:"twitter",url:"https://twitter.com/WordPress"}}]},styles:[{name:"default",label:Object(X.__)("Default"),isDefault:!0},{name:"logos-only",label:Object(X.__)("Logos Only")},{name:"pill-shape",label:Object(X.__)("Pill Shape")}],icon:ob,edit:lb,save:function(e){var t=e.attributes,r=t.iconBackgroundColorValue,n=t.iconColorValue,o=t.itemsJustification,c=t.size,a=ne()(c,Object(Z.a)({"has-icon-color":n,"has-icon-background-color":r},"items-justified-".concat(o),o));return Object(Q.createElement)("ul",$.useBlockProps.save({className:a}),Object(Q.createElement)($.InnerBlocks.Content,null))},deprecated:cb},mb=r(218),db=function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M19.647,16.706a1.134,1.134,0,0,0-.343-.833l-2.549-2.549a1.134,1.134,0,0,0-.833-.343,1.168,1.168,0,0,0-.883.392l.233.226q.2.189.264.264a2.922,2.922,0,0,1,.184.233.986.986,0,0,1,.159.312,1.242,1.242,0,0,1,.043.337,1.172,1.172,0,0,1-1.176,1.176,1.237,1.237,0,0,1-.337-.043,1,1,0,0,1-.312-.159,2.76,2.76,0,0,1-.233-.184q-.073-.068-.264-.264l-.226-.233a1.19,1.19,0,0,0-.4.895,1.134,1.134,0,0,0,.343.833L15.837,19.3a1.13,1.13,0,0,0,.833.331,1.18,1.18,0,0,0,.833-.318l1.8-1.789a1.12,1.12,0,0,0,.343-.821Zm-8.615-8.64a1.134,1.134,0,0,0-.343-.833L8.163,4.7a1.134,1.134,0,0,0-.833-.343,1.184,1.184,0,0,0-.833.331L4.7,6.473a1.12,1.12,0,0,0-.343.821,1.134,1.134,0,0,0,.343.833l2.549,2.549a1.13,1.13,0,0,0,.833.331,1.184,1.184,0,0,0,.883-.38L8.728,10.4q-.2-.189-.264-.264A2.922,2.922,0,0,1,8.28,9.9a.986.986,0,0,1-.159-.312,1.242,1.242,0,0,1-.043-.337A1.172,1.172,0,0,1,9.254,8.079a1.237,1.237,0,0,1,.337.043,1,1,0,0,1,.312.159,2.761,2.761,0,0,1,.233.184q.073.068.264.264l.226.233a1.19,1.19,0,0,0,.4-.895ZM22,16.706a3.343,3.343,0,0,1-1.042,2.488l-1.8,1.789a3.536,3.536,0,0,1-4.988-.025l-2.525-2.537a3.384,3.384,0,0,1-1.017-2.488,3.448,3.448,0,0,1,1.078-2.561l-1.078-1.078a3.434,3.434,0,0,1-2.549,1.078,3.4,3.4,0,0,1-2.5-1.029L3.029,9.794A3.4,3.4,0,0,1,2,7.294,3.343,3.343,0,0,1,3.042,4.806l1.8-1.789A3.384,3.384,0,0,1,7.331,2a3.357,3.357,0,0,1,2.5,1.042l2.525,2.537a3.384,3.384,0,0,1,1.017,2.488,3.448,3.448,0,0,1-1.078,2.561l1.078,1.078a3.551,3.551,0,0,1,5.049-.049l2.549,2.549A3.4,3.4,0,0,1,22,16.706Z"}))},pb=[{isDefault:!0,name:"wordpress",attributes:{service:"wordpress"},title:"WordPress",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z"}))}},{name:"fivehundredpx",attributes:{service:"fivehundredpx"},title:"500px",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z"}))}},{name:"amazon",attributes:{service:"amazon"},title:"Amazon",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z"}))}},{name:"bandcamp",attributes:{service:"bandcamp"},title:"Bandcamp",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289"}))}},{name:"behance",attributes:{service:"behance"},title:"Behance",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z"}))}},{name:"chain",attributes:{service:"chain"},title:"Link",icon:db},{name:"codepen",attributes:{service:"codepen"},title:"CodePen",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z"}))}},{name:"deviantart",attributes:{service:"deviantart"},title:"DeviantArt",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z"}))}},{name:"dribbble",attributes:{service:"dribbble"},title:"Dribbble",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z"}))}},{name:"dropbox",attributes:{service:"dropbox"},title:"Dropbox",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z"}))}},{name:"etsy",attributes:{service:"etsy"},title:"Etsy",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z"}))}},{name:"facebook",attributes:{service:"facebook"},title:"Facebook",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"}))}},{name:"feed",attributes:{service:"feed"},title:"RSS Feed",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z"}))}},{name:"flickr",attributes:{service:"flickr"},title:"Flickr",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z"}))}},{name:"foursquare",attributes:{service:"foursquare"},title:"Foursquare",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z"}))}},{name:"goodreads",attributes:{service:"goodreads"},title:"Goodreads",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z"}))}},{name:"google",attributes:{service:"google"},title:"Google",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.8,3.85,1.48l2.84-2.76C16.99,2.99,14.73,2,12.03,2c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.77,0,9.6-4.06,9.6-9.77 c0-0.83-0.11-1.42-0.25-2.05H12.02z"}))}},{name:"github",attributes:{service:"github"},title:"GitHub",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"}))}},{name:"instagram",attributes:{service:"instagram"},title:"Instagram",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"}))}},{name:"lastfm",attributes:{service:"lastfm"},title:"Last.fm",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M 12.0002 1.5 C 6.2006 1.5 1.5 6.2011 1.5 11.9998 C 1.5 17.799 6.2006 22.5 12.0002 22.5 C 17.799 22.5 22.5 17.799 22.5 11.9998 C 22.5 6.2011 17.799 1.5 12.0002 1.5 Z M 16.1974 16.2204 C 14.8164 16.2152 13.9346 15.587 13.3345 14.1859 L 13.1816 13.8451 L 11.8541 10.8101 C 11.4271 9.7688 10.3526 9.0712 9.1801 9.0712 C 7.5695 9.0712 6.2593 10.3851 6.2593 12.001 C 6.2593 13.6165 7.5695 14.9303 9.1801 14.9303 C 10.272 14.9303 11.2651 14.3275 11.772 13.3567 C 11.7893 13.3235 11.8239 13.302 11.863 13.3038 C 11.9007 13.3054 11.9353 13.3288 11.9504 13.3632 L 12.4865 14.6046 C 12.5016 14.639 12.4956 14.6778 12.4723 14.7069 C 11.6605 15.6995 10.4602 16.2683 9.1801 16.2683 C 6.8331 16.2683 4.9234 14.3536 4.9234 12.001 C 4.9234 9.6468 6.833 7.732 9.1801 7.732 C 10.9572 7.732 12.3909 8.6907 13.1138 10.3636 C 13.1206 10.3802 13.8412 12.0708 14.4744 13.5191 C 14.8486 14.374 15.1462 14.896 16.1288 14.9292 C 17.0663 14.9613 17.7538 14.4122 17.7538 13.6485 C 17.7538 12.9691 17.3321 12.8004 16.3803 12.4822 C 14.7365 11.9398 13.845 11.3861 13.845 10.0182 C 13.845 8.6809 14.7667 7.8162 16.192 7.8162 C 17.1288 7.8162 17.8155 8.2287 18.2921 9.0768 C 18.305 9.1006 18.3079 9.1281 18.3004 9.1542 C 18.2929 9.1803 18.2748 9.2021 18.2507 9.2138 L 17.3614 9.669 C 17.3178 9.692 17.2643 9.6781 17.2356 9.6385 C 16.9329 9.2135 16.5956 9.0251 16.1423 9.0251 C 15.5512 9.0251 15.122 9.429 15.122 9.9865 C 15.122 10.6738 15.6529 10.8414 16.5339 11.1192 C 16.6491 11.1558 16.7696 11.194 16.8939 11.2343 C 18.2763 11.6865 19.0768 12.2311 19.0768 13.6836 C 19.0769 15.1297 17.8389 16.2204 16.1974 16.2204 Z"}))}},{name:"linkedin",attributes:{service:"linkedin"},title:"LinkedIn",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"}))}},{name:"mail",attributes:{service:"mail"},title:"Mail",keywords:["email","e-mail"],icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z"}))}},{name:"mastodon",attributes:{service:"mastodon"},title:"Mastodon",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z"}))}},{name:"meetup",attributes:{service:"meetup"},title:"Meetup",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z"}))}},{name:"medium",attributes:{service:"medium"},title:"Medium",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"}))}},{name:"patreon",attributes:{service:"patreon"},title:"Patreon",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 569 546",version:"1.1"},Object(Q.createElement)(ee.Circle,{cx:"363",cy:"205",r:"205"}),Object(Q.createElement)(ee.Rect,{width:"100",height:"546",x:"0",y:"0"}))}},{name:"pinterest",attributes:{service:"pinterest"},title:"Pinterest",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"}))}},{name:"pocket",attributes:{service:"pocket"},title:"Pocket",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z"}))}},{name:"reddit",attributes:{service:"reddit"},title:"Reddit",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22,11.816c0-1.256-1.021-2.277-2.277-2.277c-0.593,0-1.122,0.24-1.526,0.614c-1.481-0.965-3.455-1.594-5.647-1.69 l1.171-3.702l3.18,0.748c0.008,1.028,0.846,1.862,1.876,1.862c1.035,0,1.877-0.842,1.877-1.878c0-1.035-0.842-1.877-1.877-1.877 c-0.769,0-1.431,0.466-1.72,1.13l-3.508-0.826c-0.203-0.047-0.399,0.067-0.46,0.261l-1.35,4.268 c-2.316,0.038-4.411,0.67-5.97,1.671C5.368,9.765,4.853,9.539,4.277,9.539C3.021,9.539,2,10.56,2,11.816 c0,0.814,0.433,1.523,1.078,1.925c-0.037,0.221-0.061,0.444-0.061,0.672c0,3.292,4.011,5.97,8.941,5.97s8.941-2.678,8.941-5.97 c0-0.214-0.02-0.424-0.053-0.632C21.533,13.39,22,12.661,22,11.816z M18.776,4.394c0.606,0,1.1,0.493,1.1,1.1s-0.493,1.1-1.1,1.1 s-1.1-0.494-1.1-1.1S18.169,4.394,18.776,4.394z M2.777,11.816c0-0.827,0.672-1.5,1.499-1.5c0.313,0,0.598,0.103,0.838,0.269 c-0.851,0.676-1.477,1.479-1.812,2.36C2.983,12.672,2.777,12.27,2.777,11.816z M11.959,19.606c-4.501,0-8.164-2.329-8.164-5.193 S7.457,9.22,11.959,9.22s8.164,2.329,8.164,5.193S16.46,19.606,11.959,19.606z M20.636,13.001c-0.326-0.89-0.948-1.701-1.797-2.384 c0.248-0.186,0.55-0.301,0.883-0.301c0.827,0,1.5,0.673,1.5,1.5C21.223,12.299,20.992,12.727,20.636,13.001z M8.996,14.704 c-0.76,0-1.397-0.616-1.397-1.376c0-0.76,0.637-1.397,1.397-1.397c0.76,0,1.376,0.637,1.376,1.397 C10.372,14.088,9.756,14.704,8.996,14.704z M16.401,13.328c0,0.76-0.616,1.376-1.376,1.376c-0.76,0-1.399-0.616-1.399-1.376 c0-0.76,0.639-1.397,1.399-1.397C15.785,11.931,16.401,12.568,16.401,13.328z M15.229,16.708c0.152,0.152,0.152,0.398,0,0.55 c-0.674,0.674-1.727,1.002-3.219,1.002c-0.004,0-0.007-0.002-0.011-0.002c-0.004,0-0.007,0.002-0.011,0.002 c-1.492,0-2.544-0.328-3.218-1.002c-0.152-0.152-0.152-0.398,0-0.55c0.152-0.152,0.399-0.151,0.55,0 c0.521,0.521,1.394,0.775,2.669,0.775c0.004,0,0.007,0.002,0.011,0.002c0.004,0,0.007-0.002,0.011-0.002 c1.275,0,2.148-0.253,2.669-0.775C14.831,16.556,15.078,16.556,15.229,16.708z"}))}},{name:"skype",attributes:{service:"skype"},title:"Skype",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"}))}},{name:"snapchat",attributes:{service:"snapchat"},title:"Snapchat",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z"}))}},{name:"soundcloud",attributes:{service:"soundcloud"},title:"SoundCloud",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M8.9,16.1L9,14L8.9,9.5c0-0.1,0-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.1L8.3,14l0.1,2.1 c0,0.1,0,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1C8.8,16.3,8.9,16.3,8.9,16.1z M11.4,15.9l0.1-1.8L11.4,9c0-0.1,0-0.2-0.1-0.2 c0,0-0.1,0-0.1,0s-0.1,0-0.1,0c-0.1,0-0.1,0.1-0.1,0.2l0,0.1l-0.1,5c0,0,0,0.7,0.1,2v0c0,0.1,0,0.1,0.1,0.1c0.1,0.1,0.1,0.1,0.2,0.1 c0.1,0,0.1,0,0.2-0.1c0.1,0,0.1-0.1,0.1-0.2L11.4,15.9z M2.4,12.9L2.5,14l-0.2,1.1c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0-0.1-0.1L2.1,14 l0.1-1.1C2.2,12.9,2.3,12.9,2.4,12.9C2.3,12.9,2.4,12.9,2.4,12.9z M3.1,12.2L3.3,14l-0.2,1.8c0,0.1,0,0.1-0.1,0.1 c-0.1,0-0.1,0-0.1-0.1L2.8,14L3,12.2C3,12.2,3,12.2,3.1,12.2C3.1,12.2,3.1,12.2,3.1,12.2z M3.9,11.9L4.1,14l-0.2,2.1 c0,0.1,0,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L3.5,14l0.2-2.1c0-0.1,0-0.1,0.1-0.1C3.9,11.8,3.9,11.8,3.9,11.9z M4.7,11.9L4.9,14 l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L4.3,14l0.2-2.2c0-0.1,0-0.1,0.1-0.1C4.7,11.7,4.7,11.8,4.7,11.9z M5.6,12 l0.2,2l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c0,0-0.1,0-0.1,0c0,0,0-0.1,0-0.1L5.1,14l0.2-2c0,0,0-0.1,0-0.1s0.1,0,0.1,0 C5.5,11.9,5.5,11.9,5.6,12L5.6,12z M6.4,10.7L6.6,14l-0.2,2.1c0,0,0,0.1,0,0.1c0,0-0.1,0-0.1,0c-0.1,0-0.1-0.1-0.2-0.2L5.9,14 l0.2-3.3c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0C6.4,10.7,6.4,10.7,6.4,10.7z M7.2,10l0.2,4.1l-0.2,2.1c0,0,0,0.1,0,0.1 c0,0-0.1,0-0.1,0c-0.1,0-0.2-0.1-0.2-0.2l-0.1-2.1L6.8,10c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0S7.2,9.9,7.2,10z M8,9.6L8.2,14 L8,16.1c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2L7.5,14l0.1-4.4c0-0.1,0-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1c0.1,0,0.1,0,0.1,0.1 C8,9.6,8,9.6,8,9.6z M11.4,16.1L11.4,16.1L11.4,16.1z M9.7,9.6L9.8,14l-0.1,2.1c0,0.1,0,0.1-0.1,0.2s-0.1,0.1-0.2,0.1 c-0.1,0-0.1,0-0.1-0.1s-0.1-0.1-0.1-0.2L9.2,14l0.1-4.4c0-0.1,0-0.1,0.1-0.2s0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S9.7,9.5,9.7,9.6 L9.7,9.6z M10.6,9.8l0.1,4.3l-0.1,2c0,0.1,0,0.1-0.1,0.2c0,0-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c0,0-0.1-0.1-0.1-0.2L10,14 l0.1-4.3c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S10.6,9.7,10.6,9.8z M12.4,14l-0.1,2c0,0.1,0,0.1-0.1,0.2 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2l-0.1-1l-0.1-1l0.1-5.5v0c0-0.1,0-0.2,0.1-0.2 c0.1,0,0.1-0.1,0.2-0.1c0,0,0.1,0,0.1,0c0.1,0,0.1,0.1,0.1,0.2L12.4,14z M22.1,13.9c0,0.7-0.2,1.3-0.7,1.7c-0.5,0.5-1.1,0.7-1.7,0.7 h-6.8c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2V8.2c0-0.1,0.1-0.2,0.2-0.3c0.5-0.2,1-0.3,1.6-0.3c1.1,0,2.1,0.4,2.9,1.1 c0.8,0.8,1.3,1.7,1.4,2.8c0.3-0.1,0.6-0.2,1-0.2c0.7,0,1.3,0.2,1.7,0.7C21.8,12.6,22.1,13.2,22.1,13.9L22.1,13.9z"}))}},{name:"spotify",attributes:{service:"spotify"},title:"Spotify",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"}))}},{name:"telegram",attributes:{service:"telegram"},title:"Telegram",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 128 128",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M28.9700376,63.3244248 C47.6273373,55.1957357 60.0684594,49.8368063 66.2934036,47.2476366 C84.0668845,39.855031 87.7600616,38.5708563 90.1672227,38.528 C90.6966555,38.5191258 91.8804274,38.6503351 92.6472251,39.2725385 C93.294694,39.7979149 93.4728387,40.5076237 93.5580865,41.0057381 C93.6433345,41.5038525 93.7494885,42.63857 93.6651041,43.5252052 C92.7019529,53.6451182 88.5344133,78.2034783 86.4142057,89.5379542 C85.5170662,94.3339958 83.750571,95.9420841 82.0403991,96.0994568 C78.3237996,96.4414641 75.5015827,93.6432685 71.9018743,91.2836143 C66.2690414,87.5912212 63.0868492,85.2926952 57.6192095,81.6896017 C51.3004058,77.5256038 55.3966232,75.2369981 58.9976911,71.4967761 C59.9401076,70.5179421 76.3155302,55.6232293 76.6324771,54.2720454 C76.6721165,54.1030573 76.7089039,53.4731496 76.3346867,53.1405352 C75.9604695,52.8079208 75.4081573,52.921662 75.0095933,53.0121213 C74.444641,53.1403447 65.4461175,59.0880351 48.0140228,70.8551922 C45.4598218,72.6091037 43.1463059,73.4636682 41.0734751,73.4188859 C38.7883453,73.3695169 34.3926725,72.1268388 31.1249416,71.0646282 C27.1169366,69.7617838 23.931454,69.0729605 24.208838,66.8603276 C24.3533167,65.7078514 25.9403832,64.5292172 28.9700376,63.3244248 Z"}))}},{name:"tiktok",attributes:{service:"tiktok"},title:"TikTok",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 32 32",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M16.708 0.027c1.745-0.027 3.48-0.011 5.213-0.027 0.105 2.041 0.839 4.12 2.333 5.563 1.491 1.479 3.6 2.156 5.652 2.385v5.369c-1.923-0.063-3.855-0.463-5.6-1.291-0.76-0.344-1.468-0.787-2.161-1.24-0.009 3.896 0.016 7.787-0.025 11.667-0.104 1.864-0.719 3.719-1.803 5.255-1.744 2.557-4.771 4.224-7.88 4.276-1.907 0.109-3.812-0.411-5.437-1.369-2.693-1.588-4.588-4.495-4.864-7.615-0.032-0.667-0.043-1.333-0.016-1.984 0.24-2.537 1.495-4.964 3.443-6.615 2.208-1.923 5.301-2.839 8.197-2.297 0.027 1.975-0.052 3.948-0.052 5.923-1.323-0.428-2.869-0.308-4.025 0.495-0.844 0.547-1.485 1.385-1.819 2.333-0.276 0.676-0.197 1.427-0.181 2.145 0.317 2.188 2.421 4.027 4.667 3.828 1.489-0.016 2.916-0.88 3.692-2.145 0.251-0.443 0.532-0.896 0.547-1.417 0.131-2.385 0.079-4.76 0.095-7.145 0.011-5.375-0.016-10.735 0.025-16.093z"}))}},{name:"tumblr",attributes:{service:"tumblr"},title:"Tumblr",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z"}))}},{name:"twitch",attributes:{service:"twitch"},title:"Twitch",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"}))}},{name:"twitter",attributes:{service:"twitter"},title:"Twitter",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"}))}},{name:"vimeo",attributes:{service:"vimeo"},title:"Vimeo",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z"}))}},{name:"vk",attributes:{service:"vk"},title:"VK",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z"}))}},{name:"yelp",attributes:{service:"yelp"},title:"Yelp",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"}))}},{name:"youtube",attributes:{service:"youtube"},title:"YouTube",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"}))}}];pb.forEach((function(e){e.isActive||(e.isActive=function(e,t){return e.service===t.service})}));var gb=pb,hb=function(e){var t,r,n=e.attributes,o=e.context,c=e.isSelected,a=e.setAttributes,i=n.url,l=n.service,s=n.label,u=o.iconColorValue,b=o.iconBackgroundColorValue,m=Object(Q.useState)(!1),d=Object(ke.a)(m,2),p=d[0],g=d[1],h=ne()("wp-social-link","wp-social-link-"+l,{"wp-social-link__is-incomplete":!i}),f=(t=l,(r=Object(K.find)(gb,{name:t}))?r.icon:db),O=function(e){var t=Object(K.find)(gb,{name:e});return t?t.title:Object(X.__)("Social Icon")}(l),v=Object($.useBlockProps)({className:h,style:{color:u,backgroundColor:b}});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)($.InspectorControls,null,Object(Q.createElement)(be.PanelBody,{title:Object(X.sprintf)(Object(X.__)("%s label"),O),initialOpen:!1},Object(Q.createElement)(be.PanelRow,null,Object(Q.createElement)(be.TextControl,{label:Object(X.__)("Link label"),help:Object(X.__)("Briefly describe the link to help screen reader users."),value:s,onChange:function(e){return a({label:e})}})))),Object(Q.createElement)("li",v,Object(Q.createElement)(be.Button,{onClick:function(){return g(!0)}},Object(Q.createElement)(f,null),c&&p&&Object(Q.createElement)($.URLPopover,{onClose:function(){return g(!1)}},Object(Q.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:function(e){e.preventDefault(),g(!1)}},Object(Q.createElement)("div",{className:"block-editor-url-input"},Object(Q.createElement)($.URLInput,{value:i,onChange:function(e){return a({url:e})},placeholder:Object(X.__)("Enter address"),disableSuggestions:!0})),Object(Q.createElement)(be.Button,{icon:mb.a,label:Object(X.__)("Apply"),type:"submit"}))))))},fb={apiVersion:2,name:"core/social-link",category:"widgets",parent:["core/social-links"],attributes:{url:{type:"string"},service:{type:"string"},label:{type:"string"}},usesContext:["openInNewTab","iconColorValue","iconBackgroundColorValue"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-social-link-editor"},Ob=fb.name,vb={title:Object(X._x)("Social Icon","block title"),icon:ob,edit:hb,description:Object(X.__)("Display an icon linking to a social media profile or website."),variations:gb},jb=function(e){if(e){var t=e.metadata,r=e.settings,n=e.name;t&&Object(J.unstable__bootstrapServerSideBlockDefinitions)(Object(Z.a)({},n,t)),Object(J.registerBlockType)(n,r)}},yb=function(){return[n,o,c,i,k,a,V,l,s,u,b,m,d,p,g,h,f,O,v,M,window.wp&&window.wp.oldEditor?U:null,j,y,w,_,E,C,x,S,P,B,T,N,R,z,G,W,A,H,F,L,I,D]},wb=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yb();e.forEach(jb),Object(J.setDefaultBlockName)(ve),window.wp&&window.wp.oldEditor&&Object(J.setFreeformContentHandlerName)(rb),Object(J.setUnregisteredTypeHandlerName)(Ki),Object(J.setGroupingBlockName)(bs)},_b=void 0},45:function(e,t){e.exports=window.moment},5:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},50:function(e,t){e.exports=window.wp.apiFetch},51:function(e,t){e.exports=window.wp.notices},55:function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}r.d(t,"a",(function(){return n}))},59:function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},6:function(e,t){e.exports=window.wp.blockEditor},62:function(e,t,r){var n;!function(o){var c=/^\s+/,a=/\s+$/,i=0,l=o.round,s=o.min,u=o.max,b=o.random;function m(e,t){if(t=t||{},(e=e||"")instanceof m)return e;if(!(this instanceof m))return new m(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,l=null,b=!1,m=!1;"string"==typeof e&&(e=function(e){e=e.replace(c,"").replace(a,"").toLowerCase();var t,r=!1;if(B[e])e=B[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=U.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=U.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=U.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=U.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=U.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=U.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=U.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:L(t[4]),format:r?"name":"hex8"};if(t=U.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:r?"name":"hex"};if(t=U.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:L(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=U.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(G(e.r)&&G(e.g)&&G(e.b)?(d=e.r,p=e.g,g=e.b,t={r:255*N(d,255),g:255*N(p,255),b:255*N(g,255)},b=!0,m="%"===String(e.r).substr(-1)?"prgb":"rgb"):G(e.h)&&G(e.s)&&G(e.v)?(n=A(e.s),i=A(e.v),t=function(e,t,r){e=6*N(e,360),t=N(t,100),r=N(r,100);var n=o.floor(e),c=e-n,a=r*(1-t),i=r*(1-c*t),l=r*(1-(1-c)*t),s=n%6;return{r:255*[r,i,a,a,l,r][s],g:255*[l,r,r,i,a,a][s],b:255*[a,a,l,r,r,i][s]}}(e.h,n,i),b=!0,m="hsv"):G(e.h)&&G(e.s)&&G(e.l)&&(n=A(e.s),l=A(e.l),t=function(e,t,r){var n,o,c;function a(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=N(e,360),t=N(t,100),r=N(r,100),0===t)n=o=c=r;else{var i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;n=a(l,i,e+1/3),o=a(l,i,e),c=a(l,i,e-1/3)}return{r:255*n,g:255*o,b:255*c}}(e.h,n,l),b=!0,m="hsl"),e.hasOwnProperty("a")&&(r=e.a));var d,p,g;return r=T(r),{ok:b,format:e.format||m,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=l(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=r.ok,this._tc_id=i++}function d(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,o,c=u(e,t,r),a=s(e,t,r),i=(c+a)/2;if(c==a)n=o=0;else{var l=c-a;switch(o=i>.5?l/(2-c-a):l/(c+a),c){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:o,l:i}}function p(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,o,c=u(e,t,r),a=s(e,t,r),i=c,l=c-a;if(o=0===c?0:l/c,c==a)n=0;else{switch(c){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:o,v:i}}function g(e,t,r,n){var o=[V(l(e).toString(16)),V(l(t).toString(16)),V(l(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function h(e,t,r,n){return[V(H(n)),V(l(e).toString(16)),V(l(t).toString(16)),V(l(r).toString(16))].join("")}function f(e,t){t=0===t?0:t||10;var r=m(e).toHsl();return r.s-=t/100,r.s=M(r.s),m(r)}function O(e,t){t=0===t?0:t||10;var r=m(e).toHsl();return r.s+=t/100,r.s=M(r.s),m(r)}function v(e){return m(e).desaturate(100)}function j(e,t){t=0===t?0:t||10;var r=m(e).toHsl();return r.l+=t/100,r.l=M(r.l),m(r)}function y(e,t){t=0===t?0:t||10;var r=m(e).toRgb();return r.r=u(0,s(255,r.r-l(-t/100*255))),r.g=u(0,s(255,r.g-l(-t/100*255))),r.b=u(0,s(255,r.b-l(-t/100*255))),m(r)}function w(e,t){t=0===t?0:t||10;var r=m(e).toHsl();return r.l-=t/100,r.l=M(r.l),m(r)}function _(e,t){var r=m(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,m(r)}function k(e){var t=m(e).toHsl();return t.h=(t.h+180)%360,m(t)}function E(e){var t=m(e).toHsl(),r=t.h;return[m(e),m({h:(r+120)%360,s:t.s,l:t.l}),m({h:(r+240)%360,s:t.s,l:t.l})]}function C(e){var t=m(e).toHsl(),r=t.h;return[m(e),m({h:(r+90)%360,s:t.s,l:t.l}),m({h:(r+180)%360,s:t.s,l:t.l}),m({h:(r+270)%360,s:t.s,l:t.l})]}function x(e){var t=m(e).toHsl(),r=t.h;return[m(e),m({h:(r+72)%360,s:t.s,l:t.l}),m({h:(r+216)%360,s:t.s,l:t.l})]}function S(e,t,r){t=t||6,r=r||30;var n=m(e).toHsl(),o=360/r,c=[m(e)];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,c.push(m(n));return c}function P(e,t){t=t||6;for(var r=m(e).toHsv(),n=r.h,o=r.s,c=r.v,a=[],i=1/t;t--;)a.push(m({h:n,s:o,v:c})),c=(c+i)%1;return a}m.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:o.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=T(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,o){var c=[V(l(e).toString(16)),V(l(t).toString(16)),V(l(r).toString(16)),V(H(n))];if(o&&c[0].charAt(0)==c[0].charAt(1)&&c[1].charAt(0)==c[1].charAt(1)&&c[2].charAt(0)==c[2].charAt(1)&&c[3].charAt(0)==c[3].charAt(1))return c[0].charAt(0)+c[1].charAt(0)+c[2].charAt(0)+c[3].charAt(0);return c.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*N(this._r,255))+"%",g:l(100*N(this._g,255))+"%",b:l(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%)":"rgba("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=m(e);r="#"+h(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return m(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},m.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:A(e[n]));e=r}return m(e,t)},m.equals=function(e,t){return!(!e||!t)&&m(e).toRgbString()==m(t).toRgbString()},m.random=function(){return m.fromRatio({r:b(),g:b(),b:b()})},m.mix=function(e,t,r){r=0===r?0:r||50;var n=m(e).toRgb(),o=m(t).toRgb(),c=r/100;return m({r:(o.r-n.r)*c+n.r,g:(o.g-n.g)*c+n.g,b:(o.b-n.b)*c+n.b,a:(o.a-n.a)*c+n.a})},m.readability=function(e,t){var r=m(e),n=m(t);return(o.max(r.getLuminance(),n.getLuminance())+.05)/(o.min(r.getLuminance(),n.getLuminance())+.05)},m.isReadable=function(e,t,r){var n,o,c=m.readability(e,t);switch(o=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":o=c>=4.5;break;case"AAlarge":o=c>=3;break;case"AAAsmall":o=c>=7}return o},m.mostReadable=function(e,t,r){var n,o,c,a,i=null,l=0;o=(r=r||{}).includeFallbackColors,c=r.level,a=r.size;for(var s=0;s<t.length;s++)(n=m.readability(e,t[s]))>l&&(l=n,i=m(t[s]));return m.isReadable(e,i,{level:c,size:a})||!o?i:(r.includeFallbackColors=!1,m.mostReadable(e,["#fff","#000"],r))};var B=m.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=m.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(B);function T(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return s(1,u(0,e))}function R(e){return parseInt(e,16)}function V(e){return 1==e.length?"0"+e:""+e}function A(e){return e<=1&&(e=100*e+"%"),e}function H(e){return o.round(255*parseFloat(e)).toString(16)}function L(e){return R(e)/255}var I,D,F,U=(D="[\\s|\\(]+("+(I="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",F="[\\s|\\(]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",{CSS_UNIT:new RegExp(I),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function G(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=m:void 0===(n=function(){return m}.call(t,r,t,e))||(e.exports=n)}(Math)},7:function(e,t){e.exports=window.wp.primitives},70:function(e,t){e.exports=window.wp.date},72:function(e,t,r){e.exports=function(e,t){var r,n,o=0;function c(){var c,a,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(a=0;a<l;a++)if(i.args[a]!==arguments[a]){i=i.next;continue e}return i!==r&&(i===n&&(n=i.prev),i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=r,i.prev=null,r.prev=i,r=i),i.val}i=i.next}for(c=new Array(l),a=0;a<l;a++)c[a]=arguments[a];return i={args:c,val:e.apply(null,c)},r?(r.prev=i,i.next=r):n=i,o===t.maxSize?(n=n.prev).next=null:o++,r=i,i.val}return t=t||{},c.clear=function(){r=null,n=null,o=0},c}},76:function(e,t){e.exports=window.wp.serverSideRender},8:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},9:function(e,t){e.exports=window.wp.blocks}});